完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
|
|
相关推荐
2个回答
|
|
module adder(a,b,sum,cin,co);
input[3:0] a,b; //input a,b;//input[14:0] a,b; input cin; output[3:0] sum; //output sum;//output[14:0] sum; output co; assign {co,sum}=a+b+cin; endmodule // module subber(a,b,sub,cin,co); input[3:0] a,b; //input a,b;//input[14:0] a,b; input cin; output[3:0] sum; //output sum;//output[14:0] sum; output co; assign {co,sum}=a-b-cin; endmodule /***replace these wrods in//...//***/ |
|
|
|
applezen 发表于 2014-3-19 12:35 真简洁 ![]() |
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
1532 浏览 0 评论
2974 浏览 0 评论
2405 浏览 0 评论
931 浏览 0 评论
1545 浏览 0 评论
3299 浏览 62 评论
6998 浏览 115 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-7-16 15:49 , Processed in 0.523471 second(s), Total 71, Slave 55 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191