mirror of
https://github.com/YosysHQ/sby.git
synced 2025-04-06 14:24:08 +00:00
Fixed bug in examples/quickstart/demo.sv
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
07d124084c
commit
2fef25f93d
|
@ -5,7 +5,7 @@ module demo (
|
||||||
reg [5:0] counter = 0;
|
reg [5:0] counter = 0;
|
||||||
|
|
||||||
always @(posedge clk) begin
|
always @(posedge clk) begin
|
||||||
if (counter == 50)
|
if (counter == 15)
|
||||||
counter <= 0;
|
counter <= 0;
|
||||||
else
|
else
|
||||||
counter <= counter + 1;
|
counter <= counter + 1;
|
||||||
|
|
Loading…
Reference in a new issue