Skip to content

Commit f2cf989

Browse files
committed
Fix incorrect types in testbenches
1 parent 2cdfb3e commit f2cf989

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

cpu/testbenches/alu_tb.sv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module alu_tb;
66
logic carry_in;
77
logic [31:0] a, b;
88
wire [31:0] out;
9-
wire [ 3:0] status;
9+
alu_status_t status;
1010

1111
alu alu0 (.*);
1212

cpu/testbenches/cu_tb.sv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module cu_tb;
1414
logic wr;
1515

1616
logic oe_alu;
17-
logic [3:0] alu_op;
17+
alu_op_e alu_op;
1818

1919
reg_mask_e a_reg_mask;
2020
reg_mask_e b_reg_mask;

cpu/testbenches/status_reg_tb.sv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import reg_pkg::*;
33
module status_reg_tb;
44
logic clk;
55
logic rst = 0;
6-
tri [5:0] a, b;
7-
logic [5:0] in;
6+
tri status_t a, b;
7+
status_t in;
88
logic oe_a, oe_b, ld;
99
alu_status_t alu_status_in;
1010
logic ld_alu_status;

0 commit comments

Comments
 (0)