-
Notifications
You must be signed in to change notification settings - Fork 115
/
vivado_build.tcl
26 lines (26 loc) · 1.35 KB
/
vivado_build.tcl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#
# RUN FROM WITHIN "Vivado Tcl Shell" WITH COMMAND:
# source vivado_build.tcl -notrace
#
puts "-------------------------------------------------------"
puts " STARTING SYNTHESIS STEP. "
puts "-------------------------------------------------------"
launch_runs synth_1
puts "-------------------------------------------------------"
puts " WAITING FOR SYNTHESIS STEP TO FINISH ... "
puts " THIS IS LIKELY TO TAKE A VERY LONG TIME. "
puts "-------------------------------------------------------"
wait_on_run synth_1
puts "-------------------------------------------------------"
puts " STARTING IMPLEMENTATION STEP. "
puts "-------------------------------------------------------"
launch_runs impl_1 -to_step write_bitstream
puts "-------------------------------------------------------"
puts " WAITING FOR IMPLEMENTATION STEP TO FINISH ... "
puts " THIS IS LIKELY TO TAKE A VERY LONG TIME. "
puts "-------------------------------------------------------"
wait_on_run impl_1
file copy -force ./pcileech_squirrel/pcileech_squirrel.runs/impl_1/pcileech_squirrel_top.bin pcileech_squirrel.bin
puts "-------------------------------------------------------"
puts " BUILD HOPEFULLY COMPLETED. "
puts "-------------------------------------------------------"