2
3.7 Interface on Hard Processor System (HPS) .............................................................................................. 34
3.7.1 User Push-buttons, Switches and LED on HPS .................................................................................... 35
3.7.2 Gigabit Ethernet ..................................................................................................................................... 35
3.7.3 UART ............................................... 37
3.7.4 DDR3 Memory on HPS ......................................................................................................................... 38
3.7.5 QSPI Flash ............................................................................................................................................. 39
3.7.6 Micro SD ............................................... 40
3.7.7 USB 2.0 OTG PHY ............................................................................................................................... 41
3.7.8 G-Sensor ............................................... 42
3.7.9 128x64 Dots LCD .................................................................................................................................. 43
3.7.10 LTC Connector .................................................................................................................................... 44
Chapter 4 SoCKit System Builder .............................................................................. 46
4.1 Introduction .............................................................................................................................................. 46
4.2 General Design Flow ................................................................................................................................ 46
4.3 Using SoCKit System Builder .................................................................................................................. 47
Chapter 5 Examples For FPGA ................................................................................. 53
5.1 Audio Recording and Playing ................................................................................................................... 53
5.2 A Karaoke Machine .................................................................................................................................. 56
5.3 DDR3 SDRAM Test ................................................................................................................................. 59
5.4 DDR3 SDRAM Test by Nios II ................................................................................................................ 61
5.5 IR Receiver Demonstration ...................................................................................................................... 63
5.6 Temperature Demonstration ..................................................................................................................... 68
Chapter 6 Examples for HPS SoC ............................................................................. 71
6.1 Hello Program .......................................................................................................................................... 71
6.2 Users LED, Switch and Button ................................................................................................................ 73
6.3 I2C Interfaced G-sensor ........................................................................................................................... 81
6.4 SPI Interfaced Graphic LCD .................................................................................................................... 84
Chapter 7 Steps of Programming the Quad Serial Configuration Device .................... 88