diff options
author | Roland Lutz <rlutz@hedmen.org> | 2017-08-27 22:20:42 +0200 |
---|---|---|
committer | Roland Lutz <rlutz@hedmen.org> | 2017-08-27 22:20:42 +0200 |
commit | 5ac8f1a6876c061a9169c19e297ce391c89f70d5 (patch) | |
tree | 0f317d91dc2160d0dab49d63e05a2dabd10c859c | |
parent | 7e4689d3f50b0a8322ec74879202377ef1159d57 (diff) | |
download | icestorm-5ac8f1a6876c061a9169c19e297ce391c89f70d5.tar.gz icestorm-5ac8f1a6876c061a9169c19e297ce391c89f70d5.tar.bz2 icestorm-5ac8f1a6876c061a9169c19e297ce391c89f70d5.zip |
icebox: Fix parsing of PLL directive
-rwxr-xr-x | icebox/icebox_hlc2asc.py | 5 |
1 files changed, 4 insertions, 1 deletions
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: |