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

Subversion Repositories z80soc

[/] [z80soc/] [trunk/] [V0.7.3/] [DE2115/] [memoryCores/] [charram2k.vhd.bak] - Blame information for rev 46

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 46 rrred
-- megafunction wizard: %RAM: 2-PORT%
2
-- GENERATION: STANDARD
3
-- VERSION: WM1.0
4
-- MODULE: altsyncram
5
 
6
-- ============================================================
7
-- File Name: charram2k.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 Web Edition
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 charram2k IS
43
        PORT
44
        (
45
                data            : IN STD_LOGIC_VECTOR (7 DOWNTO 0);
46
                rdaddress               : IN STD_LOGIC_VECTOR (10 DOWNTO 0);
47
                rdclock         : IN STD_LOGIC ;
48
                wraddress               : IN STD_LOGIC_VECTOR (10 DOWNTO 0);
49
                wrclock         : IN STD_LOGIC  := '1';
50
                wren            : IN STD_LOGIC  := '0';
51
                q               : OUT STD_LOGIC_VECTOR (7 DOWNTO 0)
52
        );
53
END charram2k;
54
 
55
 
56
ARCHITECTURE SYN OF charram2k IS
57
 
58
        SIGNAL sub_wire0        : STD_LOGIC_VECTOR (7 DOWNTO 0);
59
 
60
 
61
 
62
        COMPONENT altsyncram
63
        GENERIC (
64
                address_reg_b           : STRING;
65
                clock_enable_input_a            : STRING;
66
                clock_enable_input_b            : STRING;
67
                clock_enable_output_a           : STRING;
68
                clock_enable_output_b           : STRING;
69
                init_file               : STRING;
70
                intended_device_family          : STRING;
71
                lpm_type                : STRING;
72
                numwords_a              : NATURAL;
73
                numwords_b              : NATURAL;
74
                operation_mode          : STRING;
75
                outdata_aclr_b          : STRING;
76
                outdata_reg_b           : STRING;
77
                power_up_uninitialized          : STRING;
78
                widthad_a               : NATURAL;
79
                widthad_b               : NATURAL;
80
                width_a         : NATURAL;
81
                width_b         : NATURAL;
82
                width_byteena_a         : NATURAL
83
        );
84
        PORT (
85
                        wren_a  : IN STD_LOGIC ;
86
                        clock0  : IN STD_LOGIC ;
87
                        clock1  : IN STD_LOGIC ;
88
                        address_a       : IN STD_LOGIC_VECTOR (10 DOWNTO 0);
89
                        address_b       : IN STD_LOGIC_VECTOR (10 DOWNTO 0);
90
                        q_b     : OUT STD_LOGIC_VECTOR (7 DOWNTO 0);
91
                        data_a  : IN STD_LOGIC_VECTOR (7 DOWNTO 0)
92
        );
93
        END COMPONENT;
94
 
95
BEGIN
96
        q    <= sub_wire0(7 DOWNTO 0);
97
 
98
        altsyncram_component : altsyncram
99
        GENERIC MAP (
100
                address_reg_b => "CLOCK1",
101
                clock_enable_input_a => "BYPASS",
102
                clock_enable_input_b => "BYPASS",
103
                clock_enable_output_a => "BYPASS",
104
                clock_enable_output_b => "BYPASS",
105
                init_file => "./ROMdata/lat9-08.mif",
106
                intended_device_family => "Cyclone II",
107
                lpm_type => "altsyncram",
108
                numwords_a => 2048,
109
                numwords_b => 2048,
110
                operation_mode => "DUAL_PORT",
111
                outdata_aclr_b => "NONE",
112
                outdata_reg_b => "UNREGISTERED",
113
                power_up_uninitialized => "FALSE",
114
                widthad_a => 11,
115
                widthad_b => 11,
116
                width_a => 8,
117
                width_b => 8,
118
                width_byteena_a => 1
119
        )
120
        PORT MAP (
121
                wren_a => wren,
122
                clock0 => wrclock,
123
                clock1 => rdclock,
124
                address_a => wraddress,
125
                address_b => rdaddress,
126
                data_a => data,
127
                q_b => sub_wire0
128
        );
129
 
130
 
131
 
132
END SYN;
133
 
