Add more comments

This commit is contained in:
Pirmin Vogel 2019-05-03 10:54:56 +01:00 committed by Philipp Wagner
parent b8c150747a
commit 2e720f3610

View file

@ -11,7 +11,7 @@
// //
// //
// Design Name: RISC-V processor core //
// Project Name: ibex //
// Project Name: ibex //
// Language: SystemVerilog //
// //
// Description: Defines for various constants used by the processor core. //
@ -46,9 +46,11 @@ parameter OPCODE_LUI = 7'h37;
parameter ALU_OP_WIDTH = 6;
// Arithmetics
parameter ALU_ADD = 6'b011000;
parameter ALU_SUB = 6'b011001;
// Logics
parameter ALU_XOR = 6'b101111;
parameter ALU_OR = 6'b101110;
parameter ALU_AND = 6'b010101;
@ -76,6 +78,7 @@ parameter ALU_SLTU = 6'b000011;
parameter ALU_SLET = 6'b000110;
parameter ALU_SLETU = 6'b000111;
// Multiplier/divider
parameter MD_OP_MULL = 2'b00;
parameter MD_OP_MULH = 2'b01;
parameter MD_OP_DIV = 2'b10;
@ -107,6 +110,7 @@ typedef enum logic[3:0] {
XDEBUGVER_NONSTD = 4'd15 // debug not conforming to RISC-V debug spec
} Xdebugver_t;
//////////////
// ID stage //
//////////////