1 |
21 |
qaztronic |
; Copyright 1991-2007 Mentor Graphics Corporation
|
2 |
|
|
;
|
3 |
|
|
; All Rights Reserved.
|
4 |
|
|
;
|
5 |
|
|
; THIS WORK CONTAINS TRADE SECRET AND PROPRIETARY INFORMATION WHICH IS THE PROPERTY OF
|
6 |
|
|
; MENTOR GRAPHICS CORPORATION OR ITS LICENSORS AND IS SUBJECT TO LICENSE TERMS.
|
7 |
|
|
;
|
8 |
|
|
|
9 |
|
|
[Library]
|
10 |
|
|
std = $MODEL_TECH/../std
|
11 |
|
|
ieee = $MODEL_TECH/../ieee
|
12 |
|
|
verilog = $MODEL_TECH/../verilog
|
13 |
|
|
vital2000 = $MODEL_TECH/../vital2000
|
14 |
|
|
std_developerskit = $MODEL_TECH/../std_developerskit
|
15 |
|
|
synopsys = $MODEL_TECH/../synopsys
|
16 |
|
|
modelsim_lib = $MODEL_TECH/../modelsim_lib
|
17 |
|
|
sv_std = $MODEL_TECH/../sv_std
|
18 |
|
|
|
19 |
|
|
; Xilinx Primitive Libraries
|
20 |
|
|
;
|
21 |
|
|
; VHDL Section
|
22 |
|
|
; unisim = $MODEL_TECH/../xilinx/vhdl/unisim
|
23 |
|
|
; unimacro = $MODEL_TECH/../xilinx/vhdl/unimacro
|
24 |
|
|
; simprim = $MODEL_TECH/../xilinx/vhdl/simprim
|
25 |
|
|
; xilinxcorelib = $MODEL_TECH/../xilinx/vhdl/xilinxcorelib
|
26 |
|
|
; aim = $MODEL_TECH/../xilinx/vhdl/aim
|
27 |
|
|
; pls = $MODEL_TECH/../xilinx/vhdl/pls
|
28 |
|
|
; cpld = $MODEL_TECH/../xilinx/vhdl/cpld
|
29 |
|
|
|
30 |
|
|
; Verilog Section
|
31 |
|
|
; unisims_ver = $MODEL_TECH/../xilinx/verilog/unisims_ver
|
32 |
|
|
; unimacro_ver = $MODEL_TECH/../xilinx/verilog/unimacro_ver
|
33 |
|
|
; uni9000_ver = $MODEL_TECH/../xilinx/verilog/uni9000_ver
|
34 |
|
|
; simprims_ver = $MODEL_TECH/../xilinx/verilog/simprims_ver
|
35 |
|
|
; xilinxcorelib_ver = $MODEL_TECH/../xilinx/verilog/xilinxcorelib_ver
|
36 |
|
|
; aim_ver = $MODEL_TECH/../xilinx/verilog/aim_ver
|
37 |
|
|
; cpld_ver = $MODEL_TECH/../xilinx/verilog/cpld_ver
|
38 |
|
|
|
39 |
|
|
; or1200_soc libraries
|
40 |
|
|
gpio = ../../../libs/gpio
|
41 |
|
|
or1200 = ../../../libs/or1200
|
42 |
|
|
sim = ../../../libs/sim
|
43 |
|
|
uart16550 = ../../../libs/uart16550
|
44 |
|
|
wb_conmax = ../../../libs/wb_conmax
|
45 |
|
|
wb_size_bridge = ../../../libs/wb_size_bridge
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
[vcom]
|
49 |
|
|
; VHDL93 variable selects language version as the default.
|
50 |
|
|
; Default is VHDL-2002.
|
51 |
|
|
; Value of 0 or 1987 for VHDL-1987.
|
52 |
|
|
; Value of 1 or 1993 for VHDL-1993.
|
53 |
|
|
; Default or value of 2 or 2002 for VHDL-2002.
|
54 |
|
|
VHDL93 = 2002
|
55 |
|
|
|
56 |
|
|
; Show source line containing error. Default is off.
|
57 |
|
|
; Show_source = 1
|
58 |
|
|
|
59 |
|
|
; Turn off unbound-component warnings. Default is on.
|
60 |
|
|
; Show_Warning1 = 0
|
61 |
|
|
|
62 |
|
|
; Turn off process-without-a-wait-statement warnings. Default is on.
|
63 |
|
|
; Show_Warning2 = 0
|
64 |
|
|
|
65 |
|
|
; Turn off null-range warnings. Default is on.
|
66 |
|
|
; Show_Warning3 = 0
|
67 |
|
|
|
68 |
|
|
; Turn off no-space-in-time-literal warnings. Default is on.
|
69 |
|
|
; Show_Warning4 = 0
|
70 |
|
|
|
71 |
|
|
; Turn off multiple-drivers-on-unresolved-signal warnings. Default is on.
|
72 |
|
|
; Show_Warning5 = 0
|
73 |
|
|
|
74 |
|
|
; Turn off optimization for IEEE std_logic_1164 package. Default is on.
|
75 |
|
|
; Optimize_1164 = 0
|
76 |
|
|
|
77 |
|
|
; Turn on resolving of ambiguous function overloading in favor of the
|
78 |
|
|
; "explicit" function declaration (not the one automatically created by
|
79 |
|
|
; the compiler for each type declaration). Default is off.
|
80 |
|
|
; The .ini file has Explicit enabled so that std_logic_signed/unsigned
|
81 |
|
|
; will match the behavior of synthesis tools.
|
82 |
|
|
Explicit = 1
|
83 |
|
|
|
84 |
|
|
; Turn off acceleration of the VITAL packages. Default is to accelerate.
|
85 |
|
|
; NoVital = 1
|
86 |
|
|
|
87 |
|
|
; Turn off VITAL compliance checking. Default is checking on.
|
88 |
|
|
; NoVitalCheck = 1
|
89 |
|
|
|
90 |
|
|
; Ignore VITAL compliance checking errors. Default is to not ignore.
|
91 |
|
|
; IgnoreVitalErrors = 1
|
92 |
|
|
|
93 |
|
|
; Turn off VITAL compliance checking warnings. Default is to show warnings.
|
94 |
|
|
; Show_VitalChecksWarnings = 0
|
95 |
|
|
|
96 |
|
|
; Keep silent about case statement static warnings.
|
97 |
|
|
; Default is to give a warning.
|
98 |
|
|
; NoCaseStaticError = 1
|
99 |
|
|
|
100 |
|
|
; Keep silent about warnings caused by aggregates that are not locally static.
|
101 |
|
|
; Default is to give a warning.
|
102 |
|
|
; NoOthersStaticError = 1
|
103 |
|
|
|
104 |
|
|
; Turn off inclusion of debugging info within design units.
|
105 |
|
|
; Default is to include debugging info.
|
106 |
|
|
; NoDebug = 1
|
107 |
|
|
|
108 |
|
|
; Turn off "Loading..." messages. Default is messages on.
|
109 |
|
|
; Quiet = 1
|
110 |
|
|
|
111 |
|
|
; Turn on some limited synthesis rule compliance checking. Checks only:
|
112 |
|
|
; -- signals used (read) by a process must be in the sensitivity list
|
113 |
|
|
; CheckSynthesis = 1
|
114 |
|
|
|
115 |
|
|
; Activate optimizations on expressions that do not involve signals,
|
116 |
|
|
; waits, or function/procedure/task invocations. Default is off.
|
117 |
|
|
; ScalarOpts = 1
|
118 |
|
|
|
119 |
|
|
; Require the user to specify a configuration for all bindings,
|
120 |
|
|
; and do not generate a compile time default binding for the
|
121 |
|
|
; component. This will result in an elaboration error of
|
122 |
|
|
; 'component not bound' if the user fails to do so. Avoids the rare
|
123 |
|
|
; issue of a false dependency upon the unused default binding.
|
124 |
|
|
; RequireConfigForAllDefaultBinding = 1
|
125 |
|
|
|
126 |
|
|
; Inhibit range checking on subscripts of arrays. Range checking on
|
127 |
|
|
; scalars defined with subtypes is inhibited by default.
|
128 |
|
|
; NoIndexCheck = 1
|
129 |
|
|
|
130 |
|
|
; Inhibit range checks on all (implicit and explicit) assignments to
|
131 |
|
|
; scalar objects defined with subtypes.
|
132 |
|
|
; NoRangeCheck = 1
|
133 |
|
|
|
134 |
|
|
[vlog]
|
135 |
|
|
|
136 |
|
|
; Turn off inclusion of debugging info within design units.
|
137 |
|
|
; Default is to include debugging info.
|
138 |
|
|
; NoDebug = 1
|
139 |
|
|
|
140 |
|
|
; Turn off "loading..." messages. Default is messages on.
|
141 |
|
|
; Quiet = 1
|
142 |
|
|
|
143 |
|
|
; Turn on Verilog hazard checking (order-dependent accessing of global vars).
|
144 |
|
|
; Default is off.
|
145 |
|
|
; Hazard = 1
|
146 |
|
|
|
147 |
|
|
; Turn on converting regular Verilog identifiers to uppercase. Allows case
|
148 |
|
|
; insensitivity for module names. Default is no conversion.
|
149 |
|
|
; UpCase = 1
|
150 |
|
|
|
151 |
|
|
; Turn on incremental compilation of modules. Default is off.
|
152 |
|
|
; Incremental = 1
|
153 |
|
|
|
154 |
|
|
; Turns on lint-style checking.
|
155 |
|
|
; Show_Lint = 1
|
156 |
|
|
|
157 |
|
|
[vsim]
|
158 |
|
|
; Simulator resolution
|
159 |
|
|
; Set to fs, ps, ns, us, ms, or sec with optional prefix of 1, 10, or 100.
|
160 |
|
|
Resolution = ps
|
161 |
|
|
|
162 |
|
|
; User time unit for run commands
|
163 |
|
|
; Set to default, fs, ps, ns, us, ms, or sec. The default is to use the
|
164 |
|
|
; unit specified for Resolution. For example, if Resolution is 100ps,
|
165 |
|
|
; then UserTimeUnit defaults to ps.
|
166 |
|
|
; Should generally be set to default.
|
167 |
|
|
UserTimeUnit = default
|
168 |
|
|
|
169 |
|
|
; Default run length
|
170 |
|
|
RunLength = 100
|
171 |
|
|
|
172 |
|
|
; Maximum iterations that can be run without advancing simulation time
|
173 |
|
|
IterationLimit = 5000
|
174 |
|
|
|
175 |
|
|
; Directive to license manager:
|
176 |
|
|
; vhdl Immediately reserve a VHDL license
|
177 |
|
|
; vlog Immediately reserve a Verilog license
|
178 |
|
|
; plus Immediately reserve a VHDL and Verilog license
|
179 |
|
|
; nomgc Do not look for Mentor Graphics Licenses
|
180 |
|
|
; nomti Do not look for Model Technology Licenses
|
181 |
|
|
; noqueue Do not wait in the license queue when a license isn't available
|
182 |
|
|
; viewsim Try for viewer license but accept simulator license(s) instead
|
183 |
|
|
; of queuing for viewer license
|
184 |
|
|
; License = plus
|
185 |
|
|
|
186 |
|
|
; Stop the simulator after a VHDL/Verilog assertion message
|
187 |
|
|
; 0 = Note 1 = Warning 2 = Error 3 = Failure 4 = Fatal
|
188 |
|
|
BreakOnAssertion = 3
|
189 |
|
|
|
190 |
|
|
; Assertion Message Format
|
191 |
|
|
; %S - Severity Level
|
192 |
|
|
; %R - Report Message
|
193 |
|
|
; %T - Time of assertion
|
194 |
|
|
; %D - Delta
|
195 |
|
|
; %I - Instance or Region pathname (if available)
|
196 |
|
|
; %% - print '%' character
|
197 |
|
|
; AssertionFormat = "** %S: %R\n Time: %T Iteration: %D%I\n"
|
198 |
|
|
|
199 |
|
|
; Assertion File - alternate file for storing VHDL/Verilog assertion messages
|
200 |
|
|
; AssertFile = assert.log
|
201 |
|
|
|
202 |
|
|
; Default radix for all windows and commands...
|
203 |
|
|
; Set to symbolic, ascii, binary, octal, decimal, hex, unsigned
|
204 |
|
|
DefaultRadix = hex
|
205 |
|
|
|
206 |
|
|
; VSIM Startup command
|
207 |
|
|
; Startup = do startup.do
|
208 |
|
|
|
209 |
|
|
; File for saving command transcript
|
210 |
|
|
TranscriptFile = transcript.txt
|
211 |
|
|
|
212 |
|
|
; File for saving command history
|
213 |
|
|
; CommandHistory = cmdhist.log
|
214 |
|
|
|
215 |
|
|
; Specify whether paths in simulator commands should be described
|
216 |
|
|
; in VHDL or Verilog format.
|
217 |
|
|
; For VHDL, PathSeparator = /
|
218 |
|
|
; For Verilog, PathSeparator = .
|
219 |
|
|
; Must not be the same character as DatasetSeparator.
|
220 |
|
|
PathSeparator = /
|
221 |
|
|
|
222 |
|
|
; Specify the dataset separator for fully rooted contexts.
|
223 |
|
|
; The default is ':'. For example, sim:/top
|
224 |
|
|
; Must not be the same character as PathSeparator.
|
225 |
|
|
DatasetSeparator = :
|
226 |
|
|
|
227 |
|
|
; Disable VHDL assertion messages
|
228 |
|
|
; IgnoreNote = 1
|
229 |
|
|
; IgnoreWarning = 1
|
230 |
|
|
; IgnoreError = 1
|
231 |
|
|
; IgnoreFailure = 1
|
232 |
|
|
|
233 |
|
|
; Default force kind. May be freeze, drive, deposit, or default
|
234 |
|
|
; or in other terms, fixed, wired, or charged.
|
235 |
|
|
; A value of "default" will use the signal kind to determine the
|
236 |
|
|
; force kind, drive for resolved signals, freeze for unresolved signals
|
237 |
|
|
; DefaultForceKind = freeze
|
238 |
|
|
|
239 |
|
|
; If zero, open files when elaborated; otherwise, open files on
|
240 |
|
|
; first read or write. Default is 0.
|
241 |
|
|
; DelayFileOpen = 1
|
242 |
|
|
|
243 |
|
|
; Control VHDL files opened for write.
|
244 |
|
|
; 0 = Buffered, 1 = Unbuffered
|
245 |
|
|
UnbufferedOutput = 0
|
246 |
|
|
|
247 |
|
|
; Control the number of VHDL files open concurrently.
|
248 |
|
|
; This number should always be less than the current ulimit
|
249 |
|
|
; setting for max file descriptors.
|
250 |
|
|
; 0 = unlimited
|
251 |
|
|
ConcurrentFileLimit = 40
|
252 |
|
|
|
253 |
|
|
; Control the number of hierarchical regions displayed as
|
254 |
|
|
; part of a signal name shown in the Wave window.
|
255 |
|
|
; A value of zero tells VSIM to display the full name.
|
256 |
|
|
; The default is 0.
|
257 |
|
|
; WaveSignalNameWidth = 0
|
258 |
|
|
|
259 |
|
|
; Turn off warnings from the std_logic_arith, std_logic_unsigned
|
260 |
|
|
; and std_logic_signed packages.
|
261 |
|
|
; StdArithNoWarnings = 1
|
262 |
|
|
|
263 |
|
|
; Turn off warnings from the IEEE numeric_std and numeric_bit packages.
|
264 |
|
|
; NumericStdNoWarnings = 1
|
265 |
|
|
|
266 |
|
|
; Control the format of the (VHDL) FOR generate statement label
|
267 |
|
|
; for each iteration. Do not quote it.
|
268 |
|
|
; The format string here must contain the conversion codes %s and %d,
|
269 |
|
|
; in that order, and no other conversion codes. The %s represents
|
270 |
|
|
; the generate_label; the %d represents the generate parameter value
|
271 |
|
|
; at a particular generate iteration (this is the position number if
|
272 |
|
|
; the generate parameter is of an enumeration type). Embedded whitespace
|
273 |
|
|
; is allowed (but discouraged); leading and trailing whitespace is ignored.
|
274 |
|
|
; Application of the format must result in a unique scope name over all
|
275 |
|
|
; such names in the design so that name lookup can function properly.
|
276 |
|
|
; GenerateFormat = %s__%d
|
277 |
|
|
|
278 |
|
|
; Specify whether checkpoint files should be compressed.
|
279 |
|
|
; The default is 1 (compressed).
|
280 |
|
|
; CheckpointCompressMode = 0
|
281 |
|
|
|
282 |
|
|
; List of dynamically loaded objects for Verilog PLI applications
|
283 |
|
|
; Veriuser = veriuser.sl
|
284 |
|
|
|
285 |
|
|
; Specify default options for the restart command. Options can be one
|
286 |
|
|
; or more of: -force -nobreakpoint -nolist -nolog -nowave
|
287 |
|
|
; DefaultRestartOptions = -force
|
288 |
|
|
|
289 |
|
|
; HP-UX 10.20 ONLY - Enable memory locking to speed up large designs
|
290 |
|
|
; (> 500 megabyte memory footprint). Default is disabled.
|
291 |
|
|
; Specify number of megabytes to lock.
|
292 |
|
|
; LockedMemory = 1000
|
293 |
|
|
|
294 |
|
|
; Turn on (1) or off (0) WLF file compression.
|
295 |
|
|
; The default is 1 (compress WLF file).
|
296 |
|
|
; WLFCompress = 0
|
297 |
|
|
|
298 |
|
|
; Specify whether to save all design hierarchy (1) in the WLF file
|
299 |
|
|
; or only regions containing logged signals (0).
|
300 |
|
|
; The default is 0 (save only regions with logged signals).
|
301 |
|
|
; WLFSaveAllRegions = 1
|
302 |
|
|
|
303 |
|
|
; WLF file time limit. Limit WLF file by time, as closely as possible,
|
304 |
|
|
; to the specified amount of simulation time. When the limit is exceeded
|
305 |
|
|
; the earliest times get truncated from the file.
|
306 |
|
|
; If both time and size limits are specified the most restrictive is used.
|
307 |
|
|
; UserTimeUnits are used if time units are not specified.
|
308 |
|
|
; The default is 0 (no limit). Example: WLFTimeLimit = {100 ms}
|
309 |
|
|
; WLFTimeLimit = 0
|
310 |
|
|
|
311 |
|
|
; WLF file size limit. Limit WLF file size, as closely as possible,
|
312 |
|
|
; to the specified number of megabytes. If both time and size limits
|
313 |
|
|
; are specified then the most restrictive is used.
|
314 |
|
|
; The default is 0 (no limit).
|
315 |
|
|
; WLFSizeLimit = 1000
|
316 |
|
|
|
317 |
|
|
; Specify whether or not a WLF file should be deleted when the
|
318 |
|
|
; simulation ends. A value of 1 will cause the WLF file to be deleted.
|
319 |
|
|
; The default is 0 (do not delete WLF file when simulation ends).
|
320 |
|
|
; WLFDeleteOnQuit = 1
|
321 |
|
|
|
322 |
|
|
[lmc]
|
323 |
|
|
|
324 |
|
|
[msg_system]
|
325 |
|
|
; Change a message severity or suppress a message.
|
326 |
|
|
; The format is: = [,...]
|
327 |
|
|
; Examples:
|
328 |
|
|
; note = 3009
|
329 |
|
|
; warning = 3033
|
330 |
|
|
; error = 3010,3016
|
331 |
|
|
; fatal = 3016,3033
|
332 |
|
|
; suppress = 3009,3016,3043
|
333 |
|
|
; The command verror can be used to get the complete
|
334 |
|
|
; description of a message.
|
335 |
|
|
|
336 |
|
|
; Control transcripting of elaboration/runtime messages.
|
337 |
|
|
; The default is to have messages appear in the transcript and
|
338 |
|
|
; recorded in the wlf file (messages that are recorded in the
|
339 |
|
|
; wlf file can be viewed in the MsgViewer). The other settings
|
340 |
|
|
; are to send messages only to the transcript or only to the
|
341 |
|
|
; wlf file. The valid values are
|
342 |
|
|
; both {default}
|
343 |
|
|
; tran {transcript only}
|
344 |
|
|
; wlf {wlf file only}
|
345 |
|
|
; msgmode = both
|
346 |
|
|
|