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

OpenVAF crash when compiling #119

Open
gjcoram opened this issue Apr 15, 2024 · 2 comments
Open

OpenVAF crash when compiling #119

gjcoram opened this issue Apr 15, 2024 · 2 comments

Comments

@gjcoram
Copy link

gjcoram commented Apr 15, 2024

The attached Verilog-A module caused OpenVAF to crash and produce the attached log file. Note that this module does have a declared parameter, so it's not the same issue as #103
white_noise_i.va.txt
openvaf-crash-1713217346.log

@gjcoram
Copy link
Author

gjcoram commented Apr 15, 2024

white2.va compiles. Notes:

  1. OpenVAF does not like having only a noise contribution -- and you can't fake it out by having a 0 dc contribution I(a,b) <+ 0;
  2. OpenVAF does not like having only a single terminal.

white1.va.txt
white2.va.txt
white3.va.txt

@gjcoram
Copy link
Author

gjcoram commented May 23, 2024

Debug stack trace:

thread '' panicked at 'called Option::unwrap() on a None value', openvaf/osdi/src/inst_data.rs:902:26
stack backtrace:
0: rust_begin_unwind
at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/std/src/panicking.rs:584:5
1: core::panicking::panic_fmt
at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/core/src/panicking.rs:142:14
2: core::panicking::panic
at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/core/src/panicking.rs:48:5
3: core::option::Option::unwrap
at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/core/src/option.rs:775:21
4: osdi::inst_data::::load_eval_output
at ./openvaf/osdi/src/inst_data.rs:900:53
5: osdi::load::::load_noise
at ./openvaf/osdi/src/load.rs:63:27

gjcoram added a commit to gjcoram/OpenVAF that referenced this issue Jun 21, 2024
arpadbuermen pushed a commit to arpadbuermen/OpenVAF that referenced this issue Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant