发明名称 Single cycle transition pipeline processing using shadow registers
摘要 A system and method for efficiently handling interrupts in a microcontroller environment is disclosed. An interrupt handling circuit preserves a current state of a microcontroller comprising a plurality of primary registers for storing information relating to the current state of the microcontroller and a plurality of shadow registers coupled to at least two of the primary registers for storing the information contained in the coupled primary registers in response to receiving an interrupt enter signal from an interrupt signal generator. In one embodiment the information relating to the current state of the microcontroller includes the program counter, accumulator data, CPU status data, and an address pointer to data memory. In a preferred embodiment, the information is restored to the primary registers within one clock cycle of receiving an interrupt exit signal from the interrupt signal generator. In a pipeline stage embodiment a sequence of interrupt instructions is fed into the pipeline in subsequent clock cycles after the data is stored in the shadow registers, facilitating a rapid response to the interrupt.
申请公布号 US6243804(B1) 申请公布日期 2001.06.05
申请号 US19980121201 申请日期 1998.07.22
申请人 SCENIX SEMICONDUCTOR, INC. 发明人 CHENG CHUCK CHEUK-WING
分类号 G06F9/30;G06F9/38;(IPC1-7):G06F9/48 主分类号 G06F9/30
代理机构 代理人
主权项
地址