Altera_Forum
Honored Contributor
12 years agoEditing an existing Megafunction
I am trying to edit the the altera_pcie_av_hip_avmm Megafunction to simply change the BAR size field that is established when the Megafunction is generated by the Wizard.
Editing the existing Megafunction seems like the low risk approach. Then I can remove the old Megafunction and replace it with the edited one... connect it in as it was and re-generate. The problem I have is I can't find what file I need to edit . There is a check selection for only files generated by the Wizard ... that didn't seem to help. The altera_pcie_av_hip_avmm comes with the Altera tools when installing ... I can see the altera_pcie_av_hip_avmm when it is selected from a library from QSYS. - I also tried generating the altera_pcie_av_hip_avmm from scratch but was only able to find a starting Megafunction that was streaming when I wanted to use the memory- mapped interface. Any suggestions appreciated. I need to change the BAR size since I am constrained by the SOC ( ARM ) memory map in the rc . PCIe memory is mapped to 0x0800_0000 - 0x08FF_FFFF or similar and I need a BAR size that supports it. Currently the BAR size indicates bit29 and I would like to recuce it to bit28.