Skip to content

Commit ae71cf6

Browse files
committed
docs/guide: remove the warning for array resource exhaustion.
It is no longer relevant in a NIR world.
1 parent 001f7c7 commit ae71cf6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

docs/guide.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -809,10 +809,6 @@ Crucially, this means that any Python object can be added to an array; the only
809809

810810
An array becomes immutable after it is indexed for the first time. The elements of the array do not themselves become immutable, but it is not recommended to mutate them as the behavior can become unpredictable.
811811

812-
.. warning::
813-
814-
Each time an array proxy object with :py:`n` elements is used in an expression, it generates a multiplexer with :py:`n` branches. However, using :py:`k` of such array proxy objects in an expression generates a multiplexer with :py:`n**k` branches. This can generate extremely large circuits that may quickly exhaust the resources of the synthesis target or even the available RAM.
815-
816812
.. note::
817813

818814
Arrays, :class:`amaranth.hdl.Array`, are distinct from and serve a different function than :class:`amaranth.lib.data.ArrayLayout`.

0 commit comments

Comments
 (0)