System, method and article of manufacture for software-designed internet reconfigurable hardware

Information

  • Patent Application
  • 20030036895
  • Publication Number
    20030036895
  • Date Filed
    January 29, 2001
    23 years ago
  • Date Published
    February 20, 2003
    21 years ago
Abstract
A system, method and article of manufacture are provided for network-based configuration of a programmable logic device. A default application is initiated on a programmable logic device. A file request for configuration data from the logic device is sent to a server located remotely from the logic device utilizing a network. The configuration data is received from the network server. The configuration data is used to configure the logic device to run a second application. The second application is run on the logic device.
Description


FIELD OF THE INVENTION

[0002] The present invention relates to reconfigurable logic devices and more particularly to network-based configuiratiomn of a logic device.



BACKGROUND OF THE INVENTION

[0003] It is well known that software-controlled machines provide great flexibility in that they can be adapted to many different desired purposes by the use of suitable software. As well as being used in the familiar general purpose computers, software-controlled processors are now used in many products such as cars, telephones and other domestic products, where they are known as embedded systems.


[0004] However, for a given a function, a software-controlled processor is usually slower than hardware dedicated to that function. A way of overcoming this problem is to use a special software-controlled processor such as a RISC processor which can be made to function more quickly for limited purposes by having its parameters (for instance size, instruction set etc.) tailored to the desired functionality.


[0005] Where hardware is used, though, although it increases the speed of operation, it lacks flexibility and, for instance, although it may be suitable for the task for which it was designed it may not be suitable for a modified version of that task which is desired later. It is now possible to form the hardware on reconfigurable logic circuits, such as Field Programmable Gate Arrays (FPGA's) which are logic circuits which can be repeatedly reconfigured in different ways. Thus they provide the speed advantages of dedicated hardware, with some degree of flexibility for later updating or multiple functionality.


[0006] In general, though, it can be seen that designers face a problem in finding the right balance between speed and generality. They can build versatile chips which will be software controlled and thus perform many different functions relatively slowly, or they can devise application-specific chips that do only a limited set of tasks but do them much more quickly.


[0007] A compromise solution to these problems can be found in systems which combine both dedicated hardware and also software. The hardware is dedicated to particular functions, e.g. those requiring speed, and the software can perform the remaining functions. The design of such systems is known as hardware-software codesign.


[0008] Within the design process, the designer must decide, for a target system with a desired functionality, which functions are to be performed in hardware and which in software. This is known as partitioning the design. Although such systems can be highly effective, the designer must be familiar with both software and hardware design. It would be advantageous if such systems could be designed by people who have familiarity only with software and which could utilize the flexibility of configurable logic resources. Further, it would be advantageous to implement into such systems an intuitive, ergonomic interface for selecting and transferring configuration data.



SUMMARY OF INVENTION

[0009] A system, method and article of manufacture are provided for network-based configuration of a programmable logic device. A default application is initiated on a programmable logic device. A file request for configuration data from the logic device is sent to a server located remotely from the logic device utilizing a network. The configuration data is received from the network server, and can be in the form of a bitfile. The configuration data is used to configure the logic device to run a second application. The second application is run on the logic device.


[0010] According to one embodiment of the present invention, the logic device includes one or more Field Programmable Gate Arrays (FPGAs). Preferably, a first FPGA receives the configuration data and uses that data to configure a second FPGA. The first and second FPGAs can be clocked at different speeds.


[0011] According to another embodiment of the present invention, the default application and the second application are both able to run simultaneously on the logic device. The logic device can further include a display screen, a touch screen, an audio chip, an Ethernet device, a parallel port, a serial port, a RAM bank, a non-volatile memory, and/or other hardware components.







BRIEF DESCRIPTION OF THE DRAWINGS

[0012] The invention will be better understood when consideration is given to the following detailed description thereof. Such description makes reference to the annexed drawings wherein:


[0013]
FIG. 1 is a schematic diagram of a hardware implementation of one embodiment of the present invention;


[0014]
FIG. 2 is a flow diagram of a process for providing an interface for transferring configuration data to a reconfigurable logic device;


[0015]
FIG. 3 depicts a display according to an exemplary embodiment of the present invention;


[0016]
FIG. 4 illustrates an illustrative procedure for initiating a reconfigurable logic device according to the illustrative embodiment of FIG. 3;


[0017]
FIG. 5 depicts a process for using a reconfigurable logic device to place a call over the Internet according to the illustrative embodiment of FIG. 3;


[0018]
FIG. 6 illustrates a process for answering a call over the Internet;


[0019]
FIG. 7 depicts a configuration screen for setting various parameters of telephony functions according to the illustrative embodiment of FIG. 3;


[0020]
FIG. 8A depicts an illustrative screen displayed upon receonfiguration of a reconfigurable logic device according to the illustrative embodiment of FIG. 3;


[0021]
FIG. 8B depicts a process for providing a hardware-based reconfigurable multimedia device;


[0022]
FIG. 9 is a diagrammatic overview of a board of the resource management device according to an illustrative embodiment of the present invention;


[0023]
FIG. 10 depicts a JTAG chain for the board of FIG. 9;


[0024]
FIG. 11 shows a structure of a Parallel Port Data Transmission System according to an embodiment of the present invention;


[0025]
FIG. 12 is a flowchart that shows the typical series of procedure calls when receiving data;


[0026]
FIG. 13 is a flow diagram depicting the typical series of procedure calls when transmitting data;


[0027]
FIG. 14 is a flow diagram illustrating several processes running in parallel;


[0028]
FIG. 15 is a block diagram of an FPGA device according to an exemplary embodiment of the present invention;


[0029]
FIG. 16 is a flowchart of a process for network-based configuration of a programmable logic device;


[0030]
FIG. 17 illustrates a process for remote altering of a configuration of a hardware device; and


[0031]
FIG. 18 illustrates a process for processing data and controlling peripheral hardware.







DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0032] A preferred embodiment of a system in accordance with the present invention is preferably practiced in the context of a personal computer such as an IBM compatible personal computer, Apple Macintosh computer or UNIX based workstation. A representative hardware environment is depicted in FIG. 1, which illustrates a typical hardware configuration of a workstation in accordance with a preferred embodiment having a central processing unit 110, such as a microprocessor, and a number of other units interconnected via a system bus 112. The workstation shown in FIG. 1 includes a Random Access Memory (RAM) 114, Read Only Memory (ROM) 116, an I/O adapter 118 for connecting peripheral devices such as disk storage units 120 to the bus 112, a user interface adapter 122 for connecting a keyboard 124, a mouse 126, a speaker 128, a microphone 132, and/or other user interface devices such as a touch screen (not shown) to the bus 112, communication adapter 134 for connecting the workstation to a communication network (e.g., a data processing network) and a display adapter 136 for connecting the bus 112 to a display device 138. The workstation also includes a Field Programmable Gate Array (FPGA) 140 with a complete or a portion of an operating system thereon such as the Microsoft Windows NT or Windows/98 Operating System (OS), the IBM OS/2 operating system, the MAC OS, or UNIX operating system. Those skilled in the art will appreciate that the present invention may also be implemented on platforms and operating systems other than those mentioned.


[0033] A preferred embodiment is written using JAVA, C, and the C++language and utilizes object oriented programming methodology. Object oriented programming (OOP) has become increasingly used to develop complex applications. As OOP moves toward the mainstream of software design and development, various software solutions require adaptation to make use of the benefits of OOP. A need exists for these principles of OOP to be applied to a messaging interface of an electronic messaging system such that a set of OOP classes and objects for the messaging interface can be provided.


[0034] OOP is a process of developing computer software using objects, including the steps of analyzing the problem, designing the system, and constructing the program. An object is a software package that contains both data and a collection of related structures and procedures. Since it contains both data and a collection of structures and procedures, it can be visualized as a self-sufficient component that does not require other additional structures, procedures or data to perform its specific task. OOP, therefore, views a computer program as a collection of largely autonomous components, called objects, each of which is responsible for a specific task. This concept of packaging data, structures, and procedures together in one component or module is called encapsulation.


[0035] In general, OOP components are reusable software modules which present an interface that conforms to an object model and which are accessed at run-time through a component integration architecture. A component integration architecture is a set of architecture mechanisms which allow software modules in different process spaces to utilize each others capabilities or functions. This is generally done by assuming a common component object model on which to build the architecture. It is worthwhile to differentiate between an object and a class of objects at this point. An object is a single instance of the class of objects, which is often just called a class. A class of objects can be viewed as a blueprint, from which many objects can be formed.


[0036] OOP allows the programmer to create an object that is a part of another object. For example, the object representing a piston engine is said to have a composition-relationship with the object representing a piston. In reality, a piston engine comprises a piston, valves and many other components; the fact that a piston is an element of a piston engine can be logically and semantically represented in OOP by two objects.


[0037] OOP also allows creation of an object that “depends from” another object. If there are two objects, one representing a piston engine and the other representing a piston engine wherein the piston is made of ceramic, then the relationship between the two objects is not that of composition. A ceramic piston engine does not make up a piston engine. Rather it is merely one kind of piston engine that has one more limitation than the piston engine; its piston is made of ceramic. In this case, the object representing the ceramic piston engine is called a derived object, and it inherits all of the aspects of the object representing the piston engine and adds further limitation or detail to it. The object representing the ceramic piston engine “depends from” the object representing the piston engine. The relationship between these objects is called inheritance.


[0038] When the object or class representing the ceramic piston engine inherits all of the aspects of the objects representing the piston engine, it inherits the thermal characteristics of a standard piston defined in the piston engine class. However, the ceramic piston engine object overrides these ceramic specific thermal characteristics, which are typically different from those associated with a metal piston. It skips over the original and uses new functions related to ceramic pistons. Different kinds of piston engines have different characteristics, but may have the same underlying functions associated with it (e.g., how many pistons in the engine, ignition sequences, lubrication, etc.). To access each of these functions in any piston engine object, a programmer would call the same functions with the same names, but each type of piston engine may have different/overriding implementations of functions behind the same name. This ability to hide different implementations of a function behind the same name is called polymorphism and it greatly simplifies communication among objects.


[0039] With the concepts of composition-relationship, encapsulation, inheritance and polymorphism, an object can represent just about anything in the real world. hi fact, one's logical perception of the reality is the only limit on determining the kinds of things that can become objects in object-oriented software. Some typical categories are as follows:


[0040] Objects can represent physical objects, such as automobiles in a traffic-flow simulation, electrical components in a circuit-design program, countries in an economics model, or aircraft in an air-traffic-control system.


[0041] Objects can represent elements of the computer-user environment such as windows, menus or graphics objects.


[0042] An object can represent an inventory, such as a personnel file or a table of the latitudes and longitudes of cities.


[0043] An object can represent user-defined data types such as time, angles, and complex numbers, or points on the plane.


[0044] With this enormous capability of an object to represent just about any logically separable matters, OOP allows the software developer to design and implement a computer program that is a model of some aspects of reality, whether that reality is a physical entity, a process, a system, or a composition of matter. Since the object can represent anything, the software developer can create an object which can be used as a component in a larger software project in the future.


[0045] If 90% of a new OOP software program consists of proven, existing components made from preexisting reusable objects, then only the remaining 10% of the new software project has to be written and tested from scratch. Since 90% already came from an inventory of extensively tested reusable objects, the potential domain from which an error could originate is 10% of the program. As a result, OOP enables software developers to build objects out of other, previously built objects.


[0046] This process closely resembles complex machinery being built out of assemblies and sub-assemblies. OOP technology, therefore, makes software engineering more like hardware engineering in that software is built from existing components, which are available to the developer as objects. All this adds up to an improved quality of the software as well as an increased speed of its development.


[0047] Programming languages are beginning to fully support the OOP principles, such as encapsulation, inheritance, polymorphism, and composition-relationship. With the advent of the C++ language, many commercial software developers have embraced OOP. C++ is an OOP language that offers a fast, machine-executable code. Furthermore, C++is suitable for both commercial-application and systems-programming projects. For now, C++appears to be the most popular choice among many OOP programmers, but there is a host of other OOP languages, such as Smalltalk, Common Lisp Object System (CLOS), and Eiffel. Additionally, OOP capabilities are being added to more traditional popular computer programming languages such as Pascal.


[0048] The benefits of object classes can be summarized, as follows:


[0049] Objects and their corresponding classes break down complex programming problems into many smaller, simpler problems.


[0050] Encapsulation enforces data abstraction through the organization of data into small, independent objects that can communicate with each other.


[0051] Encapsulation protects the data in an object from accidental damage, but allows other objects to interact with that data by calling the object's member functions and structures.


[0052] Subclassing and inheritance make it possible to extend and modify objects through deriving new kinds of objects from the standard classes available in the system. Thus, new capabilities are created without having to start from scratch.


[0053] Polymorphism and multiple inheritance make it possible for different programmers to mix and match characteristics of many different classes and create specialized objects that can still work with related objects in predictable ways.


[0054] Class hierarchies and containment hierarchies provide a flexible mechanism for modeling real-world objects and the relationships among them.


[0055] Libraries of reusable classes are useful in many situations, but they also have some limitations. For example:


[0056] Complexity. In a complex system, the class hierarchies for related classes can become extremely confusing, with many dozens or even hundreds of classes.


[0057] Flow of control. A program written with the aid of class libraries is still responsible for the flow of control (i.e., it must control the interactions among all the objects created from a particular library). The programmer has to decide which functions to call at what times for which kinds of objects.


