Fix width of RV32_BRANCH_OP constants

This commit is contained in:
Graham Edgecombe 2017-12-09 10:46:08 +00:00
parent e801556428
commit de54271076

View file

@ -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