From 7e692cba7c19b715b5b8f813a73f37da8a10f066 Mon Sep 17 00:00:00 2001 From: Roland Lutz Date: Fri, 25 Aug 2017 12:49:24 +0200 Subject: icebox: Preserve extra bits when writing to file --- icebox/icebox.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'icebox') 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): -- cgit v1.2.3