Hi, could anybody please tell me how to properly u...
# xschem
k
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?
@Stefan Schippers ?
d
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
@Koustubh you need to explicitly save the gm values, for sky130 the syntax is a bit odd, see a working example in the image:
👍 1