Skip to content

Commit

Permalink
Update compile_libs.cmd
Browse files Browse the repository at this point in the history
Needed to amend the PATH order to avoid vcom version confusion.
  • Loading branch information
philipabbey committed May 15, 2024
1 parent 85ea960 commit ac6cf59
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions design/compile_libs.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@ if not exist "%COMPILEDIR%\" (
)

rem Fix the PATH variable for when compiling Scratch VHDL from an external drive
rem Put ModelSim's vcom etc. on the PATH
set PATH=%PATH%;%MODELSIMDIR%\modelsim_ase\win32aloem
rem Put ModelSim's vcom etc. on the PATH _first_, otherwise a different installation
rem of a different version might be found first.
set PATH=%MODELSIMDIR%\modelsim_ase\win32aloem;%PATH%
rem Fake the location of this directory for when we're not compiling to the assumed location
set USERPROFILE=%COMPILEDIR%
pushd
Expand Down

0 comments on commit ac6cf59

Please sign in to comment.