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

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:

  1. Ensure that you have correctly installed the MAX+PLUS II and Viewlogic software versions described in MAX+PLUS II/Viewlogic Powerview Software Requirements.

  2. 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 ENTER

  3. Add the $ALT_HOME/Viewlogic/standard, $ALT_HOME/bin, and $ALT_HOME/Viewlogic/bin directories to the PATH environment variable in your .cshrc file.

  4. 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 ENTER

    NOTE: Make sure the $ALT_HOME/Viewlogic/standard directory is the first directory in your WDIR path.

  5. Source your .cshrc file by typing source .cshrc ENTER at the UNIX prompt.

  6. Create the Viewlogic Powerview viewdraw.ini configuration file.

  7. Copy the /usr/maxplus2/maxplus2.ini file to your $HOME directory:

    cp /usr/maxplus2/maxplus2.ini $HOME ENTER

    chmod u+w $HOME/maxplus2.ini ENTER

    NOTE: 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.

  8. 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.

  9. 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.

NOTE: 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:

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 |
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.