I'm an absolute beginner, and this is my first ever code.
Can someone tell me whats wrong? I have an "unexpected wait"
Below is my entire code, which I am compiling in "symphony", "Quartus II" is also on my machine.
From my C++ knowlage I reckon its an include thing that im missing, like the "library ieee;" line, i think i need another similar line, but i really have no idea, Please help.
library ieee;
entity clockt is
port( clk: out bit);
end clockt;
architecture tick of clockt is
begin
clk <= '1';
wait for 10ns;
clk <= '0';
wait for 10ns;
end tick;
Can someone tell me whats wrong? I have an "unexpected wait"
Below is my entire code, which I am compiling in "symphony", "Quartus II" is also on my machine.
From my C++ knowlage I reckon its an include thing that im missing, like the "library ieee;" line, i think i need another similar line, but i really have no idea, Please help.
library ieee;
entity clockt is
port( clk: out bit);
end clockt;
architecture tick of clockt is
begin
clk <= '1';
wait for 10ns;
clk <= '0';
wait for 10ns;
end tick;