PoC.dstruct.deque

Implements a deque (double-ended queue). This data structure allows two acting entities to queue data elements for the consumption by the other while still being able to unqueue untaken ones in LIFO fashion.

Entity Declaration:

 1    MIN_DEPTH : positive                -- Minimum Deque Depth
 2  );
 3  port (
 4    -- Shared Ports
 5    clk, rst : in std_logic;
 6
 7    -- Port A
 8    dinA   : in  std_logic_vector(D_BITS-1 downto 0);  -- DataA Input
 9    putA   : in  std_logic;
10    gotA   : in  std_logic;
11    doutA  : out std_logic_vector(D_BITS-1 downto 0);  -- DataA Output
12    validA : out std_logic;
13    fullA  : out std_logic;
14
15    -- Port B
16    dinB   : in  std_logic_vector(D_BITS-1 downto 0);  -- DataB Input
17    putB   : in  std_logic;
18    gotB   : in  std_logic;
19    doutB  : out std_logic_vector(D_BITS-1 downto 0);
20    validB : out std_logic;
21    fullB  : out std_logic
22  );
23end entity dstruct_deque;
24
25
26library IEEE;