Questa Verilog/SystemVerilog Files

Why OSVVM™? Forums OSVVM Questa Verilog/SystemVerilog Files

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2345
    Jake
    Member

    Hello,

    I’ve observed the following warnings when using the analyze command to compile Verilog/SystemVerilog files that are part of my DUT into an OSVVM environment.

    “Warning: (vlog-13461) More than 1 logfile is specified using -l/-logfile. The last specified logfile … will only be considered for printing logs”

    I’m using OSVVM 2023.09b and Questa 2023.02

    The corresponding vlog command looks something like this:

    “vlog -reportprogress 300 -l defaultlib -l <mapped library using LinkLibrary> -l <mapped library using library> -work <current library> -sv <verilog/systemverilog file>”

    I believe all -l switches to the vlog command should be -L switches instead.

    Are there some scripting API commands that I can use to fix this behavior?

    Thanks in advance,
    Jake Talbot

    #2346
    Jim Lewis
    Member

    Hi Jake,
    Just checked the Questa command reference manual. Good catch. It is an easy fix.
    In the file, VendorScripts_Siemens.tcl, all of the specialization is done. In there
    the analyze for Verilog/SystemVerilog is:
    `tcl
    proc vendor_analyze_verilog {LibraryName FileName args} {
    set AnalyzeOptions [concat [CreateVerilogLibraryParams “-l “] -work ${LibraryName} {*}${args} ${FileName}]
    # puts “vlog $AnalyzeOptions”
    eval $::osvvm::shell vlog {*}$AnalyzeOptions
    }
    `
    Change it to (the change follows the text CreateVerilogLibraryParams):
    `tcl
    proc vendor_analyze_verilog {LibraryName FileName args} {
    set AnalyzeOptions [concat [CreateVerilogLibraryParams “-L “] -work ${LibraryName} {*}${args} ${FileName}]
    # puts “vlog $AnalyzeOptions”
    eval $::osvvm::shell vlog {*}$AnalyzeOptions
    }
    `
    Let me know how it goes.

    Best Regards,
    Jim

    #2347
    Jake
    Member

    Yep, making the change as you outlined fixed the issue for me. Thanks Jim for the quick response!

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