The ADF graph has connections to the PL through PLIO interfaces. These interfaces can have reference clocking either from the graph.cpp through the PLIO() constructor or through the --pl-freq. This helps determine what kind of clock to set on the PL kernels that connect to the PLIO. In this example, the reference frequency is set to 200 MHz for all PLIO interfaces.
NOTE: If you do not specify the --pl-freq, it defaults to 1/4 the frequency of the AI Engine frequency.
v++ -c --mode aie --target=hw -include="$(XILINX_VITIS)/aietools/include" --include="./aie" --include="./data" --include="./aie/kernels" --include="./" --freqhz=200000000 --aie.workdir=./Work aie/graph.cpp
Flag |
Description |
|---|---|
–target |
Target how the compiler builds the graph. Default is |
–include |
All the typical include files needed to build the graph. |
–freqhz=200000000 |
Sets all PLIO reference frequencies (in MHz). |
–aie.workdir |
The location of where the work directory is created. |