Forum Discussion
Altera_Forum
Honored Contributor
16 years agoVariable in state Machine going Crazy (VHDL)
OK here is the code for my state machine. I am using it to control a serial multiplier in my circuit/ library ieee; use ieee.std_logic_1164.all; use ieee.std_logic_unsigned.all; ent...
Altera_Forum
Honored Contributor
16 years agoIt's no reasonable VHDL code. You are implementing a counter in an asynchronous process. That doesn't work. A counter must be implemented in a synchronous process, in other words, it needs an edge sensitive condition to infer registers rather than combinational logic.