Write complete vhdl code for the divider

Assignment Help Electrical Engineering
Reference no: EM131368103

A block diagram and state graph for a divider for unsigned binary numbers is shown below. This divider divides a 16-bit dividend by a 16-bit divisor to give a 16-bit quotient. The divisor can be any number in the range 1 to 216 - 1. The only case where an overflow can occur is when the divisor is 0. Control signals are defined as follows: Ld1: load the divisor from the input bus; Ld2: load the dividend from the input bus and clear ACC; Sh: left shift ACC & Dividend; Su: load the subtractor output into ACC and set the lower quotient bit to 1; K = 1 when 15 shifts have been made. Write complete VHDL code for the divider. All signals must be of type unsigned or bit. Use two processes.

1752_7b7b1076-aca8-41e3-a203-25a1cb4050fc.png

Reference no: EM131368103

Questions Cloud

What are the major issues that the us government is facing : What are the major issues that the U.S. government is facing in protecting its borders from illegal immigration and its citizens from domestic and foreign terrorist attacks? How have those issues been addressed?
Perfectly competitive market : How does a lump-sum tax influence a perfectly competitive market? How does the imposition of an effective price control influence a perfectly competitive market?
Determine the overflow and give an appropriate equation : Give a truth table for the logic circuit that generates the necessary control signals. Inputs for the table should be Sub, Xs, and Ys in that order, where Xs is the sign of X and Ys is the sign of Y.
How did you gather the information to draft this scope : Requirements and information gathering specifics (Answers the question who did you talk with (customers, stakeholders, clients, etc., When? How did you gather the information to draft this scope? What did you learn from the requirement and informa..
Write complete vhdl code for the divider : A block diagram and state graph for a divider for unsigned binary numbers is shown below. This divider divides a 16-bit dividend by a 16-bit divisor to give a 16-bit quotient.
Wendy sells vending machines : She can sell 9 machines if she charges $1,000 per machine; 8 if she sells them at the price of $1,100 per machine; 7 at the price of $1,200 per machine, and 6 at the price of $1300 per machine. Each vending machine costs $500 to produce and bring ..
What currency or currencies does your mnc work with : What currency or currencies does your MNC work with? Discuss how exchange rates impact your MNC. How do each of the main economic agents in the macroeconomy impact your MNC?
Conclusion change for the winter months : How would you conclusion change for the winter months, if bad weather makes it likely for traffic jams on the highway to increase to 6 days per month?
Realize the circuit using six d flip-flops : Realize the circuit using three D flip-flops, using the guidelines from Section 1.7 to determine a suitable encoded state assignment. Note the tradeoff between more flip-flops and more gates in (b) and (c).

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Determine the values for the period and duty cycle registers

A PWM is used in 8-bit mode to produce a signal with a 1 msec period and 60% duty cycle. Determine the value required for any pre-scaling, and the values for the period, and duty cycle registers. The E-clock is 24 MHz.

  Determine speed and line current when motor develops torque

A 220V dc shunt motor draws 10A at 1800rpm. The armature circuit resistance is .2ohm and the field winding resistance is 440 ohm.what is the torque developed by the motor

  Explain difference in synchronous and an asynchronous input

All FSMs have an initial state and the FSM must be forced in to that initial state prior to processing any data inputs. Suppose you want to implement a 5-state FSM in a PAL16R4. Briefly describe how you would force the FSM into its initial state.

  Why do broadcast radio stations use narrow band transmission

How would a radio work if, say, broadcast stations used Frequency Hopping Spread Spectrum or Direct Sequence Spread Spectrum? Explain your answer.

  Design the width to length ratios of m1 and m3

What are the logic 1 values for vO1 and vO2? - Design the width-to-length ratios of M1 and M3 such that the logic 0 values of vO1 and vO2 are 0.1 V.

  Determine phase relationship using a dual trace oscilloscope

For the circuit of given figure, determine the phase relationship between the following using a dual-trace oscilloscope.

  Design a voltage-divider network to supply the load

We have a 15-V source and a load that absorbs power and requires a current varying between 0 and 100mA. The voltage across the load must remain between 4.7 and 5.0 V for all values of load current

  What is the smallest sampling rate

What is the smallest sampling rate that will enable exact reconstruction of the useful signal if we do not perform any filtering on x(t) before sampling?

  What was the us annual production of coal

Research coal deposits in the USA and US coal mine production. Approximately, what was the US annual production of coal from mines in recent years What was the coal production of the Appalachian or Eastern province

  Find the thevenin equivalent for the network

If V1 = 10 V, V2 = 15 V, R1 = 4 ohm, and R2 = 6 ohm in the circuit of given figure, find the Thevenin equivalent for the network to the left of terminals a, b.

  Plot the swing curve for the machine

Calculate the critical clearing angle and plot the swing curve for the machine - What is the power angle at the end of the 10 cycles?

  Find the variance of the sum and difference

Two random variables have zero mean and variance of 16 and 36. Their correlation coefficient is 0.5. A). find the variance of the sum. B). find the variance of their difference C). Repeat (a) and (b) if the correlation coefficient is -0.5

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