0% found this document useful (0 votes)
10 views

Appendix 2 - Calculator User Guide

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

Appendix 2 - Calculator User Guide

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

APPENDIX 2 – Calculator User Guide

APPENDIX 2
CALCULATOR USER GUIDE

CALCULATOR USER GUIDE


▪ Create a schematic of INV as Figure 1 and testbench as Figure 2 with 𝑣𝑑𝑑 = 1.0𝑉

Figure 1. Schematic of INV

Figure 2. Testbench transient analysis of INV

Department of Electronics Page | 1


Analog and Mixed Signal IC Design Laboratory
APPENDIX 2 – Calculator User Guide

▪ Using transient analysis, you will get a waveform similar to Figure 3. In this example, we want
to measure the rising time of output signal /OUT from 0.1 ∗ 𝑣𝑑𝑑 = 0.1𝑉 to 0.9 ∗ 𝑣𝑑𝑑 = 0.9𝑉
(also call 10%-90% rising time).

Figure 3. Waveform after running transient analysis


❖ Method 1: Using cursor to measure.
o Press v two times to get two vertical cursors. Zoom in the waveform and move two
cursors to point that have the voltage is 0.1V and 0.9V as Figure 4.

Figure 4. Using cursor to measure rising time


o Get the value at time axis (x-axis), then we can calculate rising time
𝑟𝑖𝑠𝑒𝑡𝑖𝑚𝑒 (10% − 90%) = 355.84𝑢𝑠 − 354.16𝑢𝑠 = 1.68𝑢𝑠
o This method is easy, but it is less useful:
▪ Hard to move the cursor to the point that have exactly voltage 0.1V and 0.9V.
▪ Cannot reuse for the next running simulation.
→ Using Calculator to measure rising time. It takes time for the first-time setup, but it
is more exactly and can reuse many times.

Department of Electronics Page | 2


Analog and Mixed Signal IC Design Laboratory
APPENDIX 2 – Calculator User Guide

❖ Method 2: Using Calculator.


▪ At Tools tab, choose Calculator. The Calculator window will open as Figure 5.

Figure 5. Calculator working window


▪ Choose riseTime symbol in Calculator working window. You define the signal and value
for riseTime setup tab as Figure 6.

Figure 6. RiseTime setup tab

Department of Electronics Page | 3


Analog and Mixed Signal IC Design Laboratory
APPENDIX 2 – Calculator User Guide

o At row Signal, fill the text VT(“/OUT”) – that means the waveform of /OUT voltage
signal with transient analysis. There are some type VDC, VF, VT, IDC, IF, IT.
Type Analysis
VDC Voltage DC analysis
VF Voltage AC analysis
VT Voltage TRAN analysis
IDC Current DC analysis
IF Current AC analysis
IT Current TRAN analysis

o Initial value is the first state voltage value, Final value is the next state voltage value.
For example, rising time is measured when output voltage rising from low voltage (0V)
to high voltage (𝒗𝒅𝒅 = 𝟏𝑽).
o Percent Low và Percent High is the percentage of voltage which we want to measure
the risetime. For this example, it is from 10% to 90%.
o Choose Apply. We get the equation to measure rising time as Figure 6.
riseTime(VT("/OUT") 0 nil 1 nil 10 90 nil "time" ) (1)
o You can run by clicking Running button or Copy a measurement equation then add
to Output Setup later simulation as Figure 7.

Figure 7. Define measurement equation in Output Setup tab


o At Outputs Setup tab > Right click > Choose Add Expression > Paste the
measurement equation generated from Calculator.
o You can define Name and Spec for this measurement equation.

Department of Electronics Page | 4


Analog and Mixed Signal IC Design Laboratory
APPENDIX 2 – Calculator User Guide

o Running testbench you will get the result as Figure 8.

Figure 8. Result after simulating


o The simulation rising time result is 1.668us. It is more accuracy compared to the 1.68us value
measured by using cursor method.
❖ Corner with vary power supply voltage
▪ In the ADE-XL Lab, we define many corners with the variation of supply voltage 𝒗𝒅𝒅.
But equation (1), we fixed the value of 𝒗𝒅𝒅 = 𝟏. 𝟎𝑽 → Cannot use this equation for all
corner when measure rising time.
▪ We must define the variable 𝑣𝑑𝑑 in the measurement equation to measure the rising time at
many corners as Equation (2)
riseTime(VT("/OUT") 0 nil VAR("vdd") nil 10 90 nil "time") (2)

Figure 9. Result after simulating many corners


❖ Measurement equation function
▪ Beside riseTime function, we also have other functions such as fallTime, DutyCycle, freq,
cross, flip, dB20, dB10, average, delay, abs, real, imag, value, xmax, xmin, ymax,
ymin…
▪ The detail explained working and define parameter for each function can be found at this
manual notebook
▪ We also can read the Virtuoso Cadence Help to get more detail information as Figure 10
and Figure 11.

Department of Electronics Page | 5


Analog and Mixed Signal IC Design Laboratory
APPENDIX 2 – Calculator User Guide

Figure 10. Open Cadence Virtuoso Help

Figure 11. Cadence Virtuoso Help Window for Calculator Functions


▪ You must read the working of some common usage functions for LAB2, LAB3 and LAB4
Experiment.

Department of Electronics Page | 6


Analog and Mixed Signal IC Design Laboratory

You might also like