1.实验目的:
使用Quartur ii软件和modelsim并进行译码器的门级建模
2.实验内容:
参照今日头条中教程的代码,然后用quartus ii和modlsim并进行译码器的门级建模
3.实验原理:按照视频上的内容,书写和运行代码,完成联合仿真操作
module DEC2x4 (Z,A,B,Enable );
output [3:0] Z;
input A , B ,Enable;
wire Abar,Bbar;
not
not0 ( Abar, A) ,
not1( Bbar,B );
nand
nand0 ( Z[3], Enable, A,B) ,
nand1 ( Z[0], Enable, Abar,Bbar),
nand2 ( Z[1], Enable, Abar,B),
nand3 ( Z[2], Enable, A, Bbar) ;
endmodule
4实验工具:
pc机和Quartur ii软件和modlsim软件。
5.实验截图:
6.实验视频:
请下载哔哩哔哩动画打开此网址:
https://b23.tv/Zj5L7U