• 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
        • Warnings
        • Getting-started
        • Utilities
        • Printer
        • Kit
          • Vl-lint
          • Vl-server
            • Vls-scannedalist-p
            • Vls-loadedalist-p
            • Vls-commands
            • Vls-data-p
            • Vl-server-opts-p
            • Vl-descriptionlist-summaries
            • Vls-transdb
            • Vl-describe
            • Ts-queue
            • Vls-get-plainsrc
            • Vl-description->warnings
            • Vls-showloc
            • File-layout
              • Vl-zipinfo
                • Vl-zipinfo-fix
                • Vl-zipinfo-equiv
                • Make-vl-zipinfo
                  • Vl-zipinfo-p
                  • Change-vl-zipinfo
                  • Vl-zipinfo->syntax
                  • Vl-zipinfo->filename
                  • Vl-zipinfo->name
                  • Vl-zipinfo->ltime
                  • Vl-zipinfo->date
                • Vl-scan-for-zipinfos-aux
                • Vl-scan-for-zipinfos
                • Vl-zipinfolist
              • Vls-remove-from-scannedalist
              • Vls-describe
              • Vl-server-top
              • Vls-port-table
              • Vl-find-description-insensitive
              • Vls-get-warnings
              • Vls-get-summary
              • Vls-get-origsrc
              • Vl-ppc-description
              • Vls-get-parents
              • Vls-get-children
              • Vls-data-origname-reportcard
              • Vls-data-from-zip
              • Start
              • Vls-make-scannedalist
              • Vls-get-summaries
              • Vls-get-unloaded-json
              • Vls-get-desctypes
              • Vls-scannedalist-to-json
              • Vls-loadedalist-to-json
              • Vl-description-summary
              • *vl-server-help*
              • Vl-descalist->descriptions/types
              • Stop
            • Vl-gather
            • Vl-zip
            • Vl-main
            • Split-plusargs
            • Vl-shell
            • Vl-json
          • Mlib
          • Transforms
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vl-zipinfo

    Make-vl-zipinfo

    Basic constructor macro for vl-zipinfo structures.

    Syntax
    (make-vl-zipinfo [:filename <filename>] 
                     [:name <name>] 
                     [:syntax <syntax>] 
                     [:date <date>] 
                     [:ltime <ltime>]) 
    

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

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

    Definition

    This is an ordinary make- macro introduced by defprod.

    Macro: make-vl-zipinfo

    (defmacro make-vl-zipinfo (&rest args)
      (std::make-aggregate 'vl-zipinfo
                           args
                           '((:filename)
                             (:name)
                             (:syntax)
                             (:date)
                             (:ltime))
                           'make-vl-zipinfo
                           nil))

    Function: vl-zipinfo

    (defun vl-zipinfo (filename name syntax date ltime)
      (declare (xargs :guard (and (stringp filename)
                                  (stringp name)
                                  (stringp syntax)
                                  (stringp date)
                                  (natp ltime))))
      (declare (xargs :guard t))
      (let ((__function__ 'vl-zipinfo))
        (declare (ignorable __function__))
        (b* ((filename (mbe :logic (str-fix filename)
                            :exec filename))
             (name (mbe :logic (str-fix name) :exec name))
             (syntax (mbe :logic (str-fix syntax)
                          :exec syntax))
             (date (mbe :logic (str-fix date) :exec date))
             (ltime (mbe :logic (nfix ltime) :exec ltime)))
          (cons :vl-zipinfo (list (cons 'filename filename)
                                  (cons 'name name)
                                  (cons 'syntax syntax)
                                  (cons 'date date)
                                  (cons 'ltime ltime))))))