RVSCC/rtl/RV32IDefs.sv

13 lines
352 B
Systemverilog
Raw Normal View History

2022-12-24 01:13:40 +00:00
package rv32i_defs;
typedef enum logic[6:0]{
STALL = 'b0000000,
REG_OPERATION = 'b0110011,
IMM_OPERATION = 'b0010011,
LOAD = 'b0000011,
STORE = 'b0100011,
BRANCH = 'b1100011,
JAL = 'b1101111,
JALR = 'b1100111,
LUI = 'b0110111,
AUIPC = 'b0010111} opcode_fmt;
endpackage