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/command_line_usage.rst
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1826,6 +1826,9 @@ The following options are used to enable power estimation in VPR.
1826
1826
1827
1827
Server Mode Options
1828
1828
^^^^^^^^^^^^^^^^^^^^^^^^
1829
+
1830
+
If VPR is in server mode, it listens on a socket for commands from a client. Currently, this is used to enable interactive timing analysis and visualization of timing paths in the VPR UI under the control of a separate client.
1831
+
1829
1832
The following options are used to enable server mode in VPR.
Copy file name to clipboardExpand all lines: doc/src/vtr/server_mode/index.rst
+13-8Lines changed: 13 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,8 @@
3
3
Server Mode
4
4
================
5
5
6
-
VTR provides the ability to run in server mode using the following command-line arguments.
6
+
If VPR is in server mode, it listens on a socket for commands from a client. Currently, this is used to enable interactive timing analysis and visualization of timing paths in the VPR UI under the control of a separate client.
7
+
VPR provides the ability to run in server mode using the following command-line arguments.
7
8
8
9
.. code-block:: none
9
10
@@ -23,7 +24,14 @@ The telegram header contains helper information required to properly extract the
23
24
24
25
Communication telegram structure.
25
26
26
-
27
+
.. note:: The telegram body itself could be compressed with zlib to minimize the amount of data transferred over the socket.
28
+
This compression is applied to the response of the 'get critical path report' request. The compressor ID byte in the telegram header signals whether the telegram body is compressed.
29
+
When the compressor ID is null, the telegram body is not compressed. If the compressor ID is 'z', it means the body is compressed with zlib.
30
+
31
+
.. note:: The checksum field contains the telegram body checksum. This checksum is used to validate the consistency of the telegram body during the dispatching phase.
32
+
If checksums are mismatched, the telegram is considered invalid and is skipped in processing.
33
+
34
+
27
35
.. _fig_comm_telegram_body_structure:
28
36
29
37
.. figure:: comm_telegram_body_structure.*
@@ -37,11 +45,8 @@ The telegram header contains helper information required to properly extract the
37
45
- 0 - command id for **get critical path**
38
46
- 1 - command id for **highlight selected path elements**
39
47
40
-
JOB_ID - is unique id for a task.
48
+
JOB_ID is a unique ID for a task. It is used to associate the request with the response by matching the same JOB_ID. Each new client request should increment the JOB_ID value; otherwise, it will not be clear which request the current response belongs to.
41
49
42
-
.. note:: The telegram body itself could be compressed with zlib to minimize the amount of data transferred over the socket.
43
-
This compression is applied to the response of the 'get critical path report' request.
44
-
The compressor ID byte in the telegram header signals whether the telegram body is compressed.
45
50
46
51
Get critical path timing report example
47
52
---------------------------------------
@@ -58,8 +63,8 @@ Get critical path timing report example
Copy file name to clipboardExpand all lines: vpr/src/base/vpr_context.h
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -568,7 +568,7 @@ struct NocContext : public Context {
568
568
* @brief State relating to server mode
569
569
*
570
570
* This should contain only data structures that
571
-
* related to server state.
571
+
* relate to the vpr server state.
572
572
*/
573
573
structServerContext : publicContext {
574
574
/**
@@ -601,7 +601,8 @@ struct ServerContext : public Context {
601
601
/**
602
602
* @brief Stores the flag indicating whether to draw the critical path contour.
603
603
*
604
-
* If the flag is set to true, the non-selected critical path elements will be drawn as a contour, while selected elements will be drawn as usual.
604
+
* If True, the entire path will be rendered with some level of transparency, regardless of the selection of path elements. However, selected path elements will be drawn in full color.
605
+
* This feature is helpful in visual debugging, to see how the separate path elements are mapped into the whole path.
* and indexes map. It is primarily used in server mode, where items are drawn upon request.
114
114
*
115
115
* @param paths The vector of TimingPath objects representing the critical paths.
116
-
* @param indexes The map of sets, where map keys are path indices and each set contains the indices of sub-path elements to draw.
116
+
* @param indexes The map of sets, where the map keys are path indices in std::vector<tatum::TimingPath>, and each set contains the indices of the data_arrival_path elements ( @ref tatum::TimingPath ) to draw.
117
117
* @param g Pointer to the ezgl::renderer object on which the elements will be drawn.
0 commit comments