Quantcast
Channel: Cadence Functional Verification Forum
Viewing all articles
Browse latest Browse all 1069

Class definition outside module and package

$
0
0

Hi,

I'm new to SV verfication and hence appreciate your help on this.

Usually I've seen SV class definitions inside a module / package . I remember having read before that class definitions cannot exist outside these, and as such cannot be compiled standalone.

But strangely, I've seen IUS14.1 successfully compiling a  .sv file which contains only class definition. Do not see module/package constructs inside the file.

Am I missing something in my understanding? Thanks for your suggestions and help in advance.

Regards

Kishore


Viewing all articles
Browse latest Browse all 1069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>