VA-Models icon indicating copy to clipboard operation
VA-Models copied to clipboard

$mfactor in hisim2 with Xyce

Open yrrapt opened this issue 1 year ago • 2 comments

I am trying to compile the hisim2 model with Xyce and I am hitting an error:

[fatal..] ./hisim2.va:1964:21: analog function '$mfactor' is undefined

Is this caused by ADMS missing this function? Some googling seems to indicate they do have the function.

Any help would be greatly appreciated.

yrrapt avatar Nov 06 '24 19:11 yrrapt

I am sorry - my linux system just crashed in a trial to upgrade. And with Xyce for windows I can't build plugins. I will come back here if I have my tools renewed.

dwarning avatar Nov 06 '24 20:11 dwarning

@yrrapt : My tools are back and I see in the Xyce adms xml scripts that $mfactor is not supported. A workaround for Xyce/adms would be to introduce the instance parameter M and assign it to mMod in line 148 instead $mfactor. No problems with openVAF.

dwarning avatar Nov 10 '24 17:11 dwarning