From ddb2f3c5d25ffb84e455152b4d3f84c04d303e03 Mon Sep 17 00:00:00 2001 From: dmcmahill Date: Mon, 21 Apr 2003 02:08:59 +0000 Subject: import dinotrace-mode-9.1i This is an emacs major mode for linking verilog code with simulation results and the Dinotrace waveform viewer. --- cad/dinotrace-mode/DESCR | 2 ++ cad/dinotrace-mode/MESSAGE | 23 +++++++++++++++++++++++ cad/dinotrace-mode/Makefile | 37 +++++++++++++++++++++++++++++++++++++ cad/dinotrace-mode/PLIST | 6 ++++++ cad/dinotrace-mode/distinfo | 4 ++++ 5 files changed, 72 insertions(+) create mode 100644 cad/dinotrace-mode/DESCR create mode 100644 cad/dinotrace-mode/MESSAGE create mode 100644 cad/dinotrace-mode/Makefile create mode 100644 cad/dinotrace-mode/PLIST create mode 100644 cad/dinotrace-mode/distinfo (limited to 'cad') diff --git a/cad/dinotrace-mode/DESCR b/cad/dinotrace-mode/DESCR new file mode 100644 index 00000000000..a1358cc3291 --- /dev/null +++ b/cad/dinotrace-mode/DESCR @@ -0,0 +1,2 @@ +This is an emacs major mode for linking verilog code with simulation results +and the Dinotrace waveform viewer. diff --git a/cad/dinotrace-mode/MESSAGE b/cad/dinotrace-mode/MESSAGE new file mode 100644 index 00000000000..2f4f302018a --- /dev/null +++ b/cad/dinotrace-mode/MESSAGE @@ -0,0 +1,23 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 2003/04/21 02:08:59 dmcmahill Exp $ + +You will need to add something like the following to your .emacs.el (or +default.el) file to autoload Dinotrace mode for Emacs. + +;; Dinotrace mode +(autoload 'dinotrace-update "dinotrace" "Update dinotrace annotations in this buffer" t) +(autoload 'dinotrace-mode "dinotrace" "Toggle dinotrace annotations in this buffer" t) +(global-set-key "\C-x\C-aa" 'dinotrace-update) +(global-set-key "\C-x\C-ad" 'dinotrace-mode) + +;; Sim-Log mode +(autoload 'sim-log-mode "sim-log" "Mode for Simulation Log files." t) +(setq auto-mode-alist (append (list '("\\.log$" . sim-log-mode)) auto-mode-alist)) + +;; If you do not wish to bind all .log files to this mode, then make sure the +;; last lines of your log files contain: +;;; Local Variables: *** +;;; mode:sim-log *** +;;; End: *** + +=========================================================================== diff --git a/cad/dinotrace-mode/Makefile b/cad/dinotrace-mode/Makefile new file mode 100644 index 00000000000..aaad1784b74 --- /dev/null +++ b/cad/dinotrace-mode/Makefile @@ -0,0 +1,37 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/04/21 02:08:59 dmcmahill Exp $ +# + +DISTNAME= dinotrace-9.1i +PKGNAME= dinotrace-mode-9.1i +CATEGORIES= cad editors +MASTER_SITES= http://www.veripool.com/ftp/ + +MAINTAINER= dmcmahill@netbsd.org +HOMEPAGE= http://www.veripool.com/dinotrace/ +COMMENT= Emacs major mode for dinotrace + +DEPENDS+= verilog-mode>=3.13:../../cad/verilog-mode + +.include "../../mk/bsd.prefs.mk" + +.include "../../mk/emacs.mk" + +.if ${EMACS_FLAVOR} == "emacs" +EMACS= emacs +.else +EMACS= xemacs +.endif + +SRCS= dinotrace.el sim-log.el + +do-build: + for f in ${SRCS}; do \ + ${EMACS} --no-init-file --no-site-file -batch \ + -f batch-byte-compile ${WRKSRC}/lisp/$$f; \ + done + +do-install: + ${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/${PKGBASE} + cd ${WRKSRC}/lisp && ${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} ${EMACS_LISPPREFIX}/${PKGBASE} + +.include "../../mk/bsd.pkg.mk" diff --git a/cad/dinotrace-mode/PLIST b/cad/dinotrace-mode/PLIST new file mode 100644 index 00000000000..9adcd4de18b --- /dev/null +++ b/cad/dinotrace-mode/PLIST @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/04/21 02:08:59 dmcmahill Exp $ +${EMACS_LISPPREFIX}/${PKGBASE}/dinotrace.el +${EMACS_LISPPREFIX}/${PKGBASE}/dinotrace.elc +${EMACS_LISPPREFIX}/${PKGBASE}/sim-log.el +${EMACS_LISPPREFIX}/${PKGBASE}/sim-log.elc +@dirrm ${EMACS_LISPPREFIX}/${PKGBASE} diff --git a/cad/dinotrace-mode/distinfo b/cad/dinotrace-mode/distinfo new file mode 100644 index 00000000000..a6df3c20dd5 --- /dev/null +++ b/cad/dinotrace-mode/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/04/21 02:08:59 dmcmahill Exp $ + +SHA1 (dinotrace-9.1i.tar.gz) = 3678aefc9cd94c1f92cc56624389d4fc2fe6aa42 +Size (dinotrace-9.1i.tar.gz) = 1822837 bytes -- cgit v1.2.3