ect114

1520 words 7 pages
RAW: _______ /63 pts
1. Explain the operation of an encoder. (1 point)
Encoding is used to generate a coded output (such as BCD or binary) from a singular active numeric input line.
2. What does it mean when an encoder is a priority encoder? (1 point)
A priority encoder is when two or more inputs are active simultaneously, and the input with the highest priority is represented on the output, with input line I7 having the highest priority.
3. Describe one practical application that uses encoder. (1 point)
An encoder is used in most wireless devices such as garage door openers to help filter out interference from other devices.
4. Explain the operation of a decoder. (1 point)
Decoding is the process of converting some code (Such
…show more content…
Download and unzip the Quartus programming file entitled “decoder” to the folder c:\ect114\week4 on your computer. The file is located in the “Doc Sharing (Week 4 Lab Files)” directory in eCollege. Note: You will not be able to recompile this project as you are only given the programming (.sof) file.
(STILL ASSUMING THESE ARE JUST INSTRUCTIONS.)
The pins are pre-assigned according to the following tables.

Output Pin Assignment
Red LED #:
7
6
5
4
3
2
1
0
FPGA Pin:
55
56
57
63
64
65
68
69
Your Label:
Y7N
Y6N
Y5N
Y4N
Y3N
Y2N
Y1N
Y0N

Input Pin Assignment
Switch #:
7
6
5
4
3
2
1
0
FPGA Pin:
82
83
84
85
86
87
88
99
Your Label:
G1
G2AN
G2BN

C
B
A

15. Program the faulty 74138 decoder into the FPGA on your eSOC board. As you control the decoder inputs with switches, complete the following function table. If the LED is on, that corresponds to logic high. Off corresponds to a logic low. (10 points)
INPUTS
OUTPUTS
G1
G2AN
G2BN
C
B
A
Y0N
Y1N
Y2N
Y3N
Y4N
Y5N
Y6N
Y7N
X
H
X
X
X
X
H
H
H
H
H
H
H
H
X
X
H
X
X
X
H
H
H
H
H
H
H
H
L
X
X
X
X
X
H
H
H
H
H
H
H
H
H
L
L
L
L
L
L
H
H
H
H
H
H
H
H
L
L
L
L
H
H
L
H
H
H
H
H
H
H
L
L
L

Related