Forum Discussion
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- I would like to create my custom VHDL PWM module in the FPGA --- Quote End --- 1. Update your code so that it has an Avalon-MM interface. In the case of a PWM controller, this is likely as simple as adding a registers interface, where the registers have an Avalon-MM slave interface. 2. Create a Qsys _hw.tcl file for your component. 3. Use Qsys and the Avalon-MM master BFM to create a testbench and check that your interface works correctly. 4. Add it to a Qsys system along with the HPS bridge to the ARM core. Qsys will add the AXI-to-Avalon-MM conversion logic. You cannot simulate AXI components without a Quartus subscription edition license and the IPS-AXIBFM models. I'd recommend sticking with Avalon-MM for now. Cheers, Dave