Skip to content

4 x 8 Bit DAC taget to openroad/openlane flow and sky130 foundary

License

Notifications You must be signed in to change notification settings

dineshannayya/8bit_dac

Repository files navigation

4x8bit_dac

4 x 8 Bit DAC taget to openroad/openlane flow and sky130 foundary

Prerequisites

   #Step-1: Installing Klayout
   sudo apt-get install  klayout

   #Step-2: To install Sky130nm PDK
    A. Add/Set following  Enviornment variable 
       export PDK_ROOT=<PDK Installation folder> 
       export PDK=sky130A
    B. Clone Openlane : 
       git clone https://github.com/efabless/OpenLane.git
       cd Openlane
       make pdk

   #Step-3: Installing ngspice from source code
    git clone git://git.code.sf.net/p/ngspice/ngspice
    cd ngspice
    ./autogen.sh
    mkdir debug
    cd debug
    ../configure --with-x --with-readline=yes
    make
    sudo make install

   #Step-4: To clone the Skywater PDK Library for ngsim
     git clone https://github.com/google/skywater-pdk-libs-sky130_fd_pr

   #Step-5: Install the ESim
     https://esim.fossee.in/downloads
     https://static.fossee.in/esim/installation-files/eSim-2.3.zip
     unzip eSim-2.3.zip
     cd eSim-2.3
     chmod +x install-eSim.sh
     sudo /install-eSim.sh --install

Extract Spice

   cd PostLayoutSimulation
   ./run_extract_spice

Run the Klayout FEOL/BEOL/Density/Zero Area/overlapping check

   cd PostLayout
   ./run_precheck

Post Layout Simulation

   ngspice resistor_test.spice
   ngspice switch_test.spice
   ngspice switch2_test.spice
   ngspice switch2n_test.spice
   ngspice 2bit_DAC_test.spice 
   ngspice 3bit_DAC_test.spice 
   ngspice 4bit_DAC_test.spice 
   ngspice 5bit_DAC_test.spice 
   ngspice 6bit_DAC_test.spice 
   ngspice 7bit_DAC_test.spice 
   ngspice 8bit_DAC_test.spice 

Reference

Basic idea and register and switch picked from

About

4 x 8 Bit DAC taget to openroad/openlane flow and sky130 foundary

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages