Skip to content

Commit 7f3ca22

Browse files
committed
Merge remote-tracking branch 'private/master' into gpl-extend-max-iter-by-routability
2 parents 6a3be4a + 54a3e7c commit 7f3ca22

File tree

89 files changed

+1280
-5052
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+1280
-5052
lines changed

src/ppl/README.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -255,15 +255,11 @@ place_pin
255255

256256
The `place_pins` command places all pins together. Use the following command to perform pin placement:
257257

258-
Developer arguments:
259-
- `-random`, `-random_seed`
260258

261259
```tcl
262260
place_pins
263261
-hor_layers h_layers
264262
-ver_layers v_layers
265-
[-random_seed seed]
266-
[-random]
267263
[-corner_avoidance length]
268264
[-min_distance distance]
269265
[-min_distance_in_tracks]
@@ -294,13 +290,6 @@ value, or a range of values. For example, in `place_pins -hor_layers metal2
294290
three intervals are excluded: the whole top edge, the right edge from 15
295291
microns to 60.5 microns, and the left edge from its beginning to 50 microns.
296292

297-
#### Developer Arguments
298-
299-
| Switch Name | Description |
300-
| ----- | ----- |
301-
| `-random_seed` | Specify the seed for random operations. |
302-
| `-random` | When this flag is enabled, the pin placement is random. |
303-
304293
### Write Pin Placement
305294

306295
The `write_pin_placement` command writes a file with the pin placement in the format of multiple calls for the `place_pin` command:

src/ppl/include/ppl/IOPlacer.h

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ class IOPlacer
8888
void init(odb::dbDatabase* db, Logger* logger);
8989
void clear();
9090
void clearConstraints();
91-
void runHungarianMatching(bool random_mode);
92-
void runAnnealing(bool random);
91+
void runHungarianMatching();
92+
void runAnnealing();
9393
Parameters* getParameters() { return parms_.get(); }
9494
int64 computeIONetsHPWL();
9595
void excludeInterval(Edge edge, int begin, int end);
@@ -134,14 +134,8 @@ class IOPlacer
134134
const std::set<int>& ver_layer_idx);
135135
std::vector<int> getValidSlots(int first, int last, bool top_layer);
136136
std::vector<int> findValidSlots(const Constraint& constraint, bool top_layer);
137-
void randomPlacement();
138-
void randomPlacement(const std::vector<int>& pin_indices,
139-
const std::vector<int>& slot_indices,
140-
Edge edge,
141-
bool top_layer,
142-
bool is_group);
143137
std::string getSlotsLocation(Edge edge, bool top_layer);
144-
int placeFallbackPins(bool random);
138+
int placeFallbackPins();
145139
void assignMirroredPins(IOPin& io_pin, std::vector<IOPin>& assignment);
146140
int getSlotIdxByPosition(const odb::Point& position,
147141
int layer,

0 commit comments

Comments
 (0)