Acronyms in This Document ................................................................................................................................................. 4
4.Programming the Demo ............................................................................................................................................. 11
4.1.Programming the MicroSD Card Firmware ....................................................................................................... 11
5.Running the Demo ...................................................................................................................................................... 13
Technical Support ............................................................................................................................................................... 15
Revision History .................................................................................................................................................................. 16
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
Figure 3.1. Back View of ECP5 VIP Input Bridge Board ......................................................................................................... 9
Figure 3.2. Top View of CrossLink VIP Input Bridge Board ................................................................................................. 10
Figure 4.1. Connecting the MicroSD Card ........................................................................................................................... 11
Figure 4.2. Win32 Disk Imager ............................................................................................................................................ 12
Figure 5.1. Example Output with Car Image ....................................................................................................................... 13
Figure 5.2. Example Output with Truck Image ................................................................................................................... 14
Figure 5.3. Example Output with Motorbike Image ........................................................................................................... 14
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
This document provides technical information and instructions for setting up and running the EVDK Based Vehicle
Classification Demo. This demo is designed to utilize the Lattice Machine Learning Engine (MLE) IP and is implemented
on the Lattice Embedded Vision Development Kit (EVDK). The EVDK based vehicle classification demo takes image data
from one of the cameras on the EVDK and feeds it through a CNN and outputs the input image with a bounding box
overlay through the HDMI Output. The color of the bounding box and a letter indicate the vehicle class.
Refer to the following documents for detailed information on Lattice development boards and kit:
Lattice Embedded Vision Development Kit User Guide (FPGA-UG-02015)
CrossLink VIP Input Bridge Board Evaluation Board User Guide (FPGA-EB-02002)
ECP5 VIP Processor Board Evaluation Board User Guide (FPGA-EB-02001)
HDMI VIP Output Bridge Board Evaluation Board User Guide (FPGA-EB-02003)
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
The EVDK Based Vehicle Classification Demo is designed to utilize the Lattice Embedded Vision Development Kit with
MicroSD Card Adapter Board, as shown in Figure 2.1.
The Lattice Embedded Vision Development Kit features a stackable modular architecture consisting of three boards:
Figure 2.1 shows Revision C of the Embedded Vision Development Kit. For earlier revisions, refer to the user guide of
the specific evaluation board. For more information on the Embedded Vision Development Kit, visit the Lattice website
Embedded Vision Development Kit page.
The firmware, which holds the CNN training results (from Caffe tool) is stored inside the SD card. The MLE classifies
input images and generates a bounding box and class designation which is shown as an overlay on the output image.
As shown in Figure 2.2, the video data taken by the camera sensor (CN2) on the CrossLink VIP Input Bridge Board are
fed into the ECP5 VIP Processor Board where the MLE processes the image data. This data, with weights and biases
from the firmware, is used to create the bounding box and classification overlay.
The implementation of this demo in ECP5-85 consists of 8 Neural Network engines (NN) engines.
Figure 2.1. Lattice EVDK with MicroSD Card Adapter Board
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.