| Running the Design on Hardware | Explains how to determine the functional correctness of the design by running on hardware. |
| Error Handling and Reporting in the Host Application |
Explains how to use error reporting APIs to handle errors in the host code. - XRT error handling APIs - This method reports errors that can be detected during the XRT runtime function call or underneath the driver, system, hardware, etc. - Using XBUtil - XButil error reporting can accumulate all the errors from various classes and sorts them by timestamp. |
| Analyzing Run Results |
Explains different techniques (XRT, XBUtil, and XSDB) to analyze the design by running on hardware and helps to choose from the following methodologies: - AI Engine status using XRT - Using XRT is fast and the host executable can automatically reads the `xrt.ini` file to configure the runtime. - - Manual AI Engine Status Using the XBUtil Utility - XBUtil is a standalone command utility included with XRT and does not require any special file to handle. You can directly use XBUtil commands on the console after boot. - Deadlock detection using XSDB - XSDB runs independent of XRT and can analyze the results before, during, or after design runs. Also, you can use the XSDB for bare-metal applications in addition to the Linux-based applications. |
| Using APIs in the Host Application |
Explains how to modify the host code to add APIs in the host application that helps profiling the design for getting throughput, latency, and bandwidth. - Profiling Graph throughput - Provides insight on how to modify the host code for profiling the number of samples sent and received. - Profiling to count the samples sent and received (Exercise Step) - Provides insight on how to modify the host code for profiling the number of samples sent and received. |