Skip to content

Accessing the Vivado Examples Store Repository

Rahul Kunwar edited this page Sep 6, 2020 · 14 revisions

A Vivado example design needs a board to run in vivado. The board files are present in XilinBoardStore and added as dependency in corresponding CED xitem.

Vivado GUI Flow to install example designs and dependent board files

  • Go to Tools => XHub Stores…

Vivado Tcl Flow to install example designs and dependent board files

Get the initial meta data files

xhub::refresh_catalog [xhub::get_xstores Vivado_example_project]
xhub::refresh_catalog [xhub::get_xstores xilinx_board_store]

Install all or selected xitems

xhub::install [xhub::get_xitems *myexample*]

How to access installed example designs/board files in project flow ?

set_param ced.repoPaths [get_property LOCAL_ROOT_DIR [xhub::get_xstores Vivado_example_project]]
set_param board.repoPaths [get_property LOCAL_ROOT_DIR [xhub::get_xstores xilinx_board_store]]

The param ced.repoPaths should point to the download location where vivado example designs are downloaded. The CED infra will parse the location pointed by ced.repoPaths and populate example designs in vivado.

Other Tcl Commands

Get the list of xitems available in the store

xhub::get_xitems
You can run "report_property" on individual object to see list of properties e.g
report_property [lindex [xhub::get_xitems] 0]

Uninstall all or selected xitems

xhub::uninstall [xhub::get_xitems *myexample*]

Update all or selected xitems

xhub::update [xhub::get_xitems *myexample*]