Representation of a drive strength for vl-gatestrength-p objects.
We represent Verilog's drive strengths with the keyword symbols recognized by (vl-dstrength-p x).
BOZO add references to the Verilog-2005 standard, description of what these are.
This is an ordinary defenum.
Function:
(defun vl-dstrength-p (x) (declare (xargs :guard t)) (or (eq x ':vl-supply) (eq x ':vl-strong) (eq x ':vl-pull) (eq x ':vl-weak) (eq x ':vl-highz)))
Theorem: type-when-vl-dstrength-p
(defthm type-when-vl-dstrength-p (implies (vl-dstrength-p x) (if (symbolp x) (if (not (equal x 't)) (not (equal x 'nil)) 'nil) 'nil)) :rule-classes :compound-recognizer)