Lock NextPNR seed to 1
authorRaptor Engineering Development Team <support@raptorengineering.com>
Wed, 30 Mar 2022 02:19:38 +0000 (21:19 -0500)
committerRaptor Engineering Development Team <support@raptorengineering.com>
Wed, 30 Mar 2022 02:19:38 +0000 (21:19 -0500)
This allows reproducible builds, and
should have nearly no downsides vs.
allowing random seeds to be generated.

Should a design fail on seed 1, this can
be extended to allow a different seed to
be passed to NextPNR via the command line.

nmigen/vendor/lattice_ecp5.py

index e2955a2e1aaae21749356b7a2924f34d95146dd7..0972d0140caf1c1e69e0624dd7caac8e8c48d811 100644 (file)
@@ -165,6 +165,7 @@ class LatticeECP5Platform(TemplatedPlatform):
             --speed {{platform.speed}}
             --json {{name}}.json
             --lpf {{name}}.lpf
+            --seed 1
             --textcfg {{name}}.config
         """,
         r"""