• 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
            • Semantics
            • Features
              • Feat-base
              • Feat-endian
                • Feat-endian-case
                • Feat-endian-fix
                • Feat-endian-equiv
                • Feat-endianp
                • Feat-endian-little
                • Feat-endian-big
                • Feat-endian-kind
              • Feat
              • Feat->xlen
              • Feat->ialign
              • Feat->xnum
              • Feat-64p
              • Feat-32p
              • Feat-little-endianp
              • Feat-big-endianp
              • Feat->ilen
              • Feat-embedp
              • Feat-mp
            • Instructions
            • Encoding
            • States
            • Reads-over-writes
            • Semantics-equivalences
            • Decoding
            • Execution
          • Executable
          • Specialized
          • 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
  • Features

Feat-endian

Fixtype of RISC-V feature choices for endianness.

This is a tagged union type, introduced by fty::deftagsum.

Member Tags → Types
:little → feat-endian-little
:big → feat-endian-big

Although instruction encodings are always in little endian [ISA:1.5], data loaded/stored from/to memory may be little or big endian [ISA:2.6]. This choice is ``byte-address invariant'' [ISA:2.6], i.e. it does not depend on the address; so there is just one choice for the whole memory.

Subtopics

Feat-endian-case
Case macro for the different kinds of feat-endian structures.
Feat-endian-fix
Fixing function for feat-endian structures.
Feat-endian-equiv
Basic equivalence relation for feat-endian structures.
Feat-endianp
Recognizer for feat-endian structures.
Feat-endian-little
Feat-endian-big
Feat-endian-kind
Get the kind (tag) of a feat-endian structure.