필터 지우기
필터 지우기

Simulink HDL Coder - Filter - Fully Serial Interfacing

조회 수: 1 (최근 30일)
Jast
Jast 2015년 9월 18일
편집: Jast 2015년 9월 18일
I have generated an IIR filter using FDAtool, ported it to simulink, and got it running on an FPGA in full parallel mode. Now I want to implement the fully serial architecture, but I cannot find an example timing diagram for interfacing with the top level entity of the filter. Does anyone know where to find such an example timing diagram which explains how to interface with the fully serial filter?
Thanks

채택된 답변

Bharath Venkataraman
Bharath Venkataraman 2015년 9월 18일
편집: Bharath Venkataraman 2015년 9월 18일
There is no timing diagram readily available, but if you look at the HDL code, you will see the interface is to provide a clock input that is N times faster (the setting for N is displayed during HDL code generation: Clock Rate is N times the sample rate for this architecture) and feed in the data/samples at 1/N the clock rate.
You can also generate a testbench for the design, which will show how to do this in HDL.

추가 답변 (1개)

Jast
Jast 2015년 9월 18일
편집: Jast 2015년 9월 18일
Thanks for the answer.
It seems to be indeed that way, the clock should be N times faster than the sample clock, and then it works. It actually gives very nice results. I implemented a 4th order chebychev type one IIR filter on a cyclone V, with 16 bits coefficients, 16 bit inputs, and 32 bits internal representation. It uses 2 mulitipliers in my device, with a samplerate of 4.5 MHz, and a clock of 58.5MHz for the IIR filter. The filter performs almost identical to the floating point version, so that is very nice indeed. It performs identical to the fully parallel version, wich is reassuring
HDL coder should be configured properly so that pipeline registers are inserted (but this concerns the full parallel version more of course), otherwise Fmax becomes inacceptible low.
I'll have a look at the testbench generation as well
Cheers

카테고리

Help CenterFile Exchange에서 Optimization에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by