Author : Kishore Papisetty
module fullsubtractor(
output diff,
output br,
input a,
input b,
input c
);
assign diff = a^b^c;
assign br = (~a&b)|(~a&c)|(b&c);
endmodule
module fullsubtractor(
output diff,
output br,
input a,
input b,
input c
);
assign diff = a^b^c;
assign br = (~a&b)|(~a&c)|(b&c);
endmodule
Comments
Post a Comment