Forum Discussion
Altera_Forum
Honored Contributor
11 years agoClocked process triggered by pulse signal (VHDL question)
What I would like to do is to execute a clocked process whenever the rising edge of a pulse arrives. Here is my code:
process (pulse, clk)
variable newTrigger: std_logic:='0';
variable cnt: int...
Altera_Forum
Honored Contributor
11 years agoVariables have behaviour that can create combinatorial logic, and can also be confusing when toy check the behaviour computed to the actual hardware. From this put out view it it's much more obvious what will happen when you use signals. So signals are much safer for beginners and much easier for other engineers can understand