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]
2 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]2 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
.........................................
hoa [83]

Answer:

Engineering is the use of scientific principles to design an build machines, structure, an other item including bridges, tunnels, road etc

3 0
3 years ago
Consider a modification of the air-standard Otto cycle in which the isentropic compression and expansion processes are each repl
Ulleksa [173]

Answer:

The answers to the question are

(1) Process 1 to 2

W = 295.16 kJ/kg

Q = -73.79 kJ/kg

(2) Process 2 to 3

W = 0

Q = 1135.376 kJ/kg

(3) Process 3 to 4

W = -1049.835 kJ/kg

Q = 262.459 kJ/kg

(4) Process 4 to 3

W=0

Q = -569.09 kJ/kg

(b) The thermal efficiency = 49.9 %

(c) The mean effective pressure is 9.44 bar

Explanation:

(a) Volume compression ratio \frac{v_1}{v_2}  = 10

Initial pressure p₁ = 1 bar

Initial temperature, T₁ = 310 K

cp = 1.005 kJ/kg⋅K

Temperature T₃ = 2200 K from the isentropic chart of the Otto cycle

For a polytropic process we have

\frac{p_1}{p_2}  = (\frac{v_2}{v_1} )^n Therefore p₂ = p₁ ÷ (\frac{v_2}{v_1} )^n = (1 bar) ÷ (\frac{1}{10} )^{1.3} = 19.953 bar

Similarly for a polytropic process we have

\frac{T_1}{T_2}  = (\frac{v_2}{v_1} )^{n-1} or T₂ = T₁ ÷ (\frac{v_2}{v_1} )^{n-1} = \frac{310}{0.1^{0.3}} = 618.531 K

The molar mass of air is 28.9628 g/mol.

Therefore R = \frac{8.3145}{28.9628} = 0.287 kJ/kg⋅K

cp = 1.005 kJ/kg⋅K Therefore cv = cp - R =  1.005- 0.287 = 0.718 kJ/kg⋅K

1). For process 1 to 2 which is polytropic process we have

W = \frac{R(T_2-T_1)}{n-1} = \frac{0.287(618.531-310)}{1.3 - 1}= 295.16 kJ/kg

Q =(\frac{n-\gamma}{\gamma - 1} )W = (\frac{1.3-1.4}{1.4-1} ) 295.16 kJ/kg = -73.79 kJ/kg

W = 295.16 kJ/kg

Q = -73.79 kJ/kg

2). For process 2 to 3 which is reversible constant volume heating we have

W = 0 and Q = cv×(T₃ - T₂) = 0.718× (2200-618.531) = 1135.376 kJ/kg

W = 0

Q = 1135.376 kJ/kg

3). For process 3 to 4 which is polytropic process we have

W = \frac{R(T_4-T_3)}{n-1} = Where T₄ is given by  \frac{T_4}{T_3}  = (\frac{v_3}{v_4} )^{n-1} or T₄ = T₃ ×0.1^{0.3}

= 2200 ×0.1^{0.3}  T₄ = 1102.611 K

W =  \frac{0.287(1102.611-2200)}{1.3 - 1}= -1049.835 kJ/kg

and Q = 262.459 kJ/kg

W = -1049.835 kJ/kg

Q = 262.459 kJ/kg

4). For process 4 to 1 which is reversible constant volume cooling we have

W = 0 and Q = cv×(T₁ - T₄) = 0.718×(310 - 1102.611) = -569.09 kJ/kg

W=0

Q = -569.09 kJ/kg

(b) The thermal efficiency is given by

\eta = 1-\frac{T_4-T_1}{T_3-T_2} =1-\frac{1102.611-310}{2200-618.531} = 0.499 or 49.9 % Efficient

(c) The mean effective pressure is given by

p_{m}  = \frac{p_1r[(r^{n-1}-1)(r_p-1)]}{ (n-1)(r-1)}  where r = compression ratio and r_p = \frac{p_3}{p_2}

However p₃ = \frac{p_2T_3}{T_2} =\frac{(19.953)(2200)}{618.531} =70.97 atm

r_p = \frac{p_3}{p_2} = \frac{70.97}{19.953}  = 3.56

Therefore p_m =\frac{1*10*[(10^{0.3}-1)(3.56-1)]}{0.3*9} = 9.44 bar

Please find attached generalized diagrams of the Otto cycle

8 0
3 years ago
Saturated water vapor undergoes a throttling process from 1bar to a 0.35bar. What is the change in temperature for this process?
mamaluj [8]

Answer:

-25.63°C.

Explanation:

We know that throttling is a constant enthalpy process

      h_1=h_2

From steal table

We know that if we know only one property in side the dome then we will find the other property by using steam property table.

  Temperature at saturation pressure 1 bar is 99.63°C and  Temperature at saturation pressure 0.35 bar is about 74°C .

So from above we can say that change in temperature is -25.63°C.

But there is no any option for that .

4 0
2 years ago
2x²-6x+10/x-2 x=2<br><br><br>plsssss<br><br><br><br>​
aleksandr82 [10.1K]

Answer:

hope it helps you..

5 0
2 years ago
Instead of running blood through a single straight vessel for a distance of 2 mm, one mammalian species uses an array of 100 tin
Marina CMI [18]

Solution:

Given that :

Volume flow is, $Q_1 = 1000 \ mm^3/s$

So, $Q_2= \frac{1000}{100}=10 \ mm^3/s$

Therefore, the equation of a single straight vessel is given by

$F_{f_1}=\frac{8flQ_1^2}{\pi^2gd_1^5}$    ......................(i)

So there are 100 similar parallel pipes of the same cross section. Therefore, the equation for the area is

$\frac{\pi d_1^2}{4}=1000 \times\frac{\pi d_2^2}{4} $

or $d_1=10 \ d_2$

Now for parallel pipes

$H_{f_2}= (H_{f_2})_1= (H_{f_2})_2= .... = = (H_{f_2})_{10}=\frac{8flQ_2^2}{\pi^2 gd_2^5}$  ...........(ii)

Solving the equations (i) and (ii),

$\frac{H_{f_1}}{H_{f_2}}=\frac{\frac{8flQ_1^2}{\pi^2 gd_1^5}}{\frac{8flQ_2^2}{\pi^2 gd_2^5}}$

       $=\frac{Q_1^2}{Q_2^2}\times \frac{d_2^5}{d_1^5}$

       $=\frac{(1000)^2}{(10)^2}\times \frac{d_2^5}{(10d_2)^5}$

       $=\frac{10^6}{10^7}$

Therefore,

$\frac{H_{f_1}}{H_{f_2}}=\frac{1}{10}$

or $H_{f_2}=10 \ H_{f_1}$

Thus the answer is option A). 10

7 0
3 years ago
Other questions:
  • A rectangular channel 6 m wide with a depth of flow of 3m has a mean velocity of 1.5 m/sec. The channel undergoes a smooth, grad
    7·1 answer
  • ¿Cuál era probablemente el activo más valioso de Persia?
    10·2 answers
  • How many volts does one cell produce?
    14·2 answers
  • Ear "popping" is an unpleasant phenomenon sometimes experienced when a change in pressure occurs, for example in a
    12·1 answer
  • Breaks do not overheat true false ?
    6·1 answer
  • SEICUL UC CULTELL allsvel.
    9·2 answers
  • What classes do you have to take in college for be a system software engineer
    14·1 answer
  • What is the primary difference between the process of lost-wax casting as practiced in ancient times and that same process today
    13·1 answer
  • When bending metal, the material on the outside of the curve stretches while the material on the inside of the curve compresses.
    14·1 answer
  • Pipelines are a useful means of transporting oil because they: Multiple select question. are fast never fail to deliver are chea
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!