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

Subversion Repositories 8bit_vedic_multiplier

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 DragonStar
module ripple_adder_8bit(input [7:0] a,b, input cin, output [7:0] sum, output cout);
2
 
3
        wire carry;
4
 
5
        ripple_adder_4bit RA0(a[3:0],b[3:0],cin,sum[3:0],carry);
6
        ripple_adder_4bit RA1(a[7:4],b[7:4],carry,sum[7:4],cout);
7
 
8
endmodule

powered by: WebSVN 2.1.0

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