Skip to content

Commit

Permalink
Merge pull request #93 from rlutz/extra-bits
Browse files Browse the repository at this point in the history
icebox: Preserve extra bits when writing to file
  • Loading branch information
cliffordwolf authored Aug 25, 2017
2 parents 1565fdc + 7e692cb commit 7b07cd4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions icebox/icebox.py
Original file line number Diff line number Diff line change
Expand Up @@ -690,6 +690,8 @@ def write_file(self, filename):
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):
Expand Down

0 comments on commit 7b07cd4

Please sign in to comment.