Line 346... |
Line 346... |
);
|
);
|
#endif
|
#endif
|
|
|
#ifdef OPT_EARLY_BRANCHING
|
#ifdef OPT_EARLY_BRANCHING
|
printw(" %s",
|
printw(" %s",
|
(m_core->v__DOT__thecpu__DOT__instruction_decoder__DOT__genblk1__DOT__r_early_branch)?"EB":" ");
|
(m_core->v__DOT__thecpu__DOT__instruction_decoder__DOT__genblk3__DOT__r_early_branch)?"EB":" ");
|
|
if (m_core->v__DOT__thecpu__DOT__instruction_decoder__DOT__genblk3__DOT__r_early_branch)
|
|
printw(" 0x%08x", m_core->v__DOT__thecpu__DOT__instruction_decoder__DOT__genblk3__DOT__r_branch_pc);
|
|
else printw(" %10s", "");
|
|
printw(" %s",
|
|
(m_core->v__DOT__thecpu__DOT____Vcellinp__pf____pinNumber3)?"-> P3":" ");
|
#endif
|
#endif
|
|
|
/*
|
/*
|
showval(ln, 1, "TRAP", m_core->v__DOT__trap_data);
|
showval(ln, 1, "TRAP", m_core->v__DOT__trap_data);
|
mvprintw(ln, 17, "%s%s",
|
mvprintw(ln, 17, "%s%s",
|
Line 782... |
Line 787... |
printf("dcd_ce = %d\n", dcd_ce()?1:0);
|
printf("dcd_ce = %d\n", dcd_ce()?1:0);
|
#ifdef OPT_PIPELINED
|
#ifdef OPT_PIPELINED
|
printf("dcd_stalled = %d\n", m_core->v__DOT__thecpu__DOT__dcd_stalled);
|
printf("dcd_stalled = %d\n", m_core->v__DOT__thecpu__DOT__dcd_stalled);
|
#endif
|
#endif
|
printf("pf_valid = %d\n", m_core->v__DOT__thecpu__DOT__pf_valid);
|
printf("pf_valid = %d\n", m_core->v__DOT__thecpu__DOT__pf_valid);
|
#ifdef OPT_EARLY_BRANCHING
|
// #ifdef OPT_EARLY_BRANCHING
|
// printf("dcd_early_branch=%d\n", m_core->v__DOT__thecpu__DOT__instruction_decoder__DOT__genblk1__DOT__r_early_branch);
|
// printf("dcd_early_branch=%d\n", m_core->v__DOT__thecpu__DOT__instruction_decoder__DOT__genblk1__DOT__r_early_branch);
|
#endif
|
// #endif
|
|
|
exit(-2);
|
exit(-2);
|
}
|
}
|
|
|
assert(errcount < MAXERR);
|
assert(errcount < MAXERR);
|
Line 1185... |
Line 1190... |
} if (dbg_fp) {
|
} if (dbg_fp) {
|
#ifdef OPT_TRADITIONAL_PFCACHE
|
#ifdef OPT_TRADITIONAL_PFCACHE
|
fprintf(dbg_fp, "PFCACHE %s(%08x,%08x%s),%08x - %08x %s%s%s\n",
|
fprintf(dbg_fp, "PFCACHE %s(%08x,%08x%s),%08x - %08x %s%s%s\n",
|
(m_core->v__DOT__thecpu__DOT__new_pc)?"N":" ",
|
(m_core->v__DOT__thecpu__DOT__new_pc)?"N":" ",
|
m_core->v__DOT__thecpu__DOT__pf_pc,
|
m_core->v__DOT__thecpu__DOT__pf_pc,
|
m_core->v__DOT__thecpu__DOT__instruction_decoder__DOT__genblk1__DOT__r_branch_pc,
|
m_core->v__DOT__thecpu__DOT__instruction_decoder__DOT__genblk3__DOT__r_branch_pc,
|
((m_core->v__DOT__thecpu__DOT__instruction_decoder__DOT__genblk1__DOT__r_early_branch)
|
((m_core->v__DOT__thecpu__DOT__instruction_decoder__DOT__genblk3__DOT__r_early_branch)
|
&&(dcdvalid())
|
&&(dcdvalid())
|
&&(!m_core->v__DOT__thecpu__DOT__new_pc))?"V":"-",
|
&&(!m_core->v__DOT__thecpu__DOT__new_pc))?"V":"-",
|
m_core->v__DOT__thecpu__DOT__pf__DOT__lastpc,
|
m_core->v__DOT__thecpu__DOT__pf__DOT__lastpc,
|
m_core->v__DOT__thecpu__DOT__instruction_pc,
|
m_core->v__DOT__thecpu__DOT__instruction_pc,
|
(m_core->v__DOT__thecpu__DOT__pf__DOT__r_v)?"R":" ",
|
(m_core->v__DOT__thecpu__DOT__pf__DOT__r_v)?"R":" ",
|