[0058] Duplication of effort. Although class libraries allow programmers to use and reuse many small pieces of code, each programmer puts those pieces together in a different way. Two different programmers can use the same set of class libraries to write two programs that do exactly the same thing but whose internal structure (i.e., design) may be quite different, depending on hundreds of small decisions each programmer makes along the way. Inevitably, similar pieces of code end up doing similar things in slightly different ways and do not work as well together as they should.


[0059] Class libraries are very flexible. As programs grow more complex, more programmers are forced to reinvent basic solutions to basic problems over and over again. A relatively new extension of the class library concept is to have a framework of class libraries. This framework is more complex and consists of significant collections of collaborating classes that capture both the small scale patterns and major mechanisms that implement the common requirements and design in a specific application domain. They were first developed to free application programmers from the chores involved in displaying menus, windows, dialog boxes, and other standard user interface elements for personal computers.


[0060] Frameworks also represent a change in the way programmers think about the interaction between the code they write and code written by others. In the early days of procedural programming, the programmer called libraries provided by the operating system to perform certain tasks, but basically the program executed down the page from start to finish, and the programmer was solely responsible for the flow of control. This was appropriate for printing out paychecks, calculating a mathematical table, or solving other problems with a program that executed in just one way.


[0061] The development of graphical user interfaces began to turn this procedural programming arrangement inside out. These interfaces allow the user, rather than program logic, to drive the program and decide when certain actions should be performed. Today, most personal computer software accomplishes this by means of an event loop which monitors the mouse, keyboard, and other sources of external events and calls the appropriate parts of the programmer's code according to actions that the user performs. The programmer no longer determines the order in which events occur. Instead, a program is divided into separate pieces that are called at unpredictable times and in an unpredictable order. By relinquishing control in this way to users, the developer creates a program that is much easier to use. Nevertheless, individual pieces of the program written by the developer still call libraries provided by the operating system to accomplish certain tasks, and the programmer must still determine the flow of control within each piece after it's called by the event loop. Application code still “sits on top of” the system.


[0062] Even event loop programs require programmers to write a lot of code that should not need to be written separately for every application. The concept of an application framework carries the event loop concept further. Instead of dealing with all the nuts and bolts of constructing basic menus, windows, and dialog boxes and then making these things all work together, programmers using application frameworks start with working application code and basic user interface elements in place. Subsequently, they build from there by replacing some of the generic capabilities of the framework with the specific capabilities of the intended application.


[0063] Application frameworks reduce the total amount of code that a programmer has to write from scratch. However, because the framework is really a generic application that displays windows, supports copy and paste, and so on, the programmer can also relinquish control to a greater degree than event loop programs permit. The framework code takes care of almost all event handling and flow of control, and the programmer's code is called only when the framework needs it (e.g., to create or manipulate a proprietary data structure).


[0064] A programmer writing a framework program not only relinquishes control to the user (as is also true for event loop programs), but also relinquishes the detailed flow of control within the program to the framework. This approach allows the creation of more complex systems that work together in interesting ways, as opposed to isolated programs, having custom code, being created over and over again for similar problems.


[0065] Thus, as is explained above, a framework basically is a collection of cooperating classes that make up a reusable design solution for a given problem domain. It typically includes objects that provide default behavior (e.g., for menus and windows), and programmers use it by inheriting some of that default behavior and overriding other behavior so that the framework calls application code at the appropriate times.


[0066] There are three main differences between frameworks and class libraries:


[0067] Behavior versus protocol. Class libraries are essentially collections of behaviors that you can call when you want those individual behaviors in your program. A framework, on the other hand, provides not only behavior but also the protocol or set of rules that govern the ways in which behaviors can be combined, including rules for what a programmer is supposed to provide versus what the framework provides.


[0068] Call versus override. With a class library, the code the programmer instantiates objects and calls their member functions. It's possible to instantiate and call objects in the same way with a framework (i.e., to treat the framework as a class library), but to take full advantage of a framework's reusable design, a programmer typically writes code that overrides and is called by the framework. The framework manages the flow of control among its objects. Writing a program involves dividing responsibilities among the various pieces of software that are called by the framework rather than specifying how the different pieces should work together.


[0069] Implementation versus design. With class libraries, programmers reuse only implementations, whereas with frameworks, they reuse design. A framework embodies the way a family of related programs or pieces of software work. It represents a generic design solution that can be adapted to a variety of specific problems in a given domain. For example, a single framework can embody the way a user interface works, even though two different user interfaces created with the same framework might solve quite different interface problems.


[0070] Thus, through the development of frameworks for solutions to various problems and programming tasks, significant reductions in the design and development effort for software can be achieved. A preferred embodiment of the invention utilizes HyperText Markup Language (HTML) to implement documents on the Internet together with a general-purpose secure communication protocol for a transport medium between the client and the Newco. HTTP or other protocols could be readily substituted for HTML without undue experimentation. Information on these products is available in T. Berners-Lee, D. Connoly, “RFC 1866: Hypertext Markup Language -2.0” (Nov. 1995); and R. Fielding, H, Frystyk, T. Berners-Lee, J. Gettys and J. C. Mogul, “Hypertext Transfer Protocol—HTTP/1.1: HTTP Working Group Internet Draft” (May 2, 1996).


[0071] HTML is a simple data format used to create hypertext documents that are portable from one platform to another. HTML documents are SGML documents with generic semantics that are appropriate for representing information from a wide range of domains. HTML has been in use by the World-Wide Web global information initiative since 1990. HTML is an application of ISO Standard 8879; 1986 Information Processing Text and Office Systems; Standard Generalized Markup Language (SGML).


[0072] To date, Web development tools have been limited in their ability to create dynamic Web applications which span from client to server and interoperate with existing computing resources. Until recently, HTML has been the dominant technology used in development of Web-based solutions. However, HTML has proven to be inadequate in the following areas:


[0073] Poor performance;


[0074] Restricted user interface capabilities;


[0075] Can only produce static Web pages;


[0076] Lack of interoperability with existing applications and data; and


[0077] Inability to scale.


[0078] Sun Microsystem's Java language solves many of the client-side problems by:


[0079] Improving performance on the client side;


[0080] Enabling the creation of dynamic, real-time Web applications; and


[0081] Providing the ability to create a wide variety of user interface components.


[0082] With Java, developers can create robust User Interface (UI) components. Custom “widgets” (e.g., real-time stock tickers, animated icons, etc.) can be created, and client-side performance is improved. Unlike HTML, Java supports the notion of client-side validation, offloading appropriate processing onto the client for improved performance. Dynamic, real-time Web pages can be created. Using the above-mentioned custom UI components, dynamic Web pages can also be created.


[0083] Sun's Java language has emerged as an industry-recognized language for “programming the Internet.” Sun defines Java as: “a simple, object-oriented, distributed, interpreted, robust, secure, architecture-neutral, portable, high-performance, multithreaded, dynamic, buzzword-compliant, general-purpose programming language. Java supports programming for the Internet in the form of platform-independent Java applets.” Java applets are small, specialized applications that comply with Sun's Java Application Programming Interface (API) allowing developers to add “interactive content” to Web documents (e.g., simple animations, page adornments, basic games, etc.). Applets execute within a Java-compatible browser (e.g., Netscape Navigator) by copying code from the server to client. From a language standpoint, Java's core feature set is based on C++. Sun's Java literature states that Java is basically, “C++ with extensions from is Objective C for more dynamic method resolution.”


[0084] Another technology that provides similar function to JAVA is provided by Microsoft and ActiveX Technologies, to give developers and Web designers wherewithal to build dynamic content for the Internet and personal computers. ActiveX includes tools for developing animation, 3-D virtual reality, video and other multimedia content. The tools use Internet standards, work on multiple platforms, and are being supported by over 100 companies. The group's building blocks are called ActiveX Controls, small, fast components that enable developers to embed parts of software in hypertext markup language (HTML) pages. ActiveX Controls work with a variety of programming languages including Microsoft Visual C++ , Borland Delphi, Microsoft Visual Basic programming system and, in the future, Microsoft's development tool for Java, code named “Jakarta.” ActiveX Technologies also includes ActiveX Server Framework, allowing developers to create server applications. One of ordinary skill in the art readily recognizes that ActiveX could be substituted for JAVA without undue experimentation to practice the invention.


[0085] A preferred embodiment is written using Handel-C, a programming language developed from Handel. Handel was a programming language designed for compilation into custom synchronous hardware, which was first described in “Compiling occam into FPGAs”, Ian Page and Wayne Luk in “FPGAs” Eds. Will Moore and Wayne Luk, pp 271-283, Abingdon EE & CS Books, 1991, which are herein incorporated by reference. Handel was later given a C-like syntax (described in “Advanced Silicon Prototyping in a Reconfigurable Environment”, M. Aubury, I. Page, D. Plunkett, M. Sauer and J. Saul, Proceedings of WoTUG 98, 1998, which is also incorporated by reference), to produce various versions of Handel-C.


[0086] Handel-C is a programming language marketed by Celoxica Limited, 7-8 Milton Park, Abingdon, Oxfordshire, OX14 4RT, United Kingdom. It enables a software or hardware engineer to target directly FPGAs (Field Programmable Gate Array) in a similar fashion to classical microprocessor cross-compiler development tools, without recourse to a Hardware Description Language, thereby allowing the designer to directly realize the raw real-time computing capability of the FPGA.


[0087] Handel-C is designed to enable the compilation of programs into synchronous hardware; it is aimed at compiling high level algorithms directly into gate level hardware.


[0088] The Handel-C syntax is based on that of conventional C so programmers familiar with conventional C will recognize almost all the constructs in the Handel-C language. For those not skilled in the art, more information about programming with Handel-C is provided in the documents entitled “Handel-C User manual,” “Handel-C Language Reference Manual: version 3,” “Handel-C Interfacing to other language code blocks,” and “Handel-C Preprocessor Reference Manual,” each of which is available from Celoxica Limited, 7-8 Milton Park, Abingdon, Oxfordshire, OX14 4RT, United Kingdom, and which are herein incorporated by reference in their entirety for all purposes.


[0089] Sequential programs can be written in Handel-C just as in conventional C but to gain the most benefit in performance from the target hardware its inherent parallelism must be exploited.


[0090] Handel-C includes parallel constructs that provide the means for the programmer to exploit this benefit in his applications. The compiler compiles and optimizes Handel-C source code into a file suitable for simulation or a netlist which can be placed and routed on a real FPGA.


[0091] It should be noted that other programming and hardware description languages can be utilized as well, such as VHDL.


[0092] Network-Configurable Hardware


[0093] This section will detail the development of a flexible multimedia device according to an illustrative embodiment of the present invention using hardware that can be reconfigured over a network connection and runs software applications built directly in silicon.


[0094] The illustrative platform developed for this purpose is called the Multimedia Terminal (MMT). It features no dedicated stored program and no Central Processing Unit (CPU). Instead, programs are implemented in Field Programmable Gate Arrays (FPGA) which are used both to control peripherals and to process data in order to create CPU-like flexibility using only reconfigurable logic and a software design methodology.


[0095] FPGAs can be used to create soft hardware that runs applications without the overhead associated with microprocessors and operating systems. Such hardware can be totally reconfigured over a network connection to provide enhancements, fixes, or a completely new application. Reconfigurability avoids obsolescence by allowing the flexibility to support evolving standards and applications not imagined when hardware is designed. This also allows manufacturers to use Internet Reconfigurable Logic to remotely access and change their hardware designs at any time regardless of where the units reside.


[0096] The MMT according to one exemplary embodiment of the present invention achieves flexible reconfigurability by using two independent one-million gate Xilinx XCV1000 Virtex FPGAs. One of the FPGAs remains statically configured with networking functionality when the device is switched on. The other FPGA is reconfigured with data provided by the master. The two FPGAs communicate directly via a 36-bit bus with 4 bits reserved for handshaking and two 16-bit unidirectional channels as set forth in U.S. Patent Application entitled SYSTEM, METHOD, AND ARTICLE OF MANUFACTURE FOR DATA TRANSFER ACROSS CLOCK DOMAINS, Attorney Docket Number EMB1P015 and filed concurrently herewith and assigned to common assignee, and which is incorporated herein by reference for all purposes. The protocol ensures that reliable communication is available even when the two FPGAs are being clocked at different speeds.


[0097] The other components of the MMT are an LCD touch screen, audio chip, 10-Mbps Ethernet, parallel and serial ports, three RAM banks and a single non-volatile flash memory chip.


[0098] FPGA reconfiguration can be performed by using one of two methods. The first method implements the Xilinx selectmap programming protocol on the static FPGA which can then program the other. The second method supplies reconfiguration data from the network interface or from the flash memory on the MMT. Reconfiguration from flash memory is used only to load the GUI for a voice-over-internet protocol (VoIP) telephone into the slave FPGA upon power-up, when an application has finished, or when configuration via the network fails. Network-based reconfiguration uses the Hypertext Transfer Protocol (HTTP) over a TCP connection to a server. A text string containing a file request is sent by the MMT to the server which then sends back the reconfiguration data (a bitfile).


[0099] There has thus been presented a flexible architecture that can run selected applications in an FPGA. Now will be described methods ofr writing all those applications and how to do it in a reasonable amount of time. Hardware Description Languages (HDL) are well-suited to creating interface logic and defining hardware designs with low-level timing issues. However, HDL may not be suitable for networking, VoIP, MP3s and video games.


