• 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
          • Preprocessor
          • Vl-loadconfig
          • Lexer
          • Vl-loadstate
          • Parser
            • Parse-expressions
            • Parse-udps
            • Vl-genelements
            • Parse-paramdecls
            • Parse-blockitems
            • Parse-utils
            • Parse-insts
            • Parse-datatype
            • Parse-functions
            • Parse-datatypes
            • Parse-strengths
            • Vl-parse-genvar-declaration
            • Vl-parse
            • Parse-ports
              • Parse-port-types
                • Vl-parsed-portdecl-head
                  • Vl-parsed-portdecl-head-fix
                  • Vl-parsed-portdecl-head-equiv
                  • Make-vl-parsed-portdecl-head
                  • Vl-parsed-portdecl-head->nettype
                  • Vl-parsed-portdecl-head->implicit-p
                  • Vl-parsed-portdecl-head->explicit-p
                  • Vl-parsed-portdecl-head->var-p
                  • Vl-parsed-portdecl-head->type
                  • Change-vl-parsed-portdecl-head
                    • Vl-parsed-portdecl-head-p
                  • Vl-parse-port-declaration-head-2012
                  • Vl-parse-ansi-port-header
                • Sv-ansi-portdecls
                • Creating-portdecls/vardecls
                • Sv-non-ansi-portdecls
                • Verilog-2005-ports
                • Sv-ansi-port-interpretation
                • Verilog-2005-portdecls
              • Seq
              • Parse-packages
            • Vl-load-merge-descriptions
            • Scope-of-defines
            • Vl-load-file
            • Vl-flush-out-descriptions
            • Vl-description
            • Vl-loadresult
            • Vl-read-file
            • Vl-find-basename/extension
            • Vl-find-file
            • Vl-read-files
            • Extended-characters
            • Vl-load
            • Vl-load-main
            • Vl-load-description
            • Vl-descriptions-left-to-load
            • Inject-warnings
            • Vl-load-descriptions
            • Vl-load-files
            • Vl-load-summary
            • Vl-collect-modules-from-descriptions
            • Vl-descriptionlist
          • Transforms
          • Lint
          • Mlib
          • Server
          • Kit
          • Printer
          • Esim-vl
          • Well-formedness
        • Sv
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vl-parsed-portdecl-head

    Change-vl-parsed-portdecl-head

    Modifying constructor for vl-parsed-portdecl-head structures.

    Syntax
    (change-vl-parsed-portdecl-head x 
                                    [:nettype <nettype>] 
                                    [:var-p <var-p>] 
                                    [:explicit-p <explicit-p>] 
                                    [:implicit-p <implicit-p>] 
                                    [:type <type>]) 
    

    This is an often useful alternative to make-vl-parsed-portdecl-head.

    We construct a new vl-parsed-portdecl-head structure that is a copy of x, except that you can explicitly change some particular fields. Any fields you don't mention just keep their values from x.

    Definition

    This is an ordinary change- macro introduced by defprod.

    Macro: change-vl-parsed-portdecl-head

    (defmacro change-vl-parsed-portdecl-head (x &rest args)
      (std::change-aggregate
           'vl-parsed-portdecl-head
           x args
           '((:nettype . vl-parsed-portdecl-head->nettype)
             (:var-p . vl-parsed-portdecl-head->var-p)
             (:explicit-p . vl-parsed-portdecl-head->explicit-p)
             (:implicit-p . vl-parsed-portdecl-head->implicit-p)
             (:type . vl-parsed-portdecl-head->type))
           'change-vl-parsed-portdecl-head
           'remake-vl-parsed-portdecl-head))