- https://www.mathworks.com/help/hdlverifier/ref/filprogramfpga.html#mw_97b48b71-68a2-4848-817f-3e031e37e822
- https://www.mathworks.com/help/hdlverifier/ref/aximanager.html#mw_c835d512-7e51-41e9-b3ae-35617e7ff37e
How to program two FPGAs at the same time using HDL Verifier™ Support Package for AMD FPGA and SoC Devices
6 views (last 30 days)
Show older comments
Hello
My FPGA programming purpose is to use it for memory access as shown in the link below.
I'm going to program two FPGAs at the same time using HDL Verifier™ Support Package for AMD FPGA and SoC Devices. I tried to program the same bitstream to two FPGAs using the instructions below, following the procedure in the link below. However, when I did, I had the problem of being programmed to one FPGA consecutively.
%%%%%%%%%%%%%%%%%%%%%
filProgramFPGA('AMD Vivado','arty.runs\impl_1\design_1.bit',1)
h(1) = aximanager('AMD');
filProgramFPGA('AMD Vivado','arty.runs\impl_1\design_1.bit',1)
h(2) = aximanager('AMD');
%%%%%%%%%%%%%%%%%%%%%
I think this is happening by using the jtagchain value as the same value because the two FPGAs I use are the same board.
Is there a way to set the same FPGA to different jtagchains? Can you tell me how to do it?
Or is there another way to program multiple FPGAs that are the same?
Thanks.
0 Comments
Answers (1)
Sahas
on 9 Apr 2025
Looks like the issue is that you are using the same jtagchains to identify the FPGA boards. Try out the following implementation and change the "chainPosition" arguement:
% Program the first FPGA
filProgramFPGA('AMD Vivado', 'arty.runs\impl_1\design_1.bit', 1);
h(1) = aximanager('AMD', 'JTAGChainPosition', 1);
% Program the second FPGA
filProgramFPGA('AMD Vivado', 'arty.runs\impl_1\design_1.bit', 2);
h(2) = aximanager('AMD', 'JTAGChainPosition', 2);
For more information, refer to the folloing MathWorks documentation on "filProgramFPGA" and "aximanager" functions in MATLAB:
I hope this is beneficial!
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!