Vivado backup designed block design

Foreword

In order not to always regenerate block design, to avoid duplication of effort.

You can use a direct copy of the original project design bd block or use tcl script to generate bd.

 

Process

  • Bd copy of the original project folder.

(1) For the original project to generate good bd folder is located below, copy design_1 folder.

 (2) the design_1 folder placed in the project file folder of the new project on the floor (or elsewhere), not on the same level (there is suffix is ​​xpr folder), or the import error.

 As shown above, on the bd_backup folder, dev is where the new project file folder.

(3) the same as adding source files can be directly imported to the design_1 folder.

 (4) has been introduced can be seen bd.

 

  • Use tcl script to generate bd.

(1) Under the premise of open bd design, original works of tcl tcl console bd export file.

write_bd_tcl C:/Users/Administrator/Desktop/test_bd_backup/bdtcl.tcl

(2) Copy this file to any tcl file folder.

This source file to the new project tcl console. (If the direct in the current directory, the following statement can be used directly)

source bdtcl.tcl

(3) to witness the miracle. Bd can see the files have been imported.

 

in conclusion

Both can be backed up bd file, of course, the first possibility simpler, but from the files take up storage space to consider, the second tcl file is much smaller footprint.

 

Therefore, the use of which can be selected according to the actual situation.

 

the above.

Guess you like

Origin www.cnblogs.com/kingstacker/p/11606706.html
Recommended