OpenCores
URL https://opencores.org/ocsvn/esoc/esoc/trunk

Subversion Repositories esoc

[/] [esoc/] [trunk/] [Sources/] [altera/] [esoc_ram_nkx1/] [esoc_ram_4kx1.vhd] - Blame information for rev 42

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 42 lmaarsen
-- megafunction wizard: %RAM: 2-PORT%
2
-- GENERATION: STANDARD
3
-- VERSION: WM1.0
4
-- MODULE: altsyncram 
5
 
6
-- ============================================================
7
-- File Name: esoc_ram_4kx1.vhd
8
-- 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
-- 10.1 Build 197 01/19/2011 SP 1 SJ Full Version
18
-- ************************************************************
19
 
20
 
21
--Copyright (C) 1991-2011 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.all;
41
 
42
ENTITY esoc_ram_4kx1 IS
43
        PORT
44
        (
45
                address_a               : IN STD_LOGIC_VECTOR (11 DOWNTO 0);
46
                address_b               : IN STD_LOGIC_VECTOR (11 DOWNTO 0);
47
                clock_a         : IN STD_LOGIC  := '1';
48
                clock_b         : IN STD_LOGIC ;
49
                data_a          : IN STD_LOGIC_VECTOR (0 DOWNTO 0);
50
                data_b          : IN STD_LOGIC_VECTOR (0 DOWNTO 0);
51
                rden_a          : IN STD_LOGIC  := '1';
52
                rden_b          : IN STD_LOGIC  := '1';
53
                wren_a          : IN STD_LOGIC  := '0';
54
                wren_b          : IN STD_LOGIC  := '0';
55
                q_a             : OUT STD_LOGIC_VECTOR (0 DOWNTO 0);
56
                q_b             : OUT STD_LOGIC_VECTOR (0 DOWNTO 0)
57
        );
58
END esoc_ram_4kx1;
59
 
60
 
61
ARCHITECTURE SYN OF esoc_ram_4kx1 IS
62
 
63
        SIGNAL sub_wire0        : STD_LOGIC_VECTOR (0 DOWNTO 0);
64
        SIGNAL sub_wire1        : STD_LOGIC_VECTOR (0 DOWNTO 0);
65
 
66
 
67
 
68
        COMPONENT altsyncram
69
        GENERIC (
70
                address_reg_b           : STRING;
71
                clock_enable_input_a            : STRING;
72
                clock_enable_input_b            : STRING;
73
                clock_enable_output_a           : STRING;
74
                clock_enable_output_b           : STRING;
75
                indata_reg_b            : STRING;
76
                init_file               : STRING;
77
                intended_device_family          : STRING;
78
                lpm_type                : STRING;
79
                numwords_a              : NATURAL;
80
                numwords_b              : NATURAL;
81
                operation_mode          : STRING;
82
                outdata_aclr_a          : STRING;
83
                outdata_aclr_b          : STRING;
84
                outdata_reg_a           : STRING;
85
                outdata_reg_b           : STRING;
86
                power_up_uninitialized          : STRING;
87
                read_during_write_mode_port_a           : STRING;
88
                read_during_write_mode_port_b           : STRING;
89
                widthad_a               : NATURAL;
90
                widthad_b               : NATURAL;
91
                width_a         : NATURAL;
92
                width_b         : NATURAL;
93
                width_byteena_a         : NATURAL;
94
                width_byteena_b         : NATURAL;
95
                wrcontrol_wraddress_reg_b               : STRING
96
        );
97
        PORT (
98
                        clock0  : IN STD_LOGIC ;
99
                        wren_a  : IN STD_LOGIC ;
100
                        address_b       : IN STD_LOGIC_VECTOR (11 DOWNTO 0);
101
                        clock1  : IN STD_LOGIC ;
102
                        data_b  : IN STD_LOGIC_VECTOR (0 DOWNTO 0);
103
                        q_a     : OUT STD_LOGIC_VECTOR (0 DOWNTO 0);
104
                        rden_a  : IN STD_LOGIC ;
105
                        wren_b  : IN STD_LOGIC ;
106
                        address_a       : IN STD_LOGIC_VECTOR (11 DOWNTO 0);
107
                        data_a  : IN STD_LOGIC_VECTOR (0 DOWNTO 0);
108
                        q_b     : OUT STD_LOGIC_VECTOR (0 DOWNTO 0);
109
                        rden_b  : IN STD_LOGIC
110
        );
111
        END COMPONENT;
112
 
113
BEGIN
114
        q_a    <= sub_wire0(0 DOWNTO 0);
115
        q_b    <= sub_wire1(0 DOWNTO 0);
116
 
117
        altsyncram_component : altsyncram
