ee457_ch4_p1

ee457_ch4_p1 - f[11 FIGURE 4.6 00 FIGURE 4.1 A"b“ M...

Info icon This preview shows pages 1–13. Sign up to view the full content.

View Full Document Right Arrow Icon
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
Image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 4
Image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 6
Image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 8
Image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 10
Image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 12
Image of page 13
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: f [11 FIGURE 4.6 ' 00' FIGURE 4.1 A "b“ M “'3‘ perfonns AND- OR' 3"" “dim“ A 32-bit ALU constructed from 32 I43" ALus. HGURE 4.11 A 1-bit All! that perfonnl AND, (in, and addl'llon (see Figure 4.10). q-B Q- 21.5qu Result FIGURE 4.13 A 1-bit All] that performs AND, OR, and addltlon on a and b or a and B . By selecting b (Binvert = I) and setting Carryln to 1, we get two’s complement subtraction of b from a instead of addition of b to a. Resun Carryout Car r 0 u l' FIGURE 4.14 A 1-bit ALIJ that performs AND, OR, and addition on a and b or E . It includes a direct input that is connected to perlorm the set-on-less-than Operation {see Figure 4.16). -wser FIGURE 4.15 A 1-bit All! for the most significant bit. 11 includes a d' * 1 (ct output from th( adder fortheless than comparison called Set. M s e 8 Loc k 9,6"'6 ResulIO —r Hesulll CarryOuI FIGURE 4.16 A 32-bit ALU constructed from the 31 1-bit ALUs found in Figure 4.14 and one 1-bit ALU faund in Figme 4.15. The Less inputs are connected to Ovexcep! for that; least 5133— nificant bit, and that 15 comected to the 5.?! output of the most significant bit. If the ALU 'p'erlorm: a — b and we select the Inpul 3 in [he multiplexer in figures 4.1-1 and 4.15, then Result :0, 001 if a < b and 0, and 000 otherwise. .- ‘- q -7 q -7 Chapter 4 Arithmetlc for Computers 6 "“‘WW 0 PE RAT! o N no ALUO ——- Less CanyOut lllllllllllll Carryln ALU1 Less CarryOuI Canfin ALU2 Less CarryOut Resun31 Canwn ALU31 Less CanyOut FIGURE 4.1? The Iinal 32-bit ALU. This adds a Zero detector to Figure 4.16, using the 1-bit ALL‘. a: 43- 4-8 4.5 Constructing an Arlthmo‘llc Loglc Unl‘l 195 a Zero Resuu Ouedmw b CarryOul FIGURE 4.18 The symbol commonly used to represent an ALU. as shown In Figure 4.11. This symbol is also used to represem an adder, so it is normally labeled either with ALU or Adder. The control lines labeled ALUOperation include the Operation and Bnegate lines from Figure 4.17; their values and the ALU operalion are [mind in Figure 4.19. _ __ Suqiram Elk Sel-on-Iessvtriarl 5LT FIGURE 4.19 The \m u- : a farce ALU Control [Ines Bnagate and Operation and the corresponding ALU operations. q ._ q (I " ? i IB 5 I RESULT I E LESS ' 1:57 AD‘D R i fl I ALU BUILDING BL'ock 59510501: .QQ‘OSLQXWLLCH MO La-lo TPLH-30 NS THHL-BO us 30 ”s q—Iz q-IL ...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern