-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.cmd.editme
27 lines (25 loc) · 1019 Bytes
/
config.cmd.editme
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
@echo off
rem ---------------------------------------------------------------------------------
rem
rem Distributed under MIT Licence
rem See https://github.com/house-of-abbey/scratch_vhdl/blob/main/LICENCE.
rem
rem CMD script to setup the local configuration. Read by *.cmd.
rem
rem Edit the file and rename to 'config.cmd'.
rem
rem J D Abbey & P A Abbey, 11 November 2022
rem
rem ---------------------------------------------------------------------------------
rem Be explicit, useful for external drives.
set DRIVE=%~d0
set SCRATCH_SRC=%~dp0
rem drop last character '\'
set SCRATCH_SRC=%SCRATCH_SRC:~0,-1%
set VIVADO_INSTALL=C:\Xilinx\Vivado\<ver>\bin
rem Do not call this variable MODELSIM
set MODELSIMDIR=C:\intelFPGA_lite\<ver>
set VSCODE_INSTALL=C:\Program Files\Microsoft VS Code
rem This might normally be %USERPROFILE%, but can be moved, e.g. to an external drive.
rem If using an external drive which might be assign a different drive letter on connection, use '%~d0'
set COMPILEDIR=%USERPROFILE%