Remove memory leak when multi-bit module path delays fail
This commit is contained in:
parent
e51ce2a8e9
commit
068f33b35a
|
|
@ -1 +1,2 @@
|
|||
sorry: multi-bit module path delays are currently not fully supported.
|
||||
: using the LSB delay for all bits.
|
||||
|
|
|
|||
|
|
@ -4,3 +4,7 @@
|
|||
5 11 11
|
||||
7 10 11
|
||||
9 10 10
|
||||
10 01 10
|
||||
11 01 11
|
||||
12 01 01
|
||||
PASSED
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"type" : "EF",
|
||||
"source" : "br_gh1184.v",
|
||||
"gold" : "br_gh1184",
|
||||
"remove_gold_check_for_now" : "br_gh1184",
|
||||
"iverilog-args" : [ "-gspecify" ]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -665,9 +665,10 @@ void vvp_fun_modpath::recv_vec4(vvp_net_ptr_t port, const vvp_vector4_t&bit,
|
|||
* is needed for this bit. */
|
||||
if (cur_vec4_.value(idx) == bit.value(idx)) continue;
|
||||
if (tmp != use_delay) {
|
||||
fprintf(stderr, "sorry: multi-bit module path delays are "
|
||||
"currently not fully supported.\n");
|
||||
exit(2);
|
||||
fprintf(stderr, "sorry: multi-bit module path delays are "
|
||||
"currently not fully supported.\n");
|
||||
fprintf(stderr, " : using the LSB delay for all bits.\n");
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue