aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/picorv32_benchmark.py
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-12-07 21:19:41 +0000
committerGitHub <noreply@github.com>2018-12-07 21:19:41 +0000
commitd790d0bb91261939a784fe0f86ce6fa2f6245e55 (patch)
tree5634ef0c91bda07c15a25e42f06194e9ecbfbb51 /ice40/picorv32_benchmark.py
parenta9e1fab9fcdb0493343a8ba23b471255544f10ea (diff)
parentb732e42fa312b83bee6c122d69e0a171afca779c (diff)
downloadnextpnr-d790d0bb91261939a784fe0f86ce6fa2f6245e55.tar.gz
nextpnr-d790d0bb91261939a784fe0f86ce6fa2f6245e55.tar.bz2
nextpnr-d790d0bb91261939a784fe0f86ce6fa2f6245e55.zip
Merge pull request #163 from daveshah1/timing_opt
Adding criticality calculation and experimental timing optimisation pass
Diffstat (limited to 'ice40/picorv32_benchmark.py')
-rwxr-xr-xice40/picorv32_benchmark.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/picorv32_benchmark.py b/ice40/picorv32_benchmark.py
index a4ec581e..5e4fc2e1 100755
--- a/ice40/picorv32_benchmark.py
+++ b/ice40/picorv32_benchmark.py
@@ -22,7 +22,7 @@ for i in range(num_runs):
ascfile = "picorv32_work/picorv32_s{}.asc".format(run)
if path.exists(ascfile):
os.remove(ascfile)
- result = subprocess.run(["../nextpnr-ice40", "--hx8k", "--seed", str(run), "--json", "picorv32.json", "--asc", ascfile, "--freq", "70"], stderr=subprocess.DEVNULL, stdout=subprocess.DEVNULL)
+ result = subprocess.run(["../nextpnr-ice40", "--hx8k", "--seed", str(run), "--json", "picorv32.json", "--asc", ascfile, "--freq", "40", "--opt-timing"], stderr=subprocess.DEVNULL, stdout=subprocess.DEVNULL)
if result.returncode != 0:
print("Run {} failed!".format(run))
else: