aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/vendors/compile-lattice.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vendors/compile-lattice.ps1')
-rw-r--r--scripts/vendors/compile-lattice.ps16
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/vendors/compile-lattice.ps1 b/scripts/vendors/compile-lattice.ps1
index ca002be4e..7e36c322d 100644
--- a/scripts/vendors/compile-lattice.ps1
+++ b/scripts/vendors/compile-lattice.ps1
@@ -146,7 +146,7 @@ if ($All)
function Get-LatticeDiamondDirectory
{ if (Test-Path env:FOUNDRY)
- { return $FOUNDRY + "\..\" + (Get-VendorToolSourceDirectory) }
+ { return $env:FOUNDRY + "\..\" + (Get-VendorToolSourceDirectory) }
else
{ $EnvSourceDir = ""
foreach ($Drive in Get-PSDrive -PSProvider 'FileSystem')
@@ -370,7 +370,7 @@ if ((-not $StopCompiling) -and $xp)
{ $Library = "xp"
$SourceFiles = $FileLists[$Library] | % { "$SourceDirectory\$Library\src\$_" }
- $ErrorCount += Start-PackageCompilation $GHDLBinary $GHDLOptions $DestinationDirectory $Library $VHDLVersion $SourceFiles $SuppressWarnings $HaltOnError -Verbose:$EnableVerbose -Debug:$EnableDebug
+ $ErrorCount += Start-PackageCompilation $GHDLBinary $Analyze_Parameters $DestinationDirectory $Library $VHDLVersion $SourceFiles $SuppressWarnings $HaltOnError -Verbose:$EnableVerbose -Debug:$EnableDebug
$StopCompiling = $HaltOnError -and ($ErrorCount -ne 0)
}
@@ -380,7 +380,7 @@ if ((-not $StopCompiling) -and $xp2)
{ $Library = "xp2"
$SourceFiles = $FileLists[$Library] | % { "$SourceDirectory\$Library\src\$_" }
- $ErrorCount += Start-PackageCompilation $GHDLBinary $GHDLOptions $DestinationDirectory $Library $VHDLVersion $SourceFiles $SuppressWarnings $HaltOnError -Verbose:$EnableVerbose -Debug:$EnableDebug
+ $ErrorCount += Start-PackageCompilation $GHDLBinary $Analyze_Parameters $DestinationDirectory $Library $VHDLVersion $SourceFiles $SuppressWarnings $HaltOnError -Verbose:$EnableVerbose -Debug:$EnableDebug
$StopCompiling = $HaltOnError -and ($ErrorCount -ne 0)
}