MAX+PLUS II ACCESS Key Guidelines
List by VendorList by ToolList by FunctionViewlogic TopicsViewDraw Topics

Viewlogic Powerview viewdraw.ini Configuration File

Each Powerview project is configured with the viewdraw.ini file that resides in the project directory. The DIR statements at the end of viewdraw.ini are paths to library directories that are used by the various Powerview applications. Figure 1 shows a sample of the DIR statements that are required to use the libraries.

Figure 1. Excerpt from viewdraw.ini

DIR [pw] .
DIR [r] /usr/maxplus2/vwlogic/library/alt_max2 (alt_max2)
DIR [r] /usr/maxplus2/vwlogic/library/max2sim (max2_sim)
DIR [r] /usr/maxplus2/vwlogic/library/synlib (altera)
DIR [r] /usr/maxplus2/vwlogic/library/alt_mf (alt_mf)
DIR [r] /usr/maxplus2/vwlogic/library/alt_vtl (alt_vtl)
DIR [rm] /<Powerview system directory>/lib/builtin (builtin)
DIR [rm] /<Powerview system directory>/simmods/vl/dip/74ls (vl74ls)
DIR [rm] /<Powerview system directory>/symsets/vl/dip/74ls (vl74ls)
DIR [r] /<Powerview system directory>/lib/vdpath (vdpath)

NOTE: When you add the libraries to the /usr/maxplus2/vwlogic/standard/viewdraw.ini file, they are automatically set when you create a new project. Powerview tools search these libraries sequentially, so it is important to add them in the order in which they are listed in Figure 1.

Table 1 shows the libraries that must be specified in the DIR statements in the viewdraw.ini file.

Table 1. Powerview Application Libraries

Library Library Alias Source Topics
alt_max2 alt_max2 Altera Graphical elements for ViewDraw
max2sim max2_sim Altera Models for project simulation
synlib altera Altera VHDL synthesis library for the MAX+PLUS® II software
alt_mf alt_mf Altera VHDL models of MAX+PLUS II logic functions
alt_vtl alt_vtl Altera VITAL-compliant primitives
builtin builtin Altera Basic primitives such as INPUT pins, OUTPUT pins, AND gates, OR gates, etc.
74ls vl74ls Viewlogic 74-series macrofunctions
vdpath vdpath Viewlogic Standard library of parameterized modules (LPM) functions

NOTE: The Altera-provided libraries must be listed before the Viewlogic-provided libraries in the viewdraw.ini file to ensure that the correct versions of the megafunctions, macrofunctions, and primitives are used.

NOTE: Go to Altera-Provided Logic & Symbol Libraries for more information on Altera-supplied libraries. Refer to the Powerview documentation for more information on setting up the viewdraw.ini file.

Last Updated: August 28, 2000 for MAX+PLUS II version 10.0
border line
| Home | List by Vendor | List by Tool | List by Function | Viewlogic Topics | ViewDraw Topics |
Documentation Conventions

Copyright © 2000 Altera Corporation, 101 Innovation Drive, San Jose, California 95134, USA. All rights reserved. By accessing any information on this CD-ROM, you agree to be bound by the terms of Altera's Legal Notice.