PoC.bus.stream.Mux
Todo
No documentation available.
Entity Declaration:
1 generic (
2 PORTS : positive := 2;
3 DATA_BITS : positive := 8;
4 META_BITS : natural := 8;
5 META_REV_BITS : natural := 2--;
6-- WEIGHTS : T_INTVEC := (1, 1)
7 );
8 port (
9 Clock : in std_logic;
10 Reset : in std_logic;
11 -- IN Ports
12 In_Valid : in std_logic_vector(PORTS - 1 downto 0);
13 In_Data : in T_SLM(PORTS - 1 downto 0, DATA_BITS - 1 downto 0);
14 In_Meta : in T_SLM(PORTS - 1 downto 0, META_BITS - 1 downto 0);
15 In_Meta_rev : out T_SLM(PORTS - 1 downto 0, META_REV_BITS - 1 downto 0);
16 In_SOF : in std_logic_vector(PORTS - 1 downto 0);
17 In_EOF : in std_logic_vector(PORTS - 1 downto 0);
18 In_Ack : out std_logic_vector(PORTS - 1 downto 0);
19 -- OUT Port
20 Out_Valid : out std_logic;
21 Out_Data : out std_logic_vector(DATA_BITS - 1 downto 0);
22 Out_Meta : out std_logic_vector(META_BITS - 1 downto 0);
23 Out_Meta_rev : in std_logic_vector(META_REV_BITS - 1 downto 0);
24 Out_SOF : out std_logic;
25 Out_EOF : out std_logic;
26 Out_Ack : in std_logic
27 );
28end entity;