How to program two FPGAs at the same time using HDL Verifier™ Support Package for AMD FPGA and SoC Devices

6 次查看(过去 30 天)
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.

回答(1 个)

Sahas
Sahas 2025-4-9
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!

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by