xdc.loadCapsule('xdc/om2.xs'); var $om = xdc.om; var __CFG__ = $om.$name == 'cfg'; var __ROV__ = $om.$name == 'rov'; var $$pkgspec = xdc.$$ses.findPkg('ti.sdo.edma3.rm'); /* ======== IMPORTS ======== */ xdc.loadPackage('xdc'); xdc.loadPackage('xdc.corevers'); /* ======== OBJECTS ======== */ // package ti.sdo.edma3.rm var pkg = $om.$$bind('ti.sdo.edma3.rm.Package', $$PObj()); $om.$$bind('ti.sdo.edma3.rm', $$VObj('ti.sdo.edma3.rm', pkg)); // module RM var po = $om.$$bind('ti.sdo.edma3.rm.RM.Module', $$PObj()); var vo = $om.$$bind('ti.sdo.edma3.rm.RM', $$VObj('ti.sdo.edma3.rm.RM', po)); pkg.$$bind('RM', vo); /* ======== CONSTS ======== */ // module RM /* ======== CREATES ======== */ // module RM /* ======== FUNCTIONS ======== */ /* ======== SIZES ======== */ /* ======== TYPES ======== */ // module RM var po = $om['ti.sdo.edma3.rm.RM.Module'].$$init('ti.sdo.edma3.rm.RM.Module', $$Module); po.$$fld('$hostonly', $$T_Num, 1, 'r'); po.$$fld('edma3_max_rm_instances', $$T_CNum('(xdc_UInt)'), 8, 'wh'); /* ======== ROV ======== */ if (__ROV__) { } // __ROV__ /* ======== SINGLETONS ======== */ // package ti.sdo.edma3.rm var po = $om['ti.sdo.edma3.rm.Package'].$$init('ti.sdo.edma3.rm.Package', $om['xdc.IPackage.Module']); var cap = $om.$$bind('xdc.IPackage$$capsule', xdc.loadCapsule('ti/sdo/edma3/rm/package.xs')); if (cap['init']) po.$$fxn('init', $om['xdc.IPackage$$init'], cap['init']); if (cap['close']) po.$$fxn('close', $om['xdc.IPackage$$close'], cap['close']); if (cap['validate']) po.$$fxn('validate', $om['xdc.IPackage$$validate'], cap['validate']); if (cap['exit']) po.$$fxn('exit', $om['xdc.IPackage$$exit'], cap['exit']); if (cap['getLibs']) po.$$fxn('getLibs', $om['xdc.IPackage$$getLibs'], cap['getLibs']); if (cap['getSects']) po.$$fxn('getSects', $om['xdc.IPackage$$getSects'], cap['getSects']); po.$$bind('$capsule', cap); var pkg = $om['ti.sdo.edma3.rm'].$$init(po, 'ti.sdo.edma3.rm', $$DEFAULT, false); $om.$packages.$add(pkg); pkg.$$bind('$name', 'ti.sdo.edma3.rm'); pkg.$$bind('$category', 'Package'); pkg.$$bind('$$qn', 'ti.sdo.edma3.rm.'); pkg.$$bind('$spec', $$pkgspec); pkg.$$bind('$vers', [1, 03, 03]); pkg.$attr.$seal('length'); pkg.$$bind('$imports', [ ]); if (pkg.$vers.length >= 3) { pkg.$vers.push(Packages.xdc.services.global.Vers.getDate(xdc.csd() + '/..')); } pkg.build.libraries = [ ]; pkg.build.libDesc = [ ]; // module RM var vo = $om['ti.sdo.edma3.rm.RM']; var po = $om['ti.sdo.edma3.rm.RM.Module']; vo.$$init(po, 'ti.sdo.edma3.rm.RM', $$DEFAULT, false); vo.$$bind('Module', po); vo.$$bind('$category', 'Module'); vo.$$bind('$spec', xdc.$$ses.findUnit('ti.sdo.edma3.rm.RM')); vo.$$bind('$capsule', undefined); vo.$$bind('$package', $om['ti.sdo.edma3.rm']); vo.$$bind('$$tdefs', []); vo.$$bind('$$proxies', []); vo.$$bind('$$mcfgs', []); pkg.$modules.$add(vo); $om.$modules.$add(vo); vo.$$bind('$$instflag', 0); vo.$$bind('$$iobjflag', 1); vo.$$bind('$$sizeflag', 1); vo.$$bind('$$dlgflag', 0); vo.$$bind('$$iflag', 0); vo.$$bind('$$romcfgs', ''); if ('Module_State' in vo) vo.$$bind('$object', new vo.Module_State); vo.$$bind('$$meta_iobj', 0 + ('ti.sdo.edma3.rm.RM$$instance$static$init' in $om)); vo.$$bind('$$fxntab', []); vo.$$bind('$$logEvtCfgs', []); vo.$$bind('$$errorDescCfgs', []); vo.$$bind('$$assertDescCfgs', []); vo.$attr['@Template:"./RM.xdt"'] = "./RM.xdt"; vo.$attr.$seal('length'); vo.$$bind('TEMPLATE$', './RM.xdt'); pkg.$$bind('RM', vo); pkg.$unitNames.$add('RM'); /* ======== INITIALIZATION ======== */ if (__CFG__) { } // __CFG__ $om['ti.sdo.edma3.rm.RM'].module$meta$init(); pkg.init(); $om['ti.sdo.edma3.rm.RM'].$$bless();