Efinix: instance of dbparser class now in platform
This commit is contained in:
parent
b2e09832e5
commit
45961f733b
|
@ -9,6 +9,7 @@ import os
|
||||||
|
|
||||||
from litex.build.generic_platform import *
|
from litex.build.generic_platform import *
|
||||||
from litex.build.efinix import common, efinity
|
from litex.build.efinix import common, efinity
|
||||||
|
from litex.build.efinix import EfinixDbParser
|
||||||
|
|
||||||
# EfinixPlatform -----------------------------------------------------------------------------------
|
# EfinixPlatform -----------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -32,6 +33,8 @@ class EfinixPlatform(GenericPlatform):
|
||||||
else:
|
else:
|
||||||
raise ValueError("Unknown toolchain")
|
raise ValueError("Unknown toolchain")
|
||||||
|
|
||||||
|
self.parser = EfinixDbParser(self.efinity_path, self.device)
|
||||||
|
|
||||||
def get_verilog(self, *args, special_overrides=dict(), **kwargs):
|
def get_verilog(self, *args, special_overrides=dict(), **kwargs):
|
||||||
so = dict(common.efinix_special_overrides)
|
so = dict(common.efinix_special_overrides)
|
||||||
so.update(special_overrides)
|
so.update(special_overrides)
|
||||||
|
|
Loading…
Reference in New Issue