Embodiments of the invention relate to input/output interfaces of computer systems.
An input/output controller hub, for example, a platform controller hub (PCH), supports a number of high speed peripheral devices of various I/O protocols and standards. In order to provide Original Equipment Manufacturers (OEMs) the flexibility, the controller hub may include given host controller(s) to support peripheral device(s) in conjunction with the respective protocol(s).
In general, different host controllers are required to support different types of devices that will be connected an input/output port. In view of cost and space constraints, the number of devices supported by the controller hub is therefore limited. For example, if a controller hub supports a maximum of eight PCIe devices, the OEMs will also be limited to a design consumer models that use no more than eight PCIe devices.
Embodiments of the present invention will be understood more fully from the detailed description given below and from the accompanying drawings of various embodiments of the invention, which, however, should not be taken to limit the invention to the specific embodiments, but are for explanation and understanding only.
An apparatus comprises a programmable logic device coupled to an interconnect is presented. In one embodiment, the apparatus includes a non-volatile memory to store code for programming the programmable logic device. A controller will program the programmable logic device such that the programmable logic device in conjunction with the interconnect is operable in a number of modes associated with a number of input/output devices.
In the following description, numerous details are set forth to provide a more thorough explanation of embodiments of the present invention. It will be apparent, however, to one skilled in the art, that embodiments of the present invention may be practiced without these specific details. In other instances, well-known structures and devices are shown in block diagram form, rather than in detail, in order to avoid obscuring embodiments of the present invention.
Some portions of the detailed descriptions which follow are presented in terms of algorithms and symbolic representations of operations on data bits within a computer memory. These algorithmic descriptions and representations are the means used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. An algorithm is here, and generally, conceived to be a self-consistent sequence of steps leading to a desired result. The steps are those requiring physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared, and otherwise manipulated. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like.
It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise as apparent from the following discussion, it is appreciated that throughout the description, discussions utilizing terms such as “processing” or “computing” or “calculating” or “determining” or “displaying” or the like, refer to the action and processes of a computer system, or similar electronic computing device, that manipulates and transforms data represented as physical (electronic) quantities within the computer system's registers and memories into other data similarly represented as physical quantities within the computer system memories or registers or other such information storage, transmission or display devices.
Embodiments of present invention also relate to apparatuses for performing the operations herein. Some apparatuses may be specially constructed for the required purposes, or it may comprise a general purpose computer selectively activated or reconfigured by a computer program stored in the computer. Such a computer program may be stored in a computer readable storage medium, such as, but not limited to, any type of disk including floppy disks, optical disks, CD-ROMs, DVD-ROMs, and magnetic-optical disks, read-only memories (ROMs), random access memories (RAMs), EPROMs, EEPROMs, NVRAMs, magnetic or optical cards, or any type of media suitable for storing electronic instructions, and each coupled to a computer system bus.
The algorithms and displays presented herein are not inherently related to any particular computer or other apparatus. Various general purpose systems may be used with programs in accordance with the teachings herein, or it may prove convenient to construct more specialized apparatus to perform the required method steps. The required structure for a variety of these systems will appear from the description below. In addition, embodiments of the present invention are not described with reference to any particular programming language. It will be appreciated that a variety of programming languages may be used to implement the teachings of the invention as described herein.
A machine-readable medium includes any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer). For example, a machine-readable medium includes read only memory (“ROM”); random access memory (“RAM”); magnetic disk storage media; optical storage media; flash memory devices; etc.
The method and apparatus described herein are for generic input/output interconnects. Specifically, the input/output interconnects are primarily discussed in reference to multi-core processor computer systems. However, the input/output interconnects are not so limited, as they may be implemented on or in association with any integrated circuit device or system, such as cell phones, personal digital assistants, embedded controllers, mobile platforms, desktop platforms, and server platforms, as well as in conjunction with other resources, such as hardware/software threads.
An apparatus comprises a programmable logic device coupled to a common interconnect is presented. In one embodiment, the apparatus includes a non-volatile memory to store code for programming the programmable logic device. A controller will program the programmable logic device such that the common interconnect (in conjunction with the programmable device) is operable in a number of modes associated with a number of input/output devices. The common interconnect will be described in further detail below with additional references to the remaining figures.
In one embodiment, programmable logic device 321 is a field programmable gate array (FPGA) or a complex programmable logic device (CPLD). In one embodiment, programmable logic devices 321-324 are proprietary embedded FPGA cores. In one embodiment, programmable logic devices 321-324 are coupled to interconnects 311-314. A generic host controller includes a programmable logic device and an interconnect, for example, programmable logic device 321 and interconnect 311.
In one embodiment, protocol configuration controller 331 (controller 331) is operable to program programmable logic device 321 such that interconnect 311 is operable in different modes associated with different I/O devices. In one embodiment, non-volatile memory 330 stores code to program/configure programmable logic devices 321-324. In one embodiment, the code is compiled and translated FPGA programming code for various types of host controllers. The FPGA programming code is a result by compiling/translating RTL code which is written to represent one or more host controllers. In one embodiment, the code in non-volatile memory 330 is encrypted. In one embodiment, the various I/O devices include devices operating in conjunction with PCIe (Peripheral Component Interconnect Express), SATA (Serial Advanced Technology Attachment) device, and USB (Universal Serial Bus).
In one embodiment, controller 331 is a microprocessor or a dedicated microcontroller. Controller 331 retrieves code from non-volatile memory 330 and configures programmable logic devices 321-324 using the code so that interconnects 311-314 interconnects operate as host controllers corresponding to I/O devices 301-304.
In one embodiment, controller 331 detects the type of an I/O device in response to insertion of the I/O device, a system event, a BIOS event, or any combination thereof.
In one embodiment, controller 331 decrypts the code from non-volatile memory 330 if the code is encrypted. Controller 331 triggers an error signal if an I/O device is not supported. Controller 331 registers I/O device when the I/O device is ready for use. In one embodiment, controller 331 detects removal of an I/O device from interconnect 311 and the insertion of a second I/O device of a different type to interconnect 311. Controller 331 retrieves the code associated with the second I/O device. Controller 331 configures programmable logic device 321 such that interconnect 311 is operable to communicate with the second I/O device.
In one embodiment, controller 331 sends an interrupt (e.g., Message Signaled Interrupts) to indicate a device connection. In one embodiment, platform controller hub 350 asserts that the I/O device is ready and a corresponding software stack is loaded to enable the I/O device for use in different applications. In one embodiment, a generic host controller driver software layer discovers the attached device and completes any pending configurations. The generic host controller driver software layer uses a software stack associated with the attached device.
In one embodiment, interconnect 311 is a common input/output port (generic) which conforms to a common electrical/connector specification. In one embodiment, interconnect 311 is a generic device interface which is able to sustain multiple I/O protocols over a common physical connector and electrical protocol. Interconnect 311 is operable to detect an attached device by using one or more detection methods such as, for example, wavelength matching and interlock switches.
In one embodiment, interconnect 311 is a converged I/O. A converged I/O is a technology to enable OEMs to have standard connectors on the electronic boards for different types of high speed peripheral devices. In one embodiment, interconnect 311 is configurable by programmable logic device 321 rather than statically assigned to the protocol supported by an attached host controller. A converged I/O is an interconnect architecture that implements a generalized transport infrastructure to provide the ability to simultaneously carry multiple I/O protocols over a common set of wires. Converged I/O may replace multiple connector types found on computers (e.g., a universal serial bus (USB) interface, an IEEE 1394 interface, Ethernet, eSATA, VGA, DVI, DisplayPort, and HDMI) with a single connector type.
In one embodiment, interconnect 311 is configurable to operate in conjunction with different I/O devices without having different host controllers on the electronic board.
In one embodiment, I/O device 301 is an input/output device to communicate with processing unit 332. Examples of I/O devices includes input/output devices, bidirectional input/output devices, input devices, output devices, and other peripheral devices which capable of communicating with a computer system.
In one embodiment, I/O device 301 can be coupled to any of the interconnect (interconnects 311-314) such that I/O device 301 can be located at different locations on a electronic board. OEMs can dynamically configure PCH 350 to cater for different product models based on different board layouts.
In one embodiment, if interconnect 311 (converged I/O port) is not statically connected to a device, I/O device 301 is an I/O device attached by a user. Controller 331, upon detection of the type I/O device 301, receives an interrupt. Controller 331 fetches the corresponding FPGA programming code from non-volatile memory 330. For example, if a SATA device is plugged in to interconnect 311, the programmable logic device 321 (coupled to interconnect 311) is programmed into the functionality of a SATA host controller. If the SATA device is removed and a USB device is attached on the same interconnect, then programmable logic device 321 is dynamically reprogrammed into a USB host controller.
In one embodiment, OEMs have the flexibility to choose from one of interconnects 311-314 (at different locations on an electronic board) to be used for a platform device (which is not physically visible to end-users). The placement of the device is not restricted to a particular port. For example, OEMs can choose to configure interconnects into different combinations of SATA host controllers and PCIe host controllers (e.g., 2 PCIe and 2 SATA controllers, 4 PCIe controllers, 4 SATA controllers, or 1 PCIE and 3 SATA controllers).
Referring to
In one embodiment, processing logic determines the type of the I/O device (process block 501). In other embodiment, processing logic determines the type of the I/O device based on the content of a system event message.
In one embodiment, processing logic determines whether the I/O device is supported (process block 502). Processing logic triggers an error signal if the I/O device is not supported (process block 510). Otherwise, processing logic retrieves code to program the interconnect such that the interconnect operates in conjunction with the protocol of the I/O device (process block 504). In one embodiment, the code is a compiled result of RTL code written to emulate a host controller of an I/O protocol/standard.
In one embodiment, processing logic decrypts the code and program a programmable logic device attached to the interconnect (process block 505). The programmable logic device is a FPGA or a CPLD. Processing logic registers the I/O device when the device is ready (process block 506).
In one embodiment, processing logic detects removal of the I/O device from the interconnect (process block 507). Processing logic continues to detect insertion of a second I/O device to the interconnect. Processing logic retrieves code to program the interconnect to operate in conjunction with a different protocol according to the type of the second I/O device.
In one embodiment, processor 105 comprises core 101, core 102, cache memory 103, and cache memory 106. In one embodiment, cache memory 103 is a private cache of core 101, whereas cache memory 106 is a private cache of core 102.
In one embodiment, main memory 115 may be implemented in various memory sources, such as dynamic random-access memory (DRAM), hard disk drive (HDD) 120, solid state disk 125 based on NVRAM technology, or a memory source located remotely from a computer system via network interface 130 or via wireless interface 140 containing various storage devices and technologies. The cache memory may be located either within the processor or in close proximity to the processor, such as on the processor's local bus 107.
In one embodiment, non-volatile memory 160 is a system read only memory (ROM) or a non-volatile memory device. In one embodiment, non-volatile memory 160 contains compiled code to program one or more host controllers in platform controller hub 109.
In one embodiment, platform controller hub 109 includes one or more I/O host controllers that control one or more I/O interconnects (not shown). In one embodiment, platform controller hub 109 is coupled to processor 105 with a single link (i.e., interconnect or bus). In one embodiment, this coupling may be accomplished over a series of links. In one embodiment, processor 105 is coupled over a first link (e.g., local bus 107) to memory/graphics controller 108 (where the memory complex interfaces with a memory subsystem), and memory/graphics controller 108 is coupled to platform controller hub 109 over a second link. In one embodiment, I/O interconnects are a combination of point-to-point interconnects and buses.
In many embodiments, at least one processor 105 is present. In one embodiment, multiple processor cores are present in the system (cores 101-102). In one embodiment, multiple processors, each with single or multi-cores are present in the system (not shown). In embodiments where there are multiple cores and/or multiple processors in the system, a single master core is designated to perform boot and other such system handling processes in the system.
In one embodiment, processor 105, cache memory 106, memory/graphics controller 108, and platform controller hub 109 are in a same package. In one embodiment, processor 105, cache memory 106, memory/graphics controller 108, and platform controller hub 109 are on a same substrate. In one embodiment, processor 105, cache memory 106, memory/graphics controller 108, and platform controller hub 109 are on a same substrate or in a same package.
Other embodiments of the invention, however, may exist in other circuits, logic units, or devices in conjunction with the system of
The system of
Other embodiments of the invention, however, may exist in other circuits, logic units, or devices within the system of
The invention is not limited to the embodiments described, but can be practiced with modification and alteration within the spirit and scope of the appended claims. For example, it should be appreciated that the present invention is applicable for use with all types of semiconductor integrated circuit (“IC”) chips. Examples of these IC chips include but are not limited to processors, controllers, chipset components, programmable logic arrays (PLA), memory chips, network chips, or the like. Moreover, it should be appreciated that exemplary sizes/models/values/ranges may have been given, although embodiments of the present invention are not limited to the same. As manufacturing techniques (e.g., photolithography) mature over time, it is expected that devices of smaller size could be manufactured.
Whereas many alterations and modifications of the embodiment of the present invention will no doubt become apparent to a person of ordinary skill in the art after having read the foregoing description, it is to be understood that any particular embodiment shown and described by way of illustration is in no way intended to be considered limiting. Therefore, references to details of various embodiments are not intended to limit the scope of the claims which in themselves recite only those features regarded as essential to the invention.