Shared memory with programmable size
First Claim
1. A digital system, comprising:
- a memory circuit;
a first requester circuit with a first memory access node;
a second requester circuit with a second memory access node;
a scheduling circuit connected to the first memory access node and to the second memory access node and having a request output node, operable to sequentially schedule memory accesses to the memory circuit by the first requestor circuit and by the second request circuit;
a selection circuit connected to the first memory access node and to the scheduling circuit request output node with an output node connected to the memory circuit;
access mode circuitry for indicating at least a first access mode and a second access mode controllably connected to the selection circuit, such that both the first requester circuit and the second requestor circuit can sequentially access the memory circuit when the access mode circuitry indicates the first access mode and the first requester circuit has exclusive access to the memory circuit when the access mode circuitry indicates the second access mode; and
a size register for holding a size parameter coupled to the selection circuit, the selection circuit being operable to select a first portion of the memory circuit in response to the size parameter when the access mode circuitry indicates the second access mode, wherein only the first portion of the memory circuit is operable for exclusive access by the first requestor when the access mode circuitry indicates the second access mode.
1 Assignment
0 Petitions
Accused Products
Abstract
A digital system is provided with a memory (42) that can be shared by two or more data requestors (10, 20). Two modes of access are provided. In a shared access memory (SAM) access mode, all of the data requestors can sequentially access the memory. In a host only memory (HOM) access mode, a portion (42a) of the memory is connected directly to one of the requestors, such, as a host processor (10), so that high bandwidth transfers can be performed. A portion (42b) that is not selected to be in HOM mode can be accessed by other requestors or shut down to save power. The size (S1) of the portion of memory selected for HOM mode is selected to match the requirements of a given application and can be changed by writing a size value to a register.
-
Citations
11 Claims
-
1. A digital system, comprising:
-
a memory circuit;
a first requester circuit with a first memory access node;
a second requester circuit with a second memory access node;
a scheduling circuit connected to the first memory access node and to the second memory access node and having a request output node, operable to sequentially schedule memory accesses to the memory circuit by the first requestor circuit and by the second request circuit;
a selection circuit connected to the first memory access node and to the scheduling circuit request output node with an output node connected to the memory circuit;
access mode circuitry for indicating at least a first access mode and a second access mode controllably connected to the selection circuit, such that both the first requester circuit and the second requestor circuit can sequentially access the memory circuit when the access mode circuitry indicates the first access mode and the first requester circuit has exclusive access to the memory circuit when the access mode circuitry indicates the second access mode; and
a size register for holding a size parameter coupled to the selection circuit, the selection circuit being operable to select a first portion of the memory circuit in response to the size parameter when the access mode circuitry indicates the second access mode, wherein only the first portion of the memory circuit is operable for exclusive access by the first requestor when the access mode circuitry indicates the second access mode. - View Dependent Claims (2, 3, 4, 6)
-
-
5. A digital system comprising:
-
a memory circuit;
a first requester circuit with a first memory access node;
a second requestor circuit with a second memory access node;
a scheduling circuit connected to the first memory access node and to the second memory access node and having a request output node, operable to sequentially schedule memory accesses to the memory circuit by the first requester circuit and by the second request circuit;
a selection circuit connected to the first memory access node and to the scheduling circuit request output node with an output node connected to the memory circuit;
access mode circuitry for indicating at least a first access mode and a second access mode controllably connected to the selection circuit, such that both the first requestor circuit and the second requestor circuit can sequentially access the memory circuit when the access mode circuitry indicates the first access mode and the first requester circuit has exclusive access to the memory circuit when the access mode circuitry indicates the second access mode;
a size register for holding a size parameter coupled to the selection circuit, the selection circuit being operable to select a first portion of the memory circuit in response to the size parameter when the access mode circuitry indicates the second access mode, wherein only the first portion of the memory circuit is operable for exclusive access by the first requester when the access mode circuitry indicates the second access mode; and
a clock circuit connected to the second requestor and to the memory circuit, wherein the first portion of the memory circuit operates synchronously with the clock circuit when the access mode circuitry indicates the first access mode and wherein the first portion of the memory circuit operates in an asynchronous manner when the access mode circuitry indicates the second access mode.
-
-
7. A method of operating a digital system having a memory circuit that is shared by a plurality of requestor circuits, comprising the steps of:
-
sharing access to the memory circuit between the plurality of requester circuits when the digital system is in a first mode of operation;
selecting a first portion of the memory circuit responsive to a size parameter stored in a register, such that a second portion of the memory circuit is not selected; and
limiting access to the first portion of memory circuit to only a first requestor of the plurality of requestors when the digital system is in a second mode of operation. - View Dependent Claims (8, 9, 10, 11)
-
Specification