-
I get "Segmentation fault" error and qucs-s crashes when starting ngspice simulation or trying to save a netlist. ngspice-40+, LinuxMX, qucs-s 24.1.0 compiled from latest github sources. Edit: I may have found the answer. My schematic is a simple s2p symbol from qucs-s library with a reference to s2p file with two ports. I found another thread #450 where people say that ngspice does not support s2p files. I did not know about that. Another AC simulation of a schematic with a simple RC low-pass filter without s2p files runs in qucs-s with ngspice just fine. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
The segmentation fault is related to #392 This issue is partially fixed on the
#450 is related only to XYCE simulator.
Qucsator has native support of RF devices including touchstone files. You may use it, but keep in ind poor performance of the Qucsator on complex circuits and in the time domain. Qucsator is good for RF but not recommended as the general purpose circuit simulator. |
Beta Was this translation helpful? Give feedback.
-
The crash is not related to #392. The s2p file uses Tab instead of spaces as delimiter. You can replace tab by spaces as a workaround and simulation will work. I will add a fix soon. |
Beta Was this translation helpful? Give feedback.
-
I have added a fix for crash. You may get the latest version from git. |
Beta Was this translation helpful? Give feedback.
-
A bit off topic: I use s-parameter files to compare foundry measurements with model performances. Question is, how can I use s-parameter from different operatings points in parametric simulations only in plotting. Tried to put them in one file doesn*t work (with and without an empty line between the data blocks). Using for each file an 2-port setup? Looks a bit elaborate. |
Beta Was this translation helpful? Give feedback.
I have added a fix for crash. You may get the latest version from git.