• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • 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
              • Vl-parse-datatype
                • Vl-vardeclassign-p
                  • Vl-vardeclassign
                    • Make-vl-vardeclassign
                    • Change-vl-vardeclassign
                    • Make-honsed-vl-vardeclassign
                    • Honsed-vl-vardeclassign
                    • Vl-vardeclassign->id
                    • Vl-vardeclassign->expr
                    • Vl-vardeclassign->dims
                • Vl-parse-structmembers
                • Vl-parse-structmember
                • Vl-parse-datatype-or-void
              • Parse-functions
              • Parse-datatypes
              • Parse-strengths
              • Vl-parse-genvar-declaration
              • Vl-parse
              • Parse-ports
              • 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-vardeclassign-p

    Vl-vardeclassign

    Raw constructor for vl-vardeclassign-p structures.

    Syntax:

    (vl-vardeclassign id dims expr)

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

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

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

    Definition

    This is an ordinary constructor function introduced by defaggregate.

    Function: vl-vardeclassign

    (defun vl-vardeclassign (id dims expr)
      (declare (xargs :guard (and (stringp id)
                                  (vl-packeddimensionlist-p dims)
                                  (vl-maybe-expr-p expr))))
      (cons id (cons dims expr)))