Method and system for synchronizing processor and DMA using ownership flags
AssigneeBroadcom Corporation
InventorsGregory H. Efland, Jeff Z. Guan, Gong-San Yu
Life of this patent
Estimating the term…
Abstract
Provided is a system and method for a modem including one or more processing paths. Also included is a number of interconnected modules sequentially arrayed along the one or more paths. Each module is configured to (i) process signals passed along the paths in accordance with the sequence and (ii) implement predetermined functions to perform the processing. Further, each of the modules has a particular degree of functional programmability and the degrees of functional programmability monotonically vary in accordance with the sequence.
Claims8
A method for sharing one or more memories between a processor and a direct memory access (DMA) engine, each memory being associated with a respective ownership flag, the method comprising:
- associating each of the processor and the DMA engine with a particular unique value for each flag;
- assigning use of each of the one or more memories to a corresponding one of the processor and the DMA engine when a respective ownership flag is set to its particular unique value during respective processor and DMA engine cycles;
- and
- assigning use of each of the one or more memories to the other one of the processor and the DMA engine during ensuing processor and DMA cycles;
- wherein a first instruction waits for the flags to indicate ownership;
- and
- wherein a second instruction sets the flags to indicate a lack of ownership.
An apparatus for sharing one or more memories between a processor and a direct memory access (DMA) engine, each memory being associated with a respective ownership flag, the apparatus comprising:
- means for associating each of the processor and the DMA engine with a particular unique value for each flag;
- means for assigning use of each of the one or more memories to a corresponding one of the processor and the DMA engine when a respective ownership flag is set to its unique value during respective processor and DMA engine cycles;
- and
- means for assigning use of each of the one or more memories to the other one of the processor and the DMA engine during ensuing processor and DMA cycles;
- wherein a first instruction waits for the flags to indicate ownership;
- and
- wherein a second instruction sets the flags to indicate a lack of ownership.
Dependencies are inferred from the claim text.