FreePDK45:Creating Distributions

From NCSU EDA Wiki
Jump to: navigation, search

Creating a Distribution of the Base-Kit

To create a new distribution of the base-kit, follow these steps:

  1. Make sure that the kit version number and repository revision number are up-to-date in the README.txt file at the top of the distribution. The revision number can be checked with the command svn update from a private source directory.
    • If the repository revision number is not correct, then increment it in the README.txt file and check it in again. Remember that it should be incremented to a value one higher than the result of the svn update command, so that the number is correct after it is checked in.
  2. Change to a new, empty directory and export the current contents of the repository with the command
     svn export https://svn.unity.ncsu.edu/osi/freepdk45/trunk 
  3. Rename the root directory from trunk to FreePDK45.
  4. Compile the kit according to the directions on the FreePDK45:Developer Getting Started page. Do not run genlitho.py. It's not needed for the base-kit.
  5. Run through the regression tests on the kit to make sure that it's working. Currently, these tests include the following: (NOTE these should be automated, but they haven't been)
    • Running Calibre DRC on the layouts in $PDK_DIR/ncsu_basekit/examples/DRC_Test
    • Running Calibre LVS and PEX on a simple inverter layout
  6. From the root directory of the distribution, type the command
    source ncsu_basekit/doc/remove-list.csh
    This will delete all detritus from the distribution, as well as files that are included in the LithoSim kit.
  7. Change up one directory to the directory containing the root. Then type the command
    tar czf NCSU-FreePDK45-X.X.tar.gz FreePDK45
    where X.X is the current version number.
  8. Send the file to Steve Lipa for posting on the Wiki (we'll get instructions for him on how to do that, eventually).

Creating a Distribution of the LithoSim Kit

To create a new distribution of the LithoSim, follow these steps:

  1. Make sure that the kit version number and repository revision number are up-to-date in the README.LithoSim.txt file at the top of the distribution. The revision number can be checked with the command svn update from a private source directory.
    • If the repository revision number is not correct, then increment it in the README.LithoSim.txt file and check it in again. Remember that it should be incremented to a value one higher than the result of the svn update command, so that the number is correct after it is checked in.
  2. Change to your private source directory and run the genlitho.py script, as described on the FreePDK45:Developer Getting Started page.
  3. Create a new, empty directory somewhere and name it FreePDK45.
  4. Copy the files mentioned in the README.LithoSim.txt into this directory, recreating the paths as needed. We should probably have a script to do this for us.
  5. Change up one directory to the directory containing the root. Then type the command
    tar czf NCSU-LithoSim-FreePDK45-X.X.tar.gz FreePDK45
    where X.X is the current version number.
  6. Test the distribution. Unpack the latest FreePDK base-kit to a new directory and unpack the file you just made to the same directory. Verify that you can run a lithography simulation.
  7. Send the file to Steve Lipa for posting on the Wiki (we'll get instructions for him on how to do that, eventually).