From 3fb891094b4c4b2d491e085bf6e285f1764a145c Mon Sep 17 00:00:00 2001 From: tangxifan Date: Thu, 27 Jun 2024 11:02:37 -0700 Subject: [PATCH] [doc] add new syntax --- .../manual/file_formats/clock_network.rst | 60 ++++++++++++++++--- 1 file changed, 53 insertions(+), 7 deletions(-) diff --git a/docs/source/manual/file_formats/clock_network.rst b/docs/source/manual/file_formats/clock_network.rst index d998c63a9..da359f400 100644 --- a/docs/source/manual/file_formats/clock_network.rst +++ b/docs/source/manual/file_formats/clock_network.rst @@ -30,7 +30,9 @@ Using the clock network description language, users can define multiple clock ne - + + + @@ -209,23 +211,67 @@ where the clock routing can be driven at (x=1,y=1) by the output pins ``O[0:3]`` Tap Point Settings ^^^^^^^^^^^^^^^^^^ -The following syntax are applicable to the XML definition tagged by ``tap``. +The following syntax are applicable to the XML definition tagged by ``all``, ``region`` and ``single``. Note that a number of tap points can be defined under the node ``taps``. -.. option:: tile_pin="" +.. option:: from_pin="" - Define the pin of a programmable block to be tapped by a clock network. The pin must be a valid pin defined in the VPR architecture description file. + Define the source pin of a programmable block to be tapped by a clock network. The pin must be a valid pin of the global ports defined in the tile_annotation part of OpenFPGA architecture description file. + +.. option:: to_pin="" + + Define the destination pin of a programmable block to be tapped by a clock network. The pin must be a valid pin defined in the VPR architecture description file. .. note:: Only the leaf clock spine (not switch points to drive other clock spine) can tap pins of programmable blocks. +.. note:: Each coordinate must be a valid integer within the device height and width that are defined in VPR architecture!!! + +.. warning:: The following syntax are only applicable to ``single`` tap mode. + +.. option:: x="" + + Define the x coordinate of the tap point, which is applied to the destination pin ``to_pin`` + +.. option:: y="" + + Define the y coordinate of the tap point, which is applied to the destination pin ``to_pin`` + +.. warning:: The following syntax are only applicable to ``region`` tap mode. + +.. option:: start_x="" + + Define the starting x coordinate of the tap region, which is applied to the destination pin ``to_pin`` + +.. option:: start_y="" + + Define the starting y coordinate of the tap region, which is applied to the destination pin ``to_pin`` + +.. option:: end_x="" + + Define the ending x coordinate of the tap region, which is applied to the destination pin ``to_pin`` + +.. option:: end_y="" + + Define the ending y coordinate of the tap region, which is applied to the destination pin ``to_pin`` + +.. option:: repeat_x="" + + Define the repeating factor on x coordinate of the tap region, which is applied to the destination pin ``to_pin`` + +.. option:: repeat_y="" + + Define the repeating factor on y coordinate of the tap region, which is applied to the destination pin ``to_pin`` + For example, .. code-block:: xml - + - + + + @@ -235,7 +281,7 @@ where all the clock spines of the clock network ``clk_tree_0`` tap the clock pin - +