• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Debugging
    • Projects
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
      • Vwsim
      • Fgl
      • Vl
        • Syntax
        • Loader
        • Warnings
        • Getting-started
        • Utilities
        • Printer
        • Kit
          • Vl-lint
            • Vl-lintconfig-p
            • Condcheck
            • Lint-warning-suppression
            • Lucid
            • Lvaluecheck
            • Vl-interfacelist-alwaysstyle
            • Truncation-warnings
            • Vl-modulelist-alwaysstyle
            • Skip-detection
            • Vl-lint-report
            • Vl-lintresult
            • Vl::vl-design-sv-use-set
            • Oddexpr-check
            • Leftright-check
            • Duplicate-detect
            • Selfassigns
            • *vl-lint-help*
            • Arith-compare-check
            • Dupeinst-check
            • Qmarksize-check
            • Lint-whole-file-suppression
            • Run-vl-lint-main
              • Logicassign
              • Run-vl-lint
              • Vl-print-certain-warnings
              • Duperhs-check
              • Vl-lint-top
              • Sd-filter-problems
              • Vl-modulelist-add-svbad-warnings
              • Vl-module-add-svbad-warnings
              • Check-case
              • Vl-lint-extra-actions
              • Drop-lint-stubs
              • Vl-lint-print-warnings
              • Drop-user-submodules
              • Check-namespace
              • Vl-lintconfig-loadconfig
              • Vl-lint-design->svex-modalist-wrapper
              • Vl-delete-sd-problems-for-modnames-aux
              • Vl-collect-new-names-from-orignames
              • Vl-lint-print-all-warnings
              • Vl-design-remove-unnecessary-modules
              • Vl-delete-sd-problems-for-modnames
              • Vl-always-check-style
              • Vl-vardecllist-svbad-warnings
              • Vl-vardecl-svbad-warnings
              • Vl-reportcard-remove-suppressed
              • Vl-reportcard-keep-suppressed
              • Vl-alwayslist-check-style
              • Vl-remove-nameless-descriptions
              • Vl-lint-apply-quiet
              • Vl-warninglist-remove-suppressed
              • Vl-warninglist-keep-suppressed
              • Vl-print-eliminated-descs
              • Vl-module-alwaysstyle
              • Vl-jp-reportcard-aux
              • Vl-interface-alwaysstyle
              • Vl-design-alwaysstyle
              • Vl-jp-description-locations
              • Vl-jp-reportcard
              • Vl-pp-stringlist-lines
              • Vl-jp-design-locations
              • Vl-datatype-svbad-p
              • Unpacked-range-check
              • Sd-problem-major-p
              • Vl-alwaysstyle
            • Vl-server
            • Vl-gather
            • Vl-zip
            • Vl-main
            • Split-plusargs
            • Vl-shell
            • Vl-json
          • Mlib
          • Transforms
        • Svl
        • X86isa
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vl-lint

    Run-vl-lint-main

    Signature
    (run-vl-lint-main design config) → result
    Arguments
    design — Guard (vl-design-p design).
    config — Guard (vl-lintconfig-p config).
    Returns
    result — Type (vl-lintresult-p result).

    Definitions and Theorems

    Function: run-vl-lint-main

    (defun run-vl-lint-main (design config)
     (declare (xargs :guard (and (vl-design-p design)
                                 (vl-lintconfig-p config))))
     (let ((__function__ 'run-vl-lint-main))
      (declare (ignorable __function__))
      (b*
       (((vl-lintconfig config) config)
        (design-orig design)
        (- (vl-lint-suppress-large-integer-problems t))
        (simpconfig (change-vl-simpconfig *vl-default-simpconfig*
                                          :sv-simplify nil
                                          :elab-limit config.elab-limit
                                          :sc-limit config.stmt-limit))
        (design (vl-annotate-design design simpconfig))
        (design
          (xf-cwtime
               (vl-design-drop-user-submodules design config.dropmods)))
        (design0
           (vl-design-remove-unnecessary-modules config.topmods design))
        (design
         (xf-cwtime
          (vl-design-check-globalparams design config.global-packages)))
        (design (xf-cwtime (vl-design-duplicate-detect design)))
        (design (xf-cwtime (vl-design-alwaysstyle design)))
        (design (xf-cwtime (vl-design-addnames design)))
        (design (xf-cwtime (vl-design-oddexpr-check design)))
        (typosp (not config.no-typo))
        (design (xf-cwtime (vl-design-lucid design
                                            :modportsp t
                                            :paramsp t
                                            :typosp typosp
                                            :generatesp nil)))
        (design (xf-cwtime (vl-design-check-namespace design)))
        (design (xf-cwtime (vl-design-check-case design)))
        (design (xf-cwtime (vl-design-duperhs-check design)))
        (design (xf-cwtime (vl-design-condcheck design)))
        (design (xf-cwtime (vl-design-leftright-check design)))
        (design (xf-cwtime (vl-design-dupeinst-check design)))
        (design (xf-cwtime (vl-centaur-seqcheck-hook design)))
        (design (xf-cwtime (vl-design-logicassign design)))
        (design (xf-cwtime (vl-design-elaborate design simpconfig)))
        ((mv design stubnames)
         (vl-design-lint-stubs design))
        (design (xf-cwtime (vl-design-dupeinst-check design)))
        (design (xf-cwtime (vl-design-lucid design
                                            :modportsp nil
                                            :paramsp nil
                                            :typosp nil
                                            :generatesp t)))
        (design (xf-cwtime (vl-design-check-selfassigns design)))
        (design (xf-cwtime (vl-design-qmarksize-check design)))
        (design (xf-cwtime (vl-design-arith-compare-check design)))
        (design (xf-cwtime (vl-design-unpacked-range-check design)))
        (sd-probs (xf-cwtime (sd-analyze-design design0)))
        ((mv reportcard modalist)
         (xf-cwtime (vl-design->svex-modalist design
                                              :config simpconfig)))
        (design (xf-cwtime (vl-apply-reportcard design reportcard)))
        (design (if (not config.no-sv-use-set)
                    (xf-cwtime (vl-design-sv-use-set design modalist))
                  design))
        (design
         (xf-cwtime
          (vl-design-remove-unnecessary-modules config.topmods design)))
        (design (xf-cwtime (vl-design-clean-warnings design)))
        (design (xf-cwtime (vl-design-suppress-file-warnings
                                design config.ignore-files)))
        (design (xf-cwtime (vl-design-suppress-lint-warnings design)))
        (design
            (xf-cwtime (vl-design-lint-ignoreall design config.ignore)))
        (design
         (xf-cwtime (vl-lint-apply-quiet (append stubnames config.quiet)
                                         design)))
        (sd-probs (xf-cwtime (vl-delete-sd-problems-for-modnames
                                  (append stubnames config.quiet)
                                  sd-probs)))
        (reportcard (xf-cwtime (vl-design-origname-reportcard design))))
       (vl-lint-suppress-large-integer-problems nil)
       (make-vl-lintresult :design design
                           :design0 design0
                           :design-orig design-orig
                           :sv-modalist modalist
                           :reportcard reportcard
                           :sd-probs sd-probs))))

    Theorem: vl-lintresult-p-of-run-vl-lint-main

    (defthm vl-lintresult-p-of-run-vl-lint-main
      (b* ((result (run-vl-lint-main design config)))
        (vl-lintresult-p result))
      :rule-classes :rewrite)