# Patent

## Title
System and method of sharing memory by arbitrating through an internal data bus

## Abstract

One or more methods and systems of sharing an external memory between functional modules of an integrated circuit chip are presented. The invention provides a system and method of reducing the amount of off-chip memory utilized by one or more integrated circuit chips. In one embodiment, a method for sharing an off-chip memory among one or more on-chip functional modules comprises arbitrating the communication of data between one or more on-chip functional modules and the off-chip memory. In one embodiment, the arbitration is facilitated by using an internal data bus that is controlled by a bus arbiter control unit. In one embodiment, a system for sharing an off-chip memory between functional modules of an integrated circuit comprises a security processing module, a media access controller module, a data interface, and a data bus.

## Background
RELATED APPLICATIONS/INCORPORATION BY REFERENCE
This application makes reference to and claims priority from U.S. Provisional Patent Application Ser. No. 60/502,374, entitled “ON-Chip TCPA FUNCTION”, filed on Sep. 12, 2003, the complete subject matter of which is incorporated herein by reference in its entirety.
This application is also related to U.S. patent application Ser. No. 10/899,815, entitled “SYSTEM AND METHOD OF UTILIZING OFF-CHIP MEMORY”, filed on Jul. 27, 2004, the complete subject matter of which is incorporated herein by reference in its entirety.


FEDERALLY SPONSORED RESEARCH OR DEVELOPMENT
[Not Applicable]
MICROFICHE/COPYRIGHT REFERENCE
[Not Applicable]
BACKGROUND OF THE INVENTION
Speed and performance issues necessitate the use of memory in order to adequately implement the critical processes and functions provided by an integrated circuit chip. Often, an integrated circuit chip will interface with its own dedicated memory. The memory may comprise an external flash memory.
For example, media access controller chips often require the use of flash memory in order to effectively process packets that it transmits or receives. The media access controller may, for example, require the flash memory to store program code, MAC addresses, and other information or descriptors. Furthermore, the flash memory may act as a buffer to continuously transmit and receive packets at high speeds with other devices.
Similarly, off-chip memory may be required for processing performed by integrated circuit chips employing a trusted platform module (TPM). The trusted platform module (TPM) was developed by Trusted Computing Platform Alliance (TCPA) in order to provide a more secure computing platform for computing devices such as computers, PDAs, and wireless devices. An external memory, such as a flash memory, may be used to store secure data used by the TPM.
Unfortunately, the use of such multiple off-chip memories (e.g., flash memories) in a computing device often translates to additional costs. There are incremental costs associated with furnishing additional integrated circuit memory chips. Furthermore, this translates to increased space requirements, necessitating the use of additional board space in order to manufacture a computing device. Also, incorporating additional memory chips on a printed circuit board relates to increased power consumption and power dissipation. The increased power consumption may have a significant impact on battery life while the increased power dissipation may affect the stable operating environment of the computing device.
Further limitations and disadvantages of conventional and traditional approaches will become apparent to one of skill in the art, through comparison of such systems with some aspects of the present invention as set forth in the remainder of the present application with reference to the drawings.
BRIEF SUMMARY OF THE INVENTION
Aspects of the invention provide for a method and system of sharing an external memory between functional modules of an integrated circuit chip. The system and method reduces the amount of off-chip memory utilized by one or more integrated circuit chips by sharing one or more external memories.
In one embodiment, a method for sharing an off-chip memory among one or more on-chip functional modules comprises arbitrating data communication between one or more on-chip functional modules and the off-chip memory by way of an on-chip internal data bus.
In one embodiment, a method for sharing a memory between a security processing module and a media access controller module comprises arbitrating data flow from the security processing module and the media access controller module to the memory by way of an internal data bus.
In one embodiment, a system for sharing an off-chip memory among one or more functional modules of an integrated circuit comprises a first functional module, a second functional module, a data interface, and an internal data bus.
These and other advantages, aspects, and novel features of the present invention, as well as details of illustrated embodiments, thereof, will be more fully understood from the following description and drawings.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram of two functional modules in an integrated circuit that utilizes a common off-chip memory in accordance with an embodiment of the invention.
FIG. 2 is a block diagram of a security processing module and a media access controller module in an integrated circuit that utilizes a common off-chip memory in accordance with an embodiment of the invention.



