4+5 Flashcards

1
Q

What does a not gate look like? What about an AND, NAND, OR, NOR and XOR??

A

not: triangle with circle at pointy end, one input one output.
AND: multiple inputs into one semicircular object, one output.
NAND: AND with circle at start of output.
OR:More curved input and more pointy output than AND
NOR: Same as OR but with circle at output.
XOR: Like OR but with line before input entry.

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

What is a combinatorial logic circuit?

A

One whose outputs are only dependent on the inputs.

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

How can we define a combinatorial circuit?

A
Truth table(for each of the 2^n possible combinations of input show binary value of output).
Boolean equations
Graphical signals(interconnection of gates).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a 1 bit half adder? How can we make one?

A

Gives the result of adding 2 binary digits together. Connect input A and B to a XOR gate and an AND gate. AND gate does carry(2nd bit), XOR gate does sum.

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

How does a full adder work?

A

Adds together three 1 digit binary numbers, A and B got into a XOR and AND. The XOR goes into a XOR(which outputs the lowest value digit) and AND with C. Then both ANDs go into an OR gate which does the second binary output digit(carry).

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

What are the boolean operators and their precedence?

A
  • (NOT) 1
    • (AND) 2
    + (OR) 3
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is De Morgan’s theorem?

A

The inverse of the result of A OR B is = to the inverse of A AND the inverse of B.
The inverse of the result of A AND B is = to the inverse of A OR the inverse of B

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

What is a transistor?

A

An electronic switch, it has a base a collector and an emitter. If 0V is applied to B the switch will be open, if +5V is applied to B the switch is closed. If the switch is closed then the signal can travel from the collecter to the emitter, else it cannot.

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

How can we make a NAND gate with transistors?

A

A power supply supplies a simple circuit with Q being the important part. Two NAND gates allow this path to Q to be short circuited if both are closed.

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

How can we make an electronic switch?

A

output = A if and only if C = 1. So just do an and gate with C and A as inputs.

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

What is a multiplexer? How about a demultiplexer?

A

A multiplexer is a digital switch which allows select lines to select which of the inputs gets passed through. The demultiplexer does thjis in reverse, choosing which output to send the signal too based on the select lines.

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

What is a sequential logic circuit? What are the two types?

A

Output depends on history as well as present inputs.
These can be synchronous:
input changes between clock pulses, state changes at clock pulses
Or asynchronous: State changes occur as changes in inputs occur.

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

What is a Set-Reset latch?

A

Tie the output of the circuit to one of its input, this allows the circuit to save state. This can be done by combining two NOR gates, one input for each comes from the other ones output. We can then set the latch by setting one of them to 1, or reset the latch by setting the other one to 1.

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

What is an SR- Flip-Flop? What is a D-type flipflop?

A

We can make a set reset latch which can be turned on and off as we want by adding an enable line which is connected to the set and reset lines seperately with AND gates.
A D-type flipflop is the same but with only one line of input, as S is the inverse of R.

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

How can we use a Data flip flop to store data?

A

Set or reset D, toggle enable line, storing D, toggle enable line again. Now D can vary without changing stored value.

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

What is special about the JK flip-flop?

A

Functions like a T-flip-flop(SET-RESET) if J = K or D flip flop if not.

17
Q

What is an asynchronous ripple counter? What is a problem?

A

A 1-bit counter switches between 0 and 1 each cycle. This essentially divides clock time by 2. A two-bit counter toggles the low bit every full clock cycle and the high bit at half the clock cycle rate. It is made using a JK flip-flop.
The propagation delay is inconsistent, varying based on how many transistors the signal passes through.

18
Q

What is a synchronous counter?

A

Flip-flops clock at same time by adding logic to next state based on previous state.

19
Q

How can we detect a given input sequence?

A

Use states represented by flip flops, connecting them logically to allow for state transitions.

20
Q

What is a tristate buffer?

A

Creates a physical connection or physical disconnection between input and output wires. The output will be the input or a special state called high impedence.