URL
https://opencores.org/ocsvn/aes-128-ecb-encoder/aes-128-ecb-encoder/trunk
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
2 |
vv_gulyaev |
//
|
2 |
|
|
// Vivado(TM)
|
3 |
|
|
// rundef.js: a Vivado-generated Runs Script for WSH 5.1/5.6
|
4 |
|
|
// Copyright 1986-2017 Xilinx, Inc. All Rights Reserved.
|
5 |
|
|
//
|
6 |
|
|
|
7 |
|
|
echo "This script was generated under a different operating system."
|
8 |
|
|
echo "Please update the PATH variable below, before executing this script"
|
9 |
|
|
exit
|
10 |
|
|
|
11 |
|
|
var WshShell = new ActiveXObject( "WScript.Shell" );
|
12 |
|
|
var ProcEnv = WshShell.Environment( "Process" );
|
13 |
|
|
var PathVal = ProcEnv("PATH");
|
14 |
|
|
if ( PathVal.length == 0 ) {
|
15 |
|
|
PathVal = "/opt/Xilinx/Vivado/2017.4/ids_lite/ISE/bin/lin64;/opt/Xilinx/Vivado/2017.4/ids_lite/ISE/lib/lin64;/opt/Xilinx/Vivado/2017.4/bin;";
|
16 |
|
|
} else {
|
17 |
|
|
PathVal = "/opt/Xilinx/Vivado/2017.4/ids_lite/ISE/bin/lin64;/opt/Xilinx/Vivado/2017.4/ids_lite/ISE/lib/lin64;/opt/Xilinx/Vivado/2017.4/bin;" + PathVal;
|
18 |
|
|
}
|
19 |
|
|
|
20 |
|
|
ProcEnv("PATH") = PathVal;
|
21 |
|
|
|
22 |
|
|
var RDScrFP = WScript.ScriptFullName;
|
23 |
|
|
var RDScrN = WScript.ScriptName;
|
24 |
|
|
var RDScrDir = RDScrFP.substr( 0, RDScrFP.length - RDScrN.length - 1 );
|
25 |
|
|
var ISEJScriptLib = RDScrDir + "/ISEWrap.js";
|
26 |
|
|
eval( EAInclude(ISEJScriptLib) );
|
27 |
|
|
|
28 |
|
|
|
29 |
|
|
ISEStep( "vivado",
|
30 |
|
|
"-log aes128_ecb_fpga_wrap.vds -m64 -product Vivado -mode batch -messageDb vivado.pb -notrace -source aes128_ecb_fpga_wrap.tcl" );
|
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 |
|
|
}
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.