• Top
    • Documentation
    • Books
    • 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-number-of-phases
          • Stv->outs
          • 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
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Symbolic-test-vectors

    Stv-suffix-signals

    Convert a list of atoms into a list of symbols with some suffix.

    Signature
    (stv-suffix-signals x suffix) → symbols
    Arguments
    x — Guard (atom-listp x).
    suffix — Guard (stringp suffix).
    Returns
    symbols — Type (symbol-listp symbols).

    Definitions and Theorems

    Function: stv-suffix-signals

    (defun stv-suffix-signals (x suffix)
      (declare (xargs :guard (and (atom-listp x) (stringp suffix))))
      (let ((__function__ 'stv-suffix-signals))
        (declare (ignorable __function__))
        (if (atom x)
            nil
          (cons (intern$ (str::cat (stringify (car x)) suffix)
                         "ACL2")
                (stv-suffix-signals (cdr x) suffix)))))

    Theorem: symbol-listp-of-stv-suffix-signals

    (defthm symbol-listp-of-stv-suffix-signals
      (b* ((symbols (stv-suffix-signals x suffix)))
        (symbol-listp symbols))
      :rule-classes :rewrite)