






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The solutions to the midterm exam of ece 2030 - section c, held on march 7th, 2008. Various topics such as priority encoders, rom design, pla implementation, number systems conversion, and arithmetic operations. Students can use this document as a reference to check their understanding of these concepts.
Typology: Exams
1 / 10
This page cannot be seen from the preview
Don't miss anything!







th
Priority Encoder
4:1 Mux 1: DeMux
S1 S0 S1^ S
Clock^ Priority Encoder Specification Cycle
0 or 1?: ___
0 or 1?: 0_
Note that further expression simplification is possible with a different answer.
(10011.10001) 2 ___________13.88___________ (^16)
(124) 8 __________84____________ (^10)
(14.78125) 10 ___0x416C8000____IEEE Single Precision FP notation (Hexadecimal)
b. What is the smallest (in magnitude) number that can be represented in single precision IEE 754 floating point format? What happens if this number is multiplied by itself?
2-149 (denormalized).
If multiplied by itself it will result in underflow – the number will be too small to be represented with the single precision format.
b. Perform the addition of the following unsigned numbers and identify those operations for which overflow occurs assuming the number of bits available are the number of bits in the operands.
111011 010011
011100 0001000
Overflow? ____yes______ _____yes____
Overflow? No No
S2 S1 S0 Funtion 0 0 0 Keep Value 0 0 1 Shift Right 0 1 0 Shift Left 0 1 1 Rotate Right 1 0 0 Rotate Left 1 0 1 Load Value 1 1 0 Not Used 1 1 1 Not Used
Flip Flop