EmbDev.net

Forum: FPGA, VHDL & Verilog Non repetitive delay in Process block


von Rejoy M. (Company: Lab Instructor) (rejoymathews32)


Rate this post
useful
not useful
process
-- Initial non repetitive (wait for 100ns);
    begin
        clk <= not clk;
        wait for 10ns;
end process;

Is there a way I can insert a delay within a process block that is 
implemented only once and then is not repeated. I am looking to insert 
the delay as mentioned in the comment above (  -- Initial non repetitive 
wait for 100ns;).

Is there any other way I can do this, if it is not possible to be 
inserted within the process block?

Thanks in advance.

von -gb- (Guest)


Rate this post
useful
not useful
Use something like

if firstrun = '1' then
 wait for $time;
 firstrun <= '0';
else
 clk <= not clk;
 wait for 10ns;
end if;

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.