Homework6_Solution - Assignment #6 Digital Logic Design II...

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

View Full Document Right Arrow Icon
Assignment #6 – Digital Logic Design II – Sequential Logic CDA 3100, Computer Organization I  Problem 1 (50 points) Design a circuit that has an input clk, and an output Q which has three bits. At the rising edge of the clk, the unsigned binary number represented by Q changes according to the pattern: 04725631047256310…In other words, it starts with 0 and repeats 04725631 every 8 clock cycles. (a) (10 points) Write down the next-state table. Q2 Q1 Q0 D2 D1 D0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 1 0 1 0 1 1 0 0 1 1 0 0 1 1 1 1 0 1 1 1 0 1 1 0 0 1 1 1 1 1 0 1 0 (b) (10 points) Use Karnaugh map, derive the function for D2, D1, and D0. Q2Q 1 Q0 00 01 11 10 0 1 1 1 1 1 D1 = Q2
Background image of page 1

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

View Full DocumentRight Arrow Icon
Q2Q 1 Q0 00 01 11 10 0 1 1 1 1 1 Q2Q 1 Q0 00 01 11 10 0 1 1 1 1 1 (c) (10 points) Write down a Verilog module for this circuit. Use the following code as a template. module HW6P1 (clk, Q);
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This document was uploaded on 12/04/2011.

Page1 / 5

Homework6_Solution - Assignment #6 Digital Logic Design II...

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

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