Merge branch 'graphics' of https://github.com/hansungk/chipyard into graphics

This commit is contained in:
Richard Yan
2024-01-16 21:11:12 -08:00
3 changed files with 7 additions and 5 deletions

View File

@@ -2,12 +2,14 @@
set -ex
if [ $# -ne 2 ]; then
echo "usage: $0 config kernelname"
if [ $# -lt 2 ]; then
echo "usage: $0 config kernelname EXTRA_SIM_PREPROC_DEFINES"
exit 1
fi
CONFIG=$1
KERNEL=$2
[ $# -ge 3 ] && PREPROC_DEFINES=$3
if ! diff ../args.bin ../args.bin.$KERNEL; then
echo 'args.bin changed, running make clean'
@@ -20,4 +22,4 @@ ls -lh ../args.bin
ls -lh ../op_a.bin
ls -lh ../op_b.bin
make run-binary-debug CONFIG=$CONFIG BINARY=/scratch/hansung/src/vortex2/tests/opencl/$KERNEL/$KERNEL.bin.elf LOADMEM=1
make run-binary-debug CONFIG=$CONFIG BINARY=/scratch/hansung/src/vortex2/tests/opencl/$KERNEL/$KERNEL.bin.elf LOADMEM=1 EXTRA_SIM_PREPROC_DEFINES="$PREPROC_DEFINES"

View File

@@ -38,7 +38,7 @@ VCS_CC_OPTS = \
VCS_NONCC_OPTS = \
-notice \
-line \
+lint=all,noVCDE,noONGS,noUI \
+lint=all,noVCDE,noONGS,noUI,noPCTIO-L,noPCTI-L \
-error=PCWM-L \
-error=noZMMCM \
-timescale=1ns/10ps \