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...
-
Fit a normal distribution to the histogram of Prob. 201. Superpose the probability density function on the f / (Nw) histographic plot
-
Cassandra SA's comparative statements of financial position are presented below. Additional information: 1. Net income was ¬23,300. Dividends declared and paid were ¬14,600. 2. Equipment that...
-
Three bars, each made of different materials, are connected together and placed between two walls when the temperature is T 1 = 12C. Determine the force exerted on the (rigid) supports when the...
-
Following are business activities completed by Joel Douglas during the month of November 2014: a. Invested $100,000 cash and office equipment with a $9,000 fair value in a new sole proprietorship...
-
A baseball catcher is performing a stunt for a television commercial. He will catch a baseball with mass m = 173 g, dropped from rest at a height y = 62 m above his glove. The glove brings the ball...
-
You are a health care manager at a nursing home. You are looking to expand your business arrangements and your boss suggests Stanford Health as an option. She asks you to do an analysis on their...
-
Instructions Enter your name and Access ID ('aa1234' format) in the cells above. The data required for this case will not appear until you do so. You are a financial manager for Zoom Corp., which...
-
The following accounts are in Whispering Winds Limiteds December 3 1 , 2 0 2 3 trial balance: Prepaid Rent $ 1 , 5 0 0 ; FV - OCI Investments $ 6 9 , 0 0 0 ; Unearned Revenue $ 8 , 1 0 0 ; Land Held...
-
Use the adjusted trial balance for Stockton Company to answer the question that follows. Stockton Company Adjusted Trial Balance December 3 1 Line Item Description Amount Amount Cash 6 , 8 4 0...
-
Estimate the mean of the number of students enrolled in each math class offered at a college given in the following grouped frequency table. Round the final answer to one decimal place. Provide your...
-
Measurements show that a honeybee in active flight can acquire an electrostatic charge as great as 9 7 . 6 pC . How many electrons must be transferred to produce this charge? Suppose two bees, each...
-
To buy a truck, a company can opt for a loan under the following conditions: pay for 7 years equal installments of 550,000 at the end of each two-month period at an effective bimonthly interest rate...
-
2. For which of the following reactions. Equilibrium constant (k) is less than unity? (a) (CD3)C-H+ (CH3)3C (CD3)3C +(CH3)3C-H 0 (b) + NH = + CH4 (c) CH3-CEC-H+NH CH3-CEC : + NH3 e (d) + NH > + NH3
-
1. True or False. Pitfalls to consider in a statistical test include nonrandom samples, small sample size, and lack of causal links. 2. Because 25 percent of the students in my morning statistics...
-
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...
-
What are the basic forms of international business activity?
-
Discuss the meaning of international business.
-
What is international business? How does it differ from domestic business?
Study smarter with the SolutionInn App