• 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. TCL based assertion for connectivity check

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 65
  • Views 15748
  • 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

TCL based assertion for connectivity check

harsharaj
harsharaj over 12 years ago

Hi,

 I am using ncsim and i wish to check connectivity between two nets in RTL/netlist using tcl. I remember there being someway where using tcl input file i could specify two nets which could be tested for connectivity.

ex:
 -src net1  -dst net2

on a change of net1 check net2 value is equal to net1 value. kind of an tcl assertion

I dont remember the syntax. kindly help

thnaks!
Harsha

  • Cancel
Parents
  • harsharaj
    harsharaj over 12 years ago

     okay i got the 'puts' working.

     what i need now is to start this check on every change of net1 value. will the below get the job done ?

     

     stop -continue -object tb.inst1.net1 -execute { if {#tb.inst1.net1 != #tb.inst1.net2} {puts "*E ERROR mismatch "}}  

     

    Thanks.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • harsharaj
    harsharaj over 12 years ago

     okay i got the 'puts' working.

     what i need now is to start this check on every change of net1 value. will the below get the job done ?

     

     stop -continue -object tb.inst1.net1 -execute { if {#tb.inst1.net1 != #tb.inst1.net2} {puts "*E ERROR mismatch "}}  

     

    Thanks.

    • 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