analog function real calculate_Vgs;
input Vg;
input Vs;
real Vg,Vs;
begin
calculate_Vgs = Vg - Vs;
end
endfunction
analog begin
V(g,s) <+ calculate_Vgs(V(g), V(s));
end
endmodule
During complied code, no error or warning reported, and then openvaf crashed.
The log info:
A log file has been generated at "/tmp/openvaf-crash-1696825039.log".
To help us fix the problem, please open an issue at https://github.com/pascalkuthe/OpenVAF/
or send an email to pascal.kuthe@semimod.de and attach the log file.
If possible please also attach the source file that OpenVAF was compiling.
Hi Guys,
analog function ... endfunction feature is supported in OpenVAF? my verilog-A code list following. `include "disciplines.vams"
module my_device (d, g, s, b); inout d, g, s, b; electrical d, g, s, b;
real Vgs;
analog function real calculate_Vgs; input Vg; input Vs; real Vg,Vs; begin calculate_Vgs = Vg - Vs; end endfunction
analog begin V(g,s) <+ calculate_Vgs(V(g), V(s)); end endmodule
During complied code, no error or warning reported, and then openvaf crashed. The log info: A log file has been generated at "/tmp/openvaf-crash-1696825039.log". To help us fix the problem, please open an issue at https://github.com/pascalkuthe/OpenVAF/ or send an email to pascal.kuthe@semimod.de and attach the log file. If possible please also attach the source file that OpenVAF was compiling.