How do I run the Xilinx SDK 2019.1 from the command line on Linux?

-
This post shows how to run the Xilinx SDK from the command line. It also shows you how to run the SDK in batch mode.
Steps
Step #1: Open a terminal
Step #2: Figure out whether you’re running csh or bash by typing:
ps -p $$
You should see something like:
PID TTY TIME CMD
2729 pts/1 00:00:00 bash
Step #3: Find settings64.sh or settings64.csh
find / -name “settings*sh”
You should see something like:
/tools/Xilinx/SDK/2019.1/settings64.sh
/tools/Xilinx/SDK/2019.1/settings64.csh
Step #4: If you’re running bash type:
source /tools/Xilinx/SDK/2019.1/settings64.sh
xsdk
…or csh type:
source /tools/Xilinx/SDK/2019.1/settings64.csh
xsdk
Note: this runs:
/tools/Xilinx/SDK/2019.1/eclipse/lnx64.o/eclipse -vmargs -Xms64m -Xmx4G -Dorg.eclipse.swt.internal.gtk.cairoGraphics=false &
You can also use this to start in batch mode:
xsdk -batch -source test.tcl
…and to get help:
xsdk -help
You should see:
Display Options:
-help
Help – just display this message and quit.
-version
Display Version and quit.
-batch
SDK Tcl Batch Mode.
-wait
Wait for SDK to complete.
Options:
-workspace
Specify the Workspace directory for SDK projects
-hwspec
Specify the XML file to load.
-bit
Specify the Bitstream file to use for programming FPGA
-bmm
Specify the BMM file to use for BRAM initialization
-batch -source
Specify tcl Script file to execute all commands in SDK batch mode
{-lp
} Add
to the list of Driver/OS/Library search directories. -eclipseargs
Any other arguments that should be passed to Eclipse.
This should follow all other SDK arguments.
-vmargs
Any other arguments that should be passed to Java VM.
This should follow all other SDK arguments.
References
- How do I check which shell I am using? [link]
- UG1138 (v2019.1) May 22, 2019 Generating Basic Software Platforms Reference Guide [link]
- Using SDK Batch Mode (from 2014.3, could not find newer) [link]
- 2014.4 - SDK - How to create SDK projects using SDK in Batch mode [link]
- The Xilinx graphic is from [link]