Files
sd2snes/verilog/xilinx_scripts/xcommon.tcl
ikari d7f4bd7439 Speed up Xilinx builds (eliminate xtclsh "Process Run")
Xilinx command line tools (xst, par, map ...) block on console output when
run via the Tcl shell's "Process Run" command which seems to flush the
console about once per second. Running he command line tools directly
from the shell results in much faster output and thus operation of the
tools. However in order to extract the command line parameters for the
tools from the ISE project file it becomes necessary to mimic some of
the internal scripting. Tcl scripts are added that are run via xtclsh to
output parameters that are then passed to the command line tools for
direct execution.
2021-02-19 10:08:32 +01:00

12 lines
232 B
Tcl

proc existsProp { props name } {
if { [lsearch $props $name] >= 0 } {
return 1
} else {
return 0
}
}
proc getpartname {} {
return [project get Device][project get "Speed Grade"][project get Package]
}