Quasar 2.0 Final
This commit is contained in:
parent
25951d8fd8
commit
93a8797a0b
|
@ -23,14 +23,6 @@ class exu_mul_ctl extends Module with RequireAsyncReset with lib {
|
|||
val low_x = WireInit(0.U(1.W))
|
||||
|
||||
// *** Start - BitManip ***
|
||||
|
||||
// val bitmanip_sel_d = WireInit(Bool(),0.B)
|
||||
// val bitmanip_sel_x = WireInit(Bool(),0.B)
|
||||
// val bitmanip_d = WireInit(UInt(32.W),0.U)
|
||||
// val bitmanip_x = WireInit(UInt(32.W),0.U)
|
||||
|
||||
|
||||
|
||||
// ZBE
|
||||
val ap_bext = WireInit(Bool(),0.B)
|
||||
val ap_bdep = WireInit(Bool(),0.B)
|
||||
|
@ -188,14 +180,6 @@ class exu_mul_ctl extends Module with RequireAsyncReset with lib {
|
|||
// return x;
|
||||
// }
|
||||
|
||||
|
||||
// logic [31:0] gorc1_d;
|
||||
// logic [31:0] gorc2_d;
|
||||
// logic [31:0] gorc4_d;
|
||||
// logic [31:0] gorc8_d;
|
||||
// logic [31:0] gorc_d;
|
||||
//
|
||||
|
||||
val gorc1_d = ( Fill(32,io.rs2_in(0)) & Range(0, 31, 2).map(i=> Cat(io.rs1_in(i),io.rs1_in(i+1))).reverse.reduce(Cat(_,_)) ) | io.rs1_in
|
||||
|
||||
val gorc2_d = ( Fill(32,io.rs2_in(1)) & Range(0, 31, 4).map(i=> Cat(gorc1_d(i+1,i),gorc1_d(i+1+2,i+2))).reverse.reduce(Cat(_,_)) ) | gorc1_d
|
||||
|
@ -378,9 +362,6 @@ class exu_mul_ctl extends Module with RequireAsyncReset with lib {
|
|||
ap_crc32c_w -> crc32c_wd(32)(31,0) ,
|
||||
ap_bfp -> bfp_result_d(31,0) ))
|
||||
|
||||
|
||||
|
||||
//rvdffe #(33) i_bitmanip_ff (.*, .clk(clk), .din({bitmanip_sel_d,bitmanip_d[31:0]}), .dout({bitmanip_sel_x,bitmanip_x[31:0]}), .en(bit_x_enable));
|
||||
val bitmanip_sel_x = rvdffe(bitmanip_sel_d,bit_x_enable,clock,io.scan_mode)
|
||||
val bitmanip_x = rvdffe(bitmanip_d,bit_x_enable,clock,io.scan_mode)
|
||||
|
||||
|
|
Loading…
Reference in New Issue