Go to Rajeev Pandey homepage  Model File
 IIT-M Resource

Model files

MOS models

These are sample models obtained from public domain data such as parametric run results published on MOSIS's website. These are provided so that students can get a feel for performance of circuits in various technologies. Do not use these to simulate circuits that are to be fabricated-get the models for your process from the fabrication foundry. Click on the process name for more information

For realistic modeling of circuits, include the drain and source junction capacitances by specifying appropriate values of "ad", "as", "pd", "ps" for all MOS transistors. In absence of layout information, you can use 2Lmin to be junction length(i.e. 0.36um in a 0.18um technology) and set ad = as = 2WLmin and pd = ps = 2(W+2Lmin).

Add the following line to your netlist to use these models with Eldo
.option compat

Opamp models

Use these models only with +/-5V supply. Because of the way theyy are modeled, the gain, and more crucially, the unity gain frequency is very sensitive to the supply voltage. At +/-6V, the dc gain and unity gain frequency are more than 3x higher than at +/-5V.

System level simulators

Drawing tools

Xcircuit is an excellent tool for drawing publication quality circuits. You can use it for your reports. It can also be used for schematic capture and netlisting, but is a bit cumbersome. Download the latest version of Xcircuit at here. You might want to go through the schematic capture tutorial in order get familiar with the netlisting process. If you use machines in FPGA/VLSI/IE labs, check to see if Xcircuit is already installed.

Circuit Simulators in our labs

Cadence is a front to back IC design environment and is installed in our research labs. If you are working on a project in these labs, you can also use the simulator for coursework. To use the MOS models below, use the MOS symbols from analogLib with the right model names(cmosp and cmosn for pMOS and nMOS respectively).

Design Architect and Eldo from Mentor Graphics can be used for schematic capture and circuit simulation respectively. The VLSI lab in the EE dept. has license servers for these. You can install these tools on your hostel(Linux) machines and use the VLSI lab licenses. Download the directory /pub/mentor_DAIC from athreya. Under this, you see compressed archives of Design Architect and Eldo, and instructions for installation(Readme.pdf). The instructions are self explanatory. From design architect, you can draw schematics, invoke the circuit simulator and run analyses, and view the results. This file, also available in /pub/mentor_DAIC, outlines the procedure for installing and using the simulator. Detailed documentation can be found at icflow_home/shared/pdfdocs and icflow_home/shared/htmldocs for Design Architect and at AMS_2005.3/documentation for Eldo. If things don't work,

  • Go through Readme.pdf and make sure that you have followed all the steps correctly.
  • Check that you are able to reach the license servers from your machine by pinging them(10.7.9.34, 10.7.9.35, 10.7.9.36)
  • Run "lmstat -c 1717@10.7.9.34" to check if the license servers are running. If not, report it to Shankar(5478) and me.
(Thanks are due to Shankar and Abishek for figuring out these tools).

