Forum Discussion

FabianL's avatar
FabianL
Icon for Occasional Contributor rankOccasional Contributor
11 months ago
Solved

Avalon Verification IP Suite: Stream Example is not working

Hello,

I tried the Avalon Verification IP Suite Avalon-ST Example: https://www.intel.com/content/www/us/en/docs/programmable/683439/20-4/avalon-st-verilog-hdl-testbench.html

But when I use Quartus 25.1 and follow the described steps I run into the following error in Questa:

# Questa Intel Starter FPGA Edition-64 vlog 2024.3 Compiler 2024.09 Sep 10 2024
# Start time: 14:47:01 on May 06,2025
# vlog -reportprogress 300 -sv ./test_program.sv
# -- Compiling module test_program
# ** Error: ./test_program.sv(32): (vlog-13006) Could not find the package (verbosity_pkg). Design read will continue, but expect a cascade of errors after this failure. Furthermore if you experience a vopt-7 error immediately before this error then please check the package names or the library search paths on the command line.
# End time: 14:47:01 on May 06,2025, Elapsed time: 0:00:00
# Errors: 1, Warnings: 0
# ** Error: D:/intelFPGA/25.1_pro/questa_fse/win64/vlog failed.
# Error in macro C:\git\Tutorial\ug_avalon_verification\ug_avalon_verification\ug_avalon_verification\qsys\user_test_program\load_sim.tcl line 12
# D:/intelFPGA/25.1_pro/questa_fse/win64/vlog failed.
# while executing
# "vlog -sv ./test_program.sv"

I have attached the project as it was created according to the tutorial.

Thanks for any advice.

best regards

Fabian

  • Hi Fabian,


    The design example is based on version Standard IP hierarchy. For Pro version IP hierarchy, please make changes to files attached.


    Thanks,

    Regards,

    Sheng


