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