full_adder_2.v
上传用户:saul_905
上传日期:2013-11-27
资源大小:184k
文件大小:0k
源码类别:
VHDL/FPGA/Verilog
开发平台:
Visual C++
- `include "half_adder_1.v"
- module full_adder(a,b,cin,out,carry);
- input a,b,cin;
- output carry,out;
- half_adder m1 (a,b,out1,carry1);
- half_adder m2 (cin,out1,out,carry2);
- or m3 (carry,carry1,carry2);
- endmodule