From d299957118322110e1688bce32dd2e9f3d3c8e5f Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 30 Mar 2023 12:06:48 +0200 Subject: [PATCH] cpu/neorv32: Use specific sha1, litex_core_complex will need an update. --- litex/soc/cores/cpu/neorv32/core.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/litex/soc/cores/cpu/neorv32/core.py b/litex/soc/cores/cpu/neorv32/core.py index b9d5c6656..792378656 100644 --- a/litex/soc/cores/cpu/neorv32/core.py +++ b/litex/soc/cores/cpu/neorv32/core.py @@ -163,11 +163,12 @@ class NEORV32(CPU): } # Download VHDL sources (if not already present). + sha1 = "5e0bdb20208c5d0c46ba56e7401b87af44c7170d" for directory, vhds in sources.items(): for vhd in vhds: self.vhd2v_converter.add_source(os.path.join(cdir, vhd)) if not os.path.exists(os.path.join(cdir, vhd)): - os.system(f"wget https://raw.githubusercontent.com/stnolting/neorv32/main/rtl/{directory}/{vhd} -P {cdir}") + os.system(f"wget https://raw.githubusercontent.com/stnolting/neorv32/{sha1}/rtl/{directory}/{vhd} -P {cdir}") def do_finalize(self): assert hasattr(self, "reset_address")