Skip to content

Commit

Permalink
hw: Add RegAdaptMemCut inside axi_to_reg_v2
Browse files Browse the repository at this point in the history
  • Loading branch information
paulsc96 committed Feb 23, 2024
1 parent d52b755 commit 74f073b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/um/arch.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ The internal interconnect exposes the following parameters:
| `RegMax(Read|Write)Txns` | `dw_bt` | Max. inflight transactions at Regbus AMO filter |
| `RegAmoNumCuts` | `aw_bt` | Number of timing cuts inside Regbus AMO filter |
| `RegAmoPostCut` | `bit` | Whether to insert a cut after Regbus AMO filter |
| `RegAdaptMemCut` | `bit` | Whether to insert a cut inside AXI-to-Rb. adapter |
| `(Axi|Reg)ExtNum(Mst|Slv)` | `0..15` | AXI4 and Regbus number of external Mgrs. or Subs. |
| `(Axi|Reg)ExtNumRules` | `0..15` | AXI4 and Regbus number of external address rules |
| `(Axi|Reg)ExtRegion*` | `doub_bt` | AXI4 and Regbus external address regions |
Expand Down
2 changes: 2 additions & 0 deletions hw/cheshire_pkg.sv
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ package cheshire_pkg;
dw_bt RegMaxWriteTxns;
aw_bt RegAmoNumCuts;
bit RegAmoPostCut;
bit RegAdaptMemCut;
// External AXI ports (limited number of ports and rules)
bit [MaxExtAxiMstWidth-1:0] AxiExtNumMst;
bit [MaxExtAxiSlvWidth-1:0] AxiExtNumSlv;
Expand Down Expand Up @@ -535,6 +536,7 @@ package cheshire_pkg;
RegMaxWriteTxns : 8,
RegAmoNumCuts : 1,
RegAmoPostCut : 1,
RegAdaptMemCut : 1,
// RTC
RtcFreq : 32768,
// Features
Expand Down
3 changes: 2 additions & 1 deletion hw/cheshire_soc.sv
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,8 @@ module cheshire_soc import cheshire_pkg::*; #(
.AxiDataWidth ( Cfg.AxiDataWidth ),
.AxiIdWidth ( AxiSlvIdWidth ),
.AxiUserWidth ( Cfg.AxiUserWidth ),
.RegDataWidth ( 32'd32 ),
.RegDataWidth ( 32 ),
.CutMemReqs ( Cfg.RegAdaptMemCut ),
.axi_req_t ( axi_slv_req_t ),
.axi_rsp_t ( axi_slv_rsp_t ),
.reg_req_t ( reg_req_t ),
Expand Down

0 comments on commit 74f073b

Please sign in to comment.