Updated README.rst Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
diff --git a/tests/internal_conn/README.rst b/tests/internal_conn/README.rst index 8f71bed..27067d3 100644 --- a/tests/internal_conn/README.rst +++ b/tests/internal_conn/README.rst
@@ -1,9 +1,13 @@ A test for cells with "passthrough" modes and direct pin-to-pin connections. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -This tests checks two cases: +This test demonstrates two use cases. -1. A cell may have some of its input pins connected directly to its output pins internally. In such a case that connection has to be expressed within its interconnect. This test does exactly that. +1. A non-primitive cell that has direct input to output connections inside. -2. Given a cell which has a "passthrough" mode with no child cells and a direct input to output connection, no pb_type for the "passthrough" mode should be generated. Moreover, the interconnect that holds the input to output connection should be defined directly under the "mode" tag. + Such a cell has child cells that are connected to its ports. But it also contains direct connection(s) between its input and output ports. In such a case the direct connections have to be expressed within its interconnect along with regular connections to child cells. + +2. A cell with modes in which one of them is a "passthrough" + + A passthrough mode defines a direct input to output connection and no child cells. In such a case no pb_type is to be generated for the "passthrough" mode. Instead, an interconnect defining the direect connection is placed directly under the "mode" tag.