算子 CoFTxTrigger

Operator Library: Hardware Platform

This operator allows transmission of trigger packets to a CoaXPress over fiber (CoF) camera in VisualApplets design.

The operator generates trigger packets according to the trigger type provided on the input port I. The TX trigger is a 4-bit value, which represents the trigger type as defined in the CXP standard. Up to 16 different trigger types can be defined. Every valid input value on the port I results in transmission of a CoF trigger packet of the type equal to the provided value.

The operator docks to the TX master lane within the connection between camera and frame grabber. The Design Rules Check (DRC) checks whether a corresponding camera operator is instantiated and the master lane selection between the CoFCamera and the CoFTxTrigger operators matches. In case of errors, the DRC provides an error message, and the operator will get a red background overlay. There is no instantiation order, both CoFCamera and CoFTxTrigger can be used as desired. But to pass the DRC, both operators and the correct mapping to ports are required.

适用于硬件平台
imaFlex 2 Dual 100

资源

该算子将 FiberConnection 参数设置镜像到 FPGA Device Resources 对话框中,作为只读参数。如果您从 Analysis 菜单中打开 FPGA Device Resources 对话框,则可以查看 FPGA 设备资源。设备资源为只读:

FPGA Device Resources

Figure 418. FPGA Device Resources


Depending on the allocated port, the resource is of the type Port[0] CoF TX Trigger Lane or of the type Port[1] CoF TX Trigger Lane with the index range from 0 to 3. The operator allocates always only one lane, as the transmission of trigger packets is running always over the master lane.

Signal Output Ports

There are several status signal output ports that indicate the processing state of the trigger packet. These ports provide information about what happens to the trigger signal during operation.

  • TriggerSent: A pulse on this port indicates that a trigger packet has been successfully sent to the connected camera.

  • TriggerAck: A pulse on this port indicates that a sent trigger packet has been acknowledged by the connected camera.

  • TriggerOverRequest: A high value on this port indicates an over-request condition. This occurs when too many trigger values are provided on the input port within the time window of a single trigger packet transmission. In this situation, the next trigger can't be sent because the previous one is still being transmitted.

    According to the CoaXPress (CXP) standard, the next trigger packet must not be sent until the previous packet has been acknowledged or has timed out (480 nanoseconds).

    [注意] You Can Violate This Rule in VisualApplets

    VisualApplets allows intentional violation of this rule for special cases where the camera requires a higher trigger rate or overlapping trigger events of different types. In such cases, the system only checks that two trigger packets do not overlap (minimum gap: 33.28 nanoseconds), which is much shorter than the 480 ns timeout defined by the CXP standard.

  • TriggerLost: A pulse on this port indicates that a sent trigger packet has not been acknowledged by the connected camera within the 480 nanoseconds time-out window.

I/O Properties

财产 值
操作员类型 M
Input Link I, 触发类型
输出链接 TriggerSent,表示触发数据包已成功发送
TriggerAck,表示发送的触发数据包已被确认
TriggerOverRequest,表示超请求条件
TriggerLost,表示发送的触发数据包未被确认

Supported Link Format

链接参数 输入链路 I 输出 Link TriggerSent 输出 Link TriggerAck 输出 Link TriggerOverRequest 输出 Link TriggerLost
Bit Width 4 1 1 1 1
Arithmetic 未签名 未签名 未签名 未签名 未签名
Parallelism 1 1 1 1 1
内核列 1 1 1 1 1
内核行 1 1 1 1 1
图像协议 VALT_PIXEL0D VALT_SIGNAL VALT_SIGNAL VALT_SIGNAL VALT_SIGNAL
Color Format VAF_GRAY VAF_GRAY VAF_GRAY VAF_GRAY VAF_GRAY
颜色口味 FL_NONE FL_NONE FL_NONE FL_NONE FL_NONE
Max. Img Width 任何 不关心 不关心 不关心 不关心
Max. Img Height 任何 不关心 不关心 不关心 不关心

参数

FiberConnection
键入 Static Write 参数
默认 port_0_lane_0
范围 {port_0_lane_0, port_1_lane_0}

此参数定义相机连接到哪个 QSFP28 端口,以及该端口的哪个 lane 是主 lane:即可传输触发数据包的 lane。

port 0 and port 1 仅支持带 4 lanes 的相机配置。因此, CoFTxTrigger 在两个端口上均仅可使用 lane 0。

只有当该端口的 AppletProperties 算子中的 FiberProtocol 参数设置为 CoF 而不是 DataForwarding 时,才能使用所选的 QSFP28 端口。

如果 FiberProtocol 设置为 DataForwarding 且 CoFTxTrigger 算子尝试映射到该光纤端口,设计规则检查 (DRC) 将生成错误消息。在这种情况下,FiberConnection 参数将被标记为冲突(红色),将鼠标悬停在上方将显示解释冲突的快速提示帮助消息。

在同一通道上,只有一个 CoFTxTrigger 算子可以使用相同的硬件 QSFP28 端口。多个算子之间的映射必须在整个设计中保持唯一。

CoFTxTrigger 算子要求在同一主通道上存在 CoFCamera 算子。如果不满足此条件,FiberConnection 参数将被标记为冲突(红色),将鼠标悬停在上方将显示解释冲突的快速提示帮助消息。