Comments (6)
There is no solution for this issue using the existing procedure for Verilog-A devices. I am planning to add new Verilog-A device that will act like SPICE file device and will not require the JSON files. But don't expect this feature to be implemented in the near future because of low demand and high time effort.
You can use the following workaround.
- Compile the VA file from CLI outside Qucs-S using OpenVAF
- Specify the OSDI path using the spiceinit script.
- Put .MODEL on schematic
- Put the SPICE generic (Z) device referencing letter N and specify the proper model name for it
from qucs_s.
The file usually has a flag of 0/1 or 1/-1 that determines n or p. One could add a line that sets the flag and create two files.
from qucs_s.
It is not possible to attach two JSON *.sym
files to one *.va
file using the existing workflow. Wait until the Verilog-A devices will be rewritten without need to use JSON or use the workaround. I don't promise a quick fix for this.
from qucs_s.
One could create two files and add a line that sets the flag.
I don't use Verilog myself...
from qucs_s.
@ra3xdh : Don't know your concept. But at the moment it is a bit cumbersome that each instance get his own model fixed burned in the netlist. This prevent to include library files with .model cards for each device construction and type. This concept can sufficient for usual rf circuits but not for analog and mixed-signal circuits.
Another topic is the separation of instance and model parameter. The latest release of CMC VA models make more and more this distinction, whenever unfortunately some models allow double usage - model and device parameter. I think it should considered to take care for that in the future.
from qucs_s.
The issue is not resolvable using the current way of Verilog-A devices support using the JSON files. Use the proposed workaround with SPICE generic device and modelcard. The situation will improve after implementation of #343 Don't expect a quick fix here. Closing for now.
from qucs_s.
Related Issues (20)
- Relative path in Nutmeg script HOT 13
- Plotted data appears, disappears, appears... HOT 3
- Open recent project HOT 1
- Order of blocks in control section HOT 2
- Strange simulation results HOT 5
- Keyboard shortcuts not working using Qt>=6.6 HOT 1
- macos build failed with qucsator_rf HOT 12
- Expired Sign Keys HOT 6
- Potential error in cauer band(pass|stop) center frequency calculation HOT 2
- Add Windows CI setup using Guthub actions HOT 11
- Wrong bound box for simulation block HOT 1
- the open/save box is very slow HOT 5
- How use xxx.va model and other mos transistor which not included in Qucs-s? HOT 7
- Selection Box, Selecting Items and Moving Items Issues HOT 21
- Windows Security Complaints HOT 9
- Nutmeg script text selection issue HOT 5
- Getting the error "No simulation found. Please add at least one simulation!" HOT 1
- Get rid of Q3PtrList wrapper HOT 2
- Automatically add .OPTION INTERP if Parameter sweep + TRAN analysis presents on schematic HOT 1
- Issues Editing Sub-circuit Symbols HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qucs_s.