• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
        • Warnings
        • Primitives
        • Use-set
        • Syntax
        • Getting-started
        • Utilities
        • Loader
        • Transforms
          • Expression-sizing
          • Occform
          • Oprewrite
          • Expand-functions
          • Delayredux
          • Unparameterization
          • Caseelim
          • Split
          • Selresolve
          • Weirdint-elim
          • Vl-delta
          • Replicate-insts
          • Rangeresolve
          • Propagate
            • Vl-modulelist-propagate
            • Too-hard-to-propagate
            • Vl-maybe-driven-by-modinsts
            • Vl-maybe-driven-by-gateinsts
            • Vl-driven-by-assigns
            • Propagate-limits-p
            • Vl-maybe-driven-by-args
            • Candidates-for-propagation
            • Remove-simple-assigns-to
            • Propagation-sigma
            • Vl-propagation-round
            • Vl-propagation-fixpoint
            • Vl-maybe-driven-by-modinst
              • Vl-maybe-driven-by-gateinst
              • Vl-module-propagate
              • Propagate-expr-limits-okp
              • Vl-driven-by-assign
              • Vl-design-propagate
            • Clean-selects
            • Clean-params
            • Blankargs
            • Inline-mods
            • Expr-simp
            • Trunc
            • Always-top
            • Gatesplit
            • Gate-elim
            • Expression-optimization
            • Elim-supplies
            • Wildelim
            • Drop-blankports
            • Clean-warnings
            • Addinstnames
            • Custom-transform-hooks
            • Annotate
            • Latchcode
            • Elim-unused-vars
            • Problem-modules
          • Lint
          • Mlib
          • Server
          • Kit
          • Printer
          • Esim-vl
          • Well-formedness
        • Sv
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Propagate

    Vl-maybe-driven-by-modinst

    Approxpimately the wires driven by a module instance (unsound).

    Signature
    (vl-maybe-driven-by-modinst x) → driven-names
    Arguments
    x — Guard (vl-modinst-p x).
    Returns
    driven-names — Type (string-listp driven-names), given the guard.

    Definitions and Theorems

    Function: vl-maybe-driven-by-modinst

    (defun vl-maybe-driven-by-modinst (x)
      (declare (xargs :guard (vl-modinst-p x)))
      (let ((__function__ 'vl-maybe-driven-by-modinst))
        (declare (ignorable __function__))
        (b* ((args (vl-modinst->portargs x))
             ((unless (eq (vl-arguments-kind args)
                          :vl-arguments-plain))
              (raise "args still named???")))
          (vl-maybe-driven-by-args (vl-arguments-plain->args args)))))

    Theorem: string-listp-of-vl-maybe-driven-by-modinst

    (defthm string-listp-of-vl-maybe-driven-by-modinst
      (implies (and (force (vl-modinst-p x)))
               (b* ((driven-names (vl-maybe-driven-by-modinst x)))
                 (string-listp driven-names)))
      :rule-classes :rewrite)