Forum Discussion
fpgaBeginner
New Contributor
2 years agoOn my fpga, 'or' is 'and' and vice versa
Hello, I recently bought an ALTERA Cyclone IV EP4CE6 FPGA and tried to create the first project. When key_1 and key_2 were clamped, led_1 should have been lit. But led_1 is lit when key_1 is clamped...
FvM
Super Contributor
2 years agoHi, I presume the FPGA is fine. But you don't consider that switches and LEDs of your board are apparently implementing inverted logic. Closing the switch applies '0' to the input, LED is lighted with output '0'.