From de54271076fded6c5e8b6c41ebc6cf4f67f62348 Mon Sep 17 00:00:00 2001 From: Graham Edgecombe Date: Sat, 9 Dec 2017 10:46:08 +0000 Subject: [PATCH] Fix width of RV32_BRANCH_OP constants --- rv32_branch.sv | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rv32_branch.sv b/rv32_branch.sv index 5f1eae5..572c739 100644 --- a/rv32_branch.sv +++ b/rv32_branch.sv @@ -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