Hands-on: start from a working design
Engineers rarely start from an empty schematic. Most new circuits begin as a copy of one that already works: the same inverter, but faster; the same amplifier, with more gain. In this tutorial you make a faster version of the demo inverter and let IC Studio do the sizing, the layout and the checks, while you decide the targets and judge the result. Allow about 20 minutes.
You need the inverter chapter (what tpHL and tpLH are) and the idea of sizing: a wider transistor carries more current, so it charges the load faster.
The specification:
Original cmos_inverter | New design | |
|---|---|---|
| tpHL (output falling) | ≤ 50 ps (it does 33 ps) | ≤ 25 ps |
| tpLH (output rising) | ≤ 70 ps (it does 47 ps) | ≤ 35 ps |
| Load | 20 fF | 20 fF |
Step 1: read the design first
- Open the demo project and the
cmos_inverterschematic. - Click an empty spot of the canvas so that nothing is selected. The panel on the right
now shows the cell’s Specs (
tphl <= 50p,tplh <= 70p) and its Design notes. - Read the notes. They say what the cell is for, why it is sized as it is (the PMOS is twice as wide because holes are slower than electrons) and what to change for another target: for a faster gate, scale both W by the same factor and keep the 2:1 ratio.
- Hover the PMOS Width (W) in the inspector: the tooltip says what changing it does.
Step 2: guess first
Before you let the tool work, estimate on paper. The delay is roughly tp ≈ C·VDD / (2·I): the same idea as 0.69·Ron·C in CMOS logic, with Ron ≈ VDD/I. The current grows with W. Both targets ask for about 1.4 times less delay (33 → 25 ps, 47 → 35 ps), so both widths must grow about 1.4 times; a bit more, because a wider transistor also adds its own drain capacitance to the load.
Step 3: derive the new design
Click Derive a new design from this… in the panel (or Simulation > Derive New Design…). The wizard opens with four parts:
- Name: keep
cmos_inverter_v2. The original is never changed. - Targets: set
tphlto max25pandtplhto max35p. - What IC Studio may change: the W of M1 (PMOS) and the W of M2 (NMOS), each with a plain sentence on what it does. Leave both ticked.
- Options: keep Build the layout like the original and Keep the supply current near the original on.
Click Create and size. The optimizer simulates a few dozen candidates and keeps the passing one closest to the original sizes. A few seconds later the result lists each spec before and after:
tphl <= 25p 33.2p -> 23.8p
tplh <= 35p 47.0p -> 33.2p
M1.w = 4.21µ (PMOS, was 2µ)
M2.w = 1.95µ (NMOS, was 1µ)
Layout: DRC clean; LVS: the transistors match the schematic
Both widths roughly doubled (more than your 1.4 guess: the self-loading), and the ratio stayed near 2:1, as the notes said.
Step 4: check it yourself
Never trust a number you have not seen. Open the new cell and simulate it:
If a check fails, its What to try line says which width to change, and Ask the tutor opens the copilot with the failing check.
Step 5: what else changed?
Specs only measure what they name. The wizard’s What else changed list compares the operating points of the original and the new design: transistors that left saturation, a big change in supply current, matched pairs that got smaller. For this inverter, think about what the specs do not see:
- Input capacitance: the new inverter’s gates are twice as wide, so it is twice as heavy a load for the gate that drives it. Speed here costs speed one stage earlier.
- Power: the switching energy C·VDD² grows with the capacitance, so each edge costs more.
- Area: the layout is bigger.
Step 6: write your own notes
Select nothing on the new schematic and read its Design notes: the wizard recorded where the cell came from and its new sizes. Add a line of your own, in your words: why it is faster and what it costs. The next person to derive from your cell (perhaps you, in three months) will start from what you learned.
Going further
- Derive the amplifier: open
ota5t, Derive a new design, and ask forgain_db >= 50. Watch which knobs the wizard suggests (the input pair shares one W, the mirror another) and read What else changed. - In the copilot, choose Tutor and ask “Help me derive a faster inverter”: it walks you through the same steps one at a time and checks each one.
- The full reference is Start from an earlier design, including
ics deriveon the command line.