@@ -1091,10 +1103,13 @@ class X393ExportC(object):
...
@@ -1091,10 +1103,13 @@ class X393ExportC(object):
c="chn"
c="chn"
sdefines+=[
sdefines+=[
(('MULT SAXI DMA engine control. Of 4 channels only one (number 0) is currently used - for the event logger',)),
(('MULT SAXI DMA engine control. Of 4 channels only one (number 0) is currently used - for the event logger',)),
(("X393_MULT_SAXI_STATUS_CTRL","",vrlg.MULT_SAXI_CNTRL_ADDR,0,None,"x393_status_ctrl","rw","MULT_SAXI status control mode (status provides current DWORD pointer)")),
(("X393_MULT_SAXI_MODE","",vrlg.MULT_SAXI_CNTRL_ADDR+vrlg.MULT_SAXI_CNTRL_MODE,0,None,"x393_mult_saxi_mode","rw","MULT_SAXI mode register (per-channel enable and run bits)")),
(("X393_MULT_SAXI_BUF_ADDRESS",c,vrlg.MULT_SAXI_ADDR+0,2,z3,"x393_mult_saxi_al","wo","MULT_SAXI buffer start address in DWORDS")),
(("X393_MULT_SAXI_STATUS_CTRL","",vrlg.MULT_SAXI_CNTRL_ADDR+vrlg.MULT_SAXI_CNTRL_STATUS,0,None,"x393_status_ctrl","rw","MULT_SAXI status control mode (status provides current DWORD pointers)")),
(("X393_MULT_SAXI_BUF_LEN",c,vrlg.MULT_SAXI_ADDR+1,2,z3,"x393_mult_saxi_al","wo","MULT_SAXI buffer length in DWORDS")),
(("X393_MULT_SAXI_INTERRUPTS","",vrlg.MULT_SAXI_CNTRL_ADDR+vrlg.MULT_SAXI_CNTRL_IRQ,0,None,"x393_mult_saxi_interrupts","wo","MULT_SAXI per-channel interrupts control (each dibit:nop/reset/disable/enable)")),
(("X393_MULT_SAXI_STATUS",c,vrlg.STATUS_ADDR+vrlg.MULT_SAXI_STATUS_REG,1,z3,"x393_mult_saxi_al","ro","MULT_SAXI current DWORD pointer"))]
(("X393_MULT_SAXI_BUF_ADDRESS",c,vrlg.MULT_SAXI_ADDR+0,2,z3,"x393_mult_saxi_al","wo","MULT_SAXI buffer start address in DWORDS")),
(("X393_MULT_SAXI_BUF_LEN",c,vrlg.MULT_SAXI_ADDR+1,2,z3,"x393_mult_saxi_al","wo","MULT_SAXI buffer length in DWORDS")),
(("X393_MULT_SAXI_IRQLEN",c,vrlg.MULT_SAXI_IRQLEN_ADDR,1,z3,"x393_mult_saxi_al","wo","MULT_SAXI lower DWORD address bit to change to generate interrupt")),
(("X393_MULT_SAXI_STATUS",c,vrlg.STATUS_ADDR+vrlg.MULT_SAXI_STATUS_REG,1,z3,"x393_mult_saxi_al","ro","MULT_SAXI current DWORD pointer"))]
#MULTI_CLK global clock generation PLLs
#MULTI_CLK global clock generation PLLs
ba=0
ba=0
...
@@ -2329,7 +2344,31 @@ class X393ExportC(object):
...
@@ -2329,7 +2344,31 @@ class X393ExportC(object):
def_enc_mult_saxi_addr(self):
def_enc_mult_saxi_addr(self):
dw=[]
dw=[]
dw.append(("addr32",0,30,0,"SAXI sddress/length in DWORDs"))
dw.append(("addr32",0,30,0,"SAXI address/length in DWORDs"))
returndw
def_enc_mult_saxi_irqlen(self):
dw=[]
dw.append(("irqlen",0,5,0,"lowest DW address bit that has to change to generate interrupt"))