emsec / hal

HAL – The Hardware Analyzer
MIT License
619 stars 74 forks source link

Bugfix verilog parser: avoid access to deleted nets #494

Closed joern274 closed 1 year ago

joern274 commented 1 year ago

Bugfix: in the last block of method VerilogParser::construct_netlist modules are tested whether a ground- or voltage supply pin needs to be created.

However, appropriate nets m_one_net or m_zero_net might have been deleted at an earlier stage, thus resulting in memory access error when testing.

These tests are omitted in this fix.