Skip to content

Commit

Permalink
Changed Pads Regs and FLL regs addres map
Browse files Browse the repository at this point in the history
  • Loading branch information
Lore0599 committed Aug 20, 2024
1 parent e02ecf8 commit 7ca68dd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
9 changes: 4 additions & 5 deletions hw/chimera_pkg.sv
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ package chimera_pkg;

import cheshire_pkg::*;

// TODO: Include APB TYPEDEF
`include "apb/typedef.svh"

// ACCEL CFG
Expand Down Expand Up @@ -52,13 +51,13 @@ package chimera_pkg;

// PADs external configuration registers
localparam int PadIdx = 2;
localparam doub_bt PadRegionStart = 64'h3000_8000;
localparam doub_bt PadRegionEnd = 64'h3000_9000;
localparam doub_bt PadRegionStart = 64'h3000_2000;
localparam doub_bt PadRegionEnd = 64'h3000_3000;

// FLL external configuration registers
localparam int FllIdx = 3;
localparam doub_bt FllRegionStart = 64'h3000_9000;
localparam doub_bt FllRegionEnd = 64'h3000_a000;
localparam doub_bt FllRegionStart = 64'h3000_3000;
localparam doub_bt FllRegionEnd = 64'h3000_4000;


localparam aw_bt ClusterNarrowAxiMstIdWidth = 1;
Expand Down
3 changes: 3 additions & 0 deletions sw/include/soc_addr_map.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@
static uint8_t _chimera_numCores[] = {CLUSTER_0_NUMCORES, CLUSTER_1_NUMCORES, CLUSTER_2_NUMCORES,
CLUSTER_3_NUMCORES, CLUSTER_4_NUMCORES};
#define _chimera_numClusters 5

#define CHIMERA_PADFRAME_BASE_ADDRESS 0x30002000
#define FLL_BASE_ADDR 0x30009000
2 changes: 1 addition & 1 deletion sw/tests/testMemBypass.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "offload.h"
#include "soc_addr_map.h"

//#define TOPLEVELREGION 0x30001000
// #define TOPLEVELREGION 0x30001000
#define NUMCLUSTERS 5
#define TESTNARROW 0x050CCE55
#define TESTWIDE 0x060CCE55
Expand Down

0 comments on commit 7ca68dd

Please sign in to comment.