Table of Contents |
---|
Important information
This document applies exclusively to the configuration of the NG-LARGE FPGA referenced NX1H140TSP.
...
Maximum user logic configuration (100%) | 24.43Mb |
Medium configuration (70%) | 17.10Mb |
Small configuration (50%) | 12.22Mb |
D-Flip-Flop initialization (1) (129024) | 1b/D-Flip-Flop |
Core RAM initialization (2) (192 instances) | 96.06Kb/RAM block |
Core Register File initialization (2) (672 instances) | 3.03Kb/Register File |
CMIC | 64.15Kb |
Total | 44.53Mb |
In a typical design the user can give – or not - an initial value to Flip-Flops at power-up. Reducing the number of initialized Flip-Flops contributes to reduce the bitstream size.
Core RAM and/or Core Register file can also be initialized – or not - at power-up. Reducing the number of initialized memories contributes to reduce the bitstream size.
Most applications do not require to initialize all memories.
...
c. Repair flipped bit
d. Write DATA[BAD @]
In case of error that cannot be corrected, for instance double error, the data is blacklisted in order to not generate definitive TRIGGER/ERROR high level.
For further information, please refer to the NX1H140TSP CMIC Application note.
...
Table: NG-LARGE NX1H140TSP configuration modes
Multiple devices addressing
Thanks to Device ID feature in the Bitstream Manager, it is possible to connect multiple devices on the same bus and load a bitstream only to the desired device.
In broadcast mode (0xFF), all connected devices will load the bitstream in the configuration memory.
...
Bitstream Device ID is set during bitstream generation. It is 8 bits large.
Chip Device ID is set by external pins. It is only 4 bits large.
Configuration modes usage
...
Grp | Name | I/O | Description |
---|---|---|---|
GLOBAL | MODE(2:0) | I | Input pins sampled at power-up. MODE(2:0). They define the configuration mode to be used for NG-LARGE configuration. MODE(2:0) cannot be changed when RST_HARD_N = ‘1’ |
ID(3:0) | I | Device Identification. It must comply with the bitstream device id to allow access bitstream loading. | |
FABRIC_USER(3:0) | I | Additional IO for user. FABRIC_USER[0] can be connected to low-skew network. | |
CLK | I | Always required. Can be routed externally to CLK_OSC 100MHz internal oscillator (except in Master SPI modes) or to an external clock in the range [0MHz;100MHz]. | |
RST_HARD_N | I | Mandatory input. When low, it resets the internal configuration engine. RST_HARD_N must be low at least during 3 microseconds to ensure a proper configuration engine reset. When RST_HARD_N goes high, the configuration starts after up to 3 additional microseconds. | |
RST_SOFT_N | I | It only resets internal configuration registers but does not apply a reset on the configuration memory. | |
READY | O | Goes high when the configuration is complete (the FPGA enters in user’s mode) | |
TRIGGER | O | Generates a high-level pulse (~20 ns or one CLK cycle) each time an error is encountered during the configuration and during design processing. Error is taken into account only if it is not masked by the associated TRIGGER_MASK. | |
ERROR | O | Generates a high-level pulse (~20 ns or one CLK cycle) each time an error is encountered during the configuration and during design processing. Error is taken into account only if it is not masked by the associated ERROR_MASK. | |
POK | O | Goes high when VDD1V2 Core and VDD2V5A Analog Supply are on. | |
Slave Parallel 16/8 | CS | I | Active high Chip Select input. Used in Slave Parallel 16/8 mode. The master can write or read to/from the configuration engine when CS is high during a CLK rising edge. |
TYPE[1:0] | I | 2-bits control input. Used in Slave Parallel 16/8 mode. It indicates the type of access: 0b00: ADDR_DEBUG 0b01: READ_DEBUG 0b10: WRITE_DEBUG 0b11: WRITE_CONF | |
DATA_OE | O | Active high output. Used in Slave Parallel 16/8 mode. It is a data valid signal for reading operations. | |
D(15 :0) | I/O | 16-bit data bus used in Slave Parallel 16/8 mode to write the bitstream and/or read internal NG-LARGE internal state values. In case of Slave Parallel 8, only the first 8 LSB are used. | |
Master Serial SPI | D(8) | O | Used in Master Serial SPI and Master Serial SPI with Vcc control, as CS output to the external SPI Flash memory. |
D(9) | O | Used in Master Serial SPI and Master Serial SPI with Vcc control, as clock output to the external SPI Flash memory. | |
D(10) | I | Used in Master Serial SPI and Master Serial SPI with Vcc control, as data input (MISO) from the external SPI Flash memory. | |
D(11) | O | Used in Master Serial SPI and Master Serial SPI with Vcc control, as data output (MOSI) to the external SPI Flash memory (while writing a new bitstream into the SPI Flash. | |
D(12) | I | Configured as input (with internal Pull-Up) during the configuration. Can be configured as, user’s I/O available after completing the configuration. | |
D(13) | I/O | Configured as input (with internal PullPup) during the configuration in Master Serial SPI Configured as high level output during the configuration in Master Serial SPI with Vcc control. Can be configured as user I/O available after completing the configuration. | |
D(14) | I/O | ||
D(15) | I/O | ||
SpaceWire | DIN_P | I | SpaceWire interface is available after completing the configuration in Master Serial SPI, Master Serial SPI with Vcc control or Slave Parallel 8 o 16-bit modes. If SpaceWire is used for the configuration, it can’t be used for other purpose than the configuration. |
DIN_N | I | ||
SIN_P | I | ||
SIN_N | I | ||
DOUT_P | O | ||
DOUT_N | O | ||
SOUT_P | O | ||
SOUT_N | O | ||
JTAG | TCK | I | JTAG CLK |
TMS | I | JTAG TMS | |
TDI | I | JTAG TDI | |
TRST_HARD_N | I | JTAG TRST_HARD_N | |
TDO | O | JTAG TDO | |
...
Please refer to NxBase2 User Manual documentation in ANGIE chapter.
NG_LARGE
...
registers
To access a register, the user needs to use the ADDR_DEBUG instruction first, and then the WR_DEBUG or RD_DEBUG instructions.
NG-LARGE is divided in 9 rows with the following set of registers for each row. When addressing a register, address is 32 bits long with the following mapping:
Address | Mapping |
---|---|
[31:16] | Address of the row. 0xff indicates a broadcast mode addressing all rows in the same time. |
[15:0] | Address of register for the corresponding row. |
When generating a bitstream, default values are sent for all registers but it is possible to change these values inside the bitstream. Refer to initRegister NXmap method.
Note all NG-MEDIUM registers are kept in NG-LARGE and get the same addresses.
...