DETAILED DESCRIPTION OF THE INVENTION
Aspects of the invention provide a system and method of reducing the amount of off-chip memory required by consolidating the functions of the one or more integrated circuit chips into a single integrated circuit chip. A single integrated circuit chip is implemented that incorporates the functions of the one or more integrated circuit chips. In one embodiment, the functions may be represented as functional modules within the single integrated circuit chip wherein the number of functional modules correspond to the number of integrated circuit chips prior to the consolidation. Aspects of the present invention allow the functional modules of the integrated circuit chip to access and share a common external memory. In one embodiment, the common external memory comprises a flash memory.
In one embodiment of the present invention, the functions provided by two integrated circuit chips, in which each chip utilizes its own dedicated memory, are implemented on a single integrated circuit chip. The functions provided by each integrated circuit prior to the consolidation are represented by their corresponding function modules. In this embodiment, the two functional modules incorporated within the single integrated circuit chip may now be configured to share the use of a single off-chip memory. The off-chip memory is shared between the two functional modules by way of arbitration accomplished using an internal data bus. In one embodiment, the arbitration is facilitated using a bus arbiter control unit. As a consequence, the number of memory chips used is reduced from two chips to one chip.
In one embodiment, the two functional modules comprise a trusted computing or trusted platform module (TPM) and a media access controller module (MACM). The trusted platform module implements one or more processes that provide various security functions. The security functions may comprise user authentication functions as well as secure communication functions. In one embodiment, the trusted platform module (TPM) complies with one or more versions (e.g., 1.0, 1.1, 1.1 b, 1.2) of the Trusted Computing Platform Alliance (TCPA) specification for Trusted Platform Modules (TPM). The one or more specifications may be obtained at the following website: www.trustedcomputinggroup.org. The one or more specifications are incorporated herein by reference in their entirety. In one embodiment, the MACM complies with IEEE 802.3 specifications. In one embodiment, the TPM and MACM functional modules may be consolidated onto a single integrated circuit chip. In one embodiment, the single integrated circuit chip may be situated on a network interface card (NIC) or on a LAN on motherboard (LOM) of a computing device. The computing device may comprise a computer, a PDA, or a wireless telecommunications device.
FIG. 1 is a block diagram of two functional modules in an integrated circuit 104 that utilizes a common off-chip memory 124 in accordance with an embodiment of the invention. A functional module may comprise any circuitry capable of providing a set of features and/or functions. As illustrated, the integrated circuit 104 comprises a first functional module 108, a second functional module 112, an internal data bus 116, and a data interface 120. The internal data bus 116 is used to arbitrate data communication between either the first functional module 108 or the second functional module 112 and an off-chip (external) memory 124. In one embodiment, the off-chip memory 124 comprises a non-volatile memory. In another embodiment, the off-chip memory 124 comprises a flash memory. The data interface 120 facilitates communication from the internal data bus 116 to the off-chip memory 124. The internal data bus 116 may comprise a 32-bit data bus. The data may be clocked in and out of the data bus 116 at a rate determined by the clock rate of a processor utilized by the computing device that contains the integrated circuit 104. It is contemplated that the first functional module 108 comprises function(s) that may be implemented from within a first integrated circuit chip while the second functional module comprises function(s) that may be implemented from within a second integrated circuit chip. Hence, it is contemplated that the first and the second integrated circuit chips may each have previously utilized its own corresponding off-chip memory, necessitating the use of two off-chip memories. Again, by incorporating the two functional modules into a single integrated circuit, a single off-chip memory 124 may be shared between two functional modules. As a consequence, the number of components has been reduced.
It is contemplated that one or more functional modules may be able to communicate with the off-chip memory 124 by way of arbitration that occurs using the internal data bus 116. The communication may comprise data reads and writes to the off-chip memory 124 using read and/or write control signals. The read/write control signals facilitate the storage of data into the off-chip memory 124. Each of the first and second functional modules may contain a control processor or CPU. Each control processor may facilitate the arbitration of its functional module over the internal data bus 116.
In one embodiment, the data is written into and read out of the off-chip memory 124 using data blocks in which each block is capable of being identified by way of an identifier. Use of an identifier provides quick identification of the data block required by a functional module of an integrated circuit chip. In one embodiment, one or more identifiers are generated by programming one or more bits of a memory, such as a one time programmable memory, implemented within a functional module of the integrated circuit chip 104. The one or more programmed bits may be further processed by a logic circuitry to generate the identifier.
Although not shown in FIG. 1, a bus arbiter control unit may provide arbitration management (e.g., data steering) of one or more functional modules connected to the internal data bus 116. In summary, one or more functional modules may share the use of an off-chip memory 124 by way of communicating through the internal data bus 116. The internal data bus 116 communicates to the off-chip memory 124 through the data interface 120.
FIG. 2 is a block diagram of a security processing module 208 and a media access controller module 212 in an integrated circuit chip 204 that utilizes a common off-chip memory 224, in accordance with an embodiment of the invention. FIG. 2 is a specific embodiment of FIG. 1. In the embodiment shown, the system is implemented using a single integrated circuit chip 204, described as a trusted computing/media access controller chip (TCMAC) 204. The TCMAC 204 may, for example, be situated on a network interface card seated on a motherboard of a computing device. In one embodiment, the network interface card communicates with the motherboard by way of a PCI interface. In another example, the TCMAC 204 may be situated on a LAN (local area network) on motherboard configuration (LOM). As illustrated, the trusted computing/media access controller chip (TCMAC) 204 comprises a security processing module 208, a media access controller module 212, an internal data bus 216, and a data interface 220. Referencing FIG. 1, in this embodiment, the first functional module is now represented as the security processing module 208 while the second functional module is now represented as the media access controller module 212. The security processing module 208 arbitrates with the media access controller module 212 for access to the internal data bus 216. Although not shown, the internal data bus 216 may provide arbitration for additional modules and/or devices (other than the security processing module 208 and media access controller module 212) within the trusted computing/media access controller chip (TCMAC) 204. The internal data bus 216 may utilize one or more protocols that facilitates arbitration between the one or more devices communicatively coupled to the internal data bus 216, in order to access the off-chip (external) memory. The arbitration may be facilitated using control processor(s) located within the security processing module 208 and/or the media access controller module 212. The data interface 220 facilitates communication between the TCMAC 204 and an off-chip memory 224. In one embodiment, the off-chip memory 204 comprises a non-volatile memory. In another embodiment, the off-chip memory 204 comprises a flash memory. The off-chip memory 224 stores data that is used by the security processing module 208 and/or the media access controller module 212. The TCMAC 204 may communicate with one or more applications by way of a security processing module software stack. The security processing module 208 may utilize one or more software drivers provided by the security processing module software stack. In addition, the TCMAC 204 may interface with other devices by way of TCP/IP software stack. The media access controller module 212 may utilize the TCP/IP software stack in order to effectively communicate with other computing devices. These software stacks may comprise a number of protocols and/or drivers used for interfacing and communicating between a host computing device and another computing device. The one or more applications may be used by any computing or telecommunication device. Although not shown in FIG. 2, a bus arbiter control unit may provide arbitration management (e.g., data steering) of the security processing module 208 and the media access controller module 212 connected to the internal data bus 216.
In one embodiment, the security processing module 208 comprises a trusted computing or trusted platform module (TPM) providing security functions that comply with and/or conform to the Trusted Computing Platform Alliance (TCPA) specification for Trusted Platform Modules (TPM).
In one embodiment, the media access controller module 212 comprises an Ethernet controller module providing support for one or more IEEE 802.3 standards. For example, the Ethernet controller module complies or conforms to the following IEEE 802.3 standards: IEEE 802.3ab, IEEE 802.3ac, IEEE 802.3ad, IEEE 802.3u, IEEE 802.3x, and IEEE 802.3z.
While the invention has been described with reference to certain embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted without departing from the scope of the invention. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the invention without departing from its scope. Therefore, it is intended that the invention not be limited to the particular embodiment disclosed, but that the invention will include all embodiments falling within the scope of the appended claims.

