Skip to content
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

Cannot load OSDI library #972

Closed
dwarning opened this issue Sep 29, 2024 · 3 comments
Closed

Cannot load OSDI library #972

dwarning opened this issue Sep 29, 2024 · 3 comments

Comments

@dwarning
Copy link

Any of my testbenches show 0 voltages and currents after pressing F8 key.
Bildschirmfoto vom 2024-09-29 15-36-05

From what is it dependent? The spice4qucs.cir is written under ~/.qucs/spice4qucs but I see no spice4qucs.cir.dc_op result file. The cir file has not included the pre_osdi file as shown in the schematic and can't simulated.

@ra3xdh
Copy link
Owner

ra3xdh commented Sep 29, 2024

I cannot reproduce this issue. Everything works as expected on my machine. Please submit your schematic including external Verilog-A source/OSDI files.

The most probably the Nutmeg script is working wrong and model is not loaded. Every nutmeg script is a separate simulation and cannot add the code before the DC sweep. I am wondering if this worked before. You have to put this script in SpiceInit at SPICE netlist sections->SPICE init.

but I see no spice4qucs.cir.dc_op result file.

The datasets are moved to .cache location. See #145 The default is $HOME/.cache/qucs-s

image

@ra3xdh
Copy link
Owner

ra3xdh commented Sep 29, 2024

Also the INCLUDE script device may help with the following contents:

.control
pre_osdi file.osdi
.endc

@ra3xdh ra3xdh changed the title No OP analysis results Cannot load OSDI library Sep 29, 2024
@dwarning
Copy link
Author

Yes substitute nutmeg script with .spiceinit helps for OP analysis and other simulations too.
Bildschirmfoto vom 2024-09-29 16-14-58
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants