efinix: get_free_pll_resource needs to call get_pll_resource
This commit is contained in:
parent
9be3951be9
commit
5f9d943d36
|
@ -160,8 +160,10 @@ class EfinixPlatform(GenericPlatform):
|
||||||
def get_pll_resource(self, name):
|
def get_pll_resource(self, name):
|
||||||
self.pll_used.append(name)
|
self.pll_used.append(name)
|
||||||
self.pll_available.remove(name)
|
self.pll_available.remove(name)
|
||||||
print('Pll used : ' + str(self.pll_used))
|
print('PLL used : ' + str(self.pll_used))
|
||||||
print('Pll pll_available: ' + str(self.pll_available))
|
print('PLL available: ' + str(self.pll_available))
|
||||||
|
|
||||||
def get_free_pll_resource(self):
|
def get_free_pll_resource(self):
|
||||||
return self.pll_available[0]
|
pll = self.pll_available[0]
|
||||||
|
self.get_pll_resource(pll)
|
||||||
|
return pll
|
||||||
|
|
Loading…
Reference in New Issue