aboutsummaryrefslogtreecommitdiff
path: root/examples/icestick/rs232demo.v
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2017-07-31 14:57:24 +0200
committerClifford Wolf <clifford@clifford.at>2017-07-31 14:57:24 +0200
commit872e333cf75c6fc1bdf985f09565c70d16567434 (patch)
tree11a7b2336faaf12e84d8890c1674c04b0c8093a6 /examples/icestick/rs232demo.v
parentf704149b7298c7c6b56520d104dc4b20abf455b2 (diff)
parent81e943e050dad652da795d21375bb700064116f4 (diff)
Merge branch 'master' into ice5k
Diffstat (limited to 'examples/icestick/rs232demo.v')
-rw-r--r--examples/icestick/rs232demo.v8
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