reg [3:0] a = 4’b0001; reg [3:0] b = 4’b0xx1; reg [3:0] c = 4’b0xx1; reg j,k,l; initial begin j = (a==b); k = (a==?c); l = (b===c); end
区块链毕设网qklbishe.com为您提供问题的解答
reg [3:0] a = 4’b0001;
reg [3:0] b = 4’b0xx1;
reg [3:0] c = 4’b0xx1;
reg j,k,l;
initial begin
j = (a==b);
k = (a==?c);
l = (b===c);
end
== 表示 只要数值相等 即可认为ture ===表示 要类型和数值全部相等 才为ture
32:38
以上就是关于问题reg [3:0] a = 4’b0001; reg [3:0] b = 4’b0xx1; reg [3:0] c = 4’b0xx1;
reg j,k,l;
initial begin j = (a==b);
k = (a==?c);
l = (b===c); end的答案
欢迎关注区块链毕设网-
专业区块链毕业设计成品源码,定制。
区块链NFT链游项目方科学家脚本开发培训