• 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. Run AMS simulation with ADE-L with import systemVerilogCustom_pkg...

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 127
  • Views 16193
  • 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

Run AMS simulation with ADE-L with import systemVerilogCustom_pkg::*

christinep
christinep over 5 years ago

Hi Support, 

I am running ADE-L simulation with Config view. One block is with SystemVerilog and another one is pure analog circuit with transistors. 

In SystemVerilog, I need to import custom library (for example, systemVerilogCustom_pkg) so top level sv file include import cst_pkg::*; in the first line. 

When a simulation is launched, I see following errors: 

xrun: *W,OPDEPRREN: Command Line Option (-nclibdirpath) is deprecated. Use (-xmlibdirpath) instead.
file: /virtuoso/spice_dump/virtuoso/simulation/tb_digital_core/ams/config/netlist/.mapi//dummyMapi.vams
file: /virtuoso/aaa_christinep_test/digital_core/systemVerilog/verilog.sv
import systemVerilogCustom_pkg::*;
|
xmvlog: *E,NOPBIND (/virtuoso/aaa_christinep_test/digital_core/systemVerilog/verilog.sv,3|13): Package cst_pkg could not be bound.
input cst_additional_config_t cst_additional_config1,
|
xmvlog: *E,SVNOTY /virtuoso/aaa_christinep_test/digital_core/systemVerilog/verilog.sv,17|36): Syntactically this identifier appears to begin a datatype but it does not refer to a visible datatype in the current scope.
input clk_controller_config_t clk_controller_config1,
|

errors: 3, warnings: 0
xmvlog: *W,SPDUSD: Include directory /dump/virtuoso/ given but not used.
xmvlog: *W,NOTOPL: no top-level unit found, must have recursive instances.
Total errors/warnings found outside modules and primitives:

Searched this forum, it looks like compiler order issue, but not sure how I can solve it. 

All cst_additional_config_t is defined in the systemVerilogCustom_pkg. I know these files are okay in terms of SystemVerilog Syntax because when I ran with VCS without Analog Portion, it worked. 

Thanks, 

Christine 

  • Cancel
Parents
  • Majdo
    Majdo over 4 years ago

    Hi christinep,

    have recently posted a reply to similar topic take a look  at thread https://community.cadence.com/cadence_technology_forums/f/custom-ic-design/46965/how-to-include-an-instantiated-verilog-cell-in-the-config-view-of-ams-simulation  .
    What I would suggest is to go with option 4 and make your own library of packages in this manner. You cane also use AMS options -> Run-time Library compilation Settings.

    If you have only couple of packages go ahead and preset directly in the AMS simulator options if you have multiple ones you create a file contain link to all packages that you would like to have. In case you have some hierarchy of the packages the last ( bottom)  in the hierarchy have to be compiled as first file on the line:

    MyPkgFile example:

    -makelib MyPkgLib

         pathtopkg/pkgfilelvl2
         pathtopkg/pkgfilelvl1
       ....
       pathtopkg/pkgfileX

    -endlib

    Include this file in the AMS digital simulator via -f MyPkgFile or -F MyPKgFile.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Majdo
    Majdo over 4 years ago

    Hi christinep,

    have recently posted a reply to similar topic take a look  at thread https://community.cadence.com/cadence_technology_forums/f/custom-ic-design/46965/how-to-include-an-instantiated-verilog-cell-in-the-config-view-of-ams-simulation  .
    What I would suggest is to go with option 4 and make your own library of packages in this manner. You cane also use AMS options -> Run-time Library compilation Settings.

    If you have only couple of packages go ahead and preset directly in the AMS simulator options if you have multiple ones you create a file contain link to all packages that you would like to have. In case you have some hierarchy of the packages the last ( bottom)  in the hierarchy have to be compiled as first file on the line:

    MyPkgFile example:

    -makelib MyPkgLib

         pathtopkg/pkgfilelvl2
         pathtopkg/pkgfilelvl1
       ....
       pathtopkg/pkgfileX

    -endlib

    Include this file in the AMS digital simulator via -f MyPkgFile or -F MyPKgFile.

    • 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