background image

ForgeFPGA Configuration Guide

 

 

Rev.1.0 
May 31, 2022 

 

Page 10  

 

Table 3: OTP Write Packet Format (Incoming) 

Bits 

Byte 1 

W/Rn (1)  SP/AP (0) 

O1_A[15]  O1_A[14]  O1_A[13] 

Byte 2 

O1_A[12]  O1_A[11]  O1_A[10] 

O1_A[8] 

O1_A[7] 

O1_A[6] 

O1_A[5] 

O1_A[4] 

Byte 3 

O1_A[3] 

O1_A[2] 

O1_A[1] 

O1_A[0] 

O1_D[3] 

O1_D[2] 

O1_D[1] 

O1_D[0] 

Byte 4 

O2_A[15]  O2_A[14]  O2_A[13]  O2_A[12]  O2_A[11]  O2_A[10] 

O2_A[8] 

O2_A[7] 

Byte 5 

O2_A[6] 

O2_A[5] 

O2_A[4] 

O2_A[3] 

O2_A[2] 

O2_A[1] 

O2_A[0] 

O2_D[3] 

Byte 6 

O2_D[2] 

O2_D[1] 

O2_D[0] 

O3_A[15]  O3_A[14]  O3_A[13]  O3_A[12]  O3_A[11] 

Byte 7 

O3_A[10] 

O3_A[8] 

O3_A[7] 

O3_A[6] 

O3_A[5] 

O3_A[4] 

O3_A[3] 

O3_A[2] 

Byte 8 

O3_A[1] 

O3_A[0] 

O3_D[3] 

O3_D[2] 

O3_D[1] 

O3_D[0] 

Last 

 

Address and Data

 

OTP1 

OTP2 

OTP3 

 

 

Figure 11: OTP Write Waveforms 

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 Read/Write OTP 

 

 

 

 

6.2  Reading the OTP Block  

Reading of the NVM via SPI is done by sending a three-byte command packet, which is met with a five-byte 
response packet containing the requested NVM data. A diagram of the read command packet structure is given 
i

Figure 12

. 

Reading to the OTP has the following steps: 

1. Waiting for POR and PLL lock time (1300 us), after that we are sending the Signature bytes through 
SPI_MOSI (GPIO_5) by keeping SPI_SS (GPIO_4) low. 

2. After Signature bytes matches, GPIO_9 (Config-Sig match) goes high and giving delay of 80 us and then 
sending the OTP Read command packet on SPI_MOSI (GPIO_5) by keeping low SPI_SS (GPIO_4) and OTP 
read data will come on SPI_MISO (GPIO_6). 

 

 

 

Содержание ForgeFPGA

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 6: ...ForgeFPGA Configuration Guide Rev 1 0 May 31 2022 Page 6 Figure 6 Debugging Controls Panel Figure 7 ForgeFPGA Socket Adapter Top View...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: