Setting Up the MAX+PLUS II/Viewlogic Powerview Working Environment
To use the MAX+PLUS® II software with Viewlogic's Powerview software, you must install
the MAX+PLUS II software, familiarize yourself with the Altera® Toolbox
in the Powerview Cockpit, and then establish an environment that
facilitates entering and processing designs. The MAX+PLUS II/Viewlogic Powerview
interface is installed automatically when you install the MAX+PLUS II
software on your workstation.
To set up your working environment for the MAX+PLUS II/Viewlogic Powerview
interface, follow these steps:
- Ensure that you have correctly installed the MAX+PLUS II and Viewlogic software versions described in MAX+PLUS II/Viewlogic Powerview Software Requirements.
- Add the following environment variable to your .cshrc file to specify /usr/maxplus2 as the MAX+PLUS II system directory:
setenv ALT_HOME /usr/maxplus2

- Add the $ALT_HOME/Viewlogic/standard, $ALT_HOME/bin, and
$ALT_HOME/Viewlogic/bin directories to the
PATH environment variable in
your .cshrc file.
- Add the $ALT_HOME/Viewlogic/standard directory to the
WDIR environment
variable in your .cshrc file using the following syntax:
setenv WDIR $ALT_HOME/Viewlogic/standard:/<Powerview system
directory>/standard

|
Make sure the $ALT_HOME/Viewlogic/standard directory is the first
directory in your WDIR path. |
- Source your .cshrc file by typing
source .cshrc
at the UNIX prompt.
- Create the Viewlogic Powerview viewdraw.ini configuration file.
- Copy the /usr/maxplus2/maxplus2.ini file to your
$HOME directory:
cp /usr/maxplus2/maxplus2.ini $HOME
chmod u+w $HOME/maxplus2.ini
 |
The maxplus2.ini file contains both
Altera- and user-specified
initialization parameters that control the MAX+PLUS II software, such as
MAX+PLUS II symbol and logic function library paths and the current project name.
The MAX+PLUS II installation procedure creates and copies the maxplus2.ini
file to the /usr/maxplus2 directory.
Normally, you do not have to edit your local copy of maxplus2.ini, because the
MAX+PLUS II software updates the file automatically whenever you change any parameters
or settings. However, if you move the max2lib and max2inc library
subdirectories, you must update the file. Go to "Creating & Using a
Local Copy of the maxplus2.ini File" in MAX+PLUS II Help for more
information.
|
- If you plan to instantiate Library of Parameterized Modules (LPM) functions in ViewDraw schematics, you must create a new file with the name vdraw.vs. The vdraw.vs file must include the following line:
load ("vdpath")
You must also make sure that you specify the vdraw.vs file in your WDIR path.
- Set up a directory structure that facilitates working with the MAX+PLUS II/Viewlogic Powerview interface. Refer to MAX+PLUS II/Viewlogic Powerview Project File Structure.
 |
Go to MAX+PLUS II Installation in
the MAX+PLUS II Getting Started
manual for more information on installation and details on the directories
that are created during MAX+PLUS II installation. Go to
MAX+PLUS II/Viewlogic Powerview Interface File Organization for information about the
MAX+PLUS II/Viewlogic Powerview directories that are created during MAX+PLUS II
installation.
|
| |
Go to the following topics, which are available on the web, for additional information:
|
|
|
|
|
| Home
| List by Vendor
| List by Tool
| List by Function
| Viewlogic 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.
|