Merge pull request #88 from shaun0927/fix/concat-parser-unknown-signal

fix(test): break on unknown signal in count_concat_bits
This commit is contained in:
Jason 2026-04-16 13:55:12 +03:00 committed by GitHub
commit fa5e1dcdf4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -497,6 +497,7 @@ def count_concat_bits(concat_expr: str, port_widths: dict[str, int]) -> ConcatWi
# Unknown width — flag it
fragments.append((part, -1))
total = -1 # Can't compute
break
return ConcatWidth(
total_bits=total,