Setting Up for Synopsys

This document provides a brief summary of information which will help you set up your HP-UX environment to run various Synopsys CAD tools.

Contents:

  1. General Synopsys Setup
  2. Cyclone Setup
  3. FPGA Express Setup
  4. Synopsys Documentation
  5. Sample Environment Setup File

General Synopsys Setup

To use Synopsys, your UNIX environment must be setup properly. To do this, add the following to your .cshrc (assuming you are using csh or tcsh):
setenv SYNOPSYS /cad/synopsys
set path = ( $path $SYNOPSYS/hpux10/syn/bin )
source $SYNOPSYS/admin/install/sim/bin/environ.csh
if( $?LM_LICENSE_FILE ) then
	setenv LM_LICENSE_FILE ${LM_LICENSE_FILE}:${SYNOPSYS}/admin/license/key
else
	setenv LM_LICENSE_FILE ${SYNOPSYS}/admin/license/key
endif

Cyclone Setup

To use Synopsys' new cycle-based simulator named Cyclone in addition to the other Synopsys tools, add the following environment settings to your .cshrc after the above Synopsys settings:
setenv SYNOPSYS_SIM $SYNOPSYS/cy_1998.08
source $SYNOPSYS_SIM/admin/setup/cyclone_env.csh
For Cyclone, an example .synopsys_vss.setup file can be found in $SYNOPSYS_SIM/admin/setup. No matter what .synopsys_vss.setup file you use for Cyclone, make sure that it contains the line:
CY_CCPATH = /usr/bin/cc
which is the path to the HP C compiler. Cyclone is a compiled-code simulator, so this path is important.

FPGA Express Setup

To use FPGA Express (a newer FPGA Compiler technology), you can add the following to your environment:
 set path=( $path $SYNOPSYS/fpga_express/bin )
The GUI for the HPs has not been released yet, so only fe_shell is available.

Synopsys Documentation

The documentation for Synopsys have now been made available in PDF format readable by acroread. The root documents for the various packages are:
$SYNOPSYS/doc/top.pdf
$SYNOPSYS_SIM/doc/online/cyclone/home.pdf
$SYNOPSYS/fpga_express/help/pdf/hdlref.pdf
$SYNOPSYS/fpga_express/help/pdf/vhdlref.pdf
$SYNOPSYS/fpga_express/help/pdf/vhdl_addendum.pdf
To make it easier to access the documentation, I would recommend making some aliases to start acroread with the appropriate root PDF file. For instance,
#######################
# Synopsys on-line docs
#######################

# Main Synopsys documentation
alias acro_synopsys 'acroread $SYNOPSYS/doc/top.pdf'
# Cyclone documentation
alias acro_cyclone 'acroread $SYNOPSYS_SIM/doc/online/cyclone/home.pdf'
# FPGA Express HDL reference
alias acro_fe_hdl 'acroread $SYNOPSYS/fpga_express/help/pdf/hdlref.pdf'
# FPGA Express VHDL reference
alias acro_fe_vhdl 'acroread $SYNOPSYS/fpga_express/help/pdf/vhdlref.pdf'
# FPGA Express VHDL addendum
alias acro_fe_vhdladd 'acroread $SYNOPSYS/fpga_express/help/pdf/vhdl_addendum.pdf'

Sample Environment Setup File

As an example of the above environment setup for the csh and tcsh shells, you can look at .cshrc.synopsys. This file can be sourced from your .cshrc file to set up your environment.
Go to the CCL Tutorials Page Go to the CCL Home Page
Last modified: Fri Jan 8 14:39:35 MST 1999

Please send comments to: grahamp@ee.byu.edu