Print the JSON encoding of a vl-gateinst-p to ps.
(vl-jp-gateinst x &key (ps 'ps)) → ps
Function:
(defun vl-jp-gateinst-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-gateinst-p x))) (let ((__function__ 'vl-jp-gateinst)) (declare (ignorable __function__)) (vl-ps-seq (vl-print "{\"tag\": ") (jp-sym ':vl-gateinst) (vl-print ", ") (vl-print-str "\"type\": ") (vl-jp-gatetype (vl-gateinst->type x)) (vl-println? ", ") (vl-print-str "\"name\": ") (jp-maybe-string (vl-gateinst->name x)) (vl-println? ", ") (vl-print-str "\"range\": ") (vl-jp-maybe-range (vl-gateinst->range x)) (vl-println? ", ") (vl-print-str "\"strength\": ") (vl-jp-maybe-gatestrength (vl-gateinst->strength x)) (vl-println? ", ") (vl-print-str "\"delay\": ") (vl-jp-maybe-gatedelay (vl-gateinst->delay x)) (vl-println? ", ") (vl-print-str "\"args\": ") (vl-jp-plainarglist (vl-gateinst->args x)) (vl-println? ", ") (vl-print-str "\"atts\": ") (vl-jp-atts (vl-gateinst->atts x)) (vl-println? ", ") (vl-print-str "\"loc\": ") (vl-jp-location (vl-gateinst->loc x)) (vl-println? "}"))))