1 |
195 |
jshamlet |
-- megafunction wizard: %RAM: 2-PORT%
|
2 |
|
|
-- GENERATION: STANDARD
|
3 |
|
|
-- VERSION: WM1.0
|
4 |
|
|
-- MODULE: altsyncram
|
5 |
|
|
|
6 |
|
|
-- ============================================================
|
7 |
200 |
jshamlet |
-- File Name: sdlc_dp512b_ram.vhd
|
8 |
195 |
jshamlet |
-- Megafunction Name(s):
|
9 |
|
|
-- altsyncram
|
10 |
|
|
--
|
11 |
|
|
-- Simulation Library Files(s):
|
12 |
|
|
-- altera_mf
|
13 |
|
|
-- ============================================================
|
14 |
|
|
-- ************************************************************
|
15 |
|
|
-- THIS IS A WIZARD-GENERATED FILE. DO NOT EDIT THIS FILE!
|
16 |
|
|
--
|
17 |
|
|
-- 13.1.0 Build 162 10/23/2013 SJ Full Version
|
18 |
|
|
-- ************************************************************
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
--Copyright (C) 1991-2013 Altera Corporation
|
22 |
|
|
--Your use of Altera Corporation's design tools, logic functions
|
23 |
|
|
--and other software and tools, and its AMPP partner logic
|
24 |
|
|
--functions, and any output files from any of the foregoing
|
25 |
|
|
--(including device programming or simulation files), and any
|
26 |
|
|
--associated documentation or information are expressly subject
|
27 |
|
|
--to the terms and conditions of the Altera Program License
|
28 |
|
|
--Subscription Agreement, Altera MegaCore Function License
|
29 |
|
|
--Agreement, or other applicable license agreement, including,
|
30 |
|
|
--without limitation, that your use is for the sole purpose of
|
31 |
|
|
--programming logic devices manufactured by Altera and sold by
|
32 |
|
|
--Altera or its authorized distributors. Please refer to the
|
33 |
|
|
--applicable agreement for further details.
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
LIBRARY ieee;
|
37 |
|
|
USE ieee.std_logic_1164.all;
|
38 |
|
|
|
39 |
|
|
LIBRARY altera_mf;
|
40 |
|
|
USE altera_mf.altera_mf_components.all;
|
41 |
|
|
|
42 |
200 |
jshamlet |
ENTITY sdlc_dp512b_ram IS
|
43 |
195 |
jshamlet |
PORT
|
44 |
|
|
(
|
45 |
|
|
address_a : IN STD_LOGIC_VECTOR (8 DOWNTO 0);
|
46 |
|
|
address_b : IN STD_LOGIC_VECTOR (8 DOWNTO 0);
|
47 |
|
|
clock : IN STD_LOGIC := '1';
|
48 |
|
|
data_a : IN STD_LOGIC_VECTOR (7 DOWNTO 0);
|
49 |
|
|
data_b : IN STD_LOGIC_VECTOR (7 DOWNTO 0);
|
50 |
|
|
wren_a : IN STD_LOGIC := '0';
|
51 |
|
|
wren_b : IN STD_LOGIC := '0';
|
52 |
|
|
q_a : OUT STD_LOGIC_VECTOR (7 DOWNTO 0);
|
53 |
|
|
q_b : OUT STD_LOGIC_VECTOR (7 DOWNTO 0)
|
54 |
|
|
);
|
55 |
200 |
jshamlet |
END sdlc_dp512b_ram;
|
56 |
195 |
jshamlet |
|
57 |
|
|
|
58 |
200 |
jshamlet |
ARCHITECTURE SYN OF sdlc_dp512b_ram IS
|
59 |
195 |
jshamlet |
|
60 |
|
|
SIGNAL sub_wire0 : STD_LOGIC_VECTOR (7 DOWNTO 0);
|
61 |
|
|
SIGNAL sub_wire1 : STD_LOGIC_VECTOR (7 DOWNTO 0);
|
62 |
|
|
|
63 |
|
|
BEGIN
|
64 |
|
|
q_a <= sub_wire0(7 DOWNTO 0);
|
65 |
|
|
q_b <= sub_wire1(7 DOWNTO 0);
|
66 |
|
|
|
67 |
|
|
altsyncram_component : altsyncram
|
68 |
|
|
GENERIC MAP (
|
69 |
|
|
address_reg_b => "CLOCK0",
|
70 |
|
|
clock_enable_input_a => "BYPASS",
|
71 |
|
|
clock_enable_input_b => "BYPASS",
|
72 |
|
|
clock_enable_output_a => "BYPASS",
|
73 |
|
|
clock_enable_output_b => "BYPASS",
|
74 |
|
|
indata_reg_b => "CLOCK0",
|
75 |
|
|
intended_device_family => "Cyclone IV E",
|
76 |
|
|
lpm_type => "altsyncram",
|
77 |
|
|
numwords_a => 512,
|
78 |
|
|
numwords_b => 512,
|
79 |
|
|
operation_mode => "BIDIR_DUAL_PORT",
|
80 |
|
|
outdata_aclr_a => "NONE",
|
81 |
|
|
outdata_aclr_b => "NONE",
|
82 |
|
|
outdata_reg_a => "UNREGISTERED",
|
83 |
|
|
outdata_reg_b => "UNREGISTERED",
|
84 |
|
|
power_up_uninitialized => "FALSE",
|
85 |
|
|
read_during_write_mode_mixed_ports => "OLD_DATA",
|
86 |
|
|
read_during_write_mode_port_a => "NEW_DATA_NO_NBE_READ",
|
87 |
|
|
read_during_write_mode_port_b => "NEW_DATA_NO_NBE_READ",
|
88 |
|
|
widthad_a => 9,
|
89 |
|
|
widthad_b => 9,
|
90 |
|
|
width_a => 8,
|
91 |
|
|
width_b => 8,
|
92 |
|
|
width_byteena_a => 1,
|
93 |
|
|
width_byteena_b => 1,
|
94 |
|
|
wrcontrol_wraddress_reg_b => "CLOCK0"
|
95 |
|
|
)
|
96 |
|
|
PORT MAP (
|
97 |
|
|
clock0 => clock,
|
98 |
|
|
wren_a => wren_a,
|
99 |
|
|
address_b => address_b,
|
100 |
|
|
data_b => data_b,
|
101 |
|
|
wren_b => wren_b,
|
102 |
|
|
address_a => address_a,
|
103 |
|
|
data_a => data_a,
|
104 |
|
|
q_a => sub_wire0,
|
105 |
|
|
q_b => sub_wire1
|
106 |
|
|
);
|
107 |
|
|
|
108 |
|
|
|
109 |
|
|
|
110 |
|
|
END SYN;
|
111 |
|
|
|
112 |
|
|
-- ============================================================
|
113 |
|
|
-- CNX file retrieval info
|
114 |
|
|
-- ============================================================
|
115 |
|
|
-- Retrieval info: PRIVATE: ADDRESSSTALL_A NUMERIC "0"
|
116 |
|
|
-- Retrieval info: PRIVATE: ADDRESSSTALL_B NUMERIC "0"
|
117 |
|
|
-- Retrieval info: PRIVATE: BYTEENA_ACLR_A NUMERIC "0"
|
118 |
|
|
-- Retrieval info: PRIVATE: BYTEENA_ACLR_B NUMERIC "0"
|
119 |
|
|
-- Retrieval info: PRIVATE: BYTE_ENABLE_A NUMERIC "0"
|
120 |
|
|
-- Retrieval info: PRIVATE: BYTE_ENABLE_B NUMERIC "0"
|
121 |
|
|
-- Retrieval info: PRIVATE: BYTE_SIZE NUMERIC "8"
|
122 |
|
|
-- Retrieval info: PRIVATE: BlankMemory NUMERIC "1"
|
123 |
|
|
-- Retrieval info: PRIVATE: CLOCK_ENABLE_INPUT_A NUMERIC "0"
|
124 |
|
|
-- Retrieval info: PRIVATE: CLOCK_ENABLE_INPUT_B NUMERIC "0"
|
125 |
|
|
-- Retrieval info: PRIVATE: CLOCK_ENABLE_OUTPUT_A NUMERIC "0"
|
126 |
|
|
-- Retrieval info: PRIVATE: CLOCK_ENABLE_OUTPUT_B NUMERIC "0"
|
127 |
|
|
-- Retrieval info: PRIVATE: CLRdata NUMERIC "0"
|
128 |
|
|
-- Retrieval info: PRIVATE: CLRq NUMERIC "0"
|
129 |
|
|
-- Retrieval info: PRIVATE: CLRrdaddress NUMERIC "0"
|
130 |
|
|
-- Retrieval info: PRIVATE: CLRrren NUMERIC "0"
|
131 |
|
|
-- Retrieval info: PRIVATE: CLRwraddress NUMERIC "0"
|
132 |
|
|
-- Retrieval info: PRIVATE: CLRwren NUMERIC "0"
|
133 |
|
|
-- Retrieval info: PRIVATE: Clock NUMERIC "0"
|
134 |
|
|
-- Retrieval info: PRIVATE: Clock_A NUMERIC "0"
|
135 |
|
|
-- Retrieval info: PRIVATE: Clock_B NUMERIC "0"
|
136 |
|
|
-- Retrieval info: PRIVATE: IMPLEMENT_IN_LES NUMERIC "0"
|
137 |
|
|
-- Retrieval info: PRIVATE: INDATA_ACLR_B NUMERIC "0"
|
138 |
|
|
-- Retrieval info: PRIVATE: INDATA_REG_B NUMERIC "1"
|
139 |
|
|
-- Retrieval info: PRIVATE: INIT_FILE_LAYOUT STRING "PORT_A"
|
140 |
|
|
-- Retrieval info: PRIVATE: INIT_TO_SIM_X NUMERIC "0"
|
141 |
|
|
-- Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Cyclone IV E"
|
142 |
|
|
-- Retrieval info: PRIVATE: JTAG_ENABLED NUMERIC "0"
|
143 |
|
|
-- Retrieval info: PRIVATE: JTAG_ID STRING "NONE"
|
144 |
|
|
-- Retrieval info: PRIVATE: MAXIMUM_DEPTH NUMERIC "0"
|
145 |
|
|
-- Retrieval info: PRIVATE: MEMSIZE NUMERIC "4096"
|
146 |
|
|
-- Retrieval info: PRIVATE: MEM_IN_BITS NUMERIC "0"
|
147 |
|
|
-- Retrieval info: PRIVATE: MIFfilename STRING ""
|
148 |
|
|
-- Retrieval info: PRIVATE: OPERATION_MODE NUMERIC "3"
|
149 |
|
|
-- Retrieval info: PRIVATE: OUTDATA_ACLR_B NUMERIC "0"
|
150 |
|
|
-- Retrieval info: PRIVATE: OUTDATA_REG_B NUMERIC "0"
|
151 |
|
|
-- Retrieval info: PRIVATE: RAM_BLOCK_TYPE NUMERIC "0"
|
152 |
|
|
-- Retrieval info: PRIVATE: READ_DURING_WRITE_MODE_MIXED_PORTS NUMERIC "1"
|
153 |
|
|
-- Retrieval info: PRIVATE: READ_DURING_WRITE_MODE_PORT_A NUMERIC "3"
|
154 |
|
|
-- Retrieval info: PRIVATE: READ_DURING_WRITE_MODE_PORT_B NUMERIC "3"
|
155 |
|
|
-- Retrieval info: PRIVATE: REGdata NUMERIC "1"
|
156 |
|
|
-- Retrieval info: PRIVATE: REGq NUMERIC "0"
|
157 |
|
|
-- Retrieval info: PRIVATE: REGrdaddress NUMERIC "0"
|
158 |
|
|
-- Retrieval info: PRIVATE: REGrren NUMERIC "0"
|
159 |
|
|
-- Retrieval info: PRIVATE: REGwraddress NUMERIC "1"
|
160 |
|
|
-- Retrieval info: PRIVATE: REGwren NUMERIC "1"
|
161 |
|
|
-- Retrieval info: PRIVATE: SYNTH_WRAPPER_GEN_POSTFIX STRING "0"
|
162 |
|
|
-- Retrieval info: PRIVATE: USE_DIFF_CLKEN NUMERIC "0"
|
163 |
|
|
-- Retrieval info: PRIVATE: UseDPRAM NUMERIC "1"
|
164 |
|
|
-- Retrieval info: PRIVATE: VarWidth NUMERIC "0"
|
165 |
|
|
-- Retrieval info: PRIVATE: WIDTH_READ_A NUMERIC "8"
|
166 |
|
|
-- Retrieval info: PRIVATE: WIDTH_READ_B NUMERIC "8"
|
167 |
|
|
-- Retrieval info: PRIVATE: WIDTH_WRITE_A NUMERIC "8"
|
168 |
|
|
-- Retrieval info: PRIVATE: WIDTH_WRITE_B NUMERIC "8"
|
169 |
|
|
-- Retrieval info: PRIVATE: WRADDR_ACLR_B NUMERIC "0"
|
170 |
|
|
-- Retrieval info: PRIVATE: WRADDR_REG_B NUMERIC "1"
|
171 |
|
|
-- Retrieval info: PRIVATE: WRCTRL_ACLR_B NUMERIC "0"
|
172 |
|
|
-- Retrieval info: PRIVATE: enable NUMERIC "0"
|
173 |
|
|
-- Retrieval info: PRIVATE: rden NUMERIC "0"
|
174 |
|
|
-- Retrieval info: LIBRARY: altera_mf altera_mf.altera_mf_components.all
|
175 |
|
|
-- Retrieval info: CONSTANT: ADDRESS_REG_B STRING "CLOCK0"
|
176 |
|
|
-- Retrieval info: CONSTANT: CLOCK_ENABLE_INPUT_A STRING "BYPASS"
|
177 |
|
|
-- Retrieval info: CONSTANT: CLOCK_ENABLE_INPUT_B STRING "BYPASS"
|
178 |
|
|
-- Retrieval info: CONSTANT: CLOCK_ENABLE_OUTPUT_A STRING "BYPASS"
|
179 |
|
|
-- Retrieval info: CONSTANT: CLOCK_ENABLE_OUTPUT_B STRING "BYPASS"
|
180 |
|
|
-- Retrieval info: CONSTANT: INDATA_REG_B STRING "CLOCK0"
|
181 |
|
|
-- Retrieval info: CONSTANT: INTENDED_DEVICE_FAMILY STRING "Cyclone IV E"
|
182 |
|
|
-- Retrieval info: CONSTANT: LPM_TYPE STRING "altsyncram"
|
183 |
|
|
-- Retrieval info: CONSTANT: NUMWORDS_A NUMERIC "512"
|
184 |
|
|
-- Retrieval info: CONSTANT: NUMWORDS_B NUMERIC "512"
|
185 |
|
|
-- Retrieval info: CONSTANT: OPERATION_MODE STRING "BIDIR_DUAL_PORT"
|
186 |
|
|
-- Retrieval info: CONSTANT: OUTDATA_ACLR_A STRING "NONE"
|
187 |
|
|
-- Retrieval info: CONSTANT: OUTDATA_ACLR_B STRING "NONE"
|
188 |
|
|
-- Retrieval info: CONSTANT: OUTDATA_REG_A STRING "UNREGISTERED"
|
189 |
|
|
-- Retrieval info: CONSTANT: OUTDATA_REG_B STRING "UNREGISTERED"
|
190 |
|
|
-- Retrieval info: CONSTANT: POWER_UP_UNINITIALIZED STRING "FALSE"
|
191 |
|
|
-- Retrieval info: CONSTANT: READ_DURING_WRITE_MODE_MIXED_PORTS STRING "OLD_DATA"
|
192 |
|
|
-- Retrieval info: CONSTANT: READ_DURING_WRITE_MODE_PORT_A STRING "NEW_DATA_NO_NBE_READ"
|
193 |
|
|
-- Retrieval info: CONSTANT: READ_DURING_WRITE_MODE_PORT_B STRING "NEW_DATA_NO_NBE_READ"
|
194 |
|
|
-- Retrieval info: CONSTANT: WIDTHAD_A NUMERIC "9"
|
195 |
|
|
-- Retrieval info: CONSTANT: WIDTHAD_B NUMERIC "9"
|
196 |
|
|
-- Retrieval info: CONSTANT: WIDTH_A NUMERIC "8"
|
197 |
|
|
-- Retrieval info: CONSTANT: WIDTH_B NUMERIC "8"
|
198 |
|
|
-- Retrieval info: CONSTANT: WIDTH_BYTEENA_A NUMERIC "1"
|
199 |
|
|
-- Retrieval info: CONSTANT: WIDTH_BYTEENA_B NUMERIC "1"
|
200 |
|
|
-- Retrieval info: CONSTANT: WRCONTROL_WRADDRESS_REG_B STRING "CLOCK0"
|
201 |
|
|
-- Retrieval info: USED_PORT: address_a 0 0 9 0 INPUT NODEFVAL "address_a[8..0]"
|
202 |
|
|
-- Retrieval info: USED_PORT: address_b 0 0 9 0 INPUT NODEFVAL "address_b[8..0]"
|
203 |
|
|
-- Retrieval info: USED_PORT: clock 0 0 0 0 INPUT VCC "clock"
|
204 |
|
|
-- Retrieval info: USED_PORT: data_a 0 0 8 0 INPUT NODEFVAL "data_a[7..0]"
|
205 |
|
|
-- Retrieval info: USED_PORT: data_b 0 0 8 0 INPUT NODEFVAL "data_b[7..0]"
|
206 |
|
|
-- Retrieval info: USED_PORT: q_a 0 0 8 0 OUTPUT NODEFVAL "q_a[7..0]"
|
207 |
|
|
-- Retrieval info: USED_PORT: q_b 0 0 8 0 OUTPUT NODEFVAL "q_b[7..0]"
|
208 |
|
|
-- Retrieval info: USED_PORT: wren_a 0 0 0 0 INPUT GND "wren_a"
|
209 |
|
|
-- Retrieval info: USED_PORT: wren_b 0 0 0 0 INPUT GND "wren_b"
|
210 |
|
|
-- Retrieval info: CONNECT: @address_a 0 0 9 0 address_a 0 0 9 0
|
211 |
|
|
-- Retrieval info: CONNECT: @address_b 0 0 9 0 address_b 0 0 9 0
|
212 |
|
|
-- Retrieval info: CONNECT: @clock0 0 0 0 0 clock 0 0 0 0
|
213 |
|
|
-- Retrieval info: CONNECT: @data_a 0 0 8 0 data_a 0 0 8 0
|
214 |
|
|
-- Retrieval info: CONNECT: @data_b 0 0 8 0 data_b 0 0 8 0
|
215 |
|
|
-- Retrieval info: CONNECT: @wren_a 0 0 0 0 wren_a 0 0 0 0
|
216 |
|
|
-- Retrieval info: CONNECT: @wren_b 0 0 0 0 wren_b 0 0 0 0
|
217 |
|
|
-- Retrieval info: CONNECT: q_a 0 0 8 0 @q_a 0 0 8 0
|
218 |
|
|
-- Retrieval info: CONNECT: q_b 0 0 8 0 @q_b 0 0 8 0
|
219 |
|
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL ram_dp1kb_core.vhd TRUE
|
220 |
|
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL ram_dp1kb_core.inc FALSE
|
221 |
|
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL ram_dp1kb_core.cmp FALSE
|
222 |
|
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL ram_dp1kb_core.bsf FALSE
|
223 |
|
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL ram_256b_core_inst.vhd FALSE
|
224 |
|
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL ram_dp1kb_core_inst.vhd FALSE
|
225 |
200 |
jshamlet |
-- Retrieval info: GEN_FILE: TYPE_NORMAL sdlc_dp512b_ram.vhd TRUE
|
226 |
|
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL sdlc_dp512b_ram.inc FALSE
|
227 |
|
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL sdlc_dp512b_ram.cmp FALSE
|
228 |
|
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL sdlc_dp512b_ram.bsf FALSE
|
229 |
|
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL sdlc_dp512b_ram_inst.vhd FALSE
|
230 |
195 |
jshamlet |
-- Retrieval info: LIB_FILE: altera_mf
|