Forum Discussion
Altera_Forum
Honored Contributor
11 years agoIt looks like your component is an Avalon-MM slave. In that case, you can just create a Qsys system with an Avalon-MM master BFM and your component, and then simulate that.
--- Quote Start --- I dont know how to communicate with my custom hardware in testbench using "avalon_write" or "avalon_read" since I need to access this signals directly --- Quote End --- You do not need to access those signals. The Avalon-MM master BFM would generate the transaction over the Avalon-MM bus. All you need to write is a testbench with avalon_read and avalon_write commands that match your NIOS II code. Cheers, Dave