E3-238: Analog VLSI Circuits Lab 2: Instructions
E3-238: Analog VLSI Circuits Lab 2: Instructions
INSTRUCTIONS
1. Format the graphs exactly as required in the problem.
2. Include duly filled Table 2 and Table 3 in the report.
3. Submit your report through the “Submit work” link provided in Microsoft Teams.
(04)
1
Assume reasonable values for the unknown process parameters (if required).
2
Delete the parameter if the given information is not sufficient to calculate its value.
3
Format the graphs (labels, ranges, scales, and parameters) as mentioned in the problem statement.
4
The expression 𝑙𝑖𝑛𝑠𝑝𝑎𝑐𝑒(𝑠𝑡𝑎𝑟𝑡, 𝑠𝑡𝑜𝑝, 𝑁) represents a set of N numbers spaced linearly between the start and stop values.
5
The name nmos2v refers to a 1.8V nominal VT NMOS transistor with a 1.8𝑉 inter-terminal voltage limit.
1|Page
LAB 2, E3-238 ANALOG VLSI CIRCUITS, AUG-DEC 2021, , INDIAN INSTITUTE OF SCIENCE, BANGALORE (560012), KARNATAKA, INDIA
2|Page
LAB 2, E3-238 ANALOG VLSI CIRCUITS, AUG-DEC 2021, , INDIAN INSTITUTE OF SCIENCE, BANGALORE (560012), KARNATAKA, INDIA
(10)
a) Design a current mirror for input reference current of Ii = 10 A and output current of Io = 10 A.
Sweep Vout and plot % error ((𝐼𝑜,𝑠𝑖𝑚 − 𝐼𝑜 ) × 100/𝐼𝑜 as a function of Vout. How can you reduce
error? (Hint: increase L). Show change in error with increasing L for a fixed Vout (for example Vout = (5)
VDD). Why does increasing L reduces error?
b) In the above design, sweep temperature from -40 to 150 C and plot the effect on % error. Can you
reduce error by increasing Vod? (5)
c) Repeat the exercise for Ii = 100 nA, and Io = 1A. Note that you would require large L to satisfy
sufficient Vod. Compare the estimated area of design a) and c). (5)
d) Use the designs of a) and c) and provide a step in the input current Ii with rise time of 1ns. Plot the
transient settling of Io with time. Comment on the results of a) and c).
3|Page
LAB 2, E3-238 ANALOG VLSI CIRCUITS, AUG-DEC 2021, , INDIAN INSTITUTE OF SCIENCE, BANGALORE (560012), KARNATAKA, INDIA
VDD = 0.9V
VSS = -0.9V
Use the nmos2v, and pmos2v transistor cells from the tsmc18 library.
a. Explain your choice of the DC operating point based on the trade-offs between the specifications
given.
b. Derive the expressions for frequency-dependent voltage gain, input impedances, and output
(04
impedance from the small-signal model of the circuit. Obtain the small-signal model parameters )
by simulating the transistor at the chosen bias point.
c. Simulate the circuit using AC analysis and include the following graphs in the report:
(06+04)
1. Voltage gain in dB versus frequency showing the -3 𝑑𝐵 corner point.
2. Input resistance (left y-axis) and input reactance (right y-axis) versus frequency.
3. Output resistance (left y-axis) and output reactance (right y-axis) versus frequency. (06)
d. What is the ratio between the bias current and signal current (peak amplitude) in M3? Comment
on the applicability of the small-signal model for the source follower stage. Also, explain the
limiting factors for the voltage gain, bandwidth, and output resistance. (Write individual
response in the report)
(02+02+06)
HINT
The design problem is essentially an optimization problem where an objective function is to be
maximized (or minimized) satisfying the constraints. A possible choice for the objective function could
be a function between 𝑔m𝑟0𝑓T/𝐼D (performance metric) and 𝐼D/𝑊 (design or decision variable)8. The
objective would then be to find the 𝐼𝐷/𝑊 which maximizes the 𝑔𝑚𝑟0𝑓𝑇/𝐼𝐷.
7
The optimal design implies finding the optimum transistor sizes and bias voltages (or currents).
8 What transistor lengths and which transistor’s 𝑔m𝑟0𝑓T/𝐼D and 𝐼D/𝑊 to be used is left to the designer’s choice
4|Page