projects
/
ls2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
826e4ee
)
fix undefined uart_tx in icarus simulation, icarus is damn smart,
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 28 Feb 2022 18:12:16 +0000
(18:12 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 28 Feb 2022 18:12:16 +0000
(18:12 +0000)
it respects undefined values and propagates them. kinda cool
src/simsoctb.v
patch
|
blob
|
history
diff --git
a/src/simsoctb.v
b/src/simsoctb.v
index ea0bf153d112bb10b1872d4db3b9862c7d9bf670..5a5dd26fc68482d9aefc999d343191da70dba500 100644
(file)
--- 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;
+ #50000
00
;
$finish;
end