mirror of
https://github.com/pConst/basic_verilog.git
synced 2025-01-14 06:42:54 +08:00
added script to set project directory in Vivado
This commit is contained in:
parent
573cc6e6b8
commit
8d3ea380a9
14
scripts/set_project_directory.tcl
Normal file
14
scripts/set_project_directory.tcl
Normal file
@ -0,0 +1,14 @@
|
||||
#------------------------------------------------------------------------------
|
||||
# set_project_directory.tcl
|
||||
# Konstantin Pavlov, pavlovconst@gmail.com
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
# INFO ------------------------------------------------------------------------
|
||||
# Sets the working directory to the project so that if you generate files they
|
||||
# are writen to the directory
|
||||
#
|
||||
# Place this script as a pre-tcl-script for "Synthesis" step
|
||||
|
||||
set work_directory [get_property DIRECTORY [current_project]]
|
||||
cd $work_directory
|
||||
puts -nonewline "Changing Directory to " ; pwd
|
Loading…
x
Reference in New Issue
Block a user