hw4sol - University of California at Berkeley College of...

Info iconThis preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences EECS150 J. Wawrzynek Spring 2003 Homework #4 Solutions 1. a) b)
Background image of page 1

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

View Full DocumentRight Arrow Icon
c)
Background image of page 2
2. a) Initial State reset in out Next State S0 0 0 0 S0 S0 0 1 0 S1 S0 1 0 0 S0 S0 1 1 0 S1 S1 0 0 1 S1 S1 0 1 1 S2 S1 1 0 1 S0 S1 1 1 1 S1 S2 0 0 0 S1 S2 0 1 0 S2 S2 1 0 0 S0 S2 1 1 0 S1
Background image of page 3

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

View Full DocumentRight Arrow Icon
IS1 IS0 reset in out NS1 NS0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 1 0 0 0 0 0 0 1 1 0 0 1 0 1 0 0 1 0 1 0 1 0 1 1 1 1 0 1 1 0 1 0 0 0 1 1 1 1 0 1 1 1 0 0 0 0 1 1 1 0 1 0 1 1 1 1 1 0 0 0 0 1 1 1 1 0 1 0
Background image of page 4
b)
Background image of page 5

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

View Full DocumentRight Arrow Icon
3. Mano problem. 5-16. 4.
Background image of page 6
Initial State Input X0 X1 X2 X3 Next State Start 0 0 0 0 0 Start Start 1 0 0 0 0 S1 S1 0 0 0 0 0 S7 S1 1 0 0 0 0 S2 S2 0 0 0 0 0 S5 S2 1 0 0 0 0 S3 S3 0 0 0 0 0 Start S3 1 0 0 0 0 S4 S4 0 1 0 0 0 Start S4 1 1 0 0 0 S1 S5 0 0 0 0 0 Start S5 1 0 0 0 0 S6 S6 0 0 1 0 0 Start S6 1 0 1 0 0 S1 S7 0 0 0 0 0 S10 S7 1 0 0 0 0 S8 S8 0 0 0 0 0 Start S8 1 0 0 0 0 S9 S9 0 0 0 1 0 Start S9 1 0 0 1 0 S1 S10 0 0 0 0 0 Start S10 1 0 0 0 0 S11 S11 0 0 0 0 1 Start S11 1 0 0 0 1 S1
Background image of page 7

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

View Full DocumentRight Arrow Icon
5. Mano problems. 3-34. module Prob334 (A,B,C,D,x,y,z); input A,B,C,D; output x,y,z; assign x = A & ((C & D) | B) | (B & ~C); assign y = ((A & ~B) | (~A & B) & (C | ~D)); assign z = ~((A | B) & (~C | (~D & B))); endmodule 3-35. line 1: Dash not allowed, use underscore and needs semicolon at the end
Background image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 11

hw4sol - University of California at Berkeley College of...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online