mirror of https://github.com/openXC7/prjxray.git
Fixed bit names formatting.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
This commit is contained in:
parent
65ccddb6d3
commit
6fd00834b2
|
|
@ -74,7 +74,7 @@ def bit_to_str(bit):
|
|||
Converts a tuple (frame, bit, value) to its string representation.
|
||||
"""
|
||||
s = "!" if not bit[2] else ""
|
||||
return "{}{}_{}".format(s, bit[0], bit[1])
|
||||
return "{}{}_{:02d}".format(s, bit[0], bit[1])
|
||||
|
||||
|
||||
def load_segbits(file_name):
|
||||
|
|
|
|||
Loading…
Reference in New Issue