I have several examples of VCD output scope definitions that lead to bad scopes with the latest version of Veriwell (2.8.7). Here's one example:
call_task( 1'b0 );
call_task( 1'b1 );
$dumpfile( "task3.vcd" );
$dumpvars( 0, main );
$display( $time, "Task called for a=%h", a );
This generates the following VCD dumpfile:
Sun May 17 23:47:15 2009
$scope task call_task $end
$var reg 1 ! a $end
The problem is that there is only one $scope call but two $upscope calls. There should be a $scope call for "main" prior to the $scope call to the "call_task" task. I have run into other issues where the $scope and $upscope calls don't match up (too many of one and not enough of the other). If this problem can be fixed, I can verify the other situations and append them to this bug report accordingly.
Log in to post a comment.