(vl-parse-module-port-list-top &key (tokstream 'tokstream) (config 'config)) → (mv errmsg? value new-tokstream)
Function:
(defun vl-parse-module-port-list-top-fn (tokstream config) (declare (xargs :stobjs (tokstream))) (declare (xargs :guard (vl-loadconfig-p config))) (declare (ignorable config)) (let ((__function__ 'vl-parse-module-port-list-top)) (declare (ignorable __function__)) (seq tokstream (when (eq (vl-loadconfig->edition config) :verilog-2005) (ans := (vl-parse-module-port-list-top-2005)) (return ans)) (ans := (vl-parse-module-port-list-top-2012)) (return ans))))
Theorem:
(defthm vl-parse-module-port-list-top-fails-gracefully (implies (mv-nth 0 (vl-parse-module-port-list-top)) (not (mv-nth 1 (vl-parse-module-port-list-top)))))
Theorem:
(defthm vl-warning-p-of-vl-parse-module-port-list-top (iff (vl-warning-p (mv-nth 0 (vl-parse-module-port-list-top))) (mv-nth 0 (vl-parse-module-port-list-top))))
Theorem:
(defthm vl-parse-module-port-list-top-result (implies (and t) (equal (vl-parsed-ports-p (mv-nth 1 (vl-parse-module-port-list-top))) (not (mv-nth 0 (vl-parse-module-port-list-top))))))
Theorem:
(defthm vl-parse-module-port-list-top-count-weak (<= (vl-tokstream-measure :tokstream (mv-nth 2 (vl-parse-module-port-list-top))) (vl-tokstream-measure)) :rule-classes ((:rewrite) (:linear)))