Forum Discussion
Altera_Forum
Honored Contributor
14 years agoYour output is 3-bits
oLEDG: out std_logic_vector(2 downto 0) you need to assign a 3-bit value, eg., oLEDG <= "111"; or oLEDG <= "000"; If you want to just assign to 1-bit, lets say bit 0, then you can do oLEG(0) <= '1'; Note that '1' is a 1-bit std_logic value, and "111" is a 3-bit std_logic_vector value. Cheers, Dave