3.5.1.19.1 Module Control Driver Functions
(Ask a Question)When a top-level function is configured to use AXI4 target interface for module control (see 3.5.1.18.1 Module Control Interface), SmartHLS™ generates the following driver functions:
// Returns 1 if the HLS module is idle (or has finished the last invocation). int MyTopFunc_is_idle(); // Starts the HLS module. All other input arguments are expected to have been set when this function is called. void MyTopFunc_start(); // A blocking function that waits for the completion of the HLS module, and returns the return value of the HLS module (if not void). RETURN_TYPE MyTopFunc_join();