Q1: (10 points) Using Verilog on www.edaplayground.com, write a test bench code for the following circuit:...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Q1: (10 points) Using Verilog on www.edaplayground.com, write a test bench code for the following circuit: A wl GI B. G3 D G2 E Assuming gates have: and has 30 ns or has 20 ns not has 10 ns Assume the inputs to be as follows: At time = 0, A=0, B=0,C=0 At time =100, A=1, B=1, C=1 B= C= // Insert values of your choice B= C= // Insert values of your choice At time = 450 A= B= C= // Insert values of your choice At time = 200 A= At time = 350 A= End the simulation at 500 timesteps 1- Insert print screen of your code, test bench & printed result showing time, input, and output values. 2- Insert print screen showing the generated waveforms Q1: (10 points) Using Verilog on www.edaplayground.com, write a test bench code for the following circuit: A wl GI B. G3 D G2 E Assuming gates have: and has 30 ns or has 20 ns not has 10 ns Assume the inputs to be as follows: At time = 0, A=0, B=0,C=0 At time =100, A=1, B=1, C=1 B= C= // Insert values of your choice B= C= // Insert values of your choice At time = 450 A= B= C= // Insert values of your choice At time = 200 A= At time = 350 A= End the simulation at 500 timesteps 1- Insert print screen of your code, test bench & printed result showing time, input, and output values. 2- Insert print screen showing the generated waveforms
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 physics questions
-
Write Verilog code for the following circuit. Assume that the gate delays arenegligible. (a) Using concurrent statements. (b) Using an always block with sequential statements. No latches should be...
-
Write a test bench for the elevator controller of Problem 5.10. The test bench has two functions: to simulate the operation of the elevator (including the door operation) and to provide a sequence of...
-
Write the assembly code for the following mathematical expression: Rval= Aval-(-Bval + Cval) .data Rval DWORD? Aval DWORD 24 Bval DWORD 20 Cval DWORD 30 Run and debug the program to verify that it...
-
Refer to Figure 14.3. Select a year when the gallons of oil spilled were over 15 million. Research the spill(s) for that year. Was the amount due to one oil spill or multiple oil spills?Investigate...
-
Give the structure of the ester formed when (a) Succinic acid reacts with a large excess of diazomethane in ether. (b) Benzoic acid reacts with allyl bromide and K2CO3 in acetone.
-
17.An aero plane that moves at a constant speed of 600 knots flies from town A (14N, 30W) southwards to town B (XS, 30W) taking 3hrs. It then changes direction and flies along latitude to town C (XS,...
-
This is actually a paired data situation (since each person was measured before and after eating organic), so we create a new variable, the differences in pesticide concentration, by taking pesticide...
-
The following disclosure note appeared in the December 26, 2015, annual report of the Intel Corporation. Note 5: Cash and Investments (partial) Available-for-sale investments as of December 26, 2015,...
-
Review the following scenario: You work in customer service for the local bus station. A bus is running over an hour late due to mechanical issues. Customers are getting very angry and complaining...
-
The diagram shows a window made from a rectangle with base 2r m and height h m and a semicircle of radius r m. The perimeter of the window is 6 m and the surface area is A m 2 . a. Express h in terms...
-
(a) XYZ Limited borrows 15 Million of six months LIBOR + 10.00 % for a period of 24 months. The company anticipates a rise in LIBOR, hence it proposes to buy a Cap Option from its Bankers at the...
-
Consider diffusion in a spherical particle governed by J cs r with boundary conditions and c t = Ds Cs c r cs = r + 2 . 2 (R t) = 3/1/ r r (0, t) = 0, where D, is the diffusion coefficient, R is the...
-
Calculate the time (in seconds) required for the concentration of A to decrease from 1.0 M to 0.45 M. 1/[A] 120 100 80 60 40 20 0 0 20 K y = 0.7957x + 61.714 R = 0.9998 40 Time (sec) O 60
-
If you look up the radius of the Cl atom in various online sources, you will find values ranging from 79 to 182 pm (picometers; 1 pm = 1 10- m). The most common values are 100 pm and 182 pm. What can...
-
What are the correct units for k? 000 O L/(mol.h) mol/(L. h) (h. mol)/L (hL)/mol
-
In a colloidal dispersion solute particles are large enough to be discernible by the naked eye. (1) (2) (3) The selectivity of a semi-permeable membrane is based on polarity differences among...
-
For each of the following, find the formula for an exponential function that passes through the two points given. a. (0,7) and (3, 1512)
-
Using the information in P11-2B, compute the overhead controllable variance and the overhead volume variance. Data From Problem 11-2B: Huang Company uses a standard cost accounting system to account...
-
Referring to Figure 1-56, specify the values of Eni, Ena, Enb, Enc, Lda, Ldb, and Ldc so that the data stored in Reg. C will be copied into Reg. A and Reg. B when the circuit is clocked. Eni Input N...
-
(a) Indicate the connections of the switches in Figure 6-15 to realize the function F = AB + AC (b) Indicate the connections of the switches in Figure 6-15 to realize a latch as shown in Figure 2-18....
-
A D flip-flop has a propagation delay from clock to Q of 15 ns. The setup time of the flip-flop is 10 ns, and the hold time is 2 ns. A clock with a period of 50 ns (low until 25 ns, high from 25 to...
-
A vertical belt is moving upward continuously through a liquid bath at a velocity $V$. A film of the liquid adheres to the belt, which tends to drain downward due to gravity. The equilibrium...
-
A slider bearing can be described as one plate moving with a velocity $V$ parallel to a stationary plate, with a viscous lubricant in between the plates. The force applied to the moving plate is $F$,...
-
Acrylic latex paint can be described as a Bingham plastic with a yield stress of $200 \mathrm{dyn} / \mathrm{cm}^{2}$, a limiting viscosity of $50 \mathrm{cP}$, and a density of $0.95 \mathrm{~g} /...
Study smarter with the SolutionInn App