Swithches Groups

Overview

These blocks are used for Swithch operation of a given input.

  • Priority Switch

  • Switch Negate

  • Switch Maximum

Priority Switch

Priority Switch Block
  • Prioritising the switch of all the inputs and storing the outcome in the output are the functions of this block. There are several select values here. The topmost (first input) input is chosen by the select flag value. The lower input, or last input, is chosen if none of the Select flags are true. Even if select flag 2 is also high, input 1 will be the priority if select 1 value is high.

Properties

Name

Description

Number of select Inputs

Number of select inputs to be selected the priority Switch value

Inputs and Outputs

Name

Description

Supported data type

Sel1 – Select Input 1

Select Input 1

Boolean

Sel2 – Select Input 2

Select Input 2

Boolean

Seln – Select Input n

Select Input n

Boolean

Ip1 – Input 1

Input 1

All Data Types

Ip1 – Input 2

Input 2

All Data Types

Ip1 – Input n

Input n

All Data Types

Out – Output

Priority Switch value of all input operands

All Data Types

Switch Negate

Switch Negate Block

This block is used to Negate of the input and store result in the output. If the enable input is True, the output is the input multiplied by -1. Otherwise the output follows the input.

Inputs and Outputs

Name

Description

Supported data type

Ip1 – Enable Input

The value to be to be high or low

Boolean

Ip2 – Negate Input

The value to be to be negated

Signed data types | Single Precision

Out – Output

Added value of all input operands

Signed data types | Single Precision

Switch Maximum

Switch Maximum Block

This block is used to find the Maximum of all the inputs and store result in the output.

Properties

Name

Description

Number of Inputs

Number of Inputs to be Switch Maximum

Inputs and Outputs

Name

Description

Supported data type

Ip1 – Input 1

Input 1

All Data Types

Ip1 – Input 2

Input 2

All Data Types

Ipn – Input n

Input n

All Data Types

Out – Output

Switch Maximum value of all input operands

All Data Types