From 45961f733b4c96e1a0f283e636c81c84526fd1eb Mon Sep 17 00:00:00 2001 From: Franck Jullien Date: Tue, 28 Sep 2021 18:06:23 +0200 Subject: [PATCH] Efinix: instance of dbparser class now in platform --- litex/build/efinix/platform.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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]