## Claims

1. An integrated circuit chip comprising:
a first on-chip functional module of a plurality of on-chip functional modules;
a second on-chip functional module of said plurality of on-chip functional modules;
a data interface; and
an internal data bus, said internal data bus for communicating data and control signals from said first on-chip functional module or said second on-chip functional module to said data interface, said data interface communicatively coupling said integrated circuit chip to an off-chip memory, said off-chip memory used as the sole off-chip memory for said first and said second on-chip functional modules, said first and said second on-chip functional modules sharing said off-chip memory, said data identified by each of said first and said second on-chip functional modules using an identifier, said identifier generated by programming one or more bits of a memory, said memory implemented within each of said first and said second on-chip functional modules.

2. The integrated circuit chip of claim 1 further comprising a bus arbiter control unit.

3. The integrated circuit chip of claim 2 wherein said bus arbiter control unit and said internal data bus are used to arbitrate communications between said first on-chip functional module and said second on-chip functional module to said off-chip memory.

4. The integrated circuit chip of claim 1 wherein said off-chip memory comprises a non-volatile memory.

5. The integrated circuit chip of claim 1 wherein said off-chip memory comprises a flash memory.

6. The integrated circuit chip of claim 1 wherein said first on-chip functional module comprises a module that provides trusted computing security functions.

