MAX+PLUS II ACCESS Key Guidelines
List by VendorList by ToolList by FunctionCadence Topicsblank

Setting Up the MAX+PLUS II/Cadence Working Environment

To use MAX+PLUS® II software with Cadence software, you must first install the MAX+PLUS II software, then establish an environment that facilitates entering and processing designs. The MAX+PLUS II/Cadence interface is installed automatically when you install the MAX+PLUS II software on your computer. 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/Cadence Interface File Organization for information about the MAX+PLUS II/Cadence directories that are created during MAX+PLUS II installation.

NOTE: The information presented here assumes that you are using the C shell and that your MAX+PLUS II system directory is /usr/maxplus2. If not, you must use the appropriate syntax and procedures to set environment variables for your shell.

To set up your working environment for the MAX+PLUS II/Cadence interface, follow these steps:

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

  2. Add the following environment variables to your .cshrc file:

    setenv ALT_HOME /usr/maxplus2 Enter

    setenv CDS_INST_DIR <Cadence system directory path> Enter

  3. Add the $ALT_HOME/cadence/bin and $CDS_INST_DIR/tools/bin directories to the PATH environment variable in your .cshrc file. Make sure these paths are placed before the Cadence hierarchy path.

  4. Add /usr/dt/lib and /usr/ucb/lib to the LD_LIBRARY_PATH environment variable in your .cshrc file.

  5. Create a new cds.lib file in your working directory or edit an existing one so that it includes all of the following lines that apply to the Cadence tools you have installed:

    DEFINE alt_syn ${ALT_HOME}/simlib/concept/alt_syn

    DEFINE lpm_syn ${ALT_HOME}/simlib/concept/lpm_syn

    DEFINE alt_lpm ${ALT_HOME}/simlib/concept/alt_lpm

    DEFINE alt_mf ${ALT_HOME}/simlib/concept/alt_mf

    DEFINE alt_max2 ${ALT_HOME}/simlib/concept/alt_max2

    DEFINE alt_max2 ${ALT_HOME}/simlib/composer/alt_max2/alt_max2

    DEFINE alt_vtl $ALT_HOME/simlib/concept/alt_vtl/lib

    DEFINE altera $ALT_HOME/simlib/concept/alt_mf/lib

    SOFTINCLUDE $CDS_INST_DIR/tools/leapfrog/files/cds.lib

    DEFINE <design name>.

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

  7. If you are using Concept on a Sun SPARCstation running SunOS, go to Setting Up the MAX+PLUS II/Cadence Concept Work Environment for a Sun SPARCstation Running SunOS Software to install the redifnet EDIF netlist reader utility.

  8. If you are using Synergy software, edit the hdl.var file located in your working directory to include the following line:

    DEFINE work <design name> Enter

  9. Set up an appropriate directory structure for the tool(s) you are using. See the following topics for information:

Go to: 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 | Cadence Topics |
Documentation Conventions

Copyright © 1995-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.