G
guestuser1
Guest
In the OVM2.0 user-guide, they go through some general object-oriented
programming concepts (classes, etc.)
This includes examples with parameterized SV classes:
class my_widget #( parameter int DATA_WIDTH = 32 );
....
endclass : my_widget
typedef struct {
...
} ts_blah;
class my_super_widget #( parameter type T = ts_blah );
....
endclass : my_super_widget
I tried this isolated class-declaration inside Modelsim XE 6.3c, and it
compiled and simulated without problem.
(of course, XE won't do OVM at all.)
But when I tried to compile this in IES81-s006, irun returned a
compile-error.
Apparently, parameterized systemverilog classes are not supported yet.
Am I missing something? Is the OVM 2.0 user's guide just giving abstract
examples that may or may not work on existing OVM-compliant simulators?
programming concepts (classes, etc.)
This includes examples with parameterized SV classes:
class my_widget #( parameter int DATA_WIDTH = 32 );
....
endclass : my_widget
typedef struct {
...
} ts_blah;
class my_super_widget #( parameter type T = ts_blah );
....
endclass : my_super_widget
I tried this isolated class-declaration inside Modelsim XE 6.3c, and it
compiled and simulated without problem.
(of course, XE won't do OVM at all.)
But when I tried to compile this in IES81-s006, irun returned a
compile-error.
Apparently, parameterized systemverilog classes are not supported yet.
Am I missing something? Is the OVM 2.0 user's guide just giving abstract
examples that may or may not work on existing OVM-compliant simulators?