Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/scripts/get_env_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@
"nextpnr-xilinx-fasm2bels"
]
interchange = [
"nextpnr-fpga-interchange", "nextpnr-fpga-interchange-already-synth",
"nextpnr-fpga-interchange",
"nextpnr-fpga-interchange-const-seed-already-synth",
"nextpnr-fpga-interchange-already-synth",
"nextpnr-fpga-interchange-experimental-already-synth"
]
quicklogic = ["quicklogic"]
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/Suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,30 @@ jobs:
**/results*.gz
**/plot_*.svg

NextpnrFPGAInterchangeConstSeedAlreadySynthesized:
needs: Matrix

strategy:
fail-fast: false
matrix:
include: ${{ fromJson(needs.Matrix.outputs.matrices).nextpnr_fpga_interchange_const_seed_already_synth }}

env:
GHA_EXTERNAL_DISK: "tools"

container: ubuntu:focal

runs-on: [self-hosted, Linux, X64]

steps:
- {uses: actions/checkout@v3, with: { submodules: recursive }}
- uses: ./.github/RunTest
with:
environment: nextpnr
project: ${{ matrix.project }}
toolchain: ${{ matrix.toolchain }}
board: ${{ matrix.board }}
install: -v -l $(echo ${{needs.Matrix.outputs.link}})

