Execute the application from sdram

Assignment Help Electrical Engineering
Reference no: EM131301344

1. Write a retro version of the 1970's classic kill the bit computer game for the DE board. The goal in the kill the bit game is to turn off all of the four LEDs using the four pushbuttons. The game starts with an initial non-zero pattern displayed in the LEDs. The pattern constantly does a circular shift moving through the LEDs in a loop with a time delay to slow down the shifts. If you hit one of the four pushbuttons exactly when the the same number LED is turned on, it will turn off one LED in the pattern. If you hit a pushbutton and it's LED is off another LED turns on.

Here is how the program works. Each time just before the pattern shifts, the pattern is bitwise exclusive or'ed with one input sample from the pushbuttons to generate a new pattern. When both the pushbutton is pushed and its corresponding bit in the pattern are High, one less bit will be High in the new pattern after the exclusive or (i.e., 1 xor 1 is 0). After the shift, one less LED will be turned on since there is one less "1" in the new pattern. If your timing is off and the LED is not turned on when you hit the pushbutton, a new high bit will be generated in the pattern (i.e., 1 xor 0 is 1). When this happens, the new "1" bit in the pattern lights another LED. Note that you need a "1" when a pushbutton is pressed and a "1" to turn on an LED for the xor function to work.

Display the elapsed time in the LCD display (or seven-segment displays) and stop the time display when a player wins the game (turns out all LEDs). Adjust the shift time delay for reasonable game play. Blink all of the LEDs when a player wins. If you want a more challenging game, use a pattern and shift register larger than four bits and just display four bits at a time in the LEDs.

2. Port an interesting C application program to the Nios II processor. Execute the application from SDRAM.

Reference no: EM131301344

Questions Cloud

How many shares did she purchase : Hope invested $9,000 in a mutual fund when the price per share was $30. The fund has a load fee of $300. How many shares did she purchase?
Determine the routes : Unfortunately, the Dispatcher is down and Sharon is seeking your assistance in helping her set up an Excel spreadsheet to help her determine the routes.
What is the projects payback period and net present value : Project M has a cost of $65,125, expected net cash inflows of $13,000 per year for ten years, and a cost of capital of 11%. What is the project’s payback period? What is the project's net present value?
What is the expense ratio for marks mutual fund : Mark owns a mutual fund with a NAV of $45.00 per share and expenses of $1.45 per share. What is the expense ratio for Mark's mutual fund?
Execute the application from sdram : Display the elapsed time in the LCD display (or seven-segment displays) and stop the time display when a player wins the game (turns out all LEDs). Adjust the shift time delay for reasonable game play. Blink all of the LEDs when a player wins. If ..
What is hunter return from selling his shares in mutual fund : When Hunter purchased the shares, the NAV per share was $70. A year later, Hunter sold the shares at a NAV of $68 per share. What is Hunter's return from selling his shares in the mutual fund?
Regarding the change in the money : Under these circumstances, if the Fed buys a Treasury security worth $200 million from a bank, which of the following can be expected regarding the change in the money supply? Assume that the required reserve ratio is 10%, and that all currency is..
Reflect on what you learned about leadership from research : Reflect on what you learned about leadership from your research. Reflect on the implications for your personal leadership style.
What are the tax consequences of renas ownership : Rena purchased 200 shares of a no-load stock mutual fund.- What are the tax consequences of Rena's ownership of this stock fund? Rena is in a 35% marginal tax bracket.

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Lithium ion battery technology

The paper includes Lithium ion battery technology with its advantages and disadvantages. The paper discusses about the Lithium air battery in which detailed reactions of Lithium with air including nonaqueous as well as aqueous are given.

  Power transformers and tariffs

Construction of different types of power transformer, significant energy savings

  Paper on orthogonal frequency-division multiplexing

This document is shown a paper on Orthogonal frequency-division multiplexing with advantages, disadvantages and uses.

  Function of the hmi in a scada system

This assignment contains electronics engineering questions like State the commonly found components of a SCADA (Supervisory control and data acquisition) system. and decribe the function of the HMI in a SCADA system.

  Resultant waveform of the odd harmonic series

Prepare an Excel graph showing the individual components and summated resultant waveform of the odd harmonic series resulting in an approximate square wave.

  Explain scada system

Explain the function of the HMI in a SCADA system.

  Design a 2-digit 24 second shot-clock

Design a 2-digit 24 second "shot-clock" countdown timer with pushbutton controller.

  Model a discrete-time system

To understand di erent signal models To be able to model a discrete-time system and design simple signal processing algorithms.

  Draw a relay construction diagram

Draw a relay construction diagram and briefly explain the operation of a relay.

  Frequency division multiplexing

Write a short technical report on Frequency Division Multiplexing

  Impact of electron energy

Briefly discuss the impact of electron energy, electron current and target on the Bremsstrahlung generated.

  Traffic light controller

The schematic of the traffic light controller

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