OpenCores
URL https://opencores.org/ocsvn/8bit_vedic_multiplier/8bit_vedic_multiplier/trunk

Subversion Repositories 8bit_vedic_multiplier

[/] [8bit_vedic_multiplier/] [trunk/] [rtl/] [full_adder.v] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 DragonStar
module full_adder(input a, b, cin, output sum, cout);
2
 
3
        wire sum1,carry1,carry2;
4
        half_adder HA0(a,b,sum1,carry1);
5
        half_adder HA1(cin,sum1,sum,carry2);
6
 
7
        assign cout = carry1 | carry2;
8
 
9
endmodule

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.