OpenCores
URL https://opencores.org/ocsvn/sport/sport/trunk

Subversion Repositories sport

[/] [sport/] [trunk/] [syn/] [xilinx/] [vivado/] [sport_top/] [sport_top.runs/] [impl_1/] [rundef.js] - Blame information for rev 7

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 7 jeaander
//
2
// Vivado(TM)
3
// rundef.js: a Vivado-generated Runs Script for WSH 5.1/5.6
4
// Copyright 1986-2014 Xilinx, Inc. All Rights Reserved.
5
//
6
 
7
var WshShell = new ActiveXObject( "WScript.Shell" );
8
var ProcEnv = WshShell.Environment( "Process" );
9
var PathVal = ProcEnv("PATH");
10
if ( PathVal.length == 0 ) {
11
  PathVal = "C:/Xilinx/Vivado/2014.2/ids_lite/ISE/bin/nt64;C:/Xilinx/Vivado/2014.2/ids_lite/ISE/lib/nt64;C:/Xilinx/Vivado/2014.2/bin;";
12
} else {
13
  PathVal = "C:/Xilinx/Vivado/2014.2/ids_lite/ISE/bin/nt64;C:/Xilinx/Vivado/2014.2/ids_lite/ISE/lib/nt64;C:/Xilinx/Vivado/2014.2/bin;" + PathVal;
14
}
15
 
16
ProcEnv("PATH") = PathVal;
17
 
18
var RDScrFP = WScript.ScriptFullName;
19
var RDScrN = WScript.ScriptName;
20
var RDScrDir = RDScrFP.substr( 0, RDScrFP.length - RDScrN.length - 1 );
21
var ISEJScriptLib = RDScrDir + "/ISEWrap.js";
22
eval( EAInclude(ISEJScriptLib) );
23
 
24
 
25
// pre-commands:
26
ISETouchFile( "init_design", "begin" );
27
ISEStep( "vivado",
28
         "-log sport_top.vdi -applog -m64 -messageDb vivado.pb -mode batch -source sport_top.tcl -notrace" );
29
 
30
 
31
 
32
 
33
 
34
function EAInclude( EAInclFilename ) {
35
  var EAFso = new ActiveXObject( "Scripting.FileSystemObject" );
36
  var EAInclFile = EAFso.OpenTextFile( EAInclFilename );
37
  var EAIFContents = EAInclFile.ReadAll();
38
  EAInclFile.Close();
39
  return EAIFContents;
40
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.