mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-11-19 09:01:05 +00:00
FIxed wrong size of pos_freq_domains
This commit is contained in:
parent
280f5755ed
commit
42c768b523
8 changed files with 6 additions and 15 deletions
|
|
@ -25,6 +25,4 @@
|
||||||
#define PULP_CHIP_STR marsellus
|
#define PULP_CHIP_STR marsellus
|
||||||
#define PULP_CHIP_FAMILY_STR marsellus
|
#define PULP_CHIP_FAMILY_STR marsellus
|
||||||
|
|
||||||
#define PERIPH_FREQUENCY 50000000
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
#define POS_FLL_PERIPH 1
|
#define POS_FLL_PERIPH 1
|
||||||
#define POS_FLL_FC 0
|
#define POS_FLL_FC 0
|
||||||
|
|
||||||
extern int pos_freq_domains[ARCHI_NB_FLL];
|
extern int pos_freq_domains[PI_FREQ_NB_DOMAINS];
|
||||||
|
|
||||||
|
|
||||||
void pos_soc_init();
|
void pos_soc_init();
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,4 @@
|
||||||
#define PULP_CHIP_STR pulp
|
#define PULP_CHIP_STR pulp
|
||||||
#define PULP_CHIP_FAMILY_STR pulp
|
#define PULP_CHIP_FAMILY_STR pulp
|
||||||
|
|
||||||
#define PERIPH_FREQUENCY 50000000
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
#define POS_FLL_PERIPH 1
|
#define POS_FLL_PERIPH 1
|
||||||
#define POS_FLL_FC 0
|
#define POS_FLL_FC 0
|
||||||
|
|
||||||
extern int pos_freq_domains[ARCHI_NB_FLL];
|
extern int pos_freq_domains[PI_FREQ_NB_DOMAINS];
|
||||||
|
|
||||||
|
|
||||||
void pos_soc_init();
|
void pos_soc_init();
|
||||||
|
|
|
||||||
|
|
@ -25,10 +25,4 @@
|
||||||
#define PULP_CHIP_STR pulpissimo
|
#define PULP_CHIP_STR pulpissimo
|
||||||
#define PULP_CHIP_FAMILY_STR pulpissimo
|
#define PULP_CHIP_FAMILY_STR pulpissimo
|
||||||
|
|
||||||
#if __PLATFORM__ == ARCHI_PLATFORM_FPGA
|
|
||||||
#define PERIPH_FREQUENCY 5000000
|
|
||||||
#else
|
|
||||||
#define PERIPH_FREQUENCY 50000000
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
#define POS_FLL_PERIPH 1
|
#define POS_FLL_PERIPH 1
|
||||||
#define POS_FLL_FC 0
|
#define POS_FLL_FC 0
|
||||||
|
|
||||||
extern int pos_freq_domains[ARCHI_NB_FLL];
|
extern int pos_freq_domains[PI_FREQ_NB_DOMAINS];
|
||||||
|
|
||||||
|
|
||||||
void pos_soc_init();
|
void pos_soc_init();
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,8 @@
|
||||||
typedef enum {
|
typedef enum {
|
||||||
PI_FREQ_DOMAIN_FC = 0,
|
PI_FREQ_DOMAIN_FC = 0,
|
||||||
PI_FREQ_DOMAIN_CL = 1,
|
PI_FREQ_DOMAIN_CL = 1,
|
||||||
PI_FREQ_DOMAIN_PERIPH = 2
|
PI_FREQ_DOMAIN_PERIPH = 2,
|
||||||
|
PI_FREQ_NB_DOMAINS = 3
|
||||||
} pi_freq_domain_e;
|
} pi_freq_domain_e;
|
||||||
|
|
||||||
#ifdef ARCHI_HAS_CLUSTER
|
#ifdef ARCHI_HAS_CLUSTER
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
#include <pulp.h>
|
#include <pulp.h>
|
||||||
|
|
||||||
|
|
||||||
int pos_freq_domains[ARCHI_NB_FLL];
|
int pos_freq_domains[PI_FREQ_NB_DOMAINS];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue