Good evening, I was building a simple circuit in ...
# sky130
j
Good evening, I was building a simple circuit in Xschem using the Sky130A PDK to test the simulation functionalities of Ngspice. However, when I tried to display the values of my component—specifically an NFET 01V8—such as gm or VDS, I received the message "notype, real, 1 long" instead of the expected numerical values. What do I need to do to obtain these values?
r
What is your simulation script? Did you explicitly save the value for these (ngspice needs that)? Add a .save statement for each that you want to inspect and see if that helps, for example:
.save @m.xm1.msky130_fd_pr__nfet_01v8[gm]
j
the image is the script that i used. I thought that including ".save all" automatically saved all the values. I tried to add your suggestion, if i replaced the line .save all with
@m.xm1.msky130_fd_pr__nfet_01v8[gm]
it gives me an error message that -i(V2) no such vector but if both lines are in the code that message doesn't show up and the result is still notype.
and thank you in advance for your time and attention
f
@Jose Daniel Silva Santos use print instead of display. print @m.xm1.msky130_fd_pr__nfet_01v8[gm] print @m.xm1.msky130_fd_pr__nfet_01v8