URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
[/] [openrisc/] [trunk/] [or1ksim/] [sim-config.h] - Diff between revs 202 and 220
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 202 |
Rev 220 |
Line 44... |
Line 44... |
#define STR_SIZE 256
|
#define STR_SIZE 256
|
|
|
/* Number of cycles between checks to runtime.sim.iprompt */
|
/* Number of cycles between checks to runtime.sim.iprompt */
|
#define CHECK_INT_TIME 100000
|
#define CHECK_INT_TIME 100000
|
|
|
|
/* Print to the defined output stream */
|
#define PRINTF(x...) fprintf (runtime.sim.fout, x)
|
#define PRINTF(x...) fprintf (runtime.sim.fout, x)
|
|
|
|
/* Print only if we are not running silently */
|
|
#define PRINTFQ(x...) if (!config.sim.quiet) { fprintf (runtime.sim.fout, x); }
|
|
|
/*! Data structure for configuration data */
|
/*! Data structure for configuration data */
|
struct config
|
struct config
|
{
|
{
|
struct
|
struct
|
{ /* External linkage for SystemC */
|
{ /* External linkage for SystemC */
|
Line 88... |
Line 92... |
char *exe_log_fn; /* RTL state comparison filename */
|
char *exe_log_fn; /* RTL state comparison filename */
|
int exe_bin_insn_log; /* Binary dump log of exec. instructions */
|
int exe_bin_insn_log; /* Binary dump log of exec. instructions */
|
char* exe_bin_insn_log_fn; /* Binary dump log of exec. instructions name */
|
char* exe_bin_insn_log_fn; /* Binary dump log of exec. instructions name */
|
long clkcycle_ps; /* Clock duration in ps */
|
long clkcycle_ps; /* Clock duration in ps */
|
int strict_npc; /* JPB. NPC flushes pipeline when changed */
|
int strict_npc; /* JPB. NPC flushes pipeline when changed */
|
|
int quiet; /* Minimize message output */
|
|
int report_mem_errs; /* Report out of memory accesses */
|
} sim;
|
} sim;
|
|
|
struct
|
struct
|
{ /* Verification API */
|
{ /* Verification API */
|
int enabled; /* Whether is VAPI module enabled */
|
int enabled; /* Whether is VAPI module enabled */
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.