Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Other Engineering Expert

E15: Fundamentals of Digital Systems - Fall 2010 - EXAM 2 PRACTICE

1. Analyze this sequential logic circuit.

The circuit below takes as input two 4Hbit binary numbers X and Y, and a 1-bit input EN. It outputs an 8Hbit binary number P. Input to the circuit, but not depicted in the diagram, are a clock line and a reset line, which are both connected to the shift register and to all of the flip-flops. Complete the timing diagram below with traces for the values of A, S, and P (V has already been filled in for you). You can use the space to the right of the diagram for scratch work.

255_Figure.png

Convert X, Y and the final value of P to their decimal equivalents.

For any numbers X and Y, what would the final value of P be, in terms of X and Y? That is, what function does this circuit compute?

2. Implement a sequential logic circuit to transmit asynchronous 2-E-1 data.

Your circuit should have four inputs: a clock line, a reset line, a 2-bit message D, and a 1-bit input EN. It should have two 1-bit outputs R and Y. Operation for the circuit is specified as follows:

  • After a reset, the circuit is in an idle state. The ready-for-data output R is set to 1, and the data output Y is also set to 1. The circuit will remain in the idle state as long as EN is set to zero on a positive clock edge.
  • To begin transmitting, the circuit's message input D is set to the desired message, and EN is set to 1. At the next positive clock edge, the circuit leaves the idle state, R is set to 0 to indicate that the circuit is not ready for further input, and Y is set to 0 as a start bit. After the positive clock edge, changing the message input D should not affect whether the circuit correctly sends the message that was originally input.
  • For the next 2 clock cycles, R is kept at 0 while Y cycles through the bits of the message that was originally input, from LSB to MSB.
  • During the subsequent clock cycle, Y is set to the correct parity bit: 1 if the message contained an even number of 1's, and 0 otherwise. R is still held at 0.
  • In the next clock cycle, the circuit returns to the idle state, resulting in setting the data output to 1, and the ready-for-data output to 1 as well.

Draw a logic diagram for your circuit, including any necessary gates and flip-flops. You may omit the clock and reset lines for clarity. Your circuit's outputs should directly depend only on the current state of the flip-flops in the circuit.

3. Latches instead of flip-flops.

Fresh from his fiasco with the soda machine, Bob the digital circuit designer sets out to implement two register circuits: a 4-bit simple register, and a 4-bit PISO shift register. However, he has mistakenly built the circuits with D latches instead of D flip-flops, as in the diagrams below:

1517_Figure1.png

Note that the simple register is supposed to store D when X=1, and remain unchanged otherwise. The shift register is supposed to store D when Y=0 and shift to the right otherwise.

Assume that the inputs to the circuit are always set prior to the positive edge of the clock, and are always held until after the negative edge (i.e., the input never changes while the clock is held high). For each of the two circuits:

  • Will the circuit work as intended, given the assumption above?
  • If so, explain why. If not, draw a timing diagram leading to an incorrect output, and explain why the output is incorrect.

Other Engineering, Engineering

  • Category:- Other Engineering
  • Reference No.:- M91847858

Have any Question?


Related Questions in Other Engineering

Select a risk problem from the list below and prepare a

Select a risk problem from the list below and prepare a risk management plan in accordance with AS/NZS ISO 31000:2009. Please ensure that: - Establish the context clearly, in accordance with the Standard; - Define your s ...

Mine safety amp environmental engineering assignment -part

Mine Safety & Environmental Engineering Assignment - Part 1 - Questions 1. Occupational health and safety is the primary factor that needs to be considered in the mining industry. Discuss this statement. 2. Define the fo ...

Q 1a discontinuity is found fully developed from the toe to

Q. 1 A discontinuity is found fully developed from the toe to the bench surface on a 15 m high slope, slope angle 65°. The discontinuity (frictional angle 32° and cohesion 20 kN/m2) is planar and its strike is parallel t ...

A detailed review of spatial modulation and simulation

A Detailed Review of Spatial Modulation and Simulation Learning Outcomes a. Learn how to model mobile communication channels d. Discern knowledge development and directions on the recent advances in 4G to the research pr ...

Load fault level analysis amp protection design of a remote

LOAD, FAULT LEVEL ANALYSIS & PROTECTION DESIGN OF A REMOTE AREA MICROGRID Assignment Please undertake the following analyses: 1. Calculate the 3-phase fault levels on Bus 2, Bus 3 and Bus 4 with the main supply connected ...

Engineering analysis assignment -for every problem provide

Engineering Analysis Assignment - For every problem, provide The MATLAB script/function files that solve the problems. Problem 1: Plot the function f(t) = (x+5) 2 /(4+3x 2 ) for -3 ≤ x ≤ 5. using plot command. Use the ar ...

Part 1configure verify and troubleshoot wan links and ip

Part 1 Configure, verify and troubleshoot WAN links and IP services Answer to all questions below: 1. What is the name of the Safe Work Australia code of practise that provides guidance on how to manage the risks of elec ...

Conceptual design of forced-free-mixed convection

Conceptual Design of Forced-Free-Mixed Convection Experiment This assessment is to be completed individually. 1. Learning Outcomes: - Develop a basic ability to conceptually design an experimental apparatus - Use theory ...

Task 1using the lab kit design a circuit for the processor

Task 1: Using the lab kit, design a circuit for the processor to control the output of a connected 7-segment LED display device. You will be provided with a standard common anode 7-segment display of the type FND-507 (or ...

Question - show that the zero-point energy of a simple

Question - Show that the zero-point energy of a simple harmonic oscillator does not contribute to its entropy or heat capacity, but does contribute to its energy and Helmholtz function.

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As