Skip to content

Commit 45d62ea

Browse files
committed
Merge branch 'master' into secure-yosys0.50
2 parents bfa44f3 + 20d2f7b commit 45d62ea

File tree

4 files changed

+3
-45
lines changed

4 files changed

+3
-45
lines changed

flow/designs/asap7/aes-block/autotuner.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,6 @@
2424
],
2525
"step": 0
2626
},
27-
"CORE_MARGIN": {
28-
"type": "int",
29-
"minmax": [
30-
2,
31-
2
32-
],
33-
"step": 0
34-
},
3527
"CELL_PAD_IN_SITES_GLOBAL_PLACEMENT": {
3628
"type": "int",
3729
"minmax": [

flow/designs/asap7/aes/autotuner.json

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,6 @@
2424
],
2525
"step": 0
2626
},
27-
"CORE_MARGIN": {
28-
"type": "int",
29-
"minmax": [
30-
2,
31-
2
32-
],
33-
"step": 0
34-
},
3527
"CELL_PAD_IN_SITES_GLOBAL_PLACEMENT": {
3628
"type": "int",
3729
"minmax": [
@@ -64,14 +56,6 @@
6456
],
6557
"step": 0
6658
},
67-
"_PINS_DISTANCE": {
68-
"type": "int",
69-
"minmax": [
70-
1,
71-
1
72-
],
73-
"step": 1
74-
},
7559
"CTS_CLUSTER_SIZE": {
7660
"type": "int",
7761
"minmax": [

flow/designs/asap7/ibex/autotuner.json

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,6 @@
2424
],
2525
"step": 0
2626
},
27-
"CORE_MARGIN": {
28-
"type": "int",
29-
"minmax": [
30-
2,
31-
2
32-
],
33-
"step": 0
34-
},
3527
"CELL_PAD_IN_SITES_GLOBAL_PLACEMENT": {
3628
"type": "int",
3729
"minmax": [
@@ -64,14 +56,6 @@
6456
],
6557
"step": 0
6658
},
67-
"_PINS_DISTANCE": {
68-
"type": "int",
69-
"minmax": [
70-
1,
71-
1
72-
],
73-
"step": 1
74-
},
7559
"CTS_CLUSTER_SIZE": {
7660
"type": "int",
7761
"minmax": [

flow/util/genMetrics.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,8 @@ def extractTagFromFile(
8282
if jsonTag in jsonFile:
8383
print("[WARN] Overwriting Tag", jsonTag)
8484

85-
# Open file
8685
try:
87-
searchFilePath = file
88-
with open(searchFilePath) as f:
86+
with open(file) as f:
8987
content = f.read()
9088

9189
parsedMetrics = re.findall(pattern, content, re.M)
@@ -110,12 +108,12 @@ def extractTagFromFile(
110108
else:
111109
# Only print a warning if the defaultNotFound is not set
112110
print(
113-
"[WARN] Tag {} not found in {}.".format(jsonTag, searchFilePath),
111+
"[WARN] Tag {} not found in {}.".format(jsonTag, file),
114112
"Will use {}.".format(defaultNotFound),
115113
)
116114
jsonFile[jsonTag] = defaultNotFound
117115
except IOError:
118-
print("[ERROR] Failed to open file:", searchFilePath)
116+
print("[ERROR] Failed to open file:", file)
119117
jsonFile[jsonTag] = "ERR"
120118

121119

0 commit comments

Comments
 (0)