• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Apt
        • Error-checking
        • Fty-extensions
        • Isar
        • Kestrel-utilities
        • Set
        • Soft
        • C
        • Bv
        • Imp-language
        • Event-macros
        • Java
        • Riscv
          • Specification
          • Executable
          • Specialized
            • Specialized-features
            • Rv64im
            • Rv32im
              • Semantics32
              • States32
                • Write32-xreg
                • Write32-mem-ubyte16-lendian
                • Write32-mem-ubyte32-lendian
                • Write32-pc
                • Write32-mem-ubyte8
                • Read32-mem-ubyte16-lendian
                • Read32-xreg-unsigned
                • Read32-mem-ubyte8
                • Read32-mem-ubyte32-lendian
                • Read32-xreg-signed
                • Inc32-pc
                • Read32-pc
                • Error32p
                • Error32
              • Execution32
            • Specialized-states
          • Optimized
        • Bitcoin
        • Ethereum
        • Yul
        • Zcash
        • ACL2-programming-language
        • Prime-fields
        • Json
        • Syntheto
        • File-io-light
        • Cryptography
        • Number-theory
        • Lists-light
        • Axe
        • Builtins
        • Solidity
        • Helpers
        • Htclient
        • Typed-lists-light
        • Arithmetic-light
      • X86isa
      • Axe
      • Execloader
    • Math
    • Testing-utilities
  • Rv32im

States32

Model of states for RV32IM.

Along with the model of states, which we take from states32i, we define some operations on the states.

Subtopics

Write32-xreg
Write a 32-bit integer to an x register.
Write32-mem-ubyte16-lendian
Write an unsigned 16-bit little endian integer to memory.
Write32-mem-ubyte32-lendian
Write an unsigned 32-bit little endian integer to memory.
Write32-pc
Write the program counter.
Write32-mem-ubyte8
Write an unsigned 8-bit integer to memory.
Read32-mem-ubyte16-lendian
Read an unsigned 16-bit little endian integer from memory.
Read32-xreg-unsigned
Read an unsigned 32-bit integer from an x register.
Read32-mem-ubyte8
Read an unsigned 8-bit integer from memory.
Read32-mem-ubyte32-lendian
Read an unsigned 32-bit little endian integer from memory.
Read32-xreg-signed
Read a signed 32-bit integer from an x register.
Inc32-pc
Increment the program counter.
Read32-pc
Read the program counter.
Error32p
Check if the error flag in the state is set.
Error32
Set the error flag in the state.