Forum Discussion
Altera_Forum
Honored Contributor
13 years agoOf course. That algorithm is controlled by state machine so you need a clock.
What tricky says is correct. If you forget signals from sensivity list ( all the signals that are inputs to the process ), the code will be synthetized anyway. But the simulation show inferred latches, because the ommited signals. Why do you make a substraction with a component? If you define a vector as unsigned you can do simply: c <= a - b;