mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-09-05 11:35:20 +02:00
The JSON backend writes "signed": 1 for any signed wire, including internal nets. The frontend only parsed the attribute for ports, so a write-read roundtrip silently cleared is_signed on internal nets. Signed internal wires became unsigned between the two passes. Fix: parse 'signed' in the netnames loop, next to the existing upto/offset handling. Regression test does a full roundtrip and checks the internal signed wire survives.