diff options
| author | Clifford Wolf <clifford@clifford.at> | 2017-07-18 18:37:47 +0200 |
|---|---|---|
| committer | Clifford Wolf <clifford@clifford.at> | 2017-07-18 18:38:01 +0200 |
| commit | 70e01c1802bef592452cada1cba0224185e8029e (patch) | |
| tree | e07e7ea93c566e754d2e69768b094da126c7e1e7 /examples/icestick/rs232demo.v | |
| parent | 50915bf151e57fd1881dc19293e20301b01750f8 (diff) | |
Add pre- and post-synthesis testbench examples
Diffstat (limited to 'examples/icestick/rs232demo.v')
| -rw-r--r-- | examples/icestick/rs232demo.v | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/icestick/rs232demo.v b/examples/icestick/rs232demo.v index f9e7546..40347e8 100644 --- a/examples/icestick/rs232demo.v +++ b/examples/icestick/rs232demo.v @@ -19,6 +19,14 @@ module top ( reg [3:0] bit_cnt = 0; reg recv = 0; + initial begin + LED1 = 0; + LED2 = 0; + LED3 = 0; + LED4 = 0; + LED5 = 0; + end + always @(posedge clk) begin buffer_valid <= 0; if (!recv) begin |
