| |
1)
Verdi中compile and dump systemverilog compliant,specify the –sv or –sverilog option in Verdi
% Verdi –f run.f –sv
2)
if there is a mixture of verilog and systemverilog design files,then compile with:
% Verdi –f run.f +systemverilog ext+.sv+.SV +verilog2001ext+.v2k
Or if verilog files use .v use
+verilog2001ext+.v+.V
NOTE:With above +ext+ emamples,files with extension name(.sv or .SV) will automatically be recognized as systemverilog. File with extension name(.v2k) will automatically be recognized as verilog-2011. Files with extension name(.v) will automatically be recognized as verilog-95