An apparatus for address selection including a first storage element and a second storage element coupled to an input bus. The first storage element stores a first address segment and the second storage element stores a second address segment upon the receipt of respective complementary clock signals. An internal address bus propagates the address segments together.
|
12. A method, comprising:
receiving, in a latency period, a first address segment and a second address segment on an input address bus;
storing, in the latency period, the first address segment in a first storage element and the second address segment in a second storage element, the first and second address segments being stored on consecutive half-cycles comprising a first half-cycle and a second half-cycle; and
providing, in a third half-cycle in the latency period, an internal address to an address decoder, wherein the internal address comprises the first address segment and the second address segment.
1. An apparatus, comprising:
a first storage element to store a first address segment, the first storage element having a plurality of inputs and a plurality of outputs equal to the plurality of inputs;
a second storage element to store a second address segment, the second storage element having a plurality of inputs and a plurality of outputs equal to the plurality of inputs;
an input address bus coupled to the plurality of inputs of the first storage element and the plurality of inputs of the second storage element; and
an internal address bus coupled to the plurality of outputs of the first storage element and the plurality of outputs of the second storage element, the internal address bus to carry an internal address comprising the first address segment from the first storage element and the second address segment from the second storage element.
21. A system, comprising:
a processing device coupled to a data bus and a system address bus, the processing device comprising a clock signal generator to generate a first clock signal on a first clock signal line and a second clock signal on a second clock signal line;
at least one random access memory (RAM) coupled to the system address bus, the data bus, the first clock signal line and the second clock signal line, wherein each of the at least one random access memory comprises:
a first storage element coupled to the first clock signal line, to store a first address segment upon a first transition of the first clock signal, the first storage element having a plurality of inputs and a plurality of outputs equal to the plurality of inputs;
a second storage element coupled to the second clock signal line, to store a second address segment upon a first transition of the second clock signal, the second storage element having a plurality of inputs and a plurality of outputs equal to the plurality of inputs;
an input address bus coupled to the plurality of inputs of the first storage element and the plurality of inputs of the second storage element; and
an internal address bus coupled to the plurality of outputs of the first storage element and the plurality of outputs of the second storage element.
2. The apparatus of
a first clock signal line coupled to the first storage element; and
a second clock signal line coupled to the second storage element.
3. The apparatus of
the input address bus comprises a plurality of lines equal in number to the plurality of inputs of the first storage element;
the plurality of inputs of the second storage element is equal to or less than the plurality of inputs of the first storage element; and
the internal address bus comprises a plurality of lines equal in number to the sum of the plurality of outputs of the first storage element and the plurality of outputs of the second storage element.
4. The apparatus of
the first address segment is stored upon a first transition of a first clock signal applied on the first clock signal line;
the second address segment is stored upon a first transition of the second clock signal applied on the second clock signal line; and
an address comprising the first address segment and the second address segment is transmitted on the internal address bus upon a second transition of the first clock signal on the first clock signal line.
5. The apparatus of
6. The apparatus of
7. The apparatus of
8. The apparatus of
an address control logic coupled to the first clock signal line and the second clock signal line;
an address decoder coupled to the internal address line; and
a memory array coupled to the address decoder.
9. The apparatus of
10. The apparatus of
11. The apparatus of
13. The method of
14. The method of
15. The method of
storing the first address segment comprises latching the first address segment in a first register upon a first transition of a first clock signal; and
storing the second address segment comprises latching the second address segment in a second register upon a first transition of a second clock signal.
16. The method of
decoding the internal address; and
addressing a memory array with the decoded internal address.
17. The method of
18. The method of
19. The method of
20. The method of
22. The system of
the input address bus comprises a plurality of lines equal in number to the plurality of inputs of the first storage element;
the plurality of inputs of the second storage element is equal to or less than the plurality of inputs of the first storage element; and
the internal address bus comprises a plurality of lines equal in number to the sum of the plurality of outputs of the first storage element and the plurality of outputs of the second storage element.
24. The system of
|
This application claims the benefit of U.S. Provisional Application No. 60/483,125, filed Jun. 27, 2003.
Embodiments of the present invention relate to the field of memory devices and, in particular, to the addressing of memory devices.
Modern data communication and networking systems make extensive use of synchronous RAM for data processing.
Each of these memories may use synchronous RAM of one type or another. Synchronous RAM is random access memory in which read and write operations are synchronized by the transitions of periodic signals called clock signals. In single data rate (SDR) synchronous RAM, data is transferred on each rising (or falling) edge of a clock signal. In order to achieve higher data transfer rates and maximize data throughput, double data rate (DDR) devices transfer data on both the rising and falling edges of the clock signal (or on the rising or falling edges of two separate clock signals). In order to avoid read/write data collisions on the data bus, separate buses can be provided for reading and writing data, and each bus can operate at double data rates to yield a quad data rate (QDR™) device. A further speed enhancement is achieved with burst-mode read and write operations. In burst-mode, the address provided to the memory specifies the starting point for a burst of data words, to or from the memory, which includes the addressed location and some number of contiguous locations.
The packet buffer is the most demanding memory requirement in the line card of
Read and write operations in such memories may be characterized by a latency period. Read latency is the time period between the time that an address of a memory location is specified and the time that data is read from the memory location specified by the address. Write latency is the time period between the time that an address of a memory location is specified and the time that data is actually written to the memory location specified by the address. The latency period, measured in clock cycles, arises from the need to perform one or more intermediate operations before the data can be accessed. For example, before data can be written to a memory address, the address must be decoded and the data must be transferred from an external input port to an internal data register.
Because the data rates are high and the processing is complex, multiple banks of synchronous RAM may be required to manage the data traffic. As a result, many address lines are needed to manage the memory and a correspondingly large number of connection points must be provided on the system processor. This creates several problems. First, the internal design of the processor becomes very difficult, costly and time consuming. Second, the layout of the line-card becomes very difficult, costly and time-consuming. Extra circuit layers may be required to accommodate the required line routing. Each additional layer adds to the manufacturing cost of the board and decreases its reliability.
The present invention is illustrated by way of example, and not by limitation, in the figures of the accompanying drawings in which:
In the following description, numerous specific details are set forth such as examples of specific components, devices, methods, etc., in order to provide a thorough understanding of embodiments of the present invention. It will be apparent, however, to one skilled in the art that these specific details need not be employed to practice embodiments of the present invention. In other instances, well-known materials or methods have not been described in detail in order to avoid unnecessarily obscuring embodiments of the present invention. It should be noted that the “line” or “lines” discussed herein, that connect elements, may be single lines or multiple lines. The term “coupled” as used herein, may mean directly coupled or indirectly coupled through one or more intervening components. It will also be understood by one having ordinary skill in the art that lines and/or other coupling elements may be identified by the nature of the signals they carry (e.g., a “clock line” may implicitly carry a “clock signal”) and that input and output ports may be identified by the nature of the signals they receive or transmit (e.g., “clock input k” may implicitly receive a “clock signal k”).
A system, apparatus and method for address selection are described. In one embodiment, the system includes a processing device that is coupled to a random access memory (RAM) device by a data bus, a system address bus and a pair of clock signal lines. The processing device includes a clock generator that generates a first clock signal and a second clock signal on one or more clock signal lines. The random access memory (RAM) device includes an input address bus coupled to the system address bus. A first storage element with an equal number of inputs and outputs is coupled to the input address bus to receive and store a first memory address segment from the system address bus. A second storage element with an equal number of inputs and outputs is coupled to the input address bus to receive and store a second memory address segment from the system address bus. The first storage element receives and stores the first memory address segment on a first transition of the first clock signal and the second storage element receives and stores the second memory address segment on a first transition of the second clock signal. The first and second storage elements form an internal memory address at their outputs from the first and second memory address segments and propagate the internal memory address on an internal memory address bus.
In one embodiment, the method receives and stores a first and a second memory address segment, during a latency period, on consecutive half cycles of clock signals. An internal memory address formed from the first and second memory address segments is propagated on an internal address bus to an address decoder on a third consecutive half cycle of the clock signals within the latency period.
The described memory addressing may be used to reduce the number of memory address lines in a networking or data communications application, for example, by approximately a factor of two, without reducing the amount of addressable memory or increasing memory access times.
Packet processing system 400 may be coupled to network medium 412 by line 414, and to one or more mediums 4131–413i by line 415. Mediums 4131–413i may be similar or dissimilar mediums. Packet processing system 400 may include physical interface devices 410 and 411 coupled to link layer device 401 by lines 405 and 406, respectively. Link layer device 401 may include processing device 402 for processing data packets. Processing device 402 may be, for example, a network processor, a field programmable gate array (FPGA) or an application specific integrated circuit (ASIC). Alternatively, processing device 402 may be one or more other processing devices such as a general-purpose processor (e.g., a Motorola PowerPC™ processor or Intel® Pentium® processor) or a special-purpose processor (e.g., a digital signal processor). Processing device 402 may include clock generator 403 to generate clock signals. Link layer device 401 may also include memory array 416 for storing information (e.g., data packets) and instructions to be executed by processing device 402. Memory array 416 may include memory devices 4041–404J. Each of memory devices 4041–404J may be synchronous random access memory (RAM) devices. Memory devices 4041–404J may also be either static random access memory devices (SRAM) or dynamic random access memory (DRAM) devices. RAM devices 4041–404J may be DDR memory devices or QDR™ memory devices. Memory devices 4041–404J may be coupled to processing device 402 by clock lines 407, system address bus 408, and data bus 409. Each of memory devices 4041–404J may be used to store data packets or data and instructions for processing data packets. Processing data may include, for example, processing statistics or routing addresses. Processing instructions may include, for example, queue management instructions or packet routing policy instructions. Each memory device 4041–404J may include 2n addressable memory locations. In one embodiment, n may be an even number and system address bus 408 may contain n/2 address lines. In an alternative embodiment, n may be an odd number and system address bus 408 may include (n+1)/2 address lines. System address bus 408 may also include one or more chip select lines in addition to address lines. Data bus 409 may include m bi-directional data lines to carry data to and from memory devices 4041–404J. Alternatively, data bus 409 may include m unidirectional data lines to carry data to memory devices 4041–404J and m unidirectional data lines to carry data from memory devices 4041–404J. Memory devices 4041–404J may be coupled to clock generator 403 by one or more clock lines 407. It should be noted that link layer device 401 may also include other components and couplings that have not been illustrated, so as not to obscure an understanding of embodiments of the present invention.
In one embodiment, a memory device 404 may be a synchronous RAM device connected to processing device 402, as illustrated in
In one exemplary embodiment of address selection for a data read operation, a read enable signal may be issued from processing device 402 and received by synchronous RAM device 600 at read enable input RE#. Address control logic 615 may receive the read enable signal on line 608 and couple the read enable signal to output buffer 660 to enable data output. Address control logic 615 may also control the application of clock signals k and k# to storage elements 605 and 610, and to address decoder 620. Clock signals k and k# may be two-state (i.e., binary) signals having periodic state-transitions. Clock signals k and k# may also be complementary signals. On a first state-transition of clock signal k, address control logic 615 may cause a first read address segment on input address bus 601 to be stored in storage element 605. On a first state-transition of clock signal k#, address control logic 615 may cause a second read address segment on input address bus 602 to be stored in storage element 610. On a second state-transition of clock signal k, address control logic 615 may cause an internal read address, formed from the first and second read address segments, to be transmitted on internal address bus 607 to address decoder 620. Address decoder 620 may send a decoded memory address to memory array 645 where the contents of the memory location specified by the internal address are retrieved and transported to data output Q by way of sense amps 650, output register 655, and output buffer 660 on subsequent transitions of clock signals k & k#. Data output operations are known in the art; accordingly, a detailed description is not provided herein.
In one exemplary embodiment of address selection for a data write operation, a write enable signal may be issued from processing device 402 and received by synchronous RAM device 600 at write enable input WE#. Data control logic 625 may receive the write enable signal on line 609 and couple the write enable signal to data register 630 to enable data input. Data control logic 615 may also control the application of clock signals k and k# to data register 630. Address control logic 615 may receive the write enable signal on line 609 and control the application of clock signals k and k# to storage elements 605 and 610, and to address decoder 620. Clock signals k and k# may be periodic two-state (i.e., binary) signals. Clock signals k and k# may also be complementary signals. On a first state-transition of clock signal k, address control logic 615 may cause a first write address segment on input address bus 601 to be stored in storage element 605 and data control logic 625 may cause data at input D to be stored in data register 630. On a first state-transition of clock signal k#, address control logic 615 may cause a second write address segment on input address bus 602 to be stored in storage element 610 and data in data register 630 may be transferred to write register 635. On a second state-transition of clock signal k, address control logic 615 may cause an internal write address, formed from the first and second write address segments, to be transmitted on internal address bus 607 to address decoder 620. Address decoder 620 may send a decoded memory address to memory array 645 where the memory location specified by the internal write address is filled with the data from write register 635 through write driver 640. Data write operations are known in the art; accordingly, a detailed description is not provided herein. It should be noted that synchronous RAM device 600 may include additional inputs, outputs, components and couplings that have not been illustrated so as not to obscure understanding of embodiments of the present invention.
An exemplary burst-read sequence begins when processing device 402 asserts a read enable signal 801 at read enable input RE of synchronous RAM device 600. The read enable signal is transmitted to address control logic 615 by line 608. Address control logic 615 controls the application of clock signals k and k# to storage elements 605 and 610. Address control logic 615 also controls the application of the read enable signal to output buffer 660 to enable output port Q. At time t0, the first segment A1 of address A is stored in storage element 605. At time t1, the second segment A2 of address A is stored in storage element 610. At time t2, address A is transferred to address decoder 620 and address A is decoded. Address decoders are known in the art; accordingly, a detailed description is not provided herein. At time t3, the data stored at address (A) is read from device memory array 645 through sense amps 650 and latched into output register 655 where it is available through output buffer 660 as output data Q(A). Memory arrays, sense amps and buffers are known in the art; accordingly, a detailed description is not provided herein. At time t4, a read address counter (not shown) is incremented, and the data stored at address (A+1) in device memory array 645 is latched into the output register 655 where it is available through output buffer 660 as output data Q(A+1). At time t5, the read address counter is incremented again and the data stored at address (A+2) in device memory array 645 is latched into the output register 655 where it is available through output buffer 660 as output data Q(A+2). At time t6, the read address counter is incremented again and the data stored at address (A+3) in device memory array 645 is latched into the output register 655 where it is available through output buffer 660 as output data Q(A+3). It will be appreciated by one having ordinary skill in the art that a similar sequence of operations may be performed with read address segments C1 and C2 from time t4 through time t6, following the assertion of a read enable signal 802 by processing device 402 at time t4, to produce outputs Q(C) through Q(C+3) during time t7 through time t10.
An exemplary burst-write operation begins when processing device 402 asserts a write enable signal 803 at write enable input WE of synchronous RAM device 600. The write enable signal is transmitted to address control logic 615 and data control logic by lines 609. Data control logic 625 controls the application of clock signals k and k# to data register 630. Data control logic 625 also controls the application of the write enable signal to data register 630 to enable input port D. At time t2, the first segment B1 of address B is stored in storage element 605 and data at data input D is latched into data register 630. At time t3, the second segment B2 of address B is stored in storage element 610, the data in data register 630 is pipelined to write register 635, and the next data at input D is latched into data register 630. At time t4, address B is transferred to address decoder 620, address B is decoded and the data in write register 635 is written to memory address B in device memory array 645 as D(B) by write driver 640. Write drivers are known in the art; accordingly, a detailed description is not provided herein. Also at time t4, the data in data register 630 is pipelined to write register 635 and the next data at input D is latched into data register 630. At time t5, a write address counter (not shown) is incremented, the data in write register 635 is written to memory address B+1 in device memory array 645 as D(B+1) by write driver 640. Also at time t5, the data in data register 630 is pipelined to write register 635 and the next data at input D is latched into data register 630. At time t6, the write address counter is incremented again, the data in write register 635 is written to memory address B+2 in device memory array 645 as D(B+2) by write driver 640. Also at time t6, the data in data register 630 is pipelined to write register 635. At time t7, the write address counter is incremented again, the data in write register 635 is written to memory address B+3 in device memory array 645 as D(B+2) by write driver 640. It will be appreciated by one having ordinary skill in the art that a similar sequence of operations may be performed with write address segments D1 and D2 from time t6 through time t8, following the assertion of a write enable signal 804 by the processing device 402 at time t6, to write data to addresses (D) through (D+3) during time t8 through time t11.
It will be appreciated that the method may be applied to write address selection by substituting write enable signal 803 for read enable signal 801, write address segment B1 for read address segment A1, half-cycle 807 for half-cycle 805, address segment B2 for address segment A2, half-cycle 808 for half-cycle 806, internal address B for internal address A, and half-cycle 809 for half-cycle 807.
Accordingly, embodiments of the invention enable the reduction of the number of memory address lines in a networking or data communications application by approximately a factor of two, without reducing the amount of addressable memory or increasing memory access time.
It should be appreciated that references throughout this specification to “one embodiment” or “an embodiment” means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Therefore, it is emphasized and should be appreciated that two or more references to “an embodiment” or “one embodiment” or “an alternative embodiment” in various portions of this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures or characteristics may be combined as suitable in one or more embodiments of the invention. In addition, while the invention has been described in terms of several embodiments, those skilled in the art will recognize that the invention is not limited to the embodiments described. The embodiments of the invention can be practiced with modification and alteration within the scope of the appended claims. The specification and the drawings are thus to be regarded as illustrative instead of limiting on the invention.
Srinivasagam, Kannan, Manapat, Rajesh, Mastipuram, Ritesh
Patent | Priority | Assignee | Title |
7995365, | May 01 2009 | U S BANK NATIONAL ASSOCIATION, AS COLLATERAL AGENT | Method and apparatuses for managing double data rate in non-volatile memory |
8642462, | Dec 17 2002 | U S BANK NATIONAL ASSOCIATION, AS COLLATERAL AGENT | Interconnection designs and materials having improved strength and fatigue life |
9136239, | Dec 17 2002 | U S BANK NATIONAL ASSOCIATION, AS COLLATERAL AGENT | Interconnection designs and materials having improved strength and fatigue life |
Patent | Priority | Assignee | Title |
5675549, | Feb 10 1995 | Round Rock Research, LLC | Burst EDO memory device address counter |
5835970, | Dec 21 1995 | RPX Corporation | Burst address generator having two modes of operation employing a linear/nonlinear counter using decoded addresses |
5875472, | Jan 29 1997 | Unisys Corporation; UNISYS CORPORATION, | Address conflict detection system employing address indirection for use in a high-speed multi-processor system |
6005814, | Apr 03 1998 | MONTEREY RESEARCH, LLC | Test mode entrance through clocked addresses |
6262937, | Mar 13 1998 | MONTEREY RESEARCH, LLC | Synchronous random access memory having a read/write address bus and process for writing to and reading from the same |
6288948, | Mar 31 2000 | MUFG UNION BANK, N A | Wired address compare circuit and method |
6385128, | Mar 13 1998 | MONTEREY RESEARCH, LLC | Random access memory having a read/write address bus and process for writing to and reading from the same |
6404682, | Mar 31 2000 | MUFG UNION BANK, N A | Wired address compare circuit and method |
6480406, | Aug 22 2001 | AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE LIMITED | Content addressable memory cell |
6510483, | Mar 21 2000 | MONTEREY RESEARCH, LLC | Circuit, architecture and method for reading an address counter and/or matching a bus width through one or more synchronous ports |
6640266, | Mar 24 2000 | MORGAN STANLEY SENIOR FUNDING, INC | Method and device for performing write operations to synchronous burst memory |
6721202, | Dec 21 2001 | AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE LIMITED | Bit encoded ternary content addressable memory cell |
6789180, | Sep 28 2001 | MONTEREY RESEARCH, LLC | Method and apparatus for mask and/or counter address registers readback on the address bus in synchronous single and multi-port memories |
6889267, | Nov 26 2002 | Intel Corporation | Asynchronous communication protocol using efficient data transfer formats |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Jun 25 2004 | Cypress Semiconductor Corporation | (assignment on the face of the patent) | / | |||
Jun 25 2004 | MASTIPURAM, RITESH | Cypress Semiconductor Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 015519 | /0957 | |
Jun 25 2004 | SRINIVASAGAM, KANNAN | Cypress Semiconductor Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 015519 | /0957 | |
Jun 25 2004 | MANAPAT, RAJESH | Cypress Semiconductor Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 015519 | /0957 | |
Mar 12 2015 | Spansion LLC | MORGAN STANLEY SENIOR FUNDING, INC | SECURITY INTEREST SEE DOCUMENT FOR DETAILS | 035240 | /0429 | |
Mar 12 2015 | Cypress Semiconductor Corporation | MORGAN STANLEY SENIOR FUNDING, INC | SECURITY INTEREST SEE DOCUMENT FOR DETAILS | 035240 | /0429 | |
Mar 12 2015 | Cypress Semiconductor Corporation | MORGAN STANLEY SENIOR FUNDING, INC | CORRECTIVE ASSIGNMENT TO CORRECT THE 8647899 PREVIOUSLY RECORDED ON REEL 035240 FRAME 0429 ASSIGNOR S HEREBY CONFIRMS THE SECURITY INTERST | 058002 | /0470 | |
Mar 12 2015 | Spansion LLC | MORGAN STANLEY SENIOR FUNDING, INC | CORRECTIVE ASSIGNMENT TO CORRECT THE 8647899 PREVIOUSLY RECORDED ON REEL 035240 FRAME 0429 ASSIGNOR S HEREBY CONFIRMS THE SECURITY INTERST | 058002 | /0470 | |
Aug 11 2016 | MORGAN STANLEY SENIOR FUNDING, INC , AS COLLATERAL AGENT | Cypress Semiconductor Corporation | PARTIAL RELEASE OF SECURITY INTEREST IN PATENTS | 039708 | /0001 | |
Aug 11 2016 | MORGAN STANLEY SENIOR FUNDING, INC , AS COLLATERAL AGENT | Spansion LLC | PARTIAL RELEASE OF SECURITY INTEREST IN PATENTS | 039708 | /0001 | |
Aug 11 2016 | Cypress Semiconductor Corporation | MONTEREY RESEARCH, LLC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 040911 | /0238 |
Date | Maintenance Fee Events |
Feb 04 2009 | ASPN: Payor Number Assigned. |
Feb 04 2009 | RMPN: Payer Number De-assigned. |
Dec 21 2009 | REM: Maintenance Fee Reminder Mailed. |
May 13 2010 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
May 13 2010 | M1554: Surcharge for Late Payment, Large Entity. |
Nov 15 2013 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
Mar 27 2017 | ASPN: Payor Number Assigned. |
Mar 27 2017 | RMPN: Payer Number De-assigned. |
Nov 07 2017 | M1553: Payment of Maintenance Fee, 12th Year, Large Entity. |
Date | Maintenance Schedule |
May 16 2009 | 4 years fee payment window open |
Nov 16 2009 | 6 months grace period start (w surcharge) |
May 16 2010 | patent expiry (for year 4) |
May 16 2012 | 2 years to revive unintentionally abandoned end. (for year 4) |
May 16 2013 | 8 years fee payment window open |
Nov 16 2013 | 6 months grace period start (w surcharge) |
May 16 2014 | patent expiry (for year 8) |
May 16 2016 | 2 years to revive unintentionally abandoned end. (for year 8) |
May 16 2017 | 12 years fee payment window open |
Nov 16 2017 | 6 months grace period start (w surcharge) |
May 16 2018 | patent expiry (for year 12) |
May 16 2020 | 2 years to revive unintentionally abandoned end. (for year 12) |