Xilinx Vivado Usage Details (2): synthesis, implementation, PIN assignment, clock setup, burn-Write

Source: Internet
Author: User
Tags vivado

The previous article described the behavior simulation from the new project until the code was written, and this article continues with the introduction.

Modifying the device model

Select the device model when new project, if you need to modify the model after the new project, you can select the menu Tools - Project Settings .

In the pop-up window, click Project Device the button on the right to select the device model.

Synthesis (Synthesis)

Synthesis is similar to compiling in programming.

In the Flow Navigator or Flow menu, select, Synthesis - Run Synthesis or click the Triangle button in the toolbar to begin synthesizing the design file.

Integration and subsequent implementations, for a long time, can be viewed at the bottom of the Design Runs window for progress.

If this window is not found, select it in the menu to Window - Design Runs open it.

The following window will pop up when the integration is complete. If you select the first item and click OK , the next implementation is initiated. For the convenience of learning, here we click directly Cancel .

Implementation (Implementation)

After the synthesis is completed, it needs to be implemented and manipulated.

Once the implementation is complete, a window will also appear as follows. Select the first option to open the next IO Port Setup interface, select the first item to initiate the subsequent generation bitstream operation. Again, click Cancel Close here.

IO port configuration (I/O planning)/Edit constraint file (edit Constraints sets)

A good module, before burning to write into the board, you need to set the input and output signal and the board on the corresponding relationship between the IO port.

There are two ways to set the IO port, the first is to create and edit the constraint file directly, and the second is to set it in the graphical interface.

Edit Constraint file

If you have an understanding of the format of the constraint file, the configuration of the IO port can be implemented directly by manually editing the constraint file. Right-click a folder or an empty space, and select Edit Constraints Sets .

In the popup window, add the constraint file and click OK .

Open the file to edit it in a format.

Graphical interface Configuration Pins

When the implementation is complete, the Open Implemented Design option changes from gray to clickable state.

Click Open Implemented Design to open the Implemented Design window.

InI/O PortsThe window expands the pin, for each input and output signal,SiteBar to select the appropriate pin, be sure toFixedcolumn is checked,I/O StdFrequently selectedLVCMOS33

When set, the Implemented Design window title bar displays a * number indicating that the setting has changed.

Press the Ctrl+S shortcut key to save the settings, pop-up window, prompt to save the constraints file will cause the synthesis and implementation expires. In other words, after you modify the PIN assignment settings, you need to re-synthesize and implement the operation. Click here OK .

Pop-up window, select Create a new file and enter a file name, click OK.

test.xdcthe constraint file is now automatically created and edited, and can be opened for viewing.

Clock signal

Many circuits require a clock signal to drive and usually have an external clock signal input on the Development Board. For example, in the BASYS3 Development Board, it can be seen from the circuit diagram that the W5 pin has an external 100MHz clock. So you can set the 100MHz clock input signal CLK corresponding to the pin W5.

If the required clock frequency is not 100MHz, you can write your own divider to get the required frequency, or configure the clock in the IP core Clocking Wizard to achieve. The specific use of IP cores will be described later.

Re-integration and implementation

The IO port settings have been modified and need to be re-synthesized and implemented.

Generate bit Streams

Generate a bitstream file that will be burned directly into the board. Similar to the binary executable file in programming.

Error handling

Due to program writing problem and pin assignment problem, generating bitstream file is prone to error.

Messageyou can see the cause of the error in the window.

Right click Select Search for Answer Record to search the forum for this problem and find a workaround.

Burn Write Program

Select Program and Debug - Open Hardware Manager .

Hardware ManagerThe window is opened.

Connect the Development Board with USB. If you have previously connected to the Development Board, click on the green bar above to open it, Open recent target if it is the first time you connect the board, click Open a new hardware target .

Click Next .

or click Next .

The following window is displayed and a hardware device can be opened later.

Since there is no development board at hand, the next steps will not be a simple word. With the board and then fill up.

When the device is turned on, it is displayed in the Hardware window. Right-click the device and select Program...... .

Pop-up bitstream file Selection window, generally directly by default click on the confirmation, you can write the program to the board.

This article by jzj1993 Original, reprint please indicate source: http://www.hainter.com/vivado-basic-usage-2

Xilinx Vivado Usage details (2): synthesis, implementation, PIN assignment, clock setup, burn write

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.