Hello all, What's the equivalent of the "@m.xm1.ms...
# ieee-sscs-dc-23
j
Hello all, What's the equivalent of the "@m.xm1.msky130_fd_pr__nfet_01v8[id]" kind of syntax we use in sky130 in the gf180 context?
b
Should be something like: @m.x1.m0[id].
a
@Jorge Marin This is ngspice syntax regardless of the technology. It should be something like this:
Copy code
@<target_dev>.<device_full_path_in_netlist>[<device_parameter>]
Here an example subcircuit:
Copy code
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,
Copy code
@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.
I hope that helps everyone.
m
@Jorge Marin @Krzysztof Herman Have you started compiling some of the issues? I did not see you guys today.
j
hello @mehdi, really sorry, I was not able to attend and forgot to let you know I'll find out if there are any issues already
k
@mehdi sorry for my absence but I had some duties at IHP. Let me make a call for issues on the public channel.