The present invention relates generally to behavioral synthesis tools for creating integrated circuits, and more particularly relates to behavioral synthesis tools that allow for interactive interface allocation during the design of integrated circuits.
The design of complex computer hardware no longer begins with a circuit diagram. Instead, it begins with a software program that describes the behavior or functionality of a circuit. This software program is written in a hardware description language (HDL)(e.g. VHDL or Verilog) that defines an algorithm to be performed with limited implementation details. Designers direct behavioral synthesis tools to generate alternate architectures by modifying constraints (such as clock period, number and type of data path elements, and desired number of clock cycles). A simulation tool (e.g., Modelsim by Mentor Graphics) simulates the functionality of the system prior to generating a physical implementation of the circuit.
The HDL program is converted into a register transfer level (RTL) description. The RTL description is used to ultimately generate a netlist that includes a list of components in the circuit and the interconnections between the components. This netlist is used to create the physical integrated circuit.
Although describing a system design in HDL provides great flexibility to designers, it is desirable to provide a greater level of abstraction to describe the system functionality. For example, programming languages like C and C++ are now being used as a starting point to describe the function of a circuit. The description of the system in C or C++ is then used by synthesis tools to generate a HDL description of the circuit.
Unfortunately, certain aspects of the system's design cannot be described using conventional ANSI C and C++. For example, C and C++ cannot be used to describe hardware interfaces of the function, which are required to interact with the rest of the integrated circuit. Thus, a designer is forced to describe the functionality of a system design using C and then use HDL constructs to describe the interfaces. However, such a process is time consuming and costly.
Several attempts have been made to adapt conventional C and C++ to add the capability to describe interface components. For example, SystemC is an adaptation of C++ that adds the capability of describing interface elements. However, languages such as SystemC suffer from the same inefficiencies as other HDLs. For example, the programmer is forced to learn the specific language commands, which takes away the benefits of using a generic language such as C or C++.
Thus, there is a need for a tool that allows a designer to use a generic language, such as C or C++, but allows the designer to easily add hardware interfaces.
The present invention provides a behavioral synthesis tool that allows a designer to design an integrated circuit using a generic programming language, such as ANSI C or C++, without the need to include timing information into the source code. In one aspect, the source code is read into the behavioral synthesis tool and the user may dynamically allocate interface resources to the design. In another aspect, the dynamic allocation is accomplished through user input, such as a GUI, a command line, or a file. In another aspect, the behavioral synthesis tool automatically analyzes variables in the source code description and assigns the variables to interface resources. In yet another aspect, the variables and interface resources associated with the variables may be displayed in a hierarchical format in a GUI. In still another aspect, the GUI may allow for expanding and collapsing of different layers in the hierarchy. The GUI may also allow for drag-and-drop operations to modify the variable/interface resource allocation.
These and other aspects will become apparent from the following detailed description, which makes references to the accompanying drawings.
Turning briefly to
The interface resource library 68 may be designed in a wide variety of ways. An example is shown below having two parts: first, an I/O Hardware component is generated in RTL code; second, an interface describes the signals for communicating with the component.
Interface Library (Internal Format):
Hardware Component in RTL (VHDL):
Having illustrated and described the principles of the illustrated embodiments, it will be apparent to those skilled in the art that the embodiments can be modified in arrangement and detail without departing from such principles.
For example, one skilled in the art will recognize that a non-array pointer can be mapped to a memory interface and an array pointer can be mapped to a non-memory interface. Additionally, a pointer to an array can be mapped to a memory interface.
Although the user input is described as coming from a command line, GUI, or file, those skilled in the art also understand that other user input techniques may be used. For example, the source code may be annotated through the use of pragmas or other means. For example, the source file could be annotated with a pragma such as:
This pragma is similar to a comment in the source code read by the tool and allows the user to use the same simple mechanism of resource selection. The pragma has no defined meaning in the language C, so has no effect on the C compiler. Therefore it is not required to change the input to model the actual behavior of the interface component, which would be impossible (or requires extensions) in C and other high-level languages. Adding pragmas to the source file does not change the behavior of the source, but is simply another way to access functionality of the tool. Pragma statements may also be used in higher-level languages other than C.
Although the source code description is described without timing information, timing information may also be included in the source code in certain embodiments.
In view of the many possible embodiments, it will be recognized that the illustrated embodiments include only examples and should not be taken as a limitation on the scope of the invention. Rather, the invention is defined by the following claims. I therefore claim as the invention all such embodiments that come within the scope of these claims.
This application is a continuation of U.S. patent application Ser. No. 10/313,775, filed Dec. 5, 2002 now U.S. Pat. No. 7,302,670, which is a continuation-in-part of U.S. patent application Ser. No. 09/839,376, filed Apr. 20, 2001 now U.S. Pat. No. 6,611,952, which claims the benefit of U.S. Provisional Patent Application No. 60/257,923, filed Dec. 21, 2000, all of which are hereby incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
3624616 | Patel | Nov 1971 | A |
4527249 | Van Brunt | Jul 1985 | A |
5404319 | Smith et al. | Apr 1995 | A |
5428740 | Wood et al. | Jun 1995 | A |
5541850 | Zanden et al. | Jul 1996 | A |
5555201 | Dangelo et al. | Sep 1996 | A |
5623419 | Kundert | Apr 1997 | A |
5625580 | Read et al. | Apr 1997 | A |
5634115 | Fitzpatrick et al. | May 1997 | A |
5673198 | Lawman et al. | Sep 1997 | A |
5727187 | Lemche et al. | Mar 1998 | A |
5764951 | Ly et al. | Jun 1998 | A |
5847969 | Miller et al. | Dec 1998 | A |
5870308 | Dangelo et al. | Feb 1999 | A |
5870588 | Rompaey et al. | Feb 1999 | A |
5880971 | Dangelo et al. | Mar 1999 | A |
5912819 | Kucukcakar et al. | Jun 1999 | A |
6044211 | Jain | Mar 2000 | A |
6053948 | Vaidyanathan et al. | Apr 2000 | A |
6145117 | Eng | Nov 2000 | A |
6195786 | Raghunathan et al. | Feb 2001 | B1 |
6305006 | Markov | Oct 2001 | B1 |
6314552 | Markov | Nov 2001 | B1 |
6360356 | Eng | Mar 2002 | B1 |
6467075 | Sato et al. | Oct 2002 | B1 |
6477683 | Killian et al. | Nov 2002 | B1 |
6477689 | Mandell et al. | Nov 2002 | B1 |
6480985 | Reynolds et al. | Nov 2002 | B1 |
6574708 | Hayter et al. | Jun 2003 | B2 |
6587995 | Duboc et al. | Jul 2003 | B1 |
6611952 | Prakash et al. | Aug 2003 | B1 |
6691301 | Bowen | Feb 2004 | B2 |
6701501 | Waters et al. | Mar 2004 | B2 |
6704914 | Nishida et al. | Mar 2004 | B2 |
6708144 | Merryman et al. | Mar 2004 | B1 |
6711729 | McElvain et al. | Mar 2004 | B1 |
6760888 | Killian et al. | Jul 2004 | B2 |
6769081 | Parulkar | Jul 2004 | B1 |
6917909 | Markov et al. | Jul 2005 | B1 |
6978430 | McElvain et al. | Dec 2005 | B2 |
7134100 | Ravi et al. | Nov 2006 | B2 |
7275233 | McElvain et al. | Sep 2007 | B2 |
7302670 | Bowyer et al. | Nov 2007 | B2 |
7310787 | Prakash et al. | Dec 2007 | B2 |
20020097269 | Batcha et al. | Jul 2002 | A1 |
20040111692 | Bowyer et al. | Jun 2004 | A1 |
20040143801 | Waters et al. | Jul 2004 | A1 |
20070186205 | Yu et al. | Aug 2007 | A1 |
20080172646 | Prakash et al. | Jul 2008 | A1 |
Number | Date | Country |
---|---|---|
0848342 | Jun 1998 | EP |
2367225 | Mar 2002 | GB |
5-101141 | Apr 1993 | JP |
Number | Date | Country | |
---|---|---|---|
20080077906 A1 | Mar 2008 | US |
Number | Date | Country | |
---|---|---|---|
60257923 | Dec 2000 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 10313775 | Dec 2002 | US |
Child | 11986329 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 09839376 | Apr 2001 | US |
Child | 10313775 | US |