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.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]
|
||||
return self.pll_available[0]
|
||||
|
|
Loading…
Reference in New Issue