Skip to content

Commit dbf8799

Browse files
authored
Fix input assignments for uio_in signals
1 parent 2503f68 commit dbf8799

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/project.v

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,14 @@ module tt_um_example (
1919
// All output pins must be assigned. If not used, assign to 0.
2020
assign uio_oe = 8'b00000100;
2121
assign uio_out= 8'b00000000;
22-
assign uio_in= 8'b00000000;
2322
logic errorRF, goRF, finishRF;
23+
assign uio_in[1]= goRF;
24+
assign uio_in[0]=finishRF;
2425

2526

2627
RangeFinder #(.WIDTH(8)) RF(.data_in(ui_in), .clock(clk), .reset(~rst_n), .go(goRF), .finish(finishRF),
2728
.range(uo_out),.error(errorRF));
2829
assign uio_out[2]= errorRF;
29-
assign uio_in[1]= goRF;
30-
assign uio_in[0]=finishRF;
3130
// List all unused inputs to prevent warnings
3231
wire _unused = &{ena, clk, rst_n, 1'b0};
3332

0 commit comments

Comments
 (0)