aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/uica/files/patch-uiCA.py
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/uica/files/patch-uiCA.py')
-rw-r--r--benchmarks/uica/files/patch-uiCA.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/benchmarks/uica/files/patch-uiCA.py b/benchmarks/uica/files/patch-uiCA.py
new file mode 100644
index 000000000000..b8dfa686b899
--- /dev/null
+++ b/benchmarks/uica/files/patch-uiCA.py
@@ -0,0 +1,11 @@
+--- uiCA.py.orig 2022-07-21 20:16:37 UTC
++++ uiCA.py
+@@ -2077,7 +2077,7 @@ def generateHTMLTraceTable(filename, instructions, ins
+ uopData['events'][evCycle] = ev
+ prevInstrI = instrI
+
+- with open(os.path.join(os.path.dirname(os.path.realpath(__file__)), 'traceTemplate.html'), 'r') as t:
++ with open('%%DATADIR%%/traceTemplate.html', 'r') as t:
+ html = t.read()
+ html = html.replace('var tableData = {}', 'var tableData = ' + json.dumps(tableDataForRnd))
+