Sequential Logic Flashcards

1
Q

How is instruction execution coordinated?

A

A sequence of micro steps coordinated by a clock.

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

How do we coordinate input across a shared bus?

A

All the different components can read from the same bus

they just need to be made active by a signal line from the control unit (CU)

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

What does the input received in a component generally go through?

A

A buffer

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

What does a buffer do

A

It outputs the same input but it is used for making the signal stronger, ie if one component trying to output to many other components it would give a weak signal

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

What does a tristate buffer do?

A

Can set the output voltage to either high or low, allows multiple device to share the bus as only on of the outputs is enabled to set the voltages.

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

What controls, what components read and what component outputs?

A

The Control Uni (CU)

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

What is the scratchpad?

A

Scratchpad consists of 16 locations storing 4 bit values, the 16 locations require 4 bit addresses to address them from 0000 to 1111

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

How do we store 1 bit using logic circuits?

A

Take two back to back inverters. Circuit only has two possible states(known as a bistable element) This circuit forms static memory because it is stable

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

How do we add write capability to the memory unit?

A

replace an inverter with a NOR gate connecting NOT Q and R. R stands for reset, when R is set to 1 Q is set to 0, effectively resetting its value, NOT Q is then set to 1 so even when R is set back to 0 the NOR gate will still output a 0 for Q

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

How does and RS latch work?

A

An RS latch consists of two NOR gates connected to R and NOT Q and Q and S. When S is set to 1 NOT Q is set to 0 which then sets Q to 1, When R is set to 1 Q is set to 0. R resets the value, S sets the value, the latch refers to the memory being retained after S or R reverts back to 0.

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

How many stable states are there in a RS latch and what is an unstable state?

A

4, an unstable state is when R and S is set to 1 resulting in Q and NOT Q being 0

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

What is a D latch also known as>

A

A transparent latch

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

How does a D latch work?

A

Stores 1 bit value of D when the clock is high, latch is transparent to D value when the clock is high, also eliminates the R=S=1 problem.

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

Draw a D Latch logic circuit?

A

DRAW

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

What is a D flip flop?

A

Stores 1 bit of data which is set only on the clocks rising edge.
Consists of “master” and “slave” D latches where the data value only gets through on the rising clock edge.

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

What is used to indicate that the D value is only passed on the rising edge?

A

A little downward facing triangle on the top

17
Q

What is an enabled Flip Flop?

A

a 2 input multiplexer can be used to only select the D input when the flip flop is enabled high. If it is low the current value of D is just passed back into the flip flop.

18
Q

What does EN indicate on the diagram?

A

That the flip flop needs to be enabled for the D value to be updated

19
Q

What does a 4 bit register look like using D flip flop’s, what about 4 1 bit memory?

A

Each d flip flop has an individual data line, and has one negated write connected to a generated enabled across all of the flip flops.
One data line and 4 individual write lines are connected to each flip flop

20
Q

How is output enabled from a memory block?

A

A tristate buffer(with active low) puts the output of one 2 bit store onto bus.

21
Q

How are the output signals from the CPU translated into read and write controls fro different blocks?

A

Read control activates the read lines, the write control activates the write lines. 1 bit address decoding logic for accessing the two 2 bit memory.

22
Q

Describe how a memory cell can be addressed?

A

In rows and columns(using active low signals) NOT row NOT column NOT w needed to pass 0 into NOT enabled to write, same for read.

23
Q

Construct a scratchpad from memory blocks

A

Use 4 16X1 memories in parallel to provide 16X4 memory. Each memory is connected to a different data bus line. All read write and address are connected across same lines, only data value is different.