Skip to content

Commit dc78303

Browse files
committed
Merge branch 'master' into secure-gpl-log-less-mysterious
Signed-off-by: Matt Liberty <[email protected]>
2 parents 34a01d8 + 26bb9b2 commit dc78303

File tree

6 files changed

+12
-16
lines changed

6 files changed

+12
-16
lines changed

flow/designs/asap7/aes-block/rules-base.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"compare": "<="
2525
},
2626
"cts__design__instance__count__hold_buffer": {
27-
"value": 1024,
27+
"value": 1491,
2828
"compare": "<="
2929
},
3030
"globalroute__antenna_diodes_count": {
@@ -48,7 +48,7 @@
4848
"compare": "<="
4949
},
5050
"finish__timing__setup__ws": {
51-
"value": -119.26,
51+
"value": -118.73,
5252
"compare": ">="
5353
},
5454
"finish__design__instance__area": {
@@ -60,7 +60,7 @@
6060
"compare": "<="
6161
},
6262
"finish__timing__drv__hold_violation_count": {
63-
"value": 100,
63+
"value": 419,
6464
"compare": "<="
6565
},
6666
"finish__timing__wns_percent_delay": {

flow/designs/nangate45/bp_be_top/config.mk

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@ export DESIGN_NAME = bp_be_top
33
export PLATFORM = nangate45
44

55
export SYNTH_HIERARCHICAL = 1
6-
#
7-
# RTL_MP Settings
8-
export RTLMP_MAX_INST = 30000
9-
export RTLMP_MIN_INST = 5000
10-
export RTLMP_MAX_MACRO = 12
11-
export RTLMP_MIN_MACRO = 4
126

137
export VERILOG_FILES = $(DESIGN_HOME)/src/$(DESIGN_NAME)/pickled.v \
148
$(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NAME)/macros.v

flow/designs/sky130hd/microwatt/rules-base.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@
4040
"compare": "<="
4141
},
4242
"detailedroute__antenna__violating__nets": {
43-
"value": 1,
43+
"value": 3,
4444
"compare": "<="
4545
},
4646
"detailedroute__antenna_diodes_count": {
47-
"value": 1899,
47+
"value": 3636,
4848
"compare": "<="
4949
},
5050
"finish__timing__setup__ws": {
51-
"value": -3.1,
51+
"value": -2.62,
5252
"compare": ">="
5353
},
5454
"finish__design__instance__area": {
@@ -64,7 +64,7 @@
6464
"compare": "<="
6565
},
6666
"finish__timing__wns_percent_delay": {
67-
"value": -21.69,
67+
"value": -21.23,
6868
"compare": ">="
6969
}
7070
}

flow/test/test_autotuner.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ echo "Running Autotuner plotting smoke test"
4141
all_experiments=$(ls -d ./flow/logs/${PLATFORM}/${DESIGN_NAME}/smoke-test-tune*)
4242
all_experiments=$(basename -a $all_experiments)
4343
for expt in $all_experiments; do
44-
python3 tools/AutoTuner/src/autotuner/utils/plot.py \
44+
python3 tools/AutoTuner/scripts/plot.py \
4545
--platform ${PLATFORM} \
4646
--design ${DESIGN_NAME} \
4747
--experiment $expt

tools/AutoTuner/src/autotuner/utils/plot.py renamed to tools/AutoTuner/scripts/plot.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
METRIC = "metric"
5151

5252
cur_dir = os.path.dirname(os.path.abspath(__file__))
53-
root_dir = os.path.join(cur_dir, "../../../../../")
53+
root_dir = os.path.join(cur_dir, "../../../")
5454
os.chdir(root_dir)
5555

5656

@@ -91,6 +91,8 @@ def load_dir(dir: str) -> pd.DataFrame:
9191
params.append(_dict)
9292
except Exception as e:
9393
failed.append(metrics_fname)
94+
print("Failed to load", metrics_fname)
95+
print(e)
9496
continue
9597

9698
# Merge all dataframe

tools/AutoTuner/src/autotuner/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ def openroad(
332332
stdout_file=os.path.join(log_path, "make-finish-stdout.log"),
333333
)
334334

335-
metrics_file = os.path.abspath(os.path.join(report_path, "metrics.json"))
335+
metrics_file = os.path.abspath(os.path.join(log_path, "metrics.json"))
336336
metrics_command = export_command
337337
metrics_command += f"{base_dir}/flow/util/genMetrics.py -x"
338338
metrics_command += f" -v {flow_variant}"

0 commit comments

Comments
 (0)