OSVVM_2013_04 with Active-Hdl is currently buggy

Why OSVVM™? Forums OSVVM OSVVM_2013_04 with Active-Hdl is currently buggy

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #620
    Helge Klug
    Member
    #621
    Ian Gibbins
    Keymaster

    Hi,

    This is known issue in the compiler that is being addressed now. It happens when overloaded function with result type of both vector and its element is used in assignment where the target is an aggregate.
    The proper workaround does not require package code change – use qualified expression with function call:
    integer_vector'(var. RandCovPoint)
    I will update example design to show this option and post when tool fix is available.

    Thank you,
    Your friendly admin.

    #627
    #645
    Andy Jones
    Member

    Srini,

    Yep, you touched it! And for a reason that is completely, absolutely unnecessary. The advised code (qualified expression) works on all tools, so there is no reason to use a pre-processor/compiler directive.

    Such crutches are often needed in poorly specified languages like Verilog/SV, because of misunderstandings about what the correct compiler/language behavior actually should be, due to the lack of a complete, formal specification for the language. 

    Furthermore, once allowed, these hacks work their way into standard libraries and usage models (UVM!), instead of fixing the shortcomings of the language and/or SV library itself.

    Andy

    #647
    Jim Lewis
    Member

    Hi All,

    2013.05 fixes this.  There is a workaround that Jerry found and I put into the packages.

    Jim

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