From e3d9cc30a82425d08a34695285b9147070f2f5d0 Mon Sep 17 00:00:00 2001 From: Stephen Williams Date: Sat, 28 Jun 2008 09:51:42 -0700 Subject: [PATCH] Checkin some developer convenience scripts. --- scripts/devel-stub.conf | 23 +++++++++++++++++++++++ scripts/devel-stub.sft | 5 +++++ scripts/devel-stub.sh | 14 ++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 scripts/devel-stub.conf create mode 100644 scripts/devel-stub.sft create mode 100644 scripts/devel-stub.sh diff --git a/scripts/devel-stub.conf b/scripts/devel-stub.conf new file mode 100644 index 000000000..e3fecf5da --- /dev/null +++ b/scripts/devel-stub.conf @@ -0,0 +1,23 @@ +# +# This is a debug conf file that the scripts/devel-stub.sh script uses +# to control the ivl core. The contents of this file are normally written +# to a temporary file by the driver program, but for devel purposes, where +# the driver program is not used, this config substitutes. +# +# NOTE: DO NOT INSTALL THIS FILE! +# +generation:2005 +generation:specify +generation:xtypes +generation:verilog-ams +iwidth:32 +sys_func:vpi/system.sft +sys_func:vpi/va_math.sft +warnings:implicit +debug:eval_tree +debug:elaborate +debug:scopes +debug:synth2 +out:a.out +ivlpp:./ivlpp/ivlpp -D__ICARUS__ -L -Pfoo.pp +sys_func:scripts/devel-stub.sft diff --git a/scripts/devel-stub.sft b/scripts/devel-stub.sft new file mode 100644 index 000000000..fd5a8e3d7 --- /dev/null +++ b/scripts/devel-stub.sft @@ -0,0 +1,5 @@ + +# This is an example function table. +$realtime vpiSysFuncReal + +$verywide vpiSysFuncSized 128 signed diff --git a/scripts/devel-stub.sh b/scripts/devel-stub.sh new file mode 100644 index 000000000..10fe34f6d --- /dev/null +++ b/scripts/devel-stub.sh @@ -0,0 +1,14 @@ + +# This is a little developer convenience script to run the ivl core program +# in place with the stub target. It runs the ivl core verbose, with diagnostic +# output files enable, and without the driver program or preprocessor. +# It is useful only for development of the ivl core program. +# +# Run this script in the source directory for the ivl core program so that +# the patch to the other components is correct. +# +# NOTE: DO NOT INSTALL THIS FILE. + +./ivl -v -Ctgt-stub/stub.conf -C./scripts/devel-stub.conf -Pa.pf -Na.net -fDLL=tgt-stub/stub.tgt foo.vl + +echo "*** ivl command completed, rc=$?"