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
Roel Jordans
11/25/2024, 8:52 AM
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
Jose Daniel Silva Santos
11/26/2024, 3:02 PM
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.
Jose Daniel Silva Santos
11/26/2024, 3:02 PM
and thank you in advance for your time and attention
f
F A
11/30/2024, 12:16 AM
@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
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.