Offset in core for bus CSR : 0x00012000
| hmb_fpga_cfg_5 | This block is the HMB FPGA configuration interface | ||||||
|---|---|---|---|---|---|---|---|
| Register Name | Byte Addr Offset | Field | Bits | Type | subtype | Reset | Description |
| CSR_HMB_FPGA_CFG_5_IP_ID | 0x0 | 32 | Unique ID for this IP block | ||||
| IP_NUMBER | 7:0 | c | 0x0c | IP identifier number | |||
| MFR_NUMBER | 15:8 | c | 0xFF | Manufacturer number | |||
| RESERVED | 31:16 | rsv | 0 | Reserved bits | |||
| CSR_HMB_FPGA_CFG_5_IP_VER | 0x4 | 32 | Bits[7:0] = Minor version number, Bits[15:8] = Major version number, etc. | ||||
| MINOR_NUMBER | 7:0 | c | 0x01 | Minor number | |||
| MAJOR_NUMBER | 15:8 | c | 0x05 | Major number | |||
| RESERVED | 31:16 | rsv | 0 | Reserved bits | |||
| CSR_HMB_FPGA_CFG_5_CONTROL | 0x8 | 3 | Start configuration | ||||
| MSB | 0 | w | 0 | Shift out data MSB first | |||
| CPU_MODE | 1 | w | 0 | Set CPU mode, with data from writes to tx_word register | |||
| PS_MODE | 2 | w | 0 | Set print streamer mode, with data from the print streamer | |||
| CSR_HMB_FPGA_CFG_5_START | 0xc | 1 | w0 | 0 | Start configuration | ||
| CSR_HMB_FPGA_CFG_5_CFG_ADDR | 0x10 | 32 | w | 0 | Configuration data start address in memory | ||
| CSR_HMB_FPGA_CFG_5_STATUS | 0x14 | 4 | Status | ||||
| BUSY | 0 | r | 0 | Interface is busy | |||
| UNCONFIGURED | 1 | r | 0 | Interface is unconfigured | |||
| OK_TO_WRITE | 2 | r | 0 | Okay to write (in CPU mode) | |||
| CONFIG_ERROR | 3 | r | 0 | Error in configuration | |||
| CSR_HMB_FPGA_CFG_5_TX_WORD | 0x18 | 32 | wp | 0 | TX a word over FPGA config interface | ||
| CSR_HMB_FPGA_CFG_5_MAX_TX_WORD_LEN | 0x1c | 32 | w | 0x40000 | Maximum number of words to transmit before timing out | ||
Register/field type key:
| Type | Description |
|---|---|
| c | Constant, with value defined by "reset" attribute |
| rsv | Same as constant, except no reset value and always 0. Can be mixed with write types. |
| w | Write register (and read—no write only type). Register defined in register block and reset to "reset" attribute value. Split into fields (if applicable) for signalling and output, where attribute associated with fields, not register. |
| wp | Write with pulse. Register is not declared in block, but write bus split into fields as output port signals, and a pulse generated on write to register address. Register reads back 0. The "reset" attribute is for documentation only, as set externally. |
| w0 | Same as w, but auto-clears to 0 (and thus always reads as 0). At output port, signal will go high for one cycle when bit is written with a 1 (no effect if written to a 0). No "reset" attribute, as must always be 0. |
| r | Read only value. Input ports generated for each field (where applicable), and concatenated on returned read data bus. |
| rp | Similar to r, but a pulse generated on a read access to the register address to allow peripheral logic to update value. The "reset" attribute is for documentation only, as set externally. |
| rwp | Similar to wp, but also generates a (separate) pulse on a read access to the register |
| bitdef | Defines the bits used in the read, set, clear registers |
| Subype | Description |
| unsigned | Register/field is specified as an unsigned value. |
| signed | Register/field is specified as a signed value. |
| <blank> | Register/field sign status is not explicitly defined and defaults to unsigned. |
The HMB FPGA configuration interface allows a raw binary file (.rbf) image in DDR memory to be loaded into the FPGA on a connected HMB device to configure its logic. The RBF image must be in a physically contiguous buffer in memory.
To configure the remote FPGA device, the ADDR register is programmed with the physical address in memory where the RBF data has been pre-loaded. Then the START register is written with bit 0 set to instigate the configuration. The STATUS register will then indicate that the interface is busy (the BUSY bit is set). When configuration is complete, the BUSY bit is cleared. A bit (UNCONFIGURED) is set after reset, but goes high after a successful configuration. It is also cleared if a new configuration is started, until the completion of the new configuration.
There are register hooks for individual CPU writes of RBF data to configure, but these are not yet used on GMA.
Copyright © 2024 Global Inkjet Systems. Generated by gen_htm.py —2024-10-30 09:43