Fixed Vote ballot

This commit is contained in:
Rishabh Ravi 2025-01-15 04:52:30 -05:00
parent ad34e51975
commit f37b9f54a6

View file

@ -224,7 +224,7 @@ module VX_alu_int #(
for (genvar i = 0; i < NUM_LANES; ++i) begin
assign is_pred[i] = alu_in1[i][0] & alu_in2[0][i];
assign vote_ballot[i] = alu_in1[NUM_LANES - 1 - i][0] & alu_in2[0][NUM_LANES - 1 -i];
assign vote_ballot[i] = vote_in[NUM_LANES - 1 - i][0];
always @(*) begin
case (alu_op[1:0])
2'b00: vote_result[i] = `XLEN'(vote_all); // ALL, NONE