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

23 visualizzazioni (ultimi 30 giorni)
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 Commento
Jason Hannon
Jason Hannon il 23 Gen 2025 alle 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.

Accedi per commentare.

Risposte (1)

Sreeram
Sreeram il 28 Gen 2025 alle 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!

Categorie

Scopri di più su Code Generation in Help Center e File Exchange

Prodotti


Release

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by