Skip to content

Binary integer literal in net name #545

Open
@kraemv

Description

@kraemv

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

  • OS: Ubuntu
  • Version: 20.04

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions