COMPUTER SYSTEM HAVING A MULTIMEDIA ENGINE COUPLED TO A REAL-TIME DATA CACHE

Abstract: A computer system and method optimized for real-time multimedia applications are presented. The computer system, including a dedicated multimedia engine directly to a real-time data cache, provides increased performance over current computer architectures. The multimedia engine includes at least one DSP engine which coupled through at least one I/O channel to I/O ports. Obtaining multimedia commands and data from main memory and/or the real-time data cache, the multimedia engine performs a number of multimedia operations including audio and video functions. A CPU, coupled through a chip set logic or bridge logic to the main memory, generates multimedia commands and data. The CPU groups multimedia commands and data into separate command and data elements, and writes the command and data elements to a multimedia address space in main memory. The CPU also writes element structure information to the multimedia address space. The element structure information includes location information used to retrieve multimedia commands and data from main memory. The real-time data cache allows multimedia data from an external source to be stored in a location other than main memory, and allows this multimedia data to be shared by the CPU and the multimedia engine. The real-time data cache may also store multimedia commands and data for use by the multimedia engine.

Description: Title: Computer System Having a Multimedia Engine Coupled To a Real-Time Data Cache Field of the Invention The present invention relates to a computer system having a dedicated multimedia engine and a real-time data cache local to the multimedia engine. Description of the Related Art Computer architectures generally include a plurality of devices interconnected by one or more various buses. For example, modern computer systems typically include a central processing unit (CPU) coupled through bridge logic to main memory. The bridge logic also typically couples to a high bandwidth local expansion bus, such as the peripheral component interconnect (PCI) bus or the Video Electronics Standards Association (VESA) VL bus. Examples of devices which can be coupled to local expansion buses include video accelerator cards, audio cards, telephony cards, small computer system interface (SCSI) adapters, network interface cards, etc. A second expansion bus may be coupled to the local expansion bus for backwards compatibility. Examples of these expansion buses include the industry standard architecture (ISA) bus, the extended industry standard architecture (EISA) bus, and the Micro Channel architecture (MCA) bus. Various devices may be coupled to the second expansion bus, including a fax/modem, sound card, etc. Personal computer systems were originally developed for business applications such as word processing and spreadsheets, among others. However, computer systems are currently being used to handle a number of real time applications, including multimedia applications having video and audio components, video capture and playback, telephony applications, and speech recognition and synthesis, among others. These real time applications typically require a large amount of system resources and bandwidth. One problem that has arisen is that computer systems originally designed for business applications are not well suited for the real-time requirements of modern multimedia applications. For example, modern personal computer system architectures still presume that the majority of applications executing on the computer system are non real-time business applications such as word processing and/or spreadsheet applications, which execute primarily on the main CPU. In general, computer systems have not traditionally been designed with multimedia hardware as part of the system, and thus the system is not optimized for multimedia applications. Rather, multimedia hardware is typically designed as an add-in card for optional insertion in an expansion bus of the computer system. In many cases, multimedia hardware cards situated on an expansion bus do not have the required access to system memory and other system resources for proper operation. For example, a multimedia hardware card situated on the local expansion bus must first arbitrate for control of the local expansion bus before the device can access system memory. In addition, since the computer system architecture is not optimized for multimedia, multimedia hardware cards generally do not make efficient use of system resources. As an example, multimedia hardware cards typically include their own memory in addition to system memory. For example, video accelerator cards are typically configured widi one to four megabytes of video RAM. Audio cards, video capture cards, and other multimedia cards are also generally configured with dedicated on-board memory. This requirement of additional memory adds undesirable cost to the system. As multimedia applications become more prevalent, multimedia hardware will correspondingly become essential components in personal computer systems Therefore, an improved computer system architecture is desired which is optimized for real-time multimedia applications as well as for non-real-time applications In addition, improved methods are desired for transferring real-time data to multimedia hardware Summary of the Invention The present invention includes a computer system and method optimized for real-time multimedia applications. The computer system includes a dedicated multimedia engine coupled to a real-time data cache, wherein the multimedia engine and the real-time data cache provide increased performance over current computer architectures. The multimedia engine performs a number of real-time operations including audio and video functions. The multimedia engine obtains commands and data from the main memory and/or the real-time data cache. The multimedia engine may include a multimedia memory and memory controller, and possibly a DMA controller, for even greater performance. The computer system includes a CPU coupled through a chip set logic to the main memory. The chip set logic includes a main memory controller as well as other support logic. A multimedia engine is coupled through a real-time data cache to the chip set logic. The multimedia engine also optionally couples directly to the main memory. The multimedia engine includes ports for coupling to one or more of a video monitor, audio digital-to- analog converter (DAC), and/or communications device. The chip set logic also couples to a local expansion bus (preferably the PCI bus). Various peripheral devices may be connected to the local expansion bus, including a hard drive, network interface card, communications logic, etc. The real-time data cache, coupled between the multimedia engine and the chip set logic, allows multimedia commands and data to be stored in a location other than the main memory. In one embodiment, the multimedia engine is coupled directly to the main memory, and the real-time data cache allows stored multimedia data to be shared by the CPU and the multimedia engine. As defined herein, the term "multimedia" refers to video, audio, graphical, and communications information, as well as other types of real-time information. The source of the multimedia data stored in the real-time data cache may be a device connected to an expansion bus. In another embodiment, the multimedia engine is not coupled directly to main memory, and the real-time data cache stores multimedia commands and data obtained from main memory for use by the multimedia engine. In this case, the source of the multimedia information (i.e., commands and data) may be a device connected to an expansion bus, the CPU, or the main memory. The real-time data cache reduces the time required for the multimedia engine to access needed multimedia data, and also reduces loading on the main memory. The multimedia engine includes one or more DSP engines which may be general purpose DSP engines or dedicated audio and video engines. The one or more DSP engines couple through one or more I/O channels to respective I/O ports, including video, audio and communication ports. Video I/O ports are adapted for coupling to a video monitor, and audio I/O ports are adapted for coupling to an audio DAC and/or speakers. According to the present invention, the CPU generates and/or transfers multimedia commands and data to a designated multimedia address space in main memory. The CPU groups multimedia commands and data into separate multimedia command and data elements. The CPU then writes the multimedia command and data elements, along with element location information, to memory locations within the multimedia address space. The element location information includes the address offsets of the elements within the multimedia address space. The multimedia engine uses the element location information to retrieve multimedia commands and data from main memory. Therefore, the present invention comprises a novel computer system architecture and method which increases the performance of real-time multimedia applications. A dedicated multimedia engine is coupled to the main memory and to a real-time data cache. The real-time data cache may contain data generated by a device connected to an expansion bus. The CPU may access data in the real-time data cache as it generates multimedia commands and data. The CPU writes multimedia commands and data, as well as element location information, to the main memory. The multimedia engine obtains multimedia commands and data from the main memory and/or the real-time data cache as needed, preferably concurrently with multimedia engine operations. Brief Description of the Drawings A better understanding of the present invention can be obtained when the following detailed description of die prefeσed embodiment is considered in conjunction with the following drawings, in which: Fig. 1 is a block diagram of one embodiment of a computer system including a multimedia engine coupled to a main memory and to a real-time data cache; Fig. 2a is a block diagram of the main memory and one embodiment of the multimedia engine; Fig. 2b is a block diagram of a second embodiment of the multimedia engine including an on-chip multimedia memory and memory controller; Fig. 2c is a block diagram of a third embodiment of the multimedia engine including an on-chip multimedia memory, a memory controller, and a DMA controller; Fig. 3 is a block diagram of a second embodiment of a computer system including a multimedia engine coupled to a real-time data cache; Fig. 4 is a block diagram of an embodiment of the multimedia engine in the computer system of Fig. 3; and Fig. 5 is a flowchart of the method of performing real-time multimedia applications in the computer system of the present invention. Detailed Description of the Preferred Embodiment Computer System Block Diagram Referring now to Fig. 1, a block diagram of one embodiment of a computer system according to the present invention is shown. The computer system includes a central processing unit (CPU) 102 coupled through a processor bus 104 to a chip set 106 (i.e., a host/PCI/cache bridge). Chip set 106 is preferably similar to the Triton chip set available from Intel Corporation, including certain modifications to accommodate the multimedia engine and real¬ time data cache of the present invention. A second level or L2 cache memory (not shown) may be coupled to a cache controller within chip set 106. Chip set 106 couples through a memory bus 108 to a main memory 1 10. The chipset 106 also couples through a real-time data cache 126 to a multimedia engine 112. An arbitration logic unit 107 within chip set 106 performs arbitration between CPU 102 and multimedia engine 112 for access to main memory 110. Main memory 1 10 is preferably dynamic random access memory (DRAM) or extended data out (EDO) memory. Multimedia engine 1 12 is coupled to memory bus 108 and to real-time data cache 126. Multimedia engine 1 12 is configured to perform video and audio processing functions and to provide multimedia output signals to one or more input/output ports. As shown, multunedia engine 1 12 preferably includes an input/output port 172 adapted for coupling to a video monitor 114, and an input/output port 174 adapted for coupling to an audio coder-decoder (CODEC), including an audio DAC 1 15. Audio DAC 1 15 may include a suitable D/A converter available from Crystal Semiconductor of Austin, TX. Audio DAC 115 is coupled to speakers 116. Multimedia engine 112 may also include an input/output port 176 adapted for coupling to a communications media. In a preferred embodiment, multimedia engine 1 12 includes video processing circuitry and/or firmware, including a random access memory digital to analog converter (RAMDAC) for converting video data into appropriate analog signals, preferably red, green and blue (RGB) signals, for output directly to video monitor 1 14. In an alternate embodiment, the multimedia engine includes DSP engine 210 provides digital video pixel data through I/O channel 220A to video input/output port 172, and a separate RAMDAC and associated logic circuitry (not shown) receives the video pixel data from video input/output port 172 and generates the appropriate RGB signals to drive video monitor 114. Chip set 106 is also coupled to local expansion bus 120. Local expansion bus 120 is preferably a PCI bus. However, it is noted that local expansion bus 120 may be any of a number of local bus architectures, including the VESA VL bus. Various types of peripheral devices may be connected to local expansion bus 120. In Fig. 1, a peripheral device 122 is coupled to local expansion bus 120. Peripheral device 122 may be a hard disk, a CD-ROM interface card, a network interface controller, a SCSI adapter, or other common peripheral device. A bus bridge 150 optionally couples local expansion bus 120 to a second expansion bus 152. Expansion bus 152 may be any of varying types, including an ISA bus, an EISA bus, or an MCA bus. In Fig. 1, a peripheral device 124 is shown coupled to expansion bus 152. Peripheral device 124 may be a modem or other legacy peripheral device. Chip set 106 receives multimedia data from an external device, coupled to local expansion bus 120 or expansion bus 152, and stores the multimedia data in real-time data cache 126. For example, the source of the multimedia data stored in real-time data cache 126 may be a video decoder, a video capture device, a CD ROM, or other peripheral device connected to local expansion bus 120. Real-time data cache 126, coupled between multimedia engine 1 12 and chip set 106, allows multimedia data from an external source to be stored in a location other than main memory 1 10. Real-time data cache 126 also allows this multimedia data to be shared by CPU 102 and multimedia engine 1 12. Multimedia data stored in the real-time data cache 126 is accessible to the multimedia engine 112 with reduced latency, and real-time data cache 126 also reduces the loading on main memory 110. Arbitration Logic Arbitration logic unit 107 within chip set 106 (Fig. 1) receives bus requests from CPU 102 and multimedia engine 1 12 and grants access to main memory 110 via memory bus 108. Multimedia engine 1 12 preferably has priority access to multimedia address space 182 in main memory 1 10. In order to gain access to multimedia address space 182, multimedia engine 1 12 may simply write one or more bits to a register in arbitration logic unit 107. In this case, CPU 102 is only granted access to multimedia address space 182 after being denied access for a certain amount of time. Alternatively, memory bus 108 is an isochronous bus wherein CPU 102 and multimedia engine 1 12 have guaranteed bandwidth and latency on memory bus 108 to main memory 110. An alternative arbitration scheme, such as a round robin or priority based scheme, may also be used. Main memory 1 10 stores the operating system and applications software as well as driver software, including video drivers and audio drivers. Main memory 110 and/or peripheral device 122 also store multimedia commands and data. CPU 102 executes applications software and driver software from main memory 1 10 and generates and/or transfers multimedia commands and data. For example, the CPU 102 may cause the transfer of multimedia data from a peripheral device or an external source to the main memory 1 10 or to the real-time data cache 126. The CPU 102 may also generate multimedia commands and data in response to applications software. Main Memory Block Diagram Fig.2a is a block diagram illustrating multimedia engine 172 coupled to main memory 1 10. In the embodiment of Fig.2a, memory used to store multimedia commands and data is external to multimedia engine 112. Multimedia engine 112 includes one or more DSP engines 210. Each DSP engine 210 is coupled to memory bus 108, real-time data cache 126, and one or more I/O channels 220. As shown, multimedia engine 1 12 includes three I/O channels 220A, 220B, and 220C. I/O channel 220A is preferably a dedicated video channel and couples to video input/output port 172. I/O channel 220B is preferably a dedicated audio channel and couples to audio input/output port 174. I/O channel 220C couples to communication input/output port 176. In another embodiment, each of DSP engine 210 may be dedicated to a specific multimedia function (e.g., video, audio, or communications). During computer system initialization, a portion of memory address space 180 in main memory 110 is allocated to multimedia engine 1 12, this being referred to as multimedia address space 182. In one embodiment, multimedia engine 112 may request additional address space if assigned multimedia address space 182 in main memory 110 is inadequate. The operation of main memory 110 in this manner has the advantage that multimedia engine 1 12 uses only the amount of memory needed. Memory not allocated to the multimedia engine 1 12 is available for other applications. During operation of multimedia engine 112, CPU 102 transfers and/or generates multimedia commands and data, forms separate multimedia command and data elements, and writes the multimedia command and data elements to multimedia address space 182 in main memory 110. The multimedia command element includes multimedia commands, and the multimedia data element includes multimedia data. As the CPU generates or transfers multimedia commands and data, CPU 102 may access real-time data cache 126 containing multimedia data generated by an external source (i.e., a peripheral device connected to expansion bus 120 or 152). CPU 102 may perform multimedia-related operations (e.g., image scaling or rotation) upon the multimedia data from real-time data cache 126, generating additional multimedia data. CPU 102 writes multimedia command and data elements to multimedia address space 182, along with element structure information. Element structure information includes the address offsets of the first memory locations of the multimedia command and data elements within multimedia address space 182. CPU 102 writes element structure information to memory locations at predetermined address offsets relative to the first memory location of the multimedia address space (i.e., the base address of the multimedia address space). Using the base address of the multimedia address space and element address offset information, multimedia engine 1 12 retrieves multimedia commands and data from main memory. Multimedia Engine Block Diagram During operation of multimedia engine 112, each DSP engine 210 obtains multimedia commands from main memory 1 10 and data from main memory 1 10 and/or real-time data cache 126 as needed. Each DSP engine 210 executes multimedia commands, generates multimedia output signals, and directs multimedia output signals to an appropriate output port via an appropriate I/O channel. In one embodiment, video and audio I/O channels 220A and 220B are synchronized with each other to ensure synchronized audio and video during multimedia presentations. Multimedia engine 112 may execute commands in the order retrieved, or multimedia engine 112 may prioritize multimedia commands. For example, commands associated with video and audio components of a multimedia presentation may require a higher execution priority than commands associated with a telephony application. In a preferred embodiment, one of the one or more DSP engines 210 is configured to perform video and graphics functions (e.g., polygon rendering and texture mapping) and audio functions (e.g., MIDI and wavetable synthesis). Such a DSP engine may include one or more ROMs which store microcode corresponding to video and audio processing instructions or commands. The DSP engine 210 may also perform communication functions, such as ISDN connectivity or modem functionality. Fig.2b - Alternate Multimedia Engine Embodiment Fig. 2b is a block diagram of multimedia engine 1 12 according to a second embodiment. The multimedia engine 1 12 includes a memory controller 162 coupled to memory bus 108, real-time data cache 126, and a multimedia memory 160. Each DSP engine 210 is coupled to one or more I/O channels 220 as described above. Memory controller 162 controls the operation of, and acquires multimedia commands and data for, multimedia memory 160. Memory controller 162 obtains multimedia commands from the multimedia command element in multimedia address space 182 of main memory 1 10. Memory controller 162 obtains multimedia data from the multimedia data element in multimedia address space 182 and/or real-time data cache 126. Multimedia memory 160 may include a data cache containing multimedia data expected to be needed again in the near future. Multimedia memory 160 may also include a multimedia command queue, and memory controller 162 may include a prefetch mechanism to keep the multimedia command queue filled. In addition, multimedia memory 160 may be partitioned into two or more separate address spaces or buffers, one address space or buffer for each DSP engine 210. Each DSP engine 210 may thus access commands and data from an associated address space or buffer. In me embodiment of Fig. 2b, multimedia memory 160 is dual ported memory. A first port of multimedia memory 160 couples to memory controller 162, and a second port of multimedia memory 160 couples to the one or more DSP engine 210. Multimedia memory 160 preferably comprises high speed dual ported dynamic random access memory (DRAM), and memory controller 162 preferably includes a dual ported DRAM memory controller. During operation of multimedia engine 112, each DSP engine 210 obtains multimedia commands and data from multimedia memory 160. Each DSP engine 210 executes multimedia commands, generates multimedia output signals, and provides multimedia output signals to an appropriate output port via an appropriate I/O channel as described above. Fig. 2c - Alternate Multimedia Engine Embodiment Fig.2c is a block diagram of multimedia engine 1 12 illustrating a third embodiment. A direct memory access (DMA) controller 190 is coupled between memory controller 162 and memory bus 108. Memory controller 162 obtains multimedia commands and data stored in main memory 110 via DMA controller 190. DMA controller 190 transfers large numbers of multimedia commands and data stored in sequential memory locations (i.e., blocks of multimedia commands and data) located within multimedia address space 182 of main memory 110. Transfers of a smaller number of larger blocks of commands and data may be performed more efficiently than transfers of a larger number of smaller blocks. Memory controller 162 may also obtain multimedia data from real-time data cache 126. Multimedia memory 160 is configured as described above, and each DSP engine 210 operates as described above. Figs. 3 and 4 - Alternate Computer System Embodiment Figs. 3 and 4 illustrate a second embodiment of a computer system including multimedia engine 1 12 coupled directly to real-time data cache 126, but not coupled directly to main memory 1 10. Fig. 3 is a block diagram of a computer system of the second embodiment. Multimedia engine 1 12 is coupled to a video input/output port 172, an audio input/output port 174, and a communications input/output port 176. A real-time data cache 126 is coupled between multimedia engine 1 12 and chip set 106. Real-time data cache 126 allows multimedia data from an external source to be stored in a location other than main memory 1 10, and also allows this multimedia data to be shared by CPU 102 and multimedia engine 1 12. In uiis embodiment, real-time data cache 126 also contains multimedia commands and data obtained from main memory 1 10. Multimedia engine 1 12 obtains multimedia commands and data from real-time data cache 126 when needed. If the required information is not present in real- time data cache 126 (i.e., a cache miss occurs), real-time data cache 126 obtains the information from main memory 110 through chip set 106. All other computer system components shown in Fig. 3 function as described above. Fig. 4 is a block diagram of one embodiment of multimedia engine 112 in the computer system of Fig. 3. Memory used to store multimedia commands and data is external to multimedia engine 112. Multimedia engine 1 12 includes one or more DSP engine 222. Each DSP engine 222 is coupled to real-time data cache 126, and to one or more I/O channels 220. As shown, multimedia engine 112 includes three I/O channels 220A, 220B, and 220C as described above. During operation of multimedia engine 112, each DSP engine 222 obtains multimedia commands and data from real-time data cache 126 as needed. Each DSP engine 222 executes multimedia commands, generates multimedia output signals, and directs multimedia output signals to an appropriate output port via an appropriate I/O channel. Multimedia engine 1 12 may execute commands in the order retrieved, or multimedia engine 1 12 may prioritize multimedia commands. Commands associated with video and audio components of a multimedia presentation may require a higher execution priority than commands associated with a telephony application. In a preferred embodiment, one of the one or more DSP engine 222 is configured to perform video and graphics functions (e.g., polygon rendering and texture mapping) and audio functions (e.g., MIDI and wavetable synthesis). Such a DSP engine may include one or more ROMs which store microcode corresponding to video and audio processing instructions or commands. The DSP engine may also perform communication functions, such as ISDN connectivity or modem functionality. Computer System Operation Fig. 5 is a flowchart of the method of performing real-time multimedia applications in a computer system including a dedicated multimedia engine 1 12 coupled to real-time data cache 126. During a first step 302, the CPU 102 generates multimedia commands and data. As it generates multimedia commands and data, the CPU 102 may advantageously access the real-time data cache containing data generated by an external source (i.e., a peripheral device connected to a local expansion bus or other expansion bus). The CPU may perform multimedia- related operations (e.g., image scaling or rotation) upon the multimedia data from real-time data cache 126, generating additional multimedia data. The CPU 102 forms separate multimedia command and data elements during step 304. The multimedia command element contains multimedia commands, and the multimedia data element contains multimedia data. During step 306, the CPU 102 writes the multimedia command and data elements to a multimedia address space in the main memory, along with element structure information. The multimedia engine 1 12 obtains commands and data from the main memory 1 10 and/or the real-time data cache 126 during step 308. The element structure information provided by the CPU 102 is used when retrieving multimedia commands and data from the main memory. In embodiments in which the multimedia engine 1 12 is not coupled directly to the main memory 110, the real-time data cache 126 obtains multimedia commands and data from the main memory 1 10 through the chip set 106. The multimedia engine 1 12 may or may not prioritize the retrieved commands. During step 310, the multimedia engine 1 12 performs the multimedia commands using multimedia data. As the multimedia engine 1 12 performs the multimedia commands, the multimedia engine 112 may also obtain multimedia data from the real-time data cache 126 as needed. As a result of command execution, the multimedia engine 112 generates multimedia output signals during step 312. The multimedia engine 1 12 provides the multimedia output signals to appropriate output ports during step 314. Conclusion Therefore, the present invention comprises a novel computer system architecture which increases die performance of multimedia applications. A dedicated multimedia engine is coupled directly to a real-time data cache. The real-time data cache allows multimedia data from an external source (e.g., a video decoder or video capture device) to be stored in a location other than the main memory, and also allows this multimedia data to be shared by the CPU and the multimedia engine. The CPU may access data in die real-time data cache as it generates multimedia commands and data. The CPU writes multimedia commands and data to the main memory along with information about where commands and data are located in the main memory (i.e., element location information). The multimedia engine obtains commands and data from the main memory and/or the real-time data cache as needed. The real-time data cache reduces the access time for needed multimedia data as well as the loading on the main memory. Only the amount of main memory actually required by multimedia applications is allocated, thus freeing up as much of the main memory as possible for other applications. Although the system and method of the present invention has been described in connection with the preferred embodiment, it is not intended to be limited to the specific form set forth herein, but on the contrary, it is intended to cover such alternatives, modifications, and equivalents, as can be reasonably included within the spirit and scope of the invention as defined by the appended claims.

Claims: Claims 1. A computer system, comprising: a CPU; an expansion bus coupled to the CPU, wherein the expansion bus is adapted for coupling to one or more peripheral devices; a peripheral device coupled to the expansion bus and configured to store multimedia data; a memory bus coupled to the CPU; a main memory coupled to the memory bus; chip set logic coupled to the CPU, the local expansion bus, and the memory bus; a multimedia engine coupled to the chip set logic, wherein said multimedia engine includes one or more ports for connecting to a video monitor and to speakers; and a real-time data cache coupled between the multimedia engine and the chip set logic; wherein the chip set logic is configured to receive multimedia data from the peripheral device, and to provide said multimedia data to the real-time data cache; wherein the real-time data cache is configured to receive the multimedia data from the chip set, store said multimedia data, and to provide said multimedia data to the multimedia engine; and wherein the multimedia engine is configured to access said multimedia data from the real-time data cache. 2. The computer system as recited in claim 1, wherein the CPU is configured to generate multimedia commands and data and to provide said multimedia commands and data to the chip set logic, and wherein the chip set logic is configured to receive the multimedia commands and data from the CPU and to provide the multimedia commands and data to the main memory via the memory bus. 3. The computer system as recited in claim 1 , wherein the multimedia engine is coupled to the memory bus and is configured to retrieve multimedia data from the main memory. 4. The computer system as recited in claim 3, wherein the multimedia engine is configured to receive multimedia commands and a first set of multimedia data from the main memory via the memory bus, and to receive a second set of multimedia data from the real-time data cache. 5. The computer system as recited in claim 3, wherein the chip set includes an arbitration logic unit configured to arbitrate between the CPU and the multimedia engine for access to the main memory via die memory bus. 6. The computer system as recited in claim 1, wherein the main memory comprises a memory address space, and a portion of said memory address space is allocated to the multimedia engine. 7. The computer system as recited in claim 1 , wherein the multimedia engine comprises: a DSP engine coupled to receive multimedia commands and data, and configured to generate one or more multimedia output signals; an input/output channel coupled to the DSP engine; and an input/output port coupled to the input/output channel and configured to couple to an input/output device of the computer system; wherein the DSP engine is configured to provide the multimedia output signals to the input/output channel, the input/output channel is configured to receive the multimedia output signals from the DSP engine and to provide the multimedia output signals to the input/output port, and the input/output port is configured to receive the multimedia output signals from the input/output channel and to provide the multimedia output signals to the input/output device of the computer system. 8. The computer system as recited in claim 7, wherein the DSP engine is coupled to the memory bus and to the real-time data cache, and wherein the DSP engine is configured to receive first multimedia data from the main memory via the memory bus, and to receive second multimedia data from the real-time data cache. 9. The computer system as recited in claim 7, wherein the multimedia engine further comprises: a memory controller coupled to the memory bus and to the real-time data cache, wherein the memory controller is configured to receive first multimedia data from the main memory, and to receive second multimedia data from the real-time data cache; and a multimedia memory coupled between the memory controller and the DSP engine; wherein the memory controller is configured to provide the first and second multimedia data to the multimedia memory, and wherein the multimedia memory is configured to receive the first and second multimedia data from the memory controller, to store the first and second multimedia data, and to provide the first and second multimedia data to the DSP engine. 10. The computer system as recited in claim 7, further comprising: a DMA controller coupled to the memory bus and configured to receive multimedia commands and a first set of multimedia data from the main memory via the memory bus; a memory controller coupled to the DMA controller and to the real-time data cache; and a multimedia memory coupled to the memory controller and to the DSP engine; wherein the DMA controller is configured to provide the multimedia commands and the first set of multimedia data to the memory controller, wherein the memory controller is configured to receive the multimedia commands and the first set of multimedia data from the DMA controller, to receive a second set of multimedia data from me real-time cache, and to provide the multimedia commands and die first and second sets of multimedia data to the multimedia memory, and wherein die multimedia memory is configured to receive the multimedia commands and die first and second sets of multimedia data from the memory controller, to store the multimedia commands and the first and second sets of multimedia data, and to provide the multimedia commands and the first and second sets of multimedia data to the DSP engine. 1 1. A computer system, comprising: a CPU; an expansion bus coupled to the CPU and configured to couple to a peripheral device; a memory bus coupled to the CPU; chip set logic coupled to the CPU, the expansion bus, and the memory; main memory coupled to the memory bus; a multimedia engine coupled to the memory bus. wherein said multimedia engine comprises: a DSP engine coupled to receive multimedia commands and data, and configured to generate multimedia output data; an input/output channel coupled to the DSP engine; and an input/output port coupled to the input/output channel and configured to couple an input/output device to the computer system; wherein die DSP engine is configured to provide the multimedia output data to the input/output channel, the input/output channel is configured to receive the multimedia output data from the DSP engine and to provide the multimedia output data to the input/output port, and the input/output port is configured to receive the multimedia output data from the input/output channel and to provide the multimedia output data to an input/output device coupled to the input/output port; and a real-time data cache coupled between the multimedia engine and the chip set logic; wherein the chip set logic is configured to receive multimedia data from a peripheral device coupled to the expansion bus and provide said multimedia data to the real-time data cache, and wherein the real-time data cache is coupled to receive the multimedia data from die chip set logic, store said multimedia data, and provide said multimedia data to the multimedia engine. 12. A computer system, comprising: a CPU; an expansion bus coupled to the CPU and configured to couple to a peripheral device; a memory bus coupled to the CPU; main memory coupled to the memory bus; chip set logic coupled to the CPU, the expansion bus, and the memory bus; a multimedia engine for performing multimedia video and audio operations; and a real-time data cache coupled between the multimedia engine and the chip set logic; wherein the chip set logic is configured to receive multimedia data from a peripheral device coupled to the expansion bus and to provide said multimedia data to the real-time data cache, and wherein die real-time data cache is configured to receive the multimedia data from the chip set logic, store said multimedia data, and to provide said multimedia data to the multimedia engine. 13. The computer system as recited in claim 12, wherein the CPU is configured to generate multimedia commands and data and to provide said multimedia commands and data to the chip set logic, and wherein the chip set logic is configured to receive the multimedia commands and data from the CPU and to provide the multimedia commands and data to the main memory via the memory bus. 14. The computer system as recited in claim 12, wherein storage locations of the main memory comprise a memory address space, and a portion of said memory address space is allocated to the multimedia engine. 15. The computer system as recited in claim 12, wherein the multimedia engine comprises: a DSP engine coupled to the real-time data cache, wherein the DSP engine is configured to receive multimedia commands and data from the real-time data cache and to generate multimedia output signals; an input/output channel coupled to the DSP engine; and an input/output port coupled to the input/output channel and configured to couple to an input/output device to die computer system; wherein the DSP engine is configured to provide the multimedia output signals to the input/output channel, me input/output channel is configured to receive the multimedia output signals from die DSP engine and to provide the multimedia output signals to the input/output port, and the input/output port is configured to receive the multimedia output signals from the input/output channel and to provide the multimedia output signals to an input/output device coupled to the input/output port. 16. A computer system, comprising: a CPU; an expansion bus coupled to the CPU and configured to couple a peripheral device to the computer system; a memory bus; a main memory coupled to the memory bus; chip set logic coupled to the CPU, the expansion bus, and the memory bus; a multimedia engine comprising: a DSP engine configured to generate multimedia output signals; an input/output channel coupled to the DSP engine; and an input/output port coupled to the input/output channel and configured to couple an input/output device to the computer system; wherein the DSP engine is configured to provide the multimedia output signals to the input/output channel, the input/output channel is configured to receive the multimedia output signals from the DSP engine and to provide the multimedia output signals to the input/output port, and the input/output port is configured to receive the multimedia output signals from the input/output channel and to provide the multimedia output signals to an input/output device coupled to the input/output port; and a real-time data cache coupled between the multimedia engine and the chip set logic; wherein the chip set logic is configured to receive multimedia commands and data from the main memory via the memory bus and to provide said multimedia commands and data to the real-time data cache, wherein die real-time data cache is configured to receive die multimedia commands and data from the chip set logic, store said multimedia commands and data, and to provide said multimedia commands and data to me DSP engine of the multimedia engine, and wherein the DSP engine is configured to receive multimedia commands and data from the real-time data cache. 17. A method of performing real-time multimedia applications in a computer system, wherein the computer comprises a CPU; a local expansion bus; a memory bus; a chip set logic coupled to the CPU, the local expansion bus, and the memory bus; a main memory coupled to the memory bus; a multimedia engine comprising an input/output port; a real-time data cache coupled between the multimedia engine and the chip set logic, the method comprising: the CPU generating multimedia commands and data; the CPU providing the multimedia commands and data to the main memory; the multimedia engine obtaining multimedia commands from the main memory and multimedia data from the real-time data cache; the multimedia engine performing the multimedia commands using the multimedia data; the multimedia engine generating a multimedia output signal; and the multimedia engine providing the multimedia output signal to the input/output port. 18. The method as recited in claim 17, wherein the step of the CPU providing the multimedia commands to the main memory comprises: the CPU generating multimedia command and data elements; the CPU generating command and data element structure information; and the CPU providing the multimedia command and data elements and the command and data element structure information to the main memory. 19. The method as recited in claim 17, wherein the multimedia engine obtains multimedia data from the main memory and from the real-time data cache during the obtaining step. 20. The method as recited in claim 17, wherein the multimedia engine obtains multimedia commands and data from the real-time data cache during the obtaining step.

Inventors: BARNES BRIAN, GULICK DALE, HEWITT LARRY, LAMBRECHT ANDY, WEBB MIKE, BARNES, BRIAN, GULICK, DALE, HEWITT, LARRY, LAMBRECHT, ANDY, WEBB, MIKE
Applicants: ADVANCED MICRO DEVICES INC, ADVANCED MICRO DEVICES, INC.
Application year: 1997
Main classification: G06F15
IPC codes: G06F15