2008年10月13日 星期一

2008年10月13號 Add-half (Behavoral Modeling)

module add_half (sum,c_out,a,b);
input a,b;
output sum,c_out;
reg sum,c_out;

always
begin
sum=a+b;
c_out=a*b;
end
endmodule

沒有留言: