Skip to content

Commit

Permalink
Add documentation of MID wires (#167)
Browse files Browse the repository at this point in the history
* doc: add documentation of MID wires

* Update docs/source/fabric_definition.rst

fix typo

Co-authored-by: Bea Healy <[email protected]>

* doc: Update docs/source/fabric_definition.rst

resolve ambiguity

Co-authored-by: Bea Healy <[email protected]>

---------

Co-authored-by: Bea Healy <[email protected]>
  • Loading branch information
IAmMarcelJung and TaoBi22 authored May 10, 2024
1 parent d4a6749 commit eae6d7d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/source/fabric_definition.rst
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,17 @@ specifying:
In summary, the example shows how a termination tile can be used to provide more complex interface blocks and all this can be easily modelled and implemented with FABulous.

.. note:: The ``destination_name`` is refering to the port name used at the destination tile. FABulous will throw an error if the destination tile does not provide that port name.

Aside from ``BEGIN`` and ``END``, there also exist ``MID`` ports, which can be used for wires spanning more than two tiles.
Although they route over two tiles, they also have a tap on the middle tile.
On the middle tile, the sink is called ``MID`` while the source is still a ``BEG`` port with the addition of ``b``.
In the example below this is illustrated. The wire on the left goes from ``E2BEG0`` to ``E2MID`` which is the tap on the middle tile.
Inside the switch matrix, ``E2MID`` and ``E2BEGb`` are connected. The left wire then starts at ``E2BEGb`` and ends at ``E2END``.

.. figure:: figs/mid_wires.*
:alt: Basic tile illustration
:width: 100%
:align: center

* ``X-offset``, ``signed_int``

Expand Down
Binary file added docs/source/figs/mid_wires.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit eae6d7d

Please sign in to comment.