摘要
本文提出了当多处理机系统工作时,为了实现快速有效的通信,采用使多处理器共享存储器方案。IDT7134双口RAM是本方案选择的共享存储器。针对该方案,本文给出了接口电路的硬件设计和软件设计。在接口电路设计中,重点介绍了IDT7134和CPU的连接;在软件设计当中,重点介绍了如何处理地址争用,通过设置一些标志位来使多处理机在访问共享存储器的同一地址时避免冲突,从而有效地实现了数据的高速传输。本方案经理论和实践证明是可行并有效的。
When muhiprocessor systems is working, in order to realize the rapid and effective communication, this paper introduced using multiple processors shared memory scheme. IDT'/134 dual-port RAM is selected as sharing memory. According to the plan, this paper gave the interface circuit of hardware and software design. In the interface circuit design, it focused on the IDT7134 and CPU connection. In software design, this paper focused on how to handle the address contention when the both ports of the RAM have accessed the same location at the same time. Through setting up some software indications to avoid conflicts, it effectively realized data transmission with high speed. This program has been approved by theory and practice that it is feasible and effective.
出处
《电子设计工程》
2011年第7期65-67,共3页
Electronic Design Engineering