I need to have a 100 ohm resistor and a 500pf capc...
# sky130
h
I need to have a 100 ohm resistor and a 500pf capcitor in my layout in magic. Can any one advice which capacitor/resistor instance should I use ? and the corresponding scales? I read the docs at https://skywater-pdk.readthedocs.io/en/main/rules/device-details.html#mim-capacitors but the figuring what the acronym means is difficult.
l
The answer is no. 500 pF is huge. 50 pF is realistic and still large.
r
Also, a VPP capacitor (the models you have in your first picture) is a 'vertical parallel plate' capacitor. That's a different structure from the MIM cap for which you've linked the documentation. The xschem sky130 primitives (pr) symbol library has a symbol for the MIM cap that takes dimensions and calculates the effective capacitance. You may want to use that to see what kind of capacitance you can make with an acceptable size for your circuit. You can also calculate it yourself, looking at the table in the documentation, the capacitance for a MIM cap is 2fF per square micron (CMIMA), and 0.19fF/um for the perimeter (CMIMP). So, a 10um x 10um capacitor is about: 10x10x2 (area) + 4x10x0.19 (perimiter) = 207.6 fF
h
@Luis Henrique Rodovalho these capacitor values are for the OSU 180nm PLL. I designed the same PLL using sky130 nm library and these values worked for Prelayout simulation. I also had the mosfet sizes made similar to the 180nm sizes. However, I can understand that for the layout these would be very large. By how much should I scale the values? (This ckt is a loop filter of clk multiplier PLL)
t
Can't you just decrease C1 and increase R2 to keep the same time constant for your loop filter? Picking a R1 value closer to 1kohm may be better, and will alleviate your capacitor area
h
@Roel Jordans I added MIM capacitors and generic li resistor as a replacement. I have provided random sizes so that I can see how these get imported in magic. As you can see in the 2nd picture the resistor is the blue one (i changed the size manually in magic so that it becomes 100 ohm). The other two capacitors are imported as 4 boxes. How can I connect these to make my the ckt look like the schematic ?
r
The cap_mim_m3_1 that you used has contacts on the m4 layer when generated (it's basically the bottom part of the MIM cap cross-section picture from the documentation). The big rectangle of 3um x 1um is the top plate which has a via set on top that goes to m4, you can connect there if you draw something on the m4 layer. The narrow rectangle to the right is a via from m3 to m4 that connects to the bottom plate of the capacitor. You can connect to it either from m3 directly or from m4. If you want to go to the resistor you will need to add a few vias yourself. The one you've used is on the li layer so you will need to go m4->m3->m2->m1->li.
Also, the resistor is quite small and made of the same material as many of your wires. You'll be using much more wire than just this bit to connect things together so expect to get much more resistance when you do parasitic extraction from the layout.
h
@Roel Jordans do you have any tutorial video explaning the capacitor. i read your text multiple times, i get only hints.
@Thomas Dexter i tried your advice. the output is getting distorted
b
I thought this video was helpful when getting used to mimcaps.

https://www.youtube.com/watch?v=0mF6tU6Xf0Q