OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /openrisc/trunk/orpsocv2/bench/sysc/include
    from Rev 51 to Rev 52
    Reverse comparison

Rev 51 → Rev 52

/OrpsocMain.h
55,4 → 55,8
//! CPU clock Half period in timescale units
#define BENCH_CLK_HALFPERIOD 20
 
//! System's internal RAM size in byes - found in rtl/verilog/orpsoc_top.v, param for ram_wb module
//! Currently is 32MB (8M words)
#define ORPSOC_SRAM_SIZE (8388608*4)
 
#endif // ORPSOC_MAIN__H
/Or1200MonitorSC.h
73,7 → 73,11
 
// Method to print out the usage for each option
void printUsage();
// Method to dump simulation's RAM contents at finish
void memdump();
 
 
// The ports
sc_in<bool> clk;
 
80,6 → 84,7
private:
 
#define DEFAULT_PROF_FILE "sim.profile"
#define DEFAULT_MEMDUMP_FILE "vorpsoc_ram.dump"
 
// Special NOP instructions
static const uint32_t NOP_NOP = 0x15000000; //!< Normal nop instruction
91,10 → 96,14
// Variables for processor status output
ofstream statusFile;
ofstream profileFile;
int profiling_enabled;
int logging_enabled;
int exit_perf_summary_enabled;
int insn_count;
long long cycle_count;
ofstream memdumpFile;
string memdumpFileName;
int do_memdump, memdump_start_addr, memdump_end_addr;
//! Time measurement variable - for calculating performance of the sim
clock_t start;
/MemoryLoad.h
47,7 → 47,7
 
/* From abstract.h */
#define DEFAULT_MEMORY_START 0
#define DEFAULT_MEMORY_LEN 0x800000
//#define DEFAULT_MEMORY_LEN 0x800000
#define STACK_SIZE 20
#define LABELNAME_LEN 50
#define INSNAME_LEN 15

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.