I'd like to open a .vhd and .vhi file in window for editing in Vivado from Tcl Console, but I can't find any command for that.
0
votes
2 Answers
1
votes
0
votes
Vivado being a design tool works on projects instead of individual files. So to edit a file, say xyz.vhd, the file needs to be part of a project. This can be done through Tcl console by creating a new project, adding xyz.vhd file to it and then loading the project.
Create a new project using the following command:
project -newAdd files:
add_file -vhd "xyz.vhd"Save the project and run.
project -save project -run
You can find further resources at this link.