Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
CIRCUIT FOR ADDRESSING A MEMORY
Document Type and Number:
WIPO Patent Application WO/2005/024624
Kind Code:
A1
Abstract:
A circuit is proposed which has a memory to which input data can be written at different write addresses with a first clock rate and from which output data can be read at different read addresses with a second clock rate. The memory can be fed a write reset pulse that resets the write address to an initial value. In addition, the memory can be fed a read reset pulse by means of which the data are output in a fixed temporal relationship. Finally, the circuit proposed is provided with switching means in order to derive the read reset pulse from the write reset pulse. This ensures that the two reset pulses cannot occur simultaneously.

Inventors:
LOEW ANDREAS (DE)
Application Number:
PCT/EP2004/009394
Publication Date:
March 17, 2005
Filing Date:
August 23, 2004
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
THOMSON LICENSING SA (FR)
LOEW ANDREAS (DE)
International Classes:
G06F5/10; H04L7/00; (IPC1-7): G06F5/06; H04J3/06
Domestic Patent References:
WO2002014992A12002-02-21
Foreign References:
DE2712775B11978-07-20
DE19819863A11999-11-11
Other References:
PATENT ABSTRACTS OF JAPAN vol. 0111, no. 22 (E - 500) 16 April 1987 (1987-04-16)
Attorney, Agent or Firm:
Rossmanith, Manfred (European Patent Operations Karl-Wiechert-Allee 74, Hannover, DE)
Download PDF:
Claims:
Patent Claims
1. A circuit for addressing a memory (1), to which input data (Din) can be written at different write addresses (Wa) with a first clock rate (Wclk) and from which output data (RAM Do) can be read at different read addresses (Ra) with a second clock rate (Rclk), it being possible for the memory to be fed a write reset pulse (Wres) that resets the write address to an initial value, and it being possible for the memory to be fed a read reset pulse (Rres) that resets the read address to an initial value, wherein switching means (6,7, 8,9) are provided in order to derive the read reset pulse from the write reset pulse.
2. The circuit as claimed in claim 1, wherein the circuit comprises a detector (2) set up in order to detect synchronization data from the input data in order to generate the write reset pulse.
3. The circuit as claimed in claim 1, wherein the circuit comprises an adjustable delay element (14) having a fixed temporal relationship of the readout data (Dout) with regard to a readside start pulse (SyncR).
4. The circuit as claimed in claim 3, wherein the circuit has a counter (12) that is started by the start pulse and counts down proceeding from a start value as far as an end value.
5. The circuit as claimed in claim 4, wherein the circuit is provided with a storage means (13), in which the present value (Count) of the counter (12) is stored if a readside reset pulse (Rres) occurs.
6. The circuit as claimed in claim 5, wherein a connection is provided between the storage means and the adjustable delay element, said connection being set up in order to write the stored value of the counter (Delay) as a delay value to the adjustable delay element.
7. The circuit as claimed in claim 1, wherein switching means (6,7, 8,9) are provided in order to detect from the writeside reset pulse (Wres) a pulse edge that triggers the generation of a readside reset pulse (Rres).
8. The circuit as claimed in claim 1, wherein provision is made of counters (4,11) that generate the write and read address, respectively, of the memory (1).
9. The circuit as claimed in claim 8, wherein the counters are clocked with the write and read clock signal, respectively.
Description:
Circuit for addressing a memory The invention relates to a circuit for addressing a memory. In particular, the invention relates to a circuit according to the preamble of patent claim 1.

In the processing of digital video data, it is generally necessary to transfer data streams between different processing units. In the course of the data transfer via different channels, propagation time shifts may occur in the individual transfer paths. In the case of data streams that are reset with such a propagation time shift, it is necessary, therefore, first of all to synchronize the data streams prior to the further processing of the data. Such difficulties occur for example in film scanners or other apparatuses for processing video data. The data are generally synchronized with the aid of a so-called FiFo memory ("First-in, First-out"), to which the data are written with a write clock rate and from which the data are read out again with a read clock rate that is also different, if appropriate.

However, the aforementioned difficulties are not restricted to video data, but rather occur quite generally wherever digital data streams are transferred between different processing units.

The invention proposes a circuit which enables the desired synchronization of the data streams to be achieved.

The circuit according to the invention has a memory to which input data can be written at different write addresses with a first clock rate and from which output data can be

read at different read addresses with a second clock rate.

The memory can be fed a write reset pulse that resets the write address to an initial value. In addition, the memory can be fed a read reset pulse that resets the read address to an initial value. Finally, the circuit according to the invention is provided with switching means in order to derive the read reset pulse from the write reset pulse. This ensures that the two reset pulses cannot occur simultaneously.

Expediently, the circuit comprises a detector set up in order to detect synchronization data from the input data in order to generate the write reset pulse. The synchronization data are for example a synchronization word embedded in the input data.

In order to obtain a fixed temporal relationship of the data read from the memory with regard to a read-side start pulse, the circuit may comprise an adjustable delay element.

In an advantageous manner, the circuit has a counter that is started by the read-side start pulse and counts down proceeding from a start value as far as an end value. In this case, the circuit is expediently provided with a storage means, in which the value of the counter is stored if a read-side reset pulse occurs.

In a development of the invention, a connection may be provided between the storage means and the adjustable delay element, said connection being set up in order to write the stored value of the counter as a delay value to the adjustable delay element.

