• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Pfcs
      • Wp-gen
      • Dimacs-reader
      • Legacy-defrstobj
      • Proof-checker-array
      • Soft
      • C
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Leftist-trees
      • Java
      • Taspi
      • Riscv
        • Specification
        • Executable
        • Specialized
          • Rv64im
          • Rv32im
            • Semantics32
            • States32
              • Write32-xreg
              • Xregfile32
              • Write32-mem-ubyte16-lendian
              • State32
              • Memory32
              • 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
              • *mem32-size*
            • Execution32
      • Bitcoin
      • Des
      • Ethereum
      • X86isa
      • Sha-2
      • Yul
      • Zcash
      • Proof-checker-itp13
      • Regex
      • ACL2-programming-language
      • Json
      • Jfkr
      • Equational
      • Cryptography
      • Poseidon
      • Where-do-i-place-my-book
      • Axe
      • Aleo
      • Bigmems
      • Builtins
      • Execloader
      • Solidity
      • Paco
      • Concurrent-programs
      • Bls12-377-curves
    • Debugging
    • Std
    • Community
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
    • Math
    • Testing-utilities
  • Rv32im

States32

Model of states for RV32IM.

Along with the model of states, we define some operations on the states.

Subtopics

Write32-xreg
Write a 32-bit integer to an x register.
Xregfile32
Fixtype of the x register file [ISA:2.1].
Write32-mem-ubyte16-lendian
Write an unsigned 16-bit little endian integer to memory.
State32
Fixtype of (unprivileged) processor states.
Memory32
Fixtype of memories [ISA:1.4].
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.
*mem32-size*
Size of (the address space of) the memory [ISA:1.4].