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

  Data signal is represented by an nrz signal

The component generated at the symbol frequency can then be phase tracked by a PLL in order to generate the symbol synchronization, as illustrated by the following MATLAB simulation:

  What is the total current flow for the entire circuit

You have a laundry room where the following loads are connected to a 208V circuit: 2500W electric base board heater, 600W wash machine, 3600W dryer, and a 1000W iron. All loads are connected in parallel.

  Implement the register file in idecode

To perform two reads, use two Altsyncrams that contain the same data (i.e. always write to both blocks).

  Two antennas at the same location on earth receive a

two antennas at the same location on earth receive a signal from a satellite directly overhead at altitude h 36.0

  Determine mathematically whether the signal is even or odd

For each of the discrete signals below, determine mathematically whether the signal is even, odd, or neither. (a) x[n]=6u[n-3] (b) x[n]=-n (c) x[n]=sin(n-(pi/6))

  When give rise to radiated electromagnetic radiation at freq

Presuming that oscillations in wavefunction amplitude lead to oscillations at the same frequency in the charge density, and that the charge density at any point in the structure give rise to radiated electromagnetic radiation at the same frequency

  Determine the value of c in microfarads

you have a RC circuit with an unknown capacitor. You have a 20V source and a 33k ohm resistor. the question states. The voltage Vc for the network has risen to 16V 5seconds after the switch was closed. Determine the value of C in microfarads.

  Design an iir band stop butterworth filter

Design an IIR BAND STOP Butterworth filter with the following characteristic

  Determine the diameter of the wire in mils and in inches

A 200 ft length of solid copper wire is measured to have a resistance of .500 Ohms. a. Determine the cross sectional area of the wire in both square mils and in circular mils. b. Determine the diameter of the wire in mils and in inches.

  What rotor flux would be required to produce a terminal

A THREE PHASE, Y-CONNECTED, 60Hz, TWO POLES SYNCHRONOUS MACHINE HAS A STATOR WITH 5000 TURNS OF WIRE PER PHASE.WHAT ROTOR FLUX WOULD BE REQUIRED TO PRODUCE A TERMINAL (LINE-TO-LINE) VOLTAGE OF 13.2kV

  Redraw the circuit showing assigned voltage polarities

Redraw the circuit showing assigned voltage polarities and assigned current directions. Prepare a table that will contain calculated and measured values.

  Define bluetooth wi-fi wimax and 3g and 4g networks

What are the principal technologies and standards for wireless networking, communications, and Internet access?

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