Code Monkey home page Code Monkey logo

cmosvlsi's Introduction

CMOS using skywater 130 PDK

  • To design and complete layout of a cmos inverter using opensource vlsi tools and obtain various parameters of performance with graphs.

invertertAnother Image

Workspace

  • setup shop in Windows Subsystems for Linux (WSL), [ubuntu will also work]

TOOLS

  • open your terminal in an ubuntu device or wsl
    ### xschem ###
    git clone https://github.com/StefanSchippers/xschem.git xschem
    cd xschem
    ./configure
    sudo make -j4
    sudo make install
    cd ..
    
    ### NGSpice ### 
    git clone git://git.code.sf.net/p/ngspice/ngspiced
    cd ngspiced
    ./autogen.sh
    mkdir release
    cd release
    ../configure --with-x --enable-xspice --disable-debug --enable-cider --with-readline=yes --enable-predictor --enable-osdi --enable-openmp
    sudo make -j4
    sudo make install
    cd ../..
    
    ### magic vlsi ###
    git clone git://opencircuitdesign.com/magic
    cd magic
    ./configure
    sudo make
    sudo make install
    cd ..
    # dont use -j4 
    
    ### openPDK ###
    git clone git://opencircuitdesign.com/open_pdks
    cd open_pdks
    ./configure --enable-sky130-pdk --enable-sram-sky130
    sudo make -j4
    sudo make install
    sudo make veryclean
    cd ..
    # these steps will take a lot of time and occupy a lot of space, be patient.....
    
    ### xschem and skywater 130 integration ###
    mkdir test_xschem_sky130
    cd test_xschem_sky130
    cp /usr/local/share/pdk/sky130B/libs.tech/xschem/xschemrc .
    xschem

Test nfet

# setup xschem with skywater pdk 130 
mkdir test_nfet
cd test_nfet
cp /usr/local/share/pdk/sky130B/libs.tech/xschem/xschemrc .
xschem
  • press Shift + i in xschem window to add new schematic.
  • insert the nfet from the library

CMOS

To run xschem with skywater pdk

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

CMOS schematic

CMOS testbench

ngspice simulation

  • input and output voltage plot
  • propogation delay
    • time from 50% Vin to 50 % Vout
    • showing propogation delay has dependance on imput pulse
  • Rise time and fall time
    • tr = t90 - t10
  • load capacitiance decreases, circuit becomes faster

Layout

Visual representation of CMOS inverter.

Documentation of SKYWATER PDK.

magic  -rcfile /usr/local/share/pdk/sky130A/libs.tech/magic/sky130A.magicrc &

Shortcuts

  • zoom out : shift z
  • zoom in : shift z

tcl commands

grid on
grid 50nm 50nm
snap user 50nm
box size 0 0
box position 0 0
paint 'material'
undo

cmosvlsi's People

Contributors

manavshah-28 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.