Skip to content

Commit 952779c

Browse files
committed
mpl:
1) Change test to not consider boundary penalty in order to make it more concise. 2) Adapt regression tests results. Signed-off-by: Arthur Koucher <arthurkoucher@precisioninno.com>
1 parent fdea93e commit 952779c

8 files changed

Lines changed: 2011 additions & 2008 deletions

src/mpl/test/boundary_push2.defok

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ TRACKS Y 140 DO 282 STEP 3200 LAYER metal9 ;
183183
TRACKS X 190 DO 282 STEP 3200 LAYER metal10 ;
184184
TRACKS Y 140 DO 282 STEP 3200 LAYER metal10 ;
185185
COMPONENTS 54 ;
186-
- MACRO_1 HM_100x100_1x1 + FIXED ( 600 221810 ) S ;
187-
- MACRO_2 HM_100x100_1x1 + FIXED ( 600 20770 ) FS ;
186+
- MACRO_1 HM_100x100_1x1 + FIXED ( 600 20770 ) S ;
187+
- MACRO_2 HM_100x100_1x1 + FIXED ( 600 221810 ) FS ;
188188
- MACRO_3 HM_100x100_1x1 + FIXED ( 239440 221810 ) FS ;
189189
- MACRO_4 HM_100x100_1x1 + FIXED ( 239440 20770 ) FS ;
190190
- _001_ DFF_X1 + PLACED ( 15591 18600 ) N ;

src/mpl/test/boundary_push3.defok

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,10 @@ TRACKS Y 140 DO 282 STEP 3200 LAYER metal9 ;
183183
TRACKS X 190 DO 282 STEP 3200 LAYER metal10 ;
184184
TRACKS Y 140 DO 282 STEP 3200 LAYER metal10 ;
185185
COMPONENTS 54 ;
186-
- MACRO_1 HM_100x100_1x1 + FIXED ( 220620 610 ) S ;
186+
- MACRO_1 HM_100x100_1x1 + FIXED ( 220620 241970 ) S ;
187187
- MACRO_2 HM_100x100_1x1 + FIXED ( 19420 241970 ) FS ;
188188
- MACRO_3 HM_100x100_1x1 + FIXED ( 19420 610 ) FS ;
189-
- MACRO_4 HM_100x100_1x1 + FIXED ( 220620 241970 ) FS ;
189+
- MACRO_4 HM_100x100_1x1 + FIXED ( 220620 610 ) FS ;
190190
- _001_ DFF_X1 + PLACED ( 15590 18601 ) N ;
191191
- _002_ DFF_X1 + PLACED ( 15590 18601 ) N ;
192192
- _003_ DFF_X1 + PLACED ( 15590 18601 ) N ;

src/mpl/test/io_constraints3.defok

Lines changed: 401 additions & 401 deletions
Large diffs are not rendered by default.

src/mpl/test/io_constraints3.tcl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Test if pin access blockages are generated correctly for a case
2-
# with two blocked regions for pins.
2+
# with two blocked regions for pins. We set the boundary weight to
3+
# zero so that the centralization attempt can make the macro be moved
4+
# to a region that "escapes" all the pin access blockages.
35
source "helpers.tcl"
46

57
# We're not interested in the connections, so don't include the lib.
@@ -15,7 +17,8 @@ read_def "./testcases/io_constraints1.def" -floorplan_initialize
1517
exclude_io_pin_region -region right:10-125 -region top:10-150
1618

1719
set_thread_count 0
18-
rtl_macro_placer -report_directory results/io_constraints3 -halo_width 4.0
20+
rtl_macro_placer -report_directory results/io_constraints3 \
21+
-halo_width 4.0 -boundary_weight 0
1922

2023
set def_file [make_result_file io_constraints3.def]
2124
write_def $def_file

src/mpl/test/io_constraints4.defok

Lines changed: 400 additions & 400 deletions
Large diffs are not rendered by default.

src/mpl/test/io_constraints6.defok

Lines changed: 400 additions & 400 deletions
Large diffs are not rendered by default.

src/mpl/test/io_constraints7.defok

Lines changed: 400 additions & 400 deletions
Large diffs are not rendered by default.

src/mpl/test/io_constraints8.defok

Lines changed: 401 additions & 401 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)