• 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
              • Sv-ansi-portdecls
                • Vl-parsed-ansi-port-p
                • Vl-parse-ansi-port-header
                • Vl-parse-ansi-port-declaration
                • Vl-parse-1+-ansi-port-declarations
                • Vl-parsed-interface-head
                  • Vl-parsed-interface-head-fix
                  • Vl-parsed-interface-head-equiv
                  • Make-vl-parsed-interface-head
                    • Vl-parsed-interface-head->modport
                    • Vl-parsed-interface-head->ifname
                    • Change-vl-parsed-interface-head
                    • Vl-parsed-interface-head-p
                  • Vl-parse-optional-port-direction
                  • Vl-parsed-ansi-portlist-p
                  • Vl-parsed-ansi-head
                  • *vl-directions-kwds*
                  • *vl-directions-kwd-alist*
                • 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-interface-head

    Make-vl-parsed-interface-head

    Basic constructor macro for vl-parsed-interface-head structures.

    Syntax
    (make-vl-parsed-interface-head [:ifname <ifname>] 
                                   [:modport <modport>]) 
    

    This is the usual way to construct vl-parsed-interface-head structures. It simply conses together a structure with the specified fields.

    This macro generates a new vl-parsed-interface-head structure from scratch. See also change-vl-parsed-interface-head, which can "change" an existing structure, instead.

    Definition

    This is an ordinary make- macro introduced by defprod.

    Macro: make-vl-parsed-interface-head

    (defmacro make-vl-parsed-interface-head (&rest args)
      (std::make-aggregate 'vl-parsed-interface-head
                           args '((:ifname) (:modport))
                           'make-vl-parsed-interface-head
                           nil))

    Function: vl-parsed-interface-head

    (defun vl-parsed-interface-head (ifname modport)
     (declare (xargs :guard (and (stringp ifname)
                                 (maybe-stringp modport))))
     (declare (xargs :guard t))
     (let ((__function__ 'vl-parsed-interface-head))
      (declare (ignorable __function__))
      (b* ((ifname (mbe :logic (str-fix ifname)
                        :exec ifname))
           (modport (mbe :logic (maybe-string-fix modport)
                         :exec modport)))
       (cons
           :vl-parsed-interface-head (std::prod-cons ifname modport)))))