Ariane Integration (#448)
* [ariane/make] integrate ariane | have verilator be installed on path not in makefile * [misc] warn on verilator not found | search for v files | cleanup build.sbt + .gitignore * [firesim] bump * [ci] add midas ariane tests * [docker/ci] use new docker-image with verilator | re-elab on v changes for ariane | address comments * [ci] remove references to local verilator install * [verilator] update flags * [verilator] minimal set of flags for ariane * [ariane] bump ariane to master * [ci] revert to 4.016 verilator * [ci] install verilator to ci server | misc compile fixes * [ci/make] add longer ci timeout | update when assert is added in verilator sim * [firesim] bump for misc. updates * [make/ci] cleanup makefile and remove firesim tests of it * [docs/firesim] bump and clean docs * [firesim] bump * [ci] use remote verilator for midas tests * [misc] cleanup built.sbt more * [firesim] bump * [misc] bump build.sbt patch for tutorials * [firesim/ci] cleanup and bump firesim
This commit is contained in:
@@ -4,9 +4,6 @@
|
||||
version: 2.1
|
||||
|
||||
parameters:
|
||||
verilator-cache-version:
|
||||
type: string
|
||||
default: "v3"
|
||||
tools-cache-version:
|
||||
type: string
|
||||
default: "v4"
|
||||
@@ -15,7 +12,7 @@ parameters:
|
||||
executors:
|
||||
main-env:
|
||||
docker:
|
||||
- image: riscvboom/riscvboom-images:0.0.12
|
||||
- image: riscvboom/riscvboom-images:0.0.13
|
||||
environment:
|
||||
JVM_OPTS: -Xmx3200m # Customize the JVM maximum heap limit
|
||||
|
||||
@@ -54,8 +51,8 @@ commands:
|
||||
- "3e:c3:02:5b:ed:64:8c:b7:b0:04:43:bc:83:43:73:1e"
|
||||
- checkout
|
||||
|
||||
setup-tools-verilator:
|
||||
description: "Get toolchain and verilator"
|
||||
setup-tools:
|
||||
description: "Get toolchain"
|
||||
parameters:
|
||||
tools-version:
|
||||
type: string
|
||||
@@ -69,9 +66,6 @@ commands:
|
||||
- restore_cache:
|
||||
keys:
|
||||
- << parameters.tools-version >>-installed-<< pipeline.parameters.tools-cache-version >>-{{ checksum "../<< parameters.tools-version >>.hash" }}
|
||||
- restore_cache:
|
||||
keys:
|
||||
- verilator-installed-<< pipeline.parameters.verilator-cache-version >>-{{ checksum "sims/verilator/verilator.mk" }}
|
||||
|
||||
prepare-rtl:
|
||||
description: "Run the prepare step of RTL"
|
||||
@@ -88,7 +82,7 @@ commands:
|
||||
type: string
|
||||
default: "do-rtl-build.sh"
|
||||
steps:
|
||||
- setup-tools-verilator:
|
||||
- setup-tools:
|
||||
tools-version: "<< parameters.tools-version >>"
|
||||
- run:
|
||||
name: Building << parameters.project-key >> subproject using Verilator
|
||||
@@ -117,7 +111,7 @@ commands:
|
||||
type: string
|
||||
default: "10m"
|
||||
steps:
|
||||
- setup-tools-verilator:
|
||||
- setup-tools:
|
||||
tools-version: "<< parameters.tools-version >>"
|
||||
- restore_cache:
|
||||
keys:
|
||||
@@ -166,18 +160,10 @@ jobs:
|
||||
executor: main-env
|
||||
steps:
|
||||
- ssh-checkout
|
||||
- restore_cache:
|
||||
keys:
|
||||
- verilator-installed-<< pipeline.parameters.verilator-cache-version >>-{{ checksum "sims/verilator/verilator.mk" }}
|
||||
- run:
|
||||
name: Build Verilator
|
||||
name: Install Verilator to remote
|
||||
command: |
|
||||
.circleci/build-verilator.sh
|
||||
no_output_timeout: 120m
|
||||
- save_cache:
|
||||
key: verilator-installed-<< pipeline.parameters.verilator-cache-version >>-{{ checksum "sims/verilator/verilator.mk" }}
|
||||
paths:
|
||||
- "/home/riscvuser/verilator"
|
||||
.circleci/install-verilator.sh
|
||||
build-extra-tests:
|
||||
executor: main-env
|
||||
steps:
|
||||
@@ -262,9 +248,11 @@ jobs:
|
||||
- prepare-rtl:
|
||||
project-key: "fireboom"
|
||||
build-script: "do-firesim-build.sh"
|
||||
|
||||
|
||||
|
||||
prepare-chipyard-ariane:
|
||||
executor: main-env
|
||||
steps:
|
||||
- prepare-rtl:
|
||||
project-key: "chipyard-ariane"
|
||||
chipyard-rocket-run-tests:
|
||||
executor: main-env
|
||||
steps:
|
||||
@@ -327,14 +315,19 @@ jobs:
|
||||
project-key: "fireboom"
|
||||
run-script: "run-firesim-tests.sh"
|
||||
timeout: "30m"
|
||||
|
||||
midasexamples-run-tests:
|
||||
executor: main-env
|
||||
steps:
|
||||
- setup-tools-verilator
|
||||
- setup-tools
|
||||
- run:
|
||||
name: Run midasexamples tests
|
||||
command: .circleci/run-midasexamples-tests.sh
|
||||
chipyard-ariane-run-tests:
|
||||
executor: main-env
|
||||
steps:
|
||||
- run-tests:
|
||||
project-key: "chipyard-ariane"
|
||||
|
||||
# Order and dependencies of jobs to run
|
||||
workflows:
|
||||
version: 2
|
||||
@@ -357,7 +350,6 @@ workflows:
|
||||
|
||||
- install-esp-toolchain
|
||||
|
||||
# Build verilator
|
||||
- install-verilator
|
||||
|
||||
- commit-on-master-check
|
||||
@@ -431,13 +423,17 @@ workflows:
|
||||
- install-riscv-toolchain
|
||||
- install-verilator
|
||||
|
||||
- prepare-chipyard-ariane:
|
||||
requires:
|
||||
- install-riscv-toolchain
|
||||
- install-verilator
|
||||
|
||||
# Run the respective tests
|
||||
|
||||
# Run midasexamples test
|
||||
- midasexamples-run-tests:
|
||||
requires:
|
||||
- install-riscv-toolchain
|
||||
- install-verilator
|
||||
|
||||
# Run the example tests
|
||||
- chipyard-rocket-run-tests:
|
||||
@@ -486,3 +482,7 @@ workflows:
|
||||
requires:
|
||||
- prepare-fireboom
|
||||
- build-extra-tests
|
||||
|
||||
- chipyard-ariane-run-tests:
|
||||
requires:
|
||||
- prepare-chipyard-ariane
|
||||
|
||||
Reference in New Issue
Block a user