From 5ac8f1a6876c061a9169c19e297ce391c89f70d5 Mon Sep 17 00:00:00 2001 From: Roland Lutz Date: Sun, 27 Aug 2017 22:20:42 +0200 Subject: icebox: Fix parsing of PLL directive --- icebox/icebox_hlc2asc.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'icebox') diff --git a/icebox/icebox_hlc2asc.py b/icebox/icebox_hlc2asc.py index 71211e0..e200a0d 100755 --- a/icebox/icebox_hlc2asc.py +++ b/icebox/icebox_hlc2asc.py @@ -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: -- cgit v1.2.3