and 3 outputs (Output 1, Output 2, and Output 3). A C D 0 0 0...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
and 3 outputs (Output 1, Output 2, and Output 3). A C D 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 B 0 0 Below is a truth table with 4 inputs (A,B,C, and D) 0 0 1 1 1 1 0 0 0 0 1 1 1 1 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Output 1 0 1 0 1 0 0 1 1 0 1 0 1 1 1 1 1 Output 2 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 Output 3 0 0 1 1 0 0 0 0 0 0 0 0 1 1 1 1 A) [3 marks] Define a set of statements, using Boolean logic, that satisfy the truth table above. Since there are three outputs in the truth table, you should create three logical statements. Make sure you show *how* you arrived at the statements by listing the rows and columns in the table that led you to choose a Boolean operator. B) [3 marks] Draw the circuit that corresponds to your logical statements. You may use a drawing tool if you like or you can use pencil and paper. (ensure your writing is dark enough to easily read in the scan or screenshot provided). Question 3: [6 Total] An Arithmetic Logic Unit is an integrated circuit that can perform several different arithmetic operations. The desired operation is selected using a binary code. In this question, you will design a very simple ALU. It only works on two 1-bit numbers, and it can perform either addition or multiplication. There are three inputs: two binary digits x and y, and one bit q to choose the operation. q = 0 selects multiplication and q = 1 selects addition. There are two outputs: z, the one-bit result of the chosen operation, and s, a status code. If addition is chosen, then s is the carry digit. If multiplication is chosen, then s = 0. This question can be answered with a single circuit diagram. No explanations are required. a) [2 marks] Fill in boxes A1 and A2 with logic gates so that the output of A1 is the one-bit sum X + Y and the output of A2 is the one-bit product X * Y. Use exactly one logic gate in each box. X I Y A1 A2 x + y x y b) [2 marks] Next, fill in the boxes B1 and B2 with logic gates as follows. The output of B1 is x +y if q = 1, and 0 if q = 0. The output of B2 is x * y if q = 0, and 0 if q = 1. For B1, use exactly one logic gate. For B2, use exactly two logic gates. It might be useful to write out the truth tables for the outputs of B1 and B2, using q and the outputs of A1 and A2 as inputs. q A1 19 A2 Y B1 B2 B1 output B2 output c) [1 mark] Now fill in the box C1 with exactly one logic gate so that the output of C1 is z, the outcome of the desired calculation. That is, z = x + y if q = 1, and z = x * y if q = 0. Again, a truth table for C1 might be helpful, using the outputs of B1 and B2 as inputs. q T Y A1 A2 B1 B2 C1 d) [1 mark] Finally, add exactly one more logic gate to your diagram so that its output is s, the status code. That is, s is the carry digit of x+y if q = 1, and s = 0 if q = 0. You will have to decide what the inputs of this last gate should be. and 3 outputs (Output 1, Output 2, and Output 3). A C D 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 B 0 0 Below is a truth table with 4 inputs (A,B,C, and D) 0 0 1 1 1 1 0 0 0 0 1 1 1 1 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Output 1 0 1 0 1 0 0 1 1 0 1 0 1 1 1 1 1 Output 2 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 Output 3 0 0 1 1 0 0 0 0 0 0 0 0 1 1 1 1 A) [3 marks] Define a set of statements, using Boolean logic, that satisfy the truth table above. Since there are three outputs in the truth table, you should create three logical statements. Make sure you show *how* you arrived at the statements by listing the rows and columns in the table that led you to choose a Boolean operator. B) [3 marks] Draw the circuit that corresponds to your logical statements. You may use a drawing tool if you like or you can use pencil and paper. (ensure your writing is dark enough to easily read in the scan or screenshot provided). Question 3: [6 Total] An Arithmetic Logic Unit is an integrated circuit that can perform several different arithmetic operations. The desired operation is selected using a binary code. In this question, you will design a very simple ALU. It only works on two 1-bit numbers, and it can perform either addition or multiplication. There are three inputs: two binary digits x and y, and one bit q to choose the operation. q = 0 selects multiplication and q = 1 selects addition. There are two outputs: z, the one-bit result of the chosen operation, and s, a status code. If addition is chosen, then s is the carry digit. If multiplication is chosen, then s = 0. This question can be answered with a single circuit diagram. No explanations are required. a) [2 marks] Fill in boxes A1 and A2 with logic gates so that the output of A1 is the one-bit sum X + Y and the output of A2 is the one-bit product X * Y. Use exactly one logic gate in each box. X I Y A1 A2 x + y x y b) [2 marks] Next, fill in the boxes B1 and B2 with logic gates as follows. The output of B1 is x +y if q = 1, and 0 if q = 0. The output of B2 is x * y if q = 0, and 0 if q = 1. For B1, use exactly one logic gate. For B2, use exactly two logic gates. It might be useful to write out the truth tables for the outputs of B1 and B2, using q and the outputs of A1 and A2 as inputs. q A1 19 A2 Y B1 B2 B1 output B2 output c) [1 mark] Now fill in the box C1 with exactly one logic gate so that the output of C1 is z, the outcome of the desired calculation. That is, z = x + y if q = 1, and z = x * y if q = 0. Again, a truth table for C1 might be helpful, using the outputs of B1 and B2 as inputs. q T Y A1 A2 B1 B2 C1 d) [1 mark] Finally, add exactly one more logic gate to your diagram so that its output is s, the status code. That is, s is the carry digit of x+y if q = 1, and s = 0 if q = 0. You will have to decide what the inputs of this last gate should be.
Expert Answer:
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these accounting questions
-
What is the relationship between representation and culture? o Where and how does authenticity and accuracy fit into the mix? How might both be achieved and to what effect?
-
Is public financial management politically neutral or is it ideological?
-
Table 11.11 is from a Kansas State University survey of 262 pig farmers. For the question What are your primary sources of veterinary information?, the categories were (A) professional consultant,...
-
Cindy Bagnal, the manager of Cayce Printing Service, has provided you with the following aging schedule for Cayce's accounts receivable: Cindy indicates that the $126,700 of accounts receivable...
-
Plan A requires a $100,000 investment now. Plan B requires a~ $80,000 investment now and an additional $40,000 investment at a later time. At 8% interest, compute the breakeven point for the timing...
-
Identify the rule that is broken by each invalid syllogism you can find in the following exercises, and name the fallacy that is committed: All criminal actions are wicked deeds. All prosecutions for...
-
With Figure 1.5 in mind, how could changes in government policies affect accounting activities? All Stakeholders Financial statements Bank & agency reports Accounting System Tax returns Management &...
-
Stone Corporation is a manufacturing company that makes small electric motors it sells for $45 per unit. The variable costs of production are $25 per motor, and annual fixed costs of production are...
-
What strategies are effective for managing resistance to change, particularly in the context of entrenched organizational cultures and power dynamics ?
-
You are the brand manager for your favorite brand of clothing, food, vehicle, or other consumer product. Write a one-page branding statement summarizing your brand for your company's VP of Marketing....
-
Consider the space V = R equipped with the Euclidean norm || ||2 and the space W = R equipped with the norm |||||3 = (|x| + |x| + |23|) , x c = (x, x2, X3). Assume that T: VW has the following matrix...
-
How does the implementation of the Lottery Scheduling algorithm leverage probabilistic principles to allocate CPU resources based on process priorities and associated lottery ticket distributions,...
-
How do scheduling algorithms like Proportional-Share Scheduling (PSS) or Weighted Fair Queuing (WFQ) address the need for resource allocation fairness in shared computing environments, where multiple...
-
What online activities might cause malware to be installed on your computer ? Which specific website provide reputable anti malware apps for mobile devices ? What new techniques will you use to avoid...
-
How an organization remains successful is when their supply chain managers are strategists, able to synchronize every effort involved in the process: planning, sourcing, producing and delivering a...
-
Explain how to get approvals and compile a formal project plan. Include in your explanation an illustration and use bullets in each sub heading. Discuss how to set up a monitoring and management...
-
Calculate the mole fraction of isopropanol, (CH3)2CHOH, in asolution that is 70.0% isopropanol and 30.0% water by volume. Takethe density of water as 1.00 gcm-3 and the density of isopropanolas...
-
After graduating from college and working a few years at a small technology firm. Preet scored a high-level job in the logistics department at Amex Corporation. Amex sells high-quality electronic...
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-4. Ivan and Irene paid the following in 2012 (all by check or can otherwise be...
-
Van makes an investment in a partnership in 2012. Van's capital contributions to the partnership consisted of $30,000 cash and a building with an adjusted basis of$70,000, subject to a nonrecourse...
-
Scott Butterfield is self-employed as a CPA. He uses the cash method of accounting, and his Social Security number is 644-47-7833. His principal business code is 541211. Scott's CPA practice is...
-
Which of the following is not an important function of heterochromatin formation? a. Gene silencing b. Prevention of viral proliferation c. Splicing of pre-mRNA d. Prevention of movement of...
-
If the VIN3 gene had a loss-of-function mutation, how do you think that would affect the phenotypes of summer-annual and winter-annual Arabidopsis plants? a. Neither type would flower. b. Both types...
-
The effects of paramutation may vary with regard to a. the likelihood that the parmutagenic allele will alter the paramutable allele. b. the stability of the paramutagenic allele over the course of...
Study smarter with the SolutionInn App