Skip to content

Commit

Permalink
Merge pull request #6272 from gadfort/pad-mirror-test
Browse files Browse the repository at this point in the history
pad: add -mirror to place_pad to ensure proper functionality
  • Loading branch information
maliberty authored Nov 30, 2024
2 parents c90cd95 + acf2b9c commit 45b985c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/pad/test/place_pad.defok
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,15 @@ TRACKS X 3390 DO 1874 STEP 3200 LAYER metal9 ;
TRACKS Y 3340 DO 1874 STEP 3200 LAYER metal9 ;
TRACKS X 3390 DO 1874 STEP 3200 LAYER metal10 ;
TRACKS Y 3340 DO 1874 STEP 3200 LAYER metal10 ;
COMPONENTS 271 ;
COMPONENTS 275 ;
- IO_EAST_SIDE PADCELL_SIG_V + FIXED ( 5690000 1000000 ) W ;
- IO_EAST_SIDE_M PADCELL_SIG_V + FIXED ( 5690000 1600000 ) FE ;
- IO_NORTH_SIDE PADCELL_SIG_H + FIXED ( 1000000 5690000 ) FS ;
- IO_NORTH_SIDE_M PADCELL_SIG_H + FIXED ( 1600000 5690000 ) S ;
- IO_SOUTH_SIDE PADCELL_SIG_H + FIXED ( 1200000 30000 ) N ;
- IO_SOUTH_SIDE_M PADCELL_SIG_H + FIXED ( 1600000 30000 ) FN ;
- IO_WEST_SIDE PADCELL_SIG_V + FIXED ( 30000 1200000 ) FW ;
- IO_WEST_SIDE_M PADCELL_SIG_V + FIXED ( 30000 1600000 ) E ;
- u_bsg_tag_clk_i PADCELL_SIG_H ;
- u_bsg_tag_clk_o PADCELL_SIG_H ;
- u_bsg_tag_data_i PADCELL_SIG_H ;
Expand Down
5 changes: 5 additions & 0 deletions src/pad/test/place_pad.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ place_pad -master PADCELL_SIG_V -row IO_WEST -location 600 "IO_WEST_SIDE"
place_pad -master PADCELL_SIG_H -row IO_NORTH -location 500 "IO_NORTH_SIDE"
place_pad -master PADCELL_SIG_H -row IO_SOUTH -location 600 "IO_SOUTH_SIDE"

place_pad -mirror -master PADCELL_SIG_V -row IO_EAST -location 800 "IO_EAST_SIDE_M"
place_pad -mirror -master PADCELL_SIG_V -row IO_WEST -location 800 "IO_WEST_SIDE_M"
place_pad -mirror -master PADCELL_SIG_H -row IO_NORTH -location 800 "IO_NORTH_SIDE_M"
place_pad -mirror -master PADCELL_SIG_H -row IO_SOUTH -location 800 "IO_SOUTH_SIDE_M"

set def_file [make_result_file "place_pad.def"]
write_def $def_file
diff_files $def_file "place_pad.defok"

0 comments on commit 45b985c

Please sign in to comment.