• 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. Mixed-Signal Design
  3. pass ncsim commands through irun

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 64
  • Views 16752
  • 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

pass ncsim commands through irun

albas
albas over 7 years ago

Hi all,

I'm trying to pass some extra commands to the ncsim console via irun commandline. Is this possible?

A typical use case is to disable assertions. In the console we can simply write "assertion -off -all" and disable all assertions. I would like to be able to do that through the command line.

Thanks a lot,

Al

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago

    Put the Tcl commands in a file, and then run "irun -input commands.tcl".

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • albas
    albas over 7 years ago in reply to Andrew Beckett

    Hi, yes this is certainly an option, but then I need to maintain the file name, location and what not.

    Any alternatives?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to albas

    Ah, sorry. Didn't realise you wanted to give the tcl command directly on the command line. You can use -input but start the next argument with @. So for example:

    irun -input "@assertion -off -all"

    You can give multiple statements, either by separating the commands with semi-colon or by giving multiple -input commands. For more details see this article (or search in INCISIVEinstDir/tools/bin/cdnshelp for "-input").

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • albas
    albas over 7 years ago in reply to Andrew Beckett

    Hello Andrew, thanks a lot for the input. Indeed it works... but unfortunately it causes an issue in the connect phases of one of the uvm agents. I haven't investigated yet since the agent is an external IP and is difficult for us to modify it, so there's a discussion with the IP vendor as well.

    In the meantime, do you think I can inject the tcl command only after a certain phase of the simulation?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to albas

    If there is, I don't know how to do this (without spending some time hunting - maybe there is). Probably more of a Functional Verification question than mixed-signal. I suggest you contact customer support.

    Andrew. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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