HDL Coder Filter Latency

조회 수: 1 (최근 30일)
Ewan Mackenzie
Ewan Mackenzie 2020년 3월 23일
댓글: Ewan Mackenzie 2020년 3월 27일
Hi
Ive complied a fully paralell FIR filter using the FilterDesigner and HDL Coder and it reported the latency as 2. I am struggling to understand what the latency is exactly, is it the number of clocks required for a valid output? - 1 clock for multiplication and another for summing, but if so would the delay pipeline not also require a clock cycle?
-- -------------------------------
-- Filter Structure : Direct-Form FIR
-- Filter Length : 65
-- Stable : Yes
-- Linear Phase : Yes (Type 1)
-- Arithmetic : fixed
-- Numerator : s16,15 -> [-1 1)
-- Input : s16,15 -> [-1 1)
-- Filter Internals : Full Precision
-- Output : s33,30 -> [-4 4) (auto determined)
-- Product : s31,30 -> [-1 1) (auto determined)
-- Accumulator : s33,30 -> [-4 4) (auto determined)
-- Round Mode : No rounding
-- Overflow Mode : No overflow
-- -------------------------------------------------------------
Thanks in advance.

채택된 답변

Aman Vyas
Aman Vyas 2020년 3월 27일
Hi,
Latency is defined as the total number of clock cycles required in obtaining the output.
It will depend which path are you seeing for delay pipeline. If the path you are seeing for output that will require 2 cycles.
For more information read the following article:
Hope this helps !
  댓글 수: 1
Ewan Mackenzie
Ewan Mackenzie 2020년 3월 27일
Exactly what I was looking for, thank you

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 HDL Code Generation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by