Forum Discussion
Altera_Forum
Honored Contributor
16 years ago --- Quote Start --- you can, but you're liable to have timing failures and have race conditions all over and all sorts of problems. What you need to do in your first process is wrap it up as a D-type flip flop process - just put if rising_edge(clk) then (or you can use: if clk'event and clk = '1' then at the top, then you wont have a problem. You can remove all signals other than the clock from the sensitivity list. What you have done by putting "if clk = '1' then" at the top is use the clock as a logic signal, not a clock, which is bad, and wont solve any problems. --- Quote End --- tnx a lot.