FPGA_GenericIP/firmware/top/doc/core.json
2020-05-18 18:19:46 +01:00

450 lines
No EOL
15 KiB
JSON

[{
"ip_name" : "core",
"bus" : "csr",
"addr_hi_bit" : "15",
"addr_lo_bit" : "10",
"description" : "This block is the top level for the GMA SOM board soft IP",
"sub_blocks" : {
"generic_pio_1" : {
"instance" : "",
"process" : "txt,cpp,pkg",
"offset" : "0x0000"
},
"swim_2" : {
"instance" : "",
"process" : "enabled",
"offset" : "0x0400"
},
"hmb_fpga_cfg_5" : {
"instance" : "",
"process" : "enabled",
"offset" : "0x1800"
},
"uart_1MBd_3:a" : {
"instance" : "som",
"process" : "enabled",
"offset" : "0x2000"
},
"uart_1MBd_3:b" : {
"instance" : "hmb",
"process" : "enabled",
"offset" : "0x2800"
},
"uart_1MBd_3:c" : {
"instance" : "hmb1",
"process" : "enabled",
"offset" : "0x3000"
},
"print_ctrl" : {
"instance" : "",
"process" : "enabled",
"offset" : "0x3800"
},
"shutdown_monitor_0" : {
"instance" : "",
"process" : "enabled",
"offset" : "0x4000"
},
"local" : {
"instance" : "",
"process" : "enabled",
"offset" : "0x4800"
},
"fpm_ctrl_6" : {
"instance" : "",
"process" : "cpp, txt",
"offset" : "0x8000"
},
"enc_pd_emul_1" : {
"instance" : "",
"process" : "cpp",
"offset" : "0x9800"
},
"ems_0" : {
"instance" : "",
"process" : "cpp, txt",
"offset" : "0xa000"
},
"pulse_generator_3:a" : {
"instance" : "0",
"process" : "cpp, txt",
"offset" : "0xb000"
},
"pulse_generator_3:b" : {
"instance" : "1",
"process" : "cpp, txt",
"offset" : "0xb800"
},
"pulse_generator_3:c" : {
"instance" : "2",
"process" : "cpp, txt",
"offset" : "0xc000"
},
"pulse_generator_3:d" : {
"instance" : "3",
"process" : "cpp, txt",
"offset" : "0xc800"
}
},
"registers" : {
"ip_id" : {
"address" : "0",
"width" : "32",
"description" : "Unique ID for this IP block",
"fields": {
"ip_number" : {
"type" : "c",
"bit_len" : "8",
"reset" : "0x17",
"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" : "0x04",
"description" : "Minor number"
},
"major_number" : {
"type" : "c",
"bit_len" : "8",
"reset" : "0x00",
"description" : "Major number"
},
"reserved" : {
"type" : "rsv",
"bit_len" : "16",
"description" : "Reserved bits"
}
}
},
"test_freq_period" : {
"address" : "2",
"width" : "32",
"type" : "w",
"reset" : "0",
"description" : "Period, in system clock ticks (10ns for GMA/HV), of test clock frequency. A value less than 4 disables the clocks and sets them to 0. A value not a multiple of 4 will give imprecision in 90 deg phase offset, tending towards 0 the larger the period."
},
"heater_pwm" : {
"address" : "3",
"width" : "32",
"description" : "PWM seetings for head heaters",
"fields": {
"hd0" : {
"type" : "w",
"bit_len" : "8",
"reset" : "0",
"description" : "Head 0 heater PWM setting."
},
"hd1" : {
"type" : "w",
"bit_len" : "8",
"reset" : "0",
"description" : "Head 1 heater PWM setting."
},
"hd2" : {
"type" : "w",
"bit_len" : "8",
"reset" : "0",
"description" : "Head 2 heater PWM setting."
},
"hd3" : {
"type" : "w",
"bit_len" : "8",
"reset" : "0",
"description" : "Head 3 heater PWM setting."
}
}
},
"heater_psu_pwm" : {
"address" : "4",
"width" : "8",
"type" : "w",
"reset" : "0",
"description" : "Fan poser supply PWM setting."
},
"fan_pwm" : {
"address" : "5",
"width" : "8",
"type" : "w",
"reset" : "0",
"description" : "Fan PWM setting."
},
"freq_count_clr" : {
"address" : "6",
"width" : "1",
"type" : "w0",
"reset" : "0",
"description" : "Clear frequency counter status."
},
"freq_count" : {
"address" : "7",
"width" : "32",
"type" : "r",
"reset" : "0",
"description" : "Frequency counter average pulse width in system clock ticks."
},
"freq_out_of_range" : {
"address" : "8",
"width" : "1",
"type" : "r",
"reset" : "0",
"description" : "Frequency counter input out-of-range."
},
"clr_ovrrng_mask" : {
"address" : "9",
"width" : "1",
"type" : "w0",
"reset" : "0",
"description" : "Clear HMB over-range alert stick bit masking HV_EN signals. "
},
"px_word_count" : {
"address" : "10",
"width" : "32",
"description" : "Pixel buffer word count",
"fields": {
"hd0" : {
"type" : "r",
"bit_len" : "8",
"reset" : "0",
"description" : "Head 0 px buffer word count."
},
"hd1" : {
"type" : "r",
"bit_len" : "8",
"reset" : "0",
"description" : "Head 1 px buffer word count."
},
"hd2" : {
"type" : "r",
"bit_len" : "8",
"reset" : "0",
"description" : "Head 2 px buffer word count."
},
"hd3" : {
"type" : "r",
"bit_len" : "8",
"reset" : "0",
"description" : "Head 3 px buffer word count."
}
}
},
"en_fire_req_mask" : {
"address" : "11",
"width" : "1",
"type" : "w",
"reset" : "0",
"description" : "Enable fire request masking on shutdown"
},
"diag_ctrl" : {
"address" : "12",
"width" : "8",
"description" : "Enable fire request masking on shutdown",
"fields": {
"peek_px0" : {
"type" : "w",
"bit_len" : "1",
"reset" : "0",
"description" : "Head 0 px buffer peek enable."
},
"peek_px1" : {
"type" : "w",
"bit_len" : "1",
"reset" : "0",
"description" : "Head 1 px buffer peek enable."
},
"peek_px2" : {
"type" : "w",
"bit_len" : "1",
"reset" : "0",
"description" : "Head 2 px buffer peek enable."
},
"peek_px3" : {
"type" : "w",
"bit_len" : "1",
"reset" : "0",
"description" : "Head 3 px buffer peek enable."
},
"peek_px4" : {
"type" : "w",
"bit_len" : "1",
"reset" : "0",
"description" : "Head 4 px buffer peek enable."
},
"peek_px5" : {
"type" : "w",
"bit_len" : "1",
"reset" : "0",
"description" : "Head 5 px buffer peek enable."
},
"peek_px6" : {
"type" : "w",
"bit_len" : "1",
"reset" : "0",
"description" : "Head 6 px buffer peek enable."
},
"peek_px7" : {
"type" : "w",
"bit_len" : "1",
"reset" : "0",
"description" : "Head 7 px buffer peek enable."
}
}
},
"diag_peek_addr" : {
"address" : "13",
"width" : "32",
"type" : "w",
"reset" : "0",
"description" : "Peek address"
},
"diag_peek_data" : {
"address" : "14",
"width" : "32",
"type" : "r",
"reset" : "0",
"description" : "Peek data"
},
"diag_peek_rdptr" : {
"address" : "15",
"width" : "8",
"type" : "r",
"reset" : "0",
"description" : "Peek read pointer"
},
"link_ctrl" : {
"address" : "16",
"width" : "12",
"description" : "Control high speed link",
"fields": {
"mode" : {
"type" : "w",
"bit_len" : "4",
"reset" : "0",
"description" : "Link 0-3, '0' TX normal data, '1' TX training sequence"
},
"repeat" : {
"type" : "w",
"bit_len" : "4",
"reset" : "0",
"description" : "Number of times to repeat training pattern (0-15)"
},
"bitslip" : {
"type" : "w",
"bit_len" : "4",
"reset" : "0",
"description" : "Link 0-3, write '1' to introduce channel bitslip"
}
}
},
"tr_pattern0" : {
"address" : "17",
"width" : "32",
"type" : "w",
"reset" : "0",
"description" : "Training pattern bits 0-31"
},
"tr_pattern1" : {
"address" : "18",
"width" : "32",
"type" : "w",
"reset" : "0",
"description" : "Training pattern bits 32-63"
},
"tr_pattern2" : {
"address" : "19",
"width" : "32",
"type" : "w",
"reset" : "0",
"description" : "Training pattern bits 64-95"
},
"tr_pattern3" : {
"address" : "20",
"width" : "32",
"type" : "w",
"reset" : "0",
"description" : "Training pattern bits 96-127"
},
"tr_pattern4" : {
"address" : "21",
"width" : "32",
"type" : "w",
"reset" : "0",
"description" : "Training pattern bits 128-159"
},
"tr_errors0" : {
"address" : "22",
"width" : "12",
"type" : "r",
"reset" : "0",
"description" : "Training errors link 0"
},
"tr_errors1" : {
"address" : "23",
"width" : "12",
"type" : "r",
"reset" : "0",
"description" : "Training errors link 1"
},
"tr_errors2" : {
"address" : "25",
"width" : "12",
"type" : "r",
"reset" : "0",
"description" : "Training errors link 2"
},
"tr_errors3" : {
"address" : "26",
"width" : "12",
"type" : "r",
"reset" : "0",
"description" : "Training errors link 3"
}
}
},
{
"ip_name" : "core",
"bus" : "seq",
"addr_hi_bit" : "13",
"addr_lo_bit" : "13",
"description" : "This block is the top level for the GMA SOM board soft IP",
"process_regs" : "disabled",
"registers" : {
"seq_buff" : {
"address" : "0",
"width" : "32",
"type" : "w",
"reset" : "0",
"description" : "Sequence buffer"
}
},
"sub_blocks" : {
"print_ctrl" : {
"instance" : "",
"process" : "enabled",
"offset" : "0x0000"
}
}
}
]