[0100] To meet the challenges of the system described above, the MMT design can be done using Handel-C. It is based on ANSI-C and is quickly learned by anyone that has done C software development. Extensions have been put in to support parallelism, variables of arbitrary width, and other features familiar in hardware design, but it very much targets software design methodologies. Unlike some of the prior art C-based solutions that translate C into an HDL, the Handel-C compiler directly synthesizes an EDIF netlist that can be immediately placed and routed and put onto an FPGA.


[0101] The default application that runs on the illustrative embodiment of the MMT upon power-up is a Voice over Internet Protocol (VOIP) telephone complete with GUI. The voice over internet protocol consists of a call state machine, a mechanism to negotiate calls, and a Real Time Protocol (RTP) module for sound processing. A combination of messages from the GUI and the call negotiation unit are used to drive the state machine.


[0102] The protocol implemented by the call negotiation unit is a subset of H.323 Faststart (including H225 and Q931). This protocol uses TCP to establish a stream-based connection between the two IP telephones. The RTP module is responsible for processing incoming sound packets and generating outgoing packets sent over UDP.


[0103] Algorithms for protocols such as RTP, TCP, IP and UDP can be derived from existing public domain C sources. The source code can be optimized to use features available in Handel-C such as parallelism; this is useful for network protocols which generally require fields in a packet header to be read in succession and which can usually be performed by a pipeline with stages running in parallel. Each stage can be tested and simulated within a single Handel-C environment and then put directly into hardware by generating an EDIF netlist. Further optimizations and tuning can be performed quickly simply by downloading the latest version onto the MMT over the network.


[0104] Because of the flexibility of the architecture and to take advantage of Internet reconfigurability, a mixed-bag of applications can be developed that all run in hardware on the MMT. Among them are a fully-functional MP3 player with GUI, several video games, and some impressive graphics demonstrations that were all developed using Handel-C. These applications are hosted as bitfiles on a server that supplies these files upon demand from the user of the MMT over a network connection.


[0105] Interface


[0106] In accordance with the invention, an intuitive interface is provided for defining and transferring configuration files from a computer to a device in reconfigurable logic FIG. 2 is a flow diagram of a process 200 for providing an interface for transferring configuration data to a reconfigurable logic device, such as a Field Programmable Gate Array (FPGA), Programmable Logic Device (PLD), or Complex Programmable Logic Device (CPLD). In operation 202, images are presented on a display connected to a reconfigurable logic device. In operation 204, the user is allowed to input a command to configure the reconfigurable logic device by selecting one or more of the images. The configuration data is transferred from a computer to the reconfigurable logic device in operation 206 where it is used to reconfigure the reconfigurable logic device in operation 208.


[0107] Other embodiments include a touch sensitive Liquid Crystal Display (LCD), buttons presented as bitmapped images to guide a user, interactive configuration of the device and its components and provides downloading via the Internet and a wireless network.


[0108] In a preferred embodiment, the reconfigurable logic device is capable of saving the configuration data for later reuse. In another embodiment, the display is operable for inputting commands to control operation of the reconfigurable logic device.



EXAMPLE 1

[0109]
FIG. 3 depicts a display 300 according to one embodiment of the present invention. The display is connected to a reconfigurable logic device, such as the one described below with respect to FIGS. 9-15. As an option, the display could be integrated with the device.


[0110] An exemplary procedure 400 for initiating the device is shown in FIG. 4. The device is connected to a network in operation 402 and a power source in operation 404. The display is calibrated in operation 406. In operation 408, on connecting power, the device boots with a default programming. In this example, the device boots as an IP phone, ready to accept/receive calls.


[0111] Referring again to FIG. 3, the display includes several bitmapped buttons with which a user can input commands for use during a session of Internet telephony. Keypad buttons 302 are used to enter IP addresses to place a call. The status window 304 displays the status of the device.


[0112] In accordance with the present invention, a hardware-based reconfigurable Internet telephony system can be provided. The system includes a first Field Programmable Gate Array (FPGA) that is configured with networking functionality. A user interface is in communication with the first FPGA for presenting information to a user and receiving commands from a user. A microphone in communication with the first FPGA receives voice data from the user. A communications port is in communication with the first FPGA and the Internet. The first FPGA is configured to provide a call state machine, a call negotiation mechanism, and a Real Time Protocol (RTP) module for sound processing. See the discussion relating to FIGS. 5-7 for more detailed information about how to place a call.


[0113] According to one embodiment of the present invention, a stream-based connection is generated between the system and another Internet telephony system. In another embodiment of the present invention, a second FPGA is configured for running a second application. In such an embodiment, the first FPGA can preferably configure the second FPGA.


[0114] In an embodiment of the present invention, the RTP module processes incoming sound packets and generates outgoing sound packets. In a preferred embodiment, the user interface includes a touch screen.


[0115]
FIG. 5 depicts a process 500 for using the device to place a call. (The process flow is from top to bottom.) The number key is pressed and then the IP address to be called is entered. As the numbers are typed, they appear in the status window. Once the number is entered, the accept button 306 is pressed to make the connection. The word “calling” appears in the status window to denote that the connection is pending. Upon making the connection, “connected” appears in the status window. To end the call, the end button 308 is pressed.


[0116]
FIG. 6 illustrates the process 600 to answering a call. The status window displays “incoming call” and the device may sound a tone. The user selects the accept button to answer the call. Selection of the end button terminates the call.


[0117]
FIG. 7 depicts a configuration screen 700 for setting various parameters of the telephony functions. The buttons 702, 704 having the plus and minus signs are used to increase and decrease speaker volume, microphone volume, etc. Mute buttons 706 and display brightness buttons 708.


[0118] One skilled in the art will recognize that the device operates much like a traditional telephone and therefore, can include many of the features found in such telephones.


[0119] The screen shown in FIG. 3 includes several buttons other than those discussed above. Selecting the mp3 button 310 initiates a download sequence ordering the device to request configuration information to reconfigure the device to play audio in the mp3 format. Once the configuration information is received, the device reconfigures itself to play mp3 audio.


[0120] Upon reconfiguration, the display presents the screen 800 shown in FIG. 8A. The various buttons displayed include a play button 802, a stop button 804, track back and track forward buttons 806, 808, a pause button 810, a mute button 812, volume up and down buttons 814, 816 and an exit button 818 that returns to the default program, in this case, the IP telephony program.


[0121] Upon selection of the saver button 820, the configuration information is stored for reconfiguration of the device without requiring a download, if the device has access to sufficient storage for the information.


[0122] Referring again to FIG. 3, selection of the game button 312 initiates a download sequence ordering the device to request configuration information to reconfigure the device to allow playing of a game.


[0123] Multimedia Device


[0124]
FIG. 8B depicts a process 850 for providing a hardware-based reconfigurable multimedia device. In operation 852, a default multimedia application is initiated on a reconfigurable multimedia logic device, which can be a device similar to that discussed with respect to FIGS. 9-15. A request for a second multimedia application is received from a user in operation 854. Configuration data is retrieved from a data source in operation 856, and, in operation 858, is used to configure the logic device to run the second multimedia application. In operation 860, the second multimedia application is run on the logic device.


[0125] According to the present invention, the multimedia applications can include an audio application, a video application, a voice-based application, a video game application, and/or any other type of multimedia application.


[0126] In one embodiment of the present invention, the configuration data is retrieved from a server located remotely from the logic device utilizing a network such as the Internet.


[0127] In another embodiment of the present invention, the logic device includes one or more Field Programmable Gate Arrays (FPGAs). Ideally, a first FPGA receives the configuration data and uses the configuration data to configure a second FPGA. Another embodiment of the present invention includes first and second FPGAs that are clocked at different speeds. In a preferred embodiment, the default multimedia application and the second multimedia application are both able to run simultaneously on the logic device, regardless of the number of FPGAs.


[0128] Illustrative Reconfigurable Logic Device


[0129] A reconfigurable logic device according to a preferred embodiment of the present invention includes a bi-directional 16 bit communications driver for allowing two FPGAs to talk to each other. Every message from one FPGA to the other is preceded by a 16 bit ID, the high eight bits of which identify the type of message (AUDIO, FLASH, RECONFIGU RATION etc . . . ) and the low identify the particular request for that hardware (FLASH READ etc . . . ). The id codes are processed in the header file fp0server.h, and then an appropriate macro procedure is called for each type of message (e.g. for AUDIO AudioRequest is called) which then receives and processes the main body of the communication.


[0130] Preferably, the FPGAs are allowed to access external memory. Also preferably, arbitration is provided for preventing conflicts between the FPGAs when the FPGAs access the same resource. Further, the need to stop and reinitialize drivers and hardware when passing from one FPGA to the other is removed.


[0131] As an option, shared resources can be locked from other processes while communications are in progress. This can include communications between the FPGAs and/or communication between an FPGA and the resource.


[0132] In one embodiment of the present invention, an application on one of the FPGAs is allowed to send a command to another of the FPGAs. hi another embodiment of the present invention, one or more of the FPGAs is reconfigured so that it can access the resource.


[0133] In use, the server process requires a number of parameters to be passed to it. These are:


[0134] PID: Used for locking shared resources (such as the FLASH) from other processes while communications are in progress.


[0135] usendCommand, uSendLock: A channel allowing applications on FPO to send commands to applications on FPI and a one-bit locking variable to ensure the data is not interleaved with server-sent data.


[0136] uSoundOut, uSoundln: Two channels mirroring the function of the audio driver. Data sent to uSoundOut will be played (assuming the correct code in FP1) out of the MMT2000 speakers, and data read from uSoundln is the input to the MMT2000 microphone. The channels are implemented in such a way that when the sound driver blocks, the communication channel between FPGAs is not held up.


[0137] MP3Run: A one bit variable controlling the MP3 GUI. The server will activate or deactivate the MP3 GUI on receipt of commands from FP1.


[0138] ConfigAddr: A 23 bit channel controlling the reconfiguration process. When the flash address of a valid FPGA bitfile is sent to this channel, the server reconfigures FP1 with the bitmap specified.


[0139] The data transfer rate between the two FPGAs in either direction is preferably about 16 bits per 5 clock cycles (in the clock domain of the slowest FPGA), for communicating between FPGAs that may be running at different clock rates.


[0140] Several Handel-C macros which may be generated for use in various implementations of the present invention are set forth in Table 1. The document “Handel-C Language Reference Manual: version 3,” incorporated by reference above, provides more information about generating macros in Handel-C.
1TABLE 1FilenameTypeMacro NamePurposeFp0server.hResource serverFp0server()Resource server for FP0 for theMMT2000 IPPhone/MP3projectAudiorequest.hAudio ServerAudioRequest()Audio server for allowingsharing of sound hardwareFlashrequest.hData serverFlashRequest()Server for allowing FP1 accessto the FLASH memoryMp3request.hMP3 serverMP3Request()Server to control the MP3application and feed it MP3bitstream data when requested.Reconfigurerequest.hReconfigurationReconfigurerequest()Allows FP1 to request to behardwarereconfigured, at an applicationexit.Fpgacomms.hCommunicationsFpgacomms()Implements two unidirectionalhardware16 bit channels forcommunicating between thetwo FPGAs


[0141] Illustrative Device Development Platform


[0142]
FIG. 9 is a diagrammatic overview of a board 900 of the resource management device according to an illustrative embodiment of the present invention. It should be noted that the following description is set forth as an illustrative embodiment of the present invention and, therefore, the various embodiments of the present invention should not be limited by this description. As shown, the board can include two Xilinx Virtex™ 2000e FPGAs 902, 904, an Intel StrongARM SA1110 processor 906, a large amount of memory 908, 910 and a number of PO ports 912. Its main features are listed below:


[0143] Two XCV 2000e FPGAs each with sole access to the following devices:


[0144] Two banks (1 MB each) of SRAM (256K×32 bits wide)


[0145] Parallel port


[0146] Serial port


[0147] ATA port


[0148] The FPGAs share the following devices:


[0149] VGA monitor port


[0150] Eight LEDs


[0151] 2 banks of shared SRAM (also shared with the CPU)


[0152] USB interface (also shared with the CPU)


[0153] The FPGAs are connected to each other through a General Purpose I/O (GPIO) bus, a 32 bit SelectLink bus and a 32 bit Expansion bus with connectors that allow external devices to be connected to the FPGAs. The FPGAs are mapped to the memory of the StrongARM processor, as variable latency I/O devices.


[0154] The Intel StrongARM SA1110 processor has access to the following:


[0155] 64Mbytes of SDRAM


[0156] 16Mbytes of FLASH memory


[0157] LCD port


[0158] IRDA port


[0159] Serial port


[0160] It shares the USB port and the shared SRAM with the FPGAs.


[0161] In addition to these the board also has a Xilinx XC95288XL CPLD to implement a number of glue logic functions and to act as a shared RAM arbiter, variable rate clock generators and JTAG and MultiLinx SelectMAP support for FPGA configuration.


[0162] A number of communications mechanisms are possible between the ARM processor and the FPGAs. The FPGAs are mapped into the ARM's memory allowing them to be accessed from the ARM as through they were RAM devices. The FPGAs also share two 1 MB banks of SRAM with the processor, allowing DMA transfers to be performed.


