Clock state independent retention master-slave flip-flop
AssigneeArm Limited
InventorSumana Pal
Life of this patent
Estimating the term…
Abstract
A master-slave flip-flop circuit is provided with a retention capability to support operation in both a normal mode and a retention mode. During the retention mode the retention circuitry drives the output signal via either a first path 16 or a second path 22, 24, 4, 10 in dependence upon the phase of the clock signal. During both phases of the clock signal the output signal is driven in a well defined state to reflect the signal stored within the retention circuitry. There is thus provided a clock independent retention master-slave flip-flop circuit. Both high density and high speed variants of the flip-flop circuit may use the technique.
Claims17
A master-slave flip-flop circuit for receiving an input signal and for generating an output signal, said master-slave flip-flop circuit being controlled by a clock signal having a first phase and a second phase, having a normal mode of operation and a retention mode of operation and comprising:
- a master stage configured to receive during said normal mode said input signal during said first phase of said clock signal and to store at a master node during said second phase of said clock signal a master signal with a value dependent upon said input signal;
- control circuitry coupled to said master node and to a slave node and configured to isolate said slave node from said master node during said first phase of said clock signal and to drive said slave node during said second phase of said clock signal to have a slave signal with a value dependent upon said master signal, said output signal having a value dependent upon said slave signal;
- a slave stage configured to receive during said normal mode said slave signal during said second phase of said clock signal and to store said slave signal at said slave node during said first phase of said clock signal;
- and
- retention circuitry coupled to said slave stage and configured to maintain said output signal during said retention mode, wherein
- said retention circuitry is configured such that:
- (i) during said retention mode and said first phase of said clock signal, said retention circuitry drives said slave node so as to maintain said output signal via a first path;
- and
- (ii) during said retention mode and said second phase of said clock signal, said retention circuitry drives said slave node so as to maintain said output signal via a second path passing through said master node and said control circuitry that drives said slave node during said normal mode, said second path being different from said first path.
A master-slave flip-flop circuit for receiving an input signal and for generating an output signal, said master-slave flip-flop circuit being controlled by a clock signal having a first phase and a second phase, having a normal mode of operation and a retention mode of operation and comprising:
- master stage means for receiving during said normal mode said input signal during said first phase of said clock signal and for storing at a master node during said second phase of said clock signal a master signal with a value dependent upon said input signal;
- control means coupled to said master node and to a slave node for isolating said slave node from said master node during said first phase of said clock signal and for driving said slave node during said second phase of said clock signal to have a slave signal with a value dependent upon said master signal, said output signal having a value dependent upon said slave signal;
- slave stage means for receiving during said normal mode said slave signal during said second phase of said clock signal and for storing said slave signal at said slave node during said first phase of said clock signal;
- and
- retention means coupled to said slave stage means for maintaining said output signal during said retention mode, wherein
- said retention means is configured such that:
- (i) during said retention mode and said first phase of said clock signal, said retention circuitry drives said slave node so as to maintain said output signal via a first path;
- and
- (ii) during said retention mode and said second phase of said clock signal, said retention circuitry drives said slave node so as to maintain said output signal via a second path passing through said master node and said control means that drives said slave node during said normal mode, said second path being different from said first path.
A method of operating a master-slave flip-flop circuit for receiving an input signal and for generating an output signal, said master-slave flip-flop circuit being controlled by a clock signal having a first phase and a second phase, having a normal mode of operation and a retention mode of operation, said method comprising the steps of:
- receiving at a master stage during said normal mode said input signal during said first phase of said clock signal and storing at a master node during said second phase of said clock signal a master signal with a value dependent upon said input signal;
- with control circuitry isolating a slave node from said master node during said first phase of said clock signal and driving said slave node during said second phase of said clock signal to have a slave signal with a value dependent upon said master signal, said output signal having a value dependent upon said slave signal;
- receiving at a slave stage during said normal mode said slave signal during said second phase of said clock signal and storing said slave signal at said slave node during said first phase of said clock signal;
- and
- maintaining said output signal during said retention mode by:
- (i) during said retention mode and said first phase of said clock signal, driving said slave node so as to maintain said output signal via a first path;
- and
- (ii) during said retention mode and said second phase of said clock signal, driving said slave node so as to maintain said output signal via a second path passing through said master node and said control circuitry that drives said slave node during said normal mode, said second path being different from said first path.
Dependencies are inferred from the claim text.