- Target Board: Zedbaord
- Vivado: version 2019.2 on CentOS7.8
$source /path/to/Vivado/2019.2/settings64.sh
Run the following vivado commands in polyphony/implement/synth/zedboard directory. After all commands are finished, zedboard.xsa and zedboard.bit will be generated.
$cd implement/synth/zedboard
$vivado -mode batch -source ip.tcl
$vivado -mode batch -source synth.tcl
$vivado -mode batch -source implement.tcl
$vivado -mode batch -source bitgen.tcl
start vitis with -workspace option.
$vitis -workspace ./sdk.2019.2
Import projects from vitis_archive.ide.zip
- Select File->Import: Check "Vitis project exported zip file" and click "Next>".
- Select "vitis_export_archive.ide.zip" as Archive File, then click "Finish"
- On vitis Explorer panel, select "zbd" platform and click right-button. On the pop-up window, select "Update Hardware Specification".
- Click "OK".
- Hardware specification will be updated.
The following steps run the demo on Zedboard.
- Power on Zedboard
- Connect USB program cable and USB serial cable
- Load .bit to Zedboard
cd polyphony/implement/synth/zedboard
$vivado -mode batch -source load_fpga.tcl
- Select a project to be run. The following example selects "app_cook_torrance" project.
- Build the selected project. Please make sure that the project's Release configuration is active.
- Run the selected demo. On the built project, right-click. On the Popup-menu, select "Run As->Launch on Hardware.
printf output (stdout) is shown via serial port /dev/ttyACM0.
$sudo screen /dev/ttyACM0 155200