107 Flashcards

1
Q

What is sequential logic?

A

This is a logic circuit which depends on both the current input and previous values of input

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

What is combinational logic?

A

This is a logic circuit which depends on only the current inputs

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

What is a clock siganl

A

It is a square wave electrical signal with a frequency called the clock frequency

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

When does a circuit with a clock cycle update?

A

On a clock edge

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

What are the two clock edges?

A

> Rising edge / Positive edge

> Falling edge / Negative edge

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

What type of circuit does not use a clock signal?

A

This is an asynchronous circuit

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

How is a positive clock represented on a logic element?

A

A triangle into the circuit element.

Looks like: =>

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

How is a negative clock represented on a logic element?

A

A triangle with a dot into the circuit element.

Looks like: =°>

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

What is a d-latch? (4)

A

> This is a fundamental sequential logic circuit component
It is bistable
When the enable gate is powered the output will take the value of the input
When the enable gate is not powered the output will hold its value

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

What is an Astable Multivibrator?

A

A component that oscillates between two values

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

What is a monostable multivibrator?

A

> A component that can be put into a state but has a single stable state and will return to that stable state after a while of being in a different state
Also called a one-shot

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

What is a D-Flip-Flop? (3)

A

> A data/delay flip flop
The output is delayed by a lock cycle compared to the change of input
Constructed from D-Latches

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

What are the inputs and outputs?

A
Inputs
> D - Data
> E - Enable
Outputs
> Q - Stored Value
> NotQ - Inverted stored value
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the truth table for a D-latch?

A
E D Q   Qnot
0 0 NC NC
0 1  NC NC
1 0  0    1
1 1   1     0

NC - No change

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

What is the circuit for a dlatch?

A
> 4 NAND logic gates (A topleft, B topright ,C bottomleft, D bottomright)
> Data goes into A
> Enable goes into C and A
> Output of A goes into C
> Output of A goes into B
> Output of C goes into D
> Output of B goes into D
> Output of D goes into B
> Output of B is Q
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How is a D-flop-flop constructed form D-Latches?

A

> Data goes into the first master d-Latch and the output goes into the second slave d-latch.
The enable pin is connected into the second d-latch and is inverted with a not gate and goes into the fist d-latch

17
Q

What is the sequential process of a D-Flip-Flop?

A

> When the clock is low, the master FF is transparent and passes D to Q but the slave is locked
The value of D is stored in the master but it cannot propagate to the output Q because the slave is locked
When the clock goes high, the master locks and the slave unlocks and becomes transparent
The value of in the master Q is passed onto the output Q

18
Q

How can multiple bits be stored?

A

By grouping D-Flip-Flops

19
Q

What is a register and what is its property?

A

> Temporary high speed memory

> Fast read and write speeds

20
Q

Why is the size of a register often small?

A

Because it is expensive

21
Q

Where is the register found?

A

Inside the CPU

22
Q

What are the two different methods to writing to a register and what does each type mean?

A

Serial - Writing a single bit at a time

Parallel - Writing all the bits in one go

23
Q

What is Parallel-in/Parallel-out?

A

> All the FF’s are in parrallel
Each FF shares the same clock signal and keeps the operations synchronous
Each bit from a data bus is fed into an individual FF
All data is written in a single clock cycle

24
Q

What is Serial-in/Serial-out?

A

> FF are put in series with each other
As the clock changes, bits are shifted along to the next flip flop. This takes time as one bit is loaded per clock cycle.

25
Q

What is a shift register?

A

These shift data to the left or right

26
Q

Where are shift registers used?

A

> UARTS

> UARTS are Universal Asynchronous receiver transmitter

27
Q

What happens when you shift a binary number to the left or to the right?

A

> Left - Multiplies by 2

> Right - Divides by 2

28
Q

How does a shift register function?

A

> Values are loaded in parallel

> Values are shifted serially

29
Q

What is it called when values are loaded in parallel and shifted serially?

A

Parallel to serial conversion

30
Q

How can a parallel and shift multipurpose register be controlled?

A

With an additional control bit to decide the shift of parallel function. This controls a multiplexer.