-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:sangwoojun/bluespecpcie
- Loading branch information
Showing
4 changed files
with
38 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,28 @@ | ||
open_hw | ||
open_hw_manager | ||
connect_hw_server | ||
open_hw_target | ||
set fpga [lindex [get_hw_devices] 2] | ||
set hwtargets [get_hw_targets] | ||
|
||
if { $::argc > 1 } { | ||
open_hw_target [lindex [get_hw_targets] [lindex $argv 1] ] | ||
} else { | ||
open_hw_target [lindex [get_hw_targets] 0] | ||
} | ||
|
||
if { $::argc > 0 } { | ||
set file [lindex $argv 0] | ||
} else { | ||
set file ./vc707/hw/mkProjectTop.bit | ||
} | ||
|
||
set_property PROGRAM.FILE $file $fpga | ||
puts "fpga is $fpga, bit file size is [exec ls -sh $file], PROGRAM BEGIN" | ||
program_hw_devices -verbose $fpga | ||
refresh_hw_device $fpga | ||
foreach fpga [get_hw_devices] { | ||
if {[string first "xc7vx485t" $fpga] != -1} { | ||
puts "fpga is $fpga, bit file size is [exec ls -sh $file], PROGRAM BEGIN" | ||
|
||
set_property PROGRAM.FILE $file $fpga | ||
program_hw_devices -verbose $fpga | ||
refresh_hw_device $fpga | ||
break | ||
} | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters