• 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. Functional Verification
  3. error when passing a string to ncutils

Stats

  • Locked Locked
  • Replies 13
  • Subscribers 66
  • Views 18553
  • 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

error when passing a string to ncutils

JMGGL
JMGGL over 16 years ago

This is what I am trying to do:

parameter [1023:0] chip_name="tb_top.I_0.";

wire [1023:0] path_name;

assign  path_name    = {chip_name,"module1.module2.signal"};

$nc_mirror("signal",path_name","verbose");

 

*And the following message error appears:

Non-string argument specified for $nc_mirror task...

 

I tried to pass directly  path_name, without concatenation, and same problem. Also with other ncutils: nc_force, nc_release... Does anybody know how to do it?

Thanks in advance.

  • Cancel
Parents
  • JMGGL
    JMGGL over 16 years ago

    Thanks Tim, but still with same issue: Non-string argument specified for $nc_mirror task...

    You were right when you said that the path was empty, so I fixed it.

    Now I mixed your solutions:

    parameter [1023:0] chip_name="tb_top.I_0.";

    reg [1023:0] path_name;

    initial  path_name    = {"\"",chip_name,"module1.module2.signal","\""};

    $nc_mirror("signal",path_name,"verbose");

     

    With initial $display("signal %0s",path_name),  the path seems to be correct:

    "tb_top.I_0.module1.module2.signal"

     

    Any other idea?

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • JMGGL
    JMGGL over 16 years ago

    Thanks Tim, but still with same issue: Non-string argument specified for $nc_mirror task...

    You were right when you said that the path was empty, so I fixed it.

    Now I mixed your solutions:

    parameter [1023:0] chip_name="tb_top.I_0.";

    reg [1023:0] path_name;

    initial  path_name    = {"\"",chip_name,"module1.module2.signal","\""};

    $nc_mirror("signal",path_name,"verbose");

     

    With initial $display("signal %0s",path_name),  the path seems to be correct:

    "tb_top.I_0.module1.module2.signal"

     

    Any other idea?

     

    • 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