VIDEO.CDB
上传用户:dahaojd
上传日期:2008-01-29
资源大小:14357k
文件大小:1016k
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "None,1/2,1/3,1/4"
- prop Label :: " Code Rate (RATE)"
- prop Visible :: 1
- prop JSName :: "tcpIc0Rate"
- prop Writable :: (CSL.TCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Programmable TCP Params"
- prop Set :: (if (self.STANDARD_SETUP == "3GPP" && $1 != "1/3") {self.error("Rate 1/3 is required for 3GPP Standard")} else {if ($1 == "1/2") {self.cRateGen = "TCP_RATE_1_2"} else {if ($1 == "1/3") {self.cRateGen = "TCP_RATE_1_3"} else {if ($1 == "1/4") {self.cRateGen = "TCP_RATE_1_4"} else {self.cRateGen = " 0"}}}, self.RATE_SETUP = $1, self.IC0_VALUE = self.IC0_VALUE_update(), "ok"})
- }
- inst cRateGen :: = "0" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Rate"
- prop Visible :: 0
- prop Writable :: CSL.TCP_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- }
- inst OUTF_SETUP :: "Disable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable,Enable"
- prop Label :: " Output Parameters Read Flag (OUTF) "
- prop Visible :: 1
- prop JSName :: "tcpIc0OutFlag"
- prop Writable :: (CSL.TCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "EDMA Operation"
- prop Set :: (self.OUTF_SETUP = $1, self.IC0_VALUE = self.IC0_VALUE_update(), "ok")
- }
- inst cOutfGen :: = "0" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Output Parameters Read Flag "
- prop Visible :: 0
- prop Writable :: CSL.TCP_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- }
- inst INTER_SETUP :: "Disable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable,Enable"
- prop Label :: " Interleaver Write Flag (INTER)"
- prop Visible :: 1
- prop JSName :: "tcpIc0InterFlag"
- prop Writable :: (CSL.TCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "EDMA Operation"
- prop Set :: (self.INTER_SETUP = $1, self.IC0_VALUE = self.IC0_VALUE_update(), "ok")
- }
- inst cInterGen :: = "0" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Interleaver Write Flag "
- prop Visible :: 0
- prop Writable :: CSL.TCP_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- }
- inst FRAMELEN_SETUP :: = 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: " Frame Length (FL: 40 to 20730) "
- prop Visible :: 1
- prop JSName :: "tcpIc0FrameLen"
- prop Writable :: (CSL.TCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Programmable TCP Params"
- prop Set :: (if ($1 < 40 || $1 > 20730) {self.error("Frame Length range [40-20730]")} else {self.FRAMELEN_SETUP = $1, self.IC0_VALUE = self.IC0_VALUE_update(), "ok"})
- }
- inst RELLEN_SETUP :: = 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: " Reliability Length (R: 39 to 127)"
- prop Visible :: 1
- prop JSName :: "tcpIc0ReliaLen"
- prop Writable :: (CSL.TCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Programmable TCP Params"
- prop Set :: (if ($1 < 39 || $1 > 127) {self.error("Reliability Length range [39-127]")} else {self.RELLEN_SETUP = $1, self.IC1_VALUE = self.IC1_VALUE_update(), "ok"})
- }
- inst SUBFRAMELEN_SETUP :: = 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: " Sub-Frame Length (SFL: 98 to 5114)"
- prop Visible :: 1
- prop JSName :: "tcpIc1SubFrameLen"
- prop Writable :: if (CSL.TCP_SUPPORT && self.MODE_SETUP == "Shared(SP)") {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Programmable TCP Params"
- prop Set :: (if ($1 < 98 || $1 > 5114) {self.error("Sub-Frame Length range [98-5114]")} else {self.SUBFRAMELEN_SETUP = $1, self.IC1_VALUE = self.IC1_VALUE_update(), "ok"})
- }
- inst LASTRELLEN_SETUP :: = 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: " Last Sub-Frame Reliability Length -1 (LASTR)"
- prop Visible :: 1
- prop JSName :: "tcpIc1LastReliaLen"
- prop Writable :: if (CSL.TCP_SUPPORT && self.MODE_SETUP == "Shared(SP)") {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Programmable TCP Params"
- prop Set :: (if ($1 < 0 || $1 > 127) {self.error("Last sub-frame length from 0 to 127")} else {self.LASTRELLEN_SETUP = $1, self.IC1_VALUE = self.IC1_VALUE_update(), "ok"})
- }
- inst PROLSIZE_SETUP :: 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: " Prolog Size (P: 24 to 48)"
- prop Visible :: 1
- prop JSName :: "tcpIc2ProlSize"
- prop Writable :: (CSL.TCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Programmable TCP Params"
- prop Set :: (if ($1 < 24 || $1 > 48) {self.error("Prolog Size range [24-48]")} else {self.PROLSIZE_SETUP = $1, self.IC2_VALUE = self.IC2_VALUE_update(), "ok"})
- }
- inst NUMSUBBLK_SETUP :: 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: " Number of Sub-blocks (NSB)"
- prop Visible :: 1
- prop JSName :: "tcpIc2NumSubBlk"
- prop Writable :: (CSL.TCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Programmable TCP Params"
- prop Set :: (if ($1 < 0 || $1 > 16) {self.error("Number of sub-blocks range [0-16]")} else {self.NUMSUBBLK_SETUP = $1, self.IC2_VALUE = self.IC2_VALUE_update(), "ok"})
- }
- inst LASTNUMSUBBLK_SETUP :: 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: " Last Number of Sub-blocks (LASTNSB :SP mode only)"
- prop Visible :: 1
- prop JSName :: "tcpIc2LastNumSubBlk"
- prop Writable :: if (CSL.TCP_SUPPORT && self.MODE_SETUP == "Shared(SP)") {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Programmable TCP Params"
- prop Set :: (if ($1 < 0 || $1 > 16) {self.error("Number of sub-blocks range [0-16]")} else {self.LASTNUMSUBBLK_SETUP = $1, self.IC2_VALUE = self.IC2_VALUE_update(), "ok"})
- }
- inst MAXIT_SETUP :: 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: " Maximum of Iterations (MAXIT - SA mode only)"
- prop Visible :: 1
- prop JSName :: "tcpIc2Maxit"
- prop Writable :: if (CSL.TCP_SUPPORT && self.MODE_SETUP == "Standalone(SA)") {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Programmable TCP Params"
- prop Set :: (if ($1 < 0 || $1 > 32) {self.error("Maximum number of Iterations range [0-32]")} else {self.MAXIT_SETUP = $1, self.IC2_VALUE = self.IC2_VALUE_update(), "ok"})
- }
- inst SNR_SETUP :: 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: " SNR Threshold (SNR - SA mode only)"
- prop Visible :: 1
- prop JSName :: "tcpIc2SnrTh"
- prop Writable :: if (CSL.TCP_SUPPORT && self.MODE_SETUP == "Standalone(SA)") {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Programmable TCP Params"
- prop Set :: (if ($1 < 0 || $1 > 100) {self.error("Maximum number of Iterations range [0-100]")} else {self.SNR_SETUP = $1, self.IC2_VALUE = self.IC2_VALUE_update(), "ok"})
- }
- inst NWORDINTER_SETUP :: 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: " Interleaver words/XEVT (NWORDINTER) "
- prop Visible :: 1
- prop JSName :: "tcpIc3NwordInter"
- prop Writable :: if (CSL.TCP_SUPPORT && self.MODE_SETUP == "Standalone(SA)") {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "EDMA Operation"
- prop Set :: (if ($1 > 65535 || $1 < 0) {self.error("Number of Interleaver Words range [0-65535]")} else {self.NWORDINTER_SETUP = $1, self.IC3_VALUE = self.IC3_VALUE_update(), "ok"})
- }
- inst NWORDSP_SETUP :: 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: " Systematic and Parity words/XEVT (NWORDSP)"
- prop Visible :: 1
- prop JSName :: "tcpIc3NwordSp"
- prop Writable :: (CSL.TCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "EDMA Operation"
- prop Set :: (if ($1 > 65535 || $1 < 0) {self.error("Number of Systematic and parity Words range [0-65535]")} else {self.NWORDSP_SETUP = $1, self.IC3_VALUE = self.IC3_VALUE_update(), "ok"})
- }
- inst NWORDAP_SETUP :: 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: " Apriori Write words/XEVT (NWORDAP) "
- prop Visible :: 1
- prop JSName :: "tcpIc4NwordAp"
- prop Writable :: if (CSL.TCP_SUPPORT && self.MODE_SETUP == "Shared(SP)") {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "EDMA Operation"
- prop Set :: (if ($1 > 65535 || $1 < 0) {self.error("Number of Apriori Words/XEVT range [0-65535]")} else {self.NWORDAP_SETUP = $1, self.IC4_VALUE = self.IC4_VALUE_update(), "ok"})
- }
- inst NWORDEXT_SETUP :: 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: " Extrinsic Read words/REVT (NWORDEXT) "
- prop Visible :: 1
- prop JSName :: "tcpIc4NwordExt"
- prop Writable :: if (CSL.TCP_SUPPORT && self.MODE_SETUP == "Shared(SP)") {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "EDMA Operation"
- prop Set :: (if ($1 > 65535 || $1 < 0) {self.error("Number of Extrinsic Words range [0-65535]")} else {self.NWORDEXT_SETUP = $1, self.IC4_VALUE = self.IC4_VALUE_update(), "ok"})
- }
- inst NWORDHD_SETUP :: 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: " Hard Decision words/REVT (NWORDHD) "
- prop Visible :: 1
- prop JSName :: "tcpIc5NwordHd"
- prop Writable :: if (CSL.TCP_SUPPORT && self.MODE_SETUP == "Standalone(SA)") {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "EDMA Operation"
- prop Set :: (if ($1 > 255 || $1 < 0) {self.error("Number of Hard Decision Words range [0-255]")} else {self.NWORDHD_SETUP = $1, self.IC5_VALUE = self.IC5_VALUE_update(), "ok"})
- }
- inst IC0_VALUE :: self.IC0_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Input Configuration Reg 0 (IC0)"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop JSName :: "tcpIc0"
- prop Visible :: 1
- prop Writable :: CSL.TCP_SUPPORT
- prop NoGen :: 1
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.IC0_VALUE = ($1 & 0xFFFFF70E), self.IC0_SETUP_update($1), "ok")
- }
- inst IC1_VALUE :: self.IC1_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Input Configuration Reg 1 (IC1)"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop JSName :: "tcpIc1"
- prop Visible :: 1
- prop Writable :: CSL.TCP_SUPPORT
- prop NoGen :: 1
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.IC1_VALUE = ($1 & 0x7F7FFFFF), self.IC1_SETUP_update($1), "ok")
- }
- inst IC2_VALUE :: self.IC2_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Input Configuration Reg 2 (IC2)"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop JSName :: "tcpIc2"
- prop Visible :: 1
- prop Writable :: CSL.TCP_SUPPORT
- prop NoGen :: 1
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.IC2_VALUE = ($1 & 0xFF1FF3F), self.IC2_SETUP_update($1), "ok")
- }
- inst IC3_VALUE :: self.IC3_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Input Configuration Reg 3 (IC3)"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop JSName :: "tcpIc3"
- prop Visible :: 1
- prop Writable :: CSL.TCP_SUPPORT
- prop NoGen :: 1
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.IC3_VALUE = $1, self.IC3_SETUP_update($1), "ok")
- }
- inst IC4_VALUE :: self.IC4_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Input Configuration Reg 4 (IC4)"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop JSName :: "tcpIc4"
- prop Visible :: 1
- prop Writable :: if (CSL.TCP_SUPPORT && self.MODE_SETUP == "Shared(SP)") {1} else {0}
- prop NoGen :: 1
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.IC4_VALUE = $1, self.IC4_SETUP_update($1), "ok")
- }
- inst IC5_VALUE :: self.IC5_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Input Configuration Reg 5 (IC5)"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop JSName :: "tcpIc5"
- prop Visible :: 1
- prop Writable :: CSL.TCP_SUPPORT
- prop NoGen :: 1
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.IC5_VALUE = $1, self.IC5_SETUP_update($1), "ok")
- }
- inst IC6_VALUE :: 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Input Configuration Reg 6 (IC6)"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Writable :: CSL.TCP_SUPPORT
- prop NoGen :: 1
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- }
- inst IC7_VALUE :: 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Input Configuration Reg 7 (IC7)"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Writable :: CSL.TCP_SUPPORT
- prop NoGen :: 1
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- }
- inst IC8_VALUE :: 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Input Configuration Reg 8 (IC8)"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Writable :: CSL.TCP_SUPPORT
- prop NoGen :: 1
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- }
- inst IC9_VALUE :: 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Input Configuration Reg 9 (IC9)"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Writable :: CSL.TCP_SUPPORT
- prop NoGen :: 1
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- }
- inst IC10_VALUE :: 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Input Configuration Reg 10 (IC10)"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Writable :: CSL.TCP_SUPPORT
- prop NoGen :: 1
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- }
- inst IC11_VALUE :: 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Input Configuration Reg 11 (IC11)"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Writable :: CSL.TCP_SUPPORT
- prop NoGen :: 1
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- }
- }
- type hTcp {
- prop IsContainedIn :: TCPFOLDER
- prop name :: "hTcp"
- prop Label :: "TCP Resource Manager"
- prop JSName :: "HTCP"
- prop NoGen :: 1
- prop GlobalPropertyPage :: "{B936FB81-49A5-11d4-967C-0050048381C6}"
- prop InstancePropertyPage :: "{B936FB81-49A5-11d4-967C-0050048381C5}"
- prop GlobalIcon :: 197
- prop InstanceIcon :: 198
- prop GlobalHelpTopic :: (1083)
- prop cGen :: 1
- global TCP_INITPARAM_ENABLE :: 0 {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Enable Parameters Setting"
- prop JSName :: "tcpEnableParams"
- prop Visible :: 1
- prop Writable :: (CSL.TCP_SUPPORT)
- prop NoGen :: 0
- prop Set :: ($a = 0, scan ($b; tcpBaseParam) {$a = $a + 1}, if ($1 == 1 && $a == 1 && self.TCP_INITPARAM == TCP_PARAMNULL) {" You must create a new BaseParams object"} else {self.TCP_INITPARAM_ENABLE = $1, if ($1 == 0) {self.TCP_INITPARAM = TCP_PARAMNULL, self.TCP_PARAMCONFIGNAME = "NULL", self.TCP_SETPARAM_ENABLE = 0} , "ok"})
- }
- global TCP_INITPARAM :: TCP_PARAMNULL {
- prop Type :: "{7BA2DA00-5A53-11d0-9BFE-0000C0AC14C7}"
- prop MemberType :: tcpBaseParam
- prop Label :: " Pre-Initialize with"
- prop JSName :: "tcpBaseParamInit"
- prop Visible :: 1
- prop Writable :: if (CSL.TCP_SUPPORT) && (self.TCP_INITPARAM_ENABLE == 1) {1} else {0}
- }
- global TCP_PARAMCONFIGNAME :: "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Output TCP Params ConfigName (ex: tcpParam) "
- prop JSName :: "tcpParamConfigName"
- prop Visible :: 1
- prop Writable :: if (CSL.TCP_SUPPORT) && (self.TCP_INITPARAM_ENABLE == 1) {1} else {0}
- prop Set :: (if ($1 == "") {self.TCP_PARAMCONFIGNAME = "NULL", "ok"} else {self.TCP_PARAMCONFIGNAME = $1, "ok"})
- }
- global TCP_SETPARAM_ENABLE :: 0 {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Set TCP Params Values to the IC Config. Obj"
- prop JSName :: "tcpSetParamEnable"
- prop Visible :: 1
- prop Writable :: (CSL.TCP_SUPPORT && self.TCP_INITPARAM_ENABLE)
- prop NoGen :: 0
- prop Set :: ($a = 0, scan ($b; tcpCfg) {$a = $a + 1}, if ($1 == 1 && $a == 1 && self.TCP_INIT == TCP_NOTHING) {" You must create a configuration object"} else {self.TCP_SETPARAM_ENABLE = $1, if ($1 == 0 && self.TCP_INIT_ENABLE == 0) {self.TCP_INIT = TCP_NOTHING} , "ok"})
- }
- global TCP_INIT_ENABLE :: 0 {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Enable TCP Pre-Initialization "
- prop JSName :: "tcpEnablePreInit"
- prop Visible :: 1
- prop Writable :: (CSL.TCP_SUPPORT)
- prop NoGen :: 0
- prop Set :: ($a = 0, scan ($b; tcpCfg) {$a = $a + 1}, if ($1 == 1 && $a == 1 && self.TCP_INIT == TCP_NOTHING) {" You must create a new configuration object"} else {self.TCP_INIT_ENABLE = $1, if ($1 == 0 && self.TCP_SETPARAM_ENABLE == 0) {self.TCP_INIT = TCP_NOTHING} , "ok"})
- }
- global TCP_INIT :: TCP_NOTHING {
- prop Type :: "{7BA2DA00-5A53-11d0-9BFE-0000C0AC14C7}"
- prop MemberType :: tcpCfg
- prop Label :: " Pre-Initialize with"
- prop JSName :: "tcpPreInit"
- prop Visible :: 1
- prop Writable :: if (CSL.TCP_SUPPORT) && ((self.TCP_INIT_ENABLE == 1) || (self.TCP_SETPARAM_ENABLE == 1)) {1} else {0}
- }
- }
- object TCP_NOTHING :: tcpCfg {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param STANDARD_SETUP :: "3GPP"
- param MODE_SETUP :: "Standalone(SA)"
- param MAP_SETUP :: "MAP1(1st Iter.)"
- param RATE_SETUP :: "None"
- param OUTF_SETUP :: "Disable"
- param INTER_SETUP :: "Disable"
- param PROLSIZE_SETUP :: 0
- param NUMSUBBLK_SETUP :: 0
- param LASTNUMSUBBLK_SETUP :: 0
- param MAXIT_SETUP :: 0
- param SNR_SETUP :: 0
- param NWORDINTER_SETUP :: 0
- param NWORDSP_SETUP :: 0
- param NWORDAP_SETUP :: 0
- param NWORDEXT_SETUP :: 0
- param NWORDHD_SETUP :: 0
- param IC0_VALUE :: 0
- param IC1_VALUE :: 0
- param IC2_VALUE :: 0
- param IC3_VALUE :: 0
- param IC4_VALUE :: 0
- param IC5_VALUE :: 0
- param IC6_VALUE :: 0
- param IC7_VALUE :: 0
- param IC8_VALUE :: 0
- param IC9_VALUE :: 0
- param IC10_VALUE :: 0
- param IC11_VALUE :: 0
- }
- object TCP_PARAMNULL :: tcpBaseParam {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param STANDARD_SETUP :: "3GPP"
- param RATE_SETUP :: "None"
- param PROLSIZE_SETUP :: 0
- param MAXIT_SETUP :: 0
- param SNR_SETUP :: 0
- param INTER_SETUP :: "Disable"
- param OUTF_SETUP :: "Disable"
- }
- type TIMERFOLDER {
- isa ModuleFolder
- prop IsContainedIn :: CSL
- prop name :: "TIMER"
- prop Label :: "TIMER - Timer Device"
- prop NoGen :: 1
- prop GlobalHelpTopic :: (1060)
- prop GlobalPropertyPage :: "{33A68984-598D-11d4-B5CC-0050DA2E2CC0}"
- prop InstancePropertyPage :: "{33A68985-598D-11d4-B5CC-0050DA2E2CC0}"
- prop GlobalIcon :: 161
- prop InstanceIcon :: 162
- 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 timerCfg {
- isa ObjectMgr
- prop Name :: "timerCfg"
- prop Label :: "TIMER Configuration Manager"
- prop JSName :: "TIMER"
- prop IsContainedIn :: TIMERFOLDER
- prop NoGen :: 1
- prop GlobalHelpTopic :: (1061)
- prop InstanceHelpTopic :: (1061)
- prop GlobalPropertyPage :: "{33A68982-598D-11d4-B5CC-0050DA2E2CC0}"
- prop InstancePropertyPage :: "{33A68983-598D-11d4-B5CC-0050DA2E2CC0}"
- prop GlobalIcon :: 161
- prop InstanceIcon :: 162
- prop cGen :: 1
- prop cStruct :: 1
- prop cStructType :: "TIMER_Config"
- prop cHeaderName :: if self.gNumOf > 0 {"csl_timer.h"} else {""}
- prop cStructQual :: "far"
- prop localDelete :: (self.myDelete)
- prop myDelete :: ($a = 0, scan ($b; timerCfg) {$a = $a + 1}, if ($a == 2) {scan ($c; hTimer) {$c.TIMER_INIT_ENABLE = 0}} , "ok")
- prop CLKSRC_CTL :: (if (self.CLKSRC_SETUP == "(CPU clock)/4") {0x00000200} else {if (self.CLKSRC_SETUP == "(CPU clock)/8") {0x00000200} else {0x00000000}})
- prop CP_CTL :: (if (self.CP_SETUP == "Clock mode") {0x00000100} else {0x00000000})
- prop PWID_CTL :: (if (self.PWID_SETUP == "Two Clock cycles") {0x00000010} else {0x00000000})
- prop FUNC_CTL :: (if (self.FUNC_SETUP == "Timer Output") {0x00000001} else {0x00000000})
- prop DATOUT_CTL :: ((self.DATOUT_SETUP << 2))
- prop INVOUT_CTL :: (if (self.INVOUT_SETUP == "Inverted") {0x00000002} else {0x00000000})
- prop INVINP_CTL :: (if (self.INVINP_SETUP == "Inverted") {0x00000400} else {0x00000000})
- prop GO_HLD_CTL :: (if (self.GO_HLD_SETUP == "Hold") {0x00000000} else {if (self.GO_HLD_SETUP == "Restart (no-reset)") {0x00000080} else {0x000000c0}})
- prop PERIOD_PRD :: ((self.PERIOD_SETUP))
- prop COUNTER_CNT :: ((self.COUNTER_SETUP))
- prop CTL_VALUE_update :: (self.INVINP_CTL() | self.CLKSRC_CTL() | self.CP_CTL() | self.GO_HLD_CTL() | self.PWID_CTL() | self.DATOUT_CTL() | self.INVOUT_CTL() | self.FUNC_CTL())
- prop CTL_SETUP_update :: (self.INVINP_SETUP = if ($1 & 0x00000400) {"Inverted"} else {"Uninverted"}, if (CSL.C64_SUPPORT) {self.CLKSRC_SETUP = if ($1 & 0x00000200) {"(CPU clock)/8"} else {"External Source"}} else {self.CLKSRC_SETUP = if ($1 & 0x00000200) {"(CPU clock)/4"} else {"External Source"}}, self.CP_SETUP = if ($1 & 0x00000100) {"Clock mode"} else {"Pulse mode"}, self.GO_HLD_SETUP = ($a = ($1 & 0x000000c0), if ($a == 0x000000c0) {"Start with reset"} else {if ($a == 0x00000080) {"Restart (no-reset)"} else {"Hold"}}), self.PWID_SETUP = if ($1 & 0x00000010) {"Two clock cycles"} else {"One clock cycle"}, self.DATOUT_SETUP = (($1 & 0x00000004) >> 2), self.INVOUT_SETUP = if ($1 & 0x00000002) {"Inverted"} else {"Uninverted"}, self.FUNC_SETUP = if ($1 & 0x00000001) {"Timer Output"} else {"General-Purpose Output"})
- prop PRD_VALUE_update :: (self.PERIOD_PRD())
- prop PRD_SETUP_update :: (self.PERIOD_SETUP = $1)
- prop CNT_VALUE_update :: (self.COUNTER_CNT())
- prop CNT_SETUP_update :: (self.COUNTER_SETUP = $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 CLKSRC_SETUP :: "External Source" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "External Source,(CPU clock)/4,(CPU clock)/8"
- prop Label :: "Input Clock Source (CLKSRC) "
- prop JSName :: "timerCtlClksrc"
- prop Visible :: 1
- prop Writable :: CSL.TIMER_SUPPORT
- prop NoGen :: 1
- prop TabName :: "Clock Control "
- prop Set :: (if (CSL.C64_SUPPORT) {if ($1 == "(CPU clock)/4") {self.error("Invalid Selection for C64x")} else {self.CLKSRC_SETUP = $1, self.CTL_VALUE = self.CTL_VALUE_update(), "ok"}} else {if ($1 == "(CPU clock)/8") {self.error("Invalid Selection, For C64x Only")} else {self.CLKSRC_SETUP = $1, self.CTL_VALUE = self.CTL_VALUE_update(), "ok"}})
- }
- inst CP_SETUP :: "Pulse mode" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Pulse mode,Clock mode"
- prop Label :: "Clock/Pulse Mode (CP) "
- prop JSName :: "timerCtlCp"
- prop Visible :: 1
- prop Writable :: CSL.TIMER_SUPPORT
- prop NoGen :: 1
- prop TabName :: "Clock Control "
- prop Set :: (self.CP_SETUP = $1, self.CTL_VALUE = self.CTL_VALUE_update(), "ok")
- }
- inst PWID_SETUP :: "One clock cycle" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "One Clock cycle,Two Clock cycles"
- prop Label :: "Pulse Width (PWID)"
- prop JSName :: "timerCtlPwid"
- prop Visible :: 1
- prop Writable :: CSL.TIMER_SUPPORT && (if (self.CP_SETUP == "Pulse mode") {1} else {0})
- prop NoGen :: 1
- prop TabName :: "Clock Control "
- prop Set :: (self.PWID_SETUP = $1, self.CTL_VALUE = self.CTL_VALUE_update(), "ok")
- }
- inst FUNC_SETUP :: "General-Purpose Output" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "General-Purpose Output,Timer Output"
- prop Label :: "Function of TOUT (FUNC)"
- prop JSName :: "timerCtlFunc"
- prop Visible :: 1
- prop Writable :: CSL.TIMER_SUPPORT
- prop NoGen :: 1
- prop TabName :: "Pin Control "
- prop Set :: (self.FUNC_SETUP = $1, self.CTL_VALUE = self.CTL_VALUE_update(), "ok")
- }
- inst DATOUT_SETUP :: 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " DATA output (TOUT pin)"
- prop Visible :: 1
- prop JSName :: "timerCtlDatout"
- prop Writable :: CSL.TIMER_SUPPORT && (if (self.FUNC_SETUP == "General-Purpose Output") {1} else {0})
- prop NoGen :: 1
- prop TabName :: "Pin Control "
- prop Set :: (if ($1 < 0 || $1 > 1) {self.error("Binary value required : 0 or 1")} else {self.DATOUT_SETUP = $1, self.CTL_VALUE = self.CTL_VALUE_update(), "ok"})
- }
- inst INVOUT_SETUP :: "Uninverted" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Uninverted,Inverted"
- prop Label :: " TOUT Inverter Control (INVOUT)"
- prop JSName :: "timerCtlInvout"
- prop Visible :: 1
- prop Writable :: (if (self.FUNC_SETUP == "Timer Output") {1} else {0})
- prop NoGen :: 1
- prop TabName :: "Pin Control "
- prop Set :: (self.INVOUT_SETUP = $1, self.CTL_VALUE = self.CTL_VALUE_update(), "ok")
- }
- inst INVINP_SETUP :: "Uninverted" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Uninverted,Inverted"
- prop Label :: " TINP Inverter Control (INVINP)"
- prop JSName :: "timerCtlInvinp"
- prop Visible :: 1
- prop Writable :: CSL.TIMER_SUPPORT && (if (self.CLKSRC_SETUP == "External Source") {1} else {0})
- prop NoGen :: 1
- prop TabName :: "Pin Control "
- prop Set :: (self.INVINP_SETUP = $1, self.CTL_VALUE = self.CTL_VALUE_update(), "ok")
- }
- inst GO_HLD_SETUP :: "Hold" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Hold,Restart (no-reset),Start with reset"
- prop Label :: "Timer Operation"
- prop JSName :: "timerCtlGoHold"
- prop Visible :: 1
- prop Writable :: CSL.TIMER_SUPPORT
- prop NoGen :: 1
- prop TabName :: "Counter Control "
- prop Set :: (self.GO_HLD_SETUP = $1, self.CTL_VALUE = self.CTL_VALUE_update(), "ok")
- }
- inst PERIOD_SETUP :: 0 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%08X"
- prop Label :: "Period Value "
- prop JSName :: "timerPrd"
- prop Visible :: 1
- prop Writable :: CSL.TIMER_SUPPORT
- prop NoGen :: 1
- prop TabName :: "Counter Control "
- prop Set :: (self.PERIOD_SETUP = $1, self.PRD_VALUE = self.PRD_VALUE_update(), "ok")
- }
- inst COUNTER_SETUP :: 0 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%08X"
- prop Label :: "Counter value (optional)"
- prop JSName :: "timerCnt"
- prop Visible :: 1
- prop Writable :: CSL.TIMER_SUPPORT
- prop NoGen :: 1
- prop TabName :: "Counter Control "
- prop Set :: (self.COUNTER_SETUP = $1, self.CNT_VALUE = self.CNT_VALUE_update(), "ok")
- }
- inst CTL_VALUE :: self.CTL_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Control Register (CTL) "
- prop Format :: "0x%08X"
- prop JSName :: "timerCtlAdv"
- prop Visible :: 1
- prop Writable :: CSL.TIMER_SUPPORT
- prop NoGen :: 0
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: ($a = $1 & 0x000000c0, if ($a == 0x00000040) {self.error("Fields GO='1'& HOLD='0' : Undefined Timer Operation - See Counter Control Page")} else {$b = $1 & 0xFFFFF000, if ($b != 0) {self.error("Bit field (bit[12..31]) is reserved")} else {$c = $1 & 0x00000020, if ($c != 0) {self.error("Bit field 5 is reserved")} else {self.CTL_VALUE = $1, self.CTL_SETUP_update($1), "ok"}}})
- }
- inst PRD_VALUE :: self.PRD_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Period Register (PRD) "
- prop Format :: "0x%08X"
- prop JSName :: "timerPrdAdv"
- prop Visible :: 1
- prop Writable :: CSL.TIMER_SUPPORT
- prop NoGen :: 0
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.PRD_VALUE = $1, self.PRD_SETUP_update($1), "ok")
- }
- inst CNT_VALUE :: self.CNT_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Counter Register (CNT) "
- prop Format :: "0x%08X"
- prop JSName :: "timerCntAdv"
- prop Visible :: 1
- prop Writable :: CSL.TIMER_SUPPORT
- prop NoGen :: 0
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.CNT_VALUE = $1, self.CNT_SETUP_update($1), "ok")
- }
- }
- type hTimer {
- isa ObjectMgr
- prop name :: "hTimer"
- prop Label :: "TIMER Resource Manager"
- prop JSName :: "HTIMER"
- prop IsContainedIn :: TIMERFOLDER
- prop NoGen :: 1
- prop GlobalPropertyPage :: "{33A68980-598D-11d4-B5CC-0050DA2E2CC0}"
- prop InstancePropertyPage :: "{33A68981-598D-11d4-B5CC-0050DA2E2CC0}"
- prop GlobalIcon :: 161
- prop InstanceIcon :: 162
- prop GlobalHelpTopic :: (1062)
- prop InstanceHelpTopic :: (1063)
- prop maxObjs :: 3
- prop localCanCreate :: (self.error("New Timer handle objects cannot be created"))
- prop localCanDelete :: (self.error("Timer handle objects cannot be deleted"))
- prop chipcall :: (scan ($i; hTimer) {if (CSL.CHIP_6400 && $i.DEVICE == "TIMER2") {$i.TIMER_HANDLE_ENABLE = 0, $i.TIMER_INIT_ENABLE = 0, $i.cOpenArg0 = "TIMER_None"} }, if (self.CHIPCHAIN != nil) {$e = self.CHIPCHAIN.chipcall()} , "ok")
- prop localInit :: (self.CHIPCHAIN = GBL.CHIPCHAIN, GBL.CHIPCHAIN = hTimer)
- prop cGen :: 1
- prop cHeaderName :: ($a = "", scan ($b; hTimer) {if ($b.TIMER_HANDLE_ENABLE == 1) {$a = "csl_timer.h"} }, $a)
- prop cStructQual :: "far"
- prop cOpenName :: "TIMER_open"
- prop cConfigName :: "TIMER_config"
- prop cHandle :: (self.cOpenGen)
- prop cHandleType :: "TIMER_Handle"
- prop cHandleName :: self.HandleName
- global gUser :: "USER" {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gSetOf :: 1 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gNumOf :: 3 {
- 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
- }
- global CHIPCHAIN :: hMcbsp {
- 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 TIMER_HANDLE_ENABLE :: 0 {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Open Timer Device"
- prop JSName :: "timerHandleEnable"
- prop Visible :: 1
- prop Writable :: if (CSL.TIMER_SUPPORT && ((self.DEVICE == "TIMER0" || self.DEVICE == "TIMER1"))) || (CSL.TIMER2_SUPPORT) {1} else {0}
- prop NoGen :: 1
- prop Set :: ($a = 0, if ($1 == 0) {self.TIMER_HANDLE_ENABLE = $1, self.TIMER_INIT_ENABLE = $1, self.TIMER_INIT = TIMER_NOTHING, if (self.DEVICE == "TIMER0") {HWI_INT14.client = "USER"} else {if (self.DEVICE == "TIMER1") {HWI_INT15.client = "USER"} }, self.cOpenArg0 = "TIMER_None", "ok"} else {if (self.DEVICE == "TIMER0" && (CLK.WHICHTIMER == "Timer 0" && CLK.USETIMER == 1)) {self.TIMER_HANDLE_ENABLE = 0, self.error("TIMER0 already used by the CLK module")} else {if (self.DEVICE == "TIMER1" && (CLK.WHICHTIMER == "Timer 1" && CLK.USETIMER == 1)) {self.TIMER_HANDLE_ENABLE = 0, self.error("TIMER1 already used by the CLK module")} else {if (self.DEVICE == "TIMER2" && (CLK.WHICHTIMER == "Timer 2" && CLK.USETIMER == 1)) {self.TIMER_HANDLE_ENABLE = 0, self.error("TIMER2 already used by the CLK module")} else {self.TIMER_HANDLE_ENABLE = $1, if (self.DEVICE == "TIMER0") {self.cOpenArg0 = "TIMER_DEV0", HWI_INT14.client = "CSL", "ok"} else {if (self.DEVICE == "TIMER1") {self.cOpenArg0 = "TIMER_DEV1", HWI_INT15.client = "CSL", "ok"} else {self.cOpenArg0 = "TIMER_DEV2", "ok"}}}}}})
- }
- inst HandleName :: self {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Handle "
- prop JSName :: "timerHandleName"
- prop Visible :: 1
- prop Writable :: if (self.TIMER_HANDLE_ENABLE == 1) {1} else {0}
- }
- inst DEVICE :: "TIMER0" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "TIMER0,TIMER1,TIMER2"
- prop Label :: " Device"
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst cOpenGen :: = (CSL.TIMER_SUPPORT && self.TIMER_HANDLE_ENABLE == 1 && self.HandleName != "") {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Visible :: 0
- prop NoGen :: 1
- }
- inst cOpenArg0 :: (if (self.TIMER_HANDLE_ENABLE == 0) {"TIMER_None"} ) {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Arg0 "
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst cOpenArg1 :: "TIMER_OPEN_RESET" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Pre-initialize (Default) "
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- inst TIMER_INIT_ENABLE :: 0 {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Enable Pre-Initialization"
- prop JSName :: "timerEnablePreInit"
- prop Visible :: 1
- prop Writable :: if CSL.TIMER_SUPPORT && (self.TIMER_HANDLE_ENABLE == 1) {1} else {0}
- prop NoGen :: 1
- prop Set :: ($a = 0, scan ($b; timerCfg) {$a = $a + 1}, if ($a == 1) {self.TIMER_INIT_ENABLE = 0, self.error("You must create a new configuration object")} else {self.TIMER_INIT_ENABLE = $1, if ($1 == 0) {self.TIMER_INIT = TIMER_NOTHING} , "ok"})
- }
- inst TIMER_INIT :: TIMER_NOTHING {
- prop Type :: "{7BA2DA00-5A53-11d0-9BFE-0000C0AC14C7}"
- prop MemberType :: timerCfg
- prop Label :: " Pre-Initialize with"
- prop JSName :: "timerPreInit"
- prop Visible :: 1
- prop Writable :: if (self.TIMER_INIT_ENABLE == 1 && self.TIMER_HANDLE_ENABLE == 1) {1} else {0}
- prop NoGen :: 0
- }
- inst cConfigGen :: = ((self.TIMER_INIT_ENABLE == 1) && (self.TIMER_INIT != TIMER_NOTHING) && (self.TIMER_HANDLE_ENABLE == 1) && (self.HandleName != "")) {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop NoGen :: 1
- prop Visible :: 0
- }
- inst cConfigArg0 :: = self.cHandleName {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Config argument 0"
- prop Visible :: 0
- }
- inst cConfigArg1 :: = self.TIMER_INIT {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop MemberType :: timerCfg
- prop Label :: "Pre-initialize Config"
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 0
- prop cPreVal :: "&"
- }
- }
- object Timer_Device0 :: hTimer {
- param iComment :: "Timer 0"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hTimer"
- param iDelMsg :: "This TIMER Handle object cannot be deleted"
- param TIMER_HANDLE_ENABLE :: 0
- param HandleName :: "hTimer0"
- param DEVICE :: "TIMER0"
- param cOpenArg0 :: "TIMER_None"
- param cOpenArg1 :: "TIMER_OPEN_RESET"
- param TIMER_INIT_ENABLE :: 0
- param TIMER_INIT :: TIMER_NOTHING
- }
- object Timer_Device1 :: hTimer {
- param iComment :: "Timer 1"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hTimer"
- param iDelMsg :: "This TIMER Handle object cannot be deleted"
- param TIMER_HANDLE_ENABLE :: 0
- param HandleName :: "hTimer1"
- param DEVICE :: "TIMER1"
- param cOpenArg0 :: "TIMER_None"
- param cOpenArg1 :: "TIMER_OPEN_RESET"
- param TIMER_INIT_ENABLE :: 0
- param TIMER_INIT :: TIMER_NOTHING
- }
- object Timer_Device2 :: hTimer {
- param iComment :: "Timer 2"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hTimer"
- param iDelMsg :: "This TIMER Handle object cannot be deleted"
- param TIMER_HANDLE_ENABLE :: 0
- param HandleName :: "hTimer2"
- param DEVICE :: "TIMER2"
- param cOpenArg0 :: "TIMER_None"
- param cOpenArg1 :: "TIMER_OPEN_RESET"
- param TIMER_INIT_ENABLE :: 0
- param TIMER_INIT :: TIMER_NOTHING
- }
- object TIMER_NOTHING :: timerCfg {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param CLKSRC_SETUP :: "External Source"
- param CP_SETUP :: "Pulse mode"
- param PWID_SETUP :: "One clock cycle"
- param FUNC_SETUP :: "General-Purpose Output"
- param DATOUT_SETUP :: 0
- param INVOUT_SETUP :: "Uninverted"
- param INVINP_SETUP :: "Uninverted"
- param GO_HLD_SETUP :: "Hold"
- param PERIOD_SETUP :: 0
- param COUNTER_SETUP :: 0
- param CTL_VALUE :: 0
- param PRD_VALUE :: 0
- param CNT_VALUE :: 0
- }
- type VCPFOLDER {
- prop Label :: "Viterbi Decoder Coprocessor - VCP "
- prop GlobalIcon :: 195
- prop InstanceIcon :: 196
- prop GlobalHelpTopic :: 1090
- prop GlobalPropertyPage :: "{B936FB82-49A5-11d4-967C-0050048381C7}"
- prop IsContainedIn :: CSL
- prop NoGen :: 1
- }
- type vcpBaseParam {
- isa ObjectMgr
- prop name :: "vcpBaseParam"
- prop Label :: "VCP Parameters Manager"
- prop JSName :: "VCPBP"
- prop IsContainedIn :: VCPFOLDER
- prop GlobalIcon :: 195
- prop InstanceIcon :: 196
- prop GlobalHelpTopic :: 1091
- prop InstanceHelpTopic :: 1091
- prop GlobalPropertyPage :: "{B936FB82-49A5-11d4-967C-0050048381C8}"
- prop InstancePropertyPage :: "{B936FB82-49A5-11d4-967C-0050048381C9}"
- prop Vendor :: "vendor1"
- prop Version :: "1.00.00"
- prop NoGen :: 1
- prop cGen :: CSL.VCP_SUPPORT
- prop cStruct :: CSL.VCP_SUPPORT
- prop cStructType :: "VCP_BaseParams"
- prop cHeaderName :: if self.gNumOf > 0 {"csl_vcp.h"} else {""}
- prop cStructQual :: "far"
- prop cStructName :: self
- prop cConfigName :: "VCP_BaseParams"
- prop localDelete :: (self.myDelete)
- prop myDelete :: ($a = 0, scan ($b; vcpBaseParam) {$a += 1}, if ($a == 2) {hVcp.VCP_INITPARAM_ENABLE = 0} , "ok")
- prop ParamConfigType :: if (hVcp.VCP_INITPARAM_ENABLE == 1 && hVcp.VCP_PARAMCONFIGNAME != "NULL") {"VCP_Params "} else {""}
- prop ParamConfigName :: if (hVcp.VCP_INITPARAM_ENABLE == 1 && hVcp.VCP_PARAMCONFIGNAME != "NULL") {hVcp.VCP_PARAMCONFIGNAME} else {""}
- prop ParamEnd :: if (hVcp.VCP_INITPARAM_ENABLE == 1 && hVcp.VCP_PARAMCONFIGNAME != "NULL") {";n"} else {""}
- prop cGenCEpilogue :: ("%1S%2S%3Sn ,ParamConfigType,ParamConfigName,ParamEnd")
- prop GenParamStr :: if (hVcp.VCP_INITPARAM_ENABLE == 1) {"VCP_genParams(&%3s, &"} else {""}
- prop ParamConfigObj :: if (hVcp.VCP_INITPARAM_ENABLE == 1 && hVcp.VCP_PARAMCONFIGNAME != "NULL") {hVcp.VCP_PARAMCONFIGNAME} else {""}
- prop ConfigEnd :: if (hVcp.VCP_INITPARAM_ENABLE == 1 && hVcp.VCP_PARAMCONFIGNAME != "NULL") {");"} else {""}
- prop cGenFxnPreInst :: (" %1S%2S%4Sn ,GenParamStr,ParamConfigObj,cStructName,ConfigEnd")
- 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 RATE_SETUP :: "None" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "None,1/2,1/3,1/4"
- prop Label :: " Code Rate "
- prop Visible :: 1
- prop JSName :: "vcpBaseParamRate"
- prop Writable :: (CSL.VCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "VCP Base Params"
- prop Set :: (if ($1 == "1/2") {self.cRateGen = "VCP_RATE_1_2"} else {if ($1 == "1/3") {self.cRateGen = "VCP_RATE_1_3"} else {if ($1 == "1/4") {self.cRateGen = "VCP_RATE_1_4"} else {self.cRateGen = " 0"}}}, self.RATE_SETUP = $1, " For Information only, Not programmable directly - calculated via POLYx")
- }
- inst cRateGen :: = " 0" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Rate"
- prop Visible :: 0
- prop Writable :: CSL.VCP_SUPPORT
- prop NoGen :: 1
- prop cGen :: 1
- }
- inst CONSTRLEN_SETUP :: 5 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: " Constraint Length (K= 5,6,7,8 or 9)"
- prop Visible :: 1
- prop JSName :: "vcpBaseParamConstrLen"
- prop Writable :: (CSL.VCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 1
- prop TabName :: "VCP Base Params"
- prop Set :: (if ($1 < 5 || $1 > 9) {self.error(" Constraint Length K=5,6,7,8 or 9")} else {self.CONSTRLEN_SETUP = $1, " For Information only, Not programmable directly - calculated via POLYx"})
- }
- inst FRAMELEN_SETUP :: = 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: " Frame Length (FL) "
- prop Visible :: 1
- prop JSName :: "vcpBaseParamFrameLen"
- prop Writable :: (CSL.VCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 1
- prop TabName :: "VCP Base Params"
- prop Set :: (if ($1 < 0 || $1 > 65535) {self.error("Frame Length range [0-65535]")} else {self.FRAMELEN_SETUP = $1, "ok"})
- }
- inst YAMTH_SETUP :: = 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: " Yamamoto Threshold (YAMT)"
- prop Visible :: 1
- prop JSName :: "vcpBaseParamYamth"
- prop Writable :: (CSL.VCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 1
- prop TabName :: "VCP Base Params"
- prop Set :: (if ($1 < 0 || $1 > 4095) {self.error("Yamamoto Threshold max value is 4095")} else {self.YAMTH_SETUP = $1, "ok"})
- }
- inst IMAXI_SETUP :: = 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: " State Index set to IMAXS (IMAXI)"
- prop Visible :: 1
- prop JSName :: "vcpBaseParamIndexMaxIter"
- prop Writable :: (CSL.VCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 1
- prop TabName :: "VCP Base Params"
- prop Set :: (if ((self.CONSTRLEN_SETUP == 5 && $1 > 15)) {self.error("For K=5 ,allowed values are 0 to 15")} else {if ((self.CONSTRLEN_SETUP == 6 && $1 > 31)) {self.error("For K=6 ,allowed values are 0 to 31")} else {if ((self.CONSTRLEN_SETUP == 7 && $1 > 63)) {self.error("For K=7 ,allowed values are 0 to 63")} else {if ((self.CONSTRLEN_SETUP == 8 && $1 > 127)) {self.error("For K=8 ,allowed values are 0 to 127")} else {if ((self.CONSTRLEN_SETUP == 9 && $1 > 255)) {self.error("For K=9 ,allowed values are 0 to 255")} else {self.IMAXI_SETUP = $1, "ok"}}}}})
- }
- inst SDHD_SETUP :: "Hard" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Hard,Soft"
- prop Label :: " Ouput Hard Decision Type (SDHD) "
- prop Visible :: 1
- prop JSName :: "vcpBaseParamDecisionType"
- prop Writable :: (CSL.VCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "VCP Base Params"
- prop Set :: (if ($1 == "Soft") {self.cSdhdGen = " 1"} else {self.cSdhdGen = " 0"}, self.SDHD_SETUP = $1, "ok")
- }
- inst cSdhdGen :: = " 0" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Ouput Hard Decision Type "
- prop Visible :: 0
- prop Writable :: CSL.VCP_SUPPORT
- prop NoGen :: 1
- prop cGen :: 1
- }
- inst OUTF_SETUP :: "Disable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable,Enable"
- prop Label :: " Ouput Parameters Read Flag (OUTF)"
- prop Visible :: 1
- prop JSName :: "vcpBaseParamOutFlag"
- prop Writable :: (CSL.VCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "VCP Base Params"
- prop Set :: (if ($1 == "Enable") {self.cOutfGen = " 1"} else {self.cOutfGen = " 0"}, self.OUTF_SETUP = $1, "ok")
- }
- inst cOutfGen :: = " 0" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Ouput Parameters Read Flag "
- prop Visible :: 0
- prop Writable :: CSL.VCP_SUPPORT
- prop NoGen :: 1
- prop cGen :: 1
- }
- }
- type vcpCfg {
- isa ObjectMgr
- prop name :: "vcpCfg"
- prop Label :: "VCP Configuration Manager"
- prop JSName :: "VCP"
- prop IsContainedIn :: VCPFOLDER
- prop GlobalIcon :: 195
- prop InstanceIcon :: 196
- prop GlobalHelpTopic :: 1092
- prop InstanceHelpTopic :: 1092
- prop GlobalPropertyPage :: "{B936FB82-49A5-11d4-967C-0050048381C8}"
- prop InstancePropertyPage :: "{B936FB82-49A5-11d4-967C-0050048381C9}"
- prop Vendor :: "vendor1"
- prop Version :: "1.00.00"
- prop NoGen :: 1
- prop cGen :: CSL.VCP_SUPPORT
- prop cStruct :: CSL.VCP_SUPPORT
- prop cStructType :: "VCP_ConfigIc"
- prop cHeaderName :: if self.gNumOf > 0 {"csl_vcp.h"} else {""}
- prop cStructQual :: "far"
- prop cStructName :: self
- prop cConfigName :: "VCP_icConfig"
- prop localDelete :: (self.myDelete)
- prop myDelete :: ($a = 0, scan ($b; vcpCfg) {$a += 1}, if ($a == 2) {hVcp.VCP_INIT_ENABLE = 0} , "ok")
- prop SetParamStr :: if (hVcp.VCP_SETPARAM_ENABLE == 1 && hVcp.VCP_INIT != VCP_NOTHING) {"VCP_genIc(&"} else {""}
- prop ParamConfigObj :: if (hVcp.VCP_SETPARAM_ENABLE == 1 && hVcp.VCP_INIT != VCP_NOTHING && hVcp.VCP_PARAMCONFIGNAME != "NULL") {hVcp.VCP_PARAMCONFIGNAME} else {""}
- prop IcConfigObj :: if (hVcp.VCP_SETPARAM_ENABLE == 1 && hVcp.VCP_INIT != VCP_NOTHING && hVcp.VCP_PARAMCONFIGNAME != "NULL") {",&%4s"} else {""}
- prop ConfigEnd :: if (hVcp.VCP_SETPARAM_ENABLE == 1 && hVcp.VCP_INIT != VCP_NOTHING && hVcp.VCP_PARAMCONFIGNAME != "NULL") {");"} else {""}
- prop cGenFxnPreInst :: (" %1S%2S%3S%5Sn ,SetParamStr,ParamConfigObj,IcConfigObj,cStructName,ConfigEnd")
- prop POLYG0_IC0 :: (self.POLYG0_SETUP)
- prop POLYG1_IC0 :: (self.POLYG1_SETUP << 8)
- prop POLYG2_IC0 :: (self.POLYG2_SETUP << 16)
- prop POLYG3_IC0 :: (self.POLYG3_SETUP << 24)
- prop FRAMELEN_IC2 :: (self.FRAMELEN_SETUP)
- prop RELLEN_IC2 :: (self.RELLEN_SETUP << 16)
- prop CVGLEN_IC3 :: (self.CVGLEN_SETUP)
- prop TRACEBACK_IC5 :: (if (self.TRACEBACK_SETUP == "not allowed") {0} else {if (self.TRACEBACK_SETUP == "tailed") {0x01000000} else {if (self.TRACEBACK_SETUP == "convergent") {0x02000000} else {0x03000000}}})
- prop YAMEN_IC1 :: (if (self.YAMEN_SETUP == "Disable") {0x00000000} else {0x10000000})
- prop YAMTH_IC1 :: (self.YAMTH_SETUP << 16)
- prop IMAXS_IC4 :: (self.IMAXS_SETUP)
- prop IMINS_IC4 :: (self.IMINS_SETUP << 16)
- prop IMAXI_IC5 :: (self.IMAXI_SETUP)
- prop SDHD_IC5 :: (if (self.SDHD_SETUP == "Hard") {0x00000000} else {0x80000000})
- prop SYMX_IC5 :: (((self.SYMX_SETUP - 1) << 16))
- prop SYMR_IC5 :: (((self.SYMR_SETUP - 1) << 20))
- prop OUTF_IC5 :: (if (self.OUTF_SETUP == "Disable") {0} else {0x40000000})
- prop IC0_VALUE_update :: (self.POLYG0_IC0() | self.POLYG1_IC0() | self.POLYG2_IC0() | self.POLYG3_IC0())
- prop IC0_SETUP_update :: (self.POLYG0_SETUP = ($1 & 0x000000FF), self.POLYG1_SETUP = ($1 & 0x0000FF00) >> 8, self.POLYG2_SETUP = ($1 & 0x00FF0000) >> 16, self.POLYG3_SETUP = ($1 & 0xFF000000) >> 24)
- prop IC1_VALUE_update :: (self.YAMTH_IC1() | self.YAMEN_IC1())
- prop IC1_SETUP_update :: (self.YAMTH_SETUP = ($1 & 0x0FFF0000), self.YAMEN_SETUP = ($a = ($1 & 0x10000000), if ($a == 0x10000000) {"Enable"} else {"Disable"}))
- prop IC2_VALUE_update :: (self.FRAMELEN_IC2() | self.RELLEN_IC2())
- prop IC2_SETUP_update :: (self.FRAMELEN_SETUP = ($1 & 0x0000FFFF), self.RELLEN_SETUP = ($1 & 0xFFFF0000) >> 16)
- prop IC3_VALUE_update :: (self.CVGLEN_IC3())
- prop IC3_SETUP_update :: (self.CVGLEN_SETUP = ($1 & 0x0000FFFF))
- prop IC4_VALUE_update :: (self.IMAXS_IC4() | self.IMINS_IC4())
- prop IC4_SETUP_update :: (self.IMAXS_SETUP = ($1 & 0x00000FFF), self.IMINS_SETUP = ($1 & 0x0FFF0000) >> 16)
- prop IC5_VALUE_update :: (self.IMAXI_IC5() | self.SYMX_IC5() | self.SYMR_IC5() | self.TRACEBACK_IC5() | self.OUTF_IC5() | self.SDHD_IC5())
- prop IC5_SETUP_update :: (self.IMAXI_SETUP = ($1 & 0x000000FF), self.SYMX_SETUP = (($1 & 0x000F0000) >> 16) + 1, self.SYMR_SETUP = (($1 & 0x00F00000) >> 20) + 1, self.TRACEBACK_SETUP = ($a = ($1 & 0x03000000), if ($a == 0x00000000) {"not allowed"} else {if ($a == 0x010000000) {"tailed"} else {if ($a == 0x020000000) {"convergent"} else {"mixed"}}}), self.OUTF_SETUP = ($a = ($1 & 0x40000000), if ($a == 0x400000000) {"Enable"} else {"Disable"}), self.SDHD_SETUP = ($a = ($1 & 0x80000000), if ($a == 0x800000000) {"Soft"} else {"Hard"}))
- 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 :: = ((hVcp.VCP_INIT_ENABLE == 1) && (hVcp.VCP_INIT == self) && (hVcp.VCP_INIT != VCP_NOTHING)) {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop NoGen :: 1
- prop Visible :: 0
- }
- inst cConfigArg0 :: = hVcp.VCP_INIT {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop MemberType :: vcpCfg
- prop Label :: "Pre-initialize Config"
- prop Visible :: 0
- prop Writable :: (CSL.VCP_SUPPORT)
- prop NoGen :: 0
- prop cPreVal :: "&"
- }
- inst STANDARD_SETUP :: "3GPP" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "3GPP,IS2000"
- prop Label :: "Viterbi Decoder Standard"
- prop Visible :: 1
- prop JSName :: "vcpDecoderStandard"
- prop Writable :: CSL.VCP_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "VCP Setting"
- prop Set :: (if ($1 == "IS2000") {self.cStandardGen = "VCP_STANDARD_IS2000"} else {self.cStandardGen = "VCP_STANDARD_3GPP"}, self.STANDARD_SETUP = $1, " For Information only, Not programmable")
- }
- inst cStandardGen :: = "VCP_STANDARD_3GPP" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Decoder Standard"
- prop Visible :: 0
- prop Writable :: CSL.VCP_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- }
- inst RATE_SETUP :: "None" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "None,1/2,1/3,1/4"
- prop Label :: " Code Rate "
- prop Visible :: 1
- prop JSName :: "vcpRate"
- prop Writable :: (CSL.VCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "VCP Setting"
- prop Set :: (self.RATE_SETUP = $1, " For Information only, Not programmable directly - calculated via POLYx")
- }
- inst CONSTRLEN_SETUP :: 5 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: " Constraint Length (K= 5,6,7,8 or 9)"
- prop Visible :: 1
- prop JSName :: "vcpConstrLen"
- prop Writable :: (CSL.VCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "VCP Setting"
- prop Set :: (if ($1 < 5 || $1 > 9) {self.error(" Constraint Length K=5,6,7,8 or 9")} else {self.CONSTRLEN_SETUP = $1, " For Information only, Not programmable directly - calculated via POLYx"})
- }
- inst POLYG0_SETUP :: = 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: " Polynomial Generator G0 (POLY0) "
- prop Visible :: 1
- prop JSName :: "vcpIc0Poly0"
- prop Writable :: (CSL.VCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Programmable VCP Params"
- prop Set :: (if ($1 < 0 || $1 > 255) {self.error(" G0 values allowed are [0-255]")} else {self.POLYG0_SETUP = $1, self.IC0_VALUE = self.IC0_VALUE_update(), "ok"})
- }
- inst POLYG1_SETUP :: = 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: " Polynomial Generator G1 (POLY1) "
- prop Visible :: 1
- prop JSName :: "vcpIc0Poly1"
- prop Writable :: (CSL.VCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Programmable VCP Params"
- prop Set :: (if ($1 < 0 || $1 > 255) {self.error(" G1 values allowed are [0-255]")} else {self.POLYG1_SETUP = $1, self.IC0_VALUE = self.IC0_VALUE_update(), "ok"})
- }
- inst POLYG2_SETUP :: = 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: " Polynomial Generator G2 (POLY2) "
- prop Visible :: 1
- prop JSName :: "vcpIc0Poly2"
- prop Writable :: (CSL.VCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Programmable VCP Params"
- prop Set :: (if ($1 < 0 || $1 > 255) {self.error(" G2 values allowed are [0-255]")} else {self.POLYG2_SETUP = $1, self.IC0_VALUE = self.IC0_VALUE_update(), "ok"})
- }
- inst POLYG3_SETUP :: = 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: " Polynomial Generator G3 (POLY3) "
- prop Visible :: 1
- prop JSName :: "vcpIc0Poly3"
- prop Writable :: (CSL.VCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Programmable VCP Params"
- prop Set :: (if ($1 < 0 || $1 > 255) {self.error(" G3 values allowed are [0-255]")} else {self.POLYG3_SETUP = $1, self.IC0_VALUE = self.IC0_VALUE_update(), "ok"})
- }
- inst FRAMELEN_SETUP :: = 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: " Frame Length (F) "
- prop Visible :: 1
- prop JSName :: "vcpIc2FrameLen"
- prop Writable :: (CSL.VCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Programmable VCP Params"
- prop Set :: (if ($1 < 0 || $1 > 65535) {self.error("Frame Length range [0-65535]")} else {self.FRAMELEN_SETUP = $1, self.IC2_VALUE = self.IC2_VALUE_update(), "ok"})
- }
- inst RELLEN_SETUP :: = 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: " Reliability Length (R)"
- prop Visible :: 1
- prop JSName :: "vcpIc2ReliaLen"
- prop Writable :: (CSL.VCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Programmable VCP Params"
- prop Set :: (if ($1 < 0 || $1 > 127) {self.error("Reliability Length range [0-127]")} else {self.RELLEN_SETUP = $1, self.IC2_VALUE = self.IC2_VALUE_update(), "ok"})
- }
- inst CVGLEN_SETUP :: = 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: " Convergence Length (C) "
- prop Visible :: 1
- prop JSName :: "vcpIc3ConvLen"
- prop Writable :: (CSL.VCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Programmable VCP Params"
- prop Set :: (if ($1 < 0 || $1 > 65535) {self.error("Convergence Length range [0-65535]")} else {self.CVGLEN_SETUP = $1, self.IC3_VALUE = self.IC3_VALUE_update(), "ok"})
- }
- inst TRACEBACK_SETUP :: = "not Allowed" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "not allowed,tailed,convergent,mixed"
- prop Label :: " TraceBack Mode (TB)"
- prop Visible :: 1
- prop JSName :: "vcpIc5TraceBack"
- prop Writable :: (CSL.VCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Programmable VCP Params"
- prop Set :: (self.TRACEBACK_SETUP = $1, self.IC5_VALUE = self.IC5_VALUE_update(), "ok")
- }
- inst YAMEN_SETUP :: "Disable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable,Enable"
- prop Label :: " Yamamoto Algo. Enable (YAMEN) "
- prop Visible :: 1
- prop JSName :: "vcpIc1Yamen"
- prop Writable :: (CSL.VCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Programmable VCP Params"
- prop Set :: (self.YAMEN_SETUP = $1, self.IC1_VALUE = self.IC1_VALUE_update(), "ok")
- }
- inst YAMTH_SETUP :: = 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: " Yamamoto Threshold (YAMT)"
- prop Visible :: 1
- prop JSName :: "vcpIc1Yamth"
- prop Writable :: (CSL.VCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Programmable VCP Params"
- prop Set :: (if ($1 < 0 || $1 > 4095) {self.error("Yamamoto Threshold max value is 4095")} else {self.YAMTH_SETUP = $1, self.IC1_VALUE = self.IC1_VALUE_update(), "ok"})
- }
- inst IMAXS_SETUP :: = 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: " Max Initial State Metric (IMAXS)"
- prop Visible :: 1
- prop JSName :: "vcpIc2Imaxs"
- prop Writable :: (CSL.VCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Programmable VCP Params"
- prop Set :: (if ($1 < 0 || $1 > 4095) {self.error("Max Initial State Metric value is 4095")} else {self.IMAXS_SETUP = $1, self.IC4_VALUE = self.IC4_VALUE_update(), "ok"})
- }
- inst IMINS_SETUP :: = 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: " Min Initial State Metric (IMINS)"
- prop Visible :: 1
- prop JSName :: "vcpIc2Imins"
- prop Writable :: (CSL.VCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Programmable VCP Params"
- prop Set :: (if ($1 < 0 || $1 > 4095) {self.error("Min Initial State Metric value is 4095")} else {self.IMINS_SETUP = $1, self.IC4_VALUE = self.IC4_VALUE_update(), "ok"})
- }
- inst IMAXI_SETUP :: = 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: " State Index set to IMAXS (IMAXI)"
- prop Visible :: 1
- prop JSName :: "vcpIc5IndexMaxIter"
- prop Writable :: (CSL.VCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Programmable VCP Params"
- prop Set :: (if ((self.CONSTRLEN_SETUP == 5 && $1 > 15)) {self.error("For K=5 ,allowed values are 0 to 15")} else {if ((self.CONSTRLEN_SETUP == 6 && $1 > 31)) {self.error("For K=6 ,allowed values are 0 to 31")} else {if ((self.CONSTRLEN_SETUP == 7 && $1 > 63)) {self.error("For K=7 ,allowed values are 0 to 63")} else {if ((self.CONSTRLEN_SETUP == 8 && $1 > 127)) {self.error("For K=8 ,allowed values are 0 to 127")} else {if ((self.CONSTRLEN_SETUP == 9 && $1 > 255)) {self.error("For K=9 ,allowed values are 0 to 255")} else {self.IMAXI_SETUP = $1, self.IC5_VALUE = self.IC5_VALUE_update(), "ok"}}}}})
- }
- inst SDHD_SETUP :: "Hard" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Hard,Soft"
- prop Label :: " Ouput Hard Decision Type (SDHD) "
- prop Visible :: 1
- prop JSName :: "vcpIc5DecisionType"
- prop Writable :: (CSL.VCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Programmable VCP Params"
- prop Set :: (self.SDHD_SETUP = $1, self.IC5_VALUE = self.IC5_VALUE_update(), "ok")
- }
- inst SYMX_SETUP :: 1 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: " Branch Metrics Buffer Length (SYMX + 1) "
- prop Visible :: 1
- prop JSName :: "vcpIc5BmBuffLen"
- prop Writable :: (CSL.VCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "EDMA Operation"
- prop Set :: (if ($1 > 16 || $1 < 1) {self.error("Buffer length range [1-16]")} else {self.SYMX_SETUP = $1, self.IC5_VALUE = self.IC5_VALUE_update(), "ok"})
- }
- inst SYMR_SETUP :: 1 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Format :: "%2d"
- prop Style :: 0x02
- prop Label :: " Decision Buffer Length (SYMR + 1) "
- prop Visible :: 1
- prop JSName :: "vcpIc5DecBuffLen"
- prop Writable :: (CSL.VCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "EDMA Operation"
- prop Set :: (if ($1 > 16 || $1 < 1) {self.error("Buffer length range [1-16]")} else {self.SYMR_SETUP = $1, self.IC5_VALUE = self.IC5_VALUE_update(), "ok"})
- }
- inst OUTF_SETUP :: "Disable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable,Enable"
- prop Label :: " Ouput Parameters Read Flag (OUTF)"
- prop Visible :: 1
- prop JSName :: "vcpIc5OutFlag"
- prop Writable :: (CSL.VCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "EDMA Operation"
- prop Set :: (self.OUTF_SETUP = $1, self.IC5_VALUE = self.IC5_VALUE_update(), "ok")
- }
- inst IC0_VALUE :: self.IC0_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Input Configuration Reg 0 (IC0)"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop JSName :: "vcpIc0"
- prop Visible :: 1
- prop Writable :: CSL.VCP_SUPPORT
- prop NoGen :: 1
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.IC0_VALUE = $1, self.IC0_SETUP_update($1), "ok")
- }
- inst IC1_VALUE :: self.IC1_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Input Configuration Reg 1 (IC1)"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop JSName :: "vcpIc1"
- prop Visible :: 1
- prop Writable :: CSL.VCP_SUPPORT
- prop NoGen :: 1
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.IC1_VALUE = ($1 & 0x1FFF0000), self.IC1_SETUP_update($1), "ok")
- }
- inst IC2_VALUE :: self.IC2_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Input Configuration Reg 2 (IC2)"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop JSName :: "vcpIc2"
- prop Visible :: 1
- prop Writable :: CSL.VCP_SUPPORT
- prop NoGen :: 1
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.IC2_VALUE = $1, self.IC2_SETUP_update($1), "ok")
- }
- inst IC3_VALUE :: self.IC3_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Input Configuration Reg 3 (IC3)"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop JSName :: "vcpIc3"
- prop Visible :: 1
- prop Writable :: CSL.VCP_SUPPORT
- prop NoGen :: 1
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.IC3_VALUE = ($1 & 0x0000FFFF), self.IC3_SETUP_update($1), "ok")
- }
- inst IC4_VALUE :: self.IC4_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Input Configuration Reg 4 (IC4)"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop JSName :: "vcpIc4"
- prop Visible :: 1
- prop Writable :: CSL.VCP_SUPPORT
- prop NoGen :: 1
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.IC4_VALUE = ($1 & 0x0FFF0FFF), self.IC4_SETUP_update($1), "ok")
- }
- inst IC5_VALUE :: self.IC5_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Input Configuration Reg 5 (IC5)"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop JSName :: "vcpIc5"
- prop Visible :: 1
- prop Writable :: CSL.VCP_SUPPORT
- prop NoGen :: 1
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.IC5_VALUE = ($1 & 0xC3FF00FF), self.IC5_SETUP_update($1), "ok")
- }
- }
- type hVcp {
- prop IsContainedIn :: VCPFOLDER
- prop name :: "hVcp"
- prop Label :: "VCP Resource Manager"
- prop JSName :: "HVCP"
- prop NoGen :: 1
- prop GlobalPropertyPage :: "{B936FB82-49A5-11d4-967C-0050048381C6}"
- prop InstancePropertyPage :: "{B936FB82-49A5-11d4-967C-0050048381C5}"
- prop GlobalIcon :: 195
- prop InstanceIcon :: 196
- prop GlobalHelpTopic :: (1093)
- prop cGen :: 1
- global VCP_INITPARAM_ENABLE :: 0 {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Enable Parameters Setting"
- prop JSName :: "vcpEnableParams"
- prop Visible :: 1
- prop Writable :: (CSL.VCP_SUPPORT)
- prop NoGen :: 0
- prop Set :: ($a = 0, scan ($b; vcpBaseParam) {$a = $a + 1}, if ($1 == 1 && $a == 1 && self.VCP_INITPARAM == VCP_PARAMNULL) {" You must create a new BaseParams object"} else {self.VCP_INITPARAM_ENABLE = $1, if ($1 == 0) {self.VCP_INITPARAM = VCP_PARAMNULL, self.VCP_PARAMCONFIGNAME = "NULL", self.VCP_SETPARAM_ENABLE = 0} , "ok"})
- }
- global VCP_INITPARAM :: VCP_PARAMNULL {
- prop Type :: "{7BA2DA00-5A53-11d0-9BFE-0000C0AC14C7}"
- prop MemberType :: vcpBaseParam
- prop Label :: " Pre-Initialize with"
- prop JSName :: "vcpBaseParamInit"
- prop Visible :: 1
- prop Writable :: if (CSL.VCP_SUPPORT) && (self.VCP_INITPARAM_ENABLE == 1) {1} else {0}
- }
- global VCP_PARAMCONFIGNAME :: "NULL" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Output VCP Params ConfigName (ex: vcpParam)"
- prop JSName :: "vcpParamConfigName"
- prop Visible :: 1
- prop Writable :: if (CSL.VCP_SUPPORT) && (self.VCP_INITPARAM_ENABLE == 1) {1} else {0}
- prop Set :: (if ($1 == "") {self.VCP_PARAMCONFIGNAME = "NULL", "ok"} else {self.VCP_PARAMCONFIGNAME = $1, "ok"})
- }
- global VCP_SETPARAM_ENABLE :: 0 {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Set VCP Params Values to the IC Config. Obj"
- prop JSName :: "vcpSetParamEnable"
- prop Visible :: 1
- prop Writable :: (CSL.VCP_SUPPORT && self.VCP_INITPARAM_ENABLE)
- prop NoGen :: 0
- prop Set :: ($a = 0, scan ($b; vcpCfg) {$a = $a + 1}, if ($1 == 1 && $a == 1 && self.VCP_INIT == VCP_NOTHING) {" You must create a configuration object"} else {self.VCP_SETPARAM_ENABLE = $1, if ($1 == 0 && self.VCP_INIT_ENABLE == 0) {self.VCP_INIT = VCP_NOTHING} , "ok"})
- }
- global VCP_INIT_ENABLE :: 0 {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Enable Pre-Initialization"
- prop JSName :: "vcpEnablePreInit"
- prop Visible :: 1
- prop Writable :: (CSL.VCP_SUPPORT)
- prop NoGen :: 0
- prop Set :: ($a = 0, scan ($b; vcpCfg) {$a = $a + 1}, if ($1 == 1 && $a == 1 && self.VCP_INIT == VCP_NOTHING) {" You must create a new configuration object"} else {self.VCP_INIT_ENABLE = $1, if ($1 == 0 && self.VCP_SETPARAM_ENABLE == 0) {self.VCP_INIT = VCP_NOTHING} , "ok"})
- }
- global VCP_INIT :: VCP_NOTHING {
- prop Type :: "{7BA2DA00-5A53-11d0-9BFE-0000C0AC14C7}"
- prop MemberType :: vcpCfg
- prop Label :: " Pre-Initialize with"
- prop JSName :: "vcpPreInit"
- prop Visible :: 1
- prop Writable :: if (CSL.VCP_SUPPORT) && ((self.VCP_INIT_ENABLE == 1) || (self.VCP_SETPARAM_ENABLE == 1)) {1} else {0}
- }
- }
- object VCP_NOTHING :: vcpCfg {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param STANDARD_SETUP :: "3GPP"
- param RATE_SETUP :: "None"
- param CONSTRLEN_SETUP :: 5
- param YAMEN_SETUP :: "Disable"
- param SDHD_SETUP :: "Hard"
- param SYMX_SETUP :: 1
- param SYMR_SETUP :: 1
- param OUTF_SETUP :: "Disable"
- param IC0_VALUE :: 0
- param IC1_VALUE :: 0
- param IC2_VALUE :: 0
- param IC3_VALUE :: 0
- param IC4_VALUE :: 0
- param IC5_VALUE :: 50331648
- }
- object VCP_PARAMNULL :: vcpBaseParam {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param RATE_SETUP :: "None"
- param CONSTRLEN_SETUP :: 5
- param SDHD_SETUP :: "Hard"
- param OUTF_SETUP :: "Disable"
- }
- type XBUSFOLDER {
- isa ModuleFolder
- prop IsContainedIn :: CSL
- prop name :: "XBUS"
- prop Label :: "XBUS - Expansion Bus"
- 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 :: 1070
- 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 xbusCfg {
- isa ObjectMgr
- prop Name :: "xbusCfg"
- prop Label :: "XBUS Configuration Manager"
- prop JSName :: "XBUS"
- prop IsContainedIn :: XBUSFOLDER
- 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 :: 1071
- prop InstanceHelpTopic :: 1071
- prop cGen :: CSL.XBUS_SUPPORT
- prop cStruct :: CSL.XBUS_SUPPORT
- prop cStructType :: "XBUS_Config"
- prop cHeaderName :: if self.gNumOf > 0 {"csl_xbus.h"} else {""}
- prop cStructQual :: "far"
- prop cStructName :: self
- prop cConfigName :: "XBUS_config"
- prop localDelete :: (self.myDelete)
- prop myDelete :: ($a = 0, scan ($b; xbusCfg) {$a = $a + 1}, if ($a == 2) {hXbus.XBUS_INIT_ENABLE = 0} , "ok")
- prop XFCEN_GBLCTL :: (if (self.XFCEN_SETUP == "XFCLK Enable") {0x00004000} else {0x00000000})
- prop XFRAT_GBLCTL :: (if (self.XFRAT_SETUP == "1/8 CPU Clock Rate") {0x00000000} else {if (self.XFRAT_SETUP == "1/6 CPU Clock Rate") {0x00001000} else {if (self.XFRAT_SETUP == "1/4 CPU Clock Rate") {0x00002000} else {if (self.XFRAT_SETUP == "1/2 CPU Clock Rate") {0x00003000} }}})
- prop WRSETUP0_XCE0CTL :: ((self.WRSETUP0_SETUP << 28))
- prop WRSTRB0_XCE0CTL :: ((self.WRSTRB0_SETUP << 22))
- prop WRHLD0_XCE0CTL :: ((self.WRHLD0_SETUP << 20))
- prop RDSETUP0_XCE0CTL :: ((self.RDSETUP0_SETUP << 16))
- prop RDSTRB0_XCE0CTL :: ((self.RDSTRB0_SETUP << 8))
- prop RDHLD0_XCE0CTL :: (self.RDHLD0_SETUP)
- prop MTYPE0_XCE0CTL :: (if (self.MTYPE0_SETUP == "32-bit async.") {0x00000020} else {if (self.MTYPE0_SETUP == "32-bit FIFO") {0x00000050} })
- prop WRSETUP1_XCE1CTL :: ((self.WRSETUP1_SETUP << 28))
- prop WRSTRB1_XCE1CTL :: ((self.WRSTRB1_SETUP << 22))
- prop WRHLD1_XCE1CTL :: ((self.WRHLD1_SETUP << 20))
- prop RDSETUP1_XCE1CTL :: ((self.RDSETUP1_SETUP << 16))
- prop RDSTRB1_XCE1CTL :: ((self.RDSTRB1_SETUP << 8))
- prop RDHLD1_XCE1CTL :: (self.RDHLD1_SETUP)
- prop MTYPE1_XCE1CTL :: (if (self.MTYPE1_SETUP == "32-bit async.") {0x00000020} else {if (self.MTYPE1_SETUP == "32-bit FIFO") {0x00000050} })
- prop WRSETUP2_XCE2CTL :: ((self.WRSETUP2_SETUP << 28))
- prop WRSTRB2_XCE2CTL :: ((self.WRSTRB2_SETUP << 22))
- prop WRHLD2_XCE2CTL :: ((self.WRHLD2_SETUP << 20))
- prop RDSETUP2_XCE2CTL :: ((self.RDSETUP2_SETUP << 16))
- prop RDSTRB2_XCE2CTL :: ((self.RDSTRB2_SETUP << 8))
- prop RDHLD2_XCE2CTL :: (self.RDHLD2_SETUP)
- prop MTYPE2_XCE2CTL :: (if (self.MTYPE2_SETUP == "32-bit async.") {0x00000020} else {if (self.MTYPE2_SETUP == "32-bit FIFO") {0x00000050} })
- prop WRSETUP3_XCE3CTL :: ((self.WRSETUP3_SETUP << 28))
- prop WRSTRB3_XCE3CTL :: ((self.WRSTRB3_SETUP << 22))
- prop WRHLD3_XCE3CTL :: ((self.WRHLD3_SETUP << 20))
- prop RDSETUP3_XCE3CTL :: ((self.RDSETUP3_SETUP << 16))
- prop RDSTRB3_XCE3CTL :: ((self.RDSTRB3_SETUP << 8))
- prop RDHLD3_XCE3CTL :: (self.RDHLD3_SETUP)
- prop MTYPE3_XCE3CTL :: (if (self.MTYPE3_SETUP == "32-bit async.") {0x00000020} else {if (self.MTYPE3_SETUP == "32-bit FIFO") {0x00000050} })
- prop XFRCT_XBHC :: ((self.XFRCT_SETUP << 16))
- prop INTSRC_XBHC :: (if (self.INTSRC_SETUP == "DSPINT") {0x00000000} else {if (self.INTSRC_SETUP == "XFRCT Counter") {0x00000020} })
- prop START_XBHC :: (if (self.START_SETUP == "Abort Transfer") {0x00000000} else {if (self.START_SETUP == "Write: XBIMA-->XBEA") {0x00000008} else {if (self.START_SETUP == "Read: XBEA-->XBIMA") {0x00000010} }})
- prop DSPINT_XBHC :: (if (self.DSPINT_SETUP == "None") {0x00000000} else {if (self.DSPINT_SETUP == "Clear") {0x00000002} })
- prop XBIMA_XBIMA :: (self.XBIMA_SETUP)
- prop XBEA_XBEA :: (self.XBEA_SETUP)
- prop GBLCTL_VALUE_update :: (self.XFCEN_GBLCTL() | self.XFRAT_GBLCTL())
- prop GBLCTL_SETUP_update :: (self.XFCEN_SETUP = if ($1 & 0x00004000) {"XFCLK Enable"} else {"XFCLK High"}, self.XFRAT_SETUP = ($a = ($1 & 0x00003000), if ($a == 0x00003000) {"1/2 CPU Clock Rate"} else {if ($a == 0x00002000) {"1/4 CPU Clock Rate"} else {if ($a == 0x00001000) {"1/6 CPU Clock Rate"} else {"1/8 CPU Clock Rate"}}}))
- prop XCE0CTL_VALUE_update :: (self.MTYPE0_XCE0CTL() | self.RDHLD0_XCE0CTL() | self.RDSTRB0_XCE0CTL() | self.RDSETUP0_XCE0CTL() | self.WRHLD0_XCE0CTL() | self.WRSTRB0_XCE0CTL() | self.WRSETUP0_XCE0CTL())
- prop XCE0CTL_SETUP_update :: (self.MTYPE0_SETUP = ($a = ($1 & 0x00000070), if ($a == 0x00000050) {"32-bit FIFO"} else {"32-bit async."}), self.RDHLD0_SETUP = ($1 & 0x00000003), self.RDSTRB0_SETUP = ($1 & 0x00003F00) >> 8, self.RDSETUP0_SETUP = ($1 & 0x000F0000) >> 16, self.WRHLD0_SETUP = ($1 & 0x00300000) >> 20, self.WRSTRB0_SETUP = ($1 & 0x0FC00000) >> 22, self.WRSETUP0_SETUP = (($1 & 0xF0000000) >> 28) & 0xF)
- prop XCE1CTL_VALUE_update :: (self.MTYPE1_XCE1CTL() | self.RDHLD1_XCE1CTL() | self.RDSTRB1_XCE1CTL() | self.RDSETUP1_XCE1CTL() | self.WRHLD1_XCE1CTL() | self.WRSTRB1_XCE1CTL() | self.WRSETUP1_XCE1CTL())
- prop XCE1CTL_SETUP_update :: (self.MTYPE1_SETUP = ($a = ($1 & 0x00000070), if ($a == 0x00000050) {"32-bit FIFO"} else {"32-bit async."}), self.RDHLD1_SETUP = ($1 & 0x00000003), self.RDSTRB1_SETUP = ($1 & 0x00003F00) >> 8, self.RDSETUP1_SETUP = ($1 & 0x000F0000) >> 16, self.WRHLD1_SETUP = ($1 & 0x00300000) >> 20, self.WRSTRB1_SETUP = ($1 & 0x0FC00000) >> 22, self.WRSETUP1_SETUP = (($1 & 0xF0000000) >> 28) & 0xF)
- prop XCE2CTL_VALUE_update :: (self.MTYPE2_XCE2CTL() | self.RDHLD2_XCE2CTL() | self.RDSTRB2_XCE2CTL() | self.RDSETUP2_XCE2CTL() | self.WRHLD2_XCE2CTL() | self.WRSTRB2_XCE2CTL() | self.WRSETUP2_XCE2CTL())
- prop XCE2CTL_SETUP_update :: (self.MTYPE2_SETUP = ($a = ($1 & 0x00000070), if ($a == 0x00000050) {"32-bit FIFO"} else {"32-bit async."}), self.RDHLD2_SETUP = ($1 & 0x00000003), self.RDSTRB2_SETUP = ($1 & 0x00003F00) >> 8, self.RDSETUP2_SETUP = ($1 & 0x000F0000) >> 16, self.WRHLD2_SETUP = ($1 & 0x00300000) >> 20, self.WRSTRB2_SETUP = ($1 & 0x0FC00000) >> 22, self.WRSETUP2_SETUP = (($1 & 0xF0000000) >> 28) & 0xF)
- prop XCE3CTL_VALUE_update :: (self.MTYPE3_XCE3CTL() | self.RDHLD3_XCE3CTL() | self.RDSTRB3_XCE3CTL() | self.RDSETUP3_XCE3CTL() | self.WRHLD3_XCE3CTL() | self.WRSTRB3_XCE3CTL() | self.WRSETUP3_XCE3CTL())
- prop XCE3CTL_SETUP_update :: (self.MTYPE3_SETUP = ($a = ($1 & 0x00000070), if ($a == 0x00000050) {"32-bit FIFO"} else {"32-bit async."}), self.RDHLD3_SETUP = ($1 & 0x00000003), self.RDSTRB3_SETUP = ($1 & 0x00003F00) >> 8, self.RDSETUP3_SETUP = ($1 & 0x000F0000) >> 16, self.WRHLD3_SETUP = ($1 & 0x00300000) >> 20, self.WRSTRB3_SETUP = ($1 & 0x0FC00000) >> 22, self.WRSETUP3_SETUP = (($1 & 0xF0000000) >> 28) & 0xF)
- prop XBHC_VALUE_update :: (self.XFRCT_XBHC() | self.INTSRC_XBHC() | self.START_XBHC() | self.DSPINT_XBHC())
- prop XBHC_SETUP_update :: (self.XFRCT_SETUP = (($1 & 0xFFFF0000) >> 16) & 0xFFFF, self.INTSRC_SETUP = if ($1 & 0x00000020) {"XFRCT Counter"} else {"DSPINT"}, self.START_SETUP = ($a = ($1 & 0x00000018), if ($a == 0x00000010) {"Read: XBEA-->XBIMA"} else {if ($a == 0x00000008) {"Write: XBIMA-->XBEA"} else {"Abort Trnasfer"}}), self.DSPINT_SETUP = if ($1 & 0x00000002) {"Clear"} else {"None"})
- prop XBIMA_VALUE_update :: (self.XBIMA_XBIMA())
- prop XBIMA_SETUP_update :: (self.XBIMA_SETUP = $1 & 0xFFFFFFFF)
- prop XBEA_VALUE_update :: (self.XBEA_XBEA())
- prop XBEA_SETUP_update :: (self.XBEA_SETUP = $1 & 0xFFFFFFFF)
- 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 :: = ((CSL.XBUS_SUPPORT == 1) && (hXbus.XBUS_INIT_ENABLE == 1) && (hXbus.XBUS_INIT == self) && (hXbus.XBUS_INIT != XBUS_NOTHING)) {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop NoGen :: 1
- prop Visible :: 0
- }
- inst cConfigArg0 :: = hXbus.XBUS_INIT {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop MemberType :: xbusCfg
- prop Label :: "Pre-initialize Config"
- prop Visible :: 0
- prop Writable :: if (CSL.XBUS_SUPPORT == 1) {1} else {0}
- prop NoGen :: 0
- prop cPreVal :: "&"
- }
- inst XFCEN_SETUP :: "XFCLK High" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "XFCLK High,XFCLK Enable"
- prop Label :: "FIFO Clock Enable(XFCEN)"
- prop JSName :: "xbusXbgcXfcen"
- prop Visible :: 1
- prop Writable :: if (CSL.XBUS_SUPPORT == 1) {1} else {0}
- prop NoGen :: 1
- prop TabName :: "Global Control"
- prop Set :: (self.XFCEN_SETUP = $1, self.GBLCTL_VALUE = self.GBLCTL_VALUE_update(), "ok")
- }
- inst XFRAT_SETUP :: "1/8 CPU Clock Rate" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "1/8 CPU Clock Rate,1/6 CPU Clock Rate,1/4 CPU Clock Rate,1/2 CPU Clock Rate"
- prop Label :: "FIFO Clock Rate(XFRAT)"
- prop JSName :: "xbusXbgcXfrat"
- prop Visible :: 1
- prop Writable :: if (CSL.XBUS_SUPPORT == 1) {1} else {0}
- prop NoGen :: 1
- prop TabName :: "Global Control"
- prop Set :: (self.XFRAT_SETUP = $1, self.GBLCTL_VALUE = self.GBLCTL_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 :: "xbusXce0ctlWrsetup"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 1
- prop TabName :: "XCE0 Space Control"
- prop Set :: (if ($1 < 1 || $1 > 15) {self.error(" Minimum setup :1 cycle - Maximum setup: 15 cycles")} else {self.WRSETUP0_SETUP = $1, self.XCE0CTL_VALUE = self.XCE0CTL_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 :: "xbusXce0ctlWrstrb0"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 1
- prop TabName :: "XCE0 Space Control"
- prop Set :: (if ($1 < 1 || $1 > 63) {self.error(" Minimum strobe :1 cycle - Maximum strobe: 63 cycles")} else {self.WRSTRB0_SETUP = $1, self.XCE0CTL_VALUE = self.XCE0CTL_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 :: "xbusXce0ctlWrhld"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 1
- prop TabName :: "XCE0 Space Control"
- prop Set :: (if ($1 < 0 || $1 > 3) {self.error(" Minimum hold :0 cycle - Maximum hold: 3 cycles")} else {self.WRHLD0_SETUP = $1, self.XCE0CTL_VALUE = self.XCE0CTL_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 :: "xbusXce0ctlRdsetup"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 1
- prop TabName :: "XCE0 Space Control"
- prop Set :: (if ($1 < 1 || $1 > 15) {self.error(" Minimum setup :1 cycle - Maximum setup: 15 cycles")} else {self.RDSETUP0_SETUP = $1, self.XCE0CTL_VALUE = self.XCE0CTL_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 :: "xbusXce0ctlRdstrb"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 1
- prop TabName :: "XCE0 Space Control"
- prop Set :: (if ($1 < 1 || $1 > 63) {self.error(" Minimum strobe :1 cycle - Maximum strobe: 63 cycles")} else {self.RDSTRB0_SETUP = $1, self.XCE0CTL_VALUE = self.XCE0CTL_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 :: "xbusXce0ctlRdhld"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 1
- prop TabName :: "XCE0 Space Control"
- prop Set :: (if ($1 < 0 || $1 > 3) {self.error(" Minimum hold :0 cycle - Maximum hold: 3 cycles")} else {self.RDHLD0_SETUP = $1, self.XCE0CTL_VALUE = self.XCE0CTL_VALUE_update(), "ok"})
- }
- inst MTYPE0_SETUP :: "32-bit async." {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "32-bit async.,32-bit FIFO"
- prop Label :: "Memory Type(MTYPE)"
- prop JSName :: "xbusXce0ctlMtype"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 1
- prop TabName :: "XCE0 Space Control"
- prop Set :: (self.MTYPE0_SETUP = $1, self.XCE0CTL_VALUE = self.XCE0CTL_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 :: "xbusXce1ctlWrsetup"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 1
- prop TabName :: "XCE1 Space Control"
- prop Set :: (if ($1 < 1 || $1 > 15) {self.error(" Minimum setup :1 cycle - Maximum setup: 15 cycles")} else {self.WRSETUP1_SETUP = $1, self.XCE1CTL_VALUE = self.XCE1CTL_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 :: "xbusXce1ctlWrstrb"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 1
- prop TabName :: "XCE1 Space Control"
- prop Set :: (if ($1 < 1 || $1 > 63) {self.error(" Minimum strobe :1 cycle - Maximum strobe: 63 cycles")} else {self.WRSTRB1_SETUP = $1, self.XCE1CTL_VALUE = self.XCE1CTL_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 :: "xbusXce1ctlWrhld"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 1
- prop TabName :: "XCE1 Space Control"
- prop Set :: (if ($1 < 0 || $1 > 3) {self.error(" Minimum hold :0 cycle - Maximum hold: 3 cycles")} else {self.WRHLD1_SETUP = $1, self.XCE1CTL_VALUE = self.XCE1CTL_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 :: "xbusXce1ctlRdsetup"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 1
- prop TabName :: "XCE1 Space Control"
- prop Set :: (if ($1 < 1 || $1 > 15) {self.error(" Minimum setup :1 cycle - Maximum setup: 15 cycles")} else {self.RDSETUP1_SETUP = $1, self.XCE1CTL_VALUE = self.XCE1CTL_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 :: "xbusXce1ctlRdstrb"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 1
- prop TabName :: "XCE1 Space Control"
- prop Set :: (if ($1 < 1 || $1 > 63) {self.error(" Minimum strobe :1 cycle - Maximum strobe: 63 cycles")} else {self.RDSTRB1_SETUP = $1, self.XCE1CTL_VALUE = self.XCE1CTL_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 :: "xbusXce1ctlRdhld"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 1
- prop TabName :: "XCE1 Space Control"
- prop Set :: (if ($1 < 0 || $1 > 3) {self.error(" Minimum hold :0 cycle - Maximum hold: 3 cycles")} else {self.RDHLD1_SETUP = $1, self.XCE1CTL_VALUE = self.XCE1CTL_VALUE_update(), "ok"})
- }
- inst MTYPE1_SETUP :: "32-bit async." {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "32-bit async.,32-bit FIFO"
- prop Label :: "Memory Type(MTYPE)"
- prop JSName :: "xbusXce1ctlMtype"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 1
- prop TabName :: "XCE1 Space Control"
- prop Set :: (self.MTYPE1_SETUP = $1, self.XCE1CTL_VALUE = self.XCE1CTL_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 :: "xbusXce2ctlWrsetup"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 1
- prop TabName :: "XCE2 Space Control"
- prop Set :: (if ($1 < 1 || $1 > 15) {self.error(" Minimum setup :1 cycle - Maximum setup: 15 cycles")} else {self.WRSETUP2_SETUP = $1, self.XCE2CTL_VALUE = self.XCE2CTL_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 :: "xbusXce2ctlWrstrb"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 1
- prop TabName :: "XCE2 Space Control"
- prop Set :: (if ($1 < 1 || $1 > 63) {self.error(" Minimum strobe :1 cycle - Maximum strobe: 63 cycles")} else {self.WRSTRB2_SETUP = $1, self.XCE2CTL_VALUE = self.XCE2CTL_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 :: "xbusXce2ctlWrhld"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 1
- prop TabName :: "XCE2 Space Control"
- prop Set :: (if ($1 < 0 || $1 > 3) {self.error(" Minimum hold :0 cycle - Maximum hold: 3 cycles")} else {self.WRHLD2_SETUP = $1, self.XCE2CTL_VALUE = self.XCE2CTL_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 :: "xbusXce2ctlRdsetup"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 1
- prop TabName :: "XCE2 Space Control"
- prop Set :: (if ($1 < 1 || $1 > 15) {self.error(" Minimum setup :1 cycle - Maximum setup: 15 cycles")} else {self.RDSETUP2_SETUP = $1, self.XCE2CTL_VALUE = self.XCE2CTL_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 :: "xbusXce2ctlRdstrb"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 1
- prop TabName :: "XCE2 Space Control"
- prop Set :: (if ($1 < 1 || $1 > 63) {self.error(" Minimum strobe :1 cycle - Maximum strobe: 63 cycles")} else {self.RDSTRB2_SETUP = $1, self.XCE2CTL_VALUE = self.XCE2CTL_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 :: "xbusXce2ctlRdhld"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 1
- prop TabName :: "XCE2 Space Control"
- prop Set :: (if ($1 < 0 || $1 > 3) {self.error(" Minimum hold :0 cycle - Maximum hold: 3 cycles")} else {self.RDHLD2_SETUP = $1, self.XCE2CTL_VALUE = self.XCE2CTL_VALUE_update(), "ok"})
- }
- inst MTYPE2_SETUP :: "32-bit async." {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "32-bit async.,32-bit FIFO"
- prop Label :: "Memory Type(MTYPE)"
- prop JSName :: "xbusXce2ctlMtype"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 1
- prop TabName :: "XCE2 Space Control"
- prop Set :: (self.MTYPE2_SETUP = $1, self.XCE2CTL_VALUE = self.XCE2CTL_VALUE_update(), "ok")
- }
- inst WRSETUP3_SETUP :: 15 {
- prop Label :: "Write Setup Width "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "xbusXce3ctlWrsetup"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 1
- prop TabName :: "XCE3 Space Control"
- prop Set :: (if ($1 < 1 || $1 > 15) {self.error(" Minimum setup :1 cycle - Maximum setup: 15 cycles")} else {self.WRSETUP3_SETUP = $1, self.XCE3CTL_VALUE = self.XCE3CTL_VALUE_update(), "ok"})
- }
- inst WRSTRB3_SETUP :: 63 {
- prop Label :: "Write Strobe Width "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "xbusXce3ctlWrstrb"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 1
- prop TabName :: "XCE3 Space Control"
- prop Set :: (if ($1 < 1 || $1 > 63) {self.error(" Minimum strobe :1 cycle - Maximum strobe: 63 cycles")} else {self.WRSTRB3_SETUP = $1, self.XCE3CTL_VALUE = self.XCE3CTL_VALUE_update(), "ok"})
- }
- inst WRHLD3_SETUP :: 3 {
- prop Label :: "Write Hold Width "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "xbusXce3ctlWrhld"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 1
- prop TabName :: "XCE3 Space Control"
- prop Set :: (if ($1 < 0 || $1 > 3) {self.error(" Minimum hold :0 cycle - Maximum hold: 3 cycles")} else {self.WRHLD3_SETUP = $1, self.XCE3CTL_VALUE = self.XCE3CTL_VALUE_update(), "ok"})
- }
- inst RDSETUP3_SETUP :: 15 {
- prop Label :: "Read Setup Width "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "xbusXce3ctlRdsetup"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 1
- prop TabName :: "XCE3 Space Control"
- prop Set :: (if ($1 < 1 || $1 > 15) {self.error(" Minimum setup :1 cycle - Maximum setup: 15 cycles")} else {self.RDSETUP3_SETUP = $1, self.XCE3CTL_VALUE = self.XCE3CTL_VALUE_update(), "ok"})
- }
- inst RDSTRB3_SETUP :: 63 {
- prop Label :: "Read Strobe Width "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "xbusXce3ctlRdstrb"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 1
- prop TabName :: "XCE3 Space Control"
- prop Set :: (if ($1 < 1 || $1 > 63) {self.error(" Minimum strobe :1 cycle - Maximum strobe: 63 cycles")} else {self.RDSTRB3_SETUP = $1, self.XCE3CTL_VALUE = self.XCE3CTL_VALUE_update(), "ok"})
- }
- inst RDHLD3_SETUP :: 3 {
- prop Label :: "Read Hold Width "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "xbusXce3ctlRdhld"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 1
- prop TabName :: "XCE3 Space Control"
- prop Set :: (if ($1 < 0 || $1 > 3) {self.error(" Minimum hold :0 cycle - Maximum hold: 3 cycles")} else {self.RDHLD3_SETUP = $1, self.XCE3CTL_VALUE = self.XCE3CTL_VALUE_update(), "ok"})
- }
- inst MTYPE3_SETUP :: "32-bit async." {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "32-bit async.,32-bit FIFO"
- prop Label :: "Memory Type(MTYPE)"
- prop JSName :: "xbusXce3ctlMtype"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 1
- prop TabName :: "XCE3 Space Control"
- prop Set :: (self.MTYPE3_SETUP = $1, self.XCE3CTL_VALUE = self.XCE3CTL_VALUE_update(), "ok")
- }
- inst XFRCT_SETUP :: 0 {
- prop Label :: "Transfer Counter(XFRCT)"
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "xbusXbhcXfrct"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 1
- prop TabName :: "XBUS HPI Control"
- prop Set :: (if ($1 > 65535) {self.error("Maximum transfer count: 65535 elements")} else {self.XFRCT_SETUP = $1, self.XBHC_VALUE = self.XBHC_VALUE_update(), "ok"})
- }
- inst INTSRC_SETUP :: "DSPINT" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "DSPINT,XFRCT Counter"
- prop Label :: "Interrupt Source(INTSRC)"
- prop JSName :: "xbusXbhcIntsrc"
- prop Visible :: 1
- prop Writable :: if (CSL.XBUS_SUPPORT == 1) {1} else {0}
- prop NoGen :: 1
- prop TabName :: "XBUS HPI Control"
- prop Set :: (self.INTSRC_SETUP = $1, self.XBHC_VALUE = self.XBHC_VALUE_update(), "ok")
- }
- inst START_SETUP :: "Abort Transfer" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Abort Transfer,Write: XBIMA-->XBEA,Read: XBEA-->XBIMA"
- prop Label :: "Start Master Transaction(START)"
- prop JSName :: "xbusXbhcStart"
- prop Visible :: 1
- prop Writable :: if (CSL.XBUS_SUPPORT == 1) {1} else {0}
- prop NoGen :: 1
- prop TabName :: "XBUS HPI Control"
- prop Set :: (self.START_SETUP = $1, self.XBHC_VALUE = self.XBHC_VALUE_update(), "ok")
- }
- inst DSPINT_SETUP :: "None" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "None,Clear"
- prop Label :: "External Master to DSP Interrupt(DSPINT)"
- prop JSName :: "xbusXbhcDspint"
- prop Visible :: 1
- prop Writable :: if (CSL.XBUS_SUPPORT == 1) {1} else {0}
- prop NoGen :: 1
- prop TabName :: "XBUS HPI Control"
- prop Set :: (self.DSPINT_SETUP = $1, self.XBHC_VALUE = self.XBHC_VALUE_update(), "ok")
- }
- inst XBIMA_SETUP :: 0x00000000 {
- prop Label :: "XBUS Internal Master Address(XBIMA)"
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Style :: 0x02
- prop Format :: "0x%08X"
- prop JSName :: "xbusXbima"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 1
- prop TabName :: "Int. Master/Ext. Addr."
- prop Set :: (self.XBIMA_SETUP = $1, self.XBIMA_VALUE = self.XBIMA_VALUE_update(), "ok")
- }
- inst XBEA_SETUP :: 0x00000000 {
- prop Label :: "XBUS External Address(XBEA)"
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Style :: 0x02
- prop Format :: "0x%08X"
- prop JSName :: "xbusXbea"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 1
- prop TabName :: "Int. Master/Ext. Addr."
- prop Set :: (self.XBEA_SETUP = $1, self.XBEA_VALUE = self.XBEA_VALUE_update(), "ok")
- }
- inst GBLCTL_VALUE :: self.GBLCTL_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Global Control Register(XBGC)"
- prop Format :: "0x%08X"
- prop JSName :: "xbusXbgc"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 0
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: ($a = $1 & 0xFFFF0000, $b = $1 & 0x000007FF, $c = $1 & 0x00008000, $d = $1 & 0x00000800, if ($a != 0x00000000) {self.error("reserved space, bit[16..31]")} else {if ($b != 0x00000000) {self.error("reserved space, bit[0..10]")} else {if ($c != 0x00000000) {self.error("Read only for FMOD, bit[15]")} else {if ($d != 0x00000000) {self.error("Read only for XARB, bit[11]")} else {self.GBLCTL_VALUE = $1, self.GBLCTL_SETUP_update($1), "ok"}}}})
- }
- inst XCE0CTL_VALUE :: self.XCE0CTL_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "XCE0 Space Control Register(XCE0CTL) "
- prop Format :: "0x%08X"
- prop JSName :: "xbusXcectl0"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 0
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: ($a = $1 & 0x00000070, $b = $1 & 0x0000000C, $c = $1 & 0x00000080, $d = $1 & 0x0000C000, if (($a != 0x00000020) && ($a != 0x00000050)) {self.error("Undefined memory type for XCE spaces, bit[4..6]")} else {if ($b != 0x00000000) {self.error("reserved space, bit[2..3]")} else {if ($c != 0x00000000) {self.error("reserved space, bit[7]")} else {if ($d != 0x00000000) {self.error("reserved space, bit[14..15]")} else {if (((($1 & 0xF0000000) >> 28) & 0xF) == 0x00000000) {self.error("Write setup width, bit[28..31], requires minimum of 1 cycle")} else {if ((($1 & 0x0FC00000) >> 22) == 0x00000000) {self.error("Write strobe width, bit[22..27], requires minimum of 1 cycle")} else {if ((($1 & 0x000F0000) >> 16) == 0x00000000) {self.error("Read setup width, bit[16..19], requires minimum of 1 cycle")} else {if ((($1 & 0x00003F00) >> 8) == 0x00000000) {self.error("Read strobe width, bit[8..13], requires minimum of 1 cycle")} else {self.XCE0CTL_VALUE = $1, self.XCE0CTL_SETUP_update($1), "ok"}}}}}}}})
- }
- inst XCE1CTL_VALUE :: self.XCE1CTL_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "XCE1 Space Control Register(XCE1CTL) "
- prop Format :: "0x%08X"
- prop JSName :: "xbusXcectl1"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 0
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: ($a = $1 & 0x00000070, $b = $1 & 0x0000000C, $c = $1 & 0x00000080, $d = $1 & 0x0000C000, if (($a != 0x00000020) && ($a != 0x00000050)) {self.error("Undefined memory type for XCE spaces, bit[4..6]")} else {if ($b != 0x00000000) {self.error("reserved space, bit[2..3]")} else {if ($c != 0x00000000) {self.error("reserved space, bit[7]")} else {if ($d != 0x00000000) {self.error("reserved space, bit[14..15]")} else {if (((($1 & 0xF0000000) >> 28) & 0xF) == 0x00000000) {self.error("Write setup width, bit[28..31], requires minimum of 1 cycle")} else {if ((($1 & 0x0FC00000) >> 22) == 0x00000000) {self.error("Write strobe width, bit[22..27], requires minimum of 1 cycle")} else {if ((($1 & 0x000F0000) >> 16) == 0x00000000) {self.error("Read setup width, bit[16..19], requires minimum of 1 cycle")} else {if ((($1 & 0x00003F00) >> 8) == 0x00000000) {self.error("Read strobe width, bit[8..13], requires minimum of 1 cycle")} else {self.XCE1CTL_VALUE = $1, self.XCE1CTL_SETUP_update($1), "ok"}}}}}}}})
- }
- inst XCE2CTL_VALUE :: self.XCE2CTL_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "XCE2 Space Control Register(XCE2CTL) "
- prop Format :: "0x%08X"
- prop JSName :: "xbusXcectl2"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 0
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: ($a = $1 & 0x00000070, $b = $1 & 0x0000000C, $c = $1 & 0x00000080, $d = $1 & 0x0000C000, if (($a != 0x00000020) && ($a != 0x00000050)) {self.error("Undefined memory type for XCE spaces, bit[4..6]")} else {if ($b != 0x00000000) {self.error("reserved space, bit[2..3]")} else {if ($c != 0x00000000) {self.error("reserved space, bit[7]")} else {if ($d != 0x00000000) {self.error("reserved space, bit[14..15]")} else {if (((($1 & 0xF0000000) >> 28) & 0xF) == 0x00000000) {self.error("Write setup width, bit[28..31], requires minimum of 1 cycle")} else {if ((($1 & 0x0FC00000) >> 22) == 0x00000000) {self.error("Write strobe width, bit[22..27], requires minimum of 1 cycle")} else {if ((($1 & 0x000F0000) >> 16) == 0x00000000) {self.error("Read setup width, bit[16..19], requires minimum of 1 cycle")} else {if ((($1 & 0x00003F00) >> 8) == 0x00000000) {self.error("Read strobe width, bit[8..13], requires minimum of 1 cycle")} else {self.XCE2CTL_VALUE = $1, self.XCE2CTL_SETUP_update($1), "ok"}}}}}}}})
- }
- inst XCE3CTL_VALUE :: self.XCE3CTL_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "XCE3 Space Control Register(XCE3CTL) "
- prop Format :: "0x%08X"
- prop JSName :: "xbusXcectl3"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 0
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: ($a = $1 & 0x00000070, $b = $1 & 0x0000000C, $c = $1 & 0x00000080, $d = $1 & 0x0000C000, if (($a != 0x00000020) && ($a != 0x00000050)) {self.error("Undefined memory type for XCE spaces, bit[4..6]")} else {if ($b != 0x00000000) {self.error("reserved space, bit[2..3]")} else {if ($c != 0x00000000) {self.error("reserved space, bit[7]")} else {if ($d != 0x00000000) {self.error("reserved space, bit[14..15]")} else {if (((($1 & 0xF0000000) >> 28) & 0xF) == 0x00000000) {self.error("Write setup width, bit[28..31], requires minimum of 1 cycle")} else {if ((($1 & 0x0FC00000) >> 22) == 0x00000000) {self.error("Write strobe width, bit[22..27], requires minimum of 1 cycle")} else {if ((($1 & 0x000F0000) >> 16) == 0x00000000) {self.error("Read setup width, bit[16..19], requires minimum of 1 cycle")} else {if ((($1 & 0x00003F00) >> 8) == 0x00000000) {self.error("Read strobe width, bit[8..13], requires minimum of 1 cycle")} else {self.XCE3CTL_VALUE = $1, self.XCE3CTL_SETUP_update($1), "ok"}}}}}}}})
- }
- inst XBHC_VALUE :: self.XBHC_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "XBUS HPI Control Register(XBHC)"
- prop Format :: "0x%08X"
- prop JSName :: "xbusXbhc"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 0
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: ($a = $1 & 0x0000FFC0, $b = $1 & 0x00000004, $c = $1 & 0x00000001, $d = $1 & 0x00000018, if ($a != 0x00000000) {self.error("reserved space, bit[6..15]")} else {if ($b != 0x00000000) {self.error("reserved space, bit[2]")} else {if ($c != 0x00000000) {self.error("reserved space, bit[0]")} else {if ($d == 0x00000018) {self.error("Undefined value for START, bit[3..4]")} else {self.XBHC_VALUE = $1, self.XBHC_SETUP_update($1), "ok"}}}})
- }
- inst XBIMA_VALUE :: self.XBIMA_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "XBUS Internal Master Address Register(XBIMA)"
- prop Format :: "0x%08X"
- prop JSName :: "xbusXbimaAdv"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 0
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.XBIMA_VALUE = $1, self.XBIMA_SETUP_update($1), "ok")
- }
- inst XBEA_VALUE :: self.XBEA_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "XBUS External Address Register(XBEA)"
- prop Format :: "0x%08X"
- prop JSName :: "xbusXbeaAdv"
- prop Visible :: 1
- prop Writable :: CSL.XBUS_SUPPORT
- prop NoGen :: 0
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.XBEA_VALUE = $1, self.XBEA_SETUP_update($1), "ok")
- }
- }
- type hXbus {
- prop IsContainedIn :: XBUSFOLDER
- prop name :: "hXbus"
- prop Label :: "XBUS Resource Manager"
- prop JSName :: "HXBUS"
- prop GlobalPropertyPage :: "{980E6520-6246-11d4-B5CC-0050DA2E2CC0}"
- prop InstancePropertyPage :: "{980E6521-6246-11d4-B5CC-0050DA2E2CC0}"
- prop GlobalIcon :: 163
- prop InstanceIcon :: 164
- prop NoGen :: 1
- prop cGen :: CSL.XBUS_SUPPORT
- prop GlobalHelpTopic :: 1072
- global XBUS_INIT_ENABLE :: 0 {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Enable Pre-Initialization"
- prop JSName :: "xbusEnablePreInit"
- prop Visible :: 1
- prop Writable :: if (CSL.XBUS_SUPPORT == 1) {1} else {0}
- prop NoGen :: 0
- prop Set :: ($a = 0, scan ($b; xbusCfg) {$a = $a + 1}, if ($1 == 1 && $a == 1 && self.XBUS_INIT == XBUS_NOTHING) {" You must create a new configuration object"} else {self.XBUS_INIT_ENABLE = $1, "ok"})
- }
- global XBUS_INIT :: XBUS_NOTHING {
- prop Type :: "{7BA2DA00-5A53-11d0-9BFE-0000C0AC14C7}"
- prop MemberType :: xbusCfg
- prop Label :: " Pre-Initialize with"
- prop JSName :: "xbusPreInit"
- prop Visible :: 1
- prop Writable :: if ((CSL.XBUS_SUPPORT == 1) && (self.XBUS_INIT_ENABLE == 1)) {1} else {0}
- }
- }
- object XBUS_NOTHING :: xbusCfg {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param XFCEN_SETUP :: "XFCLK High"
- param XFRAT_SETUP :: "1/8 CPU Clock Rate"
- param WRSETUP0_SETUP :: 15
- param WRSTRB0_SETUP :: 63
- param WRHLD0_SETUP :: 3
- param RDSETUP0_SETUP :: 15
- param RDSTRB0_SETUP :: 63
- param RDHLD0_SETUP :: 3
- param MTYPE0_SETUP :: "32-bit async."
- param WRSETUP1_SETUP :: 15
- param WRSTRB1_SETUP :: 63
- param WRHLD1_SETUP :: 3
- param RDSETUP1_SETUP :: 15
- param RDSTRB1_SETUP :: 63
- param RDHLD1_SETUP :: 3
- param MTYPE1_SETUP :: "32-bit async."
- param WRSETUP2_SETUP :: 15
- param WRSTRB2_SETUP :: 63
- param WRHLD2_SETUP :: 3
- param RDSETUP2_SETUP :: 15
- param RDSTRB2_SETUP :: 63
- param RDHLD2_SETUP :: 3
- param MTYPE2_SETUP :: "32-bit async."
- param WRSETUP3_SETUP :: 15
- param WRSTRB3_SETUP :: 63
- param WRHLD3_SETUP :: 3
- param RDSETUP3_SETUP :: 15
- param RDSTRB3_SETUP :: 63
- param RDHLD3_SETUP :: 3
- param MTYPE3_SETUP :: "32-bit async."
- param XFRCT_SETUP :: 0
- param INTSRC_SETUP :: "DSPINT"
- param START_SETUP :: "Abort Transfer"
- param DSPINT_SETUP :: "None"
- param XBIMA_SETUP :: 0
- param XBEA_SETUP :: 0
- param GBLCTL_VALUE :: 0
- param XCE0CTL_VALUE :: -49373
- param XCE1CTL_VALUE :: -49373
- param XCE2CTL_VALUE :: -49373
- param XCE3CTL_VALUE :: -49373
- param XBHC_VALUE :: 0
- param XBIMA_VALUE :: 0
- param XBEA_VALUE :: 0
- }
- object SDRAM :: MEM {
- param iComment :: "This object defines space for the DSP's off-chip memory"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param base :: -2147483648
- param len :: 33554432
- param iAllocHeap :: 1
- param iHeapSize :: 16777216
- param iUserHeapId :: 1
- param iHeapId :: @_EXTERNALHEAP
- param iReqHeapCount :: 3
- param space :: "code/data"
- param iIsModifiable :: 1
- }
- object trace :: LOG {
- param iComment :: "<add comments here>"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param buflen :: 1024
- param logtype :: "circular"
- param iType :: "printf"
- param iFormat :: "0x%x, 0x%x, 0x%x"
- }
- object VP0CAPTURE :: UDEV {
- param iComment :: "<add comments here>"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param iInit :: 0
- param iFxns :: @_VPORTCAP_Fxns
- param fxnTableType :: "IOM_Fxns"
- param iDevId :: 0
- param iParams :: @_EVMDM642_vCapParamsPort
- param deviceId :: 0
- param initFxn :: 0
- param iIsStacking :: 0
- param deviceGlobalDataPtr :: 0
- param iIsVirtual :: 0
- }
- object VP1CAPTURE :: UDEV {
- param iComment :: "<add comments here>"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param iInit :: 0
- param iFxns :: @_VPORTCAP_Fxns
- param fxnTableType :: "IOM_Fxns"
- param iDevId :: 1
- param iParams :: @_EVMDM642_vCapParamsPort
- param deviceId :: 1
- param initFxn :: 0
- param iIsStacking :: 0
- param deviceGlobalDataPtr :: 0
- param iIsVirtual :: 0
- }
- object VP2DISPLAY :: UDEV {
- param iComment :: "<add comments here>"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param iInit :: 0
- param iFxns :: @_VPORTDIS_Fxns
- param fxnTableType :: "IOM_Fxns"
- param iDevId :: 2
- param iParams :: @_EVMDM642_vDisParamsPort
- param deviceId :: 2
- param initFxn :: 0
- param iIsStacking :: 0
- param deviceGlobalDataPtr :: 0
- param iIsVirtual :: 0
- }
- object tskLoopback :: TSK {
- param iComment :: "Loopback Task"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param iFXN :: @_tskVideoLoopback
- param iARG0 :: 0
- param iARG1 :: 0
- param iARG2 :: 0
- param iARG3 :: 0
- param iARG4 :: 0
- param iARG5 :: 0
- param iARG6 :: 0
- param iARG7 :: 0
- param iAUTOSTK :: 1
- param iMANSTK :: @null
- param iSTKSZ :: 1024
- param iPRI :: 1
- param iENV :: 0
- param iEXITFLAG :: 1
- param iUSETSKNAME :: 0
- param Order :: 2
- }