Files
vhdl/projects/eval_gray_counter/top.vhd
T
jens 2f7ab91e0d - added
git-svn-id: http://moon:8086/svn/vhdl/trunk@1429 cc03376c-175c-47c8-b038-4cd826a8556b
2021-03-21 12:04:37 +00:00

61 lines
1.3 KiB
VHDL

----------------------------------------------------------------------------------
-- Company:
-- Engineer:
--
-- Create Date: 15:55:59 09/18/2007
-- Design Name:
-- Module Name: top - Behavioral
-- Project Name:
-- Target Devices:
-- Tool versions:
-- Description:
--
-- Dependencies:
--
-- Revision:
-- Revision 0.01 - File Created
-- Additional Comments:
--
----------------------------------------------------------------------------------
library IEEE;
USE IEEE.STD_LOGIC_1164.ALL;
USE IEEE.NUMERIC_STD.ALL;
---- Uncomment the following library declaration if instantiating
---- any Xilinx primitives in this code.
--library UNISIM;
--use UNISIM.VComponents.all;
LIBRARY WORK;
USE WORK.FIFO_CTRL_PKG.ALL;
entity top is
Port ( rst : in STD_LOGIC;
clk : in STD_LOGIC;
ce : in STD_LOGIC;
gcnt : out unsigned (13 downto 0);
bcnt : out unsigned (13 downto 0);
gnxt : out unsigned (13 downto 0);
bnxt : out unsigned (13 downto 0)
);
end top;
architecture Behavioral of top is
begin
inst_gray_counter : entity work.gray_counter
generic map (width => 14)
port map (
rst => rst,
clk => clk,
ce => ce,
bcnt => bcnt,
bnxt => bnxt,
gcnt => gcnt,
gnxt => gnxt
);
end Behavioral;