Skip to content

further reduce latency #646

further reduce latency

further reduce latency #646

Workflow file for this run

name: build & test
on: [push]
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v4
- run: |
pdm install
pdm test
working-directory: gateware
ubuntu-usb-audio:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v4
- uses: YosysHQ/setup-oss-cad-suite@v3
- run: git submodule update --init --recursive
- run: yosys --version
- run: |
pdm install
pdm usb_audio build
working-directory: gateware
- uses: actions/upload-artifact@v4
with:
name: example-usb-audio.bit
path: gateware/build/top.bit
ubuntu-usb-host:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v4
- uses: YosysHQ/setup-oss-cad-suite@v3
- run: git submodule update --init --recursive
- run: yosys --version
- run: |
pdm install
pdm usb_host build --midi-device arturia-keylab49-mkii
working-directory: gateware
- uses: actions/upload-artifact@v4
with:
name: example-usb-host.bit
path: gateware/build/top.bit
ubuntu-bitstream-dsp-nco:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v4
- uses: YosysHQ/setup-oss-cad-suite@v3
- run: git submodule update --init --recursive
- run: yosys --version
- run: |
pdm install
pdm dsp build --dsp-core nco
working-directory: gateware
- uses: actions/upload-artifact@v4
with:
name: example-dsp-svf.bit
path: gateware/build/top.bit
ubuntu-bitstream-dsp-psram-diffuser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v4
- uses: YosysHQ/setup-oss-cad-suite@v3
- run: git submodule update --init --recursive
- run: yosys --version
- run: |
pdm install
pdm dsp build --dsp-core psram_diffuser
working-directory: gateware
- uses: actions/upload-artifact@v4
with:
name: example-dsp-psram-diffuser.bit
path: gateware/build/top.bit
ubuntu-sim-dsp-nco:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v4
- uses: YosysHQ/setup-oss-cad-suite@v3
- run: git submodule update --init --recursive
- run: yosys --version
- run: |
pdm install
pdm dsp sim --dsp-core nco
working-directory: gateware
ubuntu-bitstream-dsp-midicv:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v4
- uses: YosysHQ/setup-oss-cad-suite@v3
- run: git submodule update --init --recursive
- run: yosys --version
- run: |
pdm install
pdm dsp build --dsp-core midicv
working-directory: gateware
- uses: actions/upload-artifact@v4
with:
name: example-dsp-midicv.bit
path: gateware/build/top.bit
ubuntu-bitstream-xbeam:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v4
- uses: YosysHQ/setup-oss-cad-suite@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: True
components: rustfmt, clippy, llvm-tools
target: riscv32imac-unknown-none-elf
- run: cargo install cargo-binutils form
# https://github.com/rust-embedded/svd2rust/issues/863
- run: cargo install svd2rust --locked
- run: git submodule update --init --recursive
- run: yosys --version
- run: |
pdm install
pdm xbeam build
working-directory: gateware
- uses: actions/upload-artifact@v4
with:
name: example-xbeam.bit
path: gateware/build/top.bit
ubuntu-bitstream-selftest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v4
- uses: YosysHQ/setup-oss-cad-suite@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: True
components: rustfmt, clippy, llvm-tools
target: riscv32imac-unknown-none-elf
- run: cargo install cargo-binutils form
- run: cargo install svd2rust --locked
- run: git submodule update --init --recursive
- run: yosys --version
- run: |
pdm install
pdm selftest build
working-directory: gateware
- uses: actions/upload-artifact@v4
with:
name: example-selftest.bit
path: gateware/build/top.bit
ubuntu-bitstream-poly:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v4
- uses: YosysHQ/setup-oss-cad-suite@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: True
components: rustfmt, clippy, llvm-tools
target: riscv32imac-unknown-none-elf
- run: cargo install cargo-binutils form
- run: cargo install svd2rust --locked
- run: git submodule update --init --recursive
- run: yosys --version
- run: |
pdm install
pdm polysyn build
working-directory: gateware
- uses: actions/upload-artifact@v4
with:
name: example-poly.bit
path: gateware/build/top.bit
ubuntu-bitstream-vectorscope:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v4
- uses: YosysHQ/setup-oss-cad-suite@v3
- run: git submodule update --init --recursive
- run: yosys --version
- run: |
pdm install
pdm vectorscope_no_soc build
working-directory: gateware
- uses: actions/upload-artifact@v4
with:
name: example-vectorscope.bit
path: gateware/build/top.bit
ubuntu-bitstream-boot:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v4
- uses: YosysHQ/setup-oss-cad-suite@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: True
components: rustfmt, clippy, llvm-tools
target: riscv32imac-unknown-none-elf
- run: cargo install cargo-binutils form
- run: cargo install svd2rust --locked
- run: git submodule update --init --recursive
- run: yosys --version
- run: |
pdm install
pdm bootloader build
working-directory: gateware
- uses: actions/upload-artifact@v4
with:
name: example-boot.bit
path: gateware/build/top.bit
ubuntu-bitstream-boot-stub:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v4
- uses: YosysHQ/setup-oss-cad-suite@v3
- run: git submodule update --init --recursive
- run: yosys --version
- run: |
pdm install
pdm bootstub build --bootaddr 0x100000
working-directory: gateware
- uses: actions/upload-artifact@v4
with:
name: bootstub1.bit
path: gateware/build/top.bit