Geoffrey Coram

Results 16 comments of Geoffrey Coram

How are you measuring I(br)? Are you using $strobe to report the value, or declaring an op-pt value?

How do you want this to be handled? The discipline voltage has no flow; it's a "signal flow discipline": discipline voltage potential Voltage; enddiscipline In order to simulate this in...

The Compact Model Coalition has a set of Verilog-A files for validating the compiler/simulator. About 40 of the 90 modules have no parameters declared, so OpenVAF crashes. It would be...

This is kind of weird. From the stack trace, the error seems to be coming from OsdiNode::to_ll_val 5: 0x5574cb7df3c6 - osdi::metadata::osdi_0_3::OsdiNode::to_ll_val::h8dc42151ca46ac19 at /root/project/openvaf/osdi/src/metadata/osdi_0_3.rs:216 Line 216 is converting the residual_units of...

% git diff openvaf/mir_llvm/src/context.rs diff --git a/openvaf/mir_llvm/src/context.rs b/openvaf/mir_llvm/src/context.rs index cf4f71f..953d825 100644 --- a/openvaf/mir_llvm/src/context.rs +++ b/openvaf/mir_llvm/src/context.rs @@ -80,7 +80,7 @@ impl CodegenCx { } ``` pub fn const_str_uninterned(&self, lit: &str) ->...

The multiplicity attribute *should* be more widely used in real-world models. In fact, many of the CMC standard models now have macros OPM and OPD: `define OPM(nam,uni,des) (* units=uni, desc=des,...

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)

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

That's weird - I don't see a minus sign in the code you provided. I wonder if openvaf changes the sign of the contribution if it sees the terminals have...

I'm not set up to run these experiments myself today, but I'd be interested to know what you get if you change the second line of the example to I(a,...