• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
        • Svex-stvs
        • Svex-decomposition-methodology
        • Sv-versus-esim
        • Svex-decomp
        • Svex-compose-dfs
        • Svex-compilation
        • Moddb
        • Svmods
        • Svstmt
          • Svstmt-case
          • Svstmt-while
            • Make-svstmt-while
            • Svstmt-while->next
            • Svstmt-while->cond
            • Svstmt-while->body
            • Change-svstmt-while
          • Svstmt-p
          • Svstmt-if
          • Svstmt-equiv
          • Svstmt-xcond
          • Svstmt-scope
          • Svstmt-assign
          • Svstmt-compile
          • Svstmt-constraints
          • Svstmt-jump
          • Svstmtlist
          • Svstmt-kind
          • Svstmt.lisp
          • Svstmt-fix
          • Svstmt-count
        • Sv-tutorial
        • Expressions
        • Symbolic-test-vector
        • Vl-to-svex
      • Fgl
      • Vwsim
      • Vl
      • X86isa
      • Svl
      • Rtl
    • Software-verification
    • Math
    • Testing-utilities
  • Svstmt

Svstmt-while

This is a product type, introduced by deftagsum in support of svstmt.

Fields
cond — svex
body — svstmtlist
next — svstmtlist
Increment of a for loop. When running a while loop we always check the condition, then run the body, then run the next, then recur. But if there is a continue statement, we need to jump to after the body but before the next, because in a for loop the increment still happens after a continue.

Subtopics

Make-svstmt-while
Basic constructor macro for svstmt-while structures.
Svstmt-while->next
Get the next field from a svstmt-while.
Svstmt-while->cond
Get the cond field from a svstmt-while.
Svstmt-while->body
Get the body field from a svstmt-while.
Change-svstmt-while
Modifying constructor for svstmt-while structures.