diff --git a/doc/xschem_man/tutorial_xschem_sky130.html b/doc/xschem_man/tutorial_xschem_sky130.html index 85e64d1f..42493131 100644 --- a/doc/xschem_man/tutorial_xschem_sky130.html +++ b/doc/xschem_man/tutorial_xschem_sky130.html @@ -26,6 +26,25 @@ p{padding: 15px 30px 10px;}
  • Install the Magic VLSI layout editor. Instructions here.
  • + +
  • Install ngspice, by cloning the git source repository + and building the program. If you want adms integration you must instal adms (sudo apt install adms).

  • + +
    +git clone https://git.code.sf.net/p/ngspice/ngspice ngspice_git
    +cd ngspice_git
    +mkdir release
    +## in order to run the following you must have adms installed (sudo apt install adms)
    +./autogen-sh --adms
    +cd release
    +## by default if no --prefix is provided ngspice will install under /usr/local/{bin,share,man,lib}
    +## you can add a --prefix=/home/username to install into your home directory.
    +../configure --with-x --enable-xspice --disable-debug --enable-cider --with-readline=yes --enable-openmp --enable-adms
    +## build the program
    +make
    +## install the program and needed files.
    +make install
    + 


  • Install Open_Pdks that will provide among other things all the sky130 PDK data, including standard cells, SPICE models, layout data, timing information, design rules and also the Xschem symbols of available @@ -34,7 +53,7 @@ p{padding: 15px 30px 10px;} Please ensure sufficient disk space is available (Open_pdks uses several GB, a lot of space can be recovered after installation by removing the source files if needed). Also keep in mind that the installation takes considerable time. - The following steps are needed:

    + The following steps are needed:

  •  ## fetch the repository with git:
     git clone git://opencircuitdesign.com/open_pdks
    @@ -50,7 +69,6 @@ cd open_pdks
     ./configure --enable-sky130-pdk 
     make
     make install 

    -
  • At this point the complete PDK has been installed in /usr/local/share/pdk (or <prefix>/share/pdk if --prefix was provided).
    @@ -62,24 +80,22 @@ make install
  • After completing the above steps you can do a test run of xschem and use the Sky130 devices. You need to create a new empty drectory, copy the provided xschemrc - (<prefix>/share/pdk/sky130B/libs.tech/xschem/xschemrc) into it and run xschem:

    + (<prefix>/share/pdk/sky130B/libs.tech/xschem/xschemrc) into it and run xschem:

  •  mkdir test_xschem_sky130
     cd test_xschem_sky130
     cp /usr/local/share/pdk/sky130B/libs.tech/xschem/xschemrc .
     xschem
            


    -
  • If all went well the following welcome page will be shown. The page contains some example circuits on the left and shows all the available silicon devices on the right. You can descend into the example circuits on the left by clicking the symbols (they will turn to grey meaning they are selected) and press the e key or by menu Edit->Push schematic. You can return to the parent level by pressing Ctrl-e or by menu Edit->Pop.



    - You can disable the welcome page by commenting the following line in the xschemrc file:

    + You can disable the welcome page by commenting the following line in the xschemrc file:

  •  set XSCHEM_START_WINDOW {sky130_tests/top.sch} 
    -

    PDK_ROOT and PDK environment variables