Wiki

This version (10 May 2021 15:39) was approved by Krithika Manchale.

Click here to return to the Arithmetic and Logic page

Binary to Decimal


Description

The Absolute Value block coverts all input signals that are binary to decimal.

Targets Supported

Name ADSP-214xx ADSP-215xx/SC5xx ADAU145x/146x
—————————— ——————-- ——————————-- —————————-
Bin to Decimal NA NA S/B


Pins

Input

Name Type Description
———————————— —————————— —————————————-
Input0Int-ControlInput Bit 0
Input1Int-ControlInput Bit 1

Output

NameTypeDescription
———————————— —————————— —————————————-
OutputControlOutput Decimal(int 32.0)

Configurable Parameters

NumChannels: Module supports growth of input pins.

Example Usage

This module can be used with GPIOs to convert the multiple GPIO's value into a single integer value.

GPIO_0 GPIO_1 BinToDec Output (32.0) Lookup Table Output (8.24)
—————————— ——————-- ————————————— ————————————--
0 0 0 0 db
1 0 1 1 db
0 1 2 2 db
1 1 3 3 db


DSP Parameters

NO DSP parameters

resources/tools-software/sigmastudiov2/modules/arithmeticandlogic/bintodec.txt · Last modified: 07 May 2021 07:10 by Krithika Manchale