NextpnrIce40:
needs: Matrix
Expand Down
1 change: 1 addition & 0 deletions assets/project/attosoc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ required_toolchains:
skip_toolchains:
- nextpnr-fpga-interchange-already-synth
- nextpnr-fpga-interchange-experimental-already-synth
- nextpnr-fpga-interchange-const-seed-already-synth
- vivado-already-synth
1 change: 1 addition & 0 deletions assets/project/axi-lite-reg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ skip_toolchains:
- nextpnr-fpga-interchange
- nextpnr-fpga-interchange-already-synth
- nextpnr-fpga-interchange-experimental-already-synth
- nextpnr-fpga-interchange-const-seed-already-synth
- vivado-already-synth
- vpr-fasm2bels
- yosys-vivado
Expand Down
1 change: 1 addition & 0 deletions assets/project/baselitex-nexus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ required_toolchains:
skip_toolchains:
- nextpnr-fpga-interchange-already-synth
- nextpnr-fpga-interchange-experimental-already-synth
- nextpnr-fpga-interchange-const-seed-already-synth
- vivado-already-synth
1 change: 1 addition & 0 deletions assets/project/baselitex-nexys-video.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ required_toolchains:
skip_toolchains:
- nextpnr-fpga-interchange-already-synth
- nextpnr-fpga-interchange-experimental-already-synth
- nextpnr-fpga-interchange-const-seed-already-synth
- vivado-already-synth
1 change: 1 addition & 0 deletions assets/project/baselitex.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ required_toolchains:
skip_toolchains:
- nextpnr-fpga-interchange-already-synth
- nextpnr-fpga-interchange-experimental-already-synth
- nextpnr-fpga-interchange-const-seed-already-synth
- vivado-already-synth
1 change: 1 addition & 0 deletions assets/project/blinky.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ required_toolchains:
skip_toolchains:
- nextpnr-fpga-interchange-already-synth
- nextpnr-fpga-interchange-experimental-already-synth
- nextpnr-fpga-interchange-const-seed-already-synth
- vivado-already-synth
1 change: 1 addition & 0 deletions assets/project/bram-n1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ required_toolchains:
skip_toolchains:
- nextpnr-fpga-interchange-already-synth
- nextpnr-fpga-interchange-experimental-already-synth
- nextpnr-fpga-interchange-const-seed-already-synth
- vivado-already-synth
1 change: 1 addition & 0 deletions assets/project/bram-n2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ required_toolchains:
skip_toolchains:
- nextpnr-fpga-interchange-already-synth
- nextpnr-fpga-interchange-experimental-already-synth
- nextpnr-fpga-interchange-const-seed-already-synth
- vivado-already-synth
1 change: 1 addition & 0 deletions assets/project/bram-n3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ required_toolchains:
skip_toolchains:
- nextpnr-fpga-interchange-already-synth
- nextpnr-fpga-interchange-experimental-already-synth
- nextpnr-fpga-interchange-const-seed-already-synth
- vivado-already-synth
1 change: 1 addition & 0 deletions assets/project/daisho-usb3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@ skip_toolchains:
- nextpnr-fpga-interchange
- nextpnr-fpga-interchange-already-synth
- nextpnr-fpga-interchange-experimental-already-synth
- nextpnr-fpga-interchange-const-seed-already-synth
- vivado-already-synth
1 change: 1 addition & 0 deletions assets/project/dram-test-64x1d.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ required_toolchains:
skip_toolchains:
- nextpnr-fpga-interchange-already-synth
- nextpnr-fpga-interchange-experimental-already-synth
- nextpnr-fpga-interchange-const-seed-already-synth
- vivado-already-synth
1 change: 1 addition & 0 deletions assets/project/hamsternz-displayport.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ required_toolchains:
skip_toolchains:
- nextpnr-fpga-interchange-already-synth
- nextpnr-fpga-interchange-experimental-already-synth
- nextpnr-fpga-interchange-const-seed-already-synth
- vivado-already-synth
3 changes: 2 additions & 1 deletion assets/project/hamsternz-hdmi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,6 @@ required_toolchains:
- vivado
skip_toolchains:
- nextpnr-fpga-interchange-already-synth
- nextpnr-fpga-interchange-experimental-already-synth
- nextpnr-fpga-interchange-experimental-already-synth-
- nextpnr-fpga-interchange-const-seed-already-synth
- vivado-already-synth
1 change: 1 addition & 0 deletions assets/project/hps-accel-gen2-nexus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ required_toolchains:
skip_toolchains:
- nextpnr-fpga-interchange-already-synth
- nextpnr-fpga-interchange-experimental-already-synth
- nextpnr-fpga-interchange-const-seed-already-synth
- vivado-already-synth
1 change: 1 addition & 0 deletions assets/project/ibex.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,5 @@ required_toolchains:
skip_toolchains:
- nextpnr-fpga-interchange-already-synth
- nextpnr-fpga-interchange-experimental-already-synth
- nextpnr-fpga-interchange-const-seed-already-synth
- vivado-already-synth
1 change: 1 addition & 0 deletions assets/project/murax.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ required_toolchains:
skip_toolchains:
- nextpnr-fpga-interchange-already-synth
- nextpnr-fpga-interchange-experimental-already-synth
- nextpnr-fpga-interchange-const-seed-already-synth
- vivado-already-synth
1 change: 1 addition & 0 deletions assets/project/oneblink-nosynth.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ vendors:
- xczu7ev
required_toolchains:
- nextpnr-fpga-interchange-already-synth
- nextpnr-fpga-interchange-const-seed-already-synth
skip_toolchains:
- nextpnr-fpga-interchange
- nextpnr-xilinx
Expand Down
1 change: 1 addition & 0 deletions assets/project/oneblink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@ required_toolchains:
skip_toolchains:
- nextpnr-fpga-interchange-already-synth
- nextpnr-fpga-interchange-experimental-already-synth
- nextpnr-fpga-interchange-const-seed-already-synth
- vivado-already-synth
1 change: 1 addition & 0 deletions assets/project/picorv32.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ required_toolchains:
skip_toolchains:
- nextpnr-fpga-interchange-already-synth
- nextpnr-fpga-interchange-experimental-already-synth
- nextpnr-fpga-interchange-const-seed-already-synth
- vivado-already-synth
1 change: 1 addition & 0 deletions assets/project/picosoc-simpleuart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ required_toolchains:
skip_toolchains:
- nextpnr-fpga-interchange-already-synth
- nextpnr-fpga-interchange-experimental-already-synth
- nextpnr-fpga-interchange-const-seed-already-synth
- vivado-already-synth
1 change: 1 addition & 0 deletions assets/project/picosoc-spimemio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ required_toolchains:
skip_toolchains:
- nextpnr-fpga-interchange-already-synth
- nextpnr-fpga-interchange-experimental-already-synth
- nextpnr-fpga-interchange-const-seed-already-synth
- vivado-already-synth
1 change: 1 addition & 0 deletions assets/project/picosoc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ required_toolchains:
skip_toolchains:
- nextpnr-fpga-interchange-already-synth
- nextpnr-fpga-interchange-experimental-already-synth
- nextpnr-fpga-interchange-const-seed-already-synth
- vivado-already-synth
1 change: 1 addition & 0 deletions assets/project/vexriscv-smp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ required_toolchains:
skip_toolchains:
- nextpnr-fpga-interchange-already-synth
- nextpnr-fpga-interchange-experimental-already-synth
- nextpnr-fpga-interchange-const-seed-already-synth
- vivado-already-synth
1 change: 1 addition & 0 deletions assets/project/vexriscv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ required_toolchains:
skip_toolchains:
- nextpnr-fpga-interchange-already-synth
- nextpnr-fpga-interchange-experimental-already-synth
- nextpnr-fpga-interchange-const-seed-already-synth
- vivado-already-synth
1 change: 1 addition & 0 deletions assets/project/zynq-ps7-counter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ required_toolchains:
skip_toolchains:
- nextpnr-fpga-interchange-already-synth
- nextpnr-fpga-interchange-experimental-already-synth
- nextpnr-fpga-interchange-const-seed-already-synth
- vivado-already-synth
1 change: 1 addition & 0 deletions assets/vendors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ xilinx:
- nextpnr-fpga-interchange
- nextpnr-fpga-interchange-already-synth
- nextpnr-fpga-interchange-experimental-already-synth
- nextpnr-fpga-interchange-const-seed-already-synth
- nextpnr-xilinx-fasm2bels
lattice-ice40:
boards:
Expand Down
5 changes: 4 additions & 1 deletion fpgaperf.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
from toolchains.icestorm import NextpnrIcestorm
from toolchains.nextpnr import (
NextpnrOxide, NextpnrXilinx, NextpnrFPGAInterchange,
NextPnrInterchangeNoSynth, NextPnrInterchangeExperimentalNoSynth
NextpnrFPGAInterchangeNoSynthConstSeed, NextPnrInterchangeNoSynth,
NextPnrInterchangeExperimentalNoSynth
)
from toolchains.vivado import (
Vivado, VivadoYosys, VivadoYosysUhdm, VivadoNoSynth
Expand Down Expand Up @@ -67,6 +68,8 @@
NextpnrXilinxFasm2Bels,
'nextpnr-fpga-interchange':
NextpnrFPGAInterchange,
'nextpnr-fpga-interchange-const-seed-already-synth':
NextpnrFPGAInterchangeNoSynthConstSeed,
'nextpnr-fpga-interchange-already-synth':
NextPnrInterchangeNoSynth,
'nextpnr-fpga-interchange-experimental-already-synth':
Expand Down
6 changes: 6 additions & 0 deletions toolchains/nextpnr.py
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,12 @@ def configure(self):
self.tool_options['binary_path'] = self.toolchain_bin


class NextpnrFPGAInterchangeNoSynthConstSeed(NextPnrInterchangeNoSynth):
def configure(self):
super().configure()
self.tool_options['nextpnr_options'] += ['--seed', '0']


class NextpnrXilinx(NextpnrGeneric):
'''nextpnr Xilinx variant using Yosys for synthesis'''
def __init__(self, rootdir):
Expand Down