IP core generation for built-in Simulink model

3 ビュー (過去 30 日間)
Alex Alex
Alex Alex 2024 年 2 月 6 日
編集済み: Alex Alex 2024 年 3 月 3 日
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?
  1 件のコメント
Alex Alex
Alex Alex 2024 年 3 月 3 日
編集済み: Alex Alex 2024 年 3 月 3 日
The issues were fixed by upgrading to Matlab R2023b.
Thank you!

サインインしてコメントする。

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by