• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
        • Warnings
        • Primitives
        • Use-set
        • Syntax
        • Getting-started
        • Utilities
        • Loader
        • Transforms
        • Lint
        • Mlib
        • Server
        • Kit
        • Printer
          • Ps
          • Basic-printing
          • Verilog-printing
            • Vl-fmt
            • Vl-ppc-module
            • Vl-pp-expr
            • Vl-maybe-escape-identifier
            • Vl-print-ext-wirename
            • Vl-pp-module
            • Vl-print-wirename
            • Vl-print-loc
            • Vl-print-modname
            • Vl-pp-origexpr
            • Vl-pps-module
            • Vl-pps-expr
            • Vl-ppc-modulelist
            • Vl-ppcs-module
            • Vl-ps-update-show-atts
              • Vl-pps-origexpr
              • Vl-pps-modulelist
              • Vl-ppcs-modulelist
              • Vl-cw-obj
              • Vl-ps->show-atts-p
              • Vl-cw
            • Printing-locally
            • Formatted-printing
            • Accessing-printed-output
            • Vl-printedlist
            • Json-printing
          • Esim-vl
          • Well-formedness
        • Sv
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Verilog-printing

    Vl-ps-update-show-atts

    Set whether Verilog-2005 (* key = val *)-style attributes should be displayed.

    Signature
    (vl-ps-update-show-atts showp &key (ps 'ps)) → ps
    Arguments
    showp — Guard (booleanp showp).

    We want the default to be t, so we look for hide-atts instead of show-atts.

    Definitions and Theorems

    Function: vl-ps-update-show-atts-fn

    (defun vl-ps-update-show-atts-fn (showp ps)
      (declare (xargs :stobjs (ps)))
      (declare (xargs :guard (booleanp showp)))
      (let ((__function__ 'vl-ps-update-show-atts))
        (declare (ignorable __function__))
        (let ((hidep (not showp))
              (misc (vl-ps->misc)))
          (vl-ps-update-misc (acons :vl-hide-atts hidep misc)))))

    Theorem: vl-ps-update-show-atts-fn-of-bool-fix-showp

    (defthm vl-ps-update-show-atts-fn-of-bool-fix-showp
      (equal (vl-ps-update-show-atts-fn (acl2::bool-fix showp)
                                        ps)
             (vl-ps-update-show-atts-fn showp ps)))

    Theorem: vl-ps-update-show-atts-fn-iff-congruence-on-showp

    (defthm vl-ps-update-show-atts-fn-iff-congruence-on-showp
      (implies (iff showp showp-equiv)
               (equal (vl-ps-update-show-atts-fn showp ps)
                      (vl-ps-update-show-atts-fn showp-equiv ps)))
      :rule-classes :congruence)