soc_core: include information about cpu variant in csv and headers
authorMateusz Holenko <mholenko@antmicro.com>
Thu, 11 Jul 2019 08:13:28 +0000 (10:13 +0200)
committerMateusz Holenko <mholenko@antmicro.com>
Mon, 15 Jul 2019 13:58:54 +0000 (15:58 +0200)
litex/soc/integration/soc_core.py

index 5de233c78920530453904c36d60da43c10db6fd3..1fd7917f1706711ab85c98705937d89703a897ac 100644 (file)
@@ -239,6 +239,7 @@ class SoCCore(Module):
 
         # Add CPU
         self.config["CPU_TYPE"] = str(cpu_type).upper()
+        self.config["CPU_VARIANT"] = str(cpu_variant).upper()
         if cpu_type is not None:
             # CPU selection / instance
             if cpu_type == "lm32":