发明名称 Breaking code execution based on time consumption
摘要 An on-chip system uses a time measurement circuit to trap code that takes longer than expected to execute by breaking code execution on excess time consumption.
申请公布号 US9489287(B2) 申请公布日期 2016.11.08
申请号 US201313974965 申请日期 2013.08.23
申请人 Atmel Corporation 发明人 Hanssen Ingar
分类号 G06F9/44;G06F11/36;G06F11/34 主分类号 G06F9/44
代理机构 Fish & Richardson P.C. 代理人 Fish & Richardson P.C.
主权项 1. A method of breaking code execution based on time consumption performed by an integrated circuit (IC) device, the method comprising: receiving a first signal indicating a start point defined in source code, the first signal generated when the start point is executed by the IC device; starting a counter in a time measurement circuit in response to receiving the first signal; counting, using an interrupt level counter coupled to the counter, interrupt levels for nested interrupt signals; receiving a second signal indicating a stop point defined in the source code, the second signal generated when the stop point is executed by the IC device; stopping the counter in the time measurement circuit in response to receiving the second signal; and generating a program break or time event based on a comparison of time measured by the time measurement circuit with a maximum and minimum time setting.
地址 San Jose CA US