aboutsummaryrefslogtreecommitdiffstats
path: root/icebox
diff options
context:
space:
mode:
authorRoland Lutz <rlutz@hedmen.org>2017-08-25 12:49:24 +0200
committerRoland Lutz <rlutz@hedmen.org>2017-08-25 12:49:24 +0200
commit7e692cba7c19b715b5b8f813a73f37da8a10f066 (patch)
treeffb89864b562f5de447ddfe374197ccbb549648c /icebox
parent873eb9effaef6f97df24ca8d7b6eae3721303454 (diff)
downloadicestorm-7e692cba7c19b715b5b8f813a73f37da8a10f066.tar.gz
icestorm-7e692cba7c19b715b5b8f813a73f37da8a10f066.tar.bz2
icestorm-7e692cba7c19b715b5b8f813a73f37da8a10f066.zip
icebox: Preserve extra bits when writing to file
Diffstat (limited to 'icebox')
-rw-r--r--icebox/icebox.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/icebox/icebox.py b/icebox/icebox.py
index f20224b..982d088 100644
--- a/icebox/icebox.py
+++ b/icebox/icebox.py
@@ -690,6 +690,8 @@ class iceconfig:
print(".ram_data %d %d" % (x, y), file=f)
for line in self.ram_data[(x, y)]:
print(line, file=f)
+ for extra_bit in sorted(self.extra_bits):
+ print(".extra_bit %d %d %d" % extra_bit, file=f)
class tileconfig:
def __init__(self, tile):