Altera_Forum
Honored Contributor
15 years agoQuartus reverses functions of AND and OR gates
I am using the schematic/block editor to put an AND gate into a .bdf file and run it on a Nios Cyclone devkit and getting the wrong result.
Two input pins from pushbuttons --> AND Gate --> inverter --> Output pin to LEDThe inverter is required for this board to make the LED turn on for a logic high. I assigned the pins, compiled, and programmed it into the FPGA. The AND gate acts like an OR gate. If I put in an OR gate, I really get an AND. NAND behaves like NOR, etc. The same thing happens with files generated in Quartus II 9.0 on Linux and 9.1SP1 on Windows XP (both the web editions). Anyone know what's going on?