A
Alan Fitch
Guest
bobster.thelobster@yahoo.co.nz wrote:
intention is to have a combinational process, i.e. without flip-flops),
Alan
Doulos
http://www.doulos.com
You don't need LEDs in the sensitivity list, only inputs (assuming theHi rossalbi
You have missed Count out of your process sensitivity list and you
have RST and CLK in there, is that causing confusion?
Other than that, If its just a test I'd replace this:
process (CLK, RST)
begin
case Count is
when "0000000000000000000000" => LEDs <= "00000001";
when "0000000000000000000001" => LEDs <= "00000010";
when "0000000000000000000010" => LEDs <= "00000100";
when "0000000000000000000011" => LEDs <= "00001000";
when "0000000000000000000100" => LEDs <= "00001001";
.
.
when "0000000000000001111110" => LEDs <= "01000000";
when "0000000000000001111111" => LEDs <= "10000000";
when others => LEDs <= "00000000";
end case;
end process;
with this
LED's <= Count(7 downto 0);
-----------------------------------------------------------------------------------
If you need to be specific I'd do something like this
Process(count, LEDs)
intention is to have a combinational process, i.e. without flip-flops),
Alan
Doulos
http://www.doulos.com