soc/integration/csr_bridge: use registered version only when SDRAM is present.
[litex.git] / litex_setup.py
index 6438aa9b176a723895167d6d9c48471704609fee..d1e9a6cafe4ea5d1298a9729c6519f368e103ebf 100755 (executable)
@@ -7,7 +7,6 @@ import shutil
 import hashlib
 from collections import OrderedDict
 
-import requests
 import urllib.request
 
 current_path = os.path.abspath(os.curdir)
@@ -47,10 +46,12 @@ repos = [
     ("pythondata-cpu-picorv32",    ("https://github.com/litex-hub/", False, True, None)),
     ("pythondata-cpu-serv",        ("https://github.com/litex-hub/", False, True, None)),
     ("pythondata-cpu-vexriscv",    ("https://github.com/litex-hub/", False, True, None)),
+    ("pythondata-cpu-vexriscv-smp",("https://github.com/litex-hub/", True,  True, None)),
     ("pythondata-cpu-rocket",      ("https://github.com/litex-hub/", False, True, None)),
     ("pythondata-cpu-minerva",     ("https://github.com/litex-hub/", False, True, None)),
-    ("pythondata-cpu-microwatt",   ("https://github.com/litex-hub/", False, True, 0xa7859fb)),
+    ("pythondata-cpu-microwatt",   ("https://github.com/litex-hub/", False, True, 0xba76652)),
     ("pythondata-cpu-blackparrot", ("https://github.com/litex-hub/", False, True, None)),
+    ("pythondata-cpu-cv32e40p",    ("https://github.com/litex-hub/", True,  True, None)),
 ]
 
 repos = OrderedDict(repos)
@@ -106,6 +107,7 @@ litex_setup_url = "https://raw.githubusercontent.com/enjoy-digital/litex/master/
 current_sha1 = hashlib.sha1(open(os.path.realpath(__file__)).read().encode("utf-8")).hexdigest()
 print("[checking litex_setup.py]...")
 try:
+    import requests
     r = requests.get(litex_setup_url)
     if r.status_code != 404:
         upstream_sha1 = hashlib.sha1(r.content).hexdigest()