13 lines
900 B
Plaintext
13 lines
900 B
Plaintext
%Error: t/t_class_param_enum_bad.v:25:40: Assign RHS expects a CLASSREFDTYPE 'Converter__Tz2', got CLASSREFDTYPE 'Converter__Tz1'
|
|
: ... note: In instance 't'
|
|
25 | automatic Converter #(bit) conv2 = conv1;
|
|
| ^~~~~
|
|
... See the manual at https://verilator.org/verilator_doc.html?v=latest for more assistance.
|
|
%Error-ENUMVALUE: t/t_class_param_enum_bad.v:26:17: Implicit conversion to enum 'enum{}$unit::enum_t' from 'logic[31:0]' (IEEE 1800-2023 6.19.3)
|
|
: ... note: In instance 't'
|
|
: ... Suggest use enum's mnemonic, or static cast
|
|
26 | conv1.toInt(0);
|
|
| ^
|
|
... For error description see https://verilator.org/warn/ENUMVALUE?v=latest
|
|
%Error: Exiting due to
|