0
votes

I am using vivado to load firmware into a board and do some tests. This is a recursive process and I would like to automate it. Here are the steps that I follow:

  1. Open vivado gui
  2. open hardware manager
  3. connect to hardware server
  4. Program the board with the bitfile

I know vivado has a tcl command line. Is there any way to create a tcl script so that I can do these things without opening vivado GUI?

1
Have you read the documentation? - Andreas

1 Answers

0
votes

ugXXX papers are a great way to start. Personaly ug835 is the bible for writing Vivado automation

vivado -mode tcl -source YOURTCLSCRIPT.tcl will run your script and end with a open tcl session in your shell.

vivado -mode batch -source YOURTCLSCRIPT.tcl will run your script and return to native shell when done.

you can allso use the -mode gui to launch gui mode, as this is the default mode it is not as useful. All though it can be great in make scripts or alias to be more descriptive.