Wiki

This version (18 May 2021 08:55) was approved by Nikhin Shetty.

Click here to return to the Arithmetic and Logic page

Zero Comparator


Description

The Zero Comparator block takes any input and compares the value to 0. If the input signal is non-zero, the output will be zero. If the input is zero, the output will be a flag of “1” in the bit position designated by the drop-down box

Targets Supported

Name ADSP-214xx ADSP-215xx/SC5xx ADAU145x/146x
—————————— ——————-- ——————————-- —————————-
ZeroComparator B/S B/S S


Pins

Input

NameTypeDescription
————————————— —————————- —————————————
Input0AudioInput channel 0

Output

NameTypeDescription
————————————— —————————- —————————————
Output0AudioOutput channel 0

Configurable Parameters

GUI Parameter NameDefault ValueRangeFunction Description
————————————— ——————————- ————————————-- ——————————————————————--
Selected BitBit:0Bit:30Sets bit position of Output'1' Flag.
NumChannels120Number of input channels. Change in this requires recompilation

DSP Parameters

Parameter NameDescriptionADSP-214xx/215xx/SC5xxADAU145x/146x
—————————— ——————————————————————— ————————————————-- ————————————--
CompValueCompute & set the bit position value FixInt32 FixInt32
resources/tools-software/sigmastudiov2/modules/arithmeticandlogic/zerocomparator.txt · Last modified: 07 May 2021 07:47 by Krithika Manchale