URL
https://opencores.org/ocsvn/or1k_old/or1k_old/trunk
Subversion Repositories or1k_old
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 1177 to Rev 1178
- ↔ Reverse comparison
Rev 1177 → Rev 1178
/trunk/or1ksim/cpu/or32/execute.c
482,8 → 482,19
{ |
int i; |
char temp[100]; |
unsigned int physical_pc; |
|
dumpmemory(iqueue[0].insn_addr, iqueue[0].insn_addr + 4, 1, 0); |
if (physical_pc = peek_into_itlb(iqueue[0].insn_addr)) { |
/* |
* PRINTF("\t\t\tEA: %08x <--> PA: %08x\n", iqueue[0].insn_addr, physical_pc); |
*/ |
dumpmemory(physical_pc, physical_pc + 4, 1, 0); |
} |
else { |
PRINTF("INTERNAL SIMULATOR ERROR:\n"); |
PRINTF("no translation for currently executed instruction\n"); |
} |
|
generate_time_pretty (temp, runtime.sim.cycles * config.sim.clkcycle_ps); |
PRINTF(" (executed) [time %s, #%i]\n", temp, runtime.cpu.instructions); |
if (config.cpu.superscalar) |
494,8 → 505,12
if (config.cpu.superscalar) |
PRINTF ("\n"); |
|
if (peek_into_itlb(pc)) |
dumpmemory(pc, pc + 4, 1, 0); |
if (physical_pc = peek_into_itlb(pc)) { |
/* |
* PRINTF("\t\t\tEA: %08x <--> PA: %08x\n", pc, physical_pc); |
*/ |
dumpmemory(physical_pc, physical_pc + 4, 1, 0); |
} |
else |
PRINTF("%08x: : xxxxxxxx ITLB miss follows", pc); |
|