BooleanMatch

A processing block that takes a boolean input and generates a PMP event based on a level or edge based match condition.

The boolean match processing block can be found in the ‘Templates’ feature in the PMP installer.

Description

The implementation of the BooleanMatch processing block is shown in BooleanMatch implementation.

BooleanMatch implementation

BooleanMatch implementation

The MatchCondition specifies the condition when the Match event is active. The supported match conditions are given below.

0 = Disabled

The Match event is inactive.

Disabled match condition implementation
1 = High level

The Match event is active when the Boolean input is True.

High level match condition implementation
2 = Low level

The Match event is active when the Boolean input is False.

Low level match condition implementation
3 = Rising edge

The Match event is active one sample period each time the Boolean input changes from False to True.

Rising edge match condition implementation
4 = Falling edge

The Match event is active one sample period each time the Boolean input changes from True to False.

Falling edge match condition implementation
5 = Any edge

The Match event is active one sample period each time the Boolean input changes state.

Any edge match condition implementation

Interface

Inputs

Inputs

Name

Description

Boolean

Boolean value to compare with match condition.

Read-write signals

Read-write signals

Name

Description

MatchCondition

0 = Disabled
1 = High level
2 = Low level
3 = Rising edge
4 = Falling edge
5 = Any edge

Events

Events

Name

Description

Match

Boolean input matches with specified condition.