Patent ID: 7716528

Claim:
A method for processing signals, the method comprising: detecting within a chip, at least one condition that would result in an occurrence of a hardware bug in one or more of a plurality of on-chip functions prior to said hardware bug occurring; generating within said chip, via a configurable control logic circuit, at least one trigger signal from at least one debug signal upon said detection of said at least one condition; generating, via an on-chip interrupt controller, an interrupt signal to a processor based on said generated trigger signal, wherein said on-chip interrupt controller handles interrupts for said plurality of on-chip functions; causing, by said generated interrupt signal, execution of workaround code that prevents said occurrence of said hardware bug in said one or more of said plurality of on-chip functions; and wherein said at least one debug signal is generated inside or outside the chip by debug circuitry that is controlled at least in part by an output of at least one of said plurality of on-chip functions.