Compute the value of es or os for a given number n

Assignment Help Electrical Engineering
Reference no: EM13257045

Given a number N, the even sum of N, called ES(N), is the summation for N (if N is even) or N-1 (if N is odd) till 2. Similarly, the odd sum of N, OS(N), can be defined. For example, ES(10) = 10 + 8 + 6 + 4 + 2 = 30.

Compute the value of ES(N) or OS(N) for a given number N. First, you use switch 0 to represent ES or OS. We use switch[0] = 0 to indicate the computation of ES(N) and switch[0] = 1 to indicate the computation of OS(N). Then, we use switches 1 to 7 to input the value of N.

First, you design a Verilog module that can implement the ES or OS function depending on the value of switch[0]. Second, you design another Verilog module to implement the controller that can control the entire process. Third, the clock_down_coverter module used in Lab 9 is included to give necessary low-speed operation such that you can observe the execution steps. Fourth, a top module is designed to integrate all modules as a complete digital system. Finally, displayed the binary result to the LEDs, LD0-LD7.

Reference no: EM13257045

Questions Cloud

Write an argumentative essay on given topics : Write an Argumentative Essay - Choose one topic from the list below and write an essay of approximately 1000 to 1200 words
Journalize the declaration of stock dividend on december : On January 1, 2008, Deweese Corporation had $ 1,000,000 of common stock outstanding. Journalize the declaration of a 15% stock dividend on December10, 2008, for the following independent assumptions
Discuss agent regulation : Discuss "Agent Regulation" in terms of state regulations vs. uniform lawsDiscuss "Agent Regulation" in terms of state regulations vs. uniform laws.
What is the expected rate of return on a portfolio : What is the expected rate of return on a portfolio? How is it calculated? Is there another (i.e. on alternative) way to calculate this?
Compute the value of es or os for a given number n : Compute the value of ES(N) or OS(N) for a given number N. First, you use switch 0 to represent ES or OS. We use switch[0] = 0 to indicate the computation of ES(N) and switch[0] = 1 to indicate the computation of OS(N).
A public assistance housing complex : One Sandwich Blitz location is near a public assistance housing complex,
Credit manager on the financial statement items : In your opinion, what could be the possible effects of following the advice of the credit manager on the financial statement items?
How do you define that measure : In situations where expected rate on invested differ substantially, standard deviation may not provide a good picture of one investment's stand-alone risk relative to another. In this situation what other measure of risk would you use? How do yo..
The emperors purpose for such an elaborate burial place : It is believed that the workers were forced to remain inside the tomb when it was walled shut so they would not reveal the secrets of its construction.

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Find the heat energy generated by the amplifier

The power amplifier for a car stereo amplifier has a rated output power of 750 watts when operating at room temperature. Assuming a Class B amplifier with the maximum theoretical efficiency is used,

  Calculate the armature voltage to be applied in steady state

Plot the steady state torque-speed characteristic for Va = 100V, 60V, and 30V. Calculate the armature voltage to be applied in the steady state at the speed of 1500 rpm when the motor torque load require is 3 Nm.

  Define the river estuary is tidal causing the surface

The river estuary is tidal causing the surface level of the water to rise and fall. At certain times of day, reflections from the water surface cause deep fading of the received signal.

  Calculate the magnitude and direction of the electric field

Line A extends from (2,2, 0) to (-2, 2, 0) and Line B extends from (2, -2, 0) to (-2, -2, 0). Each has a linear charge density l = 1 nC / m. You want to calculate the magnitude and direction of the electric field due to the two line charges for al..

  Define a three-phase overhead transmission line

A three-phase overhead transmission line has a per-phase resistance of 0.15 ohm/km, and a per-phase inductance of 1.3263 mH/km.

  Determine the joint probability distribution function

Two random variables X and Y have a joint probability density function given by f(x,y) =kxy 0

  What current flows through the resistor if resistance given

The bottom of the conduction band at one end of a silicon resistor is at the same energy level as the top of the valence band at the other end. What current flows through the resistor if the resistance is 1.12 kOhms

  Find the capacitance and inductance of the matching network

The amplifier is connected to the handset antenna which has an impedance of 35 + j10 at one unspecified operating frequency. Find the inductive reactance and capacitive reactance needed to match the transmitter output to the antenna

  Design a voltage-divider network to supply the load

The voltage across the load must remain between 4.7 and 5.0 V for all values of load current. Design a voltage-divider network to supply the load. You may assume that resistors of any value desired are available.

  Find what is the peak voltage of the rectified output

A half-wave rectifier circuit with a 1-k ohm load operates from a 120-V (rms) 60-Hz household supply through a 10-to-1 step-down transformer. It uses a silicon diode that can be modeled to have a 0.7-V drop for any current.

  What is the relationship between ic and il at is minimum

(1) Explain what happens in a series circuit when the frequency makes Xc equal to XL. Does it have a name (2) What is the relationship between Ic and IL at Is minimum (3) Why is the source current, Is, minimum at certain frequency

  How to calculate the carrier power

If an AM signal has an un-modulated carrier voltage Vc=A volts(pk) and a load resistance RL of B ohms. How to calculate the Pc (Carrier Power) If the modulation index is known as m, how to calculate the Sideband Power (Psb)

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