Wiki

This version is outdated by a newer approved version.DiffThis version (05 Jun 2020 10:26) is a draft.
Approvals: 0/1

This is an old revision of the document!


Click here to return to the Arithmetic and Logic page

AB-In CD-Out Condition


Description

The AB In-CD Out Condition block lets you compare the sample-by-sample level of two incoming signals (A & B) and output the sample of one of two new signals (C & D), depending on the condition.

This algorithm works only for DSP's with conditional instruction.

Usage

Click the icon in the block to select the condition you want to check:

  1. greater than
  2. less than
  3. greater than or equal to
  4. less than or equal to

When the condition is true, output sample is C; otherwise, it's D.

Targets Supported

NameADSP-214xx(Sample)ADSP-214xx(Block)ADSP-215xx/ADSP-SC5xx(Sample)ADSP-215xx/ADSP-SC5xx(Block)
ABInCDOutCondition Yes YesYes Yes


Pins

Input

NameTypeDescription
Input0AudioInput channel 0 (Input Signal A)
Input1AudioInput channel 1 (Input Signal B)
Input2AudioInput channel 0 (Input Signal C)
Input3AudioInput channel 1 (Input Signal D)

Output

OutputAudioOutput channel

Configurable Parameters

No configurable parameter

DSP Parameters

NO DSP parameters

resources/tools-software/sigmastudiov2/modules/arithmeticandlogic/abincdoutcondition.1591345582.txt.gz · Last modified: 05 Jun 2020 10:26 by Nikhin Shetty