1 |
63 |
olivier.gi |
// megafunction wizard: %RAM: 1-PORT%
|
2 |
|
|
// GENERATION: STANDARD
|
3 |
|
|
// VERSION: WM1.0
|
4 |
|
|
// MODULE: altsyncram
|
5 |
|
|
|
6 |
|
|
// ============================================================
|
7 |
|
|
// File Name: arria2gx_dmem.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 |
|
|
// 9.0 Build 235 06/17/2009 SP 2 SJ Web Edition
|
18 |
|
|
// ************************************************************
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
//Copyright (C) 1991-2009 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 |
|
|
// synopsys translate_off
|
37 |
|
|
`timescale 1 ps / 1 ps
|
38 |
|
|
// synopsys translate_on
|
39 |
|
|
module arria2gx_dmem (
|
40 |
|
|
address,
|
41 |
|
|
byteena,
|
42 |
|
|
clken,
|
43 |
|
|
clock,
|
44 |
|
|
data,
|
45 |
|
|
wren,
|
46 |
|
|
q);
|
47 |
|
|
|
48 |
|
|
input [9:0] address;
|
49 |
|
|
input [1:0] byteena;
|
50 |
|
|
input clken;
|
51 |
|
|
input clock;
|
52 |
|
|
input [15:0] data;
|
53 |
|
|
input wren;
|
54 |
|
|
output [15:0] q;
|
55 |
|
|
`ifndef ALTERA_RESERVED_QIS
|
56 |
|
|
// synopsys translate_off
|
57 |
|
|
`endif
|
58 |
|
|
tri1 [1:0] byteena;
|
59 |
|
|
tri1 clken;
|
60 |
|
|
tri1 clock;
|
61 |
|
|
`ifndef ALTERA_RESERVED_QIS
|
62 |
|
|
// synopsys translate_on
|
63 |
|
|
`endif
|
64 |
|
|
|
65 |
|
|
wire [15:0] sub_wire0;
|
66 |
|
|
wire [15:0] q = sub_wire0[15:0];
|
67 |
|
|
|
68 |
|
|
altsyncram altsyncram_component (
|
69 |
|
|
.clocken0 (clken),
|
70 |
|
|
.wren_a (wren),
|
71 |
|
|
.clock0 (clock),
|
72 |
|
|
.byteena_a (byteena),
|
73 |
|
|
.address_a (address),
|
74 |
|
|
.data_a (data),
|
75 |
|
|
.q_a (sub_wire0),
|
76 |
|
|
.aclr0 (1'b0),
|
77 |
|
|
.aclr1 (1'b0),
|
78 |
|
|
.address_b (1'b1),
|
79 |
|
|
.addressstall_a (1'b0),
|
80 |
|
|
.addressstall_b (1'b0),
|
81 |
|
|
.byteena_b (1'b1),
|
82 |
|
|
.clock1 (1'b1),
|
83 |
|
|
.clocken1 (1'b1),
|
84 |
|
|
.clocken2 (1'b1),
|
85 |
|
|
.clocken3 (1'b1),
|
86 |
|
|
.data_b (1'b1),
|
87 |
|
|
.eccstatus (),
|
88 |
|
|
.q_b (),
|
89 |
|
|
.rden_a (1'b1),
|
90 |
|
|
.rden_b (1'b1),
|
91 |
|
|
.wren_b (1'b0));
|
92 |
|
|
defparam
|
93 |
|
|
altsyncram_component.byte_size = 8,
|
94 |
|
|
altsyncram_component.clock_enable_input_a = "NORMAL",
|
95 |
|
|
altsyncram_component.clock_enable_output_a = "BYPASS",
|
96 |
|
|
altsyncram_component.intended_device_family = "Arria II GX",
|
97 |
|
|
altsyncram_component.lpm_hint = "ENABLE_RUNTIME_MOD=NO",
|
98 |
|
|
altsyncram_component.lpm_type = "altsyncram",
|
99 |
|
|
altsyncram_component.numwords_a = 1024,
|
100 |
|
|
altsyncram_component.operation_mode = "SINGLE_PORT",
|
101 |
|
|
altsyncram_component.outdata_aclr_a = "NONE",
|
102 |
|
|
altsyncram_component.outdata_reg_a = "UNREGISTERED",
|
103 |
|
|
altsyncram_component.power_up_uninitialized = "FALSE",
|
104 |
|
|
altsyncram_component.read_during_write_mode_port_a = "NEW_DATA_NO_NBE_READ",
|
105 |
|
|
altsyncram_component.widthad_a = 10,
|
106 |
|
|
altsyncram_component.width_a = 16,
|
107 |
|
|
altsyncram_component.width_byteena_a = 2;
|
108 |
|
|
|
109 |
|
|
|
110 |
|
|
endmodule
|
111 |
|
|
|
112 |
|
|
// ============================================================
|
113 |
|
|
// CNX file retrieval info
|
114 |
|
|
// ============================================================
|
115 |
|
|
// Retrieval info: PRIVATE: ADDRESSSTALL_A NUMERIC "0"
|
116 |
|
|
// Retrieval info: PRIVATE: AclrAddr NUMERIC "0"
|
117 |
|
|
// Retrieval info: PRIVATE: AclrByte NUMERIC "0"
|
118 |
|
|
// Retrieval info: PRIVATE: AclrData NUMERIC "0"
|
119 |
|
|
// Retrieval info: PRIVATE: AclrOutput NUMERIC "0"
|
120 |
|
|
// Retrieval info: PRIVATE: BYTE_ENABLE NUMERIC "1"
|
121 |
|
|
// Retrieval info: PRIVATE: BYTE_SIZE NUMERIC "8"
|
122 |
|
|
// Retrieval info: PRIVATE: BlankMemory NUMERIC "1"
|
123 |
|
|
// Retrieval info: PRIVATE: CLOCK_ENABLE_INPUT_A NUMERIC "1"
|
124 |
|
|
// Retrieval info: PRIVATE: CLOCK_ENABLE_OUTPUT_A NUMERIC "0"
|
125 |
|
|
// Retrieval info: PRIVATE: Clken NUMERIC "1"
|
126 |
|
|
// Retrieval info: PRIVATE: DataBusSeparated NUMERIC "1"
|
127 |
|
|
// Retrieval info: PRIVATE: IMPLEMENT_IN_LES NUMERIC "0"
|
128 |
|
|
// Retrieval info: PRIVATE: INIT_FILE_LAYOUT STRING "PORT_A"
|
129 |
|
|
// Retrieval info: PRIVATE: INIT_TO_SIM_X NUMERIC "0"
|
130 |
|
|
// Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Arria II GX"
|
131 |
|
|
// Retrieval info: PRIVATE: JTAG_ENABLED NUMERIC "0"
|
132 |
|
|
// Retrieval info: PRIVATE: JTAG_ID STRING "NONE"
|
133 |
|
|
// Retrieval info: PRIVATE: MAXIMUM_DEPTH NUMERIC "0"
|
134 |
|
|
// Retrieval info: PRIVATE: MIFfilename STRING ""
|
135 |
|
|
// Retrieval info: PRIVATE: NUMWORDS_A NUMERIC "1024"
|
136 |
|
|
// Retrieval info: PRIVATE: RAM_BLOCK_TYPE NUMERIC "0"
|
137 |
|
|
// Retrieval info: PRIVATE: READ_DURING_WRITE_MODE_PORT_A NUMERIC "3"
|
138 |
|
|
// Retrieval info: PRIVATE: RegAddr NUMERIC "1"
|
139 |
|
|
// Retrieval info: PRIVATE: RegData NUMERIC "1"
|
140 |
|
|
// Retrieval info: PRIVATE: RegOutput NUMERIC "0"
|
141 |
|
|
// Retrieval info: PRIVATE: SYNTH_WRAPPER_GEN_POSTFIX STRING "0"
|
142 |
|
|
// Retrieval info: PRIVATE: SingleClock NUMERIC "1"
|
143 |
|
|
// Retrieval info: PRIVATE: UseDQRAM NUMERIC "1"
|
144 |
|
|
// Retrieval info: PRIVATE: WRCONTROL_ACLR_A NUMERIC "0"
|
145 |
|
|
// Retrieval info: PRIVATE: WidthAddr NUMERIC "10"
|
146 |
|
|
// Retrieval info: PRIVATE: WidthData NUMERIC "16"
|
147 |
|
|
// Retrieval info: PRIVATE: rden NUMERIC "0"
|
148 |
|
|
// Retrieval info: CONSTANT: BYTE_SIZE NUMERIC "8"
|
149 |
|
|
// Retrieval info: CONSTANT: CLOCK_ENABLE_INPUT_A STRING "NORMAL"
|
150 |
|
|
// Retrieval info: CONSTANT: CLOCK_ENABLE_OUTPUT_A STRING "BYPASS"
|
151 |
|
|
// Retrieval info: CONSTANT: INTENDED_DEVICE_FAMILY STRING "Arria II GX"
|
152 |
|
|
// Retrieval info: CONSTANT: LPM_HINT STRING "ENABLE_RUNTIME_MOD=NO"
|
153 |
|
|
// Retrieval info: CONSTANT: LPM_TYPE STRING "altsyncram"
|
154 |
|
|
// Retrieval info: CONSTANT: NUMWORDS_A NUMERIC "1024"
|
155 |
|
|
// Retrieval info: CONSTANT: OPERATION_MODE STRING "SINGLE_PORT"
|
156 |
|
|
// Retrieval info: CONSTANT: OUTDATA_ACLR_A STRING "NONE"
|
157 |
|
|
// Retrieval info: CONSTANT: OUTDATA_REG_A STRING "UNREGISTERED"
|
158 |
|
|
// Retrieval info: CONSTANT: POWER_UP_UNINITIALIZED STRING "FALSE"
|
159 |
|
|
// Retrieval info: CONSTANT: READ_DURING_WRITE_MODE_PORT_A STRING "NEW_DATA_NO_NBE_READ"
|
160 |
|
|
// Retrieval info: CONSTANT: WIDTHAD_A NUMERIC "10"
|
161 |
|
|
// Retrieval info: CONSTANT: WIDTH_A NUMERIC "16"
|
162 |
|
|
// Retrieval info: CONSTANT: WIDTH_BYTEENA_A NUMERIC "2"
|
163 |
|
|
// Retrieval info: USED_PORT: address 0 0 10 0 INPUT NODEFVAL address[9..0]
|
164 |
|
|
// Retrieval info: USED_PORT: byteena 0 0 2 0 INPUT VCC byteena[1..0]
|
165 |
|
|
// Retrieval info: USED_PORT: clken 0 0 0 0 INPUT VCC clken
|
166 |
|
|
// Retrieval info: USED_PORT: clock 0 0 0 0 INPUT VCC clock
|
167 |
|
|
// Retrieval info: USED_PORT: data 0 0 16 0 INPUT NODEFVAL data[15..0]
|
168 |
|
|
// Retrieval info: USED_PORT: q 0 0 16 0 OUTPUT NODEFVAL q[15..0]
|
169 |
|
|
// Retrieval info: USED_PORT: wren 0 0 0 0 INPUT NODEFVAL wren
|
170 |
|
|
// Retrieval info: CONNECT: @address_a 0 0 10 0 address 0 0 10 0
|
171 |
|
|
// Retrieval info: CONNECT: q 0 0 16 0 @q_a 0 0 16 0
|
172 |
|
|
// Retrieval info: CONNECT: @byteena_a 0 0 2 0 byteena 0 0 2 0
|
173 |
|
|
// Retrieval info: CONNECT: @clock0 0 0 0 0 clock 0 0 0 0
|
174 |
|
|
// Retrieval info: CONNECT: @clocken0 0 0 0 0 clken 0 0 0 0
|
175 |
|
|
// Retrieval info: CONNECT: @data_a 0 0 16 0 data 0 0 16 0
|
176 |
|
|
// Retrieval info: CONNECT: @wren_a 0 0 0 0 wren 0 0 0 0
|
177 |
|
|
// Retrieval info: LIBRARY: altera_mf altera_mf.altera_mf_components.all
|
178 |
|
|
// Retrieval info: GEN_FILE: TYPE_NORMAL arria2gx_dmem.v TRUE
|
179 |
|
|
// Retrieval info: GEN_FILE: TYPE_NORMAL arria2gx_dmem.inc FALSE
|
180 |
|
|
// Retrieval info: GEN_FILE: TYPE_NORMAL arria2gx_dmem.cmp FALSE
|
181 |
|
|
// Retrieval info: GEN_FILE: TYPE_NORMAL arria2gx_dmem.bsf FALSE
|
182 |
|
|
// Retrieval info: GEN_FILE: TYPE_NORMAL arria2gx_dmem_inst.v FALSE
|
183 |
|
|
// Retrieval info: GEN_FILE: TYPE_NORMAL arria2gx_dmem_bb.v FALSE
|
184 |
|
|
// Retrieval info: GEN_FILE: TYPE_NORMAL arria2gx_dmem_waveforms.html FALSE
|
185 |
|
|
// Retrieval info: GEN_FILE: TYPE_NORMAL arria2gx_dmem_wave*.jpg FALSE
|
186 |
|
|
// Retrieval info: LIB_FILE: altera_mf
|