7. The integrated circuit chip of claim 6 wherein said second on-chip functional module comprises a media access controller module.

8. The integrated circuit chip of claim 6 wherein said first on-chip functional module provides user authentication functions.

9. The integrated circuit chip of claim 8 wherein said first on-chip functional module provides secure communications functions.

10. The integrated circuit chip of claim 6 wherein said trusted computing security functions comprise user authentication functions.

11. An integrated circuit chip comprising:
a plurality of functional modules;
an internal data bus; and
a data interface for communicatively coupling said integrated circuit chip to an off-chip memory, said off-chip memory used to store one or more identifiable data blocks, said off-chip memory shared among said plurality of functional modules, said functional modules accessing said off-chip memory by way of arbitration using said internal data bus, said integrated circuit chip situated on a motherboard for use within a computer to implement a local area network on motherboard (LOM) configuration, wherein said plurality of functional modules comprises a module that performs user authentication and secure communication functions.

12. The integrated circuit chip of claim 11 wherein said off-chip memory comprises a flash memory.

13. The integrated circuit chip of claim 11 wherein said integrated circuit further comprises a bus arbiter control unit.

14. The integrated circuit chip of claim 11 wherein each of said one or more identifiable data blocks stored in said off-chip memory is identified using an identifier, said identifier used to identify a data block required by a functional module of said integrated circuit chip.

15. The integrated circuit chip of claim 14 wherein said identifier is generated by way of programming one or more bits of memory in a one time programmable memory implemented within a functional module of said plurality of functional modules.

16. A method by which an integrated circuit chip stores data into and retrieves data from an off-chip memory comprising:
transmitting data to an off-chip memory by way of an on-chip interface; and
receiving data from said off-chip memory by way of said on-chip interface, said on-chip interface connected to an internal data bus, said internal data bus communicatively coupled to a plurality of functional modules, said integrated circuit chip comprising said on-chip interface, said internal data bus, and a plurality of functional modules, said integrated circuit chip resident within a computer, said plurality of functional modules comprising a functional module that performs authentication of a user of said computer.

17. An integrated circuit chip comprising:
an internal data bus;
a bus arbiter control unit; and
a data interface for:
transmitting data to an off-chip memory by way of said data interface, said data interface connected to said internal data bus; and
receiving data from said off-chip memory, said integrated circuit chip further comprising a plurality of functional modules, said internal data bus communicatively coupled to said plurality of functional modules, said integrated circuit chip resident within a network interface card, said network interface card for use within a computer, said plurality of functional modules comprising a functional module that performs authentication of a user of said computer, said internal data bus arbitrating said transmitting and said receiving performed between said plurality of functional modules and said off-chip memory by way of said bus arbiter control unit.