Check if a module is simple enough for us to inline.
(vl-ok-to-inline-p x) → okp
Function:
(defun vl-ok-to-inline-p (x) (declare (xargs :guard (vl-module-p x))) (let ((__function__ 'vl-ok-to-inline-p)) (declare (ignorable __function__)) (b* (((vl-module x) x) (- (cw "Checking if we can inline ~s0..." x.name))) (and (or (not (vl-portdecls-with-dir :vl-inout x.portdecls)) (cw "no: inout ports~%")) (or (not x.alwayses) (cw "no: always blocks~%")) (or (not x.paramdecls) (cw "no: parameter declarations~%")) (or (not x.fundecls) (cw "no: function declarations~%")) (or (not x.taskdecls) (cw "no: task declarations~%")) (not (cw "yes~%"))))))