Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
learn:programmable-logic:tutorials:vivado-hierarchical-blocks:start [2020/01/15 21:50] – Remove checkout feature/zmod-support Arthur Brown | learn:programmable-logic:tutorials:vivado-hierarchical-blocks:start [2022/09/12 19:41] (current) – changed forum.digilentinc.com to forum.digilent.com Jeffrey | ||
---|---|---|---|
Line 11: | Line 11: | ||
===== Guide ===== | ===== Guide ===== | ||
- | ==== Download the Vivado Hierarchies Repository and Dependencies ==== | + | ==== Setting Up Dependencies ==== |
- | <WRAP GROUP> <WRAP COLUMN HALF> | + | Check if vivado-library is already included |
- | Clone Digilent' | + | |
- | **Note**: //In order to clone,// [[https://git-scm.com|git]] | + | {{https://github.com/Digilent/vivado-library/archive/refs/tags/zmod/ |
- | == Option 1. Recursive Clone == | + | Those familiar with git may want to clone the hierarchies |
- | < | + | |
- | == Option 2. Clone, Initialize, and Update == | + | --> Using git to clone the hierarchies # |
- | < | + | < |
- | cd vivado-hierarchies | + | cd (somewhere memorable) |
- | git submodule init | + | git clone https:// |
- | git submodule update</ | + | </ |
- | </ | + | |
- | {{: | + | Otherwise (if vivado-library is included in the project), use git tools to check out the branch: |
- | </WRAP> </WRAP> | + | |
+ | **Warning!** //If IP from the library are already included in the project, checking out a different branch may cause changes to them. Be careful!// | ||
+ | |||
+ | Note that the " | ||
+ | |||
+ | <code> | ||
+ | cd (path)/ | ||
+ | git checkout hierarchies | ||
+ | </code> | ||
+ | <-- | ||
---- | ---- | ||
Line 47: | Line 54: | ||
<WRAP GROUP> <WRAP COLUMN HALF> | <WRAP GROUP> <WRAP COLUMN HALF> | ||
=== 2. === | === 2. === | ||
- | In Vivado' | + | In Vivado' |
When the script is finished running, the block design will contain a // | When the script is finished running, the block design will contain a // | ||
Line 58: | Line 65: | ||
<WRAP GROUP> <WRAP COLUMN HALF> | <WRAP GROUP> <WRAP COLUMN HALF> | ||
=== 3. === | === 3. === | ||
- | Check the README.txt file, found in the hierarchical block' | + | Check the README.txt file, which can be found in the hierarchical block' |
- Connect all of the hierarchical block' | - Connect all of the hierarchical block' | ||
- Connect any interrupts the Hierarchy may have to the appropriate interrupt controller: an AXI Interrupt Controller IP (for Microblaze designs), the Zynq Processing System' | - Connect any interrupts the Hierarchy may have to the appropriate interrupt controller: an AXI Interrupt Controller IP (for Microblaze designs), the Zynq Processing System' | ||
Line 106: | Line 113: | ||
---- | ---- | ||
== 4.3 - Constraining the Design == | == 4.3 - Constraining the Design == | ||
- | This step works a little differently depending on whether the peripheral targeted by the hierarchical block is a [[reference:zmod: | + | This step works a little differently depending on whether the peripheral targeted by the hierarchical block is a [[zmod: |
--> Pmod# | --> Pmod# | ||
<WRAP GROUP> <WRAP COLUMN HALF> | <WRAP GROUP> <WRAP COLUMN HALF> | ||
- | If the **Board Flow** was chosen, open the README.txt file in the hierarchical block' | + | If the **Board Flow** was chosen, open the README.txt file in the hierarchical block' |
When the Hierarchy was created, a constraint file, named " | When the Hierarchy was created, a constraint file, named " | ||
Line 158: | Line 165: | ||
==== Baremetal Software ==== | ==== Baremetal Software ==== | ||
<WRAP round center important 660px> | <WRAP round center important 660px> | ||
- | Zmod Hierarchical Blocks are supported in software by the Zmod Library. If using a Zmod, see the [[reference:zmod: | + | Zmod Hierarchical Blocks are supported in software by the Zmod Library. If using a Zmod, see the [[zmod: |
</ | </ | ||
Line 181: | Line 188: | ||
<WRAP GROUP> <WRAP COLUMN HALF> | <WRAP GROUP> <WRAP COLUMN HALF> | ||
=== 3. === | === 3. === | ||
- | Create a new application project using the "Empty Application" | + | Create a new application project using the "Empty Application" |
</ | </ | ||
{{ : | {{ : | ||
Line 190: | Line 197: | ||
<WRAP GROUP> <WRAP COLUMN HALF> | <WRAP GROUP> <WRAP COLUMN HALF> | ||
=== 4. === | === 4. === | ||
- | Copy all of the files from the selected hierarchical block' | + | Copy all of the files from the selected hierarchical block' |
</ | </ | ||
{{ : | {{ : | ||
Line 226: | Line 233: | ||
The SDK sources provided with the hierarchical blocks are set up such that they can be easily included in any design using that block. The subfolder below sdk_sources contains all necessary drivers for the block. | The SDK sources provided with the hierarchical blocks are set up such that they can be easily included in any design using that block. The subfolder below sdk_sources contains all necessary drivers for the block. | ||
- | For more reference materials and guides on the Digilent products being used, navigate to their resource centers, here on the [[:start: | + | For more reference materials and guides on the Digilent products being used, navigate to their resource centers, here on the [[start: |
- | For technical support, please visit the [[https:// | + | For technical support, please visit the [[https:// |
{{tag> | {{tag> |