EDA全加器实验
报告
软件系统测试报告下载sgs报告如何下载关于路面塌陷情况报告535n,sgs报告怎么下载竣工报告下载
1位全加器设计实验报告
彭世晶 32211317
实验目的:用原理图输入法完成半加器和全加器的设计,熟悉和练习Quartus?的应用。
实验原理:1位全加器可以用两个半加器及一个或门连接而成,因此需要首先完成半加器的设计。用最简单的原理图输入法来完成半加器及全加器的设计。 实验真值表:
A B SO CO 0 0 0 0 0 1 1 0 1 0 1 0 1 1 0 1
半加器
ain bin cin cout sum 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
全加器
adership: Luo Mingjun, rectification time: before September 25th, insist for a long time) 1, 2, to further improve research, solve thoroughly, not solid, the effect is not obvious. The major issues and enterprises it is a matter of security bureau year development, the vital interests of the problem, determine the research topic, by members of the Party led research. Basic research to see the truth, to the truth, do not say hello, not pre arranged. After the investigation to submit the research report. 3, insist on grassroots party members take the lead in implementing the line. <. In the construction of work style building long-term mechanism views > and < on the depth of the grassroots, the people, promoting harmony activities notice >, more mines and enterprises, solve the masses of grassroots leaders, mine is not enough. 4, contact a crowd. Combined with the "grassroots cadres contact farmers" activities and each cadres to contact a people, by
实验逻辑图:
半加器
全加器
实验程序:
半加器
module h_adder(a,b,so,co); //半加器描述
input a,b;
output so,co;
assign {co,so}=a+b; //两位二进制数直接相加 endmodule
或门
module or2a(a.b.c); //或门逻辑描述
output c;
input a,b
assign c=a|b;
endmodule
全加器顶层文件
module f_adder(ain,bin,cin,cout,sum); //一位全加器顶层设计描述
output cout,sum;
input ain,bin,cin;
wire e,d,f; //定义网线型变量作内部单元连接线
h_adder u1(ain,bin,e,d); //使用位置关联法进行例化
h_adder u2(.a(e),.so(sum),.b(cin),.co(f));
or2a u3(.a(d),.b(f),.c(cout)); //使用端口名关联法进行例化
adership: Luo Mingjun, rectification time: before September 25th, insist for a long time) mers" activities and each cadres to contact a people, byct fars, solve the masses of grassroots leaders, mine is not enough. 4, contact a crowd. Combined with the "grassroots cadres contasm views > and < on the depth of the grassroots, the people, promoting harmony activities notice >, more mines and enterpriseterm mechani-on grassroots party members take the lead in implementing the line. <. In the construction of work style building longhe truth, to the truth, do not say hello, not pre arranged. After the investigation to submit the research report. 3, insist see t nt, the vital interests of the problem, determine the research topic, by members of the Party led research. Basic research toghly, not solid, the effect is not obvious. The major issues and enterprises it is a matter of security bureau year developme1, 2, to further improve research, solve thorou 2
Endmodule
实验波形图:
半加器
全加器
实验RTL图:
实验结果与分析:
通过EDA实验我对编程环境Quartus?有了一定的了解,也初步了解了硬件平台。我个人认为老师应当增加实验次数,以便我们加强自己的动手能力。
adership: Luo Mingjun, rectification time: before September 25th, insist for a long time) ple, bya peo s not enough. 4, contact a crowd. Combined with the "grassroots cadres contact farmers" activities and each cadres to contactthe people, promoting harmony activities notice >, more mines and enterprises, solve the masses of grassroots leaders, mine iterm mechanism views > and < on the depth of the grassroots, -menting the line. <. In the construction of work style building longarranged. After the investigation to submit the research report. 3, insist on grassroots party members take the lead in imple t prethe research topic, by members of the Party led research. Basic research to see the truth, to the truth, do not say hello, no ajor issues and enterprises it is a matter of security bureau year development, the vital interests of the problem, determine1, 2, to further improve research, solve thoroughly, not solid, the effect is not obvious. The m 3