We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8700df2 commit c99eb4bCopy full SHA for c99eb4b
VendorScripts_GHDL.tcl
@@ -47,6 +47,7 @@
47
# limitations under the License.
48
#
49
50
+package require fileutil
51
52
# -------------------------------------------------
53
# Tool Settings
@@ -115,7 +116,7 @@ proc IsVendorCommand {LineOfText} {
115
116
# Library
117
118
proc GhdlLibraryPath {LibraryName PathToLib} {
- set PathAndLib "${PathToLib}/[string tolower ${LibraryName}]/v${::osvvm::VhdlShortVersion}"
119
+ set PathAndLib "[::fileutil::relative [pwd] ${PathToLib}/[string tolower ${LibraryName}]/v${::osvvm::VhdlShortVersion}]"
120
return $PathAndLib
121
}
122
0 commit comments