Certain semiconductor architectures such as advanced extensible interface (AXI) and open core protocol (OCP)-based architectures are modular and allow for rapid proliferation by quickly adding or deleting intellectual property (IP) blocks from an existing design. The key elements that make this possible are an interconnect fabric that can be automatically generated for a given configuration, and a large ecosystem of IP blocks that all implement the same standard interface and can be seamlessly plugged into these fabrics.
Though these IP blocks (also referred to as IPs) offer a rich set of functionality, they cannot be used in a personal computer (PC) system, as they lack some key features required for peripheral component interconnect (PCI) compatibility. For example, these IPs operate at fixed addresses, precluding plug-and-play; there is no mechanism for discovery and enumeration; PCI-style ordering is not implemented; and PCI-style power management features are missing.
Embodiments use a technique that enables use of heterogeneous resources, such as AXI/OCP technologies, in a PC-based system such as a PCI-based system without making any changes to the IP resources themselves. Embodiments provide two very thin hardware blocks, referred to herein as a Yunit and a shim, that can be used to plug AXI/OCP IP into an auto-generated interconnect fabric to create PCI-compatible systems. As will be described below, in one embodiment a first (e.g., a north) interface of the Yunit connects to an adapter block that interfaces to a PCI-compatible bus such as a direct media interface (DMI) bus, a PCI bus, or a Peripheral Component Interconnect Express (PCIe) bus. A second (e.g., south) interface connects directly to a non-PC interconnect, such as an AXI/OCP interconnect. In various implementations, this bus may be an OCP bus.
The Yunit implements PCI enumeration by translating PCI configuration cycles into transactions that the target IP can understand. This unit also performs address translation from re-locatable PCI addresses into fixed AXI/OCP addresses and vice versa. The Yunit may further implement an ordering mechanism to satisfy a producer-consumer model (e.g., a PCI producer-consumer model).
In turn, individual IPs are connected to the interconnect via dedicated PCI shims. Each shim may implement the entire PCI header for the corresponding IP. The Yunit routes all accesses to the PCI header and the device memory space to the shim. The shim consumes all header read/write transactions and passes on other transactions to the IP. In some embodiments, the shim also implements all power management related features for the IP.
Referring now to
As shown in
In turn, downstream communications can occur according to a non-PC communication protocol such as the OCP protocol shown in
Adapter 20 communicates with a Yunit 30, which as described above may handle various PCI or other such PC-based operations. On its downstream side Yunit 30 may be coupled to an interconnect 40, which may provide interconnection and routing of communications between Yunit 30 and a plurality of different heterogeneous resources. In the embodiment shown in
Still referring to
Thus, rather than being a monolithic compatibility block, embodiments that implement a Yunit take a distributed approach. Functionality that is common across all IPs, e.g., address translation and ordering, is implemented in the Yunit, while IP-specific functionality such as power management, error handling, and so forth, is implemented in the shims that are tailored to that IP.
In this way, a new IP can be added with minimal changes to the Yunit. For example, in one implementation the changes may occur by adding a new entry in an address redirection table. While the shims are IP-specific, in some implementations a large amount of the functionality (e.g., more than 90%) is common across all IPs. This enables a rapid reconfiguration of an existing shim for a new IP.
Embodiments thus also enable use of auto-generated interconnect fabrics without modification. In a point-to-point bus architecture, designing interconnect fabrics can be a challenging task. The Yunit approach described above leverages an industry ecosystem into a PCI system with minimal effort and without requiring any modifications to industry-standard tools.
Adapter 120 communicates with a Yunit 130, which as described above may handle various PCI or other such PC-based operations. On its downstream side Yunit 130 may be coupled to an interconnect 140 to provide interconnection and routing of communications between Yunit 130 and different heterogeneous resources. In the embodiment shown in
Still referring to
Embodiments may be implemented in code and may be stored on a storage medium having stored thereon instructions which can be used to program a system to perform the instructions. The storage medium may include, but is not limited to, any type of disk including floppy disks, optical disks, compact disk read-only memories (CD-ROMs), compact disk rewritables (CD-RWs), and magneto-optical disks, semiconductor devices such as read-only memories (ROMs), random access memories (RAMs) such as dynamic random access memories (DRAMs), static random access memories (SRAMs), erasable programmable read-only memories (EPROMs), flash memories, electrically erasable programmable read-only memories (EEPROMs), magnetic or optical cards, or any other type of media suitable for storing electronic instructions.
While the present invention has been described with respect to a limited number of embodiments, those skilled in the art will appreciate numerous modifications and variations therefrom. It is intended that the appended claims cover all such modifications and variations as fall within the true spirit and scope of this present invention.
This application is a continuation of U.S. patent application Ser. No. 13/891,501, filed Mar. 10, 2013, which is a continuation of U.S. patent application Ser. No. 13/477,631, filed May 22, 2012, now U.S. Pat. No. 8,463,975, issued Jun. 11, 2013, which is a continuation of U.S. patent application Ser. No. 13/180,697, filed Jul. 12, 2011, now U.S. Pat. No. 8,209,456, issued Jun. 26, 2012, which is a continuation of U.S. patent application Ser. No. 12/841,889, filed Jul. 22, 2010, now U.S. Pat. No. 8,010,731, which is a continuation of U.S. patent application Ser. No. 12/080,076, filed Mar. 31, 2008, now U.S. Pat. No. 7,783,819, the content of which is hereby incorporated by reference.
Number | Date | Country | |
---|---|---|---|
Parent | 13891501 | May 2013 | US |
Child | 14261934 | US | |
Parent | 13477631 | May 2012 | US |
Child | 13891501 | US | |
Parent | 13180697 | Jul 2011 | US |
Child | 13477631 | US | |
Parent | 12841889 | Jul 2010 | US |
Child | 13180697 | US | |
Parent | 12080076 | Mar 2008 | US |
Child | 12841889 | US |