Print the JSON encoding of a vl-udp-p to ps.
(vl-jp-udp x &key (ps 'ps)) → ps
Function:
(defun vl-jp-udp-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-udp-p x))) (let ((__function__ 'vl-jp-udp)) (declare (ignorable __function__)) (vl-ps-seq (vl-print "{\"tag\": ") (jp-sym ':vl-udp) (vl-print ", ") (vl-print-str "\"name\": ") (jp-str (vl-udp->name x)) (vl-println? ", ") (vl-print-str "\"output\": ") (vl-jp-portdecl (vl-udp->output x)) (vl-println? ", ") (vl-print-str "\"inputs\": ") (vl-jp-portdecllist (vl-udp->inputs x)) (vl-println? ", ") (vl-print-str "\"sequentialp\": ") (jp-bool (vl-udp->sequentialp x)) (vl-println? ", ") (vl-print-str "\"table\": ") (vl-jp-udplinelist (vl-udp->table x)) (vl-println? ", ") (vl-print-str "\"initval\": ") (vl-jp-maybe-expr (vl-udp->initval x)) (vl-println? ", ") (vl-print-str "\"warnings\": ") (vl-jp-warninglist (vl-udp->warnings x)) (vl-println? ", ") (vl-print-str "\"minloc\": ") (vl-jp-location (vl-udp->minloc x)) (vl-println? ", ") (vl-print-str "\"maxloc\": ") (vl-jp-location (vl-udp->maxloc x)) (vl-println? ", ") (vl-print-str "\"atts\": ") (vl-jp-atts (vl-udp->atts x)) (vl-println? ", ") (vl-print-str "\"comments\": ") (vl-jp-commentmap (vl-udp->comments x)) (vl-println? "}"))))