How do I add multiple AXI4 Master Interfaces to a reference design in HDL Coder?
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
MathWorks Support Team
il 14 Mag 2019
Modificato: MathWorks Support Team
il 29 Feb 2024
How do I add multiple AXI4 Master Interfaces to a reference design in HDL Coder?
Risposta accettata
MathWorks Support Team
il 18 Gen 2024
Modificato: MathWorks Support Team
il 29 Feb 2024
To add multiple AXI4 Master interfaces, add multiple calls of 'addAXI4MasterInterface' to the reference design definition file (plugin_rd.m). For example:
hRD.addAXI4MasterInterface(...
'InterfaceID', 'AXI4 Master 1', ...
'ReadSupport', true, ...
'WriteSupport', true, ...
'MaxDataWidth', 128, ...
'AddrWidth', 32, ...
'InterfaceConnection', 'axi_interconnect_1/S01_AXI',...
'TargetAddressSegments', {{'mig_7series_0/memmap/memaddr',2*1024^3,2*1024^3}});
hRD.addAXI4MasterInterface(...
'InterfaceID', 'AXI4 Master 2', ...
'ReadSupport', true, ...
'WriteSupport', true, ...
'MaxDataWidth', 128, ...
'AddrWidth', 32, ...
'InterfaceConnection', 'axi_interconnect_1/S02_AXI',...
'TargetAddressSegments', {{'mig_7series_0/memmap/memaddr',2*1024^3,2*1024^3}});
To learn more about 'addAXI4MasterInterface', please run the below command in the MATLAB R2018b command window to get its release specific documentation:
web(fullfile(docroot, 'hdlcoder/ref/hdlcoder.referencedesign.addaxi4masterinterface.html'))
Please follow the below link to search for the required information regarding the current release:
0 Commenti
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!