Skip to content

Commit

Permalink
HyperBus WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Scheremo committed Aug 19, 2024
1 parent 3b8f4eb commit 4be0a30
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions hw/chimera_pkg.sv
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ package chimera_pkg;

localparam int HyperRegIdx = 2;
localparam int HyperAXIIdx = 5;
localparam doub_bt HyperRegionStart = 64'h3000_1000;
localparam doub_bt HyperRegionEnd = 64'h3000_2000;
localparam doub_bt HyperRegionStart = 64'h3000_2000;
localparam doub_bt HyperRegionEnd = 64'h3000_3000;

localparam aw_bt ClusterNarrowAxiMstIdWidth = 1;

Expand Down Expand Up @@ -102,9 +102,9 @@ package chimera_pkg;
// REG CFG
cfg.RegExtNumSlv = ExtRegNum;
cfg.RegExtNumRules = ExtRegNum;
cfg.RegExtRegionIdx = {8'h1, 8'h0}; // SnitchBootROM
cfg.RegExtRegionStart = {TopLevelRegionStart, SnitchBootROMRegionStart};
cfg.RegExtRegionEnd = {TopLevelRegionEnd, SnitchBootROMRegionEnd};
cfg.RegExtRegionIdx = {8'h2, 8'h1, 8'h0}; // SnitchBootROM
cfg.RegExtRegionStart = {HyperRegionStart, TopLevelRegionStart, SnitchBootROMRegionStart};
cfg.RegExtRegionEnd = {HyperRegionEnd, TopLevelRegionEnd, SnitchBootROMRegionEnd};

// ACCEL HART/IRQ CFG
cfg.NumExtIrqHarts = ExtCores;
Expand Down
2 changes: 1 addition & 1 deletion hw/chimera_top_wrapper.sv
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ module chimera_top_wrapper
.IsClockODelayed(0), // SCHEREMO: REVIEWME
.AxiAddrWidth(Cfg.AddrWidth),
.AxiDataWidth(Cfg.AxiDataWidth),
.AxiIdWidth(Cfg.AxiMstIdWidth + 4),
.AxiIdWidth($bits(axi_slv_req[0].aw.id)),
.AxiUserWidth(Cfg.AxiUserWidth),

.axi_req_t(axi_slv_req_t),
Expand Down

0 comments on commit 4be0a30

Please sign in to comment.