Q2: (10 points) Using Verilog on www.edaplayground.com, write a code and test bench that implements the...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Q2: (10 points) Using Verilog on www.edaplayground.com, write a code and test bench that implements the following state diagram ( Use any modeling method , or any type of flipflops) 0/0 0/1 |1/0 00 10 1/0 0/1 0/1 1/0 1/0 01 11 Assume the following: Assume the clock to have a 20 time step period, positive edge, , and the simulation ends after 300 timesteps. Assume that the circuit to have an asynchronous reset ( reset to state 00 if reset=1). The reset is activated between 70<t<120 time steps. Change the reset value at least twice after that at times of your choice. Assume the input to be 1 during 0<t<100 time steps, and change it at least twice after that at times of your choice. Assume the starting state to be 00 at the beginning of the simulation. Insert print screen of your code, test bench & printed result showing time, reset pin value, input, state, and output. Q2: (10 points) Using Verilog on www.edaplayground.com, write a code and test bench that implements the following state diagram ( Use any modeling method , or any type of flipflops) 0/0 0/1 |1/0 00 10 1/0 0/1 0/1 1/0 1/0 01 11 Assume the following: Assume the clock to have a 20 time step period, positive edge, , and the simulation ends after 300 timesteps. Assume that the circuit to have an asynchronous reset ( reset to state 00 if reset=1). The reset is activated between 70<t<120 time steps. Change the reset value at least twice after that at times of your choice. Assume the input to be 1 during 0<t<100 time steps, and change it at least twice after that at times of your choice. Assume the starting state to be 00 at the beginning of the simulation. Insert print screen of your code, test bench & printed result showing time, reset pin value, input, state, and output.
Expert Answer:
Related Book For
Digital Systems Design Using Verilog
ISBN: 978-1285051079
1st edition
Authors: Charles Roth, Lizy K. John, Byeong Kil Lee
Posted Date:
Students also viewed these electrical engineering questions
-
Please, I want a solution and the numbers in detail, and I thank you Problem 5 (12 points) The circuit in Figure 4 an ideal battery, two capacitors C1 and C2, a resistor and a switch S. With...
-
I want a solution as soon as possible Due date for submission is (September-27-2020): Group work 3-5 student`s). Please write the nursing diagnosis, that occur in the human body in old age- related...
-
QUESTION FOUR (a)Use Least Squares Method to fit a line to the following data: (1,2), (2, 5), (3 , 3), (4, 8)and (5, 7) 3 1 A = 4 2 (b) Let Find 4 and A | and verify that 2 6. p(A) SA for a = 1 or a...
-
Extend the model of this chapter by assuming that the firms cost function has the form C(X,E) satisfying assumption 5.1. (a) Derive the second-best optimal combination of an emission standard (no...
-
Most alkyl bromides ile water-insoluble liquids. Yet, when 7-bromo- 1,3,5-cycloheptatriene was first isolated, its high melting point of 203oC and its water solubility led its discoverers to comment...
-
A negative feedback control system is depicted in Figure CP4.8. Suppose that our design objective is to find a controller Gc(s) of minimal complexity such that our closed-loop system can track a unit...
-
Consider the three models a. \(y=\beta_{0}+\beta_{1}(1 / x)+\varepsilon\) b. \(1 / y=\beta_{0}+\beta_{1} x+\varepsilon\) c. \(y=x /\left(\beta_{0}-\beta_{1} x ight)+\varepsilon\) All of these models...
-
Indicate whether a CPA may provide each of the following services, and whether independence is required, by placing a check in the appropriatebox. May Provide; Independence May Provide; Independence...
-
dy 1. Find and simplify. dx tanx (a) y= (3 marks) (b) y x cosh (In x) (3 marks) (c) + sinh 2y = y - cosh 2x (4 marks)
-
Falling Chain A portion of a uniform chain of length 8ft is loosely coiled around a peg at the edge of a high horizontal platform, and the remaining portion of the chain hangs at rest over the edge...
-
1. Direct-dispatch or direct to the customer is an emerging technique to make the best out of the supply chain, where a company picks an order from the customers, passes it to the manufacturer and...
-
Carbonyl fluoride, COF 2 , is an important intermediate used in the production of fluorine - containing compounds. For instance, it is used to make the refrigerant carbon tetrafluoride, CF 4 via the...
-
Formulate and state your hypothesis. (Which molecule, potassium permanganate or malachite green, do you expect to diffuse faster?) Explain in statement form.
-
Show detailed mechanisms for the electrophilic addition of HCl with 2 - methyl - 1 , 3 - cyclohexadiene. Provide all possible adducts. Rank the order of most to least major products. Specify 1 , 2...
-
the laboratory you are asked to make a 0 . 2 9 0 m iron ( III ) bromide solution using 3 1 5 grams of water. How many grams of iron ( III ) bromide should you add?ii
-
Classify the conditions given as indicating that a reaction is at equilibrium, is not at equilibrium, or that the conditions may occur in either state. At equilibrium Not at equilibrium May or may...
-
Entries for payroll and payroll taxes Instructions Chart of Accounts General Journal Instructions The following information about the weekly payroll was obtained from the records of Boltz Co...
-
Discuss the concept of the looking-glass self. how do you think others perceive you? do you think most people perceive you correctly?
-
(a) Write a conditional signal assignment statement to represent the 4-to-1 MUX shown subsequently. Assume that there is an inherent delay in the MUX that causes the change in output to occur 10 ns...
-
If A = 101, B = 011, and C = 010, what are the values of the following statements? Assume A, B, and C are of reg type. Assume as many bits as necessary for the result. (a) {A,B} | {B,C} (b) A >> 2...
-
(a) Do the following two circuits have essentially the same timing? (b) Draw the timing for Q a and Q b given the timing diagram. (c) If your answer to (a) is no, show what change(s) should be made...
-
Modify the DrawStars example so that all the stars have Rotate transition animations that execute indefinitelythat is, set each animations cycle count to Animation.INDEFINITE. DrawStars example //...
-
Use inheritance to create an exception superclass (called ExceptionA) and exception subclasses ExceptionB and ExceptionC, where ExceptionB inherits from ExceptionA and ExceptionC inherits from...
-
The Tip Calculator app does not need a Button to perform its calculations. Reimplement this app to use property listeners to perform the calculations whenever the user modifies the bill amount or...
Study smarter with the SolutionInn App