Forum Discussion
Altera_Forum
Honored Contributor
15 years agoThe way you have written the code that gives the error, you are asking the synthesisor to produce a circuit that registers a_in for the really tiny amount of time that encompasses the rising edge. As soon as the clock is at '1', you're trying to force the output to '0'.
You should never put an else case on a clock if. And you should never assign a signal inside and outside the clock branch.