diff options
author | Martin Bahlinger <martin.bahlinger@leica-geosystems.com> | 2021-04-19 13:41:18 +0200 |
---|---|---|
committer | tgingold <tgingold@users.noreply.github.com> | 2021-04-20 18:58:15 +0200 |
commit | 092025882ea6c3e4861277b175fa95e7825e756c (patch) | |
tree | 2603a6039eeb4b18961554b93d5565d0427eba44 /scripts/vendors/compile-xilinx-vivado.ps1 | |
parent | d003498ad7c233826773cc17ffe75fd7ced2f945 (diff) | |
download | ghdl-092025882ea6c3e4861277b175fa95e7825e756c.tar.gz ghdl-092025882ea6c3e4861277b175fa95e7825e756c.tar.bz2 ghdl-092025882ea6c3e4861277b175fa95e7825e756c.zip |
Move --std= parameter before -frelaxed-rules
This is required for script to work also with ghdl > 0.37 and --std=08
Diffstat (limited to 'scripts/vendors/compile-xilinx-vivado.ps1')
-rw-r--r-- | scripts/vendors/compile-xilinx-vivado.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vendors/compile-xilinx-vivado.ps1 b/scripts/vendors/compile-xilinx-vivado.ps1 index d0fb0698a..f336a8994 100644 --- a/scripts/vendors/compile-xilinx-vivado.ps1 +++ b/scripts/vendors/compile-xilinx-vivado.ps1 @@ -135,6 +135,7 @@ $VHDLVersion,$VHDLStandard,$VHDLFlavor = Get-VHDLVariables $VHDL93 $VHDL2008 # define global GHDL Options $Analyze_Parameters = @( + "--std=$VHDLStandard", "-fexplicit", "-frelaxed-rules", "--mb-comments", @@ -155,7 +156,6 @@ if (-not ($EnableVerbose -or $EnableDebug)) $Analyze_Parameters += @( "--ieee=$VHDLFlavor", "--no-vital-checks", - "--std=$VHDLStandard", "-P$DestinationDirectory" ) |