1 # post-write_bitstream script
2 # executed in impl_1 directory
4 #set dir [get_property DIRECTORY [current_project]]
5 #set impl_dir [get_property DIRECTORY [current_run]]
9 puts "Current dir: $_pwd"
10 puts "Project dir: $dir"
11 puts "Impl dir: $impl_dir"
12 file copy -force $impl_dir/top_wrapper.hwdef $dir/../system.hdf
13 file copy -force $impl_dir/top_wrapper.bit $dir/../system.bit
14 file copy -force $dir/../system.bit /tftpboot/uzedcan/system.bit
17 exec bootgen -image system.bif -w -process_bitstream bin
20 file copy -force $dir/../system.bit.bin /export/canbench/system.bit.bin
21 exec gzip -f /export/canbench/system.bit.bin