[an error occurred while processing this directive]
|
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_arith.all;
use ieee.std_logic_unsigned.all;entity strob_former is
port
(
reset :in std_logic;
clock :in std_logic;
strob :out std_logic
);
end strob_former;architecture behave of strob_former is
signal count : std_logic_vector (4 downto 0);
begin
process (clock, reset)
begin
if (reset = '1') then
count <= (others => '0');
elsif (clock'event and clock = '1') then
count <= count + '1';
end if;
end process;strob <= '1' when count = "00000" else '0';
end behave;
E-mail: info@telesys.ru