mirror of
https://github.com/lowRISC/ibex.git
synced 2025-06-28 09:17:17 -04:00
[ci] Download cosim from lowRISC GCP bucket
This commit is contained in:
parent
cfef9ef7bb
commit
9c4e4bdf6a
4 changed files with 10 additions and 6 deletions
|
@ -67,6 +67,7 @@ steps:
|
||||||
displayName: Run RISC-V Compliance test for Ibex RV32IMC for ${{ config }}
|
displayName: Run RISC-V Compliance test for Ibex RV32IMC for ${{ config }}
|
||||||
|
|
||||||
- bash: |
|
- bash: |
|
||||||
|
source ci/setup-cosim.sh
|
||||||
# Build simple system with co-simulation
|
# Build simple system with co-simulation
|
||||||
fusesoc --cores-root=. run --target=sim --setup --build lowrisc:ibex:ibex_simple_system_cosim $IBEX_CONFIG_OPTS
|
fusesoc --cores-root=. run --target=sim --setup --build lowrisc:ibex:ibex_simple_system_cosim $IBEX_CONFIG_OPTS
|
||||||
|
|
||||||
|
|
|
@ -61,12 +61,12 @@ case "$ID-$VERSION_ID" in
|
||||||
wget \
|
wget \
|
||||||
"verilator-$VERILATOR_VERSION" \
|
"verilator-$VERILATOR_VERSION" \
|
||||||
xz-utils
|
xz-utils
|
||||||
# "ibex-cosim-$IBEX_COSIM_VERSION" \
|
|
||||||
|
|
||||||
# TODO: Remove this hack, workaround due to OBS mirrors not syncing
|
wget https://storage.googleapis.com/ibex-cosim-builds/ibex-cosim-$IBEX_COSIM_VERSION.tar.gz
|
||||||
# correctly
|
$SUDO_CMD mkdir -p /tools/riscv-isa-sim
|
||||||
wget https://download.opensuse.org/repositories/home:/gac_lowrisc/xUbuntu_18.04/amd64/ibex-cosim-0.4_0.4-1_amd64.deb
|
$SUDO_CMD chmod 777 /tools/riscv-isa-sim
|
||||||
$SUDO_CMD dpkg -i ibex-cosim-0.4_0.4-1_amd64.deb
|
$SUDO_CMD tar -C /tools/riscv-isa-sim -xvzf ibex-cosim-$IBEX_COSIM_VERSION.tar.gz --strip-components=1
|
||||||
|
echo "##vso[task.prependpath]/tools/riscv-isa-sim/bin"
|
||||||
|
|
||||||
# Python dependencies
|
# Python dependencies
|
||||||
#
|
#
|
||||||
|
|
3
ci/setup-cosim.sh
Normal file
3
ci/setup-cosim.sh
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
export PKG_CONFIG_PATH=/tools/riscv-isa-sim/lib/pkgconfig:$PATH
|
|
@ -7,7 +7,7 @@
|
||||||
# end up as float otherwise).
|
# end up as float otherwise).
|
||||||
variables:
|
variables:
|
||||||
VERILATOR_VERSION: "4.104"
|
VERILATOR_VERSION: "4.104"
|
||||||
IBEX_COSIM_VERSION: "0.4"
|
IBEX_COSIM_VERSION: "d14e109e"
|
||||||
RISCV_TOOLCHAIN_TAR_VERSION: "20220210-1"
|
RISCV_TOOLCHAIN_TAR_VERSION: "20220210-1"
|
||||||
RISCV_TOOLCHAIN_TAR_VARIANT: "lowrisc-toolchain-gcc-rv32imcb"
|
RISCV_TOOLCHAIN_TAR_VARIANT: "lowrisc-toolchain-gcc-rv32imcb"
|
||||||
RISCV_COMPLIANCE_GIT_VERSION: "844c6660ef3f0d9b96957991109dfd80cc4938e2"
|
RISCV_COMPLIANCE_GIT_VERSION: "844c6660ef3f0d9b96957991109dfd80cc4938e2"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue