Forum Discussion
Altera_Forum
Honored Contributor
11 years agoThere are no registers described here. CurrentState is a variable that is being set at reset, and then never changing again. So the synthesisor will just assign them as constants.
Level_main and level_sub both initialise to 3'b0. At reset level_sub should be getting set to 3'b100 What exactly is going wrong? in a synthesised system this variable would just dissapear as it has no effect on any output.