X<DUT>_InterruptEnable - 2024.2 English

Vitis High-Level Synthesis User Guide (UG1399)

Document ID
UG1399
Release Date
2024-11-13
Version
2024.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.