X<DUT>_InterruptEnable - 2021.2 English

Vitis High-Level Synthesis User Guide (UG1399)

Document ID
UG1399
ft:locale
English (United States)
Release Date
2021-12-15
Version
2021.2 English

Syntax

void X<DUT>_InterruptEnable(X<DUT> *InstancePtr, u32 Mask);

Description

Enable the interrupt source. There can be at most two interrupt sources (source 0 for ap_done and source 1 for ap_ready).

InstancePtr
A pointer to the device instance.
Mask
Bit mask.
  • Bit n = 1: enable interrupt source n.
  • Bit n = 0: no change.