Variable length time delay apparatus

Abstract: A programmable computer shift register or other time delay means of variable length that provides time delays that are integral multiples of a predetermined time delay unit Δt, that uses relatively few switches, that controls time delays introduced by passage of signals through multiple-state switches that are in different states.

Description: This invention relates to variable time delay apparatus. BACKGROUND OF THE INVENTION Time delay elements or shift registers are easily fabricated in integrated circuit technology. An input signal, delivered to the input terminal of a shift register, will not appear at the output terminal of the shift register until one cycle of the applicable clock has occurred. If one string together a series of n such shift register modules, as illustrated in Figure 1 where n=5, a signal, delivered to the input terminal of a first register D₁ will appear n clock cycles later at the output terminal of register D n . Substantially all of the shift registers or delay lines built and offered for sale by various manufacturers have a fixed length or time delay, usually ranging from a time delay of as low as eight time units to as high as many thousands of time units. A shift register or delay line that has a programmable length that varies over a sequence of times nΔt, wherein n equals 1,2,...,N, would be a useful component in the design of general purpose and special purpose computers. Figure 2 illustrates one straightforward approach to provision of such a switch register. If switch SW1 is closed and all other switches are open, the output signal will be delayed one time unit Δt relative to the input signal. If switch SW5 is closed and all other switches are open, the output signal will be delayed by a time 5Δt relative to the input signal, for example. This variable delay shift register is straightforward and easy to understand, but it carries with it certain problems. First, for a shift register of maximum length N, where N is a positive integer, N switches are needed to implement this shift register. This introduces a significant amount of additional circuitry and logic to select which switch is to be closed. Second, the output signal from each time delay element or shift register module must be routed to two places; to the input of the next time delay element, which is easy to do, and to the switch matrix, which may be much more difficult. This carries with it a chip area penalty and forces a substantial increase in cost for such a shift register vis-a-vis a standard, fixed length shift register. Third, the output terminal is connected to N switches. Although only one of these switches is in the "on" position, the remaining N-1 "off" switches represent a significant parasitic load that would limit the performance of such a shift register. One example of this approach is disclosed in U.S. Patent No. 4,330,750, issued to Mayor for "Variable Delay Circuits." Figure 3 illustrates another approach to a variable length shift register from the prior art that allows time delays from Δt to 32Δt in integral multiples of the time unit Δt. For example, with (only) switches SW1, SW2, SW3, SW4 and SW5 activated so that bypasses 1, 2 and 3 are not used but the remaining bypasses are used, the total delay would be Δt + 2Δt + 4Δt = 7Δt. As another example, if switches SW2, SW3, SW6 and SW7 are activated so that bypasses number 2 and number 4 are not used, the corresponding time delay is 2Δt + 8Δt = 10Δt. All combinations of times from Δt to 32Δt may be implemented using the prior art device shown in Figure 3. For a maximum time delay of M = 2 K time units Δt, (K = 1,2,3,...) precisely 2K switches are needed; K = 5 in the example shown in Figure 3. Where a combination of time delays up to 1024Δt = 2¹⁰Δt, twenty switches would be required. The device shown in Figure 3 offers a more compact implementation of a variable length shift register, using a reduced number of switches. A configuration incorporating the technique of Figure 3 is disclosed in U.S. Patent No. 4,016,511, issued to Ramsey and Post for a "Programmable Variable Length High Speed Digital Delay Line." However, certain disadvantages are evident from the configuration illustrated in Figure 3. First, the individual switches are more complex because, for example, switches SW2 and SW3 must work in unison. Second, implementation of the switches will cause each switch to have its own characteristic time delay, and the time delay (for passage through the switch itself) may be different for a switch in the activated or in the inactivated state. This will introduce variable incremental time delay (a fraction of Δt) on top of the variable time delay sought by use of the apparatus shown in Figure 3. Third, if the length of the shift register is changed during operation of the device ("on the fly"), it is a matter of some complexity to determine the number of clock cycles required before the device has cleared itself for subsequent operation. An interesting variation on this general approach is disclosed by U.S. Patent No. 4,530,107, issued to Williams for a "Shift Register Delay Circuit," wherein one set of registers is used to determine coarse time delay (integral time units) and a second set of registers is used to determine fine time delay (fractions of a time unit). SUMMARY OF THE INVENTION The invention provides a variable length shift register for time delay of signals that uses a reduced number of switches and does not require co-ordination of the states of two or more switches. Accordingly the present invention provides apparatus for providing variable length time delays of Δt, 2Δt, 3Δt,..., MNΔt, where Δt is a predetermined time interval and M and N are predetermined positive integers with N ≦ 2, the apparatus comprising: first time delay means, having an input terminal, a clock input terminal, an output terminal and a first plurality of programmable switch means, with each switch means having a first state and a second state, for producing a time delay of any of the lengths Δt, 2Δt, 3Δt..., MΔt by programming of the first plurality of programmable switch means, with the input terminal of the first time delay means receiving the signal that is to be delayed in time; and second time delay means, having an input terminal connected to the output terminal of the first time delay means, a clock input terminal, and output terminal and a second plurality of programmable switch means, with each switch means having a first state and a second state, for producing a time delay of any of the lengths O, MΔt, 2MΔt,..., (N-1) MΔt at the output terminal of the second time delay means, where at most one programmable switch means from the first time delay means and precisely one programmable switch means from the second time delay means is programmed to be in a first state for any operation of the apparatus; and a source of periodic clock pulses having a clock cycle of length substantially Δt that is connected to the clock input terminal of each of the first time delay means and the second time delay means. In a further aspect the invention provides apparatus for providing variable length time delays of 0, Δt, 2Δt, 3Δt,..., [(N+1)(M+1)-1]Δt where Δt is a predetermined time interval and M and N are predetermined positive integers, the apparatus comprising: a first time delay means having an input terminal, a clock input terminal, an output terminal and a first plurality of programmable switch means, for producing a time delay of any of the lengths 0, Δt, 2Δt,..., MΔt by programming of the first plurality of programmable switch means, where each programmable switch means has a first state and a second state and where the signal that is to be time delayed is received at the input terminal; a second time delay means having an input terminal connected to the output terminal of the first time delay means, a clock input terminal, an output terminal and a second plurality of programmable switch means, for producing time delays of any of the lengths (M+1)Δt, 2(M+1)Δt,..., N(M+1)Δt by programming of the second plurality of programmable switch means, with each programmable switch means having a first state and a second state, where the input terminal of the second time delay means is connected to the output terminal of the first time delay means, where the signal that is to be time delayed issues from the output terminal of the second time delay means, and where at most one programmable switch means from the first plurality and precisely one programmable switch means from the second plurality is programmed to be in the first state for any operation of the apparatus; and a source of periodic clock pulses having a clock cycle of length substantially of Δt that is connected to the clock input terminals of the first time delay means and the second time delay means. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a schematic view of a fixed length shift register or time delay element. Figures 2 and 3 are schematic views or prior art devices that provide variable length shift registers. Figure 4 is a schematic view of one embodiment of a variable length shift register according to the invention that provides maximum time delay 16Δt. Figure 5 is a schematic view of the embodiment of Figure 4 that provides a maximum time delay of 2 n2 Δt, where n₂ is a positive integer ≧ 2. Figure 6 is a schematic view of an embodiment of the invention that provides a maximum time delay of M(N+1)Δt, where M and N are positive integers. Figure 7 is a schematic view of an embodiment of the invention that provides time delays 0, Δt, 2Δt, ..., [(M+1) (N+1)-1]Δt, where M and N are positive integers. Figure 8 corresponds to Figure 6, with an additional two-state switch included adjacent to the input terminal. DETAILED DESCRIPTION Figure 4 illustrates one embodiment of the invention, wherein a shift register of variable length Δt, 2Δt, 3Δt..., 16Δt is provided using seven two-state switches that are not coordinated with one another, as would be required in the device shown in Figure 3. For example, if one desires a time delay of 11Δt, switch SW1 would be set in the "on" position, switches SW2 and SW3 would be set in the "off" position, switches SW′1, SW′2 and SW′4 would be set in the "off" position and switch SW′3 would be set in the "on" position to produce a total time delay of Δt + Δt + Δt + 4Δt + 4Δt = 11Δt as desired. In a more general approach using this embodiment, one would provide a first module having a linear array of 2 n 1 time delay units connected together, each of which introduces a time delay Δt; and one would provide 2 (n 2 -n 1 ) -1 additional modules, with each such module having a linear array of 2 n 1 time delay units connected together therein. The entire configuration would then provide variable length time delays Δt, 2Δt, 3Δt,..., 2 n 2 Δt, as illustrated in Figure 5. The configuration shown in Figure 5 requires 2 (n 2 -n 1 ) + 2 n 1 two-state switches and 2 n 2 time delay units to implement this shift register. For the particular configuration shown in Figure 4, n₂ = 4, n₁ = 2 and seven switches are required. In order to minimize the total number of switches needed, one would choose n₁ = n₂/2 or (n₂ ± 1)/2 according as n₂ is an even integer or an odd integer. In the embodiment shown generally in Figure 5 one has: (1) 2 n 1 first input position, each being separated by one time unit (Δt) of delay; and (2) 2 (n 2 -n 1 ) - 1 second input positions, each being separated by 2 n 1 units of time delay. The general embodiment shown in Figure 5 uses a linear array of 2 n 2 individual time delay units D, where n₂ is an integer greater than or equal to 2. A first module, comprises 2 n 1 time delay units D, numbered k₁ = 1,2,3,...,2 n 1 and arranged linearly so that the output terminal of unit k₁ is adjacent to the input terminal of delay unit k₁ + 1 for k₁ = 1, 2,..., 2 n 1 -1. A two-state switch SW k₁ connects the input terminal of delay unit k₁ + 1 to either the output terminal of delay unit k₁ (the "off" state) or to the input terminal of the apparatus (the "on" state) for k₁ = 1,2,..., 2 n 1 - 1. The input terminal of time delay unit k₁ = 1 is directly connected to the input terminal of the apparatus. The remaining time delay units in the apparatus are arranged in modules numbered r = 2, 3,..., 2 (n 2 -n 1 ) , each module having a linear array of 2 n 1 time delay units D, where the individual time delay units for module r are numbered k r = 1, 2,.., 2 n 1 for convenient reference. Within module r = 2, 3,..., 2 (n 2 -n 1 ) , the output terminal of time delay unit no. k r is connected to the input terminal of time delay unit no. k r + 1 for k r = 1, 2,..., 2 (n 2 -n 1 ) -1; and the output terminal of time delay unit no. k r = 2 n 1 of module r =2, 3,..., 2 (n 2 -n 1 ) -1 is connected to the input terminal of time delay unit no. k r+1 = 1 of module r + 1. The output terminal of time delay unit no. k r = 2 n 1 of module r = 2, 3,..., 2 (n 2 -n 1 ) is connected to the output terminal of the apparatus by a two-state switch SW′(r+1); a first state of the switch provides a direct connection of the input terminal of that time delay unit to the apparatus output terminal; and a second state of the switch breaks or disrupts this direct connection so that no signal can flow directly from the said input terminal to the apparatus output terminal. A switch SW′2 that is substantially identical to the other switches SW′ connects the input terminal of time delay unit k r = 1 in the second module (r = 2) to the output terminal of the apparatus. Finally, each time delay unit D receives a clock signal at its clock input terminal. The embodiment shown in Figure 5 can provide time delay of a signal entering the apparatus input terminal by amounts Δt, 2Δt, 3Δt,..., 2 n 2 Δt, if the cycle of the clock signal has length Δt. The total number of switches required, 2 (n 2 -n 1 ) + 2 n 1 , is minimized with the choice n₁ ≈ n₂. The embodiment shown generally in Figure 5 provides a variable length shift register with reduced requirements for the number of switches so that both chip size and cost are lowered correspondingly. Second, for any length Δt, 2Δt,..., 2 n 2 Δt, one or at most two switches are in the "on" position between the input terminal and the output terminal, one in module no. 1 and one in the collection of other modules. This produces a uniform time delay due to passage through the switch element itself. Third, the state of the shift register is easily determined and is predictable when the shift register length is changed from one value to another. Another general embodiment is shown in Figure 6 and comprises a linear arrangement of M individual time delay units D (numbered 1, 2, ..,M), each with associated time delay Δt, together with N-1 time delay modules D M (numbered 2, 3, ...,N), each with associated time delay MΔt. The individual time delay units D and time delay modules D M each have an input terminal, a clock input terminal and an output terminal. With reference to the individual time delay units D, a two-state switch SWk similar to the switches SW in Figure 5 connects the input terminal of delay unit k + 1 to either the input terminal of the apparatus (the "on" or first state) or to the output terminal of individual time delay unit k (the "off" or second state) for k = 1,2,...,M - 1. The input terminal of time delay unit (D) number k = 1 is directly connected to the input terminal of the apparatus. With reference to the time delay modules D M , the output terminal of module m = 2,3,...,N is connected to the output terminal of the apparatus by a two-state switch SW′m that provides a direct connection to the apparatus output terminal in one position (first state) and provides a broken or disrupted connection in a second state; a similar switch SW′1 connects the output terminal of individual time delay unit (D) number k = M to the apparatus output terminal. Individual time delay unit (D) number k = M is directly connected to the input terminal of time delay module (D M ) number m = 2, and the output terminal of time delay module m is directly connected to the input terminal of time delay module m + 1 for m = 2, 3, ..., N-1. The individual time delay units D and the time delay modules D M all receive a clock signal from a clock source CLK at their respective clock input terminals. The embodiments shown in Figures 5 and 6 may be realized more generally by a first module with first programmable switch means that produces a time delay of Δt, 2Δt, 3Δt,..., MΔt, connected to a second module with second programmable switch means that produces a time delay of 0, MΔt, 2MΔt, 3MΔt,..., (N-1)MΔt, where M and N are predetermined positive integers with N > 2 and precisely one switch in each of the first and second programmable switch means is in the "on" position for any choice of total time delay Δt, 2Δt, 3Δt,..., MNΔt. The embodiment shown in Figure 6 can introduce a delay of Δt, 2Δt, 3Δt,..., NMΔt by appropriate setting of the switches SW and SW′, if the cycle of the clock signal has length Δt. Again, the signal that enters the input terminal of the apparatus passes through one or at most two switches in the "on" or first state before this signal, now time delayed, passes through the output terminal of the apparatus. With the embodiment illustrated in Figure 6, the total number of switches M + N required is minimized for M = N. Figure 7 illustrates another embodiment of the invention, using M individual time delay units D that are connected together as in Figures 5 and 6 and using N time delay modules D M+1 , each with associated time delay (M+1)Δt, which are connected together as are the time delay modules D M in Figure 6. In Figure 7, the input terminal of the first time delay module D M+1 is associated with individual time delay unit D number M through a two-state switch SWM; where in a first state of the switch the input terminal of the apparatus is directly connected to the input terminal of the time delay module D M+1 number m = 2; and in a second state of this switch the output terminal of individual time delay unit M is directly connected to the input terminal of the time delay module D M+1 number m = 2. Using the configuration shown in Figure 7, a time delay of 0,Δt,2Δt,...,[(M+1)(N+1)-1]Δt is obtained by suitable programming of the switches. Again, the number of switches is minimized if M and N are chosen to be substantially equal. In order to assure that the output signal of the overall apparatus has passed through precisely two switches in the "on" position or first state in each of Figures 5, 6 and 7, another two-state switch might be inserted between the input terminal of the apparatus and the input terminal of the first of the individual time delay units D in those Figures. By way of example, Figure 8 illustrates the change in the embodiment of Figure 6 with this additional two-state switch SWO included between the input terminal of the apparatus and the input terminal of the first time delay unit D; in the second state, of the switch SWO, the connection between these two input terminals is disrupted or broken. Although the preferred embodiment of the invention has been shown and described herein, variation and modification may be made without departing from the scope of the invention.

