I can see a yellow icon appearing at the toggle of a signal in my simulations. The icon shows a square wave like image. I tried to look up for an explanation, closest enough was "zero pulse width" but I am still unsure. No documentation explains what it is exactly and what causes it. Its not causing me any problem but I am just curious. Does anyone have any idea ?
问问题
960 次
1 回答
1
这表明在同一仿真时间步中信号上发生了多次转换。这可以扩展以显示中间值。请参阅 Cadence 论坛上的讨论:http: //community.cadence.com/cadence_technology_forums/f/30/t/26894
一些显示行为的示例代码:
module test;
logic [1:0] bus;
initial begin
bus = 2'b00;
#10;
for(int i = 0; i<8; i++) begin
bus = bus + 1;
end
#10;
bus = 2'b11;
#10;
$finish();
end
endmodule
于 2016-03-23T11:18:23.330 回答