Match
(vl-maybe-parse-clocking-skew &key (tokstream 'tokstream) (config 'config)) → (mv errmsg? value new-tokstream)
Function:
(defun vl-maybe-parse-clocking-skew-fn (tokstream config) (declare (xargs :stobjs (tokstream))) (declare (xargs :guard (vl-loadconfig-p config))) (declare (ignorable config)) (let ((__function__ 'vl-maybe-parse-clocking-skew)) (declare (ignorable __function__)) (seq tokstream (when (vl-is-some-token? '(:vl-kwd-posedge :vl-kwd-negedge :vl-kwd-edge :vl-pound)) (skew := (vl-parse-clocking-skew)) (return skew)) (return nil))))
Theorem:
(defthm vl-maybe-parse-clocking-skew-fails-gracefully (implies (mv-nth 0 (vl-maybe-parse-clocking-skew)) (not (mv-nth 1 (vl-maybe-parse-clocking-skew)))))
Theorem:
(defthm vl-warning-p-of-vl-maybe-parse-clocking-skew (iff (vl-warning-p (mv-nth 0 (vl-maybe-parse-clocking-skew))) (mv-nth 0 (vl-maybe-parse-clocking-skew))))
Theorem:
(defthm vl-maybe-parse-clocking-skew-result (implies (and t) (vl-maybe-clkskew-p (mv-nth 1 (vl-maybe-parse-clocking-skew)))))
Theorem:
(defthm vl-maybe-parse-clocking-skew-count-weak (<= (vl-tokstream-measure :tokstream (mv-nth 2 (vl-maybe-parse-clocking-skew))) (vl-tokstream-measure)) :rule-classes ((:rewrite) (:linear)))