Skip to content

Commit 27d3b30

Browse files
authoredApr 16, 2023
[update] parameterize dot file name in script
1 parent 2180213 commit 27d3b30

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎launchUI.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1182,7 +1182,7 @@ def clickShowDFG():
11821182
"doCGRAMapping" : False,
11831183
"row" : paramCGRA.rows,
11841184
"column" : paramCGRA.columns,
1185-
"precisionAware" : True,
1185+
"precisionAware" : False,
11861186
"heterogeneity" : False,
11871187
"isTrimmedDemo" : True,
11881188
"heuristicMapping" : True,
@@ -1225,7 +1225,7 @@ def clickShowDFG():
12251225
widgets["recMIIEntry"].delete(0, tkinter.END)
12261226
widgets["recMIIEntry"].insert(0, paramCGRA.recMII)
12271227

1228-
convertCommand = "dot -Tpng _Z6kernelPfS_S_.dot -o kernel.png"
1228+
convertCommand = "dot -Tpng " + paramCGRA.targetKernelName + ".dot -o kernel.png"
12291229
convertProc = subprocess.Popen([convertCommand, "-u"], stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
12301230
(out, err) = convertProc.communicate()
12311231

@@ -1387,7 +1387,7 @@ def clickMapDFG():
13871387
"doCGRAMapping" : True,
13881388
"row" : paramCGRA.rows,
13891389
"column" : paramCGRA.columns,
1390-
"precisionAware" : True,
1390+
"precisionAware" : False,
13911391
"heterogeneity" : False,
13921392
"isTrimmedDemo" : True,
13931393
"heuristicMapping" : heuristic,

0 commit comments

Comments
 (0)
Please sign in to comment.