Skip to content

Commit 9b169e5

Browse files
committed
fix yosys warnings
1 parent ed4e0a2 commit 9b169e5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/top.v

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ module tt_um_cpu_top (
1919
);
2020

2121
// All output pins must be assigned. If not used, assign to 0.
22-
assign uo_out = ui_in + uio_in; // Example: ou_out is the sum of ui_in and uio_in
2322
assign uio_out = 0;
2423
assign uio_oe = 0;
2524

@@ -76,11 +75,11 @@ module tt_um_cpu_top (
7675
.inst_done(inst_done),
7776
.acc_bits(out_result)
7877
);
79-
assign uo_out = out_result;
78+
assign uo_out = out_result;
8079
assign uio_out = 8'b0;
8180
assign uio_oe = 8'b0;
8281

8382
// List all unused inputs to prevent warnings
84-
wire _unused = &{ena, clk, rst_n, 1'b0};
83+
wire _unused = &{ena, 1'b0};
8584

8685
endmodule

0 commit comments

Comments
 (0)