• 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
          • Vl-gather
          • Vl-zip
          • Vl-main
          • Split-plusargs
          • Vl-shell
            • Vl-shell-entry
            • Vl-shell-top
              • *vl-shell-help*
            • Vl-json
          • Mlib
          • Transforms
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vl-shell

    Vl-shell-top

    Top-level vl shell command.

    Signature
    (vl-shell-top argv &key (state 'state)) → state
    Arguments
    argv — Guard (string-listp argv).

    This command just calls vl-shell-entry. It provides a single event that saves the user arguments as an ACL2 constant named vl::*vl-shell-argv*.

    Definitions and Theorems

    Function: vl-shell-top-fn

    (defun vl-shell-top-fn (argv state)
      (declare (xargs :stobjs (state)))
      (declare (xargs :guard (string-listp argv)))
      (let ((__function__ 'vl-shell-top))
        (declare (ignorable __function__))
        (vl-shell-entry
             (cons (cons 'defconst
                         (cons '*vl-shell-argv*
                               (cons (cons 'quote (cons argv 'nil))
                                     'nil)))
                   'nil))))