Create project on-board three-d accelerometer in verilog

Assignment Help Other Engineering
Reference no: EM131299285

Embedded Systems Assignment

Assignment 1

Create a project about a 128x3 (32 words, with 3 bits at each word) single-port RAM in Verilog, simulate the design, and load it into the Cyclone IV chip on the DE0-Nano board. The design uses two push-buttons and one DIP switch as inputs.

•One side of the DIP switch clears the memory address.

•The depressing of the first push-button indicates a memory write action. In this case, the 50 MHz clock signal available on the FPGA board is used as an input to increase the RAM address. The 3-bit data value written to a memory location at an address should represent the number of ones in the 7 address bits. For example, a value of 110 (=6) should be written to the location with an address of 1011111.

•Once the first push-button is released, the memory read is in action. In this case, the 3-bit data stored at the current address are to
be displayed using three LEDs.

The releasing of the second push-button increases the memory address by one.

In addition, connect the 5 least significant address bits to 5 LEDs. Write a DO file for the simulation. The simulation needs to demons trate the writing to the RAM followed by reading from the RAM, each involving a few RAM locations.

You need to do the following prior to compilation:

•Generate a Verilog file for the single-port RAM by using "the IP Catalog" of Quartus Prime. (Use "On Chip Memory" which is with in "Installed IP -> Library -> Basic Functions".)

•Add the Verilog file for the RAM to the project.

•Instantiate a memory component in the design.

•For the simulation you will need to include the altera_mf_verlibrary. This can be done in ModelSim-Altera using the "Libraries" tab within the "Start Simulation" window

Assignment 2

Create a project about the on-board 3-D accelerometer in Verilog, and load it into the Cyclone IV chip on the DE0-Nano board. The design uses one push-button and one LED.

•Pressing down the push-button turns off the LED.

•The LED is turned on when the board is suddenly moved. (The degree/direction of movement is of your choice, but should be reason
able.)

Demonstrate the project. There is no need for simulation.

HINT:

On the DE0-Nano board CD, which is available on the course Pilot website, copy the folder demonstration/DE0_NANO_GSensor to the PC hard drive. From the hard drive folder, you may use Quartus Prime to open an existing project file, compile the project, and program the board. There is no need to assign pins since that has already been done. Study the code.

DE0_NANO_G_Sensor.v contains the top-level module of the project.

Reference no: EM131299285

Questions Cloud

Discuss the impact of the experience curve : Discuss the impact of the experience curve on effective capacity and state the issues which may hinder a firm from riding smoothly down the experience curve.
Elements of the marketing environment : What elements of the marketing environment should Bob Scott and his marketing team analyze and assess with regard to developing future marketing plans.
How would you measure the success of training programs : Does job training work? To measure the effectiveness of government training programs, it is usual to compare workers' pay before and after training. But many workers sign up for training when their pay drops or they are laid off. So the "before" p..
Calculate the value of evergrow : Your growth analysts have concluded that the growth rate earnings per share and dividends will be 4.25% per year for the next three years and 3.5% per year thereafter. Calculate the value of EverGrow using the 2-stage dividend discount model.
Create project on-board three-d accelerometer in verilog : Create a project about the on-board 3-D accelerometer in Verilog, and load it into the Cyclone IV chip on the DE0-Nano board. The design uses one push-button and one LED.
Annual contract fee for twelve t-shirt designs : You agreed to pay the artist a $3,000 annual contract fee for twelve T-shirt designs. This same term is renewable for the next 3 years. Each T-shirt picture will only be used for one year. Therefore, in the second year, 12 new pictures will be desi..
Combination result in noise folding : Determine whether two other effects in the PFD/CP combination result in noise folding unequal Up and Down pulse widths.
Compute the rates of high satisfaction for the apple ipod : Compute the rates of high satisfaction for the Apple iPod and Sennheiser sports earphones. Which brand has the better high-satisfaction rating?
The supply power is dissipated by the transistor itself : Following the derivations leading to Equation, prove that the other 50% of the supply power is dissipated by the transistor itself.

Reviews

Write a Review

Other Engineering Questions & Answers

  Comparative study of the use of replacement pile foundations

Pile Foundations Part two of the project requires the students to prepare a comparative study of the use of replacement pile foundations versus displacement techniques.

  Heat treatment of high tensile carbon steel

Explain why tempering cycle is essentially required in the heat treatment of high tensile carbon steel and what are the consequences if tempering cycle is not carried out?

  What is the model discharge required for dynamic similitude

The length ratio is %m (but note that the flow is two dimensional and the direction along the crest is not scaled). What is the model discharge required for dynamic similitude?

  Estimate the volume and average travel times

If an observation for route 1 finds that the gaps between 30% of the vehicles are less than 6 seconds, estimate the volume and average travel times for the two routes.

  How to add gates so that count resets to zero immediately

Consider the ripple counter of Figure. Suppose that the flip- flops have asynchronous clear inputs. Show how to add gates so that the count resets to zero immediately when the count reaches six. This results in a modulo-six counter.

  Estimate the local heat transfer

Liquid ammonia is heated as it flows at a mean velocity of 2 m s-1 through a circular pipe. The pipe, which has an internal diameter of 75 mm, is at a uniform temperature of 27°C, and the ammonia at a section 1.2 m from the inlet to the pipe has a..

  Differences between maskable and non-maskable interrupts?

What are the differences between maskable and non-maskable interrupts?

  Determine the op-amp output resistance obtained

TheCMOSopampof Fig. 13.1 is fabricated in a process for which V1An = 25 V/μm and/ V1 Ap /= 20 V/μm. Find A1, A2 and Av if all devices are 0.3 μm long, Q1 and Q2 are operated at overdrive voltages of 0.15-V magnitude, andQ6 is operated at VOV =0.2 ..

  Briefly describe the meaning of the term mechatronics

Briefly describe the meaning of the term mechatronics both in terms of the 'systems approach' and the technology involved and state the elements that are common to all mechatronic systems and state their purpose.

  Triangular membership function

Write the equation for a triangular membership function that is independent of the center point and the width.

  What would the maximum possible voltage be

If the total range of voltages started at zero and there are 512 intervals, what would the maximum possible voltage be?

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