jpeg_motion.cdb
上传用户:dahaojd
上传日期:2008-01-29
资源大小:14357k
文件大小:1020k
- prop Writable :: (if (CSL.EMIFB_SUPPORT) {1} else {0})
- prop NoGen :: 1
- prop TabName :: "CE3 Space"
- prop Set :: (self.RENEN3_SETUP = $1, self.CESEC3_VALUE = self.CESEC3_VALUE_update(), "ok")
- }
- inst SNCCLK3_SETUP :: "Sync. to ECLKOUT1" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Sync. to ECLKOUT1,Sync. to ECLKOUT2"
- prop Label :: "Synchronization Clock (SNCCLK)"
- prop JSName :: "emifbCesec3Sncclk"
- prop Visible :: 1
- prop Writable :: (if (CSL.EMIFB_SUPPORT) {1} else {0})
- prop NoGen :: 1
- prop TabName :: "CE3 Space"
- prop Set :: (self.SNCCLK3_SETUP = $1, self.CESEC3_VALUE = self.CESEC3_VALUE_update(), "ok")
- }
- inst TRC_SETUP :: 15 {
- prop Label :: "TRC = trc/(eclkout1 period-1) (TRC) "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifbSdctlTrc"
- prop Visible :: 1
- prop Writable :: (CSL.EMIFB_SUPPORT)
- prop NoGen :: 1
- prop TabName :: "SDRAM Control"
- prop Set :: (if ($1 < 0 || $1 > 15) {self.error("Minimum TRC = 0 - Maximum TRC = 15 ")} else {self.TRC_SETUP = $1, self.SDCTL_VALUE = self.SDCTL_VALUE_update(), "ok"})
- }
- inst TRP_SETUP :: 8 {
- prop Label :: "TRP = trp/(eclkout1 period-1) (TRP) "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifbSdctlTrp"
- prop Visible :: 1
- prop Writable :: (CSL.EMIFB_SUPPORT)
- prop NoGen :: 1
- prop TabName :: "SDRAM Control"
- prop Set :: (if ($1 < 0 || $1 > 15) {self.error("Minimum TRP = 0 - Maximum TRP= 15 ")} else {self.TRP_SETUP = $1, self.SDCTL_VALUE = self.SDCTL_VALUE_update(), "ok"})
- }
- inst TRCD_SETUP :: 4 {
- prop Label :: "TRCD = trcd/(eclkout1 period-1) (TRCD) "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifbSdctlTrcd"
- prop Visible :: 1
- prop Writable :: (CSL.EMIFB_SUPPORT)
- prop NoGen :: 1
- prop TabName :: "SDRAM Control"
- prop Set :: (if ($1 < 0 || $1 > 15) {self.error("Minimum TRCD = 0 - Maximum TRCD= 15 ")} else {self.TRCD_SETUP = $1, self.SDCTL_VALUE = self.SDCTL_VALUE_update(), "ok"})
- }
- inst INIT_SETUP :: "Initialize" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Initialize,No effect"
- prop Label :: "Initialization of all SDRAMs (INIT)"
- prop JSName :: "emifbSdctlInit"
- prop Visible :: 1
- prop Writable :: (CSL.EMIFB_SUPPORT)
- prop NoGen :: 1
- prop TabName :: "SDRAM Control"
- prop Set :: (self.INIT_SETUP = $1, self.SDCTL_VALUE = self.SDCTL_VALUE_update(), "ok")
- }
- inst RFEN_SETUP :: "Enable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Enable,Disable"
- prop Label :: "SDRAM Refresh Enable (RFEN)"
- prop JSName :: "emifbSdctlRfen"
- prop Visible :: 1
- prop Writable :: (CSL.EMIFB_SUPPORT)
- prop NoGen :: 1
- prop TabName :: "SDRAM Control"
- prop Set :: (self.RFEN_SETUP = $1, self.SDCTL_VALUE = self.SDCTL_VALUE_update(), "ok")
- }
- inst SDCSZ_SETUP :: " 9 addresses" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: " 9 addresses, 8 addresses,10 addresses"
- prop Label :: "Column Size (SDCSZ)"
- prop JSName :: "emifbSdctlSdcsz"
- prop Visible :: 1
- prop Writable :: (CSL.EMIFB_SUPPORT)
- prop NoGen :: 1
- prop TabName :: "SDRAM Control"
- prop Set :: (self.SDCSZ_SETUP = $1, self.SDCTL_VALUE = self.SDCTL_VALUE_update(), "ok")
- }
- inst SDRSZ_SETUP :: "11 addresses" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "11 addresses,12 addresses,13 addresses"
- prop Label :: "Row Size (SDRSZ)"
- prop JSName :: "emifbSdctlSdrsz"
- prop Visible :: 1
- prop Writable :: (CSL.EMIFB_SUPPORT)
- prop NoGen :: 1
- prop TabName :: "SDRAM Control"
- prop Set :: (self.SDRSZ_SETUP = $1, self.SDCTL_VALUE = self.SDCTL_VALUE_update(), "ok")
- }
- inst SDBSZ_SETUP :: "Two banks" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Two banks,Four banks"
- prop Label :: "Bank Size (SDBSZ)"
- prop JSName :: "emifbSdctlSdbsz"
- prop Visible :: 1
- prop Writable :: (CSL.EMIFB_SUPPORT)
- prop NoGen :: 1
- prop TabName :: "SDRAM Control"
- prop Set :: (self.SDBSZ_SETUP = $1, self.SDCTL_VALUE = self.SDCTL_VALUE_update(), "ok")
- }
- inst PERIOD_SETUP2 :: 1500 {
- prop Label :: "Refresh Period (ECLKOU1 cycles)"
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifbSdtimEclkPeriod"
- prop Visible :: 1
- prop Writable :: (CSL.EMIFB_SUPPORT)
- prop NoGen :: 1
- prop TabName :: "SDRAM Control"
- prop Set :: (if ($1 < 1 || $1 > 4096) {self.error("1 cyc. < PERIOD < 4096 cyc. ")} else {self.PERIOD_SETUP2 = $1, self.SDTIM_VALUE = self.SDTIM_VALUE_update(), "ok"})
- }
- inst XRFR_SETUP :: 1 {
- prop Label :: "Extra Refreshes Ctrl. (XRFR)"
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifbSdctlXrfr"
- prop Visible :: 1
- prop Writable :: (CSL.EMIFB_SUPPORT)
- prop NoGen :: 1
- prop TabName :: "SDRAM Control"
- prop Set :: (if ($1 < 1 || $1 > 4) {self.error("1 < Extra refreshes < 4 ")} else {self.XRFR_SETUP = $1, self.SDTIM_VALUE = self.SDTIM_VALUE_update(), "ok"})
- }
- inst TCL_SETUP :: 3 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "CAS Latency (TCL)"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifbSdextTcl"
- prop Visible :: 1
- prop Writable :: (CSL.EMIFB_SUPPORT)
- prop NoGen :: 1
- prop TabName :: "SDRAM More Opt."
- prop Set :: (if ($1 < 2 || $1 > 3) {self.error("TCL : 2 or 3 ECLKOU1 cycles ")} else {self.TCL_SETUP = $1, self.SDEXT_VALUE = self.SDEXT_VALUE_update(), "ok"})
- }
- inst TRAS_SETUP :: 8 {
- prop Label :: "tras = TRAS + 1 (ECLKOU1 cyc.)"
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifbSdextTras"
- prop Visible :: 1
- prop Writable :: (CSL.EMIFB_SUPPORT)
- prop NoGen :: 1
- prop TabName :: "SDRAM More Opt."
- prop Set :: (if ($1 < 1 || $1 > 8) {self.error("1 ECLKOU1 cycle < tras < 8 ECLKOU1 cycles ")} else {self.TRAS_SETUP = $1, self.SDEXT_VALUE = self.SDEXT_VALUE_update(), "ok"})
- }
- inst TRRD_SETUP :: 3 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop Label :: "trrd = TRRD (2 or 3 ECLKOU1 cyc.)"
- prop JSName :: "emifbSdextTrrd"
- prop Visible :: 1
- prop Writable :: (CSL.EMIFB_SUPPORT)
- prop NoGen :: 1
- prop TabName :: "SDRAM More Opt."
- prop Set :: (if ($1 < 2 || $1 > 3) {self.error("TRRD : 2 or 3 ECLKOU1 cycles ")} else {self.TRRD_SETUP = $1, self.SDEXT_VALUE = self.SDEXT_VALUE_update(), "ok"})
- }
- inst TWR_SETUP :: 2 {
- prop Label :: "twr = TWR + 1 (ECLKOU1 cyc.)"
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifbSdextTwr"
- prop Visible :: 1
- prop Writable :: (CSL.EMIFB_SUPPORT)
- prop NoGen :: 1
- prop TabName :: "SDRAM More Opt."
- prop Set :: (if ($1 < 1 || $1 > 4) {self.error("1 ECLKOU1 cycle < twr < 4 ECLKOU1 cycles ")} else {self.TWR_SETUP = $1, self.SDEXT_VALUE = self.SDEXT_VALUE_update(), "ok"})
- }
- inst THZP_SETUP :: 3 {
- prop Label :: "thzp = THZP + 1 (ECLKOU1 cyc.)"
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifbSdextThzp"
- prop Visible :: 1
- prop Writable :: (CSL.EMIFB_SUPPORT)
- prop NoGen :: 1
- prop TabName :: "SDRAM More Opt."
- prop Set :: (if ($1 < 1 || $1 > 4) {self.error("1 ECLKOU1 cycle < thzp < 4 ECLKOU1 cycles ")} else {self.THZP_SETUP = $1, self.SDEXT_VALUE = self.SDEXT_VALUE_update(), "ok"})
- }
- inst RD2RD_SETUP :: 2 {
- prop Label :: "READ-To-READ (ECLKOU1 cyc.)"
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifbSdextRd2rd"
- prop Visible :: 1
- prop Writable :: (CSL.EMIFB_SUPPORT)
- prop NoGen :: 1
- prop TabName :: "SDRAM More Opt."
- prop Set :: (if ($1 < 1 || $1 > 2) {self.error("1 < # of ECLKOU1 cycles < 2 ")} else {self.RD2RD_SETUP = $1, self.SDEXT_VALUE = self.SDEXT_VALUE_update(), "ok"})
- }
- inst RD2DEAC_SETUP :: 4 {
- prop Label :: "READ-To-DEAC/DEAB (ECLKOU1 cyc.)"
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifbSdextRd2deac"
- prop Visible :: 1
- prop Writable :: (CSL.EMIFB_SUPPORT)
- prop NoGen :: 1
- prop TabName :: "SDRAM More Opt."
- prop Set :: (if ($1 < 1 || $1 > 4) {self.error("1 < # of ECLKOU1 cycles < 4 ")} else {self.RD2DEAC_SETUP = $1, self.SDEXT_VALUE = self.SDEXT_VALUE_update(), "ok"})
- }
- inst RD2WR_SETUP :: 6 {
- prop Label :: "READ-To-WRITE (ECLKOU1 cyc.)"
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifbSdextRd2wr"
- prop Visible :: 1
- prop Writable :: (CSL.EMIFB_SUPPORT)
- prop NoGen :: 1
- prop TabName :: "SDRAM More Opt."
- prop Set :: (if ($1 < 1 || $1 > 8) {self.error("1 < # of ECLKOU1 cycles < 8 ")} else {self.RD2WR_SETUP = $1, self.SDEXT_VALUE = self.SDEXT_VALUE_update(), "ok"})
- }
- inst R2WDQM_SETUP :: 3 {
- prop Label :: "READ-To-WRITE with Interrupt (BEx cyc.)"
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifbSdextR2wdqm"
- prop Visible :: 1
- prop Writable :: (CSL.EMIFB_SUPPORT)
- prop NoGen :: 1
- prop TabName :: "SDRAM More Opt."
- prop Set :: (if ($1 < 1 || $1 > 4) {self.error("1 < # of Bex cycles < 4 ")} else {self.R2WDQM_SETUP = $1, self.SDEXT_VALUE = self.SDEXT_VALUE_update(), "ok"})
- }
- inst WR2WR_SETUP :: 2 {
- prop Label :: "WRITE-To-WRITE (ECLKOU1 cyc.)"
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifbSdextWr2wr"
- prop Visible :: 1
- prop Writable :: (CSL.EMIFB_SUPPORT)
- prop NoGen :: 1
- prop TabName :: "SDRAM More Opt."
- prop Set :: (if ($1 < 1 || $1 > 2) {self.error("1 < # of ECLKOU1 cycles < 2 ")} else {self.WR2WR_SETUP = $1, self.SDEXT_VALUE = self.SDEXT_VALUE_update(), "ok"})
- }
- inst WR2DEAC_SETUP :: 2 {
- prop Label :: "WRITE-To-DEAC/DEAB (ECLKOU1 cyc.)"
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifbSdextWr2deac"
- prop Visible :: 1
- prop Writable :: (CSL.EMIFB_SUPPORT)
- prop NoGen :: 1
- prop TabName :: "SDRAM More Opt."
- prop Set :: (if ($1 < 1 || $1 > 4) {self.error("1 < # of ECLKOU1 cycles < 4 ")} else {self.WR2DEAC_SETUP = $1, self.SDEXT_VALUE = self.SDEXT_VALUE_update(), "ok"})
- }
- inst WR2RD_SETUP :: 2 {
- prop Label :: "WRITE-To-READ (# of ECLKOU1 cyc.)"
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "emifbSdextWr2rd"
- prop Visible :: 1
- prop Writable :: (CSL.EMIFB_SUPPORT)
- prop NoGen :: 1
- prop TabName :: "SDRAM More Opt."
- prop Set :: (if ($1 < 1 || $1 > 2) {self.error("1 < # of ECLKOU1 cycles < 2 ")} else {self.WR2RD_SETUP = $1, self.SDEXT_VALUE = self.SDEXT_VALUE_update(), "ok"})
- }
- inst GBLCTL_VALUE :: self.GBLCTL_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Global Control Reg. (GBLCTL) "
- prop Format :: "0x%08X"
- prop JSName :: "emifbGblctl"
- prop Visible :: 1
- prop Writable :: (CSL.EMIFB_SUPPORT)
- prop NoGen :: 0
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: ($a = $1 & 0xFFF00000, $b = $1 & 0x0000C000, $c = $1 & 0x00001000, $d = $1 & 0x00000003, $e = $1 & 0x000C0000, if ($a != 0) {self.error("Bit field (31..20) is reserved")} else {if ($b != 0) {self.error("Bit field (15..14) is reserved")} else {if ($c != 0) {self.error("Bit field 12 is reserved")} else {if ($d != 0) {self.error("Bit field (1..0) is reserved")} else {if ($e == 0x000C0000) {self.error("Invalid input for EK2RATE bit[19:18]")} else {self.GBLCTL_VALUE = $1 | 0x0000004, self.GBLCTL_SETUP_update($1 | 0x0000004), "ok"}}}}})
- }
- inst CECTL0_VALUE :: self.CECTL0_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "CE0 Space Control Reg. (CECTL0) "
- prop Format :: "0x%08X"
- prop JSName :: "emifbCectl0"
- prop Visible :: 1
- prop Writable :: (CSL.EMIFB_SUPPORT)
- prop NoGen :: 0
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: ($a = $1 & 0x000000F0, $b = $1 & 0x0000C000, if ($a == 0x00000070 || $a == 0x000000F0 || $a == 0x00000050 || $a == 0x00000060 || $a == 0x00000020 || $a == 0x00000030 || $a == 0x00000040 || $a == 0x000000c0 || $a == 0x000000d0 || $a == 0x000000e0) {self.error("Undefined Memory type for CE Spaces - See CEx Space Pages")} else {if ($b == 0x00000000) {self.error("Minimum: 1 ECLKOU1 cycle - Maximum : 3 ECLKOU1 cycles")} else {self.CECTL0_VALUE = $1, self.CECTL0_SETUP_update($1), "ok"}})
- }
- inst CECTL1_VALUE :: self.CECTL1_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "CE1 Space Control Reg. (CECTL1) "
- prop Format :: "0x%08X"
- prop JSName :: "emifbCectl1"
- prop Visible :: 1
- prop Writable :: (CSL.EMIFB_SUPPORT)
- prop NoGen :: 0
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: ($a = $1 & 0x000000F0, $b = $1 & 0x0000C000, if ($a == 0x00000070 || $a == 0x000000F0 || $a == 0x00000050 || $a == 0x00000060 || $a == 0x00000020 || $a == 0x00000030 || $a == 0x00000040 || $a == 0x000000c0 || $a == 0x000000d0 || $a == 0x000000e0) {self.error("Undefined Memory type for CE Spaces - See CEx Space Pages")} else {if ($b == 0x00000000) {self.error("Minimum: 1 ECLKOU1 cycle - Maximum : 3 ECLKOU1 cycles")} else {self.CECTL1_VALUE = $1, self.CECTL1_SETUP_update($1), "ok"}})
- }
- inst CECTL2_VALUE :: self.CECTL2_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "CE2 Space Control Reg. (CECTL2) "
- prop Format :: "0x%08X"
- prop JSName :: "emifbCectl2"
- prop Visible :: 1
- prop Writable :: (CSL.EMIFB_SUPPORT)
- prop NoGen :: 0
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: ($a = $1 & 0x000000F0, $b = $1 & 0x0000C000, if ($a == 0x00000070 || $a == 0x000000F0 || $a == 0x00000050 || $a == 0x00000060 || $a == 0x00000020 || $a == 0x00000030 || $a == 0x00000040 || $a == 0x000000c0 || $a == 0x000000d0 || $a == 0x000000e0) {self.error("Undefined Memory type for CE Spaces - See CEx Space Pages")} else {if ($b == 0x00000000) {self.error("Minimum: 1 ECLKOU1 cycle - Maximum : 3 ECLKOU1 cycles")} else {self.CECTL2_VALUE = $1, self.CECTL2_SETUP_update($1), "ok"}})
- }
- inst CECTL3_VALUE :: self.CECTL3_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "CE3 Space Control Reg. (CECTL3) "
- prop Format :: "0x%08X"
- prop JSName :: "emifbCectl3"
- prop Visible :: 1
- prop Writable :: (CSL.EMIFB_SUPPORT)
- prop NoGen :: 0
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: ($a = $1 & 0x000000F0, $b = $1 & 0x0000C000, if ($a == 0x00000070 || $a == 0x000000F0 || $a == 0x00000050 || $a == 0x00000060 || $a == 0x00000020 || $a == 0x00000030 || $a == 0x00000040 || $a == 0x000000c0 || $a == 0x000000d0 || $a == 0x000000e0) {self.error("Undefined Memory type for CE Spaces - See CEx Space Pages")} else {if ($b == 0x00000000) {self.error("Minimum: 1 ECLKOU1 cycle - Maximum : 3 ECLKOU1 cycles")} else {self.CECTL3_VALUE = $1, self.CECTL3_SETUP_update($1), "ok"}})
- }
- inst SDCTL_VALUE :: self.SDCTL_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "SDRAM Control Reg.(SDCTL) "
- prop Format :: "0x%08X"
- prop JSName :: "emifbSdctl"
- prop Visible :: 1
- prop Writable :: (CSL.EMIFB_SUPPORT)
- prop NoGen :: 0
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: ($a = $1 & 0x0c000000, if ($a == 0x0c000000) {self.error("Undefined Value for Column Size field SDCSZ")} else {$b = $1 & 0x30000000, if ($b == 0x30000000) {self.error("Undefined Value for Row Size field SDRSZ")} else {$c = $1 & 0x80000000, if ($c == 0x80000000) {self.error("Bit field 31 is reserved")} else {$d = $1 & 0x00000FFE, if ($d != 0) {self.error("Bit field(bit[1..11]) is reserved")} else {self.SDCTL_VALUE = $1, self.SDCTL_SETUP_update($1), "ok"}}}})
- }
- inst SDTIM_VALUE :: self.SDTIM_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "SDRAM Timing Reg.(SDTIM) "
- prop Format :: "0x%08X"
- prop JSName :: "emifbSdtim"
- prop Visible :: 1
- prop Writable :: (CSL.EMIFB_SUPPORT)
- prop NoGen :: 0
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: ($a = $1 & 0x0000FFF, if ($a == 0x00000000) {self.error("1 cyc. < PERIOD < 4096 cyc. ")} else {$b = $1 & 0xFC000000, if ($b != 0) {self.error("Bit field(bit[26..31]) is reserved")} else {self.SDTIM_VALUE = $1 | 0x005dc000, self.SDTIM_SETUP_update($1 | 0x005dc000), "ok"}})
- }
- inst SDEXT_VALUE :: self.SDEXT_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "SDRAM Extended Reg.(SDEXT) "
- prop Format :: "0x%08X"
- prop JSName :: "emifbSdext"
- prop Visible :: 1
- prop Writable :: (CSL.EMIFB_SUPPORT)
- prop NoGen :: 0
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: ($a = $1 & 0xFFE00000, if ($a != 0) {self.error("Bit field(bit[21..31]) is reserved")} else {self.SDEXT_VALUE = $1, self.SDEXT_SETUP_update($1), "ok"})
- }
- inst CESEC0_VALUE :: self.CESEC0_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "CE0 Space Secondary Control Reg. (CESEC0)"
- prop Format :: "0x%08X"
- prop JSName :: "emifbCesec0"
- prop Visible :: 1
- prop Writable :: if (CSL.EMIFB_SUPPORT != 0) {1} else {0}
- prop NoGen :: 0
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: ($a = $1 & 0xFFFFFF80, if ($a != 0) {self.error("Bit field(bit[7..31]) is reserved")} else {self.CESEC0_VALUE = $1, self.CESEC0_SETUP_update($1), "ok"})
- }
- inst CESEC1_VALUE :: self.CESEC1_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "CE1 Space Secondary Control Reg. (CESEC1)"
- prop Format :: "0x%08X"
- prop JSName :: "emifbCesec1"
- prop Visible :: 1
- prop Writable :: if (CSL.EMIFB_SUPPORT != 0) {1} else {0}
- prop NoGen :: 0
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: ($a = $1 & 0xFFFFFF80, if ($a != 0) {self.error("Bit field(bit[7..31]) is reserved")} else {self.CESEC1_VALUE = $1, self.CESEC1_SETUP_update($1), "ok"})
- }
- inst CESEC2_VALUE :: self.CESEC2_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "CE2 Space Secondary Control Reg. (CESEC2)"
- prop Format :: "0x%08X"
- prop JSName :: "emifbCesec2"
- prop Visible :: 1
- prop Writable :: if (CSL.EMIFB_SUPPORT != 0) {1} else {0}
- prop NoGen :: 0
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: ($a = $1 & 0xFFFFFF80, if ($a != 0) {self.error("Bit field(bit[7..31]) is reserved")} else {self.CESEC2_VALUE = $1, self.CESEC2_SETUP_update($1), "ok"})
- }
- inst CESEC3_VALUE :: self.CESEC3_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "CE3 Space Secondary Control Reg. (CESEC3)"
- prop Format :: "0x%08X"
- prop JSName :: "emifbCesec3"
- prop Visible :: 1
- prop Writable :: if (CSL.EMIFB_SUPPORT != 0) {1} else {0}
- prop NoGen :: 0
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: ($a = $1 & 0xFFFFFF80, if ($a != 0) {self.error("Bit field(bit[7..31]) is reserved")} else {self.CESEC3_VALUE = $1, self.CESEC3_SETUP_update($1), "ok"})
- }
- }
- type hEmifb {
- prop IsContainedIn :: EMIFBFOLDER
- prop name :: "hEmifb"
- prop Label :: "EMIF Resource Manager"
- prop JSName :: "HEMIFB"
- prop NoGen :: 1
- prop GlobalPropertyPage :: "{980E6534-6246-11d4-B5CC-0050DA2E2CC0}"
- prop InstancePropertyPage :: "{980E6535-6246-11d4-B5CC-0050DA2E2CC0}"
- prop GlobalIcon :: 163
- prop InstanceIcon :: 164
- prop GlobalHelpTopic :: (1045)
- prop cGen :: 1
- global EMIFB_INIT_ENABLE :: 0 {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Enable Pre-Initialization"
- prop JSName :: "emifbEnablePreInit"
- prop Visible :: 1
- prop Writable :: (CSL.EMIFB_SUPPORT)
- prop NoGen :: 0
- prop Set :: ($a = 0, scan ($b; emifbCfg) {$a = $a + 1}, if ($1 == 1 && $a == 1 && self.EMIFB_INIT == EMIFB_NOTHING) {" You must create a new configuration object"} else {self.EMIFB_INIT_ENABLE = $1, if ($1 == 0) {self.EMIFB_INIT = EMIFB_NOTHING} , "ok"})
- }
- global EMIFB_INIT :: EMIFB_NOTHING {
- prop Type :: "{7BA2DA00-5A53-11d0-9BFE-0000C0AC14C7}"
- prop MemberType :: emifbCfg
- prop Label :: " Pre-Initialize with"
- prop JSName :: "emifbPreInit"
- prop Visible :: 1
- prop Writable :: if (CSL.EMIFB_SUPPORT) && (self.EMIFB_INIT_ENABLE == 1) {1} else {0}
- }
- }
- object EMIFB_NOTHING :: emifbCfg {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param NOHOLD_SETUP :: "Enable Hold"
- param CLK4EN_SETUP :: "Enabled to clock"
- param CLK6EN_SETUP :: "Enabled to clock"
- param EK1EN_SETUP :: "Enabled to clock"
- param EK2EN_SETUP :: "Enabled to clock"
- param EK1HZ_SETUP :: "High-Z during hold"
- param EK2HZ_SETUP :: "Clock during hold"
- param EK2RATE_SETUP :: "1/4x EMIF input clock"
- param BRMODE_SETUP :: "access/refresh pending or in progress"
- param MTYPE0_SETUP :: " 8-bit async. interf."
- param RDSTRB0_SETUP :: 63
- param RDSETUP0_SETUP :: 15
- param RDHLD0_SETUP :: 3
- param WRSTRB0_SETUP :: 63
- param WRSETUP0_SETUP :: 15
- param WRHLD0_SETUP :: 3
- param TA0_SETUP :: 3
- param MTYPE1_SETUP :: " 8-bit async. interf."
- param RDSTRB1_SETUP :: 63
- param RDSETUP1_SETUP :: 15
- param RDHLD1_SETUP :: 3
- param WRSTRB1_SETUP :: 63
- param WRSETUP1_SETUP :: 15
- param WRHLD1_SETUP :: 3
- param TA1_SETUP :: 3
- param MTYPE2_SETUP :: " 8-bit async. interf."
- param RDSTRB2_SETUP :: 63
- param RDSETUP2_SETUP :: 15
- param RDHLD2_SETUP :: 3
- param WRSTRB2_SETUP :: 63
- param WRSETUP2_SETUP :: 15
- param WRHLD2_SETUP :: 3
- param TA2_SETUP :: 3
- param MTYPE3_SETUP :: " 8-bit async. interf."
- param RDSTRB3_SETUP :: 63
- param RDSETUP3_SETUP :: 15
- param RDHLD3_SETUP :: 3
- param WRSTRB3_SETUP :: 63
- param WRSETUP3_SETUP :: 15
- param WRHLD3_SETUP :: 3
- param TA3_SETUP :: 3
- param SYNCRL0_SETUP :: "2 cycles"
- param SYNCWL0_SETUP :: "0 cycle"
- param CEEXT0_SETUP :: "Inactive"
- param RENEN0_SETUP :: "ADS Mode"
- param SNCCLK0_SETUP :: "Sync. to ECLKOUT1"
- param SYNCRL1_SETUP :: "2 cycles"
- param SYNCWL1_SETUP :: "0 cycle"
- param CEEXT1_SETUP :: "Inactive"
- param RENEN1_SETUP :: "ADS Mode"
- param SNCCLK1_SETUP :: "Sync. to ECLKOUT1"
- param SYNCRL2_SETUP :: "2 cycles"
- param SYNCWL2_SETUP :: "0 cycle"
- param CEEXT2_SETUP :: "Inactive"
- param RENEN2_SETUP :: "ADS Mode"
- param SNCCLK2_SETUP :: "Sync. to ECLKOUT1"
- param SYNCRL3_SETUP :: "2 cycles"
- param SYNCWL3_SETUP :: "0 cycle"
- param CEEXT3_SETUP :: "Inactive"
- param RENEN3_SETUP :: "ADS Mode"
- param SNCCLK3_SETUP :: "Sync. to ECLKOUT1"
- param TRC_SETUP :: 15
- param TRP_SETUP :: 8
- param TRCD_SETUP :: 4
- param INIT_SETUP :: "Initialize"
- param RFEN_SETUP :: "Enable"
- param SDCSZ_SETUP :: " 9 addresses"
- param SDRSZ_SETUP :: "11 addresses"
- param SDBSZ_SETUP :: "Two banks"
- param PERIOD_SETUP2 :: 1500
- param XRFR_SETUP :: 1
- param TCL_SETUP :: 3
- param TRAS_SETUP :: 8
- param TRRD_SETUP :: 3
- param TWR_SETUP :: 2
- param THZP_SETUP :: 3
- param RD2RD_SETUP :: 2
- param RD2DEAC_SETUP :: 4
- param RD2WR_SETUP :: 6
- param R2WDQM_SETUP :: 3
- param WR2WR_SETUP :: 2
- param WR2DEAC_SETUP :: 2
- param WR2RD_SETUP :: 2
- param GBLCTL_VALUE :: 598140
- param CECTL0_VALUE :: -253
- param CECTL1_VALUE :: -253
- param CECTL2_VALUE :: -253
- param CECTL3_VALUE :: -253
- param SDCTL_VALUE :: 55111680
- param SDTIM_VALUE :: 6145500
- param SDEXT_VALUE :: 1531711
- param CESEC0_VALUE :: 2
- param CESEC1_VALUE :: 2
- param CESEC2_VALUE :: 2
- param CESEC3_VALUE :: 2
- }
- type MCBSPFOLDER {
- isa ModuleFolder
- prop IsContainedIn :: CSL
- prop name :: "MCBSP"
- prop Label :: "MCBSP - Multichannel Buffered Serial Port"
- prop NoGen :: 1
- prop GlobalPropertyPage :: "{1E62DD14-59A8-11d4-947D-0050048381B7}"
- prop InstancePropertyPage :: "{1E62DD15-59A8-11d4-947D-0050048381B7}"
- prop GlobalIcon :: 159
- prop InstanceIcon :: 160
- prop GlobalHelpTopic :: (1050)
- 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 mcbspCfg {
- isa ObjectMgr
- prop Name :: "mcbspCfg"
- prop Label :: "MCBSP Configuration Manager"
- prop JSName :: "MCBSP"
- prop IsContainedIn :: MCBSPFOLDER
- prop NoGen :: 1
- prop GlobalPropertyPage :: "{1E62DD12-59A8-11d4-947D-0050048381B7}"
- prop InstancePropertyPage :: "{1E62DD13-59A8-11d4-947D-0050048381B7}"
- prop GlobalIcon :: 159
- prop InstanceIcon :: 160
- prop GlobalHelpTopic :: (1051)
- prop InstanceHelpTopic :: (1051)
- prop cGen :: 1
- prop cStruct :: 1
- prop cStructType :: "MCBSP_Config"
- prop cHeaderName :: if self.gNumOf > 0 {"csl_mcbsp.h"} else {""}
- prop cStructQual :: "far"
- prop cStructName :: self
- prop localDelete :: (self.myDelete)
- prop myDelete :: ($a = 0, scan ($b; mcbspCfg) {$a = $a + 1}, if ($a == 2) {scan ($c; hMcbsp) {$c.MCBSP_INIT_ENABLE = 0}} , "ok")
- prop DLB_SPCR :: (if (self.DLB_SETUP == "Enable") {0x00008000} else {0x00000000})
- prop CLKSTP_SPCR :: (if (self.CLKSTP_SETUP == "Disable") {0x00000000} else {if (self.CLKSTP_SETUP == "NoDelay(SPI)") {0x00001000} else {if (self.CLKSTP_SETUP == "Delay(SPI)") {0x00001800} }})
- prop FREE_SPCR :: (if (self.FREE_SETUP == "Free Running") {0x02000000} else {0x00000000})
- prop SOFT_SPCR :: (if (self.SOFT_SETUP == "Transmission Complete") {0x01000000} else {0x00000000})
- prop XINTM_SPCR :: (if (self.XINTM_SETUP == "XRDY") {0x00000000} else {if (self.XINTM_SETUP == "End of Subframe") {0x00100000} else {if (self.XINTM_SETUP == "New Frame") {0x00200000} else {if (self.XINTM_SETUP == "XSYNCERR") {0x00300000} }}})
- prop RINTM_SPCR :: (if (self.RINTM_SETUP == "RRDY") {0x00000000} else {if (self.RINTM_SETUP == "End of Subframe") {0x00000010} else {if (self.RINTM_SETUP == "New Frame") {0x00000020} else {if (self.RINTM_SETUP == "RSYNCERR") {0x00000030} }}})
- prop XCOMPAND_XCR :: (if (self.XCOMPAND_SETUP == "No Companding/MSB") {0x00000000} else {if (self.XCOMPAND_SETUP == "No Compamding/LSB") {0x00080000} else {if (self.XCOMPAND_SETUP == "Companding/u-law") {0x00100000} else {if (self.XCOMPAND_SETUP == "Companding/A-law") {0x00180000} }}})
- prop RCOMPAND_RCR :: (if (self.RCOMPAND_SETUP == "No Companding/MSB") {0x00000000} else {if (self.RCOMPAND_SETUP == "No Compamding/LSB") {0x00080000} else {if (self.RCOMPAND_SETUP == "Companding/u-law") {0x00100000} else {if (self.RCOMPAND_SETUP == "Companding/A-law") {0x00180000} }}})
- prop XRST_SPCR :: (if (self.XRST_SETUP == "Enable") {0x00010000} else {0x00000000})
- prop XSYNCERR_SPCR :: (if (self.XSYNCERR_SETUP == "Set") {0x00080000} else {0x00000000})
- prop CLKXM_PCR :: (if (self.CLKXM_SETUP == "Input/Mcbsp-slave(SPI)") {0x00000000} else {if (self.CLKXM_SETUP == "Output/Mcbsp-master(SPI)") {0x00000200} })
- prop CLKXP_PCR :: (if (self.CLKXP_SETUP == "Rising Edge") {0x00000000} else {0x00000002})
- prop FSXM_PCR :: (if (self.FSXM_SETUP == "External Source") {0x00000000} else {if (self.FSXM_SETUP == "Sample-rate Generator") {0x00000800} })
- prop FSXP_PCR :: (if (self.FSXP_SETUP == "Active High") {0x00000000} else {0x00000008})
- prop DXENA_SPCR :: (if (self.DXENA_SETUP == "Enable") {0x00000080} else {0x00000000})
- prop XFIG_XCR :: (if (self.XFIG_SETUP == "Transfer restarted") {0x00000000} else {0x00040000})
- prop XDATDLY_XCR :: (if (self.XDATDLY_SETUP == "0-bit") {0x0000000} else {if (self.XDATDLY_SETUP == "1-bit") {0x00010000} else {if (self.XDATDLY_SETUP == "2-bits") {0x00020000} }})
- prop XWDREVRS_XCR :: (if (self.XWDREVRS_SETUP == "Enable") {0x00000010} else {0x00000000})
- prop XPHASE_XCR :: (if (self.XPHASE_SETUP == "Single Phase") {0x00000000} else {0x80000000})
- prop XFRLEN1_XCR :: ((self.XFRLEN1_SETUP - 1) << 8)
- prop XWDLEN1_XCR :: (if (self.XWDLEN1_SETUP == "8-bits") {0x00000000} else {if (self.XWDLEN1_SETUP == "12-bits") {0x00000020} else {if (self.XWDLEN1_SETUP == "16-bits") {0x00000040} else {if (self.XWDLEN1_SETUP == "20-bits") {0x00000060} else {if (self.XWDLEN1_SETUP == "24-bits") {0x00000080} else {if (self.XWDLEN1_SETUP == "32-bits") {0x000000A0} }}}}})
- prop XFRLEN2_XCR :: ((self.XFRLEN2_SETUP - 1) << 24)
- prop XWDLEN2_XCR :: (if (self.XWDLEN2_SETUP == "8-bits") {0x00000000} else {if (self.XWDLEN2_SETUP == "12-bits") {0x00200000} else {if (self.XWDLEN2_SETUP == "16-bits") {0x00400000} else {if (self.XWDLEN2_SETUP == "20-bits") {0x00600000} else {if (self.XWDLEN2_SETUP == "24-bits") {0x00800000} else {if (self.XWDLEN2_SETUP == "32-bits") {0x00A00000} }}}}})
- prop RRST_SPCR :: (if (self.RRST_SETUP == "Enable") {0x00000001} else {0x00000000})
- prop RSYNCERR_SPCR :: (if (self.RSYNCERR_SETUP == "Set") {0x00000008} else {0x00000000})
- prop CLKRM_PCR :: (if (self.CLKRM_SETUP == "Input/Hi.Z(DLB)") {0x00000000} else {if (self.CLKRM_SETUP == "Output/Output(DLB)") {0x00000100} })
- prop CLKRP_PCR :: (if (self.CLKRP_SETUP == "Falling Edge") {0x00000000} else {0x00000001})
- prop FSRM_PCR :: (if (self.FSRM_SETUP == "External Source") {0x00000000} else {if (self.FSRM_SETUP == "Sample-rate Generator") {0x00000400} })
- prop FSRP_PCR :: (if (self.FSRP_SETUP == "Active High") {0x00000000} else {0x00000004})
- prop RJUST_SPCR :: (if (self.RJUST_SETUP == "Right/sign-ext.") {0x00002000} else {if (self.RJUST_SETUP == "Left/zero-fill") {0x00004000} else {0x00000000}})
- prop RFIG_RCR :: (if (self.RFIG_SETUP == "Transfer restarted") {0x00000000} else {0x00040000})
- prop RDATDLY_RCR :: (if (self.RDATDLY_SETUP == "0-bit") {0x0000000} else {if (self.RDATDLY_SETUP == "1-bit") {0x00010000} else {if (self.RDATDLY_SETUP == "2-bits") {0x00020000} }})
- prop RWDREVRS_RCR :: (if (self.RWDREVRS_SETUP == "Enable") {0x00000010} else {0x00000000})
- prop RPHASE_RCR :: (if (self.RPHASE_SETUP == "Single Phase") {0x00000000} else {0x80000000})
- prop RFRLEN1_RCR :: ((self.RFRLEN1_SETUP - 1) << 8)
- prop RWDLEN1_RCR :: (if (self.RWDLEN1_SETUP == "8-bits") {0x00000000} else {if (self.RWDLEN1_SETUP == "12-bits") {0x00000020} else {if (self.RWDLEN1_SETUP == "16-bits") {0x00000040} else {if (self.RWDLEN1_SETUP == "20-bits") {0x00000060} else {if (self.RWDLEN1_SETUP == "24-bits") {0x00000080} else {if (self.RWDLEN1_SETUP == "32-bits") {0x000000A0} }}}}})
- prop RFRLEN2_RCR :: ((self.RFRLEN2_SETUP - 1) << 24)
- prop RWDLEN2_RCR :: (if (self.RWDLEN2_SETUP == "8-bits") {0x00000000} else {if (self.RWDLEN2_SETUP == "12-bits") {0x00200000} else {if (self.RWDLEN2_SETUP == "16-bits") {0x00400000} else {if (self.RWDLEN2_SETUP == "20-bits") {0x00600000} else {if (self.RWDLEN2_SETUP == "24-bits") {0x00800000} else {if (self.RWDLEN2_SETUP == "32-bits") {0x00A00000} }}}}})
- prop GRST_SPCR :: (if (self.GRST_SETUP == "Clock Generation") {0x00400000} else {0x00000000})
- prop FRST_SPCR :: (if (self.FRST_SETUP == "Frame Sync.") {0x00800000} else {0x00000000})
- prop CLKSM_SRGR :: (if (self.CLKSM_SETUP == "Internal Clock") {0x20000000} else {0x00000000})
- prop GSYNC_SRGR :: (if (self.GSYNC_SETUP == "External Frame Sync.") {0x80000000} else {0x00000000})
- prop CLKSP_SRGR :: (if (self.CLKSP_SETUP == "Falling Edge") {0x40000000} else {0x00000000})
- prop FSGM_SRGR :: (if (self.FSGM_SETUP == "DXR-to-XSR copy") {0x00000000} else {0x10000000})
- prop FPER_SRGR :: ((self.FPER_SETUP - 1) << 16)
- prop FWID_SRGR :: ((self.FWID_SETUP - 1) << 8)
- prop CLKGDV_SRGR :: ((self.CLKGDV_SETUP - 1))
- prop XMCM_MCR :: (if (self.XMCM_SETUP == "Enable/No-Masking") {0x00000000} else {if (self.XMCM_SETUP == "Disable/XP(A/B)BLK-XCEREx") {0x00010000} else {if (self.XMCM_SETUP == "Enable/Masking") {0x00020000} else {0x00030000}}})
- prop RX_MCME_MCR :: (if (self.RX_MCME_SETUP == "Normal Operation") {0x00000000} else {if (self.RX_MCME_SETUP == "Enhanced Operation") {0x02000200} })
- prop XPABLK_MCR :: (if (self.XPABLK_SETUP == " 0-to-15") {0x00000000} else {if (self.XPABLK_SETUP == " 32-to-47") {0x00200000} else {if (self.XPABLK_SETUP == " 64-to-79") {0x00400000} else {0x00600000}}})
- prop XPBBLK_MCR :: (if (self.XPBBLK_SETUP == " 16-to-31") {0x00000000} else {if (self.XPBBLK_SETUP == " 48-to-63") {0x00800000} else {if (self.XPBBLK_SETUP == " 80-to-95") {0x01000000} else {0x01800000}}})
- prop XCEA_XCER :: ((self.XCEA_SETUP))
- prop XCEB_XCER :: ((self.XCEB_SETUP << 16))
- prop XCE0_XCERE0 :: ((self.XCE0_SETUP))
- prop XCE1_XCERE1 :: ((self.XCE1_SETUP))
- prop XCE2_XCERE2 :: ((self.XCE2_SETUP))
- prop XCE3_XCERE3 :: ((self.XCE3_SETUP))
- prop RMCM_MCR :: (if (self.RMCM_SETUP == "All Enable") {0x00000000} else {0x00000001})
- prop RPABLK_MCR :: (if (self.RPABLK_SETUP == " 0-to-15") {0x00000000} else {if (self.RPABLK_SETUP == " 32-to-47") {0x00000020} else {if (self.RPABLK_SETUP == " 64-to-79") {0x00000040} else {0x00000060}}})
- prop RPBBLK_MCR :: (if (self.RPBBLK_SETUP == " 16-to-31") {0x00000000} else {if (self.RPBBLK_SETUP == " 48-to-63") {0x00000080} else {if (self.RPBBLK_SETUP == " 80-to-95") {0x00000100} else {0x00000180}}})
- prop RCEA_RCER :: ((self.RCEA_SETUP))
- prop RCEB_RCER :: ((self.RCEB_SETUP << 16))
- prop RCE0_RCERE0 :: ((self.RCE0_SETUP))
- prop RCE1_RCERE1 :: ((self.RCE1_SETUP))
- prop RCE2_RCERE2 :: ((self.RCE2_SETUP))
- prop RCE3_RCERE3 :: ((self.RCE3_SETUP))
- prop XIOEN_PCR :: (if (self.XIOEN_SETUP == "Enable") {0x00002000} else {0x00000000})
- prop CLKXP_IO :: ((self.CLKXP_output << 1))
- prop FSXP_IO :: ((self.FSXP_output << 3))
- prop DX_IO :: ((self.DX_output << 5))
- prop RIOEN_PCR :: (if (self.RIOEN_SETUP == "Enable") {0x00001000} else {0x00000000})
- prop CLKRP_IO :: ((self.CLKRP_output))
- prop FSRP_IO :: ((self.FSRP_output << 2))
- prop SPCR_VALUE_update :: (0x033EFFFE & ((if (CSL.C11_SUPPORT || CSL.C64_SUPPORT) {self.FREE_SPCR()} else {0}) | (if (CSL.C11_SUPPORT || CSL.C64_SUPPORT) {self.SOFT_SPCR()} else {0}) | self.XINTM_SPCR() | self.XSYNCERR_SPCR() | self.DLB_SPCR() | self.RJUST_SPCR() | self.CLKSTP_SPCR() | (if (CSL.C11_SUPPORT || CSL.C64_SUPPORT) {self.DXENA_SPCR()} else {0}) | self.RINTM_SPCR() | self.RSYNCERR_SPCR()))
- prop SPCR_SETUP_update :: (if ((CSL.C11_SUPPORT || CSL.C64_SUPPORT)) {self.FREE_SETUP = if ($1 & 0x02000000) {"Free Running"} else {"SOFT bit Control"}, self.SOFT_SETUP = if ($1 & 0x01000000) {"Transmission Complete"} else {"Transmission Aborted"}} , self.XINTM_SETUP = ($a = ($1 & 0x00300000), if ($a == 0x00100000) {"End of Subframe"} else {if ($a == 0x00200000) {"New Frame"} else {if ($a == 0x00300000) {"XSYNCERR"} else {"XRDY"}}}), self.XSYNCERR_SETUP = if ($1 & 0x00080000) {"Set"} else {"Clear"}, self.DLB_SETUP = if ($1 & 0x00008000) {"Enable"} else {"Disable"}, self.RJUST_SETUP = ($a = ($1 & 0x00003000), if ($a == 0x00002000) {"Right/sign-ext."} else {if ($a == 0x00004000) {"Left/zero-fill"} else {"Right/zero-fill"}}), self.CLKSTP_SETUP = ($a = ($1 & 0x00001800), if ($a == 0x00001000) {"NoDelay(SPI)"} else {if ($a == 0x00001800) {"Delay(SPI)"} else {"Disable"}}), if ((CSL.C11_SUPPORT) || CSL.C64_SUPPORT) {self.DXENA_SETUP = if ($1 & 0x00000080) {"Enable"} else {"Disable"}} , self.RINTM_SETUP = ($a = ($1 & 0x00000030), if ($a == 0x00000010) {"End of Subframe"} else {if ($a == 0x00000020) {"New Frame"} else {if ($a == 0x00000030) {"RSYNCERR"} else {"RRDY"}}}), self.RSYNCERR_SETUP = if ($1 & 0x00000008) {"Set"} else {"Clear"})
- prop RCR_VALUE_update :: (self.RPHASE_RCR() | self.RFRLEN2_RCR() | self.RWDLEN2_RCR() | self.RCOMPAND_RCR() | self.RFIG_RCR() | self.RDATDLY_RCR() | self.RFRLEN1_RCR() | self.RWDLEN1_RCR() | (if ((CSL.C11_SUPPORT || CSL.C64_SUPPORT)) {self.RWDREVRS_RCR()} else {0}))
- prop RCR_SETUP_update :: (self.RPHASE_SETUP = if ($1 & 0x80000000) {"Dual Phase"} else {"Single Phase"}, self.RFRLEN2_SETUP = ((($1 & 0x7f000000) >> 24) + 1), self.RWDLEN2_SETUP = ($a = ($1 & 0x00e00000), if ($a == 0x00200000) {"12-bits"} else {if ($a == 0x00400000) {"16-bits"} else {if ($a == 0x00600000) {"20-bits"} else {if ($a == 0x00800000) {"24-bits"} else {if ($a == 0x00A00000) {"32-bits"} else {"8-bits"}}}}}), self.RCOMPAND_SETUP = ($a = ($1 & 0x00180000), if ($a == 0x00080000) {"No Companding/LSB"} else {if ($a == 0x00100000) {"Companding/u-law"} else {if ($a == 0x00180000) {"Companding/A-law"} else {"No Companding/MSB"}}}), self.RFIG_SETUP = if ($1 & 0x00040000) {"Pulse ignored"} else {"Transfer restarted"}, self.RDATDLY_SETUP = ($a = ($1 & 0x00030000), if ($a == 0x00010000) {"1-bit"} else {if ($a == 0x00020000) {"2-bits"} else {"0-bit"}}), self.RFRLEN1_SETUP = ((($1 & 0x00007f00) >> 8) + 1), self.RWDLEN1_SETUP = ($a = ($1 & 0x000000e0), if ($a == 0x00000020) {"12-bits"} else {if ($a == 0x00000040) {"16-bits"} else {if ($a == 0x00000060) {"20-bits"} else {if ($a == 0x00000080) {"24-bits"} else {if ($a == 0x000000A0) {"32-bits"} else {"8-bits"}}}}}), if ((CSL.C11_SUPPORT || CSL.C64_SUPPORT)) {self.RWDREVRS_SETUP = if ($1 & 0x00000010) {"Enable"} else {"Disable"}} )
- prop XCR_VALUE_update :: (self.XPHASE_XCR() | self.XFRLEN2_XCR() | self.XWDLEN2_XCR() | self.XCOMPAND_XCR() | self.XFIG_XCR() | self.XDATDLY_XCR() | self.XFRLEN1_XCR() | self.XWDLEN1_XCR() | (if ((CSL.C11_SUPPORT || CSL.C64_SUPPORT)) {self.XWDREVRS_XCR()} else {0}))
- prop XCR_SETUP_update :: (self.XPHASE_SETUP = if ($1 & 0x80000000) {"Dual Phase"} else {"Single Phase"}, self.XFRLEN2_SETUP = ((($1 & 0x7f000000) >> 24) + 1), self.XWDLEN2_SETUP = ($a = ($1 & 0x00e00000), if ($a == 0x00200000) {"12-bits"} else {if ($a == 0x00400000) {"16-bits"} else {if ($a == 0x00600000) {"20-bits"} else {if ($a == 0x00800000) {"24-bits"} else {if ($a == 0x00a00000) {"32-bits"} else {"8-bits"}}}}}), self.XCOMPAND_SETUP = ($a = ($1 & 0x00180000), if ($a == 0x00080000) {"No Companding/LSB"} else {if ($a == 0x00100000) {"Companding/u-law"} else {if ($a == 0x00180000) {"Companding/A-law"} else {"No Companding/MSB"}}}), self.XFIG_SETUP = if ($1 & 0x00040000) {"Pulse ignored"} else {"Transfer restarted"}, self.XDATDLY_SETUP = ($a = ($1 & 0x00030000), if ($a == 0x00010000) {"1-bit"} else {if ($a == 0x00020000) {"2-bits"} else {"0-bit"}}), self.XFRLEN1_SETUP = ((($1 & 0x00007f00) >> 8) + 1), self.XWDLEN1_SETUP = ($a = ($1 & 0x000000e0), if ($a == 0x00000020) {"12-bits"} else {if ($a == 0x00000040) {"16-bits"} else {if ($a == 0x00000060) {"20-bits"} else {if ($a == 0x00000080) {"24-bits"} else {if ($a == 0x000000A0) {"32-bits"} else {"8-bits"}}}}}), if ((CSL.C11_SUPPORT || CSL.C64_SUPPORT)) {self.XWDREVRS_SETUP = if ($1 & 0x00000010) {"Enable"} else {"Disable"}} )
- prop SRGR_VALUE_update :: (self.GSYNC_SRGR() | self.CLKSP_SRGR() | self.CLKSM_SRGR() | self.FSGM_SRGR() | self.FPER_SRGR() | self.FWID_SRGR() | self.CLKGDV_SRGR())
- prop SRGR_SETUP_update :: (if (self.CLKSM_SRGR() == 0x00000000) {self.GSYNC_SETUP = if ($1 & 0x80000000) {"External Frame Sync."} else {"Free"}, self.CLKSP_SETUP = if ($1 & 0x40000000) {"Falling Edge"} else {"Rising Edge"}} , self.CLKSM_SETUP = if ($1 & 0x20000000) {"Internal Clock"} else {"External Clock (CLKS)"}, if (self.FSXM_SETUP == "Sample-rate Generator") {self.FSGM_SETUP = if ($1 & 0x10000000) {"Frame Sync. Signal"} else {"DXR-to-XSR copy"}} , self.FPER_SETUP = ($1 & 0x0fff0000) >> 16, self.FWID_SETUP = ($1 & 0x0000ff00) >> 8, self.CLKGDV_SETUP = ($1 & 0X000000ff))
- prop MCR_VALUE_update :: (self.XPBBLK_MCR() | self.XPABLK_MCR() | self.XMCM_MCR() | self.RPBBLK_MCR() | self.RPABLK_MCR() | self.RMCM_MCR() | self.RX_MCME_MCR())
- prop MCR_SETUP_update :: (self.XPBBLK_SETUP = ($a = ($1 & 0x01800000), if ($a == 0x00800000) {" 48-to-63"} else {if ($a == 0x01000000) {" 80-to-95"} else {if ($a == 0x01800000) {" 112-to-127"} else {" 16-to-31"}}}), self.XPABLK_SETUP = ($a = ($1 & 0x00600000), if ($a == 0x00200000) {" 32-to-47"} else {if ($a == 0x00400000) {" 64-to-79"} else {if ($a == 0x00600000) {" 96-to-111"} else {" 0-to-15"}}}), self.XMCM_SETUP = ($a = ($1 & 0x00030000), if ($a == 0x00010000) {"Disable/XP(A/B)BLK-XCEREx"} else {if ($a == 0x00020000) {"Enable/Masking"} else {if ($a == 0x000300000) {"Disable/RP(A/B)BLK-RCEREx"} else {"Enable/No-Masking"}}}), self.RPBBLK_SETUP = ($a = ($1 & 0x00000180), if ($a == 0x00000080) {" 48-to-63"} else {if ($a == 0x01000100) {" 80-to-95"} else {if ($a == 0x00000180) {" 112-to-127"} else {" 16-to-31"}}}), self.RPABLK_SETUP = ($a = ($1 & 0x00000060), if ($a == 0x00000020) {" 32-to-47"} else {if ($a == 0x00000040) {" 64-to-79"} else {if ($a == 0x00000060) {" 96-to-111"} else {" 0-to-15"}}}), self.RMCM_SETUP = if ($1 & 0x00000001) {"Disable/RP(A/B)-RCEREx"} else {"All Enable"}, self.RX_MCME_SETUP = if ($1 & 0x02000200) {"Enhanced Operation"} else {"Normal Operation"})
- prop RCER_VALUE_update :: (self.RCEB_RCER() | self.RCEA_RCER())
- prop RCER_SETUP_update :: (self.RCEB_SETUP = ($1 & 0xffff0000) >> 16, self.RCEA_SETUP = ($1 & 0x0000ffff))
- prop RCERE0_VALUE_update :: (self.RCE0_RCERE0())
- prop RCERE0_SETUP_update :: (self.RCE0_SETUP = $1)
- prop RCERE1_VALUE_update :: (self.RCE1_RCERE1())
- prop RCERE1_SETUP_update :: (self.RCE1_SETUP = $1)
- prop RCERE2_VALUE_update :: (self.RCE2_RCERE2())
- prop RCERE2_SETUP_update :: (self.RCE2_SETUP = $1)
- prop RCERE3_VALUE_update :: (self.RCE3_RCERE3())
- prop RCERE3_SETUP_update :: (self.RCE3_SETUP = $1)
- prop XCER_VALUE_update :: (self.XCEB_XCER() | self.XCEA_XCER())
- prop XCER_SETUP_update :: (self.XCEB_SETUP = ($1 & 0xffff0000) >> 16, self.XCEA_SETUP = ($1 & 0x0000ffff))
- prop XCERE0_VALUE_update :: (self.XCE0_XCERE0())
- prop XCERE0_SETUP_update :: (self.XCE0_SETUP = ($1))
- prop XCERE1_VALUE_update :: (self.XCE1_XCERE1())
- prop XCERE1_SETUP_update :: (self.XCE1_SETUP = ($1))
- prop XCERE2_VALUE_update :: (self.XCE2_XCERE2())
- prop XCERE2_SETUP_update :: (self.XCE2_SETUP = ($1))
- prop XCERE3_VALUE_update :: (self.XCE3_XCERE3())
- prop XCERE3_SETUP_update :: (self.XCE3_SETUP = ($1))
- prop PCR_VALUE_update :: (self.XIOEN_PCR() | self.RIOEN_PCR() | self.FSXM_PCR() | self.FSRM_PCR() | self.CLKXM_PCR() | self.CLKRM_PCR() | (if ((self.XIOEN_SETUP == "Enable") && (self.FSXM_SETUP == "Sample-rate Generator")) {self.FSXP_IO()} else {self.FSXP_PCR()}) | (if ((self.RIOEN_SETUP == "Enable") && (self.FSRM_SETUP == "Sample-rate Generator")) {self.FSRP_IO()} else {self.FSRP_PCR()}) | (if (self.XIOEN_SETUP == "Enable") {self.DX_IO()} else {0}) | (if ((self.XIOEN_SETUP == "Enable") && (self.CLKXM_SETUP == "Output/Mcbsp-master(SPI)")) {self.CLKXP_IO()} else {self.CLKXP_PCR()}) | (if ((self.RIOEN_SETUP == "Enable") && (self.CLKRM_SETUP == "Output/Output(DLB)")) {self.CLKRP_IO()} else {self.CLKRP_PCR()}))
- prop PCR_SETUP_update :: (self.XIOEN_SETUP = if ($1 & 0x00002000) {"Enable"} else {"Disable"}, self.RIOEN_SETUP = if ($1 & 0x00001000) {"Enable"} else {"Disable"}, self.FSXM_SETUP = if ($1 & 0x000000800) {"Sample-rate Generator"} else {"External Source"}, self.FSRM_SETUP = if ($1 & 0x000000400) {"Sample-rate Generator"} else {"External Source"}, self.CLKXM_SETUP = if ($1 & 0x000000200) {"Output/Mcbsp-master(SPI)"} else {"Input/Mcbsp-slave(SPI)"}, self.CLKRM_SETUP = if ($1 & 0x000000100) {"Output/Output(DLB)"} else {"Input/Hi.Z(DLB)"}, if (self.XIOEN_SETUP == "Enable") {self.DX_output = if ($1 & 0x00000020) {1} else {0}} else {0x00000000}, if ((self.XIOEN_SETUP == "Enable") && (self.FSXM_SETUP == "Sample-rate Generator")) {self.FSXP_output = if ($1 & 0x00000008) {1} else {0}} else {self.FSXP_SETUP = if ($1 & 0x00000008) {"Active Low"} else {"Active High"}}, if ((self.RIOEN_SETUP == "Enable") && (self.FSRM_SETUP == "Sample-rate Generator")) {self.FSRP_output = if ($1 & 0x00000004) {1} else {0}} else {self.FSRP_SETUP = if ($1 & 0x00000004) {"Active Low"} else {"Active High"}}, if ((self.XIOEN_SETUP == "Enable") && (self.CLKXM_SETUP == "Output/Mcbsp-master(SPI)")) {self.CLKXP_output = if ($1 & 0x00000002) {1} else {0}} else {self.CLKXP_SETUP = if ($1 & 0x00000002) {"Falling Edge"} else {"Rising Edge"}}, if ((self.RIOEN_SETUP == "Enable") && (self.CLKRM_SETUP == "Output/Output(DLB)")) {self.CLKRP_output = if ($1 & 0x00000001) {1} else {0}} else {self.CLKRP_SETUP = if ($1 & 0x00000001) {"Rising Edge"} else {"Falling Edge"}})
- 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 DLB_SETUP :: "Disable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable,Enable"
- prop Label :: "Digital Loopback Mode (DLB)"
- prop JSName :: "mcbspSpcrDlb"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT)
- prop NoGen :: 1
- prop TabName :: "Operating Mode"
- prop Set :: (self.DLB_SETUP = $1, self.SPCR_VALUE = self.SPCR_VALUE_update(), "ok")
- }
- inst CLKSTP_SETUP :: "Disable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable,NoDelay(SPI),Delay(SPI)"
- prop Label :: "Clock Stop Mode (CLKSTP) "
- prop JSName :: "mcbspSpcrClkstp"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Operating Mode"
- prop Set :: (self.CLKSTP_SETUP = $1, self.SPCR_VALUE = self.SPCR_VALUE_update(), "ok")
- }
- inst FREE_SETUP :: "SOFT bit Control" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "SOFT bit Control,Free Running"
- prop Label :: "Serial Clock Free Running (FREE)"
- prop JSName :: "mcbspSpcrFree"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && (if ((CSL.C11_SUPPORT || CSL.C64_SUPPORT)) {1} else {0})
- prop NoGen :: 1
- prop TabName :: "Operating Mode"
- prop Set :: (self.FREE_SETUP = $1, self.SPCR_VALUE = self.SPCR_VALUE_update(), "ok")
- }
- inst SOFT_SETUP :: "Transmission Aborted" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Transmission Aborted,Transmission Complete"
- prop Label :: "Serial Clock Emulation (SOFT)"
- prop JSName :: "mcbspSpcrSoft"
- prop Visible :: 1
- prop Writable :: if (CSL.MCBSP_SUPPORT) && (((CSL.C11_SUPPORT || CSL.C64_SUPPORT)) && self.FREE_SETUP == "SOFT bit Control") {1} else {0}
- prop NoGen :: 1
- prop TabName :: "Operating Mode"
- prop Set :: (self.SOFT_SETUP = $1, self.SPCR_VALUE = self.SPCR_VALUE_update(), "ok")
- }
- inst XINTM_SETUP :: "XRDY" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "XRDY,End of Subframe,New Frame,XSYNCERR"
- prop Label :: "Interrupt Mode (XINTM)"
- prop JSName :: "mcbspSpcrXintm"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Transmit Mode"
- prop Set :: (self.XINTM_SETUP = $1, self.SPCR_VALUE = self.SPCR_VALUE_update(), "ok")
- }
- inst RINTM_SETUP :: "RRDY" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "RRDY,End of Subframe,New Frame,RSYNCERR"
- prop Label :: "Interrupt Mode (RINTM)"
- prop JSName :: "mcbspSpcrRintm"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Receiver Mode"
- prop Set :: (self.RINTM_SETUP = $1, self.SPCR_VALUE = self.SPCR_VALUE_update(), "ok")
- }
- inst XCOMPAND_SETUP :: "No Companding/MSB" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "No Companding/MSB,No Companding/LSB,Companding/u-law,Companding/A-law"
- prop Label :: "Companding Mode (XCOMPAND)"
- prop JSName :: "mcbspXcrXcompand"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Transmit Mode"
- prop Set :: (self.XCOMPAND_SETUP = $1, self.XCR_VALUE = self.XCR_VALUE_update(), "ok")
- }
- inst RCOMPAND_SETUP :: "No Companding/MSB" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "No Companding/MSB,No Companding/LSB,Companding/u-law,Companding/A-law"
- prop Label :: "Companding Mode (RCOMPAND)"
- prop JSName :: "mcbspRcrRcompand"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Receiver Mode"
- prop Set :: (self.RCOMPAND_SETUP = $1, self.RCR_VALUE = self.RCR_VALUE_update(), "ok")
- }
- inst XRST_SETUP :: "Disable/Reset" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable/Reset,Enable"
- prop Label :: "Enable/Disable: (XRST)"
- prop Visible :: 0
- prop Writable :: (CSL.MCBSP_SUPPORT) && 0
- prop NoGen :: 1
- prop TabName :: "Transmit Mode"
- prop Set :: (self.XRST_SETUP = $1, self.SPCR_VALUE = self.SPCR_VALUE_update(), "ok")
- }
- inst XSYNCERR_SETUP :: "Clear" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Clear,Set"
- prop Label :: "Bit Sync. Error (XSYNCERR)"
- prop JSName :: "mcbspSpcrXsyncerr"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Transmit Mode"
- prop Set :: (self.XSYNCERR_SETUP = $1, self.SPCR_VALUE = self.SPCR_VALUE_update(), "ok")
- }
- inst CLKXM_SETUP :: "Input/Mcbsp-slave(SPI)" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Input/Mcbsp-slave(SPI),Output/Mcbsp-master(SPI)"
- prop Label :: "Clock Mode (CLKXM) "
- prop JSName :: "mcbspPcrClkxm"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Transmit Mode"
- prop Set :: (self.CLKXM_SETUP = $1, self.PCR_VALUE = self.PCR_VALUE_update(), "ok")
- }
- inst CLKXP_SETUP :: "Rising Edge" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Rising Edge,Falling Edge"
- prop Label :: "Clock Polarity (CLKXP)"
- prop JSName :: "mcbspPcrClkxp"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Transmit Mode"
- prop Set :: (self.CLKXP_SETUP = $1, self.PCR_VALUE = self.PCR_VALUE_update(), "ok")
- }
- inst FSXM_SETUP :: "External Source" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "External Source,Sample-rate Generator"
- prop Label :: "Frame Sync. Mode (FSXM) "
- prop JSName :: "mcbspPcrFsxm"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Transmit Mode"
- prop Set :: (self.FSXM_SETUP = $1, self.PCR_VALUE = self.PCR_VALUE_update(), "ok")
- }
- inst FSXP_SETUP :: "Active High" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Active High,Active Low"
- prop Label :: "Frame Sync. Polarity (FSXP) "
- prop JSName :: "mcbspPcrFsxp"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Transmit Mode"
- prop Set :: (self.FSXP_SETUP = $1, self.PCR_VALUE = self.PCR_VALUE_update(), "ok")
- }
- inst DXENA_SETUP :: = "Disable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable,Enable"
- prop Label :: "DX Enabler (621x/671x/64x only)"
- prop JSName :: "mcbspSpcrDxena"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && (if ((CSL.C11_SUPPORT || CSL.C64_SUPPORT)) {1} else {0})
- prop NoGen :: 1
- prop TabName :: "Transmit Mode"
- prop Set :: (self.DXENA_SETUP = $1, self.SPCR_VALUE = self.SPCR_VALUE_update(), "ok")
- }
- inst XFIG_SETUP :: "Transfer restarted" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Transfer restarted,Pulse ignored"
- prop Label :: "Unexpected Frame Pulse(XFIG) "
- prop JSName :: "mcbspXcrXfig"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Transmit Mode"
- prop Set :: (self.XFIG_SETUP = $1, self.XCR_VALUE = self.XCR_VALUE_update(), "ok")
- }
- inst XDATDLY_SETUP :: "0-bit" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "0-bit,1-bit,2-bits"
- prop Label :: "Data Delay (XDATDLY) "
- prop JSName :: "mcbspXcrXdatdly"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Transmit Mode"
- prop Set :: (self.XDATDLY_SETUP = $1, self.XCR_VALUE = self.XCR_VALUE_update(), "ok")
- }
- inst XWDREVRS_SETUP :: = "Disable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable,Enable"
- prop Label :: "32-bit reversal feature (XWDREVRS) (621x/671x/64x only)"
- prop JSName :: "mcbspXcrXwdrevrs"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && (if ((CSL.C11_SUPPORT || CSL.C64_SUPPORT)) {1} else {0})
- prop NoGen :: 1
- prop TabName :: "Transmit Mode"
- prop Set :: (self.XWDREVRS_SETUP = $1, self.XCR_VALUE = self.XCR_VALUE_update(), "ok")
- }
- inst XPHASE_SETUP :: "Single Phase" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Single Phase,Dual Phase"
- prop Label :: "Phase(s) (XPHASE) "
- prop JSName :: "mcbspXcrXphase"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Transmit FrameElt"
- prop Set :: (self.XPHASE_SETUP = $1, self.XCR_VALUE = self.XCR_VALUE_update(), "ok")
- }
- inst XFRLEN1_SETUP :: 0x01 {
- prop Label :: " Word(s) per phase(1) "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "mcbspXcrXfrlen1"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Transmit FrameElt"
- prop Set :: (if ($1 < 1 || $1 > 128) {self.error(" Minimum word per frame :1 - Maximum words per Frame :128")} else {self.XFRLEN1_SETUP = $1, self.XCR_VALUE = self.XCR_VALUE_update(), "ok"})
- }
- inst XWDLEN1_SETUP :: "8-bits" {
- prop Label :: " Element length XWDLEN(1) "
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "8-bits,12-bits,16-bits,20-bits,24-bits,32-bits"
- prop JSName :: "mcbspXcrXwdlen1"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Transmit FrameElt"
- prop Set :: (if (($1 != "8-bits") && (self.XCOMPAND_SETUP != "No Companding/MSB")) {self.XWDLEN1_SETUP = $1, self.XCR_VALUE = self.XCR_VALUE_update(), "Note: 'No Companding/MSB' (XCOMPAND) is the only mode applicable (default)- See Operating Mode Tab "} else {self.XWDLEN1_SETUP = $1, self.XCR_VALUE = self.XCR_VALUE_update(), "ok"})
- }
- inst XFRLEN2_SETUP :: 0x01 {
- prop Label :: " Word(s) per phase(2) "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "mcbspXcrXfrlen2"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && (if ((self.XPHASE_SETUP == "Dual Phase")) {1} else {0})
- prop NoGen :: 1
- prop TabName :: "Transmit FrameElt"
- prop Set :: (if ($1 < 1 || $1 > 128) {self.error(" Minimum word per frame :1 - Maximum words per Frame :128")} else {self.XFRLEN2_SETUP = $1, self.XCR_VALUE = self.XCR_VALUE_update(), "ok"})
- }
- inst XWDLEN2_SETUP :: "8-bits" {
- prop Label :: " Element length XWDLEN(2) "
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "8-bits,12-bits,16-bits,20-bits,24-bits,32-bits"
- prop JSName :: "mcbspXcrXwdLen2"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && (if ((self.XPHASE_SETUP == "Dual Phase")) {1} else {0})
- prop NoGen :: 1
- prop TabName :: "Transmit FrameElt"
- prop Set :: (if (($1 != "8-bits") && (self.XCOMPAND_SETUP != "No Companding/MSB")) {self.XWDLEN2_SETUP = $1, self.XCR_VALUE = self.XCR_VALUE_update(), "Note: 'No Companding/MSB' (XCOMPAND) is the only mode applicable (default) "} else {self.XWDLEN2_SETUP = $1, self.XCR_VALUE = self.XCR_VALUE_update(), "ok"})
- }
- inst RRST_SETUP :: "Disable/Reset" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable/Reset,Enable"
- prop Label :: "Enable/Disable: (RRST)"
- prop Visible :: 0
- prop Writable :: (CSL.MCBSP_SUPPORT) && 0
- prop NoGen :: 1
- prop TabName :: "Receiver Mode"
- prop Set :: (self.RRST_SETUP = $1, self.SPCR_VALUE = self.SPCR_VALUE_update(), "ok")
- }
- inst RSYNCERR_SETUP :: "Clear" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Clear,Set"
- prop Label :: "Bit Sync. Error (RSYNCERR)"
- prop JSName :: "mcbspSpcrRsyncerr"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Receiver Mode"
- prop Set :: (self.RSYNCERR_SETUP = $1, self.SPCR_VALUE = self.SPCR_VALUE_update(), "ok")
- }
- inst CLKRM_SETUP :: "Input/Hi.Z(DLB)" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Input/Hi.Z(DLB),Output/Output(DLB)"
- prop Label :: "Clock Mode (CLKRM)"
- prop JSName :: "mcbspPcrClkrm"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Receiver Mode"
- prop Set :: (self.CLKRM_SETUP = $1, self.PCR_VALUE = self.PCR_VALUE_update(), "ok")
- }
- inst CLKRP_SETUP :: "Falling Edge" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Rising Edge,Falling Edge"
- prop Label :: "Clock Polarity (CLKRP)"
- prop JSName :: "mcbspPcrClkrp"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Receiver Mode"
- prop Set :: (self.CLKRP_SETUP = $1, self.PCR_VALUE = self.PCR_VALUE_update(), "ok")
- }
- inst FSRM_SETUP :: "External Source" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "External Source,Sample-rate Generator"
- prop Label :: "Frame Sync. Mode (FSRM) "
- prop JSName :: "mcbspPcrFsrm"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Receiver Mode"
- prop Set :: (self.FSRM_SETUP = $1, self.PCR_VALUE = self.PCR_VALUE_update(), "ok")
- }
- inst FSRP_SETUP :: "Active High" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Active High,Active Low"
- prop Label :: "Frame Sync. Polarity (FSRP) "
- prop JSName :: "mcbspPcrFsrp"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Receiver Mode"
- prop Set :: (self.FSRP_SETUP = $1, self.PCR_VALUE = self.PCR_VALUE_update(), "ok")
- }
- inst RJUST_SETUP :: = "Right/zero-fill" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Right/zero-fill,Right/sign-ext.,Left/zero-fill"
- prop Label :: "Data Justification/sign-ext. (RJUST)"
- prop JSName :: "mcbspSpcrRjust"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Receiver Mode"
- prop Set :: (self.RJUST_SETUP = $1, self.SPCR_VALUE = self.SPCR_VALUE_update(), "ok")
- }
- inst RFIG_SETUP :: "Transfer restarted" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Transfer restarted,Pulse ignored"
- prop Label :: "Unexpected Frame Pulse (RFIG) "
- prop JSName :: "mcbspRcrRfig"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Receiver Mode"
- prop Set :: (self.RFIG_SETUP = $1, self.RCR_VALUE = self.RCR_VALUE_update(), "ok")
- }
- inst RDATDLY_SETUP :: "0-bit" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "0-bit,1-bit,2-bits"
- prop Label :: "Data Delay (RDATDLY) "
- prop JSName :: "mcbspRcrRdatdly"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Receiver Mode"
- prop Set :: (self.RDATDLY_SETUP = $1, self.RCR_VALUE = self.RCR_VALUE_update(), "ok")
- }
- inst RWDREVRS_SETUP :: = "Disable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable,Enable"
- prop Label :: "32-bit reversal feature (RWDREVRS)(621x/671x/64x only)"
- prop JSName :: "mcbspRcrRwdrevrs"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && (if ((CSL.C11_SUPPORT || CSL.C64_SUPPORT)) {1} else {0})
- prop NoGen :: 1
- prop TabName :: "Receiver Mode"
- prop Set :: (self.RWDREVRS_SETUP = $1, self.RCR_VALUE = self.RCR_VALUE_update(), "ok")
- }
- inst RPHASE_SETUP :: "Single Phase" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Single Phase,Dual Phase"
- prop Label :: "Phase(s) (RPHASE) "
- prop JSName :: "mcbspRcrRphase"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Receiver FrameElt"
- prop Set :: (self.RPHASE_SETUP = $1, self.RCR_VALUE = self.RCR_VALUE_update(), "ok")
- }
- inst RFRLEN1_SETUP :: 0x01 {
- prop Label :: " Word(s) per phase(1) "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "mcbspRcrRfrlen1"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Receiver FrameElt"
- prop Set :: (if ($1 < 1 || $1 > 128) {self.error(" Minimum word per frame :1 - Maximum words per Frame :128")} else {self.RFRLEN1_SETUP = $1, self.RCR_VALUE = self.RCR_VALUE_update(), "ok"})
- }
- inst RWDLEN1_SETUP :: "8-bits" {
- prop Label :: " Element length RWDLEN(1) "
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "8-bits,12-bits,16-bits,20-bits,24-bits,32-bits"
- prop JSName :: "mcbspRcrRwdlen1"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Receiver FrameElt"
- prop Set :: (if (($1 != "8-bits") && (self.RCOMPAND_SETUP != "No Companding/MSB")) {"Note: 'No Companding/MSB' (RCOMPAND) is only mode applicable (default) ".RWDLEN1_SETUP = $1, self.RCR_VALUE = self.RCR_VALUE_update(), "ok"} else {self.RWDLEN1_SETUP = $1, self.RCR_VALUE = self.RCR_VALUE_update(), "ok"})
- }
- inst RFRLEN2_SETUP :: 0x01 {
- prop Label :: " Word(s) per phase(2) "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "mcbspRcrRfrlen2"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && (if ((self.RPHASE_SETUP == "Dual Phase")) {1} else {0})
- prop NoGen :: 1
- prop TabName :: "Receiver FrameElt"
- prop Set :: (if ($1 < 1 || $1 > 128) {self.error(" Minimum word per frame :1 - Maximum words per Frame :128")} else {self.RFRLEN2_SETUP = $1, self.RCR_VALUE = self.RCR_VALUE_update(), "ok"})
- }
- inst RWDLEN2_SETUP :: "8-bits" {
- prop Label :: " Element length RWDLEN(2) "
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "8-bits,12-bits,16-bits,20-bits,24-bits,32-bits"
- prop JSName :: "mcbspRcrRwdlen2"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && (if (self.RPHASE_SETUP == "Dual Phase") {1} else {0})
- prop NoGen :: 1
- prop TabName :: "Receiver FrameElt"
- prop Set :: (if (($1 != "8-bits") && (self.RCOMPAND_SETUP != "No Companding/MSB")) {self.RWDLEN2_SETUP = $1, self.RCR_VALUE = self.RCR_VALUE_update(), "Note: 'No Companding/MSB' (RCOMPAND) is the only mode applicable (default)- Operating Mode Tab "} else {self.RWDLEN2_SETUP = $1, self.RCR_VALUE = self.RCR_VALUE_update(), "ok"})
- }
- inst GRST_SETUP :: "Reset" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Reset,Clock Generation"
- prop Label :: "Reset/Clock Generation (GRST)"
- prop Visible :: 0
- prop Writable :: (CSL.MCBSP_SUPPORT) && 0
- prop NoGen :: 1
- prop TabName :: "Sample-Rate Generator"
- prop Set :: (self.GRST_SETUP = $1, self.SPCR_VALUE = self.SPCR_VALUE_update(), "ok")
- }
- inst FRST_SETUP :: "Reset" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Reset,Frame Sync."
- prop Label :: "Reset/Frame Sync. (FRST)"
- prop Visible :: 0
- prop Writable :: (CSL.MCBSP_SUPPORT) && 0
- prop NoGen :: 1
- prop TabName :: "Sample-Rate Generator"
- prop Set :: (self.FRST_SETUP = $1, self.SPCR_VALUE = self.SPCR_VALUE_update(), "ok")
- }
- inst CLKSM_SETUP :: "Internal Clock" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "External Clock (CLKS),Internal Clock"
- prop Label :: "Sample-Rate Gen.Clock Mode (CLKSM) "
- prop JSName :: "mcbspSrgrClksm"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Sample-Rate Generator"
- prop Set :: (self.CLKSM_SETUP = $1, self.SRGR_VALUE = self.SRGR_VALUE_update(), "ok")
- }
- inst GSYNC_SETUP :: "Free" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Free,External Frame Sync."
- prop Label :: "Sample-Rate Clock Sync. (GSYNC) "
- prop JSName :: "mcbspSrgrGsync"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && (if (self.CLKSM_SETUP == "External Clock (CLKS)") {1} else {0})
- prop NoGen :: 1
- prop TabName :: "Sample-Rate Generator"
- prop Set :: (self.GSYNC_SETUP = $1, self.SRGR_VALUE = self.SRGR_VALUE_update(), "ok")
- }
- inst CLKSP_SETUP :: "Rising Edge" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Rising Edge,Falling Edge"
- prop Label :: "External Clock Polarity (CLKSP) "
- prop JSName :: "mcbspSrgrClksp"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && (if ((self.CLKSM_SETUP == "External Clock (CLKS)")) {1} else {0})
- prop NoGen :: 1
- prop TabName :: "Sample-Rate Generator"
- prop Set :: (self.CLKSP_SETUP = $1, self.SRGR_VALUE = self.SRGR_VALUE_update(), "ok")
- }
- inst FSGM_SETUP :: "DXR-to-XSR copy" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "DXR-to-XSR copy,Frame Sync. Signal"
- prop Label :: "Transmit Frame Sync. Mode (FSGM) "
- prop JSName :: "mcbspSrgrFsgm"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && (if ((self.FSXM_SETUP == "Sample-rate Generator")) {1} else {0})
- prop NoGen :: 1
- prop TabName :: "Sample-Rate Generator"
- prop Set :: (self.FSGM_SETUP = $1, self.SRGR_VALUE = self.SRGR_VALUE_update(), "ok")
- }
- inst FPER_SETUP :: 0x01 {
- prop Label :: "Frame Period (1-4096) "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "mcbspSrgrFper"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && (if ((self.GSYNC_SETUP == "Free")) {1} else {0})
- prop NoGen :: 1
- prop TabName :: "Sample-Rate Generator"
- prop Set :: (if ($1 < 1 || $1 > 4096) {self.error("Minimum Frame Period :1 - Maximum Frame Period :4096")} else {self.FPER_SETUP = $1, self.SRGR_VALUE = self.SRGR_VALUE_update(), "ok"})
- }
- inst FWID_SETUP :: 0x01 {
- prop Label :: "Frame Width (1-256) "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "mcbspSrgrFwid"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Sample-Rate Generator"
- prop Set :: (if ($1 < 1 || $1 > 256) {self.error("Minimum Frame Period :1 - Maximum Frame Period :256")} else {self.FWID_SETUP = $1, self.SRGR_VALUE = self.SRGR_VALUE_update(), "ok"})
- }
- inst CLKGDV_SETUP :: 0x02 {
- prop Label :: "Clock freq.Divider (1-256) "
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01 | 0x02
- prop JSName :: "mcbspSrgrClkgdv"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Sample-Rate Generator"
- prop Set :: (if ($1 < 1 || $1 > 256) {self.error("Minimum divide-down number :1 - Maximum divide-down number :256")} else {self.CLKGDV_SETUP = $1, self.SRGR_VALUE = self.SRGR_VALUE_update(), "ok"})
- }
- inst XMCM_SETUP :: "Enable/No-Masking" {
- prop Label :: "Transmit Multichannel (XMCM)"
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Enable/No-Masking,Enable/Masking,Disable/XP(A/B)BLK-XCEREx,Disable/RP(A/B)BLK-RCEREx"
- prop JSName :: "mcbspMcrXmcm"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Multichannel Operation"
- prop Set :: (self.XMCM_SETUP = $1, self.MCR_VALUE = self.MCR_VALUE_update(), "ok")
- }
- inst RX_MCME_SETUP :: "Normal Operation" {
- prop Label :: "Enhanced Multichannel Enable (XMCME-RMCME)"
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Normal Operation,Enhanced Operation"
- prop Visible :: 1
- prop Writable :: (if ((CSL.C64_SUPPORT)) {1} else {0})
- prop JSName :: "mcbspMcrXmcmeRmcme"
- prop NoGen :: 1
- prop TabName :: "Multichannel Operation"
- prop Set :: (self.RX_MCME_SETUP = $1, self.MCR_VALUE = self.MCR_VALUE_update(), "ok")
- }
- inst XPABLK_SETUP :: " 0-to-15" {
- prop Label :: " Subframe Element part.A (XPABLK) "
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: " 0-to-15, 32-to-47, 64-to-79, 96-to-111"
- prop JSName :: "mcbspMcrXpablk"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Multichannel Operation"
- prop Set :: (self.XPABLK_SETUP = $1, self.MCR_VALUE = self.MCR_VALUE_update(), "ok")
- }
- inst XPBBLK_SETUP :: " 16-to-31" {
- prop Label :: " Subframe Element part.B (XPBBLK) "
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: " 16-to-31, 48-to-63, 80-to-95, 112-to-127"
- prop JSName :: "mcbspMcrXpbblk"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Multichannel Operation"
- prop Set :: (self.XPBBLK_SETUP = $1, self.MCR_VALUE = self.MCR_VALUE_update(), "ok")
- }
- inst XCEA_SETUP :: 0x0000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%04X"
- prop Style :: 0x02
- prop Label :: " Enable Channel Part.A (XCEAn)"
- prop JSName :: "mcbspXcerXcea"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && !CSL.C64_SUPPORT
- prop NoGen :: 1
- prop TabName :: "Multichannel Operation"
- prop Set :: (if ($1 < 0x0000 || $1 > 0xffff) {self.error("Min=All Disable :0x0000 - Max=All Enable : 0xFFFF")} else {self.XCEA_SETUP = $1, self.XCER_VALUE = self.XCER_VALUE_update(), "ok"})
- }
- inst XCEB_SETUP :: 0x0000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%04X"
- prop Style :: 0x02
- prop Label :: " Enable Channel Part.B (XCEBn)"
- prop JSName :: "mcbspXcerXceb"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && !CSL.C64_SUPPORT
- prop NoGen :: 1
- prop TabName :: "Multichannel Operation"
- prop Set :: (if ($1 < 0x0000 || $1 > 0xffff) {self.error("Min=All Disable :0x0000 - Max=All Enable : 0xFFFF")} else {self.XCEB_SETUP = $1, self.XCER_VALUE = self.XCER_VALUE_update(), "ok"})
- }
- inst XCE0_SETUP :: 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Label :: " Enhanced Transmit Chan. Enable (XCERE0)"
- prop JSName :: "mcbspXcere0Xce"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && CSL.C64_SUPPORT
- prop NoGen :: 1
- prop TabName :: "Multichannel Operation"
- prop Set :: (self.XCE0_SETUP = $1, self.XCERE0_VALUE = self.XCERE0_VALUE_update(), "ok")
- }
- inst XCE1_SETUP :: 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Label :: " Enhanced Transmit Chan. Enable (XCERE1)"
- prop JSName :: "mcbspXcere1Xce"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && CSL.C64_SUPPORT
- prop NoGen :: 1
- prop TabName :: "Multichannel Operation"
- prop Set :: (self.XCE1_SETUP = $1, self.XCERE1_VALUE = self.XCERE1_VALUE_update(), "ok")
- }
- inst XCE2_SETUP :: 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Label :: " Enhanced Transmit Chan. Enable (XCERE2)"
- prop JSName :: "mcbspXcere2Xce"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && CSL.C64_SUPPORT
- prop NoGen :: 1
- prop TabName :: "Multichannel Operation"
- prop Set :: (self.XCE2_SETUP = $1, self.XCERE2_VALUE = self.XCERE2_VALUE_update(), "ok")
- }
- inst XCE3_SETUP :: 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%08X"
- prop Style :: 0x02
- prop Label :: " Enhanced Transmit Chan. Enable (XCERE3)"
- prop JSName :: "mcbspXcere3Xce"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && CSL.C64_SUPPORT
- prop NoGen :: 1
- prop TabName :: "Multichannel Operation"
- prop Set :: (self.XCE3_SETUP = $1, self.XCERE3_VALUE = self.XCERE3_VALUE_update(), "ok")
- }
- inst RMCM_SETUP :: "All Enable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "All Enable,Disable/RP(A/B)BLK-RCEREx"
- prop Label :: "Receive Multichannel (RMCM)"
- prop JSName :: "mcbspMcrRmcm"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Multichannel Operation"
- prop Set :: (self.RMCM_SETUP = $1, self.MCR_VALUE = self.MCR_VALUE_update(), "ok")
- }
- inst RPABLK_SETUP :: " 0-to-15" {
- prop Label :: " Subframe Element part.A (RPABLK) "
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: " 0-to-15, 32-to-47, 64-to-79, 96-to-111"
- prop JSName :: "mcbspMcrRpablk"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Multichannel Operation"
- prop Set :: (self.RPABLK_SETUP = $1, self.MCR_VALUE = self.MCR_VALUE_update(), "ok")
- }
- inst RPBBLK_SETUP :: " 16-to-31" {
- prop Label :: " Subframe Element part.B (RPBBLK) "
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: " 16-to-31, 48-to-63, 80-to-95, 112-to-127"
- prop JSName :: "mcbspMcrRpbblk"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 1
- prop TabName :: "Multichannel Operation"
- prop Set :: (self.RPBBLK_SETUP = $1, self.MCR_VALUE = self.MCR_VALUE_update(), "ok")
- }
- inst RCEA_SETUP :: 0 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "0x%04X"
- prop Label :: " Enable Channel Part.A (RCEAn)"
- prop JSName :: "mcbspRcerRcea"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT && !CSL.C64_SUPPORT)
- prop NoGen :: 1
- prop TabName :: "Multichannel Operation"
- prop Set :: (if ($1 < 0x0000 || $1 > 0xffff) {self.error("Min=All Disable :0x0000 - Max=All Enable : 0xFFFF")} else {self.RCEA_SETUP = $1, self.RCER_VALUE = self.RCER_VALUE_update(), "ok"})
- }
- inst RCEB_SETUP :: 0 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: " Enable Channel Part.B (RCEBn)"
- prop Format :: "0x%04X"
- prop JSName :: "mcbspRcerRceb"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT && !CSL.C64_SUPPORT)
- prop NoGen :: 1
- prop TabName :: "Multichannel Operation"
- prop Set :: (if ($1 < 0x0000 || $1 > 0xffff) {self.error("Min=All Disable :0x0000 - Max=All Enable : 0xFFFF")} else {self.RCEB_SETUP = $1, self.RCER_VALUE = self.RCER_VALUE_update(), "ok"})
- }
- inst RCE0_SETUP :: 0x00000000 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: " Enhanced Receive Chan. Enable (RCERE0)"
- prop Format :: "0x%08X"
- prop JSName :: "mcbspRcere0Rce"
- prop Visible :: 1
- prop Writable :: CSL.MCBSP_SUPPORT && (CSL.C64_SUPPORT)
- prop NoGen :: 1
- prop TabName :: "Multichannel Operation"
- prop Set :: (self.RCE0_SETUP = $1, self.RCERE0_VALUE = self.RCERE0_VALUE_update(), "ok")
- }
- inst RCE1_SETUP :: 0 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: " Enhanced Receive Chan. Enable (RCERE1)"
- prop Format :: "0x%08X"
- prop JSName :: "mcbspRcere1Rce"
- prop Visible :: 1
- prop Writable :: CSL.MCBSP_SUPPORT && (CSL.C64_SUPPORT)
- prop NoGen :: 1
- prop TabName :: "Multichannel Operation"
- prop Set :: (self.RCE1_SETUP = $1, self.RCERE1_VALUE = self.RCERE1_VALUE_update(), "ok")
- }
- inst RCE2_SETUP :: 0 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: " Enhanced Receive Chan. Enable (RCERE2)"
- prop Format :: "0x%08X"
- prop JSName :: "mcbspRcere2Rce"
- prop Visible :: 1
- prop Writable :: CSL.MCBSP_SUPPORT && (CSL.C64_SUPPORT)
- prop NoGen :: 1
- prop TabName :: "Multichannel Operation"
- prop Set :: (self.RCE2_SETUP = $1, self.RCERE2_VALUE = self.RCERE2_VALUE_update(), "ok")
- }
- inst RCE3_SETUP :: 0 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: " Enhanced Receive Chan. Enable (RCERE3)"
- prop Format :: "0x%08X"
- prop JSName :: "mcbspRcere3Rce"
- prop Visible :: 1
- prop Writable :: CSL.MCBSP_SUPPORT && (CSL.C64_SUPPORT)
- prop NoGen :: 1
- prop TabName :: "Multichannel Operation"
- prop Set :: (self.RCE3_SETUP = $1, self.RCERE3_VALUE = self.RCERE3_VALUE_update(), "ok")
- }
- inst XIOEN_SETUP :: "Disable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable,Enable"
- prop Label :: "GP I/O Enable (XIOEN)"
- prop JSName :: "mcbspPcrXioen"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && (if (self.XRST_SETUP == "Disable/Reset") {1} else {0})
- prop NoGen :: 1
- prop TabName :: "General-Purpose IO"
- prop Set :: (self.XIOEN_SETUP = $1, self.PCR_VALUE = self.PCR_VALUE_update(), "ok")
- }
- inst CLKXP_output :: 0x00 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x02
- prop Label :: " CLKX Output value"
- prop JSName :: "mcbspClkxOutput"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && (if ((self.XIOEN_SETUP == "Enable") && (self.CLKXM_SETUP == "Output/Mcbsp-master(SPI)")) {1} else {0})
- prop NoGen :: 1
- prop TabName :: "General-Purpose IO"
- prop Set :: (if ($1 < 0 || $1 > 1) {self.error("Binary value only: 0 or 1")} else {self.CLKXP_output = $1, self.PCR_VALUE = self.PCR_VALUE_update(), "ok"})
- }
- inst FSXP_output :: 0x00 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x02
- prop Label :: " FSX Output value"
- prop JSName :: "mcbspFsxOutput"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && (if ((self.XIOEN_SETUP == "Enable") && (self.FSXM_SETUP == "Sample-rate Generator")) {1} else {0})
- prop NoGen :: 1
- prop TabName :: "General-Purpose IO"
- prop Set :: (if ($1 < 0 || $1 > 1) {self.error("Binary value only: 0 or 1")} else {self.FSXP_output = $1, self.PCR_VALUE = self.PCR_VALUE_update(), "ok"})
- }
- inst DX_output :: 0x00 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x02
- prop Label :: " DX Output (DX_STAT)"
- prop JSName :: "mcbspPcrDxstat"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && (if (self.XIOEN_SETUP == "Enable") {1} else {0})
- prop NoGen :: 1
- prop TabName :: "General-Purpose IO"
- prop Set :: (if ($1 < 0 || $1 > 1) {self.error("Binary value only: 0 or 1")} else {self.DX_output = $1, self.PCR_VALUE = self.PCR_VALUE_update(), "ok"})
- }
- inst RIOEN_SETUP :: "Disable" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Disable,Enable"
- prop Label :: "GP I/O Enable (RIOEN)"
- prop JSName :: "mcbspPcrRioen"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && (if (self.RRST_SETUP == "Disable/Reset") {1} else {0})
- prop NoGen :: 1
- prop TabName :: "General-Purpose IO"
- prop Set :: (self.RIOEN_SETUP = $1, self.PCR_VALUE = self.PCR_VALUE_update(), "ok")
- }
- inst CLKRP_output :: 0x00 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x02
- prop Label :: " CLKR Output value"
- prop JSName :: "mcbspClkrOutput"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && (if ((self.RIOEN_SETUP == "Enable") && (self.CLKRM_SETUP == "Output/Output(DLB)")) {1} else {0})
- prop NoGen :: 1
- prop TabName :: "General-Purpose IO"
- prop Set :: (if ($1 < 0 || $1 > 1) {self.error("Binary value only: 0 or 1")} else {self.CLKRP_output = $1, self.PCR_VALUE = self.PCR_VALUE_update(), "ok"})
- }
- inst FSRP_output :: 0x00 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x02
- prop Label :: " FSR Output value"
- prop JSName :: "mcbspFsrOutput"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && (if ((self.RIOEN_SETUP == "Enable") && (self.FSRM_SETUP == "Sample-rate Generator")) {1} else {0})
- prop NoGen :: 1
- prop TabName :: "General-Purpose IO"
- prop Set :: (if ($1 < 0 || $1 > 1) {self.error("Binary value only: 0 or 1")} else {self.FSRP_output = $1, self.PCR_VALUE = self.PCR_VALUE_update(), "ok"})
- }
- inst SPCR_VALUE :: self.SPCR_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Serial Port Control Reg. (SPCR) "
- prop Format :: "0x%08X"
- prop JSName :: "mcbspSpcr"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 0
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (if ((CSL.C11_SUPPORT || CSL.C64_SUPPORT)) {$e = $1 & 0x00006000, if ($e == 0x00006000) {self.error("Invalid input for RJUST bit[13..14]")} else {$a = $1 & 0x00000700, if ($a != 0) {self.error("Bit field(bit[8..10]) is reserved")} else {$b = $1 & 0x00000040, if ($b != 0) {self.error("Bit field 6 is reserved")} else {self.SPCR_VALUE = $1 & 0x033EFFFE, self.SPCR_SETUP_update($1 & 0x033EFFFE), "ok"}}}} else {$f = $1 & 0x00006000, if ($f == 0x00006000) {self.error("Invalid input for RJUST bit[13..14]")} else {$c = $1 & 0x00000700, if ($c != 0) {self.error("Bit field(bit[8..10]) is reserved")} else {$d = $1 & 0x00000040, if ($d != 0) {self.error("Bit field 6 is reserved")} else {self.SPCR_VALUE = $1 & 0x003EFFFE, self.SPCR_SETUP_update($1 & 0x003EFFFE), "ok"}}}})
- }
- inst RCR_VALUE :: self.RCR_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Receiver Control Reg. (RCR) "
- prop Format :: "0x%08X"
- prop JSName :: "mcbspRcr"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 0
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (if (CSL.C11_SUPPORT || CSL.C64_SUPPORT) {$a = $1 & 0x00008000, $b = $1 & 0x0000000F, $e = $1 & 0x00030000, $g = $1 & 0x00C00000, $h = $1 & 0x000000C0, if ($g == 0x00C00000) {self.error("Invalid input for RWDLEN2 bit[21..23]")} else {if ($h == 0x000000C0) {self.error("Invalid input for RWDLEN1 bit[5..7]")} else {if ($e == 0x00030000) {self.error("Invalid input for RDATDLY bit[16..17]")} else {if ($a != 0) {self.error("Bit field 15 is reserved")} else {if ($b != 0) {self.error("Bit field(bit[0..3]) is reserved")} else {self.RCR_VALUE = $1, self.RCR_SETUP_update($1), "ok"}}}}}} else {$c = $1 & 0x00008000, $d = $1 & 0x0000001F, $f = $1 & 0x00030000, $i = $1 & 0x00C00000, $j = $1 & 0x000000C0, if ($i == 0x00C00000) {self.error("Invalid input for RWDLEN2 bit[21..23]")} else {if ($j == 0x000000C0) {self.error("Invalid input for RWDLEN1 bit[5..7]")} else {if ($f == 0x00030000) {self.error("Invalid input for RDATDLY bit[16..17]")} else {if ($c != 0) {self.error("Bit field 15 is reserved")} else {if ($d != 0) {self.error("Bit field(bit[0..4]) is reserved")} else {self.RCR_VALUE = $1, self.RCR_SETUP_update($1), "ok"}}}}}})
- }
- inst XCR_VALUE :: self.XCR_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Transmitter Control Reg. (XCR) "
- prop Format :: "0x%08X"
- prop JSName :: "mcbspXcr"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 0
- prop TabName :: "Advanced"
- prop cGen :: 1
- prop cType :: "Uint32"
- prop Set :: (if (CSL.C11_SUPPORT || CSL.C64_SUPPORT) {$a = $1 & 0x00008000, $b = $1 & 0x0000000F, $e = $1 & 0x00030000, $g = $1 & 0x00C00000, $h = $1 & 0x000000C0, if ($g == 0x00C00000) {self.error("Invalid input for XWDLEN2 bit[21..23]")} else {if ($h == 0x000000C0) {self.error("Invalid input for XWDLEN1 bit[5..7]")} else {if ($e == 0x00030000) {self.error("Invalid input for XDATDLY bit[16..17]")} else {if ($a != 0) {self.error("Bit field 15 is reserved")} else {if ($b != 0) {self.error("Bit field(bit[0..3]) is reserved")} else {self.XCR_VALUE = $1, self.XCR_SETUP_update($1), "ok"}}}}}} else {$c = $1 & 0x00008000, $d = $1 & 0x0000001F, $f = $1 & 0x00030000, $i = $1 & 0x00C00000, $j = $1 & 0x000000C0, if ($i == 0x00C00000) {self.error("Invalid input for XWDLEN2 bit[21..23]")} else {if ($j == 0x000000C0) {self.error("Invalid input for XWDLEN1 bit[5..7]")} else {if ($f == 0x00030000) {self.error("Invalid input for XDATDLY bit[16..17]")} else {if ($c != 0) {self.error("Bit field 15 is reserved")} else {if ($d != 0) {self.error("Bit field(bit[0..4]) is reserved")} else {self.XCR_VALUE = $1, self.XCR_SETUP_update($1), "ok"}}}}}})
- }
- inst SRGR_VALUE :: self.SRGR_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Sample-Rate Generator Reg. (SRGR) "
- prop Format :: "0x%08X"
- prop JSName :: "mcbspSrgr"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 0
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.SRGR_VALUE = $1, self.SRGR_SETUP_update($1), "ok")
- }
- inst MCR_VALUE :: self.MCR_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Multichannel Control Reg. (MCR) "
- prop Format :: "0x%08X"
- prop JSName :: "mcbspMcr"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 0
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: ($a = $1 & 0x02000200, if (CSL.C64_SUPPORT && ($a == 0x00000200 || $a == 0x02000000)) {self.error("XMCME and RMCME have to be identical")} else {self.MCR_VALUE = $1, self.MCR_SETUP_update($1), "ok"})
- }
- inst RCER_VALUE :: self.RCER_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Receiver Channel Enable(RCER) "
- prop Format :: "0x%08X"
- prop JSName :: "mcbspRcer"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && !CSL.C64_SUPPORT
- prop NoGen :: 0
- prop cGen :: !CSL.C64_SUPPORT
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.RCER_VALUE = $1, self.RCER_SETUP_update($1), "ok")
- }
- inst RCERE0_VALUE :: self.RCERE0_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Enhanced Receiver Channel Enable(RCERE0) "
- prop Format :: "0x%08X"
- prop JSName :: "mcbspRcere0"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && CSL.C64_SUPPORT
- prop NoGen :: 0
- prop cGen :: CSL.C64_SUPPORT
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.RCERE0_VALUE = $1, self.RCERE0_SETUP_update($1), "ok")
- }
- inst RCERE1_VALUE :: self.RCERE1_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Enhanced Receiver Channel Enable(RCERE1) "
- prop Format :: "0x%08X"
- prop JSName :: "mcbspRcere1"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && CSL.C64_SUPPORT
- prop NoGen :: 0
- prop cGen :: CSL.C64_SUPPORT
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.RCERE1_VALUE = $1, self.RCERE1_SETUP_update($1), "ok")
- }
- inst RCERE2_VALUE :: self.RCERE2_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Enhanced Receiver Channel Enable(RCERE2) "
- prop Format :: "0x%08X"
- prop JSName :: "mcbspRcere2"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && CSL.C64_SUPPORT
- prop NoGen :: 0
- prop cGen :: CSL.C64_SUPPORT
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.RCERE2_VALUE = $1, self.RCERE2_SETUP_update($1), "ok")
- }
- inst RCERE3_VALUE :: self.RCERE3_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Enhanced Receiver Channel Enable(RCERE3) "
- prop Format :: "0x%08X"
- prop JSName :: "mcbspRcere3"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && CSL.C64_SUPPORT
- prop NoGen :: 0
- prop cGen :: CSL.C64_SUPPORT
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.RCERE3_VALUE = $1, self.RCERE3_SETUP_update($1), "ok")
- }
- inst XCER_VALUE :: self.XCER_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Transmitter Channel Enable(XCER) "
- prop Format :: "0x%08X"
- prop JSName :: "mcbspXcer"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && !CSL.C64_SUPPORT
- prop NoGen :: 0
- prop cGen :: !CSL.C64_SUPPORT
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.XCER_VALUE = $1, self.XCER_SETUP_update($1), "ok")
- }
- inst XCERE0_VALUE :: self.XCERE0_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Enhanced Transmitter Channel Enable(XCERE0) "
- prop Format :: "0x%08X"
- prop JSName :: "mcbspXcere0"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && CSL.C64_SUPPORT
- prop NoGen :: 0
- prop cGen :: CSL.C64_SUPPORT
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.XCERE0_VALUE = $1, self.XCERE0_SETUP_update($1), "ok")
- }
- inst XCERE1_VALUE :: self.XCERE1_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Enhanced Transmitter Channel Enable(XCERE1) "
- prop Format :: "0x%08X"
- prop JSName :: "mcbspXcere1"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && CSL.C64_SUPPORT
- prop NoGen :: 0
- prop cGen :: CSL.C64_SUPPORT
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.XCERE1_VALUE = $1, self.XCERE1_SETUP_update($1), "ok")
- }
- inst XCERE2_VALUE :: self.XCERE2_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Enhanced Transmitter Channel Enable(XCERE2) "
- prop Format :: "0x%08X"
- prop JSName :: "mcbspXcere2"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && CSL.C64_SUPPORT
- prop NoGen :: 0
- prop cGen :: CSL.C64_SUPPORT
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.XCERE2_VALUE = $1, self.XCERE2_SETUP_update($1), "ok")
- }
- inst XCERE3_VALUE :: self.XCERE3_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Enhanced Transmitter Channel Enable(XCERE3) "
- prop Format :: "0x%08X"
- prop JSName :: "mcbspXcere3"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && CSL.C64_SUPPORT
- prop NoGen :: 0
- prop cGen :: CSL.C64_SUPPORT
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.XCERE3_VALUE = $1, self.XCERE3_SETUP_update($1), "ok")
- }
- inst PCR_VALUE :: self.PCR_VALUE_update() {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Label :: "Pin Control Reg. (PCR) "
- prop Format :: "0x%08X"
- prop JSName :: "mcbspPcr"
- prop Visible :: 1
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 0
- prop cGen :: 1
- prop cType :: "Uint32"
- prop TabName :: "Advanced"
- prop Set :: (self.PCR_VALUE = $1, self.PCR_SETUP_update($1), "ok")
- }
- }
- type hMcbsp {
- isa ObjectMgr
- prop name :: "hMcbsp"
- prop Label :: "MCBSP Resource Manager"
- prop JSName :: "HMCBSP"
- prop IsContainedIn :: MCBSPFOLDER
- prop NoGen :: 1
- prop GlobalPropertyPage :: "{1E62DD10-59A8-11d4-947D-0050048381B7}"
- prop InstancePropertyPage :: "{1E62DD11-59A8-11d4-947D-0050048381B7}"
- prop GlobalIcon :: 159
- prop InstanceIcon :: 160
- prop GlobalHelpTopic :: (1052)
- prop InstanceHelpTopic :: (1053)
- prop localCanCreate :: (self.error("New Mcbsp handle objects cannot be created"))
- prop localCanDelete :: (self.error("Mcbsp handle objects cannot be deleted"))
- prop chipcall :: (scan ($i; hMcbsp) {if (!CSL.MCBSP2_SUPPORT && $i.PORT == "MCBSP2") {$i.MCBSP_HANDLE_ENABLE = 0, $i.MCBSP_INIT_ENABLE = 0, $i.cOpenArg0 = "MCBSP_None"} }, if (self.CHIPCHAIN != nil) {$e = self.CHIPCHAIN.chipcall()} , "ok")
- prop localInit :: (self.CHIPCHAIN = GBL.CHIPCHAIN, GBL.CHIPCHAIN = hMcbsp)
- prop cGen :: 1
- prop cHandle :: (self.cOpenGen)
- prop cHeaderName :: ($a = "", scan ($b; hMcbsp) {if ($b.MCBSP_HANDLE_ENABLE == 1) {$a = "csl_mcbsp.h"} }, $a)
- prop cHandleType :: "MCBSP_Handle"
- prop cStructQual :: "far"
- prop cOpenName :: "MCBSP_open"
- prop cConfigName :: "MCBSP_config"
- 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 :: nil {
- prop Visible :: 0
- prop Writable :: (CSL.MCBSP_SUPPORT) && 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 MCBSP_HANDLE_ENABLE :: 0 {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Open MCBSP Port"
- prop JSName :: "mcbspHandleEnable"
- prop Visible :: 1
- prop Writable :: if (CSL.MCBSP_SUPPORT) && (CSL.MCBSP2_SUPPORT || (!CSL.MCBSP2_SUPPORT && (self.PORT == "MCBSP0" || self.PORT == "MCBSP1"))) {1} else {0}
- prop NoGen :: 1
- prop Set :: ($a = 0, if ($1 == 0) {self.MCBSP_HANDLE_ENABLE = $1, self.MCBSP_INIT = MCBSP_NOTHING, self.cOpenArg0 = "MCBSP_None", "ok"} else {self.MCBSP_HANDLE_ENABLE = $1, if (self.PORT == "MCBSP0") {self.cOpenArg0 = "MCBSP_DEV0", "ok"} else {if (self.PORT == "MCBSP1") {self.cOpenArg0 = "MCBSP_DEV1", "ok"} else {self.cOpenArg0 = "MCBSP_DEV2", "ok"}}})
- }
- inst HandleName :: self {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Handle "
- prop JSName :: "mcbspHandleName"
- prop Visible :: 1
- prop Writable :: if (CSL.MCBSP_SUPPORT) && (self.MCBSP_HANDLE_ENABLE == 1) {1} else {0}
- }
- inst PORT :: "MCBSP0" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "MCBSP0,MCBSP1,MCBSP2"
- prop Label :: " Port"
- prop Visible :: 0
- prop Writable :: (CSL.MCBSP_SUPPORT) && 0
- prop NoGen :: 1
- }
- inst cOpenGen :: = (CSL.MCBSP_SUPPORT && (self.MCBSP_HANDLE_ENABLE == 1) && (self.HandleName != "")) {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Visible :: 0
- prop Writable :: (CSL.MCBSP_SUPPORT) && 0
- prop NoGen :: 1
- }
- inst cOpenArg0 :: (if (self.MCBSP_HANDLE_ENABLE == 0) {"MCBSP_None"} ) {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Arg0 "
- prop Visible :: 0
- prop Writable :: (CSL.MCBSP_SUPPORT) && 0
- prop NoGen :: 1
- }
- inst cOpenArg1 :: "MCBSP_OPEN_RESET" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Pre-initialize (Default) "
- prop Visible :: 0
- prop Writable :: (CSL.MCBSP_SUPPORT) && 0
- prop NoGen :: 1
- }
- inst MCBSP_INIT_ENABLE :: 0 {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Enable Pre-Initialization"
- prop JSName :: "mcbspEnablePreInit"
- prop Visible :: 1
- prop Writable :: if (CSL.MCBSP_SUPPORT) && (self.MCBSP_HANDLE_ENABLE == 1) {1} else {0}
- prop NoGen :: 1
- prop Set :: ($a = 0, scan ($b; mcbspCfg) {$a = $a + 1}, if ($a == 1) {self.MCBSP_INIT_ENABLE = 0, self.error("You must create a new configuration object")} else {self.MCBSP_INIT_ENABLE = $1, if ($1 == 0) {self.MCBSP_INIT = MCBSP_NOTHING} , "ok"})
- }
- inst MCBSP_INIT :: MCBSP_NOTHING {
- prop Type :: "{7BA2DA00-5A53-11d0-9BFE-0000C0AC14C7}"
- prop MemberType :: mcbspCfg
- prop Label :: " Pre-Initialize with"
- prop JSName :: "mcbspPreInit"
- prop Visible :: 1
- prop Writable :: if (CSL.MCBSP_SUPPORT) && ((self.MCBSP_INIT_ENABLE == 1) && (self.MCBSP_HANDLE_ENABLE == 1)) {1} else {0}
- prop NoGen :: 0
- }
- inst cConfigGen :: = ((self.MCBSP_HANDLE_ENABLE == 1) && (self.MCBSP_INIT_ENABLE == 1) && (self.MCBSP_INIT != MCBSP_NOTHING) && (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.MCBSP_INIT {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop MemberType :: mcbspCfg
- prop Label :: "Pre-initialize Config"
- prop Visible :: 0
- prop Writable :: (CSL.MCBSP_SUPPORT) && 1
- prop NoGen :: 0
- prop cPreVal :: "&"
- }
- }
- object Mcbsp_Port0 :: hMcbsp {
- param iComment :: "Mcbsp 0"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hMcbsp"
- param iDelMsg :: "This MCBSP Handle object cannot be deleted"
- param MCBSP_HANDLE_ENABLE :: 0
- param HandleName :: "hMcbsp0"
- param PORT :: "MCBSP0"
- param cOpenArg0 :: "MCBSP_None"
- param cOpenArg1 :: "MCBSP_OPEN_RESET"
- param MCBSP_INIT_ENABLE :: 0
- param MCBSP_INIT :: MCBSP_NOTHING
- }
- object Mcbsp_Port1 :: hMcbsp {
- param iComment :: "Mcbsp 1"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hMcbsp"
- param iDelMsg :: "This MCBSP Handle object cannot be deleted"
- param MCBSP_HANDLE_ENABLE :: 0
- param HandleName :: "hMcbsp1"
- param PORT :: "MCBSP1"
- param cOpenArg0 :: "MCBSP_None"
- param cOpenArg1 :: "MCBSP_OPEN_RESET"
- param MCBSP_INIT_ENABLE :: 0
- param MCBSP_INIT :: MCBSP_NOTHING
- }
- object Mcbsp_Port2 :: hMcbsp {
- param iComment :: "Mcbsp 2"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "hMcbsp"
- param iDelMsg :: "This MCBSP Handle object cannot be deleted"
- param MCBSP_HANDLE_ENABLE :: 0
- param HandleName :: "hMcbsp2"
- param PORT :: "MCBSP2"
- param cOpenArg0 :: "MCBSP_None"
- param cOpenArg1 :: "MCBSP_OPEN_RESET"
- param MCBSP_INIT_ENABLE :: 0
- param MCBSP_INIT :: MCBSP_NOTHING
- }
- object MCBSP_NOTHING :: mcbspCfg {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param DLB_SETUP :: "Disable"
- param CLKSTP_SETUP :: "Disable"
- param FREE_SETUP :: "SOFT bit Control"
- param SOFT_SETUP :: "Transmission Aborted"
- param XINTM_SETUP :: "XRDY"
- param RINTM_SETUP :: "RRDY"
- param XCOMPAND_SETUP :: "No Companding/MSB"
- param RCOMPAND_SETUP :: "No Companding/MSB"
- param XRST_SETUP :: "Disable/Reset"
- param XSYNCERR_SETUP :: "Clear"
- param CLKXM_SETUP :: "Input/Mcbsp-slave(SPI)"
- param CLKXP_SETUP :: "Rising Edge"
- param FSXM_SETUP :: "External Source"
- param FSXP_SETUP :: "Active High"
- param XFIG_SETUP :: "Transfer restarted"
- param XDATDLY_SETUP :: "0-bit"
- param XPHASE_SETUP :: "Single Phase"
- param XFRLEN1_SETUP :: 1
- param XWDLEN1_SETUP :: "8-bits"
- param XFRLEN2_SETUP :: 1
- param XWDLEN2_SETUP :: "8-bits"
- param RRST_SETUP :: "Disable/Reset"
- param RSYNCERR_SETUP :: "Clear"
- param CLKRM_SETUP :: "Input/Hi.Z(DLB)"
- param CLKRP_SETUP :: "Falling Edge"
- param FSRM_SETUP :: "External Source"
- param FSRP_SETUP :: "Active High"
- param RFIG_SETUP :: "Transfer restarted"
- param RDATDLY_SETUP :: "0-bit"
- param RPHASE_SETUP :: "Single Phase"
- param RFRLEN1_SETUP :: 1
- param RWDLEN1_SETUP :: "8-bits"
- param RFRLEN2_SETUP :: 1
- param RWDLEN2_SETUP :: "8-bits"
- param GRST_SETUP :: "Reset"
- param FRST_SETUP :: "Reset"
- param CLKSM_SETUP :: "Internal Clock"
- param GSYNC_SETUP :: "Free"
- param CLKSP_SETUP :: "Rising Edge"
- param FSGM_SETUP :: "DXR-to-XSR copy"
- param FPER_SETUP :: 1
- param FWID_SETUP :: 1
- param CLKGDV_SETUP :: 2
- param XMCM_SETUP :: "Enable/No-Masking"
- param RX_MCME_SETUP :: "Normal Operation"
- param XPABLK_SETUP :: " 0-to-15"
- param XPBBLK_SETUP :: " 16-to-31"
- param XCEA_SETUP :: 0
- param XCEB_SETUP :: 0
- param XCE0_SETUP :: 0
- param XCE1_SETUP :: 0
- param XCE2_SETUP :: 0
- param XCE3_SETUP :: 0
- param RMCM_SETUP :: "All Enable"
- param RPABLK_SETUP :: " 0-to-15"
- param RPBBLK_SETUP :: " 16-to-31"
- param RCEA_SETUP :: 0
- param RCEB_SETUP :: 0
- param RCE0_SETUP :: 0
- param RCE1_SETUP :: 0
- param RCE2_SETUP :: 0
- param RCE3_SETUP :: 0
- param XIOEN_SETUP :: "Disable"
- param CLKXP_output :: 0
- param FSXP_output :: 0
- param DX_output :: 0
- param RIOEN_SETUP :: "Disable"
- param CLKRP_output :: 0
- param FSRP_output :: 0
- param SPCR_VALUE :: 0
- param RCR_VALUE :: 0
- param XCR_VALUE :: 0
- param SRGR_VALUE :: 536870913
- param MCR_VALUE :: 0
- param RCER_VALUE :: 0
- param RCERE0_VALUE :: 0
- param RCERE1_VALUE :: 0
- param RCERE2_VALUE :: 0
- param RCERE3_VALUE :: 0
- param XCER_VALUE :: 0
- param XCERE0_VALUE :: 0
- param XCERE1_VALUE :: 0
- param XCERE2_VALUE :: 0
- param XCERE3_VALUE :: 0
- param PCR_VALUE :: 0
- }
- type TCPFOLDER {
- prop Label :: "Turbo Decoder Coprocessor -TCP "
- prop GlobalIcon :: 197
- prop InstanceIcon :: 198
- prop GlobalHelpTopic :: 1080
- prop GlobalPropertyPage :: "{B936FB81-49A5-11d4-967C-0050048381C7}"
- prop IsContainedIn :: CSL
- prop NoGen :: 1
- }
- type tcpBaseParam {
- isa ObjectMgr
- prop name :: "tcpBaseParam"
- prop Label :: "TCP Parameters Manager"
- prop JSName :: "TCPBP"
- prop IsContainedIn :: TCPFOLDER
- prop GlobalIcon :: 197
- prop InstanceIcon :: 198
- prop GlobalHelpTopic :: 1081
- prop InstanceHelpTopic :: 1081
- prop GlobalPropertyPage :: "{B936FB81-49A5-11d4-967C-0050048381C8}"
- prop InstancePropertyPage :: "{B936FB81-49A5-11d4-967C-0050048381C9}"
- prop Vendor :: "vendor1"
- prop Version :: "1.00.00"
- prop NoGen :: 1
- prop cGen :: CSL.TCP_SUPPORT
- prop cStruct :: CSL.TCP_SUPPORT
- prop cHeaderName :: if self.gNumOf > 0 {"csl_tcp.h"} else {""}
- prop cStructType :: "TCP_BaseParams"
- prop cStructQual :: "far"
- prop cStructName :: self
- prop cConfigName :: "TCP_genParams"
- prop ParamConfigType :: if (hTcp.TCP_INITPARAM_ENABLE == 1 && hTcp.TCP_PARAMCONFIGNAME != "NULL") {"TCP_Params "} else {""}
- prop ParamConfigName :: if (hTcp.TCP_INITPARAM_ENABLE == 1 && hTcp.TCP_PARAMCONFIGNAME != "NULL") {hTcp.TCP_PARAMCONFIGNAME} else {""}
- prop ParamEnd :: if (hTcp.TCP_INITPARAM_ENABLE == 1 && hTcp.TCP_PARAMCONFIGNAME != "NULL") {";n"} else {""}
- prop cGenCEpilogue :: ("%1S%2S%3Sn ,ParamConfigType,ParamConfigName,ParamEnd")
- prop localDelete :: (self.myDelete)
- prop myDelete :: ($a = 0, scan ($b; tcpBaseParam) {$a += 1}, if ($a == 2) {hTcp.TCP_INITPARAM_ENABLE = 0} , "ok")
- prop GenParamStr :: if (hTcp.TCP_INITPARAM_ENABLE == 1) {"TCP_genParams(&%3s, &"} else {""}
- prop ParamConfigObj :: if (hTcp.TCP_INITPARAM_ENABLE == 1 && hTcp.TCP_PARAMCONFIGNAME != "NULL") {hTcp.TCP_PARAMCONFIGNAME} else {""}
- prop ConfigEnd :: if (hTcp.TCP_INITPARAM_ENABLE == 1 && hTcp.TCP_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 cConfigGen :: = 0 {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop NoGen :: 1
- prop Visible :: 0
- }
- inst cConfigArg0 :: = hTcp.TCP_INITPARAM {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop MemberType :: tcpBaseParam
- prop Label :: "Pre-initialize Params"
- prop Visible :: 0
- prop Writable :: (CSL.TCP_SUPPORT)
- prop NoGen :: 0
- prop cPreVal :: "&"
- }
- inst cConfigArg1 :: = hTcp.TCP_PARAMCONFIGNAME {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Pre-initialize Params"
- prop Visible :: 0
- prop Writable :: (CSL.TCP_SUPPORT)
- prop NoGen :: 0
- prop cPreVal :: "&"
- }
- inst STANDARD_SETUP :: "3GPP" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "3GPP,IS2000"
- prop Label :: "Turbo Decoder Standard"
- prop Visible :: 1
- prop JSName :: "tcpBaseParamStandard"
- prop Writable :: CSL.TCP_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "TCP Base Params"
- prop Set :: (if ($1 == "IS2000") {self.cStandardGen = "TCP_STANDARD_IS2000"} else {self.cStandardGen = "TCP_STANDARD_3GPP"}, self.STANDARD_SETUP = $1, "ok")
- }
- inst cStandardGen :: = "TCP_STANDARD_3GPP" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Decoder Standard"
- prop Visible :: 0
- prop Writable :: CSL.TCP_SUPPORT
- prop NoGen :: 1
- prop cGen :: 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 (RATE)"
- prop Visible :: 1
- prop JSName :: "tcpBaseParamRate"
- prop Writable :: (CSL.TCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "TCP Base 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, "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 :: 1
- }
- 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 :: "tcpBaseParamFrameLen"
- prop Writable :: (CSL.TCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 1
- prop TabName :: "TCP Base Params"
- prop Set :: (if ($1 < 40 || $1 > 20730) {self.error("Frame Length range [40-20730]")} else {self.FRAMELEN_SETUP = $1, "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 :: "tcpBaseParamProlSize"
- prop Writable :: (CSL.TCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 1
- prop TabName :: "TCP Base Params"
- prop Set :: (if ($1 < 24 || $1 > 48) {self.error("Prolog Size range [24-48]")} else {self.PROLSIZE_SETUP = $1, "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 :: "tcpBaseParamMaxIt"
- prop Writable :: (CSL.TCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 1
- prop TabName :: "TCP Base Params"
- prop Set :: (if ($1 < 0 || $1 > 32) {self.error("Maximum number of Iterations range [0-32]")} else {self.MAXIT_SETUP = $1, "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 :: "tcpBaseParamSnrTh"
- prop Writable :: (CSL.TCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 1
- prop TabName :: "TCP Base Params"
- prop Set :: (if ($1 < 0 || $1 > 100) {self.error("Maximum number of Iterations range [0-100]")} else {self.SNR_SETUP = $1, "ok"})
- }
- 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 :: "tcpBaseParamInterFlag"
- prop Writable :: (CSL.TCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "TCP Base Params"
- prop Set :: (if ($1 == "Enable") {self.cInterGen = " 1"} else {self.cInterGen = " 0"}, self.INTER_SETUP = $1, "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 :: 1
- }
- 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 :: "tcpBaseParamOutFlag"
- prop Writable :: (CSL.TCP_SUPPORT)
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "TCP 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 :: " Output Parameters Read Flag "
- prop Visible :: 0
- prop Writable :: CSL.TCP_SUPPORT
- prop NoGen :: 1
- prop cGen :: 1
- }
- }
- type tcpCfg {
- isa ObjectMgr
- prop name :: "tcpCfg"
- prop Label :: "TCP Configuration Manager"
- prop JSName :: "TCP"
- prop IsContainedIn :: TCPFOLDER
- prop GlobalIcon :: 197
- prop InstanceIcon :: 198
- prop GlobalHelpTopic :: 1082
- prop InstanceHelpTopic :: 1082
- prop GlobalPropertyPage :: "{B936FB81-49A5-11d4-967C-0050048381C8}"
- prop InstancePropertyPage :: "{B936FB81-49A5-11d4-967C-0050048381C9}"
- prop Vendor :: "vendor1"
- prop Version :: "1.00.00"
- prop NoGen :: 1
- prop cGen :: CSL.TCP_SUPPORT
- prop cStruct :: CSL.TCP_SUPPORT
- prop cHeaderName :: if self.gNumOf > 0 {"csl_tcp.h"} else {""}
- prop cStructType :: "TCP_ConfigIc"
- prop cStructQual :: "far"
- prop cStructName :: self
- prop cConfigName :: "TCP_icConfig"
- prop SetParamStr :: if (hTcp.TCP_SETPARAM_ENABLE == 1 && hTcp.TCP_INIT != TCP_NOTHING) {"TCP_setParams(&"} else {""}
- prop ParamConfigObj :: if (hTcp.TCP_SETPARAM_ENABLE == 1 && hTcp.TCP_INIT != TCP_NOTHING && hTcp.TCP_PARAMCONFIGNAME != "NULL") {hTcp.TCP_PARAMCONFIGNAME} else {""}
- prop IcConfigObj :: if (hTcp.TCP_SETPARAM_ENABLE == 1 && hTcp.TCP_INIT != TCP_NOTHING && hTcp.TCP_PARAMCONFIGNAME != "NULL") {",&%4s"} else {""}
- prop ConfigEnd :: if (hTcp.TCP_SETPARAM_ENABLE == 1 && hTcp.TCP_INIT != TCP_NOTHING && hTcp.TCP_PARAMCONFIGNAME != "NULL") {");"} else {""}
- prop cGenFxnPreInst :: (" %1S%2S%3S%5Sn ,SetParamStr,ParamConfigObj,IcConfigObj,cStructName,ConfigEnd")
- prop localDelete :: (self.myDelete)
- prop myDelete :: ($a = 0, scan ($b; tcpCfg) {$a += 1}, if ($a == 2) {hTcp.TCP_INIT_ENABLE = 0} , "ok")
- prop OPMOD_IC0 :: (if (self.MODE_SETUP == "Standalone(SA)") {0} else {if (self.MAP_SETUP == "MAP1(1st Iter.)") {0x00000008} else {if (self.MAP_SETUP == "MAP1(Any Other Iter.)") {0x0000000A} else {0x0000000E}}})
- prop RATE_IC0 :: (if (self.RATE_SETUP == "None") {0} else {if (self.RATE_SETUP == "1/2") {0x00000100} else {if (self.RATE_SETUP == "1/3") {0x00000200} else {0x00000300}}})
- prop OUTF_IC0 :: (if (self.OUTF_SETUP == "Disable") {0} else {0x00002000})
- prop INTER_IC0 :: (if (self.INTER_SETUP == "Disable") {0x00000000} else {0x00001000})
- prop FRAMELEN_IC0 :: (self.FRAMELEN_SETUP << 16)
- prop RELLEN_IC1 :: (self.RELLEN_SETUP << 16)
- prop SUBFRAMELEN_IC1 :: (self.SUBFRAMELEN_SETUP)
- prop LASTRELLEN_IC1 :: (self.LASTRELLEN_SETUP << 24)
- prop PROLSIZE_IC2 :: (self.PROLSIZE_SETUP)
- prop NUMSUBBLK_IC2 :: (self.NUMSUBBLK_SETUP << 8)
- prop LASTNUMSUBBLK_IC2 :: (self.LASTNUMSUBBLK_SETUP << 12)
- prop MAXIT_IC2 :: (self.MAXIT_SETUP << 16)
- prop SNR_IC2 :: (self.SNR_SETUP << 24)
- prop NWORDINTER_IC3 :: (self.NWORDINTER_SETUP)
- prop NWORDSP_IC3 :: (self.NWORDSP_SETUP << 16)
- prop NWORDAP_IC4 :: (self.NWORDAP_SETUP)
- prop NWORDEXT_IC4 :: (self.NWORDEXT_SETUP << 16)
- prop NWORDHD_IC5 :: (self.NWORDHD_SETUP)
- prop IC0_VALUE_update :: (self.OPMOD_IC0() | self.RATE_IC0() | self.FRAMELEN_IC0() | self.OUTF_IC0() | self.INTER_IC0())
- prop IC0_SETUP_update :: (self.FRAMELEN_SETUP = ($1 & 0xFFFF0000) >> 16, self.OUTF_SETUP = if ($1 & 0x00002000) {"Enable"} else {"Disable"}, self.INTER_SETUP = if ($1 & 0x00001000) {"Enable"} else {"Disable"}, self.RATE_SETUP = ($a = ($1 & 0x00000300), if ($a == 0x00000100) {"1/2"} else {if ($a == 0x00000200) {"1/3"} else {if ($a == 0x00000300) {"1/4"} else {"None"}}}), self.MAP_SETUP = ($a = ($1 & 0x0000000E), if ($a == 0x00000008) {"MAP1(1st Iter.)"} else {if ($a == 0x0000000A) {"MAP1(Any Other Iter.)"} else {if ($a == 0x0000000E) {"MAP2"} else {"MAP1(1st Iter.)"}}}), self.MODE_SETUP = ($a = ($1 & 0x0000000E), if ($a == 0x00000000) {"Standalone(SA)"} else {"Shared(SP)"}))
- prop IC1_VALUE_update :: (self.LASTRELLEN_IC1() | self.RELLEN_IC1() | self.SUBFRAMELEN_IC1())
- prop IC1_SETUP_update :: (self.LASTRELLEN_SETUP = ($1 & 0x7F000000) >> 24, self.RELLEN_SETUP = ($1 & 0x007F0000) >> 16, self.SUBFRAMELEN_SETUP = ($1 & 0x0000FFFF))
- prop IC2_VALUE_update :: (self.SNR_IC2() | self.MAXIT_IC2() | self.LASTNUMSUBBLK_IC2() | self.NUMSUBBLK_IC2() | self.PROLSIZE_IC2())
- prop IC2_SETUP_update :: (self.SNR_SETUP = ($1 & 0xFF000000) >> 24, self.MAXIT_SETUP = ($1 & 0x001F0000) >> 16, self.LASTNUMSUBBLK_SETUP = ($1 & 0x0000F000) >> 12, self.NUMSUBBLK_SETUP = ($1 & 0x00000F00) >> 8, self.PROLSIZE_SETUP = ($1 & 0x0000003F))
- prop IC3_VALUE_update :: (self.NWORDINTER_IC3() | self.NWORDSP_IC3())
- prop IC3_SETUP_update :: (self.NWORDINTER_SETUP = ($1 & 0x0000FFFF), self.NWORDSP_SETUP = ($1 & 0xFFFF0000) >> 16)
- prop IC4_VALUE_update :: (self.NWORDAP_IC4() | self.NWORDEXT_IC4())
- prop IC4_SETUP_update :: (self.NWORDAP_SETUP = ($1 & 0x0000FFFF), self.NWORDEXT_SETUP = ($1 & 0xFFFF0000) >> 16)
- prop IC5_VALUE_update :: (self.NWORDHD_IC5() & 0x000000FF)
- prop IC5_SETUP_update :: (self.NWORDHD_SETUP = ($1 & 0x000000FF))
- 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 :: = ((hTcp.TCP_INIT_ENABLE == 1) && (hTcp.TCP_INIT == self) && (hTcp.TCP_INIT != TCP_NOTHING)) {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop NoGen :: 1
- prop Visible :: 0
- }
- inst cConfigArg0 :: = hTcp.TCP_INIT {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop MemberType :: tcpCfg
- prop Label :: "Pre-initialize Config"
- prop Visible :: 0
- prop Writable :: (CSL.TCP_SUPPORT)
- prop NoGen :: 0
- prop cPreVal :: "&"
- }
- inst STANDARD_SETUP :: "3GPP" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "3GPP,IS2000"
- prop Label :: "Turbo Decoder Standard"
- prop Visible :: 1
- prop JSName :: "tcpDecoderStandard"
- prop Writable :: CSL.TCP_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Programmable TCP Params"
- prop Set :: (if ($1 == "IS2000") {self.cStandardGen = "TCP_STANDARD_IS2000"} else {self.cStandardGen = "TCP_STANDARD_3GPP"}, self.STANDARD_SETUP = $1, "ok")
- }
- inst cStandardGen :: = "TCP_STANDARD_3GPP" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Decoder Standard"
- prop Visible :: 0
- prop Writable :: CSL.TCP_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- }
- inst MODE_SETUP :: "Standalone(SA)" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Standalone(SA),Shared(SP)"
- prop Label :: "Turbo Decoder Operation Mode"
- prop Visible :: 1
- prop JSName :: "tcpMode"
- prop Writable :: CSL.TCP_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Programmable TCP Params"
- prop Set :: (if ($1 == "Standalone(SA)") {self.cModeGen = "TCP_MODE_SA"} else {self.cModeGen = "TCP_MODE_SP"}, self.MODE_SETUP = $1, self.IC0_VALUE = self.IC0_VALUE_update(), "ok")
- }
- inst cModeGen :: = "TCP_MODE_SA" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Decoder Mode"
- prop Visible :: 0
- prop Writable :: CSL.TCP_SUPPORT
- prop NoGen :: 1
- prop cGen :: 0
- }
- inst MAP_SETUP :: "MAP1(1st Iter.)" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "MAP1(1st Iter.),MAP1(Any Other Iter.),MAP2"
- prop Label :: " Map (SP Mode only)"
- prop Visible :: 1
- prop JSName :: "tcpMap"
- prop Writable :: if (CSL.TCP_SUPPORT != 0 && self.MODE_SETUP == "Shared(SP)") {1} else {0}
- prop NoGen :: 1
- prop cGen :: 0
- prop TabName :: "Programmable TCP Params"
- prop Set :: (if ($1 == "MAP1(1st Iter.)") {self.cMapGen = "TCP_MAP_MAP1A"} else {if ($1 == "MAP1(Any Other Iter.)") {self.cMapGen = "TCP_MAP_MAP1B"} else {self.cMapGen = "TCP_MAP_MAP2"}}, self.MAP_SETUP = $1, self.IC0_VALUE = self.IC0_VALUE_update(), "ok")
- }
- inst cMapGen :: = "TCP_MAP_MAP1A" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: " Operation Map (SP Mode only)"
- prop Visible :: 0
- prop Writable :: CSL.TCP_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 (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 {