emsec / hal

HAL – The Hardware Analyzer
MIT License
624 stars 76 forks source link

Binary integer literal in net name #545

Open kraemv opened 9 months ago

kraemv commented 9 months ago

Hello everyone,

Hal can not open netlists, that have a binary integer literal as a net name (e.g.\'1').

In order to reproduce the behaviour, open the netlist bug_literal_showcase, that is attached to this report in hal 4.2.0 and read in the log attached to this report.

This deviates from the expected behaviour of hal opening the netlist.

Screenshots Screenshot from 2023-12-21 13-55-38

Additional context As this is the standard naming convention for GND / VCC nets in Project XRAY Fasm2bels, fixing this bug improves compatibility. Two netlists showcasing the bug are attached to this report(as txt). bug_literal_showcase.txt bug_literal_showcase_fixed.txt