4.6.4.1 Logic gates Flashcards

1
Q

What is a flip-flop?

A

A design that can be used to store a single bit of information, either a one or a zero. You can flip over this stored information (from 1 to 0 or from 0 to 1) by applying an input signal and flip back again by applying another input signal
Flip-flop will store the state of its input / / Flip-flop acts as memory. Clock signal / / trigger / / signal to indicate when the value (of the input) should be stored / read

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the clock?

A

A never-ending series of digital pulses

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a d-type flip-flop?

A

The D type flip-flop has 2 inputs and 2 outputs. The first input is the data signal, which we use when we want to change the output Q. The second input is the signal from a clock.
The first thing to know is that the output Q always takes on whatever state the Data signal D is in, but only when the clock is on a rising edge. So if the input data signal is a 0 and the clock is on a rising edge, then Q is 0. If the input data signal is a 1 and the clock is on a rising edge, then Q is 1. This is where the flip-flop gets its name from; the output Q takes its value from the input D and then it delays it for one clock cycle, until the next rising edge.
A memory unit that changes state with each pulse of the clock

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a half adder?

A

a type of adder, an electronic circuit that performs the addition of numbers. The half adder is able to add two single binary digits and provide the output plus a carry value. It has two inputs, called A and B, and two outputs S (sum) and C (carry).
(A XOR B) = S
(A AND B) = C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a full adder?

A

Adds three one-bit binary numbers, two operands and a carry bit. The adder outputs two numbers, a sum and a carry bit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly