To create a project, use the New Project
wizard to name the project, add RTL source files and constraints, and specify the target
device.
- Invoke the Vivado IDE.
- In the Quick Start tab, click Create Project to start the New Project wizard. Click Next.
- In the Project Name page, name the new project proj_hdl and provide the project location (C:/Vivado_Debug). Ensure that the Create project subdirectory is selected. Click Next.
- In the Project Type page, specify the Type of Project to create as RTL Project. Click Next.
- In the Add Sources page:
- Set Target Language to VHDL.
- Click the “+” sign, and click Add Directories.
- In the Add Source Directories dialog box, navigate to the /src/lab2 directory, and choose the sine_high, sine_low, sine_mid, and ila_0 directories. Click Select.
- Verify that the directories are added, and Copy Sources into Project is selected.
- Click the “+” sign, and click Add File.
- In the Add Source Files dialog box, navigate to the/src/lab2 directory and choose debounce.vhd, fsn.vhd, sinegen.vhd, and sinegen_demo_inst.vhd files. Click OK.
- Verify that the sources and directories are added, and that Copy Sources into Project is selected. Click Next.
- In the Add Constraints dialog box, click the “+” sign, and click Add Files.
- Navigate to /src/lab1 directory and select sinegen_demo_kc705.xdc. Click Next.
- In the Default Part dialog box, specify the xc7k325tffg900-2 part for the KC705 platform. You can also select Boards and select Kintex 7 KC705 Evaluation Platform. Click Next.
- Review the New Project Summary page. Verify that the data appears as expected per the previous steps. Click Finish.
- In the Sources window in Vivado IDE,
expand sinegen_demo_inst to see the source files for this lab. Note: ila_0 core is added to the project.
- Double-click the sinegen_demo_inst.vhd
file, shown in the following figure to open it and inspect the instantiation and
port mapping of the ILA core in the HDL code.