subject
Engineering, 21.11.2019 02:31 sugar1014

Atypical slot machine is shown to the left. it is a game of chance is which the player initiates the spinning of three separate displays and tries to stop the display motion at a time when all three display images match. a slot machine inspired game will use two seven segment displays in place of the three displays in the example. each slots royale sa seven-segment display will show one of four custom designed symbols. status information about the game will be shown in a third seven segment display. when a button is pressed, the two displays showing the game symbols begin to change at different rates. the displays continue to change as long as the button remains depressed. when the button is released, the symbols stop changing. the objective of the game is to try to stop when both displays show the same symbol. • a "win" symbol is shown in the status display if the two displayed symbols match when the button is released. • a "lose" symbol is shown in the status display if the two displayed symbols do not match when the button is released. • while the button is depressed and the symbols are changing, a neutral symbol appears in the status display to indicate that the game is in progress. the game has four speeds: test, slow, medium, and fast. at test speed the symbols change so slowly that it is easy to win and easy to test the function of the circuit. as the speed increases, the game becomes more challenging. the speed is selected using two input switches to specify the four possible sneeds. 2. design the circuit to create codes, the code for the game status symbols. a. write a verilog module my_status_code with two single bit inputs pb1 and eq. eq is 1 when the two game symbols are the same, and pb1 is 1 when the pushbutton is depressed. the logic circuit output is the 4-bit codes value (see 1bii above). from the problem statement description of the "win", "lose", and "in progress" displays, design the logic to generate the 4-bit value. i. how should the two most significant bits of the special symbol code be set? ii. write the logic expressions for the two least significant bits of the special symbol code. b. write a verilog module for my_status_code using continuous assignment. c. write another version of the verilog module using a case statement in an always block. d. write a third version using if-else statements in an always block.

ansver
Answers: 3

Another question on Engineering

question
Engineering, 03.07.2019 14:10
Line joining liquid phase with liquid and solid phase mixture is known as: a) liquidus b) solidus c) tie line d) none of the mentioned
Answers: 2
question
Engineering, 04.07.2019 18:10
Ajournal bearing has a journal diameter of 3.250 in with a unilateral tolerance of 20.003 in. the bushing bore has a diameter of 3.256 in and a unilateral tolerance of 0.004 in. the bushing is 2.8 in long and supports a 700-lbf load. the journal speed is 900 rev/min. find the minimum oil film thickness and the maximum film pressure for both sae 20 and sae 20w-30 lubricants, for the tightest assembly if the operating film temperature is 160°f. a computer code is appropriate for solving this problem.
Answers: 3
question
Engineering, 04.07.2019 18:10
Hydraulic fluid with a sg. of 0.78 is flowing through a 1.5 in. i.d. pipe at 58 gal/min. the fluid has an absolute viscosity of 11.8 x 105 lbf-sec/ft2. is the flow laminar, turbulent or within the critical range? give both a numerical reynolds number and a term answer.
Answers: 3
question
Engineering, 04.07.2019 19:10
With increases in magnification, which of the following occur? a. the field of view decreases. b. the ambient illumination decreases. c. the larger parts can be measured. d. the eyepiece must be raised.
Answers: 1
You know the right answer?
Atypical slot machine is shown to the left. it is a game of chance is which the player initiates the...
Questions
question
Mathematics, 11.03.2021 20:50
question
English, 11.03.2021 20:50
Questions on the website: 13722361