|
From: Martin W. <ic...@ma...> - 2019-12-23 12:04:53
|
You are getting a vpiHandle to a temporary value (the evaluation of the
expression {src1,dst2}) in the call to $put_flag and using it in your
EndOfSimTime callback. That can't work - the temporary value only exists
for the lifetime of the call to $put_flag.
Yong Fu wrote:
> Hi,
>
> Have put a test case in git:
>
> https://github.com/tangeraise/iv_debug
>
> Thanks,
>
>> On Dec 21, 2019, at 1:15 PM, Martin Whitaker <ic...@ma...> wrote:
>>
>> fuyong wrote:
>>> Hi,
>>> We are compiling the new version from git to check mainly the new VPI
>>> feature of EndOfSimTime. And we have met the runtime error:
>>> vvp -M . -m vpi1 a.out
>>> vvp: vthread.cc:138: const vvp_vector4_t& vthread:s:peek_vec4(unsigned
>>> int): Assertion `depth < size' failed.
>>> Any chance to tell what is wrong?
>>
>> Not without a test case that allows us to reproduce the error.
>>
>>
>> _______________________________________________
>> Iverilog-devel mailing list
>> Ive...@li...
>> https://lists.sourceforge.net/lists/listinfo/iverilog-devel
>
>
>
>
>
> _______________________________________________
> Iverilog-devel mailing list
> Ive...@li...
> https://lists.sourceforge.net/lists/listinfo/iverilog-devel
>
|