diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2003-04-21 02:08:59 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2003-04-21 02:08:59 +0000 |
commit | 35755e4d5cfe811a52034f05690c1120ea872590 (patch) | |
tree | 6edfb81e61c6b4c36cfa31d2c9bb492692275ee1 /cad/dinotrace-mode | |
parent | 9794a404b17a615089e45d8607fb6d2ca004011f (diff) | |
download | pkgsrc-35755e4d5cfe811a52034f05690c1120ea872590.tar.gz |
import dinotrace-mode-9.1i
This is an emacs major mode for linking verilog code with simulation results
and the Dinotrace waveform viewer.
Diffstat (limited to 'cad/dinotrace-mode')
-rw-r--r-- | cad/dinotrace-mode/DESCR | 2 | ||||
-rw-r--r-- | cad/dinotrace-mode/MESSAGE | 23 | ||||
-rw-r--r-- | cad/dinotrace-mode/Makefile | 37 | ||||
-rw-r--r-- | cad/dinotrace-mode/PLIST | 6 | ||||
-rw-r--r-- | cad/dinotrace-mode/distinfo | 4 |
5 files changed, 72 insertions, 0 deletions
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 |