Full-Custom Circuit Design |
In this section, we will use Cadence Virtuoso (IDE) + Mentor Calibre (DRC).
vlsi> setlic Choose the number of Cadence IC. vlsi> setlic Choose the number of Mentor Calibre. vlsi> cd ~/d vlsi> virtuoso &
CIW(Command Interpreter Window) is started.
NOTE: A ring oscillator is composed of the odd numbered stages of the inverters with the feedback loop. The oscillating frequency of the ring oscillator depends on the number of stages and the sum of the delay times of the inverters. The delay time of the inverters can be controlled by the current controlling transistors which are connected to the inverter in series. This circuit is often used as a voltage controlled oscillator (VCO). The current of the current controlling transistors controlled by the current of the current mirror circuit. In conclusion, the frequency of the ring VCO is controlled by controlling the current flowing into F_CTRL.
Components (Shortcut = i)
Library | Cell | View | Description |
---|---|---|---|
vdecRO180PDK | nmos18 | hspiceD | 1.8V n-ch MOSFET model |
vdecRO180PDK | pmos18 | hspiceD | 1.8V p-ch MOSFET model |
analogLib | vdd | symbol | |
analogLib | vss | symbol |
NOTE: The symbol of the input pin and output pin are brought up by the shortcut key "p".
Properties of MOSFETs (Shortcut = q)
Type | L | W | Multiplier (Number of parallel connections) |
---|---|---|---|
n-ch MOSFET | 180n | 1u | 1 |
p-ch MOSFET | 180n | 2u | 2 |
Estimate the AD (Drain area), AS (Source area), PD (Drain periphery), PS (Source periphery) by the following formulae and input them to the property form of MOSFETs.
AD = AS = 0.5um*W (ex. If W=1um, then AD = AS = 0.5p) PD = PS = 1u + W (ex. If W=1um, then PD = PS = 2u)
Components (Shotcut of Instance = i, Shortcut of Property = q)
Library | Cell | View | Description |
---|---|---|---|
Lticka | rosc | symbol | |
analogLib | res | symbol | Resistance = rbias |
analogLib | cap | symbol | Capacitance = 6f |
analogLib | vdc | symbol | DC Voltage = 0.9 |
analogLib | vdd | symbol | |
analogLib | vss | symbol | |
analogLib | gnd | symbol |
Settings in Test Editor
Model File | Section |
---|---|
spice/hspice/bu40n1.mdl | |
spice/hspice/bu40n1.skw | NT |
spice/hspice/bu40n1.skw | PT |
NOTE: The oscillator is started by the perturbation, such as a noise, a change of temperature, and a transient in power-on. Before the transient analysis, the circuit simulator automatically calculates the initial condition, which is obtained from DC analysis for the static bias state, however, the initial condition calculated by the DC analysis includes no perturbation and the circuit keeps a initial state. In the simulation of the oscillator, the initial condition which is deviated from the DC bias condition should be provided to the simulator. In this example, the initial voltage of 0.9V was applied to the OUT node. The transient response time depends on the value of given initial condition.
vlsi> emacs rosc.sp &
Note: The simulation is suspended at .ALTER directive and the parameter rbias is updated by .PARAM directive, thereafter the simulation is restarted successively.
vlsi>cd ~/d/sim vlsi> setlic Choose the number of Synopsys HSPICE. vlsi> hspice rosc.sp . . . . >info: ***** hspice job concludedThe simulation has succeeded if you see "hspice job concluded". If an error occurs, check the file name and the revised netlist.
vlsi> cscope &
Copyright (C) 2016- Akio Kitagawa, Kanazawa Univ.