From: Anton Blanchard Date: Mon, 21 Mar 2022 22:35:17 +0000 (+1100) Subject: Allow ALT_RESET_ADDRESS to be overridden X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=948f6f43a731930408e65f64eff21cf7d2bfe33e;p=microwatt.git Allow ALT_RESET_ADDRESS to be overridden This allows us to boot from flash for example. Signed-off-by: Anton Blanchard --- diff --git a/soc.vhdl b/soc.vhdl index ee1ea3e..d408993 100644 --- a/soc.vhdl +++ b/soc.vhdl @@ -61,6 +61,7 @@ entity soc is HAS_BTC : boolean := true; HAS_SHORT_MULT : boolean := false; DISABLE_FLATTEN_CORE : boolean := false; + ALT_RESET_ADDRESS : std_logic_vector(63 downto 0) := (23 downto 0 => '0', others => '1'); HAS_DRAM : boolean := false; DRAM_SIZE : integer := 0; DRAM_INIT_SIZE : integer := 0; @@ -336,7 +337,7 @@ begin HAS_BTC => HAS_BTC, HAS_SHORT_MULT => HAS_SHORT_MULT, DISABLE_FLATTEN => DISABLE_FLATTEN_CORE, - ALT_RESET_ADDRESS => (23 downto 0 => '0', others => '1'), + ALT_RESET_ADDRESS => ALT_RESET_ADDRESS, LOG_LENGTH => LOG_LENGTH, ICACHE_NUM_LINES => ICACHE_NUM_LINES, ICACHE_NUM_WAYS => ICACHE_NUM_WAYS,