From 59f4f29fdccf18c4b51ce055182dde00f88087bc Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Tue, 18 Jun 2019 10:30:04 +0200 Subject: [PATCH] Fix quickstart demo to work with verific Signed-off-by: Clifford Wolf --- docs/examples/quickstart/demo.sv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/examples/quickstart/demo.sv b/docs/examples/quickstart/demo.sv index e5e742f..fea915b 100644 --- a/docs/examples/quickstart/demo.sv +++ b/docs/examples/quickstart/demo.sv @@ -1,8 +1,8 @@ module demo ( input clk, - output [5:0] counter + output reg [5:0] counter ); - reg [5:0] counter = 0; + initial counter = 0; always @(posedge clk) begin if (counter == 15) -- 2.30.2