VHDL AND Logic working as OR logic
Hello,
I am fairly new to VHDL programming.
I purchased a Udemy online course to begin learning along with a cheap Chinese development board which is used in the course, see link below. The dev board uses a Cyclone IV EP4CE6E22 FPGA.
I have installed Quartus Prime Lite 20.1 to write the VHDL code and program the device.
However, I am running into problems trying to implement simple AND gate logic. I have mapped two external switch inputs and one LED output, but if I press either one of the external switches the LED illuminates, so therefore the logic is behaving as an OR.
I have tried all the switch inputs and all LED outputs individually with no logic and the correct LED illuminates when the assigned switch is depressed.
So I am getting very confused as to why I would be seeing OR type logic when I have implemented an AND.
I have attached a screenshot of my VHDL code, so it can be confirmed that I have implemented the AND operation correctly.
Is there any further settings that I would need to be aware of in Quartus, that may explain the behavior I am experiencing?
I'm still no ruling out, that this could be related to the development board, however I would prefer some further feedback prior to trying to send it back to receive a refund.
Please advise.