Logic system with configurable interface

Information

  • Patent Grant
  • 7325221
  • Patent Number
    7,325,221
  • Date Filed
    Tuesday, August 8, 2000
    24 years ago
  • Date Issued
    Tuesday, January 29, 2008
    16 years ago
Abstract
A core block with a highly configurable interface such that the interface of the core can be optimally configured for the system the core is integrated into. In one embodiment the method consists of defining a configurable interface with different configuration options, capturing the specific core configuration through manual entry or through the use of a Graphical User Interface, and providing for software that combines the source description of the core with the configuration data to generate the core with an optimally configured logic and circuit interface.
Description
BACKGROUND OF THE INVENTION

1. Field of the Invention


The present invention relates to a configurable interface enabling straightforward re-use of a core with different interfaces.


2. Art Background


The latest advances in semiconductor technology and design methodology have enabled the emerging market for System-On-a-Chip (SoC) designs. Full systems, consisting of more than several million logic gates, can now be implemented in a single chip. One of the main design challenges in these SoC designs is the logical and physical interconnect that allows communication between the subsystem cores that compose the design. These cores typically fall into different categories: computing cores such as a CPU (central processing unit), DSP (digital signal processor) or floating point co-processor; peripheral interface cores such as PCI (personal computer interface) or USB (universal serial bus); memory blocks such as SRAM (static random access memory) and on-chip DRAM (dynamic random access memory); and application specific blocks such as video cores (MPEG-motion pictures experts group) or communication cores.


Since many of the SoC designs are targeted towards communications and consumer applications, time-to-market is a critical factor in the decision process on the level of integration to be used in a particular product. Once a core has been proven in one design, it becomes very attractive to re-use the core in later designs. While choosing a proven design may eliminate the time that would otherwise be required to design a new core, design re-use offers the promise of many other benefits. First, a model may be written for the proven core that can provide accurate results when analyzing the requirements and performance of a new system design; the model for a new, unproven core is likely to be neither as accurate as the proven core, nor built in time to influence the design. Second, proven cores can serve as building blocks that simplify the overall design process by allowing the system designer to focus at a higher level of abstraction, while providing improved predictability in the resulting system implementation. Third, re-use of hardware cores protects the investment in software to control those cores, and allows the system software implementation to proceed as soon as the hardware building blocks have been chosen. Finally, core re-use protects the investment in verification and testing. Since the desired systems are highly integrated, the required cores end up deeply embedded within an integrated circuit. In deeply-embedded designs, verifying the design functionality becomes very challenging and testing an individual system to prove that it is correctly built can lead to expensive delays or costly system rework. Thus, maintaining the integrity of core verification and testing is likely the single biggest gain from design re-use.


However, historically, re-using cores has not been efficient. One of the challenges in the re-use of these cores is that, dependent on the system requirements of the SoC that the core is used in, different performance levels and features are required from the core. Moreover, many applications of SoC are targeted towards consumer applications where providing the most cost-effective solution is very important.


The interface of the core has been a source of inefficiency in core re-use. FIG. 1a shows a representation of a core with a particular interface. Inefficiencies arise when this core must be re-used in a different system that requires a different interface of the core, or demands different requirements of the core.


One option is to re-design the interface of the core. This solution may offer area and performance benefits, but is expensive in term of time, effort and design risk. The effort involved is not only in terms of design time but there is also significant additional work in verification and validation. This solution is represented in FIG. 1b, which shows the core with the optimized interface.


Rather than changing the core, some designers opt to leave the core as is, and adapt the system level interconnect to the existing core interface. While it preserves the integrity of the original core, it leads to many other inefficiencies. With respect to performance, the logic that integrates the core into the system can add latency into the system, which can adversely affect the system performance. With respect to cost, the additional logic can add a significant number of gates to the design and hence increase the chip area and hence the cost. This solution is represented in FIG. 1c.


SUMMARY

The system and method of the present invention provides a core or subsystem with a configurable interface that enables straightforward re-use of the core. In one embodiment, code representative of the core and configurable interface parameters are combined with input consisting of the defined configurable interface parameters to generate a core having an interface configured in accordance with the defined interface parameters.





BRIEF DESCRIPTION OF THE DRAWINGS

The objects, features and advantages of the present invention will be apparent from the following detailed description in which:



FIGS. 1
a, 1b, and 1c illustrate prior art techniques relating to core interfacing.



FIGS. 2
a and 2b illustrate one embodiment of a logic interface.



FIGS. 3
a and 3b illustrate embodiments of configurable interface parameters.



FIG. 4 illustrates one embodiment of an interface generated in accordance with the teachings of the present invention.



