Forum Discussion
Altera_Forum
Honored Contributor
15 years agoSimple Key-Led design does not work
Hello Im using a EPM3064ATC CPLD. My design has 8 switches and two leds. If a button is pressed, then a led should be on. I already tested different variants of code but had no sucess. ...
Altera_Forum
Honored Contributor
15 years agoThis is really weird.. try to register the switch and check at each posedge clk (it should work even w/o registering)
Maybe your led or your button is broken? Try to use signal tap and see if those signals are right, also double check your pin assignment