Skip to content

Commit e1c2e2a

Browse files
committed
vpr_test: update architectures xmls
Signed-off-by: Alessandro Comodi <[email protected]>
1 parent 2daf153 commit e1c2e2a

File tree

2 files changed

+50
-39
lines changed

2 files changed

+50
-39
lines changed

utils/fasm/test/test_fasm_arch.xml

Lines changed: 25 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,29 @@
11
<architecture>
22
<models/>
33

4+
<tiles>
5+
<tile name="io" capacity="8">
6+
<!-- Every input pin is driven by 15% of the tracks in a channel, every output pin is driven by 10% of the tracks in a channel -->
7+
<fc in_type="frac" in_val="0.15" out_type="frac" out_val="0.10"/>
8+
9+
<!-- IOs go on the periphery of the FPGA, for consistency,
10+
make it physically equivalent on all sides so that only one definition of I/Os is needed.
11+
If I do not make a physically equivalent definition, then I need to define 4 different I/Os, one for each side of the FPGA
12+
-->
13+
<pinlocations pattern="custom">
14+
<loc side="left">io.outpad io.inpad io.clock</loc>
15+
<loc side="top">io.outpad io.inpad io.clock</loc>
16+
<loc side="right">io.outpad io.inpad io.clock</loc>
17+
<loc side="bottom">io.outpad io.inpad io.clock</loc>
18+
</pinlocations>
19+
</tile>
20+
<tile name="clb">
21+
<fc in_type="frac" in_val="0.15" out_type="frac" out_val="0.10"/>
22+
23+
<pinlocations pattern="spread"/>
24+
</tile>
25+
</tiles>
26+
427
<layout>
528
<fixed_layout height="10" width="10" name="test" >
629
<perimeter type="io" priority="100">
@@ -42,7 +65,7 @@
4265
</segmentlist>
4366

4467
<complexblocklist>
45-
<pb_type name="io" capacity="8">
68+
<pb_type name="io">
4669
<input name="outpad" num_pins="1"/>
4770
<output name="inpad" num_pins="1"/>
4871
<clock name="clock" num_pins="1"/>
@@ -74,21 +97,7 @@
7497
</direct>
7598
</interconnect>
7699
</mode>
77-
78-
<!-- Every input pin is driven by 15% of the tracks in a channel, every output pin is driven by 10% of the tracks in a channel -->
79-
<fc in_type="frac" in_val="0.15" out_type="frac" out_val="0.10"/>
80-
81-
<!-- IOs go on the periphery of the FPGA, for consistency,
82-
make it physically equivalent on all sides so that only one definition of I/Os is needed.
83-
If I do not make a physically equivalent definition, then I need to define 4 different I/Os, one for each side of the FPGA
84-
-->
85-
<pinlocations pattern="custom">
86-
<loc side="left">io.outpad io.inpad io.clock</loc>
87-
<loc side="top">io.outpad io.inpad io.clock</loc>
88-
<loc side="right">io.outpad io.inpad io.clock</loc>
89-
<loc side="bottom">io.outpad io.inpad io.clock</loc>
90-
</pinlocations>
91-
100+
92101
<!-- Place I/Os on the sides of the FPGA -->
93102
<power method="ignore"/>
94103
</pb_type>
@@ -257,10 +266,6 @@
257266
<direct name="clbouts1" input="fle[9:0].out[0:0]" output="clb.O[9:0]"/>
258267
<direct name="clbouts2" input="fle[9:0].out[1:1]" output="clb.O[19:10]"/>
259268
</interconnect>
260-
261-
<fc in_type="frac" in_val="0.15" out_type="frac" out_val="0.10"/>
262-
263-
<pinlocations pattern="spread"/>
264269
</pb_type>
265270
</complexblocklist>
266271
<power>

vpr/test/test_read_arch_metadata.xml

Lines changed: 25 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,30 @@
11
<architecture>
22
<models/>
33

4+
<tiles>
5+
<tile name="io" capacity="8">
6+
<!-- Every input pin is driven by 15% of the tracks in a channel, every output pin is driven by 10% of the tracks in a channel -->
7+
<fc in_type="frac" in_val="0.15" out_type="frac" out_val="0.10"/>
8+
9+
<!-- IOs go on the periphery of the FPGA, for consistency,
10+
make it physically equivalent on all sides so that only one definition of I/Os is needed.
11+
If I do not make a physically equivalent definition, then I need to define 4 different I/Os, one for each side of the FPGA
12+
-->
13+
<pinlocations pattern="custom">
14+
<loc side="left">io.outpad io.inpad io.clock</loc>
15+
<loc side="top">io.outpad io.inpad io.clock</loc>
16+
<loc side="right">io.outpad io.inpad io.clock</loc>
17+
<loc side="bottom">io.outpad io.inpad io.clock</loc>
18+
</pinlocations>
19+
</tile>
20+
<tile name="clb">
21+
<fc in_type="frac" in_val="0.15" out_type="frac" out_val="0.10"/>
22+
23+
<pinlocations pattern="spread"/>
24+
</tile>
25+
</tiles>
26+
27+
428
<layout>
529
<auto_layout aspect_ratio="1.0">
630
<perimeter type="io" priority="100">
@@ -43,7 +67,7 @@
4367
</segmentlist>
4468

4569
<complexblocklist>
46-
<pb_type name="io" capacity="8">
70+
<pb_type name="io">
4771
<metadata>
4872
<meta name="pb_type_type">pb_type = io</meta>
4973
</metadata>
@@ -79,20 +103,6 @@
79103
</interconnect>
80104
</mode>
81105

82-
<!-- Every input pin is driven by 15% of the tracks in a channel, every output pin is driven by 10% of the tracks in a channel -->
83-
<fc in_type="frac" in_val="0.15" out_type="frac" out_val="0.10"/>
84-
85-
<!-- IOs go on the periphery of the FPGA, for consistency,
86-
make it physically equivalent on all sides so that only one definition of I/Os is needed.
87-
If I do not make a physically equivalent definition, then I need to define 4 different I/Os, one for each side of the FPGA
88-
-->
89-
<pinlocations pattern="custom">
90-
<loc side="left">io.outpad io.inpad io.clock</loc>
91-
<loc side="top">io.outpad io.inpad io.clock</loc>
92-
<loc side="right">io.outpad io.inpad io.clock</loc>
93-
<loc side="bottom">io.outpad io.inpad io.clock</loc>
94-
</pinlocations>
95-
96106
<!-- Place I/Os on the sides of the FPGA -->
97107
<power method="ignore"/>
98108
</pb_type>
@@ -221,10 +231,6 @@
221231
<direct name="clbouts1" input="fle[9:0].out[0:0]" output="clb.O[9:0]"/>
222232
<direct name="clbouts2" input="fle[9:0].out[1:1]" output="clb.O[19:10]"/>
223233
</interconnect>
224-
225-
<fc in_type="frac" in_val="0.15" out_type="frac" out_val="0.10"/>
226-
227-
<pinlocations pattern="spread"/>
228234
</pb_type>
229235
</complexblocklist>
230236
<power>

0 commit comments

Comments
 (0)