There are two modes for detecting HW finished signal; polling and interruption.
In current implementation, SW interfaces of both mode are synthesized as functions ((); and _interrupt(); ). To specify the mode, user should describe respective function.
In terms of the maintainability of the design file, it would be better that the detecting mode can be specified in the JSON file. Corresponding SW interface layer may only be synthesized in the toolchain.