118
        GENERIC MAP (
119
                address_reg_b => "CLOCK1",
120
                clock_enable_input_a => "BYPASS",
121
                clock_enable_input_b => "BYPASS",
122
                clock_enable_output_a => "BYPASS",
123
                clock_enable_output_b => "BYPASS",
124
                indata_reg_b => "CLOCK1",
125
                init_file => "esoc_ram_4kx1.mif",
126
                intended_device_family => "Cyclone III",
127
                lpm_type => "altsyncram",
128
                numwords_a => 4096,
129
                numwords_b => 4096,
130
                operation_mode => "BIDIR_DUAL_PORT",
131
                outdata_aclr_a => "NONE",
132
                outdata_aclr_b => "NONE",
133
                outdata_reg_a => "UNREGISTERED",
134
                outdata_reg_b => "UNREGISTERED",
135
                power_up_uninitialized => "FALSE",
136
                read_during_write_mode_port_a => "NEW_DATA_NO_NBE_READ",
137
                read_during_write_mode_port_b => "NEW_DATA_NO_NBE_READ",
138
                widthad_a => 12,
139
                widthad_b => 12,
140
                width_a => 1,
141
                width_b => 1,
142
                width_byteena_a => 1,
143
                width_byteena_b => 1,
144
                wrcontrol_wraddress_reg_b => "CLOCK1"
145
        )
146
        PORT MAP (
147
                clock0 => clock_a,
148
                wren_a => wren_a,
149
                address_b => address_b,
150
                clock1 => clock_b,
151
                data_b => data_b,
152
                rden_a => rden_a,
153
                wren_b => wren_b,
154
                address_a => address_a,
155
                data_a => data_a,
156
                rden_b => rden_b,
157
                q_a => sub_wire0,
158
                q_b => sub_wire1
159
        );
160
 
161
 
162
 
163
END SYN;
164
 
