Where does the Vivado Design Suite create the vivado.jou and vivado.log files and can this location be changed?
If Vivado is opened from a command window or shell, the vivado.jou and vivado.log files are created in the CWD directory that Vivado was launched from.
When a user opens Vivado tools from the Windows "Start menu", by default, the vivado.jou and vivado.log files are created in the APPDATA%\Xilinx\Vivado directory. This will typically be a directory location similar to the following:
Note: The same applies for the PlanAhead tool and the planahead.jou and planahead.log files. However, the default Windows "Start in" location is %APPDATA%\Xilinx\planAhead.
There is no specific variable to change this location, however, there are some options available to users.
The name of the log file can be programmatically returned with the following command:
This will return the name of the log file (vivado.log by default) but will not return the directory where the log is located.
If you are on a Windows operating system, you can use the _RDI_CWD variable to get the location Vivado was launched from. Run the following command:
Note, however that this will not be the output log directory if Vivado was launched with the -log option.