mirror of
https://github.com/openXC7/prjxray.git
synced 2026-08-29 01:13:57 +02:00
Add assertion to debug CI failure.
Signed-off-by: Keith Rothman <[email protected]>
This commit is contained in:
@@ -46,7 +46,9 @@ def parsebit(val):
|
||||
isset = False
|
||||
val = val[1:]
|
||||
# 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(
|
||||
word_column=int(seg_word_column),
|
||||
|
||||
Reference in New Issue
Block a user