From bec95e08166a78cc1497ceabfdcb5bf85d0997d5 Mon Sep 17 00:00:00 2001 From: rahulp13 Date: Mon, 21 Feb 2022 18:15:07 +0530 Subject: Added Verilator executable and updated install script --- Windows/nghdl-setup-script.nsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'Windows/nghdl-setup-script.nsi') 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;" -- cgit