mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-24 05:47:35 -04:00
Fixed Vote ballot
This commit is contained in:
parent
ad34e51975
commit
f37b9f54a6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue