cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
liambeguin
Participant
Participant
821 Views
Registered: ‎01-13-2020

running Vivado from Git Bash on windows

Jump to solution

Hi, 

I've written a Makefile to generate Vivado projects which was mostly developed on Linux.

We chose to use Make because on windows, it comes with the Vivado installer. 

Our windows our procedure is:

  1. open Git Bash in the project directory
  2. source /c/Xilinx/Vivado/2018.2/settings64.sh
  3. run "make project" which basically calls vivado with a tcl script to generate a project.

My problem is that the shell scripts called when running /c/Xilinx/Vivado/2018.2/bin/vivado seem to not be compatible with the version of uname shipped with the Vivado installer:

$ which uname
/usr/bin/uname
$ uname MINGW64_NT-10.0
$ source /c/Xilinx/Vivado/2018.2/settings64.sh
$ which uname
C:\Xilinx\SDK\2018.2\gnuwin\bin\uname.EXE
$ uname
windows32

/c/Xilinx/Vivado/2018.2/bin/loader doesn't check for `uname` == `windows*`.

 

I'm wondering if my procedure is wrong or if this is a known issue.

Thanks, 

 

Liam

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
liambeguin
Participant
Participant
672 Views
Registered: ‎01-13-2020

Hi, 

 

I fixed this but skipping setting64.sh completely.

$ cat ./win-setup.sh
#!/bin/sh                                                
VERSION=2018.2                                           
                                                         
export PATH="${PATH}:/c/Xilinx/Vivado/${VERSION}/bin"    
export PATH="${PATH}:/c/Xilinx/SDK/${VERSION}/gnuwin/bin"
$ source ./win-setup.sh
$ vivado -help
vivado                 
                       
Description:           
Vivado v2018.2 (64-bit)
[ ... ]

 

View solution in original post

0 Kudos
1 Reply
liambeguin
Participant
Participant
673 Views
Registered: ‎01-13-2020

Hi, 

 

I fixed this but skipping setting64.sh completely.

$ cat ./win-setup.sh
#!/bin/sh                                                
VERSION=2018.2                                           
                                                         
export PATH="${PATH}:/c/Xilinx/Vivado/${VERSION}/bin"    
export PATH="${PATH}:/c/Xilinx/SDK/${VERSION}/gnuwin/bin"
$ source ./win-setup.sh
$ vivado -help
vivado                 
                       
Description:           
Vivado v2018.2 (64-bit)
[ ... ]

 

View solution in original post

0 Kudos