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 asap_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) whenap_ready
is asserted by the device and ifap_continue
is asserted whenap_done
is asserted by the device.
Available only if there is an ap_start
port.
-
InstancePtr
- A pointer to the device instance.