• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • Proof-automation
    • ACL2
    • Macro-libraries
    • 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-parsed-ansi-port
                    • Make-vl-parsed-ansi-port
                    • Change-vl-parsed-ansi-port
                    • Make-honsed-vl-parsed-ansi-port
                    • Honsed-vl-parsed-ansi-port
                    • Vl-parsed-ansi-port->id
                    • Vl-parsed-ansi-port->head
                    • Vl-parsed-ansi-port->dir
                    • Vl-parsed-ansi-port->atts
                  • Vl-parse-ansi-port-header
                  • Vl-parse-ansi-port-declaration
                  • Vl-parse-1+-ansi-port-declarations
                  • Vl-parsed-interface-head
                  • 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-ansi-port-p

    Vl-parsed-ansi-port

    Raw constructor for vl-parsed-ansi-port-p structures.

    Syntax:

    (vl-parsed-ansi-port dir head id atts)

    This is the lowest-level constructor for vl-parsed-ansi-port-p structures. It simply conses together a structure with the specified fields.

    Note: It's generally better to use macros like make-vl-parsed-ansi-port or change-vl-parsed-ansi-port instead. These macros lead to more readable and robust code, because you don't have to remember the order of the fields.

    The vl-parsed-ansi-port-p structures we create here are just constructed with ordinary cons. If you want to create honsed structures, see honsed-vl-parsed-ansi-port instead.

    Definition

    This is an ordinary constructor function introduced by defaggregate.

    Function: vl-parsed-ansi-port

    (defun vl-parsed-ansi-port (dir head id atts)
      (declare (xargs :guard (and (vl-maybe-direction-p dir)
                                  (vl-parsed-ansi-head-p head)
                                  (vl-parsed-port-identifier-p id)
                                  (vl-atts-p atts))))
      (cons :vl-parsed-ansi-port (cons (cons dir head) (cons id atts))))