verilator/test_regress/t/t_randomize_method_bad.out

12 lines
744 B
Plaintext

%Error: t/t_randomize_method_bad.v:8:17: 'randomize' is a predefined class method; redefinition not allowed (IEEE 1800-2023 18.6.3)
8 | function int randomize;
| ^~~~~~~~~
... See the manual at https://verilator.org/verilator_doc.html?v=latest for more assistance.
%Error: t/t_randomize_method_bad.v:14:18: 'randomize' is a predefined class method; redefinition not allowed (IEEE 1800-2023 18.6.3)
14 | function void randomize(int x);
| ^~~~~~~~~
%Error: t/t_randomize_method_bad.v:16:18: 'srandom' is a predefined class method; redefinition not allowed (IEEE 1800-2023 18.6.3)
16 | function void srandom(int seed);
| ^~~~~~~
%Error: Exiting due to