Build the Verilog sensitivity list for a primitive n-edge flop.
(vl-nedgeflop-posedge-clks clk-exprs) → evatoms
Function:
(defun vl-nedgeflop-posedge-clks (clk-exprs) (declare (xargs :guard (vl-exprlist-p clk-exprs))) (let ((__function__ 'vl-nedgeflop-posedge-clks)) (declare (ignorable __function__)) (if (atom clk-exprs) nil (cons (make-vl-evatom :type :vl-posedge :expr (car clk-exprs)) (vl-nedgeflop-posedge-clks (cdr clk-exprs))))))
Theorem:
(defthm vl-evatomlist-p-of-vl-nedgeflop-posedge-clks (implies (and (force (vl-exprlist-p clk-exprs))) (b* ((evatoms (vl-nedgeflop-posedge-clks clk-exprs))) (vl-evatomlist-p evatoms))) :rule-classes :rewrite)