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:
parent
1d03c3498d
commit
77dab7884c
8 changed files with 73 additions and 28 deletions
|
|
@ -181,7 +181,8 @@ Simulation
|
|||
Memory description
|
||||
==================
|
||||
|
||||
.. autoexception:: amaranth.hdl.FrozenMemory
|
||||
.. autoexception:: amaranth.hdl.AlreadyElaborated
|
||||
:noindex:
|
||||
|
||||
.. autoclass:: amaranth.hdl.MemoryData
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue