Basic adders and multipliers from Wakerly.ppt
Transcript of Basic adders and multipliers from Wakerly.ppt
AddersAdders
Full adder
4-bit ripple adder
Subtractor from adderSubtractor from adder
Carry look-ahead adderCarry look-ahead adder
Previous inputs are in this logic here to speed – up the carry propagation
74x283 4-bit 74x283 4-bit binary adderbinary adder
G and P bits go to all previous bits
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
16-bit group-ripple adder built from 74X283 16-bit group-ripple adder built from 74X283 AddersAdders
ALUALU
74x181 4-bit ALU74x181 4-bit ALU
74x181 4-bit ALU
4-bit ALUs: 74X381 and 4-bit ALUs: 74X381 and 74x38274x382
74x381 and 74x382 ALUs74x381 and 74x382 ALUs
74x182 Lookahead Carry 74x182 Lookahead Carry CircuitCircuit
16-bit ALU 16-bit ALU using using group-group-carry carry
lookaheadlookahead
74x182 Lookahead Carry Circuit
74x381 ALU
Two ways to realize Two ways to realize Selectable AdditionSelectable Addition
Verilog for additionVerilog for addition
Verilog for adder sharing
Verilog continuous assignment statement
8-bit 8-bit 74x381-74x381-like ALUlike ALU
MultiplierMultiplier
Partial products in a 8*8 multiplier
Interconnections for a 8*8 multiplier
A Faster A Faster variant of a 8*8 variant of a 8*8 combinational combinational multipliermultiplier
Verilog for 8*8 combinational multiplier
Behavioral Behavioral Verilog 8*8 Verilog 8*8 multipliermultiplier
Verilog variable names for a 8*8 multiplier
Structural Structural Verilog for a Verilog for a 8*8 8*8 combinational combinational multipliermultiplier
Verilog testbench for a 8*8 combinational multiplierVerilog testbench for a 8*8 combinational multiplier