Forum Discussion
Altera_Forum
Honored Contributor
12 years agoThe code doesn't even compile due to various syntax errors. I don't believe that you simulated it.
As a first point, get clear about the intended counter type: simple integer, record of integer or std_logic_vector. Then change the code to use right type in all places. It's mostly accessed as simple integer, which sounds reasonable. But it's not declared as integer.