Skip to content

Commit

Permalink
Merge pull request efabless#28 from Manarabdelaty/incr_user_ram_blocks
Browse files Browse the repository at this point in the history
Updated default number of sram blocks for the user area
  • Loading branch information
RTimothyEdwards authored Nov 2, 2020
2 parents d855783 + ff52415 commit c13de45
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion verilog/rtl/defines.v
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@

// Number of RAM blocks for the mgmt_core
`define MGMT_BLOCKS 2
`define USER_BLOCKS 4
`define USER_BLOCKS 6
2 changes: 2 additions & 0 deletions verilog/rtl/mgmt_soc.v
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ module mgmt_soc (
};

parameter [(`USER_BLOCKS*24)-1:0] USER_BLOCKS_ADR = {
{24'h 50_0000},
{24'h 40_0000},
{24'h 30_0000},
{24'h 20_0000},
{24'h 10_0000},
Expand Down
2 changes: 1 addition & 1 deletion verilog/rtl/storage.v
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Management area has R/W access for MGMT_BLOCKS and RO access for USER_BLOCKS */

module storage #(
parameter USER_BLOCKS = 4, // R/W access
parameter USER_BLOCKS = 6, // R/W access
parameter MGMT_BLOCKS = 2 // R/W access
) (
// MGMT_AREA R/W Interface (MGMT_BLOCKS)
Expand Down
4 changes: 3 additions & 1 deletion verilog/rtl/storage_bridge_wb.v
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module storage_bridge_wb #(
parameter USER_BLOCKS = 4,
parameter USER_BLOCKS = 6,
parameter MGMT_BLOCKS = 2,
parameter MGMT_BASE_ADR = 32'h 0100_0000,
parameter USER_BASE_ADR = 32'h 0200_0000
Expand Down Expand Up @@ -40,6 +40,8 @@ module storage_bridge_wb #(
};

parameter [(USER_BLOCKS*24)-1:0] USER_BLOCKS_ADR = {
{24'h 50_0000},
{24'h 40_0000},
{24'h 30_0000},
{24'h 20_0000},
{24'h 10_0000},
Expand Down

0 comments on commit c13de45

Please sign in to comment.