2026-03-08 23:26:40 +01:00
|
|
|
%Error: t/t_class_param_enum_bad.v:25:40: Assign RHS expects a CLASSREFDTYPE 'Converter__Tz2', got CLASSREFDTYPE 'Converter__Tz1'
|
2023-09-23 14:52:50 +02:00
|
|
|
: ... note: In instance 't'
|
2026-03-08 23:26:40 +01:00
|
|
|
25 | automatic Converter #(bit) conv2 = conv1;
|
|
|
|
|
| ^~~~~
|
2025-04-05 23:10:28 +02:00
|
|
|
... See the manual at https://verilator.org/verilator_doc.html?v=latest for more assistance.
|
2026-03-20 17:11:22 +01:00
|
|
|
%Error-ENUMVALUE: t/t_class_param_enum_bad.v:26:17: Implicit conversion to enum 'enum{}$unit::enum_t' from 'bit[31:0]' (IEEE 1800-2023 6.19.3)
|
2023-09-23 14:52:50 +02:00
|
|
|
: ... note: In instance 't'
|
2023-05-24 15:51:03 +02:00
|
|
|
: ... Suggest use enum's mnemonic, or static cast
|
2026-03-08 23:26:40 +01:00
|
|
|
26 | conv1.toInt(0);
|
|
|
|
|
| ^
|
2023-05-24 15:51:03 +02:00
|
|
|
... For error description see https://verilator.org/warn/ENUMVALUE?v=latest
|
|
|
|
|
%Error: Exiting due to
|