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

Subversion Repositories wiegand_ctl

[/] [wiegand_ctl/] [trunk/] [syn/] [xilinx/] [wiegand_tx/] [vivado/] [wiegand_tx_top/] [wiegand_tx_top.runs/] [synth_1/] [rundef.js] - Blame information for rev 17

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 17 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
ISEStep( "vivado",
26
         "-log wiegand_tx_top.vds -m64 -mode batch -messageDb vivado.pb -source wiegand_tx_top.tcl" );
27
 
28
 
29
 
30
function EAInclude( EAInclFilename ) {
31
  var EAFso = new ActiveXObject( "Scripting.FileSystemObject" );
32
  var EAInclFile = EAFso.OpenTextFile( EAInclFilename );
33
  var EAIFContents = EAInclFile.ReadAll();
34
  EAInclFile.Close();
35
  return EAIFContents;
36
}

powered by: WebSVN 2.1.0

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