From bad823ff6d812c1084b5ae9bdbe2b8fee04fc0a7 Mon Sep 17 00:00:00 2001 From: Olof Kindgren Date: Sat, 21 Sep 2019 23:01:32 +0200 Subject: [PATCH] Fix syntax error for o_take_branch --- rtl/serv_decode.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtl/serv_decode.v b/rtl/serv_decode.v index 9edddb7..b2fa20c 100644 --- a/rtl/serv_decode.v +++ b/rtl/serv_decode.v @@ -99,7 +99,7 @@ module serv_decode //c) It's a conditional branch (opcode[0] == 0) of type bne,bge,bgeu (funct3[0] == 1) and ALU compare is false //Only valid during the last cycle of INIT, when the branch condition has //been calculated. - wire o_take_branch = opcode[4] & !opcode[2] & (opcode[0] | (i_alu_cmp^funct3[0])); + assign o_take_branch = opcode[4] & !opcode[2] & (opcode[0] | (i_alu_cmp^funct3[0])); assign o_ctrl_utype = !opcode[4] & opcode[2] & opcode[0]; assign o_ctrl_jalr = opcode[4] & (opcode[1:0] == 2'b01);