In one embodiment of the invention, switching means are provided in order to detect from the write-side reset pulse a pulse edge that triggers the generation of a read-side reset pulse. In particular, a rising pulse edge is appropriate for this purpose.

In an advantageous manner, the circuit according to the invention is provided with counters that generate the write and read address, respectively, of the memory. In this case, it is expedient if the counters are clocked with the write and read clock signal, respectively.

An exemplary embodiment of the circuit according to the invention is illustrated in the drawing, in which, Fig. 1 shows a schematic block diagram of the circuit according to the invention, Fig. 2 shows counter contents of a counter in the circuit from figure 1, and Fig. 3 shows a schematic timing diagram of the signals in the circuit from figure 1.

Figure 1 shows a schematic block diagram of an exemplary embodiment of the circuit according to the invention for a so-called FiFo memory 1 ("First-in, First-out"). Although the individual functional units are illustrated as separate blocks in figure 1, this does not mean that these functional units have to be realized as individual electronic modules.

Rather, a plurality or else all of the functional units may be integrated in a single module.

A digital input data stream Din is written to the memory 1 with a write clock rate Wclk. The input data stream Din also contains a synchronization word or a

synchronization phrase that is detected by a decoder 2. If a synchronization phrase occurs during a write clock cycle, the decoder 2 generates a write-side reset signal Wres at an output 3, as a result of which a counter 4 that is counted up by the write clock Wclk is reset. The output signal of the counter 4 specifies the write address Wa for the input data Din in the memory 1.

The output signal of the decoder 2 is also fed to the set input of an FRS flip-flop 6, the output of which is connected to a D flip-flop 7. The output of the flip-flop 7 is connected to a further flip-flop 8 and also to a first input of an AND gate 9. The second input of the AND gate 9 is an inverting input connected to the output of the flip- flop 8. The output of the flip-flop 8 is furthermore connected to a reset input of the flip-flop 6. A read clock signal Rclk is connected to the flip-flops 7 and 8 and also to the memory 1.

The circuit of the flip-flops 6,7, 8 and the AND gate 9 causes the output of the AND gate 9 to go"HIGH"when a rising edge of the write clock signal Wclk occurs.

The output of the AND gate 9 is connected to the reset input of a counter 11 that is likewise connected to the read clock signal Rclk and is counted up by the latter. During operation, the counter 11 counts up with the read clock rate Rclk until a rising edge of the write clock signal Wclk is detected and the counter 11 is reset to zero by the AND- gate. The output of the counter 11 is connected to the memory 1 and prescribes the read address Ra at which output data Dout are read from the memory 1.

In order to produce a fixed timing relationship with respect to a start pulse SyncR on the read-side printed circuit board, a down-counter 12 is provided which is loaded with a start value DlyS0, which specifies the phase angle of the data on the read side. The read clock signal Rclk is fed to the down-counter 12. The down-counter 12 is started by the start pulse SyncR and counted down with the clock rate of the read clock signal Rclk. If a read-side reset pulse Rres occurs, the present counter reading Vdly is stored in a register 13. The output signal of the AND gate 9 is applied to a further input of the register 13, said output signal forming the read-side reset signal. As soon as a rising edge of the write clock signal Wclk occurs, the output signal of the AND gate 9 goes"HIGH"and initiates the writing of the counter reading Vdly of the down-counter to the register 13. The stored counter reading Vdly is fed to an adjustable delay element 14 and has the function of a delay value for the delay element 14.

The delay element 14 is designed for example as a shift register in which data Dout read from the memory 1 are written to the register at a location prescribed by the delay value Vdly. The data are then shifted through the register with the clock rate of the read clock Rclk, thereby realizing a specific delay time. For this purpose, the delay element 14 is likewise connected to the read clock Rclk.

Such programmable delay elements can be obtained for example from the company Xilinx Inc. , San Jose, California, USA. A suitable module is the type SRL16E, for example.

The function of the delay element 14 is illustrated in figure 2. A value Dly_S_O is loaded into the counter 12 and counted down with the read clock rate Rclk. When the next read-side reset pulse Rres occurs, the counter reading Vdly

is stored in the register 13 and transferred into the delay element 14. This means that the delay element 14 produces a fixed phase relationship between the read-side data Dout and the start pulse SyncR by virtue of an ever larger delay value Vdly being written to the delay element 14 the faster a read-side reset pulse Rres follows a start pulse SyncR, and vice versa.

The time duration between the occurrence of the read- side start pulse SyncR and the read-side reset pulse Rres is illustrated by a number of n read clock pulses in figure 2.

Figure 3 illustrates the impulse sequence of the signals that are exchanged between the individual components of the circuit shown in figure 1.

The exemplary embodiment described in connection with figure 1 and figure 2 is suitable for applications in which the rate of the input data Din and the rate of the output data Dout are identical apart from temporal fluctuations. In this case, the memory 1 never overflows and always contains enough valid data. In other words, neither an"overflow"nor an"underflow"occurs. In applications in which this is not ensured, additional control facilities are added. On the write side, by way of example, a so-called"handshake" signal is known from the prior art, which signal permits data to be written to the memory 1 only when free memory locations are available. On the read side, a so-called"data valid"signal is often used, which permits data to be read from the memory 1 only when valid data are available in the memory 1.




 
Previous Patent: PRINTING DIGITAL DOCUMENTS

Next Patent: DATA PROCESSOR