AnsweredAssumed Answered

recommended method to version control hdl proj originating from github

Question asked by AnhDat on Feb 5, 2015
Latest reply on Feb 5, 2015 by AnhDat

How do you purpose I version control a subset of the below code provided that I will be adding blocks to, etc:

 

https://github.com/analogdevicesinc/hdl/tree/hdl_2014_r2

 

* you have many tcl scripts which are used to generate their custom IPs I guess first from their libraries and then the specific project, in my case the hdl/projects/fmcomms2/vc707/ branch

* you run your builds in project mode, but I like using non-project mode

* you recommend to use vivado 2014.2 which I do currently, but when I set up my Make system and version control I'd like to make it flexible so I could regenerate the cores easily for a later vivado version if needed

 

I've been playing with a few ideas:

 

1- take your working project after running all their tcl scripts, copy out all IP .xci files, and then version control those and use "read_ip" for those in non-project mode.  (I wouldn't have to track the individual .xdc constraint files per IP in this case right?)

2- I wanted to maybe be able to use "write_bd_tcl"  and then source this out putted tcl file in my non-project mode, but I am missing their analog.com vendor IPs it looks like when it goes to source the written bd tcl, and errors out

3- I thought maybe I'd take their system.bd file and just do a "read_bd" to load up all the IP blocks, but that doesn't seem to work...

 

I've been looking through documents such as:

http://forums.xilinx.com/t5/Vivado-TCL-Community/IP-Integrator-in-non-project-flow/td-p/320467

http://www.xilinx.com/support/documentation/sw_manuals/xilinx2013_3/ug892-vivado-design-flows-overview.pdf

http://www.xilinx.com/support/documentation/sw_manuals/xilinx2013_3/ug896-vivado-ip.pdf

http://www.xilinx.com/support/documentation/sw_manuals/xilinx2013_3/ug994-vivado-ip-subsystems.pdf

http://www.xilinx.com/training/vivado/using-the-non-project-batch-flow.htm

http://www.xilinx.com/support/answers/55692.html

 

Let me know what route in your opinion is best to go ... THANKS!

Outcomes