Skip to content

Commit 7c329fd

Browse files
committed
workflows: test possible fixing case
1 parent c890a46 commit 7c329fd

File tree

2 files changed

+34
-6
lines changed

2 files changed

+34
-6
lines changed

.github/workflows/static-power-analysis-flow.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ jobs:
4747
4848
- name: Fetch Verilator
4949
run: |
50-
git clone https://github.com/antmicro/verilator
51-
cd verilator && git fetch && git checkout mgan/module-names-debugging
50+
git clone https://github.com/verilator/verilator
5251
5352
- name: Build Verilator
5453
run: |
@@ -60,7 +59,9 @@ jobs:
6059
- name: Fetch OpenROAD-flow-scripts
6160
run: |
6261
git clone https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts
62+
cp possible_case.patch OpenROAD-flow-scripts/
6363
cd OpenROAD-flow-scripts && git checkout f53fbce71af0e7965b3fa76396ff6d3e8121b6bb
64+
git am possible_case.patch
6465
6566
- name: Update OpenROAD ibex sources
6667
run: |
@@ -122,8 +123,7 @@ jobs:
122123
123124
- name: Fetch Verilator
124125
run: |
125-
git clone https://github.com/antmicro/verilator
126-
cd verilator && git fetch && git checkout mgan/module-names-debugging
126+
git clone https://github.com/verilator/verilator
127127
128128
- name: Build Verilator
129129
run: |
@@ -135,7 +135,9 @@ jobs:
135135
- name: Fetch OpenROAD-flow-scripts
136136
run: |
137137
git clone https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts
138+
cp possible_case.patch OpenROAD-flow-scripts/
138139
cd OpenROAD-flow-scripts && git checkout f53fbce71af0e7965b3fa76396ff6d3e8121b6bb
140+
git am possible_case.patch
139141
140142
- name: Update OpenROAD ibex sources
141143
run: |
@@ -219,8 +221,7 @@ jobs:
219221
220222
- name: Fetch Verilator
221223
run: |
222-
git clone https://github.com/antmicro/verilator
223-
cd verilator && git fetch && git checkout mgan/module-names-debugging
224+
git clone https://github.com/verilator/verilator
224225
225226
- name: Build Verilator
226227
run: |
@@ -232,7 +233,9 @@ jobs:
232233
- name: Fetch OpenROAD-flow-scripts
233234
run: |
234235
git clone https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts
236+
cp possible_case.patch OpenROAD-flow-scripts/
235237
cd OpenROAD-flow-scripts && git checkout f53fbce71af0e7965b3fa76396ff6d3e8121b6bb
238+
git am possible_case.patch
236239
237240
- name: Update OpenROAD ibex sources
238241
run: |

possible_case.patch

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
From 477feed719c9b317be706ec7347ab9abcd8127dd Mon Sep 17 00:00:00 2001
2+
From: Mateusz Gancarz <[email protected]>
3+
Date: Mon, 16 Jun 2025 12:08:49 +0200
4+
Subject: [PATCH] synth: test possible case with different separator character
5+
6+
---
7+
flow/scripts/synth.tcl | 2 ++
8+
1 file changed, 2 insertions(+)
9+
10+
diff --git a/flow/scripts/synth.tcl b/flow/scripts/synth.tcl
11+
index fb5d0de5..753c6a9a 100644
12+
--- a/flow/scripts/synth.tcl
13+
+++ b/flow/scripts/synth.tcl
14+
@@ -8,6 +8,8 @@ if { [env_var_equals SYNTH_GUT 1] } {
15+
delete $::env(DESIGN_NAME)/c:*
16+
}
17+
18+
+flatten -separator $
19+
+
20+
if {![env_var_equals SYNTH_HIERARCHICAL 1]} {
21+
# Perform standard coarse-level synthesis script, flatten right away
22+
# (-flatten part of $synth_args per default)
23+
--
24+
2.39.5
25+

0 commit comments

Comments
 (0)