Function: vhdl-template-quantity-source
vhdl-template-quantity-source is an interactive and byte-compiled
function defined in vhdl-mode.el.gz.
Signature
(vhdl-template-quantity-source)
Documentation
Insert a source quantity declaration.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/vhdl-mode.el.gz
(defun vhdl-template-quantity-source ()
"Insert a source quantity declaration."
(interactive)
(vhdl-insert-keyword "QUANTITY ")
(vhdl-template-field "names")
(insert " : ")
(vhdl-template-field "type" " ")
(if (eq (vhdl-decision-query nil "(s)pectrum or (n)oise?") ?n)
(progn (vhdl-insert-keyword "NOISE ")
(vhdl-template-field "power expression"))
(vhdl-insert-keyword "SPECTRUM ")
(vhdl-template-field "magnitude expression" ", ")
(vhdl-template-field "phase expression"))
(insert ";")
(vhdl-comment-insert-inline))