Do anyone know that the corner.rf file actually is...
# xschem
l
Do anyone know that the corner.rf file actually is? Is it a specific device corner for high-frequency models or another thing that shares the RF acronym? And how can I invoke it inside xschem? :)
h
I don’t seem to have this file in my install. Where did you find it?
t
@User: There are RF corner models in open_pdks
$PDK_ROOT/sky130A/libs.tech/ngspice/corners/_corner/_rf.spice
where
corner
is one of
tt
,
ff
, etc. These models correspond to the RF device layouts in
sky130_fd_pr/gds/sky130_fd_pr.gds
.
👍 1
l
Ok, great :) And how does one use these models in xschem? Do I need to reference each cell separately or is there a .lib command I can use?
t
@User: They should be included with the usual
.lib sky130.lib.spice
.
To use them in xschem, you would need to make sure that the device name is the full device name of the RF component, e.g.,
sky130_fd_pr__rf_nfet_01v8_bM02W1p65L0p15
.
👍 1
l
I see, thank you for the information. So if I invoke the 4-terminal nmos symbol, I would need to change the 'model=' line and add the RF get model that I want to use?
s
@User yes it should work. Enter the model attribute without the
sky130_fd_pr__
prefix, it will be added by xschem.
👍 1
l
And so it did :) Thank you all for the help, as always!