Hello everyone,
I am new to this forum and I have a question regarding the hardware of a computer.
I am reading this book : **broken link removed**
It's composed of projects that show you how to build a modern computer using Nands.
Now, I'm in the chapter about sequential chips particularly flip flops and registers;
Here is a section of the book :
"In this book we use a variant
called a data flip-flop, or DFF, whose interface consists of a single-bit data input
and a single-bit data output. In addition, the DFF has a clock input that continuously changes according to the master clock’s signal. Taken together, the data
and the clock inputs enable the DFF to implement the time-based behavior out(t) = in(t-1), where in and out are the gate’s input and output values and t is the current
clock cycle. In other words, the DFF simply outputs the input value from the previous time unit"
I didn't really understand what the inputs and the outputs of this chip are: is t the current time or the current cycle? what about the data input how is it used?
And for the register the book states:
"A register is a storage device that can ‘‘store,’’ or ‘‘remember,’’ a value
over time, implementing the classical storage behavior out(t) = out(t -1)"
When would it stop, to me it look like an infinite loop, the output is the previous output, but the previous output is the previous previous output?
Thanks and hope to hear from you soon!
I am new to this forum and I have a question regarding the hardware of a computer.
I am reading this book : **broken link removed**
It's composed of projects that show you how to build a modern computer using Nands.
Now, I'm in the chapter about sequential chips particularly flip flops and registers;
Here is a section of the book :
"In this book we use a variant
called a data flip-flop, or DFF, whose interface consists of a single-bit data input
and a single-bit data output. In addition, the DFF has a clock input that continuously changes according to the master clock’s signal. Taken together, the data
and the clock inputs enable the DFF to implement the time-based behavior out(t) = in(t-1), where in and out are the gate’s input and output values and t is the current
clock cycle. In other words, the DFF simply outputs the input value from the previous time unit"
I didn't really understand what the inputs and the outputs of this chip are: is t the current time or the current cycle? what about the data input how is it used?
And for the register the book states:
"A register is a storage device that can ‘‘store,’’ or ‘‘remember,’’ a value
over time, implementing the classical storage behavior out(t) = out(t -1)"
When would it stop, to me it look like an infinite loop, the output is the previous output, but the previous output is the previous previous output?
Thanks and hope to hear from you soon!