fpga passes corax+

This commit is contained in:
Nicholas Orlowsky 2024-04-10 21:59:00 -05:00
parent 4ee5e3c231
commit 26f6dc5ce3
Signed by: nickorlow
GPG key ID: 838827D8C4611687
7 changed files with 402 additions and 21 deletions

View file

@ -1,10 +1,11 @@
package structs;
typedef enum {ADD} alu_op;
typedef enum {ADD, ADDL, SUB, SE, SNE, OR, AND, XOR, SHR, SHL} alu_op;
typedef struct packed {
logic [7:0] operand_a;
logic [7:0] operand_b;
logic [11:0] operand_b_long;
alu_op op;
} alu_input;