Skip to content
Permalink
Browse files

SmartXPlorer hostlistfile.txt generation handled by Makefile

  • Loading branch information...
mrehkopf committed Jul 15, 2019
1 parent fae5b78 commit c8fa0566495a7d19af4e1ec1125cfd4d6b4c60b5
Showing with 1 addition and 8 deletions.
  1. +1 −1 verilog/common.mk
  2. +0 −7 verilog/xgenstratfile.tcl
@@ -73,7 +73,7 @@ main.ncd: main.ngc $(XIL_IP)
$(XILINX_BIN)/xtclsh ../xrun.tcl sd2snes_$(CORE).xise $(XILINX_IMPL)

currentProps.stratfile:
$(XILINX_BIN)/xtclsh ../xgenstratfile.tcl sd2snes_$(CORE).xise $(XPLORER_CPUS)
$(XILINX_BIN)/xtclsh ../xgenstratfile.tcl sd2snes_$(CORE).xise

hostlistfile.txt:
n=0; while [ $$n -lt $(XPLORER_CPUS) ]; do echo localhost; n=$$(( n + 1 )); done > $@
@@ -8,7 +8,6 @@ if { [llength $argv] < 1 } {
exit
}
set projfile [lindex $argv 0]
set cores [lindex $argv 1]

project open $projfile

@@ -29,9 +28,3 @@ puts $of "\"par\"\: \"$paropts\"},"
puts $of "),"
puts $of "}"
close $of

set of [open "hostlistfile.txt" "w"]
for {set index 0} { $index < $cores } { incr index } {
puts $of localhost
}
close $of

0 comments on commit c8fa056

Please sign in to comment.
You can’t perform that action at this time.