• 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-expand-name
            • Stv-hid-parse
            • Stv-wirename-parse
            • Stv-hid-to-paths
            • Stv-maybe-match-select
            • Stv-hid-split
            • Stv-expand-hids-in-lines
            • Stv-expand-names-in-lines
            • Stv-expand-hid
              • Stv-check-noncanonical-paths
            • 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
    • Stv-expand

    Stv-expand-hid

    (stv-expand-hid name mod) expands a signal name when it is allowed to be hierarchical, i.e. a hid or a list of esim paths.

    Signature
    (stv-expand-hid name mod) → lsb-paths
    Arguments
    name — the name at the start of the STV line.
    Returns
    lsb-paths — LSB-first list of non-canonical paths for x, in the sense of mod-internal-paths.

    Definitions and Theorems

    Function: stv-expand-hid

    (defun stv-expand-hid (name mod)
      (declare (xargs :guard t))
      (let ((__function__ 'stv-expand-hid))
        (declare (ignorable __function__))
        (if (stringp name)
            (stv-hid-to-paths name mod)
          (prog2$ (stv-check-noncanonical-paths name mod)
                  name))))