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.
|
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:
Ensure that you have correctly installed the MAX+PLUS II and Cadence software versions described in the MAX+PLUS II/Cadence Software Requirements.
- Add the following environment variables to your .cshrc file:
setenv ALT_HOME /usr/maxplus2
setenv CDS_INST_DIR <Cadence system directory path>
- 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.
- Add /usr/dt/lib and /usr/ucb/lib to the
LD_LIBRARY_PATH environment variable in your .cshrc file.
- 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>.
- 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 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.
- 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> 
- Set up an appropriate directory structure for the tool(s) you are using. See the following topics for information:
Related Links:
Go to the following topics, which are available on the web, 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.
|