Skip to content

Commit 271640b

Browse files
committed
[base][types] remove is_fixed from t_bb
1 parent 0f038dc commit 271640b

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

vpr/src/base/vpr_types.h

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -429,22 +429,16 @@ struct t_net_power {
429429
* @var ymax: The maximum y-coordinate of the bounding box
430430
* @var layer_min: The minimum layer of the bounding box
431431
* @var layer_max: The maximum layer of the bounding box
432-
* @var is_fixed: Indicates whether the bounding box can be stretched.
433-
* This is useful during placement, where the bounding box passed to the
434-
* function (representing the placement range) may be stretched to find a
435-
* better solution. However, if the block has a fixed floorplan, this
436-
* flag is set to true to prevent changes during placement.
437432
*/
438433
struct t_bb {
439434
t_bb() = default;
440-
t_bb(int xmin_, int xmax_, int ymin_, int ymax_, int layer_min_, int layer_max_, bool is_fixed_ = false)
435+
t_bb(int xmin_, int xmax_, int ymin_, int ymax_, int layer_min_, int layer_max_)
441436
: xmin(xmin_)
442437
, xmax(xmax_)
443438
, ymin(ymin_)
444439
, ymax(ymax_)
445440
, layer_min(layer_min_)
446-
, layer_max(layer_max_)
447-
, is_fixed(is_fixed_) {
441+
, layer_max(layer_max_) {
448442
VTR_ASSERT(xmax_ >= xmin_);
449443
VTR_ASSERT(ymax_ >= ymin_);
450444
VTR_ASSERT(layer_max_ >= layer_min_);
@@ -455,7 +449,6 @@ struct t_bb {
455449
int ymax = OPEN;
456450
int layer_min = OPEN;
457451
int layer_max = OPEN;
458-
bool is_fixed = false;
459452
};
460453

461454
/**

0 commit comments

Comments
 (0)