Skip to content

Commit b9781fc

Browse files
committed
Merge remote-tracking branch 'upstream/master' into gpl-update-routability-vector
2 parents 00913d4 + 033d2b3 commit b9781fc

14 files changed

Lines changed: 721 additions & 598 deletions
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Check that OK files are up to date
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
diffs:
8+
runs-on: ${{ vars.USE_SELF_HOSTED == 'true' && 'self-hosted' || 'ubuntu-latest' }}
9+
steps:
10+
- name: Check out repository code
11+
uses: actions/checkout@v4
12+
with:
13+
fetch-depth: 0
14+
- name: Check ok files
15+
run: |
16+
set +e
17+
grep --include="*.ok" -Rn "Differences found "
18+
if [[ "$?" == "0" ]]; then
19+
exit 1
20+
fi

etc/DependencyInstaller.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ _installCommonDev() {
5555
# tools versions
5656
osName="linux"
5757
if [[ "${arch}" == "aarch64" ]]; then
58-
cmakeChecksum="6a6af752af4b1eae175e1dd0459ec850"
58+
cmakeChecksum="938ea8e8ecbcef24f33a7d286a00541c"
5959
else
6060
cmakeChecksum="f4d3e86abf624d73ee8dae826bbd6121"
6161
fi

src/dbSta/test/report_cell_usage_modinsts_metrics.jsonok

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
"design__instance__area__class:sequential_cell__in_module:block1": 1000,
1212
"design__instance__count__in_module:block1": 3,
1313
"design__instance__area__in_module:block1": 3000,
14-
"design__instance__count__class:buffer__in_module:block1.b2": 2,
15-
"design__instance__area__class:buffer__in_module:block1.b2": 2000,
16-
"design__instance__count__class:sequential_cell__in_module:block1.b2": 1,
17-
"design__instance__area__class:sequential_cell__in_module:block1.b2": 1000,
18-
"design__instance__count__in_module:block1.b2": 3,
19-
"design__instance__area__in_module:block1.b2": 3000
14+
"design__instance__count__class:buffer__in_module:block1_b2": 2,
15+
"design__instance__area__class:buffer__in_module:block1_b2": 2000,
16+
"design__instance__count__class:sequential_cell__in_module:block1_b2": 1,
17+
"design__instance__area__class:sequential_cell__in_module:block1_b2": 1000,
18+
"design__instance__count__in_module:block1_b2": 3,
19+
"design__instance__area__in_module:block1_b2": 3000
2020
}

src/dbSta/test/report_cell_usage_modinsts_metrics.ok

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,4 @@ Cell type report: Count Area
2525
Cell instance report:
2626
snl_bufx1 2 2000.00
2727
snl_ffqx1 1 1000.00
28-
Differences found at line 14.
29-
"design__instance__count__class:buffer__in_module:block1.b2": 2,
30-
"design__instance__count__class:buffer__in_module:block1_b2": 2,
28+
No differences found.

src/gpl/test/simple01-td-tune.defok

Lines changed: 292 additions & 292 deletions
Large diffs are not rendered by default.

src/gpl/test/simple01-td-tune.ok

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,4 @@ Iteration | Overflow | HPWL (um) | HPWL(%) | Penalty | Group
169169
[INFO GPL-1008] - For 80% usage of free space: 0.6400
170170
[INFO GPL-1009] - For 50% usage of free space: 1.0240
171171
worst slack max 1.40
172-
Differences found at line 63.
173-
- _276_ NOR2_X4 + PLACED ( 8992 31218 ) N ;
174-
- _276_ NOR2_X4 + PLACED ( 5382 29224 ) N ;
172+
No differences found.

src/gpl/test/simple01-td.defok

Lines changed: 289 additions & 289 deletions
Large diffs are not rendered by default.

src/gpl/test/simple01-td.ok

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,4 @@ Iteration | Overflow | HPWL (um) | HPWL(%) | Penalty | Group
152152
[INFO GPL-1008] - For 80% usage of free space: 0.6396
153153
[INFO GPL-1009] - For 50% usage of free space: 1.0234
154154
worst slack max 1.40
155-
Differences found at line 63.
156-
- _276_ NOR2_X4 + PLACED ( 9098 31400 ) N ;
157-
- _276_ NOR2_X4 + PLACED ( 9983 31947 ) N ;
155+
No differences found.

src/gui/src/clockWidget.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ namespace gui {
4747
ClockTreeRenderer::ClockTreeRenderer(ClockTree* tree)
4848
: tree_(tree), max_depth_(1), path_to_(nullptr)
4949
{
50+
addDisplayControl(render_label_, true);
5051
}
5152

5253
void ClockTreeRenderer::drawObjects(Painter& painter)
@@ -55,6 +56,10 @@ void ClockTreeRenderer::drawObjects(Painter& painter)
5556
return;
5657
}
5758

59+
if (!checkDisplayControl(render_label_)) {
60+
return;
61+
}
62+
5863
auto* descriptor = Gui::get()->getDescriptor<odb::dbNet*>();
5964
if (descriptor == nullptr) {
6065
return;

src/gui/src/clockWidget.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ class ClockTreeRenderer : public Renderer
6767
odb::dbITerm* path_to_;
6868

6969
static constexpr int pen_width_ = 2;
70+
static constexpr const char* render_label_ = "Clock trees";
7071

7172
void drawTree(Painter& painter,
7273
const Descriptor* descriptor,

0 commit comments

Comments
 (0)