OpenVAF icon indicating copy to clipboard operation
OpenVAF copied to clipboard

openvaf crash with $limit(V(a,b))

Open gjcoram opened this issue 1 year ago • 0 comments

If you don't specify a limiting function (either a "string" for a built-in or an analog function identifier), then openvaf will crash when compiling the module. The problem is this line in openvaf/hir_ty/src/inference.rs: infere_args = &args[0..2]; and then later: if let Some(Ty::UserFunction(func)) = self.result.expr_types.get(args[1]).cloned() {

gjcoram avatar Jun 22 '24 01:06 gjcoram