Error when using multiple AXI stream interfaces: The specified key is not present in this container

23 ビュー (過去 30 日間)
Alex Alex
Alex Alex 2024 年 3 月 5 日
回答済み: Sreeram 2025 年 1 月 28 日 10:54
I get an error when trying to set target interface with the following settings:
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
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
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!

カテゴリ

Help Center および File ExchangeCode Generation についてさらに検索

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by