The exemplary and non-limiting embodiments of this invention relate generally to data processors and data transfer techniques and, more specifically, relate to direct memory access (DMA) data transfer techniques and associated DMA control circuits.
The following abbreviations are herewith defined:
Data are typically transferred over one or more busses from a data processor to hardware. In general, when utilizing direct memory access (DMA), hardware devices can access main memory without the involvement of a central processing unit (CPU). If a DMA technique is used, the data stored in a memory may have to be first sorted and copied by the data processor before it is made available to a DMA port. This sorting and copying operation may consume a considerable amount of the processing capabilities of the data processor, and is thus undesirable from a number of viewpoints. For example, in portable battery-powered devices such as cellular phones, personal digital assistants, gaming devices and digital cameras, to name just a few such devices, the data processor bandwidth may be limited. In addition, data processor operations, such as data sorting and copying, consume battery power. Further, it is often the case that processor response is time critical, such as in modem wireless communication systems such as 3.9G systems, (Release 8 of UTRA (EUTRA)) and thus the mundane sorting and copying operations can reduce the responsivity of the data processor to time critical operations.
The foregoing and other problems are overcome, and other advantages are realized, in accordance with the exemplary embodiments of these teachings.
In accordance with an exemplary embodiment of the invention, a method includes constructing a data unit including a plurality of parts stored in a plurality of regions of a memory, and instructing a controller to serialize the data unit and to transfer the data unit to a destination.
In accordance with another exemplary embodiment of the invention, a method includes receiving an instruction to serialize a data unit comprising a plurality of parts stored in a plurality of regions of a memory, serializing the data unit, and transferring the data unit to a destination.
In accordance with another exemplary embodiment of the invention, an apparatus includes a processor and a memory coupled to the processor for storing a set of instructions, executable by the processor, for constructing a data unit comprising a plurality of parts stored in a plurality of regions of a memory, and instructing a controller to serialize the data unit and to transfer the data unit to a destination.
In accordance with another exemplary embodiment of the invention, a program of machine-readable instructions, tangibly embodied on an information bearing medium and executable by a digital data processor, performs actions including constructing a data unit comprising a plurality of parts stored in a plurality of regions of a memory, and instructing a controller to serialize the data unit and to transfer the data unit to a destination.
In accordance with another exemplary embodiment of the invention, a network element includes a processor and a memory coupled to the processor for storing a set of instructions, executable by the processor, for constructing a data unit comprising a plurality of parts stored in a plurality of regions of a memory, and instructing a controller to serialize the data unit and to transfer the data unit to a destination.
In accordance with another exemplary embodiment of the invention, a method includes constructing at least two data blocks locate din different regions of a memory, programming a controller with a control information and memory location and length information of the at least two data blocks, and instructing the controller to perform a data transfer of the at least two data blocks in a predetermined sequence.
In the attached Drawing Figures:
By way of introduction, the exemplary embodiments of this invention pertain generally to a data processor, such as embedded data processor, and data processor access techniques, such as those to and from dedicated hardware blocks. While the exemplary embodiments of this invention provide hardware and software techniques usable for the framing and deframing of data units, such as MAC protocol units for a wireless communication system, it should be appreciated that the exemplary embodiments of this invention may be employed in a number of different types of systems and for other uses. In general, the exemplary embodiments of this invention improve the data handling capacity between a data processor and other hardware, and serve to also decrease the load on the data processor for data handling operations, such as data serialization and sorting/copying data handling operations as two non-limiting examples.
As employed herein “serialization” of data implies an ordering of memory data for subsequent processing by other HW and/or by SW elements as a data stream.
In accordance with exemplary embodiments of this invention, in order to avoid requiring the data processor to move data within a memory during a data sorting operation, the data processor instead simply provides the DMA controller with a list of the data fields that are to be transferred, after which the DMA controller is responsible for transferring the data and, in so doing, performs the data sorting and reorganization operation. This provides the data processor with more time to perform useful computations, as the mundane data sorting task prior to moving a block of data is offloaded to the DMA controller. This further enables the use of a lower performance data processor, one that typically will require less power to operate. Furthermore, the data throughput of the overall embedded processing system is increased. In addition, the responsivity of the data processor for time critical operations is improved, since at least some data sorting and copying operations are off-loaded to the DMA controller.
Referring to
It is again noted that the particular data processor 1 shown in
With reference to
It can be noted that the use of the Interrupt controller 2 is not required, and that in some embodiments of this invention the data processor 1 may instead simply poll a status bit or bits of the DMA controller 4 to determine the state of the data transfer to the TXBB 5, as one non-limiting example.
It should be noted that while
Reference in this regard may also be had to
During operation of the DMA controller 4, the DMA controller first reads from the RAM the MAC header(s), and then the SDU(s). These units of data are provided in the correct sequence to the TXBB 5. This flow is depicted by the dashed line in
It can be noted that in accordance with the exemplary embodiments of this invention the data processor 1 is not required to sort the header and payload data in the RAM prior to transferring MAC data to the TXBB 4, as shown in
Reference is made to
In general, the various embodiments of the UE 10 can include, but are not limited to, cellular telephones, personal digital assistants (PDAs), computers, image capture devices such as digital cameras, gaming devices, music storage and playback appliances, Internet appliances permitting Internet access and browsing, as well as units or terminals that incorporate combinations of such functions. These devices, units and terminals may or may not have wireless communication capabilities, and may or may not be portable.
The embodiments of this invention may be implemented by computer software executable by, as one example, the DP 1 of the UE 10, or by hardware, or by a combination of software and hardware.
The MEMs 10B, 12B and 14B may be of any type suitable to the local technical environment and may be implemented using any suitable data storage technology, such as semiconductor-based memory devices, magnetic memory devices and systems, optical memory devices and systems, fixed memory and removable memory. The DPs 1, 12A and 14A may be of any type suitable to the local technical environment, and may include one or more of general purpose computers, special purpose computers, microprocessors, digital signal processors (DSPs), embedded DPs and processors based on a multi-core processor architecture, as non-limiting examples.
One advantage that is gained by the use of the invention is that it allows higher data throughput and better performance to be achieved by the DP 1. Another advantage is that since it conserves computing resources on the DP 1, it allows the use of a “lighter” processor that requires less integrated area and less power to operate.
Based on the foregoing it should be apparent that certain exemplary embodiments of this invention provide a method, apparatus and computer program product(s) to construct the constituent parts of a data unit in different regions of a memory, and to then use a DMA controller to correctly assemble the data unit from the constituent parts when transferring the data unit to a device or destination that will consume the data unit. The data unit can represent one or more MAC headers and one or more associated SDUs, as a non-limiting example.
The implementation of the exemplary embodiments of this invention is particularly useful with a MAC/PHY interface, although this should be viewed as but one exemplary application. Note further in this regard that the exemplary embodiments of this invention could be used instead in the Node B 12, or in both the Node B 12 and the UE 10. The exemplary embodiments of this invention could also be employed to advantage in other network elements, such as in the RNC 14.
Referring now to
In general, the various embodiments may be implemented in hardware or special purpose circuits, software, logic or any combination thereof. For example, some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software which may be executed by a controller, microprocessor or other computing device, although the invention is not limited thereto. While various aspects of the invention may be illustrated and described as block diagrams, flow charts, or using some other pictorial representation, it is well understood that these blocks, apparatus, systems, techniques or methods described herein may be implemented in, as non-limiting examples, hardware, software, firmware, special purpose circuits or logic, general purpose hardware or controller or other computing devices, or some combination thereof.
Embodiments of the inventions may be practiced in various components such as integrated circuit modules. The design of integrated circuits is by and large a highly automated process. Complex and powerful software tools are available for converting a logic level design into a semiconductor circuit design ready to be etched and formed on a semiconductor substrate.
Programs, such as those provided by Synopsys, Inc. of Mountain View, Calif. and Cadence Design, of San Jose, Calif. automatically route conductors and locate components on a semiconductor chip using well established rules of design as well as libraries of pre-stored design modules. Once the design for a semiconductor circuit has been completed, the resultant design, in a standardized electronic format (e.g., Opus, GDSII, or the like) may be transmitted to a semiconductor fabrication facility or “fab” for fabrication.
Various modifications and adaptations may become apparent to those skilled in the relevant arts in view of the foregoing description, when read in conjunction with the accompanying drawings. However, any and all modifications of the teachings of this invention will still fall within the scope of the non-limiting embodiments of this invention.
Furthermore, some of the features of the various non-limiting embodiments of this invention may be used to advantage without the corresponding use of other features. As such, the foregoing description should be considered as merely illustrative of the principles, teachings and exemplary embodiments of this invention, and not in limitation thereof.
This Application claims the benefit under 35 USC 119(e) of U.S. Provisional Application No. 60/735,755 filed Nov. 9, 2005.
| Number | Date | Country | |
|---|---|---|---|
| 60735755 | Nov 2005 | US |