(vl-nedgeflop-data-mux clks ds width) → x
Function:
(defun vl-nedgeflop-data-mux (clks ds width) (declare (xargs :guard (and (vl-exprlist-p clks) (vl-exprlist-p ds) (posp width)))) (declare (xargs :guard (and (consp clks) (eql (len clks) (len ds))))) (let ((__function__ 'vl-nedgeflop-data-mux)) (declare (ignorable __function__)) (if (atom (cdr clks)) (car ds) (make-vl-nonatom :op :vl-qmark :args (list (car clks) (car ds) (vl-nedgeflop-data-mux (cdr clks) (cdr ds) width)) :finalwidth width :finaltype :vl-unsigned))))
Theorem:
(defthm vl-expr-p-of-vl-nedgeflop-data-mux (implies (and (vl-exprlist-p clks) (vl-exprlist-p ds) (posp width) (consp clks) (eql (len clks) (len ds))) (b* ((x (vl-nedgeflop-data-mux clks ds width))) (vl-expr-p x))) :rule-classes :rewrite)