Skip to content

Commit

Permalink
[setups] move to repo neorv32-setups (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
umarcor authored Jan 18, 2022
2 parents 05087ae + 76de8cc commit 016ff67
Show file tree
Hide file tree
Showing 103 changed files with 61 additions and 8,379 deletions.
56 changes: 0 additions & 56 deletions .github/generate-job-matrix.py

This file was deleted.

11 changes: 0 additions & 11 deletions .github/impl.dockerfile

This file was deleted.

19 changes: 0 additions & 19 deletions .github/sim.dockerfile

This file was deleted.

40 changes: 0 additions & 40 deletions .github/workflows/Containers.yml

This file was deleted.

59 changes: 0 additions & 59 deletions .github/workflows/Implementation.yml

This file was deleted.

57 changes: 56 additions & 1 deletion .github/workflows/Processor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:
jobs:


Processor:
Linux:
runs-on: ubuntu-latest
name: '🐧 Ubuntu | Shell script'

Expand Down Expand Up @@ -75,3 +75,58 @@ jobs:
with:
image: ghcr.io/stnolting/neorv32/sim
cmd: ./sim/run.py --ci-mode -v


Windows:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
include: [
{icon: '⬛', installs: 'MINGW32' },
{icon: '🟦', installs: 'MINGW64' },
]
name: '${{ matrix.icon }} ${{ matrix.installs }} | VUnit'
defaults:
run:
shell: msys2 {0}
steps:

- name: '⚙️ git config'
run: git config --global core.autocrlf input
shell: bash

- name: '🧰 Checkout'
uses: actions/checkout@v2
with:
# The command 'git describe' (used for version) needs the history.
fetch-depth: 0

- name: '${{ matrix.icon }} Setup MSYS2'
uses: msys2/setup-msys2@v2
with:
msystem: ${{ matrix.installs }}
update: true
install: make
pacboy: >
ghdl:p
python-pip:p
riscv64-unknown-elf-gcc:p
- name: '⚙️ Build and install Processor Check software'
run: |
make -C sw/example/processor_check \
RISCV_PREFIX=riscv64-unknown-elf- \
clean_all \
USER_FLAGS+=-DRUN_CHECK \
USER_FLAGS+=-DUART0_SIM_MODE \
USER_FLAGS+=-DSUPPRESS_OPTIONAL_UART_PRINT \
MARCH=rv32imac \
info \
all
- name: '🐍 Install VUnit'
run: pip install vunit_hdl

- name: '🚧 Run Processor Hardware Tests with VUnit'
run: ./sim/run.py --ci-mode -v
117 changes: 0 additions & 117 deletions .github/workflows/Windows.yml

This file was deleted.

4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ sw/image_gen/image_gen.exe
*.cf
*.o

# example bitstreams
/setups/examples/*.bit
/setups/examples/*.svf

# riscv-arch-test

/sim/work/
Loading

0 comments on commit 016ff67

Please sign in to comment.