首页> 外国专利> INSERTING DEBUG INSTRUCTIONS INTO A CPU WITH ON-CHIP INSTRUCTION CACHE.

INSERTING DEBUG INSTRUCTIONS INTO A CPU WITH ON-CHIP INSTRUCTION CACHE.

机译:通过片上指令缓存将调试指令插入到CPU中。

摘要

A structure and a method for 'jamming' instructions into a CPU core in a microprocessor with an on-chip cache memory. In one embodiment, the microprocessor provides a debug mode, which is activated by a signal on a mode pin. In the debug mode, when a signal is received on a second mode pin, a cache miss is generated at the next instruction fetch. Thus, the processor is forced to fetch the next instruction from main memory. The external testing device then provides the instruction on the memory bus as though it is fetched from the main memory in response to the read cycle resulting from the cache miss. Thus the contents of the cache are preserved to maintain consistency before and after interruption of the instruction stream. IMAGE
机译:一种将指令“干扰”到具有片上高速缓冲存储器的微处理器中的CPU内核中的结构和方法。在一个实施例中,微处理器提供一种调试模式,该调试模式由模式引脚上的信号激活。在调试模式下,当在第二个模式引脚上接收到信号时,在下一条指令提取时会生成高速缓存未命中。因此,处理器被迫从主存储器中获取下一条指令。然后,外部测试设备会在内存总线上提供指令,就好像它是从主内存中提取的指令一样,它是对由于高速缓存未命中而导致的读取周期的响应。因此,在中断指令流之前和之后,保留高速缓存的内容以保持一致性。 <图像>

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号