Fix always_comb block in rv32_branch.sv

This commit is contained in:
Graham Edgecombe 2017-12-03 19:19:43 +00:00
parent cc89d3f93a
commit 4bacded87a

View file

@ -35,7 +35,7 @@ module rv32_branch (
);
wire non_zero = |result_in;
always_ff begin
always_comb begin
case (op_in)
RV32_BRANCH_OP_NEVER: taken_out = 0;
RV32_BRANCH_OP_ZERO: taken_out = ~non_zero;