diff --git a/litex/build/efinix/platform.py b/litex/build/efinix/platform.py index 3b2aa0957..5f73823b8 100644 --- a/litex/build/efinix/platform.py +++ b/litex/build/efinix/platform.py @@ -9,6 +9,7 @@ import os from litex.build.generic_platform import * from litex.build.efinix import common, efinity +from litex.build.efinix import EfinixDbParser # EfinixPlatform ----------------------------------------------------------------------------------- @@ -32,6 +33,8 @@ class EfinixPlatform(GenericPlatform): else: raise ValueError("Unknown toolchain") + self.parser = EfinixDbParser(self.efinity_path, self.device) + def get_verilog(self, *args, special_overrides=dict(), **kwargs): so = dict(common.efinix_special_overrides) so.update(special_overrides) @@ -117,4 +120,4 @@ class EfinixPlatform(GenericPlatform): print('Pll pll_available: ' + str(self.pll_available)) def get_free_pll_resource(self): - return self.pll_available[0] \ No newline at end of file + return self.pll_available[0]