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?
-
Units Sold to Break Even, Unit Variable Cost, Unit Manufacturing Cost, Units to Earn Target Income Werner Company produces and sells disposable foil baking pans to retailers for $2.60 per pan. The...
-
In January 1983, Margaret Kawaauhau was treated by Dr. Paul Geiger for a foot injury. After examining Kawaauhau, Geiger prescribed oral penicillin to her despite his knowledge that intravenous...
-
Capitalization of Interest the following three situations involve the capitalization of interest. Situation I On January 1, 2010, Columbia, Inc. signed a fixed-price contract to have Builder...
-
Olongapo Sports Corporation distributes two premium golf balls-Flight Dynamic and Sure Shot. Monthly sales and the contribution margin ratios for the two products follow: Sales CM ratio Product...
-
1.) Pierce Corporation issues gift certificates in denominations of P 300, P 500 and P 1,000. These gift certificates are redeemable in merchandise and expire one year after the issue date. The...
-
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.
-
For a commercial farm, classify the following expenditure into either capital or revenue: (a) Delivery costs of pesticide (b) Insurance of tractors (c) Installation costs of new machinery for milking...
-
The consumption schedule is given as below Table 1: Consumption Schedule Gross Income (Y) Consumption (C) Tax (T) 1200 775 100 1800 1135 150 2400 1495 200 3000 1855 250 3600 2215 300
-
During the year 2 0 2 3 , Mr . John conducted a few operations. He took dividends of 1 0 , 0 0 0 CHF on the profit for the year 2 0 2 2 . He decided to rent an extra room starting from the month of...
-
The maximum force that a grocery bag can withstand without ripping is 250 N. Suppose that the bag is filled with 20 kg of groceries and lifted with an acceleration of 5.0 m/s2. Do the groceries stay...
-
Question 2: Recent data for the U.S. reveal the following (all figures in millions). Total population 307.0 Under 16 or institutionalized 69.3 Employed Unemployed 139.1 14.6 Use the data to find the...
-
Caroline (85) is a Virginia resident who is filing her federal return as a qualifying surviving spouse. She is required to file a Virginia tax return. In addition to her other income, she won $1,000...
-
If $4,026 was withheld during the year and taxes owed were $4,050, would the person owe an additional amount or receive a refund? What is the amount?
-
(a) Water flows through the nozzle of a garden hose. Find an expression for m in terms of line pressure P 1 , ambient pressure P 2 , inside hose diameter D 1 , and nozzle outlet diameter D 2 . Assume...
-
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...
-
"Beginning Transactions" on the first Excel worksheet will provide the Balance Sheet for 2019 and the Transactions for January 2020. On the second Excel worksheet, "Journal Entries" , you should...
-
Discuss feminist ideology a) What is feminism as an ideology? How do feminists explain and understand the root cause of gender inequality and what do they propose to do? Include a discussion of...
-
You invest $ 1 , 1 0 0 at a 1 2 % annual interest rate, stated as an APR. Interest is compounded monthly. How much will you have in 1 . 5 years? In 2 years? ( Do not round intermediate calculations....
Study smarter with the SolutionInn App