AXI Manager over PCIe Example

6 次查看(过去 30 天)
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,
  1 个评论
Andrea
Andrea 2024-3-26
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:

请先登录,再进行评论。

采纳的回答

Abhishek Kumar Singh
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 个)

类别

Help CenterFile Exchange 中查找有关 Signal Integrity Kits for Industry Standards 的更多信息

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by