- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
四位全加器的VDL与VerilogHDL实现
四位全加器的VHDL/VerilogHDL实现
加法器的分类
(一半加器
信号输入 信号输出 A B S C 0 0 0 0 0 1 1 0 1 0 1 0 1 1 0 1 (1)(2)二全加器
信号输入端 信号输出端 Ai Bi Ci Si Ci 0 0 0 0 0 0 0 1 1 0 0 1 0 1 0 0 1 1 0 1 1 0 0 1 0 1 0 1 0 1 1 1 0 0 1 1 1 1 1 1 module add(A,B,CI,CO,S);
parameter N=4;
input [N:1] A,B;
input CI;
output CO;
output [N:1] S;
assign {CO,S}=A+B+CI;
endmodule
四位全加器常用三种编程方法:
/*module add(s,co,a,b,ci);//行为描述法
output[3:0] s;
output co;
input[3:0] a,b;
input ci;
reg co;
reg[3:0] s;
always@(*)
begin
{co,s}=a+b+ci;
end
endmodule*/
module add(s,co,a,b,ci);//结构描述法
output[3:0] s;
output co;
input[3:0] a,b;
input ci;
full_add1 f0(a[0],b[0],ci,s[0],ci1);
full_add1 f1(a[1],b[1],ci1,s[1],ci2);
full_add1 f2(a[2],b[2],ci2,s[2],ci3);
full_add1 f3(a[3],b[3],ci3,s[3],co);
endmodule
module full_add1(a,b,cin,sum,cout);
input a,b,cin;
output sum,cout;
wire s1,m1,m2,m3;
and(m1,a,b),
(m2,b,cin),
(m3,a,cin);
xor(s1,a,b),
(sum,s1,cin);
or(cout,m1,m2,m3);
endmodule
/*module add(co,s,a,b,ci);//数据流法
output[3:0] s;
output co;
input[3:0] a,b;
input ci;
assign {co,s}=a+b+ci;
endmodule*/
appearance of the weld appearance quality technical requirements of the project must not have a molten metal stream does not melt the base metal to weld, weld seam and heat-affected zone surface must not have cracks, pores, defects such as crater and ash, surface smoothing, weld and base metal should be evenly smooth transition. Width 2-3 mm from the edge of weld Groove. Surface reinforcement should be less than or equal to 1 + 0.2 times the slope edge width, and should not be greater than 4 mm. Depth of undercut should be less than or equal to 0.5 mm, total length of the welds on both sides undercut not exceed 10% of the weld length, and long continuous should not be greater than 100 mm. Wrong side should be less than or at 0.2T, and should not be greater than 2 mm (wall thickness mm t) incomplete or not allow 7.5 7.5.1 ins
您可能关注的文档
- 哲理散文阅读教设计.doc
- 唐玄宗开元年间八学士考1.doc
- 唑来膦酸原料及射液的可行性报告.doc
- 唯物辩证法的两总特征.doc
- 商_业_伦_理导_论_(题库样题).doc
- 商丘市2012高三年级5月第三次模拟考试--理科综合.doc
- 商丘师范学院-结构(第_三四版)戴国欣主编__课后习题答案.doc123.doc
- 商业伦理导论21307 - 修改整理版.doc
- 商业资料高考数考前必看系列材料之一 基本知识篇.doc
- 商业资料高考数考前必看系列材料之三 回归课本篇.doc
- 2025年家庭教育指导服务市场新兴需求与供给创新趋势分析报告.docx
- 2025年VR技术在职业技能培训中的个性化学习模式探索报告.docx
- 潮玩收藏市场前景报告:2025年市场价值与文化传承趋势.docx
- 2025年医疗器械诊断设备智能化变革,人工智能赋能行业应用前景分析报告.docx
- 2025年基因治疗新技术在肿瘤治疗中的应用研究进展报告.docx
- 2025年建筑装饰行业智能化解决方案应用现状与未来十年发展趋势报告.docx
- 2025年水性涂料生产项目环保型涂料市场趋势研究报告.docx
- 2025年城市配送体系新能源车辆应用与效率提升报告.docx
- 银发经济产业链全景解析:2025年市场增长趋势预测报告.docx
- 宠物主人消费行为研究:2025年宠物医疗保健市场前景分析报告.docx
文档评论(0)