Ashling* RiscFree* Integrated Development Environment (IDE) for Altera® FPGAs User Guide

ID 730783
Date 4/11/2025
Public
Document Table of Contents

3.3.6.3. View Memory

Visual Studio Code supports memory browser. You can view the content of On-Chip Memory (RAM), external memory, or other memory-mapped devices. This example targets the start address of On-Chip Memory (RAM), where an application begins.
Note: You must select little-endian in the Memory View properties because Nios® V processor is a little-endian processor.
Follow these steps to launch the memory browser:
  1. Navigate to OUTPUT and right click on it.
    Figure 138. Enable Memory
  2. Click MEMORY.
  3. Click Add new memory view to add memory address.
    Figure 139. Add Memory
  4. Click Edit memory view properties, set these settings:
    • Address: Hex/decimal constant or expression: Leave it as default
    • Display Name: Leave it as default
    • Format: 4-Byte
    • Endianness: Little
    Figure 140. Edit Memory View Properties
    Figure 141. Edit Memory View Properties-Settings
    Figure 142. Memory View
  5. Go to <Working directory>/software/app/out/build/ folder.
  6. Open the hello.elf.objdump file.
  7. Search for Disassembly of section .entry.
  8. The disassembly shows that the information at starting address 0 is 0x3c00006f, which is exactly the same as in the Memory Browser.
  9. You can continue to verify section .exceptions.
    Figure 143. Disassembly of an Application