Operator CxpTxTrigger

Operator Library: Hardware Platform

This operator generates trigger packets according to signal edges detected at the input port.

There are two possible implementations of the CxpTxTrigger operator that depend on the number of input ports:

  • Single Input Port: The Tx Trigger specification from CXP 1.X standard is used. CXPLinkTrigger0 is sent with every rising edge on the input port I. When the TxTriggerPacketMode parameter is not set to RisingEdgeOnly, CXPLinkTrigger1 is sent with every falling edge on the input port I. If the operator is instantiated with a single input port, the name of said port is I.

  • Multiple Input Ports: The Tx Trigger specification from CXP 2.X standard is used (LSB of delay is used to implement trigger 2 and 3). Every input port is assigned to one of the CXPLinkTriggers from 0 to 3. Every rising edge on an input port will result in the corresponding CXPLinkTrigger packet being sent. For this configuration the TxTriggerPacketMode parameter is deactivated. If the operator is instantiated with multiple input ports, the names of the input ports range from LinkTrigger0 to LinkTrigger3 depending on the number of configured input ports.

The operator uses one resource CxpTxTriggerPort, which is in range {0, 1, 2, 3}. This resource corresponds to the CXP channel in which the trigger packets are sent.

Available for Hardware Platform
imaFlex CXP-12 Quad

I/O Properties

Property Value
Operator Type M
Input Links I, n == 1, trigger input
LinkTrigger[n], n > 1, trigger input

Supported Link Format

Link Parameter Input Link I, n == 1 Input Link LinkTrigger[n], n > 1
Bit Width 1 1
Arithmetic unsigned unsigned
Parallelism 1 1
Kernel Columns 1 1
Kernel Rows 1 1
Color Flavor FL_NONE FL_NONE
Max. Img Width any any
Max. Img Height any any


Type Dynamic Write parameter
Default RisingFallingEdge
Range {RisingFallingEdge,RisingEdgeOnly}

This parameter defines for which trigger input edge a trigger packet is sent. If you select the RisingFallingEdge mode, a packet is sent for rising and falling edges. If you select the RisingEdgeOnly mode, only packets are sent for the rising edge. This parameter is only active, when only a single input port is used.

Examples of Use

The use of operator CxpTxTrigger is shown in the following examples: