Git Product home page Git Product logo

Comments (12)

ra3xdh avatar ra3xdh commented on September 24, 2024

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.

dwarning avatar dwarning commented on September 24, 2024

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.

ra3xdh avatar ra3xdh commented on September 24, 2024

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:
image
image

from qucs_s.

dwarning avatar dwarning commented on September 24, 2024

This are my settings and the error message:
Bildschirmfoto vom 2023-09-01 12-31-33
Bildschirmfoto vom 2023-09-01 12-42-08
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.

ra3xdh avatar ra3xdh commented on September 24, 2024

Sorry, but I still cannot reproduce this. Do more simpler schematics work with Qucs-S on your machine?

from qucs_s.

ra3xdh avatar ra3xdh commented on September 24, 2024

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.

dwarning avatar dwarning commented on September 24, 2024

OK, perhaps my system is wrong.
I will close it.
Thanks

from qucs_s.

dwarning avatar dwarning commented on September 24, 2024

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.

ra3xdh avatar ra3xdh commented on September 24, 2024

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)
    image

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.

dwarning avatar dwarning commented on September 24, 2024

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.

ra3xdh avatar ra3xdh commented on September 24, 2024

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.
image

from qucs_s.

dwarning avatar dwarning commented on September 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.