[0163] There are also a number of direct connections between the FPGAs and the ARM through the ARM's general purpose I/O (GPIO) registers.


[0164] The board is fitted with 4 clocks, 2 fixed frequency and 2 PLLs. The PLLs are programmable by the ARM processor.


[0165] The ARM is configured to boot into Angel, the ARM onboard debugging monitor, on power up and this can be connected to the ARM debugger on the host PC via a serial link. This allows applications to be easily developed on the host and run on the board.


[0166] There are a variety of ways by which the FPGAs can be configured. These are:


[0167] By an external host using JTAG or MultiLinx SelectMAP


[0168] By the ARM processor, using data stored in either of the Flash RAMs or data acquired through one to the serial ports (USB, IRDA or RS232).


[0169] By the CPLD from power-up with data stored at specific locations in the FPGA FlashRAM.


[0170] By one of the other FPGAs.


[0171] Appendices A and B set forth the pin definition files for the master and slave FPGAs on the board. Appendix C describes a parallel port interface that gives full access to all the parallel port pins. Appendix D discusses a macro library for the board of the present invention.


[0172] StrongARM


[0173] The board is fitted with an Intel SA1110 Strong ARM processor. This has 64Mbytes of SDRAM connected to it locally and 16Mbytes of Intel StrataFLASH™ from which the processor may boot. The processor has direct connections to the FPGAs, which are mapped to its memory map as SRAM like variable latency I/O devices, and access to various I/O devices including USB, IRDA, and LCD screen connector and serial port. It also has access to 2MB of SRAM shared between the processor and the FPGAs.


[0174] Memory Map


[0175] The various devices have been mapped to the StrongARM memory locations as shown in Table 2:
2TABLE 2Address LocationContents0x00000000Flash Memory 16 MB 16 bits wide.0x08000000CPLD see CPLD section for list of registers0x10000000Shared RAM bank 1 256K words x320x18000000Shared RAM bank 0 256K words x320x40000000FPGA access (nCS4)0x48000000FPGA access (nCS5)0xC0000000SDRAM bank 00xD0000000SDRAM bank 1


[0176] The suggested settings for the StrongARM's internal memory configuration registers are shown in Table 3:
3TABLE 3RegisterValueMDCNFG0x A165 A165MDREF0x 8230 02E1MDCADS00x 5555 5557MDCAS10x 5555 5555MDCAS20x 5555 5555MSC00x 2210 4B5CMSC10x 0009 0009MSC20x 2210 2210


[0177] Where the acronyms are defined as:


[0178] MDCNFG—DRAM configuration register


[0179] MSCO,1,2—Static memory control registers for banks 0,1,2


[0180] MDREF—DRAM refresh control register


[0181] MDCAS—CAS rotate control register for DRAM banks


[0182] The CPU clock should be set to 191.7 MHz (CCF=9). Please refer to the StrongARM Developers Manual, available from Intel Corporation, for further information on how to access these registers.


[0183] FLASH Memory


[0184] The Flash RAM is very slow compared to the SRAM or SDRAM. It should only be used for booting from; it is recommended that code be copied from Flash RAM to SDRAM for execution. If the StrongARM is used to update the Flash RAM contents then the code must not be running from the Flash or the programming instructions in the Flash will get corrupted.


[0185] SDRAM


[0186] A standard 64MB SDRAM SODIMM is fitted to the board and this provides the bulk of the memory for the StrongARM. Depending upon the module fitted the SDRAM may not appear contiguous in memory.


[0187] Shared RAM Banks


[0188] These RAM banks are shared with both FPGAs. This resource is arbitrated by the CPLD and may only be accessed once the CPLD has granted the ARM permission to do so. Requesting and receiving permission to access the RAMs is carried out through CPLD register 0×10. Refer to the CPLD section of this document for more information about accessing the CPLD and its internal registers from the ARM processor. See Appendix D.


[0189] FPGA Access


[0190] The FPGAs are mapped to the ARM's memory and the StrongARM can access the FPGAs directly using the specified locations. These locations support variable length accesses so the FPGA is able to prevent the ARM from completing the access until the FPGA is ready to receive or transmit the data. To the StrongARM these will appear as static memory devices, with the FPGAs having access to the Data, Address and Chip Control signals of the RAMs.


[0191] The FPGAs are also connected to the GPIO block of the processor via the SAIO bus. The GPIO pins map to the SAIO bus is shown in Table 4.
4TABLE 4GPIO pinsSAIO lines 0, 10, 110, 112, 317-274-14


[0192] Of these SAIO[0:10] connect to the FPGAs and SAIO[0:14] connect to connector CN25 on the board. The FPGAs and ARM are also able to access 2MB of shared memory, allowing DMA transfers between the devices to be performed.


[0193] I/O Devices


[0194] The following connectors are provided:


[0195] LCD Interface connector with backlight connector


[0196] IRDA connector (not 5V tolerant)


[0197] GPIO pins (not 5V tolerant)


[0198] Serial port


[0199] Reset button to reboot the StrongARM


[0200] The connections between these and the ARM processor are defined below in Tables 5-8:
5TABLE 5ARM - LCD connections (CN27)LCD connectorpin no.ARM pinDescription10..6LCD0..4BLUE0..418..16LCD5..7GREEN0..215..13GPIO2..GPIO4GREEN3..524..20GPIO5..GPIO9RED0..RED427LCD_FCLK1628LCD_LCLK1729LCD_PCLK18 4LCD_BIAS192, 3, (1)+5 V(1), 5, 11, 12, 19,GND25, 26, 30


[0201]

6





TABLE 6










ARM IRDA connections (CN8A)









IRDA connector pin no.
ARM pin
Description





2
RxD2



1
TxD2


3
GPIO12


4
GPIO13


5
GPIO14


6, 8

GND


7

+3.3 V










[0202]

7





TABLE 7










ARM GPIO - CN20AP connections








CN20AP pin no.
GPIO pins





2, 3
 0, 1


4, 5
10, 11


6-16
17-27


17, 19
+3.3 V


18, 20
GND










[0203]

8





TABLE 8










ARM - Serial Port connections (CN23)









Serial Port connector pin no.
ARM pin
Description





2
RxD1



8
RxD3


3
TxD1


7
TxD3


1, 4, 6, 9

Not connected


5

GND










[0204] The serial port is wired in such away that two ports are available with a special lead if handshaking isn't required.


[0205] Angel


[0206] Angel is the onboard debug monitor for the ARM processor. It communicates with the host PC over the serial port (a null modem serial cable will be required). The ARM is setup to automatically boot into Angel on startup—the startup code in the ARM's Flash RAM will need to be changed if this is not required.


[0207] When Angel is in use 32MBs of SDRAM are mapped to 0×00000000 in memory and are marked as cacheable and bufferable (except the top 1MB). The Flash memory is remapped to 0×40000000 and is read only and cacheable. The rest of memory is mapped one to one and is not cacheable or bufferable.


[0208] Under Angel it is possible to run the FPGA programmer software which takes a bitfile from the host machine and programs the FPGAs with it. As the .bit files are over 1MB in size and a serial link is used for the data transfer this is however a very slow way of configuring the FPGAs.


[0209] Virtex FPGA's


[0210] Two Virtex 2000e FPGAs are fitted to the board. They may be programmed from a variety of sources, including at power up from the FLASH memory. Although both devices feature the same components they have different pin definitions; Handel-C header files for the two FPGAs are provided.


[0211] One of the devices has been assigned ‘Master’, the other ‘Slave’. This is basically a means of identifying the FPGAs, with the Master having priority over the Slave when requests for the shared memory are processed by the CPLD. The FPGA below the serial number is the Master.


[0212] One pin on each of the FPGAs is defined as the Master/Slave define pin. This pin is pulled to GND on the Master FPGA and held high on the Slave. The pins are:


[0213] Master FPGA: C9


[0214] Slave FPGA: D33


[0215] The following part and family parameters should be used when compiling a Handel-C program for these chips:


[0216] set family =Xilinx4000E;


[0217] set part “XV2000e-6-fg680”;


[0218] Clocks


[0219] Two socketed clock oscillator modules may be fitted to the board. CLKA is fitted with a 50 MHz oscillator on dispatch and the CLKB socket is left to be fitted by the user should other or multiple frequencies to required. A +5V oscillator module should be used for CLKB.


[0220] Two on board PLLs, VCLK and MCLK, provide clock sources between 8 MHz and 100MHz (125MHz may well be possible). These are programmable by the ARM processor. VCLK may also be single stepped by the ARM.


[0221] This multitude of clock sources allows the FPGAs to be clocked at different rates, or to let one FPGA have multiple clock domains.


[0222] The clocks are connected to the FPGAs, as described in Table 9 and Appendices A and B:
9TABLE 9Master FPGASlave FPGAClockpinpinCLKAA20D21CLKBD21A20VCLKAW19AU22MCLKAU22AW19


[0223] Programming the FPGAs


[0224] The FPGAs may be programmed from a variety of sources:


[0225] Parallel III cable JTAG


[0226] MultiLinx JTAG


[0227] MultiLinx SelectMAP


[0228] ARM processor


[0229] From the other FPGA


[0230] Power up from FLASH memory (FPGA FLASH memory section).


[0231] When using any of the JTAG methods of programming the FPGAs you must ensure that the Bitgen command is passed the option “-g startupclk:jtagclk ”. You will also need a .jed file for the CPLD or a .bsd file, which may be found in “Xilinx\xc9500xl\data\xc95288XL_tq144.bsd”. The StrongARM also requires a .bsd file, which may be found on the Intel website http://developer.intel.com/design/strong/bsdl/sa1110 bl.bsd. When downloaded this file will contain HTML headers and footers which will need to be removed first. Alternatively, copies of the required .bsd files are included on the supplied disks.


[0232] The JTAG chain 1000 for the board is shown in FIG. 10.


[0233] The connections when using the Xilinx Parallel III cable and the ‘JTAG Programmer’ are set forth in Table 10:
10TABLE 10Parallel III Cable JTAGCN24 pin numberJTAG Connector1TMS2cut pin3TDI4TDO5not used6TCK7not used8GND9POWER


[0234] With the Xilinx cables it may be easier to fit the flying ends into the Xilinx pod so that a number of cables may be connected to the board in one go.


[0235] MultiLinx TAG


[0236] The board has support for programming using MultiLinx. CN3 is the only connector required for JTAG programming with MultiLinx and is wired up as described in Table 11. (Note that not used signals may be connected up to the MultiLinx if required.)
11TABLE 11CN3 pin numberMultiLinxCN3 pin numberMultiLinx1not used2Vcc3RD(TDO)4GND5not used6not used7not used8not used9TDI10not used11TCK12not used13TMS14not used15not used16not used17not used18not used19not used20not used


[0237] MultiLinx SelectMAP


[0238] JP3 must be fitted when using MulitLinx SelectMap to configure the FPGAs. This link prevents the CPLD from accessing the FPGA databus to prevent bus contention. This also prevents the ARM accessing the FPGA Flash memory and from attempting FPGA programming from power up. Connectors CN3 and CN4 should be used for Master FPGA programming and CN10 and CN11 for programming the Slave FPGA. See Table 12-13.
12TABLE 12CN3/CN10 pinCN3/CN10 pinnumberMultiLinxnumberMultiLinx1not used2+3v33not used4GND5not used6not used7not used8CCLK9not used10DONE11not used12not used13not used14nPROG15not used16nINIT17not used18not used19not used20not used


[0239]

13








TABLE 13








CN4/CN11 pin

CN4/CN11 pin



number
MultiLinx
number
MultiLinx


















1
CS0
2
D0


3
not used
4
D1


5
not used
6
D2


7
not used
8
D3


9
not used
10
D4


11
not used
12
D5


13
RS(RDWR)
14
D6


15
not used
16
D7


17
DY/BUSY
18
not used


19
not used
20
not used










[0240] In practice MultiLinix SelectMap was found to be a very tiresome method of programming the FPGAs due to the large number of flying leads involved and the fact that the lack of support for multi FPGA systems means that the leads have to connected to a different connector for configuring each of the FPGA.


[0241] ARM Processor


[0242] The ARM is able to program each FPGA via the CPLD. The FPGAs are set up to be configured in SelectMap mode. Please refer to the CPLD section of this document and Xilinx Datasheets on Virtex configuration for more details of how to access the programming pins of the FPGAs and the actual configuration process respectively. An


[0243] ARM program for configuring the FPGAs with a .bit file from the host PC under Angel is supplied. This is a very slow process however as the file is transferred over a serial link. Data could also be acquired from a variety of other sources including USB and IRDA or the onboard Flash RAMs and this should allow an FPGA to be configured in under 0.5 seconds.


[0244] Configuring One FPGA from the Other FPGA


[0245] One FPGA is able to configure the other through the CPLD in a manner similar to when the ARM is configuring the FPGAs. Again, please refer to the CPLD section of this document and the Xilinx data sheets for more information. Configuring on power up from Flash Memory


[0246] The board can be set to boot the FPGAs using configuration data stored in this memory on power up. The following jumpers should be set if the board is required to boot from the Flash RAM:


[0247] JP1 should be fitted if the Master FPGA is to be programmed from power up


[0248] JP2 should be fitted if the Slave FPGA is to be programmed from power up.


