From 092025882ea6c3e4861277b175fa95e7825e756c Mon Sep 17 00:00:00 2001 From: Martin Bahlinger Date: Mon, 19 Apr 2021 13:41:18 +0200 Subject: Move --std= parameter before -frelaxed-rules This is required for script to work also with ghdl > 0.37 and --std=08 --- scripts/vendors/compile-altera.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/vendors/compile-altera.ps1') diff --git a/scripts/vendors/compile-altera.ps1 b/scripts/vendors/compile-altera.ps1 index 76f47b1c4..2ca3116fc 100644 --- a/scripts/vendors/compile-altera.ps1 +++ b/scripts/vendors/compile-altera.ps1 @@ -151,6 +151,7 @@ $VHDLVersion,$VHDLStandard,$VHDLFlavor = Get-VHDLVariables $VHDL93 $VHDL2008 # define global GHDL Options $Analyze_Parameters = @( + "--std=$VHDLStandard", "-fexplicit", "-frelaxed-rules", "--mb-comments", @@ -171,7 +172,6 @@ if (-not ($EnableVerbose -or $EnableDebug)) $Analyze_Parameters += @( "--ieee=$VHDLFlavor", "--no-vital-checks", - "--std=$VHDLStandard", "-P$DestinationDirectory" ) -- cgit v1.2.3