Basic adders and multipliers from Wakerly.ppt
Transcript of Basic adders and multipliers from Wakerly.ppt
![Page 1: Basic adders and multipliers from Wakerly.ppt](https://reader033.fdocuments.net/reader033/viewer/2022051521/5868df301a28abbe3f8c311f/html5/thumbnails/1.jpg)
AddersAdders
![Page 2: Basic adders and multipliers from Wakerly.ppt](https://reader033.fdocuments.net/reader033/viewer/2022051521/5868df301a28abbe3f8c311f/html5/thumbnails/2.jpg)
Full adder
![Page 3: Basic adders and multipliers from Wakerly.ppt](https://reader033.fdocuments.net/reader033/viewer/2022051521/5868df301a28abbe3f8c311f/html5/thumbnails/3.jpg)
4-bit ripple adder
![Page 4: Basic adders and multipliers from Wakerly.ppt](https://reader033.fdocuments.net/reader033/viewer/2022051521/5868df301a28abbe3f8c311f/html5/thumbnails/4.jpg)
Subtractor from adderSubtractor from adder
![Page 5: Basic adders and multipliers from Wakerly.ppt](https://reader033.fdocuments.net/reader033/viewer/2022051521/5868df301a28abbe3f8c311f/html5/thumbnails/5.jpg)
Carry look-ahead adderCarry look-ahead adder
Previous inputs are in this logic here to speed – up the carry propagation
![Page 6: Basic adders and multipliers from Wakerly.ppt](https://reader033.fdocuments.net/reader033/viewer/2022051521/5868df301a28abbe3f8c311f/html5/thumbnails/6.jpg)
74x283 4-bit 74x283 4-bit binary adderbinary adder
G and P bits go to all previous bits
![Page 7: Basic adders and multipliers from Wakerly.ppt](https://reader033.fdocuments.net/reader033/viewer/2022051521/5868df301a28abbe3f8c311f/html5/thumbnails/7.jpg)
74x283 4-bit binary adder74x283 4-bit binary adder
This chip is This chip is internally a internally a Carry look-Carry look-
ahead adderahead adder
![Page 8: Basic adders and multipliers from Wakerly.ppt](https://reader033.fdocuments.net/reader033/viewer/2022051521/5868df301a28abbe3f8c311f/html5/thumbnails/8.jpg)
16-bit group-ripple adder built from 74X283 16-bit group-ripple adder built from 74X283 AddersAdders
![Page 9: Basic adders and multipliers from Wakerly.ppt](https://reader033.fdocuments.net/reader033/viewer/2022051521/5868df301a28abbe3f8c311f/html5/thumbnails/9.jpg)
ALUALU
![Page 10: Basic adders and multipliers from Wakerly.ppt](https://reader033.fdocuments.net/reader033/viewer/2022051521/5868df301a28abbe3f8c311f/html5/thumbnails/10.jpg)
74x181 4-bit ALU74x181 4-bit ALU
![Page 11: Basic adders and multipliers from Wakerly.ppt](https://reader033.fdocuments.net/reader033/viewer/2022051521/5868df301a28abbe3f8c311f/html5/thumbnails/11.jpg)
74x181 4-bit ALU
![Page 12: Basic adders and multipliers from Wakerly.ppt](https://reader033.fdocuments.net/reader033/viewer/2022051521/5868df301a28abbe3f8c311f/html5/thumbnails/12.jpg)
4-bit ALUs: 74X381 and 4-bit ALUs: 74X381 and 74x38274x382
![Page 13: Basic adders and multipliers from Wakerly.ppt](https://reader033.fdocuments.net/reader033/viewer/2022051521/5868df301a28abbe3f8c311f/html5/thumbnails/13.jpg)
74x381 and 74x382 ALUs74x381 and 74x382 ALUs
![Page 14: Basic adders and multipliers from Wakerly.ppt](https://reader033.fdocuments.net/reader033/viewer/2022051521/5868df301a28abbe3f8c311f/html5/thumbnails/14.jpg)
74x182 Lookahead Carry 74x182 Lookahead Carry CircuitCircuit
![Page 15: Basic adders and multipliers from Wakerly.ppt](https://reader033.fdocuments.net/reader033/viewer/2022051521/5868df301a28abbe3f8c311f/html5/thumbnails/15.jpg)
16-bit ALU 16-bit ALU using using group-group-carry carry
lookaheadlookahead
74x182 Lookahead Carry Circuit
74x381 ALU
![Page 16: Basic adders and multipliers from Wakerly.ppt](https://reader033.fdocuments.net/reader033/viewer/2022051521/5868df301a28abbe3f8c311f/html5/thumbnails/16.jpg)
Two ways to realize Two ways to realize Selectable AdditionSelectable Addition
![Page 17: Basic adders and multipliers from Wakerly.ppt](https://reader033.fdocuments.net/reader033/viewer/2022051521/5868df301a28abbe3f8c311f/html5/thumbnails/17.jpg)
Verilog for additionVerilog for addition
![Page 18: Basic adders and multipliers from Wakerly.ppt](https://reader033.fdocuments.net/reader033/viewer/2022051521/5868df301a28abbe3f8c311f/html5/thumbnails/18.jpg)
Verilog for adder sharing
![Page 19: Basic adders and multipliers from Wakerly.ppt](https://reader033.fdocuments.net/reader033/viewer/2022051521/5868df301a28abbe3f8c311f/html5/thumbnails/19.jpg)
Verilog continuous assignment statement
![Page 20: Basic adders and multipliers from Wakerly.ppt](https://reader033.fdocuments.net/reader033/viewer/2022051521/5868df301a28abbe3f8c311f/html5/thumbnails/20.jpg)
8-bit 8-bit 74x381-74x381-like ALUlike ALU
![Page 21: Basic adders and multipliers from Wakerly.ppt](https://reader033.fdocuments.net/reader033/viewer/2022051521/5868df301a28abbe3f8c311f/html5/thumbnails/21.jpg)
MultiplierMultiplier
![Page 22: Basic adders and multipliers from Wakerly.ppt](https://reader033.fdocuments.net/reader033/viewer/2022051521/5868df301a28abbe3f8c311f/html5/thumbnails/22.jpg)
Partial products in a 8*8 multiplier
![Page 23: Basic adders and multipliers from Wakerly.ppt](https://reader033.fdocuments.net/reader033/viewer/2022051521/5868df301a28abbe3f8c311f/html5/thumbnails/23.jpg)
Interconnections for a 8*8 multiplier
![Page 24: Basic adders and multipliers from Wakerly.ppt](https://reader033.fdocuments.net/reader033/viewer/2022051521/5868df301a28abbe3f8c311f/html5/thumbnails/24.jpg)
A Faster A Faster variant of a 8*8 variant of a 8*8 combinational combinational multipliermultiplier
![Page 25: Basic adders and multipliers from Wakerly.ppt](https://reader033.fdocuments.net/reader033/viewer/2022051521/5868df301a28abbe3f8c311f/html5/thumbnails/25.jpg)
Verilog for 8*8 combinational multiplier
![Page 26: Basic adders and multipliers from Wakerly.ppt](https://reader033.fdocuments.net/reader033/viewer/2022051521/5868df301a28abbe3f8c311f/html5/thumbnails/26.jpg)
Behavioral Behavioral Verilog 8*8 Verilog 8*8 multipliermultiplier
![Page 27: Basic adders and multipliers from Wakerly.ppt](https://reader033.fdocuments.net/reader033/viewer/2022051521/5868df301a28abbe3f8c311f/html5/thumbnails/27.jpg)
Verilog variable names for a 8*8 multiplier
![Page 28: Basic adders and multipliers from Wakerly.ppt](https://reader033.fdocuments.net/reader033/viewer/2022051521/5868df301a28abbe3f8c311f/html5/thumbnails/28.jpg)
Structural Structural Verilog for a Verilog for a 8*8 8*8 combinational combinational multipliermultiplier
![Page 29: Basic adders and multipliers from Wakerly.ppt](https://reader033.fdocuments.net/reader033/viewer/2022051521/5868df301a28abbe3f8c311f/html5/thumbnails/29.jpg)
Verilog testbench for a 8*8 combinational multiplierVerilog testbench for a 8*8 combinational multiplier