From ae71cf6601c00537343a27cb08598f9782e981d4 Mon Sep 17 00:00:00 2001 From: Catherine Date: Sun, 12 May 2024 13:27:53 +0000 Subject: [PATCH] docs/guide: remove the warning for array resource exhaustion. It is no longer relevant in a NIR world. --- docs/guide.rst | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/guide.rst b/docs/guide.rst index 4946d73..6e0b6d6 100644 --- a/docs/guide.rst +++ b/docs/guide.rst @@ -809,10 +809,6 @@ Crucially, this means that any Python object can be added to an array; the only 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. -.. warning:: - - 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. - .. note:: Arrays, :class:`amaranth.hdl.Array`, are distinct from and serve a different function than :class:`amaranth.lib.data.ArrayLayout`.