Error when using multiple AXI stream interfaces: The specified key is not present in this container
23 次查看(过去 30 天)
显示 更早的评论
I get an error when trying to set target interface with the following settings:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1635736/image.png)
Failed The specified key is not present in this container.
Error using indexing
The specified key is not present in this container.
Error in hdlturnkey.data.ChannelList/getChannelFromPortName
Error in hdlturnkey.interface.AXI4Stream/validateVectorPortSampleMode
Error in hdlturnkey.interface.AXI4Stream/validateFullTable
Error in hdlturnkey.table.TargetInterfaceTable/validateTable
Error in hdlturnkey.table.TargetInterfaceTable/validateInterfaceTable
Error in downstream.DownstreamIntegrationDriver/validateTargetInterface
Error in setTargetInterface
Error in Simulink.ModelAdvisor/executeCheckCallbackFct
Error in Simulink.ModelAdvisor/run
Error in Simulink.ModelAdvisor/runCheck
Error in ModelAdvisor.Node/runTaskAdvisor
I have created minimal reproducible example (axi_error.slx)
The error appears when using multiple AXI stream interfaces.
How can I avoid this error?
1 个评论
Jason Hannon
2025-1-23,18:13
Did you ever gt any resolution on this? I'm having the same issue. I had it working previously with 2 AXIS interfaces and now it no longer does and gives me the same error you encountered.
回答(1 个)
Sreeram
2025-1-28,10:54
Hi Alex,
It looks like the behavior may be related to a known issue with mapping vector ports to AXI4-Stream interfaces.
To work around this limitation, consider manually managing the packing and unpacking of data at the DUT boundary. This can be done using Simulink blocks such as 'Bit Concat' to pack vector data and 'Bit Slice' to unpack it.
More details on the issue may be accessed through the following Bug Reports page:
I hope this helps!
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!