• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
      • Fgl
      • Vwsim
      • Vl
        • Syntax
        • Loader
          • Preprocessor
          • Vl-loadconfig
          • Vl-loadstate
          • Lexer
          • Parser
            • Parse-expressions
            • Parse-udps
            • Parse-statements
            • Parse-property
            • Vl-genelements
            • Parse-paramdecls
            • Parse-blockitems
              • Vl-ranges->dimensions
              • Vl-2005-parse-block-item-declaration-noatts
              • Vl-2012-parse-block-item-declaration-noatts
              • Vl-parse-main-data-declaration
              • Vl-parse-type-declaration
              • Vl-parse-fwd-typedef
              • Vl-parse-0+-block-item-declarations
              • Vl-parse-list-of-event-identifiers
              • Vl-parse-list-of-variable-identifiers
              • Vl-parse-realtime-declaration
              • Vl-parse-block-item-declaration-noatts
              • Vl-parse-time-declaration
              • Vl-parse-reg-declaration
              • Vl-parse-real-declaration
              • Vl-parse-integer-declaration
              • Vl-build-vardecls
                • Vl-vardeclassign-p
                  • Vl-vardeclassign
                    • Make-vl-vardeclassign
                    • Change-vl-vardeclassign
                    • Make-honsed-vl-vardeclassign
                    • Honsed-vl-vardeclassign
                    • Vl-vardeclassign->rhs
                    • Vl-vardeclassign->id
                    • Vl-vardeclassign->dims
                • Vl-parse-event-declaration
                • Vl-parse-block-item-declaration
                • Vl-parse-1+-let-ports
                • Vl-parse-variable-type
                • Vl-parse-let-declaration
                • Vl-parse-0+-let-ports
              • Parse-utils
              • Parse-insts
              • Parse-functions
              • Parse-assignments
              • Parse-clocking
              • Parse-strengths
              • Vl-parse-genvar-declaration
              • Vl-parse
              • Parse-netdecls
              • Parse-asserts
              • Vl-maybe-parse-lifetime
              • Parse-dpi-import-export
              • Parse-ports
              • Parse-timeunits
              • Seq
              • Parse-packages
              • Parse-eventctrl
            • Vl-load-merge-descriptions
            • Vl-find-basename/extension
            • Vl-load-file
            • Vl-loadresult
            • Scope-of-defines
            • Vl-find-file
            • Vl-flush-out-descriptions
            • Vl-description
            • Vl-read-file
            • Vl-includeskips-report-gather
            • Vl-load-main
            • Extended-characters
            • Vl-load
            • Vl-load-description
            • Vl-descriptions-left-to-load
            • Inject-warnings
            • Vl-preprocess-debug
            • Vl-write-preprocessor-debug-file
            • Vl-read-file-report-gather
            • Vl-load-descriptions
            • Vl-load-files
            • Translate-off
            • Vl-load-read-file-hook
            • Vl-read-file-report
            • Vl-loadstate-pad
            • Vl-load-summary
            • Vl-collect-modules-from-descriptions
            • Vl-loadstate->warnings
            • Vl-iskips-report
            • Vl-descriptionlist
          • Warnings
          • Getting-started
          • Utilities
          • Printer
          • Kit
          • Mlib
          • Transforms
        • 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 rhs)

    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 rhs)
      (declare (xargs :guard (and (stringp id)
                                  (vl-dimensionlist-p dims)
                                  (vl-maybe-rhs-p rhs))))
      (cons id (cons dims rhs)))