Commit bd64002a authored by Andrey Filippov's avatar Andrey Filippov

added nedw fields to c-export

parent ad1c2b04
......@@ -508,11 +508,6 @@
//`elsif BOSON
parameter SENS_CTRL_GP2= 18, // 20:18 00 - float, 01 - low, 10 - high, 11 - trigger
parameter SENS_CTRL_GP3= 21, // 23:21 00 - float, 01 - low, 10 - high, 11 - trigger
parameter SENS_UART_EXTIF_EN = 0, // 1: 0
parameter SENS_UART_XMIT_RST = 2, // 3: 2
parameter SENS_UART_RECV_RST = 4, // 5: 4
parameter SENS_UART_XMIT_START = 6, // 6
parameter SENS_UART_RECV_NEXT = 7, // 7
parameter SENS_ALT_STATUS = 24,
parameter SENS_ALT_STATUS_SET = 25,
parameter SENS_TEST_MODES = 26,
......@@ -520,6 +515,12 @@
parameter SENS_TEST_SET= 29,
parameter SENS_CTRL_DPR= 30, // 30:31 DRP command
parameter SENS_UART_EXTIF_EN = 0, // 1: 0
parameter SENS_UART_XMIT_RST = 2, // 3: 2
parameter SENS_UART_RECV_RST = 4, // 5: 4
parameter SENS_UART_XMIT_START = 6, // 6
parameter SENS_UART_RECV_NEXT = 7, // 7
parameter SENS_TEST_WIDTH_BITS = 10,
parameter SENS_TEST_HEIGHT_BITS= 10,
parameter SENS_TEST_WIDTH_INC = 3,
......
......@@ -1912,8 +1912,10 @@ class X393ExportC(object):
def _enc_status_sens_io_boson(self):
dw=[]
dw.append(("ps_out", 0, 8,0, "Sensor MMCM current phase"))
dw.append(("ps_rdy", 8, 1,0, "Sensor MMCM phase ready"))
# dw.append(("ps_out", 0, 8,0, "Sensor MMCM current phase"))
# dw.append(("ps_rdy", 8, 1,0, "Sensor MMCM phase ready"))
dw.append(("drp_odd_bit", 0, 1,0, "Alternating even/odd bit from the MMCM/PLL DRP controller"))
dw.append(("drp_bit", 1, 1,0, "Read data bit (big-endian) from the MMCM/PLL DRP controller"))
dw.append(("perr", 9, 1,0, "Parity error in video stream"))
dw.append(("recv_odd_even", 10, 1,0, "UART receive odd/even output byte (next byte should have it inverted)"))
dw.append(("clkin_pxd_stopped_mmcm",11, 1,0, "Sensor MMCM input clock stopped"))
......@@ -2207,6 +2209,11 @@ class X393ExportC(object):
dw.append(("gp2_set", vrlg.SENS_CTRL_GP2 + 2, 1, 0, "Set GP2 to 'gp2' value"))
dw.append(("gp3", vrlg.SENS_CTRL_GP3, 2, 0 , "GP3 multi-purpose signal to the sensor: 0 - float, 1 - low, 2 - high, 3 - TRIG"))
dw.append(("gp3_set", vrlg.SENS_CTRL_GP3 + 2, 1, 0, "Set GP3 to 'gp3' value"))
dw.append(("alt_status", vrlg.SENS_ALT_STATUS, 1, 0 , "Alternative status map to test serial communication parity"))
dw.append(("alt_status_set", vrlg.SENS_ALT_STATUS_SET, 1, 0, "Set alt_status"))
dw.append(("test_modes", vrlg.SENS_TEST_MODES, vrlg.SENS_TEST_BITS, 0 , "Test pattern modes"))
dw.append(("test_modes_set", vrlg.SENS_TEST_SET, 1, 0, "Set test_modes bits"))
dw.append(("drp_cmd", vrlg.SENS_CTRL_DPR, 2, 0, "MMCM/PLL DRP control: 0 - nop, 1 - shift 0, 2 - shift 1, 3 - execute"))
return dw
def _enc_sensio_jtag(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment