LWEA - LWEA - 2026.1 English - UG1629

MicroBlaze V Processor Reference Guide (UG1629)

Document_ID
UG1629
Release_Date
2026-07-31
Version
2026.1 English
Figure 1. Load Word Extended Address

Description

Loads a word (32 bits) from the word aligned memory location that results from the effective address formed by concatenating the contents of registers rs1 and rs1+1. The data is placed in register rd. The rs1 register number must be even. Use of a misaligned (odd-numbered) register is reserved.

A load address misaligned exception occurs when the effective address has any of the two least significant bits set.

A load access fault exception occurs in case of an unsuccessful Physical Memory Attribute (PMA) check, or in case of errors when reading data from memory.

A load page fault exception is caused by an unsuccessful virtual memory effective address translation.

Pseudocode

Addr ← (rs1 + 1) (rs1)
(rd) ← Mem(Addr)

Registers Altered

rd, unless a trap occurs, in which case the register is unchanged

Latency

  • One cycle with C_OPTIMIZATION = 0, 2, 3
  • Two cycles with C_OPTIMIZATION = 1

Notes

  • The instruction is only valid if MicroBlaze V is configured to use extended address (C_ADDR_SIZE > 32), with PMP disabled or if the extended address is only used on the M_AXI_DP interface (C_PMP_ENTRIES = 0 or C_USE_AXI_DP_EXT_ADDR = 1), and with RV32I or RV32E Base Integer Instruction Set (C_DATA_SIZE = 32).
  • Instruction bits 20-24, 26-28, 29 and 31 are ignored when decoding the instruction.