ra3xdh / qucs_s

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

Add system library of Verilog-A defined devices #343

Closed ra3xdh closed 2 days ago

ra3xdh commented 10 months ago

The microstrip devices models #94 will be most likely implemented in form of Verilog-A modules. These modules should be compiled with OpenVAF and attached to Ngspice. It's need to provide a way to attach Verilog-A model to system devices. I propose the following approach:

The two ways to integrate these models are possible:

The combination of these two approaches is also possible. This feature should be added in order to implement #94 in the next release.

zergud commented 10 months ago

there is a more flexible solution for library location:

USER and PROJECT directory are writeble for user

all compiled OSDI modules will be placed to the $HOME/.qucs/osdi_modules location and attached automatically while forming .spiceinit config

compilation approach, control duplicated name and recompilation condition (e.g. via file timestamp) are subject to discuss

ra3xdh commented 6 months ago

The development of the OpenVAF compiler seems to be suspended. See https://github.com/pascalkuthe/OpenVAF/issues/111#issuecomment-1931763488 for more details. By this reason I am removing this issue from the development plan for the next release. Let's wait for more news about OpenVAF future, because the support of Verilog-A in Qucs-S+Ngspice is strongly depends on OpenVAF.

ra3xdh commented 2 days ago

The development of OpenVAF compiler still be suspended. No more visible contributions since October 2023. I would close this task, because the future of OpenVAF still be not clear. May be reopened if some maintainer will appear in OpenVAF project.

zergud commented 2 days ago

https://openvaf.semimod.de/blog/vacask/ "some maintainer" appear :)

ra3xdh commented 2 days ago

Maybe it makes sense to switch to openvaf-reloaded fork and use it by default.

tomhajjar commented 2 days ago

Windows builds not provided...

zergud commented 2 days ago

https://github.com/arpadbuermen/OpenVAF?tab=readme-ov-file#what-about-binaries

tomhajjar commented 2 days ago

One of the problems with OpenVAF is it requires external resources. #373 , #100

After it was decided OpenVAF was dead I deleted these resources so I'm back to square one...