Skip to content

Commit

Permalink
revert clock to be assigned to anything so iverilog will not remove it
Browse files Browse the repository at this point in the history
  • Loading branch information
M0stafaRady committed Oct 30, 2023
1 parent dbde8a5 commit ca4a54f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions verilog/rtl/toplevel_cocotb.v
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ caravel uut (
);
`endif // CPU_TYPE_ARM
`else // ! openframe
wire dummy_wire_clk; // iverilog ignores clock_tb if it's not assigned
assign dummy_wire_clk = clock_tb;
caravel_openframe uut (
.vddio (vddio_tb),
.vssio (vssio_tb),
Expand All @@ -171,6 +173,14 @@ caravel uut (
.gpio (mprj_io_tb),
.resetb (resetb_tb)
);


assign gpio_tb = 0;
assign vddio_2_tb = 0;
assign vssio_2_tb = 0;
assign vdda1_2_tb = 0;
assign vssa1_2_tb = 0;

`endif // ! openframe

`ifdef USE_USER_VIP
Expand Down

0 comments on commit ca4a54f

Please sign in to comment.