mirror of https://github.com/openXC7/prjxray.git
Add assertion to debug CI failure.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
This commit is contained in:
parent
fc0e78a9da
commit
05d6a420f7
|
|
@ -46,7 +46,9 @@ def parsebit(val):
|
||||||
isset = False
|
isset = False
|
||||||
val = val[1:]
|
val = val[1:]
|
||||||
# 28_05 => 28, 05
|
# 28_05 => 28, 05
|
||||||
seg_word_column, word_bit_n = val.split('_')
|
parts = val.split('_')
|
||||||
|
assert len(parts) == 2, val
|
||||||
|
seg_word_column, word_bit_n = parts
|
||||||
|
|
||||||
return Bit(
|
return Bit(
|
||||||
word_column=int(seg_word_column),
|
word_column=int(seg_word_column),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue