1 |
221 |
olivier.gi |
// megafunction wizard: %RAM: 1-PORT%
|
2 |
|
|
// GENERATION: STANDARD
|
3 |
|
|
// VERSION: WM1.0
|
4 |
|
|
// MODULE: altsyncram
|
5 |
|
|
|
6 |
|
|
// ============================================================
|
7 |
|
|
// File Name: ram_16x16k.v
|
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 |
|
|
// 15.0.0 Build 145 04/22/2015 SJ Web Edition
|
18 |
|
|
// ************************************************************
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
//Copyright (C) 1991-2015 Altera Corporation. All rights reserved.
|
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, the Altera Quartus II License Agreement,
|
29 |
|
|
//the Altera MegaCore Function License Agreement, or other
|
30 |
|
|
//applicable license agreement, including, without limitation,
|
31 |
|
|
//that your use is for the sole purpose of programming logic
|
32 |
|
|
//devices manufactured by Altera and sold by Altera or its
|
33 |
|
|
//authorized distributors. Please refer to the applicable
|
34 |
|
|
//agreement for further details.
|
35 |
|
|
|
36 |
|
|
|
37 |
|
|
// synopsys translate_off
|
38 |
|
|
`timescale 1 ps / 1 ps
|
39 |
|
|
// synopsys translate_on
|
40 |
|
|
module ram_16x16k (
|
41 |
|
|
address,
|
42 |
|
|
byteena,
|
43 |
|
|
clken,
|
44 |
|
|
clock,
|
45 |
|
|
data,
|
46 |
|
|
wren,
|
47 |
|
|
q);
|
48 |
|
|
|
49 |
|
|
input [13:0] address;
|
50 |
|
|
input [1:0] byteena;
|
51 |
|
|
input clken;
|
52 |
|
|
input clock;
|
53 |
|
|
input [15:0] data;
|
54 |
|
|
input wren;
|
55 |
|
|
output [15:0] q;
|
56 |
|
|
`ifndef ALTERA_RESERVED_QIS
|
57 |
|
|
// synopsys translate_off
|
58 |
|
|
`endif
|
59 |
|
|
tri1 [1:0] byteena;
|
60 |
|
|
tri1 clken;
|
61 |
|
|
tri1 clock;
|
62 |
|
|
`ifndef ALTERA_RESERVED_QIS
|
63 |
|
|
// synopsys translate_on
|
64 |
|
|
`endif
|
65 |
|
|
|
66 |
|
|
wire [15:0] sub_wire0;
|
67 |
|
|
wire [15:0] q = sub_wire0[15:0];
|
68 |
|
|
|
69 |
|
|
altsyncram altsyncram_component (
|
70 |
|
|
.address_a (address),
|
71 |
|
|
.byteena_a (byteena),
|
72 |
|
|
.clock0 (clock),
|
73 |
|
|
.clocken0 (clken),
|
74 |
|
|
.data_a (data),
|
75 |
|
|
.wren_a (wren),
|
76 |
|
|
.q_a (sub_wire0),
|
77 |
|
|
.aclr0 (1'b0),
|
78 |
|
|
.aclr1 (1'b0),
|
79 |
|
|
.address_b (1'b1),
|
80 |
|
|
.addressstall_a (1'b0),
|
81 |
|
|
.addressstall_b (1'b0),
|
82 |
|
|
.byteena_b (1'b1),
|
83 |
|
|
.clock1 (1'b1),
|
84 |
|
|
.clocken1 (1'b1),
|
85 |
|
|
.clocken2 (1'b1),
|
86 |
|
|
.clocken3 (1'b1),
|
87 |
|
|
.data_b (1'b1),
|
88 |
|
|
.eccstatus (),
|
89 |
|
|
.q_b (),
|
90 |
|
|
.rden_a (1'b1),
|
91 |
|
|
.rden_b (1'b1),
|
92 |
|
|
.wren_b (1'b0));
|
93 |
|
|
defparam
|
94 |
|
|
altsyncram_component.byte_size = 8,
|
95 |
|
|
altsyncram_component.clock_enable_input_a = "NORMAL",
|
96 |
|
|
altsyncram_component.clock_enable_output_a = "BYPASS",
|
97 |
|
|
altsyncram_component.init_file = "pmem.mif",
|
98 |
|
|
altsyncram_component.intended_device_family = "Cyclone V",
|
99 |
|
|
altsyncram_component.lpm_hint = "ENABLE_RUNTIME_MOD=NO",
|
100 |
|
|
altsyncram_component.lpm_type = "altsyncram",
|
101 |
|
|
altsyncram_component.numwords_a = 16384,
|
102 |
|
|
altsyncram_component.operation_mode = "SINGLE_PORT",
|
103 |
|
|
altsyncram_component.outdata_aclr_a = "NONE",
|
104 |
|
|
altsyncram_component.outdata_reg_a = "UNREGISTERED",
|
105 |
|
|
altsyncram_component.power_up_uninitialized = "FALSE",
|
106 |
|
|
altsyncram_component.read_during_write_mode_port_a = "NEW_DATA_NO_NBE_READ",
|
107 |
|
|
altsyncram_component.widthad_a = 14,
|
108 |
|
|
altsyncram_component.width_a = 16,
|
109 |
|
|
altsyncram_component.width_byteena_a = 2;
|
110 |
|
|
|
111 |
|
|
|
112 |
|
|
endmodule
|
113 |
|
|
|
114 |
|
|
// ============================================================
|
115 |
|
|
// CNX file retrieval info
|
116 |
|
|
// ============================================================
|
117 |
|
|
// Retrieval info: PRIVATE: ADDRESSSTALL_A NUMERIC "0"
|
118 |
|
|
// Retrieval info: PRIVATE: AclrAddr NUMERIC "0"
|
119 |
|
|
// Retrieval info: PRIVATE: AclrByte NUMERIC "0"
|
120 |
|
|
// Retrieval info: PRIVATE: AclrData NUMERIC "0"
|
121 |
|
|
// Retrieval info: PRIVATE: AclrOutput NUMERIC "0"
|
122 |
|
|
// Retrieval info: PRIVATE: BYTE_ENABLE NUMERIC "1"
|
123 |
|
|
// Retrieval info: PRIVATE: BYTE_SIZE NUMERIC "8"
|
124 |
|
|
// Retrieval info: PRIVATE: BlankMemory NUMERIC "0"
|
125 |
|
|
// Retrieval info: PRIVATE: CLOCK_ENABLE_INPUT_A NUMERIC "1"
|
126 |
|
|
// Retrieval info: PRIVATE: CLOCK_ENABLE_OUTPUT_A NUMERIC "0"
|
127 |
|
|
// Retrieval info: PRIVATE: Clken NUMERIC "1"
|
128 |
|
|
// Retrieval info: PRIVATE: DataBusSeparated NUMERIC "1"
|
129 |
|
|
// Retrieval info: PRIVATE: IMPLEMENT_IN_LES NUMERIC "0"
|
130 |
|
|
// Retrieval info: PRIVATE: INIT_FILE_LAYOUT STRING "PORT_A"
|
131 |
|
|
// Retrieval info: PRIVATE: INIT_TO_SIM_X NUMERIC "0"
|
132 |
|
|
// Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Cyclone V"
|
133 |
|
|
// Retrieval info: PRIVATE: JTAG_ENABLED NUMERIC "0"
|
134 |
|
|
// Retrieval info: PRIVATE: JTAG_ID STRING "NONE"
|
135 |
|
|
// Retrieval info: PRIVATE: MAXIMUM_DEPTH NUMERIC "0"
|
136 |
|
|
// Retrieval info: PRIVATE: MIFfilename STRING "pmem.ihex"
|
137 |
|
|
// Retrieval info: PRIVATE: NUMWORDS_A NUMERIC "16384"
|
138 |
|
|
// Retrieval info: PRIVATE: RAM_BLOCK_TYPE NUMERIC "0"
|
139 |
|
|
// Retrieval info: PRIVATE: READ_DURING_WRITE_MODE_PORT_A NUMERIC "3"
|
140 |
|
|
// Retrieval info: PRIVATE: RegAddr NUMERIC "1"
|
141 |
|
|
// Retrieval info: PRIVATE: RegData NUMERIC "1"
|
142 |
|
|
// Retrieval info: PRIVATE: RegOutput NUMERIC "0"
|
143 |
|
|
// Retrieval info: PRIVATE: SYNTH_WRAPPER_GEN_POSTFIX STRING "0"
|
144 |
|
|
// Retrieval info: PRIVATE: SingleClock NUMERIC "1"
|
145 |
|
|
// Retrieval info: PRIVATE: UseDQRAM NUMERIC "1"
|
146 |
|
|
// Retrieval info: PRIVATE: WRCONTROL_ACLR_A NUMERIC "0"
|
147 |
|
|
// Retrieval info: PRIVATE: WidthAddr NUMERIC "14"
|
148 |
|
|
// Retrieval info: PRIVATE: WidthData NUMERIC "16"
|
149 |
|
|
// Retrieval info: PRIVATE: rden NUMERIC "0"
|
150 |
|
|
// Retrieval info: LIBRARY: altera_mf altera_mf.altera_mf_components.all
|
151 |
|
|
// Retrieval info: CONSTANT: BYTE_SIZE NUMERIC "8"
|
152 |
|
|
// Retrieval info: CONSTANT: CLOCK_ENABLE_INPUT_A STRING "NORMAL"
|
153 |
|
|
// Retrieval info: CONSTANT: CLOCK_ENABLE_OUTPUT_A STRING "BYPASS"
|
154 |
|
|
// Retrieval info: CONSTANT: INIT_FILE STRING "pmem.ihex"
|
155 |
|
|
// Retrieval info: CONSTANT: INTENDED_DEVICE_FAMILY STRING "Cyclone V"
|
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 "16384"
|
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_PORT_A STRING "NEW_DATA_NO_NBE_READ"
|
164 |
|
|
// Retrieval info: CONSTANT: WIDTHAD_A NUMERIC "14"
|
165 |
|
|
// Retrieval info: CONSTANT: WIDTH_A NUMERIC "16"
|
166 |
|
|
// Retrieval info: CONSTANT: WIDTH_BYTEENA_A NUMERIC "2"
|
167 |
|
|
// Retrieval info: USED_PORT: address 0 0 14 0 INPUT NODEFVAL "address[13..0]"
|
168 |
|
|
// Retrieval info: USED_PORT: byteena 0 0 2 0 INPUT VCC "byteena[1..0]"
|
169 |
|
|
// Retrieval info: USED_PORT: clken 0 0 0 0 INPUT VCC "clken"
|
170 |
|
|
// Retrieval info: USED_PORT: clock 0 0 0 0 INPUT VCC "clock"
|
171 |
|
|
// Retrieval info: USED_PORT: data 0 0 16 0 INPUT NODEFVAL "data[15..0]"
|
172 |
|
|
// Retrieval info: USED_PORT: q 0 0 16 0 OUTPUT NODEFVAL "q[15..0]"
|
173 |
|
|
// Retrieval info: USED_PORT: wren 0 0 0 0 INPUT NODEFVAL "wren"
|
174 |
|
|
// Retrieval info: CONNECT: @address_a 0 0 14 0 address 0 0 14 0
|
175 |
|
|
// Retrieval info: CONNECT: @byteena_a 0 0 2 0 byteena 0 0 2 0
|
176 |
|
|
// Retrieval info: CONNECT: @clock0 0 0 0 0 clock 0 0 0 0
|
177 |
|
|
// Retrieval info: CONNECT: @clocken0 0 0 0 0 clken 0 0 0 0
|
178 |
|
|
// Retrieval info: CONNECT: @data_a 0 0 16 0 data 0 0 16 0
|
179 |
|
|
// Retrieval info: CONNECT: @wren_a 0 0 0 0 wren 0 0 0 0
|
180 |
|
|
// Retrieval info: CONNECT: q 0 0 16 0 @q_a 0 0 16 0
|
181 |
|
|
// Retrieval info: GEN_FILE: TYPE_NORMAL ram_16x16k.v TRUE
|
182 |
|
|
// Retrieval info: GEN_FILE: TYPE_NORMAL ram_16x16k.inc FALSE
|
183 |
|
|
// Retrieval info: GEN_FILE: TYPE_NORMAL ram_16x16k.cmp FALSE
|
184 |
|
|
// Retrieval info: GEN_FILE: TYPE_NORMAL ram_16x16k.bsf FALSE
|
185 |
|
|
// Retrieval info: GEN_FILE: TYPE_NORMAL ram_16x16k_inst.v FALSE
|
186 |
|
|
// Retrieval info: GEN_FILE: TYPE_NORMAL ram_16x16k_bb.v FALSE
|
187 |
|
|
// Retrieval info: LIB_FILE: altera_mf
|