Include If Statement For Scripting Process

Why OSVVM™? Forums OSVVM Include If Statement For Scripting Process

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2021
    Michael
    Member

    Hello All,

    I was wondering if there was a prebuilt OSVVM Scripting Function that does the following:

    if “not included – OSVVM_Libraries” then
    include ./OsvvmLibraries.pro
    end if

    I can use the TCL functions to do it, but I was wondering if there was already something there before I reinvent the wheel. This would significantly reduce the simulation time for quick simulation debugs.

    Thanks!

    #2112
    Jim Lewis
    Member

    Hi Michael,
    Sorry I missed your post.

    OSVVM pro scripts are a abstract procedure layer on top of TCL. Hence, you can do anything that TCL does. See the scripts OsvvmLibraries/OsvvmLibraries.pro and OsvvmLibraries/osvvm/osvvm.pro for examples.

    Best Regards,
    Jim

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.