diff options
author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2021-05-19 14:49:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-19 14:49:25 +0200 |
commit | 3807826b22872b329d62bf93fe27c492e983ebd2 (patch) | |
tree | ee7ddddf457a0a41e6c49678214fc23dfc1f41d1 /scripts | |
parent | dcd5e7faa68c7b4ed90039e1c88cfe311b8158c4 (diff) | |
parent | 5e955c017716489bc6d6bdd2e1a11a77abac2b74 (diff) | |
download | ghdl-3807826b22872b329d62bf93fe27c492e983ebd2.tar.gz ghdl-3807826b22872b329d62bf93fe27c492e983ebd2.tar.bz2 ghdl-3807826b22872b329d62bf93fe27c492e983ebd2.zip |
Add option to compile UVVM Wishbone VIP.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/vendors/compile-uvvm.ps1 | 5 | ||||
-rwxr-xr-x | scripts/vendors/compile-uvvm.sh | 7 |
2 files changed, 11 insertions, 1 deletions
diff --git a/scripts/vendors/compile-uvvm.ps1 b/scripts/vendors/compile-uvvm.ps1 index ddd4919b7..e1e57f7ac 100644 --- a/scripts/vendors/compile-uvvm.ps1 +++ b/scripts/vendors/compile-uvvm.ps1 @@ -80,6 +80,8 @@ param( [switch]$UVVM_VIP_SPI = $false, # Compile VIP: UART [switch]$UVVM_VIP_UART = $false, + # Compile VIP: Wishbone + [switch]$UVVM_VIP_WISHBONE = $false, # Clean up directory before analyzing. [switch]$Clean = $false, @@ -119,7 +121,7 @@ if ($Help -or (-not ($All -or $Clean -or $UVVM_VIP_AXI_Stream -or $UVVM_VIP_Clock_Generator -or $UVVM_VIP_Error_Injection -or $UVVM_VIP_Ethernet -or $UVVM_VIP_GMII -or $UVVM_VIP_GPIO -or $UVVM_VIP_HVVC2VVC -or $UVVM_VIP_I2C -or $UVVM_VIP_RGMII -or $UVVM_VIP_SBI -or $UVVM_VIP_Scoreboard -or - $UVVM_VIP_Spec_Cov -or $UVVM_VIP_SPI -or $UVVM_VIP_UART)) + $UVVM_VIP_Spec_Cov -or $UVVM_VIP_SPI -or $UVVM_VIP_UART -or $UVVM_VIP_WISHBONE)) ))) { Get-Help $MYINVOCATION.MyCommand.Path -Detailed Exit-CompileScript @@ -152,6 +154,7 @@ if ($UVVM_VIP) $UVVM_VIP_Spec_Cov = $true $UVVM_VIP_SPI = $true $UVVM_VIP_UART = $true + $UVVM_VIP_WISHBONE = $true } diff --git a/scripts/vendors/compile-uvvm.sh b/scripts/vendors/compile-uvvm.sh index 12db0ec28..d5c2d86a3 100755 --- a/scripts/vendors/compile-uvvm.sh +++ b/scripts/vendors/compile-uvvm.sh @@ -66,6 +66,7 @@ COMPILE_UVVM_VIP_SCOREBOARD=0 COMPILE_UVVM_VIP_SPEC_COV=0 COMPILE_UVVM_VIP_SPI=0 COMPILE_UVVM_VIP_UART=0 +COMPILE_UVVM_VIP_WISHBONE=0 VERBOSE=0 DEBUG=0 FILTERING=1 @@ -170,6 +171,10 @@ while [[ $# -gt 0 ]]; do COMMAND=3 COMPILE_UVVM_VIP_UART=1 ;; + --uvvm-vip-wishbone) + COMMAND=3 + COMPILE_UVVM_VIP_WISHBONE=1 + ;; -v|--verbose) VERBOSE=1 ;; @@ -258,6 +263,7 @@ if [[ $COMMAND -le 1 ]]; then echo " --uvvm-vip-spec Specification Coverage" echo " --uvvm-vip-spi Serial Peripheral Interface" echo " --uvvm-vip-uart Universal Asynchronous Receiver Transmitter (UART)" + echo " --uvvm-vip-wishbone Wishbone" echo "" echo "Library compile options:" echo " -H --halt-on-error Halt on error(s)." @@ -303,6 +309,7 @@ if [[ $COMPILE_UVVM_VIP -eq 1 ]]; then COMPILE_UVVM_VIP_SPEC_COV=1 COMPILE_UVVM_VIP_SPI=1 COMPILE_UVVM_VIP_UART=1 + COMPILE_UVVM_VIP_WISHBONE=1 fi |