Bringing up the Avnet microzed with Vivado

Source: Internet
Author: User
Tags vivado

Bringing up the Avnet microzed with Vivado

I recently received the Adam Taylor Edition of Avnet ' sZynq-basedmicrozedBoard, which was sent by the very kind people at Xilinx. I have been writing the ZedboardAll Programmable Planet. For the originalZedboard, I used the more traditional PlanAhead, Xilinx Platform Studio, and software Design Kit (SDK) flow. With a, I decided that for the microzed I would implement the system using theXilinx Vivado Design Suite, which turned out is surprisingly easy. My aim is to progress with the microzed in a similar manner to the zedboard:looking at creating the system, using the on- Chip XADC, boot-loading the microzed, adding my own peripheral, and finally adding an operating system. I expect this would progress rapidly expect due to my familiarity with the zedboard.

The first step is to download the Microzed board definition and configuration, which was available at http://www.zedbo ard.org/documentation/1519. The first file to download are the Microzed board definition file, which should be extracted to your XILINX implementation Directory. The directory is loacated at C:\XILINX\VIVADO\2013.2\DATA\BOARDS\ZYNQ.  This file provides the Vivado Design Suite with microzed configuration information. The second file you ' ll need are a TCL file containing the necessary preset information for the microzed. We'll run this TCL file once we have created a project.

After starting Vivado, the first step was to create a new project. My first microzed project would be is an RTL project and would not contain any initial source code. The next step is to select the Microzed 7010 board as a default target using the definition file just downloaded.

Now and the project is created, we need to add the Zynq SoC ' s processing System (PS). The best-to-do-is-to-create a new block diagram and add in the Zynq PS from the IP library in Vivado. We can then create a block diagram by selecting the option under the Flow-control window on the left-hand side of the Viva Do screen.

With the PS now added to the block diagram, we need to define the system. We could do the hand (as would is the case for a custom board). Rather helpfully, the microzed people has created a TCL file that defines the microzed system. It ' s The preset file we downloaded at the start. This TCL file defines the PS bank voltages, buses, clocks, fabric clocks, DDR3 settings, external peripherals, and the MIO Configuration.

Note:remember to use Linux style forward separators:

"C:/USERS/ADAM/DOWNLOADS/MICROZED_PS_PROPERTIES_V02/MICROZED_PS_PROPERTIES_V02.TCL"

Have applied this file, we then double click on the system and we see the ZYNQ PS design. Notice that this definition ties up with the capabilities of the Microzed board ' s Ethernet, USB, DDR3 etc.

Once we ' re happy with the PS configuration, we need to declare the system ' s external I/O. In this case, we want to declare the DDR and the fixed I/O. Within the Zynq PS, the fixed I/O includes the MIO, clocks, and resets along with the DDR3 reference voltages. As these is fixed, no UCF file is required because we be not working with the programmable logic (PL) side of the ZYNQ. We'll need to create UCFS later if we use the Zynq ' s PL side.

To add these external I/O declarations, you click on the ' Run Design automation ' option that appears at the top of the DIA Gram. This would generate a warning. Clicking on "OK" allows your to proceed and you'll then see outputs added to the fixed IO and the DDR within the Block di Agram.

Now we ' re nearly-proceed to build the system. However, we must first validate the design to ensure that it's valid and contains no errors by selecting the "Validate de Sign "button on the left side of the Vivado screen.

Having created a valid block diagram we'll want to save this before we proceed. Once you has saved the design, the next step is to generate the files needed to implement the system, starting with the C Reation of the HDL wrapper. But first, we need to determine which language we ' re going to work in (VHDL or Verilog). We Select the HDL via the Tools->project Settings Menu.

Once we ' ve selected our preferred language, we right click on the uzed.bd file under "Sources" and select "Create HDL Wrap Per "to generate the wrapper.

We can also create the necessary synthesis and place-and-route files by selecting the "Generate Output products ..." option F Rom the same menu that we used to generate the HDL wrapper.

Once These files have been created, it's time to generate the bitstream by selecting the "Generate bitstream" option in th e Flow navigator on the left of the Vivado screen. When the bitstream generation completes, you'll see:

With the bitstream created, we then export the data into SDK.  Then we're ready to write the software to run on the microzed ' s Zynq SoC. I ' ll discuss this process in my next blog, but a sneak peak of where we are headed appears below.

I spent an afternoon bringing up the microzed and really enjoyed the experience. My Next blog post would wrap up SDK for project creation and boot loading with the microzed.

Note:please do is concerned if you see an error in Vivado version 2013.2 which reports "Failed to get a license:inter NAL Bit stream. " This was a bug in the current version. You can check in the implementation log to make sure that the license is in fact obtained.

Bringing up the Avnet microzed with Vivado

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.