tnt
06/25/2024, 2:46 PMmet3/met4
with a few vias, doesn't go very far but it's also fairly thin traces). I measured the segments in klayout then used sheet resistance and came up with the 100 ohm figure.
Now I simulate this in ngspice, just looking at the DC resistance. Basically I check how much voltage a 10uA current generates across the pins (with one of them grounded since the resistance of the transmission gate will depend on the bias level). Simulation shows around 1.2 kOhm (i.e. about 12 mV across the pins).
I now do the same test but on the real silicon using a Keithley 2400 SMU. Instead I get about 24 mV or twice the expected value. It's definitely not noise, I averaged, verified reading with multimeters, it all checks out.
So now the question is : Where did I screw up ? What did I forget to account for ?
Corners / Temperature / VDD ... all show some variations of course, but nowhere even close to that 2x factors even combining all of those.Luis Henrique Rodovalho
06/25/2024, 3:02 PMtnt
06/25/2024, 3:04 PMtnt
06/25/2024, 3:05 PMtnt
06/25/2024, 3:05 PMLuis Henrique Rodovalho
06/25/2024, 3:06 PMtnt
06/25/2024, 3:07 PMtnt
06/25/2024, 3:07 PMLuis Henrique Rodovalho
06/25/2024, 3:07 PMtnt
06/25/2024, 3:08 PMLuis Henrique Rodovalho
06/25/2024, 3:09 PMtnt
06/25/2024, 3:09 PMtnt
06/25/2024, 3:10 PMtnt
06/25/2024, 3:10 PMLuis Henrique Rodovalho
06/25/2024, 3:11 PMLuis Henrique Rodovalho
06/25/2024, 3:14 PMLuis Henrique Rodovalho
06/25/2024, 3:16 PMtnt
06/25/2024, 3:16 PMLuis Henrique Rodovalho
06/25/2024, 3:17 PMtnt
06/25/2024, 3:17 PMLuis Henrique Rodovalho
06/25/2024, 3:19 PMLuis Henrique Rodovalho
06/25/2024, 3:21 PMLuis Henrique Rodovalho
06/25/2024, 3:23 PMtnt
06/25/2024, 3:26 PMLuis Henrique Rodovalho
06/25/2024, 3:28 PMtnt
06/25/2024, 3:34 PMhttps://i.imgur.com/DNMWbL8.pngβΎ
tnt
06/25/2024, 3:34 PMLuis Henrique Rodovalho
06/25/2024, 3:34 PMtnt
06/25/2024, 3:36 PMtnt
06/25/2024, 3:37 PMLuis Henrique Rodovalho
06/25/2024, 3:38 PMLuis Henrique Rodovalho
06/25/2024, 3:40 PMLuis Henrique Rodovalho
06/25/2024, 3:42 PMLuis Henrique Rodovalho
06/25/2024, 3:45 PMtnt
06/25/2024, 3:56 PMTim Edwards
06/25/2024, 4:40 PMextract style ngspice(hrhc)
. For example, the p-diffusion contact resistance is 585 ohms at the nominal corner, but 840 ohms at the high corner. For device resistance and capacitance (not parasitics), use the High-High simulation corner .lib sky130.lib.spice hh
. Note that the sky130.lib.spice
file uses nominal transistor corners when specifying the resistor/capacitor corner, so if you wanted to look at hh
+ ss
, you would need to construct your own .lib
entry with the appropriate file includes.Tim Edwards
06/25/2024, 4:54 PMpad_a_esd0
pin of a GPIO goes through a truly terrible routing job in the "wrapper" cell around the GPIO pad (sky130_ef_io__gpio_pad_wrapped
). That route is on minimum-width metal1 and metal 2 for a length of 19um and passes through two single vias before reaching the ESD resistor on the pad. At nominal resistance corner, that's an additional (and not insignificant) 25 ohms.tnt
06/25/2024, 4:58 PMin
signal with a strong buf_16
but I found out that now it's all one large logic blob and that not only it's only a _4
strength buffer now, but openlane also explicitely added dly
cells on the path π . I didn't know the analog
connection also had such routing done in the wrapper.tnt
06/25/2024, 5:04 PMtnt
06/25/2024, 5:04 PMTim Edwards
06/25/2024, 5:07 PMtnt
06/25/2024, 5:09 PMTim Edwards
06/25/2024, 5:10 PMtnt
06/25/2024, 5:10 PMtnt
06/25/2024, 5:11 PMtnt
06/25/2024, 5:11 PMtnt
06/25/2024, 5:12 PMTim Edwards
06/25/2024, 5:14 PMtnt
06/25/2024, 5:15 PMtnt
06/25/2024, 6:52 PManalog
connections also connect to a sky130_sc_fd_hd_diode_2
which is a bit unexpected.Tim Edwards
06/25/2024, 6:53 PMtnt
06/25/2024, 6:55 PMtnt
06/25/2024, 7:33 PM