To use the
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
PATHenvironment variable in your .cshrc file. - Add the $ALT_HOME/viewlogic/standard directory to the
WDIRenvironment 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 WDIRpath. - 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
WDIRpath. - 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.
Related Links:
- 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 for additional information:
Feedback
Did this information help you?
If no, please log onto mySupport to file a technical request or enhancement.
Altera does not warrant that this solution will work for the customer's intended purpose and disclaims all liability for use of or reliance on the solution.
