Skip to content

Commit 14b8461

Browse files
authored
Merge pull request #346 from antmicro/bump-interchange
bump interchange
2 parents eed0334 + 2576305 commit 14b8461

File tree

14 files changed

+64
-42
lines changed

14 files changed

+64
-42
lines changed

.github/kokoro/steps/hostsetup.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ echo "Host adding PPAs"
1515
echo "----------------------------------------"
1616
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | sudo apt-key add -
1717
sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ xenial main'
18+
sudo add-apt-repository ppa:openjdk-r/ppa
1819
echo "----------------------------------------"
1920

2021
echo
@@ -63,6 +64,7 @@ sudo apt-get install -y \
6364
python3-virtualenv \
6465
python3-yaml \
6566
virtualenv \
67+
openjdk-11-jdk
6668

6769
if [ -z "${BUILD_TOOL}" ]; then
6870
export BUILD_TOOL=make
@@ -75,6 +77,12 @@ echo "========================================"
7577
echo "Setting up conda environment"
7678
echo "----------------------------------------"
7779
(
80+
echo " Set JAVA 11 as default"
81+
echo "----------------------------------------"
82+
sudo update-alternatives --set java /usr/lib/jvm/java-11-openjdk-amd64/bin/java
83+
java -version
84+
echo "----------------------------------------"
85+
7886
echo
7987
echo " Installing symbiflow and quicklogic"
8088
echo "----------------------------------------"

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,6 @@
2222
[submodule "third_party/fpga-interchange-schema"]
2323
path = third_party/fpga-interchange-schema
2424
url = https://github.com/SymbiFlow/fpga-interchange-schema.git
25+
[submodule "third_party/RapidWright"]
26+
path = third_party/RapidWright
27+
url = https://github.com/Xilinx/RapidWright.git

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@ SYMBIFLOW_DEVICES = xc7a50t xc7a100t xc7a200t xc7z010 xc7z020
2828
QUICKLOGIC_ARCHIVE = quicklogic.tar.gz
2929
QUICKLOGIC_URL = https://storage.googleapis.com/symbiflow-arch-defs-install/quicklogic-arch-defs-63c3d8f9.tar.gz
3030

31-
INTERCHANGE_BASE_URL = https://storage.googleapis.com/fpga-interchange-tests/artifacts/prod/foss-fpga-tools/fpga-interchange-tests/presubmit/143/20210715-090243
32-
INTERCHANGE_VERSION = b00b616
31+
INTERCHANGE_BASE_URL = https://storage.googleapis.com/fpga-interchange-tests/artifacts/prod/foss-fpga-tools/fpga-interchange-tests/continuous/44/20210909-090121
32+
INTERCHANGE_VERSION = 839e153
3333
INTERCHANGE_DEVICES = xc7a35t xc7a100t xc7a200t xc7z010
34+
RAPIDWRIGHT_PATH = $(TOP_DIR)/third_party/RapidWright
3435

3536

3637
third_party/make-env/conda.mk:
@@ -62,6 +63,9 @@ install_interchange:
6263
for device in ${INTERCHANGE_DEVICES}; do \
6364
wget -qO- ${INTERCHANGE_BASE_URL}/interchange-$${device}-${INTERCHANGE_VERSION}.tar.xz | tar -xJC env/interchange/devices; \
6465
done
66+
pushd ${RAPIDWRIGHT_PATH} && \
67+
make update_jars && \
68+
popd
6569

6670
install_quicklogic:
6771
mkdir -p env/quicklogic

conf/nextpnr/environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dependencies:
66
- litex-hub::yosys=0.9_5530_gc016f6a4=20210730_085634_py37
77
- litex-hub::yosys-symbiflow-plugins=1.0.0_7_368_gfc33276=20210730_085634
88
- litex-hub::vtr-optimized=8.0.0_3614_gb3b34e77a=20210507_125510
9-
- litex-hub::nextpnr-fpga_interchange=v0.0_3730_g0991003d=20210730_085634_py37
9+
- litex-hub::nextpnr-fpga_interchange=v0.0_3787_g67bd349e=20210818_135210_py37
1010
- litex-hub::nextpnr-ice40=0.0.0_3403_g3fd1ee77=20210722_152338_py37
1111
- litex-hub::nextpnr-xilinx=v0.0_2840_g86500ec6=20210722_152338_py37
1212
- litex-hub::nextpnr-nexus=0.0.0_3403_g3fd1ee77=20210813_070938_py37

env.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ path_remove ${QUICKLOGIC}/install/bin
3737
#Set now environment variables
3838
environment=${1:-xilinx-a35t}
3939

40+
export RAPIDWRIGHT_PATH=${FPGA_TOOL_PERF_BASE_DIR}/third_party/RapidWright
41+
4042
if [ "quicklogic" == ${environment} ]; then
4143
. ${FPGA_TOOL_PERF_BASE_DIR}/env/conda/bin/activate quicklogic
4244
export PATH=${QUICKLOGIC}/quicklogic-arch-defs/bin:${PATH}

infrastructure/tasks.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,14 @@ def iter_options(self):
4545

4646
toolchains = vendors[vendor]["toolchains"]
4747
vendor_boards = vendors[vendor]["boards"]
48-
blacklisted_toolchains = list()
49-
if "blacklisted_toolchains" in project_dict.keys():
50-
blacklisted_toolchains = project_dict[
51-
"blacklisted_toolchains"]
48+
skip_toolchains = project_dict.get("skip_toolchains", list())
5249

5350
boards = [
5451
board for board in project_boards if board in vendor_boards
5552
]
5653

5754
for toolchain, board in list(product(toolchains, boards)):
58-
if toolchain not in blacklisted_toolchains:
55+
if toolchain not in skip_toolchains:
5956
combinations.add((project, toolchain, board))
6057

6158
return combinations

project/axi-lite-reg.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@
88
"vendors": {
99
"xilinx": ["zybo"]
1010
},
11-
"required_toolchains": ["vivado", "vpr"]
11+
"required_toolchains": ["vivado", "vpr"],
12+
"skip_toolchains": ["nextpnr-fpga-interchange"]
1213
}

project/daisho-usb3.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"xilinx": ["nexys-video"]
3232
},
3333

34-
"required_toolchains": ["vivado", "yosys-vivado"]
34+
"required_toolchains": ["vivado", "yosys-vivado"],
35+
"skip_toolchains": ["nextpnr-fpga-interchange"]
3536
}
3637

project/hamsternz-hdmi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@
3030
"xilinx": ["nexys-video", "nexys"]
3131
},
3232
"required_toolchains": ["vivado"],
33-
"blacklisted_toolchains": ["nextpnr-fpga-interchange"]
33+
"skip_toolchains": ["nextpnr-fpga-interchange"]
3434
}

project/picosoc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@
1818
"vendors": {
1919
"xilinx": ["basys3", "nexys"]
2020
},
21-
"required_toolchains": ["vivado", "yosys-vivado", "vpr", "vpr-fasm2bels"]
21+
"required_toolchains": ["vivado", "yosys-vivado", "vpr", "vpr-fasm2bels"],
22+
"skip_toolchains": ["nextpnr-fpga-interchange"]
2223
}

0 commit comments

Comments
 (0)