@@ -43,29 +43,27 @@ class InitFloorplan
4343 // utilization is in [0, 100]%
4444 // The base_site determines the single-height rows. For hybrid rows it is
4545 // a site containing a row pattern.
46- void initFloorplan (
47- double utilization,
48- double aspect_ratio,
49- int core_space_bottom,
50- int core_space_top,
51- int core_space_left,
52- int core_space_right,
53- odb::dbSite* base_site,
54- const std::vector<odb::dbSite*>& additional_sites = {},
55- RowParity row_parity = RowParity::kNone ,
56- const std::set<odb::dbSite*, odb::ODBPtrLess>& flipped_sites = {},
57- int gap = std::numeric_limits<std::int32_t >::min());
46+ void initFloorplan (double utilization,
47+ double aspect_ratio,
48+ int core_space_bottom,
49+ int core_space_top,
50+ int core_space_left,
51+ int core_space_right,
52+ odb::dbSite* base_site,
53+ const std::vector<odb::dbSite*>& additional_sites = {},
54+ RowParity row_parity = RowParity::kNone ,
55+ const odb::PtrSet<odb::dbSite>& flipped_sites = {},
56+ int gap = std::numeric_limits<std::int32_t >::min());
5857
5958 // The base_site determines the single-height rows. For hybrid rows it is
6059 // a site containing a row pattern.
61- void initFloorplan (
62- const odb::Rect& die,
63- const odb::Rect& core,
64- odb::dbSite* base_site,
65- const std::vector<odb::dbSite*>& additional_sites = {},
66- RowParity row_parity = RowParity::kNone ,
67- const std::set<odb::dbSite*, odb::ODBPtrLess>& flipped_sites = {},
68- int gap = std::numeric_limits<std::int32_t >::min());
60+ void initFloorplan (const odb::Rect& die,
61+ const odb::Rect& core,
62+ odb::dbSite* base_site,
63+ const std::vector<odb::dbSite*>& additional_sites = {},
64+ RowParity row_parity = RowParity::kNone ,
65+ const odb::PtrSet<odb::dbSite>& flipped_sites = {},
66+ int gap = std::numeric_limits<std::int32_t >::min());
6967
7068 void insertTiecells (odb::dbMTerm* tie_term,
7169 const std::string& prefix = " TIEOFF_" );
@@ -87,35 +85,33 @@ class InitFloorplan
8785 // The base_site determines the single-height rows. For hybrid rows it is
8886 // a site containing a row pattern. core space is the padding on each side
8987 // to inset the rows.
90- void makeRowsWithSpacing (
91- int core_space_bottom ,
92- int core_space_top ,
93- int core_space_left ,
94- int core_space_right ,
95- odb::dbSite* base_site,
96- const std::vector<odb::dbSite*>& additional_sites = {},
97- RowParity row_parity = RowParity::kNone ,
98- const std::set <odb::dbSite*, odb::ODBPtrLess >& flipped_sites = {},
99- int gap = std::numeric_limits<std::int32_t >::min());
88+ void makeRowsWithSpacing (int core_space_bottom,
89+ int core_space_top ,
90+ int core_space_left ,
91+ int core_space_right ,
92+ odb::dbSite* base_site ,
93+ const std::vector< odb::dbSite*>& additional_sites
94+ = {},
95+ RowParity row_parity = RowParity::kNone ,
96+ const odb::PtrSet <odb::dbSite>& flipped_sites = {},
97+ int gap = std::numeric_limits<std::int32_t >::min());
10098
10199 // The base_site determines the single-height rows. For hybrid rows it is
102100 // a site containing a row pattern.
103101 void makeRows (const odb::Rect& core,
104102 odb::dbSite* base_site,
105103 const std::vector<odb::dbSite*>& additional_sites = {},
106104 RowParity row_parity = RowParity::kNone ,
107- const std::set<odb::dbSite*, odb::ODBPtrLess>& flipped_sites
108- = {},
105+ const odb::PtrSet<odb::dbSite>& flipped_sites = {},
109106 int gap = std::numeric_limits<std::int32_t >::min());
110107
111108 // Create rows for a polygon core area using true polygon-aware generation
112- void makePolygonRows (
113- const odb::Polygon& core_polygon,
114- odb::dbSite* base_site,
115- const std::vector<odb::dbSite*>& additional_sites = {},
116- RowParity row_parity = RowParity::kNone ,
117- const std::set<odb::dbSite*, odb::ODBPtrLess>& flipped_sites = {},
118- int gap = std::numeric_limits<std::int32_t >::min());
109+ void makePolygonRows (const odb::Polygon& core_polygon,
110+ odb::dbSite* base_site,
111+ const std::vector<odb::dbSite*>& additional_sites = {},
112+ RowParity row_parity = RowParity::kNone ,
113+ const odb::PtrSet<odb::dbSite>& flipped_sites = {},
114+ int gap = std::numeric_limits<std::int32_t >::min());
119115
120116 void makeTracks ();
121117 void makeTracks (odb::dbTechLayer* layer,
0 commit comments