FPGA board
Overview
-
FPGA: Lattice LF-XP2-17e 17000 LUTs and 35 KBits Distributed RAM
-
ability to simulate protocols I2C, SPI, UART etc.
-
ability to simulate whole peripheral ICs like sensors, memories
-
96 configurable digital IOs
-
4 fast 275 Msps, 12 bit DAC channels, configurable as either 3.3V or 5V
-
12 slow 200 ksps DAC channels, 8 bit, 3.3V
-
128 kByte on on board SRAM
Description
The FPGA board is an extension board that provides a Lattice FPGA with external 128 kByte RAM and additional 4 fast 275 Msps analog output channels. The FPGA is connected to the simulation controller via QSPI-Interface which provides fast data transfers between FPGA and simulation controller. It can be used to simulate peripheral ICs like sensors, memories etc. This gives the user ability to inject errors into the low level protocols and test DUT reaction to those disturbances.
Programming FPGA Load using miniHIL
The FPGA can be programmed using miniHIL. The bitstream generated by the Lattice toolchain is converted to a C array and then included in the miniHIL sources. The array is compiled and transfered to the stm32h7 chip together with the miniHIL source code. The miniHIL compares the CRC of the FPGA code with the value stored in the FPGA registers - if they do not match it flashes the new code on the FPGA.