Vivado and OSVVM

Why OSVVM™? Forums OSVVM Vivado and OSVVM

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2778
    Jerzy Gbur
    Member

    Hallo,
    I try to use ossvm in Vivado 2024.2
    Problem:
    1. when I import osvvm package sources into vivado as VHDL file types, I received:
    ERROR: [VRFC 10-4982] syntax error near ‘protected’ [x:/x/x/OsvvmLibraries/osvvm/NamePkg.vhd:52]
    2. when I import ossvm package sources into vivado as VHDL-2008 file types, I received:
    ERROR: [VRFC 10-9439] type error near ‘l’; expected type ‘direction’ [x:/x/x/OsvvmLibraries/osvvm/AlertLogPkg.vhd:4523]

    What’s wrong with that????

    Any suggestions?

    Regards,
    Jerzy

    #2779
    Jerzy Gbur
    Member

    I think the problem is “integer_vector” type. It looks like it is invisible in AlertLogPkg package.
    I don’t know why.
    Did someone had the some issue?

    #2780
    Jerzy Gbur
    Member

    Still have problem, but it looks that problematic is “to_String” function, because full Error string stand as folow:

    ERROR: [VRFC 10-9439] type error near ‘l’; expected type ‘direction’ [x:/x/x/OsvvmLibraries/osvvm/AlertLogPkg.vhd:4525]
    ERROR: [VRFC 10-2922] ‘to_string’ expects 1 arguments [x:/x/x/OsvvmLibraries/osvvm/AlertLogPkg.vhd:4525]
    ERROR: [VRFC 10-1471] type error near l ; current type integer32_vector; expected type positive [x:/x/x/OsvvmLibraries/osvvm/AlertLogPkg.vhd:4525]
    ERROR: [VRFC 10-8875] could not find a match for subprogram ‘to_string’ [x:/x/x/OsvvmLibraries/osvvm/AlertLogPkg.vhd:4525]

    Any ideas?

    #2781
    Jerzy Gbur
    Member

    Ok, I found it, need to use depricated module LanguageSupport2019Pkg_c.vhd – there is overloaded “to_string” function inside.

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