1 ----------------------------------------------------------------------------------
5 -- Create Date: 09:
46:
13 11/18/2013
7 -- Module Name: RAM32x6D - Behavioral
16 -- Revision 0.
01 -
File Created
17 -- Additional Comments:
19 ----------------------------------------------------------------------------------
21 use IEEE.STD_LOGIC_1164.
ALL;
23 -- Uncomment the following library declaration if using
24 -- arithmetic functions with or values
25 --use IEEE.NUMERIC_STD.ALL;
27 -- Uncomment the following library declaration if instantiating
28 -- any Xilinx primitives in this code.
30 use UNISIM.VComponents.
all;
38 do : out (5 downto 0));
46 INIT_A => X"0000000000000000",
-- Initial contents of A port
47 INIT_B => X"0000000000000000",
-- Initial contents of B port
48 INIT_C => X"0000000000000000",
-- Initial contents of C port
49 INIT_D => X"0000000000000000"
) -- Initial contents of D port
51 DOA => do
(1 downto 0),
-- Read port A 2-bit output
52 DOB => do
(3 downto 2),
-- Read port B 2-bit output
53 DOC => do
(5 downto 4),
-- Read port C 2-bit output
54 DOD =>
open,
-- Read/Write port D 2-bit output
55 ADDRA => ra,
-- Read port A 5-bit address input
56 ADDRB => ra,
-- Read port B 5-bit address input
57 ADDRC => ra,
-- Read port C 5-bit address input
58 ADDRD => wa,
-- Read/Write port D 5-bit address input
59 DIA => di
(1 downto 0),
-- RAM 2-bit data write input addressed by ADDRD,
60 -- read addressed by ADDRA
61 DIB => di
(3 downto 2),
-- RAM 2-bit data write input addressed by ADDRD,
62 -- read addressed by ADDRB
63 DIC => di
(5 downto 4),
-- RAM 2-bit data write input addressed by ADDRD,
64 -- read addressed by ADDRC
65 DID => "
00",
-- RAM 2-bit data write input addressed by ADDRD,
66 -- read addressed by ADDRD
67 WCLK => wclk,
-- Write clock input
68 WE => we
-- Write enable input