Skip to content

Commit

Permalink
[hardware] Fix viota
Browse files Browse the repository at this point in the history
  • Loading branch information
mp-17 committed Nov 20, 2024
1 parent d7296c8 commit aa80b90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hardware/src/lane/valu.sv
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ module valu import ara_pkg::*; import rvv_pkg::*; import cf_math_pkg::idx_width;
// The only valid instructions here with vl == '0 are reductions
// Instructions that execute in the mask unit will process the mask there directly
// VMADC/VMSBC requires mask bits in the ALU
vinsn_queue_d.vinsn[vinsn_queue_q.accept_pnt].vm = vfu_operation_i.op inside {[VMSEQ:VMSGT],[VMANDNOT:VMXNOR]}
vinsn_queue_d.vinsn[vinsn_queue_q.accept_pnt].vm = vfu_operation_i.op inside {[VMSEQ:VMXNOR]} && !(vfu_operation_i.op inside {[VMADC:VMSBC]})
? 1'b1
: vfu_operation_i.vm | (vfu_operation_i.vl == '0);

Expand Down

0 comments on commit aa80b90

Please sign in to comment.