midterm.s04

# midterm.s04 - 1(1pts What is the Hamming distance between...

This preview shows pages 1–4. Sign up to view the full content.

1. (1pts) What is the Hamming distance between these twobit patterns: 0001 and 0101? 2. (3pts) Write the equation for the carry out of the 4th adder cell in an ALU using carry- lookahead, in terms of P’sand G’s. 3. (3pts) What is the difference between the Mealy and Moore models of sequential design? 4. (3pts) What is the difference between a Flip-Flop and a latch? 5. (5pts) In the ALU you designed in the homework, howdid you differentiate between an operation being an "add" and an operation being a "subtract"? In other words, what bit/bits were set/cleared in order to indicate that the values were to be added instead of subtracted? Whydid this work so well? -1-

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
6. (10 pts) Assuming a rising edge-triggered DFF ,what is the maximum clock frequencypos- sible for the following circuit? (In other words, what is the maximum clock frequencythat will still guarantee correct behavior?) Use the following delay values, and assume all input signals become valid at time 0. (Tprop is the propagation time for the flipflop, the time it takes from the rising edge of the clock until the output of the FF is valid.) AND: 4 ns MUX:8n sT prop: 9 ns Tsetup: 3ns Thold: 1ns 1 0 1 0 1 0 Clock X Y SEL Q DFF Q Q DFF DFF -2-
7. (3pts) Howfar apart must valid code words be to allowSingle Error Detection (SED)?

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 8

midterm.s04 - 1(1pts What is the Hamming distance between...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online