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

Subversion Repositories pavr

[/] [pavr/] [trunk/] [tools/] [build_vhdl_test/] [run.bat] - Blame information for rev 6

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 4 doru
echo off
2
 
3
set crtdir=%cd%
4
set pavrdir=..\..\
5
set testdir=%pavrdir%test\
6
set buildvhdltestdir=%pavrdir%tools\build_vhdl_test\
7
set srcdir=%pavrdir%src\
8
 
9
rem rem General test ------------------
10
rem echo Building general test...
11
rem cd %testdir%gentest\
12
rem del test.bin
13
rem call compile.bat
14
rem echo Copying binary file...
15
rem copy test.bin %buildvhdltestdir%
16
rem rem -------------------------------
17
 
18
rem rem Sieve of Eratoshthenes ------------
19
rem echo Building Sieve of Eratosthenes test...
20
rem cd %testdir%sieve\
21
rem  del test.bin
22
rem  call gcccompile.bat
23
rem echo Copying binary file...
24
rem copy test.bin %buildvhdltestdir%
25
rem rem -----------------------------------
26
 
27
rem Waves -----------------------------
28
echo Building Waves test...
29
cd %testdir%waves\
30
 del test.bin
31
 call gcccompile.bat
32
echo Copying binary file...
33
copy test.bin %buildvhdltestdir%
34
rem -----------------------------------
35
 
36
cd %buildvhdltestdir%
37
echo Copying VHDL source file...
38
copy %srcdir%test_pavr.vhd %buildvhdltestdir%
39
 
40
echo Building VHDL source test file...
41
build_vhdl_test.exe test_pavr.vhd test.bin
42
 
43
echo Overwriting the original VHDL source test file...
44
copy test_pavr.vhd %srcdir%
45
 
46
echo Changing to initial directory...
47
cd %crtdir%

powered by: WebSVN 2.1.0

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