URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
[/] [openrisc/] [trunk/] [or1ksim/] [sim-config.c] - Diff between revs 19 and 82
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 19 |
Rev 82 |
Line 59... |
Line 59... |
#include "atahost.h"
|
#include "atahost.h"
|
#include "generic.h"
|
#include "generic.h"
|
#include "execute.h"
|
#include "execute.h"
|
#include "spr-defs.h"
|
#include "spr-defs.h"
|
#include "debug.h"
|
#include "debug.h"
|
|
#include "jtag.h"
|
#include "misc.h"
|
#include "misc.h"
|
#include "argtable2.h"
|
#include "argtable2.h"
|
|
|
|
|
struct config config;
|
struct config config;
|
Line 113... |
Line 114... |
config.sim.exe_log_end = 0;
|
config.sim.exe_log_end = 0;
|
config.sim.exe_log_marker = 0;
|
config.sim.exe_log_marker = 0;
|
config.sim.exe_log_fn = strdup ("executed.log");
|
config.sim.exe_log_fn = strdup ("executed.log");
|
config.sim.clkcycle_ps = 4000; /* 4000 for 4ns (250MHz) */
|
config.sim.clkcycle_ps = 4000; /* 4000 for 4ns (250MHz) */
|
|
|
|
/* Debug */
|
|
config.debug.jtagcycle_ps = 40000; /* 40000 for 40ns (25MHz) */
|
|
|
/* VAPI */
|
/* VAPI */
|
config.vapi.enabled = 0;
|
config.vapi.enabled = 0;
|
config.vapi.server_port = 50000;
|
config.vapi.server_port = 50000;
|
config.vapi.log_enabled = 0;
|
config.vapi.log_enabled = 0;
|
config.vapi.hide_device_id = 0;
|
config.vapi.hide_device_id = 0;
|
Line 237... |
Line 241... |
runtime.sim.iprompt = 0;
|
runtime.sim.iprompt = 0;
|
runtime.sim.fprof = NULL;
|
runtime.sim.fprof = NULL;
|
runtime.sim.fmprof = NULL;
|
runtime.sim.fmprof = NULL;
|
runtime.sim.fout = stdout;
|
runtime.sim.fout = stdout;
|
|
|
|
/* Debug */
|
|
runtime.debug.instr = JI_UNDEFINED;
|
|
runtime.debug.mod_id = JM_UNDEFINED;
|
|
runtime.debug.write_defined_p = 0; /* No WRITE_COMMAND yet */
|
|
|
/* NPC state. Set to 1 when NPC is changed while the processor is stalled. */
|
/* NPC state. Set to 1 when NPC is changed while the processor is stalled. */
|
cpu_state.npc_not_valid = 0;
|
cpu_state.npc_not_valid = 0;
|
|
|
/* VAPI */
|
/* VAPI */
|
runtime.vapi.vapi_file = NULL;
|
runtime.vapi.vapi_file = NULL;
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.