Hi, could anybody please tell me how to properly use the
ngspice_get_value.sym
? From what I understand one can use it to display/annotate values on the schematic. I wanted to use it to see the transconductance,
gm
of some mosfets, I was using. From what I could make of the documentation given here on pg 268-270 . I tried to use it as follows:
But as you can see when I click on the Op Annotate option in the waves menu in the top right, it doesn't actually load the value for the trans-conductance. I did explicitly add
@m3[gm]
to the variables list with
.save all @m3[gm]
. Could somebody please tell me what am I doing wrong?
Koustubh
07/08/2024, 3:15 PM
@Stefan Schippers ?
d
Diarmuid Collins
07/08/2024, 8:32 PM
Where do you calculate the dcops in your ngspice?
You need the below to do this:
op
write xxx.raw
Then using the launcher.sym you need to include the below tcl line:
tclcommand="xschem annotate_op xxx.raw"
This loads in the DCOP saved in file xxx.raw.
s
Stefan Schippers
07/09/2024, 5:32 AM
@Koustubh you need to explicitly save the gm values, for sky130 the syntax is a bit odd, see a working example in the image:
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.