diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/vendors/compile-altera.ps1 | 16 | ||||
| -rw-r--r-- | scripts/vendors/compile-intel.ps1 | 20 | ||||
| -rw-r--r-- | scripts/vendors/compile-lattice.ps1 | 6 | ||||
| -rw-r--r-- | scripts/vendors/compile-xilinx-ise.ps1 | 2 | ||||
| -rw-r--r-- | scripts/vendors/compile-xilinx-vivado.ps1 | 2 | 
5 files changed, 23 insertions, 23 deletions
| diff --git a/scripts/vendors/compile-altera.ps1 b/scripts/vendors/compile-altera.ps1 index 4efa91b78..0c1f948cf 100644 --- a/scripts/vendors/compile-altera.ps1 +++ b/scripts/vendors/compile-altera.ps1 @@ -118,7 +118,7 @@ if ($All)  function Get-AlteraQuartusDirectory  {	if (Test-Path env:QUARTUS_ROOTDIR) -	{	return $QUARTUS_ROOTDIR + "\" + (Get-VendorToolSourceDirectory)    } +	{	return $env:QUARTUS_ROOTDIR + "\" + (Get-VendorToolSourceDirectory)    }  	else  	{	$EnvSourceDir = ""  		foreach ($Drive in Get-PSDrive -PSProvider 'FileSystem') @@ -465,7 +465,7 @@ if ((-not $StopCompiling) -and $Cyclone)  	$SourceFiles = $Files | % { "$SourceDirectory\$_" }  	if (Test-Path $SourceFiles[0]) -	{	$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)  	}  } @@ -482,7 +482,7 @@ if ((-not $StopCompiling) -and $Stratix)  	$SourceFiles = $Files | % { "$SourceDirectory\$_" }  	if (Test-Path $SourceFiles[0]) -	{	$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)  	}  } @@ -497,7 +497,7 @@ if ((-not $StopCompiling) -and $Stratix)  	$SourceFiles = $Files | % { "$SourceDirectory\$_" }  	if (Test-Path $SourceFiles[0]) -	{	$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)  	}  } @@ -514,7 +514,7 @@ if ((-not $StopCompiling) -and $Stratix)  	$SourceFiles = $Files | % { "$SourceDirectory\$_" }  	if (Test-Path $SourceFiles[0]) -	{	$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)  	}  } @@ -529,7 +529,7 @@ if ((-not $StopCompiling) -and $Stratix)  	$SourceFiles = $Files | % { "$SourceDirectory\$_" }  	if (Test-Path $SourceFiles[0]) -	{	$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)  	}  } @@ -544,7 +544,7 @@ if ((-not $StopCompiling) -and $Nanometer)  	$SourceFiles = $Files | % { "$SourceDirectory\$_" }  	if (Test-Path $SourceFiles[0]) -	{	$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)  	}  } @@ -563,7 +563,7 @@ if ((-not $StopCompiling) -and $Nanometer)  	$SourceFiles = $Files | % { "$SourceDirectory\$_" }  	if (Test-Path $SourceFiles[0]) -	{	$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)  	}  } diff --git a/scripts/vendors/compile-intel.ps1 b/scripts/vendors/compile-intel.ps1 index e2bd259d0..0e3ba781c 100644 --- a/scripts/vendors/compile-intel.ps1 +++ b/scripts/vendors/compile-intel.ps1 @@ -118,7 +118,7 @@ if ($All)  function Get-AlteraQuartusDirectory  {	if (Test-Path env:QUARTUS_ROOTDIR) -	{	return $QUARTUS_ROOTDIR + "\" + (Get-VendorToolSourceDirectory)    } +	{	return $env:QUARTUS_ROOTDIR + "\" + (Get-VendorToolSourceDirectory)    }  	else  	{	$EnvSourceDir = ""  		foreach ($Drive in Get-PSDrive -PSProvider 'FileSystem') @@ -433,7 +433,7 @@ if ((-not $StopCompiling) -and $Cyclone)  	$SourceFiles = $Files | % { "$SourceDirectory\$_" }  	if (Test-Path $SourceFiles[0]) -	{	$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)  	}  } @@ -448,7 +448,7 @@ if ((-not $StopCompiling) -and $Cyclone)  	$SourceFiles = $Files | % { "$SourceDirectory\$_" }  	if (Test-Path $SourceFiles[0]) -	{	$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)  	}  } @@ -465,7 +465,7 @@ if ((-not $StopCompiling) -and $Cyclone)  	$SourceFiles = $Files | % { "$SourceDirectory\$_" }  	if (Test-Path $SourceFiles[0]) -	{	$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)  	}  } @@ -482,7 +482,7 @@ if ((-not $StopCompiling) -and $Stratix)  	$SourceFiles = $Files | % { "$SourceDirectory\$_" }  	if (Test-Path $SourceFiles[0]) -	{	$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)  	}  } @@ -497,7 +497,7 @@ if ((-not $StopCompiling) -and $Stratix)  	$SourceFiles = $Files | % { "$SourceDirectory\$_" }  	if (Test-Path $SourceFiles[0]) -	{	$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)  	}  } @@ -514,7 +514,7 @@ if ((-not $StopCompiling) -and $Stratix)  	$SourceFiles = $Files | % { "$SourceDirectory\$_" }  	if (Test-Path $SourceFiles[0]) -	{	$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)  	}  } @@ -529,7 +529,7 @@ if ((-not $StopCompiling) -and $Stratix)  	$SourceFiles = $Files | % { "$SourceDirectory\$_" }  	if (Test-Path $SourceFiles[0]) -	{	$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)  	}  } @@ -544,7 +544,7 @@ if ((-not $StopCompiling) -and $Nanometer)  	$SourceFiles = $Files | % { "$SourceDirectory\$_" }  	if (Test-Path $SourceFiles[0]) -	{	$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)  	}  } @@ -563,7 +563,7 @@ if ((-not $StopCompiling) -and $Nanometer)  	$SourceFiles = $Files | % { "$SourceDirectory\$_" }  	if (Test-Path $SourceFiles[0]) -	{	$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)  	}  } 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)  } diff --git a/scripts/vendors/compile-xilinx-ise.ps1 b/scripts/vendors/compile-xilinx-ise.ps1 index 947d70fd9..39b363117 100644 --- a/scripts/vendors/compile-xilinx-ise.ps1 +++ b/scripts/vendors/compile-xilinx-ise.ps1 @@ -108,7 +108,7 @@ if ($All)  function Get-XilinxISEDirectory  {	if (Test-Path env:XILINX) -	{	return $XILINX + "\" + (Get-VendorToolSourceDirectory)    } +	{	return $env:XILINX + "\" + (Get-VendorToolSourceDirectory)    }  	else  	{	$EnvSourceDir = ""  		foreach ($Drive in Get-PSDrive -PSProvider 'FileSystem') diff --git a/scripts/vendors/compile-xilinx-vivado.ps1 b/scripts/vendors/compile-xilinx-vivado.ps1 index 790dd09a5..a411ababa 100644 --- a/scripts/vendors/compile-xilinx-vivado.ps1 +++ b/scripts/vendors/compile-xilinx-vivado.ps1 @@ -99,7 +99,7 @@ if ($All)  function Get-XilinxVivadoDirectory  {	if (Test-Path env:XILINX_VIVADO) -	{	return $XILINX_VIVADO + "\" + (Get-VendorToolSourceDirectory)    } +	{	return $env:XILINX_VIVADO + "\" + (Get-VendorToolSourceDirectory)    }  	else  	{	$EnvSourceDir = ""  		foreach ($Drive in Get-PSDrive -PSProvider 'FileSystem') | 