[0249] If these jumpers are used the Flash RAM needs to be organized as shown in Table 14:
14TABLE 14OpenOpenAll of FLASH memory available for FLASH dataFittedOpenMaster FPGA configuration data to start ataddress 0x0000OpenFittedSlave FPGA configuration data to start ataddress 0x0000FittedFittedMaster FPGA configuration data to start ataddress 0x0000 followed by slave FPGAconfiguration data.


[0250] The configuration data must be the configuration bit stream only, not the entire .bit file. The bit file contains header information which must first be stripped out and the bytes of the configuration stream as stored in the bit file need to be mirrored—i.e. a configuration byte stored as 00110001 in the bit file needs to be applied to the FPGA configuration data pins are 10001100.


[0251] For more information on configuration of Xilinx FPGAs and the bit format refer to the appropriate Xilinx datasheets.


[0252] FPGA FLASH Memory


[0253] 16 MB of Intel StrataFLASH™ Flash memory is available to the FPGAs. This is shared between the two FPGAs and the CLPD and is connected directly to them. The Flash RAM is much slower than the SRAMs on the board, having a read cycle time of 120 ns and a write cycle of around 80 ns.


[0254] The FPGAs are able to read and write to the memory directly, while the ARM processor has access to it via the CPLD. Macros for reading and writing simple commands to the Flash RAM's internal state machine are provided in the klib.h macro library (such as retrieving identification and status information for the RAM), but it is left up to the developer to enhance these to implement the more complex procedures such as block programming and locking. The macros provided are intended to illustrate the basic mechanism for accessing the Flash RAM.


[0255] When an FPGA requires access to the Flash RAM it is required to notify the CLPD by setting the Flash Bus Master signal low. This causes the CPLD to tri-state its Flash RAM pins to avoid bus contention. Similarly, as both FPGAs have access to the Flash RAM over a shared bus, care has to be taken that they do not try and access the memory at the same time (one or both of the two FPGAs may be damaged if they are driven against each other). It is left up to the developer to implement as suitable arbitration system if the sharing of this RAM across both FPGAs is required.


[0256] The connections between this RAM and the FPGAs are set forth in Table 15:
15TABLE 15Flash RAM pinMaster FPGASlave FPGA pinFD0C2C2FD1P4P4FD2P3P3FD3R1R1FD4AD3AD3FD5AG2AG2FD6AH1AH1FD7AR4AR4FD8B21A21FD9C23C23FD10A21B21FD11E22D23FD12B20A22FD13D22E23FD14C21B22FD15B19B24FA0A28A14FA1C28D16FA2B27B15FA3D27C16FA4A27A15FA5C27E17FA6B26B16FA7D26D17FA8C26C17FA9A26A16FA10D25E18FA11B25B17FA12C25D18FA13A25A17FA14D24C18FA15A24B18FA16B23D19FA17C24A18FA18A23C19FA19B24B19FA20B22C21FA21E23D22FA22A22B20FA23D23E22nCEC19A23nWEA18C24STSD19B23nOEB18C24nBYTEC18B24F bus master pinC17C26


[0257] Local SRAM


[0258] Each FPGA has two banks of local SRAM, arranged as 256K words×32bits. They have an access time of 15 ns.


[0259] In order to allow single cycle accesses to these RAMs it is recommended that the external clock rate is divided by 2 or 3 for the Handel-C clock rate. I.e. include the following line in your code:


[0260] set clock=external_divide “A20” 2; // or higher


[0261] For an external_divide 2 clock rate the RAM should be defined as:
16macro expr sram_local_bank0_spec ={offchip = 1wegate = 1,data = DATA_pins,addr = ADDRESS_pins,cs = { “E2”, “F1”, “J4”, “F2”,“H3”},we = { “H4” },oe = { “E1” }};


[0262] If the clock is divided by more than 2 replace the wegate parameter with


[0263] westart=s2,


[0264] welength=1,


[0265] The connections to these RAMs are as follows:
17TABLE 16MasterMasterFPGASlave FPGAFPGASlave FPGASRAM PinSRAM 0SRAM 0SRAM 1SRAM 1D31W1AA39AT3AR37D30AB4AB35AP3AR39D29AB3Y38AR3AR36D28W2AB36AT2AT38D27AB2Y39AP4AR38D26V1AB37AR2AP36D25AA4AA36AT1AT39D24V2W39AN4AP37D23AA3AA37AR1AP38D22U1W38AN3AP39D21W3W37AP2AN36D20U2V39AN2AN38D19W4W36AP1AN37D18T1U39AM4AN39D17V3V38AN1AM36D16T2U38AM3AM38D15V4V37AL4AM37D14V5T39AM2AL36D13U3V36AL3AM39D12R2T38AM1AL37D11U4V35AL2AL38D10P1R39AL1AK36D9U5U37AK4AL39D8P2U36AK2AK37D7T3R38AK3AK38D6N1U35AK1AJ36D5N2P39AJ4AK39D4T4T37AJ1AJ37D3M1P38AJ3AJ38D2R3T36AH2AH37D1M2N39AJ2AJ39D0R4N38AH3AH38A17L1R37AG1AH39A16L2M39AG4AG38A15N3R36AF2AG36A14K1M38AG3AG39A13N4P37AF1AG37A12K2L39AF4AF39A11M3P36AF3AF36A10J1N37AE2AE38A9L3L38AE4AF37A8J2N36AE’AF38A7L4K39AE3AE39A6H1M37AD2AE36A5K3K38AD4AD38A4H2L37AD1AE37A3K4J39AC1AD39A2G1L36AB1AD36A1G2J38AC5AC38A0J3K37AA2AC39CSE2, F1, J4,J36, H38,AB5, AC4,AB38,F2, H3J37, K36,AA1, AC3,AD37,H39Y1AB39,AC35,AC37WEH4G38Y2AA38OEE1G39AC2AC36D31W1AA39AT3AR37


[0266] Shared SRAM


[0267] Each FPGA has access two banks of shared SRAM, again arranged as 256K words ×32bits. These have a 16 ns access time. A series of quick switches are used to switch these RAMs between the FPGAs and these are controlled by the CPLD which acts as an arbiter. To request access to a particular SRAM bank the REQUEST pin should be pulled low. The code should then wait until the GRANT signal is pulled low by the CPLD in response.


[0268] The Handel-C code to implement this is given below:


[0269] // define the Request and Grant interfaces for the Shared SRAM


[0270] unsigned 1 shared_bank0_request=1;


[0271] unsigned 1 shared_bank1_request=1;


[0272] interface bus_out( )


[0273] sharedbk0reg(shared_bank0_request) with


[0274] sram_shared_bank0_request_pin;


[0275] interface bus_out( )


[0276] sharedbk1reg(shared_bank1_request) with


[0277] sram_shared_bank1_request_pin;


[0278] interface bus_clock_in(unsigned 1)


[0279] shared_bank0_grant( ) with


[0280] sram_shared_bank0—grant_pin;


[0281] interface bus_clock_in(unsigned 1)


[0282] shared_bank1_grant( ) with


[0283] sram_shared_bank1_grant_pin;


[0284] // Access to a shared RAM bank


[0285] {


[0286] shared_bank0_request=0;


[0287] while (shared_bank0_grant.in) delay;


[0288] }


[0289] //perform accesses . . . .


[0290] //release bank


[0291] shared bank0_request=1;


[0292]


[0293] The RAMs should be defined in the same manner as the local RAMs. (See above.)


[0294] The connections to the shared RAMs are given in Table 17:
18TABLE 17SharedMaster FPGASlave FPGAMasterSlave FPGASRAMShared SRAMSharedFPGA SharedSharedpin0SRAM 0SRAM 1SRAM 1D31AA39W1AR37AT3D30AB35AB4AR39AP3D29Y38AB3AR36AR3D28AB36W2AT38AT2D27Y39AB2AR38AP4D25AA36AA4AT39AT1D24W39V2AP37AN4D23AA37AA3AP38AR1D22W38U1AP39AN3D21W37W3AN36AP2D20V39U2AN38AN2D19W36W4AN37AP1D18U39T1AN39AM4D17V38V3AM36AN1D16U38T2AM38AM3D15V37V4AM37AL4D14T39V5AL36AM2D13V36U3AM39AL3D12T38R2AL37AM1D11V35U4AL38AL2D10R39P1AK36AL1D9U37U5AL39AK4D8U36P2AK37AK2D7R38T3AK38AK3D6U35N1AJ36AK1D5P39N2AK39AJ4D4T37T4AJ37AJ1D3P38M1AJ38AJ3D2T36R3AH37AH2D1N39M2AJ39AJ2D0N38R4AH38AH3A17R37L1AH39AG1A16M39L2AG38AG4A15R36N3AG36AF2A14M38K1AG39AG3A13P37N4AG37AF1A12L39K2AF39AF4A11P36M3AF36AF3A10N37J1AE38AE2A9L38L3AF37AE4A8N36J2AF38AE1A7K39L4AE39AE3A6M37H1AE36AD2A5K38K3AD38AD4A4L37H2AE37AD1A2L36G1AD36AB1A1J38G2AC38AC5A0K37J3AC39AA2CSJ36, H39, K36,E2, H3, F2,AC37, AD37,AB5, AC3,H38, J37J4, F1AB38, AC35.Y1, AA1,AB39AC4WEG38H4AA38Y2OEG39E1AC36AC2RE-A17A25D18C25QUESTGRANTB17B25E18D25


[0295] Connections to the StrongARM Processor


[0296] The FPGAs are mapped to the StrongARMs memory as variable latency I/O devices, and are treated as by the ARM as though they were 1024 entry by 32bit RAM devices. The address, data and control signals associated with these RAMs are attached directly to the FPGAs. The manner in which the FPGAs interact with the ARM using these signals is left to the developer.


[0297] The connections are as shown in Table 18:
19TABLE 18ARM pinMaster FPGA pinSlave FPGA pinARMA9A33C11ARMA8C31B11ARMA7B32C12ARMA6B31A11ARMA5A32D13ARMA4D30B12ARMA3A31C13ARMA2C30D14ARMA0D29C14ARMD31F39G3ARMD30H37G4ARMD29F38D2ARMD28H36F3ARMD27E39D3ARMD26G37F4ARMD25E38D1ARMD24G36C5ARMD23D39A4ARMD22D38D6ARMD21F36B5ARMD20D37C6ARMD19E37A5ARMD18C38D7ARMD17B37B6ARMD16F37C7ARMD15D35A6ARMD14B36D8ARMD13C35B7ARMD12A36C8ARMD11D34A7ARMD10B35D9ARMD9C34B8ARMD8A35A8ARMD7D33C9ARMD6B34B9ARMD5C33D10ARMD4A34A9ARMD3B33B10ARMD2D32C10ARMD1C32D11ARMD0D31A10ARMnWEA30B13ARMnOEC29D15ARMnCS4A29A13ARMnCS5B29C15ARMRDYB28B14


[0298] Some of the ARM's general purpose I/O pins are also connected to the FPGAs. These go through connector CN25 on the board, allowing external devices to be connected to them (see also ARM section). See Table 19.
20TABLE 19SAIO busARM GPI/OMasterSlave(ARMGPIO)pinsFPGA pinFPGA pinSAIO1023B9B34SAIO922D10C33SAIO821A9A34SAIO720C10D32SAIO619B10B33SAIO518D11C32SAIO417A10D31SAIO311C11A33SAIO210B11C31SAIO11C12B32SAIO00A11B31


[0299] CPLD Interfacing


[0300] Listed in Table 20 are the pins used for setting the Flash Bus Master signal and FP_COMs. Refer to the CPLD section for greater detail on this.
21TABLE 20Bus Master pinC17C26FP_COM pinsB16, E17, A15B26, C27, A27[MSB..LSB]


[0301] Local I/O Devices Available to each FPGA


[0302] ATA Port


[0303] 33 FPGA I/O pins directly connect to the ATA port. These pins have 100Ω series termination resistors which make the port 5V IO tolerant. These pins may also be used as I/O if the ATA port isn't required. See Table 21.
22TABLE 21ATA line no.ATA portMaster FPGASlave FPGA pinATA01AV4AT33ATA14AU6AW36ATA23AW4AU33ATA36AT7AV35ATA45AW5AT32ATA58AU7AW35ATA67AV6AU32ATA710AT8AV34ATA89AW6AV32ATA912AU8AW34ATA1011AV7AT31ATA1114AT9AU31ATA1213AW7AV33ATA1316AV8AT30ATA1415AU9AW33ATA1518AW8AU30ATA1617AT10AW32ATA1720AV9AT29ATA1821AU10AV31ATA1923AW9AU29ATA2025AT11AW31ATA2128AV10AV29ATA2227AU11AV30ATA2329AW10AU28ATA2431AU12AW30ATA2532AV11AT27ATA2633AT13AW29ATA2734AW11AV28ATA2835AU13AU27ATA2936AT14AW28ATA3037AV12AT26ATA3138AU14AV27ATA3239AW12AU26GND2, 19, 22, 24, 26, 30, 40


[0304] Parallel Port


[0305] A conventional 25pin D-type connector and a 26way box header are provided to access this port. The I/O pins have 100Ω series termination resistors which also make the port 5V I/O tolerant. These pins may also be used as I/O if the parallel port isn't required. See Table 22. See also Appendix C.
23TABLE 22PP line no.Parallel port pinMaster FPGA pinSlave FPGA pinPPO01A8A35PPO114B8C34PPO22D9B35PPO315A7D34PPO43C8A36PPO516B7C35PPO64D8B36PPO717A6D35PPO85C7F37PPO96B6B37PPO107D7C38PPO118A5E37PPO129C6D37PPG1310B5F36PPO1411D6D38PPO1512A4D39PPO1613C5G36GND18, 19, 20, 21, 22, 23, 24, 25


