2024-08-08 00:37:15 +02:00
|
|
|
%Error: t/t_cast_class_incompat_bad.v:26:28: Dynamic, not static cast, required to cast 'class{}BaseExtended' from 'class{}Base'
|
2023-09-23 14:52:50 +02:00
|
|
|
: ... note: In instance 't'
|
2020-12-06 04:58:36 +01:00
|
|
|
: ... Suggest dynamic $cast
|
|
|
|
|
26 | cls_ab = BaseExtended'(cls_a);
|
2024-08-08 00:37:15 +02:00
|
|
|
| ^
|
2025-04-05 23:10:28 +02:00
|
|
|
... See the manual at https://verilator.org/verilator_doc.html?v=latest for more assistance.
|
2024-08-08 00:37:15 +02:00
|
|
|
%Error: t/t_cast_class_incompat_bad.v:27:20: Incompatible types to static cast to 'class{}Other' from 'class{}BaseExtended'
|
2023-09-23 14:52:50 +02:00
|
|
|
: ... note: In instance 't'
|
2020-12-06 04:58:36 +01:00
|
|
|
27 | other = Other'(cls_ab);
|
2024-08-08 00:37:15 +02:00
|
|
|
| ^
|
2020-12-06 04:58:36 +01:00
|
|
|
%Error: Exiting due to
|