Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demo 1 Ping, Pong and Management programs #151

Draft
wants to merge 44 commits into
base: staging
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
7650d5f
Add synthesizable wishbone memories.
lmbollen Jun 10, 2022
d8b9ff9
add contentGenerator
lmbollen Jul 5, 2022
3594bfa
add initial content configurations to wbStorage
lmbollen Jul 5, 2022
7f56bb8
enable testContentGen
lmbollen Jul 5, 2022
9ce787d
WIP wbStorage testing
lmbollen Jul 5, 2022
0f195fa
satisfy 1 <= initDepth for Undefined initial contents.
lmbollen Aug 9, 2022
ab851ec
small fixups
lmbollen Sep 13, 2022
c160e3e
instruction memory element wishbone spec testing (#116)
hydrolarus Sep 16, 2022
4cc4494
small fixes
lmbollen Sep 16, 2022
7855cdb
Remove reorder buffers
lmbollen Jun 7, 2022
cf72e9b
Add TODO to re-enable the switch test before merging.
lmbollen Jul 26, 2022
a6b520e
Re-enable switch test in #71 after #86 disabled it.
lmbollen Aug 2, 2022
a0ee394
Remove old scatterEngine
lmbollen Aug 2, 2022
d4dce37
Add rxUnits and txUnits to switch
lmbollen Aug 11, 2022
5325b8a
SwitchConfig
lmbollen Aug 11, 2022
8175773
round up Switch tests
lmbollen Aug 11, 2022
e2818c8
extra comment
lmbollen Aug 11, 2022
0615420
capitalization
lmbollen Aug 15, 2022
f2f77b3
Use record syntax in SwitchConfig
lmbollen Sep 8, 2022
b6355f1
Pretty Haddock for Bittide.Switch
lmbollen Sep 8, 2022
c7b448f
Processed comments
lmbollen Sep 8, 2022
c4ff89d
Fix test
lmbollen Sep 8, 2022
89c26d5
initial bidirectional GPPE implementation
lmbollen May 6, 2022
62e738b
Bittide processing element
lmbollen Aug 4, 2022
9219e9d
Processed comments
lmbollen Sep 8, 2022
580909f
Apply Protocols.WIshbone types to ProcessingElement
lmbollen Sep 16, 2022
ca2a164
add scatter gather configs
lmbollen Aug 12, 2022
429a57e
use GADTs in S/G units
lmbollen Sep 9, 2022
c001fb6
Add gppe and managementUnit
lmbollen Aug 5, 2022
83f3505
Add documentation
lmbollen Sep 20, 2022
3db7264
Monomorphic node implementation
lmbollen Aug 5, 2022
d715712
bump
lmbollen Aug 8, 2022
bd28f3d
Add simple node config
lmbollen Aug 12, 2022
f649e16
Processed comments
lmbollen Sep 20, 2022
d738ce8
WIP Initial memblob contents
lmbollen Sep 20, 2022
515199f
Change initial content types
lmbollen Sep 26, 2022
c2a90a5
add contentGenerator
lmbollen Jul 5, 2022
d4b0eff
add initial content configurations to wbStorage
lmbollen Jul 5, 2022
b6a6246
Add rxUnits and txUnits to switch
lmbollen Aug 11, 2022
d5f2d15
round up Switch tests
lmbollen Aug 11, 2022
fe824f9
Fixup node
lmbollen Aug 12, 2022
b587758
separate demo package
hydrolarus Sep 15, 2022
b16a5a1
allow component-wise initialisation in firmware
hydrolarus Sep 21, 2022
c994810
write ping-pong programs
hydrolarus Sep 23, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# SPDX-FileCopyrightText: 2022 Google LLC
#
# SPDX-License-Identifier: CC0-1.0

[build]
target = "riscv32imc-unknown-none-elf"
12 changes: 9 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,11 @@ jobs:
run: |
cp .github/cabal.project.simulation cabal.project.local

- name: Install Device Tree Compiler
run: |
apt-get update
apt-get install -y device-tree-compiler

- name: Update Cabal index info
run: |
cabal update
Expand All @@ -362,7 +367,7 @@ jobs:

- name: Run unittests
run: |
cabal run elastic-buffer-sim:unittests
cabal run contranomy-sim:unittests


bittide-tests:
Expand Down Expand Up @@ -411,6 +416,7 @@ jobs:
with:
toolchain: stable
profile: minimal
target: riscv32imc-unknown-none-elf
components: clippy, rustfmt

- name: Rust formatting
Expand All @@ -422,7 +428,7 @@ jobs:
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
args: --target riscv32imc-unknown-none-elf --all-features

firmware-unit-tests:
name: Firmware Unit Tests
Expand Down Expand Up @@ -452,7 +458,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: test
args: --all
args: --target x86_64-unknown-linux-gnu --all

firmware-build-examples:
name: Firmware Build Examples
Expand Down
8 changes: 7 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,11 @@ exclude = [
"firmware/tests",
]
members = [
"firmware/*",
"firmware/bittide-sys",

"firmware/examples/fdt-read",
"firmware/examples/hello",

"demo-1/ping-pong-management",
]
resolver = "2"
2 changes: 2 additions & 0 deletions bittide/bittide.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ library
Bittide.Calendar
Bittide.DoubleBufferedRam
Bittide.Link
Bittide.Node
Bittide.ProcessingElement
Bittide.ScatterGather
Bittide.SharedTypes
Bittide.Switch
Expand Down
Loading