As described in the
compute() API section, the body of
the compute() function represents a structural
composition of PEs, which is unlike the procedural C semantics but can be validated
in the Vitis tools by running software
emulation. The compute() scope can only hold two
types of C++ statements:
- Function calls to represent hardware PEs. The structural
semantics of the
compute()body allows various hardware composition styles that are described in the following sections. - Static
vpp::streamobject declarations to represent data streams in-between PEs. This is described in more detail in the following section.