Squelette du projet

This commit is contained in:
Olivier Muller
2025-11-03 11:00:11 +01:00
commit ff440776bb
41 changed files with 2522 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
# Inputs arguments
set BIT_FILE [lindex $argv 0]
# Open hardware mode
open_hw
# Connect target
connect_hw_server
refresh_hw_server
set targets [get_hw_targets]
puts "targets: ${targets}"
current_hw_target [lindex ${targets} 0]
open_hw_target
# Select device
set devices [get_hw_devices]
puts "devices: ${devices}"
# Program
set_property PROGRAM.FILE ${BIT_FILE} [lindex [get_hw_devices] 1]
program_hw_devices
refresh_hw_device