Skip to content

Commit

Permalink
suppress warning for unused inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
htfab authored and urish committed May 27, 2024
1 parent 7a4440c commit 2c112d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/project.v
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,7 @@ module tt_um_example (
assign uio_out = 0;
assign uio_oe = 0;

// List all unused inputs to prevent warnings
wire _unused = &{ena, clk, rst_n, 1'b0};

endmodule

0 comments on commit 2c112d6

Please sign in to comment.