summaryrefslogtreecommitdiff
path: root/dist/mcode/windows/complib.ps1
diff options
context:
space:
mode:
authorPatrick Lehmann2015-01-21 02:23:58 +0100
committerPatrick Lehmann2015-01-21 02:23:58 +0100
commit7603c2ac9167cd4425f92025ae21b1814c49eed0 (patch)
treef9e027c581926aa97dbfb2472ce0accece7f486d /dist/mcode/windows/complib.ps1
parent57e9abd616275b7f82fb835b582917fdab70b816 (diff)
downloadghdl-7603c2ac9167cd4425f92025ae21b1814c49eed0.tar.gz
ghdl-7603c2ac9167cd4425f92025ae21b1814c49eed0.tar.bz2
ghdl-7603c2ac9167cd4425f92025ae21b1814c49eed0.zip
winbuild: Added check for PSCX extension if '-CreatePackage -Zip' is executed.
Diffstat (limited to 'dist/mcode/windows/complib.ps1')
-rw-r--r--dist/mcode/windows/complib.ps136
1 files changed, 26 insertions, 10 deletions
diff --git a/dist/mcode/windows/complib.ps1 b/dist/mcode/windows/complib.ps1
index 5706557..29b07da 100644
--- a/dist/mcode/windows/complib.ps1
+++ b/dist/mcode/windows/complib.ps1
@@ -254,8 +254,8 @@ elseif ($Compile)
foreach ($SourceFile in $SourceFiles[$VHDLSrcLibrary])
{ Write-Host " file: v87\$SourceFile.v87"
if ($Script_EnableVerbose) { Write-Host " ghdlfilter (-v87)" }
- Get-Content "$VHDLSourceLibraryDir\$VHDLSrcLibrary\$SourceFile.vhdl" -Encoding Ascii -Raw
- | & $GHDLFilterExecutable @('-v87')
+ Get-Content "$VHDLSourceLibraryDir\$VHDLSrcLibrary\$SourceFile.vhdl" -Encoding Ascii -Raw `
+ | & $GHDLFilterExecutable @('-v87') `
| Out-File "$SourceFile.v87" -Encoding Ascii
#Write-Host "Press any key to continue..."
@@ -296,7 +296,9 @@ elseif ($Compile)
foreach ($SourceFile in $SourceFiles[$VHDLSrcLibrary])
{ Write-Host " file: v87\$SourceFile.v87"
if ($Script_EnableVerbose) { Write-Host " ghdlfilter (-v87)" }
- Get-Content "$VHDLSourceLibraryDir\$VHDLSrcLibrary\$SourceFile.vhdl" -Encoding Ascii -Raw | & $GHDLFilterExecutable @('-v87') | Out-File "$SourceFile.v87" -Encoding Ascii
+ Get-Content "$VHDLSourceLibraryDir\$VHDLSrcLibrary\$SourceFile.vhdl" -Encoding Ascii -Raw `
+ | & $GHDLFilterExecutable @('-v87') `
+ | Out-File "$SourceFile.v87" -Encoding Ascii
$GHDLParameters = @("-a", "-C", "--std=87", "-P..\std", "--work=$VHDLDestLibrary", "$SourceFile.v87")
if ($Script_EnableVerbose) { Write-Host (" ghdl analyse (" + ($GHDLParameters -join " ") + ")") }
@@ -341,7 +343,9 @@ elseif ($Compile)
foreach ($SourceFile in $SourceFiles[$VHDLSrcLibrary])
{ Write-Host " file: v87\$SourceFile.v87"
if ($Script_EnableVerbose) { Write-Host " ghdlfilter (-v87)" }
- Get-Content "$VHDLSourceLibraryDir\$VHDLSrcLibrary\$SourceFile.vhdl" -Encoding Ascii -Raw | & $GHDLFilterExecutable @('-v87') | Out-File "$SourceFile.v87" -Encoding Ascii
+ Get-Content "$VHDLSourceLibraryDir\$VHDLSrcLibrary\$SourceFile.vhdl" -Encoding Ascii -Raw `
+ | & $GHDLFilterExecutable @('-v87') `
+ | Out-File "$SourceFile.v87" -Encoding Ascii
$GHDLParameters = @("-a", "-C", "--std=87", "-P..\std", "--work=$VHDLDestLibrary", "$SourceFile.v87")
if ($Script_EnableVerbose) { Write-Host (" ghdl analyse (" + ($GHDLParameters -join " ") + ")") }
@@ -412,7 +416,9 @@ elseif ($Compile)
foreach ($SourceFile in $SourceFiles[$VHDLSrcLibrary])
{ Write-Host " file: v93\$SourceFile.v93"
if ($Script_EnableVerbose) { Write-Host " ghdlfilter (-v93)" }
- Get-Content "$VHDLSourceLibraryDir\$VHDLSrcLibrary\$SourceFile.vhdl" -Encoding Ascii -Raw | & $GHDLFilterExecutable @('-v93') | Out-File "$SourceFile.v93" -Encoding Ascii
+ Get-Content "$VHDLSourceLibraryDir\$VHDLSrcLibrary\$SourceFile.vhdl" -Encoding Ascii -Raw `
+ | & $GHDLFilterExecutable @('-v93') `
+ | Out-File "$SourceFile.v93" -Encoding Ascii
$GHDLParameters = @("-a", "-C", "--std=93", "--bootstrap", "--work=$VHDLDestLibrary", "$SourceFile.v93")
if ($Script_EnableVerbose) { Write-Host (" ghdl analyse (" + ($GHDLParameters -join " ") + ")") }
@@ -446,7 +452,9 @@ elseif ($Compile)
foreach ($SourceFile in $SourceFiles[$VHDLSrcLibrary])
{ Write-Host " file: v93\$SourceFile.v93"
if ($Script_EnableVerbose) { Write-Host " ghdlfilter (-v93)" }
- Get-Content "$VHDLSourceLibraryDir\$VHDLSrcLibrary\$SourceFile.vhdl" -Encoding Ascii -Raw | & $GHDLFilterExecutable @('-v93') | Out-File "$SourceFile.v93" -Encoding Ascii
+ Get-Content "$VHDLSourceLibraryDir\$VHDLSrcLibrary\$SourceFile.vhdl" -Encoding Ascii -Raw `
+ | & $GHDLFilterExecutable @('-v93') `
+ | Out-File "$SourceFile.v93" -Encoding Ascii
$GHDLParameters = @("-a", "-C", "--std=93", "-P..\std", "--work=$VHDLDestLibrary", "$SourceFile.v93")
if ($Script_EnableVerbose) { Write-Host (" ghdl analyse (" + ($GHDLParameters -join " ") + ")") }
@@ -502,7 +510,9 @@ elseif ($Compile)
foreach ($SourceFile in $SourceFiles[$VHDLSrcLibrary])
{ Write-Host " file: v93\$SourceFile.v93"
if ($Script_EnableVerbose) { Write-Host " ghdlfilter (-v93)" }
- Get-Content "$VHDLSourceLibraryDir\$VHDLSrcLibrary\$SourceFile.vhdl" -Encoding Ascii -Raw | & $GHDLFilterExecutable @('-v93') | Out-File "$SourceFile.v93" -Encoding Ascii
+ Get-Content "$VHDLSourceLibraryDir\$VHDLSrcLibrary\$SourceFile.vhdl" -Encoding Ascii -Raw `
+ | & $GHDLFilterExecutable @('-v93') `
+ | Out-File "$SourceFile.v93" -Encoding Ascii
$GHDLParameters = @("-a", "-C", "--std=93", "-P..\std", "--work=$VHDLDestLibrary", "$SourceFile.v93")
if ($Script_EnableVerbose) { Write-Host (" ghdl analyse (" + ($GHDLParameters -join " ") + ")") }
@@ -569,7 +579,9 @@ elseif ($Compile)
foreach ($SourceFile in $SourceFiles[$VHDLSrcLibrary])
{ Write-Host " file: v93\$SourceFile.v93"
if ($Script_EnableVerbose) { Write-Host " ghdlfilter (-v93)" }
- Get-Content "$VHDLSourceLibraryDir\$VHDLSrcLibrary\$SourceFile.vhdl" -Encoding Ascii -Raw | & $GHDLFilterExecutable @('-v93') | Out-File "$SourceFile.v93" -Encoding Ascii
+ Get-Content "$VHDLSourceLibraryDir\$VHDLSrcLibrary\$SourceFile.vhdl" -Encoding Ascii -Raw `
+ | & $GHDLFilterExecutable @('-v93') `
+ | Out-File "$SourceFile.v93" -Encoding Ascii
$GHDLParameters = @("-a", "-C", "--std=93", "-P..\std", "--work=$VHDLDestLibrary", "$SourceFile.v93")
if ($Script_EnableVerbose) { Write-Host (" ghdl analyse (" + ($GHDLParameters -join " ") + ")") }
@@ -651,7 +663,9 @@ elseif ($Compile)
foreach ($SourceFile in $SourceFiles[$VHDLSrcLibrary])
{ Write-Host " file: v08\$SourceFile.v08"
if ($Script_EnableVerbose) { Write-Host " ghdlfilter (-v08)" }
- Get-Content "$VHDLSourceLibraryDir\$VHDLSrcLibrary\$SourceFile.vhdl" -Encoding Ascii -Raw | & $GHDLFilterExecutable @('-v08') | Out-File "$SourceFile.v08" -Encoding Ascii
+ Get-Content "$VHDLSourceLibraryDir\$VHDLSrcLibrary\$SourceFile.vhdl" -Encoding Ascii -Raw `
+ | & $GHDLFilterExecutable @('-v08') `
+ | Out-File "$SourceFile.v08" -Encoding Ascii
$GHDLParameters = @("-a", "-C", "--std=08", "--bootstrap", "--work=$VHDLDestLibrary", "$SourceFile.v08")
if ($Script_EnableVerbose) { Write-Host (" ghdl analyse (" + ($GHDLParameters -join " ") + ")") }
@@ -685,7 +699,9 @@ elseif ($Compile)
foreach ($SourceFile in $SourceFiles[$VHDLSrcLibrary])
{ Write-Host " file: v08\$SourceFile.v08"
if ($Script_EnableVerbose) { Write-Host " ghdlfilter (-v08)" }
- Get-Content "$VHDLSourceLibraryDir\$VHDLSrcLibrary\$SourceFile.vhdl" -Encoding Ascii -Raw | & $GHDLFilterExecutable @('-v08') | Out-File "$SourceFile.v08" -Encoding Ascii
+ Get-Content "$VHDLSourceLibraryDir\$VHDLSrcLibrary\$SourceFile.vhdl" -Encoding Ascii -Raw `
+ | & $GHDLFilterExecutable @('-v08') `
+ | Out-File "$SourceFile.v08" -Encoding Ascii
$GHDLParameters = @("-a", "-C", "--std=08", "-P..\std", "--work=$VHDLDestLibrary", "$SourceFile.v08")
if ($Script_EnableVerbose) { Write-Host (" ghdl analyse (" + ($GHDLParameters -join " ") + ")") }