Git Product home page Git Product logo

xlnx_backup_tools's Introduction

Description

This is template for Xilinx Vivado, Vitis and SDK projects. Contain folder for save source file and tcl scripts tjat allow create backup of project and restore it. Can be use with SVN or GIT.

Script allow save:

  • all block designe in project
  • IP core added to project not in block designe

Script allow restore:

  • Project with associated board and device
  • Add HDL, XDC and WCFG file into project
  • Restore block designe and stand alone IP core include all user config

Script not restore:

  • Prject settings for implementation, simulation and etc.

backup_vivado is main command that generate a few tcl:

  • Tcl with board, device and project name info (gen_config.tcl)
  • Generate folder structure
  • Copy HDL and XDC file from Vivado project into backup folder, with sort by hdl, xdc and tb folders
  • One tcl for restore every blocke designe (template of name is bd_des_<designe_name>.tcl)
  • tcl for restore IP core (name stand_alone_ip.tcl)

User allow change some config, by edit user_config.tcl file.

Template structure

Template contain a few folder, help You sort source by it usage (folders name config over user_config.tcl) For generate folder structure, source backup_vivado.tcl and call gen_folder_structure <path_of_backup_folder>. Also that folder will be generate automaticaly when You call backup_vivado process.

  • core/ - Folder for save custom IP core
  • hdl/ - Folder for save source (Verilog, System Verilog and VHDL) usage for synthesis
  • hls/ - Sudbfolder with source to use in HLS for generate core
  • sw_repo/ - subfolder with additional source library, added as repo in SDK or Vitis
  • sw_srcs/ - Folder with application source, for Baremetall recomendate use symbol link to that folder or subfolder
  • tb/ - Folder for save source (Verilog, System Verilog and VHDL) usage for simulation
  • wcfg/ - Wafe form configuration file, used in simulation
  • xdc/ - Folder for pinout description and other constraints

Usage for backup

For exists project

  • Source backup_proj.tcl in Vivado after opening project with command source -notrace <path_to>/backup_proj.tcl
  • Call backup_vivado for launch backup

For new project

  • Create project, where You want
  • Recomended create (or add existng file) to the folder of template, not into folder of project
  • Source backup_proj.tcl in Vivado with opening project source -notrace <path_to>/backup_proj.tcl
  • Call backup_vivado for launch backup

Howto restore

  • Open Vivado
  • Found tcl console input
  • launch restore by input source -notrace <path_to>/restore_vivado.tcl

Also You can use restore to create new project, but it require manually edit get_config.tcl file.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.