Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shreesh-Kulkarni committed Oct 23, 2023
1 parent 359f855 commit 0dd0c2f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions comblogic/fadderstr.v
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
`include "hadf.v"
module fadd(a,b,cin,sum,cout);
input a,b,cin;
output sum,cout;
wire s1,c1,c2;
hadf g1(a,b,s1,c1);
hadf g2(s1,cin,sum,c2);
assign cout=c1|c2;
endmodule


0 comments on commit 0dd0c2f

Please sign in to comment.