aboutsummaryrefslogtreecommitdiffstats
path: root/examples/icestick/rs232demo.v
diff options
context:
space:
mode:
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