added vivado-vitis uart workflow to lab3

This commit is contained in:
PurplePower
2023-12-25 23:40:26 +08:00
parent ffcc688d94
commit 5ecb75157a
14 changed files with 1379 additions and 1602 deletions

View File

@@ -54,8 +54,8 @@ while 1 {
wait_on_run impl_1
# copy the bitstream so vivado GUI still finds it
file copy riscv-z710/riscv-z710.runs/impl_1/design_1_wrapper.bit riscv-z710/riscv-z710.runs/impl_1/Top.bit
# this will export platform .xsz
write_hw_platform -fixed -include_bit -force -file ./riscv-z710/Top.xsa
# export hardware platform to Vitis
set_property pfm_name {} [get_files -all $project_dir/$project_name.srcs/sources_1/bd/design_1/design_1.bd]
write_hw_platform -fixed -include_bit -force -file $project_dir/design_1_wrapper.xsa