mirror of
https://github.com/olofk/serv.git
synced 2025-04-22 21:07:12 -04:00
Fix syntax error for o_take_branch
This commit is contained in:
parent
ca2beaf786
commit
bad823ff6d
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue