Implement inc r
This commit is contained in:
@@ -39,17 +39,19 @@ package cpu_pkg;
|
||||
CC_C = 2'h03
|
||||
} cc_t;
|
||||
|
||||
typedef enum logic [3:0] {
|
||||
ALU_OP_ADD = 4'h00,
|
||||
ALU_OP_ADC = 4'h01,
|
||||
ALU_OP_SUB = 4'h02,
|
||||
ALU_OP_SBC = 4'h03,
|
||||
ALU_OP_AND = 4'h04,
|
||||
ALU_OP_XOR = 4'h05,
|
||||
ALU_OP_OR = 4'h06,
|
||||
ALU_OP_CP = 4'h07,
|
||||
ALU_OP_BIT = 4'h08,
|
||||
ALU_OP_NOP = 4'h09
|
||||
typedef enum logic [4:0] {
|
||||
ALU_OP_ADD = 5'h00,
|
||||
ALU_OP_ADC = 5'h01,
|
||||
ALU_OP_SUB = 5'h02,
|
||||
ALU_OP_SBC = 5'h03,
|
||||
ALU_OP_AND = 5'h04,
|
||||
ALU_OP_XOR = 5'h05,
|
||||
ALU_OP_OR = 5'h06,
|
||||
ALU_OP_CP = 5'h07,
|
||||
ALU_OP_BIT = 5'h08,
|
||||
ALU_OP_NOP = 5'h09,
|
||||
ALU_OP_INC = 5'h10,
|
||||
ALU_OP_INCR = 5'h11 // Increment register instead of a
|
||||
} alu_op_t;
|
||||
|
||||
typedef enum logic [1:0] {
|
||||
|
||||
Reference in New Issue
Block a user