Added testing of udpIpPg to regression.sh
This commit is contained in:
parent
04f08f17d2
commit
9b47a08179
3 changed files with 35 additions and 4 deletions
|
|
@ -35,7 +35,7 @@
|
|||
#include <pthread.h>
|
||||
#include <semaphore.h>
|
||||
|
||||
#define VERSION_STRING "VProc version 1.12.4. Copyright (c) 2004-2025 Simon Southwell."
|
||||
#define VERSION_STRING "VProc version 1.12.5. Copyright (c) 2004-2025 Simon Southwell."
|
||||
|
||||
#ifndef VP_MAX_NODES
|
||||
#define VP_MAX_NODES 64
|
||||
|
|
|
|||
|
|
@ -36,6 +36,9 @@ FILTERSTR="EIO|, Warnings:|Note|Finished with no"
|
|||
if [ "$OSTYPE" != "Linux" ]
|
||||
then
|
||||
MAKEFILEXSIM=makefile.vivado
|
||||
MAKEFILEVER=
|
||||
else
|
||||
MAKEFILEVER=makefile.verilator
|
||||
fi
|
||||
|
||||
MKFILEBASE="$MKFILEBASE $MAKEFILEXSIM"
|
||||
|
|
@ -154,7 +157,7 @@ then
|
|||
echo "======= usbModel Verilog regression tests =======" $'\n' | tee -a $LOGFILE
|
||||
for usrcode in usercode
|
||||
do
|
||||
for mkfile in makefile makefile.ica makefile.verilator $MAKEFILEXSIM
|
||||
for mkfile in makefile makefile.ica $MAKEFILEVER $MAKEFILEXSIM
|
||||
do
|
||||
echo "Running $mkfile with $usrcode/ ..." | tee -a $LOGFILE
|
||||
make -f $mkfile clean
|
||||
|
|
@ -193,7 +196,7 @@ else
|
|||
fi
|
||||
|
||||
#
|
||||
# tcpIp regression tests (if repository checked out)
|
||||
# tcpIpPg regression tests (if repository checked out)
|
||||
#
|
||||
|
||||
cd $REGRESSDIR
|
||||
|
|
@ -220,6 +223,34 @@ else
|
|||
echo "====== Skipping tcpIpPg regression tests ======" $'\n' | tee -a $LOGFILE
|
||||
fi
|
||||
|
||||
#
|
||||
# udpIpPg regression tests (if repository checked out)
|
||||
#
|
||||
|
||||
cd $REGRESSDIR
|
||||
TESTDIR=../../udpIpPg/test
|
||||
|
||||
if [ -d $TESTDIR ]
|
||||
then
|
||||
|
||||
cd $TESTDIR
|
||||
|
||||
echo "========== udpIpPg regression tests ============" $'\n' | tee -a $LOGFILE
|
||||
for usrcode in src
|
||||
do
|
||||
for mkfile in $MKFILEBASE "makefile HDL=VHDL" makefile.verilator
|
||||
do
|
||||
echo "Running $mkfile with $usrcode/ ..." | tee -a $LOGFILE
|
||||
make -f $mkfile clean 2>&1 > /dev/null
|
||||
make -f $mkfile USRCDIR=$usrcode run 2>&1 | egrep -i "error|fatal" | egrep -v "$FILTERSTR" | tee -a $LOGFILE
|
||||
make -f $mkfile clean 2>&1 > /dev/null
|
||||
echo "" | tee -a $LOGFILE
|
||||
done
|
||||
done
|
||||
else
|
||||
echo "====== Skipping udpIpPg regression tests ======" $'\n' | tee -a $LOGFILE
|
||||
fi
|
||||
|
||||
cd $REGRESSDIR
|
||||
|
||||
date | tee -a $LOGFILE
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
>EXPERIMENTAL
|
||||
|
||||
The Verilator simulor control module is a _VProc_ wrapper that allows control of the running simulation on the console command line from where
|
||||
the test bench with the module instnatiated is run. It consists of a SystemVerilog module defined in `verilator/verilator_sim_ctrl.sv` with a
|
||||
the test bench with the module instantiated is run. It consists of a SystemVerilog module defined in `verilator/verilator_sim_ctrl.sv` with a
|
||||
single clock input (`clk`) and a clock count output (`clk_count`) for use by the test bench if desired. The only other inputs to the module are
|
||||
from its parameters:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue