.sv 文件與.svh文件沒有本質區別。通常,需要被include 到package的文件定義為.svh類型, 其他的文件定義為.sv類型。
.svh后綴的文件即systemverilog include文件。
Class templates that are declared within the scope of a package should be separated out into individual files with a .svh extension. These files should be included in the package in the order in which they need to be compiled. The package file is the only place where
includes should be used, there should be no further `include statements inside the included files. Justification: Having the classes declared in separate files makes them easier to maintain, and it also makes it clearer what the package content is.