I've got the next simple VHDL process where I'm checking if an input is 1 and then change a status LEDS:
LEDSTATUS: process(clk) begin if(clk'event and clk = '1') then if (lp_good = '1') then stat_led <= '1'; stat_led2 <= '0'; end if ; end if; end process;
I checked physically on the board and the lp_good signal is 0, but it changes the status of the LEDS. If I change to check if 0 (if(lp_good = '0')) still executing the if statement.
Any ideas what I'm missing or is wrong?
Thanks in advance.