To create a project, use the
New Project wizard to name
the project, to add RTL source files and constraints, and to specify the target
device.
Note: Throughout
this tutorial,
Xilinx®
7 series example design is used to explain the
process of configuring, implementing, estimating the power through different stages,
and using simulation data to enhance the accuracy of the power analysis. For
UltraScale™
device design, most of the
steps are similar to 7 series. Additional
information, wherever necessary, is provided for UltraScale devices.
On Linux, do the following.
- Go to the directory where the lab materials are stored:
cd <Extract_Dir>/7_series (for 7 series devices) or
cd <Extract_Dir>/UltraScale (for UltraScale devices)
- Launch the Vivado IDE:
vivado
On Windows, do the following.
- Launch the Vivado IDE by selecting
(x denotes the latest version of Vivado 2021 IDE).
As an alternative, click the Vivado 2021.x Desktop icon to start the Vivado IDE.
The Vivado IDE Getting Started page contains links to open or create projects and to view documentation.
- In the Getting Started page, click Create New Project to start the New Project wizard.
- Click Next to continue to
the next screen.
- In the Project Name page, name the new project power_tutorial1 and enter the project location (C:\Vivado_Power_Tutorial). Make sure to check the Create project subdirectory option and click Next.
- In the Project Type page, specify the type of project to create as RTL Project, make sure to uncheck the Do not specify sources at this time option, and click Next.
- In
the Add Sources
page:
- Set Target Language to Verilog and Simulator language to Mixed.
- Click the Add Files button.
- In the Add Source Files dialog box, navigate to the <Extract_Dir>/7_series/src directory for 7 series devices or <Extract_Dir>/UltraScale/src for UltraScale devices.
- Select all of the Verilog (.v) source files, and click OK.
- In the Add
Sources page, change the HDL Source For the testbench.v file to Simulation only.
- Verify that the files are added and Copy sources into project is checked. Click Next.
- In the Add Constraints
(optional) page, click Add
Files and select dut_fpga_kc705.xdc in the file browser.
In
the directory structure, you will find the dut_fpga_kc705.xdc file below the /src folder.
For UltraScale devices, select dut_fpga_kcu105.xdc in the file browser. In the directory structure, you will find the dut_fpga_kcu105.xdc file below the /src folder.
- Click Next to continue.
- In the Default
Part page, click Boards and select Kintex-7
KC705 Evaluation Platform for 7 series or
Kintex UltraScale KCU105 Evaluation
Platform for UltraScale devices. Then click
Next.Tip: When you specify a board, you are also specifying the part you are targeting for your design, in this case an xc7k325tffg900-2 FPGA for 7 series or xcku040-ffva156-2-e FPGA for UltraScale devices.
- Review the New Project
Summary page. Verify that the data appears as expected,
per the steps above, and click Finish.Note: It might take a moment for the project to initialize in the Vivado IDE.
- In the Settings dialog box (Specify project directory field, so
that all reports are saved in the tutorial project directory. Then click
OK.
), enter the tutorial project directory in the
Now, the design is ready for synthesis.