########################################################### # Save any gui changes ########################################################### validate_bd_design write_bd_tcl -force ./system_bd.tcl make_wrapper -files [get_files $projdir/${design}.srcs/sources_1/bd/system/system.bd] -top ########################################################### # Add generated wrapper file ########################################################### add_files -fileset sources_1 -norecurse $projdir/${design}.srcs/sources_1/bd/system/hdl/system_wrapper.v ########################################################### # Implement Design ########################################################### launch_runs synth_1 wait_on_run synth_1 launch_runs impl_1 wait_on_run impl_1 ########################################################### # Write Bitstream ########################################################### launch_runs impl_1 -to_step write_bitstream