Merge pull request #93 from rlutz/extra-bits

icebox: Preserve extra bits when writing to file
This commit is contained in:
Clifford Wolf 2017-08-25 15:06:40 +02:00 committed by GitHub
commit 7b07cd489d
1 changed files with 2 additions and 0 deletions

View File

@ -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):