-
-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add system library of Verilog-A defined devices #343
Comments
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 |
The development of the OpenVAF compiler seems to be suspended. See pascalkuthe/OpenVAF#111 (comment) 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. |
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. |
https://openvaf.semimod.de/blog/vacask/ |
Maybe it makes sense to switch to openvaf-reloaded fork and use it by default. |
Windows builds not provided... |
OpenVaf compiles with msys2 (After an immense effort) |
I reloaded all the MS tools so I can compile va files using OpenVAF once more. As stated in link below, some osdi files cannot be created inside Qucs-S so the Dietmar/Holger created batch file is used. I bodged the bat file to work on my PC. Will this new branch of OpenVAF have all the same functions as the original? Below is a snippet of my bat file for VBIC: openvaf.exe -D__NGSPICE__ -o vbic_4T_et_cf.osdi C:\OpenVAF\code\vbic\vacode\vbic_4T_et_cf.va |
This is based on openvaf-reloaded by https://github.com/arpadbuermen/OpenVAF/ which is mantaining it. |
You might want to try Dietmar's batch file and see if all the va files in the code folder compile. You only need the code folder. Copy code folder to C:\code Run openvaf-compile-va.bat which creates C:\osdilibs Copy OpenVAF.exe to C:\osdilibs Run bat file again and all the osdi files should be created in C:\osdilibs |
I had to change openvaf to openvaf-r in the script. |
Where is the "new" openvaf-r for Windows? As stated earlier, I need to test on a different Windows PC that doesn't have MS tools loaded. |
Reopened. Everything seems to work with |
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:
share/qucs-s/va_library
directory in the installation root.The two ways to integrate these models are possible:
Add a button named like Compile system libraries in the application setting dialog near the OpenVAF configuration input field. Compiled OSDI modules will be placed to the
$HOME/.qucs/osdi_modules
location and attached automatically while forming.spiceinit
config. Modules should be build once.Scan schematic recursively and compile OSDI modules automatically before the simulation if some device referencing Verilog-A model is found.
The combination of these two approaches is also possible. This feature should be added in order to implement #94 in the next release.
The text was updated successfully, but these errors were encountered: