Assignment 1.1
Assignment 1.1
ISSN:
Abstract/Summary:
This tutorial shows a step-by step guide on how to design an OR gate using
S-edit and how to simulate the extracted netlist file using T-spice simulation
tool.
Contents:
Revision history:
1
About this S-edit Tutorial
VLSI-ECAD RESEARCH LABORATORY
UNIVERSITI TEKNOLOGI MALAYSIA
Prerequisite This tutorial assumes that you have familiar with the following items:
Knowledge Basic knowledge on OR gate design
2
Creating 2-input OR gate: Schematic Entry
1. Launch S-Edit by double clicking on the „sedit.exe‟ in „T-Spice Pro v6.02‟ folder.
2. Now start the design by placing components. Click on the „Symbol Browser, ‟ to
add in necessary components.
3. Select MOSFET_N and then click place, MOSFET_P and place, Gnd and place and
vdd. Close symbol browser after finish adding components.
3
4. The components are shown in figure below. Some of the components are overlap each
other such as MOSFET_N and MOSFET_P.
5. Mouse option:
4
6. To move the component, hold „alt‟ click on the desired symbol to arrange.
5
7. Since OR gate requires 2 NMOS and PMOS respectively, hence both components
have to be copied. Select NMOS then and then press „ctrl‟ key and drag. Repeat the
same step for PMOS.
6
8. Connect all nodes using „wire .
7
9. Add in input and output ports.
8
10. Connect all ports using either wire connection or name connection . Use „Node
label ‟ to name the ports. Ports with same name will be connected.
11. Once all the connections are done, click page>pin test to make sure all the nodes are
connected.
9
Creating an 2-input OR gate: Generate Netlist
2. In order to simulate the netlist, some parameters need to be defined. There are:
Include MOSFET definition file
Define power supplies
Provide input signals
Type of simulation
Print the waveforms
10
iii. Provide Input Signals:
va_bar a_bar GND pulse(0 2.5 0 2n 2n 23n 50n)
Pulse
width
v. Print Waveform
.print tran v(y) v(b_bar) v(a_bar)
*For more information, please refer to Tannel EDA reference manual, „Device
Statement‟ section.
11
eg netlist:
12
Creating an 2-input OR gate: Simulate Netlist
2. The input file is specified automatically. Choose where to save the output file. Click
„start simulation‟ to begin.
13