Hello,
I am trying to understand how to set up the MathWorks PCIe AXI Manager IP for Xilinx FPGAs. I read all related articles in the MathWorks website and I was able to create a Vivado project and add the IP to this project using the function "setupAXIManagerForVivado" in Matlab. I was looking at the example provided in the following article that uses a KCU116 Evaluation Kit:
However, I am not able to find the example anywhere. I tried to create it following the instructions provided in the article, but there is a file that does not exist "pcieAXIMcreateproject.tcl". I thought this was part of the HDL coder and verifier support packages, but I could not find it in my local installation, so I just want to know if this example is available anywhere as I want to undrerstand better how to set up this IP.
I am using Vivado 2022.1 and Matlab R2023b
Thank you,

댓글 수: 3

This is the code I used following the example:
% This script creates the pcieaximaster project (Matlab example)
%Adds Vivado 2022.1 as a HDL tool for Matlab
hdlsetuptoolpath('ToolName','Xilinx Vivado','ToolPath','C:\RW_APPS\Xilinx\Vivado\2022.1\bin\vivado.bat');
% Creates a Vivado project for this example
system('vivado -mode batch -source pcieAXIMcreateproject.tcl');
%Adds the AXI manager IP folder to the path where Vivado project is located
setupAXIManagerForVivado pcieaximaster.xpr
This is the error I get:
KH
KH 2025년 11월 7일
C:\Users\Versal_Premium_ACAP\Documents\MATLAB\Examples\R2024b\xilinxfpgaboards\PCIeAM
This path.
KH
KH 2025년 11월 7일
Thanks, I met this problem too. Follow your guide, I solved this problem.
The example is saved in C://

댓글을 달려면 로그인하십시오.

 채택된 답변

Abhishek Kumar Singh
Abhishek Kumar Singh 2024년 4월 5일

0 개 추천

Hello Andrea,
It seems like the issue you're encountering revolves around accessing the specific example and the associated pcieAXIMcreateproject.tcl file within the MATLAB environment.
To directly open the example you're referring to, you can utilize the MATLAB command window. This method ensures you're navigating to the correct example with all necessary files, including the TCL script, readily available. Please follow these steps:
1. To Open the Example in MATLAB: You can easily open the example by copying and running the following command in the MATLAB Command Window:
openExample('xilinxfpgaboards/AccessFPGAExternalMemoryUsingMATLABAsAXIMOverPCIExpressExample')
Or you can click on the "Copy Command" at the top right, paste it in the command window, and execute to access the project.
Alternatively, if you prefer to navigate to the example's directory manually to view all the files, including the TCL script:
2. To Manually Navigate to the Example Folder: The example and all related files are located in a specific directory within the MATLAB installation. You can find this directory by navigating to: Examples\R2023b\xilinxfpgaboards\PCIeAM\ from the MATLAB startup folder.
3. To Locate the TCL File Specifically: If your primary goal is to locate the pcieAXIMcreateproject.tcl file, it resides in the data subdirectory within the Xilinx examples. You can navigate to this directory using the following MATLAB commands:
folderPath = fullfile(matlabroot, 'examples', 'xilinxfpgaboards', 'data');
cd(folderPath)
These steps will guide you to the example project and the necessary TCL file, assuming all related software and packages are correctly installed and set up.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Signal Integrity Kits for Industry Standards에 대해 자세히 알아보기

제품

릴리스

R2023b

질문:

2024년 3월 26일

댓글:

KH
2025년 11월 7일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by