cpu/microwatt: fix add_source/add_sources
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Wed, 18 Dec 2019 07:56:36 +0000 (08:56 +0100)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Wed, 18 Dec 2019 07:56:36 +0000 (08:56 +0100)
litex/soc/cores/cpu/microwatt/core.py

index 253ac043a72a4628e917f48ffe94cc87e7551490..f8202d3b8e2988efcf2783c50c3f1dcc7eee006b 100644 (file)
@@ -95,7 +95,7 @@ class Microwatt(CPU):
     @staticmethod
     def add_sources(platform):
         sdir = os.path.join(os.path.abspath(os.path.dirname(__file__)), "sources")
-        platform.add_source(sdir,
+        platform.add_sources(sdir,
             "decode_types.vhdl",
             "wishbone_types.vhdl",
             "common.vhdl",