• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • 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-driven-by-assign

    Approximate the wires driven by an assignment.

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

    Definitions and Theorems

    Function: vl-driven-by-assign

    (defun vl-driven-by-assign (x)
      (declare (xargs :guard (vl-assign-p x)))
      (let ((__function__ 'vl-driven-by-assign))
        (declare (ignorable __function__))
        (vl-expr-names (vl-assign->lvalue x))))

    Theorem: string-listp-of-vl-driven-by-assign

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