1 |
2 |
joff |
// megafunction wizard: %ALTSYNCRAM%
|
2 |
|
|
// GENERATION: STANDARD
|
3 |
|
|
// VERSION: WM1.0
|
4 |
|
|
// MODULE: altsyncram
|
5 |
|
|
|
6 |
|
|
// ============================================================
|
7 |
|
|
// File Name: altera_spram_256x32.v
|
8 |
|
|
// Megafunction Name(s):
|
9 |
|
|
// altsyncram
|
10 |
|
|
// ============================================================
|
11 |
|
|
// ************************************************************
|
12 |
|
|
// THIS IS A WIZARD-GENERATED FILE. DO NOT EDIT THIS FILE!
|
13 |
|
|
//
|
14 |
|
|
// 5.1 Build 216 03/06/2006 SP 2 SJ Web Edition
|
15 |
|
|
// ************************************************************
|
16 |
|
|
|
17 |
|
|
|
18 |
|
|
//Copyright (C) 1991-2006 Altera Corporation
|
19 |
|
|
//Your use of Altera Corporation's design tools, logic functions
|
20 |
|
|
//and other software and tools, and its AMPP partner logic
|
21 |
|
|
//functions, and any output files any of the foregoing
|
22 |
|
|
//(including device programming or simulation files), and any
|
23 |
|
|
//associated documentation or information are expressly subject
|
24 |
|
|
//to the terms and conditions of the Altera Program License
|
25 |
|
|
//Subscription Agreement, Altera MegaCore Function License
|
26 |
|
|
//Agreement, or other applicable license agreement, including,
|
27 |
|
|
//without limitation, that your use is for the sole purpose of
|
28 |
|
|
//programming logic devices manufactured by Altera and sold by
|
29 |
|
|
//Altera or its authorized distributors. Please refer to the
|
30 |
|
|
//applicable agreement for further details.
|
31 |
|
|
|
32 |
|
|
|
33 |
|
|
// synopsys translate_off
|
34 |
|
|
`timescale 1 ps / 1 ps
|
35 |
|
|
// synopsys translate_on
|
36 |
|
|
module altera_spram_256x32 (
|
37 |
|
|
address,
|
38 |
|
|
byteena_a,
|
39 |
|
|
clock,
|
40 |
|
|
data,
|
41 |
|
|
wren,
|
42 |
|
|
q);
|
43 |
|
|
|
44 |
|
|
input [7:0] address;
|
45 |
|
|
input [3:0] byteena_a;
|
46 |
|
|
input clock;
|
47 |
|
|
input [31:0] data;
|
48 |
|
|
input wren;
|
49 |
|
|
output [31:0] q;
|
50 |
|
|
|
51 |
|
|
wire [31:0] sub_wire0;
|
52 |
|
|
wire [31:0] q = sub_wire0[31:0];
|
53 |
|
|
|
54 |
|
|
altsyncram altsyncram_component (
|
55 |
|
|
.wren_a (wren),
|
56 |
|
|
.clock0 (clock),
|
57 |
|
|
.byteena_a (byteena_a),
|
58 |
|
|
.address_a (address),
|
59 |
|
|
.data_a (data),
|
60 |
|
|
.q_a (sub_wire0),
|
61 |
|
|
.aclr0 (1'b0),
|
62 |
|
|
.aclr1 (1'b0),
|
63 |
|
|
.q_b (),
|
64 |
|
|
.clocken1 (1'b1),
|
65 |
|
|
.clocken0 (1'b1),
|
66 |
|
|
.data_b (1'b1),
|
67 |
|
|
.rden_b (1'b1),
|
68 |
|
|
.address_b (1'b1),
|
69 |
|
|
.wren_b (1'b0),
|
70 |
|
|
.byteena_b (1'b1),
|
71 |
|
|
.addressstall_a (1'b0),
|
72 |
|
|
.addressstall_b (1'b0),
|
73 |
|
|
.clock1 (1'b1));
|
74 |
|
|
defparam
|
75 |
|
|
altsyncram_component.byte_size = 8,
|
76 |
|
|
altsyncram_component.clock_enable_input_a = "BYPASS",
|
77 |
|
|
altsyncram_component.clock_enable_output_a = "BYPASS",
|
78 |
|
|
altsyncram_component.intended_device_family = "Cyclone II",
|
79 |
|
|
altsyncram_component.lpm_hint = "ENABLE_RUNTIME_MOD=NO",
|
80 |
|
|
altsyncram_component.lpm_type = "altsyncram",
|
81 |
|
|
altsyncram_component.numwords_a = 256,
|
82 |
|
|
altsyncram_component.operation_mode = "SINGLE_PORT",
|
83 |
|
|
altsyncram_component.outdata_aclr_a = "NONE",
|
84 |
|
|
altsyncram_component.outdata_reg_a = "UNREGISTERED",
|
85 |
|
|
altsyncram_component.power_up_uninitialized = "FALSE",
|
86 |
|
|
altsyncram_component.read_during_write_mode_mixed_ports = "DONT_CARE",
|
87 |
|
|
altsyncram_component.widthad_a = 8,
|
88 |
|
|
altsyncram_component.width_a = 32,
|
89 |
|
|
altsyncram_component.width_byteena_a = 4;
|
90 |
|
|
|
91 |
|
|
|
92 |
|
|
endmodule
|
93 |
|
|
|
94 |
|
|
// ============================================================
|
95 |
|
|
// CNX file retrieval info
|
96 |
|
|
// ============================================================
|
97 |
|
|
// Retrieval info: PRIVATE: ADDRESSSTALL_A NUMERIC "0"
|
98 |
|
|
// Retrieval info: PRIVATE: ADDRESSSTALL_B NUMERIC "0"
|
99 |
|
|
// Retrieval info: PRIVATE: BYTEENA_ACLR_A NUMERIC "0"
|
100 |
|
|
// Retrieval info: PRIVATE: BYTEENA_ACLR_B NUMERIC "0"
|
101 |
|
|
// Retrieval info: PRIVATE: BYTE_ENABLE_A NUMERIC "1"
|
102 |
|
|
// Retrieval info: PRIVATE: BYTE_ENABLE_B NUMERIC "0"
|
103 |
|
|
// Retrieval info: PRIVATE: BYTE_SIZE NUMERIC "8"
|
104 |
|
|
// Retrieval info: PRIVATE: BlankMemory NUMERIC "1"
|
105 |
|
|
// Retrieval info: PRIVATE: CLOCK_ENABLE_INPUT_A NUMERIC "0"
|
106 |
|
|
// Retrieval info: PRIVATE: CLOCK_ENABLE_INPUT_B NUMERIC "0"
|
107 |
|
|
// Retrieval info: PRIVATE: CLOCK_ENABLE_OUTPUT_A NUMERIC "0"
|
108 |
|
|
// Retrieval info: PRIVATE: CLOCK_ENABLE_OUTPUT_B NUMERIC "0"
|
109 |
|
|
// Retrieval info: PRIVATE: CLRdata NUMERIC "0"
|
110 |
|
|
// Retrieval info: PRIVATE: CLRq NUMERIC "0"
|
111 |
|
|
// Retrieval info: PRIVATE: CLRrdaddress NUMERIC "0"
|
112 |
|
|
// Retrieval info: PRIVATE: CLRrren NUMERIC "0"
|
113 |
|
|
// Retrieval info: PRIVATE: CLRwraddress NUMERIC "0"
|
114 |
|
|
// Retrieval info: PRIVATE: CLRwren NUMERIC "0"
|
115 |
|
|
// Retrieval info: PRIVATE: Clock NUMERIC "0"
|
116 |
|
|
// Retrieval info: PRIVATE: Clock_A NUMERIC "0"
|
117 |
|
|
// Retrieval info: PRIVATE: Clock_B NUMERIC "0"
|
118 |
|
|
// Retrieval info: PRIVATE: IMPLEMENT_IN_LES NUMERIC "0"
|
119 |
|
|
// Retrieval info: PRIVATE: INDATA_ACLR_B NUMERIC "0"
|
120 |
|
|
// Retrieval info: PRIVATE: INDATA_REG_B NUMERIC "0"
|
121 |
|
|
// Retrieval info: PRIVATE: INIT_FILE_LAYOUT STRING "PORT_A"
|
122 |
|
|
// Retrieval info: PRIVATE: INIT_TO_SIM_X NUMERIC "0"
|
123 |
|
|
// Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Cyclone II"
|
124 |
|
|
// Retrieval info: PRIVATE: JTAG_ENABLED NUMERIC "0"
|
125 |
|
|
// Retrieval info: PRIVATE: JTAG_ID STRING "NONE"
|
126 |
|
|
// Retrieval info: PRIVATE: MAXIMUM_DEPTH NUMERIC "0"
|
127 |
|
|
// Retrieval info: PRIVATE: MEMSIZE NUMERIC "8192"
|
128 |
|
|
// Retrieval info: PRIVATE: MEM_IN_BITS NUMERIC "0"
|
129 |
|
|
// Retrieval info: PRIVATE: MIFfilename STRING ""
|
130 |
|
|
// Retrieval info: PRIVATE: OPERATION_MODE NUMERIC "1"
|
131 |
|
|
// Retrieval info: PRIVATE: OUTDATA_ACLR_B NUMERIC "0"
|
132 |
|
|
// Retrieval info: PRIVATE: OUTDATA_REG_B NUMERIC "1"
|
133 |
|
|
// Retrieval info: PRIVATE: RAM_BLOCK_TYPE NUMERIC "0"
|
134 |
|
|
// Retrieval info: PRIVATE: READ_DURING_WRITE_MODE_MIXED_PORTS NUMERIC "2"
|
135 |
|
|
// Retrieval info: PRIVATE: REGdata NUMERIC "1"
|
136 |
|
|
// Retrieval info: PRIVATE: REGq NUMERIC "0"
|
137 |
|
|
// Retrieval info: PRIVATE: REGrdaddress NUMERIC "1"
|
138 |
|
|
// Retrieval info: PRIVATE: REGrren NUMERIC "1"
|
139 |
|
|
// Retrieval info: PRIVATE: REGwraddress NUMERIC "1"
|
140 |
|
|
// Retrieval info: PRIVATE: REGwren NUMERIC "1"
|
141 |
|
|
// Retrieval info: PRIVATE: UseDPRAM NUMERIC "1"
|
142 |
|
|
// Retrieval info: PRIVATE: VarWidth NUMERIC "0"
|
143 |
|
|
// Retrieval info: PRIVATE: WIDTH_READ_A NUMERIC "32"
|
144 |
|
|
// Retrieval info: PRIVATE: WIDTH_READ_B NUMERIC "32"
|
145 |
|
|
// Retrieval info: PRIVATE: WIDTH_WRITE_A NUMERIC "32"
|
146 |
|
|
// Retrieval info: PRIVATE: WIDTH_WRITE_B NUMERIC "32"
|
147 |
|
|
// Retrieval info: PRIVATE: WRADDR_ACLR_B NUMERIC "0"
|
148 |
|
|
// Retrieval info: PRIVATE: WRADDR_REG_B NUMERIC "0"
|
149 |
|
|
// Retrieval info: PRIVATE: WRCTRL_ACLR_B NUMERIC "0"
|
150 |
|
|
// Retrieval info: PRIVATE: enable NUMERIC "0"
|
151 |
|
|
// Retrieval info: PRIVATE: rden NUMERIC "0"
|
152 |
|
|
// Retrieval info: CONSTANT: BYTE_SIZE NUMERIC "8"
|
153 |
|
|
// Retrieval info: CONSTANT: CLOCK_ENABLE_INPUT_A STRING "BYPASS"
|
154 |
|
|
// Retrieval info: CONSTANT: CLOCK_ENABLE_OUTPUT_A STRING "BYPASS"
|
155 |
|
|
// Retrieval info: CONSTANT: INTENDED_DEVICE_FAMILY STRING "Cyclone II"
|
156 |
|
|
// Retrieval info: CONSTANT: LPM_HINT STRING "ENABLE_RUNTIME_MOD=NO"
|
157 |
|
|
// Retrieval info: CONSTANT: LPM_TYPE STRING "altsyncram"
|
158 |
|
|
// Retrieval info: CONSTANT: NUMWORDS_A NUMERIC "256"
|
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 "UNREGISTERED"
|
162 |
|
|
// Retrieval info: CONSTANT: POWER_UP_UNINITIALIZED STRING "FALSE"
|
163 |
|
|
// Retrieval info: CONSTANT: READ_DURING_WRITE_MODE_MIXED_PORTS STRING "DONT_CARE"
|
164 |
|
|
// Retrieval info: CONSTANT: WIDTHAD_A NUMERIC "8"
|
165 |
|
|
// Retrieval info: CONSTANT: WIDTH_A NUMERIC "32"
|
166 |
|
|
// Retrieval info: CONSTANT: WIDTH_BYTEENA_A NUMERIC "4"
|
167 |
|
|
// Retrieval info: USED_PORT: address 0 0 8 0 INPUT NODEFVAL address[7..0]
|
168 |
|
|
// Retrieval info: USED_PORT: byteena_a 0 0 4 0 INPUT VCC byteena_a[3..0]
|
169 |
|
|
// Retrieval info: USED_PORT: clock 0 0 0 0 INPUT NODEFVAL clock
|
170 |
|
|
// Retrieval info: USED_PORT: data 0 0 32 0 INPUT NODEFVAL data[31..0]
|
171 |
|
|
// Retrieval info: USED_PORT: q 0 0 32 0 OUTPUT NODEFVAL q[31..0]
|
172 |
|
|
// Retrieval info: USED_PORT: wren 0 0 0 0 INPUT VCC wren
|
173 |
|
|
// Retrieval info: CONNECT: @data_a 0 0 32 0 data 0 0 32 0
|
174 |
|
|
// Retrieval info: CONNECT: @wren_a 0 0 0 0 wren 0 0 0 0
|
175 |
|
|
// Retrieval info: CONNECT: q 0 0 32 0 @q_a 0 0 32 0
|
176 |
|
|
// Retrieval info: CONNECT: @address_a 0 0 8 0 address 0 0 8 0
|
177 |
|
|
// Retrieval info: CONNECT: @byteena_a 0 0 4 0 byteena_a 0 0 4 0
|
178 |
|
|
// Retrieval info: CONNECT: @clock0 0 0 0 0 clock 0 0 0 0
|
179 |
|
|
// Retrieval info: LIBRARY: altera_mf altera_mf.altera_mf_components.all
|
180 |
|
|
// Retrieval info: GEN_FILE: TYPE_NORMAL altera_spram_256x32.v TRUE
|
181 |
|
|
// Retrieval info: GEN_FILE: TYPE_NORMAL altera_spram_256x32.inc FALSE
|
182 |
|
|
// Retrieval info: GEN_FILE: TYPE_NORMAL altera_spram_256x32.cmp FALSE
|
183 |
|
|
// Retrieval info: GEN_FILE: TYPE_NORMAL altera_spram_256x32.bsf TRUE FALSE
|
184 |
|
|
// Retrieval info: GEN_FILE: TYPE_NORMAL altera_spram_256x32_inst.v FALSE
|
185 |
|
|
// Retrieval info: GEN_FILE: TYPE_NORMAL altera_spram_256x32_bb.v TRUE
|