165
-- ============================================================
166
-- CNX file retrieval info
167
-- ============================================================
168
-- Retrieval info: PRIVATE: ADDRESSSTALL_A NUMERIC "0"
169
-- Retrieval info: PRIVATE: ADDRESSSTALL_B NUMERIC "0"
170
-- Retrieval info: PRIVATE: BYTEENA_ACLR_A NUMERIC "0"
171
-- Retrieval info: PRIVATE: BYTEENA_ACLR_B NUMERIC "0"
172
-- Retrieval info: PRIVATE: BYTE_ENABLE_A NUMERIC "0"
173
-- Retrieval info: PRIVATE: BYTE_ENABLE_B NUMERIC "0"
174
-- Retrieval info: PRIVATE: BYTE_SIZE NUMERIC "8"
175
-- Retrieval info: PRIVATE: BlankMemory NUMERIC "0"
176
-- Retrieval info: PRIVATE: CLOCK_ENABLE_INPUT_A NUMERIC "0"
177
-- Retrieval info: PRIVATE: CLOCK_ENABLE_INPUT_B NUMERIC "0"
178
-- Retrieval info: PRIVATE: CLOCK_ENABLE_OUTPUT_A NUMERIC "0"
179
-- Retrieval info: PRIVATE: CLOCK_ENABLE_OUTPUT_B NUMERIC "0"
180
-- Retrieval info: PRIVATE: CLRdata NUMERIC "0"
181
-- Retrieval info: PRIVATE: CLRq NUMERIC "0"
182
-- Retrieval info: PRIVATE: CLRrdaddress NUMERIC "0"
183
-- Retrieval info: PRIVATE: CLRrren NUMERIC "0"
184
-- Retrieval info: PRIVATE: CLRwraddress NUMERIC "0"
185
-- Retrieval info: PRIVATE: CLRwren NUMERIC "0"
186
-- Retrieval info: PRIVATE: Clock NUMERIC "5"
187
-- Retrieval info: PRIVATE: Clock_A NUMERIC "0"
188
-- Retrieval info: PRIVATE: Clock_B NUMERIC "0"
189
-- Retrieval info: PRIVATE: ECC NUMERIC "0"
190
-- Retrieval info: PRIVATE: IMPLEMENT_IN_LES NUMERIC "0"
191
-- Retrieval info: PRIVATE: INDATA_ACLR_B NUMERIC "0"
192
-- Retrieval info: PRIVATE: INDATA_REG_B NUMERIC "1"
193
-- Retrieval info: PRIVATE: INIT_FILE_LAYOUT STRING "PORT_A"
194
-- Retrieval info: PRIVATE: INIT_TO_SIM_X NUMERIC "0"
195
-- Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Cyclone III"
196
-- Retrieval info: PRIVATE: JTAG_ENABLED NUMERIC "0"
197
-- Retrieval info: PRIVATE: JTAG_ID STRING "NONE"
198
-- Retrieval info: PRIVATE: MAXIMUM_DEPTH NUMERIC "0"
199
-- Retrieval info: PRIVATE: MEMSIZE NUMERIC "4096"
200
-- Retrieval info: PRIVATE: MEM_IN_BITS NUMERIC "1"
201
-- Retrieval info: PRIVATE: MIFfilename STRING "esoc_ram_4kx1.mif"
202
-- Retrieval info: PRIVATE: OPERATION_MODE NUMERIC "3"
203
-- Retrieval info: PRIVATE: OUTDATA_ACLR_B NUMERIC "0"
204
-- Retrieval info: PRIVATE: OUTDATA_REG_B NUMERIC "0"
205
-- Retrieval info: PRIVATE: RAM_BLOCK_TYPE NUMERIC "0"
206
-- Retrieval info: PRIVATE: READ_DURING_WRITE_MODE_MIXED_PORTS NUMERIC "2"
207
-- Retrieval info: PRIVATE: READ_DURING_WRITE_MODE_PORT_A NUMERIC "3"
208
-- Retrieval info: PRIVATE: READ_DURING_WRITE_MODE_PORT_B NUMERIC "3"
209
-- Retrieval info: PRIVATE: REGdata NUMERIC "1"
210
-- Retrieval info: PRIVATE: REGq NUMERIC "0"
211
-- Retrieval info: PRIVATE: REGrdaddress NUMERIC "0"
212
-- Retrieval info: PRIVATE: REGrren NUMERIC "1"
213
-- Retrieval info: PRIVATE: REGwraddress NUMERIC "1"
214
-- Retrieval info: PRIVATE: REGwren NUMERIC "1"
215
-- Retrieval info: PRIVATE: SYNTH_WRAPPER_GEN_POSTFIX STRING "0"
216
-- Retrieval info: PRIVATE: USE_DIFF_CLKEN NUMERIC "0"
217
-- Retrieval info: PRIVATE: UseDPRAM NUMERIC "1"
218
-- Retrieval info: PRIVATE: VarWidth NUMERIC "0"
219
-- Retrieval info: PRIVATE: WIDTH_READ_A NUMERIC "1"
220
-- Retrieval info: PRIVATE: WIDTH_READ_B NUMERIC "1"
221
-- Retrieval info: PRIVATE: WIDTH_WRITE_A NUMERIC "1"
222
-- Retrieval info: PRIVATE: WIDTH_WRITE_B NUMERIC "1"
223
-- Retrieval info: PRIVATE: WRADDR_ACLR_B NUMERIC "0"
224
-- Retrieval info: PRIVATE: WRADDR_REG_B NUMERIC "1"
225
-- Retrieval info: PRIVATE: WRCTRL_ACLR_B NUMERIC "0"
226
-- Retrieval info: PRIVATE: enable NUMERIC "0"
227
-- Retrieval info: PRIVATE: rden NUMERIC "1"
228
-- Retrieval info: LIBRARY: altera_mf altera_mf.altera_mf_components.all
229
-- Retrieval info: CONSTANT: ADDRESS_REG_B STRING "CLOCK1"
230
-- Retrieval info: CONSTANT: CLOCK_ENABLE_INPUT_A STRING "BYPASS"
231
-- Retrieval info: CONSTANT: CLOCK_ENABLE_INPUT_B STRING "BYPASS"
232
-- Retrieval info: CONSTANT: CLOCK_ENABLE_OUTPUT_A STRING "BYPASS"
233
-- Retrieval info: CONSTANT: CLOCK_ENABLE_OUTPUT_B STRING "BYPASS"
234
-- Retrieval info: CONSTANT: INDATA_REG_B STRING "CLOCK1"
235
-- Retrieval info: CONSTANT: INIT_FILE STRING "esoc_ram_4kx1.mif"
236
-- Retrieval info: CONSTANT: INTENDED_DEVICE_FAMILY STRING "Cyclone III"
237
-- Retrieval info: CONSTANT: LPM_TYPE STRING "altsyncram"
238
-- Retrieval info: CONSTANT: NUMWORDS_A NUMERIC "4096"
239
-- Retrieval info: CONSTANT: NUMWORDS_B NUMERIC "4096"
240
-- Retrieval info: CONSTANT: OPERATION_MODE STRING "BIDIR_DUAL_PORT"
241
-- Retrieval info: CONSTANT: OUTDATA_ACLR_A STRING "NONE"
242
-- Retrieval info: CONSTANT: OUTDATA_ACLR_B STRING "NONE"
243
-- Retrieval info: CONSTANT: OUTDATA_REG_A STRING "UNREGISTERED"
244
-- Retrieval info: CONSTANT: OUTDATA_REG_B STRING "UNREGISTERED"
245
-- Retrieval info: CONSTANT: POWER_UP_UNINITIALIZED STRING "FALSE"
246
-- Retrieval info: CONSTANT: READ_DURING_WRITE_MODE_PORT_A STRING "NEW_DATA_NO_NBE_READ"
247
-- Retrieval info: CONSTANT: READ_DURING_WRITE_MODE_PORT_B STRING "NEW_DATA_NO_NBE_READ"
248
-- Retrieval info: CONSTANT: WIDTHAD_A NUMERIC "12"
249
-- Retrieval info: CONSTANT: WIDTHAD_B NUMERIC "12"
250
-- Retrieval info: CONSTANT: WIDTH_A NUMERIC "1"
251
-- Retrieval info: CONSTANT: WIDTH_B NUMERIC "1"
252
-- Retrieval info: CONSTANT: WIDTH_BYTEENA_A NUMERIC "1"
253
-- Retrieval info: CONSTANT: WIDTH_BYTEENA_B NUMERIC "1"
254
-- Retrieval info: CONSTANT: WRCONTROL_WRADDRESS_REG_B STRING "CLOCK1"
255
-- Retrieval info: USED_PORT: address_a 0 0 12 0 INPUT NODEFVAL "address_a[11..0]"
256
-- Retrieval info: USED_PORT: address_b 0 0 12 0 INPUT NODEFVAL "address_b[11..0]"
257
-- Retrieval info: USED_PORT: clock_a 0 0 0 0 INPUT VCC "clock_a"
258
-- Retrieval info: USED_PORT: clock_b 0 0 0 0 INPUT NODEFVAL "clock_b"
259
-- Retrieval info: USED_PORT: data_a 0 0 1 0 INPUT NODEFVAL "data_a[0..0]"
260
-- Retrieval info: USED_PORT: data_b 0 0 1 0 INPUT NODEFVAL "data_b[0..0]"
261
-- Retrieval info: USED_PORT: q_a 0 0 1 0 OUTPUT NODEFVAL "q_a[0..0]"
262
-- Retrieval info: USED_PORT: q_b 0 0 1 0 OUTPUT NODEFVAL "q_b[0..0]"
263
-- Retrieval info: USED_PORT: rden_a 0 0 0 0 INPUT VCC "rden_a"
264
-- Retrieval info: USED_PORT: rden_b 0 0 0 0 INPUT VCC "rden_b"
265
-- Retrieval info: USED_PORT: wren_a 0 0 0 0 INPUT GND "wren_a"
266
-- Retrieval info: USED_PORT: wren_b 0 0 0 0 INPUT GND "wren_b"
267
-- Retrieval info: CONNECT: @address_a 0 0 12 0 address_a 0 0 12 0
268
-- Retrieval info: CONNECT: @address_b 0 0 12 0 address_b 0 0 12 0
269
-- Retrieval info: CONNECT: @clock0 0 0 0 0 clock_a 0 0 0 0
270
-- Retrieval info: CONNECT: @clock1 0 0 0 0 clock_b 0 0 0 0
271
-- Retrieval info: CONNECT: @data_a 0 0 1 0 data_a 0 0 1 0
272
-- Retrieval info: CONNECT: @data_b 0 0 1 0 data_b 0 0 1 0
273
-- Retrieval info: CONNECT: @rden_a 0 0 0 0 rden_a 0 0 0 0
274
-- Retrieval info: CONNECT: @rden_b 0 0 0 0 rden_b 0 0 0 0
275
-- Retrieval info: CONNECT: @wren_a 0 0 0 0 wren_a 0 0 0 0
276
-- Retrieval info: CONNECT: @wren_b 0 0 0 0 wren_b 0 0 0 0
277
-- Retrieval info: CONNECT: q_a 0 0 1 0 @q_a 0 0 1 0
278
-- Retrieval info: CONNECT: q_b 0 0 1 0 @q_b 0 0 1 0
279
-- Retrieval info: GEN_FILE: TYPE_NORMAL esoc_ram_4kx1.vhd TRUE
280
-- Retrieval info: GEN_FILE: TYPE_NORMAL esoc_ram_4kx1.inc TRUE
281
-- Retrieval info: GEN_FILE: TYPE_NORMAL esoc_ram_4kx1.cmp TRUE
282
-- Retrieval info: GEN_FILE: TYPE_NORMAL esoc_ram_4kx1.bsf TRUE
283
-- Retrieval info: GEN_FILE: TYPE_NORMAL esoc_ram_4kx1_inst.vhd TRUE
284
-- Retrieval info: GEN_FILE: TYPE_NORMAL esoc_ram_4kx1_waveforms.html TRUE
285
-- Retrieval info: GEN_FILE: TYPE_NORMAL esoc_ram_4kx1_wave*.jpg FALSE
286
-- Retrieval info: LIB_FILE: altera_mf

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.