soc/cores/cpu/vexriscv: set default variant to None in add_sources
This commit is contained in:
parent
648015d78e
commit
7c67bac723
|
@ -66,7 +66,7 @@ class LM32(Module):
|
||||||
self.add_sources(platform, variant)
|
self.add_sources(platform, variant)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def add_sources(platform, variant):
|
def add_sources(platform, variant=None):
|
||||||
vdir = os.path.join(
|
vdir = os.path.join(
|
||||||
os.path.abspath(os.path.dirname(__file__)), "verilog")
|
os.path.abspath(os.path.dirname(__file__)), "verilog")
|
||||||
platform.add_sources(os.path.join(vdir, "submodule", "rtl"),
|
platform.add_sources(os.path.join(vdir, "submodule", "rtl"),
|
||||||
|
|
Loading…
Reference in New Issue