From: Luke Kenneth Casson Leighton Date: Mon, 28 Feb 2022 18:12:16 +0000 (+0000) Subject: fix undefined uart_tx in icarus simulation, icarus is damn smart, X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1b4e8993db8f0d7f981e6768046b2fe4f12cd705;p=ls2.git fix undefined uart_tx in icarus simulation, icarus is damn smart, it respects undefined values and propagates them. kinda cool --- diff --git a/src/simsoctb.v b/src/simsoctb.v index ea0bf15..5a5dd26 100644 --- a/src/simsoctb.v +++ b/src/simsoctb.v @@ -68,12 +68,8 @@ module simsoctb; assign dram_dqs_n = (dram_dqs != 2'hz) ? ~dram_dqs : 2'hz; // uart, LEDs, switches - reg uart_tx; - wire uart_rx; - reg [3:0] wishbone_sel = 0; - reg wishbone_cyc = 0; - reg wishbone_stb = 0; - reg wishbone_we = 0; + wire uart_tx ; + reg uart_rx = 0; wire led_0; wire led_1; wire led_2; @@ -154,7 +150,7 @@ module simsoctb; initial begin // run for a set time period then exit - #50000; + #5000000; $finish; end