• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. using nport in Verilog-AMS

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 126
  • Views 14801
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

using nport in Verilog-AMS

TobiasM
TobiasM over 15 years ago

Hi everybody,

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

  • Cancel
Parents
  • TobiasM
    TobiasM over 15 years ago

    Thanks for your advice. I now tried everything relating the way how to define the path. absolute (starting with /), relative (with ./) and, as the file is in a subdir of my home directory, with a ~/...../ .
    the solution with the ~/ is correctly substituted with my home path, as the error message points to the correct file.

    in my opinion, it is strange that the errormessage quotes the path twice, once with ` and then directly after the first quoting with " and closes then the " quote and the the '.

    Has anybody already implemented the nport in verliog-a or verilog-ams? could someone post a code snippet for example?

    kind regards,
    Tobias

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • TobiasM
    TobiasM over 15 years ago

    Thanks for your advice. I now tried everything relating the way how to define the path. absolute (starting with /), relative (with ./) and, as the file is in a subdir of my home directory, with a ~/...../ .
    the solution with the ~/ is correctly substituted with my home path, as the error message points to the correct file.

    in my opinion, it is strange that the errormessage quotes the path twice, once with ` and then directly after the first quoting with " and closes then the " quote and the the '.

    Has anybody already implemented the nport in verliog-a or verilog-ams? could someone post a code snippet for example?

    kind regards,
    Tobias

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information