MATLAB Ethernet AXI manager frequent timeout issue

40 views (last 30 days)
Nadatimuj
Nadatimuj on 23 Oct 2024 at 0:58
Commented: Nadatimuj on 13 Nov 2024 at 10:19
Hi,
MATLAB HDL verifier's Ethernet Axi manager times out when writing large array. I am using Ethernet on VCU118 board. When I ping from CMD, it never misses any packets. When I send smaller array in incremental burst, it never fails. But when the array size is >256, I get the following error frequnetly:
What can be the reason??? Just sending 257 numbers, it fails. 256 numbers it works!
clc
close all
clearvars
tic
fpga5ID = 5;
mem_FPGA5 = aximanager('AMD', 'interface', 'PLEthernet', ...
'DeviceAddress', ['192.168.0.', num2str(fpga5ID)], ...
'Port', num2str(50100 + fpga5ID));
toc
tic;
for i=1:100000
writememory(mem_FPGA5, 0, 10*ones(1,257), 'BurstType', 'Increment');
end
toc
Elapsed time is 3.086278 seconds.
Error using aximasterudp_mex
Transaction request timed out. Check whether the target board is powered
on and connections to the board are proper.
Error in hdlverifier.AXIManagerEthernet/writememory
Error in untitled (line 15)
writememory(mem_FPGA5, 0, 10*ones(1,257), 'BurstType', 'Increment');
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>
  4 Comments
Navya Seelam
Navya Seelam on 13 Nov 2024 at 10:05
I was not able to reproduce the issue on VCU118. I suspect the issue is with how PCS PMA IP is configured. Can you refer to https://github.com/alexforencich/verilog-ethernet to configure it correctly?
Nadatimuj
Nadatimuj on 13 Nov 2024 at 10:19
@Navya Yeah I talked to Alex multiple times and my designs wraps up all his configurations and then combined MATLAB SGMII IP design that was privately sent to me via Mathworks support case. If you have a working design that does not reproduce this, would you be able to share it with me? Thanks.

Sign in to comment.

Answers (0)

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!