tasks.py: when running without a full pin map, synth for 100MHz

It doesn't matter hugely, but by default nextpnr synthesizes for 12MHz,
which doesn't force it to work too hard on the placement. By requesting
100MHz, it needs to try a bit harder on timing and gives results that
are a bit closer to the fully constrained outcomes.
This commit is contained in:
David Anderson 2024-09-09 12:47:19 -07:00
parent 1b85c3e216
commit cea5fde170
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ def synth(c, target):
pin_map_arg = f"--lpf {pin_map}" pin_map_arg = f"--lpf {pin_map}"
else: else:
print(f"WARNING: no pin map at {pin_map}, executing place&route with no constraints") print(f"WARNING: no pin map at {pin_map}, executing place&route with no constraints")
pin_map_arg = f"--lpf-allow-unconstrained --lpf=lib/ulx3s_v20.lpf" pin_map_arg = f"--lpf-allow-unconstrained --lpf=lib/ulx3s_v20.lpf --freq 100"
nextpnr_out = out_nextpnr / module_name.with_suffix(".pnr") nextpnr_out = out_nextpnr / module_name.with_suffix(".pnr")
nextpnr_log = out_nextpnr / module_name.with_suffix(".log") nextpnr_log = out_nextpnr / module_name.with_suffix(".log")
nextpnr_timing = out_nextpnr / module_name.with_suffix(".timing.log") nextpnr_timing = out_nextpnr / module_name.with_suffix(".timing.log")