Skip to content

Commit

Permalink
icebox: Preserve extra bits when writing to file
Browse files Browse the repository at this point in the history
  • Loading branch information
rlutz committed Aug 25, 2017
1 parent 873eb9e commit 7e692cb
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 7e692cb

Please sign in to comment.