aboutsummaryrefslogtreecommitdiff
path: root/include/consts.vh
diff options
context:
space:
mode:
Diffstat (limited to 'include/consts.vh')
-rw-r--r--include/consts.vh13
1 files changed, 12 insertions, 1 deletions
diff --git a/include/consts.vh b/include/consts.vh
index 49133a7..8c31c7d 100644
--- a/include/consts.vh
+++ b/include/consts.vh
@@ -105,4 +105,15 @@ parameter FUNCT7_ALU_SRL = 7'b0000000;
parameter FUNCT7_ALU_SRA = 7'b0100000;
parameter ALU_CTRL_OP = 1'b0;
-parameter ALU_CTRL_ADD = 1'b1; \ No newline at end of file
+parameter ALU_CTRL_ADD = 1'b1;
+
+parameter MEM_WE_ENABLE = 1'b1;
+parameter MEM_WE_DISABLE = 1'b0;
+parameter RF_WE_ENABLE = 1'b1;
+parameter RF_WE_DISABLE = 1'b0;
+parameter INSTR_WE_ENABLE = 1'b1;
+parameter INSTR_WE_DISABLE = 1'b0;
+parameter PC_UPDATE_ENABLE = 1'b1;
+parameter PC_UPDATE_DISABLE = 1'b0;
+parameter BRANCH_ENABLE = 1'b1;
+parameter BRANCH_DISABLE = 1'b0; \ No newline at end of file