FIG. 5 is an example of a configuration file.



FIG. 6 illustrates one embodiment of a process for generating a core using a previously configured interface.



FIG. 7 is an example of a graphical user interface utilized in one embodiment to select a configuration of the interface.





DETAILED DESCRIPTION

In the system and the method of the present invention, the above challenges of creating optimal cores for a particular system are resolved by implementing a core with a highly configurable interface, such that the core together with its interface can be optimally configured for the particular system that the core is used in. In the following description, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the present invention. However, it will be apparent to one skilled in the art that these specific details are not required in order to practice the present invention. In other instances, well-known electrical structures and circuits are shown in block diagram form in order not to obscure the present invention unnecessarily.


The system and the method of the present invention will be explained by example, initially referring to FIG. 2a. FIG. 2a shows exemplary signals of a simple logical interface. The signals include a request phase that includes command, address, data and command accept, and a response phase that includes response and data. FIG. 2b illustrates an interface providing the connection between two cores. For purposes of discussion herein cores are defined as logic or circuitry that performs a function or functions that receives input and/or generates output at least in part through a configurable interface.


In one embodiment, the function to be performed can be specified by the MCmd lines of FIG. 2b. One embodiment of the MCmd encoding specifies read, write and exclusive read functions, as shown in FIG. 3a. Such functions may represent typical operations performed in computer systems. For instance the exclusive read may indicate that a read to a specific address must be followed by a write to the same address before any other core in the system can read that location.


In one embodiment, the command encoding can be as given in FIG. 3a. The encoded functions are functions that are typically used in computer systems. Exclusive Read indicates that a read to a specific address must be followed by a write to the same address before any other core in the system can write that location.


The above interface illustrated by FIGS. 2a and 2b and 3a is a simple interface and can be used when the core only needs to support low-performance requirements from the system. One can now extend the interface to incorporate additional functional and performance related features in a configurable manner such that the core support many different combinations on interface options. In alternate embodiments, fewer or additional types of configurability may be implemented. In one embodiment herein, there are three different types of configurability.


In an exemplary type of configuration, one can configure the width of a particular field. As an example, the width of the address field can be configured to be a value between 1 and 32 lines. This allows the core to be used in systems that require different sizes of address space. This type of configurability is referred to herein as “parametrization”.


In an exemplary second type of configuration, one can select the availability of certain interface functions. In the command-encoding example of FIG. 3a, one can make the function “Exclusive Read” a configurable option, such that this function can be enabled when the core is used in a system that requires this. This type of configurability is referred to herein as “function enabling”.


In an exemplary third type of configuration, a signal can be configured to be present or not. This type of configurability is referred to herein as “signal-enabling”. FIG. 2b represents a very simple logical interface, which can be used for cores with low performance requirements. A higher level of interface functionality and complexity may include the addition of a burst field (Mburst), indicating that the addresses of subsequent commands are logically related. One embodiment of the burst encoding of the Mburst signal is shown in FIG. 3b. As indicated herein, an incrementing burst indicates a command sequence where the address increments by the number of bytes in the data word with every new command being issued in the burst. A non-incrementing burst is a burst sequence where the address remains unchanged between the commands in the burst. A core with burst configured in potentially allows much higher read and write throughput for transferring a large block of data. Again, this option can be optionally configured into the core interface if the core is used in a system that can take advantage of this feature.


The greater the configurability of the interface, the wider the usability of the core. One embodiment of an extended and highly configurable core interface is shown in FIG. 4.


Some of the extensions illustrated by FIG. 4 include the ByteEnable Field (MByteEn) indicates which bytes in the MData Field are to be read or written; MError and SError that represent error signals; and MFlag and SFlag fields that are used for transferring out-of-band information between the core and the system. A traditional and well-known example of this kind of information is synchronization, where for example, the system is waiting for an out-of-band signal from the core before the system transmits any further requests.


One embodiment of a method of generating the optimal core is illustrated in FIG. 6. At step 610, the core source code with at least one configurable interface parameter is provided. In one embodiment, for each interface configuration option, a parameter is defined, together with a range of allowable values. For example, for configuring the width the MData field of FIG. 4, the parameter name MData_WIDTH is defined and the allowable values are 8, 16, 32 and 64. For signal-enabling the MBurst field, the parameter MBurst_ENABLE can be defined with the allowable values of 0 and 1, where the value 0 indicates that it is not present and the value of 1 indicates that it is.


In one embodiment, the core is implemented as configurable source code that makes use of these parameters or derived versions of these parameters. This source code can be in a variety of forms of e.g. commercially available hardware description languages (Verilog, VHDL) or software languages (C, perl, . . . ), or any combination of these or any other language.


