Fix width of RV32_BRANCH_OP constants
This commit is contained in:
parent
e801556428
commit
de54271076
1 changed files with 4 additions and 4 deletions
|
|
@ -1,10 +1,10 @@
|
|||
`ifndef RV32_BRANCH
|
||||
`define RV32_BRANCH
|
||||
|
||||
`define RV32_BRANCH_OP_NEVER 3'b00
|
||||
`define RV32_BRANCH_OP_ZERO 3'b01
|
||||
`define RV32_BRANCH_OP_NON_ZERO 3'b10
|
||||
`define RV32_BRANCH_OP_ALWAYS 3'b11
|
||||
`define RV32_BRANCH_OP_NEVER 2'b00
|
||||
`define RV32_BRANCH_OP_ZERO 2'b01
|
||||
`define RV32_BRANCH_OP_NON_ZERO 2'b10
|
||||
`define RV32_BRANCH_OP_ALWAYS 2'b11
|
||||
|
||||
`define RV32_BRANCH_PC_SRC_IMM 1'b0
|
||||
`define RV32_BRANCH_PC_SRC_REG 1'b1
|
||||
|
|
|
|||
Loading…
Reference in a new issue