ECE 2020 Exam 2

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/46

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 9:45 PM on 3/17/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

47 Terms

1
New cards

One’s complement

Flip each bit into a binary number, results in redundant numbers for zero

2
New cards

Two’s complement

  1. Flip the sign of each bit

  2. Add +1

  3. Ignore overflow

3
New cards

Range of numbers for unsigned

0 to 2N-1

4
New cards

Range of numbers for signed

-2N-1 to 2N-1-1

5
New cards

Overflow

A number can’t be represented by the available number of bits, or for signed, there is a mismatch in the arithmetic between signs

6
New cards

Combinational logic

Outputs are determined by the input combination

7
New cards

Half adder

S = A XOR B

C = AB

<p>S = A XOR B</p><p>C = AB</p>
8
New cards

Full adder

S = Cin XOR A XOR B
Cout = AB + Cin(A XOR B)

<p>S = Cin XOR A XOR B<br>Cout = AB + Cin(A XOR B)</p>
9
New cards

Ripple adder

Multiple full adders in series, carry-out of each full adder is connected to the carry-in of the next

10
New cards

Cascading carry lookahead adder

Faster than ripple adder

11
New cards

Decoder

n to m line, where m = 2n, all outputs are low except one corresponding to the binary value of the inputs

12
New cards

Enable

Turn on outputs or leaves them off

13
New cards

Any boolean functions can be implemented using a

Decoder and OR gates by ORing together the function’s minterms

14
New cards

Encoder

m to n line encoder, m = 2n

15
New cards

Priority encoder

Takes the input of 1 with the highest index and translates directly to the output

16
New cards

Multiplexer

Selects betwen one of N inputs to connect to output with selector bits

17
New cards

Transmission gates

Allows signals to pass in both directions or blocks them when inactive

<p>Allows signals to pass in both directions or blocks them when inactive </p>
18
New cards

How can you implement a mux?

WIth pass gates

19
New cards

Demultiplexer

Takes one input and selects one of many outputs to direct the input

20
New cards

Comparator

Indicates whether A is equal, greater, or less than B

21
New cards

Zero extend

Adds m-n additional zero bits, does not change value of unsigned integers

22
New cards

Sign extend

Adds m-n additional bits equal to the most significant bit of hte input, does not change value of 2’s complement integers

23
New cards

Shifting left is equivalent to…

Multiplying by 2

24
New cards

Shifting right is equivalent to….

Dividing by 2

25
New cards

A transmission gate can be used to…

Set the state

26
New cards

SR latch

Utilize NORs, R on top.

<p>Utilize NORs, R on top. </p>
27
New cards

S’R’ latch

Utilize NANDs, S’ on top

<p>Utilize NANDs, S’ on top</p>
28
New cards

How to add an enable line to SR latch?

With NOR gates: use two AND gates prior

With NAND gates: use two NAND gates prior

29
New cards

D latch

Same as S’R’ latch essentially, but only driven by D (needs additional inverter) and two additional NAND gates

<p>Same as S’R’ latch essentially, but only driven by D (needs additional inverter) and two additional NAND gates</p>
30
New cards

Transparent/level-sensitive

Output follows the input

31
New cards

Leader and follower

Separates input from the output, leader accepts input while follower gives output

32
New cards

Flip-flop

Edge triggered, single bit storage

33
New cards

Register

A device that stores a value, updated on each clock cycle

A flip-flop is a 1 bit register, can form multiple bit register by grouping flip flops together

34
New cards

Mealy machine

FSM where output depends on current input AND state

35
New cards

Moore machine

Output depends only on current state

36
New cards

How to create an FSM with hardware?

  1. State transition table with present state, input, next state, and output

  2. Turn into a K-map

  3. Express a boolean function

  4. Make gates

37
New cards

Shift register

Takes stored bits and moves them up a significnt bit or down a significant bit

38
New cards

What does a logical shift register look like?

knowt flashcard image
39
New cards

What does arithmetic shift look like?

(the most significant bit is fed into the next flip flop (what the state currently is), in comparison to the logical shift where the MSB is automatically assigned 0

<p>(the most significant bit is fed into the next flip flop (what the state currently is), in comparison to the logical shift where the MSB is automatically assigned 0 </p>
40
New cards

How to chain together shift registers together?

Each shift register handles half of the inputs and outputs

Control inputs —> select the operating mode (hold, shift left, shift right, or parallel load)

X_l = shift left serial input, connects to Z0

X_r = shift right serial input, connects to Z4

<p>Each shift register handles half of the inputs and outputs</p><p>Control inputs —&gt; select the operating mode (hold, shift left, shift right, or parallel load)</p><p>X_l = shift left serial input, connects to Z0</p><p>X_r = shift right serial input, connects to Z4</p>
41
New cards

What does a rotate register look like?

X_l = shift left, connects to Z3

X_r = shift right, connects to Z0

(OPPOSITE OF TYPICAL SHIFT REGISTER)

<p>X_l = shift left, connects to Z3</p><p>X_r = shift right, connects to Z0</p><p>(OPPOSITE OF TYPICAL SHIFT REGISTER)</p>
42
New cards

Counter

Incrememts an n-length binary number each clock cycle

43
New cards

Ripple counter

Connects the output to the clock.

44
New cards

Modulo-p counter

S(t+1) = (S(t) + x) % p

<p>S(t+1) = (S(t) + x) % p</p>
45
New cards

How many states can a counter represent

2N states

46
New cards

When a counter reaches its last state, what does it do?

Wraps back to 0 and repeats

47
New cards

What does a terminal count output do?

Enables resetting at a specific time, enables chaining of counters together. TC of the first counter will connect to enable of the subsequent one

<p>Enables resetting at a specific time, enables chaining of counters together. TC of the first counter will connect to enable of the subsequent one</p>

Explore top notes

note
LEOPOLD’S MANUEVER
Updated 507d ago
0.0(0)
note
WHAP Unit 0, 4, 5
Updated 213d ago
0.0(0)
note
Endocrine System
Updated 1157d ago
0.0(0)
note
Animal Studies of Attachment
Updated 537d ago
0.0(0)
note
Chapter 9: Language and Thinking
Updated 1326d ago
0.0(0)
note
Ch 3 - Foundations of Planning
Updated 1078d ago
0.0(0)
note
Patterns and Change Notes
Updated 92d ago
0.0(0)
note
5.1: The Progressive Movement
Updated 1258d ago
0.0(0)
note
LEOPOLD’S MANUEVER
Updated 507d ago
0.0(0)
note
WHAP Unit 0, 4, 5
Updated 213d ago
0.0(0)
note
Endocrine System
Updated 1157d ago
0.0(0)
note
Animal Studies of Attachment
Updated 537d ago
0.0(0)
note
Chapter 9: Language and Thinking
Updated 1326d ago
0.0(0)
note
Ch 3 - Foundations of Planning
Updated 1078d ago
0.0(0)
note
Patterns and Change Notes
Updated 92d ago
0.0(0)
note
5.1: The Progressive Movement
Updated 1258d ago
0.0(0)

Explore top flashcards

flashcards
vocab semester 1 final
140
Updated 1021d ago
0.0(0)
flashcards
physics sound and waves
65
Updated 1182d ago
0.0(0)
flashcards
S2 Final - World History Keller
104
Updated 1013d ago
0.0(0)
flashcards
Unit 4: Chemical Reactions
20
Updated 98d ago
0.0(0)
flashcards
Exam 2- Gen bio
114
Updated 1200d ago
0.0(0)
flashcards
Unit 5 World History Study Guide
27
Updated 1202d ago
0.0(0)
flashcards
vocab semester 1 final
140
Updated 1021d ago
0.0(0)
flashcards
physics sound and waves
65
Updated 1182d ago
0.0(0)
flashcards
S2 Final - World History Keller
104
Updated 1013d ago
0.0(0)
flashcards
Unit 4: Chemical Reactions
20
Updated 98d ago
0.0(0)
flashcards
Exam 2- Gen bio
114
Updated 1200d ago
0.0(0)
flashcards
Unit 5 World History Study Guide
27
Updated 1202d ago
0.0(0)