How do I add multiple AXI4 Master Interfaces to a reference design in HDL Coder?
조회 수: 4 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2019년 5월 14일
편집: MathWorks Support Team
2024년 2월 29일
How do I add multiple AXI4 Master Interfaces to a reference design in HDL Coder?
채택된 답변
MathWorks Support Team
2024년 1월 18일
편집: MathWorks Support Team
2024년 2월 29일
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
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!