diff options
author | rahulp13 | 2022-02-21 18:15:07 +0530 |
---|---|---|
committer | rahulp13 | 2022-02-21 18:15:07 +0530 |
commit | bec95e08166a78cc1497ceabfdcb5bf85d0997d5 (patch) | |
tree | 96d8dae17155398f01ed526b84bb7fa51087f313 | |
parent | 80a8b40d2f1df52b2e1bf3b2b6c8c8c21f31e322 (diff) | |
download | nghdl-bec95e08166a78cc1497ceabfdcb5bf85d0997d5.tar.gz nghdl-bec95e08166a78cc1497ceabfdcb5bf85d0997d5.tar.bz2 nghdl-bec95e08166a78cc1497ceabfdcb5bf85d0997d5.zip |
Added Verilator executable and updated install script
-rw-r--r-- | Windows/README.md | 1 | ||||
-rw-r--r-- | Windows/nghdl-setup-script.nsi | 15 | ||||
-rw-r--r-- | Windows/sources/verilator.7z | bin | 0 -> 3166538 bytes |
3 files changed, 16 insertions, 0 deletions
diff --git a/Windows/README.md b/Windows/README.md index 3743d37..dd84f6d 100644 --- a/Windows/README.md +++ b/Windows/README.md @@ -81,6 +81,7 @@ It contains all the documentation for making NGHDL executable (using PyInstaller 6. Along with `nghdl.7z` from step 5, place the following 7z files at the installer folder for eSim:
- ghdl.7z
+ - verilator.7z
- MSYS.7z
- mingw64.7z
- nghdl-simulator.7z
diff --git a/Windows/nghdl-setup-script.nsi b/Windows/nghdl-setup-script.nsi index a9807af..53538bf 100644 --- a/Windows/nghdl-setup-script.nsi +++ b/Windows/nghdl-setup-script.nsi @@ -77,6 +77,7 @@ Section "nghdl-loadsource" SetOutPath $EXEDIR File "ghdl.7z" + File "verilator.7z" File "mingw64.7z" File "MSYS.7z" File "nghdl-src.7z" @@ -124,6 +125,20 @@ Section "nghdl-GHDL" Delete "$EXEDIR\ghdl.7z" SectionEnd +Section "verilator" + SetOutPath $INSTDIR + Nsis7z::ExtractWithDetails "$EXEDIR\verilator.7z" "Extracting Verilator %s..." + CopyFiles "$INSTDIR\verilator\bin\*" "$INSTDIR\MSYS\mingw64\bin\" + CopyFiles "$INSTDIR\verilator\share\verilator\bin\*" "$INSTDIR\MSYS\mingw64\bin\" + CopyFiles "$INSTDIR\verilator\share\verilator\include\*" "$INSTDIR\MSYS\mingw64\include\" + CopyFiles "$INSTDIR\verilator\share\verilator\examples\*" "$INSTDIR\MSYS\mingw64\examples\" + CopyFiles "$INSTDIR\verilator\share\verilator\verilator-config.cmake" "$INSTDIR\MSYS\mingw64\" + CopyFiles "$INSTDIR\verilator\share\verilator\verilator-config-version.cmake" "$INSTDIR\MSYS\mingw64\" + CopyFiles "$INSTDIR\verilator\share\pkgconfig" "$INSTDIR\MSYS\mingw64\" + RMDir /r "$INSTDIR\verilator" + Delete "$EXEDIR\verilator.7z" +SectionEnd + Section "envar-refresh" ReadEnvStr $R0 "PATH" StrCpy $R0 "$R0;$INSTDIR\eSim\nghdl\src;$INSTDIR\mingw64\bin;$INSTDIR\mingw64\msys\bin;$INSTDIR\mingw64\GHDL\bin;" diff --git a/Windows/sources/verilator.7z b/Windows/sources/verilator.7z Binary files differnew file mode 100644 index 0000000..bd9f5c5 --- /dev/null +++ b/Windows/sources/verilator.7z |