summaryrefslogtreecommitdiff
path: root/dist/mcode/windows
diff options
context:
space:
mode:
authorPatrick Lehmann2015-05-29 21:41:43 +0200
committerPatrick Lehmann2015-05-29 21:41:43 +0200
commit825a5354da3274f069ccc02a75b8998dc0479ac3 (patch)
tree952d1c9bfdee0be38514e73f549c9af52f932fba /dist/mcode/windows
parente0804ba4455959de401446178df553dc1e2d287a (diff)
downloadghdl-825a5354da3274f069ccc02a75b8998dc0479ac3.tar.gz
ghdl-825a5354da3274f069ccc02a75b8998dc0479ac3.tar.bz2
ghdl-825a5354da3274f069ccc02a75b8998dc0479ac3.zip
Updated PowerShell build scripts for Windows.
Diffstat (limited to 'dist/mcode/windows')
-rw-r--r--dist/mcode/windows/complib.ps133
1 files changed, 12 insertions, 21 deletions
diff --git a/dist/mcode/windows/complib.ps1 b/dist/mcode/windows/complib.ps1
index c7360a4..7a622da 100644
--- a/dist/mcode/windows/complib.ps1
+++ b/dist/mcode/windows/complib.ps1
@@ -180,7 +180,9 @@ elseif ($Compile)
"fixed_pkg",
"float_generic_pkg",
"float_generic_pkg-body",
- "float_pkg"
+ "float_pkg",
+ "ieee_std_context",
+ "ieee_bit_context"
);
"vital95" = @(
"vital_timing",
@@ -238,7 +240,7 @@ elseif ($Compile)
$LocalDir2Name = $VHDLDestLibrary
$LocalDir2 = $LocalDir + "\" + $LocalDir2Name
- Write-Host " compiling library $VHDLDestLibrary"
+ Write-Host " compiling library $VHDLDestLibrary" -ForegroundColor DarkCyan
if (Test-Path -Path $LocalDir2)
{ if ($Script_EnableVerbose) { Write-Host " Directory '$LocalDir2Name' already exists." } }
else
@@ -280,7 +282,7 @@ elseif ($Compile)
$LocalDir2Name = $VHDLDestLibrary
$LocalDir2 = $LocalDir + "\" + $LocalDir2Name
- Write-Host " compiling library $VHDLDestLibrary"
+ Write-Host " compiling library $VHDLDestLibrary" -ForegroundColor DarkCyan
if (Test-Path -Path $LocalDir2)
{ if ($Script_EnableVerbose) { Write-Host " Directory '$LocalDir2Name' already exists." } }
else
@@ -327,7 +329,7 @@ elseif ($Compile)
$LocalDir2Name = "synopsys"
$LocalDir2 = $LocalDir + "\" + $LocalDir2Name
- Write-Host " compiling library $VHDLDestLibrary"
+ Write-Host " compiling library $VHDLDestLibrary" -ForegroundColor DarkCyan
if (Test-Path -Path $LocalDir2)
{ if ($Script_EnableVerbose) { Write-Host " Directory '$LocalDir2Name' already exists." } }
else
@@ -400,7 +402,7 @@ elseif ($Compile)
$LocalDir2Name = $VHDLDestLibrary
$LocalDir2 = $LocalDir + "\" + $LocalDir2Name
- Write-Host " compiling library $VHDLDestLibrary"
+ Write-Host " compiling library $VHDLDestLibrary" -ForegroundColor DarkCyan
if (Test-Path -Path $LocalDir2)
{ if ($Script_EnableVerbose) { Write-Host " Directory '$LocalDir2Name' already exists." } }
else
@@ -436,7 +438,7 @@ elseif ($Compile)
$LocalDir2Name = $VHDLDestLibrary
$LocalDir2 = $LocalDir + "\" + $LocalDir2Name
- Write-Host " compiling library $VHDLDestLibrary"
+ Write-Host " compiling library $VHDLDestLibrary" -ForegroundColor DarkCyan
if (Test-Path -Path $LocalDir2)
{ if ($Script_EnableVerbose) { Write-Host " Directory '$LocalDir2Name' already exists." } }
else
@@ -494,7 +496,7 @@ elseif ($Compile)
$LocalDir2Name = "synopsys"
$LocalDir2 = $LocalDir + "\" + $LocalDir2Name
- Write-Host " compiling library $VHDLDestLibrary"
+ Write-Host " compiling library $VHDLDestLibrary" -ForegroundColor DarkCyan
if (Test-Path -Path $LocalDir2)
{ if ($Script_EnableVerbose) { Write-Host " Directory '$LocalDir2Name' already exists." } }
else
@@ -563,7 +565,7 @@ elseif ($Compile)
$LocalDir2Name = "mentor"
$LocalDir2 = $LocalDir + "\" + $LocalDir2Name
- Write-Host " compiling library $VHDLDestLibrary"
+ Write-Host " compiling library $VHDLDestLibrary" -ForegroundColor DarkCyan
if (Test-Path -Path $LocalDir2)
{ if ($Script_EnableVerbose) { Write-Host " Directory '$LocalDir2Name' already exists." } }
else
@@ -647,7 +649,7 @@ elseif ($Compile)
$LocalDir2Name = $VHDLDestLibrary
$LocalDir2 = $LocalDir + "\" + $LocalDir2Name
- Write-Host " compiling library $VHDLDestLibrary"
+ Write-Host " compiling library $VHDLDestLibrary" -ForegroundColor DarkCyan
if (Test-Path -Path $LocalDir2)
{ if ($Script_EnableVerbose) { Write-Host " Directory '$LocalDir2Name' already exists." } }
else
@@ -684,7 +686,7 @@ elseif ($Compile)
$LocalDir2Name = $VHDLDestLibrary
$LocalDir2 = $LocalDir + "\" + $LocalDir2Name
- Write-Host " compiling library $VHDLDestLibrary"
+ Write-Host " compiling library $VHDLDestLibrary" -ForegroundColor DarkCyan
if (Test-Path -Path $LocalDir2)
{ if ($Script_EnableVerbose) { Write-Host " Directory '$LocalDir2Name' already exists." } }
else
@@ -708,17 +710,6 @@ elseif ($Compile)
if ($Script_EnableVerbose) { Write-Host (" ghdl analyse (" + ($GHDLParameters -join " ") + ")") }
& $GHDLExecutable $GHDLParameters
}
-
- $VHDLSrcLibrary = "vital2000"
- foreach ($SourceFile in $SourceFiles[$VHDLSrcLibrary])
- { Write-Host " file: v08\$SourceFile.v08"
- if ($Script_EnableVerbose) { Write-Host " copy: $SourceFile" }
- Copy-Item "$VHDLSourceLibraryDir\$VHDLSrcLibrary\$SourceFile.vhdl" "$SourceFile.vhd"
-
- $GHDLParameters = @("-a", "-C", "--std=08", "-P..\std", "--work=$VHDLDestLibrary", "$SourceFile.vhd")
- if ($Script_EnableVerbose) { Write-Host (" ghdl analyse (" + ($GHDLParameters -join " ") + ")") }
- & $GHDLExecutable $GHDLParameters
- }
}
# ==============================================================================
# vXX