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

9 visualizaciones (últimos 30 días)
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 comentario
Jason Hannon
Jason Hannon el 23 de En. de 2025
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.

Iniciar sesión para comentar.

Respuestas (1)

Sreeram
Sreeram el 28 de En. de 2025
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!

Categorías

Más información sobre Code Generation en Help Center y File Exchange.

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by