Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
9 years ago

counter not incrementing for RAM with built-in counter

I am really sorry for not posting original question as whenever I try to add tags the tab refreshes and all the typed data is encrypted.

Kindly help me as its quite simple problem but somehow I dont understand why I am I having it.

The link to original problem is:

https://stackoverflow.com/questions/46133185/counter-not-incrementing-for-ram-with-built-in-counter

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    looks like you are not driving state but next state so add a statement to drive it on the clk edge.