From c6f6b2e11776cad07a9831c7db59337d7f38b652 Mon Sep 17 00:00:00 2001 From: Howard Mao Date: Tue, 10 Sep 2019 11:10:00 -0700 Subject: [PATCH] mention address of BootROM and first instruction --- docs/Customization/Boot-Process.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/Customization/Boot-Process.rst b/docs/Customization/Boot-Process.rst index df7e6931..0557b8bb 100644 --- a/docs/Customization/Boot-Process.rst +++ b/docs/Customization/Boot-Process.rst @@ -10,6 +10,9 @@ BootROM and RISC-V Frontend Server The first instructions to run when the SoC is powered on are those stored in the BootROM. The assembly for the BootROM code is located in `generators/testchipip/src/main/resources/testchipip/bootrom/bootrom.S `_. +The BootROM address space starts at ``0x10000`` and execution starts at address +``0x10040``, which is marked by the ``_hang`` label in the BootROM assembly. + The Chisel generator encodes the assembled instructions into the BootROM hardware at elaboration time, so if you want to change the BootROM code, you will need to run ``make`` in the bootrom directory and then regenerate the