Tuesday, September 25, 2007

Structural PFA verilog Partial Full Adder


module pfa(
output p, g, s,
input a, b, cin);
xor #1 sumer(s, a, b, cin);
xor #1 proper(p, a, b);
and #1 gener(g, a, b);
endmodule

0 comments: