12 lines
192 B
Systemverilog
12 lines
192 B
Systemverilog
package structs;
|
|
|
|
typedef enum {ADD} alu_op;
|
|
|
|
typedef struct packed {
|
|
logic [7:0] operand_a;
|
|
logic [7:0] operand_b;
|
|
alu_op op;
|
|
} alu_input;
|
|
|
|
endpackage
|