background image

ForgeFPGA Configuration Guide

 

 

Rev.1.0 
May 31, 2022 

 

Page 11  

 

 

Figure 12. OTP Read Timing 

6.3  Read Command Structure  

Table 5: NVM OTP Read Command Packet Format 

Bits 

Byte 1 

nRead (0) 

Byte 2 

A[18] 

A[17] 

A[16] 

A[15] 

A[14] 

A[13] 

A[12] 

A[11] 

Byte 3 

A[10] 

A[4] 

A[3] 

A[2] 

A[1] 

A[0] 

 

Byte 1 of the packet will remain the same across all read operations and contains only the read command bit 
(Byte1[0]). Byte1 Bits[7:2] are reserved (R) bits. A read address is then provided across Bytes 2 and 3, before a 
parity bit (P) is provided at the MSB of Byte 3. This read address is separated into two sections. A[18:17] 
determines which of the three 4 k x32 NVM blocks to read from (named OTP1, OTP2, and OTP3) and A[16:10] 
A[4:0] determines the address within the specified NVM block to read. The parity bit to be provided is calculated 
by performing an AND operation of all incoming bytes, excluding the parity bit = 
(^Byte1)^(^Byte2)^(^[Byte3[0:6]]). 

Table 6: NVM Block Selection 

NVM Block 

Selection 

Address to Read 

A[18]  A[17]  A[16]  A[15]  A[14]  A[13]  A[12]  A[11]  A[10] 

A[4] 

A[3] 

A[2] 

A[1] 

A[0] 

 

7.  QSPI Programming (Master Mode) 

In SPI Master mode, the communication starts by driving SPI_SS Low, and then sends a Release from Power-
down command to SPI Flash, 0xAB. The timing diagram below provides an example waveform. This initial 
command wakes up the SPI Flash if it is already in Deep Power-down Mode (see 

Figure 13

). The SPI Master 

transmits data on the SPI_SO output, on the falling edge of the SPI_CLK output. No data is sent on SPI_SI 
currently. After sending the last command bit, the SPI_SS is de-asserted High, completing the command.  
Minimum of 10 us buffer is given before sending the next SPI Flash command. 

 

Table 7

 represents the pins in SLG47910 corresponding the pins in SPI  

Table 7: SPI Pin Numbers  

QFN Pin No  

Pin Name  

QSPI/SPI Mode  

16 

GPIO3 

SPI_CLK 

17 

GPIO4 

SPI_SS 

Summary of Contents for ForgeFPGA

Page 1: ...e 7 6 1 Writing the OTP Block 9 6 2 Reading the OTP Block 10 6 3 Read Command Structure 11 7 QSPI Programming Master Mode 11 8 MCU Programming Slave Mode 13 Conclusion 14 9 Revision History 15 1 Terms...

Page 2: ...der FPGA Core OTP Programmer Configuration Wrapper conf Q D SPI otp_data_rd otp_ctrl op_data_wr ctrl ctrl ctrl tx_data tx_data ctrl tx_data 4 Figure 1 SLG47910 Programming Interface Table 1 Configurat...

Page 3: ...the polarity of the clock signal during the idle state The idle state is defined as the period when SS is transitioning The CPHA bit selects the clock phase Depending on the CPHA bit the rising or fa...

Page 4: ...an do this after successfully generating netlist and pressing Generate Bitstream button on the control panel Completing these two steps would have successfully sent the design to the device To enter t...

Page 5: ...gure 5 ForgeFPGA Development Board Overview To configure the development board and read the desired output connect the Development Board with the Socket Adapter through the PCIe connectors Put the SLG...

Page 6: ...ForgeFPGA Configuration Guide Rev 1 0 May 31 2022 Page 6 Figure 6 Debugging Controls Panel Figure 7 ForgeFPGA Socket Adapter Top View...

Page 7: ...A design The OTP memory loads the Configuration RAM The SLG47910 contains three blocks of 4k x 32 bit One Time Programmable OTP Non Volatile Memory NVM which are interfaced via the dedicated SPI Slave...

Page 8: ...Page 8 Figure 9 SLG47910 Block Diagram The loading of the data through different bitstream sources follow a particular flow and different values of the signal help in determining the mode of operation...

Page 9: ...g Byte8 bit 6 Reserve bits are indicated by R and the parity bit by P After writing the OTP the write data should be checked using the OTP read command Once the SLG47910 OTP has been written and after...

Page 10: ...Table 4 Read Write Option Bits Byte 1 0 1 of OTP Packet format Comments 2 b00 Read mode Follows format in Table 5 2 b01 Reserved Not Used 2 b10 Write mode Follows format in Table 3 2 b11 Return Exit...

Page 11: ...ulated by performing an AND operation of all incoming bytes excluding the parity bit Byte1 Byte2 Byte3 0 6 Table 6 NVM Block Selection NVM Block Selection Address to Read A 18 A 17 A 16 A 15 A 14 A 13...

Page 12: ...hen issues a final Deep Power down command 0xB9 Figure 14 SPI Read Fast Command Deep Power Down Command The SLG47910 device configures using a single data pin SPI_SI The procedure to enable QSPI Confi...

Page 13: ...RST signal resetting the array Figure 15 shows the SPI slave timing Figure 15 SPI MCU Mode Timing A 32 bit synchronization word will be inserted in the beginning of the bitstream by the ForgeFPGA Comp...

Page 14: ...the bitstream is invalid the CONFIG pin will strobe for 1 5us If a load error occurred the Config pin will stay LOW SPI Frequency could be from kHz to MHz Conclusion The three configuration options OT...

Page 15: ...ForgeFPGA Configuration Guide Rev 1 0 May 31 2022 Page 15 9 Revision History Revision Date Description 1 0 10 Mar 2022 Initial Version...

Reviews: