mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-20 11:57:12 -04:00
[icache] Disable S&P diffusion layer in memory scrambling
Signed-off-by: Michael Schaffner <msf@opentitan.org>
This commit is contained in:
parent
94a7446277
commit
56413ecf10
2 changed files with 4 additions and 14 deletions
|
@ -32,7 +32,6 @@ module tb #(
|
|||
localparam int unsigned LineSizeECC = BusSizeECC * IC_LINE_BEATS;
|
||||
localparam int unsigned TagSizeECC = ICacheECC ? (IC_TAG_SIZE + 6) : IC_TAG_SIZE;
|
||||
localparam int unsigned NumAddrScrRounds = 2;
|
||||
localparam int unsigned NumDiffRounds = NumAddrScrRounds;
|
||||
|
||||
ibex_icache_ram_if #(
|
||||
.TagSizeECC(TagSizeECC),
|
||||
|
@ -137,9 +136,7 @@ module tb #(
|
|||
.Depth (IC_NUM_LINES),
|
||||
.DataBitsPerMask (TagSizeECC),
|
||||
.EnableParity (0),
|
||||
.DiffWidth (TagSizeECC),
|
||||
.NumAddrScrRounds (NumAddrScrRounds),
|
||||
.NumDiffRounds (NumDiffRounds)
|
||||
.NumAddrScrRounds (NumAddrScrRounds)
|
||||
) tag_bank (
|
||||
.clk_i (clk),
|
||||
.rst_ni (rst_n),
|
||||
|
@ -171,9 +168,7 @@ module tb #(
|
|||
.DataBitsPerMask (LineSizeECC),
|
||||
.EnableParity (0),
|
||||
.ReplicateKeyStream (1),
|
||||
.DiffWidth (LineSizeECC),
|
||||
.NumAddrScrRounds (NumAddrScrRounds),
|
||||
.NumDiffRounds (NumDiffRounds)
|
||||
.NumAddrScrRounds (NumAddrScrRounds)
|
||||
) data_bank (
|
||||
.clk_i (clk),
|
||||
.rst_ni (rst_n),
|
||||
|
|
|
@ -155,7 +155,6 @@ module ibex_top import ibex_pkg::*; #(
|
|||
localparam int unsigned TagSizeECC = ICacheECC ? (IC_TAG_SIZE + 6) : IC_TAG_SIZE;
|
||||
// Scrambling Parameter
|
||||
localparam int unsigned NumAddrScrRounds = ICacheScramble ? 2 : 0;
|
||||
localparam int unsigned NumDiffRounds = NumAddrScrRounds;
|
||||
|
||||
// Clock signals
|
||||
logic clk;
|
||||
|
@ -565,9 +564,7 @@ module ibex_top import ibex_pkg::*; #(
|
|||
.Depth (IC_NUM_LINES),
|
||||
.DataBitsPerMask (TagSizeECC),
|
||||
.EnableParity (0),
|
||||
.DiffWidth (TagSizeECC),
|
||||
.NumAddrScrRounds (NumAddrScrRounds),
|
||||
.NumDiffRounds (NumDiffRounds)
|
||||
.NumAddrScrRounds (NumAddrScrRounds)
|
||||
) tag_bank (
|
||||
.clk_i,
|
||||
.rst_ni,
|
||||
|
@ -599,9 +596,7 @@ module ibex_top import ibex_pkg::*; #(
|
|||
.DataBitsPerMask (LineSizeECC),
|
||||
.ReplicateKeyStream (1),
|
||||
.EnableParity (0),
|
||||
.DiffWidth (LineSizeECC),
|
||||
.NumAddrScrRounds (NumAddrScrRounds),
|
||||
.NumDiffRounds (NumDiffRounds)
|
||||
.NumAddrScrRounds (NumAddrScrRounds)
|
||||
) data_bank (
|
||||
.clk_i,
|
||||
.rst_ni,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue