File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
lib/src/main/scala/dfhdl/tools/toolsCore Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -46,8 +46,12 @@ object NVC extends VHDLLinter, VHDLSimulator:
46
46
s " WORK. ${topNameUC}_PKG " ,
47
47
s " WORK. ${topNameUC}_PKG-body "
48
48
)
49
- val topWorkFiles = List (s " WORK. ${topNameUC}.elab " , s " _WORK. ${topNameUC}.pack " )
50
- val extraFiles = List (" _index." , " _NVC_LIB." )
49
+ val versionDouble = this .installedVersion.get.split(" \\ ." ).take(2 ).mkString(" ." ).toDouble
50
+ val topElabFile =
51
+ if (versionDouble >= 1.17 ) s " _WORK. ${topNameUC}.elab.pack "
52
+ else s " _WORK. ${topNameUC}.pack "
53
+ val topWorkFiles = List (s " WORK. ${topNameUC}.elab " , topElabFile)
54
+ val extraFiles = List (" _index" , " _NVC_LIB" )
51
55
val allFiles = extraFiles ++ topWorkFiles ++ dsnPackageWorkFiles ++ designWorkFiles
52
56
allFiles.map(name => s " work ${separatorChar}${name}" )
53
57
end producedFiles
You can’t perform that action at this time.
0 commit comments