icebox: Fix parsing of PLL directive

This commit is contained in:
Roland Lutz 2017-08-27 22:20:42 +02:00
parent 7e4689d3f5
commit 5ac8f1a687
1 changed files with 4 additions and 1 deletions

View File

@ -879,7 +879,10 @@ class IOTile(Tile):
self.blocks = [None, None]
def read(self, fields):
super().read(fields)
if len(fields) == 2 and fields[0] == 'PLL':
self.apply_directive(*fields) # TODO
else:
super().read(fields)
def new_block(self, fields):
if fields == ['io_0'] and self.blocks[0] is None: