mirror of
https://github.com/pConst/basic_verilog.git
synced 2025-02-04 07:12:56 +08:00
Added prog script
This commit is contained in:
parent
11ca69c348
commit
fd3835448a
17
scripts/prog_hw_vivado.tcl
Normal file
17
scripts/prog_hw_vivado.tcl
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
#------------------------------------------------------------------------------
|
||||||
|
# prog_hw_vivado.tcl
|
||||||
|
# published as part of https://github.com/pConst/basic_verilog
|
||||||
|
# Konstantin Pavlov, pavlovconst@gmail.com
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
# INFO ------------------------------------------------------------------------
|
||||||
|
# program script for Vivado
|
||||||
|
#
|
||||||
|
# call with
|
||||||
|
# vivado -nolog -mode batch -source prog_hw_vivado.tcl
|
||||||
|
|
||||||
|
connect_hw_server
|
||||||
|
open_hw_target [lindex [get_hw_targets] 0]
|
||||||
|
set_property PROGRAM.FILE main.bit [lindex [get_hw_devices] 1]
|
||||||
|
program_hw_devices [lindex [get_hw_devices] 1]
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user