Skip to content

Commit 9620992

Browse files
committed
gpl: quiet virtual CTS logging and log iteration after build
Signed-off-by: Eder Monteiro <emrmonteiro@precisioninno.com>
1 parent a0b68a5 commit 9620992

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

src/gpl/src/clockBase.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,11 @@ void ClockBase::removeVirtualCts()
256256
}
257257
virtual_inserts_.clear();
258258

259-
log_->info(GPL, 163, "Virtual CTS: removed virtual clock insertion delays.");
259+
debugPrint(log_,
260+
GPL,
261+
"virtual_cts",
262+
1,
263+
"Virtual CTS: removed virtual clock insertion delays.");
260264
}
261265

262266
bool ClockBase::getPinLocation(const sta::Pin* pin, int& x, int& y) const

src/gpl/src/nesterovPlace.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,13 +388,12 @@ void NesterovPlace::runTimingDriven(int iter,
388388
// update db's instance location from current density coordinates
389389
updateDb();
390390

391-
if (cb_) {
391+
if (cb_ && cb_->executeVirtualCts()) {
392392
log_->info(GPL,
393393
164,
394394
"Virtual CTS iteration {}, overflow: {:.3f}.",
395395
++virtual_cts_count,
396396
average_overflow_unscaled_);
397-
cb_->executeVirtualCts();
398397
}
399398

400399
if (graphics_ && graphics_->enabled()) {

src/gpl/test/simple01-vcts.ok

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ Iteration | Overflow | HPWL (um) | HPWL(%) | Penalty | Group
6969
180 | 0.6842 | 2.089633e+03 | +0.78% | 4.47e-10 |
7070
190 | 0.6686 | 2.111814e+03 | +1.06% | 7.28e-10 |
7171
200 | 0.6478 | 2.138892e+03 | +1.28% | 1.19e-09 |
72-
[INFO GPL-0164] Virtual CTS iteration 1, overflow: 0.634.
7372
[INFO GPL-0162] Virtual CTS: set 34 virtual clock insertion delays.
73+
[INFO GPL-0164] Virtual CTS iteration 1, overflow: 0.634.
7474
[INFO GPL-0100] Timing-driven iteration 1/2, virtual: false.
7575
[INFO GPL-0101] Iter: 206, overflow: 0.634, keep resizer changes at: 1, HPWL: 4312728
7676
Iteration | Area | Resized | Buffers | Nets repaired | Remaining
@@ -111,9 +111,8 @@ Iteration | Overflow | HPWL (um) | HPWL(%) | Penalty | Group
111111
290 | 0.2736 | 2.466450e+03 | +0.20% | 8.32e-08 |
112112
300 | 0.2233 | 2.468702e+03 | +0.09% | 1.23e-07 |
113113
310 | 0.2039 | 2.495370e+03 | +1.08% | 1.80e-07 |
114-
[INFO GPL-0164] Virtual CTS iteration 2, overflow: 0.193.
115-
[INFO GPL-0163] Virtual CTS: removed virtual clock insertion delays.
116114
[INFO GPL-0162] Virtual CTS: set 34 virtual clock insertion delays.
115+
[INFO GPL-0164] Virtual CTS iteration 2, overflow: 0.193.
117116
[INFO GPL-0100] Timing-driven iteration 2/2, virtual: false.
118117
[INFO GPL-0101] Iter: 315, overflow: 0.193, keep resizer changes at: 1, HPWL: 5019737
119118
Iteration | Area | Resized | Buffers | Nets repaired | Remaining
@@ -158,7 +157,6 @@ Iteration | Overflow | HPWL (um) | HPWL(%) | Penalty | Group
158157
[INFO GPL-1006] Suggested Target Densities:
159158
[INFO GPL-1007] - For 90% usage of free space: 0.7059
160159
[INFO GPL-1008] - For 80% usage of free space: 0.7942
161-
[INFO GPL-0163] Virtual CTS: removed virtual clock insertion delays.
162160
[INFO GPL-1011] Original area (um^2): 600.99
163161
[INFO GPL-1013] Total timing-driven delta area: 5.05 (+0.84%)
164162
[INFO GPL-1014] Final placement area: 606.05 (+0.84%)

0 commit comments

Comments
 (0)