Skip to content

Instantly share code, notes, and snippets.

@ciniml
Created November 7, 2017 19:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ciniml/1e932c4ded2d213a205cd5653d4c8826 to your computer and use it in GitHub Desktop.
Save ciniml/1e932c4ded2d213a205cd5653d4c8826 to your computer and use it in GitHub Desktop.
Batch script to setup Intel HLS Compiler environment with VS2010 Pro
@set INTELFPGA_DIR=C:\intelFPGA_lite
@set INTELFPGA_VER=17.1
@set INTELFPGA_ROOT=%INTELFPGA_DIR%\%INTELFPGA_VER%
@set MODELSIM_TYPE=modelsim_ase
@echo Using Intel FPGA in %INTELFPGA_ROOT%
call "%ProgramFiles(x86)%\Microsoft Visual Studio 10.0\VC\bin\amd64\vcvars64.bat"
@set HLS_ROOT=%INTELFPGA_ROOT%\hls
@set VSIM_ROOT=%INTELFPGA_ROOT%\%MODELSIM_TYPE%
@set VSIM_BIN=%VSIM_ROOT%\win32aloem
@set PATH=%VSIM_BIN%;%PATH%
@call %HLS_ROOT%\init_hls.bat
@echo Done.
@start cmd /K
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment