Forum Discussion
Altera_Forum
Honored Contributor
10 years agoUsing any internal logic as delay elements is doomed to failure - everything in the chip is affected by PVT (process, voltage, temperature) ie. the given delay will vary depending on these three factors and is not deterministic.
Why are you trying to do this? You will be unable to simulate this code in RTL simulation, has it has no delays in it. (and the fact you have not included all the signals in the sensitivity list, meaning you will get missmatches between hardware and simulation if it even works). What is the goal of your design?