amaranth-soc
amaranth-soc copied to clipboard
Make optional properties return None while uninitialized.
The previous behaviour was to raise a NotImplementedError. It is now the responsibility of the caller to check if the property was initialized or not.
Affected properties:
- wishbone.Interface.memory_map
- csr.Interface.memory_map
- event.Source.event_map
- periph.PeripheralInfo.irq
Related to https://github.com/nmigen/nmigen-soc/pull/19#discussion_r455600061.