Forum Discussion
Altera_Forum
Honored Contributor
8 years agoThe easiest thing to do is generate a testbench system directly in Qsys. Create a new .qsys file that consists of just your custom IP, and export all the interfaces. Then, from the Generate menu, select to generate a testbench system with the Standard option. This will automatically create a new system with all the appropriate BFMs attached to your component and configured based on how your component is set up. This also generates simulation setup scripts (msim_setup.tcl, I believe it's called). See this online training for details:
https://www.altera.com/support/training/course/oaqsyssim.html