Skip to content

Commit 9e222cd

Browse files
committed
feat: add native axi_to_apb converter
1 parent e55ae2a commit 9e222cd

9 files changed

Lines changed: 942 additions & 0 deletions

File tree

.gitlab-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ run_vsim:
119119
- axi_modify_address
120120
- axi_serializer
121121
- axi_sim_mem
122+
- axi_to_apb
122123

123124
# Modules that pull in shared submodules keep explicit additional dependencies
124125
# to avoid missing a rerun when a shared submodule changes.

Bender.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ sources:
9191
- src/axi_interleaved_xbar.sv
9292
- src/axi_iw_converter.sv
9393
- src/axi_lite_xbar.sv
94+
- src/axi_to_apb.sv
9495
- src/axi_xbar_unmuxed.sv
9596
- src/axi_to_mem_banked.sv
9697
- src/axi_to_mem_interleaved.sv
@@ -131,6 +132,7 @@ sources:
131132
- test/tb_axi_lite_regs.sv
132133
- test/tb_axi_iw_converter.sv
133134
- test/tb_axi_lite_to_apb.sv
135+
- test/tb_axi_to_apb.sv
134136
- test/tb_axi_lite_to_axi.sv
135137
- test/tb_axi_lite_xbar.sv
136138
- test/tb_axi_modify_address.sv

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## Unreleased
99

10+
### Added
11+
- `axi_to_apb`: AXI4+ATOP to APB4 bridge supporting data-width downsizing and address truncation,
12+
built on `axi_to_detailed_mem`. Adds the `axi_to_apb_intf` interface variant and the
13+
`tb_axi_to_apb` testbench.
14+
1015
## 0.39.10 - 2026-06-19
1116

1217
### Added

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ TBS ?= axi_addr_test \
3535
axi_modify_address \
3636
axi_serializer \
3737
axi_sim_mem \
38+
axi_to_apb \
3839
axi_to_axi_lite \
3940
axi_to_mem_banked \
4041
axi_xbar

scripts/run_vsim.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,12 @@ exec_test() {
241241
done
242242
done
243243
;;
244+
axi_to_apb)
245+
for DW in 32 64; do
246+
call_vsim tb_axi_to_apb -gTbAxiDataWidth=$DW \
247+
-t 1ns -coverage -voptargs="+acc +cover=bcesfx"
248+
done
249+
;;
244250
*)
245251
call_vsim tb_$1 -t 1ns -coverage -voptargs="+acc +cover=bcesfx"
246252
;;

0 commit comments

Comments
 (0)