URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 239 to Rev 240
- ↔ Reverse comparison
Rev 239 → Rev 240
/trunk/or1ksim/sim-config.h
64,7 → 64,7
|
struct { |
char memory_table_file[STR_SIZE]; /* Memory table filename */ |
int enabled; /* is MC enabled? */ |
int enable; /* is MC enabled? */ |
unsigned POC; /* power on reset configuration register */ |
} mc; |
|
/trunk/or1ksim/sim-config.c
52,7 → 52,7
config.superscalar = 1; |
config.slp = 1; |
config.profile = 0; |
strcpy(config.memory_table_file, "sim.mem"); |
strcpy(config.mc.memory_table_file, "sim.mem"); |
|
mtspr(SPR_VR, SPR_VR_VER & 0x1200); |
|
312,5 → 312,5
} |
|
/* Initialize memory table. */ |
sim_read_memory_table (config.memory_table_file); |
sim_read_memory_table (config.mc.memory_table_file); |
} |