.. _memorymap: Memory Map ========== Global memory map: +------------+------------+-----------------------+ | Start | Size | Device | +============+============+=======================+ | 0x00000000 | 0x00040000 | Main block RAM (BRAM) | +------------+------------+-----------------------+ | 0x10000000 | 0x01000000 | student_device_peri | +------------+------------+-----------------------+ | 0x1e000000 | 0x00001000 | dbgmem (RISC-V debug) | +------------+------------+-----------------------+ | 0x1f000000 | 0x00001000 | rv_timer | +------------+------------+-----------------------+ | 0x1f001000 | 0x00001000 | ddr_ctrl | +------------+------------+-----------------------+ | 0x1f002000 | 0x00001000 | regdemo | +------------+------------+-----------------------+ | 0x20000000 | 0x10000000 | student_device_fast | +------------+------------+-----------------------+ | 0x80000000 | 0x20000000 | External DDR3 memory | +------------+------------+-----------------------+ Main block RAM layout: +------------+-----------------------------------------+ | Addr | Function | +============+=========================================+ | 0x00000000 | Begin BRAM | +------------+-----------------------------------------+ | 0x00000100 | Begin .lib sections (libc) | +------------+-----------------------------------------+ | | User-defined program .text, .data, .bss | +------------+-----------------------------------------+ | | Free space | +------------+-----------------------------------------+ | | Stack (growing downward) | +------------+-----------------------------------------+ | 0x0003F000 | begin hostio (3072 bytes) | +------------+-----------------------------------------+ | 0x0003FC00 | OpenOCD work area (1024 bytes) | +------------+-----------------------------------------+ | 0x00040000 | End BRAM | +------------+-----------------------------------------+