Skip to content

Commit

Permalink
Rearranged pack-pattern tests/examples
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
  • Loading branch information
mkurc-ant authored and acomodi committed Dec 22, 2020
1 parent 9480f75 commit 00dff88
Show file tree
Hide file tree
Showing 20 changed files with 34 additions and 24 deletions.
29 changes: 7 additions & 22 deletions tests/pack_pattern/README.rst
Original file line number Diff line number Diff line change
@@ -1,25 +1,10 @@
Pack pattern annotation
+++++++++++++++++++++++
.. Examples for pack-pattern annotations
This example shows that v2x prevents annotating a top-level port of a pb_type
when a net of that port is forking. This enables using pack patterns,
e.g., for LUT to FF connections when the LUT output is also connected to
a top-level output port.
Pack patterns
=============

.. symbolator:: pack_pattern.sim.v
These are examples of pack-pattern annotation of connections between cells.

.. verilog-diagram:: pack_pattern.sim.v
:type: netlistsvg
:module: PACK_PATTERN

.. no-license:: pack_pattern.sim.v
:language: verilog
:caption: pack_pattern.sim.v

.. no-license:: pack_pattern.model.xml
:language: xml
:caption: pack_pattern.model.xml

.. no-license:: pack_pattern.pb_type.xml
:language: xml
:caption: pack_pattern.pb_type.xml
.. toctree::
multiple/README.rst
forking/README.rst
25 changes: 25 additions & 0 deletions tests/pack_pattern/forking/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Forking net annotation
++++++++++++++++++++++

This example shows that v2x prevents annotating a top-level port of a pb_type
when a net of that port is forking. This enables using pack patterns,
e.g., for LUT to FF connections when the LUT output is also connected to
a top-level output port.

.. symbolator:: pack_pattern.sim.v

.. verilog-diagram:: pack_pattern.sim.v
:type: netlistsvg
:module: PACK_PATTERN

.. no-license:: pack_pattern.sim.v
:language: verilog
:caption: pack_pattern.sim.v

.. no-license:: pack_pattern.model.xml
:language: xml
:caption: pack_pattern.model.xml

.. no-license:: pack_pattern.pb_type.xml
:language: xml
:caption: pack_pattern.pb_type.xml
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Pack pattern annotation example
+++++++++++++++++++++++++++++++
Multiple pack pattern annotation example
++++++++++++++++++++++++++++++++++++++++

VPR requires that connections between primitives that need to be packed together be annotated with pack patterns. Moreover, a single connection may have multiple pack pattern annotations.

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 00dff88

Please sign in to comment.