Understanding Structs in XIlinx SDK Lesson - Zynq Training

Опубликовано: 30 Июнь 2016
на канале: Augmented AI
4,439
28

A struct in the C programming language (and many derivatives) is a complex data type declaration that defines a physically grouped list of variables to be placed under one name in a block of memory, allowing the different variables to be accessed via a single pointer, or the struct declared name which returns the same address. The struct can contain many other complex and simple data types in an association, so is a natural organizing type for records like the mixed data types in lists of directory entries reading a hard drive (file length, name, extension, physical (cylinder, disk, head indexes) address, etc.), or other mixed record type (patient names, address, telephone... insurance codes, balance, etc.).

https://www.udemy.com/zynq-training-l...

Now Structs on Xilinx FPGA are useful to access peripherals such as GPIO, ethernet, USB etc. Structs save a lot of typing and can significantly reduce your productivity when calling on certain functions in board support package. This Lecture shows introduces you to the concepts of structures in C++ on Xilinx SDK.

If you want to blink an LED on FPGA, you will require structs. We will create a blink LED example in the next two lectures

To learn more on Image Processing, PCB Design, FPGAs, Zynq Training and Vivado then Check out
http://www.arduinostartups.com/
Please like and Subscribe for more videos :)