Forum Discussion
Altera_Forum
Honored Contributor
16 years agoProblems with Synthesis ?
Hola All, I've made some code that describes a counter that first adds one to a count "c", compares its value with an input "N", and if they are the same then a Hold_All bit goes high. I think ...
Altera_Forum
Honored Contributor
16 years agoAnd by the way you don't really need to convert to integers. If you use unsigned, you can do additions and comparisons without casting. The only difference would be the reset assignment, that would be:
c := (others => '0');or:c := to_unsigned(0,k);