Line 30... |
Line 30... |
#define MAX_GPIOS 4 /* Max. number of GPIO modules */
|
#define MAX_GPIOS 4 /* Max. number of GPIO modules */
|
#define MAX_MEMORIES 16 /* Max. number of memory devices attached */
|
#define MAX_MEMORIES 16 /* Max. number of memory devices attached */
|
#define MAX_VGAS 4 /* Max. number of VGAs */
|
#define MAX_VGAS 4 /* Max. number of VGAs */
|
#define MAX_SBUF_LEN 256 /* Max. length of store buffer */
|
#define MAX_SBUF_LEN 256 /* Max. length of store buffer */
|
|
|
|
#define EXE_LOG_HARDWARE 0 /* Print out RTL states */
|
|
#define EXE_LOG_SOFTWARE 1 /* Executed log prints out dissasembly */
|
|
|
#define STR_SIZE (256)
|
#define STR_SIZE (256)
|
|
|
struct config {
|
struct config {
|
struct {
|
struct {
|
int enabled; /* Is tick timer enabled? */
|
int enabled; /* Is tick timer enabled? */
|
Line 207... |
Line 210... |
int mprofile_group; /* Grouping for memory profiler */
|
int mprofile_group; /* Grouping for memory profiler */
|
char mprof_fn[STR_SIZE];/* Memory profiler filename */
|
char mprof_fn[STR_SIZE];/* Memory profiler filename */
|
|
|
int history; /* instruction stream history analysis */
|
int history; /* instruction stream history analysis */
|
int exe_log; /* Print out RTL states? */
|
int exe_log; /* Print out RTL states? */
|
|
int exe_log_type; /* Type of log */
|
|
int exe_log_start; /* First instruction to log */
|
|
int exe_log_end; /* Last instruction to log, -1 if continuous */
|
|
int exe_log_marker; /* If nonzero, place markers before each exe_log_marker instructions */
|
char exe_log_fn[STR_SIZE]; /* RTL state comparison filename */
|
char exe_log_fn[STR_SIZE]; /* RTL state comparison filename */
|
int spr_log; /* Print out SPR states */
|
int spr_log; /* Print out SPR states */
|
char spr_log_fn[STR_SIZE]; /* SPR state log filename */
|
char spr_log_fn[STR_SIZE]; /* SPR state log filename */
|
long clkcycle_ps; /* Clock duration in ps */
|
long clkcycle_ps; /* Clock duration in ps */
|
} sim;
|
} sim;
|