At step 620, the configuration settings are provided. In one embodiment, the configuration settings are defined in a machine-readable form. In one embodiment, the configuration settings for a particular core are defined in a file. FIG. 5 shows an example of a configuration file describing a particular configuration of the interface described in FIG. 4.


At step 625, the source code and configurations settings are combined, e.g., compiled, to generate the core with the configured interface. In one embodiment, a software program, referred to herein as the core compiler, process, step 625, the configurable source code representation of the core is combined with the data of the configuration to generate a core with the desired interface, step 630.


In one embodiment, the configuration settings can be entered manually by the user; alternatively the settings can be entered through a Graphical User Interface. FIG. 7 illustrates one embodiment of an example Graphical User Interface for configuring a set of options on a core with a configurable interface similar to the one described in FIG. 4. These values, which are described by the text in the GUI window, are used by software, together with the configurable source code, to derive the core with the desired interface.


The invention has been described in conjunction with the preferred embodiment. It is evident that numerous alternatives, modifications, variations and uses will be apparent to those skilled in the art in light of the foregoing description.

Claims
  • 1. A new computer core having an interface to communicate with other cores, wherein the interface contains a plurality of interface signal carriers that are configurable, at compilation, such that at least one of the interface signal carriers is selectively physically present in the interface or not physically present, wherein not physically present means that a route connection is not generated for an interface signal carrier selected to be not physically present.
  • 2. The computer core as set forth in claim 1, wherein the computer core is a core on a system on a chip and the other cores also belong to that system on a chip.
  • 3. The computer core as set forth in claim 1, wherein a first interface signal carrier is further configured to support different levels of functionality for the interface.
  • 4. The computer core as set forth in claim 3, wherein a signal carrier width of the first interface signal carrier is also configurable to support different signal widths.
  • 5. A core on a system on a chip having an interface, wherein the interface contains a plurality of interface signal carriers that are configurable, at compilation, such that a first interface signal carrier of the plurality of interface signal carriers is configurable to support different levels of functionality for the interface.
  • 6. The core as set forth in claim 5, wherein a signal carrier width of the first interface signal carrier is also configurable to support different signal widths.
  • 7. The core as set forth in claim 5, wherein the first interface signal carrier is configurable, at compilation, such that the first interface signal carrier is selectively physically present in the interface or not physically present.
  • 8. A method for generating at compilation a core interface for a system on a chip to enable re-use of the core with a different interface configuration, the method comprising: providing configurable source code representative of the core interface for the system on a chip and identifying parameters of the core interface;defining configuration parameters of the core interface; andgenerating the core interface for the system on a chip from the configurable source code representative of the core interface and the identified parameters of the core interface configurable in accordance with the defined configuration parameters of the core interface.
  • 9. The method as set forth in claim 8, wherein at least one of the configuration parameters of the core interface is defining whether a first interface signal carrier will be physically present in the core interface or not physically present.
  • 10. The method as set forth in claim 8, wherein at least one of the configuration parameters of the core interface is defining different levels of functionality that the core interface supports through a plurality of signal interface carriers.
  • 11. The method as set forth in claim 8, wherein at least one of the configuration parameters of the core interface is defining a signal width of a first interface signal carrier.
US Referenced Citations (25)
Number Name Date Kind
5274783 House et al. Dec 1993 A
5729529 Martinsson Mar 1998 A
5748914 Barth et al. May 1998 A
5794062 Baxter Aug 1998 A
5845154 Krakirian Dec 1998 A
5878045 Timbs Mar 1999 A
5948089 Wingard et al. Sep 1999 A
6002692 Wills Dec 1999 A
6005412 Ranjan et al. Dec 1999 A
6021450 Yoshizawa et al. Feb 2000 A
6052773 DeHon et al. Apr 2000 A
6115823 Velasco et al. Sep 2000 A
6147890 Kawana et al. Nov 2000 A
6175886 Usami Jan 2001 B1
6182183 Wingard et al. Jan 2001 B1
6216259 Guccione et al. Apr 2001 B1
6298472 Phillips et al. Oct 2001 B1
6324672 Lawman et al. Nov 2001 B1
6330225 Weber et al. Dec 2001 B1
6487709 Keller et al. Nov 2002 B1
6493776 Courtright et al. Dec 2002 B1
6510546 Blodget Jan 2003 B1
6578117 Weber Jun 2003 B2
6725313 Wingard Apr 2004 B1
20030074520 Weber Apr 2003 A1
Foreign Referenced Citations (2)
Number Date Country
WO 0022553 Apr 2000 WO
WO 0029961 May 2000 WO