1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-04-30 13:41:26 +00:00

timing_opt: Improve heuristics

Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
David Shah
2018-12-02 15:49:24 +00:00
parent a990a1576c
commit f53dc8d3c9
3 changed files with 50 additions and 22 deletions

View File

@@ -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: