hello @Stefan Schippers and any other knwoledgeable colleagues here, do you know how to filter stuff in the ngspice terminal, e.g. for example to use the display command and just get the signals in one module? I'm thinking about wildcards or grep, but they didn't work when I tried to use them.
s
Stefan Schippers
11/06/2023, 4:16 PM
May be something like this. Not optimal but works.
Copy code
ngspice 27 -> display > x
ngspice 28 -> shell grep " x1\.xm2" x
x1.xm2.10 : voltage, real, 87958 long
x1.xm2.11 : voltage, real, 87958 long
x1.xm2.4 : voltage, real, 87958 long
x1.xm2.5 : voltage, real, 87958 long
x1.xm2.6 : voltage, real, 87958 long
x1.xm2.7 : voltage, real, 87958 long
x1.xm2.8 : voltage, real, 87958 long
x1.xm2.9 : voltage, real, 87958 long
a
Amro Tork
11/06/2023, 8:52 PM
@Jorge Marin Try to post process ngspice output in python and run it in batch mode.
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.