4 Replies

  • FabianL's avatar
    FabianL
    Icon for Occasional Contributor rankOccasional Contributor

    Hi Sheng,

    thanks, with the file from github I managed to get further in the compilation. Why is this not included in the Quartus/Questa installation?

    However I still fail to get the simulation running. I have attached the full project including the verbosity_pkg.sv so you should be able to reproduce the error:

    # [exec] elab
    # vsim -L work -L work_lib -L lpm_ver -L sgate_ver -L altera_ver -L altera_mf_ver -L altera_lnsim_ver -L twentynm_ver -L twentynm_hip_ver -L twentynm_hssi_ver -L lpm -L sgate -L altera -L altera_mf -L altera_lnsim -L twentynm -L twentynm_hip -L twentynm_hssi -L altera_avalon_sc_fifo_1932 -L st_bfm_qsys_tutorial_sc_fifo_0 -L st_bfm_qsys_tutorial -L altera_common_sv_packages -L altera_avalon_st_sink_bfm_2000 -L st_bfm_qsys_tutorial_inst_st_out_bfm_ip -L altera_avalon_clock_source_191 -L st_bfm_qsys_tutorial_inst_clk_bfm_ip -L altera_avalon_st_source_bfm_2000 -L st_bfm_qsys_tutorial_inst_st_in_bfm_ip -L altera_avalon_reset_source_191 -L st_bfm_qsys_tutorial_inst_reset_bfm_ip -L data_format_adapter_1931 -L altera_avalon_st_adapter_1920 -L st_bfm_qsys_tutorial_tb top 
    # Start time: 13:51:35 on May 12,2025
    # ** Note: (vsim-3812) Design is being optimized...
    # ** Error (suppressible): ./test_program.sv(65): (vopt-7063) Failed to find 'set_response_timeout' in hierarchical name 'tb.st_bfm_qsys_tutorial_inst_st_in_bfm.set_response_timeout'.
    #         Region: top.pgm
    # ** Error (suppressible): ./test_program.sv(66): (vopt-7063) Failed to find 'init' in hierarchical name 'tb.st_bfm_qsys_tutorial_inst_st_in_bfm.init'.
    #         Region: top.pgm
    # ** Error (suppressible): ./test_program.sv(67): (vopt-7063) Failed to find 'init' in hierarchical name 'tb.st_bfm_qsys_tutorial_inst_st_out_bfm.init'.
    #         Region: top.pgm
    # ** Error (suppressible): ./test_program.sv(97): (vopt-7063) Failed to find 'get_transaction_queue_size' in hierarchical name 'tb.st_bfm_qsys_tutorial_inst_st_in_bfm.get_transaction_queue_size'.
    #         Region: top.pgm
    # ** Error (suppressible): ./test_program.sv(97): (vopt-7063) Failed to find 'get_transaction_queue_size' in hierarchical name 'tb.st_bfm_qsys_tutorial_inst_st_out_bfm.get_transaction_queue_size'.
    #         Region: top.pgm
    # ** Error (suppressible): ./test_program.sv(104): (vopt-7063) Failed to find 'set_ready' in hierarchical name 'tb.st_bfm_qsys_tutorial_inst_st_out_bfm.set_ready'.
    #         Region: top.pgm
    # ** Error (suppressible): ./test_program.sv(114): (vopt-7063) Failed to find 'signal_transaction_received' in hierarchical name 'tb.st_bfm_qsys_tutorial_inst_st_out_bfm.signal_transaction_received'.
    #         Region: top.pgm
    # ** Error (suppressible): ./test_program.sv(126): (vopt-7063) Failed to find 'signal_response_done' in hierarchical name 'tb.st_bfm_qsys_tutorial_inst_st_in_bfm.signal_response_done'.
    #         Region: top.pgm
    # ** Error (suppressible): ./test_program.sv(127): (vopt-7063) Failed to find 'pop_response' in hierarchical name 'tb.st_bfm_qsys_tutorial_inst_st_in_bfm.pop_response'.
    #         Region: top.pgm
    # ** Error (suppressible): ./test_program.sv(128): (vopt-7063) Failed to find 'get_response_latency' in hierarchical name 'tb.st_bfm_qsys_tutorial_inst_st_in_bfm.get_response_latency'.
    #         Region: top.pgm
    # ** Error (suppressible): ./test_program.sv(159): (vopt-7063) Failed to find 'set_transaction_idles' in hierarchical name 'tb.st_bfm_qsys_tutorial_inst_st_in_bfm.set_transaction_idles'.
    #         Region: top.pgm
    # ** Error (suppressible): ./test_program.sv(160): (vopt-7063) Failed to find 'set_transaction_sop' in hierarchical name 'tb.st_bfm_qsys_tutorial_inst_st_in_bfm.set_transaction_sop'.
    #         Region: top.pgm
    # ** Error (suppressible): ./test_program.sv(161): (vopt-7063) Failed to find 'set_transaction_eop' in hierarchical name 'tb.st_bfm_qsys_tutorial_inst_st_in_bfm.set_transaction_eop'.
    #         Region: top.pgm
    # ** Error (suppressible): ./test_program.sv(162): (vopt-7063) Failed to find 'set_transaction_channel' in hierarchical name 'tb.st_bfm_qsys_tutorial_inst_st_in_bfm.set_transaction_channel'.
    #         Region: top.pgm
    # ** Error (suppressible): ./test_program.sv(163): (vopt-7063) Failed to find 'set_transaction_data' in hierarchical name 'tb.st_bfm_qsys_tutorial_inst_st_in_bfm.set_transaction_data'.
    #         Region: top.pgm
    # ** Error (suppressible): ./test_program.sv(164): (vopt-7063) Failed to find 'set_transaction_error' in hierarchical name 'tb.st_bfm_qsys_tutorial_inst_st_in_bfm.set_transaction_error'.
    #         Region: top.pgm
    # ** Error (suppressible): ./test_program.sv(165): (vopt-7063) Failed to find 'set_transaction_empty' in hierarchical name 'tb.st_bfm_qsys_tutorial_inst_st_in_bfm.set_transaction_empty'.
    #         Region: top.pgm
    # ** Error (suppressible): ./test_program.sv(166): (vopt-7063) Failed to find 'push_transaction' in hierarchical name 'tb.st_bfm_qsys_tutorial_inst_st_in_bfm.push_transaction'.
    #         Region: top.pgm
    # ** Error (suppressible): ./test_program.sv(173): (vopt-7063) Failed to find 'pop_transaction' in hierarchical name 'tb.st_bfm_qsys_tutorial_inst_st_out_bfm.pop_transaction'.
    #         Region: top.pgm
    # ** Error (suppressible): ./test_program.sv(174): (vopt-7063) Failed to find 'get_transaction_idles' in hierarchical name 'tb.st_bfm_qsys_tutorial_inst_st_out_bfm.get_transaction_idles'.
    #         Region: top.pgm
    # ** Error (suppressible): ./test_program.sv(175): (vopt-7063) Failed to find 'get_transaction_sop' in hierarchical name 'tb.st_bfm_qsys_tutorial_inst_st_out_bfm.get_transaction_sop'.
    #         Region: top.pgm
    # ** Error (suppressible): ./test_program.sv(176): (vopt-7063) Failed to find 'get_transaction_eop' in hierarchical name 'tb.st_bfm_qsys_tutorial_inst_st_out_bfm.get_transaction_eop'.
    #         Region: top.pgm
    # ** Error (suppressible): ./test_program.sv(177): (vopt-7063) Failed to find 'get_transaction_channel' in hierarchical name 'tb.st_bfm_qsys_tutorial_inst_st_out_bfm.get_transaction_channel'.
    #         Region: top.pgm
    # ** Error (suppressible): ./test_program.sv(178): (vopt-7063) Failed to find 'get_transaction_data' in hierarchical name 'tb.st_bfm_qsys_tutorial_inst_st_out_bfm.get_transaction_data'.
    #         Region: top.pgm
    # ** Error (suppressible): ./test_program.sv(179): (vopt-7063) Failed to find 'get_transaction_error' in hierarchical name 'tb.st_bfm_qsys_tutorial_inst_st_out_bfm.get_transaction_error'.
    #         Region: top.pgm
    # ** Error (suppressible): ./test_program.sv(180): (vopt-7063) Failed to find 'get_transaction_empty' in hierarchical name 'tb.st_bfm_qsys_tutorial_inst_st_out_bfm.get_transaction_empty'.
    #         Region: top.pgm
    # Optimization failed
    # ** Note: (vsim-12126) Error and warning message counts have been restored: Errors=26, Warnings=0.

    It seems to be rather tricky to get the official example running. Are the Avalon BFM Verification IP cores still recommended by Intel for usage or considered deprecated?

    best regards

    Fabian

  • Hi Fabian,


    The design example is based on version Standard IP hierarchy. For Pro version IP hierarchy, please make changes to files attached.


    Thanks,

    Regards,

    Sheng


  • Hi Fabian,


    May I know is there any further update or concern?


    Thanks,

    Regards,

    Sheng