11:30 PM Fri 6 Oct Submit Verilog Assignment #1 _ Gradescope.pdf LI 02.1 5 Points Consider...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
11:30 PM Fri 6 Oct Submit Verilog Assignment #1 _ Gradescope.pdf LI 02.1 5 Points Consider a circuit model referred to as MOD1 whose interface is defined as shown below: B24 X1 MOD1 Y1 B1 78% Done 11:31 PM Fri 6 Oct Submit Verilog Assignment #1 _ Gradescope.pdf 11 B24 X1 81 82 V1 0 0 0 0 0111 1001 1100 MOD1 Y1 The circuit has two inputs, X1 and B1, and two outputs, 82 and Y1. The circuit operates on the inputs and produces the outputs according to the following truth table: X1 B1 O Derive the Boolean equations for outputs 82 and Y1 and ensure you end up with the same Boolean equations implemented by the logic circuit below: D- B1 Write a structural Verilog module to model the circuit MOD1. B2 Y1 78% Done 11:31 PM Fri 6 Oct Submit Verilog Assignment #1 _ Gradescope.pdf Q2.2 5 Points Consider another circuit that is referred to as MOD2 and whose interface is as shown below: B X4 Y4 Save Answer *** X4 MOD1 4 X3 X2 X1 0000 0001 0110 1 1 0 0 Y4 X3 Y3 Where the direction of the arrows indicates inputs and outputs, note that one of the inputs is a constant Logic "1. MOD2 can be constructed structurally using the MOD1 circuit as shown below: MOD1 MOD2 Y3 g Y2 MOD1 Y2 Y1 Q2.3 5 Points Write a testbench to test MOD2 using the following four input patterns Here, we have B1 of the right-most MOD1 connected to 1,82 of the same is connected to 81 of the second MOD1 from the right, and so on, until the left-most MOD1, in which its B2 is taken as the B output for MOD2. Write a structural Verilog module to model MOD2 that instantiates four instances of MOD1 and connects them as indicated above. 1 MOD11 Y1 78% Done 11:31 PM Fri 6 Oct Submit Verilog Assignment #1 _ Gradescope.pdf + IKE 6 of 6 Save Answer Q2.3 5 Points Write a te atest bench to test MODZ using the following four input patterns X4 X3 X2 X1 0000 0001 0 110 1 100 Save Answer Q2.4 5 Points Please select file Select file) Save Answer www Simulate your test bench and attach a snapshot of the generated waveform using the button below. Q2.5 1 Point Save Answer A Save All Answers What do you observe about the input/output relationship of Circuit MOD2? Hint: Consider X-X4, X3, X2, X1 as the bits of an unsigned 4-bit binary integer where X4 is the most significant bit (MSB), and Y-Y4, Y3, V2, Y1 as the bits of an unsigned 4-bit binary integer where Y4 is the MSB. OMOD2 increments X by 1, and 8 is the final carryout bit OMOD2 decrements X by 1, and B is the final borrow bit OMOD2 counts the number of 1s in X and B indicates if X has any Os or not OMODZ counts the number of Os in X, and B indicates if X has any 1s or not Q Submit & View Submission> 78% Done 11:30 PM Fri 6 Oct Submit Verilog Assignment #1 _ Gradescope.pdf LI 02.1 5 Points Consider a circuit model referred to as MOD1 whose interface is defined as shown below: B24 X1 MOD1 Y1 B1 78% Done 11:31 PM Fri 6 Oct Submit Verilog Assignment #1 _ Gradescope.pdf 11 B24 X1 81 82 V1 0 0 0 0 0111 1001 1100 MOD1 Y1 The circuit has two inputs, X1 and B1, and two outputs, 82 and Y1. The circuit operates on the inputs and produces the outputs according to the following truth table: X1 B1 O Derive the Boolean equations for outputs 82 and Y1 and ensure you end up with the same Boolean equations implemented by the logic circuit below: D- B1 Write a structural Verilog module to model the circuit MOD1. B2 Y1 78% Done 11:31 PM Fri 6 Oct Submit Verilog Assignment #1 _ Gradescope.pdf Q2.2 5 Points Consider another circuit that is referred to as MOD2 and whose interface is as shown below: B X4 Y4 Save Answer *** X4 MOD1 4 X3 X2 X1 0000 0001 0110 1 1 0 0 Y4 X3 Y3 Where the direction of the arrows indicates inputs and outputs, note that one of the inputs is a constant Logic "1. MOD2 can be constructed structurally using the MOD1 circuit as shown below: MOD1 MOD2 Y3 g Y2 MOD1 Y2 Y1 Q2.3 5 Points Write a testbench to test MOD2 using the following four input patterns Here, we have B1 of the right-most MOD1 connected to 1,82 of the same is connected to 81 of the second MOD1 from the right, and so on, until the left-most MOD1, in which its B2 is taken as the B output for MOD2. Write a structural Verilog module to model MOD2 that instantiates four instances of MOD1 and connects them as indicated above. 1 MOD11 Y1 78% Done 11:31 PM Fri 6 Oct Submit Verilog Assignment #1 _ Gradescope.pdf + IKE 6 of 6 Save Answer Q2.3 5 Points Write a te atest bench to test MODZ using the following four input patterns X4 X3 X2 X1 0000 0001 0 110 1 100 Save Answer Q2.4 5 Points Please select file Select file) Save Answer www Simulate your test bench and attach a snapshot of the generated waveform using the button below. Q2.5 1 Point Save Answer A Save All Answers What do you observe about the input/output relationship of Circuit MOD2? Hint: Consider X-X4, X3, X2, X1 as the bits of an unsigned 4-bit binary integer where X4 is the most significant bit (MSB), and Y-Y4, Y3, V2, Y1 as the bits of an unsigned 4-bit binary integer where Y4 is the MSB. OMOD2 increments X by 1, and 8 is the final carryout bit OMOD2 decrements X by 1, and B is the final borrow bit OMOD2 counts the number of 1s in X and B indicates if X has any Os or not OMODZ counts the number of Os in X, and B indicates if X has any 1s or not Q Submit & View Submission> 78% Done
Expert Answer:
Answer rating: 100% (QA)
It looks like youve provided images of a Verilog assignment with several questions that need to be addressed While I cant run the actual Verilog code ... View the full answer
Related Book For
Applied Regression Analysis and Other Multivariable Methods
ISBN: 978-1285051086
5th edition
Authors: David G. Kleinbaum, Lawrence L. Kupper, Azhar Nizam, Eli S. Rosenberg
Posted Date:
Students also viewed these programming questions
-
Read a news report and an opinion piece on the same topic . step 2: write a one page summary on the topic . You can conduct this same experiment with any topic that interests you: contrast the...
-
What is most shocking about adults being abused as children?
-
From 2000 until May of 2007, Alvin was a tenured professor of Nuclear Engineering and Head of the Department in the State University's College of Engineering. His contract for each academic year,...
-
A company reports the following: Net income ............. $115,000 Preferred dividends .......... $15,000 Shares of common stock outstanding ... 20,000 Market price per share of common stock . $65.00...
-
For flow at 20 m/s past a thin flat plate, estimate the distances x from the leading edge at which the boundary layer thickness will be either 1 mm or 10 cm, for a) Air; and (b) Water at 20C and 1...
-
The time in days between breakdowns of a machine is exponentially distributed with = 0.2. (a) What is the expected time between machine breakdowns? (b) What is the standard deviation of the time...
-
What is the generally accepted airspeed region for subsonic flight?
-
Early in the year, John Raymond founded Raymond Engineering Co. for the purpose of manufacturing a special flow control valve that he had designed. Shortly after year-end, the companys accountant was...
-
Find an acquaintance willing to watch a short clip of a car crash (it is no worse than what you'd see on Mythbusters): Tell them this explicitly - "My professor is asking us to do the assignment to...
-
The decedent used his own funds in the amount of $80,000 to acquire stock naming himself and his daughter as joint tenants with right of survivor ship. When the father died, the stock was worth...
-
Snapple Real Fact #940 informs us that 40% of twins invent theirown language. Calculate the following theoretical probabilities for50 sets of twins. Find the probability that at least one of the sets...
-
Prism Associates purchases framed prints from a local artist and mails one to each of its three favorite clients. Each print costs $70; packaging and shipping costs are $10 per print. Presuming...
-
Describe racism and why it is a concerning area of discrimination. What do you think accounts for this area being an "ism"? What are some strategies that we could use at the societal level and at the...
-
You are treating a 15-year-old female client for an eating disorder. She reveals that she is pregnant and does not want you to share this information with her parents. What do you tell her? Following...
-
Please answer the following question How, when, and where did writing emerge? How did it impact all levels of society? Text Entry Copy and paste or type your submission right here.
-
In acquisitions, often the acquired company has both preferred stock and common stock. What impact do the two types of stock have on the acquisition, if any?
-
Explain one pricing strategy that Adriana should and one pricing strategy she should not adopt as part of PUs aggressive marketing strategy. (6 marks) Adriana can consider first using penetration...
-
A number of years ago the United Food and Commercial Workers Union organized 800 workers of the 1035 employees at one of the Wilson Brothers food operations in Toronto, Ontario. The employees include...
-
a.-d. Repeat Problem 16 using LN_BLDTL as the response and LN_BRNTL as the predictor.
-
a.-c. Repeat Problem 1 using log10(dry weight) as the response. Problem 1 Consider the data of Problem 1, Chapter 5. For the model with dry weight as the response and age as the predictor, a. Examine...
-
a.-c. Repeat Problem 15 using LN_BLDTL as the response and LN_PPMTL as the predictor. d. Which approachusing the original variables or using the logged variablesleads to fewer diagnostic problems?
-
At 30 June 2024, the accountant for Woodbine Construction, Mary Ellam, is preparing the financial statements for the year ended on that date. To calculate the annual leave payable, the accountant had...
-
How would each of the following liabilities be classified (current, non-current, or both) at the end of the financial year? Unearned revenue Accrued expenses Provision for warranty repair costs...
-
The following were among transactions of Everluck Enterprises Ltd during the financial years ending 30 June 2023 and 30 June 2024. Required Record in general journal form all the above transactions,...
Study smarter with the SolutionInn App