From: Clifford Wolf Date: Tue, 18 Jun 2019 08:30:04 +0000 (+0200) Subject: Fix quickstart demo to work with verific X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=59f4f29fdccf18c4b51ce055182dde00f88087bc;p=SymbiYosys.git Fix quickstart demo to work with verific Signed-off-by: Clifford Wolf --- 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)