1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
otez555 [7]
3 years ago
15

Write a Nios II assembly program that reads binary data from the Slider Switches, SW11-0, on the DE2-115 Simulator, and display

the decimal equivalent on the seven-segment displays HEX3-0.​
Engineering
1 answer:
Citrus2011 [14]3 years ago
6 0

Algorithm of the Nios II assembly program.

  • Attain data for simulation from the  SW11-0, on the DE2-115 Simulator
  • The data will be  read from the switches in loop.
  • The decimal output is displayed using the seven-segment displays and done using the loop.
  • The program is ended by the user operating the SW1 switch

and

The decimal equivalent on the seven-segment displays HEX3-0 is

  • DE2-115
  • DE2-115_SW11
  • DE2-115_HEX3
  • DE2-115_HEX4
  • DE2-115_HEX5
  • DE2-115_HEX6
  • DE2-115_HEX7

<h3>The  Algorithm and decimal equivalent on the seven-segment displays HEX3-0</h3>

Generally,  the program will be written using a  cpulator simulator in order to attain best result.

We are to

  • Attain data for simulation from the  SW11-0, on the DE2-115 Simulator
  • The data will be  read from the switches in loop.
  • The decimal output is displayed using the seven-segment displays and done using the loop.
  • The program is ended by the user operating the SW1 switch

This will be the Algorithm of the Nios II assembly program .

Hence, the decimal equivalent on the seven-segment displays HEX3-0 is

  • DE2-115
  • DE2-115_SW11
  • DE2-115_HEX3
  • DE2-115_HEX4
  • DE2-115_HEX5
  • DE2-115_HEX6
  • DE2-115_HEX7

For more information on Algorithm

brainly.com/question/11623795

You might be interested in
This method will sell the seat in row i and column j unless it is already sold. A ticket is sold if the price of that seat in th
blsea [12.9K]

Answer:

The solution code is written in Java.

  1. public class Movie {
  2.    private double  [][] seats = new double[5][5];
  3.    private double totalSales;
  4.    public Movie(){
  5.        for(int i= 0; i < this.seats.length; i++){
  6.            for(int j = 0; j < this.seats[i].length; j++){
  7.                this.seats[i][j] = 12;
  8.            }
  9.        }
  10.        this.totalSales = 0;
  11.    }
  12.    public boolean bookSeat(int i, int j)
  13.    {
  14.        if(this.seats[i][j] != 0){
  15.            this.totalSales += this.seats[i][j];
  16.            this.seats[i][j] = 0;
  17.            return true;
  18.        }else{
  19.            return false;
  20.        }
  21.    }
  22. }

Explanation:

The method, bookSeat(), as required by the question is presented from Line 16 - 26 as part of the public method in a class <em>Movie</em>.  This method take row,<em> i</em>, and column,<em> j</em>, as input.

By presuming the seats is an two-dimensional array with all its elements are  initialized 12 (Line 7 - 10). This means we presume the movie ticket price for all the seats are $12, for simplicity.

When the<em> bookSeat() </em>method is invoked, it will check if the current price of seats at row-i and column-i is 0. If not, the current price, will be added to the <em>totalSales </em>(Line 19)<em> </em>and then set the price to 0 (Line 20) and return <em>true</em> since the ticket is successfully sold (Line 21).  If it has already been sold, return <em>false</em> (Line 23).

8 0
3 years ago
A tool used to put a concave edge on a plane iron is
Over [174]

Answer:

C) grinder

Explanation:

7 0
3 years ago
Ginger feels like she is very qualified for a Revenue job. Which qualification does Ginger most likely have?
deff fn [24]

Explanation:

The qualifications Ginger most likely have to become very qualified for a Revenue job are integrity, ability to analyze tax forms, and good math skills

Revenue is defined as the amount of money that a company actually receives during a specific period, including discounts and deductions for returned merchandise. This transaction involves money and sometimes large amount of money. Thus, integrity is greatly needed.  

