docs: note that Array and ArrayLayout are distinct.

This commit is contained in:
Catherine 2024-05-12 13:27:34 +00:00
parent cd679dd9b3
commit 001f7c78dc
2 changed files with 9 additions and 0 deletions

View file

@ -481,6 +481,11 @@ class ArrayLayout(Layout):
Arrays that have padding can be described with a :class:`FlexibleLayout`.
.. note::
This class, :class:`amaranth.lib.data.ArrayLayout`, is distinct from and serves a different
function than :class:`amaranth.hdl.Array`.
Attributes
----------
elem_shape : :class:`.ShapeLike`