I want to use a nport in Verilog-A/Verilog-AMS. The implementation has been done like this:nport #(.file("/my_folder/my_device.sparam"), .interp("spline"), .thermalnoise("no"), .usewindow("yes")) N0 (BiasN, AVSS, BiasN_cm, AVSS, BiasP, AVSS, CBiasN, AVSS);But when I try to simulate, there's this error that the file can't be found.ERROR (CMI-2011): Unable to open S-parameter file `"/my_folder/my_device.sparam"'.When I copy the path and try to open the file with emacs there's no error. So could someone tell me, where's my error in implementation or usage?
Thanks a lot,Tobias
I suspect it's the way you are defining the path in the file parameter. Try using a full path, rather than relative path.
Also, it's good practice to designate your s-parameter files as mydevicesparam.s3p (or .s2p, .s4p, etc.). Not a big deal, but if you later want to plot those s-parameters in ViVA standalone, you'll be able to do so.