Eldo can be run in standalone mode to simulate circuits. You'll need to code netlists by hand. There are institute wide licenses for the stand alone simulator. If you are not going to be doing schematic capture, but are going to type your netlist by hand, use this. The binaries are installed in the DCF as well as the FPGA and IE labs. Feel free to copy them to your hostel Linux PCs. Eldo works like any other SPICE, so if you are familiar with SPICE netlisting, it should be smooth sailing. To simulate a circuit, create it in Xcircuit and generate a netlist. Add the required analysis commands and include the MOS model files to get going. An extensive Eldo user guide (eldo_ur.pdf) should help point out the powerful features of the simulator. Manuals can be found in the $anacad/documentation directory. To setup Eldo, see the end of this section. Eldo can be downloaded from the FPGA lab machines

  • Version 2008.2 is installed at /tools/Mentor/AMS_2008_2_IXL/ Copy this directory to a suitable location on your machine.
    (If you get the following error:
    "/home/dhrid/Mentor/com/eldo: 358: Syntax error: Bad fd number"
    Chage line 356 of that file from "ulimit -s unlimited >& /dev/null" to "ulimit -s unlimited >/dev/null 2>&1"
  • The 2008.2 version may not work with newer kernels. For that download Version 2011.1 which is at /tools/Mentor/ams_11_1.ixl.tar, extract the contents and follow the installation instructions

Xelga This is a waveform viewer from Mentor Graphics that understands Eldo output. Use this to plot your simulation outputs. Manuals can be found in the $anacad/documentation directory.

Eldo/Xelga setup with institute wide licenses:

  • Log on to the department ftp/ssh server 10.7.0.1 (athreya). Copy the directory /pub/mentor to some convenient location in your machine.
  • Add the following line to your /etc/hosts file
  • 10.65.0.45 moon.cc.iitm.ernet.in moon
  • Add the following lines to your startup script in your home directory
    For csh or tcsh: ~/.cshrc
    # ANACAD BEGIN #########################
    # ANACAD SOFTWARE Initialization
    setenv anacad /tools/mentor # (change as necessary. It is /pub/mentor in DCF)
    source $anacad/com/init_anacad
    # ANACAD END #########################
    setenv LM_LICENSE_FILE 1717@10.65.0.45
    set path = ($anacad/bin $path)

    For zsh/bash: ~/.profile or ~/.bashrc
    # ANACAD BEGIN #########################
    # ANACAD SOFTWARE Initialization
    export anacad=/tools/mentor # (change as necessary. It is /pub/mentor in DCF)
    source $anacad/com/init_anacad.ksh
    # ANACAD END #########################
    export LM_LICENSE_FILE=1717@10.65.0.45
    export PATH=$anacad/bin:$PATH

For those who want to use the tool in DCF/FPGA Lab/IE Lab, follow the same procedure except steps 1 and 2.

If things don't work,

  • If Eldo does not fire up : First make sure that the environment variables are properly set.
  • If Eldo complains about licenses : check if your machine is able to reach the license server (moon.cc.iitm.ernet.in or 10.65.0.45). If moon is not reachable, contact your network administrator.
  • If moon is reachable, but you are unable to run Eldo, run "lmstat -c 1717@moon" from your command line. If the result is that the license server is running, it means that your environment variables are not properly set. If the license server is dead, please contact Mr.S.K.Ramesh at the Computer Center (Phone 4980).
  • If Eldo crashes complaining about the kernel version, add the following line to .cshrc(and source it) setenv LD_ASSUME_KERNEL 2.4.1

Freeware circuit simulators

Any simulator that is capable of using the models below can be used for your simulations. Free tools that have schematic capture and simulation capabilities include the following. You may have to make some trivial modifications to the syntax of model files for these simulators.

  • NGSpice is the continuation of original Berkeley SPICE3. Freely downloadable full simulator.
  • NGSpice online can be used without installing anything. You just have to enter the netlist.
  • LT Spice from Linear technology. Runs on MS Windows. Thanks to T Siva Viswanathan, here is a howto on using the models below with LT Spice(cmosn.asy and cmosp.asy)
  • Simetrix from Catena software. Runs on Linux and MS Windows. Free evaluation version has a limit on circuit size.
  • Micro cap runs on MS windows. Free evaluation version has a limit on circuit size. Include the relevant library by adding the following line in the text page of your schematic
    .include c:\path_to_library\tsmc018.lib
    where path_to_library is the path where tsmc018.lib is installed.
    Draw your schematic. For MOS transistors, use the model names given in the library file (cmosn and cmosp). It should show that it is picking these names off the file you specified. Add the desired W and L in the VALUE field. (e.g VALUE=W=2u L=0.18u M=2) Add other components as required and modify their values. You can then choose the desired analysis from 'Analysis' pull down menu, run the analysis and plot the results.
In addition to these a number of open source circuit design tools(not just circuit simulators) are listed at this link.
-> VLSI Resource
-> Model Files-IITM
-> CAD Lab
-> VLSI Library
-> Main


Use Any Browser Valid HTML 4.01 Strict Valid CSS!

Free Hit Counter
Last updated on September 2015 at 15:16 IST