499 lines
21 KiB
JSON
499 lines
21 KiB
JSON
[{
|
|
"ip_name" : "print_ctrl",
|
|
"bus" : "csr",
|
|
"addr_hi_bit" : "10",
|
|
"addr_lo_bit" : "7",
|
|
"addr_width" : "5",
|
|
"description" : "This block is the print controller for the GMA SOM board soft IP",
|
|
"notes" : "The print_ctrl block contains local registers for CPU access to status, and for CPU control and instigation of function, some of which is just for the purposes of test and debug. The CSR_PRINT_CTRL_SEQ_STATUS register has six fields of 4 bits each (for each of the four heads) with bits for the wave and print data sequence busy statuses, and for the data core empty statuses (i.e. no data in the pixel buffer). In addition, there are three error cases for over- and under-runs and double 'droppy' detetction. The CSR_PRINT_CTRL_CONTROL register provides the ability for the CPU to configure the print system. The CHAN_EN field is a master enable for the data core, and the BPP_MODE sets the bits-per-pixel, with valid values for GMA of 1, 2 or 3. The system supports both the GMA3305300 and the GMA9905300, and the DATA_WIDTH field setting configures the mode by specifying either 6 or 18 (for the GMA3305300 and the GMA9905300 respectively). The block is designed to be generic so all values from 1 to 18 are supported, but no product can yet utilise other values. Some test and debug features are provided in the registers, with the CPU_GL_MAP bit of the CSR_PRINT_CTRL_CONTROL register enabling the overriding of the GL map value of the logic, with the values set in the CSR_PRINT_CTRL_CPU_GL_MAP register. This register has four fields of 8 bits---one for each head. In addition, the CPU can instigate a wave sequence start by writing a 1 to the CSR_PRINT_CTRL_CPU_WAVE_SEQ_START register. The sequence start addresses are specified in the 4 registers CSR_PRINT_CTRL_CPU_WAVE_SEQ_ADDRx, where x is 0 to 3. The instigation of a start request to the data core can also be controlled from the CPU by writing a 1 to the CSR_PRINT_CTRL_CPU_DATA_START register. Required delays can be specified in the CSR_PRINT_CTRL_CPU_START_DLY register, with 4 fields of 8 bits---one for each head. The delay is limited to 8 bits, even though the delay queue has more (currently 10 bits), but the full range is not felt to be a test or debug requirement. Data can also be pushed into the pixel buffers from the CPU by setting the CPU_PX_SEL field of the CSR_PRINT_CTRL_CONTROL to select which buffer to update, and then writing to the CSR_PRINT_CTRL_CPU_PUSH_PX_BUF for each word. Note that it is important to have set the BPP mode to be used before attempting to write to the pixel buffer from the CPU as the correct unpacking of data is a function of this.",
|
|
"sub_blocks" : {
|
|
"print_unit:a" : {
|
|
"instance" : "0",
|
|
"process" : "enabled",
|
|
"offset" : "0x000"
|
|
},
|
|
"print_unit:b" : {
|
|
"instance" : "1",
|
|
"process" : "enabled",
|
|
"offset" : "0x080"
|
|
},
|
|
"print_unit:c" : {
|
|
"instance" : "2",
|
|
"process" : "enabled",
|
|
"offset" : "0x100"
|
|
},
|
|
"print_unit:d" : {
|
|
"instance" : "3",
|
|
"process" : "enabled",
|
|
"offset" : "0x180"
|
|
},
|
|
"local" : {
|
|
"instance" : "",
|
|
"process" : "enabled",
|
|
"offset" : "0x200"
|
|
},
|
|
"print_streamer" : {
|
|
"instance" : "",
|
|
"process" : "enabled",
|
|
"offset" : "0x280"
|
|
}
|
|
},
|
|
"registers" : {
|
|
"ip_id" : {
|
|
"address" : "0",
|
|
"width" : "32",
|
|
"description" : "Unique ID for this IP block",
|
|
"fields": {
|
|
"ip_number" : {
|
|
"type" : "c",
|
|
"bit_len" : "8",
|
|
"reset" : "0x0c",
|
|
"description" : "IP identifier number"
|
|
},
|
|
"mfr_number" : {
|
|
"type" : "c",
|
|
"bit_len" : "8",
|
|
"reset" : "0x04",
|
|
"description" : "Manufacturer number"
|
|
|
|
},
|
|
"reserved" : {
|
|
"type" : "rsv",
|
|
"bit_len" : "16",
|
|
"description" : "Reserved bits"
|
|
}
|
|
}
|
|
},
|
|
|
|
"ip_ver" : {
|
|
"address" : "1",
|
|
"width" : "32",
|
|
"description" : "Bits[7:0] = Minor version number, Bits[15:8] = Major version number, etc.",
|
|
"fields": {
|
|
"minor_number" : {
|
|
"type" : "c",
|
|
"bit_len" : "8",
|
|
"reset" : "0x01",
|
|
"description" : "Minor number"
|
|
},
|
|
"major_number" : {
|
|
"type" : "c",
|
|
"bit_len" : "8",
|
|
"reset" : "0x00",
|
|
"description" : "Major number"
|
|
|
|
},
|
|
"reserved" : {
|
|
"type" : "rsv",
|
|
"bit_len" : "16",
|
|
"description" : "Reserved bits"
|
|
}
|
|
}
|
|
},
|
|
"select_head01phase" : {
|
|
"address" : "2",
|
|
"width" : "32",
|
|
"description" : "FPM Phase selection heads 0-1",
|
|
"fields" : {
|
|
"shead00" : {
|
|
"type" : "w",
|
|
"bit_len" : "5",
|
|
"reset" : "0",
|
|
"description" : "FPM phase to use for head 0 sub head 0"
|
|
},
|
|
"reserved0" : {
|
|
"type" : "rsv",
|
|
"bit_len" : "3",
|
|
"description" : "Reserved bits"
|
|
},
|
|
"shead01" : {
|
|
"type" : "w",
|
|
"bit_len" : "5",
|
|
"reset" : "1",
|
|
"description" : "FPM phase to use for head 0 sub head 1"
|
|
},
|
|
"reserved1" : {
|
|
"type" : "rsv",
|
|
"bit_len" : "3",
|
|
"description" : "Reserved bits"
|
|
},
|
|
"shead10" : {
|
|
"type" : "w",
|
|
"bit_len" : "5",
|
|
"reset" : "0",
|
|
"description" : "FPM phase to use for head 1 sub head 0"
|
|
},
|
|
"reserved2" : {
|
|
"type" : "rsv",
|
|
"bit_len" : "3",
|
|
"description" : "Reserved bits"
|
|
},
|
|
"shead11" : {
|
|
"type" : "w",
|
|
"bit_len" : "5",
|
|
"reset" : "1",
|
|
"description" : "FPM phase to use for head 1 sub head 1"
|
|
},
|
|
"reserved3" : {
|
|
"type" : "rsv",
|
|
"bit_len" : "3",
|
|
"description" : "Reserved bits"
|
|
}
|
|
}
|
|
},
|
|
"select_head23phase" : {
|
|
"address" : "3",
|
|
"width" : "32",
|
|
"description" : "FPM Phase selection heads 2-3",
|
|
"fields" : {
|
|
"shead20" : {
|
|
"type" : "w",
|
|
"bit_len" : "5",
|
|
"reset" : "0",
|
|
"description" : "FPM phase to use for head 2 sub head 0"
|
|
},
|
|
"reserved0" : {
|
|
"type" : "rsv",
|
|
"bit_len" : "3",
|
|
"description" : "Reserved bits"
|
|
},
|
|
"shead21" : {
|
|
"type" : "w",
|
|
"bit_len" : "5",
|
|
"reset" : "1",
|
|
"description" : "FPM phase to use for head 2 sub head 1"
|
|
},
|
|
"reserved1" : {
|
|
"type" : "rsv",
|
|
"bit_len" : "3",
|
|
"description" : "Reserved bits"
|
|
},
|
|
"shead30" : {
|
|
"type" : "w",
|
|
"bit_len" : "5",
|
|
"reset" : "0",
|
|
"description" : "FPM phase to use for head 3 sub head 0"
|
|
},
|
|
"reserved2" : {
|
|
"type" : "rsv",
|
|
"bit_len" : "3",
|
|
"description" : "Reserved bits"
|
|
},
|
|
"shead31" : {
|
|
"type" : "w",
|
|
"bit_len" : "5",
|
|
"reset" : "1",
|
|
"description" : "FPM phase to use for head 3 sub head 1"
|
|
},
|
|
"reserved3" : {
|
|
"type" : "rsv",
|
|
"bit_len" : "3",
|
|
"description" : "Reserved bits"
|
|
}
|
|
}
|
|
},
|
|
"cpu_wave_seq" : {
|
|
"address" : "5",
|
|
"width" : "32",
|
|
"description" : "Sequence start addresses for waveform sequencers",
|
|
"fields" : {
|
|
"addr0" : {
|
|
"type" : "w",
|
|
"bit_len" : "8",
|
|
"reset" : "0",
|
|
"description" : "Sequence start address for waveform sequencer 0"
|
|
},
|
|
"addr1" : {
|
|
"type" : "w",
|
|
"bit_len" : "8",
|
|
"reset" : "0",
|
|
"description" : "Sequence start address for waveform sequencer 1"
|
|
},
|
|
"addr2" : {
|
|
"type" : "w",
|
|
"bit_len" : "8",
|
|
"reset" : "0",
|
|
"description" : "Sequence start address for waveform sequencer 2"
|
|
},
|
|
"addr3" : {
|
|
"type" : "w",
|
|
"bit_len" : "8",
|
|
"reset" : "0",
|
|
"description" : "Sequence start address for waveform sequencer 3"
|
|
}
|
|
}
|
|
},
|
|
"cpu_wave_seq_start" : {
|
|
"address" : "6",
|
|
"width" : "8",
|
|
"type" : "w0",
|
|
"reset" : "0",
|
|
"description" : "Sequence start pulse for waveform sequencers"
|
|
},
|
|
"seq_status_a" : {
|
|
"address" : "7",
|
|
"width" : "12",
|
|
"description" : "Print unit sequencer statuses",
|
|
"fields" : {
|
|
"wave_seq_busy" : {
|
|
"type" : "r",
|
|
"bit_len" : "8",
|
|
"reset" : "0x00",
|
|
"description" : "Print unit wave sequencer busy statuses"
|
|
},
|
|
"print_seq_busy" : {
|
|
"type" : "r",
|
|
"bit_len" : "4",
|
|
"reset" : "0x00",
|
|
"description" : "Print unit data sequencer busy statuses"
|
|
}
|
|
}
|
|
},
|
|
"seq_status_b" : {
|
|
"address" : "8",
|
|
"width" : "20",
|
|
"description" : "Print unit sequencer statuses",
|
|
"fields" : {
|
|
"data_core_empty" : {
|
|
"type" : "r",
|
|
"bit_len" : "4",
|
|
"reset" : "0x00",
|
|
"description" : "Print unit data core empty statuses"
|
|
},
|
|
"data_core_overrun" : {
|
|
"type" : "r",
|
|
"bit_len" : "4",
|
|
"reset" : "0x00",
|
|
"description" : "Print unit data core over-run statuses"
|
|
},
|
|
"data_core_underrun" : {
|
|
"type" : "r",
|
|
"bit_len" : "4",
|
|
"reset" : "0x00",
|
|
"description" : "Print unit data core under-run statuses"
|
|
},
|
|
"data_core_fp_drop" : {
|
|
"type" : "r",
|
|
"bit_len" : "4",
|
|
"reset" : "0x00",
|
|
"description" : "Print unit data core fire pulse 'droppy' condition detected"
|
|
},
|
|
"data_core_dbl_drop" : {
|
|
"type" : "r",
|
|
"bit_len" : "4",
|
|
"reset" : "0x00",
|
|
"description" : "Print unit data core double 'droppy' error condition detected"
|
|
}
|
|
}
|
|
},
|
|
"cpu_gl_map_a" : {
|
|
"address" : "9",
|
|
"width" : "32",
|
|
"description" : "CPU controlled grey level maps head0/1",
|
|
"fields" : {
|
|
"head0" : {
|
|
"type" : "w",
|
|
"bit_len" : "16",
|
|
"reset" : "0x6420",
|
|
"description" : "Grey level map for head 0"
|
|
},
|
|
"head1" : {
|
|
"type" : "w",
|
|
"bit_len" : "16",
|
|
"reset" : "0x6402",
|
|
"description" : "Grey level map for head 1"
|
|
}
|
|
}
|
|
},
|
|
"cpu_gl_map_b" : {
|
|
"address" : "10",
|
|
"width" : "32",
|
|
"description" : "CPU controlled grey level maps head2/3",
|
|
"fields" : {
|
|
"head2" : {
|
|
"type" : "w",
|
|
"bit_len" : "16",
|
|
"reset" : "0x6402",
|
|
"description" : "Grey level map for head 2"
|
|
},
|
|
"head3" : {
|
|
"type" : "w",
|
|
"bit_len" : "16",
|
|
"reset" : "0x6402",
|
|
"description" : "Grey level map for head 3"
|
|
}
|
|
}
|
|
},
|
|
"control" : {
|
|
"address" : "11",
|
|
"width" : "11",
|
|
"description" : "Data core control register",
|
|
"fields" : {
|
|
"chan_en" : {
|
|
"type" : "w",
|
|
"bit_len" : "1",
|
|
"reset" : "0x0",
|
|
"description" : "Data core channel enable"
|
|
},
|
|
"cpu_px_sel" : {
|
|
"type" : "w",
|
|
"bit_len" : "3",
|
|
"reset" : "0",
|
|
"description" : "Select pixel buffer for CPU pushes via CPU_PUSH_PX_BUF register"
|
|
},
|
|
"clear_px_buf" : {
|
|
"type" : "w0",
|
|
"bit_len" : "4",
|
|
"reset" : "0",
|
|
"description" : "Clear the pixel buffer contents"
|
|
},
|
|
"fpm_select_pof_niso" : {
|
|
"type" : "w",
|
|
"bit_len" : "1",
|
|
"reset" : "0",
|
|
"description" : "Select ISO POF for FPM input when clear, or POF receiver input when set"
|
|
},
|
|
"en_test_pwr_ctrl" : {
|
|
"type" : "w",
|
|
"bit_len" : "1",
|
|
"reset" : "0",
|
|
"description" : "Enable power-up/down from CPU for test"
|
|
},
|
|
"cpu_adc_meas" : {
|
|
"type" : "w0",
|
|
"bit_len" : "1",
|
|
"reset" : "0",
|
|
"description" : "Instigate and ADC measurement"
|
|
}
|
|
}
|
|
},
|
|
"cpu_data_start" : {
|
|
"address" : "12",
|
|
"width" : "16",
|
|
"description" : "Start request pulse for data cores. Delay taken from CPU_START_DLY register.",
|
|
"fields" : {
|
|
"go" : {
|
|
"type" : "w0",
|
|
"bit_len" : "8",
|
|
"reset" : "0",
|
|
"description" : "Writing a 1 sends the start pulse for heads 0 to 7."
|
|
},
|
|
"first" : {
|
|
"type" : "w",
|
|
"bit_len" : "4",
|
|
"reset" : "0xf",
|
|
"description" : "Sets a flag indicating CPU start pulse is the first in a (potentially) multi-wave sequence."
|
|
},
|
|
"last" : {
|
|
"type" : "w",
|
|
"bit_len" : "4",
|
|
"reset" : "0x0",
|
|
"description" : "Sets a flag indicating CPU start pulse is the first in a (potentially) multi-wave sequence."
|
|
}
|
|
}
|
|
},
|
|
"cpu_push_px_buf" : {
|
|
"address" : "13",
|
|
"width" : "32",
|
|
"type" : "wp",
|
|
"reset" : "0",
|
|
"description" : "Push a word to the pixel buffer selected by CPU_PX_SEL field of CONTROL register"
|
|
},
|
|
"cpu_fire_req" : {
|
|
"address" : "14",
|
|
"width" : "8",
|
|
"type" : "wp",
|
|
"reset" : "0",
|
|
"description" : "Send a fire request with the written fire request data"
|
|
},
|
|
"bpp_mode" : {
|
|
"address" : "15",
|
|
"width" : "16",
|
|
"description" : "BPP mode control",
|
|
"fields" : {
|
|
"head0" : {
|
|
"type" : "w",
|
|
"bit_len" : "4",
|
|
"reset" : "1",
|
|
"description" : "Data core BPP mode control for head0"
|
|
},
|
|
"head1" : {
|
|
"type" : "w",
|
|
"bit_len" : "4",
|
|
"reset" : "1",
|
|
"description" : "Data core BPP mode control for head1"
|
|
},
|
|
"head2" : {
|
|
"type" : "w",
|
|
"bit_len" : "4",
|
|
"reset" : "1",
|
|
"description" : "Data core BPP mode control for head2"
|
|
},
|
|
"head3" : {
|
|
"type" : "w",
|
|
"bit_len" : "4",
|
|
"reset" : "1",
|
|
"description" : "Data core BPP mode control for head3"
|
|
}
|
|
}
|
|
},
|
|
"diag_write_0" : {
|
|
"address" : "16",
|
|
"width" : "32",
|
|
"type" : "wp",
|
|
"reset" : "0",
|
|
"description" : "Write a word using the buffer diagnostic port for head 0"
|
|
},
|
|
"diag_write_1" : {
|
|
"address" : "17",
|
|
"width" : "32",
|
|
"type" : "wp",
|
|
"reset" : "0",
|
|
"description" : "Write a word using the buffer diagnostic port for head 1"
|
|
},
|
|
"diag_write_2" : {
|
|
"address" : "18",
|
|
"width" : "32",
|
|
"type" : "wp",
|
|
"reset" : "0",
|
|
"description" : "Write a word using the buffer diagnostic port for head 2"
|
|
},
|
|
"diag_write_3" : {
|
|
"address" : "19",
|
|
"width" : "32",
|
|
"type" : "wp",
|
|
"reset" : "0",
|
|
"description" : "Write a word using the buffer diagnostic port for head 3"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"ip_name" : "print_ctrl",
|
|
"bus" : "seq",
|
|
"addr_hi_bit" : "12",
|
|
"addr_lo_bit" : "11",
|
|
"description" : "This block is the print controller for the GMA SOM board soft IP",
|
|
"sub_blocks" : {
|
|
"print_unit:a" : {
|
|
"instance" : "0",
|
|
"process" : "cpp",
|
|
"offset" : "0x0000"
|
|
},
|
|
"print_unit:b" : {
|
|
"instance" : "1",
|
|
"process" : "cpp",
|
|
"offset" : "0x0800"
|
|
},
|
|
"print_unit:c" : {
|
|
"instance" : "2",
|
|
"process" : "cpp",
|
|
"offset" : "0x1000"
|
|
},
|
|
"print_unit:d" : {
|
|
"instance" : "3",
|
|
"process" : "cpp",
|
|
"offset" : "0x1800"
|
|
}
|
|
}
|
|
}
|
|
]
|