Altera_Forum
Honored Contributor
11 years agoexpecting a description
Hi,
what is the meaning (and reason) of syntax error: 10170 Verilog HDL syntax error at lights.v(6) near text ";"; expecting a description (line 6 is the "endmodule"; using 13.01 Quartus; I am using a sample code from a book; as far as I could check, the syntax is correct) Thanks in advance
module clk_gen;
reg clk;
initial clk = 1'b0;
always# 10 clk = ~clk;
initial# 60 $finish;
endmodule;