• Top
    • Documentation
    • Books
    • Recursion-and-induction
    • Boolean-reasoning
    • Debugging
    • Projects
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
        • Symbolic-test-vectors
          • Defstv
          • Stv-compile
          • Symbolic-test-vector-format
          • Stv-implementation-details
          • Compiled-stv-p
          • Stv-run-for-all-dontcares
          • Stv-run
          • Stv-process
          • Stv-run-check-dontcares
          • Symbolic-test-vector-composition
          • Stv-expand
          • Stv-easy-bindings
          • Stv-debug
          • Stv-run-squash-dontcares
          • Stvdata-p
          • Stv-doc
          • Stv2c
          • Stv-widen
          • Stv-out->width
          • Stv-in->width
          • Stv->outs
          • Stv-number-of-phases
          • Stv->ins
            • Stv-suffix-signals
            • Stv->vars
          • Esim-primitives
          • E-conversion
          • Esim-steps
          • Patterns
          • Mod-internal-paths
          • Defmodules
          • Esim-simplify-update-fns
          • Esim-tutorial
          • Esim-vl
        • Vl2014
        • Sv
        • Fgl
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Testing-utilities
      • Math
    • Symbolic-test-vectors

    Stv->ins

    Get a list of an STV's input simulation variables.

    Signature
    (stv->ins x) → inputs
    Arguments
    x — Guard (processed-stv-p x).
    Returns
    inputs — Should be a symbol-listp in practice.

    We collect simulation variables from all input and initial lines. For instance, if you have an input line like:

    ("a_bus"  _ _ _ a1 _ a2 _ _)

    Then the returned list will include a1 and a2.

    Definitions and Theorems

    Function: stv->ins

    (defun stv->ins (x)
           (declare (xargs :guard (processed-stv-p x)))
           (let ((__function__ 'stv->ins))
                (declare (ignorable __function__))
                (b* (((processed-stv x) x)
                     ((compiled-stv cstv) x.compiled-stv))
                    (alist-keys cstv.in-usersyms))))