Getting Started with Vivado Design Suite for EDGE Artix 7 FPGA kit

This tutorial explains the step by step procedure to create a Vivado project, create source files, synthesize the design, Implement the design and finally verify the functionality in FPGA using the EDGE Artix 7 board.

Step 1: Open Vivado design Suite by selecting

Start > All Programs > Xilinx Design Tools > Vivado 2018.1 > Vivado 2018.1

Step 2: Click Create New Project and click next to open new project wizard.

Step 3: Select Project directory and mention new project name.

Step 4: Select RTL Project and check Do not specify sources at this time.

Step 5: Click Boards and select edgeA7 in Part Selection window or select Part XC7A35TFTG256-1 from the list of parts available.

Step 6: Now the New Project summary display with project details selected.

Step 7: Now the Vivado tool opens with Flow Navigator on left and Project Manager on right. Flow Navigator display the list of process involved from HDL input creation to bit file output generation. Project manager consist of Source, Workspace and Report Window.

Source Window displays Design Sources (VHDL, Verilog), Constraints (XDC) and Simulation sources. Workspace Window is used to create and view HDL/XDC files. Report Window consist of TCL console, Messages, Logs, Reports and Design Rules

Step 8: Now click Add source and select Add create design sources

Step 9: Click create file and select file type and file name as bcd_7seg

Step 10: Double click on the bcd_7seg.vhd at source window to open on the right side.

Step 11: Copy the following BCD to 7 seven segment VHDL code and paste on the text editor opened.

--- the code get BCD input from 4 slide switches SW3, SW4, SW5, SW6 and
--- display the output in seven segment display from 0 - 9.
library IEEE;

entity bcd_7segment is
Port (
BCDin : in STD_LOGIC_VECTOR (3 downto 0); -- Slide Switch
digit : out STD_LOGIC_VECTOR (3 downto 0); -- Enable 4 digit
Seven_Segment : out STD_LOGIC_VECTOR (7 downto 0)); -- 7 Segments and Dot LEDs
end bcd_7segment;

architecture Behavioral of bcd_7segment is


digit <= "1111"; process(BCDin) begin case BCDin is when "0000" =>
Seven_Segment <= "00000011"; ---0 
when "0001" =>
Seven_Segment <= "10011111"; ---1 
when "0010" =>
Seven_Segment <= "00100101"; ---2 
when "0011" =>
Seven_Segment <= "00001101"; ---3 
when "0100" =>
Seven_Segment <= "10011001"; ---4 
when "0101" =>
Seven_Segment <= "01001001"; ---5 
when "0110" =>
Seven_Segment <= "01000001"; ---6 
when "0111" =>
Seven_Segment <= "00011111"; ---7 
when "1000" =>
Seven_Segment <= "00000001"; ---8 
when "1001" =>
Seven_Segment <= "00001001"; ---9 
when others =>
Seven_Segment <= "11111111"; ---null
end case;

end process;

end Behavioral;

Step 12: Now again select the Add Source and select Add or create constraints

Step 13: Click create file and mention file type and file name

Step 14: Copy the following XDC File and paste it on the XDC editor window created. Refer EDGE Artix 7 XDC File for more details.

set_property IOSTANDARD LVCMOS33 [get_ports {BCDin[*]}]
set_property IOSTANDARD LVCMOS33 [get_ports {digit[*]}]
set_property IOSTANDARD LVCMOS33 [get_ports {Seven_Segment[*]}]
set_property PACKAGE_PIN L5 [get_ports {BCDin[0]}]
set_property PACKAGE_PIN L4 [get_ports {BCDin[1]}]
set_property PACKAGE_PIN M4 [get_ports {BCDin[2]}]
set_property PACKAGE_PIN M2 [get_ports {BCDin[3]}]
set_property PACKAGE_PIN F2 [get_ports {digit[0]}] 
set_property PACKAGE_PIN E1 [get_ports {digit[1]}]
set_property PACKAGE_PIN G5 [get_ports {digit[2]}]
set_property PACKAGE_PIN G4 [get_ports {digit[3]}]

set_property PACKAGE_PIN H1 [get_ports {Seven_Segment[0]}]#DP
set_property PACKAGE_PIN H2 [get_ports {Seven_Segment[1]}]#G
set_property PACKAGE_PIN J4 [get_ports {Seven_Segment[2]}]#F
set_property PACKAGE_PIN J5 [get_ports {Seven_Segment[3]}]#E
set_property PACKAGE_PIN H4 [get_ports {Seven_Segment[4]}]#D
set_property PACKAGE_PIN H5 [get_ports {Seven_Segment[5]}]#C
set_property PACKAGE_PIN G1 [get_ports {Seven_Segment[6]}]#B
set_property PACKAGE_PIN G2 [get_ports {Seven_Segment[7]}]#A

Step 15: Save bcd_7seg.vhd and bcd_7seg.xdc file created and perform synthesis, Implementation and generate bitstream by click them one by one in Flow Navigator

Step 16: Click Open Hardware Manager in Flow Navigator to program the bit file.

Step 17: Connect EDGE Artix 7 FPGA Kit to PC through USB cable and Turn On the kit. Open device manager to verify drivers are installed as shown below. Otherwise install USB Programmer drivers by referring kit user manual driver installation section.

Step 18: To detect FPGA, Do Hardware Manager -> Open Target -> Auto Connect

Step 19: If the device is detected successfully, then select Program Device by right click on the target device xc7a35t_0 as shown below

Step 20: Browse the Bit file need to be downloaded to the Artix 7 FPGA and click Program.

Step 21: Once the Program Succeeds, Done LED D1 light up on EDGE Artix 7 FPGA kit. The BCD to 7 Segment Converter get BCD input from 4 slide switches SW3, SW4, SW5, SW6 and display the corresponding  output in seven segment display from 0 – 9.