Data Loos in a multi rate system in HDL Coder

2 ビュー (過去 30 日間)
shauk 2017 年 6 月 29 日
回答済み: Kiran Kintali 2021 年 6 月 30 日
So i am designing a multi rate system in Simulink, that is converted to HDL code using the HDL coder. My design consist of a I2S receiver (designed with stateflow) then a set of up sampling filter and output through a simple processing block. So my input signal frequency is 176.4 kHz, and output is 11.2 MHz. As for the requirement of the I2S block, the I2S block needs to run at 64 times the input Fs which is 176.4 kHz *64 = 11.2 MHz, same as the output processing block. I am getting some data losses in the output. I only get output from every second sample, when i look the output in the oscilloscope. Any idea how to solve this problem?

回答 (1 件)

Kiran Kintali
Kiran Kintali 2021 年 6 月 30 日
Authoring a Reference Design for Audio System on a Zynq Board
This example shows how to build a reference design to run an audio algorithm and access audio input and output on a Zynq® board.
In this example you will create a reference design which receives audio input from Zedboard, performs some processing on it and transmits the processed audio data out of Zedboard. You also generate IP cores for peripheral interfaces using HDL Workflow Advisor.
To perform audio processing on Zedboard, you need the following 2 protocols:
  1. I2C to configure the ADAU1761 audio codec chip on Zedboard.
  2. I2S to stream the digitized audio data between the codec chip and Zynq fabric.


Community Treasure Hunt

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

Start Hunting!

Translated by