To use
| 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
PATHenvironment 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_PATHenvironment variable in your .cshrc file. - Add the $ALT_HOME/cadence/bin and $CDS_INST_DIR/tools/bin directories to the
- 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_synDEFINE lpm_syn ${ALT_HOME}/simlib/concept/lpm_synDEFINE alt_lpm ${ALT_HOME}/simlib/concept/alt_lpmDEFINE alt_mf ${ALT_HOME}/simlib/concept/alt_mfDEFINE alt_max2 ${ALT_HOME}/simlib/concept/alt_max2DEFINE alt_max2 ${ALT_HOME}/simlib/composer/alt_max2/alt_max2DEFINE alt_vtl $ALT_HOME/simlib/concept/alt_vtl/libDEFINE altera $ALT_HOME/simlib/concept/alt_mf/libSOFTINCLUDE $CDS_INST_DIR/tools/leapfrog/files/cds.libDEFINE<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:- MAX+PLUS II Getting Started version 8.1 (5.4 MB)
- This manual is also available in 4 parts:
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.
