Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- I decided that I am going to implement the VGA controller first. It reads the buffer from the sdram using DMA, and then outputs it over VGA. How would I go about to design the AVALON controller for it. --- Quote End --- There is nothing particularly 'special' about the Avalon-MM interface. Its just a set of rules, and you need to create the logic to follow the rules. The Avalon specification defines the interface and the Verification IP Suite provides bus functional models for each of the protocols. Those BFMs work best from SystemVerilog. The following tutorial contains a testbench with an Avalon Master BFM: http://www.alterawiki.com/wiki/using_the_usb-blaster_as_an_sopc/qsys_avalon-mm_master_tutorial Use that BFM to test your Avalon-MM slave device. Start by creating a very simple Avalon-MM slave, eg., a single register that can be written and read. If you get stuck, I can dig up an example, but give it a try first, as it will force you to read (and start to understand) the Avalon documentation. Cheers, Dave