Comments (12)
I have just checked this schematic and everything works as expected after the setting of the full path to modelcard files. You doing something wrong. I assume you have forgot to save the subcircuit after the correction of the paths.
from qucs_s.
Simple to say I will do something wrong!
The long path was only an additional experiment. In the provided BSIM4_inv.sch stands only "nmos4p0.mod" and "pmos4p0.mod". And the generated netlist have correct .include lines. I can simulate this file with ngspice very well on command line.
Maybe I have to set a working directory somewhere? Forgot to say I am under Ubuntu 22.04.
from qucs_s.
I still cannot reproduce this issue. The schematic file is definitely not broken. I am using Ubuntu22.04 and Ngspice-41. I have also tested Ngspice-39. Everything works as expected. Here are my simulator settings and screenshot from the application:
from qucs_s.
This are my settings and the error message:
qucs-s is build by latest github source.
Same for ngspice - but also tried with older version.
BTW: I see it is the onlyest version with external models.
from qucs_s.
Sorry, but I still cannot reproduce this. Do more simpler schematics work with Qucs-S on your machine?
from qucs_s.
I have just tested Windows version and I cannot reproduce the problem with .INCLUDE. Everything works as expected on Windows platform too.
from qucs_s.
OK, perhaps my system is wrong.
I will close it.
Thanks
from qucs_s.
After installing latest linux and windows version I have still this problem, that the bsim4 example has the problem of not finding nmos4.mod and pmos4.mod.
All examples without include or which have the models included in the schematic are working fine.
I can simulate on commandline the netlist.cir with my ngspice41+ without any problem.
from qucs_s.
Sorry, I cannot reproduce this error. I performed the following steps:
- Install Ubunutu-22.04 into the fresh VirtialBox.
- Install qucs-s v2.1.0 package from here: https://software.opensuse.org/download.html?project=home%3Ara3xdh&package=qucs-s
- Compile and install ngspice-41 into the
/opt/ngspice-41
prefix - Specify the ngspice path in the Qucs-S settings
- Copy qucs-s examples into the
$HOME/examples
directory - Open BSIM4_Ring_Osc.sch file.
- Fix paths to
*.mod
files in BSIM4_inv.sch file - Save BSIM4_inv.sch file
- Launch simulation with F2
- Everything works as expected (See the screenshot)
Please double check that you have performed everything mentioned above. The simulation also works fine using the system package Ngspice-36 from the repository.
from qucs_s.
Thanks to spend the effort.
I will perform same procedure soon. But what do you meant with "Fix paths to *.mod files in BSIM4_inv.sch file"?
The both files reside in same directory as all the other BSIM4 example files. Can you attach this small file, please.
from qucs_s.
I meant to specify the absolute path to the model files. Relative path will not work. The schematic should look as the following. The exact path will depend on the location of the BSIM4 directory. Don't forget to save the BSIM4_inv.sch after fixing the paths. Otherwise the netlist will be not updated.
from qucs_s.
Vadim,
now it works: Absolute path is mandatory.
I thought files are in the dir and can be used. But it seems not the case. File=nmos4p0.mod seems a special case of relative path.
Thank you!
from qucs_s.
Related Issues (20)
- Digital Simulation Prerequisites HOT 2
- Replace FreeHDL by GHDL HOT 4
- Get rid of digital simulation wrapper scripts
- Active Filter Tool confusion HOT 1
- Device falls out of grid after rotation HOT 4
- Update Matching Tool to Qucs 0.0.20 Version HOT 2
- Regulators.lib and ngspice issues with LM317 spice models HOT 15
- LDMOS simulation froze Windows HOT 12
- Greyed out choices in Spice .Model HOT 2
- Nutmeg Scripting for Power Amplifier Wingspread Analysis HOT 4
- QUCS-S 2.1.0: Tuner Slider Bug HOT 2
- Backward schematic compatibility HOT 4
- Schematic Editor: Deactivate/Activate of Blocks Does Not Work Consistent HOT 2
- Tuner Slider Does Not Handle Numbers and Units in .PARAM Block Correctly HOT 1
- Provide an option to disable transient model for RF port HOT 9
- Add entry field for external model for Verilog-A HOT 5
- New Regulators.lib HOT 1
- False error reported? HOT 7
- Qucs-S 24.1-7df03e9 - Yet Another Tuner Slider Bug HOT 18
- net name restrictions HOT 1
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.