1 |
42 |
lmaarsen |
-- megafunction wizard: %RAM: 1-PORT%
|
2 |
|
|
-- GENERATION: STANDARD
|
3 |
|
|
-- VERSION: WM1.0
|
4 |
|
|
-- MODULE: altsyncram
|
5 |
|
|
|
6 |
|
|
-- ============================================================
|
7 |
|
|
-- File Name: esoc_rom_2kx32.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 |
|
|
-- 8.1 Build 163 10/28/2008 SJ Full Version
|
18 |
|
|
-- ************************************************************
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
--Copyright (C) 1991-2008 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_rom_2kx32 IS
|
43 |
|
|
PORT
|
44 |
|
|
(
|
45 |
|
|
aclr : IN STD_LOGIC ;
|
46 |
|
|
address : IN STD_LOGIC_VECTOR (10 DOWNTO 0);
|
47 |
|
|
clock : IN STD_LOGIC ;
|
48 |
|
|
data : IN STD_LOGIC_VECTOR (31 DOWNTO 0);
|
49 |
|
|
rden : IN STD_LOGIC ;
|
50 |
|
|
wren : IN STD_LOGIC ;
|
51 |
|
|
q : OUT STD_LOGIC_VECTOR (31 DOWNTO 0)
|
52 |
|
|
);
|
53 |
|
|
END esoc_rom_2kx32;
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
ARCHITECTURE SYN OF esoc_rom_2kx32 IS
|
57 |
|
|
|
58 |
|
|
SIGNAL sub_wire0 : STD_LOGIC_VECTOR (31 DOWNTO 0);
|
59 |
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
|
|
COMPONENT altsyncram
|
63 |
|
|
GENERIC (
|
64 |
|
|
clock_enable_input_a : STRING;
|
65 |
|
|
clock_enable_output_a : STRING;
|
66 |
|
|
init_file : STRING;
|
67 |
|
|
intended_device_family : STRING;
|
68 |
|
|
lpm_hint : STRING;
|
69 |
|
|
lpm_type : STRING;
|
70 |
|
|
numwords_a : NATURAL;
|
71 |
|
|
operation_mode : STRING;
|
72 |
|
|
outdata_aclr_a : STRING;
|
73 |
|
|
outdata_reg_a : STRING;
|
74 |
|
|
power_up_uninitialized : STRING;
|
75 |
|
|
read_during_write_mode_port_a : STRING;
|
76 |
|
|
widthad_a : NATURAL;
|
77 |
|
|
width_a : NATURAL;
|
78 |
|
|
width_byteena_a : NATURAL
|
79 |
|
|
);
|
80 |
|
|
PORT (
|
81 |
|
|
wren_a : IN STD_LOGIC ;
|
82 |
|
|
aclr0 : IN STD_LOGIC ;
|
83 |
|
|
clock0 : IN STD_LOGIC ;
|
84 |
|
|
address_a : IN STD_LOGIC_VECTOR (10 DOWNTO 0);
|
85 |
|
|
rden_a : IN STD_LOGIC ;
|
86 |
|
|
q_a : OUT STD_LOGIC_VECTOR (31 DOWNTO 0);
|
87 |
|
|
data_a : IN STD_LOGIC_VECTOR (31 DOWNTO 0)
|
88 |
|
|
);
|
89 |
|
|
END COMPONENT;
|
90 |
|
|
|
91 |
|
|
BEGIN
|
92 |
|
|
q <= sub_wire0(31 DOWNTO 0);
|
93 |
|
|
|
94 |
|
|
altsyncram_component : altsyncram
|
95 |
|
|
GENERIC MAP (
|
96 |
|
|
clock_enable_input_a => "BYPASS",
|
97 |
|
|
clock_enable_output_a => "BYPASS",
|
98 |
|
|
init_file => "esoc_rom_2kx32.mif",
|
99 |
|
|
intended_device_family => "Cyclone III",
|
100 |
|
|
lpm_hint => "ENABLE_RUNTIME_MOD=NO",
|
101 |
|
|
lpm_type => "altsyncram",
|
102 |
|
|
numwords_a => 2048,
|
103 |
|
|
operation_mode => "SINGLE_PORT",
|
104 |
|
|
outdata_aclr_a => "CLEAR0",
|
105 |
|
|
outdata_reg_a => "UNREGISTERED",
|
106 |
|
|
power_up_uninitialized => "FALSE",
|
107 |
|
|
read_during_write_mode_port_a => "NEW_DATA_NO_NBE_READ",
|
108 |
|
|
widthad_a => 11,
|
109 |
|
|
width_a => 32,
|
110 |
|
|
width_byteena_a => 1
|
111 |
|
|
)
|
112 |
|
|
PORT MAP (
|
113 |
|
|
wren_a => wren,
|
114 |
|
|
aclr0 => aclr,
|
115 |
|
|
clock0 => clock,
|
116 |
|
|
address_a => address,
|
117 |
|
|
rden_a => rden,
|
118 |
|
|
data_a => data,
|
119 |
|
|
q_a => sub_wire0
|
120 |
|
|
);
|
121 |
|
|
|
122 |
|
|
|
123 |
|
|
|
124 |
|
|
END SYN;
|
125 |
|
|
|
126 |
|
|
-- ============================================================
|
127 |
|
|
-- CNX file retrieval info
|
128 |
|
|
-- ============================================================
|
129 |
|
|
-- Retrieval info: PRIVATE: ADDRESSSTALL_A NUMERIC "0"
|
130 |
|
|
-- Retrieval info: PRIVATE: AclrAddr NUMERIC "0"
|
131 |
|
|
-- Retrieval info: PRIVATE: AclrByte NUMERIC "0"
|
132 |
|
|
-- Retrieval info: PRIVATE: AclrData NUMERIC "0"
|
133 |
|
|
-- Retrieval info: PRIVATE: AclrOutput NUMERIC "1"
|
134 |
|
|
-- Retrieval info: PRIVATE: BYTE_ENABLE NUMERIC "0"
|
135 |
|
|
-- Retrieval info: PRIVATE: BYTE_SIZE NUMERIC "8"
|
136 |
|
|
-- Retrieval info: PRIVATE: BlankMemory NUMERIC "0"
|
137 |
|
|
-- Retrieval info: PRIVATE: CLOCK_ENABLE_INPUT_A NUMERIC "0"
|
138 |
|
|
-- Retrieval info: PRIVATE: CLOCK_ENABLE_OUTPUT_A NUMERIC "0"
|
139 |
|
|
-- Retrieval info: PRIVATE: Clken NUMERIC "0"
|
140 |
|
|
-- Retrieval info: PRIVATE: DataBusSeparated NUMERIC "1"
|
141 |
|
|
-- Retrieval info: PRIVATE: IMPLEMENT_IN_LES NUMERIC "0"
|
142 |
|
|
-- Retrieval info: PRIVATE: INIT_FILE_LAYOUT STRING "PORT_A"
|
143 |
|
|
-- Retrieval info: PRIVATE: INIT_TO_SIM_X NUMERIC "0"
|
144 |
|
|
-- Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Cyclone III"
|
145 |
|
|
-- Retrieval info: PRIVATE: JTAG_ENABLED NUMERIC "0"
|
146 |
|
|
-- Retrieval info: PRIVATE: JTAG_ID STRING "NONE"
|
147 |
|
|
-- Retrieval info: PRIVATE: MAXIMUM_DEPTH NUMERIC "0"
|
148 |
|
|
-- Retrieval info: PRIVATE: MIFfilename STRING "esoc_rom_2kx32.mif"
|
149 |
|
|
-- Retrieval info: PRIVATE: NUMWORDS_A NUMERIC "2048"
|
150 |
|
|
-- Retrieval info: PRIVATE: RAM_BLOCK_TYPE NUMERIC "0"
|
151 |
|
|
-- Retrieval info: PRIVATE: READ_DURING_WRITE_MODE_PORT_A NUMERIC "3"
|
152 |
|
|
-- Retrieval info: PRIVATE: RegAddr NUMERIC "1"
|
153 |
|
|
-- Retrieval info: PRIVATE: RegData NUMERIC "1"
|
154 |
|
|
-- Retrieval info: PRIVATE: RegOutput NUMERIC "0"
|
155 |
|
|
-- Retrieval info: PRIVATE: SYNTH_WRAPPER_GEN_POSTFIX STRING "0"
|
156 |
|
|
-- Retrieval info: PRIVATE: SingleClock NUMERIC "1"
|
157 |
|
|
-- Retrieval info: PRIVATE: UseDQRAM NUMERIC "1"
|
158 |
|
|
-- Retrieval info: PRIVATE: WRCONTROL_ACLR_A NUMERIC "0"
|
159 |
|
|
-- Retrieval info: PRIVATE: WidthAddr NUMERIC "11"
|
160 |
|
|
-- Retrieval info: PRIVATE: WidthData NUMERIC "32"
|
161 |
|
|
-- Retrieval info: PRIVATE: rden NUMERIC "1"
|
162 |
|
|
-- Retrieval info: CONSTANT: CLOCK_ENABLE_INPUT_A STRING "BYPASS"
|
163 |
|
|
-- Retrieval info: CONSTANT: CLOCK_ENABLE_OUTPUT_A STRING "BYPASS"
|
164 |
|
|
-- Retrieval info: CONSTANT: INIT_FILE STRING "esoc_rom_2kx32.mif"
|
165 |
|
|
-- Retrieval info: CONSTANT: INTENDED_DEVICE_FAMILY STRING "Cyclone III"
|
166 |
|
|
-- Retrieval info: CONSTANT: LPM_HINT STRING "ENABLE_RUNTIME_MOD=NO"
|
167 |
|
|
-- Retrieval info: CONSTANT: LPM_TYPE STRING "altsyncram"
|
168 |
|
|
-- Retrieval info: CONSTANT: NUMWORDS_A NUMERIC "2048"
|
169 |
|
|
-- Retrieval info: CONSTANT: OPERATION_MODE STRING "SINGLE_PORT"
|
170 |
|
|
-- Retrieval info: CONSTANT: OUTDATA_ACLR_A STRING "CLEAR0"
|
171 |
|
|
-- Retrieval info: CONSTANT: OUTDATA_REG_A STRING "UNREGISTERED"
|
172 |
|
|
-- Retrieval info: CONSTANT: POWER_UP_UNINITIALIZED STRING "FALSE"
|
173 |
|
|
-- Retrieval info: CONSTANT: READ_DURING_WRITE_MODE_PORT_A STRING "NEW_DATA_NO_NBE_READ"
|
174 |
|
|
-- Retrieval info: CONSTANT: WIDTHAD_A NUMERIC "11"
|
175 |
|
|
-- Retrieval info: CONSTANT: WIDTH_A NUMERIC "32"
|
176 |
|
|
-- Retrieval info: CONSTANT: WIDTH_BYTEENA_A NUMERIC "1"
|
177 |
|
|
-- Retrieval info: USED_PORT: aclr 0 0 0 0 INPUT NODEFVAL aclr
|
178 |
|
|
-- Retrieval info: USED_PORT: address 0 0 11 0 INPUT NODEFVAL address[10..0]
|
179 |
|
|
-- Retrieval info: USED_PORT: clock 0 0 0 0 INPUT NODEFVAL clock
|
180 |
|
|
-- Retrieval info: USED_PORT: data 0 0 32 0 INPUT NODEFVAL data[31..0]
|
181 |
|
|
-- Retrieval info: USED_PORT: q 0 0 32 0 OUTPUT NODEFVAL q[31..0]
|
182 |
|
|
-- Retrieval info: USED_PORT: rden 0 0 0 0 INPUT NODEFVAL rden
|
183 |
|
|
-- Retrieval info: USED_PORT: wren 0 0 0 0 INPUT NODEFVAL wren
|
184 |
|
|
-- Retrieval info: CONNECT: @address_a 0 0 11 0 address 0 0 11 0
|
185 |
|
|
-- Retrieval info: CONNECT: q 0 0 32 0 @q_a 0 0 32 0
|
186 |
|
|
-- Retrieval info: CONNECT: @clock0 0 0 0 0 clock 0 0 0 0
|
187 |
|
|
-- Retrieval info: CONNECT: @aclr0 0 0 0 0 aclr 0 0 0 0
|
188 |
|
|
-- Retrieval info: CONNECT: @rden_a 0 0 0 0 rden 0 0 0 0
|
189 |
|
|
-- Retrieval info: CONNECT: @data_a 0 0 32 0 data 0 0 32 0
|
190 |
|
|
-- Retrieval info: CONNECT: @wren_a 0 0 0 0 wren 0 0 0 0
|
191 |
|
|
-- Retrieval info: LIBRARY: altera_mf altera_mf.altera_mf_components.all
|
192 |
|
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL esoc_rom_2kx32.vhd TRUE
|
193 |
|
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL esoc_rom_2kx32.inc TRUE
|
194 |
|
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL esoc_rom_2kx32.cmp TRUE
|
195 |
|
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL esoc_rom_2kx32.bsf TRUE
|
196 |
|
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL esoc_rom_2kx32_inst.vhd TRUE
|
197 |
|
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL esoc_rom_2kx32_waveforms.html TRUE
|
198 |
|
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL esoc_rom_2kx32_wave*.jpg FALSE
|
199 |
|
|
-- Retrieval info: LIB_FILE: altera_mf
|