Virginia Tech® home

Synopsys Unix Setup

Authors: Jinsik Yun, Jeannette Djigbenou, Dr. Dong S. Ha

Version Y-2006.06-SP2


As all Unix applications generally do, Synopsys applications need some Unix environment setup. You have to follow these instructions in order to minimize any setup errors. Note that this tutorial is based on the vtvt_tsmc180 library.


 

1. VTVT Synopsys Library Download

If you have already VTVT_tsmc180 Standard Cell library, you can skip to 2. VTVT Synopsys Library Install.

  1. You have to request the vtvt_tsmc180 Standard Cell library in order to download it: http://www.cesca.centers.vt.edu/tutorial/request.php. It may take 1~2 business days to confirm your request.
  2. Once you download the libraray in the Windows system, please send it to the Unix system using a proper FTP, SCP application.

 

2. VTVT Synopsys Library Install

  1. If you have downloaded the library successfully, it may be one compressed file. Please move that file into an appropriate directory.

    For instance, initially I have the downloaded library at my home directory. I made a directory named as 'vlsi_libs' in my home directory. After that, I moved the compressed library file into 'vlsi_libs' directory. Please refer to the below picture.

    mkdir_mv

  2. Please change your current directory to the directory which you just made at the previous step. Extract the compressed library into the same directoty. (I recommend you to use unix tar or gzip commands rather than Windows based programs.)

    For instance, I changed the current directory to 'vlsi_libs' and extract the compressed library file into the same directory. You can see the new directory 'vtvt_tsmc180_rel1_v1' as the result of extraction.

    extract

  3. Please change the current directory to the 'vtvt_tsmc180_rel1_v1' directory which you just extracted from the compressed library file. (From now on, this 'vtvt_tsmc180_rel1_v1' directory is refered to as <your_lib_dir>).
  4. Extract Synopsys_Libraries.tar.gz into the same directory
  5. Please refer to the below picture. You can see the new directory 'Synopsys_Libraries' as the result of extraction.

    extract_synopsys

  6. At this point, let's call Synopsys Unix path. You can simply type 'Synopsys'. This command includes the Synopsys path into your current Unix path. After executing the 'Synopsys' command, you should see the Synopsys path included as the [Synopsys] as the prefix of the prompt.
  7. Please refer to the below picture. You can see that the $PATH is including several paths related to Synopsys.

    synopsys_path

  8. Please change the current directory to the 'Synopsys_Libraries' directory which you extracted from the Synopsys_Libraries.tar.gz file at c. step. Please open .synopsys_dc.setup and change search_path definition to include Synopsys library path.
  9. Please refer to the below pictures. Initially .synopsys_dc.setup file has incorrect search_path definition.

    provoke_synopsys_setup


    searchpath_before

  10. You have to replace <path_to_your_Synopsys_iinstallation_dir> into Synopsys path. You can check Synopsys path using 'echo $SYNOPSYS' command.

    echo_synopsys

  11. Now this is the final result.

    searchpath_after

  12. Now, we have to recompile VHDL library into 'vtvt_tsmc180' library. Please execute the followin commands.
  • rm -r vtvt_tsmc180/*
  • vhdlan -work vtvt_tsmc180 vtvt_tsmc180_Vtables.vhd
  • vhdlan -work vtvt_tsmc180 vtvt_tsmc180_Vcomponents.vhd
  • vhdlan -work vtvt_tsmc180 vtvt_tsmc180_VITAL.vhd


3. Synopsys Setup

  1. Create your own project directory (from now, we call it <your_pjt_dir>). Then change the current directory to <your_pjt_dir> directory.

    For instance, I made tutorial_synopsys directory as my own project directory.

    mkdir_mydir

  2. Copy .synopsys_vss.setup .synopsys_dc.setup files from '<your_lib_dir>/Synopsys_Libraries/' directory into <your_pjt_dir> directory.

    setupfile_copy

  3. Make links for connecting all VHDL files from '<your_lib_dir>/Synopsys_Libraries/' directory into <your_pjt_dir> directory.

    vhd_link

  4. Make links for connecting lib files from '<your_lib_dir>/Synopsys_Libraries/' directory into <your_pjt_dir> directory.

    lib_link

  5. Make links for connecting 'libs' directory from '<your_lib_dir>/Synopsys_Libraries/' directory into <your_pjt_dir> directory.

    libs_link

  6. Make links for connecting 'vtvt_tsmc180' directory from '<your_lib_dir>/Synopsys_Libraries/' directory into <your_pjt_dir> directory.

    vtvt_tsmc180_link

  7. Finally, you have to make VHDL 'work' directory.

    work_dir

  8. If you follow the instructions correctly, you should see the below result when executing 'ls -a' command.

    final_setup

  9. Now you are ready to use Synopsys application in <your_pjt_dir> directory.