From 253e3e0cbac13a06f0483670d8bc19343808c21f Mon Sep 17 00:00:00 2001 From: tangxifan Date: Sun, 23 Jun 2024 17:43:38 -0700 Subject: [PATCH] [doc] add new syntax for clock network --- .../manual/file_formats/clock_network.rst | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/docs/source/manual/file_formats/clock_network.rst b/docs/source/manual/file_formats/clock_network.rst index 9d6baad98..fe6d89b79 100644 --- a/docs/source/manual/file_formats/clock_network.rst +++ b/docs/source/manual/file_formats/clock_network.rst @@ -22,7 +22,7 @@ Using the clock network description language, users can define multiple clock ne .. code-block:: xml - + @@ -56,23 +56,28 @@ where the segment is defined in the VPR architecture file: .. note:: Currently, clock network requires only length-1 wire segment to be used! -.. option:: default_switch="" +.. option:: default_tap_switch="" + + Define the default routing switch to be used when interconnects the routing tracks to the input pins of programmable blocks in the clock network. Must be a valid routing switch defined in the VPR architecture file. See the example in the ``default_driver_switch``. + +.. option:: default_driver_switch="" Define the default routing switch to be used when interconnects the routing tracks in the clock network. Must be a valid routing switch defined in the VPR architecture file. For example, .. code-block:: xml - default_switch="clk_mux" + default_tap_switch="cb_mux" default_driver_switch="sb_clk_mux" where the switch is defined in the VPR architecture file: .. code-block:: xml - + + -.. note:: Currently, clock network only supports one type of routing switch, which means all the programmable routing switch in the clock network will be in the same type and circuit design topology. +.. note:: Currently, clock network only supports the default types of routing switch, which means all the programmable routing switch in the clock network will be in the same type and circuit design topology. Clock Network Settings ^^^^^^^^^^^^^^^^^^^^^^ @@ -94,7 +99,7 @@ where the clock network is used to drive the global clock pin ``clk0`` in OpenFP -