Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- The question is, when I create a Qsys system and then choose options to create BFM and a testbench with the simulation models and open modelsim and run msim_setup.tcl, in all this how does the BFM know what value it is supposed to put onto the component? Or do I have to add the BFM manually in the Qsys itself and otherwise they will not be added into the simulation model? How do I tell the BFM what it is supposed to do? I thought that the BFM just does things on its own. It has been created and it just works when we choose the BFM option in Qsys before we generate the system. --- Quote End --- Take a look at this tutorial, it uses the Qsys BFM http://www.alterawiki.com/wiki/using_the_usb-blaster_as_an_sopc/qsys_avalon-mm_master_tutorial The automated script that I wrote no longer works, as Altera have changed the format of their msim_setup.tcl script. However, the manual procedure described in the tutorial should still work. If it doesn't work, tell me which version of Quartus you are using, and I'll go through the sequence to see what it should be. Cheers, Dave