update cluster info
This commit is contained in:
parent
2ab28cf7f7
commit
cb6be16832
@ -7,20 +7,20 @@ static uint8_t fki_dma(uint8_t cluster);
|
||||
static uint8_t fki_axi2stream(uint8_t cluster);
|
||||
static uint8_t fki_stream2axi(uint8_t cluster);
|
||||
static uint8_t fki_dma_adapter(uint8_t cluster);
|
||||
static uint64_t fki_addr_ccc_peMapping(uint8_t cluster);
|
||||
static uint64_t fki_addr_sram1(uint8_t cluster);
|
||||
static uint64_t fki_addr_sram2(uint8_t cluster);
|
||||
static uint64_t fki_addr_cntrl_cva5(uint8_t cluster);
|
||||
static uint64_t fki_addr_cntrl_tgc(uint8_t cluster);
|
||||
static uint64_t fki_addr_ccc_idxTasks(uint8_t cluster);
|
||||
static uint64_t fki_addr_cntrl_tgc_clusterReg(uint8_t cluster);
|
||||
static uint64_t fki_addr_ccc_idxJobs(uint8_t cluster);
|
||||
static uint64_t fki_addr_cntrl_cva5_clusterReg(uint8_t cluster);
|
||||
static uint64_t fki_addr_ccc_configMem(uint8_t cluster);
|
||||
static uint64_t fki_addr_aes_adapter(uint8_t cluster);
|
||||
static uint64_t fki_addr_ut_adapter(uint8_t cluster);
|
||||
static uint64_t fki_addr_sram0(uint8_t cluster);
|
||||
static uint64_t fki_addr_sram3(uint8_t cluster);
|
||||
static inline uint32_t fki_addr_ccc_peMapping(uint8_t cluster);
|
||||
static inline uint32_t fki_addr_sram1(uint8_t cluster);
|
||||
static inline uint32_t fki_addr_sram2(uint8_t cluster);
|
||||
static inline uint32_t fki_addr_cntrl_cva5(uint8_t cluster);
|
||||
static inline uint32_t fki_addr_cntrl_tgc(uint8_t cluster);
|
||||
static inline uint32_t fki_addr_ccc_idxTasks(uint8_t cluster);
|
||||
static inline uint32_t fki_addr_cntrl_tgc_clusterReg(uint8_t cluster);
|
||||
static inline uint32_t fki_addr_ccc_idxJobs(uint8_t cluster);
|
||||
static inline uint32_t fki_addr_cntrl_cva5_clusterReg(uint8_t cluster);
|
||||
static inline uint32_t fki_addr_ccc_configMem(uint8_t cluster);
|
||||
static inline uint32_t fki_addr_aes_adapter(uint8_t cluster);
|
||||
static inline uint32_t fki_addr_ut_adapter(uint8_t cluster);
|
||||
static inline uint32_t fki_addr_sram0(uint8_t cluster);
|
||||
static inline uint32_t fki_addr_sram3(uint8_t cluster);
|
||||
|
||||
#define Compute0 2
|
||||
#define Compute0_ccc 2,0
|
||||
@ -189,7 +189,7 @@ static uint8_t fki_dma_adapter(uint8_t cluster) {
|
||||
}
|
||||
}
|
||||
|
||||
static uint64_t fki_addr_ccc_peMapping(uint8_t cluster) {
|
||||
static inline uint32_t fki_addr_ccc_peMapping(uint8_t cluster) {
|
||||
switch(cluster) {
|
||||
case 2: {
|
||||
return 0x80006000;
|
||||
@ -203,7 +203,7 @@ static uint64_t fki_addr_ccc_peMapping(uint8_t cluster) {
|
||||
}
|
||||
}
|
||||
|
||||
static uint64_t fki_addr_sram1(uint8_t cluster) {
|
||||
static inline uint32_t fki_addr_sram1(uint8_t cluster) {
|
||||
switch(cluster) {
|
||||
case 3: {
|
||||
return 0x90090000;
|
||||
@ -217,7 +217,7 @@ static uint64_t fki_addr_sram1(uint8_t cluster) {
|
||||
}
|
||||
}
|
||||
|
||||
static uint64_t fki_addr_sram2(uint8_t cluster) {
|
||||
static inline uint32_t fki_addr_sram2(uint8_t cluster) {
|
||||
switch(cluster) {
|
||||
case 2: {
|
||||
return 0x800d0000;
|
||||
@ -231,7 +231,7 @@ static uint64_t fki_addr_sram2(uint8_t cluster) {
|
||||
}
|
||||
}
|
||||
|
||||
static uint64_t fki_addr_cntrl_cva5(uint8_t cluster) {
|
||||
static inline uint32_t fki_addr_cntrl_cva5(uint8_t cluster) {
|
||||
switch(cluster) {
|
||||
case 2: {
|
||||
return 0x80008000;
|
||||
@ -245,7 +245,7 @@ static uint64_t fki_addr_cntrl_cva5(uint8_t cluster) {
|
||||
}
|
||||
}
|
||||
|
||||
static uint64_t fki_addr_cntrl_tgc(uint8_t cluster) {
|
||||
static inline uint32_t fki_addr_cntrl_tgc(uint8_t cluster) {
|
||||
switch(cluster) {
|
||||
case 2: {
|
||||
return 0x8000b000;
|
||||
@ -259,7 +259,7 @@ static uint64_t fki_addr_cntrl_tgc(uint8_t cluster) {
|
||||
}
|
||||
}
|
||||
|
||||
static uint64_t fki_addr_ccc_idxTasks(uint8_t cluster) {
|
||||
static inline uint32_t fki_addr_ccc_idxTasks(uint8_t cluster) {
|
||||
switch(cluster) {
|
||||
case 2: {
|
||||
return 0x80005000;
|
||||
@ -273,7 +273,7 @@ static uint64_t fki_addr_ccc_idxTasks(uint8_t cluster) {
|
||||
}
|
||||
}
|
||||
|
||||
static uint64_t fki_addr_cntrl_tgc_clusterReg(uint8_t cluster) {
|
||||
static inline uint32_t fki_addr_cntrl_tgc_clusterReg(uint8_t cluster) {
|
||||
switch(cluster) {
|
||||
case 3: {
|
||||
return 0x8000d000;
|
||||
@ -287,7 +287,7 @@ static uint64_t fki_addr_cntrl_tgc_clusterReg(uint8_t cluster) {
|
||||
}
|
||||
}
|
||||
|
||||
static uint64_t fki_addr_ccc_idxJobs(uint8_t cluster) {
|
||||
static inline uint32_t fki_addr_ccc_idxJobs(uint8_t cluster) {
|
||||
switch(cluster) {
|
||||
case 2: {
|
||||
return 0x80004000;
|
||||
@ -301,7 +301,7 @@ static uint64_t fki_addr_ccc_idxJobs(uint8_t cluster) {
|
||||
}
|
||||
}
|
||||
|
||||
static uint64_t fki_addr_cntrl_cva5_clusterReg(uint8_t cluster) {
|
||||
static inline uint32_t fki_addr_cntrl_cva5_clusterReg(uint8_t cluster) {
|
||||
switch(cluster) {
|
||||
case 2: {
|
||||
return 0x8000a000;
|
||||
@ -315,7 +315,7 @@ static uint64_t fki_addr_cntrl_cva5_clusterReg(uint8_t cluster) {
|
||||
}
|
||||
}
|
||||
|
||||
static uint64_t fki_addr_ccc_configMem(uint8_t cluster) {
|
||||
static inline uint32_t fki_addr_ccc_configMem(uint8_t cluster) {
|
||||
switch(cluster) {
|
||||
case 3: {
|
||||
return 0x90000000;
|
||||
@ -329,7 +329,7 @@ static uint64_t fki_addr_ccc_configMem(uint8_t cluster) {
|
||||
}
|
||||
}
|
||||
|
||||
static uint64_t fki_addr_aes_adapter(uint8_t cluster) {
|
||||
static inline uint32_t fki_addr_aes_adapter(uint8_t cluster) {
|
||||
switch(cluster) {
|
||||
case 2: {
|
||||
return 0x80007000;
|
||||
@ -343,7 +343,7 @@ static uint64_t fki_addr_aes_adapter(uint8_t cluster) {
|
||||
}
|
||||
}
|
||||
|
||||
static uint64_t fki_addr_ut_adapter(uint8_t cluster) {
|
||||
static inline uint32_t fki_addr_ut_adapter(uint8_t cluster) {
|
||||
switch(cluster) {
|
||||
case 3: {
|
||||
return 0x9000e000;
|
||||
@ -357,7 +357,7 @@ static uint64_t fki_addr_ut_adapter(uint8_t cluster) {
|
||||
}
|
||||
}
|
||||
|
||||
static uint64_t fki_addr_sram0(uint8_t cluster) {
|
||||
static inline uint32_t fki_addr_sram0(uint8_t cluster) {
|
||||
switch(cluster) {
|
||||
case 2: {
|
||||
return 0x80010000;
|
||||
@ -371,7 +371,7 @@ static uint64_t fki_addr_sram0(uint8_t cluster) {
|
||||
}
|
||||
}
|
||||
|
||||
static uint64_t fki_addr_sram3(uint8_t cluster) {
|
||||
static inline uint32_t fki_addr_sram3(uint8_t cluster) {
|
||||
switch(cluster) {
|
||||
case 2: {
|
||||
return 0x80110000;
|
||||
|
Loading…
x
Reference in New Issue
Block a user