diff -u --recursive --new-file PICA/bin/make_vsim PICA.1/bin/make_vsim --- PICA/bin/make_vsim Thu Jul 16 17:29:06 1992 +++ PICA.1/bin/make_vsim Mon Oct 20 19:10:03 1997 @@ -1,4 +1,4 @@ -# /bin/csh +#!/bin/csh # # make_vsim - script to create a configuration dependent # 'vsim_xxxx' file @@ -9,9 +9,9 @@ echo "and 'entity.architecture' is the structure to expand about" exit (1) endif -alias vcomp /cie01/vhdl/PICA/bin/vcomp -alias vsim /cie01/vhdl/PICA/bin/vsim -set VHDL_DIR = /cie01/vhdl/PICA +set VHDL_DIR=/usr/local/src/PICA +alias vcomp ${VHDL_DIR}/bin/vcomp +alias vsim ${VHDL_DIR}/bin/vsim set vfiles="" foreach i (${2}) diff -u --recursive --new-file PICA/examples/TEST_ALL PICA.1/examples/TEST_ALL --- PICA/examples/TEST_ALL Tue Feb 6 17:24:41 1990 +++ PICA.1/examples/TEST_ALL Mon Oct 20 19:03:08 1997 @@ -1,4 +1,4 @@ -# /bin/csh +#!/bin/csh # # simple script to check a few VHDL tests # @@ -9,7 +9,7 @@ foreach i (${TEST_DIRS}) echo "-------------------------------------" echo " running test in $i" - (cd $i; TEST) + (cd $i; ./TEST) echo " " diff ${i}/output ${i}/OK_OUTPUT diff -u --recursive --new-file PICA/examples/barrel/TEST PICA.1/examples/barrel/TEST --- PICA/examples/barrel/TEST Thu Jun 18 17:59:42 1992 +++ PICA.1/examples/barrel/TEST Mon Oct 20 19:19:55 1997 @@ -1,6 +1,6 @@ -# /bin/csh +#!/bin/csh # # script to test the barrel shifter rm -f output -vcomp -e barrel.logic barrel.vhdl >& /dev/null -vsim -i barrel.test barrel.ivf >& /dev/null +../../bin/vcomp -e barrel.logic barrel.vhdl >& /dev/null +../../bin/vsim -i barrel.test barrel.ivf >& output diff -u --recursive --new-file PICA/examples/glitch/TEST PICA.1/examples/glitch/TEST --- PICA/examples/glitch/TEST Tue Feb 6 17:04:17 1990 +++ PICA.1/examples/glitch/TEST Mon Oct 20 19:20:26 1997 @@ -1,13 +1,13 @@ -# /bin/csh +#!/bin/csh # # file to test ALL versions of the glitch rm -f output -vcomp -e glitch.no glitch.vhdl >& /dev/null -vsim -i glitch.test glitch.ivf >& /dev/null +../../bin/vcomp -e glitch.no glitch.vhdl >& /dev/null +../../bin/vsim -i glitch.test glitch.ivf >& output rm -f 1 mv output 1 -vcomp -e glitch.yes glitch.vhdl >& /dev/null -vsim -i glitch.test glitch.ivf >& /dev/null +../../bin/vcomp -e glitch.yes glitch.vhdl >& /dev/null +../../bin/vsim -i glitch.test glitch.ivf >& output rm -f 2 mv output 2 cat 1 2 >! output diff -u --recursive --new-file PICA/examples/osc/TEST PICA.1/examples/osc/TEST --- PICA/examples/osc/TEST Tue Feb 6 17:04:48 1990 +++ PICA.1/examples/osc/TEST Mon Oct 20 19:17:41 1997 @@ -1,7 +1,7 @@ -# /bin/csh +#!/bin/csh # # script to test the oscillator # rm -f output -vcomp -e osc.example osc.vhdl >& /dev/null -vsim -i osc.test osc.ivf >& /dev/null +../../bin/vcomp -e osc.example osc.vhdl >& /dev/null +../../bin/vsim -i osc.test osc.ivf >& output diff -u --recursive --new-file PICA/examples/process_test/TEST PICA.1/examples/process_test/TEST --- PICA/examples/process_test/TEST Tue Feb 6 17:05:12 1990 +++ PICA.1/examples/process_test/TEST Mon Oct 20 19:18:22 1997 @@ -1,6 +1,5 @@ -# /bin/csh +#!/bin/csh # test process statements with wait statemetns rm -f output -make_vsim "e.a -dw" proc.vhdl >& /dev/null -rm -f output -vsim_proc -i proc.test >& output +../../bin/make_vsim "e.a -dw" proc.vhdl >& /dev/null +../../bin/vsim_proc -i proc.test >& output diff -u --recursive --new-file PICA/examples/pulse/TEST PICA.1/examples/pulse/TEST --- PICA/examples/pulse/TEST Tue Feb 6 17:05:33 1990 +++ PICA.1/examples/pulse/TEST Mon Oct 20 19:18:40 1997 @@ -2,5 +2,5 @@ # # test file for pulser rm -f output -vcomp -e pulser.example pulse.vhdl >& /dev/null -vsim -i pulse.test pulse.ivf >& /dev/null +../../bin/vcomp -e pulser.example pulse.vhdl >& /dev/null +../../bin/vsim -i pulse.test pulse.ivf >& output diff -u --recursive --new-file PICA/examples/ripple/TEST PICA.1/examples/ripple/TEST --- PICA/examples/ripple/TEST Tue Feb 6 17:05:54 1990 +++ PICA.1/examples/ripple/TEST Mon Oct 20 19:18:58 1997 @@ -2,5 +2,5 @@ # # script to test the ripple counter rm -f output -vcomp -e counter.structure ripple.vhdl >& /dev/null -vsim -i ripple.test ripple.ivf >& /dev/null +../../bin/vcomp -e counter.structure ripple.vhdl >& /dev/null +../../bin/vsim -i ripple.test ripple.ivf >& output diff -u --recursive --new-file PICA/examples/wait_statements/TEST PICA.1/examples/wait_statements/TEST --- PICA/examples/wait_statements/TEST Tue Feb 6 17:06:10 1990 +++ PICA.1/examples/wait_statements/TEST Mon Oct 20 19:19:19 1997 @@ -1,5 +1,5 @@ -# /bin/csh +#!/bin/csh # script to test wait statements more rm -f output -make_vsim "e.a -dw" wait.vhdl >& /dev/null -vsim_wait -i wait.test >& output +../../bin/make_vsim e.a wait.vhdl >& /dev/null +./vsim_wait -i wait.test wait.ivf >& output diff -u --recursive --new-file PICA/vcomp/Makefile PICA.1/vcomp/Makefile --- PICA/vcomp/Makefile Fri Apr 10 17:15:13 1992 +++ PICA.1/vcomp/Makefile Mon Oct 20 18:52:09 1997 @@ -41,7 +41,7 @@ # if we are using SUN's malloc/free debugging routines, define this # DEBUG_MEMORY = /usr/lib/debug/malloc.o -CFLAGS = -g -I . -I ../include +CFLAGS = -I . -I ../include # # point this to your bison executable (typically 'bison' or ../bison/bison) @@ -152,7 +152,7 @@ ############################################ $(VCOMP_EXE): $(VCOMP_OBJS) vcomp.o - cc -o $(VCOMP_EXE) $(VCOMP_OBJS) $(DEBUG_MEMORY) -ll + cc -o $(VCOMP_EXE) $(VCOMP_OBJS) $(DEBUG_MEMORY) -lfl # $(VCOMP_OBJS): $(VCOMP_INCS) $(PICA_INCS) diff -u --recursive --new-file PICA/vcomp/vhdl_proc.c PICA.1/vcomp/vhdl_proc.c --- PICA/vcomp/vhdl_proc.c Fri Jul 10 15:25:17 1992 +++ PICA.1/vcomp/vhdl_proc.c Mon Oct 20 18:48:36 1997 @@ -514,9 +514,9 @@ s_ptr->sigl_sig->sig_name, s_ptr->sigl_upper+1); #if 0 -this was the old way which didn't work since it would output +/* this was the old way which didn't work since it would output the number of bits in a vector and NOT the number of -bits actually used +bits actually used */ s_ptr->sigl_sig->sig_bv_hwm+1); #endif diff -u --recursive --new-file PICA/vsim/Makefile PICA.1/vsim/Makefile --- PICA/vsim/Makefile Tue Jul 7 21:34:53 1992 +++ PICA.1/vsim/Makefile Mon Oct 20 18:59:19 1997 @@ -36,7 +36,8 @@ #### Makefile defintions appear below #### ################################################# -CFLAGS = -g -I../include -qxref -qextchk -D_IBMR2 +##CFLAGS = -g -I../include -qxref -qextchk -D_IBMR2 +CFLAGS = -I../include ##CFLAGS = -g -I../include -qextchk -D_AIX # @@ -116,7 +117,8 @@ ############################################ $(VSIM_EXE): $(VSIM_LIB) vsim.o DUMMY_FILE.o - cc -bautoimp -qextchk -bnodelcsect -bloadmap:vsim.map -o $(VSIM_EXE) $(VSIM_OBJS) DUMMY_FILE.o +# cc -bautoimp -qextchk -bnodelcsect -bloadmap:vsim.map -o $(VSIM_EXE) $(VSIM_OBJS) DUMMY_FILE.o + cc -o $(VSIM_EXE) $(VSIM_OBJS) DUMMY_FILE.o vsim.o: ../include/version.h