aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/vendors/compile-uvvm.ps12
-rw-r--r--scripts/vendors/compile-xilinx-vivado.ps12
-rw-r--r--scripts/vendors/shared.psm14
3 files changed, 4 insertions, 4 deletions
diff --git a/scripts/vendors/compile-uvvm.ps1 b/scripts/vendors/compile-uvvm.ps1
index e1e57f7ac..a8960be85 100644
--- a/scripts/vendors/compile-uvvm.ps1
+++ b/scripts/vendors/compile-uvvm.ps1
@@ -167,7 +167,7 @@ New-DestinationDirectory $DestinationDirectory
cd $DestinationDirectory
-$VHDLVersion,$VHDLStandard,$VHDLFlavor = Get-VHDLVariables
+$VHDLVersion,$VHDLStandard,$VHDLFlavor = Get-VHDLVariables -VHDL2008
# define global GHDL Options
$Analyze_Parameters = @(
diff --git a/scripts/vendors/compile-xilinx-vivado.ps1 b/scripts/vendors/compile-xilinx-vivado.ps1
index f336a8994..790dd09a5 100644
--- a/scripts/vendors/compile-xilinx-vivado.ps1
+++ b/scripts/vendors/compile-xilinx-vivado.ps1
@@ -131,7 +131,7 @@ if ($VHDL2008)
{ Write-Host "Not all Xilinx primitives are VHDL-2008 compatible! Setting HaltOnError to FALSE." -ForegroundColor Red
$HaltOnError = $false
}
-$VHDLVersion,$VHDLStandard,$VHDLFlavor = Get-VHDLVariables $VHDL93 $VHDL2008
+$VHDLVersion,$VHDLStandard,$VHDLFlavor = Get-VHDLVariables -VHDL93:$VHDL93 -VHDL2008:$VHDL2008
# define global GHDL Options
$Analyze_Parameters = @(
diff --git a/scripts/vendors/shared.psm1 b/scripts/vendors/shared.psm1
index 0c15ef53f..eb3c4c037 100644
--- a/scripts/vendors/shared.psm1
+++ b/scripts/vendors/shared.psm1
@@ -188,8 +188,8 @@ function Get-VHDLVariables
#>
[CmdletBinding()]
param(
- [bool]$VHDL93 = $false,
- [bool]$VHDL2008 = $true
+ [switch]$VHDL93 = $false,
+ [switch]$VHDL2008 = $true
)
if ($VHDL93)