• 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. PSL

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 65
  • Views 15690
  • 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

PSL

natg9
natg9 over 16 years ago

Can anybody help me understand how to use vunit in PSL

please explain the use with appropriate verilog file

 

i am using IFV tool to verify the design

 

thanks in advance

regards

Girish

  • Cancel
  • StephenH
    StephenH over 16 years ago

    Hi Girish

    In case you're not aware of it, the Cadence tools like IUS and IFV now come with a really good documentation browser called "cdnshelp". If you run cdnshelp, it opens a GUI where you can search the docs for terms like "vunit".

    I'd recommend to read the IFV docs - look into the "book" called "Assertion Writing Guide" in cdnshelp, then navigate into "Using PSL", followed by "Placing PSL Assertions" and finally the section called "Putting PSL Assertions in Verification Units". This gives a lot of detail, but also a good overview on what to put in the vunit, the syntax and how the vunit binds to the design.

    In summary though, a vunit is a side-file that you compile along with your Verilog / VHDL source code. It effectively gets inserted into the module that it binds to, as though you'd typed the vunit code directly in the same module. This lets you access all the module's internal nets, and even add new Verilog code to assist the assertions (e.g. to decode a signal or count values).

    Note that you don't have to put your PSL inside comments in a vunit, since the compiler already knows to expect PSL keywords in the vunit.

    Hope this helps. Let us know if you need more help.

    Steve.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • natg9
    natg9 over 16 years ago

    Hi Steve

    I went through the cdnshelp directory but i did not find anything called Assertion Writing Guide

    please Help me procure the documents / book

     

     

    regards

    natg

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • StephenH
    StephenH over 16 years ago

    I've attached a screenshot of my cdnshelp view, does that help?
    By the way, the default view in cdnshelp can be changed to look like mine if you go the the View menu and select "Navigation->Tree View". You can set this permanently via the Edit->Settings menu.

     

    • cdnshelp.gif
    • View
    • Hide
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • JoergM
    JoergM over 16 years ago

    There is another alternative: Look up the document on the web:

    http://sourcelink.cadence.com/docs/files/Release_Info/Docs/abvwrite/abvwrite8.2/abvwriteTOC.html

    Regards,

    Joerg.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • natg9
    natg9 over 16 years ago

    Hi Steve

    this is after the help tab opens a doc

    my problem is that i am unable to open the help itself so you need to guide me to this document by stating the path

    wherein i can open this particlar document

     

    regards

    natg

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • StephenH
    StephenH over 16 years ago

    Well, I'm not sure what you tried so far, so here's a couple of suggestions:

    1. Use the web link that Joerg posted.

    2. "cdnshelp" is a program that you run. If "ifv" is on your PATH, then cdnshelp should also be visible and executable. Just try running cdnshelp as a Unix command.

    3. If for some reason you cannot find cdnshelp on your path, run it using the full path name: <path_to_ifv_install>/tools/bin/cdnshelp

    4. If this still doesn't work, you can try the PDF version of the docs. In <path_to_ifv_install>/doc/ you'll find a bunch of directories, and inside those are PDF files, so the ABV Writing Guide is stored in doc/abvwrite/abvwrite.pdf.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • natg9
    natg9 over 16 years ago

    Hi

     

    Thanks a lot for the link

     

     

    regards

    natg

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • natg9
    natg9 over 16 years ago

    Thanks Steve

    i have been able to invoke it using the command prompt

    regards

    natg

    • 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