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

Subversion Repositories ttl_library

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 8 to Rev 9
    Reverse comparison

Rev 8 → Rev 9

/ttl_library/trunk/Regress.bat
0,0 → 1,28
@echo off
REM Regression tests for TTL models
REM Usage: regress [-c] [test]
REM If "-c" is present, testbenches are compiled first.
REM If "test" is omitted, [compile &] run all tests.
REM
REM Note the forward slashes: correct for vsim
setlocal
if "%1" EQU "-c" (
set ZZVCOM=1
shift
) else set ZZVCOM=0
 
if "%1" NEQ "" (
if %ZZVCOM% == 1 (
vcom -2008 +acc -quiet Testbench/Testbench_%1.vhd
)
vsim -c work.Testbench_%1 < vsim.txt | find "Verify failed"
) else (
for %%G in (Testbench/Testbench_*.vhd) do (
echo %%~nG
if %ZZVCOM% == 1 (
vcom -2008 +acc -quiet Testbench/%%G
)
vsim -c work.%%~nG < vsim.txt | find "Verify failed"
)
)
endlocal

powered by: WebSVN 2.1.0

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