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