shaiko
Advanced Member level 5
In an asynchronous (clockless) FPGA design - Is it possible to inffer delays using this code :
Will the above work ?
Code:
-- I want to delay the trigger signal...
process ( reset , trigger )
if reset = '1' then
Q1 <= '0' ;
elsif rising edge ( trigger ) then
Q1 <= '1' ;
end if ;
end process ;
process ( reset , Q1 )
if reset = '1' then
Q2 <= '0' ;
elsif rising edge ( Q1 ) then
Q2 <= '1' ;
end if ;
end process ;
process ( reset , Q2 )
if reset = '1' then
Q3 <= '0' ;
elsif rising edge ( Q2 ) then
Q3 <= '1' ;
end if ;
end process ;