In the following Verilog code, A, B, C, and D are 0 at time 10 ns. If
Question:
In the following Verilog code, A, B, C, and D are 0 at time 10 ns. If D changes to 1 at 20 ns, specify the times at which A, B, and C will change and the values they will take.
(a) always @(D)
begin
#5 A <= 1;
B <= A + 1;
#10 C <= B;
end
(b) always @(D)
begin
A <= #5 1;
B <= A + 1;
C <= #10 B;
end
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 71% (14 reviews)
a A changes to 1 at 25 ns B ...View the full answer
Answered By
Muhammad Umair
I have done job as Embedded System Engineer for just four months but after it i have decided to open my own lab and to work on projects that i can launch my own product in market. I work on different softwares like Proteus, Mikroc to program Embedded Systems. My basic work is on Embedded Systems. I have skills in Autocad, Proteus, C++, C programming and i love to share these skills to other to enhance my knowledge too.
3.50+
1+ Reviews
10+ Question Solved
Related Book For
Digital Systems Design Using Verilog
ISBN: 978-1285051079
1st edition
Authors: Charles Roth, Lizy K. John, Byeong Kil Lee
Question Posted:
Students also viewed these Sciences questions
-
In the following Verilog Code, A, B, C, and D are registers that are 0 at time = 4 ns. If A changes to 1 at time 5 ns, make a table showing the values of A, B, C, and D as a function of time until...
-
(a) What device does the following Verilog code represent? always @(CLK, Clr, Set) begin if(Clr == 1'b1) Q
-
For the following Verilog code, assume that D changes to 1 at time 5 ns. Give the values of A, B, C, D, E, and F each time a change occurs. That is, give the values at time 5 ns, 5 + D, 5 + 2D, and...
-
Table 2-5 Estonia Finland One Cell Phone 40 hours 16 hours Lumber (per board foot) 8 hours 4 hours Table 2-5 shows the number of labor hours required to produce a cell phone and a board foot of...
-
What factors should a company consider when it is choosing between the two inventory cost formulas-FIFO and average?
-
A 2-m-long copper pipe is held vertically. When a marble is dropped down the pipe, it falls through in about 0.7 s. A magnet of similar size and shape takes much longer to fall through the pipe. (a)...
-
For what reason does an auditor test a client's final priced inventory?
-
Parker Products Co. warrants its products for one year. The estimated product warranty is 3% of sales. Assume that sales were $442,000 for September. In October, a customer received warranty repairs...
-
Southwest Milling Company purchased a front-end loader to move stacks of lumber. The loader had a list price of $124,960. The seller agreed to allow a 5.00 percent discount because Southwest Milling...
-
Pequity Company purchased 85% of the common stock of Sequity Company on April 1, Year 1. The fair value of the consideration transferred consisted of a cash payment of $545,000 and contingent...
-
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 Verilog description of an S-R latch using an always block.
-
Are sales taxes deductible? Explain.
-
Q1. The given beam is fixed at node 1 there is a roller support at node 2 and has an elastic spring support at node 3. Find the deflection at nodes and reactions at supports for the beam. Assume...
-
calculated revenue and profitability for Nike from 2014 to 2018. Exhibit 2: Nike, Inc. Key Financial Data, 2014-2018 ($ millions, except EPS data)* Fiscal Year Cash and short-term investments...
-
The value of indicated areas are 4 = 1.2 cm and A=0.35 cm. These two levels are at a height difference of h = 45 mm. Determine the velocity of flow from the tap. T + Ao A
-
5.30 The fighter Super Etendard has a takeoff mass of 12,000 kg, a wing area of 28.4 m, and a jet engine with 49 KN of thrust. Assume it has 5,000 kg of fuel and the following data: AR = 3.23, e =...
-
Using the data below: a) calculate the variance B) calculate the composition of the minimum variance portfolio comprised of securities A and B. C) calculate the variance of minimum variance portfolio...
-
A sound wave with wavelength 0 and frequency f 0 moves into a new medium in which the speed of sound is v 1 = 2v 0 . What are the new wavelength 1 and frequency f 1 ? Explain.
-
Suppose that the laptop of Prob. 2.16 is placed in an insulating briefcase with a fully charged battery, but it does not go into sleep mode, and the battery discharges as if the laptop were in use....
-
Each of the following compounds can be prepared with an alkyl iodide and a suitable nucleophile. In each case, identify the alkyl iodide and the nucleophile that you would use. (a) (b) (c) (d) (e) (f)
-
Identify the reagents you would use to accomplish the following transformation - Br Br
-
Identify the reagents necessary to accomplish each of the following transformations. If you are having trouble, the reagents for these transformations appear on page 482, but you should first try to...
-
Price, Waterhouse, and Coopers complete their first year of business as a partnership. The partners offer auditing, tax, and advisory services. Use the Tableau Dashboard to determine allocation of...
-
What did economists discover about the American households' retirement saving according to Andrew Biggs' article? Are most American households saving adequately for their retirement, or is there a...
-
Eleanor Inc. creates artisanal crafts for home dcor, the entity has two manufacturing centres: crafting and painting. MOH is allocated based on labour cost in the crafting centre and machine hours in...
Study smarter with the SolutionInn App