HW2_Solution

pdf

School

California State University, Long Beach *

*We aren’t endorsed by this school

Course

301

Subject

Electrical Engineering

Date

Feb 20, 2024

Type

pdf

Pages

3

Uploaded by HighnessOxideMouse18

Report
HW #2 - Solution CECS 301 - Spring 2022 © Amin Rezaei Question 2: A ring counter is a type of synchronous counter composed of cascaded D FFs with the output of the last FF fed to the input of the first. Draw the waveforms for the following four-bit ring counter. Suppose FF 0 is initialized to 1 and all the other FFs are initialized to 0. How many numbers can be distinguished by four-bit ring counter? Question 3: Using D FFs (and logic gates if necessary), design a three-bit asynchronous up binary counter that detects even numbers. Out2 Out1 Out0 E Out 1 Out 0 =00 Out 1 Out 0 =01 Out 1 Out 0 =11 Out 1 Out 0 =10 0 0 0 1 Out 2 =0 1 0 0 1 0 0 1 0 Out 2 =1 1 0 0 1 0 1 0 1 0 1 1 0 1 0 0 1 1 0 1 0 1 1 0 1 1 1 1 0 After four clock cycles the wave forms are repeated. So, it can count up to 4 distinct numbers.
HW #2 - Solution CECS 301 - Spring 2022 © Amin Rezaei Question 4: Convert the given Mealy machine to Moore machine. Show the steps. Draw the transition table of Mealy machine. Draw the transition table of Moore machine. Draw Moore state diagram.
HW #2 - Solution CECS 301 - Spring 2022 © Amin Rezaei Question 5: Design the Mealy machine in Question 4 using D FFs and logic gates. Show the steps.- Convert the state diagram to a truth table. Find simplified equations. Build the circuit.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help