Claims: Apparatus for providing variable length time delays of Δt, 2Δt, 3Δt,..., MNΔt, where Δt is a predetermined time interval and M and N are predetermined positive integers with N ≦ 2, the apparatus comprising: first time delay means, having an input terminal, a clock input terminal, an output terminal and a first plurality of programmable switch means, with each switch means having a first state and a second state, for producing a time delay of any of the lengths Δt, 2Δt, 3Δt..., MΔt by programming of the first plurality of programmable switch means, with the input terminal of the first time delay means receiving the signal that is to be delayed in time; and second time delay means, having an input terminal connected to the output terminal of the first time delay means, a clock input terminal, and output terminal and a second plurality of programmable switch means, with each switch means having a first state and a second state, for producing a time delay of any of the lengths 0, MΔt, 2MΔt,..., (N-1) MΔt at the output terminal of the second time delay means, where at most one programmable switch means from the first time delay means and precisely one programmable switch means from the second time delay means is programmed to be in a first state for any operation of the apparatus; and a source of periodic clock pulses having a clock cycle of length substantially Δt that is connected to the clock input terminal of each of the first time delay means and the second time delay means. Apparatus as claimed in Claim 1, characterised in that said first time delay means comprises M time delay units, with each unit providing a time delay of substantially Δt and having an input terminal, a clock input terminal and an output terminal, with the input terminal thereof receiving and storing an input signal within the time delay unit when the clock input terminal receives a first clock input signal, and with the output terminal of the time delay unit issuing an output signal that is the input signal stored therein when the clock input terminal receives a second clock input signal, with the time delay units of module 1 being consecutively numbered k₁ = 1,2,...,M; and a first plurality of M-1 two-state switches, numbered consecutively j = 1, 2,..., M-1 where time delay unit number K₁ -1 (k₁ = 2, 3,..., M) of the first module is associated with time delay unit number k₁ through switch number j = k₁ - 1, with the first switch state being a direct electrical connection of the input terminal of time delay unit k₁ to the input terminal of the apparatus, and with the second switch state being a direct electrical connection of the output terminal of time delay unit number k₁ -1 to the input terminal of time delay unit number k₁, where the input terminal of the apparatus is directly connected to the input terminal of the first time delay unit number k₁ = 1;, and in that said second time delay means comprises N-1 time delay modules, with each module providing a time delay MΔt and having an input terminal, a clock input terminal and an output terminal, with these modules being numbered consecutively m = 2,...,N, with the output terminal of module m being directly connected to the input terminal of module m + 1, for m = 2,...,N-1, and with the input terminal of module m = 2 being connected to the output terminal of time delay unit number k₁ = M of the first module; and a second plurality of N two-state switches numbered consecutively n = 1,2,3,...,N, where switch number n (n ≧ 2) is connected between the output terminal of module n and the output terminal of the apparatus for n = 2,3,...,N and switch number n = 1 is connected between the output terminal of the time delay unit number k₁ = M of the first module and the output terminal of the apparatus, where a first state of a two-state switch directly connects an output terminal of a module to the output terminal of the apparatus and where, in a second state of the two-state switch, this direct connection is broken or disrupted. Apparatus for providing variable length time delays of 0, Δt, 2Δt, 3Δt,..., [(N+1)(M+1)-1]Δt where Δt is a predetermined time interval and M and N are predetermined positive integers, the apparatus comprising: a first time delay means having an input terminal, a clock input terminal, an output terminal and a first plurality of programmable switch means, for producing a time delay of any of the lengths 0, Δt, 2Δt,..., MΔt by programming of the first plurality of programmable switch means, where each programmable switch means has a first state and a second state and where the signal that is to be time delayed is received at the input terminal; a second time delay means having an input terminal connected to the output terminal of the first time delay means, a clock input terminal, an output terminal and a second plurality of programmable switch means, for producing time delays of any of the lengths (M+1)Δt, 2(M+1)Δt,..., N(M+1)Δt by programming of the second plurality of programmable switch means, with each programmable switch means having a first state and a second state, where the input terminal of the second time delay means is connected to the output terminal of the first time delay means, where the signal that is to be time delayed issues from the output terminal of the second time delay means, and where at most one programmable switch means from the first plurality and precisely one programmable switch means from the second plurality is programmed to be in the first state for any operation of the apparatus; and a source of periodic clock pulses having a clock cycle of length substantially of Δt that is connected to the clock input terminals of the first time delay means and the second time delay means. Apparatus as claimed in Claim 3, characterised in that said first time delay means comprises M time delay units, each unit providing a time delay of substantially M Δt and having an input terminal, a clock input terminal and an output terminal, with the input terminal thereof receiving and storing an input signal within the time delay unit when the clock input terminal receives a first clock input signal and with the output terminal of the time delay unit issuing an output signal that is the input signal stored therein when the clock input terminal receives a second clock input signal, with the time delay units of module 1 being numbered consecutively k₁ = 1,2,...,M; and a first plurality of M two-state switches, numbered consecutively j = 1, 2,...,M, where time delay unit number k₁ - 1 of the first module is associated with time delay unit number k₁ through switch number j = k₁-1 (k₁ = 2, 3,...,M), with the first switch state being a direct electrical connection of the input terminal of time delay unit k₁ to the input terminal of the apparatus, and with the second switch state being a direct electrical connection of the output terminal of time delay unit k₁ - 1 to the input terminal of time delay unit k₁, where the input terminal of the apparatus is directly connected to the input terminal of the first time delay unit number k₁ = 1; and in that said second time delay means comprises N time delay modules, with each module providing a time delay (M+1)Δt and having an input terminal, a clock input terminal and an output terminal, these modules being numbered consecutively m = 2,3,...,N,N+1, with the output terminal of module m being directly connected to the input terminal of module m + 1 for m = 2,3,...,N-1,N, where the input terminal of module m = 2 is associated with the output terminal of time delay unit number k₁ = M of the first module by switch number j=M from the first plurality of switches, with a first state of this switch being a direct connection of the input terminal of the second module to the input terminal of the apparatus and a second state of this switch being a direct electrical connection of the input terminal of the second module to the output terminal of time delay unit number k1 = M of the first module; and a second plurality of N + 1 two-state switches, numbered consecutively n = 1,2,3,...,N+1, where switch number n is connected between the output terminal of module n and the output terminal of the apparatus for n = 2,3,...,N+1 and switch n = 1 is connected between the output terminal of time delay unit k₁ = M of the first module and the output terminal of the apparatus, where the first state of a two-state switch directly connects an output terminal of a module to the output terminal of the apparatus and where, in a second state of the two-state switch, this direct connection is broken or disrupted. Apparatus as claimed in any preceding claim, characterised in that said integer M is substantially equal to said integer N.

Inventors: KUBINEC JAMES J, KUBINEC, JAMES J.
Applicants: ADVANCED MICRO DEVICES INC, ADVANCED MICRO DEVICES, INC.
Application year: 1989
Main classification: G11C19
IPC codes: G06F1, H03K5, G11C19, H03H17