Skip to content

Commit ad07cf9

Browse files
committed
add test that fails with cover cells
Signed-off-by: Peter Gadfort <[email protected]>
1 parent 4a6119c commit ad07cf9

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

src/mpl/test/fixed_covers.tcl

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Test if the packing engine can handle one fixed
2+
# macro and two movable macros without generating
3+
# overlap.
4+
source "helpers.tcl"
5+
6+
read_lef "./Nangate45/Nangate45.lef"
7+
read_lef "./Nangate45_io/dummy_pads.lef"
8+
read_lef "./testcases/orientation_improve1.lef"
9+
10+
read_def "./testcases/fixed_macros.def"
11+
12+
place_inst -cell DUMMY_BUMP -name "test_pad1" -orient R0 -status FIRM -loc "100 100"
13+
14+
set_thread_count 0
15+
rtl_macro_placer -report_directory [make_result_dir] -halo_width 0.3
16+
17+
set def_file [make_result_file fixed_macros.def]
18+
write_def $def_file
19+
20+
diff_files fixed_macros.defok $def_file

0 commit comments

Comments
 (0)