粗暴机器猫

文章
4
资源
0
加入时间
4年1月25天

基本数字电路的Verilog实现

基本数字电路的Verilog实现1.半加器module halfadd(x,y,s,cout);input x;input y;output s;output cout;assign s = x^y;assign cout = x&y;endmodule半加器RTL视图2.全加器module fulladd(cin,x,y,s,cout);input cin;input x;input y;output s;output cout;assign s = xycin