ra3xdh / qucs_s

Qucs-S is a circuit simulation program with Qt-based GUI
https://ra3xdh.github.io/
GNU General Public License v2.0
853 stars 109 forks source link

XyceDigital.lib symbols and test files #946

Closed tomhajjar closed 4 weeks ago

tomhajjar commented 1 month ago

I cleaned up the XyceDigital.lib symbols and test files.

We still have the PATH issue because the library devices in a schematic use an explicit PATH pointing to the folder where XyceDigital.lib is located. Also don't know how Qucs grabs the symbols for XyceDigital.lib, I assume it's hard coded.

Digital_xyce_prj.zip XyceDigital_symbols.zip

ra3xdh commented 4 weeks ago

I cleaned up the XyceDigital.lib symbols and test files.

Thanks! I will upload updated examples.

Also don't know how Qucs grabs the symbols for XyceDigital.lib, I assume it's hard coded.

It is not hardcoded. Qucs looks for symbols in the directory named the same as library. For example in XyceDigital for XyceDigital.lib. If the symbol XyceDigital/AND2.sym is found for .SUBCKT AND2 ... it will be loaded automatically. Otherwise the default square symbol will be created. There is no way to specify the pins sequence using this method. Please don't use this method for making new libraries. It requires a redesign. We have implemented only one library using this feature.

ra3xdh commented 4 weeks ago

We still have the PATH issue because the library devices in a schematic use an explicit PATH pointing to the folder where XyceDigital.lib is located

This is fixed for usual libraries in v24.3.1 by #931 The SPICE libraries in library manager works differently. Wait for implementing of #944

ra3xdh commented 4 weeks ago

The updated libraries uploaded by #947

tomhajjar commented 3 weeks ago

@ra3xdh

The latest nightly has the old XyceDigital symbols

ra3xdh commented 3 weeks ago

This build is compiled from another branch and contains only fix for the bugs reported in #948 The upcoming v24.3.2 will contain no library update, only this two bugfixes. The library update will be included in 24.4.0 (planned for November or December)