Skip to content

Commit fd38354

Browse files
committedDec 29, 2022
Added prog script
1 parent 11ca69c commit fd38354

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
 

‎scripts/prog_hw_vivado.tcl

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#------------------------------------------------------------------------------
2+
# prog_hw_vivado.tcl
3+
# published as part of https://github.com/pConst/basic_verilog
4+
# Konstantin Pavlov, pavlovconst@gmail.com
5+
#------------------------------------------------------------------------------
6+
7+
# INFO ------------------------------------------------------------------------
8+
# program script for Vivado
9+
#
10+
# call with
11+
# vivado -nolog -mode batch -source prog_hw_vivado.tcl
12+
13+
connect_hw_server
14+
open_hw_target [lindex [get_hw_targets] 0]
15+
set_property PROGRAM.FILE main.bit [lindex [get_hw_devices] 1]
16+
program_hw_devices [lindex [get_hw_devices] 1]
17+

0 commit comments

Comments
 (0)
Please sign in to comment.