Merge branch 'graphics' of https://github.com/hansungk/chipyard into graphics
This commit is contained in:
29
.github/actions/prepare-gpu/action.yml
vendored
Normal file
29
.github/actions/prepare-gpu/action.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
name: prepare-gpu
|
||||||
|
description: 'Copy over GPU binaries to be used in simulation time to sims directory'
|
||||||
|
|
||||||
|
inputs:
|
||||||
|
group-key:
|
||||||
|
description: group key
|
||||||
|
required: true
|
||||||
|
prepare-script:
|
||||||
|
description: prepare script to use
|
||||||
|
required: false
|
||||||
|
default: "copy-gpu-binaries.sh"
|
||||||
|
toolchain:
|
||||||
|
description: toolchain to use
|
||||||
|
required: false
|
||||||
|
default: "riscv-tools"
|
||||||
|
|
||||||
|
runs:
|
||||||
|
using: "composite"
|
||||||
|
steps:
|
||||||
|
- name: Init submodules to ensure stimuli is located
|
||||||
|
run: |
|
||||||
|
conda activate ${{ env.conda-env-name-no-time }}-$(date --date "${{ env.workflow-timestamp }}" +%Y%m%d)-${{ inputs.toolchain }}
|
||||||
|
./scripts/init-submodules-no-riscv-tools.sh --force
|
||||||
|
shell: bash -leo pipefail {0}
|
||||||
|
|
||||||
|
- name: Copy binaries from rocket-gpu
|
||||||
|
run: |
|
||||||
|
./.github/scripts/${{ inputs.prepare-script }}
|
||||||
|
shell: bash -leo pipefail {0}
|
||||||
1
.github/actions/prepare-rtl/action.yml
vendored
1
.github/actions/prepare-rtl/action.yml
vendored
@@ -26,6 +26,7 @@ runs:
|
|||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
sims/verilator
|
sims/verilator
|
||||||
|
sims/vcs
|
||||||
sims/firesim/sim
|
sims/firesim/sim
|
||||||
generators/gemmini/software/gemmini-rocc-tests
|
generators/gemmini/software/gemmini-rocc-tests
|
||||||
key: ${{ inputs.group-key }}-${{ github.sha }}
|
key: ${{ inputs.group-key }}-${{ github.sha }}
|
||||||
|
|||||||
23
.github/scripts/copy-gpu-binaries.sh
vendored
Executable file
23
.github/scripts/copy-gpu-binaries.sh
vendored
Executable file
@@ -0,0 +1,23 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# copy gpu binaries from stimuli folder
|
||||||
|
# usage:
|
||||||
|
# copy-gpu-binaries.sh
|
||||||
|
|
||||||
|
# turn echo on and error on earliest command
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
# get shared variables
|
||||||
|
SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )"
|
||||||
|
source $SCRIPT_DIR/defaults.sh
|
||||||
|
|
||||||
|
cd $REMOTE_CHIPYARD_DIR
|
||||||
|
|
||||||
|
cp -av $REMOTE_CHIPYARD_DIR/generators/rocket-gpu/stimuli/vecadd.bin.elf \
|
||||||
|
$REMOTE_CHIPYARD_DIR/sims/
|
||||||
|
cp -av $REMOTE_CHIPYARD_DIR/generators/rocket-gpu/stimuli/vecadd.args.size64.romAddr.bin \
|
||||||
|
$REMOTE_CHIPYARD_DIR/sims/args.bin
|
||||||
|
cp -av $REMOTE_CHIPYARD_DIR/generators/rocket-gpu/stimuli/vecadd.input.a.size64.bin \
|
||||||
|
$REMOTE_CHIPYARD_DIR/sims/op_a.bin
|
||||||
|
cp -av $REMOTE_CHIPYARD_DIR/generators/rocket-gpu/stimuli/vecadd.input.b.size64.bin \
|
||||||
|
$REMOTE_CHIPYARD_DIR/sims/op_b.bin
|
||||||
4
.github/scripts/defaults.sh
vendored
4
.github/scripts/defaults.sh
vendored
@@ -32,6 +32,7 @@ grouping["group-cores"]="chipyard-cva6 chipyard-ibex chipyard-rocket chipyard-he
|
|||||||
grouping["group-peripherals"]="chipyard-dmirocket chipyard-dmiboom chipyard-spiflashwrite chipyard-mmios chipyard-nocores chipyard-manyperipherals chipyard-chiplike chipyard-tethered"
|
grouping["group-peripherals"]="chipyard-dmirocket chipyard-dmiboom chipyard-spiflashwrite chipyard-mmios chipyard-nocores chipyard-manyperipherals chipyard-chiplike chipyard-tethered"
|
||||||
grouping["group-accels"]="chipyard-mempress chipyard-sha3 chipyard-hwacha chipyard-gemmini chipyard-manymmioaccels chipyard-nvdla"
|
grouping["group-accels"]="chipyard-mempress chipyard-sha3 chipyard-hwacha chipyard-gemmini chipyard-manymmioaccels chipyard-nvdla"
|
||||||
grouping["group-constellation"]="chipyard-constellation"
|
grouping["group-constellation"]="chipyard-constellation"
|
||||||
|
grouping["group-gpu"]="chipyard-vortex chipyard-coalescer coalescer"
|
||||||
grouping["group-tracegen"]="tracegen tracegen-boom"
|
grouping["group-tracegen"]="tracegen tracegen-boom"
|
||||||
grouping["group-other"]="icenet testchipip constellation rocketchip-amba rocketchip-tlsimple rocketchip-tlwidth rocketchip-tlxbar"
|
grouping["group-other"]="icenet testchipip constellation rocketchip-amba rocketchip-tlsimple rocketchip-tlwidth rocketchip-tlxbar"
|
||||||
grouping["group-fpga"]="arty vcu118 vc707 arty100t"
|
grouping["group-fpga"]="arty vcu118 vc707 arty100t"
|
||||||
@@ -67,8 +68,11 @@ mapping["chipyard-shuttle"]=" CONFIG=ShuttleConfig"
|
|||||||
mapping["chipyard-multiclock-rocket"]=" CONFIG=MulticlockRocketConfig"
|
mapping["chipyard-multiclock-rocket"]=" CONFIG=MulticlockRocketConfig"
|
||||||
mapping["chipyard-nomem-scratchpad"]=" CONFIG=MMIOScratchpadOnlyRocketConfig"
|
mapping["chipyard-nomem-scratchpad"]=" CONFIG=MMIOScratchpadOnlyRocketConfig"
|
||||||
mapping["chipyard-constellation"]=" CONFIG=SharedNoCConfig"
|
mapping["chipyard-constellation"]=" CONFIG=SharedNoCConfig"
|
||||||
|
mapping["chipyard-vortex"]=" CONFIG=RadianceROMConfig"
|
||||||
|
mapping["chipyard-coalescer"]=" CONFIG=MemtraceCoreConfig"
|
||||||
|
|
||||||
mapping["constellation"]=" SUB_PROJECT=constellation"
|
mapping["constellation"]=" SUB_PROJECT=constellation"
|
||||||
|
mapping["coalescer"]=" SUB_PROJECT=coalescer"
|
||||||
mapping["firesim"]="SCALA_TEST=firesim.firesim.RocketNICF1Tests"
|
mapping["firesim"]="SCALA_TEST=firesim.firesim.RocketNICF1Tests"
|
||||||
mapping["fireboom"]="SCALA_TEST=firesim.firesim.BoomF1Tests"
|
mapping["fireboom"]="SCALA_TEST=firesim.firesim.BoomF1Tests"
|
||||||
mapping["icenet"]="SUB_PROJECT=icenet"
|
mapping["icenet"]="SUB_PROJECT=icenet"
|
||||||
|
|||||||
9
.github/scripts/run-tests.sh
vendored
9
.github/scripts/run-tests.sh
vendored
@@ -137,6 +137,12 @@ case $1 in
|
|||||||
chipyard-constellation)
|
chipyard-constellation)
|
||||||
run_binary LOADMEM=1 BINARY=$RISCV/riscv64-unknown-elf/share/riscv-tests/benchmarks/dhrystone.riscv
|
run_binary LOADMEM=1 BINARY=$RISCV/riscv64-unknown-elf/share/riscv-tests/benchmarks/dhrystone.riscv
|
||||||
;;
|
;;
|
||||||
|
chipyard-vortex)
|
||||||
|
run_binary BINARY=$LOCAL_CHIPYARD_DIR/generators/rocket-gpu/stimuli/vecadd.bin.elf
|
||||||
|
;;
|
||||||
|
chipyard-coalescer)
|
||||||
|
run_binary BINARY=none EXTRA_SIM_FLAGS="+memtracefile=$LOCAL_CHIPYARD_DIR/generators/rocket-gpu/tracefiles/vecadd.core1.thread4.trace"
|
||||||
|
;;
|
||||||
icenet)
|
icenet)
|
||||||
run_binary BINARY=none
|
run_binary BINARY=none
|
||||||
;;
|
;;
|
||||||
@@ -146,6 +152,9 @@ case $1 in
|
|||||||
constellation)
|
constellation)
|
||||||
run_binary BINARY=none
|
run_binary BINARY=none
|
||||||
;;
|
;;
|
||||||
|
coalescer)
|
||||||
|
run_binary BINARY=none EXTRA_SIM_FLAGS="+memtracefile=$LOCAL_CHIPYARD_DIR/generators/rocket-gpu/tracefiles/vecadd.core1.thread4.trace"
|
||||||
|
;;
|
||||||
rocketchip-amba)
|
rocketchip-amba)
|
||||||
run_binary BINARY=none
|
run_binary BINARY=none
|
||||||
;;
|
;;
|
||||||
|
|||||||
761
.github/workflows/chipyard-run-tests-gpu.yml
vendored
761
.github/workflows/chipyard-run-tests-gpu.yml
vendored
@@ -16,6 +16,7 @@ env:
|
|||||||
conda-env-name-no-time: cy-${{ github.run_id }}
|
conda-env-name-no-time: cy-${{ github.run_id }}
|
||||||
workflow-timestamp: ${{ github.event.pull_request.updated_at }}
|
workflow-timestamp: ${{ github.event.pull_request.updated_at }}
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
SSH_AUTH_SOCK: /tmp/ssh_agent_github.sock
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
cancel-prior-workflows:
|
cancel-prior-workflows:
|
||||||
@@ -72,6 +73,12 @@ jobs:
|
|||||||
rm -rf ${{ github.workspace }}/* || true
|
rm -rf ${{ github.workspace }}/* || true
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
rm -rf ${{ github.workspace }}/.* || true
|
||||||
ls -alh .
|
ls -alh .
|
||||||
|
# note: the agent spun up here will be made available throughout the
|
||||||
|
# workflow via env.SSH_AUTH_SOCK.
|
||||||
|
- name: Run ssh-agent
|
||||||
|
run: |
|
||||||
|
eval `ssh-agent -a $SSH_AUTH_SOCK -s`
|
||||||
|
echo "${{ secrets.PRIVATE_SSH_KEY }}" | ssh-add -
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Git workaround
|
- name: Git workaround
|
||||||
@@ -94,30 +101,30 @@ jobs:
|
|||||||
|
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|
||||||
prepare-chipyard-cores:
|
# prepare-chipyard-cores:
|
||||||
name: prepare-chipyard-cores
|
# name: prepare-chipyard-cores
|
||||||
needs: setup-complete
|
# needs: setup-complete
|
||||||
runs-on: self-hosted
|
# runs-on: self-hosted
|
||||||
steps:
|
# steps:
|
||||||
- name: Delete old checkout
|
# - name: Delete old checkout
|
||||||
run: |
|
# run: |
|
||||||
ls -alh .
|
# ls -alh .
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
# rm -rf ${{ github.workspace }}/* || true
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
# rm -rf ${{ github.workspace }}/.* || true
|
||||||
ls -alh .
|
# ls -alh .
|
||||||
- name: Checkout
|
# - name: Checkout
|
||||||
uses: actions/checkout@v3
|
# uses: actions/checkout@v3
|
||||||
- name: Git workaround
|
# - name: Git workaround
|
||||||
uses: ./.github/actions/git-workaround
|
# uses: ./.github/actions/git-workaround
|
||||||
- name: Create conda env
|
# - name: Create conda env
|
||||||
uses: ./.github/actions/create-conda-env
|
# uses: ./.github/actions/create-conda-env
|
||||||
- name: Build RTL on self-hosted
|
# - name: Build RTL on self-hosted
|
||||||
uses: ./.github/actions/prepare-rtl
|
# uses: ./.github/actions/prepare-rtl
|
||||||
with:
|
# with:
|
||||||
group-key: "group-cores"
|
# group-key: "group-cores"
|
||||||
|
|
||||||
prepare-chipyard-accels:
|
prepare-chipyard-gpu:
|
||||||
name: prepare-chipyard-accels
|
name: prepare-chipyard-gpu
|
||||||
needs: setup-complete
|
needs: setup-complete
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
@@ -133,89 +140,137 @@ jobs:
|
|||||||
uses: ./.github/actions/git-workaround
|
uses: ./.github/actions/git-workaround
|
||||||
- name: Create conda env
|
- name: Create conda env
|
||||||
uses: ./.github/actions/create-conda-env
|
uses: ./.github/actions/create-conda-env
|
||||||
|
- name: Prepare GPU binaries
|
||||||
|
uses: ./.github/actions/prepare-gpu
|
||||||
- name: Build RTL on self-hosted
|
- name: Build RTL on self-hosted
|
||||||
uses: ./.github/actions/prepare-rtl
|
uses: ./.github/actions/prepare-rtl
|
||||||
with:
|
with:
|
||||||
group-key: "group-accels"
|
group-key: "group-gpu"
|
||||||
|
|
||||||
prepare-chipyard-tracegen:
|
# prepare-chipyard-accels:
|
||||||
name: prepare-chipyard-tracegen
|
# name: prepare-chipyard-accels
|
||||||
needs: setup-complete
|
# needs: setup-complete
|
||||||
runs-on: self-hosted
|
# runs-on: self-hosted
|
||||||
steps:
|
# steps:
|
||||||
- name: Delete old checkout
|
# - name: Delete old checkout
|
||||||
run: |
|
# run: |
|
||||||
ls -alh .
|
# ls -alh .
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
# rm -rf ${{ github.workspace }}/* || true
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
# rm -rf ${{ github.workspace }}/.* || true
|
||||||
ls -alh .
|
# ls -alh .
|
||||||
- name: Checkout
|
# - name: Checkout
|
||||||
uses: actions/checkout@v3
|
# uses: actions/checkout@v3
|
||||||
- name: Git workaround
|
# - name: Git workaround
|
||||||
uses: ./.github/actions/git-workaround
|
# uses: ./.github/actions/git-workaround
|
||||||
- name: Create conda env
|
# - name: Create conda env
|
||||||
uses: ./.github/actions/create-conda-env
|
# uses: ./.github/actions/create-conda-env
|
||||||
- name: Build RTL on self-hosted
|
# - name: Build RTL on self-hosted
|
||||||
uses: ./.github/actions/prepare-rtl
|
# uses: ./.github/actions/prepare-rtl
|
||||||
with:
|
# with:
|
||||||
group-key: "group-tracegen"
|
# group-key: "group-accels"
|
||||||
|
|
||||||
prepare-chipyard-other:
|
# prepare-chipyard-other:
|
||||||
name: prepare-chipyard-other
|
# name: prepare-chipyard-other
|
||||||
needs: setup-complete
|
# needs: setup-complete
|
||||||
runs-on: self-hosted
|
# runs-on: self-hosted
|
||||||
steps:
|
# steps:
|
||||||
- name: Delete old checkout
|
# - name: Delete old checkout
|
||||||
run: |
|
# run: |
|
||||||
ls -alh .
|
# ls -alh .
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
# rm -rf ${{ github.workspace }}/* || true
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
# rm -rf ${{ github.workspace }}/.* || true
|
||||||
ls -alh .
|
# ls -alh .
|
||||||
- name: Checkout
|
# - name: Checkout
|
||||||
uses: actions/checkout@v3
|
# uses: actions/checkout@v3
|
||||||
- name: Git workaround
|
# - name: Git workaround
|
||||||
uses: ./.github/actions/git-workaround
|
# uses: ./.github/actions/git-workaround
|
||||||
- name: Create conda env
|
# - name: Create conda env
|
||||||
uses: ./.github/actions/create-conda-env
|
# uses: ./.github/actions/create-conda-env
|
||||||
- name: Build RTL on self-hosted
|
# - name: Build RTL on self-hosted
|
||||||
uses: ./.github/actions/prepare-rtl
|
# uses: ./.github/actions/prepare-rtl
|
||||||
with:
|
# with:
|
||||||
group-key: "group-other"
|
# group-key: "group-other"
|
||||||
|
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|
||||||
chipyard-spike-gemmini-run-tests:
|
# chipyard-spike-gemmini-run-tests:
|
||||||
name: chipyard-spike-gemmini-run-tests
|
# name: chipyard-spike-gemmini-run-tests
|
||||||
needs: prepare-chipyard-accels # technically doesn't depend on RTL but should be after the build.sh for Gemmini
|
# needs: prepare-chipyard-accels # technically doesn't depend on RTL but should be after the build.sh for Gemmini
|
||||||
runs-on: self-hosted
|
# runs-on: self-hosted
|
||||||
steps:
|
# steps:
|
||||||
- name: Delete old checkout
|
# - name: Delete old checkout
|
||||||
run: |
|
# run: |
|
||||||
ls -alh .
|
# ls -alh .
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
# rm -rf ${{ github.workspace }}/* || true
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
# rm -rf ${{ github.workspace }}/.* || true
|
||||||
ls -alh .
|
# ls -alh .
|
||||||
- name: Checkout
|
# - name: Checkout
|
||||||
uses: actions/checkout@v3
|
# uses: actions/checkout@v3
|
||||||
- name: Git workaround
|
# - name: Git workaround
|
||||||
uses: ./.github/actions/git-workaround
|
# uses: ./.github/actions/git-workaround
|
||||||
- name: Create conda env
|
# - name: Create conda env
|
||||||
uses: ./.github/actions/create-conda-env
|
# uses: ./.github/actions/create-conda-env
|
||||||
- name: Build Gemmini FireMarshal
|
# - name: Build Gemmini FireMarshal
|
||||||
run: |
|
# run: |
|
||||||
conda activate ${{ env.conda-env-name-no-time }}-$(date --date "${{ env.workflow-timestamp }}" +%Y%m%d)-riscv-tools
|
# conda activate ${{ env.conda-env-name-no-time }}-$(date --date "${{ env.workflow-timestamp }}" +%Y%m%d)-riscv-tools
|
||||||
cd ${{ github.workspace }} && ./scripts/init-submodules-no-riscv-tools.sh --force
|
# cd ${{ github.workspace }} && ./scripts/init-submodules-no-riscv-tools.sh --force
|
||||||
cd ${{ github.workspace }} && source ./scripts/fix-open-files.sh
|
# cd ${{ github.workspace }} && source ./scripts/fix-open-files.sh
|
||||||
git submodule update --init software/firemarshal && cd software/firemarshal && ./init-submodules.sh
|
# git submodule update --init software/firemarshal && cd software/firemarshal && ./init-submodules.sh
|
||||||
cd ${{ github.workspace }}/generators/gemmini/software && ${{ github.workspace }}/software/firemarshal/marshal -v -d build gemmini-smoke.json
|
# cd ${{ github.workspace }}/generators/gemmini/software && ${{ github.workspace }}/software/firemarshal/marshal -v -d build gemmini-smoke.json
|
||||||
- name: Running Gemmini FireMarshal smoke test
|
# - name: Running Gemmini FireMarshal smoke test
|
||||||
run: |
|
# run: |
|
||||||
conda activate ${{ env.conda-env-name-no-time }}-$(date --date "${{ env.workflow-timestamp }}" +%Y%m%d)-riscv-tools
|
# conda activate ${{ env.conda-env-name-no-time }}-$(date --date "${{ env.workflow-timestamp }}" +%Y%m%d)-riscv-tools
|
||||||
cd ${{ github.workspace }}/generators/gemmini/software && ${{ github.workspace }}/software/firemarshal/marshal -v -d launch -s gemmini-smoke.json
|
# cd ${{ github.workspace }}/generators/gemmini/software && ${{ github.workspace }}/software/firemarshal/marshal -v -d launch -s gemmini-smoke.json
|
||||||
|
|
||||||
chipyard-rocket-run-tests:
|
# chipyard-rocket-run-tests:
|
||||||
name: chipyard-rocket-run-tests
|
# name: chipyard-rocket-run-tests
|
||||||
needs: prepare-chipyard-cores
|
# needs: prepare-chipyard-cores
|
||||||
|
# runs-on: self-hosted
|
||||||
|
# steps:
|
||||||
|
# - name: Delete old checkout
|
||||||
|
# run: |
|
||||||
|
# ls -alh .
|
||||||
|
# rm -rf ${{ github.workspace }}/* || true
|
||||||
|
# rm -rf ${{ github.workspace }}/.* || true
|
||||||
|
# ls -alh .
|
||||||
|
# - name: Checkout
|
||||||
|
# uses: actions/checkout@v3
|
||||||
|
# - name: Git workaround
|
||||||
|
# uses: ./.github/actions/git-workaround
|
||||||
|
# - name: Create conda env
|
||||||
|
# uses: ./.github/actions/create-conda-env
|
||||||
|
# - name: Run tests
|
||||||
|
# uses: ./.github/actions/run-tests
|
||||||
|
# with:
|
||||||
|
# group-key: "group-cores"
|
||||||
|
# project-key: "chipyard-rocket"
|
||||||
|
|
||||||
|
# chipyard-boom-run-tests:
|
||||||
|
# name: chipyard-boom-run-tests
|
||||||
|
# needs: prepare-chipyard-cores
|
||||||
|
# runs-on: self-hosted
|
||||||
|
# steps:
|
||||||
|
# - name: Delete old checkout
|
||||||
|
# run: |
|
||||||
|
# ls -alh .
|
||||||
|
# rm -rf ${{ github.workspace }}/* || true
|
||||||
|
# rm -rf ${{ github.workspace }}/.* || true
|
||||||
|
# ls -alh .
|
||||||
|
# - name: Checkout
|
||||||
|
# uses: actions/checkout@v3
|
||||||
|
# - name: Git workaround
|
||||||
|
# uses: ./.github/actions/git-workaround
|
||||||
|
# - name: Create conda env
|
||||||
|
# uses: ./.github/actions/create-conda-env
|
||||||
|
# - name: Run tests
|
||||||
|
# uses: ./.github/actions/run-tests
|
||||||
|
# with:
|
||||||
|
# group-key: "group-cores"
|
||||||
|
# project-key: "chipyard-boom"
|
||||||
|
|
||||||
|
chipyard-vortex-run-tests:
|
||||||
|
name: chipyard-vortex-run-tests
|
||||||
|
needs: prepare-chipyard-gpu
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
- name: Delete old checkout
|
- name: Delete old checkout
|
||||||
@@ -233,12 +288,12 @@ jobs:
|
|||||||
- name: Run tests
|
- name: Run tests
|
||||||
uses: ./.github/actions/run-tests
|
uses: ./.github/actions/run-tests
|
||||||
with:
|
with:
|
||||||
group-key: "group-cores"
|
group-key: "group-gpu"
|
||||||
project-key: "chipyard-rocket"
|
project-key: "chipyard-vortex"
|
||||||
|
|
||||||
chipyard-prefetchers-run-tests:
|
chipyard-coalescer-run-tests:
|
||||||
name: chipyard-prefetchers-run-tests
|
name: chipyard-coalescer-run-tests
|
||||||
needs: prepare-chipyard-cores
|
needs: prepare-chipyard-gpu
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
- name: Delete old checkout
|
- name: Delete old checkout
|
||||||
@@ -256,12 +311,12 @@ jobs:
|
|||||||
- name: Run tests
|
- name: Run tests
|
||||||
uses: ./.github/actions/run-tests
|
uses: ./.github/actions/run-tests
|
||||||
with:
|
with:
|
||||||
group-key: "group-cores"
|
group-key: "group-gpu"
|
||||||
project-key: "chipyard-prefetchers"
|
project-key: "chipyard-coalescer"
|
||||||
|
|
||||||
chipyard-hetero-run-tests:
|
coalescer-run-tests:
|
||||||
name: chipyard-hetero-run-tests
|
name: coalescer-run-tests
|
||||||
needs: prepare-chipyard-cores
|
needs: prepare-chipyard-gpu
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
- name: Delete old checkout
|
- name: Delete old checkout
|
||||||
@@ -279,215 +334,54 @@ jobs:
|
|||||||
- name: Run tests
|
- name: Run tests
|
||||||
uses: ./.github/actions/run-tests
|
uses: ./.github/actions/run-tests
|
||||||
with:
|
with:
|
||||||
group-key: "group-cores"
|
group-key: "group-gpu"
|
||||||
project-key: "chipyard-hetero"
|
project-key: "coalescer"
|
||||||
|
|
||||||
chipyard-boom-run-tests:
|
# chipyard-spike-run-tests:
|
||||||
name: chipyard-boom-run-tests
|
# name: chipyard-spike-run-tests
|
||||||
needs: prepare-chipyard-cores
|
# needs: prepare-chipyard-cores
|
||||||
runs-on: self-hosted
|
# runs-on: self-hosted
|
||||||
steps:
|
# steps:
|
||||||
- name: Delete old checkout
|
# - name: Delete old checkout
|
||||||
run: |
|
# run: |
|
||||||
ls -alh .
|
# ls -alh .
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
# rm -rf ${{ github.workspace }}/* || true
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
# rm -rf ${{ github.workspace }}/.* || true
|
||||||
ls -alh .
|
# ls -alh .
|
||||||
- name: Checkout
|
# - name: Checkout
|
||||||
uses: actions/checkout@v3
|
# uses: actions/checkout@v3
|
||||||
- name: Git workaround
|
# - name: Git workaround
|
||||||
uses: ./.github/actions/git-workaround
|
# uses: ./.github/actions/git-workaround
|
||||||
- name: Create conda env
|
# - name: Create conda env
|
||||||
uses: ./.github/actions/create-conda-env
|
# uses: ./.github/actions/create-conda-env
|
||||||
- name: Run tests
|
# - name: Run tests
|
||||||
uses: ./.github/actions/run-tests
|
# uses: ./.github/actions/run-tests
|
||||||
with:
|
# with:
|
||||||
group-key: "group-cores"
|
# group-key: "group-cores"
|
||||||
project-key: "chipyard-boom"
|
# project-key: "chipyard-spike"
|
||||||
|
|
||||||
chipyard-shuttle-run-tests:
|
# chipyard-gemmini-run-tests:
|
||||||
name: chipyard-shuttle-run-tests
|
# name: chipyard-gemmini-run-tests
|
||||||
needs: prepare-chipyard-cores
|
# needs: prepare-chipyard-accels
|
||||||
runs-on: self-hosted
|
# runs-on: self-hosted
|
||||||
steps:
|
# steps:
|
||||||
- name: Delete old checkout
|
# - name: Delete old checkout
|
||||||
run: |
|
# run: |
|
||||||
ls -alh .
|
# ls -alh .
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
# rm -rf ${{ github.workspace }}/* || true
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
# rm -rf ${{ github.workspace }}/.* || true
|
||||||
ls -alh .
|
# ls -alh .
|
||||||
- name: Checkout
|
# - name: Checkout
|
||||||
uses: actions/checkout@v3
|
# uses: actions/checkout@v3
|
||||||
- name: Git workaround
|
# - name: Git workaround
|
||||||
uses: ./.github/actions/git-workaround
|
# uses: ./.github/actions/git-workaround
|
||||||
- name: Create conda env
|
# - name: Create conda env
|
||||||
uses: ./.github/actions/create-conda-env
|
# uses: ./.github/actions/create-conda-env
|
||||||
- name: Run tests
|
# - name: Run tests
|
||||||
uses: ./.github/actions/run-tests
|
# uses: ./.github/actions/run-tests
|
||||||
with:
|
# with:
|
||||||
group-key: "group-cores"
|
# group-key: "group-accels"
|
||||||
project-key: "chipyard-shuttle"
|
# project-key: "chipyard-gemmini"
|
||||||
|
|
||||||
chipyard-cva6-run-tests:
|
|
||||||
name: chipyard-cva6-run-tests
|
|
||||||
needs: prepare-chipyard-cores
|
|
||||||
runs-on: self-hosted
|
|
||||||
steps:
|
|
||||||
- name: Delete old checkout
|
|
||||||
run: |
|
|
||||||
ls -alh .
|
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
|
||||||
ls -alh .
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
- name: Git workaround
|
|
||||||
uses: ./.github/actions/git-workaround
|
|
||||||
- name: Create conda env
|
|
||||||
uses: ./.github/actions/create-conda-env
|
|
||||||
- name: Run tests
|
|
||||||
uses: ./.github/actions/run-tests
|
|
||||||
with:
|
|
||||||
group-key: "group-cores"
|
|
||||||
project-key: "chipyard-cva6"
|
|
||||||
|
|
||||||
chipyard-ibex-run-tests:
|
|
||||||
name: chipyard-ibex-run-tests
|
|
||||||
needs: prepare-chipyard-cores
|
|
||||||
runs-on: self-hosted
|
|
||||||
steps:
|
|
||||||
- name: Delete old checkout
|
|
||||||
run: |
|
|
||||||
ls -alh .
|
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
|
||||||
ls -alh .
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
- name: Git workaround
|
|
||||||
uses: ./.github/actions/git-workaround
|
|
||||||
- name: Create conda env
|
|
||||||
uses: ./.github/actions/create-conda-env
|
|
||||||
- name: Run tests
|
|
||||||
uses: ./.github/actions/run-tests
|
|
||||||
with:
|
|
||||||
group-key: "group-cores"
|
|
||||||
project-key: "chipyard-ibex"
|
|
||||||
|
|
||||||
chipyard-sodor-run-tests:
|
|
||||||
name: chipyard-sodor-run-tests
|
|
||||||
needs: prepare-chipyard-cores
|
|
||||||
runs-on: self-hosted
|
|
||||||
steps:
|
|
||||||
- name: Delete old checkout
|
|
||||||
run: |
|
|
||||||
ls -alh .
|
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
|
||||||
ls -alh .
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
- name: Git workaround
|
|
||||||
uses: ./.github/actions/git-workaround
|
|
||||||
- name: Create conda env
|
|
||||||
uses: ./.github/actions/create-conda-env
|
|
||||||
- name: Run tests
|
|
||||||
uses: ./.github/actions/run-tests
|
|
||||||
with:
|
|
||||||
group-key: "group-cores"
|
|
||||||
project-key: "chipyard-sodor"
|
|
||||||
|
|
||||||
chipyard-spike-run-tests:
|
|
||||||
name: chipyard-spike-run-tests
|
|
||||||
needs: prepare-chipyard-cores
|
|
||||||
runs-on: self-hosted
|
|
||||||
steps:
|
|
||||||
- name: Delete old checkout
|
|
||||||
run: |
|
|
||||||
ls -alh .
|
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
|
||||||
ls -alh .
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
- name: Git workaround
|
|
||||||
uses: ./.github/actions/git-workaround
|
|
||||||
- name: Create conda env
|
|
||||||
uses: ./.github/actions/create-conda-env
|
|
||||||
- name: Run tests
|
|
||||||
uses: ./.github/actions/run-tests
|
|
||||||
with:
|
|
||||||
group-key: "group-cores"
|
|
||||||
project-key: "chipyard-spike"
|
|
||||||
|
|
||||||
chipyard-sha3-run-tests:
|
|
||||||
name: chipyard-sha3-run-tests
|
|
||||||
needs: prepare-chipyard-accels
|
|
||||||
runs-on: self-hosted
|
|
||||||
steps:
|
|
||||||
- name: Delete old checkout
|
|
||||||
run: |
|
|
||||||
ls -alh .
|
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
|
||||||
ls -alh .
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
- name: Git workaround
|
|
||||||
uses: ./.github/actions/git-workaround
|
|
||||||
- name: Create conda env
|
|
||||||
uses: ./.github/actions/create-conda-env
|
|
||||||
- name: Run tests
|
|
||||||
uses: ./.github/actions/run-tests
|
|
||||||
with:
|
|
||||||
group-key: "group-accels"
|
|
||||||
project-key: "chipyard-sha3"
|
|
||||||
|
|
||||||
chipyard-gemmini-run-tests:
|
|
||||||
name: chipyard-gemmini-run-tests
|
|
||||||
needs: prepare-chipyard-accels
|
|
||||||
runs-on: self-hosted
|
|
||||||
steps:
|
|
||||||
- name: Delete old checkout
|
|
||||||
run: |
|
|
||||||
ls -alh .
|
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
|
||||||
ls -alh .
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
- name: Git workaround
|
|
||||||
uses: ./.github/actions/git-workaround
|
|
||||||
- name: Create conda env
|
|
||||||
uses: ./.github/actions/create-conda-env
|
|
||||||
- name: Run tests
|
|
||||||
uses: ./.github/actions/run-tests
|
|
||||||
with:
|
|
||||||
group-key: "group-accels"
|
|
||||||
project-key: "chipyard-gemmini"
|
|
||||||
|
|
||||||
chipyard-manymmioaccels-run-tests:
|
|
||||||
name: chipyard-manymmioaccels-run-tests
|
|
||||||
needs: prepare-chipyard-accels
|
|
||||||
runs-on: self-hosted
|
|
||||||
steps:
|
|
||||||
- name: Delete old checkout
|
|
||||||
run: |
|
|
||||||
ls -alh .
|
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
|
||||||
ls -alh .
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
- name: Git workaround
|
|
||||||
uses: ./.github/actions/git-workaround
|
|
||||||
- name: Create conda env
|
|
||||||
uses: ./.github/actions/create-conda-env
|
|
||||||
- name: Run tests
|
|
||||||
uses: ./.github/actions/run-tests
|
|
||||||
with:
|
|
||||||
group-key: "group-accels"
|
|
||||||
project-key: "chipyard-manymmioaccels"
|
|
||||||
|
|
||||||
# chipyard-nvdla-run-tests:
|
# chipyard-nvdla-run-tests:
|
||||||
# name: chipyard-nvdla-run-tests
|
# name: chipyard-nvdla-run-tests
|
||||||
@@ -512,160 +406,67 @@ jobs:
|
|||||||
# group-key: "group-accels"
|
# group-key: "group-accels"
|
||||||
# project-key: "chipyard-nvdla"
|
# project-key: "chipyard-nvdla"
|
||||||
|
|
||||||
chipyard-mempress-run-tests:
|
# testchipip-run-tests:
|
||||||
name: chipyard-mempress-run-tests
|
# name: testchipip-run-tests
|
||||||
needs: prepare-chipyard-accels
|
# needs: prepare-chipyard-other
|
||||||
runs-on: self-hosted
|
# runs-on: self-hosted
|
||||||
steps:
|
# steps:
|
||||||
- name: Delete old checkout
|
# - name: Delete old checkout
|
||||||
run: |
|
# run: |
|
||||||
ls -alh .
|
# ls -alh .
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
# rm -rf ${{ github.workspace }}/* || true
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
# rm -rf ${{ github.workspace }}/.* || true
|
||||||
ls -alh .
|
# ls -alh .
|
||||||
- name: Checkout
|
# - name: Checkout
|
||||||
uses: actions/checkout@v3
|
# uses: actions/checkout@v3
|
||||||
- name: Git workaround
|
# - name: Git workaround
|
||||||
uses: ./.github/actions/git-workaround
|
# uses: ./.github/actions/git-workaround
|
||||||
- name: Create conda env
|
# - name: Create conda env
|
||||||
uses: ./.github/actions/create-conda-env
|
# uses: ./.github/actions/create-conda-env
|
||||||
- name: Run tests
|
# - name: Run tests
|
||||||
uses: ./.github/actions/run-tests
|
# uses: ./.github/actions/run-tests
|
||||||
with:
|
# with:
|
||||||
group-key: "group-accels"
|
# group-key: "group-other"
|
||||||
project-key: "chipyard-mempress"
|
# project-key: "testchipip"
|
||||||
|
|
||||||
|
# rocketchip-run-tests:
|
||||||
tracegen-boom-run-tests:
|
# name: rocketchip-run-tests
|
||||||
name: tracegen-boom-run-tests
|
# needs: prepare-chipyard-other
|
||||||
needs: prepare-chipyard-tracegen
|
# runs-on: self-hosted
|
||||||
runs-on: self-hosted
|
# steps:
|
||||||
steps:
|
# - name: Delete old checkout
|
||||||
- name: Delete old checkout
|
# run: |
|
||||||
run: |
|
# ls -alh .
|
||||||
ls -alh .
|
# rm -rf ${{ github.workspace }}/* || true
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
# rm -rf ${{ github.workspace }}/.* || true
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
# ls -alh .
|
||||||
ls -alh .
|
# - name: Checkout
|
||||||
- name: Checkout
|
# uses: actions/checkout@v3
|
||||||
uses: actions/checkout@v3
|
# - name: Git workaround
|
||||||
- name: Git workaround
|
# uses: ./.github/actions/git-workaround
|
||||||
uses: ./.github/actions/git-workaround
|
# - name: Create conda env
|
||||||
- name: Create conda env
|
# uses: ./.github/actions/create-conda-env
|
||||||
uses: ./.github/actions/create-conda-env
|
# - name: Run amba tests
|
||||||
- name: Run tests
|
# uses: ./.github/actions/run-tests
|
||||||
uses: ./.github/actions/run-tests
|
# with:
|
||||||
with:
|
# group-key: "group-other"
|
||||||
group-key: "group-tracegen"
|
# project-key: "rocketchip-amba"
|
||||||
project-key: "tracegen-boom"
|
# # Below tests segfault with verilator, work fine in VCS
|
||||||
|
# # - name: Run tlsimple tests
|
||||||
tracegen-run-tests:
|
# # uses: ./.github/actions/run-tests
|
||||||
name: tracegen-run-tests
|
# # with:
|
||||||
needs: prepare-chipyard-tracegen
|
# # group-key: "group-other"
|
||||||
runs-on: self-hosted
|
# # project-key: "rocketchip-tlsimple"
|
||||||
steps:
|
# # - name: Run tlwidth tests
|
||||||
- name: Delete old checkout
|
# # uses: ./.github/actions/run-tests
|
||||||
run: |
|
# # with:
|
||||||
ls -alh .
|
# # group-key: "group-other"
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
# # project-key: "rocketchip-tlwidth"
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
# # - name: Run tlxbar tests
|
||||||
ls -alh .
|
# # uses: ./.github/actions/run-tests
|
||||||
- name: Checkout
|
# # with:
|
||||||
uses: actions/checkout@v3
|
# # group-key: "group-other"
|
||||||
- name: Git workaround
|
# # project-key: "rocketchip-tlxbar"
|
||||||
uses: ./.github/actions/git-workaround
|
|
||||||
- name: Create conda env
|
|
||||||
uses: ./.github/actions/create-conda-env
|
|
||||||
- name: Run tests
|
|
||||||
uses: ./.github/actions/run-tests
|
|
||||||
with:
|
|
||||||
group-key: "group-tracegen"
|
|
||||||
project-key: "tracegen"
|
|
||||||
|
|
||||||
icenet-run-tests:
|
|
||||||
name: icenet-run-tests
|
|
||||||
needs: prepare-chipyard-other
|
|
||||||
runs-on: self-hosted
|
|
||||||
steps:
|
|
||||||
- name: Delete old checkout
|
|
||||||
run: |
|
|
||||||
ls -alh .
|
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
|
||||||
ls -alh .
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
- name: Git workaround
|
|
||||||
uses: ./.github/actions/git-workaround
|
|
||||||
- name: Create conda env
|
|
||||||
uses: ./.github/actions/create-conda-env
|
|
||||||
- name: Run tests
|
|
||||||
uses: ./.github/actions/run-tests
|
|
||||||
with:
|
|
||||||
group-key: "group-other"
|
|
||||||
project-key: "icenet"
|
|
||||||
|
|
||||||
testchipip-run-tests:
|
|
||||||
name: testchipip-run-tests
|
|
||||||
needs: prepare-chipyard-other
|
|
||||||
runs-on: self-hosted
|
|
||||||
steps:
|
|
||||||
- name: Delete old checkout
|
|
||||||
run: |
|
|
||||||
ls -alh .
|
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
|
||||||
ls -alh .
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
- name: Git workaround
|
|
||||||
uses: ./.github/actions/git-workaround
|
|
||||||
- name: Create conda env
|
|
||||||
uses: ./.github/actions/create-conda-env
|
|
||||||
- name: Run tests
|
|
||||||
uses: ./.github/actions/run-tests
|
|
||||||
with:
|
|
||||||
group-key: "group-other"
|
|
||||||
project-key: "testchipip"
|
|
||||||
|
|
||||||
rocketchip-run-tests:
|
|
||||||
name: rocketchip-run-tests
|
|
||||||
needs: prepare-chipyard-other
|
|
||||||
runs-on: self-hosted
|
|
||||||
steps:
|
|
||||||
- name: Delete old checkout
|
|
||||||
run: |
|
|
||||||
ls -alh .
|
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
|
||||||
ls -alh .
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
- name: Git workaround
|
|
||||||
uses: ./.github/actions/git-workaround
|
|
||||||
- name: Create conda env
|
|
||||||
uses: ./.github/actions/create-conda-env
|
|
||||||
- name: Run amba tests
|
|
||||||
uses: ./.github/actions/run-tests
|
|
||||||
with:
|
|
||||||
group-key: "group-other"
|
|
||||||
project-key: "rocketchip-amba"
|
|
||||||
# Below tests segfault with verilator, work fine in VCS
|
|
||||||
# - name: Run tlsimple tests
|
|
||||||
# uses: ./.github/actions/run-tests
|
|
||||||
# with:
|
|
||||||
# group-key: "group-other"
|
|
||||||
# project-key: "rocketchip-tlsimple"
|
|
||||||
# - name: Run tlwidth tests
|
|
||||||
# uses: ./.github/actions/run-tests
|
|
||||||
# with:
|
|
||||||
# group-key: "group-other"
|
|
||||||
# project-key: "rocketchip-tlwidth"
|
|
||||||
# - name: Run tlxbar tests
|
|
||||||
# uses: ./.github/actions/run-tests
|
|
||||||
# with:
|
|
||||||
# group-key: "group-other"
|
|
||||||
# project-key: "rocketchip-tlxbar"
|
|
||||||
|
|
||||||
# Sentinel job to simplify how we specify which checks need to pass in branch
|
# Sentinel job to simplify how we specify which checks need to pass in branch
|
||||||
# protection and in Mergify
|
# protection and in Mergify
|
||||||
@@ -673,23 +474,15 @@ jobs:
|
|||||||
# When adding new top level jobs, please add them to `needs` below
|
# When adding new top level jobs, please add them to `needs` below
|
||||||
all_tests_passed:
|
all_tests_passed:
|
||||||
name: "all tests passed"
|
name: "all tests passed"
|
||||||
needs: [chipyard-rocket-run-tests,
|
needs: [
|
||||||
chipyard-hetero-run-tests,
|
# chipyard-rocket-run-tests,
|
||||||
chipyard-boom-run-tests,
|
# chipyard-boom-run-tests,
|
||||||
chipyard-shuttle-run-tests,
|
chipyard-vortex-run-tests,
|
||||||
chipyard-cva6-run-tests,
|
chipyard-coalescer-run-tests,
|
||||||
chipyard-ibex-run-tests,
|
coalescer-run-tests,
|
||||||
chipyard-sodor-run-tests,
|
# chipyard-gemmini-run-tests,
|
||||||
chipyard-sha3-run-tests,
|
# testchipip-run-tests,
|
||||||
chipyard-gemmini-run-tests,
|
# rocketchip-run-tests,
|
||||||
chipyard-manymmioaccels-run-tests, # chipyard-nvdla-run-tests,
|
|
||||||
chipyard-prefetchers-run-tests,
|
|
||||||
chipyard-mempress-run-tests,
|
|
||||||
tracegen-boom-run-tests,
|
|
||||||
tracegen-run-tests,
|
|
||||||
icenet-run-tests,
|
|
||||||
testchipip-run-tests,
|
|
||||||
rocketchip-run-tests,
|
|
||||||
]
|
]
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -133,3 +133,6 @@
|
|||||||
[submodule "generators/hardfloat"]
|
[submodule "generators/hardfloat"]
|
||||||
path = generators/hardfloat
|
path = generators/hardfloat
|
||||||
url = https://github.com/ucb-bar/berkeley-hardfloat.git
|
url = https://github.com/ucb-bar/berkeley-hardfloat.git
|
||||||
|
[submodule "generators/rocket-gpu"]
|
||||||
|
path = generators/rocket-gpu
|
||||||
|
url = git@github.com:hansungk/rocket-gpu.git
|
||||||
|
|||||||
@@ -36,13 +36,13 @@ class WithRadBootROM(address: BigInt = 0x10000, size: Int = 0x10000, hang: BigIn
|
|||||||
})
|
})
|
||||||
|
|
||||||
class RadianceROMConfig extends Config(
|
class RadianceROMConfig extends Config(
|
||||||
new freechips.rocketchip.subsystem.WithRadianceCores() ++
|
new freechips.rocketchip.subsystem.WithRadianceCores(1, useVxCache = false) ++
|
||||||
new freechips.rocketchip.subsystem.WithCoherentBusTopology ++
|
new freechips.rocketchip.subsystem.WithCoherentBusTopology ++
|
||||||
new WithExtMemSize(BigInt("80000000", 16)) ++
|
new WithExtMemSize(BigInt("80000000", 16)) ++
|
||||||
new WithRadBootROM() ++
|
new WithRadBootROM() ++
|
||||||
new WithRadROMs(0x7FFF0000L, 0x10000, "sims/vcs/args.bin") ++
|
new WithRadROMs(0x7FFF0000L, 0x10000, "sims/args.bin") ++
|
||||||
new WithRadROMs(0x20000L, 0x8000, "sims/vcs/op_a.bin") ++
|
new WithRadROMs(0x20000L, 0x8000, "sims/op_a.bin") ++
|
||||||
new WithRadROMs(0x28000L, 0x8000, "sims/vcs/op_b.bin") ++
|
new WithRadROMs(0x28000L, 0x8000, "sims/op_b.bin") ++
|
||||||
new AbstractConfig)
|
new AbstractConfig)
|
||||||
|
|
||||||
class RadianceConfig extends Config(
|
class RadianceConfig extends Config(
|
||||||
@@ -61,9 +61,9 @@ class RadianceConfigVortexCache extends Config(
|
|||||||
// new testchipip.WithMbusScratchpad(banks=2) ++
|
// new testchipip.WithMbusScratchpad(banks=2) ++
|
||||||
new WithExtMemSize(BigInt("80000000", 16)) ++
|
new WithExtMemSize(BigInt("80000000", 16)) ++
|
||||||
new WithRadBootROM() ++
|
new WithRadBootROM() ++
|
||||||
new WithRadROMs(0x7FFF0000L, 0x10000, "sims/vcs/args.bin") ++
|
new WithRadROMs(0x7FFF0000L, 0x10000, "sims/args.bin") ++
|
||||||
new WithRadROMs(0x20000L, 0x8000, "sims/vcs/op_a.bin") ++
|
new WithRadROMs(0x20000L, 0x8000, "sims/op_a.bin") ++
|
||||||
new WithRadROMs(0x28000L, 0x8000, "sims/vcs/op_b.bin") ++
|
new WithRadROMs(0x28000L, 0x8000, "sims/op_b.bin") ++
|
||||||
new AbstractConfig
|
new AbstractConfig
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Submodule generators/rocket-chip updated: fc7c2d05ca...e02ba3476b
1
generators/rocket-gpu
Submodule
1
generators/rocket-gpu
Submodule
Submodule generators/rocket-gpu added at 1b34865125
Reference in New Issue
Block a user