You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the README.md, CPKAB and CPKCD operation is introduced, but I cannot get the meaning of these operations, or is there some difference between CPKAB and CPKCD? or op_mod is 0 or 1?
I read the rtl code(fpnew_opgroup_multifmt_slice.sv and fpnew_cast_multi.sv), and I tried to run some simulations to help understand,
however, when
src_fmt is fp64, dst_fmt is fp16, op=fpnew_pkg::CPKAB, op=0
src_fmt is fp64, dst_fmt is fp16, op=fpnew_pkg::CPKAB, op=1
src_fmt is fp64, dst_fmt is fp16, op=fpnew_pkg::CPKCD, op=0
src_fmt is fp64, dst_fmt is fp16, op=fpnew_pkg::CPKCD, op=1
I got the same result.
So is there some detail description for CPKAB and CPKCD operation?
thanks.
The text was updated successfully, but these errors were encountered:
It is converting e.g. fp64 (D) into fp8 (B) and puts them into the correct position for SIMD packed fp data in a 64bit datapath. CPKAB takes care of the lower positions and CPKCD of the higher positions.
Indeed we recently fixed some issues for our latest project. One issue was related to the CPKCD operations. Have a look at the commits on this separate branch:
In the README.md, CPKAB and CPKCD operation is introduced, but I cannot get the meaning of these operations, or is there some difference between CPKAB and CPKCD? or op_mod is 0 or 1?
I read the rtl code(fpnew_opgroup_multifmt_slice.sv and fpnew_cast_multi.sv), and I tried to run some simulations to help understand,
however, when
I got the same result.
So is there some detail description for CPKAB and CPKCD operation?
thanks.
The text was updated successfully, but these errors were encountered: