• Top
    • Documentation
    • Books
    • Recursion-and-induction
    • Boolean-reasoning
    • Projects
    • Debugging
    • 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
        • Vwsim
        • Fgl
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Testing-utilities
      • Math
    • Symbolic-test-vectors

    Stv->outs

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

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

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

    ("main_result"  _ _ _ res1 _ res2 _ _)

    Then the returned list will include res1 and res2.

    Definitions and Theorems

    Function: stv->outs

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