OpenFPGA/yosys/examples/basys3/run_prog.tcl

5 lines
174 B
Tcl

connect_hw_server
open_hw_target [lindex [get_hw_targets] 0]
set_property PROGRAM.FILE example.bit [lindex [get_hw_devices] 0]
program_hw_devices [lindex [get_hw_devices] 0]