@User @User i added the ability to display capacitance value in skywater-pdk capacitors (mim, mos oxide). This now works also if capacitor is placed deep in a hierarchy and width/length are passed as parameters from the top level (to get the actual numbers xschem must resolve recursively the parameter assignments all the way to the top until it finds 'actual numbers'). Whenever W and L are resolved the capacitance is printed. For now i only have an approximate value based on the area : C = W * L * Carea. If someone can point me to a more detailed expresion (taking both area/perimeter for example) i will update the expression. If capacitance dimensions can not be resolved (for example because a spice .param is used for W/L) then the symbolic expression is displayed. The change is committed in
xschem_sky130 (for the cap symbol updates) and in
xschem (for the recursive param resolution). The parameter resolution affects all components with parameters placed in herarchical schematics, instead of the parameters you see the values passed if these resolve to numbers.
In the coming days i will do similar updates for resistors. Any feedback welcome.