[0306] Serial Port


[0307] A standard 9pin D-type connector with a RS232 level shifter is provided. This port may be directly connected to a PC with a Null Modem cable. A box header with 5V tolerant I/O is also provided. These signals must NOT be connected to a standard RS232 interface without an external level shifter as the FPGAs may be damaged. See Table 23.
24TABLE 23Serial line no.Serial port pin no.Master FPGA pinSlave FPGA pinSerial 0 (CTS)8 (CTS)AV3AT34Serial 1 (RxD)2 (RxD)AU4AU36Serial 2 (RTS)7 (RTS)AV5AU34Serial 3 (TxD)3 (TxD)AT6AV36GND5Not connected1, 4, 6, 9


[0308] Serial Header


[0309] Each FPGA also connects to a 10 pin header (CN9/CN16). The connections are shown in Table 24:
25TABLE 24(CN9/CN16) Header pin no.Master FPGA pinSlave FPGA Pin1D1E382F4G373D3E394F3H365D2F386G4H377G3F398.9GND10+5V


[0310] Shared I/O Devices


[0311] These devices are shared directly between the two FPGAs and great care should be taken as to which FPGA accesses which device at any given time.


[0312] VGA Monitor


[0313] A standard 15pin High Density connector with an on-board 4bit DAC for each colour (Red, Green, Blue) is provided. This is connected to the FPGAs as set forth in Table 25:
26TABLE 25VGA lineMaster FPGA pinSlave FPGA pinVGA11 (R3) AV25AT16VGA10 (R2) AT24AW14VGA9 (R1)AW25AU16VGA8 (R0)AU24AV15VGA7 (G3)AW24AR17VGA6 (G2)AW23AW15VGA5 (G1)AV24AT17VGA4 (G0)AV22AU17VGA3 (B3)AR23AV16VGA2 (B2)AW22AR18VGA1 (B1)AT23AW16VGA0 (B0)AV21AT18VGA13AW26AW13VGA12AU25AV14


[0314] LEDs


[0315] Eight of the twelve LEDs on the board are connected directly to the FPGAs. See Table 26.
27TABLE 26LEDMaster FPGA pinSlave FPGA pinD5AT25AU15D6AV26AV13D7AW27AT15D8AU26AW12D9AV27AU14D10AT26AV12D11AW28AT14D12AU27AU13


[0316] GPIO Connector


[0317] A 50way Box header with 5V tolerant I/O is provided. 32 data bits (‘E’ bus) are available and two clock signals. The connector may be used to implement a SelectLink to another FPGA. +3V3 and +5V power supplies are provided via fuses. See Table 27.
28TABLE 27GPI/OExpansionheader pinMasterSlave FPGAbus lineno.FPGA pinpinE011AT15AW27E113AV13AV26E215AU15AT25E317AW13AW26E523AT16AV25E625AW14AT24E727AU16AW25E831AV15AU24E933AR17AW24E1035AW15AW23E1137AT17AV24E1241AU17AV22E1343AV16AR23E1445AR18AW22E1547AW16AT23E1644AT18AV21E1742AV17AU23E1840AU18AW21E1938AW17AV23E2034AT19AR22E2132AV18AV20E2230AU19AW20E2328AW18AV19E2424AU21AU21E2522AV19AW18E2620AW20AU19E2718AV20AV18E2814AR22AT19E2912AV23AW17E3010AW21AU18E318AU23AV17CLKA 5 (CLK 3 on diagrams)CLKB49 (CLK 4 on diagrams)+5V1, 2+3V33, 4GND6, 7, 9, 16, 19, 26, 29, 36, 39, 46, 48, 50


[0318] SelectLink Interface


[0319] There is another 32bit general purpose bus connecting the two FPGAs which may be used to implement a SelectLink interface to provide greater bandwidth between the two devices. The connections are set forth in Table 28:
29TABLE 28MasterSlaveSelectLink LineFPGA pinFPGA pinSL0AV28AW11SL1AW29AT13SL2AT27AV11SL3AW30AU12SL4AU28AW10SL5AV30AU11SL6AV29AV10SL7AW31AT11SL8AU29AW9SL9AV31AU10SL10AT29AV9SL11AW32AT10SL12AU30AW8SL13AW33AU9SL14AT30AV8SL15AV33AW7SL16AU31AT9SL17AT31AV7SL18AW34AU8SL19AV32AW6SL20AV34AT8SL21AU32AV6SL22AW35AU7SL23AT32AU8SL24AV35AT7SL25AU33AW4SL26AW36AU6SL27AT33AV4SL28AV36AT6SL29AU34AV5SL30AU36AU4SL31AT34AV3


[0320] USB


[0321] The FPGAs have shared access to the USB chip on the board. As in the case of the Flash RAM, the FPGA needs to notify the CPLD that it has taken control of the USB chip by setting the USBMaster pin low before accessing the chip. For more information on the USB chip refer to the USB section of this document.
30TABLE 29USBMasterD17D26USBMSC16D27nRSTB15B27IRQD16C28A0A14A28nRDB14B28nWRC15B29nCSA13A29D7D15C29D6B13A30D5C14D29D4A12B30D3D14C30D2C13A31D1B12D30D0D13A32


[0322] CPLD


[0323] The board is fitted with a Xilinx XC95288XL CPLD which provides a number of Glue Logic functions for shared RAM arbitration, interfacing between the ARM and FPGA and configuration of the FPGAs. The later can be used to either configure the FPGAs from power up or when one FPGA re-configures the other (Refer to section ‘Programming the FPGAs’). A full listing of ABEL code contained in the CPLD can be found in Appendix D.


[0324] Shared SRAM Bank Controller


[0325] The CPLD implements a controller to manage the shared RAM banks. A Request-Grant system has been implemented to allow each SRAM bank to be accessed by one of the three devices. A priority system is employed if more than one device requests the SRAM bank at the same time.
31Highest priority:ARMMaster FPGALowest priority:Slave FPGA


[0326] The FPGAs request access to the shared SRAM by pulling the corresponding REQUEST signals low and waiting for the CPLD to pull the GRANT signals low in response. Control is relinquished by setting the REQUEST signal high again. The ARM processor is able to request access to the shared SRAM banks via some registers within the CPLD—refer to the next section.


[0327] CPLD Registers for the ARM


[0328] The ARM can access a number of registers in the CPLD, as shown in Table 30:
32TABLE 300x00This is an address indirection register for register 1 which usedfor the data access.0Write only FLASH Address A0-A71Write only FLASH Address A8-A152Write only FLASH Address A16-A243Read / Write FLASH data (Access time must be at least150 ns)I4Backlight brightness5Write Only USB control (RST / MS)D0: USB RESETD1: USB Master Slave0x04Data for register 0 address expanded data0x08Master FPGA access0x0CSlave FPGA access0x10SRAM ArbiterD0: Shared SRAM bank 0 Request (high to request, low torelinquish)D1: Shared SRAM bank 1 Request (high to request, low torelinquish)D4: Shared SRAM bank 0 Granted (High Granted Low notGranted)D5: Shared SRAM bank 1 Granted (High Granted Low notGranted)0x14Status / FPGA control pins (including PLL control)WriteD0: Master FPGA nPROGRAM pinD1: Slave FPGA nPROGRAM pinD2: UndefinedD3: UndefinedD4: PLL Serial clock pinD5: PLL Serial data pinD6: PLL Feature ClockD7: PLL Internal Clock selectReadD0: Master FPGA DONE SignalD1: Slave FPGA DONE signalD2: FPGA INIT SignalD3: FLASH status SignalD4: Master FPGA DOUT SignalD5: Slave FPGA DOUT SignalD6: USB IRQ Signal0x18USB Register 00x1CUSB Register 1


[0329] CPLD Registers for the FPGA's


[0330] The FPGAs can access the CPLD by setting a command on the FPCOM pins. Data is transferred on the FPGA (Flash RAM) databus. See Table 31.
33TABLE 310x0Write to Control RegisterD0: Master FPGA Program signal (inverted)D1: Slave FPGA Program signal (inverted)D2: Master FPGA chip select signal (inverted)D3: Slave FPGA chip select signal (inverted)0x3Sets configuration clock low0x5Read Status RegisterD0: Master FPGA DONE signalD1: Slave FPGA DONE signalD2: FPGA INIT signalD3: FLASH status signalD4: Master FPGA DOUT signalD5: Slave FPGA DOUT signalD6: USB IRQ signal0x7No Operation


[0331] These commands will mainly be used when one FPGA reconfigures the other. Refer to the FPGA configuration section and the appropriate Xilinx datasheets for more information.


[0332] CPLD LEDs


[0333] Four LED's are directly connected to the CPLD. These are used to indicate the following:
34D0DONE LED for the Master FPGA Flashes during programmingD1DONE LED for the Slave FPGA Flashes during programmingD2Not usedD3Flashes until an FPGA becomes programmed


[0334] Other Devices


[0335] USB


[0336] The board has a SCAN Logic SL11H USB interface chip, capable of full speed 12Mbits/s transmission. The chip is directly connected to the FPGAs and can be accessed by the ARM processor via the CLPD (refer to the CPLD section of this document for further information).


[0337] The datasheet for this chip is available at http://www.scanlogic.compdf/sl11h /sl11hspec.pdf


[0338] PSU


[0339] This board maybe powered from an external 12V DC power supply through the 2.1 mm DC JACK. The supply should be capable of providing at least 2.4A.


[0340] Handel-C Library Reference


[0341] Introduction


[0342] This section describes the Handel-C libraries written for the board. The klib.h library provides a number of macro procedures to allow easier access to the various devices on the board, including the shared memory, the Flash RAM, the CPLD and the LEDs. Two other libraries are also presented, parallel_port.h and serial_port.h, which are generic Handel-C libraries for accessing the parallel and serial ports and communicating over these with external devices such as a host PC.


[0343] Also described is an example program which utilizes these various libraries to implement an echo server for the parallel and serial ports.


[0344] Also described here is a host side implementation of ESL's parallel port data transfer protocol, to be used with the data transfer macros in parallel_port.h.


[0345] The klib.h Library


[0346] Shared RAM Arbitration


[0347] A request—grant mechanism is implemented to arbitrate the shared RAM between the two FPGAs and the ARM processor. Four macros are provided to make the process of requesting and releasing the individual RAM banks easier.


[0348] KRequestMemoryBank0( );


[0349] KRequestMemoryBank1( );


[0350] KReleaseMemoryBank0( );


[0351] KReleaseMemoryBank1( );


[0352] Arguments


[0353] None.


[0354] Return Values


[0355] None.


[0356] Execution Time


[0357] KRequestMemoryBank#( ) requires at least one clock cycle.


[0358] KkeleaseMemoryBank#( ) takes one clock cycle.


[0359] Description


[0360] These macro procedures will request and relinquish ownership of their respective memory banks. When a request for a memory bank is made the procedure will block the thread until access to the requested bank has been granted.


[0361] Note: The request and release functions for different banks may be called in parallel with each other to gain access to or release both banks in the same cycle.


[0362] Flash RAM Macros


[0363] These macros are provided as a basis through which interfacing to the Flash RAM can be carried out. The macros retrieve model and status information from the RAM to illustrate how the read/write cycle should work. Writing actual data to the Flash RAM is more complex and the implementation of this is left to the developer.


[0364] KSetFPGAFBM ( )


[0365] KReleaseFPGAFBM ( )


[0366] Arguments


[0367] None.


[0368] Return Values


[0369] None.


[0370] Execution Time


[0371] Both macros require one clock cycle.


[0372] Description


[0373] Before any communication with the Flash RAM is carried out the FPGA needs to let the CPLD know that it is taking control of the Flash RAM. This causes the CLPD to tri-state the Flash bus pins, avoiding resource contention. KSetFPGAFBM( ) sets the Flash Bus Master (FBM) signal and KReleaseFPGAFBM( ) releases it. This macro is generally called by higher level macros such as KReadFlash( ) or KWriteFlash( ).


[0374] Note: These two procedures access the same signals and should NOT be called in parallel to each other.


[0375] KEnableFlash( )


[0376] KDisableFlash( )


[0377] Arguments


[0378] None.


[0379] Return Values


[0380] None.


[0381] Execution Time


[0382] Both macros require one clock cycle.


[0383] Description


[0384] These macros raise and lower the chip-select signal of the Flash RAM and tri-state the FPGA Flash RAM lines (data bus, address bus and control signals). This is necessary if the Flash RAM is to be shared between the two FPGAs as only one chip can control the Flash at any give time. Both FPGAs trying to access the Flash RAM simultaneously can cause the FPGAs to ‘latch up’ or seriously damage the FPGAs or Flash RAM chip. This macro is generally called by higher level macros such as KReadFlash( ) or KWriteFlash( ).


[0385] Note: These macros access the same signals and should NOT be called in parallel with each other.


[0386] KWriteFlash(address, data)


[0387] KReadFlash(address, data)


[0388] Arguments


[0389] 24 bit address to be written or read.


[0390] 8 bit data byte.


[0391] Return Values


[0392] KReadFlash( ) returns the value of the location specified by address in the data parameter.


