Skip to content

Commit

Permalink
Merge pull request #2319 from verilog-to-routing/add_layer_tag_to_gri…
Browse files Browse the repository at this point in the history
…d_doc

Add layer tag to Documentation
  • Loading branch information
vaughnbetz committed May 26, 2023
2 parents 857bc94 + 2053554 commit 4fa4476
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions doc/src/arch/reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ Global FPGA Information

.. seealso:: :ref:`arch_grid_layout`

.. arch:tag:: <layer die='int'>content</layer>
Content inside this tag specifies the layout of a single (2D) die; using multiple layer tags one can describe multi-die FPGAs (e.g. 3D stacked FPGAs).

.. arch:tag:: <device>content</device>
Content inside this tag specifies device information.
Expand Down Expand Up @@ -166,6 +170,37 @@ The valid tags within the ``<layout>`` tag are:

Each ``<auto_layout>`` or ``<fixed_layout>`` tag should contain a set of grid location tags.

FPGA Layer Information
----------------
The layer tag is an optional tag to specify multi-die FPGAs. If not specified, a single-die FPGA with a single die (with index 0) is assumed.

.. arch:tag:: <layer die="int">
:opt_param die:
Specifies the index of the die; index 0 is assumed to be at the bottom of a stack.

**Default**: ``0``

.. note:: If die number left unspecified, a single-die FPGA (die number = 0) is assumed.

.. code-block:: xml
<!-- Describe 3D FPGA using layer tag -->
<fixed_layout name="3D-FPGA" width="device_width" height="device_height">
<!-- First die (base die) -->
<layer die="0"/>
<!-- Specifiy base die Grid layout (e.g., fill with Network-on-Chips) -->
<fill type="NoC">
</layer>
<!-- Second die (upper die) -->
<layer die="1">
<!-- Specifiy upper die Grid layout (e.g., fill with logic blocks) -->
<fill type="LAB">
</layer>
</fixed_layout>
.. note:: Note that all dice have the same width and height. Since we can always fill unused parts of a die with EMPTY blocks this does not restrict us to have the same usable area on each die.

Grid Location Priorities
~~~~~~~~~~~~~~~~~~~~~~~~
Each grid location specification has an associated numeric *priority*.
Expand Down

0 comments on commit 4fa4476

Please sign in to comment.