首页> 外国专利> Method and apparatus for ordering read and write operations using conflict bits in a write queue

Method and apparatus for ordering read and write operations using conflict bits in a write queue

机译:用于使用写队列中的冲突位对读和写操作进行排序的方法和装置

摘要

A method and apparatus for controlling memory access operations of a pipelined processor using a "write queue" are described. The write queue temporarily stores addresses of writes not yet made in memory. Each write queue entry includes a write-read conflict bit. When an entry is first put into the write queue, the write-read conflict bit is cleared. When a subsequent memory read request occurs, the address of the read request is compared to the addresses stored in the write queue. If there is a match, the write-read conflict bit in the matching entry is set. If after this comparison no conflict bits are set, the read is allowed to proceed to memory before the queued writes. On the other hand, if any conflict bits are set, the read is prevented from proceeding. The conflict bits are cleared as the queued writes are performed in memory. Also, the write queue is able to accept additional entries while a read request is stalled. In a preferred arrangement, data-stream reads (D- reads) are given priority over instruction-stream reads (I-reads), and separate conflict bits are used to indicate D-read conflicts and I-read conflicts. In this fashion, the fetching of data and the fetching of instructions are stalled and resumed independently when conflicts arise.
机译:描述了一种用于使用“写队列”来控制流水线处理器的存储器访问操作的方法和装置。写队列临时存储尚未在内存中进行的写地址。每个写队列条目包括一个写-读冲突位。将条目首次放入写队列时,将清除读写冲突位。当发生后续的内存读取请求时,会将读取请求的地址与写入队列中存储的地址进行比较。如果存在匹配项,则匹配条目中的写-读冲突位将置1。如果在此比较之后未设置任何冲突位,则允许在排队写入之前将读取继续进行到内存中。另一方面,如果设置了任何冲突位,则会阻止进行读取。当在存储器中执行排队的写操作时,将清除冲突位。同样,当读取请求停止时,写入队列能够接受其他条目。在优选的布置中,数据流读取(D-读取)比指令流读取(I-读取)具有优先级,并且单独的冲突位用于指示D-读取冲突和I-读取冲突。以这种方式,当发生冲突时,数据的获取和指令的获取被停止并独立地恢复。

著录项

  • 公开/公告号US5432918A

    专利类型

  • 公开/公告日1995-07-11

    原文格式PDF

  • 申请/专利权人 DIGITAL EQUIPMENT CORPORATION;

    申请/专利号US19920901646

  • 发明设计人 REBECCA L. STAMM;

    申请日1992-06-22

  • 分类号G06F13/14;G06F9/30;

  • 国家 US

  • 入库时间 2022-08-22 04:04:39

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号