You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/src/vpr/graphics.rst
+61-25Lines changed: 61 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,27 +67,36 @@ If the **Placement Macros** drop down is set, any placement macros (e.g. carry c
67
67
68
68
Placement with macros (carry chains) highlighted
69
69
70
-
Visualizing Netlist Connectivity
71
-
--------------------------------
72
-
The **Toggle Nets** drop-down list under the **Net Settings** tab toggles the nets in the circuit to be visible/invisible. Options include **Cluster Nets** and **Primitive Nets**.
70
+
Visualizing Nets
71
+
----------------
72
+
To visualize nets, first enable the **Display Nets** switch under the **Net** Tab.
73
+
74
+
The user can choose between drawing nets as **Flylines** (direct connections between sources and sinks) or as **Routing** (the actual routed path of the net).
75
+
Only the **Flylines** option is available during placement, as routing has not yet been performed.
76
+
77
+
The Inter-Cluster Nets and Intra-Cluster Nets options allow the user to choose whether to visualize nets between clbs or within a clb, respectively. The Intra-Cluster Routed Nets option is currently only available when **flat routing is enabled**.
73
78
74
79
.. figure:: ../Images/Net_Settings.png
75
80
:align:center
76
-
:height:200
77
81
78
-
Toggle Nets drop-down under Net Settings tab
82
+
Net Tab
79
83
80
-
When a placement is being displayed, routing information is not yet known so nets are simply drawn as a “star;” that is, a straight line is drawn from the net source to each of its sinks.
81
-
Click on any clb in the display, and it will be highlighted in green, while its fanin and fanout are highlighted in blue and red, respectively.
82
-
Once a circuit has been routed the true path of each net will be shown.
84
+
If routing is shown, clicking on a pin or channel wire whill highlight the whole net in magenta.
85
+
Multiple nets can be highlighted by pressing ctrl + mouse click.
If the nets routing are shown, click on a clb or pad to highlight its fanins and fanouts, or click on a pin or channel wire to highlight a whole net in magenta.
90
-
Multiple nets can be highlighted by pressing ctrl + mouse click.
92
+
When the **Highlight Block Fan-in and Fan-out** option is enabled, clicking on an internal block will draw its fan-in, fan-out, and internal flylines in blue, red, and yellow, respectively.
93
+
94
+
.. figure:: ../Images/highlight_flylines.png
95
+
:align:center
96
+
97
+
Highlight Block Fan-in and Fan-out Flylines
98
+
99
+
Clicking on a clb (not the internal physical blocks) will also highlight all the fan-in and fan-out routed nets in blue and red, respectively.
91
100
92
101
Visualizing the Critical Path
93
102
-----------------------------
@@ -113,33 +122,60 @@ The **Crit. Path** drop-down will toggle through the various visualizations:
113
122
Visualizing Routing Architecture
114
123
--------------------------------
115
124
116
-
When a routing is on screen, the **Routing Options** tab provides various options to gain more visual information.
125
+
During the route stage, the **Route** tab provides various options to visualize router resources and statistics.
117
126
118
127
.. figure:: ../Images/Routing_Options.png
119
128
:align:center
120
129
:height:300
121
130
122
131
Routing Options
123
132
124
-
Clicking on **Toggle RR** lets you to choose between various views of the routing resources available in the FPGA.
133
+
To visualize routing architecture, first enable the **Display Routing Resources** switch under the Route tab. Then, click on the checkboxes below to show/hide the types of nodes and edges you want to visualize.
The intra-cluster options are currently only available when **flat routing is enabled**.
136
+
137
+
The **Highlight Fan-In Fan-Out Edges** option will highlight the fan-in and fan-out edges of the selected routing resource in blue and red, respectively.
128
138
129
-
Routing Architecture Views
139
+
Multiple routing resources can be highlighted by pressing ctrl + mouse click.
140
+
141
+
.. figure:: ../Images/show_rr_graph.gif
142
+
:align:center
130
143
131
-
The routing resource view can be very useful in ensuring that you have correctly described your FPGA in the architecture description file -- if you see switches where they shouldn’t be or pins on the wrong side of a clb, your architecture description needs to be revised.
144
+
Visualizing Routing Architecture
145
+
146
+
**Node Colors**:
147
+
148
+
+------------+--------+
149
+
| Node Type | Color |
150
+
+============+========+
151
+
| Channel | Black |
152
+
+------------+--------+
153
+
| Input Pin | Purple |
154
+
+------------+--------+
155
+
| Output Pin | Pink |
156
+
+------------+--------+
157
+
158
+
**Edge Colors**:
159
+
160
+
+-----------------------+---------------+
161
+
| Edge Type | Color |
162
+
+=======================+===============+
163
+
| Pin to Output Pin | Light Pink |
164
+
+-----------------------+---------------+
165
+
| Pin to Input Pin | Medium Purple |
166
+
+-----------------------+---------------+
167
+
| Output Pin to Channel | Pink |
168
+
+-----------------------+---------------+
169
+
| Channel to Input Pin | Purple |
170
+
+-----------------------+---------------+
171
+
| Channel to Channel | Dark Green |
172
+
+-----------------------+---------------+
173
+
| Non-Configurable Edge | Dark Grey |
174
+
+-----------------------+---------------+
132
175
133
-
Wiring segments are drawn in black, input pins are drawn in sky blue, and output pins are drawn in pink.
134
-
Sinks are drawn in dark slate blue, and sources in plum.
135
-
Direct connections between output and input pins are shown in medium purple.
136
-
Connections from wiring segments to input pins are shown in sky blue, connections from output pins to wiring segments are shown in pink, and connections between wiring segments are shown in green.
137
176
The points at which wiring segments connect to clb pins (connection box switches) are marked with an ``x``.
138
177
139
178
Switch box connections will have buffers (triangles) or pass transistors (circles) drawn on top of them, depending on the type of switch each connection uses.
140
-
Clicking on a clb or pad will overlay the routing of all nets connected to that block on top of the drawing of the FPGA routing resources, and will label each of the pins on that block with its pin number.
141
-
Clicking on a routing resource will highlight it in magenta, and its fanouts will be highlighted in red and fanins in blue.
142
-
Multiple routing resources can be highlighted by pressing ctrl + mouse click.
0 commit comments