Draw a logic diagram for your circuit

Assignment Help Other Engineering
Reference no: EM131101143

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.

Reference no: EM131101143

Questions Cloud

Can a homeless child including a undocumented homeless child : Can a homeless child, including an undocumented homeless child, ever be required to show residency in a district in order to enroll in a district school?
Explore the legal rights and responsibilities of the tenant : Describe whether or not Roger has a legal obligation to pay for the damage he caused and determine whether or not Larry would be liable for any direct damage.
Can we infer that differences exist between the four groups : Can we infer that differences exist between the four groups?
Calculate the npv and the irr for each project : calculate the NPV and the IRR for each project
Draw a logic diagram for your circuit : E15: Fundamentals of Digital Systems - Fall 2010 - EXAM 2 PRACTICE. 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 depe..
What issues zulima and joseph like to face in american court : Shortly thereafter, Joseph arrives in America and successfully recuses his daughter. Zulima and her father then sue Salim in an American court for the return of the $420. What issues are Zulima and Joseph likely to face in an American court?
Calculate the irr, the npv, and the mirr for each project : Edelman Engineering is considering including two pieces of equipment, a truck and an overhead pulley system, in this year's capital budget. The projects are independent. The cash outlay for the truck is $17,100, and that for the pulley system is $22,..
Operating at a negative to you still get taxed : Interest 60000and tax rate 35%. What is net loss and what is operating cash flow.? So, I calculated EBIT - 155000, EBT - 215000 Here should taxes be 35% of EBT? Confused . If you are operating at a negative to you still get taxed?
Percent simple interest : Gerold invested $118 in an account that pays 6 percent simple interest. How much money will he have at the end of 6 years?

Reviews

Write a Review

Other Engineering Questions & Answers

  How to build a earthquake proof building

How to build a earthquake proof building

  Geometric brownian motion

Write the expressions in the form S(i)T = const + 0∫T.....dt + 0∫T.....dWt, i = 1, 2 - solve the stochastic differential equation

  Satellite of mass m describes a circular orbit

A satellite of mass m describes a circular orbit of radius r about the earth. Express as a function of r

  Digital conditioning discussion

Using the internet, find a product description and datasheet for a digital processing device which is mentioned in your text (ADC, DAC, PLC, or DAS).

  Calculate the maximum bit rate

Using Shannons theorem,calculate the maximum bit rate that can be achieved on a fiber optical link with a signal to noise of 40db. The central wavelength of the light used is 850 nm wiht a band of 10 nm on either side.

  Determine the minimum cable force t and critical angle

Determine the minimum cable force T and critical angle ? which will cause the tow truck to start tipping, i.e., for the normal reaction at A to be zero. Assume that the truck is braked and will not slip at B. The truck has a total mass of 4 Mg and..

  Delay in time between the contraction of the atria

1) There is a delay in time between the contraction of the atria and the contraction of the ventricles. This is called the AV-delay. What structural characteristics (identify more than one!) of the conducting fibers between the AV node and AV bundle ..

  Write the equations for lr and rr

Write the equations for LR and RR. Assume that BR overrides EM and that LT and RT override BR. Implement each function LR (BL, BR, EM, LT) and RR (BL, BR, EM, RT) with a 4-to-16-line decoder and external OR gates.

  To understand prior to any modern filter design effort

Discuss the various compromises that must be made in order to use "quick filter design" techniques. What are some advantages of using this design approach?

  Determine the corresponding boolean expressions

1.  For the PROM realization shown below, determine the corresponding Boolean expressions for outputs f1, f2 and f3.

  What bias current iq will serve to limit the variation

A class AB output stage, such as that in Fig, drives a load resistance RL of 100Ω. What bias current IQ will serve to limit the variation in the small-signal voltage gain to 5% as iL changes from 0 to 50 mA?

  Coefficient of determination for a simple linear regression

What is the chi squared statistic for the given information?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd