fpga_loader.cdb
上传用户:dahaojd
上传日期:2008-01-29
资源大小:14357k
文件大小:1014k
- }
- inst iDelMsg :: "ok" {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst FSYNC_SETUP :: "None" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "None,Enable"
- prop Label :: "Frame Sync(FS)"
- prop JSName :: "edmaOptionsFS"
- prop Visible :: 1
- prop Writable :: if (CSL.EDMA_SUPPORT != 0) {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Operation Mode"
- prop Set :: (self.FSYNC_SETUP = $1, self.OPTION_VALUE = self.OPTION_VALUE_update(), "ok")
- }
- inst TDS_SETUP :: "Disable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable,Enable"
- prop Label :: "Two Dimensional Source Transfer(2DS)"
- prop JSName :: "edmaOptions2ds"
- prop Visible :: 1
- prop Writable :: if (CSL.EDMA_SUPPORT != 0) {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Source"
- prop Set :: (self.TDS_SETUP = $1, self.OPTION_VALUE = self.OPTION_VALUE_update(), "ok")
- }
- inst TDD_SETUP :: "Disable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable,Enable"
- prop Label :: "Two Dimensional Destination Transfer(2DD)"
- prop Visible :: 1
- prop JSName :: "edmaOptions2dd"
- prop Writable :: if (CSL.EDMA_SUPPORT != 0) {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Destination"
- prop Set :: (self.TDD_SETUP = $1, self.OPTION_VALUE = self.OPTION_VALUE_update(), "ok")
- }
- inst DUM_SETUP :: "None" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "None,Increment,Decrement,Index"
- prop Label :: "Destination Address Update Mode(DUM)"
- prop Visible :: 1
- prop JSName :: "edmaOptionsDum"
- prop Writable :: if (CSL.EDMA_SUPPORT != 0) {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Destination"
- prop Set :: (self.DUM_SETUP = $1, self.OPTION_VALUE = self.OPTION_VALUE_update(), "ok")
- }
- inst SUM_SETUP :: "None" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "None,Increment,Decrement,Index"
- prop Label :: "Source Address Update Mode(SUM)"
- prop Visible :: 1
- prop JSName :: "edmaOptionsSum"
- prop Writable :: if (CSL.EDMA_SUPPORT != 0) {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Source"
- prop Set :: (self.SUM_SETUP = $1, self.OPTION_VALUE = self.OPTION_VALUE_update(), "ok")
- }
- inst PDTS_SETUP :: "Disable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable,Enable"
- prop Label :: "Peripheral Device Transfer Srce(PDTS)"
- prop Visible :: 1
- prop Writable :: if ((CSL.EDMA_SUPPORT != 0) && CSL.C64_SUPPORT) {1} else {0}
- prop JSName :: "edmaOptionsPdts"
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Source"
- prop Set :: (self.PDTS_SETUP = $1, self.OPTION_VALUE = self.OPTION_VALUE_update(), "ok")
- }
- inst ESIZE_SETUP :: "32-bit" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "32-bit,16-bit,8-bit"
- prop Label :: "Element Size(ESIZE)"
- prop Visible :: 1
- prop JSName :: "edmaOptionsEsize"
- prop Writable :: if (CSL.EDMA_SUPPORT != 0) {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Operation Mode"
- prop Set :: (self.ESIZE_SETUP = $1, self.OPTION_VALUE = self.OPTION_VALUE_update(), "ok")
- }
- inst PRI_SETUP :: "Urgent(64x)" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Low,Medium,High,Urgent(64x)"
- prop Label :: "Priority Levels(PRI)"
- prop Visible :: 1
- prop JSName :: "edmaOptionsPri"
- prop Writable :: if (CSL.EDMA_SUPPORT != 0) {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Operation Mode"
- prop Set :: (if (!CSL.C64_SUPPORT) {if ($1 == "Medium" || $1 == "Urgent(64x)") {self.error("Invalid Selection, For C64x only")} else {self.PRI_SETUP = $1, self.OPTION_VALUE = self.OPTION_VALUE_update(), "ok"}} else {self.PRI_SETUP = $1, self.OPTION_VALUE = self.OPTION_VALUE_update(), "ok"})
- }
- inst TCINT_SETUP :: "Disable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable,Enable"
- prop Label :: "Transfer Complete Interrupt(TCINT)"
- prop JSName :: "edmaOptionsTcint"
- prop Visible :: 1
- prop Writable :: if (CSL.EDMA_SUPPORT != 0) {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Transfer Complete"
- prop Set :: (self.TCINT_SETUP = $1, self.OPTION_VALUE = self.OPTION_VALUE_update(), "ok")
- }
- inst TCC_SETUP :: "Host to DSP Interrupt" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Host to DSP Interrupt,Timer 0 Interrupt,Timer 1 Interrupt,EMIF Timer Interrupt,External Interrupt Pin 4,External Interrupt Pin 5,External Interrupt Pin 6,External Interrupt Pin 7,EDMA_TCC 1000b Interrupt,EDMA_TCC 1001b Interrupt,EDMA_TCC 1010b Interrupt,EDMA_TCC 1011b Interrupt,McBSP 0 Transmit Event,McBSP 0 Receive Event,McBSP 1 Transmit Event,McBSP 1 Receive Event"
- prop Label :: "Transfer Complete Code(TCC)"
- prop Visible :: 0
- prop Writable :: (if ((CSL.EDMA_SUPPORT != 0) && (self.TCINT_SETUP != "Disable")) {1} else {0})
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Transfer Complete"
- prop Set :: (self.TCC_SETUP = $1, self.TCC_SETUP_NEW = self.TCC_OPTION_OLD(), self.OPTION_VALUE = self.OPTION_VALUE_update(), "ok")
- }
- inst TCC_SETUP_NEW :: 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: 0x01 | 0x02
- prop Label :: "Transfer Complete Code(TCC)"
- prop Visible :: 1
- prop JSName :: "edmaOptionsTcc"
- prop Writable :: (if ((CSL.EDMA_SUPPORT != 0) && (self.TCINT_SETUP != "Disable")) {1} else {0})
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Transfer Complete"
- prop Set :: (if ($1 < 0 || $1 > 15) {self.error(" TCC value has to be set between 0 and 15")} else {self.TCC_SETUP_NEW = $1, self.OPTION_VALUE = self.OPTION_VALUE_update(), "ok"})
- }
- inst TCCM_SETUP :: 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: 0x01 | 0x02
- prop Style :: 0x01
- prop Label :: "Most Significant Bits of Transfer Complete Code(TCCM)"
- prop Visible :: 1
- prop Writable :: if ((CSL.EDMA_SUPPORT != 0) && (self.TCINT_SETUP != "Disable") && CSL.C64_SUPPORT) {1} else {0}
- prop JSName :: "edmaOptionsTccm"
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Transfer Complete"
- prop Set :: (if ($1 > 3) {self.error("Invalid Number, Should be between 0 and 3")} else {self.TCCM_SETUP = $1, self.OPTION_VALUE = self.OPTION_VALUE_update(), "ok"})
- }
- inst ATCINT_SETUP :: "Disable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable,Enable"
- prop Label :: "Alternate Transfer Complete Interrupt(ATCINT)"
- prop Visible :: 1
- prop Writable :: if ((CSL.EDMA_SUPPORT != 0) && CSL.C64_SUPPORT) {1} else {0}
- prop JSName :: "edmaOptionsAtcint"
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Transfer Complete"
- prop Set :: (self.ATCINT_SETUP = $1, self.OPTION_VALUE = self.OPTION_VALUE_update(), "ok")
- }
- inst ATCC_SETUP :: 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: 0x01 | 0x02
- prop Label :: "Alternate Transfer Complete Code(ATCC)"
- prop Visible :: 1
- prop Writable :: if ((CSL.EDMA_SUPPORT != 0) && (self.ATCINT_SETUP != "Disable") && CSL.C64_SUPPORT) {1} else {0}
- prop JSName :: "edmaOptionsAtcc"
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Transfer Complete"
- prop Set :: (if ($1 > 63) {self.error("Invalid Number, Should be between 0 and 63")} else {self.ATCC_SETUP = $1, self.OPTION_VALUE = self.OPTION_VALUE_update(), "ok"})
- }
- inst SRCADDR :: 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Label :: "Source Address (Old - should not be visible)"
- prop Visible :: 0
- prop Writable :: CSL.EDMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Source"
- prop Set :: (if (0) {self.error("Invalid Number")} else {self.SRCADDR = $1, self.SRCADDR_FORMAT = "Numeric", self.SRCADDR_FORMAT_ADV = self.SRCADDR_FORMAT, self.SRCADDR_NUM = self.SRCADDR, self.SRCADDR_NUM_VALUE = self.SRCADDR_NUM, self.SRCADDR_SYM = "NULL", self.SRCADDR_SYM_VALUE = self.SRCADDR_SYM, "ok"})
- }
- inst SRCADDR_FORMAT :: "Numeric" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Numeric,Extern Decl. Obj.,User's Header file,McBSP handle (DRR)"
- prop Label :: "Source Address Format"
- prop JSName :: "edmaSrcAddrFormat"
- prop Visible :: 1
- prop Writable :: CSL.EDMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Source"
- prop Set :: ($a = 0, scan ($b; externDecl) {$a += 1}, if ($a == 1 && $1 == "Extern Decl. Obj.") {self.SRCADDR_FORMAT = "Numeric", self.error("You must create a Symbol Address - See CSL extern Declaration")} else {if ($1 == "User's Header file" && externDecl.HeaderFile == "NULL") {self.SRCADDR_FORMAT = "Numeric", self.error("You must enter a Header file name - See CSL extern Declaration")} else {self.SRCADDR_FORMAT = $1, self.SRCADDR_FORMAT_ADV = $1, if ($1 == "Numeric") {self.SRCADDR_HANDLE = "NULL", self.SRCADDR_SYM = "NULL", self.SRCADDR_HEADER = "NULL"} , if ($1 == "User's Header file") {self.SRCADDR_HANDLE = "NULL", self.SRCADDR_SYM = "NULL"} , if ($1 == "Extern Decl. Obj.") {self.SRCADDR_HANDLE = "NULL", self.SRCADDR_HEADER = "NULL"} , if ($1 == "McBSP handle (DRR)") {self.SRCADDR_SYM = "NULL", self.SRCADDR_HEADER = "NULL"} , "ok"}})
- }
- inst SRCADDR_NUM :: 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Label :: " Src Addr - Enter Numeric value "
- prop JSName :: "edmaSrcAddrNumeric"
- prop Visible :: 1
- prop Writable :: CSL.EDMA_SUPPORT && self.SRCADDR_FORMAT == "Numeric"
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Source"
- prop Set :: (if (0) {self.error("Invalid Number")} else {self.SRCADDR_NUM = $1, self.SRCADDR_NUM_VALUE = self.SRCADDR_NUM, self.SRCADDR_HANDLE = "NULL", self.SRCADDR_HEADER = "NULL", self.SRCADDR_HEADER_VALUE = self.SRCADDR_HEADER, self.SRCADDR_SYM = "NULL", self.SRCADDR_SYM_VALUE = self.SRCADDR_SYM, "ok"})
- }
- inst SRCADDR_SYM :: "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Src Addr - Extern Decl. Symbol name "
- prop JSName :: "edmaSrcAddrSymbol"
- prop Visible :: 1
- prop Writable :: CSL.EDMA_SUPPORT && self.SRCADDR_FORMAT == "Extern Decl. Obj."
- prop NoGen :: 1
- prop TabName :: "Source"
- prop Set :: ($a = 0, scan ($b; externDecl) {if ($1 != "NULL" && $1 == $b.BuffName) {if ($b.BuffType == "NULL") {$a = 1} else {if ($1 == self.DSTADDR_SYM) {$a = 2} else {$a = 3}}} }, if ($a == 0) {self.error("Symbolic object Name not declared - See CSL Extern Declaration")} else {if ($a == 1) {self.error("Symbol Type of this object is incorrect - See CSL Extern Declaration")} else {if ($a == 2) {self.error("Source and Destination must be different")} else {self.SRCADDR_HANDLE = "NULL", self.SRCADDR_SYM = $1, self.SRCADDR_SYM_VALUE = self.SRCADDR_SYM, "ok"}}})
- }
- inst SRCADDR_HEADER :: "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Src Addr - Enter full address "
- prop JSName :: "edmaSrcAddrFull"
- prop Visible :: 1
- prop Writable :: CSL.EDMA_SUPPORT && self.SRCADDR_FORMAT == "User's Header file"
- prop NoGen :: 1
- prop TabName :: "Source"
- prop Set :: (self.SRCADDR_HANDLE = "NULL", self.SRCADDR_SYM = "NULL", self.SRCADDR_HEADER = $1, self.SRCADDR_HEADER_VALUE = self.SRCADDR_HEADER, "ok")
- }
- inst SRCADDR_HANDLE :: "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Src Addr - Enter Handle Name "
- prop JSName :: "edmaSrcAddrHandle"
- prop Visible :: 1
- prop Writable :: CSL.EDMA_SUPPORT && self.SRCADDR_FORMAT == "McBSP handle (DRR)"
- prop NoGen :: 1
- prop TabName :: "Source"
- prop Set :: ($a = 0, $c = 0, scan ($b; hMcbsp) {if ($1 == $b.HandleName && $b.MCBSP_HANDLE_ENABLE == 1) {$a = 1} }, if ($a == 0) {self.error("Handle object Name has to be declared and defined (open) - ")} else {self.SRCADDR_HANDLE = $1, "ok"})
- }
- inst PDTD_SETUP :: "Disable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable,Enable"
- prop Label :: "Peripheral Device Transfer Dest.(PDTD)"
- prop Visible :: 1
- prop Writable :: if ((CSL.EDMA_SUPPORT != 0) && CSL.C64_SUPPORT) {1} else {0}
- prop NoGen :: 1
- prop JSName :: "edmaOptionsPdtd"
- prop cGen :: 0
- prop TabName :: "Destination"
- prop Set :: (self.PDTD_SETUP = $1, self.OPTION_VALUE = self.OPTION_VALUE_update(), "ok")
- }
- inst DSTADDR :: 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Label :: "Destination Address (Old - should not be visible)"
- prop Visible :: 0
- prop Writable :: CSL.EDMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Destination"
- prop Set :: (if (0) {self.error("Invalid Number")} else {self.DSTADDR = $1, self.DSTADDR_FORMAT = "Numeric", self.DSTADDR_FORMAT_ADV = self.DSTADDR_FORMAT, self.DSTADDR_NUM = self.DSTADDR, self.DSTADDR_NUM_VALUE = self.DSTADDR_NUM, self.DSTADDR_SYM = "NULL", self.DSTADDR_SYM_VALUE = self.DSTADDR_SYM, "ok"})
- }
- inst DSTADDR_FORMAT :: "Numeric" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Numeric,Extern Decl. Obj.,User's Header file,McBSP handle (DXR)"
- prop Label :: "Destination Address Format"
- prop JSName :: "edmaDstAddrFormat"
- prop Visible :: 1
- prop Writable :: CSL.EDMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Destination"
- prop Set :: ($a = 0, scan ($b; externDecl) {$a += 1}, if ($a == 1 && $1 == "Extern Decl. Obj.") {self.DSTADDR_FORMAT = "Numeric", self.error("You must create a Symbol Address - See CSL Extern Declaration")} else {if ($1 == "User's Header file" && externDecl.HeaderFile == "NULL") {self.DSTADDR_FORMAT = "Numeric", self.error("You must enter a Header file name - See CSL Extern Declaration")} else {self.DSTADDR_FORMAT = $1, self.DSTADDR_FORMAT_ADV = $1, if ($1 == "Numeric") {self.DSTADDR_SYM = "NULL", self.DSTADDR_HANDLE = "NULL", self.DSTADDR_HEADER = "NULL"} , if ($1 == "User's Header file") {self.DSTADDR_HANDLE = "NULL", self.DSTADDR_SYM = "NULL"} , if ($1 == "Extern Decl. Obj.") {self.DSTADDR_HANDLE = "NULL", self.DSTADDR_HEADER = "NULL"} , if ($1 == "McBSP handle (DXR)") {self.DSTADDR_SYM = "NULL", self.DSTADDR_HEADER = "NULL"} , "ok"}})
- }
- inst DSTADDR_NUM :: 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Label :: " Dst Addr - Enter Numeric value "
- prop JSName :: "edmaDstAddrNumeric"
- prop Visible :: 1
- prop Writable :: if (CSL.EDMA_SUPPORT != 0 && self.DSTADDR_FORMAT == "Numeric") {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Destination"
- prop Set :: (if (0) {self.error("Invalid Number")} else {self.DSTADDR_NUM = $1, self.DSTADDR_NUM_VALUE = self.DSTADDR_NUM, self.DSTADDR_HANDLE = "NULL", self.DSTADDR_HEADER = "NULL", self.DSTADDR_HEADER_VALUE = self.DSTADDR_HEADER, self.DSTADDR_SYM = "NULL", self.DSTADDR_SYM_VALUE = self.DSTADDR_SYM, "ok"})
- }
- inst DSTADDR_SYM :: "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Dst Addr - Extern Decl. Symbol Name "
- prop JSName :: "edmaDstAddrSymbol"
- prop Visible :: 1
- prop Writable :: CSL.EDMA_SUPPORT && self.DSTADDR_FORMAT == "Extern Decl. Obj."
- prop NoGen :: 1
- prop TabName :: "Destination"
- prop Set :: ($a = 0, scan ($b; externDecl) {if ($1 != "NULL" && $1 == $b.BuffName) {if ($b.BuffType == "NULL") {$a = 1} else {if ($1 == self.SRCADDR_SYM) {$a = 2} else {$a = 3}}} }, if ($a == 0) {self.error("Symbolic Object Name not declared - See CSL Extern Declaration")} else {if ($a == 1) {self.error("Symbol Type of this object is incorrect - See CSL Extern Declaration")} else {if ($a == 2) {self.error("Source and Destination must be different")} else {self.DSTADDR_SYM = $1, self.DSTADDR_SYM_VALUE = self.DSTADDR_SYM, "ok"}}})
- }
- inst DSTADDR_HEADER :: "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Dst Addr - Enter full address "
- prop JSName :: "edmaDstAddrFull"
- prop Visible :: 1
- prop Writable :: (CSL.EDMA_SUPPORT && self.DSTADDR_FORMAT == "User's Header file")
- prop NoGen :: 1
- prop TabName :: "Destination"
- prop Set :: (self.DSTADDR_HEADER = $1, self.DSTADDR_NUM_VALUE = 0x00000000, self.DSTADDR_HEADER_VALUE = self.DSTADDR_HEADER, "ok")
- }
- inst DSTADDR_HANDLE :: "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Dst Addr - Enter Handle Name "
- prop JSName :: "edmaDstAddrHandle"
- prop Visible :: 1
- prop Writable :: CSL.EDMA_SUPPORT && self.DSTADDR_FORMAT == "McBSP handle (DXR)"
- prop NoGen :: 1
- prop TabName :: "Destination"
- prop Set :: ($a = 0, $c = 0, scan ($b; hMcbsp) {if ($1 == $b.HandleName && $b.MCBSP_HANDLE_ENABLE == 1) {$a = 1} }, if ($a == 0) {self.error("Handle object Name has to be declared and defined (open) - ")} else {self.DSTADDR_HANDLE = $1, "ok"})
- }
- inst FRAMECNT :: 0x0000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%04X"
- prop Style :: 0x02
- prop Label :: "Frame Count(FC)"
- prop Visible :: 0
- prop Writable :: if (CSL.EDMA_SUPPORT != 0) {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Transfer Count"
- prop Set :: (if (($1 > 65535) || ($1 < 0)) {self.error("Invalid Number [0..65535]")} else {self.FRAMECNT = $1, self.FRAMECNT_NUM = $1, self.FRAMECNT_HEADER = "NULL", self.XFRCNT_NUM_VALUE &= 0x0000FFFF, self.XFRCNT_NUM_VALUE |= (self.FRAMECNT_NUM << 16), "ok"})
- }
- inst XFRCNT_FORMAT :: "Numeric" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Numeric,User's Header file"
- prop Label :: " Transfer Counter Format"
- prop JSName :: "edmaTransferCounterFormat"
- prop Visible :: 1
- prop Writable :: CSL.EDMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Transfer Count"
- prop Set :: (if ($1 == "User's Header file" && externDecl.HeaderFile == "NULL") {self.XFRCNT_FORMAT = "Numeric", self.error("You must enter a Header file name - See CSL Extern Declaration")} else {self.XFRCNT_FORMAT = $1, self.XFRCNT_FORMAT_ADV = self.XFRCNT_FORMAT, if ($1 == "Numeric") {self.ELMCNT_HEADER = "NULL", self.FRAMECNT_HEADER = "NULL"} else {self.FRAMECNT_NUM = 0x0000, self.ELMCNT_NUM = 0x0000, self.XFRCNT_NUM_VALUE = 0x00000000}, "ok"})
- }
- inst FRAMECNT_NUM :: 0x0000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%04X"
- prop Style :: 0x02
- prop Label :: " Frame Cnt(FC) - Enter 16-bit value"
- prop JSName :: "edmaFrameCountNumeric"
- prop Visible :: 1
- prop Writable :: CSL.EDMA_SUPPORT && self.XFRCNT_FORMAT == "Numeric"
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Transfer Count"
- prop Set :: (if (($1 > 65535) || ($1 < 0)) {self.error("Invalid Number [0..65535]")} else {self.FRAMECNT_NUM = $1, self.FRAMECNT_HEADER = "NULL", self.XFRCNT_NUM_VALUE &= 0x0000FFFF, self.XFRCNT_NUM_VALUE |= (self.FRAMECNT_NUM << 16), "ok"})
- }
- inst FRAMECNT_HEADER :: = "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Frame Cnt(FC) - Enter Num or Symbol value "
- prop JSName :: "edmaFrameCountSymbol"
- prop Visible :: 1
- prop Writable :: CSL.EDMA_SUPPORT && self.XFRCNT_FORMAT != "Numeric"
- prop NoGen :: 1
- prop TabName :: "Transfer Count"
- prop Set :: (self.FRAMECNT_HEADER = $1, self.FRAMECNT_NUM = 0x0000, self.XFRCNT_NUM_VALUE = (self.XFRCNT_NUM_VALUE & 0x0000FFFF), "ok")
- }
- inst ELMCNT :: 0x0001 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%04X"
- prop Style :: 0x02
- prop Label :: "Element Count(EC)"
- prop Visible :: 0
- prop Writable :: if (CSL.EDMA_SUPPORT != 0) {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Transfer Count"
- prop Set :: (if (($1 > 65535) || ($1 < 1)) {self.error("Invalid Number [1..65535]")} else {self.ELMCNT = $1, self.ELMCNT_NUM = $1, self.ELMCNT_HEADER = "NULL", self.XFRCNT_NUM_VALUE &= 0xFFFF0000, self.XFRCNT_NUM_VALUE |= self.ELMCNT_NUM, "ok"})
- }
- inst ELMCNT_NUM :: 0x0000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%04X"
- prop Style :: 0x02
- prop Label :: " Elt Counter(EC) - Enter 16-bit value"
- prop JSName :: "edmaElementCountNumeric"
- prop Visible :: 1
- prop Writable :: CSL.EDMA_SUPPORT && self.XFRCNT_FORMAT == "Numeric"
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Transfer Count"
- prop Set :: (if (($1 > 65535) || ($1 < 0)) {self.error("Invalid Number [1..65535]")} else {self.ELMCNT_NUM = $1, self.ELMCNT_HEADER = "NULL", self.XFRCNT_NUM_VALUE &= 0xFFFF0000, self.XFRCNT_NUM_VALUE |= self.ELMCNT_NUM, "ok"})
- }
- inst ELMCNT_HEADER :: "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Elt Count(EC) - Enter Num or Sym value "
- prop JSName :: "edmaElementCountSymbol"
- prop Visible :: 1
- prop Writable :: CSL.EDMA_SUPPORT && self.XFRCNT_FORMAT != "Numeric"
- prop NoGen :: 1
- prop TabName :: "Transfer Count"
- prop Set :: (self.ELMCNT_HEADER = $1, self.ELMCNT_NUM = 0x0000, self.XFRCNT_NUM_VALUE = (self.XFRCNT_NUM_VALUE & 0xFFFF0000), "ok")
- }
- inst XFRIDX_FORMAT :: "Numeric" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Numeric,User's Header file"
- prop Label :: " Index Format"
- prop JSName :: "edmaIndexFormat"
- prop Visible :: 1
- prop Writable :: CSL.EDMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Index"
- prop Set :: (if ($1 == "User's Header file" && externDecl.HeaderFile == "NULL") {self.XFRIDX_FORMAT = "Numeric", self.error("You must enter a Header file name - See CSL Extern Declaration")} else {self.XFRIDX_FORMAT = $1, self.XFRIDX_FORMAT_ADV = self.XFRIDX_FORMAT, if ($1 == "Numeric") {self.FRAMEIDX_HEADER = "NULL", self.ELMIDX_HEADER = "NULL"} else {self.FRAMEIDX_NUM = 0x0000, self.ELMIDX_NUM = 0x0000, self.XFRIDX_NUM_VALUE = 0x00000000}, "ok"})
- }
- inst FRAMEIDX :: 0x0000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%04X"
- prop Style :: 0x02
- prop Label :: "Frame Index(FIX)"
- prop Visible :: 0
- prop Writable :: if (CSL.EDMA_SUPPORT != 0) {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Index"
- prop Set :: (if (($1 > 0x7FFF) || ($1 < 0xFFFF8000)) {self.error("Invalid Number")} else {self.FRAMEIDX = $1, self.FRAMEIDX_NUM = $1, self.FRAMEIDX_HEADER = "NULL", self.XFRIDX_NUM_VALUE &= 0x0000FFFF, self.XFRIDX_NUM_VALUE |= (self.FRAMEIDX_NUM << 16), "ok"})
- }
- inst FRAMEIDX_NUM :: 0x0000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%04X"
- prop Style :: 0x02
- prop Label :: "Frame Index(FIX)- 16-bit"
- prop JSName :: "edmaFrameIndexNumeric"
- prop Visible :: 1
- prop Writable :: (CSL.EDMA_SUPPORT && self.XFRIDX_FORMAT == "Numeric")
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Index"
- prop Set :: (if (($1 > 0x7FFF) || ($1 < 0xFFFF8000)) {self.error("Invalid Number")} else {self.FRAMEIDX_NUM = $1, self.FRAMEIDX_HEADER = "NULL", self.XFRIDX_NUM_VALUE &= 0x0000FFFF, self.XFRIDX_NUM_VALUE |= (self.FRAMEIDX_NUM << 16), "ok"})
- }
- inst FRAMEIDX_HEADER :: = "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Frame Index(FIX) - Enter Num or Symbol value "
- prop JSName :: "edmaFrameIndexSymbol"
- prop Visible :: 1
- prop Writable :: CSL.EDMA_SUPPORT && self.XFRIDX_FORMAT != "Numeric"
- prop NoGen :: 1
- prop TabName :: "Index"
- prop Set :: (self.FRAMEIDX_HEADER = $1, self.FRAMEIDX_NUM = 0x0000, self.XFRIDX_NUM_VALUE = (self.XFRIDX_NUM_VALUE & 0x0000FFFF), "ok")
- }
- inst ELMIDX :: 0x0000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%04X"
- prop Style :: 0x02
- prop Label :: "Element Index(EIX)"
- prop Visible :: 0
- prop Writable :: if (CSL.EDMA_SUPPORT != 0) {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Index"
- prop Set :: (if (($1 > 0x7FFF) || ($1 < 0xFFFF8000)) {self.error("Invalid Number")} else {self.ELMIDX = $1, self.ELMIDX_NUM = $1, self.ELMIDX_HEADER = "NULL", self.XFRIDX_NUM_VALUE &= 0xFFFF0000, self.XFRIDX_NUM_VALUE |= self.ELMIDX_NUM, "ok"})
- }
- inst ELMIDX_NUM :: 0x0000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%04X"
- prop Style :: 0x02
- prop Label :: "Element Index(EIX) - 16-bit"
- prop JSName :: "edmaElementIndexNumeric"
- prop Visible :: 1
- prop Writable :: (CSL.EDMA_SUPPORT && self.XFRIDX_FORMAT == "Numeric")
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Index"
- prop Set :: (if (($1 > 0x7FFF) || ($1 < 0xFFFF8000)) {self.error("Invalid Number")} else {self.ELMIDX_NUM = $1, self.ELMIDX_HEADER = "NULL", self.XFRIDX_NUM_VALUE &= 0xFFFF0000, self.XFRIDX_NUM_VALUE |= self.ELMIDX_NUM, "ok"})
- }
- inst ELMIDX_HEADER :: "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Element Index(EIX) - Enter Num or Sym value "
- prop JSName :: "edmaElementIndexSymbol"
- prop Visible :: 1
- prop Writable :: CSL.EDMA_SUPPORT && self.XFRIDX_FORMAT != "Numeric"
- prop NoGen :: 1
- prop TabName :: "Index"
- prop Set :: (self.ELMIDX_HEADER = $1, self.ELMIDX_NUM = 0x0000, self.XFRIDX_NUM_VALUE = (self.XFRIDX_NUM_VALUE & 0xFFFF0000), "ok")
- }
- inst ECRLD :: 0x0000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%04X"
- prop Style :: 0x02
- prop Label :: "Element Count Reload(ECRLD)"
- prop JSName :: "edmaElementCountReload"
- prop Visible :: 1
- prop Writable :: if (CSL.EDMA_SUPPORT != 0) {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Transfer Count"
- prop Set :: (if (($1 > 65535) || ($1 < 1)) {self.error("Invalid Number")} else {self.ECRLD = $1, self.RLD_LNK_VALUE &= 0x0000FFFF, self.RLD_LNK_VALUE |= (self.ECRLD << 16), "ok"})
- }
- inst LINK_SETUP :: "Disable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable,Enable"
- prop Label :: "Linking Event(LINK)"
- prop JSName :: "edmaLink"
- prop Visible :: 1
- prop Writable :: if (CSL.EDMA_SUPPORT != 0) {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Link"
- prop Set :: (self.LINK_SETUP = $1, self.OPTION_VALUE = self.OPTION_VALUE_update(), "ok")
- }
- inst LINK_FORMAT :: = "Table Number" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Table Number,Table Handle"
- prop Label :: "Link Format"
- prop JSName :: "edmaLinkFormat"
- prop Visible :: 1
- prop Writable :: (if ((self.LINK_SETUP == "Enable") && (CSL.EDMA_SUPPORT != 0)) {1} else {0})
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Link"
- prop Set :: ($a = 0, scan ($b; hEdmaTbl) {$a += 1}, if ($a == 1 && $1 == "Table Handle") {self.LINK_FORMAT = "Table Number", self.error(" A table object has to be created AND ALLOCATED under Param Table Entry")} else {self.LINK_FORMAT = $1, if ($1 == "Table Number") {self.LINK_TBLHANDLE = PARAMTBL_NOTHING} , "ok"})
- }
- inst LINK_TBLHANDLE :: PARAMTBL_NOTHING {
- prop Type :: "{7BA2DA00-5A53-11d0-9BFE-0000C0AC14C7}"
- prop MemberType :: hEdmaTbl
- prop Label :: "Link Handle Table"
- prop JSName :: "edmaLinkHandle"
- prop Visible :: 1
- prop Writable :: (if ((self.LINK_SETUP == "Enable") && (CSL.EDMA_SUPPORT != 0) && (self.LINK_FORMAT == "Table Handle")) {1} else {0})
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Link"
- }
- inst LINKADDR :: 0 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: "Link to Table Number"
- prop JSName :: "edmaLinkNumber"
- prop Visible :: 1
- prop Writable :: (if ((self.LINK_SETUP == "Enable") && (CSL.EDMA_SUPPORT != 0) && (self.LINK_FORMAT == "Table Number")) {1} else {0})
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Link"
- prop Set :: (if (!CSL.C64_SUPPORT) {if (($1 > 64) || ($1 < 0)) {self.error("Invalid Number, valid number range [0..64]")} else {self.LINKADDR = $1, self.RLD_LNK_VALUE &= 0xFFFF0000, self.RLD_LNK_VALUE |= (self.LINKADDR * 24) + 0x01B0, "ok"}} else {if (($1 > 16) || ($1 < 0)) {self.error("Invalid Number, valid number range [0..16]")} else {self.LINKADDR = $1, self.RLD_LNK_VALUE &= 0xFFFF0000, self.RLD_LNK_VALUE |= (self.LINKADDR * 24) + 0x0630, "ok"}})
- }
- inst OPTION_VALUE :: self.OPTION_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Option"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop JSName :: "edmaOptions"
- prop Visible :: 1
- prop Writable :: if (CSL.EDMA_SUPPORT != 0) {1} else {0}
- prop NoGen :: 1
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (if (!CSL.C64_SUPPORT) {$a = $1 & 0x0000FFFC, $b = $1 & 0x18000000, $c = $1 & 0xE0000000, if ($a != 0) {self.error("Bit field(bit[2..15]) is reserved")} else {if ($b == 0x18000000) {self.error("No such option for bit field ESIZE(bit[27..28])")} else {if (($c != 0x20000000) && ($c != 0x40000000)) {self.error("Option selected is not available for EDMA in bit field PRI(bit[29..31])")} else {self.OPTION_VALUE = $1, self.OPTION_SETUP_update($1), "ok"}}}} else {$a = $1 & 0x00000010, $b = $1 & 0x00000800, $c = $1 & 0x00008000, $d = $1 & 0x18000000, $e = $1 & 0x80000000, $f = $1 & 0xE0000000, if ($a != 0) {self.error("Bit field 4 is reserved")} else {if ($b != 0) {self.error("Bit field 11 is reserved")} else {if ($c != 0) {self.error("Bit field 15 is reserved")} else {if ($d == 0x18000000) {self.error("No such option for bit field ESIZE(bit[27..28])")} else {if (($f != 0x00000000) && ($f != 0x20000000) && ($f != 0x40000000) && ($f != 0x60000000)) {self.error("Option selected is not available for EDMA in bit field PRI(bit[29..31])")} else {self.OPTION_VALUE = $1, self.OPTION_SETUP_update($1), "ok"}}}}}})
- }
- inst SRCADDR_VALUE :: = 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Source Address (Old - should not be visible)"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Visible :: 0
- prop Writable :: if (CSL.EDMA_SUPPORT != 0) {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.SRCADDR_VALUE = $1, self.SRCADDR_FORMAT = "Numeric", self.SRCADDR_FORMAT_ADV = self.SRCADDR_FORMAT, self.SRCADDR_NUM = self.SRCADDR_VALUE, self.SRCADDR_NUM_VALUE = self.SRCADDR_NUM, self.SRCADDR_SYM = "NULL", self.SRCADDR_SYM_VALUE = self.SRCADDR_SYM, "ok")
- }
- inst SRCADDR_FORMAT_ADV :: "Numeric" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Numeric,Extern Decl. Obj.,User's Header file,McBSP handle (DRR)"
- prop Label :: "Source Address Format"
- prop JSName :: "edmaSrcAddrFormatAdv"
- prop Visible :: 1
- prop Writable :: CSL.EDMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Advanced"
- prop Set :: ($a = 0, scan ($b; externDecl) {$a += 1}, if ($a == 1 && $1 == "Extern Decl. Obj.") {self.SRCADDR_FORMAT_ADV = "Numeric", self.error("You must create a Symbolic Address - See CSL Extern Declaration")} else {if ($1 == "User's Header file" && externDecl.HeaderFile == "NULL") {self.SRCADDR_FORMAT_ADV = "Numeric", self.error("You must enter a Header file name - See CSL Extern Declaration")} else {self.SRCADDR_FORMAT_ADV = $1, self.SRCADDR_FORMAT = $1, if ($1 == "Numeric") {self.SRCADDR_SYM_VALUE = "NULL", self.SRCADDR_HEADER_VALUE = "NULL"} else {self.SRCADDR_NUM_VALUE = 0x00000000}, "ok"}})
- }
- inst SRCADDR_NUM_VALUE :: = 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Source Address - Numeric "
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop JSName :: "edmaSrcAddrNumericAdv"
- prop Visible :: 1
- prop Writable :: CSL.EDMA_SUPPORT && self.SRCADDR_FORMAT_ADV == "Numeric"
- prop NoGen :: 1
- prop cGen :: CSL.EDMA_SUPPORT && (self.SRCADDR_FORMAT_ADV == "Numeric" || self.SRCADDR_FORMAT_ADV == "McBSP handle (DRR)" || (self.SRCADDR_FORMAT_ADV == "User's Header file" && self.SRCADDR_HEADER_VALUE == "NULL") || (self.SRCADDR_FORMAT_ADV == "Extern Decl. Obj." && self.SRCADDR_SYM_VALUE == "NULL"))
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.SRCADDR_NUM_VALUE = $1, self.SRCADDR_NUM = $1, "ok")
- }
- inst SRCADDR_SYM_VALUE :: = "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Source Address - Extern Decl.Obj"
- prop Writable :: 0
- prop Visible :: 0
- prop NoGen :: 1
- prop cGen :: CSL.EDMA_SUPPORT && self.SRCADDR_FORMAT_ADV == "Extern Decl. Obj." && self.SRCADDR_SYM_VALUE != "NULL"
- prop TabName :: "Advanced"
- prop cType :: "char[]"
- prop cPreVal :: ($a = "", scan ($b; externDecl) {if (self.SRCADDR_SYM_VALUE == $b.BuffName) {if ($b.BuffSpec == "Array") {$a = "(Uint32) "} else {$a = "(Uint32) &"}} }, $a)
- prop Set :: ($a = 0, scan ($b; externDecl) {if ($1 != "NULL" && $1 == $b.BuffName) {if ($b.BuffType == "NULL") {$a = 1} else {if ($1 == self.DSTADDR_SYM_VALUE) {$a = 2} else {$a = 3}}} }, if ($a == 0) {self.error("Symbolic Address Not declared - See CSL Extern Declaration")} else {if ($a == 1) {self.error("Symbol Type of this object is incorrect - See CSL Extern Declaration")} else {if ($a == 2) {self.error("Source and Destination must be different")} else {self.SRCADDR_SYM = $1, self.SRCADDR_SYM_VALUE = $1, "ok"}}})
- }
- inst SRCADDR_HEADER_VALUE :: "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Source Address - From User's Header File"
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- prop cGen :: CSL.EDMA_SUPPORT && self.SRCADDR_FORMAT_ADV == "User's Header file" && self.SRCADDR_HEADER_VALUE != "NULL"
- prop TabName :: "Advanced"
- prop cType :: "char[]"
- prop cPreVal :: ("(Uint32) ")
- }
- inst XFRCNT_VALUE :: 0x00000001 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Transfer Counter"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Visible :: 0
- prop Writable :: if (CSL.EDMA_SUPPORT != 0) {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.XFRCNT_VALUE = $1, self.FRAMECNT_NUM = $1 >> 16, self.ELMCNT_NUM = ($1 & 0x0000FFFF), "ok")
- }
- inst XFRCNT_FORMAT_ADV :: "Numeric" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Numeric,User's Header file"
- prop Label :: "Transfer Counter Format"
- prop JSName :: "edmaTransferCounterFormatAdv"
- prop Visible :: 1
- prop Writable :: CSL.EDMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Advanced"
- prop Set :: (if ($1 == "User's Header file" && externDecl.HeaderFile == "NULL") {self.XFRCNT_FORMAT_ADV = "Numeric", self.error("You must enter a Header file name - See CSL Extern Declaration")} else {if ($1 == "Numeric") {self.ELMCNT_HEADER = "NULL", self.FRAMECNT_HEADER = "NULL"} else {self.XFRCNT_NUM_VALUE = 0x00000000, self.ELMCNT_NUM = 0x0000, self.FRAMECNT_NUM = 0x0000}, self.XFRCNT_FORMAT_ADV = $1, self.XFRCNT_FORMAT = self.XFRCNT_FORMAT_ADV, "ok"})
- }
- inst XFRCNT_NUM_VALUE :: = 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Transfer Counter - Numeric"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop JSName :: "edmaTransferCounterNumeric"
- prop Visible :: 1
- prop Writable :: CSL.EDMA_SUPPORT && self.XFRCNT_FORMAT_ADV == "Numeric"
- prop NoGen :: 1
- prop cGen :: CSL.EDMA_SUPPORT
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.XFRCNT_NUM_VALUE = $1, self.FRAMECNT_NUM = $1 >> 16, self.ELMCNT_NUM = ($1 & 0x0000FFFF), "ok")
- }
- inst DSTADDR_VALUE :: = 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Destination Address (Old - should not be visible)"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Visible :: 0
- prop Writable :: if (CSL.EDMA_SUPPORT != 0) {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.DSTADDR_VALUE = $1, self.DSTADDR_FORMAT = "Numeric", self.DSTADDR_FORMAT_ADV = self.DSTADDR_FORMAT, self.DSTADDR_NUM = self.DSTADDR_VALUE, self.DSTADDR_NUM_VALUE = self.DSTADDR_NUM, self.DSTADDR_SYM = "NULL", self.DSTADDR_SYM_VALUE = self.DSTADDR_SYM, "ok")
- }
- inst DSTADDR_FORMAT_ADV :: "Numeric" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Numeric,Extern Decl. Obj.,User's Header file,McBSP handle (DXR)"
- prop Label :: "Destination Address Format"
- prop JSName :: "edmaDstAddrFormatAdv"
- prop Visible :: 1
- prop Writable :: CSL.EDMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Advanced"
- prop Set :: ($a = 0, scan ($b; externDecl) {$a += 1}, if ($a == 1 && $1 == "Extern Decl. Obj.") {self.DSTADDR_FORMAT_ADV = "Numeric", self.error("You must create a Symbolic object - See CSL Extern Declaration.")} else {if ($1 == "User's Header file" && externDecl.HeaderFile == "NULL") {self.DSTADDR_FORMAT_ADV = "Numeric", self.error("You must enter a Header file name - See CSL Extern Declaration.")} else {self.DSTADDR_FORMAT_ADV = $1, self.DSTADDR_FORMAT = $1, if ($1 == "Numeric") {self.DSTADDR_SYM_VALUE = "NULL"} else {self.DSTADDR_NUM_VALUE = 0x00000000}, "ok"}})
- }
- inst DSTADDR_NUM_VALUE :: = 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Destination Address - Numeric "
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop JSName :: "edmaDstAddrNumericAdv"
- prop Visible :: 1
- prop Writable :: if (CSL.EDMA_SUPPORT != 0 && self.DSTADDR_FORMAT_ADV == "Numeric") {1} else {0}
- prop NoGen :: 1
- prop cGen :: CSL.EDMA_SUPPORT && (self.DSTADDR_FORMAT_ADV == "Numeric" || self.DSTADDR_FORMAT_ADV == "McBSP handle (DXR)" || (self.DSTADDR_FORMAT_ADV == "User's Header file" && self.DSTADDR_HEADER_VALUE == "NULL") || (self.DSTADDR_FORMAT_ADV == "Extern Decl. Obj." && self.DSTADDR_SYM_VALUE == "NULL"))
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.DSTADDR_NUM_VALUE = $1, self.DSTADDR_NUM = self.DSTADDR_NUM_VALUE, self.DSTADDR_SYM = "NULL", self.DSTADDR_SYM_VALUE = self.DSTADDR_SYM, self.DSTADDR_HEADER = "NULL", self.DSTADDR_HEADER_VALUE = self.DSTADDR_HEADER, "ok")
- }
- inst DSTADDR_SYM_VALUE :: = "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Destination Address - Extern Decl. Obj"
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- prop cGen :: CSL.EDMA_SUPPORT && (self.DSTADDR_FORMAT_ADV == "Extern Decl. Obj." && self.DSTADDR_SYM_VALUE != "NULL")
- prop TabName :: "Advanced"
- prop cType :: "char[]"
- prop cPreVal :: ($a = "", scan ($b; externDecl) {if (self.DSTADDR_SYM_VALUE == $b.BuffName) {if ($b.BuffSpec == "Array") {$a = "(Uint32) "} else {$a = "(Uint32) &"}} }, $a)
- prop Set :: ($a = 0, scan ($b; externDecl) {if ($1 != "NULL" && $1 == $b.BuffName) {if ($b.BuffType == "NULL") {$a = 1} else {if ($1 == self.SRCADDR_SYM_VALUE) {$a = 2} else {$a = 3}}} }, if ($a == 0) {self.error("Symbolic Address Not declared - See CSL Extern Declaration")} else {if ($a == 1) {self.error("Symbol Type of this object is incorrect - See CSL Extern Declaration")} else {if ($a == 2) {self.error("Source and Destination must be different")} else {self.DSTADDR_SYM = $1, self.DSTADDR_SYM_VALUE = $1, "ok"}}})
- }
- inst DSTADDR_HEADER_VALUE :: "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Destination Address - From User's Header file"
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- prop cGen :: CSL.EDMA_SUPPORT && self.DSTADDR_FORMAT_ADV == "User's Header file" && self.DSTADDR_HEADER_VALUE != "NULL"
- prop TabName :: "Advanced"
- prop cType :: "char[]"
- prop cPreVal :: ("(Uint32) ")
- }
- inst INDEX_VALUE :: = 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Transfer Index -Old stuff "
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Visible :: 0
- prop Writable :: if (CSL.EDMA_SUPPORT != 0) {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.INDEX_VALUE = $1, self.XFRIDX_NUM_VALUE = $1, self.FRAMEIDX_NUM = $1 >> 16, self.ELMIDX_NUM = ($1 & 0x0000FFFF), "ok")
- }
- inst XFRIDX_FORMAT_ADV :: "Numeric" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Numeric,User's Header file"
- prop Label :: "Index Format"
- prop JSName :: "edmaIndexFormatAdv"
- prop Visible :: 1
- prop Writable :: CSL.EDMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Advanced"
- prop Set :: (if ($1 == "User's Header file" && externDecl.HeaderFile == "NULL") {self.XFRIDX_FORMAT_ADV = "Numeric", self.error("You must enter a Header file name - See CSL Extern Declaration")} else {if ($1 == "Numeric") {self.ELMIDX_HEADER = "NULL", self.FRAMEIDX_HEADER = "NULL"} else {self.XFRIDX_NUM_VALUE = 0x0000, self.ELMIDX_NUM = 0x0000, self.FRAMEIDX_NUM = 0x0000}, self.XFRIDX_FORMAT_ADV = $1, self.XFRIDX_FORMAT = self.XFRIDX_FORMAT_ADV, "ok"})
- }
- inst XFRIDX_NUM_VALUE :: = 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Index register - Numeric"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop JSName :: "edmaIndexNumeric"
- prop Visible :: 1
- prop Writable :: CSL.EDMA_SUPPORT && self.XFRIDX_FORMAT_ADV == "Numeric"
- prop NoGen :: 1
- prop cGen :: CSL.EDMA_SUPPORT
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.XFRIDX_NUM_VALUE = $1, self.FRAMEIDX_NUM = $1 >> 16, self.ELMIDX_NUM = ($1 & 0x0000FFFF), "ok")
- }
- inst RLD_LNK_VALUE :: = (if (self.LINK_SETUP == "Enable" && self.LINK_FORMAT == "Table Number" && !CSL.C64_SUPPORT) {0x000001B0} else {if (self.LINK_SETUP == "Enable" && self.LINK_FORMAT == "Table Number" && CSL.C64_SUPPORT) {0x00000630} else {0x00000000}}) {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Element Count Reload and Link Address"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop JSName :: "edmaEcrldLinkAddr"
- prop Visible :: 1
- prop Writable :: if (CSL.EDMA_SUPPORT != 0) {1} else {0}
- prop NoGen :: 1
- prop cGen :: if (CSL.EDMA_SUPPORT != 0) {1} else {0}
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: ($a = ($1 & 0x0000FFFF), if (!CSL.C64_SUPPORT) {if (self.LINK_FORMAT == "Table Number" && ($a > 0x07E0 || $a < 0x01B0)) {self.error(" Link Address wrong : Table 0 (0x01B0) - Table 68 (0x07E0)")} else {if (self.LINK_FORMAT == "Table Number") {self.ECRLD = $1 >> 16, self.LINKADDR = (($1 & 0x0000FFFF) - 0x01B0) / 24, self.RLD_LNK_VALUE = ($1 & 0xFFFF000) | ((self.LINKADDR * 24) + 0x01B0), "ok"} else {self.RLD_LNK_VALUE = ($1 & 0xFFFF0000), self.ECRLD = $1 >> 16, self.LINKADDR = (($1 & 0x0000FFFF) - 0x01B0) / 24, "ok"}}} else {if (self.LINK_FORMAT == "Table Number" && ($a > 0x07E0 || $a < 0x0630)) {self.error(" Link Address wrong : Table 0 (0x0630) - Table 17 (0x07E0)")} else {if (self.LINK_FORMAT == "Table Number") {self.ECRLD = $1 >> 16, self.LINKADDR = (($1 & 0x0000FFFF) - 0x0630) / 24, self.RLD_LNK_VALUE = ($1 & 0xFFFF000) | ((self.LINKADDR * 24) + 0x0630), "ok"} else {self.RLD_LNK_VALUE = ($1 & 0xFFFF0000), self.ECRLD = $1 >> 16, self.LINKADDR = (($1 & 0x0000FFFF) - 0x0630) / 24, "ok"}}})
- }
- }
- type hEdma {
- isa ObjectMgr
- prop name :: "hEdma"
- prop Label :: "EDMA Resource Manager"
- prop JSName :: "HEDMA"
- prop SortChildHierView :: 0
- prop IsContainedIn :: EDMAFOLDER
- prop GlobalIcon :: 165
- prop InstanceIcon :: 166
- prop GlobalHelpTopic :: 1032
- prop InstanceHelpTopic :: 1033
- prop GlobalPropertyPage :: "{C5CB30B4-F113-11d2-84A5-00105A98CA0B}"
- prop InstancePropertyPage :: "{AC0C36D1-890B-11d0-A621-0000C070F3E9}"
- prop Vendor :: "vendor1"
- prop Version :: "1.00.00"
- prop maxObjs :: 64
- prop NoGen :: 1
- prop cGen :: CSL.EDMA_SUPPORT
- prop cHandle :: self.cOpenGen
- prop cHeaderName :: ($a = "", scan ($b; hEdma) {if ($b.EDMA_HANDLE_ENABLE) {$a = "csl_edma.h"} }, $a)
- prop cHandleType :: "EDMA_Handle"
- prop cOpenName :: "EDMA_open"
- prop cConfigName :: "EDMA_config"
- prop cHandleName :: self.HandleName
- prop cStructQual :: "far"
- prop localCanCreate :: (self.error("New EDMA handle objects cannot be created"))
- prop localCanDelete :: (self.error("EDMA handle objects cannot be deleted"))
- prop cGenFxnPostInst :: (if ((self.CHA_ENABLE == 1) && (self.HandleName != "")) {"%5tEDMA_enableChannel(%1s);%0tn , cHandleName"} else {""})
- global gUser :: "USER" {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gSetOf :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gNumOf :: 64 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gDirty :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gInitFlag :: 1 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gInit :: = ($a = 0, $b = 0, scan ($i; self) {if ($i.IsConfObj()) {$a += 1, if (self.isFinite) {$b |= 1 << $i.iId} } }, self.gNumOf = $a, self.gSetOf = $b, if (self.gInitFlag == 0) {self.localInit()} , self.gInitFlag = 1) {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst iComment :: if self.iDelUser == "USER" {"<add comments here>"} else {self.iDelMsg} {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "comment"
- prop JSName :: "comment"
- prop Visible :: 1
- prop Writable :: if self.iDelUser == "USER" {1} else {0}
- prop NoGen :: 1
- }
- inst iIsUsed :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst iId :: 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01
- prop Visible :: 0
- prop Writable :: 1
- prop NoGen :: 1
- }
- inst iDelUser :: "USER" {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst iDelMsg :: "ok" {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst cOpenGen :: = ((self.EDMA_HANDLE_ENABLE != 0) && (CSL.EDMA_SUPPORT != 0) && (self.HandleName != "")) {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Open Handle"
- prop Visible :: 0
- prop Writable :: 1
- prop NoGen :: 1
- prop cGen :: 1
- }
- inst cOpenArg0 :: "EDMA_CHA_ANY" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Open Arg 0"
- prop Visible :: 0
- prop Writable :: CSL.EDMA_SUPPORT
- prop NoGen :: 1
- }
- inst cOpenArg1 :: "EDMA_OPEN_RESET" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Open Arg 1"
- prop Visible :: 0
- prop Writable :: CSL.EDMA_SUPPORT
- prop NoGen :: 1
- }
- inst DEVICE :: "EDMA_none" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "device"
- prop Visible :: 0
- prop Writable :: CSL.EDMA_SUPPORT
- }
- inst EDMA_HANDLE_ENABLE :: 0 {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Open EDMA Channel"
- prop JSName :: "edmaHandleEnable"
- prop Visible :: 1
- prop Writable :: if (((CSL.EDMA_SUPPORT && CSL.C64_SUPPORT) || (!CSL.C64_SUPPORT && (self.DEVICE == "EDMA_CHA_DSPINT" || self.DEVICE == "EDMA_CHA_TINT0" || self.DEVICE == "EDMA_CHA_TINT1" || self.DEVICE == "EDMA_CHA_SDINT" || self.DEVICE == "EDMA_CHA_EXTINT4" || self.DEVICE == "EDMA_CHA_EXTINT5" || self.DEVICE == "EDMA_CHA_EXTINT6" || self.DEVICE == "EDMA_CHA_EXTINT7" || self.DEVICE == "EDMA_CHA_TCC8" || self.DEVICE == "EDMA_CHA_TCC9" || self.DEVICE == "EDMA_CHA_TCC10" || self.DEVICE == "EDMA_CHA_TCC11" || self.DEVICE == "EDMA_CHA_XEVT0" || self.DEVICE == "EDMA_CHA_REVT0" || self.DEVICE == "EDMA_CHA_XEVT1" || self.DEVICE == "EDMA_CHA_REVT1"))) && CSL.EDMA_SUPPORT) {1} else {0}
- prop NoGen :: 1
- prop Set :: (self.EDMA_HANDLE_ENABLE = $1, if ($1 == 0) {self.EDMA_HANDLE_ENABLE = $1, self.PINIT_ENABLE = $1, self.cOpenArg0 = "EDMA_None", self.PINIT = EDMA_NOTHING, "ok"} else {if (CSL.C64_SUPPORT && self.DEVICE == "EDMA_CHA_TCC8") {self.cOpenArg0 = "EDMA_CHA_GPINT0", "ok"} else {if (CSL.C64_SUPPORT && self.DEVICE == "EDMA_CHA_TCC9") {self.cOpenArg0 = "EDMA_CHA_GPINT1", "ok"} else {if (CSL.C64_SUPPORT && self.DEVICE == "EDMA_CHA_TCC10") {self.cOpenArg0 = "EDMA_CHA_GPINT2", "ok"} else {if (CSL.C64_SUPPORT && self.DEVICE == "EDMA_CHA_TCC11") {self.cOpenArg0 = "EDMA_CHA_GPINT3", "ok"} else {self.cOpenArg0 = self.DEVICE, "ok"}}}}})
- }
- inst HandleName :: = self {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Handle"
- prop JSName :: "edmaHandleName"
- prop Visible :: 1
- prop Writable :: CSL.EDMA_SUPPORT & self.EDMA_HANDLE_ENABLE
- }
- inst PINIT_ENABLE :: = 0 {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Enable Pre-Initialization"
- prop JSName :: "edmaEnablePreInit"
- prop Visible :: 1
- prop Writable :: if ((CSL.EDMA_SUPPORT != 0) && (self.EDMA_HANDLE_ENABLE == 1)) {1} else {0}
- prop NoGen :: 1
- prop Set :: ($a = 0, scan ($b; edmaCfg) {$a += 1}, if ($a == 1) {self.PINIT_ENABLE = 0, "You must create a EDMA configuration object first"} else {self.PINIT_ENABLE = $1, if ($1 == 0) {self.PINIT = EDMA_NOTHING, self.CHA_ENABLE = 0} , "ok"})
- }
- inst PINIT :: EDMA_NOTHING {
- prop Type :: "{7BA2DA00-5A53-11d0-9BFE-0000C0AC14C7}"
- prop MemberType :: edmaCfg
- prop Label :: "Pre-Initialize with"
- prop JSName :: "edmaPreInit"
- prop Visible :: 1
- prop Writable :: if ((self.PINIT_ENABLE == 1) && (CSL.EDMA_SUPPORT != 0) && (self.EDMA_HANDLE_ENABLE == 1)) {1} else {0}
- prop NoGen :: 1
- }
- inst cConfigGen :: = ((self.PINIT_ENABLE == 1) && (CSL.EDMA_SUPPORT != 0) && (self.EDMA_HANDLE_ENABLE == 1) && (self.PINIT != EDMA_NOTHING) && (self.HandleName != "")) {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Enable Pre-Configuration"
- prop Visible :: 0
- prop Writable :: if ((CSL.EDMA_SUPPORT != 0) & (self.cConfigGen == 1)) {1} else {0}
- prop NoGen :: 1
- prop cGen :: 1
- }
- inst cConfigArg0 :: = self.cHandleName {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Config argument 0"
- prop Visible :: 0
- prop Writable :: if ((CSL.EDMA_SUPPORT != 0) & (self.cConfigGen == 1)) {1} else {0}
- prop Set :: (self.cConfigArg0 = self.HandleName, "ok")
- }
- inst cConfigArg1 :: = self.PINIT {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Config argument 1"
- prop Visible :: 0
- prop Writable :: if ((CSL.EDMA_SUPPORT != 0) & (self.cConfigGen == 1)) {1} else {0}
- prop cPreVal :: "&"
- }
- inst CHA_ENABLE :: 0 {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Enable Selected Channel"
- prop JSName :: "edmaEnableChannel"
- prop Visible :: 1
- prop Writable :: (if (CSL.EDMA_SUPPORT != 0) && (self.PINIT_ENABLE == 1) && (self.PINIT != EDMA_NOTHING) && (CSL.C64_SUPPORT || (!CSL.C64_SUPPORT && (self.cOpenArg0 != "EDMA_CHA_TCC8" && self.cOpenArg0 != "EDMA_CHA_TCC9" && self.cOpenArg0 != "EDMA_CHA_TCC10" && self.cOpenArg0 != "EDMA_CHA_TCC11"))) {1} else {0})
- prop NoGen :: 1
- }
- }
- object EDMA_Channel0_DSPINT :: hEdma {
- param iComment :: "Host to DSP Interrupt"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_DSPINT"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha0"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel1_TINT0 :: hEdma {
- param iComment :: "Timer 0 Interrupt"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_TINT0"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha1"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel2_TINT1 :: hEdma {
- param iComment :: "Timer 1 Interrupt"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_TINT1"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha2"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel3_SDINT :: hEdma {
- param iComment :: "EMIF Timer Interrupt"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_SDINT"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha3"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel4_EXTINT4_GPINT4 :: hEdma {
- param iComment :: "External Interrupt Pin 4/ GPIO Evt 4 (64x only)"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_EXTINT4"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha4"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel5_EXTINT5_GPINT5 :: hEdma {
- param iComment :: "External Interrupt Pin 5/GPIO Evt 5 (64x only)"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_EXTINT5"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha5"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel6_EXTINT6_GPINT6 :: hEdma {
- param iComment :: "External Interrupt Pin 6/GPIO Evt 6 (64x only)"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_EXTINT6"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha6"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel7_EXTINT7_GPINT7 :: hEdma {
- param iComment :: "External Interrupt Pin 7/GPIO Evt 7 (64x only)"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_EXTINT7"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha7"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel8_TCC8_GPINT0 :: hEdma {
- param iComment :: "C621x/C671x EDMA_TCC 1000b Interrupt, C64x GPIO Evt 0"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_TCC8"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha8"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel9_TCC9_GPINT1 :: hEdma {
- param iComment :: "C621x/C671x EDMA_TCC 1001b Interrupt, C64x GPIO Evt 1"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_TCC9"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha9"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel10_TCC10_GPINT2 :: hEdma {
- param iComment :: "C621x/C67x EDMA_TCC 1010b Interrupt, C64x GPIO Evt 2"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_TCC10"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha10"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel11_TCC11_GPINT3 :: hEdma {
- param iComment :: "C621x/C671x EDMA_TCC 1011b Interrupt, C64x GPIO Evt 3"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_TCC11"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha11"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel12_XEVT0 :: hEdma {
- param iComment :: "McBSP 0 Transmit Event"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_XEVT0"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha12"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel13_REVT0 :: hEdma {
- param iComment :: "McBSP 0 Receive Event"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_REVT0"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha13"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel14_XEVT1 :: hEdma {
- param iComment :: "McBSP 1 Transmit Event"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_XEVT1"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha14"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel15_REVT1 :: hEdma {
- param iComment :: "McBSP 1 Receive Event"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_REVT1"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha15"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel16 :: hEdma {
- param iComment :: "None"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "16"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha16"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel17_XEVT2 :: hEdma {
- param iComment :: "C64x only! McBSP 2 Transmit Event"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_XEVT2"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha17"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel18_REVT2 :: hEdma {
- param iComment :: "C64x only! McBSP 2 Receive Event"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_REVT2"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha18"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel19_TINT2 :: hEdma {
- param iComment :: "C64x only! TIMER 2 Interrupt"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_TINT2"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha19"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel20_SDINTB :: hEdma {
- param iComment :: "C64x only! EMIFB SDRAM timer interrupt"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_SDINTB"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha20"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel21_PCI :: hEdma {
- param iComment :: "C64x only! PCI Wakeup Interrupt"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_PCI"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha21"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel22 :: hEdma {
- param iComment :: "None"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "22"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha22"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel23 :: hEdma {
- param iComment :: "None"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "23"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha23"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel24 :: hEdma {
- param iComment :: "None"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "24"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha24"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel25 :: hEdma {
- param iComment :: "None"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "25"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha25"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel26 :: hEdma {
- param iComment :: "None"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "26"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha26"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel27 :: hEdma {
- param iComment :: "None"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "27"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha27"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel28_VCPREVT :: hEdma {
- param iComment :: "None"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_VCPREVT"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha28"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel29_VCPXEVT :: hEdma {
- param iComment :: "None"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_VCPXEVT"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha29"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel30_TCPREVT :: hEdma {
- param iComment :: "None"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_TCPREVT"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha30"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel31_TCPXEVT :: hEdma {
- param iComment :: "None"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_TCPXEVT"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha31"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel32_UREVT :: hEdma {
- param iComment :: "C64x only! Utopia Receive Event"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_UREVT"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha32"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel33 :: hEdma {
- param iComment :: "None"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "33"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha33"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel34 :: hEdma {
- param iComment :: "None"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "34"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha34"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel35 :: hEdma {
- param iComment :: "None"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "35"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha35"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel36 :: hEdma {
- param iComment :: "None"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "36"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha36"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel37 :: hEdma {
- param iComment :: "None"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "37"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha37"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel38 :: hEdma {
- param iComment :: "None"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "38"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha38"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel39 :: hEdma {
- param iComment :: "None"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "39"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha39"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel40_UXEVT :: hEdma {
- param iComment :: "C64x only! UTOPIA transmit event"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_UXEVT"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha40"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel41 :: hEdma {
- param iComment :: "None"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "41"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha41"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel42 :: hEdma {
- param iComment :: "None"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "42"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha42"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel43 :: hEdma {
- param iComment :: "None"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "43"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha43"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel44 :: hEdma {
- param iComment :: "None"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "44"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha44"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel45 :: hEdma {
- param iComment :: "None"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "45"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha45"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel46 :: hEdma {
- param iComment :: "None"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "46"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha46"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel47 :: hEdma {
- param iComment :: "None"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "47"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha47"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel48_GPINT8 :: hEdma {
- param iComment :: "C64x only! GPIO event 8"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_GPINT8"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha48"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel49_GPINT9 :: hEdma {
- param iComment :: "C64x only! GPIO event 9"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_GPINT9"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha49"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel50_GPINT10 :: hEdma {
- param iComment :: "C64x only! GPIO event 10"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_GPINT10"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha50"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel51_GPINT11 :: hEdma {
- param iComment :: "C64x only! GPIO event 11"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_GPINT11"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha51"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel52_GPINT12 :: hEdma {
- param iComment :: "C64x only! GPIO event 12"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_GPINT12"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha52"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel53_GPINT13 :: hEdma {
- param iComment :: "C64x only! GPIO event 13"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_GPINT13"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha53"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel54_GPINT14 :: hEdma {
- param iComment :: "C64x only! GPIO event 14"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_GPINT14"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha54"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel55_GPINT15 :: hEdma {
- param iComment :: "C64x only! GPIO event 15"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "EDMA_CHA_GPINT15"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha55"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel56 :: hEdma {
- param iComment :: "None"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "56"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha56"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel57 :: hEdma {
- param iComment :: "None"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "57"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha57"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel58 :: hEdma {
- param iComment :: "None"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "58"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha58"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel59 :: hEdma {
- param iComment :: "None"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "59"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha59"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel60 :: hEdma {
- param iComment :: "None"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "60"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha60"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel61 :: hEdma {
- param iComment :: "None"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "61"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha61"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel62 :: hEdma {
- param iComment :: "None"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "62"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha62"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- object EDMA_Channel63 :: hEdma {
- param iComment :: "None"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hEdma"
- param iDelMsg :: "This EDMA Handle object cannot be deleted"
- param cOpenArg0 :: "EDMA_CHA_ANY"
- param cOpenArg1 :: "EDMA_OPEN_RESET"
- param DEVICE :: "63"
- param EDMA_HANDLE_ENABLE :: 0
- param HandleName :: "hEdmaCha63"
- param PINIT :: EDMA_NOTHING
- param CHA_ENABLE :: 0
- }
- type hEdmaTbl {
- isa ObjectMgr
- prop name :: "hEdma Table"
- prop Label :: "Parameter RAM Table Entry"
- prop JSName :: "EdmaTable"
- prop IsContainedIn :: EDMAFOLDER
- prop GlobalIcon :: 165
- prop InstanceIcon :: 166
- prop GlobalHelpTopic :: 1034
- prop InstanceHelpTopic :: 1035
- prop GlobalPropertyPage :: "{C5CB30B4-F113-11d2-84A5-00105A98CA0B}"
- prop InstancePropertyPage :: "{AC0C36D1-890B-11d0-A621-0000C070F3E9}"
- prop Vendor :: "vendor1"
- prop Version :: "1.00.00"
- prop maxObjs :: 69
- prop NoGen :: 1
- prop cGen :: CSL.EDMA_SUPPORT
- prop cHandle :: self.cOpenGen
- prop cHeaderName :: if self.gNumOf > 0 {"csl_edma.h"} else {""}
- prop cHandleType :: "EDMA_Handle"
- prop cOpenName :: "EDMA_allocTable"
- prop cConfigName :: "EDMA_config"
- prop cHandleName :: self
- prop cStructQual :: "far"
- global gUser :: "USER" {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gSetOf :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gNumOf :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gDirty :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gInitFlag :: 1 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gInit :: = ($a = 0, $b = 0, scan ($i; self) {if ($i.IsConfObj()) {$a += 1, if (self.isFinite) {$b |= 1 << $i.iId} } }, self.gNumOf = $a, self.gSetOf = $b, if (self.gInitFlag == 0) {self.localInit()} , self.gInitFlag = 1) {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst iComment :: if self.iDelUser == "USER" {"<add comments here>"} else {self.iDelMsg} {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "comment"
- prop JSName :: "comment"
- prop Visible :: 1
- prop Writable :: if self.iDelUser == "USER" {1} else {0}
- prop NoGen :: 1
- }
- inst iIsUsed :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst iId :: 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01
- prop Visible :: 0
- prop Writable :: 1
- prop NoGen :: 1
- }
- inst iDelUser :: "USER" {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst iDelMsg :: "ok" {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst cOpenGen :: = ((self.EDMA_PRAMTABLE_ALLOC != 0) && (CSL.EDMA_SUPPORT != 0)) {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Table Allocation"
- prop Visible :: 0
- prop Writable :: CSL.EDMA_SUPPORT
- prop NoGen :: 1
- prop cGen :: 1
- }
- inst cOpenArg0 :: = self.TBL_NUM {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: "Open Arg 0"
- prop Visible :: 0
- prop Writable :: CSL.EDMA_SUPPORT
- prop NoGen :: 1
- }
- inst EDMA_PRAMTABLE_ALLOC :: = (if (self == PARAMTBL_NOTHING) {0} else {1}) {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Allocate Parameter RAM Table"
- prop JSName :: "edmaAllocPramTable"
- prop Visible :: 1
- prop Writable :: CSL.EDMA_SUPPORT
- prop NoGen :: 1
- prop Set :: (if ($1 == 0) {self.EDMA_PRAMTABLE_ALLOC = 0, self.PINIT_ENABLE = $1, self.cOpenArg0 = 0, self.PINIT = EDMA_NOTHING} else {self.EDMA_PRAMTABLE_ALLOC = $1}, "ok")
- }
- inst TBL_NUM :: = -1 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: "Allocate Table Number"
- prop JSName :: "edmaTableNumber"
- prop Visible :: 1
- prop Writable :: ((self.EDMA_PRAMTABLE_ALLOC == 1) && (CSL.EDMA_SUPPORT != 0))
- prop NoGen :: 1
- prop Set :: (if (($1 < -1) || ($1 > 66) && CSL.C11_SUPPORT) {self.error("Invalid Table Number, table number range [0..66] and -1 for any available table")} else {if (($1 < -1) || ($1 > 18) && CSL.C64_SUPPORT) {self.error("Invalid Table Number, table number range [0..18] and -1 for any available table")} else {self.TBL_NUM = $1, "ok"}})
- }
- inst PINIT_ENABLE :: = 0 {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Enable Pre-Initialization"
- prop JSName :: "edmaEnablePreInit"
- prop Visible :: 1
- prop Writable :: if ((self.EDMA_PRAMTABLE_ALLOC == 1) && (CSL.EDMA_SUPPORT != 0)) {1} else {0}
- prop NoGen :: 1
- prop Set :: ($a = 0, scan ($b; edmaCfg) {$a += 1}, if ($a == 1) {self.PINIT_ENABLE = 0, self.error("You must create a EDMA configuration object first")} else {self.PINIT_ENABLE = $1, if ($1 == 0) {self.PINIT = EDMA_NOTHING} , "ok"})
- }
- inst PINIT :: EDMA_NOTHING {
- prop Type :: "{7BA2DA00-5A53-11d0-9BFE-0000C0AC14C7}"
- prop MemberType :: edmaCfg
- prop Label :: "Pre-Initialize with"
- prop JSName :: "edmaPreInit"
- prop Visible :: 1
- prop Writable :: if ((CSL.EDMA_SUPPORT != 0) && (self.PINIT_ENABLE == 1)) {1} else {0}
- prop NoGen :: 1
- }
- inst cConfigGen :: = ((self.PINIT_ENABLE == 1) && (self.PINIT != EDMA_NOTHING) && (CSL.EDMA_SUPPORT != 0)) {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Enable Pre-Configuration"
- prop Visible :: 0
- prop Writable :: if ((CSL.EDMA_SUPPORT != 0) && (self.cConfigGen == 1)) {1} else {0}
- prop NoGen :: 1
- prop cGen :: 1
- }
- inst cConfigArg0 :: self {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Config argument 0"
- prop Visible :: 0
- prop Writable :: if ((CSL.EDMA_SUPPORT != 0) && (self.cConfigGen == 1)) {1} else {0}
- }
- inst cConfigArg1 :: = self.PINIT {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Config argument 1"
- prop Visible :: 0
- prop Writable :: if ((CSL.EDMA_SUPPORT != 0) && (self.cConfigGen == 1)) {1} else {0}
- prop cPreVal :: "&"
- }
- }
- object EDMA_NOTHING :: edmaCfg {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param FSYNC_SETUP :: "None"
- param TDS_SETUP :: "Disable"
- param TDD_SETUP :: "Disable"
- param DUM_SETUP :: "None"
- param SUM_SETUP :: "None"
- param PDTS_SETUP :: "Disable"
- param ESIZE_SETUP :: "32-bit"
- param PRI_SETUP :: "Urgent(64x)"
- param TCINT_SETUP :: "Disable"
- param TCC_SETUP :: "Host to DSP Interrupt"
- param TCC_SETUP_NEW :: 0
- param TCCM_SETUP :: 0
- param ATCINT_SETUP :: "Disable"
- param ATCC_SETUP :: 0
- param SRCADDR :: 0
- param SRCADDR_FORMAT :: "Numeric"
- param SRCADDR_NUM :: 0
- param SRCADDR_SYM :: "NULL"
- param SRCADDR_HEADER :: "NULL"
- param SRCADDR_HANDLE :: "NULL"
- param PDTD_SETUP :: "Disable"
- param DSTADDR :: 0
- param DSTADDR_FORMAT :: "Numeric"
- param DSTADDR_NUM :: 0
- param DSTADDR_SYM :: "NULL"
- param DSTADDR_HEADER :: "NULL"
- param DSTADDR_HANDLE :: "NULL"
- param FRAMECNT :: 0
- param XFRCNT_FORMAT :: "Numeric"
- param FRAMECNT_NUM :: 0
- param ELMCNT :: 1
- param ELMCNT_NUM :: 0
- param ELMCNT_HEADER :: "NULL"
- param XFRIDX_FORMAT :: "Numeric"
- param FRAMEIDX :: 0
- param FRAMEIDX_NUM :: 0
- param ELMIDX :: 0
- param ELMIDX_NUM :: 0
- param ELMIDX_HEADER :: "NULL"
- param ECRLD :: 0
- param LINK_SETUP :: "Disable"
- param LINK_TBLHANDLE :: PARAMTBL_NOTHING
- param LINKADDR :: 0
- param OPTION_VALUE :: 0
- param SRCADDR_FORMAT_ADV :: "Numeric"
- param SRCADDR_HEADER_VALUE :: "NULL"
- param XFRCNT_VALUE :: 1
- param XFRCNT_FORMAT_ADV :: "Numeric"
- param DSTADDR_FORMAT_ADV :: "Numeric"
- param DSTADDR_HEADER_VALUE :: "NULL"
- param XFRIDX_FORMAT_ADV :: "Numeric"
- }
- object PARAMTBL_NOTHING :: hEdmaTbl {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param EDMA_PRAMTABLE_ALLOC :: 0
- param PINIT :: EDMA_NOTHING
- param cConfigArg0 :: PARAMTBL_NOTHING
- }
- type EMIFFOLDER {
- isa ModuleFolder
- prop IsContainedIn :: CSL
- prop name :: "EMIF"
- prop Label :: "EMIF - External Memory Interface"
- prop NoGen :: 1
- prop GlobalPropertyPage :: "{980E6524-6246-11d4-B5CC-0050DA2E2CC0}"
- prop InstancePropertyPage :: "{980E6525-6246-11d4-B5CC-0050DA2E2CC0}"
- prop GlobalIcon :: 163
- prop InstanceIcon :: 164
- prop GlobalHelpTopic :: (1040)
- global gUser :: "USER" {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gSetOf :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gNumOf :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gDirty :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gInitFlag :: 1 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gInit :: = ($a = 0, $b = 0, scan ($i; self) {if ($i.IsConfObj()) {$a += 1, if (self.isFinite) {$b |= 1 << $i.iId} } }, self.gNumOf = $a, self.gSetOf = $b, if (self.gInitFlag == 0) {self.localInit()} , self.gInitFlag = 1) {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- }
- type emifCfg {
- isa ObjectMgr
- prop Name :: "emifCfg"
- prop Label :: "EMIF Configuration Manager"
- prop JSName :: "EMIF"
- prop IsContainedIn :: EMIFFOLDER
- prop NoGen :: 1
- prop maxObjs :: (32767)
- prop GlobalPropertyPage :: "{980E6522-6246-11d4-B5CC-0050DA2E2CC0}"
- prop InstancePropertyPage :: "{980E6523-6246-11d4-B5CC-0050DA2E2CC0}"
- prop GlobalIcon :: 163
- prop InstanceIcon :: 164
- prop GlobalHelpTopic :: (1041)
- prop InstanceHelpTopic :: (1041)
- prop cGen :: 1
- prop cStruct :: 1
- prop cStructType :: "EMIF_Config"
- prop cHeaderName :: if self.gNumOf > 0 {"csl_emif.h"} else {""}
- prop cStructQual :: "far"
- prop cStructName :: self
- prop cConfigName :: "EMIF_config"
- prop localDelete :: (self.myDelete)
- prop myDelete :: ($a = 0, scan ($b; emifCfg) {$a = $a + 1}, if ($a == 2) {hEmif.EMIF_INIT_ENABLE = 0} , "ok")
- prop NOHOLD_GBLCTL :: (if (self.NOHOLD_SETUP == "Disable Hold") {0x00000080} else {0x00000000})
- prop RBTR8_GBLCTL :: (if (self.RBTR8_SETUP == "until High-Priority") {0x00000000} else {0x00000002})
- prop SSCRT_GBLCTL :: (if (self.SSCRT_SETUP == "1/2 CPU clock") {0x00000000} else {0x00000004})
- prop CLK2EN_GBLCTL :: (if (self.CLK2EN_SETUP == "Held high") {0x00000000} else {0x00000008})
- prop CLK1EN_GBLCTL :: (if (self.CLK1EN_SETUP == "Held high") {0x00000000} else {0x00000010})
- prop SSCEN_GBLCTL :: (if (self.SSCEN_SETUP == "Held high") {0x00000000} else {0x00000020})
- prop SDCEN_GBLCTL :: (if (self.SDCEN_SETUP == "Held high") {0x00000000} else {0x00000040})
- prop MTYPE0_CECTL0 :: (if (self.MTYPE0_SETUP == "32-bit async. interf.") {0x00000020} else {if (self.MTYPE0_SETUP == "32-bit SDRAM") {0x00000030} else {if ((!CSL.C11_SUPPORT)) {0x00000040} else {if (self.MTYPE0_SETUP == "32-bit SBSRAM") {0x00000040} else {if (self.MTYPE0_SETUP == " 8-bit async. interf.") {0x00000000} else {if (self.MTYPE0_SETUP == " 8-bit SDRAM") {0x00000080} else {if (self.MTYPE0_SETUP == " 8-bit SBSRAM") {0x000000a0} else {if (self.MTYPE0_SETUP == "16-bit async. interf.") {0x00000010} else {if (self.MTYPE0_SETUP == "16-bit SDRAM") {0x00000090} else {0x000000b0}}}}}}}}})
- prop RDSTRB0_CECTL0 :: (((self.RDSTRB0_SETUP) << 8))
- prop RDSETUP0_CECTL0 :: (((self.RDSETUP0_SETUP) << 16))
- prop RDHLD0_CECTL0 :: ((self.RDHLD0_SETUP))
- prop WRSTRB0_CECTL0 :: (((self.WRSTRB0_SETUP) << 22))
- prop WRSETUP0_CECTL0 :: (((self.WRSETUP0_SETUP) << 28))
- prop WRHLD0_CECTL0 :: (if (self.WRHLD0_SETUP > 3) {((self.WRHLD0_SETUP - 4) << 20)} else {((self.WRHLD0_SETUP << 20))})
- prop TA0_CECTL0 :: ((self.TA0_SETUP << 14))
- prop MTYPE1_CECTL1 :: (if (self.MTYPE1_SETUP == " 8-bit ROM") {0x00000000} else {if (self.MTYPE1_SETUP == "16-bit ROM") {0x00000010} else {if (self.MTYPE1_SETUP == "32-bit async. interf.") {0x00000020} else {if ((!CSL.C11_SUPPORT)) {0x00000040} else {if (self.MTYPE1_SETUP == "32-bit SDRAM") {0x00000030} else {if (self.MTYPE1_SETUP == "32-bit SBSRAM") {0x00000040} else {if (self.MTYPE1_SETUP == " 8-bit async. interf.") {0x00000000} else {if (self.MTYPE1_SETUP == " 8-bit SDRAM") {0x00000080} else {if (self.MTYPE1_SETUP == " 8-bit SBSRAM") {0x000000a0} else {if (self.MTYPE1_SETUP == "16-bit async. interf.") {0x00000010} else {if (self.MTYPE1_SETUP == "16-bit SDRAM") {0x00000090} else {0x000000b0}}}}}}}}}}})
- prop RDSTRB1_CECTL1 :: (((self.RDSTRB1_SETUP) << 8))
- prop RDSETUP1_CECTL1 :: (((self.RDSETUP1_SETUP) << 16))
- prop RDHLD1_CECTL1 :: ((self.RDHLD1_SETUP))
- prop WRSTRB1_CECTL1 :: (((self.WRSTRB1_SETUP) << 22))
- prop WRSETUP1_CECTL1 :: (((self.WRSETUP1_SETUP) << 28))
- prop WRHLD1_CECTL1 :: (if (self.WRHLD1_SETUP > 3) {((self.WRHLD1_SETUP - 4) << 20)} else {((self.WRHLD1_SETUP << 20))})
- prop TA1_CECTL1 :: ((self.TA1_SETUP << 14))
- prop MTYPE2_CECTL2 :: (if (self.MTYPE2_SETUP == "32-bit async. interf.") {0x00000020} else {if (self.MTYPE2_SETUP == "32-bit SDRAM") {0x00000030} else {if ((!CSL.C11_SUPPORT)) {0x00000040} else {if (self.MTYPE2_SETUP == "32-bit SBSRAM") {0x00000040} else {if (self.MTYPE2_SETUP == " 8-bit async. interf.") {0x00000000} else {if (self.MTYPE2_SETUP == " 8-bit SDRAM") {0x00000080} else {if (self.MTYPE2_SETUP == " 8-bit SBSRAM") {0x000000a0} else {if (self.MTYPE2_SETUP == "16-bit async. interf.") {0x00000010} else {if (self.MTYPE2_SETUP == "16-bit SDRAM") {0x00000090} else {0x000000b0}}}}}}}}})
- prop RDSTRB2_CECTL2 :: (((self.RDSTRB2_SETUP) << 8))
- prop RDSETUP2_CECTL2 :: (((self.RDSETUP2_SETUP) << 16))
- prop RDHLD2_CECTL2 :: ((self.RDHLD2_SETUP))
- prop WRSTRB2_CECTL2 :: (((self.WRSTRB2_SETUP) << 22))
- prop WRSETUP2_CECTL2 :: (((self.WRSETUP2_SETUP) << 28))
- prop WRHLD2_CECTL2 :: (if (self.WRHLD2_SETUP > 3) {((self.WRHLD2_SETUP - 4) << 20)} else {((self.WRHLD2_SETUP << 20))})
- prop TA2_CECTL2 :: ((self.TA2_SETUP << 14))
- prop MTYPE3_CECTL3 :: (if (self.MTYPE3_SETUP == "32-bit async. interf.") {0x00000020} else {if (self.MTYPE3_SETUP == "32-bit SDRAM") {0x00000030} else {if ((!CSL.C11_SUPPORT)) {0x00000040} else {if (self.MTYPE3_SETUP == "32-bit SBSRAM") {0x00000040} else {if (self.MTYPE3_SETUP == " 8-bit async. interf.") {0x00000000} else {if (self.MTYPE3_SETUP == " 8-bit SDRAM") {0x00000080} else {if (self.MTYPE3_SETUP == " 8-bit SBSRAM") {0x000000a0} else {if (self.MTYPE3_SETUP == "16-bit async. interf.") {0x00000010} else {if (self.MTYPE3_SETUP == "16-bit SDRAM") {0x00000090} else {0x000000b0}}}}}}}}})
- prop RDSTRB3_CECTL3 :: (((self.RDSTRB3_SETUP) << 8))
- prop RDSETUP3_CECTL3 :: (((self.RDSETUP3_SETUP) << 16))
- prop RDHLD3_CECTL3 :: ((self.RDHLD3_SETUP))
- prop WRSTRB3_CECTL3 :: (((self.WRSTRB3_SETUP) << 22))
- prop WRSETUP3_CECTL3 :: (((self.WRSETUP3_SETUP) << 28))
- prop WRHLD3_CECTL3 :: (if (self.WRHLD3_SETUP > 3) {((self.WRHLD3_SETUP - 4) << 20)} else {((self.WRHLD3_SETUP << 20))})
- prop TA3_CECTL3 :: ((self.TA3_SETUP << 14))
- prop TRC_SDCTL :: ((self.TRC_SETUP << 12))
- prop TRP_SDCTL :: ((self.TRP_SETUP << 16))
- prop TRCD_Init :: (if ((CSL.C11_SUPPORT)) {4} else {8})
- prop TRCD_SDCTL :: ((self.TRCD_SETUP << 20))
- prop INIT_SDCTL :: (if (self.INIT_SETUP == "Initialize") {0x01000000} else {0x00000000})
- prop RFEN_SDCTL :: (if (self.RFEN_SETUP == "Enable") {0x02000000} else {0x00000000})
- prop SDWID_SDCTL :: (if (self.SDWID_SETUP == "Two 16-bit SDRAMs") {0x04000000} else {0x00000000})
- prop PERIOD_SDTIM1 :: ((self.PERIOD_SETUP1))
- prop SDCSZ_SDCTL :: (if (self.SDCSZ_SETUP == " 8 addresses") {0x04000000} else {if (self.SDCSZ_SETUP == "10 addresses") {0x08000000} else {0x00000000}})
- prop SDRSZ_SDCTL :: (if (self.SDRSZ_SETUP == "12 addresses") {0x10000000} else {if (self.SDRSZ_SETUP == "13 addresses") {0x20000000} else {0x00000000}})
- prop SDBSZ_SDCTL :: (if (self.SDBSZ_SETUP == "Four banks") {0x40000000} else {0x00000000})
- prop PERIOD_SDTIM2 :: ((self.PERIOD_SETUP2))
- prop XRFR_SDTIM :: (((self.XRFR_SETUP - 1) << 24))
- prop TCL_SDEXT :: ((self.TCL_SETUP - 2))
- prop TRAS_SDEXT :: (((self.TRAS_SETUP - 1) << 1))
- prop TRRD_SDEXT :: ((self.TRRD_SETUP - 2) << 4)
- prop TWR_SDEXT :: (((self.TWR_SETUP - 1) << 5))
- prop THZP_SDEXT :: (((self.THZP_SETUP - 1) << 7))
- prop RD2RD_SDEXT :: (((self.RD2RD_SETUP - 1) << 9))
- prop RD2DEAC_SDEXT :: (((self.RD2DEAC_SETUP - 1) << 10))
- prop RD2WR_SDEXT :: (((self.RD2WR_SETUP - 1) << 12))
- prop R2WDQM_SDEXT :: (((self.R2WDQM_SETUP - 1) << 15))
- prop WR2WR_SDEXT :: (((self.WR2WR_SETUP - 1) << 17))
- prop WR2DEAC_SDEXT :: (((self.WR2DEAC_SETUP - 1) << 18))
- prop WR2RD_SDEXT :: (((self.WR2RD_SETUP - 1) << 20))
- prop GBLCTL_VALUE_update :: (0x00003000 | self.RBTR8_GBLCTL() | self.SSCRT_GBLCTL() | self.CLK2EN_GBLCTL() | self.CLK1EN_GBLCTL() | self.SSCEN_GBLCTL() | self.SDCEN_GBLCTL() | self.NOHOLD_GBLCTL())
- prop GBLCTL_SETUP_update :: (self.RBTR8_SETUP = if ($1 & 0x00000002) {"8 accesses Minimum"} else {"until High-Priority"}, self.SSCRT_SETUP = if ($1 & 0x00000004) {"1 CPU clock"} else {"1/2 CPU clock"}, self.CLK2EN_SETUP = if ($1 & 0x00000008) {"Enabled to clock"} else {"Held high"}, self.CLK1EN_SETUP = if ($1 & 0x00000010) {"Enabled to clock"} else {"Held high"}, self.SSCEN_SETUP = if ($1 & 0x00000020) {"Enabled to clock"} else {"Held high"}, self.SDCEN_SETUP = if ($1 & 0x00000040) {"Enabled to clock"} else {"Held high"}, self.NOHOLD_SETUP = if ($1 & 0x00000080) {"Disable Hold"} else {"Enable Hold"})
- prop CECTL0_VALUE_update :: (self.MTYPE0_CECTL0() | self.RDHLD0_CECTL0() | self.RDSTRB0_CECTL0() | self.RDSETUP0_CECTL0() | self.WRHLD0_CECTL0() | self.WRSETUP0_CECTL0() | self.WRSTRB0_CECTL0() | (if ((!CSL.C11_SUPPORT)) {0} else {self.TA0_CECTL0()}))
- prop CECTL0_SETUP_update :: (if ((CSL.CHIP_6211) || (CSL.CHIP_6711) || (CSL.CHIP_6713) || (CSL.CHIP_DA610)) {self.MTYPE0_SETUP = ($a = ($1 & 0x000000f0), if ($a == 0x00000000) {" 8-bit async. interf."} else {if ($a == 0x00000010) {"16-bit async. interf."} else {if ($a == 0x00000020) {"32-bit async. interf."} else {if ($a == 0x00000030) {"32-bit SDRAM"} else {if ($a == 0x00000040) {"32-bit SBSRAM"} else {if ($a == 0x00000080) {" 8-bit SDRAM"} else {if ($a == 0x00000090) {"16-bit SDRAM"} else {if ($a == 0x000000a0) {" 8-bit SBSRAM"} else {"16-bit SBSRAM"}}}}}}}})} else {if (CSL.CHIP_6712) {self.MTYPE0_SETUP = ($a = ($1 & 0x000000f0), if ($a == 0x00000000) {" 8-bit async. interf."} else {if ($a == 0x00000010) {"16-bit async. interf."} else {if ($a == 0x00000080) {" 8-bit SDRAM"} else {if ($a == 0x00000090) {"16-bit SDRAM"} else {if ($a == 0x000000a0) {" 8-bit SBSRAM"} else {"16-bit SBSRAM"}}}}})} else {self.MTYPE0_SETUP = ($a = ($1 & 0x00000070), if ($a == 0x00000020) {"32-bit async. interf."} else {if ($a == 0x00000030) {"32-bit SDRAM"} else {"32-bit SBSRAM"}})}}, if (CSL.C11_SUPPORT) {self.RDHLD0_SETUP = ($1 & 0x00000007)} else {self.RDHLD0_SETUP = ($1 & 0x00000003)}, self.RDSTRB0_SETUP = (($1 & 0x00003F00) >> 8), self.RDSETUP0_SETUP = (($1 & 0x000F0000) >> 16), if (CSL.C11_SUPPORT) {self.WRHLD0_SETUP = ($1 & 0x00300000) >> 20} else {self.WRHLD0_SETUP = ($1 & 0x00300000) >> 20}, self.WRSTRB0_SETUP = (($1 & 0x0FC00000) >> 22), self.WRSETUP0_SETUP = (($1 >> 28) & 0xF), if (CSL.C11_SUPPORT) {self.TA0_SETUP = ($1 & 0x0000c000) >> 14} )
- prop CECTL1_VALUE_update :: (self.MTYPE1_CECTL1() | self.RDHLD1_CECTL1() | self.RDSTRB1_CECTL1() | self.RDSETUP1_CECTL1() | self.WRHLD1_CECTL1() | self.WRSETUP1_CECTL1() | self.WRSTRB1_CECTL1() | (if ((!CSL.C11_SUPPORT)) {0} else {self.TA1_CECTL1()}))
- prop CECTL1_SETUP_update :: (if ((CSL.CHIP_6211) || (CSL.CHIP_6711) || (CSL.CHIP_6713) || (CSL.CHIP_DA610)) {self.MTYPE1_SETUP = ($a = ($1 & 0x000000f0), if ($a == 0x00000000) {" 8-bit async. interf."} else {if ($a == 0x00000010) {"16-bit async. interf."} else {if ($a == 0x00000020) {"32-bit async. interf."} else {if ($a == 0x00000030) {"32-bit SDRAM"} else {if ($a == 0x00000040) {"32-bit SBSRAM"} else {if ($a == 0x00000080) {" 8-bit SDRAM"} else {if ($a == 0x00000090) {"16-bit SDRAM"} else {if ($a == 0x000000a0) {" 8-bit SBSRAM"} else {"16-bit SBSRAM"}}}}}}}})} else {if (CSL.CHIP_6712) {self.MTYPE0_SETUP = ($a = ($1 & 0x000000f0), if ($a == 0x00000000) {" 8-bit async. interf."} else {if ($a == 0x00000010) {"16-bit async. interf."} else {if ($a == 0x00000080) {" 8-bit SDRAM"} else {if ($a == 0x00000090) {"16-bit SDRAM"} else {if ($a == 0x000000a0) {" 8-bit SBSRAM"} else {"16-bit SBSRAM"}}}}})} else {self.MTYPE1_SETUP = ($a = ($1 & 0x00000070), if ($a == 0x00000000) {" 8-bit ROM"} else {if ($a == 0x00000010) {"16-bit ROM"} else {if ($a == 0x00000020) {"32-bit async. interf."} else {"32-bit SBSRAM"}}})}}, if (CSL.C11_SUPPORT) {self.RDHLD1_SETUP = ($1 & 0x00000007)} else {self.RDHLD1_SETUP = ($1 & 0x00000003)}, self.RDSTRB1_SETUP = (($1 & 0x00003F00) >> 8), self.RDSETUP1_SETUP = (($1 & 0x000F0000) >> 16), if (CSL.C11_SUPPORT) {self.WRHLD1_SETUP = ($1 & 0x00300000) >> 20} else {self.WRHLD1_SETUP = ($1 & 0x00300000) >> 20}, self.WRSTRB1_SETUP = (($1 & 0x0FC00000) >> 22), self.WRSETUP1_SETUP = (($1 >> 28) & 0xF), if (CSL.C11_SUPPORT) {self.TA1_SETUP = ($1 & 0x0000c000) >> 14} )
- prop CECTL2_VALUE_update :: (self.MTYPE2_CECTL2() | self.RDHLD2_CECTL2() | self.RDSTRB2_CECTL2() | self.RDSETUP2_CECTL2() | self.WRHLD2_CECTL2() | self.WRSETUP2_CECTL2() | self.WRSTRB2_CECTL2() | (if ((!CSL.C11_SUPPORT)) {0} else {self.TA2_CECTL2()}))
- prop CECTL2_SETUP_update :: (if ((CSL.CHIP_6211) || (CSL.CHIP_6711) || (CSL.CHIP_6713) || (CSL.CHIP_DA610)) {self.MTYPE2_SETUP = ($a = ($1 & 0x000000f0), if ($a == 0x00000000) {" 8-bit async. interf."} else {if ($a == 0x00000010) {"16-bit async. interf."} else {if ($a == 0x00000020) {"32-bit async. interf."} else {if ($a == 0x00000030) {"32-bit SDRAM"} else {if ($a == 0x00000040) {"32-bit SBSRAM"} else {if ($a == 0x00000080) {" 8-bit SDRAM"} else {if ($a == 0x00000090) {"16-bit SDRAM"} else {if ($a == 0x000000a0) {" 8-bit SBSRAM"} else {"16-bit SBSRAM"}}}}}}}})} else {if (CSL.CHIP_6712) {self.MTYPE0_SETUP = ($a = ($1 & 0x000000f0), if ($a == 0x00000000) {" 8-bit async. interf."} else {if ($a == 0x00000010) {"16-bit async. interf."} else {if ($a == 0x00000080) {" 8-bit SDRAM"} else {if ($a == 0x00000090) {"16-bit SDRAM"} else {if ($a == 0x000000a0) {" 8-bit SBSRAM"} else {"16-bit SBSRAM"}}}}})} else {self.MTYPE2_SETUP = ($a = ($1 & 0x00000070), if ($a == 0x00000020) {"32-bit async. interf."} else {if ($a == 0x00000030) {"32-bit SDRAM"} else {"32-bit SBSRAM"}})}}, if (CSL.C11_SUPPORT) {self.RDHLD2_SETUP = ($1 & 0x00000007)} else {self.RDHLD2_SETUP = ($1 & 0x00000003)}, self.RDSTRB2_SETUP = (($1 & 0x00003F00) >> 8), self.RDSETUP2_SETUP = (($1 & 0x000F0000) >> 16), if (CSL.C11_SUPPORT) {self.WRHLD2_SETUP = ($1 & 0x00300000) >> 20} else {self.WRHLD2_SETUP = ($1 & 0x00300000) >> 20}, self.WRSTRB2_SETUP = (($1 & 0x0FC00000) >> 22), self.WRSETUP2_SETUP = (($1 >> 28) & 0xF), if (CSL.C11_SUPPORT) {self.TA2_SETUP = ($1 & 0x0000c000) >> 14} )
- prop CECTL3_VALUE_update :: (self.MTYPE3_CECTL3() | self.RDHLD3_CECTL3() | self.RDSTRB3_CECTL3() | self.RDSETUP3_CECTL3() | self.WRHLD3_CECTL3() | self.WRSETUP3_CECTL3() | self.WRSTRB3_CECTL3() | (if ((!CSL.C11_SUPPORT)) {0} else {self.TA3_CECTL3()}))
- prop CECTL3_SETUP_update :: (if ((CSL.CHIP_6211) || (CSL.CHIP_6711) || (CSL.CHIP_6713) || (CSL.CHIP_DA610)) {self.MTYPE3_SETUP = ($a = ($1 & 0x000000f0), if ($a == 0x00000000) {" 8-bit async. interf."} else {if ($a == 0x00000010) {"16-bit async. interf."} else {if ($a == 0x00000020) {"32-bit async. interf."} else {if ($a == 0x00000030) {"32-bit SDRAM"} else {if ($a == 0x00000040) {"32-bit SBSRAM"} else {if ($a == 0x00000080) {" 8-bit SDRAM"} else {if ($a == 0x00000090) {"16-bit SDRAM"} else {if ($a == 0x000000a0) {" 8-bit SBSRAM"} else {"16-bit SBSRAM"}}}}}}}})} else {if (CSL.CHIP_6712) {self.MTYPE0_SETUP = ($a = ($1 & 0x000000f0), if ($a == 0x00000000) {" 8-bit async. interf."} else {if ($a == 0x00000010) {"16-bit async. interf."} else {if ($a == 0x00000080) {" 8-bit SDRAM"} else {if ($a == 0x00000090) {"16-bit SDRAM"} else {if ($a == 0x000000a0) {" 8-bit SBSRAM"} else {"16-bit SBSRAM"}}}}})} else {self.MTYPE3_SETUP = ($a = ($1 & 0x00000070), if ($a == 0x00000020) {"32-bit async. interf."} else {if ($a == 0x00000030) {"32-bit SDRAM"} else {"32-bit SBSRAM"}})}}, if (CSL.C11_SUPPORT) {self.RDHLD3_SETUP = ($1 & 0x00000007)} else {self.RDHLD3_SETUP = ($1 & 0x00000003)}, self.RDSTRB3_SETUP = (($1 & 0x00003F00) >> 8), self.RDSETUP3_SETUP = (($1 & 0x000F0000) >> 16), if (CSL.C11_SUPPORT) {self.WRHLD3_SETUP = ($1 & 0x00300000) >> 20} else {self.WRHLD3_SETUP = ($1 & 0x00300000) >> 20}, self.WRSTRB3_SETUP = (($1 & 0x0FC00000) >> 22), self.WRSETUP3_SETUP = (($1 >> 28) & 0xF), if (CSL.C11_SUPPORT) {self.TA3_SETUP = ($1 & 0x0000c000) >> 14} )
- prop SDCTL_VALUE_update :: (self.TRC_SDCTL() | self.TRP_SDCTL() | self.TRCD_SDCTL() | self.INIT_SDCTL() | self.RFEN_SDCTL() | (if ((!CSL.C11_SUPPORT)) {self.SDWID_SDCTL()} else {self.SDCSZ_SDCTL()}) | (if ((!CSL.C11_SUPPORT)) {0} else {self.SDRSZ_SDCTL()}) | (if ((!CSL.C11_SUPPORT)) {0} else {self.SDBSZ_SDCTL()}))
- prop SDCTL_SETUP_update :: (self.TRC_SETUP = ($1 & 0x0000F000) >> 12, self.TRP_SETUP = ($1 & 0x000F0000) >> 16, self.TRCD_SETUP = ($1 & 0x00F00000) >> 20, self.INIT_SETUP = ($a = ($1 & 0x01000000), if ($a == 0x01000000) {"Initialize"} else {"No effect"}), self.RFEN_SETUP = ($a = ($1 & 0x02000000), if ($a == 0x02000000) {"Enable"} else {"Disable"}), if ((!CSL.C11_SUPPORT)) {self.SDWID_SETUP = ($a = ($1 & 0x04000000), if ($a == 0x04000000) {"Two 16-bit SDRAMs"} else {"Four 8-bit SDRAMs"})} , if (CSL.C11_SUPPORT) {self.SDCSZ_SETUP = ($a = ($1 & 0x0c000000), if ($a == 0x04000000) {" 8 addresses"} else {if ($a == 0x08000000) {"10 addresses"} else {" 9 addresses"}}), self.SDRSZ_SETUP = ($a = ($1 & 0x30000000), if ($a == 0x10000000) {"12 addresses"} else {if ($a == 0x20000000) {"13 addresses"} else {"11 addresses"}}), self.SDBSZ_SETUP = ($a = ($1 & 0x40000000), if ($a == 0x40000000) {"Four banks"} else {"Two banks"})} )
- prop SDTIM_VALUE_update :: ((if ((!CSL.C11_SUPPORT)) {self.PERIOD_SDTIM1()} else {self.PERIOD_SDTIM2()}) | (if ((!CSL.C11_SUPPORT)) {0} else {self.XRFR_SDTIM()}))
- prop SDTIM_SETUP_update :: (if (CSL.C11_SUPPORT) {self.PERIOD_SETUP2 = ($1 & 0x00000FFF)} , if ((!CSL.C11_SUPPORT)) {self.PERIOD_SETUP1 = ($1 & 0x00000FFF)} , if (CSL.C11_SUPPORT) {self.XRFR_SETUP = (($1 & 0x03000000) >> 24) + 1} )
- prop SDEXT_VALUE_update :: (self.TCL_SDEXT() | self.TRAS_SDEXT() | self.TRRD_SDEXT() | self.TWR_SDEXT() | self.THZP_SDEXT() | self.RD2RD_SDEXT() | self.RD2DEAC_SDEXT() | self.RD2WR_SDEXT() | self.R2WDQM_SDEXT() | self.WR2WR_SDEXT() | self.WR2DEAC_SDEXT() | self.WR2RD_SDEXT())
- prop SDEXT_SETUP_update :: (self.TCL_SETUP = ($1 & 0x00000001) + 2, self.TRAS_SETUP = (($1 & 0x0000000E) >> 1) + 1, self.TRRD_SETUP = (($1 & 0x00000010) >> 4) + 2, self.TWR_SETUP = (($1 & 0x00000060) >> 5) + 1, self.THZP_SETUP = (($1 & 0x00000180) >> 7) + 1, self.RD2RD_SETUP = (($1 & 0x00000200) >> 9) + 1, self.RD2DEAC_SETUP = (($1 & 0x00000c00) >> 10) + 1, self.RD2WR_SETUP = (($1 & 0x00007000) >> 12) + 1, self.R2WDQM_SETUP = (($1 & 0x00018000) >> 15) + 1, self.WR2WR_SETUP = (($1 & 0x00020000) >> 17) + 1, self.WR2DEAC_SETUP = (($1 & 0x000c0000) >> 18) + 1, self.WR2RD_SETUP = (($1 & 0x00100000) >> 20) + 1)
- global gUser :: "USER" {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gSetOf :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gNumOf :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gDirty :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gInitFlag :: 1 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gInit :: = ($a = 0, $b = 0, scan ($i; self) {if ($i.IsConfObj()) {$a += 1, if (self.isFinite) {$b |= 1 << $i.iId} } }, self.gNumOf = $a, self.gSetOf = $b, if (self.gInitFlag == 0) {self.localInit()} , self.gInitFlag = 1) {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst iComment :: if self.iDelUser == "USER" {"<add comments here>"} else {self.iDelMsg} {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "comment"
- prop JSName :: "comment"
- prop Visible :: 1
- prop Writable :: if self.iDelUser == "USER" {1} else {0}
- prop NoGen :: 1
- }
- inst iIsUsed :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst iId :: 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01
- prop Visible :: 0
- prop Writable :: 1
- prop NoGen :: 1
- }
- inst iDelUser :: "USER" {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst iDelMsg :: "ok" {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst cConfigGen :: = ((hEmif.EMIF_INIT_ENABLE == 1) && (hEmif.EMIF_INIT == self) && (hEmif.EMIF_INIT != EMIF_NOTHING)) {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop NoGen :: 1
- prop Visible :: 0
- }
- inst cConfigArg0 :: = hEmif.EMIF_INIT {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop MemberType :: emifCfg
- prop Label :: "Pre-initialize Config"
- prop Visible :: 0
- prop Writable :: (CSL.EMIF_SUPPORT) && 1
- prop NoGen :: 0
- prop cPreVal :: "&"
- }
- inst NOHOLD_SETUP :: "Enable Hold" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Enable Hold,Disable Hold"
- prop Label :: "External HOLD disable (NOHOLD)"
- prop JSName :: "emifGblctlNoHold"
- prop Visible :: 1
- prop Writable :: (CSL.EMIF_SUPPORT)
- prop NoGen :: 1
- prop TabName :: "Global Control"
- prop Set :: (self.NOHOLD_SETUP = $1, self.GBLCTL_VALUE = self.GBLCTL_VALUE_update(), "ok")
- }
- inst RBTR8_SETUP :: "until High-Priority" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "until High-Priority,8 accesses Minimum"
- prop Label :: "Requester Arbitration (RBTR8)"
- prop JSName :: "emifGblctlRbtr8"
- prop Visible :: 1
- prop Writable :: (CSL.EMIF_SUPPORT) && (if (CSL.C11_SUPPORT) {0} else {1})
- prop NoGen :: 1
- prop TabName :: "Global Control"
- prop Set :: (self.RBTR8_SETUP = $1, self.GBLCTL_VALUE = self.GBLCTL_VALUE_update(), "ok")
- }
- inst SSCRT_SETUP :: "1/2 CPU clock" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "1/2 CPU clock,1 CPU clock"
- prop Label :: "SBSRAM Clock Rate (SSCRT)"
- prop JSName :: "emifGblctlSscrt"
- prop Visible :: 1
- prop Writable :: (CSL.EMIF_SUPPORT) && (CSL.CHIP_6201 || CSL.CHIP_6701)
- prop NoGen :: 1
- prop TabName :: "Global Control"
- prop Set :: (self.SSCRT_SETUP = $1, self.GBLCTL_VALUE = self.GBLCTL_VALUE_update(), "ok")
- }
- inst CLK2EN_SETUP :: "Enabled to clock" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Held high,Enabled to clock"
- prop Label :: "CLKOUT2 Enable (CLK2EN)"
- prop JSName :: "emifGblctlClk2En"
- prop Visible :: 1
- prop Writable :: (CSL.EMIF_SUPPORT) && (CSL.CHIP_6201 || CSL.CHIP_6701 || CSL.C11_SUPPORT)
- prop NoGen :: 1
- prop TabName :: "Global Control"
- prop Set :: (self.CLK2EN_SETUP = $1, self.GBLCTL_VALUE = self.GBLCTL_VALUE_update(), "ok")
- }
- inst CLK1EN_SETUP :: "Enabled to clock" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Held high,Enabled to clock"
- prop Label :: "CLKOUT1 Enable (CLK1EN)"
- prop JSName :: "emifGblctlClk1En"
- prop Visible :: 1
- prop Writable :: (CSL.EMIF_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Global Control"
- prop Set :: (self.CLK1EN_SETUP = $1, self.GBLCTL_VALUE = self.GBLCTL_VALUE_update(), "ok")
- }
- inst SSCEN_SETUP :: "Enabled to clock" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Held high,Enabled to clock"
- prop Label :: "SBSRAM CLK Enable (SSCEN)"
- prop JSName :: "emifGblctlSscen"
- prop Visible :: 1
- prop Writable :: (CSL.EMIF_SUPPORT) && (!CSL.C11_SUPPORT)
- prop NoGen :: 1
- prop TabName :: "Global Control"
- prop Set :: (self.SSCEN_SETUP = $1, self.GBLCTL_VALUE = self.GBLCTL_VALUE_update(), "ok")
- }
- inst SDCEN_SETUP :: "Enabled to clock" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Held high,Enabled to clock"
- prop Label :: "SDRAM CLK Enable (SDCEN)"
- prop JSName :: "emifGblctlSdcen"
- prop Visible :: 1
- prop Writable :: (CSL.EMIF_SUPPORT) && (!CSL.C11_SUPPORT)
- prop NoGen :: 1
- prop TabName :: "Global Control"
- prop Set :: (self.SDCEN_SETUP = $1, self.GBLCTL_VALUE = self.GBLCTL_VALUE_update(), "ok")
- }
- inst MTYPE0_SETUP :: = (if (!CSL.CHIP_6712) {"32-bit async. interf."} else {" 8-bit async. interf."}) {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: " 8-bit async. interf.,16-bit async. interf.,32-bit async. interf., 8-bit SDRAM,16-bit SDRAM,32-bit SDRAM, 8-bit SBSRAM,16-bit SBSRAM,32-bit SBSRAM"
- prop Label :: "Memory Type (MTYPE)"
- prop JSName :: "emifCectl0Mtype"
- prop Visible :: 1
- prop Writable :: (CSL.EMIF_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "CE0 Space"
- prop Set :: (if ((!CSL.C11_SUPPORT)) {if ($1 == " 8-bit async. interf." || $1 == "16-bit async. interf.") {self.error("Memory type available for 6211/671x only")} else {if ($1 == " 8-bit SDRAM" || $1 == "16-bit SDRAM") {self.error("Memory type available for 6211/671x only")} else {if ($1 == " 8-bit SBSRAM" || $1 == "16-bit SBSRAM") {self.error("Memory type available for 6211/671x only")} else {self.MTYPE0_SETUP = $1, self.CECTL0_VALUE = self.CECTL0_VALUE_update(), "ok"}}}} else {if (CSL.CHIP_6712 && ($1 == "32-bit SBSRAM" || $1 == "32-bit SDRAM" || $1 == "32-bit async. interf.")) {self.error(" 6712 supports 16-bit EMIF only")} else {self.MTYPE0_SETUP = $1, self.CECTL0_VALUE = self.CECTL0_VALUE_update(), "ok"}})
- }
- inst RDSTRB0_SETUP :: 63 {
- prop Label :: "Read Strobe Width "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifCectl0ReadStrobe"
- prop Visible :: 1
- prop Writable :: (CSL.EMIF_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "CE0 Space"
- prop Set :: (if ($1 < 0 || $1 > 63) {self.error(" Minimum strobe :0 cycle - Maximum strobe: 63 cycles")} else {self.RDSTRB0_SETUP = $1, self.CECTL0_VALUE = self.CECTL0_VALUE_update(), "ok"})
- }
- inst RDSETUP0_SETUP :: 15 {
- prop Label :: "Read Setup Width "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifCectl0ReadSetup"
- prop Visible :: 1
- prop Writable :: (CSL.EMIF_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "CE0 Space"
- prop Set :: (if ($1 < 0 || $1 > 15) {self.error(" Minimum setup :0 cycle - Maximum setup: 15 cycles")} else {self.RDSETUP0_SETUP = $1, self.CECTL0_VALUE = self.CECTL0_VALUE_update(), "ok"})
- }
- inst RDHLD0_SETUP :: 3 {
- prop Label :: "Read Hold Width "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifCectl0ReadHold"
- prop Visible :: 1
- prop Writable :: (CSL.EMIF_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "CE0 Space"
- prop Set :: (if ((!CSL.C11_SUPPORT)) {if ($1 < 0 || $1 > 3) {self.error(" Minimum hold :0 cycle - Maximum hold: 3 cycles")} else {self.RDHLD0_SETUP = $1, self.CECTL0_VALUE = self.CECTL0_VALUE_update(), "ok"}} else {if ($1 < 0 || $1 > 7) {self.error(" Minimum hold :0 cycle - Maximum hold: 7 cycles")} else {self.RDHLD0_SETUP = $1, self.CECTL0_VALUE = self.CECTL0_VALUE_update(), "ok"}})
- }
- inst WRSTRB0_SETUP :: 63 {
- prop Label :: "Write Strobe Width "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifCectl0WriteStobe"
- prop Visible :: 1
- prop Writable :: (CSL.EMIF_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "CE0 Space"
- prop Set :: (if ($1 < 0 || $1 > 63) {self.error(" Minimum strobe :0 cycle - Maximum strobe: 63 cycles")} else {self.WRSTRB0_SETUP = $1, self.CECTL0_VALUE = self.CECTL0_VALUE_update(), "ok"})
- }
- inst WRSETUP0_SETUP :: 15 {
- prop Label :: "Write Setup Width "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifCectl0WriterSetup"
- prop Visible :: 1
- prop Writable :: (CSL.EMIF_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "CE0 Space"
- prop Set :: (if ($1 < 0 || $1 > 15) {self.error(" Minimum setup :0 cycle - Maximum setup: 15 cycles")} else {self.WRSETUP0_SETUP = $1, self.CECTL0_VALUE = self.CECTL0_VALUE_update(), "ok"})
- }
- inst WRHLD0_SETUP :: 3 {
- prop Label :: "Write Hold Width "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifCectl0WriteHold"
- prop Visible :: 1
- prop Writable :: (CSL.EMIF_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "CE0 Space"
- prop Set :: (if ((!CSL.C11_SUPPORT)) {if ($1 < 0 || $1 > 3) {self.error(" Minimum hold :0 cycle - Maximum hold: 3 cycles")} else {self.WRHLD0_SETUP = $1, self.CECTL0_VALUE = self.CECTL0_VALUE_update(), "ok"}} else {if ($1 < 0 || $1 > 3) {self.error(" Minimum hold :0 cycle - Maximum hold: 3 cycles")} else {self.WRHLD0_SETUP = $1, self.CECTL0_VALUE = self.CECTL0_VALUE_update(), "ok"}})
- }
- inst TA0_SETUP :: 3 {
- prop Label :: "Turn around time (TA) "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifCectl0Ta"
- prop Visible :: 1
- prop Writable :: (CSL.EMIF_SUPPORT) && (if (CSL.C11_SUPPORT) {1} else {0})
- prop NoGen :: 1
- prop TabName :: "CE0 Space"
- prop Set :: (if ($1 < 1 || $1 > 3) {self.error(" Minimum: 1 ECLKOUT cycle - Maximum : 3 ECLKOUT cycles")} else {self.TA0_SETUP = $1, self.CECTL0_VALUE = self.CECTL0_VALUE_update(), "ok"})
- }
- inst MTYPE1_SETUP :: = (if (!CSL.CHIP_6712) {"32-bit async. interf."} else {" 8-bit async. interf."}) {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: " 8-bit ROM,16-bit ROM, 8-bit async. interf.,16-bit async. interf.,32-bit async. interf., 8-bit SDRAM,16-bit SDRAM,32-bit SDRAM, 8-bit SBSRAM,16-bit SBSRAM,32-bit SBSRAM"
- prop Label :: "Memory Type (MTYPE)"
- prop JSName :: "emifCectl1Mtype"
- prop Visible :: 1
- prop Writable :: (CSL.EMIF_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "CE1 Space"
- prop Set :: (if ((!CSL.C11_SUPPORT)) {if ($1 == " 8-bit async. interf." || $1 == "16-bit async. interf.") {self.error("Memory type available for 6211/671x only")} else {if ($1 == " 8-bit SDRAM" || $1 == "16-bit SDRAM") {self.error("Memory type available for 6211/671x only")} else {if ($1 == " 8-bit SBSRAM" || $1 == "16-bit SBSRAM") {self.error("Memory type available for 6211/671x only")} else {if ($1 == "32-bit SDRAM") {self.error("Memory type not available for CE1 Space")} else {self.MTYPE1_SETUP = $1, self.CECTL1_VALUE = self.CECTL1_VALUE_update(), "ok"}}}}} else {if (CSL.CHIP_6712 && ($1 == "32-bit SBSRAM" || $1 == "32-bit SDRAM" || $1 == "32-bit async. interf.")) {self.error(" 6712 supports 16-bit EMIF only")} else {if ($1 == " 8-bit ROM" || $1 == "16-bit ROM") {self.error("Memory type not available for 6211/671x only")} else {self.MTYPE1_SETUP = $1, self.CECTL1_VALUE = self.CECTL1_VALUE_update(), "ok"}}})
- }
- inst RDSTRB1_SETUP :: 63 {
- prop Label :: "Read Strobe Width "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifCectl1ReadStrobe"
- prop Visible :: 1
- prop Writable :: (CSL.EMIF_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "CE1 Space"
- prop Set :: (if ($1 < 0 || $1 > 63) {self.error(" Minimum strobe :0 cycle - Maximum strobe: 63 cycles")} else {self.RDSTRB1_SETUP = $1, self.CECTL1_VALUE = self.CECTL1_VALUE_update(), "ok"})
- }
- inst RDSETUP1_SETUP :: 15 {
- prop Label :: "Read Setup Width "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifCectl1ReadSetup"
- prop Visible :: 1
- prop Writable :: (CSL.EMIF_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "CE1 Space"
- prop Set :: (if ($1 < 0 || $1 > 15) {self.error(" Minimum setup :0 cycle - Maximum setup: 15 cycles")} else {self.RDSETUP1_SETUP = $1, self.CECTL1_VALUE = self.CECTL1_VALUE_update(), "ok"})
- }
- inst RDHLD1_SETUP :: 3 {
- prop Label :: "Read Hold Width "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifCectl1ReadHold"
- prop Visible :: 1
- prop Writable :: (CSL.EMIF_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "CE1 Space"
- prop Set :: (if ((!CSL.C11_SUPPORT)) {if ($1 < 0 || $1 > 3) {self.error(" Minimum hold :0 cycle - Maximum hold: 3 cycles")} else {self.RDHLD1_SETUP = $1, self.CECTL1_VALUE = self.CECTL1_VALUE_update(), "ok"}} else {if ($1 < 0 || $1 > 7) {self.error(" Minimum hold :0 cycle - Maximum hold: 7 cycles")} else {self.RDHLD1_SETUP = $1, self.CECTL1_VALUE = self.CECTL1_VALUE_update(), "ok"}})
- }
- inst WRSTRB1_SETUP :: 63 {
- prop Label :: "Write Strobe Width "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifCectl1WriteStrobe"
- prop Visible :: 1
- prop Writable :: (CSL.EMIF_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "CE1 Space"
- prop Set :: (if ($1 < 0 || $1 > 63) {self.error(" Minimum strobe :0 cycle - Maximum strobe: 63 cycles")} else {self.WRSTRB1_SETUP = $1, self.CECTL1_VALUE = self.CECTL1_VALUE_update(), "ok"})
- }
- inst WRSETUP1_SETUP :: 15 {
- prop Label :: "Write Setup Width "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifCectl1WriteSetup"
- prop Visible :: 1
- prop Writable :: (CSL.EMIF_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "CE1 Space"
- prop Set :: (if ($1 < 0 || $1 > 15) {self.error(" Minimum setup :0 cycle - Maximum setup: 15 cycles")} else {self.WRSETUP1_SETUP = $1, self.CECTL1_VALUE = self.CECTL1_VALUE_update(), "ok"})
- }
- inst WRHLD1_SETUP :: 3 {
- prop Label :: "Write Hold Width "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifCectl1WriteHold"
- prop Visible :: 1
- prop Writable :: (CSL.EMIF_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "CE1 Space"
- prop Set :: (if ((!CSL.C11_SUPPORT)) {if ($1 < 0 || $1 > 3) {self.error(" Minimum hold :0 cycle - Maximum hold: 3 cycles")} else {self.WRHLD1_SETUP = $1, self.CECTL1_VALUE = self.CECTL1_VALUE_update(), "ok"}} else {if ($1 < 0 || $1 > 3) {self.error(" Minimum hold :0 cycle - Maximum hold: 3 cycles")} else {self.WRHLD1_SETUP = $1, self.CECTL1_VALUE = self.CECTL1_VALUE_update(), "ok"}})
- }
- inst TA1_SETUP :: 3 {
- prop Label :: "Turn around time (TA) "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifCectl1Ta"
- prop Visible :: 1
- prop Writable :: (CSL.EMIF_SUPPORT) && (if (CSL.C11_SUPPORT) {1} else {0})
- prop NoGen :: 1
- prop TabName :: "CE1 Space"
- prop Set :: (if ($1 < 1 || $1 > 3) {self.error(" Minimum: 1 ECLKOUT cycle - Maximum : 3 ECLKOUT cycles")} else {self.TA1_SETUP = $1, self.CECTL1_VALUE = self.CECTL1_VALUE_update(), "ok"})
- }
- inst MTYPE2_SETUP :: = (if (!CSL.CHIP_6712) {"32-bit async. interf."} else {" 8-bit async. interf."}) {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: " 8-bit async. interf.,16-bit async. interf.,32-bit async. interf., 8-bit SDRAM,16-bit SDRAM,32-bit SDRAM, 8-bit SBSRAM,16-bit SBSRAM,32-bit SBSRAM"
- prop Label :: "Memory Type (MTYPE)"
- prop JSName :: "emifCectl2Mtype"
- prop Visible :: 1
- prop Writable :: (CSL.EMIF_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "CE2 Space"
- prop Set :: (if ((!CSL.C11_SUPPORT)) {if ($1 == " 8-bit async. interf." || $1 == "16-bit async. interf.") {self.error("Memory type available for 6211/671x only")} else {if ($1 == " 8-bit SDRAM" || $1 == "16-bit SDRAM") {self.error("Memory type available for 6211/671x only")} else {if ($1 == " 8-bit SBSRAM" || $1 == "16-bit SBSRAM") {self.error("Memory type available for 6211/671x only")} else {self.MTYPE2_SETUP = $1, self.CECTL2_VALUE = self.CECTL2_VALUE_update(), "ok"}}}} else {if (CSL.CHIP_6712 && ($1 == "32-bit SBSRAM" || $1 == "32-bit SDRAM" || $1 == "32-bit async. interf.")) {self.error(" 6712 supports 16-bit EMIF only")} else {self.MTYPE2_SETUP = $1, self.CECTL2_VALUE = self.CECTL2_VALUE_update(), "ok"}})
- }
- inst RDSTRB2_SETUP :: 63 {
- prop Label :: "Read Strobe Width "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifCectl2ReadStrobe"
- prop Visible :: 1
- prop Writable :: (CSL.EMIF_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "CE2 Space"
- prop Set :: (if ($1 < 0 || $1 > 63) {self.error(" Minimum strobe :0 cycle - Maximum strobe: 63 cycles")} else {self.RDSTRB2_SETUP = $1, self.CECTL2_VALUE = self.CECTL2_VALUE_update(), "ok"})
- }
- inst RDSETUP2_SETUP :: 15 {
- prop Label :: "Read Setup Width "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifCectl2ReadSetup"
- prop Visible :: 1
- prop Writable :: (CSL.EMIF_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "CE2 Space"
- prop Set :: (if ($1 < 0 || $1 > 15) {self.error(" Minimum setup :0 cycle - Maximum setup: 15 cycles")} else {self.RDSETUP2_SETUP = $1, self.CECTL2_VALUE = self.CECTL2_VALUE_update(), "ok"})
- }
- inst RDHLD2_SETUP :: 3 {
- prop Label :: "Read Hold Width "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifCectl2ReadHold"
- prop Visible :: 1
- prop Writable :: (CSL.EMIF_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "CE2 Space"
- prop Set :: (if ((!CSL.C11_SUPPORT)) {if ($1 < 0 || $1 > 3) {self.error(" Minimum hold :0 cycle - Maximum hold: 3 cycles")} else {self.RDHLD2_SETUP = $1, self.CECTL2_VALUE = self.CECTL2_VALUE_update(), "ok"}} else {if ($1 < 0 || $1 > 7) {self.error(" Minimum hold :0 cycle - Maximum hold: 7 cycles")} else {self.RDHLD2_SETUP = $1, self.CECTL2_VALUE = self.CECTL2_VALUE_update(), "ok"}})
- }
- inst WRSTRB2_SETUP :: 63 {
- prop Label :: "Write Strobe Width "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifCectl2WriteStrobe"
- prop Visible :: 1
- prop Writable :: (CSL.EMIF_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "CE2 Space"
- prop Set :: (if ($1 < 0 || $1 > 63) {self.error(" Minimum strobe :0 cycle - Maximum strobe: 63 cycles")} else {self.WRSTRB2_SETUP = $1, self.CECTL2_VALUE = self.CECTL2_VALUE_update(), "ok"})
- }
- inst WRSETUP2_SETUP :: 15 {
- prop Label :: "Write Setup Width "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifCectl2WriteSetup"
- prop Visible :: 1
- prop Writable :: (CSL.EMIF_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "CE2 Space"
- prop Set :: (if ($1 < 0 || $1 > 15) {self.error(" Minimum setup :0 cycle - Maximum setup: 15 cycles")} else {self.WRSETUP2_SETUP = $1, self.CECTL2_VALUE = self.CECTL2_VALUE_update(), "ok"})
- }
- inst WRHLD2_SETUP :: 3 {
- prop Label :: "Write Hold Width "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifCectl2WriteHold"
- prop Visible :: 1
- prop Writable :: (CSL.EMIF_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "CE2 Space"
- prop Set :: (if ((!CSL.C11_SUPPORT)) {if ($1 < 0 || $1 > 3) {self.error(" Minimum hold :0 cycle - Maximum hold: 3 cycles")} else {self.WRHLD2_SETUP = $1, self.CECTL2_VALUE = self.CECTL2_VALUE_update(), "ok"}} else {if ($1 < 0 || $1 > 3) {self.error(" Minimum hold :0 cycle - Maximum hold: 3 cycles")} else {self.WRHLD2_SETUP = $1, self.CECTL2_VALUE = self.CECTL2_VALUE_update(), "ok"}})
- }
- inst TA2_SETUP :: 3 {
- prop Label :: "Turn around time (TA) "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifCectl2Ta"
- prop Visible :: 1
- prop Writable :: (CSL.EMIF_SUPPORT) && (if (CSL.C11_SUPPORT) {1} else {0})
- prop NoGen :: 1
- prop TabName :: "CE2 Space"