T
Tomek Zieliński
Guest
Helo!
This is ma first code in Verilog. It is simple clock.
module zegar(clk);
output clk;
reg clk;
parameter period=500;
always begin
#(period/2) clk=1;
#(period/2) clk=0;
end
endmodule
There is a warning during compilation (Quartus 4.2): Warning: Pin "clk"
stuck at GND.
What is wrong?
Best Regards
Thomas Zielinski
This is ma first code in Verilog. It is simple clock.
module zegar(clk);
output clk;
reg clk;
parameter period=500;
always begin
#(period/2) clk=1;
#(period/2) clk=0;
end
endmodule
There is a warning during compilation (Quartus 4.2): Warning: Pin "clk"
stuck at GND.
What is wrong?
Best Regards
Thomas Zielinski