//八位带进位的计数器
module cy4(input [7:0]a,
input [7:0]b,
input cin,
output cout,
output [7:0]sum);
assign {cout, sum} = a + b + cin;
endmodule
带进位的八位加法器
猜你喜欢
转载自blog.csdn.net/qq_41982581/article/details/82465106
今日推荐
周排行