Skip to content

Commit b7a94b9

Browse files
authored
Merge pull request verilog-to-routing#2080 from verilog-to-routing/placement_constraints_docs_update
Placement constraints docs update
2 parents b30b9fa + 010ef69 commit b7a94b9

File tree

2 files changed

+20
-19
lines changed

2 files changed

+20
-19
lines changed

doc/src/vpr/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ The purpose of VPR is to make the packing, placement, and routing stages of the
5555
graphics
5656

5757
timing_constraints
58+
placement_constraints
5859
sdc_commands
5960

6061
file_formats

doc/src/vpr/placement_constraints.rst

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,25 @@ A Constraints File Example
99
--------------------------
1010

1111
.. code-block:: xml
12-
:caption: An example of a placement constraints file in XML format.
13-
:linenos:
14-
15-
<vpr_constraints tool_name="vpr">
16-
<partition_list>
17-
<partition name="Part0">
18-
<add_atom name_pattern="li354">
19-
<add_atom name_pattern="alu*"> <!-- Regular expressions can be used to provide name patterns of the primitives to be added -->
20-
<add_atom name_pattern="n877">
21-
<add_region x_low="3" y_low="1" x_high="7" y_high="2"> <!-- Two rectangular regions are specified, together describing an L-shaped region -->
22-
<add_region x_low="7" y_low="3" x_high="7" y_high="6"
23-
</partition>
24-
<partition name="Part1">
25-
<add_region x_low="3" y_low="3" x_high="7" y_high="7" subtile="0"> <!-- One specific location is specified -->
26-
<add_atom name_pattern="n4917">
27-
<add_atom name_pattern="n6010">
28-
</partition>
29-
</partition_list>
30-
</vpr_constraints>
12+
:caption: An example of a placement constraints file in XML format.
13+
:linenos:
14+
15+
<vpr_constraints tool_name="vpr">
16+
<partition_list>
17+
<partition name="Part0">
18+
<add_atom name_pattern="li354">
19+
<add_atom name_pattern="alu*"> <!-- Regular expressions can be used to provide name patterns of the primitives to be added -->
20+
<add_atom name_pattern="n877">
21+
<add_region x_low="3" y_low="1" x_high="7" y_high="2"> <!-- Two rectangular regions are specified, together describing an L-shaped region -->
22+
<add_region x_low="7" y_low="3" x_high="7" y_high="6"
23+
</partition>
24+
<partition name="Part1">
25+
<add_region x_low="3" y_low="3" x_high="7" y_high="7" subtile="0"> <!-- One specific location is specified -->
26+
<add_atom name_pattern="n4917">
27+
<add_atom name_pattern="n6010">
28+
</partition>
29+
</partition_list>
30+
</vpr_constraints>
3131
3232
.. _end:
3333

0 commit comments

Comments
 (0)