2021-06-26
作者:互联网
1实验目的;
利用Quertus和Medus进行联合仿真
2.;实验代码;
module my_rs(reset,set,q,qbar);
input reset,set;
output q,qbar;
nor #(1) n1(q,reset,qbar);
nor #(1) n2(qbar,set,q);
endmodule
module tb_71;
reg set,reset;
wire q,qbar;
initial
begin
set<=0;reset<=1;
#10 set<=0;reset<=0;
#10 set<=1;reset<=0;
#10 set<=1;reset<=1;
end
my_rs rs1(reset,set,q,qbar);
initial
m
o
n
i
t
o
r
(
monitor(
monitor(time,“set= %b,reset= %b,q= %b,qbar= %b”,set,reset,q,qbar);
endmodu
3;实验截图
5;视频网址;【仿真与设计-哔哩哔哩】https://b23.tv/4gFMnY
标签:qbar,reset,26,set,06,10,module,2021,哔哩 来源: https://blog.csdn.net/weixin_56136851/article/details/118247078