任何人都知道为什么这个case语句不起作用: int width;
width = 8;
case (width === 16)
1'b0: begin
// correct code
end
1'b1: begin
// we end up here
end
endcase
我使用VCS。我试着用DVE调试器来运行它,并且在使
我正在使用SystemVerilog。我的代码是: function write_pixel_data(datastr ds);
/* some stuff here... but no return */
endfunction
话,我打电话给我的功能,如: write_pixel_data(someval);
,我也得到了VCS警告: Warning-[SV-NFIVC] Non-