bitstream.tcl 333 B

1234567891011121314151617
  1. set project_name [lindex $argv 0]
  2. open_project tmp/$project_name.xpr
  3. if {[get_property PROGRESS [get_runs impl_1]] != "100%"} {
  4. launch_runs impl_1
  5. wait_on_run impl_1
  6. }
  7. open_run [get_runs impl_1]
  8. set_property BITSTREAM.GENERAL.COMPRESS TRUE [current_design]
  9. write_bitstream -force -file tmp/$project_name.bit
  10. close_project