×

Breakpoint logic unit, debug logic and breakpoint method for a data processing apparatus

  • US 7,334,161 B2
  • Filed: 04/30/2004
  • Issued: 02/19/2008
  • Est. Priority Date: 04/30/2004
  • Status: Active Grant
First Claim
Patent Images

1. A breakpoint logic unit for a data processing apparatus, comprising:

  • a value storage configured to store data indicative of a selected value for an operational characteristic of the data processing apparatus;

    comparator logic configured to compare said selected value with a value of said operational characteristic as generated by the data processing apparatus and to generate at least one result signal indicative of a match between said value and said selected value;

    a control storage configured to store a match control value, if the match control value has a first value the comparator logic being operable to set the at least one result signal if a match is detected between said value and said selected value, while if the match control value has a second value the comparator logic being operable to set the at least one result signal if a match is not detected between said value and said selected value; and

    breakpoint generation logic configured to enable generation of an associated at least one breakpoint signal if the at least one result signal is set;

    wherein the at least one result signal comprises a single result signal, and the breakpoint generation logic is configured to enable generation of an associated single breakpoint signal if the result signal is set;

    wherein said operational characteristic is an indication of an instruction fetch address, and wherein;

    the instructions employed in the data processing apparatus are of variable width;

    said control storage is configured to store a mask comprising a number of bits;

    the comparator logic includes mask logic configured to receive a width control signal indicative of the width of the instruction the subject of the instruction fetch, and to select one or more bits of the mask dependent on the value of the width control signal and a predetermined number of least significant bits of the instruction fetch address generated by the data processing apparatus, the mask logic being further operable to generate a qualifier value derived from the selected one or more bits of the mask;

    the remaining bits of said instruction address forming the value of the operational characteristic compared by the comparator logic with the selected value, and the comparator logic being further configured to generate an intermediate signal indicative of the comparison, the qualifier value being used to qualify the intermediate signal such that a match is only considered to occur if the qualifier value is set.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×