X<DUT>_EnableAutoRestart - 2022.2 English

Vitis High-Level Synthesis User Guide (UG1399)

Document ID
UG1399
Release Date
2022-12-07
Version
2022.2 English

Syntax

void X<DUT>_EnableAutoRestart(X<DUT> *InstancePtr);

Description

Enables “auto restart” on device. When this is enabled,

  • Port ap_start will be asserted as soon as ap_done is asserted by the device and the device will auto-start the next transaction.
  • Alternatively, if the block-level I/O protocol ap_ctrl_chain is implemented on the device, the next transaction will auto-restart (ap_start will be asserted) when ap_ready is asserted by the device and if ap_continue is asserted when ap_done is asserted by the device.

Available only if there is an ap_start port.

InstancePtr
A pointer to the device instance.