1.实验目的:了解D触发器
2.实验内容:主从D触发器的门级建模
3.实验代码:
module
fulladd(sum,c_out,a,b,c_in);
output sum,c_out ;
input a,b,c_in;
wire
s1, c1, c2 ;
xor
(s1,a,b) ;
and
(c1,a,b) ;
xor
(sum, s1,c_in) ;
and
(c2,s1,c_in) ;
or(c_out,c2,c1) ;
endmodule
4.实验原理:门级建模
5.实验视频:1.0 Tl:/ 主从D触发器的门级建模;ΔΔHbE6iUR7Gi8ΔΔ椱制咑开抖音
6.实验结果: