Skip to content

Commit

Permalink
remove unwanted driver for openframe in the cocotb top level
Browse files Browse the repository at this point in the history
  • Loading branch information
M0stafaRady committed Oct 30, 2023
1 parent cc1cd7f commit dbde8a5
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions verilog/rtl/toplevel_cocotb.v
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ caravel uut (
);
`endif // CPU_TYPE_ARM
`else // ! openframe
assign mprj_io_tb[38] = clock_tb;
caravel_openframe uut (
.vddio (vddio_tb),
.vssio (vssio_tb),
Expand All @@ -172,25 +171,6 @@ caravel uut (
.gpio (mprj_io_tb),
.resetb (resetb_tb)
);

spiflash #(
.FILENAME(FILENAME)
) spiflash (
.csb(mprj_io_tb[39]),
.clk(mprj_io_tb[40]),
.io0(mprj_io_tb[41]),
.io1(mprj_io_tb[42]),
.io2(mprj_io_tb[36]),
.io3(mprj_io_tb[37])
);
// do anything to the unused wires so cocotb can read them when iverilog is used
// apparently iverilog can't read the unused wires and that causes an error in python
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 dbde8a5

Please sign in to comment.