-
I'm very new to using Qucs-S. I want to know how to include a verilog-a module, but I can't seem to find any resources. I'm familiar with using verilog-a via openvaf with ngspice, but not with Qucs-S. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 4 replies
-
I have added support for the OpenVAF+Ngspice in the version 1.1.0. This feature is not well documented because of very low demand. You can find some notes on the Verilog-A model usage here #197 Also look at the MOS-AK presentation from 2014: https://mos-ak.org/venice_2014/publications/T_4_Brinson_MOS-AK_Venice_2014.pdf The procedure for the Qucs-S remains the same. The application will invoke OpenVAF instead of ADMS automatically if Ngspice is selected. I have recently discovered that Verilog-A simulation is broken in the latest release v2.0.0. See #321. There is no workaround for this. You have to install v1.1.0 in a separate directory if the Verilog-A simulation is needed. I am planning to add the fix in the next release. |
Beta Was this translation helpful? Give feedback.
-
I have fixed the #321 on the |
Beta Was this translation helpful? Give feedback.
-
This is #321 It is fixed on |
Beta Was this translation helpful? Give feedback.
-
You may also wait for the next release if the Verilog-A simulation is not urgent. I am planning to prepare the packages till the end of October. |
Beta Was this translation helpful? Give feedback.
-
Yes, you may build the subcircuit and specify the OSDI modules using spiceinit #26 |
Beta Was this translation helpful? Give feedback.
-
Yes, agreed with this. The Verilog-A support would benefit from redesing. The workflow with JSON files and module build/load was proposed by Qucs developers in 2014. I decided to reuse for Ngspice+OpenVAF and don't invent anything from scratch. I have an idea to implement special Verilog-A file device that will look like as existing SPICE file device without JSON and manual build/load steps. The OpenVAF compiler should be invoked automatically if such device is presented in schematic. But don't expect the adding of this device in the near future because of very low demand. To be honestly, the Verilog-A simulation features are never used by 99% of Qucs-S users. |
Beta Was this translation helpful? Give feedback.
I have added support for the OpenVAF+Ngspice in the version 1.1.0. This feature is not well documented because of very low demand. You can find some notes on the Verilog-A model usage here #197 Also look at the MOS-AK presentation from 2014: https://mos-ak.org/venice_2014/publications/T_4_Brinson_MOS-AK_Venice_2014.pdf The procedure for the Qucs-S remains the same. The application will invoke OpenVAF instead of ADMS automatically if Ngspice is selected.
I have recently discovered that Verilog-A simulation is broken in the latest release v2.0.0. See #321. There is no workaround for this. You have to install v1.1.0 in a separate directory if the Verilog-A simulation is needed. I am planning…