mirror of https://github.com/VLSIDA/OpenRAM.git
bug fix list vs set
This commit is contained in:
parent
11ea82e782
commit
2b72fbee4e
|
|
@ -40,7 +40,7 @@ class multi_delay_chain(design.design):
|
||||||
self.pinout_list = [self.rows] # TODO: check for off-by-one here
|
self.pinout_list = [self.rows] # TODO: check for off-by-one here
|
||||||
else:
|
else:
|
||||||
# Set() to sort in ascending order and remove duplicates
|
# Set() to sort in ascending order and remove duplicates
|
||||||
self.pinout_list = set(pinout_list)
|
self.pinout_list = list(set(pinout_list))
|
||||||
|
|
||||||
# Check pinout bounds
|
# Check pinout bounds
|
||||||
debug.check(self.pinout_list[-1] <= self.rows,
|
debug.check(self.pinout_list[-1] <= self.rows,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue