Forum Discussion
Altera_Forum
Honored Contributor
11 years agoTrigger and counter.
Hi, I'm trying to implement a counter that counts down when it recieves a trigger pulse from the hardware (in this case, it's a short burst of AC, in the order of a few hundred µs), which keeps...
Altera_Forum
Honored Contributor
9 years agoA wild guess here.
Compile with no optimization at all. The optimizer may be shrinking all the code to almost nothing if the variables are not declared volatile.