hdl._dsl: raise an error when modifying an already-elaborated Module.

This renames the `FrozenMemory` exception to `AlreadyElaborated`
and reuses it for modules.

Fixes #1350.
This commit is contained in:
Wanda 2024-05-08 01:15:35 +02:00 committed by Catherine
parent 1d03c3498d
commit 77dab7884c
8 changed files with 73 additions and 28 deletions

View file

@ -181,7 +181,8 @@ Simulation
Memory description
==================
.. autoexception:: amaranth.hdl.FrozenMemory
.. autoexception:: amaranth.hdl.AlreadyElaborated
:noindex:
.. autoclass:: amaranth.hdl.MemoryData