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