一、实验目的
使初学者很快能够熟悉ModelSim的基本,功能,更详细的软件说明和应用举例讲在后续的章节中进行介绍。
二、实验工具
pc机和Quartur ii软件和modlsim软件。
三、实验代码
module examplel (x1,x2,s,f);
input x1,x2,s;
output f;
not(k,s);
and(g,k,x1);
and(h,s,x2);
or(f,g,h);
endmodule
四、实验截图
一、实验目的
使初学者很快能够熟悉ModelSim的基本,功能,更详细的软件说明和应用举例讲在后续的章节中进行介绍。
二、实验工具
pc机和Quartur ii软件和modlsim软件。
三、实验代码
module examplel (x1,x2,s,f);
input x1,x2,s;
output f;
not(k,s);
and(g,k,x1);
and(h,s,x2);
or(f,g,h);
endmodule
四、实验截图