• 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
              • Semantics64
              • States64
                • Write64-xreg
                • Write64-xreg-32
                • Write64-mem-ubyte64-lendian
                • Write64-mem-ubyte16-lendian
                • Xregfile64
                • State64
                • Memory64
                • Write64-mem-ubyte32-lendian
                • Write64-pc
                • Read64-mem-ubyte64-lendian
                • Read64-mem-ubyte16-lendian
                • Write64-mem-ubyte8
                • Read64-xreg-unsigned
                • Read64-mem-ubyte32-lendian
                • Read64-mem-ubyte8
                • Read64-xreg-unsigned32
                • Read64-xreg-signed32
                • Read64-xreg-signed
                • Inc64-pc
                • Read64-pc
                • Error64p
                • Error64
                • *mem64-size*
              • Execution64
            • Rv32im
            • 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
  • Rv64im

States64

Model of states for RV64IM.

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

Subtopics

Write64-xreg
Write a 64-bit integer to an x register.
Write64-xreg-32
Write an integer to the low 32 bits of an x register, sign-extending it to the high 32 bits of the register.
Write64-mem-ubyte64-lendian
Write an unsigned 64-bit little endian integer to memory.
Write64-mem-ubyte16-lendian
Write an unsigned 16-bit little endian integer to memory.
Xregfile64
Fixtype of the x register file [ISA:2.1].
State64
Fixtype of (unprivileged) processor states.
Memory64
Fixtype of memories [ISA:1.4].
Write64-mem-ubyte32-lendian
Write an unsigned 32-bit little endian integer to memory.
Write64-pc
Write the program counter.
Read64-mem-ubyte64-lendian
Read an unsigned 64-bit little endian integer from memory.
Read64-mem-ubyte16-lendian
Read an unsigned 16-bit little endian integer from memory.
Write64-mem-ubyte8
Write an unsigned 8-bit integer to memory.
Read64-xreg-unsigned
Read an unsigned 64-bit integer from an x register.
Read64-mem-ubyte32-lendian
Read an unsigned 32-bit little endian integer from memory.
Read64-mem-ubyte8
Read an unsigned 8-bit integer from memory.
Read64-xreg-unsigned32
Read an unsigned 32-bit integer from the low bits of an x register.
Read64-xreg-signed32
Read a signed 32-bit integer from the low bits of an x register.
Read64-xreg-signed
Read a signed 64-bit integer from an x register.
Inc64-pc
Increment the program counter.
Read64-pc
Read the program counter.
Error64p
Check if the error flag in the state is set.
Error64
Set the error flag in the state.
*mem64-size*
Size of (the address space of) the memory [ISA:1.4].