IP core generation for built-in Simulink model

2 次查看(过去 30 天)
I want to generate HDL code (IP core) for my model that consists of the Channelizer block.
My model has the following inputs:
data_input (sfix12, complex), valid_input (boolean).
My model has the following outputs:
data_output (sfix12_E3 [1x30], complex), valid_output (boolean).
The problem is that I am unable to generate IP core for my model. I have tried dozens of configurations but different errors occurs.
Questions:
  1. Do I need to use frame to sample conversion in my case (considersing output is a complex vector)?
  2. How AXI4 interface will be generated for valid_input input? Will the signal reach the Channelizer block within one clock cycle (or signal will control only AXI interface)?
If the answer for the question #1 is yes then I get the following errors:
  1. When frame to sample conversion is enabled, streamed scalar ports are not supported (if convertToSamples for ports are on).
  2. When frame to sample conversion is enabled, interface 'AXI4-Stream Slave' can only be assigned to streamed ports (if convertToSamples for ports are off).
If the answer for the question #1 is no then I get the following error:
Using AXI4-Stream interface with Ready port unassigned is not supported when "Minimize clock enables" is in effect (although TREADY port is not listed in the Interface Mapping options).

回答(2 个)

Kiran Kintali
Kiran Kintali 2024-2-7
Please share your model if possible. I am attaching few sample design patterns that show how to build HDL Coder compliant design.
  1 个评论
Alex Alex
Alex Alex 2024-2-7
My model is just from this example:
https://www.mathworks.com/help/dsphdl/gs/generate-hdl-code-for-high-throughput-channelizer.html

请先登录,再进行评论。


Kiran Kintali
Kiran Kintali 2024-2-14
Unfortunately we do not have your contact in our tech support database. Can you reach out to our support team via email to support@mathworks.com or create a tech support ticket https://www.mathworks.com/support/contact_us.html?
My model has the following inputs: data_input (sfix12, complex), valid_input (boolean).
My model has the following outputs: data_output (sfix12_E3 [1x30], complex), valid_output (boolean).
We need few additional details such as what is the FFT size / FFT length that you are expecting to use within the HDL DUT?

类别

Help CenterFile Exchange 中查找有关 HDL Coder 的更多信息

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by