put fw_addr back to 0xff00_0000, xics.bin test passed
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 14 Apr 2022 15:26:48 +0000 (16:26 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 14 Apr 2022 15:26:48 +0000 (16:26 +0100)
Makefile
src/ls2.py

index a60b7e806415f71a3260e21905220a4f4d6cca85..bd3523d74235aa1fb2b05278cdf5123711cd3cfa 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -27,6 +27,7 @@ endif
 # Hello world
 MEMORY_SIZE=8192
 #RAM_INIT_FILE=hello_world/hello_world.bin
+#RAM_INIT_FILE=../microwatt2/tests/xics/xics.bin
 RAM_INIT_FILE=coldboot/coldboot.bin
 SIM_MAIN_BRAM=false
 
index 9899ec24f5757713f7e5927a6c709a29f93881ae..61be6fb94e740eb51e8d90035b6f6b39b7907d0d 100644 (file)
@@ -752,7 +752,7 @@ def build_platform(fpga, firmware):
     # select a firmware address
     fw_addr = None
     if firmware is not None:
-        fw_addr = 0x00000000 # firmware at HI address, now
+        fw_addr = 0xff00_0000 # firmware at HI address, now
 
     print ("fpga", fpga, "firmware", firmware)