[0393] Execution Time


[0394] Both procedures take 4 cycles.


[0395] The procedures are limited by the timing characteristics of the Flash RAM device. A read cycle takes at least 120 ns, a write cycle 100 ns. The procedures have been set up for a Handel-C clock of 25 MHz.


[0396] Description


[0397] The macros read data from and write data to the address location specified in the address parameter.


[0398] Note: These macros access the same signals and should NOT be called in parallel with each other.


[0399] KSetFlashAddress(address)


[0400] Arguments


[0401] 24 bit address value.


[0402] Return Values


[0403] None.


[0404] Execution Time


[0405] This macro requires one clock cycle.


[0406] Description


[0407] The macro sets the Flash address bus to the value passed in the address parameter. This macro is used when a return value of the data at the specified location is not required, as may be the case when one FPGA is configuring the other with data from the Flash RAM since the configuration pins of the FPGAs are connected directly to the lower 8 data lines of the Flash RAM.


[0408] KReadFlashID flash_component_ID, manuflacturer_ID)


[0409] KReadFlashStatus(status)


[0410] Arguments


[0411] 8 bit parameters to hold manufacturer, component and status information.


[0412] Return Values


[0413] The macros return the requested values in the parameters passed to it.


[0414] Execution Time


[0415] KReadFlashStatus( ) requires 10 cycles,


[0416] KReadFlashID( ) requires 14 cycles.


[0417] Description


[0418] The macros retrieve component and status information from the Flash RAM. This is done by performing a series of writes and reads to the internal Flash RAM state machine.


[0419] Again, these macros are limited by the access time of the Flash RAM and the number of cycles required depends on rate the design is clocked at. These macros are designed to be used with a Handel-C clock rate of 25 MHz or less.


[0420] Although a system is in place for indicating to the CPLD that the Flash RAM is in use (by using the KSetFPGAFBM( ) and KReleaseFPGAFBM ( ) macros) it is left up to the developers to devise a method of arbitration between the two FPGAs. As all the Flash RAM lines are shared between the FPGAs and there is no switching mechanism as in the shared RAM problems will arise if both FPGAs attempt to access the Flash RAM simultaneously.


[0421] Note: These macros access the same signals and should NOT be called in parallel with each other. Also note that these macros provide a basic interface for communication with the Flash RAM. For more in-depth please refer to the Flash RAM datasheet.


[0422] CPLD Interfacing


[0423] The following are macros for reading and writing to the CPLD status and control registers:


[0424] KReadCPLDStatus(status)


[0425] KWriteCPLDControl(control)


[0426] Arguments


[0427] 8 bit word


[0428] Return Values


[0429] KReadStatus( ) returns an 8 bit word containing the bits of the CPLD's status register. (Refer to the CPLD section for more information)


[0430] Execution Time


[0431] Both macros require six clock cycles, at a Handel-C clock rate of 25 MHz or less.


[0432] Description


[0433] These macros read the status register and write to the control register of the CPLD.


[0434] KSetFPCOM(ƒp_command)


[0435] Arguments


[0436] 3 bit word.


[0437] Return Values


[0438] None.


[0439] Execution Time


[0440] This macro requires three clock cycles, at a Handel-C clock rate of 25 MHz or less.


[0441] Description


[0442] This macro is provided to make the sending of FP_COMMANDs to the CPLD easier. FP_COMMANDs are used when the reconfiguration of one FPGA from the other is desired (refer to the CPLD section for more information).


[0443] The different possible fp_command (s) are set forth in Table 32:
35TABLE 32FP_SET_IDLESets CPLD to idleFP_READ_STATUSRead the status register of the CPLDFP_WRITE_CONTROLWrite to the control register of the CPLDFP_CCLK_LOWSet the configuration clock lowFP_CCLK_HIGHSet the configuration clock high


[0444] e.g.


[0445] KSetFPCOM(FP_READ_STATUS);


[0446] KSetFPCOM(FP_SET_IDLE);


[0447] Note: These macros access the same signals and should NOT be called in parallel with each other.


[0448] LEDs


[0449] KSetLEDs(maskByte)


[0450] Arguments


[0451] 8 bit word.


[0452] Return Values


[0453] None.


[0454] Execution Time


[0455] One clock cycle.


[0456] Description


[0457] This macro procedure has been provided for controlling the LEDs on the board. The maskByte parameter is applied to the LEDs on the board, with a 1 indicating to turn a light on and a 0 to turn it off. The MSB of maskbyte corresponds to D12 and the LSB to D5 on the board.


[0458] Note: Only one of the FPGAs may access this function. If both attempt to do so the FPGAs will drive against each other and may ‘latch-up’, possibly damaging them.


[0459] Using the Parallel Port


[0460] Introduction


[0461] The library parallel_port.h contains routines for accessing the parallel port. This implements a parallel port controller as an independent process, modeled closely on the parallel port interface found on an IBM PC. The controller allows simultaneous access to the control, status and data ports (as defined on an IBM PC) of the parallel interface. These ports are accessed by reading and writing to channels into the controller process. The reads and writes to these channels are encapsulated in other macro procedures to provide an intuitive API.


[0462]
FIG. 11 shows a structure of a Parallel Port Data Transmission System 1100 according to an embodiment of the present invention. An implementation of ESL's parallel data transfer protocol has also been provided, allowing data transfer over the parallel port, to and from a host computer 1102. This is implemented as a separate process which utilizes the parallel port controller layer to implement the protocol. Data can be transferred to and from the host by writing and reading from channels into this process. Again macro procedure abstractions are provided to make the API more intuitive.


[0463] A host side application for data transfer under Windows95/98 and NT is provided. Data transfer speeds of around 100 Kbytes/s can be achieved over this interface, limited by the speed of the parallel port.


[0464] Accessing the Parallel Port Directly.


[0465] The 17 used pins of the port have been split into data, control and status ports as defined in the IBM PC parallel port specification. See Table 33.
36TABLE 33Port NamePin numberData PortData 02Data 13Data 24Data 35Data 46Data 57Data 68Data 79Status PortnACK10Busy11Paper Empty12Select13nError15Control PortnStrobe1nAutoFeed14Initialise Printer (Init)16nSelectin17


[0466] The parallel port controller process needs to be run in parallel with those part of the program wishing to access the parallel port. It is recommended that this is done using a par{ } statement in the main( ) procedure.


[0467] The controller procedure is:


[0468] parallel port(pp_data_send_channel, pp_data_read_channel, pp_control_port_read, pp_status_port_read, pp_status_port_write);


[0469] where the parameters are all channels through which the various ports can be accessed.


[0470] Parallel Port Macros


[0471] It is recommended that the following macros be used to access the parallel port rather than writing to the channels directly.


[0472] PpWriteData(byte)


[0473] PpReadData(byte)


[0474] Arguments


[0475] Unsigned 8 bit word.


[0476] Return Values


[0477] PpReadData( ) returns the value of the data pins in the argument byte.


[0478] Execution Time


[0479] Both macros require one clock cycle.


[0480] Description


[0481] These write the argument byte to the register controlling the data pins of the port, or return the value of the data port within the argument byte respectively, with the MSB of the argument corresponding to data[7]. Whether or not the value is actually placed on the data pins depends on the direction settings of the data pins, controlled by bit 6 of the status register.


[0482] PpReadControl(control_port)


[0483] Arguments


[0484] Unsigned 4 bit word.


[0485] Return Values


[0486] PpReadControl( ) returns the value of the control port pins in the argument byte.


[0487] Execution Time


[0488] This macro requires one clock cycle.


[0489] Description


[0490] This procedure returns the value of the control port. The 4 bit nibble is made up of [nSelect_in@Init@nAutofeed@nStrobe], where nSelect_in is the MSB.


[0491] PpReadStatus(status_port)


[0492] PpSetStatus(status_port)


[0493] Arguments


[0494] Unsigned 6 bit word.


[0495] Return Values


[0496] PpReadStatus( ) returns the value of the status port register in the argument byte.


[0497] Execution Time


[0498] This macro requires one clock cycle.


[0499] Description


[0500] These read and write to the status port. The 6 bit word passed to the macros is made up of [pp_direction@busy@nAck@PE@Select@nError], where pp_direction indicates the direction of the data pins (i.e. whether they are in send [1] or receive [0] mode). It is important that this bit is set correctly before trying to write or read data from the port using PpWriteData( ) or PpReadData( ).


[0501] Note: All of the ports may be accessed simultaneously, but only one operation may be performed on each at any given time. Calls dealing with a particular port should not be made in parallel with each other.


[0502] Transferring Data to and from the Host PC


[0503] The library parallel_port.h also contains routines for transferring data to and from a host PC using ESL's data transfer protocol. The data transfer process, pp_coms( ), which implements the transfer protocol should to be run in parallel to the parallel port controller process, again preferably in the main par { } statement. A host side implementation of the protocol, ksend.exe, is provided also.
37pp_coms(pp_send_chan,- channel to write data to when sendingpp_recv_chan,- channel to read data from when receivingpp_command,- channel to write commands topp_error)- channel to receive error messaged from.


[0504] The following macros provide interfaces to the data transfer process:
38OpenPP(error)- open the parallel port for data transferClosePP(error)- close the port


[0505] Note: Make sure that the host side application, ksend.exe, is running. The macros will try and handshake with the host and will block (or timeout) until a response is received. Also note that the following macros all access the same process and should NOT be called in parallel with each other.


[0506] Arguments


[0507] Unsigned 2 bit word.


[0508] Return Values


[0509] The argument will return an error code indicating the success or failure of the command.


[0510] Execution Time


[0511] This macro requires one clock cycle.


[0512] Description


[0513] These two macros open and close the port for receiving or sending data. They initiate a handshaking procedure to start communications with the host computer.
39SetSendMode(error)- set the port to send modeSetRecvMode(error)- set the port to receive mode


[0514] Arguments


[0515] Unsigned 2 bit word.


[0516] Return Values


[0517] The argument will return an error code indicating the success or failure of the command.


[0518] Execution Time


[0519] This macro requires one clock cycle.


[0520] Description


[0521] These set the direction of data transfer and the appropriate mode should be set before attempting to send or receive data over the port.
40SendPP(byte, error)- send a byte over the portReadPP(byte, error)- read a byte from the port


[0522] Arguments


[0523] Unsigned 8 bit and unsigned 2 bit words.


[0524] Return Values


[0525] ReadPP( ) returns the 8 bit data value read from the host in the byte parameter. Both macros will return an error code indicating the success or failure of the command.


[0526] Execution Time


[0527] How quickly these macros execute depend on the Host. The whole sequence of handshaking actions for each byte need to be completed before the next byte can be read or written.


[0528] Description


[0529] These two macros will send and receive a byte over the parallel port once this has been initialized and placed in the correct mode.


[0530] The procedures return a two bit error code indicating the result of the operation. These codes are defined as:
41#define PP_NO_ERROR0#define PP_HOST_BUFFER_NOT_FINISHED1#define PP_OPEN_TIMEOUT2


[0531] Note: SendPP and ReadPP will block the thread until a byte is transmitted or the timeout value is reached. If you need to do some processing while waiting for a communication use a ‘prialt’ statement to read from the global pp_recv_chan channel or write to the pp_send_chan channel.


[0532] Typical macro procedure calls during Read/Write


[0533]
FIG. 12 is a flowchart that shows the typical series of procedure calls 1200 when receiving data. FIG. 13 is a flow diagram depicting the typical series of procedure calls 1300 when transmitting data.


[0534] The Ksend application


[0535] The ksend.exe application is designed to transfer data to and from the board FPGAs over the parallel port. It implements the ESL data transfer protocol. It is designed to communicate with the pp_coms( ) process running on the FPGA. This application is still in the development stage and may have a number of bugs in it.


[0536] Two versions of the program exist, one for Windows95/98 and one for WindowsNT. The NT version requires the GenPort driver to be installed. Refer to the GenPort documentation for details of how to do this.


[0537] In its current for the ksend application is mainly intended for sending data to the board, as is done in the esl_boardtest program. It is how ever also able to accept output form the board. Again, please refer to the application note or the ksend help (invoked by calling ksend without any parameters) for further details.


[0538] Serial Port


[0539] Introduction


[0540] Each FPGA has access to a RS232 port allowing it to be connected to a host PC. A driver for transferring data to and from the FPGAs from over the serial port is contained in the file serial_port.h.


[0541] RS232A Interface


[0542] There are numerous ways of implementing RS232 interfacing, depending on the capabilities of the host and device and what cables are used. This interface is implemented for a cross wired null modem cable which doesn't require any hardware handshaking—the option of software flow control is provided, though this probably won't be necessary as the FPGA will be able to deal with the data at a much faster rate than the host PC can provide it. When soft flow control is used the host can stop and start the FPGA transmitting data by sending the XON and XOFF tokens. This is only necessary when dealing with buffers that can fill up and either side needs to be notified.


[0543] Serial Port Macros


[0544] Serial port communications have been implemented as a separate process that runs in parallel to the processes that wish to send/ receive data. FIG. 14 is a flow diagram illustrating several processes 1402, 1404 running in parallel.


[0545] The serial port controller process is


[0546] serial_port(sp_input, sp_output);


[0547] where sp_input and sp_output are n bit channels through which data can be read or written out form the port. These reads and writes are again encapsulated in separate macro procedures to provide the user with a more intuitive API.


