Forum Discussion
Altera_Forum
Honored Contributor
11 years ago[VHDL] Help with "stuck at VCC"
I need to make an output pulse (within certain conditions) becomes a '1' constant (in an LED).I was able to code, but the output is stuck at VCC. I do not know how to fix this. Can anyone help me ple...
Altera_Forum
Honored Contributor
11 years ago
ARCHITECTURE behavioral OF check_minutes IS
SIGNAL aux: STD_LOGIC := '0';
BEGIN
accept_minutes: PROCESS(enable,data) --processo de aceitar ou não a temperatura inserida.
BEGIN
IF(data>="000001" AND data<="111011" AND enable='1') THEN
aux <= '1';
else aux <= '0';
END IF;
END PROCESS accept_minutes; minled <= aux;
END ARCHITECTURE behavioral;
and enjoy the LED light.