Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17258 Discussions

BFM in VHDL - from Quartus2 13.0

Altera_Forum
Honored Contributor II
1,516 Views

From the release 13.0 of Quartus2, BFM in VHDL are supported. 

Before 13.0, BFM were only supported in Verilog and there was a testbench example in System Verilog found in "Avalon Verification IP Suite Design Example" (ug_avalon_verification.zip) that worked fine. 

Now I'm trying to adapt that example in a VHDL-only simulation in order to use Modelsim Starter Edition and BFMs with my VHDL custom files. 

I'm finding some troubles for 2 reasons: 

1) VHDL BFM approach is not well documented 

2) the differences in hierarchy between Verilog and VHDL. 

In the Verilog example, the top file and the test_program file were correctly separated and in the test_program.sv with the define you could access every signal in every like this:  

`define CLK tb.st_bfm_qsys_tutorial_inst_clk_bfm 

and then use with the dot notation 

`CLK.clk 

What is the best way to accomplish this in VHDL? Is there anyone who has already adapted that example? 

 

Thank you very much 

 

Luca
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
507 Views

Hello, please has anybody an example of test program for BFM in VHDL?  

Thank you very much.
0 Kudos
Reply