Skip to content

Replace AXI atomic adapter with OBI atomic adapter #27

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

Merged
merged 5 commits into from
May 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions .gitlab/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
- .init-env
script:
- make sn-tests
- make pb-sn-tests
artifacts:
paths:
- sw/snitch/tests/build/*.elf
Expand Down
1 change: 1 addition & 0 deletions .gitlab/sw-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@
- { CHS_BINARY: $CHS_BUILD_DIR/simple_offload.spm.elf, SN_BINARY: $SN_BUILD_DIR/simple.elf, PRELMODE: 1 }
# - { CHS_BINARY: $CHS_BUILD_DIR/simple_offload.spm.elf, SN_BINARY: $SN_BUILD_DIR/simple.elf, PRELMODE: 3 }
- { CHS_BINARY: $CHS_BUILD_DIR/simple_offload.spm.elf, SN_BINARY: $SN_BUILD_DIR/non_null_exitcode.elf, NZ_EXIT_CODE: 896 }
- { CHS_BINARY: $CHS_BUILD_DIR/simple_offload.spm.elf, SN_BINARY: $SN_BUILD_DIR/multicluster_atomics.elf }
13 changes: 11 additions & 2 deletions Bender.lock
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,15 @@ packages:
- common_verification
- register_interface
- tech_cells_generic
axi_obi:
revision: null
version: null
source:
Path: hw/axi_obi
dependencies:
- axi
- common_cells
- obi
axi_riscv_atomics:
revision: 0ac3a78fe342c5a5b9b10bff49d58897f773059e
version: 0.8.2
Expand Down Expand Up @@ -198,8 +207,8 @@ packages:
- common_cells
- register_interface
obi:
revision: 8097928cf1b43712f93d5356f336397879b4ad2c
version: 0.1.6
revision: ad1d48f025be540344960ea83b4bff39876f9b36
version: null
source:
Git: https://github.com/pulp-platform/obi.git
dependencies:
Expand Down
2 changes: 2 additions & 0 deletions Bender.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ dependencies:
cheshire: { git: "https://github.com/pulp-platform/cheshire.git", rev: "main" }
floo_noc: { git: "https://github.com/pulp-platform/FlooNoC.git", version: "0.6.1"}
snitch_cluster: { git: "https://github.com/pulp-platform/snitch_cluster.git", rev: "main" }
obi: { git: "https://github.com/pulp-platform/obi.git", rev: "ad1d48f025be540344960ea83b4bff39876f9b36"}
axi_obi: { path: "hw/axi_obi" }
picobello-pd: { path: "./pd" }

workspace:
Expand Down
18 changes: 18 additions & 0 deletions hw/axi_obi/Bender.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright 2023 ETH Zurich and University of Bologna.
# Solderpad Hardware License, Version 0.51, see LICENSE for details.
# SPDX-License-Identifier: SHL-0.51

package:
name: axi_obi
authors:
- "Michael Rogenmoser <michaero@iis.ee.ethz.ch>"

dependencies:
axi: { git: "https://github.com/pulp-platform/axi.git", version: 0.39.1 }
obi: { git: "https://github.com/pulp-platform/obi.git",rev: "ad1d48f025be540344960ea83b4bff39876f9b36"}
common_cells: { git: "https://github.com/pulp-platform/common_cells.git", version: 1.31.1 }

sources:
- src/axi_to_detailed_mem_user.sv
- src/axi_to_obi.sv
- src/obi_to_axi.sv
3 changes: 3 additions & 0 deletions hw/axi_obi/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# AXI - OBI protocol converters

Protocol converters for the pulp-platform OBI and AXI IPs.
Loading