# Z2: board file vs tcl in pynq-z2\_v1.0.xdc

**URL:** <https://discuss.pynq.io/t/z2-board-file-vs-tcl-in-pynq-z2-v1-0-xdc/2917>\
**Category:** Support\
**Created:** [August 7, 2021, 4:11pm UTC](https://discuss.pynq.io/t/z2-board-file-vs-tcl-in-pynq-z2-v1-0-xdc/2917 "2021-08-07T16:11:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jancumps](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/jancumps/32/2140_2.png) [@jancumps](https://discuss.pynq.io/u/jancumps)\
**Post date:** [August 7, 2021, 4:11pm UTC](https://discuss.pynq.io/t/z2-board-file-vs-tcl-in-pynq-z2-v1-0-xdc/2917/1 "2021-08-07T16:11:45Z")

</div>

There are two downloads for the Z2.  
pynq-z2.zip, with the board file that you can use to start a project in Vivado,  
and pynq-z2\_v1.0.xdc.zip, with the constraint example  
That last zip also has a TCL file, that can be used to configure the project.  
I understand the board file and the constraint file. What is the purpose of PYNQ-Z2 v1.0.tcl in a design cycle?

---

<div class="post-metadata">

**Author:** ![marioruiz](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/marioruiz/32/2177_2.png) [@marioruiz](https://discuss.pynq.io/u/marioruiz)\
**Post date:** [August 9, 2021, 8:48am UTC](https://discuss.pynq.io/t/z2-board-file-vs-tcl-in-pynq-z2-v1-0-xdc/2917/2 "2021-08-09T08:48:14Z")

</div>

Hi @jancumps,

PYNQ-Z2 v1.0.tcl allows you to setup the board preset in the Processing System. This file is useful when you do not select a board in the Vivado project. However, if you select the PYNQ-Z2 board in the Vivado project the presets are already applied.

Mario

---

<div class="post-metadata">

**Author:** ![jancumps](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/jancumps/32/2140_2.png) [@jancumps](https://discuss.pynq.io/u/jancumps)\
**Post date:** [August 10, 2021, 2:56pm UTC](https://discuss.pynq.io/t/z2-board-file-vs-tcl-in-pynq-z2-v1-0-xdc/2917/3 "2021-08-10T14:56:22Z")

</div>

Thank you. Got it.