134
-- ============================================================
135
-- CNX file retrieval info
136
-- ============================================================
137
-- Retrieval info: PRIVATE: ADDRESSSTALL_A NUMERIC "0"
138
-- Retrieval info: PRIVATE: ADDRESSSTALL_B NUMERIC "0"
139
-- Retrieval info: PRIVATE: BYTEENA_ACLR_A NUMERIC "0"
140
-- Retrieval info: PRIVATE: BYTEENA_ACLR_B NUMERIC "0"
141
-- Retrieval info: PRIVATE: BYTE_ENABLE_A NUMERIC "0"
142
-- Retrieval info: PRIVATE: BYTE_ENABLE_B NUMERIC "0"
143
-- Retrieval info: PRIVATE: BYTE_SIZE NUMERIC "8"
144
-- Retrieval info: PRIVATE: BlankMemory NUMERIC "0"
145
-- Retrieval info: PRIVATE: CLOCK_ENABLE_INPUT_A NUMERIC "0"
146
-- Retrieval info: PRIVATE: CLOCK_ENABLE_INPUT_B NUMERIC "0"
147
-- Retrieval info: PRIVATE: CLOCK_ENABLE_OUTPUT_A NUMERIC "0"
148
-- Retrieval info: PRIVATE: CLOCK_ENABLE_OUTPUT_B NUMERIC "0"
149
-- Retrieval info: PRIVATE: CLRdata NUMERIC "0"
150
-- Retrieval info: PRIVATE: CLRq NUMERIC "0"
151
-- Retrieval info: PRIVATE: CLRrdaddress NUMERIC "0"
152
-- Retrieval info: PRIVATE: CLRrren NUMERIC "0"
153
-- Retrieval info: PRIVATE: CLRwraddress NUMERIC "0"
154
-- Retrieval info: PRIVATE: CLRwren NUMERIC "0"
155
-- Retrieval info: PRIVATE: Clock NUMERIC "1"
156
-- Retrieval info: PRIVATE: Clock_A NUMERIC "0"
157
-- Retrieval info: PRIVATE: Clock_B NUMERIC "0"
158
-- Retrieval info: PRIVATE: ECC NUMERIC "0"
159
-- Retrieval info: PRIVATE: IMPLEMENT_IN_LES NUMERIC "0"
160
-- Retrieval info: PRIVATE: INDATA_ACLR_B NUMERIC "0"
161
-- Retrieval info: PRIVATE: INDATA_REG_B NUMERIC "0"
162
-- Retrieval info: PRIVATE: INIT_FILE_LAYOUT STRING "PORT_B"
163
-- Retrieval info: PRIVATE: INIT_TO_SIM_X NUMERIC "0"
164
-- Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Cyclone II"
165
-- Retrieval info: PRIVATE: JTAG_ENABLED NUMERIC "0"
166
-- Retrieval info: PRIVATE: JTAG_ID STRING "NONE"
167
-- Retrieval info: PRIVATE: MAXIMUM_DEPTH NUMERIC "0"
168
-- Retrieval info: PRIVATE: MEMSIZE NUMERIC "16384"
169
-- Retrieval info: PRIVATE: MEM_IN_BITS NUMERIC "0"
170
-- Retrieval info: PRIVATE: MIFfilename STRING "../rom/lat9-08.mif"
171
-- Retrieval info: PRIVATE: OPERATION_MODE NUMERIC "2"
172
-- Retrieval info: PRIVATE: OUTDATA_ACLR_B NUMERIC "0"
173
-- Retrieval info: PRIVATE: OUTDATA_REG_B NUMERIC "0"
174
-- Retrieval info: PRIVATE: RAM_BLOCK_TYPE NUMERIC "0"
175
-- Retrieval info: PRIVATE: READ_DURING_WRITE_MODE_MIXED_PORTS NUMERIC "2"
176
-- Retrieval info: PRIVATE: READ_DURING_WRITE_MODE_PORT_A NUMERIC "4"
177
-- Retrieval info: PRIVATE: READ_DURING_WRITE_MODE_PORT_B NUMERIC "4"
178
-- Retrieval info: PRIVATE: REGdata NUMERIC "1"
179
-- Retrieval info: PRIVATE: REGq NUMERIC "0"
180
-- Retrieval info: PRIVATE: REGrdaddress NUMERIC "1"
181
-- Retrieval info: PRIVATE: REGrren NUMERIC "1"
182
-- Retrieval info: PRIVATE: REGwraddress NUMERIC "1"
183
-- Retrieval info: PRIVATE: REGwren NUMERIC "1"
184
-- Retrieval info: PRIVATE: SYNTH_WRAPPER_GEN_POSTFIX STRING "0"
185
-- Retrieval info: PRIVATE: USE_DIFF_CLKEN NUMERIC "0"
186
-- Retrieval info: PRIVATE: UseDPRAM NUMERIC "1"
187
-- Retrieval info: PRIVATE: VarWidth NUMERIC "0"
188
-- Retrieval info: PRIVATE: WIDTH_READ_A NUMERIC "8"
189
-- Retrieval info: PRIVATE: WIDTH_READ_B NUMERIC "8"
190
-- Retrieval info: PRIVATE: WIDTH_WRITE_A NUMERIC "8"
191
-- Retrieval info: PRIVATE: WIDTH_WRITE_B NUMERIC "8"
192
-- Retrieval info: PRIVATE: WRADDR_ACLR_B NUMERIC "0"
193
-- Retrieval info: PRIVATE: WRADDR_REG_B NUMERIC "0"
194
-- Retrieval info: PRIVATE: WRCTRL_ACLR_B NUMERIC "0"
195
-- Retrieval info: PRIVATE: enable NUMERIC "0"
196
-- Retrieval info: PRIVATE: rden NUMERIC "0"
197
-- Retrieval info: CONSTANT: ADDRESS_REG_B STRING "CLOCK1"
198
-- Retrieval info: CONSTANT: CLOCK_ENABLE_INPUT_A STRING "BYPASS"
199
-- Retrieval info: CONSTANT: CLOCK_ENABLE_INPUT_B STRING "BYPASS"
200
-- Retrieval info: CONSTANT: CLOCK_ENABLE_OUTPUT_A STRING "BYPASS"
201
-- Retrieval info: CONSTANT: CLOCK_ENABLE_OUTPUT_B STRING "BYPASS"
202
-- Retrieval info: CONSTANT: INIT_FILE STRING "../rom/lat9-08.mif"
203
-- Retrieval info: CONSTANT: INTENDED_DEVICE_FAMILY STRING "Cyclone II"
204
-- Retrieval info: CONSTANT: LPM_TYPE STRING "altsyncram"
205
-- Retrieval info: CONSTANT: NUMWORDS_A NUMERIC "2048"
206
-- Retrieval info: CONSTANT: NUMWORDS_B NUMERIC "2048"
207
-- Retrieval info: CONSTANT: OPERATION_MODE STRING "DUAL_PORT"
208
-- Retrieval info: CONSTANT: OUTDATA_ACLR_B STRING "NONE"
209
-- Retrieval info: CONSTANT: OUTDATA_REG_B STRING "UNREGISTERED"
210
-- Retrieval info: CONSTANT: POWER_UP_UNINITIALIZED STRING "FALSE"
211
-- Retrieval info: CONSTANT: WIDTHAD_A NUMERIC "11"
212
-- Retrieval info: CONSTANT: WIDTHAD_B NUMERIC "11"
213
-- Retrieval info: CONSTANT: WIDTH_A NUMERIC "8"
214
-- Retrieval info: CONSTANT: WIDTH_B NUMERIC "8"
215
-- Retrieval info: CONSTANT: WIDTH_BYTEENA_A NUMERIC "1"
216
-- Retrieval info: USED_PORT: data 0 0 8 0 INPUT NODEFVAL data[7..0]
217
-- Retrieval info: USED_PORT: q 0 0 8 0 OUTPUT NODEFVAL q[7..0]
218
-- Retrieval info: USED_PORT: rdaddress 0 0 11 0 INPUT NODEFVAL rdaddress[10..0]
219
-- Retrieval info: USED_PORT: rdclock 0 0 0 0 INPUT NODEFVAL rdclock
220
-- Retrieval info: USED_PORT: wraddress 0 0 11 0 INPUT NODEFVAL wraddress[10..0]
221
-- Retrieval info: USED_PORT: wrclock 0 0 0 0 INPUT VCC wrclock
222
-- Retrieval info: USED_PORT: wren 0 0 0 0 INPUT GND wren
223
-- Retrieval info: CONNECT: @data_a 0 0 8 0 data 0 0 8 0
224
-- Retrieval info: CONNECT: @wren_a 0 0 0 0 wren 0 0 0 0
225
-- Retrieval info: CONNECT: q 0 0 8 0 @q_b 0 0 8 0
226
-- Retrieval info: CONNECT: @address_a 0 0 11 0 wraddress 0 0 11 0
227
-- Retrieval info: CONNECT: @address_b 0 0 11 0 rdaddress 0 0 11 0
228
-- Retrieval info: CONNECT: @clock0 0 0 0 0 wrclock 0 0 0 0
229
-- Retrieval info: CONNECT: @clock1 0 0 0 0 rdclock 0 0 0 0
230
-- Retrieval info: LIBRARY: altera_mf altera_mf.altera_mf_components.all
231
-- Retrieval info: GEN_FILE: TYPE_NORMAL charram2k.vhd TRUE
232
-- Retrieval info: GEN_FILE: TYPE_NORMAL charram2k.inc FALSE
233
-- Retrieval info: GEN_FILE: TYPE_NORMAL charram2k.cmp TRUE
234
-- Retrieval info: GEN_FILE: TYPE_NORMAL charram2k.bsf TRUE FALSE
235
-- Retrieval info: GEN_FILE: TYPE_NORMAL charram2k_inst.vhd TRUE
236
-- Retrieval info: GEN_FILE: TYPE_NORMAL charram2k_waveforms.html TRUE
237
-- Retrieval info: GEN_FILE: TYPE_NORMAL charram2k_wave*.jpg FALSE
238
-- 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.