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

Subversion Repositories openrisc

[/] - Rev 859

Rev

Directory listing | View Log | Compare with Previous | RSS feed

Last modification

  • Rev 859, 2013-06-28 19:35:01 GMT
  • Author: olof
  • Log message:
    Execute trapped instruction after breakpoint is removed

    Closes bug #104

    When the instruction replaced by a trap instruction is restored by the
    debugger, this instruction is not executed.

    Proposed solution:

    - Checked for a debug unstall condition plus a trap condition in
    or1200_du(dbg_stall && |except_stop).

    - Then, when this event occur, flush the entire pipeline (in or1200_ctrl) and
    set the pc to npc in or1200_genpc(which is equal to the trapped instruction
    address).

    Signed-off-by: Franck Jullien <crevars at opencores.org>
    acked-by: Olof Kindgren <olof at opencores.org>

powered by: WebSVN 2.1.0

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