• 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
        • Esim-primitives
        • E-conversion
          • Vl-ealist-p
          • Modinsts-to-eoccs
          • Vl-module-make-esim
          • Exploding-vectors
          • Resolving-multiple-drivers
          • Vl-modulelist-make-esims
          • Vl-module-check-e-ok
          • Vl-collect-design-wires
          • Adding-z-drivers
          • Vl-design-to-e
          • Vl-design-to-e-check-ports
            • Vl-design-to-e-main
            • Port-bit-checking
          • 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
    • E-conversion

    Vl-design-to-e-check-ports

    Make sure that the module port/port-declarations agree and that there are no unsupported constructs.

    Signature
    (vl-design-to-e-check-ports x) → new-x
    Arguments
    x — Guard (vl-design-p x).
    Returns
    new-x — Type (vl-design-p new-x).

    Definitions and Theorems

    Function: vl-design-to-e-check-ports

    (defun vl-design-to-e-check-ports (x)
           (declare (xargs :guard (vl-design-p x)))
           (let ((__function__ 'vl-design-to-e-check-ports))
                (declare (ignorable __function__))
                (b* (((vl-design x) (vl-design-fix x))
                     (mods (vl-modulelist-check-port-bits x.mods)))
                    (change-vl-design x :mods mods))))

    Theorem: vl-design-p-of-vl-design-to-e-check-ports

    (defthm vl-design-p-of-vl-design-to-e-check-ports
            (b* ((new-x (vl-design-to-e-check-ports x)))
                (vl-design-p new-x))
            :rule-classes :rewrite)