• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
        • Warnings
        • Primitives
          • *vl-1-bit-approx-mux*
          • *vl-1-bit-mux*
          • Nedgeflop
            • Vl-make-same-bitselect-from-each
            • Vl-primitive-mkports
            • Vl-nedgeflop-ifstmt
            • Vl-make-1-bit-n-edge-flop
            • Vl-make-nedgeflop-insts
            • Vl-nedgeflop-always
            • Vl-nedgeflop-clkedge-assigns
            • Vl-nedgeflop-update-sexpr
            • Vl-nedgeflop-e-wires
            • Vl-make-delay-assigns
              • Vl-nedgeflop-posedge-clks
              • Vl-nedgeflop-data-mux
              • Vl-nedgeflop-some-edge-sexpr
              • Vl-modinsts-add-atts
              • Vl-nedgeflop-or-edges
            • Vl-primitive-mkport
            • *vl-1-bit-assign*
            • *vl-1-bit-zmux*
            • Vl-primitive-mkwire
            • *vl-1-bit-bufif1*
            • *vl-1-bit-bufif0*
            • *vl-1-bit-delay-1*
            • *vl-1-bit-ceq*
            • *vl-1-bit-buf*
            • *vl-1-bit-rcmos*
            • *vl-1-bit-latch*
            • *vl-1-bit-cmos*
            • *vl-1-bit-power*
            • *vl-1-bit-rpmos*
            • *vl-1-bit-rnmos*
            • *vl-1-bit-pmos*
            • *vl-1-bit-nmos*
            • *vl-1-bit-ground*
            • *vl-1-bit-tranif1*
            • *vl-1-bit-tranif0*
            • *vl-1-bit-rtranif1*
            • *vl-1-bit-rtranif0*
            • *vl-1-bit-rtran*
            • *vl-1-bit-tran*
            • *vl-1-bit-notif1*
            • *vl-1-bit-notif0*
            • *vl-1-bit-and*
            • *vl-1-bit-xor*
            • *vl-1-bit-xnor*
            • *vl-1-bit-pullup*
            • *vl-1-bit-pulldown*
            • *vl-1-bit-or*
            • *vl-1-bit-not*
            • *vl-1-bit-nor*
            • *vl-1-bit-nand*
            • *vl-1-bit-z*
            • *vl-1-bit-x*
            • *vl-1-bit-t*
            • *vl-1-bit-f*
          • Use-set
          • Syntax
          • Getting-started
          • Utilities
          • Loader
          • Transforms
          • Lint
          • Mlib
          • Server
          • Kit
          • Printer
          • Esim-vl
          • Well-formedness
        • Sv
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Nedgeflop

    Vl-make-delay-assigns

    Signature
    (vl-make-delay-assigns lhses rhses delay-amt atts) → assigns
    Arguments
    lhses — Guard (vl-exprlist-p lhses).
    rhses — Guard (vl-exprlist-p rhses).
    delay-amt — Guard (natp delay-amt).
    atts — Guard (vl-atts-p atts).
    Returns
    assigns — Type (vl-assignlist-p assigns).

    Definitions and Theorems

    Function: vl-make-delay-assigns

    (defun vl-make-delay-assigns (lhses rhses delay-amt atts)
      (declare (xargs :guard (and (vl-exprlist-p lhses)
                                  (vl-exprlist-p rhses)
                                  (natp delay-amt)
                                  (vl-atts-p atts))))
      (declare (xargs :guard (equal (len lhses) (len rhses))))
      (let ((__function__ 'vl-make-delay-assigns))
        (declare (ignorable __function__))
        (if (atom lhses)
            nil
          (cons (make-vl-assign :lvalue (car lhses)
                                :expr (car rhses)
                                :delay (vl-make-constdelay delay-amt)
                                :atts atts
                                :loc *vl-fakeloc*)
                (vl-make-delay-assigns (cdr lhses)
                                       (cdr rhses)
                                       delay-amt atts)))))

    Theorem: vl-assignlist-p-of-vl-make-delay-assigns

    (defthm vl-assignlist-p-of-vl-make-delay-assigns
      (b* ((assigns (vl-make-delay-assigns lhses rhses delay-amt atts)))
        (vl-assignlist-p assigns))
      :rule-classes :rewrite)