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

Sram throughput #279

Closed
wants to merge 3 commits into from
Closed
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
3 changes: 2 additions & 1 deletion rtl/system/sonata_system.sv
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,8 @@ module sonata_system
.HeapBase ( tl_main_pkg::ADDR_SPACE_SRAM ),
.TSMapBase ( tl_main_pkg::ADDR_SPACE_REV_TAG ),
.TSMapSize ( RevTagDepth ),
.RV32B ( ibex_pkg::RV32BFull ),
.RV32M ( ibex_pkg::RV32MFast ),
.RV32B ( ibex_pkg::RV32BNone ),
.ICache ( 1'b1 )
) u_top_tracing (
.clk_i (clk_sys_i),
Expand Down
6 changes: 4 additions & 2 deletions rtl/system/sram.sv
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ module sram #(
// TL-UL device adapters
tlul_adapter_sram #(
.SramAw ( SramAw ),
.EnableRspIntgGen ( 0 )
.EnableRspIntgGen ( 0 ),
.Outstanding ( 2 )
) sram_a_device_adapter (
.clk_i,
.rst_ni,
Expand Down Expand Up @@ -96,7 +97,8 @@ module sram #(

tlul_adapter_sram #(
.SramAw ( SramAw ),
.EnableRspIntgGen ( 0 )
.EnableRspIntgGen ( 0 ),
.Outstanding ( 2 )
) sram_b_device_adapter (
.clk_i,
.rst_ni,
Expand Down
2 changes: 1 addition & 1 deletion vendor/lowrisc_ibex.lock.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
upstream:
{
url: https://github.com/lowrisc/cheriot-ibex.git
rev: adc4803d5d13cdf5a629b3f53fb4ce8d1ac38fe5
rev: ea2df9db3bcea776f0dc72d6d89c31c73798ecd4
}
}
5 changes: 3 additions & 2 deletions vendor/lowrisc_ibex/rtl/ibexc_top.sv
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ module ibexc_top import ibex_pkg::*; import cheri_pkg::*; #(
parameter int unsigned MHPMCounterNum = 0,
parameter int unsigned MHPMCounterWidth = 40,
parameter bit RV32E = 1'b0,
parameter rv32m_e RV32M = RV32MFast,
parameter rv32b_e RV32B = RV32BNone,
parameter bit WritebackStage = 1'b1,
parameter bit BranchPredictor = 1'b0,
Expand Down Expand Up @@ -258,8 +259,8 @@ module ibexc_top import ibex_pkg::*; import cheri_pkg::*; #(
.MHPMCounterNum (MHPMCounterNum ),
.MHPMCounterWidth (MHPMCounterWidth),
.RV32E (RV32E),
.RV32M (RV32MFast),
.RV32B (RV32BNone),
.RV32M (RV32M),
.RV32B (RV32B),
.BranchTargetALU (1'b1),
.ICache (ICache),
.ICacheECC (1'b0),
Expand Down
4 changes: 3 additions & 1 deletion vendor/lowrisc_ibex/rtl/ibexc_top_tracing.sv
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ module ibexc_top_tracing import ibex_pkg::*; import cheri_pkg::*; #(
parameter int unsigned DmHaltAddr = 32'h1A110800,
parameter int unsigned DmExceptionAddr = 32'h1A110808,
parameter bit RV32E = 1'b0,
parameter rv32m_e RV32M = RV32MFast,
parameter rv32b_e RV32B = RV32BNone,
parameter bit CheriTBRE = 1'b1,
parameter bit CheriStkZ = 1'b1,
parameter bit DbgTriggerEn = 1'b1,
parameter int unsigned DbgHwBreakNum = 4,
parameter int unsigned MHPMCounterNum = 0,
parameter rv32b_e RV32B = RV32BFull,
parameter int unsigned HeapBase = 32'h2001_0000,
parameter int unsigned TSMapBase = 32'h2004_0000, // 4kB default
parameter int unsigned TSMapSize = 1024, // in words
Expand Down Expand Up @@ -155,6 +156,7 @@ module ibexc_top_tracing import ibex_pkg::*; import cheri_pkg::*; #(
.DbgTriggerEn (DbgTriggerEn),
.DbgHwBreakNum (DbgHwBreakNum),
.RV32E (RV32E),
.RV32M (RV32M),
.RV32B (RV32B),
.WritebackStage (1'b1),
.BranchPredictor (1'b0),
Expand Down
Loading