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