Jorge Marin
07/26/2023, 7:45 PMAmro Tork
07/26/2023, 11:20 PMAmro Tork
07/26/2023, 11:21 PMChris
07/26/2023, 11:26 PMStefan Schippers
07/27/2023, 10:06 AMoption savecurrents
and use save all
in your .control
block. By looking into the raw file you will get the used syntax.Amro Tork
07/30/2023, 4:59 AM@<target_dev>.<device_full_path_in_netlist>[<device_parameter>]
Here an example subcircuit:
xinv in out inv
.subckt inv in out gnd vdd
mn out in gnd gnd NMOS
mp out in vdd vdd PMOS
.ends
To reference nmos device,
@m.xinv.mn[id]
Now, how to deal with GF180MCU or any other technology that wraps the model with subcircuit?
You need to check the model card to see how the internal device is named or if there are deeper subcircuit inside.
As prof. @Boris Murmann mentioned in GF180MCU, the device named internally m0
but keep in mind that the x1
depends on your subcircuit naming.