Revenue job examples are <em>Revenue Accountant, Revenue Analyst, Revenue Manager. </em>

5 0
3 years ago
Read 2 more answers
The 2-lb block is released from rest at A and slides down along the smooth cylindrical surface. Of the attached spring has a sti
MA_775_DIABLO [31]

Answer:

L = 4.574 ft

Explanation:

Given:

- The weight of the block W = 2 lb

- The initial velocity of the block v_i = 0

- The stiffness of the spring k = 2 lb/ft

- The radius of the cylindrical surface r = 2 ft

Find:

Determine its unstretched length so that it does not allow the block to leave the surface until θ= 60°.

Solution:

- Compute the velocity of the block at θ= 60°. Use Newton's second equation of motion in direction normal to the surface.

                           F_n = m*a_n

Where, a_n is the centripetal acceleration or normal component of acceleration as follows:

                           a_n = v^2_2 / r

- Substitute:

                          F_n = m*v^2_2 / r

Where, F_n normal force acting on block by the surface is:

                          F_n = W*cos(θ)

- Substitute:

                          W*cos(θ) = m*v^2_2 / r

                          v_2 = sqrt ( r*g*cos(θ) )

- Plug in the values:

                          v^2_2 = 2*32.2*cos(60)

                          v^2_2 = 32.2 (ft/s)^2

- Apply the conservation of energy between points A and B where θ= 60° :

                      T_A + V_A = T_B + V_B

Where,

                      T_A : Kinetic energy of the block at inital position = 0

                      V_A: potential energy of the block inital position

                      V_A = 0.5*k*x_A^2

                      x_A = 2*pi - L            ..... ( L is the original length )

                      V_A = 0.5*2*(2*pi - L)^2 =(2*pi - L)^2

                      T_B = 0.5*W/g*v_2^2 = 0.5*2 / 32.2 *32.2 = 1

                      V_B = 0.5*k*x_B^2 + W*2*cos(60)

                      x_B = 2*0.75*pi - L            ..... ( L is the original length )

                      V_B = 0.5*2*(1.5*pi - L)^2 + 2*1 = 2 + ( 1.5*pi - L )^2

- Input the respective energies back in to the conservation expression:

                      0 + (2*pi - L)^2 = 1 + 2 + ( 1.5*pi - L )^2

                      4pi^2 - 4*pi*L + L^2 = 3 + 2.25*pi^2 - 3*pi*L + L^2

                      pi*L = 1.75*pi^2 - 3

                         L = 4.574 ft

                         

3 0
3 years ago
The purpose of a diamond-shaped yellow sign with black markings is to.
Anit [1.1K]

Answer:

it is to warn you about something like a dead end, or maybe where you should slow down because there might be people crossing ahead.

Explanation:

look at the signs i provided, all of them warn you about something.

Ex: railroad tracks, there might be a train passing, a winding road, so you don't go off road and crash, etc.

4 0
2 years ago
Other questions:
  • Assume a program contains a void function named calcNewPrice(). The function receives two double variables named oldPrice and ne
    14·1 answer
  • The gas stream from a sulfur burner is composed of 15-mol% SO2, 20-mol% O2, and 65-mol% N2. This gas stream at 1 bar and 480?C e
    12·1 answer
  • The water behind Hoover Dam is 206m higher than the Colorado river below it. At what rate must water pass through the hydraulic
    15·2 answers
  • The radiator of a steam heating system has a volume of 35 L and is filled with superheated water vapor at 200 kPa and 200°C. At
    14·1 answer
  • What is the minimum amplitude at time zero sine wave??
    13·1 answer
  • Which is true about the workplace of Construction workers?
    15·2 answers
  • Tech A says that some battery corrosion cannot be seen beneath the insulation of the cables. Tech B says
    5·1 answer
  • Which term describes erosion?
    6·2 answers
  • If a vehicle is built with a top speed of 140 mph, what should its tires minimum speed
    5·1 answer
  • It was determined by the forensic engineers that the historic collapse of the Minneapolis Interstate Bridge was due to
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!