[0548] SpReadData(byte)—read a data byte from the port


[0549] SpWriteData(byte)—write a byte to the port


[0550] Arguments


[0551] n bit words, where n is the number of data bits specified.


[0552] Return Values


[0553] SpReadData( ) returns an n bit value corresponding to the transmitted byte in the argument.


[0554] Execution Time


[0555] The execution time depends to the protocol and the baud rate being used.


[0556] Description


[0557] These procedures send and receive data over the serial port using the RS232 protocol. The exact communications protocol must be set up using a series of #defines before including the serial_port.h library. To use an 8 data bit, 1 start and 1 stop bit protocol at 115200 baud on a null modem cable with no flow control the settings would be:
42#define BAUD_RATE 115200#define START_BIT((unsigned 1)0)#define STOP_BIT((unsigned 1)1)#define NUM_DATA_BITS8


[0558] Other options are:
43For soft flow control:#define SOFTFLOW#define XON<ASCII CHARACTER CODE>#define XOFF<ASCII CHARACTER CODE>RTS/CTS flow control:#define HARDFLOW


[0559] The default settings are:
44Baud rate9600Start bit0Stop bit1Num. data bits8XON17XOFF19Flow control off


[0560] Any of the standard baud rate settings will work provided that the Handel-C clock rate is at least 8 times higher than the baud rate. Also ensure that the macro CLOCK_RATE is defined, this is generally found in the pin definition header for each of the FPGAs.


[0561] e.g.


[0562] #define CLOCK_RATE 25000000//define the clock rate


[0563] Example Program


[0564] Shown here is an example Handel-C program that illustrates how to use the parallel and serial port routines found in the serial_port.h and parallel_port.h libraries. The program implements a simple echo server on the serial and parallel ports. The SetLEDs( ) function from the klib.h library is used to display the ASCII value received over the serial port on the LEDs in binary.
45// Include the necessary header files#define MASTER#ifdef MASTER#include “KompressorMaster.h”#else#include “KompressorSlave.h”#endif#include “stdlib.h”#include “parallel_port.h”#include “klib.h”// Define the protocol and include the file#define BAUD_RATE 9600#define NUM_DATA_BITS 8#define NULLMODEM#include “serial_port.h”//////////////////////////////////// Process to echo any data received by the parallelport// to verify it is working properlymacro proc EchoPP(){unsigned 8 pp_data_in;unsigned 2 error with {warn = 0};unsigned 1 done;OpenPP (error); // initiate contact with hostwhile (!done){// read a byteSetRecvMode (error);ReadPP (pp_data_in, error) ;// echo itSet SendMode (error) ;WritePP (pp_data_in, error) ;}ClosePP (error) ; // close connection}//////////////////////////////////// Process to echo any data received by the serialport// to verify it is working properly. We are always// listening on the serial port so there is no needto open it.macro proc EchoSP(){unsigned 8 serial_in_data;while (1){SpReadData (serial_in_data) ; // read a bytefrom the serial portSetLEDs (serial_in_data) ;SpWriteData(serial_in_data) ; // write itback out}delay; // avoid combinational cycles}void main (void){while (1){par{EchoPP() ; //Parallel port threadEchoSP() ; // Serial port thread////// Start the services ////////// Parallel Port stuffpp_coms (pp_send_chan, pp_recv_chan,pp_command, pp_error) ;parallel_port (pp_data_send_channel,pp_data_read_channel,pp_control_port_read,pp_status_port_read,pp_status_port_write) ;// Serial port stuff //serial_port (sp_input, sp_output) ;}}}


[0565] The code can be compiled for either FPGA by simple defining or un-defining the MASTER macro—lines 1 to 5


[0566] More Information


[0567] Useful information pertaining to the subjects of this described herein can be found in the following: The Programmrable Logic Data Book, Xilinx 1996; Handel-C Preprocessor Reference Manual, Handel-C Compiler Reference Manual, and Handel-C Language Reference Manual, Embedded Solutions Limited 1998; and Xilinx Datasheets and Application notes, available from the Xilinx website http://www.xilinx.com, and which are herein incorporated by reference.


[0568] Illustrative Embodiment


[0569] According to an embodiment of the present invention, a device encapsulates the Creative MP3 encoder engine in to an FPGA device. FIG. 15 is a block diagram of an FPGA device 1500 according to an exemplary embodiment of the present invention. The purpose of the device is to stream audio data directly from a CD 1502 or CDRW into the FPGA, compress the data, and push the data to a USB host 1504 which delivers it to the OASIS(Nomad 2) decoder. The entire operation of this device is independent of a PC.


[0570] The design of the FPGA uses the “Handel-C” compiler, described above, from Embedded Solutions Limited (ESL). The EDA tool provided by ESL is intended to rapidly deploy and modify software algorithms through the use of FPGAs without the need to redevelop silicon. Therefore the ESL tools can be utilized as an alternative to silicon development and can be used in a broader range of products.


[0571] Feature Overview


[0572] The FGPA preferably contains the necessary logic for the following:


[0573] MP3 Encoder 1506


[0574] User Command Look Up Table


[0575] play


[0576] pause


[0577] eject


[0578] stop


[0579] skip song (forward/reverse)


[0580] scan song (forward/reverse)


[0581] record (rip to MP3)−>OASIS Unit


[0582] ATAPI


[0583] command and control


[0584] command FIFO


[0585] data bus


[0586] command bus


[0587] (2) 64 sample FIFOs (16bit*44.100 kHz)


[0588] Serial Port (16550 UART) optionally EEPROM Interface (I2C & I2S)


[0589] USB Interface to host controller


[0590] SDRAM controller


[0591] 32-bit ARM or RISC processor


[0592] In addition to the FPGA the following is preferably provided:


[0593] USB Host/Hub controller (2 USB ports)


[0594] 4MB SDRAM


[0595] 128K EEPROM


[0596] 9-pin serial port


[0597] 6 control buttons.


[0598] 40-Pin IDE Interface for CD or CDRW


[0599] Interfaces


[0600] ATAPI (IDE) Interface


[0601] User Interface


[0602] USB Interface


[0603] Network-Based Configuration


[0604]
FIG. 16 illustrates a process 1600 for network-based configuration of a programmable logic device. In operation 1602, a default application is initiated on a programmable logic device. In operation 1604, a file request for configuration data from the logic device is sent to a server located remotely from the logic device utilizing a network. The configuration data is received from the network server in operation 1606, and can be in the form of a bitfile for example. In operation 1608, the configuration data is used to configure the logic device to run a second application. The second application is run on the logic device in operation 1610.


[0605] According to one embodiment of the present invention, the logic device includes one or more Field Programmable Gate Arrays (FPGAs). Preferably, a first FPGA receives the configuration data and uses that data to configure a second FPGA. The first and second FPGAs can be clocked at different speeds.


[0606] According to another embodiment of the present invention, the default application and the second application are both able to run simultaneously on the logic device. The logic device can further include a display screen, a touch screen, an audio chip, an Ethernet device, a parallel port, a serial port, a RAM bank, a non-volatile memory, and/or other hardware components.


[0607]
FIG. 17 illustrates a process 1700 for remote altering of a configuration of a hardware device. A hardware device is accessed in operation 1702 utilizing a network such as the Internet, where the hardware device is configured in reconfigurable logic. In operation 1704, a current configuration of the hardware device is detected prior to selecting reconfiguration information. Reconfiguration information is selected in operation 1706, and in operation 1708, is sent to the hardware device. In operation 1710, the reconfiguration information is used to reprogram the reconfigurable logic of the hardware device for altering a configuration of the hardware device.


[0608] The reconfiguration of the hardware device can be performed in response to a request received from the hardware device. In an embodiment of the present invention, the hardware device is accessed by a system of a manufacturer of the hardware device, a vendor of the hardware device, and/or an administrator of the hardware device.


[0609] In another embodiment of the present invention, the logic device includes at least one Field Programmable Gate Array (FPGA). Preferably, a first FPGA receives the reconfiguration information and uses the reconfiguration information for configuring a second FPGA.


[0610] Illustrative Embodiment


[0611]
FIG. 18 illustrates a process 1800 for processing data and controlling peripheral hardware. In operation 1802, a first Field Programmable Gate Array (FPGA) of a reconfigurable logic device is initiated. The first FPGA is configured with programming functionality for programming a second FPGA of the logic device in accordance with reconfiguration data. The reconfiguration data for configuring the second FPGA is retrieved in operation 1804. In operation 1806, the first FPGA is instructed to utilize the reconfiguration data to program the second FPGA to run an application. In operation 1808, the first FPGA is instructed to user the reconfiguration data to program the second FPGA to control peripheral hardware incident to running the application.


[0612] In one embodiment of the present invention, data stored in nonvolatile memory is utilized for configuring the first FPGA with the programming functionality upon initiation of the first FPGA. In another embodiment of the present invention, the configuration data is retrieved from a server located remotely from the logic device utilizing a network. The configuration data can be received in the form of a bitfile.


[0613] The first and second FPGA's can be clocked at different speeds. Preferably, the logic device also includes a display screen, a touch screen, an audio chip, an Ethernet device, a parallel port, a serial port, a RAM bank, and/or a non-volatile memory.


[0614] Further Embodiments and Equivalents


[0615] While various embodiments have been described above, it should be understood that they have been presented by way of example only, and not limitation. Thus, the breadth and scope of a preferred embodiment should not be limited by any of the above described exemplary embodiments, but should be defined only in accordance with the following claims and their equivalents.


Claims
  • 1. A method for network-based configuration of a programmable logic device, comprising the steps of: (a) initiating a default application on a programmable logic device; (b) sending a file request for configuration data from the logic device to a server located remotely from the logic device utilizing a network; (c) receiving the configuration data from the network server; (d) utilizing the configuration data for configuring the logic device to run a second application; and (e) running the second application on the logic device.
  • 2. A method as recited in claim 1, wherein the configuration data is received in the form of a bitfile.
  • 3. A method as recited in claim 1, wherein the logic device includes at least one Field Programmable Gate Array (FPGA).
  • 4. A method as recited in claim 3, wherein a first FPGA receives the configuration data, wherein the first FPGA configures a second FPGA utilizing the configuration data.
  • 5. A method as recited in claim 3, wherein the logic device includes first and second FPGA's that are clocked at different speeds.
  • 6. A method as recited in claim 1, wherein the default application and the second application are both able to run simultaneously on the logic device.
  • 7. A method as recited in claim 1, wherein the logic device further includes at least one of a display screen, a touch screen, an audio chip, an Ethernet device, a parallel port, a serial port, a RAM bank, and a non-volatile memory.
  • 8. A computer program product for network-based configuration of a programmable logic device, comprising: (a) computer code for initiating a default application on a programmable logic device; (b) computer code for sending a file request for configuration data from the logic device to a server located remotely from the logic device utilizing a network; (c) computer code for receiving the configuration data from the network server; (d) computer code for utilizing the configuration data for configuring the logic device to run a second application; and (e) computer code for running the second application on the logic device.
  • 9. A computer program product as recited in claim 8, wherein the configuration data is received in the form of a bitfile.
  • 10. A computer program product as recited in claim 8, wherein the logic device includes at least one Field Programmable Gate Array (FPGA).
  • 11. A computer program product as recited in claim 10, wherein a first FPGA receives the configuration data, wherein the first FPGA configures a second FPGA utilizing the configuration data.
  • 12. A computer program product as recited in claim 10, wherein the logic device includes first and second FPGA's that are clocked at different speeds.
  • 13. A computer program product as recited in claim 8, wherein the default application and the second application are both able to run simultaneously on the logic device.
  • 14. A computer program product as recited in claim 8, wherein the logic device further includes at least one of a display screen, a touch screen, an audio chip, an Ethernet device, a parallel port, a serial port, a RAM bank, and a non-volatile memory.
  • 15. A system for network-based configuration of a programmable logic device, comprising: (a) logic for initiating a default application on a programmable logic device; (b) logic for sending a file request for configuration data from the logic device to a server located remotely from the logic device utilizing a network; (c) logic for receiving the configuration data from the network server; (d) logic for utilizing the configuration data for configuring the logic device to run a second application; and (e) logic for running the second application on the logic device.
  • 16. A system as recited in claim 15, wherein the configuration data is received in the form of a bitfile.
  • 17. A system as recited in claim 15, wherein the logic device includes at least one Field Programmable Gate Array (FPGA).
  • 18. A system as recited in claim 17, wherein a first FPGA receives the configuration data, wherein the first FPGA configures a second FPGA utilizing the configuration data.
  • 19. A system as recited in claim 17, wherein the logic device includes first and second FPGA's that are clocked at different speeds.
  • 20. A system as recited in claim 15, wherein the default application and the second application are both able to run simultaneously on the logic device.
  • 21. A system as recited in claim 15, wherein the logic device further includes at least one of a display screen, a touch screen, an audio chip, an Ethernet device, a parallel port, a serial port, a RAM bank, and a non-volatile memory.
RELATED APPLICATIONS

[0001] This application claims priority from Provisional U.S. Patent Application entitled System, Method, and Article of Manufacture for a User Interface for Transferring Configuration Information for a Configuring a Device in Reconfigurable Logic, serial NO. 60/219,753, filed Jul. 20, 2000, and which is incorporated herein by reference for all purposes.

Provisional Applications (1)
Number Date Country
60219753 Jul 2000 US