8910_hard.xml 5.1 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356613576135861359613606136161362613636136461365613666136761368613696137061371613726137361374613756137661377613786137961380613816138261383613846138561386613876138861389613906139161392613936139461395613966139761398613996140061401614026140361404614056140661407614086140961410614116141261413614146141561416614176141861419614206142161422614236142461425614266142761428614296143061431614326143361434614356143661437614386143961440614416144261443614446144561446614476144861449614506145161452614536145461455614566145761458614596146061461614626146361464614656146661467614686146961470614716147261473614746147561476614776147861479614806148161482614836148461485614866148761488614896149061491614926149361494614956149661497614986149961500615016150261503615046150561506615076150861509615106151161512615136151461515615166151761518615196152061521615226152361524615256152661527615286152961530615316153261533615346153561536615376153861539615406154161542615436154461545615466154761548615496155061551615526155361554615556155661557615586155961560615616156261563615646156561566615676156861569615706157161572615736157461575615766157761578615796158061581615826158361584615856158661587615886158961590615916159261593615946159561596615976159861599616006160161602616036160461605616066160761608616096161061611616126161361614616156161661617616186161961620616216162261623616246162561626616276162861629616306163161632616336163461635616366163761638616396164061641616426164361644616456164661647616486164961650616516165261653616546165561656616576165861659616606166161662616636166461665616666166761668616696167061671616726167361674616756167661677616786167961680616816168261683616846168561686616876168861689616906169161692616936169461695616966169761698616996170061701617026170361704617056170661707617086170961710617116171261713617146171561716617176171861719617206172161722617236172461725617266172761728617296173061731617326173361734617356173661737617386173961740617416174261743617446174561746617476174861749617506175161752617536175461755617566175761758617596176061761617626176361764617656176661767617686176961770617716177261773617746177561776617776177861779617806178161782617836178461785617866178761788617896179061791617926179361794617956179661797617986179961800618016180261803618046180561806618076180861809618106181161812618136181461815618166181761818618196182061821618226182361824618256182661827618286182961830618316183261833618346183561836618376183861839618406184161842618436184461845618466184761848618496185061851618526185361854618556185661857618586185961860618616186261863618646186561866618676186861869618706187161872618736187461875618766187761878618796188061881618826188361884618856188661887618886188961890618916189261893618946189561896618976189861899619006190161902619036190461905619066190761908619096191061911619126191361914619156191661917619186191961920619216192261923619246192561926619276192861929619306193161932619336193461935619366193761938619396194061941619426194361944619456194661947619486194961950619516195261953619546195561956619576195861959619606196161962619636196461965619666196761968619696197061971619726197361974619756197661977619786197961980619816198261983619846198561986619876198861989619906199161992619936199461995619966199761998619996200062001620026200362004620056200662007620086200962010620116201262013620146201562016620176201862019620206202162022620236202462025620266202762028620296203062031620326203362034620356203662037620386203962040620416204262043620446204562046620476204862049620506205162052620536205462055620566205762058620596206062061620626206362064620656206662067620686206962070620716207262073620746207562076620776207862079620806208162082620836208462085620866208762088620896209062091620926209362094620956209662097620986209962100621016210262103621046210562106621076210862109621106211162112621136211462115621166211762118621196212062121621226212362124621256212662127621286212962130621316213262133621346213562136621376213862139621406214162142621436214462145621466214762148621496215062151621526215362154621556215662157621586215962160621616216262163621646216562166621676216862169621706217162172621736217462175621766217762178621796218062181621826218362184621856218662187621886218962190621916219262193621946219562196621976219862199622006220162202622036220462205622066220762208622096221062211622126221362214622156221662217622186221962220622216222262223622246222562226622276222862229622306223162232622336223462235622366223762238622396224062241622426224362244622456224662247622486224962250622516225262253622546225562256622576225862259622606226162262622636226462265622666226762268622696227062271622726227362274622756227662277622786227962280622816228262283622846228562286622876228862289622906229162292622936229462295622966229762298622996230062301623026230362304623056230662307623086230962310623116231262313623146231562316623176231862319623206232162322623236232462325623266232762328623296233062331623326233362334623356233662337623386233962340623416234262343623446234562346623476234862349623506235162352623536235462355623566235762358623596236062361623626236362364623656236662367623686236962370623716237262373623746237562376623776237862379623806238162382623836238462385623866238762388623896239062391623926239362394623956239662397623986239962400624016240262403624046240562406624076240862409624106241162412624136241462415624166241762418624196242062421624226242362424624256242662427624286242962430624316243262433624346243562436624376243862439624406244162442624436244462445624466244762448624496245062451624526245362454624556245662457624586245962460624616246262463624646246562466624676246862469624706247162472624736247462475624766247762478624796248062481624826248362484624856248662487624886248962490624916249262493624946249562496624976249862499625006250162502625036250462505625066250762508625096251062511625126251362514625156251662517625186251962520625216252262523625246252562526625276252862529625306253162532625336253462535625366253762538625396254062541625426254362544625456254662547625486254962550625516255262553625546255562556625576255862559625606256162562625636256462565625666256762568625696257062571625726257362574625756257662577625786257962580625816258262583625846258562586625876258862589625906259162592625936259462595625966259762598625996260062601626026260362604626056260662607626086260962610626116261262613626146261562616626176261862619626206262162622626236262462625626266262762628626296263062631626326263362634626356263662637626386263962640626416264262643626446264562646626476264862649626506265162652626536265462655626566265762658626596266062661626626266362664626656266662667626686266962670626716267262673626746267562676626776267862679626806268162682626836268462685626866268762688626896269062691626926269362694626956269662697626986269962700627016270262703627046270562706627076270862709627106271162712627136271462715627166271762718627196272062721627226272362724627256272662727627286272962730627316273262733627346273562736627376273862739627406274162742627436274462745627466274762748627496275062751627526275362754627556275662757627586275962760627616276262763627646276562766627676276862769627706277162772627736277462775627766277762778627796278062781627826278362784627856278662787627886278962790627916279262793627946279562796627976279862799628006280162802628036280462805628066280762808628096281062811628126281362814628156281662817628186281962820628216282262823628246282562826628276282862829628306283162832628336283462835628366283762838628396284062841628426284362844628456284662847628486284962850628516285262853628546285562856628576285862859628606286162862628636286462865628666286762868628696287062871628726287362874628756287662877628786287962880628816288262883628846288562886628876288862889628906289162892628936289462895628966289762898628996290062901629026290362904629056290662907629086290962910629116291262913629146291562916629176291862919629206292162922629236292462925629266292762928629296293062931629326293362934629356293662937629386293962940629416294262943629446294562946629476294862949629506295162952629536295462955629566295762958629596296062961629626296362964629656296662967629686296962970629716297262973629746297562976629776297862979629806298162982629836298462985629866298762988629896299062991629926299362994629956299662997629986299963000630016300263003630046300563006630076300863009630106301163012630136301463015630166301763018630196302063021630226302363024630256302663027630286302963030630316303263033630346303563036630376303863039630406304163042630436304463045630466304763048630496305063051630526305363054630556305663057630586305963060630616306263063630646306563066630676306863069630706307163072630736307463075630766307763078630796308063081630826308363084630856308663087630886308963090630916309263093630946309563096630976309863099631006310163102631036310463105631066310763108631096311063111631126311363114631156311663117631186311963120631216312263123631246312563126631276312863129631306313163132631336313463135631366313763138631396314063141631426314363144631456314663147631486314963150631516315263153631546315563156631576315863159631606316163162631636316463165631666316763168631696317063171631726317363174631756317663177631786317963180631816318263183631846318563186631876318863189631906319163192631936319463195631966319763198631996320063201632026320363204632056320663207632086320963210632116321263213632146321563216632176321863219632206322163222632236322463225632266322763228632296323063231632326323363234632356323663237632386323963240632416324263243632446324563246632476324863249632506325163252632536325463255632566325763258632596326063261632626326363264632656326663267632686326963270632716327263273632746327563276632776327863279632806328163282632836328463285632866328763288632896329063291632926329363294632956329663297632986329963300633016330263303633046330563306633076330863309633106331163312633136331463315633166331763318633196332063321633226332363324633256332663327633286332963330633316333263333633346333563336633376333863339633406334163342633436334463345633466334763348633496335063351633526335363354633556335663357633586335963360633616336263363633646336563366633676336863369633706337163372633736337463375633766337763378633796338063381633826338363384633856338663387633886338963390633916339263393633946339563396633976339863399634006340163402634036340463405634066340763408634096341063411634126341363414634156341663417634186341963420634216342263423634246342563426634276342863429634306343163432634336343463435634366343763438634396344063441634426344363444634456344663447634486344963450634516345263453634546345563456634576345863459634606346163462634636346463465634666346763468634696347063471634726347363474634756347663477634786347963480634816348263483634846348563486634876348863489634906349163492634936349463495634966349763498634996350063501635026350363504635056350663507635086350963510635116351263513635146351563516635176351863519635206352163522635236352463525635266352763528635296353063531635326353363534635356353663537635386353963540635416354263543635446354563546635476354863549635506355163552635536355463555635566355763558635596356063561635626356363564635656356663567635686356963570635716357263573635746357563576635776357863579635806358163582635836358463585635866358763588635896359063591635926359363594635956359663597635986359963600636016360263603636046360563606636076360863609636106361163612636136361463615636166361763618636196362063621636226362363624636256362663627636286362963630636316363263633636346363563636636376363863639636406364163642636436364463645636466364763648636496365063651636526365363654636556365663657636586365963660636616366263663636646366563666636676366863669636706367163672636736367463675636766367763678636796368063681636826368363684636856368663687636886368963690636916369263693636946369563696636976369863699637006370163702637036370463705637066370763708637096371063711637126371363714637156371663717637186371963720637216372263723637246372563726637276372863729637306373163732637336373463735637366373763738637396374063741637426374363744637456374663747637486374963750637516375263753637546375563756637576375863759637606376163762637636376463765637666376763768637696377063771637726377363774637756377663777637786377963780637816378263783637846378563786637876378863789637906379163792637936379463795637966379763798637996380063801638026380363804638056380663807638086380963810638116381263813638146381563816638176381863819638206382163822638236382463825638266382763828638296383063831638326383363834638356383663837638386383963840638416384263843638446384563846638476384863849638506385163852638536385463855638566385763858638596386063861638626386363864638656386663867638686386963870638716387263873638746387563876638776387863879638806388163882638836388463885638866388763888638896389063891638926389363894638956389663897638986389963900639016390263903639046390563906639076390863909639106391163912639136391463915639166391763918639196392063921639226392363924639256392663927639286392963930639316393263933639346393563936639376393863939639406394163942639436394463945639466394763948639496395063951639526395363954639556395663957639586395963960639616396263963639646396563966639676396863969639706397163972639736397463975639766397763978639796398063981639826398363984639856398663987639886398963990639916399263993639946399563996639976399863999640006400164002640036400464005640066400764008640096401064011640126401364014640156401664017640186401964020640216402264023640246402564026640276402864029640306403164032640336403464035640366403764038640396404064041640426404364044640456404664047640486404964050640516405264053640546405564056640576405864059640606406164062640636406464065640666406764068640696407064071640726407364074640756407664077640786407964080640816408264083640846408564086640876408864089640906409164092640936409464095640966409764098640996410064101641026410364104641056410664107641086410964110641116411264113641146411564116641176411864119641206412164122641236412464125641266412764128641296413064131641326413364134641356413664137641386413964140641416414264143641446414564146641476414864149641506415164152641536415464155641566415764158641596416064161641626416364164641656416664167641686416964170641716417264173641746417564176641776417864179641806418164182641836418464185641866418764188641896419064191641926419364194641956419664197641986419964200642016420264203642046420564206642076420864209642106421164212642136421464215642166421764218642196422064221642226422364224642256422664227642286422964230642316423264233642346423564236642376423864239642406424164242642436424464245642466424764248642496425064251642526425364254642556425664257642586425964260642616426264263642646426564266642676426864269642706427164272642736427464275642766427764278642796428064281642826428364284642856428664287642886428964290642916429264293642946429564296642976429864299643006430164302643036430464305643066430764308643096431064311643126431364314643156431664317643186431964320643216432264323643246432564326643276432864329643306433164332643336433464335643366433764338643396434064341643426434364344643456434664347643486434964350643516435264353643546435564356643576435864359643606436164362643636436464365643666436764368643696437064371643726437364374643756437664377643786437964380643816438264383643846438564386643876438864389643906439164392643936439464395643966439764398643996440064401644026440364404644056440664407644086440964410644116441264413644146441564416644176441864419644206442164422644236442464425644266442764428644296443064431644326443364434644356443664437644386443964440644416444264443644446444564446644476444864449644506445164452644536445464455644566445764458644596446064461644626446364464644656446664467644686446964470644716447264473644746447564476644776447864479644806448164482644836448464485644866448764488644896449064491644926449364494644956449664497644986449964500645016450264503645046450564506645076450864509645106451164512645136451464515645166451764518645196452064521645226452364524645256452664527645286452964530645316453264533645346453564536645376453864539645406454164542645436454464545645466454764548645496455064551645526455364554645556455664557645586455964560645616456264563645646456564566645676456864569645706457164572645736457464575645766457764578645796458064581645826458364584645856458664587645886458964590645916459264593645946459564596645976459864599646006460164602646036460464605646066460764608646096461064611646126461364614646156461664617646186461964620646216462264623646246462564626646276462864629646306463164632646336463464635646366463764638646396464064641646426464364644646456464664647646486464964650646516465264653646546465564656646576465864659646606466164662646636466464665646666466764668646696467064671646726467364674646756467664677646786467964680646816468264683646846468564686646876468864689646906469164692646936469464695646966469764698646996470064701647026470364704647056470664707647086470964710647116471264713647146471564716647176471864719647206472164722647236472464725647266472764728647296473064731647326473364734647356473664737647386473964740647416474264743647446474564746647476474864749647506475164752647536475464755647566475764758647596476064761647626476364764647656476664767647686476964770647716477264773647746477564776647776477864779647806478164782647836478464785647866478764788647896479064791647926479364794647956479664797647986479964800648016480264803648046480564806648076480864809648106481164812648136481464815648166481764818648196482064821648226482364824648256482664827648286482964830648316483264833648346483564836648376483864839648406484164842648436484464845648466484764848648496485064851648526485364854648556485664857648586485964860648616486264863648646486564866648676486864869648706487164872648736487464875648766487764878648796488064881648826488364884648856488664887648886488964890648916489264893648946489564896648976489864899649006490164902649036490464905649066490764908649096491064911649126491364914649156491664917649186491964920649216492264923649246492564926649276492864929649306493164932649336493464935649366493764938649396494064941649426494364944649456494664947649486494964950649516495264953649546495564956649576495864959649606496164962649636496464965649666496764968649696497064971649726497364974649756497664977649786497964980649816498264983649846498564986649876498864989649906499164992649936499464995649966499764998649996500065001650026500365004650056500665007650086500965010650116501265013650146501565016650176501865019650206502165022650236502465025650266502765028650296503065031650326503365034650356503665037650386503965040650416504265043650446504565046650476504865049650506505165052650536505465055650566505765058650596506065061650626506365064650656506665067650686506965070650716507265073650746507565076650776507865079650806508165082650836508465085650866508765088650896509065091650926509365094650956509665097650986509965100651016510265103651046510565106651076510865109651106511165112651136511465115651166511765118651196512065121651226512365124651256512665127651286512965130651316513265133651346513565136651376513865139651406514165142651436514465145651466514765148651496515065151651526515365154651556515665157651586515965160651616516265163651646516565166651676516865169651706517165172651736517465175651766517765178651796518065181651826518365184651856518665187651886518965190651916519265193651946519565196651976519865199652006520165202652036520465205652066520765208652096521065211652126521365214652156521665217652186521965220652216522265223652246522565226652276522865229652306523165232652336523465235652366523765238652396524065241652426524365244652456524665247652486524965250652516525265253652546525565256652576525865259652606526165262652636526465265652666526765268652696527065271652726527365274652756527665277652786527965280652816528265283652846528565286652876528865289652906529165292652936529465295652966529765298652996530065301653026530365304653056530665307653086530965310653116531265313653146531565316653176531865319653206532165322653236532465325653266532765328653296533065331653326533365334653356533665337653386533965340653416534265343653446534565346653476534865349653506535165352653536535465355653566535765358653596536065361653626536365364653656536665367653686536965370653716537265373653746537565376653776537865379653806538165382653836538465385653866538765388653896539065391653926539365394653956539665397653986539965400654016540265403654046540565406654076540865409654106541165412654136541465415654166541765418654196542065421654226542365424654256542665427654286542965430654316543265433654346543565436654376543865439654406544165442654436544465445654466544765448654496545065451654526545365454654556545665457654586545965460654616546265463654646546565466654676546865469654706547165472654736547465475654766547765478654796548065481654826548365484654856548665487654886548965490654916549265493654946549565496654976549865499655006550165502655036550465505655066550765508655096551065511655126551365514655156551665517655186551965520655216552265523655246552565526655276552865529655306553165532655336553465535655366553765538655396554065541655426554365544655456554665547655486554965550655516555265553655546555565556655576555865559655606556165562655636556465565655666556765568655696557065571655726557365574655756557665577655786557965580655816558265583655846558565586655876558865589655906559165592655936559465595655966559765598655996560065601656026560365604656056560665607656086560965610656116561265613656146561565616656176561865619656206562165622656236562465625656266562765628656296563065631656326563365634656356563665637656386563965640656416564265643656446564565646656476564865649656506565165652656536565465655656566565765658656596566065661656626566365664656656566665667656686566965670656716567265673656746567565676656776567865679656806568165682656836568465685656866568765688656896569065691656926569365694656956569665697656986569965700657016570265703657046570565706657076570865709657106571165712657136571465715657166571765718657196572065721657226572365724657256572665727657286572965730657316573265733657346573565736657376573865739657406574165742657436574465745657466574765748657496575065751657526575365754657556575665757657586575965760657616576265763657646576565766657676576865769657706577165772657736577465775657766577765778657796578065781657826578365784657856578665787657886578965790657916579265793657946579565796657976579865799658006580165802658036580465805658066580765808658096581065811658126581365814658156581665817658186581965820658216582265823658246582565826658276582865829658306583165832658336583465835658366583765838658396584065841658426584365844658456584665847658486584965850658516585265853658546585565856658576585865859658606586165862658636586465865658666586765868658696587065871658726587365874658756587665877658786587965880658816588265883658846588565886658876588865889658906589165892658936589465895658966589765898658996590065901659026590365904659056590665907659086590965910659116591265913659146591565916659176591865919659206592165922659236592465925659266592765928659296593065931659326593365934659356593665937659386593965940659416594265943659446594565946659476594865949659506595165952659536595465955659566595765958659596596065961659626596365964659656596665967659686596965970659716597265973659746597565976659776597865979659806598165982659836598465985659866598765988659896599065991659926599365994659956599665997659986599966000660016600266003660046600566006660076600866009660106601166012660136601466015660166601766018660196602066021660226602366024660256602666027660286602966030660316603266033660346603566036660376603866039660406604166042660436604466045660466604766048660496605066051660526605366054660556605666057660586605966060660616606266063660646606566066660676606866069660706607166072660736607466075660766607766078660796608066081660826608366084660856608666087660886608966090660916609266093660946609566096660976609866099661006610166102661036610466105661066610766108661096611066111661126611366114661156611666117661186611966120661216612266123661246612566126661276612866129661306613166132661336613466135661366613766138661396614066141661426614366144661456614666147661486614966150661516615266153661546615566156661576615866159661606616166162661636616466165661666616766168661696617066171661726617366174661756617666177661786617966180661816618266183661846618566186661876618866189661906619166192661936619466195661966619766198661996620066201662026620366204662056620666207662086620966210662116621266213662146621566216662176621866219662206622166222662236622466225662266622766228662296623066231662326623366234662356623666237662386623966240662416624266243662446624566246662476624866249662506625166252662536625466255662566625766258662596626066261662626626366264662656626666267662686626966270662716627266273662746627566276662776627866279662806628166282662836628466285662866628766288662896629066291662926629366294662956629666297662986629966300663016630266303663046630566306663076630866309663106631166312663136631466315663166631766318663196632066321663226632366324663256632666327663286632966330663316633266333663346633566336663376633866339663406634166342663436634466345663466634766348663496635066351663526635366354663556635666357663586635966360663616636266363663646636566366663676636866369663706637166372663736637466375663766637766378663796638066381663826638366384663856638666387663886638966390663916639266393663946639566396663976639866399664006640166402664036640466405664066640766408664096641066411664126641366414664156641666417664186641966420664216642266423664246642566426664276642866429664306643166432664336643466435664366643766438664396644066441664426644366444664456644666447664486644966450664516645266453664546645566456664576645866459664606646166462664636646466465664666646766468664696647066471664726647366474664756647666477664786647966480664816648266483664846648566486664876648866489664906649166492664936649466495664966649766498664996650066501665026650366504665056650666507665086650966510665116651266513665146651566516665176651866519665206652166522665236652466525665266652766528665296653066531665326653366534665356653666537665386653966540665416654266543665446654566546665476654866549665506655166552665536655466555665566655766558665596656066561665626656366564665656656666567665686656966570665716657266573665746657566576665776657866579665806658166582665836658466585665866658766588665896659066591665926659366594665956659666597665986659966600666016660266603666046660566606666076660866609666106661166612666136661466615666166661766618666196662066621666226662366624666256662666627666286662966630666316663266633666346663566636666376663866639666406664166642666436664466645666466664766648666496665066651666526665366654666556665666657666586665966660666616666266663666646666566666666676666866669666706667166672666736667466675666766667766678666796668066681666826668366684666856668666687666886668966690666916669266693666946669566696666976669866699667006670166702667036670466705667066670766708667096671066711667126671366714667156671666717667186671966720667216672266723667246672566726667276672866729667306673166732667336673466735667366673766738667396674066741667426674366744667456674666747667486674966750667516675266753667546675566756667576675866759667606676166762667636676466765667666676766768667696677066771667726677366774667756677666777667786677966780667816678266783667846678566786667876678866789667906679166792667936679466795667966679766798667996680066801668026680366804668056680666807668086680966810668116681266813668146681566816668176681866819668206682166822668236682466825668266682766828668296683066831668326683366834668356683666837668386683966840668416684266843668446684566846668476684866849668506685166852668536685466855668566685766858668596686066861668626686366864668656686666867668686686966870668716687266873668746687566876668776687866879668806688166882668836688466885668866688766888668896689066891668926689366894668956689666897668986689966900669016690266903669046690566906669076690866909669106691166912669136691466915669166691766918669196692066921669226692366924669256692666927669286692966930669316693266933669346693566936669376693866939669406694166942669436694466945669466694766948669496695066951669526695366954669556695666957669586695966960669616696266963669646696566966669676696866969669706697166972669736697466975669766697766978669796698066981669826698366984669856698666987669886698966990669916699266993669946699566996669976699866999670006700167002670036700467005670066700767008670096701067011670126701367014670156701667017670186701967020670216702267023670246702567026670276702867029670306703167032670336703467035670366703767038670396704067041670426704367044670456704667047670486704967050670516705267053670546705567056670576705867059670606706167062670636706467065670666706767068670696707067071670726707367074670756707667077670786707967080670816708267083670846708567086670876708867089670906709167092670936709467095670966709767098670996710067101671026710367104671056710667107671086710967110671116711267113671146711567116671176711867119671206712167122671236712467125671266712767128671296713067131671326713367134671356713667137671386713967140671416714267143671446714567146671476714867149671506715167152671536715467155671566715767158671596716067161671626716367164671656716667167671686716967170671716717267173671746717567176671776717867179671806718167182671836718467185671866718767188671896719067191671926719367194671956719667197671986719967200672016720267203672046720567206672076720867209672106721167212672136721467215672166721767218672196722067221672226722367224672256722667227672286722967230672316723267233672346723567236672376723867239672406724167242672436724467245672466724767248672496725067251672526725367254672556725667257672586725967260672616726267263672646726567266672676726867269672706727167272672736727467275672766727767278672796728067281672826728367284672856728667287672886728967290672916729267293672946729567296672976729867299673006730167302673036730467305673066730767308673096731067311673126731367314673156731667317673186731967320673216732267323673246732567326673276732867329673306733167332673336733467335673366733767338673396734067341673426734367344673456734667347673486734967350673516735267353673546735567356673576735867359673606736167362673636736467365673666736767368673696737067371673726737367374673756737667377673786737967380673816738267383673846738567386673876738867389673906739167392673936739467395673966739767398673996740067401674026740367404674056740667407674086740967410674116741267413674146741567416674176741867419674206742167422674236742467425674266742767428674296743067431674326743367434674356743667437674386743967440674416744267443674446744567446674476744867449674506745167452674536745467455674566745767458674596746067461674626746367464674656746667467674686746967470674716747267473674746747567476674776747867479674806748167482674836748467485674866748767488674896749067491674926749367494674956749667497674986749967500675016750267503675046750567506675076750867509675106751167512675136751467515675166751767518675196752067521675226752367524675256752667527675286752967530675316753267533675346753567536675376753867539675406754167542675436754467545675466754767548675496755067551675526755367554675556755667557675586755967560675616756267563675646756567566675676756867569675706757167572675736757467575675766757767578675796758067581675826758367584675856758667587675886758967590675916759267593675946759567596675976759867599676006760167602676036760467605676066760767608676096761067611676126761367614676156761667617676186761967620676216762267623676246762567626676276762867629676306763167632676336763467635676366763767638676396764067641676426764367644676456764667647676486764967650676516765267653676546765567656676576765867659676606766167662676636766467665676666766767668676696767067671676726767367674676756767667677676786767967680676816768267683676846768567686676876768867689676906769167692676936769467695676966769767698676996770067701677026770367704677056770667707677086770967710677116771267713677146771567716677176771867719677206772167722677236772467725677266772767728677296773067731677326773367734677356773667737677386773967740677416774267743677446774567746677476774867749677506775167752677536775467755677566775767758677596776067761677626776367764677656776667767677686776967770677716777267773677746777567776677776777867779677806778167782677836778467785677866778767788677896779067791677926779367794677956779667797677986779967800678016780267803678046780567806678076780867809678106781167812678136781467815678166781767818678196782067821678226782367824678256782667827678286782967830678316783267833678346783567836678376783867839678406784167842678436784467845678466784767848678496785067851678526785367854678556785667857678586785967860678616786267863678646786567866678676786867869678706787167872678736787467875678766787767878678796788067881678826788367884678856788667887678886788967890678916789267893678946789567896678976789867899679006790167902679036790467905679066790767908679096791067911679126791367914679156791667917679186791967920679216792267923679246792567926679276792867929679306793167932679336793467935679366793767938679396794067941679426794367944679456794667947679486794967950679516795267953679546795567956679576795867959679606796167962679636796467965679666796767968679696797067971679726797367974679756797667977679786797967980679816798267983679846798567986679876798867989679906799167992679936799467995679966799767998679996800068001680026800368004680056800668007680086800968010680116801268013680146801568016680176801868019680206802168022680236802468025680266802768028680296803068031680326803368034680356803668037680386803968040680416804268043680446804568046680476804868049680506805168052680536805468055680566805768058680596806068061680626806368064680656806668067680686806968070680716807268073680746807568076680776807868079680806808168082680836808468085680866808768088680896809068091680926809368094680956809668097680986809968100681016810268103681046810568106681076810868109681106811168112681136811468115681166811768118681196812068121681226812368124681256812668127681286812968130681316813268133681346813568136681376813868139681406814168142681436814468145681466814768148681496815068151681526815368154681556815668157681586815968160681616816268163681646816568166681676816868169681706817168172681736817468175681766817768178681796818068181681826818368184681856818668187681886818968190681916819268193681946819568196681976819868199682006820168202682036820468205682066820768208682096821068211682126821368214682156821668217682186821968220682216822268223682246822568226682276822868229682306823168232682336823468235682366823768238682396824068241682426824368244682456824668247682486824968250682516825268253682546825568256682576825868259682606826168262682636826468265682666826768268682696827068271682726827368274682756827668277682786827968280682816828268283682846828568286682876828868289682906829168292682936829468295682966829768298682996830068301683026830368304683056830668307683086830968310683116831268313683146831568316683176831868319683206832168322683236832468325683266832768328683296833068331683326833368334683356833668337683386833968340683416834268343683446834568346683476834868349683506835168352683536835468355683566835768358683596836068361683626836368364683656836668367683686836968370683716837268373683746837568376683776837868379683806838168382683836838468385683866838768388683896839068391683926839368394683956839668397683986839968400684016840268403684046840568406684076840868409684106841168412684136841468415684166841768418684196842068421684226842368424684256842668427684286842968430684316843268433684346843568436684376843868439684406844168442684436844468445684466844768448684496845068451684526845368454684556845668457684586845968460684616846268463684646846568466684676846868469684706847168472684736847468475684766847768478684796848068481684826848368484684856848668487684886848968490684916849268493684946849568496684976849868499685006850168502685036850468505685066850768508685096851068511685126851368514685156851668517685186851968520685216852268523685246852568526685276852868529685306853168532685336853468535685366853768538685396854068541685426854368544685456854668547685486854968550685516855268553685546855568556685576855868559685606856168562685636856468565685666856768568685696857068571685726857368574685756857668577685786857968580685816858268583685846858568586685876858868589685906859168592685936859468595685966859768598685996860068601686026860368604686056860668607686086860968610686116861268613686146861568616686176861868619686206862168622686236862468625686266862768628686296863068631686326863368634686356863668637686386863968640686416864268643686446864568646686476864868649686506865168652686536865468655686566865768658686596866068661686626866368664686656866668667686686866968670686716867268673686746867568676686776867868679686806868168682686836868468685686866868768688686896869068691686926869368694686956869668697686986869968700687016870268703687046870568706687076870868709687106871168712687136871468715687166871768718687196872068721687226872368724687256872668727687286872968730687316873268733687346873568736687376873868739687406874168742687436874468745687466874768748687496875068751687526875368754687556875668757687586875968760687616876268763687646876568766687676876868769687706877168772687736877468775687766877768778687796878068781687826878368784687856878668787687886878968790687916879268793687946879568796687976879868799688006880168802688036880468805688066880768808688096881068811688126881368814688156881668817688186881968820688216882268823688246882568826688276882868829688306883168832688336883468835688366883768838688396884068841688426884368844688456884668847688486884968850688516885268853688546885568856688576885868859688606886168862688636886468865688666886768868688696887068871688726887368874688756887668877688786887968880688816888268883688846888568886688876888868889688906889168892688936889468895688966889768898688996890068901689026890368904689056890668907689086890968910689116891268913689146891568916689176891868919689206892168922689236892468925689266892768928689296893068931689326893368934689356893668937689386893968940689416894268943689446894568946689476894868949689506895168952689536895468955689566895768958689596896068961689626896368964689656896668967689686896968970689716897268973689746897568976689776897868979689806898168982689836898468985689866898768988689896899068991689926899368994689956899668997689986899969000690016900269003690046900569006690076900869009690106901169012690136901469015690166901769018690196902069021690226902369024690256902669027690286902969030690316903269033690346903569036690376903869039690406904169042690436904469045690466904769048690496905069051690526905369054690556905669057690586905969060690616906269063690646906569066690676906869069690706907169072690736907469075690766907769078690796908069081690826908369084690856908669087690886908969090690916909269093690946909569096690976909869099691006910169102691036910469105691066910769108691096911069111691126911369114691156911669117691186911969120691216912269123691246912569126691276912869129691306913169132691336913469135691366913769138691396914069141691426914369144691456914669147691486914969150691516915269153691546915569156691576915869159691606916169162691636916469165691666916769168691696917069171691726917369174691756917669177691786917969180691816918269183691846918569186691876918869189691906919169192691936919469195691966919769198691996920069201692026920369204692056920669207692086920969210692116921269213692146921569216692176921869219692206922169222692236922469225692266922769228692296923069231692326923369234692356923669237692386923969240692416924269243692446924569246692476924869249692506925169252692536925469255692566925769258692596926069261692626926369264692656926669267692686926969270692716927269273692746927569276692776927869279692806928169282692836928469285692866928769288692896929069291692926929369294692956929669297692986929969300693016930269303693046930569306693076930869309693106931169312693136931469315693166931769318693196932069321693226932369324693256932669327693286932969330693316933269333693346933569336693376933869339693406934169342693436934469345693466934769348693496935069351693526935369354693556935669357693586935969360693616936269363693646936569366693676936869369693706937169372693736937469375693766937769378693796938069381693826938369384693856938669387693886938969390693916939269393693946939569396693976939869399694006940169402694036940469405694066940769408694096941069411694126941369414694156941669417694186941969420694216942269423694246942569426694276942869429694306943169432694336943469435694366943769438694396944069441694426944369444694456944669447694486944969450694516945269453694546945569456694576945869459694606946169462694636946469465694666946769468694696947069471694726947369474694756947669477694786947969480694816948269483694846948569486694876948869489694906949169492694936949469495694966949769498694996950069501695026950369504695056950669507695086950969510695116951269513695146951569516695176951869519695206952169522695236952469525695266952769528695296953069531695326953369534695356953669537695386953969540695416954269543695446954569546695476954869549695506955169552695536955469555695566955769558695596956069561695626956369564695656956669567695686956969570695716957269573695746957569576695776957869579695806958169582695836958469585695866958769588695896959069591695926959369594695956959669597695986959969600696016960269603696046960569606696076960869609696106961169612696136961469615696166961769618696196962069621696226962369624696256962669627696286962969630696316963269633696346963569636696376963869639696406964169642696436964469645696466964769648696496965069651696526965369654696556965669657696586965969660696616966269663696646966569666696676966869669696706967169672696736967469675696766967769678696796968069681696826968369684696856968669687696886968969690696916969269693696946969569696696976969869699697006970169702697036970469705697066970769708697096971069711697126971369714697156971669717697186971969720697216972269723697246972569726697276972869729697306973169732697336973469735697366973769738697396974069741697426974369744697456974669747697486974969750697516975269753697546975569756697576975869759697606976169762697636976469765697666976769768697696977069771697726977369774697756977669777697786977969780697816978269783697846978569786697876978869789697906979169792697936979469795697966979769798697996980069801698026980369804698056980669807698086980969810698116981269813698146981569816698176981869819698206982169822698236982469825698266982769828698296983069831698326983369834698356983669837698386983969840698416984269843698446984569846698476984869849698506985169852698536985469855698566985769858698596986069861698626986369864698656986669867698686986969870698716987269873698746987569876698776987869879698806988169882698836988469885698866988769888698896989069891698926989369894698956989669897698986989969900699016990269903699046990569906699076990869909699106991169912699136991469915699166991769918699196992069921699226992369924699256992669927699286992969930699316993269933699346993569936699376993869939699406994169942699436994469945699466994769948699496995069951699526995369954699556995669957699586995969960699616996269963699646996569966699676996869969699706997169972699736997469975699766997769978699796998069981699826998369984699856998669987699886998969990699916999269993699946999569996699976999869999700007000170002700037000470005700067000770008700097001070011700127001370014700157001670017700187001970020700217002270023700247002570026700277002870029700307003170032700337003470035700367003770038700397004070041700427004370044700457004670047700487004970050700517005270053700547005570056700577005870059700607006170062700637006470065700667006770068700697007070071700727007370074700757007670077700787007970080700817008270083700847008570086700877008870089700907009170092700937009470095700967009770098700997010070101701027010370104701057010670107701087010970110701117011270113701147011570116701177011870119701207012170122701237012470125701267012770128701297013070131701327013370134701357013670137701387013970140701417014270143701447014570146701477014870149701507015170152701537015470155701567015770158701597016070161701627016370164701657016670167701687016970170701717017270173701747017570176701777017870179701807018170182701837018470185701867018770188701897019070191701927019370194701957019670197701987019970200702017020270203702047020570206702077020870209702107021170212702137021470215702167021770218702197022070221702227022370224702257022670227702287022970230702317023270233702347023570236702377023870239702407024170242702437024470245702467024770248702497025070251702527025370254702557025670257702587025970260702617026270263702647026570266702677026870269702707027170272702737027470275702767027770278702797028070281702827028370284702857028670287702887028970290702917029270293702947029570296702977029870299703007030170302703037030470305703067030770308703097031070311703127031370314703157031670317703187031970320703217032270323703247032570326703277032870329703307033170332703337033470335703367033770338703397034070341703427034370344703457034670347703487034970350703517035270353703547035570356703577035870359703607036170362703637036470365703667036770368703697037070371703727037370374703757037670377703787037970380703817038270383703847038570386703877038870389703907039170392703937039470395703967039770398703997040070401704027040370404704057040670407704087040970410704117041270413704147041570416704177041870419704207042170422704237042470425704267042770428704297043070431704327043370434704357043670437704387043970440704417044270443704447044570446704477044870449704507045170452704537045470455704567045770458704597046070461704627046370464704657046670467704687046970470704717047270473704747047570476704777047870479704807048170482704837048470485704867048770488704897049070491704927049370494704957049670497704987049970500705017050270503705047050570506705077050870509705107051170512705137051470515705167051770518705197052070521705227052370524705257052670527705287052970530705317053270533705347053570536705377053870539705407054170542705437054470545705467054770548705497055070551705527055370554705557055670557705587055970560705617056270563705647056570566705677056870569705707057170572705737057470575705767057770578705797058070581705827058370584705857058670587705887058970590705917059270593705947059570596705977059870599706007060170602706037060470605706067060770608706097061070611706127061370614706157061670617706187061970620706217062270623706247062570626706277062870629706307063170632706337063470635706367063770638706397064070641706427064370644706457064670647706487064970650706517065270653706547065570656706577065870659706607066170662706637066470665706667066770668706697067070671706727067370674706757067670677706787067970680706817068270683706847068570686706877068870689706907069170692706937069470695706967069770698706997070070701707027070370704707057070670707707087070970710707117071270713707147071570716707177071870719707207072170722707237072470725707267072770728707297073070731707327073370734707357073670737707387073970740707417074270743707447074570746707477074870749707507075170752707537075470755707567075770758707597076070761707627076370764707657076670767707687076970770707717077270773707747077570776707777077870779707807078170782707837078470785707867078770788707897079070791707927079370794707957079670797707987079970800708017080270803708047080570806708077080870809708107081170812708137081470815708167081770818708197082070821708227082370824708257082670827708287082970830708317083270833708347083570836708377083870839708407084170842708437084470845708467084770848708497085070851708527085370854708557085670857708587085970860708617086270863708647086570866708677086870869708707087170872708737087470875708767087770878708797088070881708827088370884708857088670887708887088970890708917089270893708947089570896708977089870899709007090170902709037090470905709067090770908709097091070911709127091370914709157091670917709187091970920709217092270923709247092570926709277092870929709307093170932709337093470935709367093770938709397094070941709427094370944709457094670947709487094970950709517095270953709547095570956709577095870959709607096170962709637096470965709667096770968709697097070971709727097370974709757097670977709787097970980709817098270983709847098570986709877098870989709907099170992709937099470995709967099770998709997100071001710027100371004710057100671007710087100971010710117101271013710147101571016710177101871019710207102171022710237102471025710267102771028710297103071031710327103371034710357103671037710387103971040710417104271043710447104571046710477104871049710507105171052710537105471055710567105771058710597106071061710627106371064710657106671067710687106971070710717107271073710747107571076710777107871079710807108171082710837108471085710867108771088710897109071091710927109371094710957109671097710987109971100711017110271103711047110571106711077110871109711107111171112711137111471115711167111771118711197112071121711227112371124711257112671127711287112971130711317113271133711347113571136711377113871139711407114171142711437114471145711467114771148711497115071151711527115371154711557115671157711587115971160711617116271163711647116571166711677116871169711707117171172711737117471175711767117771178711797118071181711827118371184711857118671187711887118971190711917119271193711947119571196711977119871199712007120171202712037120471205712067120771208712097121071211712127121371214712157121671217712187121971220712217122271223712247122571226712277122871229712307123171232712337123471235712367123771238712397124071241712427124371244712457124671247712487124971250712517125271253712547125571256712577125871259712607126171262712637126471265712667126771268712697127071271712727127371274712757127671277712787127971280712817128271283712847128571286712877128871289712907129171292712937129471295712967129771298712997130071301713027130371304713057130671307713087130971310713117131271313713147131571316713177131871319713207132171322713237132471325713267132771328713297133071331713327133371334713357133671337713387133971340713417134271343713447134571346713477134871349713507135171352713537135471355713567135771358713597136071361713627136371364713657136671367713687136971370713717137271373713747137571376713777137871379713807138171382713837138471385713867138771388713897139071391713927139371394713957139671397713987139971400714017140271403714047140571406714077140871409714107141171412714137141471415714167141771418714197142071421714227142371424714257142671427714287142971430714317143271433714347143571436714377143871439714407144171442714437144471445714467144771448714497145071451714527145371454714557145671457714587145971460714617146271463714647146571466714677146871469714707147171472714737147471475714767147771478714797148071481714827148371484714857148671487714887148971490714917149271493714947149571496714977149871499715007150171502715037150471505715067150771508715097151071511715127151371514715157151671517715187151971520715217152271523715247152571526715277152871529715307153171532715337153471535715367153771538715397154071541715427154371544715457154671547715487154971550715517155271553715547155571556715577155871559715607156171562715637156471565715667156771568715697157071571715727157371574715757157671577715787157971580715817158271583715847158571586715877158871589715907159171592715937159471595715967159771598715997160071601716027160371604716057160671607716087160971610716117161271613716147161571616716177161871619716207162171622716237162471625716267162771628716297163071631716327163371634716357163671637716387163971640716417164271643716447164571646716477164871649716507165171652716537165471655716567165771658716597166071661716627166371664716657166671667716687166971670716717167271673716747167571676716777167871679716807168171682716837168471685716867168771688716897169071691716927169371694716957169671697716987169971700717017170271703717047170571706717077170871709717107171171712717137171471715717167171771718717197172071721717227172371724717257172671727717287172971730717317173271733717347173571736717377173871739717407174171742717437174471745717467174771748717497175071751717527175371754717557175671757717587175971760717617176271763717647176571766717677176871769717707177171772717737177471775717767177771778717797178071781717827178371784717857178671787717887178971790717917179271793717947179571796717977179871799718007180171802718037180471805718067180771808718097181071811718127181371814718157181671817718187181971820718217182271823718247182571826718277182871829718307183171832718337183471835718367183771838718397184071841718427184371844718457184671847718487184971850718517185271853718547185571856718577185871859718607186171862718637186471865718667186771868718697187071871718727187371874718757187671877718787187971880718817188271883718847188571886718877188871889718907189171892718937189471895718967189771898718997190071901719027190371904719057190671907719087190971910719117191271913719147191571916719177191871919719207192171922719237192471925719267192771928719297193071931719327193371934719357193671937719387193971940719417194271943719447194571946719477194871949719507195171952719537195471955719567195771958719597196071961719627196371964719657196671967719687196971970719717197271973719747197571976719777197871979719807198171982719837198471985719867198771988719897199071991719927199371994719957199671997719987199972000720017200272003720047200572006720077200872009720107201172012720137201472015720167201772018720197202072021720227202372024720257202672027720287202972030720317203272033720347203572036720377203872039720407204172042720437204472045720467204772048720497205072051720527205372054720557205672057720587205972060720617206272063720647206572066720677206872069720707207172072720737207472075720767207772078720797208072081720827208372084720857208672087720887208972090720917209272093720947209572096720977209872099721007210172102721037210472105721067210772108721097211072111721127211372114721157211672117721187211972120721217212272123721247212572126721277212872129721307213172132721337213472135721367213772138721397214072141721427214372144721457214672147721487214972150721517215272153721547215572156721577215872159721607216172162721637216472165721667216772168721697217072171721727217372174721757217672177721787217972180721817218272183721847218572186721877218872189721907219172192721937219472195721967219772198721997220072201722027220372204722057220672207722087220972210722117221272213722147221572216722177221872219722207222172222722237222472225722267222772228722297223072231722327223372234722357223672237722387223972240722417224272243722447224572246722477224872249722507225172252722537225472255722567225772258722597226072261722627226372264722657226672267722687226972270722717227272273722747227572276722777227872279722807228172282722837228472285722867228772288722897229072291722927229372294722957229672297722987229972300723017230272303723047230572306723077230872309723107231172312723137231472315723167231772318723197232072321723227232372324723257232672327723287232972330723317233272333723347233572336723377233872339723407234172342723437234472345723467234772348723497235072351723527235372354723557235672357723587235972360723617236272363723647236572366723677236872369723707237172372723737237472375723767237772378723797238072381723827238372384723857238672387723887238972390723917239272393723947239572396723977239872399724007240172402724037240472405724067240772408724097241072411724127241372414724157241672417724187241972420724217242272423724247242572426724277242872429724307243172432724337243472435724367243772438724397244072441724427244372444724457244672447724487244972450724517245272453724547245572456724577245872459724607246172462724637246472465724667246772468724697247072471724727247372474724757247672477724787247972480724817248272483724847248572486724877248872489724907249172492724937249472495724967249772498724997250072501725027250372504725057250672507725087250972510725117251272513725147251572516725177251872519725207252172522725237252472525725267252772528725297253072531725327253372534725357253672537725387253972540725417254272543725447254572546725477254872549725507255172552725537255472555725567255772558725597256072561725627256372564725657256672567725687256972570725717257272573725747257572576725777257872579725807258172582725837258472585725867258772588725897259072591725927259372594725957259672597725987259972600726017260272603726047260572606726077260872609726107261172612726137261472615726167261772618726197262072621726227262372624726257262672627726287262972630726317263272633726347263572636726377263872639726407264172642726437264472645726467264772648726497265072651726527265372654726557265672657726587265972660726617266272663726647266572666726677266872669726707267172672726737267472675726767267772678726797268072681726827268372684726857268672687726887268972690726917269272693726947269572696726977269872699727007270172702727037270472705727067270772708727097271072711727127271372714727157271672717727187271972720727217272272723727247272572726727277272872729727307273172732727337273472735727367273772738727397274072741727427274372744727457274672747727487274972750727517275272753727547275572756727577275872759727607276172762727637276472765727667276772768727697277072771727727277372774727757277672777727787277972780727817278272783727847278572786727877278872789727907279172792727937279472795727967279772798727997280072801728027280372804728057280672807728087280972810728117281272813728147281572816728177281872819728207282172822728237282472825728267282772828728297283072831728327283372834728357283672837728387283972840728417284272843728447284572846728477284872849728507285172852728537285472855728567285772858728597286072861728627286372864728657286672867728687286972870728717287272873728747287572876728777287872879728807288172882728837288472885728867288772888728897289072891728927289372894728957289672897728987289972900729017290272903729047290572906729077290872909729107291172912729137291472915729167291772918729197292072921729227292372924729257292672927729287292972930729317293272933729347293572936729377293872939729407294172942729437294472945729467294772948729497295072951729527295372954729557295672957729587295972960729617296272963729647296572966729677296872969729707297172972729737297472975729767297772978729797298072981729827298372984729857298672987729887298972990729917299272993729947299572996729977299872999730007300173002730037300473005730067300773008730097301073011730127301373014730157301673017730187301973020730217302273023730247302573026730277302873029730307303173032730337303473035730367303773038730397304073041730427304373044730457304673047730487304973050730517305273053730547305573056730577305873059730607306173062730637306473065730667306773068730697307073071730727307373074730757307673077730787307973080730817308273083730847308573086730877308873089730907309173092730937309473095730967309773098730997310073101731027310373104731057310673107731087310973110731117311273113731147311573116731177311873119731207312173122731237312473125731267312773128731297313073131731327313373134731357313673137731387313973140731417314273143731447314573146731477314873149731507315173152731537315473155731567315773158731597316073161731627316373164731657316673167731687316973170731717317273173731747317573176731777317873179731807318173182731837318473185731867318773188731897319073191731927319373194731957319673197731987319973200732017320273203732047320573206732077320873209732107321173212732137321473215732167321773218732197322073221732227322373224732257322673227732287322973230732317323273233732347323573236732377323873239732407324173242732437324473245732467324773248732497325073251732527325373254732557325673257732587325973260732617326273263732647326573266732677326873269732707327173272732737327473275732767327773278732797328073281732827328373284732857328673287732887328973290732917329273293732947329573296732977329873299733007330173302733037330473305733067330773308733097331073311733127331373314733157331673317733187331973320733217332273323733247332573326733277332873329733307333173332733337333473335733367333773338733397334073341733427334373344733457334673347733487334973350733517335273353733547335573356733577335873359733607336173362733637336473365733667336773368733697337073371733727337373374733757337673377733787337973380733817338273383733847338573386733877338873389733907339173392733937339473395733967339773398733997340073401734027340373404734057340673407734087340973410734117341273413734147341573416734177341873419734207342173422734237342473425734267342773428734297343073431734327343373434734357343673437734387343973440734417344273443734447344573446734477344873449734507345173452734537345473455734567345773458734597346073461734627346373464734657346673467734687346973470734717347273473734747347573476734777347873479734807348173482734837348473485734867348773488734897349073491734927349373494734957349673497734987349973500735017350273503735047350573506735077350873509735107351173512735137351473515735167351773518735197352073521735227352373524735257352673527735287352973530735317353273533735347353573536735377353873539735407354173542735437354473545735467354773548735497355073551735527355373554735557355673557735587355973560735617356273563735647356573566735677356873569735707357173572735737357473575735767357773578735797358073581735827358373584735857358673587735887358973590735917359273593735947359573596735977359873599736007360173602736037360473605736067360773608736097361073611736127361373614736157361673617736187361973620736217362273623736247362573626736277362873629736307363173632736337363473635736367363773638736397364073641736427364373644736457364673647736487364973650736517365273653736547365573656736577365873659736607366173662736637366473665736667366773668736697367073671736727367373674736757367673677736787367973680736817368273683736847368573686736877368873689736907369173692736937369473695736967369773698736997370073701737027370373704737057370673707737087370973710737117371273713737147371573716737177371873719737207372173722737237372473725737267372773728737297373073731737327373373734737357373673737737387373973740737417374273743737447374573746737477374873749737507375173752737537375473755737567375773758737597376073761737627376373764737657376673767737687376973770737717377273773737747377573776737777377873779737807378173782737837378473785737867378773788737897379073791737927379373794737957379673797737987379973800738017380273803738047380573806738077380873809738107381173812738137381473815738167381773818738197382073821738227382373824738257382673827738287382973830738317383273833738347383573836738377383873839738407384173842738437384473845738467384773848738497385073851738527385373854738557385673857738587385973860738617386273863738647386573866738677386873869738707387173872738737387473875738767387773878738797388073881738827388373884738857388673887738887388973890738917389273893738947389573896738977389873899739007390173902739037390473905739067390773908739097391073911739127391373914739157391673917739187391973920739217392273923739247392573926739277392873929739307393173932739337393473935739367393773938739397394073941739427394373944739457394673947739487394973950739517395273953739547395573956739577395873959739607396173962739637396473965739667396773968739697397073971739727397373974739757397673977739787397973980739817398273983739847398573986739877398873989739907399173992739937399473995739967399773998739997400074001740027400374004740057400674007740087400974010740117401274013740147401574016740177401874019740207402174022740237402474025740267402774028740297403074031740327403374034740357403674037740387403974040740417404274043740447404574046740477404874049740507405174052740537405474055740567405774058740597406074061740627406374064740657406674067740687406974070740717407274073740747407574076740777407874079740807408174082740837408474085740867408774088740897409074091740927409374094740957409674097740987409974100741017410274103741047410574106741077410874109741107411174112741137411474115741167411774118741197412074121741227412374124741257412674127741287412974130741317413274133741347413574136741377413874139741407414174142741437414474145741467414774148741497415074151741527415374154741557415674157741587415974160741617416274163741647416574166741677416874169741707417174172741737417474175741767417774178741797418074181741827418374184741857418674187741887418974190741917419274193741947419574196741977419874199742007420174202742037420474205742067420774208742097421074211742127421374214742157421674217742187421974220742217422274223742247422574226742277422874229742307423174232742337423474235742367423774238742397424074241742427424374244742457424674247742487424974250742517425274253742547425574256742577425874259742607426174262742637426474265742667426774268742697427074271742727427374274742757427674277742787427974280742817428274283742847428574286742877428874289742907429174292742937429474295742967429774298742997430074301743027430374304743057430674307743087430974310743117431274313743147431574316743177431874319743207432174322743237432474325743267432774328743297433074331743327433374334743357433674337743387433974340743417434274343743447434574346743477434874349743507435174352743537435474355743567435774358743597436074361743627436374364743657436674367743687436974370743717437274373743747437574376743777437874379743807438174382743837438474385743867438774388743897439074391743927439374394743957439674397743987439974400744017440274403744047440574406744077440874409744107441174412744137441474415744167441774418744197442074421744227442374424744257442674427744287442974430744317443274433744347443574436744377443874439744407444174442744437444474445744467444774448744497445074451744527445374454744557445674457744587445974460744617446274463744647446574466744677446874469744707447174472744737447474475744767447774478744797448074481744827448374484744857448674487744887448974490744917449274493744947449574496744977449874499745007450174502745037450474505745067450774508745097451074511745127451374514745157451674517745187451974520745217452274523745247452574526745277452874529745307453174532745337453474535745367453774538745397454074541745427454374544745457454674547745487454974550745517455274553745547455574556745577455874559745607456174562745637456474565745667456774568745697457074571745727457374574745757457674577745787457974580745817458274583745847458574586745877458874589745907459174592745937459474595745967459774598745997460074601746027460374604746057460674607746087460974610746117461274613746147461574616746177461874619746207462174622746237462474625746267462774628746297463074631746327463374634746357463674637746387463974640746417464274643746447464574646746477464874649746507465174652746537465474655746567465774658746597466074661746627466374664746657466674667746687466974670746717467274673746747467574676746777467874679746807468174682746837468474685746867468774688746897469074691746927469374694746957469674697746987469974700747017470274703747047470574706747077470874709747107471174712747137471474715747167471774718747197472074721747227472374724747257472674727747287472974730747317473274733747347473574736747377473874739747407474174742747437474474745747467474774748747497475074751747527475374754747557475674757747587475974760747617476274763747647476574766747677476874769747707477174772747737477474775747767477774778747797478074781747827478374784747857478674787747887478974790747917479274793747947479574796747977479874799748007480174802748037480474805748067480774808748097481074811748127481374814748157481674817748187481974820748217482274823748247482574826748277482874829748307483174832748337483474835748367483774838748397484074841748427484374844748457484674847748487484974850748517485274853748547485574856748577485874859748607486174862748637486474865748667486774868748697487074871748727487374874748757487674877748787487974880748817488274883748847488574886748877488874889748907489174892748937489474895748967489774898748997490074901749027490374904749057490674907749087490974910749117491274913749147491574916749177491874919749207492174922749237492474925749267492774928749297493074931749327493374934749357493674937749387493974940749417494274943749447494574946749477494874949749507495174952749537495474955749567495774958749597496074961749627496374964749657496674967749687496974970749717497274973749747497574976749777497874979749807498174982749837498474985749867498774988749897499074991749927499374994749957499674997749987499975000750017500275003750047500575006750077500875009750107501175012750137501475015750167501775018750197502075021750227502375024750257502675027750287502975030750317503275033750347503575036750377503875039750407504175042750437504475045750467504775048750497505075051750527505375054750557505675057750587505975060750617506275063750647506575066750677506875069750707507175072750737507475075750767507775078750797508075081750827508375084750857508675087750887508975090750917509275093750947509575096750977509875099751007510175102751037510475105751067510775108751097511075111751127511375114751157511675117751187511975120751217512275123751247512575126751277512875129751307513175132751337513475135751367513775138751397514075141751427514375144751457514675147751487514975150751517515275153751547515575156751577515875159751607516175162751637516475165751667516775168751697517075171751727517375174751757517675177751787517975180751817518275183751847518575186751877518875189751907519175192751937519475195751967519775198751997520075201752027520375204752057520675207752087520975210752117521275213752147521575216752177521875219752207522175222752237522475225752267522775228752297523075231752327523375234752357523675237752387523975240752417524275243752447524575246752477524875249752507525175252752537525475255752567525775258752597526075261752627526375264752657526675267752687526975270752717527275273752747527575276752777527875279752807528175282752837528475285752867528775288752897529075291752927529375294752957529675297752987529975300753017530275303753047530575306753077530875309753107531175312753137531475315753167531775318753197532075321753227532375324753257532675327753287532975330753317533275333753347533575336753377533875339753407534175342753437534475345753467534775348753497535075351753527535375354753557535675357753587535975360753617536275363753647536575366753677536875369753707537175372753737537475375753767537775378753797538075381753827538375384753857538675387753887538975390753917539275393753947539575396753977539875399754007540175402754037540475405754067540775408754097541075411754127541375414754157541675417754187541975420754217542275423754247542575426754277542875429754307543175432754337543475435754367543775438754397544075441754427544375444754457544675447754487544975450754517545275453754547545575456754577545875459754607546175462754637546475465754667546775468754697547075471754727547375474754757547675477754787547975480754817548275483754847548575486754877548875489754907549175492754937549475495754967549775498754997550075501755027550375504755057550675507755087550975510755117551275513755147551575516755177551875519755207552175522755237552475525755267552775528755297553075531755327553375534755357553675537755387553975540755417554275543755447554575546755477554875549755507555175552755537555475555755567555775558755597556075561755627556375564755657556675567755687556975570755717557275573755747557575576755777557875579755807558175582755837558475585755867558775588755897559075591755927559375594755957559675597755987559975600756017560275603756047560575606756077560875609756107561175612756137561475615756167561775618756197562075621756227562375624756257562675627756287562975630756317563275633756347563575636756377563875639756407564175642756437564475645756467564775648756497565075651756527565375654756557565675657756587565975660756617566275663756647566575666756677566875669756707567175672756737567475675756767567775678756797568075681756827568375684756857568675687756887568975690756917569275693756947569575696756977569875699757007570175702757037570475705757067570775708757097571075711757127571375714757157571675717757187571975720757217572275723757247572575726757277572875729757307573175732757337573475735757367573775738757397574075741757427574375744757457574675747757487574975750757517575275753757547575575756757577575875759757607576175762757637576475765757667576775768757697577075771757727577375774757757577675777757787577975780757817578275783757847578575786757877578875789757907579175792757937579475795757967579775798757997580075801758027580375804758057580675807758087580975810758117581275813758147581575816758177581875819758207582175822758237582475825758267582775828758297583075831758327583375834758357583675837758387583975840758417584275843758447584575846758477584875849758507585175852758537585475855758567585775858758597586075861758627586375864758657586675867758687586975870758717587275873758747587575876758777587875879758807588175882758837588475885758867588775888758897589075891758927589375894758957589675897758987589975900759017590275903759047590575906759077590875909759107591175912759137591475915759167591775918759197592075921759227592375924759257592675927759287592975930759317593275933759347593575936759377593875939759407594175942759437594475945759467594775948759497595075951759527595375954759557595675957759587595975960759617596275963759647596575966759677596875969759707597175972759737597475975759767597775978759797598075981759827598375984759857598675987759887598975990759917599275993759947599575996759977599875999760007600176002760037600476005760067600776008760097601076011760127601376014760157601676017760187601976020760217602276023760247602576026760277602876029760307603176032760337603476035760367603776038760397604076041760427604376044760457604676047760487604976050760517605276053760547605576056760577605876059760607606176062760637606476065760667606776068760697607076071760727607376074760757607676077760787607976080760817608276083760847608576086760877608876089760907609176092760937609476095760967609776098760997610076101761027610376104761057610676107761087610976110761117611276113761147611576116761177611876119761207612176122761237612476125761267612776128761297613076131761327613376134761357613676137761387613976140761417614276143761447614576146761477614876149761507615176152761537615476155761567615776158761597616076161761627616376164761657616676167761687616976170761717617276173761747617576176761777617876179761807618176182761837618476185761867618776188761897619076191761927619376194761957619676197761987619976200762017620276203762047620576206762077620876209762107621176212762137621476215762167621776218762197622076221762227622376224762257622676227762287622976230762317623276233762347623576236762377623876239762407624176242762437624476245762467624776248762497625076251762527625376254762557625676257762587625976260762617626276263762647626576266762677626876269762707627176272762737627476275762767627776278762797628076281762827628376284762857628676287762887628976290762917629276293762947629576296762977629876299763007630176302763037630476305763067630776308763097631076311763127631376314763157631676317763187631976320763217632276323763247632576326763277632876329763307633176332763337633476335763367633776338763397634076341763427634376344763457634676347763487634976350763517635276353763547635576356763577635876359763607636176362763637636476365763667636776368763697637076371763727637376374763757637676377763787637976380763817638276383763847638576386763877638876389763907639176392763937639476395763967639776398763997640076401764027640376404764057640676407764087640976410764117641276413764147641576416764177641876419764207642176422764237642476425764267642776428764297643076431764327643376434764357643676437764387643976440764417644276443764447644576446764477644876449764507645176452764537645476455764567645776458764597646076461764627646376464764657646676467764687646976470764717647276473764747647576476764777647876479764807648176482764837648476485764867648776488764897649076491764927649376494764957649676497764987649976500765017650276503765047650576506765077650876509765107651176512765137651476515765167651776518765197652076521765227652376524765257652676527765287652976530765317653276533765347653576536765377653876539765407654176542765437654476545765467654776548765497655076551765527655376554765557655676557765587655976560765617656276563765647656576566765677656876569765707657176572765737657476575765767657776578765797658076581765827658376584765857658676587765887658976590765917659276593765947659576596765977659876599766007660176602766037660476605766067660776608766097661076611766127661376614766157661676617766187661976620766217662276623766247662576626766277662876629766307663176632766337663476635766367663776638766397664076641766427664376644766457664676647766487664976650766517665276653766547665576656766577665876659766607666176662766637666476665766667666776668766697667076671766727667376674766757667676677766787667976680766817668276683766847668576686766877668876689766907669176692766937669476695766967669776698766997670076701767027670376704767057670676707767087670976710767117671276713767147671576716767177671876719767207672176722767237672476725767267672776728767297673076731767327673376734767357673676737767387673976740767417674276743767447674576746767477674876749767507675176752767537675476755767567675776758767597676076761767627676376764767657676676767767687676976770767717677276773767747677576776767777677876779767807678176782767837678476785767867678776788767897679076791767927679376794767957679676797767987679976800768017680276803768047680576806768077680876809768107681176812768137681476815768167681776818768197682076821768227682376824768257682676827768287682976830768317683276833768347683576836768377683876839768407684176842768437684476845768467684776848768497685076851768527685376854768557685676857768587685976860768617686276863768647686576866768677686876869768707687176872768737687476875768767687776878768797688076881768827688376884768857688676887768887688976890768917689276893768947689576896768977689876899769007690176902769037690476905769067690776908769097691076911769127691376914769157691676917769187691976920769217692276923769247692576926769277692876929769307693176932769337693476935769367693776938769397694076941769427694376944769457694676947769487694976950769517695276953769547695576956769577695876959769607696176962769637696476965769667696776968769697697076971769727697376974769757697676977769787697976980769817698276983769847698576986769877698876989769907699176992769937699476995769967699776998769997700077001770027700377004770057700677007770087700977010770117701277013770147701577016770177701877019770207702177022770237702477025770267702777028770297703077031770327703377034770357703677037770387703977040770417704277043770447704577046770477704877049770507705177052770537705477055770567705777058770597706077061770627706377064770657706677067770687706977070770717707277073770747707577076770777707877079770807708177082770837708477085770867708777088770897709077091770927709377094770957709677097770987709977100771017710277103771047710577106771077710877109771107711177112771137711477115771167711777118771197712077121771227712377124771257712677127771287712977130771317713277133771347713577136771377713877139771407714177142771437714477145771467714777148771497715077151771527715377154771557715677157771587715977160771617716277163771647716577166771677716877169771707717177172771737717477175771767717777178771797718077181771827718377184771857718677187771887718977190771917719277193771947719577196771977719877199772007720177202772037720477205772067720777208772097721077211772127721377214772157721677217772187721977220772217722277223772247722577226772277722877229772307723177232772337723477235772367723777238772397724077241772427724377244772457724677247772487724977250772517725277253772547725577256772577725877259772607726177262772637726477265772667726777268772697727077271772727727377274772757727677277772787727977280772817728277283772847728577286772877728877289772907729177292772937729477295772967729777298772997730077301773027730377304773057730677307773087730977310773117731277313773147731577316773177731877319773207732177322773237732477325773267732777328773297733077331773327733377334773357733677337773387733977340773417734277343773447734577346773477734877349773507735177352773537735477355773567735777358773597736077361773627736377364773657736677367773687736977370773717737277373773747737577376773777737877379773807738177382773837738477385773867738777388773897739077391773927739377394773957739677397773987739977400774017740277403774047740577406774077740877409774107741177412774137741477415774167741777418774197742077421774227742377424774257742677427774287742977430774317743277433774347743577436774377743877439774407744177442774437744477445774467744777448774497745077451774527745377454774557745677457774587745977460774617746277463774647746577466774677746877469774707747177472774737747477475774767747777478774797748077481774827748377484774857748677487774887748977490774917749277493774947749577496774977749877499775007750177502775037750477505775067750777508775097751077511775127751377514775157751677517775187751977520775217752277523775247752577526775277752877529775307753177532775337753477535775367753777538775397754077541775427754377544775457754677547775487754977550775517755277553775547755577556775577755877559775607756177562775637756477565775667756777568775697757077571775727757377574775757757677577775787757977580775817758277583775847758577586775877758877589775907759177592775937759477595775967759777598775997760077601776027760377604776057760677607776087760977610776117761277613776147761577616776177761877619776207762177622776237762477625776267762777628776297763077631776327763377634776357763677637776387763977640776417764277643776447764577646776477764877649776507765177652776537765477655776567765777658776597766077661776627766377664776657766677667776687766977670776717767277673776747767577676776777767877679776807768177682776837768477685776867768777688776897769077691776927769377694776957769677697776987769977700777017770277703777047770577706777077770877709777107771177712777137771477715777167771777718777197772077721777227772377724777257772677727777287772977730777317773277733777347773577736777377773877739777407774177742777437774477745777467774777748777497775077751777527775377754777557775677757777587775977760777617776277763777647776577766777677776877769777707777177772777737777477775777767777777778777797778077781777827778377784777857778677787777887778977790777917779277793777947779577796777977779877799778007780177802778037780477805778067780777808778097781077811778127781377814778157781677817778187781977820778217782277823778247782577826778277782877829778307783177832778337783477835778367783777838778397784077841778427784377844778457784677847778487784977850778517785277853778547785577856778577785877859778607786177862778637786477865778667786777868778697787077871778727787377874778757787677877778787787977880778817788277883778847788577886778877788877889778907789177892778937789477895778967789777898778997790077901779027790377904779057790677907779087790977910779117791277913779147791577916779177791877919779207792177922779237792477925779267792777928779297793077931779327793377934779357793677937779387793977940779417794277943779447794577946779477794877949779507795177952779537795477955779567795777958779597796077961779627796377964779657796677967779687796977970779717797277973779747797577976779777797877979779807798177982779837798477985779867798777988779897799077991779927799377994779957799677997779987799978000780017800278003780047800578006780077800878009780107801178012780137801478015780167801778018780197802078021780227802378024780257802678027780287802978030780317803278033780347803578036780377803878039780407804178042780437804478045780467804778048780497805078051780527805378054780557805678057780587805978060780617806278063780647806578066780677806878069780707807178072780737807478075780767807778078780797808078081780827808378084780857808678087780887808978090780917809278093780947809578096780977809878099781007810178102781037810478105781067810778108781097811078111781127811378114781157811678117781187811978120781217812278123781247812578126781277812878129781307813178132781337813478135781367813778138781397814078141781427814378144781457814678147781487814978150781517815278153781547815578156781577815878159781607816178162781637816478165781667816778168781697817078171781727817378174781757817678177781787817978180781817818278183781847818578186781877818878189781907819178192781937819478195781967819778198781997820078201782027820378204782057820678207782087820978210782117821278213782147821578216782177821878219782207822178222782237822478225782267822778228782297823078231782327823378234782357823678237782387823978240782417824278243782447824578246782477824878249782507825178252782537825478255782567825778258782597826078261782627826378264782657826678267782687826978270782717827278273782747827578276782777827878279782807828178282782837828478285782867828778288782897829078291782927829378294782957829678297782987829978300783017830278303783047830578306783077830878309783107831178312783137831478315783167831778318783197832078321783227832378324783257832678327783287832978330783317833278333783347833578336783377833878339783407834178342783437834478345783467834778348783497835078351783527835378354783557835678357783587835978360783617836278363783647836578366783677836878369783707837178372783737837478375783767837778378783797838078381783827838378384783857838678387783887838978390783917839278393783947839578396783977839878399784007840178402784037840478405784067840778408784097841078411784127841378414784157841678417784187841978420784217842278423784247842578426784277842878429784307843178432784337843478435784367843778438784397844078441784427844378444784457844678447784487844978450784517845278453784547845578456784577845878459784607846178462784637846478465784667846778468784697847078471784727847378474784757847678477784787847978480784817848278483784847848578486784877848878489784907849178492784937849478495784967849778498784997850078501785027850378504785057850678507785087850978510785117851278513785147851578516785177851878519785207852178522785237852478525785267852778528785297853078531785327853378534785357853678537785387853978540785417854278543785447854578546785477854878549785507855178552785537855478555785567855778558785597856078561785627856378564785657856678567785687856978570785717857278573785747857578576785777857878579785807858178582785837858478585785867858778588785897859078591785927859378594785957859678597785987859978600786017860278603786047860578606786077860878609786107861178612786137861478615786167861778618786197862078621786227862378624786257862678627786287862978630786317863278633786347863578636786377863878639786407864178642786437864478645786467864778648786497865078651786527865378654786557865678657786587865978660786617866278663786647866578666786677866878669786707867178672786737867478675786767867778678786797868078681786827868378684786857868678687786887868978690786917869278693786947869578696786977869878699787007870178702787037870478705787067870778708787097871078711787127871378714787157871678717787187871978720787217872278723787247872578726787277872878729787307873178732787337873478735787367873778738787397874078741787427874378744787457874678747787487874978750787517875278753787547875578756787577875878759787607876178762787637876478765787667876778768787697877078771787727877378774787757877678777787787877978780787817878278783787847878578786787877878878789787907879178792787937879478795787967879778798787997880078801788027880378804788057880678807788087880978810788117881278813788147881578816788177881878819788207882178822788237882478825788267882778828788297883078831788327883378834788357883678837788387883978840788417884278843788447884578846788477884878849788507885178852788537885478855788567885778858788597886078861788627886378864788657886678867788687886978870788717887278873788747887578876788777887878879788807888178882788837888478885788867888778888788897889078891788927889378894788957889678897788987889978900789017890278903789047890578906789077890878909789107891178912789137891478915789167891778918789197892078921789227892378924789257892678927789287892978930789317893278933789347893578936789377893878939789407894178942789437894478945789467894778948789497895078951789527895378954789557895678957789587895978960789617896278963789647896578966789677896878969789707897178972789737897478975789767897778978789797898078981789827898378984789857898678987789887898978990789917899278993789947899578996789977899878999790007900179002790037900479005790067900779008790097901079011790127901379014790157901679017790187901979020790217902279023790247902579026790277902879029790307903179032790337903479035790367903779038790397904079041790427904379044790457904679047790487904979050790517905279053790547905579056790577905879059790607906179062790637906479065790667906779068790697907079071790727907379074790757907679077790787907979080790817908279083790847908579086790877908879089790907909179092790937909479095790967909779098790997910079101791027910379104791057910679107791087910979110791117911279113791147911579116791177911879119791207912179122791237912479125791267912779128791297913079131791327913379134791357913679137791387913979140791417914279143791447914579146791477914879149791507915179152791537915479155791567915779158791597916079161791627916379164791657916679167791687916979170791717917279173791747917579176791777917879179791807918179182791837918479185791867918779188791897919079191791927919379194791957919679197791987919979200792017920279203792047920579206792077920879209792107921179212792137921479215792167921779218792197922079221792227922379224792257922679227792287922979230792317923279233792347923579236792377923879239792407924179242792437924479245792467924779248792497925079251792527925379254792557925679257792587925979260792617926279263792647926579266792677926879269792707927179272792737927479275792767927779278792797928079281792827928379284792857928679287792887928979290792917929279293792947929579296792977929879299793007930179302793037930479305793067930779308793097931079311793127931379314793157931679317793187931979320793217932279323793247932579326793277932879329793307933179332793337933479335793367933779338793397934079341793427934379344793457934679347793487934979350793517935279353793547935579356793577935879359793607936179362793637936479365793667936779368793697937079371793727937379374793757937679377793787937979380793817938279383793847938579386793877938879389793907939179392793937939479395793967939779398793997940079401794027940379404794057940679407794087940979410794117941279413794147941579416794177941879419794207942179422794237942479425794267942779428794297943079431794327943379434794357943679437794387943979440794417944279443794447944579446794477944879449794507945179452794537945479455794567945779458794597946079461794627946379464794657946679467794687946979470794717947279473794747947579476794777947879479794807948179482794837948479485794867948779488794897949079491794927949379494794957949679497794987949979500795017950279503795047950579506795077950879509795107951179512795137951479515795167951779518795197952079521795227952379524795257952679527795287952979530795317953279533795347953579536795377953879539795407954179542795437954479545795467954779548795497955079551795527955379554795557955679557795587955979560795617956279563795647956579566795677956879569795707957179572795737957479575795767957779578795797958079581795827958379584795857958679587795887958979590795917959279593795947959579596795977959879599796007960179602796037960479605796067960779608796097961079611796127961379614796157961679617796187961979620796217962279623796247962579626796277962879629796307963179632796337963479635796367963779638796397964079641796427964379644796457964679647796487964979650796517965279653796547965579656796577965879659796607966179662796637966479665796667966779668796697967079671796727967379674796757967679677796787967979680796817968279683796847968579686796877968879689796907969179692796937969479695796967969779698796997970079701797027970379704797057970679707797087970979710797117971279713797147971579716797177971879719797207972179722797237972479725797267972779728797297973079731797327973379734797357973679737797387973979740797417974279743797447974579746797477974879749797507975179752797537975479755797567975779758797597976079761797627976379764797657976679767797687976979770797717977279773797747977579776797777977879779797807978179782797837978479785797867978779788797897979079791797927979379794797957979679797797987979979800798017980279803798047980579806798077980879809798107981179812798137981479815798167981779818798197982079821798227982379824798257982679827798287982979830798317983279833798347983579836798377983879839798407984179842798437984479845798467984779848798497985079851798527985379854798557985679857798587985979860798617986279863798647986579866798677986879869798707987179872798737987479875798767987779878798797988079881798827988379884798857988679887798887988979890798917989279893798947989579896798977989879899799007990179902799037990479905799067990779908799097991079911799127991379914799157991679917799187991979920799217992279923799247992579926799277992879929799307993179932799337993479935799367993779938799397994079941799427994379944799457994679947799487994979950799517995279953799547995579956799577995879959799607996179962799637996479965799667996779968799697997079971799727997379974799757997679977799787997979980799817998279983799847998579986799877998879989799907999179992799937999479995799967999779998799998000080001800028000380004800058000680007800088000980010800118001280013800148001580016800178001880019800208002180022800238002480025800268002780028800298003080031800328003380034800358003680037800388003980040800418004280043800448004580046800478004880049800508005180052800538005480055800568005780058800598006080061800628006380064800658006680067800688006980070800718007280073800748007580076800778007880079800808008180082800838008480085800868008780088800898009080091800928009380094800958009680097800988009980100801018010280103801048010580106801078010880109801108011180112801138011480115801168011780118801198012080121801228012380124801258012680127801288012980130801318013280133801348013580136801378013880139801408014180142801438014480145801468014780148801498015080151801528015380154801558015680157801588015980160801618016280163801648016580166801678016880169801708017180172801738017480175801768017780178801798018080181801828018380184801858018680187801888018980190801918019280193801948019580196801978019880199802008020180202802038020480205802068020780208802098021080211802128021380214802158021680217802188021980220802218022280223802248022580226802278022880229802308023180232802338023480235802368023780238802398024080241802428024380244802458024680247802488024980250802518025280253802548025580256802578025880259802608026180262802638026480265802668026780268802698027080271802728027380274802758027680277802788027980280802818028280283802848028580286802878028880289802908029180292802938029480295802968029780298802998030080301803028030380304803058030680307803088030980310803118031280313803148031580316803178031880319803208032180322803238032480325803268032780328803298033080331803328033380334803358033680337803388033980340803418034280343803448034580346803478034880349803508035180352803538035480355803568035780358803598036080361803628036380364803658036680367803688036980370803718037280373803748037580376803778037880379803808038180382803838038480385803868038780388803898039080391803928039380394803958039680397803988039980400804018040280403804048040580406804078040880409804108041180412804138041480415804168041780418804198042080421804228042380424804258042680427804288042980430804318043280433804348043580436804378043880439804408044180442804438044480445804468044780448804498045080451804528045380454804558045680457804588045980460804618046280463804648046580466804678046880469804708047180472804738047480475804768047780478804798048080481804828048380484804858048680487804888048980490804918049280493804948049580496804978049880499805008050180502805038050480505805068050780508805098051080511805128051380514805158051680517805188051980520805218052280523805248052580526805278052880529805308053180532805338053480535805368053780538805398054080541805428054380544805458054680547805488054980550805518055280553805548055580556805578055880559805608056180562805638056480565805668056780568805698057080571805728057380574805758057680577805788057980580805818058280583805848058580586805878058880589805908059180592805938059480595805968059780598805998060080601806028060380604806058060680607806088060980610806118061280613806148061580616806178061880619806208062180622806238062480625806268062780628806298063080631806328063380634806358063680637806388063980640806418064280643806448064580646806478064880649806508065180652806538065480655806568065780658806598066080661806628066380664806658066680667806688066980670806718067280673806748067580676806778067880679806808068180682806838068480685806868068780688806898069080691806928069380694806958069680697806988069980700807018070280703807048070580706807078070880709807108071180712807138071480715807168071780718807198072080721807228072380724807258072680727807288072980730807318073280733807348073580736807378073880739807408074180742807438074480745807468074780748807498075080751807528075380754807558075680757807588075980760807618076280763807648076580766807678076880769807708077180772807738077480775807768077780778807798078080781807828078380784807858078680787807888078980790807918079280793807948079580796807978079880799808008080180802808038080480805808068080780808808098081080811808128081380814808158081680817808188081980820808218082280823808248082580826808278082880829808308083180832808338083480835808368083780838808398084080841808428084380844808458084680847808488084980850808518085280853808548085580856808578085880859808608086180862808638086480865808668086780868808698087080871808728087380874808758087680877808788087980880808818088280883808848088580886808878088880889808908089180892808938089480895808968089780898808998090080901809028090380904809058090680907809088090980910809118091280913809148091580916809178091880919809208092180922809238092480925809268092780928809298093080931809328093380934809358093680937809388093980940809418094280943809448094580946809478094880949809508095180952809538095480955809568095780958809598096080961809628096380964809658096680967809688096980970809718097280973809748097580976809778097880979809808098180982809838098480985809868098780988809898099080991809928099380994809958099680997809988099981000810018100281003810048100581006810078100881009810108101181012810138101481015810168101781018810198102081021810228102381024810258102681027810288102981030810318103281033810348103581036810378103881039810408104181042810438104481045810468104781048810498105081051810528105381054810558105681057810588105981060810618106281063810648106581066810678106881069810708107181072810738107481075810768107781078810798108081081810828108381084810858108681087810888108981090810918109281093810948109581096810978109881099811008110181102811038110481105811068110781108811098111081111811128111381114811158111681117811188111981120811218112281123811248112581126811278112881129811308113181132811338113481135811368113781138811398114081141811428114381144811458114681147811488114981150811518115281153811548115581156811578115881159811608116181162811638116481165811668116781168811698117081171811728117381174811758117681177811788117981180811818118281183811848118581186811878118881189811908119181192811938119481195811968119781198811998120081201812028120381204812058120681207812088120981210812118121281213812148121581216812178121881219812208122181222812238122481225812268122781228812298123081231812328123381234812358123681237812388123981240812418124281243812448124581246812478124881249812508125181252812538125481255812568125781258812598126081261812628126381264812658126681267812688126981270812718127281273812748127581276812778127881279812808128181282812838128481285812868128781288812898129081291812928129381294812958129681297812988129981300813018130281303813048130581306813078130881309813108131181312813138131481315813168131781318813198132081321813228132381324813258132681327813288132981330813318133281333813348133581336813378133881339813408134181342813438134481345813468134781348813498135081351813528135381354813558135681357813588135981360813618136281363813648136581366813678136881369813708137181372813738137481375813768137781378813798138081381813828138381384813858138681387813888138981390813918139281393813948139581396813978139881399814008140181402814038140481405814068140781408814098141081411814128141381414814158141681417814188141981420814218142281423814248142581426814278142881429814308143181432814338143481435814368143781438814398144081441814428144381444814458144681447814488144981450814518145281453814548145581456814578145881459814608146181462814638146481465814668146781468814698147081471814728147381474814758147681477814788147981480814818148281483814848148581486814878148881489814908149181492814938149481495814968149781498814998150081501815028150381504815058150681507815088150981510815118151281513815148151581516815178151881519815208152181522815238152481525815268152781528815298153081531815328153381534815358153681537815388153981540815418154281543815448154581546815478154881549815508155181552815538155481555815568155781558815598156081561815628156381564815658156681567815688156981570815718157281573815748157581576815778157881579815808158181582815838158481585815868158781588815898159081591815928159381594815958159681597815988159981600816018160281603816048160581606816078160881609816108161181612816138161481615816168161781618816198162081621816228162381624816258162681627816288162981630816318163281633816348163581636816378163881639816408164181642816438164481645816468164781648816498165081651816528165381654816558165681657816588165981660816618166281663816648166581666816678166881669816708167181672816738167481675816768167781678816798168081681816828168381684816858168681687816888168981690816918169281693816948169581696816978169881699817008170181702817038170481705817068170781708817098171081711817128171381714817158171681717817188171981720817218172281723817248172581726817278172881729817308173181732817338173481735817368173781738817398174081741817428174381744817458174681747817488174981750817518175281753817548175581756817578175881759817608176181762817638176481765817668176781768817698177081771817728177381774817758177681777817788177981780817818178281783817848178581786817878178881789817908179181792817938179481795817968179781798817998180081801818028180381804818058180681807818088180981810818118181281813818148181581816818178181881819818208182181822818238182481825818268182781828818298183081831818328183381834818358183681837818388183981840818418184281843818448184581846818478184881849818508185181852818538185481855818568185781858818598186081861818628186381864818658186681867818688186981870818718187281873818748187581876818778187881879818808188181882818838188481885818868188781888818898189081891818928189381894818958189681897818988189981900819018190281903819048190581906819078190881909819108191181912819138191481915819168191781918819198192081921819228192381924819258192681927819288192981930819318193281933819348193581936819378193881939819408194181942819438194481945819468194781948819498195081951819528195381954819558195681957819588195981960819618196281963819648196581966819678196881969819708197181972819738197481975819768197781978819798198081981819828198381984819858198681987819888198981990819918199281993819948199581996819978199881999820008200182002820038200482005820068200782008820098201082011820128201382014820158201682017820188201982020820218202282023820248202582026820278202882029820308203182032820338203482035820368203782038820398204082041820428204382044820458204682047820488204982050820518205282053820548205582056820578205882059820608206182062820638206482065820668206782068820698207082071820728207382074820758207682077820788207982080820818208282083820848208582086820878208882089820908209182092820938209482095820968209782098820998210082101821028210382104821058210682107821088210982110821118211282113821148211582116821178211882119821208212182122821238212482125821268212782128821298213082131821328213382134821358213682137821388213982140821418214282143821448214582146821478214882149821508215182152821538215482155821568215782158821598216082161821628216382164821658216682167821688216982170821718217282173821748217582176821778217882179821808218182182821838218482185821868218782188821898219082191821928219382194821958219682197821988219982200822018220282203822048220582206822078220882209822108221182212822138221482215822168221782218822198222082221822228222382224822258222682227822288222982230822318223282233822348223582236822378223882239822408224182242822438224482245822468224782248822498225082251822528225382254822558225682257822588225982260822618226282263822648226582266822678226882269822708227182272822738227482275822768227782278822798228082281822828228382284822858228682287822888228982290822918229282293822948229582296822978229882299823008230182302823038230482305823068230782308823098231082311823128231382314823158231682317823188231982320823218232282323823248232582326823278232882329823308233182332823338233482335823368233782338823398234082341823428234382344823458234682347823488234982350823518235282353823548235582356823578235882359823608236182362823638236482365823668236782368823698237082371823728237382374823758237682377823788237982380823818238282383823848238582386823878238882389823908239182392823938239482395823968239782398823998240082401824028240382404824058240682407824088240982410824118241282413824148241582416824178241882419824208242182422824238242482425824268242782428824298243082431824328243382434824358243682437824388243982440824418244282443824448244582446824478244882449824508245182452824538245482455824568245782458824598246082461824628246382464824658246682467824688246982470824718247282473824748247582476824778247882479824808248182482824838248482485824868248782488824898249082491824928249382494824958249682497824988249982500825018250282503825048250582506825078250882509825108251182512825138251482515825168251782518825198252082521825228252382524825258252682527825288252982530825318253282533825348253582536825378253882539825408254182542825438254482545825468254782548825498255082551825528255382554825558255682557825588255982560825618256282563825648256582566825678256882569825708257182572825738257482575825768257782578825798258082581825828258382584825858258682587825888258982590825918259282593825948259582596825978259882599826008260182602826038260482605826068260782608826098261082611826128261382614826158261682617826188261982620826218262282623826248262582626826278262882629826308263182632826338263482635826368263782638826398264082641826428264382644826458264682647826488264982650826518265282653826548265582656826578265882659826608266182662826638266482665826668266782668826698267082671826728267382674826758267682677826788267982680826818268282683826848268582686826878268882689826908269182692826938269482695826968269782698826998270082701827028270382704827058270682707827088270982710827118271282713827148271582716827178271882719827208272182722827238272482725827268272782728827298273082731827328273382734827358273682737827388273982740827418274282743827448274582746827478274882749827508275182752827538275482755827568275782758827598276082761827628276382764827658276682767827688276982770827718277282773827748277582776827778277882779827808278182782827838278482785827868278782788827898279082791827928279382794827958279682797827988279982800828018280282803828048280582806828078280882809828108281182812828138281482815828168281782818828198282082821828228282382824828258282682827828288282982830828318283282833828348283582836828378283882839828408284182842828438284482845828468284782848828498285082851828528285382854828558285682857828588285982860828618286282863828648286582866828678286882869828708287182872828738287482875828768287782878828798288082881828828288382884828858288682887828888288982890828918289282893828948289582896828978289882899829008290182902829038290482905829068290782908829098291082911829128291382914829158291682917829188291982920829218292282923829248292582926829278292882929829308293182932829338293482935829368293782938829398294082941829428294382944829458294682947829488294982950829518295282953829548295582956829578295882959829608296182962829638296482965829668296782968829698297082971829728297382974829758297682977829788297982980829818298282983829848298582986829878298882989829908299182992829938299482995829968299782998829998300083001830028300383004830058300683007830088300983010830118301283013830148301583016830178301883019830208302183022830238302483025830268302783028830298303083031830328303383034830358303683037830388303983040830418304283043830448304583046830478304883049830508305183052830538305483055830568305783058830598306083061830628306383064830658306683067830688306983070830718307283073830748307583076830778307883079830808308183082830838308483085830868308783088830898309083091830928309383094830958309683097830988309983100831018310283103831048310583106831078310883109831108311183112831138311483115831168311783118831198312083121831228312383124831258312683127831288312983130831318313283133831348313583136831378313883139831408314183142831438314483145831468314783148831498315083151831528315383154831558315683157831588315983160831618316283163831648316583166831678316883169831708317183172831738317483175831768317783178831798318083181831828318383184831858318683187831888318983190831918319283193831948319583196831978319883199832008320183202832038320483205832068320783208832098321083211832128321383214832158321683217832188321983220832218322283223832248322583226832278322883229832308323183232832338323483235832368323783238832398324083241832428324383244832458324683247832488324983250832518325283253832548325583256832578325883259832608326183262832638326483265832668326783268832698327083271832728327383274832758327683277832788327983280832818328283283832848328583286832878328883289832908329183292832938329483295832968329783298832998330083301833028330383304833058330683307833088330983310833118331283313833148331583316833178331883319833208332183322833238332483325833268332783328833298333083331833328333383334833358333683337833388333983340833418334283343833448334583346833478334883349833508335183352833538335483355833568335783358833598336083361833628336383364833658336683367833688336983370833718337283373833748337583376833778337883379833808338183382833838338483385833868338783388833898339083391833928339383394833958339683397833988339983400834018340283403834048340583406834078340883409834108341183412834138341483415834168341783418834198342083421834228342383424834258342683427834288342983430834318343283433834348343583436834378343883439834408344183442834438344483445834468344783448834498345083451834528345383454834558345683457834588345983460834618346283463834648346583466834678346883469834708347183472834738347483475834768347783478834798348083481834828348383484834858348683487834888348983490834918349283493834948349583496834978349883499835008350183502835038350483505835068350783508835098351083511835128351383514835158351683517835188351983520835218352283523835248352583526835278352883529835308353183532835338353483535835368353783538835398354083541835428354383544835458354683547835488354983550835518355283553835548355583556835578355883559835608356183562835638356483565835668356783568835698357083571835728357383574835758357683577835788357983580835818358283583835848358583586835878358883589835908359183592835938359483595835968359783598835998360083601836028360383604836058360683607836088360983610836118361283613836148361583616836178361883619836208362183622836238362483625836268362783628836298363083631836328363383634836358363683637836388363983640836418364283643836448364583646836478364883649836508365183652836538365483655836568365783658836598366083661836628366383664836658366683667836688366983670836718367283673836748367583676836778367883679836808368183682836838368483685836868368783688836898369083691836928369383694836958369683697836988369983700837018370283703837048370583706837078370883709837108371183712837138371483715837168371783718837198372083721837228372383724837258372683727837288372983730837318373283733837348373583736837378373883739837408374183742837438374483745837468374783748837498375083751837528375383754837558375683757837588375983760837618376283763837648376583766837678376883769837708377183772837738377483775837768377783778837798378083781837828378383784837858378683787837888378983790837918379283793837948379583796837978379883799838008380183802838038380483805838068380783808838098381083811838128381383814838158381683817838188381983820838218382283823838248382583826838278382883829838308383183832838338383483835838368383783838838398384083841838428384383844838458384683847838488384983850838518385283853838548385583856838578385883859838608386183862838638386483865838668386783868838698387083871838728387383874838758387683877838788387983880838818388283883838848388583886838878388883889838908389183892838938389483895838968389783898838998390083901839028390383904839058390683907839088390983910839118391283913839148391583916839178391883919839208392183922839238392483925839268392783928839298393083931839328393383934839358393683937839388393983940839418394283943839448394583946839478394883949839508395183952839538395483955839568395783958839598396083961839628396383964839658396683967839688396983970839718397283973839748397583976839778397883979839808398183982839838398483985839868398783988839898399083991839928399383994839958399683997839988399984000840018400284003840048400584006840078400884009840108401184012840138401484015840168401784018840198402084021840228402384024840258402684027840288402984030840318403284033840348403584036840378403884039840408404184042840438404484045840468404784048840498405084051840528405384054840558405684057840588405984060840618406284063840648406584066840678406884069840708407184072840738407484075840768407784078840798408084081840828408384084840858408684087840888408984090840918409284093840948409584096840978409884099841008410184102841038410484105841068410784108841098411084111841128411384114841158411684117841188411984120841218412284123841248412584126841278412884129841308413184132841338413484135841368413784138841398414084141841428414384144841458414684147841488414984150841518415284153841548415584156841578415884159841608416184162841638416484165841668416784168841698417084171841728417384174841758417684177841788417984180841818418284183841848418584186841878418884189841908419184192841938419484195841968419784198841998420084201842028420384204842058420684207842088420984210842118421284213842148421584216842178421884219842208422184222842238422484225842268422784228842298423084231842328423384234842358423684237842388423984240842418424284243842448424584246842478424884249842508425184252842538425484255842568425784258842598426084261842628426384264842658426684267842688426984270842718427284273842748427584276842778427884279842808428184282842838428484285842868428784288842898429084291842928429384294842958429684297842988429984300843018430284303843048430584306843078430884309843108431184312843138431484315843168431784318843198432084321843228432384324843258432684327843288432984330843318433284333843348433584336843378433884339843408434184342843438434484345843468434784348843498435084351843528435384354843558435684357843588435984360843618436284363843648436584366843678436884369843708437184372843738437484375843768437784378843798438084381843828438384384843858438684387843888438984390843918439284393843948439584396843978439884399844008440184402844038440484405844068440784408844098441084411844128441384414844158441684417844188441984420844218442284423844248442584426844278442884429844308443184432844338443484435844368443784438844398444084441844428444384444844458444684447844488444984450844518445284453844548445584456844578445884459844608446184462844638446484465844668446784468844698447084471844728447384474844758447684477844788447984480844818448284483844848448584486844878448884489844908449184492844938449484495844968449784498844998450084501845028450384504845058450684507845088450984510845118451284513845148451584516845178451884519845208452184522845238452484525845268452784528845298453084531845328453384534845358453684537845388453984540845418454284543845448454584546845478454884549845508455184552845538455484555845568455784558845598456084561845628456384564845658456684567845688456984570845718457284573845748457584576845778457884579845808458184582845838458484585845868458784588845898459084591845928459384594845958459684597845988459984600846018460284603846048460584606846078460884609846108461184612846138461484615846168461784618846198462084621846228462384624846258462684627846288462984630846318463284633846348463584636846378463884639846408464184642846438464484645846468464784648846498465084651846528465384654846558465684657846588465984660846618466284663846648466584666846678466884669846708467184672846738467484675846768467784678846798468084681846828468384684846858468684687846888468984690846918469284693846948469584696846978469884699847008470184702847038470484705847068470784708847098471084711847128471384714847158471684717847188471984720847218472284723847248472584726847278472884729847308473184732847338473484735847368473784738847398474084741847428474384744847458474684747847488474984750847518475284753847548475584756847578475884759847608476184762847638476484765847668476784768847698477084771847728477384774847758477684777847788477984780847818478284783847848478584786847878478884789847908479184792847938479484795847968479784798847998480084801848028480384804848058480684807848088480984810848118481284813848148481584816848178481884819848208482184822848238482484825848268482784828848298483084831848328483384834848358483684837848388483984840848418484284843848448484584846848478484884849848508485184852848538485484855848568485784858848598486084861848628486384864848658486684867848688486984870848718487284873848748487584876848778487884879848808488184882848838488484885848868488784888848898489084891848928489384894848958489684897848988489984900849018490284903849048490584906849078490884909849108491184912849138491484915849168491784918849198492084921849228492384924849258492684927849288492984930849318493284933849348493584936849378493884939849408494184942849438494484945849468494784948849498495084951849528495384954849558495684957849588495984960849618496284963849648496584966849678496884969849708497184972849738497484975849768497784978849798498084981849828498384984849858498684987849888498984990849918499284993849948499584996849978499884999850008500185002850038500485005850068500785008850098501085011850128501385014850158501685017850188501985020850218502285023850248502585026850278502885029850308503185032850338503485035850368503785038850398504085041850428504385044850458504685047850488504985050850518505285053850548505585056850578505885059850608506185062850638506485065850668506785068850698507085071850728507385074850758507685077850788507985080850818508285083850848508585086850878508885089850908509185092850938509485095850968509785098850998510085101851028510385104851058510685107851088510985110851118511285113851148511585116851178511885119851208512185122851238512485125851268512785128851298513085131851328513385134851358513685137851388513985140851418514285143851448514585146851478514885149851508515185152851538515485155851568515785158851598516085161851628516385164851658516685167851688516985170851718517285173851748517585176851778517885179851808518185182851838518485185851868518785188851898519085191851928519385194851958519685197851988519985200852018520285203852048520585206852078520885209852108521185212852138521485215852168521785218852198522085221852228522385224852258522685227852288522985230852318523285233852348523585236852378523885239852408524185242852438524485245852468524785248852498525085251852528525385254852558525685257852588525985260852618526285263852648526585266852678526885269852708527185272852738527485275852768527785278852798528085281852828528385284852858528685287852888528985290852918529285293852948529585296852978529885299853008530185302853038530485305853068530785308853098531085311853128531385314853158531685317853188531985320853218532285323853248532585326853278532885329853308533185332853338533485335853368533785338853398534085341853428534385344853458534685347853488534985350853518535285353853548535585356853578535885359853608536185362853638536485365853668536785368853698537085371853728537385374853758537685377853788537985380853818538285383853848538585386853878538885389853908539185392853938539485395853968539785398853998540085401854028540385404854058540685407854088540985410854118541285413854148541585416854178541885419854208542185422854238542485425854268542785428854298543085431854328543385434854358543685437854388543985440854418544285443854448544585446854478544885449854508545185452854538545485455854568545785458854598546085461854628546385464854658546685467854688546985470854718547285473854748547585476854778547885479854808548185482854838548485485854868548785488854898549085491854928549385494854958549685497854988549985500855018550285503855048550585506855078550885509855108551185512855138551485515855168551785518855198552085521855228552385524855258552685527855288552985530855318553285533855348553585536855378553885539855408554185542855438554485545855468554785548855498555085551855528555385554855558555685557855588555985560855618556285563855648556585566855678556885569855708557185572855738557485575855768557785578855798558085581855828558385584855858558685587855888558985590855918559285593855948559585596855978559885599856008560185602856038560485605856068560785608856098561085611856128561385614856158561685617856188561985620856218562285623856248562585626856278562885629856308563185632856338563485635856368563785638856398564085641856428564385644856458564685647856488564985650856518565285653856548565585656856578565885659856608566185662856638566485665856668566785668856698567085671856728567385674856758567685677856788567985680856818568285683856848568585686856878568885689856908569185692856938569485695856968569785698856998570085701857028570385704857058570685707857088570985710857118571285713857148571585716857178571885719857208572185722857238572485725857268572785728857298573085731857328573385734857358573685737857388573985740857418574285743857448574585746857478574885749857508575185752857538575485755857568575785758857598576085761857628576385764857658576685767857688576985770857718577285773857748577585776857778577885779857808578185782857838578485785857868578785788857898579085791857928579385794857958579685797857988579985800858018580285803858048580585806858078580885809858108581185812858138581485815858168581785818858198582085821858228582385824858258582685827858288582985830858318583285833858348583585836858378583885839858408584185842858438584485845858468584785848858498585085851858528585385854858558585685857858588585985860858618586285863858648586585866858678586885869858708587185872858738587485875858768587785878858798588085881858828588385884858858588685887858888588985890858918589285893858948589585896858978589885899859008590185902859038590485905859068590785908859098591085911859128591385914859158591685917859188591985920859218592285923859248592585926859278592885929859308593185932859338593485935859368593785938859398594085941859428594385944859458594685947859488594985950859518595285953859548595585956859578595885959859608596185962859638596485965859668596785968859698597085971859728597385974859758597685977859788597985980859818598285983859848598585986859878598885989859908599185992859938599485995859968599785998859998600086001860028600386004860058600686007860088600986010860118601286013860148601586016860178601886019860208602186022860238602486025860268602786028860298603086031860328603386034860358603686037860388603986040860418604286043860448604586046860478604886049860508605186052860538605486055860568605786058860598606086061860628606386064860658606686067860688606986070860718607286073860748607586076860778607886079860808608186082860838608486085860868608786088860898609086091860928609386094860958609686097860988609986100861018610286103861048610586106861078610886109861108611186112861138611486115861168611786118861198612086121861228612386124861258612686127861288612986130861318613286133861348613586136861378613886139861408614186142861438614486145861468614786148861498615086151861528615386154861558615686157861588615986160861618616286163861648616586166861678616886169861708617186172861738617486175861768617786178861798618086181861828618386184861858618686187861888618986190861918619286193861948619586196861978619886199862008620186202862038620486205862068620786208862098621086211862128621386214862158621686217862188621986220862218622286223862248622586226862278622886229862308623186232862338623486235862368623786238862398624086241862428624386244862458624686247862488624986250862518625286253862548625586256862578625886259862608626186262862638626486265862668626786268862698627086271862728627386274862758627686277862788627986280862818628286283862848628586286862878628886289862908629186292862938629486295862968629786298862998630086301863028630386304863058630686307863088630986310863118631286313863148631586316863178631886319863208632186322863238632486325863268632786328863298633086331863328633386334863358633686337863388633986340863418634286343863448634586346863478634886349863508635186352863538635486355863568635786358863598636086361863628636386364863658636686367863688636986370863718637286373863748637586376863778637886379863808638186382863838638486385863868638786388863898639086391863928639386394863958639686397863988639986400864018640286403864048640586406864078640886409864108641186412864138641486415864168641786418864198642086421864228642386424864258642686427864288642986430864318643286433864348643586436864378643886439864408644186442864438644486445864468644786448864498645086451864528645386454864558645686457864588645986460864618646286463864648646586466864678646886469864708647186472864738647486475864768647786478864798648086481864828648386484864858648686487864888648986490864918649286493864948649586496864978649886499865008650186502865038650486505865068650786508865098651086511865128651386514865158651686517865188651986520865218652286523865248652586526865278652886529865308653186532865338653486535865368653786538865398654086541865428654386544865458654686547865488654986550865518655286553865548655586556865578655886559865608656186562865638656486565865668656786568865698657086571865728657386574865758657686577865788657986580865818658286583865848658586586865878658886589865908659186592865938659486595865968659786598865998660086601866028660386604866058660686607866088660986610866118661286613866148661586616866178661886619866208662186622866238662486625866268662786628866298663086631866328663386634866358663686637866388663986640866418664286643866448664586646866478664886649866508665186652866538665486655866568665786658866598666086661866628666386664866658666686667866688666986670866718667286673866748667586676866778667886679866808668186682866838668486685866868668786688866898669086691866928669386694866958669686697866988669986700867018670286703867048670586706867078670886709867108671186712867138671486715867168671786718867198672086721867228672386724867258672686727867288672986730867318673286733867348673586736867378673886739867408674186742867438674486745867468674786748867498675086751867528675386754867558675686757867588675986760867618676286763867648676586766867678676886769867708677186772867738677486775867768677786778867798678086781867828678386784867858678686787867888678986790867918679286793867948679586796867978679886799868008680186802868038680486805868068680786808868098681086811868128681386814868158681686817868188681986820868218682286823868248682586826868278682886829868308683186832868338683486835868368683786838868398684086841868428684386844868458684686847868488684986850868518685286853868548685586856868578685886859868608686186862868638686486865868668686786868868698687086871868728687386874868758687686877868788687986880868818688286883868848688586886868878688886889868908689186892868938689486895868968689786898868998690086901869028690386904869058690686907869088690986910869118691286913869148691586916869178691886919869208692186922869238692486925869268692786928869298693086931869328693386934869358693686937869388693986940869418694286943869448694586946869478694886949869508695186952869538695486955869568695786958869598696086961869628696386964869658696686967869688696986970869718697286973869748697586976869778697886979869808698186982869838698486985869868698786988869898699086991869928699386994869958699686997869988699987000870018700287003870048700587006870078700887009870108701187012870138701487015870168701787018870198702087021870228702387024870258702687027870288702987030870318703287033870348703587036870378703887039870408704187042870438704487045870468704787048870498705087051870528705387054870558705687057870588705987060870618706287063870648706587066870678706887069870708707187072870738707487075870768707787078870798708087081870828708387084870858708687087870888708987090870918709287093870948709587096870978709887099871008710187102871038710487105871068710787108871098711087111871128711387114871158711687117871188711987120871218712287123871248712587126871278712887129871308713187132871338713487135871368713787138871398714087141871428714387144871458714687147871488714987150871518715287153871548715587156871578715887159871608716187162871638716487165871668716787168871698717087171871728717387174871758717687177871788717987180871818718287183871848718587186871878718887189871908719187192871938719487195871968719787198871998720087201872028720387204872058720687207872088720987210872118721287213872148721587216872178721887219872208722187222872238722487225872268722787228872298723087231872328723387234872358723687237872388723987240872418724287243872448724587246872478724887249872508725187252872538725487255872568725787258872598726087261872628726387264872658726687267872688726987270872718727287273872748727587276872778727887279872808728187282872838728487285872868728787288872898729087291872928729387294872958729687297872988729987300873018730287303873048730587306873078730887309873108731187312873138731487315873168731787318873198732087321873228732387324873258732687327873288732987330873318733287333873348733587336873378733887339873408734187342873438734487345873468734787348873498735087351873528735387354873558735687357873588735987360873618736287363873648736587366873678736887369873708737187372873738737487375873768737787378873798738087381873828738387384873858738687387873888738987390873918739287393873948739587396873978739887399874008740187402874038740487405874068740787408874098741087411874128741387414874158741687417874188741987420874218742287423874248742587426874278742887429874308743187432874338743487435874368743787438874398744087441874428744387444874458744687447874488744987450874518745287453874548745587456874578745887459874608746187462874638746487465874668746787468874698747087471874728747387474874758747687477874788747987480874818748287483874848748587486874878748887489874908749187492874938749487495874968749787498874998750087501875028750387504875058750687507875088750987510875118751287513875148751587516875178751887519875208752187522875238752487525875268752787528875298753087531875328753387534875358753687537875388753987540875418754287543875448754587546875478754887549875508755187552875538755487555875568755787558875598756087561875628756387564875658756687567875688756987570875718757287573875748757587576875778757887579875808758187582875838758487585875868758787588875898759087591875928759387594875958759687597875988759987600876018760287603876048760587606876078760887609876108761187612876138761487615876168761787618876198762087621876228762387624876258762687627876288762987630876318763287633876348763587636876378763887639876408764187642876438764487645876468764787648876498765087651876528765387654876558765687657876588765987660876618766287663876648766587666876678766887669876708767187672876738767487675876768767787678876798768087681876828768387684876858768687687876888768987690876918769287693876948769587696876978769887699877008770187702877038770487705877068770787708877098771087711877128771387714877158771687717877188771987720877218772287723877248772587726877278772887729877308773187732877338773487735877368773787738877398774087741877428774387744877458774687747877488774987750877518775287753877548775587756877578775887759877608776187762877638776487765877668776787768877698777087771877728777387774877758777687777877788777987780877818778287783877848778587786877878778887789877908779187792877938779487795877968779787798877998780087801878028780387804878058780687807878088780987810878118781287813878148781587816878178781887819878208782187822878238782487825878268782787828878298783087831878328783387834878358783687837878388783987840878418784287843878448784587846878478784887849878508785187852878538785487855878568785787858878598786087861878628786387864878658786687867878688786987870878718787287873878748787587876878778787887879878808788187882878838788487885878868788787888878898789087891878928789387894878958789687897878988789987900879018790287903879048790587906879078790887909879108791187912879138791487915879168791787918879198792087921879228792387924879258792687927879288792987930879318793287933879348793587936879378793887939879408794187942879438794487945879468794787948879498795087951879528795387954879558795687957879588795987960879618796287963879648796587966879678796887969879708797187972879738797487975879768797787978879798798087981879828798387984879858798687987879888798987990879918799287993879948799587996879978799887999880008800188002880038800488005880068800788008880098801088011880128801388014880158801688017880188801988020880218802288023880248802588026880278802888029880308803188032880338803488035880368803788038880398804088041880428804388044880458804688047880488804988050880518805288053880548805588056880578805888059880608806188062880638806488065880668806788068880698807088071880728807388074880758807688077880788807988080880818808288083880848808588086880878808888089880908809188092880938809488095880968809788098880998810088101881028810388104881058810688107881088810988110881118811288113881148811588116881178811888119881208812188122881238812488125881268812788128881298813088131881328813388134881358813688137881388813988140881418814288143881448814588146881478814888149881508815188152881538815488155881568815788158881598816088161881628816388164881658816688167881688816988170881718817288173881748817588176881778817888179881808818188182881838818488185881868818788188881898819088191881928819388194881958819688197881988819988200882018820288203882048820588206882078820888209882108821188212882138821488215882168821788218882198822088221882228822388224882258822688227882288822988230882318823288233882348823588236882378823888239882408824188242882438824488245882468824788248882498825088251882528825388254882558825688257882588825988260882618826288263882648826588266882678826888269882708827188272882738827488275882768827788278882798828088281882828828388284882858828688287882888828988290882918829288293882948829588296882978829888299883008830188302883038830488305883068830788308883098831088311883128831388314883158831688317883188831988320883218832288323883248832588326883278832888329883308833188332883338833488335883368833788338883398834088341883428834388344883458834688347883488834988350883518835288353883548835588356883578835888359883608836188362883638836488365883668836788368883698837088371883728837388374883758837688377883788837988380883818838288383883848838588386883878838888389883908839188392883938839488395883968839788398883998840088401884028840388404884058840688407884088840988410884118841288413884148841588416884178841888419884208842188422884238842488425884268842788428884298843088431884328843388434884358843688437884388843988440884418844288443884448844588446884478844888449884508845188452884538845488455884568845788458884598846088461884628846388464884658846688467884688846988470884718847288473884748847588476884778847888479884808848188482884838848488485884868848788488884898849088491884928849388494884958849688497884988849988500885018850288503885048850588506885078850888509885108851188512885138851488515885168851788518885198852088521885228852388524885258852688527885288852988530885318853288533885348853588536885378853888539885408854188542885438854488545885468854788548885498855088551885528855388554885558855688557885588855988560885618856288563885648856588566885678856888569885708857188572885738857488575885768857788578885798858088581885828858388584885858858688587885888858988590885918859288593885948859588596885978859888599886008860188602886038860488605886068860788608886098861088611886128861388614886158861688617886188861988620886218862288623886248862588626886278862888629886308863188632886338863488635886368863788638886398864088641886428864388644886458864688647886488864988650886518865288653886548865588656886578865888659886608866188662886638866488665886668866788668886698867088671886728867388674886758867688677886788867988680886818868288683886848868588686886878868888689886908869188692886938869488695886968869788698886998870088701887028870388704887058870688707887088870988710887118871288713887148871588716887178871888719887208872188722887238872488725887268872788728887298873088731887328873388734887358873688737887388873988740887418874288743887448874588746887478874888749887508875188752887538875488755887568875788758887598876088761887628876388764887658876688767887688876988770887718877288773887748877588776887778877888779887808878188782887838878488785887868878788788887898879088791887928879388794887958879688797887988879988800888018880288803888048880588806888078880888809888108881188812888138881488815888168881788818888198882088821888228882388824888258882688827888288882988830888318883288833888348883588836888378883888839888408884188842888438884488845888468884788848888498885088851888528885388854888558885688857888588885988860888618886288863888648886588866888678886888869888708887188872888738887488875888768887788878888798888088881888828888388884888858888688887888888888988890888918889288893888948889588896888978889888899889008890188902889038890488905889068890788908889098891088911889128891388914889158891688917889188891988920889218892288923889248892588926889278892888929889308893188932889338893488935889368893788938889398894088941889428894388944889458894688947889488894988950889518895288953889548895588956889578895888959889608896188962889638896488965889668896788968889698897088971889728897388974889758897688977889788897988980889818898288983889848898588986889878898888989889908899188992889938899488995889968899788998889998900089001890028900389004890058900689007890088900989010890118901289013890148901589016890178901889019890208902189022890238902489025890268902789028890298903089031890328903389034890358903689037890388903989040890418904289043890448904589046890478904889049890508905189052890538905489055890568905789058890598906089061890628906389064890658906689067890688906989070890718907289073890748907589076890778907889079890808908189082890838908489085890868908789088890898909089091890928909389094890958909689097890988909989100891018910289103891048910589106891078910889109891108911189112891138911489115891168911789118891198912089121891228912389124891258912689127891288912989130891318913289133891348913589136891378913889139891408914189142891438914489145891468914789148891498915089151891528915389154891558915689157891588915989160891618916289163891648916589166891678916889169891708917189172891738917489175891768917789178891798918089181891828918389184891858918689187891888918989190891918919289193891948919589196891978919889199892008920189202892038920489205892068920789208892098921089211892128921389214892158921689217892188921989220892218922289223892248922589226892278922889229892308923189232892338923489235892368923789238892398924089241892428924389244892458924689247892488924989250892518925289253892548925589256892578925889259892608926189262892638926489265892668926789268892698927089271892728927389274892758927689277892788927989280892818928289283892848928589286892878928889289892908929189292892938929489295892968929789298892998930089301893028930389304893058930689307893088930989310893118931289313893148931589316893178931889319893208932189322893238932489325893268932789328893298933089331893328933389334893358933689337893388933989340893418934289343893448934589346893478934889349893508935189352893538935489355893568935789358893598936089361893628936389364893658936689367893688936989370893718937289373893748937589376893778937889379893808938189382893838938489385893868938789388893898939089391893928939389394893958939689397893988939989400894018940289403894048940589406894078940889409894108941189412894138941489415894168941789418894198942089421894228942389424894258942689427894288942989430894318943289433894348943589436894378943889439894408944189442894438944489445894468944789448894498945089451894528945389454894558945689457894588945989460894618946289463894648946589466894678946889469894708947189472894738947489475894768947789478894798948089481894828948389484894858948689487894888948989490894918949289493894948949589496894978949889499895008950189502895038950489505895068950789508895098951089511895128951389514895158951689517895188951989520895218952289523895248952589526895278952889529895308953189532895338953489535895368953789538895398954089541895428954389544895458954689547895488954989550895518955289553895548955589556895578955889559895608956189562895638956489565895668956789568895698957089571895728957389574895758957689577895788957989580895818958289583895848958589586895878958889589895908959189592895938959489595895968959789598895998960089601896028960389604896058960689607896088960989610896118961289613896148961589616896178961889619896208962189622896238962489625896268962789628896298963089631896328963389634896358963689637896388963989640896418964289643896448964589646896478964889649896508965189652896538965489655896568965789658896598966089661896628966389664896658966689667896688966989670896718967289673896748967589676896778967889679896808968189682896838968489685896868968789688896898969089691896928969389694896958969689697896988969989700897018970289703897048970589706897078970889709897108971189712897138971489715897168971789718897198972089721897228972389724897258972689727897288972989730897318973289733897348973589736897378973889739897408974189742897438974489745897468974789748897498975089751897528975389754897558975689757897588975989760897618976289763897648976589766897678976889769897708977189772897738977489775897768977789778897798978089781897828978389784897858978689787897888978989790897918979289793897948979589796897978979889799898008980189802898038980489805898068980789808898098981089811898128981389814898158981689817898188981989820898218982289823898248982589826898278982889829898308983189832898338983489835898368983789838898398984089841898428984389844898458984689847898488984989850898518985289853898548985589856898578985889859898608986189862898638986489865898668986789868898698987089871898728987389874898758987689877898788987989880898818988289883898848988589886898878988889889898908989189892898938989489895898968989789898898998990089901899028990389904899058990689907899088990989910899118991289913899148991589916899178991889919899208992189922899238992489925899268992789928899298993089931899328993389934899358993689937899388993989940899418994289943899448994589946899478994889949899508995189952899538995489955899568995789958899598996089961899628996389964899658996689967899688996989970899718997289973899748997589976899778997889979899808998189982899838998489985899868998789988899898999089991899928999389994899958999689997899988999990000900019000290003900049000590006900079000890009900109001190012900139001490015900169001790018900199002090021900229002390024900259002690027900289002990030900319003290033900349003590036900379003890039900409004190042900439004490045900469004790048900499005090051900529005390054900559005690057900589005990060900619006290063900649006590066900679006890069900709007190072900739007490075900769007790078900799008090081900829008390084900859008690087900889008990090900919009290093900949009590096900979009890099901009010190102901039010490105901069010790108901099011090111901129011390114901159011690117901189011990120901219012290123901249012590126901279012890129901309013190132901339013490135901369013790138901399014090141901429014390144901459014690147901489014990150901519015290153901549015590156901579015890159901609016190162901639016490165901669016790168901699017090171901729017390174901759017690177901789017990180901819018290183901849018590186901879018890189901909019190192901939019490195901969019790198901999020090201902029020390204902059020690207902089020990210902119021290213902149021590216902179021890219902209022190222902239022490225902269022790228902299023090231902329023390234902359023690237902389023990240902419024290243902449024590246902479024890249902509025190252902539025490255902569025790258902599026090261902629026390264902659026690267902689026990270902719027290273902749027590276902779027890279902809028190282902839028490285902869028790288902899029090291902929029390294902959029690297902989029990300903019030290303903049030590306903079030890309903109031190312903139031490315903169031790318903199032090321903229032390324903259032690327903289032990330903319033290333903349033590336903379033890339903409034190342903439034490345903469034790348903499035090351903529035390354903559035690357903589035990360903619036290363903649036590366903679036890369903709037190372903739037490375903769037790378903799038090381903829038390384903859038690387903889038990390903919039290393903949039590396903979039890399904009040190402904039040490405904069040790408904099041090411904129041390414904159041690417904189041990420904219042290423904249042590426904279042890429904309043190432904339043490435904369043790438904399044090441904429044390444904459044690447904489044990450904519045290453904549045590456904579045890459904609046190462904639046490465904669046790468904699047090471904729047390474904759047690477904789047990480904819048290483904849048590486904879048890489904909049190492904939049490495904969049790498904999050090501905029050390504905059050690507905089050990510905119051290513905149051590516905179051890519905209052190522905239052490525905269052790528905299053090531905329053390534905359053690537905389053990540905419054290543905449054590546905479054890549905509055190552905539055490555905569055790558905599056090561905629056390564905659056690567905689056990570905719057290573905749057590576905779057890579905809058190582905839058490585905869058790588905899059090591905929059390594905959059690597905989059990600906019060290603906049060590606906079060890609906109061190612906139061490615906169061790618906199062090621906229062390624906259062690627906289062990630906319063290633906349063590636906379063890639906409064190642906439064490645906469064790648906499065090651906529065390654906559065690657906589065990660906619066290663906649066590666906679066890669906709067190672906739067490675906769067790678906799068090681906829068390684906859068690687906889068990690906919069290693906949069590696906979069890699907009070190702907039070490705907069070790708907099071090711907129071390714907159071690717907189071990720907219072290723907249072590726907279072890729907309073190732907339073490735907369073790738907399074090741907429074390744907459074690747907489074990750907519075290753907549075590756907579075890759907609076190762907639076490765907669076790768907699077090771907729077390774907759077690777907789077990780907819078290783907849078590786907879078890789907909079190792907939079490795907969079790798907999080090801908029080390804908059080690807908089080990810908119081290813908149081590816908179081890819908209082190822908239082490825908269082790828908299083090831908329083390834908359083690837908389083990840908419084290843908449084590846908479084890849908509085190852908539085490855908569085790858908599086090861908629086390864908659086690867908689086990870908719087290873908749087590876908779087890879908809088190882908839088490885908869088790888908899089090891908929089390894908959089690897908989089990900909019090290903909049090590906909079090890909909109091190912909139091490915909169091790918909199092090921909229092390924909259092690927909289092990930909319093290933909349093590936909379093890939909409094190942909439094490945909469094790948909499095090951909529095390954909559095690957909589095990960909619096290963909649096590966909679096890969909709097190972909739097490975909769097790978909799098090981909829098390984909859098690987909889098990990909919099290993909949099590996909979099890999910009100191002910039100491005910069100791008910099101091011910129101391014910159101691017910189101991020910219102291023910249102591026910279102891029910309103191032910339103491035910369103791038910399104091041910429104391044910459104691047910489104991050910519105291053910549105591056910579105891059910609106191062910639106491065910669106791068910699107091071910729107391074910759107691077910789107991080910819108291083910849108591086910879108891089910909109191092910939109491095910969109791098910999110091101911029110391104911059110691107911089110991110911119111291113911149111591116911179111891119911209112191122911239112491125911269112791128911299113091131911329113391134911359113691137911389113991140911419114291143911449114591146911479114891149911509115191152911539115491155911569115791158911599116091161911629116391164911659116691167911689116991170911719117291173911749117591176911779117891179911809118191182911839118491185911869118791188911899119091191911929119391194911959119691197911989119991200912019120291203912049120591206912079120891209912109121191212912139121491215912169121791218912199122091221912229122391224912259122691227912289122991230912319123291233912349123591236912379123891239912409124191242912439124491245912469124791248912499125091251912529125391254912559125691257912589125991260912619126291263912649126591266912679126891269912709127191272912739127491275912769127791278912799128091281912829128391284912859128691287912889128991290912919129291293912949129591296912979129891299913009130191302913039130491305913069130791308913099131091311913129131391314913159131691317913189131991320913219132291323913249132591326913279132891329913309133191332913339133491335913369133791338913399134091341913429134391344913459134691347913489134991350913519135291353913549135591356913579135891359913609136191362913639136491365913669136791368913699137091371913729137391374913759137691377913789137991380913819138291383913849138591386913879138891389913909139191392913939139491395913969139791398913999140091401914029140391404914059140691407914089140991410914119141291413914149141591416914179141891419914209142191422914239142491425914269142791428914299143091431914329143391434914359143691437914389143991440914419144291443914449144591446914479144891449914509145191452914539145491455914569145791458914599146091461914629146391464914659146691467914689146991470914719147291473914749147591476914779147891479914809148191482914839148491485914869148791488914899149091491914929149391494914959149691497914989149991500915019150291503915049150591506915079150891509915109151191512915139151491515915169151791518915199152091521915229152391524915259152691527915289152991530915319153291533915349153591536915379153891539915409154191542915439154491545915469154791548915499155091551915529155391554915559155691557915589155991560915619156291563915649156591566915679156891569915709157191572915739157491575915769157791578915799158091581915829158391584915859158691587915889158991590915919159291593915949159591596915979159891599916009160191602916039160491605916069160791608916099161091611916129161391614916159161691617916189161991620916219162291623916249162591626916279162891629916309163191632916339163491635916369163791638916399164091641916429164391644916459164691647916489164991650916519165291653916549165591656916579165891659916609166191662916639166491665916669166791668916699167091671916729167391674916759167691677916789167991680916819168291683916849168591686916879168891689916909169191692916939169491695916969169791698916999170091701917029170391704917059170691707917089170991710917119171291713917149171591716917179171891719917209172191722917239172491725917269172791728917299173091731917329173391734917359173691737917389173991740917419174291743917449174591746917479174891749917509175191752917539175491755917569175791758917599176091761917629176391764917659176691767917689176991770917719177291773917749177591776917779177891779917809178191782917839178491785917869178791788917899179091791917929179391794917959179691797917989179991800918019180291803918049180591806918079180891809918109181191812918139181491815918169181791818918199182091821918229182391824918259182691827918289182991830918319183291833918349183591836918379183891839918409184191842918439184491845918469184791848918499185091851918529185391854918559185691857918589185991860918619186291863918649186591866918679186891869918709187191872918739187491875918769187791878918799188091881918829188391884918859188691887918889188991890918919189291893918949189591896918979189891899919009190191902919039190491905919069190791908919099191091911919129191391914919159191691917919189191991920919219192291923919249192591926919279192891929919309193191932919339193491935919369193791938919399194091941919429194391944919459194691947919489194991950919519195291953919549195591956919579195891959919609196191962919639196491965919669196791968919699197091971919729197391974919759197691977919789197991980919819198291983919849198591986919879198891989919909199191992919939199491995919969199791998919999200092001920029200392004920059200692007920089200992010920119201292013920149201592016920179201892019920209202192022920239202492025920269202792028920299203092031920329203392034920359203692037920389203992040920419204292043920449204592046920479204892049920509205192052920539205492055920569205792058920599206092061920629206392064920659206692067920689206992070920719207292073920749207592076920779207892079920809208192082920839208492085920869208792088920899209092091920929209392094920959209692097920989209992100921019210292103921049210592106921079210892109921109211192112921139211492115921169211792118921199212092121921229212392124921259212692127921289212992130921319213292133921349213592136921379213892139921409214192142921439214492145921469214792148921499215092151921529215392154921559215692157921589215992160921619216292163921649216592166921679216892169921709217192172921739217492175921769217792178921799218092181921829218392184921859218692187921889218992190921919219292193921949219592196921979219892199922009220192202922039220492205922069220792208922099221092211922129221392214922159221692217922189221992220922219222292223922249222592226922279222892229922309223192232922339223492235922369223792238922399224092241922429224392244922459224692247922489224992250922519225292253922549225592256922579225892259922609226192262922639226492265922669226792268922699227092271922729227392274922759227692277922789227992280922819228292283922849228592286922879228892289922909229192292922939229492295922969229792298922999230092301923029230392304923059230692307923089230992310923119231292313923149231592316923179231892319923209232192322923239232492325923269232792328923299233092331923329233392334923359233692337923389233992340923419234292343923449234592346923479234892349923509235192352923539235492355923569235792358923599236092361923629236392364923659236692367923689236992370923719237292373923749237592376923779237892379923809238192382923839238492385923869238792388923899239092391923929239392394923959239692397923989239992400924019240292403924049240592406924079240892409924109241192412924139241492415924169241792418924199242092421924229242392424924259242692427924289242992430924319243292433924349243592436924379243892439924409244192442924439244492445924469244792448924499245092451924529245392454924559245692457924589245992460924619246292463924649246592466924679246892469924709247192472924739247492475924769247792478924799248092481924829248392484924859248692487924889248992490924919249292493924949249592496924979249892499925009250192502925039250492505925069250792508925099251092511925129251392514925159251692517925189251992520925219252292523925249252592526925279252892529925309253192532925339253492535925369253792538925399254092541925429254392544925459254692547925489254992550925519255292553925549255592556925579255892559925609256192562925639256492565925669256792568925699257092571925729257392574925759257692577925789257992580925819258292583925849258592586925879258892589925909259192592925939259492595925969259792598925999260092601926029260392604926059260692607926089260992610926119261292613926149261592616926179261892619926209262192622926239262492625926269262792628926299263092631926329263392634926359263692637926389263992640926419264292643926449264592646926479264892649926509265192652926539265492655926569265792658926599266092661926629266392664926659266692667926689266992670926719267292673926749267592676926779267892679926809268192682926839268492685926869268792688926899269092691926929269392694926959269692697926989269992700927019270292703927049270592706927079270892709927109271192712927139271492715927169271792718927199272092721927229272392724927259272692727927289272992730927319273292733927349273592736927379273892739927409274192742927439274492745927469274792748927499275092751927529275392754927559275692757927589275992760927619276292763927649276592766927679276892769927709277192772927739277492775927769277792778927799278092781927829278392784927859278692787927889278992790927919279292793927949279592796927979279892799928009280192802928039280492805928069280792808928099281092811928129281392814928159281692817928189281992820928219282292823928249282592826928279282892829928309283192832928339283492835928369283792838928399284092841928429284392844928459284692847928489284992850928519285292853928549285592856928579285892859928609286192862928639286492865928669286792868928699287092871928729287392874928759287692877928789287992880928819288292883928849288592886928879288892889928909289192892928939289492895928969289792898928999290092901929029290392904929059290692907929089290992910929119291292913929149291592916929179291892919929209292192922929239292492925929269292792928929299293092931929329293392934929359293692937929389293992940929419294292943929449294592946929479294892949929509295192952929539295492955929569295792958929599296092961929629296392964929659296692967929689296992970929719297292973929749297592976929779297892979929809298192982929839298492985929869298792988929899299092991929929299392994929959299692997929989299993000930019300293003930049300593006930079300893009930109301193012930139301493015930169301793018930199302093021930229302393024930259302693027930289302993030930319303293033930349303593036930379303893039930409304193042930439304493045930469304793048930499305093051930529305393054930559305693057930589305993060930619306293063930649306593066930679306893069930709307193072930739307493075930769307793078930799308093081930829308393084930859308693087930889308993090930919309293093930949309593096930979309893099931009310193102931039310493105931069310793108931099311093111931129311393114931159311693117931189311993120931219312293123931249312593126931279312893129931309313193132931339313493135931369313793138931399314093141931429314393144931459314693147931489314993150931519315293153931549315593156931579315893159931609316193162931639316493165931669316793168931699317093171931729317393174931759317693177931789317993180931819318293183931849318593186931879318893189931909319193192931939319493195931969319793198931999320093201932029320393204932059320693207932089320993210932119321293213932149321593216932179321893219932209322193222932239322493225932269322793228932299323093231932329323393234932359323693237932389323993240932419324293243932449324593246932479324893249932509325193252932539325493255932569325793258932599326093261932629326393264932659326693267932689326993270932719327293273932749327593276932779327893279932809328193282932839328493285932869328793288932899329093291932929329393294932959329693297932989329993300933019330293303933049330593306933079330893309933109331193312933139331493315933169331793318933199332093321933229332393324933259332693327933289332993330933319333293333933349333593336933379333893339933409334193342933439334493345933469334793348933499335093351933529335393354933559335693357933589335993360933619336293363933649336593366933679336893369933709337193372933739337493375933769337793378933799338093381933829338393384933859338693387933889338993390933919339293393933949339593396933979339893399934009340193402934039340493405934069340793408934099341093411934129341393414934159341693417934189341993420934219342293423934249342593426934279342893429934309343193432934339343493435934369343793438934399344093441934429344393444934459344693447934489344993450934519345293453934549345593456934579345893459934609346193462934639346493465934669346793468934699347093471934729347393474934759347693477934789347993480934819348293483934849348593486934879348893489934909349193492934939349493495934969349793498934999350093501935029350393504935059350693507935089350993510935119351293513935149351593516935179351893519935209352193522935239352493525935269352793528935299353093531935329353393534935359353693537935389353993540935419354293543935449354593546935479354893549935509355193552935539355493555935569355793558935599356093561935629356393564935659356693567935689356993570935719357293573935749357593576935779357893579935809358193582935839358493585935869358793588935899359093591935929359393594935959359693597935989359993600936019360293603936049360593606936079360893609936109361193612936139361493615936169361793618936199362093621936229362393624936259362693627936289362993630936319363293633936349363593636936379363893639936409364193642936439364493645936469364793648936499365093651936529365393654936559365693657936589365993660936619366293663936649366593666936679366893669936709367193672936739367493675936769367793678936799368093681936829368393684936859368693687936889368993690936919369293693936949369593696936979369893699937009370193702937039370493705937069370793708937099371093711937129371393714937159371693717937189371993720937219372293723937249372593726937279372893729937309373193732937339373493735937369373793738937399374093741937429374393744937459374693747937489374993750937519375293753937549375593756937579375893759937609376193762937639376493765937669376793768937699377093771937729377393774937759377693777937789377993780937819378293783937849378593786937879378893789937909379193792937939379493795937969379793798937999380093801938029380393804938059380693807938089380993810938119381293813938149381593816938179381893819938209382193822938239382493825938269382793828938299383093831938329383393834938359383693837938389383993840938419384293843938449384593846938479384893849938509385193852938539385493855938569385793858938599386093861938629386393864938659386693867938689386993870938719387293873938749387593876938779387893879938809388193882938839388493885938869388793888938899389093891938929389393894938959389693897938989389993900939019390293903939049390593906939079390893909939109391193912939139391493915939169391793918939199392093921939229392393924939259392693927939289392993930939319393293933939349393593936939379393893939939409394193942939439394493945939469394793948939499395093951939529395393954939559395693957939589395993960939619396293963939649396593966939679396893969939709397193972939739397493975939769397793978939799398093981939829398393984939859398693987939889398993990939919399293993939949399593996939979399893999940009400194002940039400494005940069400794008940099401094011940129401394014940159401694017940189401994020940219402294023940249402594026940279402894029940309403194032940339403494035940369403794038940399404094041940429404394044940459404694047940489404994050940519405294053940549405594056940579405894059940609406194062940639406494065940669406794068940699407094071940729407394074940759407694077940789407994080940819408294083940849408594086940879408894089940909409194092940939409494095940969409794098940999410094101941029410394104941059410694107941089410994110941119411294113941149411594116941179411894119941209412194122941239412494125941269412794128941299413094131941329413394134941359413694137941389413994140941419414294143941449414594146941479414894149941509415194152941539415494155941569415794158941599416094161941629416394164941659416694167941689416994170941719417294173941749417594176941779417894179941809418194182941839418494185941869418794188941899419094191941929419394194941959419694197941989419994200942019420294203942049420594206942079420894209942109421194212942139421494215942169421794218942199422094221942229422394224942259422694227942289422994230942319423294233942349423594236942379423894239942409424194242942439424494245942469424794248942499425094251942529425394254942559425694257942589425994260942619426294263942649426594266942679426894269942709427194272942739427494275942769427794278942799428094281942829428394284942859428694287942889428994290942919429294293942949429594296942979429894299943009430194302943039430494305943069430794308943099431094311943129431394314943159431694317943189431994320943219432294323943249432594326943279432894329943309433194332943339433494335943369433794338943399434094341943429434394344943459434694347943489434994350943519435294353943549435594356943579435894359943609436194362943639436494365943669436794368943699437094371943729437394374943759437694377943789437994380943819438294383943849438594386943879438894389943909439194392943939439494395943969439794398943999440094401944029440394404944059440694407944089440994410944119441294413944149441594416944179441894419944209442194422944239442494425944269442794428944299443094431944329443394434944359443694437944389443994440944419444294443944449444594446944479444894449944509445194452944539445494455944569445794458944599446094461944629446394464944659446694467944689446994470944719447294473944749447594476944779447894479944809448194482944839448494485944869448794488944899449094491944929449394494944959449694497944989449994500945019450294503945049450594506945079450894509945109451194512945139451494515945169451794518945199452094521945229452394524945259452694527945289452994530945319453294533945349453594536945379453894539945409454194542945439454494545945469454794548945499455094551945529455394554945559455694557945589455994560945619456294563945649456594566945679456894569945709457194572945739457494575945769457794578945799458094581945829458394584945859458694587945889458994590945919459294593945949459594596945979459894599946009460194602946039460494605946069460794608946099461094611946129461394614946159461694617946189461994620946219462294623946249462594626946279462894629946309463194632946339463494635946369463794638946399464094641946429464394644946459464694647946489464994650946519465294653946549465594656946579465894659946609466194662946639466494665946669466794668946699467094671946729467394674946759467694677946789467994680946819468294683946849468594686946879468894689946909469194692946939469494695946969469794698946999470094701947029470394704947059470694707947089470994710947119471294713947149471594716947179471894719947209472194722947239472494725947269472794728947299473094731947329473394734947359473694737947389473994740947419474294743947449474594746947479474894749947509475194752947539475494755947569475794758947599476094761947629476394764947659476694767947689476994770947719477294773947749477594776947779477894779947809478194782947839478494785947869478794788947899479094791947929479394794947959479694797947989479994800948019480294803948049480594806948079480894809948109481194812948139481494815948169481794818948199482094821948229482394824948259482694827948289482994830948319483294833948349483594836948379483894839948409484194842948439484494845948469484794848948499485094851948529485394854948559485694857948589485994860948619486294863948649486594866948679486894869948709487194872948739487494875948769487794878948799488094881948829488394884948859488694887948889488994890948919489294893948949489594896948979489894899949009490194902949039490494905949069490794908949099491094911949129491394914949159491694917949189491994920949219492294923949249492594926949279492894929949309493194932949339493494935949369493794938949399494094941949429494394944949459494694947949489494994950949519495294953949549495594956949579495894959949609496194962949639496494965949669496794968949699497094971949729497394974949759497694977949789497994980949819498294983949849498594986949879498894989949909499194992949939499494995949969499794998949999500095001950029500395004950059500695007950089500995010950119501295013950149501595016950179501895019950209502195022950239502495025950269502795028950299503095031950329503395034950359503695037950389503995040950419504295043950449504595046950479504895049950509505195052950539505495055950569505795058950599506095061950629506395064950659506695067950689506995070950719507295073950749507595076950779507895079950809508195082950839508495085950869508795088950899509095091950929509395094950959509695097950989509995100951019510295103951049510595106951079510895109951109511195112951139511495115951169511795118951199512095121951229512395124951259512695127951289512995130951319513295133951349513595136951379513895139951409514195142951439514495145951469514795148951499515095151951529515395154951559515695157951589515995160951619516295163951649516595166951679516895169951709517195172951739517495175951769517795178951799518095181951829518395184951859518695187951889518995190951919519295193951949519595196951979519895199952009520195202952039520495205952069520795208952099521095211952129521395214952159521695217952189521995220952219522295223952249522595226952279522895229952309523195232952339523495235952369523795238952399524095241952429524395244952459524695247952489524995250952519525295253952549525595256952579525895259952609526195262952639526495265952669526795268952699527095271952729527395274952759527695277952789527995280952819528295283952849528595286952879528895289952909529195292952939529495295952969529795298952999530095301953029530395304953059530695307953089530995310953119531295313953149531595316953179531895319953209532195322953239532495325953269532795328953299533095331953329533395334953359533695337953389533995340953419534295343953449534595346953479534895349953509535195352953539535495355953569535795358953599536095361953629536395364953659536695367953689536995370953719537295373953749537595376953779537895379953809538195382953839538495385953869538795388953899539095391953929539395394953959539695397953989539995400954019540295403954049540595406954079540895409954109541195412954139541495415954169541795418954199542095421954229542395424954259542695427954289542995430954319543295433954349543595436954379543895439954409544195442954439544495445954469544795448954499545095451954529545395454954559545695457954589545995460954619546295463954649546595466954679546895469954709547195472954739547495475954769547795478954799548095481954829548395484954859548695487954889548995490954919549295493954949549595496954979549895499955009550195502955039550495505955069550795508955099551095511955129551395514955159551695517955189551995520955219552295523955249552595526955279552895529955309553195532955339553495535955369553795538955399554095541955429554395544955459554695547955489554995550955519555295553955549555595556955579555895559955609556195562955639556495565955669556795568955699557095571955729557395574955759557695577955789557995580955819558295583955849558595586955879558895589955909559195592955939559495595955969559795598955999560095601956029560395604956059560695607956089560995610956119561295613956149561595616956179561895619956209562195622956239562495625956269562795628956299563095631956329563395634956359563695637956389563995640956419564295643956449564595646956479564895649956509565195652956539565495655956569565795658956599566095661956629566395664956659566695667956689566995670956719567295673956749567595676956779567895679956809568195682956839568495685956869568795688956899569095691956929569395694956959569695697956989569995700957019570295703957049570595706957079570895709957109571195712957139571495715957169571795718957199572095721957229572395724957259572695727957289572995730957319573295733957349573595736957379573895739957409574195742957439574495745957469574795748957499575095751957529575395754957559575695757957589575995760957619576295763957649576595766957679576895769957709577195772957739577495775957769577795778957799578095781957829578395784957859578695787957889578995790957919579295793957949579595796957979579895799958009580195802958039580495805958069580795808958099581095811958129581395814958159581695817958189581995820958219582295823958249582595826958279582895829958309583195832958339583495835958369583795838958399584095841958429584395844958459584695847958489584995850958519585295853958549585595856958579585895859958609586195862958639586495865958669586795868958699587095871958729587395874958759587695877958789587995880958819588295883958849588595886958879588895889958909589195892958939589495895958969589795898958999590095901959029590395904959059590695907959089590995910959119591295913959149591595916959179591895919959209592195922959239592495925959269592795928959299593095931959329593395934959359593695937959389593995940959419594295943959449594595946959479594895949959509595195952959539595495955959569595795958959599596095961959629596395964959659596695967959689596995970959719597295973959749597595976959779597895979959809598195982959839598495985959869598795988959899599095991959929599395994959959599695997959989599996000960019600296003960049600596006960079600896009960109601196012960139601496015960169601796018960199602096021960229602396024960259602696027960289602996030960319603296033960349603596036960379603896039960409604196042960439604496045960469604796048960499605096051960529605396054960559605696057960589605996060960619606296063960649606596066960679606896069960709607196072960739607496075960769607796078960799608096081960829608396084960859608696087960889608996090960919609296093960949609596096960979609896099961009610196102961039610496105961069610796108961099611096111961129611396114961159611696117961189611996120961219612296123961249612596126961279612896129961309613196132961339613496135961369613796138961399614096141961429614396144961459614696147961489614996150961519615296153961549615596156961579615896159961609616196162961639616496165961669616796168961699617096171961729617396174961759617696177961789617996180961819618296183961849618596186961879618896189961909619196192961939619496195961969619796198961999620096201962029620396204962059620696207962089620996210962119621296213962149621596216962179621896219962209622196222962239622496225962269622796228962299623096231962329623396234962359623696237962389623996240962419624296243962449624596246962479624896249962509625196252962539625496255962569625796258962599626096261962629626396264962659626696267962689626996270962719627296273962749627596276962779627896279962809628196282962839628496285962869628796288962899629096291962929629396294962959629696297962989629996300963019630296303963049630596306963079630896309963109631196312963139631496315963169631796318963199632096321963229632396324963259632696327963289632996330963319633296333963349633596336963379633896339963409634196342963439634496345963469634796348963499635096351963529635396354963559635696357963589635996360963619636296363963649636596366963679636896369963709637196372963739637496375963769637796378963799638096381963829638396384963859638696387963889638996390963919639296393963949639596396963979639896399964009640196402964039640496405964069640796408964099641096411964129641396414964159641696417964189641996420964219642296423964249642596426964279642896429964309643196432964339643496435964369643796438964399644096441964429644396444964459644696447964489644996450964519645296453964549645596456964579645896459964609646196462964639646496465964669646796468964699647096471964729647396474964759647696477964789647996480964819648296483964849648596486964879648896489964909649196492964939649496495964969649796498964999650096501965029650396504965059650696507965089650996510965119651296513965149651596516965179651896519965209652196522965239652496525965269652796528965299653096531965329653396534965359653696537965389653996540965419654296543965449654596546965479654896549965509655196552965539655496555965569655796558965599656096561965629656396564965659656696567965689656996570965719657296573965749657596576965779657896579965809658196582965839658496585965869658796588965899659096591965929659396594965959659696597965989659996600966019660296603966049660596606966079660896609966109661196612966139661496615966169661796618966199662096621966229662396624966259662696627966289662996630966319663296633966349663596636966379663896639966409664196642966439664496645966469664796648966499665096651966529665396654966559665696657966589665996660966619666296663966649666596666966679666896669966709667196672966739667496675966769667796678966799668096681966829668396684966859668696687966889668996690966919669296693966949669596696966979669896699967009670196702967039670496705967069670796708967099671096711967129671396714967159671696717967189671996720967219672296723967249672596726967279672896729967309673196732967339673496735967369673796738967399674096741967429674396744967459674696747967489674996750967519675296753967549675596756967579675896759967609676196762967639676496765967669676796768967699677096771967729677396774967759677696777967789677996780967819678296783967849678596786967879678896789967909679196792967939679496795967969679796798967999680096801968029680396804968059680696807968089680996810968119681296813968149681596816968179681896819968209682196822968239682496825968269682796828968299683096831968329683396834968359683696837968389683996840968419684296843968449684596846968479684896849968509685196852968539685496855968569685796858968599686096861968629686396864968659686696867968689686996870968719687296873968749687596876968779687896879968809688196882968839688496885968869688796888968899689096891968929689396894968959689696897968989689996900969019690296903969049690596906969079690896909969109691196912969139691496915969169691796918969199692096921969229692396924969259692696927969289692996930969319693296933969349693596936969379693896939969409694196942969439694496945969469694796948969499695096951969529695396954969559695696957969589695996960969619696296963969649696596966969679696896969969709697196972969739697496975969769697796978969799698096981969829698396984969859698696987969889698996990969919699296993969949699596996969979699896999970009700197002970039700497005970069700797008970099701097011970129701397014970159701697017970189701997020970219702297023970249702597026970279702897029970309703197032970339703497035970369703797038970399704097041970429704397044970459704697047970489704997050970519705297053970549705597056970579705897059970609706197062970639706497065970669706797068970699707097071970729707397074970759707697077970789707997080970819708297083970849708597086970879708897089970909709197092970939709497095970969709797098970999710097101971029710397104971059710697107971089710997110971119711297113971149711597116971179711897119971209712197122971239712497125971269712797128971299713097131971329713397134971359713697137971389713997140971419714297143971449714597146971479714897149971509715197152971539715497155971569715797158971599716097161971629716397164971659716697167971689716997170971719717297173971749717597176971779717897179971809718197182971839718497185971869718797188971899719097191971929719397194971959719697197971989719997200972019720297203972049720597206972079720897209972109721197212972139721497215972169721797218972199722097221972229722397224972259722697227972289722997230972319723297233972349723597236972379723897239972409724197242972439724497245972469724797248972499725097251972529725397254972559725697257972589725997260972619726297263972649726597266972679726897269972709727197272972739727497275972769727797278972799728097281972829728397284972859728697287972889728997290972919729297293972949729597296972979729897299973009730197302973039730497305973069730797308973099731097311973129731397314973159731697317973189731997320973219732297323973249732597326973279732897329973309733197332973339733497335973369733797338973399734097341973429734397344973459734697347973489734997350973519735297353973549735597356973579735897359973609736197362973639736497365973669736797368973699737097371973729737397374973759737697377973789737997380973819738297383973849738597386973879738897389973909739197392973939739497395973969739797398973999740097401974029740397404974059740697407974089740997410974119741297413974149741597416974179741897419974209742197422974239742497425974269742797428974299743097431974329743397434974359743697437974389743997440974419744297443974449744597446974479744897449974509745197452974539745497455974569745797458974599746097461974629746397464974659746697467974689746997470974719747297473974749747597476974779747897479974809748197482974839748497485974869748797488974899749097491974929749397494974959749697497974989749997500975019750297503975049750597506975079750897509975109751197512975139751497515975169751797518975199752097521975229752397524975259752697527975289752997530975319753297533975349753597536975379753897539975409754197542975439754497545975469754797548975499755097551975529755397554975559755697557975589755997560975619756297563975649756597566975679756897569975709757197572975739757497575975769757797578975799758097581975829758397584975859758697587975889758997590975919759297593975949759597596975979759897599976009760197602976039760497605976069760797608976099761097611976129761397614976159761697617976189761997620976219762297623976249762597626976279762897629976309763197632976339763497635976369763797638976399764097641976429764397644976459764697647976489764997650976519765297653976549765597656976579765897659976609766197662976639766497665976669766797668976699767097671976729767397674976759767697677976789767997680976819768297683976849768597686976879768897689976909769197692976939769497695976969769797698976999770097701977029770397704977059770697707977089770997710977119771297713977149771597716977179771897719977209772197722977239772497725977269772797728977299773097731977329773397734977359773697737977389773997740977419774297743977449774597746977479774897749977509775197752977539775497755977569775797758977599776097761977629776397764977659776697767977689776997770977719777297773977749777597776977779777897779977809778197782977839778497785977869778797788977899779097791977929779397794977959779697797977989779997800978019780297803978049780597806978079780897809978109781197812978139781497815978169781797818978199782097821978229782397824978259782697827978289782997830978319783297833978349783597836978379783897839978409784197842978439784497845978469784797848978499785097851978529785397854978559785697857978589785997860978619786297863978649786597866978679786897869978709787197872978739787497875978769787797878978799788097881978829788397884978859788697887978889788997890978919789297893978949789597896978979789897899979009790197902979039790497905979069790797908979099791097911979129791397914979159791697917979189791997920979219792297923979249792597926979279792897929979309793197932979339793497935979369793797938979399794097941979429794397944979459794697947979489794997950979519795297953979549795597956979579795897959979609796197962979639796497965979669796797968979699797097971979729797397974979759797697977979789797997980979819798297983979849798597986979879798897989979909799197992979939799497995979969799797998979999800098001980029800398004980059800698007980089800998010980119801298013980149801598016980179801898019980209802198022980239802498025980269802798028980299803098031980329803398034980359803698037980389803998040980419804298043980449804598046980479804898049980509805198052980539805498055980569805798058980599806098061980629806398064980659806698067980689806998070980719807298073980749807598076980779807898079980809808198082980839808498085980869808798088980899809098091980929809398094980959809698097980989809998100981019810298103981049810598106981079810898109981109811198112981139811498115981169811798118981199812098121981229812398124981259812698127981289812998130981319813298133981349813598136981379813898139981409814198142981439814498145981469814798148981499815098151981529815398154981559815698157981589815998160981619816298163981649816598166981679816898169981709817198172981739817498175981769817798178981799818098181981829818398184981859818698187981889818998190981919819298193981949819598196981979819898199982009820198202982039820498205982069820798208982099821098211982129821398214982159821698217982189821998220982219822298223982249822598226982279822898229982309823198232982339823498235982369823798238982399824098241982429824398244982459824698247982489824998250982519825298253982549825598256982579825898259982609826198262982639826498265982669826798268982699827098271982729827398274982759827698277982789827998280982819828298283982849828598286982879828898289982909829198292982939829498295982969829798298982999830098301983029830398304983059830698307983089830998310983119831298313983149831598316983179831898319983209832198322983239832498325983269832798328983299833098331983329833398334983359833698337983389833998340983419834298343983449834598346983479834898349983509835198352983539835498355983569835798358983599836098361983629836398364983659836698367983689836998370983719837298373983749837598376983779837898379983809838198382983839838498385983869838798388983899839098391983929839398394983959839698397983989839998400984019840298403984049840598406984079840898409984109841198412984139841498415984169841798418984199842098421984229842398424984259842698427984289842998430984319843298433984349843598436984379843898439984409844198442984439844498445984469844798448984499845098451984529845398454984559845698457984589845998460984619846298463984649846598466984679846898469984709847198472984739847498475984769847798478984799848098481984829848398484984859848698487984889848998490984919849298493984949849598496984979849898499985009850198502985039850498505985069850798508985099851098511985129851398514985159851698517985189851998520985219852298523985249852598526985279852898529985309853198532985339853498535985369853798538985399854098541985429854398544985459854698547985489854998550985519855298553985549855598556985579855898559985609856198562985639856498565985669856798568985699857098571985729857398574985759857698577985789857998580985819858298583985849858598586985879858898589985909859198592985939859498595985969859798598985999860098601986029860398604986059860698607986089860998610986119861298613986149861598616986179861898619986209862198622986239862498625986269862798628986299863098631986329863398634986359863698637986389863998640986419864298643986449864598646986479864898649986509865198652986539865498655986569865798658986599866098661986629866398664986659866698667986689866998670986719867298673986749867598676986779867898679986809868198682986839868498685986869868798688986899869098691986929869398694986959869698697986989869998700987019870298703987049870598706987079870898709987109871198712987139871498715987169871798718987199872098721987229872398724987259872698727987289872998730987319873298733987349873598736987379873898739987409874198742987439874498745987469874798748987499875098751987529875398754987559875698757987589875998760987619876298763987649876598766987679876898769987709877198772987739877498775987769877798778987799878098781987829878398784987859878698787987889878998790987919879298793987949879598796987979879898799988009880198802988039880498805988069880798808988099881098811988129881398814988159881698817988189881998820988219882298823988249882598826988279882898829988309883198832988339883498835988369883798838988399884098841988429884398844988459884698847988489884998850988519885298853988549885598856988579885898859988609886198862988639886498865988669886798868988699887098871988729887398874988759887698877988789887998880988819888298883988849888598886988879888898889988909889198892988939889498895988969889798898988999890098901989029890398904989059890698907989089890998910989119891298913989149891598916989179891898919989209892198922989239892498925989269892798928989299893098931989329893398934989359893698937989389893998940989419894298943989449894598946989479894898949989509895198952989539895498955989569895798958989599896098961989629896398964989659896698967989689896998970989719897298973989749897598976989779897898979989809898198982989839898498985989869898798988989899899098991989929899398994989959899698997989989899999000990019900299003990049900599006990079900899009990109901199012990139901499015990169901799018990199902099021990229902399024990259902699027990289902999030990319903299033990349903599036990379903899039990409904199042990439904499045990469904799048990499905099051990529905399054990559905699057990589905999060990619906299063990649906599066990679906899069990709907199072990739907499075990769907799078990799908099081990829908399084990859908699087990889908999090990919909299093990949909599096990979909899099991009910199102991039910499105991069910799108991099911099111991129911399114991159911699117991189911999120991219912299123991249912599126991279912899129991309913199132991339913499135991369913799138991399914099141991429914399144991459914699147991489914999150991519915299153991549915599156991579915899159991609916199162991639916499165991669916799168991699917099171991729917399174991759917699177991789917999180991819918299183991849918599186991879918899189991909919199192991939919499195991969919799198991999920099201992029920399204992059920699207992089920999210992119921299213992149921599216992179921899219992209922199222992239922499225992269922799228992299923099231992329923399234992359923699237992389923999240992419924299243992449924599246992479924899249992509925199252992539925499255992569925799258992599926099261992629926399264992659926699267992689926999270992719927299273992749927599276992779927899279992809928199282992839928499285992869928799288992899929099291992929929399294992959929699297992989929999300993019930299303993049930599306993079930899309993109931199312993139931499315993169931799318993199932099321993229932399324993259932699327993289932999330993319933299333993349933599336993379933899339993409934199342993439934499345993469934799348993499935099351993529935399354993559935699357993589935999360993619936299363993649936599366993679936899369993709937199372993739937499375993769937799378993799938099381993829938399384993859938699387993889938999390993919939299393993949939599396993979939899399994009940199402994039940499405994069940799408994099941099411994129941399414994159941699417994189941999420994219942299423994249942599426994279942899429994309943199432994339943499435994369943799438994399944099441994429944399444994459944699447994489944999450994519945299453994549945599456994579945899459994609946199462994639946499465994669946799468994699947099471994729947399474994759947699477994789947999480994819948299483994849948599486994879948899489994909949199492994939949499495994969949799498994999950099501995029950399504995059950699507995089950999510995119951299513995149951599516995179951899519995209952199522995239952499525995269952799528995299953099531995329953399534995359953699537995389953999540995419954299543995449954599546995479954899549995509955199552995539955499555995569955799558995599956099561995629956399564995659956699567995689956999570995719957299573995749957599576995779957899579995809958199582995839958499585995869958799588995899959099591995929959399594995959959699597995989959999600996019960299603996049960599606996079960899609996109961199612996139961499615996169961799618996199962099621996229962399624996259962699627996289962999630996319963299633996349963599636996379963899639996409964199642996439964499645996469964799648996499965099651996529965399654996559965699657996589965999660996619966299663996649966599666996679966899669996709967199672996739967499675996769967799678996799968099681996829968399684996859968699687996889968999690996919969299693996949969599696996979969899699997009970199702997039970499705997069970799708997099971099711997129971399714997159971699717997189971999720997219972299723997249972599726997279972899729997309973199732997339973499735997369973799738997399974099741997429974399744997459974699747997489974999750997519975299753997549975599756997579975899759997609976199762997639976499765997669976799768997699977099771997729977399774997759977699777997789977999780997819978299783997849978599786997879978899789997909979199792997939979499795997969979799798997999980099801998029980399804998059980699807998089980999810998119981299813998149981599816998179981899819998209982199822998239982499825998269982799828998299983099831998329983399834998359983699837998389983999840998419984299843998449984599846998479984899849998509985199852998539985499855998569985799858998599986099861998629986399864998659986699867998689986999870998719987299873998749987599876998779987899879998809988199882998839988499885998869988799888998899989099891998929989399894998959989699897998989989999900999019990299903999049990599906999079990899909999109991199912999139991499915999169991799918999199992099921999229992399924999259992699927999289992999930999319993299933999349993599936999379993899939999409994199942999439994499945999469994799948999499995099951999529995399954999559995699957999589995999960999619996299963999649996599966999679996899969999709997199972999739997499975999769997799978999799998099981999829998399984999859998699987999889998999990999919999299993999949999599996999979999899999100000100001100002100003100004100005100006100007100008100009100010100011100012100013100014100015100016100017100018100019100020100021100022100023100024100025100026100027100028100029100030100031100032100033100034100035100036100037100038100039100040100041100042100043100044100045100046100047100048100049100050100051100052100053100054100055100056100057100058100059100060100061100062100063100064100065100066100067100068100069100070100071100072100073100074100075100076100077100078100079100080100081100082100083100084100085100086100087100088100089100090100091100092100093100094100095100096100097100098100099100100100101100102100103100104100105100106100107100108100109100110100111100112100113100114100115100116100117100118100119100120100121100122100123100124100125100126100127100128100129100130100131100132100133100134100135100136100137100138100139100140100141100142100143100144100145100146100147100148100149100150100151100152100153100154100155100156100157100158100159100160100161100162100163100164100165100166100167100168100169100170100171100172100173100174100175100176100177100178100179100180100181100182100183100184100185100186100187100188100189100190100191100192100193100194100195100196100197100198100199100200100201100202100203100204100205100206100207100208100209100210100211100212100213100214100215100216100217100218100219100220100221100222100223100224100225100226100227100228100229100230100231100232100233100234100235100236100237100238100239100240100241100242100243100244100245100246100247100248100249100250100251100252100253100254100255100256100257100258100259100260100261100262100263100264100265100266100267100268100269100270100271100272100273100274100275100276100277100278100279100280100281100282100283100284100285100286100287100288100289100290100291100292100293100294100295100296100297100298100299100300100301100302100303100304100305100306100307100308100309100310100311100312100313100314100315100316100317100318100319100320100321100322100323100324100325100326100327100328100329100330100331100332100333100334100335100336100337100338100339100340100341100342100343100344100345100346100347100348100349100350100351100352100353100354100355100356100357100358100359100360100361100362100363100364100365100366100367100368100369100370100371100372100373100374100375100376100377100378100379100380100381100382100383100384100385100386100387100388100389100390100391100392100393100394100395100396100397100398100399100400100401100402100403100404100405100406100407100408100409100410100411100412100413100414100415100416100417100418100419100420100421100422100423100424100425100426100427100428100429100430100431100432100433100434100435100436100437100438100439100440100441100442100443100444100445100446100447100448100449100450100451100452100453100454100455100456100457100458100459100460100461100462100463100464100465100466100467100468100469100470100471100472100473100474100475100476100477100478100479100480100481100482100483100484100485100486100487100488100489100490100491100492100493100494100495100496100497100498100499100500100501100502100503100504100505100506100507100508100509100510100511100512100513100514100515100516100517100518100519100520100521100522100523100524100525100526100527100528100529100530100531100532100533100534100535100536100537100538100539100540100541100542100543100544100545100546100547100548100549100550100551100552100553100554100555100556100557100558100559100560100561100562100563100564100565100566100567100568100569100570100571100572100573100574100575100576100577100578100579100580100581100582100583100584100585100586100587100588100589100590100591100592100593100594100595100596100597100598100599100600100601100602100603100604100605100606100607100608100609100610100611100612100613100614100615100616100617100618100619100620100621100622100623100624100625100626100627100628100629100630100631100632100633100634100635100636100637100638100639100640100641100642100643100644100645100646100647100648100649100650100651100652100653100654100655100656100657100658100659100660100661100662100663100664100665100666100667100668100669100670100671100672100673100674100675100676100677100678100679100680100681100682100683100684100685100686100687100688100689100690100691100692100693100694100695100696100697100698100699100700100701100702100703100704100705100706100707100708100709100710100711100712100713100714100715100716100717100718100719100720100721100722100723100724100725100726100727100728100729100730100731100732100733100734100735100736100737100738100739100740100741100742100743100744100745100746100747100748100749100750100751100752100753100754100755100756100757100758100759100760100761100762100763100764100765100766100767100768100769100770100771100772100773100774100775100776100777100778100779100780100781100782100783100784100785100786100787100788100789100790100791100792100793100794100795100796100797100798100799100800100801100802100803100804100805100806100807100808100809100810100811100812100813100814100815100816100817100818100819100820100821100822100823100824100825100826100827100828100829100830100831100832100833100834100835100836100837100838100839100840100841100842100843100844100845100846100847100848100849100850100851100852100853100854100855100856100857100858100859100860100861100862100863100864100865100866100867100868100869100870100871100872100873100874100875100876100877100878100879100880100881100882100883100884100885100886100887100888100889100890100891100892100893100894100895100896100897100898100899100900100901100902100903100904100905100906100907100908100909100910100911100912100913100914100915100916100917100918100919100920100921100922100923100924100925100926100927100928100929100930100931100932100933100934100935100936100937100938100939100940100941100942100943100944100945100946100947100948100949100950100951100952100953100954100955100956100957100958100959100960100961100962100963100964100965100966100967100968100969100970100971100972100973100974100975100976100977100978100979100980100981100982100983100984100985100986100987100988100989100990100991100992100993100994100995100996100997100998100999101000101001101002101003101004101005101006101007101008101009101010101011101012101013101014101015101016101017101018101019101020101021101022101023101024101025101026101027101028101029101030101031101032101033101034101035101036101037101038101039101040101041101042101043101044101045101046101047101048101049101050101051101052101053101054101055101056101057101058101059101060101061101062101063101064101065101066101067101068101069101070101071101072101073101074101075101076101077101078101079101080101081101082101083101084101085101086101087101088101089101090101091101092101093101094101095101096101097101098101099101100101101101102101103101104101105101106101107101108101109101110101111101112101113101114101115101116101117101118101119101120101121101122101123101124101125101126101127101128101129101130101131101132101133101134101135101136101137101138101139101140101141101142101143101144101145101146101147101148101149101150101151101152101153101154101155101156101157101158101159101160101161101162101163101164101165101166101167101168101169101170101171101172101173101174101175101176101177101178101179101180101181101182101183101184101185101186101187101188101189101190101191101192101193101194101195101196101197101198101199101200101201101202101203101204101205101206101207101208101209101210101211101212101213101214101215101216101217101218101219101220101221101222101223101224101225101226101227101228101229101230101231101232101233101234101235101236101237101238101239101240101241101242101243101244101245101246101247101248101249101250101251101252101253101254101255101256101257101258101259101260101261101262101263101264101265101266101267101268101269101270101271101272101273101274101275101276101277101278101279101280101281101282101283101284101285101286101287101288101289101290101291101292101293101294101295101296101297101298101299101300101301101302101303101304101305101306101307101308101309101310101311101312101313101314101315101316101317101318101319101320101321101322101323101324101325101326101327101328101329101330101331101332101333101334101335101336101337101338101339101340101341101342101343101344101345101346101347101348101349101350101351101352101353101354101355101356101357101358101359101360101361101362101363101364101365101366101367101368101369101370101371101372101373101374101375101376101377101378101379101380101381101382101383101384101385101386101387101388101389101390101391101392101393101394101395101396101397101398101399101400101401101402101403101404101405101406101407101408101409101410101411101412101413101414101415101416101417101418101419101420101421101422101423101424101425101426101427101428101429101430101431101432101433101434101435101436101437101438101439101440101441101442101443101444101445101446101447101448101449101450101451101452101453101454101455101456101457101458101459101460101461101462101463101464101465101466101467101468101469101470101471101472101473101474101475101476101477101478101479101480101481101482101483101484101485101486101487101488101489101490101491101492101493101494101495101496101497101498101499101500101501101502101503101504101505101506101507101508101509101510101511101512101513101514101515101516101517101518101519101520101521101522101523101524101525101526101527101528101529101530101531101532101533101534101535101536101537101538101539101540101541101542101543101544101545101546101547101548101549101550101551101552101553101554101555101556101557101558101559101560101561101562101563101564101565101566101567101568101569101570101571101572101573101574101575101576101577101578101579101580101581101582101583101584101585101586101587101588101589101590101591101592101593101594101595101596101597101598101599101600101601101602101603101604101605101606101607101608101609101610101611101612101613101614101615101616101617101618101619101620101621101622101623101624101625101626101627101628101629101630101631101632101633101634101635101636101637101638101639101640101641101642101643101644101645101646101647101648101649101650101651101652101653101654101655101656101657101658101659101660101661101662101663101664101665101666101667101668101669101670101671101672101673101674101675101676101677101678101679101680101681101682101683101684101685101686101687101688101689101690101691101692101693101694101695101696101697101698101699101700101701101702101703101704101705101706101707101708101709101710101711101712101713101714101715101716101717101718101719101720101721101722101723101724101725101726101727101728101729101730101731101732101733101734101735101736101737101738101739101740101741101742101743101744101745101746101747101748101749101750101751101752101753101754101755101756101757101758101759101760101761101762101763101764101765101766101767101768101769101770101771101772101773101774101775101776101777101778101779101780101781101782101783101784101785101786101787101788101789101790101791101792101793101794101795101796101797101798101799101800101801101802101803101804101805101806101807101808101809101810101811101812101813101814101815101816101817101818101819101820101821101822101823101824101825101826101827101828101829101830101831101832101833101834101835101836101837101838101839101840101841101842101843101844101845101846101847101848101849101850101851101852101853101854101855101856101857101858101859101860101861101862101863101864101865101866101867101868101869101870101871101872101873101874101875101876101877101878101879101880101881101882101883101884101885101886101887101888101889101890101891101892101893101894101895101896101897101898101899101900101901101902101903101904101905101906101907101908101909101910101911101912101913101914101915101916101917101918101919101920101921101922101923101924101925101926101927101928101929101930101931101932101933101934101935101936101937101938101939101940101941101942101943101944101945101946101947101948101949101950101951101952101953101954101955101956101957101958101959101960101961101962101963101964101965101966101967101968101969101970101971101972101973101974101975101976101977101978101979101980101981101982101983101984101985101986101987101988101989101990101991101992101993101994101995101996101997101998101999102000102001102002102003102004102005102006102007102008102009102010102011102012102013102014102015102016102017102018102019102020102021102022102023102024102025102026102027102028102029102030102031102032102033102034102035102036102037102038102039102040102041102042102043102044102045102046102047102048102049102050102051102052102053102054102055102056102057102058102059102060102061102062102063102064102065102066102067102068102069102070102071102072102073102074102075102076102077102078102079102080102081102082102083102084102085102086102087102088102089102090102091102092102093102094102095102096102097102098102099102100102101102102102103102104102105102106102107102108102109102110102111102112102113102114102115102116102117102118102119102120102121102122102123102124102125102126102127102128102129102130102131102132102133102134102135102136102137102138102139102140102141102142102143102144102145102146102147102148102149102150102151102152102153102154102155102156102157102158102159102160102161102162102163102164102165102166102167102168102169102170102171102172102173102174102175102176102177102178102179102180102181102182102183102184102185102186102187102188102189102190102191102192102193102194102195102196102197102198102199102200102201102202102203102204102205102206102207102208102209102210102211102212102213102214102215102216102217102218102219102220102221102222102223102224102225102226102227102228102229102230102231102232102233102234102235102236102237102238102239102240102241102242102243102244102245102246102247102248102249102250102251102252102253102254102255102256102257102258102259102260102261102262102263102264102265102266102267102268102269102270102271102272102273102274102275102276102277102278102279102280102281102282102283102284102285102286102287102288102289102290102291102292102293102294102295102296102297102298102299102300102301102302102303102304102305102306102307102308102309102310102311102312102313102314102315102316102317102318102319102320102321102322102323102324102325102326102327102328102329102330102331102332102333102334102335102336102337102338102339102340102341102342102343102344102345102346102347102348102349102350102351102352102353102354102355102356102357102358102359102360102361102362102363102364102365102366102367102368102369102370102371102372102373102374102375102376102377102378102379102380102381102382102383102384102385102386102387102388102389102390102391102392102393102394102395102396102397102398102399102400102401102402102403102404102405102406102407102408102409102410102411102412102413102414102415102416102417102418102419102420102421102422102423102424102425102426102427102428102429102430102431102432102433102434102435102436102437102438102439102440102441102442102443102444102445102446102447102448102449102450102451102452102453102454102455102456102457102458102459102460102461102462102463102464102465102466102467102468102469102470102471102472102473102474102475102476102477102478102479102480102481102482102483102484102485102486102487102488102489102490102491102492102493102494102495102496102497102498102499102500102501102502102503102504102505102506102507102508102509102510102511102512102513102514102515102516102517102518102519102520102521102522102523102524102525102526102527102528102529102530102531102532102533102534102535102536102537102538102539102540102541102542102543102544102545102546102547102548102549102550102551102552102553102554102555102556102557102558102559102560102561102562102563102564102565102566102567102568102569102570102571102572102573102574102575102576102577102578102579102580102581102582102583102584102585102586102587102588102589102590102591102592102593102594102595102596102597102598102599102600102601102602102603102604102605102606102607102608102609102610102611102612102613102614102615102616102617102618102619102620102621102622102623102624102625102626102627102628102629102630102631102632102633102634102635102636102637102638102639102640102641102642102643102644102645102646102647102648102649102650102651102652102653102654102655102656102657102658102659102660102661102662102663102664102665102666102667102668102669102670102671102672102673102674102675102676102677102678102679102680102681102682102683102684102685102686102687102688102689102690102691102692102693102694102695102696102697102698102699102700102701102702102703102704102705102706102707102708102709102710102711102712102713102714102715102716102717102718102719102720102721102722102723102724102725102726102727102728102729102730102731102732102733102734102735102736102737102738102739102740102741102742102743102744102745102746102747102748102749102750102751102752102753102754102755102756102757102758102759102760102761102762102763102764102765102766102767102768102769102770102771102772102773102774102775102776102777102778102779102780102781102782102783102784102785102786102787102788102789102790102791102792102793102794102795102796102797102798102799102800102801102802102803102804102805102806102807102808102809102810102811102812102813102814102815102816102817102818102819102820102821102822102823102824102825102826102827102828102829102830102831102832102833102834102835102836102837102838102839102840102841102842102843102844102845102846102847102848102849102850102851102852102853102854102855102856102857102858102859102860102861102862102863102864102865102866102867102868102869102870102871102872102873102874102875102876102877102878102879102880102881102882102883102884102885102886102887102888102889102890102891102892102893102894102895102896102897102898102899102900102901102902102903102904102905102906102907102908102909102910102911102912102913102914102915102916102917102918102919102920102921102922102923102924102925102926102927102928102929102930102931102932102933102934102935102936102937102938102939102940102941102942102943102944102945102946102947102948102949102950102951102952102953102954102955102956102957102958102959102960102961102962102963102964102965102966102967102968102969102970102971102972102973102974102975102976102977102978102979102980102981102982102983102984102985102986102987102988102989102990102991102992102993102994102995102996102997102998102999103000103001103002103003103004103005103006103007103008103009103010103011103012103013103014103015103016103017103018103019103020103021103022103023103024103025103026103027103028103029103030103031103032103033103034103035103036103037103038103039103040103041103042103043103044103045103046103047103048103049103050103051103052103053103054103055103056103057103058103059103060103061103062103063103064103065103066103067103068103069103070103071103072103073103074103075103076103077103078103079103080103081103082103083103084103085103086103087103088103089103090103091103092103093103094103095103096103097103098103099103100103101103102103103103104103105103106103107103108103109103110103111103112103113103114103115103116103117103118103119103120103121103122103123103124103125103126103127103128103129103130103131103132103133103134103135103136103137103138103139103140103141103142103143103144103145103146103147103148103149103150103151103152103153103154103155103156103157103158103159103160103161103162103163103164103165103166103167103168103169103170103171103172103173103174103175103176103177103178103179103180103181103182103183103184103185103186103187103188103189103190103191103192103193103194103195103196103197103198103199103200103201103202103203103204103205103206103207103208103209103210103211103212103213103214103215103216103217103218103219103220103221103222103223103224103225103226103227103228103229103230103231103232103233103234103235103236103237103238103239103240103241103242103243103244103245103246103247103248103249103250103251103252103253103254103255103256103257103258103259103260103261103262103263103264103265103266103267103268103269103270103271103272103273103274103275103276103277103278103279103280103281103282103283103284103285103286103287103288103289103290103291103292103293103294103295103296103297103298103299103300103301103302103303103304103305103306103307103308103309103310103311103312103313103314103315103316103317103318103319103320103321103322103323103324103325103326103327103328103329103330103331103332103333103334103335103336103337103338103339103340103341103342103343103344103345103346103347103348103349103350103351103352103353103354103355103356103357103358103359103360103361103362103363103364103365103366103367103368103369103370103371103372103373103374103375103376103377103378103379103380103381103382103383103384103385103386103387103388103389103390103391103392103393103394103395103396103397103398103399103400103401103402103403103404103405103406103407103408103409103410103411103412103413103414103415103416103417103418103419103420103421103422103423103424103425103426103427103428103429103430103431103432103433103434103435103436103437103438103439103440103441103442103443103444103445103446103447103448103449103450103451103452103453103454103455103456103457103458103459103460103461103462103463103464103465103466103467103468103469103470103471103472103473103474103475103476103477103478103479103480103481103482103483103484103485103486103487103488103489103490103491103492103493103494103495103496103497103498103499103500103501103502103503103504103505103506103507103508103509103510103511103512103513103514103515103516103517103518103519103520103521103522103523103524103525103526103527103528103529103530103531103532103533103534103535103536103537103538103539103540103541103542103543103544103545103546103547103548103549103550103551103552103553103554103555103556103557103558103559103560103561103562103563103564103565103566103567103568103569103570103571103572103573103574103575103576103577103578103579103580103581103582103583103584103585103586103587103588103589103590103591103592103593103594103595103596103597103598103599103600103601103602103603103604103605103606103607103608103609103610103611103612103613103614103615103616103617103618103619103620103621103622103623103624103625103626103627103628103629103630103631103632103633103634103635103636103637103638103639103640103641103642103643103644103645103646103647103648103649103650103651103652103653103654103655103656103657103658103659103660103661103662103663103664103665103666103667103668103669103670103671103672103673103674103675103676103677103678103679103680103681103682103683103684103685103686103687103688103689103690103691103692103693103694103695103696103697103698103699103700103701103702103703103704103705103706103707103708103709103710103711103712103713103714103715103716103717103718103719103720103721103722103723103724103725103726103727103728103729103730103731103732103733103734103735103736103737103738103739103740103741103742103743103744103745103746103747103748103749103750103751103752103753103754103755103756103757103758103759103760103761103762103763103764103765103766103767103768103769103770103771103772103773103774103775103776103777103778103779103780103781103782103783103784103785103786103787103788103789103790103791103792103793103794103795103796103797103798103799103800103801103802103803103804103805103806103807103808103809103810103811103812103813103814103815103816103817103818103819103820103821103822103823103824103825103826103827103828103829103830103831103832103833103834103835103836103837103838103839103840103841103842103843103844103845103846103847103848103849103850103851103852103853103854103855103856103857103858103859103860103861103862103863103864103865103866103867103868103869103870103871103872103873103874103875103876103877103878103879103880103881103882103883103884103885103886103887103888103889103890103891103892103893103894103895103896103897103898103899103900103901103902103903103904103905103906103907103908103909103910103911103912103913103914103915103916103917103918103919103920103921103922103923103924103925103926103927103928103929103930103931103932103933103934103935103936103937103938103939103940103941103942103943103944103945103946103947103948103949103950103951103952103953103954103955103956103957103958103959103960103961103962103963103964103965103966103967103968103969103970103971103972103973103974103975103976103977103978103979103980103981103982103983103984103985103986103987103988103989103990103991103992103993103994103995103996103997103998103999104000104001104002104003104004104005104006104007104008104009104010104011104012104013104014104015104016104017104018104019104020104021104022104023104024104025104026104027104028104029104030104031104032104033104034104035104036104037104038104039104040104041104042104043104044104045104046104047104048104049104050104051104052104053104054104055104056104057104058104059104060104061104062104063104064104065104066104067104068104069104070104071104072104073104074104075104076104077104078104079104080104081104082104083104084104085104086104087104088104089104090104091104092104093104094104095104096104097104098104099104100104101104102104103104104104105104106104107104108104109104110104111104112104113104114104115104116104117104118104119104120104121104122104123104124104125104126104127104128104129104130104131104132104133104134104135104136104137104138104139104140104141104142104143104144104145104146104147104148104149104150104151104152104153104154104155104156104157104158104159104160104161104162104163104164104165104166104167104168104169104170104171104172104173104174104175104176104177104178104179104180104181104182104183104184104185104186104187104188104189104190104191104192104193104194104195104196104197104198104199104200104201104202104203104204104205104206104207104208104209104210104211104212104213104214104215104216104217104218104219104220104221104222104223104224104225104226104227104228104229104230104231104232104233104234104235104236104237104238104239104240104241104242104243104244104245104246104247104248104249104250104251104252104253104254104255104256104257104258104259104260104261104262104263104264104265104266104267104268104269104270104271104272104273104274104275104276104277104278104279104280104281104282104283104284104285104286104287104288104289104290104291104292104293104294104295104296104297104298104299104300104301104302104303104304104305104306104307104308104309104310104311104312104313104314104315104316104317104318104319104320104321104322104323104324104325104326104327104328104329104330104331104332104333104334104335104336104337104338104339104340104341104342104343104344104345104346104347104348104349104350104351104352104353104354104355104356104357104358104359104360104361104362104363104364104365104366104367104368104369104370104371104372104373104374104375104376104377104378104379104380104381104382104383104384104385104386104387104388104389104390104391104392104393104394104395104396104397104398104399104400104401104402104403104404104405104406104407104408104409104410104411104412104413104414104415104416104417104418104419104420104421104422104423104424104425104426104427104428104429104430104431104432104433104434104435104436104437104438104439104440104441104442104443104444104445104446104447104448104449104450104451104452104453104454104455104456104457104458104459104460104461104462104463104464104465104466104467104468104469104470104471104472104473104474104475104476104477104478104479104480104481104482104483104484104485104486104487104488104489104490104491104492104493104494104495104496104497104498104499104500104501104502104503104504104505104506104507104508104509104510104511104512104513104514104515104516104517104518104519104520104521104522104523104524104525104526104527104528104529104530104531104532104533104534104535104536104537104538104539104540104541104542104543104544104545104546104547104548104549104550104551104552104553104554104555104556104557104558104559104560104561104562104563104564104565104566104567104568104569104570104571104572104573104574104575104576104577104578104579104580104581104582104583104584104585104586104587104588104589104590104591104592104593104594104595104596104597104598104599104600104601104602104603104604104605104606104607104608104609104610104611104612104613104614104615104616104617104618104619104620104621104622104623104624104625104626104627104628104629104630104631104632104633104634104635104636104637104638104639104640104641104642104643104644104645104646104647104648104649104650104651104652104653104654104655104656104657104658104659104660104661104662104663104664104665104666104667104668104669104670104671104672104673104674104675104676104677104678104679104680104681104682104683104684104685104686104687104688104689104690104691104692104693104694104695104696104697104698104699104700104701104702104703104704104705104706104707104708104709104710104711104712104713104714104715104716104717104718104719104720104721104722104723104724104725104726104727104728104729104730104731104732104733104734104735104736104737104738104739104740104741104742104743104744104745104746104747104748104749104750104751104752104753104754104755104756104757104758104759104760104761104762104763104764104765104766104767104768104769104770104771104772104773104774104775104776104777104778104779104780104781104782104783104784104785104786104787104788104789104790104791104792104793104794104795104796104797104798104799104800104801104802104803104804104805104806104807104808104809104810104811104812104813104814104815104816104817104818104819104820104821104822104823104824104825104826104827104828104829104830104831104832104833104834104835104836104837104838104839104840104841104842104843104844104845104846104847104848104849104850104851104852104853104854104855104856104857104858104859104860104861104862104863104864104865104866104867104868104869104870104871104872104873104874104875104876104877104878104879104880104881104882104883104884104885104886104887104888104889104890104891104892104893104894104895104896104897104898104899104900104901104902104903104904104905104906104907104908104909104910104911104912104913104914104915104916104917104918104919104920104921104922104923104924104925104926104927104928104929104930104931104932104933104934104935104936104937104938104939104940104941104942104943104944104945104946104947104948104949104950104951104952104953104954104955104956104957104958104959104960104961104962104963104964104965104966104967104968104969104970104971104972104973104974104975104976104977104978104979104980104981104982104983104984104985104986104987104988104989104990104991104992104993104994104995104996104997104998104999105000105001105002105003105004105005105006105007105008105009105010105011105012105013105014105015105016105017105018105019105020105021105022105023105024105025105026105027105028105029105030105031105032105033105034105035105036105037105038105039105040105041105042105043105044105045105046105047105048105049105050105051105052105053105054105055105056105057105058105059105060105061105062105063105064105065105066105067105068105069105070105071105072105073105074105075105076105077105078105079105080105081105082105083105084105085105086105087105088105089105090105091105092105093105094105095105096105097105098105099105100105101105102105103105104105105105106105107105108105109105110105111105112105113105114105115105116105117105118105119105120105121105122105123105124105125105126105127105128105129105130105131105132105133105134105135105136105137105138105139105140105141105142105143105144105145105146105147105148105149105150105151105152105153105154105155105156105157105158105159105160105161105162105163105164105165105166105167105168105169105170105171105172105173105174105175105176105177105178105179105180105181105182105183105184105185105186105187105188105189105190105191105192105193105194105195105196105197105198105199105200105201105202105203105204105205105206105207105208105209105210105211105212105213105214105215105216105217105218105219105220105221105222105223105224105225105226105227105228105229105230105231105232105233105234105235105236105237105238105239105240105241105242105243105244105245105246105247105248105249105250105251105252105253105254105255105256105257105258105259105260105261105262105263105264105265105266105267105268105269105270105271105272105273105274105275105276105277105278105279105280105281105282105283105284105285105286105287105288105289105290105291105292105293105294105295105296105297105298105299105300105301105302105303105304105305105306105307105308105309105310105311105312105313105314105315105316105317105318105319105320105321105322105323105324105325105326105327105328105329105330105331105332105333105334105335105336105337105338105339105340105341105342105343105344105345105346105347105348105349105350105351105352105353105354105355105356105357105358105359105360105361105362105363105364105365105366105367105368105369105370105371105372105373105374105375105376105377105378105379105380105381105382105383105384105385105386105387105388105389105390105391105392105393105394105395105396105397105398105399105400105401105402105403105404105405105406105407105408105409105410105411105412105413105414105415105416105417105418105419105420105421105422105423105424105425105426105427105428105429105430105431105432105433105434105435105436105437105438105439105440105441105442105443105444105445105446105447105448105449105450105451105452105453105454105455105456105457105458105459105460105461105462105463105464105465105466105467105468105469105470105471105472105473105474105475105476105477105478105479105480105481105482105483105484105485105486105487105488105489105490105491105492105493105494105495105496105497105498105499105500105501105502105503105504105505105506105507105508105509105510105511105512105513105514105515105516105517105518105519105520105521105522105523105524105525105526105527105528105529105530105531105532105533105534105535105536105537105538105539105540105541105542105543105544105545105546105547105548105549105550105551105552105553105554105555105556105557105558105559105560105561105562105563105564105565105566105567105568105569105570105571105572105573105574105575105576105577105578105579105580105581105582105583105584105585105586105587105588105589105590105591105592105593105594105595105596105597105598105599105600105601105602105603105604105605105606105607105608105609105610105611105612105613105614105615105616105617105618105619105620105621105622105623105624105625105626105627105628105629105630105631105632105633105634105635105636105637105638105639105640105641105642105643105644105645105646105647105648105649105650105651105652105653105654105655105656105657105658105659105660105661105662105663105664105665105666105667105668105669105670105671105672105673105674105675105676105677105678105679105680105681105682105683105684105685105686105687105688105689105690105691105692105693105694105695105696105697105698105699105700105701105702105703105704105705105706105707105708105709105710105711105712105713105714105715105716105717105718105719105720105721105722105723105724105725105726105727105728105729105730105731105732105733105734105735105736105737105738105739105740105741105742105743105744105745105746105747105748105749105750105751105752105753105754105755105756105757105758105759105760105761105762105763105764105765105766105767105768105769105770105771105772105773105774105775105776105777105778105779105780105781105782105783105784105785105786105787105788105789105790105791105792105793105794105795105796105797105798105799105800105801105802105803105804105805105806105807105808105809105810105811105812105813105814105815105816105817105818105819105820105821105822105823105824105825105826105827105828105829105830105831105832105833105834105835105836105837105838105839105840105841105842105843105844105845105846105847105848105849105850105851105852105853105854105855105856105857105858105859105860105861105862105863105864105865105866105867105868105869105870105871105872105873105874105875105876105877105878105879105880105881105882105883105884105885105886105887105888105889105890105891105892105893105894105895105896105897105898105899105900105901105902105903105904105905105906105907105908105909105910105911105912105913105914105915105916105917105918105919105920105921105922105923105924105925105926105927105928105929105930105931105932105933105934105935105936105937105938105939105940105941105942105943105944105945105946105947105948105949105950105951105952105953105954105955105956105957105958105959105960105961105962105963105964105965105966105967105968105969105970105971105972105973105974105975105976105977105978105979105980105981105982105983105984105985105986105987105988105989105990105991105992105993105994105995105996105997105998105999106000106001106002106003106004106005106006106007106008106009106010106011106012106013106014106015106016106017106018106019106020106021106022106023106024106025106026106027106028106029106030106031106032106033106034106035106036106037106038106039106040106041106042106043106044106045106046106047106048106049106050106051106052106053106054106055106056106057106058106059106060106061106062106063106064106065106066106067106068106069106070106071106072106073106074106075106076106077106078106079106080106081106082106083106084106085106086106087106088106089106090106091106092106093106094106095106096106097106098106099106100106101106102106103106104106105106106106107106108106109106110106111106112106113106114106115106116106117106118106119106120106121106122106123106124106125106126106127106128106129106130106131106132106133106134106135106136106137106138106139106140106141106142106143106144106145106146106147106148106149106150106151106152106153106154106155106156106157106158106159106160106161106162106163106164106165106166106167106168106169106170106171106172106173106174106175106176106177106178106179106180106181106182106183106184106185106186106187106188106189106190106191106192106193106194106195106196106197106198106199106200106201106202106203106204106205106206106207106208106209106210106211106212106213106214106215106216106217106218106219106220106221106222106223106224106225106226106227106228106229106230106231106232106233106234106235106236106237106238106239106240106241106242106243106244106245106246106247106248106249106250106251106252106253106254106255106256106257106258106259106260106261106262106263106264106265106266106267106268106269106270106271106272106273106274106275106276106277106278106279106280106281106282106283106284106285106286106287106288106289106290106291106292106293106294106295106296106297106298106299106300106301106302106303106304106305106306106307106308106309106310106311106312106313106314106315106316106317106318106319106320106321106322106323106324106325106326106327106328106329106330106331106332106333106334106335106336106337106338106339106340106341106342106343106344106345106346106347106348106349106350106351106352106353106354106355106356106357106358106359106360106361106362106363106364106365106366106367106368106369106370106371106372106373106374106375106376106377106378106379106380106381106382106383106384106385106386106387106388106389106390106391106392106393106394106395106396106397106398106399106400106401106402106403106404106405106406106407106408106409106410106411106412106413106414106415106416106417106418106419106420106421106422106423106424106425106426106427106428106429106430106431106432106433106434106435106436106437106438106439106440106441106442106443106444106445106446106447106448106449106450106451106452106453106454106455106456106457106458106459106460106461106462106463106464106465106466106467106468106469106470106471106472106473106474106475106476106477106478106479106480106481106482106483106484106485106486106487106488106489106490106491106492106493106494106495106496106497106498106499106500106501106502106503106504106505106506106507106508106509106510106511106512106513106514106515106516106517106518106519106520106521106522106523106524106525106526106527106528106529106530106531106532106533106534106535106536106537106538106539106540106541106542106543106544106545106546106547106548106549106550106551106552106553106554106555106556106557106558106559106560106561106562106563106564106565106566106567106568106569106570106571106572106573106574106575106576106577106578106579106580106581106582106583106584106585106586106587106588106589106590106591106592106593106594106595106596106597106598106599106600106601106602106603106604106605106606106607106608106609106610106611106612106613106614106615106616106617106618106619106620106621106622106623106624106625106626106627106628106629106630106631106632106633106634106635106636106637106638106639106640106641106642106643106644106645106646106647106648106649106650106651106652106653106654106655106656106657106658106659106660106661106662106663106664106665106666106667106668106669106670106671106672106673106674106675106676106677106678106679106680106681106682106683106684106685106686106687106688106689106690106691106692106693106694106695106696106697106698106699106700106701106702106703106704106705106706106707106708106709106710106711106712106713106714106715106716106717106718106719106720106721106722106723106724106725106726106727106728106729106730106731106732106733106734106735106736106737106738106739106740106741106742106743106744106745106746106747106748106749106750106751106752106753106754106755106756106757106758106759106760106761106762106763106764106765106766106767106768106769106770106771106772106773106774106775106776106777106778106779106780106781106782106783106784106785106786106787106788106789106790106791106792106793106794106795106796106797106798106799106800106801106802106803106804106805106806106807106808106809106810106811106812106813106814106815106816106817106818106819106820106821106822106823106824106825106826106827106828106829106830106831106832106833106834106835106836106837106838106839106840106841106842106843106844106845106846106847106848106849106850106851106852106853106854106855106856106857106858106859106860106861106862106863106864106865106866106867106868106869106870106871106872106873106874106875106876106877106878106879106880106881106882106883106884106885106886106887106888106889106890106891106892106893106894106895106896106897106898106899106900106901106902106903106904106905106906106907106908106909106910106911106912106913106914106915106916106917106918106919106920106921106922106923106924106925106926106927106928106929106930106931106932106933106934106935106936106937106938106939106940106941106942106943106944106945106946106947106948106949106950106951106952106953106954106955106956106957106958106959106960106961106962106963106964106965106966106967106968106969106970106971106972106973106974106975106976106977106978106979106980106981106982106983106984106985106986106987106988106989106990106991106992106993106994106995106996106997106998106999107000107001107002107003107004107005107006107007107008107009107010107011107012107013107014107015107016107017107018107019107020107021107022107023107024107025107026107027107028107029107030107031107032107033107034107035107036107037107038107039107040107041107042107043107044107045107046107047107048107049107050107051107052107053107054107055107056107057107058107059107060107061107062107063107064107065107066107067107068107069107070107071107072107073107074107075107076107077107078107079107080107081107082107083107084107085107086107087107088107089107090107091107092107093107094107095107096107097107098107099107100107101107102107103107104107105107106107107107108107109107110107111107112107113107114107115107116107117107118107119107120107121107122107123107124107125107126107127107128107129107130107131107132107133107134107135107136107137107138107139107140107141107142107143107144107145107146107147107148107149107150107151107152107153107154107155107156107157107158107159107160107161107162107163107164107165107166107167107168107169107170107171107172107173107174107175107176107177107178107179107180107181107182107183107184107185107186107187107188107189107190107191107192107193107194107195107196107197107198107199107200107201107202107203107204107205107206107207107208107209107210107211107212107213107214107215107216107217107218107219107220107221107222107223107224107225107226107227107228107229107230107231107232107233107234107235107236107237107238107239107240107241107242107243107244107245107246107247107248107249107250107251107252107253107254107255107256107257107258107259107260107261107262107263107264107265107266107267107268107269107270107271107272107273107274107275107276107277107278107279107280107281107282107283107284107285107286107287107288107289107290107291107292107293107294107295107296107297107298107299107300107301107302107303107304107305107306107307107308107309107310107311107312107313107314107315107316107317107318107319107320107321107322107323107324107325107326107327107328107329107330107331107332107333107334107335107336107337107338107339107340107341107342107343107344107345107346107347107348107349107350107351107352107353107354107355107356107357107358107359107360107361107362107363107364107365107366107367107368107369107370107371107372107373107374107375107376107377107378107379107380107381107382107383107384107385107386107387107388107389107390107391107392107393107394107395107396107397107398107399107400107401107402107403107404107405107406107407107408107409107410107411107412107413107414107415107416107417107418107419107420107421107422107423107424107425107426107427107428107429107430107431107432107433107434107435107436107437107438107439107440107441107442107443107444107445107446107447107448107449107450107451107452107453107454107455107456107457107458107459107460107461107462107463107464107465107466107467107468107469107470107471107472107473107474107475107476107477107478107479107480107481107482107483107484107485107486107487107488107489107490107491107492107493107494107495107496107497107498107499107500107501107502107503107504107505107506107507107508107509107510107511107512107513107514107515107516107517107518107519107520107521107522107523107524107525107526107527107528107529107530107531107532107533107534107535107536107537107538107539107540107541107542107543107544107545107546107547107548107549107550107551107552107553107554107555107556107557107558107559107560107561107562107563107564107565107566107567107568107569107570107571107572107573107574107575107576107577107578107579107580107581107582107583107584107585107586107587107588107589107590107591107592107593107594107595107596107597107598107599107600107601107602107603107604107605107606107607107608107609107610107611107612107613107614107615107616107617107618107619107620107621107622107623107624107625107626107627107628107629107630107631107632107633107634107635107636107637107638107639107640107641107642107643107644107645107646107647107648107649107650107651107652107653107654107655107656107657107658107659107660107661107662107663107664107665107666107667107668107669107670107671107672107673107674107675107676107677107678107679107680107681107682107683107684107685107686107687107688107689107690107691107692107693107694107695107696107697107698107699107700107701107702107703107704107705107706107707107708107709107710107711107712107713107714107715107716107717107718107719107720107721107722107723107724107725107726107727107728107729107730107731107732107733107734107735107736107737107738107739107740107741107742107743107744107745107746107747107748107749107750107751107752107753107754107755107756107757107758107759107760107761107762107763107764107765107766107767107768107769107770107771107772107773107774107775107776107777107778107779107780107781107782107783107784107785107786107787107788107789107790107791107792107793107794107795107796107797107798107799107800107801107802107803107804107805107806107807107808107809107810107811107812107813107814107815107816107817107818107819107820107821107822107823107824107825107826107827107828107829107830107831107832107833107834107835107836107837107838107839107840107841107842107843107844107845107846107847107848107849107850107851107852107853107854107855107856107857107858107859107860107861107862107863107864107865107866107867107868107869107870107871107872107873107874107875107876107877107878107879107880107881107882107883107884107885107886107887107888107889107890107891107892107893107894107895107896107897107898107899107900107901107902107903107904107905107906107907107908107909107910107911107912107913107914107915107916107917107918107919107920107921107922107923107924107925107926107927107928107929107930107931107932107933107934107935107936107937107938107939107940107941107942107943107944107945107946107947107948107949107950107951107952107953107954107955107956107957107958107959107960107961107962107963107964107965107966107967107968107969107970107971107972107973107974107975107976107977107978107979107980107981107982107983107984107985107986107987107988107989107990107991107992107993107994107995107996107997107998107999108000108001108002108003108004108005108006108007108008108009108010108011108012108013108014108015108016108017108018108019108020108021108022108023108024108025108026108027108028108029108030108031108032108033108034108035108036108037108038108039108040108041108042108043108044108045108046108047108048108049108050108051108052108053108054108055108056108057108058108059108060108061108062108063108064108065108066108067108068108069108070108071108072108073108074108075108076108077108078108079108080108081108082108083108084108085108086108087108088108089108090108091108092108093108094108095108096108097108098108099108100108101108102108103108104108105108106108107108108108109108110108111108112108113108114108115108116108117108118108119108120108121108122108123108124108125108126108127108128108129108130108131108132108133108134108135108136108137108138108139108140108141108142108143108144108145108146108147108148108149108150108151108152108153108154108155108156108157108158108159108160108161108162108163108164108165108166108167108168108169108170108171108172108173108174108175108176108177108178108179108180108181108182108183108184108185108186108187108188108189108190108191108192108193108194108195108196108197108198108199108200108201108202108203108204108205108206108207108208108209108210108211108212108213108214108215108216108217108218108219108220108221108222108223108224108225108226108227108228108229108230108231108232108233108234108235108236108237108238108239108240108241108242108243108244108245108246108247108248108249108250108251108252108253108254108255108256108257108258108259108260108261108262108263108264108265108266108267108268108269108270108271108272108273108274108275108276108277108278108279108280108281108282108283108284108285108286108287108288108289108290108291108292108293108294108295108296108297108298108299108300108301108302108303108304108305108306108307108308108309108310108311108312108313108314108315108316108317108318108319108320108321108322108323108324108325108326108327108328108329108330108331108332108333108334108335108336108337108338108339108340108341108342108343108344108345108346108347108348108349108350108351108352108353108354108355108356108357108358108359108360108361108362108363108364108365108366108367108368108369108370108371108372108373108374108375108376108377108378108379108380108381108382108383108384108385108386108387108388108389108390108391108392108393108394108395108396108397108398108399108400108401108402108403108404108405108406108407108408108409108410108411108412108413108414108415108416108417108418108419108420108421108422108423108424108425108426108427108428108429108430108431108432108433108434108435108436108437108438108439108440108441108442108443108444108445108446108447108448108449108450108451108452108453108454108455108456108457108458108459108460108461108462108463108464108465108466108467108468108469108470108471108472108473108474108475108476108477108478108479108480108481108482108483108484108485108486108487108488108489108490108491108492108493108494108495108496108497108498108499108500108501108502108503108504108505108506108507108508108509108510108511108512108513108514108515108516108517108518108519108520108521108522108523108524108525108526108527108528108529108530108531108532108533108534108535108536108537108538108539108540108541108542108543108544108545108546108547108548108549108550108551108552108553108554108555108556108557108558108559108560108561108562108563108564108565108566108567108568108569108570108571108572108573108574108575108576108577108578108579108580108581108582108583108584108585108586108587108588108589108590108591108592108593108594108595108596108597108598108599108600108601108602108603108604108605108606108607108608108609108610108611108612108613108614108615108616108617108618108619108620108621108622108623108624108625108626108627108628108629108630108631108632108633108634108635108636108637108638108639108640108641108642108643108644108645108646108647108648108649108650108651108652108653108654108655108656108657108658108659108660108661108662108663108664108665108666108667108668108669108670108671108672108673108674108675108676108677108678108679108680108681108682108683108684108685108686108687108688108689108690108691108692108693108694108695108696108697108698108699108700108701108702108703108704108705108706108707108708108709108710108711108712108713108714108715108716108717108718108719108720108721108722108723108724108725108726108727108728108729108730108731108732108733108734108735108736108737108738108739108740108741108742108743108744108745108746108747108748108749108750108751108752108753108754108755108756108757108758108759108760108761108762108763108764108765108766108767108768108769108770108771108772108773108774108775108776108777108778108779108780108781108782108783108784108785108786108787108788108789108790108791108792108793108794108795108796108797108798108799108800108801108802108803108804108805108806108807108808108809108810108811108812108813108814108815108816108817108818108819108820108821108822108823108824108825108826108827108828108829108830108831108832108833108834108835108836108837108838108839108840108841108842108843108844108845108846108847108848108849108850108851108852108853108854108855108856108857108858108859108860108861108862108863108864108865108866108867108868108869108870108871108872108873108874108875108876108877108878108879108880108881108882108883108884108885108886108887108888108889108890108891108892108893108894108895108896108897108898108899108900108901108902108903108904108905108906108907108908108909108910108911108912108913108914108915108916108917108918108919108920108921108922108923108924108925108926108927108928108929108930108931108932108933108934108935108936108937108938108939108940108941108942108943108944108945108946108947108948108949108950108951108952108953108954108955108956108957108958108959108960108961108962108963108964108965108966108967108968108969108970108971108972108973108974108975108976108977108978108979108980108981108982108983108984108985108986108987108988108989108990108991108992108993108994108995108996108997108998108999109000109001109002109003109004109005109006109007109008109009109010109011109012109013109014109015109016109017109018109019109020109021109022109023109024109025109026109027109028109029109030109031109032109033109034109035109036109037109038109039109040109041109042109043109044109045109046109047109048109049109050109051109052109053109054109055109056109057109058109059109060109061109062109063109064109065109066109067109068109069109070109071109072109073109074109075109076109077109078109079109080109081109082109083109084109085109086109087109088109089109090109091109092109093109094109095109096109097109098109099109100109101109102109103109104109105109106109107109108109109109110109111109112109113109114109115109116109117109118109119109120109121109122109123109124109125109126109127109128109129109130109131109132109133109134109135109136109137109138109139109140109141109142109143109144109145109146109147109148109149109150109151109152109153109154109155109156109157109158109159109160109161109162109163109164109165109166109167109168109169109170109171109172109173109174109175109176109177109178109179109180109181109182109183109184109185109186109187109188109189109190109191109192109193109194109195109196109197109198109199109200109201109202109203109204109205109206109207109208109209109210109211109212109213109214109215109216109217109218109219109220109221109222109223109224109225109226109227109228109229109230109231109232109233109234109235109236109237109238109239109240109241109242109243109244109245109246109247109248109249109250109251109252109253109254109255109256109257109258109259109260109261109262109263109264109265109266109267109268109269109270109271109272109273109274109275109276109277109278109279109280109281109282109283109284109285109286109287109288109289109290109291109292109293109294109295109296109297109298109299109300109301109302109303109304109305109306109307109308109309109310109311109312109313109314109315109316109317109318109319109320109321109322109323109324109325109326109327109328109329109330109331109332109333109334109335109336109337109338109339109340109341109342109343109344109345109346109347109348109349109350109351109352109353109354109355109356109357109358109359109360109361109362109363109364109365109366109367109368109369109370109371109372109373109374109375109376109377109378109379109380109381109382109383109384109385109386109387109388109389109390109391109392109393109394109395109396109397109398109399109400109401109402109403109404109405109406109407109408109409109410109411109412109413109414109415109416109417109418109419109420109421109422109423109424109425109426109427109428109429109430109431109432109433109434109435109436109437109438109439109440109441109442109443109444109445109446109447109448109449109450109451109452109453109454109455109456109457109458109459109460109461109462109463109464109465109466109467109468109469109470109471109472109473109474109475109476109477109478109479109480109481109482109483109484109485109486109487109488109489109490109491109492109493109494109495109496109497109498109499109500109501109502109503109504109505109506109507109508109509109510109511109512109513109514109515109516109517109518109519109520109521109522109523109524109525109526109527109528109529109530109531109532109533109534109535109536109537109538109539109540109541109542109543109544109545109546109547109548109549109550109551109552109553109554109555109556109557109558109559109560109561109562109563109564109565109566109567109568109569109570109571109572109573109574109575109576109577109578109579109580109581109582109583109584109585109586109587109588109589109590109591109592109593109594109595109596109597109598109599109600109601109602109603109604109605109606109607109608109609109610109611109612109613109614109615109616109617109618109619109620109621109622109623109624109625109626109627109628109629109630109631109632109633109634109635109636109637109638109639109640109641109642109643109644109645109646109647109648109649109650109651109652109653109654109655109656109657109658109659109660109661109662109663109664109665109666109667109668109669109670109671109672109673109674109675109676109677109678109679109680109681109682109683109684109685109686109687109688109689109690109691109692109693109694109695109696109697109698109699109700109701109702109703109704109705109706109707109708109709109710109711109712109713109714109715109716109717109718109719109720109721109722109723109724109725109726109727109728109729109730109731109732109733109734109735109736109737109738109739109740109741109742109743109744109745109746109747109748109749109750109751109752109753109754109755109756109757109758109759109760109761109762109763109764109765109766109767109768109769109770109771109772109773109774109775109776109777109778109779109780109781109782109783109784109785109786109787109788109789109790109791109792109793109794109795109796109797109798109799109800109801109802109803109804109805109806109807109808109809109810109811109812109813109814109815109816109817109818109819109820109821109822109823109824109825109826109827109828109829109830109831109832109833109834109835109836109837109838109839109840109841109842109843109844109845109846109847109848109849109850109851109852109853109854109855109856109857109858109859109860109861109862109863109864109865109866109867109868109869109870109871109872109873109874109875109876109877109878109879109880109881109882109883109884109885109886109887109888109889109890109891109892109893109894109895109896109897109898109899109900109901109902109903109904109905109906109907109908109909109910109911109912109913109914109915109916109917109918109919109920109921109922109923109924109925109926109927109928109929109930109931109932109933109934109935109936109937109938109939109940109941109942109943109944109945109946109947109948109949109950109951109952109953109954109955109956109957109958109959109960109961109962109963109964109965109966109967109968109969109970109971109972109973109974109975109976109977109978109979109980109981109982109983109984109985109986109987109988109989109990109991109992109993109994109995109996109997109998109999110000110001110002110003110004110005110006110007110008110009110010110011110012110013110014110015110016110017110018110019110020110021110022110023110024110025110026110027110028110029110030110031110032110033110034110035110036110037110038110039110040110041110042110043110044110045110046110047110048110049110050110051110052110053110054110055110056110057110058110059110060110061110062110063110064110065110066110067110068110069110070110071110072110073110074110075110076110077110078110079110080110081110082110083110084110085110086110087110088110089110090110091110092110093110094110095110096110097110098110099110100110101110102110103110104110105110106110107110108110109110110110111110112110113110114110115110116110117110118110119110120110121110122110123110124110125110126110127110128110129110130110131110132110133110134110135110136110137110138110139110140110141110142110143110144110145110146110147110148110149110150110151110152110153110154110155110156110157110158110159110160110161110162110163110164110165110166110167110168110169110170110171110172110173110174110175110176110177110178110179110180110181110182110183110184110185110186110187110188110189110190110191110192110193110194110195110196110197110198110199110200110201110202110203110204110205110206110207110208110209110210110211110212110213110214110215110216110217110218110219110220110221110222110223110224110225110226110227110228110229110230110231110232110233110234110235110236110237110238110239110240110241110242110243110244110245110246110247110248110249110250110251110252110253110254110255110256110257110258110259110260110261110262110263110264110265110266110267110268110269110270110271110272110273110274110275110276110277110278110279110280110281110282110283110284110285110286110287110288110289110290110291110292110293110294110295110296110297110298110299110300110301110302110303110304110305110306110307110308110309110310110311110312110313110314110315110316110317110318110319110320110321110322110323110324110325110326110327110328110329110330110331110332110333110334110335110336110337110338110339110340110341110342110343110344110345110346110347110348110349110350110351110352110353110354110355110356110357110358110359110360110361110362110363110364110365110366110367110368110369110370110371110372110373110374110375110376110377110378110379110380110381110382110383110384110385110386110387110388110389110390110391110392110393110394110395110396110397110398110399110400110401110402110403110404110405110406110407110408110409110410110411110412110413110414110415110416110417110418110419110420110421110422110423110424110425110426110427110428110429110430110431110432110433110434110435110436110437110438110439110440110441110442110443110444110445110446110447110448110449110450110451110452110453110454110455110456110457110458110459110460110461110462110463110464110465110466110467110468110469110470110471110472110473110474110475110476110477110478110479110480110481110482110483110484110485110486110487110488110489110490110491110492110493110494110495110496110497110498110499110500110501110502110503110504110505110506110507110508110509110510110511110512110513110514110515110516110517110518110519110520110521110522110523110524110525110526110527110528110529110530110531110532110533110534110535110536110537110538110539110540110541110542110543110544110545110546110547110548110549110550110551110552110553110554110555110556110557110558110559110560110561110562110563110564110565110566110567110568110569110570110571110572110573110574110575110576110577110578110579110580110581110582110583110584110585110586110587110588110589110590110591110592110593110594110595110596110597110598110599110600110601110602110603110604110605110606110607110608110609110610110611110612110613110614110615110616110617110618110619110620110621110622110623110624110625110626110627110628110629110630110631110632110633110634110635110636110637110638110639110640110641110642110643110644110645110646110647110648110649110650110651110652110653110654110655110656110657110658110659110660110661110662110663110664110665110666110667110668110669110670110671110672110673110674110675110676110677110678110679110680110681110682110683110684110685110686110687110688110689110690110691110692110693110694110695110696110697110698110699110700110701110702110703110704110705110706110707110708110709110710110711110712110713110714110715110716110717110718110719110720110721110722110723110724110725110726110727110728110729110730110731110732110733110734110735110736110737110738110739110740110741110742110743110744110745110746110747110748110749110750110751110752110753110754110755110756110757110758110759110760110761110762110763110764110765110766110767110768110769110770110771110772110773110774110775110776110777110778110779110780110781110782110783110784110785110786110787110788110789110790110791110792110793110794110795110796110797110798110799110800110801110802110803110804110805110806110807110808110809110810110811110812110813110814110815110816110817110818110819110820110821110822110823110824110825110826110827110828110829110830110831110832110833110834110835110836110837110838110839110840110841110842110843110844110845110846110847110848110849110850110851110852110853110854110855110856110857110858110859110860110861110862110863110864110865110866110867110868110869110870110871110872110873110874110875110876110877110878110879110880110881110882110883110884110885110886110887110888110889110890110891110892110893110894110895110896110897110898110899110900110901110902110903110904110905110906110907110908110909110910110911110912110913110914110915110916110917110918110919110920110921110922110923110924110925110926110927110928110929110930110931110932110933110934110935110936110937110938110939110940110941110942110943110944110945110946110947110948110949110950110951110952110953110954110955110956110957110958110959110960110961110962110963110964110965110966110967110968110969110970110971110972110973110974110975110976110977110978110979110980110981110982110983110984110985110986110987110988110989110990110991110992110993110994110995110996110997110998110999111000111001111002111003111004111005111006111007111008111009111010111011111012111013111014111015111016111017111018111019111020111021111022111023111024111025111026111027111028111029111030111031111032111033111034111035111036111037111038111039111040111041111042111043111044111045111046111047111048111049111050111051111052111053111054111055111056111057111058111059111060111061111062111063111064111065111066111067111068111069111070111071111072111073111074111075111076111077111078111079111080111081111082111083111084111085111086111087111088111089111090111091111092111093111094111095111096111097111098111099111100111101111102111103111104111105111106111107111108111109111110111111111112111113111114111115111116111117111118111119111120111121111122111123111124111125111126111127111128111129111130111131111132111133111134111135111136111137111138111139111140111141111142111143111144111145111146111147111148111149111150111151111152111153111154111155111156111157111158111159111160111161111162111163111164111165111166111167111168111169111170111171111172111173111174111175111176111177111178111179111180111181111182111183111184111185111186111187111188111189111190111191111192111193111194111195111196111197111198111199111200111201111202111203111204111205111206111207111208111209111210111211111212111213111214111215111216111217111218111219111220111221111222111223111224111225111226111227111228111229111230111231111232111233111234111235111236111237111238111239111240111241111242111243111244111245111246111247111248111249111250111251111252111253111254111255111256111257111258111259111260111261111262111263111264111265111266111267111268111269111270111271111272111273111274111275111276111277111278111279111280111281111282111283111284111285111286111287111288111289111290111291111292111293111294111295111296111297111298111299111300111301111302111303111304111305111306111307111308111309111310111311111312111313111314111315111316111317111318111319111320111321111322111323111324111325111326111327111328111329111330111331111332111333111334111335111336111337111338111339111340111341111342111343111344111345111346111347111348111349111350111351111352111353111354111355111356111357111358111359111360111361111362111363111364111365111366111367111368111369111370111371111372111373111374111375111376111377111378111379111380111381111382111383111384111385111386111387111388111389111390111391111392111393111394111395111396111397111398111399111400111401111402111403111404111405111406111407111408111409111410111411111412111413111414111415111416111417111418111419111420111421111422111423111424111425111426111427111428111429111430111431111432111433111434111435111436111437111438111439111440111441111442111443111444111445111446111447111448111449111450111451111452111453111454111455111456111457111458111459111460111461111462111463111464111465111466111467111468111469111470111471111472111473111474111475111476111477111478111479111480111481111482111483111484111485111486111487111488111489111490111491111492111493111494111495111496111497111498111499111500111501111502111503111504111505111506111507111508111509111510111511111512111513111514111515111516111517111518111519111520111521111522111523111524111525111526111527111528111529111530111531111532111533111534111535111536111537111538111539111540111541111542111543111544111545111546111547111548111549111550111551111552111553111554111555111556111557111558111559111560111561111562111563111564111565111566111567111568111569111570111571111572111573111574111575111576111577111578111579111580111581111582111583111584111585111586111587111588111589111590111591111592111593111594111595111596111597111598111599111600111601111602111603111604111605111606111607111608111609111610111611111612111613111614111615111616111617111618111619111620111621111622111623111624111625111626111627111628111629111630111631111632111633111634111635111636111637111638111639111640111641111642111643111644111645111646111647111648111649111650111651111652111653111654111655111656111657111658111659111660111661111662111663111664111665111666111667111668111669111670111671111672111673111674111675111676111677111678111679111680111681111682111683111684111685111686111687111688111689111690111691111692111693111694111695111696111697111698111699111700111701111702111703111704111705111706111707111708111709111710111711111712111713111714111715111716111717111718111719111720111721111722111723111724111725111726111727111728111729111730111731111732111733111734111735111736111737111738111739111740111741111742111743111744111745111746111747111748111749111750111751111752111753111754111755111756111757111758111759111760111761111762111763111764111765111766111767111768111769111770111771111772111773111774111775111776111777111778111779111780111781111782111783111784111785111786111787111788111789111790111791111792111793111794111795111796111797111798111799111800111801111802111803111804111805111806111807111808111809111810111811111812111813111814111815111816111817111818111819111820111821111822111823111824111825111826111827111828111829111830111831111832111833111834111835111836111837111838111839111840111841111842111843111844111845111846111847111848111849111850111851111852111853111854111855111856111857111858111859111860111861111862111863111864111865111866111867111868111869111870111871111872111873111874111875111876111877111878111879111880111881111882111883111884111885111886111887111888111889111890111891111892111893111894111895111896111897111898111899111900111901111902111903111904111905111906111907111908111909111910111911111912111913111914111915111916111917111918111919111920111921111922111923111924111925111926111927111928111929111930111931111932111933111934111935111936111937111938111939111940111941111942111943111944111945111946111947111948111949111950111951111952111953111954111955111956111957111958111959111960111961111962111963111964111965111966111967111968111969111970111971111972111973111974111975111976111977111978111979111980111981111982111983111984111985111986111987111988111989111990111991111992111993111994111995111996111997111998111999112000112001112002112003112004112005112006112007112008112009112010112011112012112013112014112015112016112017112018112019112020112021112022112023112024112025112026112027112028112029112030112031112032112033112034112035112036112037112038112039112040112041112042112043112044112045112046112047112048112049112050112051112052112053112054112055112056112057112058112059112060112061112062112063112064112065112066112067112068112069112070112071112072112073112074112075112076112077112078112079112080112081112082112083112084112085112086112087112088112089112090112091112092112093112094112095112096112097112098112099112100112101112102112103112104112105112106112107112108112109112110112111112112112113112114112115112116112117112118112119112120112121112122112123112124112125112126112127112128112129112130112131112132112133112134112135112136112137112138112139112140112141112142112143112144112145112146112147112148112149112150112151112152112153112154112155112156112157112158112159112160112161112162112163112164112165112166112167112168112169112170112171112172112173112174112175112176112177112178112179112180112181112182112183112184112185112186112187112188112189112190112191112192112193112194112195112196112197112198112199112200112201112202112203112204112205112206112207112208112209112210112211112212112213112214112215112216112217112218112219112220112221112222112223112224112225112226112227112228112229112230112231112232112233112234112235112236112237112238112239112240112241112242112243112244112245112246112247112248112249112250112251112252112253112254112255112256112257112258112259112260112261112262112263112264112265112266112267112268112269112270112271112272112273112274112275112276112277112278112279112280112281112282112283112284112285112286112287112288112289112290112291112292112293112294112295112296112297112298112299112300112301112302112303112304112305112306112307112308112309112310112311112312112313112314112315112316112317112318112319112320112321112322112323112324112325112326112327112328112329112330112331112332112333112334112335112336112337112338112339112340112341112342112343112344112345112346112347112348112349112350112351112352112353112354112355112356112357112358112359112360112361112362112363112364112365112366112367112368112369112370112371112372112373112374112375112376112377112378112379112380112381112382112383112384112385112386112387112388112389112390112391112392112393112394112395112396112397112398112399112400112401112402112403112404112405112406112407112408112409112410112411112412112413112414112415112416112417112418112419112420112421112422112423112424112425112426112427112428112429112430112431112432112433112434112435112436112437112438112439112440112441112442112443112444112445112446112447112448112449112450112451112452112453112454112455112456112457112458112459112460112461112462112463112464112465112466112467112468112469112470112471112472112473112474112475112476112477112478112479112480112481112482112483112484112485112486112487112488112489112490112491112492112493112494112495112496112497112498112499112500112501112502112503112504112505112506112507112508112509112510112511112512112513112514112515112516112517112518112519112520112521112522112523112524112525112526112527112528112529112530112531112532112533112534112535112536112537112538112539112540112541112542112543112544112545112546112547112548112549112550112551112552112553112554112555112556112557112558112559112560112561112562112563112564112565112566112567112568112569112570112571112572112573112574112575112576112577112578112579112580112581112582112583112584112585112586112587112588112589112590112591112592112593112594112595112596112597112598112599112600112601112602112603112604112605112606112607112608112609112610112611112612112613112614112615112616112617112618112619112620112621112622112623112624112625112626112627112628112629112630112631112632112633112634112635112636112637112638112639112640112641112642112643112644112645112646112647112648112649112650112651112652112653112654112655112656112657112658112659112660112661112662112663112664112665112666112667112668112669112670112671112672112673112674112675112676112677112678112679112680112681112682112683112684112685112686112687112688112689112690112691112692112693112694112695112696112697112698112699112700112701112702112703112704112705112706112707112708112709112710112711112712112713112714112715112716112717112718112719112720112721112722112723112724112725112726112727112728112729112730112731112732112733112734112735112736112737112738112739112740112741112742112743112744112745112746112747112748112749112750112751112752112753112754112755112756112757112758112759112760112761112762112763112764112765112766112767112768112769112770112771112772112773112774112775112776112777112778112779112780112781112782112783112784112785112786112787112788112789112790112791112792112793112794112795112796112797112798112799112800112801112802112803112804112805112806112807112808112809112810112811112812112813112814112815112816112817112818112819112820112821112822112823112824112825112826112827112828112829112830112831112832112833112834112835112836112837112838112839112840112841112842112843112844112845112846112847112848112849112850112851112852112853112854112855112856112857112858112859112860112861112862112863112864112865112866112867112868112869112870112871112872112873112874112875112876112877112878112879112880112881112882112883112884112885112886112887112888112889112890112891112892112893112894112895112896112897112898112899112900112901112902112903112904112905112906112907112908112909112910112911112912112913112914112915112916112917112918112919112920112921112922112923112924112925112926112927112928112929112930112931112932112933112934112935112936112937112938112939112940112941112942112943112944112945112946112947112948112949112950112951112952112953112954112955112956112957112958112959112960112961112962112963112964112965112966112967112968112969112970112971112972112973112974112975112976112977112978112979112980112981112982112983112984112985112986112987112988112989112990112991112992112993112994112995112996112997112998112999113000113001113002113003113004113005113006113007113008113009113010113011113012113013113014113015113016113017113018113019113020113021113022113023113024113025113026113027113028113029113030113031113032113033113034113035113036113037113038113039113040113041113042113043113044113045113046113047113048113049113050113051113052113053113054113055113056113057113058113059113060113061113062113063113064113065113066113067113068113069113070113071113072113073113074113075113076113077113078113079113080113081113082113083113084113085113086113087113088113089113090113091113092113093113094113095113096113097113098113099113100113101113102113103113104113105113106113107113108113109113110113111113112113113113114113115113116113117113118113119113120113121113122113123113124113125113126113127113128113129113130113131113132113133113134113135113136113137113138113139113140113141113142113143113144113145113146113147113148113149113150113151113152113153113154113155113156113157113158113159113160113161113162113163113164113165113166113167113168113169113170113171113172113173113174113175113176113177113178113179113180113181113182113183113184113185113186113187113188113189113190113191113192113193113194113195113196113197113198113199113200113201113202113203113204113205113206113207113208113209113210113211113212113213113214113215113216113217113218113219113220113221113222113223113224113225113226113227113228113229113230113231113232113233113234113235113236113237113238113239113240113241113242113243113244113245113246113247113248113249113250113251113252113253113254113255113256113257113258113259113260113261113262113263113264113265113266113267113268113269113270113271113272113273113274113275113276113277113278113279113280113281113282113283113284113285113286113287113288113289113290113291113292113293113294113295113296113297113298113299113300113301113302113303113304113305113306113307113308113309113310113311113312113313113314113315113316113317113318113319113320113321113322113323113324113325113326113327113328113329113330113331113332113333113334113335113336113337113338113339113340113341113342113343113344113345113346113347113348113349113350113351113352113353113354113355113356113357113358113359113360113361113362113363113364113365113366113367113368113369113370113371113372113373113374113375113376113377113378113379113380113381113382113383113384113385113386113387113388113389113390113391113392113393113394113395113396113397113398113399113400113401113402113403113404113405113406113407113408113409113410113411113412113413113414113415113416113417113418113419113420113421113422113423113424113425113426113427113428113429113430113431113432113433113434113435113436113437113438113439113440113441113442113443113444113445113446113447113448113449113450113451113452113453113454113455113456113457113458113459113460113461113462113463113464113465113466113467113468113469113470113471113472113473113474113475113476113477113478113479113480113481113482113483113484113485113486113487113488113489113490113491113492113493113494113495113496113497113498113499113500113501113502113503113504113505113506113507113508113509113510113511113512113513113514113515113516113517113518113519113520113521113522113523113524113525113526113527113528113529113530113531113532113533113534113535113536113537113538113539113540113541113542113543113544113545113546113547113548113549113550113551113552113553113554113555113556113557113558113559113560113561113562113563113564113565113566113567113568113569113570113571113572113573113574113575113576113577113578113579113580113581113582113583113584113585113586113587113588113589113590113591113592113593113594113595113596113597113598113599113600113601113602113603113604113605113606113607113608113609113610113611113612113613113614113615113616113617113618113619113620113621113622113623113624113625113626113627113628113629113630113631113632113633113634113635113636113637113638113639113640113641113642113643113644113645113646113647113648113649113650113651113652113653113654113655113656113657113658113659113660113661113662113663113664113665113666113667113668113669113670113671113672113673113674113675113676113677113678113679113680113681113682113683113684113685113686113687113688113689113690113691113692113693113694113695113696113697113698113699113700113701113702113703113704113705113706113707113708113709113710113711113712113713113714113715113716113717113718113719113720113721113722113723113724113725113726113727113728113729113730113731113732113733113734113735113736113737113738113739113740113741113742113743113744113745113746113747113748113749113750113751113752113753113754113755113756113757113758113759113760113761113762113763113764113765113766113767113768113769113770113771113772113773113774113775113776113777113778113779113780113781113782113783113784113785113786113787113788113789113790113791113792113793113794113795113796113797113798113799113800113801113802113803113804113805113806113807113808113809113810113811113812113813113814113815113816113817113818113819113820113821113822113823113824113825113826113827113828113829113830113831113832113833113834113835113836113837113838113839113840113841113842113843113844113845113846113847113848113849113850113851113852113853113854113855113856113857113858113859113860113861113862113863113864113865113866113867113868113869113870113871113872113873113874113875113876113877113878113879113880113881113882113883113884113885113886113887113888113889113890113891113892113893113894113895113896113897113898113899113900113901113902113903113904113905113906113907113908113909113910113911113912113913113914113915113916113917113918113919113920113921113922113923113924113925113926113927113928113929113930113931113932113933113934113935113936113937113938113939113940113941113942113943113944113945113946113947113948113949113950113951113952113953113954113955113956113957113958113959113960113961113962113963113964113965113966113967113968113969113970113971113972113973113974113975113976113977113978113979113980113981113982113983113984113985113986113987113988113989113990113991113992113993113994113995113996113997113998113999114000114001114002114003114004114005114006114007114008114009114010114011114012114013114014114015114016114017114018114019114020114021114022114023114024114025114026114027114028114029114030114031114032114033114034114035114036114037114038114039114040114041114042114043114044114045114046114047114048114049114050114051114052114053114054114055114056114057114058114059114060114061114062114063114064114065114066114067114068114069114070114071114072114073114074114075114076114077114078114079114080114081114082114083114084114085114086114087114088114089114090114091114092114093114094114095114096114097114098114099114100114101114102114103114104114105114106114107114108114109114110114111114112114113114114114115114116114117114118114119114120114121114122114123114124114125114126114127114128114129114130114131114132114133114134114135114136114137114138114139114140114141114142114143114144114145114146114147114148114149114150114151114152114153114154114155114156114157114158114159114160114161114162114163114164114165114166114167114168114169114170114171114172114173114174114175114176114177114178114179114180114181114182114183114184114185114186114187114188114189114190114191114192114193114194114195114196114197114198114199114200114201114202114203114204114205114206114207114208114209114210114211114212114213114214114215114216114217114218114219114220114221114222114223114224114225114226114227114228114229114230114231114232114233114234114235114236114237114238114239114240114241114242114243114244114245114246114247114248114249114250114251114252114253114254114255114256114257114258114259114260114261114262114263114264114265114266114267114268114269114270114271114272114273114274114275114276114277114278114279114280114281114282114283114284114285114286114287114288114289114290114291114292114293114294114295114296114297114298114299114300114301114302114303114304114305114306114307114308114309114310114311114312114313114314114315114316114317114318114319114320114321114322114323114324114325114326114327114328114329114330114331114332114333114334114335114336114337114338114339114340114341114342114343114344114345114346114347114348114349114350114351114352114353114354114355114356114357114358114359114360114361114362114363114364114365114366114367114368114369114370114371114372114373114374114375114376114377114378114379114380114381114382114383114384114385114386114387114388114389114390114391114392114393114394114395114396114397114398114399114400114401114402114403114404114405114406114407114408114409114410114411114412114413114414114415114416114417114418114419114420114421114422114423114424114425114426114427114428114429114430114431114432114433114434114435114436114437114438114439114440114441114442114443114444114445114446114447114448114449114450114451114452114453114454114455114456114457114458114459114460114461114462114463114464114465114466114467114468114469114470114471114472114473114474114475114476114477114478114479114480114481114482114483114484114485114486114487114488114489114490114491114492114493114494114495114496114497114498114499114500114501114502114503114504114505114506114507114508114509114510114511114512114513114514114515114516114517114518114519114520114521114522114523114524114525114526114527114528114529114530114531114532114533114534114535114536114537114538114539114540114541114542114543114544114545114546114547114548114549114550114551114552114553114554114555114556114557114558114559114560114561114562114563114564114565114566114567114568114569114570114571114572114573114574114575114576114577114578114579114580114581114582114583114584114585114586114587114588114589114590114591114592114593114594114595114596114597114598114599114600114601114602114603114604114605114606114607114608114609114610114611114612114613114614114615114616114617114618114619114620114621114622114623114624114625114626114627114628114629114630114631114632114633114634114635114636114637114638114639114640114641114642114643114644114645114646114647114648114649114650114651114652114653114654114655114656114657114658114659114660114661114662114663114664114665114666114667114668114669114670114671114672114673114674114675114676114677114678114679114680114681114682114683114684114685114686114687114688114689114690114691114692114693114694114695114696114697114698114699114700114701114702114703114704114705114706114707114708114709114710114711114712114713114714114715114716114717114718114719114720114721114722114723114724114725114726114727114728114729114730114731114732114733114734114735114736114737114738114739114740114741114742114743114744114745114746114747114748114749114750114751114752114753114754114755114756114757114758114759114760114761114762114763114764114765114766114767114768114769114770114771114772114773114774114775114776114777114778114779114780114781114782114783114784114785114786114787114788114789114790114791114792114793114794114795114796114797114798114799114800114801114802114803114804114805114806114807114808114809114810114811114812114813114814114815114816114817114818114819114820114821114822114823114824114825114826114827114828114829114830114831114832114833114834114835114836114837114838114839114840114841114842114843114844114845114846114847114848114849114850114851114852114853114854114855114856114857114858114859114860114861114862114863114864114865114866114867114868114869114870114871114872114873114874114875114876114877114878114879114880114881114882114883114884114885114886114887114888114889114890114891114892114893114894114895114896114897114898114899114900114901114902114903114904114905114906114907114908114909114910114911114912114913114914114915114916114917114918114919114920114921114922114923114924114925114926114927114928114929114930114931114932114933114934114935114936114937114938114939114940114941114942114943114944114945114946114947114948114949114950114951114952114953114954114955114956114957114958114959114960114961114962114963114964114965114966114967114968114969114970114971114972114973114974114975114976114977114978114979114980114981114982114983114984114985114986114987114988114989114990114991114992114993114994114995114996114997114998114999115000115001115002115003115004115005115006115007115008115009115010115011115012115013115014115015115016115017115018115019115020115021115022115023115024115025115026115027115028115029115030115031115032115033115034115035115036115037115038115039115040115041115042115043115044115045115046115047115048115049115050115051115052115053115054115055115056115057115058115059115060115061115062115063115064115065115066115067115068115069115070115071115072115073115074115075115076115077115078115079115080115081115082115083115084115085115086115087115088115089115090115091115092115093115094115095115096115097115098115099115100115101115102115103115104115105115106115107115108115109115110115111115112115113115114115115115116115117115118115119115120115121115122115123115124115125115126115127115128115129115130115131115132115133115134115135115136115137115138115139115140115141115142115143115144115145115146115147115148115149115150115151115152115153115154115155115156115157115158115159115160115161115162115163115164115165115166115167115168115169115170115171115172115173115174115175115176115177115178115179115180115181115182115183115184115185115186115187115188115189115190115191115192115193115194115195115196115197115198115199115200115201115202115203115204115205115206115207115208115209115210115211115212115213115214115215115216115217115218115219115220115221115222115223115224115225115226115227115228115229115230115231115232115233115234115235115236115237115238115239115240115241115242115243115244115245115246115247115248115249115250115251115252115253115254115255115256115257115258115259115260115261115262115263115264115265115266115267115268115269115270115271115272115273115274115275115276115277115278115279115280115281115282115283115284115285115286115287115288115289115290115291115292115293115294115295115296115297115298115299115300115301115302115303115304115305115306115307115308115309115310115311115312115313115314115315115316115317115318115319115320115321115322115323115324115325115326115327115328115329115330115331115332115333115334115335115336115337115338115339115340115341115342115343115344115345115346115347115348115349115350115351115352115353115354115355115356115357115358115359115360115361115362115363115364115365115366115367115368115369115370115371115372115373115374115375115376115377115378115379115380115381115382115383115384115385115386115387115388115389115390115391115392115393115394115395115396115397115398115399115400115401115402115403115404115405115406115407115408115409115410115411115412115413115414115415115416115417115418115419115420115421115422115423115424115425115426115427115428115429115430115431115432115433115434115435115436115437115438115439115440115441115442115443115444115445115446115447115448115449115450115451115452115453115454115455115456115457115458115459115460115461115462115463115464115465115466115467115468115469115470115471115472115473115474115475115476115477115478115479115480115481115482115483115484115485115486115487115488115489115490115491115492115493115494115495115496115497115498115499115500115501115502115503115504115505115506115507115508115509115510115511115512115513115514115515115516115517115518115519115520115521115522115523115524115525115526115527115528115529115530115531115532115533115534115535115536115537115538115539115540115541115542115543115544115545115546115547115548115549115550115551115552115553115554115555115556115557115558115559115560115561115562115563115564115565115566115567115568115569115570115571115572115573115574115575115576115577115578115579115580115581115582115583115584115585115586115587115588115589115590115591115592115593115594115595115596115597115598115599115600115601115602115603115604115605115606115607115608115609115610115611115612115613115614115615115616115617115618115619115620115621115622115623115624115625115626115627115628115629115630115631115632115633115634115635115636115637115638115639115640115641115642115643115644115645115646115647115648115649115650115651115652115653115654115655115656115657115658115659115660115661115662115663115664115665115666115667115668115669115670115671115672115673115674115675115676115677115678115679115680115681115682115683115684115685115686115687115688115689115690115691115692115693115694115695115696115697115698115699115700115701115702115703115704115705115706115707115708115709115710115711115712115713115714115715115716115717115718115719115720115721115722115723115724115725115726115727115728115729115730115731115732115733115734115735115736115737115738115739115740115741115742115743115744115745115746115747115748115749115750115751115752115753115754115755115756115757115758115759115760115761115762115763115764115765115766115767115768115769115770115771115772115773115774115775115776115777115778115779115780115781115782115783115784115785115786115787115788115789115790115791115792115793115794115795115796115797115798115799115800115801115802115803115804115805115806115807115808115809115810115811115812115813115814115815115816115817115818115819115820115821115822115823115824115825115826115827115828115829115830115831115832115833115834115835115836115837115838115839115840115841115842115843115844115845115846115847115848115849115850115851115852115853115854115855115856115857115858115859115860115861115862115863115864115865115866115867115868115869115870115871115872115873115874115875115876115877115878115879115880115881115882115883115884115885115886115887115888115889115890115891115892115893115894115895115896115897115898115899115900115901115902115903115904115905115906115907115908115909115910115911115912115913115914115915115916115917115918115919115920115921115922115923115924115925115926115927115928115929115930115931115932115933115934115935115936115937115938115939115940115941115942115943115944115945115946115947115948115949115950115951115952115953115954115955115956115957115958115959115960115961115962115963115964115965115966115967115968115969115970115971115972115973115974115975115976115977115978115979115980115981115982115983115984115985115986115987115988115989115990115991115992115993115994115995115996115997115998115999116000116001116002116003116004116005116006116007116008116009116010116011116012116013116014116015116016116017116018116019116020116021116022116023116024116025116026116027116028116029116030116031116032116033116034116035116036116037116038116039116040116041116042116043116044116045116046116047116048116049116050116051116052116053116054116055116056116057116058116059116060116061116062116063116064116065116066116067116068116069116070116071116072116073116074116075116076116077116078116079116080116081116082116083116084116085116086116087116088116089116090116091116092116093116094116095116096116097116098116099116100116101116102116103116104116105116106116107116108116109116110116111116112116113116114116115116116116117116118116119116120116121116122116123116124116125116126116127116128116129116130116131116132116133116134116135116136116137116138116139116140116141116142116143116144116145116146116147116148116149116150116151116152116153116154116155116156116157116158116159116160116161116162116163116164116165116166116167116168116169116170116171116172116173116174116175116176116177116178116179116180116181116182116183116184116185116186116187116188116189116190116191116192116193116194116195116196116197116198116199116200116201116202116203116204116205116206116207116208116209116210116211116212116213116214116215116216116217116218116219116220116221116222116223116224116225116226116227116228116229116230116231116232116233116234116235116236116237116238116239116240116241116242116243116244116245116246116247116248116249116250116251116252116253116254116255116256116257116258116259116260116261116262116263116264116265116266116267116268116269116270116271116272116273116274116275116276116277116278116279116280116281116282116283116284116285116286116287116288116289116290116291116292116293116294116295116296116297116298116299116300116301116302116303116304116305116306116307116308116309116310116311116312116313116314116315116316116317116318116319116320116321116322116323116324116325116326116327116328116329116330116331116332116333116334116335116336116337116338116339116340116341116342116343116344116345116346116347116348116349116350116351116352116353116354116355116356116357116358116359116360116361116362116363116364116365116366116367116368116369116370116371116372116373116374116375116376116377116378116379116380116381116382116383116384116385116386116387116388116389116390116391116392116393116394116395116396116397116398116399116400116401116402116403116404116405116406116407116408116409116410116411116412116413116414116415116416116417116418116419116420116421116422116423116424116425116426116427116428116429116430116431116432116433116434116435116436116437116438116439116440116441116442116443116444116445116446116447116448116449116450116451116452116453116454116455116456116457116458116459116460116461116462116463116464116465116466116467116468116469116470116471116472116473116474116475116476116477116478116479116480116481116482116483116484116485116486116487116488116489116490116491116492116493116494116495116496116497116498116499116500116501116502116503116504116505116506116507116508116509116510116511116512116513116514116515116516116517116518116519116520116521116522116523116524116525116526116527116528116529116530116531116532116533116534116535116536116537116538116539116540116541116542116543116544116545116546116547116548116549116550116551116552116553116554116555116556116557116558116559116560116561116562116563116564116565116566116567116568116569116570116571116572116573116574116575116576116577116578116579116580116581116582116583116584116585116586116587116588116589116590116591116592116593116594116595116596116597116598116599116600116601116602116603116604116605116606116607116608116609116610116611116612116613116614116615116616116617116618116619116620116621116622116623116624116625116626116627116628116629116630116631116632116633116634116635116636116637116638116639116640116641116642116643116644116645116646116647116648116649116650116651116652116653116654116655116656116657116658116659116660116661116662116663116664116665116666116667116668116669116670116671116672116673116674116675116676116677116678116679116680116681116682116683116684116685116686116687116688116689116690116691116692116693116694116695116696116697116698116699116700116701116702116703116704116705116706116707116708116709116710116711116712116713116714116715116716116717116718116719116720116721116722116723116724116725116726116727116728116729116730116731116732116733116734116735116736116737116738116739116740116741116742116743116744116745116746116747116748116749116750116751116752116753116754116755116756116757116758116759116760116761116762116763116764116765116766116767116768116769116770116771116772116773116774116775116776116777116778116779116780116781116782116783116784116785116786116787116788116789116790116791116792116793116794116795116796116797116798116799116800116801116802116803116804116805116806116807116808116809116810116811116812116813116814116815116816116817116818116819116820116821116822116823116824116825116826116827116828116829116830116831116832116833116834116835116836116837116838116839116840116841116842116843116844116845116846116847116848116849116850116851116852116853116854116855116856116857116858116859116860116861116862116863116864116865116866116867116868116869116870116871116872116873116874116875116876116877116878116879116880116881116882116883116884116885116886116887116888116889116890116891116892116893116894116895116896116897116898116899116900116901116902116903116904116905116906116907116908116909116910116911116912116913116914116915116916116917116918116919116920116921116922116923116924116925116926116927116928116929116930116931116932116933116934116935116936116937116938116939116940116941116942116943116944116945116946116947116948116949116950116951116952116953116954116955116956116957116958116959116960116961116962116963116964116965116966116967116968116969116970116971116972116973116974116975116976116977116978116979116980116981116982116983116984116985116986116987116988116989116990116991116992116993116994116995116996116997116998116999117000117001117002117003117004117005117006117007117008117009117010117011117012117013117014117015117016117017117018117019117020117021117022117023117024117025117026117027117028117029117030117031117032117033117034117035117036117037117038117039117040117041117042117043117044117045117046117047117048117049117050117051117052117053117054117055117056117057117058117059117060117061117062117063117064117065117066117067117068117069117070117071117072117073117074117075117076117077117078117079117080117081117082117083117084117085117086117087117088117089117090117091117092117093117094117095117096117097117098117099117100117101117102117103117104117105117106117107117108117109117110117111117112117113117114117115117116117117117118117119117120117121117122117123117124117125117126117127117128117129117130117131117132117133117134117135117136117137117138117139117140117141117142117143117144117145117146117147117148117149117150117151117152117153117154117155117156117157117158117159117160117161117162117163117164117165117166117167117168117169117170117171117172117173117174117175117176117177117178117179117180117181117182117183117184117185117186117187117188117189117190117191117192117193117194117195117196117197117198117199117200117201117202117203117204117205117206117207117208117209117210117211117212117213117214117215117216117217117218117219117220117221117222117223117224117225117226117227117228117229117230117231117232117233117234117235117236117237117238117239117240117241117242117243117244117245117246117247117248117249117250117251117252117253117254117255117256117257117258117259117260117261117262117263117264117265117266117267117268117269117270117271117272117273117274117275117276117277117278117279117280117281117282117283117284117285117286117287117288117289117290117291117292117293117294117295117296117297117298117299117300117301117302117303117304117305117306117307117308117309117310117311117312117313117314117315117316117317117318117319117320117321117322117323117324117325117326117327117328117329117330117331117332117333117334117335117336117337117338117339117340117341117342117343117344117345117346117347117348117349117350117351117352117353117354117355117356117357117358117359117360117361117362117363117364117365117366117367117368117369117370117371117372117373117374117375117376117377117378117379117380117381117382117383117384117385117386117387117388117389117390117391117392117393117394117395117396117397117398117399117400117401117402117403117404117405117406117407117408117409117410117411117412117413117414117415117416117417117418117419117420117421117422117423117424117425117426117427117428117429117430117431117432117433117434117435117436117437117438117439117440117441117442117443117444117445117446117447117448117449117450117451117452117453117454117455117456117457117458117459117460117461117462117463117464117465117466117467117468117469117470117471117472117473117474117475117476117477117478117479117480117481117482117483117484117485117486117487117488117489117490117491117492117493117494117495117496117497117498117499117500117501117502117503117504117505117506117507117508117509117510117511117512117513117514117515117516117517117518117519117520117521117522117523117524117525117526117527117528117529117530117531117532117533117534117535117536117537117538117539117540117541117542117543117544117545117546117547117548117549117550117551117552117553117554117555117556117557117558117559117560117561117562117563117564117565117566117567117568117569117570117571117572117573117574117575117576117577117578117579117580117581117582117583117584117585117586117587117588117589117590117591117592117593117594117595117596117597117598117599117600117601117602117603117604117605117606117607117608117609117610117611117612117613117614117615117616117617117618117619117620117621117622117623117624117625117626117627117628117629117630117631117632117633117634117635117636117637117638117639117640117641117642117643117644117645117646117647117648117649117650117651117652117653117654117655117656117657117658117659117660117661117662117663117664117665117666117667117668117669117670117671117672117673117674117675117676117677117678117679117680117681117682117683117684117685117686117687117688117689117690117691117692117693117694117695117696117697117698117699117700117701117702117703117704117705117706117707117708117709117710117711117712117713117714117715117716117717117718117719117720117721117722117723117724117725117726117727117728117729117730117731117732117733117734117735117736117737117738117739117740117741117742117743117744117745117746117747117748117749117750117751117752117753117754117755117756117757117758117759117760117761117762117763117764117765117766117767117768117769117770117771117772117773117774117775117776117777117778117779117780117781117782117783117784117785117786117787117788117789117790117791117792117793117794117795117796117797117798117799117800117801117802117803117804117805117806117807117808117809117810117811117812117813117814117815117816117817117818117819117820117821117822117823117824117825117826117827117828117829117830117831117832117833117834117835117836117837117838117839117840117841117842117843117844117845117846117847117848117849117850117851117852117853117854117855117856117857117858117859117860117861117862117863117864117865117866117867117868117869117870117871117872117873117874117875117876117877117878117879117880117881117882117883117884117885117886117887117888117889117890117891117892117893117894117895117896117897117898117899117900117901117902117903117904117905117906117907117908117909117910117911117912117913117914117915117916117917117918117919117920117921117922117923117924117925117926117927117928117929117930117931117932117933117934117935117936117937117938117939117940117941117942117943117944117945117946117947117948117949117950117951117952117953117954117955117956117957117958117959117960117961117962117963117964117965117966117967117968117969117970117971117972117973117974117975117976117977117978117979117980117981117982117983117984117985117986117987117988117989117990117991117992117993117994117995117996117997117998117999118000118001118002118003118004118005118006118007118008118009118010118011118012118013118014118015118016118017118018118019118020118021118022118023118024118025118026118027118028118029118030118031118032118033118034118035118036118037118038118039118040118041118042118043118044118045118046118047118048118049118050118051118052118053118054118055118056118057118058118059118060118061118062118063118064118065118066118067118068118069118070118071118072118073118074118075118076118077118078118079118080118081118082118083118084118085118086118087118088118089118090118091118092118093118094118095118096118097118098118099118100118101118102118103118104118105118106118107118108118109118110118111118112118113118114118115118116118117118118118119118120118121118122118123118124118125118126118127118128118129118130118131118132118133118134118135118136118137118138118139118140118141118142118143118144118145118146118147118148118149118150118151118152118153118154118155118156118157118158118159118160118161118162118163118164118165118166118167118168118169118170118171118172118173118174118175118176118177118178118179118180118181118182118183118184118185118186118187118188118189118190118191118192118193118194118195118196118197118198118199118200118201118202118203118204118205118206118207118208118209118210118211118212118213118214118215118216118217118218118219118220118221118222118223118224118225118226118227118228118229118230118231118232118233118234118235118236118237118238118239118240118241118242118243118244118245118246118247118248118249118250118251118252118253118254118255118256118257118258118259118260118261118262118263118264118265118266118267118268118269118270118271118272118273118274118275118276118277118278118279118280118281118282118283118284118285118286118287118288118289118290118291118292118293118294118295118296118297118298118299118300118301118302118303118304118305118306118307118308118309118310118311118312118313118314118315118316118317118318118319118320118321118322118323118324118325118326118327118328118329118330118331118332118333118334118335118336118337118338118339118340118341118342118343118344118345118346118347118348118349118350118351118352118353118354118355118356118357118358118359118360118361118362118363118364118365118366118367118368118369118370118371118372118373118374118375118376118377118378118379118380118381118382118383118384118385118386118387118388118389118390118391118392118393118394118395118396118397118398118399118400118401118402118403118404118405118406118407118408118409118410118411118412118413118414118415118416118417118418118419118420118421118422118423118424118425118426118427118428118429118430118431118432118433118434118435118436118437118438118439118440118441118442118443118444118445118446118447118448118449118450118451118452118453118454118455118456118457118458118459118460118461118462118463118464118465118466118467118468118469118470118471118472118473118474118475118476118477118478118479118480118481118482118483118484118485118486118487118488118489118490118491118492118493118494118495118496118497118498118499118500118501118502118503118504118505118506118507118508118509118510118511118512118513118514118515118516118517118518118519118520118521118522118523118524118525118526118527118528118529118530118531118532118533118534118535118536118537118538118539118540118541118542118543118544118545118546118547118548118549118550118551118552118553118554118555118556118557118558118559118560118561118562118563118564118565118566118567118568118569118570118571118572118573118574118575118576118577118578118579118580118581118582118583118584118585118586118587118588118589118590118591118592118593118594118595118596118597118598118599118600118601118602118603118604118605118606118607118608118609118610118611118612118613118614118615118616118617118618118619118620118621118622118623118624118625118626118627118628118629118630118631118632118633118634118635118636118637118638118639118640118641118642118643118644118645118646118647118648118649118650118651118652118653118654118655118656118657118658118659118660118661118662118663118664118665118666118667118668118669118670118671118672118673118674118675118676118677118678118679118680118681118682118683118684118685118686118687118688118689118690118691118692118693118694118695118696118697118698118699118700118701118702118703118704118705118706118707118708118709118710118711118712118713118714118715118716118717118718118719118720118721118722118723118724118725118726118727118728118729118730118731118732118733118734118735118736118737118738118739118740118741118742118743118744118745118746118747118748118749118750118751118752118753118754118755118756118757118758118759118760118761118762118763118764118765118766118767118768118769118770118771118772118773118774118775118776118777118778118779118780118781118782118783118784118785118786118787118788118789118790118791118792118793118794118795118796118797118798118799118800118801118802118803118804118805118806118807118808118809118810118811118812118813118814118815118816118817118818118819118820118821118822118823118824118825118826118827118828118829118830118831118832118833118834118835118836118837118838118839118840118841118842118843118844118845118846118847118848118849118850118851118852118853118854118855118856118857118858118859118860118861118862118863118864118865118866118867118868118869118870118871118872118873118874118875118876118877118878118879118880118881118882118883118884118885118886118887118888118889118890118891118892118893118894118895118896118897118898118899118900118901118902118903118904118905118906118907118908118909118910118911118912118913118914118915118916118917118918118919118920118921118922118923118924118925118926118927118928118929118930118931118932118933118934118935118936118937118938118939118940118941118942118943118944118945118946118947118948118949118950118951118952118953118954118955118956118957118958118959118960118961118962118963118964118965118966118967118968118969118970118971118972118973118974118975118976118977118978118979118980118981118982118983118984118985118986118987118988118989118990118991118992118993118994118995118996118997118998118999119000119001119002119003119004119005119006119007119008119009119010119011119012119013119014119015119016119017119018119019119020119021119022119023119024119025119026119027119028119029119030119031119032119033119034119035119036119037119038119039119040119041119042119043119044119045119046119047119048119049119050119051119052119053119054119055119056119057119058119059119060119061119062119063119064119065119066119067119068119069119070119071119072119073119074119075119076119077119078119079119080119081119082119083119084119085119086119087119088119089119090119091119092119093119094119095119096119097119098119099119100119101119102119103119104119105119106119107119108119109119110119111119112119113119114119115119116119117119118119119119120119121119122119123119124119125119126119127119128119129119130119131119132119133119134119135119136119137119138119139119140119141119142119143119144119145119146119147119148119149119150119151119152119153119154119155119156119157119158119159119160119161119162119163119164119165119166119167119168119169119170119171119172119173119174119175119176119177119178119179119180119181119182119183119184119185119186119187119188119189119190119191119192119193119194119195119196119197119198119199119200119201119202119203119204119205119206119207119208119209119210119211119212119213119214119215119216119217119218119219119220119221119222119223119224119225119226119227119228119229119230119231119232119233119234119235119236119237119238119239119240119241119242119243119244119245119246119247119248119249119250119251119252119253119254119255119256119257119258119259119260119261119262119263119264119265119266119267119268119269119270119271119272119273119274119275119276119277119278119279119280119281119282119283119284119285119286119287119288119289119290119291119292119293119294119295119296119297119298119299119300119301119302119303119304119305119306119307119308119309119310119311119312119313119314119315119316119317119318119319119320119321119322119323119324119325119326119327119328119329119330119331119332119333119334119335119336119337119338119339119340119341119342119343119344119345119346119347119348119349119350119351119352119353119354119355119356119357119358119359119360119361119362119363119364119365119366119367119368119369119370119371119372119373119374119375119376119377119378119379119380119381119382119383119384119385119386119387119388119389119390119391119392119393119394119395119396119397119398119399119400119401119402119403119404119405119406119407119408119409119410119411119412119413119414119415119416119417119418119419119420119421119422119423119424119425119426119427119428119429119430119431119432119433119434119435119436119437119438119439119440119441119442119443119444119445119446119447119448119449119450119451119452119453119454119455119456119457119458119459119460119461119462119463119464119465119466119467119468119469119470119471119472119473119474119475119476119477119478119479119480119481119482119483119484119485119486119487119488119489119490119491119492119493119494119495119496119497119498119499119500119501119502119503119504119505119506119507119508119509119510119511119512119513119514119515119516119517119518119519119520119521119522119523119524119525119526119527119528119529119530119531119532119533119534119535119536119537119538119539119540119541119542119543119544119545119546119547119548119549119550119551119552119553119554119555119556119557119558119559119560119561119562119563119564119565119566119567119568119569119570119571119572119573119574119575119576119577119578119579119580119581119582119583119584119585119586119587119588119589119590119591119592119593119594119595119596119597119598119599119600119601119602119603119604119605119606119607119608119609119610119611119612119613119614119615119616119617119618119619119620119621119622119623119624119625119626119627119628119629119630119631119632119633119634119635119636119637119638119639119640119641119642119643119644119645119646119647119648119649119650119651119652119653119654119655119656119657119658119659119660119661119662119663119664119665119666119667119668119669119670119671119672119673119674119675119676119677119678119679119680119681119682119683119684119685119686119687119688119689119690119691119692119693119694119695119696119697119698119699119700119701119702119703119704119705119706119707119708119709119710119711119712119713119714119715119716119717119718119719119720119721119722119723119724119725119726119727119728119729119730119731119732119733119734119735119736119737119738119739119740119741119742119743119744119745119746119747119748119749119750119751119752119753119754119755119756119757119758119759119760119761119762119763119764119765119766119767119768119769119770119771119772119773119774119775119776119777119778119779119780119781119782119783119784119785119786119787119788119789119790119791119792119793119794119795119796119797119798119799119800119801119802119803119804119805119806119807119808119809119810119811119812119813119814119815119816119817119818119819119820119821119822119823119824119825119826119827119828119829119830119831119832119833119834119835119836119837119838119839119840119841119842119843119844119845119846119847119848119849119850119851119852119853119854119855119856119857119858119859119860119861119862119863119864119865119866119867119868119869119870119871119872119873119874119875119876119877119878119879119880119881119882119883119884119885119886119887119888119889119890119891119892119893119894119895119896119897119898119899119900119901119902119903119904119905119906119907119908119909119910119911119912119913119914119915119916119917119918119919119920119921119922119923119924119925119926119927119928119929119930119931119932119933119934119935119936119937119938119939119940119941119942119943119944119945119946119947119948119949119950119951119952119953119954119955119956119957119958119959119960119961119962119963119964119965119966119967119968119969119970119971119972119973119974119975119976119977119978119979119980119981119982119983119984119985119986119987119988119989119990119991119992119993119994119995119996119997119998119999120000120001120002120003120004120005120006120007120008120009120010120011120012120013120014120015120016120017120018120019120020120021120022120023120024120025120026120027120028120029120030120031120032120033120034120035120036120037120038120039120040120041120042120043120044120045120046120047120048120049120050120051120052120053120054120055120056120057120058120059120060120061120062120063120064120065120066120067120068120069120070120071120072120073120074120075120076120077120078120079120080120081120082120083120084120085120086120087120088120089120090120091120092120093120094120095120096120097120098120099120100120101120102120103120104120105120106120107120108120109120110120111120112120113120114120115120116120117120118120119120120120121120122120123120124120125120126120127120128120129120130120131120132120133120134120135120136120137120138120139120140120141120142120143120144120145120146120147120148120149120150120151120152120153120154120155120156120157120158120159120160120161120162120163120164120165120166120167120168120169120170120171120172120173120174120175120176120177120178120179120180120181120182120183120184120185120186120187120188120189120190120191120192120193120194120195120196120197120198120199120200120201120202120203120204120205120206120207120208120209120210120211120212120213120214120215120216120217120218120219120220120221120222120223120224120225120226120227120228120229120230120231120232120233120234120235120236120237120238120239120240120241120242120243120244120245120246120247120248120249120250120251120252120253120254120255120256120257120258120259120260120261120262120263120264120265120266120267120268120269120270120271120272120273120274120275120276120277120278120279120280120281120282120283120284120285120286120287120288120289120290120291120292120293120294120295120296120297120298120299120300120301120302120303120304120305120306120307120308120309120310120311120312120313120314120315120316120317120318120319120320120321120322120323120324120325120326120327120328120329120330120331120332120333120334120335120336120337120338120339120340120341120342120343120344120345120346120347120348120349120350120351120352120353120354120355120356120357120358120359120360120361120362120363120364120365120366120367120368120369120370120371120372120373120374120375120376120377120378120379120380120381120382120383120384120385120386120387120388120389120390120391120392120393120394120395120396120397120398120399120400120401120402120403120404120405120406120407120408120409120410120411120412120413120414120415120416120417120418120419120420120421120422120423120424120425120426120427120428120429120430120431120432120433120434120435120436120437120438120439120440120441120442120443120444120445120446120447120448120449120450120451120452120453120454120455120456120457120458120459120460120461120462120463120464120465120466120467120468120469120470120471120472120473120474120475120476120477120478120479120480120481120482120483120484120485120486120487120488120489120490120491120492120493120494120495120496120497120498120499120500120501120502120503120504120505120506120507120508120509120510120511120512120513120514120515120516120517120518120519120520120521120522120523120524120525120526120527120528120529120530120531120532120533120534120535120536120537120538120539120540120541120542120543120544120545120546120547120548120549120550120551120552120553120554120555120556120557120558120559120560120561120562120563120564120565120566120567120568120569120570120571120572120573120574120575120576120577120578120579120580120581120582120583120584120585120586120587120588120589120590120591120592120593120594120595120596120597120598120599120600120601120602120603120604120605120606120607120608120609120610120611120612120613120614120615120616120617120618120619120620120621120622120623120624120625120626120627120628120629120630120631120632120633120634120635120636120637120638120639120640120641120642120643120644120645120646120647120648120649120650120651120652120653120654120655120656120657120658120659120660120661120662120663120664120665120666120667120668120669120670120671120672120673120674120675120676120677120678120679120680120681120682120683120684120685120686120687120688120689120690120691120692120693120694120695120696120697120698120699120700120701120702120703120704120705120706120707120708120709120710120711120712120713120714120715120716120717120718120719120720120721120722120723120724120725120726120727120728120729120730120731120732120733120734120735120736120737120738120739120740120741120742120743120744120745120746120747120748120749120750120751120752120753120754120755120756120757120758120759120760120761120762120763120764120765120766120767120768120769120770120771120772120773120774120775120776120777120778120779120780120781120782120783120784120785120786120787120788120789120790120791120792120793120794120795120796120797120798120799120800120801120802120803120804120805120806120807120808120809120810120811120812120813120814120815120816120817120818120819120820120821120822120823120824120825120826120827120828120829120830120831120832120833120834120835120836120837120838120839120840120841120842120843120844120845120846120847120848120849120850120851120852120853120854120855120856120857120858120859120860120861120862120863120864120865120866120867120868120869120870120871120872120873120874120875120876120877120878120879120880120881120882120883120884120885120886120887120888120889120890120891120892120893120894120895120896120897120898120899120900120901120902120903120904120905120906120907120908120909120910120911120912120913120914120915120916120917120918120919120920120921120922120923120924120925120926120927120928120929120930120931120932120933120934120935120936120937120938120939120940120941120942120943120944120945120946120947120948120949120950120951120952120953120954120955120956120957120958120959120960120961120962120963120964120965120966120967120968120969120970120971120972120973120974120975120976120977120978120979120980120981120982120983120984120985120986120987120988120989120990120991120992120993120994120995120996120997120998120999121000121001121002121003121004121005121006121007121008121009121010121011121012121013121014121015121016121017121018121019121020121021121022121023121024121025121026121027121028121029121030121031121032121033121034121035121036121037121038121039121040121041121042121043121044121045121046121047121048121049121050121051121052121053121054121055121056121057121058121059121060121061121062121063121064121065121066121067121068121069121070121071121072121073121074121075121076121077121078121079121080121081121082121083121084121085121086121087121088121089121090121091121092121093121094121095121096121097121098121099121100121101121102121103121104121105121106121107121108121109121110121111121112121113121114121115121116121117121118121119121120121121121122121123121124121125121126121127121128121129121130121131121132121133121134121135121136121137121138121139121140121141121142121143121144121145121146121147121148121149121150121151121152121153121154121155121156121157121158121159121160121161121162121163121164121165121166121167121168121169121170121171121172121173121174121175121176121177121178121179121180121181121182121183121184121185121186121187121188121189121190121191121192121193121194121195121196121197121198121199121200121201121202121203121204121205121206121207121208121209121210121211121212121213121214121215121216121217121218121219121220121221121222121223121224121225121226121227121228121229121230121231121232121233121234121235121236121237121238121239121240121241121242121243121244121245121246121247121248121249121250121251121252121253121254121255121256121257121258121259121260121261121262121263121264121265121266121267121268121269121270121271121272121273121274121275121276121277121278121279121280121281121282121283121284121285121286121287121288121289121290121291121292121293121294121295121296121297121298121299121300121301121302121303121304121305121306121307121308121309121310121311121312121313121314121315121316121317121318121319121320121321121322121323121324121325121326121327121328121329121330121331121332121333121334121335121336121337121338121339121340121341121342121343121344121345121346121347121348121349121350121351121352121353121354121355121356121357121358121359121360121361121362121363121364121365121366121367121368121369121370121371121372121373121374121375121376121377121378121379121380121381121382121383121384121385121386121387121388121389121390121391121392121393121394121395121396121397121398121399121400121401121402121403121404121405121406121407121408121409121410121411121412121413121414121415121416121417121418121419121420121421121422121423121424121425121426121427121428121429121430121431121432121433121434121435121436121437121438121439121440121441121442121443121444121445121446121447121448121449121450121451121452121453121454121455121456121457121458121459121460121461121462121463121464121465121466121467121468121469121470121471121472121473121474121475121476121477121478121479121480121481121482121483121484121485121486121487121488121489121490121491121492121493121494121495121496121497121498121499121500121501121502121503121504121505121506121507121508121509121510121511121512121513121514121515121516121517121518121519121520121521121522121523121524121525121526121527121528121529121530121531121532121533121534121535121536121537121538121539121540121541121542121543121544121545121546121547121548121549121550121551121552121553121554121555121556121557121558121559121560121561121562121563121564121565121566121567121568121569121570121571121572121573121574121575121576121577121578121579121580121581121582121583121584121585121586121587121588121589121590121591121592121593121594121595121596121597121598121599121600121601121602121603121604121605121606121607121608121609121610121611121612121613121614121615121616121617121618121619121620121621121622121623121624121625121626121627121628121629121630121631121632121633121634121635121636121637121638121639121640121641121642121643121644121645121646121647121648121649121650121651121652121653121654121655121656121657121658121659121660121661121662121663121664121665121666121667121668121669121670121671121672121673121674121675121676121677121678121679121680121681121682121683121684121685121686121687121688121689121690121691121692121693121694121695121696121697121698121699121700121701121702121703121704121705121706121707121708121709121710121711121712121713121714121715121716121717121718121719121720121721121722121723121724121725121726121727121728121729121730121731121732121733121734121735121736121737121738121739121740121741121742121743121744121745121746121747121748121749121750121751121752121753121754121755121756121757121758121759121760121761121762121763121764121765121766121767121768121769121770121771121772121773121774121775121776121777121778121779121780121781121782121783121784121785121786121787121788121789121790121791121792121793121794121795121796121797121798121799121800121801121802121803121804121805121806121807121808121809121810121811121812121813121814121815121816121817121818121819121820121821121822121823121824121825121826121827121828121829121830121831121832121833121834121835121836121837121838121839121840121841121842121843121844121845121846121847121848121849121850121851121852121853121854121855121856121857121858121859121860121861121862121863121864121865121866121867121868121869121870121871121872121873121874121875121876121877121878121879121880121881121882121883121884121885121886121887121888121889121890121891121892121893121894121895121896121897121898121899121900121901121902121903121904121905121906121907121908121909121910121911121912121913121914121915121916121917121918121919121920121921121922121923121924121925121926121927121928121929121930121931121932121933121934121935121936121937121938121939121940121941121942121943121944121945121946121947121948121949121950121951121952121953121954121955121956121957121958121959121960121961121962121963121964121965121966121967121968121969121970121971121972121973121974121975121976121977121978121979121980121981121982121983121984121985121986121987121988121989121990121991121992121993121994121995121996121997121998121999122000122001122002122003122004122005122006122007122008122009122010122011122012122013122014122015122016122017122018122019122020122021122022122023122024122025122026122027122028122029122030122031122032122033122034122035122036122037122038122039122040122041122042122043122044122045122046122047122048122049122050122051122052122053122054122055122056122057122058122059122060122061122062122063122064122065122066122067122068122069122070122071122072122073122074122075122076122077122078122079122080122081122082122083122084122085122086122087122088122089122090122091122092122093122094122095122096122097122098122099122100122101122102122103122104122105122106122107122108122109122110122111122112122113122114122115122116122117122118122119122120122121122122122123122124122125122126122127122128122129122130122131122132122133122134122135122136122137122138122139122140122141122142122143122144122145122146122147122148122149122150122151122152122153122154122155122156122157122158122159122160122161122162122163122164122165122166122167122168122169122170122171122172122173122174122175122176122177122178122179122180122181122182122183122184122185122186122187122188122189122190122191122192122193122194122195122196122197122198122199122200122201122202122203122204122205122206122207122208122209122210122211122212122213122214122215122216122217122218122219122220122221122222122223122224122225122226122227122228122229122230122231122232122233122234122235122236122237122238122239122240122241122242122243122244122245122246122247122248122249122250122251122252122253122254122255122256122257122258122259122260122261122262122263122264122265122266122267122268122269122270122271122272122273122274122275122276122277122278122279122280122281122282122283122284122285122286122287122288122289122290122291122292122293122294122295122296122297122298122299122300122301122302122303122304122305122306122307122308122309122310122311122312122313122314122315122316122317122318122319122320122321122322122323122324122325122326122327122328122329122330122331122332122333122334122335122336122337122338122339122340122341122342122343122344122345122346122347122348122349122350122351122352122353122354122355122356122357122358122359122360122361122362122363122364122365122366122367122368122369122370122371122372122373122374122375122376122377122378122379122380122381122382122383122384122385122386122387122388122389122390122391122392122393122394122395122396122397122398122399122400122401122402122403122404122405122406122407122408122409122410122411122412122413122414122415122416122417122418122419122420122421122422122423122424122425122426122427122428122429122430122431122432122433122434122435122436122437122438122439122440122441122442122443122444122445122446122447122448122449122450122451122452122453122454122455122456122457122458122459122460122461122462122463122464122465122466122467122468122469122470122471122472122473122474122475122476122477122478122479122480122481122482122483122484122485122486122487122488122489122490122491122492122493122494122495122496122497122498122499122500122501122502122503122504122505122506122507122508122509122510122511122512122513122514122515122516122517122518122519122520122521122522122523122524122525122526122527122528122529122530122531122532122533122534122535122536122537122538122539122540122541122542122543122544122545122546122547122548122549122550122551122552122553122554122555122556122557122558122559122560122561122562122563122564122565122566122567122568122569122570122571122572122573122574122575122576122577122578122579122580122581122582122583122584122585122586122587122588122589122590122591122592122593122594122595122596122597122598122599122600122601122602122603122604122605122606122607122608122609122610122611122612122613122614122615122616122617122618122619122620122621122622122623122624122625122626122627122628122629122630122631122632122633122634122635122636122637122638122639122640122641122642122643122644122645122646122647122648122649122650122651122652122653
  1. <?xml version="1.0" ?>
  2. <bigarchive>
  3. <archive relative="****phantomglobalvars****">
  4. </archive>
  5. <archive relative="globals.xml" vhdlpkg="chip_cfg_pkg">
  6. <var name="NB_BITS_ADDR" value="32">
  7. <comment>AHB Address bus size</comment>
  8. </var>
  9. <var name="AP_NB_BITS_ADDR" value="32">
  10. <comment>AXI Address bus size of DMA_AP</comment>
  11. </var>
  12. <var name="AON_NB_BITS_PSEL" value="7">
  13. <comment>System AON Apb Bus Configuration</comment>
  14. </var>
  15. <var name="AON_NB_BITS_PADDR" value="12"/>
  16. <var name="AON_APB_STEP" value="exp2(AON_NB_BITS_PADDR)"/>
  17. <var name="AON_APB_ID_IFC_BASE" value="16"/>
  18. <enum name="Aon_Apb_Id">
  19. <comment>8910m sys aon apb module id</comment>
  20. <entry name="AON_APB_ID_SYS_CTRL"/>
  21. <entry name="AON_APB_ID_LVDS"/>
  22. <entry name="AON_APB_ID_GSM_LPS"/>
  23. <entry name="AON_APB_ID_I2C_M2"/>
  24. <entry name="AON_APB_ID_MAILBOX"/>
  25. <entry name="AON_APB_ID_TIMER_3"/>
  26. <entry name="AON_APB_ID_KEYPAD"/>
  27. <entry name="AON_APB_ID_GPIO_1"/>
  28. <entry name="AON_APB_ID_PWM"/>
  29. <entry name="AON_APB_ID_ANALOG_REG"/>
  30. <entry name="AON_APB_ID_AON_IFC"/>
  31. <entry name="AON_APB_ID_NB_LPS"/>
  32. <entry name="AON_APB_ID_IOMUX"/>
  33. <entry name="AON_APB_ID_SPINLOCK"/>
  34. <entry name="AON_APB_ID_EFUSE"/>
  35. <entry name="AON_APB_ID_NORMAL_LAST" value="AON_APB_ID_IFC_BASE-1">
  36. <comment>Last of AON Normal slave</comment>
  37. </entry>
  38. <entry name="AON_APB_ID_DEBUG_UART" value="AON_APB_ID_IFC_BASE"/>
  39. <entry name="AON_APB_ID_17_RESERVED"/>
  40. <entry name="AON_APB_ID_VAD"/>
  41. <bound name="AON_NB_PSEL">
  42. <comment>Num of System Aon Apb Slaves except Debug Host</comment>
  43. </bound>
  44. <entry name="AON_APB_ID_DEBUG_HOST" value="exp2(AON_NB_BITS_PSEL)-1">
  45. <comment>The debug host is placed at last PSEL127 in the IFC</comment>
  46. </entry>
  47. </enum>
  48. <var name="DEBUG_HOST_SLAVE_ID" value="AON_APB_ID_DEBUG_HOST">
  49. <comment>Debug host slave id used for ifc channel.</comment>
  50. </var>
  51. <var name="AP_NB_BITS_PSEL" value="7">
  52. <comment>System Apb Bus Configuration</comment>
  53. </var>
  54. <var name="AP_NB_BITS_PADDR" value="12"/>
  55. <var name="AP_APB_STEP" value="exp2(AP_NB_BITS_PADDR)"/>
  56. <var name="AP_APB_ID_IFC_BASE" value="16"/>
  57. <enum name="Ap_Apb_Id">
  58. <comment>8910m sys apb module id</comment>
  59. <entry name="AP_APB_ID_IRQH"/>
  60. <entry name="AP_APB_ID_LPDDR_PSRAM_CTRL"/>
  61. <entry name="AP_APB_ID_PAGESPY"/>
  62. <entry name="AP_APB_ID_DMC_CTRL"/>
  63. <entry name="AP_APB_ID_SYSIMEM"/>
  64. <entry name="AP_APB_ID_LZMA"/>
  65. <entry name="AP_APB_ID_GOUDA"/>
  66. <entry name="AP_APB_ID_LCDC"/>
  67. <entry name="AP_APB_ID_TIMER_1"/>
  68. <entry name="AP_APB_ID_TIMER_2"/>
  69. <entry name="AP_APB_ID_I2C_M1"/>
  70. <entry name="AP_APB_ID_I2C_M3"/>
  71. <entry name="AP_APB_ID_12_RESERVED"/>
  72. <entry name="AP_APB_ID_AUD_2AD"/>
  73. <entry name="AP_APB_ID_TIMER_4"/>
  74. <entry name="AP_APB_ID_AP_IFC"/>
  75. <entry name="AP_APB_ID_NORMAL_LAST" value="AP_APB_ID_IFC_BASE-1">
  76. <comment>Last of Sys APB Normal slave</comment>
  77. </entry>
  78. <entry name="AP_APB_ID_SDMMC1" value="AP_APB_ID_IFC_BASE"/>
  79. <entry name="AP_APB_ID_SDMMC2"/>
  80. <entry name="AP_APB_ID_SPI_1"/>
  81. <entry name="AP_APB_ID_SPI_2"/>
  82. <entry name="AP_APB_ID_SCI_1"/>
  83. <entry name="AP_APB_ID_SCI_2"/>
  84. <entry name="AP_APB_ID_ZSP_UART"/>
  85. <entry name="AP_APB_ID_UART_2"/>
  86. <entry name="AP_APB_ID_UART_3"/>
  87. <entry name="AP_APB_ID_CAMERA"/>
  88. <entry name="AP_APB1_ID_AIF"/>
  89. <entry name="AP_APB1_ID_AIF2"/>
  90. <bound name="AP_NB_PSEL">
  91. <comment>Num of System Apb Slaves</comment>
  92. </bound>
  93. </enum>
  94. <var name="SYS_NB_BITS_HADDR" value="18">
  95. <comment>System Ahb Bus Configuration</comment>
  96. </var>
  97. <var name="SYS_AHB_STEP" value="exp2(SYS_NB_BITS_HADDR)"/>
  98. <enum name="Sys_Ahb_Id">
  99. <comment>8910m sys ahb module id</comment>
  100. <entry name="SYS_AHB_ID_F8" value="1"/>
  101. <entry name="SYS_AHB_ID_USBC"/>
  102. <entry name="SYS_AHB_ID_GOUDA"/>
  103. <entry name="SYS_AHB_ID_AXIDMA"/>
  104. <entry name="SYS_AHB_ID_GEA3"/>
  105. <entry name="SYS_AHB_ID_AES"/>
  106. <bound name="NB_SYS_AHB_SLAVES">
  107. <comment>Num of System Ahb Slaves</comment>
  108. </bound>
  109. <entry name="SYS_AHB_ID_USB11"/>
  110. </enum>
  111. <var name="AIF_NB_BITS_PSEL" value="5">
  112. <comment>Aif Apb Bus Configuration</comment>
  113. </var>
  114. <var name="AIF_NB_BITS_PADDR" value="12"/>
  115. <var name="AIF_APB_STEP" value="exp2(AIF_NB_BITS_PADDR)"/>
  116. <enum name="Aif_Apb_Id">
  117. <comment>8910m aif apb module id</comment>
  118. <entry name="AIF_APB_ID_AIF" value="7"/>
  119. <bound name="AIF_NB_PSEL">
  120. <comment>Num of Aif Apb Slaves</comment>
  121. </bound>
  122. </enum>
  123. <var name="AIF_SLAVE_ID" value="AIF_APB_ID_AIF">
  124. <comment>Aif slave id used for ifc channel.</comment>
  125. </var>
  126. <var name="AP_APB1_NB_BITS_PADDR" value="AP_NB_BITS_PADDR"/>
  127. <var name="AP_APB1_NB_BITS_PSEL" value="AP_NB_BITS_PSEL"/>
  128. <var name="AUDIO_IFC_APB_STEP" value="exp2(8)"/>
  129. <var name="AP_NB_DMA_REQ_WIDTH" value="5"/>
  130. <enum name="Ap_Ifc_Request_IDs">
  131. <entry name="AP_APB_DMA_ID_SDMMC1_TX" value="(AP_APB_ID_SDMMC1-AP_APB_ID_IFC_BASE)*2+0"/>
  132. <entry name="AP_APB_DMA_ID_SDMMC1_RX" value="(AP_APB_ID_SDMMC1-AP_APB_ID_IFC_BASE)*2+1"/>
  133. <entry name="AP_APB_DMA_ID_SDMMC2_TX" value="(AP_APB_ID_SDMMC2-AP_APB_ID_IFC_BASE)*2+0"/>
  134. <entry name="AP_APB_DMA_ID_SDMMC2_RX" value="(AP_APB_ID_SDMMC2-AP_APB_ID_IFC_BASE)*2+1"/>
  135. <entry name="AP_APB_DMA_ID_SPI_1_TX" value="(AP_APB_ID_SPI_1-AP_APB_ID_IFC_BASE)*2+0"/>
  136. <entry name="AP_APB_DMA_ID_SPI_1_RX" value="(AP_APB_ID_SPI_1-AP_APB_ID_IFC_BASE)*2+1"/>
  137. <entry name="AP_APB_DMA_ID_SPI_2_TX" value="(AP_APB_ID_SPI_2-AP_APB_ID_IFC_BASE)*2+0"/>
  138. <entry name="AP_APB_DMA_ID_SPI_2_RX" value="(AP_APB_ID_SPI_2-AP_APB_ID_IFC_BASE)*2+1"/>
  139. <entry name="AP_APB_DMA_ID_SCI_1_TX" value="(AP_APB_ID_SCI_1-AP_APB_ID_IFC_BASE)*2+0"/>
  140. <entry name="AP_APB_DMA_ID_SCI_1_RX" value="(AP_APB_ID_SCI_1-AP_APB_ID_IFC_BASE)*2+1"/>
  141. <entry name="AP_APB_DMA_ID_SCI_2_TX" value="(AP_APB_ID_SCI_2-AP_APB_ID_IFC_BASE)*2+0"/>
  142. <entry name="AP_APB_DMA_ID_SCI_2_RX" value="(AP_APB_ID_SCI_2-AP_APB_ID_IFC_BASE)*2+1"/>
  143. <entry name="AP_APB_DMA_ID_FREE_TX" value="(AP_APB_ID_CAMERA-AP_APB_ID_IFC_BASE)*2+0"/>
  144. <entry name="AP_APB_DMA_ID_CAMERA_RX" value="(AP_APB_ID_CAMERA-AP_APB_ID_IFC_BASE)*2+1"/>
  145. <bound name="AP_NB_DMA_REQ">
  146. <comment>Num of sys ifc dma req</comment>
  147. </bound>
  148. </enum>
  149. <enum name="Sys_Axi_DMA_Request_IDs">
  150. <entry name="SYS_AXI_DMA_ID_UART_1_RX"/>
  151. <entry name="SYS_AXI_DMA_ID_UART_1_TX"/>
  152. <entry name="SYS_AXI_DMA_ID_UART_2_RX"/>
  153. <entry name="SYS_AXI_DMA_ID_UART_2_TX"/>
  154. <entry name="SYS_AXI_DMA_ID_UART_3_RX"/>
  155. <entry name="SYS_AXI_DMA_ID_UART_3_TX"/>
  156. <entry name="SYS_AXI_DMA_ID_ZBUSMON"/>
  157. <entry name="SYS_AXI_DMA_ID_ZSP_UART"/>
  158. </enum>
  159. <var name="AON_NB_DMA_REQ_WIDTH" value="5"/>
  160. <enum name="Aon_Ifc_Request_IDs">
  161. <entry name="AON_APB_DMA_ID_TX_DEBUG_UART" value="(AON_APB_ID_DEBUG_UART-AON_APB_ID_IFC_BASE)*2+0"/>
  162. <entry name="AON_APB_DMA_ID_RX_DEBUG_UART" value="(AON_APB_ID_DEBUG_UART-AON_APB_ID_IFC_BASE)*2+1"/>
  163. <entry name="AON_APB_DMA_ID_RX_VAD" value="(AON_APB_ID_VAD-AON_APB_ID_IFC_BASE)*2+1"/>
  164. <bound name="AON_NB_DMA_REQ">
  165. <comment>Num of aon ifc dma req</comment>
  166. </bound>
  167. </enum>
  168. <enum name="Sys_Irq_Id">
  169. <entry name="SYS_IRQ_ID_PAGE_SPY">
  170. <comment>System IRQ IDs</comment>
  171. </entry>
  172. <entry name="SYS_IRQ_ID_IMEM"/>
  173. <entry name="SYS_IRQ_ID_TIMER_1"/>
  174. <entry name="SYS_IRQ_ID_TIMER_1_OS"/>
  175. <entry name="SYS_IRQ_ID_TIMER_2"/>
  176. <entry name="SYS_IRQ_ID_TIMER_2_OS"/>
  177. <entry name="SYS_IRQ_ID_TIMER_4"/>
  178. <entry name="SYS_IRQ_ID_TIMER_4_OS"/>
  179. <entry name="SYS_IRQ_ID_I2C_M1"/>
  180. <entry name="SYS_IRQ_ID_AIF_APB_0"/>
  181. <entry name="SYS_IRQ_ID_AIF_APB_1"/>
  182. <entry name="SYS_IRQ_ID_AIF_APB_2"/>
  183. <entry name="SYS_IRQ_ID_AIF_APB_3"/>
  184. <entry name="SYS_IRQ_ID_AUD_2AD"/>
  185. <entry name="SYS_IRQ_ID_SDMMC1"/>
  186. <entry name="SYS_IRQ_ID_SDMMC2"/>
  187. <entry name="SYS_IRQ_ID_SPI_1"/>
  188. <entry name="SYS_IRQ_ID_SPI_2"/>
  189. <entry name="SYS_IRQ_ID_ZSP_UART"/>
  190. <entry name="SYS_IRQ_ID_UART_2"/>
  191. <entry name="SYS_IRQ_ID_UART_3"/>
  192. <entry name="SYS_IRQ_ID_CAMERA"/>
  193. <entry name="SYS_IRQ_ID_LZMA"/>
  194. <entry name="SYS_IRQ_ID_GOUDA"/>
  195. <entry name="SYS_IRQ_ID_F8"/>
  196. <entry name="SYS_IRQ_ID_USBC"/>
  197. <entry name="SYS_IRQ_ID_USB11"/>
  198. <entry name="SYS_IRQ_ID_AXIDMA"/>
  199. <entry name="SYS_IRQ_ID_AXIDMA_1_SECURITY"/>
  200. <entry name="SYS_IRQ_ID_AXIDMA_1_UNSECURITY"/>
  201. <entry name="SYS_IRQ_ID_PMU_APCPU"/>
  202. <entry name="SYS_IRQ_ID_31_RESERVED"/>
  203. <entry name="SYS_IRQ_ID_LCD"/>
  204. <entry name="SYS_IRQ_ID_SPIFLASH"/>
  205. <entry name="SYS_IRQ_ID_SPIFLASH1"/>
  206. <entry name="SYS_IRQ_ID_GPRS_0"/>
  207. <entry name="SYS_IRQ_ID_GPRS_1"/>
  208. <entry name="SYS_IRQ_ID_DMC"/>
  209. <entry name="SYS_IRQ_ID_AES"/>
  210. <entry name="SYS_IRQ_ID_CTI_APCPU"/>
  211. <entry name="SYS_IRQ_ID_AP_TZ_SLV"/>
  212. <entry name="SYS_IRQ_ID_AP_TZ_MEM"/>
  213. <entry name="SYS_IRQ_ID_I2C_M3"/>
  214. <entry name="SYS_IRQ_ID_GSM_LPS"/>
  215. <entry name="SYS_IRQ_ID_I2C_M2"/>
  216. <entry name="SYS_IRQ_ID_TIMER_3"/>
  217. <entry name="SYS_IRQ_ID_TIMER_3_OS"/>
  218. <entry name="SYS_IRQ_ID_KEYPAD"/>
  219. <entry name="SYS_IRQ_ID_GPIO_1"/>
  220. <entry name="SYS_IRQ_ID_DEBUG_UART"/>
  221. <entry name="SYS_IRQ_ID_SCI_1"/>
  222. <entry name="SYS_IRQ_ID_SCI_2"/>
  223. <entry name="SYS_IRQ_ID_ADI"/>
  224. <entry name="SYS_IRQ_ID_UART_1"/>
  225. <entry name="SYS_IRQ_ID_VAD"/>
  226. <entry name="SYS_IRQ_ID_VAD_PULSE"/>
  227. <entry name="SYS_IRQ_ID_AON_TZ"/>
  228. <entry name="SYS_IRQ_ID_NB_LPS"/>
  229. <entry name="SYS_IRQ_ID_CP_IDLE_H"/>
  230. <entry name="SYS_IRQ_ID_CP_IDLE_2_H"/>
  231. <entry name="SYS_IRQ_ID_MAILBOX_ARM_AP"/>
  232. <entry name="SYS_IRQ_ID_LTEM1_FRAME"/>
  233. <entry name="SYS_IRQ_ID_LTEM2_FRAME"/>
  234. <entry name="SYS_IRQ_ID_RFSPI_CONFLICT"/>
  235. <entry name="SYS_IRQ_ID_CP_WD_RESET"/>
  236. <entry name="SYS_IRQ_ID_GSM_FRAME"/>
  237. <entry name="SYS_IRQ_ID_PWRCTRL_TIMEOUT"/>
  238. <entry name="SYS_IRQ_ID_NB_FRAME"/>
  239. <entry name="SYS_IRQ_ID_ZSP_AXIDMA"/>
  240. <entry name="SYS_IRQ_ID_ZSP_BUSMON"/>
  241. <entry name="SYS_IRQ_ID_ZSP_WD"/>
  242. <entry name="SYS_IRQ_ID_71_RESERVED"/>
  243. <entry name="SYS_IRQ_ID_GGE_FINT"/>
  244. <entry name="SYS_IRQ_ID_GGE_TCU_0"/>
  245. <entry name="SYS_IRQ_ID_GGE_TCU_1"/>
  246. <entry name="SYS_IRQ_ID_NB_FINT"/>
  247. <entry name="SYS_IRQ_ID_NB_TCU_0"/>
  248. <entry name="SYS_IRQ_ID_NB_TCU_1"/>
  249. <entry name="SYS_IRQ_ID_NB_TCU_SYNC"/>
  250. <entry name="SYS_IRQ_ID_GGE_COMP_INT"/>
  251. <entry name="SYS_IRQ_ID_GGE_NB_RX_DSP"/>
  252. <entry name="SYS_IRQ_ID_GGE_NB_RX_MCU"/>
  253. <entry name="SYS_IRQ_ID_GGE_NB_TX_DSP"/>
  254. <entry name="SYS_IRQ_ID_GGE_NB_ACC_DSP"/>
  255. <entry name="SYS_IRQ_ID_84_RESERVED"/>
  256. <entry name="SYS_IRQ_ID_WCN_WLAN"/>
  257. <entry name="SYS_IRQ_ID_WCN_SOFT"/>
  258. <entry name="SYS_IRQ_ID_WCN_WDT_RST"/>
  259. <entry name="SYS_IRQ_ID_WCN_AWAKE"/>
  260. <entry name="SYS_IRQ_ID_RF_WDG_RST"/>
  261. <entry name="SYS_IRQ_ID_LVDS"/>
  262. <bound name="NB_SYS_IRQ">
  263. <comment>Num of System IRQS</comment>
  264. </bound>
  265. </enum>
  266. <enum name="CP_Irq_Id">
  267. <entry name="CP_IRQ_ID_PAGE_SPY">
  268. <comment>IRQ IDs For CP CPU</comment>
  269. </entry>
  270. <entry name="CP_IRQ_ID_TIMER_1"/>
  271. <entry name="CP_IRQ_ID_TIMER_1_OS"/>
  272. <entry name="CP_IRQ_ID_UART_2"/>
  273. <entry name="CP_IRQ_ID_UART_3"/>
  274. <entry name="CP_IRQ_ID_F8"/>
  275. <entry name="CP_IRQ_ID_AXIDMA"/>
  276. <entry name="CP_IRQ_ID_ZSP_UART"/>
  277. <entry name="CP_IRQ_ID_CTI_CPCPU"/>
  278. <entry name="CP_IRQ_ID_PMU_CPCPU"/>
  279. <entry name="CP_IRQ_ID_UART_1"/>
  280. <entry name="CP_IRQ_ID_LPS_GSM"/>
  281. <entry name="CP_IRQ_ID_LPS_NB"/>
  282. <entry name="CP_IRQ_ID_SCI_1"/>
  283. <entry name="CP_IRQ_ID_SCI_2"/>
  284. <entry name="CP_IRQ_ID_VAD"/>
  285. <entry name="CP_IRQ_ID_VAD_PULSE"/>
  286. <entry name="CP_IRQ_ID_CP_IDLE_H"/>
  287. <entry name="CP_IRQ_ID_CP_IDLE_2_H"/>
  288. <entry name="CP_IRQ_ID_MAILBOX_ARM_CP"/>
  289. <entry name="CP_IRQ_ID_LTEM1_FRAME"/>
  290. <entry name="CP_IRQ_ID_LTEM2_FRAME"/>
  291. <entry name="CP_IRQ_ID_RFSPI_CONFLICT"/>
  292. <entry name="CP_IRQ_ID_GSM_FRAME"/>
  293. <entry name="CP_IRQ_ID_NB_FRAME"/>
  294. <entry name="CP_IRQ_ID_PWRCTRL_TIMEOUT"/>
  295. <entry name="CP_IRQ_ID_LTE_COEFF"/>
  296. <entry name="CP_IRQ_ID_LTE_CSIRS"/>
  297. <entry name="CP_IRQ_ID_LTE_DLFFT"/>
  298. <entry name="CP_IRQ_ID_LTE_DLFFT_ERR"/>
  299. <entry name="CP_IRQ_ID_LTE_IDDET"/>
  300. <entry name="CP_IRQ_ID_LTE_LDTC1_CTRL"/>
  301. <entry name="CP_IRQ_ID_LTE_LDTC1_DATA"/>
  302. <entry name="CP_IRQ_ID_LTE_LDTC1_VIT"/>
  303. <entry name="CP_IRQ_ID_LTE_LDTC"/>
  304. <entry name="CP_IRQ_ID_LTE_MEASPWR"/>
  305. <entry name="CP_IRQ_ID_LTE_PUSCH"/>
  306. <entry name="CP_IRQ_ID_LTE_RX_TRACE"/>
  307. <entry name="CP_IRQ_ID_LTE_TXRX"/>
  308. <entry name="CP_IRQ_ID_LTE_TX_TRACE"/>
  309. <entry name="CP_IRQ_ID_LTE_ULDFT"/>
  310. <entry name="CP_IRQ_ID_LTE_ULDFT_ERR"/>
  311. <entry name="CP_IRQ_ID_LTE_OTDOA"/>
  312. <entry name="CP_IRQ_ID_LTE_PBMEAS"/>
  313. <entry name="CP_IRQ_ID_LTE_RXCAPT"/>
  314. <entry name="CP_IRQ_ID_LTE_ULPCDCI"/>
  315. <entry name="CP_IRQ_ID_LTE_CORR"/>
  316. <entry name="CP_IRQ_ID_ZSP_AXIDMA"/>
  317. <entry name="CP_IRQ_ID_ZSP_BUSMON"/>
  318. <entry name="CP_IRQ_ID_ZSP_WD"/>
  319. <entry name="CP_IRQ_ID_ZSP_AUD_DFT"/>
  320. <entry name="CP_IRQ_ID_GGE_FINT"/>
  321. <entry name="CP_IRQ_ID_GGE_TCU_0"/>
  322. <entry name="CP_IRQ_ID_GGE_TCU_1"/>
  323. <entry name="CP_IRQ_ID_NB_FINT"/>
  324. <entry name="CP_IRQ_ID_NB_TCU_0"/>
  325. <entry name="CP_IRQ_ID_NB_TCU_1"/>
  326. <entry name="CP_IRQ_ID_GGE_NB_RX_DSP"/>
  327. <entry name="CP_IRQ_ID_GGE_NB_RX_MCU"/>
  328. <entry name="CP_IRQ_ID_GGE_NB_TX_DSP"/>
  329. <entry name="CP_IRQ_ID_GGE_NB_ACC_DSP"/>
  330. <entry name="CP_IRQ_ID_NB_TCU_SYNC"/>
  331. <entry name="CP_IRQ_ID_TIMER_3"/>
  332. <entry name="CP_IRQ_ID_OTHERS"/>
  333. <bound name="NB_CP_IRQ">
  334. <comment>Num of IRQS For CP CPU</comment>
  335. </bound>
  336. </enum>
  337. <enum name="CP_Other_Irq_Id">
  338. <entry name="CP_IRQ_ID_IMEM">
  339. <comment>Other IRQ IDs For CP CPU</comment>
  340. </entry>
  341. <entry name="CP_IRQ_ID_TIMER_2"/>
  342. <entry name="CP_IRQ_ID_TIMER_2_OS"/>
  343. <entry name="CP_IRQ_ID_TIMER_4"/>
  344. <entry name="CP_IRQ_ID_TIMER_4_OS"/>
  345. <entry name="CP_IRQ_ID_I2C_M1"/>
  346. <entry name="CP_IRQ_ID_AIF_APB_0"/>
  347. <entry name="CP_IRQ_ID_AIF_APB_1"/>
  348. <entry name="CP_IRQ_ID_AIF_APB_2"/>
  349. <entry name="CP_IRQ_ID_AIF_APB_3"/>
  350. <entry name="CP_IRQ_ID_AUD_2AD"/>
  351. <entry name="CP_IRQ_ID_SDMMC1"/>
  352. <entry name="CP_IRQ_ID_SDMMC2"/>
  353. <entry name="CP_IRQ_ID_SPI_1"/>
  354. <entry name="CP_IRQ_ID_SPI_2"/>
  355. <entry name="CP_IRQ_ID_CAMERA"/>
  356. <entry name="CP_IRQ_ID_LZMA"/>
  357. <entry name="CP_IRQ_ID_GOUDA"/>
  358. <entry name="CP_IRQ_ID_USBC"/>
  359. <entry name="CP_IRQ_ID_USB11"/>
  360. <entry name="CP_IRQ_ID_AXIDMA_1_SECURITY"/>
  361. <entry name="CP_IRQ_ID_AXIDMA_1_UNSECURITY"/>
  362. <entry name="CP_IRQ_ID_LCD"/>
  363. <entry name="CP_IRQ_ID_SPIFLASH"/>
  364. <entry name="CP_IRQ_ID_SPIFLASH1"/>
  365. <entry name="CP_IRQ_ID_GPRS_0"/>
  366. <entry name="CP_IRQ_ID_GPRS_1"/>
  367. <entry name="CP_IRQ_ID_DMC"/>
  368. <entry name="CP_IRQ_ID_AES"/>
  369. <entry name="CP_IRQ_ID_AP_TZ_SLV"/>
  370. <entry name="CP_IRQ_ID_AP_TZ_MEM"/>
  371. <entry name="CP_IRQ_ID_I2C_M3"/>
  372. <entry name="CP_IRQ_ID_GGE_COMP_INT"/>
  373. <entry name="CP_IRQ_ID_I2C_M2"/>
  374. <entry name="CP_IRQ_ID_TIMER_3_OS"/>
  375. <entry name="CP_IRQ_ID_KEYPAD"/>
  376. <entry name="CP_IRQ_ID_GPIO_1"/>
  377. <entry name="CP_IRQ_ID_DEBUG_UART"/>
  378. <entry name="CP_IRQ_ID_ADI"/>
  379. <entry name="CP_IRQ_ID_AON_TZ"/>
  380. <entry name="CP_IRQ_ID_CP_WD_RESET"/>
  381. <bound name="NB_CP_OTHER_IRQ">
  382. <comment>Num of Other IRQS For CP CPU</comment>
  383. </bound>
  384. </enum>
  385. <var name="RF_SPI_SLAVE_ID" value="22">
  386. <comment>Below is for compatibility to inherited design and for rtl compiling pass</comment>
  387. </var>
  388. <var name="SYS_NB_MASTERS" value="9"/>
  389. <var name="BB_NB_MASTERS" value="6"/>
  390. <var name="BB_NB_SLAVES" value="NB_SYS_AHB_SLAVES"/>
  391. <var name="BB_NB_BITS_PSEL" value="AIF_NB_BITS_PSEL"/>
  392. <var name="BB_NB_BITS_PADDR" value="AIF_NB_BITS_PADDR"/>
  393. <var name="BB_NB_PSEL" value="AIF_NB_PSEL"/>
  394. <var name="RF_SLAVE_ID" value="6"/>
  395. <var name="BB_SYS_BITS_PADDR" value="12"/>
  396. <var name="BB_SYS_NB_BITS_PSEL" value="4"/>
  397. <var name="BB_SYS_STEP" value="exp2(BB_SYS_BITS_PADDR)"/>
  398. <enum name="BB_SYSCTRL_ID">
  399. <entry name="BB_SYSCTRL_ID_SYSREG"/>
  400. <entry name="BB_SYSCTRL_ID_CLKRST"/>
  401. <entry name="BB_SYSCTRL_ID_2_RESERVED"/>
  402. <entry name="BB_SYSCTRL_ID_MONITOR"/>
  403. <entry name="BB_SYSCTRL_ID_CP_WD_TIMER"/>
  404. <entry name="BB_SYSCTRL_ID_IDLE" value="exp2(BB_SYS_NB_BITS_PSEL)"/>
  405. <entry name="BB_SYSCTRL_ID_UART1" value="exp2(BB_SYS_NB_BITS_PSEL)/2+BB_SYSCTRL_ID_IDLE"/>
  406. <entry name="BB_SYSCTRL_ID_PWRCTRL" value="exp2(BB_SYS_NB_BITS_PSEL)+BB_SYSCTRL_ID_IDLE"/>
  407. </enum>
  408. <var name="CP_ZSP_SYS_PADDR" value="12"/>
  409. <var name="CP_ZSP_NB_BITS_PSEL" value="12"/>
  410. <var name="CP_ZSP_SYS_STEP" value="exp2(CP_ZSP_SYS_PADDR)"/>
  411. <enum name="CP_ZSP_SYS_ID">
  412. <entry name="CP_ZSP_SYS_ID_ZSP_AXIDMA"/>
  413. <entry name="CP_ZSP_SYS_ID_ZSP_AUD_DFT" value="exp2(CP_ZSP_NB_BITS_PSEL)"/>
  414. <entry name="CP_ZSP_SYS_ID_ZSP_WD"/>
  415. <entry name="CP_ZSP_SYS_ID_ZSP_IRQH"/>
  416. <entry name="CP_ZSP_SYS_ID_BUSMON"/>
  417. </enum>
  418. <var name="CP_LTE_SYS_PADDR" value="20"/>
  419. <var name="CP_LTE_NB_BITS_PSEL" value="4"/>
  420. <var name="CP_LTE_SYS_STEP" value="exp2(CP_LTE_SYS_PADDR)"/>
  421. <enum name="CP_LTE_SYS_ID">
  422. <entry name="CP_LTE_SYS_ID_TXRX"/>
  423. <entry name="CP_LTE_SYS_ID_RFAD"/>
  424. <entry name="CP_LTE_SYS_ID_COEFF"/>
  425. <entry name="CP_LTE_SYS_ID_LDTC"/>
  426. <entry name="CP_LTE_SYS_ID_OTDOA"/>
  427. <entry name="CP_LTE_SYS_ID_MEASPWR" value="5"/>
  428. <entry name="CP_LTE_SYS_ID_IDDET"/>
  429. <entry name="CP_LTE_SYS_ID_ULDFT"/>
  430. <entry name="CP_LTE_SYS_ID_PUSCH"/>
  431. <entry name="CP_LTE_SYS_ID_ULPCDCI"/>
  432. <entry name="CP_LTE_SYS_ID_DLFFT"/>
  433. <entry name="CP_LTE_SYS_ID_CSIRS"/>
  434. <entry name="CP_LTE_SYS_ID_LDTC1" value="exp2(CP_LTE_NB_BITS_PSEL)"/>
  435. <entry name="CP_LTE_SYS_ID_RXCAPT" value="2*exp2(CP_LTE_NB_BITS_PSEL)"/>
  436. </enum>
  437. <var name="GGE_SYS_NB_BITS_PSEL" value="5">
  438. <comment>GGE System Apb Bus Configuration</comment>
  439. </var>
  440. <var name="GGE_SYS_NB_BITS_PADDR" value="12"/>
  441. <var name="GGE_SYS_APB_STEP" value="exp2(GGE_SYS_NB_BITS_PADDR)"/>
  442. <enum name="Gge_Sys_Apb_Id">
  443. <comment>8910m gge sys apb module id</comment>
  444. <entry name="GGE_SYS_APB_ID_0_RSV"/>
  445. <entry name="GGE_SYS_APB_ID_TCU_GSM"/>
  446. <entry name="GGE_SYS_APB_ID_TCU_NB"/>
  447. <entry name="GGE_SYS_APB_ID_BB_DMA"/>
  448. <entry name="GGE_SYS_APB_ID_4_RSV"/>
  449. <entry name="GGE_SYS_APB_ID_WDT"/>
  450. <entry name="GGE_SYS_APB_ID_GGE_IFC"/>
  451. <entry name="GGE_SYS_APB_ID_7_RSV"/>
  452. <entry name="GGE_SYS_APB_ID_8_RSV"/>
  453. <entry name="GGE_SYS_APB_ID_9_RSV"/>
  454. <entry name="GGE_SYS_APB_ID_10_RSV"/>
  455. <entry name="GGE_SYS_APB_ID_11_RSV"/>
  456. <entry name="GGE_SYS_APB_ID_12_RSV"/>
  457. <entry name="GGE_SYS_APB_ID_13_RSV"/>
  458. <entry name="GGE_SYS_APB_ID_RFSPI_GSM"/>
  459. <entry name="GGE_SYS_APB_ID_RFSPI_NB"/>
  460. <bound name="GGE_SYS_APB_NB_PSEL">
  461. <comment>Num of GGE System Apb Slaves</comment>
  462. </bound>
  463. </enum>
  464. <var name="GGE_SYS_NB_DMA_REQ_WIDTH" value="5"/>
  465. <enum name="Gge_Ifc_Request_IDs">
  466. <bound name="GGE_SYS_NB_DMA_REQ">
  467. <comment>Num of gge ifc dma req</comment>
  468. </bound>
  469. </enum>
  470. <var name="GGE_BB_NB_BITS_PSEL" value="5">
  471. <comment>GGE System Apb Bus Configuration</comment>
  472. </var>
  473. <var name="GGE_BB_NB_BITS_PADDR" value="12"/>
  474. <var name="GGE_BB_APB_STEP" value="exp2(GGE_BB_NB_BITS_PADDR)"/>
  475. <enum name="Gge_Bb_Apb_Id">
  476. <comment>8910m gge bb apb module id</comment>
  477. <entry name="GGE_BB_APB_ID_XCOR"/>
  478. <entry name="GGE_BB_APB_ID_CORDIC"/>
  479. <entry name="GGE_BB_APB_ID_ITLV"/>
  480. <entry name="GGE_BB_APB_ID_VITAC"/>
  481. <entry name="GGE_BB_APB_ID_EXCOR"/>
  482. <entry name="GGE_BB_APB_ID_CHOLK"/>
  483. <entry name="GGE_BB_APB_ID_CIPHER"/>
  484. <entry name="GGE_BB_APB_ID_EVITAC"/>
  485. <entry name="GGE_BB_APB_ID_CP2"/>
  486. <entry name="GGE_BB_APB_ID_BCPU_DBG"/>
  487. <entry name="GGE_BB_APB_ID_BCPU_CORE"/>
  488. <entry name="GGE_BB_APB_ID_ROM"/>
  489. <entry name="GGE_BB_APB_ID_RF_IF"/>
  490. <entry name="GGE_BB_APB_ID_IRQ"/>
  491. <entry name="GGE_BB_APB_ID_SYSCTRL"/>
  492. <entry name="GGE_BB_APB_ID_A53"/>
  493. <entry name="GGE_BB_APB_ID_NB_CTRL"/>
  494. <entry name="GGE_BB_APB_ID_NB_COMMON"/>
  495. <entry name="GGE_BB_APB_ID_NB_INTC"/>
  496. <entry name="GGE_BB_APB_ID_NB_CELL_SEARCH"/>
  497. <entry name="GGE_BB_APB_ID_NB_FFT_RSRP"/>
  498. <entry name="GGE_BB_APB_ID_NB_VITERBI"/>
  499. <entry name="GGE_BB_APB_ID_NB_MEAS"/>
  500. <entry name="GGE_BB_APB_ID_NB_DS_BSEL"/>
  501. <entry name="GGE_BB_APB_ID_NB_TX_PUSCH_ENC"/>
  502. <entry name="GGE_BB_APB_ID_NB_TX_CHSC"/>
  503. <entry name="GGE_BB_APB_ID_NB_TX_FRONTEND"/>
  504. <bound name="GGE_BB_APB_NB_PSEL">
  505. <comment>Num of GGE Baseband Apb Slaves</comment>
  506. </bound>
  507. </enum>
  508. <enum name="Gge_Bb_Irq_Id">
  509. <entry name="GGE_BB_IRQ_ID_TCU0_GSM">
  510. <comment>GGE IRQ IDs</comment>
  511. </entry>
  512. <entry name="GGE_BB_IRQ_ID_TCU1_GSM"/>
  513. <entry name="GGE_BB_IRQ_ID_FRAME_GSM"/>
  514. <entry name="GGE_BB_IRQ_ID_TCU0_NB"/>
  515. <entry name="GGE_BB_IRQ_ID_TCU1_NB"/>
  516. <entry name="GGE_BB_IRQ_ID_FRAME_NB"/>
  517. <entry name="GGE_BB_IRQ_ID_RFSPI_CONFLICT"/>
  518. <entry name="GGE_BB_IRQ_ID_A53"/>
  519. <bound name="NB_GGE_BB_IRQ_PULSE">
  520. <comment>Number of GGE Pulse IRQ</comment>
  521. </bound>
  522. <entry name="GGE_BB_IRQ_ID_RFIF_DBG_2G"/>
  523. <entry name="GGE_BB_IRQ_ID_RFIF_DBG_NB"/>
  524. <entry name="GGE_BB_IRQ_ID_RFIF_RX"/>
  525. <entry name="GGE_BB_IRQ_ID_RFIF_TX"/>
  526. <entry name="GGE_BB_IRQ_ID_EVITAC"/>
  527. <entry name="GGE_BB_IRQ_ID_EXCOR"/>
  528. <entry name="GGE_BB_IRQ_ID_ITLV"/>
  529. <entry name="GGE_BB_IRQ_ID_VITAC"/>
  530. <entry name="GGE_BB_IRQ_ID_XCOR"/>
  531. <entry name="GGE_BB_IRQ_ID_CHOLK"/>
  532. <entry name="GGE_BB_IRQ_ID_RF_SPI_GSM"/>
  533. <entry name="GGE_BB_IRQ_ID_MAILBOX"/>
  534. <entry name="GGE_BB_IRQ_ID_TCU_SYNC"/>
  535. <entry name="GGE_BB_IRQ_ID_NB_RX"/>
  536. <entry name="GGE_BB_IRQ_ID_NB_TX"/>
  537. <entry name="GGE_BB_IRQ_ID_NB_ACC"/>
  538. <entry name="GGE_BB_IRQ_ID_AIF0"/>
  539. <entry name="GGE_BB_IRQ_ID_AIF1"/>
  540. <entry name="GGE_BB_IRQ_ID_AIF2"/>
  541. <entry name="GGE_BB_IRQ_ID_AIF3"/>
  542. <entry name="GGE_BB_IRQ_ID_RF_SPI_NB"/>
  543. <entry name="GGE_BB_IRQ_ID_BB_DMA"/>
  544. <bound name="NB_GGE_BB_IRQ">
  545. <comment>Num of Gge IRQS</comment>
  546. </bound>
  547. </enum>
  548. <var name="NB_GGE_BB_IRQ_LEVEL" value="NB_GGE_BB_IRQ - NB_GGE_BB_IRQ_PULSE">
  549. <comment>Number of GGE BB Level IRQ</comment>
  550. </var>
  551. <var name="BB_SYMBOL_SIZE" value="13"/>
  552. <var name="VITAC_MULT_SIZE" value="14"/>
  553. <var name="BB_SRAM_ADDR_WIDTH" value="13"/>
  554. <var name="RF_NB_BITS_PADDR" value="12">
  555. <comment>System RF Apb Bus Configuration</comment>
  556. </var>
  557. <var name="RF_APB_STEP" value="exp2(RF_NB_BITS_PADDR)"/>
  558. <enum name="Rf_Apb_Id">
  559. <comment>8910m rf apb module id</comment>
  560. <entry name="RF_APB_ID_CTRL_1"/>
  561. <entry name="RF_APB_ID_CTRL_2"/>
  562. <entry name="RF_APB_ID_DFE"/>
  563. <entry name="RF_APB_ID_ET"/>
  564. <entry name="RF_APB_ID_RTC"/>
  565. <entry name="RF_APB_ID_SYS_CTRL"/>
  566. <entry name="RF_APB_ID_TIMER_1"/>
  567. <entry name="RF_APB_ID_TIMER_2"/>
  568. <entry name="RF_APB_ID_TIMER_3"/>
  569. <entry name="RF_APB_ID_UART"/>
  570. <entry name="RF_APB_ID_WATCHDOG"/>
  571. <entry name="RF_APB_ID_TSEN_ADC"/>
  572. <entry name="RF_APB_ID_RFFE"/>
  573. <bound name="RF_NB_PSEL">
  574. <comment>Num of RF Apb Slaves</comment>
  575. </bound>
  576. </enum>
  577. <var name="WCN_SYS_NB_BITS_PSEL" value="4">
  578. <comment>WCN System Apb Bus Configuration</comment>
  579. </var>
  580. <var name="WCN_SYS_NB_BITS_PADDR" value="12"/>
  581. <var name="WCN_SYS_APB_STEP" value="exp2(WCN_SYS_NB_BITS_PADDR)"/>
  582. <enum name="Wcn_Sys_Apb_Id">
  583. <comment>8910m wcn sys apb module id</comment>
  584. <entry name="WCN_SYS_APB_ID_SYS_CTRL"/>
  585. <entry name="WCN_SYS_APB_ID_DBM"/>
  586. <entry name="WCN_SYS_APB_ID_SYS_IFC"/>
  587. <entry name="WCN_SYS_APB_ID_BT_CORE"/>
  588. <entry name="WCN_SYS_APB_ID_UART"/>
  589. <entry name="WCN_SYS_APB_ID_RF_IF"/>
  590. <entry name="WCN_SYS_APB_ID_MODEM"/>
  591. <entry name="WCN_SYS_APB_ID_WLAN"/>
  592. <entry name="WCN_SYS_APB_ID_WDT"/>
  593. <entry name="WCN_SYS_APB_ID_TRAP"/>
  594. <entry name="WCN_SYS_APB_ID_SYSTICK"/>
  595. <entry name="WCN_SYS_APB_ID_COMREGS_WCN"/>
  596. <entry name="WCN_SYS_APB_ID_COMREGS_AP"/>
  597. <bound name="WCN_SYS_APB_NB_PSEL">
  598. <comment>Num of WCN System Apb Slaves</comment>
  599. </bound>
  600. </enum>
  601. </archive>
  602. <archive asm="no" relative="global_macros.xml">
  603. <cjoker>
  604. #if defined(REG_ADDRESS_FOR_GGE)
  605. #define KSEG0(addr) ( (addr) | 0x80000000 )
  606. #define KSEG1(addr) ( (addr) | 0xA0000000 )
  607. #else
  608. #define KSEG0(addr) (addr)
  609. #define KSEG1(addr) (addr)
  610. #endif
  611. #define REG_ACCESS_ADDRESS(addr) KSEG1(addr)
  612. /* Define access cached or uncached */
  613. #define MEM_ACCESS_CACHED(addr) (assert(0, &quot;NOT SUPPORTED&quot;))
  614. #define MEM_ACCESS_UNCACHED(addr) (assert(0, &quot;NOT SUPPORTED&quot;))
  615. /* Register access for assembly */
  616. #define BASE_HI(val) (((0xa0000000 | val) &amp; 0xffff8000) + (val &amp; 0x8000))
  617. #define BASE_LO(val) (((val) &amp; 0x7fff) - (val &amp; 0x8000))
  618. /* to extract bitfield from register value */
  619. #define GET_BITFIELD(dword, bitfield) (((dword) &amp; (bitfield ## _MASK)) &gt;&gt; (bitfield ## _SHIFT))
  620. #define EXP2(n) (1&lt;&lt;(n))
  621. #define REG32 volatile unsigned int
  622. #define REG16 volatile unsigned short
  623. #define REG8 volatile unsigned char
  624. #define UINT32 unsigned int
  625. #define UINT16 unsigned short
  626. #define UINT8 unsigned char
  627. #define REG_READ_UINT32( _reg_ ) (*(volatile unsigned int*)(_reg_))
  628. #define REG_WRITE_UINT32( _reg_, _val_) ((*(volatile unsigned int*)(_reg_)) = (unsigned int)(_val_))
  629. #define REG_READ_U64( _reg_ ) (*(volatile unsigned long*)(_reg_))
  630. #define REG_WRITE_U64( _reg_, _val_) ((*(volatile unsigned long*)(_reg_)) = (unsigned long)(_val_))
  631. </cjoker>
  632. </archive>
  633. <archive relative="gallite_generic_config.xml">
  634. <var name="FPGA_OPTION" value="0">
  635. <comment>0= chip option; 1= FPGA option</comment>
  636. </var>
  637. <var name="BB_OPTION" value="1">
  638. <comment>0= no baseband; 1= baseband included</comment>
  639. </var>
  640. <var name="USE_TEST_MASTER" value="1">
  641. <comment>0= Nothing; 1= BIST; 2= TEST MASTER</comment>
  642. </var>
  643. <var name="USE_SYS_AHBC_MON" value="1">
  644. <comment>0= no monitor; 1=monitor included</comment>
  645. </var>
  646. <var name="HAVE_DEBUG_HOST_SEL" value="0">
  647. <comment>0= no debug host sel register as on test chip; 1=debug host sel register included</comment>
  648. </var>
  649. <var name="VOC_OPTION" value="1">
  650. <comment>0= No VOC ; 1= VOC included</comment>
  651. </var>
  652. <var name="AIF_OPTION" value="1">
  653. <comment>0= No aif channels (0,1) ; 1= All 3 channels</comment>
  654. </var>
  655. <var name="MMI_OPTION" value="1">
  656. <comment>0= No MMI ; 1= MMI included : keypad, PWL/PWT, calendar</comment>
  657. </var>
  658. <var name="NB_GPIO" value="32">
  659. <comment>GPIO/GPO OPTIONS: numbers</comment>
  660. </var>
  661. <var name="NB_GPIO_INT" value="32"/>
  662. <var name="NB_GPO" value="8"/>
  663. <var name="DMA_OPTION" value="1">
  664. <comment>0= No DMA ; 1= DMA included</comment>
  665. </var>
  666. <var name="SYS_PERIPH_OPTION" value="1">
  667. <comment>0 = no SPI, no GPADC, no UART1; 1 = SPI, GPADC, UART1 included</comment>
  668. </var>
  669. <var name="USB_OPTION" value="1">
  670. <comment>0 = no USB; 1 = USB included</comment>
  671. </var>
  672. <var name="AP_IFC_NB_STD_CHANNEL" value="7">
  673. <comment>Ap Ifc Number of generic channel (range 2 to 7)</comment>
  674. </var>
  675. <var name="AON_IFC_NB_STD_CHANNEL" value="2">
  676. <comment>Aon Ifc Number of generic channel (range 2 to 7)</comment>
  677. </var>
  678. <var name="SYS_IFC_NB_STD_CHANNEL" value="2">
  679. <comment>Gge Ifc Number of generic channel (range 2 to 7)</comment>
  680. </var>
  681. <var name="NB_AIF_IFC_CHANNEL" value="4">
  682. <comment>audio Ifc Number of generic channel (range 0 to 4)</comment>
  683. </var>
  684. <var name="UART2_OPTION" value="1">
  685. <comment>0 = no UART2; 1 = UART2 included</comment>
  686. </var>
  687. <var name="SPI1_NB_CS" value="3">
  688. <comment>number of SPI1 CS</comment>
  689. </var>
  690. <var name="SPI1_NB_DI" value="2">
  691. <comment>number of SPI1 DI</comment>
  692. </var>
  693. <var name="SPI1_DATA_SIZE" value="8">
  694. <comment>size of SPI1 DATA</comment>
  695. </var>
  696. <var name="SPI2_OPTION" value="1">
  697. <comment>0 = no SPI2; 1 = SPI2 included</comment>
  698. </var>
  699. <var name="SPI2_NB_CS" value="2">
  700. <comment>number of SPI2 CS</comment>
  701. </var>
  702. <var name="SPI2_NB_DI" value="2">
  703. <comment>number of SPI DI</comment>
  704. </var>
  705. <var name="SPI2_DATA_SIZE" value="8">
  706. <comment>size of SPI2 DATA</comment>
  707. </var>
  708. <var name="SPI3_OPTION" value="1">
  709. <comment>0 = no SPI3; 1 = SPI3 included</comment>
  710. </var>
  711. <var name="SPI3_NB_CS" value="3">
  712. <comment>number of SPI3 CS</comment>
  713. </var>
  714. <var name="SPI3_NB_DI" value="3">
  715. <comment>number of SPI DI</comment>
  716. </var>
  717. <var name="SPI3_DATA_SIZE" value="32">
  718. <comment>size of SPI3 DATA</comment>
  719. </var>
  720. <var name="SDMMC_OPTION" value="1">
  721. <comment>0 = no SDMMC; 1 = SDMMC controller included</comment>
  722. </var>
  723. <var name="CAMERA_OPTION" value="1">
  724. <comment>0 = no Camera; 1 = Camera controller included</comment>
  725. </var>
  726. <var name="GOUDA_OPTION" value="1">
  727. <comment>0 = no Gouda; 1 = Gouda included</comment>
  728. </var>
  729. <var name="MEMBRIDGE_OPTION" value="0">
  730. <comment>0 = EBC, 1 = AHBM</comment>
  731. </var>
  732. <var name="MEMBRIDGE_RAM_NB_BLOCK" value="2">
  733. <comment>for membridge internal ram: number of 32k blocks</comment>
  734. </var>
  735. <var name="EBC_NB_BITS_ADDR" value="25">
  736. <comment>for EBC option only</comment>
  737. </var>
  738. <var name="AHBM_NB_BITS_ADDR" value="26">
  739. <comment>for AHBM option only: address bus size</comment>
  740. </var>
  741. <var name="AHBM_INIT_SB_0" value="0"/>
  742. <var name="AHBM_INIT_SB_1" value="0"/>
  743. <var name="AHBM_INIT_SB_2" value="0"/>
  744. <var name="AHBM_INIT_SB_3" value="0"/>
  745. <var name="AHBM_INIT_SB_4" value="0"/>
  746. </archive>
  747. <archive relative="debug_host.xml">
  748. <module category="Debug" name="DEBUG_HOST">
  749. <reg name="cmd" protect="--">
  750. <bits access="r" name="addr" pos="28:0" rst="-">
  751. <comment>Address of data to be read or written.</comment>
  752. </bits>
  753. <bits access="r" name="size" pos="30:29" rst="-">
  754. <comment>
  755. These two bits indicates element data size.
  756. <br/>
  757. when &quot;00&quot; = &quot;byte&quot;.
  758. <br/>
  759. when &quot;01&quot; = &quot;half word&quot;.
  760. <br/>
  761. when &quot;10&quot; = &quot;word&quot;.
  762. </comment>
  763. </bits>
  764. <bits access="r" name="write_h" pos="31" rst="-">
  765. <comment>
  766. This bit indicates command is read or write.
  767. <br/>
  768. when &quot;0&quot; = &quot;Read&quot;.
  769. <br/>
  770. when &quot;1&quot; = &quot;Write&quot;.
  771. </comment>
  772. </bits>
  773. </reg>
  774. <reg name="data_reg" protect="--">
  775. <bits access="rw" name="data" pos="31:0" rst="-">
  776. <comment>Those bits are data to be read or written by IFC.</comment>
  777. </bits>
  778. </reg>
  779. <reg name="event" protect="rw">
  780. <bits access="rw" name="event0_sema" pos="0" rst="0">
  781. <comment>
  782. When read, this bit is used for event semaphore.
  783. <br/>
  784. '0' = no new event should be programed.
  785. <br/>
  786. '1' = no pending event, new event is authorised.
  787. <br/>
  788. If host is not enabled, this bit is always '1'. However in this case,
  789. any event written will be ignored.
  790. <br/>
  791. When Write, this bit is the least significant bit for a 32-bit event.
  792. </comment>
  793. </bits>
  794. <bits access="w" name="event31_1" pos="31:1" rst="-">
  795. <comment>These bits combined with bit0 consists a 32-bit event number. If a
  796. new event is written before the previous event has been sent, it will
  797. be ignored.</comment>
  798. </bits>
  799. </reg>
  800. <reg name="mode" protect="rw">
  801. <bits access="rw" name="force_on" pos="0" rst="1">
  802. <comment>When '1', force the debug host on, use clock UART if clock host is not
  803. detected.</comment>
  804. </bits>
  805. <bits access="r" name="clk_host_on" pos="1" rst="0">
  806. <comment>
  807. This bit indicates if clock host is detected to be on or not.
  808. <br/>
  809. '0' = no clock host.
  810. <br/>
  811. '1' = clock host detected.
  812. </comment>
  813. </bits>
  814. </reg>
  815. <reg name="h2p_status_reg" protect="rw">
  816. <bits access="r" name="h2p_status" pos="7:0" rst="0">
  817. <comment>Status which can be written through debug uart interface into a debug host
  818. internal register and read by APB.</comment>
  819. <options>
  820. <mask/>
  821. <shift/>
  822. </options>
  823. </bits>
  824. <bits access="w" name="h2p_status_rst" pos="16" rst="0">
  825. <comment>write in this bit will reset h2p status register.</comment>
  826. </bits>
  827. </reg>
  828. <reg name="p2h_status_reg" protect="rw">
  829. <bits access="rw" name="p2h_status" pos="7:0" rst="0">
  830. <comment>Status which can be written by APB and read through debug uart interface
  831. as a debug host internal register.</comment>
  832. </bits>
  833. </reg>
  834. <reg name="irq" protect="r">
  835. <bits access="r" name="xcpu_irq" pos="0" rst="0">
  836. <comment>
  837. when write '1', clear the xcpu irq level which is programmed in a debug host
  838. internal register, this bit is automatic cleared.
  839. <br/>
  840. when read, get the xcpu
  841. irq status.
  842. </comment>
  843. </bits>
  844. <bits access="r" name="bcpu_irq" pos="1" rst="0">
  845. <comment>
  846. when write '1', clear the bcpu irq level which is programmed in a debug host
  847. internal register, this bit is automatic cleared.
  848. <br/>
  849. when read, get the bcpu
  850. irq status.
  851. </comment>
  852. </bits>
  853. </reg>
  854. </module>
  855. </archive>
  856. <archive relative="debug_host_internals.xml">
  857. <include file="globals.xml"/>
  858. <module category="Debug" name="DEBUG_HOST_INTERNAL_REGISTERS">
  859. <ireg name="CTRL_SET" protect="rw">
  860. <comment>General control signals set.</comment>
  861. <bits access="rs" name="Debug_Reset" pos="0" rst="0">
  862. <comment>
  863. Debug host generated reset. Signal to system control. Active high.
  864. <br/>
  865. Write '1' to this bit will set it to '1'.
  866. <br/>
  867. Reseted by signal sys_rst_others (host).
  868. </comment>
  869. </bits>
  870. <bits access="rs" name="XCPU_Force_Reset" pos="1" rst="0">
  871. <comment>
  872. Force XCPU Reset signal. Active high. Hold XCPU in reset state until this bit is cleared.
  873. <br/>
  874. Write '1' to this bit will set it to '1'.
  875. <br/>
  876. Reseted by signal rst_host_reg.
  877. </comment>
  878. </bits>
  879. <bits access="rs" name="Force_Wakeup" pos="2" rst="0">
  880. <comment>
  881. Force wakeup. Active high.
  882. <br/>
  883. Write '1' to this bit will set it to '1'.
  884. <br/>
  885. Reseted by signal rst_host_reg.
  886. </comment>
  887. </bits>
  888. <bits access="rs" name="Force_BP_XCPU" pos="3" rst="0">
  889. <comment>
  890. Force XCPU breakpoint. Active high. Hold its value until this bit is cleared. When Read, Get the status of Force breakpoint sent back by XCPU.
  891. <br/>
  892. Write '1' to this bit will set it to '1'.
  893. <br/>
  894. Reseted by signal sys_rst_others (host).
  895. </comment>
  896. </bits>
  897. <bits access="rs" name="Force_BP_BCPU" pos="4" rst="0">
  898. <comment>
  899. Force BCPU breakpoint. Active high. Hold its value until this bit is cleared. When Read, Get the status of Force breakpoint sent back by BCPU.
  900. <br/>
  901. Write '1' to this bit will set it to '1'.
  902. <br/>
  903. Reseted by signal sys_rst_others (host).
  904. </comment>
  905. </bits>
  906. <bits access="rs" name="IT_XCPU" pos="5" rst="0">
  907. <comment>
  908. When write '1, generate a level IRQ to XCPU. Write '0 is ignored. This IRQ can be cleared by written APB register. When Read, Get the IRQ status.
  909. <br/>
  910. Write '1' to this bit will set it to '1'.
  911. <br/>
  912. Reseted by signal sys_rst_others (host).
  913. </comment>
  914. </bits>
  915. <bits access="rs" name="IT_BCPU" pos="6" rst="0">
  916. <comment>
  917. When write '1', generate a level IRQ to BCPU. Write '0' is ignored. This IRQ can be cleared by written APB register. When Read, Get the IRQ status.
  918. <br/>
  919. Write '1' to this bit will set it to '1'.
  920. <br/>
  921. Reseted by signal sys_rst_others (host).
  922. </comment>
  923. </bits>
  924. <bits access="rs" name="Debug_Port_Lock" pos="7" rst="0">
  925. <comment>
  926. Lock Debug port set.
  927. <br/>
  928. Write '1' to this bit will set it to '1'.
  929. <br/>
  930. Reseted by signal rst_host_reg.
  931. </comment>
  932. </bits>
  933. </ireg>
  934. <ireg name="CTRL_CLR" protect="rw">
  935. <comment>General control signals clear.</comment>
  936. <bits access="rc" name="XCPU_Force_Reset" pos="1" rst="0">
  937. <comment>
  938. Force XCPU Reset signal. Active high. Hold XCPU in reset state until this bit is cleared.
  939. <br/>
  940. Write '1' to this bit will clear it to '0'.
  941. <br/>
  942. Reseted by signal rst_host_reg.
  943. </comment>
  944. </bits>
  945. <bits access="rc" name="Force_Wakeup" pos="2" rst="0">
  946. <comment>
  947. Force wakeup. Active high.
  948. <br/>
  949. Write '1' to this bit will clear it to '0'.
  950. <br/>
  951. Reseted by signal rst_host_reg.
  952. </comment>
  953. </bits>
  954. <bits access="rc" name="Force_BP_XCPU" pos="3" rst="0">
  955. <comment>
  956. Force XCPU breakpoint. Active high. Hold its value until this bit is cleared. When Read, Get the status of Force breakpoint sent back by XCPU.
  957. <br/>
  958. Write '1' to this bit will clear it to '0'.
  959. <br/>
  960. Reseted by signal sys_rst_others (host).
  961. </comment>
  962. </bits>
  963. <bits access="rc" name="Force_BP_BCPU" pos="4" rst="0">
  964. <comment>
  965. Force BCPU breakpoint. Active high. Hold its value until this bit is cleared. When Read, Get the status of Force breakpoint sent back by BCPU.
  966. <br/>
  967. Write '1' to this bit will clear it to '0'.
  968. <br/>
  969. Reseted by signal sys_rst_others (host).
  970. </comment>
  971. </bits>
  972. <bits access="rc" name="Debug_Port_Lock" pos="7" rst="0">
  973. <comment>
  974. Lock Debug port clear.
  975. <br/>
  976. Write '1' to this bit will clear it to '0'.
  977. <br/>
  978. Reseted by signal sys_rst_others (host).
  979. </comment>
  980. </bits>
  981. </ireg>
  982. <ireg name="CLKDIV" protect="rw">
  983. <comment>Configure Debug UART Clock divider.</comment>
  984. <bits access="rw" name="CFG_CLK" pos="5:0" rst="2">
  985. <comment>
  986. Debug host clock divider. The serial clock is generated by dividing 14,7456MHz Host Clock by (CFG_CLK+2). So By default, the serial clock is 14,7456MHz / (2+2) = 3,6864 MHz which corresponds to the 921,6K Baud-rate.
  987. <br/>
  988. Reseted by signal rst_host_reg.
  989. </comment>
  990. </bits>
  991. </ireg>
  992. <ireg name="CFG" protect="rw">
  993. <comment>Configure Debug UART.</comment>
  994. <bits access="rw" name="Disable_Uart_H" pos="0" rst="0">
  995. <comment>
  996. When '1', Disable Normal Uart functional group.
  997. <br/>
  998. This bit is set to '1' when break.
  999. <br/>
  1000. Reseted by signal rst_host_reg.
  1001. </comment>
  1002. </bits>
  1003. <bits access="rw" name="Disable_IFC_H" pos="1" rst="0">
  1004. <comment>
  1005. When '1', Ignore IFC write and read access so only debug host internal is accessible.
  1006. <br/>
  1007. This bit is set to '1' when break.
  1008. <br/>
  1009. Reseted by signal rst_host_reg.
  1010. </comment>
  1011. </bits>
  1012. <bits access="rw" name="Debug_Host_Sel" pos="2" rst="0">
  1013. <comment>
  1014. The usage of this bit is deternimed by the specific chip.
  1015. <br/>
  1016. Can be used as Debug_Port_Lock register to protect some register change by the regular software while debug hosr is used to set thoses registers to specific values.
  1017. <br/>
  1018. Reseted by signal rst_host_reg.
  1019. </comment>
  1020. </bits>
  1021. <bits access="rw" name="Force_Prio_H" pos="7" rst="1">
  1022. <comment>
  1023. When '1', force the Debug Uart to have priority on TX.
  1024. <br/>
  1025. Reseted by signal rst_host_reg.
  1026. </comment>
  1027. </bits>
  1028. </ireg>
  1029. <ireg name="CRC_REG" protect="rw">
  1030. <comment>Status of CRC.</comment>
  1031. <bits access="rc" name="CRC" pos="0" rst="0">
  1032. <comment>
  1033. This bit represents that an CRC error has occured in commands received by Debug Host. Once set to '1', it will keep the value until this register is clearred by write '1'.
  1034. <br/>
  1035. '0' = no CRC error.
  1036. <br/>
  1037. '1' = CRC error.
  1038. <br/>
  1039. Reseted by signal sys_rst_others (host).
  1040. </comment>
  1041. </bits>
  1042. <bits access="r" name="FC_Fifo_Ovf" pos="1" rst="0">
  1043. <comment>
  1044. This bit represents if the 16-byte Flow Control FIFO has an overflow error. This status will be kept until a RX break is received.
  1045. <br/>
  1046. '0' = no Flow Control Overflow Error.
  1047. <br/>
  1048. '1' = Flow Control Overflow Error.
  1049. <br/>
  1050. Reseted by signal sys_rst_others (host).
  1051. </comment>
  1052. </bits>
  1053. </ireg>
  1054. <ireg name="H2P_STATUS" protect="rw">
  1055. <comment>Host write, APB readable register.</comment>
  1056. <bits access="rw" name="STATUS" pos="7:0" rst="0">
  1057. <comment>
  1058. These bits can be read by APB and write by host. Corresponds to APB register STATUS. They can also be reseted to zeros by APB command. (see details in debug host APB register mapping)
  1059. <br/>
  1060. Reseted by signal sys_rst_others (host).
  1061. </comment>
  1062. </bits>
  1063. </ireg>
  1064. <ireg name="P2H_STATUS" protect="rw">
  1065. <comment>APB write, Host readable register.</comment>
  1066. <bits access="rw" name="STATUS" pos="7:0" rst="0">
  1067. <comment>
  1068. These bits can be written by APB and read by host. Corresponds to APB register STATUS.
  1069. <br/>
  1070. Write to Bit 0 can reset the P2H status.
  1071. <br/>
  1072. Reseted by signal sys_rst_others (host).
  1073. </comment>
  1074. </bits>
  1075. </ireg>
  1076. <ireg name="AHB_SYS_HMBURSREQ" protect="r">
  1077. <comment>Debug information of system side AHB bus status.</comment>
  1078. <bits access="r" name="SYS_IFC_HMBURSREQ" pos="0" rst="-">
  1079. <comment>The bit represent Sys Ifc HMBURSREQ.</comment>
  1080. </bits>
  1081. <bits access="r" name="SYS_DMA_HMBURSREQ" pos="1" rst="-">
  1082. <comment>The bit represent Dma HMBURSREQ.</comment>
  1083. </bits>
  1084. <bits access="r" name="SYS_AHB2AHB_HMBURSREQ" pos="2" rst="-">
  1085. <comment>The bit represent Sys Ahb2ahb HMBURSREQ.</comment>
  1086. </bits>
  1087. <bits access="r" name="XCPU_HMBURSREQ" pos="3" rst="-">
  1088. <comment>The bit represent Xcpu HMBURSREQ.</comment>
  1089. </bits>
  1090. <bits access="r" name="USBC_HMBURSREQ" pos="4" rst="-">
  1091. <comment>The bit represent USBC HMBURSREQ.</comment>
  1092. </bits>
  1093. <bits access="r" name="GOUDA_HMBURSREQ" pos="5" rst="-">
  1094. <comment>The bit represent GOUDA HMBURSREQ.</comment>
  1095. </bits>
  1096. </ireg>
  1097. <ireg name="AHB_SYS_HMGRANT" protect="r">
  1098. <bits access="r" name="SYS_IFC_HMGRANT" pos="0" rst="-">
  1099. <comment>The bit represent Sys Ifc HMGRANT.</comment>
  1100. </bits>
  1101. <bits access="r" name="SYS_DMA_HMGRANT" pos="1" rst="-">
  1102. <comment>The bit represent Dma HMGRANT.</comment>
  1103. </bits>
  1104. <bits access="r" name="SYS_AHB2AHB_HMGRANT" pos="2" rst="-">
  1105. <comment>The bit represent Sys Ahb2ahb HMGRANT.</comment>
  1106. </bits>
  1107. <bits access="r" name="XCPU_HMGRANT" pos="3" rst="-">
  1108. <comment>The bit represent Xcpu HMGRANT.</comment>
  1109. </bits>
  1110. <bits access="r" name="USBC_HMGRANT" pos="4" rst="-">
  1111. <comment>The bit represent USBC HMGRANT.</comment>
  1112. </bits>
  1113. <bits access="r" name="GOUDA_HMGRANT" pos="5" rst="-">
  1114. <comment>The bit represent GOUDA HMGRANT.</comment>
  1115. </bits>
  1116. </ireg>
  1117. <ireg name="AHB_SYS_HSEL" protect="r">
  1118. <comment>Debug information of AHB bus status HSEL.</comment>
  1119. <bits access="r" name="SYS_MEM_EXT_HSEL" pos="0" rst="-">
  1120. <comment>The bit represent Sys MEM_EXT HSEL.</comment>
  1121. </bits>
  1122. <bits access="r" name="SYS_MEM_INT_HSEL" pos="1" rst="-">
  1123. <comment>The bit represent Sys MEM_INT HSEL.</comment>
  1124. </bits>
  1125. <bits access="r" name="SYS_IFC_HSEL" pos="2" rst="-">
  1126. <comment>The bit represent Sys Ifc HSEL.</comment>
  1127. </bits>
  1128. <bits access="r" name="SYS_AHB2AHB_HSEL" pos="3" rst="-">
  1129. <comment>The bit represent Sys Ahb2ahb HSEL.</comment>
  1130. </bits>
  1131. <bits access="r" name="SYS_USBC_HSEL" pos="4" rst="-">
  1132. <comment>The bit represent USBC HSEL.</comment>
  1133. </bits>
  1134. <bits access="r" name="SYS_GOUDA_HSEL" pos="5" rst="-">
  1135. <comment>The bit represent GOUDA HSEL.</comment>
  1136. </bits>
  1137. <bits access="r" name="SYS_XCPU_RAM_HSEL" pos="6" rst="-">
  1138. <comment>The bit represent XCPU RAM HSEL.</comment>
  1139. </bits>
  1140. </ireg>
  1141. <ireg name="AHB_SYS_HSREADY" protect="r">
  1142. <bits access="r" name="SYS_IFC_HSREADY" pos="0" rst="-">
  1143. <comment>The bit represent Sys Ifc HSREADY.</comment>
  1144. </bits>
  1145. <bits access="r" name="SYS_MEM_HSREADY" pos="1" rst="-">
  1146. <comment>The bit represent Sys EBC HSREADY.</comment>
  1147. </bits>
  1148. <bits access="r" name="SYS_AHB2AHB_HSREADY" pos="2" rst="-">
  1149. <comment>The bit represent Sys Ahb2ahb HSREADY.</comment>
  1150. </bits>
  1151. <bits access="r" name="SYS_USBC_HSREADY" pos="4" rst="-">
  1152. <comment>The bit represent USBC HSREADY.</comment>
  1153. </bits>
  1154. <bits access="r" name="SYS_GOUDA_HSREADY" pos="5" rst="-">
  1155. <comment>The bit represent GOUDA HSREADY.</comment>
  1156. </bits>
  1157. <bits access="r" name="SYS_XCPU_RAM_HSREADY" pos="6" rst="-">
  1158. <comment>The bit represent XCPU RAM HSREADY.</comment>
  1159. </bits>
  1160. <bits access="r" name="SYS_HREADY" pos="7" rst="-">
  1161. <comment>The bit represent Sys HSREADY which is sent to all sys AHB slaves.</comment>
  1162. </bits>
  1163. </ireg>
  1164. <ireg name="AHB_BB_MASTER" protect="r">
  1165. <comment>Debug information of baseband side AHB bus status.</comment>
  1166. <bits access="r" name="BB_IFC_HMBURSREQ" pos="0" rst="-">
  1167. <comment>The bit represent BB Ifc HMBURSREQ.</comment>
  1168. </bits>
  1169. <bits access="r" name="BB_VOC_HMBURSREQ" pos="1" rst="-">
  1170. <comment>The bit represent Voc HMBURSREQ.</comment>
  1171. </bits>
  1172. <bits access="r" name="BB_AHB2AHB_HMBURSREQ" pos="2" rst="-">
  1173. <comment>The bit represent BB Ahb2ahb HMBURSREQ.</comment>
  1174. </bits>
  1175. <bits access="r" name="BCPU_HMBRSREQ" pos="3" rst="-">
  1176. <comment>The bit represent Bcpu HMBURSREQ.</comment>
  1177. </bits>
  1178. <bits access="r" name="BB_IFC_HMGRANT" pos="4" rst="-">
  1179. <comment>The bit represent BB Ifc HMGRANT.</comment>
  1180. </bits>
  1181. <bits access="r" name="BB_VOC_HMGRANT" pos="5" rst="-">
  1182. <comment>The bit represent Voc HMGRANT.</comment>
  1183. </bits>
  1184. <bits access="r" name="BB_AHB2AHB_HMGRANT" pos="6" rst="-">
  1185. <comment>The bit represent BB Ahb2ahb HMGRANT.</comment>
  1186. </bits>
  1187. <bits access="r" name="BCPU_HMGRANT" pos="7" rst="-">
  1188. <comment>The bit represent Bcpu HMGRANT.</comment>
  1189. </bits>
  1190. </ireg>
  1191. <ireg name="AHB_BB_HSREADY" protect="r">
  1192. <comment>Debug information of AHB bus status HSEL.</comment>
  1193. <bits access="r" name="BB_MEM_HSREADY" pos="0" rst="-">
  1194. <comment>The bit represent BB MEM HSREADY.</comment>
  1195. </bits>
  1196. <bits access="r" name="BB_VOC_HSREADY" pos="1" rst="-">
  1197. <comment>The bit represent BB VoC HSREADY.</comment>
  1198. </bits>
  1199. <bits access="r" name="BB_SRAM_HSREADY" pos="2" rst="-">
  1200. <comment>The bit represent BB Sram HSREADY.</comment>
  1201. </bits>
  1202. <bits access="r" name="BB_IFC_HSREADY" pos="3" rst="-">
  1203. <comment>The bit represent BB Ifc HSREADY.</comment>
  1204. </bits>
  1205. <bits access="r" name="BB_AHB2AHB_HSREADY" pos="4" rst="-">
  1206. <comment>The bit represent BB Ahb2ahb HSREADY.</comment>
  1207. </bits>
  1208. <bits access="r" name="BB_HREADY" pos="7" rst="-">
  1209. <comment>The bit represent BB HREADY which is sent to all BB AHB slaves.</comment>
  1210. </bits>
  1211. </ireg>
  1212. <ireg name="AHB_BB_HSEL" protect="r">
  1213. <comment>Debug information of AHB bus status HSEL.</comment>
  1214. <bits access="r" name="BB_MEM_EXT_HSEL" pos="0" rst="-">
  1215. <comment>The bit represent BB MEM_EXT HSEL.</comment>
  1216. </bits>
  1217. <bits access="r" name="BB_MEM_INT_HSEL" pos="1" rst="-">
  1218. <comment>The bit represent BB MEM_INT HSEL.</comment>
  1219. </bits>
  1220. <bits access="r" name="BB_VOC_HSEL" pos="2" rst="-">
  1221. <comment>The bit represent BB VOC HSEL.</comment>
  1222. </bits>
  1223. <bits access="r" name="BB_SRAM_HSEL" pos="3" rst="-">
  1224. <comment>The bit represent BB Sram HSEL.</comment>
  1225. </bits>
  1226. <bits access="r" name="BB_IFC_HSEL" pos="4" rst="-">
  1227. <comment>The bit represent BB Ifc HSEL.</comment>
  1228. </bits>
  1229. <bits access="r" name="BB_AHB2AHB_HSEL" pos="5" rst="-">
  1230. <comment>The bit represent BB Ahb2ahb HSEL.</comment>
  1231. </bits>
  1232. </ireg>
  1233. <ireg name="AHB_SYS_MASK_SPLIT" protect="r">
  1234. <comment>Represents the split status register of the SYS_AHBC.</comment>
  1235. <bits access="r" name="Sys_Mask_Split" pos="9-1:1" rst="all-">
  1236. </bits>
  1237. </ireg>
  1238. <ireg name="AHB_BB_MASK_SPLIT" protect="r">
  1239. <comment>Represents the split status register of the BB_AHBC.</comment>
  1240. <bits access="r" name="BB_Mask_Split" pos="6:1" rst="all-">
  1241. </bits>
  1242. </ireg>
  1243. </module>
  1244. </archive>
  1245. <archive relative="debug_uart.xml">
  1246. <module category="System" name="DEBUG_UART">
  1247. <var name="DEBUG_UART_RX_FIFO_SIZE" value="16"/>
  1248. <var name="DEBUG_UART_TX_FIFO_SIZE" value="16"/>
  1249. <var name="DEBUG_UART_NB_RX_FIFO_BITS" value="4"/>
  1250. <var name="DEBUG_UART_NB_TX_FIFO_BITS" value="4"/>
  1251. <var name="ESC_DAT" value="92"/>
  1252. <reg name="ctrl" protect="rw">
  1253. <bits access="rw" name="enable" pos="0" rst="0">
  1254. <options>
  1255. <option name="DISABLE" value="0"/>
  1256. <option name="ENABLE" value="1"/>
  1257. <default/>
  1258. </options>
  1259. <comment>
  1260. Allows to turn off the UART:
  1261. <br/>
  1262. 0 = Disable
  1263. <br/>
  1264. 1 = Enable
  1265. </comment>
  1266. </bits>
  1267. <bits access="rw" name="data bits" pos="1" rst="0">
  1268. <options>
  1269. <option name="7_BITS" value="0"/>
  1270. <option name="8_BITS" value="1"/>
  1271. <default/>
  1272. </options>
  1273. <comment>
  1274. Number of data bits per character (least significant bit
  1275. first):
  1276. <br/>
  1277. 0 = 7 bits
  1278. <br/>
  1279. 1 = 8 bits
  1280. <br/>
  1281. This bit will be masked to
  1282. '1' if debug host is enabled.
  1283. </comment>
  1284. </bits>
  1285. <bits access="rw" name="tx stop bits" pos="2" rst="0">
  1286. <options>
  1287. <option name="1_BIT" value="0"/>
  1288. <option name="2_BITS" value="1"/>
  1289. <default/>
  1290. </options>
  1291. <comment>
  1292. Stop bits controls the number of stop bits transmitted. Can
  1293. receive with one stop bit (more inaccuracy can be compensated with two
  1294. stop bits when divisor mode is set to 0).
  1295. <br/>
  1296. 0 = one stop bit is
  1297. transmitted in the serial data.
  1298. <br/>
  1299. 1 = two stop bits are generated and
  1300. transmitted in the serial data out.
  1301. <br/>
  1302. This bit will be masked to
  1303. '0' if debug host is enabled.
  1304. </comment>
  1305. </bits>
  1306. <bits access="rw" name="parity enable" pos="3" rst="0">
  1307. <options>
  1308. <option name="NO" value="0"/>
  1309. <option name="YES" value="1"/>
  1310. <default/>
  1311. </options>
  1312. <comment>
  1313. Parity is enabled when this bit is set.
  1314. <br/>
  1315. This bit will be masked to
  1316. '0' if debug host is enabled.
  1317. </comment>
  1318. </bits>
  1319. <bits access="rw" name="parity select" pos="5:4" rst="0">
  1320. <options>
  1321. <option name="ODD" value="0"/>
  1322. <option name="EVEN" value="1"/>
  1323. <option name="SPACE" value="2"/>
  1324. <option name="MARK" value="3"/>
  1325. <default/>
  1326. </options>
  1327. <comment>
  1328. Controls the parity format when parity is enabled:
  1329. <br/>
  1330. 00 =
  1331. an odd number of received 1 bits is checked, or transmitted (the parity
  1332. bit is included).
  1333. <br/>
  1334. 01 = an even number of received 1 bits is checked
  1335. or transmitted (the parity bit is included).
  1336. <br/>
  1337. 10 = a space is
  1338. generated and received as parity bit.
  1339. <br/>
  1340. 11 = a mark is generated and
  1341. received as parity bit.
  1342. <br/>
  1343. These bit will be ignored if debug host is
  1344. enabled.
  1345. </comment>
  1346. </bits>
  1347. <bits access="rw" name="tx break control" pos="6" rst="0">
  1348. <comment>
  1349. Sends a break signal by holding the Uart_Tx line low until
  1350. this bit is cleared.
  1351. <br/>
  1352. This bit will be masked to '0' if debug host
  1353. is enabled.
  1354. </comment>
  1355. <options>
  1356. <option name="OFF" value="0"/>
  1357. <option name="ON" value="1"/>
  1358. <default/>
  1359. </options>
  1360. </bits>
  1361. <bits access="rw" name="rx fifo reset" pos="7" rst="0">
  1362. </bits>
  1363. <bits access="rw" name="tx fifo reset" pos="8" rst="0">
  1364. </bits>
  1365. <bits access="rw" name="dma mode" pos="9" rst="0">
  1366. <options>
  1367. <option name="DISABLE" value="0"/>
  1368. <option name="ENABLE" value="1"/>
  1369. <default/>
  1370. </options>
  1371. <comment>Enables the DMA signaling for the Uart_Dma_Tx_Req_H and
  1372. Uart_Dma_Rx_Req_H to the IFC.</comment>
  1373. </bits>
  1374. <bits access="rw" name="swrx flow ctrl" pos="13:12" rst="1">
  1375. <comment>
  1376. When this field is &quot;00&quot; and SWTX_flow_Ctrl is also &quot;00&quot;, hardwre
  1377. flow ctrl is used. Otherwise, software flow control is used:
  1378. <br/>
  1379. 00 = no transmit flow control.
  1380. <br/>
  1381. 01 = transmit XON1/XOFF1 as flow control bytes
  1382. <br/>
  1383. 10 = transmit XON2/XOFF2 as flow control bytes
  1384. <br/>
  1385. 11 = transmit XON1 and XON2/XOFF1 and XOFF2 as flow control bytes
  1386. <br/>
  1387. </comment>
  1388. <options>
  1389. <default/>
  1390. <mask/>
  1391. <shift/>
  1392. </options>
  1393. </bits>
  1394. <bits access="rw" name="swtx flow ctrl" pos="15:14" rst="1">
  1395. <comment>
  1396. When this field is &quot;00&quot; and SWRX_flow_Ctrl is also &quot;00&quot;, hardwre
  1397. flow ctrl is used. Otherwise, software flow control is used:
  1398. <br/>
  1399. 00 = no receive flow control
  1400. <br/>
  1401. 01 = receive XON1/XOFF1 as flow control bytes
  1402. <br/>
  1403. 10 = receive XON2/XOFF2 as flow control bytes
  1404. <br/>
  1405. 11 = receive XON1 and XON2/XOFF1 and XOFF2 as flow control bytes
  1406. <br/>
  1407. <br/>
  1408. Note: If single XON/XOFF character is used for flow contol, the received
  1409. XON/XOFF character will not be put into Rx FIFO. This is also the case if XON is
  1410. received when XOFF is expected.
  1411. <br/>
  1412. If double XON/XOFF characters are expected, the XON1/XOFF1 must followed sequently
  1413. by XON2/XOFF2 to be considered as patterns, which will not be put into Rx FIFO.
  1414. Otherwise they will be considered as data. This is also the case if XOFF1 is followed
  1415. by character other than XOFF2.
  1416. <br/>
  1417. </comment>
  1418. <options>
  1419. <default/>
  1420. <mask/>
  1421. <shift/>
  1422. </options>
  1423. </bits>
  1424. <bits access="rw" name="backslash en" pos="16" rst="1">
  1425. <comment>When soft flow control characters or backslash are encountered in the data file,
  1426. they will be inverted and a backslash will be added before them. for example, if tx data
  1427. is XON(0x11) with BackSlash_En = '1', then uart will send 5Ch(Backslash) + EEh (~XON).</comment>
  1428. </bits>
  1429. <bits access="rw" name="send xon" pos="17" rst="1">
  1430. </bits>
  1431. <bits access="rw" name="tx finish n wait" pos="19" rst="0">
  1432. <comment>When this bit is set the Tx engine terminates to send the
  1433. current byte and then it stops to send data.</comment>
  1434. </bits>
  1435. <bits access="rw" name="divisor mode" pos="20" rst="0">
  1436. <comment>
  1437. Selects the divisor value used to generate the baud rate
  1438. frequency (BCLK) from the SCLK (see UART Operation for details). If IrDA
  1439. is enable, this bit is ignored and the divisor used will be 16.
  1440. <br/>
  1441. 0 =
  1442. (BCLK = SCLK / 4)
  1443. <br/>
  1444. 1 = (BCLK = SCLK / 16)
  1445. <br/>
  1446. This bit will be
  1447. masked to '0' if debug host is enabled.
  1448. </comment>
  1449. </bits>
  1450. <bits access="rw" name="irda enable" pos="21" rst="0">
  1451. <comment>
  1452. When set, the UART is in IrDA mode and the baud rate divisor
  1453. used is 16 (see UART Operation for details).
  1454. <br/>
  1455. This bit will be
  1456. masked to '0' if debug host is enabled.
  1457. </comment>
  1458. </bits>
  1459. <bits access="rw" name="rx rts" pos="22" rst="0">
  1460. <comment>
  1461. Controls the Uart_RTS output (not directly in auto flow control
  1462. mode).
  1463. <br/>
  1464. 0 = the Uart_RTS will be inactive high
  1465. <br/>
  1466. 1 = the Uart_RTS
  1467. will be active low
  1468. <br/>
  1469. This bit will be masked to '1' if debug host is
  1470. enabled.
  1471. </comment>
  1472. <options>
  1473. <option name="INACTIVE" value="0"/>
  1474. <option name="ACTIVE" value="1"/>
  1475. <default/>
  1476. </options>
  1477. </bits>
  1478. <bits access="rw" name="auto flow control" pos="23" rst="0">
  1479. <options>
  1480. <option name="ENABLE" value="1"/>
  1481. <option name="DISABLE" value="0"/>
  1482. <default/>
  1483. </options>
  1484. <comment>
  1485. Enables the auto flow control.
  1486. <br/>
  1487. In case HW flow control (both swTx_Flow_ctrl=0 and swRx_Flow_Ctrl=0),
  1488. If Auto_Flow_Control is enabled, Uart_RTS is controlled by the Rx RTS bit in
  1489. CMD_Set register and the UART Auto Control Flow System(flow controlled by Rx
  1490. Fifo Level and AFC_Level in Triggers register).
  1491. Tx data flow is stopped If Uart_CTS become inactive high.
  1492. <br/>
  1493. If Auto_Flow_Control is disabled, Uart_RTS is controlled only by the Rx RTS
  1494. bit in CMD_Set register. Uart_CTS will not take effect.
  1495. <br/>
  1496. <br/>
  1497. In case SW flow control(either swTx_Flow_ctrl/=0 or swRx_Flow_Ctrl/=0),
  1498. If Auto_Flow_Control is enabled, XON/XOFF will be controlled by the Rx RTS bit
  1499. in CMD_Set register and the UART Auto Control Flow System(flow controlled by Rx
  1500. Fifo Level and AFC_Level in Triggers register).
  1501. <br/>
  1502. If Auto_Flow_Control is disabled, XON/XOFF will be controlled only by Rx RTS bit
  1503. in CMD_Set register. Tx data flow will be stoped when XOFF is received either
  1504. this bit is enable or disabled.
  1505. <br/>
  1506. <br/>
  1507. This bit will be masked to '1' if debug host is enabled.
  1508. </comment>
  1509. </bits>
  1510. <bits access="rw" name="loop back mode" pos="24" rst="0">
  1511. <comment>When set, data on the Uart_Tx line is held high, while the
  1512. serial output is looped back to the serial input line, internally. In
  1513. this mode all the interrupts are fully functional. This feature is used
  1514. for diagnostic purposes. Also, in loop back mode, the modem control
  1515. input Uart_CTS is disconnected and the modem control output Uart_RTS are
  1516. looped back to the inputs, internally. In IrDA mode, Uart_Tx signal is
  1517. inverted (see IrDA SIR Mode Support).</comment>
  1518. </bits>
  1519. <bits access="rw" name="rx lock err" pos="25" rst="0">
  1520. <comment>
  1521. Allow to stop the data receiving when an error is detected
  1522. (framing, parity or break). The data in the fifo are kept.
  1523. <br/>
  1524. This bit
  1525. will be masked to '0' if debug host is enabled.
  1526. </comment>
  1527. <options>
  1528. <option name="DISABLE" value="0"/>
  1529. <option name="ENABLE" value="1"/>
  1530. <default/>
  1531. </options>
  1532. </bits>
  1533. <bits access="rw" name="hst txd oen" pos="26" rst="0">
  1534. <comment>HST TXD output enable. '0' enable.</comment>
  1535. <options>
  1536. <option name="DISABLE" value="1"/>
  1537. <option name="ENABLE" value="0"/>
  1538. <default/>
  1539. </options>
  1540. </bits>
  1541. <bits access="rw" name="rx break length" pos="31:28" rst="0xF">
  1542. <comment>
  1543. Length of a break, in number of bits.
  1544. <br/>
  1545. This bit will be masked
  1546. to &quot;1011&quot; if debug host is enabled.
  1547. </comment>
  1548. </bits>
  1549. </reg>
  1550. <reg name="status" protect="r">
  1551. <bits access="r" name="rx fifo level" pos="4:0" rst="0">
  1552. <options>
  1553. <mask/>
  1554. <shift/>
  1555. </options>
  1556. <comment>Those bits indicate the number of data available in the Rx
  1557. Fifo. Those data can be read.</comment>
  1558. </bits>
  1559. <bits access="r" name="tx fifo level" pos="12:8" rst="0">
  1560. <options>
  1561. <mask/>
  1562. <shift/>
  1563. </options>
  1564. <comment>Those bits indicate the number of data available in the Tx
  1565. Fifo. Those data will be sent.</comment>
  1566. </bits>
  1567. <bits access="r" name="tx active" pos="13" rst="0">
  1568. <comment>This bit indicates that the UART is sending data. If no data is
  1569. in the fifo, the UART is currently sending the last one through the
  1570. serial interface.</comment>
  1571. </bits>
  1572. <bits access="r" name="rx active" pos="14" rst="0">
  1573. <comment>This bit indicates that the UART is receiving a byte.</comment>
  1574. </bits>
  1575. <bits access="r" name="rx overflow err" pos="16" rst="0">
  1576. <comment>This bit indicates that the receiver received a new character
  1577. when the fifo was already full. The new character is discarded. This bit
  1578. is cleared when the UART_STATUS register is written with any value.</comment>
  1579. </bits>
  1580. <bits access="r" name="tx overflow err" pos="17" rst="0">
  1581. <comment>This bit indicates that the user tried to write a character when fifo was
  1582. already full. The written data will not be kept. This bit is cleared when
  1583. the UART_STATUS register is written with any value.</comment>
  1584. </bits>
  1585. <bits access="r" name="rx parity err" pos="18" rst="0">
  1586. <comment>This bit is set if the parity is enabled and a parity error
  1587. occurred in the received data. This bit is cleared when the UART_STATUS
  1588. register is written with any value.</comment>
  1589. </bits>
  1590. <bits access="r" name="rx framing err" pos="19" rst="0">
  1591. <comment>This bit is set whenever there is a framing error occured. A
  1592. framing error occurs when the receiver does not detect a valid STOP bit
  1593. in the received data. This bit is cleared when the UART_STATUS register
  1594. is written with any value.</comment>
  1595. </bits>
  1596. <bits access="r" name="rx break int" pos="20" rst="0">
  1597. <comment>This bit is set whenever the serial input is held in a logic 0
  1598. state for longer than the length of x bits, where x is the value
  1599. programmed Rx Break Length. A null word will be written in the Rx Fifo.
  1600. This bit is cleared when the UART_STATUS register is written with any
  1601. value.</comment>
  1602. </bits>
  1603. <bits access="r" name="tx dcts" pos="24" rst="0">
  1604. <comment>
  1605. In case HW flow ctrl(both swRx_Flow_Ctrl=0 and swTx_Flow_Ctrl=0),
  1606. This bit is set when the Uart_CTS line changed since the last
  1607. time this register has been written.
  1608. <br/>
  1609. In case SW flow ctrl(either swRx_Flow_Ctrl/=0 or swTx_Flow_Ctrl/=0),
  1610. This bit is set when received XON/XOFF status changed since the last time
  1611. this register has been writtern.
  1612. <br/>
  1613. This bit is cleared when the UART_STATUS register is written with any value.
  1614. </comment>
  1615. </bits>
  1616. <bits access="r" name="tx cts" pos="25" rst="0">
  1617. <comment>
  1618. In case HW flow ctrl(both swRx_Flow_Ctrl=0 and swTx_Flow_Ctrl=0),
  1619. current value of the Uart_CTS line.
  1620. <br/>
  1621. '1' = Tx not allowed.
  1622. <br/>
  1623. '0' = Tx allowed.
  1624. <br/>
  1625. In case SW flow ctrl(either swRx_Flow_Ctrl/=0 or swTx_Flow_Ctrl/=0),
  1626. current state of software flow control.
  1627. <br/>
  1628. '1' = when XOFF received.
  1629. <br/>
  1630. '0' = when XON received.
  1631. </comment>
  1632. </bits>
  1633. <bits access="r" name="tx fifo rsted l" pos="28" rst="0">
  1634. <comment>This bit is set when Tx Fifo Reset command is received by CTRL
  1635. register and is cleared when Tx fifo reset process has finished.</comment>
  1636. </bits>
  1637. <bits access="r" name="rx fifo rsted l" pos="29" rst="0">
  1638. <comment>This bit is set when Rx Fifo Reset command is received by CTRL
  1639. register and is cleared when Rx fifo reset process has finished.</comment>
  1640. </bits>
  1641. <bits access="r" name="enable n finished" pos="30" rst="0">
  1642. <comment>This bit is set when bit enable is changed from '0' to '1' or
  1643. from '1' to '0', it is cleared when the enable process has finished.</comment>
  1644. </bits>
  1645. <bits access="r" name="clk enabled" pos="31" rst="0">
  1646. <comment>This bit is set when Uart Clk has been enabled and received by
  1647. UART after Need Uart Clock becomes active. It serves to avoid enabling
  1648. Rx RTS too early.</comment>
  1649. </bits>
  1650. </reg>
  1651. <reg name="rxtx_buffer" protect="--">
  1652. <bits access="r" name="rx data" pos="7:0" rst="no">
  1653. <comment>The UART_RECEIVE_BUFFER register is a read-only register that
  1654. contains the data byte received on the serial input port. This register
  1655. accesses the head of the receive FIFO. If the receive FIFO is full and
  1656. this register is not read before the next data character arrives, then
  1657. the data already in the FIFO will be preserved but any incoming data
  1658. will be lost. An overflow error will also occur.</comment>
  1659. </bits>
  1660. <bits access="w" name="tx data" pos="7:0" rst="no">
  1661. <comment>The UART_TRANSMIT_HOLDING register is a write-only register
  1662. that contains data to be transmitted on the serial output port. 16
  1663. characters of data may be written to the UART_TRANSMIT_HOLDING register
  1664. before the FIFO is full. Any attempt to write data when the FIFO is full
  1665. results in the write data being lost.</comment>
  1666. </bits>
  1667. </reg>
  1668. <reg name="irq_mask" protect="rw">
  1669. <bits access="rw" name="tx modem status" pos="0" rst="0">
  1670. <comment>Clear to send signal change or XON/XOFF detected.</comment>
  1671. </bits>
  1672. <bits access="rw" name="rx data available" pos="1" rst="0">
  1673. <comment>Rx Fifo at or upper threshold level (current level &gt;= Rx
  1674. Fifo trigger level).</comment>
  1675. </bits>
  1676. <bits access="rw" name="tx data needed" pos="2" rst="0">
  1677. <comment>Tx Fifo at or below threshold level (current level &lt;= Tx
  1678. Fifo trigger level).</comment>
  1679. </bits>
  1680. <bits access="rw" name="rx timeout" pos="3" rst="0">
  1681. <comment>No characters in or out of the Rx Fifo during the last 4
  1682. character times and there is at least 1 character in it during this
  1683. time.</comment>
  1684. </bits>
  1685. <bits access="rw" name="rx line err" pos="4" rst="0">
  1686. <comment>Tx Overflow, Rx Overflow, Parity Error, Framing Error or Break
  1687. Interrupt.</comment>
  1688. </bits>
  1689. <bits access="rw" name="tx dma done" pos="5" rst="0">
  1690. <comment>Pulse detected on Uart_Dma_Tx_Done_H signal.</comment>
  1691. </bits>
  1692. <bits access="rw" name="rx dma done" pos="6" rst="0">
  1693. <comment>Pulse detected on Uart_Dma_Rx_Done_H signal.</comment>
  1694. </bits>
  1695. <bits access="rw" name="rx dma timeout" pos="7" rst="0">
  1696. <comment>In DMA mode, there is at least 1 character that has been read
  1697. in or out the Rx Fifo. Then before received Rx DMA Done, No characters
  1698. in or out of the Rx Fifo during the last 4 character times.</comment>
  1699. </bits>
  1700. <bits access="rw" name="xoff_detected" pos="8" rst="0">
  1701. </bits>
  1702. </reg>
  1703. <reg name="irq_cause" protect="rw">
  1704. <bits access="r" name="tx modem status" pos="0" rst="0">
  1705. <comment>Clear to send signal detected. Reset control: This bit is
  1706. cleared when the UART_STATUS register is written with any value.</comment>
  1707. </bits>
  1708. <bits access="r" name="rx data available" pos="1" rst="0">
  1709. <comment>Rx Fifo at or upper threshold level (current level &gt;= Rx
  1710. Fifo trigger level). Reset control: Reading the UART_RECEIVE_BUFFER
  1711. until the Fifo drops below the trigger level.</comment>
  1712. </bits>
  1713. <bits access="r" name="tx data needed" pos="2" rst="0">
  1714. <comment>Tx Fifo at or below threshold level (current level &lt;= Tx
  1715. Fifo trigger level). Reset control: Writing into UART_TRANSMIT_HOLDING
  1716. register above threshold level.</comment>
  1717. </bits>
  1718. <bits access="r" name="rx timeout" pos="3" rst="0">
  1719. <comment>No characters in or out of the Rx Fifo during the last 4
  1720. character times and there is at least 1 character in it during this
  1721. time. Reset control: Reading from the UART_RECEIVE_BUFFER register.</comment>
  1722. </bits>
  1723. <bits access="r" name="rx line err" pos="4" rst="0">
  1724. <comment>Tx Overflow, Rx Overflow, Parity Error, Framing Error or Break
  1725. Interrupt. Reset control: This bit is cleared when the UART_STATUS
  1726. register is written with any value.</comment>
  1727. </bits>
  1728. <bits access="rw" name="tx dma done" pos="5" rst="0">
  1729. <comment>This interrupt is generated when a pulse is detected on the
  1730. Uart_Dma_Tx_Done_H signal. Reset control: Write one in this register.</comment>
  1731. </bits>
  1732. <bits access="rw" name="rx dma done" pos="6" rst="0">
  1733. <comment>This interrupt is generated when a pulse is detected on the
  1734. Uart_Dma_Rx_Done_H signal. Reset control: Write one in this register.</comment>
  1735. </bits>
  1736. <bits access="rw" name="rx dma timeout" pos="7" rst="0">
  1737. <comment>In DMA mode, there is at least 1 character that has been read
  1738. in or out the Rx Fifo. Then before received Rx DMA Done, No characters
  1739. in or out of the Rx Fifo during the last 4 character times.</comment>
  1740. </bits>
  1741. <bits access="r" name="xoff detected" pos="8" rst="0">
  1742. </bits>
  1743. <bits access="r" name="tx modem status u" pos="16" rst="0">
  1744. <comment>Same as previous, not masked.</comment>
  1745. </bits>
  1746. <bits access="r" name="rx data available u" pos="17" rst="0">
  1747. <comment>Same as previous, not masked.</comment>
  1748. </bits>
  1749. <bits access="r" name="tx data needed u" pos="18" rst="0">
  1750. <comment>Same as previous, not masked.</comment>
  1751. </bits>
  1752. <bits access="r" name="rx timeout u" pos="19" rst="0">
  1753. <comment>Same as previous, not masked.</comment>
  1754. </bits>
  1755. <bits access="r" name="rx line err u" pos="20" rst="0">
  1756. <comment>Same as previous, not masked.</comment>
  1757. </bits>
  1758. <bits access="r" name="tx dma done u" pos="21" rst="0">
  1759. <comment>Same as previous, not masked.</comment>
  1760. </bits>
  1761. <bits access="r" name="rx dma done u" pos="22" rst="0">
  1762. <comment>Same as previous, not masked.</comment>
  1763. </bits>
  1764. <bits access="r" name="rx dma timeout u" pos="23" rst="0">
  1765. <comment>Same as previous, not masked.</comment>
  1766. </bits>
  1767. <bits access="r" name="xoff detected u" pos="24" rst="0">
  1768. </bits>
  1769. </reg>
  1770. <reg name="triggers" protect="rw">
  1771. <bits access="rw" name="rx trigger" pos="3:0" rst="0">
  1772. <comment>
  1773. Defines the threshold level at which the Data Available
  1774. Interrupt will be generated.
  1775. <br/>
  1776. The Data Available interrupt is
  1777. generated when quantity of data in Rx Fifo &gt; Rx Trigger.
  1778. </comment>
  1779. </bits>
  1780. <bits access="rw" name="tx trigger" pos="7:4" rst="0">
  1781. <comment>
  1782. Defines the threshold level at which the Data Needed
  1783. Interrupt will be generated.
  1784. <br/>
  1785. The Data Needed Interrupt is generated
  1786. when quantity of data in Tx Fifo &lt;= Tx Trigger.
  1787. </comment>
  1788. </bits>
  1789. <bits access="rw" name="afc level" pos="11:8" rst="0">
  1790. <comment>
  1791. Controls the Rx Fifo level at which the Uart_RTS Auto Flow
  1792. Control will be set inactive high (see UART Operation for more details
  1793. on AFC).
  1794. <br/>
  1795. The Uart_RTS Auto Flow Control will be set inactive high
  1796. when quantity of data in Rx Fifo &gt; AFC Level.
  1797. </comment>
  1798. </bits>
  1799. </reg>
  1800. <reg name="xchar" protect="rw">
  1801. <bits access="rw" name="xon1" pos="7:0" rst="17">
  1802. <comment>XON1 character value. Reset Value is CTRL-Q 0x11.</comment>
  1803. </bits>
  1804. <bits access="rw" name="xoff1" pos="15:8" rst="19">
  1805. <comment>XOFF1 character value. Reset Value is CTRL-S 0x13</comment>
  1806. </bits>
  1807. <bits access="rw" name="xon2" pos="23:16" rst="0">
  1808. <comment>XON2 character value.</comment>
  1809. </bits>
  1810. <bits access="rw" name="xoff2" pos="31:24" rst="0">
  1811. <comment>XOFF2 character value.</comment>
  1812. </bits>
  1813. <comment>These characters must respect following constraints: They must be different if used in software control, if BackSlash_En='1', they cannot be '\' and they cannot be complementary to each other, for example neither XON1 = ~XOFF1 nor XON1 = ~'\' is permitted.</comment>
  1814. </reg>
  1815. </module>
  1816. </archive>
  1817. <archive relative="arm_axidma.xml">
  1818. <module category="System" name="ARM_AXIDMA">
  1819. <reg name="axidma_conf" protect="rw">
  1820. <bits access="rw" name="gen_reg_secuirty_en" pos="6" rst="1">
  1821. <comment>general used register security visit enable
  1822. 0:security
  1823. 1:unsecurity</comment>
  1824. </bits>
  1825. <bits access="rw" name="resp_err_stop_en" pos="5" rst="0">
  1826. <comment>response error stop function enable
  1827. 0:enable
  1828. 1:disable</comment>
  1829. </bits>
  1830. <bits access="rw" name="outstand" pos="4:3" rst="2">
  1831. <comment>the number of outstanding that can be send out
  1832. 0: 2
  1833. 1: 3
  1834. 2: 4</comment>
  1835. </bits>
  1836. <bits access="rw" name="priority" pos="2" rst="0">
  1837. <comment>multe-channel transport priority mode control
  1838. 0: there is no priority in the channels, using polling to DMA data
  1839. 1: smaller channel number has high-priority.high-priority move data before low-priority channels</comment>
  1840. </bits>
  1841. <bits access="rw" name="stop_ie" pos="1" rst="0">
  1842. <comment>interrupt control bit
  1843. 0: no interruption occurs when all logical channels finish
  1844. 1: interruption occurs when all logical channels finish</comment>
  1845. </bits>
  1846. <bits access="rw" name="stop" pos="0" rst="0">
  1847. <comment>the control bit of logical channel transport finish
  1848. 0: don't stop all the channel,or automatically clear after setting
  1849. 1: stop all channel.the current transmission is stopped.the start bits of all channels are cleared</comment>
  1850. </bits>
  1851. </reg>
  1852. <reg name="axidma_delay" protect="rw">
  1853. <bits access="rw" name="delay" pos="15:0" rst="0">
  1854. <comment>in the non-priority mode, the time interval between two COUNTP transmission. Take the system clock as the criterion to avoid AXIDMA long-term use of the bus.</comment>
  1855. </bits>
  1856. </reg>
  1857. <reg name="axidma_status" protect="r">
  1858. <bits access="r" name="stop_status" pos="4" rst="0">
  1859. <comment>stop status
  1860. 0: not finish
  1861. 1: finish</comment>
  1862. </bits>
  1863. <bits access="r" name="ch_num" pos="3:0" rst="15">
  1864. <comment>the channel number of the final transmission
  1865. 0000: channel 0 just finished the transmission
  1866. 0001: channel 1 just finished the transmission
  1867. 0010: channel 2 just finished the transmission
  1868. ......
  1869. 1011: channel 11 just finished the transmission
  1870. others: nonentity</comment>
  1871. </bits>
  1872. </reg>
  1873. <reg name="axidma_irq_stat" protect="r">
  1874. <bits access="r" name="rst_fin_irq" pos="12" rst="0">
  1875. <comment>logic channel stop interrupt status</comment>
  1876. </bits>
  1877. <bits access="r" name="ch11_irq" pos="11" rst="0">
  1878. <comment>channel 11 interrupts state
  1879. 0: the channel 11 has not been interrupted, or the interrupt bit has been cleared
  1880. 1: channel 11 is interrupted</comment>
  1881. </bits>
  1882. <bits access="r" name="ch10_irq" pos="10" rst="0">
  1883. <comment>channel 10 interrupts state
  1884. 0: the channel 10 has not been interrupted, or the interrupt bit has been cleared
  1885. 1: channel 10 is interrupted</comment>
  1886. </bits>
  1887. <bits access="r" name="ch9_irq" pos="9" rst="0">
  1888. <comment>channel 9 interrupts state
  1889. 0: the channel 9 has not been interrupted, or the interrupt bit has been cleared
  1890. 1: channel 9 is interrupted</comment>
  1891. </bits>
  1892. <bits access="r" name="ch8_irq" pos="8" rst="0">
  1893. <comment>channel 8 interrupts state
  1894. 0: the channel 8 has not been interrupted, or the interrupt bit has been cleared
  1895. 1: channel 8 is interrupted</comment>
  1896. </bits>
  1897. <bits access="r" name="ch7_irq" pos="7" rst="0">
  1898. <comment>channel 7 interrupts state
  1899. 0: the channel 7 has not been interrupted, or the interrupt bit has been cleared
  1900. 1: channel 7 is interrupted</comment>
  1901. </bits>
  1902. <bits access="r" name="ch6_irq" pos="6" rst="0">
  1903. <comment>channel 6 interrupts state
  1904. 0: the channel 6 has not been interrupted, or the interrupt bit has been cleared
  1905. 1: channel 6 is interrupted</comment>
  1906. </bits>
  1907. <bits access="r" name="ch5_irq" pos="5" rst="0">
  1908. <comment>channel 5 interrupts state
  1909. 0: the channel 5 has not been interrupted, or the interrupt bit has been cleared
  1910. 1: channel 5 is interrupted</comment>
  1911. </bits>
  1912. <bits access="r" name="ch4_irq" pos="4" rst="0">
  1913. <comment>channel 4 interrupts state
  1914. 0: the channel 4 has not been interrupted, or the interrupt bit has been cleared
  1915. 1: channel 4 is interrupted</comment>
  1916. </bits>
  1917. <bits access="r" name="ch3_irq" pos="3" rst="0">
  1918. <comment>channel 3 interrupts state
  1919. 0: the channel 3 has not been interrupted, or the interrupt bit has been cleared
  1920. 1: channel 3 is interrupted</comment>
  1921. </bits>
  1922. <bits access="r" name="ch2_irq" pos="2" rst="0">
  1923. <comment>channel 2 interrupts state
  1924. 0: the channel 2 has not been interrupted, or the interrupt bit has been cleared
  1925. 1: channel 2 is interrupted</comment>
  1926. </bits>
  1927. <bits access="r" name="ch1_irq" pos="1" rst="0">
  1928. <comment>channel 1 interrupts state
  1929. 0: the channel 1 has not been interrupted, or the interrupt bit has been cleared
  1930. 1: channel 1 is interrupted</comment>
  1931. </bits>
  1932. <bits access="r" name="ch0_irq" pos="0" rst="0">
  1933. <comment>channel 0 interrupts state
  1934. 0: the channel 0 has not been interrupted, or the interrupt bit has been cleared
  1935. 1: channel 0 is interrupted</comment>
  1936. </bits>
  1937. </reg>
  1938. <reg name="axidma_arm_req_stat" protect="r">
  1939. <bits access="r" name="irq23" pos="23" rst="0">
  1940. <comment>state of IRQ 23 generate requests of moving data
  1941. 0: IRQ 23 does not generate requests of moving data
  1942. 1: IRQ 23 generate requests of moving data</comment>
  1943. </bits>
  1944. <bits access="r" name="irq22" pos="22" rst="0">
  1945. <comment>state of IRQ 22 generate requests of moving data
  1946. 0: IRQ 22 does not generate requests of moving data
  1947. 1: IRQ 22 generate requests of moving data</comment>
  1948. </bits>
  1949. <bits access="r" name="irq21" pos="21" rst="0">
  1950. <comment>state of IRQ 21 generate requests of moving data
  1951. 0: IRQ 21 does not generate requests of moving data
  1952. 1: IRQ 21 generate requests of moving data</comment>
  1953. </bits>
  1954. <bits access="r" name="irq20" pos="20" rst="0">
  1955. <comment>state of IRQ 20 generate requests of moving data
  1956. 0: IRQ 20 does not generate requests of moving data
  1957. 1: IRQ 20 generate requests of moving data</comment>
  1958. </bits>
  1959. <bits access="r" name="irq19" pos="19" rst="0">
  1960. <comment>state of IRQ 19 generate requests of moving data
  1961. 0: IRQ 19 does not generate requests of moving data
  1962. 1: IRQ 19 generate requests of moving data</comment>
  1963. </bits>
  1964. <bits access="r" name="irq18" pos="18" rst="0">
  1965. <comment>state of IRQ 18 generate requests of moving data
  1966. 0: IRQ 18 does not generate requests of moving data
  1967. 1: IRQ 18 generate requests of moving data</comment>
  1968. </bits>
  1969. <bits access="r" name="irq17" pos="17" rst="0">
  1970. <comment>state of IRQ 17 generate requests of moving data
  1971. 0: IRQ 17 does not generate requests of moving data
  1972. 1: IRQ 17 generate requests of moving data</comment>
  1973. </bits>
  1974. <bits access="r" name="irq16" pos="16" rst="0">
  1975. <comment>state of IRQ 16 generate requests of moving data
  1976. 0: IRQ 16 does not generate requests of moving data
  1977. 1: IRQ 16 generate requests of moving data</comment>
  1978. </bits>
  1979. <bits access="r" name="irq15" pos="15" rst="0">
  1980. <comment>state of IRQ 15 generate requests of moving data
  1981. 0: IRQ 15 does not generate requests of moving data
  1982. 1: IRQ 15 generate requests of moving data</comment>
  1983. </bits>
  1984. <bits access="r" name="irq14" pos="14" rst="0">
  1985. <comment>state of IRQ 14 generate requests of moving data
  1986. 0: IRQ 14 does not generate requests of moving data
  1987. 1: IRQ 14 generate requests of moving data</comment>
  1988. </bits>
  1989. <bits access="r" name="irq13" pos="13" rst="0">
  1990. <comment>state of IRQ 13 generate requests of moving data
  1991. 0: IRQ 13 does not generate requests of moving data
  1992. 1: IRQ 13 generate requests of moving data</comment>
  1993. </bits>
  1994. <bits access="r" name="irq12" pos="12" rst="0">
  1995. <comment>state of IRQ 12 generate requests of moving data
  1996. 0: IRQ 12 does not generate requests of moving data
  1997. 1: IRQ 12 generate requests of moving data</comment>
  1998. </bits>
  1999. <bits access="r" name="irq11" pos="11" rst="0">
  2000. <comment>state of IRQ 11 generate requests of moving data
  2001. 0: IRQ 11 does not generate requests of moving data
  2002. 1: IRQ 11 generate requests of moving data</comment>
  2003. </bits>
  2004. <bits access="r" name="irq10" pos="10" rst="0">
  2005. <comment>state of IRQ 10 generate requests of moving data
  2006. 0: IRQ 10 does not generate requests of moving data
  2007. 1: IRQ 10 generate requests of moving data</comment>
  2008. </bits>
  2009. <bits access="r" name="irq9" pos="9" rst="0">
  2010. <comment>state of IRQ 9 generate requests of moving data
  2011. 0: IRQ 9 does not generate requests of moving data
  2012. 1: IRQ 7 generate requests of moving data</comment>
  2013. </bits>
  2014. <bits access="r" name="irq8" pos="8" rst="0">
  2015. <comment>state of IRQ 8 generate requests of moving data
  2016. 0: IRQ 8 does not generate requests of moving data
  2017. 1: IRQ 8 generate requests of moving data</comment>
  2018. </bits>
  2019. <bits access="r" name="irq7" pos="7" rst="0">
  2020. <comment>state of IRQ 7 generate requests of moving data
  2021. 0: IRQ 7 does not generate requests of moving data
  2022. 1: IRQ 7 generate requests of moving data</comment>
  2023. </bits>
  2024. <bits access="r" name="irq6" pos="6" rst="0">
  2025. <comment>state of IRQ 6 generate requests of moving data
  2026. 0: IRQ 6 does not generate requests of moving data
  2027. 1: IRQ 6 generate requests of moving data</comment>
  2028. </bits>
  2029. <bits access="r" name="irq5" pos="5" rst="0">
  2030. <comment>state of IRQ 5 generate requests of moving data
  2031. 0: IRQ 5 does not generate requests of moving data
  2032. 1: IRQ 5 generate requests of moving data</comment>
  2033. </bits>
  2034. <bits access="r" name="irq4" pos="4" rst="0">
  2035. <comment>state of IRQ 4 generate requests of moving data
  2036. 0: IRQ 4 does not generate requests of moving data
  2037. 1: IRQ 4 generate requests of moving data</comment>
  2038. </bits>
  2039. <bits access="r" name="irq3" pos="3" rst="0">
  2040. <comment>state of IRQ 3 generate requests of moving data
  2041. 0: IRQ 3 does not generate requests of moving data
  2042. 1: IRQ 3 generate requests of moving data</comment>
  2043. </bits>
  2044. <bits access="r" name="irq2" pos="2" rst="0">
  2045. <comment>state of IRQ 2 generate requests of moving data
  2046. 0: IRQ 2 does not generate requests of moving data
  2047. 1: IRQ 2 generate requests of moving data</comment>
  2048. </bits>
  2049. <bits access="r" name="irq1" pos="1" rst="0">
  2050. <comment>state of IRQ 1 generate requests of moving data
  2051. 0: IRQ 1 does not generate requests of moving data
  2052. 1: IRQ 1 generate requests of moving data</comment>
  2053. </bits>
  2054. <bits access="r" name="irq0" pos="0" rst="0">
  2055. <comment>state of IRQ 0 generate requests of moving data
  2056. 0: IRQ 0 does not generate requests of moving data
  2057. 1: IRQ 0 generate requests of moving data</comment>
  2058. </bits>
  2059. </reg>
  2060. <reg name="axidma_arm_ack_stat" protect="r">
  2061. <bits access="r" name="ack23" pos="23" rst="0">
  2062. <comment>state of ACK 23 generate requests of moving data
  2063. 0: ACK 23 does not generate requests of moving data
  2064. 1: ACK 23 generate requests of moving data</comment>
  2065. </bits>
  2066. <bits access="r" name="ack22" pos="22" rst="0">
  2067. <comment>state of ACK 22 generate requests of moving data
  2068. 0: ACK 22 does not generate requests of moving data
  2069. 1: ACK 22 generate requests of moving data</comment>
  2070. </bits>
  2071. <bits access="r" name="ack21" pos="21" rst="0">
  2072. <comment>state of ACK 21 generate requests of moving data
  2073. 0: ACK 21 does not generate requests of moving data
  2074. 1: ACK 21 generate requests of moving data</comment>
  2075. </bits>
  2076. <bits access="r" name="ack20" pos="20" rst="0">
  2077. <comment>state of ACK 20 generate requests of moving data
  2078. 0: ACK 20 does not generate requests of moving data
  2079. 1: ACK 20 generate requests of moving data</comment>
  2080. </bits>
  2081. <bits access="r" name="ack19" pos="19" rst="0">
  2082. <comment>state of ACK 19 generate requests of moving data
  2083. 0: ACK 19 does not generate requests of moving data
  2084. 1: ACK 19 generate requests of moving data</comment>
  2085. </bits>
  2086. <bits access="r" name="ack18" pos="18" rst="0">
  2087. <comment>state of ACK 18 generate requests of moving data
  2088. 0: ACK 18 does not generate requests of moving data
  2089. 1: ACK 18 generate requests of moving data</comment>
  2090. </bits>
  2091. <bits access="r" name="ack17" pos="17" rst="0">
  2092. <comment>state of ACK 17 generate requests of moving data
  2093. 0: ACK 17 does not generate requests of moving data
  2094. 1: ACK 17 generate requests of moving data</comment>
  2095. </bits>
  2096. <bits access="r" name="ack16" pos="16" rst="0">
  2097. <comment>state of ACK 16 generate requests of moving data
  2098. 0: ACK 16 does not generate requests of moving data
  2099. 1: ACK 16 generate requests of moving data</comment>
  2100. </bits>
  2101. <bits access="r" name="ack15" pos="15" rst="0">
  2102. <comment>state of ACK 15 generate requests of moving data
  2103. 0: ACK 15 does not generate requests of moving data
  2104. 1: ACK 15 generate requests of moving data</comment>
  2105. </bits>
  2106. <bits access="r" name="ack14" pos="14" rst="0">
  2107. <comment>state of ACK 14 generate requests of moving data
  2108. 0: ACK 14 does not generate requests of moving data
  2109. 1: ACK 14 generate requests of moving data</comment>
  2110. </bits>
  2111. <bits access="r" name="ack13" pos="13" rst="0">
  2112. <comment>state of ACK 13 generate requests of moving data
  2113. 0: ACK 13 does not generate requests of moving data
  2114. 1: ACK 13 generate requests of moving data</comment>
  2115. </bits>
  2116. <bits access="r" name="ack12" pos="12" rst="0">
  2117. <comment>state of ACK 12 generate requests of moving data
  2118. 0: ACK 12 does not generate requests of moving data
  2119. 1: ACK 12 generate requests of moving data</comment>
  2120. </bits>
  2121. <bits access="r" name="ack11" pos="11" rst="0">
  2122. <comment>state of ACK 11 generate requests of moving data
  2123. 0: ACK 11 does not generate requests of moving data
  2124. 1: ACK 11 generate requests of moving data</comment>
  2125. </bits>
  2126. <bits access="r" name="ack10" pos="10" rst="0">
  2127. <comment>state of ACK 10 generate requests of moving data
  2128. 0: ACK 10 does not generate requests of moving data
  2129. 1: ACK 10 generate requests of moving data</comment>
  2130. </bits>
  2131. <bits access="r" name="ack9" pos="9" rst="0">
  2132. <comment>state of ACK 9 generate requests of moving data
  2133. 0: ACK 9 does not generate requests of moving data
  2134. 1: ACK 7 generate requests of moving data</comment>
  2135. </bits>
  2136. <bits access="r" name="ack8" pos="8" rst="0">
  2137. <comment>state of ACK 8 generate requests of moving data
  2138. 0: ACK 8 does not generate requests of moving data
  2139. 1: ACK 8 generate requests of moving data</comment>
  2140. </bits>
  2141. <bits access="r" name="ack7" pos="7" rst="0">
  2142. <comment>state of ACK 7 generate requests of moving data
  2143. 0: ACK 7 does not generate requests of moving data
  2144. 1: ACK 7 generate requests of moving data</comment>
  2145. </bits>
  2146. <bits access="r" name="ack6" pos="6" rst="0">
  2147. <comment>state of ACK 6 generate requests of moving data
  2148. 0: ACK 6 does not generate requests of moving data
  2149. 1: ACK 6 generate requests of moving data</comment>
  2150. </bits>
  2151. <bits access="r" name="ack5" pos="5" rst="0">
  2152. <comment>state of ACK 5 generate requests of moving data
  2153. 0: ACK 5 does not generate requests of moving data
  2154. 1: ACK 5 generate requests of moving data</comment>
  2155. </bits>
  2156. <bits access="r" name="ack4" pos="4" rst="0">
  2157. <comment>state of ACK 4 generate requests of moving data
  2158. 0: ACK 4 does not generate requests of moving data
  2159. 1: ACK 4 generate requests of moving data</comment>
  2160. </bits>
  2161. <bits access="r" name="ack3" pos="3" rst="0">
  2162. <comment>state of ACK 3 generate requests of moving data
  2163. 0: ACK 3 does not generate requests of moving data
  2164. 1: ACK 3 generate requests of moving data</comment>
  2165. </bits>
  2166. <bits access="r" name="ack2" pos="2" rst="0">
  2167. <comment>state of ACK 2 generate requests of moving data
  2168. 0: ACK 2 does not generate requests of moving data
  2169. 1: ACK 2 generate requests of moving data</comment>
  2170. </bits>
  2171. <bits access="r" name="ack1" pos="1" rst="0">
  2172. <comment>state of ACK 1 generate requests of moving data
  2173. 0: ACK 1 does not generate requests of moving data
  2174. 1: ACK 1 generate requests of moving data</comment>
  2175. </bits>
  2176. <bits access="r" name="ack0" pos="0" rst="0">
  2177. <comment>state of ACK 0 generate requests of moving data
  2178. 0: ACK 0 does not generate requests of moving data
  2179. 1: ACK 0 generate requests of moving data</comment>
  2180. </bits>
  2181. </reg>
  2182. <hole size="64"/>
  2183. <reg name="axidma_ch_irq_distr" protect="rw">
  2184. <bits access="rw" name="ch11_irq_en0" pos="11" rst="0">
  2185. <comment>channel 11 interrupt allocation bit
  2186. 0: the interrupt of the channel is output to the dma_irq interruption
  2187. 1: the interrupt of the channel is output to the dma_irq1 interruption</comment>
  2188. </bits>
  2189. <bits access="rw" name="ch10_irq_en0" pos="10" rst="0">
  2190. <comment>channel 10 interrupt allocation bit
  2191. 0: the interrupt of the channel is output to the dma_irq interruption
  2192. 1: the interrupt of the channel is output to the dma_irq1 interruption</comment>
  2193. </bits>
  2194. <bits access="rw" name="ch9_irq_en0" pos="9" rst="0">
  2195. <comment>channel 9 interrupt allocation bit
  2196. 0: the interrupt of the channel is output to the dma_irq interruption
  2197. 1: the interrupt of the channel is output to the dma_irq1 interruption</comment>
  2198. </bits>
  2199. <bits access="rw" name="ch8_irq_en0" pos="8" rst="0">
  2200. <comment>channel 8 interrupt allocation bit
  2201. 0: the interrupt of the channel is output to the dma_irq interruption
  2202. 1: the interrupt of the channel is output to the dma_irq1 interruption</comment>
  2203. </bits>
  2204. <bits access="rw" name="ch7_irq_en0" pos="7" rst="0">
  2205. <comment>channel 7 interrupt allocation bit
  2206. 0: the interrupt of the channel is output to the dma_irq interruption
  2207. 1: the interrupt of the channel is output to the dma_irq1 interruption</comment>
  2208. </bits>
  2209. <bits access="rw" name="ch6_irq_en0" pos="6" rst="0">
  2210. <comment>channel 6 interrupt allocation bit
  2211. 0: the interrupt of the channel is output to the dma_irq interruption
  2212. 1: the interrupt of the channel is output to the dma_irq1 interruption</comment>
  2213. </bits>
  2214. <bits access="rw" name="ch5_irq_en0" pos="5" rst="0">
  2215. <comment>channel 5 interrupt allocation bit
  2216. 0: the interrupt of the channel is output to the dma_irq interruption
  2217. 1: the interrupt of the channel is output to the dma_irq1 interruption</comment>
  2218. </bits>
  2219. <bits access="rw" name="ch4_irq_en0" pos="4" rst="0">
  2220. <comment>channel 4 interrupt allocation bit
  2221. 0: the interrupt of the channel is output to the dma_irq interruption
  2222. 1: the interrupt of the channel is output to the dma_irq1 interruption</comment>
  2223. </bits>
  2224. <bits access="rw" name="ch3_irq_en0" pos="3" rst="0">
  2225. <comment>channel 3 interrupt allocation bit
  2226. 0: the interrupt of the channel is output to the dma_irq interruption
  2227. 1: the interrupt of the channel is output to the dma_irq1 interruption</comment>
  2228. </bits>
  2229. <bits access="rw" name="ch2_irq_en0" pos="2" rst="0">
  2230. <comment>channel 2 interrupt allocation bit
  2231. 0: the interrupt of the channel is output to the dma_irq interruption
  2232. 1: the interrupt of the channel is output to the dma_irq1 interruption</comment>
  2233. </bits>
  2234. <bits access="rw" name="ch1_irq_en0" pos="1" rst="0">
  2235. <comment>channel 1 interrupt allocation bit
  2236. 0: the interrupt of the channel is output to the dma_irq interruption
  2237. 1: the interrupt of the channel is output to the dma_irq1 interruption</comment>
  2238. </bits>
  2239. <bits access="rw" name="ch0_irq_en0" pos="0" rst="0">
  2240. <comment>channel 0 interrupt allocation bit
  2241. 0: the interrupt of the channel is output to the dma_irq interruption
  2242. 1: the interrupt of the channel is output to the dma_irq1 interruption</comment>
  2243. </bits>
  2244. </reg>
  2245. <hole size="224"/>
  2246. <reg name="axidma_c0_conf" protect="rw">
  2247. <bits access="rw" name="err_int_en" pos="15" rst="0">
  2248. <comment>response error interrupt enable
  2249. 0:disable
  2250. 1:enable</comment>
  2251. </bits>
  2252. <bits access="rw" name="security_en" pos="14" rst="1">
  2253. <comment>security visit
  2254. 0:security
  2255. 1:unsecurity</comment>
  2256. </bits>
  2257. <bits access="rw" name="daddr_turnaround" pos="13" rst="0">
  2258. <comment>after moving a COUNTP,the DADDR is automatically returned to the original destination addr
  2259. 0: the destination addr does not automatically ring back
  2260. 1: the destination addr automatically ring back</comment>
  2261. </bits>
  2262. <bits access="rw" name="saddr_turnaround" pos="12" rst="0">
  2263. <comment>after moving a COUNTP,the SADDR is automatically returned to initial source addr
  2264. 0: the source addr does not automatically ring back
  2265. 1: the source addr automatically ring back</comment>
  2266. </bits>
  2267. <bits access="rw" name="count_sel" pos="10" rst="0">
  2268. <comment>the length of moving data in one interrupt in interrupted mode
  2269. 0: move a countp
  2270. 1: move all count</comment>
  2271. </bits>
  2272. <bits access="rw" name="force_trans" pos="8" rst="0">
  2273. <comment>mandatory transmission control bit
  2274. 0: a transmission is not mandatory in interrupted mode. Or after seting, automatically cleared.
  2275. 1: force a transmission without interruption in interrupted mode.</comment>
  2276. </bits>
  2277. <bits access="rw" name="daddr_fix" pos="7" rst="0">
  2278. <comment>fixed destination addr control bit
  2279. 0: destination addr can be incremented by different data types during transmission
  2280. 1: the destination addr is fixed during transmission</comment>
  2281. </bits>
  2282. <bits access="rw" name="saddr_fix" pos="6" rst="0">
  2283. <comment>fixed source addr control bit
  2284. 0: source addr can be incremented by different data types during transmission
  2285. 1: the source add is fixed during transmission</comment>
  2286. </bits>
  2287. <bits access="rw" name="irq_t" pos="5" rst="0">
  2288. <comment>control bit of each transmission interruption
  2289. 0: each transmission does not produce an interrupt signal
  2290. 1: each transmission prodece an interrupt signal</comment>
  2291. </bits>
  2292. <bits access="rw" name="irq_f" pos="4" rst="1">
  2293. <comment>control bit of whole transmission interruption
  2294. 0: whole transmission does not produce an interrupt signal
  2295. 1: whole transmission prodece an interrupt signal</comment>
  2296. </bits>
  2297. <bits access="rw" name="syn_irq" pos="3" rst="0">
  2298. <comment>control bit of synchronous interrupt trigger mode
  2299. 0: this channel is in normal transmission mode
  2300. 1: this channel is in sync interrupt trigger mode</comment>
  2301. </bits>
  2302. <bits access="rw" name="data_type" pos="2:1" rst="0">
  2303. <comment>data types
  2304. 00: Byte (8 bits)
  2305. 01: Half Word (16 bits)
  2306. 10: Word (32 bits)
  2307. 11: DWord (64 bits)</comment>
  2308. </bits>
  2309. <bits access="rw" name="start" pos="0" rst="0">
  2310. <comment>start control bit
  2311. 0: stop the transmission of this channel
  2312. 1: start the transmission of this channel</comment>
  2313. </bits>
  2314. </reg>
  2315. <reg name="axidma_c0_map" protect="rw">
  2316. <bits access="rw" name="ack_map" pos="12:8" rst="0">
  2317. <comment>this channel corresponds to the ACK signal that is triggered
  2318. 00000: ACK0
  2319. 00001: ACK1
  2320. 00010: ACK2
  2321. ......
  2322. 10111: ACK23</comment>
  2323. </bits>
  2324. <bits access="rw" name="req_source" pos="4:0" rst="0">
  2325. <comment>the source of interrupt trigger for this channel
  2326. 00000: IRQ0 trigger transmission
  2327. 00001: IRQ1 trigger transmission
  2328. 00010: IRQ2 trigger transmission
  2329. ......
  2330. 01111: IRQ15 trigger transmission
  2331. ......
  2332. 10111: IRQ23trigger transmission</comment>
  2333. </bits>
  2334. </reg>
  2335. <reg name="axidma_c0_saddr" protect="rw">
  2336. <bits access="rw" name="s_addr" pos="31:0" rst="0">
  2337. <comment>the source addr of this channel</comment>
  2338. </bits>
  2339. </reg>
  2340. <reg name="axidma_c0_daddr" protect="rw">
  2341. <bits access="rw" name="d_addr" pos="31:0" rst="0">
  2342. <comment>the destination addr of this channel</comment>
  2343. </bits>
  2344. </reg>
  2345. <reg name="axidma_c0_count" protect="rw">
  2346. <bits access="rw" name="count" pos="23:0" rst="0">
  2347. <comment>The total length of the transmitted data is measured in byte</comment>
  2348. </bits>
  2349. </reg>
  2350. <reg name="axidma_c0_countp" protect="rw">
  2351. <bits access="rw" name="countp" pos="15:0" rst="0">
  2352. <comment>the data length per transmission is measured in byte</comment>
  2353. </bits>
  2354. </reg>
  2355. <reg name="axidma_c0_status" protect="rw">
  2356. <bits access="rc" name="resp_err_int" pos="26" rst="0">
  2357. <comment>bit type is changed from w1c to rc.
  2358. response error interrupt flag
  2359. 0:unset
  2360. 1:set</comment>
  2361. </bits>
  2362. <bits access="rc" name="resp_err" pos="25" rst="0">
  2363. <comment>bit type is changed from w1c to rc.
  2364. response error status
  2365. 0:unset
  2366. 1:set</comment>
  2367. </bits>
  2368. <bits access="rc" name="sg_suspend_sta" pos="24" rst="0">
  2369. <comment>bit type is changed from w1c to rc.
  2370. data linked list is paused
  2371. 0: not paused
  2372. 1: paused</comment>
  2373. </bits>
  2374. <bits access="rc" name="sg_finish_sta" pos="23" rst="0">
  2375. <comment>bit type is changed from w1c to rc.
  2376. the linked list is completed
  2377. 0: not completed
  2378. 1: completed</comment>
  2379. </bits>
  2380. <bits access="rc" name="countp_finish_sta" pos="22" rst="0">
  2381. <comment>bit type is changed from w1c to rc.
  2382. COUNTP transmission completion indication
  2383. 0: COUNTP is not completed
  2384. 1: COUNTP is completed</comment>
  2385. </bits>
  2386. <bits access="rc" name="count_finish_sta" pos="21" rst="0">
  2387. <comment>bit type is changed from w1c to rc.
  2388. COUNT transmission completion indication
  2389. 0: COUNT is not completed
  2390. 1: COUNT is completed</comment>
  2391. </bits>
  2392. <bits access="rc" name="sg_suspend" pos="20" rst="0">
  2393. <comment>bit type is changed from w1c to rc.
  2394. scatter-gather pause</comment>
  2395. </bits>
  2396. <bits access="rc" name="sg_count" pos="19:4" rst="0">
  2397. <comment>bit type is changed from w1c to rc.
  2398. the number of scatter-gather transfers completed
  2399. 0x0000: 0
  2400. ......
  2401. 0xFFFF: 65535 times</comment>
  2402. </bits>
  2403. <bits access="rc" name="sg_finish" pos="3" rst="0">
  2404. <comment>bit type is changed from w1c to rc.
  2405. scatter-gather transmission completion
  2406. 0: scatter-gather is not completed
  2407. 1: scatter-gather is completed</comment>
  2408. </bits>
  2409. <bits access="rc" name="countp_finish" pos="2" rst="0">
  2410. <comment>bit type is changed from w1c to rc.
  2411. COUNTP transmission completion indication
  2412. 0: COUNTP is not completed
  2413. 1: COUNTP is completed</comment>
  2414. </bits>
  2415. <bits access="rc" name="count_finish" pos="1" rst="0">
  2416. <comment>bit type is changed from w1c to rc.
  2417. the whole transmission completion indication
  2418. 0: the whole transmission is not completed
  2419. 1: the whole transmission is completed</comment>
  2420. </bits>
  2421. <bits access="rc" name="run" pos="0" rst="0">
  2422. <comment>bit type is changed from w1c to rc.
  2423. the channel runs state
  2424. 0: IDLE
  2425. 1: TRANS</comment>
  2426. </bits>
  2427. </reg>
  2428. <reg name="axidma_c0_sgaddr" protect="rw">
  2429. <bits access="rw" name="sg_addr" pos="31:0" rst="0">
  2430. <comment>first addr of the structural body</comment>
  2431. </bits>
  2432. </reg>
  2433. <reg name="axidma_c0_sgconf" protect="rw">
  2434. <bits access="rw" name="sg_num" pos="19:4" rst="0">
  2435. <comment>scatter-gather transmission frequency
  2436. 0x0: unlimited limit
  2437. ......
  2438. 0xFFFF: 65535 times</comment>
  2439. </bits>
  2440. <bits access="rw" name="desc_rd_ctrl" pos="3" rst="0">
  2441. <comment>linked table read control
  2442. 0: after the data is moved,the linked list isread and no descriptor_req are required
  2443. 1: descriptor_req is needed to read the linked list</comment>
  2444. </bits>
  2445. <bits access="rw" name="sg_suspend_ie" pos="2" rst="0">
  2446. <comment>scatter-gather pause interrupt enable
  2447. 0: disable
  2448. 1: enable</comment>
  2449. </bits>
  2450. <bits access="rw" name="sg_finish_ie" pos="1" rst="0">
  2451. <comment>scatter-gather complete interrupt enable
  2452. 0: disable
  2453. 1: enable</comment>
  2454. </bits>
  2455. <bits access="rc" name="sg_en" pos="0" rst="0">
  2456. <comment>bit type is changed from w1c to rc.
  2457. scatter-gather function enable
  2458. 0: disable
  2459. 1: enable</comment>
  2460. </bits>
  2461. </reg>
  2462. <reg name="axidma_c0_set" protect="rw">
  2463. <bits access="rw" name="run_set" pos="0" rst="0">
  2464. <comment>channel runs position
  2465. 0: the running bit of the channel does not change
  2466. 1: set the running bit of the channel</comment>
  2467. </bits>
  2468. </reg>
  2469. <reg name="axidma_c0_clr" protect="rw">
  2470. <bits access="rw" name="run_clr" pos="0" rst="0">
  2471. <comment>clear the running bit of channel
  2472. 0: the running bit of the channel does not change
  2473. 1: clear the running bit of the channel</comment>
  2474. </bits>
  2475. </reg>
  2476. <hole size="160"/>
  2477. <reg name="axidma_c1_conf" protect="rw">
  2478. <bits access="rw" name="err_int_en" pos="15" rst="0">
  2479. <comment>response error interrupt enable
  2480. 0:disable
  2481. 1:enable</comment>
  2482. </bits>
  2483. <bits access="rw" name="security_en" pos="14" rst="1">
  2484. <comment>security visit
  2485. 0:security
  2486. 1:unsecurity</comment>
  2487. </bits>
  2488. <bits access="rw" name="daddr_turnaround" pos="13" rst="0">
  2489. <comment>after moving a COUNTP,the DADDR is automatically returned to the original destination addr
  2490. 0: the destination addr does not automatically ring back
  2491. 1: the destination addr automatically ring back</comment>
  2492. </bits>
  2493. <bits access="rw" name="saddr_turnaround" pos="12" rst="0">
  2494. <comment>after moving a COUNTP,the SADDR is automatically returned to initial source addr
  2495. 0: the source addr does not automatically ring back
  2496. 1: the source addr automatically ring back</comment>
  2497. </bits>
  2498. <bits access="rw" name="count_sel" pos="10" rst="0">
  2499. <comment>the length of moving data in one interrupt in interrupted mode
  2500. 0: move a countp
  2501. 1: move all count</comment>
  2502. </bits>
  2503. <bits access="rw" name="force_trans" pos="8" rst="0">
  2504. <comment>mandatory transmission control bit
  2505. 0: a transmission is not mandatory in interrupted mode. Or after seting, automatically cleared.
  2506. 1: force a transmission without interruption in interrupted mode.</comment>
  2507. </bits>
  2508. <bits access="rw" name="daddr_fix" pos="7" rst="0">
  2509. <comment>fixed destination addr control bit
  2510. 0: destination addr can be incremented by different data types during transmission
  2511. 1: the destination addr is fixed during transmission</comment>
  2512. </bits>
  2513. <bits access="rw" name="saddr_fix" pos="6" rst="0">
  2514. <comment>fixed source addr control bit
  2515. 0: source addr can be incremented by different data types during transmission
  2516. 1: the source add is fixed during transmission</comment>
  2517. </bits>
  2518. <bits access="rw" name="irq_t" pos="5" rst="0">
  2519. <comment>control bit of each transmission interruption
  2520. 0: each transmission does not produce an interrupt signal
  2521. 1: each transmission prodece an interrupt signal</comment>
  2522. </bits>
  2523. <bits access="rw" name="irq_f" pos="4" rst="1">
  2524. <comment>control bit of whole transmission interruption
  2525. 0: whole transmission does not produce an interrupt signal
  2526. 1: whole transmission prodece an interrupt signal</comment>
  2527. </bits>
  2528. <bits access="rw" name="syn_irq" pos="3" rst="0">
  2529. <comment>control bit of synchronous interrupt trigger mode
  2530. 0: this channel is in normal transmission mode
  2531. 1: this channel is in sync interrupt trigger mode</comment>
  2532. </bits>
  2533. <bits access="rw" name="data_type" pos="2:1" rst="0">
  2534. <comment>data types
  2535. 00: Byte (8 bits)
  2536. 01: Half Word (16 bits)
  2537. 10: Word (32 bits)
  2538. 11: DWord (64 bits)</comment>
  2539. </bits>
  2540. <bits access="rw" name="start" pos="0" rst="0">
  2541. <comment>start control bit
  2542. 0: stop the transmission of this channel
  2543. 1: start the transmission of this channel</comment>
  2544. </bits>
  2545. </reg>
  2546. <reg name="axidma_c1_map" protect="rw">
  2547. <bits access="rw" name="ack_map" pos="12:8" rst="1">
  2548. <comment>this channel corresponds to the ACK signal that is triggered
  2549. 00000: ACK0
  2550. 00001: ACK1
  2551. 00010: ACK2
  2552. ......
  2553. 10111: ACK23</comment>
  2554. </bits>
  2555. <bits access="rw" name="req_source" pos="4:0" rst="1">
  2556. <comment>the source of interrupt trigger for this channel
  2557. 00000: IRQ0 trigger transmission
  2558. 00001: IRQ1 trigger transmission
  2559. 00010: IRQ2 trigger transmission
  2560. ......
  2561. 01111: IRQ15 trigger transmission
  2562. ......
  2563. 10111: IRQ23trigger transmission</comment>
  2564. </bits>
  2565. </reg>
  2566. <reg name="axidma_c1_saddr" protect="rw">
  2567. <bits access="rw" name="s_addr" pos="31:0" rst="0">
  2568. <comment>the source addr of this channel</comment>
  2569. </bits>
  2570. </reg>
  2571. <reg name="axidma_c1_daddr" protect="rw">
  2572. <bits access="rw" name="d_addr" pos="31:0" rst="0">
  2573. <comment>the destination addr of this channel</comment>
  2574. </bits>
  2575. </reg>
  2576. <reg name="axidma_c1_count" protect="rw">
  2577. <bits access="rw" name="count" pos="23:0" rst="0">
  2578. <comment>The total length of the transmitted data is measured in byte</comment>
  2579. </bits>
  2580. </reg>
  2581. <reg name="axidma_c1_countp" protect="rw">
  2582. <bits access="rw" name="countp" pos="15:0" rst="0">
  2583. <comment>the data length per transmission is measured in byte</comment>
  2584. </bits>
  2585. </reg>
  2586. <reg name="axidma_c1_status" protect="rw">
  2587. <bits access="rc" name="resp_err_int" pos="26" rst="0">
  2588. <comment>bit type is changed from w1c to rc.
  2589. response error interrupt flag
  2590. 0:unset
  2591. 1:set</comment>
  2592. </bits>
  2593. <bits access="rc" name="resp_err" pos="25" rst="0">
  2594. <comment>bit type is changed from w1c to rc.
  2595. response error status
  2596. 0:unset
  2597. 1:set</comment>
  2598. </bits>
  2599. <bits access="rc" name="sg_suspend_sta" pos="24" rst="0">
  2600. <comment>bit type is changed from w1c to rc.
  2601. data linked list is paused
  2602. 0: not paused
  2603. 1: paused</comment>
  2604. </bits>
  2605. <bits access="rc" name="sg_finish_sta" pos="23" rst="0">
  2606. <comment>bit type is changed from w1c to rc.
  2607. the linked list is completed
  2608. 0: not completed
  2609. 1: completed</comment>
  2610. </bits>
  2611. <bits access="rc" name="countp_finish_sta" pos="22" rst="0">
  2612. <comment>bit type is changed from w1c to rc.
  2613. COUNTP transmission completion indication
  2614. 0: COUNTP is not completed
  2615. 1: COUNTP is completed</comment>
  2616. </bits>
  2617. <bits access="rc" name="count_finish_sta" pos="21" rst="0">
  2618. <comment>bit type is changed from w1c to rc.
  2619. COUNT transmission completion indication
  2620. 0: COUNT is not completed
  2621. 1: COUNT is completed</comment>
  2622. </bits>
  2623. <bits access="rc" name="sg_suspend" pos="20" rst="0">
  2624. <comment>bit type is changed from w1c to rc.
  2625. scatter-gather pause</comment>
  2626. </bits>
  2627. <bits access="rc" name="sg_count" pos="19:4" rst="0">
  2628. <comment>bit type is changed from w1c to rc.
  2629. the number of scatter-gather transfers completed
  2630. 0x0000: 0
  2631. ......
  2632. 0xFFFF: 65535 times</comment>
  2633. </bits>
  2634. <bits access="rc" name="sg_finish" pos="3" rst="0">
  2635. <comment>bit type is changed from w1c to rc.
  2636. scatter-gather transmission completion
  2637. 0: scatter-gather is not completed
  2638. 1: scatter-gather is completed</comment>
  2639. </bits>
  2640. <bits access="rc" name="countp_finish" pos="2" rst="0">
  2641. <comment>bit type is changed from w1c to rc.
  2642. COUNTP transmission completion indication
  2643. 0: COUNTP is not completed
  2644. 1: COUNTP is completed</comment>
  2645. </bits>
  2646. <bits access="rc" name="count_finish" pos="1" rst="0">
  2647. <comment>bit type is changed from w1c to rc.
  2648. the whole transmission completion indication
  2649. 0: the whole transmission is not completed
  2650. 1: the whole transmission is completed</comment>
  2651. </bits>
  2652. <bits access="rc" name="run" pos="0" rst="0">
  2653. <comment>bit type is changed from w1c to rc.
  2654. the channel runs state
  2655. 0: IDLE
  2656. 1: TRANS</comment>
  2657. </bits>
  2658. </reg>
  2659. <reg name="axidma_c1_sgaddr" protect="rw">
  2660. <bits access="rw" name="sg_addr" pos="31:0" rst="0">
  2661. <comment>first addr of the structural body</comment>
  2662. </bits>
  2663. </reg>
  2664. <reg name="axidma_c1_sgconf" protect="rw">
  2665. <bits access="rw" name="sg_num" pos="19:4" rst="0">
  2666. <comment>scatter-gather transmission frequency
  2667. 0x0: unlimited limit
  2668. ......
  2669. 0xFFFF: 65535 times</comment>
  2670. </bits>
  2671. <bits access="rw" name="desc_rd_ctrl" pos="3" rst="0">
  2672. <comment>linked table read control
  2673. 0: after the data is moved,the linked list isread and no descriptor_req are required
  2674. 1: descriptor_req is needed to read the linked list</comment>
  2675. </bits>
  2676. <bits access="rw" name="sg_suspend_ie" pos="2" rst="0">
  2677. <comment>scatter-gather pause interrupt enable
  2678. 0: disable
  2679. 1: enable</comment>
  2680. </bits>
  2681. <bits access="rw" name="sg_finish_ie" pos="1" rst="0">
  2682. <comment>scatter-gather complete interrupt enable
  2683. 0: disable
  2684. 1: enable</comment>
  2685. </bits>
  2686. <bits access="rc" name="sg_en" pos="0" rst="0">
  2687. <comment>bit type is changed from w1c to rc.
  2688. scatter-gather function enable
  2689. 0: disable
  2690. 1: enable</comment>
  2691. </bits>
  2692. </reg>
  2693. <reg name="axidma_c1_set" protect="rw">
  2694. <bits access="rw" name="run_set" pos="0" rst="0">
  2695. <comment>channel runs position
  2696. 0: the running bit of the channel does not change
  2697. 1: set the running bit of the channel</comment>
  2698. </bits>
  2699. </reg>
  2700. <reg name="axidma_c1_clr" protect="rw">
  2701. <bits access="rw" name="run_clr" pos="0" rst="0">
  2702. <comment>clear the running bit of channel
  2703. 0: the running bit of the channel does not change
  2704. 1: clear the running bit of the channel</comment>
  2705. </bits>
  2706. </reg>
  2707. <hole size="160"/>
  2708. <reg name="axidma_c2_conf" protect="rw">
  2709. <bits access="rw" name="err_int_en" pos="15" rst="0">
  2710. <comment>response error interrupt enable
  2711. 0:disable
  2712. 1:enable</comment>
  2713. </bits>
  2714. <bits access="rw" name="security_en" pos="14" rst="1">
  2715. <comment>security visit
  2716. 0:security
  2717. 1:unsecurity</comment>
  2718. </bits>
  2719. <bits access="rw" name="daddr_turnaround" pos="13" rst="0">
  2720. <comment>after moving a COUNTP,the DADDR is automatically returned to the original destination addr
  2721. 0: the destination addr does not automatically ring back
  2722. 1: the destination addr automatically ring back</comment>
  2723. </bits>
  2724. <bits access="rw" name="saddr_turnaround" pos="12" rst="0">
  2725. <comment>after moving a COUNTP,the SADDR is automatically returned to initial source addr
  2726. 0: the source addr does not automatically ring back
  2727. 1: the source addr automatically ring back</comment>
  2728. </bits>
  2729. <bits access="rw" name="count_sel" pos="10" rst="0">
  2730. <comment>the length of moving data in one interrupt in interrupted mode
  2731. 0: move a countp
  2732. 1: move all count</comment>
  2733. </bits>
  2734. <bits access="rw" name="force_trans" pos="8" rst="0">
  2735. <comment>mandatory transmission control bit
  2736. 0: a transmission is not mandatory in interrupted mode. Or after seting, automatically cleared.
  2737. 1: force a transmission without interruption in interrupted mode.</comment>
  2738. </bits>
  2739. <bits access="rw" name="daddr_fix" pos="7" rst="0">
  2740. <comment>fixed destination addr control bit
  2741. 0: destination addr can be incremented by different data types during transmission
  2742. 1: the destination addr is fixed during transmission</comment>
  2743. </bits>
  2744. <bits access="rw" name="saddr_fix" pos="6" rst="0">
  2745. <comment>fixed source addr control bit
  2746. 0: source addr can be incremented by different data types during transmission
  2747. 1: the source add is fixed during transmission</comment>
  2748. </bits>
  2749. <bits access="rw" name="irq_t" pos="5" rst="0">
  2750. <comment>control bit of each transmission interruption
  2751. 0: each transmission does not produce an interrupt signal
  2752. 1: each transmission prodece an interrupt signal</comment>
  2753. </bits>
  2754. <bits access="rw" name="irq_f" pos="4" rst="1">
  2755. <comment>control bit of whole transmission interruption
  2756. 0: whole transmission does not produce an interrupt signal
  2757. 1: whole transmission prodece an interrupt signal</comment>
  2758. </bits>
  2759. <bits access="rw" name="syn_irq" pos="3" rst="0">
  2760. <comment>control bit of synchronous interrupt trigger mode
  2761. 0: this channel is in normal transmission mode
  2762. 1: this channel is in sync interrupt trigger mode</comment>
  2763. </bits>
  2764. <bits access="rw" name="data_type" pos="2:1" rst="0">
  2765. <comment>data types
  2766. 00: Byte (8 bits)
  2767. 01: Half Word (16 bits)
  2768. 10: Word (32 bits)
  2769. 11: DWord (64 bits)</comment>
  2770. </bits>
  2771. <bits access="rw" name="start" pos="0" rst="0">
  2772. <comment>start control bit
  2773. 0: stop the transmission of this channel
  2774. 1: start the transmission of this channel</comment>
  2775. </bits>
  2776. </reg>
  2777. <reg name="axidma_c2_map" protect="rw">
  2778. <bits access="rw" name="ack_map" pos="12:8" rst="2">
  2779. <comment>this channel corresponds to the ACK signal that is triggered
  2780. 00000: ACK0
  2781. 00001: ACK1
  2782. 00010: ACK2
  2783. ......
  2784. 10111: ACK23</comment>
  2785. </bits>
  2786. <bits access="rw" name="req_source" pos="4:0" rst="2">
  2787. <comment>the source of interrupt trigger for this channel
  2788. 00000: IRQ0 trigger transmission
  2789. 00001: IRQ1 trigger transmission
  2790. 00010: IRQ2 trigger transmission
  2791. ......
  2792. 01111: IRQ15 trigger transmission
  2793. ......
  2794. 10111: IRQ23trigger transmission</comment>
  2795. </bits>
  2796. </reg>
  2797. <reg name="axidma_c2_saddr" protect="rw">
  2798. <bits access="rw" name="s_addr" pos="31:0" rst="0">
  2799. <comment>the source addr of this channel</comment>
  2800. </bits>
  2801. </reg>
  2802. <reg name="axidma_c2_daddr" protect="rw">
  2803. <bits access="rw" name="d_addr" pos="31:0" rst="0">
  2804. <comment>the destination addr of this channel</comment>
  2805. </bits>
  2806. </reg>
  2807. <reg name="axidma_c2_count" protect="rw">
  2808. <bits access="rw" name="count" pos="23:0" rst="0">
  2809. <comment>The total length of the transmitted data is measured in byte</comment>
  2810. </bits>
  2811. </reg>
  2812. <reg name="axidma_c2_countp" protect="rw">
  2813. <bits access="rw" name="countp" pos="15:0" rst="0">
  2814. <comment>the data length per transmission is measured in byte</comment>
  2815. </bits>
  2816. </reg>
  2817. <reg name="axidma_c2_status" protect="rw">
  2818. <bits access="rc" name="resp_err_int" pos="26" rst="0">
  2819. <comment>bit type is changed from w1c to rc.
  2820. response error interrupt flag
  2821. 0:unset
  2822. 1:set</comment>
  2823. </bits>
  2824. <bits access="rc" name="resp_err" pos="25" rst="0">
  2825. <comment>bit type is changed from w1c to rc.
  2826. response error status
  2827. 0:unset
  2828. 1:set</comment>
  2829. </bits>
  2830. <bits access="rc" name="sg_suspend_sta" pos="24" rst="0">
  2831. <comment>bit type is changed from w1c to rc.
  2832. data linked list is paused
  2833. 0: not paused
  2834. 1: paused</comment>
  2835. </bits>
  2836. <bits access="rc" name="sg_finish_sta" pos="23" rst="0">
  2837. <comment>bit type is changed from w1c to rc.
  2838. the linked list is completed
  2839. 0: not completed
  2840. 1: completed</comment>
  2841. </bits>
  2842. <bits access="rc" name="countp_finish_sta" pos="22" rst="0">
  2843. <comment>bit type is changed from w1c to rc.
  2844. COUNTP transmission completion indication
  2845. 0: COUNTP is not completed
  2846. 1: COUNTP is completed</comment>
  2847. </bits>
  2848. <bits access="rc" name="count_finish_sta" pos="21" rst="0">
  2849. <comment>bit type is changed from w1c to rc.
  2850. COUNT transmission completion indication
  2851. 0: COUNT is not completed
  2852. 1: COUNT is completed</comment>
  2853. </bits>
  2854. <bits access="rc" name="sg_suspend" pos="20" rst="0">
  2855. <comment>bit type is changed from w1c to rc.
  2856. scatter-gather pause</comment>
  2857. </bits>
  2858. <bits access="rc" name="sg_count" pos="19:4" rst="0">
  2859. <comment>bit type is changed from w1c to rc.
  2860. the number of scatter-gather transfers completed
  2861. 0x0000: 0
  2862. ......
  2863. 0xFFFF: 65535 times</comment>
  2864. </bits>
  2865. <bits access="rc" name="sg_finish" pos="3" rst="0">
  2866. <comment>bit type is changed from w1c to rc.
  2867. scatter-gather transmission completion
  2868. 0: scatter-gather is not completed
  2869. 1: scatter-gather is completed</comment>
  2870. </bits>
  2871. <bits access="rc" name="countp_finish" pos="2" rst="0">
  2872. <comment>bit type is changed from w1c to rc.
  2873. COUNTP transmission completion indication
  2874. 0: COUNTP is not completed
  2875. 1: COUNTP is completed</comment>
  2876. </bits>
  2877. <bits access="rc" name="count_finish" pos="1" rst="0">
  2878. <comment>bit type is changed from w1c to rc.
  2879. the whole transmission completion indication
  2880. 0: the whole transmission is not completed
  2881. 1: the whole transmission is completed</comment>
  2882. </bits>
  2883. <bits access="rc" name="run" pos="0" rst="0">
  2884. <comment>bit type is changed from w1c to rc.
  2885. the channel runs state
  2886. 0: IDLE
  2887. 1: TRANS</comment>
  2888. </bits>
  2889. </reg>
  2890. <reg name="axidma_c2_sgaddr" protect="rw">
  2891. <bits access="rw" name="sg_addr" pos="31:0" rst="0">
  2892. <comment>first addr of the structural body</comment>
  2893. </bits>
  2894. </reg>
  2895. <reg name="axidma_c2_sgconf" protect="rw">
  2896. <bits access="rw" name="sg_num" pos="19:4" rst="0">
  2897. <comment>scatter-gather transmission frequency
  2898. 0x0: unlimited limit
  2899. ......
  2900. 0xFFFF: 65535 times</comment>
  2901. </bits>
  2902. <bits access="rw" name="desc_rd_ctrl" pos="3" rst="0">
  2903. <comment>linked table read control
  2904. 0: after the data is moved,the linked list isread and no descriptor_req are required
  2905. 1: descriptor_req is needed to read the linked list</comment>
  2906. </bits>
  2907. <bits access="rw" name="sg_suspend_ie" pos="2" rst="0">
  2908. <comment>scatter-gather pause interrupt enable
  2909. 0: disable
  2910. 1: enable</comment>
  2911. </bits>
  2912. <bits access="rw" name="sg_finish_ie" pos="1" rst="0">
  2913. <comment>scatter-gather complete interrupt enable
  2914. 0: disable
  2915. 1: enable</comment>
  2916. </bits>
  2917. <bits access="rc" name="sg_en" pos="0" rst="0">
  2918. <comment>bit type is changed from w1c to rc.
  2919. scatter-gather function enable
  2920. 0: disable
  2921. 1: enable</comment>
  2922. </bits>
  2923. </reg>
  2924. <reg name="axidma_c2_set" protect="rw">
  2925. <bits access="rw" name="run_set" pos="0" rst="0">
  2926. <comment>channel runs position
  2927. 0: the running bit of the channel does not change
  2928. 1: set the running bit of the channel</comment>
  2929. </bits>
  2930. </reg>
  2931. <reg name="axidma_c2_clr" protect="rw">
  2932. <bits access="rw" name="run_clr" pos="0" rst="0">
  2933. <comment>clear the running bit of channel
  2934. 0: the running bit of the channel does not change
  2935. 1: clear the running bit of the channel</comment>
  2936. </bits>
  2937. </reg>
  2938. <hole size="160"/>
  2939. <reg name="axidma_c3_conf" protect="rw">
  2940. <bits access="rw" name="err_int_en" pos="15" rst="0">
  2941. <comment>response error interrupt enable
  2942. 0:disable
  2943. 1:enable</comment>
  2944. </bits>
  2945. <bits access="rw" name="security_en" pos="14" rst="1">
  2946. <comment>security visit
  2947. 0:security
  2948. 1:unsecurity</comment>
  2949. </bits>
  2950. <bits access="rw" name="daddr_turnaround" pos="13" rst="0">
  2951. <comment>after moving a COUNTP,the DADDR is automatically returned to the original destination addr
  2952. 0: the destination addr does not automatically ring back
  2953. 1: the destination addr automatically ring back</comment>
  2954. </bits>
  2955. <bits access="rw" name="saddr_turnaround" pos="12" rst="0">
  2956. <comment>after moving a COUNTP,the SADDR is automatically returned to initial source addr
  2957. 0: the source addr does not automatically ring back
  2958. 1: the source addr automatically ring back</comment>
  2959. </bits>
  2960. <bits access="rw" name="count_sel" pos="10" rst="0">
  2961. <comment>the length of moving data in one interrupt in interrupted mode
  2962. 0: move a countp
  2963. 1: move all count</comment>
  2964. </bits>
  2965. <bits access="rw" name="force_trans" pos="8" rst="0">
  2966. <comment>mandatory transmission control bit
  2967. 0: a transmission is not mandatory in interrupted mode. Or after seting, automatically cleared.
  2968. 1: force a transmission without interruption in interrupted mode.</comment>
  2969. </bits>
  2970. <bits access="rw" name="daddr_fix" pos="7" rst="0">
  2971. <comment>fixed destination addr control bit
  2972. 0: destination addr can be incremented by different data types during transmission
  2973. 1: the destination addr is fixed during transmission</comment>
  2974. </bits>
  2975. <bits access="rw" name="saddr_fix" pos="6" rst="0">
  2976. <comment>fixed source addr control bit
  2977. 0: source addr can be incremented by different data types during transmission
  2978. 1: the source add is fixed during transmission</comment>
  2979. </bits>
  2980. <bits access="rw" name="irq_t" pos="5" rst="0">
  2981. <comment>control bit of each transmission interruption
  2982. 0: each transmission does not produce an interrupt signal
  2983. 1: each transmission prodece an interrupt signal</comment>
  2984. </bits>
  2985. <bits access="rw" name="irq_f" pos="4" rst="1">
  2986. <comment>control bit of whole transmission interruption
  2987. 0: whole transmission does not produce an interrupt signal
  2988. 1: whole transmission prodece an interrupt signal</comment>
  2989. </bits>
  2990. <bits access="rw" name="syn_irq" pos="3" rst="0">
  2991. <comment>control bit of synchronous interrupt trigger mode
  2992. 0: this channel is in normal transmission mode
  2993. 1: this channel is in sync interrupt trigger mode</comment>
  2994. </bits>
  2995. <bits access="rw" name="data_type" pos="2:1" rst="0">
  2996. <comment>data types
  2997. 00: Byte (8 bits)
  2998. 01: Half Word (16 bits)
  2999. 10: Word (32 bits)
  3000. 11: DWord (64 bits)</comment>
  3001. </bits>
  3002. <bits access="rw" name="start" pos="0" rst="0">
  3003. <comment>start control bit
  3004. 0: stop the transmission of this channel
  3005. 1: start the transmission of this channel</comment>
  3006. </bits>
  3007. </reg>
  3008. <reg name="axidma_c3_map" protect="rw">
  3009. <bits access="rw" name="ack_map" pos="12:8" rst="3">
  3010. <comment>this channel corresponds to the ACK signal that is triggered
  3011. 00000: ACK0
  3012. 00001: ACK1
  3013. 00010: ACK2
  3014. ......
  3015. 10111: ACK23</comment>
  3016. </bits>
  3017. <bits access="rw" name="req_source" pos="4:0" rst="3">
  3018. <comment>the source of interrupt trigger for this channel
  3019. 00000: IRQ0 trigger transmission
  3020. 00001: IRQ1 trigger transmission
  3021. 00010: IRQ2 trigger transmission
  3022. ......
  3023. 01111: IRQ15 trigger transmission
  3024. ......
  3025. 10111: IRQ23trigger transmission</comment>
  3026. </bits>
  3027. </reg>
  3028. <reg name="axidma_c3_saddr" protect="rw">
  3029. <bits access="rw" name="s_addr" pos="31:0" rst="0">
  3030. <comment>the source addr of this channel</comment>
  3031. </bits>
  3032. </reg>
  3033. <reg name="axidma_c3_daddr" protect="rw">
  3034. <bits access="rw" name="d_addr" pos="31:0" rst="0">
  3035. <comment>the destination addr of this channel</comment>
  3036. </bits>
  3037. </reg>
  3038. <reg name="axidma_c3_count" protect="rw">
  3039. <bits access="rw" name="count" pos="23:0" rst="0">
  3040. <comment>The total length of the transmitted data is measured in byte</comment>
  3041. </bits>
  3042. </reg>
  3043. <reg name="axidma_c3_countp" protect="rw">
  3044. <bits access="rw" name="countp" pos="15:0" rst="0">
  3045. <comment>the data length per transmission is measured in byte</comment>
  3046. </bits>
  3047. </reg>
  3048. <reg name="axidma_c3_status" protect="rw">
  3049. <bits access="rc" name="resp_err_int" pos="26" rst="0">
  3050. <comment>bit type is changed from w1c to rc.
  3051. response error interrupt flag
  3052. 0:unset
  3053. 1:set</comment>
  3054. </bits>
  3055. <bits access="rc" name="resp_err" pos="25" rst="0">
  3056. <comment>bit type is changed from w1c to rc.
  3057. response error status
  3058. 0:unset
  3059. 1:set</comment>
  3060. </bits>
  3061. <bits access="rc" name="sg_suspend_sta" pos="24" rst="0">
  3062. <comment>bit type is changed from w1c to rc.
  3063. data linked list is paused
  3064. 0: not paused
  3065. 1: paused</comment>
  3066. </bits>
  3067. <bits access="rc" name="sg_finish_sta" pos="23" rst="0">
  3068. <comment>bit type is changed from w1c to rc.
  3069. the linked list is completed
  3070. 0: not completed
  3071. 1: completed</comment>
  3072. </bits>
  3073. <bits access="rc" name="countp_finish_sta" pos="22" rst="0">
  3074. <comment>bit type is changed from w1c to rc.
  3075. COUNTP transmission completion indication
  3076. 0: COUNTP is not completed
  3077. 1: COUNTP is completed</comment>
  3078. </bits>
  3079. <bits access="rc" name="count_finish_sta" pos="21" rst="0">
  3080. <comment>bit type is changed from w1c to rc.
  3081. COUNT transmission completion indication
  3082. 0: COUNT is not completed
  3083. 1: COUNT is completed</comment>
  3084. </bits>
  3085. <bits access="rc" name="sg_suspend" pos="20" rst="0">
  3086. <comment>bit type is changed from w1c to rc.
  3087. scatter-gather pause</comment>
  3088. </bits>
  3089. <bits access="rc" name="sg_count" pos="19:4" rst="0">
  3090. <comment>bit type is changed from w1c to rc.
  3091. the number of scatter-gather transfers completed
  3092. 0x0000: 0
  3093. ......
  3094. 0xFFFF: 65535 times</comment>
  3095. </bits>
  3096. <bits access="rc" name="sg_finish" pos="3" rst="0">
  3097. <comment>bit type is changed from w1c to rc.
  3098. scatter-gather transmission completion
  3099. 0: scatter-gather is not completed
  3100. 1: scatter-gather is completed</comment>
  3101. </bits>
  3102. <bits access="rc" name="countp_finish" pos="2" rst="0">
  3103. <comment>bit type is changed from w1c to rc.
  3104. COUNTP transmission completion indication
  3105. 0: COUNTP is not completed
  3106. 1: COUNTP is completed</comment>
  3107. </bits>
  3108. <bits access="rc" name="count_finish" pos="1" rst="0">
  3109. <comment>bit type is changed from w1c to rc.
  3110. the whole transmission completion indication
  3111. 0: the whole transmission is not completed
  3112. 1: the whole transmission is completed</comment>
  3113. </bits>
  3114. <bits access="rc" name="run" pos="0" rst="0">
  3115. <comment>bit type is changed from w1c to rc.
  3116. the channel runs state
  3117. 0: IDLE
  3118. 1: TRANS</comment>
  3119. </bits>
  3120. </reg>
  3121. <reg name="axidma_c3_sgaddr" protect="rw">
  3122. <bits access="rw" name="sg_addr" pos="31:0" rst="0">
  3123. <comment>first addr of the structural body</comment>
  3124. </bits>
  3125. </reg>
  3126. <reg name="axidma_c3_sgconf" protect="rw">
  3127. <bits access="rw" name="sg_num" pos="19:4" rst="0">
  3128. <comment>scatter-gather transmission frequency
  3129. 0x0: unlimited limit
  3130. ......
  3131. 0xFFFF: 65535 times</comment>
  3132. </bits>
  3133. <bits access="rw" name="desc_rd_ctrl" pos="3" rst="0">
  3134. <comment>linked table read control
  3135. 0: after the data is moved,the linked list isread and no descriptor_req are required
  3136. 1: descriptor_req is needed to read the linked list</comment>
  3137. </bits>
  3138. <bits access="rw" name="sg_suspend_ie" pos="2" rst="0">
  3139. <comment>scatter-gather pause interrupt enable
  3140. 0: disable
  3141. 1: enable</comment>
  3142. </bits>
  3143. <bits access="rw" name="sg_finish_ie" pos="1" rst="0">
  3144. <comment>scatter-gather complete interrupt enable
  3145. 0: disable
  3146. 1: enable</comment>
  3147. </bits>
  3148. <bits access="rc" name="sg_en" pos="0" rst="0">
  3149. <comment>bit type is changed from w1c to rc.
  3150. scatter-gather function enable
  3151. 0: disable
  3152. 1: enable</comment>
  3153. </bits>
  3154. </reg>
  3155. <reg name="axidma_c3_set" protect="rw">
  3156. <bits access="rw" name="run_set" pos="0" rst="0">
  3157. <comment>channel runs position
  3158. 0: the running bit of the channel does not change
  3159. 1: set the running bit of the channel</comment>
  3160. </bits>
  3161. </reg>
  3162. <reg name="axidma_c3_clr" protect="rw">
  3163. <bits access="rw" name="run_clr" pos="0" rst="0">
  3164. <comment>clear the running bit of channel
  3165. 0: the running bit of the channel does not change
  3166. 1: clear the running bit of the channel</comment>
  3167. </bits>
  3168. </reg>
  3169. <hole size="160"/>
  3170. <reg name="axidma_c4_conf" protect="rw">
  3171. <bits access="rw" name="err_int_en" pos="15" rst="0">
  3172. <comment>response error interrupt enable
  3173. 0:disable
  3174. 1:enable</comment>
  3175. </bits>
  3176. <bits access="rw" name="security_en" pos="14" rst="1">
  3177. <comment>security visit
  3178. 0:security
  3179. 1:unsecurity</comment>
  3180. </bits>
  3181. <bits access="rw" name="daddr_turnaround" pos="13" rst="0">
  3182. <comment>after moving a COUNTP,the DADDR is automatically returned to the original destination addr
  3183. 0: the destination addr does not automatically ring back
  3184. 1: the destination addr automatically ring back</comment>
  3185. </bits>
  3186. <bits access="rw" name="saddr_turnaround" pos="12" rst="0">
  3187. <comment>after moving a COUNTP,the SADDR is automatically returned to initial source addr
  3188. 0: the source addr does not automatically ring back
  3189. 1: the source addr automatically ring back</comment>
  3190. </bits>
  3191. <bits access="rw" name="count_sel" pos="10" rst="0">
  3192. <comment>the length of moving data in one interrupt in interrupted mode
  3193. 0: move a countp
  3194. 1: move all count</comment>
  3195. </bits>
  3196. <bits access="rw" name="force_trans" pos="8" rst="0">
  3197. <comment>mandatory transmission control bit
  3198. 0: a transmission is not mandatory in interrupted mode. Or after seting, automatically cleared.
  3199. 1: force a transmission without interruption in interrupted mode.</comment>
  3200. </bits>
  3201. <bits access="rw" name="daddr_fix" pos="7" rst="0">
  3202. <comment>fixed destination addr control bit
  3203. 0: destination addr can be incremented by different data types during transmission
  3204. 1: the destination addr is fixed during transmission</comment>
  3205. </bits>
  3206. <bits access="rw" name="saddr_fix" pos="6" rst="0">
  3207. <comment>fixed source addr control bit
  3208. 0: source addr can be incremented by different data types during transmission
  3209. 1: the source add is fixed during transmission</comment>
  3210. </bits>
  3211. <bits access="rw" name="irq_t" pos="5" rst="0">
  3212. <comment>control bit of each transmission interruption
  3213. 0: each transmission does not produce an interrupt signal
  3214. 1: each transmission prodece an interrupt signal</comment>
  3215. </bits>
  3216. <bits access="rw" name="irq_f" pos="4" rst="1">
  3217. <comment>control bit of whole transmission interruption
  3218. 0: whole transmission does not produce an interrupt signal
  3219. 1: whole transmission prodece an interrupt signal</comment>
  3220. </bits>
  3221. <bits access="rw" name="syn_irq" pos="3" rst="0">
  3222. <comment>control bit of synchronous interrupt trigger mode
  3223. 0: this channel is in normal transmission mode
  3224. 1: this channel is in sync interrupt trigger mode</comment>
  3225. </bits>
  3226. <bits access="rw" name="data_type" pos="2:1" rst="0">
  3227. <comment>data types
  3228. 00: Byte (8 bits)
  3229. 01: Half Word (16 bits)
  3230. 10: Word (32 bits)
  3231. 11: DWord (64 bits)</comment>
  3232. </bits>
  3233. <bits access="rw" name="start" pos="0" rst="0">
  3234. <comment>start control bit
  3235. 0: stop the transmission of this channel
  3236. 1: start the transmission of this channel</comment>
  3237. </bits>
  3238. </reg>
  3239. <reg name="axidma_c4_map" protect="rw">
  3240. <bits access="rw" name="ack_map" pos="12:8" rst="4">
  3241. <comment>this channel corresponds to the ACK signal that is triggered
  3242. 00000: ACK0
  3243. 00001: ACK1
  3244. 00010: ACK2
  3245. ......
  3246. 10111: ACK23</comment>
  3247. </bits>
  3248. <bits access="rw" name="req_source" pos="4:0" rst="4">
  3249. <comment>the source of interrupt trigger for this channel
  3250. 00000: IRQ0 trigger transmission
  3251. 00001: IRQ1 trigger transmission
  3252. 00010: IRQ2 trigger transmission
  3253. ......
  3254. 01111: IRQ15 trigger transmission
  3255. ......
  3256. 10111: IRQ23trigger transmission</comment>
  3257. </bits>
  3258. </reg>
  3259. <reg name="axidma_c4_saddr" protect="rw">
  3260. <bits access="rw" name="s_addr" pos="31:0" rst="0">
  3261. <comment>the source addr of this channel</comment>
  3262. </bits>
  3263. </reg>
  3264. <reg name="axidma_c4_daddr" protect="rw">
  3265. <bits access="rw" name="d_addr" pos="31:0" rst="0">
  3266. <comment>the destination addr of this channel</comment>
  3267. </bits>
  3268. </reg>
  3269. <reg name="axidma_c4_count" protect="rw">
  3270. <bits access="rw" name="count" pos="23:0" rst="0">
  3271. <comment>The total length of the transmitted data is measured in byte</comment>
  3272. </bits>
  3273. </reg>
  3274. <reg name="axidma_c4_countp" protect="rw">
  3275. <bits access="rw" name="countp" pos="15:0" rst="0">
  3276. <comment>the data length per transmission is measured in byte</comment>
  3277. </bits>
  3278. </reg>
  3279. <reg name="axidma_c4_status" protect="rw">
  3280. <bits access="rc" name="resp_err_int" pos="26" rst="0">
  3281. <comment>bit type is changed from w1c to rc.
  3282. response error interrupt flag
  3283. 0:unset
  3284. 1:set</comment>
  3285. </bits>
  3286. <bits access="rc" name="resp_err" pos="25" rst="0">
  3287. <comment>bit type is changed from w1c to rc.
  3288. response error status
  3289. 0:unset
  3290. 1:set</comment>
  3291. </bits>
  3292. <bits access="rc" name="sg_suspend_sta" pos="24" rst="0">
  3293. <comment>bit type is changed from w1c to rc.
  3294. data linked list is paused
  3295. 0: not paused
  3296. 1: paused</comment>
  3297. </bits>
  3298. <bits access="rc" name="sg_finish_sta" pos="23" rst="0">
  3299. <comment>bit type is changed from w1c to rc.
  3300. the linked list is completed
  3301. 0: not completed
  3302. 1: completed</comment>
  3303. </bits>
  3304. <bits access="rc" name="countp_finish_sta" pos="22" rst="0">
  3305. <comment>bit type is changed from w1c to rc.
  3306. COUNTP transmission completion indication
  3307. 0: COUNTP is not completed
  3308. 1: COUNTP is completed</comment>
  3309. </bits>
  3310. <bits access="rc" name="count_finish_sta" pos="21" rst="0">
  3311. <comment>bit type is changed from w1c to rc.
  3312. COUNT transmission completion indication
  3313. 0: COUNT is not completed
  3314. 1: COUNT is completed</comment>
  3315. </bits>
  3316. <bits access="rc" name="sg_suspend" pos="20" rst="0">
  3317. <comment>bit type is changed from w1c to rc.
  3318. scatter-gather pause</comment>
  3319. </bits>
  3320. <bits access="rc" name="sg_count" pos="19:4" rst="0">
  3321. <comment>bit type is changed from w1c to rc.
  3322. the number of scatter-gather transfers completed
  3323. 0x0000: 0
  3324. ......
  3325. 0xFFFF: 65535 times</comment>
  3326. </bits>
  3327. <bits access="rc" name="sg_finish" pos="3" rst="0">
  3328. <comment>bit type is changed from w1c to rc.
  3329. scatter-gather transmission completion
  3330. 0: scatter-gather is not completed
  3331. 1: scatter-gather is completed</comment>
  3332. </bits>
  3333. <bits access="rc" name="countp_finish" pos="2" rst="0">
  3334. <comment>bit type is changed from w1c to rc.
  3335. COUNTP transmission completion indication
  3336. 0: COUNTP is not completed
  3337. 1: COUNTP is completed</comment>
  3338. </bits>
  3339. <bits access="rc" name="count_finish" pos="1" rst="0">
  3340. <comment>bit type is changed from w1c to rc.
  3341. the whole transmission completion indication
  3342. 0: the whole transmission is not completed
  3343. 1: the whole transmission is completed</comment>
  3344. </bits>
  3345. <bits access="rc" name="run" pos="0" rst="0">
  3346. <comment>bit type is changed from w1c to rc.
  3347. the channel runs state
  3348. 0: IDLE
  3349. 1: TRANS</comment>
  3350. </bits>
  3351. </reg>
  3352. <reg name="axidma_c4_sgaddr" protect="rw">
  3353. <bits access="rw" name="sg_addr" pos="31:0" rst="0">
  3354. <comment>first addr of the structural body</comment>
  3355. </bits>
  3356. </reg>
  3357. <reg name="axidma_c4_sgconf" protect="rw">
  3358. <bits access="rw" name="sg_num" pos="19:4" rst="0">
  3359. <comment>scatter-gather transmission frequency
  3360. 0x0: unlimited limit
  3361. ......
  3362. 0xFFFF: 65535 times</comment>
  3363. </bits>
  3364. <bits access="rw" name="desc_rd_ctrl" pos="3" rst="0">
  3365. <comment>linked table read control
  3366. 0: after the data is moved,the linked list isread and no descriptor_req are required
  3367. 1: descriptor_req is needed to read the linked list</comment>
  3368. </bits>
  3369. <bits access="rw" name="sg_suspend_ie" pos="2" rst="0">
  3370. <comment>scatter-gather pause interrupt enable
  3371. 0: disable
  3372. 1: enable</comment>
  3373. </bits>
  3374. <bits access="rw" name="sg_finish_ie" pos="1" rst="0">
  3375. <comment>scatter-gather complete interrupt enable
  3376. 0: disable
  3377. 1: enable</comment>
  3378. </bits>
  3379. <bits access="rc" name="sg_en" pos="0" rst="0">
  3380. <comment>bit type is changed from w1c to rc.
  3381. scatter-gather function enable
  3382. 0: disable
  3383. 1: enable</comment>
  3384. </bits>
  3385. </reg>
  3386. <reg name="axidma_c4_set" protect="rw">
  3387. <bits access="rw" name="run_set" pos="0" rst="0">
  3388. <comment>channel runs position
  3389. 0: the running bit of the channel does not change
  3390. 1: set the running bit of the channel</comment>
  3391. </bits>
  3392. </reg>
  3393. <reg name="axidma_c4_clr" protect="rw">
  3394. <bits access="rw" name="run_clr" pos="0" rst="0">
  3395. <comment>clear the running bit of channel
  3396. 0: the running bit of the channel does not change
  3397. 1: clear the running bit of the channel</comment>
  3398. </bits>
  3399. </reg>
  3400. <hole size="160"/>
  3401. <reg name="axidma_c5_conf" protect="rw">
  3402. <bits access="rw" name="err_int_en" pos="15" rst="0">
  3403. <comment>response error interrupt enable
  3404. 0:disable
  3405. 1:enable</comment>
  3406. </bits>
  3407. <bits access="rw" name="security_en" pos="14" rst="1">
  3408. <comment>security visit
  3409. 0:security
  3410. 1:unsecurity</comment>
  3411. </bits>
  3412. <bits access="rw" name="daddr_turnaround" pos="13" rst="0">
  3413. <comment>after moving a COUNTP,the DADDR is automatically returned to the original destination addr
  3414. 0: the destination addr does not automatically ring back
  3415. 1: the destination addr automatically ring back</comment>
  3416. </bits>
  3417. <bits access="rw" name="saddr_turnaround" pos="12" rst="0">
  3418. <comment>after moving a COUNTP,the SADDR is automatically returned to initial source addr
  3419. 0: the source addr does not automatically ring back
  3420. 1: the source addr automatically ring back</comment>
  3421. </bits>
  3422. <bits access="rw" name="count_sel" pos="10" rst="0">
  3423. <comment>the length of moving data in one interrupt in interrupted mode
  3424. 0: move a countp
  3425. 1: move all count</comment>
  3426. </bits>
  3427. <bits access="rw" name="force_trans" pos="8" rst="0">
  3428. <comment>mandatory transmission control bit
  3429. 0: a transmission is not mandatory in interrupted mode. Or after seting, automatically cleared.
  3430. 1: force a transmission without interruption in interrupted mode.</comment>
  3431. </bits>
  3432. <bits access="rw" name="daddr_fix" pos="7" rst="0">
  3433. <comment>fixed destination addr control bit
  3434. 0: destination addr can be incremented by different data types during transmission
  3435. 1: the destination addr is fixed during transmission</comment>
  3436. </bits>
  3437. <bits access="rw" name="saddr_fix" pos="6" rst="0">
  3438. <comment>fixed source addr control bit
  3439. 0: source addr can be incremented by different data types during transmission
  3440. 1: the source add is fixed during transmission</comment>
  3441. </bits>
  3442. <bits access="rw" name="irq_t" pos="5" rst="0">
  3443. <comment>control bit of each transmission interruption
  3444. 0: each transmission does not produce an interrupt signal
  3445. 1: each transmission prodece an interrupt signal</comment>
  3446. </bits>
  3447. <bits access="rw" name="irq_f" pos="4" rst="1">
  3448. <comment>control bit of whole transmission interruption
  3449. 0: whole transmission does not produce an interrupt signal
  3450. 1: whole transmission prodece an interrupt signal</comment>
  3451. </bits>
  3452. <bits access="rw" name="syn_irq" pos="3" rst="0">
  3453. <comment>control bit of synchronous interrupt trigger mode
  3454. 0: this channel is in normal transmission mode
  3455. 1: this channel is in sync interrupt trigger mode</comment>
  3456. </bits>
  3457. <bits access="rw" name="data_type" pos="2:1" rst="0">
  3458. <comment>data types
  3459. 00: Byte (8 bits)
  3460. 01: Half Word (16 bits)
  3461. 10: Word (32 bits)
  3462. 11: DWord (64 bits)</comment>
  3463. </bits>
  3464. <bits access="rw" name="start" pos="0" rst="0">
  3465. <comment>start control bit
  3466. 0: stop the transmission of this channel
  3467. 1: start the transmission of this channel</comment>
  3468. </bits>
  3469. </reg>
  3470. <reg name="axidma_c5_map" protect="rw">
  3471. <bits access="rw" name="ack_map" pos="12:8" rst="5">
  3472. <comment>this channel corresponds to the ACK signal that is triggered
  3473. 00000: ACK0
  3474. 00001: ACK1
  3475. 00010: ACK2
  3476. ......
  3477. 10111: ACK23</comment>
  3478. </bits>
  3479. <bits access="rw" name="req_source" pos="4:0" rst="5">
  3480. <comment>the source of interrupt trigger for this channel
  3481. 00000: IRQ0 trigger transmission
  3482. 00001: IRQ1 trigger transmission
  3483. 00010: IRQ2 trigger transmission
  3484. ......
  3485. 01111: IRQ15 trigger transmission
  3486. ......
  3487. 10111: IRQ23trigger transmission</comment>
  3488. </bits>
  3489. </reg>
  3490. <reg name="axidma_c5_saddr" protect="rw">
  3491. <bits access="rw" name="s_addr" pos="31:0" rst="0">
  3492. <comment>the source addr of this channel</comment>
  3493. </bits>
  3494. </reg>
  3495. <reg name="axidma_c5_daddr" protect="rw">
  3496. <bits access="rw" name="d_addr" pos="31:0" rst="0">
  3497. <comment>the destination addr of this channel</comment>
  3498. </bits>
  3499. </reg>
  3500. <reg name="axidma_c5_count" protect="rw">
  3501. <bits access="rw" name="count" pos="23:0" rst="0">
  3502. <comment>The total length of the transmitted data is measured in byte</comment>
  3503. </bits>
  3504. </reg>
  3505. <reg name="axidma_c5_countp" protect="rw">
  3506. <bits access="rw" name="countp" pos="15:0" rst="0">
  3507. <comment>the data length per transmission is measured in byte</comment>
  3508. </bits>
  3509. </reg>
  3510. <reg name="axidma_c5_status" protect="rw">
  3511. <bits access="rc" name="resp_err_int" pos="26" rst="0">
  3512. <comment>bit type is changed from w1c to rc.
  3513. response error interrupt flag
  3514. 0:unset
  3515. 1:set</comment>
  3516. </bits>
  3517. <bits access="rc" name="resp_err" pos="25" rst="0">
  3518. <comment>bit type is changed from w1c to rc.
  3519. response error status
  3520. 0:unset
  3521. 1:set</comment>
  3522. </bits>
  3523. <bits access="rc" name="sg_suspend_sta" pos="24" rst="0">
  3524. <comment>bit type is changed from w1c to rc.
  3525. data linked list is paused
  3526. 0: not paused
  3527. 1: paused</comment>
  3528. </bits>
  3529. <bits access="rc" name="sg_finish_sta" pos="23" rst="0">
  3530. <comment>bit type is changed from w1c to rc.
  3531. the linked list is completed
  3532. 0: not completed
  3533. 1: completed</comment>
  3534. </bits>
  3535. <bits access="rc" name="countp_finish_sta" pos="22" rst="0">
  3536. <comment>bit type is changed from w1c to rc.
  3537. COUNTP transmission completion indication
  3538. 0: COUNTP is not completed
  3539. 1: COUNTP is completed</comment>
  3540. </bits>
  3541. <bits access="rc" name="count_finish_sta" pos="21" rst="0">
  3542. <comment>bit type is changed from w1c to rc.
  3543. COUNT transmission completion indication
  3544. 0: COUNT is not completed
  3545. 1: COUNT is completed</comment>
  3546. </bits>
  3547. <bits access="rc" name="sg_suspend" pos="20" rst="0">
  3548. <comment>bit type is changed from w1c to rc.
  3549. scatter-gather pause</comment>
  3550. </bits>
  3551. <bits access="rc" name="sg_count" pos="19:4" rst="0">
  3552. <comment>bit type is changed from w1c to rc.
  3553. the number of scatter-gather transfers completed
  3554. 0x0000: 0
  3555. ......
  3556. 0xFFFF: 65535 times</comment>
  3557. </bits>
  3558. <bits access="rc" name="sg_finish" pos="3" rst="0">
  3559. <comment>bit type is changed from w1c to rc.
  3560. scatter-gather transmission completion
  3561. 0: scatter-gather is not completed
  3562. 1: scatter-gather is completed</comment>
  3563. </bits>
  3564. <bits access="rc" name="countp_finish" pos="2" rst="0">
  3565. <comment>bit type is changed from w1c to rc.
  3566. COUNTP transmission completion indication
  3567. 0: COUNTP is not completed
  3568. 1: COUNTP is completed</comment>
  3569. </bits>
  3570. <bits access="rc" name="count_finish" pos="1" rst="0">
  3571. <comment>bit type is changed from w1c to rc.
  3572. the whole transmission completion indication
  3573. 0: the whole transmission is not completed
  3574. 1: the whole transmission is completed</comment>
  3575. </bits>
  3576. <bits access="rc" name="run" pos="0" rst="0">
  3577. <comment>bit type is changed from w1c to rc.
  3578. the channel runs state
  3579. 0: IDLE
  3580. 1: TRANS</comment>
  3581. </bits>
  3582. </reg>
  3583. <reg name="axidma_c5_sgaddr" protect="rw">
  3584. <bits access="rw" name="sg_addr" pos="31:0" rst="0">
  3585. <comment>first addr of the structural body</comment>
  3586. </bits>
  3587. </reg>
  3588. <reg name="axidma_c5_sgconf" protect="rw">
  3589. <bits access="rw" name="sg_num" pos="19:4" rst="0">
  3590. <comment>scatter-gather transmission frequency
  3591. 0x0: unlimited limit
  3592. ......
  3593. 0xFFFF: 65535 times</comment>
  3594. </bits>
  3595. <bits access="rw" name="desc_rd_ctrl" pos="3" rst="0">
  3596. <comment>linked table read control
  3597. 0: after the data is moved,the linked list isread and no descriptor_req are required
  3598. 1: descriptor_req is needed to read the linked list</comment>
  3599. </bits>
  3600. <bits access="rw" name="sg_suspend_ie" pos="2" rst="0">
  3601. <comment>scatter-gather pause interrupt enable
  3602. 0: disable
  3603. 1: enable</comment>
  3604. </bits>
  3605. <bits access="rw" name="sg_finish_ie" pos="1" rst="0">
  3606. <comment>scatter-gather complete interrupt enable
  3607. 0: disable
  3608. 1: enable</comment>
  3609. </bits>
  3610. <bits access="rc" name="sg_en" pos="0" rst="0">
  3611. <comment>bit type is changed from w1c to rc.
  3612. scatter-gather function enable
  3613. 0: disable
  3614. 1: enable</comment>
  3615. </bits>
  3616. </reg>
  3617. <reg name="axidma_c5_set" protect="rw">
  3618. <bits access="rw" name="run_set" pos="0" rst="0">
  3619. <comment>channel runs position
  3620. 0: the running bit of the channel does not change
  3621. 1: set the running bit of the channel</comment>
  3622. </bits>
  3623. </reg>
  3624. <reg name="axidma_c5_clr" protect="rw">
  3625. <bits access="rw" name="run_clr" pos="0" rst="0">
  3626. <comment>clear the running bit of channel
  3627. 0: the running bit of the channel does not change
  3628. 1: clear the running bit of the channel</comment>
  3629. </bits>
  3630. </reg>
  3631. <hole size="160"/>
  3632. <reg name="axidma_c6_conf" protect="rw">
  3633. <bits access="rw" name="err_int_en" pos="15" rst="0">
  3634. <comment>response error interrupt enable
  3635. 0:disable
  3636. 1:enable</comment>
  3637. </bits>
  3638. <bits access="rw" name="security_en" pos="14" rst="1">
  3639. <comment>security visit
  3640. 0:security
  3641. 1:unsecurity</comment>
  3642. </bits>
  3643. <bits access="rw" name="daddr_turnaround" pos="13" rst="0">
  3644. <comment>after moving a COUNTP,the DADDR is automatically returned to the original destination addr
  3645. 0: the destination addr does not automatically ring back
  3646. 1: the destination addr automatically ring back</comment>
  3647. </bits>
  3648. <bits access="rw" name="saddr_turnaround" pos="12" rst="0">
  3649. <comment>after moving a COUNTP,the SADDR is automatically returned to initial source addr
  3650. 0: the source addr does not automatically ring back
  3651. 1: the source addr automatically ring back</comment>
  3652. </bits>
  3653. <bits access="rw" name="count_sel" pos="10" rst="0">
  3654. <comment>the length of moving data in one interrupt in interrupted mode
  3655. 0: move a countp
  3656. 1: move all count</comment>
  3657. </bits>
  3658. <bits access="rw" name="force_trans" pos="8" rst="0">
  3659. <comment>mandatory transmission control bit
  3660. 0: a transmission is not mandatory in interrupted mode. Or after seting, automatically cleared.
  3661. 1: force a transmission without interruption in interrupted mode.</comment>
  3662. </bits>
  3663. <bits access="rw" name="daddr_fix" pos="7" rst="0">
  3664. <comment>fixed destination addr control bit
  3665. 0: destination addr can be incremented by different data types during transmission
  3666. 1: the destination addr is fixed during transmission</comment>
  3667. </bits>
  3668. <bits access="rw" name="saddr_fix" pos="6" rst="0">
  3669. <comment>fixed source addr control bit
  3670. 0: source addr can be incremented by different data types during transmission
  3671. 1: the source add is fixed during transmission</comment>
  3672. </bits>
  3673. <bits access="rw" name="irq_t" pos="5" rst="0">
  3674. <comment>control bit of each transmission interruption
  3675. 0: each transmission does not produce an interrupt signal
  3676. 1: each transmission prodece an interrupt signal</comment>
  3677. </bits>
  3678. <bits access="rw" name="irq_f" pos="4" rst="1">
  3679. <comment>control bit of whole transmission interruption
  3680. 0: whole transmission does not produce an interrupt signal
  3681. 1: whole transmission prodece an interrupt signal</comment>
  3682. </bits>
  3683. <bits access="rw" name="syn_irq" pos="3" rst="0">
  3684. <comment>control bit of synchronous interrupt trigger mode
  3685. 0: this channel is in normal transmission mode
  3686. 1: this channel is in sync interrupt trigger mode</comment>
  3687. </bits>
  3688. <bits access="rw" name="data_type" pos="2:1" rst="0">
  3689. <comment>data types
  3690. 00: Byte (8 bits)
  3691. 01: Half Word (16 bits)
  3692. 10: Word (32 bits)
  3693. 11: DWord (64 bits)</comment>
  3694. </bits>
  3695. <bits access="rw" name="start" pos="0" rst="0">
  3696. <comment>start control bit
  3697. 0: stop the transmission of this channel
  3698. 1: start the transmission of this channel</comment>
  3699. </bits>
  3700. </reg>
  3701. <reg name="axidma_c6_map" protect="rw">
  3702. <bits access="rw" name="ack_map" pos="12:8" rst="6">
  3703. <comment>this channel corresponds to the ACK signal that is triggered
  3704. 00000: ACK0
  3705. 00001: ACK1
  3706. 00010: ACK2
  3707. ......
  3708. 10111: ACK23</comment>
  3709. </bits>
  3710. <bits access="rw" name="req_source" pos="4:0" rst="6">
  3711. <comment>the source of interrupt trigger for this channel
  3712. 00000: IRQ0 trigger transmission
  3713. 00001: IRQ1 trigger transmission
  3714. 00010: IRQ2 trigger transmission
  3715. ......
  3716. 01111: IRQ15 trigger transmission
  3717. ......
  3718. 10111: IRQ23trigger transmission</comment>
  3719. </bits>
  3720. </reg>
  3721. <reg name="axidma_c6_saddr" protect="rw">
  3722. <bits access="rw" name="s_addr" pos="31:0" rst="0">
  3723. <comment>the source addr of this channel</comment>
  3724. </bits>
  3725. </reg>
  3726. <reg name="axidma_c6_daddr" protect="rw">
  3727. <bits access="rw" name="d_addr" pos="31:0" rst="0">
  3728. <comment>the destination addr of this channel</comment>
  3729. </bits>
  3730. </reg>
  3731. <reg name="axidma_c6_count" protect="rw">
  3732. <bits access="rw" name="count" pos="23:0" rst="0">
  3733. <comment>The total length of the transmitted data is measured in byte</comment>
  3734. </bits>
  3735. </reg>
  3736. <reg name="axidma_c6_countp" protect="rw">
  3737. <bits access="rw" name="countp" pos="15:0" rst="0">
  3738. <comment>the data length per transmission is measured in byte</comment>
  3739. </bits>
  3740. </reg>
  3741. <reg name="axidma_c6_status" protect="rw">
  3742. <bits access="rc" name="resp_err_int" pos="26" rst="0">
  3743. <comment>bit type is changed from w1c to rc.
  3744. response error interrupt flag
  3745. 0:unset
  3746. 1:set</comment>
  3747. </bits>
  3748. <bits access="rc" name="resp_err" pos="25" rst="0">
  3749. <comment>bit type is changed from w1c to rc.
  3750. response error status
  3751. 0:unset
  3752. 1:set</comment>
  3753. </bits>
  3754. <bits access="rc" name="sg_suspend_sta" pos="24" rst="0">
  3755. <comment>bit type is changed from w1c to rc.
  3756. data linked list is paused
  3757. 0: not paused
  3758. 1: paused</comment>
  3759. </bits>
  3760. <bits access="rc" name="sg_finish_sta" pos="23" rst="0">
  3761. <comment>bit type is changed from w1c to rc.
  3762. the linked list is completed
  3763. 0: not completed
  3764. 1: completed</comment>
  3765. </bits>
  3766. <bits access="rc" name="countp_finish_sta" pos="22" rst="0">
  3767. <comment>bit type is changed from w1c to rc.
  3768. COUNTP transmission completion indication
  3769. 0: COUNTP is not completed
  3770. 1: COUNTP is completed</comment>
  3771. </bits>
  3772. <bits access="rc" name="count_finish_sta" pos="21" rst="0">
  3773. <comment>bit type is changed from w1c to rc.
  3774. COUNT transmission completion indication
  3775. 0: COUNT is not completed
  3776. 1: COUNT is completed</comment>
  3777. </bits>
  3778. <bits access="rc" name="sg_suspend" pos="20" rst="0">
  3779. <comment>bit type is changed from w1c to rc.
  3780. scatter-gather pause</comment>
  3781. </bits>
  3782. <bits access="rc" name="sg_count" pos="19:4" rst="0">
  3783. <comment>bit type is changed from w1c to rc.
  3784. the number of scatter-gather transfers completed
  3785. 0x0000: 0
  3786. ......
  3787. 0xFFFF: 65535 times</comment>
  3788. </bits>
  3789. <bits access="rc" name="sg_finish" pos="3" rst="0">
  3790. <comment>bit type is changed from w1c to rc.
  3791. scatter-gather transmission completion
  3792. 0: scatter-gather is not completed
  3793. 1: scatter-gather is completed</comment>
  3794. </bits>
  3795. <bits access="rc" name="countp_finish" pos="2" rst="0">
  3796. <comment>bit type is changed from w1c to rc.
  3797. COUNTP transmission completion indication
  3798. 0: COUNTP is not completed
  3799. 1: COUNTP is completed</comment>
  3800. </bits>
  3801. <bits access="rc" name="count_finish" pos="1" rst="0">
  3802. <comment>bit type is changed from w1c to rc.
  3803. the whole transmission completion indication
  3804. 0: the whole transmission is not completed
  3805. 1: the whole transmission is completed</comment>
  3806. </bits>
  3807. <bits access="rc" name="run" pos="0" rst="0">
  3808. <comment>bit type is changed from w1c to rc.
  3809. the channel runs state
  3810. 0: IDLE
  3811. 1: TRANS</comment>
  3812. </bits>
  3813. </reg>
  3814. <reg name="axidma_c6_sgaddr" protect="rw">
  3815. <bits access="rw" name="sg_addr" pos="31:0" rst="0">
  3816. <comment>first addr of the structural body</comment>
  3817. </bits>
  3818. </reg>
  3819. <reg name="axidma_c6_sgconf" protect="rw">
  3820. <bits access="rw" name="sg_num" pos="19:4" rst="0">
  3821. <comment>scatter-gather transmission frequency
  3822. 0x0: unlimited limit
  3823. ......
  3824. 0xFFFF: 65535 times</comment>
  3825. </bits>
  3826. <bits access="rw" name="desc_rd_ctrl" pos="3" rst="0">
  3827. <comment>linked table read control
  3828. 0: after the data is moved,the linked list isread and no descriptor_req are required
  3829. 1: descriptor_req is needed to read the linked list</comment>
  3830. </bits>
  3831. <bits access="rw" name="sg_suspend_ie" pos="2" rst="0">
  3832. <comment>scatter-gather pause interrupt enable
  3833. 0: disable
  3834. 1: enable</comment>
  3835. </bits>
  3836. <bits access="rw" name="sg_finish_ie" pos="1" rst="0">
  3837. <comment>scatter-gather complete interrupt enable
  3838. 0: disable
  3839. 1: enable</comment>
  3840. </bits>
  3841. <bits access="rc" name="sg_en" pos="0" rst="0">
  3842. <comment>bit type is changed from w1c to rc.
  3843. scatter-gather function enable
  3844. 0: disable
  3845. 1: enable</comment>
  3846. </bits>
  3847. </reg>
  3848. <reg name="axidma_c6_set" protect="rw">
  3849. <bits access="rw" name="run_set" pos="0" rst="0">
  3850. <comment>channel runs position
  3851. 0: the running bit of the channel does not change
  3852. 1: set the running bit of the channel</comment>
  3853. </bits>
  3854. </reg>
  3855. <reg name="axidma_c6_clr" protect="rw">
  3856. <bits access="rw" name="run_clr" pos="0" rst="0">
  3857. <comment>clear the running bit of channel
  3858. 0: the running bit of the channel does not change
  3859. 1: clear the running bit of the channel</comment>
  3860. </bits>
  3861. </reg>
  3862. <hole size="160"/>
  3863. <reg name="axidma_c7_conf" protect="rw">
  3864. <bits access="rw" name="err_int_en" pos="15" rst="0">
  3865. <comment>response error interrupt enable
  3866. 0:disable
  3867. 1:enable</comment>
  3868. </bits>
  3869. <bits access="rw" name="security_en" pos="14" rst="1">
  3870. <comment>security visit
  3871. 0:security
  3872. 1:unsecurity</comment>
  3873. </bits>
  3874. <bits access="rw" name="daddr_turnaround" pos="13" rst="0">
  3875. <comment>after moving a COUNTP,the DADDR is automatically returned to the original destination addr
  3876. 0: the destination addr does not automatically ring back
  3877. 1: the destination addr automatically ring back</comment>
  3878. </bits>
  3879. <bits access="rw" name="saddr_turnaround" pos="12" rst="0">
  3880. <comment>after moving a COUNTP,the SADDR is automatically returned to initial source addr
  3881. 0: the source addr does not automatically ring back
  3882. 1: the source addr automatically ring back</comment>
  3883. </bits>
  3884. <bits access="rw" name="count_sel" pos="10" rst="0">
  3885. <comment>the length of moving data in one interrupt in interrupted mode
  3886. 0: move a countp
  3887. 1: move all count</comment>
  3888. </bits>
  3889. <bits access="rw" name="force_trans" pos="8" rst="0">
  3890. <comment>mandatory transmission control bit
  3891. 0: a transmission is not mandatory in interrupted mode. Or after seting, automatically cleared.
  3892. 1: force a transmission without interruption in interrupted mode.</comment>
  3893. </bits>
  3894. <bits access="rw" name="daddr_fix" pos="7" rst="0">
  3895. <comment>fixed destination addr control bit
  3896. 0: destination addr can be incremented by different data types during transmission
  3897. 1: the destination addr is fixed during transmission</comment>
  3898. </bits>
  3899. <bits access="rw" name="saddr_fix" pos="6" rst="0">
  3900. <comment>fixed source addr control bit
  3901. 0: source addr can be incremented by different data types during transmission
  3902. 1: the source add is fixed during transmission</comment>
  3903. </bits>
  3904. <bits access="rw" name="irq_t" pos="5" rst="0">
  3905. <comment>control bit of each transmission interruption
  3906. 0: each transmission does not produce an interrupt signal
  3907. 1: each transmission prodece an interrupt signal</comment>
  3908. </bits>
  3909. <bits access="rw" name="irq_f" pos="4" rst="1">
  3910. <comment>control bit of whole transmission interruption
  3911. 0: whole transmission does not produce an interrupt signal
  3912. 1: whole transmission prodece an interrupt signal</comment>
  3913. </bits>
  3914. <bits access="rw" name="syn_irq" pos="3" rst="0">
  3915. <comment>control bit of synchronous interrupt trigger mode
  3916. 0: this channel is in normal transmission mode
  3917. 1: this channel is in sync interrupt trigger mode</comment>
  3918. </bits>
  3919. <bits access="rw" name="data_type" pos="2:1" rst="0">
  3920. <comment>data types
  3921. 00: Byte (8 bits)
  3922. 01: Half Word (16 bits)
  3923. 10: Word (32 bits)
  3924. 11: DWord (64 bits)</comment>
  3925. </bits>
  3926. <bits access="rw" name="start" pos="0" rst="0">
  3927. <comment>start control bit
  3928. 0: stop the transmission of this channel
  3929. 1: start the transmission of this channel</comment>
  3930. </bits>
  3931. </reg>
  3932. <reg name="axidma_c7_map" protect="rw">
  3933. <bits access="rw" name="ack_map" pos="12:8" rst="7">
  3934. <comment>this channel corresponds to the ACK signal that is triggered
  3935. 00000: ACK0
  3936. 00001: ACK1
  3937. 00010: ACK2
  3938. ......
  3939. 10111: ACK23</comment>
  3940. </bits>
  3941. <bits access="rw" name="req_source" pos="4:0" rst="7">
  3942. <comment>the source of interrupt trigger for this channel
  3943. 00000: IRQ0 trigger transmission
  3944. 00001: IRQ1 trigger transmission
  3945. 00010: IRQ2 trigger transmission
  3946. ......
  3947. 01111: IRQ15 trigger transmission
  3948. ......
  3949. 10111: IRQ23trigger transmission</comment>
  3950. </bits>
  3951. </reg>
  3952. <reg name="axidma_c7_saddr" protect="rw">
  3953. <bits access="rw" name="s_addr" pos="31:0" rst="0">
  3954. <comment>the source addr of this channel</comment>
  3955. </bits>
  3956. </reg>
  3957. <reg name="axidma_c7_daddr" protect="rw">
  3958. <bits access="rw" name="d_addr" pos="31:0" rst="0">
  3959. <comment>the destination addr of this channel</comment>
  3960. </bits>
  3961. </reg>
  3962. <reg name="axidma_c7_count" protect="rw">
  3963. <bits access="rw" name="count" pos="23:0" rst="0">
  3964. <comment>The total length of the transmitted data is measured in byte</comment>
  3965. </bits>
  3966. </reg>
  3967. <reg name="axidma_c7_countp" protect="rw">
  3968. <bits access="rw" name="countp" pos="15:0" rst="0">
  3969. <comment>the data length per transmission is measured in byte</comment>
  3970. </bits>
  3971. </reg>
  3972. <reg name="axidma_c7_status" protect="rw">
  3973. <bits access="rc" name="resp_err_int" pos="26" rst="0">
  3974. <comment>bit type is changed from w1c to rc.
  3975. response error interrupt flag
  3976. 0:unset
  3977. 1:set</comment>
  3978. </bits>
  3979. <bits access="rc" name="resp_err" pos="25" rst="0">
  3980. <comment>bit type is changed from w1c to rc.
  3981. response error status
  3982. 0:unset
  3983. 1:set</comment>
  3984. </bits>
  3985. <bits access="rc" name="sg_suspend_sta" pos="24" rst="0">
  3986. <comment>bit type is changed from w1c to rc.
  3987. data linked list is paused
  3988. 0: not paused
  3989. 1: paused</comment>
  3990. </bits>
  3991. <bits access="rc" name="sg_finish_sta" pos="23" rst="0">
  3992. <comment>bit type is changed from w1c to rc.
  3993. the linked list is completed
  3994. 0: not completed
  3995. 1: completed</comment>
  3996. </bits>
  3997. <bits access="rc" name="countp_finish_sta" pos="22" rst="0">
  3998. <comment>bit type is changed from w1c to rc.
  3999. COUNTP transmission completion indication
  4000. 0: COUNTP is not completed
  4001. 1: COUNTP is completed</comment>
  4002. </bits>
  4003. <bits access="rc" name="count_finish_sta" pos="21" rst="0">
  4004. <comment>bit type is changed from w1c to rc.
  4005. COUNT transmission completion indication
  4006. 0: COUNT is not completed
  4007. 1: COUNT is completed</comment>
  4008. </bits>
  4009. <bits access="rc" name="sg_suspend" pos="20" rst="0">
  4010. <comment>bit type is changed from w1c to rc.
  4011. scatter-gather pause</comment>
  4012. </bits>
  4013. <bits access="rc" name="sg_count" pos="19:4" rst="0">
  4014. <comment>bit type is changed from w1c to rc.
  4015. the number of scatter-gather transfers completed
  4016. 0x0000: 0
  4017. ......
  4018. 0xFFFF: 65535 times</comment>
  4019. </bits>
  4020. <bits access="rc" name="sg_finish" pos="3" rst="0">
  4021. <comment>bit type is changed from w1c to rc.
  4022. scatter-gather transmission completion
  4023. 0: scatter-gather is not completed
  4024. 1: scatter-gather is completed</comment>
  4025. </bits>
  4026. <bits access="rc" name="countp_finish" pos="2" rst="0">
  4027. <comment>bit type is changed from w1c to rc.
  4028. COUNTP transmission completion indication
  4029. 0: COUNTP is not completed
  4030. 1: COUNTP is completed</comment>
  4031. </bits>
  4032. <bits access="rc" name="count_finish" pos="1" rst="0">
  4033. <comment>bit type is changed from w1c to rc.
  4034. the whole transmission completion indication
  4035. 0: the whole transmission is not completed
  4036. 1: the whole transmission is completed</comment>
  4037. </bits>
  4038. <bits access="rc" name="run" pos="0" rst="0">
  4039. <comment>bit type is changed from w1c to rc.
  4040. the channel runs state
  4041. 0: IDLE
  4042. 1: TRANS</comment>
  4043. </bits>
  4044. </reg>
  4045. <reg name="axidma_c7_sgaddr" protect="rw">
  4046. <bits access="rw" name="sg_addr" pos="31:0" rst="0">
  4047. <comment>first addr of the structural body</comment>
  4048. </bits>
  4049. </reg>
  4050. <reg name="axidma_c7_sgconf" protect="rw">
  4051. <bits access="rw" name="sg_num" pos="19:4" rst="0">
  4052. <comment>scatter-gather transmission frequency
  4053. 0x0: unlimited limit
  4054. ......
  4055. 0xFFFF: 65535 times</comment>
  4056. </bits>
  4057. <bits access="rw" name="desc_rd_ctrl" pos="3" rst="0">
  4058. <comment>linked table read control
  4059. 0: after the data is moved,the linked list isread and no descriptor_req are required
  4060. 1: descriptor_req is needed to read the linked list</comment>
  4061. </bits>
  4062. <bits access="rw" name="sg_suspend_ie" pos="2" rst="0">
  4063. <comment>scatter-gather pause interrupt enable
  4064. 0: disable
  4065. 1: enable</comment>
  4066. </bits>
  4067. <bits access="rw" name="sg_finish_ie" pos="1" rst="0">
  4068. <comment>scatter-gather complete interrupt enable
  4069. 0: disable
  4070. 1: enable</comment>
  4071. </bits>
  4072. <bits access="rc" name="sg_en" pos="0" rst="0">
  4073. <comment>bit type is changed from w1c to rc.
  4074. scatter-gather function enable
  4075. 0: disable
  4076. 1: enable</comment>
  4077. </bits>
  4078. </reg>
  4079. <reg name="axidma_c7_set" protect="rw">
  4080. <bits access="rw" name="run_set" pos="0" rst="0">
  4081. <comment>channel runs position
  4082. 0: the running bit of the channel does not change
  4083. 1: set the running bit of the channel</comment>
  4084. </bits>
  4085. </reg>
  4086. <reg name="axidma_c7_clr" protect="rw">
  4087. <bits access="rw" name="run_clr" pos="0" rst="0">
  4088. <comment>clear the running bit of channel
  4089. 0: the running bit of the channel does not change
  4090. 1: clear the running bit of the channel</comment>
  4091. </bits>
  4092. </reg>
  4093. <hole size="160"/>
  4094. <reg name="axidma_c8_conf" protect="rw">
  4095. <bits access="rw" name="err_int_en" pos="15" rst="0">
  4096. <comment>response error interrupt enable
  4097. 0:disable
  4098. 1:enable</comment>
  4099. </bits>
  4100. <bits access="rw" name="security_en" pos="14" rst="1">
  4101. <comment>security visit
  4102. 0:security
  4103. 1:unsecurity</comment>
  4104. </bits>
  4105. <bits access="rw" name="daddr_turnaround" pos="13" rst="0">
  4106. <comment>after moving a COUNTP,the DADDR is automatically returned to the original destination addr
  4107. 0: the destination addr does not automatically ring back
  4108. 1: the destination addr automatically ring back</comment>
  4109. </bits>
  4110. <bits access="rw" name="saddr_turnaround" pos="12" rst="0">
  4111. <comment>after moving a COUNTP,the SADDR is automatically returned to initial source addr
  4112. 0: the source addr does not automatically ring back
  4113. 1: the source addr automatically ring back</comment>
  4114. </bits>
  4115. <bits access="rw" name="count_sel" pos="10" rst="0">
  4116. <comment>the length of moving data in one interrupt in interrupted mode
  4117. 0: move a countp
  4118. 1: move all count</comment>
  4119. </bits>
  4120. <bits access="rw" name="force_trans" pos="8" rst="0">
  4121. <comment>mandatory transmission control bit
  4122. 0: a transmission is not mandatory in interrupted mode. Or after seting, automatically cleared.
  4123. 1: force a transmission without interruption in interrupted mode.</comment>
  4124. </bits>
  4125. <bits access="rw" name="daddr_fix" pos="7" rst="0">
  4126. <comment>fixed destination addr control bit
  4127. 0: destination addr can be incremented by different data types during transmission
  4128. 1: the destination addr is fixed during transmission</comment>
  4129. </bits>
  4130. <bits access="rw" name="saddr_fix" pos="6" rst="0">
  4131. <comment>fixed source addr control bit
  4132. 0: source addr can be incremented by different data types during transmission
  4133. 1: the source add is fixed during transmission</comment>
  4134. </bits>
  4135. <bits access="rw" name="irq_t" pos="5" rst="0">
  4136. <comment>control bit of each transmission interruption
  4137. 0: each transmission does not produce an interrupt signal
  4138. 1: each transmission prodece an interrupt signal</comment>
  4139. </bits>
  4140. <bits access="rw" name="irq_f" pos="4" rst="1">
  4141. <comment>control bit of whole transmission interruption
  4142. 0: whole transmission does not produce an interrupt signal
  4143. 1: whole transmission prodece an interrupt signal</comment>
  4144. </bits>
  4145. <bits access="rw" name="syn_irq" pos="3" rst="0">
  4146. <comment>control bit of synchronous interrupt trigger mode
  4147. 0: this channel is in normal transmission mode
  4148. 1: this channel is in sync interrupt trigger mode</comment>
  4149. </bits>
  4150. <bits access="rw" name="data_type" pos="2:1" rst="0">
  4151. <comment>data types
  4152. 00: Byte (8 bits)
  4153. 01: Half Word (16 bits)
  4154. 10: Word (32 bits)
  4155. 11: DWord (64 bits)</comment>
  4156. </bits>
  4157. <bits access="rw" name="start" pos="0" rst="0">
  4158. <comment>start control bit
  4159. 0: stop the transmission of this channel
  4160. 1: start the transmission of this channel</comment>
  4161. </bits>
  4162. </reg>
  4163. <reg name="axidma_c8_map" protect="rw">
  4164. <bits access="rw" name="ack_map" pos="12:8" rst="8">
  4165. <comment>this channel corresponds to the ACK signal that is triggered
  4166. 00000: ACK0
  4167. 00001: ACK1
  4168. 00010: ACK2
  4169. ......
  4170. 10111: ACK23</comment>
  4171. </bits>
  4172. <bits access="rw" name="req_source" pos="4:0" rst="8">
  4173. <comment>the source of interrupt trigger for this channel
  4174. 00000: IRQ0 trigger transmission
  4175. 00001: IRQ1 trigger transmission
  4176. 00010: IRQ2 trigger transmission
  4177. ......
  4178. 01111: IRQ15 trigger transmission
  4179. ......
  4180. 10111: IRQ23trigger transmission</comment>
  4181. </bits>
  4182. </reg>
  4183. <reg name="axidma_c8_saddr" protect="rw">
  4184. <bits access="rw" name="s_addr" pos="31:0" rst="0">
  4185. <comment>the source addr of this channel</comment>
  4186. </bits>
  4187. </reg>
  4188. <reg name="axidma_c8_daddr" protect="rw">
  4189. <bits access="rw" name="d_addr" pos="31:0" rst="0">
  4190. <comment>the destination addr of this channel</comment>
  4191. </bits>
  4192. </reg>
  4193. <reg name="axidma_c8_count" protect="rw">
  4194. <bits access="rw" name="count" pos="23:0" rst="0">
  4195. <comment>The total length of the transmitted data is measured in byte</comment>
  4196. </bits>
  4197. </reg>
  4198. <reg name="axidma_c8_countp" protect="rw">
  4199. <bits access="rw" name="countp" pos="15:0" rst="0">
  4200. <comment>the data length per transmission is measured in byte</comment>
  4201. </bits>
  4202. </reg>
  4203. <reg name="axidma_c8_status" protect="rw">
  4204. <bits access="rc" name="resp_err_int" pos="26" rst="0">
  4205. <comment>bit type is changed from w1c to rc.
  4206. response error interrupt flag
  4207. 0:unset
  4208. 1:set</comment>
  4209. </bits>
  4210. <bits access="rc" name="resp_err" pos="25" rst="0">
  4211. <comment>bit type is changed from w1c to rc.
  4212. response error status
  4213. 0:unset
  4214. 1:set</comment>
  4215. </bits>
  4216. <bits access="rc" name="sg_suspend_sta" pos="24" rst="0">
  4217. <comment>bit type is changed from w1c to rc.
  4218. data linked list is paused
  4219. 0: not paused
  4220. 1: paused</comment>
  4221. </bits>
  4222. <bits access="rc" name="sg_finish_sta" pos="23" rst="0">
  4223. <comment>bit type is changed from w1c to rc.
  4224. the linked list is completed
  4225. 0: not completed
  4226. 1: completed</comment>
  4227. </bits>
  4228. <bits access="rc" name="countp_finish_sta" pos="22" rst="0">
  4229. <comment>bit type is changed from w1c to rc.
  4230. COUNTP transmission completion indication
  4231. 0: COUNTP is not completed
  4232. 1: COUNTP is completed</comment>
  4233. </bits>
  4234. <bits access="rc" name="count_finish_sta" pos="21" rst="0">
  4235. <comment>bit type is changed from w1c to rc.
  4236. COUNT transmission completion indication
  4237. 0: COUNT is not completed
  4238. 1: COUNT is completed</comment>
  4239. </bits>
  4240. <bits access="rc" name="sg_suspend" pos="20" rst="0">
  4241. <comment>bit type is changed from w1c to rc.
  4242. scatter-gather pause</comment>
  4243. </bits>
  4244. <bits access="rc" name="sg_count" pos="19:4" rst="0">
  4245. <comment>bit type is changed from w1c to rc.
  4246. the number of scatter-gather transfers completed
  4247. 0x0000: 0
  4248. ......
  4249. 0xFFFF: 65535 times</comment>
  4250. </bits>
  4251. <bits access="rc" name="sg_finish" pos="3" rst="0">
  4252. <comment>bit type is changed from w1c to rc.
  4253. scatter-gather transmission completion
  4254. 0: scatter-gather is not completed
  4255. 1: scatter-gather is completed</comment>
  4256. </bits>
  4257. <bits access="rc" name="countp_finish" pos="2" rst="0">
  4258. <comment>bit type is changed from w1c to rc.
  4259. COUNTP transmission completion indication
  4260. 0: COUNTP is not completed
  4261. 1: COUNTP is completed</comment>
  4262. </bits>
  4263. <bits access="rc" name="count_finish" pos="1" rst="0">
  4264. <comment>bit type is changed from w1c to rc.
  4265. the whole transmission completion indication
  4266. 0: the whole transmission is not completed
  4267. 1: the whole transmission is completed</comment>
  4268. </bits>
  4269. <bits access="rc" name="run" pos="0" rst="0">
  4270. <comment>bit type is changed from w1c to rc.
  4271. the channel runs state
  4272. 0: IDLE
  4273. 1: TRANS</comment>
  4274. </bits>
  4275. </reg>
  4276. <reg name="axidma_c8_sgaddr" protect="rw">
  4277. <bits access="rw" name="sg_addr" pos="31:0" rst="0">
  4278. <comment>first addr of the structural body</comment>
  4279. </bits>
  4280. </reg>
  4281. <reg name="axidma_c8_sgconf" protect="rw">
  4282. <bits access="rw" name="sg_num" pos="19:4" rst="0">
  4283. <comment>scatter-gather transmission frequency
  4284. 0x0: unlimited limit
  4285. ......
  4286. 0xFFFF: 65535 times</comment>
  4287. </bits>
  4288. <bits access="rw" name="desc_rd_ctrl" pos="3" rst="0">
  4289. <comment>linked table read control
  4290. 0: after the data is moved,the linked list isread and no descriptor_req are required
  4291. 1: descriptor_req is needed to read the linked list</comment>
  4292. </bits>
  4293. <bits access="rw" name="sg_suspend_ie" pos="2" rst="0">
  4294. <comment>scatter-gather pause interrupt enable
  4295. 0: disable
  4296. 1: enable</comment>
  4297. </bits>
  4298. <bits access="rw" name="sg_finish_ie" pos="1" rst="0">
  4299. <comment>scatter-gather complete interrupt enable
  4300. 0: disable
  4301. 1: enable</comment>
  4302. </bits>
  4303. <bits access="rc" name="sg_en" pos="0" rst="0">
  4304. <comment>bit type is changed from w1c to rc.
  4305. scatter-gather function enable
  4306. 0: disable
  4307. 1: enable</comment>
  4308. </bits>
  4309. </reg>
  4310. <reg name="axidma_c8_set" protect="rw">
  4311. <bits access="rw" name="run_set" pos="0" rst="0">
  4312. <comment>channel runs position
  4313. 0: the running bit of the channel does not change
  4314. 1: set the running bit of the channel</comment>
  4315. </bits>
  4316. </reg>
  4317. <reg name="axidma_c8_clr" protect="rw">
  4318. <bits access="rw" name="run_clr" pos="0" rst="0">
  4319. <comment>clear the running bit of channel
  4320. 0: the running bit of the channel does not change
  4321. 1: clear the running bit of the channel</comment>
  4322. </bits>
  4323. </reg>
  4324. <hole size="160"/>
  4325. <reg name="axidma_c9_conf" protect="rw">
  4326. <bits access="rw" name="err_int_en" pos="15" rst="0">
  4327. <comment>response error interrupt enable
  4328. 0:disable
  4329. 1:enable</comment>
  4330. </bits>
  4331. <bits access="rw" name="security_en" pos="14" rst="1">
  4332. <comment>security visit
  4333. 0:security
  4334. 1:unsecurity</comment>
  4335. </bits>
  4336. <bits access="rw" name="daddr_turnaround" pos="13" rst="0">
  4337. <comment>after moving a COUNTP,the DADDR is automatically returned to the original destination addr
  4338. 0: the destination addr does not automatically ring back
  4339. 1: the destination addr automatically ring back</comment>
  4340. </bits>
  4341. <bits access="rw" name="saddr_turnaround" pos="12" rst="0">
  4342. <comment>after moving a COUNTP,the SADDR is automatically returned to initial source addr
  4343. 0: the source addr does not automatically ring back
  4344. 1: the source addr automatically ring back</comment>
  4345. </bits>
  4346. <bits access="rw" name="count_sel" pos="10" rst="0">
  4347. <comment>the length of moving data in one interrupt in interrupted mode
  4348. 0: move a countp
  4349. 1: move all count</comment>
  4350. </bits>
  4351. <bits access="rw" name="force_trans" pos="8" rst="0">
  4352. <comment>mandatory transmission control bit
  4353. 0: a transmission is not mandatory in interrupted mode. Or after seting, automatically cleared.
  4354. 1: force a transmission without interruption in interrupted mode.</comment>
  4355. </bits>
  4356. <bits access="rw" name="daddr_fix" pos="7" rst="0">
  4357. <comment>fixed destination addr control bit
  4358. 0: destination addr can be incremented by different data types during transmission
  4359. 1: the destination addr is fixed during transmission</comment>
  4360. </bits>
  4361. <bits access="rw" name="saddr_fix" pos="6" rst="0">
  4362. <comment>fixed source addr control bit
  4363. 0: source addr can be incremented by different data types during transmission
  4364. 1: the source add is fixed during transmission</comment>
  4365. </bits>
  4366. <bits access="rw" name="irq_t" pos="5" rst="0">
  4367. <comment>control bit of each transmission interruption
  4368. 0: each transmission does not produce an interrupt signal
  4369. 1: each transmission prodece an interrupt signal</comment>
  4370. </bits>
  4371. <bits access="rw" name="irq_f" pos="4" rst="1">
  4372. <comment>control bit of whole transmission interruption
  4373. 0: whole transmission does not produce an interrupt signal
  4374. 1: whole transmission prodece an interrupt signal</comment>
  4375. </bits>
  4376. <bits access="rw" name="syn_irq" pos="3" rst="0">
  4377. <comment>control bit of synchronous interrupt trigger mode
  4378. 0: this channel is in normal transmission mode
  4379. 1: this channel is in sync interrupt trigger mode</comment>
  4380. </bits>
  4381. <bits access="rw" name="data_type" pos="2:1" rst="0">
  4382. <comment>data types
  4383. 00: Byte (8 bits)
  4384. 01: Half Word (16 bits)
  4385. 10: Word (32 bits)
  4386. 11: DWord (64 bits)</comment>
  4387. </bits>
  4388. <bits access="rw" name="start" pos="0" rst="0">
  4389. <comment>start control bit
  4390. 0: stop the transmission of this channel
  4391. 1: start the transmission of this channel</comment>
  4392. </bits>
  4393. </reg>
  4394. <reg name="axidma_c9_map" protect="rw">
  4395. <bits access="rw" name="ack_map" pos="12:8" rst="9">
  4396. <comment>this channel corresponds to the ACK signal that is triggered
  4397. 00000: ACK0
  4398. 00001: ACK1
  4399. 00010: ACK2
  4400. ......
  4401. 10111: ACK23</comment>
  4402. </bits>
  4403. <bits access="rw" name="req_source" pos="4:0" rst="9">
  4404. <comment>the source of interrupt trigger for this channel
  4405. 00000: IRQ0 trigger transmission
  4406. 00001: IRQ1 trigger transmission
  4407. 00010: IRQ2 trigger transmission
  4408. ......
  4409. 01111: IRQ15 trigger transmission
  4410. ......
  4411. 10111: IRQ23trigger transmission</comment>
  4412. </bits>
  4413. </reg>
  4414. <reg name="axidma_c9_saddr" protect="rw">
  4415. <bits access="rw" name="s_addr" pos="31:0" rst="0">
  4416. <comment>the source addr of this channel</comment>
  4417. </bits>
  4418. </reg>
  4419. <reg name="axidma_c9_daddr" protect="rw">
  4420. <bits access="rw" name="d_addr" pos="31:0" rst="0">
  4421. <comment>the destination addr of this channel</comment>
  4422. </bits>
  4423. </reg>
  4424. <reg name="axidma_c9_count" protect="rw">
  4425. <bits access="rw" name="count" pos="23:0" rst="0">
  4426. <comment>The total length of the transmitted data is measured in byte</comment>
  4427. </bits>
  4428. </reg>
  4429. <reg name="axidma_c9_countp" protect="rw">
  4430. <bits access="rw" name="countp" pos="15:0" rst="0">
  4431. <comment>the data length per transmission is measured in byte</comment>
  4432. </bits>
  4433. </reg>
  4434. <reg name="axidma_c9_status" protect="rw">
  4435. <bits access="rc" name="resp_err_int" pos="26" rst="0">
  4436. <comment>bit type is changed from w1c to rc.
  4437. response error interrupt flag
  4438. 0:unset
  4439. 1:set</comment>
  4440. </bits>
  4441. <bits access="rc" name="resp_err" pos="25" rst="0">
  4442. <comment>bit type is changed from w1c to rc.
  4443. response error status
  4444. 0:unset
  4445. 1:set</comment>
  4446. </bits>
  4447. <bits access="rc" name="sg_suspend_sta" pos="24" rst="0">
  4448. <comment>bit type is changed from w1c to rc.
  4449. data linked list is paused
  4450. 0: not paused
  4451. 1: paused</comment>
  4452. </bits>
  4453. <bits access="rc" name="sg_finish_sta" pos="23" rst="0">
  4454. <comment>bit type is changed from w1c to rc.
  4455. the linked list is completed
  4456. 0: not completed
  4457. 1: completed</comment>
  4458. </bits>
  4459. <bits access="rc" name="countp_finish_sta" pos="22" rst="0">
  4460. <comment>bit type is changed from w1c to rc.
  4461. COUNTP transmission completion indication
  4462. 0: COUNTP is not completed
  4463. 1: COUNTP is completed</comment>
  4464. </bits>
  4465. <bits access="rc" name="count_finish_sta" pos="21" rst="0">
  4466. <comment>bit type is changed from w1c to rc.
  4467. COUNT transmission completion indication
  4468. 0: COUNT is not completed
  4469. 1: COUNT is completed</comment>
  4470. </bits>
  4471. <bits access="rc" name="sg_suspend" pos="20" rst="0">
  4472. <comment>bit type is changed from w1c to rc.
  4473. scatter-gather pause</comment>
  4474. </bits>
  4475. <bits access="rc" name="sg_count" pos="19:4" rst="0">
  4476. <comment>bit type is changed from w1c to rc.
  4477. the number of scatter-gather transfers completed
  4478. 0x0000: 0
  4479. ......
  4480. 0xFFFF: 65535 times</comment>
  4481. </bits>
  4482. <bits access="rc" name="sg_finish" pos="3" rst="0">
  4483. <comment>bit type is changed from w1c to rc.
  4484. scatter-gather transmission completion
  4485. 0: scatter-gather is not completed
  4486. 1: scatter-gather is completed</comment>
  4487. </bits>
  4488. <bits access="rc" name="countp_finish" pos="2" rst="0">
  4489. <comment>bit type is changed from w1c to rc.
  4490. COUNTP transmission completion indication
  4491. 0: COUNTP is not completed
  4492. 1: COUNTP is completed</comment>
  4493. </bits>
  4494. <bits access="rc" name="count_finish" pos="1" rst="0">
  4495. <comment>bit type is changed from w1c to rc.
  4496. the whole transmission completion indication
  4497. 0: the whole transmission is not completed
  4498. 1: the whole transmission is completed</comment>
  4499. </bits>
  4500. <bits access="rc" name="run" pos="0" rst="0">
  4501. <comment>bit type is changed from w1c to rc.
  4502. the channel runs state
  4503. 0: IDLE
  4504. 1: TRANS</comment>
  4505. </bits>
  4506. </reg>
  4507. <reg name="axidma_c9_sgaddr" protect="rw">
  4508. <bits access="rw" name="sg_addr" pos="31:0" rst="0">
  4509. <comment>first addr of the structural body</comment>
  4510. </bits>
  4511. </reg>
  4512. <reg name="axidma_c9_sgconf" protect="rw">
  4513. <bits access="rw" name="sg_num" pos="19:4" rst="0">
  4514. <comment>scatter-gather transmission frequency
  4515. 0x0: unlimited limit
  4516. ......
  4517. 0xFFFF: 65535 times</comment>
  4518. </bits>
  4519. <bits access="rw" name="desc_rd_ctrl" pos="3" rst="0">
  4520. <comment>linked table read control
  4521. 0: after the data is moved,the linked list isread and no descriptor_req are required
  4522. 1: descriptor_req is needed to read the linked list</comment>
  4523. </bits>
  4524. <bits access="rw" name="sg_suspend_ie" pos="2" rst="0">
  4525. <comment>scatter-gather pause interrupt enable
  4526. 0: disable
  4527. 1: enable</comment>
  4528. </bits>
  4529. <bits access="rw" name="sg_finish_ie" pos="1" rst="0">
  4530. <comment>scatter-gather complete interrupt enable
  4531. 0: disable
  4532. 1: enable</comment>
  4533. </bits>
  4534. <bits access="rc" name="sg_en" pos="0" rst="0">
  4535. <comment>bit type is changed from w1c to rc.
  4536. scatter-gather function enable
  4537. 0: disable
  4538. 1: enable</comment>
  4539. </bits>
  4540. </reg>
  4541. <reg name="axidma_c9_set" protect="rw">
  4542. <bits access="rw" name="run_set" pos="0" rst="0">
  4543. <comment>channel runs position
  4544. 0: the running bit of the channel does not change
  4545. 1: set the running bit of the channel</comment>
  4546. </bits>
  4547. </reg>
  4548. <reg name="axidma_c9_clr" protect="rw">
  4549. <bits access="rw" name="run_clr" pos="0" rst="0">
  4550. <comment>clear the running bit of channel
  4551. 0: the running bit of the channel does not change
  4552. 1: clear the running bit of the channel</comment>
  4553. </bits>
  4554. </reg>
  4555. <hole size="160"/>
  4556. <reg name="axidma_c10_conf" protect="rw">
  4557. <bits access="rw" name="err_int_en" pos="15" rst="0">
  4558. <comment>response error interrupt enable
  4559. 0:disable
  4560. 1:enable</comment>
  4561. </bits>
  4562. <bits access="rw" name="security_en" pos="14" rst="1">
  4563. <comment>security visit
  4564. 0:security
  4565. 1:unsecurity</comment>
  4566. </bits>
  4567. <bits access="rw" name="daddr_turnaround" pos="13" rst="0">
  4568. <comment>after moving a COUNTP,the DADDR is automatically returned to the original destination addr
  4569. 0: the destination addr does not automatically ring back
  4570. 1: the destination addr automatically ring back</comment>
  4571. </bits>
  4572. <bits access="rw" name="saddr_turnaround" pos="12" rst="0">
  4573. <comment>after moving a COUNTP,the SADDR is automatically returned to initial source addr
  4574. 0: the source addr does not automatically ring back
  4575. 1: the source addr automatically ring back</comment>
  4576. </bits>
  4577. <bits access="rw" name="count_sel" pos="10" rst="0">
  4578. <comment>the length of moving data in one interrupt in interrupted mode
  4579. 0: move a countp
  4580. 1: move all count</comment>
  4581. </bits>
  4582. <bits access="rw" name="force_trans" pos="8" rst="0">
  4583. <comment>mandatory transmission control bit
  4584. 0: a transmission is not mandatory in interrupted mode. Or after seting, automatically cleared.
  4585. 1: force a transmission without interruption in interrupted mode.</comment>
  4586. </bits>
  4587. <bits access="rw" name="daddr_fix" pos="7" rst="0">
  4588. <comment>fixed destination addr control bit
  4589. 0: destination addr can be incremented by different data types during transmission
  4590. 1: the destination addr is fixed during transmission</comment>
  4591. </bits>
  4592. <bits access="rw" name="saddr_fix" pos="6" rst="0">
  4593. <comment>fixed source addr control bit
  4594. 0: source addr can be incremented by different data types during transmission
  4595. 1: the source add is fixed during transmission</comment>
  4596. </bits>
  4597. <bits access="rw" name="irq_t" pos="5" rst="0">
  4598. <comment>control bit of each transmission interruption
  4599. 0: each transmission does not produce an interrupt signal
  4600. 1: each transmission prodece an interrupt signal</comment>
  4601. </bits>
  4602. <bits access="rw" name="irq_f" pos="4" rst="1">
  4603. <comment>control bit of whole transmission interruption
  4604. 0: whole transmission does not produce an interrupt signal
  4605. 1: whole transmission prodece an interrupt signal</comment>
  4606. </bits>
  4607. <bits access="rw" name="syn_irq" pos="3" rst="0">
  4608. <comment>control bit of synchronous interrupt trigger mode
  4609. 0: this channel is in normal transmission mode
  4610. 1: this channel is in sync interrupt trigger mode</comment>
  4611. </bits>
  4612. <bits access="rw" name="data_type" pos="2:1" rst="0">
  4613. <comment>data types
  4614. 00: Byte (8 bits)
  4615. 01: Half Word (16 bits)
  4616. 10: Word (32 bits)
  4617. 11: DWord (64 bits)</comment>
  4618. </bits>
  4619. <bits access="rw" name="start" pos="0" rst="0">
  4620. <comment>start control bit
  4621. 0: stop the transmission of this channel
  4622. 1: start the transmission of this channel</comment>
  4623. </bits>
  4624. </reg>
  4625. <reg name="axidma_c10_map" protect="rw">
  4626. <bits access="rw" name="ack_map" pos="12:8" rst="10">
  4627. <comment>this channel corresponds to the ACK signal that is triggered
  4628. 00000: ACK0
  4629. 00001: ACK1
  4630. 00010: ACK2
  4631. ......
  4632. 10111: ACK23</comment>
  4633. </bits>
  4634. <bits access="rw" name="req_source" pos="4:0" rst="10">
  4635. <comment>the source of interrupt trigger for this channel
  4636. 00000: IRQ0 trigger transmission
  4637. 00001: IRQ1 trigger transmission
  4638. 00010: IRQ2 trigger transmission
  4639. ......
  4640. 01111: IRQ15 trigger transmission
  4641. ......
  4642. 10111: IRQ23trigger transmission</comment>
  4643. </bits>
  4644. </reg>
  4645. <reg name="axidma_c10_saddr" protect="rw">
  4646. <bits access="rw" name="s_addr" pos="31:0" rst="0">
  4647. <comment>the source addr of this channel</comment>
  4648. </bits>
  4649. </reg>
  4650. <reg name="axidma_c10_daddr" protect="rw">
  4651. <bits access="rw" name="d_addr" pos="31:0" rst="0">
  4652. <comment>the destination addr of this channel</comment>
  4653. </bits>
  4654. </reg>
  4655. <reg name="axidma_c10_count" protect="rw">
  4656. <bits access="rw" name="count" pos="23:0" rst="0">
  4657. <comment>The total length of the transmitted data is measured in byte</comment>
  4658. </bits>
  4659. </reg>
  4660. <reg name="axidma_c10_countp" protect="rw">
  4661. <bits access="rw" name="countp" pos="15:0" rst="0">
  4662. <comment>the data length per transmission is measured in byte</comment>
  4663. </bits>
  4664. </reg>
  4665. <reg name="axidma_c10_status" protect="rw">
  4666. <bits access="rc" name="resp_err_int" pos="26" rst="0">
  4667. <comment>bit type is changed from w1c to rc.
  4668. response error interrupt flag
  4669. 0:unset
  4670. 1:set</comment>
  4671. </bits>
  4672. <bits access="rc" name="resp_err" pos="25" rst="0">
  4673. <comment>bit type is changed from w1c to rc.
  4674. response error status
  4675. 0:unset
  4676. 1:set</comment>
  4677. </bits>
  4678. <bits access="rc" name="sg_suspend_sta" pos="24" rst="0">
  4679. <comment>bit type is changed from w1c to rc.
  4680. data linked list is paused
  4681. 0: not paused
  4682. 1: paused</comment>
  4683. </bits>
  4684. <bits access="rc" name="sg_finish_sta" pos="23" rst="0">
  4685. <comment>bit type is changed from w1c to rc.
  4686. the linked list is completed
  4687. 0: not completed
  4688. 1: completed</comment>
  4689. </bits>
  4690. <bits access="rc" name="countp_finish_sta" pos="22" rst="0">
  4691. <comment>bit type is changed from w1c to rc.
  4692. COUNTP transmission completion indication
  4693. 0: COUNTP is not completed
  4694. 1: COUNTP is completed</comment>
  4695. </bits>
  4696. <bits access="rc" name="count_finish_sta" pos="21" rst="0">
  4697. <comment>bit type is changed from w1c to rc.
  4698. COUNT transmission completion indication
  4699. 0: COUNT is not completed
  4700. 1: COUNT is completed</comment>
  4701. </bits>
  4702. <bits access="rc" name="sg_suspend" pos="20" rst="0">
  4703. <comment>bit type is changed from w1c to rc.
  4704. scatter-gather pause</comment>
  4705. </bits>
  4706. <bits access="rc" name="sg_count" pos="19:4" rst="0">
  4707. <comment>bit type is changed from w1c to rc.
  4708. the number of scatter-gather transfers completed
  4709. 0x0000: 0
  4710. ......
  4711. 0xFFFF: 65535 times</comment>
  4712. </bits>
  4713. <bits access="rc" name="sg_finish" pos="3" rst="0">
  4714. <comment>bit type is changed from w1c to rc.
  4715. scatter-gather transmission completion
  4716. 0: scatter-gather is not completed
  4717. 1: scatter-gather is completed</comment>
  4718. </bits>
  4719. <bits access="rc" name="countp_finish" pos="2" rst="0">
  4720. <comment>bit type is changed from w1c to rc.
  4721. COUNTP transmission completion indication
  4722. 0: COUNTP is not completed
  4723. 1: COUNTP is completed</comment>
  4724. </bits>
  4725. <bits access="rc" name="count_finish" pos="1" rst="0">
  4726. <comment>bit type is changed from w1c to rc.
  4727. the whole transmission completion indication
  4728. 0: the whole transmission is not completed
  4729. 1: the whole transmission is completed</comment>
  4730. </bits>
  4731. <bits access="rc" name="run" pos="0" rst="0">
  4732. <comment>bit type is changed from w1c to rc.
  4733. the channel runs state
  4734. 0: IDLE
  4735. 1: TRANS</comment>
  4736. </bits>
  4737. </reg>
  4738. <reg name="axidma_c10_sgaddr" protect="rw">
  4739. <bits access="rw" name="sg_addr" pos="31:0" rst="0">
  4740. <comment>first addr of the structural body</comment>
  4741. </bits>
  4742. </reg>
  4743. <reg name="axidma_c10_sgconf" protect="rw">
  4744. <bits access="rw" name="sg_num" pos="19:4" rst="0">
  4745. <comment>scatter-gather transmission frequency
  4746. 0x0: unlimited limit
  4747. ......
  4748. 0xFFFF: 65535 times</comment>
  4749. </bits>
  4750. <bits access="rw" name="desc_rd_ctrl" pos="3" rst="0">
  4751. <comment>linked table read control
  4752. 0: after the data is moved,the linked list isread and no descriptor_req are required
  4753. 1: descriptor_req is needed to read the linked list</comment>
  4754. </bits>
  4755. <bits access="rw" name="sg_suspend_ie" pos="2" rst="0">
  4756. <comment>scatter-gather pause interrupt enable
  4757. 0: disable
  4758. 1: enable</comment>
  4759. </bits>
  4760. <bits access="rw" name="sg_finish_ie" pos="1" rst="0">
  4761. <comment>scatter-gather complete interrupt enable
  4762. 0: disable
  4763. 1: enable</comment>
  4764. </bits>
  4765. <bits access="rc" name="sg_en" pos="0" rst="0">
  4766. <comment>bit type is changed from w1c to rc.
  4767. scatter-gather function enable
  4768. 0: disable
  4769. 1: enable</comment>
  4770. </bits>
  4771. </reg>
  4772. <reg name="axidma_c10_set" protect="rw">
  4773. <bits access="rw" name="run_set" pos="0" rst="0">
  4774. <comment>channel runs position
  4775. 0: the running bit of the channel does not change
  4776. 1: set the running bit of the channel</comment>
  4777. </bits>
  4778. </reg>
  4779. <reg name="axidma_c10_clr" protect="rw">
  4780. <bits access="rw" name="run_clr" pos="0" rst="0">
  4781. <comment>clear the running bit of channel
  4782. 0: the running bit of the channel does not change
  4783. 1: clear the running bit of the channel</comment>
  4784. </bits>
  4785. </reg>
  4786. <hole size="160"/>
  4787. <reg name="axidma_c11_conf" protect="rw">
  4788. <bits access="rw" name="err_int_en" pos="15" rst="0">
  4789. <comment>response error interrupt enable
  4790. 0:disable
  4791. 1:enable</comment>
  4792. </bits>
  4793. <bits access="rw" name="security_en" pos="14" rst="1">
  4794. <comment>security visit
  4795. 0:security
  4796. 1:unsecurity</comment>
  4797. </bits>
  4798. <bits access="rw" name="daddr_turnaround" pos="13" rst="0">
  4799. <comment>after moving a COUNTP,the DADDR is automatically returned to the original destination addr
  4800. 0: the destination addr does not automatically ring back
  4801. 1: the destination addr automatically ring back</comment>
  4802. </bits>
  4803. <bits access="rw" name="saddr_turnaround" pos="12" rst="0">
  4804. <comment>after moving a COUNTP,the SADDR is automatically returned to initial source addr
  4805. 0: the source addr does not automatically ring back
  4806. 1: the source addr automatically ring back</comment>
  4807. </bits>
  4808. <bits access="rw" name="count_sel" pos="10" rst="0">
  4809. <comment>the length of moving data in one interrupt in interrupted mode
  4810. 0: move a countp
  4811. 1: move all count</comment>
  4812. </bits>
  4813. <bits access="rw" name="force_trans" pos="8" rst="0">
  4814. <comment>mandatory transmission control bit
  4815. 0: a transmission is not mandatory in interrupted mode. Or after seting, automatically cleared.
  4816. 1: force a transmission without interruption in interrupted mode.</comment>
  4817. </bits>
  4818. <bits access="rw" name="daddr_fix" pos="7" rst="0">
  4819. <comment>fixed destination addr control bit
  4820. 0: destination addr can be incremented by different data types during transmission
  4821. 1: the destination addr is fixed during transmission</comment>
  4822. </bits>
  4823. <bits access="rw" name="saddr_fix" pos="6" rst="0">
  4824. <comment>fixed source addr control bit
  4825. 0: source addr can be incremented by different data types during transmission
  4826. 1: the source add is fixed during transmission</comment>
  4827. </bits>
  4828. <bits access="rw" name="irq_t" pos="5" rst="0">
  4829. <comment>control bit of each transmission interruption
  4830. 0: each transmission does not produce an interrupt signal
  4831. 1: each transmission prodece an interrupt signal</comment>
  4832. </bits>
  4833. <bits access="rw" name="irq_f" pos="4" rst="1">
  4834. <comment>control bit of whole transmission interruption
  4835. 0: whole transmission does not produce an interrupt signal
  4836. 1: whole transmission prodece an interrupt signal</comment>
  4837. </bits>
  4838. <bits access="rw" name="syn_irq" pos="3" rst="0">
  4839. <comment>control bit of synchronous interrupt trigger mode
  4840. 0: this channel is in normal transmission mode
  4841. 1: this channel is in sync interrupt trigger mode</comment>
  4842. </bits>
  4843. <bits access="rw" name="data_type" pos="2:1" rst="0">
  4844. <comment>data types
  4845. 00: Byte (8 bits)
  4846. 01: Half Word (16 bits)
  4847. 10: Word (32 bits)
  4848. 11: DWord (64 bits)</comment>
  4849. </bits>
  4850. <bits access="rw" name="start" pos="0" rst="0">
  4851. <comment>start control bit
  4852. 0: stop the transmission of this channel
  4853. 1: start the transmission of this channel</comment>
  4854. </bits>
  4855. </reg>
  4856. <reg name="axidma_c11_map" protect="rw">
  4857. <bits access="rw" name="ack_map" pos="12:8" rst="11">
  4858. <comment>this channel corresponds to the ACK signal that is triggered
  4859. 00000: ACK0
  4860. 00001: ACK1
  4861. 00010: ACK2
  4862. ......
  4863. 10111: ACK23</comment>
  4864. </bits>
  4865. <bits access="rw" name="req_source" pos="4:0" rst="11">
  4866. <comment>the source of interrupt trigger for this channel
  4867. 00000: IRQ0 trigger transmission
  4868. 00001: IRQ1 trigger transmission
  4869. 00010: IRQ2 trigger transmission
  4870. ......
  4871. 01111: IRQ15 trigger transmission
  4872. ......
  4873. 10111: IRQ23trigger transmission</comment>
  4874. </bits>
  4875. </reg>
  4876. <reg name="axidma_c11_saddr" protect="rw">
  4877. <bits access="rw" name="s_addr" pos="31:0" rst="0">
  4878. <comment>the source addr of this channel</comment>
  4879. </bits>
  4880. </reg>
  4881. <reg name="axidma_c11_daddr" protect="rw">
  4882. <bits access="rw" name="d_addr" pos="31:0" rst="0">
  4883. <comment>the destination addr of this channel</comment>
  4884. </bits>
  4885. </reg>
  4886. <reg name="axidma_c11_count" protect="rw">
  4887. <bits access="rw" name="count" pos="23:0" rst="0">
  4888. <comment>The total length of the transmitted data is measured in byte</comment>
  4889. </bits>
  4890. </reg>
  4891. <reg name="axidma_c11_countp" protect="rw">
  4892. <bits access="rw" name="countp" pos="15:0" rst="0">
  4893. <comment>the data length per transmission is measured in byte</comment>
  4894. </bits>
  4895. </reg>
  4896. <reg name="axidma_c11_status" protect="rw">
  4897. <bits access="rc" name="resp_err_int" pos="26" rst="0">
  4898. <comment>bit type is changed from w1c to rc.
  4899. response error interrupt flag
  4900. 0:unset
  4901. 1:set</comment>
  4902. </bits>
  4903. <bits access="rc" name="resp_err" pos="25" rst="0">
  4904. <comment>bit type is changed from w1c to rc.
  4905. response error status
  4906. 0:unset
  4907. 1:set</comment>
  4908. </bits>
  4909. <bits access="rc" name="sg_suspend_sta" pos="24" rst="0">
  4910. <comment>bit type is changed from w1c to rc.
  4911. data linked list is paused
  4912. 0: not paused
  4913. 1: paused</comment>
  4914. </bits>
  4915. <bits access="rc" name="sg_finish_sta" pos="23" rst="0">
  4916. <comment>bit type is changed from w1c to rc.
  4917. the linked list is completed
  4918. 0: not completed
  4919. 1: completed</comment>
  4920. </bits>
  4921. <bits access="rc" name="countp_finish_sta" pos="22" rst="0">
  4922. <comment>bit type is changed from w1c to rc.
  4923. COUNTP transmission completion indication
  4924. 0: COUNTP is not completed
  4925. 1: COUNTP is completed</comment>
  4926. </bits>
  4927. <bits access="rc" name="count_finish_sta" pos="21" rst="0">
  4928. <comment>bit type is changed from w1c to rc.
  4929. COUNT transmission completion indication
  4930. 0: COUNT is not completed
  4931. 1: COUNT is completed</comment>
  4932. </bits>
  4933. <bits access="rc" name="sg_suspend" pos="20" rst="0">
  4934. <comment>bit type is changed from w1c to rc.
  4935. scatter-gather pause</comment>
  4936. </bits>
  4937. <bits access="rc" name="sg_count" pos="19:4" rst="0">
  4938. <comment>bit type is changed from w1c to rc.
  4939. the number of scatter-gather transfers completed
  4940. 0x0000: 0
  4941. ......
  4942. 0xFFFF: 65535 times</comment>
  4943. </bits>
  4944. <bits access="rc" name="sg_finish" pos="3" rst="0">
  4945. <comment>bit type is changed from w1c to rc.
  4946. scatter-gather transmission completion
  4947. 0: scatter-gather is not completed
  4948. 1: scatter-gather is completed</comment>
  4949. </bits>
  4950. <bits access="rc" name="countp_finish" pos="2" rst="0">
  4951. <comment>bit type is changed from w1c to rc.
  4952. COUNTP transmission completion indication
  4953. 0: COUNTP is not completed
  4954. 1: COUNTP is completed</comment>
  4955. </bits>
  4956. <bits access="rc" name="count_finish" pos="1" rst="0">
  4957. <comment>bit type is changed from w1c to rc.
  4958. the whole transmission completion indication
  4959. 0: the whole transmission is not completed
  4960. 1: the whole transmission is completed</comment>
  4961. </bits>
  4962. <bits access="rc" name="run" pos="0" rst="0">
  4963. <comment>bit type is changed from w1c to rc.
  4964. the channel runs state
  4965. 0: IDLE
  4966. 1: TRANS</comment>
  4967. </bits>
  4968. </reg>
  4969. <reg name="axidma_c11_sgaddr" protect="rw">
  4970. <bits access="rw" name="sg_addr" pos="31:0" rst="0">
  4971. <comment>first addr of the structural body</comment>
  4972. </bits>
  4973. </reg>
  4974. <reg name="axidma_c11_sgconf" protect="rw">
  4975. <bits access="rw" name="sg_num" pos="19:4" rst="0">
  4976. <comment>scatter-gather transmission frequency
  4977. 0x0: unlimited limit
  4978. ......
  4979. 0xFFFF: 65535 times</comment>
  4980. </bits>
  4981. <bits access="rw" name="desc_rd_ctrl" pos="3" rst="0">
  4982. <comment>linked table read control
  4983. 0: after the data is moved,the linked list isread and no descriptor_req are required
  4984. 1: descriptor_req is needed to read the linked list</comment>
  4985. </bits>
  4986. <bits access="rw" name="sg_suspend_ie" pos="2" rst="0">
  4987. <comment>scatter-gather pause interrupt enable
  4988. 0: disable
  4989. 1: enable</comment>
  4990. </bits>
  4991. <bits access="rw" name="sg_finish_ie" pos="1" rst="0">
  4992. <comment>scatter-gather complete interrupt enable
  4993. 0: disable
  4994. 1: enable</comment>
  4995. </bits>
  4996. <bits access="rc" name="sg_en" pos="0" rst="0">
  4997. <comment>bit type is changed from w1c to rc.
  4998. scatter-gather function enable
  4999. 0: disable
  5000. 1: enable</comment>
  5001. </bits>
  5002. </reg>
  5003. <reg name="axidma_c11_set" protect="rw">
  5004. <bits access="rw" name="run_set" pos="0" rst="0">
  5005. <comment>channel runs position
  5006. 0: the running bit of the channel does not change
  5007. 1: set the running bit of the channel</comment>
  5008. </bits>
  5009. </reg>
  5010. <reg name="axidma_c11_clr" protect="rw">
  5011. <bits access="rw" name="run_clr" pos="0" rst="0">
  5012. <comment>clear the running bit of channel
  5013. 0: the running bit of the channel does not change
  5014. 1: clear the running bit of the channel</comment>
  5015. </bits>
  5016. </reg>
  5017. </module>
  5018. </archive>
  5019. <archive relative="aes.xml">
  5020. <var name="CIOS_RAM_SIZE" value="256*4"/>
  5021. <module category="System" name="AES">
  5022. <reg32 name="dma_ctrl" protect="rw">
  5023. <bits access="rw" name="fix_src" pos="0" rst="0x00">
  5024. <comment>1 - fix src address
  5025. 0 - increament src address</comment>
  5026. </bits>
  5027. <bits access="rw" name="fix_dst" pos="1" rst="0x00">
  5028. <comment>1 - fix dst address
  5029. 0 - increament dst address</comment>
  5030. </bits>
  5031. <bits access="rw" name="hsizem" pos="4:2" rst="0x00">
  5032. <comment>0 - 1 byte
  5033. 1 - 2 byte
  5034. 2 - 4 byte</comment>
  5035. </bits>
  5036. <bits access="rw" name="cycle2_3" pos="5" rst="0x00">
  5037. <comment>write cycles</comment>
  5038. </bits>
  5039. <bits access="rw" name="crc_ce_ctrl" pos="30:28" rst="0x00">
  5040. <comment>0 - normal dma mode
  5041. 1 - dma aes encode mode
  5042. 5 - dma aes decode mode
  5043. 2 - dma crc mode</comment>
  5044. </bits>
  5045. </reg32>
  5046. <reg32 name="dma_src" protect="rw">
  5047. <bits access="rw" name="src_addr" pos="31:0" rst="0x00">
  5048. <comment>source dma address</comment>
  5049. </bits>
  5050. </reg32>
  5051. <reg32 name="dma_dst" protect="rw">
  5052. <bits access="rw" name="dst_addr" pos="31:0" rst="0x00">
  5053. <comment>destination dma address</comment>
  5054. </bits>
  5055. </reg32>
  5056. <reg32 name="dma_len" protect="rw">
  5057. <bits access="rw" name="length" pos="17:0" rst="0x3ffff">
  5058. <comment>number of hsizem</comment>
  5059. </bits>
  5060. </reg32>
  5061. <reg32 name="crc_gen" protect="rw">
  5062. <bits access="rw" name="crc_poly" pos="31:0" rst="0x04c11db7">
  5063. <comment>crc generator, MSB aligned</comment>
  5064. </bits>
  5065. </reg32>
  5066. <reg32 name="dma_func_ctrl" protect="rw">
  5067. <bits access="rw" name="crc_gen_len" pos="1:0" rst="0x3">
  5068. <comment>--no-use 0 - crc8 1 - crc16 3 - crc32</comment>
  5069. </bits>
  5070. <bits access="rw" name="crc_ctrl" pos="19:16" rst="0x00">
  5071. <comment>bit0 - input byte reverse
  5072. bit1 - input bit reverse
  5073. bit2 - output byte reverse
  5074. bit3 - output bit reverse</comment>
  5075. </bits>
  5076. <bits access="rw" name="aes_eng_cgen" pos="24" rst="0x00">
  5077. <comment>aes engine clk on</comment>
  5078. </bits>
  5079. <bits access="rw" name="aes_keygen_cgen" pos="25" rst="0x00">
  5080. <comment>aes key generator clk on</comment>
  5081. </bits>
  5082. <bits access="rw" name="crc_cgen" pos="28" rst="0x00">
  5083. <comment>crc engine clk on</comment>
  5084. </bits>
  5085. <bits access="rw" name="trng_cgen" pos="30" rst="0x00">
  5086. <comment>trng engine clk on</comment>
  5087. </bits>
  5088. </reg32>
  5089. <reg32 name="aes_key0" protect="rw">
  5090. <bits access="rw" name="key0" pos="31:0" rst="0x00">
  5091. <comment>aes key bit 31:0</comment>
  5092. </bits>
  5093. </reg32>
  5094. <reg32 name="aes_key1" protect="rw">
  5095. <bits access="rw" name="key1" pos="31:0" rst="0x00">
  5096. <comment>aes key bit 63:32</comment>
  5097. </bits>
  5098. </reg32>
  5099. <reg32 name="aes_key2" protect="rw">
  5100. <bits access="rw" name="key2" pos="31:0" rst="0x00">
  5101. <comment>aes key bit 95:64</comment>
  5102. </bits>
  5103. </reg32>
  5104. <reg32 name="aes_key3" protect="rw">
  5105. <bits access="rw" name="key3" pos="31:0" rst="0x00">
  5106. <comment>aes key bit 127:96</comment>
  5107. </bits>
  5108. </reg32>
  5109. <reg32 name="aes_iv0" protect="rw">
  5110. <bits access="rw" name="iv0" pos="31:0" rst="0x00">
  5111. <comment>aes iv bit 31:0</comment>
  5112. </bits>
  5113. </reg32>
  5114. <reg32 name="aes_iv1" protect="rw">
  5115. <bits access="rw" name="iv1" pos="31:0" rst="0x00">
  5116. <comment>aes iv bit 63:32</comment>
  5117. </bits>
  5118. </reg32>
  5119. <reg32 name="aes_iv2" protect="rw">
  5120. <bits access="rw" name="iv2" pos="31:0" rst="0x00">
  5121. <comment>aes iv bit 95:64</comment>
  5122. </bits>
  5123. </reg32>
  5124. <reg32 name="aes_iv3" protect="rw">
  5125. <bits access="rw" name="iv3" pos="31:0" rst="0x00">
  5126. <comment>aes iv bit 127:96</comment>
  5127. </bits>
  5128. </reg32>
  5129. <reg32 name="aes_mode" protect="rw">
  5130. <bits access="rw" name="mode" pos="0" rst="0x00">
  5131. <comment>1 - CBC mode
  5132. 0 - ECB mode</comment>
  5133. </bits>
  5134. <bits access="rw" name="key_start" pos="1" rst="0x00">
  5135. <comment>1 - start aes key calc
  5136. 0 - after start calc, need written to 0</comment>
  5137. </bits>
  5138. <bits access="rw" name="key_start_mode" pos="2" rst="0x00">
  5139. <comment>1 - aes key calc started by every 32bit key change
  5140. 0 - aes key calc started by mode[1] :default</comment>
  5141. </bits>
  5142. </reg32>
  5143. <reg32 name="cios_ctrl" protect="rw">
  5144. <bits access="rw" name="cios_ram_en" pos="0" rst="0x00">
  5145. <comment>Not used. The mac rd/wr fifo mem used by cios</comment>
  5146. </bits>
  5147. <bits access="rw" name="cios_mode" pos="3:1" rst="0x00">
  5148. <comment>0: 3'b000 - 1k 28bit mode
  5149. 4: 3'b100 - 2k 28bit mode
  5150. 1: 3'b001 - 1k 31bit mode
  5151. 5: 3'b101 - 2k 31bit mode
  5152. 2: 3'b010 - 1k 32bit mode
  5153. 6: 3'b110 - 2k 32bit mode</comment>
  5154. </bits>
  5155. <bits access="rw" name="cios_force_ram" pos="4" rst="0x00">
  5156. <comment>1 - cios ram can be accessed only by ahb bus
  5157. 0 - when cios ram input data completely writed by bus, then accessed by cios engine
  5158. when engine accessed completely, then accessed by bus</comment>
  5159. </bits>
  5160. <bits access="rw" name="cios_clk_en" pos="5" rst="0x0">
  5161. <comment>cios clk on</comment>
  5162. </bits>
  5163. <bits access="rw" name="cios_start_mode" pos="6" rst="0x0">
  5164. <comment>0 - cios start by cios_ctrl[7]
  5165. 1 - cios auto start when mod_N load done.</comment>
  5166. </bits>
  5167. <bits access="rw" name="cios_start_compute" pos="7" rst="0x0">
  5168. <comment>1 - write 1'b1 to start cios compute.
  5169. 0 - after start compute, need written to 0</comment>
  5170. </bits>
  5171. </reg32>
  5172. <reg32 name="cios_reg0" protect="rw">
  5173. <bits access="rw" name="cios_reg0" pos="31:0" rst="0x00">
  5174. <comment>cios reg</comment>
  5175. </bits>
  5176. </reg32>
  5177. <reg32 name="crc_init_val" protect="rw">
  5178. <bits access="rw" name="crc_init" pos="31:0" rst="0x00000000">
  5179. <comment>crc initial value, MSB aligned</comment>
  5180. </bits>
  5181. </reg32>
  5182. <reg32 name="crc_out_xorval" protect="rw">
  5183. <bits access="rw" name="crc_xorval" pos="31:0" rst="0x00">
  5184. <comment>crc output value xored value, LSB aligned</comment>
  5185. </bits>
  5186. </reg32>
  5187. <reg32 name="crc_out_val" protect="rw">
  5188. <bits access="RO" name="crc_out" pos="31:0" rst="0x00">
  5189. <comment>crc output value, LSB aligned</comment>
  5190. </bits>
  5191. </reg32>
  5192. <reg32 name="crc_size_val" protect="rw">
  5193. <bits access="rw" name="crc_size" pos="2:0" rst="0x2">
  5194. <comment>crc size:
  5195. 3'd0 - 8bit crc
  5196. 3'd1 - 16bit crc
  5197. 3'd2 - 32bit crc</comment>
  5198. </bits>
  5199. </reg32>
  5200. <reg32 name="ififo_thr" protect="rw">
  5201. <bits access="rw" name="ififo_rd_low_thr" pos="6:0" rst="0x4">
  5202. <comment>low threshold to trigger ififo read from ahb</comment>
  5203. </bits>
  5204. <bits access="rw" name="ififo_rd_hight_thr" pos="14:8" rst="0x37">
  5205. <comment>high threshold to switch ififo read to ofifo write</comment>
  5206. </bits>
  5207. </reg32>
  5208. <reg32 name="ofifo_thr" protect="rw">
  5209. <bits access="rw" name="ofifo_wr_low_thr" pos="6:0" rst="0x4">
  5210. <comment>low threshold to switch ofifo write to ififo read</comment>
  5211. </bits>
  5212. <bits access="rw" name="ofifo_wr_hight_thr" pos="14:8" rst="0x37">
  5213. <comment>high threshold to trigger ofifo write to ahb</comment>
  5214. </bits>
  5215. </reg32>
  5216. <hole size="9*32"/>
  5217. <reg32 name="dma_int_out" protect="rw">
  5218. <bits access="RO" name="int_out" pos="5:0" rst="0x00">
  5219. <comment>interrupt output, write 1 for clear
  5220. bit0 - ahb dma done
  5221. bit1 - prng alert
  5222. bit2 - trng on fly test failed
  5223. bit3 - trng start test failed
  5224. bit4 - trng data ready
  5225. bit5 - cios done</comment>
  5226. </bits>
  5227. </reg32>
  5228. <reg32 name="dma_int_mask" protect="rw">
  5229. <bits access="rw" name="int_mask" pos="5:0" rst="0x00">
  5230. <comment>interrupt mask, 1 for disable interrapt
  5231. bit0 - ahb dma done
  5232. bit1 - prng alert
  5233. bit2 - trng on fly test failed
  5234. bit3 - trng start test failed
  5235. bit4 - trng data ready
  5236. bit5 - cios done</comment>
  5237. </bits>
  5238. </reg32>
  5239. <hole size="30*32"/>
  5240. <reg32 name="trng_ctrl" protect="rw">
  5241. <bits access="rw" name="trng_ctrl" pos="6:0" rst="0x0c">
  5242. <comment>bit0 - trng enable
  5243. bit1 - trng mode, 1 for continualy mode, 0 for once
  5244. bit2 - trng start test enable
  5245. bit3 - trng on fly test enable
  5246. bit4 - trng source open
  5247. bit5 - trng test enable
  5248. bit6 - trng data mask enable</comment>
  5249. </bits>
  5250. <bits access="rw" name="trng_mask" pos="23:16" rst="0x00">
  5251. <comment>trng source mask</comment>
  5252. </bits>
  5253. </reg32>
  5254. <reg32 name="prng_ctrl" protect="rw">
  5255. <bits access="rw" name="prng_ctrl" pos="3:0" rst="0x00">
  5256. <comment>bit0 - prng enable
  5257. bit1 - prng seed load
  5258. bit2 - prng seed mode
  5259. bit3 - prng timer enable</comment>
  5260. </bits>
  5261. </reg32>
  5262. <reg32 name="prng_seed" protect="rw">
  5263. <bits access="rw" name="prng_seed" pos="31:0" rst="0x00">
  5264. <comment>prng seed</comment>
  5265. </bits>
  5266. </reg32>
  5267. <reg32 name="prng_timer_init" protect="rw">
  5268. <bits access="rw" name="prng_init" pos="31:1" rst="0x00">
  5269. <comment>prng timer initial value * 2</comment>
  5270. </bits>
  5271. <bits access="rw" name="prng_clk_sel" pos="0" rst="0x00">
  5272. <comment>0 - use 40m/32=1.25MHz clk to sample input data
  5273. 1 - use dma clk to sample input data</comment>
  5274. </bits>
  5275. </reg32>
  5276. <reg32 name="prng_timer" protect="rw">
  5277. <bits access="RO" name="prng_timer" pos="31:0" rst="0x00">
  5278. <comment>prng timer value</comment>
  5279. </bits>
  5280. </reg32>
  5281. <reg32 name="trng_data0" protect="rw">
  5282. <bits access="RO" name="trng_data0" pos="31:0" rst="0x00">
  5283. <comment>trng data0</comment>
  5284. </bits>
  5285. </reg32>
  5286. <reg32 name="trng_data0_mask" protect="rw">
  5287. <bits access="RO" name="trng_data0_mask" pos="31:0" rst="0x00">
  5288. <comment>trng data0 mask</comment>
  5289. </bits>
  5290. </reg32>
  5291. <reg32 name="trng_data1" protect="rw">
  5292. <bits access="RO" name="trng_data1" pos="31:0" rst="0x00">
  5293. <comment>trng data1</comment>
  5294. </bits>
  5295. </reg32>
  5296. <reg32 name="trng_data1_mask" protect="rw">
  5297. <bits access="RO" name="trng_data1_mask" pos="31:0" rst="0x00">
  5298. <comment>trng data1 mask</comment>
  5299. </bits>
  5300. </reg32>
  5301. <reg32 name="prng_data" protect="rw">
  5302. <bits access="RO" name="prng_data" pos="31:0" rst="0x00">
  5303. <comment>prng data</comment>
  5304. </bits>
  5305. </reg32>
  5306. <reg32 name="trng_hc" protect="rw">
  5307. <bits access="RO" name="trng_c_value" pos="15:0" rst="0x00">
  5308. <comment>trng c value</comment>
  5309. </bits>
  5310. <bits access="RO" name="trng_h_value" pos="31:16" rst="0x01e0">
  5311. <comment>trng h value</comment>
  5312. </bits>
  5313. </reg32>
  5314. <hole size="181*32"/>
  5315. <reg32 name="sha_command" protect="rw">
  5316. <bits access="rw" name="sha_start" pos="0" rst="0x00">
  5317. <comment>When written to a one, the calculation starts. The complete and complete error bits
  5318. are cleared when this bit is written with a one.</comment>
  5319. </bits>
  5320. <bits access="RO" name="sha_complete" pos="1" rst="0x00">
  5321. <comment>Set to a one when the operation has completed.</comment>
  5322. </bits>
  5323. <bits access="rw" name="sha_message_end" pos="2" rst="0x00">
  5324. <comment>When set, the block of data described by MESSAGE_ADDR and MESSAGE_LENGTH includes the end byte of the message.</comment>
  5325. </bits>
  5326. <bits access="rw" name="sha_message_start" pos="3" rst="0x00">
  5327. <comment>When set, the block of data described by MESSAGE_ADDR and MESSAGE_LENGTH includes the starting byte of the message</comment>
  5328. </bits>
  5329. <bits access="rw" name="sha_algorithm" pos="7:4" rst="0x00">
  5330. <comment>0x0 - SHA256 processing
  5331. 0x1 - SHA1 processing
  5332. 0x2 ~ 0xF - SHA1 processing</comment>
  5333. </bits>
  5334. <bits access="rw" name="sha_int_on_completion" pos="8" rst="0x00">
  5335. <comment>If set, and interrupt will be generated upon completion of message processing.</comment>
  5336. </bits>
  5337. <bits access="rw" name="sha_msg_endian_mode" pos="9" rst="0x00">
  5338. <comment>Swaps intra-word byte order of message words. If set byte addressing is Big Endian.</comment>
  5339. </bits>
  5340. <bits access="rw" name="sha_hash_endian_mode" pos="10" rst="0x00">
  5341. <comment>Swaps intra-word byte order of hash values. If set byte addressing is Big Endian.</comment>
  5342. </bits>
  5343. <bits access="RO" name="sha_rev_16_11" pos="16:11" rst="0x00">
  5344. <comment>Reserved.</comment>
  5345. </bits>
  5346. <bits access="RO" name="sha_illegal_len" pos="17" rst="0x00">
  5347. <comment>The Command register was written with start=1 when the Message Length register held an illegal value.
  5348. No calculation was executed.</comment>
  5349. </bits>
  5350. <bits access="RO" name="sha_rev_31_18" pos="31:18" rst="0x00">
  5351. <comment>Reserved.</comment>
  5352. </bits>
  5353. </reg32>
  5354. <reg32 name="sha_message_addr" protect="rw">
  5355. <bits access="rw" name="sha_message_addr" pos="31:0" rst="0x00">
  5356. <comment>Starting Byte address of the message block in memory.</comment>
  5357. </bits>
  5358. </reg32>
  5359. <reg32 name="sha_message_len" protect="rw">
  5360. <bits access="rw" name="sha_message_len" pos="18:0" rst="0x00">
  5361. <comment>Byte Length of Message. Maximum of 256K - Message Address[1:0].</comment>
  5362. </bits>
  5363. </reg32>
  5364. <reg32 name="sha_rd_counter" protect="rw">
  5365. <bits access="RO" name="sha_rd_counter" pos="15:0" rst="0x00">
  5366. <comment>HW state. Used for debug only. Umac Interface rd_counter.</comment>
  5367. </bits>
  5368. </reg32>
  5369. <reg32 name="sha_wr_counter" protect="rw">
  5370. <bits access="RO" name="sha_wr_counter" pos="15:0" rst="0x00">
  5371. <comment>HW state. Used for debug only. Umac Interface wr_counter.</comment>
  5372. </bits>
  5373. </reg32>
  5374. <reg32 name="sha_umac_state_c" protect="rw">
  5375. <bits access="RO" name="sha_umac_state_c" pos="1:0" rst="0x00">
  5376. <comment>HW state. Used for debug only. Umac Interface umac_state_c.</comment>
  5377. </bits>
  5378. </reg32>
  5379. <reg32 name="sha_state_c" protect="rw">
  5380. <bits access="RO" name="sha_state_c" pos="2:0" rst="0x00">
  5381. <comment>HW state. Used for debug only. Umac Interface sha_state_c.</comment>
  5382. </bits>
  5383. </reg32>
  5384. <hole size="6*32"/>
  5385. <reg32 name="sha_int_clr" protect="rw">
  5386. <bits access="rw" name="sha_int_clr" pos="0" rst="0x00">
  5387. <comment>Write 1 to the bit to clear the Interrupt</comment>
  5388. </bits>
  5389. </reg32>
  5390. <reg32 name="sha_int_en" protect="rw">
  5391. <bits access="rw" name="sha_int_en" pos="0" rst="0x00">
  5392. <comment>Write 1 to the bit to enable SHA Interrupt</comment>
  5393. </bits>
  5394. </reg32>
  5395. <reg32 name="sha_int_status" protect="rw">
  5396. <bits access="RO" name="sha_int_status" pos="0" rst="0x00">
  5397. <comment>SAM Interrupt status</comment>
  5398. </bits>
  5399. </reg32>
  5400. <reg32 name="sha_restart" protect="rw">
  5401. <bits access="rw" name="sha_restart" pos="0" rst="0x1">
  5402. <comment>Write 1 to restart SHA module</comment>
  5403. </bits>
  5404. </reg32>
  5405. <hole size="47*32"/>
  5406. <reg32 name="hash_value_0" protect="rw">
  5407. <bits access="rw" name="hash_value_0" pos="31:0" rst="0x00">
  5408. <comment>SHA Hash Values. The resulting message digest is the concatenation of H0.</comment>
  5409. </bits>
  5410. </reg32>
  5411. <reg32 name="hash_value_1" protect="rw">
  5412. <bits access="rw" name="hash_value_1" pos="31:0" rst="0x00">
  5413. <comment>SHA Hash Values. The resulting message digest is the concatenation of H1.</comment>
  5414. </bits>
  5415. </reg32>
  5416. <reg32 name="hash_value_2" protect="rw">
  5417. <bits access="rw" name="hash_value_2" pos="31:0" rst="0x00">
  5418. <comment>SHA Hash Values. The resulting message digest is the concatenation of H2.</comment>
  5419. </bits>
  5420. </reg32>
  5421. <reg32 name="hash_value_3" protect="rw">
  5422. <bits access="rw" name="hash_value_3" pos="31:0" rst="0x00">
  5423. <comment>SHA Hash Values. The resulting message digest is the concatenation of H3.</comment>
  5424. </bits>
  5425. </reg32>
  5426. <reg32 name="hash_value_4" protect="rw">
  5427. <bits access="rw" name="hash_value_4" pos="31:0" rst="0x00">
  5428. <comment>SHA Hash Values. The resulting message digest is the concatenation of H4.</comment>
  5429. </bits>
  5430. </reg32>
  5431. <reg32 name="hash_value_5" protect="rw">
  5432. <bits access="rw" name="hash_value_5" pos="31:0" rst="0x00">
  5433. <comment>SHA Hash Values. The resulting message digest is the concatenation of H5.</comment>
  5434. </bits>
  5435. </reg32>
  5436. <reg32 name="hash_value_6" protect="rw">
  5437. <bits access="rw" name="hash_value_6" pos="31:0" rst="0x00">
  5438. <comment>SHA Hash Values. The resulting message digest is the concatenation of H6.</comment>
  5439. </bits>
  5440. </reg32>
  5441. <reg32 name="hash_value_7" protect="rw">
  5442. <bits access="rw" name="hash_value_7" pos="31:0" rst="0x00">
  5443. <comment>SHA Hash Values. The resulting message digest is the concatenation of H7.</comment>
  5444. </bits>
  5445. </reg32>
  5446. <hole size="8*32"/>
  5447. <reg32 name="sha_byte_count" protect="rw">
  5448. <bits access="rw" name="sha_byte_count" pos="28:0" rst="0x00">
  5449. <comment>Number of Message bytes processed. Maximum of 0x1FFF_FFFF.
  5450. Read for status or to save context.
  5451. Written to restore context.</comment>
  5452. </bits>
  5453. </reg32>
  5454. <hole size="175*32"/>
  5455. <memory name="cios_local_ram" size="CIOS_RAM_SIZE">
  5456. <comment>
  5457. CIOS RAM Space
  5458. <br/>
  5459. Used for CIOS Only.
  5460. </comment>
  5461. </memory>
  5462. </module>
  5463. </archive>
  5464. <archive relative="lzma.xml">
  5465. <module category="System" name="LZMA">
  5466. <reg name="lzma_cmd_reg" protect="rw">
  5467. <bits access="rw" name="start" pos="0" rst="0">
  5468. <comment>Writing 1 starts block decode</comment>
  5469. </bits>
  5470. </reg>
  5471. <reg name="lzma_status_reg" protect="rw">
  5472. <bits access="rw" name="axi_err" pos="2" rst="0">
  5473. <comment>AXI bus error flag. Reading 1 indicates AXI bus operation fails and Lzma should be reset.</comment>
  5474. </bits>
  5475. <bits access="rw" name="dec_err" pos="1" rst="0">
  5476. <comment>Decode error flag. Reading 1 indicates block decode error and Lzma should be reset.</comment>
  5477. </bits>
  5478. <bits access="rw" name="dec_done" pos="0" rst="0">
  5479. <comment>Decode done flag. Reading 1 indicates block decode done, writing 1 clears.</comment>
  5480. </bits>
  5481. </reg>
  5482. <reg name="lzma_irq_mask" protect="rw">
  5483. <bits access="rw" name="axi_errirqmask" pos="2" rst="0">
  5484. <comment>Writing 1 indicates a interrupt will be generated when lzma_status_reg[2]=1</comment>
  5485. </bits>
  5486. <bits access="rw" name="dec_errirqmask" pos="1" rst="0">
  5487. <comment>Writing 1 indicates a interrupt will be generated when lzma_status_reg[1]=1</comment>
  5488. </bits>
  5489. <bits access="rw" name="dec_doneirqmask" pos="0" rst="0">
  5490. <comment>Writing 1 indicates a interrupt will be generated when lzma_status_reg[0]=1</comment>
  5491. </bits>
  5492. </reg>
  5493. <reg name="reserve0" protect="r">
  5494. </reg>
  5495. <reg name="lzma_config_reg1" protect="rw">
  5496. <bits access="rw" name="reg_dict_size" pos="29:17" rst="0">
  5497. <comment>Lzma dictionary size in byte</comment>
  5498. </bits>
  5499. <bits access="rw" name="reg_block_size" pos="16:0" rst="0">
  5500. <comment>lzma block size in byte</comment>
  5501. </bits>
  5502. </reg>
  5503. <reg name="lzma_config_reg2" protect="rw">
  5504. <bits access="rw" name="reg_stream_len" pos="16:0" rst="0">
  5505. <comment>lzma zip stream lenght in byte</comment>
  5506. </bits>
  5507. </reg>
  5508. <reg name="lzma_config_reg3" protect="rw">
  5509. <bits access="rw" name="reg_refbyte_en" pos="2" rst="0">
  5510. <comment>1: refbyte enable; 0: refbyte disable</comment>
  5511. </bits>
  5512. <bits access="rw" name="reg_cabac_movebits" pos="1" rst="0">
  5513. <comment>1: cabac_movebits=5; 0: cabac_movebits=4</comment>
  5514. </bits>
  5515. <bits access="rw" name="reg_cabac_totalbits" pos="0" rst="0">
  5516. <comment>1: cabac_totalbits=11; 0: cabac_totalbits=10</comment>
  5517. </bits>
  5518. </reg>
  5519. <reg name="lzma_status_reg2" protect="r">
  5520. <bits access="r" name="stream_byte_pos" pos="16:0" rst="0">
  5521. <comment>current decoding byte position in zip stream</comment>
  5522. </bits>
  5523. </reg>
  5524. <reg name="lzma_status_reg3" protect="r">
  5525. <bits access="r" name="dict_byte_pos" pos="16:0" rst="0">
  5526. <comment>current recovering byte position in dictionary</comment>
  5527. </bits>
  5528. </reg>
  5529. <reg name="lzma_error_type" protect="r">
  5530. <bits access="r" name="inbuf_underflow" pos="6" rst="0">
  5531. <comment>Equals to 1 when block decode finishes with zip stream reading byte position less than (reg_stream_len-2)</comment>
  5532. </bits>
  5533. <bits access="r" name="outbuf_overflow" pos="5" rst="0">
  5534. <comment>Equals to 1 when block decode finishes with block buffer writing byte position exceeds the block size</comment>
  5535. </bits>
  5536. <bits access="r" name="symbol_len_err" pos="4" rst="0">
  5537. <comment>Equals to 1 when a symbol is decoded as match type with length more than 273</comment>
  5538. </bits>
  5539. <bits access="r" name="symbol_reps_err0" pos="3" rst="0">
  5540. <comment>Equals to 1 when a symbol is decoded as match type with reps0 more than dictionary size</comment>
  5541. </bits>
  5542. <bits access="r" name="symbol_reps_err1" pos="2" rst="0">
  5543. <comment>Equals to 1 when a symbol is decoded as match type with reps0 more than dictionary recovery byte postion</comment>
  5544. </bits>
  5545. <bits access="r" name="symbol_type_err" pos="1" rst="0">
  5546. <comment>Equals to 1 when first symbol in a block is decoded as match type</comment>
  5547. </bits>
  5548. <bits access="r" name="inbuf_overflow" pos="0" rst="0">
  5549. <comment>Equals to 1 when zip stream reading byte position exceeds the stream length</comment>
  5550. </bits>
  5551. </reg>
  5552. <reg name="reserve1" protect="r">
  5553. </reg>
  5554. <reg name="reserve2" protect="r">
  5555. </reg>
  5556. <reg name="lzma_input_crc" protect="r">
  5557. <bits access="r" name="input_crc" pos="31:0" rst="0">
  5558. <comment>Crc of lzma rdma read bytes</comment>
  5559. </bits>
  5560. </reg>
  5561. <reg name="lzma_output_crc" protect="r">
  5562. <bits access="r" name="output_crc" pos="31:0" rst="0">
  5563. <comment>Crc of lzma wdma write bytes</comment>
  5564. </bits>
  5565. </reg>
  5566. <reg name="reserve3" protect="r">
  5567. </reg>
  5568. <reg name="reserve4" protect="r">
  5569. </reg>
  5570. <reg name="lzma_dma_raddr_reg" protect="rw">
  5571. <bits access="rw" name="dma_raddr_reg" pos="31:0" rst="0">
  5572. <comment>Base address of lzma rdma</comment>
  5573. </bits>
  5574. </reg>
  5575. <reg name="lzma_dma_waddr_reg" protect="rw">
  5576. <bits access="rw" name="dma_waddr_reg" pos="31:0" rst="0">
  5577. <comment>Base address of lzma wdma</comment>
  5578. </bits>
  5579. </reg>
  5580. <reg name="lzma_inbuf_rwmargin_reg" protect="rw">
  5581. <bits access="rw" name="inbuf_rwmargin_reg" pos="5:0" rst="10">
  5582. <comment>Set the margin between input_buf wrptr and rdptr for pending the decode process</comment>
  5583. </bits>
  5584. </reg>
  5585. </module>
  5586. </archive>
  5587. <archive relative="f8.xml">
  5588. <module category="System" name="F8">
  5589. <reg name="f8_conf" protect="rw">
  5590. <bits access="rw" name="f8_ar_sel" pos="3:2" rst="0">
  5591. <comment>F8
  5592. 00
  5593. 01AES
  5594. 10snow3G
  5595. 11zuc</comment>
  5596. </bits>
  5597. <bits access="rw" name="f8_irq_en" pos="1" rst="0">
  5598. <comment>F8
  5599. 0F8 /group
  5600. 1F8 /group</comment>
  5601. </bits>
  5602. <bits access="rw" name="f8_start" pos="0" rst="0">
  5603. <comment>F8
  5604. 0F8
  5605. 1F8</comment>
  5606. </bits>
  5607. </reg>
  5608. <reg name="f8_group_addr" protect="rw">
  5609. <bits access="rw" name="group_addr" pos="31:0" rst="0">
  5610. <comment>group</comment>
  5611. </bits>
  5612. </reg>
  5613. <reg name="f8_group_cnt" protect="rw">
  5614. <bits access="rw" name="group_addr" pos="31:0" rst="0">
  5615. <comment>group</comment>
  5616. </bits>
  5617. </reg>
  5618. <reg name="f8_status" protect="rw">
  5619. <bits access="rc" name="f9_stat" pos="1" rst="0">
  5620. <comment>bit type is changed from w1c to rc.
  5621. 0F9
  5622. 1F9</comment>
  5623. </bits>
  5624. <bits access="rc" name="f8_stat" pos="0" rst="0">
  5625. <comment>bit type is changed from w1c to rc.
  5626. 0F8/
  5627. 1F8/</comment>
  5628. </bits>
  5629. </reg>
  5630. <reg name="f9_conf" protect="rw">
  5631. <bits access="rw" name="f9_ar_sel" pos="3:2" rst="0">
  5632. <comment>F9
  5633. 00AES
  5634. 01AES
  5635. 10snow3G
  5636. 11zuc</comment>
  5637. </bits>
  5638. <bits access="rw" name="f9_irq_en" pos="1" rst="0">
  5639. <comment>F9
  5640. 0F9 /group
  5641. 1F9 /group</comment>
  5642. </bits>
  5643. <bits access="rw" name="f9_start" pos="0" rst="0">
  5644. <comment>F9
  5645. 0F9
  5646. 1F9</comment>
  5647. </bits>
  5648. </reg>
  5649. <reg name="f9_group_addr" protect="rw">
  5650. <bits access="rw" name="f9_addr" pos="31:0" rst="0">
  5651. <comment>F9 group</comment>
  5652. </bits>
  5653. </reg>
  5654. <reg name="f9_result" protect="r">
  5655. <bits access="r" name="f9_mac" pos="31:0" rst="0">
  5656. <comment>F9</comment>
  5657. </bits>
  5658. </reg>
  5659. </module>
  5660. </archive>
  5661. <archive relative="fpi3_gprs.xml">
  5662. <module category="System" name="FPI3_GPRS">
  5663. <reg name="gprs_clc" protect="rw">
  5664. <bits access="rw" name="fsoe" pos="5" rst="0">
  5665. <comment>FSOE</comment>
  5666. </bits>
  5667. <bits access="w" name="sbwe" pos="4" rst="0">
  5668. <comment>SBWE</comment>
  5669. </bits>
  5670. <bits access="rw" name="edis" pos="3" rst="0">
  5671. <comment>EDIS</comment>
  5672. </bits>
  5673. <bits access="rw" name="spen" pos="2" rst="0">
  5674. <comment>SPEN</comment>
  5675. </bits>
  5676. <bits access="r" name="diss" pos="1" rst="1">
  5677. <comment>DISS</comment>
  5678. </bits>
  5679. <bits access="rw" name="disr" pos="0" rst="1">
  5680. <comment>DISR</comment>
  5681. </bits>
  5682. </reg>
  5683. <hole size="32"/>
  5684. <reg name="gprs_id" protect="r">
  5685. <bits access="r" name="mod_number" pos="31:16" rst="61443">
  5686. <comment>MOD_NUMBER = F003H</comment>
  5687. </bits>
  5688. <bits access="r" name="rev_number" pos="7:0" rst="32">
  5689. <comment>REV_NUMBER = 20H</comment>
  5690. </bits>
  5691. </reg>
  5692. <hole size="32"/>
  5693. <reg name="gprs_data" protect="rw">
  5694. <bits access="rw" name="data" pos="31:0" rst="0">
  5695. <comment>Data Register (Bus address of buffer-32 GPRS_DATA registers are building the on-chip FIFO-buffer)</comment>
  5696. </bits>
  5697. </reg>
  5698. <reg name="gprs_stat" protect="rw">
  5699. <bits access="r" name="ofl_stat" pos="31" rst="0">
  5700. <comment>Overflow Status
  5701. Set to 1 by the GPRS unit when an overflow of the buffer occurs.
  5702. Can be reset by writing '0' to bit UFL.</comment>
  5703. </bits>
  5704. <bits access="r" name="ufl_stat" pos="23" rst="0">
  5705. <comment>Underflow Status
  5706. Set to 1 by the GPRS unit when an underflow of the buffer occurs.
  5707. Can be reset by writing '0' to bit UFL.</comment>
  5708. </bits>
  5709. <bits access="w" name="ofl" pos="15" rst="0">
  5710. <comment>Overflow
  5711. By writing '0' to this bit, bit OFL_STAT will be reset. The current
  5712. overflow status can be read via bit OFL_STAT.</comment>
  5713. </bits>
  5714. <bits access="r" name="wr" pos="13:8" rst="32">
  5715. <comment>Write
  5716. Describes the number of on-chip buffer blocks which are free to be written by the microcontroller.
  5717. Note: If the XOR-combination is disabled by setting bit XOR_DIS in CTRL and ciphering is switched on by setting bit CIPH_CTRL in CTRL this bitfield is set to 0x00.</comment>
  5718. </bits>
  5719. <bits access="w" name="ufl" pos="7" rst="0">
  5720. <comment>Underflow
  5721. By writing '0' to this bit, bit UFL_STAT will be reset. The current underflow status can be read via bit UFL_STAT.</comment>
  5722. </bits>
  5723. <bits access="r" name="rd" pos="5:0" rst="0">
  5724. <comment>Read
  5725. Describes the number of on-chip buffer blocks which have already been processed by the GPRS unit. These blocks can be read by the microcontroller.</comment>
  5726. </bits>
  5727. </reg>
  5728. <reg name="gprs_mac" protect="r">
  5729. <bits access="r" name="mac_i" pos="31:0" rst="0">
  5730. <comment>MAC-I Bits [31:0]</comment>
  5731. </bits>
  5732. </reg>
  5733. <hole size="32"/>
  5734. <reg name="gprs_bccc" protect="w">
  5735. <bits access="w" name="ciph_bcctrl" pos="19" rst="0">
  5736. <comment>CIPH_CTRL Value for the Actual Block in Byte Count Mode
  5737. 0 Ciphering switched off
  5738. 1 Ciphering switched on
  5739. This bit is only valid for BC_EN = &quot;1&quot; (Byte count enabled)!</comment>
  5740. </bits>
  5741. <bits access="w" name="crc_bcctrl" pos="18" rst="0">
  5742. <comment>CRC_CTRL Value for Actual Block in Byte Count Mode
  5743. 0 CRC calculation switched off, necessery for unprotected data stream
  5744. 1 CRC calculation switched on
  5745. This bit is only valid for BC_EN = &quot;1&quot; (Byte count enabled)!</comment>
  5746. </bits>
  5747. <bits access="w" name="cnt_val" pos="10:0" rst="0">
  5748. <comment>Byte Counter Value
  5749. Number of Bytes for the actual block.
  5750. Only valid if BC_EN = &quot;1&quot;!</comment>
  5751. </bits>
  5752. </reg>
  5753. <reg name="gprs_poly" protect="rw">
  5754. <bits access="rw" name="polynomial" pos="31:0" rst="0">
  5755. <comment>Polynomial Bits [31:0]</comment>
  5756. </bits>
  5757. </reg>
  5758. <reg name="gprs_fcs" protect="rw">
  5759. <bits access="rw" name="fcs" pos="31:0" rst="0">
  5760. <comment>FCS Bits [31:0]</comment>
  5761. </bits>
  5762. </reg>
  5763. <reg name="gprs_fresh" protect="rw">
  5764. <bits access="rw" name="fresh" pos="31:0" rst="0">
  5765. <comment>FRESH Bits [31:0]</comment>
  5766. </bits>
  5767. </reg>
  5768. <reg name="gprs_kc0" protect="rw">
  5769. <bits access="rw" name="kc0" pos="31:0" rst="0">
  5770. <comment>KC0 Bits [31:0]
  5771. GEA1/2: Cipher key.
  5772. GEA3/f8: Input CK to the core function KGCORE (see
  5773. Section 4.3.9).
  5774. f9: Integrity key IK.</comment>
  5775. </bits>
  5776. </reg>
  5777. <reg name="gprs_kc1" protect="rw">
  5778. <bits access="rw" name="kc1" pos="31:0" rst="0">
  5779. <comment>KC1 Bits [31:0]
  5780. GEA1/2: Cipher key.
  5781. GEA3/UMTS: Input CK to the core function KGCORE (see Section 4.3.9).
  5782. f9: Integrity key IK.</comment>
  5783. </bits>
  5784. </reg>
  5785. <reg name="gprs_kc2" protect="rw">
  5786. <bits access="rw" name="kc2" pos="31:0" rst="0">
  5787. <comment>KC2 Bits [31:0]
  5788. GEA1/2: Cipher key.
  5789. GEA3/UMTS: Input CK to the core function KGCORE (see Section 4.3.9).
  5790. f9: Integrity key IK.</comment>
  5791. </bits>
  5792. </reg>
  5793. <reg name="gprs_kc3" protect="rw">
  5794. <bits access="rw" name="kc3" pos="31:0" rst="0">
  5795. <comment>KC3 Bits [31:0]
  5796. GEA1/2: Cipher key.
  5797. GEA3/UMTS: Input CK to the core function KGCORE (see Section 4.3.9).
  5798. f9: Integrity key IK.</comment>
  5799. </bits>
  5800. </reg>
  5801. <reg name="gprs_input" protect="rw">
  5802. <bits access="rw" name="input" pos="31:0" rst="0">
  5803. <comment>Input Key Bits [31:0]
  5804. GEA1/2: Input key for initialization.
  5805. GEA3/f8: Input CC[31:0] to the core function KGCORE (see Section 4.3.9).
  5806. f9: Frame dependent input Count-I[31:0].</comment>
  5807. </bits>
  5808. </reg>
  5809. <reg name="gprs_gea3" protect="rw">
  5810. <bits access="rw" name="cb" pos="31:27" rst="0">
  5811. <comment>CB
  5812. Input CB[4:0] to the core function KGCORE (see Section 4.3.9).</comment>
  5813. </bits>
  5814. <bits access="rw" name="cd" pos="26" rst="0">
  5815. <comment>CD
  5816. Input CD[0] to the core function KGCORE (see Section 4.3.9).
  5817. Note: For f8 and f9 calculation, this bit refers to the input
  5818. DIRECTION.</comment>
  5819. </bits>
  5820. <bits access="rw" name="ca" pos="23:16" rst="0">
  5821. <comment>Input CA[7:0]
  5822. To the core function KGCORE (see Section 4.3.9).</comment>
  5823. </bits>
  5824. <bits access="rw" name="ce" pos="15:0" rst="0">
  5825. <comment>Input CE[15:0]
  5826. To the core function KGCORE (see Section 4.3.9).</comment>
  5827. </bits>
  5828. </reg>
  5829. <reg name="gprs_length" protect="rw">
  5830. <bits access="rw" name="length" pos="31:0" rst="0">
  5831. <comment>Length Bits [31:0]
  5832. Total number of bits of the input/output bit stream.</comment>
  5833. </bits>
  5834. </reg>
  5835. <reg name="gprs_ctrl" protect="rw">
  5836. <bits access="r" name="f9cal_stat" pos="30" rst="0">
  5837. <comment>F9CAL Status
  5838. This bit is set by writing to bit F9CAL and reset by the GPRS block when the f9 calculation has finished.
  5839. After this bit is reset by the GPRS block, the MAC can be read by the CPU.
  5840. 0 F9 calculation finished.
  5841. 1 F9 calculation ongoing.</comment>
  5842. </bits>
  5843. <bits access="rw" name="offset" pos="28:24" rst="0">
  5844. <comment>Offset
  5845. Indicates the size of the header part to be discarded for UMTS f8</comment>
  5846. </bits>
  5847. <bits access="r" name="int_stat" pos="22" rst="0">
  5848. <comment>Initilisation Status
  5849. This bit is only valid for MIN_INT=&quot;1&quot;!
  5850. This bit is set by writing to bit INT_EN and reset by the GPRS block.
  5851. 0 GPRS_INT0 generation not enabled.
  5852. 1 GPRS_INT0 generation enabled.</comment>
  5853. </bits>
  5854. <bits access="rw" name="xor_dis" pos="21" rst="0">
  5855. <comment>XOR Disable
  5856. By setting this bit, the XOR combination of input data and keystream will be omitted. This bit is valid only for f8 ciphering.
  5857. 0 XOR combination enabled.
  5858. If CIPH_CTRL = '0' the GPRS unit can be used DMA copy with bit-shifting. Data register DATA is used for writing the input bit stream.
  5859. 1 XOR combination disabled.
  5860. If CIPH_CTRL = '1' no input bit stream has to be written to the data register DATA. The produced keystream can be read from register DATA.
  5861. Note: This bit in combination with CIPH_CTRL has effect on the DMA BUFIN request generation (see Table 18 and Table 19)</comment>
  5862. </bits>
  5863. <bits access="rw" name="gea3_umts" pos="20" rst="0">
  5864. <comment>GEA3 UMTS Mode
  5865. 0 GEA3 or UMTS mode not enabled (default). GEA1 or GEA2 mode will be used according to the settings in bit MODE.
  5866. 1 GEA3 or UMTS mode enabled. GEA3/UMTS f8 or UMTS f9 will be used according to the settings in bit MODE.
  5867. Note: For GEA3 or UTMS f8 mode additionally bit MODE has to be set to '0' . For UMTS f9 mode bit MODE has to be set to '1' (see Table 21).</comment>
  5868. </bits>
  5869. <bits access="r" name="init_stat" pos="16" rst="0">
  5870. <comment>Initilisation Status
  5871. This bit is set by writing to bit INIT and reset by the GPRS block. After this bit is reset by the GPRS block, processing of GPRS_DATA is automatically started. During initialisation GPRS_DATA processing is blocked.
  5872. 0 Initialisation finished.
  5873. 1 Initialisation ongoing.</comment>
  5874. </bits>
  5875. <bits access="w" name="f9cal" pos="14" rst="0">
  5876. <comment>F9 Calculation Bit
  5877. The f9 calculation bit can be set to &quot;1&quot; by the MCU before data for a new f9 calculation is written to the GPRS unit. The status of the f9 calculation can be read via bit F9CAL_STAT.
  5878. 0 No effect.
  5879. 1 Start the indicator for f9 operation.</comment>
  5880. </bits>
  5881. <bits access="w" name="fifo_flush" pos="13" rst="0">
  5882. <comment>FIFO Flush
  5883. 0 No operation (default)
  5884. 1 Data FIFO DATA is flushed. (This bit need not be reset by software.)</comment>
  5885. </bits>
  5886. <bits access="rw" name="burstsize" pos="12:10" rst="0">
  5887. <comment>Burse Size
  5888. 000 Burst Size 1 (default)
  5889. 001 Burst Size 4
  5890. 010 Burst Size 8
  5891. 011 Burst Size 16
  5892. 100 Burst Size 32</comment>
  5893. </bits>
  5894. <bits access="rw" name="bc_en" pos="9" rst="0">
  5895. <comment>Byte Count Enable
  5896. 0 Byte count feature disabled (default)
  5897. 1 Byte count feature enabled</comment>
  5898. </bits>
  5899. <bits access="rw" name="bufin_en" pos="8" rst="0">
  5900. <comment>Buffer In Enable
  5901. 0 GPRS_BUFIN/GPRS_INT1 not generated (default)
  5902. 1 GPRS_BUFIN/GPRS_INT1 generation if:
  5903. WR in STAT &gt;= BURSTSIZE if XOR_DIS = '0' or
  5904. The bit counter in UMTS f8 mode has reached the value programmed in register LENGTH if XOR_DIS = '1' and CIPH_CTRL = '1'.For details on programming this bit please check Table 18 and Table 19.</comment>
  5905. </bits>
  5906. <bits access="rw" name="bufout_en" pos="7" rst="0">
  5907. <comment>Buffer Out Enable
  5908. This bit is only valid for MIN_INT=&quot;1&quot;!
  5909. 0 GPRS_BUFOUT not generated (default)
  5910. 1 GPRS_BUFOUT generation if:
  5911. RD in STAT &gt;= BURSTSIZE or BCCC is worked out (only for BC_EN=&quot;1&quot;) For details on programming this bit please check Table 18.</comment>
  5912. </bits>
  5913. <bits access="rw" name="int_en" pos="6" rst="0">
  5914. <comment>Interrupt Enable
  5915. This bit is only valid for MIN_INT=&quot;1&quot;!
  5916. The status of this bit can be read via bit INT_STAT.
  5917. 0 GPRS_INT0 not generated (default)
  5918. 1 GPRS_INT0 generation if: WR+RD in STAT = 32 (all data in DATA are processed) For details on programming this bit please check Table 18.
  5919. Note: This bit must not be set for DMA transfers!</comment>
  5920. </bits>
  5921. <bits access="rw" name="min_int" pos="5" rst="0">
  5922. <comment>Minimized Interrupt
  5923. 0 Minimized interrupt generation frequency disabled (default)
  5924. 1 Minimized interrupt generation frequency enabled
  5925. For details on programming this bit please check Table 18.</comment>
  5926. </bits>
  5927. <bits access="rw" name="mode" pos="4" rst="0">
  5928. <comment>Mode
  5929. 0 GEA1 ciphering mode if bit GEA3_UMTS is '0' (default)
  5930. 1 GEA2 ciphering mode if bit GEA3_UMTS is '0'
  5931. Note: This bit performs different if bit GEA3_UMTS is set! In GEA3/UMTS f8 mode this bit must be '0', in UMTS f9 mode '1' (see Table 21).</comment>
  5932. </bits>
  5933. <bits access="rw" name="ciph_ctrl" pos="3" rst="0">
  5934. <comment>Cipher Control
  5935. This bit is only valid for BC_EN = &quot;0&quot; (Byte count disabled)!
  5936. 0 Ciphering switched off
  5937. 1 Ciphering switched on
  5938. Notes:
  5939. 1. This bit has to be set in all cipher modes (GPRS, UMTS) if the corresponding algorithm (GEA1/2/3, f8) shall be performed!
  5940. 2. This bit in combination with XOR_DIS has effect on the DMA BUFIN request generation (see Table 18 and Table 19)</comment>
  5941. </bits>
  5942. <bits access="rw" name="crc_ctrl" pos="2" rst="0">
  5943. <comment>CRC Control
  5944. This bit is only valid for BC_EN = &quot;0&quot; (Byte count disabled)!
  5945. 0 CRC calculation switched off, necessary for unprotected data stream
  5946. 1 CRC calculation switched on
  5947. Note: As the CRC was originally implemented for GPRS mode, it is not recommended to use CRC in UMTS mode!</comment>
  5948. </bits>
  5949. <bits access="rw" name="init_direction" pos="1">
  5950. <comment>Initialisation Bit
  5951. The initialisation bit is set to &quot;1&quot; by the MCU.
  5952. The status of this bit can be read via bit INIT_STAT
  5953. 0 No operation
  5954. 1 Start of initialization Direction
  5955. Selects the encoding resp. decoding procedure for GEA1 and GEA2
  5956. 0 Uplink channel
  5957. 1 Downlink channel
  5958. Note: In the UMTS f8 case this bit also indicates how the bitfield OFFSET operates on the ciphering process.</comment>
  5959. </bits>
  5960. </reg>
  5961. <hole size="1344"/>
  5962. <reg name="gprs_src1" protect="rw">
  5963. <bits access="w" name="setr" pos="15" rst="0">
  5964. <comment>Request Flag Set Bit
  5965. 0 No action
  5966. 1 Set request flag SRR (no action if CLRR = 1)
  5967. Written value is not stored. Read returns 0.</comment>
  5968. </bits>
  5969. <bits access="w" name="clrr" pos="14" rst="0">
  5970. <comment>Request Flag Clear Bit
  5971. 0 No action
  5972. 1 Clear request flag SRR (no action if SETR = 1)
  5973. Written value is not stored. Read returns 0.</comment>
  5974. </bits>
  5975. <bits access="r" name="srr" pos="13" rst="0">
  5976. <comment>Service Request Flag
  5977. 0 No service request pending
  5978. 1 A service request is pending</comment>
  5979. </bits>
  5980. <bits access="rw" name="sre" pos="12" rst="0">
  5981. <comment>Service Request Enable Control
  5982. 0 Service request is disabled
  5983. 1 Service request is enabled</comment>
  5984. </bits>
  5985. <bits access="rw" name="tos" pos="10" rst="0">
  5986. <comment>Type-of-Service Control
  5987. 0 Request CPU service (Service Provider 0)
  5988. 1 Request DMA service (Service Provider 1)
  5989. Not all SRN can request DMA service. See column DMA Support in Table Interrupt
  5990. Source List</comment>
  5991. </bits>
  5992. </reg>
  5993. <reg name="gprs_src0" protect="rw">
  5994. <bits access="w" name="setr" pos="15" rst="0">
  5995. <comment>Request Flag Set Bit
  5996. 0 No action
  5997. 1 Set request flag SRR (no action if CLRR = 1)
  5998. Written value is not stored. Read returns 0.</comment>
  5999. </bits>
  6000. <bits access="w" name="clrr" pos="14" rst="0">
  6001. <comment>Request Flag Clear Bit
  6002. 0 No action
  6003. 1 Clear request flag SRR (no action if SETR = 1)
  6004. Written value is not stored. Read returns 0.</comment>
  6005. </bits>
  6006. <bits access="r" name="srr" pos="13" rst="0">
  6007. <comment>Service Request Flag
  6008. 0 No service request pending
  6009. 1 A service request is pending</comment>
  6010. </bits>
  6011. <bits access="rw" name="sre" pos="12" rst="0">
  6012. <comment>Service Request Enable Control
  6013. 0 Service request is disabled
  6014. 1 Service request is enabled</comment>
  6015. </bits>
  6016. <bits access="rw" name="tos" pos="10" rst="0">
  6017. <comment>Type-of-Service Control
  6018. 0 Request CPU service (Service Provider 0)
  6019. 1 Request DMA service (Service Provider 1)
  6020. Not all SRN can request DMA service. See column DMA Support in Table Interrupt
  6021. Source List</comment>
  6022. </bits>
  6023. </reg>
  6024. </module>
  6025. </archive>
  6026. <archive relative="gouda.xml">
  6027. <include file="globals.xml"/>
  6028. <module category="System" name="GOUDA">
  6029. <var name="GD_MAX_OUT_WIDTH" value="640"/>
  6030. <comment>Maximum output width in pixels</comment>
  6031. <var name="GD_NB_BITS_LCDPOS" value="11"/>
  6032. <comment>Number of bits coding position in virtual screen</comment>
  6033. <var name="GD_FP_FRAC_SIZE" value="8"/>
  6034. <comment>Number of bits of fractional part of internal fixed point values</comment>
  6035. <var name="GD_FIXEDPOINT_SIZE" value="3+GD_FP_FRAC_SIZE"/>
  6036. <comment>Number of bits of internal fixed point values</comment>
  6037. <var name="GD_NB_BITS_STRIDE" value="13"/>
  6038. <comment>Number of bits for stride storage</comment>
  6039. <var name="GD_MAX_SLCD_READ_LEN" value="4"/>
  6040. <var name="GD_MAX_SLCD_CLK_DIVIDER" value="255"/>
  6041. <reg name="gd_command" protect="rw">
  6042. <bits access="rw" name="start" pos="0" rst="0x0">
  6043. <comment>Starts the image transfer. Autoreset</comment>
  6044. </bits>
  6045. </reg>
  6046. <reg name="gd_status" protect="r">
  6047. <bits access="r" name="ia_busy" pos="0" rst="0x0">
  6048. <comment>High while image accelerator is busy</comment>
  6049. </bits>
  6050. <bits access="r" name="lcd_busy" pos="4" rst="0x0">
  6051. <comment>High while LCD controller is busy</comment>
  6052. </bits>
  6053. </reg>
  6054. <reg name="gd_eof_irq" protect="rc">
  6055. <bits access="rc" name="eof_cause" pos="0" rst="0x0">
  6056. <comment>
  6057. High when End Of Frame IRQ has been generated.
  6058. <br/>
  6059. To clear it, write 1 in this bit or in eof_status.
  6060. </comment>
  6061. </bits>
  6062. <bits access="rc" name="eof_status" pos="16" rst="0x0">
  6063. <comment>
  6064. Unmasked version of eof_cause.
  6065. <br/>
  6066. To clear it, write 1 in this bit or in eof_status.
  6067. </comment>
  6068. </bits>
  6069. </reg>
  6070. <reg name="gd_eof_irq_mask" protect="rw">
  6071. <bits access="rw" name="eof_mask" pos="0" rst="0x0">
  6072. <comment>
  6073. EOF interrupt generation mask:
  6074. <br/>
  6075. 0: EOF IRQ disabled
  6076. <br/>
  6077. 1: EOF IRQ enabled
  6078. </comment>
  6079. </bits>
  6080. </reg>
  6081. <reg name="gd_roi_tl_ppos" protect="rw">
  6082. <bits access="rw" name="x0" pos="GD_NB_BITS_LCDPOS-1:0" rst="0x0">
  6083. <comment>LCD Region Of Interest Top-Left pixel x-axis</comment>
  6084. </bits>
  6085. <bits access="rw" name="y0" pos="GD_NB_BITS_LCDPOS+15:16" rst="0x0">
  6086. <comment>LCD Region Of Interest Top-Left pixel y-axis</comment>
  6087. </bits>
  6088. </reg>
  6089. <reg name="gd_roi_br_ppos" protect="rw">
  6090. <bits access="rw" name="x1" pos="GD_NB_BITS_LCDPOS-1:0" rst="0x0">
  6091. <comment>LCD Region Of Interest Bottom-Right pixel x-axis</comment>
  6092. </bits>
  6093. <bits access="rw" name="y1" pos="GD_NB_BITS_LCDPOS+15:16" rst="0x0">
  6094. <comment>LCD Region Of Interest Bottom-Right pixel y-axis</comment>
  6095. </bits>
  6096. </reg>
  6097. <reg name="gd_roi_bg_color" protect="rw">
  6098. <bits access="rw" name="b" pos="4:0" rst="0x0">
  6099. <comment>Blue component of the ROI background color</comment>
  6100. </bits>
  6101. <bits access="rw" name="g" pos="10:5" rst="0x0">
  6102. <comment>Green component of the ROI background color</comment>
  6103. </bits>
  6104. <bits access="rw" name="r" pos="15:11" rst="0x0">
  6105. <comment>Red component of the ROI background color</comment>
  6106. </bits>
  6107. </reg>
  6108. <reg name="gd_vl_input_fmt" protect="rw">
  6109. <bits access="rw" name="format" pos="1:0" rst="0x0">
  6110. <comment>
  6111. Input image format
  6112. <br/>
  6113. 00b: RGB565 pixel packed
  6114. <br/>
  6115. 01b: YUV4:2:2 pixel packed (UYVY)
  6116. <br/>
  6117. 10b: YUV4:2:2 pixel packed (YUYV)
  6118. <br/>
  6119. 11b: YUV4:2:0 planar (IYUV)
  6120. </comment>
  6121. </bits>
  6122. <bits access="rw" name="stride" pos="GD_NB_BITS_STRIDE+1:2" rst="0x0">
  6123. <comment>
  6124. Image stride in bytes (of Y component for planar formats).
  6125. <br/>
  6126. This is the length from the beginning of a line to the beginning of the next line (can be different from image width * pixel size).
  6127. </comment>
  6128. </bits>
  6129. <bits access="rw" name="active" pos="31" rst="0x0">
  6130. <comment>
  6131. Defines Layer's activity:
  6132. <br/>
  6133. 0: Layer disabled
  6134. <br/>
  6135. 1: Layer active
  6136. </comment>
  6137. </bits>
  6138. </reg>
  6139. <reg name="gd_vl_tl_ppos" protect="rw">
  6140. <bits access="rw" name="x0" pos="GD_NB_BITS_LCDPOS-1:0" rst="0x0">
  6141. <comment>Video Layer (layer 0) Top-Left pixel x-axis position</comment>
  6142. </bits>
  6143. <bits access="rw" name="y0" pos="GD_NB_BITS_LCDPOS+15:16" rst="0x0">
  6144. <comment>Video Layer (layer 0) Top-Left pixel y-axis position</comment>
  6145. </bits>
  6146. </reg>
  6147. <reg name="gd_vl_br_ppos" protect="rw">
  6148. <bits access="rw" name="x1" pos="GD_NB_BITS_LCDPOS-1:0" rst="0x0">
  6149. <comment>Video Layer (layer 0) Bottom-Right pixel x-axis position</comment>
  6150. </bits>
  6151. <bits access="rw" name="y1" pos="GD_NB_BITS_LCDPOS+15:16" rst="0x0">
  6152. <comment>Video Layer (layer 0) Bottom-Right pixel y-axis position</comment>
  6153. </bits>
  6154. </reg>
  6155. <reg name="gd_vl_extents" protect="rw">
  6156. <bits access="rw" name="max_line" pos="GD_NB_BITS_LCDPOS-1:0" rst="0x0">
  6157. <comment>Number of lines of source image (idem gd_vl_br_ppos.y1 when
  6158. vertical scaling factor is one).</comment>
  6159. </bits>
  6160. <bits access="rw" name="max_col" pos="GD_NB_BITS_LCDPOS+15:16" rst="0x0">
  6161. <comment>Number of columns of source image (idem gd_vl_br_ppos.x1 when
  6162. vertical scaling factor is one).</comment>
  6163. </bits>
  6164. </reg>
  6165. <reg name="gd_vl_blend_opt" protect="rw">
  6166. <bits access="rw" name="chroma key b" pos="4:0" rst="0x0">
  6167. <comment>Blue component of the Chroma Key</comment>
  6168. <options>
  6169. <mask/>
  6170. </options>
  6171. </bits>
  6172. <bits access="rw" name="chroma key g" pos="10:5" rst="0x0">
  6173. <comment>Green component of the Chroma Key</comment>
  6174. <options>
  6175. <mask/>
  6176. </options>
  6177. </bits>
  6178. <bits access="rw" name="chroma key r" pos="15:11" rst="0x0">
  6179. <comment>Red component of the Chroma Key</comment>
  6180. <options>
  6181. <mask/>
  6182. </options>
  6183. </bits>
  6184. <bitgroup name="chroma key color">
  6185. <entry ref="chroma key b"/>
  6186. <entry ref="chroma key g"/>
  6187. <entry ref="chroma key r"/>
  6188. </bitgroup>
  6189. <bits access="rw" name="chroma key enable" pos="16" rst="0x0">
  6190. <comment>Enables the Chroma Keying</comment>
  6191. <options>
  6192. <mask/>
  6193. </options>
  6194. </bits>
  6195. <bits access="rw" name="chroma key mask" pos="19:17" rst="0x0">
  6196. <comment>
  6197. Allows a range of color for the Chroma Keying:
  6198. <br/>
  6199. 000b: exact color match
  6200. <br/>
  6201. 001b: disregard 1 LSBit of each color component for matching
  6202. <br/>
  6203. 011b: disregard 2 LSBit of each color component for matching
  6204. <br/>
  6205. 111b: disregard 3 LSBit of each color component for matching
  6206. </comment>
  6207. <options>
  6208. <mask/>
  6209. </options>
  6210. </bits>
  6211. <bits access="rw" name="alpha" pos="27:20" rst="0x0">
  6212. <comment>Layer Alpha blending coefficient</comment>
  6213. <options>
  6214. <mask/>
  6215. </options>
  6216. </bits>
  6217. <bits access="rw" name="rotation" pos="29:28" rst="0x0">
  6218. <comment>
  6219. Layer rotation selection
  6220. <br/>
  6221. 00b: No rotation
  6222. <br/>
  6223. 01b: 90 degrees rotation (clockwise)
  6224. <br/>
  6225. 10b: reserved
  6226. <br/>
  6227. 11b: reserved
  6228. </comment>
  6229. <options>
  6230. <mask/>
  6231. </options>
  6232. </bits>
  6233. <bits access="rw" name="depth" pos="31:30" rst="0x0">
  6234. <comment>
  6235. Layer depth
  6236. <br/>
  6237. 00b: Video layer behind all Overlay layers
  6238. <br/>
  6239. 01b: Video layer between Overlay layers 1 and 0
  6240. <br/>
  6241. 10b: Video layer between Overlay layers 2 and 1
  6242. <br/>
  6243. 11b: Video layer on top of all Overlay layers
  6244. </comment>
  6245. <options>
  6246. <mask/>
  6247. </options>
  6248. </bits>
  6249. </reg>
  6250. <reg name="gd_vl_y_src" protect="rw">
  6251. <bits access="rw" name="addr" pos="NB_BITS_ADDR-1:2" rst="0x0">
  6252. <comment>Dword-aligned address of the Y component (or RGB) of the source image</comment>
  6253. </bits>
  6254. </reg>
  6255. <reg name="gd_vl_u_src" protect="rw">
  6256. <bits access="rw" name="addr" pos="NB_BITS_ADDR-1:2" rst="0x0">
  6257. <comment>Dword-aligned address of the U component of the source image</comment>
  6258. </bits>
  6259. </reg>
  6260. <reg name="gd_vl_v_src" protect="rw">
  6261. <bits access="rw" name="addr" pos="NB_BITS_ADDR-1:2" rst="0x0">
  6262. <comment>Dword-aligned address of the V component of the source image</comment>
  6263. </bits>
  6264. </reg>
  6265. <reg name="gd_vl_resc_ratio" protect="rw">
  6266. <bits access="rw" name="xpitch" pos="GD_FIXEDPOINT_SIZE-1:0" rst="0x0">
  6267. <comment>Video layer rescaling ratio upon x-axis. This is a 2.8 fixed point number representing the input/output width ratio.</comment>
  6268. </bits>
  6269. <bits access="rw" name="ypitch" pos="GD_FIXEDPOINT_SIZE+15:16" rst="0x0">
  6270. <comment>Video layer rescaling ratio upon y-axis. This is a 2.8 fixed point number representing the input/output height ratio.</comment>
  6271. </bits>
  6272. <bits access="w" name="pre_fetch_en" pos="29" rst="0x0">
  6273. <comment>Video layer rescaling ratio upon y-axis. This is a 2.8 fixed point number representing the input/output height ratio.</comment>
  6274. </bits>
  6275. <bits access="rw" name="iy_dctenable" pos="30" rst="0x0">
  6276. <comment>Video layer rescaling ratio upon y-axis. This is a 2.8 fixed point number representing the input/output height ratio.</comment>
  6277. </bits>
  6278. <bits access="rw" name="ypitch_scale_enable" pos="31" rst="0x0">
  6279. <comment>Video layer rescaling ratio upon y-axis. This is a 2.8 fixed point number representing the input/output height ratio.</comment>
  6280. </bits>
  6281. </reg>
  6282. <struct count="3" name="overlay_layer">
  6283. <comment>The Overlay layers have a fixed depth relative to their index. Overlay layer 0 is the first to be drawn (thus the deepest), overlay layer 2 is the last to be drawn.</comment>
  6284. <reg name="gd_ol_input_fmt" protect="rw">
  6285. <bits access="rw" name="format" pos="1:0" rst="0x0">
  6286. <comment>
  6287. Input image format
  6288. <br/>
  6289. 0: RGB565 pixel packed
  6290. <br/>
  6291. 1: ARGB8888 pixel packed
  6292. <br/>
  6293. others: reserved
  6294. </comment>
  6295. </bits>
  6296. <bits access="rw" name="stride" pos="GD_NB_BITS_STRIDE+1:2" rst="0x0">
  6297. <comment>
  6298. Image stride in 16-bits word.
  6299. <br/>
  6300. This is the length from the beginning of a line to the beginning of the next line (can be different from image width * pixel size).
  6301. </comment>
  6302. </bits>
  6303. <bits access="rw" name="prefetch" pos="18" rst="0x1">
  6304. <comment>
  6305. Image stride in 16-bits word.
  6306. <br/>
  6307. This is the length from the beginning of a line to the beginning of the next line (can be different from image width * pixel size).
  6308. </comment>
  6309. </bits>
  6310. <bits access="rw" name="active" pos="31" rst="0x0">
  6311. <comment>
  6312. Defines Layer's activity:
  6313. <br/>
  6314. 0: Layer disabled
  6315. <br/>
  6316. 1: Layer active
  6317. </comment>
  6318. </bits>
  6319. </reg>
  6320. <reg name="gd_ol_tl_ppos" protect="rw">
  6321. <bits access="rw" name="x0" pos="GD_NB_BITS_LCDPOS-1:0" rst="0x0">
  6322. <comment>Overlay Layer (layer X+1) Top-Left pixel x-axis position</comment>
  6323. </bits>
  6324. <bits access="rw" name="y0" pos="GD_NB_BITS_LCDPOS+15:16" rst="0x0">
  6325. <comment>Overlay Layer (layer X+1) Top-Left pixel y-axis position</comment>
  6326. </bits>
  6327. </reg>
  6328. <reg name="gd_ol_br_ppos" protect="rw">
  6329. <bits access="rw" name="x1" pos="GD_NB_BITS_LCDPOS-1:0" rst="0x0">
  6330. <comment>Overlay Layer (layer X+1) Bottom-Right pixel x-axis position</comment>
  6331. </bits>
  6332. <bits access="rw" name="y1" pos="GD_NB_BITS_LCDPOS+15:16" rst="0x0">
  6333. <comment>Overlay Layer (layer X+1) Bottom-Right pixel y-axis position</comment>
  6334. </bits>
  6335. </reg>
  6336. <reg name="gd_ol_blend_opt" protect="rw">
  6337. <bits access="rw" name="chroma key b" pos="4:0" rst="0x0">
  6338. <comment>Blue component of the Chroma Key</comment>
  6339. </bits>
  6340. <bits access="rw" name="chroma key g" pos="10:5" rst="0x0">
  6341. <comment>Green component of the Chroma Key</comment>
  6342. </bits>
  6343. <bits access="rw" name="chroma key r" pos="15:11" rst="0x0">
  6344. <comment>Red component of the Chroma Key</comment>
  6345. </bits>
  6346. <bitgroup name="chroma key color">
  6347. <entry ref="chroma key b"/>
  6348. <entry ref="chroma key g"/>
  6349. <entry ref="chroma key r"/>
  6350. </bitgroup>
  6351. <bits access="rw" name="chroma key enable" pos="16" rst="0x0">
  6352. <comment>Enables the Chroma Keying</comment>
  6353. </bits>
  6354. <bits access="rw" name="chroma key mask" pos="19:17" rst="0x0">
  6355. <comment>
  6356. Allows a range of color for the Chroma Keying:
  6357. <br/>
  6358. 000b: exact color match
  6359. <br/>
  6360. 001b: disregard 1 LSBit of each color component for matching
  6361. <br/>
  6362. 011b: disregard 2 LSBit of each color component for matching
  6363. <br/>
  6364. 111b: disregard 3 LSBit of each color component for matching
  6365. </comment>
  6366. </bits>
  6367. <bits access="rw" name="alpha" pos="27:20" rst="0x0">
  6368. <comment>Layer Alpha blending coefficient</comment>
  6369. </bits>
  6370. </reg>
  6371. <reg name="gd_ol_rgb_src" protect="rw">
  6372. <bits access="rw" name="addr" pos="NB_BITS_ADDR-1:2" rst="0x0">
  6373. <comment>Dword-aligned address of the source image</comment>
  6374. </bits>
  6375. </reg>
  6376. </struct>
  6377. <reg name="gd_lcd_ctrl" protect="rw">
  6378. <bits access="rw" name="destination" pos="1:0" rst="0x0">
  6379. <comment>Destination Selection</comment>
  6380. <options>
  6381. <option name="LCD CS 0" value="0"/>
  6382. <option name="LCD CS 1" value="1"/>
  6383. <option name="Memory LCD type" value="2"/>
  6384. <option name="Memory RAM" value="3"/>
  6385. </options>
  6386. </bits>
  6387. <bits access="rw" name="output format" pos="6:4" rst="0x0">
  6388. <comment>
  6389. Output format
  6390. <br/>
  6391. 000b: 8-bit - RGB3:3:2 - 1cycle/1pixel - RRRGGGBB
  6392. <br/>
  6393. 001b: 8-bit - RGB4:4:4 - 3cycle/2pixel - RRRRGGGG/BBBBRRRR/GGGGBBBB
  6394. <br/>
  6395. 010b: 8-bit - RGB5:6:5 - 2cycle/1pixel - RRRRRGGG/GGGBBBBB
  6396. <br/>
  6397. 011b: reserved
  6398. <br/>
  6399. 100b: 16-bit - RGB3:3:2 - 1cycle/2pixel - RRRGGGBBRRRGGGBB
  6400. <br/>
  6401. 101b: 16-bit - RGB4:4:4 - 1cycle/1pixel - XXXXRRRRGGGGBBBB
  6402. <br/>
  6403. 110b: 16-bit - RGB5:6:5 - 1cycle/1pixel - RRRRRGGGGGGBBBBB
  6404. <br/>
  6405. 111b: 32-bit - RGB5:6:5 - 1cycle/2pixel - RRRRRGGGGGGBBBBB/RRRRRGGGGGGBBBBB
  6406. <br/>
  6407. <br/>
  6408. The MSB select also the AHB access size (8-bit or 16-bit) when Memory destination is selected.
  6409. <br/>
  6410. Must set to RGB565 when RAM type destination selected
  6411. </comment>
  6412. <options>
  6413. <option name="8-bit;RGB332" value="0"/>
  6414. <option name="8-bit;RGB444" value="1"/>
  6415. <option name="8-bit;RGB565" value="2"/>
  6416. <option name="16-bit;RGB332" value="4"/>
  6417. <option name="16-bit;RGB444" value="5"/>
  6418. <option name="16-bit;RGB565" value="6"/>
  6419. </options>
  6420. </bits>
  6421. <bits access="rw" name="high byte" pos="7" rst="0x0">
  6422. </bits>
  6423. <bits access="rw" name="cs0 polarity" pos="8" rst="0x0">
  6424. <comment>
  6425. Change Polarity of CS0 signal
  6426. <br/>
  6427. 0: no change
  6428. <br/>
  6429. 1: Inverted
  6430. </comment>
  6431. </bits>
  6432. <bits access="rw" name="cs1 polarity" pos="9" rst="0x0">
  6433. <comment>
  6434. Change Polarity of CS1 signal
  6435. <br/>
  6436. 0: no change
  6437. <br/>
  6438. 1: Inverted
  6439. </comment>
  6440. </bits>
  6441. <bits access="rw" name="rs polarity" pos="10" rst="0x0">
  6442. <comment>
  6443. Change Polarity of RS signal
  6444. <br/>
  6445. 0: no change
  6446. <br/>
  6447. 1: Inverted
  6448. </comment>
  6449. </bits>
  6450. <bits access="rw" name="wr polarity" pos="11" rst="0x0">
  6451. <comment>
  6452. Change Polarity of WR signal
  6453. <br/>
  6454. 0: no change
  6455. <br/>
  6456. 1: Inverted
  6457. </comment>
  6458. </bits>
  6459. <bits access="rw" name="rd polarity" pos="12" rst="0x0">
  6460. <comment>
  6461. Change Polarity of RD signal
  6462. <br/>
  6463. 0: no change
  6464. <br/>
  6465. 1: Inverted
  6466. </comment>
  6467. </bits>
  6468. <bits access="rw" name="nb command" pos="21:16" rst="0x0">
  6469. <comment>Number of command to be send to the LCD command (up to 31)</comment>
  6470. </bits>
  6471. <bits access="w" name="start command" pos="24" rst="0x0">
  6472. <comment>Start command transfer only. Autoreset</comment>
  6473. </bits>
  6474. <bits access="rw" name="lcd resetb" pos="25" rst="0x1">
  6475. <comment>LCD reset signal. Low active</comment>
  6476. </bits>
  6477. </reg>
  6478. <reg name="gd_lcd_timing" protect="rw">
  6479. <comment>All value are in cycle number of system clock</comment>
  6480. <bits access="rw" name="tas" pos="2:0" rst="0x0">
  6481. <comment>Address setup time (RS to WR, RS to RD)</comment>
  6482. </bits>
  6483. <bits access="rw" name="tah" pos="6:4" rst="0x0">
  6484. <comment>Adress hold time</comment>
  6485. </bits>
  6486. <bits access="rw" name="pwl" pos="13:8" rst="0x0">
  6487. <comment>Pulse Width Low level, between 2 and 63.</comment>
  6488. </bits>
  6489. <bits access="rw" name="pwh" pos="21:16" rst="0x0">
  6490. <comment>Pulse Width High level, between 2 and 63 (must be &gt; (TAH+TAS) ).</comment>
  6491. </bits>
  6492. </reg>
  6493. <reg name="gd_lcd_mem_address" protect="rw">
  6494. <bits access="rw" name="addr_dst" pos="NB_BITS_ADDR-1:2" rst="all0">
  6495. <comment>
  6496. Address destination pointer when memory destination is selected.
  6497. <br/>
  6498. The addr_dst[1] which correspond to the M_A[0] on the memory interface is used to select between command/data.
  6499. </comment>
  6500. </bits>
  6501. </reg>
  6502. <reg name="gd_lcd_stride_offset" protect="rw">
  6503. <bits access="rw" name="stride_offset" pos="9:0" rst="all0">
  6504. <comment>
  6505. Address offset (in Bytes) skipped at the end of each line when memory destination is selected.
  6506. <br/>
  6507. This 2D feature allows for in-memory image compositing.
  6508. </comment>
  6509. </bits>
  6510. </reg>
  6511. <reg name="gd_lcd_single_access" protect="rw">
  6512. <bits access="rw" name="lcd_data" pos="15:0" rst="all0">
  6513. <comment>data to write or data readen (the readen data is ready when the lcd is not busy)</comment>
  6514. </bits>
  6515. <bits access="rw" name="type" pos="16" rst="0x0">
  6516. <comment>
  6517. Acesss type selection
  6518. <br/>
  6519. 0: Command
  6520. <br/>
  6521. 1: Data
  6522. </comment>
  6523. </bits>
  6524. <bits access="w" name="start_write" pos="17" rst="0x0">
  6525. <comment>Start a single write access. Autoreset</comment>
  6526. </bits>
  6527. <bits access="w" name="start_read" pos="18" rst="0x0">
  6528. <comment>Start a single read access (only when LCD output selected). Autoreset.</comment>
  6529. </bits>
  6530. </reg>
  6531. <reg name="gd_spilcd_config" protect="rw">
  6532. <bits access="rw" name="spi_lcd_select" pos="0" rst="0"> </bits>
  6533. <bits access="rw" name="spi_device_id" pos="6:1" rst="all0">
  6534. <options>
  6535. <mask/>
  6536. <shift/>
  6537. </options>
  6538. </bits>
  6539. <bits access="rw" name="spi_clk_divider" pos="14:7" rst="0a">
  6540. <options>
  6541. <mask/>
  6542. <shift/>
  6543. </options>
  6544. </bits>
  6545. <bits access="rw" name="spi_dummy_cycle" pos="17:15" rst="all0">
  6546. <options>
  6547. <mask/>
  6548. <shift/>
  6549. </options>
  6550. </bits>
  6551. <bits access="rw" name="spi_line" pos="19:18" rst="all0">
  6552. <comment>0:4 line mode
  6553. 1:3 line mode
  6554. 2:command mode
  6555. 3:3 line 2 lane mode tx</comment>
  6556. <options>
  6557. <mask/>
  6558. <option name="4" value="0"/>
  6559. <option name="3" value="1"/>
  6560. <option name="4_Start_Byte" value="2"/>
  6561. <option name="3_Two_Lane" value="3"/>
  6562. </options>
  6563. </bits>
  6564. <bits access="rw" name="spi_rx_byte" pos="22:20" rst="all0">
  6565. <options>
  6566. <mask/>
  6567. <shift/>
  6568. </options>
  6569. </bits>
  6570. <bits access="rw" name="spi_rw" pos="23" rst="0">
  6571. <options>
  6572. <option name="Write" value="0"/>
  6573. <option name="Read" value="1"/>
  6574. </options>
  6575. </bits>
  6576. </reg>
  6577. <reg name="gd_spilcd_rd" protect="r">
  6578. <bits access="r" name="spi_lcd_rd" pos="31:0" rst="all0">
  6579. <comment/>
  6580. </bits>
  6581. </reg>
  6582. <reg name="gd_vl_fix_ratio" protect="rw">
  6583. <bits access="rw" name="reg_vl_only_sel" pos="19" rst="0x0">
  6584. <comment/>
  6585. </bits>
  6586. <bits access="rw" name="mirror" pos="18" rst="0x0">
  6587. <comment>Mirror enable.</comment>
  6588. </bits>
  6589. <bits access="rw" name="l_yfixen" pos="17" rst="0x0">
  6590. <comment>.</comment>
  6591. </bits>
  6592. <bits access="rw" name="l_xfixen" pos="16" rst="0x0">
  6593. <comment>.</comment>
  6594. </bits>
  6595. <bits access="rw" name="l_yratio" pos="15:8" rst="0x0">
  6596. <comment>.</comment>
  6597. </bits>
  6598. <bits access="rw" name="l_xratio" pos="7:0" rst="0x0">
  6599. <comment>.</comment>
  6600. </bits>
  6601. </reg>
  6602. <hole size="(80-38-1)*32"/>
  6603. <reg name="tecon" protect="rw">
  6604. <bits access="rw" name="te_count2" pos="27:16" rst="0x0">
  6605. <comment>Count value to detect vsync pulse</comment>
  6606. </bits>
  6607. <bits access="rw" name="te_mode" pos="2" rst="0x0">
  6608. <comment>0:vsync te only 1:vsync and hsync te</comment>
  6609. </bits>
  6610. <bits access="rw" name="te_edge_sel" pos="1" rst="0x0">
  6611. <comment>Pol select</comment>
  6612. </bits>
  6613. <bits access="rw" name="te_en" pos="0" rst="0x0">
  6614. <comment>Te enable.</comment>
  6615. </bits>
  6616. </reg>
  6617. <reg name="tecon2" protect="rw">
  6618. <bits access="rw" name="te_count1" pos="28:0" rst="0x0">
  6619. <comment>Te counter value</comment>
  6620. </bits>
  6621. </reg>
  6622. <hole size="(256-81-1)*32"/>
  6623. </module>
  6624. <module category="System" name="GOUDA_SRAM">
  6625. <var name="GD_NB_WORKBUF_WORDS" value="5856"/>
  6626. <var name="GD_NB_LCD_CMD_WORDS" value="64"/>
  6627. <var name="GD_SRAM_SIZE" value="(GD_NB_WORKBUF_WORDS+GD_NB_LCD_CMD_WORDS)*2"/>
  6628. <var name="GD_SRAM_ADDR_WIDTH" value="13"/>
  6629. <memory name="sram_array" size="GD_SRAM_SIZE">
  6630. <comment>Gouda internal Sram space</comment>
  6631. </memory>
  6632. </module>
  6633. </archive>
  6634. <archive relative="lcdc.xml">
  6635. <include file="globals.xml"/>
  6636. <module category="System" name="LCDC">
  6637. <reg name="gd_command" protect="wo">
  6638. <bits access="wo" name="start" pos="0" rst="0x0">
  6639. <comment>Starts the image transfer. Autoreset</comment>
  6640. </bits>
  6641. </reg>
  6642. <reg name="gd_status" protect="r">
  6643. <bits access="r" name="ia_busy" pos="0" rst="0x0">
  6644. <comment>High while image accelerator is busy</comment>
  6645. </bits>
  6646. <bits access="r" name="lcd_busy" pos="4" rst="0x0">
  6647. <comment>High while LCD controller is busy</comment>
  6648. </bits>
  6649. </reg>
  6650. <reg name="gd_eof_irq" protect="rc">
  6651. <bits access="rc" name="eof_cause" pos="0" rst="0x0">
  6652. <comment>
  6653. High when End Of Frame IRQ has been generated.
  6654. <br/>
  6655. To clear it, write 1 in this bit or in eof_status.
  6656. </comment>
  6657. </bits>
  6658. <bits access="rw" name="vsync_rise" pos="2" rst="0x0">
  6659. <comment>Vsync rise interrupt.</comment>
  6660. </bits>
  6661. <bits access="rw" name="vsync_fall" pos="3" rst="0x0">
  6662. <comment>Vsync fall interrupt</comment>
  6663. </bits>
  6664. <bits access="rw" name="dpi_overflow" pos="4" rst="0x0">
  6665. <comment>Dpi overflow interrupt</comment>
  6666. </bits>
  6667. <bits access="rw" name="dpi_frameover" pos="5" rst="0x0">
  6668. <comment>Frame over interrupt.</comment>
  6669. </bits>
  6670. <bits access="rw" name="mipi_int" pos="6" rst="0x0">
  6671. <comment>interrupt.</comment>
  6672. </bits>
  6673. <bits access="rc" name="eof_status" pos="16" rst="0x0">
  6674. <comment>
  6675. Unmasked version of eof_cause.
  6676. <br/>
  6677. To clear it, write 1 in this bit or in eof_status.
  6678. </comment>
  6679. </bits>
  6680. </reg>
  6681. <reg name="gd_eof_irq_mask" protect="rw">
  6682. <bits access="rw" name="eof_mask" pos="0" rst="0x0">
  6683. <comment>
  6684. EOF interrupt generation mask:
  6685. <br/>
  6686. 0: EOF IRQ disabled
  6687. <br/>
  6688. 1: EOF IRQ enabled
  6689. </comment>
  6690. </bits>
  6691. <bits access="rw" name="vsync_rise_mask" pos="1" rst="0x0">
  6692. <comment>Vsync rise interrupt.</comment>
  6693. </bits>
  6694. <bits access="rw" name="vsync_fall_mask" pos="2" rst="0x0">
  6695. <comment>Vsync fall interrupt.</comment>
  6696. </bits>
  6697. <bits access="rw" name="dpi_overflow_mask" pos="3" rst="0x0">
  6698. <comment>Dpi overflow interrupt.</comment>
  6699. </bits>
  6700. <bits access="rw" name="dpi_frameover_mask" pos="4" rst="0x0">
  6701. <comment>Frame over interrupt.</comment>
  6702. </bits>
  6703. <bits access="rw" name="mipi_int_mask" pos="5" rst="0x0">
  6704. <comment>Mipi interrupt</comment>
  6705. </bits>
  6706. </reg>
  6707. <reg name="gd_lcd_ctrl" protect="rw">
  6708. <bits access="rw" name="destination" pos="1:0" rst="0x0">
  6709. <comment>Destination Selection</comment>
  6710. <options>
  6711. <option name="LCD CS 0" value="0"/>
  6712. <option name="LCD CS 1" value="1"/>
  6713. <option name="Memory RAM" value="3"/>
  6714. </options>
  6715. </bits>
  6716. <bits access="rw" name="output format" pos="6:4" rst="0x0">
  6717. <comment>
  6718. Output format, when Destination is Memory
  6719. <br/>
  6720. 110b: 16-bit - RGB5:6:5
  6721. <br/>
  6722. 111b: 32-bit - ARGB8:8:8:8
  6723. </comment>
  6724. <options>
  6725. <option name="16-bit;RGB565" value="6"/>
  6726. <option name="32-bit;ARGB8888" value="7"/>
  6727. </options>
  6728. </bits>
  6729. <bits access="rw" name="high byte" pos="7" rst="0x0">
  6730. <comment>exchange high byte and low byte, when output data bus width is 16 bit</comment>
  6731. </bits>
  6732. <bits access="rw" name="cs0 polarity" pos="8" rst="0x0">
  6733. <comment>
  6734. Change Polarity of CS0 signal
  6735. <br/>
  6736. 0: no change
  6737. <br/>
  6738. 1: Inverted
  6739. </comment>
  6740. </bits>
  6741. <bits access="rw" name="cs1 polarity" pos="9" rst="0x0">
  6742. <comment>
  6743. Change Polarity of CS1 signal
  6744. <br/>
  6745. 0: no change
  6746. <br/>
  6747. 1: Inverted
  6748. </comment>
  6749. </bits>
  6750. <bits access="rw" name="rs polarity" pos="10" rst="0x0">
  6751. <comment>
  6752. Change Polarity of RS signal
  6753. <br/>
  6754. 0: no change
  6755. <br/>
  6756. 1: Inverted
  6757. </comment>
  6758. </bits>
  6759. <bits access="rw" name="wr polarity" pos="11" rst="0x0">
  6760. <comment>
  6761. Change Polarity of WR signal
  6762. <br/>
  6763. 0: no change
  6764. <br/>
  6765. 1: Inverted
  6766. </comment>
  6767. </bits>
  6768. <bits access="rw" name="rd polarity" pos="12" rst="0x0">
  6769. <comment>
  6770. Change Polarity of RD signal
  6771. <br/>
  6772. 0: no change
  6773. <br/>
  6774. 1: Inverted
  6775. </comment>
  6776. </bits>
  6777. <bits access="rw" name="gamma_en" pos="13" rst="0x0">
  6778. <comment>gamma enable</comment>
  6779. </bits>
  6780. <bits access="rw" name="bus_sel" pos="26:25" rst="0x0">
  6781. <comment>
  6782. output data bus width select,when use mcu port
  6783. <br/>
  6784. 0: 16bit rgb565
  6785. <br/>
  6786. 1: 18bit rgb666
  6787. <br/>
  6788. 2: 24bit rgb888
  6789. </comment>
  6790. </bits>
  6791. </reg>
  6792. <reg name="gd_lcd_timing" protect="rw">
  6793. <comment>All value are in cycle number of system clock</comment>
  6794. <bits access="rw" name="tas" pos="2:0" rst="0x0">
  6795. <comment>Address setup time (RS to WR, RS to RD)</comment>
  6796. </bits>
  6797. <bits access="rw" name="tah" pos="6:4" rst="0x0">
  6798. <comment>Adress hold time</comment>
  6799. </bits>
  6800. <bits access="rw" name="pwl" pos="13:8" rst="0x0">
  6801. <comment>Pulse Width Low level, between 2 and 63.</comment>
  6802. </bits>
  6803. <bits access="rw" name="pwh" pos="21:16" rst="0x0">
  6804. <comment>Pulse Width High level, between 2 and 63 (must be &gt; (TAH+TAS) ).</comment>
  6805. </bits>
  6806. </reg>
  6807. <reg name="gd_lcd_mem_address" protect="rw">
  6808. <bits access="rw" name="addr_dst" pos="NB_BITS_ADDR-1:2" rst="all0">
  6809. <comment>
  6810. Address destination pointer when memory destination is selected.
  6811. <br/>
  6812. The addr_dst[1] which correspond to the M_A[0] on the memory interface is used to select between command/data.
  6813. </comment>
  6814. </bits>
  6815. </reg>
  6816. <reg name="gd_lcd_stride_offset" protect="rw">
  6817. <bits access="rw" name="stride_offset" pos="10:0" rst="all0">
  6818. <comment>
  6819. Address offset (in Bytes) skipped at the end of each line when memory destination is selected.
  6820. <br/>
  6821. This 2D feature allows for in-memory image compositing.
  6822. </comment>
  6823. </bits>
  6824. </reg>
  6825. <reg name="gd_lcd_single_access" protect="rw">
  6826. <bits access="rw" name="lcd_data" pos="15:0" rst="all0">
  6827. <comment>data to write or data readen (the readen data is ready when the lcd is not busy)</comment>
  6828. </bits>
  6829. <bits access="rw" name="type" pos="16" rst="0x0">
  6830. <comment>
  6831. Acesss type selection
  6832. <br/>
  6833. 0: Command
  6834. <br/>
  6835. 1: Data
  6836. </comment>
  6837. </bits>
  6838. <bits access="w" name="start_write" pos="17" rst="0x0">
  6839. <comment>Start a single write access. Autoreset</comment>
  6840. </bits>
  6841. <bits access="w" name="start_read" pos="18" rst="0x0">
  6842. <comment>Start a single read access (only when LCD output selected). Autoreset.</comment>
  6843. </bits>
  6844. </reg>
  6845. <reg name="gd_spilcd_config" protect="rw">
  6846. <bits access="rw" name="spi_lcd_select" pos="0" rst="0"> </bits>
  6847. <bits access="rw" name="spi_device_id" pos="6:1" rst="all0">
  6848. <options>
  6849. <mask/>
  6850. <shift/>
  6851. </options>
  6852. </bits>
  6853. <bits access="rw" name="spi_clk_divider" pos="14:7" rst="0a">
  6854. <options>
  6855. <mask/>
  6856. <shift/>
  6857. </options>
  6858. </bits>
  6859. <bits access="rw" name="spi_dummy_cycle" pos="17:15" rst="all0">
  6860. <options>
  6861. <mask/>
  6862. <shift/>
  6863. </options>
  6864. </bits>
  6865. <bits access="rw" name="spi_line" pos="19:18" rst="all0">
  6866. <comment>0:4 line mode
  6867. 1:3 line mode
  6868. 2:command mode
  6869. 3:3 line 2 lane mode tx</comment>
  6870. <options>
  6871. <mask/>
  6872. <option name="4" value="0"/>
  6873. <option name="3" value="1"/>
  6874. <option name="4_Start_Byte" value="2"/>
  6875. <option name="3_Two_Lane" value="3"/>
  6876. </options>
  6877. </bits>
  6878. <bits access="rw" name="spi_rx_byte" pos="22:20" rst="all0">
  6879. <options>
  6880. <mask/>
  6881. <shift/>
  6882. </options>
  6883. </bits>
  6884. <bits access="rw" name="spi_rw" pos="23" rst="0">
  6885. <options>
  6886. <option name="Write" value="0"/>
  6887. <option name="Read" value="1"/>
  6888. </options>
  6889. </bits>
  6890. </reg>
  6891. <hole size="1*32"/>
  6892. <reg name="dct_shiftr_uv_reg1" protect="rw">
  6893. <bits access="rw" name="vsync_toggle_hsync_cnt" pos="10:0" rst="0x143">
  6894. <comment>For vsync to hsync setup.</comment>
  6895. </bits>
  6896. <bits access="rw" name="reg_rgb_wait" pos="30" rst="0x0">
  6897. <comment>whether wait for data, when data is not ready for transfer</comment>
  6898. </bits>
  6899. </reg>
  6900. <reg name="dpi_config" protect="rw">
  6901. <bits access="rw" name="reg_pend_req" pos="25:21" rst="0x0">
  6902. <comment>control outstanding number</comment>
  6903. </bits>
  6904. <bits access="rw" name="mipi_cmd_sel" pos="20" rst="0x0">
  6905. <comment>
  6906. if this bit is enable and dsi is enable. lcdc will stop at the end of a frame.
  6907. <br/>
  6908. this is used to send mipi cmd
  6909. </comment>
  6910. </bits>
  6911. <bits access="rw" name="reg_empty_ctrl" pos="15:14" rst="0x0">
  6912. <comment>
  6913. control actions to take, when fifo underflow arise
  6914. <br/>
  6915. bit0:control when fifo is underflow, output zero or data in the fifo.
  6916. <br/>
  6917. 0:output data in the fifo
  6918. <br/>
  6919. 1:output zero
  6920. <br/>
  6921. bit1:whether clear fifo at the end of a frame, when fifo is underflow.
  6922. <br/>
  6923. 0:not clear
  6924. <br/>
  6925. 1:clear
  6926. </comment>
  6927. </bits>
  6928. <bits access="rw" name="r_rgb_format" pos="13:12" rst="0x0">
  6929. <comment>0:24bit 1:16bit. 2:18bit</comment>
  6930. </bits>
  6931. <bits access="rw" name="r_dsi_enable" pos="9" rst="0x0">
  6932. <comment>Mipi enable.</comment>
  6933. </bits>
  6934. <bits access="rw" name="r_outoff_data" pos="8" rst="0x0">
  6935. <comment>Rgb panel disable output data.</comment>
  6936. </bits>
  6937. <bits access="rw" name="r_outoff_clk" pos="7" rst="0x0">
  6938. <comment>Rgb panel disable output clock.</comment>
  6939. </bits>
  6940. <bits access="rw" name="r_outoff_all" pos="6" rst="0x0">
  6941. <comment>Rgb panel disable output all.</comment>
  6942. </bits>
  6943. <bits access="rw" name="r_pix_fmt" pos="5:4" rst="0x0">
  6944. <comment>00:rgb565 01:rgb888 10:xrgb8888 11:rgbx8888.</comment>
  6945. </bits>
  6946. <bits access="rw" name="r_rgb_order" pos="3" rst="0x0">
  6947. <comment>0:RGB 1:BGR.</comment>
  6948. </bits>
  6949. <bits access="rw" name="r_frame2_enable" pos="2" rst="0x0">
  6950. <comment>Frame2 use.</comment>
  6951. </bits>
  6952. <bits access="rw" name="r_frame1_enable" pos="1" rst="0x0">
  6953. <comment>Frame1 use.</comment>
  6954. </bits>
  6955. <bits access="rw" name="r_rgb_enable" pos="0" rst="0x0">
  6956. <comment>Rgb panel enable.</comment>
  6957. </bits>
  6958. </reg>
  6959. <reg name="dpi_fram0_addr" protect="rw">
  6960. </reg>
  6961. <reg name="dpi_fram0_con" protect="rw">
  6962. <bits access="rw" name="r_frame0_line_step" pos="28:16" rst="0x0">
  6963. <comment>Frame0 line step,in byte.</comment>
  6964. </bits>
  6965. <bits access="rw" name="r_frame0_valid" pos="0" rst="0x0">
  6966. <comment>Frame 0 valid.</comment>
  6967. </bits>
  6968. </reg>
  6969. <reg name="dpi_fram1_addr" protect="rw">
  6970. </reg>
  6971. <reg name="dpi_fram1_con" protect="rw">
  6972. <bits access="rw" name="r_frame1_line_step" pos="28:16" rst="0x0">
  6973. <comment>Frame1 line step,in byte.</comment>
  6974. </bits>
  6975. <bits access="rw" name="r_frame1_valid" pos="0" rst="0x0">
  6976. <comment>Frame 1 valid.</comment>
  6977. </bits>
  6978. </reg>
  6979. <reg name="dpi_fram2_addr" protect="rw">
  6980. </reg>
  6981. <reg name="dpi_fram2_con" protect="rw">
  6982. <bits access="rw" name="r_frame2_line_step" pos="28:16" rst="0x0">
  6983. <comment>Frame2 line step,in byte.</comment>
  6984. </bits>
  6985. <bits access="rw" name="r_frame2_valid" pos="0" rst="0x0">
  6986. <comment>Frame 2 valid.</comment>
  6987. </bits>
  6988. </reg>
  6989. <reg name="dpi_size" protect="rw">
  6990. <bits access="rw" name="r_v_size" pos="26:16" rst="0x10">
  6991. <comment>Vertical pix num.</comment>
  6992. </bits>
  6993. <bits access="rw" name="r_h_size" pos="10:0" rst="0x10">
  6994. <comment>Horizontal pix num.</comment>
  6995. </bits>
  6996. </reg>
  6997. <reg name="dpi_fifo_ctrl" protect="rw">
  6998. <bits access="rw" name="r_data_fifo_lowthres" pos="25:16" rst="0x10">
  6999. <comment>Data fifo threshold when req axi.</comment>
  7000. </bits>
  7001. <bits access="rw" name="r_fifo_rst_auto" pos="1" rst="0x0">
  7002. <comment>Dpi fifo auto reset enable when occur overflow .</comment>
  7003. </bits>
  7004. <bits access="rw" name="r_fifo_rst" pos="0" rst="0x0">
  7005. <comment>Dpi fifo reset.</comment>
  7006. </bits>
  7007. </reg>
  7008. <reg name="dpi_throt" protect="rw">
  7009. <bits access="rw" name="r_throttle_period" pos="25:16" rst="0x0">
  7010. <comment>Throttle period. delay time between read requests</comment>
  7011. </bits>
  7012. <bits access="rw" name="r_throttle_en" pos="0" rst="0x0">
  7013. <comment>Dpi dma throttle enable.</comment>
  7014. </bits>
  7015. </reg>
  7016. <reg name="dpi_pol" protect="rw">
  7017. <bits access="rw" name="r_reg_clk_adj" pos="16:13" rst="0x0">
  7018. <comment>adjust dot clock phase. unit is fast dpi clock</comment>
  7019. </bits>
  7020. <bits access="rw" name="r_de_pol" pos="11" rst="0x0">
  7021. <comment>Data enable pol.</comment>
  7022. </bits>
  7023. <bits access="rw" name="r_vsync_pol" pos="10" rst="0x0">
  7024. <comment>Vsync pol.</comment>
  7025. </bits>
  7026. <bits access="rw" name="r_hsync_pol" pos="9" rst="0x0">
  7027. <comment>Hsync pol.</comment>
  7028. </bits>
  7029. <bits access="rw" name="r_dot_clk_pol" pos="8" rst="0x0">
  7030. <comment>Dot clock pol.</comment>
  7031. </bits>
  7032. <bits access="rw" name="r_dot_clk_div" pos="7:0" rst="0x0">
  7033. <comment>dot clock div.</comment>
  7034. </bits>
  7035. </reg>
  7036. <reg name="dpi_time0" protect="rw">
  7037. <bits access="rw" name="r_front_porch_start_vsync_timer" pos="26:16" rst="0xf2">
  7038. <comment>vsync back porch + vsync display period.</comment>
  7039. </bits>
  7040. <bits access="rw" name="r_back_porch_end_vsync_timer" pos="10:0" rst="0x2">
  7041. <comment>vsync back porch num.</comment>
  7042. </bits>
  7043. </reg>
  7044. <reg name="dpi_time1" protect="rw">
  7045. <bits access="rw" name="r_vsync_include_hsync_th_low" pos="26:16" rst="0x1">
  7046. <comment>vsync low pulse width.</comment>
  7047. </bits>
  7048. <bits access="rw" name="r_vsync_include_hsync_th_high" pos="10:0" rst="0xf3">
  7049. <comment>vsync period - 1.</comment>
  7050. </bits>
  7051. </reg>
  7052. <reg name="dpi_time2" protect="rw">
  7053. <bits access="rw" name="r_hsync_include_dotclk_th_low" pos="26:16" rst="0x1">
  7054. <comment>hsync low pulse width.</comment>
  7055. </bits>
  7056. <bits access="rw" name="r_hsync_include_dotclk_th_high" pos="10:0" rst="0x143">
  7057. <comment>hsync period -1.</comment>
  7058. </bits>
  7059. </reg>
  7060. <reg name="dpi_time3" protect="rw">
  7061. <bits access="rw" name="r_rgb_data_enable_end_timer" pos="26:16" rst="0x142">
  7062. <comment>data enable end.</comment>
  7063. </bits>
  7064. <bits access="rw" name="r_rgb_data_enable_start_timer" pos="10:0" rst="0x2">
  7065. <comment>data enable start.</comment>
  7066. </bits>
  7067. </reg>
  7068. <reg name="dpi_status" protect="ro">
  7069. <bits access="ro" name="current_frame" pos="5:4" rst="0x0">
  7070. <comment/>
  7071. </bits>
  7072. <bits access="ro" name="frame_runing" pos="3" rst="0x0">
  7073. <comment/>
  7074. </bits>
  7075. <bits access="ro" name="frame2_over" pos="2" rst="0x0">
  7076. <comment/>
  7077. </bits>
  7078. <bits access="ro" name="frame1_over" pos="1" rst="0x0">
  7079. <comment/>
  7080. </bits>
  7081. <bits access="ro" name="frame0_over" pos="0" rst="0x0">
  7082. <comment/>
  7083. </bits>
  7084. </reg>
  7085. <reg name="dither_ctrl" protect="rw">
  7086. <bits access="rw" name="r_dither_en" pos="0" rst="0x0">
  7087. <comment/>
  7088. </bits>
  7089. <bits access="rw" name="dither_mode_r" pos="1" rst="0x0">
  7090. <comment>0:8bits to 6bits 1:8bits to 5bits</comment>
  7091. </bits>
  7092. <bits access="rw" name="dither_mode_g" pos="2" rst="0x0">
  7093. <comment>0:8bits to 6bits 1:8bits to 5bits</comment>
  7094. </bits>
  7095. <bits access="rw" name="dither_mode_b" pos="3" rst="0x0">
  7096. <comment>0:8bits to 6bits 1:8bits to 5bits</comment>
  7097. </bits>
  7098. <bits access="rw" name="dither_ctrl_r" pos="5:4" rst="0x0">
  7099. <comment>
  7100. 0: bypass mode
  7101. <br/>
  7102. 1: 2x2 mode
  7103. <br/>
  7104. 2: 4x4 mode
  7105. <br/>
  7106. 3: lfsr mode
  7107. </comment>
  7108. </bits>
  7109. <bits access="rw" name="dither_ctrl_g" pos="7:6" rst="0x0">
  7110. <comment>
  7111. 0: bypass mode
  7112. <br/>
  7113. 1: 2x2 mode
  7114. <br/>
  7115. 2: 4x4 mode
  7116. <br/>
  7117. 3: lfsr mode
  7118. </comment>
  7119. </bits>
  7120. <bits access="rw" name="dither_ctrl_b" pos="9:8" rst="0x0">
  7121. <comment>
  7122. 0: bypass mode
  7123. <br/>
  7124. 1: 2x2 mode
  7125. <br/>
  7126. 2: 4x4 mode
  7127. <br/>
  7128. 3: lfsr mode
  7129. </comment>
  7130. </bits>
  7131. </reg>
  7132. <reg name="dither_matrix0_0" protect="rw">
  7133. <bits access="rw" name="dither_matrix0_0" pos="31:0" rst="0x4056273">
  7134. </bits>
  7135. </reg>
  7136. <reg name="dither_matrix0_1" protect="rw">
  7137. <bits access="rw" name="dither_matrix0_1" pos="31:0" rst="0x15148362">
  7138. </bits>
  7139. </reg>
  7140. <reg name="dither_matrix1" protect="rw">
  7141. <bits access="rw" name="dither_matrix1" pos="7:0" rst="0x2d">
  7142. <comment/>
  7143. </bits>
  7144. <bits access="rw" name="reg_lfsr_initialdata" pos="19:8" rst="0x0">
  7145. <comment>linear feedback shift register initial data</comment>
  7146. </bits>
  7147. </reg>
  7148. <reg name="tecon" protect="rw">
  7149. <bits access="rw" name="te_count2" pos="27:16" rst="0x0">
  7150. <comment>Count value to detect vsync pulse</comment>
  7151. </bits>
  7152. <bits access="rw" name="te_mode" pos="2" rst="0x0">
  7153. <comment>0:vsync te only 1:vsync and hsync te</comment>
  7154. </bits>
  7155. <bits access="rw" name="te_edge_sel" pos="1" rst="0x0">
  7156. <comment>Pol select</comment>
  7157. </bits>
  7158. <bits access="rw" name="te_en" pos="0" rst="0x0">
  7159. <comment>Te enable.</comment>
  7160. </bits>
  7161. </reg>
  7162. <reg name="tecon2" protect="rw">
  7163. <bits access="rw" name="te_count1" pos="28:0" rst="0x0">
  7164. <comment>count hsync after vsync have been detected.</comment>
  7165. </bits>
  7166. </reg>
  7167. <hole size="2*32"/>
  7168. <reg name="dct_shiftr_y_reg0" protect="rw">
  7169. <bits access="rw" name="counter_en" pos="31" rst="0x0">
  7170. <comment>Use to delay between rgb data over and fetch the next frame data.</comment>
  7171. </bits>
  7172. <bits access="rw" name="delay_counter" pos="23:0" rst="0x0">
  7173. <comment>.count by hclk</comment>
  7174. </bits>
  7175. </reg>
  7176. <reg name="gamma_r_coef" protect="w">
  7177. <bits access="w" name="gamma_r_a" pos="7:0" rst="0x0">
  7178. <comment>address</comment>
  7179. </bits>
  7180. <bits access="w" name="gamma_r_d" pos="15:8" rst="0x0">
  7181. <comment>data will be write to address</comment>
  7182. </bits>
  7183. </reg>
  7184. <reg name="gamma_g_coef" protect="w">
  7185. <bits access="w" name="gamma_g_a" pos="7:0" rst="0x0">
  7186. <comment>address</comment>
  7187. </bits>
  7188. <bits access="w" name="gamma_g_d" pos="15:8" rst="0x0">
  7189. <comment>data will be write to address</comment>
  7190. </bits>
  7191. </reg>
  7192. <reg name="gamma_b_coef" protect="w">
  7193. <bits access="w" name="gamma_b_a" pos="7:0" rst="0x0">
  7194. <comment>address</comment>
  7195. </bits>
  7196. <bits access="w" name="gamma_b_d" pos="15:8" rst="0x0">
  7197. <comment>data will be write to address</comment>
  7198. </bits>
  7199. </reg>
  7200. <hole size="216*32"/>
  7201. <reg name="dsi_power_up" protect="rw">
  7202. <bits access="rw" name="dsipll_pu" pos="1" rst="0x0">
  7203. <comment>Dsi pll power up</comment>
  7204. </bits>
  7205. <bits access="rw" name="pu_dsi" pos="0" rst="0x0">
  7206. <comment>Power up dsi</comment>
  7207. </bits>
  7208. </reg>
  7209. <reg name="dsi_enable" protect="rw">
  7210. <bits access="rw" name="dsi_enable_reg" pos="0" rst="0x0">
  7211. <comment>Enable digital dsi</comment>
  7212. </bits>
  7213. <bits access="rw" name="dsi_lprx_lpcd_enable" pos="1" rst="0x0">
  7214. <comment/>
  7215. </bits>
  7216. </reg>
  7217. <reg name="dsi_lane_config" protect="rw">
  7218. <bits access="rw" name="video_packet_hd_dr" pos="2" rst="0x0">
  7219. <comment>1'b1: use the config register value 1'b0: use the compute value of controller</comment>
  7220. </bits>
  7221. <bits access="rw" name="dsi_config_reg" pos="1:0" rst="0x0">
  7222. <comment>2'b00: x1 2'b01: x2 2'b10: x4 2'b11: hz</comment>
  7223. </bits>
  7224. </reg>
  7225. <reg name="dsi_pixel_num" protect="rw">
  7226. <bits access="rw" name="pixel_num_reg" pos="15:0" rst="0x0">
  7227. <comment/>
  7228. </bits>
  7229. </reg>
  7230. <reg name="dsi_pixel_type" protect="rw">
  7231. <bits access="rw" name="rgb_quad_en_reg" pos="3" rst="0x0">
  7232. <comment/>
  7233. </bits>
  7234. <bits access="rw" name="pixel_type_reg" pos="2:0" rst="0x0">
  7235. <comment/>
  7236. </bits>
  7237. </reg>
  7238. <reg name="dsi_tx_mode" protect="rw">
  7239. <bits access="rw" name="dsi_tx_mode_reg" pos="1:0" rst="0x0">
  7240. <comment/>
  7241. </bits>
  7242. </reg>
  7243. <reg name="dsi_vcid_bllp" protect="rw">
  7244. <bits access="rw" name="bllp_enable_per_l_reg" pos="2" rst="0x1">
  7245. <comment/>
  7246. </bits>
  7247. <bits access="rw" name="vci_reg" pos="1:0" rst="0x0">
  7248. <comment/>
  7249. </bits>
  7250. </reg>
  7251. <reg name="dsi_line_byte_num" protect="rw">
  7252. <bits access="rw" name="v2c_switch_start" pos="1" rst="0x0">
  7253. <comment/>
  7254. </bits>
  7255. <bits access="rw" name="frame_idle_en" pos="0" rst="0x0">
  7256. <comment/>
  7257. </bits>
  7258. </reg>
  7259. <reg name="dsi_hsa_num" protect="rw">
  7260. <bits access="rw" name="hsa_num_reg" pos="15:0" rst="0x0">
  7261. <comment/>
  7262. </bits>
  7263. </reg>
  7264. <reg name="dsi_hbp_num" protect="rw">
  7265. <bits access="rw" name="hbp_num_reg" pos="15:0" rst="0x0">
  7266. <comment/>
  7267. </bits>
  7268. </reg>
  7269. <reg name="dsi_hfp_num" protect="rw">
  7270. <bits access="rw" name="hfp_num_reg" pos="15:0" rst="0x0">
  7271. <comment/>
  7272. </bits>
  7273. </reg>
  7274. <reg name="dsi_hact_num" protect="rw">
  7275. <bits access="rw" name="rgb_num_reg" pos="15:0" rst="0x0">
  7276. <comment/>
  7277. </bits>
  7278. </reg>
  7279. <reg name="dsi_vsa_line_num" protect="rw">
  7280. <bits access="rw" name="vsa_line_reg" pos="15:0" rst="0x0">
  7281. <comment/>
  7282. </bits>
  7283. </reg>
  7284. <reg name="dsi_vbp_line_num" protect="rw">
  7285. <bits access="rw" name="vbp_line_reg" pos="15:0" rst="0x0">
  7286. <comment/>
  7287. </bits>
  7288. </reg>
  7289. <reg name="dsi_vfp_line_num" protect="rw">
  7290. <bits access="rw" name="vfp_line_reg" pos="15:0" rst="0x0">
  7291. <comment/>
  7292. </bits>
  7293. </reg>
  7294. <reg name="dsi_vact_line_num" protect="rw">
  7295. <bits access="rw" name="vat_line_reg" pos="15:0" rst="0x0">
  7296. <comment/>
  7297. </bits>
  7298. </reg>
  7299. <reg name="dsi_cmd_num" protect="rw">
  7300. <bits access="rw" name="dsi_cmd_num_reg" pos="4:0" rst="0x0">
  7301. <comment/>
  7302. </bits>
  7303. </reg>
  7304. <reg name="dsi_cq_ctrl" protect="rw">
  7305. <bits access="rw" name="dsi_cmd_merge_en_reg" pos="1" rst="0x0">
  7306. <comment/>
  7307. </bits>
  7308. <bits access="rw" name="dsi_cmd_start" pos="0" rst="0x0">
  7309. <comment/>
  7310. </bits>
  7311. </reg>
  7312. <reg name="dsi_int_clear" protect="wo">
  7313. <bits access="wo" name="sleepout_done" pos="10" rst="0">
  7314. <comment>write '1' to clear sleep out done interrupt</comment>
  7315. </bits>
  7316. <bits access="wo" name="frame_done" pos="9" rst="0">
  7317. <comment>write '1' to clear frame done interrupt</comment>
  7318. </bits>
  7319. <bits access="wo" name="rx_te_ready" pos="8" rst="0">
  7320. <comment>write '1' to clear rx te(tearing effect) interrupt</comment>
  7321. </bits>
  7322. <bits access="wo" name="fifo_half" pos="7" rst="0">
  7323. <comment>write '1' to clear rx fifo half full interrupt</comment>
  7324. </bits>
  7325. <bits access="wo" name="fifo_ovfl" pos="6" rst="0">
  7326. <comment>write '1' to clear rx fifo overflow interrupt</comment>
  7327. </bits>
  7328. <bits access="wo" name="cmd_q_end" pos="5" rst="0">
  7329. <comment>write '1' to clear command queue tx end interrupt</comment>
  7330. </bits>
  7331. <bits access="wo" name="rx_data_end" pos="4" rst="0">
  7332. <comment>write '1' to clear rx data end interrupt</comment>
  7333. </bits>
  7334. <bits access="wo" name="rx_crc_err" pos="3" rst="0">
  7335. <comment>write '1' to clear rx crc error interrupt</comment>
  7336. </bits>
  7337. <bits access="wo" name="rx_ecc_err" pos="2" rst="0">
  7338. <comment>write '1' to clear rx ecc error interrupt</comment>
  7339. </bits>
  7340. <bits access="wo" name="rx_bta_timeout" pos="1" rst="0">
  7341. <comment>write '1' to clear rx bta timeout interrupt</comment>
  7342. </bits>
  7343. <bits access="wo" name="cd_err" pos="0" rst="0">
  7344. <comment>write '1' to clear contention detect interrupt</comment>
  7345. </bits>
  7346. </reg>
  7347. <reg name="dsi_int_mask" protect="rw">
  7348. <bits access="rw" name="sleepout_done" pos="10" rst="0">
  7349. <comment>sleep out done en</comment>
  7350. </bits>
  7351. <bits access="rw" name="frame_done" pos="9" rst="0">
  7352. <comment>frame done en</comment>
  7353. </bits>
  7354. <bits access="rw" name="rx_te_ready" pos="8" rst="0">
  7355. <comment>rx te(tearing effect) en</comment>
  7356. </bits>
  7357. <bits access="rw" name="fifo_half" pos="7" rst="0">
  7358. <comment>rx fifo half full en</comment>
  7359. </bits>
  7360. <bits access="rw" name="fifo_ovfl" pos="6" rst="0">
  7361. <comment>rx fifo overflow en</comment>
  7362. </bits>
  7363. <bits access="rw" name="cmd_q_end" pos="5" rst="0">
  7364. <comment>command queue tx end en</comment>
  7365. </bits>
  7366. <bits access="rw" name="rx_data_end" pos="4" rst="0">
  7367. <comment>rx data end en</comment>
  7368. </bits>
  7369. <bits access="rw" name="rx_crc_err" pos="3" rst="0">
  7370. <comment>rx crc error en</comment>
  7371. </bits>
  7372. <bits access="rw" name="rx_ecc_err" pos="2" rst="0">
  7373. <comment>rx ecc error en</comment>
  7374. </bits>
  7375. <bits access="rw" name="rx_bta_timeout" pos="1" rst="0">
  7376. <comment>rx bta timeout en</comment>
  7377. </bits>
  7378. <bits access="rw" name="cd_err" pos="0" rst="0">
  7379. <comment>contention detect error en</comment>
  7380. </bits>
  7381. </reg>
  7382. <reg name="dsi_fifo_set" protect="rw">
  7383. <bits access="rw" name="rx_ph_clr_reg" pos="3" rst="0x0">
  7384. <comment>clear the packet header stored in registers from lcd. auto-clear</comment>
  7385. </bits>
  7386. <bits access="rw" name="lpk_mem_rst_reg" pos="2" rst="0x0">
  7387. <comment>Reset the read pointer of queue which store the long packet payload</comment>
  7388. </bits>
  7389. <bits access="rw" name="fifo_set_reg " pos="1" rst="0x0">
  7390. <comment>Reset the write index of fifo which store the data read from lcd</comment>
  7391. </bits>
  7392. <bits access="rw" name="fifo_read_set_reg " pos="0" rst="0x0">
  7393. <comment>Reset the read index of fifo which store the data read from lcd</comment>
  7394. </bits>
  7395. </reg>
  7396. <reg name="dsi_irq_status" protect="ro">
  7397. <bits access="ro" name="fifo_empty" pos="11" rst="1">
  7398. <comment>rx fifo empty flag</comment>
  7399. </bits>
  7400. <bits access="ro" name="sleepout_done" pos="10" rst="0">
  7401. <comment>sleep out done flag</comment>
  7402. </bits>
  7403. <bits access="ro" name="frame_done" pos="9" rst="0">
  7404. <comment>frame done flag</comment>
  7405. </bits>
  7406. <bits access="ro" name="rx_te_ready" pos="8" rst="0">
  7407. <comment>rx te(tearing effect) flag</comment>
  7408. </bits>
  7409. <bits access="ro" name="fifo_half" pos="7" rst="0">
  7410. <comment>rx fifo half full flag</comment>
  7411. </bits>
  7412. <bits access="ro" name="fifo_ovfl" pos="6" rst="0">
  7413. <comment>rx fifo overflow flag</comment>
  7414. </bits>
  7415. <bits access="ro" name="cmd_q_end" pos="5" rst="0">
  7416. <comment>command queue tx end flag</comment>
  7417. </bits>
  7418. <bits access="ro" name="rx_data_end" pos="4" rst="0">
  7419. <comment>rx data end flag</comment>
  7420. </bits>
  7421. <bits access="ro" name="rx_crc_err" pos="3" rst="0">
  7422. <comment>rx crc error flag</comment>
  7423. </bits>
  7424. <bits access="ro" name="rx_ecc_err" pos="2" rst="0">
  7425. <comment>rx ecc error flag</comment>
  7426. </bits>
  7427. <bits access="ro" name="rx_bta_timeout" pos="1" rst="0">
  7428. <comment>rx bta timeout flag</comment>
  7429. </bits>
  7430. <bits access="ro" name="cd_err" pos="0" rst="0">
  7431. <comment>contention detect error flag</comment>
  7432. </bits>
  7433. </reg>
  7434. <reg name="dsi_irq_cause" protect="ro">
  7435. <bits access="ro" name="sleepout_done" pos="10" rst="0">
  7436. <comment>sleep out done cause</comment>
  7437. </bits>
  7438. <bits access="ro" name="frame_done" pos="9" rst="0">
  7439. <comment>frame done cause</comment>
  7440. </bits>
  7441. <bits access="ro" name="rx_te_ready" pos="8" rst="0">
  7442. <comment>rx te(tearing effect) cause</comment>
  7443. </bits>
  7444. <bits access="ro" name="fifo_half" pos="7" rst="0">
  7445. <comment>rx fifo half full cause</comment>
  7446. </bits>
  7447. <bits access="ro" name="fifo_ovfl" pos="6" rst="0">
  7448. <comment>rx fifo overflow cause</comment>
  7449. </bits>
  7450. <bits access="ro" name="cmd_q_end" pos="5" rst="0">
  7451. <comment>command queue tx end cause</comment>
  7452. </bits>
  7453. <bits access="ro" name="rx_data_end" pos="4" rst="0">
  7454. <comment>rx data end cause</comment>
  7455. </bits>
  7456. <bits access="ro" name="rx_crc_err" pos="3" rst="0">
  7457. <comment>rx crc error cause</comment>
  7458. </bits>
  7459. <bits access="ro" name="rx_ecc_err" pos="2" rst="0">
  7460. <comment>rx ecc error cause</comment>
  7461. </bits>
  7462. <bits access="ro" name="rx_bta_timeout" pos="1" rst="0">
  7463. <comment>rx bta timeout cause</comment>
  7464. </bits>
  7465. <bits access="ro" name="cd_err" pos="0" rst="0">
  7466. <comment>contention detect error cause</comment>
  7467. </bits>
  7468. </reg>
  7469. <reg name="dsi_rx_payload" protect="ro">
  7470. <bits access="ro" name="rx_payload_03" pos="31:0" rst="0x0">
  7471. <comment>
  7472. receive payload byte0~3 of long packet from lcd
  7473. <br/>
  7474. [31:24]: byte3
  7475. <br/>
  7476. [23:16]: byte2
  7477. <br/>
  7478. [15:8]: byte1
  7479. <br/>
  7480. [7:0]: byte0
  7481. </comment>
  7482. </bits>
  7483. </reg>
  7484. <reg name="dsi_esc_pause_num" protect="rw">
  7485. <bits access="rw" name="esc_pause_num_reg" pos="3:0" rst="0x0">
  7486. <comment/>
  7487. </bits>
  7488. </reg>
  7489. <reg name="dsi_lptx_ratio" protect="rw">
  7490. <bits access="rw" name="phy_lp_tx_rate_reg" pos="15:0" rst="0x0">
  7491. <comment/>
  7492. </bits>
  7493. </reg>
  7494. <reg name="dsi_dsi_sel" protect="rw">
  7495. <bits access="rw" name="mipi_dsi_sel_reg" pos="5:0" rst="0x0">
  7496. <comment/>
  7497. </bits>
  7498. </reg>
  7499. <reg name="dsi_bllp_num" protect="rw">
  7500. <bits access="rw" name="blp_num_reg" pos="5:0" rst="0x0">
  7501. <comment/>
  7502. </bits>
  7503. </reg>
  7504. <reg name="dsi_hsa_hd_num" protect="rw">
  7505. <bits access="rw" name="hsa_hd_num_reg" pos="15:0" rst="0x0">
  7506. <comment/>
  7507. </bits>
  7508. </reg>
  7509. <reg name="dsi_hbp_hd_num" protect="rw">
  7510. <bits access="rw" name="hbp_hd_num_reg" pos="15:0" rst="0x0">
  7511. <comment/>
  7512. </bits>
  7513. </reg>
  7514. <reg name="dsi_hfp_hd_num" protect="rw">
  7515. <bits access="rw" name="hfp_hd_num_reg" pos="15:0" rst="0x0">
  7516. <comment/>
  7517. </bits>
  7518. </reg>
  7519. <reg name="dsi_hact_hd_num" protect="rw">
  7520. <bits access="rw" name="rgb_hd_num_reg" pos="15:0" rst="0x0">
  7521. <comment/>
  7522. </bits>
  7523. </reg>
  7524. <reg name="dsi_clk_state_ad_num" protect="rw">
  7525. <bits access="rw" name="clk_state_ad_num_reg" pos="15:0" rst="0x10">
  7526. <comment/>
  7527. </bits>
  7528. </reg>
  7529. <reg name="dsi_t_clk_zero" protect="rw">
  7530. <bits access="rw" name="clk_hd_zero_num_reg" pos="15:0" rst="0x9">
  7531. <comment/>
  7532. </bits>
  7533. </reg>
  7534. <reg name="dsi_rx_fifo_cnt" protect="r">
  7535. <bits access="r" name="rx_fifo_cnt" pos="8:0" rst="0x0">
  7536. <comment>
  7537. receive payload of long packet from lcd stored in the FIFO.
  7538. <br/>
  7539. The value indicates the word count of FIFO.
  7540. </comment>
  7541. </bits>
  7542. </reg>
  7543. <hole size="29*32"/>
  7544. <reg name="dsi_hs_mode_ctrl" protect="rw">
  7545. <bits access="rw" name="hs_clk_always_reg" pos="1" rst="0x0">
  7546. <comment/>
  7547. </bits>
  7548. <bits access="rw" name="hs_mode_reg" pos="0" rst="0x0">
  7549. <comment/>
  7550. </bits>
  7551. </reg>
  7552. <reg name="dsi_swap_control" protect="rw">
  7553. <bits access="rw" name="sync_word_swap_reg" pos="1" rst="0x0">
  7554. <comment/>
  7555. </bits>
  7556. <bits access="rw" name="data_swap_reg" pos="0" rst="0x0">
  7557. <comment/>
  7558. </bits>
  7559. </reg>
  7560. <reg name="dsi_t_lp00" protect="rw">
  7561. <bits access="rw" name="t_lp_00_reg" pos="15:0" rst="0x0">
  7562. <comment/>
  7563. </bits>
  7564. </reg>
  7565. <reg name="dsi_t_lp01" protect="rw">
  7566. <bits access="rw" name="t_lp_01_reg" pos="15:0" rst="0x0">
  7567. <comment/>
  7568. </bits>
  7569. </reg>
  7570. <reg name="dsi_t_lp10" protect="rw">
  7571. <bits access="rw" name="t_lp_10_reg" pos="15:0" rst="0x0">
  7572. <comment/>
  7573. </bits>
  7574. </reg>
  7575. <reg name="dsi_t_lp11" protect="rw">
  7576. <bits access="rw" name="t_lp_11_reg" pos="15:0" rst="0x0">
  7577. <comment/>
  7578. </bits>
  7579. </reg>
  7580. <reg name="dsi_t_hs_zero" protect="rw">
  7581. <bits access="rw" name="t_zero_reg" pos="15:0" rst="0x0">
  7582. <comment/>
  7583. </bits>
  7584. </reg>
  7585. <reg name="dsi_t_hs_sync" protect="rw">
  7586. <bits access="rw" name="t_sync_reg" pos="15:0" rst="0x0">
  7587. <comment/>
  7588. </bits>
  7589. </reg>
  7590. <reg name="dsi_t_hs_trail" protect="rw">
  7591. <bits access="rw" name="t_eot_reg" pos="15:0" rst="0x0">
  7592. <comment/>
  7593. </bits>
  7594. </reg>
  7595. <reg name="dsi_t_clk_lp00" protect="rw">
  7596. <bits access="rw" name="clk_lp_00_reg" pos="15:0" rst="0x0">
  7597. <comment/>
  7598. </bits>
  7599. </reg>
  7600. <reg name="dsi_t_clk_lp01" protect="rw">
  7601. <bits access="rw" name="clk_lp_01_reg" pos="15:0" rst="0x0">
  7602. <comment/>
  7603. </bits>
  7604. </reg>
  7605. <reg name="dsi_ulps_wakeup" protect="rw">
  7606. <bits access="rw" name="t_ulps_wakeup" pos="19:0" rst="0x1ffff">
  7607. <comment/>
  7608. </bits>
  7609. </reg>
  7610. <reg name="dsi_t_clk_eot" protect="rw">
  7611. <bits access="rw" name="clk_eot_reg" pos="15:0" rst="0x0">
  7612. <comment/>
  7613. </bits>
  7614. </reg>
  7615. <reg name="dsi_t_bta_lpx" protect="rw">
  7616. <bits access="rw" name="t_bta_lpx_reg" pos="15:0" rst="0x0">
  7617. <comment/>
  7618. </bits>
  7619. </reg>
  7620. <reg name="dsi_t_bta_go" protect="rw">
  7621. <bits access="rw" name="t_bta_cd_reg" pos="15:0" rst="0x0">
  7622. <comment/>
  7623. </bits>
  7624. </reg>
  7625. <reg name="dsi_t_bta_00" protect="rw">
  7626. <bits access="rw" name="t_bta_00_reg" pos="15:0" rst="0x0">
  7627. <comment/>
  7628. </bits>
  7629. </reg>
  7630. <reg name="dsi_t_bta_timeout" protect="rw">
  7631. <bits access="rw" name="t_bta_timeout_reg" pos="15:0" rst="0xffff">
  7632. <comment/>
  7633. </bits>
  7634. </reg>
  7635. <reg name="dsi_t_phy_ctrl" protect="rw">
  7636. <bits access="rw" name="hz_bit_dr" pos="14:10" rst="0x0">
  7637. <comment/>
  7638. </bits>
  7639. <bits access="rw" name="hz_bit_reg" pos="9:5" rst="0x0">
  7640. <comment/>
  7641. </bits>
  7642. <bits access="rw" name="vreg_bit" pos="4:3" rst="0x0">
  7643. <comment/>
  7644. </bits>
  7645. <bits access="rw" name="phase_selg" pos="2:0" rst="0x0">
  7646. <comment/>
  7647. </bits>
  7648. </reg>
  7649. <reg name="dsi_t_ulps_ana_ctrl" protect="rw">
  7650. <bits access="rw" name="cd_bit" pos="7:6" rst="0x2">
  7651. <comment/>
  7652. </bits>
  7653. <bits access="rw" name="rx_bit" pos="5:4" rst="0x2">
  7654. <comment/>
  7655. </bits>
  7656. <bits access="rw" name="trig_en" pos="2" rst="0x0">
  7657. <comment/>
  7658. </bits>
  7659. <bits access="rw" name="wakeup_en" pos="1" rst="0x0">
  7660. <comment/>
  7661. </bits>
  7662. <bits access="rw" name="ulps_enable" pos="0" rst="0x0">
  7663. <comment/>
  7664. </bits>
  7665. </reg>
  7666. <reg name="dsi_t_bta_sure" protect="rw">
  7667. <bits access="rw" name="t_rx_bta_cd_reg" pos="15:0" rst="0x0">
  7668. <comment/>
  7669. </bits>
  7670. </reg>
  7671. <reg name="dsi_t_clk_post" protect="rw">
  7672. <bits access="rw" name="clk_post_reg" pos="15:0" rst="0x0">
  7673. <comment/>
  7674. </bits>
  7675. </reg>
  7676. <reg name="dsi_cd_err_num" protect="rw">
  7677. <bits access="rw" name="cd_err_num" pos="3:0" rst="0x8">
  7678. <comment>The value is to count the time that lprx0 and lpcd0 are not equal.</comment>
  7679. </bits>
  7680. </reg>
  7681. <hole size="2*32"/>
  7682. <reg name="dsi_phy_reg" protect="rw">
  7683. <bits access="rw" name="clk_band" pos="3:0" rst="0x1">
  7684. <comment/>
  7685. </bits>
  7686. <bits access="rw" name="phase_sel" pos="6:4" rst="0x4">
  7687. <comment/>
  7688. </bits>
  7689. <bits access="rw" name="rx_bit" pos="9:8" rst="0x2">
  7690. <comment/>
  7691. </bits>
  7692. <bits access="rw" name="cd_bit" pos="11:10" rst="0x2">
  7693. <comment/>
  7694. </bits>
  7695. <bits access="rw" name="clk_enable" pos="12" rst="0x1">
  7696. <comment/>
  7697. </bits>
  7698. <bits access="rw" name="ck2lane_edge_sel" pos="13" rst="0x0">
  7699. <comment/>
  7700. </bits>
  7701. <bits access="rw" name="ck2dig_edge_sel" pos="14" rst="0x0">
  7702. <comment/>
  7703. </bits>
  7704. <bits access="rw" name="clk_dly_sel" pos="19:16" rst="0x0">
  7705. <comment/>
  7706. </bits>
  7707. <bits access="rw" name="drv_sel" pos="21:20" rst="0x0">
  7708. <comment/>
  7709. </bits>
  7710. <bits access="rw" name="lp_ldo_bit" pos="23:22" rst="0x2">
  7711. <comment/>
  7712. </bits>
  7713. <bits access="rw" name="hs_ldo_bit" pos="25:24" rst="0x2">
  7714. <comment/>
  7715. </bits>
  7716. <bits access="rw" name="clk_pu_hsldo" pos="26" rst="0x1">
  7717. <comment/>
  7718. </bits>
  7719. <bits access="rw" name="d1_pu_hsldo" pos="27" rst="0x1">
  7720. <comment/>
  7721. </bits>
  7722. <bits access="rw" name="d0_pu_hsldo" pos="28" rst="0x1">
  7723. <comment/>
  7724. </bits>
  7725. </reg>
  7726. <reg name="dsi_pll_reg" protect="rw">
  7727. <bits access="rw" name="pll_cpr2_bit" pos="2:0" rst="0x4">
  7728. <comment/>
  7729. </bits>
  7730. <bits access="rw" name="pll_cpc2_ibit" pos="6:4" rst="0x4">
  7731. <comment/>
  7732. </bits>
  7733. <bits access="rw" name="pll_cpbias_ibit" pos="10:8" rst="0x4">
  7734. <comment/>
  7735. </bits>
  7736. <bits access="rw" name="reg_res_bit" pos="13:12" rst="0x2">
  7737. <comment/>
  7738. </bits>
  7739. <bits access="rw" name="pll_vreg_bit" pos="19:16" rst="0x8">
  7740. <comment/>
  7741. </bits>
  7742. <bits access="rw" name="vco_low_test" pos="20" rst="0x0">
  7743. <comment/>
  7744. </bits>
  7745. <bits access="rw" name="vco_high_test" pos="21" rst="0x0">
  7746. <comment/>
  7747. </bits>
  7748. <bits access="rw" name="pll_test_en" pos="22" rst="0x0">
  7749. <comment/>
  7750. </bits>
  7751. <bits access="rw" name="pll_refmulti2_en" pos="23" rst="0x1">
  7752. <comment/>
  7753. </bits>
  7754. <bits access="rw" name="sdm_clk_test_en" pos="24" rst="0x0">
  7755. <comment/>
  7756. </bits>
  7757. <bits access="rw" name="pcon_mode" pos="25" rst="0x0">
  7758. <comment/>
  7759. </bits>
  7760. </reg>
  7761. <hole size="2*32"/>
  7762. <reg name="dsi_misc_ctrl" protect="rw">
  7763. <bits access="rw" name="tx_lp_cmd_dr" pos="12" rst="0x0">
  7764. <comment/>
  7765. </bits>
  7766. <bits access="rw" name="tx_lp_cmd_reg" pos="11:4" rst="0x0">
  7767. <comment/>
  7768. </bits>
  7769. <bits access="rw" name="tx_lp_swap_reg" pos="3" rst="0x0">
  7770. <comment/>
  7771. </bits>
  7772. <bits access="rw" name="rx_lp_lp11_reg" pos="2" rst="0x0">
  7773. <comment/>
  7774. </bits>
  7775. <bits access="rw" name="frz_disable_reg" pos="1" rst="0x0">
  7776. <comment/>
  7777. </bits>
  7778. <bits access="rw" name="eot_tx_disable_reg" pos="0" rst="0x0">
  7779. <comment/>
  7780. </bits>
  7781. </reg>
  7782. <hole size="3*32"/>
  7783. <reg name="dsi_cmd_1_0_reg" protect="rw">
  7784. <bits access="rw" name="dsi_cmd_1_0_reg" pos="31:0" rst="0x0">
  7785. <comment>
  7786. config the transmission at cmd mode
  7787. <br/>
  7788. [31:24]: data byte 1 of command
  7789. <br/>
  7790. [23:16]: data byte 0 of command
  7791. <br/>
  7792. [15:8]: data ID of command
  7793. <br/>
  7794. [6:5]: cmd_type
  7795. <br/>
  7796. 2'b00,01: short packet
  7797. <br/>
  7798. 2'b10,11: long packet
  7799. <br/>
  7800. [3:2]: 2'b00,2'b01: cmd_ddr_enable
  7801. <br/>
  7802. enable to get long packet payload from ddr
  7803. <br/>
  7804. 2'b10: cmd_buf_enable
  7805. <br/>
  7806. enable to write frame buffer at cmd mode, only for high speed.
  7807. <br/>
  7808. 2'b11: cmd_reg_enable
  7809. <br/>
  7810. enable to get long packet payload from register
  7811. <br/>
  7812. bit1: cmd_hs_enable
  7813. <br/>
  7814. enable high-speed transmission
  7815. <br/>
  7816. bit0: cmd_bta_enable
  7817. <br/>
  7818. enable bta
  7819. </comment>
  7820. </bits>
  7821. </reg>
  7822. <reg name="dsi_cmd_1_1_reg" protect="rw">
  7823. <bits access="rw" name="dsi_cmd_1_1_reg" pos="31:0" rst="0x0">
  7824. <comment/>
  7825. </bits>
  7826. </reg>
  7827. <reg name="dsi_cmd_1_2_reg" protect="rw">
  7828. <bits access="rw" name="dsi_cmd_1_2_reg" pos="31:0" rst="0x0">
  7829. <comment/>
  7830. </bits>
  7831. </reg>
  7832. <reg name="dsi_cmd_1_3_reg" protect="rw">
  7833. <bits access="rw" name="dsi_cmd_1_3_reg" pos="31:0" rst="0x0">
  7834. <comment/>
  7835. </bits>
  7836. </reg>
  7837. <reg name="dsi_cmd_1_4_reg" protect="rw">
  7838. <bits access="rw" name="dsi_cmd_1_4_reg" pos="31:0" rst="0x0">
  7839. <comment/>
  7840. </bits>
  7841. </reg>
  7842. <reg name="dsi_cmd_1_5_reg" protect="rw">
  7843. <bits access="rw" name="dsi_cmd_1_5_reg" pos="31:0" rst="0x0">
  7844. <comment/>
  7845. </bits>
  7846. </reg>
  7847. <reg name="dsi_cmd_1_6_reg" protect="rw">
  7848. <bits access="rw" name="dsi_cmd_1_6_reg" pos="31:0" rst="0x0">
  7849. <comment/>
  7850. </bits>
  7851. </reg>
  7852. <reg name="dsi_cmd_1_7_reg" protect="rw">
  7853. <bits access="rw" name="dsi_cmd_1_7_reg" pos="31:0" rst="0x0">
  7854. <comment/>
  7855. </bits>
  7856. </reg>
  7857. <reg name="dsi_cmd_1_8_reg" protect="rw">
  7858. <bits access="rw" name="dsi_cmd_1_8_reg" pos="31:0" rst="0x0">
  7859. <comment/>
  7860. </bits>
  7861. </reg>
  7862. <reg name="dsi_cmd_1_9_reg" protect="rw">
  7863. <bits access="rw" name="dsi_cmd_1_9_reg" pos="31:0" rst="0x0">
  7864. <comment/>
  7865. </bits>
  7866. </reg>
  7867. <reg name="dsi_cmd_1_a_reg" protect="rw">
  7868. <bits access="rw" name="dsi_cmd_1_a_reg" pos="31:0" rst="0x0">
  7869. <comment/>
  7870. </bits>
  7871. </reg>
  7872. <reg name="dsi_cmd_1_b_reg" protect="rw">
  7873. <bits access="rw" name="dsi_cmd_1_b_reg" pos="31:0" rst="0x0">
  7874. <comment/>
  7875. </bits>
  7876. </reg>
  7877. <reg name="dsi_cmd_1_c_reg" protect="rw">
  7878. <bits access="rw" name="dsi_cmd_1_c_reg" pos="31:0" rst="0x0">
  7879. <comment/>
  7880. </bits>
  7881. </reg>
  7882. <reg name="dsi_cmd_1_d_reg" protect="rw">
  7883. <bits access="rw" name="dsi_cmd_1_d_reg" pos="31:0" rst="0x0">
  7884. <comment/>
  7885. </bits>
  7886. </reg>
  7887. <reg name="dsi_cmd_1_e_reg" protect="rw">
  7888. <bits access="rw" name="dsi_cmd_1_e_reg" pos="31:0" rst="0x0">
  7889. <comment/>
  7890. </bits>
  7891. </reg>
  7892. <reg name="dsi_cmd_1_f_reg" protect="rw">
  7893. <bits access="rw" name="dsi_cmd_1_f_reg" pos="31:0" rst="0x0">
  7894. <comment/>
  7895. </bits>
  7896. </reg>
  7897. <reg name="dsi_cmd_2_0_reg" protect="rw">
  7898. <bits access="rw" name="dsi_cmd_2_0_reg" pos="31:0" rst="0x0">
  7899. <comment>
  7900. config the transmission at cmd mode
  7901. <br/>
  7902. [31:24]: data byte 1 of command
  7903. <br/>
  7904. [23:16]: data byte 0 of command
  7905. <br/>
  7906. [15:8]: data ID of command
  7907. <br/>
  7908. [6:5]: cmd_type
  7909. <br/>
  7910. 2'b00,01: short packet
  7911. <br/>
  7912. 2'b10,11: long packet
  7913. <br/>
  7914. [3:2]: 2'b00,2'b01: cmd_ddr_enable
  7915. <br/>
  7916. enable to get long packet payload from ddr
  7917. <br/>
  7918. 2'b10: cmd_buf_enable
  7919. <br/>
  7920. enable to write frame buffer at cmd mode, only for high speed.
  7921. <br/>
  7922. 2'b11: cmd_reg_enable
  7923. <br/>
  7924. enable to get long packet payload from register
  7925. <br/>
  7926. bit1: cmd_hs_enable
  7927. <br/>
  7928. enable high-speed transmission
  7929. <br/>
  7930. bit0: cmd_bta_enable
  7931. <br/>
  7932. enable bta
  7933. </comment>
  7934. </bits>
  7935. </reg>
  7936. <reg name="dsi_cmd_2_1_reg" protect="rw">
  7937. <bits access="rw" name="dsi_cmd_2_1_reg" pos="31:0" rst="0x0">
  7938. <comment/>
  7939. </bits>
  7940. </reg>
  7941. <reg name="dsi_cmd_2_2_reg" protect="rw">
  7942. <bits access="rw" name="dsi_cmd_2_2_reg" pos="31:0" rst="0x0">
  7943. <comment/>
  7944. </bits>
  7945. </reg>
  7946. <reg name="dsi_cmd_2_3_reg" protect="rw">
  7947. <bits access="rw" name="dsi_cmd_2_3_reg" pos="31:0" rst="0x0">
  7948. <comment/>
  7949. </bits>
  7950. </reg>
  7951. <reg name="dsi_cmd_2_4_reg" protect="rw">
  7952. <bits access="rw" name="dsi_cmd_2_4_reg" pos="31:0" rst="0x0">
  7953. <comment/>
  7954. </bits>
  7955. </reg>
  7956. <reg name="dsi_cmd_2_5_reg" protect="rw">
  7957. <bits access="rw" name="dsi_cmd_2_5_reg" pos="31:0" rst="0x0">
  7958. <comment/>
  7959. </bits>
  7960. </reg>
  7961. <reg name="dsi_cmd_2_6_reg" protect="rw">
  7962. <bits access="rw" name="dsi_cmd_2_6_reg" pos="31:0" rst="0x0">
  7963. <comment/>
  7964. </bits>
  7965. </reg>
  7966. <reg name="dsi_cmd_2_7_reg" protect="rw">
  7967. <bits access="rw" name="dsi_cmd_2_7_reg" pos="31:0" rst="0x0">
  7968. <comment/>
  7969. </bits>
  7970. </reg>
  7971. <reg name="dsi_cmd_2_8_reg" protect="rw">
  7972. <bits access="rw" name="dsi_cmd_2_8_reg" pos="31:0" rst="0x0">
  7973. <comment/>
  7974. </bits>
  7975. </reg>
  7976. <reg name="dsi_cmd_2_9_reg" protect="rw">
  7977. <bits access="rw" name="dsi_cmd_2_9_reg" pos="31:0" rst="0x0">
  7978. <comment/>
  7979. </bits>
  7980. </reg>
  7981. <reg name="dsi_cmd_2_a_reg" protect="rw">
  7982. <bits access="rw" name="dsi_cmd_2_a_reg" pos="31:0" rst="0x0">
  7983. <comment/>
  7984. </bits>
  7985. </reg>
  7986. <reg name="dsi_cmd_2_b_reg" protect="rw">
  7987. <bits access="rw" name="dsi_cmd_2_b_reg" pos="31:0" rst="0x0">
  7988. <comment/>
  7989. </bits>
  7990. </reg>
  7991. <reg name="dsi_cmd_2_c_reg" protect="rw">
  7992. <bits access="rw" name="dsi_cmd_2_c_reg" pos="31:0" rst="0x0">
  7993. <comment/>
  7994. </bits>
  7995. </reg>
  7996. <reg name="dsi_cmd_2_d_reg" protect="rw">
  7997. <bits access="rw" name="dsi_cmd_2_d_reg" pos="31:0" rst="0x0">
  7998. <comment/>
  7999. </bits>
  8000. </reg>
  8001. <reg name="dsi_cmd_2_e_reg" protect="rw">
  8002. <bits access="rw" name="dsi_cmd_2_e_reg" pos="31:0" rst="0x0">
  8003. <comment/>
  8004. </bits>
  8005. </reg>
  8006. <reg name="dsi_cmd_2_f_reg" protect="rw">
  8007. <bits access="rw" name="dsi_cmd_2_f_reg" pos="31:0" rst="0x0">
  8008. <comment>
  8009. config the transmission at cmd mode
  8010. <br/>
  8011. [31:24]: data byte 1 of command
  8012. <br/>
  8013. [23:16]: data byte 0 of command
  8014. <br/>
  8015. [15:8]: data ID of command
  8016. <br/>
  8017. [6:5]: cmd_type
  8018. <br/>
  8019. 2'b00,01: short packet
  8020. <br/>
  8021. 2'b10,11: long packet
  8022. <br/>
  8023. [3:2]: 2'b00,2'b01: cmd_ddr_enable
  8024. <br/>
  8025. enable to get long packet payload from ddr
  8026. <br/>
  8027. 2'b10: cmd_buf_enable
  8028. <br/>
  8029. enable to write frame buffer at cmd mode, only for high speed.
  8030. <br/>
  8031. 2'b11: cmd_reg_enable
  8032. <br/>
  8033. enable to get long packet payload from register
  8034. <br/>
  8035. bit1: cmd_hs_enable
  8036. <br/>
  8037. enable high-speed transmission
  8038. <br/>
  8039. bit0: cmd_bta_enable
  8040. <br/>
  8041. enable bta
  8042. </comment>
  8043. </bits>
  8044. </reg>
  8045. <reg name="dsi_read_reg0" protect="r">
  8046. <bits access="r" name="read_lcd0" pos="31:0" rst="0x0">
  8047. <comment>
  8048. read from lcd corresponding cmd queue index
  8049. <br/>
  8050. [7:0]:DI
  8051. <br/>
  8052. [15:8]: SP data0 or LP WC LS BYTE
  8053. <br/>
  8054. [23:16]: SP data1 or LP WC MS BYTE
  8055. <br/>
  8056. [24]: ack response
  8057. <br/>
  8058. [25]: te response
  8059. <br/>
  8060. [26]: lpdt response
  8061. <br/>
  8062. [27]: ECC error flag
  8063. <br/>
  8064. [28]: LP CRC error flag
  8065. <br/>
  8066. [29]: Acknowledge and Error Report flag
  8067. </comment>
  8068. </bits>
  8069. </reg>
  8070. <reg name="dsi_read_reg1" protect="r">
  8071. <bits access="r" name="read_lcd1" pos="31:0" rst="0x0">
  8072. <comment/>
  8073. </bits>
  8074. </reg>
  8075. <reg name="dsi_read_reg2" protect="r">
  8076. <bits access="r" name="read_lcd2" pos="31:0" rst="0x0">
  8077. <comment/>
  8078. </bits>
  8079. </reg>
  8080. <reg name="dsi_read_reg3" protect="r">
  8081. <bits access="r" name="read_lcd3" pos="31:0" rst="0x0">
  8082. <comment/>
  8083. </bits>
  8084. </reg>
  8085. <reg name="dsi_read_reg4" protect="r">
  8086. <bits access="r" name="read_lcd4" pos="31:0" rst="0x0">
  8087. <comment/>
  8088. </bits>
  8089. </reg>
  8090. <reg name="dsi_read_reg5" protect="r">
  8091. <bits access="r" name="read_lcd5" pos="31:0" rst="0x0">
  8092. <comment/>
  8093. </bits>
  8094. </reg>
  8095. <reg name="dsi_read_reg6" protect="r">
  8096. <bits access="r" name="read_lcd6" pos="31:0" rst="0x0">
  8097. <comment/>
  8098. </bits>
  8099. </reg>
  8100. <reg name="dsi_read_reg7" protect="r">
  8101. <bits access="r" name="read_lcd7" pos="31:0" rst="0x0">
  8102. <comment/>
  8103. </bits>
  8104. </reg>
  8105. <reg name="dsi_read_reg8" protect="r">
  8106. <bits access="r" name="read_lcd8" pos="31:0" rst="0x0">
  8107. <comment/>
  8108. </bits>
  8109. </reg>
  8110. <reg name="dsi_read_reg9" protect="r">
  8111. <bits access="r" name="read_lcd9" pos="31:0" rst="0x0">
  8112. <comment/>
  8113. </bits>
  8114. </reg>
  8115. <reg name="dsi_read_reg10" protect="r">
  8116. <bits access="r" name="read_lcd10" pos="31:0" rst="0x0">
  8117. <comment/>
  8118. </bits>
  8119. </reg>
  8120. <reg name="dsi_read_reg11" protect="r">
  8121. <bits access="r" name="read_lcd11" pos="31:0" rst="0x0">
  8122. <comment/>
  8123. </bits>
  8124. </reg>
  8125. <reg name="dsi_read_reg12" protect="r">
  8126. <bits access="r" name="read_lcd12" pos="31:0" rst="0x0">
  8127. <comment/>
  8128. </bits>
  8129. </reg>
  8130. <reg name="dsi_read_reg13" protect="r">
  8131. <bits access="r" name="read_lcd13" pos="31:0" rst="0x0">
  8132. <comment/>
  8133. </bits>
  8134. </reg>
  8135. <reg name="dsi_read_reg14" protect="r">
  8136. <bits access="r" name="read_lcd14" pos="31:0" rst="0x0">
  8137. <comment/>
  8138. </bits>
  8139. </reg>
  8140. <reg name="dsi_read_reg15" protect="r">
  8141. <bits access="r" name="read_lcd15" pos="31:0" rst="0x0">
  8142. <comment/>
  8143. </bits>
  8144. </reg>
  8145. <reg name="dsi_read_reg16" protect="r">
  8146. <bits access="r" name="read_lcd16" pos="31:0" rst="0x0">
  8147. <comment/>
  8148. </bits>
  8149. </reg>
  8150. <reg name="dsi_read_reg17" protect="r">
  8151. <bits access="r" name="read_lcd17" pos="31:0" rst="0x0">
  8152. <comment/>
  8153. </bits>
  8154. </reg>
  8155. <reg name="dsi_read_reg18" protect="r">
  8156. <bits access="r" name="read_lcd18" pos="31:0" rst="0x0">
  8157. <comment/>
  8158. </bits>
  8159. </reg>
  8160. <reg name="dsi_read_reg19" protect="r">
  8161. <bits access="r" name="read_lcd19" pos="31:0" rst="0x0">
  8162. <comment/>
  8163. </bits>
  8164. </reg>
  8165. <reg name="dsi_read_reg20" protect="r">
  8166. <bits access="r" name="read_lcd20" pos="31:0" rst="0x0">
  8167. <comment/>
  8168. </bits>
  8169. </reg>
  8170. <reg name="dsi_read_reg21" protect="r">
  8171. <bits access="r" name="read_lcd21" pos="31:0" rst="0x0">
  8172. <comment/>
  8173. </bits>
  8174. </reg>
  8175. <reg name="dsi_read_reg22" protect="r">
  8176. <bits access="r" name="read_lcd22" pos="31:0" rst="0x0">
  8177. <comment/>
  8178. </bits>
  8179. </reg>
  8180. <reg name="dsi_read_reg23" protect="r">
  8181. <bits access="r" name="read_lcd23" pos="31:0" rst="0x0">
  8182. <comment/>
  8183. </bits>
  8184. </reg>
  8185. <reg name="dsi_read_reg24" protect="r">
  8186. <bits access="r" name="read_lcd24" pos="31:0" rst="0x0">
  8187. <comment/>
  8188. </bits>
  8189. </reg>
  8190. <reg name="dsi_read_reg25" protect="r">
  8191. <bits access="r" name="read_lcd25" pos="31:0" rst="0x0">
  8192. <comment/>
  8193. </bits>
  8194. </reg>
  8195. <reg name="dsi_read_reg26" protect="r">
  8196. <bits access="r" name="read_lcd26" pos="31:0" rst="0x0">
  8197. <comment/>
  8198. </bits>
  8199. </reg>
  8200. <reg name="dsi_read_reg27" protect="r">
  8201. <bits access="r" name="read_lcd27" pos="31:0" rst="0x0">
  8202. <comment/>
  8203. </bits>
  8204. </reg>
  8205. <reg name="dsi_read_reg28" protect="r">
  8206. <bits access="r" name="read_lcd28" pos="31:0" rst="0x0">
  8207. <comment/>
  8208. </bits>
  8209. </reg>
  8210. <reg name="dsi_read_reg29" protect="r">
  8211. <bits access="r" name="read_lcd29" pos="31:0" rst="0x0">
  8212. <comment/>
  8213. </bits>
  8214. </reg>
  8215. <reg name="dsi_read_reg30" protect="r">
  8216. <bits access="r" name="read_lcd30" pos="31:0" rst="0x0">
  8217. <comment/>
  8218. </bits>
  8219. </reg>
  8220. <reg name="dsi_read_reg31" protect="r">
  8221. <bits access="r" name="read_lcd31" pos="31:0" rst="0x0">
  8222. <comment>
  8223. read from lcd corresponding cmd queue index
  8224. <br/>
  8225. [7:0]:DI
  8226. <br/>
  8227. [15:8]: SP data0 or LP WC LS BYTE
  8228. <br/>
  8229. [23:16]: SP data1 or LP WC MS BYTE
  8230. <br/>
  8231. [24]: ack response
  8232. <br/>
  8233. [25]: te response
  8234. <br/>
  8235. [26]: lpdt response
  8236. <br/>
  8237. [27]: ECC error flag
  8238. <br/>
  8239. [28]: LP CRC error flag
  8240. <br/>
  8241. [29]: Acknowledge and Error Report flag
  8242. </comment>
  8243. </bits>
  8244. </reg>
  8245. </module>
  8246. </archive>
  8247. <archive relative="spi_flash.xml">
  8248. <module category="System" name="SPI_FLASH">
  8249. <reg name="spi_cmd_addr" protect="rw">
  8250. <bits access="rw" name="spi_tx_cmd" pos="7:0" rst="all0">
  8251. <comment>spi flash command to send.</comment>
  8252. </bits>
  8253. <bits access="rw" name="spi_address" pos="31:8" rst="all0">
  8254. <comment>spi flash address to send.</comment>
  8255. </bits>
  8256. </reg>
  8257. <reg name="spi_block_size" protect="rw">
  8258. <bits access="rw" name="spi_modebit" pos="7:0" rst="all0">
  8259. <comment>spi flash modebit,set 0xA0 to enable continuous read.</comment>
  8260. </bits>
  8261. <bits access="rw" name="spi_rw_blk_size" pos="21:8" rst="0x1">
  8262. <comment>spi flash spi read/write block size.</comment>
  8263. </bits>
  8264. <bits access="rw" name="continuous_enable" pos="24" rst="0x0">
  8265. </bits>
  8266. </reg>
  8267. <reg name="spi_data_fifo" protect="rw">
  8268. <bits access="w" name="spi_tx_data" pos="7:0" rst="no">
  8269. <comment>spi flash data to send.</comment>
  8270. </bits>
  8271. <bits access="w" name="spi_send_type" pos="8" rst="no">
  8272. <comment>spi send byte, 1: quad send 0: spi send.</comment>
  8273. </bits>
  8274. </reg>
  8275. <reg name="spi_status" protect="r">
  8276. <bits access="r" name="spi_flash_busy" pos="0" rst="0x0">
  8277. <comment>spi flash busy.</comment>
  8278. </bits>
  8279. <bits access="r" name="tx_fifo_empty" pos="1" rst="0x1">
  8280. <comment>tx fifo empty.</comment>
  8281. </bits>
  8282. <bits access="r" name="tx_fifo_full" pos="2" rst="0x0">
  8283. <comment>tx fifo full.</comment>
  8284. </bits>
  8285. <bits access="r" name="rx_fifo_empty" pos="3" rst="0x1">
  8286. <comment>rx fifo empty.</comment>
  8287. </bits>
  8288. <bits access="r" name="rx_fifo_count" pos="8:4" rst="all0">
  8289. <comment>rx fifo data count.</comment>
  8290. </bits>
  8291. <bits access="r" name="read_stat_busy" pos="9" rst="0x0">
  8292. <comment>read busy.</comment>
  8293. </bits>
  8294. <bits access="r" name="nand_int" pos="10" rst="0x0">
  8295. <comment>nand int .</comment>
  8296. </bits>
  8297. <bits access="r" name="spiflash_int" pos="11" rst="0x0">
  8298. <comment>spiflash_int = nand_int and nand_int_mask .</comment>
  8299. </bits>
  8300. </reg>
  8301. <reg name="spi_read_back" protect="r">
  8302. <bits access="r" name="rx_status" pos="31:0" rst="0x0">
  8303. <comment>flash rx status.</comment>
  8304. </bits>
  8305. </reg>
  8306. <reg name="spi_config" protect="rw">
  8307. <bits access="rw" name="quad_mode" pos="0" rst="0x0">
  8308. <comment>spi flash read mode from AHB.</comment>
  8309. <options>
  8310. <option name="spi read" value="0"/>
  8311. <option name="quad read" value="1"/>
  8312. </options>
  8313. </bits>
  8314. <bits access="rw" name="spi_wprotect_pin" pos="1" rst="0x0">
  8315. <comment>spi flash wprotect pin.</comment>
  8316. </bits>
  8317. <bits access="rw" name="spi_hold_pin" pos="2" rst="0x0">
  8318. <comment>spi flash hold pin.</comment>
  8319. </bits>
  8320. <bits access="rw" name="sample_delay" pos="6:4" rst="0x2">
  8321. <comment>spi flash read sample delay cycles.</comment>
  8322. </bits>
  8323. <bits access="rw" name="clk_divider" pos="15:8" rst="0x8">
  8324. <comment>spi flash clock divider.</comment>
  8325. </bits>
  8326. <bits access="rw" name="cmd_quad" pos="16" rst="0x0">
  8327. <comment>spi flash send command using quad lines.</comment>
  8328. </bits>
  8329. <bits access="rw" name="tx_rx_size" pos="18:17" rst="0x0">
  8330. </bits>
  8331. </reg>
  8332. <reg name="spi_fifo_control" protect="w">
  8333. <bits access="w" name="rx_fifo_clr" pos="0" rst="0x0">
  8334. <comment>rx fifo_clr,self clear.</comment>
  8335. </bits>
  8336. <bits access="w" name="tx_fifo_clr" pos="1" rst="0x0">
  8337. <comment>tx fifo_clr,self clear.</comment>
  8338. </bits>
  8339. </reg>
  8340. <reg name="spi_cs_size" protect="rw">
  8341. <bits access="rw" name="spi_cs_num" pos="0" rst="0x0">
  8342. <comment>spi flash cs num.</comment>
  8343. <options>
  8344. <option name="1 spiflash" value="0"/>
  8345. <option name="2 spiflash" value="1"/>
  8346. </options>
  8347. </bits>
  8348. <bits access="rw" name="spi size" pos="2:1" rst="all0">
  8349. <comment>single chip spi flash size.</comment>
  8350. <options>
  8351. <option name="32m" value="0"/>
  8352. <option name="64m" value="1"/>
  8353. <option name="16m" value="2"/>
  8354. <option name="8m" value="3"/>
  8355. </options>
  8356. </bits>
  8357. <bits access="rw" name="spi_128m" pos="3" rst="0x0">
  8358. <comment>spi flash is 128m flash.</comment>
  8359. <options>
  8360. <option name="other spiflash" value="0"/>
  8361. <option name="128m spiflash" value="1"/>
  8362. </options>
  8363. </bits>
  8364. <bits access="rw" name="ahb_read_disable" pos="4" rst="0x0">
  8365. <comment>disable read from ahb.</comment>
  8366. <options>
  8367. <option name="enable ahb read" value="0"/>
  8368. <option name="disable ahb read" value="1"/>
  8369. </options>
  8370. </bits>
  8371. <bits access="rw" name="sel_flash_1" pos="5" rst="0x0">
  8372. <comment>sel flash 1, addr[24].</comment>
  8373. <options>
  8374. <option name="sel flash 0" value="0"/>
  8375. <option name="sel flash 1" value="1"/>
  8376. </options>
  8377. </bits>
  8378. <bits access="rw" name="sel1_flash_1" pos="6" rst="0x0">
  8379. <comment>addr[25].</comment>
  8380. </bits>
  8381. <bits access="rw" name="diff_128m_diff_cmd_en" pos="7" rst="0x0">
  8382. <comment>diff 128m diff cmd en.</comment>
  8383. </bits>
  8384. <bits access="rw" name="spi_256m" pos="8" rst="0x0">
  8385. <comment>spi_256m.</comment>
  8386. </bits>
  8387. <bits access="rw" name="spi_512m" pos="9" rst="0x0">
  8388. <comment>spi_512m.</comment>
  8389. </bits>
  8390. <bits access="rw" name="spi_cs1_sel2" pos="10" rst="0x0">
  8391. <comment>spi_cs1_sel2.</comment>
  8392. </bits>
  8393. <bits access="rw" name="spi_1g" pos="11" rst="0x0">
  8394. <comment>spi_1g .</comment>
  8395. </bits>
  8396. <bits access="rw" name="spi_2g" pos="12" rst="0x0">
  8397. <comment>spi_2g.</comment>
  8398. </bits>
  8399. <bits access="rw" name="spi_4g" pos="13" rst="0x0">
  8400. <comment>spi_4g.</comment>
  8401. </bits>
  8402. <bits access="rw" name="spi_cs1_sel3" pos="14" rst="0x0">
  8403. <comment>spi_cs1_sel3.</comment>
  8404. </bits>
  8405. <bits access="rw" name="spi_cs1_sel4" pos="15" rst="0x0">
  8406. <comment>spi_cs1_sel4.</comment>
  8407. </bits>
  8408. <bits access="rw" name="spi_cs1_sel5" pos="16" rst="0x0">
  8409. <comment>spi_cs1_sel5.</comment>
  8410. </bits>
  8411. </reg>
  8412. <reg name="spi_read_cmd" protect="rw">
  8413. <bits access="rw" name="qread_cmd" pos="7:0" rst="0xeb">
  8414. <comment>quad read command.</comment>
  8415. </bits>
  8416. <bits access="rw" name="fread_cmd" pos="15:8" rst="0x0b">
  8417. <comment>fast read command.</comment>
  8418. </bits>
  8419. <bits access="rw" name="read_cmd" pos="23:16" rst="0x03">
  8420. <comment>fast read command.</comment>
  8421. </bits>
  8422. <bits access="w" name="protect_byte" pos="31:24" rst="all0">
  8423. <comment>protect_byte, must be 0x55 when program this register.</comment>
  8424. </bits>
  8425. </reg>
  8426. <reg name="spi_nand_config" protect="rw">
  8427. <bits access="rw" name="nand_sel" pos="0" rst="all0">
  8428. </bits>
  8429. <bits access="rw" name="nand_addr" pos="2:1" rst="all0">
  8430. </bits>
  8431. <bits access="rw" name="reuse_nand_ram" pos="3" rst="all0">
  8432. </bits>
  8433. <bits access="rw" name="reuse_read" pos="4" rst="all0">
  8434. </bits>
  8435. <bits access="rw" name="write_page_hit" pos="5" rst="all0">
  8436. </bits>
  8437. <bits access="rw" name="nand_data_trans" pos="6" rst="all0">
  8438. </bits>
  8439. <bits access="rw" name="page_size_sel" pos="7" rst="all0">
  8440. </bits>
  8441. <bits access="rw" name="page_read_cmd" pos="15:8" rst="0x13">
  8442. </bits>
  8443. <bits access="rw" name="get_sts_cmd" pos="23:16" rst="0x0f">
  8444. </bits>
  8445. <bits access="rw" name="ram_read_cmd" pos="31:24" rst="0x03">
  8446. </bits>
  8447. </reg>
  8448. <reg name="spi_nand_config2" protect="rw">
  8449. <bits access="rw" name="get_sts_addr" pos="7:0" rst="0xc0">
  8450. </bits>
  8451. <bits access="rw" name="sts_qip" pos="23:16" rst="0x01">
  8452. </bits>
  8453. </reg>
  8454. <reg name="spi_256_512_flash_config" protect="rw">
  8455. <bits access="rw" name="four_byte_addr" pos="0" rst="all0">
  8456. </bits>
  8457. <bits access="rw" name="dummy_cycle_en" pos="1" rst="all0">
  8458. </bits>
  8459. <bits access="rw" name="dummy_cycle" pos="11:8" rst="0x08">
  8460. </bits>
  8461. <bits access="rw" name="wrap_en" pos="12" rst="all0">
  8462. </bits>
  8463. <bits access="rw" name="wrap_code" pos="19:16" rst="all0">
  8464. </bits>
  8465. </reg>
  8466. <reg name="spi_128_flash_config" protect="rw">
  8467. <bits access="rw" name="first_128m_cmd" pos="7:0" rst="0x8c">
  8468. </bits>
  8469. <bits access="rw" name="second_128m_cmd" pos="15:8" rst="0x8d">
  8470. </bits>
  8471. <bits access="rw" name="third_128m_cmd" pos="23:16" rst="0x0">
  8472. </bits>
  8473. <bits access="rw" name="fourth_128m_cmd" pos="31:24" rst="0x0">
  8474. </bits>
  8475. </reg>
  8476. <reg name="spi_cs4_sel" protect="rw">
  8477. <bits access="rw" name="spi_cs4_sel" pos="2:0" rst="0x0">
  8478. </bits>
  8479. </reg>
  8480. <reg name="page0_addr" protect="rw">
  8481. <bits access="rw" name="page0_addr" pos="23:0" rst="0x0">
  8482. </bits>
  8483. <bits access="rw" name="page0_valid" pos="31" rst="0x0">
  8484. </bits>
  8485. </reg>
  8486. <reg name="page1_addr" protect="rw">
  8487. <bits access="rw" name="page1_addr" pos="23:0" rst="0x0">
  8488. </bits>
  8489. <bits access="rw" name="page1_valid" pos="31" rst="0x0">
  8490. </bits>
  8491. </reg>
  8492. <reg name="page2_addr" protect="rw">
  8493. <bits access="rw" name="page2_addr" pos="23:0" rst="0x0">
  8494. </bits>
  8495. <bits access="rw" name="page2_valid" pos="31" rst="0x0">
  8496. </bits>
  8497. </reg>
  8498. <reg name="page3_addr" protect="rw">
  8499. <bits access="rw" name="page3_addr" pos="23:0" rst="0x0">
  8500. </bits>
  8501. <bits access="rw" name="page3_valid" pos="31" rst="0x0">
  8502. </bits>
  8503. </reg>
  8504. <reg name="page4_addr" protect="rw">
  8505. <bits access="rw" name="page4_addr" pos="23:0" rst="0x0">
  8506. </bits>
  8507. <bits access="rw" name="page4_valid" pos="31" rst="0x0">
  8508. </bits>
  8509. </reg>
  8510. <reg name="page5_addr" protect="rw">
  8511. <bits access="rw" name="page5_addr" pos="23:0" rst="0x0">
  8512. </bits>
  8513. <bits access="rw" name="page5_valid" pos="31" rst="0x0">
  8514. </bits>
  8515. </reg>
  8516. <reg name="page6_addr" protect="rw">
  8517. <bits access="rw" name="page6_addr" pos="23:0" rst="0x0">
  8518. </bits>
  8519. <bits access="rw" name="page6_valid" pos="31" rst="0x0">
  8520. </bits>
  8521. </reg>
  8522. <reg name="page7_addr" protect="rw">
  8523. <bits access="rw" name="page7_addr" pos="23:0" rst="0x0">
  8524. </bits>
  8525. <bits access="rw" name="page7_valid" pos="31" rst="0x0">
  8526. </bits>
  8527. </reg>
  8528. <reg name="page8_addr" protect="rw">
  8529. <bits access="rw" name="page8_addr" pos="23:0" rst="0x0">
  8530. </bits>
  8531. <bits access="rw" name="page8_valid" pos="31" rst="0x0">
  8532. </bits>
  8533. </reg>
  8534. <reg name="page9_addr" protect="rw">
  8535. <bits access="rw" name="page9_addr" pos="23:0" rst="0x0">
  8536. </bits>
  8537. <bits access="rw" name="page9_valid" pos="31" rst="0x0">
  8538. </bits>
  8539. </reg>
  8540. <reg name="page10_addr" protect="rw">
  8541. <bits access="rw" name="page10_addr" pos="23:0" rst="0x0">
  8542. </bits>
  8543. <bits access="rw" name="page10_valid" pos="31" rst="0x0">
  8544. </bits>
  8545. </reg>
  8546. <reg name="page11_addr" protect="rw">
  8547. <bits access="rw" name="page11_addr" pos="23:0" rst="0x0">
  8548. </bits>
  8549. <bits access="rw" name="page11_valid" pos="31" rst="0x0">
  8550. </bits>
  8551. </reg>
  8552. <reg name="page12_addr" protect="rw">
  8553. <bits access="rw" name="page12_addr" pos="23:0" rst="0x0">
  8554. </bits>
  8555. <bits access="rw" name="page12_valid" pos="31" rst="0x0">
  8556. </bits>
  8557. </reg>
  8558. <reg name="page13_addr" protect="rw">
  8559. <bits access="rw" name="page13_addr" pos="23:0" rst="0x0">
  8560. </bits>
  8561. <bits access="rw" name="page13_valid" pos="31" rst="0x0">
  8562. </bits>
  8563. </reg>
  8564. <reg name="page14_addr" protect="rw">
  8565. <bits access="rw" name="page14_addr" pos="23:0" rst="0x0">
  8566. </bits>
  8567. <bits access="rw" name="page14_valid" pos="31" rst="0x0">
  8568. </bits>
  8569. </reg>
  8570. <reg name="page15_addr" protect="rw">
  8571. <bits access="rw" name="page15_addr" pos="23:0" rst="0x0">
  8572. </bits>
  8573. <bits access="rw" name="page15_valid" pos="31" rst="0x0">
  8574. </bits>
  8575. </reg>
  8576. <reg name="spi_page_config" protect="rw">
  8577. <bits access="rw" name="multi_page_enable/multi_page_start" pos="0" rst="0x0">
  8578. </bits>
  8579. <bits access="rw" name="page_num" pos="12:8" rst="0x0">
  8580. </bits>
  8581. </reg>
  8582. <reg name="spi_cmd_reconfig" protect="rw">
  8583. <bits access="rw" name="program_exe_cmd" pos="7:0" rst="0x0">
  8584. </bits>
  8585. <bits access="rw" name="program_load_cmd" pos="15:8" rst="0x0">
  8586. </bits>
  8587. <bits access="rw" name="write_enable_cmd" pos="23:16" rst="0x0">
  8588. </bits>
  8589. </reg>
  8590. <reg name="page0_col_addr" protect="rw">
  8591. <bits access="rw" name="page0_col_addr" pos="15:0" rst="0x0">
  8592. </bits>
  8593. </reg>
  8594. <reg name="page1_col_addr" protect="rw">
  8595. <bits access="rw" name="page1_col_addr" pos="15:0" rst="0x0">
  8596. </bits>
  8597. </reg>
  8598. <reg name="page2_col_addr" protect="rw">
  8599. <bits access="rw" name="page2_col_addr" pos="15:0" rst="0x0">
  8600. </bits>
  8601. </reg>
  8602. <reg name="page3_col_addr" protect="rw">
  8603. <bits access="rw" name="page3_col_addr" pos="15:0" rst="0x0">
  8604. </bits>
  8605. </reg>
  8606. <reg name="page4_col_addr" protect="rw">
  8607. <bits access="rw" name="page4_col_addr" pos="15:0" rst="0x0">
  8608. </bits>
  8609. </reg>
  8610. <reg name="page5_col_addr" protect="rw">
  8611. <bits access="rw" name="page5_col_addr" pos="15:0" rst="0x0">
  8612. </bits>
  8613. </reg>
  8614. <reg name="page6_col_addr" protect="rw">
  8615. <bits access="rw" name="page6_col_addr" pos="15:0" rst="0x0">
  8616. </bits>
  8617. </reg>
  8618. <reg name="page7_col_addr" protect="rw">
  8619. <bits access="rw" name="page7_col_addr" pos="15:0" rst="0x0">
  8620. </bits>
  8621. </reg>
  8622. <reg name="page8_col_addr" protect="rw">
  8623. <bits access="rw" name="page8_col_addr" pos="15:0" rst="0x0">
  8624. </bits>
  8625. </reg>
  8626. <reg name="page9_col_addr" protect="rw">
  8627. <bits access="rw" name="page9_col_addr" pos="15:0" rst="0x0">
  8628. </bits>
  8629. </reg>
  8630. <reg name="page10_col_addr" protect="rw">
  8631. <bits access="rw" name="page10_col_addr" pos="15:0" rst="0x0">
  8632. </bits>
  8633. </reg>
  8634. <reg name="page11_col_addr" protect="rw">
  8635. <bits access="rw" name="page11_col_addr" pos="15:0" rst="0x0">
  8636. </bits>
  8637. </reg>
  8638. <reg name="page12_col_addr" protect="rw">
  8639. <bits access="rw" name="page12_col_addr" pos="15:0" rst="0x0">
  8640. </bits>
  8641. </reg>
  8642. <reg name="page13_col_addr" protect="rw">
  8643. <bits access="rw" name="page13_col_addr" pos="15:0" rst="0x0">
  8644. </bits>
  8645. </reg>
  8646. <reg name="page14_col_addr" protect="rw">
  8647. <bits access="rw" name="page14_col_addr" pos="15:0" rst="0x0">
  8648. </bits>
  8649. </reg>
  8650. <reg name="page15_col_addr" protect="rw">
  8651. <bits access="rw" name="page15_col_addr" pos="15:0" rst="0x0">
  8652. </bits>
  8653. </reg>
  8654. <reg name="nand_int_mask" protect="rw">
  8655. <bits access="rw" name="nand_int_mask" pos="0" rst="0x0">
  8656. </bits>
  8657. </reg>
  8658. </module>
  8659. </archive>
  8660. <archive relative="gic400_reg.xml">
  8661. <module category="System" name="GIC400">
  8662. <hole size="32768"/>
  8663. <reg name="gicd_ctrl" protect="rw">
  8664. <bits access="rw" name="enablegrp1" pos="1" rst="0">
  8665. <comment>Global enable for forwarding pending Group 1 interrupts from the Distributor to the CPU interfaces:
  8666. 0 Group 1 interrupts not forward.
  8667. 1 Group 1 interrupts forwarded, subject to the priority rules.</comment>
  8668. </bits>
  8669. <bits access="rw" name="enablegrp0" pos="0" rst="0">
  8670. <comment>Global enable for forwarding pending Group 0 interrupts from the Distributor to the CPU interfaces:
  8671. 0 Group 0 interrupts not forwarded.
  8672. 1 Group 0 interrupts forwarded, subject to the priority rules.</comment>
  8673. </bits>
  8674. </reg>
  8675. <reg name="gicd_typer" protect="r">
  8676. <bits access="r" name="lspi" pos="15:11" rst="31">
  8677. <comment>If the GIC implements the Security Extensions, the value of this field is the maximum number of
  8678. implemented lockable SPIs, from 0 (0b00000) to 31 (0b11111), see Configuration lockdown on
  8679. page 4-82. If this field is 0b00000 then the GIC does not implement configuration lockdown.
  8680. If the GIC does not implement the Security Extensions, this field is reserved.</comment>
  8681. </bits>
  8682. <bits access="r" name="securityextn" pos="10" rst="1">
  8683. <comment>Indicates whether the GIC implements the Security Extensions.
  8684. 0 Security Extensions not implemented.
  8685. 1 Security Extensions implemented.</comment>
  8686. </bits>
  8687. <bits access="r" name="cpunumber" pos="7:5" rst="1">
  8688. <comment>Indicates the number of implemented CPU interfaces. The number of implemented CPU interfaces is
  8689. one more than the value of this field, for example if this field is 0b011, there are four CPU interfaces.
  8690. If the GIC implements the Virtualization Extensions, this is also the number of virtual CPU interfaces.</comment>
  8691. </bits>
  8692. <bits access="r" name="itlinesnumber" pos="4:0" rst="3">
  8693. <comment>Indicates the maximum number of interrupts that the GIC supports. If ITLinesNumber=N, the
  8694. maximum number of interrupts is 32(N+1). The interrupt ID range is from 0 to (number of IDs C 1).
  8695. For example:
  8696. 0b00011 Up to 128 interrupt lines, interrupt IDs 0-127.
  8697. The maximum number of interrupts is 1020 (0b11111). See the text in this section for more information.
  8698. Regardless of the range of interrupt IDs defined by this field, interrupt IDs 1020-1023 are reserved for
  8699. special purposes.</comment>
  8700. </bits>
  8701. </reg>
  8702. <reg name="gicd_iddr" protect="r">
  8703. <bits access="r" name="productid" pos="31:24" rst="2">
  8704. <comment>Product ID</comment>
  8705. </bits>
  8706. <bits access="r" name="variant" pos="19:16" rst="0">
  8707. <comment>An IMPLEMENTATION DEFINED variant number. Typically, this field is used to distinguish product variants,
  8708. or major revisions of a product.</comment>
  8709. </bits>
  8710. <bits access="r" name="revision" pos="15:12" rst="1">
  8711. <comment>An IMPLEMENTATION DEFINED revision number. Typically, this field is used to distinguish minor revisions
  8712. of a product.</comment>
  8713. </bits>
  8714. <bits access="r" name="implementer" pos="11:0" rst="1083">
  8715. <comment>Contains the JEP106 code of the company that implemented the GIC Distributor:
  8716. Bits [11:8] The JEP106 continuation code of the implementer. For an ARM implementation, this field
  8717. is 0x4.
  8718. Bits [7] Always 0.
  8719. Bits [6:0] The JEP106 identity code of the implementer. For an ARM implementation, bits[7:0] are
  8720. 0x3B.</comment>
  8721. </bits>
  8722. </reg>
  8723. <hole size="928"/>
  8724. <reg count="4" name="gicd_igrouprn" protect="rw">
  8725. <bits access="rw" name="group_status_bits" pos="31:0" rst="0">
  8726. <comment>The GICD_IGROUPR registers provide a status bit for each interrupt supported by the GIC.
  8727. Each bit controls whether the corresponding interrupt is in Group 0 or Group 1.
  8728. Accessible by Secure accesses Only.
  8729. For each bit:
  8730. 0 The corresponding interrupt is Group 0.
  8731. 1 The corresponding interrupt is Group 1.For interrupt ID m, when DIV and MOD are the integer division and
  8732. modulo operations:
  8733. a. the corresponding GICD_IGROUPRn number, n, is given by n = m DIV 32
  8734. b. the offset of the required GICD_IGROUPR is (0x080 + (4*n))
  8735. c. the bit number of the required group status bit in this register is m MOD 32.</comment>
  8736. </bits>
  8737. </reg>
  8738. <hole size="896"/>
  8739. <reg name="gicd_isenabler0" protect="rw">
  8740. <bits access="rw" name="set_enable_bits" pos="31:0" rst="65535">
  8741. <comment>The GICD_ISENABLERs provide a Set-enable bit for each interrupt supported by the GIC.
  8742. For SPIs and PPIs, each bit controls the forwarding of the corresponding interrupt from the Distributor to
  8743. the CPU interfaces:
  8744. Reads 0 Forwarding of the corresponding interrupt is disabled.
  8745. 1 Forwarding of the corresponding interrupt is enabled.
  8746. Writes 0 Has no effect.
  8747. 1 Enables the forwarding of the corresponding interrupt.
  8748. After a write of 1 to a bit, a subsequent read of the bit returns the value 1.
  8749. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  8750. a.the corresponding GICD_ISENABLER number, n, is given by n = m DIV 32
  8751. b.the offset of the required GICD_ISENABLER is (0x100 + (4*n))
  8752. c.the bit number of the required Set-enable bit in this register is m MOD 32.</comment>
  8753. </bits>
  8754. </reg>
  8755. <reg name="gicd_isenabler1" protect="rw">
  8756. <bits access="rw" name="set_enable_bits" pos="31:0" rst="0">
  8757. <comment>The GICD_ISENABLERs provide a Set-enable bit for each interrupt supported by the GIC.
  8758. For SPIs and PPIs, each bit controls the forwarding of the corresponding interrupt from the Distributor to
  8759. the CPU interfaces:
  8760. Reads 0 Forwarding of the corresponding interrupt is disabled.
  8761. 1 Forwarding of the corresponding interrupt is enabled.
  8762. Writes 0 Has no effect.
  8763. 1 Enables the forwarding of the corresponding interrupt.
  8764. After a write of 1 to a bit, a subsequent read of the bit returns the value 1.
  8765. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  8766. a.the corresponding GICD_ISENABLER number, n, is given by n = m DIV 32
  8767. b.the offset of the required GICD_ISENABLER is (0x100 + (4*n))
  8768. c.the bit number of the required Set-enable bit in this register is m MOD 32.</comment>
  8769. </bits>
  8770. </reg>
  8771. <reg name="gicd_isenabler2" protect="rw">
  8772. <bits access="rw" name="set_enable_bits" pos="31:0" rst="0">
  8773. <comment>The GICD_ISENABLERs provide a Set-enable bit for each interrupt supported by the GIC.
  8774. For SPIs and PPIs, each bit controls the forwarding of the corresponding interrupt from the Distributor to
  8775. the CPU interfaces:
  8776. Reads 0 Forwarding of the corresponding interrupt is disabled.
  8777. 1 Forwarding of the corresponding interrupt is enabled.
  8778. Writes 0 Has no effect.
  8779. 1 Enables the forwarding of the corresponding interrupt.
  8780. After a write of 1 to a bit, a subsequent read of the bit returns the value 1.
  8781. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  8782. a.the corresponding GICD_ISENABLER number, n, is given by n = m DIV 32
  8783. b.the offset of the required GICD_ISENABLER is (0x100 + (4*n))
  8784. c.the bit number of the required Set-enable bit in this register is m MOD 32.</comment>
  8785. </bits>
  8786. </reg>
  8787. <reg name="gicd_isenabler3" protect="rw">
  8788. <bits access="rw" name="set_enable_bits" pos="31:0" rst="0">
  8789. <comment>The GICD_ISENABLERs provide a Set-enable bit for each interrupt supported by the GIC.
  8790. For SPIs and PPIs, each bit controls the forwarding of the corresponding interrupt from the Distributor to
  8791. the CPU interfaces:
  8792. Reads 0 Forwarding of the corresponding interrupt is disabled.
  8793. 1 Forwarding of the corresponding interrupt is enabled.
  8794. Writes 0 Has no effect.
  8795. 1 Enables the forwarding of the corresponding interrupt.
  8796. After a write of 1 to a bit, a subsequent read of the bit returns the value 1.
  8797. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  8798. a.the corresponding GICD_ISENABLER number, n, is given by n = m DIV 32
  8799. b.the offset of the required GICD_ISENABLER is (0x100 + (4*n))
  8800. c.the bit number of the required Set-enable bit in this register is m MOD 32.</comment>
  8801. </bits>
  8802. </reg>
  8803. <hole size="896"/>
  8804. <reg name="gicd_icenabler0" protect="rw">
  8805. <bits access="rw" name="clear_enable_bits" pos="31:0" rst="65535">
  8806. <comment>The GICD_ICENABLERs provide a Clear-enable bit for each interrupt supported by the
  8807. GIC.
  8808. For SPIs and PPIs, each bit controls the forwarding of the corresponding interrupt from the Distributor to
  8809. the CPU interfaces:
  8810. Reads 0 Forwarding of the corresponding interrupt is disabled.
  8811. 1 Forwarding of the corresponding interrupt is enabled.
  8812. Writes 0 Has no effect.
  8813. 1 Disables the forwarding of the corresponding interrupt.
  8814. After a write of 1 to a bit, a subsequent read of the bit returns the value 0.
  8815. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  8816. a.the corresponding GICD_ICENABLERn number, n, is given by m = n DIV 32
  8817. b.the offset of the required GICD_ICENABLERn is (0x180 + (4*n))
  8818. c.the bit number of the required Clear-enable bit in this register is m MOD 32.</comment>
  8819. </bits>
  8820. </reg>
  8821. <reg name="gicd_icenabler1" protect="rw">
  8822. <bits access="rw" name="clear_enable_bits" pos="31:0" rst="0">
  8823. <comment>The GICD_ICENABLERs provide a Clear-enable bit for each interrupt supported by the
  8824. GIC.
  8825. For SPIs and PPIs, each bit controls the forwarding of the corresponding interrupt from the Distributor to
  8826. the CPU interfaces:
  8827. Reads 0 Forwarding of the corresponding interrupt is disabled.
  8828. 1 Forwarding of the corresponding interrupt is enabled.
  8829. Writes 0 Has no effect.
  8830. 1 Disables the forwarding of the corresponding interrupt.
  8831. After a write of 1 to a bit, a subsequent read of the bit returns the value 0.
  8832. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  8833. a.the corresponding GICD_ICENABLERn number, n, is given by m = n DIV 32
  8834. b.the offset of the required GICD_ICENABLERn is (0x180 + (4*n))
  8835. c.the bit number of the required Clear-enable bit in this register is m MOD 32.</comment>
  8836. </bits>
  8837. </reg>
  8838. <reg name="gicd_icenabler2" protect="rw">
  8839. <bits access="rw" name="clear_enable_bits" pos="31:0" rst="0">
  8840. <comment>The GICD_ICENABLERs provide a Clear-enable bit for each interrupt supported by the
  8841. GIC.
  8842. For SPIs and PPIs, each bit controls the forwarding of the corresponding interrupt from the Distributor to
  8843. the CPU interfaces:
  8844. Reads 0 Forwarding of the corresponding interrupt is disabled.
  8845. 1 Forwarding of the corresponding interrupt is enabled.
  8846. Writes 0 Has no effect.
  8847. 1 Disables the forwarding of the corresponding interrupt.
  8848. After a write of 1 to a bit, a subsequent read of the bit returns the value 0.
  8849. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  8850. a.the corresponding GICD_ICENABLERn number, n, is given by m = n DIV 32
  8851. b.the offset of the required GICD_ICENABLERn is (0x180 + (4*n))
  8852. c.the bit number of the required Clear-enable bit in this register is m MOD 32.</comment>
  8853. </bits>
  8854. </reg>
  8855. <reg name="gicd_icenabler3" protect="rw">
  8856. <bits access="rw" name="clear_enable_bits" pos="31:0" rst="0">
  8857. <comment>The GICD_ICENABLERs provide a Clear-enable bit for each interrupt supported by the
  8858. GIC.
  8859. For SPIs and PPIs, each bit controls the forwarding of the corresponding interrupt from the Distributor to
  8860. the CPU interfaces:
  8861. Reads 0 Forwarding of the corresponding interrupt is disabled.
  8862. 1 Forwarding of the corresponding interrupt is enabled.
  8863. Writes 0 Has no effect.
  8864. 1 Disables the forwarding of the corresponding interrupt.
  8865. After a write of 1 to a bit, a subsequent read of the bit returns the value 0.
  8866. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  8867. a.the corresponding GICD_ICENABLERn number, n, is given by m = n DIV 32
  8868. b.the offset of the required GICD_ICENABLERn is (0x180 + (4*n))
  8869. c.the bit number of the required Clear-enable bit in this register is m MOD 32.</comment>
  8870. </bits>
  8871. </reg>
  8872. <hole size="896"/>
  8873. <reg count="4" name="gicd_ispendrn" protect="rw">
  8874. <bits access="rw" name="set_pending_bits" pos="31:0" rst="0">
  8875. <comment>The GICD_ISPENDRs provide a Set-pending bit for each interrupt supported by the GIC.
  8876. For each bit:
  8877. Reads 0 The corresponding interrupt is not pending on any processor.
  8878. 1 a. For PPIs and SGIs, the corresponding interrupt is pendinga on this
  8879. processor.
  8880. b. For SPIs, the corresponding interrupt is pendinga on at least one
  8881. processor.
  8882. Writes For SPIs and PPIs:
  8883. 0 Has no effect.
  8884. 1 The effect depends on whether the interrupt is edge-triggered or
  8885. level-sensitive:
  8886. Edge-triggered
  8887. Changes the status of the corresponding interrupt to:
  8888. a.pending if it was previously inactive
  8889. b.active and pending if it was previously active.
  8890. Has no effect if the interrupt is already pending.
  8891. Level sensitive
  8892. If the corresponding interrupt is not pendinga, changes the status
  8893. of the corresponding interrupt to:
  8894. a. pending if it was previously inactive
  8895. b. active and pending if it was previously active.
  8896. If the interrupt is already pending:
  8897. a. because of a write to the GICD_ISPENDR, the write has
  8898. no effect.
  8899. b. because the corresponding interrupt signal is asserted, the
  8900. write has no effect on the status of the interrupt, but the
  8901. interrupt remains pendinga if the interrupt signal is
  8902. deasserted.
  8903. For SGIs, the write is ignored. SGIs have their own Set-Pending registers.
  8904. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  8905. a. the corresponding GICD_ISPENDR number, n, is given by n = m DIV 32
  8906. b. the offset of the required GICD_ISPENDR is (0x200 + (4*n))
  8907. c. the bit number of the required Set-pending bit in this register is m MOD 32.</comment>
  8908. </bits>
  8909. </reg>
  8910. <hole size="896"/>
  8911. <reg count="4" name="gicd_icpendrn" protect="rw">
  8912. <bits access="rw" name="clear_pending_bits" pos="31:0" rst="0">
  8913. <comment>The GICD_ICPENDRs provide a Clear-pending bit for each interrupt supported by the GIC.
  8914. For each bit:
  8915. Reads 0 The corresponding interrupt is not pending on any processor.
  8916. 1 a. For SGIs and PPIs, the corresponding interrupt is pendinga on this
  8917. processor.
  8918. b. For SPIs, the corresponding interrupt is pendinga on at least one
  8919. processor.
  8920. Writes For SPIs and PPIs:
  8921. 0 Has no effect.
  8922. 1 The effect depends on whether the interrupt is edge-triggered or level-sensitive:
  8923. Edge-triggered
  8924. Changes the status of the corresponding interrupt to:
  8925. a. inactive if it was previously pending
  8926. b. active if it was previously active and pending.
  8927. Has no effect if the interrupt is not pending.
  8928. Level-sensitive
  8929. If the corresponding interrupt is pendinga only because of a write to
  8930. GICD_ISPENDRn, the write changes the status of the interrupt to:
  8931. a. inactive if it was previously pending
  8932. b. active if it was previously active and pending.
  8933. Otherwise the interrupt remains pending if the interrupt signal
  8934. remains asserted.
  8935. For SGIs, the write is ignored. SGIs have their own Clear-Pending registers.
  8936. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  8937. a. the corresponding GICD_ICPENDR number, n, is given by n = m DIV 32
  8938. b. the offset of the required GICD_ICPENDR is (0x280 + (4*n))
  8939. c. the bit number of the required Set-pending bit in this register is m MOD 32.</comment>
  8940. </bits>
  8941. </reg>
  8942. <hole size="896"/>
  8943. <reg count="4" name="gicd_isactivern" protect="rw">
  8944. <bits access="rw" name="set_active_bits" pos="31:0" rst="0">
  8945. <comment>The GICD_ISACTIVERs provide a Set-active bit for each interrupt that the GIC supports.
  8946. For each bit:
  8947. Reads 0 The corresponding interrupt is not active.
  8948. 1 The corresponding interrupt is active.
  8949. Writes 0 Has no effect.
  8950. 1 Activates the corresponding interrupt, if it is not already active. If the interrupt
  8951. is already active, the write has no effect.
  8952. After a write of 1 to this bit, a subsequent read of the bit returns the value 1.
  8953. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  8954. a. the corresponding GICD_ISACTIVERn number, n, is given by n = m DIV 32
  8955. b. the offset of the required GICD_ISACTIVERn is (0x300 + (4*n))
  8956. c. the bit number of the required Set-active bit in this register is m MOD 32.</comment>
  8957. </bits>
  8958. </reg>
  8959. <hole size="896"/>
  8960. <reg count="4" name="gicd_icactivern" protect="rw">
  8961. <bits access="rw" name="clear_active_bits" pos="31:0" rst="0">
  8962. <comment>The GICD_ICACTIVERs provide a Clear-active bit for each interrupt that the GIC
  8963. supports.
  8964. For each bit:
  8965. Reads 0 The corresponding interrupt is not activea.
  8966. 1 The corresponding interrupt is activea.
  8967. Writes 0 Has no effect.
  8968. 1 Deactivates the corresponding interrupt, if the interrupt is active. If the
  8969. interrupt is already deactivated, the write has no effect.
  8970. After a write of 1 to this bit, a subsequent read of the bit returns the value 0.
  8971. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  8972. a. the corresponding GICD_ICACTIVERn number, n, is given by n = m DIV 32
  8973. b. the offset of the required GICD_ICACTIVERn is (0x380 + (4*n))
  8974. c. the bit number of the required Clear-active bit in this register is m MOD 32.</comment>
  8975. </bits>
  8976. </reg>
  8977. <hole size="896"/>
  8978. <reg count="32" name="gicd_ipriorityrn" protect="rw">
  8979. <bits access="rw" name="priority" pos="31:0" rst="0">
  8980. <comment>The GICD_IPRIORITYRs provide an 8-bit priority field for each interrupt supported by the
  8981. GIC.
  8982. Each priority field holds a priority value, from an IMPLEMENTATION DEFINED range. The lower the
  8983. value, the greater the priority of the corresponding interrupt.
  8984. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  8985. a. the corresponding GICD_IPRIORITYRn number, n, is given by n = m DIV 4
  8986. b. the offset of the required GICD_IPRIORITYRn is (0x400 + (4*n))
  8987. c. the byte offset of the required Priority field in this register is m MOD 4, where:
  8988. (1) byte offset 0 refers to register bits [7:0]
  8989. (2) byte offset 1 refers to register bits [15:8]
  8990. (3) byte offset 2 refers to register bits [23:16]
  8991. (4) byte offset 3 refers to register bits [31:24].</comment>
  8992. </bits>
  8993. </reg>
  8994. <hole size="7168"/>
  8995. <reg name="gicd_itargetsr0" protect="r">
  8996. <bits access="r" name="cpu_targets" pos="31:0" rst="0">
  8997. <comment>The GICD_ITARGETSRs provide an 8-bit CPU targets field for each interrupt supported
  8998. by the GIC.This field stores the list of target processors for the interrupt. That is, it holds
  8999. the list of CPU interfaces to which the Distributor forwards the interrupt if it is asserted and
  9000. has sufficient priority.
  9001. GICD_ITARGETSR0 to GICD_ITARGETSR7 are read-only, and each field returns
  9002. a value that corresponds only to the processor reading the register.
  9003. Processors in the system number from 0, and each bit in a CPU targets field refers to the
  9004. corresponding processor. For example, a value of 0x3 means that the Pending
  9005. interrupt is sent to processors 0 and 1.
  9006. For GICD_ITARGETSR0 to GICD_ITARGETSR7, a read of any CPU targets field returns
  9007. the number of the processor performing the read.
  9008. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9009. a. the corresponding GICD_ITARGETSRn number, n, is given by n = m DIV 4
  9010. b. the offset of the required GICD_ITARGETSR is (0x800 + (4*n))
  9011. c. the byte offset of the required Priority field in this register is m MOD 4, where:
  9012. (1) byte offset 0 refers to register bits [7:0]
  9013. (2) byte offset 1 refers to register bits [15:8]
  9014. (3) byte offset 2 refers to register bits [23:16]
  9015. (4) byte offset 3 refers to register bits [31:24].</comment>
  9016. </bits>
  9017. </reg>
  9018. <reg name="gicd_itargetsr1" protect="rw">
  9019. <bits access="rw" name="cpu_targets" pos="31:0" rst="0">
  9020. <comment>The GICD_ITARGETSRs provide an 8-bit CPU targets field for each interrupt supported
  9021. by the GIC.This field stores the list of target processors for the interrupt. That is, it holds
  9022. the list of CPU interfaces to which the Distributor forwards the interrupt if it is asserted and
  9023. has sufficient priority.
  9024. GICD_ITARGETSR0 to GICD_ITARGETSR7 are read-only, and each field returns
  9025. a value that corresponds only to the processor reading the register.
  9026. Processors in the system number from 0, and each bit in a CPU targets field refers to the
  9027. corresponding processor. For example, a value of 0x3 means that the Pending
  9028. interrupt is sent to processors 0 and 1.
  9029. For GICD_ITARGETSR0 to GICD_ITARGETSR7, a read of any CPU targets field returns
  9030. the number of the processor performing the read.
  9031. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9032. a. the corresponding GICD_ITARGETSRn number, n, is given by n = m DIV 4
  9033. b. the offset of the required GICD_ITARGETSR is (0x800 + (4*n))
  9034. c. the byte offset of the required Priority field in this register is m MOD 4, where:
  9035. (1) byte offset 0 refers to register bits [7:0]
  9036. (2) byte offset 1 refers to register bits [15:8]
  9037. (3) byte offset 2 refers to register bits [23:16]
  9038. (4) byte offset 3 refers to register bits [31:24].</comment>
  9039. </bits>
  9040. </reg>
  9041. <reg name="gicd_itargetsr2" protect="rw">
  9042. <bits access="rw" name="cpu_targets" pos="31:0" rst="0">
  9043. <comment>The GICD_ITARGETSRs provide an 8-bit CPU targets field for each interrupt supported
  9044. by the GIC.This field stores the list of target processors for the interrupt. That is, it holds
  9045. the list of CPU interfaces to which the Distributor forwards the interrupt if it is asserted and
  9046. has sufficient priority.
  9047. GICD_ITARGETSR0 to GICD_ITARGETSR7 are read-only, and each field returns
  9048. a value that corresponds only to the processor reading the register.
  9049. Processors in the system number from 0, and each bit in a CPU targets field refers to the
  9050. corresponding processor. For example, a value of 0x3 means that the Pending
  9051. interrupt is sent to processors 0 and 1.
  9052. For GICD_ITARGETSR0 to GICD_ITARGETSR7, a read of any CPU targets field returns
  9053. the number of the processor performing the read.
  9054. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9055. a. the corresponding GICD_ITARGETSRn number, n, is given by n = m DIV 4
  9056. b. the offset of the required GICD_ITARGETSR is (0x800 + (4*n))
  9057. c. the byte offset of the required Priority field in this register is m MOD 4, where:
  9058. (1) byte offset 0 refers to register bits [7:0]
  9059. (2) byte offset 1 refers to register bits [15:8]
  9060. (3) byte offset 2 refers to register bits [23:16]
  9061. (4) byte offset 3 refers to register bits [31:24].</comment>
  9062. </bits>
  9063. </reg>
  9064. <reg name="gicd_itargetsr3" protect="rw">
  9065. <bits access="rw" name="cpu_targets" pos="31:0" rst="0">
  9066. <comment>The GICD_ITARGETSRs provide an 8-bit CPU targets field for each interrupt supported
  9067. by the GIC.This field stores the list of target processors for the interrupt. That is, it holds
  9068. the list of CPU interfaces to which the Distributor forwards the interrupt if it is asserted and
  9069. has sufficient priority.
  9070. GICD_ITARGETSR0 to GICD_ITARGETSR7 are read-only, and each field returns
  9071. a value that corresponds only to the processor reading the register.
  9072. Processors in the system number from 0, and each bit in a CPU targets field refers to the
  9073. corresponding processor. For example, a value of 0x3 means that the Pending
  9074. interrupt is sent to processors 0 and 1.
  9075. For GICD_ITARGETSR0 to GICD_ITARGETSR7, a read of any CPU targets field returns
  9076. the number of the processor performing the read.
  9077. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9078. a. the corresponding GICD_ITARGETSRn number, n, is given by n = m DIV 4
  9079. b. the offset of the required GICD_ITARGETSR is (0x800 + (4*n))
  9080. c. the byte offset of the required Priority field in this register is m MOD 4, where:
  9081. (1) byte offset 0 refers to register bits [7:0]
  9082. (2) byte offset 1 refers to register bits [15:8]
  9083. (3) byte offset 2 refers to register bits [23:16]
  9084. (4) byte offset 3 refers to register bits [31:24].</comment>
  9085. </bits>
  9086. </reg>
  9087. <reg name="gicd_itargetsr4" protect="rw">
  9088. <bits access="rw" name="cpu_targets" pos="31:0" rst="0">
  9089. <comment>The GICD_ITARGETSRs provide an 8-bit CPU targets field for each interrupt supported
  9090. by the GIC.This field stores the list of target processors for the interrupt. That is, it holds
  9091. the list of CPU interfaces to which the Distributor forwards the interrupt if it is asserted and
  9092. has sufficient priority.
  9093. GICD_ITARGETSR0 to GICD_ITARGETSR7 are read-only, and each field returns
  9094. a value that corresponds only to the processor reading the register.
  9095. Processors in the system number from 0, and each bit in a CPU targets field refers to the
  9096. corresponding processor. For example, a value of 0x3 means that the Pending
  9097. interrupt is sent to processors 0 and 1.
  9098. For GICD_ITARGETSR0 to GICD_ITARGETSR7, a read of any CPU targets field returns
  9099. the number of the processor performing the read.
  9100. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9101. a. the corresponding GICD_ITARGETSRn number, n, is given by n = m DIV 4
  9102. b. the offset of the required GICD_ITARGETSR is (0x800 + (4*n))
  9103. c. the byte offset of the required Priority field in this register is m MOD 4, where:
  9104. (1) byte offset 0 refers to register bits [7:0]
  9105. (2) byte offset 1 refers to register bits [15:8]
  9106. (3) byte offset 2 refers to register bits [23:16]
  9107. (4) byte offset 3 refers to register bits [31:24].</comment>
  9108. </bits>
  9109. </reg>
  9110. <reg name="gicd_itargetsr5" protect="rw">
  9111. <bits access="rw" name="cpu_targets" pos="31:0" rst="0">
  9112. <comment>The GICD_ITARGETSRs provide an 8-bit CPU targets field for each interrupt supported
  9113. by the GIC.This field stores the list of target processors for the interrupt. That is, it holds
  9114. the list of CPU interfaces to which the Distributor forwards the interrupt if it is asserted and
  9115. has sufficient priority.
  9116. GICD_ITARGETSR0 to GICD_ITARGETSR7 are read-only, and each field returns
  9117. a value that corresponds only to the processor reading the register.
  9118. Processors in the system number from 0, and each bit in a CPU targets field refers to the
  9119. corresponding processor. For example, a value of 0x3 means that the Pending
  9120. interrupt is sent to processors 0 and 1.
  9121. For GICD_ITARGETSR0 to GICD_ITARGETSR7, a read of any CPU targets field returns
  9122. the number of the processor performing the read.
  9123. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9124. a. the corresponding GICD_ITARGETSRn number, n, is given by n = m DIV 4
  9125. b. the offset of the required GICD_ITARGETSR is (0x800 + (4*n))
  9126. c. the byte offset of the required Priority field in this register is m MOD 4, where:
  9127. (1) byte offset 0 refers to register bits [7:0]
  9128. (2) byte offset 1 refers to register bits [15:8]
  9129. (3) byte offset 2 refers to register bits [23:16]
  9130. (4) byte offset 3 refers to register bits [31:24].</comment>
  9131. </bits>
  9132. </reg>
  9133. <reg name="gicd_itargetsr6" protect="rw">
  9134. <bits access="rw" name="cpu_targets" pos="31:0" rst="0">
  9135. <comment>The GICD_ITARGETSRs provide an 8-bit CPU targets field for each interrupt supported
  9136. by the GIC.This field stores the list of target processors for the interrupt. That is, it holds
  9137. the list of CPU interfaces to which the Distributor forwards the interrupt if it is asserted and
  9138. has sufficient priority.
  9139. GICD_ITARGETSR0 to GICD_ITARGETSR7 are read-only, and each field returns
  9140. a value that corresponds only to the processor reading the register.
  9141. Processors in the system number from 0, and each bit in a CPU targets field refers to the
  9142. corresponding processor. For example, a value of 0x3 means that the Pending
  9143. interrupt is sent to processors 0 and 1.
  9144. For GICD_ITARGETSR0 to GICD_ITARGETSR7, a read of any CPU targets field returns
  9145. the number of the processor performing the read.
  9146. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9147. a. the corresponding GICD_ITARGETSRn number, n, is given by n = m DIV 4
  9148. b. the offset of the required GICD_ITARGETSR is (0x800 + (4*n))
  9149. c. the byte offset of the required Priority field in this register is m MOD 4, where:
  9150. (1) byte offset 0 refers to register bits [7:0]
  9151. (2) byte offset 1 refers to register bits [15:8]
  9152. (3) byte offset 2 refers to register bits [23:16]
  9153. (4) byte offset 3 refers to register bits [31:24].</comment>
  9154. </bits>
  9155. </reg>
  9156. <reg name="gicd_itargetsr7" protect="rw">
  9157. <bits access="rw" name="cpu_targets" pos="31:0" rst="0">
  9158. <comment>The GICD_ITARGETSRs provide an 8-bit CPU targets field for each interrupt supported
  9159. by the GIC.This field stores the list of target processors for the interrupt. That is, it holds
  9160. the list of CPU interfaces to which the Distributor forwards the interrupt if it is asserted and
  9161. has sufficient priority.
  9162. GICD_ITARGETSR0 to GICD_ITARGETSR7 are read-only, and each field returns
  9163. a value that corresponds only to the processor reading the register.
  9164. Processors in the system number from 0, and each bit in a CPU targets field refers to the
  9165. corresponding processor. For example, a value of 0x3 means that the Pending
  9166. interrupt is sent to processors 0 and 1.
  9167. For GICD_ITARGETSR0 to GICD_ITARGETSR7, a read of any CPU targets field returns
  9168. the number of the processor performing the read.
  9169. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9170. a. the corresponding GICD_ITARGETSRn number, n, is given by n = m DIV 4
  9171. b. the offset of the required GICD_ITARGETSR is (0x800 + (4*n))
  9172. c. the byte offset of the required Priority field in this register is m MOD 4, where:
  9173. (1) byte offset 0 refers to register bits [7:0]
  9174. (2) byte offset 1 refers to register bits [15:8]
  9175. (3) byte offset 2 refers to register bits [23:16]
  9176. (4) byte offset 3 refers to register bits [31:24].</comment>
  9177. </bits>
  9178. </reg>
  9179. <reg name="gicd_itargetsr8" protect="rw">
  9180. <bits access="rw" name="cpu_targets" pos="31:0" rst="0">
  9181. <comment>The GICD_ITARGETSRs provide an 8-bit CPU targets field for each interrupt supported
  9182. by the GIC.This field stores the list of target processors for the interrupt. That is, it holds
  9183. the list of CPU interfaces to which the Distributor forwards the interrupt if it is asserted and
  9184. has sufficient priority.
  9185. GICD_ITARGETSR0 to GICD_ITARGETSR7 are read-only, and each field returns
  9186. a value that corresponds only to the processor reading the register.
  9187. Processors in the system number from 0, and each bit in a CPU targets field refers to the
  9188. corresponding processor. For example, a value of 0x3 means that the Pending
  9189. interrupt is sent to processors 0 and 1.
  9190. For GICD_ITARGETSR0 to GICD_ITARGETSR7, a read of any CPU targets field returns
  9191. the number of the processor performing the read.
  9192. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9193. a. the corresponding GICD_ITARGETSRn number, n, is given by n = m DIV 4
  9194. b. the offset of the required GICD_ITARGETSR is (0x800 + (4*n))
  9195. c. the byte offset of the required Priority field in this register is m MOD 4, where:
  9196. (1) byte offset 0 refers to register bits [7:0]
  9197. (2) byte offset 1 refers to register bits [15:8]
  9198. (3) byte offset 2 refers to register bits [23:16]
  9199. (4) byte offset 3 refers to register bits [31:24].</comment>
  9200. </bits>
  9201. </reg>
  9202. <reg name="gicd_itargetsr9" protect="rw">
  9203. <bits access="rw" name="cpu_targets" pos="31:0" rst="0">
  9204. <comment>The GICD_ITARGETSRs provide an 8-bit CPU targets field for each interrupt supported
  9205. by the GIC.This field stores the list of target processors for the interrupt. That is, it holds
  9206. the list of CPU interfaces to which the Distributor forwards the interrupt if it is asserted and
  9207. has sufficient priority.
  9208. GICD_ITARGETSR0 to GICD_ITARGETSR7 are read-only, and each field returns
  9209. a value that corresponds only to the processor reading the register.
  9210. Processors in the system number from 0, and each bit in a CPU targets field refers to the
  9211. corresponding processor. For example, a value of 0x3 means that the Pending
  9212. interrupt is sent to processors 0 and 1.
  9213. For GICD_ITARGETSR0 to GICD_ITARGETSR7, a read of any CPU targets field returns
  9214. the number of the processor performing the read.
  9215. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9216. a. the corresponding GICD_ITARGETSRn number, n, is given by n = m DIV 4
  9217. b. the offset of the required GICD_ITARGETSR is (0x800 + (4*n))
  9218. c. the byte offset of the required Priority field in this register is m MOD 4, where:
  9219. (1) byte offset 0 refers to register bits [7:0]
  9220. (2) byte offset 1 refers to register bits [15:8]
  9221. (3) byte offset 2 refers to register bits [23:16]
  9222. (4) byte offset 3 refers to register bits [31:24].</comment>
  9223. </bits>
  9224. </reg>
  9225. <reg name="gicd_itargetsr10" protect="rw">
  9226. <bits access="rw" name="cpu_targets" pos="31:0" rst="0">
  9227. <comment>The GICD_ITARGETSRs provide an 8-bit CPU targets field for each interrupt supported
  9228. by the GIC.This field stores the list of target processors for the interrupt. That is, it holds
  9229. the list of CPU interfaces to which the Distributor forwards the interrupt if it is asserted and
  9230. has sufficient priority.
  9231. GICD_ITARGETSR0 to GICD_ITARGETSR7 are read-only, and each field returns
  9232. a value that corresponds only to the processor reading the register.
  9233. Processors in the system number from 0, and each bit in a CPU targets field refers to the
  9234. corresponding processor. For example, a value of 0x3 means that the Pending
  9235. interrupt is sent to processors 0 and 1.
  9236. For GICD_ITARGETSR0 to GICD_ITARGETSR7, a read of any CPU targets field returns
  9237. the number of the processor performing the read.
  9238. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9239. a. the corresponding GICD_ITARGETSRn number, n, is given by n = m DIV 4
  9240. b. the offset of the required GICD_ITARGETSR is (0x800 + (4*n))
  9241. c. the byte offset of the required Priority field in this register is m MOD 4, where:
  9242. (1) byte offset 0 refers to register bits [7:0]
  9243. (2) byte offset 1 refers to register bits [15:8]
  9244. (3) byte offset 2 refers to register bits [23:16]
  9245. (4) byte offset 3 refers to register bits [31:24].</comment>
  9246. </bits>
  9247. </reg>
  9248. <reg name="gicd_itargetsr11" protect="rw">
  9249. <bits access="rw" name="cpu_targets" pos="31:0" rst="0">
  9250. <comment>The GICD_ITARGETSRs provide an 8-bit CPU targets field for each interrupt supported
  9251. by the GIC.This field stores the list of target processors for the interrupt. That is, it holds
  9252. the list of CPU interfaces to which the Distributor forwards the interrupt if it is asserted and
  9253. has sufficient priority.
  9254. GICD_ITARGETSR0 to GICD_ITARGETSR7 are read-only, and each field returns
  9255. a value that corresponds only to the processor reading the register.
  9256. Processors in the system number from 0, and each bit in a CPU targets field refers to the
  9257. corresponding processor. For example, a value of 0x3 means that the Pending
  9258. interrupt is sent to processors 0 and 1.
  9259. For GICD_ITARGETSR0 to GICD_ITARGETSR7, a read of any CPU targets field returns
  9260. the number of the processor performing the read.
  9261. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9262. a. the corresponding GICD_ITARGETSRn number, n, is given by n = m DIV 4
  9263. b. the offset of the required GICD_ITARGETSR is (0x800 + (4*n))
  9264. c. the byte offset of the required Priority field in this register is m MOD 4, where:
  9265. (1) byte offset 0 refers to register bits [7:0]
  9266. (2) byte offset 1 refers to register bits [15:8]
  9267. (3) byte offset 2 refers to register bits [23:16]
  9268. (4) byte offset 3 refers to register bits [31:24].</comment>
  9269. </bits>
  9270. </reg>
  9271. <reg name="gicd_itargetsr12" protect="rw">
  9272. <bits access="rw" name="cpu_targets" pos="31:0" rst="0">
  9273. <comment>The GICD_ITARGETSRs provide an 8-bit CPU targets field for each interrupt supported
  9274. by the GIC.This field stores the list of target processors for the interrupt. That is, it holds
  9275. the list of CPU interfaces to which the Distributor forwards the interrupt if it is asserted and
  9276. has sufficient priority.
  9277. GICD_ITARGETSR0 to GICD_ITARGETSR7 are read-only, and each field returns
  9278. a value that corresponds only to the processor reading the register.
  9279. Processors in the system number from 0, and each bit in a CPU targets field refers to the
  9280. corresponding processor. For example, a value of 0x3 means that the Pending
  9281. interrupt is sent to processors 0 and 1.
  9282. For GICD_ITARGETSR0 to GICD_ITARGETSR7, a read of any CPU targets field returns
  9283. the number of the processor performing the read.
  9284. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9285. a. the corresponding GICD_ITARGETSRn number, n, is given by n = m DIV 4
  9286. b. the offset of the required GICD_ITARGETSR is (0x800 + (4*n))
  9287. c. the byte offset of the required Priority field in this register is m MOD 4, where:
  9288. (1) byte offset 0 refers to register bits [7:0]
  9289. (2) byte offset 1 refers to register bits [15:8]
  9290. (3) byte offset 2 refers to register bits [23:16]
  9291. (4) byte offset 3 refers to register bits [31:24].</comment>
  9292. </bits>
  9293. </reg>
  9294. <reg name="gicd_itargetsr13" protect="rw">
  9295. <bits access="rw" name="cpu_targets" pos="31:0" rst="0">
  9296. <comment>The GICD_ITARGETSRs provide an 8-bit CPU targets field for each interrupt supported
  9297. by the GIC.This field stores the list of target processors for the interrupt. That is, it holds
  9298. the list of CPU interfaces to which the Distributor forwards the interrupt if it is asserted and
  9299. has sufficient priority.
  9300. GICD_ITARGETSR0 to GICD_ITARGETSR7 are read-only, and each field returns
  9301. a value that corresponds only to the processor reading the register.
  9302. Processors in the system number from 0, and each bit in a CPU targets field refers to the
  9303. corresponding processor. For example, a value of 0x3 means that the Pending
  9304. interrupt is sent to processors 0 and 1.
  9305. For GICD_ITARGETSR0 to GICD_ITARGETSR7, a read of any CPU targets field returns
  9306. the number of the processor performing the read.
  9307. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9308. a. the corresponding GICD_ITARGETSRn number, n, is given by n = m DIV 4
  9309. b. the offset of the required GICD_ITARGETSR is (0x800 + (4*n))
  9310. c. the byte offset of the required Priority field in this register is m MOD 4, where:
  9311. (1) byte offset 0 refers to register bits [7:0]
  9312. (2) byte offset 1 refers to register bits [15:8]
  9313. (3) byte offset 2 refers to register bits [23:16]
  9314. (4) byte offset 3 refers to register bits [31:24].</comment>
  9315. </bits>
  9316. </reg>
  9317. <reg name="gicd_itargetsr14" protect="rw">
  9318. <bits access="rw" name="cpu_targets" pos="31:0" rst="0">
  9319. <comment>The GICD_ITARGETSRs provide an 8-bit CPU targets field for each interrupt supported
  9320. by the GIC.This field stores the list of target processors for the interrupt. That is, it holds
  9321. the list of CPU interfaces to which the Distributor forwards the interrupt if it is asserted and
  9322. has sufficient priority.
  9323. GICD_ITARGETSR0 to GICD_ITARGETSR7 are read-only, and each field returns
  9324. a value that corresponds only to the processor reading the register.
  9325. Processors in the system number from 0, and each bit in a CPU targets field refers to the
  9326. corresponding processor. For example, a value of 0x3 means that the Pending
  9327. interrupt is sent to processors 0 and 1.
  9328. For GICD_ITARGETSR0 to GICD_ITARGETSR7, a read of any CPU targets field returns
  9329. the number of the processor performing the read.
  9330. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9331. a. the corresponding GICD_ITARGETSRn number, n, is given by n = m DIV 4
  9332. b. the offset of the required GICD_ITARGETSR is (0x800 + (4*n))
  9333. c. the byte offset of the required Priority field in this register is m MOD 4, where:
  9334. (1) byte offset 0 refers to register bits [7:0]
  9335. (2) byte offset 1 refers to register bits [15:8]
  9336. (3) byte offset 2 refers to register bits [23:16]
  9337. (4) byte offset 3 refers to register bits [31:24].</comment>
  9338. </bits>
  9339. </reg>
  9340. <reg name="gicd_itargetsr15" protect="rw">
  9341. <bits access="rw" name="cpu_targets" pos="31:0" rst="0">
  9342. <comment>The GICD_ITARGETSRs provide an 8-bit CPU targets field for each interrupt supported
  9343. by the GIC.This field stores the list of target processors for the interrupt. That is, it holds
  9344. the list of CPU interfaces to which the Distributor forwards the interrupt if it is asserted and
  9345. has sufficient priority.
  9346. GICD_ITARGETSR0 to GICD_ITARGETSR7 are read-only, and each field returns
  9347. a value that corresponds only to the processor reading the register.
  9348. Processors in the system number from 0, and each bit in a CPU targets field refers to the
  9349. corresponding processor. For example, a value of 0x3 means that the Pending
  9350. interrupt is sent to processors 0 and 1.
  9351. For GICD_ITARGETSR0 to GICD_ITARGETSR7, a read of any CPU targets field returns
  9352. the number of the processor performing the read.
  9353. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9354. a. the corresponding GICD_ITARGETSRn number, n, is given by n = m DIV 4
  9355. b. the offset of the required GICD_ITARGETSR is (0x800 + (4*n))
  9356. c. the byte offset of the required Priority field in this register is m MOD 4, where:
  9357. (1) byte offset 0 refers to register bits [7:0]
  9358. (2) byte offset 1 refers to register bits [15:8]
  9359. (3) byte offset 2 refers to register bits [23:16]
  9360. (4) byte offset 3 refers to register bits [31:24].</comment>
  9361. </bits>
  9362. </reg>
  9363. <reg name="gicd_itargetsr16" protect="rw">
  9364. <bits access="rw" name="cpu_targets" pos="31:0" rst="0">
  9365. <comment>The GICD_ITARGETSRs provide an 8-bit CPU targets field for each interrupt supported
  9366. by the GIC.This field stores the list of target processors for the interrupt. That is, it holds
  9367. the list of CPU interfaces to which the Distributor forwards the interrupt if it is asserted and
  9368. has sufficient priority.
  9369. GICD_ITARGETSR0 to GICD_ITARGETSR7 are read-only, and each field returns
  9370. a value that corresponds only to the processor reading the register.
  9371. Processors in the system number from 0, and each bit in a CPU targets field refers to the
  9372. corresponding processor. For example, a value of 0x3 means that the Pending
  9373. interrupt is sent to processors 0 and 1.
  9374. For GICD_ITARGETSR0 to GICD_ITARGETSR7, a read of any CPU targets field returns
  9375. the number of the processor performing the read.
  9376. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9377. a. the corresponding GICD_ITARGETSRn number, n, is given by n = m DIV 4
  9378. b. the offset of the required GICD_ITARGETSR is (0x800 + (4*n))
  9379. c. the byte offset of the required Priority field in this register is m MOD 4, where:
  9380. (1) byte offset 0 refers to register bits [7:0]
  9381. (2) byte offset 1 refers to register bits [15:8]
  9382. (3) byte offset 2 refers to register bits [23:16]
  9383. (4) byte offset 3 refers to register bits [31:24].</comment>
  9384. </bits>
  9385. </reg>
  9386. <reg name="gicd_itargetsr17" protect="rw">
  9387. <bits access="rw" name="cpu_targets" pos="31:0" rst="0">
  9388. <comment>The GICD_ITARGETSRs provide an 8-bit CPU targets field for each interrupt supported
  9389. by the GIC.This field stores the list of target processors for the interrupt. That is, it holds
  9390. the list of CPU interfaces to which the Distributor forwards the interrupt if it is asserted and
  9391. has sufficient priority.
  9392. GICD_ITARGETSR0 to GICD_ITARGETSR7 are read-only, and each field returns
  9393. a value that corresponds only to the processor reading the register.
  9394. Processors in the system number from 0, and each bit in a CPU targets field refers to the
  9395. corresponding processor. For example, a value of 0x3 means that the Pending
  9396. interrupt is sent to processors 0 and 1.
  9397. For GICD_ITARGETSR0 to GICD_ITARGETSR7, a read of any CPU targets field returns
  9398. the number of the processor performing the read.
  9399. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9400. a. the corresponding GICD_ITARGETSRn number, n, is given by n = m DIV 4
  9401. b. the offset of the required GICD_ITARGETSR is (0x800 + (4*n))
  9402. c. the byte offset of the required Priority field in this register is m MOD 4, where:
  9403. (1) byte offset 0 refers to register bits [7:0]
  9404. (2) byte offset 1 refers to register bits [15:8]
  9405. (3) byte offset 2 refers to register bits [23:16]
  9406. (4) byte offset 3 refers to register bits [31:24].</comment>
  9407. </bits>
  9408. </reg>
  9409. <reg name="gicd_itargetsr18" protect="rw">
  9410. <bits access="rw" name="cpu_targets" pos="31:0" rst="0">
  9411. <comment>The GICD_ITARGETSRs provide an 8-bit CPU targets field for each interrupt supported
  9412. by the GIC.This field stores the list of target processors for the interrupt. That is, it holds
  9413. the list of CPU interfaces to which the Distributor forwards the interrupt if it is asserted and
  9414. has sufficient priority.
  9415. GICD_ITARGETSR0 to GICD_ITARGETSR7 are read-only, and each field returns
  9416. a value that corresponds only to the processor reading the register.
  9417. Processors in the system number from 0, and each bit in a CPU targets field refers to the
  9418. corresponding processor. For example, a value of 0x3 means that the Pending
  9419. interrupt is sent to processors 0 and 1.
  9420. For GICD_ITARGETSR0 to GICD_ITARGETSR7, a read of any CPU targets field returns
  9421. the number of the processor performing the read.
  9422. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9423. a. the corresponding GICD_ITARGETSRn number, n, is given by n = m DIV 4
  9424. b. the offset of the required GICD_ITARGETSR is (0x800 + (4*n))
  9425. c. the byte offset of the required Priority field in this register is m MOD 4, where:
  9426. (1) byte offset 0 refers to register bits [7:0]
  9427. (2) byte offset 1 refers to register bits [15:8]
  9428. (3) byte offset 2 refers to register bits [23:16]
  9429. (4) byte offset 3 refers to register bits [31:24].</comment>
  9430. </bits>
  9431. </reg>
  9432. <reg name="gicd_itargetsr19" protect="rw">
  9433. <bits access="rw" name="cpu_targets" pos="31:0" rst="0">
  9434. <comment>The GICD_ITARGETSRs provide an 8-bit CPU targets field for each interrupt supported
  9435. by the GIC.This field stores the list of target processors for the interrupt. That is, it holds
  9436. the list of CPU interfaces to which the Distributor forwards the interrupt if it is asserted and
  9437. has sufficient priority.
  9438. GICD_ITARGETSR0 to GICD_ITARGETSR7 are read-only, and each field returns
  9439. a value that corresponds only to the processor reading the register.
  9440. Processors in the system number from 0, and each bit in a CPU targets field refers to the
  9441. corresponding processor. For example, a value of 0x3 means that the Pending
  9442. interrupt is sent to processors 0 and 1.
  9443. For GICD_ITARGETSR0 to GICD_ITARGETSR7, a read of any CPU targets field returns
  9444. the number of the processor performing the read.
  9445. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9446. a. the corresponding GICD_ITARGETSRn number, n, is given by n = m DIV 4
  9447. b. the offset of the required GICD_ITARGETSR is (0x800 + (4*n))
  9448. c. the byte offset of the required Priority field in this register is m MOD 4, where:
  9449. (1) byte offset 0 refers to register bits [7:0]
  9450. (2) byte offset 1 refers to register bits [15:8]
  9451. (3) byte offset 2 refers to register bits [23:16]
  9452. (4) byte offset 3 refers to register bits [31:24].</comment>
  9453. </bits>
  9454. </reg>
  9455. <reg name="gicd_itargetsr20" protect="rw">
  9456. <bits access="rw" name="cpu_targets" pos="31:0" rst="0">
  9457. <comment>The GICD_ITARGETSRs provide an 8-bit CPU targets field for each interrupt supported
  9458. by the GIC.This field stores the list of target processors for the interrupt. That is, it holds
  9459. the list of CPU interfaces to which the Distributor forwards the interrupt if it is asserted and
  9460. has sufficient priority.
  9461. GICD_ITARGETSR0 to GICD_ITARGETSR7 are read-only, and each field returns
  9462. a value that corresponds only to the processor reading the register.
  9463. Processors in the system number from 0, and each bit in a CPU targets field refers to the
  9464. corresponding processor. For example, a value of 0x3 means that the Pending
  9465. interrupt is sent to processors 0 and 1.
  9466. For GICD_ITARGETSR0 to GICD_ITARGETSR7, a read of any CPU targets field returns
  9467. the number of the processor performing the read.
  9468. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9469. a. the corresponding GICD_ITARGETSRn number, n, is given by n = m DIV 4
  9470. b. the offset of the required GICD_ITARGETSR is (0x800 + (4*n))
  9471. c. the byte offset of the required Priority field in this register is m MOD 4, where:
  9472. (1) byte offset 0 refers to register bits [7:0]
  9473. (2) byte offset 1 refers to register bits [15:8]
  9474. (3) byte offset 2 refers to register bits [23:16]
  9475. (4) byte offset 3 refers to register bits [31:24].</comment>
  9476. </bits>
  9477. </reg>
  9478. <reg name="gicd_itargetsr21" protect="rw">
  9479. <bits access="rw" name="cpu_targets" pos="31:0" rst="0">
  9480. <comment>The GICD_ITARGETSRs provide an 8-bit CPU targets field for each interrupt supported
  9481. by the GIC.This field stores the list of target processors for the interrupt. That is, it holds
  9482. the list of CPU interfaces to which the Distributor forwards the interrupt if it is asserted and
  9483. has sufficient priority.
  9484. GICD_ITARGETSR0 to GICD_ITARGETSR7 are read-only, and each field returns
  9485. a value that corresponds only to the processor reading the register.
  9486. Processors in the system number from 0, and each bit in a CPU targets field refers to the
  9487. corresponding processor. For example, a value of 0x3 means that the Pending
  9488. interrupt is sent to processors 0 and 1.
  9489. For GICD_ITARGETSR0 to GICD_ITARGETSR7, a read of any CPU targets field returns
  9490. the number of the processor performing the read.
  9491. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9492. a. the corresponding GICD_ITARGETSRn number, n, is given by n = m DIV 4
  9493. b. the offset of the required GICD_ITARGETSR is (0x800 + (4*n))
  9494. c. the byte offset of the required Priority field in this register is m MOD 4, where:
  9495. (1) byte offset 0 refers to register bits [7:0]
  9496. (2) byte offset 1 refers to register bits [15:8]
  9497. (3) byte offset 2 refers to register bits [23:16]
  9498. (4) byte offset 3 refers to register bits [31:24].</comment>
  9499. </bits>
  9500. </reg>
  9501. <reg name="gicd_itargetsr22" protect="rw">
  9502. <bits access="rw" name="cpu_targets" pos="31:0" rst="0">
  9503. <comment>The GICD_ITARGETSRs provide an 8-bit CPU targets field for each interrupt supported
  9504. by the GIC.This field stores the list of target processors for the interrupt. That is, it holds
  9505. the list of CPU interfaces to which the Distributor forwards the interrupt if it is asserted and
  9506. has sufficient priority.
  9507. GICD_ITARGETSR0 to GICD_ITARGETSR7 are read-only, and each field returns
  9508. a value that corresponds only to the processor reading the register.
  9509. Processors in the system number from 0, and each bit in a CPU targets field refers to the
  9510. corresponding processor. For example, a value of 0x3 means that the Pending
  9511. interrupt is sent to processors 0 and 1.
  9512. For GICD_ITARGETSR0 to GICD_ITARGETSR7, a read of any CPU targets field returns
  9513. the number of the processor performing the read.
  9514. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9515. a. the corresponding GICD_ITARGETSRn number, n, is given by n = m DIV 4
  9516. b. the offset of the required GICD_ITARGETSR is (0x800 + (4*n))
  9517. c. the byte offset of the required Priority field in this register is m MOD 4, where:
  9518. (1) byte offset 0 refers to register bits [7:0]
  9519. (2) byte offset 1 refers to register bits [15:8]
  9520. (3) byte offset 2 refers to register bits [23:16]
  9521. (4) byte offset 3 refers to register bits [31:24].</comment>
  9522. </bits>
  9523. </reg>
  9524. <reg name="gicd_itargetsr23" protect="rw">
  9525. <bits access="rw" name="cpu_targets" pos="31:0" rst="0">
  9526. <comment>The GICD_ITARGETSRs provide an 8-bit CPU targets field for each interrupt supported
  9527. by the GIC.This field stores the list of target processors for the interrupt. That is, it holds
  9528. the list of CPU interfaces to which the Distributor forwards the interrupt if it is asserted and
  9529. has sufficient priority.
  9530. GICD_ITARGETSR0 to GICD_ITARGETSR7 are read-only, and each field returns
  9531. a value that corresponds only to the processor reading the register.
  9532. Processors in the system number from 0, and each bit in a CPU targets field refers to the
  9533. corresponding processor. For example, a value of 0x3 means that the Pending
  9534. interrupt is sent to processors 0 and 1.
  9535. For GICD_ITARGETSR0 to GICD_ITARGETSR7, a read of any CPU targets field returns
  9536. the number of the processor performing the read.
  9537. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9538. a. the corresponding GICD_ITARGETSRn number, n, is given by n = m DIV 4
  9539. b. the offset of the required GICD_ITARGETSR is (0x800 + (4*n))
  9540. c. the byte offset of the required Priority field in this register is m MOD 4, where:
  9541. (1) byte offset 0 refers to register bits [7:0]
  9542. (2) byte offset 1 refers to register bits [15:8]
  9543. (3) byte offset 2 refers to register bits [23:16]
  9544. (4) byte offset 3 refers to register bits [31:24].</comment>
  9545. </bits>
  9546. </reg>
  9547. <reg name="gicd_itargetsr24" protect="rw">
  9548. <bits access="rw" name="cpu_targets" pos="31:0" rst="0">
  9549. <comment>The GICD_ITARGETSRs provide an 8-bit CPU targets field for each interrupt supported
  9550. by the GIC.This field stores the list of target processors for the interrupt. That is, it holds
  9551. the list of CPU interfaces to which the Distributor forwards the interrupt if it is asserted and
  9552. has sufficient priority.
  9553. GICD_ITARGETSR0 to GICD_ITARGETSR7 are read-only, and each field returns
  9554. a value that corresponds only to the processor reading the register.
  9555. Processors in the system number from 0, and each bit in a CPU targets field refers to the
  9556. corresponding processor. For example, a value of 0x3 means that the Pending
  9557. interrupt is sent to processors 0 and 1.
  9558. For GICD_ITARGETSR0 to GICD_ITARGETSR7, a read of any CPU targets field returns
  9559. the number of the processor performing the read.
  9560. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9561. a. the corresponding GICD_ITARGETSRn number, n, is given by n = m DIV 4
  9562. b. the offset of the required GICD_ITARGETSR is (0x800 + (4*n))
  9563. c. the byte offset of the required Priority field in this register is m MOD 4, where:
  9564. (1) byte offset 0 refers to register bits [7:0]
  9565. (2) byte offset 1 refers to register bits [15:8]
  9566. (3) byte offset 2 refers to register bits [23:16]
  9567. (4) byte offset 3 refers to register bits [31:24].</comment>
  9568. </bits>
  9569. </reg>
  9570. <reg name="gicd_itargetsr25" protect="rw">
  9571. <bits access="rw" name="cpu_targets" pos="31:0" rst="0">
  9572. <comment>The GICD_ITARGETSRs provide an 8-bit CPU targets field for each interrupt supported
  9573. by the GIC.This field stores the list of target processors for the interrupt. That is, it holds
  9574. the list of CPU interfaces to which the Distributor forwards the interrupt if it is asserted and
  9575. has sufficient priority.
  9576. GICD_ITARGETSR0 to GICD_ITARGETSR7 are read-only, and each field returns
  9577. a value that corresponds only to the processor reading the register.
  9578. Processors in the system number from 0, and each bit in a CPU targets field refers to the
  9579. corresponding processor. For example, a value of 0x3 means that the Pending
  9580. interrupt is sent to processors 0 and 1.
  9581. For GICD_ITARGETSR0 to GICD_ITARGETSR7, a read of any CPU targets field returns
  9582. the number of the processor performing the read.
  9583. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9584. a. the corresponding GICD_ITARGETSRn number, n, is given by n = m DIV 4
  9585. b. the offset of the required GICD_ITARGETSR is (0x800 + (4*n))
  9586. c. the byte offset of the required Priority field in this register is m MOD 4, where:
  9587. (1) byte offset 0 refers to register bits [7:0]
  9588. (2) byte offset 1 refers to register bits [15:8]
  9589. (3) byte offset 2 refers to register bits [23:16]
  9590. (4) byte offset 3 refers to register bits [31:24].</comment>
  9591. </bits>
  9592. </reg>
  9593. <reg name="gicd_itargetsr26" protect="rw">
  9594. <bits access="rw" name="cpu_targets" pos="31:0" rst="0">
  9595. <comment>The GICD_ITARGETSRs provide an 8-bit CPU targets field for each interrupt supported
  9596. by the GIC.This field stores the list of target processors for the interrupt. That is, it holds
  9597. the list of CPU interfaces to which the Distributor forwards the interrupt if it is asserted and
  9598. has sufficient priority.
  9599. GICD_ITARGETSR0 to GICD_ITARGETSR7 are read-only, and each field returns
  9600. a value that corresponds only to the processor reading the register.
  9601. Processors in the system number from 0, and each bit in a CPU targets field refers to the
  9602. corresponding processor. For example, a value of 0x3 means that the Pending
  9603. interrupt is sent to processors 0 and 1.
  9604. For GICD_ITARGETSR0 to GICD_ITARGETSR7, a read of any CPU targets field returns
  9605. the number of the processor performing the read.
  9606. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9607. a. the corresponding GICD_ITARGETSRn number, n, is given by n = m DIV 4
  9608. b. the offset of the required GICD_ITARGETSR is (0x800 + (4*n))
  9609. c. the byte offset of the required Priority field in this register is m MOD 4, where:
  9610. (1) byte offset 0 refers to register bits [7:0]
  9611. (2) byte offset 1 refers to register bits [15:8]
  9612. (3) byte offset 2 refers to register bits [23:16]
  9613. (4) byte offset 3 refers to register bits [31:24].</comment>
  9614. </bits>
  9615. </reg>
  9616. <reg name="gicd_itargetsr27" protect="rw">
  9617. <bits access="rw" name="cpu_targets" pos="31:0" rst="0">
  9618. <comment>The GICD_ITARGETSRs provide an 8-bit CPU targets field for each interrupt supported
  9619. by the GIC.This field stores the list of target processors for the interrupt. That is, it holds
  9620. the list of CPU interfaces to which the Distributor forwards the interrupt if it is asserted and
  9621. has sufficient priority.
  9622. GICD_ITARGETSR0 to GICD_ITARGETSR7 are read-only, and each field returns
  9623. a value that corresponds only to the processor reading the register.
  9624. Processors in the system number from 0, and each bit in a CPU targets field refers to the
  9625. corresponding processor. For example, a value of 0x3 means that the Pending
  9626. interrupt is sent to processors 0 and 1.
  9627. For GICD_ITARGETSR0 to GICD_ITARGETSR7, a read of any CPU targets field returns
  9628. the number of the processor performing the read.
  9629. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9630. a. the corresponding GICD_ITARGETSRn number, n, is given by n = m DIV 4
  9631. b. the offset of the required GICD_ITARGETSR is (0x800 + (4*n))
  9632. c. the byte offset of the required Priority field in this register is m MOD 4, where:
  9633. (1) byte offset 0 refers to register bits [7:0]
  9634. (2) byte offset 1 refers to register bits [15:8]
  9635. (3) byte offset 2 refers to register bits [23:16]
  9636. (4) byte offset 3 refers to register bits [31:24].</comment>
  9637. </bits>
  9638. </reg>
  9639. <reg name="gicd_itargetsr28" protect="rw">
  9640. <bits access="rw" name="cpu_targets" pos="31:0" rst="0">
  9641. <comment>The GICD_ITARGETSRs provide an 8-bit CPU targets field for each interrupt supported
  9642. by the GIC.This field stores the list of target processors for the interrupt. That is, it holds
  9643. the list of CPU interfaces to which the Distributor forwards the interrupt if it is asserted and
  9644. has sufficient priority.
  9645. GICD_ITARGETSR0 to GICD_ITARGETSR7 are read-only, and each field returns
  9646. a value that corresponds only to the processor reading the register.
  9647. Processors in the system number from 0, and each bit in a CPU targets field refers to the
  9648. corresponding processor. For example, a value of 0x3 means that the Pending
  9649. interrupt is sent to processors 0 and 1.
  9650. For GICD_ITARGETSR0 to GICD_ITARGETSR7, a read of any CPU targets field returns
  9651. the number of the processor performing the read.
  9652. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9653. a. the corresponding GICD_ITARGETSRn number, n, is given by n = m DIV 4
  9654. b. the offset of the required GICD_ITARGETSR is (0x800 + (4*n))
  9655. c. the byte offset of the required Priority field in this register is m MOD 4, where:
  9656. (1) byte offset 0 refers to register bits [7:0]
  9657. (2) byte offset 1 refers to register bits [15:8]
  9658. (3) byte offset 2 refers to register bits [23:16]
  9659. (4) byte offset 3 refers to register bits [31:24].</comment>
  9660. </bits>
  9661. </reg>
  9662. <reg name="gicd_itargetsr29" protect="rw">
  9663. <bits access="rw" name="cpu_targets" pos="31:0" rst="0">
  9664. <comment>The GICD_ITARGETSRs provide an 8-bit CPU targets field for each interrupt supported
  9665. by the GIC.This field stores the list of target processors for the interrupt. That is, it holds
  9666. the list of CPU interfaces to which the Distributor forwards the interrupt if it is asserted and
  9667. has sufficient priority.
  9668. GICD_ITARGETSR0 to GICD_ITARGETSR7 are read-only, and each field returns
  9669. a value that corresponds only to the processor reading the register.
  9670. Processors in the system number from 0, and each bit in a CPU targets field refers to the
  9671. corresponding processor. For example, a value of 0x3 means that the Pending
  9672. interrupt is sent to processors 0 and 1.
  9673. For GICD_ITARGETSR0 to GICD_ITARGETSR7, a read of any CPU targets field returns
  9674. the number of the processor performing the read.
  9675. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9676. a. the corresponding GICD_ITARGETSRn number, n, is given by n = m DIV 4
  9677. b. the offset of the required GICD_ITARGETSR is (0x800 + (4*n))
  9678. c. the byte offset of the required Priority field in this register is m MOD 4, where:
  9679. (1) byte offset 0 refers to register bits [7:0]
  9680. (2) byte offset 1 refers to register bits [15:8]
  9681. (3) byte offset 2 refers to register bits [23:16]
  9682. (4) byte offset 3 refers to register bits [31:24].</comment>
  9683. </bits>
  9684. </reg>
  9685. <reg name="gicd_itargetsr30" protect="rw">
  9686. <bits access="rw" name="cpu_targets" pos="31:0" rst="0">
  9687. <comment>The GICD_ITARGETSRs provide an 8-bit CPU targets field for each interrupt supported
  9688. by the GIC.This field stores the list of target processors for the interrupt. That is, it holds
  9689. the list of CPU interfaces to which the Distributor forwards the interrupt if it is asserted and
  9690. has sufficient priority.
  9691. GICD_ITARGETSR0 to GICD_ITARGETSR7 are read-only, and each field returns
  9692. a value that corresponds only to the processor reading the register.
  9693. Processors in the system number from 0, and each bit in a CPU targets field refers to the
  9694. corresponding processor. For example, a value of 0x3 means that the Pending
  9695. interrupt is sent to processors 0 and 1.
  9696. For GICD_ITARGETSR0 to GICD_ITARGETSR7, a read of any CPU targets field returns
  9697. the number of the processor performing the read.
  9698. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9699. a. the corresponding GICD_ITARGETSRn number, n, is given by n = m DIV 4
  9700. b. the offset of the required GICD_ITARGETSR is (0x800 + (4*n))
  9701. c. the byte offset of the required Priority field in this register is m MOD 4, where:
  9702. (1) byte offset 0 refers to register bits [7:0]
  9703. (2) byte offset 1 refers to register bits [15:8]
  9704. (3) byte offset 2 refers to register bits [23:16]
  9705. (4) byte offset 3 refers to register bits [31:24].</comment>
  9706. </bits>
  9707. </reg>
  9708. <reg name="gicd_itargetsr31" protect="rw">
  9709. <bits access="rw" name="cpu_targets" pos="31:0" rst="0">
  9710. <comment>The GICD_ITARGETSRs provide an 8-bit CPU targets field for each interrupt supported
  9711. by the GIC.This field stores the list of target processors for the interrupt. That is, it holds
  9712. the list of CPU interfaces to which the Distributor forwards the interrupt if it is asserted and
  9713. has sufficient priority.
  9714. GICD_ITARGETSR0 to GICD_ITARGETSR7 are read-only, and each field returns
  9715. a value that corresponds only to the processor reading the register.
  9716. Processors in the system number from 0, and each bit in a CPU targets field refers to the
  9717. corresponding processor. For example, a value of 0x3 means that the Pending
  9718. interrupt is sent to processors 0 and 1.
  9719. For GICD_ITARGETSR0 to GICD_ITARGETSR7, a read of any CPU targets field returns
  9720. the number of the processor performing the read.
  9721. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9722. a. the corresponding GICD_ITARGETSRn number, n, is given by n = m DIV 4
  9723. b. the offset of the required GICD_ITARGETSR is (0x800 + (4*n))
  9724. c. the byte offset of the required Priority field in this register is m MOD 4, where:
  9725. (1) byte offset 0 refers to register bits [7:0]
  9726. (2) byte offset 1 refers to register bits [15:8]
  9727. (3) byte offset 2 refers to register bits [23:16]
  9728. (4) byte offset 3 refers to register bits [31:24].</comment>
  9729. </bits>
  9730. </reg>
  9731. <hole size="7168"/>
  9732. <reg name="gicd_icfgr0" protect="rw">
  9733. <bits access="rw" name="int_config" pos="31:0" rst="2863311530">
  9734. <comment>The GICD_ICFGRs provide a 2-bit Int_config field for each interrupt supported by the GIC.
  9735. For Int_config[1], the most significant bit, bit [2F+1], the encoding is:
  9736. 0 Corresponding interrupt is level-sensitive.
  9737. 1 Corresponding interrupt is edge-triggered.
  9738. Int_config[0], the least significant bit, bit [2F], reserved
  9739. For SGIs:
  9740. Int_config[1] Not programmable, RAO/WI.
  9741. For PPIs:
  9742. Int_config[1] Not programmable, RAZ/WI.
  9743. For SPIs:
  9744. Int_config[1] For SPIs, this bit is programmable. A read of this bit always returns the correct value
  9745. to indicate whether the corresponding interrupt is level-sensitive or edge-triggered.
  9746. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9747. a. the corresponding GICD_ICFGR number, n, is given by n = m DIV 16
  9748. b. the offset of the required GICD_ICFGRn is (0xC00 + (4*n))
  9749. c. the required Priority field in this register, F, is given by F = m MOD 16, where field 0 refers to register bits
  9750. [1:0], field 1 refers to bits [3:2], up to field 15 that refers to bits [31:30].</comment>
  9751. </bits>
  9752. </reg>
  9753. <reg name="gicd_icfgr1" protect="rw">
  9754. <bits access="rw" name="int_config" pos="31:0" rst="1431568384">
  9755. <comment>The GICD_ICFGRs provide a 2-bit Int_config field for each interrupt supported by the GIC.
  9756. For Int_config[1], the most significant bit, bit [2F+1], the encoding is:
  9757. 0 Corresponding interrupt is level-sensitive.
  9758. 1 Corresponding interrupt is edge-triggered.
  9759. Int_config[0], the least significant bit, bit [2F], reserved
  9760. For SGIs:
  9761. Int_config[1] Not programmable, RAO/WI.
  9762. For PPIs:
  9763. Int_config[1] Not programmable, RAZ/WI.
  9764. For SPIs:
  9765. Int_config[1] For SPIs, this bit is programmable. A read of this bit always returns the correct value
  9766. to indicate whether the corresponding interrupt is level-sensitive or edge-triggered.
  9767. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9768. a. the corresponding GICD_ICFGR number, n, is given by n = m DIV 16
  9769. b. the offset of the required GICD_ICFGRn is (0xC00 + (4*n))
  9770. c. the required Priority field in this register, F, is given by F = m MOD 16, where field 0 refers to register bits
  9771. [1:0], field 1 refers to bits [3:2], up to field 15 that refers to bits [31:30].</comment>
  9772. </bits>
  9773. </reg>
  9774. <reg name="gicd_icfgr2" protect="rw">
  9775. <bits access="rw" name="int_config" pos="31:0" rst="1431655765">
  9776. <comment>The GICD_ICFGRs provide a 2-bit Int_config field for each interrupt supported by the GIC.
  9777. For Int_config[1], the most significant bit, bit [2F+1], the encoding is:
  9778. 0 Corresponding interrupt is level-sensitive.
  9779. 1 Corresponding interrupt is edge-triggered.
  9780. Int_config[0], the least significant bit, bit [2F], reserved
  9781. For SGIs:
  9782. Int_config[1] Not programmable, RAO/WI.
  9783. For PPIs:
  9784. Int_config[1] Not programmable, RAZ/WI.
  9785. For SPIs:
  9786. Int_config[1] For SPIs, this bit is programmable. A read of this bit always returns the correct value
  9787. to indicate whether the corresponding interrupt is level-sensitive or edge-triggered.
  9788. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9789. a. the corresponding GICD_ICFGR number, n, is given by n = m DIV 16
  9790. b. the offset of the required GICD_ICFGRn is (0xC00 + (4*n))
  9791. c. the required Priority field in this register, F, is given by F = m MOD 16, where field 0 refers to register bits
  9792. [1:0], field 1 refers to bits [3:2], up to field 15 that refers to bits [31:30].</comment>
  9793. </bits>
  9794. </reg>
  9795. <reg name="gicd_icfgr3" protect="rw">
  9796. <bits access="rw" name="int_config" pos="31:0" rst="1431655765">
  9797. <comment>The GICD_ICFGRs provide a 2-bit Int_config field for each interrupt supported by the GIC.
  9798. For Int_config[1], the most significant bit, bit [2F+1], the encoding is:
  9799. 0 Corresponding interrupt is level-sensitive.
  9800. 1 Corresponding interrupt is edge-triggered.
  9801. Int_config[0], the least significant bit, bit [2F], reserved
  9802. For SGIs:
  9803. Int_config[1] Not programmable, RAO/WI.
  9804. For PPIs:
  9805. Int_config[1] Not programmable, RAZ/WI.
  9806. For SPIs:
  9807. Int_config[1] For SPIs, this bit is programmable. A read of this bit always returns the correct value
  9808. to indicate whether the corresponding interrupt is level-sensitive or edge-triggered.
  9809. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9810. a. the corresponding GICD_ICFGR number, n, is given by n = m DIV 16
  9811. b. the offset of the required GICD_ICFGRn is (0xC00 + (4*n))
  9812. c. the required Priority field in this register, F, is given by F = m MOD 16, where field 0 refers to register bits
  9813. [1:0], field 1 refers to bits [3:2], up to field 15 that refers to bits [31:30].</comment>
  9814. </bits>
  9815. </reg>
  9816. <reg name="gicd_icfgr4" protect="rw">
  9817. <bits access="rw" name="int_config" pos="31:0" rst="1431655765">
  9818. <comment>The GICD_ICFGRs provide a 2-bit Int_config field for each interrupt supported by the GIC.
  9819. For Int_config[1], the most significant bit, bit [2F+1], the encoding is:
  9820. 0 Corresponding interrupt is level-sensitive.
  9821. 1 Corresponding interrupt is edge-triggered.
  9822. Int_config[0], the least significant bit, bit [2F], reserved
  9823. For SGIs:
  9824. Int_config[1] Not programmable, RAO/WI.
  9825. For PPIs:
  9826. Int_config[1] Not programmable, RAZ/WI.
  9827. For SPIs:
  9828. Int_config[1] For SPIs, this bit is programmable. A read of this bit always returns the correct value
  9829. to indicate whether the corresponding interrupt is level-sensitive or edge-triggered.
  9830. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9831. a. the corresponding GICD_ICFGR number, n, is given by n = m DIV 16
  9832. b. the offset of the required GICD_ICFGRn is (0xC00 + (4*n))
  9833. c. the required Priority field in this register, F, is given by F = m MOD 16, where field 0 refers to register bits
  9834. [1:0], field 1 refers to bits [3:2], up to field 15 that refers to bits [31:30].</comment>
  9835. </bits>
  9836. </reg>
  9837. <reg name="gicd_icfgr5" protect="rw">
  9838. <bits access="rw" name="int_config" pos="31:0" rst="1431655765">
  9839. <comment>The GICD_ICFGRs provide a 2-bit Int_config field for each interrupt supported by the GIC.
  9840. For Int_config[1], the most significant bit, bit [2F+1], the encoding is:
  9841. 0 Corresponding interrupt is level-sensitive.
  9842. 1 Corresponding interrupt is edge-triggered.
  9843. Int_config[0], the least significant bit, bit [2F], reserved
  9844. For SGIs:
  9845. Int_config[1] Not programmable, RAO/WI.
  9846. For PPIs:
  9847. Int_config[1] Not programmable, RAZ/WI.
  9848. For SPIs:
  9849. Int_config[1] For SPIs, this bit is programmable. A read of this bit always returns the correct value
  9850. to indicate whether the corresponding interrupt is level-sensitive or edge-triggered.
  9851. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9852. a. the corresponding GICD_ICFGR number, n, is given by n = m DIV 16
  9853. b. the offset of the required GICD_ICFGRn is (0xC00 + (4*n))
  9854. c. the required Priority field in this register, F, is given by F = m MOD 16, where field 0 refers to register bits
  9855. [1:0], field 1 refers to bits [3:2], up to field 15 that refers to bits [31:30].</comment>
  9856. </bits>
  9857. </reg>
  9858. <reg name="gicd_icfgr6" protect="rw">
  9859. <bits access="rw" name="int_config" pos="31:0" rst="1431655765">
  9860. <comment>The GICD_ICFGRs provide a 2-bit Int_config field for each interrupt supported by the GIC.
  9861. For Int_config[1], the most significant bit, bit [2F+1], the encoding is:
  9862. 0 Corresponding interrupt is level-sensitive.
  9863. 1 Corresponding interrupt is edge-triggered.
  9864. Int_config[0], the least significant bit, bit [2F], reserved
  9865. For SGIs:
  9866. Int_config[1] Not programmable, RAO/WI.
  9867. For PPIs:
  9868. Int_config[1] Not programmable, RAZ/WI.
  9869. For SPIs:
  9870. Int_config[1] For SPIs, this bit is programmable. A read of this bit always returns the correct value
  9871. to indicate whether the corresponding interrupt is level-sensitive or edge-triggered.
  9872. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9873. a. the corresponding GICD_ICFGR number, n, is given by n = m DIV 16
  9874. b. the offset of the required GICD_ICFGRn is (0xC00 + (4*n))
  9875. c. the required Priority field in this register, F, is given by F = m MOD 16, where field 0 refers to register bits
  9876. [1:0], field 1 refers to bits [3:2], up to field 15 that refers to bits [31:30].</comment>
  9877. </bits>
  9878. </reg>
  9879. <reg name="gicd_icfgr7" protect="rw">
  9880. <bits access="rw" name="int_config" pos="31:0" rst="1431655765">
  9881. <comment>The GICD_ICFGRs provide a 2-bit Int_config field for each interrupt supported by the GIC.
  9882. For Int_config[1], the most significant bit, bit [2F+1], the encoding is:
  9883. 0 Corresponding interrupt is level-sensitive.
  9884. 1 Corresponding interrupt is edge-triggered.
  9885. Int_config[0], the least significant bit, bit [2F], reserved
  9886. For SGIs:
  9887. Int_config[1] Not programmable, RAO/WI.
  9888. For PPIs:
  9889. Int_config[1] Not programmable, RAZ/WI.
  9890. For SPIs:
  9891. Int_config[1] For SPIs, this bit is programmable. A read of this bit always returns the correct value
  9892. to indicate whether the corresponding interrupt is level-sensitive or edge-triggered.
  9893. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9894. a. the corresponding GICD_ICFGR number, n, is given by n = m DIV 16
  9895. b. the offset of the required GICD_ICFGRn is (0xC00 + (4*n))
  9896. c. the required Priority field in this register, F, is given by F = m MOD 16, where field 0 refers to register bits
  9897. [1:0], field 1 refers to bits [3:2], up to field 15 that refers to bits [31:30].</comment>
  9898. </bits>
  9899. </reg>
  9900. <hole size="1792"/>
  9901. <reg name="gicd_ppisr" protect="r">
  9902. <bits access="r" name="ppi_status" pos="15:9" rst="0">
  9903. <comment>Asserted when the PPI inputs to the Distributor are active.
  9904. ID 31 nLEGACYIRQ signal
  9905. ID 30 Non-secure physical timer event
  9906. ID 29 Secure physical timer event
  9907. ID 28 nLEGACYFIQ signal
  9908. ID 27 Virtual timer event
  9909. ID 26 Hypervisor timer event
  9910. ID 25 Virtual maintenance interrupt.</comment>
  9911. </bits>
  9912. </reg>
  9913. <reg count="3" name="gicd_spisrn" protect="r">
  9914. <bits access="r" name="spis_status" pos="31:0" rst="0">
  9915. <comment>Returns the status of the IRQS inputs on the Distributor. For each bit:
  9916. 0 IRQS is LOW
  9917. 1 IRQS is HIGH.</comment>
  9918. </bits>
  9919. </reg>
  9920. <hole size="1920"/>
  9921. <reg count="8" name="gicd_nsacrn" protect="rw">
  9922. <bits access="rw" name="ns_access" pos="31:0" rst="0">
  9923. <comment>The GICD_NSACRs enable Secure software to permit Non-secure software on a particular
  9924. processor to create and manage Group 0 interrupts. They provide an access control for each
  9925. implemented interrupt.
  9926. If the corresponding interrupt does not support configurable Non-secure access, the field is
  9927. RAZ/WI. Otherwise, the field is RW and configures the level of Non-secure access permitted
  9928. when the interrupt is in Group 0. If the interrupt is in Group 1, this field is ignored. The possible
  9929. values of the field are:
  9930. 0b00 No Non-secure access is permitted to fields associated with the corresponding
  9931. interrupt.
  9932. 0b01 Non-secure write access is permitted to fields associated with the corresponding
  9933. interrupt in the GICD_ISPENDRn registers. A Non-secure write access to
  9934. GICD_SGIR is permitted to generate a Group 0 SGI for the corresponding
  9935. interrupt.
  9936. 0b10 Adds Non-secure write access permission to fields associated with the
  9937. corresponding interrupt in the GICD_ICPENDRn registers. Also adds
  9938. Non-secure read access permission to fields associated with the corresponding
  9939. interrupt in the GICD_ISACTIVERn and GICD_ICACTIVERn registers.
  9940. 0b11 Adds Non-secure read and write access permission to fields associated with the
  9941. corresponding interrupt in the GICD_ITARGETSRn registers.
  9942. The GICD_NSACRn registers do not support PPI accesses, meaning that GICD_NSACR0 bits [31:16] are
  9943. RAZ/WI.
  9944. For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
  9945. a. the corresponding GICD_NSACR number, n, is given by n = m DIV 16
  9946. b. the offset of the required GICD_NSACRn is (0xE00 + (4*n)).</comment>
  9947. </bits>
  9948. </reg>
  9949. <hole size="1792"/>
  9950. <reg name="gicd_sgir" protect="rw">
  9951. <bits access="w" name="targetlistfilter" pos="25:24" rst="0">
  9952. <comment>Determines how the distributor must process the requested SGI:
  9953. 0b00 Forward the interrupt to the CPU interfaces specified in the CPUTargetList fielda.
  9954. 0b01 Forward the interrupt to all CPU interfaces except that of the processor that requested the
  9955. interrupt.
  9956. 0b10 Forward the interrupt only to the CPU interface of the processor that requested the
  9957. interrupt.
  9958. 0b11 Reserved.</comment>
  9959. </bits>
  9960. <bits access="w" name="cputargetlist" pos="23:16" rst="0">
  9961. <comment>When TargetList Filter = 0b00, defines the CPU interfaces to which the Distributor must forward the
  9962. interrupt.
  9963. Each bit of CPUTargetList[7:0] refers to the corresponding CPU interface, for example
  9964. CPUTargetList[0] corresponds to CPU interface 0. Setting a bit to 1 indicates that the interrupt must be
  9965. forwarded to the corresponding interface.
  9966. If this field is 0x00 when TargetListFilter is 0b00, the Distributor does not forward the interrupt to any
  9967. CPU interface.</comment>
  9968. </bits>
  9969. <bits access="w" name="nsatt" pos="15" rst="0">
  9970. <comment>Implemented only if the GIC includes the Security Extensions.
  9971. Specifies the required security value of the SGI:
  9972. 0 Forward the SGI specified in the SGIINTID field to a specified CPU interface only if the
  9973. SGI is configured as Group 0 on that interface.
  9974. 1 Forward the SGI specified in the SGIINTID field to a specified CPU interfaces only if
  9975. the SGI is configured as Group 1 on that interface.
  9976. This field is writable only by a Secure access. Any Non-secure write to the GICD_SGIR generates an
  9977. SGI only if the specified SGI is programmed as Group 1, regardless of the value of bit[15] of the write.</comment>
  9978. </bits>
  9979. <bits access="w" name="sgiintid" pos="3:0" rst="0">
  9980. <comment>The Interrupt ID of the SGI to forward to the specified CPU interfaces. The value of this field is the
  9981. Interrupt ID, in the range 0-15, for example a value of 0b0011 specifies Interrupt ID 3.</comment>
  9982. </bits>
  9983. </reg>
  9984. <hole size="96"/>
  9985. <reg count="4" name="gicd_cpendsgirn" protect="rw">
  9986. <bits access="rw" name="sgi_clear_pending" pos="31:0" rst="0">
  9987. <comment>The GICD_CPENDSGIRs provide a clear-pending bit for each supported SGI and source
  9988. processor combination.
  9989. For each bit:
  9990. Reads 0 SGI x from the corresponding processor is not pending.
  9991. 1 SGI x from the corresponding processor is pending.
  9992. Writes 0 Has no effect.
  9993. 1 Removes the pending state of SGI x for the corresponding processor.
  9994. For SGI ID x, generated by CPU C writing to its GICD_SGIR, when DIV and MOD are the integer division and
  9995. modulo operations:
  9996. a. the corresponding GICD_CPENDSGIR register number, n, is given by n = x DIV 4
  9997. b. the offset of the required GICD_CPENDSGIR is (0xF10 + (4*n));
  9998. c. the SGI Clear-pending field offset, y, is given by y = x MOD 4
  9999. d. the required bit in the SGI x Clear-pending field is bit C.</comment>
  10000. </bits>
  10001. </reg>
  10002. <reg count="4" name="gicd_spendsgirn" protect="rw">
  10003. <bits access="rw" name="sgi_set_pending" pos="31:0" rst="0">
  10004. <comment>The GICD_SPENDSGIRn registers provide a set-pending bit for each supported SGI and
  10005. source processor combination.
  10006. For each bit:
  10007. Reads 0 SGI x for the corresponding processor is not pendinga.
  10008. 1 SGI x for the corresponding processor is pendinga.
  10009. Writes 0 Has no effect.
  10010. 1 Adds the pending state of SGI x for the corresponding processor,
  10011. if it is not already pending. If SGI x is already pending for the
  10012. corresponding processor then the write has no effect.
  10013. For SGI ID x, generated by CPU C writing to its GICD_SGIR, when DIV and MOD are the integer division and
  10014. modulo operations:
  10015. a. the corresponding GICD_SPENDSGIR register number, n, is given by n = x DIV 4
  10016. b. the offset of the required GICD_SPENDSGIR is (0xF20 + (4*n))
  10017. c. the SGI Set-pending field offset, y, is given by y = x MOD 4
  10018. d. the required bit in the SGI x Set-pending field is bit C.</comment>
  10019. </bits>
  10020. </reg>
  10021. <hole size="1664"/>
  10022. <reg name="gicc_ctrl" protect="rw">
  10023. <bits access="rw" name="eoimodens" pos="10" rst="0">
  10024. <comment>Alias of EOImodeNS from the Non-secure copy of this register.</comment>
  10025. </bits>
  10026. <bits access="rw" name="eoimodes" pos="9" rst="0">
  10027. <comment>Controls the behavior of accesses to GICC_EOIR and GICC_DIR registers. In a GIC implementation
  10028. that includes the Security Extensions, this control applies only to Secure accesses, and the EOImodeNS
  10029. bit controls the behavior of Non-secure accesses to these registers:
  10030. 0 GICC_EOIR has both priority drop and deactivate interrupt functionality. Accesses to
  10031. the GICC_DIR are UNPREDICTABLE.
  10032. 1 GICC_EOIR has priority drop functionality only. GICC_DIR has deactivate interrupt
  10033. functionality.</comment>
  10034. </bits>
  10035. <bits access="rw" name="irqbypdisgrp1" pos="8" rst="0">
  10036. <comment>Alias of IRQBypDisGrp1 from the Non-secure copy of this register.</comment>
  10037. </bits>
  10038. <bits access="rw" name="fiqbypdisgrp1" pos="7" rst="0">
  10039. <comment>Alias of FIQBypDisGrp1 from the Non-secure copy of this register.</comment>
  10040. </bits>
  10041. <bits access="rw" name="irqbypdisgrp0" pos="6" rst="0">
  10042. <comment>When the signaling of IRQs by the CPU interface is disabled, this bit partly controls whether the bypass
  10043. IRQ signal is signaled to the processor:
  10044. 0 Bypass IRQ signal is signaled to the processor
  10045. 1 Bypass IRQ signal is not signaled to the processor.</comment>
  10046. </bits>
  10047. <bits access="rw" name="fiqbypdisgrp0" pos="5" rst="0">
  10048. <comment>When the signaling of FIQs by the CPU interface is disabled, this bit partly controls whether the bypass
  10049. FIQ signal is signaled to the processor:
  10050. 0 Bypass FIQ signal is signaled to the processor
  10051. 1 Bypass FIQ signal is not signaled to the processor.</comment>
  10052. </bits>
  10053. <bits access="rw" name="cbpr" pos="4" rst="0">
  10054. <comment>Controls whether the GICC_BPR provides common control to Group 0 and Group 1 interrupts.
  10055. 0 To determine any preemption, use:
  10056. ? the GICC_BPR for Group 0 interrupts
  10057. ? the GICC_ABPR for Group 1 interrupts.
  10058. 1 To determine any preemption use the GICC_BPR for both Group 0 and Group 1
  10059. interrupts.</comment>
  10060. </bits>
  10061. <bits access="rw" name="fiqen" pos="3" rst="0">
  10062. <comment>Controls whether the CPU interface signals Group 0 interrupts to a target processor using the FIQ or
  10063. the IRQ signal.
  10064. 0 Signal Group 0 interrupts using the IRQ signal.
  10065. 1 Signal Group 0 interrupts using the FIQ signal.
  10066. The GIC always signals Group 1 interrupts using the IRQ signal.</comment>
  10067. </bits>
  10068. <bits access="rw" name="ackctl" pos="2" rst="0">
  10069. <comment>When the highest priority pending interrupt is a Group 1 interrupt, determines both:
  10070. ? whether a read of GICC_IAR acknowledges the interrupt, or returns a spurious interrupt ID
  10071. ? whether a read of GICC_HPPIR returns the ID of the highest priority pending interrupt, or
  10072. returns a spurious interrupt ID.
  10073. 0 If the highest priority pending interrupt is a Group 1 interrupt, a read of the GICC_IAR
  10074. or the GICC_HPPIR returns an Interrupt ID of 1022. A read of the GICC_IAR does
  10075. not acknowledge the interrupt, and has no effect on the pending status of the interrupt.
  10076. 1 If the highest priority pending interrupt is a Group 1 interrupt, a read of the GICC_IAR
  10077. or the GICC_HPPIR returns the Interrupt ID of the Group 1 interrupt. A read of
  10078. GICC_IAR acknowledges and Activates the interrupt.</comment>
  10079. </bits>
  10080. <bits access="rw" name="enablegrp1" pos="1" rst="0">
  10081. <comment>Enable for the signaling of Group 1 interrupts by the CPU interface to the connected processor:
  10082. 0 Disable signaling of Group 1 interrupts.
  10083. 1 Enable signaling of Group 1 interrupts.</comment>
  10084. </bits>
  10085. <bits access="rw" name="enablegrp0" pos="0" rst="0">
  10086. <comment>Enable for the signaling of Group 0 interrupts by the CPU interface to the connected processor:
  10087. 0 Disable signaling of Group 0 interrupts.
  10088. 1 Enable signaling of Group 0 interrupts.</comment>
  10089. </bits>
  10090. </reg>
  10091. <reg name="gicc_pmr" protect="rw">
  10092. <bits access="rw" name="priority" pos="7:0" rst="0">
  10093. <comment>The priority mask level for the CPU interface. If the priority of an interrupt is higher than the
  10094. value indicated by this field, the interface signals the interrupt to the processor.
  10095. If the GIC supports fewer than 256 priority levels then some bits are RAZ/WI, as follows:
  10096. 128 supported levels Bit [0] = 0.
  10097. 64 supported levels Bit [1:0] = 0b00.
  10098. 32 supported levels Bit [2:0] = 0b000.
  10099. 16 supported levels Bit [3:0] = 0b0000.</comment>
  10100. </bits>
  10101. </reg>
  10102. <reg name="gicc_bpr" protect="rw">
  10103. <bits access="rw" name="binary_point" pos="2:0" rst="2">
  10104. <comment>The value of this field controls how the 8-bit interrupt priority field is split into a group
  10105. priority field, used to determine interrupt preemption, and a subpriority field.
  10106. The minimum value of the Binary Point Register depends on which
  10107. security-banked copy is considered:
  10108. 0x2 Secure copy
  10109. 0x3 Non-secure copy</comment>
  10110. </bits>
  10111. </reg>
  10112. <reg name="gicc_iar" protect="r">
  10113. <bits access="r" name="cpuid" pos="12:10" rst="0">
  10114. <comment>For SGIs in a multiprocessor implementation, this field identifies the processor that
  10115. requested the interrupt. It returns the number of the CPU interface that made the
  10116. request, for example a value of 3 means the request was generated by a write to the
  10117. GICD_SGIR on CPU interface 3.
  10118. For all other interrupts this field is RAZ.</comment>
  10119. </bits>
  10120. <bits access="r" name="interrupt_id" pos="9:0" rst="1023">
  10121. <comment>The interrupt ID.</comment>
  10122. </bits>
  10123. </reg>
  10124. <reg name="gicc_eoir" protect="rw">
  10125. <bits access="w" name="cpuid" pos="12:10" rst="0">
  10126. <comment>On a multiprocessor implementation, if the write refers to an SGI, this
  10127. the CPUID value from the corresponding GICC_IAR access.
  10128. In all other cases this field SBZ.</comment>
  10129. </bits>
  10130. <bits access="w" name="eoiintid" pos="9:0" rst="0">
  10131. <comment>The Interrupt ID value from the corresponding GICC_IAR access.</comment>
  10132. </bits>
  10133. </reg>
  10134. <reg name="gicc_rpr" protect="r">
  10135. <bits access="r" name="priority" pos="7:0" rst="255">
  10136. <comment>The current running priority on the CPU interface.</comment>
  10137. </bits>
  10138. </reg>
  10139. <reg name="gicc_hppir" protect="r">
  10140. <bits access="r" name="cpuid" pos="12:10" rst="0">
  10141. <comment>On a multiprocessor implementation, if the PENDINTID field returns the ID of an
  10142. SGI, this field contains the CPUID value for that interrupt. This identifies the
  10143. processor that generated the interrupt.
  10144. In all other cases this field is RAZ.</comment>
  10145. </bits>
  10146. <bits access="r" name="pendintid" pos="9:0" rst="1023">
  10147. <comment>The interrupt ID of the highest priority pending interrupt. See Table 4-42 on
  10148. page 4-144 for more information about the result of Non-secure reads of the
  10149. GICC_HPPIR when the GIC implements the Security Extensions.</comment>
  10150. </bits>
  10151. </reg>
  10152. <reg name="gicc_abpr" protect="rw">
  10153. <bits access="rw" name="binary_point" pos="2:0" rst="3">
  10154. <comment>A Binary Point Register for handling Group 1 interrupts.</comment>
  10155. </bits>
  10156. </reg>
  10157. <reg name="gicc_aiar" protect="r">
  10158. <bits access="r" name="cpuid" pos="12:10" rst="0">
  10159. <comment>CPUID For SGIs in a multiprocessor implementation, this field identifies the processor that
  10160. requested the interrupt. It returns the number of the CPU interface that made the request,
  10161. for example a value of 3 means the request was generated by a write to the GICD_SGIR
  10162. on CPU interface 3.
  10163. For all other interrupts this field is RAZ.</comment>
  10164. </bits>
  10165. <bits access="r" name="interrupt_id" pos="9:0" rst="1023">
  10166. <comment>Interrupt ID The interrupt ID.</comment>
  10167. </bits>
  10168. </reg>
  10169. <reg name="gicc_aeoir" protect="rw">
  10170. <bits access="w" name="cpuid" pos="12:10" rst="0">
  10171. <comment>On a multiprocessor implementation, when processing an SGI, this field must contain
  10172. the CPUID value from the corresponding GICC_AIAR, or Non-secure GICC_IAR,
  10173. access.
  10174. In all other cases this field SBZ.</comment>
  10175. </bits>
  10176. <bits access="w" name="interrupt_id" pos="9:0" rst="0">
  10177. <comment>The Interrupt ID value from the corresponding GICC_AIAR, or Non-secure GICC_IAR,
  10178. access.</comment>
  10179. </bits>
  10180. </reg>
  10181. <reg name="gicc_ahppir" protect="r">
  10182. <bits access="r" name="cpuid" pos="12:10" rst="0">
  10183. <comment>On a multiprocessor implementation, if the PENDINTID field returns the ID of an
  10184. SGI, this field contains the CPUID value for that interrupt. This identifies the
  10185. processor that generated the interrupt.
  10186. In all other cases this field is RAZ.</comment>
  10187. </bits>
  10188. <bits access="r" name="pendintid" pos="9:0" rst="1023">
  10189. <comment>The interrupt ID of the highest priority pending interrupt, if that interrupt is a Group 1
  10190. interrupt. Otherwise, the spurious interrupt ID, 1023.</comment>
  10191. </bits>
  10192. </reg>
  10193. <hole size="1312"/>
  10194. <reg name="gicc_aprn" protect="rw">
  10195. <bits access="rw" name="active_priority" pos="31:0" rst="0">
  10196. <comment>Active Priorities Registers</comment>
  10197. </bits>
  10198. </reg>
  10199. <hole size="96"/>
  10200. <reg name="gicc_nsaprn" protect="rw">
  10201. <bits access="rw" name="ns_active_priority" pos="31:0" rst="0">
  10202. <comment>NonSecure Active Priorities Registers</comment>
  10203. </bits>
  10204. </reg>
  10205. <hole size="192"/>
  10206. <reg name="gicc_iidr" protect="r">
  10207. <bits access="r" name="productid" pos="31:24" rst="2">
  10208. <comment>An IMPLEMENTATION DEFINED product identifier.</comment>
  10209. </bits>
  10210. <bits access="r" name="architecture_version" pos="19:16" rst="2">
  10211. <comment>The value of this field depends on the GIC architecture version, as follows:
  10212. ? 0x1 for GICv1
  10213. ? 0x2 for GICv2.</comment>
  10214. </bits>
  10215. <bits access="r" name="revision" pos="15:12" rst="1">
  10216. <comment>An IMPLEMENTATION DEFINED revision number for the CPU interface.</comment>
  10217. </bits>
  10218. <bits access="r" name="implementer" pos="11:0" rst="1083">
  10219. <comment>Contains the JEP106 code of the company that implemented the GIC CPU
  10220. interface:
  10221. Bits [11:8] The JEP106 continuation code of the implementer.
  10222. Bit [7] Always 0.
  10223. Bits [6:0] The JEP106 identity code of the implementer.</comment>
  10224. </bits>
  10225. </reg>
  10226. <hole size="30720"/>
  10227. <reg name="gicc_dir" protect="rw">
  10228. <bits access="w" name="cpuid" pos="12:10" rst="0">
  10229. <comment>For an SGI in a multiprocessor implementation, this field
  10230. identifies the processor that requested the interrupt.
  10231. For all other interrupts this field is RAZ.</comment>
  10232. </bits>
  10233. <bits access="w" name="interrupt_id" pos="9:0" rst="0">
  10234. <comment>The interrupt ID</comment>
  10235. </bits>
  10236. </reg>
  10237. </module>
  10238. </archive>
  10239. <archive relative="gpio.xml">
  10240. <include file="gallite_generic_config.xml"/>
  10241. <var name="IDX_GPIO_DCON" value="0"/>
  10242. <var name="IDX_GPO_CHG" value="0"/>
  10243. <module category="Periph" name="GPIO">
  10244. <reg name="gpio_oen_val" protect="rw">
  10245. <bits access="rw" display="hex" name="oen_val" pos="NB_GPIO-1:0" rst="0xffffffff">
  10246. <options>
  10247. <option name="INPUT" value="1"/>
  10248. <option name="OUTPUT" value="0"/>
  10249. <default/>
  10250. </options>
  10251. <comment>
  10252. Set the direction of the GPIO n.
  10253. <br/>
  10254. 0 = output
  10255. <br/>
  10256. 1 =
  10257. input
  10258. </comment>
  10259. </bits>
  10260. </reg>
  10261. <reg name="gpio_oen_set_out" protect="rw">
  10262. <bits access="rc" name="oen_set_out" pos="NB_GPIO-1:0" rst="0xffffffff">
  10263. <comment>'Write '1' sets the corresponding GPIO pin as output.</comment>
  10264. </bits>
  10265. </reg>
  10266. <reg name="gpio_oen_set_in" protect="rw">
  10267. <bits access="rs" display="hex" name="oen_set_in" pos="NB_GPIO-1:0" rst="0xffffffff">
  10268. <comment>'Write '1' sets the corresponding GPIO pin as input.</comment>
  10269. </bits>
  10270. </reg>
  10271. <reg name="gpio_val_reg" protect="rw">
  10272. <bits access="rw" display="hex" name="gpio_val" pos="NB_GPIO-1:0" rst="0x00000000">
  10273. <comment>When write, update the output value. When read, get the input
  10274. value.</comment>
  10275. </bits>
  10276. </reg>
  10277. <reg name="gpio_set_reg" protect="rw">
  10278. <bits access="rs" name="gpio_set" pos="NB_GPIO-1:0" rst="0xffffffff">
  10279. <comment>Write '1' will set GPIO output value. When read, get the GPIO
  10280. output value.</comment>
  10281. </bits>
  10282. </reg>
  10283. <reg name="gpio_clr_reg" protect="rw">
  10284. <bits access="rc" name="gpio_clr" pos="NB_GPIO-1:0" rst="0xffffffff">
  10285. <comment>'Write '1' clears corresponding GPIO output value. When read, get the GPIO
  10286. output value.</comment>
  10287. </bits>
  10288. </reg>
  10289. <reg name="gpint_ctrl_r_set_reg" protect="rw">
  10290. <bits access="rs" name="gpint_ctrl_r_set" pos="NB_GPIO-1:0" rst="0">
  10291. <comment>'Write '1' will set GPIO interrupt mask for rising edge and
  10292. level high. When read, get the GPIO interrupt mask for rising edge and
  10293. level high.</comment>
  10294. </bits>
  10295. </reg>
  10296. <reg name="gpint_ctrl_r_clr_reg" protect="rw">
  10297. <bits access="rc" name="gpint_ctrl_r_clr" pos="NB_GPIO-1:0" rst="0">
  10298. <comment>'Write '1' will clear GPIO interrupt mask for rising edge and
  10299. level high.</comment>
  10300. </bits>
  10301. </reg>
  10302. <reg name="int_clr" protect="w">
  10303. <bits access="c" name="gpint_clr" pos="NB_GPIO_INT-1:0" rst="0">
  10304. <comment>'Write '1' will clear GPIO interrupt.</comment>
  10305. </bits>
  10306. </reg>
  10307. <reg name="int_status" protect="r">
  10308. <bits access="r" name="gpint_status" pos="NB_GPIO_INT-1:0" rst="0">
  10309. <comment>Each bit represents if there is a GPIO interrupt
  10310. pending.</comment>
  10311. <options>
  10312. <default/>
  10313. <mask/>
  10314. <shift/>
  10315. </options>
  10316. </bits>
  10317. </reg>
  10318. <reg name="chg_ctrl" protect="rw">
  10319. <bits access="rw" display="hex" name="out_time" pos="3:0" rst="0xf">
  10320. <comment>
  10321. time for which GPIO0 is set to output mode, after a start read
  10322. DCON command is issued.
  10323. <br/>
  10324. The output time = (OUT_TIME+1)*30.5us.
  10325. </comment>
  10326. </bits>
  10327. <bits access="rw" display="hex" name="wait_time" pos="9:4" rst="0x3f">
  10328. <comment>
  10329. time for which GPIO0 should wait before reading DC_ON, after
  10330. a start read DCON command is issued.
  10331. <br/>
  10332. The wait time = (WAIT_TIME+1)*30.5us.
  10333. <br/>
  10334. NOTE: wait_time must be strictly greater than out_time;
  10335. </comment>
  10336. </bits>
  10337. <bits access="rw" display="hex" name="int_mode" pos="17:16" rst="0x3">
  10338. <comment>
  10339. interruption mode of GPIO0 in mode DC_ON detection.
  10340. <br/>
  10341. </comment>
  10342. <options>
  10343. <option name="L2H" value="0">
  10344. <comment>&quot;00&quot; = send IRQ if last read DCON is '0' and now is '1'.</comment>
  10345. </option>
  10346. <option name="H2L" value="1">
  10347. <comment>&quot;01&quot; = send IRQ if last read DCON is '1' and now is '0'.</comment>
  10348. </option>
  10349. <option name="RR" value="3">
  10350. <comment>&quot;11&quot; = send IRQ every time read is ready.</comment>
  10351. </option>
  10352. </options>
  10353. </bits>
  10354. </reg>
  10355. <reg name="chg_cmd" protect="w">
  10356. <bits access="s" name="dcon_mode_set" pos="0" rst="0">
  10357. <comment>Write '1' to set GPIO0 to charger DCON detect mode.</comment>
  10358. </bits>
  10359. <bits access="s" name="chg_mode_set" pos="4" rst="0">
  10360. <comment>Write '1' to set GPO0 to charger watchdog mode.</comment>
  10361. </bits>
  10362. <bits access="c" name="dcon_mode_clr" pos="8" rst="0">
  10363. <comment>Write '1' to clear charger DCON detect mode of GPIO0.</comment>
  10364. </bits>
  10365. <bits access="c" name="chg_mode_clr" pos="12" rst="0">
  10366. <comment>Write '1' to clear the charger watchdog mode of GPO0.</comment>
  10367. </bits>
  10368. <bits access="s" name="chg_down" pos="24" rst="0">
  10369. <comment>Write '1' to generate a pulse of '0' on GPO0 for 16 CLK_OSC cycles.</comment>
  10370. </bits>
  10371. </reg>
  10372. <reg name="gpo_set_reg" protect="rw">
  10373. <bits access="rs" display="hex" name="gpo_set" pos="NB_GPO-1:0" rst="0xaa">
  10374. <comment>'Write '1' will set GPO output value. When read, get the GPO
  10375. output value.</comment>
  10376. </bits>
  10377. </reg>
  10378. <reg name="gpo_clr_reg" protect="rw">
  10379. <bits access="rc" display="hex" name="gpo_clr" pos="NB_GPO-1:0" rst="0xaa">
  10380. <comment>'Write '1' will clear GPO output value. When read, get the GPO
  10381. output value.</comment>
  10382. </bits>
  10383. </reg>
  10384. <reg name="gpint_ctrl_f_set_reg" protect="rw">
  10385. <bits access="rs" name="gpint_ctrl_f_set" pos="NB_GPIO-1:0" rst="0">
  10386. <comment>'Write '1' will set GPIO interrupt mask for rising edge and
  10387. level high. When read, get the GPIO interrupt mask for rising edge and
  10388. level high.</comment>
  10389. </bits>
  10390. </reg>
  10391. <reg name="gpint_ctrl_f_clr_reg" protect="rw">
  10392. <bits access="rc" name="gpint_ctrl_f_clr" pos="NB_GPIO-1:0" rst="0">
  10393. <comment>'Write '1' will clear GPIO interrupt mask for rising edge and
  10394. level high.</comment>
  10395. </bits>
  10396. </reg>
  10397. <reg name="dbn_en_set_reg" protect="rw">
  10398. <bits access="rs" name="dbn_en_set" pos="NB_GPIO-1:0" rst="0xffffffff">
  10399. <comment>'Write '1' will enable debounce mechanism.</comment>
  10400. </bits>
  10401. </reg>
  10402. <reg name="dbn_en_clr_reg" protect="rw">
  10403. <bits access="rc" name="dbn_en_clr" pos="NB_GPIO-1:0" rst="0xffffffff">
  10404. <comment>'Write '1' will disable debounce mechanism.</comment>
  10405. </bits>
  10406. </reg>
  10407. <reg name="gpint_mode_set_reg" protect="rw">
  10408. <bits access="rs" name="gpint_mode_set" pos="NB_GPIO-1:0" rst="0">
  10409. <comment>Write '1' will set interruption mode to level.</comment>
  10410. </bits>
  10411. </reg>
  10412. <reg name="gpint_mode_clr_reg" protect="rw">
  10413. <bits access="rc" name="gpint_mode_clr" pos="NB_GPIO-1:0" rst="0">
  10414. <comment>Write '1' will set interruption mode to edge
  10415. triggered.</comment>
  10416. </bits>
  10417. </reg>
  10418. </module>
  10419. </archive>
  10420. <archive relative="i2c_master.xml">
  10421. <module category="Periph" name="I2C_MASTER">
  10422. <reg name="ctrl" protect="rw">
  10423. <bits access="rw" name="en" pos="0" rst="0">
  10424. <comment>I2C master enable, high active.</comment>
  10425. </bits>
  10426. <bits access="rw" name="irq_mask" pos="8" rst="0">
  10427. <comment>I2C master interrupt enable, high active.</comment>
  10428. </bits>
  10429. <bits access="rw" name="clock_prescale" pos="31:16" rst="0xFFFF">
  10430. <comment>
  10431. This register is used to prescale the SCL clock line. Due to the structure of I2C interface, this module uses a 5*SCL clock frequency. Clock_Prescale must be programmed to this 5*SCL clock frequency (minus 1). Change the value of Clock_Prescale only when bit EN is cleared.
  10432. <br/>
  10433. <br/>
  10434. Example:
  10435. <br/>
  10436. PCLK_MOD is 52 MHz, desired SCL is 100 KHz.
  10437. <br/>
  10438. Prescale = 52MHz / (5 * 100KHz) -1 = 103.
  10439. </comment>
  10440. <options>
  10441. <mask/>
  10442. </options>
  10443. </bits>
  10444. </reg>
  10445. <reg name="status" protect="r">
  10446. <bits access="r" name="irq_cause" pos="0" rst="0">
  10447. <comment>IRQ Cause bit. This bit is set when one byte transfer has been completed or arbitration is lost, this bit is generated by bit IRQ_Status AND bit IRQ_MASK.</comment>
  10448. </bits>
  10449. <bits access="r" name="irq_status" pos="4" rst="0">
  10450. <comment>IRQ status bit.</comment>
  10451. </bits>
  10452. <bits access="r" name="tip" pos="8" rst="0">
  10453. <comment>TIP, Transfer in progress.
  10454. '1' when transferring data. '0' when transfer complete.</comment>
  10455. </bits>
  10456. <bits access="r" name="al" pos="12" rst="0">
  10457. <comment>AL,Arbitration lost.
  10458. This bit is set when the I2C master lost arbitration.</comment>
  10459. </bits>
  10460. <bits access="r" name="busy" pos="16" rst="0">
  10461. <comment>Busy,I2C bus busy.
  10462. '1' after START signal detected.
  10463. '0' after STOP signal detected.</comment>
  10464. </bits>
  10465. <bits access="r" name="rxack" pos="20" rst="0">
  10466. <comment>RxACK, Received acknowledge from slave.
  10467. '1'= &quot;No ACK&quot; received.
  10468. '0'= ACK received.</comment>
  10469. </bits>
  10470. </reg>
  10471. <reg name="txrx_buffer" protect="rw">
  10472. <bits access="w" name="tx_data" pos="7:0" rst="-">
  10473. <comment>
  10474. Byte to transmit via I2C.
  10475. <br/>
  10476. for Bit 0, In case of a data transfer this bit represents the data's LSB. In case of a slave address transfer this bit represents the RW bit.
  10477. <br/>
  10478. '1' = reading from slave.
  10479. <br/>
  10480. '0' = writing to slave.
  10481. </comment>
  10482. </bits>
  10483. <bits access="r" name="rx_data" pos="7:0" rst="-">
  10484. <comment>Last byte received via I2C.</comment>
  10485. </bits>
  10486. </reg>
  10487. <reg name="cmd" protect="w">
  10488. <bits access="w" name="ack" pos="0" rst="0">
  10489. <comment>ACK,when master works as a receiver,sent ACK(ACK='0') or NACK(ACK='1').</comment>
  10490. </bits>
  10491. <bits access="w" name="rd" pos="4" rst="0">
  10492. <comment>RD,read from slave, this bit is auto cleared.</comment>
  10493. </bits>
  10494. <bits access="w" name="sto" pos="8" rst="0">
  10495. <comment>STO,generate stop condition, this bit is auto cleared.</comment>
  10496. </bits>
  10497. <bits access="w" name="rw" pos="12" rst="0">
  10498. <comment>WR,write to slave, this bit is auto cleared.</comment>
  10499. </bits>
  10500. <bits access="w" name="sta" pos="16" rst="0">
  10501. <comment>STA,generate (repeated) start condition, this bit is auto cleared.</comment>
  10502. </bits>
  10503. </reg>
  10504. <reg name="irq_clr" protect="rw">
  10505. <bits access="c" name="irq_clr" pos="0" rst="0">
  10506. <comment>When write '1', clears a pending I2C interrupt.</comment>
  10507. </bits>
  10508. </reg>
  10509. </module>
  10510. </archive>
  10511. <archive relative="pagespy_dmc.xml">
  10512. <module category="Debug" name="PAGESPY_DMC">
  10513. <var name="PAGESPY_DMC_NB_PAGE" value="8"/>
  10514. <var name="PAGESPY_DMC_AXI_ID_WIDTH" value="9"/>
  10515. <struct count="PAGESPY_DMC_NB_PAGE" name="page">
  10516. <reg name="mon_ctrl" protect="rw">
  10517. <bits access="rw" name="mon_ctrl_sr" pos="0" rst="0">
  10518. <comment>Write 0: disable pagespy; 1: enable pagespy
  10519. Read 0: pagespy idle; 1: pagespy active</comment>
  10520. </bits>
  10521. </reg>
  10522. <reg name="mon_conf" protect="rw">
  10523. <bits access="rw" cut="1" cutprefix="mon_sysifsel" name="mon_sysifsel" pos="1:0" rst="all0">
  10524. <comment>Spy interface select,
  10525. 'b00: interface 0, 'b01: interface 1,
  10526. 'b10: interface 2, 'b11: interface 3.</comment>
  10527. </bits>
  10528. <bits access="rw" cut="1" cutprefix="mon_time_en" name="mon_time_en" pos="2" rst="0">
  10529. <comment>Enable of One configured time monitor mode.
  10530. When timer reaches the time threshold,
  10531. this bit clear to 0 automatically.</comment>
  10532. </bits>
  10533. <bits access="rw" cut="1" cutprefix="mon_long_en" name="mon_long_en" pos="3" rst="0">
  10534. <comment>Enable of long time continuously monitor mode.</comment>
  10535. </bits>
  10536. <bits access="rw" cut="1" cutprefix="mon_num_en" name="mon_num_en" pos="4" rst="0">
  10537. <comment>Enable of a configured access threshold mode.
  10538. When accesses reaches the threshold,
  10539. this bit clear to 0 automatically.</comment>
  10540. </bits>
  10541. <bits access="rw" cut="1" cutprefix="mon_hit_en" name="mon_hit_en" pos="5" rst="0">
  10542. <comment>Enable of address hit mode.
  10543. Once one access hit the configured address range,
  10544. this bit clear to 0 automatically.</comment>
  10545. </bits>
  10546. <bits access="rw" cut="1" cutprefix="mon_hit_detectw" name="mon_hit_detectw" pos="6" rst="0">
  10547. <comment>enable monitoring write address hit.</comment>
  10548. </bits>
  10549. <bits access="rw" cut="1" cutprefix="mon_hit_detectr" name="mon_hit_detectr" pos="7" rst="0">
  10550. <comment>enable monitoring read address hit.</comment>
  10551. </bits>
  10552. <bitgroup name="mon_hit_mode">
  10553. <entry ref="mon_hit_detectw"/>
  10554. <entry ref="mon_hit_detectr"/>
  10555. </bitgroup>
  10556. </reg>
  10557. <reg name="mon_start_addr" protect="rw">
  10558. <bits access="rw" name="mon_start_addr" pos="27:0" rst="all0">
  10559. <comment>high 28bit of start address of monitor.</comment>
  10560. </bits>
  10561. </reg>
  10562. <reg name="mon_end_addr" protect="rw">
  10563. <bits access="rw" name="mon_end_addr" pos="27:0" rst="all0">
  10564. <comment>high 28bit of end address of monitor.</comment>
  10565. </bits>
  10566. </reg>
  10567. <reg name="mon_int_en" protect="rw">
  10568. <bits access="rw" name="timer_int_en" pos="0" rst="0">
  10569. <comment>enable timer reach threshold interrupt.</comment>
  10570. </bits>
  10571. <bits access="rw" name="num_int_en" pos="1" rst="0">
  10572. <comment>enable access reach threshold interrupt</comment>
  10573. </bits>
  10574. <bits access="rw" name="hit_int_en" pos="2" rst="0">
  10575. <comment>enable access hit interrupt</comment>
  10576. </bits>
  10577. </reg>
  10578. <reg name="mon_int_status" protect="rw">
  10579. <bits access="rw" cut="1" cutprefix="time_int_status" name="time_int_status" pos="0" rst="0">
  10580. <comment>In one configured time monitor mode,
  10581. when timer reach the time threshold, this interrupt source trigger.
  10582. Write 1: clear interrupt; 0: ignored
  10583. Read 1: the one has source triggerd; 0: not source triggerd</comment>
  10584. </bits>
  10585. <bits access="rw" cut="1" cutprefix="long_int_status" name="long_int_status" pos="1" rst="0">
  10586. <comment>In long time continuously monitor mode,
  10587. when timer reach the time threshold, this interrupt source trigger.
  10588. Write 1: clear interrupt; 0: ignored
  10589. Read 1: the one has source triggerd; 0: not source triggerd</comment>
  10590. </bits>
  10591. <bits access="rw" cut="1" cutprefix="write_num_int_status" name="write_num_int_status" pos="2" rst="0">
  10592. <comment>In the configured access threshold monitor mode,
  10593. when write access num reaches the threshold, this interrupt source trigger.
  10594. Write 1: clear interrupt; 0: ignored
  10595. Read 1: the one has source triggerd; 0: not source triggerd</comment>
  10596. </bits>
  10597. <bits access="rw" cut="1" cutprefix="read_num_int_status" name="read_num_int_status" pos="3" rst="0">
  10598. <comment>In the configured access threshold monitor mode,
  10599. when read access num reaches the threshold, this interrupt source trigger.
  10600. Write 1: clear interrupt; 0: ignored
  10601. Read 1: the one has source triggerd; 0: not source triggerd</comment>
  10602. </bits>
  10603. <bits access="rw" cut="1" cutprefix="write_hit_int_status" name="write_hit_int_status" pos="4" rst="0">
  10604. <comment>In the address hit monitor mode,
  10605. when one write access hit the address range, this interrupt source trigger.
  10606. Write 1: clear interrupt; 0: ignored
  10607. Read 1: the one has source triggerd; 0: not source triggerd</comment>
  10608. </bits>
  10609. <bits access="rw" cut="1" cutprefix="read_hit_int_status" name="read_hit_int_status" pos="5" rst="0">
  10610. <comment>In the address hit monitor mode,
  10611. when one read access hit the address range, this interrupt source trigger.
  10612. Write 1: clear interrupt; 0: ignored
  10613. Read 1: the one has source triggerd; 0: not source triggerd</comment>
  10614. </bits>
  10615. </reg>
  10616. <reg name="mon_int_cause" protect="r">
  10617. <bits access="r" cut="1" cutprefix="time_int_cause" name="time_int_cause" pos="0" rst="0">
  10618. </bits>
  10619. <bits access="r" cut="1" cutprefix="long_int_cause" name="long_int_cause" pos="1" rst="0">
  10620. </bits>
  10621. <bits access="r" cut="1" cutprefix="write_num_int_cause" name="write_num_int_cause" pos="2" rst="0">
  10622. </bits>
  10623. <bits access="r" cut="1" cutprefix="read_num_int_cause" name="read_num_int_cause" pos="3" rst="0">
  10624. </bits>
  10625. <bits access="r" cut="1" cutprefix="write_hit_int_cause" name="write_hit_int_cause" pos="4" rst="0">
  10626. </bits>
  10627. <bits access="r" cut="1" cutprefix="read_hit_int_cause" name="read_hit_int_cause" pos="5" rst="0">
  10628. </bits>
  10629. </reg>
  10630. <reg name="mon_timer_th" protect="rw">
  10631. <bits access="rw" name="mon_timer_threshold" pos="31:0" rst="all1">
  10632. </bits>
  10633. </reg>
  10634. <reg name="write_bytes_sr" protect="r">
  10635. <bits access="r" name="write_bytes_sr" pos="31:0" rst="all0">
  10636. <comment>Write bytes when a monitor finishes in one configured time monitor mode
  10637. or long time continuously monitor mode.</comment>
  10638. </bits>
  10639. </reg>
  10640. <reg name="read_bytes_sr" protect="r">
  10641. <bits access="r" name="read_bytes_sr" pos="31:0" rst="all0">
  10642. <comment>Read bytes when a monitor finishes in one configured time monitor mode or
  10643. long time continuously monitor mode.</comment>
  10644. </bits>
  10645. </reg>
  10646. <reg name="timer_count" protect="r">
  10647. <bits access="r" name="timer_count" pos="31:0" rst="all0">
  10648. <comment>Current timer count value</comment>
  10649. </bits>
  10650. </reg>
  10651. <reg name="mon_num_th" protect="rw">
  10652. <bits access="rw" name="mon_num_threshold" pos="31:0" rst="all1">
  10653. <comment/>
  10654. </bits>
  10655. </reg>
  10656. <reg name="hit_info" protect="r">
  10657. <bits access="r" cut="1" cutprefix="hit_aburst" name="hit_aburst" pos="1:0" rst="all0">
  10658. <comment/>
  10659. </bits>
  10660. <bits access="r" cut="1" cutprefix="hit_asize" name="hit_asize" pos="4:2" rst="all0">
  10661. <comment/>
  10662. </bits>
  10663. <bits access="r" cut="1" cutprefix="hit_alen" name="hit_alen" pos="8:5" rst="all0">
  10664. <comment/>
  10665. </bits>
  10666. <bits access="r" cut="1" cutprefix="hit_aid" name="hit_aid" pos="PAGESPY_DMC_AXI_ID_WIDTH+8:9" rst="all0">
  10667. <comment/>
  10668. </bits>
  10669. </reg>
  10670. <reg name="hit_addr" protect="r">
  10671. <bits access="r" name="hit_addr" pos="31:0" rst="all0">
  10672. <comment/>
  10673. </bits>
  10674. </reg>
  10675. <hole size="32"/>
  10676. <reg name="int_vec" protect="r">
  10677. <bits access="r" name="int_vec" pos="15:0" rst="all0">
  10678. <comment>interrupt vector for all 16 pagespy channels</comment>
  10679. </bits>
  10680. </reg>
  10681. </struct>
  10682. </module>
  10683. </archive>
  10684. <archive relative="vad.xml">
  10685. <module category="System" name="VAD">
  10686. <reg name="vad_system" protect="rw">
  10687. <bits access="r" name="second_enable" pos="21" rst="0">
  10688. <comment>Enable signal from1 Stage to 2 Stage:
  10689. 1: 2 Stage work;
  10690. 0: 2 Stage not work, HOLD state;</comment>
  10691. </bits>
  10692. <bits access="r" name="rstn_inner" pos="20" rst="0">
  10693. <comment>Inner Enable signal from 2 Stage
  10694. Control followed module : vad_2stg_probvad_2stg_para_update_feature_minvad_2stg_para_updatemean_adjust.
  10695. Not Control module vadflag_smooth.
  10696. 1: Controlled modules work
  10697. 0: Controlled modules not work</comment>
  10698. </bits>
  10699. <bits access="rw" name="dma_en" pos="19" rst="0">
  10700. <comment>1:vad_dma_req_h is valid
  10701. 0:vad_dma_req_h is invalid</comment>
  10702. </bits>
  10703. <bits access="r" name="vad_int_mask" pos="18:16" rst="0">
  10704. <comment>[18]:masked vadflag interrupt
  10705. [17]:masked wr_full interrupt
  10706. [16]:masked rd_empty interrupt</comment>
  10707. </bits>
  10708. <bits access="r" name="vad_int_raw" pos="14:12" rst="0">
  10709. <comment>[14]:raw vadflag interrupt
  10710. [13]:raw wr_full interrupt
  10711. [12]:raw rd_empty interrupt</comment>
  10712. </bits>
  10713. <bits access="rw" name="force_2stg_work_en" pos="11" rst="0">
  10714. <comment>Force 2 Stage continue work
  10715. 1: Force 2 Stage continue work
  10716. 0: 2Stage normal work (depend vadflag..)</comment>
  10717. </bits>
  10718. <bits access="rw" name="vad_int_clr" pos="10:8" rst="0">
  10719. <comment>Interrupt clear
  10720. [10]:clear vadflag interrupt
  10721. [9]:clear wr_full interrupt
  10722. [8]:clear rd_empty interrupt</comment>
  10723. </bits>
  10724. <bits access="rw" name="frame_ind_mask" pos="7" rst="0">
  10725. <comment>Enable frame vad_int_pulse(width is 500ns)</comment>
  10726. </bits>
  10727. <bits access="rw" name="vad_int_en" pos="6:4" rst="0">
  10728. <comment>[18]:mask vadflag interrupt
  10729. [17]:mask wr_full interrupt
  10730. [16]:mask rd_empty interrupt</comment>
  10731. </bits>
  10732. <bits access="rw" name="sel_16k" pos="3" rst="0">
  10733. <comment>1:write into mem data rate is 16K (hpf_out)
  10734. 0:write into mem data rate is 8K(hbf_out)</comment>
  10735. </bits>
  10736. <bits access="rw" name="fix_prob_para" pos="2" rst="0">
  10737. <comment>1:Probability four channel coeff(speech_means,noise_means,speech_std,noise_std)
  10738. 0:Probability four channel coeff from para_update 4 channel output</comment>
  10739. </bits>
  10740. <bits access="rw" name="para_update_openloop" pos="1" rst="0">
  10741. <comment>1:speech_means_adj[i] and noise_means_adj[i] of para_update input is fixed at 100
  10742. 0:speech_means_adj[i] and noise_means_adj[i] of para_update input is from means_adjust</comment>
  10743. </bits>
  10744. <bits access="rw" name="fix_feature_min" pos="0" rst="0">
  10745. <comment>1:feature_min of noise_mean is fixed at 512
  10746. 0:feature_min of noise_mean is normal output</comment>
  10747. </bits>
  10748. </reg>
  10749. <reg name="vad_04" protect="rw">
  10750. <bits access="rw" name="hpf_bypass" pos="16" rst="0">
  10751. <comment>1:bypass HPF, note: the output is input reduces hpf_dc_cal
  10752. 0:normal HPF output</comment>
  10753. </bits>
  10754. <bits access="rw" name="hpf_dc_cal" pos="15:0" rst="0">
  10755. <comment>The DC of hpf</comment>
  10756. </bits>
  10757. </reg>
  10758. <hole size="32"/>
  10759. <reg name="vad_0c" protect="rw">
  10760. <bits access="rw" name="hpf_coef_a1" pos="29:16" rst="0">
  10761. <comment>The coeff of hpf</comment>
  10762. </bits>
  10763. <bits access="rw" name="hpf_coef_a2" pos="13:0" rst="0">
  10764. <comment>The coeff of hpf</comment>
  10765. </bits>
  10766. </reg>
  10767. <reg name="vad_10" protect="rw">
  10768. <bits access="rw" name="lpf_bypass" pos="24" rst="0">
  10769. <comment>1:bypass LPF
  10770. 0:normal LPF output.</comment>
  10771. </bits>
  10772. <bits access="rw" name="lpf_coef_a1" pos="23:12" rst="0">
  10773. <comment>The coeff of lpf</comment>
  10774. </bits>
  10775. <bits access="rw" name="lpf_coef_a2" pos="11:0" rst="0">
  10776. <comment>The coeff of lpf</comment>
  10777. </bits>
  10778. </reg>
  10779. <reg name="vad_14" protect="rw">
  10780. <bits access="rw" name="lpf_coef_g" pos="31:21" rst="0">
  10781. <comment>The gain of lpf</comment>
  10782. </bits>
  10783. <bits access="rw" name="rela_thd" pos="20:16" rst="0">
  10784. <comment>relative threshold</comment>
  10785. </bits>
  10786. <bits access="rw" name="mean_noise_ini" pos="15:0" rst="0">
  10787. <comment>The initial of mean_noise.
  10788. ABS thd = mean_noise * rela_thd. The cmp_trigger signal depending the comparation between ABS thd and lpf_out's absolute value</comment>
  10789. </bits>
  10790. </reg>
  10791. <reg name="vad_18" protect="rw">
  10792. <bits access="rw" name="refresh_timer" pos="31:16" rst="0">
  10793. <comment>mean_noise changed in every refresh timer
  10794. The refresh_timer is more than average_timer</comment>
  10795. </bits>
  10796. <bits access="rw" name="average_timer_sel" pos="9:8" rst="0">
  10797. <comment>00:begin average_timer = 16'd127 ;cut_bit = 4'd7; end
  10798. 01:begin average_timer = 16'd255 ;cut_bit = 4'd8; end
  10799. 10:begin average_timer = 16'd511 ;cut_bit = 4'd9; end
  10800. 11:begin average_timer = 16'd1023;cut_bit = 4'd10;end</comment>
  10801. </bits>
  10802. <bits access="rw" name="individualtest" pos="6:0" rst="0">
  10803. <comment>unsigned threshold value
  10804. When LLR[k]*4 &gt; individualtest, vadflag is 1,otherwise 0</comment>
  10805. </bits>
  10806. </reg>
  10807. <reg name="vad_1c" protect="rw">
  10808. <bits access="rw" name="totaltest" pos="19:8" rst="0">
  10809. <comment>unsigned threshold value
  10810. When sum of all LLR[k] &gt; totaltest, vadflag is 1,otherwise 0
  10811. There is a OR relationship with individualtest</comment>
  10812. </bits>
  10813. <bits access="rw" name="overhead1" pos="7:4" rst="0">
  10814. <comment>valdflag smooth module
  10815. Count the number of successive detected speech frames,no longer count more than 6.After that , when detect no speech frames, smooth the overhead2 frames into speech frames. If less 6, smooth the overhead1 frames into speech frames</comment>
  10816. </bits>
  10817. <bits access="rw" name="overhead2" pos="3:0" rst="0">
  10818. <comment>ditto</comment>
  10819. </bits>
  10820. </reg>
  10821. <reg name="vad_20" protect="r">
  10822. </reg>
  10823. <reg name="vad_24" protect="rw">
  10824. <bits access="rw" name="wr_clr" pos="9" rst="0">
  10825. <comment>SFIFO's write address is reset to all 0, high active</comment>
  10826. </bits>
  10827. <bits access="rw" name="rd_clr" pos="8" rst="0">
  10828. <comment>SFIFO's read address is reset to all 0, high active</comment>
  10829. </bits>
  10830. <bits access="rw" name="test_ctrl_s" pos="7:4" rst="0">
  10831. <comment>0:test_port_s &lt;= {1'b0,speech_stds_0 ,1'b0,speech_means_adj_0 } ;</comment>
  10832. </bits>
  10833. <bits access="rw" name="test_ctrl_n" pos="3:0" rst="0">
  10834. <comment>0: test_port_n &lt;= {1'b0,noise_stds_0 ,1'b0,noise_means_adj_0 } ;</comment>
  10835. </bits>
  10836. </reg>
  10837. <reg name="vad_28" protect="r">
  10838. <bits access="r" name="test_port_s" pos="31:0" rst="0">
  10839. <comment>{1'b0,speech_stds ,1'b0,speech_means_adj } ;</comment>
  10840. </bits>
  10841. </reg>
  10842. <reg name="vad_2c" protect="r">
  10843. <bits access="r" name="test_port_n" pos="31:0" rst="0">
  10844. <comment>{1'b0,noise_stds ,1'b0,noise_means_adj }</comment>
  10845. </bits>
  10846. </reg>
  10847. </module>
  10848. </archive>
  10849. <archive relative="sci.xml">
  10850. <module category="Periph" name="SCI">
  10851. <reg name="sci_config" protect="rw">
  10852. <bits access="rw" name="enable" pos="0" rst="0">
  10853. <comment>Enables the SIM Card IF module</comment>
  10854. </bits>
  10855. <bits access="rw" name="parity" pos="1" rst="0">
  10856. <comment>Selects the parity generation/detection</comment>
  10857. <options>
  10858. <option name="Even_parity" value="0"/>
  10859. <option name="Odd_parity" value="1"/>
  10860. <mask/>
  10861. <shift/>
  10862. </options>
  10863. </bits>
  10864. <bits access="rw" name="perf" pos="2" rst="0">
  10865. <comment>
  10866. Parity Error Receive Feed-through
  10867. <br/>
  10868. 0 = Don't store bytes with detected parity errors
  10869. <br/>
  10870. 1 = Feed-through bytes with detected parity errors
  10871. </comment>
  10872. </bits>
  10873. <bits access="rw" name="filter_disable" pos="3" rst="0">
  10874. <comment>
  10875. Enable or disable NULL (0x60) character filtering when SIM card sends NULL to reset WWT timer.
  10876. <br/>
  10877. 0 = Enable NULL character filtering, NULL characters are not reported if not data.
  10878. <br/>
  10879. 1 = Disable NULL character filtering. NULL characters (0x60) are transferred to the SCI data buffer.
  10880. </comment>
  10881. </bits>
  10882. <bits access="rw" name="clockstop" pos="4" rst="1">
  10883. <comment>
  10884. Manual SCI Clock Stop control. Manually starts and stops the SCI clock. This bit must be set to '1' when Autostop mode is enabled.
  10885. <br/>
  10886. 0 = Enable the SCI clock
  10887. <br/>
  10888. 1 = Disable SCI clock
  10889. </comment>
  10890. </bits>
  10891. <bits access="rw" name="autostop_en_h" pos="5" rst="0">
  10892. <comment>
  10893. Enables automatic clock shutdown when command is complete. Enabling this will generate the necessary startup and shutdown delays required by the SIM protocol.
  10894. <br/>
  10895. 0 = Auto clock control not enabled. SCI clock controlled by SCI_Clockstop bit
  10896. <br/>
  10897. 1 = Auto clock control enabled.
  10898. </comment>
  10899. </bits>
  10900. <bits access="rw" name="msbh_lsbl" pos="6" rst="1">
  10901. <comment>
  10902. Sets the transmission and reception bit order:
  10903. <br/>
  10904. 0 = LSB is sent/recieved first (Direct convention)
  10905. <br/>
  10906. 1 = MSB is sent/received first (Inverse convention)
  10907. </comment>
  10908. </bits>
  10909. <bits access="rw" name="lli" pos="7" rst="1">
  10910. <comment>
  10911. Logic Level Invert:
  10912. <br/>
  10913. 0 = Logic level 0 data is sent/received as '0' or 'A' which is the same as the start bit. (Direct convention)
  10914. <br/>
  10915. 1 = Logic level 0 data is sent/received as '1' or 'Z' which is the opposite of the start bit. (Inverse convention)
  10916. </comment>
  10917. </bits>
  10918. <bits access="rw" name="pegen_len" pos="8" rst="0">
  10919. <comment>
  10920. Parity Error signal length. This configuration bit can be used to extend the duration of the parity error signal generation from 1 ETU to 1.5 ETU
  10921. <br/>
  10922. 0 = Parity Error signal duration is 1 ETU starting at 10.5 ETU
  10923. <br/>
  10924. 1 = Parity Error signal duration is 1.5 ETU starting at 10.5 ETU
  10925. </comment>
  10926. </bits>
  10927. <bits access="rw" name="parity_en" pos="9" rst="0">
  10928. <comment>
  10929. Enable or disable parity error checking on the receive data
  10930. <br/>
  10931. 0 = Disable parity error checking
  10932. <br/>
  10933. 1 = Enable parity error checking
  10934. </comment>
  10935. </bits>
  10936. <bits access="rw" name="stop_level" pos="10" rst="1">
  10937. <comment>
  10938. Logical value of the clock signal when SCI clock is stopped (either due to automatic shutdown or manual shutdown)
  10939. <br/>
  10940. 0 = Stop clock at low level
  10941. <br/>
  10942. 1 = Stop clock at high level
  10943. </comment>
  10944. </bits>
  10945. <bits access="rw" name="arg_h" pos="16" rst="0">
  10946. <comment>Automatic Reset Generator. Write a '1' to this bit to initiate an automatic reset procedure on the SIM. Write '0' to switch back to SCI_Reset control (bit 20). An ARG interrupt will be generated if the ARG process succeeded or failed. The ARG status bit (ARG_Det) must be read to determine if a reset response from the card was detected. This bit needs to be cleared between ARG attempts.</comment>
  10947. </bits>
  10948. <bits access="rw" name="afd_en_h" pos="17" rst="0">
  10949. <comment>
  10950. Automatic format detection. This bit is generally set in conjunction with the ARG_H bit to enable automatic detection of the data convention.
  10951. <br/>
  10952. 1 = Enable TS detection and automatic convention settings programming
  10953. <br/>
  10954. 0 = disable automatic settings and use the register bits (MSBH_LSBL and LLI) to control the convention
  10955. </comment>
  10956. </bits>
  10957. <bits access="rw" name="tx_resend_en_h" pos="18" rst="1">
  10958. <comment>
  10959. 1 = Enable automatic resend of characters when Tx parity error is detected
  10960. <br/>
  10961. 0 = Disable automatic resend
  10962. </comment>
  10963. </bits>
  10964. <bits access="rw" name="reset" pos="20" rst="0">
  10965. <comment>
  10966. Direct connection to the SIM card reset pin. This is overridden when ARG_H is enabled
  10967. <br/>
  10968. 0 = SCI_Reset low voltage
  10969. <br/>
  10970. 1 = SCI Reset high voltage
  10971. </comment>
  10972. </bits>
  10973. <bits access="rw" name="dly_sel" pos="21" rst="0">
  10974. <comment>
  10975. This selects between two delay times for the automatic clock stop startup and shutdown:
  10976. <br/>
  10977. 0 = short delay
  10978. <br/>
  10979. Startup/Shutdown : 744 SCI clocks / 1860 SCI clocks
  10980. <br/>
  10981. 1 = long delay
  10982. <br/>
  10983. Startup/Shutdown : (2 x 744) SCI clocks / (2 x 1860) SCI clocks
  10984. </comment>
  10985. </bits>
  10986. <bits access="rw" name="in_avg_en" pos="22" rst="1">
  10987. <comment>
  10988. Input data average enable.
  10989. <br/>
  10990. 0 = Disable
  10991. <br/>
  10992. 1 = Enable
  10993. </comment>
  10994. </bits>
  10995. <bits access="rw" name="par_chk_offset" pos="29:24" rst="0xe">
  10996. <comment>Allows fine control of the parity check position during the parity error time period.</comment>
  10997. </bits>
  10998. </reg>
  10999. <reg name="status" protect="r">
  11000. <bits access="r" name="rxdata_rdy" pos="0" rst="0">
  11001. <comment>
  11002. Returns the status of the Rx FIFO:
  11003. <br/>
  11004. 0 = Rx FIFO empty
  11005. <br/>
  11006. 1 = There is at least 1 character in the Rx FIFO
  11007. </comment>
  11008. </bits>
  11009. <bits access="r" name="tx_fifo_rdy" pos="1" rst="1">
  11010. <comment>
  11011. Returns the status of the Tx FIFO:
  11012. <br/>
  11013. 0 = Tx FIFO is full
  11014. <br/>
  11015. 1 = There is at least 1 free spot in the Tx FIFO
  11016. </comment>
  11017. </bits>
  11018. <bits access="r" name="format_det" pos="2" rst="0">
  11019. <comment>
  11020. Returns the status of the automatic format detection after reset:
  11021. <br/>
  11022. 0 = TS character has not been detected in the ATR
  11023. <br/>
  11024. 1 = TS character has been detected and SCI module is using the automatic convention settings
  11025. <br/>
  11026. <br/>
  11027. This bit is cleared when the AFD_En bit is cleared
  11028. </comment>
  11029. </bits>
  11030. <bits access="r" name="arg_det" pos="3" rst="0">
  11031. <comment>
  11032. Returns the status of the automatic reset procedure:
  11033. <br/>
  11034. 0 = ARG detection has failed
  11035. <br/>
  11036. 1 = ARG detection has detected that the SIM has responded to the reset
  11037. <br/>
  11038. <br/>
  11039. This bit is used in conjunction with the ARG interrupt. The ARG interrupt will be generated at the successful or unsuccessful termination of the ARG process. This bit can be used to determine the success or failure.
  11040. </comment>
  11041. </bits>
  11042. <bits access="r" name="reset_det" pos="4" rst="0">
  11043. <comment>This is the status of the Reset pin when automatic reset generation is enabled. This bit can be used to discover whether the SIM card that has successfully responded to an ARG procedure has an active high or active low reset. (Det means 'Detection')</comment>
  11044. </bits>
  11045. <bits access="r" name="clk_rdy_h" pos="5" rst="0">
  11046. <comment>
  11047. Status of the control signal to the clock control module. This bit respects the startup and shutdown phases, so during these times, the clock may actually be on, but it is not considered to be 'ready'
  11048. <br/>
  11049. 0 = SCI clock may be on or off but is not ready for use
  11050. <br/>
  11051. 1 = SCI clock is on and ready for use
  11052. </comment>
  11053. </bits>
  11054. <bits access="r" name="clk_off" pos="6" rst="1">
  11055. <comment>
  11056. Status bit of the Sci clock.
  11057. <br/>
  11058. 0 = Sci clock is ON
  11059. <br/>
  11060. 1 = Sci clock is OFF
  11061. </comment>
  11062. </bits>
  11063. <bits access="r" name="rx_err" pos="8" rst="0">
  11064. <comment>A receive parity error was detected. Reading this register clears the bit.</comment>
  11065. </bits>
  11066. <bits access="r" name="tx_err" pos="9" rst="0">
  11067. <comment>A transmit parity error was detected. Reading this register clears the bit.</comment>
  11068. </bits>
  11069. <bits access="r" name="rxoverflow" pos="10" rst="0">
  11070. <comment>The internal receive FIFO has reached an overflow condition. Reading this register clears the bit.</comment>
  11071. </bits>
  11072. <bits access="r" name="txoverflow" pos="11" rst="0">
  11073. <comment>The internal transmit FIFO has reached an overflow condition. Reading this register clears the bit.</comment>
  11074. </bits>
  11075. <bits access="r" name="autostop_state" pos="31:30" rst="0">
  11076. <comment>Returns the state of the clock management state machine when AutoStop mode is enabled. This value is '00' when manual mode is selected.</comment>
  11077. <options>
  11078. <option name="Startup_phase" value="0">
  11079. <comment>Clock is on, but not ready to be used.</comment>
  11080. </option>
  11081. <option name="Auto_on" value="1">
  11082. <comment>Clock is on and ready to be used</comment>
  11083. </option>
  11084. <option name="Shutdown_phase" value="2">
  11085. <comment>Clock is still on, but should not be used.</comment>
  11086. </option>
  11087. <option name="Clock_off" value="3">
  11088. <comment>Clock is off.</comment>
  11089. </option>
  11090. <mask/>
  11091. <shift/>
  11092. </options>
  11093. </bits>
  11094. </reg>
  11095. <reg name="data" protect="--">
  11096. <bits access="w" name="data_in" pos="7:0" rst="FF">
  11097. <comment>Writing to this register will send the data to the SIM card. If automatic clock shutdown is enabled, the appropriate delay will be applied before the data is actually sent.</comment>
  11098. </bits>
  11099. <bits access="r" name="data_out" pos="7:0" rst="FF">
  11100. <comment>Reading this register will read from the receive data FIFO.</comment>
  11101. </bits>
  11102. </reg>
  11103. <reg name="clkdiv_reg" protect="rw">
  11104. <bits access="rw" name="clkdiv" pos="8:0" rst="0x174">
  11105. <comment>Clock divider for generating the baud clock from the SCI clock. This value must match the value used by the SIM card whose default value is 0x174.</comment>
  11106. </bits>
  11107. <bits access="rw" name="baud_x8_en" pos="9" rst="0">
  11108. <comment>
  11109. Speed mode enable.
  11110. <br/>
  11111. 0 = Low speed mode
  11112. <br/>
  11113. 1 = High speed mode(372/32, 372/64, 512/64)
  11114. </comment>
  11115. </bits>
  11116. <bits access="rw" name="rx_clk_cnt_limit" pos="14:10" rst="0x10">
  11117. <comment>Rx_clk_cnt wrap value.</comment>
  11118. </bits>
  11119. <bits access="rw" name="clk_tst" pos="15" rst="0">
  11120. </bits>
  11121. <bits access="rw" name="clkdiv_16" pos="23:16" rst="0x16">
  11122. <comment>Secondary clock divider for generating 16x baud clock.</comment>
  11123. </bits>
  11124. <bits access="rw" name="maindiv" pos="29:24" rst="0x4">
  11125. <comment>
  11126. Main clock divider to generate the SCI clock. This value should be calculated as follows:
  11127. <br/>
  11128. MainDiv = Clk_Sys/(2xSCI_Clk) - 1
  11129. <br/>
  11130. where SCI_Clk is in the range of 3-5 MHz as specified in the SIM specification.
  11131. </comment>
  11132. <options>
  11133. <mask/>
  11134. <default/>
  11135. </options>
  11136. </bits>
  11137. <bits access="rw" name="clk_out_inv" pos="30" rst="0">
  11138. <comment>
  11139. Inverts the polarity of the SCI clock to the SIM card only.
  11140. <br/>
  11141. 0 = No inversion
  11142. <br/>
  11143. 1 = Invert external SCI clock
  11144. </comment>
  11145. </bits>
  11146. <bits access="rw" name="clk_inv" pos="31" rst="0">
  11147. <comment>
  11148. Inverts the polarity of the SCI clock to the SIM card and internal.
  11149. <br/>
  11150. 0 = No inversion
  11151. <br/>
  11152. 1 = Invert external SCI clock
  11153. </comment>
  11154. </bits>
  11155. </reg>
  11156. <reg name="rxcnt_reg" protect="rw">
  11157. <bits access="rw" name="rxcnt" pos="9:0" rst="0">
  11158. <comment>
  11159. This value should be programmed with the number of expected characters to receive. It will be decremented each time a character is
  11160. <strong>actually</strong>
  11161. received and should be 0 when the transfer is complete. If a character is sent after the RxCnt reaches zero, the extra character flag will be set but this value will stay at zero.
  11162. </comment>
  11163. </bits>
  11164. <bits access="rw" name="clk_persist" pos="31" rst="0">
  11165. <comment>
  11166. When in automatic clock shutdown mode, this bit can prevent the clock from entering shutdown mode when the transfer is complete. This should be used for multi-transfer commands where the clock must not be shut down until the command is complete. This bit must be programmed for each transfer.
  11167. <br/>
  11168. 1 = Keep clock on
  11169. <br/>
  11170. 0 = Allow clock shutdown when transfer is complete
  11171. </comment>
  11172. </bits>
  11173. </reg>
  11174. <reg name="times" protect="rw">
  11175. <bits access="rw" name="chguard" pos="7:0" rst="1">
  11176. <comment>This is the extra guard time that can be added to the 2 ETU minimum (and default) guard time between successive transmitted characters. This should be programmed depending on the SIM's ATR. The total ETU guard time will be ChGuard + 1.</comment>
  11177. <options>
  11178. <mask/>
  11179. <shift/>
  11180. </options>
  11181. </bits>
  11182. <bits access="rw" name="turnaroundguard" pos="11:8" rst="0x6">
  11183. <comment>
  11184. Turnaround guard time configuration. This value can be used to adjust the delay between the leading edge of a received character and the leading edge of the next transmitted character. The minimum time specified in the SIM recommendation is 16 ETU. The number of ETUs can be calculated using the following formula:
  11185. <br/>
  11186. Total Turnaround Time (in ETUs) = 11 + TurnaroundGuard
  11187. </comment>
  11188. <options>
  11189. <mask/>
  11190. <shift/>
  11191. </options>
  11192. </bits>
  11193. <bits access="rw" name="wi" pos="23:16" rst="0x0A">
  11194. <comment>
  11195. Work Waiting Time factor. A timeout will be generated when the WWT is exceeded. The WWT is calculated by:
  11196. <br/>
  11197. WWT = 960 x WI x (F/Fi)
  11198. <br/>
  11199. where Fi is the main SCI clock frequency (3-5 MHz) and F is 372 before an enhanced PPS and 512 after an enhanced PPS.
  11200. <br/>
  11201. The SCI_WI value must be calculated as follows:
  11202. <br/>
  11203. SCI_WI = WI * D
  11204. <br/>
  11205. Thus, by default (WI = 10) this value needs to be set to 10 before an EPPS, but needs to be scaled to WI*D=80 after the EPPS procedure.
  11206. </comment>
  11207. <options>
  11208. <mask/>
  11209. <shift/>
  11210. </options>
  11211. </bits>
  11212. <bits access="rw" name="tx_pert" pos="31:24" rst="0xFF">
  11213. <comment>Number of times to try resending character when the SIM indicates a parity error.</comment>
  11214. </bits>
  11215. </reg>
  11216. <reg name="ch_filt_reg" protect="rw">
  11217. <bits access="rw" name="ch_filt" pos="7:0" rst="0x60">
  11218. <comment>
  11219. Value of the character to be filtered. 0x60 is the NULL character in the SIM protocol. If character filtering is enabled, the
  11220. <strong>first</strong>
  11221. 0x60 character that is received by the SIM during a transfer will
  11222. <strong>not</strong>
  11223. be recorded. The purpose of this character is to enable the SIM to reset the WWT counter when the SIM is not ready to send the data. This filter has no effect on characters within the datastream.
  11224. </comment>
  11225. </bits>
  11226. </reg>
  11227. <reg name="dbg" protect="w">
  11228. <bits access="w" name="fifo_rx_clr" pos="0" rst="0">
  11229. <comment>Clear RX FIFO.</comment>
  11230. </bits>
  11231. <bits access="w" name="fifo_tx_clr" pos="1" rst="0">
  11232. <comment>Clear TX FIFO.</comment>
  11233. </bits>
  11234. <comment>clear RX/TX FIFO</comment>
  11235. </reg>
  11236. <reg name="int_cause" protect="r">
  11237. <bits access="r" name="rx_done" pos="0" rst="0">
  11238. <comment>Number of expected Rx characters, as programmed in the RxCnt register, has been received.</comment>
  11239. </bits>
  11240. <bits access="r" name="rx_half" pos="1" rst="0">
  11241. <comment>Receiver FIFO is half full.</comment>
  11242. </bits>
  11243. <bits access="r" name="wwt_timeout" pos="2" rst="0">
  11244. <comment>No Tx character has been sent NOR any Rx character detected within the WWT timeout.</comment>
  11245. </bits>
  11246. <bits access="r" name="extra_rx" pos="3" rst="0">
  11247. <comment>An extra character has been received after the number of characters in RxCnt has been received.</comment>
  11248. </bits>
  11249. <bits access="r" name="resend_ovfl" pos="4" rst="0">
  11250. <comment>The automatic re-transmit of parity error characters has exceeded the threshold specified in the Tx_PERT field.</comment>
  11251. </bits>
  11252. <bits access="r" name="arg_end" pos="5" rst="0">
  11253. <comment>End of the ARG sequence. The status register must be read to determine whether the ARG sequence was successful or not.</comment>
  11254. </bits>
  11255. <bits access="r" name="sci_dma_tx_done" pos="6" rst="0">
  11256. <comment>DMA tx done.</comment>
  11257. </bits>
  11258. <bits access="r" name="sci_dma_rx_done" pos="7" rst="0">
  11259. <comment>DMA rx done.</comment>
  11260. </bits>
  11261. <comment>
  11262. This register is a
  11263. <b>READ ONLY</b>
  11264. register that returns the logical
  11265. <b>and</b>
  11266. of the SCI_INT_STATUS register and the SCI_INT_MASK. If any of these bits is '1', the SCI module will generate an interrupt. Bits 21:16 return the
  11267. <u>status</u>
  11268. of the interrupt which is the interrupt state before the mask is applied. These bits should only be used for debugging.
  11269. </comment>
  11270. </reg>
  11271. <reg name="int_clr" protect="rw">
  11272. <bits access="c" name="rx_done" pos="0" rst="0">
  11273. <comment>Number of expected Rx characters, as programmed in the SCI_RxCnt register, has been received.</comment>
  11274. </bits>
  11275. <bits access="c" name="rx_half" pos="1" rst="0">
  11276. <comment>Receiver FIFO is half full.</comment>
  11277. </bits>
  11278. <bits access="c" name="wwt_timeout" pos="2" rst="0">
  11279. <comment>No Tx character has been sent NOR any Rx character detected within the WWT timeout.</comment>
  11280. </bits>
  11281. <bits access="c" name="extra_rx" pos="3" rst="0">
  11282. <comment>An extra character has been received after the number of characters in SCI_RxCnt has been received.</comment>
  11283. </bits>
  11284. <bits access="c" name="resend_ovfl" pos="4" rst="0">
  11285. <comment>The automatic re-transmit of parity error characters has exceeded the threshold specified in the SCI_Tx_PERT field.</comment>
  11286. </bits>
  11287. <bits access="c" name="arg_end" pos="5" rst="0">
  11288. <comment>End of the ARG sequence. The status register must be read to determine whether the ARG sequence was successful or not.</comment>
  11289. </bits>
  11290. <bits access="c" name="sci_dma_tx_done" pos="6">
  11291. <comment>DMA tx done.</comment>
  11292. </bits>
  11293. <bits access="c" name="sci_dma_rx_done" pos="7">
  11294. <comment>DMA rx done.</comment>
  11295. </bits>
  11296. <comment>This is a WRITE ONLY register that is used to clear an SCI interrupt. Write a '1' to the interrupt that is to be cleared. Writing '0' has no effect.</comment>
  11297. </reg>
  11298. <reg name="int_mask" protect="rw">
  11299. <bits access="rw" name="rx_done" pos="0" rst="0">
  11300. <comment>Number of expected Rx characters, as programmed in the SCI_RxCnt register, has been received.</comment>
  11301. </bits>
  11302. <bits access="rw" name="rx_half" pos="1" rst="0">
  11303. <comment>Receiver FIFO is half full.</comment>
  11304. </bits>
  11305. <bits access="rw" name="wwt_timeout" pos="2" rst="0">
  11306. <comment>No Tx character has been sent NOR any Rx character detected within the WWT timeout.</comment>
  11307. </bits>
  11308. <bits access="rw" name="extra_rx" pos="3" rst="0">
  11309. <comment>An extra character has been received after the number of characters in SCI_RxCnt has been received.</comment>
  11310. </bits>
  11311. <bits access="rw" name="resend_ovfl" pos="4" rst="0">
  11312. <comment>The automatic re-transmit of parity error characters has exceeded the threshold specified in the SCI_Tx_PERT field.</comment>
  11313. </bits>
  11314. <bits access="rw" name="arg_end" pos="5" rst="0">
  11315. <comment>End of the ARG sequence. The status register must be read to determine whether the ARG sequence was successful or not.</comment>
  11316. </bits>
  11317. <bits access="rw" name="sci_dma_tx_done" pos="6" rst="0">
  11318. <comment>DMA tx done.</comment>
  11319. </bits>
  11320. <bits access="rw" name="sci_dma_rx_done" pos="7" rst="0">
  11321. <comment>DMA rx done.</comment>
  11322. </bits>
  11323. <comment>This register is READ/WRITE register that enables the desired interrupt. A '1' in a bit position indicates that the corresponding interrupt is enabled and if the interrupt occurs, the SCI will generate a hardware interrupt.</comment>
  11324. </reg>
  11325. <reg name="pa_clk_stop_en" protect="rw">
  11326. </reg>
  11327. <reg name="pa_status" protect="rw">
  11328. </reg>
  11329. </module>
  11330. </archive>
  11331. <archive relative="lps.xml">
  11332. <module category="System" name="LPS">
  11333. <var name="LP_FRAC_NB_BITS" value="16"/>
  11334. <var name="LP_COUNT_INT_NB_BITS" value="19"/>
  11335. <var name="LP_COUNT_NB_BITS" value="LP_COUNT_INT_NB_BITS + LP_FRAC_NB_BITS"/>
  11336. <var name="LP_RATE_INT_NB_BITS" value="12"/>
  11337. <var name="LP_RATE_NB_BITS" value="LP_RATE_INT_NB_BITS + LP_FRAC_NB_BITS"/>
  11338. <var name="SYS_COUNT_NB_BITS" value="29"/>
  11339. <var name="FRAME_COUNT_NB_BITS" value="32"/>
  11340. <var name="PU_COUNT_NB_BITS" value="12"/>
  11341. <reg name="lps_sf_ctrl" protect="rw">
  11342. <bits access="rw" name="lps_sf_enable" pos="0" rst="0">
  11343. <comment>
  11344. Lps Skip Frame Enable.
  11345. <br/>
  11346. When enabled the frame interrupt are masked until the programmed number of frames are elapsed.
  11347. <br/>
  11348. This is done by masking the frame interrupt line from the regular TCU counter, and counting the frames. Also when activating the LowPower SkipFrame the frame counter is tranfered to the low power counter that will update it based on the 32kHz Clock.
  11349. </comment>
  11350. </bits>
  11351. <bits access="rw" name="lps_sf_lowpower" pos="5:4" rst="0">
  11352. <comment>Controls the Lps Low Power Counters (counters at 32kHz) usage.</comment>
  11353. <options>
  11354. <option name="Stop" value="0">
  11355. <comment>Disable the Low Power Counters.</comment>
  11356. </option>
  11357. <option name="SkipFrame" value="1">
  11358. <comment>The Low Power Counters are started in Skip Frame Mode. In this mode the Low Power Counter are used to maintain the Time base, The Skip Frame Must be enabled as this is the Low Power extention of the Skip Frame feature.</comment>
  11359. </option>
  11360. <option name="Calib" value="3">
  11361. <comment>Start the calibration. The Low Power Counters are used to Calibrate the 32kHz clock against the System Clock, The Calibration is required to compensate from temperature variation. Note that the Skip Frame can also be enabled during calibration (but not with low power).</comment>
  11362. </option>
  11363. <mask/>
  11364. <shift/>
  11365. <default/>
  11366. </options>
  11367. </bits>
  11368. <bits access="rw" name="lps_sf_wakeup0" pos="8" rst="0">
  11369. <comment>Enable fake Fint used with wakeupNumber=0.</comment>
  11370. <options>
  11371. <option name="Disabled" value="0"/>
  11372. <option name="Enabled" value="1"/>
  11373. </options>
  11374. </bits>
  11375. <bits access="rw" name="lps_sf_wakeup0_cfg" pos="9" rst="0">
  11376. <comment>
  11377. Enable fake Fint when sys_sf_frame_count&gt;=cfg_sf_frame.
  11378. <br/>
  11379. Default sys_sf_frame_count&gt;cfg_sf_frame.
  11380. </comment>
  11381. <options>
  11382. <option name="0" value="0"/>
  11383. <option name="1" value="1"/>
  11384. </options>
  11385. </bits>
  11386. </reg>
  11387. <reg name="lps_sf_status" protect="rw">
  11388. <bits access="r" name="lps_sf_ready" pos="0" rst="1">
  11389. <comment>
  11390. Lps Skip Frame Ready, status of the state machines to keep valid state between system clock and 32Khz clock.
  11391. <br/>
  11392. Must read as '1' before entering Low Power Skip Frame or Calibration mode.
  11393. </comment>
  11394. </bits>
  11395. <bits access="r" name="lps_sf_slowrunning" pos="4" rst="0">
  11396. <comment>
  11397. '1' when Lps Skip Frame Low Power Counters are Running.
  11398. <br/>
  11399. When entering Low Power Skip Frame, the counters are not immediately started, they wait for the nextFrame interrupt. Reading this status allow to know if the counters are running, and the System Clock can be safely disabled.
  11400. </comment>
  11401. </bits>
  11402. <bits access="r" name="lps_sf_calibrationdone" pos="8" rst="0">
  11403. <comment>'1' when the Lps Skip Frame Calibration is Done.</comment>
  11404. </bits>
  11405. <bits access="r" name="lps_sf_pu_reached" pos="12" rst="0">
  11406. <comment>'1' when the Lps Skip Frame Power-up sequence frame is reached.</comment>
  11407. </bits>
  11408. <bits access="r" name="lps_sf_tcu_restart" pos="16" rst="0">
  11409. <comment>'1' when tcu counter is restarted.</comment>
  11410. </bits>
  11411. </reg>
  11412. <reg name="lps_sf_frames" protect="rw">
  11413. <bits access="rw" name="lps_sf_frame" pos="FRAME_COUNT_NB_BITS-1:0" rst="0">
  11414. <comment>
  11415. Number of frames to Skip.
  11416. <br/>
  11417. If the power up sequence is enabled, frames are skipped until both this number is reached and the powerup sequence has finished.
  11418. <br/>
  11419. Note: The power up sequence must be
  11420. <b>Done</b>
  11421. before the the frame LPS_SF_Frame ends.
  11422. </comment>
  11423. </bits>
  11424. </reg>
  11425. <reg name="lps_sf_pu_frames" protect="rw">
  11426. <bits access="rw" name="lps_sf_pu_frame" pos="FRAME_COUNT_NB_BITS-1:0" rst="0">
  11427. <comment>Number of frames before activating the Power-up sequence.</comment>
  11428. </bits>
  11429. </reg>
  11430. <reg name="lps_sf_restart_time" protect="rw">
  11431. <bits access="rw" name="lps_sf_restart_time" pos="LP_COUNT_INT_NB_BITS-1:0" rst="0">
  11432. <comment>
  11433. For LowPower SkipFrame mode: Value to restart TCU (and frame interrupt generation) on the system clock counter after a low power phase.
  11434. <br/>
  11435. For Calibration mode: number of 32k cycles for the calibration.
  11436. </comment>
  11437. </bits>
  11438. </reg>
  11439. <reg name="lps_sf_frame_period" protect="rw">
  11440. <bits access="rw" name="lps_sf_frame_period" pos="LP_COUNT_INT_NB_BITS-1:0" rst="0">
  11441. <comment>Value of the frame period in system clock count.</comment>
  11442. </bits>
  11443. </reg>
  11444. <reg name="lps_sf_rate" protect="rw">
  11445. <comment>The rate is the number of System Clocks per 32kHz Clocks.</comment>
  11446. <bits access="rw" name="lps_sf_rate_int" pos="LP_RATE_NB_BITS-1:LP_FRAC_NB_BITS" rst="0">
  11447. <comment>Integer part of the rate.</comment>
  11448. </bits>
  11449. <bits access="rw" name="lps_sf_rate_frac" pos="LP_FRAC_NB_BITS-1:0" rst="0">
  11450. <comment>Fractional part of the rate.</comment>
  11451. </bits>
  11452. </reg>
  11453. <reg name="lps_sf_elapsed_frames" protect="rw">
  11454. <bits access="r" name="lps_sf_elapsed_frames" pos="FRAME_COUNT_NB_BITS-1:0" rst="0">
  11455. <comment>
  11456. Current number of elapsed frames.
  11457. <br/>
  11458. Valid when Skip Frame is Enabled.
  11459. </comment>
  11460. </bits>
  11461. </reg>
  11462. <reg name="lps_sf_sys_count" protect="rw">
  11463. <bits access="r" name="lps_sf_sys_count" pos="SYS_COUNT_NB_BITS-1:0" rst="0">
  11464. <comment>
  11465. Value of the system clock counter at the end of calibration (when CalibrationDone is '1' in LPS_SF_Status register).
  11466. <br/>
  11467. The hardware behind it is reused during other operation, reading that register at any other time will return an undefined value.
  11468. </comment>
  11469. </bits>
  11470. </reg>
  11471. <reg name="lps_irq" protect="rw">
  11472. <bits access="rc" name="lps_irq_calibration_done_cause" pos="0" rst="0">
  11473. <comment>
  11474. 1 when the IRQ was triggered because the calibration is done.
  11475. <br/>
  11476. Write 1 in cause or status bit to clear.
  11477. </comment>
  11478. </bits>
  11479. <bits access="rc" name="lps_irq_slow_running_cause" pos="1" rst="0">
  11480. <comment>
  11481. 1 when the IRQ was triggered because the Slow Counter started.
  11482. <br/>
  11483. Write 1 in cause or status bit to clear.
  11484. </comment>
  11485. </bits>
  11486. <bits access="rc" name="lps_irq_pu_reached_cause" pos="2" rst="0">
  11487. <comment>
  11488. 1 when the IRQ was triggered because the Power-Up frame was reached.
  11489. <br/>
  11490. Write 1 in cause or status bit to clear.
  11491. </comment>
  11492. </bits>
  11493. <bits access="rc" name="lps_irq_tcu_restart_cause" pos="3" rst="0">
  11494. <comment>
  11495. 1 when the IRQ was triggered because the tcu counter was restarted.
  11496. <br/>
  11497. Write 1 in cause or status bit to clear.
  11498. </comment>
  11499. </bits>
  11500. <bitgroup name="lps_pu_irq_cause">
  11501. <entry ref="lps_irq_calibration_done_cause"/>
  11502. <entry ref="lps_irq_slow_running_cause"/>
  11503. <entry ref="lps_irq_pu_reached_cause"/>
  11504. <entry ref="lps_irq_tcu_restart_cause"/>
  11505. </bitgroup>
  11506. <bits access="rc" name="lps_irq_calibration_done_status" pos="16" rst="0">
  11507. <comment>
  11508. 1 when the calibration is done.
  11509. <br/>
  11510. Write 1 in cause or status bit to clear.
  11511. </comment>
  11512. </bits>
  11513. <bits access="rc" name="lps_irq_slow_running_status" pos="17" rst="0">
  11514. <comment>
  11515. 1 when the Slow Counter started.
  11516. <br/>
  11517. Write 1 in cause or status bit to clear.
  11518. </comment>
  11519. </bits>
  11520. <bits access="rc" name="lps_irq_pu_reached_status" pos="18" rst="0">
  11521. <comment>
  11522. 1 when the Power-Up frame was reached.
  11523. <br/>
  11524. Write 1 in cause or status bit to clear.
  11525. </comment>
  11526. </bits>
  11527. <bits access="rc" name="lps_irq_tcu_restart_status" pos="19" rst="0">
  11528. <comment>
  11529. 1 when the tcu counter was restarted.
  11530. <br/>
  11531. Write 1 in cause or status bit to clear.
  11532. </comment>
  11533. </bits>
  11534. <bitgroup name="lps_pu_irq_status">
  11535. <entry ref="lps_irq_calibration_done_status"/>
  11536. <entry ref="lps_irq_slow_running_status"/>
  11537. <entry ref="lps_irq_pu_reached_status"/>
  11538. <entry ref="lps_irq_tcu_restart_status"/>
  11539. </bitgroup>
  11540. </reg>
  11541. <reg name="lps_irq_mask" protect="rw">
  11542. <bits access="rw" name="lps_irq_calibration_done_mask" pos="0" rst="0">
  11543. <comment>when 1 the LPS_IRQ_Calibration_Done is enabled.</comment>
  11544. </bits>
  11545. <bits access="rw" name="lps_irq_slow_running_mask" pos="1" rst="0">
  11546. <comment>when 1 the LPS_IRQ_Slow_Running is enabled.</comment>
  11547. </bits>
  11548. <bits access="rw" name="lps_irq_pu_reached_mask" pos="2" rst="0">
  11549. <comment>when 1 the LPS_IRQ_PU_Reached is enabled.</comment>
  11550. </bits>
  11551. <bits access="rw" name="lps_irq_tcu_restart_mask" pos="3" rst="0">
  11552. <comment>when 1 the LPS_IRQ_TCU_Restart is enabled.</comment>
  11553. </bits>
  11554. <bitgroup name="lps_irq_mask">
  11555. <entry ref="lps_irq_calibration_done_mask"/>
  11556. <entry ref="lps_irq_slow_running_mask"/>
  11557. <entry ref="lps_irq_pu_reached_mask"/>
  11558. <entry ref="lps_irq_tcu_restart_mask"/>
  11559. </bitgroup>
  11560. </reg>
  11561. </module>
  11562. </archive>
  11563. <archive relative="spi.xml">
  11564. <var name="SPI_TX_FIFO_SIZE" value="16"/>
  11565. <var name="SPI_RX_FIFO_SIZE" value="16"/>
  11566. <module category="Periph" name="SPI">
  11567. <reg name="ctrl" protect="rw">
  11568. <bits access="rw" name="enable" pos="0" rst="0">
  11569. <comment>Enable the module and activate the chip select selected by CS_sel field.</comment>
  11570. </bits>
  11571. <bits access="rw" name="cs_sel" pos="2:1" rst="0">
  11572. <comment>Selects the active CS.</comment>
  11573. <options>
  11574. <option name="CS0" value="0"/>
  11575. <option name="CS1" value="1"/>
  11576. <option name="CS2" value="2"/>
  11577. <option name="CS3" value="3"/>
  11578. <default/>
  11579. <shift/>
  11580. <mask/>
  11581. </options>
  11582. </bits>
  11583. <bits access="rw" name="input_mode" pos="4" rst="1">
  11584. <comment>
  11585. When set to 1 the inputs are activated, else only the output is driven and no data are stored in the receive FIFO.
  11586. <br/>
  11587. Notes: The Input_mode bit status is also readable onto the bit rxtx_buffer[31].
  11588. </comment>
  11589. </bits>
  11590. <bits access="rw" name="clock_polarity" pos="5" rst="1">
  11591. <comment>
  11592. The spi clock polarity
  11593. <br/>
  11594. when '0' the clock disabled level is low, and the first edge is a rising edge.
  11595. <br/>
  11596. When '1' the clock disabled level is high, and the first edge is a falling edge.
  11597. </comment>
  11598. </bits>
  11599. <bits access="rw" name="clock_delay" pos="7:6" rst="3">
  11600. <comment>Transfer start to first edge delay value from 0 to 2 is the number of spi clock half period between the CS activation and the first clock edge.</comment>
  11601. </bits>
  11602. <bits access="rw" name="do_delay" pos="9:8" rst="3">
  11603. <comment>Transfer start to first data out delay value from 0 to 2 is the number of spi clock half period between the CS activation and the first data out</comment>
  11604. </bits>
  11605. <bits access="rw" name="di_delay" pos="11:10" rst="3">
  11606. <comment>
  11607. Transfer start to first data in sample delay value from 0 to 3 is the number of spi clock half period between the CS activation and the first data in sampled.
  11608. <br/>
  11609. NOTE: DI_Delay must be less or equal to DO_Delay + CS_Delay + 2.
  11610. <br/>
  11611. In other words DI_Delay can be 3 only if DO_Delay and CS_Delay are not both equal to 0.
  11612. </comment>
  11613. </bits>
  11614. <bits access="rw" name="cs_delay" pos="13:12" rst="3">
  11615. <comment>Transfer end to chip select deactivation delay value from 0 to 3 is the number of spi clock half period between the end of transfer and CS deactivation</comment>
  11616. </bits>
  11617. <bits access="rw" name="cs_pulse" pos="15:14" rst="3">
  11618. <comment>Chip select deactivation to reactivation minimum delay value from 0 to 3 is the number of spi clock half period between the CS deactivation and a new CS activation (CS will activate only if more data are available in the transmit FIFO)</comment>
  11619. </bits>
  11620. <bits access="rw" name="frame_size" pos="20:16" rst="31">
  11621. <comment>
  11622. Frame Size
  11623. <br/>
  11624. The frame size is the binary value of this register + 1 valid value are 3 to 31 (frame size 4 to 32bits)
  11625. </comment>
  11626. </bits>
  11627. <bits access="rw" name="oe_delay" pos="28:24" rst="31">
  11628. <comment>
  11629. OE delay
  11630. <br/>
  11631. When 0: regular mode, SPI_DO pin as output only.
  11632. <br/>
  11633. Value from 1 to 31 is the number of data out to transfert before the SPI_DO pin switch to input.
  11634. </comment>
  11635. </bits>
  11636. <bits access="rw" name="ctrl_data_mux_sel" pos="29" rst="0">
  11637. <comment>
  11638. Selects the active CS and Input_reg either from the ctrl or rxtx_buffer register.
  11639. <br/>
  11640. If SPI FIFO 8b or 32b, when set to &quot;0&quot;: CS from CS_sel and INPUT from Input_mode in the register ctrl.
  11641. <br/>
  11642. Only if SPI FIFO 32b, when set to &quot;1&quot;: CS and INPUT from SPI DATA.(Do not work for FIFO8b)
  11643. </comment>
  11644. <options>
  11645. <option name="Ctrl_reg_sel" value="0"/>
  11646. <option name="Data_reg_sel" value="1"/>
  11647. <default/>
  11648. <shift/>
  11649. <mask/>
  11650. </options>
  11651. </bits>
  11652. <bits access="rw" name="input_sel" pos="31:30" rst="0">
  11653. <comment>
  11654. Selects the input line to be used as SPI data in.(Not used for SPI3)
  11655. <br/>
  11656. when &quot;00&quot; the SPI_DI_0 is used.
  11657. <br/>
  11658. When &quot;01&quot; the SPI_DI_1 is used.
  11659. <br/>
  11660. When &quot;10&quot; the SPI_DI_2 is used.
  11661. <br/>
  11662. When &quot;11&quot; reserved.
  11663. </comment>
  11664. </bits>
  11665. </reg>
  11666. <reg name="status" protect="rw">
  11667. <bits access="r" name="active_status" pos="0" rst="0">
  11668. <comment>'1' when a transfer is in progress.</comment>
  11669. </bits>
  11670. <bits access="rw" name="cause_rx_ovf_irq" pos="3" rst="0">
  11671. <comment>
  11672. The receive FIFO overflow irq cause.
  11673. <br/>
  11674. Writing a '1' clear the receive overflow status and cause.
  11675. </comment>
  11676. </bits>
  11677. <bits access="r" name="cause_tx_th_irq" pos="4" rst="0">
  11678. <comment>The transmit FIFO threshold irq cause.</comment>
  11679. </bits>
  11680. <bits access="rw" name="cause_tx_dma_irq" pos="5" rst="0">
  11681. <comment>
  11682. The transmit Dma Done irq cause.
  11683. <br/>
  11684. Writing a '1' clear the transmit Dma Done status and cause.
  11685. </comment>
  11686. </bits>
  11687. <bits access="r" name="cause_rx_th_irq" pos="6" rst="0">
  11688. <comment>The receive FIFO threshold irq cause.</comment>
  11689. </bits>
  11690. <bits access="rw" name="cause_rx_dma_irq" pos="7" rst="0">
  11691. <comment>
  11692. The receive Dma Done irq cause.
  11693. <br/>
  11694. Writing a '1' clear the receive Dma Done status and cause.
  11695. </comment>
  11696. </bits>
  11697. <bitgroup name="irq_cause">
  11698. <entry ref="cause_rx_ovf_irq"/>
  11699. <entry ref="cause_tx_th_irq"/>
  11700. <entry ref="cause_tx_dma_irq"/>
  11701. <entry ref="cause_rx_th_irq"/>
  11702. <entry ref="cause_rx_dma_irq"/>
  11703. </bitgroup>
  11704. <bits access="rw" name="tx_ovf" pos="9" rst="0">
  11705. <comment>
  11706. The transmit FIFO overflow status.
  11707. <br/>
  11708. Writing a '1' clear the transmit overflow status and cause.
  11709. </comment>
  11710. </bits>
  11711. <bits access="rw" name="rx_udf" pos="10" rst="0">
  11712. <comment>
  11713. The receive FIFO underflow status.
  11714. <br/>
  11715. Writing a '1' clear the receive underflow status and cause.
  11716. </comment>
  11717. </bits>
  11718. <bits access="rw" name="rx_ovf" pos="11" rst="0">
  11719. <comment>
  11720. The receive FIFO overflow status.
  11721. <br/>
  11722. Writing a '1' clear the receive overflow status and cause.
  11723. </comment>
  11724. </bits>
  11725. <bits access="r" name="tx_th" pos="12" rst="1">
  11726. <comment>The transmit FIFO threshold status.</comment>
  11727. </bits>
  11728. <bits access="rw" name="tx_dma_done" pos="13" rst="0">
  11729. <comment>
  11730. The transmit Dma Done status.
  11731. <br/>
  11732. Writing a '1' clear the transmit Dma Done status and cause.
  11733. </comment>
  11734. </bits>
  11735. <bits access="r" name="rx_th" pos="14" rst="0">
  11736. <comment>The receive FIFO threshold status.</comment>
  11737. </bits>
  11738. <bits access="rw" name="rx_dma_done" pos="15" rst="0">
  11739. <comment>
  11740. The receive Dma Done status.
  11741. <br/>
  11742. Writing a '1' clear the receive Dma Done status and cause.
  11743. </comment>
  11744. </bits>
  11745. <bits access="r" name="tx_space" pos="20:16" rst="16">
  11746. <comment>
  11747. Transmit FIFO Space
  11748. <br/>
  11749. Number of empty spot in the FIFO
  11750. </comment>
  11751. <options>
  11752. <mask/>
  11753. <shift/>
  11754. </options>
  11755. </bits>
  11756. <bits access="r" name="rx_level" pos="28:24" rst="0">
  11757. <comment>
  11758. Receive FIFO level
  11759. <br/>
  11760. Number of DATA in the FIFO
  11761. </comment>
  11762. <options>
  11763. <mask/>
  11764. <shift/>
  11765. </options>
  11766. </bits>
  11767. <bits access="w" name="fifo_flush" pos="30" rst="0">
  11768. <comment>Writing '1' flush both FIFO, don't do it when SPI is active (transfer in progress)</comment>
  11769. </bits>
  11770. </reg>
  11771. <reg name="rxtx_buffer" protect="--">
  11772. <comment>
  11773. Spi1 fifo size (rxtx_buffer): 8bits.
  11774. <br/>
  11775. Spi2 fifo size (rxtx_buffer): 8bits.
  11776. <br/>
  11777. Spi3 fifo size (rxtx_buffer): 32bits.
  11778. <br/>
  11779. </comment>
  11780. <bits access="rw" name="data_in_out" pos="28:0" rst="0">
  11781. <comment>Write to the transmit FIFO
  11782. Read in the receive FIFO.</comment>
  11783. </bits>
  11784. <bits access="rw" name="cs" pos="30:29" rst="0">
  11785. <comment>Chip Select on which write the data written in the
  11786. Fifo.
  11787. Data in bit [30:29]
  11788. Data out bit [30:29]</comment>
  11789. <options>
  11790. <mask/>
  11791. <shift/>
  11792. <default/>
  11793. </options>
  11794. </bits>
  11795. <bits access="rw" name="read_ena" pos="31" rst="1">
  11796. <comment>Set this bit to one when the data received while sending
  11797. this peculiar data are expected to be kept in the FIFO,
  11798. otherwise no data is recorded in the FIFO.
  11799. Data in bit [31]
  11800. Data out bit [31]</comment>
  11801. <options>
  11802. <mask/>
  11803. <shift/>
  11804. <default/>
  11805. </options>
  11806. </bits>
  11807. </reg>
  11808. <reg name="cfg" protect="rw">
  11809. <bits access="rw" cut="1" cutprefix="CS_Polarity" name="cs_polarity" pos="2:0" rst="0x3">
  11810. <comment>Chip select polarity</comment>
  11811. <options>
  11812. <option name="active high" value="0">
  11813. <comment>chip select is active high</comment>
  11814. </option>
  11815. <option name="active low" value="1">
  11816. <comment>chip select is active low</comment>
  11817. </option>
  11818. <mask/>
  11819. <shift/>
  11820. <default/>
  11821. </options>
  11822. </bits>
  11823. <bits access="rw" name="clock_divider" pos="25:16" rst="0x3ff">
  11824. <comment>
  11825. Clock Divider
  11826. <br/>
  11827. The state machine clock is generated by dividing the system clock by the value of this register + 1.
  11828. <br/>
  11829. So the output clock is divided by (register + 1)*2
  11830. </comment>
  11831. <options>
  11832. <mask/>
  11833. <shift/>
  11834. <default/>
  11835. </options>
  11836. </bits>
  11837. <bits access="rw" name="clock_limiter" pos="28" rst="1">
  11838. <comment>
  11839. When enabled the clock input to the divider is not the system clock, but a limited version of it: It cannot be above 52MHz, so the output clock will never be above 26MHz.
  11840. <br/>
  11841. for system clock of 104Mhz the clock input to the divider is 52Mhz, for system clock of 78Mhz the clock input to the divider is 39Mhz, for lower system clock value, the input to the divider is the system clock.
  11842. </comment>
  11843. <options>
  11844. <mask/>
  11845. <shift/>
  11846. <default/>
  11847. </options>
  11848. </bits>
  11849. </reg>
  11850. <reg name="pattern" protect="rw">
  11851. <bits access="rw" name="pattern" pos="7:0" rst="0">
  11852. <comment>MMC Pattern value for RX pattern match mode.</comment>
  11853. </bits>
  11854. <bits access="rw" name="pattern_mode" pos="8" rst="0">
  11855. <comment>Enable the pattern mode.</comment>
  11856. <options>
  11857. <option name="disabled" value="0">
  11858. <comment>Spi Behaviour.</comment>
  11859. </option>
  11860. <option name="enabled" value="1">
  11861. <comment>Pattern matching.</comment>
  11862. </option>
  11863. <default/>
  11864. <shift/>
  11865. <mask/>
  11866. </options>
  11867. </bits>
  11868. <bits access="rw" name="pattern_selector" pos="9" rst="0">
  11869. <comment>Select the RX pattern matching mode when the pattern_mode is enabled( set 1). Used for SD/MMC SPI mode.</comment>
  11870. <options>
  11871. <option name="UNTIL" value="0">
  11872. <comment>No datas are written into the RX FIFO UNTIL the received data is equal to the pattern.</comment>
  11873. </option>
  11874. <option name="WHILE" value="1">
  11875. <comment>No datas are written into the RX FIFO WHILE the received data is equal to the pattern.</comment>
  11876. </option>
  11877. <default/>
  11878. <shift/>
  11879. <mask/>
  11880. </options>
  11881. </bits>
  11882. </reg>
  11883. <reg name="stream" protect="rw">
  11884. <bits access="rw" name="tx_stream_bit" pos="0" rst="0">
  11885. <comment>When TX stream mode is enabled, once the TX fifo is empty, all new bits send have the value of this bit.</comment>
  11886. <options>
  11887. <option name="zero" value="0"/>
  11888. <option name="one" value="1"/>
  11889. <default/>
  11890. <shift/>
  11891. <mask/>
  11892. </options>
  11893. </bits>
  11894. <bits access="rw" name="tx_stream_mode" pos="8" rst="0">
  11895. <comment>
  11896. Enable the TX stream mode. Used for SD/MMC SPI mode.
  11897. <br/>
  11898. When enabled, this mode provide infinite bit stream for sending, after fifo is empty the extra bits generated all have the same value. The value is in tx_stream_bit.
  11899. </comment>
  11900. <options>
  11901. <option name="disabled" value="0"/>
  11902. <option name="enabled" value="1"/>
  11903. <default/>
  11904. <shift/>
  11905. <mask/>
  11906. </options>
  11907. </bits>
  11908. <bits access="rw" name="tx_stream_stop_with_rx_dma_done" pos="16" rst="0">
  11909. <comment>Allow to automatically clear the tx_stream_mode when Rx_Dma_Done is set.</comment>
  11910. <options>
  11911. <option name="disabled" value="0"/>
  11912. <option name="enabled" value="1"/>
  11913. <default/>
  11914. <shift/>
  11915. <mask/>
  11916. </options>
  11917. </bits>
  11918. </reg>
  11919. <reg name="pin_control" protect="rw">
  11920. <bits access="rw" name="clk_ctrl" pos="1:0" rst="0">
  11921. <options>
  11922. <option name="Spi Ctrl" value="0">
  11923. <comment>The Spi_Clk pin is set OUTPUT(Basic SPI Behaviour).</comment>
  11924. </option>
  11925. <option name="Input Ctrl" value="1">
  11926. <comment>The Spi_Clk pin is set INPUT (High Impedance).</comment>
  11927. </option>
  11928. <option name="Force 0 Ctrl" value="2">
  11929. <comment>The Spi_Clk pin is set OUTPUT and forced to 0.</comment>
  11930. </option>
  11931. <option name="Force 1 Ctrl" value="3">
  11932. <comment>The Spi_Clk pin is set OUTPUT and forced to 1.</comment>
  11933. </option>
  11934. <default/>
  11935. <mask/>
  11936. <shift/>
  11937. </options>
  11938. </bits>
  11939. <bits access="rw" name="do_ctrl" pos="3:2" rst="0">
  11940. <options>
  11941. <option name="Spi Ctrl" value="0">
  11942. <comment>The Spi_DO pin is set OUTPUT(Basic SPI Behaviour).</comment>
  11943. </option>
  11944. <option name="Input Ctrl" value="1">
  11945. <comment>The Spi_DO pin is set INPUT (High Impedance).</comment>
  11946. </option>
  11947. <option name="Force 0 Ctrl" value="2">
  11948. <comment>The Spi_DO pin is set OUTPUT and forced to 0.</comment>
  11949. </option>
  11950. <option name="Force 1 Ctrl" value="3">
  11951. <comment>The Spi_DO pin is set OUTPUT and forced to 1.</comment>
  11952. </option>
  11953. <default/>
  11954. <mask/>
  11955. <shift/>
  11956. </options>
  11957. </bits>
  11958. <bits access="rw" name="cs0_ctrl" pos="5:4" rst="0">
  11959. <options>
  11960. <option name="Spi Ctrl" value="0">
  11961. <comment>The Spi_CSO pin is set OUTPUT(Basic SPI Behaviour).</comment>
  11962. </option>
  11963. <option name="Input Ctrl" value="1">
  11964. <comment>The Spi_CSO pin is set INPUT (High Impedance).</comment>
  11965. </option>
  11966. <option name="Force 0 Ctrl" value="2">
  11967. <comment>The Spi_CSO pin is set OUTPUT and forced to 0.</comment>
  11968. </option>
  11969. <option name="Force 1 Ctrl" value="3">
  11970. <comment>The Spi_CSO pin is set OUTPUT and forced to 1.</comment>
  11971. </option>
  11972. <default/>
  11973. <mask/>
  11974. <shift/>
  11975. </options>
  11976. </bits>
  11977. <bits access="rw" name="cs1_ctrl" pos="7:6" rst="0">
  11978. <options>
  11979. <option name="Spi Ctrl" value="0">
  11980. <comment>The Spi_CS1 pin is set OUTPUT(Basic SPI Behaviour).</comment>
  11981. </option>
  11982. <option name="Input Ctrl" value="1">
  11983. <comment>The Spi_CS1 pin is set INPUT (High Impedance).</comment>
  11984. </option>
  11985. <option name="Force 0 Ctrl" value="2">
  11986. <comment>The Spi_CS1 pin is set OUTPUT and forced to 0.</comment>
  11987. </option>
  11988. <option name="Force 1 Ctrl" value="3">
  11989. <comment>The Spi_CS1 pin is set OUTPUT and forced to 1.</comment>
  11990. </option>
  11991. <default/>
  11992. <mask/>
  11993. <shift/>
  11994. </options>
  11995. </bits>
  11996. <bits access="rw" name="cs2_ctrl" pos="9:8" rst="0">
  11997. <options>
  11998. <option name="Spi Ctrl" value="0">
  11999. <comment>The Spi_CS2 pin is set OUTPUT(Basic SPI Behaviour).</comment>
  12000. </option>
  12001. <option name="Input Ctrl" value="1">
  12002. <comment>The Spi_CS2 pin is set INPUT (High Impedance).</comment>
  12003. </option>
  12004. <option name="Force 0 Ctrl" value="2">
  12005. <comment>The Spi_CS2 pin is set OUTPUT and forced to 0.</comment>
  12006. </option>
  12007. <option name="Force 1 Ctrl" value="3">
  12008. <comment>The Spi_CS2 pin is set OUTPUT and forced to 1.</comment>
  12009. </option>
  12010. <default/>
  12011. <mask/>
  12012. <shift/>
  12013. </options>
  12014. </bits>
  12015. </reg>
  12016. <reg name="irq" protect="rw">
  12017. <bits access="rw" name="mask_rx_ovf_irq" pos="0" rst="0">
  12018. <comment>Mask the receive FIFO overflow irq</comment>
  12019. </bits>
  12020. <bits access="rw" name="mask_tx_th_irq" pos="1" rst="0">
  12021. <comment>Mask the transmit FIFO threshold irq</comment>
  12022. </bits>
  12023. <bits access="rw" name="mask_tx_dma_irq" pos="2" rst="0">
  12024. <comment>Mask the transmit Dma Done irq</comment>
  12025. </bits>
  12026. <bits access="rw" name="mask_rx_th_irq" pos="3" rst="0">
  12027. <comment>Mask the receive FIFO threshold irq</comment>
  12028. </bits>
  12029. <bits access="rw" name="mask_rx_dma_irq" pos="4" rst="0">
  12030. <comment>Mask the receive DMA Done irq</comment>
  12031. </bits>
  12032. <bitgroup name="irq_mask">
  12033. <entry ref="mask_rx_ovf_irq"/>
  12034. <entry ref="mask_tx_th_irq"/>
  12035. <entry ref="mask_tx_dma_irq"/>
  12036. <entry ref="mask_rx_th_irq"/>
  12037. <entry ref="mask_rx_dma_irq"/>
  12038. </bitgroup>
  12039. <bits access="rw" name="tx_threshold" pos="6:5" rst="3">
  12040. <comment>Transmit FIFO threshold this threshold is used to generate the irq.</comment>
  12041. <options>
  12042. <option name="1 Empty Slot" value="0"/>
  12043. <option name="4 Empty Slots" value="1"/>
  12044. <option name="8 Empty Slots" value="2"/>
  12045. <option name="12 Empty Slots" value="3"/>
  12046. <default/>
  12047. <shift/>
  12048. <mask/>
  12049. </options>
  12050. </bits>
  12051. <bits access="rw" name="rx_threshold" pos="8:7" rst="3">
  12052. <comment>Receive FIFO threshold this threshold is used to generate the irq.</comment>
  12053. <options>
  12054. <option name="1 Valid Data" value="0"/>
  12055. <option name="4 Valid Data" value="1"/>
  12056. <option name="8 Valid Data" value="2"/>
  12057. <option name="12 Valid Data" value="3"/>
  12058. <default/>
  12059. <shift/>
  12060. <mask/>
  12061. </options>
  12062. </bits>
  12063. </reg>
  12064. </module>
  12065. </archive>
  12066. <archive relative="sys_ctrl.xml">
  12067. <include file="globals.xml"/>
  12068. <module category="System" name="SYS_CTRL">
  12069. <enum name="Cpu_Id">
  12070. <entry name="A5CPU">
  12071. <comment>CPU IDs</comment>
  12072. </entry>
  12073. </enum>
  12074. <enum name="Sys_Axi_Clks">
  12075. <entry name="SYS_AXI_CLK_ID_IMEM">
  12076. <comment>Sys Axi Clks IDs</comment>
  12077. </entry>
  12078. <entry name="SYS_AXI_CLK_ID_LZMA"/>
  12079. <bound name="NB_SYS_AXI_CLK_REV">
  12080. <comment>reserved base number</comment>
  12081. </bound>
  12082. <entry name="SYS_AXI_CLK_ID_REV0"/>
  12083. <entry name="SYS_AXI_CLK_ID_REV1"/>
  12084. <entry name="SYS_AXI_CLK_ID_REV2"/>
  12085. <entry name="SYS_AXI_CLK_ID_SDMMC1"/>
  12086. <bound name="NB_SYS_AXI_CLK_AEN">
  12087. <comment>auto clock enable number</comment>
  12088. </bound>
  12089. <entry name="SYS_AXI_CLK_ID_ALWAYS"/>
  12090. <bound name="NB_SYS_AXI_CLK_EN"/>
  12091. <bound name="NB_SYS_AXI_CLK"/>
  12092. </enum>
  12093. <enum name="Sys_Ahb_Clks">
  12094. <entry name="SYS_AHB_CLK_ID_GOUDA">
  12095. <comment>Sys Ahb Clks IDs</comment>
  12096. </entry>
  12097. <entry name="SYS_AHB_CLK_ID_GGE"/>
  12098. <entry name="SYS_AHB_CLK_ID_GEA3"/>
  12099. <bound name="NB_SYS_AHB_CLK_REV">
  12100. <comment>reserved base number</comment>
  12101. </bound>
  12102. <entry name="SYS_AHB_CLK_ID_LZMA"/>
  12103. <entry name="SYS_AHB_CLK_ID_F8"/>
  12104. <entry name="SYS_AHB_CLK_ID_AXIDMA"/>
  12105. <bound name="NB_SYS_AHB_CLK_AEN">
  12106. <comment>auto clock enable number</comment>
  12107. </bound>
  12108. <entry name="SYS_AHB_CLK_ID_USBC"/>
  12109. <entry name="SYS_AHB_CLK_ID_LCD"/>
  12110. <entry name="SYS_AHB_CLK_ID_AES"/>
  12111. <entry name="SYS_AHB_CLK_ID_USB11"/>
  12112. <entry name="SYS_AHB_CLK_ID_ALWAYS"/>
  12113. <bound name="NB_SYS_AHB_CLK_EN"/>
  12114. <bound name="NB_SYS_AHB_CLK"/>
  12115. </enum>
  12116. <enum name="Ap_Apb_Clks">
  12117. <entry name="AP_APB_CLK_ID_CONF">
  12118. <comment>Sys Apb Clks IDs</comment>
  12119. </entry>
  12120. <entry name="AP_APB_CLK_ID_MOD_CAMERA"/>
  12121. <entry name="AP_APB_CLK_ID_I2C1"/>
  12122. <entry name="AP_APB_CLK_ID_I2C3"/>
  12123. <entry name="AP_APB_CLK_ID_IFC"/>
  12124. <entry name="AP_APB_CLK_ID_IFC_CH0"/>
  12125. <entry name="AP_APB_CLK_ID_IFC_CH1"/>
  12126. <entry name="AP_APB_CLK_ID_IFC_CH2"/>
  12127. <entry name="AP_APB_CLK_ID_IFC_CH3"/>
  12128. <entry name="AP_APB_CLK_ID_IFC_CH4"/>
  12129. <entry name="AP_APB_CLK_ID_IFC_CH5"/>
  12130. <entry name="AP_APB_CLK_ID_IFC_CH6"/>
  12131. <entry name="AP_APB_CLK_ID_IFC_CHDBG"/>
  12132. <entry name="AP_APB_CLK_ID_GOUDA"/>
  12133. <entry name="AP_APB_CLK_ID_SDMMC2"/>
  12134. <entry name="AP_APB_CLK_ID_SPI1"/>
  12135. <entry name="AP_APB_CLK_ID_SPI2"/>
  12136. <entry name="AP_APB_CLK_ID_SCID1"/>
  12137. <entry name="AP_APB_CLK_ID_SCID2"/>
  12138. <entry name="AP_APB_CLK_ID_SCI1"/>
  12139. <entry name="AP_APB_CLK_ID_SCI2"/>
  12140. <entry name="AP_APB_CLK_ID_CAMERA"/>
  12141. <entry name="AP_APB_CLK_ID_PAGESPY"/>
  12142. <bound name="NB_AP_APB_CLK_AEN">
  12143. <comment>auto clock enable number</comment>
  12144. </bound>
  12145. <entry name="AP_APB_CLK_ID_LZMA"/>
  12146. <entry name="AP_APB_CLK_ID_REV2"/>
  12147. <entry name="AP_APB_CLK_ID_TIMER1"/>
  12148. <entry name="AP_APB_CLK_ID_TIMER2"/>
  12149. <entry name="AP_APB_CLK_ID_TIMER4"/>
  12150. <entry name="AP_APB_CLK_ID_LCD"/>
  12151. <entry name="AP_APB_CLK_ID_CQIRQ"/>
  12152. <entry name="AP_APB_CLK_ID_ALWAYS"/>
  12153. <bound name="NB_AP_APB_CLK_EN"/>
  12154. <bound name="NB_AP_APB_CLK"/>
  12155. </enum>
  12156. <enum name="Aif_Apb_Clks">
  12157. <entry name="AIF_APB_CLK_ID_CONF">
  12158. <comment>Aif Apb Clks IDs</comment>
  12159. </entry>
  12160. <entry name="AIF1_APB_CLK_ID_AIF"/>
  12161. <entry name="AIF2_APB_CLK_ID_AIF"/>
  12162. <entry name="AIF_APB_CLK_ID_IFC"/>
  12163. <entry name="AIF_APB_CLK_ID_IFC_CH0"/>
  12164. <entry name="AIF_APB_CLK_ID_IFC_CH1"/>
  12165. <entry name="AIF_APB_CLK_ID_IFC_CH2"/>
  12166. <entry name="AIF_APB_CLK_ID_IFC_CH3"/>
  12167. <bound name="NB_AIF_APB_CLK_REV">
  12168. <comment>reserved base number</comment>
  12169. </bound>
  12170. <entry name="AIF_APB_CLK_ID_REV0"/>
  12171. <entry name="AIF_APB_CLK_ID_REV1"/>
  12172. <entry name="AIF_APB_CLK_ID_REV2"/>
  12173. <entry name="AIF_APB_CLK_ID_AUD_2AD"/>
  12174. <bound name="NB_AIF_APB_CLK_AEN">
  12175. <comment>auto clock enable number</comment>
  12176. </bound>
  12177. <entry name="AIF_APB_CLK_ID_ALWAYS"/>
  12178. <bound name="NB_AIF_APB_CLK_EN"/>
  12179. <bound name="NB_AIF_APB_CLK"/>
  12180. </enum>
  12181. <enum name="Aon_Ahb_Clks">
  12182. <entry name="AON_AHB_CLK_ID_BB_SYSCTRL">
  12183. <comment>Aon Ahb Clks IDs</comment>
  12184. </entry>
  12185. <bound name="NB_AON_AHB_CLK_REV">
  12186. <comment>reserved base number</comment>
  12187. </bound>
  12188. <entry name="AON_AHB_CLK_ID_BB_REV0"/>
  12189. <entry name="AON_AHB_CLK_ID_BB_REV1"/>
  12190. <entry name="AON_AHB_CLK_ID_BB_REV2"/>
  12191. <entry name="AON_AHB_CLK_ID_CSSYS"/>
  12192. <bound name="NB_AON_AHB_CLK_AEN">
  12193. <comment>auto clock enable number</comment>
  12194. </bound>
  12195. <entry name="AON_AHB_CLK_ID_ALWAYS"/>
  12196. <bound name="NB_AON_AHB_CLK_EN"/>
  12197. <bound name="NB_AON_AHB_CLK"/>
  12198. </enum>
  12199. <enum name="Aon_Apb_Clks">
  12200. <entry name="AON_APB_CLK_ID_CONF">
  12201. <comment>Aon Apb Clks IDs</comment>
  12202. </entry>
  12203. <entry name="AON_APB_CLK_ID_DBG_HOST"/>
  12204. <entry name="AON_APB_CLK_ID_DBG_UART"/>
  12205. <entry name="AON_APB_CLK_ID_IFC"/>
  12206. <entry name="AON_APB_CLK_ID_IFC_CH0"/>
  12207. <entry name="AON_APB_CLK_ID_IFC_CH1"/>
  12208. <entry name="AON_APB_CLK_ID_IFC_CH2"/>
  12209. <entry name="AON_APB_CLK_ID_IFC_CH3"/>
  12210. <entry name="AON_APB_CLK_ID_IFC_CHDBG"/>
  12211. <entry name="AON_APB_CLK_ID_REV0"/>
  12212. <entry name="AON_APB_CLK_ID_REV1"/>
  12213. <entry name="AON_APB_CLK_ID_PWM"/>
  12214. <entry name="AON_APB_CLK_ID_I2C2"/>
  12215. <entry name="AON_APB_CLK_ID_ANA_REG"/>
  12216. <entry name="AON_APB_CLK_ID_SPINLOCK"/>
  12217. <entry name="AON_APB_CLK_ID_LPS_GSM"/>
  12218. <entry name="AON_APB_CLK_ID_LPS_NB"/>
  12219. <entry name="AON_APB_CLK_ID_EFUSE"/>
  12220. <entry name="AON_APB_CLK_ID_REV2"/>
  12221. <entry name="AON_APB_CLK_ID_VAD"/>
  12222. <bound name="NB_AON_APB_CLK_AEN">
  12223. <comment>auto clock enable number</comment>
  12224. </bound>
  12225. <entry name="AON_APB_CLK_ID_REV3"/>
  12226. <entry name="AON_APB_CLK_ID_REV4"/>
  12227. <entry name="AON_APB_CLK_ID_GPIO"/>
  12228. <entry name="AON_APB_CLK_ID_TIMER3"/>
  12229. <entry name="AON_APB_CLK_ID_KEYPAD"/>
  12230. <entry name="AON_APB_CLK_ID_AHB2APB_ADI"/>
  12231. <entry name="AON_APB_CLK_ID_ADI"/>
  12232. <entry name="AON_APB_CLK_ID_LVDS"/>
  12233. <entry name="AON_APB_CLK_ID_ALWAYS"/>
  12234. <bound name="NB_AON_APB_CLK_EN"/>
  12235. <bound name="NB_AON_APB_CLK"/>
  12236. </enum>
  12237. <enum name="Rf_Ahb_Clks">
  12238. <entry name="RF_AHB_CLK_ID_REV0"/>
  12239. <bound name="NB_RF_AHB_CLK_AEN">
  12240. <comment>auto clock enable number</comment>
  12241. </bound>
  12242. <entry name="RF_AHB_CLK_ID_ALWAYS"/>
  12243. <bound name="NB_RF_AHB_CLK_EN"/>
  12244. <bound name="NB_RF_AHB_CLK"/>
  12245. </enum>
  12246. <enum name="Rf_Apb_Clks">
  12247. <entry name="RF_APB_CLK_ID_REV0"/>
  12248. <bound name="NB_RF_APB_CLK_AEN">
  12249. <comment>auto clock enable number</comment>
  12250. </bound>
  12251. <entry name="RF_APB_CLK_ID_ALWAYS"/>
  12252. <bound name="NB_RF_APB_CLK_EN"/>
  12253. <bound name="NB_RF_APB_CLK"/>
  12254. </enum>
  12255. <enum name="Others_Clks">
  12256. <entry name="OC_ID_HOST_UART">
  12257. <comment>Other Clks IDs</comment>
  12258. </entry>
  12259. <entry name="OC_ID_BCK1"/>
  12260. <entry name="OC_ID_BCK2"/>
  12261. <entry name="OC_ID_UART1"/>
  12262. <entry name="OC_ID_UART2"/>
  12263. <entry name="OC_ID_UART3"/>
  12264. <entry name="OC_ID_AP_A5"/>
  12265. <entry name="OC_ID_CP_A5"/>
  12266. <bound name="NB_CLK_OTHER_AEN"/>
  12267. <entry name="OC_ID_GPIO"/>
  12268. <entry name="OC_ID_USBPHY"/>
  12269. <entry name="OC_ID_PIX"/>
  12270. <entry name="OC_ID_CLK_OUT"/>
  12271. <entry name="OC_ID_ISP"/>
  12272. <bound name="OC_ID_SYS_SPIFLASH_BASE">
  12273. <comment>System Spiflash Domain Clock ID Base</comment>
  12274. </bound>
  12275. <entry name="OC_ID_SYS_SPIFLASH"/>
  12276. <entry name="OC_ID_SYS_SPIFLASH_ALWAYS"/>
  12277. <entry name="OC_ID_SYS_SPIFLASH1"/>
  12278. <entry name="OC_ID_SYS_SPIFLASH1_ALWAYS"/>
  12279. <entry name="OC_ID_SPIFLASH"/>
  12280. <entry name="OC_ID_SPIFLASH1"/>
  12281. <entry name="OC_ID_SPICAM"/>
  12282. <entry name="OC_ID_CAM"/>
  12283. <bound name="OC_ID_PSRAM_BASE">
  12284. <comment>Psram Ctrl Domain Clock ID Base</comment>
  12285. </bound>
  12286. <entry name="OC_ID_PSRAM_CONF"/>
  12287. <entry name="OC_ID_PSRAM_DMC"/>
  12288. <entry name="OC_ID_PSRAM_PAGESPY"/>
  12289. <entry name="OC_ID_PSRAM_ALWAYS"/>
  12290. <bound name="NB_CLK_OTHER_EN"/>
  12291. <bound name="NB_CLK_OTHER"/>
  12292. </enum>
  12293. <enum name="Others_Clks_1">
  12294. <entry name="OC_ID_GGE_CLK32K">
  12295. <comment>Other Clks 1 IDs</comment>
  12296. </entry>
  12297. <entry name="OC_ID_GGE_26M"/>
  12298. <entry name="OC_ID_NB_61P44M"/>
  12299. <entry name="OC_ID_BT_FM_CLK32K"/>
  12300. <entry name="OC_ID_BT_FM_26M"/>
  12301. <entry name="OC_ID_PMIC_CLK32K"/>
  12302. <entry name="OC_ID_PMIC_26M"/>
  12303. <entry name="OC_ID_CP_CLK32K"/>
  12304. <entry name="OC_ID_CP_26M"/>
  12305. <entry name="OC_ID_ZSP_UART"/>
  12306. <entry name="OC_ID_CP_BBLTE"/>
  12307. <entry name="OC_ID_494M_LTE"/>
  12308. <entry name="OC_ID_REV0"/>
  12309. <entry name="OC_ID_REV1"/>
  12310. <entry name="OC_ID_REV2"/>
  12311. <entry name="OC_ID_REV3"/>
  12312. <bound name="NB_CLK_OTHER_1_AEN"/>
  12313. <entry name="OC_ID_SDM_26M"/>
  12314. <entry name="OC_ID_LPS_GSM"/>
  12315. <entry name="OC_ID_LPS_NB"/>
  12316. <entry name="OC_ID_EFUSE_26M"/>
  12317. <entry name="OC_ID_USB_ADP_32K"/>
  12318. <entry name="OC_ID_USB_UTMI_48M"/>
  12319. <entry name="OC_ID_AP_26M"/>
  12320. <entry name="OC_ID_AP_32K"/>
  12321. <entry name="OC_ID_MIPIDSI"/>
  12322. <entry name="OC_ID_AHB_BTFM"/>
  12323. <entry name="OC_ID_VAD"/>
  12324. <entry name="OC_ID_USB11_48M"/>
  12325. <entry name="OC_ID_TRNG_CLKEN"/>
  12326. <entry name="OC_ID_CORESIGHT"/>
  12327. <entry name="OC_ID_ADI"/>
  12328. <bound name="NB_CLK_OTHER_1_EN"/>
  12329. <bound name="NB_CLK_OTHER_1"/>
  12330. </enum>
  12331. <enum name="Psram_Clks">
  12332. <entry name="PSRAM_CLK_ID_CONF" value="(OC_ID_PSRAM_CONF-OC_ID_PSRAM_BASE)">
  12333. <comment>Psram Clks IDs</comment>
  12334. </entry>
  12335. <entry name="PSRAM_CLK_ID_DMC" value="(OC_ID_PSRAM_DMC-OC_ID_PSRAM_BASE)"/>
  12336. <entry name="PSRAM_CLK_ID_PAGESPY" value="(OC_ID_PSRAM_PAGESPY-OC_ID_PSRAM_BASE)"/>
  12337. <entry name="PSRAM_CLK_ID_ALWAYS" value="(OC_ID_PSRAM_ALWAYS-OC_ID_PSRAM_BASE)"/>
  12338. <bound name="NB_CLK_PSRAM"/>
  12339. </enum>
  12340. <enum name="Sys_Spiflash_Clks">
  12341. <entry name="SPIFLASH_CLK_ID_SPIFLASH" value="(OC_ID_SYS_SPIFLASH-OC_ID_SYS_SPIFLASH_BASE)">
  12342. <comment>Sys Spiflash Clks IDs</comment>
  12343. </entry>
  12344. <entry name="SPIFLASH_CLK_ID_ALWAYS" value="(OC_ID_SYS_SPIFLASH_ALWAYS-OC_ID_SYS_SPIFLASH_BASE)"/>
  12345. <entry name="SPIFLASH_CLK_ID_SPIFLASH1" value="(OC_ID_SYS_SPIFLASH1-OC_ID_SYS_SPIFLASH_BASE)">
  12346. <comment>Sys Spiflash1 Clks IDs</comment>
  12347. </entry>
  12348. <entry name="SPIFLASH1_CLK_ID_ALWAYS" value="(OC_ID_SYS_SPIFLASH1_ALWAYS-OC_ID_SYS_SPIFLASH_BASE)"/>
  12349. </enum>
  12350. <enum name="Sys_Axi_Rst">
  12351. <entry name="SYS_AXI_RST_ID_SYS">
  12352. <comment>Sys Axi Rst IDs</comment>
  12353. </entry>
  12354. <entry name="SYS_AXI_RST_ID_IMEM"/>
  12355. <entry name="SYS_AXI_RST_ID_LZMA"/>
  12356. <entry name="SYS_AXI_RST_ID_REV0"/>
  12357. <entry name="SYS_AXI_RST_ID_REV1"/>
  12358. <entry name="SYS_AXI_RST_ID_REV2"/>
  12359. <entry name="SYS_AXI_RST_ID_REV3"/>
  12360. <bound name="NB_SYS_AXI_RST"/>
  12361. </enum>
  12362. <enum name="Sys_Ahb_Rst">
  12363. <entry name="SYS_AHB_RST_ID_SYS">
  12364. <comment>Sys Ahb Rst IDs</comment>
  12365. </entry>
  12366. <entry name="SYS_AHB_RST_ID_GOUDA"/>
  12367. <entry name="SYS_AHB_RST_ID_GGE"/>
  12368. <entry name="SYS_AHB_RST_ID_GEA3"/>
  12369. <entry name="SYS_AHB_RST_ID_USBC"/>
  12370. <entry name="SYS_AHB_RST_ID_BTFM"/>
  12371. <entry name="SYS_AHB_RST_ID_GIC400"/>
  12372. <entry name="SYS_AHB_RST_ID_F8"/>
  12373. <entry name="SYS_AHB_RST_ID_AXIDMA"/>
  12374. <entry name="SYS_AHB_RST_ID_LZMA"/>
  12375. <entry name="SYS_AHB_RST_ID_LCD"/>
  12376. <entry name="SYS_AHB_RST_ID_AES"/>
  12377. <entry name="SYS_AHB_RST_ID_USB11"/>
  12378. <bound name="NB_SYS_AHB_RST"/>
  12379. </enum>
  12380. <enum name="Ap_Apb_Rst">
  12381. <entry name="AP_APB_RST_ID_SYS">
  12382. <comment>Sys Apb Rst IDs</comment>
  12383. </entry>
  12384. <entry name="AP_APB_RST_ID_CAMERA"/>
  12385. <entry name="AP_APB_RST_ID_I2C1"/>
  12386. <entry name="AP_APB_RST_ID_I2C3"/>
  12387. <entry name="AP_APB_RST_ID_IFC"/>
  12388. <entry name="AP_APB_RST_ID_IMEM"/>
  12389. <entry name="AP_APB_RST_ID_SDMMC1"/>
  12390. <entry name="AP_APB_RST_ID_SDMMC2"/>
  12391. <entry name="AP_APB_RST_ID_SPI1"/>
  12392. <entry name="AP_APB_RST_ID_SPI2"/>
  12393. <entry name="AP_APB_RST_ID_UART2"/>
  12394. <entry name="AP_APB_RST_ID_UART3"/>
  12395. <entry name="AP_APB_RST_ID_ZSP_UART"/>
  12396. <entry name="AP_APB_RST_ID_REV0"/>
  12397. <entry name="AP_APB_RST_ID_REV1"/>
  12398. <entry name="AP_APB_RST_ID_SCI1"/>
  12399. <entry name="AP_APB_RST_ID_SCI2"/>
  12400. <entry name="AP_APB_RST_ID_PAGESPY"/>
  12401. <entry name="AP_APB_RST_ID_LZMA"/>
  12402. <entry name="AP_APB_RST_ID_PSRAM"/>
  12403. <entry name="AP_APB_RST_ID_TIMER1"/>
  12404. <entry name="AP_APB_RST_ID_TIMER2"/>
  12405. <entry name="AP_APB_RST_ID_TIMER4"/>
  12406. <entry name="AP_APB_RST_ID_GOUDA"/>
  12407. <entry name="AP_APB_RST_ID_CQIRQ"/>
  12408. <bound name="NB_AP_APB_RST"/>
  12409. </enum>
  12410. <enum name="Aif_Apb_Rst">
  12411. <entry name="AIF1_APB_RST_ID_SYS">
  12412. <comment>Aif Apb Rst IDs</comment>
  12413. </entry>
  12414. <entry name="AIF2_APB_RST_ID_SYS"/>
  12415. <entry name="AIF1_APB_RST_ID_AIF"/>
  12416. <entry name="AIF2_APB_RST_ID_AIF"/>
  12417. <entry name="AIF_APB_RST_ID_IFC"/>
  12418. <entry name="AIF_APB_RST_ID_AUD_2AD"/>
  12419. <bound name="NB_AIF_APB_RST"/>
  12420. </enum>
  12421. <enum name="Aon_Ahb_Rst">
  12422. <entry name="AON_AHB_RST_ID_SYS">
  12423. <comment>Aon Ahb Rst IDs</comment>
  12424. </entry>
  12425. <entry name="AON_AHB_RST_ID_REV0"/>
  12426. <entry name="AON_AHB_RST_ID_REV1"/>
  12427. <entry name="AON_AHB_RST_ID_REV2"/>
  12428. <entry name="AON_AHB_RST_ID_CSSYS"/>
  12429. <bound name="NB_AON_AHB_RST"/>
  12430. </enum>
  12431. <enum name="Aon_Apb_Rst">
  12432. <entry name="AON_APB_RST_ID_SYS">
  12433. <comment>Aon Apb Rst IDs</comment>
  12434. </entry>
  12435. <entry name="AON_APB_RST_ID_CALENDAR"/>
  12436. <entry name="AON_APB_RST_ID_GPIO"/>
  12437. <entry name="AON_APB_RST_ID_IFC"/>
  12438. <entry name="AON_APB_RST_ID_KEYPAD"/>
  12439. <entry name="AON_APB_RST_ID_PWM"/>
  12440. <entry name="AON_APB_RST_ID_REV0"/>
  12441. <entry name="AON_APB_RST_ID_REV1"/>
  12442. <entry name="AON_APB_RST_ID_TIMER3"/>
  12443. <entry name="AON_APB_RST_ID_I2C2"/>
  12444. <entry name="AON_APB_RST_ID_ANA_REG"/>
  12445. <entry name="AON_APB_RST_ID_SPINLOCK"/>
  12446. <entry name="AON_APB_RST_ID_LPS_GSM"/>
  12447. <entry name="AON_APB_RST_ID_LPS_NB"/>
  12448. <entry name="AON_APB_RST_ID_EFUSE"/>
  12449. <entry name="AON_APB_RST_ID_AHB2APB_ADI"/>
  12450. <entry name="AON_APB_RST_ID_ADI"/>
  12451. <entry name="AON_APB_RST_ID_LVDS"/>
  12452. <entry name="AON_APB_RST_ID_UART1"/>
  12453. <entry name="AON_APB_RST_ID_VAD"/>
  12454. <bound name="NB_AON_APB_RST"/>
  12455. </enum>
  12456. <enum name="Rf_Ahb_Rst">
  12457. <entry name="RF_AHB_RST_ID_SYS">
  12458. <comment>Rf Ahb Rst IDs</comment>
  12459. </entry>
  12460. <entry name="RF_AHB_RST_ID_RF_REV0"/>
  12461. <bound name="NB_RF_AHB_RST"/>
  12462. </enum>
  12463. <enum name="Rf_Apb_Rst">
  12464. <entry name="RF_APB_RST_ID_SYS">
  12465. <comment>Rf Apb Rst IDs</comment>
  12466. </entry>
  12467. <entry name="RF_APB_RST_ID_REV0"/>
  12468. <bound name="NB_RF_APB_RST"/>
  12469. </enum>
  12470. <enum name="Apcpu_Rst">
  12471. <entry name="APCPU_RST_ID_SYS">
  12472. <comment>APCPU Rst IDs</comment>
  12473. </entry>
  12474. <entry name="APCPU_RST_ID_CORE"/>
  12475. <entry name="APCPU_RST_ID_DBG"/>
  12476. <entry name="APCPU_RST_ID_GIC400"/>
  12477. <bound name="NB_APCPU_RST"/>
  12478. <entry name="Global_Soft_Rst"/>
  12479. </enum>
  12480. <enum name="Cpcpu_Rst">
  12481. <entry name="CPCPU_RST_ID_SYS">
  12482. <comment>CPCPU Rst IDs</comment>
  12483. </entry>
  12484. <entry name="CPCPU_RST_ID_CORE"/>
  12485. <entry name="CPCPU_RST_ID_DBG"/>
  12486. <bound name="NB_CPCPU_RST"/>
  12487. </enum>
  12488. <enum name="Bblte_Rst">
  12489. <entry name="BBLTE_RST_ID_SYS">
  12490. <comment>BBlte Rst IDs</comment>
  12491. </entry>
  12492. <entry name="BBLTE_RST_ID_REV0"/>
  12493. <bound name="NB_BBLTE_RST"/>
  12494. </enum>
  12495. <enum name="Others_Rst">
  12496. <entry name="RSTO_ID_BCK1">
  12497. <comment>Other Rsts IDs</comment>
  12498. </entry>
  12499. <entry name="RSTO_ID_BCK2"/>
  12500. <entry name="RSTO_ID_DBG_HOST"/>
  12501. <entry name="RSTO_ID_GPIO"/>
  12502. <entry name="RSTO_ID_UART1"/>
  12503. <entry name="RSTO_ID_UART2"/>
  12504. <entry name="RSTO_ID_UART3"/>
  12505. <entry name="RSTO_ID_USBC"/>
  12506. <entry name="RSTO_ID_WDTIMER0"/>
  12507. <entry name="RSTO_ID_WDTIMER1"/>
  12508. <entry name="RSTO_ID_WDTIMER2"/>
  12509. <entry name="RSTO_ID_SPIFLASH"/>
  12510. <entry name="RSTO_ID_SPIFLASH_SYS"/>
  12511. <entry name="RSTO_ID_SPIFLASH1"/>
  12512. <entry name="RSTO_ID_SPIFLASH1_SYS"/>
  12513. <entry name="RSTO_ID_PSRAM_DMC"/>
  12514. <entry name="RSTO_ID_PSRAM_SYS"/>
  12515. <entry name="RSTO_ID_PSRAM_PAGESPY"/>
  12516. <entry name="RSTO_ID_VAD"/>
  12517. <entry name="RSTO_ID_PIX"/>
  12518. <entry name="RSTO_ID_SDM_26M"/>
  12519. <entry name="RSTO_ID_WDTIMER4"/>
  12520. <entry name="RSTO_ID_LPS_GSM"/>
  12521. <entry name="RSTO_ID_LPS_NB"/>
  12522. <entry name="RSTO_ID_EFUSE"/>
  12523. <entry name="RSTO_ID_USB_ADP_32K"/>
  12524. <entry name="RSTO_ID_MIPIDSI"/>
  12525. <entry name="RSTO_ID_MIPIDSI_PHY"/>
  12526. <entry name="RSTO_ID_AUD_2AD"/>
  12527. <entry name="RSTO_ID_USB11_48M"/>
  12528. <entry name="RSTO_ID_ZSP_UART"/>
  12529. <entry name="RSTO_ID_CORESIGHT"/>
  12530. <bound name="NB_RSTO"/>
  12531. </enum>
  12532. <var name="SYS_CTRL_PROTECT_LOCK" value="0xa50000">
  12533. <comment>For REG_DBG protect lock/unlock value</comment>
  12534. </var>
  12535. <var name="SYS_CTRL_PROTECT_UNLOCK" value="0xa50001"/>
  12536. <reg name="reg_dbg" protect="rw">
  12537. <comment>
  12538. <strong>This register is used to Lock and Unlock the protected registers.</strong>
  12539. </comment>
  12540. <bits access="rw" name="scratch" pos="15:0" rst="0x8989">
  12541. <comment>
  12542. <br/>
  12543. [7:0] Write 0x89 to the register to release automatically for related clock gate enable in sysctrl datapath
  12544. <br/>
  12545. [15:8] Write 0x89 to the register to release automatically for related soft reset in sysctrl datapath
  12546. </comment>
  12547. </bits>
  12548. <bits access="r" name="write unlock status" pos="30" rst="0">
  12549. <comment>
  12550. Is set to 1 when a write attempt has been done on a protected register
  12551. <br/>
  12552. Can be reset by writing 0xa50000 or 0xa50001 to the debug register (With the LSB at 1 to unlock the protected registers, with the LSB at 0 to lock them)
  12553. </comment>
  12554. </bits>
  12555. <bits access="r" name="write unlock" pos="31" rst="1">
  12556. <comment>
  12557. When this bit is set to 1, the protected registers are accessible
  12558. <br/>
  12559. When this bit is set to 0, the protected registers can not be written
  12560. <br/>
  12561. Write 0xa50000 to the debug register to set this bit to 0
  12562. <br/>
  12563. Write 0xa50001 to the debug register to set this bit to 1
  12564. </comment>
  12565. </bits>
  12566. </reg>
  12567. <reg name="sys_axi_rst_set" protect="rw">
  12568. <comment>This register is protected.</comment>
  12569. <bits access="rs" cut="1" cutenum="Sys_Axi_Rst" cutprefix="Set" cutstart="0" name="set_sys_axi_rst" pos="NB_SYS_AXI_RST-1:0" rst="1">
  12570. <comment>
  12571. Writing a 1 to any of the reset bit will reset the corresponding module and leave it in reset state
  12572. <br/>
  12573. Reading this register returns the reset state of all the corresponding modules
  12574. <br/>
  12575. 0 : in reset
  12576. <br/>
  12577. 1 : out of reset
  12578. </comment>
  12579. </bits>
  12580. </reg>
  12581. <reg name="sys_axi_rst_clr" protect="rw">
  12582. <bits access="rc" cut="1" cutenum="Sys_Axi_Rst" cutprefix="Clr" cutstart="0" name="clr_sys_axi_rst" pos="NB_SYS_AXI_RST-1:0" rst="1">
  12583. <comment>
  12584. Writing a 1 to any of the reset bit will take the corresponding module out of reset state
  12585. <br/>
  12586. Reading this register returns the reset state of all the corresponding modules
  12587. <br/>
  12588. 0 : in reset
  12589. <br/>
  12590. 1 : out of reset
  12591. </comment>
  12592. </bits>
  12593. </reg>
  12594. <reg name="sys_ahb_rst_set" protect="rw">
  12595. <comment>This register is protected.</comment>
  12596. <bits access="rs" cut="1" cutenum="Sys_Ahb_Rst" cutprefix="Set" cutstart="0" name="set_sys_ahb_rst" pos="NB_SYS_AHB_RST-1:0" rst="1">
  12597. <comment>
  12598. Writing a 1 to any of the reset bit will reset the corresponding module and leave it in reset state
  12599. <br/>
  12600. Reading this register returns the reset state of all the corresponding modules
  12601. <br/>
  12602. 0 : in reset
  12603. <br/>
  12604. 1 : out of reset
  12605. </comment>
  12606. </bits>
  12607. </reg>
  12608. <reg name="sys_ahb_rst_clr" protect="rw">
  12609. <bits access="rc" cut="1" cutenum="Sys_Ahb_Rst" cutprefix="Clr" cutstart="0" name="clr_sys_ahb_rst" pos="NB_SYS_AHB_RST-1:0" rst="1">
  12610. <comment>
  12611. Writing a 1 to any of the reset bit will take the corresponding module out of reset state
  12612. <br/>
  12613. Reading this register returns the reset state of all the corresponding modules
  12614. <br/>
  12615. 0 : in reset
  12616. <br/>
  12617. 1 : out of reset
  12618. </comment>
  12619. </bits>
  12620. </reg>
  12621. <reg name="ap_apb_rst_set" protect="rw">
  12622. <comment>This register is protected.</comment>
  12623. <bits access="rs" cut="1" cutenum="Ap_Apb_Rst" cutprefix="Set" cutstart="0" name="set_ap_apb_rst" pos="NB_AP_APB_RST-1:0" rst="1">
  12624. <comment>
  12625. Writing a 1 to any of the reset bit will reset the corresponding module and leave it in reset state
  12626. <br/>
  12627. Reading this register returns the reset state of all the corresponding modules
  12628. <br/>
  12629. 0 : in reset
  12630. <br/>
  12631. 1 : out of reset
  12632. </comment>
  12633. </bits>
  12634. </reg>
  12635. <reg name="ap_apb_rst_clr" protect="rw">
  12636. <bits access="rc" cut="1" cutenum="Ap_Apb_Rst" cutprefix="Clr" cutstart="0" name="clr_ap_apb_rst" pos="NB_AP_APB_RST-1:0" rst="1">
  12637. <comment>
  12638. Writing a 1 to any of the reset bit will take the corresponding module out of reset state
  12639. <br/>
  12640. Reading this register returns the reset state of all the corresponding modules
  12641. <br/>
  12642. 0 : in reset
  12643. <br/>
  12644. 1 : out of reset
  12645. </comment>
  12646. </bits>
  12647. </reg>
  12648. <reg name="aif_apb_rst_set" protect="rw">
  12649. <comment>This register is protected.</comment>
  12650. <bits access="rs" cut="1" cutenum="Aif_Apb_Rst" cutprefix="Set" cutstart="0" name="set_aif_apb_rst" pos="NB_AIF_APB_RST-1:0" rst="1">
  12651. <comment>
  12652. Writing a 1 to any of the reset bit will reset the corresponding module and leave it in reset state
  12653. <br/>
  12654. Reading this register returns the reset state of all the corresponding modules
  12655. <br/>
  12656. 0 : in reset
  12657. <br/>
  12658. 1 : out of reset
  12659. </comment>
  12660. </bits>
  12661. </reg>
  12662. <reg name="aif_apb_rst_clr" protect="rw">
  12663. <bits access="rc" cut="1" cutenum="Aif_Apb_Rst" cutprefix="Clr" cutstart="0" name="clr_aif_apb_rst" pos="NB_AIF_APB_RST-1:0" rst="1">
  12664. <comment>
  12665. Writing a 1 to any of the reset bit will take the corresponding module out of reset state
  12666. <br/>
  12667. Reading this register returns the reset state of all the corresponding modules
  12668. <br/>
  12669. 0 : in reset
  12670. <br/>
  12671. 1 : out of reset
  12672. </comment>
  12673. </bits>
  12674. </reg>
  12675. <reg name="aon_ahb_rst_set" protect="rw">
  12676. <comment>This register is protected.</comment>
  12677. <bits access="rs" cut="1" cutenum="Aon_Ahb_Rst" cutprefix="Set" cutstart="0" name="set_aon_ahb_rst" pos="NB_AON_AHB_RST-1:0" rst="1">
  12678. <comment>
  12679. Writing a 1 to any of the reset bit will reset the corresponding module and leave it in reset state
  12680. <br/>
  12681. Reading this register returns the reset state of all the corresponding modules
  12682. <br/>
  12683. 0 : in reset
  12684. <br/>
  12685. 1 : out of reset
  12686. </comment>
  12687. </bits>
  12688. </reg>
  12689. <reg name="aon_ahb_rst_clr" protect="rw">
  12690. <bits access="rc" cut="1" cutenum="Aon_Ahb_Rst" cutprefix="Clr" cutstart="0" name="clr_aon_ahb_rst" pos="NB_AON_AHB_RST-1:0" rst="1">
  12691. <comment>
  12692. Writing a 1 to any of the reset bit will take the corresponding module out of reset state
  12693. <br/>
  12694. Reading this register returns the reset state of all the corresponding modules
  12695. <br/>
  12696. 0 : in reset
  12697. <br/>
  12698. 1 : out of reset
  12699. </comment>
  12700. </bits>
  12701. </reg>
  12702. <reg name="aon_apb_rst_set" protect="rw">
  12703. <comment>This register is protected.</comment>
  12704. <bits access="rs" cut="1" cutenum="Aon_Apb_Rst" cutprefix="Set" cutstart="0" name="set_aon_apb_rst" pos="NB_AON_APB_RST-1:0" rst="1">
  12705. <comment>
  12706. Writing a 1 to any of the reset bit will reset the corresponding module and leave it in reset state
  12707. <br/>
  12708. Reading this register returns the reset state of all the corresponding modules
  12709. <br/>
  12710. 0 : in reset
  12711. <br/>
  12712. 1 : out of reset
  12713. </comment>
  12714. </bits>
  12715. </reg>
  12716. <reg name="aon_apb_rst_clr" protect="rw">
  12717. <bits access="rc" cut="1" cutenum="Aon_Apb_Rst" cutprefix="Clr" cutstart="0" name="clr_aon_apb_rst" pos="NB_AON_APB_RST-1:0" rst="1">
  12718. <comment>
  12719. Writing a 1 to any of the reset bit will take the corresponding module out of reset state
  12720. <br/>
  12721. Reading this register returns the reset state of all the corresponding modules
  12722. <br/>
  12723. 0 : in reset
  12724. <br/>
  12725. 1 : out of reset
  12726. </comment>
  12727. </bits>
  12728. </reg>
  12729. <reg name="rf_ahb_rst_set" protect="rw">
  12730. <comment>This register is protected.</comment>
  12731. <bits access="rs" cut="1" cutenum="Rf_Ahb_Rst" cutprefix="Set" cutstart="0" name="set_rf_ahb_rst" pos="NB_RF_AHB_RST-1:0" rst="1">
  12732. <comment>
  12733. Writing a 1 to any of the reset bit will reset the corresponding module and leave it in reset state
  12734. <br/>
  12735. Reading this register returns the reset state of all the corresponding modules
  12736. <br/>
  12737. 0 : in reset
  12738. <br/>
  12739. 1 : out of reset
  12740. </comment>
  12741. </bits>
  12742. </reg>
  12743. <reg name="rf_ahb_rst_clr" protect="rw">
  12744. <bits access="rc" cut="1" cutenum="Rf_Ahb_Rst" cutprefix="Clr" cutstart="0" name="clr_rf_ahb_rst" pos="NB_RF_AHB_RST-1:0" rst="1">
  12745. <comment>
  12746. Writing a 1 to any of the reset bit will take the corresponding module out of reset state
  12747. <br/>
  12748. Reading this register returns the reset state of all the corresponding modules
  12749. <br/>
  12750. 0 : in reset
  12751. <br/>
  12752. 1 : out of reset
  12753. </comment>
  12754. </bits>
  12755. </reg>
  12756. <reg name="rf_apb_rst_set" protect="rw">
  12757. <comment>This register is protected.</comment>
  12758. <bits access="rs" cut="1" cutenum="Rf_Apb_Rst" cutprefix="Set" cutstart="0" name="set_rf_apb_rst" pos="NB_RF_APB_RST-1:0" rst="1">
  12759. <comment>
  12760. Writing a 1 to any of the reset bit will reset the corresponding module and leave it in reset state
  12761. <br/>
  12762. Reading this register returns the reset state of all the corresponding modules
  12763. <br/>
  12764. 0 : in reset
  12765. <br/>
  12766. 1 : out of reset
  12767. </comment>
  12768. </bits>
  12769. </reg>
  12770. <reg name="rf_apb_rst_clr" protect="rw">
  12771. <bits access="rc" cut="1" cutenum="Rf_Apb_Rst" cutprefix="Clr" cutstart="0" name="clr_rf_apb_rst" pos="NB_RF_APB_RST-1:0" rst="1">
  12772. <comment>
  12773. Writing a 1 to any of the reset bit will take the corresponding module out of reset state
  12774. <br/>
  12775. Reading this register returns the reset state of all the corresponding modules
  12776. <br/>
  12777. 0 : in reset
  12778. <br/>
  12779. 1 : out of reset
  12780. </comment>
  12781. </bits>
  12782. </reg>
  12783. <reg name="apcpu_rst_set" protect="rw">
  12784. <comment>This register is protected.</comment>
  12785. <bits access="rs" cut="1" cutenum="Apcpu_Rst" cutprefix="Set" cutstart="0" name="set_apcpu_rst" pos="NB_APCPU_RST:0" rst="1">
  12786. <comment>
  12787. Writing a 1 to any of the reset bit will reset the corresponding module and leave it in reset state
  12788. <br/>
  12789. Reading this register returns the reset state of all the corresponding modules
  12790. <br/>
  12791. 0 : in reset
  12792. <br/>
  12793. 1 : out of reset
  12794. </comment>
  12795. </bits>
  12796. </reg>
  12797. <reg name="apcpu_rst_clr" protect="rw">
  12798. <bits access="rc" cut="1" cutenum="Apcpu_Rst" cutprefix="Clr" cutstart="0" name="clr_apcpu_rst" pos="NB_APCPU_RST:0" rst="1">
  12799. <comment>
  12800. Writing a 1 to any of the reset bit will take the corresponding module out of reset state
  12801. <br/>
  12802. Reading this register returns the reset state of all the corresponding modules
  12803. <br/>
  12804. 0 : in reset
  12805. <br/>
  12806. 1 : out of reset
  12807. </comment>
  12808. </bits>
  12809. </reg>
  12810. <reg name="cpcpu_rst_set" protect="rw">
  12811. <comment>This register is protected.</comment>
  12812. <bits access="rs" cut="1" cutenum="Cpcpu_Rst" cutprefix="Set" cutstart="0" name="set_cpcpu_rst" pos="NB_CPCPU_RST:0" rst="0">
  12813. <comment>
  12814. Writing a 1 to any of the reset bit will reset the corresponding module and leave it in reset state
  12815. <br/>
  12816. Reading this register returns the reset state of all the corresponding modules
  12817. <br/>
  12818. 0 : in reset
  12819. <br/>
  12820. 1 : out of reset
  12821. </comment>
  12822. </bits>
  12823. </reg>
  12824. <reg name="cpcpu_rst_clr" protect="rw">
  12825. <bits access="rc" cut="1" cutenum="Cpcpu_Rst" cutprefix="Clr" cutstart="0" name="clr_cpcpu_rst" pos="NB_CPCPU_RST:0" rst="0">
  12826. <comment>
  12827. Writing a 1 to any of the reset bit will take the corresponding module out of reset state
  12828. <br/>
  12829. Reading this register returns the reset state of all the corresponding modules
  12830. <br/>
  12831. 0 : in reset
  12832. <br/>
  12833. 1 : out of reset
  12834. </comment>
  12835. </bits>
  12836. </reg>
  12837. <reg name="bblte_rst_set" protect="rw">
  12838. <comment>This register is protected.</comment>
  12839. <bits access="rs" cut="1" cutenum="Bblte_Rst" cutprefix="Set" cutstart="0" name="set_bblte_rst" pos="NB_BBLTE_RST-1:0" rst="1">
  12840. <comment>
  12841. Writing a 1 to any of the reset bit will reset the corresponding module and leave it in reset state
  12842. <br/>
  12843. Reading this register returns the reset state of all the corresponding modules
  12844. <br/>
  12845. 0 : in reset
  12846. <br/>
  12847. 1 : out of reset
  12848. </comment>
  12849. </bits>
  12850. </reg>
  12851. <reg name="bblte_rst_clr" protect="rw">
  12852. <bits access="rc" cut="1" cutenum="Bblte_Rst" cutprefix="Clr" cutstart="0" name="clr_bblte_rst" pos="NB_BBLTE_RST-1:0" rst="1">
  12853. <comment>
  12854. Writing a 1 to any of the reset bit will take the corresponding module out of reset state
  12855. <br/>
  12856. Reading this register returns the reset state of all the corresponding modules
  12857. <br/>
  12858. 0 : in reset
  12859. <br/>
  12860. 1 : out of reset
  12861. </comment>
  12862. </bits>
  12863. </reg>
  12864. <reg name="others_rst_set" protect="rw">
  12865. <comment>This register is protected.</comment>
  12866. <bits access="rs" cut="1" cutenum="Others_Rst" cutprefix="Set" cutstart="0" name="set_others_rst" pos="NB_RSTO-1:0" rst="1">
  12867. <comment>
  12868. Writing a 1 to any of the reset bit will reset the corresponding module and leave it in reset state
  12869. <br/>
  12870. Reading this register returns the reset state of all the corresponding modules
  12871. <br/>
  12872. 0 : in reset
  12873. <br/>
  12874. 1 : out of reset
  12875. </comment>
  12876. </bits>
  12877. </reg>
  12878. <reg name="others_rst_clr" protect="rw">
  12879. <bits access="rc" cut="1" cutenum="Others_Rst" cutprefix="Clr" cutstart="0" name="clr_others_rst" pos="NB_RSTO-1:0" rst="1">
  12880. <comment>
  12881. Writing a 1 to any of the reset bit will take the corresponding module out of reset state
  12882. <br/>
  12883. Reading this register returns the reset state of all the corresponding modules
  12884. <br/>
  12885. 0 : in reset
  12886. <br/>
  12887. 1 : out of reset
  12888. </comment>
  12889. </bits>
  12890. </reg>
  12891. <reg name="clk_sys_axi_mode" protect="rw">
  12892. <bits access="rw" cut="1" cutenum="Sys_Axi_Clks" cutprefix="Mode" cutstart="0" name="mode_clk_sys_axi" pos="NB_SYS_AXI_CLK_AEN-1:0" rst="1">
  12893. <options>
  12894. <option name="Automatic" value="0">
  12895. <comment>automatic clock gating enabled</comment>
  12896. </option>
  12897. <option name="Manual" value="1">
  12898. <comment>manual clock gating only</comment>
  12899. </option>
  12900. </options>
  12901. </bits>
  12902. </reg>
  12903. <reg name="clk_sys_axi_enable" protect="rw">
  12904. <bits access="rs" cut="1" cutenum="Sys_Axi_Clks" cutprefix="Enable" cutstart="0" name="enable_clk_sys_axi" pos="NB_SYS_AXI_CLK_EN-1:0" rst="1">
  12905. <comment>
  12906. Each bit controls the manual enable for one clock
  12907. <br/>
  12908. Writing a 1 to bit x of this register will enable the corresponding clocks
  12909. <br/>
  12910. Writing a 0 to bit x has no effect on clock x
  12911. <br/>
  12912. Reading this register gives the current status for all the clocks (1 : enabled, 0: disabled)
  12913. </comment>
  12914. </bits>
  12915. </reg>
  12916. <reg name="clk_sys_axi_disable" protect="rw">
  12917. <comment>This register is protected.</comment>
  12918. <bits access="rc" cut="1" cutenum="Sys_Axi_Clks" cutprefix="Disable" cutstart="0" name="disable_clk_sys_axi" pos="NB_SYS_AXI_CLK_EN-1:0" rst="1">
  12919. <comment>
  12920. Each bit controls the manual enable for one clock
  12921. <br/>
  12922. Writing a 1 to bit x of this register will disable the corresponding clocks
  12923. <br/>
  12924. Writing a 0 to bit x has no effect on clock x
  12925. <br/>
  12926. Reading this register gives the current status for all the clocks (1 : enabled, 0: disabled)
  12927. </comment>
  12928. </bits>
  12929. </reg>
  12930. <reg name="clk_sys_ahb_mode" protect="rw">
  12931. <bits access="rw" cut="1" cutenum="Sys_Ahb_Clks" cutprefix="Mode" cutstart="0" name="mode_clk_sys_ahb" pos="NB_SYS_AHB_CLK_AEN-1:0" rst="1">
  12932. <options>
  12933. <option name="Automatic" value="0">
  12934. <comment>automatic clock gating enabled</comment>
  12935. </option>
  12936. <option name="Manual" value="1">
  12937. <comment>manual clock gating only</comment>
  12938. </option>
  12939. </options>
  12940. </bits>
  12941. </reg>
  12942. <reg name="clk_sys_ahb_enable" protect="rw">
  12943. <bits access="rs" cut="1" cutenum="Sys_Ahb_Clks" cutprefix="Enable" cutstart="0" name="enable_clk_sys_ahb" pos="NB_SYS_AHB_CLK_EN-1:0" rst="1">
  12944. <comment>
  12945. Each bit controls the manual enable for one clock
  12946. <br/>
  12947. Writing a 1 to bit x of this register will enable the corresponding clocks
  12948. <br/>
  12949. Writing a 0 to bit x has no effect on clock x
  12950. <br/>
  12951. Reading this register gives the current status for all the clocks (1 : enabled, 0: disabled)
  12952. </comment>
  12953. </bits>
  12954. </reg>
  12955. <reg name="clk_sys_ahb_disable" protect="rw">
  12956. <comment>This register is protected.</comment>
  12957. <bits access="rc" cut="1" cutenum="Sys_Ahb_Clks" cutprefix="Disable" cutstart="0" name="disable_clk_sys_ahb" pos="NB_SYS_AHB_CLK_EN-1:0" rst="1">
  12958. <comment>
  12959. Each bit controls the manual enable for one clock
  12960. <br/>
  12961. Writing a 1 to bit x of this register will disable the corresponding clocks
  12962. <br/>
  12963. Writing a 0 to bit x has no effect on clock x
  12964. <br/>
  12965. Reading this register gives the current status for all the clocks (1 : enabled, 0: disabled)
  12966. </comment>
  12967. </bits>
  12968. </reg>
  12969. <reg name="clk_ap_apb_mode" protect="rw">
  12970. <bits access="rw" cut="1" cutenum="Ap_Apb_Clks" cutprefix="Mode" cutstart="0" name="mode_clk_ap_apb" pos="NB_AP_APB_CLK_AEN-1:0" rst="1">
  12971. <options>
  12972. <option name="Automatic" value="0">
  12973. <comment>automatic clock gating enabled</comment>
  12974. </option>
  12975. <option name="Manual" value="1">
  12976. <comment>manual clock gating only</comment>
  12977. </option>
  12978. </options>
  12979. </bits>
  12980. </reg>
  12981. <reg name="clk_ap_apb_enable" protect="rw">
  12982. <bits access="rs" cut="1" cutenum="Ap_Apb_Clks" cutprefix="Enable" cutstart="0" name="enable_clk_ap_apb" pos="NB_AP_APB_CLK_EN-1:0" rst="1">
  12983. <comment>
  12984. Each bit controls the manual enable for one clock
  12985. <br/>
  12986. Writing a 1 to bit x of this register will enable the corresponding clocks
  12987. <br/>
  12988. Writing a 0 to bit x has no effect on clock x
  12989. <br/>
  12990. Reading this register gives the current status for all the clocks (1 : enabled, 0: disabled)
  12991. </comment>
  12992. </bits>
  12993. </reg>
  12994. <reg name="clk_ap_apb_disable" protect="rw">
  12995. <comment>This register is protected.</comment>
  12996. <bits access="rc" cut="1" cutenum="Ap_Apb_Clks" cutprefix="Disable" cutstart="0" name="disable_clk_ap_apb" pos="NB_AP_APB_CLK_EN-1:0" rst="1">
  12997. <comment>
  12998. Each bit controls the manual enable for one clock
  12999. <br/>
  13000. Writing a 1 to bit x of this register will disable the corresponding clocks
  13001. <br/>
  13002. Writing a 0 to bit x has no effect on clock x
  13003. <br/>
  13004. Reading this register gives the current status for all the clocks (1 : enabled, 0: disabled)
  13005. </comment>
  13006. </bits>
  13007. </reg>
  13008. <reg name="clk_aif_apb_mode" protect="rw">
  13009. <bits access="rw" cut="1" cutenum="Aif_Apb_Clks" cutprefix="Mode" cutstart="0" name="mode_clk_aif_apb" pos="NB_AIF_APB_CLK_AEN-1:0" rst="1">
  13010. <options>
  13011. <option name="Automatic" value="0">
  13012. <comment>automatic clock gating enabled</comment>
  13013. </option>
  13014. <option name="Manual" value="1">
  13015. <comment>manual clock gating only</comment>
  13016. </option>
  13017. </options>
  13018. </bits>
  13019. </reg>
  13020. <reg name="clk_aif_apb_enable" protect="rw">
  13021. <bits access="rs" cut="1" cutenum="Aif_Apb_Clks" cutprefix="Enable" cutstart="0" name="enable_clk_aif_apb" pos="NB_AIF_APB_CLK_EN-1:0" rst="1">
  13022. <comment>
  13023. Each bit controls the manual enable for one clock
  13024. <br/>
  13025. Writing a 1 to bit x of this register will enable the corresponding clocks
  13026. <br/>
  13027. Writing a 0 to bit x has no effect on clock x
  13028. <br/>
  13029. Reading this register gives the current status for all the clocks (1 : enabled, 0: disabled)
  13030. </comment>
  13031. </bits>
  13032. </reg>
  13033. <reg name="clk_aif_apb_disable" protect="rw">
  13034. <comment>This register is protected.</comment>
  13035. <bits access="rc" cut="1" cutenum="Aif_Apb_Clks" cutprefix="Disable" cutstart="0" name="disable_clk_aif_apb" pos="NB_AIF_APB_CLK_EN-1:0" rst="1">
  13036. <comment>
  13037. Each bit controls the manual enable for one clock
  13038. <br/>
  13039. Writing a 1 to bit x of this register will disable the corresponding clocks
  13040. <br/>
  13041. Writing a 0 to bit x has no effect on clock x
  13042. <br/>
  13043. Reading this register gives the current status for all the clocks (1 : enabled, 0: disabled)
  13044. </comment>
  13045. </bits>
  13046. </reg>
  13047. <reg name="clk_aon_ahb_mode" protect="rw">
  13048. <bits access="rw" cut="1" cutenum="Aon_Ahb_Clks" cutprefix="Mode" cutstart="0" name="mode_clk_aon_ahb" pos="NB_AON_AHB_CLK_AEN-1:0" rst="1">
  13049. <options>
  13050. <option name="Automatic" value="0">
  13051. <comment>automatic clock gating enabled</comment>
  13052. </option>
  13053. <option name="Manual" value="1">
  13054. <comment>manual clock gating only</comment>
  13055. </option>
  13056. </options>
  13057. </bits>
  13058. </reg>
  13059. <reg name="clk_aon_ahb_enable" protect="rw">
  13060. <bits access="rs" cut="1" cutenum="Aon_Ahb_Clks" cutprefix="Enable" cutstart="0" name="enable_clk_aon_ahb" pos="NB_AON_AHB_CLK_EN-1:0" rst="1">
  13061. <comment>
  13062. Each bit controls the manual enable for one clock
  13063. <br/>
  13064. Writing a 1 to bit x of this register will enable the corresponding clocks
  13065. <br/>
  13066. Writing a 0 to bit x has no effect on clock x
  13067. <br/>
  13068. Reading this register gives the current status for all the clocks (1 : enabled, 0: disabled)
  13069. </comment>
  13070. </bits>
  13071. </reg>
  13072. <reg name="clk_aon_ahb_disable" protect="rw">
  13073. <comment>This register is protected.</comment>
  13074. <bits access="rc" cut="1" cutenum="Aon_Ahb_Clks" cutprefix="Disable" cutstart="0" name="disable_clk_aon_ahb" pos="NB_AON_AHB_CLK_EN-1:0" rst="1">
  13075. <comment>
  13076. Each bit controls the manual enable for one clock
  13077. <br/>
  13078. Writing a 1 to bit x of this register will disable the corresponding clocks
  13079. <br/>
  13080. Writing a 0 to bit x has no effect on clock x
  13081. <br/>
  13082. Reading this register gives the current status for all the clocks (1 : enabled, 0: disabled)
  13083. </comment>
  13084. </bits>
  13085. </reg>
  13086. <reg name="clk_aon_apb_mode" protect="rw">
  13087. <bits access="rw" cut="1" cutenum="Aon_Apb_Clks" cutprefix="Mode" cutstart="0" name="mode_clk_aon_apb" pos="NB_AON_APB_CLK_AEN-1:0" rst="1">
  13088. <options>
  13089. <option name="Automatic" value="0">
  13090. <comment>automatic clock gating enabled</comment>
  13091. </option>
  13092. <option name="Manual" value="1">
  13093. <comment>manual clock gating only</comment>
  13094. </option>
  13095. </options>
  13096. </bits>
  13097. </reg>
  13098. <reg name="clk_aon_apb_enable" protect="rw">
  13099. <bits access="rs" cut="1" cutenum="Aon_Apb_Clks" cutprefix="Enable" cutstart="0" name="enable_clk_aon_apb" pos="NB_AON_APB_CLK_EN-1:0" rst="1">
  13100. <comment>
  13101. Each bit controls the manual enable for one clock
  13102. <br/>
  13103. Writing a 1 to bit x of this register will enable the corresponding clocks
  13104. <br/>
  13105. Writing a 0 to bit x has no effect on clock x
  13106. <br/>
  13107. Reading this register gives the current status for all the clocks (1 : enabled, 0: disabled)
  13108. </comment>
  13109. </bits>
  13110. </reg>
  13111. <reg name="clk_aon_apb_disable" protect="rw">
  13112. <comment>This register is protected.</comment>
  13113. <bits access="rc" cut="1" cutenum="Aon_Apb_Clks" cutprefix="Disable" cutstart="0" name="disable_clk_aon_apb" pos="NB_AON_APB_CLK_EN-1:0" rst="1">
  13114. <comment>
  13115. Each bit controls the manual enable for one clock
  13116. <br/>
  13117. Writing a 1 to bit x of this register will disable the corresponding clocks
  13118. <br/>
  13119. Writing a 0 to bit x has no effect on clock x
  13120. <br/>
  13121. Reading this register gives the current status for all the clocks (1 : enabled, 0: disabled)
  13122. </comment>
  13123. </bits>
  13124. </reg>
  13125. <reg name="clk_rf_ahb_mode" protect="rw">
  13126. <bits access="rw" cut="1" cutenum="Rf_Ahb_Clks" cutprefix="Mode" cutstart="0" name="mode_clk_rf_ahb" pos="NB_RF_AHB_CLK_AEN-1:0" rst="1">
  13127. <options>
  13128. <option name="Automatic" value="0">
  13129. <comment>automatic clock gating enabled</comment>
  13130. </option>
  13131. <option name="Manual" value="1">
  13132. <comment>manual clock gating only</comment>
  13133. </option>
  13134. </options>
  13135. </bits>
  13136. </reg>
  13137. <reg name="clk_rf_ahb_enable" protect="rw">
  13138. <bits access="rs" cut="1" cutenum="Rf_Ahb_Clks" cutprefix="Enable" cutstart="0" name="enable_clk_rf_ahb" pos="NB_RF_AHB_CLK_EN-1:0" rst="1">
  13139. <comment>
  13140. Each bit controls the manual enable for one clock
  13141. <br/>
  13142. Writing a 1 to bit x of this register will enable the corresponding clocks
  13143. <br/>
  13144. Writing a 0 to bit x has no effect on clock x
  13145. <br/>
  13146. Reading this register gives the current status for all the clocks (1 : enabled, 0: disabled)
  13147. </comment>
  13148. </bits>
  13149. </reg>
  13150. <reg name="clk_rf_ahb_disable" protect="rw">
  13151. <comment>This register is protected.</comment>
  13152. <bits access="rc" cut="1" cutenum="Rf_Ahb_Clks" cutprefix="Disable" cutstart="0" name="disable_clk_rf_ahb" pos="NB_RF_AHB_CLK_EN-1:0" rst="1">
  13153. <comment>
  13154. Each bit controls the manual enable for one clock
  13155. <br/>
  13156. Writing a 1 to bit x of this register will disable the corresponding clocks
  13157. <br/>
  13158. Writing a 0 to bit x has no effect on clock x
  13159. <br/>
  13160. Reading this register gives the current status for all the clocks (1 : enabled, 0: disabled)
  13161. </comment>
  13162. </bits>
  13163. </reg>
  13164. <reg name="clk_rf_apb_mode" protect="rw">
  13165. <bits access="rw" cut="1" cutenum="Rf_Apb_Clks" cutprefix="Mode" cutstart="0" name="mode_clk_rf_apb" pos="NB_RF_APB_CLK_AEN-1:0" rst="1">
  13166. <options>
  13167. <option name="Automatic" value="0">
  13168. <comment>automatic clock gating enabled</comment>
  13169. </option>
  13170. <option name="Manual" value="1">
  13171. <comment>manual clock gating only</comment>
  13172. </option>
  13173. </options>
  13174. </bits>
  13175. </reg>
  13176. <reg name="clk_rf_apb_enable" protect="rw">
  13177. <bits access="rs" cut="1" cutenum="Rf_Apb_Clks" cutprefix="Enable" cutstart="0" name="enable_clk_rf_apb" pos="NB_RF_APB_CLK_EN-1:0" rst="1">
  13178. <comment>
  13179. Each bit controls the manual enable for one clock
  13180. <br/>
  13181. Writing a 1 to bit x of this register will enable the corresponding clocks
  13182. <br/>
  13183. Writing a 0 to bit x has no effect on clock x
  13184. <br/>
  13185. Reading this register gives the current status for all the clocks (1 : enabled, 0: disabled)
  13186. </comment>
  13187. </bits>
  13188. </reg>
  13189. <reg name="clk_rf_apb_disable" protect="rw">
  13190. <comment>This register is protected.</comment>
  13191. <bits access="rc" cut="1" cutenum="Rf_Apb_Clks" cutprefix="Disable" cutstart="0" name="disable_clk_rf_apb" pos="NB_RF_APB_CLK_EN-1:0" rst="1">
  13192. <comment>
  13193. Each bit controls the manual enable for one clock
  13194. <br/>
  13195. Writing a 1 to bit x of this register will disable the corresponding clocks
  13196. <br/>
  13197. Writing a 0 to bit x has no effect on clock x
  13198. <br/>
  13199. Reading this register gives the current status for all the clocks (1 : enabled, 0: disabled)
  13200. </comment>
  13201. </bits>
  13202. </reg>
  13203. <reg name="clk_others_mode" protect="rw">
  13204. <bits access="rw" cut="1" cutenum="Others_Clks" cutprefix="Mode" cutstart="0" name="mode_clk_others" pos="NB_CLK_OTHER_AEN-1:0" rst="1">
  13205. <options>
  13206. <option name="Automatic" value="0">
  13207. <comment>automatic clock gating enabled</comment>
  13208. </option>
  13209. <option name="Manual" value="1">
  13210. <comment>manual clock gating only</comment>
  13211. </option>
  13212. </options>
  13213. </bits>
  13214. </reg>
  13215. <reg name="clk_others_enable" protect="rw">
  13216. <bits access="rs" cut="1" cutenum="Others_Clks" cutprefix="Enable" cutstart="0" name="enable_clk_others" pos="NB_CLK_OTHER_EN-1:0" rst="1">
  13217. <comment>
  13218. Each bit controls the manual enable for one clock
  13219. <br/>
  13220. Writing a 1 to bit x of this register will enable the corresponding clocks
  13221. <br/>
  13222. Writing a 0 to bit x has no effect on clock x
  13223. <br/>
  13224. Reading this register gives the current status for all the clocks (1 : enabled, 0: disabled)
  13225. </comment>
  13226. </bits>
  13227. </reg>
  13228. <reg name="clk_others_disable" protect="rw">
  13229. <comment>This register is protected.</comment>
  13230. <bits access="rc" cut="1" cutenum="Others_Clks" cutprefix="Disable" cutstart="0" name="disable_clk_others" pos="NB_CLK_OTHER_EN-1:0" rst="1">
  13231. <comment>
  13232. Each bit controls the manual enable for one clock
  13233. <br/>
  13234. Writing a 1 to bit x of this register will disable the corresponding clocks
  13235. <br/>
  13236. Writing a 0 to bit x has no effect on clock x
  13237. <br/>
  13238. Reading this register gives the current status for all the clocks (1 : enabled, 0: disabled)
  13239. </comment>
  13240. </bits>
  13241. </reg>
  13242. <reg name="clk_others_1_mode" protect="rw">
  13243. <bits access="rw" cut="1" cutenum="Others_Clks_1" cutprefix="Mode" cutstart="0" name="mode_clk_others_1" pos="NB_CLK_OTHER_1_AEN-1:0" rst="1">
  13244. <options>
  13245. <option name="Automatic" value="0">
  13246. <comment>automatic clock gating enabled</comment>
  13247. </option>
  13248. <option name="Manual" value="1">
  13249. <comment>manual clock gating only</comment>
  13250. </option>
  13251. </options>
  13252. </bits>
  13253. </reg>
  13254. <reg name="clk_others_1_enable" protect="rw">
  13255. <bits access="rs" cut="1" cutenum="Others_Clks_1" cutprefix="Enable" cutstart="0" name="enable_clk_others_1" pos="NB_CLK_OTHER_1_EN-1:0" rst="1">
  13256. <comment>
  13257. Each bit controls the manual enable for one clock
  13258. <br/>
  13259. Writing a 1 to bit x of this register will enable the corresponding clocks
  13260. <br/>
  13261. Writing a 0 to bit x has no effect on clock x
  13262. <br/>
  13263. Reading this register gives the current status for all the clocks (1 : enabled, 0: disabled)
  13264. </comment>
  13265. </bits>
  13266. </reg>
  13267. <reg name="clk_others_1_disable" protect="rw">
  13268. <comment>This register is protected.</comment>
  13269. <bits access="rc" cut="1" cutenum="Others_Clks_1" cutprefix="Disable" cutstart="0" name="disable_clk_others_1" pos="NB_CLK_OTHER_1_EN-1:0" rst="1">
  13270. <comment>
  13271. Each bit controls the manual enable for one clock
  13272. <br/>
  13273. Writing a 1 to bit x of this register will disable the corresponding clocks
  13274. <br/>
  13275. Writing a 0 to bit x has no effect on clock x
  13276. <br/>
  13277. Reading this register gives the current status for all the clocks (1 : enabled, 0: disabled)
  13278. </comment>
  13279. </bits>
  13280. </reg>
  13281. <reg name="pll_ctrl" protect="rw">
  13282. <comment>Register protected by Write_Unlocked_H.</comment>
  13283. <bits access="rw" name="pll_enable" pos="0" rst="0">
  13284. <comment>Mode of the Pll. This register is set to enable by the LPS_start_ExtPll_pulse_H.</comment>
  13285. <options>
  13286. <option name="Power_Down" value="0"/>
  13287. <option name="Enable" value="1"/>
  13288. <default/>
  13289. <shift/>
  13290. <mask/>
  13291. </options>
  13292. </bits>
  13293. <bits access="rw" name="pll_lock_reset" pos="4" rst="1">
  13294. <comment>Used to reset the PLL Lock Detector.</comment>
  13295. <options>
  13296. <option name="Reset" value="0"/>
  13297. <option name="No_Reset" value="1"/>
  13298. <mask/>
  13299. <shift/>
  13300. <default/>
  13301. </options>
  13302. </bits>
  13303. <bits access="rw" name="pll_bypass_lock" pos="8" rst="0">
  13304. <options>
  13305. <option name="Pass" value="0">
  13306. <comment>In this mode the output of the PLL is its input clock divided by the proper dividers</comment>
  13307. </option>
  13308. <option name="Bypass" value="1">
  13309. <comment>In this mode the output of the PLL is its input clock</comment>
  13310. </option>
  13311. <mask/>
  13312. <shift/>
  13313. <default/>
  13314. </options>
  13315. </bits>
  13316. <bits access="rw" name="pll_clk_fast_enable" pos="12" rst="1">
  13317. <comment>Enables the Fast Clock from the ExtPll (Clock Gate Reg Resync).</comment>
  13318. <options>
  13319. <option name="Enable" value="1"/>
  13320. <option name="Disable" value="0"/>
  13321. <mask/>
  13322. <shift/>
  13323. <default/>
  13324. </options>
  13325. </bits>
  13326. </reg>
  13327. <reg name="sel_clock" protect="rw">
  13328. <comment>This register is protected.</comment>
  13329. <bits access="rw" name="slow_sel_rf" pos="0" rst="1">
  13330. <comment>PreSelects between RF clock(26mhz) and Oscillator clock(32k) for Clock Slow</comment>
  13331. <options>
  13332. <option name="Oscillator" value="1"/>
  13333. <option name="RF" value="0"/>
  13334. </options>
  13335. </bits>
  13336. <bits access="rw" name="sys_sel_fast" pos="1" rst="1">
  13337. <comment>Selects between the Slow clock and the Fast Clock (APll clock) and Selects between the Slow clock and the APcpu Clock</comment>
  13338. <options>
  13339. <option name="Slow" value="1"/>
  13340. <option name="Fast" value="0"/>
  13341. </options>
  13342. </bits>
  13343. <bits access="rw" name="osc_32k_26m_div32k_sel" pos="2" rst="1">
  13344. <comment>
  13345. When 0, select 26m div32k.
  13346. <br/>
  13347. When 1, select osc 32k.
  13348. </comment>
  13349. </bits>
  13350. <bits access="rw" name="pll_disable_lps" pos="3" rst="1">
  13351. <comment>Disable PLL when LPS power up.</comment>
  13352. <options>
  13353. <option name="Disable" value="1"/>
  13354. <option name="Enable" value="0"/>
  13355. </options>
  13356. </bits>
  13357. <bits access="r" name="rf_detected" pos="4" rst="0">
  13358. <options>
  13359. <option name="Ok" value="1">
  13360. <comment>When 1, the clock from the XCver is detected.</comment>
  13361. </option>
  13362. <option name="No" value="0">
  13363. <comment>When 0, the clock from the XCver is not detected.</comment>
  13364. </option>
  13365. </options>
  13366. </bits>
  13367. <bits access="rw" name="rf_detect_bypass" pos="5" rst="0">
  13368. <comment>
  13369. If RF_Detect_Bypass = 0, RF clock is selected when she is detected.
  13370. <br/>
  13371. If RF_Detect_Bypass = 1, RF clock is selected even she is not detected.
  13372. </comment>
  13373. </bits>
  13374. <bits access="rw" name="rf_detect_reset" pos="6" rst="0">
  13375. <comment>
  13376. When 1, The RF clock detection counter is force reseted.
  13377. <br/>
  13378. When 0, The RF clock detection counter is enabled.
  13379. </comment>
  13380. </bits>
  13381. <bits access="r" name="rf_selected_l" pos="7" rst="1">
  13382. <comment>0 when RF clock is effectively selected for Slow Clock. RF clock selection is not done until the clock has been detected.</comment>
  13383. </bits>
  13384. <bits access="r" name="pll_locked" pos="8" rst="0">
  13385. <options>
  13386. <option name="Locked" value="1">
  13387. <comment/>
  13388. </option>
  13389. <option name="Not_Locked" value="0">
  13390. <comment/>
  13391. </option>
  13392. <mask/>
  13393. <shift/>
  13394. <default/>
  13395. </options>
  13396. </bits>
  13397. <bits access="r" name="fast_selected_l" pos="9" rst="1">
  13398. <comment>0 when Fast clock is effectively selected. Fast clock selection is not done until the PLL has locked.</comment>
  13399. <options>
  13400. <mask/>
  13401. <shift/>
  13402. <default/>
  13403. </options>
  13404. </bits>
  13405. <bits access="rw" name="soft_sel_spiflash" pos="10" rst="1">
  13406. <comment>
  13407. When 1, clk_spiflash is clk_slow.
  13408. <br/>
  13409. When 0, switch from clk_slow to clk_spiflash
  13410. </comment>
  13411. </bits>
  13412. <bits access="rw" name="soft_sel_mem_bridge" pos="11" rst="1">
  13413. <comment>
  13414. When 1, clk_mem_bridge is clk_slow.
  13415. <br/>
  13416. When 0, switch from clk_slow to clk_pll_mem_bridge
  13417. </comment>
  13418. </bits>
  13419. <bits access="rw" name="bblte_clk_pll_sel" pos="12" rst="0">
  13420. <comment>
  13421. When 1, clk_bblte is inverted.
  13422. <br/>
  13423. When 0, clk_bblte is itself, pole select
  13424. </comment>
  13425. </bits>
  13426. <bits access="rw" name="camera_clk_pll_sel" pos="13" rst="1">
  13427. <comment>
  13428. When 1, clk_pix is clk_slow.
  13429. <br/>
  13430. When 0, switch from clk_slow to clk_pll_pix_div_out
  13431. </comment>
  13432. </bits>
  13433. <bits access="r" name="usb_pll_locked_h" pos="14" rst="0">
  13434. <comment>
  13435. When 1, usb clock pll locked.
  13436. <br/>
  13437. When 0, usb clock pll not locked.
  13438. </comment>
  13439. </bits>
  13440. <bits access="rw" name="bb26m_sel" pos="15" rst="0">
  13441. <comment>
  13442. When 1, select i_osc_26m.
  13443. <br/>
  13444. When 0, select i_bb_26m(default).
  13445. </comment>
  13446. </bits>
  13447. <bits access="rw" name="soft_sel_spiflash1" pos="16" rst="1">
  13448. <comment>
  13449. When 1, clk_spiflash is clk_slow.
  13450. <br/>
  13451. When 0, switch from clk_slow to clk_spiflash
  13452. </comment>
  13453. </bits>
  13454. <bits access="r" name="apll_locked_h" pos="17" rst="0">
  13455. <comment>
  13456. <br/>
  13457. When 1, apll locked
  13458. <br/>
  13459. When 0, apll not locked
  13460. </comment>
  13461. </bits>
  13462. <bits access="r" name="mempll_locked_h" pos="18" rst="0">
  13463. <comment>
  13464. <br/>
  13465. When 1, mempll locked
  13466. <br/>
  13467. When 0, mempll not locked
  13468. </comment>
  13469. </bits>
  13470. <bits access="r" name="audiopll_locked_h" pos="19" rst="0">
  13471. <comment>
  13472. <br/>
  13473. When 1, audiopll locked
  13474. <br/>
  13475. When 0, audiopll not locked
  13476. </comment>
  13477. </bits>
  13478. <bits access="r" name="bbpll2_locked_h" pos="20" rst="0">
  13479. <comment>
  13480. <br/>
  13481. When 1, bbpll2 locked
  13482. <br/>
  13483. When 0, bbpll2 not locked
  13484. </comment>
  13485. </bits>
  13486. <bits access="r" name="bbpll1_locked_h" pos="21" rst="0">
  13487. <comment>
  13488. <br/>
  13489. When 1, bbpll1 locked
  13490. <br/>
  13491. When 0, bbpll1 not locked
  13492. </comment>
  13493. </bits>
  13494. <bits access="r" name="usbpll_locked_h" pos="22" rst="0">
  13495. <comment>
  13496. <br/>
  13497. When 1, usbpll locked
  13498. <br/>
  13499. When 0, usbpll not locked
  13500. </comment>
  13501. </bits>
  13502. </reg>
  13503. <hole size="32"/>
  13504. <reg name="cfg_clk_out" protect="rw">
  13505. <comment>This register is protected.</comment>
  13506. <bits access="rw" name="clkout_divider" pos="4:0" rst="all0">
  13507. <comment>The generated clock frequency is equal to the 156MHz divided by this value + 2. The 156MHz clock comes from a PLL.</comment>
  13508. </bits>
  13509. <bits access="rw" name="clkout_dbg_sel" pos="5" rst="0">
  13510. </bits>
  13511. <bits access="rw" name="clkout_enable" pos="6" rst="0">
  13512. </bits>
  13513. <bits access="rw" name="clkout_update" pos="7" rst="0">
  13514. </bits>
  13515. </reg>
  13516. <hole size="32"/>
  13517. <reg name="cfg_clk_audiobck1_div" protect="rw">
  13518. <bits access="rw" name="audiobck1_divider" pos="10:0" rst="all1">
  13519. <comment>The generated clock frequency is equal to the pll_host_div4 divided by this value + 2. The clock comes from a PLL.</comment>
  13520. </bits>
  13521. <bits access="rw" name="audiobck1_update" pos="11" rst="0">
  13522. </bits>
  13523. </reg>
  13524. <reg name="cfg_clk_audiobck2_div" protect="rw">
  13525. <bits access="rw" name="audiobck2_divider" pos="10:0" rst="all1">
  13526. <comment>The generated clock frequency is equal to the pll_host_div4 divided by this value + 2. The clock comes from a PLL.</comment>
  13527. </bits>
  13528. <bits access="rw" name="audiobck2_update" pos="11" rst="0">
  13529. </bits>
  13530. </reg>
  13531. <reg count="4" name="cfg_clk_uart" protect="rw">
  13532. <bits access="rw" name="uart_divider" pos="23:0" rst="0x001801">
  13533. <comment>
  13534. The generated clock frequency is equal to the selected source frequency divided by this value.
  13535. <br/>
  13536. The generated clock must be 4 or 16 times the expected baud rate depending on the Uart settings (see Uart section for details).
  13537. <br/>
  13538. [9:0] numerator 'b0000000001
  13539. <br/>
  13540. [23:10] denominator 'b000000000000110
  13541. </comment>
  13542. <options>
  13543. <mask/>
  13544. <shift/>
  13545. </options>
  13546. </bits>
  13547. <bits access="rw" name="uart_divider_update" pos="24" rst="0">
  13548. </bits>
  13549. <bits access="rw" name="uart_sel_pll" pos="25" rst="0">
  13550. </bits>
  13551. </reg>
  13552. <reg name="cfg_clk_pwm" protect="rw">
  13553. <bits access="rw" name="pwm_divider" pos="7:0" rst="all1">
  13554. <comment>The Pwm reference clock frequency is the system clock divided by this register value + 1.</comment>
  13555. </bits>
  13556. </reg>
  13557. <reg name="cfg_clk_dbg_div" protect="rw">
  13558. <bits access="rw" name="clk_dbg_divider" pos="10:0" rst="all1">
  13559. <comment>The generated clock frequency is equal to the 156MHz divided by this value + 2. The 156MHz clock comes from a PLL.</comment>
  13560. </bits>
  13561. </reg>
  13562. <reg name="cfg_clk_camera_out" protect="rw">
  13563. <bits access="rw" name="clk_camera_out_en" pos="0" rst="0">
  13564. <comment>Clk camera out enable.</comment>
  13565. <options>
  13566. <option name="disable" value="0"/>
  13567. <option name="enable" value="1"/>
  13568. </options>
  13569. </bits>
  13570. <bits access="rw" name="clk_camera_div_src_sel" pos="1" rst="0">
  13571. <comment>Selects from which clock the Clk camera is generated.</comment>
  13572. <options>
  13573. <option name="26 MHz" value="0"/>
  13574. <option name="156 MHz" value="1"/>
  13575. </options>
  13576. </bits>
  13577. <bits access="rw" name="clk_camera_out_div" pos="12:2" rst="all1">
  13578. </bits>
  13579. <bits access="rw" name="clk_camera_div_update" pos="13" rst="0">
  13580. </bits>
  13581. <bits access="rw" name="clk_spi_cam_en" pos="14" rst="0">
  13582. <comment>Clk spi camera out enable.</comment>
  13583. <options>
  13584. <option name="disable" value="0"/>
  13585. <option name="enable" value="1"/>
  13586. </options>
  13587. </bits>
  13588. <bits access="rw" name="clk_spi_cam_pol" pos="15" rst="0">
  13589. </bits>
  13590. <bits access="rw" name="clk_spi_cam_sel" pos="16" rst="0">
  13591. </bits>
  13592. <bits access="rw" name="clk_spi_cam_div" pos="27:17" rst="all1">
  13593. </bits>
  13594. <bits access="rw" name="clk_spi_cam_div_update" pos="28" rst="0">
  13595. </bits>
  13596. </reg>
  13597. <reg name="reset_cause" protect="rw">
  13598. <bits access="rw" name="watchdog_reset_1" pos="0" rst="no">
  13599. <options>
  13600. <option name="Happened" value="1">
  13601. <comment>A watchdog reset has happened</comment>
  13602. </option>
  13603. <option name="No" value="0">
  13604. <comment>No watchdog reset happened since the last HW reset or power on.</comment>
  13605. </option>
  13606. </options>
  13607. <comment>Writing a 1 to this bit will reset the bits watchdog_Reset cause, GlobalSoft_Reset cause and HostDebug_Reset cause to 0.</comment>
  13608. </bits>
  13609. <bits access="rw" name="watchdog_reset_2" pos="1" rst="no">
  13610. <options>
  13611. <option name="Happened" value="1">
  13612. <comment>A watchdog reset has happened</comment>
  13613. </option>
  13614. <option name="No" value="0">
  13615. <comment>No watchdog reset happened since the last HW reset or power on.</comment>
  13616. </option>
  13617. </options>
  13618. <comment>Writing a 1 to this bit will reset the bits watchdog_Reset cause, GlobalSoft_Reset cause and HostDebug_Reset cause to 0.</comment>
  13619. </bits>
  13620. <bits access="rw" name="watchdog_reset_3" pos="2" rst="no">
  13621. <options>
  13622. <option name="Happened" value="1">
  13623. <comment>A watchdog reset has happened</comment>
  13624. </option>
  13625. <option name="No" value="0">
  13626. <comment>No watchdog reset happened since the last HW reset or power on.</comment>
  13627. </option>
  13628. </options>
  13629. <comment>Writing a 1 to this bit will reset the bits watchdog_Reset cause, GlobalSoft_Reset cause and HostDebug_Reset cause to 0.</comment>
  13630. </bits>
  13631. <bits access="rw" name="watchdog_reset_4" pos="3" rst="no">
  13632. <options>
  13633. <option name="Happened" value="1">
  13634. <comment>A watchdog reset has happened</comment>
  13635. </option>
  13636. <option name="No" value="0">
  13637. <comment>No watchdog reset happened since the last HW reset or power on.</comment>
  13638. </option>
  13639. </options>
  13640. <comment>Writing a 1 to this bit will reset the bits watchdog_Reset cause, GlobalSoft_Reset cause and HostDebug_Reset cause to 0.</comment>
  13641. </bits>
  13642. <bits access="rw" name="watchdog_reset_rf" pos="4" rst="no">
  13643. <options>
  13644. <option name="Happened" value="1">
  13645. <comment>A watchdog reset has happened</comment>
  13646. </option>
  13647. <option name="No" value="0">
  13648. <comment>No watchdog reset happened since the last HW reset or power on.</comment>
  13649. </option>
  13650. </options>
  13651. <comment>Writing a 1 to this bit will reset the bits watchdog_Reset cause, GlobalSoft_Reset cause and HostDebug_Reset cause to 0.</comment>
  13652. </bits>
  13653. <bits access="rw" name="watchdog_reset_gge" pos="5" rst="no">
  13654. <options>
  13655. <option name="Happened" value="1">
  13656. <comment>A watchdog reset has happened</comment>
  13657. </option>
  13658. <option name="No" value="0">
  13659. <comment>No watchdog reset happened since the last HW reset or power on.</comment>
  13660. </option>
  13661. </options>
  13662. <comment>Writing a 1 to this bit will reset the bits watchdog_Reset cause, GlobalSoft_Reset cause and HostDebug_Reset cause to 0.</comment>
  13663. </bits>
  13664. <bits access="rw" name="watchdog_reset_zsp" pos="6" rst="no">
  13665. <options>
  13666. <option name="Happened" value="1">
  13667. <comment>A watchdog reset has happened</comment>
  13668. </option>
  13669. <option name="No" value="0">
  13670. <comment>No watchdog reset happened since the last HW reset or power on.</comment>
  13671. </option>
  13672. </options>
  13673. <comment>Writing a 1 to this bit will reset the bits watchdog_Reset cause, GlobalSoft_Reset cause and HostDebug_Reset cause to 0.</comment>
  13674. </bits>
  13675. <bits access="r" name="globalsoft_reset" pos="7" rst="no">
  13676. <options>
  13677. <option name="Happened" value="1">
  13678. <comment>A reset was initiated from Global soft reset register</comment>
  13679. </option>
  13680. <option name="No" value="0">
  13681. <comment>The reset was not from the soft reset register.</comment>
  13682. </option>
  13683. </options>
  13684. </bits>
  13685. <bits access="r" name="hostdebug_reset" pos="8" rst="no">
  13686. <options>
  13687. <option name="Happened" value="1">
  13688. <comment>A reset was initiated from the Host interface</comment>
  13689. </option>
  13690. <option name="No" value="0">
  13691. <comment>The reset was not from the debug interface.</comment>
  13692. </option>
  13693. </options>
  13694. </bits>
  13695. <bits access="rw" name="watchdog_reset_cp" pos="9" rst="no">
  13696. <options>
  13697. <option name="Happened" value="1">
  13698. <comment>A watchdog cp reset has happened</comment>
  13699. </option>
  13700. <option name="No" value="0">
  13701. <comment>No watchdog reset happened since the last HW reset or power on.</comment>
  13702. </option>
  13703. </options>
  13704. <comment>Writing a 1 to this bit will reset the bits watchdog_Reset cause, GlobalSoft_Reset cause and HostDebug_Reset cause to 0.</comment>
  13705. </bits>
  13706. <bits access="r" name="alarmcause" pos="12" rst="no">
  13707. <options>
  13708. <option name="Happened" value="1">
  13709. <comment>An Alarm occur from the calendar</comment>
  13710. </option>
  13711. <option name="No" value="0">
  13712. <comment>No Alarm occur.</comment>
  13713. </option>
  13714. </options>
  13715. </bits>
  13716. <bits access="rw" name="boot_mode" pos="21:16" rst="0x20">
  13717. <comment>
  13718. This contains the state of boot mode pins latched during Reset.
  13719. <br/>
  13720. bit 16: Force download.
  13721. <br/>
  13722. bit 17: Mass production.
  13723. <br/>
  13724. bit 18: Secure boot 1-&gt; secure boot, 0-&gt; nonsecure boot.
  13725. <br/>
  13726. bit 19: Unused.
  13727. <br/>
  13728. bit 20: Unused.
  13729. <br/>
  13730. bit 21: Unused.
  13731. <br/>
  13732. see BootSequence for details.
  13733. <br/>
  13734. This register is not reseted by a software or host reset.
  13735. </comment>
  13736. <options>
  13737. <mask/>
  13738. <shift/>
  13739. </options>
  13740. </bits>
  13741. <bits access="rw" name="sw_boot_mode" pos="27:22" rst="no">
  13742. <comment>
  13743. Software boot mode (Reseted at zero by external reset pin)
  13744. <br/>
  13745. This register is not reseted by a software or host reset.
  13746. </comment>
  13747. <options>
  13748. <mask/>
  13749. <shift/>
  13750. </options>
  13751. </bits>
  13752. <bits access="r" name="fonctional_test_mode" pos="31" rst="no">
  13753. <comment>When 1 the chip has booted in fonctional test mode (for chip production tests).</comment>
  13754. </bits>
  13755. </reg>
  13756. <reg name="wakeup" protect="rw">
  13757. <comment>This register is protected.</comment>
  13758. <bits access="rw" name="force_wakeup" pos="0" rst="0">
  13759. <comment>When 1, the wake up is set. When 0, the wake up is clear .</comment>
  13760. </bits>
  13761. </reg>
  13762. <reg name="ignore_charger" protect="rw">
  13763. <comment>This register is protected.</comment>
  13764. <bits access="rw" name="ignore_charger" pos="0" rst="0">
  13765. <comment>When 1, the CHG_MASK line to PMU is set. When 0, it is cleared.</comment>
  13766. </bits>
  13767. </reg>
  13768. <hole size="64"/>
  13769. <reg name="cfg_pll_spiflash_div" protect="rw">
  13770. <bits access="rw" name="cfg_pll_spiflash_div" pos="3:0" rst="0x0">
  13771. </bits>
  13772. <bits access="rw" name="cfg_pll_spiflash_div_update" pos="4" rst="0">
  13773. </bits>
  13774. </reg>
  13775. <reg name="cfg_pll_spiflash1_div" protect="rw">
  13776. <bits access="rw" name="cfg_pll_spiflash1_div" pos="3:0" rst="0x0">
  13777. </bits>
  13778. <bits access="rw" name="cfg_pll_spiflash1_div_update" pos="4" rst="0">
  13779. </bits>
  13780. </reg>
  13781. <reg name="cfg_pll_mem_bridge_div" protect="rw">
  13782. <bits access="rw" name="cfg_mem_bridge_div" pos="3:0" rst="0x0">
  13783. </bits>
  13784. <bits access="rw" name="cfg_pll_mem_bridge_div_update" pos="4" rst="0">
  13785. </bits>
  13786. </reg>
  13787. <reg name="cfg_dbg_clk_source_sel" protect="rw">
  13788. <bits access="rw" name="cfg_dbg_clk_source_sel" pos="5:0" rst="0x0">
  13789. </bits>
  13790. </reg>
  13791. <reg name="cfg_clk_494m_lte_div" protect="rw">
  13792. <bits access="rw" name="cfg_clk_494m_lte_apll_div" pos="3:0" rst="0x0">
  13793. </bits>
  13794. <bits access="rw" name="cfg_clk_494m_lte_apll_div_update" pos="4" rst="0">
  13795. </bits>
  13796. <bits access="rw" name="cfg_clksw_494m_lte_usbphy_sel" pos="5" rst="0">
  13797. </bits>
  13798. <bits access="rw" name="cfg_clksw_494m_clk_sel" pos="6" rst="0">
  13799. </bits>
  13800. <bits access="rw" name="cfg_clk_96m_26m_sel" pos="7" rst="0x0">
  13801. </bits>
  13802. <bits access="rw" name="cfg_clk_96m_div" pos="30:8" rst="0x001401">
  13803. <comment>
  13804. The generated clock frequency is equal to the selected source frequency divided by this value .
  13805. <br/>
  13806. The generated clock must be 4 or 16 times the expected baud rate depending on the Uart settings (see Uart section for details).
  13807. <br/>
  13808. [17:8] numerator 'b0000000001
  13809. <br/>
  13810. [30:18] denominator 'b0000000000101
  13811. </comment>
  13812. </bits>
  13813. <bits access="rw" name="cfg_clk_96m_div_update" pos="31" rst="0x0">
  13814. </bits>
  13815. </reg>
  13816. <reg name="cfg_pll_isp_div" protect="rw">
  13817. <bits access="rw" name="cfg_pll_isp_div" pos="11:0" rst="0x0">
  13818. </bits>
  13819. <bits access="rw" name="cfg_pll_isp_div_update" pos="12" rst="0">
  13820. </bits>
  13821. </reg>
  13822. <reg name="cfg_pll_pix_div" protect="rw">
  13823. <bits access="rw" name="cfg_pll_pix_div" pos="6:0" rst="0x0">
  13824. </bits>
  13825. <bits access="rw" name="cfg_pll_pix_div_update" pos="7" rst="0">
  13826. </bits>
  13827. </reg>
  13828. <reg name="cfg_pll_sys_axi_div" protect="rw">
  13829. <bits access="rw" name="cfg_pll_sys_axi_div" pos="3:0" rst="0x0">
  13830. </bits>
  13831. <bits access="rw" name="cfg_pll_sys_axi_div_update" pos="4" rst="0">
  13832. </bits>
  13833. </reg>
  13834. <reg name="cfg_pll_sys_ahb_apb_div" protect="rw">
  13835. <bits access="rw" name="cfg_pll_ap_apb_div" pos="3:0" rst="0x0">
  13836. </bits>
  13837. <bits access="rw" name="cfg_pll_ap_apb_div_update" pos="4" rst="0">
  13838. </bits>
  13839. </reg>
  13840. <reg name="cfg_pll_sys_ahb_btfm_div" protect="rw">
  13841. <bits access="rw" name="cfg_pll_ahb_btfm_div" pos="3:0" rst="0x0">
  13842. </bits>
  13843. <bits access="rw" name="cfg_pll_ahb_btfm_div_update" pos="4" rst="0">
  13844. </bits>
  13845. </reg>
  13846. <reg name="cfg_pll_csi_div" protect="rw">
  13847. <bits access="rw" name="cfg_pll_csi_div" pos="6:0" rst="0x0">
  13848. </bits>
  13849. <bits access="rw" name="cfg_pll_csi_div_update" pos="7" rst="0">
  13850. </bits>
  13851. </reg>
  13852. <reg name="cfg_pll_sys_spiflash_div" protect="rw">
  13853. <bits access="rw" name="cfg_pll_sys_spiflash_div" pos="3:0" rst="0x0">
  13854. </bits>
  13855. <bits access="rw" name="cfg_pll_sys_spiflash_div_update" pos="4" rst="0">
  13856. </bits>
  13857. </reg>
  13858. <reg name="cfg_pll_cp_div" protect="rw">
  13859. <bits access="rw" name="cfg_pll_cp_div" pos="3:0" rst="0x0">
  13860. </bits>
  13861. <bits access="rw" name="cfg_pll_cp_div_update" pos="4" rst="0">
  13862. </bits>
  13863. </reg>
  13864. <reg name="cfg_pll_ap_cpu_div" protect="rw">
  13865. <bits access="rw" name="cfg_pll_ap_cpu_div" pos="3:0" rst="0x0">
  13866. </bits>
  13867. <bits access="rw" name="cfg_pll_ap_cpu_div_update" pos="4" rst="0">
  13868. </bits>
  13869. </reg>
  13870. <reg name="cfg_ap_cpu_aclken_div" protect="rw">
  13871. <bits access="rw" name="cfg_ap_cpu_aclken_div" pos="2:0" rst="0x7">
  13872. </bits>
  13873. <bits access="rw" name="cfg_ap_cpu_aclken_div_update" pos="3" rst="0">
  13874. </bits>
  13875. </reg>
  13876. <reg name="cfg_ap_cpu_dbgen_div" protect="rw">
  13877. <bits access="rw" name="cfg_ap_cpu_dbgen_div" pos="2:0" rst="0x0">
  13878. </bits>
  13879. <bits access="rw" name="cfg_ap_cpu_dbgen_div_update" pos="3" rst="0">
  13880. </bits>
  13881. </reg>
  13882. <reg name="cfg_pll_cp_cpu_div" protect="rw">
  13883. <bits access="rw" name="cfg_pll_cp_cpu_div" pos="3:0" rst="0x0">
  13884. </bits>
  13885. <bits access="rw" name="cfg_pll_cp_cpu_div_update" pos="4" rst="0">
  13886. </bits>
  13887. </reg>
  13888. <reg name="cfg_cp_cpu_aclken_div" protect="rw">
  13889. <bits access="rw" name="cfg_cp_cpu_aclken_div" pos="2:0" rst="0x7">
  13890. </bits>
  13891. <bits access="rw" name="cfg_cp_cpu_aclken_div_update" pos="3" rst="0">
  13892. </bits>
  13893. </reg>
  13894. <reg name="cfg_cp_cpu_dbgen_div" protect="rw">
  13895. <bits access="rw" name="cfg_cp_cpu_dbgen_div" pos="2:0" rst="0x0">
  13896. </bits>
  13897. <bits access="rw" name="cfg_cp_cpu_dbgen_div_update" pos="3" rst="0">
  13898. </bits>
  13899. </reg>
  13900. <reg name="cfg_trng_clken_div" protect="rw">
  13901. <bits access="rw" name="cfg_trng_clken_div" pos="4:0" rst="0x0">
  13902. </bits>
  13903. <bits access="rw" name="cfg_trng_clken_div_update" pos="5" rst="0">
  13904. </bits>
  13905. </reg>
  13906. <reg name="cfg_coresight_div" protect="rw">
  13907. <bits access="rw" name="cfg_coresight_div" pos="3:0" rst="0x0">
  13908. </bits>
  13909. <bits access="rw" name="cfg_coresight_div_update" pos="4" rst="0">
  13910. </bits>
  13911. </reg>
  13912. <reg name="cfg_usb11_48m_div" protect="rw">
  13913. <bits access="rw" name="cfg_usb11_48m_div" pos="4:0" rst="0x0">
  13914. </bits>
  13915. <bits access="rw" name="cfg_usb11_48m_div_update" pos="5" rst="0">
  13916. </bits>
  13917. </reg>
  13918. <reg name="cfg_pll_usb" protect="rw">
  13919. <bits access="rw" name="cfg_pll_usb_reset" pos="0" rst="0">
  13920. </bits>
  13921. <bits access="rw" name="cfg_pll_usb_rev" pos="1" rst="0">
  13922. </bits>
  13923. </reg>
  13924. <reg name="cfg_vad_div" protect="rw">
  13925. <bits access="rw" name="cfg_vad_div" pos="3:0" rst="0x0">
  13926. </bits>
  13927. <bits access="rw" name="cfg_vad_div_update" pos="4" rst="0">
  13928. </bits>
  13929. </reg>
  13930. <reg name="cfg_hmprot" protect="rw">
  13931. <comment>This register is ahb master protect cfg.</comment>
  13932. <bits access="rw" name="hprot_bbdma" pos="3:0" rst="0x3">
  13933. </bits>
  13934. <bits access="rw" name="hprot_aif_ifc" pos="7:4" rst="0x3">
  13935. </bits>
  13936. <bits access="rw" name="hprot_gouda" pos="11:8" rst="0x3">
  13937. </bits>
  13938. <bits access="rw" name="hprot_ap_ifc" pos="15:12" rst="0x3">
  13939. </bits>
  13940. <bits access="rw" name="hprot_usb" pos="19:16" rst="0x3">
  13941. </bits>
  13942. <bits access="rw" name="hprot_sys_aon_ifc" pos="23:20" rst="0x3">
  13943. </bits>
  13944. <bits access="rw" name="hsprot_psram_ctrl" pos="27:24" rst="0x3">
  13945. </bits>
  13946. </reg>
  13947. <reg name="cfg_mem_cq" protect="rw">
  13948. <comment>This register is cq memory cfg.</comment>
  13949. <bits access="rw" name="mem_ema_cq" pos="31:0" rst="0x08421084">
  13950. </bits>
  13951. </reg>
  13952. <reg name="cfg_arm_sys_cfg_mem" protect="rw">
  13953. <comment>This register is a5_top_wrap/axidma/cp_a5_top/f8/gea3_wrap/lzma/sys_imem mem cfg.</comment>
  13954. <bits access="rw" name="arm_sys_cfg_mem" pos="31:0" rst="0x00020202">
  13955. </bits>
  13956. </reg>
  13957. <reg name="cfg_audio_cfg_mem" protect="rw">
  13958. <comment>This register is audio mem cfg.</comment>
  13959. <bits access="rw" name="audio_cfg_mem" pos="31:0" rst="0x00020202">
  13960. </bits>
  13961. </reg>
  13962. <reg name="cfg_lcd_cfg_mem" protect="rw">
  13963. <comment>This register is lcd/gouda mem cfg.</comment>
  13964. <bits access="rw" name="lcd_cfg_mem" pos="31:0" rst="0x00020202">
  13965. </bits>
  13966. </reg>
  13967. <reg name="cfg_cam_cfg_mem" protect="rw">
  13968. <comment>This register is camera mem cfg.</comment>
  13969. <bits access="rw" name="cam_cfg_mem" pos="31:0" rst="0x00020202">
  13970. </bits>
  13971. </reg>
  13972. <reg name="cfg_peri_cfg_mem" protect="rw">
  13973. <comment>This register is peri(sdmmc/uart/usbc etc.) mem cfg.</comment>
  13974. <bits access="rw" name="peri_cfg_mem" pos="31:0" rst="0x00020202">
  13975. </bits>
  13976. </reg>
  13977. <reg name="cfg_aon_sys_cfg_mem" protect="rw">
  13978. <comment>This register is aon sys mem cfg.</comment>
  13979. <bits access="rw" name="aon_sys_cfg_mem" pos="31:0" rst="0x00020202">
  13980. </bits>
  13981. </reg>
  13982. <reg name="cfg_rf_sys_cfg_mem" protect="rw">
  13983. <comment>This register is rf sys mem cfg.</comment>
  13984. <bits access="rw" name="rf_sys_cfg_mem" pos="31:0" rst="0x00020202">
  13985. </bits>
  13986. </reg>
  13987. <reg name="cfg_coresight_cfg_mem" protect="rw">
  13988. <comment>This register is coresight mem cfg.</comment>
  13989. <bits access="rw" name="coresight_cfg_mem" pos="31:0" rst="0x00020202">
  13990. </bits>
  13991. </reg>
  13992. <reg name="cfg_vad_cfg_mem" protect="rw">
  13993. <comment>This register is vad mem cfg.</comment>
  13994. <bits access="rw" name="vad_cfg_mem" pos="31:0" rst="0x00020202">
  13995. </bits>
  13996. </reg>
  13997. <reg name="cfg_aif_cfg" protect="rw">
  13998. <comment>This register is for audio i2s mux ,aif load_position etc. config.</comment>
  13999. <bits access="rw" name="aif1_load_pos" pos="5:0" rst="0x0">
  14000. </bits>
  14001. <bits access="rw" name="aif2_load_pos" pos="11:6" rst="0x0">
  14002. </bits>
  14003. <bits access="rw" name="aif1_sel" pos="14:12" rst="0x7">
  14004. <comment>
  14005. <br/>
  14006. 000 = aif1 out mux to aif1
  14007. <br/>
  14008. 001 = aif2 out mux to aif1
  14009. <br/>
  14010. 010 = i2s1 out mux to aif1
  14011. <br/>
  14012. 011 = i2s2 out mux to aif1
  14013. <br/>
  14014. 100 = i2s3 out mux to aif1
  14015. <br/>
  14016. 101 = zero out mux to aif1
  14017. </comment>
  14018. </bits>
  14019. <bits access="rw" name="aif2_sel" pos="17:15" rst="0x7">
  14020. <comment>
  14021. <br/>
  14022. 000 = aif1 out mux to aif2
  14023. <br/>
  14024. 001 = aif2 out mux to aif2
  14025. <br/>
  14026. 010 = i2s1 out mux to aif2
  14027. <br/>
  14028. 011 = i2s2 out mux to aif2
  14029. <br/>
  14030. 100 = i2s3 out mux to aif2
  14031. <br/>
  14032. 101 = zero out mux to aif2
  14033. </comment>
  14034. </bits>
  14035. <bits access="rw" name="i2s1_sel" pos="20:18" rst="0x7">
  14036. <comment>
  14037. <br/>
  14038. 000 = aif1 out mux to i2s1
  14039. <br/>
  14040. 001 = aif2 out mux to i2s1
  14041. <br/>
  14042. 010 = i2s1 out mux to i2s1
  14043. <br/>
  14044. 011 = i2s2 out mux to i2s1
  14045. <br/>
  14046. 100 = i2s3 out mux to i2s1
  14047. <br/>
  14048. 101 = zero out mux to i2s1
  14049. </comment>
  14050. </bits>
  14051. <bits access="rw" name="i2s2_sel" pos="23:21" rst="0x7">
  14052. <comment>
  14053. <br/>
  14054. 000 = aif1 out mux to i2s2
  14055. <br/>
  14056. 001 = aif2 out mux to i2s2
  14057. <br/>
  14058. 010 = i2s1 out mux to i2s2
  14059. <br/>
  14060. 011 = i2s2 out mux to i2s2
  14061. <br/>
  14062. 100 = i2s3 out mux to i2s2
  14063. <br/>
  14064. 101 = zero out mux to i2s2
  14065. </comment>
  14066. </bits>
  14067. <bits access="rw" name="i2s3_sel" pos="26:24" rst="0x7">
  14068. <comment>
  14069. <br/>
  14070. 000 = aif1 out mux to i2s3
  14071. <br/>
  14072. 001 = aif2 out mux to i2s3
  14073. <br/>
  14074. 010 = i2s1 out mux to i2s3
  14075. <br/>
  14076. 011 = i2s2 out mux to i2s3
  14077. <br/>
  14078. 100 = i2s3 out mux to i2s3
  14079. <br/>
  14080. 101 = zero out mux to i2s3
  14081. </comment>
  14082. </bits>
  14083. <bits access="rw" name="i2s1_bck_lrck_oen" pos="27" rst="0x0">
  14084. <comment>
  14085. <br/>
  14086. 0 = i2s1 bck,lrck output enable
  14087. <br/>
  14088. 1 = i2s1 bck,lrck output disable
  14089. </comment>
  14090. </bits>
  14091. <bits access="rw" name="i2s2_bck_lrck_oen" pos="28" rst="0x0">
  14092. <comment>
  14093. <br/>
  14094. 0 = i2s2 bck,lrck output enable
  14095. <br/>
  14096. 1 = i2s2 bck,lrck output disable
  14097. </comment>
  14098. </bits>
  14099. <bits access="rw" name="i2s3_bck_lrck_oen" pos="29" rst="0x0">
  14100. <comment>
  14101. <br/>
  14102. 0 = i2s3 bck,lrck output enable
  14103. <br/>
  14104. 1 = i2s3 bck,lrck output disable
  14105. </comment>
  14106. </bits>
  14107. </reg>
  14108. <reg name="cfg_misc_cfg" protect="rw">
  14109. <comment>This register is limit_en_spi,,clk_freq cfg.</comment>
  14110. <bits access="rw" name="limit_en_spi1" pos="0" rst="0x0">
  14111. </bits>
  14112. <bits access="rw" name="limit_en_spi2" pos="1" rst="0x0">
  14113. </bits>
  14114. <bits access="rw" name="limit_en_spi3" pos="2" rst="0x0">
  14115. </bits>
  14116. <bits access="rw" name="cfgsdisable_gic400" pos="3" rst="0x0">
  14117. </bits>
  14118. <bits access="rw" name="aif1_i2s_bck_sel" pos="6:4" rst="0x0">
  14119. </bits>
  14120. <bits access="rw" name="aif2_i2s_bck_sel" pos="10:8" rst="0x1">
  14121. </bits>
  14122. <bits access="rw" name="wcn_uart_out_sel" pos="11" rst="0x0">
  14123. <comment>
  14124. <br/>
  14125. 0 = wcn uart and ap uart(with wcn communication) connect
  14126. <br/>
  14127. 1 = wcn uart output by iomux
  14128. </comment>
  14129. </bits>
  14130. <bits access="rw" name="ap_uart_out_sel" pos="12" rst="0x0">
  14131. <comment>
  14132. <br/>
  14133. 0 = ap uart(with wcn communication) and wcn uart connect
  14134. <br/>
  14135. 1 = ap uart(with wcn communication) output by iomux
  14136. </comment>
  14137. </bits>
  14138. <bits access="rw" name="cfg_mode_lp" pos="13" rst="0x1">
  14139. </bits>
  14140. <bits access="rw" name="cfg_force_lp" pos="14" rst="0x0">
  14141. </bits>
  14142. <bits access="rw" name="cfg_number_lp" pos="30:15" rst="0x8">
  14143. </bits>
  14144. <bits access="r" name="bcpu_stall_ack" pos="31" rst="0x0">
  14145. </bits>
  14146. </reg>
  14147. <reg name="cfg_misc1_cfg" protect="rw">
  14148. <comment>This register is misc cfg.</comment>
  14149. <bits access="rw" name="debug_mon_sel" pos="4:0" rst="0x0">
  14150. </bits>
  14151. <bits access="rw" name="iomux_clk_force_on" pos="5" rst="0x0">
  14152. </bits>
  14153. <bits access="rw" name="ap_rst_ctrl" pos="6" rst="0x1">
  14154. <comment>
  14155. <br/>
  14156. 0 = disable pwr_ctrl for ap reset
  14157. <br/>
  14158. 1 = enable pwr_ctrl for ap reset
  14159. </comment>
  14160. </bits>
  14161. <bits access="rw" name="gge_rst_ctrl" pos="7" rst="0x1">
  14162. <comment>
  14163. <br/>
  14164. 0 = disable pwr_ctrl for gge reset
  14165. <br/>
  14166. 1 = enable pwr_ctrl for gge reset
  14167. </comment>
  14168. </bits>
  14169. <bits access="rw" name="btfm_rst_ctrl" pos="8" rst="0x1">
  14170. <comment>
  14171. <br/>
  14172. 0 = disable pwr_ctrl for btfm reset
  14173. <br/>
  14174. 1 = enable pwr_ctrl for btfm reset
  14175. </comment>
  14176. </bits>
  14177. <bits access="rw" name="ap_clk_ctrl" pos="9" rst="0x1">
  14178. <comment>
  14179. <br/>
  14180. 0 = disable pwr_ctrl for ap clock
  14181. <br/>
  14182. 1 = enable pwr_ctrl for ap clock
  14183. </comment>
  14184. </bits>
  14185. <bits access="rw" name="gge_clk_ctrl" pos="10" rst="0x1">
  14186. <comment>
  14187. <br/>
  14188. 0 = disable pwr_ctrl for gge clock
  14189. <br/>
  14190. 1 = enable pwr_ctrl for gge clock
  14191. </comment>
  14192. </bits>
  14193. <bits access="rw" name="btfm_clk_ctrl" pos="11" rst="0x1">
  14194. <comment>
  14195. <br/>
  14196. 0 = disable pwr_ctrl for btfm clock
  14197. <br/>
  14198. 1 = enable pwr_ctrl for btfm clock
  14199. </comment>
  14200. </bits>
  14201. <bits access="rw" name="bbpll1_enable" pos="12" rst="0x0">
  14202. <comment>
  14203. <br/>
  14204. 0 = disable bbpll1 output
  14205. <br/>
  14206. 1 = enable bbpll1 output
  14207. </comment>
  14208. </bits>
  14209. <bits access="rw" name="bbpll2_enable" pos="13" rst="0x0">
  14210. <comment>
  14211. <br/>
  14212. 0 = disable bbpll2 output
  14213. <br/>
  14214. 1 = enable bbpll2 output
  14215. </comment>
  14216. </bits>
  14217. <bits access="rw" name="mempll_enable" pos="14" rst="0x0">
  14218. <comment>
  14219. <br/>
  14220. 0 = disable mempll output
  14221. <br/>
  14222. 1 = enable mempll output
  14223. </comment>
  14224. </bits>
  14225. <bits access="rw" name="usbpll_enable" pos="15" rst="0x0">
  14226. <comment>
  14227. <br/>
  14228. 0 = disable usbpll output
  14229. <br/>
  14230. 1 = enable usbpll output
  14231. </comment>
  14232. </bits>
  14233. <bits access="rw" name="audiopll_enable" pos="16" rst="0x0">
  14234. <comment>
  14235. <br/>
  14236. 0 = disable audiopll output
  14237. <br/>
  14238. 1 = enable audiopll output
  14239. </comment>
  14240. </bits>
  14241. <bits access="rw" name="apll_zsp_clk_sel" pos="17" rst="0x0">
  14242. <comment>
  14243. <br/>
  14244. 0 = select clk_494m clock
  14245. <br/>
  14246. 1 = select from apll clock
  14247. </comment>
  14248. </bits>
  14249. <bits access="rw" name="apll_bbpll2_clk_sel" pos="18" rst="0x0">
  14250. <comment>
  14251. <br/>
  14252. 0 = select i_apll_in clock
  14253. <br/>
  14254. 1 = select clk_494m clock
  14255. </comment>
  14256. </bits>
  14257. <bits access="rw" name="reg_gic400_aruser_sel" pos="19" rst="0x0">
  14258. <comment>gic400 axi aruser sel</comment>
  14259. </bits>
  14260. <bits access="rw" name="reg_gic400_aruser_dbg" pos="20" rst="0x0">
  14261. <comment>gic400 axi aruser dbg</comment>
  14262. </bits>
  14263. <bits access="rw" name="reg_gic400_awuser_sel" pos="21" rst="0x0">
  14264. <comment>gic400 axi awuser sel</comment>
  14265. </bits>
  14266. <bits access="rw" name="reg_gic400_awuser_dbg" pos="22" rst="0x0">
  14267. <comment>gic400 axi awuser dbg</comment>
  14268. </bits>
  14269. <bits access="rw" name="lvds_wcn_rfdig_sel" pos="23" rst="0x0">
  14270. <comment>
  14271. <br/>
  14272. 0 = select rfdig lvds
  14273. <br/>
  14274. 1 = select wcn lvds
  14275. </comment>
  14276. </bits>
  14277. <bits access="rw" name="lvds_rfdig_rf_bb_sel" pos="24" rst="0x0">
  14278. <comment>
  14279. <br/>
  14280. 0 = select rfdig from rf lvds
  14281. <br/>
  14282. 1 = select rfdig from bb lvds
  14283. </comment>
  14284. </bits>
  14285. <bits access="rw" name="wcn_osc_en_ctrl" pos="25" rst="0x1">
  14286. <comment>
  14287. <br/>
  14288. 0 = disable wcn_hclk and wcn_clk_26m wcn_osc_en control
  14289. <br/>
  14290. 1 = enable wcn_hclk and wcn_clk_26m wcn_osc_en control
  14291. </comment>
  14292. </bits>
  14293. <bits access="rw" name="vad_clk_force_on" pos="26" rst="0x0">
  14294. <comment>
  14295. <br/>
  14296. 0 = force clock on disable
  14297. <br/>
  14298. 1 = force clock on enable
  14299. </comment>
  14300. </bits>
  14301. <bits access="rw" name="vad_clk_pn_sel" pos="27" rst="0x0">
  14302. <comment>
  14303. <br/>
  14304. 0 = select vad clock(default)
  14305. <br/>
  14306. 1 = select vad inv clock
  14307. </comment>
  14308. </bits>
  14309. <bits access="rw" name="aud_sclk_o_pn_sel" pos="28" rst="0x0">
  14310. <comment>
  14311. <br/>
  14312. 0 = select aud_sclk(default)
  14313. <br/>
  14314. 1 = select aud_sclk inv clock
  14315. </comment>
  14316. </bits>
  14317. <bits access="rw" name="aon_lp_rst_ctrl" pos="29" rst="0x1">
  14318. <comment>
  14319. <br/>
  14320. 0 = disable pwr_ctrl for aon_lp reset
  14321. <br/>
  14322. 1 = enable pwr_ctrl for aon_lp reset
  14323. </comment>
  14324. </bits>
  14325. <bits access="rw" name="aon_lp_clk_ctrl" pos="30" rst="0x1">
  14326. <comment>
  14327. <br/>
  14328. 0 = disable pwr_ctrl for aon_lp clock
  14329. <br/>
  14330. 1 = enable pwr_ctrl for aon_lp clock
  14331. </comment>
  14332. </bits>
  14333. <bits access="rw" name="dump_path" pos="31" rst="0x0">
  14334. <comment>
  14335. <br/>
  14336. 0 = disable aon rf async bridge dump data to fifo
  14337. <br/>
  14338. 1 = enable aon rf async bridge dump data to fifo for bus access efficiency
  14339. </comment>
  14340. </bits>
  14341. </reg>
  14342. <reg name="cfg_force_lp_mode_lp" protect="rw">
  14343. <comment>This register set lp related config.</comment>
  14344. <bits access="rw" name="cfg_force_lp_a5" pos="0" rst="0x0">
  14345. </bits>
  14346. <bits access="rw" name="cfg_force_lp_ahb" pos="1" rst="0x0">
  14347. </bits>
  14348. <bits access="rw" name="cfg_force_lp_connect" pos="2" rst="0x0">
  14349. </bits>
  14350. <bits access="rw" name="cfg_force_lp_cp_a5" pos="3" rst="0x0">
  14351. </bits>
  14352. <bits access="rw" name="cfg_force_lp_psram" pos="4" rst="0x0">
  14353. </bits>
  14354. <bits access="rw" name="cfg_force_lp_spiflash" pos="5" rst="0x0">
  14355. </bits>
  14356. <bits access="rw" name="cfg_force_lp_spiflash1" pos="6" rst="0x0">
  14357. </bits>
  14358. <bits access="rw" name="cfg_mode_lp_a5" pos="7" rst="0x0">
  14359. </bits>
  14360. <bits access="rw" name="cfg_mode_lp_ahb" pos="8" rst="0x0">
  14361. </bits>
  14362. <bits access="rw" name="cfg_mode_lp_connect" pos="9" rst="0x0">
  14363. </bits>
  14364. <bits access="rw" name="cfg_mode_lp_cp_a5" pos="10" rst="0x0">
  14365. </bits>
  14366. <bits access="rw" name="cfg_mode_lp_psram" pos="11" rst="0x0">
  14367. </bits>
  14368. <bits access="rw" name="cfg_mode_lp_spiflash" pos="12" rst="0x0">
  14369. </bits>
  14370. <bits access="rw" name="cfg_mode_lp_spiflash1" pos="13" rst="0x0">
  14371. </bits>
  14372. <bits access="rw" name="cfg_mode_lp_ahb_merge" pos="14" rst="0x0">
  14373. </bits>
  14374. <bits access="rw" name="force_lp_ahb_merge" pos="15" rst="0x0">
  14375. </bits>
  14376. </reg>
  14377. <hole size="128"/>
  14378. <reg name="cfg_reserve" protect="rw">
  14379. <comment>This register is reserved.</comment>
  14380. <bits access="rw" name="wd_rst_mode" pos="0" rst="0x1">
  14381. </bits>
  14382. <bits access="rw" name="sys_bb_side" pos="1" rst="0x1">
  14383. </bits>
  14384. <bits access="rw" name="cam_out0_sel" pos="2" rst="0x0">
  14385. </bits>
  14386. <bits access="rw" name="vpu_clk_en" pos="3" rst="0x1">
  14387. </bits>
  14388. <bits access="rw" name="wd_1_rst_en" pos="4" rst="0x1">
  14389. </bits>
  14390. <bits access="rw" name="wd_2_rst_en" pos="5" rst="0x1">
  14391. </bits>
  14392. <bits access="rw" name="wd_3_rst_en" pos="6" rst="0x1">
  14393. </bits>
  14394. <bits access="rw" name="wd_4_rst_en" pos="7" rst="0x1">
  14395. </bits>
  14396. <bits access="rw" name="wd_rf_rst_en" pos="8" rst="0x1">
  14397. </bits>
  14398. <bits access="rw" name="wd_gge_rst_en" pos="9" rst="0x1">
  14399. </bits>
  14400. <bits access="rw" name="wd_zsp_rst_en" pos="10" rst="0x1">
  14401. </bits>
  14402. <bits access="rw" name="wd_cp_rst_en" pos="11" rst="0x1">
  14403. </bits>
  14404. <bits access="rw" name="dmc_phy_rst_en" pos="12" rst="0x1">
  14405. </bits>
  14406. <bits access="rw" name="hmprot_wcn_peri" pos="16:13" rst="0x3">
  14407. <comment>For WCN Ahb Bus peri prot.</comment>
  14408. </bits>
  14409. <bits access="rw" name="hmprot_wcn_mem" pos="20:17" rst="0x3">
  14410. <comment>For WCN Ahb Bus mem prot.</comment>
  14411. </bits>
  14412. <bits access="rw" name="hmprot_aes" pos="24:21" rst="0x3">
  14413. <comment>aes ahb bus prot.</comment>
  14414. </bits>
  14415. <bits access="rw" name="reserve" pos="31:25" rst="0x0">
  14416. <comment>This register is reserved.</comment>
  14417. </bits>
  14418. </reg>
  14419. <reg name="cfg_reserve1" protect="rw">
  14420. <comment>This register is reserved.</comment>
  14421. <bits access="rw" name="reserve1" pos="31:0" rst="0x0">
  14422. <comment>This register is reserved.</comment>
  14423. </bits>
  14424. </reg>
  14425. <reg name="cfg_reserve2" protect="rw">
  14426. <comment>This register is reserved.</comment>
  14427. <bits access="rw" name="reserve2" pos="31:0" rst="0x0">
  14428. <comment>This register is reserved.</comment>
  14429. </bits>
  14430. </reg>
  14431. <reg name="cfg_reserve3" protect="rw">
  14432. <comment>This register is reserved.</comment>
  14433. <bits access="rw" name="reserve3" pos="31:0" rst="0x0">
  14434. <comment>This register is reserved.</comment>
  14435. </bits>
  14436. </reg>
  14437. <reg name="cfg_reserve4" protect="rw">
  14438. <comment>This register is reserved.</comment>
  14439. <bits access="rw" name="reserve4" pos="31:0" rst="0x0">
  14440. <comment>This register is reserved.</comment>
  14441. </bits>
  14442. </reg>
  14443. <reg name="cfg_reserve5" protect="rw">
  14444. <comment>This register is reserved.</comment>
  14445. <bits access="rw" name="reserve5" pos="31:0" rst="0x0">
  14446. <comment>This register is reserved.</comment>
  14447. </bits>
  14448. </reg>
  14449. <reg name="cfg_reserve6" protect="rw">
  14450. <comment>This register is reserved.</comment>
  14451. <bits access="rw" name="reserve6" pos="31:0" rst="0x0">
  14452. <comment>This register is reserved.</comment>
  14453. </bits>
  14454. </reg>
  14455. <reg name="cfg_reserve7" protect="rw">
  14456. <comment>This register is reserved.</comment>
  14457. <bits access="rw" name="reserve7" pos="31:0" rst="0x0">
  14458. <comment>This register is reserved.</comment>
  14459. </bits>
  14460. </reg>
  14461. <reg name="cfg_reserve8" protect="rw">
  14462. <comment>This register is reserved.</comment>
  14463. <bits access="rw" name="reserve8" pos="31:0" rst="0x0">
  14464. <comment>This register is reserved.</comment>
  14465. </bits>
  14466. </reg>
  14467. <reg name="cfg_reserve9" protect="rw">
  14468. <comment>This register is reserved.</comment>
  14469. <bits access="rw" name="reserve9" pos="31:0" rst="0x0">
  14470. <comment>This register is reserved.</comment>
  14471. </bits>
  14472. </reg>
  14473. <reg name="cfg_reserve10" protect="rw">
  14474. <comment>This register is reserved.</comment>
  14475. <bits access="rw" name="reserve10" pos="31:0" rst="0x0">
  14476. <comment>This register is reserved.</comment>
  14477. </bits>
  14478. </reg>
  14479. <reg name="cfg_reserve11" protect="rw">
  14480. <comment>This register is reserved.</comment>
  14481. <bits access="rw" name="reserve11" pos="31:0" rst="0x0">
  14482. <comment>This register is reserved.</comment>
  14483. </bits>
  14484. </reg>
  14485. <reg name="cfg_reserve12" protect="rw">
  14486. <comment>This register is reserved.</comment>
  14487. <bits access="rw" name="reserve12" pos="31:0" rst="0x0">
  14488. <comment>This register is reserved.</comment>
  14489. </bits>
  14490. </reg>
  14491. <reg name="cfg_reserve13" protect="rw">
  14492. <comment>This register is reserved.</comment>
  14493. <bits access="rw" name="reserve13" pos="31:0" rst="0x0">
  14494. <comment>This register is reserved.</comment>
  14495. </bits>
  14496. </reg>
  14497. <reg name="cfg_reserve14" protect="rw">
  14498. <comment>This register is reserved.</comment>
  14499. <bits access="rw" name="reserve14" pos="31:0" rst="0x0">
  14500. <comment>This register is reserved.</comment>
  14501. </bits>
  14502. </reg>
  14503. <reg name="cfg_reserve15" protect="rw">
  14504. <comment>This register is reserved.</comment>
  14505. <bits access="rw" name="reserve15" pos="31:0" rst="0x0">
  14506. <comment>This register is reserved.</comment>
  14507. </bits>
  14508. </reg>
  14509. <reg name="cfg_reserve16" protect="rw">
  14510. <comment>This register is reserved.</comment>
  14511. <bits access="rw" name="reserve16" pos="31:0" rst="0x0">
  14512. <comment>This register is reserved.</comment>
  14513. </bits>
  14514. </reg>
  14515. <reg name="cfg_reserve1_in" protect="r">
  14516. <comment>This register is reserved.</comment>
  14517. <bits access="r" name="reserve1_in" pos="31:0" rst="0x0">
  14518. <comment>This register is reserved.</comment>
  14519. </bits>
  14520. </reg>
  14521. <reg name="cfg_reserve2_in" protect="r">
  14522. <comment>This register is reserved.</comment>
  14523. <bits access="r" name="reserve2_in" pos="31:0" rst="0x0">
  14524. <comment>This register is reserved.</comment>
  14525. </bits>
  14526. </reg>
  14527. <reg name="cfg_reserve3_in" protect="r">
  14528. <comment>This register is reserved.</comment>
  14529. <bits access="r" name="reserve3_in" pos="31:0" rst="0x0">
  14530. <comment>This register is reserved.</comment>
  14531. </bits>
  14532. </reg>
  14533. <reg name="cfg_reserve4_in" protect="r">
  14534. <comment>This register is reserved.</comment>
  14535. <bits access="r" name="reserve4_in" pos="31:0" rst="0x0">
  14536. <comment>This register is reserved.</comment>
  14537. </bits>
  14538. </reg>
  14539. <reg name="cfg_reserve5_in" protect="r">
  14540. <comment>This register is reserved.</comment>
  14541. <bits access="r" name="reserve5_in" pos="31:0" rst="0x0">
  14542. <comment>This register is reserved.</comment>
  14543. </bits>
  14544. </reg>
  14545. <reg name="cfg_reserve6_in" protect="r">
  14546. <comment>This register is reserved.</comment>
  14547. <bits access="r" name="reserve6_in" pos="31:0" rst="0x0">
  14548. <comment>This register is reserved.</comment>
  14549. </bits>
  14550. </reg>
  14551. <reg name="cfg_reserve7_in" protect="r">
  14552. <comment>This register is reserved.</comment>
  14553. <bits access="r" name="reserve7_in" pos="31:0" rst="0x0">
  14554. <comment>This register is reserved.</comment>
  14555. </bits>
  14556. </reg>
  14557. <reg name="cfg_chip_prod_id" protect="r">
  14558. <comment>This register is for CHIP_ID(METAL_ID[11:0],BOND_ID[15:12]),PROD[31:16]</comment>
  14559. <bits access="r" name="metal_id" pos="11:0" rst="-">
  14560. <comment>
  14561. <br/>
  14562. [11:0] metal ID
  14563. </comment>
  14564. </bits>
  14565. <bits access="r" name="bond_id" pos="15:12" rst="-">
  14566. <comment>
  14567. <br/>
  14568. [15:12] bond ID, bit15: spi_flash_sel 0-&gt;1.8v pad sequence 1-&gt;3.3v pad sequence; bit14: boot
  14569. </comment>
  14570. </bits>
  14571. <bits access="r" name="prod_id" pos="31:16" rst="-">
  14572. <comment>
  14573. <br/>
  14574. [31:16] production ID
  14575. </comment>
  14576. </bits>
  14577. </reg>
  14578. <reg name="cfg_qos_wcn_a5_gge" protect="rw">
  14579. <comment>This register is for BUS QOS config.</comment>
  14580. <bits access="rw" name="wcn_mem_arqos" pos="4:0" rst="0x0">
  14581. <comment>
  14582. <br/>
  14583. [3:0] for wcn_mem_arqos
  14584. <br/>
  14585. [4] for wcn_mem_arqos sync
  14586. </comment>
  14587. </bits>
  14588. <bits access="rw" name="wcn_mem_awqos" pos="9:5" rst="0x0">
  14589. <comment>
  14590. <br/>
  14591. [8:5] for wcn_mem_awqos
  14592. <br/>
  14593. [9] for wcn_mem_awqos sync
  14594. </comment>
  14595. </bits>
  14596. <bits access="rw" name="gge_arqos" pos="14:10" rst="0x0">
  14597. <comment>
  14598. <br/>
  14599. [13:10] for gge_arqos
  14600. <br/>
  14601. [14] for gge_arqos sync
  14602. </comment>
  14603. </bits>
  14604. <bits access="rw" name="gge_awqos" pos="19:15" rst="0x0">
  14605. <comment>
  14606. <br/>
  14607. [18:15] for gge_awqos
  14608. <br/>
  14609. [19] for gge_awqos sync
  14610. </comment>
  14611. </bits>
  14612. <bits access="rw" name="a5_arqos" pos="24:20" rst="0x0">
  14613. <comment>
  14614. <br/>
  14615. [23:20] for a5_arqos
  14616. <br/>
  14617. [24] for a5_arqos sync
  14618. </comment>
  14619. </bits>
  14620. <bits access="rw" name="a5_awqos" pos="29:25" rst="0x0">
  14621. <comment>
  14622. <br/>
  14623. [28:25] for a5_awqos
  14624. <br/>
  14625. [29] for a5_awqos sync
  14626. </comment>
  14627. </bits>
  14628. </reg>
  14629. <reg name="cfg_qos_axidma_cpa5_f8" protect="rw">
  14630. <comment>This register is for BUS QOS config.</comment>
  14631. <bits access="rw" name="axidma_arqos" pos="4:0" rst="0x0">
  14632. <comment>
  14633. <br/>
  14634. [3:0] for axidma_arqos
  14635. <br/>
  14636. [4] for axidma_arqos sync
  14637. </comment>
  14638. </bits>
  14639. <bits access="rw" name="axidma_awqos" pos="9:5" rst="0x0">
  14640. <comment>
  14641. <br/>
  14642. [8:5] for axidma_awqos
  14643. <br/>
  14644. [9] for axidma_awqos sync
  14645. </comment>
  14646. </bits>
  14647. <bits access="rw" name="cp_a5_arqos" pos="14:10" rst="0x0">
  14648. <comment>
  14649. <br/>
  14650. [13:10] for cp_a5_arqos
  14651. <br/>
  14652. [14] for cp_a5_arqos sync
  14653. </comment>
  14654. </bits>
  14655. <bits access="rw" name="cp_a5_awqos" pos="19:15" rst="0x0">
  14656. <comment>
  14657. <br/>
  14658. [18:15] for cp_a5_awqos
  14659. <br/>
  14660. [19] for cp_a5_awqos sync
  14661. </comment>
  14662. </bits>
  14663. <bits access="rw" name="f8_arqos" pos="24:20" rst="0x0">
  14664. <comment>
  14665. <br/>
  14666. [23:20] for f8_arqos
  14667. <br/>
  14668. [24] for f8_arqos sync
  14669. </comment>
  14670. </bits>
  14671. <bits access="rw" name="f8_awqos" pos="29:25" rst="0x0">
  14672. <comment>
  14673. <br/>
  14674. [28:25] for f8_awqos
  14675. <br/>
  14676. [29] for f8_awqos sync
  14677. </comment>
  14678. </bits>
  14679. </reg>
  14680. <reg name="cfg_qos_lcdc_lzma_gouda" protect="rw">
  14681. <comment>This register is for BUS QOS config.</comment>
  14682. <bits access="rw" name="lcdc_arqos" pos="4:0" rst="0x0">
  14683. <comment>
  14684. <br/>
  14685. [3:0] for lcdc_arqos
  14686. <br/>
  14687. [4] for lcdc_arqos sync
  14688. </comment>
  14689. </bits>
  14690. <bits access="rw" name="lcdc_awqos" pos="9:5" rst="0x0">
  14691. <comment>
  14692. <br/>
  14693. [8:5] for lcdc_awqos
  14694. <br/>
  14695. [9] for lcdc_awqos sync
  14696. </comment>
  14697. </bits>
  14698. <bits access="rw" name="lzma_arqos" pos="14:10" rst="0x0">
  14699. <comment>
  14700. <br/>
  14701. [13:10] for lzma_arqos
  14702. <br/>
  14703. [14] for lzma_arqos sync
  14704. </comment>
  14705. </bits>
  14706. <bits access="rw" name="lzma_awqos" pos="19:15" rst="0x0">
  14707. <comment>
  14708. <br/>
  14709. [18:15] for lzma_awqos
  14710. <br/>
  14711. [19] for lzma_awqos sync
  14712. </comment>
  14713. </bits>
  14714. <bits access="rw" name="gouda_arqos" pos="24:20" rst="0x0">
  14715. <comment>
  14716. <br/>
  14717. [23:20] for gouda_arqos
  14718. <br/>
  14719. [24] for gouda_arqos sync
  14720. </comment>
  14721. </bits>
  14722. <bits access="rw" name="gouda_awqos" pos="29:25" rst="0x0">
  14723. <comment>
  14724. <br/>
  14725. [28:25] for gouda_awqos
  14726. <br/>
  14727. [29] for gouda_awqos sync
  14728. </comment>
  14729. </bits>
  14730. </reg>
  14731. <reg name="cfg_qos_lte_usb" protect="rw">
  14732. <comment>This register is for BUS QOS config.</comment>
  14733. <bits access="rw" name="lte_arqos" pos="4:0" rst="0x0">
  14734. <comment>
  14735. <br/>
  14736. [3:0] for lte_arqos
  14737. <br/>
  14738. [4] for lte_arqos sync
  14739. </comment>
  14740. </bits>
  14741. <bits access="rw" name="lte_awqos" pos="9:5" rst="0x0">
  14742. <comment>
  14743. <br/>
  14744. [8:5] for lte_awqos
  14745. <br/>
  14746. [9] for lte_awqos sync
  14747. </comment>
  14748. </bits>
  14749. <bits access="rw" name="usb_arqos" pos="14:10" rst="0x0">
  14750. <comment>
  14751. <br/>
  14752. [13:10] for usb_arqos
  14753. <br/>
  14754. [14] for usb_arqos sync
  14755. </comment>
  14756. </bits>
  14757. <bits access="rw" name="usb_awqos" pos="19:15" rst="0x0">
  14758. <comment>
  14759. <br/>
  14760. [18:15] for usb_awqos
  14761. <br/>
  14762. [19] for usb_awqos sync
  14763. </comment>
  14764. </bits>
  14765. </reg>
  14766. <reg name="cfg_qos_merge_mem" protect="rw">
  14767. <comment>This register is for merge mem awqos/arqos QOS config.</comment>
  14768. <bits access="rw" name="merge_mem_awqos" pos="4:0" rst="0x0">
  14769. <comment>
  14770. <br/>
  14771. [3:0] for merge_mem_awqos
  14772. <br/>
  14773. [4] for merge_mem_awqos sync
  14774. </comment>
  14775. </bits>
  14776. <bits access="rw" name="merge_mem_arqos" pos="9:5" rst="0x0">
  14777. <comment>
  14778. <br/>
  14779. [8:5] for merge_mem_arqos
  14780. <br/>
  14781. [9] for merge_mem_arqos sync
  14782. </comment>
  14783. </bits>
  14784. </reg>
  14785. <reg name="cfg_bcpu_dbg_bkp" protect="rw">
  14786. <comment>This register is for bcpu break point debug.</comment>
  14787. <bits access="rw" name="bcpu_bkpt_addr" pos="27:0" rst="0x0">
  14788. <comment>
  14789. <br/>
  14790. [27:0] for bcpu break point address.
  14791. </comment>
  14792. </bits>
  14793. <bits access="rw" name="bcpu_bkpt_mode" pos="29:28" rst="0x3">
  14794. <comment>
  14795. <br/>
  14796. [29:28] for bcpu break point mode.
  14797. </comment>
  14798. </bits>
  14799. <bits access="rw" name="bcpu_bkpt_en" pos="30" rst="0x0">
  14800. <comment>
  14801. <br/>
  14802. [30] for bcpu break point enable.
  14803. </comment>
  14804. </bits>
  14805. <bits access="rw" name="bcpu_stalled_w1c" pos="31" rst="0x0">
  14806. <comment>
  14807. <br/>
  14808. [31] for bcpu stalled write 1 clear.
  14809. </comment>
  14810. </bits>
  14811. </reg>
  14812. </module>
  14813. </archive>
  14814. <archive relative="iomux.xml">
  14815. <module category="System" name="IOMUX">
  14816. <reg name="pad_spi_flash_clk_cfg_reg" protect="rw">
  14817. <bits access="rw" name="pad_spi_flash_clk_oen_frc" pos="28" rst="0">
  14818. <comment>spi_flash_clk force enable for outoen.</comment>
  14819. </bits>
  14820. <bits access="rw" name="pad_spi_flash_clk_out_frc" pos="24" rst="0">
  14821. <comment>spi_flash_clk force output value for output.</comment>
  14822. </bits>
  14823. <bits access="rw" name="pad_spi_flash_clk_out_reg" pos="20" rst="0">
  14824. <comment>spi_flash_clk pin output value.</comment>
  14825. </bits>
  14826. <bits access="rw" name="pad_spi_flash_clk_oen_reg" pos="17" rst="0">
  14827. <comment>spi_flash_clk force outoen value.</comment>
  14828. </bits>
  14829. <bits access="rw" name="pad_spi_flash_clk_pull_frc" pos="16" rst="0">
  14830. <comment>spi_flash_clk force enable for pu/pd</comment>
  14831. </bits>
  14832. <bits access="rw" name="pad_spi_flash_clk_pull_up" pos="9" rst="0">
  14833. <comment>spi_flash_clk PUll up</comment>
  14834. </bits>
  14835. <bits access="rw" name="pad_spi_flash_clk_pull_dn" pos="8" rst="0">
  14836. <comment>spi_flash_clk PUll down</comment>
  14837. </bits>
  14838. <bits access="rw" name="pad_spi_flash_clk_sel" pos="3:0" rst="0">
  14839. <comment>spi_flash_clk select</comment>
  14840. <options>
  14841. <option name="fun_spi_flash_clk_sel" value="0"/>
  14842. <mask/>
  14843. <shift/>
  14844. <default/>
  14845. </options>
  14846. </bits>
  14847. </reg>
  14848. <reg name="pad_spi_flash_cs_cfg_reg" protect="rw">
  14849. <bits access="rw" name="pad_spi_flash_cs_oen_frc" pos="28" rst="0">
  14850. <comment>spi_flash_cs force enable for outoen.</comment>
  14851. </bits>
  14852. <bits access="rw" name="pad_spi_flash_cs_out_frc" pos="24" rst="0">
  14853. <comment>spi_flash_cs force output value for output.</comment>
  14854. </bits>
  14855. <bits access="rw" name="pad_spi_flash_cs_out_reg" pos="20" rst="0">
  14856. <comment>spi_flash_cs pin output value.</comment>
  14857. </bits>
  14858. <bits access="rw" name="pad_spi_flash_cs_oen_reg" pos="17" rst="0">
  14859. <comment>spi_flash_cs force outoen value.</comment>
  14860. </bits>
  14861. <bits access="rw" name="pad_spi_flash_cs_pull_frc" pos="16" rst="0">
  14862. <comment>spi_flash_cs force enable for pu/pd</comment>
  14863. </bits>
  14864. <bits access="rw" name="pad_spi_flash_cs_pull_up" pos="9" rst="0">
  14865. <comment>spi_flash_cs PUll up</comment>
  14866. </bits>
  14867. <bits access="rw" name="pad_spi_flash_cs_pull_dn" pos="8" rst="0">
  14868. <comment>spi_flash_cs PUll down</comment>
  14869. </bits>
  14870. <bits access="rw" name="pad_spi_flash_cs_sel" pos="3:0" rst="0">
  14871. <comment>spi_flash_cs select</comment>
  14872. <options>
  14873. <option name="fun_spi_flash_cs_sel" value="0"/>
  14874. <mask/>
  14875. <shift/>
  14876. <default/>
  14877. </options>
  14878. </bits>
  14879. </reg>
  14880. <reg name="pad_spi_flash_sel_cfg_reg" protect="rw">
  14881. <bits access="rw" name="pad_spi_flash_sel_oen_frc" pos="28" rst="0">
  14882. <comment>spi_flash_sel force enable for outoen.</comment>
  14883. </bits>
  14884. <bits access="rw" name="pad_spi_flash_sel_out_frc" pos="24" rst="0">
  14885. <comment>spi_flash_sel force output value for output.</comment>
  14886. </bits>
  14887. <bits access="rw" name="pad_spi_flash_sel_out_reg" pos="20" rst="0">
  14888. <comment>spi_flash_sel pin output value.</comment>
  14889. </bits>
  14890. <bits access="rw" name="pad_spi_flash_sel_oen_reg" pos="17" rst="0">
  14891. <comment>spi_flash_sel force outoen value.</comment>
  14892. </bits>
  14893. <bits access="rw" name="pad_spi_flash_sel_pull_frc" pos="16" rst="0">
  14894. <comment>spi_flash_sel force enable for pu/pd</comment>
  14895. </bits>
  14896. <bits access="rw" name="pad_spi_flash_sel_pull_up" pos="9" rst="0">
  14897. <comment>spi_flash_sel PUll up</comment>
  14898. </bits>
  14899. <bits access="rw" name="pad_spi_flash_sel_pull_dn" pos="8" rst="0">
  14900. <comment>spi_flash_sel PUll down</comment>
  14901. </bits>
  14902. <bits access="rw" name="pad_spi_flash_sel_sel" pos="3:0" rst="0">
  14903. <comment>spi_flash_sel select</comment>
  14904. <options>
  14905. <option name="fun_spi_flash_sel_sel" value="0"/>
  14906. <mask/>
  14907. <shift/>
  14908. <default/>
  14909. </options>
  14910. </bits>
  14911. </reg>
  14912. <reg name="pad_spi_flash_sio_0_cfg_reg" protect="rw">
  14913. <bits access="rw" name="pad_spi_flash_sio_0_oen_frc" pos="28" rst="0">
  14914. <comment>spi_flash_sio_0 force enable for outoen.</comment>
  14915. </bits>
  14916. <bits access="rw" name="pad_spi_flash_sio_0_out_frc" pos="24" rst="0">
  14917. <comment>spi_flash_sio_0 force output value for output.</comment>
  14918. </bits>
  14919. <bits access="rw" name="pad_spi_flash_sio_0_out_reg" pos="20" rst="0">
  14920. <comment>spi_flash_sio_0 pin output value.</comment>
  14921. </bits>
  14922. <bits access="rw" name="pad_spi_flash_sio_0_oen_reg" pos="17" rst="0">
  14923. <comment>spi_flash_sio_0 force outoen value.</comment>
  14924. </bits>
  14925. <bits access="rw" name="pad_spi_flash_sio_0_pull_frc" pos="16" rst="0">
  14926. <comment>spi_flash_sio_0 force enable for pu/pd</comment>
  14927. </bits>
  14928. <bits access="rw" name="pad_spi_flash_sio_0_pull_up" pos="9" rst="0">
  14929. <comment>spi_flash_sio_0 PUll up</comment>
  14930. </bits>
  14931. <bits access="rw" name="pad_spi_flash_sio_0_pull_dn" pos="8" rst="0">
  14932. <comment>spi_flash_sio_0 PUll down</comment>
  14933. </bits>
  14934. <bits access="rw" name="pad_spi_flash_sio_0_sel" pos="3:0" rst="0">
  14935. <comment>spi_flash_sio_0 select</comment>
  14936. <options>
  14937. <option name="fun_spi_flash_sio_0_sel" value="0"/>
  14938. <mask/>
  14939. <shift/>
  14940. <default/>
  14941. </options>
  14942. </bits>
  14943. </reg>
  14944. <reg name="pad_spi_flash_sio_1_cfg_reg" protect="rw">
  14945. <bits access="rw" name="pad_spi_flash_sio_1_oen_frc" pos="28" rst="0">
  14946. <comment>spi_flash_sio_1 force enable for outoen.</comment>
  14947. </bits>
  14948. <bits access="rw" name="pad_spi_flash_sio_1_out_frc" pos="24" rst="0">
  14949. <comment>spi_flash_sio_1 force output value for output.</comment>
  14950. </bits>
  14951. <bits access="rw" name="pad_spi_flash_sio_1_out_reg" pos="20" rst="0">
  14952. <comment>spi_flash_sio_1 pin output value.</comment>
  14953. </bits>
  14954. <bits access="rw" name="pad_spi_flash_sio_1_oen_reg" pos="17" rst="0">
  14955. <comment>spi_flash_sio_1 force outoen value.</comment>
  14956. </bits>
  14957. <bits access="rw" name="pad_spi_flash_sio_1_pull_frc" pos="16" rst="0">
  14958. <comment>spi_flash_sio_1 force enable for pu/pd</comment>
  14959. </bits>
  14960. <bits access="rw" name="pad_spi_flash_sio_1_pull_up" pos="9" rst="0">
  14961. <comment>spi_flash_sio_1 PUll up</comment>
  14962. </bits>
  14963. <bits access="rw" name="pad_spi_flash_sio_1_pull_dn" pos="8" rst="0">
  14964. <comment>spi_flash_sio_1 PUll down</comment>
  14965. </bits>
  14966. <bits access="rw" name="pad_spi_flash_sio_1_sel" pos="3:0" rst="0">
  14967. <comment>spi_flash_sio_1 select</comment>
  14968. <options>
  14969. <option name="fun_spi_flash_sio_1_sel" value="0"/>
  14970. <option name="fun_gpio_29_sel" value="1"/>
  14971. <mask/>
  14972. <shift/>
  14973. <default/>
  14974. </options>
  14975. </bits>
  14976. </reg>
  14977. <reg name="pad_spi_flash_sio_2_cfg_reg" protect="rw">
  14978. <bits access="rw" name="pad_spi_flash_sio_2_oen_frc" pos="28" rst="0">
  14979. <comment>spi_flash_sio_2 force enable for outoen.</comment>
  14980. </bits>
  14981. <bits access="rw" name="pad_spi_flash_sio_2_out_frc" pos="24" rst="0">
  14982. <comment>spi_flash_sio_2 force output value for output.</comment>
  14983. </bits>
  14984. <bits access="rw" name="pad_spi_flash_sio_2_out_reg" pos="20" rst="0">
  14985. <comment>spi_flash_sio_2 pin output value.</comment>
  14986. </bits>
  14987. <bits access="rw" name="pad_spi_flash_sio_2_oen_reg" pos="17" rst="0">
  14988. <comment>spi_flash_sio_2 force outoen value.</comment>
  14989. </bits>
  14990. <bits access="rw" name="pad_spi_flash_sio_2_pull_frc" pos="16" rst="0">
  14991. <comment>spi_flash_sio_2 force enable for pu/pd</comment>
  14992. </bits>
  14993. <bits access="rw" name="pad_spi_flash_sio_2_pull_up" pos="9" rst="0">
  14994. <comment>spi_flash_sio_2 PUll up</comment>
  14995. </bits>
  14996. <bits access="rw" name="pad_spi_flash_sio_2_pull_dn" pos="8" rst="0">
  14997. <comment>spi_flash_sio_2 PUll down</comment>
  14998. </bits>
  14999. <bits access="rw" name="pad_spi_flash_sio_2_sel" pos="3:0" rst="0">
  15000. <comment>spi_flash_sio_2 select</comment>
  15001. <options>
  15002. <option name="fun_spi_flash_sio_2_sel" value="0"/>
  15003. <option name="fun_gpio_30_sel" value="1"/>
  15004. <mask/>
  15005. <shift/>
  15006. <default/>
  15007. </options>
  15008. </bits>
  15009. </reg>
  15010. <reg name="pad_spi_flash_sio_3_cfg_reg" protect="rw">
  15011. <bits access="rw" name="pad_spi_flash_sio_3_oen_frc" pos="28" rst="0">
  15012. <comment>spi_flash_sio_3 force enable for outoen.</comment>
  15013. </bits>
  15014. <bits access="rw" name="pad_spi_flash_sio_3_out_frc" pos="24" rst="0">
  15015. <comment>spi_flash_sio_3 force output value for output.</comment>
  15016. </bits>
  15017. <bits access="rw" name="pad_spi_flash_sio_3_out_reg" pos="20" rst="0">
  15018. <comment>spi_flash_sio_3 pin output value.</comment>
  15019. </bits>
  15020. <bits access="rw" name="pad_spi_flash_sio_3_oen_reg" pos="17" rst="0">
  15021. <comment>spi_flash_sio_3 force outoen value.</comment>
  15022. </bits>
  15023. <bits access="rw" name="pad_spi_flash_sio_3_pull_frc" pos="16" rst="0">
  15024. <comment>spi_flash_sio_3 force enable for pu/pd</comment>
  15025. </bits>
  15026. <bits access="rw" name="pad_spi_flash_sio_3_pull_up" pos="9" rst="0">
  15027. <comment>spi_flash_sio_3 PUll up</comment>
  15028. </bits>
  15029. <bits access="rw" name="pad_spi_flash_sio_3_pull_dn" pos="8" rst="0">
  15030. <comment>spi_flash_sio_3 PUll down</comment>
  15031. </bits>
  15032. <bits access="rw" name="pad_spi_flash_sio_3_sel" pos="3:0" rst="0">
  15033. <comment>spi_flash_sio_3 select</comment>
  15034. <options>
  15035. <option name="fun_spi_flash_sio_3_sel" value="0"/>
  15036. <option name="fun_gpio_31_sel" value="1"/>
  15037. <mask/>
  15038. <shift/>
  15039. <default/>
  15040. </options>
  15041. </bits>
  15042. </reg>
  15043. <reg name="pad_sdmmc1_clk_cfg_reg" protect="rw">
  15044. <bits access="rw" name="pad_sdmmc1_clk_oen_frc" pos="28" rst="0">
  15045. <comment>sdmmc1_clk force enable for outoen.</comment>
  15046. </bits>
  15047. <bits access="rw" name="pad_sdmmc1_clk_out_frc" pos="24" rst="0">
  15048. <comment>sdmmc1_clk force output value for output.</comment>
  15049. </bits>
  15050. <bits access="rw" name="pad_sdmmc1_clk_out_reg" pos="20" rst="0">
  15051. <comment>sdmmc1_clk pin output value.</comment>
  15052. </bits>
  15053. <bits access="rw" name="pad_sdmmc1_clk_oen_reg" pos="17" rst="0">
  15054. <comment>sdmmc1_clk force outoen value.</comment>
  15055. </bits>
  15056. <bits access="rw" name="pad_sdmmc1_clk_pull_frc" pos="16" rst="0">
  15057. <comment>sdmmc1_clk force enable for pu/pd</comment>
  15058. </bits>
  15059. <bits access="rw" name="pad_sdmmc1_clk_pull_up" pos="9" rst="0">
  15060. <comment>sdmmc1_clk PUll up</comment>
  15061. </bits>
  15062. <bits access="rw" name="pad_sdmmc1_clk_pull_dn" pos="8" rst="0">
  15063. <comment>sdmmc1_clk PUll down</comment>
  15064. </bits>
  15065. <bits access="rw" name="pad_sdmmc1_clk_sel" pos="3:0" rst="0">
  15066. <comment>sdmmc1_clk select</comment>
  15067. <options>
  15068. <option name="fun_sdmmc1_clk_sel" value="0"/>
  15069. <option name="fun_camera_ref_clk_sel" value="2"/>
  15070. <option name="fun_spi_2_cs_0_sel" value="7"/>
  15071. <mask/>
  15072. <shift/>
  15073. <default/>
  15074. </options>
  15075. </bits>
  15076. </reg>
  15077. <reg name="pad_sdmmc1_cmd_cfg_reg" protect="rw">
  15078. <bits access="rw" name="pad_sdmmc1_cmd_oen_frc" pos="28" rst="0">
  15079. <comment>sdmmc1_cmd force enable for outoen.</comment>
  15080. </bits>
  15081. <bits access="rw" name="pad_sdmmc1_cmd_out_frc" pos="24" rst="0">
  15082. <comment>sdmmc1_cmd force output value for output.</comment>
  15083. </bits>
  15084. <bits access="rw" name="pad_sdmmc1_cmd_out_reg" pos="20" rst="0">
  15085. <comment>sdmmc1_cmd pin output value.</comment>
  15086. </bits>
  15087. <bits access="rw" name="pad_sdmmc1_cmd_oen_reg" pos="17" rst="0">
  15088. <comment>sdmmc1_cmd force outoen value.</comment>
  15089. </bits>
  15090. <bits access="rw" name="pad_sdmmc1_cmd_pull_frc" pos="16" rst="0">
  15091. <comment>sdmmc1_cmd force enable for pu/pd</comment>
  15092. </bits>
  15093. <bits access="rw" name="pad_sdmmc1_cmd_pull_up" pos="9" rst="0">
  15094. <comment>sdmmc1_cmd PUll up</comment>
  15095. </bits>
  15096. <bits access="rw" name="pad_sdmmc1_cmd_pull_dn" pos="8" rst="0">
  15097. <comment>sdmmc1_cmd PUll down</comment>
  15098. </bits>
  15099. <bits access="rw" name="pad_sdmmc1_cmd_sel" pos="3:0" rst="0">
  15100. <comment>sdmmc1_cmd select</comment>
  15101. <options>
  15102. <option name="fun_sdmmc1_cmd_sel" value="0"/>
  15103. <option name="fun_gpio_24_sel" value="1"/>
  15104. <option name="fun_camera_rst_l_sel" value="2"/>
  15105. <option name="fun_i2c_m3_scl_sel" value="3"/>
  15106. <mask/>
  15107. <shift/>
  15108. <default/>
  15109. </options>
  15110. </bits>
  15111. </reg>
  15112. <reg name="pad_sdmmc1_data_0_cfg_reg" protect="rw">
  15113. <bits access="rw" name="pad_sdmmc1_data_0_oen_frc" pos="28" rst="0">
  15114. <comment>sdmmc1_data_0 force enable for outoen.</comment>
  15115. </bits>
  15116. <bits access="rw" name="pad_sdmmc1_data_0_out_frc" pos="24" rst="0">
  15117. <comment>sdmmc1_data_0 force output value for output.</comment>
  15118. </bits>
  15119. <bits access="rw" name="pad_sdmmc1_data_0_out_reg" pos="20" rst="0">
  15120. <comment>sdmmc1_data_0 pin output value.</comment>
  15121. </bits>
  15122. <bits access="rw" name="pad_sdmmc1_data_0_oen_reg" pos="17" rst="0">
  15123. <comment>sdmmc1_data_0 force outoen value.</comment>
  15124. </bits>
  15125. <bits access="rw" name="pad_sdmmc1_data_0_pull_frc" pos="16" rst="0">
  15126. <comment>sdmmc1_data_0 force enable for pu/pd</comment>
  15127. </bits>
  15128. <bits access="rw" name="pad_sdmmc1_data_0_pull_up" pos="9" rst="0">
  15129. <comment>sdmmc1_data_0 PUll up</comment>
  15130. </bits>
  15131. <bits access="rw" name="pad_sdmmc1_data_0_pull_dn" pos="8" rst="0">
  15132. <comment>sdmmc1_data_0 PUll down</comment>
  15133. </bits>
  15134. <bits access="rw" name="pad_sdmmc1_data_0_sel" pos="3:0" rst="0">
  15135. <comment>sdmmc1_data_0 select</comment>
  15136. <options>
  15137. <option name="fun_sdmmc1_data_0_sel" value="0"/>
  15138. <option name="fun_gpio_25_sel" value="1"/>
  15139. <option name="fun_camera_pwdn_sel" value="2"/>
  15140. <option name="fun_i2c_m3_sda_sel" value="3"/>
  15141. <mask/>
  15142. <shift/>
  15143. <default/>
  15144. </options>
  15145. </bits>
  15146. </reg>
  15147. <reg name="pad_sdmmc1_data_1_cfg_reg" protect="rw">
  15148. <bits access="rw" name="pad_sdmmc1_data_1_oen_frc" pos="28" rst="0">
  15149. <comment>sdmmc1_data_1 force enable for outoen.</comment>
  15150. </bits>
  15151. <bits access="rw" name="pad_sdmmc1_data_1_out_frc" pos="24" rst="0">
  15152. <comment>sdmmc1_data_1 force output value for output.</comment>
  15153. </bits>
  15154. <bits access="rw" name="pad_sdmmc1_data_1_out_reg" pos="20" rst="0">
  15155. <comment>sdmmc1_data_1 pin output value.</comment>
  15156. </bits>
  15157. <bits access="rw" name="pad_sdmmc1_data_1_oen_reg" pos="17" rst="0">
  15158. <comment>sdmmc1_data_1 force outoen value.</comment>
  15159. </bits>
  15160. <bits access="rw" name="pad_sdmmc1_data_1_pull_frc" pos="16" rst="0">
  15161. <comment>sdmmc1_data_1 force enable for pu/pd</comment>
  15162. </bits>
  15163. <bits access="rw" name="pad_sdmmc1_data_1_pull_up" pos="9" rst="0">
  15164. <comment>sdmmc1_data_1 PUll up</comment>
  15165. </bits>
  15166. <bits access="rw" name="pad_sdmmc1_data_1_pull_dn" pos="8" rst="0">
  15167. <comment>sdmmc1_data_1 PUll down</comment>
  15168. </bits>
  15169. <bits access="rw" name="pad_sdmmc1_data_1_sel" pos="3:0" rst="0">
  15170. <comment>sdmmc1_data_1 select</comment>
  15171. <options>
  15172. <option name="fun_sdmmc1_data_1_sel" value="0"/>
  15173. <option name="fun_gpio_26_sel" value="1"/>
  15174. <option name="fun_uart_2_txd_sel" value="5"/>
  15175. <option name="fun_uart_3_rts_sel" value="6"/>
  15176. <option name="fun_spi_2_clk_sel" value="7"/>
  15177. <mask/>
  15178. <shift/>
  15179. <default/>
  15180. </options>
  15181. </bits>
  15182. </reg>
  15183. <reg name="pad_sdmmc1_data_2_cfg_reg" protect="rw">
  15184. <bits access="rw" name="pad_sdmmc1_data_2_oen_frc" pos="28" rst="0">
  15185. <comment>sdmmc1_data_2 force enable for outoen.</comment>
  15186. </bits>
  15187. <bits access="rw" name="pad_sdmmc1_data_2_out_frc" pos="24" rst="0">
  15188. <comment>sdmmc1_data_2 force output value for output.</comment>
  15189. </bits>
  15190. <bits access="rw" name="pad_sdmmc1_data_2_out_reg" pos="20" rst="0">
  15191. <comment>sdmmc1_data_2 pin output value.</comment>
  15192. </bits>
  15193. <bits access="rw" name="pad_sdmmc1_data_2_oen_reg" pos="17" rst="0">
  15194. <comment>sdmmc1_data_2 force outoen value.</comment>
  15195. </bits>
  15196. <bits access="rw" name="pad_sdmmc1_data_2_pull_frc" pos="16" rst="0">
  15197. <comment>sdmmc1_data_2 force enable for pu/pd</comment>
  15198. </bits>
  15199. <bits access="rw" name="pad_sdmmc1_data_2_pull_up" pos="9" rst="0">
  15200. <comment>sdmmc1_data_2 PUll up</comment>
  15201. </bits>
  15202. <bits access="rw" name="pad_sdmmc1_data_2_pull_dn" pos="8" rst="0">
  15203. <comment>sdmmc1_data_2 PUll down</comment>
  15204. </bits>
  15205. <bits access="rw" name="pad_sdmmc1_data_2_sel" pos="3:0" rst="0">
  15206. <comment>sdmmc1_data_2 select</comment>
  15207. <options>
  15208. <option name="fun_sdmmc1_data_2_sel" value="0"/>
  15209. <option name="fun_gpio_27_sel" value="1"/>
  15210. <option name="fun_spi_camera_ssn_sel" value="4"/>
  15211. <option name="fun_spi_2_dio_0_sel" value="7"/>
  15212. <mask/>
  15213. <shift/>
  15214. <default/>
  15215. </options>
  15216. </bits>
  15217. </reg>
  15218. <reg name="pad_sdmmc1_data_3_cfg_reg" protect="rw">
  15219. <bits access="rw" name="pad_sdmmc1_data_3_oen_frc" pos="28" rst="0">
  15220. <comment>sdmmc1_data_3 force enable for outoen.</comment>
  15221. </bits>
  15222. <bits access="rw" name="pad_sdmmc1_data_3_out_frc" pos="24" rst="0">
  15223. <comment>sdmmc1_data_3 force output value for output.</comment>
  15224. </bits>
  15225. <bits access="rw" name="pad_sdmmc1_data_3_out_reg" pos="20" rst="0">
  15226. <comment>sdmmc1_data_3 pin output value.</comment>
  15227. </bits>
  15228. <bits access="rw" name="pad_sdmmc1_data_3_oen_reg" pos="17" rst="0">
  15229. <comment>sdmmc1_data_3 force outoen value.</comment>
  15230. </bits>
  15231. <bits access="rw" name="pad_sdmmc1_data_3_pull_frc" pos="16" rst="0">
  15232. <comment>sdmmc1_data_3 force enable for pu/pd</comment>
  15233. </bits>
  15234. <bits access="rw" name="pad_sdmmc1_data_3_pull_up" pos="9" rst="0">
  15235. <comment>sdmmc1_data_3 PUll up</comment>
  15236. </bits>
  15237. <bits access="rw" name="pad_sdmmc1_data_3_pull_dn" pos="8" rst="0">
  15238. <comment>sdmmc1_data_3 PUll down</comment>
  15239. </bits>
  15240. <bits access="rw" name="pad_sdmmc1_data_3_sel" pos="3:0" rst="0">
  15241. <comment>sdmmc1_data_3 select</comment>
  15242. <options>
  15243. <option name="fun_sdmmc1_data_3_sel" value="0"/>
  15244. <option name="fun_gpio_28_sel" value="1"/>
  15245. <option name="fun_spi_camera_sck_sel" value="2"/>
  15246. <option name="fun_uart_2_rts_sel" value="5"/>
  15247. <option name="fun_uart_3_txd_sel" value="6"/>
  15248. <mask/>
  15249. <shift/>
  15250. <default/>
  15251. </options>
  15252. </bits>
  15253. </reg>
  15254. <reg name="pad_aud_da_sync_cfg_reg" protect="rw">
  15255. <bits access="rw" name="pad_aud_da_sync_oen_frc" pos="28" rst="0">
  15256. <comment>aud_da_sync force enable for outoen.</comment>
  15257. </bits>
  15258. <bits access="rw" name="pad_aud_da_sync_out_frc" pos="24" rst="0">
  15259. <comment>aud_da_sync force output value for output.</comment>
  15260. </bits>
  15261. <bits access="rw" name="pad_aud_da_sync_out_reg" pos="20" rst="0">
  15262. <comment>aud_da_sync pin output value.</comment>
  15263. </bits>
  15264. <bits access="rw" name="pad_aud_da_sync_oen_reg" pos="17" rst="0">
  15265. <comment>aud_da_sync force outoen value.</comment>
  15266. </bits>
  15267. <bits access="rw" name="pad_aud_da_sync_pull_frc" pos="16" rst="0">
  15268. <comment>aud_da_sync force enable for pu/pd</comment>
  15269. </bits>
  15270. <bits access="rw" name="pad_aud_da_sync_pull_up" pos="9" rst="0">
  15271. <comment>aud_da_sync PUll up</comment>
  15272. </bits>
  15273. <bits access="rw" name="pad_aud_da_sync_pull_dn" pos="8" rst="0">
  15274. <comment>aud_da_sync PUll down</comment>
  15275. </bits>
  15276. <bits access="rw" name="pad_aud_da_sync_sel" pos="3:0" rst="0">
  15277. <comment>aud_da_sync select</comment>
  15278. <options>
  15279. <option name="fun_aud_da_sync_sel" value="0"/>
  15280. <option name="fun_i2s1_bck_sel" value="1"/>
  15281. <option name="fun_gpio_27_sel" value="2"/>
  15282. <mask/>
  15283. <shift/>
  15284. <default/>
  15285. </options>
  15286. </bits>
  15287. </reg>
  15288. <reg name="pad_aud_da_d1_cfg_reg" protect="rw">
  15289. <bits access="rw" name="pad_aud_da_d1_oen_frc" pos="28" rst="0">
  15290. <comment>aud_da_d1 force enable for outoen.</comment>
  15291. </bits>
  15292. <bits access="rw" name="pad_aud_da_d1_out_frc" pos="24" rst="0">
  15293. <comment>aud_da_d1 force output value for output.</comment>
  15294. </bits>
  15295. <bits access="rw" name="pad_aud_da_d1_out_reg" pos="20" rst="0">
  15296. <comment>aud_da_d1 pin output value.</comment>
  15297. </bits>
  15298. <bits access="rw" name="pad_aud_da_d1_oen_reg" pos="17" rst="0">
  15299. <comment>aud_da_d1 force outoen value.</comment>
  15300. </bits>
  15301. <bits access="rw" name="pad_aud_da_d1_pull_frc" pos="16" rst="0">
  15302. <comment>aud_da_d1 force enable for pu/pd</comment>
  15303. </bits>
  15304. <bits access="rw" name="pad_aud_da_d1_pull_up" pos="9" rst="0">
  15305. <comment>aud_da_d1 PUll up</comment>
  15306. </bits>
  15307. <bits access="rw" name="pad_aud_da_d1_pull_dn" pos="8" rst="0">
  15308. <comment>aud_da_d1 PUll down</comment>
  15309. </bits>
  15310. <bits access="rw" name="pad_aud_da_d1_sel" pos="3:0" rst="0">
  15311. <comment>aud_da_d1 select</comment>
  15312. <options>
  15313. <option name="fun_aud_da_d1_sel" value="0"/>
  15314. <option name="fun_i2s1_lrck_sel" value="1"/>
  15315. <option name="fun_gpio_28_sel" value="2"/>
  15316. <mask/>
  15317. <shift/>
  15318. <default/>
  15319. </options>
  15320. </bits>
  15321. </reg>
  15322. <reg name="pad_aud_da_d0_cfg_reg" protect="rw">
  15323. <bits access="rw" name="pad_aud_da_d0_oen_frc" pos="28" rst="0">
  15324. <comment>aud_da_d0 force enable for outoen.</comment>
  15325. </bits>
  15326. <bits access="rw" name="pad_aud_da_d0_out_frc" pos="24" rst="0">
  15327. <comment>aud_da_d0 force output value for output.</comment>
  15328. </bits>
  15329. <bits access="rw" name="pad_aud_da_d0_out_reg" pos="20" rst="0">
  15330. <comment>aud_da_d0 pin output value.</comment>
  15331. </bits>
  15332. <bits access="rw" name="pad_aud_da_d0_oen_reg" pos="17" rst="0">
  15333. <comment>aud_da_d0 force outoen value.</comment>
  15334. </bits>
  15335. <bits access="rw" name="pad_aud_da_d0_pull_frc" pos="16" rst="0">
  15336. <comment>aud_da_d0 force enable for pu/pd</comment>
  15337. </bits>
  15338. <bits access="rw" name="pad_aud_da_d0_pull_up" pos="9" rst="0">
  15339. <comment>aud_da_d0 PUll up</comment>
  15340. </bits>
  15341. <bits access="rw" name="pad_aud_da_d0_pull_dn" pos="8" rst="0">
  15342. <comment>aud_da_d0 PUll down</comment>
  15343. </bits>
  15344. <bits access="rw" name="pad_aud_da_d0_sel" pos="3:0" rst="0">
  15345. <comment>aud_da_d0 select</comment>
  15346. <options>
  15347. <option name="fun_aud_da_d0_sel" value="0"/>
  15348. <option name="fun_gpio_29_sel" value="2"/>
  15349. <mask/>
  15350. <shift/>
  15351. <default/>
  15352. </options>
  15353. </bits>
  15354. </reg>
  15355. <reg name="pad_aud_ad_sync_cfg_reg" protect="rw">
  15356. <bits access="rw" name="pad_aud_ad_sync_oen_frc" pos="28" rst="0">
  15357. <comment>aud_ad_sync force enable for outoen.</comment>
  15358. </bits>
  15359. <bits access="rw" name="pad_aud_ad_sync_out_frc" pos="24" rst="0">
  15360. <comment>aud_ad_sync force output value for output.</comment>
  15361. </bits>
  15362. <bits access="rw" name="pad_aud_ad_sync_out_reg" pos="20" rst="0">
  15363. <comment>aud_ad_sync pin output value.</comment>
  15364. </bits>
  15365. <bits access="rw" name="pad_aud_ad_sync_oen_reg" pos="17" rst="0">
  15366. <comment>aud_ad_sync force outoen value.</comment>
  15367. </bits>
  15368. <bits access="rw" name="pad_aud_ad_sync_pull_frc" pos="16" rst="0">
  15369. <comment>aud_ad_sync force enable for pu/pd</comment>
  15370. </bits>
  15371. <bits access="rw" name="pad_aud_ad_sync_pull_up" pos="9" rst="0">
  15372. <comment>aud_ad_sync PUll up</comment>
  15373. </bits>
  15374. <bits access="rw" name="pad_aud_ad_sync_pull_dn" pos="8" rst="0">
  15375. <comment>aud_ad_sync PUll down</comment>
  15376. </bits>
  15377. <bits access="rw" name="pad_aud_ad_sync_sel" pos="3:0" rst="0">
  15378. <comment>aud_ad_sync select</comment>
  15379. <options>
  15380. <option name="fun_aud_ad_sync_sel" value="0"/>
  15381. <option name="fun_i2s1_sdat_o_sel" value="1"/>
  15382. <option name="fun_gpio_30_sel" value="2"/>
  15383. <mask/>
  15384. <shift/>
  15385. <default/>
  15386. </options>
  15387. </bits>
  15388. </reg>
  15389. <reg name="pad_aud_ad_d0_cfg_reg" protect="rw">
  15390. <bits access="rw" name="pad_aud_ad_d0_oen_frc" pos="28" rst="0">
  15391. <comment>aud_ad_d0 force enable for outoen.</comment>
  15392. </bits>
  15393. <bits access="rw" name="pad_aud_ad_d0_out_frc" pos="24" rst="0">
  15394. <comment>aud_ad_d0 force output value for output.</comment>
  15395. </bits>
  15396. <bits access="rw" name="pad_aud_ad_d0_out_reg" pos="20" rst="0">
  15397. <comment>aud_ad_d0 pin output value.</comment>
  15398. </bits>
  15399. <bits access="rw" name="pad_aud_ad_d0_oen_reg" pos="17" rst="0">
  15400. <comment>aud_ad_d0 force outoen value.</comment>
  15401. </bits>
  15402. <bits access="rw" name="pad_aud_ad_d0_pull_frc" pos="16" rst="0">
  15403. <comment>aud_ad_d0 force enable for pu/pd</comment>
  15404. </bits>
  15405. <bits access="rw" name="pad_aud_ad_d0_pull_up" pos="9" rst="0">
  15406. <comment>aud_ad_d0 PUll up</comment>
  15407. </bits>
  15408. <bits access="rw" name="pad_aud_ad_d0_pull_dn" pos="8" rst="0">
  15409. <comment>aud_ad_d0 PUll down</comment>
  15410. </bits>
  15411. <bits access="rw" name="pad_aud_ad_d0_sel" pos="3:0" rst="0">
  15412. <comment>aud_ad_d0 select</comment>
  15413. <options>
  15414. <option name="fun_aud_ad_d0_sel" value="0"/>
  15415. <option name="fun_gpio_31_sel" value="2"/>
  15416. <mask/>
  15417. <shift/>
  15418. <default/>
  15419. </options>
  15420. </bits>
  15421. </reg>
  15422. <reg name="pad_aud_sclk_cfg_reg" protect="rw">
  15423. <bits access="rw" name="pad_aud_sclk_oen_frc" pos="28" rst="0">
  15424. <comment>aud_sclk force enable for outoen.</comment>
  15425. </bits>
  15426. <bits access="rw" name="pad_aud_sclk_out_frc" pos="24" rst="0">
  15427. <comment>aud_sclk force output value for output.</comment>
  15428. </bits>
  15429. <bits access="rw" name="pad_aud_sclk_out_reg" pos="20" rst="0">
  15430. <comment>aud_sclk pin output value.</comment>
  15431. </bits>
  15432. <bits access="rw" name="pad_aud_sclk_oen_reg" pos="17" rst="0">
  15433. <comment>aud_sclk force outoen value.</comment>
  15434. </bits>
  15435. <bits access="rw" name="pad_aud_sclk_pull_frc" pos="16" rst="0">
  15436. <comment>aud_sclk force enable for pu/pd</comment>
  15437. </bits>
  15438. <bits access="rw" name="pad_aud_sclk_pull_up" pos="9" rst="0">
  15439. <comment>aud_sclk PUll up</comment>
  15440. </bits>
  15441. <bits access="rw" name="pad_aud_sclk_pull_dn" pos="8" rst="0">
  15442. <comment>aud_sclk PUll down</comment>
  15443. </bits>
  15444. <bits access="rw" name="pad_aud_sclk_sel" pos="3:0" rst="0">
  15445. <comment>aud_sclk select</comment>
  15446. <options>
  15447. <option name="fun_aud_sclk_sel" value="0"/>
  15448. <mask/>
  15449. <shift/>
  15450. <default/>
  15451. </options>
  15452. </bits>
  15453. </reg>
  15454. <reg name="pad_adi_sda_cfg_reg" protect="rw">
  15455. <bits access="rw" name="pad_adi_sda_oen_frc" pos="28" rst="0">
  15456. <comment>adi_sda force enable for outoen.</comment>
  15457. </bits>
  15458. <bits access="rw" name="pad_adi_sda_out_frc" pos="24" rst="0">
  15459. <comment>adi_sda force output value for output.</comment>
  15460. </bits>
  15461. <bits access="rw" name="pad_adi_sda_out_reg" pos="20" rst="0">
  15462. <comment>adi_sda pin output value.</comment>
  15463. </bits>
  15464. <bits access="rw" name="pad_adi_sda_oen_reg" pos="17" rst="0">
  15465. <comment>adi_sda force outoen value.</comment>
  15466. </bits>
  15467. <bits access="rw" name="pad_adi_sda_pull_frc" pos="16" rst="0">
  15468. <comment>adi_sda force enable for pu/pd</comment>
  15469. </bits>
  15470. <bits access="rw" name="pad_adi_sda_pull_up" pos="9" rst="0">
  15471. <comment>adi_sda PUll up</comment>
  15472. </bits>
  15473. <bits access="rw" name="pad_adi_sda_pull_dn" pos="8" rst="0">
  15474. <comment>adi_sda PUll down</comment>
  15475. </bits>
  15476. <bits access="rw" name="pad_adi_sda_sel" pos="3:0" rst="0">
  15477. <comment>adi_sda select</comment>
  15478. <options>
  15479. <option name="fun_adi_sda_sel" value="0"/>
  15480. <mask/>
  15481. <shift/>
  15482. <default/>
  15483. </options>
  15484. </bits>
  15485. </reg>
  15486. <reg name="pad_adi_sync_cfg_reg" protect="rw">
  15487. <bits access="rw" name="pad_adi_sync_oen_frc" pos="28" rst="0">
  15488. <comment>adi_sync force enable for outoen.</comment>
  15489. </bits>
  15490. <bits access="rw" name="pad_adi_sync_out_frc" pos="24" rst="0">
  15491. <comment>adi_sync force output value for output.</comment>
  15492. </bits>
  15493. <bits access="rw" name="pad_adi_sync_out_reg" pos="20" rst="0">
  15494. <comment>adi_sync pin output value.</comment>
  15495. </bits>
  15496. <bits access="rw" name="pad_adi_sync_oen_reg" pos="17" rst="0">
  15497. <comment>adi_sync force outoen value.</comment>
  15498. </bits>
  15499. <bits access="rw" name="pad_adi_sync_pull_frc" pos="16" rst="0">
  15500. <comment>adi_sync force enable for pu/pd</comment>
  15501. </bits>
  15502. <bits access="rw" name="pad_adi_sync_pull_up" pos="9" rst="0">
  15503. <comment>adi_sync PUll up</comment>
  15504. </bits>
  15505. <bits access="rw" name="pad_adi_sync_pull_dn" pos="8" rst="0">
  15506. <comment>adi_sync PUll down</comment>
  15507. </bits>
  15508. <bits access="rw" name="pad_adi_sync_sel" pos="3:0" rst="0">
  15509. <comment>adi_sync select</comment>
  15510. <options>
  15511. <option name="fun_adi_sync_sel" value="0"/>
  15512. <mask/>
  15513. <shift/>
  15514. <default/>
  15515. </options>
  15516. </bits>
  15517. </reg>
  15518. <reg name="pad_adi_scl_cfg_reg" protect="rw">
  15519. <bits access="rw" name="pad_adi_scl_oen_frc" pos="28" rst="0">
  15520. <comment>adi_scl force enable for outoen.</comment>
  15521. </bits>
  15522. <bits access="rw" name="pad_adi_scl_out_frc" pos="24" rst="0">
  15523. <comment>adi_scl force output value for output.</comment>
  15524. </bits>
  15525. <bits access="rw" name="pad_adi_scl_out_reg" pos="20" rst="0">
  15526. <comment>adi_scl pin output value.</comment>
  15527. </bits>
  15528. <bits access="rw" name="pad_adi_scl_oen_reg" pos="17" rst="0">
  15529. <comment>adi_scl force outoen value.</comment>
  15530. </bits>
  15531. <bits access="rw" name="pad_adi_scl_pull_frc" pos="16" rst="0">
  15532. <comment>adi_scl force enable for pu/pd</comment>
  15533. </bits>
  15534. <bits access="rw" name="pad_adi_scl_pull_up" pos="9" rst="0">
  15535. <comment>adi_scl PUll up</comment>
  15536. </bits>
  15537. <bits access="rw" name="pad_adi_scl_pull_dn" pos="8" rst="0">
  15538. <comment>adi_scl PUll down</comment>
  15539. </bits>
  15540. <bits access="rw" name="pad_adi_scl_sel" pos="3:0" rst="0">
  15541. <comment>adi_scl select</comment>
  15542. <options>
  15543. <option name="fun_adi_scl_sel" value="0"/>
  15544. <mask/>
  15545. <shift/>
  15546. <default/>
  15547. </options>
  15548. </bits>
  15549. </reg>
  15550. <reg name="pad_spi_lcd_sio_cfg_reg" protect="rw">
  15551. <bits access="rw" name="pad_spi_lcd_sio_oen_frc" pos="28" rst="0">
  15552. <comment>spi_lcd_sio force enable for outoen.</comment>
  15553. </bits>
  15554. <bits access="rw" name="pad_spi_lcd_sio_out_frc" pos="24" rst="0">
  15555. <comment>spi_lcd_sio force output value for output.</comment>
  15556. </bits>
  15557. <bits access="rw" name="pad_spi_lcd_sio_out_reg" pos="20" rst="0">
  15558. <comment>spi_lcd_sio pin output value.</comment>
  15559. </bits>
  15560. <bits access="rw" name="pad_spi_lcd_sio_oen_reg" pos="17" rst="0">
  15561. <comment>spi_lcd_sio force outoen value.</comment>
  15562. </bits>
  15563. <bits access="rw" name="pad_spi_lcd_sio_pull_frc" pos="16" rst="0">
  15564. <comment>spi_lcd_sio force enable for pu/pd</comment>
  15565. </bits>
  15566. <bits access="rw" name="pad_spi_lcd_sio_pull_up" pos="9" rst="0">
  15567. <comment>spi_lcd_sio PUll up</comment>
  15568. </bits>
  15569. <bits access="rw" name="pad_spi_lcd_sio_pull_dn" pos="8" rst="0">
  15570. <comment>spi_lcd_sio PUll down</comment>
  15571. </bits>
  15572. <bits access="rw" name="pad_spi_lcd_sio_sel" pos="3:0" rst="0">
  15573. <comment>spi_lcd_sio select</comment>
  15574. <options>
  15575. <option name="fun_spi_lcd_sio_sel" value="0"/>
  15576. <option name="fun_gpio_0_sel" value="1"/>
  15577. <option name="fun_spi_flash1_clk_sel" value="2"/>
  15578. <option name="fun_debug_bus_5_sel" value="7"/>
  15579. <mask/>
  15580. <shift/>
  15581. <default/>
  15582. </options>
  15583. </bits>
  15584. </reg>
  15585. <reg name="pad_spi_lcd_sdc_cfg_reg" protect="rw">
  15586. <bits access="rw" name="pad_spi_lcd_sdc_oen_frc" pos="28" rst="0">
  15587. <comment>spi_lcd_sdc force enable for outoen.</comment>
  15588. </bits>
  15589. <bits access="rw" name="pad_spi_lcd_sdc_out_frc" pos="24" rst="0">
  15590. <comment>spi_lcd_sdc force output value for output.</comment>
  15591. </bits>
  15592. <bits access="rw" name="pad_spi_lcd_sdc_out_reg" pos="20" rst="0">
  15593. <comment>spi_lcd_sdc pin output value.</comment>
  15594. </bits>
  15595. <bits access="rw" name="pad_spi_lcd_sdc_oen_reg" pos="17" rst="0">
  15596. <comment>spi_lcd_sdc force outoen value.</comment>
  15597. </bits>
  15598. <bits access="rw" name="pad_spi_lcd_sdc_pull_frc" pos="16" rst="0">
  15599. <comment>spi_lcd_sdc force enable for pu/pd</comment>
  15600. </bits>
  15601. <bits access="rw" name="pad_spi_lcd_sdc_pull_up" pos="9" rst="0">
  15602. <comment>spi_lcd_sdc PUll up</comment>
  15603. </bits>
  15604. <bits access="rw" name="pad_spi_lcd_sdc_pull_dn" pos="8" rst="0">
  15605. <comment>spi_lcd_sdc PUll down</comment>
  15606. </bits>
  15607. <bits access="rw" name="pad_spi_lcd_sdc_sel" pos="3:0" rst="0">
  15608. <comment>spi_lcd_sdc select</comment>
  15609. <options>
  15610. <option name="fun_spi_lcd_sdc_sel" value="0"/>
  15611. <option name="fun_gpio_1_sel" value="1"/>
  15612. <option name="fun_spi_flash1_cs_sel" value="2"/>
  15613. <option name="fun_i2c_m3_sda_sel" value="3"/>
  15614. <option name="fun_debug_bus_6_sel" value="7"/>
  15615. <mask/>
  15616. <shift/>
  15617. <default/>
  15618. </options>
  15619. </bits>
  15620. </reg>
  15621. <reg name="pad_spi_lcd_clk_cfg_reg" protect="rw">
  15622. <bits access="rw" name="pad_spi_lcd_clk_oen_frc" pos="28" rst="0">
  15623. <comment>spi_lcd_clk force enable for outoen.</comment>
  15624. </bits>
  15625. <bits access="rw" name="pad_spi_lcd_clk_out_frc" pos="24" rst="0">
  15626. <comment>spi_lcd_clk force output value for output.</comment>
  15627. </bits>
  15628. <bits access="rw" name="pad_spi_lcd_clk_out_reg" pos="20" rst="0">
  15629. <comment>spi_lcd_clk pin output value.</comment>
  15630. </bits>
  15631. <bits access="rw" name="pad_spi_lcd_clk_oen_reg" pos="17" rst="0">
  15632. <comment>spi_lcd_clk force outoen value.</comment>
  15633. </bits>
  15634. <bits access="rw" name="pad_spi_lcd_clk_pull_frc" pos="16" rst="0">
  15635. <comment>spi_lcd_clk force enable for pu/pd</comment>
  15636. </bits>
  15637. <bits access="rw" name="pad_spi_lcd_clk_pull_up" pos="9" rst="0">
  15638. <comment>spi_lcd_clk PUll up</comment>
  15639. </bits>
  15640. <bits access="rw" name="pad_spi_lcd_clk_pull_dn" pos="8" rst="0">
  15641. <comment>spi_lcd_clk PUll down</comment>
  15642. </bits>
  15643. <bits access="rw" name="pad_spi_lcd_clk_sel" pos="3:0" rst="0">
  15644. <comment>spi_lcd_clk select</comment>
  15645. <options>
  15646. <option name="fun_spi_lcd_clk_sel" value="0"/>
  15647. <option name="fun_gpio_2_sel" value="1"/>
  15648. <option name="fun_spi_flash1_sio_0_sel" value="2"/>
  15649. <option name="fun_debug_bus_7_sel" value="7"/>
  15650. <mask/>
  15651. <shift/>
  15652. <default/>
  15653. </options>
  15654. </bits>
  15655. </reg>
  15656. <reg name="pad_spi_lcd_cs_cfg_reg" protect="rw">
  15657. <bits access="rw" name="pad_spi_lcd_cs_oen_frc" pos="28" rst="0">
  15658. <comment>spi_lcd_cs force enable for outoen.</comment>
  15659. </bits>
  15660. <bits access="rw" name="pad_spi_lcd_cs_out_frc" pos="24" rst="0">
  15661. <comment>spi_lcd_cs force output value for output.</comment>
  15662. </bits>
  15663. <bits access="rw" name="pad_spi_lcd_cs_out_reg" pos="20" rst="0">
  15664. <comment>spi_lcd_cs pin output value.</comment>
  15665. </bits>
  15666. <bits access="rw" name="pad_spi_lcd_cs_oen_reg" pos="17" rst="0">
  15667. <comment>spi_lcd_cs force outoen value.</comment>
  15668. </bits>
  15669. <bits access="rw" name="pad_spi_lcd_cs_pull_frc" pos="16" rst="0">
  15670. <comment>spi_lcd_cs force enable for pu/pd</comment>
  15671. </bits>
  15672. <bits access="rw" name="pad_spi_lcd_cs_pull_up" pos="9" rst="0">
  15673. <comment>spi_lcd_cs PUll up</comment>
  15674. </bits>
  15675. <bits access="rw" name="pad_spi_lcd_cs_pull_dn" pos="8" rst="0">
  15676. <comment>spi_lcd_cs PUll down</comment>
  15677. </bits>
  15678. <bits access="rw" name="pad_spi_lcd_cs_sel" pos="3:0" rst="0">
  15679. <comment>spi_lcd_cs select</comment>
  15680. <options>
  15681. <option name="fun_spi_lcd_cs_sel" value="0"/>
  15682. <option name="fun_gpio_3_sel" value="1"/>
  15683. <option name="fun_spi_flash1_sio_1_sel" value="2"/>
  15684. <option name="fun_debug_bus_8_sel" value="7"/>
  15685. <mask/>
  15686. <shift/>
  15687. <default/>
  15688. </options>
  15689. </bits>
  15690. </reg>
  15691. <reg name="pad_spi_lcd_select_cfg_reg" protect="rw">
  15692. <bits access="rw" name="pad_spi_lcd_select_oen_frc" pos="28" rst="0">
  15693. <comment>spi_lcd_select force enable for outoen.</comment>
  15694. </bits>
  15695. <bits access="rw" name="pad_spi_lcd_select_out_frc" pos="24" rst="0">
  15696. <comment>spi_lcd_select force output value for output.</comment>
  15697. </bits>
  15698. <bits access="rw" name="pad_spi_lcd_select_out_reg" pos="20" rst="0">
  15699. <comment>spi_lcd_select pin output value.</comment>
  15700. </bits>
  15701. <bits access="rw" name="pad_spi_lcd_select_oen_reg" pos="17" rst="0">
  15702. <comment>spi_lcd_select force outoen value.</comment>
  15703. </bits>
  15704. <bits access="rw" name="pad_spi_lcd_select_pull_frc" pos="16" rst="0">
  15705. <comment>spi_lcd_select force enable for pu/pd</comment>
  15706. </bits>
  15707. <bits access="rw" name="pad_spi_lcd_select_pull_up" pos="9" rst="0">
  15708. <comment>spi_lcd_select PUll up</comment>
  15709. </bits>
  15710. <bits access="rw" name="pad_spi_lcd_select_pull_dn" pos="8" rst="0">
  15711. <comment>spi_lcd_select PUll down</comment>
  15712. </bits>
  15713. <bits access="rw" name="pad_spi_lcd_select_sel" pos="3:0" rst="0">
  15714. <comment>spi_lcd_select select</comment>
  15715. <options>
  15716. <option name="fun_spi_lcd_select_sel" value="0"/>
  15717. <option name="fun_gpio_4_sel" value="1"/>
  15718. <option name="fun_spi_flash1_sio_2_sel" value="2"/>
  15719. <option name="fun_debug_bus_9_sel" value="7"/>
  15720. <mask/>
  15721. <shift/>
  15722. <default/>
  15723. </options>
  15724. </bits>
  15725. </reg>
  15726. <reg name="pad_lcd_fmark_cfg_reg" protect="rw">
  15727. <bits access="rw" name="pad_lcd_fmark_oen_frc" pos="28" rst="0">
  15728. <comment>lcd_fmark force enable for outoen.</comment>
  15729. </bits>
  15730. <bits access="rw" name="pad_lcd_fmark_out_frc" pos="24" rst="0">
  15731. <comment>lcd_fmark force output value for output.</comment>
  15732. </bits>
  15733. <bits access="rw" name="pad_lcd_fmark_out_reg" pos="20" rst="0">
  15734. <comment>lcd_fmark pin output value.</comment>
  15735. </bits>
  15736. <bits access="rw" name="pad_lcd_fmark_oen_reg" pos="17" rst="0">
  15737. <comment>lcd_fmark force outoen value.</comment>
  15738. </bits>
  15739. <bits access="rw" name="pad_lcd_fmark_pull_frc" pos="16" rst="0">
  15740. <comment>lcd_fmark force enable for pu/pd</comment>
  15741. </bits>
  15742. <bits access="rw" name="pad_lcd_fmark_pull_up" pos="9" rst="0">
  15743. <comment>lcd_fmark PUll up</comment>
  15744. </bits>
  15745. <bits access="rw" name="pad_lcd_fmark_pull_dn" pos="8" rst="0">
  15746. <comment>lcd_fmark PUll down</comment>
  15747. </bits>
  15748. <bits access="rw" name="pad_lcd_fmark_sel" pos="3:0" rst="0">
  15749. <comment>lcd_fmark select</comment>
  15750. <options>
  15751. <option name="fun_lcd_fmark_sel" value="0"/>
  15752. <option name="fun_gpio_5_sel" value="1"/>
  15753. <option name="fun_spi_flash1_sio_3_sel" value="2"/>
  15754. <option name="fun_uart_2_txd_sel" value="4"/>
  15755. <option name="fun_debug_bus_10_sel" value="7"/>
  15756. <mask/>
  15757. <shift/>
  15758. <default/>
  15759. </options>
  15760. </bits>
  15761. </reg>
  15762. <reg name="pad_lcd_rstb_cfg_reg" protect="rw">
  15763. <bits access="rw" name="pad_lcd_rstb_oen_frc" pos="28" rst="0">
  15764. <comment>lcd_rstb force enable for outoen.</comment>
  15765. </bits>
  15766. <bits access="rw" name="pad_lcd_rstb_out_frc" pos="24" rst="0">
  15767. <comment>lcd_rstb force output value for output.</comment>
  15768. </bits>
  15769. <bits access="rw" name="pad_lcd_rstb_out_reg" pos="20" rst="0">
  15770. <comment>lcd_rstb pin output value.</comment>
  15771. </bits>
  15772. <bits access="rw" name="pad_lcd_rstb_oen_reg" pos="17" rst="0">
  15773. <comment>lcd_rstb force outoen value.</comment>
  15774. </bits>
  15775. <bits access="rw" name="pad_lcd_rstb_pull_frc" pos="16" rst="0">
  15776. <comment>lcd_rstb force enable for pu/pd</comment>
  15777. </bits>
  15778. <bits access="rw" name="pad_lcd_rstb_pull_up" pos="9" rst="0">
  15779. <comment>lcd_rstb PUll up</comment>
  15780. </bits>
  15781. <bits access="rw" name="pad_lcd_rstb_pull_dn" pos="8" rst="0">
  15782. <comment>lcd_rstb PUll down</comment>
  15783. </bits>
  15784. <bits access="rw" name="pad_lcd_rstb_sel" pos="3:0" rst="0">
  15785. <comment>lcd_rstb select</comment>
  15786. <options>
  15787. <option name="fun_lcd_rstb_sel" value="0"/>
  15788. <option name="fun_gpio_6_sel" value="1"/>
  15789. <option name="fun_i2c_m3_scl_sel" value="3"/>
  15790. <option name="fun_debug_bus_11_sel" value="7"/>
  15791. <mask/>
  15792. <shift/>
  15793. <default/>
  15794. </options>
  15795. </bits>
  15796. </reg>
  15797. <reg name="pad_i2c_m1_scl_cfg_reg" protect="rw">
  15798. <bits access="rw" name="pad_i2c_m1_scl_oen_frc" pos="28" rst="0">
  15799. <comment>i2c_m1_scl force enable for outoen.</comment>
  15800. </bits>
  15801. <bits access="rw" name="pad_i2c_m1_scl_out_frc" pos="24" rst="0">
  15802. <comment>i2c_m1_scl force output value for output.</comment>
  15803. </bits>
  15804. <bits access="rw" name="pad_i2c_m1_scl_out_reg" pos="20" rst="0">
  15805. <comment>i2c_m1_scl pin output value.</comment>
  15806. </bits>
  15807. <bits access="rw" name="pad_i2c_m1_scl_oen_reg" pos="17" rst="0">
  15808. <comment>i2c_m1_scl force outoen value.</comment>
  15809. </bits>
  15810. <bits access="rw" name="pad_i2c_m1_scl_pull_frc" pos="16" rst="0">
  15811. <comment>i2c_m1_scl force enable for pu/pd</comment>
  15812. </bits>
  15813. <bits access="rw" name="pad_i2c_m1_scl_pull_up" pos="9" rst="0">
  15814. <comment>i2c_m1_scl PUll up</comment>
  15815. </bits>
  15816. <bits access="rw" name="pad_i2c_m1_scl_pull_dn" pos="8" rst="0">
  15817. <comment>i2c_m1_scl PUll down</comment>
  15818. </bits>
  15819. <bits access="rw" name="pad_i2c_m1_scl_sel" pos="3:0" rst="0">
  15820. <comment>i2c_m1_scl select</comment>
  15821. <options>
  15822. <option name="fun_i2c_m1_scl_sel" value="0"/>
  15823. <option name="fun_gpio_16_sel" value="4"/>
  15824. <option name="fun_debug_bus_0_sel" value="7"/>
  15825. <mask/>
  15826. <shift/>
  15827. <default/>
  15828. </options>
  15829. </bits>
  15830. </reg>
  15831. <reg name="pad_i2c_m1_sda_cfg_reg" protect="rw">
  15832. <bits access="rw" name="pad_i2c_m1_sda_oen_frc" pos="28" rst="0">
  15833. <comment>i2c_m1_sda force enable for outoen.</comment>
  15834. </bits>
  15835. <bits access="rw" name="pad_i2c_m1_sda_out_frc" pos="24" rst="0">
  15836. <comment>i2c_m1_sda force output value for output.</comment>
  15837. </bits>
  15838. <bits access="rw" name="pad_i2c_m1_sda_out_reg" pos="20" rst="0">
  15839. <comment>i2c_m1_sda pin output value.</comment>
  15840. </bits>
  15841. <bits access="rw" name="pad_i2c_m1_sda_oen_reg" pos="17" rst="0">
  15842. <comment>i2c_m1_sda force outoen value.</comment>
  15843. </bits>
  15844. <bits access="rw" name="pad_i2c_m1_sda_pull_frc" pos="16" rst="0">
  15845. <comment>i2c_m1_sda force enable for pu/pd</comment>
  15846. </bits>
  15847. <bits access="rw" name="pad_i2c_m1_sda_pull_up" pos="9" rst="0">
  15848. <comment>i2c_m1_sda PUll up</comment>
  15849. </bits>
  15850. <bits access="rw" name="pad_i2c_m1_sda_pull_dn" pos="8" rst="0">
  15851. <comment>i2c_m1_sda PUll down</comment>
  15852. </bits>
  15853. <bits access="rw" name="pad_i2c_m1_sda_sel" pos="3:0" rst="0">
  15854. <comment>i2c_m1_sda select</comment>
  15855. <options>
  15856. <option name="fun_i2c_m1_sda_sel" value="0"/>
  15857. <option name="fun_gpio_17_sel" value="4"/>
  15858. <option name="fun_debug_bus_1_sel" value="7"/>
  15859. <mask/>
  15860. <shift/>
  15861. <default/>
  15862. </options>
  15863. </bits>
  15864. </reg>
  15865. <reg name="pad_camera_rst_l_cfg_reg" protect="rw">
  15866. <bits access="rw" name="pad_camera_rst_l_oen_frc" pos="28" rst="0">
  15867. <comment>camera_rst_l force enable for outoen.</comment>
  15868. </bits>
  15869. <bits access="rw" name="pad_camera_rst_l_out_frc" pos="24" rst="0">
  15870. <comment>camera_rst_l force output value for output.</comment>
  15871. </bits>
  15872. <bits access="rw" name="pad_camera_rst_l_out_reg" pos="20" rst="0">
  15873. <comment>camera_rst_l pin output value.</comment>
  15874. </bits>
  15875. <bits access="rw" name="pad_camera_rst_l_oen_reg" pos="17" rst="0">
  15876. <comment>camera_rst_l force outoen value.</comment>
  15877. </bits>
  15878. <bits access="rw" name="pad_camera_rst_l_pull_frc" pos="16" rst="0">
  15879. <comment>camera_rst_l force enable for pu/pd</comment>
  15880. </bits>
  15881. <bits access="rw" name="pad_camera_rst_l_pull_up" pos="9" rst="0">
  15882. <comment>camera_rst_l PUll up</comment>
  15883. </bits>
  15884. <bits access="rw" name="pad_camera_rst_l_pull_dn" pos="8" rst="0">
  15885. <comment>camera_rst_l PUll down</comment>
  15886. </bits>
  15887. <bits access="rw" name="pad_camera_rst_l_sel" pos="3:0" rst="0">
  15888. <comment>camera_rst_l select</comment>
  15889. <options>
  15890. <option name="fun_camera_rst_l_sel" value="0"/>
  15891. <option name="fun_i2c_m1_scl_sel" value="1"/>
  15892. <option name="fun_gpio_18_sel" value="4"/>
  15893. <option name="fun_debug_bus_2_sel" value="7"/>
  15894. <mask/>
  15895. <shift/>
  15896. <default/>
  15897. </options>
  15898. </bits>
  15899. </reg>
  15900. <reg name="pad_camera_pwdn_cfg_reg" protect="rw">
  15901. <bits access="rw" name="pad_camera_pwdn_oen_frc" pos="28" rst="0">
  15902. <comment>camera_pwdn force enable for outoen.</comment>
  15903. </bits>
  15904. <bits access="rw" name="pad_camera_pwdn_out_frc" pos="24" rst="0">
  15905. <comment>camera_pwdn force output value for output.</comment>
  15906. </bits>
  15907. <bits access="rw" name="pad_camera_pwdn_out_reg" pos="20" rst="0">
  15908. <comment>camera_pwdn pin output value.</comment>
  15909. </bits>
  15910. <bits access="rw" name="pad_camera_pwdn_oen_reg" pos="17" rst="0">
  15911. <comment>camera_pwdn force outoen value.</comment>
  15912. </bits>
  15913. <bits access="rw" name="pad_camera_pwdn_pull_frc" pos="16" rst="0">
  15914. <comment>camera_pwdn force enable for pu/pd</comment>
  15915. </bits>
  15916. <bits access="rw" name="pad_camera_pwdn_pull_up" pos="9" rst="0">
  15917. <comment>camera_pwdn PUll up</comment>
  15918. </bits>
  15919. <bits access="rw" name="pad_camera_pwdn_pull_dn" pos="8" rst="0">
  15920. <comment>camera_pwdn PUll down</comment>
  15921. </bits>
  15922. <bits access="rw" name="pad_camera_pwdn_sel" pos="3:0" rst="0">
  15923. <comment>camera_pwdn select</comment>
  15924. <options>
  15925. <option name="fun_camera_pwdn_sel" value="0"/>
  15926. <option name="fun_i2c_m1_sda_sel" value="1"/>
  15927. <option name="fun_gpio_19_sel" value="4"/>
  15928. <option name="fun_debug_bus_3_sel" value="7"/>
  15929. <mask/>
  15930. <shift/>
  15931. <default/>
  15932. </options>
  15933. </bits>
  15934. </reg>
  15935. <reg name="pad_camera_ref_clk_cfg_reg" protect="rw">
  15936. <bits access="rw" name="pad_camera_ref_clk_oen_frc" pos="28" rst="0">
  15937. <comment>camera_ref_clk force enable for outoen.</comment>
  15938. </bits>
  15939. <bits access="rw" name="pad_camera_ref_clk_out_frc" pos="24" rst="0">
  15940. <comment>camera_ref_clk force output value for output.</comment>
  15941. </bits>
  15942. <bits access="rw" name="pad_camera_ref_clk_out_reg" pos="20" rst="0">
  15943. <comment>camera_ref_clk pin output value.</comment>
  15944. </bits>
  15945. <bits access="rw" name="pad_camera_ref_clk_oen_reg" pos="17" rst="0">
  15946. <comment>camera_ref_clk force outoen value.</comment>
  15947. </bits>
  15948. <bits access="rw" name="pad_camera_ref_clk_pull_frc" pos="16" rst="0">
  15949. <comment>camera_ref_clk force enable for pu/pd</comment>
  15950. </bits>
  15951. <bits access="rw" name="pad_camera_ref_clk_pull_up" pos="9" rst="0">
  15952. <comment>camera_ref_clk PUll up</comment>
  15953. </bits>
  15954. <bits access="rw" name="pad_camera_ref_clk_pull_dn" pos="8" rst="0">
  15955. <comment>camera_ref_clk PUll down</comment>
  15956. </bits>
  15957. <bits access="rw" name="pad_camera_ref_clk_sel" pos="3:0" rst="0">
  15958. <comment>camera_ref_clk select</comment>
  15959. <options>
  15960. <option name="fun_camera_ref_clk_sel" value="0"/>
  15961. <option name="fun_gpio_20_sel" value="4"/>
  15962. <option name="fun_debug_bus_4_sel" value="7"/>
  15963. <mask/>
  15964. <shift/>
  15965. <default/>
  15966. </options>
  15967. </bits>
  15968. </reg>
  15969. <reg name="pad_spi_camera_si_0_cfg_reg" protect="rw">
  15970. <bits access="rw" name="pad_spi_camera_si_0_oen_frc" pos="28" rst="0">
  15971. <comment>spi_camera_si_0 force enable for outoen.</comment>
  15972. </bits>
  15973. <bits access="rw" name="pad_spi_camera_si_0_out_frc" pos="24" rst="0">
  15974. <comment>spi_camera_si_0 force output value for output.</comment>
  15975. </bits>
  15976. <bits access="rw" name="pad_spi_camera_si_0_out_reg" pos="20" rst="0">
  15977. <comment>spi_camera_si_0 pin output value.</comment>
  15978. </bits>
  15979. <bits access="rw" name="pad_spi_camera_si_0_oen_reg" pos="17" rst="0">
  15980. <comment>spi_camera_si_0 force outoen value.</comment>
  15981. </bits>
  15982. <bits access="rw" name="pad_spi_camera_si_0_pull_frc" pos="16" rst="0">
  15983. <comment>spi_camera_si_0 force enable for pu/pd</comment>
  15984. </bits>
  15985. <bits access="rw" name="pad_spi_camera_si_0_pull_up" pos="9" rst="0">
  15986. <comment>spi_camera_si_0 PUll up</comment>
  15987. </bits>
  15988. <bits access="rw" name="pad_spi_camera_si_0_pull_dn" pos="8" rst="0">
  15989. <comment>spi_camera_si_0 PUll down</comment>
  15990. </bits>
  15991. <bits access="rw" name="pad_spi_camera_si_0_sel" pos="3:0" rst="0">
  15992. <comment>spi_camera_si_0 select</comment>
  15993. <options>
  15994. <option name="fun_spi_lvds_do_sel" value="3"/>
  15995. <option name="fun_gpio_21_sel" value="4"/>
  15996. <option name="fun_debug_bus_5_sel" value="7"/>
  15997. <mask/>
  15998. <shift/>
  15999. <default/>
  16000. </options>
  16001. </bits>
  16002. </reg>
  16003. <reg name="pad_spi_camera_si_1_cfg_reg" protect="rw">
  16004. <bits access="rw" name="pad_spi_camera_si_1_oen_frc" pos="28" rst="0">
  16005. <comment>spi_camera_si_1 force enable for outoen.</comment>
  16006. </bits>
  16007. <bits access="rw" name="pad_spi_camera_si_1_out_frc" pos="24" rst="0">
  16008. <comment>spi_camera_si_1 force output value for output.</comment>
  16009. </bits>
  16010. <bits access="rw" name="pad_spi_camera_si_1_out_reg" pos="20" rst="0">
  16011. <comment>spi_camera_si_1 pin output value.</comment>
  16012. </bits>
  16013. <bits access="rw" name="pad_spi_camera_si_1_oen_reg" pos="17" rst="0">
  16014. <comment>spi_camera_si_1 force outoen value.</comment>
  16015. </bits>
  16016. <bits access="rw" name="pad_spi_camera_si_1_pull_frc" pos="16" rst="0">
  16017. <comment>spi_camera_si_1 force enable for pu/pd</comment>
  16018. </bits>
  16019. <bits access="rw" name="pad_spi_camera_si_1_pull_up" pos="9" rst="0">
  16020. <comment>spi_camera_si_1 PUll up</comment>
  16021. </bits>
  16022. <bits access="rw" name="pad_spi_camera_si_1_pull_dn" pos="8" rst="0">
  16023. <comment>spi_camera_si_1 PUll down</comment>
  16024. </bits>
  16025. <bits access="rw" name="pad_spi_camera_si_1_sel" pos="3:0" rst="0">
  16026. <comment>spi_camera_si_1 select</comment>
  16027. <options>
  16028. <option name="fun_spi_camera_ssn_sel" value="2"/>
  16029. <option name="fun_gpio_22_sel" value="4"/>
  16030. <option name="fun_debug_bus_6_sel" value="7"/>
  16031. <mask/>
  16032. <shift/>
  16033. <default/>
  16034. </options>
  16035. </bits>
  16036. </reg>
  16037. <reg name="pad_spi_camera_sck_cfg_reg" protect="rw">
  16038. <bits access="rw" name="pad_spi_camera_sck_oen_frc" pos="28" rst="0">
  16039. <comment>spi_camera_sck force enable for outoen.</comment>
  16040. </bits>
  16041. <bits access="rw" name="pad_spi_camera_sck_out_frc" pos="24" rst="0">
  16042. <comment>spi_camera_sck force output value for output.</comment>
  16043. </bits>
  16044. <bits access="rw" name="pad_spi_camera_sck_out_reg" pos="20" rst="0">
  16045. <comment>spi_camera_sck pin output value.</comment>
  16046. </bits>
  16047. <bits access="rw" name="pad_spi_camera_sck_oen_reg" pos="17" rst="0">
  16048. <comment>spi_camera_sck force outoen value.</comment>
  16049. </bits>
  16050. <bits access="rw" name="pad_spi_camera_sck_pull_frc" pos="16" rst="0">
  16051. <comment>spi_camera_sck force enable for pu/pd</comment>
  16052. </bits>
  16053. <bits access="rw" name="pad_spi_camera_sck_pull_up" pos="9" rst="0">
  16054. <comment>spi_camera_sck PUll up</comment>
  16055. </bits>
  16056. <bits access="rw" name="pad_spi_camera_sck_pull_dn" pos="8" rst="0">
  16057. <comment>spi_camera_sck PUll down</comment>
  16058. </bits>
  16059. <bits access="rw" name="pad_spi_camera_sck_sel" pos="3:0" rst="0">
  16060. <comment>spi_camera_sck select</comment>
  16061. <options>
  16062. <option name="fun_spi_camera_sck_sel" value="0"/>
  16063. <option name="fun_gpio_23_sel" value="4"/>
  16064. <option name="fun_debug_bus_7_sel" value="7"/>
  16065. <mask/>
  16066. <shift/>
  16067. <default/>
  16068. </options>
  16069. </bits>
  16070. </reg>
  16071. <reg name="pad_gpio_13_cfg_reg" protect="rw">
  16072. <bits access="rw" name="pad_gpio_13_oen_frc" pos="28" rst="0">
  16073. <comment>gpio_13 force enable for outoen.</comment>
  16074. </bits>
  16075. <bits access="rw" name="pad_gpio_13_out_frc" pos="24" rst="0">
  16076. <comment>gpio_13 force output value for output.</comment>
  16077. </bits>
  16078. <bits access="rw" name="pad_gpio_13_out_reg" pos="20" rst="0">
  16079. <comment>gpio_13 pin output value.</comment>
  16080. </bits>
  16081. <bits access="rw" name="pad_gpio_13_oen_reg" pos="17" rst="0">
  16082. <comment>gpio_13 force outoen value.</comment>
  16083. </bits>
  16084. <bits access="rw" name="pad_gpio_13_pull_frc" pos="16" rst="0">
  16085. <comment>gpio_13 force enable for pu/pd</comment>
  16086. </bits>
  16087. <bits access="rw" name="pad_gpio_13_pull_up" pos="9" rst="0">
  16088. <comment>gpio_13 PUll up</comment>
  16089. </bits>
  16090. <bits access="rw" name="pad_gpio_13_pull_dn" pos="8" rst="0">
  16091. <comment>gpio_13 PUll down</comment>
  16092. </bits>
  16093. <bits access="rw" name="pad_gpio_13_sel" pos="3:0" rst="0">
  16094. <comment>gpio_13 select</comment>
  16095. <options>
  16096. <option name="fun_gpio_13_sel" value="0"/>
  16097. <option name="fun_pwm_lpg_out_sel" value="1"/>
  16098. <mask/>
  16099. <shift/>
  16100. <default/>
  16101. </options>
  16102. </bits>
  16103. </reg>
  16104. <reg name="pad_gpio_0_cfg_reg" protect="rw">
  16105. <bits access="rw" name="pad_gpio_0_oen_frc" pos="28" rst="0">
  16106. <comment>gpio_0 force enable for outoen.</comment>
  16107. </bits>
  16108. <bits access="rw" name="pad_gpio_0_out_frc" pos="24" rst="0">
  16109. <comment>gpio_0 force output value for output.</comment>
  16110. </bits>
  16111. <bits access="rw" name="pad_gpio_0_out_reg" pos="20" rst="0">
  16112. <comment>gpio_0 pin output value.</comment>
  16113. </bits>
  16114. <bits access="rw" name="pad_gpio_0_oen_reg" pos="17" rst="0">
  16115. <comment>gpio_0 force outoen value.</comment>
  16116. </bits>
  16117. <bits access="rw" name="pad_gpio_0_pull_frc" pos="16" rst="0">
  16118. <comment>gpio_0 force enable for pu/pd</comment>
  16119. </bits>
  16120. <bits access="rw" name="pad_gpio_0_pull_up" pos="9" rst="0">
  16121. <comment>gpio_0 PUll up</comment>
  16122. </bits>
  16123. <bits access="rw" name="pad_gpio_0_pull_dn" pos="8" rst="0">
  16124. <comment>gpio_0 PUll down</comment>
  16125. </bits>
  16126. <bits access="rw" name="pad_gpio_0_sel" pos="3:0" rst="0">
  16127. <comment>gpio_0 select</comment>
  16128. <options>
  16129. <option name="fun_gpio_0_sel" value="0"/>
  16130. <option name="fun_spi_flash1_clk_sel" value="1"/>
  16131. <option name="fun_spi_2_clk_sel" value="2"/>
  16132. <option name="fun_i2s2_bck_sel" value="3"/>
  16133. <option name="fun_debug_clk_sel" value="7"/>
  16134. <option name="fun_wcn_ext_m_bb_senb_sel" value="8"/>
  16135. <mask/>
  16136. <shift/>
  16137. <default/>
  16138. </options>
  16139. </bits>
  16140. </reg>
  16141. <reg name="pad_gpio_1_cfg_reg" protect="rw">
  16142. <bits access="rw" name="pad_gpio_1_oen_frc" pos="28" rst="0">
  16143. <comment>gpio_1 force enable for outoen.</comment>
  16144. </bits>
  16145. <bits access="rw" name="pad_gpio_1_out_frc" pos="24" rst="0">
  16146. <comment>gpio_1 force output value for output.</comment>
  16147. </bits>
  16148. <bits access="rw" name="pad_gpio_1_out_reg" pos="20" rst="0">
  16149. <comment>gpio_1 pin output value.</comment>
  16150. </bits>
  16151. <bits access="rw" name="pad_gpio_1_oen_reg" pos="17" rst="0">
  16152. <comment>gpio_1 force outoen value.</comment>
  16153. </bits>
  16154. <bits access="rw" name="pad_gpio_1_pull_frc" pos="16" rst="0">
  16155. <comment>gpio_1 force enable for pu/pd</comment>
  16156. </bits>
  16157. <bits access="rw" name="pad_gpio_1_pull_up" pos="9" rst="0">
  16158. <comment>gpio_1 PUll up</comment>
  16159. </bits>
  16160. <bits access="rw" name="pad_gpio_1_pull_dn" pos="8" rst="0">
  16161. <comment>gpio_1 PUll down</comment>
  16162. </bits>
  16163. <bits access="rw" name="pad_gpio_1_sel" pos="3:0" rst="0">
  16164. <comment>gpio_1 select</comment>
  16165. <options>
  16166. <option name="fun_gpio_1_sel" value="0"/>
  16167. <option name="fun_spi_flash1_cs_sel" value="1"/>
  16168. <option name="fun_spi_2_cs_0_sel" value="2"/>
  16169. <option name="fun_i2s2_lrck_sel" value="3"/>
  16170. <option name="fun_uart_txd_rf_sel" value="5"/>
  16171. <option name="fun_debug_bus_0_sel" value="7"/>
  16172. <option name="fun_wcn_ext_m_bb_sclk_sel" value="8"/>
  16173. <mask/>
  16174. <shift/>
  16175. <default/>
  16176. </options>
  16177. </bits>
  16178. </reg>
  16179. <reg name="pad_gpio_2_cfg_reg" protect="rw">
  16180. <bits access="rw" name="pad_gpio_2_oen_frc" pos="28" rst="0">
  16181. <comment>gpio_2 force enable for outoen.</comment>
  16182. </bits>
  16183. <bits access="rw" name="pad_gpio_2_out_frc" pos="24" rst="0">
  16184. <comment>gpio_2 force output value for output.</comment>
  16185. </bits>
  16186. <bits access="rw" name="pad_gpio_2_out_reg" pos="20" rst="0">
  16187. <comment>gpio_2 pin output value.</comment>
  16188. </bits>
  16189. <bits access="rw" name="pad_gpio_2_oen_reg" pos="17" rst="0">
  16190. <comment>gpio_2 force outoen value.</comment>
  16191. </bits>
  16192. <bits access="rw" name="pad_gpio_2_pull_frc" pos="16" rst="0">
  16193. <comment>gpio_2 force enable for pu/pd</comment>
  16194. </bits>
  16195. <bits access="rw" name="pad_gpio_2_pull_up" pos="9" rst="0">
  16196. <comment>gpio_2 PUll up</comment>
  16197. </bits>
  16198. <bits access="rw" name="pad_gpio_2_pull_dn" pos="8" rst="0">
  16199. <comment>gpio_2 PUll down</comment>
  16200. </bits>
  16201. <bits access="rw" name="pad_gpio_2_sel" pos="3:0" rst="0">
  16202. <comment>gpio_2 select</comment>
  16203. <options>
  16204. <option name="fun_gpio_2_sel" value="0"/>
  16205. <option name="fun_spi_flash1_sio_0_sel" value="1"/>
  16206. <option name="fun_spi_2_dio_0_sel" value="2"/>
  16207. <option name="fun_wcn_hst_txd_sel" value="5"/>
  16208. <option name="fun_debug_bus_1_sel" value="7"/>
  16209. <mask/>
  16210. <shift/>
  16211. <default/>
  16212. </options>
  16213. </bits>
  16214. </reg>
  16215. <reg name="pad_gpio_3_cfg_reg" protect="rw">
  16216. <bits access="rw" name="pad_gpio_3_oen_frc" pos="28" rst="0">
  16217. <comment>gpio_3 force enable for outoen.</comment>
  16218. </bits>
  16219. <bits access="rw" name="pad_gpio_3_out_frc" pos="24" rst="0">
  16220. <comment>gpio_3 force output value for output.</comment>
  16221. </bits>
  16222. <bits access="rw" name="pad_gpio_3_out_reg" pos="20" rst="0">
  16223. <comment>gpio_3 pin output value.</comment>
  16224. </bits>
  16225. <bits access="rw" name="pad_gpio_3_oen_reg" pos="17" rst="0">
  16226. <comment>gpio_3 force outoen value.</comment>
  16227. </bits>
  16228. <bits access="rw" name="pad_gpio_3_pull_frc" pos="16" rst="0">
  16229. <comment>gpio_3 force enable for pu/pd</comment>
  16230. </bits>
  16231. <bits access="rw" name="pad_gpio_3_pull_up" pos="9" rst="0">
  16232. <comment>gpio_3 PUll up</comment>
  16233. </bits>
  16234. <bits access="rw" name="pad_gpio_3_pull_dn" pos="8" rst="0">
  16235. <comment>gpio_3 PUll down</comment>
  16236. </bits>
  16237. <bits access="rw" name="pad_gpio_3_sel" pos="3:0" rst="0">
  16238. <comment>gpio_3 select</comment>
  16239. <options>
  16240. <option name="fun_gpio_3_sel" value="0"/>
  16241. <option name="fun_spi_flash1_sio_1_sel" value="1"/>
  16242. <option name="fun_i2s2_sdat_o_sel" value="3"/>
  16243. <option name="fun_debug_bus_2_sel" value="7"/>
  16244. <mask/>
  16245. <shift/>
  16246. <default/>
  16247. </options>
  16248. </bits>
  16249. </reg>
  16250. <reg name="pad_gpio_4_cfg_reg" protect="rw">
  16251. <bits access="rw" name="pad_gpio_4_oen_frc" pos="28" rst="0">
  16252. <comment>gpio_4 force enable for outoen.</comment>
  16253. </bits>
  16254. <bits access="rw" name="pad_gpio_4_out_frc" pos="24" rst="0">
  16255. <comment>gpio_4 force output value for output.</comment>
  16256. </bits>
  16257. <bits access="rw" name="pad_gpio_4_out_reg" pos="20" rst="0">
  16258. <comment>gpio_4 pin output value.</comment>
  16259. </bits>
  16260. <bits access="rw" name="pad_gpio_4_oen_reg" pos="17" rst="0">
  16261. <comment>gpio_4 force outoen value.</comment>
  16262. </bits>
  16263. <bits access="rw" name="pad_gpio_4_pull_frc" pos="16" rst="0">
  16264. <comment>gpio_4 force enable for pu/pd</comment>
  16265. </bits>
  16266. <bits access="rw" name="pad_gpio_4_pull_up" pos="9" rst="0">
  16267. <comment>gpio_4 PUll up</comment>
  16268. </bits>
  16269. <bits access="rw" name="pad_gpio_4_pull_dn" pos="8" rst="0">
  16270. <comment>gpio_4 PUll down</comment>
  16271. </bits>
  16272. <bits access="rw" name="pad_gpio_4_sel" pos="3:0" rst="0">
  16273. <comment>gpio_4 select</comment>
  16274. <options>
  16275. <option name="fun_gpio_4_sel" value="0"/>
  16276. <option name="fun_spi_flash1_sio_2_sel" value="1"/>
  16277. <option name="fun_spi_2_cs_1_sel" value="2"/>
  16278. <option name="fun_pwl_out_0_sel" value="3"/>
  16279. <option name="fun_wcn_jtag_tdo_sel" value="4"/>
  16280. <option name="fun_i2c_m3_scl_sel" value="6"/>
  16281. <option name="fun_debug_bus_3_sel" value="7"/>
  16282. <option name="fun_wcn_ext_m_bb_sdo_sel" value="8"/>
  16283. <mask/>
  16284. <shift/>
  16285. <default/>
  16286. </options>
  16287. </bits>
  16288. </reg>
  16289. <reg name="pad_gpio_5_cfg_reg" protect="rw">
  16290. <bits access="rw" name="pad_gpio_5_oen_frc" pos="28" rst="0">
  16291. <comment>gpio_5 force enable for outoen.</comment>
  16292. </bits>
  16293. <bits access="rw" name="pad_gpio_5_out_frc" pos="24" rst="0">
  16294. <comment>gpio_5 force output value for output.</comment>
  16295. </bits>
  16296. <bits access="rw" name="pad_gpio_5_out_reg" pos="20" rst="0">
  16297. <comment>gpio_5 pin output value.</comment>
  16298. </bits>
  16299. <bits access="rw" name="pad_gpio_5_oen_reg" pos="17" rst="0">
  16300. <comment>gpio_5 force outoen value.</comment>
  16301. </bits>
  16302. <bits access="rw" name="pad_gpio_5_pull_frc" pos="16" rst="0">
  16303. <comment>gpio_5 force enable for pu/pd</comment>
  16304. </bits>
  16305. <bits access="rw" name="pad_gpio_5_pull_up" pos="9" rst="0">
  16306. <comment>gpio_5 PUll up</comment>
  16307. </bits>
  16308. <bits access="rw" name="pad_gpio_5_pull_dn" pos="8" rst="0">
  16309. <comment>gpio_5 PUll down</comment>
  16310. </bits>
  16311. <bits access="rw" name="pad_gpio_5_sel" pos="3:0" rst="0">
  16312. <comment>gpio_5 select</comment>
  16313. <options>
  16314. <option name="fun_gpio_5_sel" value="0"/>
  16315. <option name="fun_spi_flash1_sio_3_sel" value="1"/>
  16316. <option name="fun_pwt_out_sel" value="2"/>
  16317. <option name="fun_wcn_uart_rts_sel" value="4"/>
  16318. <option name="fun_wcn_uart_txd_sel" value="5"/>
  16319. <option name="fun_i2c_m3_sda_sel" value="6"/>
  16320. <option name="fun_debug_bus_4_sel" value="7"/>
  16321. <mask/>
  16322. <shift/>
  16323. <default/>
  16324. </options>
  16325. </bits>
  16326. </reg>
  16327. <reg name="pad_gpio_7_cfg_reg" protect="rw">
  16328. <bits access="rw" name="pad_gpio_7_oen_frc" pos="28" rst="0">
  16329. <comment>gpio_7 force enable for outoen.</comment>
  16330. </bits>
  16331. <bits access="rw" name="pad_gpio_7_out_frc" pos="24" rst="0">
  16332. <comment>gpio_7 force output value for output.</comment>
  16333. </bits>
  16334. <bits access="rw" name="pad_gpio_7_out_reg" pos="20" rst="0">
  16335. <comment>gpio_7 pin output value.</comment>
  16336. </bits>
  16337. <bits access="rw" name="pad_gpio_7_oen_reg" pos="17" rst="0">
  16338. <comment>gpio_7 force outoen value.</comment>
  16339. </bits>
  16340. <bits access="rw" name="pad_gpio_7_pull_frc" pos="16" rst="0">
  16341. <comment>gpio_7 force enable for pu/pd</comment>
  16342. </bits>
  16343. <bits access="rw" name="pad_gpio_7_pull_up" pos="9" rst="0">
  16344. <comment>gpio_7 PUll up</comment>
  16345. </bits>
  16346. <bits access="rw" name="pad_gpio_7_pull_dn" pos="8" rst="0">
  16347. <comment>gpio_7 PUll down</comment>
  16348. </bits>
  16349. <bits access="rw" name="pad_gpio_7_sel" pos="3:0" rst="0">
  16350. <comment>gpio_7 select</comment>
  16351. <options>
  16352. <option name="fun_gpio_7_sel" value="0"/>
  16353. <option name="fun_sdmmc2_clk_sel" value="1"/>
  16354. <option name="fun_spi_1_clk_sel" value="2"/>
  16355. <option name="fun_pwl_out_1_sel" value="3"/>
  16356. <mask/>
  16357. <shift/>
  16358. <default/>
  16359. </options>
  16360. </bits>
  16361. </reg>
  16362. <reg name="pad_ap_jtag_tck_cfg_reg" protect="rw">
  16363. <bits access="rw" name="pad_ap_jtag_tck_oen_frc" pos="28" rst="0">
  16364. <comment>ap_jtag_tck force enable for outoen.</comment>
  16365. </bits>
  16366. <bits access="rw" name="pad_ap_jtag_tck_out_frc" pos="24" rst="0">
  16367. <comment>ap_jtag_tck force output value for output.</comment>
  16368. </bits>
  16369. <bits access="rw" name="pad_ap_jtag_tck_out_reg" pos="20" rst="0">
  16370. <comment>ap_jtag_tck pin output value.</comment>
  16371. </bits>
  16372. <bits access="rw" name="pad_ap_jtag_tck_oen_reg" pos="17" rst="0">
  16373. <comment>ap_jtag_tck force outoen value.</comment>
  16374. </bits>
  16375. <bits access="rw" name="pad_ap_jtag_tck_pull_frc" pos="16" rst="0">
  16376. <comment>ap_jtag_tck force enable for pu/pd</comment>
  16377. </bits>
  16378. <bits access="rw" name="pad_ap_jtag_tck_pull_up" pos="9" rst="0">
  16379. <comment>ap_jtag_tck PUll up</comment>
  16380. </bits>
  16381. <bits access="rw" name="pad_ap_jtag_tck_pull_dn" pos="8" rst="0">
  16382. <comment>ap_jtag_tck PUll down</comment>
  16383. </bits>
  16384. <bits access="rw" name="pad_ap_jtag_tck_sel" pos="3:0" rst="0">
  16385. <comment>ap_jtag_tck select</comment>
  16386. <options>
  16387. <option name="fun_sdmmc2_cmd_sel" value="1"/>
  16388. <option name="fun_spi_1_cs_0_sel" value="2"/>
  16389. <option name="fun_gpio_8_sel" value="5"/>
  16390. <mask/>
  16391. <shift/>
  16392. <default/>
  16393. </options>
  16394. </bits>
  16395. </reg>
  16396. <reg name="pad_ap_jtag_trst_cfg_reg" protect="rw">
  16397. <bits access="rw" name="pad_ap_jtag_trst_oen_frc" pos="28" rst="0">
  16398. <comment>ap_jtag_trst force enable for outoen.</comment>
  16399. </bits>
  16400. <bits access="rw" name="pad_ap_jtag_trst_out_frc" pos="24" rst="0">
  16401. <comment>ap_jtag_trst force output value for output.</comment>
  16402. </bits>
  16403. <bits access="rw" name="pad_ap_jtag_trst_out_reg" pos="20" rst="0">
  16404. <comment>ap_jtag_trst pin output value.</comment>
  16405. </bits>
  16406. <bits access="rw" name="pad_ap_jtag_trst_oen_reg" pos="17" rst="0">
  16407. <comment>ap_jtag_trst force outoen value.</comment>
  16408. </bits>
  16409. <bits access="rw" name="pad_ap_jtag_trst_pull_frc" pos="16" rst="0">
  16410. <comment>ap_jtag_trst force enable for pu/pd</comment>
  16411. </bits>
  16412. <bits access="rw" name="pad_ap_jtag_trst_pull_up" pos="9" rst="0">
  16413. <comment>ap_jtag_trst PUll up</comment>
  16414. </bits>
  16415. <bits access="rw" name="pad_ap_jtag_trst_pull_dn" pos="8" rst="0">
  16416. <comment>ap_jtag_trst PUll down</comment>
  16417. </bits>
  16418. <bits access="rw" name="pad_ap_jtag_trst_sel" pos="3:0" rst="0">
  16419. <comment>ap_jtag_trst select</comment>
  16420. <options>
  16421. <option name="fun_sdmmc2_data_0_sel" value="1"/>
  16422. <option name="fun_spi_1_dio_0_sel" value="2"/>
  16423. <option name="fun_gpio_9_sel" value="5"/>
  16424. <mask/>
  16425. <shift/>
  16426. <default/>
  16427. </options>
  16428. </bits>
  16429. </reg>
  16430. <reg name="pad_ap_jtag_tms_cfg_reg" protect="rw">
  16431. <bits access="rw" name="pad_ap_jtag_tms_oen_frc" pos="28" rst="0">
  16432. <comment>ap_jtag_tms force enable for outoen.</comment>
  16433. </bits>
  16434. <bits access="rw" name="pad_ap_jtag_tms_out_frc" pos="24" rst="0">
  16435. <comment>ap_jtag_tms force output value for output.</comment>
  16436. </bits>
  16437. <bits access="rw" name="pad_ap_jtag_tms_out_reg" pos="20" rst="0">
  16438. <comment>ap_jtag_tms pin output value.</comment>
  16439. </bits>
  16440. <bits access="rw" name="pad_ap_jtag_tms_oen_reg" pos="17" rst="0">
  16441. <comment>ap_jtag_tms force outoen value.</comment>
  16442. </bits>
  16443. <bits access="rw" name="pad_ap_jtag_tms_pull_frc" pos="16" rst="0">
  16444. <comment>ap_jtag_tms force enable for pu/pd</comment>
  16445. </bits>
  16446. <bits access="rw" name="pad_ap_jtag_tms_pull_up" pos="9" rst="0">
  16447. <comment>ap_jtag_tms PUll up</comment>
  16448. </bits>
  16449. <bits access="rw" name="pad_ap_jtag_tms_pull_dn" pos="8" rst="0">
  16450. <comment>ap_jtag_tms PUll down</comment>
  16451. </bits>
  16452. <bits access="rw" name="pad_ap_jtag_tms_sel" pos="3:0" rst="0">
  16453. <comment>ap_jtag_tms select</comment>
  16454. <options>
  16455. <option name="fun_ap_jtag_tms_sel" value="0"/>
  16456. <option name="fun_sdmmc2_data_1_sel" value="1"/>
  16457. <option name="fun_gpio_10_sel" value="5"/>
  16458. <mask/>
  16459. <shift/>
  16460. <default/>
  16461. </options>
  16462. </bits>
  16463. </reg>
  16464. <reg name="pad_ap_jtag_tdi_cfg_reg" protect="rw">
  16465. <bits access="rw" name="pad_ap_jtag_tdi_oen_frc" pos="28" rst="0">
  16466. <comment>ap_jtag_tdi force enable for outoen.</comment>
  16467. </bits>
  16468. <bits access="rw" name="pad_ap_jtag_tdi_out_frc" pos="24" rst="0">
  16469. <comment>ap_jtag_tdi force output value for output.</comment>
  16470. </bits>
  16471. <bits access="rw" name="pad_ap_jtag_tdi_out_reg" pos="20" rst="0">
  16472. <comment>ap_jtag_tdi pin output value.</comment>
  16473. </bits>
  16474. <bits access="rw" name="pad_ap_jtag_tdi_oen_reg" pos="17" rst="0">
  16475. <comment>ap_jtag_tdi force outoen value.</comment>
  16476. </bits>
  16477. <bits access="rw" name="pad_ap_jtag_tdi_pull_frc" pos="16" rst="0">
  16478. <comment>ap_jtag_tdi force enable for pu/pd</comment>
  16479. </bits>
  16480. <bits access="rw" name="pad_ap_jtag_tdi_pull_up" pos="9" rst="0">
  16481. <comment>ap_jtag_tdi PUll up</comment>
  16482. </bits>
  16483. <bits access="rw" name="pad_ap_jtag_tdi_pull_dn" pos="8" rst="0">
  16484. <comment>ap_jtag_tdi PUll down</comment>
  16485. </bits>
  16486. <bits access="rw" name="pad_ap_jtag_tdi_sel" pos="3:0" rst="0">
  16487. <comment>ap_jtag_tdi select</comment>
  16488. <options>
  16489. <option name="fun_sdmmc2_data_2_sel" value="1"/>
  16490. <option name="fun_spi_1_cs_1_sel" value="2"/>
  16491. <option name="fun_gpio_11_sel" value="5"/>
  16492. <mask/>
  16493. <shift/>
  16494. <default/>
  16495. </options>
  16496. </bits>
  16497. </reg>
  16498. <reg name="pad_ap_jtag_tdo_cfg_reg" protect="rw">
  16499. <bits access="rw" name="pad_ap_jtag_tdo_oen_frc" pos="28" rst="0">
  16500. <comment>ap_jtag_tdo force enable for outoen.</comment>
  16501. </bits>
  16502. <bits access="rw" name="pad_ap_jtag_tdo_out_frc" pos="24" rst="0">
  16503. <comment>ap_jtag_tdo force output value for output.</comment>
  16504. </bits>
  16505. <bits access="rw" name="pad_ap_jtag_tdo_out_reg" pos="20" rst="0">
  16506. <comment>ap_jtag_tdo pin output value.</comment>
  16507. </bits>
  16508. <bits access="rw" name="pad_ap_jtag_tdo_oen_reg" pos="17" rst="0">
  16509. <comment>ap_jtag_tdo force outoen value.</comment>
  16510. </bits>
  16511. <bits access="rw" name="pad_ap_jtag_tdo_pull_frc" pos="16" rst="0">
  16512. <comment>ap_jtag_tdo force enable for pu/pd</comment>
  16513. </bits>
  16514. <bits access="rw" name="pad_ap_jtag_tdo_pull_up" pos="9" rst="0">
  16515. <comment>ap_jtag_tdo PUll up</comment>
  16516. </bits>
  16517. <bits access="rw" name="pad_ap_jtag_tdo_pull_dn" pos="8" rst="0">
  16518. <comment>ap_jtag_tdo PUll down</comment>
  16519. </bits>
  16520. <bits access="rw" name="pad_ap_jtag_tdo_sel" pos="3:0" rst="0">
  16521. <comment>ap_jtag_tdo select</comment>
  16522. <options>
  16523. <option name="fun_ap_jtag_tdo_sel" value="0"/>
  16524. <option name="fun_sdmmc2_data_3_sel" value="1"/>
  16525. <option name="fun_zsp_jtag_tdo_sel" value="3"/>
  16526. <option name="fun_rfdig_jtag_tdo_sel" value="4"/>
  16527. <option name="fun_gpio_12_sel" value="5"/>
  16528. <mask/>
  16529. <shift/>
  16530. <default/>
  16531. </options>
  16532. </bits>
  16533. </reg>
  16534. <reg name="pad_gpio_14_cfg_reg" protect="rw">
  16535. <bits access="rw" name="pad_gpio_14_oen_frc" pos="28" rst="0">
  16536. <comment>gpio_14 force enable for outoen.</comment>
  16537. </bits>
  16538. <bits access="rw" name="pad_gpio_14_out_frc" pos="24" rst="0">
  16539. <comment>gpio_14 force output value for output.</comment>
  16540. </bits>
  16541. <bits access="rw" name="pad_gpio_14_out_reg" pos="20" rst="0">
  16542. <comment>gpio_14 pin output value.</comment>
  16543. </bits>
  16544. <bits access="rw" name="pad_gpio_14_oen_reg" pos="17" rst="0">
  16545. <comment>gpio_14 force outoen value.</comment>
  16546. </bits>
  16547. <bits access="rw" name="pad_gpio_14_pull_frc" pos="16" rst="0">
  16548. <comment>gpio_14 force enable for pu/pd</comment>
  16549. </bits>
  16550. <bits access="rw" name="pad_gpio_14_pull_up" pos="9" rst="0">
  16551. <comment>gpio_14 PUll up</comment>
  16552. </bits>
  16553. <bits access="rw" name="pad_gpio_14_pull_dn" pos="8" rst="0">
  16554. <comment>gpio_14 PUll down</comment>
  16555. </bits>
  16556. <bits access="rw" name="pad_gpio_14_sel" pos="3:0" rst="0">
  16557. <comment>gpio_14 select</comment>
  16558. <options>
  16559. <option name="fun_gpio_14_sel" value="0"/>
  16560. <option name="fun_i2c_m2_scl_sel" value="1"/>
  16561. <mask/>
  16562. <shift/>
  16563. <default/>
  16564. </options>
  16565. </bits>
  16566. </reg>
  16567. <reg name="pad_gpio_15_cfg_reg" protect="rw">
  16568. <bits access="rw" name="pad_gpio_15_oen_frc" pos="28" rst="0">
  16569. <comment>gpio_15 force enable for outoen.</comment>
  16570. </bits>
  16571. <bits access="rw" name="pad_gpio_15_out_frc" pos="24" rst="0">
  16572. <comment>gpio_15 force output value for output.</comment>
  16573. </bits>
  16574. <bits access="rw" name="pad_gpio_15_out_reg" pos="20" rst="0">
  16575. <comment>gpio_15 pin output value.</comment>
  16576. </bits>
  16577. <bits access="rw" name="pad_gpio_15_oen_reg" pos="17" rst="0">
  16578. <comment>gpio_15 force outoen value.</comment>
  16579. </bits>
  16580. <bits access="rw" name="pad_gpio_15_pull_frc" pos="16" rst="0">
  16581. <comment>gpio_15 force enable for pu/pd</comment>
  16582. </bits>
  16583. <bits access="rw" name="pad_gpio_15_pull_up" pos="9" rst="0">
  16584. <comment>gpio_15 PUll up</comment>
  16585. </bits>
  16586. <bits access="rw" name="pad_gpio_15_pull_dn" pos="8" rst="0">
  16587. <comment>gpio_15 PUll down</comment>
  16588. </bits>
  16589. <bits access="rw" name="pad_gpio_15_sel" pos="3:0" rst="0">
  16590. <comment>gpio_15 select</comment>
  16591. <options>
  16592. <option name="fun_gpio_15_sel" value="0"/>
  16593. <option name="fun_i2c_m2_sda_sel" value="1"/>
  16594. <mask/>
  16595. <shift/>
  16596. <default/>
  16597. </options>
  16598. </bits>
  16599. </reg>
  16600. <reg name="pad_gpio_18_cfg_reg" protect="rw">
  16601. <bits access="rw" name="pad_gpio_18_oen_frc" pos="28" rst="0">
  16602. <comment>gpio_18 force enable for outoen.</comment>
  16603. </bits>
  16604. <bits access="rw" name="pad_gpio_18_out_frc" pos="24" rst="0">
  16605. <comment>gpio_18 force output value for output.</comment>
  16606. </bits>
  16607. <bits access="rw" name="pad_gpio_18_out_reg" pos="20" rst="0">
  16608. <comment>gpio_18 pin output value.</comment>
  16609. </bits>
  16610. <bits access="rw" name="pad_gpio_18_oen_reg" pos="17" rst="0">
  16611. <comment>gpio_18 force outoen value.</comment>
  16612. </bits>
  16613. <bits access="rw" name="pad_gpio_18_pull_frc" pos="16" rst="0">
  16614. <comment>gpio_18 force enable for pu/pd</comment>
  16615. </bits>
  16616. <bits access="rw" name="pad_gpio_18_pull_up" pos="9" rst="0">
  16617. <comment>gpio_18 PUll up</comment>
  16618. </bits>
  16619. <bits access="rw" name="pad_gpio_18_pull_dn" pos="8" rst="0">
  16620. <comment>gpio_18 PUll down</comment>
  16621. </bits>
  16622. <bits access="rw" name="pad_gpio_18_sel" pos="3:0" rst="0">
  16623. <comment>gpio_18 select</comment>
  16624. <options>
  16625. <option name="fun_gpio_18_sel" value="0"/>
  16626. <option name="fun_zsp_uart_txd_sel" value="3"/>
  16627. <mask/>
  16628. <shift/>
  16629. <default/>
  16630. </options>
  16631. </bits>
  16632. </reg>
  16633. <reg name="pad_gpio_19_cfg_reg" protect="rw">
  16634. <bits access="rw" name="pad_gpio_19_oen_frc" pos="28" rst="0">
  16635. <comment>gpio_19 force enable for outoen.</comment>
  16636. </bits>
  16637. <bits access="rw" name="pad_gpio_19_out_frc" pos="24" rst="0">
  16638. <comment>gpio_19 force output value for output.</comment>
  16639. </bits>
  16640. <bits access="rw" name="pad_gpio_19_out_reg" pos="20" rst="0">
  16641. <comment>gpio_19 pin output value.</comment>
  16642. </bits>
  16643. <bits access="rw" name="pad_gpio_19_oen_reg" pos="17" rst="0">
  16644. <comment>gpio_19 force outoen value.</comment>
  16645. </bits>
  16646. <bits access="rw" name="pad_gpio_19_pull_frc" pos="16" rst="0">
  16647. <comment>gpio_19 force enable for pu/pd</comment>
  16648. </bits>
  16649. <bits access="rw" name="pad_gpio_19_pull_up" pos="9" rst="0">
  16650. <comment>gpio_19 PUll up</comment>
  16651. </bits>
  16652. <bits access="rw" name="pad_gpio_19_pull_dn" pos="8" rst="0">
  16653. <comment>gpio_19 PUll down</comment>
  16654. </bits>
  16655. <bits access="rw" name="pad_gpio_19_sel" pos="3:0" rst="0">
  16656. <comment>gpio_19 select</comment>
  16657. <options>
  16658. <option name="fun_gpio_19_sel" value="0"/>
  16659. <option name="fun_uart_1_rts_sel" value="1"/>
  16660. <option name="fun_uart_3_txd_sel" value="3"/>
  16661. <option name="fun_wcn_uart_txd_sel" value="4"/>
  16662. <option name="fun_wcn_uart_rts_sel" value="5"/>
  16663. <mask/>
  16664. <shift/>
  16665. <default/>
  16666. </options>
  16667. </bits>
  16668. </reg>
  16669. <reg name="pad_gpio_20_cfg_reg" protect="rw">
  16670. <bits access="rw" name="pad_gpio_20_oen_frc" pos="28" rst="0">
  16671. <comment>gpio_20 force enable for outoen.</comment>
  16672. </bits>
  16673. <bits access="rw" name="pad_gpio_20_out_frc" pos="24" rst="0">
  16674. <comment>gpio_20 force output value for output.</comment>
  16675. </bits>
  16676. <bits access="rw" name="pad_gpio_20_out_reg" pos="20" rst="0">
  16677. <comment>gpio_20 pin output value.</comment>
  16678. </bits>
  16679. <bits access="rw" name="pad_gpio_20_oen_reg" pos="17" rst="0">
  16680. <comment>gpio_20 force outoen value.</comment>
  16681. </bits>
  16682. <bits access="rw" name="pad_gpio_20_pull_frc" pos="16" rst="0">
  16683. <comment>gpio_20 force enable for pu/pd</comment>
  16684. </bits>
  16685. <bits access="rw" name="pad_gpio_20_pull_up" pos="9" rst="0">
  16686. <comment>gpio_20 PUll up</comment>
  16687. </bits>
  16688. <bits access="rw" name="pad_gpio_20_pull_dn" pos="8" rst="0">
  16689. <comment>gpio_20 PUll down</comment>
  16690. </bits>
  16691. <bits access="rw" name="pad_gpio_20_sel" pos="3:0" rst="0">
  16692. <comment>gpio_20 select</comment>
  16693. <options>
  16694. <option name="fun_gpio_20_sel" value="0"/>
  16695. <option name="fun_zsp_uart_rts_sel" value="5"/>
  16696. <option name="fun_debug_bus_12_sel" value="7"/>
  16697. <mask/>
  16698. <shift/>
  16699. <default/>
  16700. </options>
  16701. </bits>
  16702. </reg>
  16703. <reg name="pad_gpio_21_cfg_reg" protect="rw">
  16704. <bits access="rw" name="pad_gpio_21_oen_frc" pos="28" rst="0">
  16705. <comment>gpio_21 force enable for outoen.</comment>
  16706. </bits>
  16707. <bits access="rw" name="pad_gpio_21_out_frc" pos="24" rst="0">
  16708. <comment>gpio_21 force output value for output.</comment>
  16709. </bits>
  16710. <bits access="rw" name="pad_gpio_21_out_reg" pos="20" rst="0">
  16711. <comment>gpio_21 pin output value.</comment>
  16712. </bits>
  16713. <bits access="rw" name="pad_gpio_21_oen_reg" pos="17" rst="0">
  16714. <comment>gpio_21 force outoen value.</comment>
  16715. </bits>
  16716. <bits access="rw" name="pad_gpio_21_pull_frc" pos="16" rst="0">
  16717. <comment>gpio_21 force enable for pu/pd</comment>
  16718. </bits>
  16719. <bits access="rw" name="pad_gpio_21_pull_up" pos="9" rst="0">
  16720. <comment>gpio_21 PUll up</comment>
  16721. </bits>
  16722. <bits access="rw" name="pad_gpio_21_pull_dn" pos="8" rst="0">
  16723. <comment>gpio_21 PUll down</comment>
  16724. </bits>
  16725. <bits access="rw" name="pad_gpio_21_sel" pos="3:0" rst="0">
  16726. <comment>gpio_21 select</comment>
  16727. <options>
  16728. <option name="fun_gpio_21_sel" value="0"/>
  16729. <option name="fun_uart_2_txd_sel" value="1"/>
  16730. <option name="fun_uart_3_txd_sel" value="2"/>
  16731. <option name="fun_zsp_uart_txd_sel" value="3"/>
  16732. <option name="fun_uart_3_rts_sel" value="4"/>
  16733. <option name="fun_debug_bus_13_sel" value="7"/>
  16734. <mask/>
  16735. <shift/>
  16736. <default/>
  16737. </options>
  16738. </bits>
  16739. </reg>
  16740. <reg name="pad_gpio_22_cfg_reg" protect="rw">
  16741. <bits access="rw" name="pad_gpio_22_oen_frc" pos="28" rst="0">
  16742. <comment>gpio_22 force enable for outoen.</comment>
  16743. </bits>
  16744. <bits access="rw" name="pad_gpio_22_out_frc" pos="24" rst="0">
  16745. <comment>gpio_22 force output value for output.</comment>
  16746. </bits>
  16747. <bits access="rw" name="pad_gpio_22_out_reg" pos="20" rst="0">
  16748. <comment>gpio_22 pin output value.</comment>
  16749. </bits>
  16750. <bits access="rw" name="pad_gpio_22_oen_reg" pos="17" rst="0">
  16751. <comment>gpio_22 force outoen value.</comment>
  16752. </bits>
  16753. <bits access="rw" name="pad_gpio_22_pull_frc" pos="16" rst="0">
  16754. <comment>gpio_22 force enable for pu/pd</comment>
  16755. </bits>
  16756. <bits access="rw" name="pad_gpio_22_pull_up" pos="9" rst="0">
  16757. <comment>gpio_22 PUll up</comment>
  16758. </bits>
  16759. <bits access="rw" name="pad_gpio_22_pull_dn" pos="8" rst="0">
  16760. <comment>gpio_22 PUll down</comment>
  16761. </bits>
  16762. <bits access="rw" name="pad_gpio_22_sel" pos="3:0" rst="0">
  16763. <comment>gpio_22 select</comment>
  16764. <options>
  16765. <option name="fun_gpio_22_sel" value="0"/>
  16766. <option name="fun_zsp_uart_txd_sel" value="5"/>
  16767. <option name="fun_debug_bus_14_sel" value="7"/>
  16768. <option name="fun_i2c_m3_scl_sel" value="8"/>
  16769. <mask/>
  16770. <shift/>
  16771. <default/>
  16772. </options>
  16773. </bits>
  16774. </reg>
  16775. <reg name="pad_gpio_23_cfg_reg" protect="rw">
  16776. <bits access="rw" name="pad_gpio_23_oen_frc" pos="28" rst="0">
  16777. <comment>gpio_23 force enable for outoen.</comment>
  16778. </bits>
  16779. <bits access="rw" name="pad_gpio_23_out_frc" pos="24" rst="0">
  16780. <comment>gpio_23 force output value for output.</comment>
  16781. </bits>
  16782. <bits access="rw" name="pad_gpio_23_out_reg" pos="20" rst="0">
  16783. <comment>gpio_23 pin output value.</comment>
  16784. </bits>
  16785. <bits access="rw" name="pad_gpio_23_oen_reg" pos="17" rst="0">
  16786. <comment>gpio_23 force outoen value.</comment>
  16787. </bits>
  16788. <bits access="rw" name="pad_gpio_23_pull_frc" pos="16" rst="0">
  16789. <comment>gpio_23 force enable for pu/pd</comment>
  16790. </bits>
  16791. <bits access="rw" name="pad_gpio_23_pull_up" pos="9" rst="0">
  16792. <comment>gpio_23 PUll up</comment>
  16793. </bits>
  16794. <bits access="rw" name="pad_gpio_23_pull_dn" pos="8" rst="0">
  16795. <comment>gpio_23 PUll down</comment>
  16796. </bits>
  16797. <bits access="rw" name="pad_gpio_23_sel" pos="3:0" rst="0">
  16798. <comment>gpio_23 select</comment>
  16799. <options>
  16800. <option name="fun_gpio_23_sel" value="0"/>
  16801. <option name="fun_uart_2_rts_sel" value="1"/>
  16802. <option name="fun_uart_3_rts_sel" value="2"/>
  16803. <option name="fun_zsp_uart_rts_sel" value="3"/>
  16804. <option name="fun_uart_3_txd_sel" value="4"/>
  16805. <option name="fun_debug_bus_15_sel" value="7"/>
  16806. <option name="fun_i2c_m3_sda_sel" value="8"/>
  16807. <mask/>
  16808. <shift/>
  16809. <default/>
  16810. </options>
  16811. </bits>
  16812. </reg>
  16813. <reg name="pad_gpio_8_cfg_reg" protect="rw">
  16814. <bits access="rw" name="pad_gpio_8_oen_frc" pos="28" rst="0">
  16815. <comment>gpio_8 force enable for outoen.</comment>
  16816. </bits>
  16817. <bits access="rw" name="pad_gpio_8_out_frc" pos="24" rst="0">
  16818. <comment>gpio_8 force output value for output.</comment>
  16819. </bits>
  16820. <bits access="rw" name="pad_gpio_8_out_reg" pos="20" rst="0">
  16821. <comment>gpio_8 pin output value.</comment>
  16822. </bits>
  16823. <bits access="rw" name="pad_gpio_8_oen_reg" pos="17" rst="0">
  16824. <comment>gpio_8 force outoen value.</comment>
  16825. </bits>
  16826. <bits access="rw" name="pad_gpio_8_pull_frc" pos="16" rst="0">
  16827. <comment>gpio_8 force enable for pu/pd</comment>
  16828. </bits>
  16829. <bits access="rw" name="pad_gpio_8_pull_up" pos="9" rst="0">
  16830. <comment>gpio_8 PUll up</comment>
  16831. </bits>
  16832. <bits access="rw" name="pad_gpio_8_pull_dn" pos="8" rst="0">
  16833. <comment>gpio_8 PUll down</comment>
  16834. </bits>
  16835. <bits access="rw" name="pad_gpio_8_sel" pos="3:0" rst="0">
  16836. <comment>gpio_8 select</comment>
  16837. <options>
  16838. <option name="fun_gpio_8_sel" value="0"/>
  16839. <option name="fun_spi_1_cs_1_sel" value="1"/>
  16840. <option name="fun_rfdig_gpio_8_sel" value="2"/>
  16841. <option name="fun_lte_gpo_6_sel" value="3"/>
  16842. <option name="fun_gpo_0_sel" value="6"/>
  16843. <option name="fun_digrf_strobe_s_o_sel" value="7"/>
  16844. <mask/>
  16845. <shift/>
  16846. <default/>
  16847. </options>
  16848. </bits>
  16849. </reg>
  16850. <reg name="pad_gpio_9_cfg_reg" protect="rw">
  16851. <bits access="rw" name="pad_gpio_9_oen_frc" pos="28" rst="0">
  16852. <comment>gpio_9 force enable for outoen.</comment>
  16853. </bits>
  16854. <bits access="rw" name="pad_gpio_9_out_frc" pos="24" rst="0">
  16855. <comment>gpio_9 force output value for output.</comment>
  16856. </bits>
  16857. <bits access="rw" name="pad_gpio_9_out_reg" pos="20" rst="0">
  16858. <comment>gpio_9 pin output value.</comment>
  16859. </bits>
  16860. <bits access="rw" name="pad_gpio_9_oen_reg" pos="17" rst="0">
  16861. <comment>gpio_9 force outoen value.</comment>
  16862. </bits>
  16863. <bits access="rw" name="pad_gpio_9_pull_frc" pos="16" rst="0">
  16864. <comment>gpio_9 force enable for pu/pd</comment>
  16865. </bits>
  16866. <bits access="rw" name="pad_gpio_9_pull_up" pos="9" rst="0">
  16867. <comment>gpio_9 PUll up</comment>
  16868. </bits>
  16869. <bits access="rw" name="pad_gpio_9_pull_dn" pos="8" rst="0">
  16870. <comment>gpio_9 PUll down</comment>
  16871. </bits>
  16872. <bits access="rw" name="pad_gpio_9_sel" pos="3:0" rst="0">
  16873. <comment>gpio_9 select</comment>
  16874. <options>
  16875. <option name="fun_gpio_9_sel" value="0"/>
  16876. <option name="fun_spi_1_clk_sel" value="1"/>
  16877. <option name="fun_rfdig_gpio_9_sel" value="2"/>
  16878. <option name="fun_lte_gpo_9_sel" value="3"/>
  16879. <option name="fun_lte_spi_sdo_sel" value="4"/>
  16880. <option name="fun_gpo_1_sel" value="6"/>
  16881. <mask/>
  16882. <shift/>
  16883. <default/>
  16884. </options>
  16885. </bits>
  16886. </reg>
  16887. <reg name="pad_gpio_10_cfg_reg" protect="rw">
  16888. <bits access="rw" name="pad_gpio_10_oen_frc" pos="28" rst="0">
  16889. <comment>gpio_10 force enable for outoen.</comment>
  16890. </bits>
  16891. <bits access="rw" name="pad_gpio_10_out_frc" pos="24" rst="0">
  16892. <comment>gpio_10 force output value for output.</comment>
  16893. </bits>
  16894. <bits access="rw" name="pad_gpio_10_out_reg" pos="20" rst="0">
  16895. <comment>gpio_10 pin output value.</comment>
  16896. </bits>
  16897. <bits access="rw" name="pad_gpio_10_oen_reg" pos="17" rst="0">
  16898. <comment>gpio_10 force outoen value.</comment>
  16899. </bits>
  16900. <bits access="rw" name="pad_gpio_10_pull_frc" pos="16" rst="0">
  16901. <comment>gpio_10 force enable for pu/pd</comment>
  16902. </bits>
  16903. <bits access="rw" name="pad_gpio_10_pull_up" pos="9" rst="0">
  16904. <comment>gpio_10 PUll up</comment>
  16905. </bits>
  16906. <bits access="rw" name="pad_gpio_10_pull_dn" pos="8" rst="0">
  16907. <comment>gpio_10 PUll down</comment>
  16908. </bits>
  16909. <bits access="rw" name="pad_gpio_10_sel" pos="3:0" rst="0">
  16910. <comment>gpio_10 select</comment>
  16911. <options>
  16912. <option name="fun_gpio_10_sel" value="0"/>
  16913. <option name="fun_spi_1_cs_0_sel" value="1"/>
  16914. <option name="fun_lte_spi_cs_sel" value="2"/>
  16915. <option name="fun_gpo_2_sel" value="6"/>
  16916. <mask/>
  16917. <shift/>
  16918. <default/>
  16919. </options>
  16920. </bits>
  16921. </reg>
  16922. <reg name="pad_gpio_11_cfg_reg" protect="rw">
  16923. <bits access="rw" name="pad_gpio_11_oen_frc" pos="28" rst="0">
  16924. <comment>gpio_11 force enable for outoen.</comment>
  16925. </bits>
  16926. <bits access="rw" name="pad_gpio_11_out_frc" pos="24" rst="0">
  16927. <comment>gpio_11 force output value for output.</comment>
  16928. </bits>
  16929. <bits access="rw" name="pad_gpio_11_out_reg" pos="20" rst="0">
  16930. <comment>gpio_11 pin output value.</comment>
  16931. </bits>
  16932. <bits access="rw" name="pad_gpio_11_oen_reg" pos="17" rst="0">
  16933. <comment>gpio_11 force outoen value.</comment>
  16934. </bits>
  16935. <bits access="rw" name="pad_gpio_11_pull_frc" pos="16" rst="0">
  16936. <comment>gpio_11 force enable for pu/pd</comment>
  16937. </bits>
  16938. <bits access="rw" name="pad_gpio_11_pull_up" pos="9" rst="0">
  16939. <comment>gpio_11 PUll up</comment>
  16940. </bits>
  16941. <bits access="rw" name="pad_gpio_11_pull_dn" pos="8" rst="0">
  16942. <comment>gpio_11 PUll down</comment>
  16943. </bits>
  16944. <bits access="rw" name="pad_gpio_11_sel" pos="3:0" rst="0">
  16945. <comment>gpio_11 select</comment>
  16946. <options>
  16947. <option name="fun_gpio_11_sel" value="0"/>
  16948. <option name="fun_spi_1_dio_0_sel" value="1"/>
  16949. <option name="fun_lte_spi_sclk_sel" value="2"/>
  16950. <option name="fun_gpo_3_sel" value="6"/>
  16951. <mask/>
  16952. <shift/>
  16953. <default/>
  16954. </options>
  16955. </bits>
  16956. </reg>
  16957. <reg name="pad_gpio_12_cfg_reg" protect="rw">
  16958. <bits access="rw" name="pad_gpio_12_oen_frc" pos="28" rst="0">
  16959. <comment>gpio_12 force enable for outoen.</comment>
  16960. </bits>
  16961. <bits access="rw" name="pad_gpio_12_out_frc" pos="24" rst="0">
  16962. <comment>gpio_12 force output value for output.</comment>
  16963. </bits>
  16964. <bits access="rw" name="pad_gpio_12_out_reg" pos="20" rst="0">
  16965. <comment>gpio_12 pin output value.</comment>
  16966. </bits>
  16967. <bits access="rw" name="pad_gpio_12_oen_reg" pos="17" rst="0">
  16968. <comment>gpio_12 force outoen value.</comment>
  16969. </bits>
  16970. <bits access="rw" name="pad_gpio_12_pull_frc" pos="16" rst="0">
  16971. <comment>gpio_12 force enable for pu/pd</comment>
  16972. </bits>
  16973. <bits access="rw" name="pad_gpio_12_pull_up" pos="9" rst="0">
  16974. <comment>gpio_12 PUll up</comment>
  16975. </bits>
  16976. <bits access="rw" name="pad_gpio_12_pull_dn" pos="8" rst="0">
  16977. <comment>gpio_12 PUll down</comment>
  16978. </bits>
  16979. <bits access="rw" name="pad_gpio_12_sel" pos="3:0" rst="0">
  16980. <comment>gpio_12 select</comment>
  16981. <options>
  16982. <option name="fun_gpio_12_sel" value="0"/>
  16983. <option name="fun_lte_spi_sdio_sel" value="2"/>
  16984. <option name="fun_gpo_4_sel" value="6"/>
  16985. <mask/>
  16986. <shift/>
  16987. <default/>
  16988. </options>
  16989. </bits>
  16990. </reg>
  16991. <reg name="pad_keyin_0_cfg_reg" protect="rw">
  16992. <bits access="rw" name="pad_keyin_0_oen_frc" pos="28" rst="0">
  16993. <comment>keyin_0 force enable for outoen.</comment>
  16994. </bits>
  16995. <bits access="rw" name="pad_keyin_0_out_frc" pos="24" rst="0">
  16996. <comment>keyin_0 force output value for output.</comment>
  16997. </bits>
  16998. <bits access="rw" name="pad_keyin_0_out_reg" pos="20" rst="0">
  16999. <comment>keyin_0 pin output value.</comment>
  17000. </bits>
  17001. <bits access="rw" name="pad_keyin_0_oen_reg" pos="17" rst="0">
  17002. <comment>keyin_0 force outoen value.</comment>
  17003. </bits>
  17004. <bits access="rw" name="pad_keyin_0_pull_frc" pos="16" rst="0">
  17005. <comment>keyin_0 force enable for pu/pd</comment>
  17006. </bits>
  17007. <bits access="rw" name="pad_keyin_0_pull_up" pos="9" rst="0">
  17008. <comment>keyin_0 PUll up</comment>
  17009. </bits>
  17010. <bits access="rw" name="pad_keyin_0_pull_dn" pos="8" rst="0">
  17011. <comment>keyin_0 PUll down</comment>
  17012. </bits>
  17013. <bits access="rw" name="pad_keyin_0_sel" pos="3:0" rst="0">
  17014. <comment>keyin_0 select</comment>
  17015. <options>
  17016. <option name="fun_keyin_0_sel" value="0"/>
  17017. <option name="fun_debug_bus_8_sel" value="7"/>
  17018. <mask/>
  17019. <shift/>
  17020. <default/>
  17021. </options>
  17022. </bits>
  17023. </reg>
  17024. <reg name="pad_keyin_1_cfg_reg" protect="rw">
  17025. <bits access="rw" name="pad_keyin_1_oen_frc" pos="28" rst="0">
  17026. <comment>keyin_1 force enable for outoen.</comment>
  17027. </bits>
  17028. <bits access="rw" name="pad_keyin_1_out_frc" pos="24" rst="0">
  17029. <comment>keyin_1 force output value for output.</comment>
  17030. </bits>
  17031. <bits access="rw" name="pad_keyin_1_out_reg" pos="20" rst="0">
  17032. <comment>keyin_1 pin output value.</comment>
  17033. </bits>
  17034. <bits access="rw" name="pad_keyin_1_oen_reg" pos="17" rst="0">
  17035. <comment>keyin_1 force outoen value.</comment>
  17036. </bits>
  17037. <bits access="rw" name="pad_keyin_1_pull_frc" pos="16" rst="0">
  17038. <comment>keyin_1 force enable for pu/pd</comment>
  17039. </bits>
  17040. <bits access="rw" name="pad_keyin_1_pull_up" pos="9" rst="0">
  17041. <comment>keyin_1 PUll up</comment>
  17042. </bits>
  17043. <bits access="rw" name="pad_keyin_1_pull_dn" pos="8" rst="0">
  17044. <comment>keyin_1 PUll down</comment>
  17045. </bits>
  17046. <bits access="rw" name="pad_keyin_1_sel" pos="3:0" rst="0">
  17047. <comment>keyin_1 select</comment>
  17048. <options>
  17049. <option name="fun_keyin_1_sel" value="0"/>
  17050. <option name="fun_debug_bus_9_sel" value="7"/>
  17051. <option name="fun_wcn_rf_agc_index_out_0_sel" value="8"/>
  17052. <mask/>
  17053. <shift/>
  17054. <default/>
  17055. </options>
  17056. </bits>
  17057. </reg>
  17058. <reg name="pad_keyin_2_cfg_reg" protect="rw">
  17059. <bits access="rw" name="pad_keyin_2_oen_frc" pos="28" rst="0">
  17060. <comment>keyin_2 force enable for outoen.</comment>
  17061. </bits>
  17062. <bits access="rw" name="pad_keyin_2_out_frc" pos="24" rst="0">
  17063. <comment>keyin_2 force output value for output.</comment>
  17064. </bits>
  17065. <bits access="rw" name="pad_keyin_2_out_reg" pos="20" rst="0">
  17066. <comment>keyin_2 pin output value.</comment>
  17067. </bits>
  17068. <bits access="rw" name="pad_keyin_2_oen_reg" pos="17" rst="0">
  17069. <comment>keyin_2 force outoen value.</comment>
  17070. </bits>
  17071. <bits access="rw" name="pad_keyin_2_pull_frc" pos="16" rst="0">
  17072. <comment>keyin_2 force enable for pu/pd</comment>
  17073. </bits>
  17074. <bits access="rw" name="pad_keyin_2_pull_up" pos="9" rst="0">
  17075. <comment>keyin_2 PUll up</comment>
  17076. </bits>
  17077. <bits access="rw" name="pad_keyin_2_pull_dn" pos="8" rst="0">
  17078. <comment>keyin_2 PUll down</comment>
  17079. </bits>
  17080. <bits access="rw" name="pad_keyin_2_sel" pos="3:0" rst="0">
  17081. <comment>keyin_2 select</comment>
  17082. <options>
  17083. <option name="fun_keyin_2_sel" value="0"/>
  17084. <option name="fun_debug_bus_10_sel" value="7"/>
  17085. <option name="fun_wcn_rf_agc_index_out_1_sel" value="8"/>
  17086. <mask/>
  17087. <shift/>
  17088. <default/>
  17089. </options>
  17090. </bits>
  17091. </reg>
  17092. <reg name="pad_keyin_3_cfg_reg" protect="rw">
  17093. <bits access="rw" name="pad_keyin_3_oen_frc" pos="28" rst="0">
  17094. <comment>keyin_3 force enable for outoen.</comment>
  17095. </bits>
  17096. <bits access="rw" name="pad_keyin_3_out_frc" pos="24" rst="0">
  17097. <comment>keyin_3 force output value for output.</comment>
  17098. </bits>
  17099. <bits access="rw" name="pad_keyin_3_out_reg" pos="20" rst="0">
  17100. <comment>keyin_3 pin output value.</comment>
  17101. </bits>
  17102. <bits access="rw" name="pad_keyin_3_oen_reg" pos="17" rst="0">
  17103. <comment>keyin_3 force outoen value.</comment>
  17104. </bits>
  17105. <bits access="rw" name="pad_keyin_3_pull_frc" pos="16" rst="0">
  17106. <comment>keyin_3 force enable for pu/pd</comment>
  17107. </bits>
  17108. <bits access="rw" name="pad_keyin_3_pull_up" pos="9" rst="0">
  17109. <comment>keyin_3 PUll up</comment>
  17110. </bits>
  17111. <bits access="rw" name="pad_keyin_3_pull_dn" pos="8" rst="0">
  17112. <comment>keyin_3 PUll down</comment>
  17113. </bits>
  17114. <bits access="rw" name="pad_keyin_3_sel" pos="3:0" rst="0">
  17115. <comment>keyin_3 select</comment>
  17116. <options>
  17117. <option name="fun_keyin_3_sel" value="0"/>
  17118. <option name="fun_debug_bus_11_sel" value="7"/>
  17119. <option name="fun_wcn_rf_agc_index_out_2_sel" value="8"/>
  17120. <mask/>
  17121. <shift/>
  17122. <default/>
  17123. </options>
  17124. </bits>
  17125. </reg>
  17126. <reg name="pad_keyin_4_cfg_reg" protect="rw">
  17127. <bits access="rw" name="pad_keyin_4_oen_frc" pos="28" rst="0">
  17128. <comment>keyin_4 force enable for outoen.</comment>
  17129. </bits>
  17130. <bits access="rw" name="pad_keyin_4_out_frc" pos="24" rst="0">
  17131. <comment>keyin_4 force output value for output.</comment>
  17132. </bits>
  17133. <bits access="rw" name="pad_keyin_4_out_reg" pos="20" rst="0">
  17134. <comment>keyin_4 pin output value.</comment>
  17135. </bits>
  17136. <bits access="rw" name="pad_keyin_4_oen_reg" pos="17" rst="0">
  17137. <comment>keyin_4 force outoen value.</comment>
  17138. </bits>
  17139. <bits access="rw" name="pad_keyin_4_pull_frc" pos="16" rst="0">
  17140. <comment>keyin_4 force enable for pu/pd</comment>
  17141. </bits>
  17142. <bits access="rw" name="pad_keyin_4_pull_up" pos="9" rst="0">
  17143. <comment>keyin_4 PUll up</comment>
  17144. </bits>
  17145. <bits access="rw" name="pad_keyin_4_pull_dn" pos="8" rst="0">
  17146. <comment>keyin_4 PUll down</comment>
  17147. </bits>
  17148. <bits access="rw" name="pad_keyin_4_sel" pos="3:0" rst="0">
  17149. <comment>keyin_4 select</comment>
  17150. <options>
  17151. <option name="fun_keyin_4_sel" value="0"/>
  17152. <option name="fun_debug_bus_12_sel" value="7"/>
  17153. <option name="fun_wcn_rf_agc_index_out_3_sel" value="8"/>
  17154. <mask/>
  17155. <shift/>
  17156. <default/>
  17157. </options>
  17158. </bits>
  17159. </reg>
  17160. <reg name="pad_keyin_5_cfg_reg" protect="rw">
  17161. <bits access="rw" name="pad_keyin_5_oen_frc" pos="28" rst="0">
  17162. <comment>keyin_5 force enable for outoen.</comment>
  17163. </bits>
  17164. <bits access="rw" name="pad_keyin_5_out_frc" pos="24" rst="0">
  17165. <comment>keyin_5 force output value for output.</comment>
  17166. </bits>
  17167. <bits access="rw" name="pad_keyin_5_out_reg" pos="20" rst="0">
  17168. <comment>keyin_5 pin output value.</comment>
  17169. </bits>
  17170. <bits access="rw" name="pad_keyin_5_oen_reg" pos="17" rst="0">
  17171. <comment>keyin_5 force outoen value.</comment>
  17172. </bits>
  17173. <bits access="rw" name="pad_keyin_5_pull_frc" pos="16" rst="0">
  17174. <comment>keyin_5 force enable for pu/pd</comment>
  17175. </bits>
  17176. <bits access="rw" name="pad_keyin_5_pull_up" pos="9" rst="0">
  17177. <comment>keyin_5 PUll up</comment>
  17178. </bits>
  17179. <bits access="rw" name="pad_keyin_5_pull_dn" pos="8" rst="0">
  17180. <comment>keyin_5 PUll down</comment>
  17181. </bits>
  17182. <bits access="rw" name="pad_keyin_5_sel" pos="3:0" rst="0">
  17183. <comment>keyin_5 select</comment>
  17184. <options>
  17185. <option name="fun_keyin_5_sel" value="0"/>
  17186. <option name="fun_uart_2_txd_sel" value="3"/>
  17187. <option name="fun_uart_3_rts_sel" value="4"/>
  17188. <option name="fun_debug_bus_13_sel" value="7"/>
  17189. <option name="fun_wcn_rf_rxon_out_sel" value="8"/>
  17190. <mask/>
  17191. <shift/>
  17192. <default/>
  17193. </options>
  17194. </bits>
  17195. </reg>
  17196. <reg name="pad_keyout_0_cfg_reg" protect="rw">
  17197. <bits access="rw" name="pad_keyout_0_oen_frc" pos="28" rst="0">
  17198. <comment>keyout_0 force enable for outoen.</comment>
  17199. </bits>
  17200. <bits access="rw" name="pad_keyout_0_out_frc" pos="24" rst="0">
  17201. <comment>keyout_0 force output value for output.</comment>
  17202. </bits>
  17203. <bits access="rw" name="pad_keyout_0_out_reg" pos="20" rst="0">
  17204. <comment>keyout_0 pin output value.</comment>
  17205. </bits>
  17206. <bits access="rw" name="pad_keyout_0_oen_reg" pos="17" rst="0">
  17207. <comment>keyout_0 force outoen value.</comment>
  17208. </bits>
  17209. <bits access="rw" name="pad_keyout_0_pull_frc" pos="16" rst="0">
  17210. <comment>keyout_0 force enable for pu/pd</comment>
  17211. </bits>
  17212. <bits access="rw" name="pad_keyout_0_pull_up" pos="9" rst="0">
  17213. <comment>keyout_0 PUll up</comment>
  17214. </bits>
  17215. <bits access="rw" name="pad_keyout_0_pull_dn" pos="8" rst="0">
  17216. <comment>keyout_0 PUll down</comment>
  17217. </bits>
  17218. <bits access="rw" name="pad_keyout_0_sel" pos="3:0" rst="0">
  17219. <comment>keyout_0 select</comment>
  17220. <options>
  17221. <option name="fun_keyout_0_sel" value="0"/>
  17222. <option name="fun_debug_bus_14_sel" value="7"/>
  17223. <option name="fun_wcn_rf_txon_out_sel" value="8"/>
  17224. <mask/>
  17225. <shift/>
  17226. <default/>
  17227. </options>
  17228. </bits>
  17229. </reg>
  17230. <reg name="pad_keyout_1_cfg_reg" protect="rw">
  17231. <bits access="rw" name="pad_keyout_1_oen_frc" pos="28" rst="0">
  17232. <comment>keyout_1 force enable for outoen.</comment>
  17233. </bits>
  17234. <bits access="rw" name="pad_keyout_1_out_frc" pos="24" rst="0">
  17235. <comment>keyout_1 force output value for output.</comment>
  17236. </bits>
  17237. <bits access="rw" name="pad_keyout_1_out_reg" pos="20" rst="0">
  17238. <comment>keyout_1 pin output value.</comment>
  17239. </bits>
  17240. <bits access="rw" name="pad_keyout_1_oen_reg" pos="17" rst="0">
  17241. <comment>keyout_1 force outoen value.</comment>
  17242. </bits>
  17243. <bits access="rw" name="pad_keyout_1_pull_frc" pos="16" rst="0">
  17244. <comment>keyout_1 force enable for pu/pd</comment>
  17245. </bits>
  17246. <bits access="rw" name="pad_keyout_1_pull_up" pos="9" rst="0">
  17247. <comment>keyout_1 PUll up</comment>
  17248. </bits>
  17249. <bits access="rw" name="pad_keyout_1_pull_dn" pos="8" rst="0">
  17250. <comment>keyout_1 PUll down</comment>
  17251. </bits>
  17252. <bits access="rw" name="pad_keyout_1_sel" pos="3:0" rst="0">
  17253. <comment>keyout_1 select</comment>
  17254. <options>
  17255. <option name="fun_keyout_1_sel" value="0"/>
  17256. <option name="fun_debug_bus_15_sel" value="7"/>
  17257. <option name="fun_wcn_rf_apc_out_0_sel" value="8"/>
  17258. <mask/>
  17259. <shift/>
  17260. <default/>
  17261. </options>
  17262. </bits>
  17263. </reg>
  17264. <reg name="pad_keyout_2_cfg_reg" protect="rw">
  17265. <bits access="rw" name="pad_keyout_2_oen_frc" pos="28" rst="0">
  17266. <comment>keyout_2 force enable for outoen.</comment>
  17267. </bits>
  17268. <bits access="rw" name="pad_keyout_2_out_frc" pos="24" rst="0">
  17269. <comment>keyout_2 force output value for output.</comment>
  17270. </bits>
  17271. <bits access="rw" name="pad_keyout_2_out_reg" pos="20" rst="0">
  17272. <comment>keyout_2 pin output value.</comment>
  17273. </bits>
  17274. <bits access="rw" name="pad_keyout_2_oen_reg" pos="17" rst="0">
  17275. <comment>keyout_2 force outoen value.</comment>
  17276. </bits>
  17277. <bits access="rw" name="pad_keyout_2_pull_frc" pos="16" rst="0">
  17278. <comment>keyout_2 force enable for pu/pd</comment>
  17279. </bits>
  17280. <bits access="rw" name="pad_keyout_2_pull_up" pos="9" rst="0">
  17281. <comment>keyout_2 PUll up</comment>
  17282. </bits>
  17283. <bits access="rw" name="pad_keyout_2_pull_dn" pos="8" rst="0">
  17284. <comment>keyout_2 PUll down</comment>
  17285. </bits>
  17286. <bits access="rw" name="pad_keyout_2_sel" pos="3:0" rst="0">
  17287. <comment>keyout_2 select</comment>
  17288. <options>
  17289. <option name="fun_keyout_2_sel" value="0"/>
  17290. <option name="fun_debug_clk_sel" value="7"/>
  17291. <option name="fun_wcn_rf_apc_out_1_sel" value="8"/>
  17292. <mask/>
  17293. <shift/>
  17294. <default/>
  17295. </options>
  17296. </bits>
  17297. </reg>
  17298. <reg name="pad_keyout_3_cfg_reg" protect="rw">
  17299. <bits access="rw" name="pad_keyout_3_oen_frc" pos="28" rst="0">
  17300. <comment>keyout_3 force enable for outoen.</comment>
  17301. </bits>
  17302. <bits access="rw" name="pad_keyout_3_out_frc" pos="24" rst="0">
  17303. <comment>keyout_3 force output value for output.</comment>
  17304. </bits>
  17305. <bits access="rw" name="pad_keyout_3_out_reg" pos="20" rst="0">
  17306. <comment>keyout_3 pin output value.</comment>
  17307. </bits>
  17308. <bits access="rw" name="pad_keyout_3_oen_reg" pos="17" rst="0">
  17309. <comment>keyout_3 force outoen value.</comment>
  17310. </bits>
  17311. <bits access="rw" name="pad_keyout_3_pull_frc" pos="16" rst="0">
  17312. <comment>keyout_3 force enable for pu/pd</comment>
  17313. </bits>
  17314. <bits access="rw" name="pad_keyout_3_pull_up" pos="9" rst="0">
  17315. <comment>keyout_3 PUll up</comment>
  17316. </bits>
  17317. <bits access="rw" name="pad_keyout_3_pull_dn" pos="8" rst="0">
  17318. <comment>keyout_3 PUll down</comment>
  17319. </bits>
  17320. <bits access="rw" name="pad_keyout_3_sel" pos="3:0" rst="0">
  17321. <comment>keyout_3 select</comment>
  17322. <options>
  17323. <option name="fun_keyout_3_sel" value="0"/>
  17324. <option name="fun_wcn_rf_apc_out_2_sel" value="8"/>
  17325. <mask/>
  17326. <shift/>
  17327. <default/>
  17328. </options>
  17329. </bits>
  17330. </reg>
  17331. <reg name="pad_keyout_4_cfg_reg" protect="rw">
  17332. <bits access="rw" name="pad_keyout_4_oen_frc" pos="28" rst="0">
  17333. <comment>keyout_4 force enable for outoen.</comment>
  17334. </bits>
  17335. <bits access="rw" name="pad_keyout_4_out_frc" pos="24" rst="0">
  17336. <comment>keyout_4 force output value for output.</comment>
  17337. </bits>
  17338. <bits access="rw" name="pad_keyout_4_out_reg" pos="20" rst="0">
  17339. <comment>keyout_4 pin output value.</comment>
  17340. </bits>
  17341. <bits access="rw" name="pad_keyout_4_oen_reg" pos="17" rst="0">
  17342. <comment>keyout_4 force outoen value.</comment>
  17343. </bits>
  17344. <bits access="rw" name="pad_keyout_4_pull_frc" pos="16" rst="0">
  17345. <comment>keyout_4 force enable for pu/pd</comment>
  17346. </bits>
  17347. <bits access="rw" name="pad_keyout_4_pull_up" pos="9" rst="0">
  17348. <comment>keyout_4 PUll up</comment>
  17349. </bits>
  17350. <bits access="rw" name="pad_keyout_4_pull_dn" pos="8" rst="0">
  17351. <comment>keyout_4 PUll down</comment>
  17352. </bits>
  17353. <bits access="rw" name="pad_keyout_4_sel" pos="3:0" rst="0">
  17354. <comment>keyout_4 select</comment>
  17355. <options>
  17356. <option name="fun_keyout_4_sel" value="0"/>
  17357. <mask/>
  17358. <shift/>
  17359. <default/>
  17360. </options>
  17361. </bits>
  17362. </reg>
  17363. <reg name="pad_keyout_5_cfg_reg" protect="rw">
  17364. <bits access="rw" name="pad_keyout_5_oen_frc" pos="28" rst="0">
  17365. <comment>keyout_5 force enable for outoen.</comment>
  17366. </bits>
  17367. <bits access="rw" name="pad_keyout_5_out_frc" pos="24" rst="0">
  17368. <comment>keyout_5 force output value for output.</comment>
  17369. </bits>
  17370. <bits access="rw" name="pad_keyout_5_out_reg" pos="20" rst="0">
  17371. <comment>keyout_5 pin output value.</comment>
  17372. </bits>
  17373. <bits access="rw" name="pad_keyout_5_oen_reg" pos="17" rst="0">
  17374. <comment>keyout_5 force outoen value.</comment>
  17375. </bits>
  17376. <bits access="rw" name="pad_keyout_5_pull_frc" pos="16" rst="0">
  17377. <comment>keyout_5 force enable for pu/pd</comment>
  17378. </bits>
  17379. <bits access="rw" name="pad_keyout_5_pull_up" pos="9" rst="0">
  17380. <comment>keyout_5 PUll up</comment>
  17381. </bits>
  17382. <bits access="rw" name="pad_keyout_5_pull_dn" pos="8" rst="0">
  17383. <comment>keyout_5 PUll down</comment>
  17384. </bits>
  17385. <bits access="rw" name="pad_keyout_5_sel" pos="3:0" rst="0">
  17386. <comment>keyout_5 select</comment>
  17387. <options>
  17388. <option name="fun_keyout_5_sel" value="0"/>
  17389. <option name="fun_uart_2_rts_sel" value="3"/>
  17390. <option name="fun_uart_3_txd_sel" value="4"/>
  17391. <mask/>
  17392. <shift/>
  17393. <default/>
  17394. </options>
  17395. </bits>
  17396. </reg>
  17397. <reg name="pad_debug_host_rx_cfg_reg" protect="rw">
  17398. <bits access="rw" name="pad_debug_host_rx_oen_frc" pos="28" rst="0">
  17399. <comment>debug_host_rx force enable for outoen.</comment>
  17400. </bits>
  17401. <bits access="rw" name="pad_debug_host_rx_out_frc" pos="24" rst="0">
  17402. <comment>debug_host_rx force output value for output.</comment>
  17403. </bits>
  17404. <bits access="rw" name="pad_debug_host_rx_out_reg" pos="20" rst="0">
  17405. <comment>debug_host_rx pin output value.</comment>
  17406. </bits>
  17407. <bits access="rw" name="pad_debug_host_rx_oen_reg" pos="17" rst="0">
  17408. <comment>debug_host_rx force outoen value.</comment>
  17409. </bits>
  17410. <bits access="rw" name="pad_debug_host_rx_pull_frc" pos="16" rst="0">
  17411. <comment>debug_host_rx force enable for pu/pd</comment>
  17412. </bits>
  17413. <bits access="rw" name="pad_debug_host_rx_pull_up" pos="9" rst="0">
  17414. <comment>debug_host_rx PUll up</comment>
  17415. </bits>
  17416. <bits access="rw" name="pad_debug_host_rx_pull_dn" pos="8" rst="0">
  17417. <comment>debug_host_rx PUll down</comment>
  17418. </bits>
  17419. <bits access="rw" name="pad_debug_host_rx_sel" pos="3:0" rst="0">
  17420. <comment>debug_host_rx select</comment>
  17421. <options>
  17422. <option name="fun_gpio_16_sel" value="1"/>
  17423. <mask/>
  17424. <shift/>
  17425. <default/>
  17426. </options>
  17427. </bits>
  17428. </reg>
  17429. <reg name="pad_debug_host_tx_cfg_reg" protect="rw">
  17430. <bits access="rw" name="pad_debug_host_tx_oen_frc" pos="28" rst="0">
  17431. <comment>debug_host_tx force enable for outoen.</comment>
  17432. </bits>
  17433. <bits access="rw" name="pad_debug_host_tx_out_frc" pos="24" rst="0">
  17434. <comment>debug_host_tx force output value for output.</comment>
  17435. </bits>
  17436. <bits access="rw" name="pad_debug_host_tx_out_reg" pos="20" rst="0">
  17437. <comment>debug_host_tx pin output value.</comment>
  17438. </bits>
  17439. <bits access="rw" name="pad_debug_host_tx_oen_reg" pos="17" rst="0">
  17440. <comment>debug_host_tx force outoen value.</comment>
  17441. </bits>
  17442. <bits access="rw" name="pad_debug_host_tx_pull_frc" pos="16" rst="0">
  17443. <comment>debug_host_tx force enable for pu/pd</comment>
  17444. </bits>
  17445. <bits access="rw" name="pad_debug_host_tx_pull_up" pos="9" rst="0">
  17446. <comment>debug_host_tx PUll up</comment>
  17447. </bits>
  17448. <bits access="rw" name="pad_debug_host_tx_pull_dn" pos="8" rst="0">
  17449. <comment>debug_host_tx PUll down</comment>
  17450. </bits>
  17451. <bits access="rw" name="pad_debug_host_tx_sel" pos="3:0" rst="0">
  17452. <comment>debug_host_tx select</comment>
  17453. <options>
  17454. <option name="fun_debug_host_tx_sel" value="0"/>
  17455. <mask/>
  17456. <shift/>
  17457. <default/>
  17458. </options>
  17459. </bits>
  17460. </reg>
  17461. <reg name="pad_debug_host_clk_cfg_reg" protect="rw">
  17462. <bits access="rw" name="pad_debug_host_clk_oen_frc" pos="28" rst="0">
  17463. <comment>debug_host_clk force enable for outoen.</comment>
  17464. </bits>
  17465. <bits access="rw" name="pad_debug_host_clk_out_frc" pos="24" rst="0">
  17466. <comment>debug_host_clk force output value for output.</comment>
  17467. </bits>
  17468. <bits access="rw" name="pad_debug_host_clk_out_reg" pos="20" rst="0">
  17469. <comment>debug_host_clk pin output value.</comment>
  17470. </bits>
  17471. <bits access="rw" name="pad_debug_host_clk_oen_reg" pos="17" rst="0">
  17472. <comment>debug_host_clk force outoen value.</comment>
  17473. </bits>
  17474. <bits access="rw" name="pad_debug_host_clk_pull_frc" pos="16" rst="0">
  17475. <comment>debug_host_clk force enable for pu/pd</comment>
  17476. </bits>
  17477. <bits access="rw" name="pad_debug_host_clk_pull_up" pos="9" rst="0">
  17478. <comment>debug_host_clk PUll up</comment>
  17479. </bits>
  17480. <bits access="rw" name="pad_debug_host_clk_pull_dn" pos="8" rst="0">
  17481. <comment>debug_host_clk PUll down</comment>
  17482. </bits>
  17483. <bits access="rw" name="pad_debug_host_clk_sel" pos="3:0" rst="0">
  17484. <comment>debug_host_clk select</comment>
  17485. <options>
  17486. <option name="fun_debug_host_clk_sel" value="0"/>
  17487. <option name="fun_gpio_17_sel" value="1"/>
  17488. <mask/>
  17489. <shift/>
  17490. <default/>
  17491. </options>
  17492. </bits>
  17493. </reg>
  17494. <reg name="pad_sim_1_clk_cfg_reg" protect="rw">
  17495. <bits access="rw" name="pad_sim_1_clk_oen_frc" pos="28" rst="0">
  17496. <comment>sim_1_clk force enable for outoen.</comment>
  17497. </bits>
  17498. <bits access="rw" name="pad_sim_1_clk_out_frc" pos="24" rst="0">
  17499. <comment>sim_1_clk force output value for output.</comment>
  17500. </bits>
  17501. <bits access="rw" name="pad_sim_1_clk_out_reg" pos="20" rst="0">
  17502. <comment>sim_1_clk pin output value.</comment>
  17503. </bits>
  17504. <bits access="rw" name="pad_sim_1_clk_oen_reg" pos="17" rst="0">
  17505. <comment>sim_1_clk force outoen value.</comment>
  17506. </bits>
  17507. <bits access="rw" name="pad_sim_1_clk_pull_frc" pos="16" rst="0">
  17508. <comment>sim_1_clk force enable for pu/pd</comment>
  17509. </bits>
  17510. <bits access="rw" name="pad_sim_1_clk_pull_up" pos="9" rst="0">
  17511. <comment>sim_1_clk PUll up</comment>
  17512. </bits>
  17513. <bits access="rw" name="pad_sim_1_clk_pull_dn" pos="8" rst="0">
  17514. <comment>sim_1_clk PUll down</comment>
  17515. </bits>
  17516. <bits access="rw" name="pad_sim_1_clk_sel" pos="3:0" rst="0">
  17517. <comment>sim_1_clk select</comment>
  17518. <options>
  17519. <option name="fun_sim_1_clk_sel" value="0"/>
  17520. <mask/>
  17521. <shift/>
  17522. <default/>
  17523. </options>
  17524. </bits>
  17525. </reg>
  17526. <reg name="pad_sim_1_dio_cfg_reg" protect="rw">
  17527. <bits access="rw" name="pad_sim_1_dio_oen_frc" pos="28" rst="0">
  17528. <comment>sim_1_dio force enable for outoen.</comment>
  17529. </bits>
  17530. <bits access="rw" name="pad_sim_1_dio_out_frc" pos="24" rst="0">
  17531. <comment>sim_1_dio force output value for output.</comment>
  17532. </bits>
  17533. <bits access="rw" name="pad_sim_1_dio_out_reg" pos="20" rst="0">
  17534. <comment>sim_1_dio pin output value.</comment>
  17535. </bits>
  17536. <bits access="rw" name="pad_sim_1_dio_oen_reg" pos="17" rst="0">
  17537. <comment>sim_1_dio force outoen value.</comment>
  17538. </bits>
  17539. <bits access="rw" name="pad_sim_1_dio_pull_frc" pos="16" rst="0">
  17540. <comment>sim_1_dio force enable for pu/pd</comment>
  17541. </bits>
  17542. <bits access="rw" name="pad_sim_1_dio_pull_up" pos="9" rst="0">
  17543. <comment>sim_1_dio PUll up</comment>
  17544. </bits>
  17545. <bits access="rw" name="pad_sim_1_dio_pull_dn" pos="8" rst="0">
  17546. <comment>sim_1_dio PUll down</comment>
  17547. </bits>
  17548. <bits access="rw" name="pad_sim_1_dio_sel" pos="3:0" rst="0">
  17549. <comment>sim_1_dio select</comment>
  17550. <options>
  17551. <option name="fun_sim_1_dio_sel" value="0"/>
  17552. <mask/>
  17553. <shift/>
  17554. <default/>
  17555. </options>
  17556. </bits>
  17557. </reg>
  17558. <reg name="pad_sim_1_rst_cfg_reg" protect="rw">
  17559. <bits access="rw" name="pad_sim_1_rst_oen_frc" pos="28" rst="0">
  17560. <comment>sim_1_rst force enable for outoen.</comment>
  17561. </bits>
  17562. <bits access="rw" name="pad_sim_1_rst_out_frc" pos="24" rst="0">
  17563. <comment>sim_1_rst force output value for output.</comment>
  17564. </bits>
  17565. <bits access="rw" name="pad_sim_1_rst_out_reg" pos="20" rst="0">
  17566. <comment>sim_1_rst pin output value.</comment>
  17567. </bits>
  17568. <bits access="rw" name="pad_sim_1_rst_oen_reg" pos="17" rst="0">
  17569. <comment>sim_1_rst force outoen value.</comment>
  17570. </bits>
  17571. <bits access="rw" name="pad_sim_1_rst_pull_frc" pos="16" rst="0">
  17572. <comment>sim_1_rst force enable for pu/pd</comment>
  17573. </bits>
  17574. <bits access="rw" name="pad_sim_1_rst_pull_up" pos="9" rst="0">
  17575. <comment>sim_1_rst PUll up</comment>
  17576. </bits>
  17577. <bits access="rw" name="pad_sim_1_rst_pull_dn" pos="8" rst="0">
  17578. <comment>sim_1_rst PUll down</comment>
  17579. </bits>
  17580. <bits access="rw" name="pad_sim_1_rst_sel" pos="3:0" rst="0">
  17581. <comment>sim_1_rst select</comment>
  17582. <options>
  17583. <option name="fun_sim_1_rst_sel" value="0"/>
  17584. <mask/>
  17585. <shift/>
  17586. <default/>
  17587. </options>
  17588. </bits>
  17589. </reg>
  17590. <reg name="pad_sim_2_clk_cfg_reg" protect="rw">
  17591. <bits access="rw" name="pad_sim_2_clk_oen_frc" pos="28" rst="0">
  17592. <comment>sim_2_clk force enable for outoen.</comment>
  17593. </bits>
  17594. <bits access="rw" name="pad_sim_2_clk_out_frc" pos="24" rst="0">
  17595. <comment>sim_2_clk force output value for output.</comment>
  17596. </bits>
  17597. <bits access="rw" name="pad_sim_2_clk_out_reg" pos="20" rst="0">
  17598. <comment>sim_2_clk pin output value.</comment>
  17599. </bits>
  17600. <bits access="rw" name="pad_sim_2_clk_oen_reg" pos="17" rst="0">
  17601. <comment>sim_2_clk force outoen value.</comment>
  17602. </bits>
  17603. <bits access="rw" name="pad_sim_2_clk_pull_frc" pos="16" rst="0">
  17604. <comment>sim_2_clk force enable for pu/pd</comment>
  17605. </bits>
  17606. <bits access="rw" name="pad_sim_2_clk_pull_up" pos="9" rst="0">
  17607. <comment>sim_2_clk PUll up</comment>
  17608. </bits>
  17609. <bits access="rw" name="pad_sim_2_clk_pull_dn" pos="8" rst="0">
  17610. <comment>sim_2_clk PUll down</comment>
  17611. </bits>
  17612. <bits access="rw" name="pad_sim_2_clk_sel" pos="3:0" rst="0">
  17613. <comment>sim_2_clk select</comment>
  17614. <options>
  17615. <option name="fun_sim_2_clk_sel" value="0"/>
  17616. <option name="fun_gpo_5_sel" value="1"/>
  17617. <option name="fun_gpio_29_sel" value="2"/>
  17618. <mask/>
  17619. <shift/>
  17620. <default/>
  17621. </options>
  17622. </bits>
  17623. </reg>
  17624. <reg name="pad_sim_2_dio_cfg_reg" protect="rw">
  17625. <bits access="rw" name="pad_sim_2_dio_oen_frc" pos="28" rst="0">
  17626. <comment>sim_2_dio force enable for outoen.</comment>
  17627. </bits>
  17628. <bits access="rw" name="pad_sim_2_dio_out_frc" pos="24" rst="0">
  17629. <comment>sim_2_dio force output value for output.</comment>
  17630. </bits>
  17631. <bits access="rw" name="pad_sim_2_dio_out_reg" pos="20" rst="0">
  17632. <comment>sim_2_dio pin output value.</comment>
  17633. </bits>
  17634. <bits access="rw" name="pad_sim_2_dio_oen_reg" pos="17" rst="0">
  17635. <comment>sim_2_dio force outoen value.</comment>
  17636. </bits>
  17637. <bits access="rw" name="pad_sim_2_dio_pull_frc" pos="16" rst="0">
  17638. <comment>sim_2_dio force enable for pu/pd</comment>
  17639. </bits>
  17640. <bits access="rw" name="pad_sim_2_dio_pull_up" pos="9" rst="0">
  17641. <comment>sim_2_dio PUll up</comment>
  17642. </bits>
  17643. <bits access="rw" name="pad_sim_2_dio_pull_dn" pos="8" rst="0">
  17644. <comment>sim_2_dio PUll down</comment>
  17645. </bits>
  17646. <bits access="rw" name="pad_sim_2_dio_sel" pos="3:0" rst="0">
  17647. <comment>sim_2_dio select</comment>
  17648. <options>
  17649. <option name="fun_sim_2_dio_sel" value="0"/>
  17650. <option name="fun_gpo_6_sel" value="1"/>
  17651. <option name="fun_gpio_30_sel" value="2"/>
  17652. <mask/>
  17653. <shift/>
  17654. <default/>
  17655. </options>
  17656. </bits>
  17657. </reg>
  17658. <reg name="pad_sim_2_rst_cfg_reg" protect="rw">
  17659. <bits access="rw" name="pad_sim_2_rst_oen_frc" pos="28" rst="0">
  17660. <comment>sim_2_rst force enable for outoen.</comment>
  17661. </bits>
  17662. <bits access="rw" name="pad_sim_2_rst_out_frc" pos="24" rst="0">
  17663. <comment>sim_2_rst force output value for output.</comment>
  17664. </bits>
  17665. <bits access="rw" name="pad_sim_2_rst_out_reg" pos="20" rst="0">
  17666. <comment>sim_2_rst pin output value.</comment>
  17667. </bits>
  17668. <bits access="rw" name="pad_sim_2_rst_oen_reg" pos="17" rst="0">
  17669. <comment>sim_2_rst force outoen value.</comment>
  17670. </bits>
  17671. <bits access="rw" name="pad_sim_2_rst_pull_frc" pos="16" rst="0">
  17672. <comment>sim_2_rst force enable for pu/pd</comment>
  17673. </bits>
  17674. <bits access="rw" name="pad_sim_2_rst_pull_up" pos="9" rst="0">
  17675. <comment>sim_2_rst PUll up</comment>
  17676. </bits>
  17677. <bits access="rw" name="pad_sim_2_rst_pull_dn" pos="8" rst="0">
  17678. <comment>sim_2_rst PUll down</comment>
  17679. </bits>
  17680. <bits access="rw" name="pad_sim_2_rst_sel" pos="3:0" rst="0">
  17681. <comment>sim_2_rst select</comment>
  17682. <options>
  17683. <option name="fun_sim_2_rst_sel" value="0"/>
  17684. <option name="fun_gpo_7_sel" value="1"/>
  17685. <option name="fun_gpio_31_sel" value="2"/>
  17686. <option name="fun_uart_1_rts_sel" value="3"/>
  17687. <mask/>
  17688. <shift/>
  17689. <default/>
  17690. </options>
  17691. </bits>
  17692. </reg>
  17693. <reg name="pad_rfdig_gpio_0_cfg_reg" protect="rw">
  17694. <bits access="rw" name="pad_rfdig_gpio_0_oen_frc" pos="28" rst="0">
  17695. <comment>rfdig_gpio_0 force enable for outoen.</comment>
  17696. </bits>
  17697. <bits access="rw" name="pad_rfdig_gpio_0_out_frc" pos="24" rst="0">
  17698. <comment>rfdig_gpio_0 force output value for output.</comment>
  17699. </bits>
  17700. <bits access="rw" name="pad_rfdig_gpio_0_out_reg" pos="20" rst="0">
  17701. <comment>rfdig_gpio_0 pin output value.</comment>
  17702. </bits>
  17703. <bits access="rw" name="pad_rfdig_gpio_0_oen_reg" pos="17" rst="0">
  17704. <comment>rfdig_gpio_0 force outoen value.</comment>
  17705. </bits>
  17706. <bits access="rw" name="pad_rfdig_gpio_0_pull_frc" pos="16" rst="0">
  17707. <comment>rfdig_gpio_0 force enable for pu/pd</comment>
  17708. </bits>
  17709. <bits access="rw" name="pad_rfdig_gpio_0_pull_up" pos="9" rst="0">
  17710. <comment>rfdig_gpio_0 PUll up</comment>
  17711. </bits>
  17712. <bits access="rw" name="pad_rfdig_gpio_0_pull_dn" pos="8" rst="0">
  17713. <comment>rfdig_gpio_0 PUll down</comment>
  17714. </bits>
  17715. <bits access="rw" name="pad_rfdig_gpio_0_sel" pos="3:0" rst="0">
  17716. <comment>rfdig_gpio_0 select</comment>
  17717. <options>
  17718. <option name="fun_rfdig_gpio_0_sel" value="0"/>
  17719. <option name="fun_rffe_sclk_sel" value="1"/>
  17720. <option name="fun_lte_gpo_0_sel" value="2"/>
  17721. <mask/>
  17722. <shift/>
  17723. <default/>
  17724. </options>
  17725. </bits>
  17726. </reg>
  17727. <reg name="pad_rfdig_gpio_1_cfg_reg" protect="rw">
  17728. <bits access="rw" name="pad_rfdig_gpio_1_oen_frc" pos="28" rst="0">
  17729. <comment>rfdig_gpio_1 force enable for outoen.</comment>
  17730. </bits>
  17731. <bits access="rw" name="pad_rfdig_gpio_1_out_frc" pos="24" rst="0">
  17732. <comment>rfdig_gpio_1 force output value for output.</comment>
  17733. </bits>
  17734. <bits access="rw" name="pad_rfdig_gpio_1_out_reg" pos="20" rst="0">
  17735. <comment>rfdig_gpio_1 pin output value.</comment>
  17736. </bits>
  17737. <bits access="rw" name="pad_rfdig_gpio_1_oen_reg" pos="17" rst="0">
  17738. <comment>rfdig_gpio_1 force outoen value.</comment>
  17739. </bits>
  17740. <bits access="rw" name="pad_rfdig_gpio_1_pull_frc" pos="16" rst="0">
  17741. <comment>rfdig_gpio_1 force enable for pu/pd</comment>
  17742. </bits>
  17743. <bits access="rw" name="pad_rfdig_gpio_1_pull_up" pos="9" rst="0">
  17744. <comment>rfdig_gpio_1 PUll up</comment>
  17745. </bits>
  17746. <bits access="rw" name="pad_rfdig_gpio_1_pull_dn" pos="8" rst="0">
  17747. <comment>rfdig_gpio_1 PUll down</comment>
  17748. </bits>
  17749. <bits access="rw" name="pad_rfdig_gpio_1_sel" pos="3:0" rst="0">
  17750. <comment>rfdig_gpio_1 select</comment>
  17751. <options>
  17752. <option name="fun_rfdig_gpio_1_sel" value="0"/>
  17753. <option name="fun_rffe_sdata_sel" value="1"/>
  17754. <option name="fun_lte_gpo_1_sel" value="2"/>
  17755. <mask/>
  17756. <shift/>
  17757. <default/>
  17758. </options>
  17759. </bits>
  17760. </reg>
  17761. <reg name="pad_rfdig_gpio_2_cfg_reg" protect="rw">
  17762. <bits access="rw" name="pad_rfdig_gpio_2_oen_frc" pos="28" rst="0">
  17763. <comment>rfdig_gpio_2 force enable for outoen.</comment>
  17764. </bits>
  17765. <bits access="rw" name="pad_rfdig_gpio_2_out_frc" pos="24" rst="0">
  17766. <comment>rfdig_gpio_2 force output value for output.</comment>
  17767. </bits>
  17768. <bits access="rw" name="pad_rfdig_gpio_2_out_reg" pos="20" rst="0">
  17769. <comment>rfdig_gpio_2 pin output value.</comment>
  17770. </bits>
  17771. <bits access="rw" name="pad_rfdig_gpio_2_oen_reg" pos="17" rst="0">
  17772. <comment>rfdig_gpio_2 force outoen value.</comment>
  17773. </bits>
  17774. <bits access="rw" name="pad_rfdig_gpio_2_pull_frc" pos="16" rst="0">
  17775. <comment>rfdig_gpio_2 force enable for pu/pd</comment>
  17776. </bits>
  17777. <bits access="rw" name="pad_rfdig_gpio_2_pull_up" pos="9" rst="0">
  17778. <comment>rfdig_gpio_2 PUll up</comment>
  17779. </bits>
  17780. <bits access="rw" name="pad_rfdig_gpio_2_pull_dn" pos="8" rst="0">
  17781. <comment>rfdig_gpio_2 PUll down</comment>
  17782. </bits>
  17783. <bits access="rw" name="pad_rfdig_gpio_2_sel" pos="3:0" rst="0">
  17784. <comment>rfdig_gpio_2 select</comment>
  17785. <options>
  17786. <option name="fun_rfdig_gpio_2_sel" value="0"/>
  17787. <option name="fun_lte_gpo_2_sel" value="2"/>
  17788. <option name="fun_dfe_rx_enable_s_o_sel" value="7"/>
  17789. <mask/>
  17790. <shift/>
  17791. <default/>
  17792. </options>
  17793. </bits>
  17794. </reg>
  17795. <reg name="pad_rfdig_gpio_3_cfg_reg" protect="rw">
  17796. <bits access="rw" name="pad_rfdig_gpio_3_oen_frc" pos="28" rst="0">
  17797. <comment>rfdig_gpio_3 force enable for outoen.</comment>
  17798. </bits>
  17799. <bits access="rw" name="pad_rfdig_gpio_3_out_frc" pos="24" rst="0">
  17800. <comment>rfdig_gpio_3 force output value for output.</comment>
  17801. </bits>
  17802. <bits access="rw" name="pad_rfdig_gpio_3_out_reg" pos="20" rst="0">
  17803. <comment>rfdig_gpio_3 pin output value.</comment>
  17804. </bits>
  17805. <bits access="rw" name="pad_rfdig_gpio_3_oen_reg" pos="17" rst="0">
  17806. <comment>rfdig_gpio_3 force outoen value.</comment>
  17807. </bits>
  17808. <bits access="rw" name="pad_rfdig_gpio_3_pull_frc" pos="16" rst="0">
  17809. <comment>rfdig_gpio_3 force enable for pu/pd</comment>
  17810. </bits>
  17811. <bits access="rw" name="pad_rfdig_gpio_3_pull_up" pos="9" rst="0">
  17812. <comment>rfdig_gpio_3 PUll up</comment>
  17813. </bits>
  17814. <bits access="rw" name="pad_rfdig_gpio_3_pull_dn" pos="8" rst="0">
  17815. <comment>rfdig_gpio_3 PUll down</comment>
  17816. </bits>
  17817. <bits access="rw" name="pad_rfdig_gpio_3_sel" pos="3:0" rst="0">
  17818. <comment>rfdig_gpio_3 select</comment>
  17819. <options>
  17820. <option name="fun_rfdig_gpio_3_sel" value="0"/>
  17821. <option name="fun_lte_gpo_3_sel" value="2"/>
  17822. <option name="fun_digrf_cp_26m_m_o_sel" value="5"/>
  17823. <mask/>
  17824. <shift/>
  17825. <default/>
  17826. </options>
  17827. </bits>
  17828. </reg>
  17829. <reg name="pad_rfdig_gpio_4_cfg_reg" protect="rw">
  17830. <bits access="rw" name="pad_rfdig_gpio_4_oen_frc" pos="28" rst="0">
  17831. <comment>rfdig_gpio_4 force enable for outoen.</comment>
  17832. </bits>
  17833. <bits access="rw" name="pad_rfdig_gpio_4_out_frc" pos="24" rst="0">
  17834. <comment>rfdig_gpio_4 force output value for output.</comment>
  17835. </bits>
  17836. <bits access="rw" name="pad_rfdig_gpio_4_out_reg" pos="20" rst="0">
  17837. <comment>rfdig_gpio_4 pin output value.</comment>
  17838. </bits>
  17839. <bits access="rw" name="pad_rfdig_gpio_4_oen_reg" pos="17" rst="0">
  17840. <comment>rfdig_gpio_4 force outoen value.</comment>
  17841. </bits>
  17842. <bits access="rw" name="pad_rfdig_gpio_4_pull_frc" pos="16" rst="0">
  17843. <comment>rfdig_gpio_4 force enable for pu/pd</comment>
  17844. </bits>
  17845. <bits access="rw" name="pad_rfdig_gpio_4_pull_up" pos="9" rst="0">
  17846. <comment>rfdig_gpio_4 PUll up</comment>
  17847. </bits>
  17848. <bits access="rw" name="pad_rfdig_gpio_4_pull_dn" pos="8" rst="0">
  17849. <comment>rfdig_gpio_4 PUll down</comment>
  17850. </bits>
  17851. <bits access="rw" name="pad_rfdig_gpio_4_sel" pos="3:0" rst="0">
  17852. <comment>rfdig_gpio_4 select</comment>
  17853. <options>
  17854. <option name="fun_rfdig_gpio_4_sel" value="0"/>
  17855. <option name="fun_lte_gpo_4_sel" value="2"/>
  17856. <option name="fun_digrf_tx_en_s_o_sel" value="7"/>
  17857. <mask/>
  17858. <shift/>
  17859. <default/>
  17860. </options>
  17861. </bits>
  17862. </reg>
  17863. <reg name="pad_rfdig_gpio_5_cfg_reg" protect="rw">
  17864. <bits access="rw" name="pad_rfdig_gpio_5_oen_frc" pos="28" rst="0">
  17865. <comment>rfdig_gpio_5 force enable for outoen.</comment>
  17866. </bits>
  17867. <bits access="rw" name="pad_rfdig_gpio_5_out_frc" pos="24" rst="0">
  17868. <comment>rfdig_gpio_5 force output value for output.</comment>
  17869. </bits>
  17870. <bits access="rw" name="pad_rfdig_gpio_5_out_reg" pos="20" rst="0">
  17871. <comment>rfdig_gpio_5 pin output value.</comment>
  17872. </bits>
  17873. <bits access="rw" name="pad_rfdig_gpio_5_oen_reg" pos="17" rst="0">
  17874. <comment>rfdig_gpio_5 force outoen value.</comment>
  17875. </bits>
  17876. <bits access="rw" name="pad_rfdig_gpio_5_pull_frc" pos="16" rst="0">
  17877. <comment>rfdig_gpio_5 force enable for pu/pd</comment>
  17878. </bits>
  17879. <bits access="rw" name="pad_rfdig_gpio_5_pull_up" pos="9" rst="0">
  17880. <comment>rfdig_gpio_5 PUll up</comment>
  17881. </bits>
  17882. <bits access="rw" name="pad_rfdig_gpio_5_pull_dn" pos="8" rst="0">
  17883. <comment>rfdig_gpio_5 PUll down</comment>
  17884. </bits>
  17885. <bits access="rw" name="pad_rfdig_gpio_5_sel" pos="3:0" rst="0">
  17886. <comment>rfdig_gpio_5 select</comment>
  17887. <options>
  17888. <option name="fun_rfdig_gpio_5_sel" value="0"/>
  17889. <option name="fun_lte_gpo_5_sel" value="2"/>
  17890. <option name="fun_digrf_tx_data_s_o_sel" value="7"/>
  17891. <mask/>
  17892. <shift/>
  17893. <default/>
  17894. </options>
  17895. </bits>
  17896. </reg>
  17897. <reg name="pad_rfdig_gpio_6_cfg_reg" protect="rw">
  17898. <bits access="rw" name="pad_rfdig_gpio_6_oen_frc" pos="28" rst="0">
  17899. <comment>rfdig_gpio_6 force enable for outoen.</comment>
  17900. </bits>
  17901. <bits access="rw" name="pad_rfdig_gpio_6_out_frc" pos="24" rst="0">
  17902. <comment>rfdig_gpio_6 force output value for output.</comment>
  17903. </bits>
  17904. <bits access="rw" name="pad_rfdig_gpio_6_out_reg" pos="20" rst="0">
  17905. <comment>rfdig_gpio_6 pin output value.</comment>
  17906. </bits>
  17907. <bits access="rw" name="pad_rfdig_gpio_6_oen_reg" pos="17" rst="0">
  17908. <comment>rfdig_gpio_6 force outoen value.</comment>
  17909. </bits>
  17910. <bits access="rw" name="pad_rfdig_gpio_6_pull_frc" pos="16" rst="0">
  17911. <comment>rfdig_gpio_6 force enable for pu/pd</comment>
  17912. </bits>
  17913. <bits access="rw" name="pad_rfdig_gpio_6_pull_up" pos="9" rst="0">
  17914. <comment>rfdig_gpio_6 PUll up</comment>
  17915. </bits>
  17916. <bits access="rw" name="pad_rfdig_gpio_6_pull_dn" pos="8" rst="0">
  17917. <comment>rfdig_gpio_6 PUll down</comment>
  17918. </bits>
  17919. <bits access="rw" name="pad_rfdig_gpio_6_sel" pos="3:0" rst="0">
  17920. <comment>rfdig_gpio_6 select</comment>
  17921. <options>
  17922. <option name="fun_rfdig_gpio_6_sel" value="0"/>
  17923. <option name="fun_lte_gpo_7_sel" value="2"/>
  17924. <option name="fun_digrf_rx_en_m_o_sel" value="5"/>
  17925. <mask/>
  17926. <shift/>
  17927. <default/>
  17928. </options>
  17929. </bits>
  17930. </reg>
  17931. <reg name="pad_rfdig_gpio_7_cfg_reg" protect="rw">
  17932. <bits access="rw" name="pad_rfdig_gpio_7_oen_frc" pos="28" rst="0">
  17933. <comment>rfdig_gpio_7 force enable for outoen.</comment>
  17934. </bits>
  17935. <bits access="rw" name="pad_rfdig_gpio_7_out_frc" pos="24" rst="0">
  17936. <comment>rfdig_gpio_7 force output value for output.</comment>
  17937. </bits>
  17938. <bits access="rw" name="pad_rfdig_gpio_7_out_reg" pos="20" rst="0">
  17939. <comment>rfdig_gpio_7 pin output value.</comment>
  17940. </bits>
  17941. <bits access="rw" name="pad_rfdig_gpio_7_oen_reg" pos="17" rst="0">
  17942. <comment>rfdig_gpio_7 force outoen value.</comment>
  17943. </bits>
  17944. <bits access="rw" name="pad_rfdig_gpio_7_pull_frc" pos="16" rst="0">
  17945. <comment>rfdig_gpio_7 force enable for pu/pd</comment>
  17946. </bits>
  17947. <bits access="rw" name="pad_rfdig_gpio_7_pull_up" pos="9" rst="0">
  17948. <comment>rfdig_gpio_7 PUll up</comment>
  17949. </bits>
  17950. <bits access="rw" name="pad_rfdig_gpio_7_pull_dn" pos="8" rst="0">
  17951. <comment>rfdig_gpio_7 PUll down</comment>
  17952. </bits>
  17953. <bits access="rw" name="pad_rfdig_gpio_7_sel" pos="3:0" rst="0">
  17954. <comment>rfdig_gpio_7 select</comment>
  17955. <options>
  17956. <option name="fun_rfdig_gpio_7_sel" value="0"/>
  17957. <option name="fun_lte_gpo_8_sel" value="2"/>
  17958. <option name="fun_digrf_rx_data_m_o_sel" value="5"/>
  17959. <mask/>
  17960. <shift/>
  17961. <default/>
  17962. </options>
  17963. </bits>
  17964. </reg>
  17965. <reg name="pad_secure_boot_mode_cfg_reg" protect="rw">
  17966. <bits access="rw" name="pad_secure_boot_mode_oen_frc" pos="28" rst="0">
  17967. <comment>secure_boot_mode force enable for outoen.</comment>
  17968. </bits>
  17969. <bits access="rw" name="pad_secure_boot_mode_out_frc" pos="24" rst="0">
  17970. <comment>secure_boot_mode force output value for output.</comment>
  17971. </bits>
  17972. <bits access="rw" name="pad_secure_boot_mode_out_reg" pos="20" rst="0">
  17973. <comment>secure_boot_mode pin output value.</comment>
  17974. </bits>
  17975. <bits access="rw" name="pad_secure_boot_mode_oen_reg" pos="17" rst="0">
  17976. <comment>secure_boot_mode force outoen value.</comment>
  17977. </bits>
  17978. <bits access="rw" name="pad_secure_boot_mode_pull_frc" pos="16" rst="0">
  17979. <comment>secure_boot_mode force enable for pu/pd</comment>
  17980. </bits>
  17981. <bits access="rw" name="pad_secure_boot_mode_pull_up" pos="9" rst="0">
  17982. <comment>secure_boot_mode PUll up</comment>
  17983. </bits>
  17984. <bits access="rw" name="pad_secure_boot_mode_pull_dn" pos="8" rst="0">
  17985. <comment>secure_boot_mode PUll down</comment>
  17986. </bits>
  17987. <bits access="rw" name="pad_secure_boot_mode_sel" pos="3:0" rst="0">
  17988. <comment>secure_boot_mode select</comment>
  17989. <options>
  17990. <option name="fun_secure_boot_mode_sel" value="0"/>
  17991. <mask/>
  17992. <shift/>
  17993. <default/>
  17994. </options>
  17995. </bits>
  17996. </reg>
  17997. <reg name="pad_nand_flash_sel_cfg_reg" protect="rw">
  17998. <bits access="rw" name="pad_nand_flash_sel_oen_frc" pos="28" rst="0">
  17999. <comment>nand_flash_sel force enable for outoen.</comment>
  18000. </bits>
  18001. <bits access="rw" name="pad_nand_flash_sel_out_frc" pos="24" rst="0">
  18002. <comment>nand_flash_sel force output value for output.</comment>
  18003. </bits>
  18004. <bits access="rw" name="pad_nand_flash_sel_out_reg" pos="20" rst="0">
  18005. <comment>nand_flash_sel pin output value.</comment>
  18006. </bits>
  18007. <bits access="rw" name="pad_nand_flash_sel_oen_reg" pos="17" rst="0">
  18008. <comment>nand_flash_sel force outoen value.</comment>
  18009. </bits>
  18010. <bits access="rw" name="pad_nand_flash_sel_pull_frc" pos="16" rst="0">
  18011. <comment>nand_flash_sel force enable for pu/pd</comment>
  18012. </bits>
  18013. <bits access="rw" name="pad_nand_flash_sel_pull_up" pos="9" rst="0">
  18014. <comment>nand_flash_sel PUll up</comment>
  18015. </bits>
  18016. <bits access="rw" name="pad_nand_flash_sel_pull_dn" pos="8" rst="0">
  18017. <comment>nand_flash_sel PUll down</comment>
  18018. </bits>
  18019. <bits access="rw" name="pad_nand_flash_sel_sel" pos="3:0" rst="0">
  18020. <comment>nand_flash_sel select</comment>
  18021. <options>
  18022. <option name="fun_nand_flash_sel_sel" value="0"/>
  18023. <mask/>
  18024. <shift/>
  18025. <default/>
  18026. </options>
  18027. </bits>
  18028. </reg>
  18029. </module>
  18030. </archive>
  18031. <archive relative="spinlock.xml">
  18032. <module category="System" name="SPINLOCK">
  18033. <reg name="chk_id" protect="rw">
  18034. <bits access="rw" name="chk_id_chk_id" pos="31:0" rst="0">
  18035. <comment>configure whether to check the write id and read id is the same when release the token</comment>
  18036. </bits>
  18037. </reg>
  18038. <reg name="recctrl" protect="rw">
  18039. <bits access="rw" name="rec_ctrl" pos="0" rst="0">
  18040. <comment>Record Select Control
  18041. 0: Record ID
  18042. 1: Record User bits
  18043. the configuration of this register, can be ignored in APB bus matrix</comment>
  18044. </bits>
  18045. </reg>
  18046. <reg name="ttlsts" protect="r">
  18047. <bits access="r" name="lock" pos="31:0" rst="0">
  18048. <comment>total status register, 32 lock status, indicate if each lock is taken
  18049. Read LOCK[i]=0x0, lock i is in the Not Taken status
  18050. Read LOCK[i]=1, lock i is in the taken status</comment>
  18051. </bits>
  18052. </reg>
  18053. <reg name="swflag0" protect="rw">
  18054. <bits access="rw" name="swflag0_swflag0" pos="31:0" rst="0">
  18055. <comment>spinlock software flag register0
  18056. this register is used to record message by software</comment>
  18057. </bits>
  18058. </reg>
  18059. <reg name="swflag1" protect="rw">
  18060. <bits access="rw" name="swflag1_swflag1" pos="31:0" rst="0">
  18061. <comment>spinlock software flag register1
  18062. this register is used to record message by software</comment>
  18063. </bits>
  18064. </reg>
  18065. <reg name="swflag2" protect="rw">
  18066. <bits access="rw" name="swflag2_swflag2" pos="31:0" rst="0">
  18067. <comment>spinlock software flag register2
  18068. this register is used to record message by software</comment>
  18069. </bits>
  18070. </reg>
  18071. <reg name="swflag3" protect="rw">
  18072. <bits access="rw" name="swflag3_swflag3" pos="31:0" rst="0">
  18073. <comment>spinlock software flag register3
  18074. this register is used to record message by software</comment>
  18075. </bits>
  18076. </reg>
  18077. <hole size="800"/>
  18078. <reg name="mstid0" protect="r">
  18079. <bits access="r" name="mstid0_mstid0" pos="31:0" rst="0">
  18080. <comment>the master id is stored in this register. The value of this reg in APB bus is 0x0</comment>
  18081. </bits>
  18082. </reg>
  18083. <reg name="mstid1" protect="r">
  18084. <bits access="r" name="mstid1_mstid1" pos="31:0" rst="0">
  18085. <comment>the master id is stored in this register. The value of this reg in APB bus is 0x0</comment>
  18086. </bits>
  18087. </reg>
  18088. <reg name="mstid2" protect="r">
  18089. <bits access="r" name="mstid2_mstid2" pos="31:0" rst="0">
  18090. <comment>the master id is stored in this register. The value of this reg in APB bus is 0x0</comment>
  18091. </bits>
  18092. </reg>
  18093. <reg name="mstid3" protect="r">
  18094. <bits access="r" name="mstid3_mstid3" pos="31:0" rst="0">
  18095. <comment>the master id is stored in this register. The value of this reg in APB bus is 0x0</comment>
  18096. </bits>
  18097. </reg>
  18098. <reg name="mstid4" protect="r">
  18099. <bits access="r" name="mstid4_mstid4" pos="31:0" rst="0">
  18100. <comment>the master id is stored in this register. The value of this reg in APB bus is 0x0</comment>
  18101. </bits>
  18102. </reg>
  18103. <reg name="mstid5" protect="r">
  18104. <bits access="r" name="mstid5_mstid5" pos="31:0" rst="0">
  18105. <comment>the master id is stored in this register. The value of this reg in APB bus is 0x0</comment>
  18106. </bits>
  18107. </reg>
  18108. <reg name="mstid6" protect="r">
  18109. <bits access="r" name="mstid6_mstid6" pos="31:0" rst="0">
  18110. <comment>the master id is stored in this register. The value of this reg in APB bus is 0x0</comment>
  18111. </bits>
  18112. </reg>
  18113. <reg name="mstid7" protect="r">
  18114. <bits access="r" name="mstid7_mstid7" pos="31:0" rst="0">
  18115. <comment>the master id is stored in this register. The value of this reg in APB bus is 0x0</comment>
  18116. </bits>
  18117. </reg>
  18118. <reg name="mstid8" protect="r">
  18119. <bits access="r" name="mstid8_mstid8" pos="31:0" rst="0">
  18120. <comment>the master id is stored in this register. The value of this reg in APB bus is 0x0</comment>
  18121. </bits>
  18122. </reg>
  18123. <reg name="mstid9" protect="r">
  18124. <bits access="r" name="mstid9_mstid9" pos="31:0" rst="0">
  18125. <comment>the master id is stored in this register. The value of this reg in APB bus is 0x0</comment>
  18126. </bits>
  18127. </reg>
  18128. <reg name="mstid10" protect="r">
  18129. <bits access="r" name="mstid10_mstid10" pos="31:0" rst="0">
  18130. <comment>the master id is stored in this register. The value of this reg in APB bus is 0x0</comment>
  18131. </bits>
  18132. </reg>
  18133. <reg name="mstid11" protect="r">
  18134. <bits access="r" name="mstid11_mstid11" pos="31:0" rst="0">
  18135. <comment>the master id is stored in this register. The value of this reg in APB bus is 0x0</comment>
  18136. </bits>
  18137. </reg>
  18138. <reg name="mstid12" protect="r">
  18139. <bits access="r" name="mstid12_mstid12" pos="31:0" rst="0">
  18140. <comment>the master id is stored in this register. The value of this reg in APB bus is 0x0</comment>
  18141. </bits>
  18142. </reg>
  18143. <reg name="mstid13" protect="r">
  18144. <bits access="r" name="mstid13_mstid13" pos="31:0" rst="0">
  18145. <comment>the master id is stored in this register. The value of this reg in APB bus is 0x0</comment>
  18146. </bits>
  18147. </reg>
  18148. <reg name="mstid14" protect="r">
  18149. <bits access="r" name="mstid14_mstid14" pos="31:0" rst="0">
  18150. <comment>the master id is stored in this register. The value of this reg in APB bus is 0x0</comment>
  18151. </bits>
  18152. </reg>
  18153. <reg name="mstid15" protect="r">
  18154. <bits access="r" name="mstid15_mstid15" pos="31:0" rst="0">
  18155. <comment>the master id is stored in this register. The value of this reg in APB bus is 0x0</comment>
  18156. </bits>
  18157. </reg>
  18158. <reg name="mstid16" protect="r">
  18159. <bits access="r" name="mstid16_mstid16" pos="31:0" rst="0">
  18160. <comment>the master id is stored in this register. The value of this reg in APB bus is 0x0</comment>
  18161. </bits>
  18162. </reg>
  18163. <reg name="mstid17" protect="r">
  18164. <bits access="r" name="mstid17_mstid17" pos="31:0" rst="0">
  18165. <comment>the master id is stored in this register. The value of this reg in APB bus is 0x0</comment>
  18166. </bits>
  18167. </reg>
  18168. <reg name="mstid18" protect="r">
  18169. <bits access="r" name="mstid18_mstid18" pos="31:0" rst="0">
  18170. <comment>the master id is stored in this register. The value of this reg in APB bus is 0x0</comment>
  18171. </bits>
  18172. </reg>
  18173. <reg name="mstid19" protect="r">
  18174. <bits access="r" name="mstid19_mstid19" pos="31:0" rst="0">
  18175. <comment>the master id is stored in this register. The value of this reg in APB bus is 0x0</comment>
  18176. </bits>
  18177. </reg>
  18178. <reg name="mstid20" protect="r">
  18179. <bits access="r" name="mstid20_mstid20" pos="31:0" rst="0">
  18180. <comment>the master id is stored in this register. The value of this reg in APB bus is 0x0</comment>
  18181. </bits>
  18182. </reg>
  18183. <reg name="mstid21" protect="r">
  18184. <bits access="r" name="mstid21_mstid21" pos="31:0" rst="0">
  18185. <comment>the master id is stored in this register. The value of this reg in APB bus is 0x0</comment>
  18186. </bits>
  18187. </reg>
  18188. <reg name="mstid22" protect="r">
  18189. <bits access="r" name="mstid22_mstid22" pos="31:0" rst="0">
  18190. <comment>the master id is stored in this register. The value of this reg in APB bus is 0x0</comment>
  18191. </bits>
  18192. </reg>
  18193. <reg name="mstid23" protect="r">
  18194. <bits access="r" name="mstid23_mstid23" pos="31:0" rst="0">
  18195. <comment>the master id is stored in this register. The value of this reg in APB bus is 0x0</comment>
  18196. </bits>
  18197. </reg>
  18198. <reg name="mstid24" protect="r">
  18199. <bits access="r" name="mstid24_mstid24" pos="31:0" rst="0">
  18200. <comment>the master id is stored in this register. The value of this reg in APB bus is 0x0</comment>
  18201. </bits>
  18202. </reg>
  18203. <reg name="mstid25" protect="r">
  18204. <bits access="r" name="mstid25_mstid25" pos="31:0" rst="0">
  18205. <comment>the master id is stored in this register. The value of this reg in APB bus is 0x0</comment>
  18206. </bits>
  18207. </reg>
  18208. <reg name="mstid26" protect="r">
  18209. <bits access="r" name="mstid26_mstid26" pos="31:0" rst="0">
  18210. <comment>the master id is stored in this register. The value of this reg in APB bus is 0x0</comment>
  18211. </bits>
  18212. </reg>
  18213. <reg name="mstid27" protect="r">
  18214. <bits access="r" name="mstid27_mstid27" pos="31:0" rst="0">
  18215. <comment>the master id is stored in this register. The value of this reg in APB bus is 0x0</comment>
  18216. </bits>
  18217. </reg>
  18218. <reg name="mstid28" protect="r">
  18219. <bits access="r" name="mstid28_mstid28" pos="31:0" rst="0">
  18220. <comment>the master id is stored in this register. The value of this reg in APB bus is 0x0</comment>
  18221. </bits>
  18222. </reg>
  18223. <reg name="mstid29" protect="r">
  18224. <bits access="r" name="mstid29_mstid29" pos="31:0" rst="0">
  18225. <comment>the master id is stored in this register. The value of this reg in APB bus is 0x0</comment>
  18226. </bits>
  18227. </reg>
  18228. <reg name="mstid30" protect="r">
  18229. <bits access="r" name="mstid30_mstid30" pos="31:0" rst="0">
  18230. <comment>the master id is stored in this register. The value of this reg in APB bus is 0x0</comment>
  18231. </bits>
  18232. </reg>
  18233. <reg name="mstid31" protect="r">
  18234. <bits access="r" name="mstid31_mstid31" pos="31:0" rst="0">
  18235. <comment>the master id is stored in this register. The value of this reg in APB bus is 0x0</comment>
  18236. </bits>
  18237. </reg>
  18238. <hole size="14336"/>
  18239. <reg name="locksts0" protect="">
  18240. <bits access="r" name="locksts0_locksts0" pos="0" rst="0">
  18241. <comment>read 0x0, request and get the lock
  18242. read 0x1, reqeust but does not get the lock
  18243. write unlock token (0x55aa10c5), to unlock the lock
  18244. write any other, no effect</comment>
  18245. </bits>
  18246. </reg>
  18247. <reg name="locksts1" protect="">
  18248. <bits access="r" name="locksts1_locksts1" pos="0" rst="0">
  18249. <comment>read 0x0, request and get the lock
  18250. read 0x1, reqeust but does not get the lock
  18251. write unlock token (0x55aa10c5), to unlock the lock
  18252. write any other, no effect</comment>
  18253. </bits>
  18254. </reg>
  18255. <reg name="locksts2" protect="">
  18256. <bits access="r" name="locksts2_locksts2" pos="0" rst="0">
  18257. <comment>read 0x0, request and get the lock
  18258. read 0x1, reqeust but does not get the lock
  18259. write unlock token (0x55aa10c5), to unlock the lock
  18260. write any other, no effect</comment>
  18261. </bits>
  18262. </reg>
  18263. <reg name="locksts3" protect="">
  18264. <bits access="r" name="locksts3_locksts3" pos="0" rst="0">
  18265. <comment>read 0x0, request and get the lock
  18266. read 0x1, reqeust but does not get the lock
  18267. write unlock token (0x55aa10c5), to unlock the lock
  18268. write any other, no effect</comment>
  18269. </bits>
  18270. </reg>
  18271. <reg name="locksts4" protect="">
  18272. <bits access="r" name="locksts4_locksts4" pos="0" rst="0">
  18273. <comment>read 0x0, request and get the lock
  18274. read 0x1, reqeust but does not get the lock
  18275. write unlock token (0x55aa10c5), to unlock the lock
  18276. write any other, no effect</comment>
  18277. </bits>
  18278. </reg>
  18279. <reg name="locksts5" protect="">
  18280. <bits access="r" name="locksts5_locksts5" pos="0" rst="0">
  18281. <comment>read 0x0, request and get the lock
  18282. read 0x1, reqeust but does not get the lock
  18283. write unlock token (0x55aa10c5), to unlock the lock
  18284. write any other, no effect</comment>
  18285. </bits>
  18286. </reg>
  18287. <reg name="locksts6" protect="">
  18288. <bits access="r" name="locksts6_locksts6" pos="0" rst="0">
  18289. <comment>read 0x0, request and get the lock
  18290. read 0x1, reqeust but does not get the lock
  18291. write unlock token (0x55aa10c5), to unlock the lock
  18292. write any other, no effect</comment>
  18293. </bits>
  18294. </reg>
  18295. <reg name="locksts7" protect="">
  18296. <bits access="r" name="locksts7_locksts7" pos="0" rst="0">
  18297. <comment>read 0x0, request and get the lock
  18298. read 0x1, reqeust but does not get the lock
  18299. write unlock token (0x55aa10c5), to unlock the lock
  18300. write any other, no effect</comment>
  18301. </bits>
  18302. </reg>
  18303. <reg name="locksts8" protect="">
  18304. <bits access="r" name="locksts8_locksts8" pos="0" rst="0">
  18305. <comment>read 0x0, request and get the lock
  18306. read 0x1, reqeust but does not get the lock
  18307. write unlock token (0x55aa10c5), to unlock the lock
  18308. write any other, no effect</comment>
  18309. </bits>
  18310. </reg>
  18311. <reg name="locksts9" protect="">
  18312. <bits access="r" name="locksts9_locksts9" pos="0" rst="0">
  18313. <comment>read 0x0, request and get the lock
  18314. read 0x1, reqeust but does not get the lock
  18315. write unlock token (0x55aa10c5), to unlock the lock
  18316. write any other, no effect</comment>
  18317. </bits>
  18318. </reg>
  18319. <reg name="locksts10" protect="">
  18320. <bits access="r" name="locksts10_locksts10" pos="0" rst="0">
  18321. <comment>read 0x0, request and get the lock
  18322. read 0x1, reqeust but does not get the lock
  18323. write unlock token (0x55aa10c5), to unlock the lock
  18324. write any other, no effect</comment>
  18325. </bits>
  18326. </reg>
  18327. <reg name="locksts11" protect="">
  18328. <bits access="r" name="locksts11_locksts11" pos="0" rst="0">
  18329. <comment>read 0x0, request and get the lock
  18330. read 0x1, reqeust but does not get the lock
  18331. write unlock token (0x55aa10c5), to unlock the lock
  18332. write any other, no effect</comment>
  18333. </bits>
  18334. </reg>
  18335. <reg name="locksts12" protect="">
  18336. <bits access="r" name="locksts12_locksts12" pos="0" rst="0">
  18337. <comment>read 0x0, request and get the lock
  18338. read 0x1, reqeust but does not get the lock
  18339. write unlock token (0x55aa10c5), to unlock the lock
  18340. write any other, no effect</comment>
  18341. </bits>
  18342. </reg>
  18343. <reg name="locksts13" protect="">
  18344. <bits access="r" name="locksts13_locksts13" pos="0" rst="0">
  18345. <comment>read 0x0, request and get the lock
  18346. read 0x1, reqeust but does not get the lock
  18347. write unlock token (0x55aa10c5), to unlock the lock
  18348. write any other, no effect</comment>
  18349. </bits>
  18350. </reg>
  18351. <reg name="locksts14" protect="">
  18352. <bits access="r" name="locksts14_locksts14" pos="0" rst="0">
  18353. <comment>read 0x0, request and get the lock
  18354. read 0x1, reqeust but does not get the lock
  18355. write unlock token (0x55aa10c5), to unlock the lock
  18356. write any other, no effect</comment>
  18357. </bits>
  18358. </reg>
  18359. <reg name="locksts15" protect="">
  18360. <bits access="r" name="locksts15_locksts15" pos="0" rst="0">
  18361. <comment>read 0x0, request and get the lock
  18362. read 0x1, reqeust but does not get the lock
  18363. write unlock token (0x55aa10c5), to unlock the lock
  18364. write any other, no effect</comment>
  18365. </bits>
  18366. </reg>
  18367. <reg name="locksts16" protect="">
  18368. <bits access="r" name="locksts16_locksts16" pos="0" rst="0">
  18369. <comment>read 0x0, request and get the lock
  18370. read 0x1, reqeust but does not get the lock
  18371. write unlock token (0x55aa10c5), to unlock the lock
  18372. write any other, no effect</comment>
  18373. </bits>
  18374. </reg>
  18375. <reg name="locksts17" protect="">
  18376. <bits access="r" name="locksts17_locksts17" pos="0" rst="0">
  18377. <comment>read 0x0, request and get the lock
  18378. read 0x1, reqeust but does not get the lock
  18379. write unlock token (0x55aa10c5), to unlock the lock
  18380. write any other, no effect</comment>
  18381. </bits>
  18382. </reg>
  18383. <reg name="locksts18" protect="">
  18384. <bits access="r" name="locksts18_locksts18" pos="0" rst="0">
  18385. <comment>read 0x0, request and get the lock
  18386. read 0x1, reqeust but does not get the lock
  18387. write unlock token (0x55aa10c5), to unlock the lock
  18388. write any other, no effect</comment>
  18389. </bits>
  18390. </reg>
  18391. <reg name="locksts19" protect="">
  18392. <bits access="r" name="locksts19_locksts19" pos="0" rst="0">
  18393. <comment>read 0x0, request and get the lock
  18394. read 0x1, reqeust but does not get the lock
  18395. write unlock token (0x55aa10c5), to unlock the lock
  18396. write any other, no effect</comment>
  18397. </bits>
  18398. </reg>
  18399. <reg name="locksts20" protect="">
  18400. <bits access="r" name="locksts20_locksts20" pos="0" rst="0">
  18401. <comment>read 0x0, request and get the lock
  18402. read 0x1, reqeust but does not get the lock
  18403. write unlock token (0x55aa10c5), to unlock the lock
  18404. write any other, no effect</comment>
  18405. </bits>
  18406. </reg>
  18407. <reg name="locksts21" protect="">
  18408. <bits access="r" name="locksts21_locksts21" pos="0" rst="0">
  18409. <comment>read 0x0, request and get the lock
  18410. read 0x1, reqeust but does not get the lock
  18411. write unlock token (0x55aa10c5), to unlock the lock
  18412. write any other, no effect</comment>
  18413. </bits>
  18414. </reg>
  18415. <reg name="locksts22" protect="">
  18416. <bits access="r" name="locksts22_locksts22" pos="0" rst="0">
  18417. <comment>read 0x0, request and get the lock
  18418. read 0x1, reqeust but does not get the lock
  18419. write unlock token (0x55aa10c5), to unlock the lock
  18420. write any other, no effect</comment>
  18421. </bits>
  18422. </reg>
  18423. <reg name="locksts23" protect="">
  18424. <bits access="r" name="locksts23_locksts23" pos="0" rst="0">
  18425. <comment>read 0x0, request and get the lock
  18426. read 0x1, reqeust but does not get the lock
  18427. write unlock token (0x55aa10c5), to unlock the lock
  18428. write any other, no effect</comment>
  18429. </bits>
  18430. </reg>
  18431. <reg name="locksts24" protect="">
  18432. <bits access="r" name="locksts24_locksts24" pos="0" rst="0">
  18433. <comment>read 0x0, request and get the lock
  18434. read 0x1, reqeust but does not get the lock
  18435. write unlock token (0x55aa10c5), to unlock the lock
  18436. write any other, no effect</comment>
  18437. </bits>
  18438. </reg>
  18439. <reg name="locksts25" protect="">
  18440. <bits access="r" name="locksts25_locksts25" pos="0" rst="0">
  18441. <comment>read 0x0, request and get the lock
  18442. read 0x1, reqeust but does not get the lock
  18443. write unlock token (0x55aa10c5), to unlock the lock
  18444. write any other, no effect</comment>
  18445. </bits>
  18446. </reg>
  18447. <reg name="locksts26" protect="">
  18448. <bits access="r" name="locksts26_locksts26" pos="0" rst="0">
  18449. <comment>read 0x0, request and get the lock
  18450. read 0x1, reqeust but does not get the lock
  18451. write unlock token (0x55aa10c5), to unlock the lock
  18452. write any other, no effect</comment>
  18453. </bits>
  18454. </reg>
  18455. <reg name="locksts27" protect="">
  18456. <bits access="r" name="locksts27_locksts27" pos="0" rst="0">
  18457. <comment>read 0x0, request and get the lock
  18458. read 0x1, reqeust but does not get the lock
  18459. write unlock token (0x55aa10c5), to unlock the lock
  18460. write any other, no effect</comment>
  18461. </bits>
  18462. </reg>
  18463. <reg name="locksts28" protect="">
  18464. <bits access="r" name="locksts28_locksts28" pos="0" rst="0">
  18465. <comment>read 0x0, request and get the lock
  18466. read 0x1, reqeust but does not get the lock
  18467. write unlock token (0x55aa10c5), to unlock the lock
  18468. write any other, no effect</comment>
  18469. </bits>
  18470. </reg>
  18471. <reg name="locksts29" protect="">
  18472. <bits access="r" name="locksts29_locksts29" pos="0" rst="0">
  18473. <comment>read 0x0, request and get the lock
  18474. read 0x1, reqeust but does not get the lock
  18475. write unlock token (0x55aa10c5), to unlock the lock
  18476. write any other, no effect</comment>
  18477. </bits>
  18478. </reg>
  18479. <reg name="locksts30" protect="">
  18480. <bits access="r" name="locksts30_locksts30" pos="0" rst="0">
  18481. <comment>read 0x0, request and get the lock
  18482. read 0x1, reqeust but does not get the lock
  18483. write unlock token (0x55aa10c5), to unlock the lock
  18484. write any other, no effect</comment>
  18485. </bits>
  18486. </reg>
  18487. <reg name="locksts31" protect="">
  18488. <bits access="r" name="locksts31_locksts31" pos="0" rst="0">
  18489. <comment>read 0x0, request and get the lock
  18490. read 0x1, reqeust but does not get the lock
  18491. write unlock token (0x55aa10c5), to unlock the lock
  18492. write any other, no effect</comment>
  18493. </bits>
  18494. </reg>
  18495. <hole size="15328"/>
  18496. <reg name="verid" protect="r">
  18497. <bits access="r" name="verid_verid" pos="31:0" rst="257">
  18498. <comment>hw version id</comment>
  18499. </bits>
  18500. </reg>
  18501. </module>
  18502. </archive>
  18503. <archive relative="efuse_ctrl.xml">
  18504. <module category="Periph" name="EFUSE_CTRL">
  18505. <hole size="64"/>
  18506. <reg name="efuse_all0_index" protect="rw">
  18507. <bits access="rw" name="efuse_all0_start_index" pos="31:16" rst="0">
  18508. <comment>All 0 check start index</comment>
  18509. </bits>
  18510. <bits access="rw" name="efuse_all0_end_index" pos="15:0" rst="31">
  18511. <comment>All 0 check end index</comment>
  18512. </bits>
  18513. </reg>
  18514. <reg name="efuse_mode_ctrl" protect="rw">
  18515. <bits access="rw" name="efuse_all0_check_start" pos="0" rst="0">
  18516. <comment>write 1 to this bit will trigger all0 check to efuse, this bit is self-clear
  18517. ,read this bit will always get 0.(use PREADY)</comment>
  18518. </bits>
  18519. </reg>
  18520. <hole size="32"/>
  18521. <reg name="efuse_ip_ver_reg" protect="r">
  18522. <bits access="r" name="efuse_type" pos="17:16" rst="0">
  18523. <comment>Efuse type: 00 TSMC</comment>
  18524. </bits>
  18525. <bits access="r" name="efuse_ip_ver" pos="15:0" rst="256">
  18526. <comment>IP version, now is r1p0</comment>
  18527. </bits>
  18528. </reg>
  18529. <reg name="efuse_cfg0" protect="rw">
  18530. <bits access="rw" name="clk_efs_div" pos="31:24" rst="0">
  18531. <comment>Clk_efs divider, if this value is n, the frequency of controller will be divided by (n+1) from clk_efs.
  18532. In most case, this field not need to change.</comment>
  18533. </bits>
  18534. <bits access="rw" name="efuse_strobe_low_width" pos="23:16" rst="28">
  18535. <comment>This counter is used to control STROBE signal low level width in PGM mode, for TSMC efuse memory, no extra requirement for this signal, For 26Mhz efuse controller clock, by default, this width will be: 38.4*28=1075ns &gt; 1us.
  18536. If you want to speed up program speed, can configure the register to a smaller value.</comment>
  18537. </bits>
  18538. <bits access="rw" name="tpgm_time_cnt" pos="8:0" rst="320">
  18539. <comment>Program strobe high time. If set n, the Tpgm time will last for (n+1) clk_efuse cycle, only when PGM_EN=1 can write this field.</comment>
  18540. </bits>
  18541. </reg>
  18542. <hole size="288"/>
  18543. <reg name="efuse_sec_en" protect="rw">
  18544. <bits access="rw" name="sec_lock_bit_wr_en" pos="4" rst="0">
  18545. <comment>If set the bit, lock bits will be written after PGM process.</comment>
  18546. </bits>
  18547. <bits access="rw" name="sec_margin_rd_enable" pos="3" rst="0">
  18548. <comment>efuse margin read mode enable</comment>
  18549. </bits>
  18550. <bits access="rw" name="double_bit_en_sec" pos="2" rst="0">
  18551. <comment>efuse double bit enable</comment>
  18552. </bits>
  18553. <bits access="rw" name="sec_auto_check_enable" pos="1" rst="0">
  18554. <comment>program read back auto-check enable</comment>
  18555. </bits>
  18556. <bits access="rw" name="sec_vdd_en" pos="0" rst="0">
  18557. <comment>efuse vdd enable</comment>
  18558. </bits>
  18559. </reg>
  18560. <reg name="efuse_sec_err_flag" protect="r">
  18561. <bits access="r" name="sec_all0_check_flag" pos="13" rst="0">
  18562. <comment>the bit indicates all 0 check fail.</comment>
  18563. </bits>
  18564. <bits access="r" name="sec_enk_err_flag" pos="12" rst="0">
  18565. <comment>the bit enk1 and enk2 is not switch correctly.</comment>
  18566. </bits>
  18567. <bits access="r" name="sec_magnum_wr_flag" pos="11" rst="0">
  18568. <comment>the bit indicates write process without setting magic number.</comment>
  18569. </bits>
  18570. <bits access="r" name="sec_block0_rd_flag" pos="10" rst="0">
  18571. <comment>the bit indicates arbiter read block0 which may indicates unexpected access.</comment>
  18572. </bits>
  18573. <bits access="r" name="sec_vdd_on_rd_flag" pos="9" rst="0">
  18574. <comment>the bit indicates read process without setting vdd_on to 1.</comment>
  18575. </bits>
  18576. <bits access="r" name="sec_pg_en_wr_flag" pos="8" rst="0">
  18577. <comment>the bit indicates write process without setting pg_en to 1.</comment>
  18578. </bits>
  18579. <bits access="r" name="sec_word1_prot_flag" pos="5" rst="0">
  18580. <comment>The bit indicates shadow block is protected and can not be programmed if double_bit_en is set.
  18581. If SW send a PGM command to memory block[i], and the controller found this memory block is protected(which means the highest bit is 1), this bit will set to 1.</comment>
  18582. </bits>
  18583. <bits access="r" name="sec_word0_prot_flag" pos="4" rst="0">
  18584. <comment>The bit indicates block auto check failed after programming. If PGM_AUTO_CHK_EN is set, and controller compared the value read after PGM from the same block, and found the two value not match, this bit will set as an error flag. But if this block is protected, the PGM command in-fact not really send, so this bit will not set.</comment>
  18585. </bits>
  18586. <bits access="r" name="shadow_block_auto_check_failed" pos="1" rst="0">
  18587. <comment>The bit indicates shadow block auto check failed after programming if double_bit_en is set.
  18588. If PGM_AUTO_CHK_EN is set, and controller compared the value read after PGM from the same block, and found the two value not match, this bit will set as an error flag. But if this block is protected, the PGM command in-fact not really send, so this bit will not set.</comment>
  18589. </bits>
  18590. <bits access="r" name="block_auto_check_failed" pos="0" rst="0">
  18591. <comment>The bit indicates block auto check failed after programming. If PGM_AUTO_CHK_EN is set, and controller compared the value read after PGM from the same block, and found the two value not match, this bit will set as an error flag. But if this block is protected, the PGM command in-fact not really send, so this bit will not set.</comment>
  18592. </bits>
  18593. </reg>
  18594. <reg name="efuse_sec_flag_clr" protect="rw">
  18595. <bits access="rw" name="sec_all0_check_clr" pos="13" rst="0">
  18596. <comment>write 1 will clear SEC_ALL0_CHECK_FLAG</comment>
  18597. </bits>
  18598. <bits access="rw" name="sec_enk_err_clr" pos="12" rst="0">
  18599. <comment>write 1 will clear SEC_ENK_ERR_FLAG</comment>
  18600. </bits>
  18601. <bits access="rw" name="sec_magnum_wr_clr" pos="11" rst="0">
  18602. <comment>write 1 will clear SEC_MAGNUM_WR_FLAG</comment>
  18603. </bits>
  18604. <bits access="rw" name="sec_block0_rd_clr" pos="10" rst="0">
  18605. <comment>write 1 will clear SEC_BLOCK0_RD_FLAG</comment>
  18606. </bits>
  18607. <bits access="rw" name="sec_vdd_on_rd_clr" pos="9" rst="0">
  18608. <comment>write 1 will clear SEC_VDD_ON_RD_FLAG</comment>
  18609. </bits>
  18610. <bits access="rw" name="sec_pg_en_wr_clr" pos="8" rst="0">
  18611. <comment>write 1 will clear SEC_PG_EN_WR_FLAG</comment>
  18612. </bits>
  18613. <bits access="rw" name="sec_word1_prot_clr" pos="5" rst="0">
  18614. <comment>write 1 will clear SEC_WORD1_PROT_FLAG. Write 0 will do nothing.</comment>
  18615. </bits>
  18616. <bits access="rw" name="sec_word0_prot_clr" pos="4" rst="0">
  18617. <comment>write 1 will clear SEC_WORD0_PROT_FLAG. Write 0 will do nothing.</comment>
  18618. </bits>
  18619. <bits access="rw" name="sec_word1_err_clr" pos="1" rst="0">
  18620. <comment>write 1 will clear SEC_WORD1_ERR_FLAG. Write 0 will do nothing.</comment>
  18621. </bits>
  18622. <bits access="rw" name="sec_word0_err_clr" pos="0" rst="0">
  18623. <comment>write 1 will clear SEC_WORD0_ERR_FLAG. Write 0 will do nothing.</comment>
  18624. </bits>
  18625. </reg>
  18626. <reg name="efuse_sec_magic_number" protect="rw">
  18627. <bits access="rw" name="sec_efuse_magic_number" pos="15:0" rst="0">
  18628. <comment>Magic number, only when this field is 0x8910, the efuse programming command can be handle.
  18629. Set the magic number right will lock the power switch and PGM enable.
  18630. So if SW want to program efuse memory, except open clocks and power, 2 other conditions must be met :
  18631. (1) SEC_EFUSE_MAGIC_NUMBER =0x8910
  18632. (2) PG_EN=1;
  18633. (3) Switch the power right;</comment>
  18634. </bits>
  18635. </reg>
  18636. <reg name="efuse_fw_cfg" protect="rw">
  18637. <bits access="rw" name="access_prot" pos="1" rst="0">
  18638. <comment>0: SEC access; 1: NON SEC address enable switch</comment>
  18639. </bits>
  18640. <bits access="rw" name="conf_prot" pos="0" rst="0">
  18641. <comment>SEC/NON-SEC address configure.
  18642. 1: indicates SEC can access EFUSE_CFG0;
  18643. 0: indicates NON-SEC can access EFUSE_CFG0;</comment>
  18644. </bits>
  18645. </reg>
  18646. <reg name="efuse_pw_swt" protect="rw">
  18647. <bits access="rw" name="ns_s_pg_en" pos="2" rst="0">
  18648. <comment>set this bit will open static power supply for efuse memory, before any operation towards to efuse memory this bit have to set to 1. once this bit is cleared, the efuse will go to power down mose.</comment>
  18649. </bits>
  18650. <bits access="rw" name="efs_enk2_on" pos="1" rst="1">
  18651. <comment>VDDQ power switch K2, to safely control this power switch.</comment>
  18652. </bits>
  18653. <bits access="rw" name="efs_enk1_on" pos="0" rst="0">
  18654. <comment>VDDQ power switch K2, to safely control this power switch.</comment>
  18655. </bits>
  18656. </reg>
  18657. <reg name="ap_ca5_dbgen_reg" protect="rw">
  18658. <bits access="rw" name="ap_ca5_dbgen" pos="0" rst="0">
  18659. <comment>AP cortex-a5 dbgen, write once register,Invasive debug enable:
  18660. 0 = not enabled
  18661. 1 = enabled.</comment>
  18662. </bits>
  18663. </reg>
  18664. <reg name="ap_ca5_niden_reg" protect="rw">
  18665. <bits access="rw" name="ap_ca5_niden" pos="0" rst="0">
  18666. <comment>AP cortex-a5 niden, write once register,Noninvasive debug enable:
  18667. 0 = not enabled
  18668. 1 = enabled.</comment>
  18669. </bits>
  18670. </reg>
  18671. <reg name="ap_ca5_spien_reg" protect="rw">
  18672. <bits access="rw" name="ap_ca5_spien" pos="0" rst="0">
  18673. <comment>AP cortex-a5 spien, write once register,Secure privileged invasive debug enable:
  18674. 0 = not enabled
  18675. 1 = enabled.</comment>
  18676. </bits>
  18677. </reg>
  18678. <reg name="ap_ca5_spnien_reg" protect="rw">
  18679. <bits access="rw" name="ap_ca5_spnien" pos="0" rst="0">
  18680. <comment>AP cortex-a5 spnien, write once register,Secure privileged noninvasive debug enable:
  18681. 0 = not enabled
  18682. 1 = enabled.</comment>
  18683. </bits>
  18684. </reg>
  18685. <reg name="ap_ca5_dap_deviceen_reg" protect="rw">
  18686. <bits access="rw" name="ap_ca5_dap_deviceen" pos="0" rst="0">
  18687. <comment>AP cortex-a5 dap deviceen, write once register,device enable</comment>
  18688. </bits>
  18689. </reg>
  18690. <reg name="riscv_jtag_disable_reg" protect="rw">
  18691. <bits access="rw" name="riscv_jtag_disable" pos="0" rst="1">
  18692. <comment>RISCV JTAG disable, write once register</comment>
  18693. </bits>
  18694. </reg>
  18695. <reg name="zsp_jtag_disable_reg" protect="rw">
  18696. <bits access="rw" name="zsp_jtag_disable" pos="0" rst="1">
  18697. <comment>ZSP JTAG disable, write once register</comment>
  18698. </bits>
  18699. </reg>
  18700. <reg name="debug_host_rx_disable_reg" protect="rw">
  18701. <bits access="rw" name="debug_host_rx_disable" pos="0" rst="1">
  18702. <comment>debug host rx disable, write once register</comment>
  18703. </bits>
  18704. </reg>
  18705. <reg name="uart_1_rx_disable_reg" protect="rw">
  18706. <bits access="rw" name="uart_1_rx_disable" pos="0" rst="1">
  18707. <comment>uart1 rx disable, write once register</comment>
  18708. </bits>
  18709. </reg>
  18710. <reg name="uart_2_rx_disable_reg" protect="rw">
  18711. <bits access="rw" name="uart_2_rx_disable" pos="0" rst="1">
  18712. <comment>uart2 rx disable, write once register</comment>
  18713. </bits>
  18714. </reg>
  18715. <reg name="uart_3_rx_disable_reg" protect="rw">
  18716. <bits access="rw" name="uart_3_rx_disable" pos="0" rst="1">
  18717. <comment>uart3 rx disable, write once register</comment>
  18718. </bits>
  18719. </reg>
  18720. <reg name="uart_cp_rx_disable_reg" protect="rw">
  18721. <bits access="rw" name="uart_cp_rx_disable" pos="0" rst="1">
  18722. <comment>uart cp rx disable, write once register</comment>
  18723. </bits>
  18724. </reg>
  18725. <reg name="mbist_disable_reg" protect="rw">
  18726. <bits access="rw" name="mbist_disable" pos="0" rst="1">
  18727. <comment>mbist disable, write once register</comment>
  18728. </bits>
  18729. </reg>
  18730. <reg name="scan_disable_reg" protect="rw">
  18731. <bits access="rw" name="scan_disable" pos="0" rst="1">
  18732. <comment>scan disable, write once register</comment>
  18733. </bits>
  18734. </reg>
  18735. <reg name="efuse_bist_en_reg" protect="rw">
  18736. <bits access="rw" name="efuse_bist_en" pos="0" rst="0">
  18737. <comment>efuse bist enable, write once register</comment>
  18738. </bits>
  18739. </reg>
  18740. <reg name="cp_ca5_dbgen_reg" protect="rw">
  18741. <bits access="rw" name="cp_ca5_dbgen" pos="0" rst="0">
  18742. <comment>CP cortex-a5 dbgen, write once register,Invasive debug enable:
  18743. 0 = not enabled
  18744. 1 = enabled.</comment>
  18745. </bits>
  18746. </reg>
  18747. <reg name="cp_ca5_niden_reg" protect="rw">
  18748. <bits access="rw" name="cp_ca5_niden" pos="0" rst="0">
  18749. <comment>CP cortex-a5 niden, write once register,Noninvasive debug enable:
  18750. 0 = not enabled
  18751. 1 = enabled.</comment>
  18752. </bits>
  18753. </reg>
  18754. <reg name="cp_ca5_spien_reg" protect="rw">
  18755. <bits access="rw" name="cp_ca5_spien" pos="0" rst="0">
  18756. <comment>CP cortex-a5 spien, write once register,Secure privileged invasive debug enable:
  18757. 0 = not enabled
  18758. 1 = enabled.</comment>
  18759. </bits>
  18760. </reg>
  18761. <reg name="cp_ca5_spnien_reg" protect="rw">
  18762. <bits access="rw" name="cp_ca5_spnien" pos="0" rst="0">
  18763. <comment>CP cortex-a5 spnien, write once register,Secure privileged noninvasive debug enable:
  18764. 0 = not enabled
  18765. 1 = enabled.</comment>
  18766. </bits>
  18767. </reg>
  18768. <reg name="cp_ca5_dcp_deviceen_reg" protect="rw">
  18769. <bits access="rw" name="cp_ca5_dcp_deviceen" pos="0" rst="0">
  18770. <comment>CP cortex-a5 dcp deviceen, write once register,device enable</comment>
  18771. </bits>
  18772. </reg>
  18773. <reg name="efuse_block0_rw_ctrl_reg" protect="rw">
  18774. <bits access="rw" name="efuse_block0_rw_ctrl" pos="0" rst="1">
  18775. <comment>control efuse block0 read/write, write once register:
  18776. 0 = not enable read/write efuse block0
  18777. 1 = enable read/write efuse block0</comment>
  18778. </bits>
  18779. </reg>
  18780. <reg name="efuse_block1_rw_ctrl_reg" protect="rw">
  18781. <bits access="rw" name="efuse_block1_rw_ctrl" pos="0" rst="1">
  18782. <comment>control efuse block1 read/write, write once register:
  18783. 0 = not enable read/write efuse block1
  18784. 1 = enable read/write efuse block1</comment>
  18785. </bits>
  18786. </reg>
  18787. <reg name="efuse_block2_rw_ctrl_reg" protect="rw">
  18788. <bits access="rw" name="efuse_block2_rw_ctrl" pos="0" rst="1">
  18789. <comment>control efuse block2 read/write, write once register:
  18790. 0 = not enable read/write efuse block2
  18791. 1 = enable read/write efuse block2</comment>
  18792. </bits>
  18793. </reg>
  18794. <reg name="efuse_block3_rw_ctrl_reg" protect="rw">
  18795. <bits access="rw" name="efuse_block3_rw_ctrl" pos="0" rst="1">
  18796. <comment>control efuse block3 read/write, write once register:
  18797. 0 = not enable read/write efuse block3
  18798. 1 = enable read/write efuse block3</comment>
  18799. </bits>
  18800. </reg>
  18801. <reg name="efuse_block4_rw_ctrl_reg" protect="rw">
  18802. <bits access="rw" name="efuse_block4_rw_ctrl" pos="0" rst="1">
  18803. <comment>control efuse block4 read/write, write once register:
  18804. 0 = not enable read/write efuse block4
  18805. 1 = enable read/write efuse block4</comment>
  18806. </bits>
  18807. </reg>
  18808. <reg name="efuse_block5_rw_ctrl_reg" protect="rw">
  18809. <bits access="rw" name="efuse_block5_rw_ctrl" pos="0" rst="1">
  18810. <comment>control efuse block5 read/write, write once register:
  18811. 0 = not enable read/write efuse block5
  18812. 1 = enable read/write efuse block5</comment>
  18813. </bits>
  18814. </reg>
  18815. <reg name="efuse_block6_rw_ctrl_reg" protect="rw">
  18816. <bits access="rw" name="efuse_block6_rw_ctrl" pos="0" rst="1">
  18817. <comment>control efuse block6 read/write, write once register:
  18818. 0 = not enable read/write efuse block6
  18819. 1 = enable read/write efuse block6</comment>
  18820. </bits>
  18821. </reg>
  18822. <reg name="efuse_block7_rw_ctrl_reg" protect="rw">
  18823. <bits access="rw" name="efuse_block7_rw_ctrl" pos="0" rst="1">
  18824. <comment>control efuse block7 read/write, write once register:
  18825. 0 = not enable read/write efuse block7
  18826. 1 = enable read/write efuse block7</comment>
  18827. </bits>
  18828. </reg>
  18829. <reg name="efuse_block8_rw_ctrl_reg" protect="rw">
  18830. <bits access="rw" name="efuse_block8_rw_ctrl" pos="0" rst="1">
  18831. <comment>control efuse block8 read/write, write once register:
  18832. 0 = not enable read/write efuse block8
  18833. 1 = enable read/write efuse block8</comment>
  18834. </bits>
  18835. </reg>
  18836. <reg name="efuse_block9_rw_ctrl_reg" protect="rw">
  18837. <bits access="rw" name="efuse_block9_rw_ctrl" pos="0" rst="1">
  18838. <comment>control efuse block9 read/write, write once register:
  18839. 0 = not enable read/write efuse block9
  18840. 1 = enable read/write efuse block9</comment>
  18841. </bits>
  18842. </reg>
  18843. <reg name="efuse_block10_rw_ctrl_reg" protect="rw">
  18844. <bits access="rw" name="efuse_block10_rw_ctrl" pos="0" rst="1">
  18845. <comment>control efuse block10 read/write, write once register:
  18846. 0 = not enable read/write efuse block10
  18847. 1 = enable read/write efuse block10</comment>
  18848. </bits>
  18849. </reg>
  18850. <reg name="efuse_block11_rw_ctrl_reg" protect="rw">
  18851. <bits access="rw" name="efuse_block11_rw_ctrl" pos="0" rst="1">
  18852. <comment>control efuse block11 read/write, write once register:
  18853. 0 = not enable read/write efuse block11
  18854. 1 = enable read/write efuse block11</comment>
  18855. </bits>
  18856. </reg>
  18857. <reg name="efuse_block12_rw_ctrl_reg" protect="rw">
  18858. <bits access="rw" name="efuse_block12_rw_ctrl" pos="0" rst="1">
  18859. <comment>control efuse block12 read/write, write once register:
  18860. 0 = not enable read/write efuse block12
  18861. 1 = enable read/write efuse block12</comment>
  18862. </bits>
  18863. </reg>
  18864. <reg name="efuse_block13_rw_ctrl_reg" protect="rw">
  18865. <bits access="rw" name="efuse_block13_rw_ctrl" pos="0" rst="1">
  18866. <comment>control efuse block13 read/write, write once register:
  18867. 0 = not enable read/write efuse block13
  18868. 1 = enable read/write efuse block13</comment>
  18869. </bits>
  18870. </reg>
  18871. <reg name="efuse_block14_rw_ctrl_reg" protect="rw">
  18872. <bits access="rw" name="efuse_block14_rw_ctrl" pos="0" rst="1">
  18873. <comment>control efuse block14 read/write, write once register:
  18874. 0 = not enable read/write efuse block14
  18875. 1 = enable read/write efuse block14</comment>
  18876. </bits>
  18877. </reg>
  18878. <reg name="efuse_block15_rw_ctrl_reg" protect="rw">
  18879. <bits access="rw" name="efuse_block15_rw_ctrl" pos="0" rst="1">
  18880. <comment>control efuse block15 read/write, write once register:
  18881. 0 = not enable read/write efuse block15
  18882. 1 = enable read/write efuse block15</comment>
  18883. </bits>
  18884. </reg>
  18885. <reg name="efuse_block16_rw_ctrl_reg" protect="rw">
  18886. <bits access="rw" name="efuse_block16_rw_ctrl" pos="0" rst="1">
  18887. <comment>control efuse block16 read/write, write once register:
  18888. 0 = not enable read/write efuse block16
  18889. 1 = enable read/write efuse block16</comment>
  18890. </bits>
  18891. </reg>
  18892. <reg name="efuse_block17_rw_ctrl_reg" protect="rw">
  18893. <bits access="rw" name="efuse_block17_rw_ctrl" pos="0" rst="1">
  18894. <comment>control efuse block17 read/write, write once register:
  18895. 0 = not enable read/write efuse block17
  18896. 1 = enable read/write efuse block17</comment>
  18897. </bits>
  18898. </reg>
  18899. <reg name="efuse_block18_rw_ctrl_reg" protect="rw">
  18900. <bits access="rw" name="efuse_block18_rw_ctrl" pos="0" rst="1">
  18901. <comment>control efuse block18 read/write, write once register:
  18902. 0 = not enable read/write efuse block18
  18903. 1 = enable read/write efuse block18</comment>
  18904. </bits>
  18905. </reg>
  18906. <reg name="efuse_block19_rw_ctrl_reg" protect="rw">
  18907. <bits access="rw" name="efuse_block19_rw_ctrl" pos="0" rst="1">
  18908. <comment>control efuse block19 read/write, write once register:
  18909. 0 = not enable read/write efuse block19
  18910. 1 = enable read/write efuse block19</comment>
  18911. </bits>
  18912. </reg>
  18913. <reg name="efuse_block20_rw_ctrl_reg" protect="rw">
  18914. <bits access="rw" name="efuse_block20_rw_ctrl" pos="0" rst="1">
  18915. <comment>control efuse block20 read/write, write once register:
  18916. 0 = not enable read/write efuse block20
  18917. 1 = enable read/write efuse block20</comment>
  18918. </bits>
  18919. </reg>
  18920. <reg name="efuse_block21_rw_ctrl_reg" protect="rw">
  18921. <bits access="rw" name="efuse_block21_rw_ctrl" pos="0" rst="1">
  18922. <comment>control efuse block21 read/write, write once register:
  18923. 0 = not enable read/write efuse block21
  18924. 1 = enable read/write efuse block21</comment>
  18925. </bits>
  18926. </reg>
  18927. <reg name="efuse_block22_rw_ctrl_reg" protect="rw">
  18928. <bits access="rw" name="efuse_block22_rw_ctrl" pos="0" rst="1">
  18929. <comment>control efuse block22 read/write, write once register:
  18930. 0 = not enable read/write efuse block22
  18931. 1 = enable read/write efuse block22</comment>
  18932. </bits>
  18933. </reg>
  18934. <reg name="efuse_block23_rw_ctrl_reg" protect="rw">
  18935. <bits access="rw" name="efuse_block23_rw_ctrl" pos="0" rst="1">
  18936. <comment>control efuse block23 read/write, write once register:
  18937. 0 = not enable read/write efuse block23
  18938. 1 = enable read/write efuse block23</comment>
  18939. </bits>
  18940. </reg>
  18941. <reg name="efuse_block24_rw_ctrl_reg" protect="rw">
  18942. <bits access="rw" name="efuse_block24_rw_ctrl" pos="0" rst="1">
  18943. <comment>control efuse block24 read/write, write once register:
  18944. 0 = not enable read/write efuse block24
  18945. 1 = enable read/write efuse block24</comment>
  18946. </bits>
  18947. </reg>
  18948. <reg name="efuse_block25_rw_ctrl_reg" protect="rw">
  18949. <bits access="rw" name="efuse_block25_rw_ctrl" pos="0" rst="1">
  18950. <comment>control efuse block25 read/write, write once register:
  18951. 0 = not enable read/write efuse block25
  18952. 1 = enable read/write efuse block25</comment>
  18953. </bits>
  18954. </reg>
  18955. <reg name="efuse_block26_rw_ctrl_reg" protect="rw">
  18956. <bits access="rw" name="efuse_block26_rw_ctrl" pos="0" rst="1">
  18957. <comment>control efuse block26 read/write, write once register:
  18958. 0 = not enable read/write efuse block26
  18959. 1 = enable read/write efuse block26</comment>
  18960. </bits>
  18961. </reg>
  18962. <reg name="efuse_block27_rw_ctrl_reg" protect="rw">
  18963. <bits access="rw" name="efuse_block27_rw_ctrl" pos="0" rst="1">
  18964. <comment>control efuse block27 read/write, write once register:
  18965. 0 = not enable read/write efuse block27
  18966. 1 = enable read/write efuse block27</comment>
  18967. </bits>
  18968. </reg>
  18969. <reg name="efuse_block28_rw_ctrl_reg" protect="rw">
  18970. <bits access="rw" name="efuse_block28_rw_ctrl" pos="0" rst="1">
  18971. <comment>control efuse block28 read/write, write once register:
  18972. 0 = not enable read/write efuse block28
  18973. 1 = enable read/write efuse block28</comment>
  18974. </bits>
  18975. </reg>
  18976. <reg name="efuse_block29_rw_ctrl_reg" protect="rw">
  18977. <bits access="rw" name="efuse_block29_rw_ctrl" pos="0" rst="1">
  18978. <comment>control efuse block29 read/write, write once register:
  18979. 0 = not enable read/write efuse block29
  18980. 1 = enable read/write efuse block29</comment>
  18981. </bits>
  18982. </reg>
  18983. <reg name="efuse_block30_rw_ctrl_reg" protect="rw">
  18984. <bits access="rw" name="efuse_block30_rw_ctrl" pos="0" rst="1">
  18985. <comment>control efuse block30 read/write, write once register:
  18986. 0 = not enable read/write efuse block30
  18987. 1 = enable read/write efuse block30</comment>
  18988. </bits>
  18989. </reg>
  18990. <reg name="efuse_block31_rw_ctrl_reg" protect="rw">
  18991. <bits access="rw" name="efuse_block31_rw_ctrl" pos="0" rst="1">
  18992. <comment>control efuse block31 read/write, write once register:
  18993. 0 = not enable read/write efuse block31
  18994. 1 = enable read/write efuse block31</comment>
  18995. </bits>
  18996. </reg>
  18997. <reg name="por_read_done_reg" protect="r">
  18998. <bits access="r" name="por_read_done" pos="0" rst="0">
  18999. <comment>read config bits done status from efuse macro after por, then this bit is set to 1.</comment>
  19000. </bits>
  19001. </reg>
  19002. <reg name="efuse_cfg_reg" protect="r">
  19003. <bits access="r" name="ap_ca5_dbgen_status" pos="19" rst="0">
  19004. <comment>ap_ca5_dbgen status</comment>
  19005. </bits>
  19006. <bits access="r" name="ap_ca5_niden_status" pos="18" rst="0">
  19007. <comment>ap_ca5_niden status</comment>
  19008. </bits>
  19009. <bits access="r" name="ap_ca5_spiden_status" pos="17" rst="0">
  19010. <comment>ap_ca5_spiden status</comment>
  19011. </bits>
  19012. <bits access="r" name="ap_ca5_spniden_status" pos="16" rst="0">
  19013. <comment>ap_ca5_spniden status</comment>
  19014. </bits>
  19015. <bits access="r" name="ap_ca5_dap_deviceen_status" pos="15" rst="0">
  19016. <comment>ap_ca5_dap_deviceen status</comment>
  19017. </bits>
  19018. <bits access="r" name="riscv_jtag_disable_status" pos="14" rst="1">
  19019. <comment>riscv_jtag_disable status</comment>
  19020. </bits>
  19021. <bits access="r" name="zsp_jtag_disable_status" pos="13" rst="1">
  19022. <comment>zsp_jtag_disable status</comment>
  19023. </bits>
  19024. <bits access="r" name="debug_host_rx_disable_status" pos="12" rst="1">
  19025. <comment>debug_host_rx_disable status</comment>
  19026. </bits>
  19027. <bits access="r" name="uart_1_rx_disable_status" pos="11" rst="1">
  19028. <comment>uart_1_rx_disable status</comment>
  19029. </bits>
  19030. <bits access="r" name="uart_2_rx_disable_status" pos="10" rst="1">
  19031. <comment>uart_2_rx_disable status</comment>
  19032. </bits>
  19033. <bits access="r" name="uart_3_rx_disable_status" pos="9" rst="1">
  19034. <comment>uart_3_rx_disable status</comment>
  19035. </bits>
  19036. <bits access="r" name="uart_cp_rx_disable_status" pos="8" rst="1">
  19037. <comment>uart_cp_rx_disable status</comment>
  19038. </bits>
  19039. <bits access="r" name="mbist_disable_status" pos="7" rst="1">
  19040. <comment>mbist_disable status</comment>
  19041. </bits>
  19042. <bits access="r" name="scan_disable_status" pos="6" rst="1">
  19043. <comment>scan_disable status</comment>
  19044. </bits>
  19045. <bits access="r" name="efuse_bist_en_status" pos="5" rst="0">
  19046. <comment>efuse_bist_en status</comment>
  19047. </bits>
  19048. <bits access="r" name="cp_ca5_dbgen_status" pos="4" rst="0">
  19049. <comment>cp_ca5_dbgen status</comment>
  19050. </bits>
  19051. <bits access="r" name="cp_ca5_niden_status" pos="3" rst="0">
  19052. <comment>cp_ca5_niden status</comment>
  19053. </bits>
  19054. <bits access="r" name="cp_ca5_spiden_status" pos="2" rst="0">
  19055. <comment>cp_ca5_spiden status</comment>
  19056. </bits>
  19057. <bits access="r" name="cp_ca5_spniden_status" pos="1" rst="0">
  19058. <comment>cp_ca5_spniden status</comment>
  19059. </bits>
  19060. <bits access="r" name="cp_ca5_dap_deviceen_status" pos="0" rst="0">
  19061. <comment>cp_ca5_dap_deviceen status</comment>
  19062. </bits>
  19063. </reg>
  19064. <reg name="efuse_block_en_reg" protect="r">
  19065. <bits access="r" name="efuse_block_en" pos="31:0" rst="4294967295">
  19066. <comment>every block(31~0) read/write enable status</comment>
  19067. </bits>
  19068. </reg>
  19069. <reg name="por_read_data0_reg" protect="r">
  19070. <bits access="r" name="por_read_data0" pos="31:0" rst="0">
  19071. <comment>read block22_23 config bit</comment>
  19072. </bits>
  19073. </reg>
  19074. <hole size="64"/>
  19075. <reg name="wcn_jtag_disable_reg" protect="rw">
  19076. <bits access="rw" name="wcn_jtag_disable" pos="0" rst="1">
  19077. <comment>wcn_jtag_disable, write once register</comment>
  19078. </bits>
  19079. </reg>
  19080. <reg name="wcn_uart_disable_reg" protect="rw">
  19081. <bits access="rw" name="wcn_uart_disable" pos="0" rst="1">
  19082. <comment>wcn_uart_disable, write once register</comment>
  19083. </bits>
  19084. </reg>
  19085. <reg name="rf_uart_disable_reg" protect="rw">
  19086. <bits access="rw" name="rf_uart_disable" pos="0" rst="1">
  19087. <comment>rf_uart_disable, write once register</comment>
  19088. </bits>
  19089. </reg>
  19090. <hole size="13728"/>
  19091. <reg name="efuse_mem" protect="--">
  19092. <bits access="rw" name="efuse_data" pos="31:0" rst="0">
  19093. <comment>the registers are the mapping address to efuse macro. Write the 12'hxxx address means burn the data into block (12'hxxx&lt;&lt;2) of efuse. Read the 12'hxxx address will get the block (12'hxxx&lt;&lt;2) data of efuse.</comment>
  19094. </bits>
  19095. </reg>
  19096. </module>
  19097. </archive>
  19098. <archive relative="ap_ifc.xml">
  19099. <include file="globals.xml"/>
  19100. <include file="gallite_generic_config.xml"/>
  19101. <var name="AP_IFC_ADDR_ALIGN" value="0"/>
  19102. <var name="AP_IFC_TC_LEN" value="23"/>
  19103. <var name="AP_IFC_STD_CHAN_NB" value="AP_IFC_NB_STD_CHANNEL"/>
  19104. <var name="AP_IFC_RFSPI_CHAN" value="0"/>
  19105. <module category="System" name="AP_IFC">
  19106. <reg name="get_ch" protect="">
  19107. <bits access="r" name="ch_to_use" pos="3:0" rst="0">
  19108. <comment>
  19109. This field indicates which standard channel to use.
  19110. <br/>
  19111. Before using a channel, the CPU read this register to know which channel must be used.
  19112. After reading this registers, the channel is to be regarded as
  19113. busy.
  19114. <br/>
  19115. After reading this register, if the CPU doesn't want to use
  19116. the specified channel, the CPU must write a disable in the control
  19117. register of the channel to release the channel.
  19118. <br/>
  19119. 0000 = use Channel0
  19120. <br/>
  19121. 0001 = use Channel1
  19122. <br/>
  19123. 0010 = use Channel2
  19124. <br/>
  19125. ...
  19126. <br/>
  19127. 0111 = use Channel7
  19128. <br/>
  19129. 1111 = all channels are busy
  19130. </comment>
  19131. <options>
  19132. <mask/>
  19133. <shift/>
  19134. <default/>
  19135. </options>
  19136. </bits>
  19137. </reg>
  19138. <reg name="dma_status" protect="r">
  19139. <bits access="r" name="ch_enable" pos="AP_IFC_STD_CHAN_NB+AP_IFC_RFSPI_CHAN-1:0" rst="0">
  19140. <comment>
  19141. This register indicates which channel is enabled. It is a copy
  19142. of the enable bit of the control register of each channel. One bit per
  19143. channel, for example:
  19144. <br/>
  19145. 0000_0000 = All channels disabled
  19146. <br/>
  19147. 0000_0001 = Ch0 enabled
  19148. <br/>
  19149. 0000_0010 = Ch1 enabled
  19150. <br/>
  19151. 0000_0100 = Ch2 enabled
  19152. <br/>
  19153. 0000_0101 = Ch0 and Ch2 enabled
  19154. <br/>
  19155. 0000_0111 = Ch0, Ch1 and Ch2 enabled
  19156. <br/>
  19157. 1111_1111 = all channels enabled
  19158. </comment>
  19159. </bits>
  19160. <bits access="r" name="ch_busy" pos="AP_IFC_STD_CHAN_NB-1+16:16" rst="0">
  19161. <comment>This register indicates which standard channel is busy (this field doesn't include the RF_SPI channel). A standard channel is mark as busy, when a channel is enabled or a previous reading of the GET_CH register, the field CH_TO_USE indicates this channel. One bit per channel</comment>
  19162. </bits>
  19163. </reg>
  19164. <reg name="debug_status" protect="r">
  19165. <bits access="r" name="dbg_status" pos="0" rst="1">
  19166. <comment>
  19167. Debug Channel Status .
  19168. <br/>
  19169. 0= The debug channel is running
  19170. (not idle)
  19171. <br/>
  19172. 1= The debug channel is in idle mode
  19173. </comment>
  19174. </bits>
  19175. </reg>
  19176. <hole size="32"/>
  19177. <struct count="AP_IFC_STD_CHAN_NB" name="std_ch">
  19178. <reg name="control" protect="rw">
  19179. <bits access="w" name="enable" pos="0" rst="no">
  19180. <comment>
  19181. Channel Enable, write one in this bit enable the channel.
  19182. <br/>
  19183. When the channel is enabled, for a peripheral to memory transfer
  19184. the DMA wait request from peripheral to start transfer.
  19185. </comment>
  19186. </bits>
  19187. <bits access="w" name="disable" pos="1" rst="no">
  19188. <comment>
  19189. Channel Disable, write one in this bit disable the channel.
  19190. <br/>
  19191. When writing one in this bit, the current AHB transfer and
  19192. current APB transfer (if one in progress) is completed and the channel
  19193. is then disabled.
  19194. </comment>
  19195. </bits>
  19196. <bits access="rw" name="rd_hw_exch" pos="2" rst="0">
  19197. <comment>
  19198. Read FIFO data exchange high 8-bit and low 8-bit.
  19199. <br/>
  19200. 0: Exchange; [31:0] = {b2,b3,b0,b1}
  19201. <br/>
  19202. 1: No exchange; [31:0] = {b3,b2,b1,b0}
  19203. </comment>
  19204. </bits>
  19205. <bits access="rw" name="wr_hw_exch" pos="3" rst="0">
  19206. <comment>
  19207. Write FIFO data exchange high 8-bit and low 8-bit.
  19208. <br/>
  19209. 0: Exchange; [31:0] = {b3,b2,b1,b0}
  19210. <br/>
  19211. 1: No exchange; [31:0] = {b2,b3,b0,b1}
  19212. </comment>
  19213. </bits>
  19214. <bits access="rw" name="autodisable" pos="4" rst="1">
  19215. <comment>
  19216. Set Auto-disable mode
  19217. <br/>
  19218. 0 = when TC reach zero the
  19219. channel is not automatically released.
  19220. <br/>
  19221. 1 = At the end of the
  19222. transfer when TC reach zero the channel is automatically disabled. the
  19223. current channel is released.
  19224. </comment>
  19225. </bits>
  19226. <bits access="rw" name="size" pos="5" rst="0">
  19227. <comment>
  19228. Peripheral Size
  19229. <br/>
  19230. 0= 8-bit peripheral
  19231. <br/>
  19232. 1= 32-bit peripheral
  19233. </comment>
  19234. </bits>
  19235. <bits access="rw" display="hex" name="req_src" pos="12:8" rst="0x7">
  19236. <options linkenum="Ap_Ifc_Request_IDs">
  19237. <shift/>
  19238. <mask/>
  19239. <default/>
  19240. </options>
  19241. <comment>Select DMA Request source</comment>
  19242. </bits>
  19243. <bits access="rw" name="flush" pos="16" rst="0">
  19244. <comment>
  19245. When one, flush the internal FIFO channel.
  19246. <br/>
  19247. This bit must be used only in case of Rx transfer. Until this bit is 1, the APB
  19248. request is masked. The flush doesn't release the channel.
  19249. <br/>
  19250. Before writting back this bit to zero the internal fifo must empty.
  19251. </comment>
  19252. </bits>
  19253. </reg>
  19254. <reg name="status" protect="r">
  19255. <bits access="r" name="enable" pos="0" rst="0">
  19256. <comment>Enable bit, when '1' the channel is running</comment>
  19257. </bits>
  19258. <bits access="r" name="fifo_empty" pos="4" rst="1">
  19259. <comment>The internal channel fifo is empty</comment>
  19260. </bits>
  19261. </reg>
  19262. <reg name="start_addr" protect="rw">
  19263. <bits access="rw" display="hex" name="start_addr" pos="NB_BITS_ADDR-1:AP_IFC_ADDR_ALIGN" rst="0xFFFFFFF">
  19264. <comment>
  19265. AHB Address. This field represent the start address of the
  19266. transfer.
  19267. <br/>
  19268. For a 32-bit peripheral, this address must be aligned 32-bit.
  19269. </comment>
  19270. </bits>
  19271. </reg>
  19272. <reg name="tc" protect="rw">
  19273. <bits access="rw" display="hex" name="tc" pos="AP_IFC_TC_LEN-1:0" rst="0xFFFFFF">
  19274. <comment>
  19275. Transfer Count, this field indicated the transfer size in bytes to perform.
  19276. <br/>
  19277. During a transfer a write in this register add the new value to the current TC.
  19278. <br/>
  19279. A read of this register return the current current transfer count.
  19280. </comment>
  19281. </bits>
  19282. </reg>
  19283. </struct>
  19284. <reg name="ch_rfspi_control" protect="rw">
  19285. <bits access="s" name="enable" pos="0" rst="no">
  19286. <comment>
  19287. Channel Enable, write one in this bit enable the channel.
  19288. <br/>
  19289. This channel works only in fifo mode.
  19290. </comment>
  19291. </bits>
  19292. <bits access="c" name="disable" pos="1" rst="no">
  19293. <comment>Channel Disable, write one in this bit to disable the channel.</comment>
  19294. </bits>
  19295. </reg>
  19296. <reg name="ch_rfspi_status" protect="r">
  19297. <bits access="r" name="enable" pos="0" rst="0">
  19298. <comment>Enable bit, when '1' the channel is running</comment>
  19299. </bits>
  19300. <bits access="r" name="fifo_empty" pos="4" rst="1">
  19301. <comment>The internal channel fifo is empty</comment>
  19302. </bits>
  19303. <bits access="r" name="fifo_level" pos="12:8" rst="0">
  19304. <comment>Internal fifo level</comment>
  19305. </bits>
  19306. </reg>
  19307. <reg name="ch_rfspi_start_addr" protect="rw">
  19308. <bits access="rw" display="hex" name="start_ahb_addr" pos="NB_BITS_ADDR-1:AP_IFC_ADDR_ALIGN" rst="0xFFFFFFF">
  19309. <comment>
  19310. AHB Start Address.
  19311. <br/>
  19312. This field represent the start address of the fifo.
  19313. The start address must 32-bit aligned.
  19314. </comment>
  19315. </bits>
  19316. </reg>
  19317. <reg name="ch_rfspi_end_addr" protect="rw">
  19318. <bits access="rw" display="hex" name="end_ahb_addr" pos="NB_BITS_ADDR-1:AP_IFC_ADDR_ALIGN" rst="0xFFFFFFF">
  19319. <comment>
  19320. AHB End Address.
  19321. <br/>
  19322. This field represent the last address of the fifo (it is the first address not used in the fifo).
  19323. <br/>
  19324. The end address must 32-bit aligned.
  19325. </comment>
  19326. </bits>
  19327. </reg>
  19328. <reg name="ch_rfspi_tc" protect="rw">
  19329. <bits access="rw" display="hex" name="tc" pos="13:0" rst="0x0">
  19330. <comment>
  19331. Transfer Count, transfer size in bytes.
  19332. <br/>
  19333. This bit
  19334. indicated the transfer size in bytes to perform. Up to 16kbytes per
  19335. transfer.
  19336. <br/>
  19337. During a transfer a write in this register add the new
  19338. value to the current TC. A read of this register return the current
  19339. current transfer count.
  19340. </comment>
  19341. </bits>
  19342. </reg>
  19343. <hole size="32*(64 - 4 - 4*(AP_IFC_STD_CHAN_NB) -5)"/>
  19344. </module>
  19345. <module category="System" name="AUDIO_IFC">
  19346. <var name="AP_APB1_IFC_AHB_MAXSPACE" value="20"/>
  19347. <var name="AP_APB1_IFC_ADDR_ALIGN" value="2"/>
  19348. <struct count="NB_AIF_IFC_CHANNEL" name="ch">
  19349. <comment>
  19350. The Channel 0 conveys data from the AIF to the memory.
  19351. <br/>
  19352. The Channel 1 conveys data from the memory to the AIF.
  19353. <br/>
  19354. These Channels only exist with Voice Option.
  19355. </comment>
  19356. <reg name="control" protect="rw">
  19357. <bits access="w" name="enable" pos="0" rst="no">
  19358. <comment>
  19359. Channel Enable, write one in this bit enable the channel.
  19360. <br/>
  19361. When the channel is enabled, for a peripheral to memory transfer
  19362. the DMA wait request from peripheral to start transfer.
  19363. </comment>
  19364. </bits>
  19365. <bits access="w" name="disable" pos="1" rst="no">
  19366. <comment>
  19367. Channel Disable, write one in this bit disable the channel.
  19368. <br/>
  19369. When writing one in this bit, the current AHB transfer and
  19370. current APB transfer (if one in progress) is completed and the channel
  19371. is then disabled.
  19372. </comment>
  19373. </bits>
  19374. <bits access="rw" name="auto_disable" pos="4" rst="0">
  19375. <comment>Automatic channel Disable. When this bit is set, the channel is automatically disabled at the next interrupt.</comment>
  19376. </bits>
  19377. </reg>
  19378. <reg name="status" protect="r">
  19379. <bits access="r" name="enable" pos="0" rst="0">
  19380. <comment>When 1 the channel is enabled</comment>
  19381. </bits>
  19382. <bits access="r" name="fifo_empty" pos="4" rst="1">
  19383. <comment>When 1 the fifo is empty</comment>
  19384. </bits>
  19385. <bits access="r" name="cause_ief" pos="8" rst="0">
  19386. <comment>Cause interrupt End of FIFO.</comment>
  19387. </bits>
  19388. <bits access="r" name="cause_ihf" pos="9" rst="0">
  19389. <comment>Cause interrupt Half of FIFO.</comment>
  19390. </bits>
  19391. <bits access="r" name="cause_i4f" pos="10" rst="0">
  19392. <comment>Cause interrupt Quarter of FIFO.</comment>
  19393. </bits>
  19394. <bits access="r" name="cause_i3_4f" pos="11" rst="0">
  19395. <comment>Cause interrupt Three Quarter of FIFO.</comment>
  19396. </bits>
  19397. <bits access="r" name="cause_ahb_error" pos="12" rst="0">
  19398. <comment>Cause interrupt ahb error.</comment>
  19399. </bits>
  19400. <bits access="r" name="ief" pos="16" rst="0">
  19401. <comment>End of FIFO interrupt status bit.</comment>
  19402. </bits>
  19403. <bits access="r" name="ihf" pos="17" rst="0">
  19404. <comment>Half of FIFO interrupt status bit.</comment>
  19405. </bits>
  19406. <bits access="r" name="i4f" pos="18" rst="0">
  19407. <comment>Quarter of FIFO interrupt status bit.</comment>
  19408. </bits>
  19409. <bits access="r" name="i3_4f" pos="19" rst="0">
  19410. <comment>Three Quarter of FIFO interrupt status bit.</comment>
  19411. </bits>
  19412. <bits access="r" name="ahb error" pos="20" rst="0">
  19413. <comment>ahb error interrupt status bit.</comment>
  19414. </bits>
  19415. <bits access="r" name="ch_idle" pos="21" rst="0">
  19416. <comment>channel busy status bit.</comment>
  19417. </bits>
  19418. </reg>
  19419. <reg name="start_addr" protect="rw">
  19420. <bits access="rw" display="hex" name="start_addr" pos="AP_NB_BITS_ADDR-1:AP_APB1_IFC_ADDR_ALIGN" rst="0xFFFFFFFF">
  19421. <comment>AHB Start Address. This field represent the start address of the FIFO located in RAM.</comment>
  19422. </bits>
  19423. </reg>
  19424. <reg name="fifo_size" protect="rw">
  19425. <bits access="rw" display="hex" name="fifo_size" pos="19:4" rst="all1">
  19426. <comment>
  19427. Fifo size in bytes, max 1MBytes.
  19428. <br/>
  19429. The size of the fifo must be a multiple of 16 (The four LSB are always zero).
  19430. </comment>
  19431. </bits>
  19432. </reg>
  19433. <hole size="32"/>
  19434. <reg name="int_mask" protect="rw">
  19435. <bits access="rw" name="end_fifo" pos="8" rst="0">
  19436. <comment>END FIFO Mask interrupt. When one this interrupt is enabled.</comment>
  19437. </bits>
  19438. <bits access="rw" name="half_fifo" pos="9" rst="0">
  19439. <comment>HALF FIFO Mask interrupt. When one this interrupt is enabled.</comment>
  19440. </bits>
  19441. <bits access="rw" name="quarter_fifo" pos="10" rst="0">
  19442. <comment>QUARTER FIFO Mask interrupt. When one this interrupt is
  19443. enabled.</comment>
  19444. </bits>
  19445. <bits access="rw" name="three_quarter_fifo" pos="11" rst="0">
  19446. <comment>THREE QUARTER FIFO Mask interrupt. When one this interrupt is
  19447. enabled.</comment>
  19448. </bits>
  19449. <bits access="rw" name="ahb_error" pos="12" rst="0">
  19450. <comment>ahb_error Mask interrupt. When one this interrupt is
  19451. enabled.</comment>
  19452. </bits>
  19453. </reg>
  19454. <reg name="int_clear" protect="rw">
  19455. <bits access="c" name="end_fifo" pos="8" rst="0">
  19456. <comment>Write one to clear end of fifo interrupt.</comment>
  19457. </bits>
  19458. <bits access="c" name="half_fifo" pos="9" rst="0">
  19459. <comment>Write one to clear half of fifo interrupt.</comment>
  19460. </bits>
  19461. <bits access="c" name="quarter_fifo" pos="10" rst="0">
  19462. <comment>Write one to clear Quarter fifo interrupt.</comment>
  19463. </bits>
  19464. <bits access="c" name="three_quarter_fifo" pos="11" rst="0">
  19465. <comment>Write one to clear Three Quarter fifo interrupt.</comment>
  19466. </bits>
  19467. <bits access="c" name="ahb_error" pos="12" rst="0">
  19468. <comment>Write one to clear ahb_error interrupt.</comment>
  19469. </bits>
  19470. </reg>
  19471. <reg name="cur_ahb_addr" protect="r">
  19472. <bits access="r" display="hex" name="cur_ahb_addr" pos="AP_NB_BITS_ADDR-1:0" rst="0">
  19473. <comment>Current AHB address value. The nine MSB bit is constant and
  19474. equal to the PAGE_ADDR field in the IFC_CH_AHB_START_ADDR register.</comment>
  19475. </bits>
  19476. </reg>
  19477. </struct>
  19478. </module>
  19479. </archive>
  19480. <archive relative="aon_ifc.xml">
  19481. <include file="globals.xml"/>
  19482. <include file="gallite_generic_config.xml"/>
  19483. <var name="AON_IFC_ADDR_ALIGN" value="0"/>
  19484. <var name="AON_IFC_TC_LEN" value="23"/>
  19485. <var name="AON_IFC_STD_CHAN_NB" value="AON_IFC_NB_STD_CHANNEL"/>
  19486. <var name="AON_IFC_RFSPI_CHAN" value="0"/>
  19487. <module category="System" name="AON_IFC">
  19488. <reg name="get_ch" protect="">
  19489. <bits access="r" name="ch_to_use" pos="3:0" rst="0">
  19490. <comment>
  19491. This field indicates which standard channel to use.
  19492. <br/>
  19493. Before using a channel, the CPU read this register to know which channel must be used.
  19494. After reading this registers, the channel is to be regarded as
  19495. busy.
  19496. <br/>
  19497. After reading this register, if the CPU doesn't want to use
  19498. the specified channel, the CPU must write a disable in the control
  19499. register of the channel to release the channel.
  19500. <br/>
  19501. 0000 = use Channel0
  19502. <br/>
  19503. 0001 = use Channel1
  19504. <br/>
  19505. 0010 = use Channel2
  19506. <br/>
  19507. ...
  19508. <br/>
  19509. 0111 = use Channel7
  19510. <br/>
  19511. 1111 = all channels are busy
  19512. </comment>
  19513. <options>
  19514. <mask/>
  19515. <shift/>
  19516. <default/>
  19517. </options>
  19518. </bits>
  19519. </reg>
  19520. <reg name="dma_status" protect="r">
  19521. <bits access="r" name="ch_enable" pos="AON_IFC_STD_CHAN_NB+AON_IFC_RFSPI_CHAN-1:0" rst="0">
  19522. <comment>
  19523. This register indicates which channel is enabled. It is a copy
  19524. of the enable bit of the control register of each channel. One bit per
  19525. channel, for example:
  19526. <br/>
  19527. 0000_0000 = All channels disabled
  19528. <br/>
  19529. 0000_0001 = Ch0 enabled
  19530. <br/>
  19531. 0000_0010 = Ch1 enabled
  19532. <br/>
  19533. 0000_0100 = Ch2 enabled
  19534. <br/>
  19535. 0000_0101 = Ch0 and Ch2 enabled
  19536. <br/>
  19537. 0000_0111 = Ch0, Ch1 and Ch2 enabled
  19538. <br/>
  19539. 1111_1111 = all channels enabled
  19540. </comment>
  19541. </bits>
  19542. <bits access="r" name="ch_busy" pos="AON_IFC_STD_CHAN_NB-1+16:16" rst="0">
  19543. <comment>This register indicates which standard channel is busy (this field doesn't include the RF_SPI channel). A standard channel is mark as busy, when a channel is enabled or a previous reading of the GET_CH register, the field CH_TO_USE indicates this channel. One bit per channel</comment>
  19544. </bits>
  19545. </reg>
  19546. <reg name="debug_status" protect="r">
  19547. <bits access="r" name="dbg_status" pos="0" rst="1">
  19548. <comment>
  19549. Debug Channel Status .
  19550. <br/>
  19551. 0= The debug channel is running
  19552. (not idle)
  19553. <br/>
  19554. 1= The debug channel is in idle mode
  19555. </comment>
  19556. </bits>
  19557. </reg>
  19558. <hole size="32"/>
  19559. <struct count="AON_IFC_STD_CHAN_NB" name="std_ch">
  19560. <reg name="control" protect="rw">
  19561. <bits access="w" name="enable" pos="0" rst="no">
  19562. <comment>
  19563. Channel Enable, write one in this bit enable the channel.
  19564. <br/>
  19565. When the channel is enabled, for a peripheral to memory transfer
  19566. the DMA wait request from peripheral to start transfer.
  19567. </comment>
  19568. </bits>
  19569. <bits access="w" name="disable" pos="1" rst="no">
  19570. <comment>
  19571. Channel Disable, write one in this bit disable the channel.
  19572. <br/>
  19573. When writing one in this bit, the current AHB transfer and
  19574. current APB transfer (if one in progress) is completed and the channel
  19575. is then disabled.
  19576. </comment>
  19577. </bits>
  19578. <bits access="rw" name="rd_hw_exch" pos="2" rst="0">
  19579. <comment>
  19580. Read FIFO data exchange high 8-bit and low 8-bit.
  19581. <br/>
  19582. 0: Exchange; [31:0] = {b2,b3,b0,b1}
  19583. <br/>
  19584. 1: No exchange; [31:0] = {b3,b2,b1,b0}
  19585. </comment>
  19586. </bits>
  19587. <bits access="rw" name="wr_hw_exch" pos="3" rst="0">
  19588. <comment>
  19589. Write FIFO data exchange high 8-bit and low 8-bit.
  19590. <br/>
  19591. 0: Exchange; [31:0] = {b3,b2,b1,b0}
  19592. <br/>
  19593. 1: No exchange; [31:0] = {b2,b3,b0,b1}
  19594. </comment>
  19595. </bits>
  19596. <bits access="rw" name="autodisable" pos="4" rst="1">
  19597. <comment>
  19598. Set Auto-disable mode
  19599. <br/>
  19600. 0 = when TC reach zero the
  19601. channel is not automatically released.
  19602. <br/>
  19603. 1 = At the end of the
  19604. transfer when TC reach zero the channel is automatically disabled. the
  19605. current channel is released.
  19606. </comment>
  19607. </bits>
  19608. <bits access="rw" name="size" pos="5" rst="0">
  19609. <comment>
  19610. Peripheral Size
  19611. <br/>
  19612. 0= 8-bit peripheral
  19613. <br/>
  19614. 1= 32-bit peripheral
  19615. </comment>
  19616. </bits>
  19617. <bits access="rw" display="hex" name="req_src" pos="12:8" rst="0x1f">
  19618. <options linkenum="Aon_Ifc_Request_IDs">
  19619. <shift/>
  19620. <mask/>
  19621. <default/>
  19622. </options>
  19623. <comment>Select DMA Request source</comment>
  19624. </bits>
  19625. <bits access="rw" name="flush" pos="16" rst="0">
  19626. <comment>
  19627. When one, flush the internal FIFO channel.
  19628. <br/>
  19629. This bit must be used only in case of Rx transfer. Until this bit is 1, the APB
  19630. request is masked. The flush doesn't release the channel.
  19631. <br/>
  19632. Before writting back this bit to zero the internal fifo must empty.
  19633. </comment>
  19634. </bits>
  19635. </reg>
  19636. <reg name="status" protect="r">
  19637. <bits access="r" name="enable" pos="0" rst="0">
  19638. <comment>Enable bit, when '1' the channel is running</comment>
  19639. </bits>
  19640. <bits access="r" name="fifo_empty" pos="4" rst="1">
  19641. <comment>The internal channel fifo is empty</comment>
  19642. </bits>
  19643. </reg>
  19644. <reg name="start_addr" protect="rw">
  19645. <bits access="rw" display="hex" name="start_addr" pos="NB_BITS_ADDR-1:AON_IFC_ADDR_ALIGN" rst="0xFFFFFFF">
  19646. <comment>
  19647. AHB Address. This field represent the start address of the
  19648. transfer.
  19649. <br/>
  19650. For a 32-bit peripheral, this address must be aligned 32-bit.
  19651. </comment>
  19652. </bits>
  19653. </reg>
  19654. <reg name="tc" protect="rw">
  19655. <bits access="rw" display="hex" name="tc" pos="AON_IFC_TC_LEN-1:0" rst="0xFFFFFF">
  19656. <comment>
  19657. Transfer Count, this field indicated the transfer size in bytes to perform.
  19658. <br/>
  19659. During a transfer a write in this register add the new value to the current TC.
  19660. <br/>
  19661. A read of this register return the current current transfer count.
  19662. </comment>
  19663. </bits>
  19664. </reg>
  19665. </struct>
  19666. <reg name="ch_rfspi_control" protect="rw">
  19667. <bits access="s" name="enable" pos="0" rst="no">
  19668. <comment>
  19669. Channel Enable, write one in this bit enable the channel.
  19670. <br/>
  19671. This channel works only in fifo mode.
  19672. </comment>
  19673. </bits>
  19674. <bits access="c" name="disable" pos="1" rst="no">
  19675. <comment>Channel Disable, write one in this bit to disable the channel.</comment>
  19676. </bits>
  19677. </reg>
  19678. <reg name="ch_rfspi_status" protect="r">
  19679. <bits access="r" name="enable" pos="0" rst="0">
  19680. <comment>Enable bit, when '1' the channel is running</comment>
  19681. </bits>
  19682. <bits access="r" name="fifo_empty" pos="4" rst="1">
  19683. <comment>The internal channel fifo is empty</comment>
  19684. </bits>
  19685. <bits access="r" name="fifo_level" pos="12:8" rst="0">
  19686. <comment>Internal fifo level</comment>
  19687. </bits>
  19688. </reg>
  19689. <reg name="ch_rfspi_start_addr" protect="rw">
  19690. <bits access="rw" display="hex" name="start_ahb_addr" pos="NB_BITS_ADDR-1:AON_IFC_ADDR_ALIGN" rst="0xFFFFFFF">
  19691. <comment>
  19692. AHB Start Address.
  19693. <br/>
  19694. This field represent the start address of the fifo.
  19695. The start address must 32-bit aligned.
  19696. </comment>
  19697. </bits>
  19698. </reg>
  19699. <reg name="ch_rfspi_end_addr" protect="rw">
  19700. <bits access="rw" display="hex" name="end_ahb_addr" pos="NB_BITS_ADDR-1:AON_IFC_ADDR_ALIGN" rst="0xFFFFFFF">
  19701. <comment>
  19702. AHB End Address.
  19703. <br/>
  19704. This field represent the last address of the fifo (it is the first address not used in the fifo).
  19705. <br/>
  19706. The end address must 32-bit aligned.
  19707. </comment>
  19708. </bits>
  19709. </reg>
  19710. <reg name="ch_rfspi_tc" protect="rw">
  19711. <bits access="rw" display="hex" name="tc" pos="13:0" rst="0x0">
  19712. <comment>
  19713. Transfer Count, transfer size in bytes.
  19714. <br/>
  19715. This bit
  19716. indicated the transfer size in bytes to perform. Up to 16kbytes per
  19717. transfer.
  19718. <br/>
  19719. During a transfer a write in this register add the new
  19720. value to the current TC. A read of this register return the current
  19721. current transfer count.
  19722. </comment>
  19723. </bits>
  19724. </reg>
  19725. <hole size="32*(64 - 4 - 4*(AON_IFC_STD_CHAN_NB) -5)"/>
  19726. </module>
  19727. </archive>
  19728. <archive relative="timer.xml">
  19729. <module category="System" name="TIMER">
  19730. <var name="NB_INTERVAL" value="1"/>
  19731. <var name="INT_TIMER_NB_BITS" value="24"/>
  19732. <var name="WD_TIMER_NB_BITS" value="24"/>
  19733. <var name="HW_TIMER_NB_BITS" value="32"/>
  19734. <var name="TIM_MAXVAL" value="0xffffff"/>
  19735. <reg name="ostimer_ctrl" protect="rw">
  19736. <bits access="rw" name="loadval" pos="23:0" rst="0">
  19737. <comment>Value loaded to OS timer.</comment>
  19738. </bits>
  19739. <bits access="rw" name="enable" pos="24" rst="0">
  19740. <comment>
  19741. Write '1' to this bit will enable OS timer.
  19742. <br/>
  19743. When read, the value is what we have written to this bit, it changes immediately after been written.
  19744. </comment>
  19745. </bits>
  19746. <bits access="r" name="enabled" pos="25" rst="0">
  19747. <comment>
  19748. Read this bit will get the information if OS timer is really enabled or not. This bit will change only after the next front of 16 KHz system clock.
  19749. <br/>
  19750. <br/>
  19751. '1' indicates OS timer enabled.
  19752. <br/>
  19753. '0' indicates OS timer not enabled.
  19754. </comment>
  19755. </bits>
  19756. <bits access="r" name="cleared" pos="26" rst="0">
  19757. <comment>
  19758. Read this bit will get the information if OS timer interruption clear operation is finished or not.
  19759. <br/>
  19760. <br/>
  19761. '1' indicates OS timer interruption clear operation is on going.
  19762. <br/>
  19763. '0' indicates no OS timer interruption clear operation is on going.
  19764. </comment>
  19765. </bits>
  19766. <bits access="rw" name="repeat" pos="28" rst="0">
  19767. <comment>
  19768. Write '1' to this bit will set OS timer to repeat mode.
  19769. <br/>
  19770. When read, get the information if OS timer is in repeat mode.
  19771. <br/>
  19772. <br/>
  19773. '1' indicates OS timer in repeat mode.
  19774. <br/>
  19775. '0' indicates OS timer not in repeat mode.
  19776. </comment>
  19777. </bits>
  19778. <bits access="rw" name="wrap" pos="29" rst="0">
  19779. <comment>
  19780. Write '1' to this bit will set OS timer to wrap mode.
  19781. <br/>
  19782. When read, get the information if OS timer is in wrap mode.
  19783. <br/>
  19784. <br/>
  19785. '1' indicates OS timer in wrap mode.
  19786. <br/>
  19787. '0' indicates OS timer not in wrap mode.
  19788. </comment>
  19789. </bits>
  19790. <bits access="rw" name="load" pos="30" rst="0">
  19791. <comment>Write '1' to this bit will load the initial value to OS timer.</comment>
  19792. </bits>
  19793. </reg>
  19794. <reg name="ostimer_curval" protect="rw">
  19795. <bits access="r" name="curval" pos="31:0" rst="-">
  19796. <comment>Current value of OS timer. The value is 24 bits and the first 8 bits are sign extension of the most important bit. A negative value indicates that the timer has wraped.</comment>
  19797. </bits>
  19798. </reg>
  19799. <reg name="wdtimer_ctrl" protect="rw">
  19800. <bits access="s" name="start" pos="0" rst="0">
  19801. <comment>Write '1' to this bit will enable watchdog timer and Load it with WDTimer_LoadVal.</comment>
  19802. </bits>
  19803. <bits access="c" name="stop" pos="4" rst="0">
  19804. <comment>Write '1' to this bit will stop watchdog timer.</comment>
  19805. </bits>
  19806. <bits access="w" name="reload" pos="16" rst="0">
  19807. <comment>
  19808. Write '1' to this bit will load WDTimer_LoadVal value to watchdog timer.
  19809. <br/>
  19810. Use this bit to implement the watchog keep alive.
  19811. </comment>
  19812. </bits>
  19813. <bits access="r" name="wdenabled" pos="8" rst="0">
  19814. <comment>
  19815. Read this bit will get the information if watchdog timer is really enabled or not. This bit will change only after the next front of 32 KHz system clock.
  19816. <br/>
  19817. <br/>
  19818. '1' indicates watchdog timer is enabled, if current watchdog timer value reaches 0, the system will be reseted.
  19819. <br/>
  19820. '0' indicates watchdog timer is not enabled.
  19821. </comment>
  19822. </bits>
  19823. </reg>
  19824. <reg name="wdtimer_loadval" protect="rw">
  19825. <bits access="rw" name="wdloadval" pos="WD_TIMER_NB_BITS-1:0" rst="-">
  19826. <comment>
  19827. Load value of watchdog timer. Number of 32kHz Clock before Reset.
  19828. <br/>
  19829. </comment>
  19830. </bits>
  19831. </reg>
  19832. <reg name="hwtimer_ctrl" protect="rw">
  19833. <bits access="rw" name="interval_en" pos="8" rst="0">
  19834. <comment>
  19835. This bit enables interval IRQ mode.
  19836. <br/>
  19837. <br/>
  19838. '0': hw delay timer does not generate interval IRQ.
  19839. <br/>
  19840. '1': hw delay timer generate an IRQ each interval.
  19841. </comment>
  19842. </bits>
  19843. <bits access="rw" name="interval" pos="1:0" rst="00">
  19844. <comment>
  19845. interval of generating an HwTimer IRQ.
  19846. <br/>
  19847. <br/>
  19848. &quot;00&quot;: interval of 1/8 second.
  19849. <br/>
  19850. &quot;01&quot;: interval of 1/4 second.
  19851. <br/>
  19852. &quot;10&quot;: interval of 1/2 second.
  19853. <br/>
  19854. &quot;11&quot;: interval of 1 second.
  19855. </comment>
  19856. </bits>
  19857. </reg>
  19858. <reg name="hwtimer_curval" protect="rw">
  19859. <bits access="r" name="curval" pos="31:0" rst="0">
  19860. <comment>Current value of the hardware delay timer. The value is incremented every 61 us. This timer is running all the time and wrap at value 0xFFFFFFFF.</comment>
  19861. </bits>
  19862. </reg>
  19863. <reg name="timer_irq_mask_set" protect="rw">
  19864. <bits access="rs" name="ostimer_mask" pos="0" rst="0">
  19865. <comment>Set mask for OS timer IRQ.</comment>
  19866. </bits>
  19867. <bits access="rs" name="hwtimer_wrap_mask" pos="1" rst="0">
  19868. <comment>Set mask for hardwre delay timer wrap IRQ.</comment>
  19869. </bits>
  19870. <bits access="rs" name="hwtimer_itv_mask" pos="2" rst="0">
  19871. <comment>Set mask for hardwre delay timer interval IRQ.</comment>
  19872. </bits>
  19873. </reg>
  19874. <reg name="timer_irq_mask_clr" protect="rw">
  19875. <bits access="rc" name="ostimer_mask" pos="0" rst="0">
  19876. <comment>Clear mask for OS timer IRQ.</comment>
  19877. </bits>
  19878. <bits access="rc" name="hwtimer_wrap_mask" pos="1" rst="0">
  19879. <comment>Clear mask for hardwre delay timer wrap IRQ.</comment>
  19880. </bits>
  19881. <bits access="rc" name="hwtimer_itv_mask" pos="2" rst="0">
  19882. <comment>Clear mask for hardwre delay timer interval IRQ.</comment>
  19883. </bits>
  19884. </reg>
  19885. <reg name="timer_irq_clr" protect="rw">
  19886. <bits access="c" name="ostimer_clr" pos="0" rst="0">
  19887. <comment>Clear OS timer IRQ.</comment>
  19888. </bits>
  19889. <bits access="c" name="hwtimer_wrap_clr" pos="1" rst="0">
  19890. <comment>Clear hardware delay timer wrap IRQ.</comment>
  19891. </bits>
  19892. <bits access="c" name="hwtimer_itv_clr" pos="2" rst="0">
  19893. <comment>Clear hardware delay timer interval IRQ.</comment>
  19894. </bits>
  19895. </reg>
  19896. <reg name="timer_irq_cause" protect="rw">
  19897. <bits access="r" name="ostimer_cause" pos="0" rst="0">
  19898. <comment>OS timer IRQ cause.</comment>
  19899. </bits>
  19900. <bits access="r" name="hwtimer_wrap_cause" pos="1" rst="0">
  19901. <comment>hardware delay timer wrap IRQ cause.</comment>
  19902. </bits>
  19903. <bits access="r" name="hwtimer_itv_cause" pos="2" rst="0">
  19904. <comment>hardware delay timer interval IRQ cause.</comment>
  19905. </bits>
  19906. <bits access="r" name="ostimer_status" pos="16" rst="0">
  19907. <comment>OS timer IRQ status.</comment>
  19908. </bits>
  19909. <bits access="r" name="hwtimer_wrap_status" pos="17" rst="0">
  19910. <comment>hardware delay timer wrap IRQ status.</comment>
  19911. </bits>
  19912. <bits access="r" name="hwtimer_itv_status" pos="18" rst="0">
  19913. <comment>hardware delay timer interval IRQ status.</comment>
  19914. </bits>
  19915. <bitgroup name="other_tims_irq">
  19916. <entry ref="hwtimer_wrap_cause"/>
  19917. <entry ref="hwtimer_itv_cause"/>
  19918. </bitgroup>
  19919. </reg>
  19920. </module>
  19921. </archive>
  19922. <archive relative="timer_ap.xml">
  19923. <module category="System" name="TIMER_AP">
  19924. <reg name="ostimer_loadval_l" protect="rw">
  19925. <bits access="rw" name="loadval_l" pos="31:0" rst="0">
  19926. <comment>Value low 32bits loaded to OS timer.</comment>
  19927. </bits>
  19928. </reg>
  19929. <reg name="ostimer_ctrl" protect="rw">
  19930. <bits access="rw" name="loadval_h" pos="23:0" rst="0">
  19931. <comment>Value high 24bits loaded to OS timer.</comment>
  19932. </bits>
  19933. <bits access="rw" name="enable" pos="24" rst="0">
  19934. <comment>
  19935. Write '1' to this bit will enable OS timer.
  19936. <br/>
  19937. When read, the value is what we have written to this bit, it changes immediately after been written.
  19938. </comment>
  19939. </bits>
  19940. <bits access="r" name="enabled" pos="25" rst="0">
  19941. <comment>
  19942. Read this bit will get the information if OS timer is really enabled or not. This bit will change only after the next front of 16 KHz system clock.
  19943. <br/>
  19944. <br/>
  19945. '1' indicates OS timer enabled.
  19946. <br/>
  19947. '0' indicates OS timer not enabled.
  19948. </comment>
  19949. </bits>
  19950. <bits access="r" name="cleared" pos="26" rst="0">
  19951. <comment>
  19952. Read this bit will get the information if OS timer interruption clear operation is finished or not.
  19953. <br/>
  19954. <br/>
  19955. '1' indicates OS timer interruption clear operation is on going.
  19956. <br/>
  19957. '0' indicates no OS timer interruption clear operation is on going.
  19958. </comment>
  19959. </bits>
  19960. <bits access="rw" name="repeat" pos="28" rst="0">
  19961. <comment>
  19962. Write '1' to this bit will set OS timer to repeat mode.
  19963. <br/>
  19964. When read, get the information if OS timer is in repeat mode.
  19965. <br/>
  19966. <br/>
  19967. '1' indicates OS timer in repeat mode.
  19968. <br/>
  19969. '0' indicates OS timer not in repeat mode.
  19970. </comment>
  19971. </bits>
  19972. <bits access="rw" name="wrap" pos="29" rst="0">
  19973. <comment>
  19974. Write '1' to this bit will set OS timer to wrap mode.
  19975. <br/>
  19976. When read, get the information if OS timer is in wrap mode.
  19977. <br/>
  19978. <br/>
  19979. '1' indicates OS timer in wrap mode.
  19980. <br/>
  19981. '0' indicates OS timer not in wrap mode.
  19982. </comment>
  19983. </bits>
  19984. <bits access="rw" name="load" pos="30" rst="0">
  19985. <comment>Write '1' to this bit will load the initial value to OS timer.</comment>
  19986. </bits>
  19987. </reg>
  19988. <reg name="ostimer_curval_l" protect="rw">
  19989. <bits access="r" name="curval_l" pos="31:0" rst="-">
  19990. <comment>Current value low 32bits of OS timer.</comment>
  19991. </bits>
  19992. </reg>
  19993. <reg name="ostimer_curval_h" protect="rw">
  19994. <bits access="r" name="curval_h" pos="31:0" rst="-">
  19995. <comment>Current value high bits of OS timer. The value is 24 bits and the first 8 bits are sign extension of the most important bit. A negative value indicates that the timer has wraped.</comment>
  19996. </bits>
  19997. </reg>
  19998. <reg name="ostimer_lockval_l" protect="rw">
  19999. <bits access="r" name="lockval_l" pos="31:0" rst="0">
  20000. <comment>Current locked value low 32bits of OS timer.</comment>
  20001. </bits>
  20002. </reg>
  20003. <reg name="ostimer_lockval_h" protect="rw">
  20004. <bits access="r" name="lockval_h" pos="31:0" rst="0">
  20005. <comment>Current locked value high bits of OS timer. The value is 24 bits and the first 8 bits are sign extension of the most important bit. A negative value indicates that the timer has wraped.</comment>
  20006. </bits>
  20007. </reg>
  20008. <reg name="hwtimer_ctrl" protect="rw">
  20009. <bits access="rw" name="interval_en" pos="8" rst="0">
  20010. <comment>
  20011. This bit enables interval IRQ mode.
  20012. <br/>
  20013. <br/>
  20014. '0': hw delay timer does not generate interval IRQ.
  20015. <br/>
  20016. '1': hw delay timer generate an IRQ each interval.
  20017. </comment>
  20018. </bits>
  20019. <bits access="rw" name="interval" pos="1:0" rst="00">
  20020. <comment>
  20021. interval of generating an HwTimer IRQ.
  20022. <br/>
  20023. <br/>
  20024. &quot;00&quot;: interval of 1/8 second.
  20025. <br/>
  20026. &quot;01&quot;: interval of 1/4 second.
  20027. <br/>
  20028. &quot;10&quot;: interval of 1/2 second.
  20029. <br/>
  20030. &quot;11&quot;: interval of 1 second.
  20031. </comment>
  20032. </bits>
  20033. </reg>
  20034. <reg name="hwtimer_curval_l" protect="rw">
  20035. <bits access="r" name="curval_l" pos="31:0" rst="0">
  20036. <comment>Current low 32bits value of the hardware delay timer.</comment>
  20037. </bits>
  20038. </reg>
  20039. <reg name="hwtimer_curval_h" protect="rw">
  20040. <bits access="r" name="curval_h" pos="31:0" rst="0">
  20041. <comment>Current high 32bits value of the hardware delay timer.</comment>
  20042. </bits>
  20043. </reg>
  20044. <reg name="hwtimer_lockval_l" protect="rw">
  20045. <bits access="r" name="lockval_l" pos="31:0" rst="0">
  20046. <comment>Current locked low 32bits value of the hardware delay timer.</comment>
  20047. </bits>
  20048. </reg>
  20049. <reg name="hwtimer_lockval_h" protect="rw">
  20050. <bits access="r" name="lockval_h" pos="31:0" rst="0">
  20051. <comment>Current locked high 32bits value of the hardware delay timer.</comment>
  20052. </bits>
  20053. </reg>
  20054. <reg name="timer_irq_mask_set" protect="rw">
  20055. <bits access="rs" name="ostimer_mask" pos="0" rst="0">
  20056. <comment>Set mask for OS timer IRQ.</comment>
  20057. </bits>
  20058. <bits access="rs" name="hwtimer_wrap_mask" pos="1" rst="0">
  20059. <comment>Set mask for hardwre delay timer wrap IRQ.</comment>
  20060. </bits>
  20061. <bits access="rs" name="hwtimer_itv_mask" pos="2" rst="0">
  20062. <comment>Set mask for hardwre delay timer interval IRQ.</comment>
  20063. </bits>
  20064. </reg>
  20065. <reg name="timer_irq_mask_clr" protect="rw">
  20066. <bits access="rc" name="ostimer_mask" pos="0" rst="0">
  20067. <comment>Clear mask for OS timer IRQ.</comment>
  20068. </bits>
  20069. <bits access="rc" name="hwtimer_wrap_mask" pos="1" rst="0">
  20070. <comment>Clear mask for hardwre delay timer wrap IRQ.</comment>
  20071. </bits>
  20072. <bits access="rc" name="hwtimer_itv_mask" pos="2" rst="0">
  20073. <comment>Clear mask for hardwre delay timer interval IRQ.</comment>
  20074. </bits>
  20075. </reg>
  20076. <reg name="timer_irq_clr" protect="rw">
  20077. <bits access="c" name="ostimer_clr" pos="0" rst="0">
  20078. <comment>Clear OS timer IRQ.</comment>
  20079. </bits>
  20080. <bits access="c" name="hwtimer_wrap_clr" pos="1" rst="0">
  20081. <comment>Clear hardware delay timer wrap IRQ.</comment>
  20082. </bits>
  20083. <bits access="c" name="hwtimer_itv_clr" pos="2" rst="0">
  20084. <comment>Clear hardware delay timer interval IRQ.</comment>
  20085. </bits>
  20086. </reg>
  20087. <reg name="timer_irq_cause" protect="rw">
  20088. <bits access="r" name="ostimer_cause" pos="0" rst="0">
  20089. <comment>OS timer IRQ cause.</comment>
  20090. </bits>
  20091. <bits access="r" name="hwtimer_wrap_cause" pos="1" rst="0">
  20092. <comment>hardware delay timer wrap IRQ cause.</comment>
  20093. </bits>
  20094. <bits access="r" name="hwtimer_itv_cause" pos="2" rst="0">
  20095. <comment>hardware delay timer interval IRQ cause.</comment>
  20096. </bits>
  20097. <bits access="r" name="ostimer_status" pos="16" rst="0">
  20098. <comment>OS timer IRQ status.</comment>
  20099. </bits>
  20100. <bits access="r" name="hwtimer_wrap_status" pos="17" rst="0">
  20101. <comment>hardware delay timer wrap IRQ status.</comment>
  20102. </bits>
  20103. <bits access="r" name="hwtimer_itv_status" pos="18" rst="0">
  20104. <comment>hardware delay timer interval IRQ status.</comment>
  20105. </bits>
  20106. <bitgroup name="other_tims_irq">
  20107. <entry ref="hwtimer_wrap_cause"/>
  20108. <entry ref="hwtimer_itv_cause"/>
  20109. </bitgroup>
  20110. </reg>
  20111. </module>
  20112. </archive>
  20113. <archive relative="arm_uart.xml">
  20114. <module category="Periph" name="ARM_UART">
  20115. <reg name="uart_tx" protect="rw">
  20116. <bits access="rw" name="tx_data" pos="7:0" rst="0">
  20117. <comment>transmit data register</comment>
  20118. </bits>
  20119. </reg>
  20120. <reg name="uart_rx" protect="r">
  20121. <bits access="r" name="rx_data" pos="7:0" rst="0">
  20122. <comment>receive data register</comment>
  20123. </bits>
  20124. </reg>
  20125. <reg name="uart_baud" protect="rw">
  20126. <bits access="rw" name="baud_const" pos="19:16" rst="3">
  20127. <comment>baud rate divider constant N: (N&gt;=4)
  20128. 0011: N=4
  20129. ...
  20130. 0111: N=8
  20131. ...
  20132. 1111: N=16</comment>
  20133. </bits>
  20134. <bits access="rw" name="baud_div" pos="15:0" rst="6">
  20135. <comment>baud rate divider coeffcient,baud rate formula is:
  20136. BAUD RATE = Fclk/(Nx(BAUD_DIV+1))
  20137. default baud rate is 921.6K, N=4, Ffun=26MHz.</comment>
  20138. </bits>
  20139. </reg>
  20140. <reg name="uart_conf" protect="rw">
  20141. <bits access="rw" name="st_parity" pos="26" rst="0">
  20142. <comment>Stick parity enble
  20143. 1: enable
  20144. 0: disable</comment>
  20145. </bits>
  20146. <bits access="rw" name="at_lock_ie" pos="25" rst="0">
  20147. <comment>Automatic baud detection complete interrupt enable
  20148. 1: enable
  20149. 0: disable</comment>
  20150. </bits>
  20151. <bits access="rw" name="swfc_en" pos="24" rst="0">
  20152. <comment>software flow control bit
  20153. 1: enable
  20154. 0: disable</comment>
  20155. </bits>
  20156. <bits access="rw" name="swfc_xon_ie" pos="23" rst="0">
  20157. <comment>1: enable software flow XON interrupt
  20158. 0: disable software flow XON interrupt</comment>
  20159. </bits>
  20160. <bits access="rw" name="swfc_xoff_ie" pos="22" rst="0">
  20161. <comment>1: enable software flow XOFF interrupt
  20162. 0: disable software flow XOFF interrupt</comment>
  20163. </bits>
  20164. <bits access="rw" name="at_enable" pos="21" rst="0">
  20165. <comment>1: enable automatically detect baud rate
  20166. 0: disable automatically detect baud rate</comment>
  20167. </bits>
  20168. <bits access="rw" name="at_div_mode" pos="20" rst="0">
  20169. <comment>1: autobaud BAUD_CONST=4'b1111
  20170. 0: autobaud BAUD_CONST=4'b0011</comment>
  20171. </bits>
  20172. <bits access="rw" name="at_verify_2byte" pos="19" rst="0">
  20173. <comment>1: the automatic baud rate detects 2 bytes
  20174. 0: the automatic baud rate detects 1 byte</comment>
  20175. </bits>
  20176. <bits access="rw" name="at_parity_sel" pos="17:16" rst="0">
  20177. <comment>2'b00: automatic baud rate detection using odd check
  20178. 2'b01: automatic baud rate detection using even check</comment>
  20179. </bits>
  20180. <bits access="rw" name="at_parity_en" pos="15" rst="0">
  20181. <comment>1: automatic baud rate detection has test bit
  20182. 0: automatic baud rate detection has no test bit</comment>
  20183. </bits>
  20184. <bits access="rw" name="rxrst" pos="14" rst="0">
  20185. <comment>RX FIFO reset control
  20186. 1: RX FIFO reset
  20187. 0: RX FIFO not reset; or set 1'b1, auto clear to 1'b0</comment>
  20188. </bits>
  20189. <bits access="rw" name="txrst" pos="13" rst="0">
  20190. <comment>TX FIFO reset control
  20191. 1: TX FIFO reset
  20192. 0: TX FIFO not reset;or set to 1'b1,auto clear to 1'b0</comment>
  20193. </bits>
  20194. <bits access="rw" name="trail" pos="12" rst="0">
  20195. <comment>TRAIL byte manipulation:
  20196. 1: DMA dispose the TRAIL byte of RXFIFO
  20197. 0: ARM dispose the TRALL byte of RXFIFO</comment>
  20198. </bits>
  20199. <bits access="rw" name="frm_stp" pos="11" rst="0">
  20200. <comment>frames stop control
  20201. 1: enable
  20202. 0: disable</comment>
  20203. </bits>
  20204. <bits access="rw" name="hdlc" pos="10" rst="0">
  20205. <comment>HDLC escape bytes enable control
  20206. 1: enable add escape bytes(transit data),and remove escape byte(receive data)
  20207. 0: disable</comment>
  20208. </bits>
  20209. <bits access="rw" name="tout_hwfc" pos="9" rst="0">
  20210. <comment>after RX timeout, enable hardware flow control (on condition that HWFC is enable)
  20211. 1: after RX timeout,enable hardware flow control. Do not accept data until the timeout bit has been cleared, so that disable the hardware flow control
  20212. 0: after RX timeout, disable hardware flow control</comment>
  20213. </bits>
  20214. <bits access="rw" name="rx_trig_hwfc" pos="8" rst="0">
  20215. <comment>RX trigger RTS enable control (on condition that HWFC is enable)
  20216. 1: enable RX TRIG trigger RTS flow signal
  20217. 0: disable RX TRIG trigger RTS flow signal</comment>
  20218. </bits>
  20219. <bits access="rw" name="hwfc" pos="7" rst="0">
  20220. <comment>hardware flow control bit
  20221. 1: enable
  20222. 0: disable</comment>
  20223. </bits>
  20224. <bits access="rw" name="tout_ie" pos="6" rst="0">
  20225. <comment>RX timeout interrupt control bit
  20226. 1: enable
  20227. 0: disable</comment>
  20228. </bits>
  20229. <bits access="rw" name="tx_ie" pos="5" rst="0">
  20230. <comment>TX data interrupt control bit
  20231. 1: enable TX interrupt
  20232. 0: disable TX interrupt</comment>
  20233. </bits>
  20234. <bits access="rw" name="rx_ie" pos="4" rst="0">
  20235. <comment>RX data interrupt control bit
  20236. 1: enable RX interrupt
  20237. 0: disable RX interrupt</comment>
  20238. </bits>
  20239. <bits access="rw" name="st_check" pos="3" rst="0">
  20240. <comment>stop bit detection control bit
  20241. 1: enable stop bit detection
  20242. 0: disable stop bit detection</comment>
  20243. </bits>
  20244. <bits access="rw" name="stop_bit" pos="2" rst="1">
  20245. <comment>stop bit control bit
  20246. 1: 2bit stop bit
  20247. 0: 1bit stop bit</comment>
  20248. </bits>
  20249. <bits access="rw" name="parity" pos="1" rst="0">
  20250. <comment>check bit
  20251. 1: odd check
  20252. 0: even check</comment>
  20253. </bits>
  20254. <bits access="rw" name="check" pos="0" rst="0">
  20255. <comment>check bit enable or not
  20256. 1: enable
  20257. 0: disable</comment>
  20258. </bits>
  20259. </reg>
  20260. <reg name="uart_rxtrig" protect="rw">
  20261. <bits access="rw" name="rx_trig" pos="7:0" rst="1">
  20262. <comment>RX FIFO trigger settings
  20263. 00000000: don't trigger
  20264. 00000001: 1 byte trigger
  20265. 00000010: 2 bytes trigger
  20266. 00000011: 3 bytes trigger
  20267. 00000100: 4 bytes trigger
  20268. ......
  20269. 01111111: 127bytes trigger
  20270. 10000000: 128bytes trigger</comment>
  20271. </bits>
  20272. </reg>
  20273. <reg name="uart_txtrig" protect="rw">
  20274. <bits access="rw" name="tx_trig" pos="7:0" rst="0">
  20275. <comment>TX FIFO trigger setting
  20276. 00000000: 0 byte trigger
  20277. 00000001: 1 byte trigger
  20278. 00000010: 2 bytes trigger
  20279. 00000011: 3 bytes trigger
  20280. 00000100: 4 bytes trigger
  20281. ......
  20282. 01111110: 126bytes trigger
  20283. 01111111: 127bytes trigger
  20284. 10000000: don't trigger</comment>
  20285. </bits>
  20286. </reg>
  20287. <reg name="uart_delay" protect="rw">
  20288. <bits access="rw" name="two_tx_delay" pos="11:8" rst="0">
  20289. <comment>configure the time interval between sending data twice
  20290. 0000: interval 0 baud rate clock
  20291. 0001: interval 1 baud rate clock
  20292. 1111: interval 15 baud rate clock</comment>
  20293. </bits>
  20294. <bits access="rw" name="toutcnt" pos="7:0" rst="43">
  20295. <comment>configure the threshold value of the UART timeout interrupt counter
  20296. 00000000: configure the initial value of 0 baud rate clock
  20297. 00000001: configure the initial value of 1 baud rate clock
  20298. 00000010: configure the initial value of 2 baud rate clock
  20299. ......
  20300. 11111111: configure the initial value of 255 baud rate clock</comment>
  20301. </bits>
  20302. </reg>
  20303. <reg name="uart_status" protect="rw">
  20304. <bits access="rc" name="xon_status" pos="10" rst="0">
  20305. <comment>bit type is changed from rw1c to rc.
  20306. XON interrupt status bit
  20307. 1: XON interrupt
  20308. 0: not XON interrupt</comment>
  20309. </bits>
  20310. <bits access="rc" name="xoff_status" pos="9" rst="0">
  20311. <comment>bit type is changed from rw1c to rc.
  20312. XOFF interrupt status bit
  20313. 1: XOFF interrupt
  20314. 0: not XOFF interrupt</comment>
  20315. </bits>
  20316. <bits access="r" name="swfc_status" pos="8" rst="0">
  20317. <comment>SWFC status
  20318. 1: prohbit home terminal to send
  20319. 0: allow home terminal to send</comment>
  20320. </bits>
  20321. <bits access="rc" name="rts" pos="7" rst="0">
  20322. <comment>bit type is changed from rw1c to rc.
  20323. request to send status bit
  20324. 1: prohibit far-end to send
  20325. 0: request far-end to send</comment>
  20326. </bits>
  20327. <bits access="rc" name="cts" pos="6" rst="0">
  20328. <comment>bit type is changed from rw1c to rc.
  20329. clear the sending status bit
  20330. 1: prohibit home terminal to send
  20331. 0: allow home terminal to send</comment>
  20332. </bits>
  20333. <bits access="rc" name="st_error" pos="5" rst="0">
  20334. <comment>bit type is changed from rw1c to rc.
  20335. the received data stop bit state
  20336. 1: stop bit error
  20337. 0: stop bit right</comment>
  20338. </bits>
  20339. <bits access="rc" name="p_error" pos="4" rst="0">
  20340. <comment>bit type is changed from rw1c to rc.
  20341. RX data parity status
  20342. 1: parity error
  20343. 0: parity right</comment>
  20344. </bits>
  20345. <bits access="rc" name="frame_int" pos="3" rst="0">
  20346. <comment>bit type is changed from rw1c to rc.
  20347. RX data frame stop bit interrupt status bit
  20348. 1: received frame stop bit &quot;7E&quot;
  20349. 0: not received frame stop bit &quot;7E&quot;</comment>
  20350. </bits>
  20351. <bits access="rc" name="timeout_int" pos="2" rst="0">
  20352. <comment>bit type is changed from rw1c to rc.
  20353. RX data timeout interrupt status bit
  20354. 1: timeout
  20355. 0: not timeout</comment>
  20356. </bits>
  20357. <bits access="rc" name="rx_int" pos="1" rst="0">
  20358. <comment>bit type is changed from rw1c to rc.
  20359. RX data interrupt status bit
  20360. 1: RX_FIFO_CNTRX_TRIG
  20361. 0: RX_FIFO_CNT&lt;RX_TRIG</comment>
  20362. </bits>
  20363. <bits access="rc" name="tx_int" pos="0" rst="0">
  20364. <comment>bit type is changed from rw1c to rc.
  20365. TX data interrupt status bit
  20366. 1: TX_FIFO_CNT TX_TRIG
  20367. 0: TX_FIFO_CNT &gt;TX_TRIG</comment>
  20368. </bits>
  20369. </reg>
  20370. <reg name="uart_rxfifo_stat" protect="r">
  20371. <bits access="r" name="rx_fifo_cnt" pos="7:0" rst="0">
  20372. <comment>RX FIFO data number
  20373. 00000000: RX FIFO has 0 data
  20374. 00000001: RX FIFO has 1 data
  20375. ......
  20376. 01111111: RX FIFO has 127 data
  20377. 10000000: RX FIFO has 128 data</comment>
  20378. </bits>
  20379. </reg>
  20380. <reg name="uart_txfifo_stat" protect="r">
  20381. <bits access="r" name="tx_fifo_cnt" pos="7:0" rst="0">
  20382. <comment>TX FIFO data number
  20383. 00000000: TX FIFO has 0 data
  20384. 00000001: TX FIFO has 1 data
  20385. ......
  20386. 01111111: TX FIFO has 127 data
  20387. 10000000: TX FIFO has 128 data</comment>
  20388. </bits>
  20389. </reg>
  20390. <reg name="uart_rxfifo_hdlc" protect="r">
  20391. <bits access="r" name="hdlc_rxfifo_cnt" pos="7:0" rst="0">
  20392. <comment>enable HDLC, the number of RX FIFO data when received at the end of frames(include the end of frames)
  20393. 00000000: RX FIFO has 0 data
  20394. 00000001: RX FIFO has 1 data
  20395. ......
  20396. 01111111: RX FIFO has 127 data
  20397. 10000000: RX FIFO has 128 data
  20398. Note: UART_RXFIFO_HDLC only read.Uart automatically updates the register value, after receiving the end of frames &quot;7e&quot;.</comment>
  20399. </bits>
  20400. </reg>
  20401. <reg name="uart_at_status" protect="r">
  20402. <bits access="r" name="character_status" pos="18" rst="0">
  20403. <comment>After automatic detection, the detective byte is &quot;AT&quot; or &quot;at&quot;
  20404. 1: &quot;AT&quot;
  20405. 0: &quot;at&quot;</comment>
  20406. </bits>
  20407. <bits access="r" name="auto_baud_locked" pos="17" rst="0">
  20408. <comment>1: Automatic detection complete,lock baud rate
  20409. 0: automatic detection is not completed</comment>
  20410. </bits>
  20411. <bits access="r" name="character_miscompare" pos="16" rst="0">
  20412. <comment>1: automatic detection failed, no matching bytes detected
  20413. 0: automatic detection of matching bytes</comment>
  20414. </bits>
  20415. <bits access="r" name="at_baud_div" pos="15:0" rst="0">
  20416. <comment>automatic detection of BAUD_DIV values</comment>
  20417. </bits>
  20418. </reg>
  20419. <reg name="uart_swfc_cc" protect="rw">
  20420. <bits access="rw" name="xon_cc" pos="15:8" rst="17">
  20421. <comment>XON characteristic parameter</comment>
  20422. </bits>
  20423. <bits access="rw" name="xoff_cc" pos="7:0" rst="19">
  20424. <comment>XOFF characteristic parameter</comment>
  20425. </bits>
  20426. </reg>
  20427. </module>
  20428. </archive>
  20429. <archive relative="keypad.xml">
  20430. <module category="Periph" name="KEYPAD">
  20431. <var name="KEY_NB" value="36">
  20432. <comment>Number of key in the keypad</comment>
  20433. </var>
  20434. <var name="LOW_KEY_NB" value="30">
  20435. <comment>Number of key in the low data register</comment>
  20436. </var>
  20437. <var name="HIGH_KEY_NB" value="6">
  20438. <comment>Number of key in the high data register</comment>
  20439. </var>
  20440. <reg name="kp_data_l" protect="r">
  20441. <bits access="r" name="kp_data_l" pos="31:0" rst="0">
  20442. <comment>
  20443. For keys in column Idx_KeyOut(from 0 to 3) and in line Idx_KeyIn(from 0 to 7), the pressing status are stored in KP_DATA_L(Idx_KeyOut*8+Idx_KeyIn) :
  20444. <br/>
  20445. 0 = Released
  20446. <br/>
  20447. 1 = Pressed
  20448. </comment>
  20449. <options>
  20450. <mask/>
  20451. <shift/>
  20452. </options>
  20453. </bits>
  20454. </reg>
  20455. <reg name="kp_data_h" protect="r">
  20456. <bits access="r" name="kp_data_h" pos="31:0" rst="0">
  20457. <comment>
  20458. For keys in column Idx_KeyOut(from 4 to 7) and line Idx_KeyIn(from 0 to 7), the pressing status are stored in KP_DATA_H(Idx_KeyIn*8-32+Idx_KeyIn):
  20459. <br/>
  20460. 0 = Released
  20461. <br/>
  20462. 1 = Pressed
  20463. </comment>
  20464. <options>
  20465. <mask/>
  20466. <shift/>
  20467. </options>
  20468. </bits>
  20469. </reg>
  20470. <reg name="kp_status" protect="r">
  20471. <bits access="r" name="keyin_status" pos="7:0" rst="0x08">
  20472. <comment>
  20473. For keys in lines status
  20474. <br/>
  20475. 0 = Released
  20476. <br/>
  20477. 1 = Pressed
  20478. </comment>
  20479. <options>
  20480. <mask/>
  20481. <shift/>
  20482. </options>
  20483. </bits>
  20484. <bits access="r" name="kp_on" pos="31" rst="0">
  20485. <comment>
  20486. Indicate Key ON pressing status :
  20487. <br/>
  20488. 0 = Release
  20489. <br/>
  20490. 1 = Pressed
  20491. </comment>
  20492. <options>
  20493. <default/>
  20494. <mask/>
  20495. <shift/>
  20496. </options>
  20497. </bits>
  20498. </reg>
  20499. <reg name="kp_ctrl" protect="rw">
  20500. <bits access="rw" name="kp_en" pos="0" rst="0">
  20501. <comment>
  20502. This bit enables key detection. If this bit is '0', the key detection function
  20503. is disabled. Key ON is an exception, it can be still detected and generate key interrupt
  20504. even if KP_En = '0', however in this case, the debouncing time configuration in key
  20505. control register is ignored and the key ON state is considerred to be stable if it keeps
  20506. same in consecutive 2 cycles of 16KHz clock.
  20507. <br/>
  20508. <br/>
  20509. 0 = keypad disable
  20510. <br/>
  20511. 1 = keypad enable
  20512. </comment>
  20513. </bits>
  20514. <bits access="rw" name="kp_dbn_time" pos="9:2" rst="0">
  20515. <comment>De-bounce time = (KP_DBN_TIME + 1) * SCAN_TIME, SCAN_TIME = 0.3125 ms * Number of Enabled KeyOut (determined by KP_OUT_MASK). For example, if KP_DBN_TIME = 7, KP_OUT_MASK = &quot;111111&quot;, then De-bounce time = (7+1)*0.3125*6=15 ms. The maximum debounce time is 480 ms.</comment>
  20516. </bits>
  20517. <bits access="rw" name="kp_itv_time" pos="15:10" rst="0">
  20518. <comment>Configure interval of generating an IRQ if one key or several keys are pressed long time. Interval of IRQ generation = (KP_ITV_Time + 1) * (KP_DBN_TIME + 1) * SCAN_TIME. SCAN_TIME = 0.3125 ms * Number of Enabled KeyOut (determined by KP_OUT_MASK). For example, if KP_ITV_TIME = 7, KP_DBN_TIME = 7, KP_OUT_MASK = &quot;111111&quot;, then De-bounce time = (7+1)*(7+1)*0.3125*6=120 ms.</comment>
  20519. </bits>
  20520. <bits access="rw" name="kp_in_mask" pos="23:16" rst="0xff">
  20521. <comment>
  20522. each bit masks one input lines.
  20523. <br/>
  20524. '1' = enabled
  20525. <br/>
  20526. '0' = disabled
  20527. <br/>
  20528. The Key In pins 0 to 5 are muxed with the boot mode pins, latched during Reset.
  20529. <br/>
  20530. Key_In 0: BOOT_MODE_NO_AUTO_PU.
  20531. <br/>
  20532. Key_In 1: BOOT_MODE_FORCE_MONITOR.
  20533. <br/>
  20534. Key_In 2: BOOT_MODE_UART_MONITOR_ENABLE.
  20535. <br/>
  20536. Key_In 3: BOOT_MODE_USB_MONITOR_DISABLE.
  20537. <br/>
  20538. Key_In 4: reserved
  20539. </comment>
  20540. </bits>
  20541. <bits access="rw" name="kp_out_mask" pos="31:24" rst="0xff">
  20542. <comment>
  20543. each bit masks one output lines.
  20544. <br/>
  20545. '1' = enabled
  20546. <br/>
  20547. '0' = disabled
  20548. </comment>
  20549. </bits>
  20550. </reg>
  20551. <reg name="kp_irq_mask" protect="rw">
  20552. <bits access="rw" name="kp_evt0_irq_mask" pos="0" rst="0">
  20553. <comment>
  20554. This bit mask keypad irq generated by event0 (key press or key release event, not including all keys release event which is event1).
  20555. <br/>
  20556. 0 = keypad event irq disable
  20557. <br/>
  20558. 1 = keypad event irq enable
  20559. </comment>
  20560. </bits>
  20561. <bits access="rw" name="kp_evt1_irq_mask" pos="1" rst="0">
  20562. <comment>
  20563. This bit mask keypad irq generated by event1 (all keys release event).
  20564. <br/>
  20565. 0 = keypad event irq disable
  20566. <br/>
  20567. 1 = keypad event irq enable
  20568. </comment>
  20569. </bits>
  20570. <bits access="rw" name="kp_itv_irq_mask" pos="2" rst="0">
  20571. <comment>
  20572. This bit mask keypad irq generated by key pressed long time (generated each interval configured in KP_ITV_Time.
  20573. <br/>
  20574. 0 = keypad interval irq disable
  20575. <br/>
  20576. 1 = keypad interval irq enable
  20577. </comment>
  20578. </bits>
  20579. </reg>
  20580. <reg name="kp_irq_cause" protect="r">
  20581. <bits access="r" name="kp_evt0_irq_cause" pos="0" rst="0">
  20582. <comment>keypad event0(key press or key release event, not including all keys release which is event1) IRQ cause.</comment>
  20583. </bits>
  20584. <bits access="r" name="kp_evt1_irq_cause" pos="1" rst="0">
  20585. <comment>keypad event1(all keys release event) IRQ cause.</comment>
  20586. </bits>
  20587. <bits access="r" name="kp_itv_irq_cause" pos="2" rst="0">
  20588. <comment>keypad interval irq cause.</comment>
  20589. </bits>
  20590. <bits access="r" name="kp_evt0_irq_status" pos="16" rst="0">
  20591. <comment>keypad event0(key press or key release event, not including all keys release which is event1) irq status.</comment>
  20592. </bits>
  20593. <bits access="r" name="kp_evt1_irq_status" pos="17" rst="0">
  20594. <comment>keypad event1(all keys release event) irq status.</comment>
  20595. </bits>
  20596. <bits access="r" name="kp_itv_irq_status" pos="18" rst="0">
  20597. <comment>keypad interval irq status.</comment>
  20598. </bits>
  20599. </reg>
  20600. <reg name="kp_irq_clr" protect="rw">
  20601. <bits access="c" name="kp_irq_clr" pos="0" rst="0">
  20602. <comment>Write '1' to this bit clears key IRQ.</comment>
  20603. </bits>
  20604. </reg>
  20605. </module>
  20606. </archive>
  20607. <archive relative="pwm.xml">
  20608. <module category="Periph" name="PWM">
  20609. <reg name="pwt_config" protect="rw">
  20610. <bits access="rw" name="pwt_enable" pos="0" rst="0">
  20611. <comment>
  20612. Enables the Pulse Width Tone output
  20613. <br/>
  20614. 1 = Enable PWT output
  20615. <br/>
  20616. 0 = Disable PWT output
  20617. </comment>
  20618. </bits>
  20619. <bits access="r" name="pwt_start" pos="1" rst="0">
  20620. <comment>The working status of PWT.</comment>
  20621. </bits>
  20622. <bits access="rw" name="pwt_duty" pos="13:4" rst="all1">
  20623. <comment>
  20624. The PWT_Duty value can be used to set the approximate volume of the tone.
  20625. <br/>
  20626. The PWT_Duty value must be less than or equal to half the PWT_Period value and must be at least a value of 8, otherwise no tone will be generated.
  20627. </comment>
  20628. </bits>
  20629. <bits access="rw" name="pwt_period" pos="26:16" rst="all1">
  20630. <comment>
  20631. PWT_Period is the divider value to produce a tone of a given frequency.
  20632. <br/>
  20633. To calculate the PWT_Period value, Use the following formula:
  20634. <br/>
  20635. PWT_Period = FBASE/FNOTE
  20636. <br/>
  20637. where FBASE is the frequency of the PWM module clock (it is based on the system frequency, 26, 39, 52, 78 or 104 MHz divided by 5). FNOTE is the frequency of the desired tone.
  20638. </comment>
  20639. </bits>
  20640. </reg>
  20641. <reg name="lpg_config" protect="rw">
  20642. <bits access="rw" name="lpg_reset_l" pos="0" rst="0">
  20643. <comment>Setting this bit to '0' will reset the Light Pulse Generator internal counters.</comment>
  20644. </bits>
  20645. <bits access="rw" name="lpg_test" pos="1" rst="0">
  20646. <comment>Setting this bit to '0' will reset the Light Pulse Generator internal counters.</comment>
  20647. </bits>
  20648. <bits access="rw" name="lpg_ontime" pos="7:4" rst="0xf">
  20649. <comment>Configures the duty cycle for the Light Pulse Generator by setting the ontime for the LPG output. The actual on-time is calculated as: Tick Period * LPG_OnTime * 256 where the Tick Period is nominally 1/16kHz.</comment>
  20650. <options>
  20651. <option name="undefined" value="0"/>
  20652. <option name="15_6mS" value="1"/>
  20653. <option name="31_2mS" value="2"/>
  20654. <option name="46_8mS" value="3"/>
  20655. <option name="62mS" value="4"/>
  20656. <option name="78mS" value="5"/>
  20657. <option name="94mS" value="6"/>
  20658. <option name="110mS" value="7"/>
  20659. <option name="125mS" value="8"/>
  20660. <option name="140mS" value="9"/>
  20661. <option name="156mS" value="10"/>
  20662. <option name="172mS" value="11"/>
  20663. <option name="188mS" value="12"/>
  20664. <option name="200mS" value="13"/>
  20665. <option name="218mS" value="14"/>
  20666. <option name="234mS" value="15"/>
  20667. <default/>
  20668. <mask/>
  20669. <shift/>
  20670. </options>
  20671. </bits>
  20672. <bits access="rw" name="lpg_period" pos="18:16" rst="0">
  20673. <comment>
  20674. Configures the main period of the light pulse generator. The period is calculated based on the following configurations:
  20675. <br/>
  20676. with the Tick Period ~ 1/16kHz
  20677. <br/>
  20678. </comment>
  20679. <options>
  20680. <option name="0_125s" value="0">
  20681. <comment>Tick Period * 2048</comment>
  20682. </option>
  20683. <option name="0_25s" value="1">
  20684. <comment>Tick Period * 4096</comment>
  20685. </option>
  20686. <option name="0_5s" value="2">
  20687. <comment>Tick Period * 8192</comment>
  20688. </option>
  20689. <option name="0_75s" value="3">
  20690. <comment>Tick Period * 12288</comment>
  20691. </option>
  20692. <option name="1s" value="4">
  20693. <comment>Tick Period * 16384</comment>
  20694. </option>
  20695. <option name="1_25s" value="5">
  20696. <comment>Tick Period * 20480</comment>
  20697. </option>
  20698. <option name="1_5s" value="6">
  20699. <comment>Tick Period * 24576</comment>
  20700. </option>
  20701. <option name="1_75s" value="7">
  20702. <comment>Tick Period * 28672</comment>
  20703. </option>
  20704. <default/>
  20705. <mask/>
  20706. <shift/>
  20707. </options>
  20708. </bits>
  20709. </reg>
  20710. <reg name="pwl0_config" protect="rw">
  20711. <bits access="rw" name="pwl_min" pos="7:0" rst="all1">
  20712. <comment>Sets the lower boundary for PWL pulse. When pulse mode is not used, this is the threshold value for the PWL0. Reading this value will return the current value used for the threshold.</comment>
  20713. </bits>
  20714. <bits access="rw" name="pwl_max" pos="15:8" rst="all1">
  20715. <comment>Sets the upper boundary for PWL pulse. When pulse mode is not used, this value is ignored. Reading this value will return the LFSR value used for generating the PWL outputs.</comment>
  20716. </bits>
  20717. <bits access="rs" name="pwl0_en_h" pos="16" rst="0">
  20718. <comment>When this bit is written with '1', the PWL 0 is enabled and the output is a PRBS whose average on-time is proportional to PWL_Min. This bit is cleared when either of the Force bits are written. Reading this bit will return the current state of the PWL0 enable.</comment>
  20719. </bits>
  20720. <bits access="rc" name="pwl0_force_l" pos="17" rst="0">
  20721. <comment>Writing a '1' to this bit will force the PWL0 to output a low value. If the PWL0 was previously enabled, this will clear the bit.</comment>
  20722. </bits>
  20723. <bits access="r" name="pwl0_force_h" pos="18" rst="no">
  20724. <comment>Writing a '1' to this bit will force the PWL0 to output a high value. If the PWL0 was previously enabled, this will clear the bit.</comment>
  20725. </bits>
  20726. <bits access="rw" name="pwl_pulse_en" pos="19" rst="0">
  20727. <comment>This will enable the PWL pulse mode. The threshold will dynamically sweep between PWL_Min and PWL_Max at a rate depending on PWL_Pulse_Per.</comment>
  20728. </bits>
  20729. <bits access="rs" name="pwl0_set_oe" pos="20" rst="0">
  20730. <comment>Writing '1' to this bit will set the output enable. Reading this bit will return the current status.</comment>
  20731. </bits>
  20732. <bits access="c" name="pwl0_clr_oe" pos="21" rst="no">
  20733. <comment>Writing '1' to this bit will clear the output enable.</comment>
  20734. </bits>
  20735. <bits access="rs" name="pwl_set_mux" pos="22" rst="0">
  20736. <comment>Writing a '1' to this bit will swap the PWL0 and PWL1 outputs. Reading this bit will return the current status.</comment>
  20737. </bits>
  20738. <bits access="c" name="pwl_clr_mux" pos="23" rst="no">
  20739. <comment>Writing a '1' to this bit will unswap the PWL0/PWL1 outputs.</comment>
  20740. </bits>
  20741. <bits access="w" name="pwl_pulse_per" pos="31:24" rst="all1">
  20742. <comment>This value will adjust the pulse period when pulsing is enabled.</comment>
  20743. </bits>
  20744. </reg>
  20745. <reg name="pwl1_config" protect="rw">
  20746. <bits access="rw" name="pwl1_threshold" pos="7:0" rst="all1">
  20747. <comment>Average duty cycle for the Pulse Width Light 1 output. The average duty cycle is calculated as PWL1_Threshold/256.</comment>
  20748. </bits>
  20749. <bits access="r" name="lfsr_reg" pos="15:8" rst="0xa1">
  20750. <comment>LFSR value for PWL.</comment>
  20751. </bits>
  20752. <bits access="rs" name="pwl1_en_h" pos="16" rst="0">
  20753. <comment>When this bit is written with '1', the PWL 1 is enabled and the output is a PRBS whose average on-time is proportional to PWL1_Threshold. This bit is cleared when either of the Force bits are written. Reading this bit will return the current state of the PWL1 enable.</comment>
  20754. </bits>
  20755. <bits access="rc" name="pwl1_force_l" pos="17" rst="0">
  20756. <comment>Writing a '1' to this bit will force the PWL1 to output a low value. If the PWL1 was previously enabled, this will clear the bit.</comment>
  20757. </bits>
  20758. <bits access="r" name="pwl1_force_h" pos="18" rst="no">
  20759. <comment>Writing a '1' to this bit will force the PWL1 to output a high value. If the PWL1 was previously enabled, this will clear the bit.</comment>
  20760. </bits>
  20761. <bits access="rs" name="pwl1_set_oe" pos="20" rst="0">
  20762. <comment>Writing '1' to this bit will set the output enable. Reading this bit will return the current status.</comment>
  20763. </bits>
  20764. <bits access="c" name="pwl1_clr_oe" pos="21" rst="no">
  20765. <comment>Writing '1' to this bit will clear the output enable.</comment>
  20766. </bits>
  20767. </reg>
  20768. <reg name="tsc_data" protect="r">
  20769. <bits access="r" name="tsc_x_value_bit" pos="9:0" rst="0">
  20770. <comment>TSC X Value.</comment>
  20771. </bits>
  20772. <bits access="r" name="tsc_x_value_valid" pos="10" rst="0">
  20773. <comment>TSC X Value valid.</comment>
  20774. </bits>
  20775. <bits access="r" name="tsc_y_value_bit" pos="20:11" rst="0">
  20776. <comment>TSC Y Value.</comment>
  20777. </bits>
  20778. <bits access="r" name="tsc_y_value_valid" pos="21" rst="0">
  20779. <comment>TSC Y Value valid.</comment>
  20780. </bits>
  20781. </reg>
  20782. <reg name="gpadc_data" protect="r">
  20783. <bits access="r" name="gpadc_value_bit" pos="9:0" rst="0">
  20784. <comment>GPADC Value.</comment>
  20785. </bits>
  20786. <bits access="r" name="gpadc_value_valid" pos="10" rst="0">
  20787. <comment>GPADC Value valid.</comment>
  20788. </bits>
  20789. </reg>
  20790. </module>
  20791. </archive>
  20792. <archive relative="calendar.xml">
  20793. <module category="System" name="CALENDAR">
  20794. <reg name="ctrl" protect="rw">
  20795. <bits access="rw" name="interval" pos="1:0" rst="0">
  20796. <options>
  20797. <default/>
  20798. <option name="DISABLE" value="0"/>
  20799. <option name="PER SEC" value="1"/>
  20800. <option name="PER MIN" value="2"/>
  20801. <option name="PER HOUR" value="3"/>
  20802. </options>
  20803. <comment>These 2 bits configure the interval of generating an IRQ status.</comment>
  20804. </bits>
  20805. </reg>
  20806. <reg name="cmd" protect="rw">
  20807. <bits access="rs" name="calendar_load" pos="0" rst="0">
  20808. <comment>
  20809. When write, command to program calendar with a new value (sec, min, hour, day, month, year, day of week) previously written in registers Calendar_LoadVal_H and Calendar_LoadVal_L. This bit is auto cleared.
  20810. <br/>
  20811. '1' = load calendar timer.
  20812. <br/>
  20813. <br/>
  20814. When read, Calendar timer load status.
  20815. <br/>
  20816. '1' = Calendar load has not finished.
  20817. <br/>
  20818. '0' = Calendar load has finished.
  20819. </comment>
  20820. </bits>
  20821. <bits access="rs" name="alarm_load" pos="4" rst="0">
  20822. <comment>
  20823. When write, command to program alarm with a new value (sec, min, hour, day, month, year, day of week) prviously written in registers AlarmVal_H and AlarmVal_L. This bit is auto cleared.
  20824. <br/>
  20825. '1' = load alarm.
  20826. <br/>
  20827. <br/>
  20828. When read, alarm load status.
  20829. <br/>
  20830. '1' = alarm load has not finished.
  20831. <br/>
  20832. '0' = alarm load has finished.
  20833. </comment>
  20834. </bits>
  20835. <bits access="rs" name="alarm_enable_set" pos="5" rst="0">
  20836. <comment>
  20837. command to enable alarm. When alarm is triggered, it will generate a wakup.
  20838. <br/>
  20839. '1' = enable alarm.
  20840. <br/>
  20841. <br/>
  20842. When read, alarm enable status.
  20843. <br/>
  20844. '1' = alarm enable operation is on going, not finished.
  20845. <br/>
  20846. '0' = alarm is enabled.
  20847. </comment>
  20848. </bits>
  20849. <bits access="rc" name="alarm_enable_clr" pos="6" rst="0">
  20850. <comment>
  20851. command to disable alarm.
  20852. <br/>
  20853. '1' = disable alarm.
  20854. <br/>
  20855. <br/>
  20856. When read, alarm enable status.
  20857. <br/>
  20858. '1' = alarm disable operation is on going, not finished.
  20859. <br/>
  20860. '0' = alarm is disabled.
  20861. </comment>
  20862. </bits>
  20863. <bits access="rc" name="alarm_clr" pos="8" rst="0">
  20864. <comment>
  20865. writing '1', clear Alarm triggered signal (connect to wakeup) and alarm triggered IRQ.
  20866. <br/>
  20867. <br/>
  20868. When read, get alarm clear status.
  20869. <br/>
  20870. '1' = alarm clear operation is on going, not finished.
  20871. <br/>
  20872. '0' = alarm is cleared.
  20873. </comment>
  20874. </bits>
  20875. <bits access="c" name="itv_irq_clr" pos="9" rst="0">
  20876. <comment>writing '1', clear interval IRQ.</comment>
  20877. </bits>
  20878. <bits access="rs" name="itv_irq_mask_set" pos="16" rst="0">
  20879. <comment>
  20880. When write '1', Set interval Irq Mask.
  20881. <br/>
  20882. When read, get interval Irq mask.
  20883. </comment>
  20884. </bits>
  20885. <bits access="rc" name="itv_irq_mask_clr" pos="17" rst="0">
  20886. <comment>
  20887. When write '1', Clear interval Irq Mask.
  20888. <br/>
  20889. When read, get inteval Irq mask.
  20890. </comment>
  20891. </bits>
  20892. <bits access="rs" name="calendar_not_valid" pos="31" rst="1">
  20893. <comment>
  20894. When write '1', mark calendar value to be not valid.
  20895. <br/>
  20896. <br/>
  20897. When read, Indicate if the Calendar value is valid or not.
  20898. <br/>
  20899. The calendar value is not valid in case of mismatch between the calendar counter and the APB register,
  20900. which is the case of wakeup the phone after shut down. This mismatch disappear after one RTC cycle or
  20901. after re-porgramming a new calendar value.
  20902. <br/>
  20903. '1' = not valid.
  20904. </comment>
  20905. </bits>
  20906. </reg>
  20907. <reg name="status" protect="r">
  20908. <bits access="r" name="itv_irq_cause" pos="0" rst="0">
  20909. <comment>Interval Irq Cause.</comment>
  20910. </bits>
  20911. <bits access="r" name="alarm_irq_cause" pos="1" rst="0">
  20912. <comment>Alarm Irq Cause.</comment>
  20913. </bits>
  20914. <bits access="r" name="force_wakeup" pos="8" rst="0">
  20915. <comment>
  20916. Force Wakeup status. After set &quot;Force_Wakeup&quot; to '1' in sys_ctrl, the real
  20917. force_wakeup is not set immediatly, this bit indicates when the force wakeup is
  20918. really set. This bits also indicates if the interface between Calendar domain and
  20919. Core domain is enabled.
  20920. <br/>
  20921. '1': force wakeup set.
  20922. </comment>
  20923. </bits>
  20924. <bits access="r" name="chg_mask" pos="12" rst="0">
  20925. <comment>
  20926. Charger Mask status. After set &quot;Chg_Mask&quot; to '1' in sys_ctrl, the real
  20927. Chg_Mask line is not set immediatly, this bit indicates when the Chg_Mask line is
  20928. really set.
  20929. <br/>
  20930. '1': Chg_Mask line set.
  20931. </comment>
  20932. </bits>
  20933. <bits access="r" name="itv_irq_status" pos="16" rst="0">
  20934. <comment>Interval Irq Status.</comment>
  20935. </bits>
  20936. <bits access="r" name="alarm_enable" pos="20" rst="0">
  20937. <comment>
  20938. Alarm Enable Status.
  20939. <br/>
  20940. Note: When calendar is not programmed, Alarm can be enabled or not.
  20941. <br/>
  20942. It is suggested to clear Alarm Enable when program RTC.
  20943. </comment>
  20944. </bits>
  20945. <bits access="r" name="calendar_not_prog" pos="31" rst="0">
  20946. <comment>
  20947. '1' = Calendar has not been programmed.
  20948. <br/>
  20949. This bit keep value '0' after the calendar is programmed once.
  20950. </comment>
  20951. </bits>
  20952. </reg>
  20953. <reg name="calendar_loadval_l" protect="rw">
  20954. <bits access="rw" name="sec" pos="5:0" rst="-">
  20955. <comment>Second value loaded to calendar, ranged from 0 to 59.</comment>
  20956. </bits>
  20957. <bits access="rw" name="min" pos="13:8" rst="-">
  20958. <comment>Minute value loaded to calendar, ranged from 0 to 59.</comment>
  20959. </bits>
  20960. <bits access="rw" name="hour" pos="20:16" rst="-">
  20961. <comment>Hour value loaded to calendar, ranged from 0 to 23.</comment>
  20962. </bits>
  20963. </reg>
  20964. <reg name="calendar_loadval_h" protect="rw">
  20965. <bits access="rw" name="day" pos="4:0" rst="-">
  20966. <comment>Day value loaded to calendar, ranged from 1 to 31.</comment>
  20967. </bits>
  20968. <bits access="rw" name="mon" pos="11:8" rst="-">
  20969. <comment>Month value loaded to calendar, ranged from 1 to 12.</comment>
  20970. </bits>
  20971. <bits access="rw" name="year" pos="22:16" rst="-">
  20972. <comment>
  20973. Year value loaded to calendar, ranged from 0 to 127.
  20974. <br/>
  20975. Represent year 2000 to 2127.
  20976. </comment>
  20977. </bits>
  20978. <bits access="rw" name="weekday" pos="26:24" rst="-">
  20979. <comment>
  20980. Day of the week value loaded to calendar, ranged from 1 to 7.
  20981. <br/>
  20982. Represent Monday, Tuesday etc.
  20983. </comment>
  20984. </bits>
  20985. </reg>
  20986. <reg name="calendar_curval_l" protect="r">
  20987. <bits access="r" name="sec" pos="5:0" rst="-">
  20988. <comment>Current Second value of calendar, ranged from 0 to 59.</comment>
  20989. <options>
  20990. <mask/>
  20991. <shift/>
  20992. <default/>
  20993. </options>
  20994. </bits>
  20995. <bits access="r" name="min" pos="13:8" rst="-">
  20996. <comment>Current Minute value of calendar, ranged from 0 to 59.</comment>
  20997. <options>
  20998. <mask/>
  20999. <shift/>
  21000. <default/>
  21001. </options>
  21002. </bits>
  21003. <bits access="r" name="hour" pos="20:16" rst="-">
  21004. <comment>Current Hour value of calendar, ranged from 0 to 23.</comment>
  21005. <options>
  21006. <mask/>
  21007. <shift/>
  21008. <default/>
  21009. </options>
  21010. </bits>
  21011. </reg>
  21012. <reg name="calendar_curval_h" protect="r">
  21013. <bits access="r" name="day" pos="4:0" rst="-">
  21014. <comment>
  21015. Current Day value of calendar, ranged from 1 to 31.
  21016. <br/>
  21017. Maximum number of days in each month are stored in the module,
  21018. and leap year is supported, so February can have 28 or 29 days.
  21019. </comment>
  21020. <options>
  21021. <mask/>
  21022. <shift/>
  21023. <default/>
  21024. </options>
  21025. </bits>
  21026. <bits access="r" name="mon" pos="11:8" rst="-">
  21027. <comment>Current Month value of calendar, ranged from 1 to 12.</comment>
  21028. <options>
  21029. <mask/>
  21030. <shift/>
  21031. <default/>
  21032. </options>
  21033. </bits>
  21034. <bits access="r" name="year" pos="22:16" rst="-">
  21035. <comment>
  21036. Current Year value of calendar, ranged from 0 to 127.
  21037. <br/>
  21038. Represent year 2000 to 2127.
  21039. </comment>
  21040. <options>
  21041. <mask/>
  21042. <shift/>
  21043. <default/>
  21044. </options>
  21045. </bits>
  21046. <bits access="r" name="weekday" pos="26:24" rst="-">
  21047. <comment>
  21048. Current Day of the week value of calendar, ranged from 1 to 7.
  21049. <br/>
  21050. Represent Monday, Tuesday etc.
  21051. </comment>
  21052. <options>
  21053. <mask/>
  21054. <shift/>
  21055. <default/>
  21056. </options>
  21057. </bits>
  21058. </reg>
  21059. <reg name="alarmval_l" protect="rw">
  21060. <bits access="rw" name="sec" pos="5:0" rst="-">
  21061. <comment>Second value loaded to alarm, ranged from 0 to 59.</comment>
  21062. </bits>
  21063. <bits access="rw" name="min" pos="13:8" rst="-">
  21064. <comment>Minute value loaded to alarm, ranged from 0 to 59.</comment>
  21065. </bits>
  21066. <bits access="rw" name="hour" pos="20:16" rst="-">
  21067. <comment>Hour value loaded to alarm, ranged from 0 to 23.</comment>
  21068. </bits>
  21069. </reg>
  21070. <reg name="alarmval_h" protect="rw">
  21071. <bits access="rw" name="day" pos="4:0" rst="-">
  21072. <comment>Day value loaded to alarm, ranged from 1 to 31.</comment>
  21073. </bits>
  21074. <bits access="rw" name="mon" pos="11:8" rst="-">
  21075. <comment>Month value loaded to alarm, ranged from 1 to 12.</comment>
  21076. </bits>
  21077. <bits access="rw" name="year" pos="22:16" rst="-">
  21078. <comment>
  21079. Year value loaded to alarm, ranged from 0 to 127.
  21080. <br/>
  21081. Represent year 2000 to 2127.
  21082. </comment>
  21083. </bits>
  21084. </reg>
  21085. </module>
  21086. </archive>
  21087. <archive relative="aif.xml">
  21088. <module category="System" name="AIF">
  21089. <enum name="AIF_Sampling_Rate">
  21090. <entry name="AIF_8k"/>
  21091. <entry name="AIF_11k025"/>
  21092. <entry name="AIF_12k"/>
  21093. <entry name="AIF_16k"/>
  21094. <entry name="AIF_22k05"/>
  21095. <entry name="AIF_24k"/>
  21096. <entry name="AIF_32k"/>
  21097. <entry name="AIF_44k1"/>
  21098. <entry name="AIF_48k"/>
  21099. </enum>
  21100. <var name="AIF_RX_FIFO_SIZE" value="8"/>
  21101. <var name="AIF_TX_FIFO_SIZE" value="8"/>
  21102. <reg name="data" protect="w">
  21103. <bits access="rw" name="data0" pos="15:0" rst="-">
  21104. <comment>This reg contains data to be read or written by IFC.
  21105. In mono mode, data0 is before data1.
  21106. In stereo mode, data0 is in left channel.</comment>
  21107. </bits>
  21108. <bits access="rw" name="data1" pos="31:16" rst="-">
  21109. <comment>This reg contains data to be read or written by IFC.
  21110. In mono mode, data1 is after data0.
  21111. In stereo mode, data1 is in right channel.</comment>
  21112. </bits>
  21113. </reg>
  21114. <reg name="ctrl" protect="rw">
  21115. <bits access="rw" name="enable" pos="0" rst="0">
  21116. <options>
  21117. <default/>
  21118. <option name="ENABLE" value="1"/>
  21119. <option name="DISABLE" value="0"/>
  21120. </options>
  21121. <comment>
  21122. Audio Interface Enable.
  21123. <br/>
  21124. 0: if AIF_Tone[0] is also 0, AIF is disabled.
  21125. <br/>
  21126. 1 = AIF Enabled. If AIF_Tone[0] is also '1', Tx fifo continue to fetch and distribute data
  21127. from IFC when tone is enable. However, these data are not used.
  21128. </comment>
  21129. </bits>
  21130. <bits access="rw" name="tx off" pos="4" rst="0">
  21131. <options>
  21132. <default/>
  21133. <option name="Tx On" value="0"/>
  21134. <option name="Tx Off" value="1"/>
  21135. </options>
  21136. <comment>
  21137. Disable AIF Tx functions. Important: if you want to do record only, you must set this bit otherwise AIF state machine will not start.
  21138. <br/>
  21139. 0 = Both Tx Rx enabled.
  21140. <br/>
  21141. 1 = Rx enabled only, Tx disabled.
  21142. </comment>
  21143. </bits>
  21144. <bits access="rs" name="parallel out set" pos="8" rst="0">
  21145. <options>
  21146. <default/>
  21147. <option name="SERL" value="0"/>
  21148. <option name="PARA" value="1"/>
  21149. </options>
  21150. <comment>
  21151. Selects parallel audio interface connected to analog front-end.
  21152. <br/>
  21153. 0 = serial output.
  21154. <br/>
  21155. 1 = parallel output.
  21156. </comment>
  21157. </bits>
  21158. <bits access="rc" name="parallel out clr" pos="9" rst="0">
  21159. <options>
  21160. <default/>
  21161. <option name="SERL" value="0"/>
  21162. <option name="PARA" value="1"/>
  21163. </options>
  21164. <comment>
  21165. Selects parallel audio interface connected to analog front-end.
  21166. <br/>
  21167. 0 = serial output.
  21168. <br/>
  21169. 1 = parallel output.
  21170. </comment>
  21171. </bits>
  21172. <bits access="rs" name="parallel in set" pos="10" rst="0">
  21173. <options>
  21174. <default/>
  21175. <option name="SERL" value="0"/>
  21176. <option name="PARA" value="1"/>
  21177. </options>
  21178. <comment>
  21179. Selects parallel audio interface connected to analog front-end.
  21180. <br/>
  21181. 0 = serial input.
  21182. <br/>
  21183. 1 = parallel input.
  21184. </comment>
  21185. </bits>
  21186. <bits access="rc" name="parallel in clr" pos="11" rst="0">
  21187. <options>
  21188. <default/>
  21189. <option name="SERL" value="0"/>
  21190. <option name="PARA" value="1"/>
  21191. </options>
  21192. <comment>
  21193. Selects parallel audio interface connected to analog front-end.
  21194. <br/>
  21195. 0 = serial input.
  21196. <br/>
  21197. 1 = parallel input.
  21198. </comment>
  21199. </bits>
  21200. <bits access="rw" name="tx stb mode" pos="12" rst="0">
  21201. <comment>
  21202. In parallel mode, select AIF Tx Strobe mode. Reserved in serial mode.
  21203. <br/>
  21204. 0 = Tx STB edge is in middle of data.
  21205. <br/>
  21206. 1 = Tx STB edge is aligned to data edge.
  21207. </comment>
  21208. </bits>
  21209. <bits access="rc" name="out underflow" pos="16" rst="0">
  21210. <comment>
  21211. This bit indicates if the AIF had needed some data while the Out Fifo was empty.
  21212. In case of data famine, the last available data will be sent again.
  21213. <br/>
  21214. Write one to clear the out_underflow status bit. This bit is auto clear.
  21215. </comment>
  21216. </bits>
  21217. <bits access="rc" name="in overflow" pos="17" rst="0">
  21218. <comment>
  21219. This bit indicates if the AIF had received some data while the Input Fifo was full.
  21220. If the Fifo In is full, the newly received data will be lost.
  21221. <br/>
  21222. Write one to clear the in_overflow status bit. This bit is auto clear.
  21223. </comment>
  21224. </bits>
  21225. <bits access="rw" name="loop back" pos="31" rst="0">
  21226. <options>
  21227. <default/>
  21228. <option name="NORMAL" value="0"/>
  21229. <option name="LOOPBACK" value="1"/>
  21230. </options>
  21231. <comment>Sets the loop back mode. The feature is for debug only and can not work in DAI mode.</comment>
  21232. </bits>
  21233. </reg>
  21234. <reg name="serial_ctrl" protect="rw">
  21235. <bits access="rw" name="serial mode" pos="1:0" rst="00">
  21236. <options>
  21237. <default/>
  21238. <option name="I2S_PCM" value="0"/>
  21239. <option name="VOICE" value="1"/>
  21240. <option name="DAI" value="2"/>
  21241. </options>
  21242. <comment>
  21243. Configure serial AIF mode. &quot;11&quot; is reserved.
  21244. <br/>
  21245. <br/>
  21246. When mode is set DAI, the bit Master Mode should be set to '1',
  21247. bit Endian_L set to '0'. Data should be sent out on falling edge, which
  21248. requires either Bclk_Pol = '0' and Half_Cycle_DLY = '1' or Bclk_Pol = '1'
  21249. and Half_Cycle_DLY = '0'. Bits Tx_DLY and BCKOut_Gate must be configured
  21250. to '0' and '1'.
  21251. <br/>
  21252. The DAI mode must NOT be modified after AIF is enabled.
  21253. <br/>
  21254. </comment>
  21255. </bits>
  21256. <bits access="rw" name="i2s in sel" pos="3:2" rst="0">
  21257. <options>
  21258. <default/>
  21259. <option name="I2S IN 0" value="0"/>
  21260. <option name="I2S IN 1" value="1"/>
  21261. <option name="I2S IN 2" value="2"/>
  21262. </options>
  21263. <comment>Select AIF I2S input.</comment>
  21264. </bits>
  21265. <bits access="rw" name="master mode" pos="4" rst="1">
  21266. <options>
  21267. <default/>
  21268. <option name="SLAVE" value="0"/>
  21269. <option name="MASTER" value="1"/>
  21270. </options>
  21271. <comment>configure AIF works in master mode (LRCLK and BCK timing signals are generated internally)
  21272. or slave mode (LRCLK and BCK timing signals are generated externally).</comment>
  21273. </bits>
  21274. <bits access="rw" name="lsb" pos="5" rst="0">
  21275. <options>
  21276. <default/>
  21277. <option name="MSB" value="0"/>
  21278. <option name="LSB" value="1"/>
  21279. </options>
  21280. <comment>When high, the output data format is with the least significant bit first.</comment>
  21281. </bits>
  21282. <bits access="rw" name="lrck pol" pos="6" rst="0">
  21283. <options>
  21284. <default/>
  21285. <option name="LEFT_H_RIGHT_L" value="0"/>
  21286. <option name="LEFT_L_RIGHT_H" value="1"/>
  21287. </options>
  21288. <comment>
  21289. configure LRCK polarity.
  21290. <br/>
  21291. 0 = high level on LRCK means left channel, low level on LRCK means right channel.
  21292. <br/>
  21293. 1 = high level on LRCK means right channel, low level on LRCK means left channel.
  21294. <br/>
  21295. <br/>
  21296. Note: this bit should be set to '0' (LEFT_H_RIGHT_L) in voice mode.
  21297. </comment>
  21298. </bits>
  21299. <bits access="rw" name="lr justified" pos="7" rst="0">
  21300. <options>
  21301. </options>
  21302. <comment>.</comment>
  21303. </bits>
  21304. <bits access="rw" name="rx_dly" pos="9:8" rst="0">
  21305. <options>
  21306. <default/>
  21307. <option name="ALIGN" value="0"/>
  21308. <option name="DLY_1" value="1"/>
  21309. <option name="DLY_2" value="2"/>
  21310. <option name="DLY_3" value="3"/>
  21311. </options>
  21312. <comment>
  21313. Indicates the delay between serial data in MSB and LRCK edge.
  21314. <br/>
  21315. &quot;00&quot; = Digital audio in MSB is aligned with LRCLK edge.
  21316. <br/>
  21317. &quot;01&quot; = Digital audio in MSB is 1 cycle delayed to LRCLK edge.
  21318. <br/>
  21319. &quot;10&quot; = Digital audio in MSB is 2 cycle delayed to LRCLK edge.
  21320. <br/>
  21321. &quot;11&quot; = Digital audio in MSB is 3 cycle delayed to LRCLK edge.
  21322. </comment>
  21323. </bits>
  21324. <bits access="rw" name="tx_dly" pos="10" rst="0">
  21325. <options>
  21326. <default/>
  21327. <option name="ALIGN" value="0"/>
  21328. <option name="DLY_1" value="1"/>
  21329. </options>
  21330. <comment>
  21331. configure the delay between serial data out MSB and LRCK edge.
  21332. <br/>
  21333. &quot;0&quot; = Digital audio out MSB is aligned with LRCLK edge.
  21334. <br/>
  21335. &quot;1&quot; = Digital audio out MSB is 1 cycle delayed to LRCLK edge.
  21336. </comment>
  21337. </bits>
  21338. <bits access="rw" name="tx_dly_s" pos="11" rst="0">
  21339. <options>
  21340. <default/>
  21341. <option name="NO DLY" value="0"/>
  21342. <option name="DLY" value="1"/>
  21343. </options>
  21344. <comment>
  21345. ONLY for slave mode: configure 1 cycle supplementary Tx delay.
  21346. <br/>
  21347. &quot;0&quot; = No supplementary Tx delay.
  21348. <br/>
  21349. &quot;1&quot; = One Cycle supplementary Tx delay.
  21350. </comment>
  21351. </bits>
  21352. <bits access="rw" name="tx_mode" pos="13:12" rst="0">
  21353. <options>
  21354. <default/>
  21355. <option name="STEREO_STEREO" value="0"/>
  21356. <option name="MONO_STEREO_CHAN_L" value="1"/>
  21357. <option name="MONO_STEREO_DUPLI" value="2"/>
  21358. <option name="STEREO_TO_MONO" value="3"/>
  21359. </options>
  21360. <comment>
  21361. Configure mono or stereo format for Audio data out.
  21362. This field is used both in serial mode or in parallel EXT mode.
  21363. <br/>
  21364. &quot;00&quot; = stereo input from IFC, stereo output to pin.
  21365. <br/>
  21366. &quot;01&quot; = mono input from IFC, stereo output in left channel to pin.
  21367. This value is reserved in parallel EXT mode.
  21368. <br/>
  21369. &quot;10&quot; = mono input from IFC, stereo output duplicate in both channels to pin.
  21370. <br/>
  21371. &quot;11&quot; = stereo input from IFC, mono output to left and right channel. This mode is only used for parallel stereo interface.
  21372. <br/>
  21373. <br/>
  21374. if AIF works in DAI or Voice mode, always select &quot;00&quot; mode STEREO_STEREO.
  21375. </comment>
  21376. </bits>
  21377. <bits access="rw" name="rx mode" pos="14" rst="0">
  21378. <options>
  21379. <default/>
  21380. <option name="STEREO_STEREO" value="0"/>
  21381. <option name="STEREO_MONO_FROM_L" value="1"/>
  21382. </options>
  21383. <comment>
  21384. Configure mono or stereo format for Audio data in.
  21385. <br/>
  21386. 0 = stereo input from pin, stereo output to IFC.
  21387. <br/>
  21388. 1 = stereo input from pin, mono input to IFC selected from left channel.
  21389. <br/>
  21390. <br/>
  21391. Users can change LRCK polarity to choose mono input from right channel.
  21392. </comment>
  21393. </bits>
  21394. <bits access="rw" name="bck lrck" pos="20:16" rst="0">
  21395. <options>
  21396. <default/>
  21397. <option name="BCK LRCK 16" value="0"/>
  21398. <option name="BCK LRCK 17" value="1"/>
  21399. <option name="BCK LRCK 18" value="2"/>
  21400. <option name="BCK LRCK 19" value="3"/>
  21401. <option name="BCK LRCK 20" value="4"/>
  21402. <option name="BCK LRCK 21" value="5"/>
  21403. <option name="BCK LRCK 22" value="6"/>
  21404. <option name="BCK LRCK 23" value="7"/>
  21405. <option name="BCK LRCK 24" value="8"/>
  21406. <option name="BCK LRCK 25" value="9"/>
  21407. <option name="BCK LRCK 26" value="10"/>
  21408. <option name="BCK LRCK 27" value="11"/>
  21409. <option name="BCK LRCK 28" value="12"/>
  21410. <option name="BCK LRCK 29" value="13"/>
  21411. <option name="BCK LRCK 30" value="14"/>
  21412. <option name="BCK LRCK 31" value="15"/>
  21413. <option name="BCK LRCK 32" value="16"/>
  21414. <option name="BCK LRCK 33" value="17"/>
  21415. <option name="BCK LRCK 34" value="18"/>
  21416. <option name="BCK LRCK 35" value="19"/>
  21417. <option name="BCK LRCK 36" value="20"/>
  21418. <option name="BCK LRCK 37" value="21"/>
  21419. <option name="BCK LRCK 38" value="22"/>
  21420. <option name="BCK LRCK 39" value="23"/>
  21421. <option name="BCK LRCK 40" value="24"/>
  21422. <option name="BCK LRCK 41" value="25"/>
  21423. <option name="BCK LRCK 42" value="26"/>
  21424. <option name="BCK LRCK 43" value="27"/>
  21425. <option name="BCK LRCK 44" value="28"/>
  21426. <option name="BCK LRCK 45" value="29"/>
  21427. <option name="BCK LRCK 46" value="30"/>
  21428. <option name="BCK LRCK 47" value="31"/>
  21429. </options>
  21430. <comment>
  21431. configure the ratio of BCK and LRCK cycle from 16 to 31.
  21432. <br/>
  21433. Voice_Mode: &quot;XXXX&quot;: each sample takes 16 + &quot;XXXX&quot; BCLK cycle.
  21434. <br/>
  21435. Audio_Mode: &quot;XXXX&quot;: each sample takes 2*(16 + &quot;XXXX) BCLK cycle. 2 times than Voice Mode because in audio mode each sample occupies two channels.
  21436. </comment>
  21437. </bits>
  21438. <bits access="rw" name="bck pol" pos="24" rst="0">
  21439. <options>
  21440. <default/>
  21441. <option name="NORMAL" value="0"/>
  21442. <option name="INVERT" value="1"/>
  21443. </options>
  21444. <comment>if Master Mode, invert BCLK out. if slave Mode, invert BCLK in.</comment>
  21445. </bits>
  21446. <bits access="rw" name="output half cycle dly" pos="25" rst="0">
  21447. <options>
  21448. <default/>
  21449. <option name="NO DLY" value="0"/>
  21450. <option name="DLY" value="1"/>
  21451. </options>
  21452. <comment>delayed Audio output data or LRCK by half cycle.</comment>
  21453. </bits>
  21454. <bits access="rw" name="input half cycle dly" pos="26" rst="0">
  21455. <options>
  21456. <default/>
  21457. <option name="NO DLY" value="0"/>
  21458. <option name="DLY" value="1"/>
  21459. </options>
  21460. <comment>delayed Audio input data by half cycle.</comment>
  21461. </bits>
  21462. <bits access="rw" name="bckout gate" pos="28" rst="0">
  21463. <options>
  21464. <default/>
  21465. <option name="NO GATE" value="0"/>
  21466. <option name="GATED" value="1"/>
  21467. </options>
  21468. <comment>Sets the BckOut gating. This bit decide if AIF continue to output BCK clock after 16-bit data has been sent.</comment>
  21469. </bits>
  21470. </reg>
  21471. <reg name="tone" protect="rw">
  21472. <bits access="rw" name="enable h" pos="0" rst="0">
  21473. <options>
  21474. <default/>
  21475. <option name="DISABLE" value="0"/>
  21476. <option name="ENABLE" value="1"/>
  21477. </options>
  21478. <comment>
  21479. When this bit is set, the audio interface is enabled and a comfort tone or DTMF tone is output
  21480. on the audio interface instead of the regular data, even if the AIF_CTRL[0] enable bit is 0.
  21481. <br/>
  21482. 0 = AIF is disabled if the AIF_CTRL[0] is also 0.
  21483. <br/>
  21484. 1 = AIF is enabled and generates a tone.
  21485. </comment>
  21486. </bits>
  21487. <bits access="rw" name="tone select" pos="1" rst="0">
  21488. <options>
  21489. <default/>
  21490. <option name="DTMF" value="0"/>
  21491. <option name="COMFORT TONE" value="1"/>
  21492. </options>
  21493. <comment>Select whether a DTMF of a comfort tone is generated.</comment>
  21494. </bits>
  21495. <bits access="rw" name="dtmf freq col" pos="5:4" rst="0">
  21496. <options>
  21497. <default/>
  21498. <option name="1209 Hz" value="0"/>
  21499. <option name="1336 Hz" value="1"/>
  21500. <option name="1477 Hz" value="2"/>
  21501. <option name="1633 Hz" value="3"/>
  21502. </options>
  21503. <comment>Frequency of the first DTMF sine wave.</comment>
  21504. </bits>
  21505. <bits access="rw" name="dtmf freq row" pos="7:6" rst="0">
  21506. <options>
  21507. <default/>
  21508. <option name="697 Hz" value="0"/>
  21509. <option name="770 Hz" value="1"/>
  21510. <option name="852 Hz" value="2"/>
  21511. <option name="941 Hz" value="3"/>
  21512. </options>
  21513. <comment>Frequency of the second DTMF sine wave.</comment>
  21514. </bits>
  21515. <bits access="rw" name="comfort freq" pos="9:8" rst="0">
  21516. <options>
  21517. <default/>
  21518. <option name="425 Hz" value="0"/>
  21519. <option name="950 Hz" value="1"/>
  21520. <option name="1400 Hz" value="2"/>
  21521. <option name="1800 Hz" value="3"/>
  21522. </options>
  21523. <comment>Frequency of comfort tone.</comment>
  21524. </bits>
  21525. <bits access="rw" name="tone gain" pos="13:12" rst="0">
  21526. <comment>Tone attenuation. The Comfort Tone or DTMF is attenuated according to this programmable gain.</comment>
  21527. <options>
  21528. <default/>
  21529. <option name="0 dB" value="0"/>
  21530. <option name="m3 dB" value="1"/>
  21531. <option name="m9 dB" value="2"/>
  21532. <option name="m15 dB" value="3"/>
  21533. </options>
  21534. </bits>
  21535. </reg>
  21536. <reg name="side_tone" protect="rw">
  21537. <bits access="rw" name="side tone gain" pos="3:0" rst="0">
  21538. <comment>
  21539. Side Tone attenuation. The side tone is attenuated according to this programmable gain.
  21540. <br/>
  21541. 0000 = mute.
  21542. <br/>
  21543. 0001 = -36 dB.
  21544. <br/>
  21545. 0010 = -33 dB.
  21546. <br/>
  21547. 0011 = -30 dB.
  21548. <br/>
  21549. 0100 = -27 dB.
  21550. <br/>
  21551. 0101 = -24 dB.
  21552. <br/>
  21553. 0110 = -21 dB.
  21554. <br/>
  21555. 0111 = -18 dB.
  21556. <br/>
  21557. 1000 = -15 dB.
  21558. <br/>
  21559. 1001 = -12 dB.
  21560. <br/>
  21561. 1010 = -9 dB.
  21562. <br/>
  21563. 1011 = -6 dB.
  21564. <br/>
  21565. 1100 = -3 dB.
  21566. <br/>
  21567. 1101 = 0 dB.
  21568. <br/>
  21569. 1110 = +3 dB.
  21570. <br/>
  21571. 1111 = +6 dB.
  21572. </comment>
  21573. </bits>
  21574. </reg>
  21575. <reg name="rx_load_pos" protect="rw">
  21576. <bits access="rw" name="rx load position" pos="3:0" rst="0">
  21577. <comment>set rx load position delay, the range is 0 to 15.</comment>
  21578. </bits>
  21579. </reg>
  21580. <reg name="fm_record_ctrl" protect="rw">
  21581. <bits access="rw" name="record_en" pos="0" rst="0">
  21582. <comment>&quot;1&quot; enable fm record.</comment>
  21583. </bits>
  21584. <bits access="rw" name="lr_swap" pos="4" rst="0">
  21585. <comment>&quot;1&quot; swap fm left and right channel.</comment>
  21586. </bits>
  21587. </reg>
  21588. </module>
  21589. </archive>
  21590. <archive relative="aud_2ad.xml">
  21591. <module category="Periph" name="AUD_2AD">
  21592. <reg name="aud_top_ctl" protect="rw">
  21593. <bits access="rw" name="adc1_sinc_in_sel" pos="15:14" rst="0">
  21594. </bits>
  21595. <bits access="rw" name="adc1_iis_sel" pos="13:12" rst="0">
  21596. </bits>
  21597. <bits access="rw" name="adc1_en_r" pos="11" rst="0">
  21598. </bits>
  21599. <bits access="rw" name="adc1_en_l" pos="10" rst="0">
  21600. </bits>
  21601. <bits access="rw" name="adc_sinc_in_sel" pos="9:8" rst="0">
  21602. <comment>[9:8]=='b00: select adc input data ;
  21603. [9:8]=='b01: select dac output loop data ;
  21604. [9:8]=='b1x: force to zero ;</comment>
  21605. </bits>
  21606. <bits access="rw" name="adc_iis_sel" pos="7:6" rst="0">
  21607. <comment>[6]==0: fm input to aif1; [6]=1: audio codec input to aif1;
  21608. [7]==0: fm input to aif2; [7]=1: audio codec input to aif2;</comment>
  21609. </bits>
  21610. <bits access="rw" name="dac_iis_sel" pos="5:4" rst="0">
  21611. <comment>[5:4]=='bx1: aif1 output to audio codec ;
  21612. [5:4]=='b10: aif2 output to audio codec ;
  21613. [5:4]=='b00: zero output to audio codec ;</comment>
  21614. </bits>
  21615. <bits access="rw" name="adc_en_r" pos="3" rst="0">
  21616. <comment>==1: enable adc left channel;</comment>
  21617. </bits>
  21618. <bits access="rw" name="dac_en_r" pos="2" rst="0">
  21619. <comment>==1: enable dac right channel;</comment>
  21620. </bits>
  21621. <bits access="rw" name="adc_en_l" pos="1" rst="0">
  21622. <comment>==1: enable adc left channel;</comment>
  21623. </bits>
  21624. <bits access="rw" name="dac_en_l" pos="0" rst="0">
  21625. <comment>==1: enable adc right channel;</comment>
  21626. </bits>
  21627. </reg>
  21628. <reg name="aud_clr" protect="rw">
  21629. <bits access="w" name="adc_clr" pos="2" rst="0">
  21630. </bits>
  21631. <bits access="w" name="dac_clr" pos="1" rst="0">
  21632. </bits>
  21633. <bits access="w" name="adc1_clr" pos="0" rst="0">
  21634. </bits>
  21635. </reg>
  21636. <reg name="aud_iis_ctl" protect="rw">
  21637. <bits access="rw" name="adc_iis_ckgate_en" pos="15" rst="0">
  21638. </bits>
  21639. <bits access="rw" name="dac_iis_ckgate_en" pos="14" rst="0">
  21640. </bits>
  21641. <bits access="rw" name="adc_bclk_pol" pos="13" rst="0">
  21642. </bits>
  21643. <bits access="rw" name="dac_bclk_pol" pos="12" rst="0">
  21644. </bits>
  21645. <bits access="rw" name="dac_sample_phase_sel" pos="11" rst="0">
  21646. </bits>
  21647. <bits access="rw" name="adc_iowl" pos="10:9" rst="3">
  21648. </bits>
  21649. <bits access="rw" name="dac_iowl" pos="8:7" rst="3">
  21650. </bits>
  21651. <bits access="rw" name="adc_io_mode" pos="6:5" rst="0">
  21652. </bits>
  21653. <bits access="rw" name="dac_io_mode" pos="4:3" rst="0">
  21654. </bits>
  21655. <bits access="rw" name="adc_lr_sel" pos="2" rst="0">
  21656. </bits>
  21657. <bits access="rw" name="dac_lr_sel" pos="1" rst="0">
  21658. </bits>
  21659. <bits access="rw" name="iis_clkdiv_mode" pos="0" rst="0">
  21660. </bits>
  21661. </reg>
  21662. <reg name="dac_src_ctl" protect="rw">
  21663. <bits access="rw" name="dac_mute_en" pos="15" rst="1">
  21664. <comment>==1: enable mute;</comment>
  21665. </bits>
  21666. <bits access="rw" name="dac_mute_ctl" pos="14" rst="0">
  21667. <comment>==1: enable soft mute;</comment>
  21668. </bits>
  21669. <bits access="rw" name="dac_mute_div_ctl1" pos="13:10" rst="0">
  21670. <comment>dac mute counter1 threshold, step is countrolled by counter 0;</comment>
  21671. </bits>
  21672. <bits access="rw" name="dac_mute_div_ctl0" pos="9:4" rst="63">
  21673. <comment>dac mute counter0 threshold</comment>
  21674. </bits>
  21675. <bits access="rw" name="dac_fs_mode" pos="3:0" rst="4">
  21676. <comment>dac fs frequency
  21677. 0:96K
  21678. 1:48K
  21679. 2:44.1K
  21680. 3:32K
  21681. 4:24K
  21682. 5:22.05K
  21683. 6:16K
  21684. 7:12K
  21685. 8:11.025K
  21686. 9:9.6K
  21687. 10:8K</comment>
  21688. </bits>
  21689. </reg>
  21690. <reg name="dac_sdm_ctl0" protect="rw">
  21691. <bits access="rw" name="dac_sdm_dolvl" pos="11:8" rst="1">
  21692. </bits>
  21693. <bits access="rw" name="dac_sdm_dilvl" pos="7:4" rst="0">
  21694. </bits>
  21695. <bits access="rw" name="dac_sdm_do" pos="3:2" rst="0">
  21696. </bits>
  21697. <bits access="rw" name="dac_sdm_di" pos="1:0" rst="0">
  21698. </bits>
  21699. </reg>
  21700. <reg name="dac_sdm_ctl1" protect="rw">
  21701. <bits access="rw" name="dac_sdm_soft_rst_r" pos="9" rst="0">
  21702. </bits>
  21703. <bits access="rw" name="dac_sdm_soft_rst_l" pos="8" rst="0">
  21704. </bits>
  21705. <bits access="rw" name="dac_sdm_test" pos="7:0" rst="8">
  21706. </bits>
  21707. </reg>
  21708. <reg name="adc_src_ctl" protect="rw">
  21709. <bits access="rw" name="adc1_src_n" pos="7:4" rst="0">
  21710. </bits>
  21711. <bits access="rw" name="adc_src_n" pos="3:0" rst="0">
  21712. <comment>adc src upsample tap, sample rate=N*4K</comment>
  21713. </bits>
  21714. </reg>
  21715. <reg name="aud_loop_test" protect="rw">
  21716. <bits access="rw" name="loop_adc_path_sel" pos="9" rst="0">
  21717. </bits>
  21718. <bits access="rw" name="loop_fifo_ae_lvl" pos="8:6" rst="4">
  21719. </bits>
  21720. <bits access="rw" name="loop_fifo_af_lvl" pos="5:3" rst="4">
  21721. </bits>
  21722. <bits access="rw" name="loop_path_sel" pos="2:1" rst="0">
  21723. </bits>
  21724. <bits access="rw" name="aud_loop_test" pos="0" rst="0">
  21725. <comment>==1: enable audio adc parallel data loop to dac parallel data path;</comment>
  21726. </bits>
  21727. </reg>
  21728. <reg name="aud_sts0" protect="r">
  21729. <bits access="r" name="aud_int_mask" pos="5:4" rst="0">
  21730. </bits>
  21731. <bits access="r" name="aud_int_raw" pos="3:2" rst="0">
  21732. </bits>
  21733. <bits access="r" name="st_mute" pos="1:0" rst="0">
  21734. </bits>
  21735. </reg>
  21736. <reg name="aud_int_clr" protect="rw">
  21737. <bits access="rw" name="aud_int_clr" pos="0" rst="0">
  21738. </bits>
  21739. </reg>
  21740. <reg name="aud_int_en" protect="rw">
  21741. <bits access="rw" name="aud_int_en" pos="1:0" rst="0">
  21742. </bits>
  21743. </reg>
  21744. <reg name="audif_fifo_ctl" protect="rw">
  21745. <bits access="rw" name="adc_fifo_af_lvl" pos="2:0" rst="3">
  21746. </bits>
  21747. </reg>
  21748. <reg name="aud_dmic_ctl" protect="rw">
  21749. <bits access="rw" name="adc1_dmic_en" pos="7" rst="0">
  21750. </bits>
  21751. <bits access="rw" name="clk_aud_26m_sel" pos="6" rst="0">
  21752. <comment>==0: force to 0 to select 26m audio clock;</comment>
  21753. </bits>
  21754. <bits access="rw" name="adc1_dmic_lr_sel" pos="5" rst="0">
  21755. </bits>
  21756. <bits access="rw" name="adc1_dmic_clk_mode" pos="4:3" rst="0">
  21757. </bits>
  21758. <bits access="rw" name="clk_aud_26m_inv" pos="2" rst="0">
  21759. <comment>==1: invert output mclk ;</comment>
  21760. </bits>
  21761. <bits access="rw" name="adc_dmic_clk_mode" pos="1:0" rst="0">
  21762. </bits>
  21763. </reg>
  21764. <reg name="adc1_iis_ctl" protect="rw">
  21765. <bits access="rw" name="adc1_iis_ckgate_en" pos="6" rst="0">
  21766. </bits>
  21767. <bits access="rw" name="adc1_bclk_pol" pos="5" rst="0">
  21768. </bits>
  21769. <bits access="rw" name="adc1_iowl" pos="4:3" rst="3">
  21770. </bits>
  21771. <bits access="rw" name="adc1_io_mode" pos="2:1" rst="0">
  21772. </bits>
  21773. <bits access="rw" name="adc1_lr_sel" pos="0" rst="0">
  21774. </bits>
  21775. </reg>
  21776. <reg name="dac_sdm_dc_l" protect="rw">
  21777. <bits access="rw" name="dac_sdm_dc_l" pos="15:0" rst="0">
  21778. </bits>
  21779. </reg>
  21780. <reg name="dac_sdm_dc_h" protect="rw">
  21781. <bits access="rw" name="dac_sdm_dc_h" pos="7:0" rst="0">
  21782. </bits>
  21783. </reg>
  21784. <reg name="audif_ctl0" protect="rw">
  21785. <bits access="rw" name="audif_5p_mode" pos="6" rst="0">
  21786. </bits>
  21787. <bits access="rw" name="ad_sync_sel" pos="5:3" rst="0">
  21788. </bits>
  21789. <bits access="rw" name="adc_fifo_af_lvl_r" pos="2:0" rst="1">
  21790. </bits>
  21791. </reg>
  21792. <reg name="audif_adc_fifo_sts" protect="r">
  21793. <bits access="r" name="audif_adc_fifo_af_r" pos="10" rst="0">
  21794. </bits>
  21795. <bits access="r" name="audif_adc_fifo_empty_r" pos="9" rst="0">
  21796. </bits>
  21797. <bits access="r" name="audif_adc_fifo_full_r" pos="8" rst="0">
  21798. </bits>
  21799. <bits access="r" name="audif_adc_fifo_raddr_r" pos="7:4" rst="0">
  21800. </bits>
  21801. <bits access="r" name="audif_adc_fifo_waddr_r" pos="3:0" rst="0">
  21802. </bits>
  21803. </reg>
  21804. <reg name="audif_dac_fifo_sts" protect="r">
  21805. <bits access="r" name="audif_dac_fifo_empty" pos="9" rst="0">
  21806. </bits>
  21807. <bits access="r" name="audif_dac_fifo_full" pos="8" rst="0">
  21808. </bits>
  21809. <bits access="r" name="audif_dac_fifo_addr_r" pos="7:4" rst="0">
  21810. </bits>
  21811. <bits access="r" name="audif_dac_fifo_addr_w" pos="3:0" rst="0">
  21812. </bits>
  21813. </reg>
  21814. <reg name="audif_sts" protect="r">
  21815. <bits access="r" name="audif_adc_rx_data_ready" pos="0" rst="0">
  21816. </bits>
  21817. </reg>
  21818. <reg name="audif_sts_raw" protect="r">
  21819. <bits access="r" name="audif_adc_fifo_underfl_raw" pos="1" rst="0">
  21820. </bits>
  21821. <bits access="r" name="audif_dac_fifo_ovfl_raw" pos="0" rst="0">
  21822. </bits>
  21823. </reg>
  21824. <reg name="audif_sts_clr" protect="rw">
  21825. <bits access="rw" name="ovfl_sts_clr" pos="1" rst="0">
  21826. </bits>
  21827. <bits access="rw" name="underfl_sts_clr" pos="0" rst="0">
  21828. </bits>
  21829. </reg>
  21830. <reg name="dac_src_step" protect="rw">
  21831. <bits access="rw" name="dac_src_step" pos="11:0" rst="0">
  21832. </bits>
  21833. </reg>
  21834. <reg name="adc_dgain" protect="rw">
  21835. <bits access="rw" name="adc_l_dgain" pos="3:0" rst="0">
  21836. <comment>left adc channel dgain
  21837. 4'hf: 16dB
  21838. 4'he: 14dB
  21839. 4'hd: 12dB
  21840. 4'hc: 10dB
  21841. 4'hb: 8dB
  21842. 4'ha: 6dB
  21843. 4'h9: 4dB
  21844. 4'h8: 2dB
  21845. 4'h7: 0dB
  21846. 4'h6:-2dB
  21847. 4'h5:-4dB
  21848. 4'h4:-6dB
  21849. 4'h3:-8dB
  21850. 4'h2:-10dB
  21851. 4'h1:-12dB
  21852. 4'h0:mute</comment>
  21853. </bits>
  21854. <bits access="rw" name="adc_r_dgain" pos="7:4" rst="0">
  21855. <comment>right adc channel dgain
  21856. 4'hf: 16dB
  21857. 4'he: 14dB
  21858. 4'hd: 12dB
  21859. 4'hc: 10dB
  21860. 4'hb: 8dB
  21861. 4'ha: 6dB
  21862. 4'h9: 4dB
  21863. 4'h8: 2dB
  21864. 4'h7: 0dB
  21865. 4'h6:-2dB
  21866. 4'h5:-4dB
  21867. 4'h4:-6dB
  21868. 4'h3:-8dB
  21869. 4'h2:-10dB
  21870. 4'h1:-12dB
  21871. 4'h0:mute</comment>
  21872. </bits>
  21873. <bits access="rw" name="adc_dgain_update" pos="8" rst="0">
  21874. </bits>
  21875. </reg>
  21876. <reg name="dac_dgain0" protect="rw">
  21877. <bits access="rw" name="dac_dgain_tone_sel" pos="0" rst="0">
  21878. <comment>right adc channel dgain
  21879. 1:sel tone dac tone dgain
  21880. 0:sel normal dac dgain</comment>
  21881. </bits>
  21882. <bits access="rw" name="dac_dgain_update" pos="1" rst="0">
  21883. </bits>
  21884. </reg>
  21885. <reg name="dac_dgain1" protect="rw">
  21886. <bits access="rw" name="dac_l_nor_dgain" pos="7:0" rst="0x34">
  21887. <comment>left dac channel dgain
  21888. [5:1] =
  21889. 5'h1f: 05dB
  21890. 5'h1e: 04dB
  21891. 5'h1d: 03dB
  21892. 5'h1c: 02dB
  21893. 5'h1b: 01dB
  21894. 5'h1a: 00dB
  21895. 5'h19: -01dB
  21896. 5'h18: -02dB
  21897. 5'h17: -03dB
  21898. 5'h16: -04dB
  21899. 5'h15: -05dB
  21900. 5'h14: -06dB
  21901. 5'h13: -07dB
  21902. 5'h12: -08dB
  21903. 5'h11: -09dB
  21904. 5'h10: -10dB
  21905. 5'h0f: -11dB
  21906. 5'h0e: -12dB
  21907. 5'h0d: -13dB
  21908. 5'h0c: -14dB
  21909. 5'h0b: -15dB
  21910. 5'h0a: -16dB
  21911. 5'h09: -17dB
  21912. 5'h08: -18dB
  21913. 5'h07: -19dB
  21914. 5'h06: -20dB
  21915. 5'h05: -21dB
  21916. 5'h04: -22dB
  21917. 5'h03: -23dB
  21918. 5'h02: -24dB
  21919. 5'h01: -25dB
  21920. 5'h00: -26dB
  21921. [0]:1'b1,+0.5dB
  21922. [7]:1'b1,+12dB
  21923. [6]:1'b1,+6dB</comment>
  21924. </bits>
  21925. <bits access="rw" name="dac_r_nor_dgain" pos="15:8" rst="0x34">
  21926. <comment>right dac channel dgain
  21927. detail see dac_l_nor_dgain[7:0]</comment>
  21928. </bits>
  21929. </reg>
  21930. <reg name="dac_dgain2" protect="rw">
  21931. <bits access="rw" name="dac_l_tone_dgain" pos="7:0" rst="0x34">
  21932. <comment>left dac channel dgain
  21933. detail see dac_l_nor_dgain[7:0]</comment>
  21934. </bits>
  21935. <bits access="rw" name="dac_r_tone_dgain" pos="15:8" rst="0x34">
  21936. <comment>right dac channel dgain
  21937. detail see dac_l_nor_dgain[7:0]</comment>
  21938. </bits>
  21939. </reg>
  21940. </module>
  21941. </archive>
  21942. <archive relative="usbc.xml">
  21943. <module category="System" name="USBC">
  21944. <reg name="gotgctl" protect="rw">
  21945. <comment>OTG Control and Status Register
  21946. The OTG Control and Status register controls the behavior and reflects the status of the OTG function of the controller.</comment>
  21947. <bits access="r" name="sesreqscs" pos="0" rst="0">
  21948. <comment>
  21949. <br>Mode: Device only</br>
  21950. <br>Session Request Success (SesReqScs)</br>
  21951. <br>The core sets this bit when a session request initiation is successful.</br>
  21952. <br> - 1'b0: Session request failure</br>
  21953. <br> - 1'b1: Session request success</br>
  21954. </comment>
  21955. </bits>
  21956. <bits access="rw" name="sesreq" pos="1" rst="0">
  21957. <comment>
  21958. <br>Mode: Device only</br>
  21959. <br>Session Request (SesReq)</br>
  21960. <br>The application sets this bit to initiate a session request on the USB. The application can clear this bit by writing a 0 when the Host Negotiation Success Status Change bit in the OTG Interrupt register (GOTGINT.HstNegSucStsChng) is SET. The core clears this bit when the HstNegSucStsChng bit is cleared.</br>
  21961. <br>If you use the USB 1.1 Full-Speed Serial Transceiver interface to initiate the session request, the application must wait until the VBUS discharges to 0.2 V, after the B-Session Valid bit in this register (GOTGCTL.BSesVld) is cleared. This discharge time varies between different PHYs and can be obtained from the PHY vendor.</br>
  21962. <br> - 1'b0: No session request</br>
  21963. <br> - 1'b1: Session request</br>
  21964. </comment>
  21965. </bits>
  21966. <bits access="rw" name="vbvalidoven" pos="2" rst="0">
  21967. <comment>
  21968. <br>Mode: Host only</br>
  21969. <br>VBUS Valid Override Enable (VbvalidOvEn)</br>
  21970. <br>This bit is used to enable/disable the software to override the Bvalid signal using the GOTGCTL.VbvalidOvVal.</br>
  21971. <br> - 1'b1 : Internally Bvalid received from the PHY is overridden with GOTGCTL.VbvalidOvVal.</br>
  21972. <br> - 1'b0 : Override is disabled and bvalid signal from the respective PHY selected is used internally by the controller.</br>
  21973. </comment>
  21974. </bits>
  21975. <bits access="rw" name="vbvalidovval" pos="3" rst="0">
  21976. <comment>
  21977. <br>Mode: Host only</br>
  21978. <br>VBUS Valid OverrideValue (VbvalidOvVal)</br>
  21979. <br>This bit is used to set Override value for vbusvalid signal when GOTGCTL.VbvalidOvEn is set.</br>
  21980. <br> - 1'b0 : vbusvalid value is 1'b0 when GOTGCTL.VbvalidOvEn =1</br>
  21981. <br> - 1'b1 : vbusvalid value is 1'b1 when GOTGCTL.VbvalidOvEn =1</br>
  21982. </comment>
  21983. </bits>
  21984. <bits access="rw" name="avalidoven" pos="4" rst="0">
  21985. <comment>
  21986. <br>Mode: Host only</br>
  21987. <br>A-Peripheral Session Valid Override Enable (AvalidOvEn)</br>
  21988. <br>This bit is used to enable/disable the software to override the Avalid signal using the GOTGCTL.AvalidOvVal.</br>
  21989. <br> - 1'b1: Internally Avalid received from the PHY is overridden with GOTGCTL.AvalidOvVal.</br>
  21990. <br> - 1'b0: Override is disabled and avalid signal from the respective PHY selected is used internally by the core</br>
  21991. </comment>
  21992. </bits>
  21993. <bits access="rw" name="avalidovval" pos="5" rst="0">
  21994. <comment>
  21995. <br>Mode: Host only</br>
  21996. <br>A-Peripheral Session Valid OverrideValue (AvalidOvVal)</br>
  21997. <br>This bit is used to set Override value for Avalid signal when GOTGCTL.AvalidOvEn is set.</br>
  21998. <br> - 1'b0 : Avalid value is 1'b0 when GOTGCTL.AvalidOvEn =1</br>
  21999. <br> - 1'b1 : Avalid value is 1'b1 when GOTGCTL.AvalidOvEn =1</br>
  22000. </comment>
  22001. </bits>
  22002. <bits access="rw" name="bvalidoven" pos="6" rst="0">
  22003. <comment>
  22004. <br>Mode: Device only</br>
  22005. <br>B-Peripheral Session Valid Override Value (BvalidOvEn)</br>
  22006. <br>This bit is used to enable/disable the software to override the Bvalid signal using the GOTGCTL.BvalidOvVal. </br>
  22007. <br> - 1'b1 : Internally Bvalid received from the PHY is overridden with GOTGCTL.BvalidOvVal.</br>
  22008. <br> - 1'b0 : Override is disabled and bvalid signal from the respective PHY selected is used internally by the force</br>
  22009. </comment>
  22010. </bits>
  22011. <bits access="rw" name="bvalidovval" pos="7" rst="0">
  22012. <comment>
  22013. <br>Mode: Device only</br>
  22014. <br>B-Peripheral Session Valid OverrideValue (BvalidOvVal)</br>
  22015. <br>This bit is used to set Override value for Bvalid signal when GOTGCTL.BvalidOvEn is set.</br>
  22016. <br> - 1'b0 : Bvalid value is 1'b0 when GOTGCTL.BvalidOvEn =1</br>
  22017. <br> - 1'b1 : Bvalid value is 1'b1 when GOTGCTL.BvalidOvEn =1</br>
  22018. </comment>
  22019. </bits>
  22020. <bits access="r" name="hstnegscs" pos="8" rst="0">
  22021. <comment>
  22022. <br>Mode: HNP-capable Device</br>
  22023. <br>Host Negotiation Success (HstNegScs)</br>
  22024. <br>The controller sets this bit when host negotiation is successful. The controller clears this bit when the HNP Request (HNPReq) bit in this register is set.</br>
  22025. <br> - 1'b0: Host negotiation failure</br>
  22026. <br> - 1'b1: Host negotiation success</br>
  22027. </comment>
  22028. </bits>
  22029. <bits access="rw" name="hnpreq" pos="9" rst="0">
  22030. <comment>
  22031. <br>Mode: HNP Capable OTG Device</br>
  22032. <br>HNP Request (HNPReq)</br>
  22033. <br>The application sets this bit to initiate an HNP request to the connected USB host. The application can clear this bit by writing a 0 when the Host Negotiation Success Status Change bit in the OTG Interrupt register (GOTGINT.HstNegSucStsChng) is SET. The controller clears this bit when the HstNegSucStsChng bit is cleared.</br>
  22034. <br> - 1'b0: No HNP request</br>
  22035. <br> - 1'b1: HNP request</br>
  22036. </comment>
  22037. </bits>
  22038. <bits access="rw" name="hstsethnpen" pos="10" rst="0">
  22039. <comment>
  22040. <br>Mode: HNP Capable OTG Host</br>
  22041. <br>Host Set HNP Enable (HstSetHNPEn)</br>
  22042. <br>The application sets this bit when it has successfully enabled HNP (using the SetFeature.SetHNPEnable command) on the connected device.</br>
  22043. <br> - 1'b0: Host Set HNP is not enabled</br>
  22044. <br> - 1'b1: Host Set HNP is enabled</br>
  22045. </comment>
  22046. </bits>
  22047. <bits access="rw" name="devhnpen" pos="11" rst="0">
  22048. <comment>
  22049. <br>Mode: HNP Capable OTG Device</br>
  22050. <br> Device HNP Enabled (DevHNPEn)</br>
  22051. <br>The application sets this bit when it successfully receives a SetFeature.SetHNPEnable command from the connected USB host.</br>
  22052. <br> - 1'b0: HNP is not enabled in the application</br>
  22053. <br> - 1'b1: HNP is enabled in the application</br>
  22054. </comment>
  22055. </bits>
  22056. <bits access="rw" name="ehen" pos="12" rst="0">
  22057. <comment>
  22058. <br>Mode: SRP Capable Host</br>
  22059. <br>Embedded Host Enable (EHEn)</br>
  22060. <br>It is used to select between OTG A Device state Machine and Embedded Host state machine.</br>
  22061. <br> - 1'b0: OTG A Device state machine is selected</br>
  22062. <br> - 1'b1: Embedded Host State Machine is selected</br>
  22063. <br>Note:</br>
  22064. <br> This field is valid only in SRP-Capable OTG Mode (OTG_MODE=0,1).</br>
  22065. </comment>
  22066. </bits>
  22067. <bits access="rw" name="dbncefltrbypass" pos="15" rst="0">
  22068. <comment>
  22069. <br>Mode: Host and Device</br>
  22070. <br>Debounce Filter Bypass</br>
  22071. <br>Bypass Debounce filters for avalid, bvalid, vbusvalid, sessend, iddig signals when enabled.</br>
  22072. <br> - 1'b0: Disabled</br>
  22073. <br> - 1'b1: Enabled</br>
  22074. <br/>
  22075. <br> </br>
  22076. <br>Note: This register bit is valid only when debounce filters are present in core.</br>
  22077. <br/>
  22078. </comment>
  22079. </bits>
  22080. <bits access="r" name="conidsts" pos="16" rst="1">
  22081. <comment>
  22082. <br>Mode: Host and Device</br>
  22083. <br>Connector ID Status (ConIDSts)</br>
  22084. <br>Indicates the connector ID status on a connect event.</br>
  22085. <br> - 1'b0: The core is in A-Device mode.</br>
  22086. <br> - 1'b1: The core is in B-Device mode.</br>
  22087. <br/>
  22088. <br> Note:</br>
  22089. <br> The reset value of this register field can be read only after the PHY clock is stable, or if IDDIG_FILTER is enabled, wait for the filter timer to expire to read the correct reset value which ever event is later. </br>
  22090. <br> Reset:</br>
  22091. <br> - 1'b0: in host only mode (OTG_MODE = 5 or 6)</br>
  22092. <br> - 1'b1: in all other configurations</br>
  22093. </comment>
  22094. </bits>
  22095. <bits access="r" name="dbnctime" pos="17" rst="0">
  22096. <comment>
  22097. <br>Mode: Host only</br>
  22098. <br>Long/Short Debounce Time (DbncTime)</br>
  22099. <br>Indicates the debounce time of a detected connection.</br>
  22100. <br> - 1'b0: Long debounce time, used for physical connections (100 ms + 2.5 micro-sec)</br>
  22101. <br> - 1'b1: Short debounce time, used for soft connections (2.5 micro-sec)</br>
  22102. </comment>
  22103. </bits>
  22104. <bits access="r" name="asesvld" pos="18" rst="0">
  22105. <comment>
  22106. <br>Mode: Host only</br>
  22107. <br>A-Session Valid (ASesVld)</br>
  22108. <br>Indicates the Host mode transceiver status.</br>
  22109. <br> - 1'b0: A-session is not valid</br>
  22110. <br> - 1'b1: A-session is valid</br>
  22111. <br>Note: If you do not enabled OTG features (such as SRP and HNP), the read reset value will be 1. The vbus assigns the values internally for non-SRP or non-HNP configurations.</br>
  22112. <br>In case of OTG_MODE=0, the reset value of this bit is 1'b0.</br>
  22113. </comment>
  22114. </bits>
  22115. <bits access="r" name="bsesvld" pos="19" rst="0">
  22116. <comment>
  22117. <br>Mode: Device only</br>
  22118. <br>B-Session Valid (BSesVld)</br>
  22119. <br>Indicates the Device mode transceiver status.</br>
  22120. <br> - 1'b0: B-session is not valid.</br>
  22121. <br> - 1'b1: B-session is valid.</br>
  22122. <br>In OTG mode, you can use this bit to determine if the device is connected or disconnected.</br>
  22123. <br/>
  22124. <br>Note:</br>
  22125. <br> - If you do not enable OTG features (such as SRP and HNP), the read reset value will be 1.The vbus assigns the values internally for non- SRP or non-HNP configurations. </br>
  22126. <br> - In case of OTG_MODE=0, the reset value of this bit is 1'b0.</br>
  22127. <br> - The reset value of this register field can be read only after the PHY clock is stable, or if IDDIG_FILTER is enabled, wait for the filter timer to expire to read the correct reset value which ever event is later.</br>
  22128. </comment>
  22129. </bits>
  22130. <bits access="rw" name="otgver" pos="20" rst="0">
  22131. <comment>
  22132. <br>OTG Version (OTGVer)</br>
  22133. <br>Indicates the OTG revision.</br>
  22134. <br> - 1'b0: OTG Version 1.3. In this version the core supports Data line pulsing and VBus pulsing for SRP.</br>
  22135. <br> - 1'b1: OTG Version 2.0. In this version the core supports only Data line pulsing for SRP.</br>
  22136. </comment>
  22137. </bits>
  22138. <bits access="r" name="curmod" pos="21" rst="0">
  22139. <comment>
  22140. <br>Current Mode of Operation (CurMod)</br>
  22141. <br>Mode: Host and Device</br>
  22142. <br>Indicates the current mode.</br>
  22143. <br> - 1'b0: Device mode</br>
  22144. <br> - 1'b1: Host mode</br>
  22145. <br> Reset:</br>
  22146. <br> - 1'b1 in Host-only mode (OTG_MODE=5 or 6)</br>
  22147. <br> - 1'b0 in all other configurations</br>
  22148. <br>Note: The reset value of this register field can be read only after the PHY clock is stable, or if IDDIG_FILTER is enabled, wait for the filter timer to expire to read the correct reset value which ever event is later.</br>
  22149. </comment>
  22150. </bits>
  22151. </reg>
  22152. <reg name="gotgint" protect="rw">
  22153. <comment>OTG Interrupt Register
  22154. The application reads this register whenever there is an OTG interrupt and clears the bits in this register to clear the OTG interrupt.</comment>
  22155. <bits access="rw" name="sesenddet" pos="2" rst="0">
  22156. <comment>
  22157. <br>Mode: Host and Device</br>
  22158. <br>Session End Detected (SesEndDet)</br>
  22159. <br>The controller sets this bit when the utmiotg_bvalid signal is deasserted. This bit can be set only by the core and the application should write 1 to clear it.</br>
  22160. </comment>
  22161. </bits>
  22162. <bits access="rw" name="sesreqsucstschng" pos="8" rst="0">
  22163. <comment>
  22164. <br>Mode: Host and Device</br>
  22165. <br>Session Request Success Status Change (SesReqSucStsChng)</br>
  22166. <br>The core sets this bit on the success or failure of a session request. The application must read the Session Request Success bit in the OTG Control and Status register (GOTGCTL.SesReqScs) to check for success or failure. This bit can be set only by the core and the application should write 1 to clear it.</br>
  22167. </comment>
  22168. </bits>
  22169. <bits access="rw" name="hstnegsucstschng" pos="9" rst="0">
  22170. <comment>
  22171. <br>Mode: Host and Device</br>
  22172. <br>Host Negotiation Success Status Change (HstNegSucStsChng)</br>
  22173. <br>The core sets this bit on the success or failure of a USB host negotiation request. The application must read the Host Negotiation Success bit of the OTG Control and Status register (GOTGCTL.HstNegScs) to check for success or failure. This bit can be set only by the core and the application should write 1 to clear it.</br>
  22174. </comment>
  22175. </bits>
  22176. <bits access="rw" name="hstnegdet" pos="17" rst="0">
  22177. <comment>
  22178. <br>Mode:Host and Device</br>
  22179. <br>Host Negotiation Detected (HstNegDet)</br>
  22180. <br>The core sets this bit when it detects a host negotiation request on the USB. This bit can be set only by the core and the application should write 1 to clear it.</br>
  22181. </comment>
  22182. </bits>
  22183. <bits access="rw" name="adevtoutchg" pos="18" rst="0">
  22184. <comment>
  22185. <br>Mode: Host and Device</br>
  22186. <br>A-Device Timeout Change (ADevTOUTChg)</br>
  22187. <br>The core sets this bit to indicate that the A-device has timed out while waiting for the B-device to connect.This bit can be set only by the core and the application should write 1 to clear it.</br>
  22188. </comment>
  22189. </bits>
  22190. <bits access="rw" name="dbncedone" pos="19" rst="0">
  22191. <comment>
  22192. <br>Mode: Host only</br>
  22193. <br>Debounce Done (DbnceDone)</br>
  22194. <br>The core sets this bit when the debounce is completed after the device connect. The application can start driving USB reset after seeing this interrupt. This bit is only valid when the HNP Capable or SRP Capable bit is SET in the Core USB Configuration register (GUSBCFG.HNPCap or GUSBCFG.SRPCap, respectively). This bit can be set only by the core and the application should write 1 to clear it.</br>
  22195. </comment>
  22196. </bits>
  22197. </reg>
  22198. <reg name="gahbcfg" protect="rw">
  22199. <comment>AHB Configuration Register
  22200. This register can be used to configure the core after power-on or a change in mode. This register mainly contains AHB system-related configuration parameters. Do not change this register after the initial programming. The application must program this register before starting any transactions on either the AHB or the USB.</comment>
  22201. <bits access="rw" name="glblintrmsk" pos="0" rst="0">
  22202. <comment>
  22203. <br>Mode: Host and device</br>
  22204. <br>Global Interrupt Mask (GlblIntrMsk)</br>
  22205. <br>The application uses this bit to mask or unmask the interrupt line assertion to itself. Irrespective of this bit's setting, the interrupt status registers are updated by the controller.</br>
  22206. <br> - 1'b0: Mask the interrupt assertion to the application.</br>
  22207. <br> - 1'b1: Unmask the interrupt assertion to the application.</br>
  22208. </comment>
  22209. </bits>
  22210. <bits access="rw" name="hbstlen" pos="4:1" rst="0">
  22211. <comment>
  22212. <br>Mode: Host and device</br>
  22213. <br>Burst Length/Type (HBstLen)</br>
  22214. <br>This field is used in both External and Internal DMA modes. In External DMA mode, these bits appear on dma_burst[3:0] ports, which can be used by an external wrapper to interface the External DMA Controller interface to Synopsys DW_ahb_dmac or ARM PrimeCell.</br>
  22215. <br>External DMA Mode defines the DMA burst length in terms of 32-bit words:</br>
  22216. <br> - 4'b0000: 1 word</br>
  22217. <br> - 4'b0001: 4 words</br>
  22218. <br> - 4'b0010: 8 words</br>
  22219. <br> - 4'b0011: 16 words</br>
  22220. <br> - 4'b0100: 32 words</br>
  22221. <br> - 4'b0101: 64 words</br>
  22222. <br> - 4'b0110: 128 words</br>
  22223. <br> - 4'b0111: 256 words</br>
  22224. <br> - Others: Reserved</br>
  22225. <br>Internal DMA Mode AHB Master burst type:</br>
  22226. <br> - 4'b0000 Single</br>
  22227. <br> - 4'b0001 INCR</br>
  22228. <br> - 4'b0011 INCR4</br>
  22229. <br> - 4'b0101 INCR8</br>
  22230. <br> - 4'b0111 INCR16</br>
  22231. <br> - Others: Reserved</br>
  22232. </comment>
  22233. </bits>
  22234. <bits access="rw" name="dmaen" pos="5" rst="0">
  22235. <comment>
  22236. <br>Mode: Host and device</br>
  22237. <br>DMA Enable (DMAEn)</br>
  22238. <br/>
  22239. <br>This bit is always 0 when Slave-Only mode has been selected.</br>
  22240. <br/>
  22241. <br>Reset: 1'b0</br>
  22242. </comment>
  22243. </bits>
  22244. <bits access="rw" name="nptxfemplvl" pos="7" rst="0">
  22245. <comment>
  22246. <br>Mode: Host and device</br>
  22247. <br>Non-Periodic TxFIFO Empty Level (NPTxFEmpLvl)</br>
  22248. <br>This bit is used only in Slave mode. In host mode and with Shared FIFO with device mode, this bit indicates when the Non-Periodic TxFIFO Empty Interrupt bit in the Core Interrupt register (GINTSTS.NPTxFEmp) is triggered.</br>
  22249. <br>With dedicated FIFO in device mode, this bit indicates when IN endpoint Transmit FIFO empty interrupt (DIEPINTn.TxFEmp) is triggered.</br>
  22250. <br>Host mode and with Shared FIFO with device mode:</br>
  22251. <br> - 1'b0: GINTSTS.NPTxFEmp interrupt indicates that the Non-Periodic TxFIFO is half empty</br>
  22252. <br> - 1'b1: GINTSTS.NPTxFEmp interrupt indicates that the Non-Periodic TxFIFO is completely empty </br>
  22253. <br>Dedicated FIFO in device mode:</br>
  22254. <br> - 1'b0: DIEPINTn.TxFEmp interrupt indicates that the IN Endpoint TxFIFO is half empty</br>
  22255. <br> - 1'b1: DIEPINTn.TxFEmp interrupt indicates that the IN Endpoint TxFIFO is completely empty</br>
  22256. </comment>
  22257. </bits>
  22258. <bits access="rw" name="ptxfemplvl" pos="8" rst="0">
  22259. <comment>
  22260. <br>Mode: Host only</br>
  22261. <br>Periodic TxFIFO Empty Level (PTxFEmpLvl)</br>
  22262. <br>Indicates when the Periodic TxFIFO Empty Interrupt bit in the Core Interrupt register (GINTSTS.PTxFEmp) is triggered. This bit is used only in Slave mode.</br>
  22263. <br> - 1'b0: GINTSTS.PTxFEmp interrupt indicates that the Periodic TxFIFO is half empty</br>
  22264. <br> - 1'b1: GINTSTS.PTxFEmp interrupt indicates that the Periodic TxFIFO is completely empty</br>
  22265. </comment>
  22266. </bits>
  22267. <bits access="rw" name="remmemsupp" pos="21" rst="0">
  22268. <comment>
  22269. <br>Mode: Host and Device</br>
  22270. <br>Remote Memory Support (RemMemSupp)</br>
  22271. <br>This bit is programmed to enable the functionality to wait for the system DMA Done Signal for the DMA Write Transfers.</br>
  22272. <br> - GAHBCFG.RemMemSupp=1</br>
  22273. <br>The int_dma_req output signal is asserted when the DMA starts write transfer to the external memory. When the core is done with the Transfers it asserts int_dma_done signal to flag the completion of DMA writes from the controller. The core then waits for sys_dma_done signal from the system to proceed further and complete the Data Transfer corresponding to a particular Channel/Endpoint. </br>
  22274. <br> - GAHBCFG.RemMemSupp=0</br>
  22275. <br>The int_dma_req and int_dma_done signals are not asserted and the core proceeds with the assertion of the XferComp interrupt as soon as the DMA write transfer is done at the Core Boundary and it does not wait for the sys_dma_done signal to complete the DATA transfers.</br>
  22276. </comment>
  22277. </bits>
  22278. <bits access="rw" name="notialldmawrit" pos="22" rst="0">
  22279. <comment>
  22280. <br>Mode: Host and Device</br>
  22281. <br>Notify All DMA Write Transactions (NotiAllDmaWrit)</br>
  22282. <br>This bit is programmed to enable the System DMA Done functionality for all the DMA write Transactions corresponding to the Channel/Endpoint. This bit is valid only when GAHBCFG.RemMemSupp is set to 1.</br>
  22283. <br> - GAHBCFG.NotiAllDmaWrit = 1</br>
  22284. <br>The core asserts int_dma_req for all the DMA write transactions on the AHB interface along with int_dma_done, chep_last_transact and chep_number signal informations. The core waits for sys_dma_done signal for all the DMA write transactions in order to complete the transfer of a particular Channel/Endpoint.</br>
  22285. <br> - GAHBCFG.NotiAllDmaWrit = 0</br>
  22286. <br>The core asserts int_dma_req signal only for the last transaction of DMA write transfer corresponding to a particular Channel/Endpoint. Similarly, the core waits for sys_dma_done signal only for that transaction of DMA write to complete the transfer of a particular Channel/Endpoint.</br>
  22287. </comment>
  22288. </bits>
  22289. <bits access="rw" name="ahbsingle" pos="23" rst="0">
  22290. <comment>
  22291. <br>Mode: Host and Device</br>
  22292. <br>AHB Single Support (AHBSingle)</br>
  22293. <br>This bit when programmed supports Single transfers for the remaining data in a transfer when the core is operating in DMA mode. </br>
  22294. <br> - 1'b0: The remaining data in the transfer is sent using INCR burst size.</br>
  22295. <br> - 1'b1: The remaining data in the transfer is sent using Single burst size. </br>
  22296. <br>Note: If this feature is enabled, the AHB RETRY and SPLIT transfers still have INCR burst type. Enable this feature when the AHB Slave connected to the core does not support INCR burst (and when Split, and Retry transactions are not being used in the bus).</br>
  22297. </comment>
  22298. </bits>
  22299. <bits access="rw" name="invdescendianess" pos="24" rst="0">
  22300. <comment>
  22301. <br>Mode: Host and Device</br>
  22302. <br>Invert Descriptor Endianess (InvDescEndianess)</br>
  22303. <br> - 1'b0: Descriptor Endianness is same as AHB Master Endianness.</br>
  22304. <br> - 1'b1: </br>
  22305. <br> -- If the AHB Master endianness is Big Endian, the Descriptor Endianness is Little Endian.</br>
  22306. <br> -- If the AHB Master endianness is Little Endian, the Descriptor Endianness is Big Endian.</br>
  22307. </comment>
  22308. </bits>
  22309. </reg>
  22310. <reg name="gusbcfg" protect="rw">
  22311. <comment>USB Configuration Register
  22312. This register can be used to configure the core after power-on or a changing to Host mode or Device mode. It contains USB and USB-PHY related configuration parameters. The application must program this register before starting any transactions on either the AHB or the USB. Do not make changes to this register after the initial programming.</comment>
  22313. <bits access="rw" name="toutcal" pos="2:0" rst="0">
  22314. <comment>
  22315. <br>Mode: Host and Device</br>
  22316. <br>HS/FS Timeout Calibration (TOutCal)</br>
  22317. <br/>
  22318. <br>The number of PHY clocks that the application programs in this field is added to the high-speed/full-speed interpacket timeout duration in the core to account for any additional delays introduced by the PHY. This can be required, because the delay introduced by the PHY in generating the linestate condition can vary from one PHY to another.</br>
  22319. <br/>
  22320. <br>The USB standard timeout value for high-speed operation is 736 to 816 (inclusive) bit times. The USB standard timeout value for full-speed operation is 16 to 18 (inclusive) bit times. The application must program this field based on the speed of enumeration. The number of bit times added per PHY clock are as follows:</br>
  22321. <br/>
  22322. <br>High-speed operation:</br>
  22323. <br> - One 30-MHz PHY clock = 16 bit times</br>
  22324. <br> - One 60-MHz PHY clock = 8 bit times</br>
  22325. <br>Full-speed operation:</br>
  22326. <br> - One 30-MHz PHY clock = 0.4 bit times</br>
  22327. <br> - One 60-MHz PHY clock = 0.2 bit times</br>
  22328. <br> - One 48-MHz PHY clock = 0.25 bit times</br>
  22329. <br/>
  22330. </comment>
  22331. </bits>
  22332. <bits access="r" name="phyif" pos="3" rst="0">
  22333. <comment>
  22334. <br>Mode: Host and Device</br>
  22335. <br>PHY Interface (PHYIf)</br>
  22336. <br>The application uses this bit to configure the core to support a UTMI+ PHY with an 8- or 16-bit interface. When a ULPI PHY is chosen, this must be Set to 8-bit mode.</br>
  22337. <br> - 1'b0: 8 bits</br>
  22338. <br> - 1'b1: 16 bits</br>
  22339. <br>This bit is writable only If UTMI+ and ULPI were selected. Otherwise, this bit returns the value for the power-on interface selected during configuration.</br>
  22340. </comment>
  22341. </bits>
  22342. <bits access="r" name="ulpi_utmi_sel" pos="4" rst="0">
  22343. <comment>
  22344. <br>Mode: Host and Device</br>
  22345. <br>ULPI or UTMI+ Select (ULPI_UTMI_Sel)</br>
  22346. <br/>
  22347. <br>The application uses this bit to select either a UTMI+ interface or ULPI Interface.</br>
  22348. <br> - 1'b0: UTMI+ Interface</br>
  22349. <br> - 1'b1: ULPI Interface</br>
  22350. </comment>
  22351. </bits>
  22352. <bits access="rw" name="fsintf" pos="5" rst="0">
  22353. <comment>
  22354. <br>Mode: Host and Device</br>
  22355. <br>Full-Speed Serial Interface Select (FSIntf)</br>
  22356. <br/>
  22357. <br>The application uses this bit to select either a unidirectional or bidirectional USB 1.1 full-speed serial transceiver interface.</br>
  22358. <br> - 1'b0: 6-pin unidirectional full-speed serial interface</br>
  22359. <br> - 1'b1: 3-pin bidirectional full-speed serial interface</br>
  22360. <br>If a USB 1.1 Full-Speed Serial Transceiver interface was not selected, this bit is always 0, with Write Only access. If a USB 1.1 FS interface was selected, Then the application can Set this bit to select between the 3- and 6-pin interfaces, and access is Read and Write.</br>
  22361. <br/>
  22362. <br>Note: For supporting the new 4-pin bi-directional interface, you need to select 6-pin unidirectional FS serial mode, and add an external control to convert it to a 4-pin interface.</br>
  22363. </comment>
  22364. </bits>
  22365. <bits access="rw" name="physel" pos="6" rst="0">
  22366. <comment>
  22367. <br>PHYSel</br>
  22368. <br/>
  22369. <br>Mode: Host and Device</br>
  22370. <br/>
  22371. <br>USB 2.0 High-Speed PHY or USB 1.1 Full-Speed Serial Transceiver Select (PHYSel)</br>
  22372. <br>The application uses this bit to select either a high-speed UTMI+ or ULPI PHY, or a full-speed transceiver.</br>
  22373. <br> - 1'b0: USB 2.0 high-speed UTMI+ or ULPI PHY</br>
  22374. <br> - 1'b1: USB 1.1 full-speed serial transceiver</br>
  22375. <br>If a USB 1.1 Full-Speed Serial Transceiver interface was not selected in, this bit is always 0, with Write Only access.</br>
  22376. <br>If a high-speed PHY interface was not selected in, this bit is always 1, with Write Only access.</br>
  22377. <br>If both interface types were selected (parameters have non-zero values), the application uses this bit to select which interface is active, and access is Read and Write.</br>
  22378. </comment>
  22379. </bits>
  22380. <bits access="rw" name="srpcap" pos="8" rst="0">
  22381. <comment>
  22382. <br>Mode: Host and Device</br>
  22383. <br>SRP-Capable (SRPCap)</br>
  22384. <br>The application uses this bit to control the controller's SRP capabilities. If the core operates as a non-SRP-capable B-device, it cannot request the connected A-device (host) to</br>
  22385. <br>activate VBUS and start a session.</br>
  22386. <br> - 1'b0: SRP capability is not enabled.</br>
  22387. <br> - 1'b1: SRP capability is enabled.</br>
  22388. <br>If SRP functionality is disabled by the software, the OTG signals on the PHY domain must be tied to the appropriate values.</br>
  22389. </comment>
  22390. </bits>
  22391. <bits access="rw" name="hnpcap" pos="9" rst="0">
  22392. <comment>
  22393. <br>Mode: Host and Device</br>
  22394. <br>HNP-Capable (HNPCap)</br>
  22395. <br>The application uses this bit to control the controller's HNP capabilities.</br>
  22396. <br> - 1'b0: HNP capability is not enabled.</br>
  22397. <br> - 1'b1: HNP capability is enabled.</br>
  22398. <br>If HNP functionality is disabled by the software, the OTG signals on the PHY domain must be tied to the appropriate values.</br>
  22399. </comment>
  22400. </bits>
  22401. <bits access="rw" name="usbtrdtim" pos="13:10" rst="5">
  22402. <comment>
  22403. <br>Mode: Device only</br>
  22404. <br>USB Turnaround Time (USBTrdTim)</br>
  22405. <br>Sets the turnaround time in PHY clocks. Specifies the response time for a MAC request to the Packet FIFO Controller (PFC) to fetch data from the DFIFO (SPRAM). This must be programmed to</br>
  22406. <br> - 4'h5: When the MAC interface is 16-bit UTMI+ .</br>
  22407. <br> - 4'h9: When the MAC interface is 8-bit UTMI+ .</br>
  22408. <br>Note: The previous values are calculated for the minimum AHB frequency of 30 MHz. USB turnaround time is critical for certification where long cables and 5-Hubs are used. If you need the AHB to run at less than 30 MHz, and if USB turnaround time is not critical, these bits can be programmed to a larger value.</br>
  22409. </comment>
  22410. </bits>
  22411. <bits access="rw" name="phylpwrclksel" pos="15" rst="0">
  22412. <comment>
  22413. <br>PHY Low-Power Clock Select (PhyLPwrClkSel)</br>
  22414. <br>Mode: Host and Device</br>
  22415. <br>Selects either 480-MHz or 48-MHz (low-power) PHY mode. In FS and LS modes, the PHY can usually operate on a 48-MHz clock to save power.</br>
  22416. <br> - 1'b0: 480-MHz Internal PLL clock</br>
  22417. <br> - 1'b1: 48-MHz External Clock</br>
  22418. <br>In 480 MHz mode, the UTMI interface operates at either 60 or 30-MHz, depending upon whether 8- or 16-bit data width is selected.</br>
  22419. <br>In 48-MHz mode, the UTMI interface operates at 48 MHz in FS mode and at either 48 or 6 MHz in LS mode (depending on the PHY vendor). This bit drives the utmi_fsls_low_power core output signal, and is valid only for UTMI+ PHYs.</br>
  22420. </comment>
  22421. </bits>
  22422. <bits access="rw" name="termseldlpulse" pos="22" rst="0">
  22423. <comment>
  22424. <br>Mode: Device only</br>
  22425. <br>TermSel DLine Pulsing Selection (TermSelDLPulse)</br>
  22426. <br>This bit selects utmi_termselect to drive data line pulse during SRP.</br>
  22427. <br> - 1'b0: Data line pulsing using utmi_txvalid (Default).</br>
  22428. <br> - 1'b1: Data line pulsing using utmi_termsel.</br>
  22429. </comment>
  22430. </bits>
  22431. <bits access="r" name="ic_usbcap" pos="26" rst="0">
  22432. <comment>
  22433. <br>Mode: Host and Device</br>
  22434. <br>IC_USB-Capable (IC_USBCap)</br>
  22435. <br>The application uses this bit to control the core's IC_USB capabilities.</br>
  22436. <br> - 1'b0: IC_USB PHY Interface is not selected.</br>
  22437. <br> - 1'b1: IC_USB PHY Interface is selected.</br>
  22438. <br>This bit is writable only if OTG_ENABLE_IC_USB=1 and OTG_FSPHY_INTERFACE!=0.</br>
  22439. <br>The reset value depends on the configuration parameter OTG_SELECT_IC_USB when OTG_ENABLE_IC_USB = 1. In all other cases, this bit is set to 1'b0 and the bit is read only.</br>
  22440. </comment>
  22441. </bits>
  22442. <bits access="rw" name="txenddelay" pos="28" rst="0">
  22443. <comment>
  22444. <br>Mode: Device only</br>
  22445. <br>Tx End Delay (TxEndDelay)</br>
  22446. <br>Writing 1'b1 to this bit enables the controller to follow the TxEndDelay timings as per UTMI+ specification 1.05 section 4.1.5 for opmode signal during remote wakeup. </br>
  22447. <br> - 1'b0 : Normal Mode.</br>
  22448. <br> - 1'b1 : Tx End delay.</br>
  22449. </comment>
  22450. </bits>
  22451. <bits access="rw" name="forcehstmode" pos="29" rst="0">
  22452. <comment>
  22453. <br>Mode: Host and device</br>
  22454. <br>Force Host Mode (ForceHstMode)</br>
  22455. <br>Writing a 1 to this bit forces the core to host mode irrespective of utmiotg_iddig input pin.</br>
  22456. <br> - 1'b0 : Normal Mode.</br>
  22457. <br> - 1'b1 : Force Host Mode.</br>
  22458. <br>After setting the force bit, the application must wait at least 25 ms before the change to take effect. When the simulation is in scale down mode, waiting for 500 micro sec is sufficient. This bit is valid only when OTG_MODE = 0, 1 or 2. In all other cases, this bit reads 0.</br>
  22459. </comment>
  22460. </bits>
  22461. <bits access="rw" name="forcedevmode" pos="30" rst="0">
  22462. <comment>
  22463. <br>Mode:Host and device</br>
  22464. <br>Force Device Mode (ForceDevMode)</br>
  22465. <br>Writing a 1 to this bit forces the controller to device mode irrespective of utmiotg_iddig input pin.</br>
  22466. <br> - 1'b0 : Normal Mode.</br>
  22467. <br> - 1'b1 : Force Device Mode.</br>
  22468. <br>After setting the force bit, the application must wait at least 25 ms before the change to take effect. When the simulation is in scale down mode, waiting for 500 micro sec is sufficient. This bit is valid only when OTG_MODE = 0, 1 or 2. In all other cases, this bit reads 0.</br>
  22469. </comment>
  22470. </bits>
  22471. <bits access="w" name="corrupttxpkt" pos="31" rst="0">
  22472. <comment>
  22473. <br>Mode: Host and device</br>
  22474. <br>Corrupt Tx packet (CorruptTxPkt)</br>
  22475. <br>This bit is for debug purposes only. Never Set this bit to 1. The application should always write 1'b0 to this bit.</br>
  22476. </comment>
  22477. </bits>
  22478. </reg>
  22479. <reg name="grstctl" protect="rw">
  22480. <comment>Reset Register
  22481. The application uses this register to reset various hardware features inside the controller.</comment>
  22482. <bits access="rw" name="csftrst" pos="0" rst="0">
  22483. <comment>
  22484. <br>Mode: Host and Device</br>
  22485. <br>Core Soft Reset (CSftRst)</br>
  22486. <br>Resets the hclk and phy_clock domains as follows:</br>
  22487. <br> - Clears the interrupts and all the CSR registers except the following register bits:</br>
  22488. <br> -- PCGCCTL.RstPdwnModule</br>
  22489. <br> -- PCGCCTL.GateHclk</br>
  22490. <br> -- PCGCCTL.PwrClmp</br>
  22491. <br> -- PCGCCTL.StopPPhyLPwrClkSelclk</br>
  22492. <br> -- GUSBCFG.ForceDevMode</br>
  22493. <br> -- GUSBCFG.ForceHstMode</br>
  22494. <br> -- GUSBCFG.PhyLPwrClkSel</br>
  22495. <br> -- GUSBCFG.DDRSel</br>
  22496. <br> -- GUSBCFG.PHYSel</br>
  22497. <br> -- GUSBCFG.FSIntf</br>
  22498. <br> -- GUSBCFG.ULPI_UTMI_Sel</br>
  22499. <br> -- GUSBCFG.PHYIf</br>
  22500. <br> -- GUSBCFG.TxEndDelay</br>
  22501. <br> -- GUSBCFG.TermSelDLPulse</br>
  22502. <br> -- GUSBCFG.ULPIClkSusM</br>
  22503. <br> -- GUSBCFG.ULPIAutoRes</br>
  22504. <br> -- GUSBCFG.ULPIFsLs</br>
  22505. <br> -- GGPIO</br>
  22506. <br> -- GPWRDN</br>
  22507. <br> -- GADPCTL</br>
  22508. <br> -- HCFG.FSLSPclkSel</br>
  22509. <br> -- DCFG.DevSpd</br>
  22510. <br> -- DCTL.SftDiscon</br>
  22511. <br> - All module state machines</br>
  22512. <br> - All module state machines (except the AHB Slave Unit) are reset to the IDLE state, and all the transmit FIFOs and the receive FIFO are flushed.</br>
  22513. <br> - Any transactions on the AHB Master are terminated as soon as possible, after gracefully completing the last data phase of an AHB transfer. Any transactions on the USB are terminated immediately.</br>
  22514. <br> - When Hibernation or ADP feature is enabled, the PMU module is not reset by the Core Soft Reset.</br>
  22515. <br>The application can write to this bit any time it wants to reset the core. This is a self-clearing bit and the core clears this bit after</br>
  22516. <br>all the necessary logic is reset in the core, which can take several clocks, depending on the current state of the core. Once this bit is cleared software must wait at least 3 PHY clocks before doing any access to the PHY domain (synchronization delay). Software must also must check that bit 31 of this register is 1 (AHB Master is IDLE) before starting any operation.</br>
  22517. <br/>
  22518. <br>Typically software reset is used during software development and also when you dynamically change the PHY selection bits in the USB configuration registers listed above. When you change the PHY, the corresponding clock for the PHY is selected and used in the PHY domain. Once a new clock is selected, the PHY domain has to be reset for proper operation.</br>
  22519. </comment>
  22520. </bits>
  22521. <bits access="rw" name="piufssftrst" pos="1" rst="0">
  22522. <comment>
  22523. <br>Mode: Host and Device</br>
  22524. <br>PIU FS Dedicated Controller Soft Reset (PIUFSSftRst)</br>
  22525. <br/>
  22526. <br>Resets the PIU FS Dedicated Controller</br>
  22527. <br> All module state machines in FS Dedicated Controller of PIU are reset to the IDLE state. Used to reset the FS Dedicated controller in PIU in case of any PHY Errors like Loss of activity or Babble Error resulting in the PHY remaining in RX state for more than one frame boundary.</br>
  22528. <br>This is a self clearing bit and core clears this bit after all the necessary logic is reset in the core.</br>
  22529. </comment>
  22530. </bits>
  22531. <bits access="rw" name="frmcntrrst" pos="2" rst="0">
  22532. <comment>
  22533. <br>Mode: Host only</br>
  22534. <br>Host Frame Counter Reset (FrmCntrRst)</br>
  22535. <br>The application writes this bit to reset the (micro)Frame number counter inside the core. When the (micro)Frame counter is reset, the subsequent SOF sent out by the core has a (micro)Frame number of 0.</br>
  22536. <br>When application writes 1 to the bit, it might not be able to read back the value as it will get cleared by the core in a few clock cycles.</br>
  22537. </comment>
  22538. </bits>
  22539. <bits access="rw" name="rxfflsh" pos="4" rst="0">
  22540. <comment>
  22541. <br>Mode: Host and Device</br>
  22542. <br>RxFIFO Flush (RxFFlsh)</br>
  22543. <br>The application can flush the entire RxFIFO using this bit, but must first ensure that the core is not in the middle of a transaction.</br>
  22544. <br>The application must only write to this bit after checking that the controller is neither reading from the RxFIFO nor writing to the RxFIFO.</br>
  22545. <br/>
  22546. <br>The application must wait until the bit is cleared before performing any other operations. This bit requires eight clocks (slowest of PHY or AHB clock) to clear.</br>
  22547. </comment>
  22548. </bits>
  22549. <bits access="rw" name="txfflsh" pos="5" rst="0">
  22550. <comment>
  22551. <br>Mode: Host and Device</br>
  22552. <br>TxFIFO Flush (TxFFlsh)</br>
  22553. <br>This bit selectively flushes a single or all transmit FIFOs, but cannot do so If the core is in the midst of a transaction.</br>
  22554. <br>The application must write this bit only after checking that the core is neither writing to the TxFIFO nor reading from the TxFIFO.</br>
  22555. <br>Verify using these registers:</br>
  22556. <br> - ReadNAK Effective Interrupt ensures the core is not reading from the FIFO</br>
  22557. <br> - WriteGRSTCTL.AHBIdle ensures the core is not writing anything to the FIFO.</br>
  22558. <br>Flushing is normally recommended when FIFOs are reconfigured or when switching between Shared FIFO and Dedicated Transmit FIFO operation. FIFO flushing is also recommended during device endpoint disable. The application must wait until the core clears this bit before performing any operations. This bit takes eight clocks to clear, using the slower clock of phy_clk or hclk.</br>
  22559. </comment>
  22560. </bits>
  22561. <bits access="rw" name="txfnum" pos="10:6" rst="0">
  22562. <comment>
  22563. <br>Mode: Host and Device</br>
  22564. <br>TxFIFO Number (TxFNum)</br>
  22565. <br>This is the FIFO number that must be flushed using the TxFIFO Flush bit. This field must not be changed until the core clears the TxFIFO Flush bit.</br>
  22566. <br> - 5'h0:</br>
  22567. <br> -- Non-periodic TxFIFO flush in Host mode</br>
  22568. <br> -- Non-periodic TxFIFO flush in device mode when in shared FIFO operation</br>
  22569. <br> -- Tx FIFO 0 flush in device mode when in dedicated FIFO mode</br>
  22570. <br> - 5'h1:</br>
  22571. <br> -- Periodic TxFIFO flush in Host mode </br>
  22572. <br> -- Periodic TxFIFO 1 flush in Device mode when in shared FIFO operation</br>
  22573. <br> -- TXFIFO 1 flush in device mode when in dedicated FIFO mode</br>
  22574. <br> - 5'h2:</br>
  22575. <br> -- Periodic TxFIFO 2 flush in Device mode when in shared FIFO operation</br>
  22576. <br> -- TXFIFO 2 flush in device mode when in dedicated FIFO mode</br>
  22577. <br>...</br>
  22578. <br> - 5'hF</br>
  22579. <br> -- Periodic TxFIFO 15 flush in Device mode when in shared FIFO operation</br>
  22580. <br> -- TXFIFO 15 flush in device mode when in dedicated FIFO mode</br>
  22581. <br> - 5'h10: Flush all the transmit FIFOs in device or host mode</br>
  22582. </comment>
  22583. </bits>
  22584. <bits access="r" name="dmareq" pos="30" rst="0">
  22585. <comment>
  22586. <br>Mode: Host and Device</br>
  22587. <br>DMA Request Signal (DMAReq)</br>
  22588. <br>Indicates that the DMA request is in progress. Used for debug.</br>
  22589. </comment>
  22590. </bits>
  22591. <bits access="r" name="ahbidle" pos="31" rst="1">
  22592. <comment>
  22593. <br>Mode: Host and Device</br>
  22594. <br>AHB Master Idle (AHBIdle)</br>
  22595. <br>Indicates that the AHB Master State Machine is in the IDLE condition.</br>
  22596. </comment>
  22597. </bits>
  22598. </reg>
  22599. <reg name="gintsts" protect="rw">
  22600. <comment>Interrupt Register
  22601. This register interrupts the application for system-level events in the current mode (Device mode or Host mode).
  22602. Some of the bits in this register are valid only in Host mode, while others are valid in Device mode only. This register also indicates the current mode. To clear the interrupt status bits of type R_SS_WC, the application must write 1'b1 into the bit.
  22603. The FIFO status interrupts are read only; once software reads from or writes to the FIFO while servicing these interrupts, FIFO interrupt conditions are cleared automatically.
  22604. The application must clear the GINTSTS register at initialization before unmasking the interrupt bit to avoid any interrupts generated prior to initialization.
  22605. Note: Read the reset value of GINTSTS.CurMod only after the following conditions:
  22606. - If IDDIG_FILTER is disabled, read only after PHY clock is stable.
  22607. - If IDDIG_FILTER is enabled, read only after the filter timer expires.</comment>
  22608. <bits access="r" name="curmod" pos="0" rst="0">
  22609. <comment>
  22610. <br>Mode: Host and Device</br>
  22611. <br>Current Mode of Operation (CurMod)</br>
  22612. <br>Indicates the current mode.</br>
  22613. <br> - 1'b0: Device mode</br>
  22614. <br> - 1'b1: Host mode </br>
  22615. <br/>
  22616. <br> </br>
  22617. <br>Note: The reset value of this register field can be read only after the PHY clock is stable, or if IDDIG_FILTER is enabled, wait for the filter timer to expire to read the correct reset value which ever event is later. </br>
  22618. <br/>
  22619. </comment>
  22620. </bits>
  22621. <bits access="rw" name="modemis" pos="1" rst="0">
  22622. <comment>
  22623. <br>Mode: Host and Device</br>
  22624. <br>Mode Mismatch Interrupt (ModeMis)</br>
  22625. <br>The core sets this bit when the application is trying to access:</br>
  22626. <br> - A Host mode register, when the controller is operating in Device mode</br>
  22627. <br> - A Device mode register, when the controller is operating in Host mode</br>
  22628. <br>The register access is completed on the AHB with an OKAY response, but is ignored by the controller internally and does not affect the operation of the controller.</br>
  22629. <br>This bit can be set only by the core and the application should write 1 to clear it.</br>
  22630. </comment>
  22631. </bits>
  22632. <bits access="r" name="otgint" pos="2" rst="0">
  22633. <comment>
  22634. <br>Mode: Host and Device</br>
  22635. <br>OTG Interrupt (OTGInt)</br>
  22636. <br>The controller sets this bit to indicate an OTG protocol event. The application must read the OTG Interrupt Status (GOTGINT) register to determine the exact event that caused this interrupt. The application must clear the appropriate status bit in the GOTGINT register to clear this bit.</br>
  22637. </comment>
  22638. </bits>
  22639. <bits access="rw" name="sof" pos="3" rst="0">
  22640. <comment>
  22641. <br>Mode: Host and Device</br>
  22642. <br>Start of (micro)Frame (Sof)</br>
  22643. <br/>
  22644. <br>In Host mode, the core sets this bit to indicate that an SOF (FS), micro-SOF (HS), or Keep-Alive (LS) is transmitted on the USB. The application must write a 1 to this bit to clear the interrupt.</br>
  22645. <br/>
  22646. <br>In Device mode, the controller sets this bit to indicate that an SOF token has been received on the USB. The application can read the Device Status register to get the current (micro)Frame number. This interrupt is seen only when the core is operating at either HS or FS. This bit can be set only by the core and the application must write 1 to clear it.</br>
  22647. <br/>
  22648. <br>Note: This register may return 1'b1 if read immediately after power-on reset.</br>
  22649. <br>If the register bit reads 1'b1 immediately after power-on reset, it does not indicate that an SOF has been sent (in case of host mode) or SOF has been received (in case of device mode).</br>
  22650. <br>The read value of this interrupt is valid only after a valid connection between host and device is established. If the bit is set after power on reset the application can clear the bit.</br>
  22651. </comment>
  22652. </bits>
  22653. <bits access="r" name="rxflvl" pos="4" rst="0">
  22654. <comment>
  22655. <br>Mode: Host and Device</br>
  22656. <br>RxFIFO Non-Empty (RxFLvl)</br>
  22657. <br/>
  22658. <br>Indicates that there is at least one packet pending to be read from the RxFIFO.</br>
  22659. </comment>
  22660. </bits>
  22661. <bits access="r" name="nptxfemp" pos="5" rst="1">
  22662. <comment>
  22663. <br>Mode: Host and Device</br>
  22664. <br>Non-periodic TxFIFO Empty (NPTxFEmp)</br>
  22665. <br>This interrupt is asserted when the Non-periodic TxFIFO is either half or completely empty, and there is space for at least one Entry to be written to the Non-periodic Transmit Request Queue. The half or completely empty status is determined by the Non-periodic TxFIFO Empty Level bit in the Core AHB Configuration register (GAHBCFG.NPTxFEmpLvl).</br>
  22666. <br>In host mode, the application can use GINTSTS.NPTxFEmp with the OTG_EN_DED_TX_FIFO parameter set to either 1 or 0.</br>
  22667. <br>In device mode, the application uses GINTSTS.NPTxFEmp when OTG_EN_DED_TX_FIFO=0. When OTG_EN_DED_TX_FIFO=1, the application uses DIEPINTn.TxFEmp.</br>
  22668. </comment>
  22669. </bits>
  22670. <bits access="r" name="ginnakeff" pos="6" rst="0">
  22671. <comment>
  22672. <br>Mode: Device only</br>
  22673. <br>Global IN Non-periodic NAK Effective (GINNakEff)</br>
  22674. <br>Indicates that the Set Global Non-periodic IN NAK bit in the Device Control register (DCTL.SGNPInNak) set by the application, has taken effect in the core. That is, the core has sampled the Global IN NAK bit Set by the application. This bit can be cleared by clearing the Clear Global Non-periodic IN NAK bit in the Device Control register (DCTL.CGNPInNak). This interrupt does not necessarily mean that a NAK handshake</br>
  22675. <br>is sent out on the USB. The STALL bit takes precedence over the NAK bit.</br>
  22676. </comment>
  22677. </bits>
  22678. <bits access="r" name="goutnakeff" pos="7" rst="0">
  22679. <comment>
  22680. <br>Mode: Device only</br>
  22681. <br>Global OUT NAK Effective (GOUTNakEff)</br>
  22682. <br>Indicates that the Set Global OUT NAK bit in the Device Control register (DCTL.SGOUTNak), Set by the application, has taken effect in the core. This bit can be cleared by writing the Clear Global OUT NAK bit in the Device Control register (DCTL.CGOUTNak).</br>
  22683. </comment>
  22684. </bits>
  22685. <bits access="rw" name="erlysusp" pos="10" rst="0">
  22686. <comment>
  22687. <br>Mode: Device only</br>
  22688. <br>Early Suspend (ErlySusp)</br>
  22689. <br>The controller sets this bit to indicate that an Idle state has been detected on the USB for 3 ms.</br>
  22690. </comment>
  22691. </bits>
  22692. <bits access="rw" name="usbsusp" pos="11" rst="0">
  22693. <comment>
  22694. <br>Mode: Device only</br>
  22695. <br>USB Suspend (USBSusp)</br>
  22696. <br>The controller sets this bit to indicate that a suspend was detected on the USB. The controller enters the Suspended state when there is no activity on the linestate signal for an extended period of time.</br>
  22697. </comment>
  22698. </bits>
  22699. <bits access="rw" name="usbrst" pos="12" rst="0">
  22700. <comment>
  22701. <br>Mode: Device only</br>
  22702. <br>USB Reset (USBRst)</br>
  22703. <br>The controller sets this bit to indicate that a reset is detected on the USB.</br>
  22704. </comment>
  22705. </bits>
  22706. <bits access="rw" name="enumdone" pos="13" rst="0">
  22707. <comment>
  22708. <br>Mode: Device only</br>
  22709. <br>Enumeration Done (EnumDone)</br>
  22710. <br>The core sets this bit to indicate that speed enumeration is complete. The application must read the Device Status (DSTS) register to obtain the enumerated speed.</br>
  22711. </comment>
  22712. </bits>
  22713. <bits access="rw" name="isooutdrop" pos="14" rst="0">
  22714. <comment>
  22715. <br>Mode: Device only</br>
  22716. <br>Isochronous OUT Packet Dropped Interrupt (ISOOutDrop)</br>
  22717. <br>The controller sets this bit when it fails to write an isochronous OUT packet into the RxFIFO because the RxFIFO does not have enough space to accommodate a maximum packet size packet for the isochronous OUT endpoint.</br>
  22718. </comment>
  22719. </bits>
  22720. <bits access="rw" name="eopf" pos="15" rst="0">
  22721. <comment>
  22722. <br>Mode: Device only</br>
  22723. <br>End of Periodic Frame Interrupt (EOPF)</br>
  22724. <br>Indicates that the period specified in the Periodic Frame Interval field of the Device Configuration register (DCFG.PerFrInt) has been reached in the current microframe.</br>
  22725. </comment>
  22726. </bits>
  22727. <bits access="rw" name="epmis" pos="17" rst="0">
  22728. <comment>
  22729. <br>Mode: Device only</br>
  22730. <br>Endpoint Mismatch Interrupt (EPMis)</br>
  22731. <br>Note: This interrupt is valid only in shared FIFO operation.</br>
  22732. <br>Indicates that an IN token has been received for a non-periodic endpoint, but the data for another endpoint is present in the top of the Non-periodic Transmit FIFO and the IN endpoint mismatch count programmed by the application has expired.</br>
  22733. </comment>
  22734. </bits>
  22735. <bits access="r" name="iepint" pos="18" rst="0">
  22736. <comment>
  22737. <br>Mode: Device only</br>
  22738. <br>IN Endpoints Interrupt (IEPInt)</br>
  22739. <br>The core sets this bit to indicate that an interrupt is pending on one of the IN endpoints of the core (in Device mode). The application must read the Device All Endpoints Interrupt (DAINT) register to determine the exact number of the IN endpoint on Device IN Endpoint-n Interrupt (DIEPINTn) register to determine the exact cause of the interrupt. The application must clear the appropriate status bit in the corresponding DIEPINTn register to</br>
  22740. <br>clear this bit.</br>
  22741. </comment>
  22742. </bits>
  22743. <bits access="r" name="oepint" pos="19" rst="0">
  22744. <comment>
  22745. <br>Mode: Device only</br>
  22746. <br>OUT Endpoints Interrupt (OEPInt)</br>
  22747. <br>The controller sets this bit to indicate that an interrupt is pending on one of the OUT endpoints of the core (in Device mode). The application must read the Device All Endpoints Interrupt (DAINT) register to determine the exact number of the OUT endpoint on which the interrupt occurred, and then read the corresponding Device OUT Endpoint-n Interrupt (DOEPINTn) register to determine the exact cause of the interrupt. The application must</br>
  22748. <br>clear the appropriate status bit in the corresponding DOEPINTn register to clear this bit.</br>
  22749. </comment>
  22750. </bits>
  22751. <bits access="rw" name="incompisoin" pos="20" rst="0">
  22752. <comment>
  22753. <br>Mode: Device only</br>
  22754. <br>Incomplete Isochronous IN Transfer (incompISOIN)</br>
  22755. <br>The core sets this interrupt to indicate that there is at least one isochronous IN endpoint on which the transfer is not completed in the current microframe. This interrupt is asserted along with the End of Periodic Frame Interrupt (EOPF) bit in this register.</br>
  22756. <br>Note: This interrupt is not asserted in Scatter/Gather DMA mode.</br>
  22757. </comment>
  22758. </bits>
  22759. <bits access="rw" name="incomplp" pos="21" rst="0">
  22760. <comment>
  22761. <br>Incomplete Periodic Transfer (incomplP)</br>
  22762. <br>Mode: Host only</br>
  22763. <br>In Host mode, the core sets this interrupt bit when there are incomplete periodic transactions still pending which are scheduled for the current microframe.</br>
  22764. <br>Incomplete Isochronous OUT Transfer (incompISOOUT)</br>
  22765. <br>Mode: Device only</br>
  22766. <br>The Device mode, the core sets this interrupt to indicate that there is at least one isochronous OUT endpoint on which the transfer is not completed in the current microframe. This interrupt is asserted along with the End of Periodic Frame Interrupt (EOPF) bit in this register.</br>
  22767. </comment>
  22768. </bits>
  22769. <bits access="rw" name="fetsusp" pos="22" rst="0">
  22770. <comment>
  22771. <br>Mode: Device only</br>
  22772. <br>Data Fetch Suspended (FetSusp)</br>
  22773. <br>This interrupt is valid only in DMA mode. This interrupt indicates that the core has stopped fetching data. For IN endpoints due to the unavailability of TxFIFO space or Request Queue space. This interrupt is used by the application for an endpoint mismatch algorithm.</br>
  22774. <br/>
  22775. <br>For example, after detecting an endpoint mismatch, the application:</br>
  22776. <br> - Sets a Global non-periodic IN NAK handshake</br>
  22777. <br> - Disables IN endpoints</br>
  22778. <br> - Flushes the FIFO</br>
  22779. <br> - Determines the token sequence from the IN Token Sequence Learning Queue</br>
  22780. <br> - Re-enables the endpoints</br>
  22781. <br> - Clears the Global non-periodic IN NAK handshake</br>
  22782. <br>If the Global non-periodic IN NAK is cleared, the core has not yet fetched data for the IN endpoint, and the IN token is received. The core generates an 'IN token received when FIFO empty' interrupt. The DWC_otg then sends the host a NAK response. To avoid this scenario, the application can check the GINTSTS.FetSusp interrupt, which ensures that the FIFO is full before clearing a Global NAK handshake.</br>
  22783. <br/>
  22784. <br>Alternatively, the application can mask the IN token received when FIFO empty interrupt when clearing a Global IN NAK handshake.</br>
  22785. </comment>
  22786. </bits>
  22787. <bits access="rw" name="resetdet" pos="23" rst="0">
  22788. <comment>
  22789. <br>Mode: Device only</br>
  22790. <br>Reset detected Interrupt (ResetDet)</br>
  22791. <br>In Device mode, this interrupt is asserted when a reset is detected on the USB in partial power-down mode when the device is in Suspend.</br>
  22792. <br/>
  22793. <br>In Host mode, this interrupt is not asserted.</br>
  22794. </comment>
  22795. </bits>
  22796. <bits access="r" name="prtint" pos="24" rst="0">
  22797. <comment>
  22798. <br>Mode: Host only</br>
  22799. <br>Host Port Interrupt (PrtInt)</br>
  22800. <br>The core sets this bit to indicate a change in port status of one of the controller ports in Host mode. The application must read the Host Port Control and Status (HPRT) register to determine the exact event that caused this interrupt. The application must clear the appropriate status bit in the Host Port</br>
  22801. <br>Control and Status register to clear this bit.</br>
  22802. </comment>
  22803. </bits>
  22804. <bits access="r" name="hchint" pos="25" rst="0">
  22805. <comment>
  22806. <br>Mode: Host only</br>
  22807. <br>Host Channels Interrupt (HChInt)</br>
  22808. <br>The core sets this bit to indicate that an interrupt is pending on one of the channels of the core (in Host mode). The application must read the Host All Channels Interrupt (HAINT) register to determine the exact number of the channel on which the interrupt occurred, and Then read the corresponding Host</br>
  22809. <br>Channel-n Interrupt (HCINTn) register to determine the exact cause of the interrupt. The application must clear the appropriate status bit in the HCINTn register to clear this bit.</br>
  22810. </comment>
  22811. </bits>
  22812. <bits access="r" name="ptxfemp" pos="26" rst="1">
  22813. <comment>
  22814. <br>Mode: Host only</br>
  22815. <br>Periodic TxFIFO Empty (PTxFEmp)</br>
  22816. <br>This interrupt is asserted when the Periodic Transmit FIFO is either half or completely empty and there is space for at least one entry to be written in the Periodic Request Queue. The half or completely empty status is determined by the Periodic TxFIFO Empty Level bit in the Core AHB Configuration register (GAHBCFG.PTxFEmpLvl).</br>
  22817. </comment>
  22818. </bits>
  22819. <bits access="rw" name="conidstschng" pos="28" rst="0">
  22820. <comment>
  22821. <br>Mode: Host and Device</br>
  22822. <br>Connector ID Status Change (ConIDStsChng)</br>
  22823. <br>The core sets this bit when there is a change in connector ID status.</br>
  22824. </comment>
  22825. </bits>
  22826. <bits access="rw" name="disconnint" pos="29" rst="0">
  22827. <comment>
  22828. <br>Mode: Host only</br>
  22829. <br>Disconnect Detected Interrupt (DisconnInt)</br>
  22830. <br>Asserted when a device disconnect is detected.</br>
  22831. </comment>
  22832. </bits>
  22833. <bits access="rw" name="sessreqint" pos="30" rst="0">
  22834. <comment>
  22835. <br>Mode: Host and Device</br>
  22836. <br>Session Request/New Session Detected Interrupt (SessReqInt)</br>
  22837. <br>In Host mode, this interrupt is asserted when a session request is detected from the device. In Host mode, this interrupt is asserted when a session request is detected from the device.</br>
  22838. <br>In Device mode, this interrupt is asserted when the utmisrp_bvalid signal goes high.</br>
  22839. <br>For more information on how to use this interrupt, see 'Partial Power-Down and Clock Gating Programming Model' in the Programming Guide.</br>
  22840. </comment>
  22841. </bits>
  22842. <bits access="rw" name="wkupint" pos="31" rst="0">
  22843. <comment>
  22844. <br>Mode: Host and Device</br>
  22845. <br>Resume/Remote Wakeup Detected Interrupt (WkUpInt)</br>
  22846. <br>Wakeup Interrupt during Suspend(L2) or LPM(L1) state.</br>
  22847. <br> - During Suspend(L2):</br>
  22848. <br> -- Device Mode: This interrupt is asserted only when Host Initiated Resume is detected on USB.</br>
  22849. <br> -- Host Mode: This interrupt is asserted only when Device Initiated Remote Wakeup is detected on USB. </br>
  22850. <br>For more information, see 'Partial Power-Down and Clock Gating Programming Model' in the Programming Guide.</br>
  22851. <br> - During LPM(L1):</br>
  22852. <br> -- Device Mode: This interrupt is asserted for either Host Initiated Resume or Device Initiated Remote Wakeup on USB.</br>
  22853. <br> -- Host Mode: This interrupt is asserted for either Host Initiated Resume or Device Initiated Remote Wakeup on USB.</br>
  22854. <br>For more information, see 'LPM Entry and Exit Programming Model' in the Programming Guide.</br>
  22855. </comment>
  22856. </bits>
  22857. </reg>
  22858. <reg name="gintmsk" protect="rw">
  22859. <comment>Interrupt Mask Register
  22860. This register works with the Interrupt Register (GINTSTS) to interrupt the application. When an interrupt bit is masked, the interrupt associated with that bit is not generated. However, the GINTSTS register bit corresponding to that interrupt is still set.
  22861. Note: The fields of this register change depending on host or device mode.</comment>
  22862. <bits access="rw" name="modemismsk" pos="1" rst="0">
  22863. <comment>
  22864. <br>Mode: Host and Device</br>
  22865. <br>Mode Mismatch Interrupt Mask (ModeMisMsk)</br>
  22866. </comment>
  22867. </bits>
  22868. <bits access="rw" name="otgintmsk" pos="2" rst="0">
  22869. <comment>
  22870. <br>Mode: Host and Device</br>
  22871. <br>OTG Interrupt Mask (OTGIntMsk)</br>
  22872. </comment>
  22873. </bits>
  22874. <bits access="rw" name="sofmsk" pos="3" rst="0">
  22875. <comment>
  22876. <br>Mode: Host and Device</br>
  22877. <br>Start of (micro)Frame Mask (SofMsk)</br>
  22878. </comment>
  22879. </bits>
  22880. <bits access="rw" name="rxflvlmsk" pos="4" rst="0">
  22881. <comment>
  22882. <br>Mode: Host and Device</br>
  22883. <br>Receive FIFO Non-Empty Mask (RxFLvlMsk)</br>
  22884. </comment>
  22885. </bits>
  22886. <bits access="rw" name="nptxfempmsk" pos="5" rst="0">
  22887. <comment>
  22888. <br>Mode: Host and Device</br>
  22889. <br>Non-periodic TxFIFO Empty Mask (NPTxFEmpMsk)</br>
  22890. </comment>
  22891. </bits>
  22892. <bits access="rw" name="ginnakeffmsk" pos="6" rst="0">
  22893. <comment>
  22894. <br>Mode: Device only,</br>
  22895. <br>Global Non-periodic IN NAK Effective Mask (GINNakEffMsk)</br>
  22896. </comment>
  22897. </bits>
  22898. <bits access="rw" name="goutnakeffmsk" pos="7" rst="0">
  22899. <comment>
  22900. <br>Mode: Device only</br>
  22901. <br>Global OUT NAK Effective Mask (GOUTNakEffMsk)</br>
  22902. </comment>
  22903. </bits>
  22904. <bits access="rw" name="erlysuspmsk" pos="10" rst="0">
  22905. <comment>
  22906. <br>Mode: Device only</br>
  22907. <br>Early Suspend Mask (ErlySuspMsk)</br>
  22908. </comment>
  22909. </bits>
  22910. <bits access="rw" name="usbsuspmsk" pos="11" rst="0">
  22911. <comment>
  22912. <br>Mode: Device only</br>
  22913. <br>USB Suspend Mask (USBSuspMsk)</br>
  22914. </comment>
  22915. </bits>
  22916. <bits access="rw" name="usbrstmsk" pos="12" rst="0">
  22917. <comment>
  22918. <br>Mode: Device only</br>
  22919. <br>USB Reset Mask (USBRstMsk)</br>
  22920. </comment>
  22921. </bits>
  22922. <bits access="rw" name="enumdonemsk" pos="13" rst="0">
  22923. <comment>
  22924. <br>Mode: Device only</br>
  22925. <br>Enumeration Done Mask (EnumDoneMsk)</br>
  22926. </comment>
  22927. </bits>
  22928. <bits access="rw" name="isooutdropmsk" pos="14" rst="0">
  22929. <comment>
  22930. <br>Mode: Device only</br>
  22931. <br>Isochronous OUT Packet Dropped Interrupt Mask (ISOOutDropMsk)</br>
  22932. </comment>
  22933. </bits>
  22934. <bits access="rw" name="eopfmsk" pos="15" rst="0">
  22935. <comment>
  22936. <br>Mode: Device only</br>
  22937. <br>End of Periodic Frame Interrupt Mask (EOPFMsk)</br>
  22938. </comment>
  22939. </bits>
  22940. <bits access="rw" name="epmismsk" pos="17" rst="0">
  22941. <comment>
  22942. <br>Mode: Device only</br>
  22943. <br>Endpoint Mismatch Interrupt Mask (EPMisMsk)</br>
  22944. </comment>
  22945. </bits>
  22946. <bits access="rw" name="iepintmsk" pos="18" rst="0">
  22947. <comment>
  22948. <br>Mode: Device only</br>
  22949. <br>IN Endpoints Interrupt Mask (IEPIntMsk)</br>
  22950. </comment>
  22951. </bits>
  22952. <bits access="rw" name="oepintmsk" pos="19" rst="0">
  22953. <comment>
  22954. <br>Mode: Device only</br>
  22955. <br>OUT Endpoints Interrupt Mask (OEPIntMsk)</br>
  22956. </comment>
  22957. </bits>
  22958. <bits access="rw" name="incomplpmsk" pos="21" rst="0">
  22959. <comment>
  22960. <br>Incomplete Periodic Transfer Mask (incomplPMsk)</br>
  22961. <br>Mode: Host only</br>
  22962. <br>Incomplete Isochronous OUT Transfer Interrupt Mask (incompISOOUTMsk)</br>
  22963. <br>Mode: Device only</br>
  22964. </comment>
  22965. </bits>
  22966. <bits access="rw" name="fetsuspmsk" pos="22" rst="0">
  22967. <comment>
  22968. <br>Mode: Device only</br>
  22969. <br>Data Fetch Suspended Mask (FetSuspMsk)</br>
  22970. </comment>
  22971. </bits>
  22972. <bits access="rw" name="resetdetmsk" pos="23" rst="0">
  22973. <comment>
  22974. <br>Mode: Device only</br>
  22975. <br>Reset detected Interrupt Mask (ResetDetMsk)</br>
  22976. </comment>
  22977. </bits>
  22978. <bits access="rw" name="prtintmsk" pos="24" rst="0">
  22979. <comment>
  22980. <br>Mode: Host only</br>
  22981. <br>Host Port Interrupt Mask (PrtIntMsk)</br>
  22982. </comment>
  22983. </bits>
  22984. <bits access="rw" name="hchintmsk" pos="25" rst="0">
  22985. <comment>
  22986. <br>Mode: Host only</br>
  22987. <br>Host Channels Interrupt Mask (HChIntMsk)</br>
  22988. </comment>
  22989. </bits>
  22990. <bits access="rw" name="ptxfempmsk" pos="26" rst="0">
  22991. <comment>
  22992. <br>Mode: Host only</br>
  22993. <br>Periodic TxFIFO Empty Mask (PTxFEmpMsk)</br>
  22994. </comment>
  22995. </bits>
  22996. <bits access="rw" name="conidstschngmsk" pos="28" rst="0">
  22997. <comment>
  22998. <br>Mode: Host and Device</br>
  22999. <br>Connector ID Status Change Mask (ConIDStsChngMsk)</br>
  23000. </comment>
  23001. </bits>
  23002. <bits access="rw" name="disconnintmsk" pos="29" rst="0">
  23003. <comment>
  23004. <br>Mode: Host and Device</br>
  23005. <br>Disconnect Detected Interrupt Mask (DisconnIntMsk)</br>
  23006. </comment>
  23007. </bits>
  23008. <bits access="rw" name="sessreqintmsk" pos="30" rst="0">
  23009. <comment>
  23010. <br>Mode: Host and Device</br>
  23011. <br>Session Request/New Session Detected Interrupt Mask (SessReqIntMsk)</br>
  23012. </comment>
  23013. </bits>
  23014. <bits access="rw" name="wkupintmsk" pos="31" rst="0">
  23015. <comment>
  23016. <br>Mode: Host and Device</br>
  23017. <br>Resume/Remote Wakeup Detected Interrupt Mask (WkUpIntMsk)</br>
  23018. <br>The WakeUp bit is used for LPM state wake up in a way similar to that of wake up in suspend state.</br>
  23019. </comment>
  23020. </bits>
  23021. </reg>
  23022. <reg name="grxstsr" protect="r">
  23023. <comment>Receive Status Debug Read Register
  23024. A read to the Receive Status Debug Read register returns the contents of the top of the Receive FIFO.
  23025. The receive status contents must be interpreted differently in Host and Device modes. The core ignores the receive status read when the receive FIFO is empty and returns a value of 32'h0000_0000.
  23026. Note:
  23027. - Use of these fields vary based on whether the core is functioning as a host or a device.
  23028. - Do not read this register's reset value before configuring the core because the read value is 'X' in the simulation.</comment>
  23029. <bits access="r" name="chnum" pos="3:0" rst="0">
  23030. <comment>
  23031. <br>Channel Number (ChNum)</br>
  23032. <br>Mode: Host only</br>
  23033. <br>Indicates the channel number to which the current received packet belongs.</br>
  23034. <br>Endpoint Number (EPNum)</br>
  23035. <br>Mode: Device only</br>
  23036. <br>Indicates the endpoint number to which the current received packet belongs.</br>
  23037. </comment>
  23038. </bits>
  23039. <bits access="r" name="bcnt" pos="14:4" rst="0">
  23040. <comment>
  23041. <br>Byte Count (BCnt)</br>
  23042. <br/>
  23043. <br>In host mode, indicates the byte count of the received IN data packet.</br>
  23044. <br/>
  23045. <br>In device mode, indicates the byte count of the received data packet.</br>
  23046. </comment>
  23047. </bits>
  23048. <bits access="r" name="dpid" pos="16:15" rst="0">
  23049. <comment>
  23050. <br>Data PID (DPID)</br>
  23051. <br/>
  23052. <br>In host mode, indicates the Data PID of the received packet. In device mode, indicates the Data PID of the received OUT data packet.</br>
  23053. <br> - 2'b00: DATA0</br>
  23054. <br> - 2'b10: DATA1</br>
  23055. <br> - 2'b01: DATA2</br>
  23056. <br> - 2'b11: MDATA </br>
  23057. <br>Reset: 2'h0</br>
  23058. </comment>
  23059. </bits>
  23060. <bits access="r" name="pktsts" pos="20:17" rst="0">
  23061. <comment>
  23062. <br>Packet Status (PktSts) indicates the status of the received packet.</br>
  23063. <br>In host mode, </br>
  23064. <br> - 4'b0010: IN data packet received</br>
  23065. <br> - 4'b0011: IN transfer completed (triggers an interrupt)</br>
  23066. <br> - 4'b0101: Data toggle error (triggers an interrupt)</br>
  23067. <br> - 4'b0111: Channel halted (triggers an interrupt)</br>
  23068. <br> - Others: Reserved</br>
  23069. <br>Reset:4'b0</br>
  23070. <br/>
  23071. <br>In device mode,</br>
  23072. <br> - 4'b0001: Global OUT NAK (triggers an interrupt)</br>
  23073. <br> - 4'b0010: OUT data packet received</br>
  23074. <br> - 4'b0011: OUT transfer completed (triggers an interrupt)</br>
  23075. <br> - 4'b0100: SETUP transaction completed (triggers an interrupt)</br>
  23076. <br> - 4'b0110: SETUP data packet received</br>
  23077. <br> - Others: Reserved</br>
  23078. <br>Reset:4'h0</br>
  23079. </comment>
  23080. </bits>
  23081. <bits access="r" name="fn" pos="24:21" rst="0">
  23082. <comment>
  23083. <br>Mode: Device only</br>
  23084. <br>Frame Number (FN)</br>
  23085. <br>This is the least significant 4 bits of the (micro)Frame number in which the packet is received on the USB. This field is supported only when isochronous OUT endpoints are supported.</br>
  23086. </comment>
  23087. </bits>
  23088. </reg>
  23089. <reg name="grxstsp" protect="r">
  23090. <comment>Receive Status Read/Pop Register
  23091. A read to the Receive Status Read and Pop register returns the contents of the top of the Receive FIFO and additionally pops the top data entry out of the RxFIFO.
  23092. The receive status contents must be interpreted differently in Host and Device modes. The core ignores the receive status pop/read when the receive FIFO is empty and returns a value of 32'h0000_0000. The application must only pop the Receive Status FIFO when the Receive FIFO Non-Empty bit of the Core Interrupt register (GINTSTS.RxFLvl) is asserted.
  23093. Note:
  23094. - Use of these fields vary based on whether the core is functioning as a host or a device.
  23095. - Do not read this register's reset value before configuring the core because the read value is 'X' in the simulation.</comment>
  23096. <bits access="r" name="chnum" pos="3:0" rst="0">
  23097. <comment>
  23098. <br>Channel Number (ChNum)</br>
  23099. <br>Mode: Host only</br>
  23100. <br>Indicates the channel number to which the current received packet belongs.</br>
  23101. <br>Endpoint Number (EPNum)</br>
  23102. <br>Mode: Device only</br>
  23103. <br>Indicates the endpoint number to which the current received packet belongs.</br>
  23104. </comment>
  23105. </bits>
  23106. <bits access="r" name="bcnt" pos="14:4" rst="0">
  23107. <comment>
  23108. <br>Byte Count (BCnt)</br>
  23109. <br/>
  23110. <br>In host mode, indicates the byte count of the received IN data packet.</br>
  23111. <br/>
  23112. <br>In device mode, indicates the byte count of the received data packet.</br>
  23113. </comment>
  23114. </bits>
  23115. <bits access="r" name="dpid" pos="16:15" rst="0">
  23116. <comment>
  23117. <br>Data PID (DPID)</br>
  23118. <br/>
  23119. <br>In host mode, indicates the Data PID of the received packet. In device mode, indicates the Data PID of the received OUT data packet.</br>
  23120. <br> - 2'b00: DATA0</br>
  23121. <br> - 2'b10: DATA1</br>
  23122. <br> - 2'b01: DATA2</br>
  23123. <br> - 2'b11: MDATA </br>
  23124. <br>Reset: 2'h0</br>
  23125. </comment>
  23126. </bits>
  23127. <bits access="r" name="pktsts" pos="20:17" rst="0">
  23128. <comment>
  23129. <br>Packet Status (PktSts) indicates the status of the received packet.</br>
  23130. <br>In host mode, </br>
  23131. <br> - 4'b0010: IN data packet received</br>
  23132. <br> - 4'b0011: IN transfer completed (triggers an interrupt)</br>
  23133. <br> - 4'b0101: Data toggle error (triggers an interrupt)</br>
  23134. <br> - 4'b0111: Channel halted (triggers an interrupt)</br>
  23135. <br> - Others: Reserved</br>
  23136. <br>Reset:4'b0</br>
  23137. <br/>
  23138. <br>In device mode,</br>
  23139. <br> - 4'b0001: Global OUT NAK (triggers an interrupt)</br>
  23140. <br> - 4'b0010: OUT data packet received</br>
  23141. <br> - 4'b0011: OUT transfer completed (triggers an interrupt)</br>
  23142. <br> - 4'b0100: SETUP transaction completed (triggers an interrupt)</br>
  23143. <br> - 4'b0110: SETUP data packet received</br>
  23144. <br> - Others: Reserved</br>
  23145. <br>Reset:4'h0</br>
  23146. </comment>
  23147. </bits>
  23148. <bits access="r" name="fn" pos="24:21" rst="0">
  23149. <comment>
  23150. <br>Mode: Device only</br>
  23151. <br>Frame Number (FN)</br>
  23152. <br>This is the least significant 4 bits of the (micro)Frame number in which the packet is received on the USB. This field is supported only when isochronous OUT endpoints are supported.</br>
  23153. </comment>
  23154. </bits>
  23155. </reg>
  23156. <reg name="grxfsiz" protect="rw">
  23157. <comment>Receive FIFO Size Register
  23158. The application can program the RAM size that must be allocated to the RxFIFO.</comment>
  23159. <bits access="rw" name="rxfdep" pos="11:0" rst="3759">
  23160. <comment>
  23161. <br>Mode: Host and Device</br>
  23162. <br>RxFIFO Depth (RxFDep)</br>
  23163. <br>This value is in terms of 32-bit words.</br>
  23164. <br> - Minimum value is 16</br>
  23165. <br> - Maximum value is 32,768</br>
  23166. <br>The power-on reset value of this register is specified as the Largest Rx Data FIFO Depth during configuration.</br>
  23167. <br>If Enable Dynamic FIFO Sizing is selected in coreConsultant, these flops are optimized, and reads return the power-on value.</br>
  23168. <br>If Enable Dynamic FIFO Sizing is selected in coreConsultant, you can write a new value in this field. Programmed values must not exceed the power-on value.</br>
  23169. </comment>
  23170. </bits>
  23171. </reg>
  23172. <reg name="gnptxfsiz" protect="rw">
  23173. <comment>Non-periodic Transmit FIFO Size Register
  23174. The application can program the RAM size and the memory start address for the Non-periodic TxFIFO
  23175. Note: The fields of this register change depending on host or device mode.</comment>
  23176. <bits access="rw" name="nptxfstaddr" pos="11:0" rst="3759">
  23177. <comment>
  23178. <br>Non-periodic Transmit RAM Start Address (NPTxFStAddr)</br>
  23179. <br>For host mode, this field is always valid.</br>
  23180. <br>This field contains the memory start address for Non-periodic Transmit FIFO RAM. </br>
  23181. <br> - This field is determined during coreConsultant configuration by &quot;Enable Dynamic FIFO Sizing?&quot; (OTG_DFIFO_DYNAMIC):OTG_DFIFO_DYNAMIC = 0</br>
  23182. <br>These flops are optimized, and reads return the power-on value.</br>
  23183. <br> - OTG_DFIFO_DYNAMIC = 1 The application can write a new value in this field. Programmed values must not exceed the power-on value set in coreConsultant.</br>
  23184. <br>Programmed values must not exceed the power-on value set in coreConsultant.</br>
  23185. <br>The power-on reset value of this field is specified during coreConsultant configuration by Largest Rx Data FIFO Depth (parameter OTG_RX_DFIFO_DEPTH).</br>
  23186. </comment>
  23187. </bits>
  23188. <bits access="rw" name="nptxfdep" pos="27:16" rst="3759">
  23189. <comment>
  23190. <br>Mode: Host only</br>
  23191. <br>Non-periodic TxFIFO Depth (NPTxFDep)</br>
  23192. <br>For host mode, this field is always valid.</br>
  23193. <br>For device mode, this field is valid only when OTG_EN_DED_TX_FIFO=0.</br>
  23194. <br>This value is in terms of 32-bit words.</br>
  23195. <br> - Minimum value is 16</br>
  23196. <br> - Maximum value is 32,768</br>
  23197. <br>This attribute of field is determined during coreConsultant configuration by &quot;Enable Dynamic FIFO Sizing?&quot; (OTG_DFIFO_DYNAMIC):</br>
  23198. <br> - OTG_DFIFO_DYNAMIC = 0: These flops are optimized, and reads return the power-on value.</br>
  23199. <br> - OTG_DFIFO_DYNAMIC = 1: The application can write a new value in this field. Programmed values must not exceed the power-on value set in coreConsultant.</br>
  23200. <br>The power-on reset value of this field is specified during coreConsultant configuration as Largest IN Endpoint FIFO 0 Depth (parameter OTG_TX_DINEP_DFIFO_DEPTH_0).</br>
  23201. </comment>
  23202. </bits>
  23203. </reg>
  23204. <reg name="gnptxsts" protect="r">
  23205. <comment>Non-periodic Transmit FIFO/Queue Status Register
  23206. In Device mode, this register is valid only in Shared FIFO operation.
  23207. This read-only register contains the free space information for the Non-periodic TxFIFO and the Non-periodic Transmit Request Queue.</comment>
  23208. <bits access="r" name="nptxfspcavail" pos="15:0" rst="3759">
  23209. <comment>
  23210. <br>Non-periodic TxFIFO Space Avail (NPTxFSpcAvail)</br>
  23211. <br>Indicates the amount of free space available in the Non-periodic TxFIFO.</br>
  23212. <br>Values are in terms of 32-bit words.</br>
  23213. <br> - 16'h0: Non-periodic TxFIFO is full</br>
  23214. <br> - 16'h1: 1 word available</br>
  23215. <br> - 16'h2: 2 words available</br>
  23216. <br> - 16'hn: n words available (where 0 &lt;= n &lt;= 32,768)</br>
  23217. <br> - 16'h8000: 32,768 words available</br>
  23218. <br> - Others: Reserved</br>
  23219. <br> Reset: Configurable</br>
  23220. </comment>
  23221. </bits>
  23222. <bits access="r" name="nptxqspcavail" pos="23:16" rst="8">
  23223. <comment>
  23224. <br>Non-periodic Transmit Request Queue Space Available (NPTxQSpcAvail)</br>
  23225. <br>Indicates the amount of free space available in the Non-periodic Transmit Request Queue. This queue holds both IN and OUT requests in Host mode. Device mode has only IN requests.</br>
  23226. <br> - 8'h0: Non-periodic Transmit Request Queue is full</br>
  23227. <br> - 8'h1: 1 location available</br>
  23228. <br> - 8'h2: 2 locations available</br>
  23229. <br> - n: n locations available (0 &lt;= n &lt;= 8)</br>
  23230. <br> - Others: Reserved</br>
  23231. <br> Reset: Configurable</br>
  23232. </comment>
  23233. </bits>
  23234. <bits access="r" name="nptxqtop" pos="30:24" rst="0">
  23235. <comment>
  23236. <br>Top of the Non-periodic Transmit Request Queue (NPTxQTop)</br>
  23237. <br>Entry in the Non-periodic Tx Request Queue that is currently being processed by the MAC.</br>
  23238. <br/>
  23239. <br> - Bits [30:27]: Channel/endpoint number</br>
  23240. <br> - Bits [26:25]:</br>
  23241. <br> - 2'b00: IN/OUT token</br>
  23242. <br> -- 2'b01: Zero-length transmit packet (device IN/host OUT)</br>
  23243. <br> -- 2'b10: PING/CSPLIT token</br>
  23244. <br> -- 2'b11: Channel halt command</br>
  23245. <br> - Bit [24]: Terminate (last Entry for selected channel/endpoint)</br>
  23246. <br> Reset: 7'h0</br>
  23247. </comment>
  23248. </bits>
  23249. </reg>
  23250. <hole size="64"/>
  23251. <reg name="ggpio" protect="rw">
  23252. <comment>General Purpose Input/Output Register
  23253. The application can use this register for general purpose input/output ports or for debugging.</comment>
  23254. <bits access="r" name="gpi" pos="15:0" rst="0">
  23255. <comment>
  23256. <br/>
  23257. <br>General Purpose Input (GPI)</br>
  23258. <br/>
  23259. <br>This field's read value reflects the gp_i[15:0] core input value.</br>
  23260. </comment>
  23261. </bits>
  23262. <bits access="rw" name="gpo" pos="31:16" rst="0">
  23263. <comment>
  23264. <br/>
  23265. <br>General Purpose Output (GPO)</br>
  23266. <br/>
  23267. <br>This field is driven as an output from the core, gp_o[15:0]. The</br>
  23268. <br>application can program this field to determine the</br>
  23269. <br>corresponding value on the gp_o[15:0] output.</br>
  23270. </comment>
  23271. </bits>
  23272. </reg>
  23273. <reg name="guid" protect="rw">
  23274. <comment>User ID Register
  23275. This is a read/write register containing the User ID. It is implemented only if Remove Optional Features? was deselected during coreConsultant configuration (parameter OTG_RM_OPT_FEATURES = 0). The power-on value for this register is specified as the Power-on Value of User ID Register User Identification Register during coreConsultant configuration (parameter OTG_USERID). This register can be used in the following ways:
  23276. - To store the version or revision of your system
  23277. - To store hardware configurations that are outside the DWC_otg core
  23278. - As a scratch register</comment>
  23279. <bits access="rw" name="guid" pos="31:0" rst="2299527168">
  23280. <comment>
  23281. <br>User ID (UserID)</br>
  23282. <br>Application-programmable ID field.</br>
  23283. <br>Reset: Configurable</br>
  23284. </comment>
  23285. </bits>
  23286. </reg>
  23287. <reg name="gsnpsid" protect="r">
  23288. <comment>Synopsys ID Register
  23289. This read-only register contains the release number of the core being used.</comment>
  23290. <bits access="r" name="synopsysid" pos="31:0" rst="1330921482">
  23291. <comment>
  23292. <br>Release number of the controller being used currently.</br>
  23293. </comment>
  23294. </bits>
  23295. </reg>
  23296. <reg name="ghwcfg1" protect="r">
  23297. <comment>User Hardware Configuration 1 Register
  23298. This register contains the logical endpoint direction(s) selected using coreConsultant.</comment>
  23299. <bits access="r" name="epdir" pos="31:0" rst="0">
  23300. <comment>
  23301. <br>This 32-bit field uses two bits per </br>
  23302. <br>endpoint to determine the endpoint direction.</br>
  23303. <br/>
  23304. <br>Endpoint</br>
  23305. <br> - Bits [31:30]: Endpoint 15 direction</br>
  23306. <br> - Bits [29:28]: Endpoint 14 direction</br>
  23307. <br>...</br>
  23308. <br> - Bits [3:2]: Endpoint 1 direction</br>
  23309. <br> - Bits[1:0]: Endpoint 0 direction (always BIDIR)</br>
  23310. <br>Direction</br>
  23311. <br> - 2'b00: BIDIR (IN and OUT) endpoint</br>
  23312. <br> - 2'b01: IN endpoint</br>
  23313. <br> - 2'b10: OUT endpoint</br>
  23314. <br> - 2'b11: Reserved</br>
  23315. <br>Note: This field is configured using the OTG_EP_DIR_1(n) parameter.</br>
  23316. </comment>
  23317. </bits>
  23318. </reg>
  23319. <reg name="ghwcfg2" protect="r">
  23320. <comment>User Hardware Configuration 2 Register
  23321. This register contains configuration options selected using coreConsultant.</comment>
  23322. <bits access="r" name="otgmode" pos="2:0" rst="0">
  23323. <comment>
  23324. <br>Mode of Operation (OtgMode)</br>
  23325. <br> - 3'b000: HNP- and SRP-Capable OTG (Host &amp; Device)</br>
  23326. <br> - 3'b001: SRP-Capable OTG (Host &amp; Device)</br>
  23327. <br> - 3'b010: Non-HNP and Non-SRP Capable OTG (Host and Device)</br>
  23328. <br> - 3'b011: SRP-Capable Device</br>
  23329. <br> - 3'b100: Non-OTG Device</br>
  23330. <br> - 3'b101: SRP-Capable Host</br>
  23331. <br> - 3'b110: Non-OTG Host</br>
  23332. <br> - Others: Reserved</br>
  23333. <br>Note: This field is configured using the OTG_MODE parameter.</br>
  23334. </comment>
  23335. </bits>
  23336. <bits access="r" name="otgarch" pos="4:3" rst="2">
  23337. <comment>
  23338. <br>Architecture (OtgArch)</br>
  23339. <br> - 2'b00: Slave-Only</br>
  23340. <br> - 2'b01: External DMA</br>
  23341. <br> - 2'b10: Internal DMA</br>
  23342. <br> - Others: Reserved</br>
  23343. <br>Note: This field is configured using the OTG_ARCHITECTURE parameter.</br>
  23344. </comment>
  23345. </bits>
  23346. <bits access="r" name="singpnt" pos="5" rst="0">
  23347. <comment>
  23348. <br>Point-to-Point (SingPnt)</br>
  23349. <br> - 1'b0: Multi-point application (hub and split support)</br>
  23350. <br> - 1'b1: Single-point application (no hub and split support)</br>
  23351. <br>Note: This field is configured using the OTG_SINGLE_POINT parameter.</br>
  23352. </comment>
  23353. </bits>
  23354. <bits access="r" name="hsphytype" pos="7:6" rst="1">
  23355. <comment>
  23356. <br>High-Speed PHY Interface Type (HSPhyType)</br>
  23357. <br> - 2'b00: High-Speed interface not supported</br>
  23358. <br> - 2'b01: UTMI+</br>
  23359. <br> - 2'b10: ULPI</br>
  23360. <br> - 2'b11: UTMI+ and ULPI</br>
  23361. <br>Note: This field is configured using the OTG_HSPHY_INTERFACE parameter.</br>
  23362. </comment>
  23363. </bits>
  23364. <bits access="r" name="fsphytype" pos="9:8" rst="1">
  23365. <comment>
  23366. <br>Full-Speed PHY Interface Type (FSPhyType)</br>
  23367. <br> - 2'b00: Full-speed interface not supported</br>
  23368. <br> - 2'b01: Dedicated full-speed interface</br>
  23369. <br> - 2'b10: FS pins shared with UTMI+ pins</br>
  23370. <br> - 2'b11: FS pins shared with ULPI pins</br>
  23371. <br>Note: This field is configured using the OTG_FSPHY_INTERFACE parameter.</br>
  23372. </comment>
  23373. </bits>
  23374. <bits access="r" name="numdeveps" pos="13:10" rst="12">
  23375. <comment>
  23376. <br>Number of Device Endpoints (NumDevEps)</br>
  23377. <br/>
  23378. <br>Indicates the number of device endpoints supported by the core in Device mode.</br>
  23379. <br/>
  23380. <br>The range of this field is 0-15.</br>
  23381. <br/>
  23382. <br>Note: This field is configured using the OTG_NUM_EPS parameter.</br>
  23383. </comment>
  23384. </bits>
  23385. <bits access="r" name="numhstchnl" pos="17:14" rst="15">
  23386. <comment>
  23387. <br>Number of Host Channels (NumHstChnl)</br>
  23388. <br>Indicates the number of host channels supported by the core in Host mode. The range of this field is 0-15: 0 specifies 1 channel, 15 specifies 16 channels.</br>
  23389. <br/>
  23390. <br>Note: This field is configured using the OTG_NUM_HOST_CHAN parameter.</br>
  23391. </comment>
  23392. </bits>
  23393. <bits access="r" name="periosupport" pos="18" rst="1">
  23394. <comment>
  23395. <br>Periodic OUT Channels Supported in Host Mode (PerioSupport)</br>
  23396. <br> - 1'b0: No</br>
  23397. <br> - 1'b1: Yes</br>
  23398. <br>Note: This field is configured using the OTG_EN_PERIO_HOST parameter.</br>
  23399. </comment>
  23400. </bits>
  23401. <bits access="r" name="dynfifosizing" pos="19" rst="1">
  23402. <comment>
  23403. <br>Dynamic FIFO Sizing Enabled (DynFifoSizing)</br>
  23404. <br> - 1'b0: No</br>
  23405. <br> - 1'b1: Yes</br>
  23406. <br>Note: This field is configured using the OTG_DFIFO_DYNAMIC parameter.</br>
  23407. </comment>
  23408. </bits>
  23409. <bits access="r" name="multiprocintrpt" pos="20" rst="0">
  23410. <comment>
  23411. <br>Multi Processor Interrupt Enabled (MultiProcIntrpt)</br>
  23412. <br> - 1'b0: No</br>
  23413. <br> - 1'b1: Yes</br>
  23414. <br>Note: This field is configured using the OTG_MULTI_PROC_INTRPT parameter.</br>
  23415. </comment>
  23416. </bits>
  23417. <bits access="r" name="nptxqdepth" pos="23:22" rst="2">
  23418. <comment>
  23419. <br>Non-periodic Request Queue Depth (NPTxQDepth)</br>
  23420. <br> - 2'b00: 2</br>
  23421. <br> - 2'b01: 4</br>
  23422. <br> - 2'b10: 8</br>
  23423. <br> - Others: Reserved</br>
  23424. <br>Note: This field is configured using the OTG_NPERIO_TX_QUEUE_DEPTH parameter.</br>
  23425. </comment>
  23426. </bits>
  23427. <bits access="r" name="ptxqdepth" pos="25:24" rst="2">
  23428. <comment>
  23429. <br>Host Mode Periodic Request Queue Depth (PTxQDepth)</br>
  23430. <br> - 2'b00: 2</br>
  23431. <br> - 2'b01: 4</br>
  23432. <br> - 2'b10: 8</br>
  23433. <br> - 2'b11:16</br>
  23434. <br>Note: This field is configured using the OTG_PERIO_TX_QUEUE_DEPTH parameter.</br>
  23435. </comment>
  23436. </bits>
  23437. <bits access="r" name="tknqdepth" pos="30:26" rst="8">
  23438. <comment>
  23439. <br>Device Mode IN Token Sequence Learning Queue Depth (TknQDepth)</br>
  23440. <br>Range: 0-30</br>
  23441. <br/>
  23442. <br>Note: This field is configured using the OTG_TOKEN_QUEUE_DEPTH parameter.</br>
  23443. </comment>
  23444. </bits>
  23445. </reg>
  23446. <reg name="ghwcfg3" protect="r">
  23447. <comment>User Hardware Configuration 3 Register</comment>
  23448. <bits access="r" name="xfersizewidth" pos="3:0" rst="8">
  23449. <comment>
  23450. <br>Width of Transfer Size Counters (XferSizeWidth)</br>
  23451. <br> - 4'b0000: 11 bits</br>
  23452. <br> - 4'b0001: 12 bits</br>
  23453. <br>...</br>
  23454. <br> - 4'b1000: 19 bits</br>
  23455. <br> - Others: Reserved</br>
  23456. <br>Note: This field is configured using the OTG_PACKET_COUNT_WIDTH parameter.</br>
  23457. </comment>
  23458. </bits>
  23459. <bits access="r" name="pktsizewidth" pos="6:4" rst="6">
  23460. <comment>
  23461. <br>Width of Packet Size Counters (PktSizeWidth)</br>
  23462. <br> - 3'b000: 4 bits</br>
  23463. <br> - 3'b001: 5 bits</br>
  23464. <br> - 3'b010: 6 bits</br>
  23465. <br> - 3'b011: 7 bits</br>
  23466. <br> - 3'b100: 8 bits</br>
  23467. <br> - 3'b101: 9 bits</br>
  23468. <br> - 3'b110: 10 bits</br>
  23469. <br> - Others: Reserved</br>
  23470. <br>Note: This field is configured using the OTG_PACKET_COUNT_WIDTH parameter.</br>
  23471. </comment>
  23472. </bits>
  23473. <bits access="r" name="otgen" pos="7" rst="1">
  23474. <comment>
  23475. <br>OTG Function Enabled (OtgEn)</br>
  23476. <br/>
  23477. <br>The application uses this bit to indicate the OTG capabilities of the controller .</br>
  23478. <br> - 1'b0: Not OTG capable</br>
  23479. <br> - 1'b1: OTG Capable</br>
  23480. <br>Note: This field is configured using the OTG_MODE parameter.</br>
  23481. </comment>
  23482. </bits>
  23483. <bits access="r" name="i2cintsel" pos="8" rst="0">
  23484. <comment>
  23485. <br>I2C Selection (I2CIntSel)</br>
  23486. <br> - 1'b0: I2C Interface is not available on the controller.</br>
  23487. <br> - 1'b1: I2C Interface is available on the controller.</br>
  23488. <br>Note: This field is configured using the OTG_I2C_INTERFACE parameter.</br>
  23489. </comment>
  23490. </bits>
  23491. <bits access="r" name="vndctlsupt" pos="9" rst="0">
  23492. <comment>
  23493. <br>Vendor Control Interface Support (VndctlSupt)</br>
  23494. <br/>
  23495. <br> - 1'b0: Vendor Control Interface is not available on the core.</br>
  23496. <br> - 1'b1: Vendor Control Interface is available.</br>
  23497. <br>Note: This field is configured using the OTG_VENDOR_CTL_INTERFACE parameter.</br>
  23498. </comment>
  23499. </bits>
  23500. <bits access="r" name="optfeature" pos="10" rst="0">
  23501. <comment>
  23502. <br>Optional Features Removed (OptFeature)</br>
  23503. <br>Indicates whether the User ID register, GPIO interface ports, and SOF toggle and counter ports were removed for gate count optimization by enabling Remove Optional Features.</br>
  23504. <br> - 1'b0: No</br>
  23505. <br> - 1'b1: Yes</br>
  23506. <br>Note: This field is configured using the OTG_RM_OPT_FEATURES parameter.</br>
  23507. </comment>
  23508. </bits>
  23509. <bits access="r" name="rsttype" pos="11" rst="0">
  23510. <comment>
  23511. <br>Reset Style for Clocked always Blocks in RTL (RstType)</br>
  23512. <br> - 1'b0: Asynchronous reset is used in the controller</br>
  23513. <br> - 1'b1: Synchronous reset is used in the controller</br>
  23514. <br>Note: This field is configured using the OTG_SYNC_RESET_TYPE parameter.</br>
  23515. </comment>
  23516. </bits>
  23517. <bits access="r" name="adpsupport" pos="12" rst="1">
  23518. <comment>
  23519. <br>This bit indicates whether ADP logic is present within or external to the controller</br>
  23520. <br> - 0: No ADP logic present with the controller</br>
  23521. <br> - 1: ADP logic is present along with the controller.</br>
  23522. </comment>
  23523. </bits>
  23524. <bits access="r" name="hsicmode" pos="13" rst="0">
  23525. <comment>
  23526. <br>HSIC mode specified for Mode of Operation</br>
  23527. <br>Value Range: 0 - 1</br>
  23528. <br> - 1: HSIC-capable with shared UTMI PHY interface</br>
  23529. <br> - 0: Non-HSIC-capable</br>
  23530. </comment>
  23531. </bits>
  23532. <bits access="r" name="bcsupport" pos="14" rst="0">
  23533. <comment>
  23534. <br>This bit indicates the controller support for Battery Charger.</br>
  23535. <br> - 0 - No Battery Charger Support</br>
  23536. <br> - 1 - Battery Charger support present</br>
  23537. <br/>
  23538. </comment>
  23539. </bits>
  23540. <bits access="r" name="lpmmode" pos="15" rst="0">
  23541. <comment>
  23542. <br>LPM mode specified for Mode of Operation.</br>
  23543. </comment>
  23544. </bits>
  23545. <bits access="r" name="dfifodepth" pos="31:16" rst="3655">
  23546. <comment>
  23547. <br>DFIFO Depth (DfifoDepth - EP_LOC_CNT)</br>
  23548. <br/>
  23549. <br>This value is in terms of 32-bit words.</br>
  23550. <br> - Minimum value is 32</br>
  23551. <br> - Maximum value is 32,768</br>
  23552. <br>Note: This field is configured using the OTG_DFIFO_DEPTH parameter. For more information on EP_LOC_CNT, see the &quot;Endpoint Information Controller (EPINFO_CTL)&quot; section.</br>
  23553. </comment>
  23554. </bits>
  23555. </reg>
  23556. <reg name="ghwcfg4" protect="r">
  23557. <comment>User Hardware Configuration 4 Register
  23558. Note Bit [31] is available only when Scatter/Gather DMA mode is enabled. When Scatter/Gather DMA mode is disabled, this field is reserved.</comment>
  23559. <bits access="r" name="numdevperioeps" pos="3:0" rst="0">
  23560. <comment>
  23561. <br>Number of Device Mode Periodic IN Endpoints (NumDevPerioEps)</br>
  23562. <br/>
  23563. <br>Range: 0-15</br>
  23564. </comment>
  23565. </bits>
  23566. <bits access="r" name="partialpwrdn" pos="4" rst="0">
  23567. <comment>
  23568. <br>Enable Partial Power Down (PartialPwrDn)</br>
  23569. <br> - 1'b0: Partial Power Down Not Enabled</br>
  23570. <br> - 1'b1: Partial Power Down Enabled</br>
  23571. </comment>
  23572. </bits>
  23573. <bits access="r" name="ahbfreq" pos="5" rst="1">
  23574. <comment>
  23575. <br>Minimum AHB Frequency Less Than 60 MHz (AhbFreq)</br>
  23576. <br> - 1'b0: No</br>
  23577. <br> - 1'b1: Yes</br>
  23578. </comment>
  23579. </bits>
  23580. <bits access="r" name="hibernation" pos="6" rst="0">
  23581. <comment>
  23582. <br>Enable Hibernation (Hibernation)</br>
  23583. <br> - 1'b0: Hibernation feature not enabled</br>
  23584. <br> - 1'b1: Hibernation feature enabled</br>
  23585. </comment>
  23586. </bits>
  23587. <bits access="r" name="extendedhibernation" pos="7" rst="0">
  23588. <comment>
  23589. <br>Enable Hibernation</br>
  23590. <br> - 1'b0: Extended Hibernation feature not enabled</br>
  23591. <br> - 1'b1: Extended Hibernation feature enabled</br>
  23592. </comment>
  23593. </bits>
  23594. <bits access="r" name="acgsupt" pos="12" rst="0">
  23595. <comment>
  23596. <br>Active Clock Gating Support</br>
  23597. <br/>
  23598. <br>This bit indicates that the controller supports the Dynamic (Switching) Power Reduction during periods</br>
  23599. <br>when there is no USB and AHB Traffic. </br>
  23600. <br> - 1'b0: Active Clock Gating is not enabled.</br>
  23601. <br> - 1'b1: Active Clock Gating Enabled.</br>
  23602. <br/>
  23603. </comment>
  23604. </bits>
  23605. <bits access="r" name="enhancedlpmsupt" pos="13" rst="1">
  23606. <comment>
  23607. <br>Enhanced LPM Support (EnhancedLPMSupt)</br>
  23608. <br/>
  23609. <br>This bit indicates that the controller supports the following behavior:</br>
  23610. <br>L1 Entry Behavior based on FIFO Status</br>
  23611. <br> - TX FIFO</br>
  23612. <br> - Accept L1 Request even if ISOC OUT TX FIFO is not empty.</br>
  23613. <br> - Reject L1 Request if Non-Periodic TX FIFO is not empty.</br>
  23614. <br> - Ensure application can flush the TX FIFO while the Controller is in L1.</br>
  23615. <br> - RX FIFO</br>
  23616. <br> - Accept L1 Request even if RX FIFO (common to Periodic and Non-Periodic) is not empty.</br>
  23617. <br> - Accept L1 Request but delay SLEEPM assertion until RX SINK Buffer is empty.</br>
  23618. <br/>
  23619. <br>Prevent L1 Entry if a Control Transfer is in progress on any Control Endpoint.</br>
  23620. <br>Ability to Flush TxFIFO even if PHY Clock is gated.</br>
  23621. <br> </br>
  23622. <br/>
  23623. </comment>
  23624. </bits>
  23625. <bits access="r" name="phydatawidth" pos="15:14" rst="0">
  23626. <comment>
  23627. <br>UTMI+ PHY/ULPI-to-Internal UTMI+ Wrapper Data Width</br>
  23628. <br>(PhyDataWidth)&lt;vr&gt;When a ULPI PHY is used, an internal wrapper converts ULPI to</br>
  23629. <br>UTMI+.</br>
  23630. <br> - 2'b00: 8 bits</br>
  23631. <br> - 2'b01: 16 bits</br>
  23632. <br> - 2'b10: 8/16 bits, software selectable</br>
  23633. <br> - Others: Reserved</br>
  23634. </comment>
  23635. </bits>
  23636. <bits access="r" name="numctleps" pos="19:16" rst="0">
  23637. <comment>
  23638. <br>Number of Device Mode Control Endpoints in Addition to</br>
  23639. <br>Endpoint 0 (NumCtlEps)</br>
  23640. <br>Range: 0-15</br>
  23641. </comment>
  23642. </bits>
  23643. <bits access="r" name="iddgfltr" pos="20" rst="1">
  23644. <comment>
  23645. <br>IDDIG Filter Enable (IddgFltr)</br>
  23646. <br> - 1'b0: No filter</br>
  23647. <br> - 1'b1: Filter</br>
  23648. </comment>
  23649. </bits>
  23650. <bits access="r" name="vbusvalidfltr" pos="21" rst="1">
  23651. <comment>
  23652. <br>VBUS Valid Filter Enabled (VBusValidFltr)</br>
  23653. <br> - 1'b0: No filter</br>
  23654. <br> - 1'b1: Filter</br>
  23655. </comment>
  23656. </bits>
  23657. <bits access="r" name="avalidfltr" pos="22" rst="1">
  23658. <comment>
  23659. <br>a_valid Filter Enabled (AValidFltr)</br>
  23660. <br> - 1'b0: No filter</br>
  23661. <br> - 1'b1: Filter</br>
  23662. </comment>
  23663. </bits>
  23664. <bits access="r" name="bvalidfltr" pos="23" rst="1">
  23665. <comment>
  23666. <br>b_valid Filter Enabled (BValidFltr)</br>
  23667. <br> - 1'b0: No filter</br>
  23668. <br> - 1'b1: Filter</br>
  23669. </comment>
  23670. </bits>
  23671. <bits access="r" name="sessendfltr" pos="24" rst="1">
  23672. <comment>
  23673. <br>session_end Filter Enabled (SessEndFltr)</br>
  23674. <br> - 1'b0: No filter</br>
  23675. <br> - 1'b1: Filter</br>
  23676. </comment>
  23677. </bits>
  23678. <bits access="r" name="dedfifomode" pos="25" rst="1">
  23679. <comment>
  23680. <br>Enable Dedicated Transmit FIFO for device IN Endpoints</br>
  23681. <br>(DedFifoMode)</br>
  23682. <br> - 1'b0 : Dedicated Transmit FIFO Operation not enabled.</br>
  23683. <br> - 1'b1 : Dedicated Transmit FIFO Operation enabled.</br>
  23684. </comment>
  23685. </bits>
  23686. <bits access="r" name="ineps" pos="29:26" rst="8">
  23687. <comment>
  23688. <br>Number of Device Mode IN Endpoints Including Control Endpoints (INEps)</br>
  23689. <br> - 0: 1 IN Endpoint</br>
  23690. <br> - 1: 2 IN Endpoints</br>
  23691. <br> ....</br>
  23692. <br> - 15: 16 IN Endpoints</br>
  23693. <br/>
  23694. </comment>
  23695. </bits>
  23696. <bits access="r" name="descdmaenabled" pos="30" rst="1">
  23697. <comment>
  23698. <br>Scatter/Gather DMA configuration</br>
  23699. <br> - 1'b0: Non-Scatter/Gather DMA configuration</br>
  23700. <br> - 1'b1: Scatter/Gather DMA configuration</br>
  23701. </comment>
  23702. </bits>
  23703. <bits access="r" name="descdma" pos="31" rst="1">
  23704. <comment>
  23705. <br>Scatter/Gather DMA configuration</br>
  23706. <br> - 1'b0: Non Dynamic configuration</br>
  23707. <br> - 1'b1: Dynamic configuration</br>
  23708. <br>Note: This field is configured using the OTG_EN_DESC_DMA parameter.</br>
  23709. </comment>
  23710. </bits>
  23711. </reg>
  23712. <hole size="32"/>
  23713. <reg name="gpwrdn" protect="rw">
  23714. <comment>Global Power Down register
  23715. This is the external Hibernation control register. This register is active only during hibernation and ADP. The application can get the status of the wakeup_logic and control it through this register.</comment>
  23716. <bits access="rw" name="pmuintsel" pos="0" rst="0">
  23717. <comment>
  23718. <br>PMU Interrupt Select (PMUIntSel)</br>
  23719. <br/>
  23720. <br>A write to this bit with 1'b1 enables the PMU to generate interrupts to the application. During this state all interrupts from the DWC_otg_core module are blocked to the application.</br>
  23721. <br/>
  23722. <br>Note: This bit must be set to 1'b1 before the core is put into hibernation.</br>
  23723. <br> - 1'b0: Internal DWC_otg_core interrupt is selected</br>
  23724. <br> - 1'b1: External DWC_otg_pmu interrupt is selected</br>
  23725. <br>Note: This bit must not be written to during normal mode of operation.</br>
  23726. </comment>
  23727. </bits>
  23728. <bits access="rw" name="pmuactv" pos="1" rst="0">
  23729. <comment>
  23730. <br>PMU Active (PMUActv)</br>
  23731. <br/>
  23732. <br>This is bit is to enable or disable the PMU logic.</br>
  23733. <br> - 1'b0: Disable PMU module</br>
  23734. <br> - 1'b1: Enable PMU module</br>
  23735. <br>Note: This bit must not be written to during normal mode of operation.</br>
  23736. <br/>
  23737. </comment>
  23738. </bits>
  23739. <bits access="rw" name="pwrdnclmp" pos="3" rst="0">
  23740. <comment>
  23741. <br>Power Down Clamp (PwrDnClmp)</br>
  23742. <br/>
  23743. <br>The application must program this bit to enable or disable the clamps to all the outputs of the core module to prevent the corruption of other active logic.</br>
  23744. <br> - 1'b0: Disable PMU power clamp</br>
  23745. <br> - 1'b1: Enable PMU power clamp</br>
  23746. </comment>
  23747. </bits>
  23748. <bits access="rw" name="pwrdnrst_n" pos="4" rst="1">
  23749. <comment>
  23750. <br>Power Down ResetN (PwrDnRst_n)</br>
  23751. <br/>
  23752. <br>The application must program this bit to reset the core during the Hibernation exit process or during ADP when powering up the core (in case the core was powered off during ADP process).</br>
  23753. <br> - 1'b1: The controller is in normal operation</br>
  23754. <br> - 1'b0: reset the controller</br>
  23755. <br>Note: This bit must not be written to during normal mode of operation.</br>
  23756. </comment>
  23757. </bits>
  23758. <bits access="rw" name="pwrdnswtch" pos="5" rst="0">
  23759. <comment>
  23760. <br>Power Down Switch (PwrDnSwtch)</br>
  23761. <br/>
  23762. <br>This bit indicates to the controller whether the VDD switch is in ON/OFF state.</br>
  23763. <br> - 1'b0: The controller is in ON state</br>
  23764. <br> - 1'b1: The controller is in OFF state</br>
  23765. <br>Note: This bit must not be written to during normal mode of operation.</br>
  23766. </comment>
  23767. </bits>
  23768. <bits access="rw" name="disablevbus" pos="6" rst="0">
  23769. <comment>
  23770. <br>DisableVBUS</br>
  23771. <br/>
  23772. <br>Host Mode:</br>
  23773. <br/>
  23774. <br>The application should program this bit if HPRT0.PrtPwr was programmed to 0 before entering Hibernation. This is to indicate PMU whether session was ended before entering Hibernation.</br>
  23775. <br> - 1'b0: HPRT0.PrtPwr was not programed to 0.</br>
  23776. <br> - 1'b1: HPRT0.PrtPwr was programmed to 0.</br>
  23777. <br>Device Mode:</br>
  23778. <br/>
  23779. <br>The application must program this bit to inform the PMU whether the bvalid valid signal is high (session valid) or low (session end) whenever the core is switched off.</br>
  23780. <br> - 1'b0: bvalid signal is High (Session Valid)</br>
  23781. <br> - 1'b1: bvalid signal is Low (Session End)</br>
  23782. <br>This bit is valid only when GPWRDN.PMUActv is 1.</br>
  23783. <br/>
  23784. </comment>
  23785. </bits>
  23786. <bits access="rw" name="srpdetect" pos="15" rst="0">
  23787. <comment>
  23788. <br>SRPDetect</br>
  23789. <br/>
  23790. <br>This field indicates that SRP has been detected by the PMU. This field generates an interrupt. After detecting SRP during hibernation the application should not restore the core. The application should get into the initialization process.</br>
  23791. <br> - 1'b0: SRP not detected</br>
  23792. <br> - 1'b1: SRP detected</br>
  23793. </comment>
  23794. </bits>
  23795. <bits access="rw" name="srpdetectmsk" pos="16" rst="0">
  23796. <comment>
  23797. <br>SRPDetectMsk</br>
  23798. <br/>
  23799. <br>Mask for SRPDetect Interrupt</br>
  23800. </comment>
  23801. </bits>
  23802. <bits access="rw" name="stschngint" pos="17" rst="0">
  23803. <comment>
  23804. <br>Status Change Interrupt (StsChngInt)</br>
  23805. <br/>
  23806. <br>This field indicates a status change in either the IDDIG or BSessVld signal.</br>
  23807. <br> - 1'b0: No Status change</br>
  23808. <br> - 1'b1: Status change detected</br>
  23809. <br>After receiving this interrupt the application should read the GPWRDN register and interpret the change in IDDIG or BSesVld with respect to the previous value stored by the application.</br>
  23810. <br/>
  23811. <br>Note: When Battery Charger is enabled and the ULPI interface is used, if StsChngInt is received and the application reads GPWRDN register and determines that it is because of a change in the value of IDDIG, then StsChngInt may be generated once again within the next few clock cycles.</br>
  23812. <br/>
  23813. <br>This occurs because of an ambiguity in the implementation of Battery Charger Support over the ULPI interface. After receiving the StsChngInt for the second time the application can once again read the GPWRDN register. However, this time the valueIDDIG (or BSesVld) will not have changed. The application then processes the second interrupt but no further action will be required as a result.</br>
  23814. </comment>
  23815. </bits>
  23816. <bits access="rw" name="stschngintmsk" pos="18" rst="0">
  23817. <comment>
  23818. <br>StsChngIntMsk</br>
  23819. <br/>
  23820. <br>Mask for StsChng Interrupt</br>
  23821. </comment>
  23822. </bits>
  23823. <bits access="r" name="linestate" pos="20:19" rst="0">
  23824. <comment>
  23825. <br>LineState</br>
  23826. <br/>
  23827. <br>This field indicates the current linestate on USB as seen by the PMU module.</br>
  23828. <br> - 2'b00: DM = 0, DP = 0.</br>
  23829. <br> - 2'b01: DM = 0, DP = 1.</br>
  23830. <br> - 2'b10: DM = 1, DP = 0.</br>
  23831. <br> - 2'b11: Not-defined.</br>
  23832. <br>This bit is valid only when GPWRDN.PMUActv is 1.</br>
  23833. </comment>
  23834. </bits>
  23835. <bits access="r" name="iddig" pos="21" rst="0">
  23836. <comment>
  23837. <br>This bit indicates the status of the signal IDDIG. The application must read this bit after receiving GPWRDN.StsChngInt and decode based on the previous value stored by the application.</br>
  23838. <br/>
  23839. <br>Indicates the current mode.</br>
  23840. <br> - 1'b0: Host mode</br>
  23841. <br> - 1'b1: Device mode</br>
  23842. <br>This bit is valid only when GPWRDN.PMUActv is 1.</br>
  23843. </comment>
  23844. </bits>
  23845. <bits access="r" name="bsessvld" pos="22" rst="0">
  23846. <comment>
  23847. <br>B Session Valid (BSessVld)</br>
  23848. <br/>
  23849. <br>This field reflects the B session valid status signal from the PHY.</br>
  23850. <br> - 1'b0: B-Valid is 0.</br>
  23851. <br> - 1'b1: B-Valid is 1.</br>
  23852. <br>This bit is valid only when GPWRDN.PMUActv is 1.</br>
  23853. </comment>
  23854. </bits>
  23855. <bits access="rw" name="adpint" pos="23" rst="0">
  23856. <comment>
  23857. <br>ADP Interrupt (ADPInt)</br>
  23858. <br/>
  23859. <br>This bit is set whenever there is a ADP event.</br>
  23860. </comment>
  23861. </bits>
  23862. </reg>
  23863. <reg name="gdfifocfg" protect="rw">
  23864. <comment>Global DFIFO Configuration Register</comment>
  23865. <bits access="rw" name="gdfifocfg" pos="15:0" rst="3759">
  23866. <comment>
  23867. <br>GDFIFOCfg</br>
  23868. <br/>
  23869. <br>This field is for dynamic programming of the DFIFO Size. This value takes effect only when the application programs a non zero value to this register. The value programmed must conform to the guidelines described in 'FIFO RAM Allocation'. The core does not have any corrective logic if the FIFO sizes are programmed incorrectly.</br>
  23870. </comment>
  23871. </bits>
  23872. <bits access="rw" name="epinfobaseaddr" pos="31:16" rst="3655">
  23873. <comment>
  23874. <br>EPInfoBaseAddr </br>
  23875. <br/>
  23876. <br>This field provides the start address of the EP info controller.</br>
  23877. <br/>
  23878. </comment>
  23879. </bits>
  23880. </reg>
  23881. <reg name="gadpctl" protect="rw">
  23882. <comment>ADP Timer, Control and Status Register
  23883. This register is maintained in the PMU module. These register values are used for deciding the timing values by the ADP controller. This register is available only if the ADP controller logic is present within the HS OTG Controller. If the ADP logic is external to the HS OTG Controller, this register is reserved and the register contents are zero. For more information about ADP controller options, see &quot;ADP Programming Flow when ADP Controller Logic is Supplied with the Core &quot; in the Programming Guide.</comment>
  23884. <bits access="rw" name="prbdschg" pos="1:0" rst="0">
  23885. <comment>
  23886. <br>Probe Discharge (PrbDschg)</br>
  23887. <br/>
  23888. <br>These bits set the times for TADP_DSCHG. These bits are defined as follows:</br>
  23889. <br> - 2'b00: 4 msec (Scaledown 2 32Khz clock cycles)</br>
  23890. <br> - 2'b01: 8 msec (Scaledown 4 32Khz clock cycles)</br>
  23891. <br> - 2'b10: 16 msec (Scaledown 8 32Khz clock cycles)</br>
  23892. <br> - 2'b11: 32 msec (Scaledown 16 32Khz clock cycles)</br>
  23893. </comment>
  23894. </bits>
  23895. <bits access="rw" name="prbdelta" pos="3:2" rst="0">
  23896. <comment>
  23897. <br>Probe Delta (PrbDelta)</br>
  23898. <br/>
  23899. <br>These bits set the resolution for RTIM value. The bits are defined in units of 32 kHz clock cycles as follows:</br>
  23900. <br> - 2'b00: 1 cycles</br>
  23901. <br> - 2'b01: 2 cycles</br>
  23902. <br> - 2'b10: 3 cycles</br>
  23903. <br> - 2'b11: 4 cycles</br>
  23904. <br>For example, if this value is chosen to 2'b01, it means that RTIM increments for every three 32Khz clock cycles.</br>
  23905. </comment>
  23906. </bits>
  23907. <bits access="rw" name="prbper" pos="5:4" rst="0">
  23908. <comment>
  23909. <br>Probe Period (PrbPer)</br>
  23910. <br/>
  23911. <br>These bits sets the TadpPrd as follows:</br>
  23912. <br> - 2'b00 - 0.625 to 0.925 sec (typical 0.775 sec)</br>
  23913. <br> - 2'b01 - 1.25 to 1.85 sec (typical 1.55 sec)</br>
  23914. <br> - 2'b10 - 1.9 to 2.6 sec (typical 2.275 sec)</br>
  23915. <br> - 2'b11 - Reserved</br>
  23916. <br>(PrbPer is also scaledown</br>
  23917. <br> - prb_per== 2'b00 =&gt; 400 ADP clocks</br>
  23918. <br> - prb_per== 2'b01 =&gt; 600 ADP clocks</br>
  23919. <br> - prb_per== 2'b10 =&gt; 800 ADP clocks</br>
  23920. <br> - prb_per==2'b11 =&gt; 1000 ADP clocks)</br>
  23921. </comment>
  23922. </bits>
  23923. <bits access="r" name="rtim" pos="16:6" rst="0">
  23924. <comment>
  23925. <br>RAMP TIME (RTIM)</br>
  23926. <br/>
  23927. <br>These bits capture the latest time it took for VBUS to ramp from VADP_SINK to VADP_PRB. The bits are defined in units of 32 kHz clock cycles as follows:</br>
  23928. <br> - 0x000 - 1 cycles</br>
  23929. <br> - 0x001 - 2 cycles</br>
  23930. <br> - 0x002 - 3 cycles, and so on till</br>
  23931. <br> - 0x7FF - 2048 cycles</br>
  23932. <br>A time of 1024 cycles at 32 kHz corresponds to a time of 32 msec.</br>
  23933. <br>(Note for scaledown ramp_timeout =</br>
  23934. <br> - prb_delta == 2'b00 =&gt; 200 cycles.</br>
  23935. <br> - prb_delta == 2'b01 =&gt; 100 cycles.</br>
  23936. <br> - prb_delta == 2'b01 =&gt; 50 cycles.</br>
  23937. <br> - prb_delta == 2'b01 =&gt; 25 cycles.)</br>
  23938. </comment>
  23939. </bits>
  23940. <bits access="rw" name="enaprb" pos="17" rst="0">
  23941. <comment>
  23942. <br>Enable Probe (EnaPrb)</br>
  23943. <br/>
  23944. <br>When programmed to 1'b1, the core performs a probe operation. This bit is valid only if OTG_Ver = 1'b1 (GOTGCTL[20]).</br>
  23945. </comment>
  23946. </bits>
  23947. <bits access="rw" name="enasns" pos="18" rst="0">
  23948. <comment>
  23949. <br>Enable Sense (EnaSns)</br>
  23950. <br/>
  23951. <br>When programmed to 1'b1, the core performs a sense operation. This bit is valid only if OTG_Ver = 1'b1 (GOTGCTL[20]).</br>
  23952. <br/>
  23953. </comment>
  23954. </bits>
  23955. <bits access="rw" name="adpres" pos="19" rst="0">
  23956. <comment>
  23957. <br>ADP Reset (ADPRes)</br>
  23958. <br/>
  23959. <br>When set, ADP controller is reset. This bit is auto-cleared after the reset procedure is complete in ADP controller. This bit is valid only if OTG_Ver = 1'b1 (GOTGCTL[20]).</br>
  23960. </comment>
  23961. </bits>
  23962. <bits access="rw" name="adpen" pos="20" rst="0">
  23963. <comment>
  23964. <br>ADP Enable (ADPEn)</br>
  23965. <br/>
  23966. <br>When set, the core performs either ADP probing or sensing based on EnaPrb or EnaSns.</br>
  23967. <br>This bit is valid only if OTG_Ver = 1'b1 (GOTGCTL[20]).</br>
  23968. </comment>
  23969. </bits>
  23970. <bits access="rw" name="adpprbint" pos="21" rst="0">
  23971. <comment>
  23972. <br>ADP Probe Interrupt (AdpPrbInt)</br>
  23973. <br/>
  23974. <br>When this bit is set, it means that the VBUS voltage is greater than VADP_PRB or VadpPrb is reached.This bit is valid only if OTGVer = 1'b1 (GOTGCTL[20]).</br>
  23975. <br/>
  23976. </comment>
  23977. </bits>
  23978. <bits access="rw" name="adpsnsint" pos="22" rst="0">
  23979. <comment>
  23980. <br>ADP Sense Interrupt (AdpSnsInt)</br>
  23981. <br/>
  23982. <br>When this bit is set, it means that the VBUS voltage is greater than VadpSns value or VadpSns is reached.This bit is valid only if OTGVer = 1'b1 (GOTGCTL[20]).</br>
  23983. <br/>
  23984. </comment>
  23985. </bits>
  23986. <bits access="rw" name="adptoutint" pos="23" rst="0">
  23987. <comment>
  23988. <br>ADP Timeout Interrupt (AdpToutInt)</br>
  23989. <br/>
  23990. <br>This bit is relevant only for an ADP probe. When this bit is set, it means that the ramp time has completed (GADPCTL.RTIM has reached its terminal value of 0x7FF). This is a debug feature that allows software to read the ramp time after each cycle. This bit is valid only if OTGVer = 1'b1.</br>
  23991. </comment>
  23992. </bits>
  23993. <bits access="rw" name="adpprbintmsk" pos="24" rst="0">
  23994. <comment>
  23995. <br>ADP Probe Interrupt (AdpPrbInt)</br>
  23996. <br/>
  23997. <br>This bit is relevant only for an ADP probe. When this bit is set, it means that the ramp time has completed (GADPCTL.RTIM has reached its terminal value of 0x7FF). This is a debug feature that allows software to read the ramp time after each cycle. This bit is valid only if OTGVer = 1'b1.</br>
  23998. <br/>
  23999. </comment>
  24000. </bits>
  24001. <bits access="rw" name="adpsnsintmsk" pos="25" rst="0">
  24002. <comment>
  24003. <br>ADP Sense Interrupt Mask (AdpSnsIntMsk)</br>
  24004. <br/>
  24005. <br>When this bit is set, it unmasks the interrupt due to AdpSnsInt. This bit is valid only if OTG_Ver = 1'b1(GOTGCTL[20]).</br>
  24006. <br/>
  24007. </comment>
  24008. </bits>
  24009. <bits access="rw" name="adptoutmsk" pos="26" rst="0">
  24010. <comment>
  24011. <br>ADP Timeout Interrupt Mask (AdpToutMsk)</br>
  24012. <br/>
  24013. <br>When this bit is set, it unmasks the interrupt because of AdpTmouInt. This bit is valid only if OTG_Ver = 1'b1(GOTGCTL[20]).</br>
  24014. </comment>
  24015. </bits>
  24016. <bits access="rw" name="ar" pos="28:27" rst="0">
  24017. <comment>
  24018. <br>Access Request (AR)</br>
  24019. <br> - 2'b00 Read/Write Valid (updated by the core)</br>
  24020. <br> - 2'b01 Read</br>
  24021. <br> - 2'b10 Write</br>
  24022. <br> - 2'b11 - Reserved</br>
  24023. </comment>
  24024. </bits>
  24025. </reg>
  24026. <hole size="1248"/>
  24027. <reg name="hptxfsiz" protect="rw">
  24028. <comment>Host Periodic Transmit FIFO Size Register
  24029. This register holds the size and the memory start address of the Periodic TxFIFO.
  24030. Note: Read the reset value of this register only after the following conditions:
  24031. - If IDDIG_FILTER is disabled, read only after PHY clock is stable.
  24032. - If IDDIG_FILTER is enabled, read only after the filter timer expires.</comment>
  24033. <bits access="rw" name="ptxfstaddr" pos="12:0" rst="7518">
  24034. <comment>
  24035. <br>Host Periodic TxFIFO Start Address (PTxFStAddr)</br>
  24036. <br/>
  24037. <br>The power-on reset value of this register is the sum of the Largest Rx Data FIFO Depth and Largest Non-periodic Tx Data FIFO Depth.These parameters are:</br>
  24038. <br/>
  24039. <br> In shared FIFO operation:</br>
  24040. <br> - OTG_RX_DFIFO_DEPTH + OTG_TX_NPERIO_DFIFO_DEPTH </br>
  24041. <br/>
  24042. <br> In dedicated FIFO mode:</br>
  24043. <br> - OTG_RX_DFIFO_DEPTH + OTG_TX_HNPERIO_DFIFO_DEPTH If Enable Dynamic FIFO Sizing? was deselected in coreConsultant (parameter OTG_DFIFO_DYNAMIC = 0), these flops are optimized, and reads return the power-on value. If Enable Dynamic FIFO Sizing? was selected in coreConsultant (parameter OTG_DFIFO_DYNAMIC = 1), you can write a new value in this field.</br>
  24044. <br/>
  24045. <br>Programmed values must not exceed the power-on value set in coreConsultant.</br>
  24046. </comment>
  24047. </bits>
  24048. <bits access="rw" name="ptxfsize" pos="27:16" rst="3759">
  24049. <comment>
  24050. <br>Host Periodic TxFIFO Depth (PTxFSize)</br>
  24051. <br/>
  24052. <br>This value is in terms of 32-bit words.</br>
  24053. <br> - Minimum value is 16</br>
  24054. <br> - Maximum value is 32,768</br>
  24055. <br>The power-on reset value of this register is specified as the Largest Host Mode Periodic Tx Data FIFO Depth. </br>
  24056. <br> - If Enable Dynamic FIFO Sizing? was deselected in coreConsultant (parameter OTG_DFIFO_DYNAMIC = 0), these flops are optimized, and reads return the power-on value.</br>
  24057. <br> - If Enable Dynamic FIFO Sizing? was selected in coreConsultant (parameter OTG_DFIFO_DYNAMIC = 1), you can write a new value in this field. </br>
  24058. <br>Programmed values must not exceed the power-on value set in coreConsultant.</br>
  24059. </comment>
  24060. </bits>
  24061. </reg>
  24062. <reg name="dieptxf1" protect="rw">
  24063. <comment>Device IN Endpoint Transmit FIFO Size Register $i
  24064. This register is valid only in dedicated FIFO mode (OTG_EN_DED_TX_FIFO=1). It holds the size and memory start address of IN endpoint TxFIFOs implemented in Device mode. Each FIFO holds the data for one IN endpoint. This register is repeated for instantiated IN endpoint FIFOs 1 to 15. For IN endpoint FIFO 0, use GNPTXFSIZ register for programming the size and memory start address.</comment>
  24065. <bits access="rw" name="inepntxfstaddr" pos="11:0" rst="3791">
  24066. <comment>
  24067. <br>IN Endpoint FIFOn Transmit RAM Start Address (INEPnTxFStAddr)</br>
  24068. <br/>
  24069. <br>This field contains the memory start address for IN endpoint Transmit FIFOn (0&lt;n&lt; = 15).</br>
  24070. <br>The power-on reset value of this register is specified as the Largest Rx Data FIFO Depth. The power-on reset value of this register is calculated according to the following formula: OTG_RX_DFIFO_DEPTH + SUM of OTG_TX_DINEP_DFIFO_DEPTH_'i' (where x = 0 to n 1) If at POR the calculated value (C) exceeds 65535, then the Reset value becomes Reset Value(A) = (C 65536). Example: If start address of IN endpoint FIFO 1 is OTG_RX_DFIFO_DEPTH + OTG_TX_DINEP_DFIFO_DEPTH_ 0 and start address of IN endpoint FIFO 2 is OTG_RX_DFIFO_DEPTH + OTG_TX_DINEP_DFIFO_DEPTH_ 0 + OTG_TX_DINEP_DFIFO_DEPTH_ 1.</br>
  24071. <br> - If Enable Dynamic FIFO Sizing is deselected in coreConsultant (OTG_DFIFO_DYNAMIC = 0), this field is read-only and read value is the power-on reset value.</br>
  24072. <br> - If Enable Dynamic FIFO Sizing is selected in coreConsultant (OTG_DFIFO_DYNAMIC = 1), and you have calculated or programmed a new value for RxFIFO depth or TX FIFO depths, you can program their values according to the above formula. Programmed values must not exceed the power-on value set in coreConsultant.</br>
  24073. </comment>
  24074. </bits>
  24075. <bits access="rw" name="inepntxfdep" pos="25:16" rst="768">
  24076. <comment>
  24077. <br>IN Endpoint TxFIFO Depth (INEPnTxFDep)</br>
  24078. <br/>
  24079. <br>This value is in terms of 32-bit words.</br>
  24080. <br> - Minimum value is 16</br>
  24081. <br> - Maximum value is 32,768</br>
  24082. <br>The power-on reset value of this register is specified as the Largest IN Endpoint FIFO number Depth (parameter OTG_TX_DINEP_DFIFO_DEPTH_n) during coreConsultant configuration (0 &lt; i &lt;= 15).</br>
  24083. <br> - If Enable Dynamic FIFO Sizing? was deselected in coreConsultant (parameter OTG_DFIFO_DYNAMIC = 0), these flops are optimized, and reads return the power-on value.</br>
  24084. <br> - If Enable Dynamic FIFO Sizing? was selected in coreConsultant (parameter OTG_DFIFO_DYNAMIC = 1), you can write a new value in this field. .</br>
  24085. <br>Programmed values must not exceed the power-on value</br>
  24086. </comment>
  24087. </bits>
  24088. </reg>
  24089. <reg name="dieptxf2" protect="rw">
  24090. <comment>Device IN Endpoint Transmit FIFO Size Register $i
  24091. This register is valid only in dedicated FIFO mode (OTG_EN_DED_TX_FIFO=1). It holds the size and memory start address of IN endpoint TxFIFOs implemented in Device mode. Each FIFO holds the data for one IN endpoint. This register is repeated for instantiated IN endpoint FIFOs 1 to 15. For IN endpoint FIFO 0, use GNPTXFSIZ register for programming the size and memory start address.</comment>
  24092. <bits access="rw" name="inepntxfstaddr" pos="12:0" rst="4559">
  24093. <comment>
  24094. <br>IN Endpoint FIFOn Transmit RAM Start Address (INEPnTxFStAddr)</br>
  24095. <br/>
  24096. <br>This field contains the memory start address for IN endpoint Transmit FIFOn (0&lt;n&lt; = 15).</br>
  24097. <br>The power-on reset value of this register is specified as the Largest Rx Data FIFO Depth. The power-on reset value of this register is calculated according to the following formula: OTG_RX_DFIFO_DEPTH + SUM of OTG_TX_DINEP_DFIFO_DEPTH_'i' (where x = 0 to n 1) If at POR the calculated value (C) exceeds 65535, then the Reset value becomes Reset Value(A) = (C 65536). Example: If start address of IN endpoint FIFO 1 is OTG_RX_DFIFO_DEPTH + OTG_TX_DINEP_DFIFO_DEPTH_ 0 and start address of IN endpoint FIFO 2 is OTG_RX_DFIFO_DEPTH + OTG_TX_DINEP_DFIFO_DEPTH_ 0 + OTG_TX_DINEP_DFIFO_DEPTH_ 1.</br>
  24098. <br> - If Enable Dynamic FIFO Sizing is deselected in coreConsultant (OTG_DFIFO_DYNAMIC = 0), this field is read-only and read value is the power-on reset value.</br>
  24099. <br> - If Enable Dynamic FIFO Sizing is selected in coreConsultant (OTG_DFIFO_DYNAMIC = 1), and you have calculated or programmed a new value for RxFIFO depth or TX FIFO depths, you can program their values according to the above formula. Programmed values must not exceed the power-on value set in coreConsultant.</br>
  24100. </comment>
  24101. </bits>
  24102. <bits access="rw" name="inepntxfdep" pos="25:16" rst="768">
  24103. <comment>
  24104. <br>IN Endpoint TxFIFO Depth (INEPnTxFDep)</br>
  24105. <br/>
  24106. <br>This value is in terms of 32-bit words.</br>
  24107. <br> - Minimum value is 16</br>
  24108. <br> - Maximum value is 32,768</br>
  24109. <br>The power-on reset value of this register is specified as the Largest IN Endpoint FIFO number Depth (parameter OTG_TX_DINEP_DFIFO_DEPTH_n) during coreConsultant configuration (0 &lt; i &lt;= 15).</br>
  24110. <br> - If Enable Dynamic FIFO Sizing? was deselected in coreConsultant (parameter OTG_DFIFO_DYNAMIC = 0), these flops are optimized, and reads return the power-on value.</br>
  24111. <br> - If Enable Dynamic FIFO Sizing? was selected in coreConsultant (parameter OTG_DFIFO_DYNAMIC = 1), you can write a new value in this field. .</br>
  24112. <br>Programmed values must not exceed the power-on value</br>
  24113. </comment>
  24114. </bits>
  24115. </reg>
  24116. <reg name="dieptxf3" protect="rw">
  24117. <comment>Device IN Endpoint Transmit FIFO Size Register $i
  24118. This register is valid only in dedicated FIFO mode (OTG_EN_DED_TX_FIFO=1). It holds the size and memory start address of IN endpoint TxFIFOs implemented in Device mode. Each FIFO holds the data for one IN endpoint. This register is repeated for instantiated IN endpoint FIFOs 1 to 15. For IN endpoint FIFO 0, use GNPTXFSIZ register for programming the size and memory start address.</comment>
  24119. <bits access="rw" name="inepntxfstaddr" pos="12:0" rst="5327">
  24120. <comment>
  24121. <br>IN Endpoint FIFOn Transmit RAM Start Address (INEPnTxFStAddr)</br>
  24122. <br/>
  24123. <br>This field contains the memory start address for IN endpoint Transmit FIFOn (0&lt;n&lt; = 15).</br>
  24124. <br>The power-on reset value of this register is specified as the Largest Rx Data FIFO Depth. The power-on reset value of this register is calculated according to the following formula: OTG_RX_DFIFO_DEPTH + SUM of OTG_TX_DINEP_DFIFO_DEPTH_'i' (where x = 0 to n 1) If at POR the calculated value (C) exceeds 65535, then the Reset value becomes Reset Value(A) = (C 65536). Example: If start address of IN endpoint FIFO 1 is OTG_RX_DFIFO_DEPTH + OTG_TX_DINEP_DFIFO_DEPTH_ 0 and start address of IN endpoint FIFO 2 is OTG_RX_DFIFO_DEPTH + OTG_TX_DINEP_DFIFO_DEPTH_ 0 + OTG_TX_DINEP_DFIFO_DEPTH_ 1.</br>
  24125. <br> - If Enable Dynamic FIFO Sizing is deselected in coreConsultant (OTG_DFIFO_DYNAMIC = 0), this field is read-only and read value is the power-on reset value.</br>
  24126. <br> - If Enable Dynamic FIFO Sizing is selected in coreConsultant (OTG_DFIFO_DYNAMIC = 1), and you have calculated or programmed a new value for RxFIFO depth or TX FIFO depths, you can program their values according to the above formula. Programmed values must not exceed the power-on value set in coreConsultant.</br>
  24127. </comment>
  24128. </bits>
  24129. <bits access="rw" name="inepntxfdep" pos="24:16" rst="256">
  24130. <comment>
  24131. <br>IN Endpoint TxFIFO Depth (INEPnTxFDep)</br>
  24132. <br/>
  24133. <br>This value is in terms of 32-bit words.</br>
  24134. <br> - Minimum value is 16</br>
  24135. <br> - Maximum value is 32,768</br>
  24136. <br>The power-on reset value of this register is specified as the Largest IN Endpoint FIFO number Depth (parameter OTG_TX_DINEP_DFIFO_DEPTH_n) during coreConsultant configuration (0 &lt; i &lt;= 15).</br>
  24137. <br> - If Enable Dynamic FIFO Sizing? was deselected in coreConsultant (parameter OTG_DFIFO_DYNAMIC = 0), these flops are optimized, and reads return the power-on value.</br>
  24138. <br> - If Enable Dynamic FIFO Sizing? was selected in coreConsultant (parameter OTG_DFIFO_DYNAMIC = 1), you can write a new value in this field. .</br>
  24139. <br>Programmed values must not exceed the power-on value</br>
  24140. </comment>
  24141. </bits>
  24142. </reg>
  24143. <reg name="dieptxf4" protect="rw">
  24144. <comment>Device IN Endpoint Transmit FIFO Size Register $i
  24145. This register is valid only in dedicated FIFO mode (OTG_EN_DED_TX_FIFO=1). It holds the size and memory start address of IN endpoint TxFIFOs implemented in Device mode. Each FIFO holds the data for one IN endpoint. This register is repeated for instantiated IN endpoint FIFOs 1 to 15. For IN endpoint FIFO 0, use GNPTXFSIZ register for programming the size and memory start address.</comment>
  24146. <bits access="rw" name="inepntxfstaddr" pos="12:0" rst="5583">
  24147. <comment>
  24148. <br>IN Endpoint FIFOn Transmit RAM Start Address (INEPnTxFStAddr)</br>
  24149. <br/>
  24150. <br>This field contains the memory start address for IN endpoint Transmit FIFOn (0&lt;n&lt; = 15).</br>
  24151. <br>The power-on reset value of this register is specified as the Largest Rx Data FIFO Depth. The power-on reset value of this register is calculated according to the following formula: OTG_RX_DFIFO_DEPTH + SUM of OTG_TX_DINEP_DFIFO_DEPTH_'i' (where x = 0 to n 1) If at POR the calculated value (C) exceeds 65535, then the Reset value becomes Reset Value(A) = (C 65536). Example: If start address of IN endpoint FIFO 1 is OTG_RX_DFIFO_DEPTH + OTG_TX_DINEP_DFIFO_DEPTH_ 0 and start address of IN endpoint FIFO 2 is OTG_RX_DFIFO_DEPTH + OTG_TX_DINEP_DFIFO_DEPTH_ 0 + OTG_TX_DINEP_DFIFO_DEPTH_ 1.</br>
  24152. <br> - If Enable Dynamic FIFO Sizing is deselected in coreConsultant (OTG_DFIFO_DYNAMIC = 0), this field is read-only and read value is the power-on reset value.</br>
  24153. <br> - If Enable Dynamic FIFO Sizing is selected in coreConsultant (OTG_DFIFO_DYNAMIC = 1), and you have calculated or programmed a new value for RxFIFO depth or TX FIFO depths, you can program their values according to the above formula. Programmed values must not exceed the power-on value set in coreConsultant.</br>
  24154. </comment>
  24155. </bits>
  24156. <bits access="rw" name="inepntxfdep" pos="24:16" rst="256">
  24157. <comment>
  24158. <br>IN Endpoint TxFIFO Depth (INEPnTxFDep)</br>
  24159. <br/>
  24160. <br>This value is in terms of 32-bit words.</br>
  24161. <br> - Minimum value is 16</br>
  24162. <br> - Maximum value is 32,768</br>
  24163. <br>The power-on reset value of this register is specified as the Largest IN Endpoint FIFO number Depth (parameter OTG_TX_DINEP_DFIFO_DEPTH_n) during coreConsultant configuration (0 &lt; i &lt;= 15).</br>
  24164. <br> - If Enable Dynamic FIFO Sizing? was deselected in coreConsultant (parameter OTG_DFIFO_DYNAMIC = 0), these flops are optimized, and reads return the power-on value.</br>
  24165. <br> - If Enable Dynamic FIFO Sizing? was selected in coreConsultant (parameter OTG_DFIFO_DYNAMIC = 1), you can write a new value in this field. .</br>
  24166. <br>Programmed values must not exceed the power-on value</br>
  24167. </comment>
  24168. </bits>
  24169. </reg>
  24170. <reg name="dieptxf5" protect="rw">
  24171. <comment>Device IN Endpoint Transmit FIFO Size Register $i
  24172. This register is valid only in dedicated FIFO mode (OTG_EN_DED_TX_FIFO=1). It holds the size and memory start address of IN endpoint TxFIFOs implemented in Device mode. Each FIFO holds the data for one IN endpoint. This register is repeated for instantiated IN endpoint FIFOs 1 to 15. For IN endpoint FIFO 0, use GNPTXFSIZ register for programming the size and memory start address.</comment>
  24173. <bits access="rw" name="inepntxfstaddr" pos="12:0" rst="5839">
  24174. <comment>
  24175. <br>IN Endpoint FIFOn Transmit RAM Start Address (INEPnTxFStAddr)</br>
  24176. <br/>
  24177. <br>This field contains the memory start address for IN endpoint Transmit FIFOn (0&lt;n&lt; = 15).</br>
  24178. <br>The power-on reset value of this register is specified as the Largest Rx Data FIFO Depth. The power-on reset value of this register is calculated according to the following formula: OTG_RX_DFIFO_DEPTH + SUM of OTG_TX_DINEP_DFIFO_DEPTH_'i' (where x = 0 to n 1) If at POR the calculated value (C) exceeds 65535, then the Reset value becomes Reset Value(A) = (C 65536). Example: If start address of IN endpoint FIFO 1 is OTG_RX_DFIFO_DEPTH + OTG_TX_DINEP_DFIFO_DEPTH_ 0 and start address of IN endpoint FIFO 2 is OTG_RX_DFIFO_DEPTH + OTG_TX_DINEP_DFIFO_DEPTH_ 0 + OTG_TX_DINEP_DFIFO_DEPTH_ 1.</br>
  24179. <br> - If Enable Dynamic FIFO Sizing is deselected in coreConsultant (OTG_DFIFO_DYNAMIC = 0), this field is read-only and read value is the power-on reset value.</br>
  24180. <br> - If Enable Dynamic FIFO Sizing is selected in coreConsultant (OTG_DFIFO_DYNAMIC = 1), and you have calculated or programmed a new value for RxFIFO depth or TX FIFO depths, you can program their values according to the above formula. Programmed values must not exceed the power-on value set in coreConsultant.</br>
  24181. </comment>
  24182. </bits>
  24183. <bits access="rw" name="inepntxfdep" pos="24:16" rst="256">
  24184. <comment>
  24185. <br>IN Endpoint TxFIFO Depth (INEPnTxFDep)</br>
  24186. <br/>
  24187. <br>This value is in terms of 32-bit words.</br>
  24188. <br> - Minimum value is 16</br>
  24189. <br> - Maximum value is 32,768</br>
  24190. <br>The power-on reset value of this register is specified as the Largest IN Endpoint FIFO number Depth (parameter OTG_TX_DINEP_DFIFO_DEPTH_n) during coreConsultant configuration (0 &lt; i &lt;= 15).</br>
  24191. <br> - If Enable Dynamic FIFO Sizing? was deselected in coreConsultant (parameter OTG_DFIFO_DYNAMIC = 0), these flops are optimized, and reads return the power-on value.</br>
  24192. <br> - If Enable Dynamic FIFO Sizing? was selected in coreConsultant (parameter OTG_DFIFO_DYNAMIC = 1), you can write a new value in this field. .</br>
  24193. <br>Programmed values must not exceed the power-on value</br>
  24194. </comment>
  24195. </bits>
  24196. </reg>
  24197. <reg name="dieptxf6" protect="rw">
  24198. <comment>Device IN Endpoint Transmit FIFO Size Register $i
  24199. This register is valid only in dedicated FIFO mode (OTG_EN_DED_TX_FIFO=1). It holds the size and memory start address of IN endpoint TxFIFOs implemented in Device mode. Each FIFO holds the data for one IN endpoint. This register is repeated for instantiated IN endpoint FIFOs 1 to 15. For IN endpoint FIFO 0, use GNPTXFSIZ register for programming the size and memory start address.</comment>
  24200. <bits access="rw" name="inepntxfstaddr" pos="12:0" rst="6095">
  24201. <comment>
  24202. <br>IN Endpoint FIFOn Transmit RAM Start Address (INEPnTxFStAddr)</br>
  24203. <br/>
  24204. <br>This field contains the memory start address for IN endpoint Transmit FIFOn (0&lt;n&lt; = 15).</br>
  24205. <br>The power-on reset value of this register is specified as the Largest Rx Data FIFO Depth. The power-on reset value of this register is calculated according to the following formula: OTG_RX_DFIFO_DEPTH + SUM of OTG_TX_DINEP_DFIFO_DEPTH_'i' (where x = 0 to n 1) If at POR the calculated value (C) exceeds 65535, then the Reset value becomes Reset Value(A) = (C 65536). Example: If start address of IN endpoint FIFO 1 is OTG_RX_DFIFO_DEPTH + OTG_TX_DINEP_DFIFO_DEPTH_ 0 and start address of IN endpoint FIFO 2 is OTG_RX_DFIFO_DEPTH + OTG_TX_DINEP_DFIFO_DEPTH_ 0 + OTG_TX_DINEP_DFIFO_DEPTH_ 1.</br>
  24206. <br> - If Enable Dynamic FIFO Sizing is deselected in coreConsultant (OTG_DFIFO_DYNAMIC = 0), this field is read-only and read value is the power-on reset value.</br>
  24207. <br> - If Enable Dynamic FIFO Sizing is selected in coreConsultant (OTG_DFIFO_DYNAMIC = 1), and you have calculated or programmed a new value for RxFIFO depth or TX FIFO depths, you can program their values according to the above formula. Programmed values must not exceed the power-on value set in coreConsultant.</br>
  24208. </comment>
  24209. </bits>
  24210. <bits access="rw" name="inepntxfdep" pos="24:16" rst="256">
  24211. <comment>
  24212. <br>IN Endpoint TxFIFO Depth (INEPnTxFDep)</br>
  24213. <br/>
  24214. <br>This value is in terms of 32-bit words.</br>
  24215. <br> - Minimum value is 16</br>
  24216. <br> - Maximum value is 32,768</br>
  24217. <br>The power-on reset value of this register is specified as the Largest IN Endpoint FIFO number Depth (parameter OTG_TX_DINEP_DFIFO_DEPTH_n) during coreConsultant configuration (0 &lt; i &lt;= 15).</br>
  24218. <br> - If Enable Dynamic FIFO Sizing? was deselected in coreConsultant (parameter OTG_DFIFO_DYNAMIC = 0), these flops are optimized, and reads return the power-on value.</br>
  24219. <br> - If Enable Dynamic FIFO Sizing? was selected in coreConsultant (parameter OTG_DFIFO_DYNAMIC = 1), you can write a new value in this field. .</br>
  24220. <br>Programmed values must not exceed the power-on value</br>
  24221. </comment>
  24222. </bits>
  24223. </reg>
  24224. <reg name="dieptxf7" protect="rw">
  24225. <comment>Device IN Endpoint Transmit FIFO Size Register $i
  24226. This register is valid only in dedicated FIFO mode (OTG_EN_DED_TX_FIFO=1). It holds the size and memory start address of IN endpoint TxFIFOs implemented in Device mode. Each FIFO holds the data for one IN endpoint. This register is repeated for instantiated IN endpoint FIFOs 1 to 15. For IN endpoint FIFO 0, use GNPTXFSIZ register for programming the size and memory start address.</comment>
  24227. <bits access="rw" name="inepntxfstaddr" pos="12:0" rst="6351">
  24228. <comment>
  24229. <br>IN Endpoint FIFOn Transmit RAM Start Address (INEPnTxFStAddr)</br>
  24230. <br/>
  24231. <br>This field contains the memory start address for IN endpoint Transmit FIFOn (0&lt;n&lt; = 15).</br>
  24232. <br>The power-on reset value of this register is specified as the Largest Rx Data FIFO Depth. The power-on reset value of this register is calculated according to the following formula: OTG_RX_DFIFO_DEPTH + SUM of OTG_TX_DINEP_DFIFO_DEPTH_'i' (where x = 0 to n 1) If at POR the calculated value (C) exceeds 65535, then the Reset value becomes Reset Value(A) = (C 65536). Example: If start address of IN endpoint FIFO 1 is OTG_RX_DFIFO_DEPTH + OTG_TX_DINEP_DFIFO_DEPTH_ 0 and start address of IN endpoint FIFO 2 is OTG_RX_DFIFO_DEPTH + OTG_TX_DINEP_DFIFO_DEPTH_ 0 + OTG_TX_DINEP_DFIFO_DEPTH_ 1.</br>
  24233. <br> - If Enable Dynamic FIFO Sizing is deselected in coreConsultant (OTG_DFIFO_DYNAMIC = 0), this field is read-only and read value is the power-on reset value.</br>
  24234. <br> - If Enable Dynamic FIFO Sizing is selected in coreConsultant (OTG_DFIFO_DYNAMIC = 1), and you have calculated or programmed a new value for RxFIFO depth or TX FIFO depths, you can program their values according to the above formula. Programmed values must not exceed the power-on value set in coreConsultant.</br>
  24235. </comment>
  24236. </bits>
  24237. <bits access="rw" name="inepntxfdep" pos="24:16" rst="256">
  24238. <comment>
  24239. <br>IN Endpoint TxFIFO Depth (INEPnTxFDep)</br>
  24240. <br/>
  24241. <br>This value is in terms of 32-bit words.</br>
  24242. <br> - Minimum value is 16</br>
  24243. <br> - Maximum value is 32,768</br>
  24244. <br>The power-on reset value of this register is specified as the Largest IN Endpoint FIFO number Depth (parameter OTG_TX_DINEP_DFIFO_DEPTH_n) during coreConsultant configuration (0 &lt; i &lt;= 15).</br>
  24245. <br> - If Enable Dynamic FIFO Sizing? was deselected in coreConsultant (parameter OTG_DFIFO_DYNAMIC = 0), these flops are optimized, and reads return the power-on value.</br>
  24246. <br> - If Enable Dynamic FIFO Sizing? was selected in coreConsultant (parameter OTG_DFIFO_DYNAMIC = 1), you can write a new value in this field. .</br>
  24247. <br>Programmed values must not exceed the power-on value</br>
  24248. </comment>
  24249. </bits>
  24250. </reg>
  24251. <reg name="dieptxf8" protect="rw">
  24252. <comment>Device IN Endpoint Transmit FIFO Size Register $i
  24253. This register is valid only in dedicated FIFO mode (OTG_EN_DED_TX_FIFO=1). It holds the size and memory start address of IN endpoint TxFIFOs implemented in Device mode. Each FIFO holds the data for one IN endpoint. This register is repeated for instantiated IN endpoint FIFOs 1 to 15. For IN endpoint FIFO 0, use GNPTXFSIZ register for programming the size and memory start address.</comment>
  24254. <bits access="rw" name="inepntxfstaddr" pos="12:0" rst="6607">
  24255. <comment>
  24256. <br>IN Endpoint FIFOn Transmit RAM Start Address (INEPnTxFStAddr)</br>
  24257. <br/>
  24258. <br>This field contains the memory start address for IN endpoint Transmit FIFOn (0&lt;n&lt; = 15).</br>
  24259. <br>The power-on reset value of this register is specified as the Largest Rx Data FIFO Depth. The power-on reset value of this register is calculated according to the following formula: OTG_RX_DFIFO_DEPTH + SUM of OTG_TX_DINEP_DFIFO_DEPTH_'i' (where x = 0 to n 1) If at POR the calculated value (C) exceeds 65535, then the Reset value becomes Reset Value(A) = (C 65536). Example: If start address of IN endpoint FIFO 1 is OTG_RX_DFIFO_DEPTH + OTG_TX_DINEP_DFIFO_DEPTH_ 0 and start address of IN endpoint FIFO 2 is OTG_RX_DFIFO_DEPTH + OTG_TX_DINEP_DFIFO_DEPTH_ 0 + OTG_TX_DINEP_DFIFO_DEPTH_ 1.</br>
  24260. <br> - If Enable Dynamic FIFO Sizing is deselected in coreConsultant (OTG_DFIFO_DYNAMIC = 0), this field is read-only and read value is the power-on reset value.</br>
  24261. <br> - If Enable Dynamic FIFO Sizing is selected in coreConsultant (OTG_DFIFO_DYNAMIC = 1), and you have calculated or programmed a new value for RxFIFO depth or TX FIFO depths, you can program their values according to the above formula. Programmed values must not exceed the power-on value set in coreConsultant.</br>
  24262. </comment>
  24263. </bits>
  24264. <bits access="rw" name="inepntxfdep" pos="24:16" rst="256">
  24265. <comment>
  24266. <br>IN Endpoint TxFIFO Depth (INEPnTxFDep)</br>
  24267. <br/>
  24268. <br>This value is in terms of 32-bit words.</br>
  24269. <br> - Minimum value is 16</br>
  24270. <br> - Maximum value is 32,768</br>
  24271. <br>The power-on reset value of this register is specified as the Largest IN Endpoint FIFO number Depth (parameter OTG_TX_DINEP_DFIFO_DEPTH_n) during coreConsultant configuration (0 &lt; i &lt;= 15).</br>
  24272. <br> - If Enable Dynamic FIFO Sizing? was deselected in coreConsultant (parameter OTG_DFIFO_DYNAMIC = 0), these flops are optimized, and reads return the power-on value.</br>
  24273. <br> - If Enable Dynamic FIFO Sizing? was selected in coreConsultant (parameter OTG_DFIFO_DYNAMIC = 1), you can write a new value in this field. .</br>
  24274. <br>Programmed values must not exceed the power-on value</br>
  24275. </comment>
  24276. </bits>
  24277. </reg>
  24278. <hole size="5856"/>
  24279. <reg name="hcfg" protect="rw">
  24280. <comment>Host Configuration Register</comment>
  24281. <bits access="rw" name="fslspclksel" pos="1:0" rst="0">
  24282. <comment>
  24283. <br>FS/LS PHY Clock Select (FSLSPclkSel)</br>
  24284. <br/>
  24285. <br>When the core is in FS Host mode</br>
  24286. <br> - 2'b00: PHY clock is running at 30/60 MHz</br>
  24287. <br> - 2'b01: PHY clock is running at 48 MHz</br>
  24288. <br> - Others: Reserved</br>
  24289. <br>When the core is in LS Host mode</br>
  24290. <br> - 2'b00: PHY clock is running at 30/60 MHz. When the UTMI+/ULPI PHY Low Power mode is not selected, use 30/60 MHz.</br>
  24291. <br> - 2'b01: PHY clock is running at 48 MHz. When the UTMI+ PHY Low Power mode is selected, use 48MHz If the PHY supplies a 48 MHz clock during LS mode.</br>
  24292. <br> - 2'b10: PHY clock is running at 6 MHz. In USB 1.1 FS mode, use 6 MHz when the UTMI+ PHY Low Power mode is selected and the PHY supplies a 6 MHz clock during LS mode. If you select a 6 MHz clock during LS mode, you must do a soft reset.</br>
  24293. <br> - 2'b11: Reserved</br>
  24294. <br>Notes:</br>
  24295. <br> - When Core in FS mode, the internal and external clocks have the same frequency.</br>
  24296. <br> - When Core in LS mode,</br>
  24297. <br> -- If FSLSPclkSel = 2'b00: Internal and external clocks have the same frequency</br>
  24298. <br> -- If FSLSPclkSel = 2'b10: Internal clock is the divided by eight version of external 48 MHz clock</br>
  24299. <br/>
  24300. </comment>
  24301. </bits>
  24302. <bits access="rw" name="fslssupp" pos="2" rst="0">
  24303. <comment>
  24304. <br>FS- and LS-Only Support (FSLSSupp)</br>
  24305. <br/>
  24306. <br>The application uses this bit to control the core's enumeration speed. Using this bit, the application can make the core</br>
  24307. <br>enumerate as a FS host, even If the connected device supports HS traffic. Do not make changes to this field after initial</br>
  24308. <br>programming.</br>
  24309. <br> - 1'b0: HS/FS/LS, based on the maximum speed supported by the connected device</br>
  24310. <br> - 1'b1: FS/LS-only, even If the connected device can support HS</br>
  24311. </comment>
  24312. </bits>
  24313. <bits access="rw" name="ena32khzs" pos="7" rst="0">
  24314. <comment>
  24315. <br>Enable 32 KHz Suspend mode (Ena32KHzS)</br>
  24316. <br/>
  24317. <br>This bit can be set only in FS PHY interface is selected. </br>
  24318. <br>Else, this bit needs to be set to zero. </br>
  24319. <br>When FS PHY interface is chosen and this bit is set, </br>
  24320. <br>the core expects that the PHY clock during Suspend is switched </br>
  24321. <br>from 48 MHz to 32 KHz.</br>
  24322. </comment>
  24323. </bits>
  24324. <bits access="rw" name="resvalid" pos="15:8" rst="2">
  24325. <comment>
  24326. <br>Resume Validation Period (ResValid)</br>
  24327. <br/>
  24328. <br>This field is effective only when HCFG.Ena32KHzS is set.</br>
  24329. <br>It will control the resume period when the core resumes from suspend. </br>
  24330. <br>The core counts for 'ResValid' number of clock cycles to detect a </br>
  24331. <br>valid resume when this is set.</br>
  24332. </comment>
  24333. </bits>
  24334. <bits access="rw" name="descdma" pos="23" rst="0">
  24335. <comment>
  24336. <br>Enable Scatter/gather DMA in Host mode (DescDMA)</br>
  24337. <br/>
  24338. <br>When the Scatter/Gather DMA option selected during configuration of the RTL, the application can set this bit during initialization</br>
  24339. <br>to enable the Scatter/Gather DMA operation.</br>
  24340. <br/>
  24341. <br>Note: This bit must be modified only once after a reset.</br>
  24342. <br/>
  24343. <br>The following combinations are available for programming:</br>
  24344. <br> - GAHBCFG.DMAEn=0,HCFG.DescDMA=0 =&gt; Slave mode </br>
  24345. <br> - GAHBCFG.DMAEn=0,HCFG.DescDMA=1 =&gt; Invalid</br>
  24346. <br> - GAHBCFG.DMAEn=1,HCFG.DescDMA=0 =&gt; Buffered DMA mode </br>
  24347. <br> - GAHBCFG.DMAEn=1,HCFG.DescDMA=1 =&gt; Scatter/Gather DMA mode</br>
  24348. </comment>
  24349. </bits>
  24350. <bits access="rw" name="frlisten" pos="25:24" rst="0">
  24351. <comment>
  24352. <br>Frame List Entries(FrListEn)</br>
  24353. <br/>
  24354. <br>The value in the register specifies the number of entries in the Frame list.</br>
  24355. <br>This field is valid only in Scatter/Gather DMA mode.</br>
  24356. <br> - 2'b00: 8 Entries </br>
  24357. <br> - 2'b01: 16 Entries</br>
  24358. <br> - 2'b10: 32 Entries</br>
  24359. <br> - 2'b11: 64 Entries</br>
  24360. </comment>
  24361. </bits>
  24362. <bits access="rw" name="perschedena" pos="26" rst="0">
  24363. <comment>
  24364. <br>Enable Periodic Scheduling (PerSchedEna):</br>
  24365. <br/>
  24366. <br>Applicable in host DDMA mode only.</br>
  24367. <br>Enables periodic scheduling within the core. Initially, the bit is reset.</br>
  24368. <br>The core will not process any periodic channels.</br>
  24369. <br/>
  24370. <br>As soon as this bit is set,</br>
  24371. <br>the core will get ready to start scheduling periodic channels and </br>
  24372. <br>sets HCFG.PerSchedStat. The setting of HCFG.PerSchedStat indicates the core</br>
  24373. <br>has enabled periodic scheduling. Once HCFG.PerSchedEna is set, </br>
  24374. <br>the application is not supposed to again reset the bit unless HCFG.PerSchedStat</br>
  24375. <br>is set.</br>
  24376. <br/>
  24377. <br>As soon as this bit is reset, the core will get ready to</br>
  24378. <br>stop scheduling periodic channels and resets HCFG.PerSchedStat.</br>
  24379. </comment>
  24380. </bits>
  24381. <bits access="rw" name="modechtimen" pos="31" rst="0">
  24382. <comment>
  24383. <br>Mode Change Ready Timer Enable (ModeChTimEn)</br>
  24384. <br/>
  24385. <br>This bit is used to enable/disable the Host core to wait 200 PHY clock cycles at the end of Resume to change the opmode signal to the PHY to 00 </br>
  24386. <br>after Suspend or LPM.</br>
  24387. <br> - 1'b0 : The Host core waits for either 200 PHY clock cycles or a linestate of SE0 at the end of resume to the change the opmode from 2'b10 to 2'b00</br>
  24388. <br> - 1'b1 : The Host core waits only for a linstate of SE0 at the end of resume to change the opmode from 2'b10 to 2'b00.</br>
  24389. </comment>
  24390. </bits>
  24391. </reg>
  24392. <reg name="hfir" protect="rw">
  24393. <comment>Host Frame Interval Register</comment>
  24394. <bits access="rw" name="frint" pos="15:0" rst="60000">
  24395. <comment>
  24396. <br>Frame Interval (FrInt)</br>
  24397. <br/>
  24398. <br>The value that the application programs to this field specifies</br>
  24399. <br>the interval between two consecutive SOFs (FS) or micro-</br>
  24400. <br>SOFs (HS) or Keep-Alive tokens (HS). This field contains the</br>
  24401. <br>number of PHY clocks that constitute the required frame</br>
  24402. <br>interval. The Default value set in this field is for FS operation</br>
  24403. <br>when the PHY clock frequency is 60 MHz. The application can</br>
  24404. <br>write a value to this register only after the Port Enable bit of the</br>
  24405. <br>Host Port Control and Status register (HPRT.PrtEnaPort) has</br>
  24406. <br>been Set. If no value is programmed, the core calculates the</br>
  24407. <br>value based on the PHY clock specified in the FS/LS PHY</br>
  24408. <br>Clock Select field of the Host Configuration register</br>
  24409. <br>(HCFG.FSLSPclkSel). Do not change the value of this field</br>
  24410. <br>after the initial configuration.</br>
  24411. <br> - 125 s * (PHY clock frequency for HS)</br>
  24412. <br> - 1 ms * (PHY clock frequency for FS/LS)</br>
  24413. </comment>
  24414. </bits>
  24415. <bits access="rw" name="hfirrldctrl" pos="16" rst="0">
  24416. <comment>
  24417. <br>Reload Control (HFIRRldCtrl)</br>
  24418. <br/>
  24419. <br>This bit allows dynamic reloading of the HFIR register during run time. </br>
  24420. <br> - 1'b0 : The HFIR cannot be reloaded dynamically</br>
  24421. <br> - 1'b1: the HFIR can be dynamically reloaded during runtime. </br>
  24422. <br>This bit needs to be programmed during initial configuration and its value should not be changed during runtime. </br>
  24423. <br/>
  24424. </comment>
  24425. </bits>
  24426. </reg>
  24427. <reg name="hfnum" protect="r">
  24428. <comment>Host Frame Number/Frame Time Remaining Register
  24429. This register indicates the current frame number. It also indicates the time remaining (in terms of the number of PHY clocks) in the current (micro)frame.
  24430. Note: Read the reset value of this register only after the following conditions:
  24431. - If IDDIG_FILTER is disabled, read only when the PHY clock is stable.
  24432. - If IDDIG_FILTER is enabled, read only after the filter timer expires.</comment>
  24433. <bits access="r" name="frnum" pos="15:0" rst="16383">
  24434. <comment>
  24435. <br>Frame Number (FrNum)</br>
  24436. <br/>
  24437. <br>This field increments when a new SOF is transmitted on the</br>
  24438. <br>USB, and is reset to 0 when it reaches 16'h3FFF.</br>
  24439. <br/>
  24440. </comment>
  24441. </bits>
  24442. <bits access="r" name="frrem" pos="31:16" rst="0">
  24443. <comment>
  24444. <br>Frame Time Remaining (FrRem)</br>
  24445. <br/>
  24446. <br>Indicates the amount of time remaining in the current</br>
  24447. <br>microframe (HS) or Frame (FS/LS), in terms of PHY clocks. This</br>
  24448. <br>field decrements on each PHY clock. When it reaches zero, this</br>
  24449. <br>field is reloaded with the value in the Frame Interval register and</br>
  24450. <br>a new SOF is transmitted on the USB.</br>
  24451. </comment>
  24452. </bits>
  24453. </reg>
  24454. <hole size="32"/>
  24455. <reg name="hptxsts" protect="r">
  24456. <comment>Host Periodic Transmit FIFO/Queue Status Register</comment>
  24457. <bits access="r" name="ptxfspcavail" pos="15:0" rst="3759">
  24458. <comment>
  24459. <br>Periodic Transmit Data FIFO Space Available (PTxFSpcAvail)</br>
  24460. <br/>
  24461. <br>Indicates the number of free locations available to be written to in the Periodic TxFIFO.</br>
  24462. <br/>
  24463. <br>Values are in terms of 32-bit words</br>
  24464. <br> - 16'h0 : Periodic TxFIFO is full</br>
  24465. <br> - 16'h1 : 1 word available</br>
  24466. <br> - 16'h2 : 2 words available</br>
  24467. <br> - 16'hn : n words available (where 0 n 32,768)</br>
  24468. <br> - 16'h8000 : 32,768 words</br>
  24469. <br> - Others : Reserved</br>
  24470. </comment>
  24471. </bits>
  24472. <bits access="r" name="ptxqspcavail" pos="23:16" rst="8">
  24473. <comment>
  24474. <br>Periodic Transmit Request Queue Space Available (PTxQSpcAvail)</br>
  24475. <br/>
  24476. <br>Indicates the number of free locations available to be written in the Periodic Transmit Request Queue. This queue holds both IN and OUT requests.</br>
  24477. <br> - 8'h0: Periodic Transmit Request Queue is full</br>
  24478. <br> - 8'h1: 1 location available</br>
  24479. <br> - 8'h2: 2 locations available</br>
  24480. <br> - n: n locations available (0 &lt;= n &lt;= 16)</br>
  24481. <br> - Others: Reserved</br>
  24482. </comment>
  24483. </bits>
  24484. <bits access="r" name="ptxqtop" pos="31:24" rst="0">
  24485. <comment>
  24486. <br>Top of the Periodic Transmit Request Queue (PTxQTop)</br>
  24487. <br/>
  24488. <br>This indicates the Entry in the Periodic Tx Request Queue that is</br>
  24489. <br>currently being processes by the MAC.</br>
  24490. <br/>
  24491. <br>This register is used for debugging.</br>
  24492. <br> - Bit [31]: Odd/Even (micro)Frame</br>
  24493. <br> -- 1'b0: send in even (micro)Frame</br>
  24494. <br> -- 1'b1: send in odd (micro)Frame</br>
  24495. <br> - Bits [30:27]: Channel/endpoint number</br>
  24496. <br> - Bits [26:25]: Type</br>
  24497. <br> -- 2'b00: IN/OUT</br>
  24498. <br> -- 2'b01: Zero-length packet</br>
  24499. <br> -- 2'b10: CSPLIT</br>
  24500. <br> -- 2'b11: Disable channel command</br>
  24501. <br> - Bit [24]: Terminate (last Entry for the selected channel/endpoint)</br>
  24502. </comment>
  24503. </bits>
  24504. </reg>
  24505. <reg name="haint" protect="r">
  24506. <comment>Host All Channels Interrupt Register
  24507. When a significant event occurs on a channel, the Host All Channels Interrupt register interrupts the application using the Host Channels Interrupt bit of the Core Interrupt register (GINTSTS.HChInt). This is shown in the &quot;Interrupt Hierarchy&quot; figure in the databook. There is one interrupt bit per channel, up to a maximum of 16 bits. Bits in this register are set and cleared when the application sets and clears bits in the corresponding Host Channel-n Interrupt register.</comment>
  24508. <bits access="r" name="haint" pos="15:0" rst="0">
  24509. <comment>
  24510. <br/>
  24511. <br>Channel Interrupt for channel no.</br>
  24512. </comment>
  24513. </bits>
  24514. </reg>
  24515. <reg name="haintmsk" protect="rw">
  24516. <comment>Host All Channels Interrupt Mask Register
  24517. The Host All Channel Interrupt Mask register works with the Host All Channel Interrupt register to interrupt the application when an event occurs on a channel. There is one interrupt mask bit per channel, up to a maximum of 16 bits.</comment>
  24518. <bits access="rw" name="haintmsk" pos="15:0" rst="0">
  24519. <comment>
  24520. <br>Channel Interrupt Mask (HAINTMsk)</br>
  24521. <br>One bit per channel: Bit 0 for channel 0, bit 15 for channel 15</br>
  24522. </comment>
  24523. </bits>
  24524. </reg>
  24525. <reg name="hflbaddr" protect="rw">
  24526. <comment>Host Frame List Base Address Register
  24527. This register is present only in case of Scatter/Gather DMA. It is implemented as flops. This register holds the starting address of the Frame list information.</comment>
  24528. <bits access="rw" name="hflbaddr" pos="31:0" rst="0">
  24529. <comment>
  24530. <br>The starting address of the Frame list.</br>
  24531. <br>This register is used only for Isochronous and Interrupt Channels.</br>
  24532. </comment>
  24533. </bits>
  24534. </reg>
  24535. <hole size="256"/>
  24536. <reg name="hprt" protect="rw">
  24537. <comment>Host Port Control and Status Register
  24538. This register is available only in Host mode. Currently, the OTG Host supports only one port. A single register holds USB port-related information such as USB reset, enable, suspend, resume, connect status, and test mode for each port. It is shown in the &quot;Interrupt Hierarchy&quot; figure in the databook. The R_SS_WC bits in this register can trigger an interrupt to the application through the Host Port Interrupt bit of the Core Interrupt register (GINTSTS.PrtInt). On a Port Interrupt, the application must read this register and clear the bit that caused the interrupt. For the R_SS_WC bits, the application must write a 1 to the bit to clear the interrupt.</comment>
  24539. <bits access="r" name="prtconnsts" pos="0" rst="0">
  24540. <comment>
  24541. <br>Port Connect Status (PrtConnSts)</br>
  24542. <br> - 0: No device is attached to the port.</br>
  24543. <br> - 1: A device is attached to the port.</br>
  24544. </comment>
  24545. </bits>
  24546. <bits access="rw" name="prtconndet" pos="1" rst="0">
  24547. <comment>
  24548. <br>Port Connect Detected (PrtConnDet)</br>
  24549. <br/>
  24550. <br>The core sets this bit when a device connection is detected</br>
  24551. <br>to trigger an interrupt to the application using the Host Port</br>
  24552. <br>Interrupt bit of the Core Interrupt register (GINTSTS.PrtInt).This bit can be set only by the core and the application should write 1 to clear it.The application must write a 1 to this bit to clear the</br>
  24553. <br>interrupt.</br>
  24554. </comment>
  24555. </bits>
  24556. <bits access="rw" name="prtena" pos="2" rst="0">
  24557. <comment>
  24558. <br>Port Enable (PrtEna)</br>
  24559. <br/>
  24560. <br>A port is enabled only by the core after a reset sequence,</br>
  24561. <br>and is disabled by an overcurrent condition, a disconnect</br>
  24562. <br>condition, or by the application clearing this bit. The</br>
  24563. <br>application cannot Set this bit by a register write. It can only</br>
  24564. <br>clear it to disable the port by writing 1. This bit does not trigger any</br>
  24565. <br>interrupt to the application.</br>
  24566. <br> - 1'b0: Port disabled</br>
  24567. <br> - 1'b1: Port enabled</br>
  24568. </comment>
  24569. </bits>
  24570. <bits access="rw" name="prtenchng" pos="3" rst="0">
  24571. <comment>
  24572. <br>Port Enable/Disable Change (PrtEnChng)</br>
  24573. <br/>
  24574. <br>The core sets this bit when the status of the Port Enable bit [2] of this register changes.This bit can be set only by the core and the application should write 1 to clear it.</br>
  24575. </comment>
  24576. </bits>
  24577. <bits access="r" name="prtovrcurract" pos="4" rst="0">
  24578. <comment>
  24579. <br>Port Overcurrent Active (PrtOvrCurrAct)</br>
  24580. <br/>
  24581. <br>Indicates the overcurrent condition of the port.</br>
  24582. <br> - 1'b0: No overcurrent condition</br>
  24583. <br> - 1'b1: Overcurrent condition</br>
  24584. </comment>
  24585. </bits>
  24586. <bits access="rw" name="prtovrcurrchng" pos="5" rst="0">
  24587. <comment>
  24588. <br>Port Overcurrent Change (PrtOvrCurrChng)</br>
  24589. <br/>
  24590. <br>The core sets this bit when the status of the Port Overcurrent Active bit (bit 4) in this register changes.This bit can be set only by the core and the application should write 1 to clear it</br>
  24591. </comment>
  24592. </bits>
  24593. <bits access="rw" name="prtres" pos="6" rst="0">
  24594. <comment>
  24595. <br>Port Resume (PrtRes)</br>
  24596. <br/>
  24597. <br>The application sets this bit to drive resume signaling on the</br>
  24598. <br>port. The core continues to drive the resume signal until the</br>
  24599. <br>application clears this bit.</br>
  24600. <br/>
  24601. <br>If the core detects a USB remote wakeup sequence, as</br>
  24602. <br>indicated by the Port Resume/Remote Wakeup Detected</br>
  24603. <br>Interrupt bit of the Core Interrupt register</br>
  24604. <br>(GINTSTS.WkUpInt), the core starts driving resume</br>
  24605. <br>signaling without application intervention and clears this bit</br>
  24606. <br>when it detects a disconnect condition. The read value of</br>
  24607. <br>this bit indicates whether the core is currently driving</br>
  24608. <br>resume signaling.</br>
  24609. <br> - 1'b0: No resume driven</br>
  24610. <br> - 1'b1: Resume driven</br>
  24611. <br>When LPM is enabled, In L1 state the behavior of this bit is as follows:</br>
  24612. <br>The application sets this bit to drive resume signaling on the port.</br>
  24613. <br>The core continues to drive the resume signal until a pre-determined time</br>
  24614. <br>specified in GLPMCFG.HIRD_Thres[3:0] field. If the core detects a USB remote</br>
  24615. <br>wakeup sequence, as indicated by the Port L1Resume/Remote L1Wakeup Detected </br>
  24616. <br>Interrupt bit of the Core Interrupt register (GINTSTS.L1WkUpInt), </br>
  24617. <br>the core starts driving resume signaling without application intervention</br>
  24618. <br>and clears this bit at the end of resume.This bit can be set by both core or application</br>
  24619. <br>and also cleared by core or application. This bit is cleared by the core even if there is</br>
  24620. <br>no device connected to the Host.</br>
  24621. </comment>
  24622. </bits>
  24623. <bits access="rw" name="prtsusp" pos="7" rst="0">
  24624. <comment>
  24625. <br>Port Suspend (PrtSusp)</br>
  24626. <br/>
  24627. <br>The application sets this bit to put this port in Suspend</br>
  24628. <br>mode. The core only stops sending SOFs when this is Set.</br>
  24629. <br>To stop the PHY clock, the application must Set the Port</br>
  24630. <br>Clock Stop bit, which asserts the suspend input pin of the</br>
  24631. <br>PHY.</br>
  24632. <br/>
  24633. <br>The read value of this bit reflects the current suspend status</br>
  24634. <br>of the port. This bit is cleared by the core after a remote</br>
  24635. <br>wakeup signal is detected or the application sets the Port</br>
  24636. <br>Reset bit or Port Resume bit in this register or the</br>
  24637. <br>Resume/Remote Wakeup Detected Interrupt bit or</br>
  24638. <br>Disconnect Detected Interrupt bit in the Core Interrupt</br>
  24639. <br>register (GINTSTS.WkUpInt or GINTSTS.DisconnInt,</br>
  24640. <br>respectively).This bit is cleared by the core even if there is</br>
  24641. <br>no device connected to the Host.</br>
  24642. <br> - 1'b0: Port not in Suspend mode</br>
  24643. <br> - 1'b1: Port in Suspend mode</br>
  24644. </comment>
  24645. </bits>
  24646. <bits access="rw" name="prtrst" pos="8" rst="0">
  24647. <comment>
  24648. <br>Port Reset (PrtRst)</br>
  24649. <br/>
  24650. <br>When the application sets this bit, a reset sequence is</br>
  24651. <br>started on this port. The application must time the reset</br>
  24652. <br>period and clear this bit after the reset sequence is</br>
  24653. <br>complete.</br>
  24654. <br> - 1'b0: Port not in reset</br>
  24655. <br> - 1'b1: Port in reset</br>
  24656. <br>The application must leave this bit set for at least a</br>
  24657. <br>minimum duration mentioned below to start a reset on the</br>
  24658. <br>port. The application can leave it set for another 10 ms in</br>
  24659. <br>addition to the required minimum duration, before clearing</br>
  24660. <br>the bit, even though there is no maximum limit Set by the</br>
  24661. <br>USB standard.This bit is cleared by the core even if there is</br>
  24662. <br>no device connected to the Host.</br>
  24663. <br> - High speed: 50 ms</br>
  24664. <br> - Full speed/Low speed: 10 ms</br>
  24665. </comment>
  24666. </bits>
  24667. <bits access="r" name="prtlnsts" pos="11:10" rst="0">
  24668. <comment>
  24669. <br>Port Line Status (PrtLnSts)</br>
  24670. <br/>
  24671. <br>Indicates the current logic level USB data lines</br>
  24672. <br> - Bit [10]: Logic level of D+</br>
  24673. <br> - Bit [11]: Logic level of D-</br>
  24674. </comment>
  24675. </bits>
  24676. <bits access="rw" name="prtpwr" pos="12" rst="0">
  24677. <comment>
  24678. <br>Port Power (PrtPwr)</br>
  24679. <br/>
  24680. <br>The application uses this field to control power to this port (write 1'b1 to set to 1'b1</br>
  24681. <br>and write 1'b0 to set to 1'b0), and the core can clear this bit on an over current</br>
  24682. <br>condition.</br>
  24683. <br> - 1'b0: Power off</br>
  24684. <br> - 1'b1: Power on</br>
  24685. <br/>
  24686. <br>Note: This bit is interface independent. The application needs to program this bit for all interfaces as described in the host programming flow in the Programming Guide.</br>
  24687. </comment>
  24688. </bits>
  24689. <bits access="rw" name="prttstctl" pos="16:13" rst="0">
  24690. <comment>
  24691. <br>Port Test Control (PrtTstCtl)</br>
  24692. <br/>
  24693. <br>The application writes a nonzero value to this field to put the port into a Test mode, and the corresponding pattern is signaled on the port.</br>
  24694. <br> - 4'b0000: Test mode disabled</br>
  24695. <br> - 4'b0001: Test_J mode</br>
  24696. <br> - 4'b0010: Test_K mode</br>
  24697. <br> - 4'b0011: Test_SE0_NAK mode</br>
  24698. <br> - 4'b0100: Test_Packet mode</br>
  24699. <br> - 4'b0101: Test_Force_Enable</br>
  24700. <br> - Others: Reserved</br>
  24701. <br/>
  24702. <br>To move the DWC_otg controller to test mode, you must set this field. Complete the following steps to move the DWC_otg core to test mode:</br>
  24703. <br> - 1. Power on the core.</br>
  24704. <br> - 2. Load the DWC_otg driver.</br>
  24705. <br> - 3. Connect an HS device and enumerate to HS mode.</br>
  24706. <br> - 4. Access the HPRT register to send test packets.</br>
  24707. <br> - 5. Remove the device and connect to fixture (OPT) port. The DWC_otg host core continues sending out test packets.</br>
  24708. <br> - 6. Test the eye diagram.</br>
  24709. </comment>
  24710. </bits>
  24711. <bits access="r" name="prtspd" pos="18:17" rst="0">
  24712. <comment>
  24713. <br>Port Speed (PrtSpd)</br>
  24714. <br/>
  24715. <br>Indicates the speed of the device attached to this port.</br>
  24716. <br> - 2'b00: High speed</br>
  24717. <br> - 2'b01: Full speed</br>
  24718. <br> - 2'b10: Low speed</br>
  24719. <br> - 2'b11: Reserved</br>
  24720. </comment>
  24721. </bits>
  24722. </reg>
  24723. <hole size="1504"/>
  24724. <reg name="hcchar0" protect="rw">
  24725. <comment>Host Channel 0 Characteristics Register</comment>
  24726. <bits access="rw" name="mps" pos="10:0" rst="0">
  24727. <comment>
  24728. <br>Maximum Packet Size (MPS)</br>
  24729. <br/>
  24730. <br>Indicates the maximum packet size of the associated endpoint.</br>
  24731. </comment>
  24732. </bits>
  24733. <bits access="rw" name="epnum" pos="14:11" rst="0">
  24734. <comment>
  24735. <br>Endpoint Number (EPNum)</br>
  24736. <br/>
  24737. <br>Indicates the endpoint number on the device serving as the data source or sink.</br>
  24738. </comment>
  24739. </bits>
  24740. <bits access="rw" name="epdir" pos="15" rst="0">
  24741. <comment>
  24742. <br>Endpoint Direction (EPDir)</br>
  24743. <br/>
  24744. <br>Indicates whether the transaction is IN or OUT.</br>
  24745. <br> - 1'b0: OUT</br>
  24746. <br> - 1'b1: IN</br>
  24747. </comment>
  24748. </bits>
  24749. <bits access="rw" name="lspddev" pos="17" rst="0">
  24750. <comment>
  24751. <br>Low-Speed Device (LSpdDev)</br>
  24752. <br/>
  24753. <br>This field is Set by the application to indicate that this channel is communicating to a low-speed device.</br>
  24754. <br/>
  24755. <br>The application must program this bit when a low speed device is connected to the host through an FS HUB. The DWC_otg Host core uses this field to drive the XCVR_SELECT signal to 2'b11 while communicating to the LS Device through the FS hub.</br>
  24756. <br/>
  24757. <br>Note: In a peer to peer setup, the DWC_otg Host core ignores this bit even if it is set by the application software.</br>
  24758. </comment>
  24759. </bits>
  24760. <bits access="rw" name="eptype" pos="19:18" rst="0">
  24761. <comment>
  24762. <br>Endpoint Type (EPType)</br>
  24763. <br/>
  24764. <br>Indicates the transfer type selected.</br>
  24765. <br> - 2'b00: Control</br>
  24766. <br> - 2'b01: Isochronous</br>
  24767. <br> - 2'b10: Bulk</br>
  24768. <br> - 2'b11: Interrupt</br>
  24769. </comment>
  24770. </bits>
  24771. <bits access="rw" name="ec" pos="21:20" rst="0">
  24772. <comment>
  24773. <br>Multi Count (MC) / Error Count (EC)</br>
  24774. <br/>
  24775. <br>When the Split Enable bit of the Host Channel-n Split Control</br>
  24776. <br>register (HCSPLTn.SpltEna) is reset (1'b0), this field indicates to</br>
  24777. <br>the host the number of transactions that must be executed per</br>
  24778. <br>microframe for this periodic endpoint. For non periodic transfers,</br>
  24779. <br>this field is used only in DMA mode, and specifies the number</br>
  24780. <br>packets to be fetched for this channel before the internal DMA</br>
  24781. <br>engine changes arbitration.</br>
  24782. <br> - 2'b00: Reserved This field yields undefined results.</br>
  24783. <br> - 2'b01: 1 transaction</br>
  24784. <br> - 2'b10: 2 transactions to be issued for this endpoint per microframe</br>
  24785. <br> - 2'b11: 3 transactions to be issued for this endpoint per microframe</br>
  24786. <br>When HCSPLTn.SpltEna is Set (1'b1), this field indicates the</br>
  24787. <br>number of immediate retries to be performed for a periodic split</br>
  24788. <br>transactions on transaction errors. This field must be Set to at</br>
  24789. <br>least 2'b01.</br>
  24790. </comment>
  24791. </bits>
  24792. <bits access="rw" name="devaddr" pos="28:22" rst="0">
  24793. <comment>
  24794. <br>Device Address (DevAddr)</br>
  24795. <br/>
  24796. <br>This field selects the specific device serving as the data source</br>
  24797. <br>or sink.</br>
  24798. </comment>
  24799. </bits>
  24800. <bits access="rw" name="oddfrm" pos="29" rst="0">
  24801. <comment>
  24802. <br>Odd Frame (OddFrm)</br>
  24803. <br/>
  24804. <br>This field is set (reset) by the application to indicate that the OTG host must perform </br>
  24805. <br>a transfer in an odd (micro)Frame. This field is applicable for only periodic </br>
  24806. <br>(isochronous and interrupt) transactions.</br>
  24807. <br> - 1'b0: Even (micro)Frame</br>
  24808. <br> - 1'b1: Odd (micro)Frame</br>
  24809. <br/>
  24810. </comment>
  24811. </bits>
  24812. <bits access="rw" name="chdis" pos="30" rst="0">
  24813. <comment>
  24814. <br>Channel Disable (ChDis)</br>
  24815. <br/>
  24816. <br>The application sets this bit to stop transmitting/receiving data</br>
  24817. <br>on a channel, even before the transfer for that channel is</br>
  24818. <br>complete. The application must wait for the Channel Disabled</br>
  24819. <br>interrupt before treating the channel as disabled.</br>
  24820. </comment>
  24821. </bits>
  24822. <bits access="rw" name="chena" pos="31" rst="0">
  24823. <comment>
  24824. <br>Channel Enable (ChEna)</br>
  24825. <br/>
  24826. <br>When Scatter/Gather mode is enabled </br>
  24827. <br> - 1'b0: Indicates that the descriptor structure is not yet ready. </br>
  24828. <br> - 1'b1: Indicates that the descriptor structure and data buffer with data is setup and this channel can access the descriptor. </br>
  24829. <br>When Scatter/Gather mode is disabled </br>
  24830. <br/>
  24831. <br> This field is set by the application and cleared by the OTG host. </br>
  24832. <br> - 1'b0: Channel disabled </br>
  24833. <br> - 1'b1: Channel enabled</br>
  24834. </comment>
  24835. </bits>
  24836. </reg>
  24837. <reg name="hcsplt0" protect="rw">
  24838. <comment>Host Channel 0 Split Control Register</comment>
  24839. <bits access="rw" name="prtaddr" pos="6:0" rst="0">
  24840. <comment>
  24841. <br>Port Address (PrtAddr)</br>
  24842. <br/>
  24843. <br>This field is the port number of the recipient transaction translator.</br>
  24844. </comment>
  24845. </bits>
  24846. <bits access="rw" name="hubaddr" pos="13:7" rst="0">
  24847. <comment>
  24848. <br>Hub Address (HubAddr)</br>
  24849. <br/>
  24850. <br>This field holds the device address of the transaction translator's hub.</br>
  24851. </comment>
  24852. </bits>
  24853. <bits access="rw" name="xactpos" pos="15:14" rst="0">
  24854. <comment>
  24855. <br>Transaction Position (XactPos)</br>
  24856. <br/>
  24857. <br>This field is used to determine whether to send all, first, middle, or last payloads with each OUT transaction.</br>
  24858. <br> - 2'b11: All. This is the entire data payload is of this transaction (which is less than or equal to 188 bytes).</br>
  24859. <br> - 2'b10: Begin. This is the first data payload of this transaction (which is larger than 188 bytes).</br>
  24860. <br> - 2'b00: Mid. This is the middle payload of this transaction (which is larger than 188 bytes).</br>
  24861. <br> - 2'b01: End. This is the last payload of this transaction (which is larger than 188 bytes).</br>
  24862. </comment>
  24863. </bits>
  24864. <bits access="rw" name="compsplt" pos="16" rst="0">
  24865. <comment>
  24866. <br>Do Complete Split (CompSplt)</br>
  24867. <br/>
  24868. <br>The application sets this field to request the OTG host to perform a complete split transaction.</br>
  24869. </comment>
  24870. </bits>
  24871. <bits access="rw" name="spltena" pos="31" rst="0">
  24872. <comment>
  24873. <br>Split Enable (SpltEna)</br>
  24874. <br/>
  24875. <br>The application sets this field to indicate that this channel is enabled to perform split transactions.</br>
  24876. </comment>
  24877. </bits>
  24878. </reg>
  24879. <reg name="hcint0" protect="rw">
  24880. <comment>&quot;Host Channel $i Interrupt Register&quot;
  24881. This register indicates the status of a channel with respect to USB- and AHB-related events. It is shown in the &quot;Interrupt Hierarchy&quot; figure in the databook. The application must read this register when the Host Channels Interrupt bit of the Core Interrupt register (GINTSTS.HChInt) is set. Before the application can read this register, it must first read the Host All Channels Interrupt (HAINT) register to get the exact channel number for the Host Channel-n Interrupt register. The application must clear the appropriate bit in this register to clear the corresponding bits in the HAINT and GINTSTS registers.</comment>
  24882. <bits access="rw" name="xfercompl" pos="0" rst="0">
  24883. <comment>
  24884. <br>Transfer Completed (XferCompl)</br>
  24885. <br/>
  24886. <br>Transfer completed normally without any errors.This bit can be set only by the core and the application should write 1 to clear it.</br>
  24887. <br> - For Scatter/Gather DMA mode, it indicates that current descriptor processing got completed with IOC bit set in its descriptor.</br>
  24888. <br> - In non Scatter/Gather DMA mode, it indicates that Transfer completed normally without any errors.</br>
  24889. <br/>
  24890. </comment>
  24891. </bits>
  24892. <bits access="rw" name="chhltd" pos="1" rst="0">
  24893. <comment>
  24894. <br>Channel Halted (ChHltd)</br>
  24895. <br/>
  24896. <br>In non Scatter/Gather DMA mode, it indicates the transfer completed abnormally either because of any USB transaction error or in response to disable request by the application or because of a completed transfer.</br>
  24897. <br/>
  24898. <br>In Scatter/gather DMA mode, this indicates that transfer completed due to any of the following</br>
  24899. <br> - EOL being set in descriptor</br>
  24900. <br> - AHB error</br>
  24901. <br> - Excessive transaction errors</br>
  24902. <br> - Babble</br>
  24903. <br> - Stall</br>
  24904. <br/>
  24905. </comment>
  24906. </bits>
  24907. <bits access="rw" name="ahberr" pos="2" rst="0">
  24908. <comment>
  24909. <br>AHB Error (AHBErr)</br>
  24910. <br/>
  24911. <br>This is generated only in Internal DMA mode when there is an AHB error during AHB read/write. The application can read the corresponding channel's DMA address register to get the error address.</br>
  24912. </comment>
  24913. </bits>
  24914. <bits access="rw" name="stall" pos="3" rst="0">
  24915. <comment>
  24916. <br>STALL Response Received Interrupt (STALL)</br>
  24917. <br/>
  24918. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  24919. </comment>
  24920. </bits>
  24921. <bits access="rw" name="nak" pos="4" rst="0">
  24922. <comment>
  24923. <br>NAK Response Received Interrupt (NAK)</br>
  24924. <br/>
  24925. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  24926. </comment>
  24927. </bits>
  24928. <bits access="rw" name="ack" pos="5" rst="0">
  24929. <comment>
  24930. <br>ACK Response Received/Transmitted Interrupt (ACK)</br>
  24931. <br/>
  24932. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  24933. </comment>
  24934. </bits>
  24935. <bits access="rw" name="nyet" pos="6" rst="0">
  24936. <comment>
  24937. <br>NYET Response Received Interrupt (NYET)</br>
  24938. <br/>
  24939. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  24940. </comment>
  24941. </bits>
  24942. <bits access="rw" name="xacterr" pos="7" rst="0">
  24943. <comment>
  24944. <br>Transaction Error (XactErr)</br>
  24945. <br/>
  24946. <br>Indicates one of the following errors occurred on the USB.</br>
  24947. <br> - CRC check failure</br>
  24948. <br> - Timeout</br>
  24949. <br> - Bit stuff error</br>
  24950. <br> - False EOP</br>
  24951. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  24952. </comment>
  24953. </bits>
  24954. <bits access="rw" name="bblerr" pos="8" rst="0">
  24955. <comment>
  24956. <br>Babble Error (BblErr)</br>
  24957. <br/>
  24958. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core. This bit can be set only by the core and the application should write 1 to clear it.</br>
  24959. </comment>
  24960. </bits>
  24961. <bits access="rw" name="frmovrun" pos="9" rst="0">
  24962. <comment>
  24963. <br>Frame Overrun (FrmOvrun).</br>
  24964. <br/>
  24965. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked </br>
  24966. <br>in the core. This bit can be set only by the core and the application should write 1 to clear</br>
  24967. <br>it.</br>
  24968. </comment>
  24969. </bits>
  24970. <bits access="rw" name="datatglerr" pos="10" rst="0">
  24971. <comment>
  24972. <br/>
  24973. <br>Data Toggle Error (DataTglErr).This bit can be set only by the core and the application should write 1 to clear</br>
  24974. <br>it.In Scatter/Gather DMA mode, the interrupt due to this bit is masked </br>
  24975. <br>in the core.</br>
  24976. </comment>
  24977. </bits>
  24978. <bits access="rw" name="bnaintr" pos="11" rst="0">
  24979. <comment>
  24980. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  24981. <br/>
  24982. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. </br>
  24983. <br>The core generates this interrupt when the descriptor accessed </br>
  24984. <br>is not ready for the Core to process. BNA will not be generated </br>
  24985. <br>for Isochronous channels.</br>
  24986. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  24987. </comment>
  24988. </bits>
  24989. <bits access="rw" name="xcs_xact_err" pos="12" rst="0">
  24990. <comment>
  24991. <br>Excessive Transaction Error (XCS_XACT_ERR)</br>
  24992. <br/>
  24993. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. The core sets this bit </br>
  24994. <br>when 3 consecutive transaction errors occurred on the USB bus. XCS_XACT_ERR will </br>
  24995. <br>not be generated for Isochronous channels.</br>
  24996. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  24997. </comment>
  24998. </bits>
  24999. <bits access="rw" name="desc_lst_rollintr" pos="13" rst="0">
  25000. <comment>
  25001. <br>Descriptor rollover interrupt (DESC_LST_ROLLIntr)</br>
  25002. <br/>
  25003. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. The core sets this bit </br>
  25004. <br>when the corresponding channel's descriptor list rolls over.</br>
  25005. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  25006. </comment>
  25007. </bits>
  25008. </reg>
  25009. <reg name="hcintmsk0" protect="rw">
  25010. <comment>&quot;Host Channel $i Interrupt Mask Register&quot;
  25011. This register reflects the mask for each channel status described in the previous section.</comment>
  25012. <bits access="rw" name="xfercomplmsk" pos="0" rst="0">
  25013. <comment>
  25014. <br/>
  25015. <br>Transfer Completed Mask (XferComplMsk)</br>
  25016. </comment>
  25017. </bits>
  25018. <bits access="rw" name="chhltdmsk" pos="1" rst="0">
  25019. <comment>
  25020. <br/>
  25021. <br>Channel Halted Mask (ChHltdMsk)</br>
  25022. </comment>
  25023. </bits>
  25024. <bits access="rw" name="ahberrmsk" pos="2" rst="0">
  25025. <comment>
  25026. <br/>
  25027. <br>AHB Error Mask (AHBErrMsk)</br>
  25028. <br>In scatter/gather DMA mode for host, </br>
  25029. <br>interrupts will not be generated due to the corresponding bits set in </br>
  25030. <br>HCINTn.</br>
  25031. </comment>
  25032. </bits>
  25033. <bits access="rw" name="bnaintrmsk" pos="11" rst="0">
  25034. <comment>
  25035. <br/>
  25036. <br>BNA (Buffer Not Available) Interrupt mask register (BNAIntrMsk) </br>
  25037. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  25038. </comment>
  25039. </bits>
  25040. <bits access="rw" name="desc_lst_rollintrmsk" pos="13" rst="0">
  25041. <comment>
  25042. <br/>
  25043. <br>Descriptor List rollover interrupt Mask register(DESC_LST_ROLLIntrMsk)</br>
  25044. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  25045. </comment>
  25046. </bits>
  25047. </reg>
  25048. <reg name="hctsiz0" protect="rw">
  25049. <comment>Host Channel 0 Transfer Size Register</comment>
  25050. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  25051. <comment>
  25052. <br>Transfer Size (XferSize)</br>
  25053. <br/>
  25054. <br>For an OUT, this field is the number of data bytes the host sends during the transfer.</br>
  25055. <br/>
  25056. <br>For an IN, this field is the buffer size that the application has Reserved for the transfer. The application is expected to program this field as an integer multiple of the maximum packet size for IN transactions (periodic and non-periodic).</br>
  25057. <br/>
  25058. <br>The width of this counter is specified as Width of Transfer Size Counters during coreConsultant configuration (parameter OTG_TRANS_COUNT_WIDTH).</br>
  25059. </comment>
  25060. </bits>
  25061. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  25062. <comment>
  25063. <br>Packet Count (PktCnt)</br>
  25064. <br/>
  25065. <br>This field is programmed by the application with the expected number of packets to be transmitted (OUT) or received (IN).</br>
  25066. <br/>
  25067. <br>The host decrements this count on every successful transmission or reception of an OUT/IN packet. Once this count reaches zero, the application is interrupted to indicate normal completion.</br>
  25068. <br/>
  25069. <br>The width of this counter is specified as Width of Packet Counters during coreConsultant configuration (parameter OTG_PACKET_COUNT_WIDTH).</br>
  25070. </comment>
  25071. </bits>
  25072. <bits access="rw" name="pid" pos="30:29" rst="0">
  25073. <comment>
  25074. <br>PID (Pid)</br>
  25075. <br/>
  25076. <br>The application programs this field with the type of PID to use for the initial transaction. The host maintains this field for the rest of the transfer.</br>
  25077. <br> - 2'b00: DATA0</br>
  25078. <br> - 2'b01: DATA2</br>
  25079. <br> - 2'b10: DATA1</br>
  25080. <br> - 2'b11: MDATA (non-control)/SETUP (control)</br>
  25081. </comment>
  25082. </bits>
  25083. <bits access="rw" name="dopng" pos="31" rst="0">
  25084. <comment>
  25085. <br>Do Ping (DoPng)</br>
  25086. <br/>
  25087. <br>This bit is used only for OUT transfers.</br>
  25088. <br>Setting this field to 1 directs the host to do PING protocol.</br>
  25089. <br/>
  25090. <br>Note: Do not set this bit for IN transfers. If this bit is set for for IN transfers it disables the channel.</br>
  25091. </comment>
  25092. </bits>
  25093. </reg>
  25094. <reg name="hcdma0" protect="rw">
  25095. <comment>&quot;Host Channel $i DMA Address Register&quot;
  25096. This register is used by the OTG host in the internal DMA mode to maintain the current buffer pointer for IN/OUT transactions. The starting DMA address must be DWORD-aligned.</comment>
  25097. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  25098. <comment>
  25099. <br>In Buffer DMA Mode:</br>
  25100. <br/>
  25101. <br>[31:0]: DMA Address (DMAAddr)</br>
  25102. <br/>
  25103. <br>This field holds the start address in the external memory from which the data for the endpoint must be fetched or to which it must be stored. This register is incremented on every AHB transaction.</br>
  25104. <br/>
  25105. <br>Reset: X if not programmed as the register is in SPRAM.</br>
  25106. <br/>
  25107. <br>In Scatter-Gather DMA (DescDMA) Mode for Non-Isochronous:</br>
  25108. <br/>
  25109. <br>[31:9]: DMA Address (DMAAddr)</br>
  25110. <br/>
  25111. <br>The start address must be 512-bytes aligned.</br>
  25112. <br/>
  25113. <br>This field holds the start address of the 512 bytes page. The first descriptor in the list should be located in this address. The first descriptor may be or may not be ready. The core starts processing the list from the CTD value. </br>
  25114. <br/>
  25115. <br>[8:3]: Current Transfer Desc(CTD)</br>
  25116. <br/>
  25117. <br>This value is in terms of number of descriptors. The values can be from 0 to 63. </br>
  25118. <br> - 0 - 1 descriptor. </br>
  25119. <br> - 63 - 64 descriptors. </br>
  25120. <br>This field indicates the current descriptor processed in the list. This field is updated both by application and the core. For example, if the application enables the channel after programming CTD=5, then the core will start processing the sixth descriptor. The address is obtained by adding a value of (8bytes*5=) 40(decimal) to DMAAddr.</br>
  25121. <br/>
  25122. <br>Reset: 6'h0</br>
  25123. <br/>
  25124. <br>[2:0]: Reserved</br>
  25125. <br/>
  25126. <br>In Scatter-Gather DMA (DescDMA) Mode for Isochronous:</br>
  25127. <br/>
  25128. <br>[31:N]: DMA Address (DMAAddr)</br>
  25129. <br/>
  25130. <br>The start address must be 512-bytes aligned.</br>
  25131. <br/>
  25132. <br>This field holds the address of the 2*(nTD+1) bytes of locations in which the isochronous descriptors are present where N is based on nTD as follows:</br>
  25133. <br> - [31:N]: Base Address</br>
  25134. <br> - [N-1:3]: Offset</br>
  25135. <br> - [2:0]: 000</br>
  25136. <br>For HS ISOC, if nTD is,</br>
  25137. <br> - 7, N=6</br>
  25138. <br> - 15, N=7</br>
  25139. <br> - 31, N=8</br>
  25140. <br> - 63, N=9</br>
  25141. <br> - 127, N=10</br>
  25142. <br> - 255, N=11</br>
  25143. <br>For FS ISOC, if nTD is, </br>
  25144. <br> - 1, N=4</br>
  25145. <br> - 3, N=5</br>
  25146. <br> - 7, N=6</br>
  25147. <br> - 15, N=7</br>
  25148. <br> - 31, N=8</br>
  25149. <br> - 63, N=9</br>
  25150. <br>[N-1:3]: Current Transfer Desc(CTD)</br>
  25151. <br/>
  25152. <br>CTD for isochronous is based on the current frame/(micro)frame value. Need to be set to zero by application.</br>
  25153. <br/>
  25154. <br>Reset: (N+1:3)'h0</br>
  25155. <br/>
  25156. <br>[2:0]: Reserved</br>
  25157. </comment>
  25158. </bits>
  25159. </reg>
  25160. <hole size="32"/>
  25161. <reg name="hcdmab0" protect="r">
  25162. <comment>&quot;Host Channel $i DMA Buffer Address Register&quot;
  25163. This register is present only in case of Scatter/Gather DMA. It is implemented in RAM instead of flop-based implementation. This register holds the current buffer address.</comment>
  25164. <bits access="r" name="hcdmab" pos="31:0" rst="0">
  25165. <comment>
  25166. <br>Holds the current buffer address.</br>
  25167. <br>This register is updated as and when the data transfer for the corresponding end point </br>
  25168. <br>is in progress. This register is present only in Scatter/Gather DMA mode. Otherwise this </br>
  25169. <br>field is reserved.</br>
  25170. </comment>
  25171. </bits>
  25172. </reg>
  25173. <reg name="hcchar1" protect="rw">
  25174. <comment>Host Channel 1 Characteristics Register</comment>
  25175. <bits access="rw" name="mps" pos="10:0" rst="0">
  25176. <comment>
  25177. <br>Maximum Packet Size (MPS)</br>
  25178. <br/>
  25179. <br>Indicates the maximum packet size of the associated endpoint.</br>
  25180. </comment>
  25181. </bits>
  25182. <bits access="rw" name="epnum" pos="14:11" rst="0">
  25183. <comment>
  25184. <br>Endpoint Number (EPNum)</br>
  25185. <br/>
  25186. <br>Indicates the endpoint number on the device serving as the data source or sink.</br>
  25187. </comment>
  25188. </bits>
  25189. <bits access="rw" name="epdir" pos="15" rst="0">
  25190. <comment>
  25191. <br>Endpoint Direction (EPDir)</br>
  25192. <br/>
  25193. <br>Indicates whether the transaction is IN or OUT.</br>
  25194. <br> - 1'b0: OUT</br>
  25195. <br> - 1'b1: IN</br>
  25196. </comment>
  25197. </bits>
  25198. <bits access="rw" name="lspddev" pos="17" rst="0">
  25199. <comment>
  25200. <br>Low-Speed Device (LSpdDev)</br>
  25201. <br/>
  25202. <br>This field is Set by the application to indicate that this channel is communicating to a low-speed device.</br>
  25203. <br/>
  25204. <br>The application must program this bit when a low speed device is connected to the host through an FS HUB. The DWC_otg Host core uses this field to drive the XCVR_SELECT signal to 2'b11 while communicating to the LS Device through the FS hub.</br>
  25205. <br/>
  25206. <br>Note: In a peer to peer setup, the DWC_otg Host core ignores this bit even if it is set by the application software.</br>
  25207. </comment>
  25208. </bits>
  25209. <bits access="rw" name="eptype" pos="19:18" rst="0">
  25210. <comment>
  25211. <br>Endpoint Type (EPType)</br>
  25212. <br/>
  25213. <br>Indicates the transfer type selected.</br>
  25214. <br> - 2'b00: Control</br>
  25215. <br> - 2'b01: Isochronous</br>
  25216. <br> - 2'b10: Bulk</br>
  25217. <br> - 2'b11: Interrupt</br>
  25218. </comment>
  25219. </bits>
  25220. <bits access="rw" name="ec" pos="21:20" rst="0">
  25221. <comment>
  25222. <br>Multi Count (MC) / Error Count (EC)</br>
  25223. <br/>
  25224. <br>When the Split Enable bit of the Host Channel-n Split Control</br>
  25225. <br>register (HCSPLTn.SpltEna) is reset (1'b0), this field indicates to</br>
  25226. <br>the host the number of transactions that must be executed per</br>
  25227. <br>microframe for this periodic endpoint. For non periodic transfers,</br>
  25228. <br>this field is used only in DMA mode, and specifies the number</br>
  25229. <br>packets to be fetched for this channel before the internal DMA</br>
  25230. <br>engine changes arbitration.</br>
  25231. <br> - 2'b00: Reserved This field yields undefined results.</br>
  25232. <br> - 2'b01: 1 transaction</br>
  25233. <br> - 2'b10: 2 transactions to be issued for this endpoint per microframe</br>
  25234. <br> - 2'b11: 3 transactions to be issued for this endpoint per microframe</br>
  25235. <br>When HCSPLTn.SpltEna is Set (1'b1), this field indicates the</br>
  25236. <br>number of immediate retries to be performed for a periodic split</br>
  25237. <br>transactions on transaction errors. This field must be Set to at</br>
  25238. <br>least 2'b01.</br>
  25239. </comment>
  25240. </bits>
  25241. <bits access="rw" name="devaddr" pos="28:22" rst="0">
  25242. <comment>
  25243. <br>Device Address (DevAddr)</br>
  25244. <br/>
  25245. <br>This field selects the specific device serving as the data source</br>
  25246. <br>or sink.</br>
  25247. </comment>
  25248. </bits>
  25249. <bits access="rw" name="oddfrm" pos="29" rst="0">
  25250. <comment>
  25251. <br>Odd Frame (OddFrm)</br>
  25252. <br/>
  25253. <br>This field is set (reset) by the application to indicate that the OTG host must perform </br>
  25254. <br>a transfer in an odd (micro)Frame. This field is applicable for only periodic </br>
  25255. <br>(isochronous and interrupt) transactions.</br>
  25256. <br> - 1'b0: Even (micro)Frame</br>
  25257. <br> - 1'b1: Odd (micro)Frame</br>
  25258. <br/>
  25259. </comment>
  25260. </bits>
  25261. <bits access="rw" name="chdis" pos="30" rst="0">
  25262. <comment>
  25263. <br>Channel Disable (ChDis)</br>
  25264. <br/>
  25265. <br>The application sets this bit to stop transmitting/receiving data</br>
  25266. <br>on a channel, even before the transfer for that channel is</br>
  25267. <br>complete. The application must wait for the Channel Disabled</br>
  25268. <br>interrupt before treating the channel as disabled.</br>
  25269. </comment>
  25270. </bits>
  25271. <bits access="rw" name="chena" pos="31" rst="0">
  25272. <comment>
  25273. <br>Channel Enable (ChEna)</br>
  25274. <br/>
  25275. <br>When Scatter/Gather mode is enabled </br>
  25276. <br> - 1'b0: Indicates that the descriptor structure is not yet ready. </br>
  25277. <br> - 1'b1: Indicates that the descriptor structure and data buffer with data is setup and this channel can access the descriptor. </br>
  25278. <br>When Scatter/Gather mode is disabled </br>
  25279. <br/>
  25280. <br> This field is set by the application and cleared by the OTG host. </br>
  25281. <br> - 1'b0: Channel disabled </br>
  25282. <br> - 1'b1: Channel enabled</br>
  25283. </comment>
  25284. </bits>
  25285. </reg>
  25286. <reg name="hcsplt1" protect="rw">
  25287. <comment>Host Channel 1 Split Control Register</comment>
  25288. <bits access="rw" name="prtaddr" pos="6:0" rst="0">
  25289. <comment>
  25290. <br>Port Address (PrtAddr)</br>
  25291. <br/>
  25292. <br>This field is the port number of the recipient transaction translator.</br>
  25293. </comment>
  25294. </bits>
  25295. <bits access="rw" name="hubaddr" pos="13:7" rst="0">
  25296. <comment>
  25297. <br>Hub Address (HubAddr)</br>
  25298. <br/>
  25299. <br>This field holds the device address of the transaction translator's hub.</br>
  25300. </comment>
  25301. </bits>
  25302. <bits access="rw" name="xactpos" pos="15:14" rst="0">
  25303. <comment>
  25304. <br>Transaction Position (XactPos)</br>
  25305. <br/>
  25306. <br>This field is used to determine whether to send all, first, middle, or last payloads with each OUT transaction.</br>
  25307. <br> - 2'b11: All. This is the entire data payload is of this transaction (which is less than or equal to 188 bytes).</br>
  25308. <br> - 2'b10: Begin. This is the first data payload of this transaction (which is larger than 188 bytes).</br>
  25309. <br> - 2'b00: Mid. This is the middle payload of this transaction (which is larger than 188 bytes).</br>
  25310. <br> - 2'b01: End. This is the last payload of this transaction (which is larger than 188 bytes).</br>
  25311. </comment>
  25312. </bits>
  25313. <bits access="rw" name="compsplt" pos="16" rst="0">
  25314. <comment>
  25315. <br>Do Complete Split (CompSplt)</br>
  25316. <br/>
  25317. <br>The application sets this field to request the OTG host to perform a complete split transaction.</br>
  25318. </comment>
  25319. </bits>
  25320. <bits access="rw" name="spltena" pos="31" rst="0">
  25321. <comment>
  25322. <br>Split Enable (SpltEna)</br>
  25323. <br/>
  25324. <br>The application sets this field to indicate that this channel is enabled to perform split transactions.</br>
  25325. </comment>
  25326. </bits>
  25327. </reg>
  25328. <reg name="hcint1" protect="rw">
  25329. <comment>&quot;Host Channel $i Interrupt Register&quot;
  25330. This register indicates the status of a channel with respect to USB- and AHB-related events. It is shown in the &quot;Interrupt Hierarchy&quot; figure in the databook. The application must read this register when the Host Channels Interrupt bit of the Core Interrupt register (GINTSTS.HChInt) is set. Before the application can read this register, it must first read the Host All Channels Interrupt (HAINT) register to get the exact channel number for the Host Channel-n Interrupt register. The application must clear the appropriate bit in this register to clear the corresponding bits in the HAINT and GINTSTS registers.</comment>
  25331. <bits access="rw" name="xfercompl" pos="0" rst="0">
  25332. <comment>
  25333. <br>Transfer Completed (XferCompl)</br>
  25334. <br/>
  25335. <br>Transfer completed normally without any errors.This bit can be set only by the core and the application should write 1 to clear it.</br>
  25336. <br> - For Scatter/Gather DMA mode, it indicates that current descriptor processing got completed with IOC bit set in its descriptor.</br>
  25337. <br> - In non Scatter/Gather DMA mode, it indicates that Transfer completed normally without any errors.</br>
  25338. <br/>
  25339. </comment>
  25340. </bits>
  25341. <bits access="rw" name="chhltd" pos="1" rst="0">
  25342. <comment>
  25343. <br>Channel Halted (ChHltd)</br>
  25344. <br/>
  25345. <br>In non Scatter/Gather DMA mode, it indicates the transfer completed abnormally either because of any USB transaction error or in response to disable request by the application or because of a completed transfer.</br>
  25346. <br/>
  25347. <br>In Scatter/gather DMA mode, this indicates that transfer completed due to any of the following</br>
  25348. <br> - EOL being set in descriptor</br>
  25349. <br> - AHB error</br>
  25350. <br> - Excessive transaction errors</br>
  25351. <br> - Babble</br>
  25352. <br> - Stall</br>
  25353. <br/>
  25354. </comment>
  25355. </bits>
  25356. <bits access="rw" name="ahberr" pos="2" rst="0">
  25357. <comment>
  25358. <br>AHB Error (AHBErr)</br>
  25359. <br/>
  25360. <br>This is generated only in Internal DMA mode when there is an AHB error during AHB read/write. The application can read the corresponding channel's DMA address register to get the error address.</br>
  25361. </comment>
  25362. </bits>
  25363. <bits access="rw" name="stall" pos="3" rst="0">
  25364. <comment>
  25365. <br>STALL Response Received Interrupt (STALL)</br>
  25366. <br/>
  25367. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  25368. </comment>
  25369. </bits>
  25370. <bits access="rw" name="nak" pos="4" rst="0">
  25371. <comment>
  25372. <br>NAK Response Received Interrupt (NAK)</br>
  25373. <br/>
  25374. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  25375. </comment>
  25376. </bits>
  25377. <bits access="rw" name="ack" pos="5" rst="0">
  25378. <comment>
  25379. <br>ACK Response Received/Transmitted Interrupt (ACK)</br>
  25380. <br/>
  25381. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  25382. </comment>
  25383. </bits>
  25384. <bits access="rw" name="nyet" pos="6" rst="0">
  25385. <comment>
  25386. <br>NYET Response Received Interrupt (NYET)</br>
  25387. <br/>
  25388. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  25389. </comment>
  25390. </bits>
  25391. <bits access="rw" name="xacterr" pos="7" rst="0">
  25392. <comment>
  25393. <br>Transaction Error (XactErr)</br>
  25394. <br/>
  25395. <br>Indicates one of the following errors occurred on the USB.</br>
  25396. <br> - CRC check failure</br>
  25397. <br> - Timeout</br>
  25398. <br> - Bit stuff error</br>
  25399. <br> - False EOP</br>
  25400. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  25401. </comment>
  25402. </bits>
  25403. <bits access="rw" name="bblerr" pos="8" rst="0">
  25404. <comment>
  25405. <br>Babble Error (BblErr)</br>
  25406. <br/>
  25407. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core. This bit can be set only by the core and the application should write 1 to clear it.</br>
  25408. </comment>
  25409. </bits>
  25410. <bits access="rw" name="frmovrun" pos="9" rst="0">
  25411. <comment>
  25412. <br>Frame Overrun (FrmOvrun).</br>
  25413. <br/>
  25414. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked </br>
  25415. <br>in the core. This bit can be set only by the core and the application should write 1 to clear</br>
  25416. <br>it.</br>
  25417. </comment>
  25418. </bits>
  25419. <bits access="rw" name="datatglerr" pos="10" rst="0">
  25420. <comment>
  25421. <br/>
  25422. <br>Data Toggle Error (DataTglErr).This bit can be set only by the core and the application should write 1 to clear</br>
  25423. <br>it.In Scatter/Gather DMA mode, the interrupt due to this bit is masked </br>
  25424. <br>in the core.</br>
  25425. </comment>
  25426. </bits>
  25427. <bits access="rw" name="bnaintr" pos="11" rst="0">
  25428. <comment>
  25429. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  25430. <br/>
  25431. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. </br>
  25432. <br>The core generates this interrupt when the descriptor accessed </br>
  25433. <br>is not ready for the Core to process. BNA will not be generated </br>
  25434. <br>for Isochronous channels.</br>
  25435. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  25436. </comment>
  25437. </bits>
  25438. <bits access="rw" name="xcs_xact_err" pos="12" rst="0">
  25439. <comment>
  25440. <br>Excessive Transaction Error (XCS_XACT_ERR)</br>
  25441. <br/>
  25442. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. The core sets this bit </br>
  25443. <br>when 3 consecutive transaction errors occurred on the USB bus. XCS_XACT_ERR will </br>
  25444. <br>not be generated for Isochronous channels.</br>
  25445. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  25446. </comment>
  25447. </bits>
  25448. <bits access="rw" name="desc_lst_rollintr" pos="13" rst="0">
  25449. <comment>
  25450. <br>Descriptor rollover interrupt (DESC_LST_ROLLIntr)</br>
  25451. <br/>
  25452. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. The core sets this bit </br>
  25453. <br>when the corresponding channel's descriptor list rolls over.</br>
  25454. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  25455. </comment>
  25456. </bits>
  25457. </reg>
  25458. <reg name="hcintmsk1" protect="rw">
  25459. <comment>&quot;Host Channel $i Interrupt Mask Register&quot;
  25460. This register reflects the mask for each channel status described in the previous section.</comment>
  25461. <bits access="rw" name="xfercomplmsk" pos="0" rst="0">
  25462. <comment>
  25463. <br/>
  25464. <br>Transfer Completed Mask (XferComplMsk)</br>
  25465. </comment>
  25466. </bits>
  25467. <bits access="rw" name="chhltdmsk" pos="1" rst="0">
  25468. <comment>
  25469. <br/>
  25470. <br>Channel Halted Mask (ChHltdMsk)</br>
  25471. </comment>
  25472. </bits>
  25473. <bits access="rw" name="ahberrmsk" pos="2" rst="0">
  25474. <comment>
  25475. <br/>
  25476. <br>AHB Error Mask (AHBErrMsk)</br>
  25477. <br>In scatter/gather DMA mode for host, </br>
  25478. <br>interrupts will not be generated due to the corresponding bits set in </br>
  25479. <br>HCINTn.</br>
  25480. </comment>
  25481. </bits>
  25482. <bits access="rw" name="bnaintrmsk" pos="11" rst="0">
  25483. <comment>
  25484. <br/>
  25485. <br>BNA (Buffer Not Available) Interrupt mask register (BNAIntrMsk) </br>
  25486. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  25487. </comment>
  25488. </bits>
  25489. <bits access="rw" name="desc_lst_rollintrmsk" pos="13" rst="0">
  25490. <comment>
  25491. <br/>
  25492. <br>Descriptor List rollover interrupt Mask register(DESC_LST_ROLLIntrMsk)</br>
  25493. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  25494. </comment>
  25495. </bits>
  25496. </reg>
  25497. <reg name="hctsiz1" protect="rw">
  25498. <comment>Host Channel 1 Transfer Size Register</comment>
  25499. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  25500. <comment>
  25501. <br>Transfer Size (XferSize)</br>
  25502. <br/>
  25503. <br>For an OUT, this field is the number of data bytes the host sends during the transfer.</br>
  25504. <br/>
  25505. <br>For an IN, this field is the buffer size that the application has Reserved for the transfer. The application is expected to program this field as an integer multiple of the maximum packet size for IN transactions (periodic and non-periodic).</br>
  25506. <br/>
  25507. <br>The width of this counter is specified as Width of Transfer Size Counters during coreConsultant configuration (parameter OTG_TRANS_COUNT_WIDTH).</br>
  25508. </comment>
  25509. </bits>
  25510. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  25511. <comment>
  25512. <br>Packet Count (PktCnt)</br>
  25513. <br/>
  25514. <br>This field is programmed by the application with the expected number of packets to be transmitted (OUT) or received (IN).</br>
  25515. <br/>
  25516. <br>The host decrements this count on every successful transmission or reception of an OUT/IN packet. Once this count reaches zero, the application is interrupted to indicate normal completion.</br>
  25517. <br/>
  25518. <br>The width of this counter is specified as Width of Packet Counters during coreConsultant configuration (parameter OTG_PACKET_COUNT_WIDTH).</br>
  25519. </comment>
  25520. </bits>
  25521. <bits access="rw" name="pid" pos="30:29" rst="0">
  25522. <comment>
  25523. <br>PID (Pid)</br>
  25524. <br/>
  25525. <br>The application programs this field with the type of PID to use for the initial transaction. The host maintains this field for the rest of the transfer.</br>
  25526. <br> - 2'b00: DATA0</br>
  25527. <br> - 2'b01: DATA2</br>
  25528. <br> - 2'b10: DATA1</br>
  25529. <br> - 2'b11: MDATA (non-control)/SETUP (control)</br>
  25530. </comment>
  25531. </bits>
  25532. <bits access="rw" name="dopng" pos="31" rst="0">
  25533. <comment>
  25534. <br>Do Ping (DoPng)</br>
  25535. <br/>
  25536. <br>This bit is used only for OUT transfers.</br>
  25537. <br>Setting this field to 1 directs the host to do PING protocol.</br>
  25538. <br/>
  25539. <br>Note: Do not set this bit for IN transfers. If this bit is set for for IN transfers it disables the channel.</br>
  25540. </comment>
  25541. </bits>
  25542. </reg>
  25543. <reg name="hcdma1" protect="rw">
  25544. <comment>&quot;Host Channel $i DMA Address Register&quot;
  25545. This register is used by the OTG host in the internal DMA mode to maintain the current buffer pointer for IN/OUT transactions. The starting DMA address must be DWORD-aligned.</comment>
  25546. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  25547. <comment>
  25548. <br>In Buffer DMA Mode:</br>
  25549. <br/>
  25550. <br>[31:0]: DMA Address (DMAAddr)</br>
  25551. <br/>
  25552. <br>This field holds the start address in the external memory from which the data for the endpoint must be fetched or to which it must be stored. This register is incremented on every AHB transaction.</br>
  25553. <br/>
  25554. <br>Reset: X if not programmed as the register is in SPRAM.</br>
  25555. <br/>
  25556. <br>In Scatter-Gather DMA (DescDMA) Mode for Non-Isochronous:</br>
  25557. <br/>
  25558. <br>[31:9]: DMA Address (DMAAddr)</br>
  25559. <br/>
  25560. <br>The start address must be 512-bytes aligned.</br>
  25561. <br/>
  25562. <br>This field holds the start address of the 512 bytes page. The first descriptor in the list should be located in this address. The first descriptor may be or may not be ready. The core starts processing the list from the CTD value. </br>
  25563. <br/>
  25564. <br>[8:3]: Current Transfer Desc(CTD)</br>
  25565. <br/>
  25566. <br>This value is in terms of number of descriptors. The values can be from 0 to 63. </br>
  25567. <br> - 0 - 1 descriptor. </br>
  25568. <br> - 63 - 64 descriptors. </br>
  25569. <br>This field indicates the current descriptor processed in the list. This field is updated both by application and the core. For example, if the application enables the channel after programming CTD=5, then the core will start processing the sixth descriptor. The address is obtained by adding a value of (8bytes*5=) 40(decimal) to DMAAddr.</br>
  25570. <br/>
  25571. <br>Reset: 6'h0</br>
  25572. <br/>
  25573. <br>[2:0]: Reserved</br>
  25574. <br/>
  25575. <br>In Scatter-Gather DMA (DescDMA) Mode for Isochronous:</br>
  25576. <br/>
  25577. <br>[31:N]: DMA Address (DMAAddr)</br>
  25578. <br/>
  25579. <br>The start address must be 512-bytes aligned.</br>
  25580. <br/>
  25581. <br>This field holds the address of the 2*(nTD+1) bytes of locations in which the isochronous descriptors are present where N is based on nTD as follows:</br>
  25582. <br> - [31:N]: Base Address</br>
  25583. <br> - [N-1:3]: Offset</br>
  25584. <br> - [2:0]: 000</br>
  25585. <br>For HS ISOC, if nTD is,</br>
  25586. <br> - 7, N=6</br>
  25587. <br> - 15, N=7</br>
  25588. <br> - 31, N=8</br>
  25589. <br> - 63, N=9</br>
  25590. <br> - 127, N=10</br>
  25591. <br> - 255, N=11</br>
  25592. <br>For FS ISOC, if nTD is, </br>
  25593. <br> - 1, N=4</br>
  25594. <br> - 3, N=5</br>
  25595. <br> - 7, N=6</br>
  25596. <br> - 15, N=7</br>
  25597. <br> - 31, N=8</br>
  25598. <br> - 63, N=9</br>
  25599. <br>[N-1:3]: Current Transfer Desc(CTD)</br>
  25600. <br/>
  25601. <br>CTD for isochronous is based on the current frame/(micro)frame value. Need to be set to zero by application.</br>
  25602. <br/>
  25603. <br>Reset: (N+1:3)'h0</br>
  25604. <br/>
  25605. <br>[2:0]: Reserved</br>
  25606. </comment>
  25607. </bits>
  25608. </reg>
  25609. <hole size="32"/>
  25610. <reg name="hcdmab1" protect="r">
  25611. <comment>&quot;Host Channel $i DMA Buffer Address Register&quot;
  25612. This register is present only in case of Scatter/Gather DMA. It is implemented in RAM instead of flop-based implementation. This register holds the current buffer address.</comment>
  25613. <bits access="r" name="hcdmab" pos="31:0" rst="0">
  25614. <comment>
  25615. <br>Holds the current buffer address.</br>
  25616. <br>This register is updated as and when the data transfer for the corresponding end point </br>
  25617. <br>is in progress. This register is present only in Scatter/Gather DMA mode. Otherwise this </br>
  25618. <br>field is reserved.</br>
  25619. </comment>
  25620. </bits>
  25621. </reg>
  25622. <reg name="hcchar2" protect="rw">
  25623. <comment>Host Channel 2 Characteristics Register</comment>
  25624. <bits access="rw" name="mps" pos="10:0" rst="0">
  25625. <comment>
  25626. <br>Maximum Packet Size (MPS)</br>
  25627. <br/>
  25628. <br>Indicates the maximum packet size of the associated endpoint.</br>
  25629. </comment>
  25630. </bits>
  25631. <bits access="rw" name="epnum" pos="14:11" rst="0">
  25632. <comment>
  25633. <br>Endpoint Number (EPNum)</br>
  25634. <br/>
  25635. <br>Indicates the endpoint number on the device serving as the data source or sink.</br>
  25636. </comment>
  25637. </bits>
  25638. <bits access="rw" name="epdir" pos="15" rst="0">
  25639. <comment>
  25640. <br>Endpoint Direction (EPDir)</br>
  25641. <br/>
  25642. <br>Indicates whether the transaction is IN or OUT.</br>
  25643. <br> - 1'b0: OUT</br>
  25644. <br> - 1'b1: IN</br>
  25645. </comment>
  25646. </bits>
  25647. <bits access="rw" name="lspddev" pos="17" rst="0">
  25648. <comment>
  25649. <br>Low-Speed Device (LSpdDev)</br>
  25650. <br/>
  25651. <br>This field is Set by the application to indicate that this channel is communicating to a low-speed device.</br>
  25652. <br/>
  25653. <br>The application must program this bit when a low speed device is connected to the host through an FS HUB. The DWC_otg Host core uses this field to drive the XCVR_SELECT signal to 2'b11 while communicating to the LS Device through the FS hub.</br>
  25654. <br/>
  25655. <br>Note: In a peer to peer setup, the DWC_otg Host core ignores this bit even if it is set by the application software.</br>
  25656. </comment>
  25657. </bits>
  25658. <bits access="rw" name="eptype" pos="19:18" rst="0">
  25659. <comment>
  25660. <br>Endpoint Type (EPType)</br>
  25661. <br/>
  25662. <br>Indicates the transfer type selected.</br>
  25663. <br> - 2'b00: Control</br>
  25664. <br> - 2'b01: Isochronous</br>
  25665. <br> - 2'b10: Bulk</br>
  25666. <br> - 2'b11: Interrupt</br>
  25667. </comment>
  25668. </bits>
  25669. <bits access="rw" name="ec" pos="21:20" rst="0">
  25670. <comment>
  25671. <br>Multi Count (MC) / Error Count (EC)</br>
  25672. <br/>
  25673. <br>When the Split Enable bit of the Host Channel-n Split Control</br>
  25674. <br>register (HCSPLTn.SpltEna) is reset (1'b0), this field indicates to</br>
  25675. <br>the host the number of transactions that must be executed per</br>
  25676. <br>microframe for this periodic endpoint. For non periodic transfers,</br>
  25677. <br>this field is used only in DMA mode, and specifies the number</br>
  25678. <br>packets to be fetched for this channel before the internal DMA</br>
  25679. <br>engine changes arbitration.</br>
  25680. <br> - 2'b00: Reserved This field yields undefined results.</br>
  25681. <br> - 2'b01: 1 transaction</br>
  25682. <br> - 2'b10: 2 transactions to be issued for this endpoint per microframe</br>
  25683. <br> - 2'b11: 3 transactions to be issued for this endpoint per microframe</br>
  25684. <br>When HCSPLTn.SpltEna is Set (1'b1), this field indicates the</br>
  25685. <br>number of immediate retries to be performed for a periodic split</br>
  25686. <br>transactions on transaction errors. This field must be Set to at</br>
  25687. <br>least 2'b01.</br>
  25688. </comment>
  25689. </bits>
  25690. <bits access="rw" name="devaddr" pos="28:22" rst="0">
  25691. <comment>
  25692. <br>Device Address (DevAddr)</br>
  25693. <br/>
  25694. <br>This field selects the specific device serving as the data source</br>
  25695. <br>or sink.</br>
  25696. </comment>
  25697. </bits>
  25698. <bits access="rw" name="oddfrm" pos="29" rst="0">
  25699. <comment>
  25700. <br>Odd Frame (OddFrm)</br>
  25701. <br/>
  25702. <br>This field is set (reset) by the application to indicate that the OTG host must perform </br>
  25703. <br>a transfer in an odd (micro)Frame. This field is applicable for only periodic </br>
  25704. <br>(isochronous and interrupt) transactions.</br>
  25705. <br> - 1'b0: Even (micro)Frame</br>
  25706. <br> - 1'b1: Odd (micro)Frame</br>
  25707. <br/>
  25708. </comment>
  25709. </bits>
  25710. <bits access="rw" name="chdis" pos="30" rst="0">
  25711. <comment>
  25712. <br>Channel Disable (ChDis)</br>
  25713. <br/>
  25714. <br>The application sets this bit to stop transmitting/receiving data</br>
  25715. <br>on a channel, even before the transfer for that channel is</br>
  25716. <br>complete. The application must wait for the Channel Disabled</br>
  25717. <br>interrupt before treating the channel as disabled.</br>
  25718. </comment>
  25719. </bits>
  25720. <bits access="rw" name="chena" pos="31" rst="0">
  25721. <comment>
  25722. <br>Channel Enable (ChEna)</br>
  25723. <br/>
  25724. <br>When Scatter/Gather mode is enabled </br>
  25725. <br> - 1'b0: Indicates that the descriptor structure is not yet ready. </br>
  25726. <br> - 1'b1: Indicates that the descriptor structure and data buffer with data is setup and this channel can access the descriptor. </br>
  25727. <br>When Scatter/Gather mode is disabled </br>
  25728. <br/>
  25729. <br> This field is set by the application and cleared by the OTG host. </br>
  25730. <br> - 1'b0: Channel disabled </br>
  25731. <br> - 1'b1: Channel enabled</br>
  25732. </comment>
  25733. </bits>
  25734. </reg>
  25735. <reg name="hcsplt2" protect="rw">
  25736. <comment>Host Channel 2 Split Control Register</comment>
  25737. <bits access="rw" name="prtaddr" pos="6:0" rst="0">
  25738. <comment>
  25739. <br>Port Address (PrtAddr)</br>
  25740. <br/>
  25741. <br>This field is the port number of the recipient transaction translator.</br>
  25742. </comment>
  25743. </bits>
  25744. <bits access="rw" name="hubaddr" pos="13:7" rst="0">
  25745. <comment>
  25746. <br>Hub Address (HubAddr)</br>
  25747. <br/>
  25748. <br>This field holds the device address of the transaction translator's hub.</br>
  25749. </comment>
  25750. </bits>
  25751. <bits access="rw" name="xactpos" pos="15:14" rst="0">
  25752. <comment>
  25753. <br>Transaction Position (XactPos)</br>
  25754. <br/>
  25755. <br>This field is used to determine whether to send all, first, middle, or last payloads with each OUT transaction.</br>
  25756. <br> - 2'b11: All. This is the entire data payload is of this transaction (which is less than or equal to 188 bytes).</br>
  25757. <br> - 2'b10: Begin. This is the first data payload of this transaction (which is larger than 188 bytes).</br>
  25758. <br> - 2'b00: Mid. This is the middle payload of this transaction (which is larger than 188 bytes).</br>
  25759. <br> - 2'b01: End. This is the last payload of this transaction (which is larger than 188 bytes).</br>
  25760. </comment>
  25761. </bits>
  25762. <bits access="rw" name="compsplt" pos="16" rst="0">
  25763. <comment>
  25764. <br>Do Complete Split (CompSplt)</br>
  25765. <br/>
  25766. <br>The application sets this field to request the OTG host to perform a complete split transaction.</br>
  25767. </comment>
  25768. </bits>
  25769. <bits access="rw" name="spltena" pos="31" rst="0">
  25770. <comment>
  25771. <br>Split Enable (SpltEna)</br>
  25772. <br/>
  25773. <br>The application sets this field to indicate that this channel is enabled to perform split transactions.</br>
  25774. </comment>
  25775. </bits>
  25776. </reg>
  25777. <reg name="hcint2" protect="rw">
  25778. <comment>&quot;Host Channel $i Interrupt Register&quot;
  25779. This register indicates the status of a channel with respect to USB- and AHB-related events. It is shown in the &quot;Interrupt Hierarchy&quot; figure in the databook. The application must read this register when the Host Channels Interrupt bit of the Core Interrupt register (GINTSTS.HChInt) is set. Before the application can read this register, it must first read the Host All Channels Interrupt (HAINT) register to get the exact channel number for the Host Channel-n Interrupt register. The application must clear the appropriate bit in this register to clear the corresponding bits in the HAINT and GINTSTS registers.</comment>
  25780. <bits access="rw" name="xfercompl" pos="0" rst="0">
  25781. <comment>
  25782. <br>Transfer Completed (XferCompl)</br>
  25783. <br/>
  25784. <br>Transfer completed normally without any errors.This bit can be set only by the core and the application should write 1 to clear it.</br>
  25785. <br> - For Scatter/Gather DMA mode, it indicates that current descriptor processing got completed with IOC bit set in its descriptor.</br>
  25786. <br> - In non Scatter/Gather DMA mode, it indicates that Transfer completed normally without any errors.</br>
  25787. <br/>
  25788. </comment>
  25789. </bits>
  25790. <bits access="rw" name="chhltd" pos="1" rst="0">
  25791. <comment>
  25792. <br>Channel Halted (ChHltd)</br>
  25793. <br/>
  25794. <br>In non Scatter/Gather DMA mode, it indicates the transfer completed abnormally either because of any USB transaction error or in response to disable request by the application or because of a completed transfer.</br>
  25795. <br/>
  25796. <br>In Scatter/gather DMA mode, this indicates that transfer completed due to any of the following</br>
  25797. <br> - EOL being set in descriptor</br>
  25798. <br> - AHB error</br>
  25799. <br> - Excessive transaction errors</br>
  25800. <br> - Babble</br>
  25801. <br> - Stall</br>
  25802. <br/>
  25803. </comment>
  25804. </bits>
  25805. <bits access="rw" name="ahberr" pos="2" rst="0">
  25806. <comment>
  25807. <br>AHB Error (AHBErr)</br>
  25808. <br/>
  25809. <br>This is generated only in Internal DMA mode when there is an AHB error during AHB read/write. The application can read the corresponding channel's DMA address register to get the error address.</br>
  25810. </comment>
  25811. </bits>
  25812. <bits access="rw" name="stall" pos="3" rst="0">
  25813. <comment>
  25814. <br>STALL Response Received Interrupt (STALL)</br>
  25815. <br/>
  25816. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  25817. </comment>
  25818. </bits>
  25819. <bits access="rw" name="nak" pos="4" rst="0">
  25820. <comment>
  25821. <br>NAK Response Received Interrupt (NAK)</br>
  25822. <br/>
  25823. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  25824. </comment>
  25825. </bits>
  25826. <bits access="rw" name="ack" pos="5" rst="0">
  25827. <comment>
  25828. <br>ACK Response Received/Transmitted Interrupt (ACK)</br>
  25829. <br/>
  25830. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  25831. </comment>
  25832. </bits>
  25833. <bits access="rw" name="nyet" pos="6" rst="0">
  25834. <comment>
  25835. <br>NYET Response Received Interrupt (NYET)</br>
  25836. <br/>
  25837. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  25838. </comment>
  25839. </bits>
  25840. <bits access="rw" name="xacterr" pos="7" rst="0">
  25841. <comment>
  25842. <br>Transaction Error (XactErr)</br>
  25843. <br/>
  25844. <br>Indicates one of the following errors occurred on the USB.</br>
  25845. <br> - CRC check failure</br>
  25846. <br> - Timeout</br>
  25847. <br> - Bit stuff error</br>
  25848. <br> - False EOP</br>
  25849. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  25850. </comment>
  25851. </bits>
  25852. <bits access="rw" name="bblerr" pos="8" rst="0">
  25853. <comment>
  25854. <br>Babble Error (BblErr)</br>
  25855. <br/>
  25856. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core. This bit can be set only by the core and the application should write 1 to clear it.</br>
  25857. </comment>
  25858. </bits>
  25859. <bits access="rw" name="frmovrun" pos="9" rst="0">
  25860. <comment>
  25861. <br>Frame Overrun (FrmOvrun).</br>
  25862. <br/>
  25863. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked </br>
  25864. <br>in the core. This bit can be set only by the core and the application should write 1 to clear</br>
  25865. <br>it.</br>
  25866. </comment>
  25867. </bits>
  25868. <bits access="rw" name="datatglerr" pos="10" rst="0">
  25869. <comment>
  25870. <br/>
  25871. <br>Data Toggle Error (DataTglErr).This bit can be set only by the core and the application should write 1 to clear</br>
  25872. <br>it.In Scatter/Gather DMA mode, the interrupt due to this bit is masked </br>
  25873. <br>in the core.</br>
  25874. </comment>
  25875. </bits>
  25876. <bits access="rw" name="bnaintr" pos="11" rst="0">
  25877. <comment>
  25878. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  25879. <br/>
  25880. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. </br>
  25881. <br>The core generates this interrupt when the descriptor accessed </br>
  25882. <br>is not ready for the Core to process. BNA will not be generated </br>
  25883. <br>for Isochronous channels.</br>
  25884. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  25885. </comment>
  25886. </bits>
  25887. <bits access="rw" name="xcs_xact_err" pos="12" rst="0">
  25888. <comment>
  25889. <br>Excessive Transaction Error (XCS_XACT_ERR)</br>
  25890. <br/>
  25891. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. The core sets this bit </br>
  25892. <br>when 3 consecutive transaction errors occurred on the USB bus. XCS_XACT_ERR will </br>
  25893. <br>not be generated for Isochronous channels.</br>
  25894. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  25895. </comment>
  25896. </bits>
  25897. <bits access="rw" name="desc_lst_rollintr" pos="13" rst="0">
  25898. <comment>
  25899. <br>Descriptor rollover interrupt (DESC_LST_ROLLIntr)</br>
  25900. <br/>
  25901. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. The core sets this bit </br>
  25902. <br>when the corresponding channel's descriptor list rolls over.</br>
  25903. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  25904. </comment>
  25905. </bits>
  25906. </reg>
  25907. <reg name="hcintmsk2" protect="rw">
  25908. <comment>&quot;Host Channel $i Interrupt Mask Register&quot;
  25909. This register reflects the mask for each channel status described in the previous section.</comment>
  25910. <bits access="rw" name="xfercomplmsk" pos="0" rst="0">
  25911. <comment>
  25912. <br/>
  25913. <br>Transfer Completed Mask (XferComplMsk)</br>
  25914. </comment>
  25915. </bits>
  25916. <bits access="rw" name="chhltdmsk" pos="1" rst="0">
  25917. <comment>
  25918. <br/>
  25919. <br>Channel Halted Mask (ChHltdMsk)</br>
  25920. </comment>
  25921. </bits>
  25922. <bits access="rw" name="ahberrmsk" pos="2" rst="0">
  25923. <comment>
  25924. <br/>
  25925. <br>AHB Error Mask (AHBErrMsk)</br>
  25926. <br>In scatter/gather DMA mode for host, </br>
  25927. <br>interrupts will not be generated due to the corresponding bits set in </br>
  25928. <br>HCINTn.</br>
  25929. </comment>
  25930. </bits>
  25931. <bits access="rw" name="bnaintrmsk" pos="11" rst="0">
  25932. <comment>
  25933. <br/>
  25934. <br>BNA (Buffer Not Available) Interrupt mask register (BNAIntrMsk) </br>
  25935. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  25936. </comment>
  25937. </bits>
  25938. <bits access="rw" name="desc_lst_rollintrmsk" pos="13" rst="0">
  25939. <comment>
  25940. <br/>
  25941. <br>Descriptor List rollover interrupt Mask register(DESC_LST_ROLLIntrMsk)</br>
  25942. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  25943. </comment>
  25944. </bits>
  25945. </reg>
  25946. <reg name="hctsiz2" protect="rw">
  25947. <comment>Host Channel 2 Transfer Size Register</comment>
  25948. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  25949. <comment>
  25950. <br>Transfer Size (XferSize)</br>
  25951. <br/>
  25952. <br>For an OUT, this field is the number of data bytes the host sends during the transfer.</br>
  25953. <br/>
  25954. <br>For an IN, this field is the buffer size that the application has Reserved for the transfer. The application is expected to program this field as an integer multiple of the maximum packet size for IN transactions (periodic and non-periodic).</br>
  25955. <br/>
  25956. <br>The width of this counter is specified as Width of Transfer Size Counters during coreConsultant configuration (parameter OTG_TRANS_COUNT_WIDTH).</br>
  25957. </comment>
  25958. </bits>
  25959. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  25960. <comment>
  25961. <br>Packet Count (PktCnt)</br>
  25962. <br/>
  25963. <br>This field is programmed by the application with the expected number of packets to be transmitted (OUT) or received (IN).</br>
  25964. <br/>
  25965. <br>The host decrements this count on every successful transmission or reception of an OUT/IN packet. Once this count reaches zero, the application is interrupted to indicate normal completion.</br>
  25966. <br/>
  25967. <br>The width of this counter is specified as Width of Packet Counters during coreConsultant configuration (parameter OTG_PACKET_COUNT_WIDTH).</br>
  25968. </comment>
  25969. </bits>
  25970. <bits access="rw" name="pid" pos="30:29" rst="0">
  25971. <comment>
  25972. <br>PID (Pid)</br>
  25973. <br/>
  25974. <br>The application programs this field with the type of PID to use for the initial transaction. The host maintains this field for the rest of the transfer.</br>
  25975. <br> - 2'b00: DATA0</br>
  25976. <br> - 2'b01: DATA2</br>
  25977. <br> - 2'b10: DATA1</br>
  25978. <br> - 2'b11: MDATA (non-control)/SETUP (control)</br>
  25979. </comment>
  25980. </bits>
  25981. <bits access="rw" name="dopng" pos="31" rst="0">
  25982. <comment>
  25983. <br>Do Ping (DoPng)</br>
  25984. <br/>
  25985. <br>This bit is used only for OUT transfers.</br>
  25986. <br>Setting this field to 1 directs the host to do PING protocol.</br>
  25987. <br/>
  25988. <br>Note: Do not set this bit for IN transfers. If this bit is set for for IN transfers it disables the channel.</br>
  25989. </comment>
  25990. </bits>
  25991. </reg>
  25992. <reg name="hcdma2" protect="rw">
  25993. <comment>&quot;Host Channel $i DMA Address Register&quot;
  25994. This register is used by the OTG host in the internal DMA mode to maintain the current buffer pointer for IN/OUT transactions. The starting DMA address must be DWORD-aligned.</comment>
  25995. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  25996. <comment>
  25997. <br>In Buffer DMA Mode:</br>
  25998. <br/>
  25999. <br>[31:0]: DMA Address (DMAAddr)</br>
  26000. <br/>
  26001. <br>This field holds the start address in the external memory from which the data for the endpoint must be fetched or to which it must be stored. This register is incremented on every AHB transaction.</br>
  26002. <br/>
  26003. <br>Reset: X if not programmed as the register is in SPRAM.</br>
  26004. <br/>
  26005. <br>In Scatter-Gather DMA (DescDMA) Mode for Non-Isochronous:</br>
  26006. <br/>
  26007. <br>[31:9]: DMA Address (DMAAddr)</br>
  26008. <br/>
  26009. <br>The start address must be 512-bytes aligned.</br>
  26010. <br/>
  26011. <br>This field holds the start address of the 512 bytes page. The first descriptor in the list should be located in this address. The first descriptor may be or may not be ready. The core starts processing the list from the CTD value. </br>
  26012. <br/>
  26013. <br>[8:3]: Current Transfer Desc(CTD)</br>
  26014. <br/>
  26015. <br>This value is in terms of number of descriptors. The values can be from 0 to 63. </br>
  26016. <br> - 0 - 1 descriptor. </br>
  26017. <br> - 63 - 64 descriptors. </br>
  26018. <br>This field indicates the current descriptor processed in the list. This field is updated both by application and the core. For example, if the application enables the channel after programming CTD=5, then the core will start processing the sixth descriptor. The address is obtained by adding a value of (8bytes*5=) 40(decimal) to DMAAddr.</br>
  26019. <br/>
  26020. <br>Reset: 6'h0</br>
  26021. <br/>
  26022. <br>[2:0]: Reserved</br>
  26023. <br/>
  26024. <br>In Scatter-Gather DMA (DescDMA) Mode for Isochronous:</br>
  26025. <br/>
  26026. <br>[31:N]: DMA Address (DMAAddr)</br>
  26027. <br/>
  26028. <br>The start address must be 512-bytes aligned.</br>
  26029. <br/>
  26030. <br>This field holds the address of the 2*(nTD+1) bytes of locations in which the isochronous descriptors are present where N is based on nTD as follows:</br>
  26031. <br> - [31:N]: Base Address</br>
  26032. <br> - [N-1:3]: Offset</br>
  26033. <br> - [2:0]: 000</br>
  26034. <br>For HS ISOC, if nTD is,</br>
  26035. <br> - 7, N=6</br>
  26036. <br> - 15, N=7</br>
  26037. <br> - 31, N=8</br>
  26038. <br> - 63, N=9</br>
  26039. <br> - 127, N=10</br>
  26040. <br> - 255, N=11</br>
  26041. <br>For FS ISOC, if nTD is, </br>
  26042. <br> - 1, N=4</br>
  26043. <br> - 3, N=5</br>
  26044. <br> - 7, N=6</br>
  26045. <br> - 15, N=7</br>
  26046. <br> - 31, N=8</br>
  26047. <br> - 63, N=9</br>
  26048. <br>[N-1:3]: Current Transfer Desc(CTD)</br>
  26049. <br/>
  26050. <br>CTD for isochronous is based on the current frame/(micro)frame value. Need to be set to zero by application.</br>
  26051. <br/>
  26052. <br>Reset: (N+1:3)'h0</br>
  26053. <br/>
  26054. <br>[2:0]: Reserved</br>
  26055. </comment>
  26056. </bits>
  26057. </reg>
  26058. <hole size="32"/>
  26059. <reg name="hcdmab2" protect="r">
  26060. <comment>&quot;Host Channel $i DMA Buffer Address Register&quot;
  26061. This register is present only in case of Scatter/Gather DMA. It is implemented in RAM instead of flop-based implementation. This register holds the current buffer address.</comment>
  26062. <bits access="r" name="hcdmab" pos="31:0" rst="0">
  26063. <comment>
  26064. <br>Holds the current buffer address.</br>
  26065. <br>This register is updated as and when the data transfer for the corresponding end point </br>
  26066. <br>is in progress. This register is present only in Scatter/Gather DMA mode. Otherwise this </br>
  26067. <br>field is reserved.</br>
  26068. </comment>
  26069. </bits>
  26070. </reg>
  26071. <reg name="hcchar3" protect="rw">
  26072. <comment>Host Channel 3 Characteristics Register</comment>
  26073. <bits access="rw" name="mps" pos="10:0" rst="0">
  26074. <comment>
  26075. <br>Maximum Packet Size (MPS)</br>
  26076. <br/>
  26077. <br>Indicates the maximum packet size of the associated endpoint.</br>
  26078. </comment>
  26079. </bits>
  26080. <bits access="rw" name="epnum" pos="14:11" rst="0">
  26081. <comment>
  26082. <br>Endpoint Number (EPNum)</br>
  26083. <br/>
  26084. <br>Indicates the endpoint number on the device serving as the data source or sink.</br>
  26085. </comment>
  26086. </bits>
  26087. <bits access="rw" name="epdir" pos="15" rst="0">
  26088. <comment>
  26089. <br>Endpoint Direction (EPDir)</br>
  26090. <br/>
  26091. <br>Indicates whether the transaction is IN or OUT.</br>
  26092. <br> - 1'b0: OUT</br>
  26093. <br> - 1'b1: IN</br>
  26094. </comment>
  26095. </bits>
  26096. <bits access="rw" name="lspddev" pos="17" rst="0">
  26097. <comment>
  26098. <br>Low-Speed Device (LSpdDev)</br>
  26099. <br/>
  26100. <br>This field is Set by the application to indicate that this channel is communicating to a low-speed device.</br>
  26101. <br/>
  26102. <br>The application must program this bit when a low speed device is connected to the host through an FS HUB. The DWC_otg Host core uses this field to drive the XCVR_SELECT signal to 2'b11 while communicating to the LS Device through the FS hub.</br>
  26103. <br/>
  26104. <br>Note: In a peer to peer setup, the DWC_otg Host core ignores this bit even if it is set by the application software.</br>
  26105. </comment>
  26106. </bits>
  26107. <bits access="rw" name="eptype" pos="19:18" rst="0">
  26108. <comment>
  26109. <br>Endpoint Type (EPType)</br>
  26110. <br/>
  26111. <br>Indicates the transfer type selected.</br>
  26112. <br> - 2'b00: Control</br>
  26113. <br> - 2'b01: Isochronous</br>
  26114. <br> - 2'b10: Bulk</br>
  26115. <br> - 2'b11: Interrupt</br>
  26116. </comment>
  26117. </bits>
  26118. <bits access="rw" name="ec" pos="21:20" rst="0">
  26119. <comment>
  26120. <br>Multi Count (MC) / Error Count (EC)</br>
  26121. <br/>
  26122. <br>When the Split Enable bit of the Host Channel-n Split Control</br>
  26123. <br>register (HCSPLTn.SpltEna) is reset (1'b0), this field indicates to</br>
  26124. <br>the host the number of transactions that must be executed per</br>
  26125. <br>microframe for this periodic endpoint. For non periodic transfers,</br>
  26126. <br>this field is used only in DMA mode, and specifies the number</br>
  26127. <br>packets to be fetched for this channel before the internal DMA</br>
  26128. <br>engine changes arbitration.</br>
  26129. <br> - 2'b00: Reserved This field yields undefined results.</br>
  26130. <br> - 2'b01: 1 transaction</br>
  26131. <br> - 2'b10: 2 transactions to be issued for this endpoint per microframe</br>
  26132. <br> - 2'b11: 3 transactions to be issued for this endpoint per microframe</br>
  26133. <br>When HCSPLTn.SpltEna is Set (1'b1), this field indicates the</br>
  26134. <br>number of immediate retries to be performed for a periodic split</br>
  26135. <br>transactions on transaction errors. This field must be Set to at</br>
  26136. <br>least 2'b01.</br>
  26137. </comment>
  26138. </bits>
  26139. <bits access="rw" name="devaddr" pos="28:22" rst="0">
  26140. <comment>
  26141. <br>Device Address (DevAddr)</br>
  26142. <br/>
  26143. <br>This field selects the specific device serving as the data source</br>
  26144. <br>or sink.</br>
  26145. </comment>
  26146. </bits>
  26147. <bits access="rw" name="oddfrm" pos="29" rst="0">
  26148. <comment>
  26149. <br>Odd Frame (OddFrm)</br>
  26150. <br/>
  26151. <br>This field is set (reset) by the application to indicate that the OTG host must perform </br>
  26152. <br>a transfer in an odd (micro)Frame. This field is applicable for only periodic </br>
  26153. <br>(isochronous and interrupt) transactions.</br>
  26154. <br> - 1'b0: Even (micro)Frame</br>
  26155. <br> - 1'b1: Odd (micro)Frame</br>
  26156. <br/>
  26157. </comment>
  26158. </bits>
  26159. <bits access="rw" name="chdis" pos="30" rst="0">
  26160. <comment>
  26161. <br>Channel Disable (ChDis)</br>
  26162. <br/>
  26163. <br>The application sets this bit to stop transmitting/receiving data</br>
  26164. <br>on a channel, even before the transfer for that channel is</br>
  26165. <br>complete. The application must wait for the Channel Disabled</br>
  26166. <br>interrupt before treating the channel as disabled.</br>
  26167. </comment>
  26168. </bits>
  26169. <bits access="rw" name="chena" pos="31" rst="0">
  26170. <comment>
  26171. <br>Channel Enable (ChEna)</br>
  26172. <br/>
  26173. <br>When Scatter/Gather mode is enabled </br>
  26174. <br> - 1'b0: Indicates that the descriptor structure is not yet ready. </br>
  26175. <br> - 1'b1: Indicates that the descriptor structure and data buffer with data is setup and this channel can access the descriptor. </br>
  26176. <br>When Scatter/Gather mode is disabled </br>
  26177. <br/>
  26178. <br> This field is set by the application and cleared by the OTG host. </br>
  26179. <br> - 1'b0: Channel disabled </br>
  26180. <br> - 1'b1: Channel enabled</br>
  26181. </comment>
  26182. </bits>
  26183. </reg>
  26184. <reg name="hcsplt3" protect="rw">
  26185. <comment>Host Channel 3 Split Control Register</comment>
  26186. <bits access="rw" name="prtaddr" pos="6:0" rst="0">
  26187. <comment>
  26188. <br>Port Address (PrtAddr)</br>
  26189. <br/>
  26190. <br>This field is the port number of the recipient transaction translator.</br>
  26191. </comment>
  26192. </bits>
  26193. <bits access="rw" name="hubaddr" pos="13:7" rst="0">
  26194. <comment>
  26195. <br>Hub Address (HubAddr)</br>
  26196. <br/>
  26197. <br>This field holds the device address of the transaction translator's hub.</br>
  26198. </comment>
  26199. </bits>
  26200. <bits access="rw" name="xactpos" pos="15:14" rst="0">
  26201. <comment>
  26202. <br>Transaction Position (XactPos)</br>
  26203. <br/>
  26204. <br>This field is used to determine whether to send all, first, middle, or last payloads with each OUT transaction.</br>
  26205. <br> - 2'b11: All. This is the entire data payload is of this transaction (which is less than or equal to 188 bytes).</br>
  26206. <br> - 2'b10: Begin. This is the first data payload of this transaction (which is larger than 188 bytes).</br>
  26207. <br> - 2'b00: Mid. This is the middle payload of this transaction (which is larger than 188 bytes).</br>
  26208. <br> - 2'b01: End. This is the last payload of this transaction (which is larger than 188 bytes).</br>
  26209. </comment>
  26210. </bits>
  26211. <bits access="rw" name="compsplt" pos="16" rst="0">
  26212. <comment>
  26213. <br>Do Complete Split (CompSplt)</br>
  26214. <br/>
  26215. <br>The application sets this field to request the OTG host to perform a complete split transaction.</br>
  26216. </comment>
  26217. </bits>
  26218. <bits access="rw" name="spltena" pos="31" rst="0">
  26219. <comment>
  26220. <br>Split Enable (SpltEna)</br>
  26221. <br/>
  26222. <br>The application sets this field to indicate that this channel is enabled to perform split transactions.</br>
  26223. </comment>
  26224. </bits>
  26225. </reg>
  26226. <reg name="hcint3" protect="rw">
  26227. <comment>&quot;Host Channel $i Interrupt Register&quot;
  26228. This register indicates the status of a channel with respect to USB- and AHB-related events. It is shown in the &quot;Interrupt Hierarchy&quot; figure in the databook. The application must read this register when the Host Channels Interrupt bit of the Core Interrupt register (GINTSTS.HChInt) is set. Before the application can read this register, it must first read the Host All Channels Interrupt (HAINT) register to get the exact channel number for the Host Channel-n Interrupt register. The application must clear the appropriate bit in this register to clear the corresponding bits in the HAINT and GINTSTS registers.</comment>
  26229. <bits access="rw" name="xfercompl" pos="0" rst="0">
  26230. <comment>
  26231. <br>Transfer Completed (XferCompl)</br>
  26232. <br/>
  26233. <br>Transfer completed normally without any errors.This bit can be set only by the core and the application should write 1 to clear it.</br>
  26234. <br> - For Scatter/Gather DMA mode, it indicates that current descriptor processing got completed with IOC bit set in its descriptor.</br>
  26235. <br> - In non Scatter/Gather DMA mode, it indicates that Transfer completed normally without any errors.</br>
  26236. <br/>
  26237. </comment>
  26238. </bits>
  26239. <bits access="rw" name="chhltd" pos="1" rst="0">
  26240. <comment>
  26241. <br>Channel Halted (ChHltd)</br>
  26242. <br/>
  26243. <br>In non Scatter/Gather DMA mode, it indicates the transfer completed abnormally either because of any USB transaction error or in response to disable request by the application or because of a completed transfer.</br>
  26244. <br/>
  26245. <br>In Scatter/gather DMA mode, this indicates that transfer completed due to any of the following</br>
  26246. <br> - EOL being set in descriptor</br>
  26247. <br> - AHB error</br>
  26248. <br> - Excessive transaction errors</br>
  26249. <br> - Babble</br>
  26250. <br> - Stall</br>
  26251. <br/>
  26252. </comment>
  26253. </bits>
  26254. <bits access="rw" name="ahberr" pos="2" rst="0">
  26255. <comment>
  26256. <br>AHB Error (AHBErr)</br>
  26257. <br/>
  26258. <br>This is generated only in Internal DMA mode when there is an AHB error during AHB read/write. The application can read the corresponding channel's DMA address register to get the error address.</br>
  26259. </comment>
  26260. </bits>
  26261. <bits access="rw" name="stall" pos="3" rst="0">
  26262. <comment>
  26263. <br>STALL Response Received Interrupt (STALL)</br>
  26264. <br/>
  26265. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  26266. </comment>
  26267. </bits>
  26268. <bits access="rw" name="nak" pos="4" rst="0">
  26269. <comment>
  26270. <br>NAK Response Received Interrupt (NAK)</br>
  26271. <br/>
  26272. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  26273. </comment>
  26274. </bits>
  26275. <bits access="rw" name="ack" pos="5" rst="0">
  26276. <comment>
  26277. <br>ACK Response Received/Transmitted Interrupt (ACK)</br>
  26278. <br/>
  26279. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  26280. </comment>
  26281. </bits>
  26282. <bits access="rw" name="nyet" pos="6" rst="0">
  26283. <comment>
  26284. <br>NYET Response Received Interrupt (NYET)</br>
  26285. <br/>
  26286. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  26287. </comment>
  26288. </bits>
  26289. <bits access="rw" name="xacterr" pos="7" rst="0">
  26290. <comment>
  26291. <br>Transaction Error (XactErr)</br>
  26292. <br/>
  26293. <br>Indicates one of the following errors occurred on the USB.</br>
  26294. <br> - CRC check failure</br>
  26295. <br> - Timeout</br>
  26296. <br> - Bit stuff error</br>
  26297. <br> - False EOP</br>
  26298. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  26299. </comment>
  26300. </bits>
  26301. <bits access="rw" name="bblerr" pos="8" rst="0">
  26302. <comment>
  26303. <br>Babble Error (BblErr)</br>
  26304. <br/>
  26305. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core. This bit can be set only by the core and the application should write 1 to clear it.</br>
  26306. </comment>
  26307. </bits>
  26308. <bits access="rw" name="frmovrun" pos="9" rst="0">
  26309. <comment>
  26310. <br>Frame Overrun (FrmOvrun).</br>
  26311. <br/>
  26312. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked </br>
  26313. <br>in the core. This bit can be set only by the core and the application should write 1 to clear</br>
  26314. <br>it.</br>
  26315. </comment>
  26316. </bits>
  26317. <bits access="rw" name="datatglerr" pos="10" rst="0">
  26318. <comment>
  26319. <br/>
  26320. <br>Data Toggle Error (DataTglErr).This bit can be set only by the core and the application should write 1 to clear</br>
  26321. <br>it.In Scatter/Gather DMA mode, the interrupt due to this bit is masked </br>
  26322. <br>in the core.</br>
  26323. </comment>
  26324. </bits>
  26325. <bits access="rw" name="bnaintr" pos="11" rst="0">
  26326. <comment>
  26327. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  26328. <br/>
  26329. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. </br>
  26330. <br>The core generates this interrupt when the descriptor accessed </br>
  26331. <br>is not ready for the Core to process. BNA will not be generated </br>
  26332. <br>for Isochronous channels.</br>
  26333. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  26334. </comment>
  26335. </bits>
  26336. <bits access="rw" name="xcs_xact_err" pos="12" rst="0">
  26337. <comment>
  26338. <br>Excessive Transaction Error (XCS_XACT_ERR)</br>
  26339. <br/>
  26340. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. The core sets this bit </br>
  26341. <br>when 3 consecutive transaction errors occurred on the USB bus. XCS_XACT_ERR will </br>
  26342. <br>not be generated for Isochronous channels.</br>
  26343. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  26344. </comment>
  26345. </bits>
  26346. <bits access="rw" name="desc_lst_rollintr" pos="13" rst="0">
  26347. <comment>
  26348. <br>Descriptor rollover interrupt (DESC_LST_ROLLIntr)</br>
  26349. <br/>
  26350. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. The core sets this bit </br>
  26351. <br>when the corresponding channel's descriptor list rolls over.</br>
  26352. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  26353. </comment>
  26354. </bits>
  26355. </reg>
  26356. <reg name="hcintmsk3" protect="rw">
  26357. <comment>&quot;Host Channel $i Interrupt Mask Register&quot;
  26358. This register reflects the mask for each channel status described in the previous section.</comment>
  26359. <bits access="rw" name="xfercomplmsk" pos="0" rst="0">
  26360. <comment>
  26361. <br/>
  26362. <br>Transfer Completed Mask (XferComplMsk)</br>
  26363. </comment>
  26364. </bits>
  26365. <bits access="rw" name="chhltdmsk" pos="1" rst="0">
  26366. <comment>
  26367. <br/>
  26368. <br>Channel Halted Mask (ChHltdMsk)</br>
  26369. </comment>
  26370. </bits>
  26371. <bits access="rw" name="ahberrmsk" pos="2" rst="0">
  26372. <comment>
  26373. <br/>
  26374. <br>AHB Error Mask (AHBErrMsk)</br>
  26375. <br>In scatter/gather DMA mode for host, </br>
  26376. <br>interrupts will not be generated due to the corresponding bits set in </br>
  26377. <br>HCINTn.</br>
  26378. </comment>
  26379. </bits>
  26380. <bits access="rw" name="bnaintrmsk" pos="11" rst="0">
  26381. <comment>
  26382. <br/>
  26383. <br>BNA (Buffer Not Available) Interrupt mask register (BNAIntrMsk) </br>
  26384. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  26385. </comment>
  26386. </bits>
  26387. <bits access="rw" name="desc_lst_rollintrmsk" pos="13" rst="0">
  26388. <comment>
  26389. <br/>
  26390. <br>Descriptor List rollover interrupt Mask register(DESC_LST_ROLLIntrMsk)</br>
  26391. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  26392. </comment>
  26393. </bits>
  26394. </reg>
  26395. <reg name="hctsiz3" protect="rw">
  26396. <comment>Host Channel 3 Transfer Size Register</comment>
  26397. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  26398. <comment>
  26399. <br>Transfer Size (XferSize)</br>
  26400. <br/>
  26401. <br>For an OUT, this field is the number of data bytes the host sends during the transfer.</br>
  26402. <br/>
  26403. <br>For an IN, this field is the buffer size that the application has Reserved for the transfer. The application is expected to program this field as an integer multiple of the maximum packet size for IN transactions (periodic and non-periodic).</br>
  26404. <br/>
  26405. <br>The width of this counter is specified as Width of Transfer Size Counters during coreConsultant configuration (parameter OTG_TRANS_COUNT_WIDTH).</br>
  26406. </comment>
  26407. </bits>
  26408. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  26409. <comment>
  26410. <br>Packet Count (PktCnt)</br>
  26411. <br/>
  26412. <br>This field is programmed by the application with the expected number of packets to be transmitted (OUT) or received (IN).</br>
  26413. <br/>
  26414. <br>The host decrements this count on every successful transmission or reception of an OUT/IN packet. Once this count reaches zero, the application is interrupted to indicate normal completion.</br>
  26415. <br/>
  26416. <br>The width of this counter is specified as Width of Packet Counters during coreConsultant configuration (parameter OTG_PACKET_COUNT_WIDTH).</br>
  26417. </comment>
  26418. </bits>
  26419. <bits access="rw" name="pid" pos="30:29" rst="0">
  26420. <comment>
  26421. <br>PID (Pid)</br>
  26422. <br/>
  26423. <br>The application programs this field with the type of PID to use for the initial transaction. The host maintains this field for the rest of the transfer.</br>
  26424. <br> - 2'b00: DATA0</br>
  26425. <br> - 2'b01: DATA2</br>
  26426. <br> - 2'b10: DATA1</br>
  26427. <br> - 2'b11: MDATA (non-control)/SETUP (control)</br>
  26428. </comment>
  26429. </bits>
  26430. <bits access="rw" name="dopng" pos="31" rst="0">
  26431. <comment>
  26432. <br>Do Ping (DoPng)</br>
  26433. <br/>
  26434. <br>This bit is used only for OUT transfers.</br>
  26435. <br>Setting this field to 1 directs the host to do PING protocol.</br>
  26436. <br/>
  26437. <br>Note: Do not set this bit for IN transfers. If this bit is set for for IN transfers it disables the channel.</br>
  26438. </comment>
  26439. </bits>
  26440. </reg>
  26441. <reg name="hcdma3" protect="rw">
  26442. <comment>&quot;Host Channel $i DMA Address Register&quot;
  26443. This register is used by the OTG host in the internal DMA mode to maintain the current buffer pointer for IN/OUT transactions. The starting DMA address must be DWORD-aligned.</comment>
  26444. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  26445. <comment>
  26446. <br>In Buffer DMA Mode:</br>
  26447. <br/>
  26448. <br>[31:0]: DMA Address (DMAAddr)</br>
  26449. <br/>
  26450. <br>This field holds the start address in the external memory from which the data for the endpoint must be fetched or to which it must be stored. This register is incremented on every AHB transaction.</br>
  26451. <br/>
  26452. <br>Reset: X if not programmed as the register is in SPRAM.</br>
  26453. <br/>
  26454. <br>In Scatter-Gather DMA (DescDMA) Mode for Non-Isochronous:</br>
  26455. <br/>
  26456. <br>[31:9]: DMA Address (DMAAddr)</br>
  26457. <br/>
  26458. <br>The start address must be 512-bytes aligned.</br>
  26459. <br/>
  26460. <br>This field holds the start address of the 512 bytes page. The first descriptor in the list should be located in this address. The first descriptor may be or may not be ready. The core starts processing the list from the CTD value. </br>
  26461. <br/>
  26462. <br>[8:3]: Current Transfer Desc(CTD)</br>
  26463. <br/>
  26464. <br>This value is in terms of number of descriptors. The values can be from 0 to 63. </br>
  26465. <br> - 0 - 1 descriptor. </br>
  26466. <br> - 63 - 64 descriptors. </br>
  26467. <br>This field indicates the current descriptor processed in the list. This field is updated both by application and the core. For example, if the application enables the channel after programming CTD=5, then the core will start processing the sixth descriptor. The address is obtained by adding a value of (8bytes*5=) 40(decimal) to DMAAddr.</br>
  26468. <br/>
  26469. <br>Reset: 6'h0</br>
  26470. <br/>
  26471. <br>[2:0]: Reserved</br>
  26472. <br/>
  26473. <br>In Scatter-Gather DMA (DescDMA) Mode for Isochronous:</br>
  26474. <br/>
  26475. <br>[31:N]: DMA Address (DMAAddr)</br>
  26476. <br/>
  26477. <br>The start address must be 512-bytes aligned.</br>
  26478. <br/>
  26479. <br>This field holds the address of the 2*(nTD+1) bytes of locations in which the isochronous descriptors are present where N is based on nTD as follows:</br>
  26480. <br> - [31:N]: Base Address</br>
  26481. <br> - [N-1:3]: Offset</br>
  26482. <br> - [2:0]: 000</br>
  26483. <br>For HS ISOC, if nTD is,</br>
  26484. <br> - 7, N=6</br>
  26485. <br> - 15, N=7</br>
  26486. <br> - 31, N=8</br>
  26487. <br> - 63, N=9</br>
  26488. <br> - 127, N=10</br>
  26489. <br> - 255, N=11</br>
  26490. <br>For FS ISOC, if nTD is, </br>
  26491. <br> - 1, N=4</br>
  26492. <br> - 3, N=5</br>
  26493. <br> - 7, N=6</br>
  26494. <br> - 15, N=7</br>
  26495. <br> - 31, N=8</br>
  26496. <br> - 63, N=9</br>
  26497. <br>[N-1:3]: Current Transfer Desc(CTD)</br>
  26498. <br/>
  26499. <br>CTD for isochronous is based on the current frame/(micro)frame value. Need to be set to zero by application.</br>
  26500. <br/>
  26501. <br>Reset: (N+1:3)'h0</br>
  26502. <br/>
  26503. <br>[2:0]: Reserved</br>
  26504. </comment>
  26505. </bits>
  26506. </reg>
  26507. <hole size="32"/>
  26508. <reg name="hcdmab3" protect="r">
  26509. <comment>&quot;Host Channel $i DMA Buffer Address Register&quot;
  26510. This register is present only in case of Scatter/Gather DMA. It is implemented in RAM instead of flop-based implementation. This register holds the current buffer address.</comment>
  26511. <bits access="r" name="hcdmab" pos="31:0" rst="0">
  26512. <comment>
  26513. <br>Holds the current buffer address.</br>
  26514. <br>This register is updated as and when the data transfer for the corresponding end point </br>
  26515. <br>is in progress. This register is present only in Scatter/Gather DMA mode. Otherwise this </br>
  26516. <br>field is reserved.</br>
  26517. </comment>
  26518. </bits>
  26519. </reg>
  26520. <reg name="hcchar4" protect="rw">
  26521. <comment>Host Channel 4 Characteristics Register</comment>
  26522. <bits access="rw" name="mps" pos="10:0" rst="0">
  26523. <comment>
  26524. <br>Maximum Packet Size (MPS)</br>
  26525. <br/>
  26526. <br>Indicates the maximum packet size of the associated endpoint.</br>
  26527. </comment>
  26528. </bits>
  26529. <bits access="rw" name="epnum" pos="14:11" rst="0">
  26530. <comment>
  26531. <br>Endpoint Number (EPNum)</br>
  26532. <br/>
  26533. <br>Indicates the endpoint number on the device serving as the data source or sink.</br>
  26534. </comment>
  26535. </bits>
  26536. <bits access="rw" name="epdir" pos="15" rst="0">
  26537. <comment>
  26538. <br>Endpoint Direction (EPDir)</br>
  26539. <br/>
  26540. <br>Indicates whether the transaction is IN or OUT.</br>
  26541. <br> - 1'b0: OUT</br>
  26542. <br> - 1'b1: IN</br>
  26543. </comment>
  26544. </bits>
  26545. <bits access="rw" name="lspddev" pos="17" rst="0">
  26546. <comment>
  26547. <br>Low-Speed Device (LSpdDev)</br>
  26548. <br/>
  26549. <br>This field is Set by the application to indicate that this channel is communicating to a low-speed device.</br>
  26550. <br/>
  26551. <br>The application must program this bit when a low speed device is connected to the host through an FS HUB. The DWC_otg Host core uses this field to drive the XCVR_SELECT signal to 2'b11 while communicating to the LS Device through the FS hub.</br>
  26552. <br/>
  26553. <br>Note: In a peer to peer setup, the DWC_otg Host core ignores this bit even if it is set by the application software.</br>
  26554. </comment>
  26555. </bits>
  26556. <bits access="rw" name="eptype" pos="19:18" rst="0">
  26557. <comment>
  26558. <br>Endpoint Type (EPType)</br>
  26559. <br/>
  26560. <br>Indicates the transfer type selected.</br>
  26561. <br> - 2'b00: Control</br>
  26562. <br> - 2'b01: Isochronous</br>
  26563. <br> - 2'b10: Bulk</br>
  26564. <br> - 2'b11: Interrupt</br>
  26565. </comment>
  26566. </bits>
  26567. <bits access="rw" name="ec" pos="21:20" rst="0">
  26568. <comment>
  26569. <br>Multi Count (MC) / Error Count (EC)</br>
  26570. <br/>
  26571. <br>When the Split Enable bit of the Host Channel-n Split Control</br>
  26572. <br>register (HCSPLTn.SpltEna) is reset (1'b0), this field indicates to</br>
  26573. <br>the host the number of transactions that must be executed per</br>
  26574. <br>microframe for this periodic endpoint. For non periodic transfers,</br>
  26575. <br>this field is used only in DMA mode, and specifies the number</br>
  26576. <br>packets to be fetched for this channel before the internal DMA</br>
  26577. <br>engine changes arbitration.</br>
  26578. <br> - 2'b00: Reserved This field yields undefined results.</br>
  26579. <br> - 2'b01: 1 transaction</br>
  26580. <br> - 2'b10: 2 transactions to be issued for this endpoint per microframe</br>
  26581. <br> - 2'b11: 3 transactions to be issued for this endpoint per microframe</br>
  26582. <br>When HCSPLTn.SpltEna is Set (1'b1), this field indicates the</br>
  26583. <br>number of immediate retries to be performed for a periodic split</br>
  26584. <br>transactions on transaction errors. This field must be Set to at</br>
  26585. <br>least 2'b01.</br>
  26586. </comment>
  26587. </bits>
  26588. <bits access="rw" name="devaddr" pos="28:22" rst="0">
  26589. <comment>
  26590. <br>Device Address (DevAddr)</br>
  26591. <br/>
  26592. <br>This field selects the specific device serving as the data source</br>
  26593. <br>or sink.</br>
  26594. </comment>
  26595. </bits>
  26596. <bits access="rw" name="oddfrm" pos="29" rst="0">
  26597. <comment>
  26598. <br>Odd Frame (OddFrm)</br>
  26599. <br/>
  26600. <br>This field is set (reset) by the application to indicate that the OTG host must perform </br>
  26601. <br>a transfer in an odd (micro)Frame. This field is applicable for only periodic </br>
  26602. <br>(isochronous and interrupt) transactions.</br>
  26603. <br> - 1'b0: Even (micro)Frame</br>
  26604. <br> - 1'b1: Odd (micro)Frame</br>
  26605. <br/>
  26606. </comment>
  26607. </bits>
  26608. <bits access="rw" name="chdis" pos="30" rst="0">
  26609. <comment>
  26610. <br>Channel Disable (ChDis)</br>
  26611. <br/>
  26612. <br>The application sets this bit to stop transmitting/receiving data</br>
  26613. <br>on a channel, even before the transfer for that channel is</br>
  26614. <br>complete. The application must wait for the Channel Disabled</br>
  26615. <br>interrupt before treating the channel as disabled.</br>
  26616. </comment>
  26617. </bits>
  26618. <bits access="rw" name="chena" pos="31" rst="0">
  26619. <comment>
  26620. <br>Channel Enable (ChEna)</br>
  26621. <br/>
  26622. <br>When Scatter/Gather mode is enabled </br>
  26623. <br> - 1'b0: Indicates that the descriptor structure is not yet ready. </br>
  26624. <br> - 1'b1: Indicates that the descriptor structure and data buffer with data is setup and this channel can access the descriptor. </br>
  26625. <br>When Scatter/Gather mode is disabled </br>
  26626. <br/>
  26627. <br> This field is set by the application and cleared by the OTG host. </br>
  26628. <br> - 1'b0: Channel disabled </br>
  26629. <br> - 1'b1: Channel enabled</br>
  26630. </comment>
  26631. </bits>
  26632. </reg>
  26633. <reg name="hcsplt4" protect="rw">
  26634. <comment>Host Channel 4 Split Control Register</comment>
  26635. <bits access="rw" name="prtaddr" pos="6:0" rst="0">
  26636. <comment>
  26637. <br>Port Address (PrtAddr)</br>
  26638. <br/>
  26639. <br>This field is the port number of the recipient transaction translator.</br>
  26640. </comment>
  26641. </bits>
  26642. <bits access="rw" name="hubaddr" pos="13:7" rst="0">
  26643. <comment>
  26644. <br>Hub Address (HubAddr)</br>
  26645. <br/>
  26646. <br>This field holds the device address of the transaction translator's hub.</br>
  26647. </comment>
  26648. </bits>
  26649. <bits access="rw" name="xactpos" pos="15:14" rst="0">
  26650. <comment>
  26651. <br>Transaction Position (XactPos)</br>
  26652. <br/>
  26653. <br>This field is used to determine whether to send all, first, middle, or last payloads with each OUT transaction.</br>
  26654. <br> - 2'b11: All. This is the entire data payload is of this transaction (which is less than or equal to 188 bytes).</br>
  26655. <br> - 2'b10: Begin. This is the first data payload of this transaction (which is larger than 188 bytes).</br>
  26656. <br> - 2'b00: Mid. This is the middle payload of this transaction (which is larger than 188 bytes).</br>
  26657. <br> - 2'b01: End. This is the last payload of this transaction (which is larger than 188 bytes).</br>
  26658. </comment>
  26659. </bits>
  26660. <bits access="rw" name="compsplt" pos="16" rst="0">
  26661. <comment>
  26662. <br>Do Complete Split (CompSplt)</br>
  26663. <br/>
  26664. <br>The application sets this field to request the OTG host to perform a complete split transaction.</br>
  26665. </comment>
  26666. </bits>
  26667. <bits access="rw" name="spltena" pos="31" rst="0">
  26668. <comment>
  26669. <br>Split Enable (SpltEna)</br>
  26670. <br/>
  26671. <br>The application sets this field to indicate that this channel is enabled to perform split transactions.</br>
  26672. </comment>
  26673. </bits>
  26674. </reg>
  26675. <reg name="hcint4" protect="rw">
  26676. <comment>&quot;Host Channel $i Interrupt Register&quot;
  26677. This register indicates the status of a channel with respect to USB- and AHB-related events. It is shown in the &quot;Interrupt Hierarchy&quot; figure in the databook. The application must read this register when the Host Channels Interrupt bit of the Core Interrupt register (GINTSTS.HChInt) is set. Before the application can read this register, it must first read the Host All Channels Interrupt (HAINT) register to get the exact channel number for the Host Channel-n Interrupt register. The application must clear the appropriate bit in this register to clear the corresponding bits in the HAINT and GINTSTS registers.</comment>
  26678. <bits access="rw" name="xfercompl" pos="0" rst="0">
  26679. <comment>
  26680. <br>Transfer Completed (XferCompl)</br>
  26681. <br/>
  26682. <br>Transfer completed normally without any errors.This bit can be set only by the core and the application should write 1 to clear it.</br>
  26683. <br> - For Scatter/Gather DMA mode, it indicates that current descriptor processing got completed with IOC bit set in its descriptor.</br>
  26684. <br> - In non Scatter/Gather DMA mode, it indicates that Transfer completed normally without any errors.</br>
  26685. <br/>
  26686. </comment>
  26687. </bits>
  26688. <bits access="rw" name="chhltd" pos="1" rst="0">
  26689. <comment>
  26690. <br>Channel Halted (ChHltd)</br>
  26691. <br/>
  26692. <br>In non Scatter/Gather DMA mode, it indicates the transfer completed abnormally either because of any USB transaction error or in response to disable request by the application or because of a completed transfer.</br>
  26693. <br/>
  26694. <br>In Scatter/gather DMA mode, this indicates that transfer completed due to any of the following</br>
  26695. <br> - EOL being set in descriptor</br>
  26696. <br> - AHB error</br>
  26697. <br> - Excessive transaction errors</br>
  26698. <br> - Babble</br>
  26699. <br> - Stall</br>
  26700. <br/>
  26701. </comment>
  26702. </bits>
  26703. <bits access="rw" name="ahberr" pos="2" rst="0">
  26704. <comment>
  26705. <br>AHB Error (AHBErr)</br>
  26706. <br/>
  26707. <br>This is generated only in Internal DMA mode when there is an AHB error during AHB read/write. The application can read the corresponding channel's DMA address register to get the error address.</br>
  26708. </comment>
  26709. </bits>
  26710. <bits access="rw" name="stall" pos="3" rst="0">
  26711. <comment>
  26712. <br>STALL Response Received Interrupt (STALL)</br>
  26713. <br/>
  26714. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  26715. </comment>
  26716. </bits>
  26717. <bits access="rw" name="nak" pos="4" rst="0">
  26718. <comment>
  26719. <br>NAK Response Received Interrupt (NAK)</br>
  26720. <br/>
  26721. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  26722. </comment>
  26723. </bits>
  26724. <bits access="rw" name="ack" pos="5" rst="0">
  26725. <comment>
  26726. <br>ACK Response Received/Transmitted Interrupt (ACK)</br>
  26727. <br/>
  26728. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  26729. </comment>
  26730. </bits>
  26731. <bits access="rw" name="nyet" pos="6" rst="0">
  26732. <comment>
  26733. <br>NYET Response Received Interrupt (NYET)</br>
  26734. <br/>
  26735. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  26736. </comment>
  26737. </bits>
  26738. <bits access="rw" name="xacterr" pos="7" rst="0">
  26739. <comment>
  26740. <br>Transaction Error (XactErr)</br>
  26741. <br/>
  26742. <br>Indicates one of the following errors occurred on the USB.</br>
  26743. <br> - CRC check failure</br>
  26744. <br> - Timeout</br>
  26745. <br> - Bit stuff error</br>
  26746. <br> - False EOP</br>
  26747. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  26748. </comment>
  26749. </bits>
  26750. <bits access="rw" name="bblerr" pos="8" rst="0">
  26751. <comment>
  26752. <br>Babble Error (BblErr)</br>
  26753. <br/>
  26754. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core. This bit can be set only by the core and the application should write 1 to clear it.</br>
  26755. </comment>
  26756. </bits>
  26757. <bits access="rw" name="frmovrun" pos="9" rst="0">
  26758. <comment>
  26759. <br>Frame Overrun (FrmOvrun).</br>
  26760. <br/>
  26761. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked </br>
  26762. <br>in the core. This bit can be set only by the core and the application should write 1 to clear</br>
  26763. <br>it.</br>
  26764. </comment>
  26765. </bits>
  26766. <bits access="rw" name="datatglerr" pos="10" rst="0">
  26767. <comment>
  26768. <br/>
  26769. <br>Data Toggle Error (DataTglErr).This bit can be set only by the core and the application should write 1 to clear</br>
  26770. <br>it.In Scatter/Gather DMA mode, the interrupt due to this bit is masked </br>
  26771. <br>in the core.</br>
  26772. </comment>
  26773. </bits>
  26774. <bits access="rw" name="bnaintr" pos="11" rst="0">
  26775. <comment>
  26776. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  26777. <br/>
  26778. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. </br>
  26779. <br>The core generates this interrupt when the descriptor accessed </br>
  26780. <br>is not ready for the Core to process. BNA will not be generated </br>
  26781. <br>for Isochronous channels.</br>
  26782. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  26783. </comment>
  26784. </bits>
  26785. <bits access="rw" name="xcs_xact_err" pos="12" rst="0">
  26786. <comment>
  26787. <br>Excessive Transaction Error (XCS_XACT_ERR)</br>
  26788. <br/>
  26789. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. The core sets this bit </br>
  26790. <br>when 3 consecutive transaction errors occurred on the USB bus. XCS_XACT_ERR will </br>
  26791. <br>not be generated for Isochronous channels.</br>
  26792. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  26793. </comment>
  26794. </bits>
  26795. <bits access="rw" name="desc_lst_rollintr" pos="13" rst="0">
  26796. <comment>
  26797. <br>Descriptor rollover interrupt (DESC_LST_ROLLIntr)</br>
  26798. <br/>
  26799. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. The core sets this bit </br>
  26800. <br>when the corresponding channel's descriptor list rolls over.</br>
  26801. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  26802. </comment>
  26803. </bits>
  26804. </reg>
  26805. <reg name="hcintmsk4" protect="rw">
  26806. <comment>&quot;Host Channel $i Interrupt Mask Register&quot;
  26807. This register reflects the mask for each channel status described in the previous section.</comment>
  26808. <bits access="rw" name="xfercomplmsk" pos="0" rst="0">
  26809. <comment>
  26810. <br/>
  26811. <br>Transfer Completed Mask (XferComplMsk)</br>
  26812. </comment>
  26813. </bits>
  26814. <bits access="rw" name="chhltdmsk" pos="1" rst="0">
  26815. <comment>
  26816. <br/>
  26817. <br>Channel Halted Mask (ChHltdMsk)</br>
  26818. </comment>
  26819. </bits>
  26820. <bits access="rw" name="ahberrmsk" pos="2" rst="0">
  26821. <comment>
  26822. <br/>
  26823. <br>AHB Error Mask (AHBErrMsk)</br>
  26824. <br>In scatter/gather DMA mode for host, </br>
  26825. <br>interrupts will not be generated due to the corresponding bits set in </br>
  26826. <br>HCINTn.</br>
  26827. </comment>
  26828. </bits>
  26829. <bits access="rw" name="bnaintrmsk" pos="11" rst="0">
  26830. <comment>
  26831. <br/>
  26832. <br>BNA (Buffer Not Available) Interrupt mask register (BNAIntrMsk) </br>
  26833. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  26834. </comment>
  26835. </bits>
  26836. <bits access="rw" name="desc_lst_rollintrmsk" pos="13" rst="0">
  26837. <comment>
  26838. <br/>
  26839. <br>Descriptor List rollover interrupt Mask register(DESC_LST_ROLLIntrMsk)</br>
  26840. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  26841. </comment>
  26842. </bits>
  26843. </reg>
  26844. <reg name="hctsiz4" protect="rw">
  26845. <comment>Host Channel 4 Transfer Size Register</comment>
  26846. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  26847. <comment>
  26848. <br>Transfer Size (XferSize)</br>
  26849. <br/>
  26850. <br>For an OUT, this field is the number of data bytes the host sends during the transfer.</br>
  26851. <br/>
  26852. <br>For an IN, this field is the buffer size that the application has Reserved for the transfer. The application is expected to program this field as an integer multiple of the maximum packet size for IN transactions (periodic and non-periodic).</br>
  26853. <br/>
  26854. <br>The width of this counter is specified as Width of Transfer Size Counters during coreConsultant configuration (parameter OTG_TRANS_COUNT_WIDTH).</br>
  26855. </comment>
  26856. </bits>
  26857. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  26858. <comment>
  26859. <br>Packet Count (PktCnt)</br>
  26860. <br/>
  26861. <br>This field is programmed by the application with the expected number of packets to be transmitted (OUT) or received (IN).</br>
  26862. <br/>
  26863. <br>The host decrements this count on every successful transmission or reception of an OUT/IN packet. Once this count reaches zero, the application is interrupted to indicate normal completion.</br>
  26864. <br/>
  26865. <br>The width of this counter is specified as Width of Packet Counters during coreConsultant configuration (parameter OTG_PACKET_COUNT_WIDTH).</br>
  26866. </comment>
  26867. </bits>
  26868. <bits access="rw" name="pid" pos="30:29" rst="0">
  26869. <comment>
  26870. <br>PID (Pid)</br>
  26871. <br/>
  26872. <br>The application programs this field with the type of PID to use for the initial transaction. The host maintains this field for the rest of the transfer.</br>
  26873. <br> - 2'b00: DATA0</br>
  26874. <br> - 2'b01: DATA2</br>
  26875. <br> - 2'b10: DATA1</br>
  26876. <br> - 2'b11: MDATA (non-control)/SETUP (control)</br>
  26877. </comment>
  26878. </bits>
  26879. <bits access="rw" name="dopng" pos="31" rst="0">
  26880. <comment>
  26881. <br>Do Ping (DoPng)</br>
  26882. <br/>
  26883. <br>This bit is used only for OUT transfers.</br>
  26884. <br>Setting this field to 1 directs the host to do PING protocol.</br>
  26885. <br/>
  26886. <br>Note: Do not set this bit for IN transfers. If this bit is set for for IN transfers it disables the channel.</br>
  26887. </comment>
  26888. </bits>
  26889. </reg>
  26890. <reg name="hcdma4" protect="rw">
  26891. <comment>&quot;Host Channel $i DMA Address Register&quot;
  26892. This register is used by the OTG host in the internal DMA mode to maintain the current buffer pointer for IN/OUT transactions. The starting DMA address must be DWORD-aligned.</comment>
  26893. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  26894. <comment>
  26895. <br>In Buffer DMA Mode:</br>
  26896. <br/>
  26897. <br>[31:0]: DMA Address (DMAAddr)</br>
  26898. <br/>
  26899. <br>This field holds the start address in the external memory from which the data for the endpoint must be fetched or to which it must be stored. This register is incremented on every AHB transaction.</br>
  26900. <br/>
  26901. <br>Reset: X if not programmed as the register is in SPRAM.</br>
  26902. <br/>
  26903. <br>In Scatter-Gather DMA (DescDMA) Mode for Non-Isochronous:</br>
  26904. <br/>
  26905. <br>[31:9]: DMA Address (DMAAddr)</br>
  26906. <br/>
  26907. <br>The start address must be 512-bytes aligned.</br>
  26908. <br/>
  26909. <br>This field holds the start address of the 512 bytes page. The first descriptor in the list should be located in this address. The first descriptor may be or may not be ready. The core starts processing the list from the CTD value. </br>
  26910. <br/>
  26911. <br>[8:3]: Current Transfer Desc(CTD)</br>
  26912. <br/>
  26913. <br>This value is in terms of number of descriptors. The values can be from 0 to 63. </br>
  26914. <br> - 0 - 1 descriptor. </br>
  26915. <br> - 63 - 64 descriptors. </br>
  26916. <br>This field indicates the current descriptor processed in the list. This field is updated both by application and the core. For example, if the application enables the channel after programming CTD=5, then the core will start processing the sixth descriptor. The address is obtained by adding a value of (8bytes*5=) 40(decimal) to DMAAddr.</br>
  26917. <br/>
  26918. <br>Reset: 6'h0</br>
  26919. <br/>
  26920. <br>[2:0]: Reserved</br>
  26921. <br/>
  26922. <br>In Scatter-Gather DMA (DescDMA) Mode for Isochronous:</br>
  26923. <br/>
  26924. <br>[31:N]: DMA Address (DMAAddr)</br>
  26925. <br/>
  26926. <br>The start address must be 512-bytes aligned.</br>
  26927. <br/>
  26928. <br>This field holds the address of the 2*(nTD+1) bytes of locations in which the isochronous descriptors are present where N is based on nTD as follows:</br>
  26929. <br> - [31:N]: Base Address</br>
  26930. <br> - [N-1:3]: Offset</br>
  26931. <br> - [2:0]: 000</br>
  26932. <br>For HS ISOC, if nTD is,</br>
  26933. <br> - 7, N=6</br>
  26934. <br> - 15, N=7</br>
  26935. <br> - 31, N=8</br>
  26936. <br> - 63, N=9</br>
  26937. <br> - 127, N=10</br>
  26938. <br> - 255, N=11</br>
  26939. <br>For FS ISOC, if nTD is, </br>
  26940. <br> - 1, N=4</br>
  26941. <br> - 3, N=5</br>
  26942. <br> - 7, N=6</br>
  26943. <br> - 15, N=7</br>
  26944. <br> - 31, N=8</br>
  26945. <br> - 63, N=9</br>
  26946. <br>[N-1:3]: Current Transfer Desc(CTD)</br>
  26947. <br/>
  26948. <br>CTD for isochronous is based on the current frame/(micro)frame value. Need to be set to zero by application.</br>
  26949. <br/>
  26950. <br>Reset: (N+1:3)'h0</br>
  26951. <br/>
  26952. <br>[2:0]: Reserved</br>
  26953. </comment>
  26954. </bits>
  26955. </reg>
  26956. <hole size="32"/>
  26957. <reg name="hcdmab4" protect="r">
  26958. <comment>&quot;Host Channel $i DMA Buffer Address Register&quot;
  26959. This register is present only in case of Scatter/Gather DMA. It is implemented in RAM instead of flop-based implementation. This register holds the current buffer address.</comment>
  26960. <bits access="r" name="hcdmab" pos="31:0" rst="0">
  26961. <comment>
  26962. <br>Holds the current buffer address.</br>
  26963. <br>This register is updated as and when the data transfer for the corresponding end point </br>
  26964. <br>is in progress. This register is present only in Scatter/Gather DMA mode. Otherwise this </br>
  26965. <br>field is reserved.</br>
  26966. </comment>
  26967. </bits>
  26968. </reg>
  26969. <reg name="hcchar5" protect="rw">
  26970. <comment>Host Channel 5 Characteristics Register</comment>
  26971. <bits access="rw" name="mps" pos="10:0" rst="0">
  26972. <comment>
  26973. <br>Maximum Packet Size (MPS)</br>
  26974. <br/>
  26975. <br>Indicates the maximum packet size of the associated endpoint.</br>
  26976. </comment>
  26977. </bits>
  26978. <bits access="rw" name="epnum" pos="14:11" rst="0">
  26979. <comment>
  26980. <br>Endpoint Number (EPNum)</br>
  26981. <br/>
  26982. <br>Indicates the endpoint number on the device serving as the data source or sink.</br>
  26983. </comment>
  26984. </bits>
  26985. <bits access="rw" name="epdir" pos="15" rst="0">
  26986. <comment>
  26987. <br>Endpoint Direction (EPDir)</br>
  26988. <br/>
  26989. <br>Indicates whether the transaction is IN or OUT.</br>
  26990. <br> - 1'b0: OUT</br>
  26991. <br> - 1'b1: IN</br>
  26992. </comment>
  26993. </bits>
  26994. <bits access="rw" name="lspddev" pos="17" rst="0">
  26995. <comment>
  26996. <br>Low-Speed Device (LSpdDev)</br>
  26997. <br/>
  26998. <br>This field is Set by the application to indicate that this channel is communicating to a low-speed device.</br>
  26999. <br/>
  27000. <br>The application must program this bit when a low speed device is connected to the host through an FS HUB. The DWC_otg Host core uses this field to drive the XCVR_SELECT signal to 2'b11 while communicating to the LS Device through the FS hub.</br>
  27001. <br/>
  27002. <br>Note: In a peer to peer setup, the DWC_otg Host core ignores this bit even if it is set by the application software.</br>
  27003. </comment>
  27004. </bits>
  27005. <bits access="rw" name="eptype" pos="19:18" rst="0">
  27006. <comment>
  27007. <br>Endpoint Type (EPType)</br>
  27008. <br/>
  27009. <br>Indicates the transfer type selected.</br>
  27010. <br> - 2'b00: Control</br>
  27011. <br> - 2'b01: Isochronous</br>
  27012. <br> - 2'b10: Bulk</br>
  27013. <br> - 2'b11: Interrupt</br>
  27014. </comment>
  27015. </bits>
  27016. <bits access="rw" name="ec" pos="21:20" rst="0">
  27017. <comment>
  27018. <br>Multi Count (MC) / Error Count (EC)</br>
  27019. <br/>
  27020. <br>When the Split Enable bit of the Host Channel-n Split Control</br>
  27021. <br>register (HCSPLTn.SpltEna) is reset (1'b0), this field indicates to</br>
  27022. <br>the host the number of transactions that must be executed per</br>
  27023. <br>microframe for this periodic endpoint. For non periodic transfers,</br>
  27024. <br>this field is used only in DMA mode, and specifies the number</br>
  27025. <br>packets to be fetched for this channel before the internal DMA</br>
  27026. <br>engine changes arbitration.</br>
  27027. <br> - 2'b00: Reserved This field yields undefined results.</br>
  27028. <br> - 2'b01: 1 transaction</br>
  27029. <br> - 2'b10: 2 transactions to be issued for this endpoint per microframe</br>
  27030. <br> - 2'b11: 3 transactions to be issued for this endpoint per microframe</br>
  27031. <br>When HCSPLTn.SpltEna is Set (1'b1), this field indicates the</br>
  27032. <br>number of immediate retries to be performed for a periodic split</br>
  27033. <br>transactions on transaction errors. This field must be Set to at</br>
  27034. <br>least 2'b01.</br>
  27035. </comment>
  27036. </bits>
  27037. <bits access="rw" name="devaddr" pos="28:22" rst="0">
  27038. <comment>
  27039. <br>Device Address (DevAddr)</br>
  27040. <br/>
  27041. <br>This field selects the specific device serving as the data source</br>
  27042. <br>or sink.</br>
  27043. </comment>
  27044. </bits>
  27045. <bits access="rw" name="oddfrm" pos="29" rst="0">
  27046. <comment>
  27047. <br>Odd Frame (OddFrm)</br>
  27048. <br/>
  27049. <br>This field is set (reset) by the application to indicate that the OTG host must perform </br>
  27050. <br>a transfer in an odd (micro)Frame. This field is applicable for only periodic </br>
  27051. <br>(isochronous and interrupt) transactions.</br>
  27052. <br> - 1'b0: Even (micro)Frame</br>
  27053. <br> - 1'b1: Odd (micro)Frame</br>
  27054. <br/>
  27055. </comment>
  27056. </bits>
  27057. <bits access="rw" name="chdis" pos="30" rst="0">
  27058. <comment>
  27059. <br>Channel Disable (ChDis)</br>
  27060. <br/>
  27061. <br>The application sets this bit to stop transmitting/receiving data</br>
  27062. <br>on a channel, even before the transfer for that channel is</br>
  27063. <br>complete. The application must wait for the Channel Disabled</br>
  27064. <br>interrupt before treating the channel as disabled.</br>
  27065. </comment>
  27066. </bits>
  27067. <bits access="rw" name="chena" pos="31" rst="0">
  27068. <comment>
  27069. <br>Channel Enable (ChEna)</br>
  27070. <br/>
  27071. <br>When Scatter/Gather mode is enabled </br>
  27072. <br> - 1'b0: Indicates that the descriptor structure is not yet ready. </br>
  27073. <br> - 1'b1: Indicates that the descriptor structure and data buffer with data is setup and this channel can access the descriptor. </br>
  27074. <br>When Scatter/Gather mode is disabled </br>
  27075. <br/>
  27076. <br> This field is set by the application and cleared by the OTG host. </br>
  27077. <br> - 1'b0: Channel disabled </br>
  27078. <br> - 1'b1: Channel enabled</br>
  27079. </comment>
  27080. </bits>
  27081. </reg>
  27082. <reg name="hcsplt5" protect="rw">
  27083. <comment>Host Channel 5 Split Control Register</comment>
  27084. <bits access="rw" name="prtaddr" pos="6:0" rst="0">
  27085. <comment>
  27086. <br>Port Address (PrtAddr)</br>
  27087. <br/>
  27088. <br>This field is the port number of the recipient transaction translator.</br>
  27089. </comment>
  27090. </bits>
  27091. <bits access="rw" name="hubaddr" pos="13:7" rst="0">
  27092. <comment>
  27093. <br>Hub Address (HubAddr)</br>
  27094. <br/>
  27095. <br>This field holds the device address of the transaction translator's hub.</br>
  27096. </comment>
  27097. </bits>
  27098. <bits access="rw" name="xactpos" pos="15:14" rst="0">
  27099. <comment>
  27100. <br>Transaction Position (XactPos)</br>
  27101. <br/>
  27102. <br>This field is used to determine whether to send all, first, middle, or last payloads with each OUT transaction.</br>
  27103. <br> - 2'b11: All. This is the entire data payload is of this transaction (which is less than or equal to 188 bytes).</br>
  27104. <br> - 2'b10: Begin. This is the first data payload of this transaction (which is larger than 188 bytes).</br>
  27105. <br> - 2'b00: Mid. This is the middle payload of this transaction (which is larger than 188 bytes).</br>
  27106. <br> - 2'b01: End. This is the last payload of this transaction (which is larger than 188 bytes).</br>
  27107. </comment>
  27108. </bits>
  27109. <bits access="rw" name="compsplt" pos="16" rst="0">
  27110. <comment>
  27111. <br>Do Complete Split (CompSplt)</br>
  27112. <br/>
  27113. <br>The application sets this field to request the OTG host to perform a complete split transaction.</br>
  27114. </comment>
  27115. </bits>
  27116. <bits access="rw" name="spltena" pos="31" rst="0">
  27117. <comment>
  27118. <br>Split Enable (SpltEna)</br>
  27119. <br/>
  27120. <br>The application sets this field to indicate that this channel is enabled to perform split transactions.</br>
  27121. </comment>
  27122. </bits>
  27123. </reg>
  27124. <reg name="hcint5" protect="rw">
  27125. <comment>&quot;Host Channel $i Interrupt Register&quot;
  27126. This register indicates the status of a channel with respect to USB- and AHB-related events. It is shown in the &quot;Interrupt Hierarchy&quot; figure in the databook. The application must read this register when the Host Channels Interrupt bit of the Core Interrupt register (GINTSTS.HChInt) is set. Before the application can read this register, it must first read the Host All Channels Interrupt (HAINT) register to get the exact channel number for the Host Channel-n Interrupt register. The application must clear the appropriate bit in this register to clear the corresponding bits in the HAINT and GINTSTS registers.</comment>
  27127. <bits access="rw" name="xfercompl" pos="0" rst="0">
  27128. <comment>
  27129. <br>Transfer Completed (XferCompl)</br>
  27130. <br/>
  27131. <br>Transfer completed normally without any errors.This bit can be set only by the core and the application should write 1 to clear it.</br>
  27132. <br> - For Scatter/Gather DMA mode, it indicates that current descriptor processing got completed with IOC bit set in its descriptor.</br>
  27133. <br> - In non Scatter/Gather DMA mode, it indicates that Transfer completed normally without any errors.</br>
  27134. <br/>
  27135. </comment>
  27136. </bits>
  27137. <bits access="rw" name="chhltd" pos="1" rst="0">
  27138. <comment>
  27139. <br>Channel Halted (ChHltd)</br>
  27140. <br/>
  27141. <br>In non Scatter/Gather DMA mode, it indicates the transfer completed abnormally either because of any USB transaction error or in response to disable request by the application or because of a completed transfer.</br>
  27142. <br/>
  27143. <br>In Scatter/gather DMA mode, this indicates that transfer completed due to any of the following</br>
  27144. <br> - EOL being set in descriptor</br>
  27145. <br> - AHB error</br>
  27146. <br> - Excessive transaction errors</br>
  27147. <br> - Babble</br>
  27148. <br> - Stall</br>
  27149. <br/>
  27150. </comment>
  27151. </bits>
  27152. <bits access="rw" name="ahberr" pos="2" rst="0">
  27153. <comment>
  27154. <br>AHB Error (AHBErr)</br>
  27155. <br/>
  27156. <br>This is generated only in Internal DMA mode when there is an AHB error during AHB read/write. The application can read the corresponding channel's DMA address register to get the error address.</br>
  27157. </comment>
  27158. </bits>
  27159. <bits access="rw" name="stall" pos="3" rst="0">
  27160. <comment>
  27161. <br>STALL Response Received Interrupt (STALL)</br>
  27162. <br/>
  27163. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  27164. </comment>
  27165. </bits>
  27166. <bits access="rw" name="nak" pos="4" rst="0">
  27167. <comment>
  27168. <br>NAK Response Received Interrupt (NAK)</br>
  27169. <br/>
  27170. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  27171. </comment>
  27172. </bits>
  27173. <bits access="rw" name="ack" pos="5" rst="0">
  27174. <comment>
  27175. <br>ACK Response Received/Transmitted Interrupt (ACK)</br>
  27176. <br/>
  27177. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  27178. </comment>
  27179. </bits>
  27180. <bits access="rw" name="nyet" pos="6" rst="0">
  27181. <comment>
  27182. <br>NYET Response Received Interrupt (NYET)</br>
  27183. <br/>
  27184. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  27185. </comment>
  27186. </bits>
  27187. <bits access="rw" name="xacterr" pos="7" rst="0">
  27188. <comment>
  27189. <br>Transaction Error (XactErr)</br>
  27190. <br/>
  27191. <br>Indicates one of the following errors occurred on the USB.</br>
  27192. <br> - CRC check failure</br>
  27193. <br> - Timeout</br>
  27194. <br> - Bit stuff error</br>
  27195. <br> - False EOP</br>
  27196. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  27197. </comment>
  27198. </bits>
  27199. <bits access="rw" name="bblerr" pos="8" rst="0">
  27200. <comment>
  27201. <br>Babble Error (BblErr)</br>
  27202. <br/>
  27203. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core. This bit can be set only by the core and the application should write 1 to clear it.</br>
  27204. </comment>
  27205. </bits>
  27206. <bits access="rw" name="frmovrun" pos="9" rst="0">
  27207. <comment>
  27208. <br>Frame Overrun (FrmOvrun).</br>
  27209. <br/>
  27210. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked </br>
  27211. <br>in the core. This bit can be set only by the core and the application should write 1 to clear</br>
  27212. <br>it.</br>
  27213. </comment>
  27214. </bits>
  27215. <bits access="rw" name="datatglerr" pos="10" rst="0">
  27216. <comment>
  27217. <br/>
  27218. <br>Data Toggle Error (DataTglErr).This bit can be set only by the core and the application should write 1 to clear</br>
  27219. <br>it.In Scatter/Gather DMA mode, the interrupt due to this bit is masked </br>
  27220. <br>in the core.</br>
  27221. </comment>
  27222. </bits>
  27223. <bits access="rw" name="bnaintr" pos="11" rst="0">
  27224. <comment>
  27225. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  27226. <br/>
  27227. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. </br>
  27228. <br>The core generates this interrupt when the descriptor accessed </br>
  27229. <br>is not ready for the Core to process. BNA will not be generated </br>
  27230. <br>for Isochronous channels.</br>
  27231. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  27232. </comment>
  27233. </bits>
  27234. <bits access="rw" name="xcs_xact_err" pos="12" rst="0">
  27235. <comment>
  27236. <br>Excessive Transaction Error (XCS_XACT_ERR)</br>
  27237. <br/>
  27238. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. The core sets this bit </br>
  27239. <br>when 3 consecutive transaction errors occurred on the USB bus. XCS_XACT_ERR will </br>
  27240. <br>not be generated for Isochronous channels.</br>
  27241. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  27242. </comment>
  27243. </bits>
  27244. <bits access="rw" name="desc_lst_rollintr" pos="13" rst="0">
  27245. <comment>
  27246. <br>Descriptor rollover interrupt (DESC_LST_ROLLIntr)</br>
  27247. <br/>
  27248. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. The core sets this bit </br>
  27249. <br>when the corresponding channel's descriptor list rolls over.</br>
  27250. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  27251. </comment>
  27252. </bits>
  27253. </reg>
  27254. <reg name="hcintmsk5" protect="rw">
  27255. <comment>&quot;Host Channel $i Interrupt Mask Register&quot;
  27256. This register reflects the mask for each channel status described in the previous section.</comment>
  27257. <bits access="rw" name="xfercomplmsk" pos="0" rst="0">
  27258. <comment>
  27259. <br/>
  27260. <br>Transfer Completed Mask (XferComplMsk)</br>
  27261. </comment>
  27262. </bits>
  27263. <bits access="rw" name="chhltdmsk" pos="1" rst="0">
  27264. <comment>
  27265. <br/>
  27266. <br>Channel Halted Mask (ChHltdMsk)</br>
  27267. </comment>
  27268. </bits>
  27269. <bits access="rw" name="ahberrmsk" pos="2" rst="0">
  27270. <comment>
  27271. <br/>
  27272. <br>AHB Error Mask (AHBErrMsk)</br>
  27273. <br>In scatter/gather DMA mode for host, </br>
  27274. <br>interrupts will not be generated due to the corresponding bits set in </br>
  27275. <br>HCINTn.</br>
  27276. </comment>
  27277. </bits>
  27278. <bits access="rw" name="bnaintrmsk" pos="11" rst="0">
  27279. <comment>
  27280. <br/>
  27281. <br>BNA (Buffer Not Available) Interrupt mask register (BNAIntrMsk) </br>
  27282. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  27283. </comment>
  27284. </bits>
  27285. <bits access="rw" name="desc_lst_rollintrmsk" pos="13" rst="0">
  27286. <comment>
  27287. <br/>
  27288. <br>Descriptor List rollover interrupt Mask register(DESC_LST_ROLLIntrMsk)</br>
  27289. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  27290. </comment>
  27291. </bits>
  27292. </reg>
  27293. <reg name="hctsiz5" protect="rw">
  27294. <comment>Host Channel 5 Transfer Size Register</comment>
  27295. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  27296. <comment>
  27297. <br>Transfer Size (XferSize)</br>
  27298. <br/>
  27299. <br>For an OUT, this field is the number of data bytes the host sends during the transfer.</br>
  27300. <br/>
  27301. <br>For an IN, this field is the buffer size that the application has Reserved for the transfer. The application is expected to program this field as an integer multiple of the maximum packet size for IN transactions (periodic and non-periodic).</br>
  27302. <br/>
  27303. <br>The width of this counter is specified as Width of Transfer Size Counters during coreConsultant configuration (parameter OTG_TRANS_COUNT_WIDTH).</br>
  27304. </comment>
  27305. </bits>
  27306. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  27307. <comment>
  27308. <br>Packet Count (PktCnt)</br>
  27309. <br/>
  27310. <br>This field is programmed by the application with the expected number of packets to be transmitted (OUT) or received (IN).</br>
  27311. <br/>
  27312. <br>The host decrements this count on every successful transmission or reception of an OUT/IN packet. Once this count reaches zero, the application is interrupted to indicate normal completion.</br>
  27313. <br/>
  27314. <br>The width of this counter is specified as Width of Packet Counters during coreConsultant configuration (parameter OTG_PACKET_COUNT_WIDTH).</br>
  27315. </comment>
  27316. </bits>
  27317. <bits access="rw" name="pid" pos="30:29" rst="0">
  27318. <comment>
  27319. <br>PID (Pid)</br>
  27320. <br/>
  27321. <br>The application programs this field with the type of PID to use for the initial transaction. The host maintains this field for the rest of the transfer.</br>
  27322. <br> - 2'b00: DATA0</br>
  27323. <br> - 2'b01: DATA2</br>
  27324. <br> - 2'b10: DATA1</br>
  27325. <br> - 2'b11: MDATA (non-control)/SETUP (control)</br>
  27326. </comment>
  27327. </bits>
  27328. <bits access="rw" name="dopng" pos="31" rst="0">
  27329. <comment>
  27330. <br>Do Ping (DoPng)</br>
  27331. <br/>
  27332. <br>This bit is used only for OUT transfers.</br>
  27333. <br>Setting this field to 1 directs the host to do PING protocol.</br>
  27334. <br/>
  27335. <br>Note: Do not set this bit for IN transfers. If this bit is set for for IN transfers it disables the channel.</br>
  27336. </comment>
  27337. </bits>
  27338. </reg>
  27339. <reg name="hcdma5" protect="rw">
  27340. <comment>&quot;Host Channel $i DMA Address Register&quot;
  27341. This register is used by the OTG host in the internal DMA mode to maintain the current buffer pointer for IN/OUT transactions. The starting DMA address must be DWORD-aligned.</comment>
  27342. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  27343. <comment>
  27344. <br>In Buffer DMA Mode:</br>
  27345. <br/>
  27346. <br>[31:0]: DMA Address (DMAAddr)</br>
  27347. <br/>
  27348. <br>This field holds the start address in the external memory from which the data for the endpoint must be fetched or to which it must be stored. This register is incremented on every AHB transaction.</br>
  27349. <br/>
  27350. <br>Reset: X if not programmed as the register is in SPRAM.</br>
  27351. <br/>
  27352. <br>In Scatter-Gather DMA (DescDMA) Mode for Non-Isochronous:</br>
  27353. <br/>
  27354. <br>[31:9]: DMA Address (DMAAddr)</br>
  27355. <br/>
  27356. <br>The start address must be 512-bytes aligned.</br>
  27357. <br/>
  27358. <br>This field holds the start address of the 512 bytes page. The first descriptor in the list should be located in this address. The first descriptor may be or may not be ready. The core starts processing the list from the CTD value. </br>
  27359. <br/>
  27360. <br>[8:3]: Current Transfer Desc(CTD)</br>
  27361. <br/>
  27362. <br>This value is in terms of number of descriptors. The values can be from 0 to 63. </br>
  27363. <br> - 0 - 1 descriptor. </br>
  27364. <br> - 63 - 64 descriptors. </br>
  27365. <br>This field indicates the current descriptor processed in the list. This field is updated both by application and the core. For example, if the application enables the channel after programming CTD=5, then the core will start processing the sixth descriptor. The address is obtained by adding a value of (8bytes*5=) 40(decimal) to DMAAddr.</br>
  27366. <br/>
  27367. <br>Reset: 6'h0</br>
  27368. <br/>
  27369. <br>[2:0]: Reserved</br>
  27370. <br/>
  27371. <br>In Scatter-Gather DMA (DescDMA) Mode for Isochronous:</br>
  27372. <br/>
  27373. <br>[31:N]: DMA Address (DMAAddr)</br>
  27374. <br/>
  27375. <br>The start address must be 512-bytes aligned.</br>
  27376. <br/>
  27377. <br>This field holds the address of the 2*(nTD+1) bytes of locations in which the isochronous descriptors are present where N is based on nTD as follows:</br>
  27378. <br> - [31:N]: Base Address</br>
  27379. <br> - [N-1:3]: Offset</br>
  27380. <br> - [2:0]: 000</br>
  27381. <br>For HS ISOC, if nTD is,</br>
  27382. <br> - 7, N=6</br>
  27383. <br> - 15, N=7</br>
  27384. <br> - 31, N=8</br>
  27385. <br> - 63, N=9</br>
  27386. <br> - 127, N=10</br>
  27387. <br> - 255, N=11</br>
  27388. <br>For FS ISOC, if nTD is, </br>
  27389. <br> - 1, N=4</br>
  27390. <br> - 3, N=5</br>
  27391. <br> - 7, N=6</br>
  27392. <br> - 15, N=7</br>
  27393. <br> - 31, N=8</br>
  27394. <br> - 63, N=9</br>
  27395. <br>[N-1:3]: Current Transfer Desc(CTD)</br>
  27396. <br/>
  27397. <br>CTD for isochronous is based on the current frame/(micro)frame value. Need to be set to zero by application.</br>
  27398. <br/>
  27399. <br>Reset: (N+1:3)'h0</br>
  27400. <br/>
  27401. <br>[2:0]: Reserved</br>
  27402. </comment>
  27403. </bits>
  27404. </reg>
  27405. <hole size="32"/>
  27406. <reg name="hcdmab5" protect="r">
  27407. <comment>&quot;Host Channel $i DMA Buffer Address Register&quot;
  27408. This register is present only in case of Scatter/Gather DMA. It is implemented in RAM instead of flop-based implementation. This register holds the current buffer address.</comment>
  27409. <bits access="r" name="hcdmab" pos="31:0" rst="0">
  27410. <comment>
  27411. <br>Holds the current buffer address.</br>
  27412. <br>This register is updated as and when the data transfer for the corresponding end point </br>
  27413. <br>is in progress. This register is present only in Scatter/Gather DMA mode. Otherwise this </br>
  27414. <br>field is reserved.</br>
  27415. </comment>
  27416. </bits>
  27417. </reg>
  27418. <reg name="hcchar6" protect="rw">
  27419. <comment>Host Channel 6 Characteristics Register</comment>
  27420. <bits access="rw" name="mps" pos="10:0" rst="0">
  27421. <comment>
  27422. <br>Maximum Packet Size (MPS)</br>
  27423. <br/>
  27424. <br>Indicates the maximum packet size of the associated endpoint.</br>
  27425. </comment>
  27426. </bits>
  27427. <bits access="rw" name="epnum" pos="14:11" rst="0">
  27428. <comment>
  27429. <br>Endpoint Number (EPNum)</br>
  27430. <br/>
  27431. <br>Indicates the endpoint number on the device serving as the data source or sink.</br>
  27432. </comment>
  27433. </bits>
  27434. <bits access="rw" name="epdir" pos="15" rst="0">
  27435. <comment>
  27436. <br>Endpoint Direction (EPDir)</br>
  27437. <br/>
  27438. <br>Indicates whether the transaction is IN or OUT.</br>
  27439. <br> - 1'b0: OUT</br>
  27440. <br> - 1'b1: IN</br>
  27441. </comment>
  27442. </bits>
  27443. <bits access="rw" name="lspddev" pos="17" rst="0">
  27444. <comment>
  27445. <br>Low-Speed Device (LSpdDev)</br>
  27446. <br/>
  27447. <br>This field is Set by the application to indicate that this channel is communicating to a low-speed device.</br>
  27448. <br/>
  27449. <br>The application must program this bit when a low speed device is connected to the host through an FS HUB. The DWC_otg Host core uses this field to drive the XCVR_SELECT signal to 2'b11 while communicating to the LS Device through the FS hub.</br>
  27450. <br/>
  27451. <br>Note: In a peer to peer setup, the DWC_otg Host core ignores this bit even if it is set by the application software.</br>
  27452. </comment>
  27453. </bits>
  27454. <bits access="rw" name="eptype" pos="19:18" rst="0">
  27455. <comment>
  27456. <br>Endpoint Type (EPType)</br>
  27457. <br/>
  27458. <br>Indicates the transfer type selected.</br>
  27459. <br> - 2'b00: Control</br>
  27460. <br> - 2'b01: Isochronous</br>
  27461. <br> - 2'b10: Bulk</br>
  27462. <br> - 2'b11: Interrupt</br>
  27463. </comment>
  27464. </bits>
  27465. <bits access="rw" name="ec" pos="21:20" rst="0">
  27466. <comment>
  27467. <br>Multi Count (MC) / Error Count (EC)</br>
  27468. <br/>
  27469. <br>When the Split Enable bit of the Host Channel-n Split Control</br>
  27470. <br>register (HCSPLTn.SpltEna) is reset (1'b0), this field indicates to</br>
  27471. <br>the host the number of transactions that must be executed per</br>
  27472. <br>microframe for this periodic endpoint. For non periodic transfers,</br>
  27473. <br>this field is used only in DMA mode, and specifies the number</br>
  27474. <br>packets to be fetched for this channel before the internal DMA</br>
  27475. <br>engine changes arbitration.</br>
  27476. <br> - 2'b00: Reserved This field yields undefined results.</br>
  27477. <br> - 2'b01: 1 transaction</br>
  27478. <br> - 2'b10: 2 transactions to be issued for this endpoint per microframe</br>
  27479. <br> - 2'b11: 3 transactions to be issued for this endpoint per microframe</br>
  27480. <br>When HCSPLTn.SpltEna is Set (1'b1), this field indicates the</br>
  27481. <br>number of immediate retries to be performed for a periodic split</br>
  27482. <br>transactions on transaction errors. This field must be Set to at</br>
  27483. <br>least 2'b01.</br>
  27484. </comment>
  27485. </bits>
  27486. <bits access="rw" name="devaddr" pos="28:22" rst="0">
  27487. <comment>
  27488. <br>Device Address (DevAddr)</br>
  27489. <br/>
  27490. <br>This field selects the specific device serving as the data source</br>
  27491. <br>or sink.</br>
  27492. </comment>
  27493. </bits>
  27494. <bits access="rw" name="oddfrm" pos="29" rst="0">
  27495. <comment>
  27496. <br>Odd Frame (OddFrm)</br>
  27497. <br/>
  27498. <br>This field is set (reset) by the application to indicate that the OTG host must perform </br>
  27499. <br>a transfer in an odd (micro)Frame. This field is applicable for only periodic </br>
  27500. <br>(isochronous and interrupt) transactions.</br>
  27501. <br> - 1'b0: Even (micro)Frame</br>
  27502. <br> - 1'b1: Odd (micro)Frame</br>
  27503. <br/>
  27504. </comment>
  27505. </bits>
  27506. <bits access="rw" name="chdis" pos="30" rst="0">
  27507. <comment>
  27508. <br>Channel Disable (ChDis)</br>
  27509. <br/>
  27510. <br>The application sets this bit to stop transmitting/receiving data</br>
  27511. <br>on a channel, even before the transfer for that channel is</br>
  27512. <br>complete. The application must wait for the Channel Disabled</br>
  27513. <br>interrupt before treating the channel as disabled.</br>
  27514. </comment>
  27515. </bits>
  27516. <bits access="rw" name="chena" pos="31" rst="0">
  27517. <comment>
  27518. <br>Channel Enable (ChEna)</br>
  27519. <br/>
  27520. <br>When Scatter/Gather mode is enabled </br>
  27521. <br> - 1'b0: Indicates that the descriptor structure is not yet ready. </br>
  27522. <br> - 1'b1: Indicates that the descriptor structure and data buffer with data is setup and this channel can access the descriptor. </br>
  27523. <br>When Scatter/Gather mode is disabled </br>
  27524. <br/>
  27525. <br> This field is set by the application and cleared by the OTG host. </br>
  27526. <br> - 1'b0: Channel disabled </br>
  27527. <br> - 1'b1: Channel enabled</br>
  27528. </comment>
  27529. </bits>
  27530. </reg>
  27531. <reg name="hcsplt6" protect="rw">
  27532. <comment>Host Channel 6 Split Control Register</comment>
  27533. <bits access="rw" name="prtaddr" pos="6:0" rst="0">
  27534. <comment>
  27535. <br>Port Address (PrtAddr)</br>
  27536. <br/>
  27537. <br>This field is the port number of the recipient transaction translator.</br>
  27538. </comment>
  27539. </bits>
  27540. <bits access="rw" name="hubaddr" pos="13:7" rst="0">
  27541. <comment>
  27542. <br>Hub Address (HubAddr)</br>
  27543. <br/>
  27544. <br>This field holds the device address of the transaction translator's hub.</br>
  27545. </comment>
  27546. </bits>
  27547. <bits access="rw" name="xactpos" pos="15:14" rst="0">
  27548. <comment>
  27549. <br>Transaction Position (XactPos)</br>
  27550. <br/>
  27551. <br>This field is used to determine whether to send all, first, middle, or last payloads with each OUT transaction.</br>
  27552. <br> - 2'b11: All. This is the entire data payload is of this transaction (which is less than or equal to 188 bytes).</br>
  27553. <br> - 2'b10: Begin. This is the first data payload of this transaction (which is larger than 188 bytes).</br>
  27554. <br> - 2'b00: Mid. This is the middle payload of this transaction (which is larger than 188 bytes).</br>
  27555. <br> - 2'b01: End. This is the last payload of this transaction (which is larger than 188 bytes).</br>
  27556. </comment>
  27557. </bits>
  27558. <bits access="rw" name="compsplt" pos="16" rst="0">
  27559. <comment>
  27560. <br>Do Complete Split (CompSplt)</br>
  27561. <br/>
  27562. <br>The application sets this field to request the OTG host to perform a complete split transaction.</br>
  27563. </comment>
  27564. </bits>
  27565. <bits access="rw" name="spltena" pos="31" rst="0">
  27566. <comment>
  27567. <br>Split Enable (SpltEna)</br>
  27568. <br/>
  27569. <br>The application sets this field to indicate that this channel is enabled to perform split transactions.</br>
  27570. </comment>
  27571. </bits>
  27572. </reg>
  27573. <reg name="hcint6" protect="rw">
  27574. <comment>&quot;Host Channel $i Interrupt Register&quot;
  27575. This register indicates the status of a channel with respect to USB- and AHB-related events. It is shown in the &quot;Interrupt Hierarchy&quot; figure in the databook. The application must read this register when the Host Channels Interrupt bit of the Core Interrupt register (GINTSTS.HChInt) is set. Before the application can read this register, it must first read the Host All Channels Interrupt (HAINT) register to get the exact channel number for the Host Channel-n Interrupt register. The application must clear the appropriate bit in this register to clear the corresponding bits in the HAINT and GINTSTS registers.</comment>
  27576. <bits access="rw" name="xfercompl" pos="0" rst="0">
  27577. <comment>
  27578. <br>Transfer Completed (XferCompl)</br>
  27579. <br/>
  27580. <br>Transfer completed normally without any errors.This bit can be set only by the core and the application should write 1 to clear it.</br>
  27581. <br> - For Scatter/Gather DMA mode, it indicates that current descriptor processing got completed with IOC bit set in its descriptor.</br>
  27582. <br> - In non Scatter/Gather DMA mode, it indicates that Transfer completed normally without any errors.</br>
  27583. <br/>
  27584. </comment>
  27585. </bits>
  27586. <bits access="rw" name="chhltd" pos="1" rst="0">
  27587. <comment>
  27588. <br>Channel Halted (ChHltd)</br>
  27589. <br/>
  27590. <br>In non Scatter/Gather DMA mode, it indicates the transfer completed abnormally either because of any USB transaction error or in response to disable request by the application or because of a completed transfer.</br>
  27591. <br/>
  27592. <br>In Scatter/gather DMA mode, this indicates that transfer completed due to any of the following</br>
  27593. <br> - EOL being set in descriptor</br>
  27594. <br> - AHB error</br>
  27595. <br> - Excessive transaction errors</br>
  27596. <br> - Babble</br>
  27597. <br> - Stall</br>
  27598. <br/>
  27599. </comment>
  27600. </bits>
  27601. <bits access="rw" name="ahberr" pos="2" rst="0">
  27602. <comment>
  27603. <br>AHB Error (AHBErr)</br>
  27604. <br/>
  27605. <br>This is generated only in Internal DMA mode when there is an AHB error during AHB read/write. The application can read the corresponding channel's DMA address register to get the error address.</br>
  27606. </comment>
  27607. </bits>
  27608. <bits access="rw" name="stall" pos="3" rst="0">
  27609. <comment>
  27610. <br>STALL Response Received Interrupt (STALL)</br>
  27611. <br/>
  27612. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  27613. </comment>
  27614. </bits>
  27615. <bits access="rw" name="nak" pos="4" rst="0">
  27616. <comment>
  27617. <br>NAK Response Received Interrupt (NAK)</br>
  27618. <br/>
  27619. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  27620. </comment>
  27621. </bits>
  27622. <bits access="rw" name="ack" pos="5" rst="0">
  27623. <comment>
  27624. <br>ACK Response Received/Transmitted Interrupt (ACK)</br>
  27625. <br/>
  27626. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  27627. </comment>
  27628. </bits>
  27629. <bits access="rw" name="nyet" pos="6" rst="0">
  27630. <comment>
  27631. <br>NYET Response Received Interrupt (NYET)</br>
  27632. <br/>
  27633. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  27634. </comment>
  27635. </bits>
  27636. <bits access="rw" name="xacterr" pos="7" rst="0">
  27637. <comment>
  27638. <br>Transaction Error (XactErr)</br>
  27639. <br/>
  27640. <br>Indicates one of the following errors occurred on the USB.</br>
  27641. <br> - CRC check failure</br>
  27642. <br> - Timeout</br>
  27643. <br> - Bit stuff error</br>
  27644. <br> - False EOP</br>
  27645. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  27646. </comment>
  27647. </bits>
  27648. <bits access="rw" name="bblerr" pos="8" rst="0">
  27649. <comment>
  27650. <br>Babble Error (BblErr)</br>
  27651. <br/>
  27652. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core. This bit can be set only by the core and the application should write 1 to clear it.</br>
  27653. </comment>
  27654. </bits>
  27655. <bits access="rw" name="frmovrun" pos="9" rst="0">
  27656. <comment>
  27657. <br>Frame Overrun (FrmOvrun).</br>
  27658. <br/>
  27659. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked </br>
  27660. <br>in the core. This bit can be set only by the core and the application should write 1 to clear</br>
  27661. <br>it.</br>
  27662. </comment>
  27663. </bits>
  27664. <bits access="rw" name="datatglerr" pos="10" rst="0">
  27665. <comment>
  27666. <br/>
  27667. <br>Data Toggle Error (DataTglErr).This bit can be set only by the core and the application should write 1 to clear</br>
  27668. <br>it.In Scatter/Gather DMA mode, the interrupt due to this bit is masked </br>
  27669. <br>in the core.</br>
  27670. </comment>
  27671. </bits>
  27672. <bits access="rw" name="bnaintr" pos="11" rst="0">
  27673. <comment>
  27674. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  27675. <br/>
  27676. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. </br>
  27677. <br>The core generates this interrupt when the descriptor accessed </br>
  27678. <br>is not ready for the Core to process. BNA will not be generated </br>
  27679. <br>for Isochronous channels.</br>
  27680. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  27681. </comment>
  27682. </bits>
  27683. <bits access="rw" name="xcs_xact_err" pos="12" rst="0">
  27684. <comment>
  27685. <br>Excessive Transaction Error (XCS_XACT_ERR)</br>
  27686. <br/>
  27687. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. The core sets this bit </br>
  27688. <br>when 3 consecutive transaction errors occurred on the USB bus. XCS_XACT_ERR will </br>
  27689. <br>not be generated for Isochronous channels.</br>
  27690. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  27691. </comment>
  27692. </bits>
  27693. <bits access="rw" name="desc_lst_rollintr" pos="13" rst="0">
  27694. <comment>
  27695. <br>Descriptor rollover interrupt (DESC_LST_ROLLIntr)</br>
  27696. <br/>
  27697. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. The core sets this bit </br>
  27698. <br>when the corresponding channel's descriptor list rolls over.</br>
  27699. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  27700. </comment>
  27701. </bits>
  27702. </reg>
  27703. <reg name="hcintmsk6" protect="rw">
  27704. <comment>&quot;Host Channel $i Interrupt Mask Register&quot;
  27705. This register reflects the mask for each channel status described in the previous section.</comment>
  27706. <bits access="rw" name="xfercomplmsk" pos="0" rst="0">
  27707. <comment>
  27708. <br/>
  27709. <br>Transfer Completed Mask (XferComplMsk)</br>
  27710. </comment>
  27711. </bits>
  27712. <bits access="rw" name="chhltdmsk" pos="1" rst="0">
  27713. <comment>
  27714. <br/>
  27715. <br>Channel Halted Mask (ChHltdMsk)</br>
  27716. </comment>
  27717. </bits>
  27718. <bits access="rw" name="ahberrmsk" pos="2" rst="0">
  27719. <comment>
  27720. <br/>
  27721. <br>AHB Error Mask (AHBErrMsk)</br>
  27722. <br>In scatter/gather DMA mode for host, </br>
  27723. <br>interrupts will not be generated due to the corresponding bits set in </br>
  27724. <br>HCINTn.</br>
  27725. </comment>
  27726. </bits>
  27727. <bits access="rw" name="bnaintrmsk" pos="11" rst="0">
  27728. <comment>
  27729. <br/>
  27730. <br>BNA (Buffer Not Available) Interrupt mask register (BNAIntrMsk) </br>
  27731. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  27732. </comment>
  27733. </bits>
  27734. <bits access="rw" name="desc_lst_rollintrmsk" pos="13" rst="0">
  27735. <comment>
  27736. <br/>
  27737. <br>Descriptor List rollover interrupt Mask register(DESC_LST_ROLLIntrMsk)</br>
  27738. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  27739. </comment>
  27740. </bits>
  27741. </reg>
  27742. <reg name="hctsiz6" protect="rw">
  27743. <comment>Host Channel 6 Transfer Size Register</comment>
  27744. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  27745. <comment>
  27746. <br>Transfer Size (XferSize)</br>
  27747. <br/>
  27748. <br>For an OUT, this field is the number of data bytes the host sends during the transfer.</br>
  27749. <br/>
  27750. <br>For an IN, this field is the buffer size that the application has Reserved for the transfer. The application is expected to program this field as an integer multiple of the maximum packet size for IN transactions (periodic and non-periodic).</br>
  27751. <br/>
  27752. <br>The width of this counter is specified as Width of Transfer Size Counters during coreConsultant configuration (parameter OTG_TRANS_COUNT_WIDTH).</br>
  27753. </comment>
  27754. </bits>
  27755. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  27756. <comment>
  27757. <br>Packet Count (PktCnt)</br>
  27758. <br/>
  27759. <br>This field is programmed by the application with the expected number of packets to be transmitted (OUT) or received (IN).</br>
  27760. <br/>
  27761. <br>The host decrements this count on every successful transmission or reception of an OUT/IN packet. Once this count reaches zero, the application is interrupted to indicate normal completion.</br>
  27762. <br/>
  27763. <br>The width of this counter is specified as Width of Packet Counters during coreConsultant configuration (parameter OTG_PACKET_COUNT_WIDTH).</br>
  27764. </comment>
  27765. </bits>
  27766. <bits access="rw" name="pid" pos="30:29" rst="0">
  27767. <comment>
  27768. <br>PID (Pid)</br>
  27769. <br/>
  27770. <br>The application programs this field with the type of PID to use for the initial transaction. The host maintains this field for the rest of the transfer.</br>
  27771. <br> - 2'b00: DATA0</br>
  27772. <br> - 2'b01: DATA2</br>
  27773. <br> - 2'b10: DATA1</br>
  27774. <br> - 2'b11: MDATA (non-control)/SETUP (control)</br>
  27775. </comment>
  27776. </bits>
  27777. <bits access="rw" name="dopng" pos="31" rst="0">
  27778. <comment>
  27779. <br>Do Ping (DoPng)</br>
  27780. <br/>
  27781. <br>This bit is used only for OUT transfers.</br>
  27782. <br>Setting this field to 1 directs the host to do PING protocol.</br>
  27783. <br/>
  27784. <br>Note: Do not set this bit for IN transfers. If this bit is set for for IN transfers it disables the channel.</br>
  27785. </comment>
  27786. </bits>
  27787. </reg>
  27788. <reg name="hcdma6" protect="rw">
  27789. <comment>&quot;Host Channel $i DMA Address Register&quot;
  27790. This register is used by the OTG host in the internal DMA mode to maintain the current buffer pointer for IN/OUT transactions. The starting DMA address must be DWORD-aligned.</comment>
  27791. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  27792. <comment>
  27793. <br>In Buffer DMA Mode:</br>
  27794. <br/>
  27795. <br>[31:0]: DMA Address (DMAAddr)</br>
  27796. <br/>
  27797. <br>This field holds the start address in the external memory from which the data for the endpoint must be fetched or to which it must be stored. This register is incremented on every AHB transaction.</br>
  27798. <br/>
  27799. <br>Reset: X if not programmed as the register is in SPRAM.</br>
  27800. <br/>
  27801. <br>In Scatter-Gather DMA (DescDMA) Mode for Non-Isochronous:</br>
  27802. <br/>
  27803. <br>[31:9]: DMA Address (DMAAddr)</br>
  27804. <br/>
  27805. <br>The start address must be 512-bytes aligned.</br>
  27806. <br/>
  27807. <br>This field holds the start address of the 512 bytes page. The first descriptor in the list should be located in this address. The first descriptor may be or may not be ready. The core starts processing the list from the CTD value. </br>
  27808. <br/>
  27809. <br>[8:3]: Current Transfer Desc(CTD)</br>
  27810. <br/>
  27811. <br>This value is in terms of number of descriptors. The values can be from 0 to 63. </br>
  27812. <br> - 0 - 1 descriptor. </br>
  27813. <br> - 63 - 64 descriptors. </br>
  27814. <br>This field indicates the current descriptor processed in the list. This field is updated both by application and the core. For example, if the application enables the channel after programming CTD=5, then the core will start processing the sixth descriptor. The address is obtained by adding a value of (8bytes*5=) 40(decimal) to DMAAddr.</br>
  27815. <br/>
  27816. <br>Reset: 6'h0</br>
  27817. <br/>
  27818. <br>[2:0]: Reserved</br>
  27819. <br/>
  27820. <br>In Scatter-Gather DMA (DescDMA) Mode for Isochronous:</br>
  27821. <br/>
  27822. <br>[31:N]: DMA Address (DMAAddr)</br>
  27823. <br/>
  27824. <br>The start address must be 512-bytes aligned.</br>
  27825. <br/>
  27826. <br>This field holds the address of the 2*(nTD+1) bytes of locations in which the isochronous descriptors are present where N is based on nTD as follows:</br>
  27827. <br> - [31:N]: Base Address</br>
  27828. <br> - [N-1:3]: Offset</br>
  27829. <br> - [2:0]: 000</br>
  27830. <br>For HS ISOC, if nTD is,</br>
  27831. <br> - 7, N=6</br>
  27832. <br> - 15, N=7</br>
  27833. <br> - 31, N=8</br>
  27834. <br> - 63, N=9</br>
  27835. <br> - 127, N=10</br>
  27836. <br> - 255, N=11</br>
  27837. <br>For FS ISOC, if nTD is, </br>
  27838. <br> - 1, N=4</br>
  27839. <br> - 3, N=5</br>
  27840. <br> - 7, N=6</br>
  27841. <br> - 15, N=7</br>
  27842. <br> - 31, N=8</br>
  27843. <br> - 63, N=9</br>
  27844. <br>[N-1:3]: Current Transfer Desc(CTD)</br>
  27845. <br/>
  27846. <br>CTD for isochronous is based on the current frame/(micro)frame value. Need to be set to zero by application.</br>
  27847. <br/>
  27848. <br>Reset: (N+1:3)'h0</br>
  27849. <br/>
  27850. <br>[2:0]: Reserved</br>
  27851. </comment>
  27852. </bits>
  27853. </reg>
  27854. <hole size="32"/>
  27855. <reg name="hcdmab6" protect="r">
  27856. <comment>&quot;Host Channel $i DMA Buffer Address Register&quot;
  27857. This register is present only in case of Scatter/Gather DMA. It is implemented in RAM instead of flop-based implementation. This register holds the current buffer address.</comment>
  27858. <bits access="r" name="hcdmab" pos="31:0" rst="0">
  27859. <comment>
  27860. <br>Holds the current buffer address.</br>
  27861. <br>This register is updated as and when the data transfer for the corresponding end point </br>
  27862. <br>is in progress. This register is present only in Scatter/Gather DMA mode. Otherwise this </br>
  27863. <br>field is reserved.</br>
  27864. </comment>
  27865. </bits>
  27866. </reg>
  27867. <reg name="hcchar7" protect="rw">
  27868. <comment>Host Channel 7 Characteristics Register</comment>
  27869. <bits access="rw" name="mps" pos="10:0" rst="0">
  27870. <comment>
  27871. <br>Maximum Packet Size (MPS)</br>
  27872. <br/>
  27873. <br>Indicates the maximum packet size of the associated endpoint.</br>
  27874. </comment>
  27875. </bits>
  27876. <bits access="rw" name="epnum" pos="14:11" rst="0">
  27877. <comment>
  27878. <br>Endpoint Number (EPNum)</br>
  27879. <br/>
  27880. <br>Indicates the endpoint number on the device serving as the data source or sink.</br>
  27881. </comment>
  27882. </bits>
  27883. <bits access="rw" name="epdir" pos="15" rst="0">
  27884. <comment>
  27885. <br>Endpoint Direction (EPDir)</br>
  27886. <br/>
  27887. <br>Indicates whether the transaction is IN or OUT.</br>
  27888. <br> - 1'b0: OUT</br>
  27889. <br> - 1'b1: IN</br>
  27890. </comment>
  27891. </bits>
  27892. <bits access="rw" name="lspddev" pos="17" rst="0">
  27893. <comment>
  27894. <br>Low-Speed Device (LSpdDev)</br>
  27895. <br/>
  27896. <br>This field is Set by the application to indicate that this channel is communicating to a low-speed device.</br>
  27897. <br/>
  27898. <br>The application must program this bit when a low speed device is connected to the host through an FS HUB. The DWC_otg Host core uses this field to drive the XCVR_SELECT signal to 2'b11 while communicating to the LS Device through the FS hub.</br>
  27899. <br/>
  27900. <br>Note: In a peer to peer setup, the DWC_otg Host core ignores this bit even if it is set by the application software.</br>
  27901. </comment>
  27902. </bits>
  27903. <bits access="rw" name="eptype" pos="19:18" rst="0">
  27904. <comment>
  27905. <br>Endpoint Type (EPType)</br>
  27906. <br/>
  27907. <br>Indicates the transfer type selected.</br>
  27908. <br> - 2'b00: Control</br>
  27909. <br> - 2'b01: Isochronous</br>
  27910. <br> - 2'b10: Bulk</br>
  27911. <br> - 2'b11: Interrupt</br>
  27912. </comment>
  27913. </bits>
  27914. <bits access="rw" name="ec" pos="21:20" rst="0">
  27915. <comment>
  27916. <br>Multi Count (MC) / Error Count (EC)</br>
  27917. <br/>
  27918. <br>When the Split Enable bit of the Host Channel-n Split Control</br>
  27919. <br>register (HCSPLTn.SpltEna) is reset (1'b0), this field indicates to</br>
  27920. <br>the host the number of transactions that must be executed per</br>
  27921. <br>microframe for this periodic endpoint. For non periodic transfers,</br>
  27922. <br>this field is used only in DMA mode, and specifies the number</br>
  27923. <br>packets to be fetched for this channel before the internal DMA</br>
  27924. <br>engine changes arbitration.</br>
  27925. <br> - 2'b00: Reserved This field yields undefined results.</br>
  27926. <br> - 2'b01: 1 transaction</br>
  27927. <br> - 2'b10: 2 transactions to be issued for this endpoint per microframe</br>
  27928. <br> - 2'b11: 3 transactions to be issued for this endpoint per microframe</br>
  27929. <br>When HCSPLTn.SpltEna is Set (1'b1), this field indicates the</br>
  27930. <br>number of immediate retries to be performed for a periodic split</br>
  27931. <br>transactions on transaction errors. This field must be Set to at</br>
  27932. <br>least 2'b01.</br>
  27933. </comment>
  27934. </bits>
  27935. <bits access="rw" name="devaddr" pos="28:22" rst="0">
  27936. <comment>
  27937. <br>Device Address (DevAddr)</br>
  27938. <br/>
  27939. <br>This field selects the specific device serving as the data source</br>
  27940. <br>or sink.</br>
  27941. </comment>
  27942. </bits>
  27943. <bits access="rw" name="oddfrm" pos="29" rst="0">
  27944. <comment>
  27945. <br>Odd Frame (OddFrm)</br>
  27946. <br/>
  27947. <br>This field is set (reset) by the application to indicate that the OTG host must perform </br>
  27948. <br>a transfer in an odd (micro)Frame. This field is applicable for only periodic </br>
  27949. <br>(isochronous and interrupt) transactions.</br>
  27950. <br> - 1'b0: Even (micro)Frame</br>
  27951. <br> - 1'b1: Odd (micro)Frame</br>
  27952. <br/>
  27953. </comment>
  27954. </bits>
  27955. <bits access="rw" name="chdis" pos="30" rst="0">
  27956. <comment>
  27957. <br>Channel Disable (ChDis)</br>
  27958. <br/>
  27959. <br>The application sets this bit to stop transmitting/receiving data</br>
  27960. <br>on a channel, even before the transfer for that channel is</br>
  27961. <br>complete. The application must wait for the Channel Disabled</br>
  27962. <br>interrupt before treating the channel as disabled.</br>
  27963. </comment>
  27964. </bits>
  27965. <bits access="rw" name="chena" pos="31" rst="0">
  27966. <comment>
  27967. <br>Channel Enable (ChEna)</br>
  27968. <br/>
  27969. <br>When Scatter/Gather mode is enabled </br>
  27970. <br> - 1'b0: Indicates that the descriptor structure is not yet ready. </br>
  27971. <br> - 1'b1: Indicates that the descriptor structure and data buffer with data is setup and this channel can access the descriptor. </br>
  27972. <br>When Scatter/Gather mode is disabled </br>
  27973. <br/>
  27974. <br> This field is set by the application and cleared by the OTG host. </br>
  27975. <br> - 1'b0: Channel disabled </br>
  27976. <br> - 1'b1: Channel enabled</br>
  27977. </comment>
  27978. </bits>
  27979. </reg>
  27980. <reg name="hcsplt7" protect="rw">
  27981. <comment>Host Channel 7 Split Control Register</comment>
  27982. <bits access="rw" name="prtaddr" pos="6:0" rst="0">
  27983. <comment>
  27984. <br>Port Address (PrtAddr)</br>
  27985. <br/>
  27986. <br>This field is the port number of the recipient transaction translator.</br>
  27987. </comment>
  27988. </bits>
  27989. <bits access="rw" name="hubaddr" pos="13:7" rst="0">
  27990. <comment>
  27991. <br>Hub Address (HubAddr)</br>
  27992. <br/>
  27993. <br>This field holds the device address of the transaction translator's hub.</br>
  27994. </comment>
  27995. </bits>
  27996. <bits access="rw" name="xactpos" pos="15:14" rst="0">
  27997. <comment>
  27998. <br>Transaction Position (XactPos)</br>
  27999. <br/>
  28000. <br>This field is used to determine whether to send all, first, middle, or last payloads with each OUT transaction.</br>
  28001. <br> - 2'b11: All. This is the entire data payload is of this transaction (which is less than or equal to 188 bytes).</br>
  28002. <br> - 2'b10: Begin. This is the first data payload of this transaction (which is larger than 188 bytes).</br>
  28003. <br> - 2'b00: Mid. This is the middle payload of this transaction (which is larger than 188 bytes).</br>
  28004. <br> - 2'b01: End. This is the last payload of this transaction (which is larger than 188 bytes).</br>
  28005. </comment>
  28006. </bits>
  28007. <bits access="rw" name="compsplt" pos="16" rst="0">
  28008. <comment>
  28009. <br>Do Complete Split (CompSplt)</br>
  28010. <br/>
  28011. <br>The application sets this field to request the OTG host to perform a complete split transaction.</br>
  28012. </comment>
  28013. </bits>
  28014. <bits access="rw" name="spltena" pos="31" rst="0">
  28015. <comment>
  28016. <br>Split Enable (SpltEna)</br>
  28017. <br/>
  28018. <br>The application sets this field to indicate that this channel is enabled to perform split transactions.</br>
  28019. </comment>
  28020. </bits>
  28021. </reg>
  28022. <reg name="hcint7" protect="rw">
  28023. <comment>&quot;Host Channel $i Interrupt Register&quot;
  28024. This register indicates the status of a channel with respect to USB- and AHB-related events. It is shown in the &quot;Interrupt Hierarchy&quot; figure in the databook. The application must read this register when the Host Channels Interrupt bit of the Core Interrupt register (GINTSTS.HChInt) is set. Before the application can read this register, it must first read the Host All Channels Interrupt (HAINT) register to get the exact channel number for the Host Channel-n Interrupt register. The application must clear the appropriate bit in this register to clear the corresponding bits in the HAINT and GINTSTS registers.</comment>
  28025. <bits access="rw" name="xfercompl" pos="0" rst="0">
  28026. <comment>
  28027. <br>Transfer Completed (XferCompl)</br>
  28028. <br/>
  28029. <br>Transfer completed normally without any errors.This bit can be set only by the core and the application should write 1 to clear it.</br>
  28030. <br> - For Scatter/Gather DMA mode, it indicates that current descriptor processing got completed with IOC bit set in its descriptor.</br>
  28031. <br> - In non Scatter/Gather DMA mode, it indicates that Transfer completed normally without any errors.</br>
  28032. <br/>
  28033. </comment>
  28034. </bits>
  28035. <bits access="rw" name="chhltd" pos="1" rst="0">
  28036. <comment>
  28037. <br>Channel Halted (ChHltd)</br>
  28038. <br/>
  28039. <br>In non Scatter/Gather DMA mode, it indicates the transfer completed abnormally either because of any USB transaction error or in response to disable request by the application or because of a completed transfer.</br>
  28040. <br/>
  28041. <br>In Scatter/gather DMA mode, this indicates that transfer completed due to any of the following</br>
  28042. <br> - EOL being set in descriptor</br>
  28043. <br> - AHB error</br>
  28044. <br> - Excessive transaction errors</br>
  28045. <br> - Babble</br>
  28046. <br> - Stall</br>
  28047. <br/>
  28048. </comment>
  28049. </bits>
  28050. <bits access="rw" name="ahberr" pos="2" rst="0">
  28051. <comment>
  28052. <br>AHB Error (AHBErr)</br>
  28053. <br/>
  28054. <br>This is generated only in Internal DMA mode when there is an AHB error during AHB read/write. The application can read the corresponding channel's DMA address register to get the error address.</br>
  28055. </comment>
  28056. </bits>
  28057. <bits access="rw" name="stall" pos="3" rst="0">
  28058. <comment>
  28059. <br>STALL Response Received Interrupt (STALL)</br>
  28060. <br/>
  28061. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  28062. </comment>
  28063. </bits>
  28064. <bits access="rw" name="nak" pos="4" rst="0">
  28065. <comment>
  28066. <br>NAK Response Received Interrupt (NAK)</br>
  28067. <br/>
  28068. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  28069. </comment>
  28070. </bits>
  28071. <bits access="rw" name="ack" pos="5" rst="0">
  28072. <comment>
  28073. <br>ACK Response Received/Transmitted Interrupt (ACK)</br>
  28074. <br/>
  28075. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  28076. </comment>
  28077. </bits>
  28078. <bits access="rw" name="nyet" pos="6" rst="0">
  28079. <comment>
  28080. <br>NYET Response Received Interrupt (NYET)</br>
  28081. <br/>
  28082. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  28083. </comment>
  28084. </bits>
  28085. <bits access="rw" name="xacterr" pos="7" rst="0">
  28086. <comment>
  28087. <br>Transaction Error (XactErr)</br>
  28088. <br/>
  28089. <br>Indicates one of the following errors occurred on the USB.</br>
  28090. <br> - CRC check failure</br>
  28091. <br> - Timeout</br>
  28092. <br> - Bit stuff error</br>
  28093. <br> - False EOP</br>
  28094. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  28095. </comment>
  28096. </bits>
  28097. <bits access="rw" name="bblerr" pos="8" rst="0">
  28098. <comment>
  28099. <br>Babble Error (BblErr)</br>
  28100. <br/>
  28101. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core. This bit can be set only by the core and the application should write 1 to clear it.</br>
  28102. </comment>
  28103. </bits>
  28104. <bits access="rw" name="frmovrun" pos="9" rst="0">
  28105. <comment>
  28106. <br>Frame Overrun (FrmOvrun).</br>
  28107. <br/>
  28108. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked </br>
  28109. <br>in the core. This bit can be set only by the core and the application should write 1 to clear</br>
  28110. <br>it.</br>
  28111. </comment>
  28112. </bits>
  28113. <bits access="rw" name="datatglerr" pos="10" rst="0">
  28114. <comment>
  28115. <br/>
  28116. <br>Data Toggle Error (DataTglErr).This bit can be set only by the core and the application should write 1 to clear</br>
  28117. <br>it.In Scatter/Gather DMA mode, the interrupt due to this bit is masked </br>
  28118. <br>in the core.</br>
  28119. </comment>
  28120. </bits>
  28121. <bits access="rw" name="bnaintr" pos="11" rst="0">
  28122. <comment>
  28123. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  28124. <br/>
  28125. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. </br>
  28126. <br>The core generates this interrupt when the descriptor accessed </br>
  28127. <br>is not ready for the Core to process. BNA will not be generated </br>
  28128. <br>for Isochronous channels.</br>
  28129. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  28130. </comment>
  28131. </bits>
  28132. <bits access="rw" name="xcs_xact_err" pos="12" rst="0">
  28133. <comment>
  28134. <br>Excessive Transaction Error (XCS_XACT_ERR)</br>
  28135. <br/>
  28136. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. The core sets this bit </br>
  28137. <br>when 3 consecutive transaction errors occurred on the USB bus. XCS_XACT_ERR will </br>
  28138. <br>not be generated for Isochronous channels.</br>
  28139. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  28140. </comment>
  28141. </bits>
  28142. <bits access="rw" name="desc_lst_rollintr" pos="13" rst="0">
  28143. <comment>
  28144. <br>Descriptor rollover interrupt (DESC_LST_ROLLIntr)</br>
  28145. <br/>
  28146. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. The core sets this bit </br>
  28147. <br>when the corresponding channel's descriptor list rolls over.</br>
  28148. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  28149. </comment>
  28150. </bits>
  28151. </reg>
  28152. <reg name="hcintmsk7" protect="rw">
  28153. <comment>&quot;Host Channel $i Interrupt Mask Register&quot;
  28154. This register reflects the mask for each channel status described in the previous section.</comment>
  28155. <bits access="rw" name="xfercomplmsk" pos="0" rst="0">
  28156. <comment>
  28157. <br/>
  28158. <br>Transfer Completed Mask (XferComplMsk)</br>
  28159. </comment>
  28160. </bits>
  28161. <bits access="rw" name="chhltdmsk" pos="1" rst="0">
  28162. <comment>
  28163. <br/>
  28164. <br>Channel Halted Mask (ChHltdMsk)</br>
  28165. </comment>
  28166. </bits>
  28167. <bits access="rw" name="ahberrmsk" pos="2" rst="0">
  28168. <comment>
  28169. <br/>
  28170. <br>AHB Error Mask (AHBErrMsk)</br>
  28171. <br>In scatter/gather DMA mode for host, </br>
  28172. <br>interrupts will not be generated due to the corresponding bits set in </br>
  28173. <br>HCINTn.</br>
  28174. </comment>
  28175. </bits>
  28176. <bits access="rw" name="bnaintrmsk" pos="11" rst="0">
  28177. <comment>
  28178. <br/>
  28179. <br>BNA (Buffer Not Available) Interrupt mask register (BNAIntrMsk) </br>
  28180. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  28181. </comment>
  28182. </bits>
  28183. <bits access="rw" name="desc_lst_rollintrmsk" pos="13" rst="0">
  28184. <comment>
  28185. <br/>
  28186. <br>Descriptor List rollover interrupt Mask register(DESC_LST_ROLLIntrMsk)</br>
  28187. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  28188. </comment>
  28189. </bits>
  28190. </reg>
  28191. <reg name="hctsiz7" protect="rw">
  28192. <comment>Host Channel 7 Transfer Size Register</comment>
  28193. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  28194. <comment>
  28195. <br>Transfer Size (XferSize)</br>
  28196. <br/>
  28197. <br>For an OUT, this field is the number of data bytes the host sends during the transfer.</br>
  28198. <br/>
  28199. <br>For an IN, this field is the buffer size that the application has Reserved for the transfer. The application is expected to program this field as an integer multiple of the maximum packet size for IN transactions (periodic and non-periodic).</br>
  28200. <br/>
  28201. <br>The width of this counter is specified as Width of Transfer Size Counters during coreConsultant configuration (parameter OTG_TRANS_COUNT_WIDTH).</br>
  28202. </comment>
  28203. </bits>
  28204. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  28205. <comment>
  28206. <br>Packet Count (PktCnt)</br>
  28207. <br/>
  28208. <br>This field is programmed by the application with the expected number of packets to be transmitted (OUT) or received (IN).</br>
  28209. <br/>
  28210. <br>The host decrements this count on every successful transmission or reception of an OUT/IN packet. Once this count reaches zero, the application is interrupted to indicate normal completion.</br>
  28211. <br/>
  28212. <br>The width of this counter is specified as Width of Packet Counters during coreConsultant configuration (parameter OTG_PACKET_COUNT_WIDTH).</br>
  28213. </comment>
  28214. </bits>
  28215. <bits access="rw" name="pid" pos="30:29" rst="0">
  28216. <comment>
  28217. <br>PID (Pid)</br>
  28218. <br/>
  28219. <br>The application programs this field with the type of PID to use for the initial transaction. The host maintains this field for the rest of the transfer.</br>
  28220. <br> - 2'b00: DATA0</br>
  28221. <br> - 2'b01: DATA2</br>
  28222. <br> - 2'b10: DATA1</br>
  28223. <br> - 2'b11: MDATA (non-control)/SETUP (control)</br>
  28224. </comment>
  28225. </bits>
  28226. <bits access="rw" name="dopng" pos="31" rst="0">
  28227. <comment>
  28228. <br>Do Ping (DoPng)</br>
  28229. <br/>
  28230. <br>This bit is used only for OUT transfers.</br>
  28231. <br>Setting this field to 1 directs the host to do PING protocol.</br>
  28232. <br/>
  28233. <br>Note: Do not set this bit for IN transfers. If this bit is set for for IN transfers it disables the channel.</br>
  28234. </comment>
  28235. </bits>
  28236. </reg>
  28237. <reg name="hcdma7" protect="rw">
  28238. <comment>&quot;Host Channel $i DMA Address Register&quot;
  28239. This register is used by the OTG host in the internal DMA mode to maintain the current buffer pointer for IN/OUT transactions. The starting DMA address must be DWORD-aligned.</comment>
  28240. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  28241. <comment>
  28242. <br>In Buffer DMA Mode:</br>
  28243. <br/>
  28244. <br>[31:0]: DMA Address (DMAAddr)</br>
  28245. <br/>
  28246. <br>This field holds the start address in the external memory from which the data for the endpoint must be fetched or to which it must be stored. This register is incremented on every AHB transaction.</br>
  28247. <br/>
  28248. <br>Reset: X if not programmed as the register is in SPRAM.</br>
  28249. <br/>
  28250. <br>In Scatter-Gather DMA (DescDMA) Mode for Non-Isochronous:</br>
  28251. <br/>
  28252. <br>[31:9]: DMA Address (DMAAddr)</br>
  28253. <br/>
  28254. <br>The start address must be 512-bytes aligned.</br>
  28255. <br/>
  28256. <br>This field holds the start address of the 512 bytes page. The first descriptor in the list should be located in this address. The first descriptor may be or may not be ready. The core starts processing the list from the CTD value. </br>
  28257. <br/>
  28258. <br>[8:3]: Current Transfer Desc(CTD)</br>
  28259. <br/>
  28260. <br>This value is in terms of number of descriptors. The values can be from 0 to 63. </br>
  28261. <br> - 0 - 1 descriptor. </br>
  28262. <br> - 63 - 64 descriptors. </br>
  28263. <br>This field indicates the current descriptor processed in the list. This field is updated both by application and the core. For example, if the application enables the channel after programming CTD=5, then the core will start processing the sixth descriptor. The address is obtained by adding a value of (8bytes*5=) 40(decimal) to DMAAddr.</br>
  28264. <br/>
  28265. <br>Reset: 6'h0</br>
  28266. <br/>
  28267. <br>[2:0]: Reserved</br>
  28268. <br/>
  28269. <br>In Scatter-Gather DMA (DescDMA) Mode for Isochronous:</br>
  28270. <br/>
  28271. <br>[31:N]: DMA Address (DMAAddr)</br>
  28272. <br/>
  28273. <br>The start address must be 512-bytes aligned.</br>
  28274. <br/>
  28275. <br>This field holds the address of the 2*(nTD+1) bytes of locations in which the isochronous descriptors are present where N is based on nTD as follows:</br>
  28276. <br> - [31:N]: Base Address</br>
  28277. <br> - [N-1:3]: Offset</br>
  28278. <br> - [2:0]: 000</br>
  28279. <br>For HS ISOC, if nTD is,</br>
  28280. <br> - 7, N=6</br>
  28281. <br> - 15, N=7</br>
  28282. <br> - 31, N=8</br>
  28283. <br> - 63, N=9</br>
  28284. <br> - 127, N=10</br>
  28285. <br> - 255, N=11</br>
  28286. <br>For FS ISOC, if nTD is, </br>
  28287. <br> - 1, N=4</br>
  28288. <br> - 3, N=5</br>
  28289. <br> - 7, N=6</br>
  28290. <br> - 15, N=7</br>
  28291. <br> - 31, N=8</br>
  28292. <br> - 63, N=9</br>
  28293. <br>[N-1:3]: Current Transfer Desc(CTD)</br>
  28294. <br/>
  28295. <br>CTD for isochronous is based on the current frame/(micro)frame value. Need to be set to zero by application.</br>
  28296. <br/>
  28297. <br>Reset: (N+1:3)'h0</br>
  28298. <br/>
  28299. <br>[2:0]: Reserved</br>
  28300. </comment>
  28301. </bits>
  28302. </reg>
  28303. <hole size="32"/>
  28304. <reg name="hcdmab7" protect="r">
  28305. <comment>&quot;Host Channel $i DMA Buffer Address Register&quot;
  28306. This register is present only in case of Scatter/Gather DMA. It is implemented in RAM instead of flop-based implementation. This register holds the current buffer address.</comment>
  28307. <bits access="r" name="hcdmab" pos="31:0" rst="0">
  28308. <comment>
  28309. <br>Holds the current buffer address.</br>
  28310. <br>This register is updated as and when the data transfer for the corresponding end point </br>
  28311. <br>is in progress. This register is present only in Scatter/Gather DMA mode. Otherwise this </br>
  28312. <br>field is reserved.</br>
  28313. </comment>
  28314. </bits>
  28315. </reg>
  28316. <reg name="hcchar8" protect="rw">
  28317. <comment>Host Channel 8 Characteristics Register</comment>
  28318. <bits access="rw" name="mps" pos="10:0" rst="0">
  28319. <comment>
  28320. <br>Maximum Packet Size (MPS)</br>
  28321. <br/>
  28322. <br>Indicates the maximum packet size of the associated endpoint.</br>
  28323. </comment>
  28324. </bits>
  28325. <bits access="rw" name="epnum" pos="14:11" rst="0">
  28326. <comment>
  28327. <br>Endpoint Number (EPNum)</br>
  28328. <br/>
  28329. <br>Indicates the endpoint number on the device serving as the data source or sink.</br>
  28330. </comment>
  28331. </bits>
  28332. <bits access="rw" name="epdir" pos="15" rst="0">
  28333. <comment>
  28334. <br>Endpoint Direction (EPDir)</br>
  28335. <br/>
  28336. <br>Indicates whether the transaction is IN or OUT.</br>
  28337. <br> - 1'b0: OUT</br>
  28338. <br> - 1'b1: IN</br>
  28339. </comment>
  28340. </bits>
  28341. <bits access="rw" name="lspddev" pos="17" rst="0">
  28342. <comment>
  28343. <br>Low-Speed Device (LSpdDev)</br>
  28344. <br/>
  28345. <br>This field is Set by the application to indicate that this channel is communicating to a low-speed device.</br>
  28346. <br/>
  28347. <br>The application must program this bit when a low speed device is connected to the host through an FS HUB. The DWC_otg Host core uses this field to drive the XCVR_SELECT signal to 2'b11 while communicating to the LS Device through the FS hub.</br>
  28348. <br/>
  28349. <br>Note: In a peer to peer setup, the DWC_otg Host core ignores this bit even if it is set by the application software.</br>
  28350. </comment>
  28351. </bits>
  28352. <bits access="rw" name="eptype" pos="19:18" rst="0">
  28353. <comment>
  28354. <br>Endpoint Type (EPType)</br>
  28355. <br/>
  28356. <br>Indicates the transfer type selected.</br>
  28357. <br> - 2'b00: Control</br>
  28358. <br> - 2'b01: Isochronous</br>
  28359. <br> - 2'b10: Bulk</br>
  28360. <br> - 2'b11: Interrupt</br>
  28361. </comment>
  28362. </bits>
  28363. <bits access="rw" name="ec" pos="21:20" rst="0">
  28364. <comment>
  28365. <br>Multi Count (MC) / Error Count (EC)</br>
  28366. <br/>
  28367. <br>When the Split Enable bit of the Host Channel-n Split Control</br>
  28368. <br>register (HCSPLTn.SpltEna) is reset (1'b0), this field indicates to</br>
  28369. <br>the host the number of transactions that must be executed per</br>
  28370. <br>microframe for this periodic endpoint. For non periodic transfers,</br>
  28371. <br>this field is used only in DMA mode, and specifies the number</br>
  28372. <br>packets to be fetched for this channel before the internal DMA</br>
  28373. <br>engine changes arbitration.</br>
  28374. <br> - 2'b00: Reserved This field yields undefined results.</br>
  28375. <br> - 2'b01: 1 transaction</br>
  28376. <br> - 2'b10: 2 transactions to be issued for this endpoint per microframe</br>
  28377. <br> - 2'b11: 3 transactions to be issued for this endpoint per microframe</br>
  28378. <br>When HCSPLTn.SpltEna is Set (1'b1), this field indicates the</br>
  28379. <br>number of immediate retries to be performed for a periodic split</br>
  28380. <br>transactions on transaction errors. This field must be Set to at</br>
  28381. <br>least 2'b01.</br>
  28382. </comment>
  28383. </bits>
  28384. <bits access="rw" name="devaddr" pos="28:22" rst="0">
  28385. <comment>
  28386. <br>Device Address (DevAddr)</br>
  28387. <br/>
  28388. <br>This field selects the specific device serving as the data source</br>
  28389. <br>or sink.</br>
  28390. </comment>
  28391. </bits>
  28392. <bits access="rw" name="oddfrm" pos="29" rst="0">
  28393. <comment>
  28394. <br>Odd Frame (OddFrm)</br>
  28395. <br/>
  28396. <br>This field is set (reset) by the application to indicate that the OTG host must perform </br>
  28397. <br>a transfer in an odd (micro)Frame. This field is applicable for only periodic </br>
  28398. <br>(isochronous and interrupt) transactions.</br>
  28399. <br> - 1'b0: Even (micro)Frame</br>
  28400. <br> - 1'b1: Odd (micro)Frame</br>
  28401. <br/>
  28402. </comment>
  28403. </bits>
  28404. <bits access="rw" name="chdis" pos="30" rst="0">
  28405. <comment>
  28406. <br>Channel Disable (ChDis)</br>
  28407. <br/>
  28408. <br>The application sets this bit to stop transmitting/receiving data</br>
  28409. <br>on a channel, even before the transfer for that channel is</br>
  28410. <br>complete. The application must wait for the Channel Disabled</br>
  28411. <br>interrupt before treating the channel as disabled.</br>
  28412. </comment>
  28413. </bits>
  28414. <bits access="rw" name="chena" pos="31" rst="0">
  28415. <comment>
  28416. <br>Channel Enable (ChEna)</br>
  28417. <br/>
  28418. <br>When Scatter/Gather mode is enabled </br>
  28419. <br> - 1'b0: Indicates that the descriptor structure is not yet ready. </br>
  28420. <br> - 1'b1: Indicates that the descriptor structure and data buffer with data is setup and this channel can access the descriptor. </br>
  28421. <br>When Scatter/Gather mode is disabled </br>
  28422. <br/>
  28423. <br> This field is set by the application and cleared by the OTG host. </br>
  28424. <br> - 1'b0: Channel disabled </br>
  28425. <br> - 1'b1: Channel enabled</br>
  28426. </comment>
  28427. </bits>
  28428. </reg>
  28429. <reg name="hcsplt8" protect="rw">
  28430. <comment>Host Channel 8 Split Control Register</comment>
  28431. <bits access="rw" name="prtaddr" pos="6:0" rst="0">
  28432. <comment>
  28433. <br>Port Address (PrtAddr)</br>
  28434. <br/>
  28435. <br>This field is the port number of the recipient transaction translator.</br>
  28436. </comment>
  28437. </bits>
  28438. <bits access="rw" name="hubaddr" pos="13:7" rst="0">
  28439. <comment>
  28440. <br>Hub Address (HubAddr)</br>
  28441. <br/>
  28442. <br>This field holds the device address of the transaction translator's hub.</br>
  28443. </comment>
  28444. </bits>
  28445. <bits access="rw" name="xactpos" pos="15:14" rst="0">
  28446. <comment>
  28447. <br>Transaction Position (XactPos)</br>
  28448. <br/>
  28449. <br>This field is used to determine whether to send all, first, middle, or last payloads with each OUT transaction.</br>
  28450. <br> - 2'b11: All. This is the entire data payload is of this transaction (which is less than or equal to 188 bytes).</br>
  28451. <br> - 2'b10: Begin. This is the first data payload of this transaction (which is larger than 188 bytes).</br>
  28452. <br> - 2'b00: Mid. This is the middle payload of this transaction (which is larger than 188 bytes).</br>
  28453. <br> - 2'b01: End. This is the last payload of this transaction (which is larger than 188 bytes).</br>
  28454. </comment>
  28455. </bits>
  28456. <bits access="rw" name="compsplt" pos="16" rst="0">
  28457. <comment>
  28458. <br>Do Complete Split (CompSplt)</br>
  28459. <br/>
  28460. <br>The application sets this field to request the OTG host to perform a complete split transaction.</br>
  28461. </comment>
  28462. </bits>
  28463. <bits access="rw" name="spltena" pos="31" rst="0">
  28464. <comment>
  28465. <br>Split Enable (SpltEna)</br>
  28466. <br/>
  28467. <br>The application sets this field to indicate that this channel is enabled to perform split transactions.</br>
  28468. </comment>
  28469. </bits>
  28470. </reg>
  28471. <reg name="hcint8" protect="rw">
  28472. <comment>&quot;Host Channel $i Interrupt Register&quot;
  28473. This register indicates the status of a channel with respect to USB- and AHB-related events. It is shown in the &quot;Interrupt Hierarchy&quot; figure in the databook. The application must read this register when the Host Channels Interrupt bit of the Core Interrupt register (GINTSTS.HChInt) is set. Before the application can read this register, it must first read the Host All Channels Interrupt (HAINT) register to get the exact channel number for the Host Channel-n Interrupt register. The application must clear the appropriate bit in this register to clear the corresponding bits in the HAINT and GINTSTS registers.</comment>
  28474. <bits access="rw" name="xfercompl" pos="0" rst="0">
  28475. <comment>
  28476. <br>Transfer Completed (XferCompl)</br>
  28477. <br/>
  28478. <br>Transfer completed normally without any errors.This bit can be set only by the core and the application should write 1 to clear it.</br>
  28479. <br> - For Scatter/Gather DMA mode, it indicates that current descriptor processing got completed with IOC bit set in its descriptor.</br>
  28480. <br> - In non Scatter/Gather DMA mode, it indicates that Transfer completed normally without any errors.</br>
  28481. <br/>
  28482. </comment>
  28483. </bits>
  28484. <bits access="rw" name="chhltd" pos="1" rst="0">
  28485. <comment>
  28486. <br>Channel Halted (ChHltd)</br>
  28487. <br/>
  28488. <br>In non Scatter/Gather DMA mode, it indicates the transfer completed abnormally either because of any USB transaction error or in response to disable request by the application or because of a completed transfer.</br>
  28489. <br/>
  28490. <br>In Scatter/gather DMA mode, this indicates that transfer completed due to any of the following</br>
  28491. <br> - EOL being set in descriptor</br>
  28492. <br> - AHB error</br>
  28493. <br> - Excessive transaction errors</br>
  28494. <br> - Babble</br>
  28495. <br> - Stall</br>
  28496. <br/>
  28497. </comment>
  28498. </bits>
  28499. <bits access="rw" name="ahberr" pos="2" rst="0">
  28500. <comment>
  28501. <br>AHB Error (AHBErr)</br>
  28502. <br/>
  28503. <br>This is generated only in Internal DMA mode when there is an AHB error during AHB read/write. The application can read the corresponding channel's DMA address register to get the error address.</br>
  28504. </comment>
  28505. </bits>
  28506. <bits access="rw" name="stall" pos="3" rst="0">
  28507. <comment>
  28508. <br>STALL Response Received Interrupt (STALL)</br>
  28509. <br/>
  28510. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  28511. </comment>
  28512. </bits>
  28513. <bits access="rw" name="nak" pos="4" rst="0">
  28514. <comment>
  28515. <br>NAK Response Received Interrupt (NAK)</br>
  28516. <br/>
  28517. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  28518. </comment>
  28519. </bits>
  28520. <bits access="rw" name="ack" pos="5" rst="0">
  28521. <comment>
  28522. <br>ACK Response Received/Transmitted Interrupt (ACK)</br>
  28523. <br/>
  28524. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  28525. </comment>
  28526. </bits>
  28527. <bits access="rw" name="nyet" pos="6" rst="0">
  28528. <comment>
  28529. <br>NYET Response Received Interrupt (NYET)</br>
  28530. <br/>
  28531. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  28532. </comment>
  28533. </bits>
  28534. <bits access="rw" name="xacterr" pos="7" rst="0">
  28535. <comment>
  28536. <br>Transaction Error (XactErr)</br>
  28537. <br/>
  28538. <br>Indicates one of the following errors occurred on the USB.</br>
  28539. <br> - CRC check failure</br>
  28540. <br> - Timeout</br>
  28541. <br> - Bit stuff error</br>
  28542. <br> - False EOP</br>
  28543. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  28544. </comment>
  28545. </bits>
  28546. <bits access="rw" name="bblerr" pos="8" rst="0">
  28547. <comment>
  28548. <br>Babble Error (BblErr)</br>
  28549. <br/>
  28550. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core. This bit can be set only by the core and the application should write 1 to clear it.</br>
  28551. </comment>
  28552. </bits>
  28553. <bits access="rw" name="frmovrun" pos="9" rst="0">
  28554. <comment>
  28555. <br>Frame Overrun (FrmOvrun).</br>
  28556. <br/>
  28557. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked </br>
  28558. <br>in the core. This bit can be set only by the core and the application should write 1 to clear</br>
  28559. <br>it.</br>
  28560. </comment>
  28561. </bits>
  28562. <bits access="rw" name="datatglerr" pos="10" rst="0">
  28563. <comment>
  28564. <br/>
  28565. <br>Data Toggle Error (DataTglErr).This bit can be set only by the core and the application should write 1 to clear</br>
  28566. <br>it.In Scatter/Gather DMA mode, the interrupt due to this bit is masked </br>
  28567. <br>in the core.</br>
  28568. </comment>
  28569. </bits>
  28570. <bits access="rw" name="bnaintr" pos="11" rst="0">
  28571. <comment>
  28572. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  28573. <br/>
  28574. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. </br>
  28575. <br>The core generates this interrupt when the descriptor accessed </br>
  28576. <br>is not ready for the Core to process. BNA will not be generated </br>
  28577. <br>for Isochronous channels.</br>
  28578. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  28579. </comment>
  28580. </bits>
  28581. <bits access="rw" name="xcs_xact_err" pos="12" rst="0">
  28582. <comment>
  28583. <br>Excessive Transaction Error (XCS_XACT_ERR)</br>
  28584. <br/>
  28585. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. The core sets this bit </br>
  28586. <br>when 3 consecutive transaction errors occurred on the USB bus. XCS_XACT_ERR will </br>
  28587. <br>not be generated for Isochronous channels.</br>
  28588. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  28589. </comment>
  28590. </bits>
  28591. <bits access="rw" name="desc_lst_rollintr" pos="13" rst="0">
  28592. <comment>
  28593. <br>Descriptor rollover interrupt (DESC_LST_ROLLIntr)</br>
  28594. <br/>
  28595. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. The core sets this bit </br>
  28596. <br>when the corresponding channel's descriptor list rolls over.</br>
  28597. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  28598. </comment>
  28599. </bits>
  28600. </reg>
  28601. <reg name="hcintmsk8" protect="rw">
  28602. <comment>&quot;Host Channel $i Interrupt Mask Register&quot;
  28603. This register reflects the mask for each channel status described in the previous section.</comment>
  28604. <bits access="rw" name="xfercomplmsk" pos="0" rst="0">
  28605. <comment>
  28606. <br/>
  28607. <br>Transfer Completed Mask (XferComplMsk)</br>
  28608. </comment>
  28609. </bits>
  28610. <bits access="rw" name="chhltdmsk" pos="1" rst="0">
  28611. <comment>
  28612. <br/>
  28613. <br>Channel Halted Mask (ChHltdMsk)</br>
  28614. </comment>
  28615. </bits>
  28616. <bits access="rw" name="ahberrmsk" pos="2" rst="0">
  28617. <comment>
  28618. <br/>
  28619. <br>AHB Error Mask (AHBErrMsk)</br>
  28620. <br>In scatter/gather DMA mode for host, </br>
  28621. <br>interrupts will not be generated due to the corresponding bits set in </br>
  28622. <br>HCINTn.</br>
  28623. </comment>
  28624. </bits>
  28625. <bits access="rw" name="bnaintrmsk" pos="11" rst="0">
  28626. <comment>
  28627. <br/>
  28628. <br>BNA (Buffer Not Available) Interrupt mask register (BNAIntrMsk) </br>
  28629. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  28630. </comment>
  28631. </bits>
  28632. <bits access="rw" name="desc_lst_rollintrmsk" pos="13" rst="0">
  28633. <comment>
  28634. <br/>
  28635. <br>Descriptor List rollover interrupt Mask register(DESC_LST_ROLLIntrMsk)</br>
  28636. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  28637. </comment>
  28638. </bits>
  28639. </reg>
  28640. <reg name="hctsiz8" protect="rw">
  28641. <comment>Host Channel 8 Transfer Size Register</comment>
  28642. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  28643. <comment>
  28644. <br>Transfer Size (XferSize)</br>
  28645. <br/>
  28646. <br>For an OUT, this field is the number of data bytes the host sends during the transfer.</br>
  28647. <br/>
  28648. <br>For an IN, this field is the buffer size that the application has Reserved for the transfer. The application is expected to program this field as an integer multiple of the maximum packet size for IN transactions (periodic and non-periodic).</br>
  28649. <br/>
  28650. <br>The width of this counter is specified as Width of Transfer Size Counters during coreConsultant configuration (parameter OTG_TRANS_COUNT_WIDTH).</br>
  28651. </comment>
  28652. </bits>
  28653. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  28654. <comment>
  28655. <br>Packet Count (PktCnt)</br>
  28656. <br/>
  28657. <br>This field is programmed by the application with the expected number of packets to be transmitted (OUT) or received (IN).</br>
  28658. <br/>
  28659. <br>The host decrements this count on every successful transmission or reception of an OUT/IN packet. Once this count reaches zero, the application is interrupted to indicate normal completion.</br>
  28660. <br/>
  28661. <br>The width of this counter is specified as Width of Packet Counters during coreConsultant configuration (parameter OTG_PACKET_COUNT_WIDTH).</br>
  28662. </comment>
  28663. </bits>
  28664. <bits access="rw" name="pid" pos="30:29" rst="0">
  28665. <comment>
  28666. <br>PID (Pid)</br>
  28667. <br/>
  28668. <br>The application programs this field with the type of PID to use for the initial transaction. The host maintains this field for the rest of the transfer.</br>
  28669. <br> - 2'b00: DATA0</br>
  28670. <br> - 2'b01: DATA2</br>
  28671. <br> - 2'b10: DATA1</br>
  28672. <br> - 2'b11: MDATA (non-control)/SETUP (control)</br>
  28673. </comment>
  28674. </bits>
  28675. <bits access="rw" name="dopng" pos="31" rst="0">
  28676. <comment>
  28677. <br>Do Ping (DoPng)</br>
  28678. <br/>
  28679. <br>This bit is used only for OUT transfers.</br>
  28680. <br>Setting this field to 1 directs the host to do PING protocol.</br>
  28681. <br/>
  28682. <br>Note: Do not set this bit for IN transfers. If this bit is set for for IN transfers it disables the channel.</br>
  28683. </comment>
  28684. </bits>
  28685. </reg>
  28686. <reg name="hcdma8" protect="rw">
  28687. <comment>&quot;Host Channel $i DMA Address Register&quot;
  28688. This register is used by the OTG host in the internal DMA mode to maintain the current buffer pointer for IN/OUT transactions. The starting DMA address must be DWORD-aligned.</comment>
  28689. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  28690. <comment>
  28691. <br>In Buffer DMA Mode:</br>
  28692. <br/>
  28693. <br>[31:0]: DMA Address (DMAAddr)</br>
  28694. <br/>
  28695. <br>This field holds the start address in the external memory from which the data for the endpoint must be fetched or to which it must be stored. This register is incremented on every AHB transaction.</br>
  28696. <br/>
  28697. <br>Reset: X if not programmed as the register is in SPRAM.</br>
  28698. <br/>
  28699. <br>In Scatter-Gather DMA (DescDMA) Mode for Non-Isochronous:</br>
  28700. <br/>
  28701. <br>[31:9]: DMA Address (DMAAddr)</br>
  28702. <br/>
  28703. <br>The start address must be 512-bytes aligned.</br>
  28704. <br/>
  28705. <br>This field holds the start address of the 512 bytes page. The first descriptor in the list should be located in this address. The first descriptor may be or may not be ready. The core starts processing the list from the CTD value. </br>
  28706. <br/>
  28707. <br>[8:3]: Current Transfer Desc(CTD)</br>
  28708. <br/>
  28709. <br>This value is in terms of number of descriptors. The values can be from 0 to 63. </br>
  28710. <br> - 0 - 1 descriptor. </br>
  28711. <br> - 63 - 64 descriptors. </br>
  28712. <br>This field indicates the current descriptor processed in the list. This field is updated both by application and the core. For example, if the application enables the channel after programming CTD=5, then the core will start processing the sixth descriptor. The address is obtained by adding a value of (8bytes*5=) 40(decimal) to DMAAddr.</br>
  28713. <br/>
  28714. <br>Reset: 6'h0</br>
  28715. <br/>
  28716. <br>[2:0]: Reserved</br>
  28717. <br/>
  28718. <br>In Scatter-Gather DMA (DescDMA) Mode for Isochronous:</br>
  28719. <br/>
  28720. <br>[31:N]: DMA Address (DMAAddr)</br>
  28721. <br/>
  28722. <br>The start address must be 512-bytes aligned.</br>
  28723. <br/>
  28724. <br>This field holds the address of the 2*(nTD+1) bytes of locations in which the isochronous descriptors are present where N is based on nTD as follows:</br>
  28725. <br> - [31:N]: Base Address</br>
  28726. <br> - [N-1:3]: Offset</br>
  28727. <br> - [2:0]: 000</br>
  28728. <br>For HS ISOC, if nTD is,</br>
  28729. <br> - 7, N=6</br>
  28730. <br> - 15, N=7</br>
  28731. <br> - 31, N=8</br>
  28732. <br> - 63, N=9</br>
  28733. <br> - 127, N=10</br>
  28734. <br> - 255, N=11</br>
  28735. <br>For FS ISOC, if nTD is, </br>
  28736. <br> - 1, N=4</br>
  28737. <br> - 3, N=5</br>
  28738. <br> - 7, N=6</br>
  28739. <br> - 15, N=7</br>
  28740. <br> - 31, N=8</br>
  28741. <br> - 63, N=9</br>
  28742. <br>[N-1:3]: Current Transfer Desc(CTD)</br>
  28743. <br/>
  28744. <br>CTD for isochronous is based on the current frame/(micro)frame value. Need to be set to zero by application.</br>
  28745. <br/>
  28746. <br>Reset: (N+1:3)'h0</br>
  28747. <br/>
  28748. <br>[2:0]: Reserved</br>
  28749. </comment>
  28750. </bits>
  28751. </reg>
  28752. <hole size="32"/>
  28753. <reg name="hcdmab8" protect="r">
  28754. <comment>&quot;Host Channel $i DMA Buffer Address Register&quot;
  28755. This register is present only in case of Scatter/Gather DMA. It is implemented in RAM instead of flop-based implementation. This register holds the current buffer address.</comment>
  28756. <bits access="r" name="hcdmab" pos="31:0" rst="0">
  28757. <comment>
  28758. <br>Holds the current buffer address.</br>
  28759. <br>This register is updated as and when the data transfer for the corresponding end point </br>
  28760. <br>is in progress. This register is present only in Scatter/Gather DMA mode. Otherwise this </br>
  28761. <br>field is reserved.</br>
  28762. </comment>
  28763. </bits>
  28764. </reg>
  28765. <reg name="hcchar9" protect="rw">
  28766. <comment>Host Channel 9 Characteristics Register</comment>
  28767. <bits access="rw" name="mps" pos="10:0" rst="0">
  28768. <comment>
  28769. <br>Maximum Packet Size (MPS)</br>
  28770. <br/>
  28771. <br>Indicates the maximum packet size of the associated endpoint.</br>
  28772. </comment>
  28773. </bits>
  28774. <bits access="rw" name="epnum" pos="14:11" rst="0">
  28775. <comment>
  28776. <br>Endpoint Number (EPNum)</br>
  28777. <br/>
  28778. <br>Indicates the endpoint number on the device serving as the data source or sink.</br>
  28779. </comment>
  28780. </bits>
  28781. <bits access="rw" name="epdir" pos="15" rst="0">
  28782. <comment>
  28783. <br>Endpoint Direction (EPDir)</br>
  28784. <br/>
  28785. <br>Indicates whether the transaction is IN or OUT.</br>
  28786. <br> - 1'b0: OUT</br>
  28787. <br> - 1'b1: IN</br>
  28788. </comment>
  28789. </bits>
  28790. <bits access="rw" name="lspddev" pos="17" rst="0">
  28791. <comment>
  28792. <br>Low-Speed Device (LSpdDev)</br>
  28793. <br/>
  28794. <br>This field is Set by the application to indicate that this channel is communicating to a low-speed device.</br>
  28795. <br/>
  28796. <br>The application must program this bit when a low speed device is connected to the host through an FS HUB. The DWC_otg Host core uses this field to drive the XCVR_SELECT signal to 2'b11 while communicating to the LS Device through the FS hub.</br>
  28797. <br/>
  28798. <br>Note: In a peer to peer setup, the DWC_otg Host core ignores this bit even if it is set by the application software.</br>
  28799. </comment>
  28800. </bits>
  28801. <bits access="rw" name="eptype" pos="19:18" rst="0">
  28802. <comment>
  28803. <br>Endpoint Type (EPType)</br>
  28804. <br/>
  28805. <br>Indicates the transfer type selected.</br>
  28806. <br> - 2'b00: Control</br>
  28807. <br> - 2'b01: Isochronous</br>
  28808. <br> - 2'b10: Bulk</br>
  28809. <br> - 2'b11: Interrupt</br>
  28810. </comment>
  28811. </bits>
  28812. <bits access="rw" name="ec" pos="21:20" rst="0">
  28813. <comment>
  28814. <br>Multi Count (MC) / Error Count (EC)</br>
  28815. <br/>
  28816. <br>When the Split Enable bit of the Host Channel-n Split Control</br>
  28817. <br>register (HCSPLTn.SpltEna) is reset (1'b0), this field indicates to</br>
  28818. <br>the host the number of transactions that must be executed per</br>
  28819. <br>microframe for this periodic endpoint. For non periodic transfers,</br>
  28820. <br>this field is used only in DMA mode, and specifies the number</br>
  28821. <br>packets to be fetched for this channel before the internal DMA</br>
  28822. <br>engine changes arbitration.</br>
  28823. <br> - 2'b00: Reserved This field yields undefined results.</br>
  28824. <br> - 2'b01: 1 transaction</br>
  28825. <br> - 2'b10: 2 transactions to be issued for this endpoint per microframe</br>
  28826. <br> - 2'b11: 3 transactions to be issued for this endpoint per microframe</br>
  28827. <br>When HCSPLTn.SpltEna is Set (1'b1), this field indicates the</br>
  28828. <br>number of immediate retries to be performed for a periodic split</br>
  28829. <br>transactions on transaction errors. This field must be Set to at</br>
  28830. <br>least 2'b01.</br>
  28831. </comment>
  28832. </bits>
  28833. <bits access="rw" name="devaddr" pos="28:22" rst="0">
  28834. <comment>
  28835. <br>Device Address (DevAddr)</br>
  28836. <br/>
  28837. <br>This field selects the specific device serving as the data source</br>
  28838. <br>or sink.</br>
  28839. </comment>
  28840. </bits>
  28841. <bits access="rw" name="oddfrm" pos="29" rst="0">
  28842. <comment>
  28843. <br>Odd Frame (OddFrm)</br>
  28844. <br/>
  28845. <br>This field is set (reset) by the application to indicate that the OTG host must perform </br>
  28846. <br>a transfer in an odd (micro)Frame. This field is applicable for only periodic </br>
  28847. <br>(isochronous and interrupt) transactions.</br>
  28848. <br> - 1'b0: Even (micro)Frame</br>
  28849. <br> - 1'b1: Odd (micro)Frame</br>
  28850. <br/>
  28851. </comment>
  28852. </bits>
  28853. <bits access="rw" name="chdis" pos="30" rst="0">
  28854. <comment>
  28855. <br>Channel Disable (ChDis)</br>
  28856. <br/>
  28857. <br>The application sets this bit to stop transmitting/receiving data</br>
  28858. <br>on a channel, even before the transfer for that channel is</br>
  28859. <br>complete. The application must wait for the Channel Disabled</br>
  28860. <br>interrupt before treating the channel as disabled.</br>
  28861. </comment>
  28862. </bits>
  28863. <bits access="rw" name="chena" pos="31" rst="0">
  28864. <comment>
  28865. <br>Channel Enable (ChEna)</br>
  28866. <br/>
  28867. <br>When Scatter/Gather mode is enabled </br>
  28868. <br> - 1'b0: Indicates that the descriptor structure is not yet ready. </br>
  28869. <br> - 1'b1: Indicates that the descriptor structure and data buffer with data is setup and this channel can access the descriptor. </br>
  28870. <br>When Scatter/Gather mode is disabled </br>
  28871. <br/>
  28872. <br> This field is set by the application and cleared by the OTG host. </br>
  28873. <br> - 1'b0: Channel disabled </br>
  28874. <br> - 1'b1: Channel enabled</br>
  28875. </comment>
  28876. </bits>
  28877. </reg>
  28878. <reg name="hcsplt9" protect="rw">
  28879. <comment>Host Channel 9 Split Control Register</comment>
  28880. <bits access="rw" name="prtaddr" pos="6:0" rst="0">
  28881. <comment>
  28882. <br>Port Address (PrtAddr)</br>
  28883. <br/>
  28884. <br>This field is the port number of the recipient transaction translator.</br>
  28885. </comment>
  28886. </bits>
  28887. <bits access="rw" name="hubaddr" pos="13:7" rst="0">
  28888. <comment>
  28889. <br>Hub Address (HubAddr)</br>
  28890. <br/>
  28891. <br>This field holds the device address of the transaction translator's hub.</br>
  28892. </comment>
  28893. </bits>
  28894. <bits access="rw" name="xactpos" pos="15:14" rst="0">
  28895. <comment>
  28896. <br>Transaction Position (XactPos)</br>
  28897. <br/>
  28898. <br>This field is used to determine whether to send all, first, middle, or last payloads with each OUT transaction.</br>
  28899. <br> - 2'b11: All. This is the entire data payload is of this transaction (which is less than or equal to 188 bytes).</br>
  28900. <br> - 2'b10: Begin. This is the first data payload of this transaction (which is larger than 188 bytes).</br>
  28901. <br> - 2'b00: Mid. This is the middle payload of this transaction (which is larger than 188 bytes).</br>
  28902. <br> - 2'b01: End. This is the last payload of this transaction (which is larger than 188 bytes).</br>
  28903. </comment>
  28904. </bits>
  28905. <bits access="rw" name="compsplt" pos="16" rst="0">
  28906. <comment>
  28907. <br>Do Complete Split (CompSplt)</br>
  28908. <br/>
  28909. <br>The application sets this field to request the OTG host to perform a complete split transaction.</br>
  28910. </comment>
  28911. </bits>
  28912. <bits access="rw" name="spltena" pos="31" rst="0">
  28913. <comment>
  28914. <br>Split Enable (SpltEna)</br>
  28915. <br/>
  28916. <br>The application sets this field to indicate that this channel is enabled to perform split transactions.</br>
  28917. </comment>
  28918. </bits>
  28919. </reg>
  28920. <reg name="hcint9" protect="rw">
  28921. <comment>&quot;Host Channel $i Interrupt Register&quot;
  28922. This register indicates the status of a channel with respect to USB- and AHB-related events. It is shown in the &quot;Interrupt Hierarchy&quot; figure in the databook. The application must read this register when the Host Channels Interrupt bit of the Core Interrupt register (GINTSTS.HChInt) is set. Before the application can read this register, it must first read the Host All Channels Interrupt (HAINT) register to get the exact channel number for the Host Channel-n Interrupt register. The application must clear the appropriate bit in this register to clear the corresponding bits in the HAINT and GINTSTS registers.</comment>
  28923. <bits access="rw" name="xfercompl" pos="0" rst="0">
  28924. <comment>
  28925. <br>Transfer Completed (XferCompl)</br>
  28926. <br/>
  28927. <br>Transfer completed normally without any errors.This bit can be set only by the core and the application should write 1 to clear it.</br>
  28928. <br> - For Scatter/Gather DMA mode, it indicates that current descriptor processing got completed with IOC bit set in its descriptor.</br>
  28929. <br> - In non Scatter/Gather DMA mode, it indicates that Transfer completed normally without any errors.</br>
  28930. <br/>
  28931. </comment>
  28932. </bits>
  28933. <bits access="rw" name="chhltd" pos="1" rst="0">
  28934. <comment>
  28935. <br>Channel Halted (ChHltd)</br>
  28936. <br/>
  28937. <br>In non Scatter/Gather DMA mode, it indicates the transfer completed abnormally either because of any USB transaction error or in response to disable request by the application or because of a completed transfer.</br>
  28938. <br/>
  28939. <br>In Scatter/gather DMA mode, this indicates that transfer completed due to any of the following</br>
  28940. <br> - EOL being set in descriptor</br>
  28941. <br> - AHB error</br>
  28942. <br> - Excessive transaction errors</br>
  28943. <br> - Babble</br>
  28944. <br> - Stall</br>
  28945. <br/>
  28946. </comment>
  28947. </bits>
  28948. <bits access="rw" name="ahberr" pos="2" rst="0">
  28949. <comment>
  28950. <br>AHB Error (AHBErr)</br>
  28951. <br/>
  28952. <br>This is generated only in Internal DMA mode when there is an AHB error during AHB read/write. The application can read the corresponding channel's DMA address register to get the error address.</br>
  28953. </comment>
  28954. </bits>
  28955. <bits access="rw" name="stall" pos="3" rst="0">
  28956. <comment>
  28957. <br>STALL Response Received Interrupt (STALL)</br>
  28958. <br/>
  28959. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  28960. </comment>
  28961. </bits>
  28962. <bits access="rw" name="nak" pos="4" rst="0">
  28963. <comment>
  28964. <br>NAK Response Received Interrupt (NAK)</br>
  28965. <br/>
  28966. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  28967. </comment>
  28968. </bits>
  28969. <bits access="rw" name="ack" pos="5" rst="0">
  28970. <comment>
  28971. <br>ACK Response Received/Transmitted Interrupt (ACK)</br>
  28972. <br/>
  28973. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  28974. </comment>
  28975. </bits>
  28976. <bits access="rw" name="nyet" pos="6" rst="0">
  28977. <comment>
  28978. <br>NYET Response Received Interrupt (NYET)</br>
  28979. <br/>
  28980. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  28981. </comment>
  28982. </bits>
  28983. <bits access="rw" name="xacterr" pos="7" rst="0">
  28984. <comment>
  28985. <br>Transaction Error (XactErr)</br>
  28986. <br/>
  28987. <br>Indicates one of the following errors occurred on the USB.</br>
  28988. <br> - CRC check failure</br>
  28989. <br> - Timeout</br>
  28990. <br> - Bit stuff error</br>
  28991. <br> - False EOP</br>
  28992. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  28993. </comment>
  28994. </bits>
  28995. <bits access="rw" name="bblerr" pos="8" rst="0">
  28996. <comment>
  28997. <br>Babble Error (BblErr)</br>
  28998. <br/>
  28999. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core. This bit can be set only by the core and the application should write 1 to clear it.</br>
  29000. </comment>
  29001. </bits>
  29002. <bits access="rw" name="frmovrun" pos="9" rst="0">
  29003. <comment>
  29004. <br>Frame Overrun (FrmOvrun).</br>
  29005. <br/>
  29006. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked </br>
  29007. <br>in the core. This bit can be set only by the core and the application should write 1 to clear</br>
  29008. <br>it.</br>
  29009. </comment>
  29010. </bits>
  29011. <bits access="rw" name="datatglerr" pos="10" rst="0">
  29012. <comment>
  29013. <br/>
  29014. <br>Data Toggle Error (DataTglErr).This bit can be set only by the core and the application should write 1 to clear</br>
  29015. <br>it.In Scatter/Gather DMA mode, the interrupt due to this bit is masked </br>
  29016. <br>in the core.</br>
  29017. </comment>
  29018. </bits>
  29019. <bits access="rw" name="bnaintr" pos="11" rst="0">
  29020. <comment>
  29021. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  29022. <br/>
  29023. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. </br>
  29024. <br>The core generates this interrupt when the descriptor accessed </br>
  29025. <br>is not ready for the Core to process. BNA will not be generated </br>
  29026. <br>for Isochronous channels.</br>
  29027. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  29028. </comment>
  29029. </bits>
  29030. <bits access="rw" name="xcs_xact_err" pos="12" rst="0">
  29031. <comment>
  29032. <br>Excessive Transaction Error (XCS_XACT_ERR)</br>
  29033. <br/>
  29034. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. The core sets this bit </br>
  29035. <br>when 3 consecutive transaction errors occurred on the USB bus. XCS_XACT_ERR will </br>
  29036. <br>not be generated for Isochronous channels.</br>
  29037. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  29038. </comment>
  29039. </bits>
  29040. <bits access="rw" name="desc_lst_rollintr" pos="13" rst="0">
  29041. <comment>
  29042. <br>Descriptor rollover interrupt (DESC_LST_ROLLIntr)</br>
  29043. <br/>
  29044. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. The core sets this bit </br>
  29045. <br>when the corresponding channel's descriptor list rolls over.</br>
  29046. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  29047. </comment>
  29048. </bits>
  29049. </reg>
  29050. <reg name="hcintmsk9" protect="rw">
  29051. <comment>&quot;Host Channel $i Interrupt Mask Register&quot;
  29052. This register reflects the mask for each channel status described in the previous section.</comment>
  29053. <bits access="rw" name="xfercomplmsk" pos="0" rst="0">
  29054. <comment>
  29055. <br/>
  29056. <br>Transfer Completed Mask (XferComplMsk)</br>
  29057. </comment>
  29058. </bits>
  29059. <bits access="rw" name="chhltdmsk" pos="1" rst="0">
  29060. <comment>
  29061. <br/>
  29062. <br>Channel Halted Mask (ChHltdMsk)</br>
  29063. </comment>
  29064. </bits>
  29065. <bits access="rw" name="ahberrmsk" pos="2" rst="0">
  29066. <comment>
  29067. <br/>
  29068. <br>AHB Error Mask (AHBErrMsk)</br>
  29069. <br>In scatter/gather DMA mode for host, </br>
  29070. <br>interrupts will not be generated due to the corresponding bits set in </br>
  29071. <br>HCINTn.</br>
  29072. </comment>
  29073. </bits>
  29074. <bits access="rw" name="bnaintrmsk" pos="11" rst="0">
  29075. <comment>
  29076. <br/>
  29077. <br>BNA (Buffer Not Available) Interrupt mask register (BNAIntrMsk) </br>
  29078. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  29079. </comment>
  29080. </bits>
  29081. <bits access="rw" name="desc_lst_rollintrmsk" pos="13" rst="0">
  29082. <comment>
  29083. <br/>
  29084. <br>Descriptor List rollover interrupt Mask register(DESC_LST_ROLLIntrMsk)</br>
  29085. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  29086. </comment>
  29087. </bits>
  29088. </reg>
  29089. <reg name="hctsiz9" protect="rw">
  29090. <comment>Host Channel 9 Transfer Size Register</comment>
  29091. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  29092. <comment>
  29093. <br>Transfer Size (XferSize)</br>
  29094. <br/>
  29095. <br>For an OUT, this field is the number of data bytes the host sends during the transfer.</br>
  29096. <br/>
  29097. <br>For an IN, this field is the buffer size that the application has Reserved for the transfer. The application is expected to program this field as an integer multiple of the maximum packet size for IN transactions (periodic and non-periodic).</br>
  29098. <br/>
  29099. <br>The width of this counter is specified as Width of Transfer Size Counters during coreConsultant configuration (parameter OTG_TRANS_COUNT_WIDTH).</br>
  29100. </comment>
  29101. </bits>
  29102. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  29103. <comment>
  29104. <br>Packet Count (PktCnt)</br>
  29105. <br/>
  29106. <br>This field is programmed by the application with the expected number of packets to be transmitted (OUT) or received (IN).</br>
  29107. <br/>
  29108. <br>The host decrements this count on every successful transmission or reception of an OUT/IN packet. Once this count reaches zero, the application is interrupted to indicate normal completion.</br>
  29109. <br/>
  29110. <br>The width of this counter is specified as Width of Packet Counters during coreConsultant configuration (parameter OTG_PACKET_COUNT_WIDTH).</br>
  29111. </comment>
  29112. </bits>
  29113. <bits access="rw" name="pid" pos="30:29" rst="0">
  29114. <comment>
  29115. <br>PID (Pid)</br>
  29116. <br/>
  29117. <br>The application programs this field with the type of PID to use for the initial transaction. The host maintains this field for the rest of the transfer.</br>
  29118. <br> - 2'b00: DATA0</br>
  29119. <br> - 2'b01: DATA2</br>
  29120. <br> - 2'b10: DATA1</br>
  29121. <br> - 2'b11: MDATA (non-control)/SETUP (control)</br>
  29122. </comment>
  29123. </bits>
  29124. <bits access="rw" name="dopng" pos="31" rst="0">
  29125. <comment>
  29126. <br>Do Ping (DoPng)</br>
  29127. <br/>
  29128. <br>This bit is used only for OUT transfers.</br>
  29129. <br>Setting this field to 1 directs the host to do PING protocol.</br>
  29130. <br/>
  29131. <br>Note: Do not set this bit for IN transfers. If this bit is set for for IN transfers it disables the channel.</br>
  29132. </comment>
  29133. </bits>
  29134. </reg>
  29135. <reg name="hcdma9" protect="rw">
  29136. <comment>&quot;Host Channel $i DMA Address Register&quot;
  29137. This register is used by the OTG host in the internal DMA mode to maintain the current buffer pointer for IN/OUT transactions. The starting DMA address must be DWORD-aligned.</comment>
  29138. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  29139. <comment>
  29140. <br>In Buffer DMA Mode:</br>
  29141. <br/>
  29142. <br>[31:0]: DMA Address (DMAAddr)</br>
  29143. <br/>
  29144. <br>This field holds the start address in the external memory from which the data for the endpoint must be fetched or to which it must be stored. This register is incremented on every AHB transaction.</br>
  29145. <br/>
  29146. <br>Reset: X if not programmed as the register is in SPRAM.</br>
  29147. <br/>
  29148. <br>In Scatter-Gather DMA (DescDMA) Mode for Non-Isochronous:</br>
  29149. <br/>
  29150. <br>[31:9]: DMA Address (DMAAddr)</br>
  29151. <br/>
  29152. <br>The start address must be 512-bytes aligned.</br>
  29153. <br/>
  29154. <br>This field holds the start address of the 512 bytes page. The first descriptor in the list should be located in this address. The first descriptor may be or may not be ready. The core starts processing the list from the CTD value. </br>
  29155. <br/>
  29156. <br>[8:3]: Current Transfer Desc(CTD)</br>
  29157. <br/>
  29158. <br>This value is in terms of number of descriptors. The values can be from 0 to 63. </br>
  29159. <br> - 0 - 1 descriptor. </br>
  29160. <br> - 63 - 64 descriptors. </br>
  29161. <br>This field indicates the current descriptor processed in the list. This field is updated both by application and the core. For example, if the application enables the channel after programming CTD=5, then the core will start processing the sixth descriptor. The address is obtained by adding a value of (8bytes*5=) 40(decimal) to DMAAddr.</br>
  29162. <br/>
  29163. <br>Reset: 6'h0</br>
  29164. <br/>
  29165. <br>[2:0]: Reserved</br>
  29166. <br/>
  29167. <br>In Scatter-Gather DMA (DescDMA) Mode for Isochronous:</br>
  29168. <br/>
  29169. <br>[31:N]: DMA Address (DMAAddr)</br>
  29170. <br/>
  29171. <br>The start address must be 512-bytes aligned.</br>
  29172. <br/>
  29173. <br>This field holds the address of the 2*(nTD+1) bytes of locations in which the isochronous descriptors are present where N is based on nTD as follows:</br>
  29174. <br> - [31:N]: Base Address</br>
  29175. <br> - [N-1:3]: Offset</br>
  29176. <br> - [2:0]: 000</br>
  29177. <br>For HS ISOC, if nTD is,</br>
  29178. <br> - 7, N=6</br>
  29179. <br> - 15, N=7</br>
  29180. <br> - 31, N=8</br>
  29181. <br> - 63, N=9</br>
  29182. <br> - 127, N=10</br>
  29183. <br> - 255, N=11</br>
  29184. <br>For FS ISOC, if nTD is, </br>
  29185. <br> - 1, N=4</br>
  29186. <br> - 3, N=5</br>
  29187. <br> - 7, N=6</br>
  29188. <br> - 15, N=7</br>
  29189. <br> - 31, N=8</br>
  29190. <br> - 63, N=9</br>
  29191. <br>[N-1:3]: Current Transfer Desc(CTD)</br>
  29192. <br/>
  29193. <br>CTD for isochronous is based on the current frame/(micro)frame value. Need to be set to zero by application.</br>
  29194. <br/>
  29195. <br>Reset: (N+1:3)'h0</br>
  29196. <br/>
  29197. <br>[2:0]: Reserved</br>
  29198. </comment>
  29199. </bits>
  29200. </reg>
  29201. <hole size="32"/>
  29202. <reg name="hcdmab9" protect="r">
  29203. <comment>&quot;Host Channel $i DMA Buffer Address Register&quot;
  29204. This register is present only in case of Scatter/Gather DMA. It is implemented in RAM instead of flop-based implementation. This register holds the current buffer address.</comment>
  29205. <bits access="r" name="hcdmab" pos="31:0" rst="0">
  29206. <comment>
  29207. <br>Holds the current buffer address.</br>
  29208. <br>This register is updated as and when the data transfer for the corresponding end point </br>
  29209. <br>is in progress. This register is present only in Scatter/Gather DMA mode. Otherwise this </br>
  29210. <br>field is reserved.</br>
  29211. </comment>
  29212. </bits>
  29213. </reg>
  29214. <reg name="hcchar10" protect="rw">
  29215. <comment>Host Channel 10 Characteristics Register</comment>
  29216. <bits access="rw" name="mps" pos="10:0" rst="0">
  29217. <comment>
  29218. <br>Maximum Packet Size (MPS)</br>
  29219. <br/>
  29220. <br>Indicates the maximum packet size of the associated endpoint.</br>
  29221. </comment>
  29222. </bits>
  29223. <bits access="rw" name="epnum" pos="14:11" rst="0">
  29224. <comment>
  29225. <br>Endpoint Number (EPNum)</br>
  29226. <br/>
  29227. <br>Indicates the endpoint number on the device serving as the data source or sink.</br>
  29228. </comment>
  29229. </bits>
  29230. <bits access="rw" name="epdir" pos="15" rst="0">
  29231. <comment>
  29232. <br>Endpoint Direction (EPDir)</br>
  29233. <br/>
  29234. <br>Indicates whether the transaction is IN or OUT.</br>
  29235. <br> - 1'b0: OUT</br>
  29236. <br> - 1'b1: IN</br>
  29237. </comment>
  29238. </bits>
  29239. <bits access="rw" name="lspddev" pos="17" rst="0">
  29240. <comment>
  29241. <br>Low-Speed Device (LSpdDev)</br>
  29242. <br/>
  29243. <br>This field is Set by the application to indicate that this channel is communicating to a low-speed device.</br>
  29244. <br/>
  29245. <br>The application must program this bit when a low speed device is connected to the host through an FS HUB. The DWC_otg Host core uses this field to drive the XCVR_SELECT signal to 2'b11 while communicating to the LS Device through the FS hub.</br>
  29246. <br/>
  29247. <br>Note: In a peer to peer setup, the DWC_otg Host core ignores this bit even if it is set by the application software.</br>
  29248. </comment>
  29249. </bits>
  29250. <bits access="rw" name="eptype" pos="19:18" rst="0">
  29251. <comment>
  29252. <br>Endpoint Type (EPType)</br>
  29253. <br/>
  29254. <br>Indicates the transfer type selected.</br>
  29255. <br> - 2'b00: Control</br>
  29256. <br> - 2'b01: Isochronous</br>
  29257. <br> - 2'b10: Bulk</br>
  29258. <br> - 2'b11: Interrupt</br>
  29259. </comment>
  29260. </bits>
  29261. <bits access="rw" name="ec" pos="21:20" rst="0">
  29262. <comment>
  29263. <br>Multi Count (MC) / Error Count (EC)</br>
  29264. <br/>
  29265. <br>When the Split Enable bit of the Host Channel-n Split Control</br>
  29266. <br>register (HCSPLTn.SpltEna) is reset (1'b0), this field indicates to</br>
  29267. <br>the host the number of transactions that must be executed per</br>
  29268. <br>microframe for this periodic endpoint. For non periodic transfers,</br>
  29269. <br>this field is used only in DMA mode, and specifies the number</br>
  29270. <br>packets to be fetched for this channel before the internal DMA</br>
  29271. <br>engine changes arbitration.</br>
  29272. <br> - 2'b00: Reserved This field yields undefined results.</br>
  29273. <br> - 2'b01: 1 transaction</br>
  29274. <br> - 2'b10: 2 transactions to be issued for this endpoint per microframe</br>
  29275. <br> - 2'b11: 3 transactions to be issued for this endpoint per microframe</br>
  29276. <br>When HCSPLTn.SpltEna is Set (1'b1), this field indicates the</br>
  29277. <br>number of immediate retries to be performed for a periodic split</br>
  29278. <br>transactions on transaction errors. This field must be Set to at</br>
  29279. <br>least 2'b01.</br>
  29280. </comment>
  29281. </bits>
  29282. <bits access="rw" name="devaddr" pos="28:22" rst="0">
  29283. <comment>
  29284. <br>Device Address (DevAddr)</br>
  29285. <br/>
  29286. <br>This field selects the specific device serving as the data source</br>
  29287. <br>or sink.</br>
  29288. </comment>
  29289. </bits>
  29290. <bits access="rw" name="oddfrm" pos="29" rst="0">
  29291. <comment>
  29292. <br>Odd Frame (OddFrm)</br>
  29293. <br/>
  29294. <br>This field is set (reset) by the application to indicate that the OTG host must perform </br>
  29295. <br>a transfer in an odd (micro)Frame. This field is applicable for only periodic </br>
  29296. <br>(isochronous and interrupt) transactions.</br>
  29297. <br> - 1'b0: Even (micro)Frame</br>
  29298. <br> - 1'b1: Odd (micro)Frame</br>
  29299. <br/>
  29300. </comment>
  29301. </bits>
  29302. <bits access="rw" name="chdis" pos="30" rst="0">
  29303. <comment>
  29304. <br>Channel Disable (ChDis)</br>
  29305. <br/>
  29306. <br>The application sets this bit to stop transmitting/receiving data</br>
  29307. <br>on a channel, even before the transfer for that channel is</br>
  29308. <br>complete. The application must wait for the Channel Disabled</br>
  29309. <br>interrupt before treating the channel as disabled.</br>
  29310. </comment>
  29311. </bits>
  29312. <bits access="rw" name="chena" pos="31" rst="0">
  29313. <comment>
  29314. <br>Channel Enable (ChEna)</br>
  29315. <br/>
  29316. <br>When Scatter/Gather mode is enabled </br>
  29317. <br> - 1'b0: Indicates that the descriptor structure is not yet ready. </br>
  29318. <br> - 1'b1: Indicates that the descriptor structure and data buffer with data is setup and this channel can access the descriptor. </br>
  29319. <br>When Scatter/Gather mode is disabled </br>
  29320. <br/>
  29321. <br> This field is set by the application and cleared by the OTG host. </br>
  29322. <br> - 1'b0: Channel disabled </br>
  29323. <br> - 1'b1: Channel enabled</br>
  29324. </comment>
  29325. </bits>
  29326. </reg>
  29327. <reg name="hcsplt10" protect="rw">
  29328. <comment>Host Channel 10 Split Control Register</comment>
  29329. <bits access="rw" name="prtaddr" pos="6:0" rst="0">
  29330. <comment>
  29331. <br>Port Address (PrtAddr)</br>
  29332. <br/>
  29333. <br>This field is the port number of the recipient transaction translator.</br>
  29334. </comment>
  29335. </bits>
  29336. <bits access="rw" name="hubaddr" pos="13:7" rst="0">
  29337. <comment>
  29338. <br>Hub Address (HubAddr)</br>
  29339. <br/>
  29340. <br>This field holds the device address of the transaction translator's hub.</br>
  29341. </comment>
  29342. </bits>
  29343. <bits access="rw" name="xactpos" pos="15:14" rst="0">
  29344. <comment>
  29345. <br>Transaction Position (XactPos)</br>
  29346. <br/>
  29347. <br>This field is used to determine whether to send all, first, middle, or last payloads with each OUT transaction.</br>
  29348. <br> - 2'b11: All. This is the entire data payload is of this transaction (which is less than or equal to 188 bytes).</br>
  29349. <br> - 2'b10: Begin. This is the first data payload of this transaction (which is larger than 188 bytes).</br>
  29350. <br> - 2'b00: Mid. This is the middle payload of this transaction (which is larger than 188 bytes).</br>
  29351. <br> - 2'b01: End. This is the last payload of this transaction (which is larger than 188 bytes).</br>
  29352. </comment>
  29353. </bits>
  29354. <bits access="rw" name="compsplt" pos="16" rst="0">
  29355. <comment>
  29356. <br>Do Complete Split (CompSplt)</br>
  29357. <br/>
  29358. <br>The application sets this field to request the OTG host to perform a complete split transaction.</br>
  29359. </comment>
  29360. </bits>
  29361. <bits access="rw" name="spltena" pos="31" rst="0">
  29362. <comment>
  29363. <br>Split Enable (SpltEna)</br>
  29364. <br/>
  29365. <br>The application sets this field to indicate that this channel is enabled to perform split transactions.</br>
  29366. </comment>
  29367. </bits>
  29368. </reg>
  29369. <reg name="hcint10" protect="rw">
  29370. <comment>&quot;Host Channel $i Interrupt Register&quot;
  29371. This register indicates the status of a channel with respect to USB- and AHB-related events. It is shown in the &quot;Interrupt Hierarchy&quot; figure in the databook. The application must read this register when the Host Channels Interrupt bit of the Core Interrupt register (GINTSTS.HChInt) is set. Before the application can read this register, it must first read the Host All Channels Interrupt (HAINT) register to get the exact channel number for the Host Channel-n Interrupt register. The application must clear the appropriate bit in this register to clear the corresponding bits in the HAINT and GINTSTS registers.</comment>
  29372. <bits access="rw" name="xfercompl" pos="0" rst="0">
  29373. <comment>
  29374. <br>Transfer Completed (XferCompl)</br>
  29375. <br/>
  29376. <br>Transfer completed normally without any errors.This bit can be set only by the core and the application should write 1 to clear it.</br>
  29377. <br> - For Scatter/Gather DMA mode, it indicates that current descriptor processing got completed with IOC bit set in its descriptor.</br>
  29378. <br> - In non Scatter/Gather DMA mode, it indicates that Transfer completed normally without any errors.</br>
  29379. <br/>
  29380. </comment>
  29381. </bits>
  29382. <bits access="rw" name="chhltd" pos="1" rst="0">
  29383. <comment>
  29384. <br>Channel Halted (ChHltd)</br>
  29385. <br/>
  29386. <br>In non Scatter/Gather DMA mode, it indicates the transfer completed abnormally either because of any USB transaction error or in response to disable request by the application or because of a completed transfer.</br>
  29387. <br/>
  29388. <br>In Scatter/gather DMA mode, this indicates that transfer completed due to any of the following</br>
  29389. <br> - EOL being set in descriptor</br>
  29390. <br> - AHB error</br>
  29391. <br> - Excessive transaction errors</br>
  29392. <br> - Babble</br>
  29393. <br> - Stall</br>
  29394. <br/>
  29395. </comment>
  29396. </bits>
  29397. <bits access="rw" name="ahberr" pos="2" rst="0">
  29398. <comment>
  29399. <br>AHB Error (AHBErr)</br>
  29400. <br/>
  29401. <br>This is generated only in Internal DMA mode when there is an AHB error during AHB read/write. The application can read the corresponding channel's DMA address register to get the error address.</br>
  29402. </comment>
  29403. </bits>
  29404. <bits access="rw" name="stall" pos="3" rst="0">
  29405. <comment>
  29406. <br>STALL Response Received Interrupt (STALL)</br>
  29407. <br/>
  29408. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  29409. </comment>
  29410. </bits>
  29411. <bits access="rw" name="nak" pos="4" rst="0">
  29412. <comment>
  29413. <br>NAK Response Received Interrupt (NAK)</br>
  29414. <br/>
  29415. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  29416. </comment>
  29417. </bits>
  29418. <bits access="rw" name="ack" pos="5" rst="0">
  29419. <comment>
  29420. <br>ACK Response Received/Transmitted Interrupt (ACK)</br>
  29421. <br/>
  29422. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  29423. </comment>
  29424. </bits>
  29425. <bits access="rw" name="nyet" pos="6" rst="0">
  29426. <comment>
  29427. <br>NYET Response Received Interrupt (NYET)</br>
  29428. <br/>
  29429. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  29430. </comment>
  29431. </bits>
  29432. <bits access="rw" name="xacterr" pos="7" rst="0">
  29433. <comment>
  29434. <br>Transaction Error (XactErr)</br>
  29435. <br/>
  29436. <br>Indicates one of the following errors occurred on the USB.</br>
  29437. <br> - CRC check failure</br>
  29438. <br> - Timeout</br>
  29439. <br> - Bit stuff error</br>
  29440. <br> - False EOP</br>
  29441. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  29442. </comment>
  29443. </bits>
  29444. <bits access="rw" name="bblerr" pos="8" rst="0">
  29445. <comment>
  29446. <br>Babble Error (BblErr)</br>
  29447. <br/>
  29448. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core. This bit can be set only by the core and the application should write 1 to clear it.</br>
  29449. </comment>
  29450. </bits>
  29451. <bits access="rw" name="frmovrun" pos="9" rst="0">
  29452. <comment>
  29453. <br>Frame Overrun (FrmOvrun).</br>
  29454. <br/>
  29455. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked </br>
  29456. <br>in the core. This bit can be set only by the core and the application should write 1 to clear</br>
  29457. <br>it.</br>
  29458. </comment>
  29459. </bits>
  29460. <bits access="rw" name="datatglerr" pos="10" rst="0">
  29461. <comment>
  29462. <br/>
  29463. <br>Data Toggle Error (DataTglErr).This bit can be set only by the core and the application should write 1 to clear</br>
  29464. <br>it.In Scatter/Gather DMA mode, the interrupt due to this bit is masked </br>
  29465. <br>in the core.</br>
  29466. </comment>
  29467. </bits>
  29468. <bits access="rw" name="bnaintr" pos="11" rst="0">
  29469. <comment>
  29470. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  29471. <br/>
  29472. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. </br>
  29473. <br>The core generates this interrupt when the descriptor accessed </br>
  29474. <br>is not ready for the Core to process. BNA will not be generated </br>
  29475. <br>for Isochronous channels.</br>
  29476. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  29477. </comment>
  29478. </bits>
  29479. <bits access="rw" name="xcs_xact_err" pos="12" rst="0">
  29480. <comment>
  29481. <br>Excessive Transaction Error (XCS_XACT_ERR)</br>
  29482. <br/>
  29483. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. The core sets this bit </br>
  29484. <br>when 3 consecutive transaction errors occurred on the USB bus. XCS_XACT_ERR will </br>
  29485. <br>not be generated for Isochronous channels.</br>
  29486. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  29487. </comment>
  29488. </bits>
  29489. <bits access="rw" name="desc_lst_rollintr" pos="13" rst="0">
  29490. <comment>
  29491. <br>Descriptor rollover interrupt (DESC_LST_ROLLIntr)</br>
  29492. <br/>
  29493. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. The core sets this bit </br>
  29494. <br>when the corresponding channel's descriptor list rolls over.</br>
  29495. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  29496. </comment>
  29497. </bits>
  29498. </reg>
  29499. <reg name="hcintmsk10" protect="rw">
  29500. <comment>&quot;Host Channel $i Interrupt Mask Register&quot;
  29501. This register reflects the mask for each channel status described in the previous section.</comment>
  29502. <bits access="rw" name="xfercomplmsk" pos="0" rst="0">
  29503. <comment>
  29504. <br/>
  29505. <br>Transfer Completed Mask (XferComplMsk)</br>
  29506. </comment>
  29507. </bits>
  29508. <bits access="rw" name="chhltdmsk" pos="1" rst="0">
  29509. <comment>
  29510. <br/>
  29511. <br>Channel Halted Mask (ChHltdMsk)</br>
  29512. </comment>
  29513. </bits>
  29514. <bits access="rw" name="ahberrmsk" pos="2" rst="0">
  29515. <comment>
  29516. <br/>
  29517. <br>AHB Error Mask (AHBErrMsk)</br>
  29518. <br>In scatter/gather DMA mode for host, </br>
  29519. <br>interrupts will not be generated due to the corresponding bits set in </br>
  29520. <br>HCINTn.</br>
  29521. </comment>
  29522. </bits>
  29523. <bits access="rw" name="bnaintrmsk" pos="11" rst="0">
  29524. <comment>
  29525. <br/>
  29526. <br>BNA (Buffer Not Available) Interrupt mask register (BNAIntrMsk) </br>
  29527. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  29528. </comment>
  29529. </bits>
  29530. <bits access="rw" name="desc_lst_rollintrmsk" pos="13" rst="0">
  29531. <comment>
  29532. <br/>
  29533. <br>Descriptor List rollover interrupt Mask register(DESC_LST_ROLLIntrMsk)</br>
  29534. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  29535. </comment>
  29536. </bits>
  29537. </reg>
  29538. <reg name="hctsiz10" protect="rw">
  29539. <comment>Host Channel 10 Transfer Size Register</comment>
  29540. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  29541. <comment>
  29542. <br>Transfer Size (XferSize)</br>
  29543. <br/>
  29544. <br>For an OUT, this field is the number of data bytes the host sends during the transfer.</br>
  29545. <br/>
  29546. <br>For an IN, this field is the buffer size that the application has Reserved for the transfer. The application is expected to program this field as an integer multiple of the maximum packet size for IN transactions (periodic and non-periodic).</br>
  29547. <br/>
  29548. <br>The width of this counter is specified as Width of Transfer Size Counters during coreConsultant configuration (parameter OTG_TRANS_COUNT_WIDTH).</br>
  29549. </comment>
  29550. </bits>
  29551. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  29552. <comment>
  29553. <br>Packet Count (PktCnt)</br>
  29554. <br/>
  29555. <br>This field is programmed by the application with the expected number of packets to be transmitted (OUT) or received (IN).</br>
  29556. <br/>
  29557. <br>The host decrements this count on every successful transmission or reception of an OUT/IN packet. Once this count reaches zero, the application is interrupted to indicate normal completion.</br>
  29558. <br/>
  29559. <br>The width of this counter is specified as Width of Packet Counters during coreConsultant configuration (parameter OTG_PACKET_COUNT_WIDTH).</br>
  29560. </comment>
  29561. </bits>
  29562. <bits access="rw" name="pid" pos="30:29" rst="0">
  29563. <comment>
  29564. <br>PID (Pid)</br>
  29565. <br/>
  29566. <br>The application programs this field with the type of PID to use for the initial transaction. The host maintains this field for the rest of the transfer.</br>
  29567. <br> - 2'b00: DATA0</br>
  29568. <br> - 2'b01: DATA2</br>
  29569. <br> - 2'b10: DATA1</br>
  29570. <br> - 2'b11: MDATA (non-control)/SETUP (control)</br>
  29571. </comment>
  29572. </bits>
  29573. <bits access="rw" name="dopng" pos="31" rst="0">
  29574. <comment>
  29575. <br>Do Ping (DoPng)</br>
  29576. <br/>
  29577. <br>This bit is used only for OUT transfers.</br>
  29578. <br>Setting this field to 1 directs the host to do PING protocol.</br>
  29579. <br/>
  29580. <br>Note: Do not set this bit for IN transfers. If this bit is set for for IN transfers it disables the channel.</br>
  29581. </comment>
  29582. </bits>
  29583. </reg>
  29584. <reg name="hcdma10" protect="rw">
  29585. <comment>&quot;Host Channel $i DMA Address Register&quot;
  29586. This register is used by the OTG host in the internal DMA mode to maintain the current buffer pointer for IN/OUT transactions. The starting DMA address must be DWORD-aligned.</comment>
  29587. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  29588. <comment>
  29589. <br>In Buffer DMA Mode:</br>
  29590. <br/>
  29591. <br>[31:0]: DMA Address (DMAAddr)</br>
  29592. <br/>
  29593. <br>This field holds the start address in the external memory from which the data for the endpoint must be fetched or to which it must be stored. This register is incremented on every AHB transaction.</br>
  29594. <br/>
  29595. <br>Reset: X if not programmed as the register is in SPRAM.</br>
  29596. <br/>
  29597. <br>In Scatter-Gather DMA (DescDMA) Mode for Non-Isochronous:</br>
  29598. <br/>
  29599. <br>[31:9]: DMA Address (DMAAddr)</br>
  29600. <br/>
  29601. <br>The start address must be 512-bytes aligned.</br>
  29602. <br/>
  29603. <br>This field holds the start address of the 512 bytes page. The first descriptor in the list should be located in this address. The first descriptor may be or may not be ready. The core starts processing the list from the CTD value. </br>
  29604. <br/>
  29605. <br>[8:3]: Current Transfer Desc(CTD)</br>
  29606. <br/>
  29607. <br>This value is in terms of number of descriptors. The values can be from 0 to 63. </br>
  29608. <br> - 0 - 1 descriptor. </br>
  29609. <br> - 63 - 64 descriptors. </br>
  29610. <br>This field indicates the current descriptor processed in the list. This field is updated both by application and the core. For example, if the application enables the channel after programming CTD=5, then the core will start processing the sixth descriptor. The address is obtained by adding a value of (8bytes*5=) 40(decimal) to DMAAddr.</br>
  29611. <br/>
  29612. <br>Reset: 6'h0</br>
  29613. <br/>
  29614. <br>[2:0]: Reserved</br>
  29615. <br/>
  29616. <br>In Scatter-Gather DMA (DescDMA) Mode for Isochronous:</br>
  29617. <br/>
  29618. <br>[31:N]: DMA Address (DMAAddr)</br>
  29619. <br/>
  29620. <br>The start address must be 512-bytes aligned.</br>
  29621. <br/>
  29622. <br>This field holds the address of the 2*(nTD+1) bytes of locations in which the isochronous descriptors are present where N is based on nTD as follows:</br>
  29623. <br> - [31:N]: Base Address</br>
  29624. <br> - [N-1:3]: Offset</br>
  29625. <br> - [2:0]: 000</br>
  29626. <br>For HS ISOC, if nTD is,</br>
  29627. <br> - 7, N=6</br>
  29628. <br> - 15, N=7</br>
  29629. <br> - 31, N=8</br>
  29630. <br> - 63, N=9</br>
  29631. <br> - 127, N=10</br>
  29632. <br> - 255, N=11</br>
  29633. <br>For FS ISOC, if nTD is, </br>
  29634. <br> - 1, N=4</br>
  29635. <br> - 3, N=5</br>
  29636. <br> - 7, N=6</br>
  29637. <br> - 15, N=7</br>
  29638. <br> - 31, N=8</br>
  29639. <br> - 63, N=9</br>
  29640. <br>[N-1:3]: Current Transfer Desc(CTD)</br>
  29641. <br/>
  29642. <br>CTD for isochronous is based on the current frame/(micro)frame value. Need to be set to zero by application.</br>
  29643. <br/>
  29644. <br>Reset: (N+1:3)'h0</br>
  29645. <br/>
  29646. <br>[2:0]: Reserved</br>
  29647. </comment>
  29648. </bits>
  29649. </reg>
  29650. <hole size="32"/>
  29651. <reg name="hcdmab10" protect="r">
  29652. <comment>&quot;Host Channel $i DMA Buffer Address Register&quot;
  29653. This register is present only in case of Scatter/Gather DMA. It is implemented in RAM instead of flop-based implementation. This register holds the current buffer address.</comment>
  29654. <bits access="r" name="hcdmab" pos="31:0" rst="0">
  29655. <comment>
  29656. <br>Holds the current buffer address.</br>
  29657. <br>This register is updated as and when the data transfer for the corresponding end point </br>
  29658. <br>is in progress. This register is present only in Scatter/Gather DMA mode. Otherwise this </br>
  29659. <br>field is reserved.</br>
  29660. </comment>
  29661. </bits>
  29662. </reg>
  29663. <reg name="hcchar11" protect="rw">
  29664. <comment>Host Channel 11 Characteristics Register</comment>
  29665. <bits access="rw" name="mps" pos="10:0" rst="0">
  29666. <comment>
  29667. <br>Maximum Packet Size (MPS)</br>
  29668. <br/>
  29669. <br>Indicates the maximum packet size of the associated endpoint.</br>
  29670. </comment>
  29671. </bits>
  29672. <bits access="rw" name="epnum" pos="14:11" rst="0">
  29673. <comment>
  29674. <br>Endpoint Number (EPNum)</br>
  29675. <br/>
  29676. <br>Indicates the endpoint number on the device serving as the data source or sink.</br>
  29677. </comment>
  29678. </bits>
  29679. <bits access="rw" name="epdir" pos="15" rst="0">
  29680. <comment>
  29681. <br>Endpoint Direction (EPDir)</br>
  29682. <br/>
  29683. <br>Indicates whether the transaction is IN or OUT.</br>
  29684. <br> - 1'b0: OUT</br>
  29685. <br> - 1'b1: IN</br>
  29686. </comment>
  29687. </bits>
  29688. <bits access="rw" name="lspddev" pos="17" rst="0">
  29689. <comment>
  29690. <br>Low-Speed Device (LSpdDev)</br>
  29691. <br/>
  29692. <br>This field is Set by the application to indicate that this channel is communicating to a low-speed device.</br>
  29693. <br/>
  29694. <br>The application must program this bit when a low speed device is connected to the host through an FS HUB. The DWC_otg Host core uses this field to drive the XCVR_SELECT signal to 2'b11 while communicating to the LS Device through the FS hub.</br>
  29695. <br/>
  29696. <br>Note: In a peer to peer setup, the DWC_otg Host core ignores this bit even if it is set by the application software.</br>
  29697. </comment>
  29698. </bits>
  29699. <bits access="rw" name="eptype" pos="19:18" rst="0">
  29700. <comment>
  29701. <br>Endpoint Type (EPType)</br>
  29702. <br/>
  29703. <br>Indicates the transfer type selected.</br>
  29704. <br> - 2'b00: Control</br>
  29705. <br> - 2'b01: Isochronous</br>
  29706. <br> - 2'b10: Bulk</br>
  29707. <br> - 2'b11: Interrupt</br>
  29708. </comment>
  29709. </bits>
  29710. <bits access="rw" name="ec" pos="21:20" rst="0">
  29711. <comment>
  29712. <br>Multi Count (MC) / Error Count (EC)</br>
  29713. <br/>
  29714. <br>When the Split Enable bit of the Host Channel-n Split Control</br>
  29715. <br>register (HCSPLTn.SpltEna) is reset (1'b0), this field indicates to</br>
  29716. <br>the host the number of transactions that must be executed per</br>
  29717. <br>microframe for this periodic endpoint. For non periodic transfers,</br>
  29718. <br>this field is used only in DMA mode, and specifies the number</br>
  29719. <br>packets to be fetched for this channel before the internal DMA</br>
  29720. <br>engine changes arbitration.</br>
  29721. <br> - 2'b00: Reserved This field yields undefined results.</br>
  29722. <br> - 2'b01: 1 transaction</br>
  29723. <br> - 2'b10: 2 transactions to be issued for this endpoint per microframe</br>
  29724. <br> - 2'b11: 3 transactions to be issued for this endpoint per microframe</br>
  29725. <br>When HCSPLTn.SpltEna is Set (1'b1), this field indicates the</br>
  29726. <br>number of immediate retries to be performed for a periodic split</br>
  29727. <br>transactions on transaction errors. This field must be Set to at</br>
  29728. <br>least 2'b01.</br>
  29729. </comment>
  29730. </bits>
  29731. <bits access="rw" name="devaddr" pos="28:22" rst="0">
  29732. <comment>
  29733. <br>Device Address (DevAddr)</br>
  29734. <br/>
  29735. <br>This field selects the specific device serving as the data source</br>
  29736. <br>or sink.</br>
  29737. </comment>
  29738. </bits>
  29739. <bits access="rw" name="oddfrm" pos="29" rst="0">
  29740. <comment>
  29741. <br>Odd Frame (OddFrm)</br>
  29742. <br/>
  29743. <br>This field is set (reset) by the application to indicate that the OTG host must perform </br>
  29744. <br>a transfer in an odd (micro)Frame. This field is applicable for only periodic </br>
  29745. <br>(isochronous and interrupt) transactions.</br>
  29746. <br> - 1'b0: Even (micro)Frame</br>
  29747. <br> - 1'b1: Odd (micro)Frame</br>
  29748. <br/>
  29749. </comment>
  29750. </bits>
  29751. <bits access="rw" name="chdis" pos="30" rst="0">
  29752. <comment>
  29753. <br>Channel Disable (ChDis)</br>
  29754. <br/>
  29755. <br>The application sets this bit to stop transmitting/receiving data</br>
  29756. <br>on a channel, even before the transfer for that channel is</br>
  29757. <br>complete. The application must wait for the Channel Disabled</br>
  29758. <br>interrupt before treating the channel as disabled.</br>
  29759. </comment>
  29760. </bits>
  29761. <bits access="rw" name="chena" pos="31" rst="0">
  29762. <comment>
  29763. <br>Channel Enable (ChEna)</br>
  29764. <br/>
  29765. <br>When Scatter/Gather mode is enabled </br>
  29766. <br> - 1'b0: Indicates that the descriptor structure is not yet ready. </br>
  29767. <br> - 1'b1: Indicates that the descriptor structure and data buffer with data is setup and this channel can access the descriptor. </br>
  29768. <br>When Scatter/Gather mode is disabled </br>
  29769. <br/>
  29770. <br> This field is set by the application and cleared by the OTG host. </br>
  29771. <br> - 1'b0: Channel disabled </br>
  29772. <br> - 1'b1: Channel enabled</br>
  29773. </comment>
  29774. </bits>
  29775. </reg>
  29776. <reg name="hcsplt11" protect="rw">
  29777. <comment>Host Channel 11 Split Control Register</comment>
  29778. <bits access="rw" name="prtaddr" pos="6:0" rst="0">
  29779. <comment>
  29780. <br>Port Address (PrtAddr)</br>
  29781. <br/>
  29782. <br>This field is the port number of the recipient transaction translator.</br>
  29783. </comment>
  29784. </bits>
  29785. <bits access="rw" name="hubaddr" pos="13:7" rst="0">
  29786. <comment>
  29787. <br>Hub Address (HubAddr)</br>
  29788. <br/>
  29789. <br>This field holds the device address of the transaction translator's hub.</br>
  29790. </comment>
  29791. </bits>
  29792. <bits access="rw" name="xactpos" pos="15:14" rst="0">
  29793. <comment>
  29794. <br>Transaction Position (XactPos)</br>
  29795. <br/>
  29796. <br>This field is used to determine whether to send all, first, middle, or last payloads with each OUT transaction.</br>
  29797. <br> - 2'b11: All. This is the entire data payload is of this transaction (which is less than or equal to 188 bytes).</br>
  29798. <br> - 2'b10: Begin. This is the first data payload of this transaction (which is larger than 188 bytes).</br>
  29799. <br> - 2'b00: Mid. This is the middle payload of this transaction (which is larger than 188 bytes).</br>
  29800. <br> - 2'b01: End. This is the last payload of this transaction (which is larger than 188 bytes).</br>
  29801. </comment>
  29802. </bits>
  29803. <bits access="rw" name="compsplt" pos="16" rst="0">
  29804. <comment>
  29805. <br>Do Complete Split (CompSplt)</br>
  29806. <br/>
  29807. <br>The application sets this field to request the OTG host to perform a complete split transaction.</br>
  29808. </comment>
  29809. </bits>
  29810. <bits access="rw" name="spltena" pos="31" rst="0">
  29811. <comment>
  29812. <br>Split Enable (SpltEna)</br>
  29813. <br/>
  29814. <br>The application sets this field to indicate that this channel is enabled to perform split transactions.</br>
  29815. </comment>
  29816. </bits>
  29817. </reg>
  29818. <reg name="hcint11" protect="rw">
  29819. <comment>&quot;Host Channel $i Interrupt Register&quot;
  29820. This register indicates the status of a channel with respect to USB- and AHB-related events. It is shown in the &quot;Interrupt Hierarchy&quot; figure in the databook. The application must read this register when the Host Channels Interrupt bit of the Core Interrupt register (GINTSTS.HChInt) is set. Before the application can read this register, it must first read the Host All Channels Interrupt (HAINT) register to get the exact channel number for the Host Channel-n Interrupt register. The application must clear the appropriate bit in this register to clear the corresponding bits in the HAINT and GINTSTS registers.</comment>
  29821. <bits access="rw" name="xfercompl" pos="0" rst="0">
  29822. <comment>
  29823. <br>Transfer Completed (XferCompl)</br>
  29824. <br/>
  29825. <br>Transfer completed normally without any errors.This bit can be set only by the core and the application should write 1 to clear it.</br>
  29826. <br> - For Scatter/Gather DMA mode, it indicates that current descriptor processing got completed with IOC bit set in its descriptor.</br>
  29827. <br> - In non Scatter/Gather DMA mode, it indicates that Transfer completed normally without any errors.</br>
  29828. <br/>
  29829. </comment>
  29830. </bits>
  29831. <bits access="rw" name="chhltd" pos="1" rst="0">
  29832. <comment>
  29833. <br>Channel Halted (ChHltd)</br>
  29834. <br/>
  29835. <br>In non Scatter/Gather DMA mode, it indicates the transfer completed abnormally either because of any USB transaction error or in response to disable request by the application or because of a completed transfer.</br>
  29836. <br/>
  29837. <br>In Scatter/gather DMA mode, this indicates that transfer completed due to any of the following</br>
  29838. <br> - EOL being set in descriptor</br>
  29839. <br> - AHB error</br>
  29840. <br> - Excessive transaction errors</br>
  29841. <br> - Babble</br>
  29842. <br> - Stall</br>
  29843. <br/>
  29844. </comment>
  29845. </bits>
  29846. <bits access="rw" name="ahberr" pos="2" rst="0">
  29847. <comment>
  29848. <br>AHB Error (AHBErr)</br>
  29849. <br/>
  29850. <br>This is generated only in Internal DMA mode when there is an AHB error during AHB read/write. The application can read the corresponding channel's DMA address register to get the error address.</br>
  29851. </comment>
  29852. </bits>
  29853. <bits access="rw" name="stall" pos="3" rst="0">
  29854. <comment>
  29855. <br>STALL Response Received Interrupt (STALL)</br>
  29856. <br/>
  29857. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  29858. </comment>
  29859. </bits>
  29860. <bits access="rw" name="nak" pos="4" rst="0">
  29861. <comment>
  29862. <br>NAK Response Received Interrupt (NAK)</br>
  29863. <br/>
  29864. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  29865. </comment>
  29866. </bits>
  29867. <bits access="rw" name="ack" pos="5" rst="0">
  29868. <comment>
  29869. <br>ACK Response Received/Transmitted Interrupt (ACK)</br>
  29870. <br/>
  29871. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  29872. </comment>
  29873. </bits>
  29874. <bits access="rw" name="nyet" pos="6" rst="0">
  29875. <comment>
  29876. <br>NYET Response Received Interrupt (NYET)</br>
  29877. <br/>
  29878. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  29879. </comment>
  29880. </bits>
  29881. <bits access="rw" name="xacterr" pos="7" rst="0">
  29882. <comment>
  29883. <br>Transaction Error (XactErr)</br>
  29884. <br/>
  29885. <br>Indicates one of the following errors occurred on the USB.</br>
  29886. <br> - CRC check failure</br>
  29887. <br> - Timeout</br>
  29888. <br> - Bit stuff error</br>
  29889. <br> - False EOP</br>
  29890. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  29891. </comment>
  29892. </bits>
  29893. <bits access="rw" name="bblerr" pos="8" rst="0">
  29894. <comment>
  29895. <br>Babble Error (BblErr)</br>
  29896. <br/>
  29897. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core. This bit can be set only by the core and the application should write 1 to clear it.</br>
  29898. </comment>
  29899. </bits>
  29900. <bits access="rw" name="frmovrun" pos="9" rst="0">
  29901. <comment>
  29902. <br>Frame Overrun (FrmOvrun).</br>
  29903. <br/>
  29904. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked </br>
  29905. <br>in the core. This bit can be set only by the core and the application should write 1 to clear</br>
  29906. <br>it.</br>
  29907. </comment>
  29908. </bits>
  29909. <bits access="rw" name="datatglerr" pos="10" rst="0">
  29910. <comment>
  29911. <br/>
  29912. <br>Data Toggle Error (DataTglErr).This bit can be set only by the core and the application should write 1 to clear</br>
  29913. <br>it.In Scatter/Gather DMA mode, the interrupt due to this bit is masked </br>
  29914. <br>in the core.</br>
  29915. </comment>
  29916. </bits>
  29917. <bits access="rw" name="bnaintr" pos="11" rst="0">
  29918. <comment>
  29919. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  29920. <br/>
  29921. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. </br>
  29922. <br>The core generates this interrupt when the descriptor accessed </br>
  29923. <br>is not ready for the Core to process. BNA will not be generated </br>
  29924. <br>for Isochronous channels.</br>
  29925. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  29926. </comment>
  29927. </bits>
  29928. <bits access="rw" name="xcs_xact_err" pos="12" rst="0">
  29929. <comment>
  29930. <br>Excessive Transaction Error (XCS_XACT_ERR)</br>
  29931. <br/>
  29932. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. The core sets this bit </br>
  29933. <br>when 3 consecutive transaction errors occurred on the USB bus. XCS_XACT_ERR will </br>
  29934. <br>not be generated for Isochronous channels.</br>
  29935. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  29936. </comment>
  29937. </bits>
  29938. <bits access="rw" name="desc_lst_rollintr" pos="13" rst="0">
  29939. <comment>
  29940. <br>Descriptor rollover interrupt (DESC_LST_ROLLIntr)</br>
  29941. <br/>
  29942. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. The core sets this bit </br>
  29943. <br>when the corresponding channel's descriptor list rolls over.</br>
  29944. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  29945. </comment>
  29946. </bits>
  29947. </reg>
  29948. <reg name="hcintmsk11" protect="rw">
  29949. <comment>&quot;Host Channel $i Interrupt Mask Register&quot;
  29950. This register reflects the mask for each channel status described in the previous section.</comment>
  29951. <bits access="rw" name="xfercomplmsk" pos="0" rst="0">
  29952. <comment>
  29953. <br/>
  29954. <br>Transfer Completed Mask (XferComplMsk)</br>
  29955. </comment>
  29956. </bits>
  29957. <bits access="rw" name="chhltdmsk" pos="1" rst="0">
  29958. <comment>
  29959. <br/>
  29960. <br>Channel Halted Mask (ChHltdMsk)</br>
  29961. </comment>
  29962. </bits>
  29963. <bits access="rw" name="ahberrmsk" pos="2" rst="0">
  29964. <comment>
  29965. <br/>
  29966. <br>AHB Error Mask (AHBErrMsk)</br>
  29967. <br>In scatter/gather DMA mode for host, </br>
  29968. <br>interrupts will not be generated due to the corresponding bits set in </br>
  29969. <br>HCINTn.</br>
  29970. </comment>
  29971. </bits>
  29972. <bits access="rw" name="bnaintrmsk" pos="11" rst="0">
  29973. <comment>
  29974. <br/>
  29975. <br>BNA (Buffer Not Available) Interrupt mask register (BNAIntrMsk) </br>
  29976. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  29977. </comment>
  29978. </bits>
  29979. <bits access="rw" name="desc_lst_rollintrmsk" pos="13" rst="0">
  29980. <comment>
  29981. <br/>
  29982. <br>Descriptor List rollover interrupt Mask register(DESC_LST_ROLLIntrMsk)</br>
  29983. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  29984. </comment>
  29985. </bits>
  29986. </reg>
  29987. <reg name="hctsiz11" protect="rw">
  29988. <comment>Host Channel 11 Transfer Size Register</comment>
  29989. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  29990. <comment>
  29991. <br>Transfer Size (XferSize)</br>
  29992. <br/>
  29993. <br>For an OUT, this field is the number of data bytes the host sends during the transfer.</br>
  29994. <br/>
  29995. <br>For an IN, this field is the buffer size that the application has Reserved for the transfer. The application is expected to program this field as an integer multiple of the maximum packet size for IN transactions (periodic and non-periodic).</br>
  29996. <br/>
  29997. <br>The width of this counter is specified as Width of Transfer Size Counters during coreConsultant configuration (parameter OTG_TRANS_COUNT_WIDTH).</br>
  29998. </comment>
  29999. </bits>
  30000. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  30001. <comment>
  30002. <br>Packet Count (PktCnt)</br>
  30003. <br/>
  30004. <br>This field is programmed by the application with the expected number of packets to be transmitted (OUT) or received (IN).</br>
  30005. <br/>
  30006. <br>The host decrements this count on every successful transmission or reception of an OUT/IN packet. Once this count reaches zero, the application is interrupted to indicate normal completion.</br>
  30007. <br/>
  30008. <br>The width of this counter is specified as Width of Packet Counters during coreConsultant configuration (parameter OTG_PACKET_COUNT_WIDTH).</br>
  30009. </comment>
  30010. </bits>
  30011. <bits access="rw" name="pid" pos="30:29" rst="0">
  30012. <comment>
  30013. <br>PID (Pid)</br>
  30014. <br/>
  30015. <br>The application programs this field with the type of PID to use for the initial transaction. The host maintains this field for the rest of the transfer.</br>
  30016. <br> - 2'b00: DATA0</br>
  30017. <br> - 2'b01: DATA2</br>
  30018. <br> - 2'b10: DATA1</br>
  30019. <br> - 2'b11: MDATA (non-control)/SETUP (control)</br>
  30020. </comment>
  30021. </bits>
  30022. <bits access="rw" name="dopng" pos="31" rst="0">
  30023. <comment>
  30024. <br>Do Ping (DoPng)</br>
  30025. <br/>
  30026. <br>This bit is used only for OUT transfers.</br>
  30027. <br>Setting this field to 1 directs the host to do PING protocol.</br>
  30028. <br/>
  30029. <br>Note: Do not set this bit for IN transfers. If this bit is set for for IN transfers it disables the channel.</br>
  30030. </comment>
  30031. </bits>
  30032. </reg>
  30033. <reg name="hcdma11" protect="rw">
  30034. <comment>&quot;Host Channel $i DMA Address Register&quot;
  30035. This register is used by the OTG host in the internal DMA mode to maintain the current buffer pointer for IN/OUT transactions. The starting DMA address must be DWORD-aligned.</comment>
  30036. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  30037. <comment>
  30038. <br>In Buffer DMA Mode:</br>
  30039. <br/>
  30040. <br>[31:0]: DMA Address (DMAAddr)</br>
  30041. <br/>
  30042. <br>This field holds the start address in the external memory from which the data for the endpoint must be fetched or to which it must be stored. This register is incremented on every AHB transaction.</br>
  30043. <br/>
  30044. <br>Reset: X if not programmed as the register is in SPRAM.</br>
  30045. <br/>
  30046. <br>In Scatter-Gather DMA (DescDMA) Mode for Non-Isochronous:</br>
  30047. <br/>
  30048. <br>[31:9]: DMA Address (DMAAddr)</br>
  30049. <br/>
  30050. <br>The start address must be 512-bytes aligned.</br>
  30051. <br/>
  30052. <br>This field holds the start address of the 512 bytes page. The first descriptor in the list should be located in this address. The first descriptor may be or may not be ready. The core starts processing the list from the CTD value. </br>
  30053. <br/>
  30054. <br>[8:3]: Current Transfer Desc(CTD)</br>
  30055. <br/>
  30056. <br>This value is in terms of number of descriptors. The values can be from 0 to 63. </br>
  30057. <br> - 0 - 1 descriptor. </br>
  30058. <br> - 63 - 64 descriptors. </br>
  30059. <br>This field indicates the current descriptor processed in the list. This field is updated both by application and the core. For example, if the application enables the channel after programming CTD=5, then the core will start processing the sixth descriptor. The address is obtained by adding a value of (8bytes*5=) 40(decimal) to DMAAddr.</br>
  30060. <br/>
  30061. <br>Reset: 6'h0</br>
  30062. <br/>
  30063. <br>[2:0]: Reserved</br>
  30064. <br/>
  30065. <br>In Scatter-Gather DMA (DescDMA) Mode for Isochronous:</br>
  30066. <br/>
  30067. <br>[31:N]: DMA Address (DMAAddr)</br>
  30068. <br/>
  30069. <br>The start address must be 512-bytes aligned.</br>
  30070. <br/>
  30071. <br>This field holds the address of the 2*(nTD+1) bytes of locations in which the isochronous descriptors are present where N is based on nTD as follows:</br>
  30072. <br> - [31:N]: Base Address</br>
  30073. <br> - [N-1:3]: Offset</br>
  30074. <br> - [2:0]: 000</br>
  30075. <br>For HS ISOC, if nTD is,</br>
  30076. <br> - 7, N=6</br>
  30077. <br> - 15, N=7</br>
  30078. <br> - 31, N=8</br>
  30079. <br> - 63, N=9</br>
  30080. <br> - 127, N=10</br>
  30081. <br> - 255, N=11</br>
  30082. <br>For FS ISOC, if nTD is, </br>
  30083. <br> - 1, N=4</br>
  30084. <br> - 3, N=5</br>
  30085. <br> - 7, N=6</br>
  30086. <br> - 15, N=7</br>
  30087. <br> - 31, N=8</br>
  30088. <br> - 63, N=9</br>
  30089. <br>[N-1:3]: Current Transfer Desc(CTD)</br>
  30090. <br/>
  30091. <br>CTD for isochronous is based on the current frame/(micro)frame value. Need to be set to zero by application.</br>
  30092. <br/>
  30093. <br>Reset: (N+1:3)'h0</br>
  30094. <br/>
  30095. <br>[2:0]: Reserved</br>
  30096. </comment>
  30097. </bits>
  30098. </reg>
  30099. <hole size="32"/>
  30100. <reg name="hcdmab11" protect="r">
  30101. <comment>&quot;Host Channel $i DMA Buffer Address Register&quot;
  30102. This register is present only in case of Scatter/Gather DMA. It is implemented in RAM instead of flop-based implementation. This register holds the current buffer address.</comment>
  30103. <bits access="r" name="hcdmab" pos="31:0" rst="0">
  30104. <comment>
  30105. <br>Holds the current buffer address.</br>
  30106. <br>This register is updated as and when the data transfer for the corresponding end point </br>
  30107. <br>is in progress. This register is present only in Scatter/Gather DMA mode. Otherwise this </br>
  30108. <br>field is reserved.</br>
  30109. </comment>
  30110. </bits>
  30111. </reg>
  30112. <reg name="hcchar12" protect="rw">
  30113. <comment>Host Channel 12 Characteristics Register</comment>
  30114. <bits access="rw" name="mps" pos="10:0" rst="0">
  30115. <comment>
  30116. <br>Maximum Packet Size (MPS)</br>
  30117. <br/>
  30118. <br>Indicates the maximum packet size of the associated endpoint.</br>
  30119. </comment>
  30120. </bits>
  30121. <bits access="rw" name="epnum" pos="14:11" rst="0">
  30122. <comment>
  30123. <br>Endpoint Number (EPNum)</br>
  30124. <br/>
  30125. <br>Indicates the endpoint number on the device serving as the data source or sink.</br>
  30126. </comment>
  30127. </bits>
  30128. <bits access="rw" name="epdir" pos="15" rst="0">
  30129. <comment>
  30130. <br>Endpoint Direction (EPDir)</br>
  30131. <br/>
  30132. <br>Indicates whether the transaction is IN or OUT.</br>
  30133. <br> - 1'b0: OUT</br>
  30134. <br> - 1'b1: IN</br>
  30135. </comment>
  30136. </bits>
  30137. <bits access="rw" name="lspddev" pos="17" rst="0">
  30138. <comment>
  30139. <br>Low-Speed Device (LSpdDev)</br>
  30140. <br/>
  30141. <br>This field is Set by the application to indicate that this channel is communicating to a low-speed device.</br>
  30142. <br/>
  30143. <br>The application must program this bit when a low speed device is connected to the host through an FS HUB. The DWC_otg Host core uses this field to drive the XCVR_SELECT signal to 2'b11 while communicating to the LS Device through the FS hub.</br>
  30144. <br/>
  30145. <br>Note: In a peer to peer setup, the DWC_otg Host core ignores this bit even if it is set by the application software.</br>
  30146. </comment>
  30147. </bits>
  30148. <bits access="rw" name="eptype" pos="19:18" rst="0">
  30149. <comment>
  30150. <br>Endpoint Type (EPType)</br>
  30151. <br/>
  30152. <br>Indicates the transfer type selected.</br>
  30153. <br> - 2'b00: Control</br>
  30154. <br> - 2'b01: Isochronous</br>
  30155. <br> - 2'b10: Bulk</br>
  30156. <br> - 2'b11: Interrupt</br>
  30157. </comment>
  30158. </bits>
  30159. <bits access="rw" name="ec" pos="21:20" rst="0">
  30160. <comment>
  30161. <br>Multi Count (MC) / Error Count (EC)</br>
  30162. <br/>
  30163. <br>When the Split Enable bit of the Host Channel-n Split Control</br>
  30164. <br>register (HCSPLTn.SpltEna) is reset (1'b0), this field indicates to</br>
  30165. <br>the host the number of transactions that must be executed per</br>
  30166. <br>microframe for this periodic endpoint. For non periodic transfers,</br>
  30167. <br>this field is used only in DMA mode, and specifies the number</br>
  30168. <br>packets to be fetched for this channel before the internal DMA</br>
  30169. <br>engine changes arbitration.</br>
  30170. <br> - 2'b00: Reserved This field yields undefined results.</br>
  30171. <br> - 2'b01: 1 transaction</br>
  30172. <br> - 2'b10: 2 transactions to be issued for this endpoint per microframe</br>
  30173. <br> - 2'b11: 3 transactions to be issued for this endpoint per microframe</br>
  30174. <br>When HCSPLTn.SpltEna is Set (1'b1), this field indicates the</br>
  30175. <br>number of immediate retries to be performed for a periodic split</br>
  30176. <br>transactions on transaction errors. This field must be Set to at</br>
  30177. <br>least 2'b01.</br>
  30178. </comment>
  30179. </bits>
  30180. <bits access="rw" name="devaddr" pos="28:22" rst="0">
  30181. <comment>
  30182. <br>Device Address (DevAddr)</br>
  30183. <br/>
  30184. <br>This field selects the specific device serving as the data source</br>
  30185. <br>or sink.</br>
  30186. </comment>
  30187. </bits>
  30188. <bits access="rw" name="oddfrm" pos="29" rst="0">
  30189. <comment>
  30190. <br>Odd Frame (OddFrm)</br>
  30191. <br/>
  30192. <br>This field is set (reset) by the application to indicate that the OTG host must perform </br>
  30193. <br>a transfer in an odd (micro)Frame. This field is applicable for only periodic </br>
  30194. <br>(isochronous and interrupt) transactions.</br>
  30195. <br> - 1'b0: Even (micro)Frame</br>
  30196. <br> - 1'b1: Odd (micro)Frame</br>
  30197. <br/>
  30198. </comment>
  30199. </bits>
  30200. <bits access="rw" name="chdis" pos="30" rst="0">
  30201. <comment>
  30202. <br>Channel Disable (ChDis)</br>
  30203. <br/>
  30204. <br>The application sets this bit to stop transmitting/receiving data</br>
  30205. <br>on a channel, even before the transfer for that channel is</br>
  30206. <br>complete. The application must wait for the Channel Disabled</br>
  30207. <br>interrupt before treating the channel as disabled.</br>
  30208. </comment>
  30209. </bits>
  30210. <bits access="rw" name="chena" pos="31" rst="0">
  30211. <comment>
  30212. <br>Channel Enable (ChEna)</br>
  30213. <br/>
  30214. <br>When Scatter/Gather mode is enabled </br>
  30215. <br> - 1'b0: Indicates that the descriptor structure is not yet ready. </br>
  30216. <br> - 1'b1: Indicates that the descriptor structure and data buffer with data is setup and this channel can access the descriptor. </br>
  30217. <br>When Scatter/Gather mode is disabled </br>
  30218. <br/>
  30219. <br> This field is set by the application and cleared by the OTG host. </br>
  30220. <br> - 1'b0: Channel disabled </br>
  30221. <br> - 1'b1: Channel enabled</br>
  30222. </comment>
  30223. </bits>
  30224. </reg>
  30225. <reg name="hcsplt12" protect="rw">
  30226. <comment>Host Channel 12 Split Control Register</comment>
  30227. <bits access="rw" name="prtaddr" pos="6:0" rst="0">
  30228. <comment>
  30229. <br>Port Address (PrtAddr)</br>
  30230. <br/>
  30231. <br>This field is the port number of the recipient transaction translator.</br>
  30232. </comment>
  30233. </bits>
  30234. <bits access="rw" name="hubaddr" pos="13:7" rst="0">
  30235. <comment>
  30236. <br>Hub Address (HubAddr)</br>
  30237. <br/>
  30238. <br>This field holds the device address of the transaction translator's hub.</br>
  30239. </comment>
  30240. </bits>
  30241. <bits access="rw" name="xactpos" pos="15:14" rst="0">
  30242. <comment>
  30243. <br>Transaction Position (XactPos)</br>
  30244. <br/>
  30245. <br>This field is used to determine whether to send all, first, middle, or last payloads with each OUT transaction.</br>
  30246. <br> - 2'b11: All. This is the entire data payload is of this transaction (which is less than or equal to 188 bytes).</br>
  30247. <br> - 2'b10: Begin. This is the first data payload of this transaction (which is larger than 188 bytes).</br>
  30248. <br> - 2'b00: Mid. This is the middle payload of this transaction (which is larger than 188 bytes).</br>
  30249. <br> - 2'b01: End. This is the last payload of this transaction (which is larger than 188 bytes).</br>
  30250. </comment>
  30251. </bits>
  30252. <bits access="rw" name="compsplt" pos="16" rst="0">
  30253. <comment>
  30254. <br>Do Complete Split (CompSplt)</br>
  30255. <br/>
  30256. <br>The application sets this field to request the OTG host to perform a complete split transaction.</br>
  30257. </comment>
  30258. </bits>
  30259. <bits access="rw" name="spltena" pos="31" rst="0">
  30260. <comment>
  30261. <br>Split Enable (SpltEna)</br>
  30262. <br/>
  30263. <br>The application sets this field to indicate that this channel is enabled to perform split transactions.</br>
  30264. </comment>
  30265. </bits>
  30266. </reg>
  30267. <reg name="hcint12" protect="rw">
  30268. <comment>&quot;Host Channel $i Interrupt Register&quot;
  30269. This register indicates the status of a channel with respect to USB- and AHB-related events. It is shown in the &quot;Interrupt Hierarchy&quot; figure in the databook. The application must read this register when the Host Channels Interrupt bit of the Core Interrupt register (GINTSTS.HChInt) is set. Before the application can read this register, it must first read the Host All Channels Interrupt (HAINT) register to get the exact channel number for the Host Channel-n Interrupt register. The application must clear the appropriate bit in this register to clear the corresponding bits in the HAINT and GINTSTS registers.</comment>
  30270. <bits access="rw" name="xfercompl" pos="0" rst="0">
  30271. <comment>
  30272. <br>Transfer Completed (XferCompl)</br>
  30273. <br/>
  30274. <br>Transfer completed normally without any errors.This bit can be set only by the core and the application should write 1 to clear it.</br>
  30275. <br> - For Scatter/Gather DMA mode, it indicates that current descriptor processing got completed with IOC bit set in its descriptor.</br>
  30276. <br> - In non Scatter/Gather DMA mode, it indicates that Transfer completed normally without any errors.</br>
  30277. <br/>
  30278. </comment>
  30279. </bits>
  30280. <bits access="rw" name="chhltd" pos="1" rst="0">
  30281. <comment>
  30282. <br>Channel Halted (ChHltd)</br>
  30283. <br/>
  30284. <br>In non Scatter/Gather DMA mode, it indicates the transfer completed abnormally either because of any USB transaction error or in response to disable request by the application or because of a completed transfer.</br>
  30285. <br/>
  30286. <br>In Scatter/gather DMA mode, this indicates that transfer completed due to any of the following</br>
  30287. <br> - EOL being set in descriptor</br>
  30288. <br> - AHB error</br>
  30289. <br> - Excessive transaction errors</br>
  30290. <br> - Babble</br>
  30291. <br> - Stall</br>
  30292. <br/>
  30293. </comment>
  30294. </bits>
  30295. <bits access="rw" name="ahberr" pos="2" rst="0">
  30296. <comment>
  30297. <br>AHB Error (AHBErr)</br>
  30298. <br/>
  30299. <br>This is generated only in Internal DMA mode when there is an AHB error during AHB read/write. The application can read the corresponding channel's DMA address register to get the error address.</br>
  30300. </comment>
  30301. </bits>
  30302. <bits access="rw" name="stall" pos="3" rst="0">
  30303. <comment>
  30304. <br>STALL Response Received Interrupt (STALL)</br>
  30305. <br/>
  30306. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  30307. </comment>
  30308. </bits>
  30309. <bits access="rw" name="nak" pos="4" rst="0">
  30310. <comment>
  30311. <br>NAK Response Received Interrupt (NAK)</br>
  30312. <br/>
  30313. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  30314. </comment>
  30315. </bits>
  30316. <bits access="rw" name="ack" pos="5" rst="0">
  30317. <comment>
  30318. <br>ACK Response Received/Transmitted Interrupt (ACK)</br>
  30319. <br/>
  30320. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  30321. </comment>
  30322. </bits>
  30323. <bits access="rw" name="nyet" pos="6" rst="0">
  30324. <comment>
  30325. <br>NYET Response Received Interrupt (NYET)</br>
  30326. <br/>
  30327. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  30328. </comment>
  30329. </bits>
  30330. <bits access="rw" name="xacterr" pos="7" rst="0">
  30331. <comment>
  30332. <br>Transaction Error (XactErr)</br>
  30333. <br/>
  30334. <br>Indicates one of the following errors occurred on the USB.</br>
  30335. <br> - CRC check failure</br>
  30336. <br> - Timeout</br>
  30337. <br> - Bit stuff error</br>
  30338. <br> - False EOP</br>
  30339. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  30340. </comment>
  30341. </bits>
  30342. <bits access="rw" name="bblerr" pos="8" rst="0">
  30343. <comment>
  30344. <br>Babble Error (BblErr)</br>
  30345. <br/>
  30346. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core. This bit can be set only by the core and the application should write 1 to clear it.</br>
  30347. </comment>
  30348. </bits>
  30349. <bits access="rw" name="frmovrun" pos="9" rst="0">
  30350. <comment>
  30351. <br>Frame Overrun (FrmOvrun).</br>
  30352. <br/>
  30353. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked </br>
  30354. <br>in the core. This bit can be set only by the core and the application should write 1 to clear</br>
  30355. <br>it.</br>
  30356. </comment>
  30357. </bits>
  30358. <bits access="rw" name="datatglerr" pos="10" rst="0">
  30359. <comment>
  30360. <br/>
  30361. <br>Data Toggle Error (DataTglErr).This bit can be set only by the core and the application should write 1 to clear</br>
  30362. <br>it.In Scatter/Gather DMA mode, the interrupt due to this bit is masked </br>
  30363. <br>in the core.</br>
  30364. </comment>
  30365. </bits>
  30366. <bits access="rw" name="bnaintr" pos="11" rst="0">
  30367. <comment>
  30368. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  30369. <br/>
  30370. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. </br>
  30371. <br>The core generates this interrupt when the descriptor accessed </br>
  30372. <br>is not ready for the Core to process. BNA will not be generated </br>
  30373. <br>for Isochronous channels.</br>
  30374. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  30375. </comment>
  30376. </bits>
  30377. <bits access="rw" name="xcs_xact_err" pos="12" rst="0">
  30378. <comment>
  30379. <br>Excessive Transaction Error (XCS_XACT_ERR)</br>
  30380. <br/>
  30381. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. The core sets this bit </br>
  30382. <br>when 3 consecutive transaction errors occurred on the USB bus. XCS_XACT_ERR will </br>
  30383. <br>not be generated for Isochronous channels.</br>
  30384. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  30385. </comment>
  30386. </bits>
  30387. <bits access="rw" name="desc_lst_rollintr" pos="13" rst="0">
  30388. <comment>
  30389. <br>Descriptor rollover interrupt (DESC_LST_ROLLIntr)</br>
  30390. <br/>
  30391. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. The core sets this bit </br>
  30392. <br>when the corresponding channel's descriptor list rolls over.</br>
  30393. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  30394. </comment>
  30395. </bits>
  30396. </reg>
  30397. <reg name="hcintmsk12" protect="rw">
  30398. <comment>&quot;Host Channel $i Interrupt Mask Register&quot;
  30399. This register reflects the mask for each channel status described in the previous section.</comment>
  30400. <bits access="rw" name="xfercomplmsk" pos="0" rst="0">
  30401. <comment>
  30402. <br/>
  30403. <br>Transfer Completed Mask (XferComplMsk)</br>
  30404. </comment>
  30405. </bits>
  30406. <bits access="rw" name="chhltdmsk" pos="1" rst="0">
  30407. <comment>
  30408. <br/>
  30409. <br>Channel Halted Mask (ChHltdMsk)</br>
  30410. </comment>
  30411. </bits>
  30412. <bits access="rw" name="ahberrmsk" pos="2" rst="0">
  30413. <comment>
  30414. <br/>
  30415. <br>AHB Error Mask (AHBErrMsk)</br>
  30416. <br>In scatter/gather DMA mode for host, </br>
  30417. <br>interrupts will not be generated due to the corresponding bits set in </br>
  30418. <br>HCINTn.</br>
  30419. </comment>
  30420. </bits>
  30421. <bits access="rw" name="bnaintrmsk" pos="11" rst="0">
  30422. <comment>
  30423. <br/>
  30424. <br>BNA (Buffer Not Available) Interrupt mask register (BNAIntrMsk) </br>
  30425. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  30426. </comment>
  30427. </bits>
  30428. <bits access="rw" name="desc_lst_rollintrmsk" pos="13" rst="0">
  30429. <comment>
  30430. <br/>
  30431. <br>Descriptor List rollover interrupt Mask register(DESC_LST_ROLLIntrMsk)</br>
  30432. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  30433. </comment>
  30434. </bits>
  30435. </reg>
  30436. <reg name="hctsiz12" protect="rw">
  30437. <comment>Host Channel 12 Transfer Size Register</comment>
  30438. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  30439. <comment>
  30440. <br>Transfer Size (XferSize)</br>
  30441. <br/>
  30442. <br>For an OUT, this field is the number of data bytes the host sends during the transfer.</br>
  30443. <br/>
  30444. <br>For an IN, this field is the buffer size that the application has Reserved for the transfer. The application is expected to program this field as an integer multiple of the maximum packet size for IN transactions (periodic and non-periodic).</br>
  30445. <br/>
  30446. <br>The width of this counter is specified as Width of Transfer Size Counters during coreConsultant configuration (parameter OTG_TRANS_COUNT_WIDTH).</br>
  30447. </comment>
  30448. </bits>
  30449. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  30450. <comment>
  30451. <br>Packet Count (PktCnt)</br>
  30452. <br/>
  30453. <br>This field is programmed by the application with the expected number of packets to be transmitted (OUT) or received (IN).</br>
  30454. <br/>
  30455. <br>The host decrements this count on every successful transmission or reception of an OUT/IN packet. Once this count reaches zero, the application is interrupted to indicate normal completion.</br>
  30456. <br/>
  30457. <br>The width of this counter is specified as Width of Packet Counters during coreConsultant configuration (parameter OTG_PACKET_COUNT_WIDTH).</br>
  30458. </comment>
  30459. </bits>
  30460. <bits access="rw" name="pid" pos="30:29" rst="0">
  30461. <comment>
  30462. <br>PID (Pid)</br>
  30463. <br/>
  30464. <br>The application programs this field with the type of PID to use for the initial transaction. The host maintains this field for the rest of the transfer.</br>
  30465. <br> - 2'b00: DATA0</br>
  30466. <br> - 2'b01: DATA2</br>
  30467. <br> - 2'b10: DATA1</br>
  30468. <br> - 2'b11: MDATA (non-control)/SETUP (control)</br>
  30469. </comment>
  30470. </bits>
  30471. <bits access="rw" name="dopng" pos="31" rst="0">
  30472. <comment>
  30473. <br>Do Ping (DoPng)</br>
  30474. <br/>
  30475. <br>This bit is used only for OUT transfers.</br>
  30476. <br>Setting this field to 1 directs the host to do PING protocol.</br>
  30477. <br/>
  30478. <br>Note: Do not set this bit for IN transfers. If this bit is set for for IN transfers it disables the channel.</br>
  30479. </comment>
  30480. </bits>
  30481. </reg>
  30482. <reg name="hcdma12" protect="rw">
  30483. <comment>&quot;Host Channel $i DMA Address Register&quot;
  30484. This register is used by the OTG host in the internal DMA mode to maintain the current buffer pointer for IN/OUT transactions. The starting DMA address must be DWORD-aligned.</comment>
  30485. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  30486. <comment>
  30487. <br>In Buffer DMA Mode:</br>
  30488. <br/>
  30489. <br>[31:0]: DMA Address (DMAAddr)</br>
  30490. <br/>
  30491. <br>This field holds the start address in the external memory from which the data for the endpoint must be fetched or to which it must be stored. This register is incremented on every AHB transaction.</br>
  30492. <br/>
  30493. <br>Reset: X if not programmed as the register is in SPRAM.</br>
  30494. <br/>
  30495. <br>In Scatter-Gather DMA (DescDMA) Mode for Non-Isochronous:</br>
  30496. <br/>
  30497. <br>[31:9]: DMA Address (DMAAddr)</br>
  30498. <br/>
  30499. <br>The start address must be 512-bytes aligned.</br>
  30500. <br/>
  30501. <br>This field holds the start address of the 512 bytes page. The first descriptor in the list should be located in this address. The first descriptor may be or may not be ready. The core starts processing the list from the CTD value. </br>
  30502. <br/>
  30503. <br>[8:3]: Current Transfer Desc(CTD)</br>
  30504. <br/>
  30505. <br>This value is in terms of number of descriptors. The values can be from 0 to 63. </br>
  30506. <br> - 0 - 1 descriptor. </br>
  30507. <br> - 63 - 64 descriptors. </br>
  30508. <br>This field indicates the current descriptor processed in the list. This field is updated both by application and the core. For example, if the application enables the channel after programming CTD=5, then the core will start processing the sixth descriptor. The address is obtained by adding a value of (8bytes*5=) 40(decimal) to DMAAddr.</br>
  30509. <br/>
  30510. <br>Reset: 6'h0</br>
  30511. <br/>
  30512. <br>[2:0]: Reserved</br>
  30513. <br/>
  30514. <br>In Scatter-Gather DMA (DescDMA) Mode for Isochronous:</br>
  30515. <br/>
  30516. <br>[31:N]: DMA Address (DMAAddr)</br>
  30517. <br/>
  30518. <br>The start address must be 512-bytes aligned.</br>
  30519. <br/>
  30520. <br>This field holds the address of the 2*(nTD+1) bytes of locations in which the isochronous descriptors are present where N is based on nTD as follows:</br>
  30521. <br> - [31:N]: Base Address</br>
  30522. <br> - [N-1:3]: Offset</br>
  30523. <br> - [2:0]: 000</br>
  30524. <br>For HS ISOC, if nTD is,</br>
  30525. <br> - 7, N=6</br>
  30526. <br> - 15, N=7</br>
  30527. <br> - 31, N=8</br>
  30528. <br> - 63, N=9</br>
  30529. <br> - 127, N=10</br>
  30530. <br> - 255, N=11</br>
  30531. <br>For FS ISOC, if nTD is, </br>
  30532. <br> - 1, N=4</br>
  30533. <br> - 3, N=5</br>
  30534. <br> - 7, N=6</br>
  30535. <br> - 15, N=7</br>
  30536. <br> - 31, N=8</br>
  30537. <br> - 63, N=9</br>
  30538. <br>[N-1:3]: Current Transfer Desc(CTD)</br>
  30539. <br/>
  30540. <br>CTD for isochronous is based on the current frame/(micro)frame value. Need to be set to zero by application.</br>
  30541. <br/>
  30542. <br>Reset: (N+1:3)'h0</br>
  30543. <br/>
  30544. <br>[2:0]: Reserved</br>
  30545. </comment>
  30546. </bits>
  30547. </reg>
  30548. <hole size="32"/>
  30549. <reg name="hcdmab12" protect="r">
  30550. <comment>&quot;Host Channel $i DMA Buffer Address Register&quot;
  30551. This register is present only in case of Scatter/Gather DMA. It is implemented in RAM instead of flop-based implementation. This register holds the current buffer address.</comment>
  30552. <bits access="r" name="hcdmab" pos="31:0" rst="0">
  30553. <comment>
  30554. <br>Holds the current buffer address.</br>
  30555. <br>This register is updated as and when the data transfer for the corresponding end point </br>
  30556. <br>is in progress. This register is present only in Scatter/Gather DMA mode. Otherwise this </br>
  30557. <br>field is reserved.</br>
  30558. </comment>
  30559. </bits>
  30560. </reg>
  30561. <reg name="hcchar13" protect="rw">
  30562. <comment>Host Channel 13 Characteristics Register</comment>
  30563. <bits access="rw" name="mps" pos="10:0" rst="0">
  30564. <comment>
  30565. <br>Maximum Packet Size (MPS)</br>
  30566. <br/>
  30567. <br>Indicates the maximum packet size of the associated endpoint.</br>
  30568. </comment>
  30569. </bits>
  30570. <bits access="rw" name="epnum" pos="14:11" rst="0">
  30571. <comment>
  30572. <br>Endpoint Number (EPNum)</br>
  30573. <br/>
  30574. <br>Indicates the endpoint number on the device serving as the data source or sink.</br>
  30575. </comment>
  30576. </bits>
  30577. <bits access="rw" name="epdir" pos="15" rst="0">
  30578. <comment>
  30579. <br>Endpoint Direction (EPDir)</br>
  30580. <br/>
  30581. <br>Indicates whether the transaction is IN or OUT.</br>
  30582. <br> - 1'b0: OUT</br>
  30583. <br> - 1'b1: IN</br>
  30584. </comment>
  30585. </bits>
  30586. <bits access="rw" name="lspddev" pos="17" rst="0">
  30587. <comment>
  30588. <br>Low-Speed Device (LSpdDev)</br>
  30589. <br/>
  30590. <br>This field is Set by the application to indicate that this channel is communicating to a low-speed device.</br>
  30591. <br/>
  30592. <br>The application must program this bit when a low speed device is connected to the host through an FS HUB. The DWC_otg Host core uses this field to drive the XCVR_SELECT signal to 2'b11 while communicating to the LS Device through the FS hub.</br>
  30593. <br/>
  30594. <br>Note: In a peer to peer setup, the DWC_otg Host core ignores this bit even if it is set by the application software.</br>
  30595. </comment>
  30596. </bits>
  30597. <bits access="rw" name="eptype" pos="19:18" rst="0">
  30598. <comment>
  30599. <br>Endpoint Type (EPType)</br>
  30600. <br/>
  30601. <br>Indicates the transfer type selected.</br>
  30602. <br> - 2'b00: Control</br>
  30603. <br> - 2'b01: Isochronous</br>
  30604. <br> - 2'b10: Bulk</br>
  30605. <br> - 2'b11: Interrupt</br>
  30606. </comment>
  30607. </bits>
  30608. <bits access="rw" name="ec" pos="21:20" rst="0">
  30609. <comment>
  30610. <br>Multi Count (MC) / Error Count (EC)</br>
  30611. <br/>
  30612. <br>When the Split Enable bit of the Host Channel-n Split Control</br>
  30613. <br>register (HCSPLTn.SpltEna) is reset (1'b0), this field indicates to</br>
  30614. <br>the host the number of transactions that must be executed per</br>
  30615. <br>microframe for this periodic endpoint. For non periodic transfers,</br>
  30616. <br>this field is used only in DMA mode, and specifies the number</br>
  30617. <br>packets to be fetched for this channel before the internal DMA</br>
  30618. <br>engine changes arbitration.</br>
  30619. <br> - 2'b00: Reserved This field yields undefined results.</br>
  30620. <br> - 2'b01: 1 transaction</br>
  30621. <br> - 2'b10: 2 transactions to be issued for this endpoint per microframe</br>
  30622. <br> - 2'b11: 3 transactions to be issued for this endpoint per microframe</br>
  30623. <br>When HCSPLTn.SpltEna is Set (1'b1), this field indicates the</br>
  30624. <br>number of immediate retries to be performed for a periodic split</br>
  30625. <br>transactions on transaction errors. This field must be Set to at</br>
  30626. <br>least 2'b01.</br>
  30627. </comment>
  30628. </bits>
  30629. <bits access="rw" name="devaddr" pos="28:22" rst="0">
  30630. <comment>
  30631. <br>Device Address (DevAddr)</br>
  30632. <br/>
  30633. <br>This field selects the specific device serving as the data source</br>
  30634. <br>or sink.</br>
  30635. </comment>
  30636. </bits>
  30637. <bits access="rw" name="oddfrm" pos="29" rst="0">
  30638. <comment>
  30639. <br>Odd Frame (OddFrm)</br>
  30640. <br/>
  30641. <br>This field is set (reset) by the application to indicate that the OTG host must perform </br>
  30642. <br>a transfer in an odd (micro)Frame. This field is applicable for only periodic </br>
  30643. <br>(isochronous and interrupt) transactions.</br>
  30644. <br> - 1'b0: Even (micro)Frame</br>
  30645. <br> - 1'b1: Odd (micro)Frame</br>
  30646. <br/>
  30647. </comment>
  30648. </bits>
  30649. <bits access="rw" name="chdis" pos="30" rst="0">
  30650. <comment>
  30651. <br>Channel Disable (ChDis)</br>
  30652. <br/>
  30653. <br>The application sets this bit to stop transmitting/receiving data</br>
  30654. <br>on a channel, even before the transfer for that channel is</br>
  30655. <br>complete. The application must wait for the Channel Disabled</br>
  30656. <br>interrupt before treating the channel as disabled.</br>
  30657. </comment>
  30658. </bits>
  30659. <bits access="rw" name="chena" pos="31" rst="0">
  30660. <comment>
  30661. <br>Channel Enable (ChEna)</br>
  30662. <br/>
  30663. <br>When Scatter/Gather mode is enabled </br>
  30664. <br> - 1'b0: Indicates that the descriptor structure is not yet ready. </br>
  30665. <br> - 1'b1: Indicates that the descriptor structure and data buffer with data is setup and this channel can access the descriptor. </br>
  30666. <br>When Scatter/Gather mode is disabled </br>
  30667. <br/>
  30668. <br> This field is set by the application and cleared by the OTG host. </br>
  30669. <br> - 1'b0: Channel disabled </br>
  30670. <br> - 1'b1: Channel enabled</br>
  30671. </comment>
  30672. </bits>
  30673. </reg>
  30674. <reg name="hcsplt13" protect="rw">
  30675. <comment>Host Channel 13 Split Control Register</comment>
  30676. <bits access="rw" name="prtaddr" pos="6:0" rst="0">
  30677. <comment>
  30678. <br>Port Address (PrtAddr)</br>
  30679. <br/>
  30680. <br>This field is the port number of the recipient transaction translator.</br>
  30681. </comment>
  30682. </bits>
  30683. <bits access="rw" name="hubaddr" pos="13:7" rst="0">
  30684. <comment>
  30685. <br>Hub Address (HubAddr)</br>
  30686. <br/>
  30687. <br>This field holds the device address of the transaction translator's hub.</br>
  30688. </comment>
  30689. </bits>
  30690. <bits access="rw" name="xactpos" pos="15:14" rst="0">
  30691. <comment>
  30692. <br>Transaction Position (XactPos)</br>
  30693. <br/>
  30694. <br>This field is used to determine whether to send all, first, middle, or last payloads with each OUT transaction.</br>
  30695. <br> - 2'b11: All. This is the entire data payload is of this transaction (which is less than or equal to 188 bytes).</br>
  30696. <br> - 2'b10: Begin. This is the first data payload of this transaction (which is larger than 188 bytes).</br>
  30697. <br> - 2'b00: Mid. This is the middle payload of this transaction (which is larger than 188 bytes).</br>
  30698. <br> - 2'b01: End. This is the last payload of this transaction (which is larger than 188 bytes).</br>
  30699. </comment>
  30700. </bits>
  30701. <bits access="rw" name="compsplt" pos="16" rst="0">
  30702. <comment>
  30703. <br>Do Complete Split (CompSplt)</br>
  30704. <br/>
  30705. <br>The application sets this field to request the OTG host to perform a complete split transaction.</br>
  30706. </comment>
  30707. </bits>
  30708. <bits access="rw" name="spltena" pos="31" rst="0">
  30709. <comment>
  30710. <br>Split Enable (SpltEna)</br>
  30711. <br/>
  30712. <br>The application sets this field to indicate that this channel is enabled to perform split transactions.</br>
  30713. </comment>
  30714. </bits>
  30715. </reg>
  30716. <reg name="hcint13" protect="rw">
  30717. <comment>&quot;Host Channel $i Interrupt Register&quot;
  30718. This register indicates the status of a channel with respect to USB- and AHB-related events. It is shown in the &quot;Interrupt Hierarchy&quot; figure in the databook. The application must read this register when the Host Channels Interrupt bit of the Core Interrupt register (GINTSTS.HChInt) is set. Before the application can read this register, it must first read the Host All Channels Interrupt (HAINT) register to get the exact channel number for the Host Channel-n Interrupt register. The application must clear the appropriate bit in this register to clear the corresponding bits in the HAINT and GINTSTS registers.</comment>
  30719. <bits access="rw" name="xfercompl" pos="0" rst="0">
  30720. <comment>
  30721. <br>Transfer Completed (XferCompl)</br>
  30722. <br/>
  30723. <br>Transfer completed normally without any errors.This bit can be set only by the core and the application should write 1 to clear it.</br>
  30724. <br> - For Scatter/Gather DMA mode, it indicates that current descriptor processing got completed with IOC bit set in its descriptor.</br>
  30725. <br> - In non Scatter/Gather DMA mode, it indicates that Transfer completed normally without any errors.</br>
  30726. <br/>
  30727. </comment>
  30728. </bits>
  30729. <bits access="rw" name="chhltd" pos="1" rst="0">
  30730. <comment>
  30731. <br>Channel Halted (ChHltd)</br>
  30732. <br/>
  30733. <br>In non Scatter/Gather DMA mode, it indicates the transfer completed abnormally either because of any USB transaction error or in response to disable request by the application or because of a completed transfer.</br>
  30734. <br/>
  30735. <br>In Scatter/gather DMA mode, this indicates that transfer completed due to any of the following</br>
  30736. <br> - EOL being set in descriptor</br>
  30737. <br> - AHB error</br>
  30738. <br> - Excessive transaction errors</br>
  30739. <br> - Babble</br>
  30740. <br> - Stall</br>
  30741. <br/>
  30742. </comment>
  30743. </bits>
  30744. <bits access="rw" name="ahberr" pos="2" rst="0">
  30745. <comment>
  30746. <br>AHB Error (AHBErr)</br>
  30747. <br/>
  30748. <br>This is generated only in Internal DMA mode when there is an AHB error during AHB read/write. The application can read the corresponding channel's DMA address register to get the error address.</br>
  30749. </comment>
  30750. </bits>
  30751. <bits access="rw" name="stall" pos="3" rst="0">
  30752. <comment>
  30753. <br>STALL Response Received Interrupt (STALL)</br>
  30754. <br/>
  30755. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  30756. </comment>
  30757. </bits>
  30758. <bits access="rw" name="nak" pos="4" rst="0">
  30759. <comment>
  30760. <br>NAK Response Received Interrupt (NAK)</br>
  30761. <br/>
  30762. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  30763. </comment>
  30764. </bits>
  30765. <bits access="rw" name="ack" pos="5" rst="0">
  30766. <comment>
  30767. <br>ACK Response Received/Transmitted Interrupt (ACK)</br>
  30768. <br/>
  30769. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  30770. </comment>
  30771. </bits>
  30772. <bits access="rw" name="nyet" pos="6" rst="0">
  30773. <comment>
  30774. <br>NYET Response Received Interrupt (NYET)</br>
  30775. <br/>
  30776. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  30777. </comment>
  30778. </bits>
  30779. <bits access="rw" name="xacterr" pos="7" rst="0">
  30780. <comment>
  30781. <br>Transaction Error (XactErr)</br>
  30782. <br/>
  30783. <br>Indicates one of the following errors occurred on the USB.</br>
  30784. <br> - CRC check failure</br>
  30785. <br> - Timeout</br>
  30786. <br> - Bit stuff error</br>
  30787. <br> - False EOP</br>
  30788. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  30789. </comment>
  30790. </bits>
  30791. <bits access="rw" name="bblerr" pos="8" rst="0">
  30792. <comment>
  30793. <br>Babble Error (BblErr)</br>
  30794. <br/>
  30795. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core. This bit can be set only by the core and the application should write 1 to clear it.</br>
  30796. </comment>
  30797. </bits>
  30798. <bits access="rw" name="frmovrun" pos="9" rst="0">
  30799. <comment>
  30800. <br>Frame Overrun (FrmOvrun).</br>
  30801. <br/>
  30802. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked </br>
  30803. <br>in the core. This bit can be set only by the core and the application should write 1 to clear</br>
  30804. <br>it.</br>
  30805. </comment>
  30806. </bits>
  30807. <bits access="rw" name="datatglerr" pos="10" rst="0">
  30808. <comment>
  30809. <br/>
  30810. <br>Data Toggle Error (DataTglErr).This bit can be set only by the core and the application should write 1 to clear</br>
  30811. <br>it.In Scatter/Gather DMA mode, the interrupt due to this bit is masked </br>
  30812. <br>in the core.</br>
  30813. </comment>
  30814. </bits>
  30815. <bits access="rw" name="bnaintr" pos="11" rst="0">
  30816. <comment>
  30817. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  30818. <br/>
  30819. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. </br>
  30820. <br>The core generates this interrupt when the descriptor accessed </br>
  30821. <br>is not ready for the Core to process. BNA will not be generated </br>
  30822. <br>for Isochronous channels.</br>
  30823. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  30824. </comment>
  30825. </bits>
  30826. <bits access="rw" name="xcs_xact_err" pos="12" rst="0">
  30827. <comment>
  30828. <br>Excessive Transaction Error (XCS_XACT_ERR)</br>
  30829. <br/>
  30830. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. The core sets this bit </br>
  30831. <br>when 3 consecutive transaction errors occurred on the USB bus. XCS_XACT_ERR will </br>
  30832. <br>not be generated for Isochronous channels.</br>
  30833. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  30834. </comment>
  30835. </bits>
  30836. <bits access="rw" name="desc_lst_rollintr" pos="13" rst="0">
  30837. <comment>
  30838. <br>Descriptor rollover interrupt (DESC_LST_ROLLIntr)</br>
  30839. <br/>
  30840. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. The core sets this bit </br>
  30841. <br>when the corresponding channel's descriptor list rolls over.</br>
  30842. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  30843. </comment>
  30844. </bits>
  30845. </reg>
  30846. <reg name="hcintmsk13" protect="rw">
  30847. <comment>&quot;Host Channel $i Interrupt Mask Register&quot;
  30848. This register reflects the mask for each channel status described in the previous section.</comment>
  30849. <bits access="rw" name="xfercomplmsk" pos="0" rst="0">
  30850. <comment>
  30851. <br/>
  30852. <br>Transfer Completed Mask (XferComplMsk)</br>
  30853. </comment>
  30854. </bits>
  30855. <bits access="rw" name="chhltdmsk" pos="1" rst="0">
  30856. <comment>
  30857. <br/>
  30858. <br>Channel Halted Mask (ChHltdMsk)</br>
  30859. </comment>
  30860. </bits>
  30861. <bits access="rw" name="ahberrmsk" pos="2" rst="0">
  30862. <comment>
  30863. <br/>
  30864. <br>AHB Error Mask (AHBErrMsk)</br>
  30865. <br>In scatter/gather DMA mode for host, </br>
  30866. <br>interrupts will not be generated due to the corresponding bits set in </br>
  30867. <br>HCINTn.</br>
  30868. </comment>
  30869. </bits>
  30870. <bits access="rw" name="bnaintrmsk" pos="11" rst="0">
  30871. <comment>
  30872. <br/>
  30873. <br>BNA (Buffer Not Available) Interrupt mask register (BNAIntrMsk) </br>
  30874. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  30875. </comment>
  30876. </bits>
  30877. <bits access="rw" name="desc_lst_rollintrmsk" pos="13" rst="0">
  30878. <comment>
  30879. <br/>
  30880. <br>Descriptor List rollover interrupt Mask register(DESC_LST_ROLLIntrMsk)</br>
  30881. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  30882. </comment>
  30883. </bits>
  30884. </reg>
  30885. <reg name="hctsiz13" protect="rw">
  30886. <comment>Host Channel 13 Transfer Size Register</comment>
  30887. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  30888. <comment>
  30889. <br>Transfer Size (XferSize)</br>
  30890. <br/>
  30891. <br>For an OUT, this field is the number of data bytes the host sends during the transfer.</br>
  30892. <br/>
  30893. <br>For an IN, this field is the buffer size that the application has Reserved for the transfer. The application is expected to program this field as an integer multiple of the maximum packet size for IN transactions (periodic and non-periodic).</br>
  30894. <br/>
  30895. <br>The width of this counter is specified as Width of Transfer Size Counters during coreConsultant configuration (parameter OTG_TRANS_COUNT_WIDTH).</br>
  30896. </comment>
  30897. </bits>
  30898. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  30899. <comment>
  30900. <br>Packet Count (PktCnt)</br>
  30901. <br/>
  30902. <br>This field is programmed by the application with the expected number of packets to be transmitted (OUT) or received (IN).</br>
  30903. <br/>
  30904. <br>The host decrements this count on every successful transmission or reception of an OUT/IN packet. Once this count reaches zero, the application is interrupted to indicate normal completion.</br>
  30905. <br/>
  30906. <br>The width of this counter is specified as Width of Packet Counters during coreConsultant configuration (parameter OTG_PACKET_COUNT_WIDTH).</br>
  30907. </comment>
  30908. </bits>
  30909. <bits access="rw" name="pid" pos="30:29" rst="0">
  30910. <comment>
  30911. <br>PID (Pid)</br>
  30912. <br/>
  30913. <br>The application programs this field with the type of PID to use for the initial transaction. The host maintains this field for the rest of the transfer.</br>
  30914. <br> - 2'b00: DATA0</br>
  30915. <br> - 2'b01: DATA2</br>
  30916. <br> - 2'b10: DATA1</br>
  30917. <br> - 2'b11: MDATA (non-control)/SETUP (control)</br>
  30918. </comment>
  30919. </bits>
  30920. <bits access="rw" name="dopng" pos="31" rst="0">
  30921. <comment>
  30922. <br>Do Ping (DoPng)</br>
  30923. <br/>
  30924. <br>This bit is used only for OUT transfers.</br>
  30925. <br>Setting this field to 1 directs the host to do PING protocol.</br>
  30926. <br/>
  30927. <br>Note: Do not set this bit for IN transfers. If this bit is set for for IN transfers it disables the channel.</br>
  30928. </comment>
  30929. </bits>
  30930. </reg>
  30931. <reg name="hcdma13" protect="rw">
  30932. <comment>&quot;Host Channel $i DMA Address Register&quot;
  30933. This register is used by the OTG host in the internal DMA mode to maintain the current buffer pointer for IN/OUT transactions. The starting DMA address must be DWORD-aligned.</comment>
  30934. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  30935. <comment>
  30936. <br>In Buffer DMA Mode:</br>
  30937. <br/>
  30938. <br>[31:0]: DMA Address (DMAAddr)</br>
  30939. <br/>
  30940. <br>This field holds the start address in the external memory from which the data for the endpoint must be fetched or to which it must be stored. This register is incremented on every AHB transaction.</br>
  30941. <br/>
  30942. <br>Reset: X if not programmed as the register is in SPRAM.</br>
  30943. <br/>
  30944. <br>In Scatter-Gather DMA (DescDMA) Mode for Non-Isochronous:</br>
  30945. <br/>
  30946. <br>[31:9]: DMA Address (DMAAddr)</br>
  30947. <br/>
  30948. <br>The start address must be 512-bytes aligned.</br>
  30949. <br/>
  30950. <br>This field holds the start address of the 512 bytes page. The first descriptor in the list should be located in this address. The first descriptor may be or may not be ready. The core starts processing the list from the CTD value. </br>
  30951. <br/>
  30952. <br>[8:3]: Current Transfer Desc(CTD)</br>
  30953. <br/>
  30954. <br>This value is in terms of number of descriptors. The values can be from 0 to 63. </br>
  30955. <br> - 0 - 1 descriptor. </br>
  30956. <br> - 63 - 64 descriptors. </br>
  30957. <br>This field indicates the current descriptor processed in the list. This field is updated both by application and the core. For example, if the application enables the channel after programming CTD=5, then the core will start processing the sixth descriptor. The address is obtained by adding a value of (8bytes*5=) 40(decimal) to DMAAddr.</br>
  30958. <br/>
  30959. <br>Reset: 6'h0</br>
  30960. <br/>
  30961. <br>[2:0]: Reserved</br>
  30962. <br/>
  30963. <br>In Scatter-Gather DMA (DescDMA) Mode for Isochronous:</br>
  30964. <br/>
  30965. <br>[31:N]: DMA Address (DMAAddr)</br>
  30966. <br/>
  30967. <br>The start address must be 512-bytes aligned.</br>
  30968. <br/>
  30969. <br>This field holds the address of the 2*(nTD+1) bytes of locations in which the isochronous descriptors are present where N is based on nTD as follows:</br>
  30970. <br> - [31:N]: Base Address</br>
  30971. <br> - [N-1:3]: Offset</br>
  30972. <br> - [2:0]: 000</br>
  30973. <br>For HS ISOC, if nTD is,</br>
  30974. <br> - 7, N=6</br>
  30975. <br> - 15, N=7</br>
  30976. <br> - 31, N=8</br>
  30977. <br> - 63, N=9</br>
  30978. <br> - 127, N=10</br>
  30979. <br> - 255, N=11</br>
  30980. <br>For FS ISOC, if nTD is, </br>
  30981. <br> - 1, N=4</br>
  30982. <br> - 3, N=5</br>
  30983. <br> - 7, N=6</br>
  30984. <br> - 15, N=7</br>
  30985. <br> - 31, N=8</br>
  30986. <br> - 63, N=9</br>
  30987. <br>[N-1:3]: Current Transfer Desc(CTD)</br>
  30988. <br/>
  30989. <br>CTD for isochronous is based on the current frame/(micro)frame value. Need to be set to zero by application.</br>
  30990. <br/>
  30991. <br>Reset: (N+1:3)'h0</br>
  30992. <br/>
  30993. <br>[2:0]: Reserved</br>
  30994. </comment>
  30995. </bits>
  30996. </reg>
  30997. <hole size="32"/>
  30998. <reg name="hcdmab13" protect="r">
  30999. <comment>&quot;Host Channel $i DMA Buffer Address Register&quot;
  31000. This register is present only in case of Scatter/Gather DMA. It is implemented in RAM instead of flop-based implementation. This register holds the current buffer address.</comment>
  31001. <bits access="r" name="hcdmab" pos="31:0" rst="0">
  31002. <comment>
  31003. <br>Holds the current buffer address.</br>
  31004. <br>This register is updated as and when the data transfer for the corresponding end point </br>
  31005. <br>is in progress. This register is present only in Scatter/Gather DMA mode. Otherwise this </br>
  31006. <br>field is reserved.</br>
  31007. </comment>
  31008. </bits>
  31009. </reg>
  31010. <reg name="hcchar14" protect="rw">
  31011. <comment>Host Channel 14 Characteristics Register</comment>
  31012. <bits access="rw" name="mps" pos="10:0" rst="0">
  31013. <comment>
  31014. <br>Maximum Packet Size (MPS)</br>
  31015. <br/>
  31016. <br>Indicates the maximum packet size of the associated endpoint.</br>
  31017. </comment>
  31018. </bits>
  31019. <bits access="rw" name="epnum" pos="14:11" rst="0">
  31020. <comment>
  31021. <br>Endpoint Number (EPNum)</br>
  31022. <br/>
  31023. <br>Indicates the endpoint number on the device serving as the data source or sink.</br>
  31024. </comment>
  31025. </bits>
  31026. <bits access="rw" name="epdir" pos="15" rst="0">
  31027. <comment>
  31028. <br>Endpoint Direction (EPDir)</br>
  31029. <br/>
  31030. <br>Indicates whether the transaction is IN or OUT.</br>
  31031. <br> - 1'b0: OUT</br>
  31032. <br> - 1'b1: IN</br>
  31033. </comment>
  31034. </bits>
  31035. <bits access="rw" name="lspddev" pos="17" rst="0">
  31036. <comment>
  31037. <br>Low-Speed Device (LSpdDev)</br>
  31038. <br/>
  31039. <br>This field is Set by the application to indicate that this channel is communicating to a low-speed device.</br>
  31040. <br/>
  31041. <br>The application must program this bit when a low speed device is connected to the host through an FS HUB. The DWC_otg Host core uses this field to drive the XCVR_SELECT signal to 2'b11 while communicating to the LS Device through the FS hub.</br>
  31042. <br/>
  31043. <br>Note: In a peer to peer setup, the DWC_otg Host core ignores this bit even if it is set by the application software.</br>
  31044. </comment>
  31045. </bits>
  31046. <bits access="rw" name="eptype" pos="19:18" rst="0">
  31047. <comment>
  31048. <br>Endpoint Type (EPType)</br>
  31049. <br/>
  31050. <br>Indicates the transfer type selected.</br>
  31051. <br> - 2'b00: Control</br>
  31052. <br> - 2'b01: Isochronous</br>
  31053. <br> - 2'b10: Bulk</br>
  31054. <br> - 2'b11: Interrupt</br>
  31055. </comment>
  31056. </bits>
  31057. <bits access="rw" name="ec" pos="21:20" rst="0">
  31058. <comment>
  31059. <br>Multi Count (MC) / Error Count (EC)</br>
  31060. <br/>
  31061. <br>When the Split Enable bit of the Host Channel-n Split Control</br>
  31062. <br>register (HCSPLTn.SpltEna) is reset (1'b0), this field indicates to</br>
  31063. <br>the host the number of transactions that must be executed per</br>
  31064. <br>microframe for this periodic endpoint. For non periodic transfers,</br>
  31065. <br>this field is used only in DMA mode, and specifies the number</br>
  31066. <br>packets to be fetched for this channel before the internal DMA</br>
  31067. <br>engine changes arbitration.</br>
  31068. <br> - 2'b00: Reserved This field yields undefined results.</br>
  31069. <br> - 2'b01: 1 transaction</br>
  31070. <br> - 2'b10: 2 transactions to be issued for this endpoint per microframe</br>
  31071. <br> - 2'b11: 3 transactions to be issued for this endpoint per microframe</br>
  31072. <br>When HCSPLTn.SpltEna is Set (1'b1), this field indicates the</br>
  31073. <br>number of immediate retries to be performed for a periodic split</br>
  31074. <br>transactions on transaction errors. This field must be Set to at</br>
  31075. <br>least 2'b01.</br>
  31076. </comment>
  31077. </bits>
  31078. <bits access="rw" name="devaddr" pos="28:22" rst="0">
  31079. <comment>
  31080. <br>Device Address (DevAddr)</br>
  31081. <br/>
  31082. <br>This field selects the specific device serving as the data source</br>
  31083. <br>or sink.</br>
  31084. </comment>
  31085. </bits>
  31086. <bits access="rw" name="oddfrm" pos="29" rst="0">
  31087. <comment>
  31088. <br>Odd Frame (OddFrm)</br>
  31089. <br/>
  31090. <br>This field is set (reset) by the application to indicate that the OTG host must perform </br>
  31091. <br>a transfer in an odd (micro)Frame. This field is applicable for only periodic </br>
  31092. <br>(isochronous and interrupt) transactions.</br>
  31093. <br> - 1'b0: Even (micro)Frame</br>
  31094. <br> - 1'b1: Odd (micro)Frame</br>
  31095. <br/>
  31096. </comment>
  31097. </bits>
  31098. <bits access="rw" name="chdis" pos="30" rst="0">
  31099. <comment>
  31100. <br>Channel Disable (ChDis)</br>
  31101. <br/>
  31102. <br>The application sets this bit to stop transmitting/receiving data</br>
  31103. <br>on a channel, even before the transfer for that channel is</br>
  31104. <br>complete. The application must wait for the Channel Disabled</br>
  31105. <br>interrupt before treating the channel as disabled.</br>
  31106. </comment>
  31107. </bits>
  31108. <bits access="rw" name="chena" pos="31" rst="0">
  31109. <comment>
  31110. <br>Channel Enable (ChEna)</br>
  31111. <br/>
  31112. <br>When Scatter/Gather mode is enabled </br>
  31113. <br> - 1'b0: Indicates that the descriptor structure is not yet ready. </br>
  31114. <br> - 1'b1: Indicates that the descriptor structure and data buffer with data is setup and this channel can access the descriptor. </br>
  31115. <br>When Scatter/Gather mode is disabled </br>
  31116. <br/>
  31117. <br> This field is set by the application and cleared by the OTG host. </br>
  31118. <br> - 1'b0: Channel disabled </br>
  31119. <br> - 1'b1: Channel enabled</br>
  31120. </comment>
  31121. </bits>
  31122. </reg>
  31123. <reg name="hcsplt14" protect="rw">
  31124. <comment>Host Channel 14 Split Control Register</comment>
  31125. <bits access="rw" name="prtaddr" pos="6:0" rst="0">
  31126. <comment>
  31127. <br>Port Address (PrtAddr)</br>
  31128. <br/>
  31129. <br>This field is the port number of the recipient transaction translator.</br>
  31130. </comment>
  31131. </bits>
  31132. <bits access="rw" name="hubaddr" pos="13:7" rst="0">
  31133. <comment>
  31134. <br>Hub Address (HubAddr)</br>
  31135. <br/>
  31136. <br>This field holds the device address of the transaction translator's hub.</br>
  31137. </comment>
  31138. </bits>
  31139. <bits access="rw" name="xactpos" pos="15:14" rst="0">
  31140. <comment>
  31141. <br>Transaction Position (XactPos)</br>
  31142. <br/>
  31143. <br>This field is used to determine whether to send all, first, middle, or last payloads with each OUT transaction.</br>
  31144. <br> - 2'b11: All. This is the entire data payload is of this transaction (which is less than or equal to 188 bytes).</br>
  31145. <br> - 2'b10: Begin. This is the first data payload of this transaction (which is larger than 188 bytes).</br>
  31146. <br> - 2'b00: Mid. This is the middle payload of this transaction (which is larger than 188 bytes).</br>
  31147. <br> - 2'b01: End. This is the last payload of this transaction (which is larger than 188 bytes).</br>
  31148. </comment>
  31149. </bits>
  31150. <bits access="rw" name="compsplt" pos="16" rst="0">
  31151. <comment>
  31152. <br>Do Complete Split (CompSplt)</br>
  31153. <br/>
  31154. <br>The application sets this field to request the OTG host to perform a complete split transaction.</br>
  31155. </comment>
  31156. </bits>
  31157. <bits access="rw" name="spltena" pos="31" rst="0">
  31158. <comment>
  31159. <br>Split Enable (SpltEna)</br>
  31160. <br/>
  31161. <br>The application sets this field to indicate that this channel is enabled to perform split transactions.</br>
  31162. </comment>
  31163. </bits>
  31164. </reg>
  31165. <reg name="hcint14" protect="rw">
  31166. <comment>&quot;Host Channel $i Interrupt Register&quot;
  31167. This register indicates the status of a channel with respect to USB- and AHB-related events. It is shown in the &quot;Interrupt Hierarchy&quot; figure in the databook. The application must read this register when the Host Channels Interrupt bit of the Core Interrupt register (GINTSTS.HChInt) is set. Before the application can read this register, it must first read the Host All Channels Interrupt (HAINT) register to get the exact channel number for the Host Channel-n Interrupt register. The application must clear the appropriate bit in this register to clear the corresponding bits in the HAINT and GINTSTS registers.</comment>
  31168. <bits access="rw" name="xfercompl" pos="0" rst="0">
  31169. <comment>
  31170. <br>Transfer Completed (XferCompl)</br>
  31171. <br/>
  31172. <br>Transfer completed normally without any errors.This bit can be set only by the core and the application should write 1 to clear it.</br>
  31173. <br> - For Scatter/Gather DMA mode, it indicates that current descriptor processing got completed with IOC bit set in its descriptor.</br>
  31174. <br> - In non Scatter/Gather DMA mode, it indicates that Transfer completed normally without any errors.</br>
  31175. <br/>
  31176. </comment>
  31177. </bits>
  31178. <bits access="rw" name="chhltd" pos="1" rst="0">
  31179. <comment>
  31180. <br>Channel Halted (ChHltd)</br>
  31181. <br/>
  31182. <br>In non Scatter/Gather DMA mode, it indicates the transfer completed abnormally either because of any USB transaction error or in response to disable request by the application or because of a completed transfer.</br>
  31183. <br/>
  31184. <br>In Scatter/gather DMA mode, this indicates that transfer completed due to any of the following</br>
  31185. <br> - EOL being set in descriptor</br>
  31186. <br> - AHB error</br>
  31187. <br> - Excessive transaction errors</br>
  31188. <br> - Babble</br>
  31189. <br> - Stall</br>
  31190. <br/>
  31191. </comment>
  31192. </bits>
  31193. <bits access="rw" name="ahberr" pos="2" rst="0">
  31194. <comment>
  31195. <br>AHB Error (AHBErr)</br>
  31196. <br/>
  31197. <br>This is generated only in Internal DMA mode when there is an AHB error during AHB read/write. The application can read the corresponding channel's DMA address register to get the error address.</br>
  31198. </comment>
  31199. </bits>
  31200. <bits access="rw" name="stall" pos="3" rst="0">
  31201. <comment>
  31202. <br>STALL Response Received Interrupt (STALL)</br>
  31203. <br/>
  31204. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  31205. </comment>
  31206. </bits>
  31207. <bits access="rw" name="nak" pos="4" rst="0">
  31208. <comment>
  31209. <br>NAK Response Received Interrupt (NAK)</br>
  31210. <br/>
  31211. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  31212. </comment>
  31213. </bits>
  31214. <bits access="rw" name="ack" pos="5" rst="0">
  31215. <comment>
  31216. <br>ACK Response Received/Transmitted Interrupt (ACK)</br>
  31217. <br/>
  31218. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  31219. </comment>
  31220. </bits>
  31221. <bits access="rw" name="nyet" pos="6" rst="0">
  31222. <comment>
  31223. <br>NYET Response Received Interrupt (NYET)</br>
  31224. <br/>
  31225. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  31226. </comment>
  31227. </bits>
  31228. <bits access="rw" name="xacterr" pos="7" rst="0">
  31229. <comment>
  31230. <br>Transaction Error (XactErr)</br>
  31231. <br/>
  31232. <br>Indicates one of the following errors occurred on the USB.</br>
  31233. <br> - CRC check failure</br>
  31234. <br> - Timeout</br>
  31235. <br> - Bit stuff error</br>
  31236. <br> - False EOP</br>
  31237. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  31238. </comment>
  31239. </bits>
  31240. <bits access="rw" name="bblerr" pos="8" rst="0">
  31241. <comment>
  31242. <br>Babble Error (BblErr)</br>
  31243. <br/>
  31244. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core. This bit can be set only by the core and the application should write 1 to clear it.</br>
  31245. </comment>
  31246. </bits>
  31247. <bits access="rw" name="frmovrun" pos="9" rst="0">
  31248. <comment>
  31249. <br>Frame Overrun (FrmOvrun).</br>
  31250. <br/>
  31251. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked </br>
  31252. <br>in the core. This bit can be set only by the core and the application should write 1 to clear</br>
  31253. <br>it.</br>
  31254. </comment>
  31255. </bits>
  31256. <bits access="rw" name="datatglerr" pos="10" rst="0">
  31257. <comment>
  31258. <br/>
  31259. <br>Data Toggle Error (DataTglErr).This bit can be set only by the core and the application should write 1 to clear</br>
  31260. <br>it.In Scatter/Gather DMA mode, the interrupt due to this bit is masked </br>
  31261. <br>in the core.</br>
  31262. </comment>
  31263. </bits>
  31264. <bits access="rw" name="bnaintr" pos="11" rst="0">
  31265. <comment>
  31266. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  31267. <br/>
  31268. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. </br>
  31269. <br>The core generates this interrupt when the descriptor accessed </br>
  31270. <br>is not ready for the Core to process. BNA will not be generated </br>
  31271. <br>for Isochronous channels.</br>
  31272. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  31273. </comment>
  31274. </bits>
  31275. <bits access="rw" name="xcs_xact_err" pos="12" rst="0">
  31276. <comment>
  31277. <br>Excessive Transaction Error (XCS_XACT_ERR)</br>
  31278. <br/>
  31279. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. The core sets this bit </br>
  31280. <br>when 3 consecutive transaction errors occurred on the USB bus. XCS_XACT_ERR will </br>
  31281. <br>not be generated for Isochronous channels.</br>
  31282. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  31283. </comment>
  31284. </bits>
  31285. <bits access="rw" name="desc_lst_rollintr" pos="13" rst="0">
  31286. <comment>
  31287. <br>Descriptor rollover interrupt (DESC_LST_ROLLIntr)</br>
  31288. <br/>
  31289. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. The core sets this bit </br>
  31290. <br>when the corresponding channel's descriptor list rolls over.</br>
  31291. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  31292. </comment>
  31293. </bits>
  31294. </reg>
  31295. <reg name="hcintmsk14" protect="rw">
  31296. <comment>&quot;Host Channel $i Interrupt Mask Register&quot;
  31297. This register reflects the mask for each channel status described in the previous section.</comment>
  31298. <bits access="rw" name="xfercomplmsk" pos="0" rst="0">
  31299. <comment>
  31300. <br/>
  31301. <br>Transfer Completed Mask (XferComplMsk)</br>
  31302. </comment>
  31303. </bits>
  31304. <bits access="rw" name="chhltdmsk" pos="1" rst="0">
  31305. <comment>
  31306. <br/>
  31307. <br>Channel Halted Mask (ChHltdMsk)</br>
  31308. </comment>
  31309. </bits>
  31310. <bits access="rw" name="ahberrmsk" pos="2" rst="0">
  31311. <comment>
  31312. <br/>
  31313. <br>AHB Error Mask (AHBErrMsk)</br>
  31314. <br>In scatter/gather DMA mode for host, </br>
  31315. <br>interrupts will not be generated due to the corresponding bits set in </br>
  31316. <br>HCINTn.</br>
  31317. </comment>
  31318. </bits>
  31319. <bits access="rw" name="bnaintrmsk" pos="11" rst="0">
  31320. <comment>
  31321. <br/>
  31322. <br>BNA (Buffer Not Available) Interrupt mask register (BNAIntrMsk) </br>
  31323. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  31324. </comment>
  31325. </bits>
  31326. <bits access="rw" name="desc_lst_rollintrmsk" pos="13" rst="0">
  31327. <comment>
  31328. <br/>
  31329. <br>Descriptor List rollover interrupt Mask register(DESC_LST_ROLLIntrMsk)</br>
  31330. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  31331. </comment>
  31332. </bits>
  31333. </reg>
  31334. <reg name="hctsiz14" protect="rw">
  31335. <comment>Host Channel 14 Transfer Size Register</comment>
  31336. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  31337. <comment>
  31338. <br>Transfer Size (XferSize)</br>
  31339. <br/>
  31340. <br>For an OUT, this field is the number of data bytes the host sends during the transfer.</br>
  31341. <br/>
  31342. <br>For an IN, this field is the buffer size that the application has Reserved for the transfer. The application is expected to program this field as an integer multiple of the maximum packet size for IN transactions (periodic and non-periodic).</br>
  31343. <br/>
  31344. <br>The width of this counter is specified as Width of Transfer Size Counters during coreConsultant configuration (parameter OTG_TRANS_COUNT_WIDTH).</br>
  31345. </comment>
  31346. </bits>
  31347. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  31348. <comment>
  31349. <br>Packet Count (PktCnt)</br>
  31350. <br/>
  31351. <br>This field is programmed by the application with the expected number of packets to be transmitted (OUT) or received (IN).</br>
  31352. <br/>
  31353. <br>The host decrements this count on every successful transmission or reception of an OUT/IN packet. Once this count reaches zero, the application is interrupted to indicate normal completion.</br>
  31354. <br/>
  31355. <br>The width of this counter is specified as Width of Packet Counters during coreConsultant configuration (parameter OTG_PACKET_COUNT_WIDTH).</br>
  31356. </comment>
  31357. </bits>
  31358. <bits access="rw" name="pid" pos="30:29" rst="0">
  31359. <comment>
  31360. <br>PID (Pid)</br>
  31361. <br/>
  31362. <br>The application programs this field with the type of PID to use for the initial transaction. The host maintains this field for the rest of the transfer.</br>
  31363. <br> - 2'b00: DATA0</br>
  31364. <br> - 2'b01: DATA2</br>
  31365. <br> - 2'b10: DATA1</br>
  31366. <br> - 2'b11: MDATA (non-control)/SETUP (control)</br>
  31367. </comment>
  31368. </bits>
  31369. <bits access="rw" name="dopng" pos="31" rst="0">
  31370. <comment>
  31371. <br>Do Ping (DoPng)</br>
  31372. <br/>
  31373. <br>This bit is used only for OUT transfers.</br>
  31374. <br>Setting this field to 1 directs the host to do PING protocol.</br>
  31375. <br/>
  31376. <br>Note: Do not set this bit for IN transfers. If this bit is set for for IN transfers it disables the channel.</br>
  31377. </comment>
  31378. </bits>
  31379. </reg>
  31380. <reg name="hcdma14" protect="rw">
  31381. <comment>&quot;Host Channel $i DMA Address Register&quot;
  31382. This register is used by the OTG host in the internal DMA mode to maintain the current buffer pointer for IN/OUT transactions. The starting DMA address must be DWORD-aligned.</comment>
  31383. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  31384. <comment>
  31385. <br>In Buffer DMA Mode:</br>
  31386. <br/>
  31387. <br>[31:0]: DMA Address (DMAAddr)</br>
  31388. <br/>
  31389. <br>This field holds the start address in the external memory from which the data for the endpoint must be fetched or to which it must be stored. This register is incremented on every AHB transaction.</br>
  31390. <br/>
  31391. <br>Reset: X if not programmed as the register is in SPRAM.</br>
  31392. <br/>
  31393. <br>In Scatter-Gather DMA (DescDMA) Mode for Non-Isochronous:</br>
  31394. <br/>
  31395. <br>[31:9]: DMA Address (DMAAddr)</br>
  31396. <br/>
  31397. <br>The start address must be 512-bytes aligned.</br>
  31398. <br/>
  31399. <br>This field holds the start address of the 512 bytes page. The first descriptor in the list should be located in this address. The first descriptor may be or may not be ready. The core starts processing the list from the CTD value. </br>
  31400. <br/>
  31401. <br>[8:3]: Current Transfer Desc(CTD)</br>
  31402. <br/>
  31403. <br>This value is in terms of number of descriptors. The values can be from 0 to 63. </br>
  31404. <br> - 0 - 1 descriptor. </br>
  31405. <br> - 63 - 64 descriptors. </br>
  31406. <br>This field indicates the current descriptor processed in the list. This field is updated both by application and the core. For example, if the application enables the channel after programming CTD=5, then the core will start processing the sixth descriptor. The address is obtained by adding a value of (8bytes*5=) 40(decimal) to DMAAddr.</br>
  31407. <br/>
  31408. <br>Reset: 6'h0</br>
  31409. <br/>
  31410. <br>[2:0]: Reserved</br>
  31411. <br/>
  31412. <br>In Scatter-Gather DMA (DescDMA) Mode for Isochronous:</br>
  31413. <br/>
  31414. <br>[31:N]: DMA Address (DMAAddr)</br>
  31415. <br/>
  31416. <br>The start address must be 512-bytes aligned.</br>
  31417. <br/>
  31418. <br>This field holds the address of the 2*(nTD+1) bytes of locations in which the isochronous descriptors are present where N is based on nTD as follows:</br>
  31419. <br> - [31:N]: Base Address</br>
  31420. <br> - [N-1:3]: Offset</br>
  31421. <br> - [2:0]: 000</br>
  31422. <br>For HS ISOC, if nTD is,</br>
  31423. <br> - 7, N=6</br>
  31424. <br> - 15, N=7</br>
  31425. <br> - 31, N=8</br>
  31426. <br> - 63, N=9</br>
  31427. <br> - 127, N=10</br>
  31428. <br> - 255, N=11</br>
  31429. <br>For FS ISOC, if nTD is, </br>
  31430. <br> - 1, N=4</br>
  31431. <br> - 3, N=5</br>
  31432. <br> - 7, N=6</br>
  31433. <br> - 15, N=7</br>
  31434. <br> - 31, N=8</br>
  31435. <br> - 63, N=9</br>
  31436. <br>[N-1:3]: Current Transfer Desc(CTD)</br>
  31437. <br/>
  31438. <br>CTD for isochronous is based on the current frame/(micro)frame value. Need to be set to zero by application.</br>
  31439. <br/>
  31440. <br>Reset: (N+1:3)'h0</br>
  31441. <br/>
  31442. <br>[2:0]: Reserved</br>
  31443. </comment>
  31444. </bits>
  31445. </reg>
  31446. <hole size="32"/>
  31447. <reg name="hcdmab14" protect="r">
  31448. <comment>&quot;Host Channel $i DMA Buffer Address Register&quot;
  31449. This register is present only in case of Scatter/Gather DMA. It is implemented in RAM instead of flop-based implementation. This register holds the current buffer address.</comment>
  31450. <bits access="r" name="hcdmab" pos="31:0" rst="0">
  31451. <comment>
  31452. <br>Holds the current buffer address.</br>
  31453. <br>This register is updated as and when the data transfer for the corresponding end point </br>
  31454. <br>is in progress. This register is present only in Scatter/Gather DMA mode. Otherwise this </br>
  31455. <br>field is reserved.</br>
  31456. </comment>
  31457. </bits>
  31458. </reg>
  31459. <reg name="hcchar15" protect="rw">
  31460. <comment>Host Channel 15 Characteristics Register</comment>
  31461. <bits access="rw" name="mps" pos="10:0" rst="0">
  31462. <comment>
  31463. <br>Maximum Packet Size (MPS)</br>
  31464. <br/>
  31465. <br>Indicates the maximum packet size of the associated endpoint.</br>
  31466. </comment>
  31467. </bits>
  31468. <bits access="rw" name="epnum" pos="14:11" rst="0">
  31469. <comment>
  31470. <br>Endpoint Number (EPNum)</br>
  31471. <br/>
  31472. <br>Indicates the endpoint number on the device serving as the data source or sink.</br>
  31473. </comment>
  31474. </bits>
  31475. <bits access="rw" name="epdir" pos="15" rst="0">
  31476. <comment>
  31477. <br>Endpoint Direction (EPDir)</br>
  31478. <br/>
  31479. <br>Indicates whether the transaction is IN or OUT.</br>
  31480. <br> - 1'b0: OUT</br>
  31481. <br> - 1'b1: IN</br>
  31482. </comment>
  31483. </bits>
  31484. <bits access="rw" name="lspddev" pos="17" rst="0">
  31485. <comment>
  31486. <br>Low-Speed Device (LSpdDev)</br>
  31487. <br/>
  31488. <br>This field is Set by the application to indicate that this channel is communicating to a low-speed device.</br>
  31489. <br/>
  31490. <br>The application must program this bit when a low speed device is connected to the host through an FS HUB. The DWC_otg Host core uses this field to drive the XCVR_SELECT signal to 2'b11 while communicating to the LS Device through the FS hub.</br>
  31491. <br/>
  31492. <br>Note: In a peer to peer setup, the DWC_otg Host core ignores this bit even if it is set by the application software.</br>
  31493. </comment>
  31494. </bits>
  31495. <bits access="rw" name="eptype" pos="19:18" rst="0">
  31496. <comment>
  31497. <br>Endpoint Type (EPType)</br>
  31498. <br/>
  31499. <br>Indicates the transfer type selected.</br>
  31500. <br> - 2'b00: Control</br>
  31501. <br> - 2'b01: Isochronous</br>
  31502. <br> - 2'b10: Bulk</br>
  31503. <br> - 2'b11: Interrupt</br>
  31504. </comment>
  31505. </bits>
  31506. <bits access="rw" name="ec" pos="21:20" rst="0">
  31507. <comment>
  31508. <br>Multi Count (MC) / Error Count (EC)</br>
  31509. <br/>
  31510. <br>When the Split Enable bit of the Host Channel-n Split Control</br>
  31511. <br>register (HCSPLTn.SpltEna) is reset (1'b0), this field indicates to</br>
  31512. <br>the host the number of transactions that must be executed per</br>
  31513. <br>microframe for this periodic endpoint. For non periodic transfers,</br>
  31514. <br>this field is used only in DMA mode, and specifies the number</br>
  31515. <br>packets to be fetched for this channel before the internal DMA</br>
  31516. <br>engine changes arbitration.</br>
  31517. <br> - 2'b00: Reserved This field yields undefined results.</br>
  31518. <br> - 2'b01: 1 transaction</br>
  31519. <br> - 2'b10: 2 transactions to be issued for this endpoint per microframe</br>
  31520. <br> - 2'b11: 3 transactions to be issued for this endpoint per microframe</br>
  31521. <br>When HCSPLTn.SpltEna is Set (1'b1), this field indicates the</br>
  31522. <br>number of immediate retries to be performed for a periodic split</br>
  31523. <br>transactions on transaction errors. This field must be Set to at</br>
  31524. <br>least 2'b01.</br>
  31525. </comment>
  31526. </bits>
  31527. <bits access="rw" name="devaddr" pos="28:22" rst="0">
  31528. <comment>
  31529. <br>Device Address (DevAddr)</br>
  31530. <br/>
  31531. <br>This field selects the specific device serving as the data source</br>
  31532. <br>or sink.</br>
  31533. </comment>
  31534. </bits>
  31535. <bits access="rw" name="oddfrm" pos="29" rst="0">
  31536. <comment>
  31537. <br>Odd Frame (OddFrm)</br>
  31538. <br/>
  31539. <br>This field is set (reset) by the application to indicate that the OTG host must perform </br>
  31540. <br>a transfer in an odd (micro)Frame. This field is applicable for only periodic </br>
  31541. <br>(isochronous and interrupt) transactions.</br>
  31542. <br> - 1'b0: Even (micro)Frame</br>
  31543. <br> - 1'b1: Odd (micro)Frame</br>
  31544. <br/>
  31545. </comment>
  31546. </bits>
  31547. <bits access="rw" name="chdis" pos="30" rst="0">
  31548. <comment>
  31549. <br>Channel Disable (ChDis)</br>
  31550. <br/>
  31551. <br>The application sets this bit to stop transmitting/receiving data</br>
  31552. <br>on a channel, even before the transfer for that channel is</br>
  31553. <br>complete. The application must wait for the Channel Disabled</br>
  31554. <br>interrupt before treating the channel as disabled.</br>
  31555. </comment>
  31556. </bits>
  31557. <bits access="rw" name="chena" pos="31" rst="0">
  31558. <comment>
  31559. <br>Channel Enable (ChEna)</br>
  31560. <br/>
  31561. <br>When Scatter/Gather mode is enabled </br>
  31562. <br> - 1'b0: Indicates that the descriptor structure is not yet ready. </br>
  31563. <br> - 1'b1: Indicates that the descriptor structure and data buffer with data is setup and this channel can access the descriptor. </br>
  31564. <br>When Scatter/Gather mode is disabled </br>
  31565. <br/>
  31566. <br> This field is set by the application and cleared by the OTG host. </br>
  31567. <br> - 1'b0: Channel disabled </br>
  31568. <br> - 1'b1: Channel enabled</br>
  31569. </comment>
  31570. </bits>
  31571. </reg>
  31572. <reg name="hcsplt15" protect="rw">
  31573. <comment>Host Channel 15 Split Control Register</comment>
  31574. <bits access="rw" name="prtaddr" pos="6:0" rst="0">
  31575. <comment>
  31576. <br>Port Address (PrtAddr)</br>
  31577. <br/>
  31578. <br>This field is the port number of the recipient transaction translator.</br>
  31579. </comment>
  31580. </bits>
  31581. <bits access="rw" name="hubaddr" pos="13:7" rst="0">
  31582. <comment>
  31583. <br>Hub Address (HubAddr)</br>
  31584. <br/>
  31585. <br>This field holds the device address of the transaction translator's hub.</br>
  31586. </comment>
  31587. </bits>
  31588. <bits access="rw" name="xactpos" pos="15:14" rst="0">
  31589. <comment>
  31590. <br>Transaction Position (XactPos)</br>
  31591. <br/>
  31592. <br>This field is used to determine whether to send all, first, middle, or last payloads with each OUT transaction.</br>
  31593. <br> - 2'b11: All. This is the entire data payload is of this transaction (which is less than or equal to 188 bytes).</br>
  31594. <br> - 2'b10: Begin. This is the first data payload of this transaction (which is larger than 188 bytes).</br>
  31595. <br> - 2'b00: Mid. This is the middle payload of this transaction (which is larger than 188 bytes).</br>
  31596. <br> - 2'b01: End. This is the last payload of this transaction (which is larger than 188 bytes).</br>
  31597. </comment>
  31598. </bits>
  31599. <bits access="rw" name="compsplt" pos="16" rst="0">
  31600. <comment>
  31601. <br>Do Complete Split (CompSplt)</br>
  31602. <br/>
  31603. <br>The application sets this field to request the OTG host to perform a complete split transaction.</br>
  31604. </comment>
  31605. </bits>
  31606. <bits access="rw" name="spltena" pos="31" rst="0">
  31607. <comment>
  31608. <br>Split Enable (SpltEna)</br>
  31609. <br/>
  31610. <br>The application sets this field to indicate that this channel is enabled to perform split transactions.</br>
  31611. </comment>
  31612. </bits>
  31613. </reg>
  31614. <reg name="hcint15" protect="rw">
  31615. <comment>&quot;Host Channel $i Interrupt Register&quot;
  31616. This register indicates the status of a channel with respect to USB- and AHB-related events. It is shown in the &quot;Interrupt Hierarchy&quot; figure in the databook. The application must read this register when the Host Channels Interrupt bit of the Core Interrupt register (GINTSTS.HChInt) is set. Before the application can read this register, it must first read the Host All Channels Interrupt (HAINT) register to get the exact channel number for the Host Channel-n Interrupt register. The application must clear the appropriate bit in this register to clear the corresponding bits in the HAINT and GINTSTS registers.</comment>
  31617. <bits access="rw" name="xfercompl" pos="0" rst="0">
  31618. <comment>
  31619. <br>Transfer Completed (XferCompl)</br>
  31620. <br/>
  31621. <br>Transfer completed normally without any errors.This bit can be set only by the core and the application should write 1 to clear it.</br>
  31622. <br> - For Scatter/Gather DMA mode, it indicates that current descriptor processing got completed with IOC bit set in its descriptor.</br>
  31623. <br> - In non Scatter/Gather DMA mode, it indicates that Transfer completed normally without any errors.</br>
  31624. <br/>
  31625. </comment>
  31626. </bits>
  31627. <bits access="rw" name="chhltd" pos="1" rst="0">
  31628. <comment>
  31629. <br>Channel Halted (ChHltd)</br>
  31630. <br/>
  31631. <br>In non Scatter/Gather DMA mode, it indicates the transfer completed abnormally either because of any USB transaction error or in response to disable request by the application or because of a completed transfer.</br>
  31632. <br/>
  31633. <br>In Scatter/gather DMA mode, this indicates that transfer completed due to any of the following</br>
  31634. <br> - EOL being set in descriptor</br>
  31635. <br> - AHB error</br>
  31636. <br> - Excessive transaction errors</br>
  31637. <br> - Babble</br>
  31638. <br> - Stall</br>
  31639. <br/>
  31640. </comment>
  31641. </bits>
  31642. <bits access="rw" name="ahberr" pos="2" rst="0">
  31643. <comment>
  31644. <br>AHB Error (AHBErr)</br>
  31645. <br/>
  31646. <br>This is generated only in Internal DMA mode when there is an AHB error during AHB read/write. The application can read the corresponding channel's DMA address register to get the error address.</br>
  31647. </comment>
  31648. </bits>
  31649. <bits access="rw" name="stall" pos="3" rst="0">
  31650. <comment>
  31651. <br>STALL Response Received Interrupt (STALL)</br>
  31652. <br/>
  31653. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  31654. </comment>
  31655. </bits>
  31656. <bits access="rw" name="nak" pos="4" rst="0">
  31657. <comment>
  31658. <br>NAK Response Received Interrupt (NAK)</br>
  31659. <br/>
  31660. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  31661. </comment>
  31662. </bits>
  31663. <bits access="rw" name="ack" pos="5" rst="0">
  31664. <comment>
  31665. <br>ACK Response Received/Transmitted Interrupt (ACK)</br>
  31666. <br/>
  31667. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  31668. </comment>
  31669. </bits>
  31670. <bits access="rw" name="nyet" pos="6" rst="0">
  31671. <comment>
  31672. <br>NYET Response Received Interrupt (NYET)</br>
  31673. <br/>
  31674. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  31675. </comment>
  31676. </bits>
  31677. <bits access="rw" name="xacterr" pos="7" rst="0">
  31678. <comment>
  31679. <br>Transaction Error (XactErr)</br>
  31680. <br/>
  31681. <br>Indicates one of the following errors occurred on the USB.</br>
  31682. <br> - CRC check failure</br>
  31683. <br> - Timeout</br>
  31684. <br> - Bit stuff error</br>
  31685. <br> - False EOP</br>
  31686. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core.This bit can be set only by the core and the application should write 1 to clear it.</br>
  31687. </comment>
  31688. </bits>
  31689. <bits access="rw" name="bblerr" pos="8" rst="0">
  31690. <comment>
  31691. <br>Babble Error (BblErr)</br>
  31692. <br/>
  31693. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked in the core. This bit can be set only by the core and the application should write 1 to clear it.</br>
  31694. </comment>
  31695. </bits>
  31696. <bits access="rw" name="frmovrun" pos="9" rst="0">
  31697. <comment>
  31698. <br>Frame Overrun (FrmOvrun).</br>
  31699. <br/>
  31700. <br>In Scatter/Gather DMA mode, the interrupt due to this bit is masked </br>
  31701. <br>in the core. This bit can be set only by the core and the application should write 1 to clear</br>
  31702. <br>it.</br>
  31703. </comment>
  31704. </bits>
  31705. <bits access="rw" name="datatglerr" pos="10" rst="0">
  31706. <comment>
  31707. <br/>
  31708. <br>Data Toggle Error (DataTglErr).This bit can be set only by the core and the application should write 1 to clear</br>
  31709. <br>it.In Scatter/Gather DMA mode, the interrupt due to this bit is masked </br>
  31710. <br>in the core.</br>
  31711. </comment>
  31712. </bits>
  31713. <bits access="rw" name="bnaintr" pos="11" rst="0">
  31714. <comment>
  31715. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  31716. <br/>
  31717. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. </br>
  31718. <br>The core generates this interrupt when the descriptor accessed </br>
  31719. <br>is not ready for the Core to process. BNA will not be generated </br>
  31720. <br>for Isochronous channels.</br>
  31721. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  31722. </comment>
  31723. </bits>
  31724. <bits access="rw" name="xcs_xact_err" pos="12" rst="0">
  31725. <comment>
  31726. <br>Excessive Transaction Error (XCS_XACT_ERR)</br>
  31727. <br/>
  31728. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. The core sets this bit </br>
  31729. <br>when 3 consecutive transaction errors occurred on the USB bus. XCS_XACT_ERR will </br>
  31730. <br>not be generated for Isochronous channels.</br>
  31731. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  31732. </comment>
  31733. </bits>
  31734. <bits access="rw" name="desc_lst_rollintr" pos="13" rst="0">
  31735. <comment>
  31736. <br>Descriptor rollover interrupt (DESC_LST_ROLLIntr)</br>
  31737. <br/>
  31738. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. The core sets this bit </br>
  31739. <br>when the corresponding channel's descriptor list rolls over.</br>
  31740. <br>For non Scatter/Gather DMA mode, this bit is reserved.</br>
  31741. </comment>
  31742. </bits>
  31743. </reg>
  31744. <reg name="hcintmsk15" protect="rw">
  31745. <comment>&quot;Host Channel $i Interrupt Mask Register&quot;
  31746. This register reflects the mask for each channel status described in the previous section.</comment>
  31747. <bits access="rw" name="xfercomplmsk" pos="0" rst="0">
  31748. <comment>
  31749. <br/>
  31750. <br>Transfer Completed Mask (XferComplMsk)</br>
  31751. </comment>
  31752. </bits>
  31753. <bits access="rw" name="chhltdmsk" pos="1" rst="0">
  31754. <comment>
  31755. <br/>
  31756. <br>Channel Halted Mask (ChHltdMsk)</br>
  31757. </comment>
  31758. </bits>
  31759. <bits access="rw" name="ahberrmsk" pos="2" rst="0">
  31760. <comment>
  31761. <br/>
  31762. <br>AHB Error Mask (AHBErrMsk)</br>
  31763. <br>In scatter/gather DMA mode for host, </br>
  31764. <br>interrupts will not be generated due to the corresponding bits set in </br>
  31765. <br>HCINTn.</br>
  31766. </comment>
  31767. </bits>
  31768. <bits access="rw" name="bnaintrmsk" pos="11" rst="0">
  31769. <comment>
  31770. <br/>
  31771. <br>BNA (Buffer Not Available) Interrupt mask register (BNAIntrMsk) </br>
  31772. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  31773. </comment>
  31774. </bits>
  31775. <bits access="rw" name="desc_lst_rollintrmsk" pos="13" rst="0">
  31776. <comment>
  31777. <br/>
  31778. <br>Descriptor List rollover interrupt Mask register(DESC_LST_ROLLIntrMsk)</br>
  31779. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  31780. </comment>
  31781. </bits>
  31782. </reg>
  31783. <reg name="hctsiz15" protect="rw">
  31784. <comment>Host Channel 15 Transfer Size Register</comment>
  31785. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  31786. <comment>
  31787. <br>Transfer Size (XferSize)</br>
  31788. <br/>
  31789. <br>For an OUT, this field is the number of data bytes the host sends during the transfer.</br>
  31790. <br/>
  31791. <br>For an IN, this field is the buffer size that the application has Reserved for the transfer. The application is expected to program this field as an integer multiple of the maximum packet size for IN transactions (periodic and non-periodic).</br>
  31792. <br/>
  31793. <br>The width of this counter is specified as Width of Transfer Size Counters during coreConsultant configuration (parameter OTG_TRANS_COUNT_WIDTH).</br>
  31794. </comment>
  31795. </bits>
  31796. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  31797. <comment>
  31798. <br>Packet Count (PktCnt)</br>
  31799. <br/>
  31800. <br>This field is programmed by the application with the expected number of packets to be transmitted (OUT) or received (IN).</br>
  31801. <br/>
  31802. <br>The host decrements this count on every successful transmission or reception of an OUT/IN packet. Once this count reaches zero, the application is interrupted to indicate normal completion.</br>
  31803. <br/>
  31804. <br>The width of this counter is specified as Width of Packet Counters during coreConsultant configuration (parameter OTG_PACKET_COUNT_WIDTH).</br>
  31805. </comment>
  31806. </bits>
  31807. <bits access="rw" name="pid" pos="30:29" rst="0">
  31808. <comment>
  31809. <br>PID (Pid)</br>
  31810. <br/>
  31811. <br>The application programs this field with the type of PID to use for the initial transaction. The host maintains this field for the rest of the transfer.</br>
  31812. <br> - 2'b00: DATA0</br>
  31813. <br> - 2'b01: DATA2</br>
  31814. <br> - 2'b10: DATA1</br>
  31815. <br> - 2'b11: MDATA (non-control)/SETUP (control)</br>
  31816. </comment>
  31817. </bits>
  31818. <bits access="rw" name="dopng" pos="31" rst="0">
  31819. <comment>
  31820. <br>Do Ping (DoPng)</br>
  31821. <br/>
  31822. <br>This bit is used only for OUT transfers.</br>
  31823. <br>Setting this field to 1 directs the host to do PING protocol.</br>
  31824. <br/>
  31825. <br>Note: Do not set this bit for IN transfers. If this bit is set for for IN transfers it disables the channel.</br>
  31826. </comment>
  31827. </bits>
  31828. </reg>
  31829. <reg name="hcdma15" protect="rw">
  31830. <comment>&quot;Host Channel $i DMA Address Register&quot;
  31831. This register is used by the OTG host in the internal DMA mode to maintain the current buffer pointer for IN/OUT transactions. The starting DMA address must be DWORD-aligned.</comment>
  31832. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  31833. <comment>
  31834. <br>In Buffer DMA Mode:</br>
  31835. <br/>
  31836. <br>[31:0]: DMA Address (DMAAddr)</br>
  31837. <br/>
  31838. <br>This field holds the start address in the external memory from which the data for the endpoint must be fetched or to which it must be stored. This register is incremented on every AHB transaction.</br>
  31839. <br/>
  31840. <br>Reset: X if not programmed as the register is in SPRAM.</br>
  31841. <br/>
  31842. <br>In Scatter-Gather DMA (DescDMA) Mode for Non-Isochronous:</br>
  31843. <br/>
  31844. <br>[31:9]: DMA Address (DMAAddr)</br>
  31845. <br/>
  31846. <br>The start address must be 512-bytes aligned.</br>
  31847. <br/>
  31848. <br>This field holds the start address of the 512 bytes page. The first descriptor in the list should be located in this address. The first descriptor may be or may not be ready. The core starts processing the list from the CTD value. </br>
  31849. <br/>
  31850. <br>[8:3]: Current Transfer Desc(CTD)</br>
  31851. <br/>
  31852. <br>This value is in terms of number of descriptors. The values can be from 0 to 63. </br>
  31853. <br> - 0 - 1 descriptor. </br>
  31854. <br> - 63 - 64 descriptors. </br>
  31855. <br>This field indicates the current descriptor processed in the list. This field is updated both by application and the core. For example, if the application enables the channel after programming CTD=5, then the core will start processing the sixth descriptor. The address is obtained by adding a value of (8bytes*5=) 40(decimal) to DMAAddr.</br>
  31856. <br/>
  31857. <br>Reset: 6'h0</br>
  31858. <br/>
  31859. <br>[2:0]: Reserved</br>
  31860. <br/>
  31861. <br>In Scatter-Gather DMA (DescDMA) Mode for Isochronous:</br>
  31862. <br/>
  31863. <br>[31:N]: DMA Address (DMAAddr)</br>
  31864. <br/>
  31865. <br>The start address must be 512-bytes aligned.</br>
  31866. <br/>
  31867. <br>This field holds the address of the 2*(nTD+1) bytes of locations in which the isochronous descriptors are present where N is based on nTD as follows:</br>
  31868. <br> - [31:N]: Base Address</br>
  31869. <br> - [N-1:3]: Offset</br>
  31870. <br> - [2:0]: 000</br>
  31871. <br>For HS ISOC, if nTD is,</br>
  31872. <br> - 7, N=6</br>
  31873. <br> - 15, N=7</br>
  31874. <br> - 31, N=8</br>
  31875. <br> - 63, N=9</br>
  31876. <br> - 127, N=10</br>
  31877. <br> - 255, N=11</br>
  31878. <br>For FS ISOC, if nTD is, </br>
  31879. <br> - 1, N=4</br>
  31880. <br> - 3, N=5</br>
  31881. <br> - 7, N=6</br>
  31882. <br> - 15, N=7</br>
  31883. <br> - 31, N=8</br>
  31884. <br> - 63, N=9</br>
  31885. <br>[N-1:3]: Current Transfer Desc(CTD)</br>
  31886. <br/>
  31887. <br>CTD for isochronous is based on the current frame/(micro)frame value. Need to be set to zero by application.</br>
  31888. <br/>
  31889. <br>Reset: (N+1:3)'h0</br>
  31890. <br/>
  31891. <br>[2:0]: Reserved</br>
  31892. </comment>
  31893. </bits>
  31894. </reg>
  31895. <hole size="32"/>
  31896. <reg name="hcdmab15" protect="r">
  31897. <comment>&quot;Host Channel $i DMA Buffer Address Register&quot;
  31898. This register is present only in case of Scatter/Gather DMA. It is implemented in RAM instead of flop-based implementation. This register holds the current buffer address.</comment>
  31899. <bits access="r" name="hcdmab" pos="31:0" rst="0">
  31900. <comment>
  31901. <br>Holds the current buffer address.</br>
  31902. <br>This register is updated as and when the data transfer for the corresponding end point </br>
  31903. <br>is in progress. This register is present only in Scatter/Gather DMA mode. Otherwise this </br>
  31904. <br>field is reserved.</br>
  31905. </comment>
  31906. </bits>
  31907. </reg>
  31908. <hole size="2048"/>
  31909. <reg name="dcfg" protect="rw">
  31910. <comment>Device Configuration Register
  31911. This register configures the core in Device mode after power-on or after certain control commands or enumeration. Do not make changes to this register after initial programming.</comment>
  31912. <bits access="rw" name="devspd" pos="1:0" rst="0">
  31913. <comment>
  31914. <br>Device Speed (DevSpd)</br>
  31915. <br/>
  31916. <br>Indicates the speed at which the application requires the core to</br>
  31917. <br>enumerate, or the maximum speed the application can support.</br>
  31918. <br>However, the actual bus speed is determined only after the connect</br>
  31919. <br>sequence is completed, and is based on the speed of the USB</br>
  31920. <br>host to which the core is connected.</br>
  31921. </comment>
  31922. </bits>
  31923. <bits access="rw" name="nzstsouthshk" pos="2" rst="0">
  31924. <comment>
  31925. <br>Non-Zero-Length Status OUT Handshake (NZStsOUTHShk)</br>
  31926. <br/>
  31927. <br>The application can use this field to select the handshake the core sends on receiving a nonzero-length data packet during the OUT transaction of a control transfer's Status stage.</br>
  31928. <br> - 1'b1: Send a STALL handshake on a nonzero-length status OUT transaction and do not send the received OUT packet to the application.</br>
  31929. <br> - 1'b0: Send the received OUT packet to the application (zerolength or nonzero-length) and send a handshake based on the NAK and STALL bits for the endpoint in the Device Endpoint Control register.</br>
  31930. </comment>
  31931. </bits>
  31932. <bits access="rw" name="ena32khzsusp" pos="3" rst="0">
  31933. <comment>
  31934. <br>Enable 32 KHz Suspend mode (Ena32KHzSusp) </br>
  31935. <br/>
  31936. <br>This bit can be set only if FS PHY interface is selected. Otherwise, this bit needs to be set to zero. If FS PHY interface is chosen and this bit is set, the PHY clock during Suspend must be switched from 48 MHz to 32 KHz. </br>
  31937. <br/>
  31938. </comment>
  31939. </bits>
  31940. <bits access="rw" name="devaddr" pos="10:4" rst="0">
  31941. <comment>
  31942. <br>Device Address (DevAddr)</br>
  31943. <br/>
  31944. <br>The application must program this field after every SetAddress control command.</br>
  31945. </comment>
  31946. </bits>
  31947. <bits access="rw" name="perfrint" pos="12:11" rst="0">
  31948. <comment>
  31949. <br>Periodic Frame Interval (PerFrInt)</br>
  31950. <br/>
  31951. <br>Indicates the time within a (micro)Frame at which the application</br>
  31952. <br>must be notified using the End Of Periodic Frame Interrupt. This</br>
  31953. <br>can be used to determine If all the isochronous traffic for that</br>
  31954. <br>(micro)Frame is complete.</br>
  31955. <br> - 2'b00: 80% of the (micro)Frame interval</br>
  31956. <br> - 2'b01: 85% of the (micro)Frame interval</br>
  31957. <br> - 2'b10: 90% of the (micro)Frame interval</br>
  31958. <br> - 2'b11: 95% of the (micro)Frame interval</br>
  31959. </comment>
  31960. </bits>
  31961. <bits access="rw" name="endevoutnak" pos="13" rst="0">
  31962. <comment>
  31963. <br>Enable Device OUT NAK (EnDevOutNak)</br>
  31964. <br/>
  31965. <br>This bit enables setting NAK for Bulk OUT endpoints after the transfer is completed for Device mode Descriptor DMA </br>
  31966. <br> - 1'b0 : The core does not set NAK after Bulk OUT transfer complete</br>
  31967. <br> - 1'b1 : The core sets NAK after Bulk OUT transfer complete</br>
  31968. <br>It bit is one time programmable after reset like any other DCFG register bits.</br>
  31969. </comment>
  31970. </bits>
  31971. <bits access="rw" name="xcvrdly" pos="14" rst="0">
  31972. <comment>
  31973. <br>XCVRDLY</br>
  31974. <br/>
  31975. <br> Enables or disables delay between xcvr_sel and txvalid during device chirp </br>
  31976. <br/>
  31977. </comment>
  31978. </bits>
  31979. <bits access="rw" name="erraticintmsk" pos="15" rst="0">
  31980. <comment>
  31981. <br>Erratic Error Interrupt Mask</br>
  31982. <br/>
  31983. </comment>
  31984. </bits>
  31985. <bits access="rw" name="descdma" pos="23" rst="0">
  31986. <comment>
  31987. <br>Enable Scatter/gather DMA in device mode (DescDMA).</br>
  31988. <br/>
  31989. <br>When the Scatter/Gather DMA option selected during configuration of the RTL, the application can Set this bit during initialization to enable the Scatter/Gather DMA operation.</br>
  31990. <br/>
  31991. <br>Note: This bit must be modified only once after a reset. The following combinations are available for programming:</br>
  31992. <br> - GAHBCFG.DMAEn=0,DCFG.DescDMA=0 =&gt; Slave mode</br>
  31993. <br> - GAHBCFG.DMAEn=0,DCFG.DescDMA=1 =&gt; Invalid</br>
  31994. <br> - GAHBCFG.DMAEn=1,DCFG.DescDMA=0 =&gt; Buffered DMA mode</br>
  31995. <br> - GAHBCFG.DMAEn=1,DCFG.DescDMA=1 =&gt; Scatter/Gather DMA mode</br>
  31996. </comment>
  31997. </bits>
  31998. <bits access="rw" name="perschintvl" pos="25:24" rst="0">
  31999. <comment>
  32000. <br>Periodic Scheduling Interval (PerSchIntvl)</br>
  32001. <br/>
  32002. <br>PerSchIntvl must be programmed for Scatter/Gather DMA mode.</br>
  32003. <br/>
  32004. <br>This field specifies the amount of time the Internal</br>
  32005. <br>DMA engine must allocate for fetching periodic IN endpoint data.</br>
  32006. <br>Based on the number of periodic endpoints, this value must be</br>
  32007. <br>specified as 25,50 or 75% of (micro)Frame.</br>
  32008. <br> - When any periodic endpoints are active, the internal DMA engine allocates the specified amount of time in fetching periodic IN endpoint data .</br>
  32009. <br> - When no periodic endpoints are active, Then the internal DMA engine services non-periodic endpoints, ignoring this field.</br>
  32010. <br> - After the specified time within a (micro)Frame, the DMA switches to fetching for non-periodic endpoints.</br>
  32011. <br> -- 2'b00: 25% of (micro)Frame.</br>
  32012. <br> -- 2'b01: 50% of (micro)Frame.</br>
  32013. <br> -- 2'b10: 75% of (micro)Frame.</br>
  32014. <br> -- 2'b11: Reserved.</br>
  32015. <br>Reset: 2'b00</br>
  32016. <br/>
  32017. </comment>
  32018. </bits>
  32019. <bits access="rw" name="resvalid" pos="31:26" rst="2">
  32020. <comment>
  32021. <br>Resume Validation Period (ResValid)</br>
  32022. <br/>
  32023. <br>This field is effective only when DCFG.Ena32KHzSusp is set.</br>
  32024. <br>It controls the resume period when the core resumes from</br>
  32025. <br>suspend. The core counts for ResValid number of clock cycles </br>
  32026. <br>to detect a valid resume when this bit is set</br>
  32027. </comment>
  32028. </bits>
  32029. </reg>
  32030. <reg name="dctl" protect="rw">
  32031. <comment>Device Control Register</comment>
  32032. <bits access="rw" name="rmtwkupsig" pos="0" rst="0">
  32033. <comment>
  32034. <br>Remote Wakeup Signaling (RmtWkUpSig)</br>
  32035. <br/>
  32036. <br>When the application sets this bit, the core initiates remote</br>
  32037. <br>signaling to wake up the USB host. The application must Set this</br>
  32038. <br>bit to instruct the core to exit the Suspend state. As specified in</br>
  32039. <br>the USB 2.0 specification, the application must clear this bit </br>
  32040. <br>1-15 ms after setting it.</br>
  32041. <br/>
  32042. <br/>
  32043. <br>If LPM is enabled and the core is in the L1 (Sleep) state, when the application sets this bit, the core initiates L1 remote signaling to wake up the USB host. The application must set this bit to instruct the core to exit the Sleep state. As specified in the LPM specification, the hardware automatically clears this bit 50 microseconds (TL1DevDrvResume) after being set by the application. The application must not set this bit when GLPMCFG bRemoteWake from the previous LPM transaction is zero.</br>
  32044. </comment>
  32045. </bits>
  32046. <bits access="rw" name="sftdiscon" pos="1" rst="1">
  32047. <comment>
  32048. <br>Soft Disconnect (SftDiscon)</br>
  32049. <br/>
  32050. <br>The application uses this bit to signal the controller to do a soft disconnect. As long as this bit is Set, the host does not see that the device is connected, and the device does not receive</br>
  32051. <br>signals on the USB. The core stays in the disconnected state until the application clears this bit.</br>
  32052. <br> - 1'b0: Normal operation. When this bit is cleared after a soft disconnect, the core drives the phy_opmode_o signal on the</br>
  32053. <br> UTMI+ to 2'b00, which generates a device connect event to the USB host. When the device is reconnected, the USB host restarts device enumeration.</br>
  32054. <br> - 1'b1: The core drives the phy_opmode_o signal on the UTMI+ to 2'b01, which generates a device disconnect event to the USB host.</br>
  32055. <br>The following is the minimum duration under various conditions for which this bit must be set for the USB host to detect a device disconnect. To accommodate clock jitter, it is</br>
  32056. <br>recommended that the application adds some extra delay to the specified minimum duration.</br>
  32057. <br/>
  32058. <br>For high speed, if the device state is, </br>
  32059. <br> - Suspended, the minimum duration is 1ms + 2.5us</br>
  32060. <br> - Idle, the minimum duration is 3ms + 2.5us</br>
  32061. <br> - Not Idle or Suspended (performing transactions), the minimum duration 125 us</br>
  32062. <br>For full speed/low speed, if the device state is, </br>
  32063. <br> - Suspended, the minimum duration is 1ms + 2.5us</br>
  32064. <br> - Idle, the minimum duration is 2.5us</br>
  32065. <br> - Not Idle or Suspended (performing transactions), the minimum duration 125 us</br>
  32066. <br>Note: </br>
  32067. <br> - This bit can be also used for ULPI/FS Serial interfaces.</br>
  32068. <br> - This bit is not impacted by a soft reset.</br>
  32069. </comment>
  32070. </bits>
  32071. <bits access="r" name="gnpinnaksts" pos="2" rst="0">
  32072. <comment>
  32073. <br>Global Non-periodic IN NAK Status (GNPINNakSts)</br>
  32074. <br> - 1'b0: A handshake is sent out based on the data availability in the transmit FIFO.</br>
  32075. <br> - 1'b1: A NAK handshake is sent out on all non-periodic IN endpoints, irrespective of the data availability in the transmit FIFO.</br>
  32076. </comment>
  32077. </bits>
  32078. <bits access="r" name="goutnaksts" pos="3" rst="0">
  32079. <comment>
  32080. <br>Global OUT NAK Status (GOUTNakSts)</br>
  32081. <br> - 1'b0: A handshake is sent based on the FIFO Status and the NAK and STALL bit settings.</br>
  32082. <br> - 1'b1: No data is written to the RxFIFO, irrespective of space availability. Sends a NAK handshake on all packets, except on SETUP transactions. All isochronous OUT packets are dropped.</br>
  32083. </comment>
  32084. </bits>
  32085. <bits access="rw" name="tstctl" pos="6:4" rst="0">
  32086. <comment>
  32087. <br>Test Control (TstCtl)</br>
  32088. <br> - 3'b000: Test mode disabled</br>
  32089. <br> - 3'b001: Test_J mode</br>
  32090. <br> - 3'b010: Test_K mode</br>
  32091. <br> - 3'b011: Test_SE0_NAK mode</br>
  32092. <br> - 3'b100: Test_Packet mode</br>
  32093. <br> - 3'b101: Test_Force_Enable</br>
  32094. <br> - Others: Reserved</br>
  32095. </comment>
  32096. </bits>
  32097. <bits access="w" name="sgnpinnak" pos="7" rst="0">
  32098. <comment>
  32099. <br>Set Global Non-periodic IN NAK (SGNPInNak)</br>
  32100. <br/>
  32101. <br>A write to this field sets the Global Non-periodic IN NAK.The application uses this bit to send a NAK handshake on all non-periodic IN endpoints.</br>
  32102. <br>The core can also Set this bit when a timeout condition is detected on a non-periodic endpoint in shared FIFO operation.</br>
  32103. <br>The application must Set this bit only after making sure that the Global IN NAK Effective bit in the Core Interrupt Register (GINTSTS.GINNakEff) is cleared</br>
  32104. </comment>
  32105. </bits>
  32106. <bits access="w" name="cgnpinnak" pos="8" rst="0">
  32107. <comment>
  32108. <br>Clear Global Non-periodic IN NAK (CGNPInNak)</br>
  32109. <br/>
  32110. <br>A write to this field clears the Global Non-periodic IN NAK.</br>
  32111. </comment>
  32112. </bits>
  32113. <bits access="w" name="sgoutnak" pos="9" rst="0">
  32114. <comment>
  32115. <br>Set Global OUT NAK (SGOUTNak)</br>
  32116. <br/>
  32117. <br>A write to this field sets the Global OUT NAK. The application uses this bit to send a NAK handshake on all OUT endpoints.</br>
  32118. <br>The application must set the this bit only after making sure that the Global OUT NAK Effective bit in the Core Interrupt Register (GINTSTS.GOUTNakEff) is cleared.</br>
  32119. </comment>
  32120. </bits>
  32121. <bits access="w" name="cgoutnak" pos="10" rst="0">
  32122. <comment>
  32123. <br>Clear Global OUT NAK (CGOUTNak)</br>
  32124. <br/>
  32125. <br>A write to this field clears the Global OUT NAK.</br>
  32126. </comment>
  32127. </bits>
  32128. <bits access="rw" name="pwronprgdone" pos="11" rst="0">
  32129. <comment>
  32130. <br>Power-On Programming Done (PWROnPrgDone)</br>
  32131. <br/>
  32132. <br>The application uses this bit to indicate that register programming is completed after a wake-up from Power Down mode.</br>
  32133. </comment>
  32134. </bits>
  32135. <bits access="rw" name="gmc" pos="14:13" rst="0">
  32136. <comment>
  32137. <br>Global Multi Count (GMC)</br>
  32138. <br/>
  32139. <br>GMC must be programmed only once after initialization.</br>
  32140. <br>Applicable only for Scatter/Gather DMA mode. This indicates the number of packets to be serviced for that end point before moving to the next end point. It is only for non-periodic endpoints. </br>
  32141. <br> - 2'b00: Invalid.</br>
  32142. <br> - 2'b01: 1 packet.</br>
  32143. <br> - 2'b10: 2 packets.</br>
  32144. <br> - 2'b11: 3 packets.</br>
  32145. <br>The value of this field automatically changes to 2'h1 when DCFG.DescDMA is set to 1. When Scatter/Gather DMA mode is disabled, this field is reserved. and reads 2'b00.</br>
  32146. </comment>
  32147. </bits>
  32148. <bits access="rw" name="ignrfrmnum" pos="15" rst="0">
  32149. <comment>
  32150. <br>Ignore Frame Number Feature for Isochronous Endpoints (IgnrFrmNum)</br>
  32151. <br/>
  32152. <br>This field is also used to control the Periodic Transfer Interrupt (PTI) feature.</br>
  32153. <br/>
  32154. <br>Note: Do not program IgnrFrmNum bit to 1'b1 when the core is operating in threshold mode.</br>
  32155. <br/>
  32156. <br>Slave Mode (GAHBCFG.DMAEn=0): </br>
  32157. <br/>
  32158. <br>This bit is not valid in Slave mode and should not be programmed to 1.</br>
  32159. <br/>
  32160. <br>Scatter/Gather DMA Mode (GAHBCFG.DMAEn=1,DCFG.DescDMA=1): </br>
  32161. <br/>
  32162. <br>Note: When Scatter/Gather DMA mode is enabled this feature is not applicable to High Speed, High bandwidth transfers.</br>
  32163. <br/>
  32164. <br>When this bit is enabled, there must be only one packet per descriptor. </br>
  32165. <br> - 0: The core transmits the packets only in the frame number in which they are intended to be transmitted. </br>
  32166. <br> - 1: The core ignores the frame number, sending packets immediately as the packets are ready.</br>
  32167. <br>In Scatter/Gather DMA mode, if this bit is enabled, the packets are not flushed when a ISOC IN token is received for an elapsed frame.</br>
  32168. <br/>
  32169. <br>Non-Scatter/Gather DMA Mode, that is, Buffer DMA Mode (GAHBCFG.DMAEn=1,DCFG.DescDMA=0): </br>
  32170. <br/>
  32171. <br>When Scatter/Gather DMA mode is disabled, this field is used by the application to enable Periodic Transfer Interrupt (PTI) Mode.</br>
  32172. <br/>
  32173. <br>The application can program Periodic Endpoint transfers for multiple (micro)Frames.</br>
  32174. <br> - 0: Periodic Transfer Interrupt feature is disabled, application needs to program transfers for periodic endpoints every (micro)Frame</br>
  32175. <br> - 1: Periodic Transfer Interrupt feature is enabled, application can program transfers for multiple (micro)Frames for periodic endpoints.</br>
  32176. <br>In the PTI mode, the application will receive Transfer Complete Interrupt after transfers for multiple (micro)Frames are completed.</br>
  32177. </comment>
  32178. </bits>
  32179. <bits access="rw" name="nakonbble" pos="16" rst="0">
  32180. <comment>
  32181. <br>NAK on Babble Error (NakOnBble)</br>
  32182. <br/>
  32183. <br>Set NAK automatically on babble (NakOnBble). The core sets NAK automatically for the endpoint on which babble is received.</br>
  32184. </comment>
  32185. </bits>
  32186. <bits access="rw" name="encontonbna" pos="17" rst="0">
  32187. <comment>
  32188. <br>Enable Continue on BNA (EnContOnBNA)</br>
  32189. <br/>
  32190. <br>This bit enables the core to continue on BNA for Bulk OUT endpoints. </br>
  32191. <br>With this feature enabled, when a Bulk OUT or INTR OUT endpoint receives a BNA interrupt</br>
  32192. <br>the core starts processing the descriptor that caused the BNA interrupt after </br>
  32193. <br>the endpoint re-enables the endpoint. </br>
  32194. <br> - 1'b0: After receiving BNA interrupt,the core disables the endpoint. When the endpoint is re-enabled by the application,the core starts processing from the DOEPDMA descriptor.</br>
  32195. <br> - 1'b1: After receiving BNA interrupt, the core disables the endpoint. When the endpoint is re-enabled by the application, the core starts processing from the descriptor that received the BNA interrupt.</br>
  32196. <br/>
  32197. <br> This bit is valid only when OTG_EN_DESC_DMA == 1'b1. It is a one-time programmable after reset bit like any other DCTL register bits.</br>
  32198. </comment>
  32199. </bits>
  32200. </reg>
  32201. <reg name="dsts" protect="r">
  32202. <comment>Device Status Register
  32203. This register indicates the status of the core with respect to USB-related events. It must be read on interrupts from Device All Interrupts (DAINT) register.</comment>
  32204. <bits access="r" name="suspsts" pos="0" rst="0">
  32205. <comment>
  32206. <br>Suspend Status (SuspSts)</br>
  32207. <br/>
  32208. <br>In Device mode, this bit is set as long as a Suspend condition is</br>
  32209. <br>detected on the USB. The core enters the Suspend state</br>
  32210. <br>when there is no activity on the phy_line_state_i signal for an</br>
  32211. <br>extended period of time. The core comes out of the suspend under the following conditions :</br>
  32212. <br> - If there is any activity on the phy_line_state_i signal, or</br>
  32213. <br> - If the application writes to the Remote Wakeup Signaling bit in the Device Control register (DCTL.RmtWkUpSig).</br>
  32214. <br>When the core comes out of the suspend, this bit is set to 1'b0.</br>
  32215. </comment>
  32216. </bits>
  32217. <bits access="r" name="enumspd" pos="2:1" rst="1">
  32218. <comment>
  32219. <br>Enumerated Speed (EnumSpd)</br>
  32220. <br/>
  32221. <br>Indicates the speed at which the controller has come up</br>
  32222. <br>after speed detection through a connect or reset sequence.</br>
  32223. <br> - 2'b00: High speed (PHY clock is running at 30 or 60 MHz)</br>
  32224. <br> - 2'b01: Full speed (PHY clock is running at 30 or 60 MHz)</br>
  32225. <br> - 2'b10: Low speed (PHY clock is running at 6 MHz)</br>
  32226. <br> - 2'b11: Full speed (PHY clock is running at 48 MHz)</br>
  32227. <br>Low speed is not supported for devices using a UTMI+ PHY.</br>
  32228. </comment>
  32229. </bits>
  32230. <bits access="r" name="errticerr" pos="3" rst="0">
  32231. <comment>
  32232. <br>Erratic Error (ErrticErr)</br>
  32233. <br/>
  32234. <br>The core sets this bit to report any erratic errors</br>
  32235. <br>(phy_rxvalid_i/phy_rxvldh_i or phy_rxactive_i is asserted for at</br>
  32236. <br>least 2 ms, due to PHY error) seen on the UTMI+.</br>
  32237. <br>Due to erratic errors, the DWC_otg core goes into Suspended</br>
  32238. <br>state and an interrupt is generated to the application with Early</br>
  32239. <br>Suspend bit of the Core Interrupt register (GINTSTS.ErlySusp).</br>
  32240. <br>If the early suspend is asserted due to an erratic error, the</br>
  32241. <br>application can only perform a soft disconnect recover.</br>
  32242. </comment>
  32243. </bits>
  32244. <bits access="r" name="soffn" pos="21:8" rst="0">
  32245. <comment>
  32246. <br>Frame or Microframe Number of the Received SOF (SOFFN)</br>
  32247. <br/>
  32248. <br>When the core is operating at high speed, this field contains a microframe number. When the core is operating at full or low speed, this field contains a Frame number.</br>
  32249. <br/>
  32250. <br>Note: This register may return a non-zero value if read immediately after power-on reset.</br>
  32251. <br>In case the register bit reads non-zero immediately after power-on reset, it does not</br>
  32252. <br>indicate that SOF has been received from the host. The read value of this interrupt is</br>
  32253. <br>valid only after a valid connection between host and device is established.</br>
  32254. </comment>
  32255. </bits>
  32256. <bits access="r" name="devlnsts" pos="23:22" rst="0">
  32257. <comment>
  32258. <br>Device Line Status (DevLnSts) </br>
  32259. <br/>
  32260. <br>Indicates the current logic level USB data lines </br>
  32261. <br> - DevLnSts[1]: Logic level of D+ </br>
  32262. <br> - DevLnSts[0]: Logic level of D-</br>
  32263. </comment>
  32264. </bits>
  32265. </reg>
  32266. <hole size="32"/>
  32267. <reg name="diepmsk" protect="rw">
  32268. <comment>Device IN Endpoint Common Interrupt Mask Register
  32269. This register works with each of the Device IN Endpoint Interrupt (DIEPINTn) registers for all endpoints to generate an interrupt per IN endpoint. The IN endpoint interrupt for a specific status in the DIEPINTn register can be masked by writing to the corresponding bit in this register. Status bits are masked by default.</comment>
  32270. <bits access="rw" name="xfercomplmsk" pos="0" rst="0">
  32271. <comment>
  32272. <br>Transfer Completed Interrupt Mask (XferComplMsk)</br>
  32273. </comment>
  32274. </bits>
  32275. <bits access="rw" name="epdisbldmsk" pos="1" rst="0">
  32276. <comment>
  32277. <br>Endpoint Disabled Interrupt Mask (EPDisbldMsk)</br>
  32278. </comment>
  32279. </bits>
  32280. <bits access="rw" name="ahberrmsk" pos="2" rst="0">
  32281. <comment>
  32282. <br>AHB Error Mask (AHBErrMsk)</br>
  32283. </comment>
  32284. </bits>
  32285. <bits access="rw" name="timeoutmsk" pos="3" rst="0">
  32286. <comment>
  32287. <br>Timeout Condition Mask (TimeOUTMsk) (Non-isochronous endpoints)</br>
  32288. </comment>
  32289. </bits>
  32290. <bits access="rw" name="intkntxfempmsk" pos="4" rst="0">
  32291. <comment>
  32292. <br>IN Token Received When TxFIFO Empty Mask (INTknTXFEmpMsk)</br>
  32293. </comment>
  32294. </bits>
  32295. <bits access="rw" name="intknepmismsk" pos="5" rst="0">
  32296. <comment>
  32297. <br>IN Token received with EP Mismatch Mask (INTknEPMisMsk)</br>
  32298. </comment>
  32299. </bits>
  32300. <bits access="rw" name="inepnakeffmsk" pos="6" rst="0">
  32301. <comment>
  32302. <br>IN Endpoint NAK Effective Mask (INEPNakEffMsk)</br>
  32303. </comment>
  32304. </bits>
  32305. <bits access="rw" name="txfifoundrnmsk" pos="8" rst="0">
  32306. <comment>
  32307. <br>Fifo Underrun Mask (TxfifoUndrnMsk)</br>
  32308. </comment>
  32309. </bits>
  32310. <bits access="rw" name="bnainintrmsk" pos="9" rst="0">
  32311. <comment>
  32312. <br>BNA interrupt Mask (BNAInIntrMsk)</br>
  32313. </comment>
  32314. </bits>
  32315. <bits access="rw" name="nakmsk" pos="13" rst="0">
  32316. <comment>
  32317. <br>NAK interrupt Mask (NAKMsk)</br>
  32318. </comment>
  32319. </bits>
  32320. </reg>
  32321. <reg name="doepmsk" protect="rw">
  32322. <comment>Device OUT Endpoint Common Interrupt Mask Register
  32323. This register works with each of the Device OUT Endpoint Interrupt (DOEPINTn) registers for all endpoints to generate an interrupt per OUT endpoint. The OUT endpoint interrupt for a specific status in the DOEPINTn register can be masked by writing into the corresponding bit in this register. Status bits are masked by default.</comment>
  32324. <bits access="rw" name="xfercomplmsk" pos="0" rst="0">
  32325. <comment>
  32326. <br>Transfer Completed Interrupt Mask (XferComplMsk)</br>
  32327. </comment>
  32328. </bits>
  32329. <bits access="rw" name="epdisbldmsk" pos="1" rst="0">
  32330. <comment>
  32331. <br>Endpoint Disabled Interrupt Mask (EPDisbldMsk)</br>
  32332. </comment>
  32333. </bits>
  32334. <bits access="rw" name="ahberrmsk" pos="2" rst="0">
  32335. <comment>
  32336. <br>AHB Error (AHBErrMsk)</br>
  32337. </comment>
  32338. </bits>
  32339. <bits access="rw" name="setupmsk" pos="3" rst="0">
  32340. <comment>
  32341. <br>SETUP Phase Done Mask (SetUPMsk)</br>
  32342. <br/>
  32343. <br>Applies to control endpoints only.</br>
  32344. </comment>
  32345. </bits>
  32346. <bits access="rw" name="outtknepdismsk" pos="4" rst="0">
  32347. <comment>
  32348. <br>OUT Token Received when Endpoint Disabled Mask (OUTTknEPdisMsk)</br>
  32349. <br/>
  32350. <br>Applies to control OUT endpoints only.</br>
  32351. </comment>
  32352. </bits>
  32353. <bits access="rw" name="stsphsercvdmsk" pos="5" rst="0">
  32354. <comment>
  32355. <br>Status Phase Received Mask (StsPhseRcvdMsk)</br>
  32356. <br/>
  32357. <br>Applies to control OUT endpoints only.</br>
  32358. </comment>
  32359. </bits>
  32360. <bits access="rw" name="back2backsetup" pos="6" rst="0">
  32361. <comment>
  32362. <br>Back-to-Back SETUP Packets Received Mask (Back2BackSETup)</br>
  32363. <br/>
  32364. <br>Applies to control OUT endpoints only.</br>
  32365. </comment>
  32366. </bits>
  32367. <bits access="rw" name="outpkterrmsk" pos="8" rst="0">
  32368. <comment>
  32369. <br>OUT Packet Error Mask (OutPktErrMsk)</br>
  32370. </comment>
  32371. </bits>
  32372. <bits access="rw" name="bnaoutintrmsk" pos="9" rst="0">
  32373. <comment>
  32374. <br>BNA interrupt Mask (BnaOutIntrMsk)</br>
  32375. </comment>
  32376. </bits>
  32377. <bits access="rw" name="bbleerrmsk" pos="12" rst="0">
  32378. <comment>
  32379. <br>Babble Error interrupt Mask (BbleErrMsk)</br>
  32380. </comment>
  32381. </bits>
  32382. <bits access="rw" name="nakmsk" pos="13" rst="0">
  32383. <comment>
  32384. <br>NAK interrupt Mask (NAKMsk)</br>
  32385. </comment>
  32386. </bits>
  32387. <bits access="rw" name="nyetmsk" pos="14" rst="0">
  32388. <comment>
  32389. <br>NYET interrupt Mask (NYETMsk)</br>
  32390. </comment>
  32391. </bits>
  32392. </reg>
  32393. <reg name="daint" protect="r">
  32394. <comment>Device All Endpoints Interrupt Register
  32395. When a significant event occurs on an endpoint, a Device All Endpoints Interrupt register interrupts the
  32396. application using the Device OUT Endpoints Interrupt bit or Device IN Endpoints Interrupt bit of the Core
  32397. Interrupt register (GINTSTS.OEPInt or GINTSTS.IEPInt, respectively). This is shown in Figure 5-2. There is
  32398. one interrupt bit per endpoint, up to a maximum of 16 bits for OUT endpoints and 16 bits for IN endpoints.
  32399. For a bidirectional endpoint, the corresponding IN and OUT interrupt bits are used. Bits in this register are
  32400. set and cleared when the application sets and clears bits in the corresponding Device Endpoint-n Interrupt
  32401. register (DIEPINTn/DOEPINTn).</comment>
  32402. <bits access="r" name="inepint0" pos="0" rst="0">
  32403. <comment>
  32404. <br>IN Endpoint 0 Interrupt Bit</br>
  32405. </comment>
  32406. </bits>
  32407. <bits access="r" name="inepint1" pos="1" rst="0">
  32408. <comment>
  32409. <br>IN Endpoint 1 Interrupt Bit</br>
  32410. </comment>
  32411. </bits>
  32412. <bits access="r" name="inepint2" pos="2" rst="0">
  32413. <comment>
  32414. <br>IN Endpoint 2 Interrupt Bit</br>
  32415. </comment>
  32416. </bits>
  32417. <bits access="r" name="inepint3" pos="3" rst="0">
  32418. <comment>
  32419. <br>IN Endpoint 3 Interrupt Bit</br>
  32420. </comment>
  32421. </bits>
  32422. <bits access="r" name="inepint4" pos="4" rst="0">
  32423. <comment>
  32424. <br>IN Endpoint 4 Interrupt Bit</br>
  32425. </comment>
  32426. </bits>
  32427. <bits access="r" name="inepint5" pos="5" rst="0">
  32428. <comment>
  32429. <br>IN Endpoint 5 Interrupt Bit</br>
  32430. </comment>
  32431. </bits>
  32432. <bits access="r" name="inepint6" pos="6" rst="0">
  32433. <comment>
  32434. <br>IN Endpoint 6 Interrupt Bit</br>
  32435. </comment>
  32436. </bits>
  32437. <bits access="r" name="inepint7" pos="7" rst="0">
  32438. <comment>
  32439. <br>IN Endpoint 7 Interrupt Bit</br>
  32440. </comment>
  32441. </bits>
  32442. <bits access="r" name="inepint8" pos="8" rst="0">
  32443. <comment>
  32444. <br>IN Endpoint 8 Interrupt Bit</br>
  32445. </comment>
  32446. </bits>
  32447. <bits access="r" name="inepint9" pos="9" rst="0">
  32448. <comment>
  32449. <br>IN Endpoint 9 Interrupt Bit</br>
  32450. </comment>
  32451. </bits>
  32452. <bits access="r" name="inepint10" pos="10" rst="0">
  32453. <comment>
  32454. <br>IN Endpoint 10 Interrupt Bit</br>
  32455. </comment>
  32456. </bits>
  32457. <bits access="r" name="inepint11" pos="11" rst="0">
  32458. <comment>
  32459. <br>IN Endpoint 11 Interrupt Bit</br>
  32460. </comment>
  32461. </bits>
  32462. <bits access="r" name="inepint12" pos="12" rst="0">
  32463. <comment>
  32464. <br>IN Endpoint 12 Interrupt Bit</br>
  32465. </comment>
  32466. </bits>
  32467. <bits access="r" name="outepint0" pos="16" rst="0">
  32468. <comment>
  32469. <br>OUT Endpoint 0 Interrupt Bit</br>
  32470. </comment>
  32471. </bits>
  32472. <bits access="r" name="outepint1" pos="17" rst="0">
  32473. <comment>
  32474. <br>OUT Endpoint 1 Interrupt Bit</br>
  32475. </comment>
  32476. </bits>
  32477. <bits access="r" name="outepint2" pos="18" rst="0">
  32478. <comment>
  32479. <br>OUT Endpoint 2 Interrupt Bit</br>
  32480. </comment>
  32481. </bits>
  32482. <bits access="r" name="outepint3" pos="19" rst="0">
  32483. <comment>
  32484. <br>OUT Endpoint 3 Interrupt Bit</br>
  32485. </comment>
  32486. </bits>
  32487. <bits access="r" name="outepint4" pos="20" rst="0">
  32488. <comment>
  32489. <br>OUT Endpoint 4 Interrupt Bit</br>
  32490. </comment>
  32491. </bits>
  32492. <bits access="r" name="outepint5" pos="21" rst="0">
  32493. <comment>
  32494. <br>OUT Endpoint 5 Interrupt Bit</br>
  32495. </comment>
  32496. </bits>
  32497. <bits access="r" name="outepint6" pos="22" rst="0">
  32498. <comment>
  32499. <br>OUT Endpoint 6 Interrupt Bit</br>
  32500. </comment>
  32501. </bits>
  32502. <bits access="r" name="outepint7" pos="23" rst="0">
  32503. <comment>
  32504. <br>OUT Endpoint 7 Interrupt Bit</br>
  32505. </comment>
  32506. </bits>
  32507. <bits access="r" name="outepint8" pos="24" rst="0">
  32508. <comment>
  32509. <br>OUT Endpoint 8 Interrupt Bit</br>
  32510. </comment>
  32511. </bits>
  32512. <bits access="r" name="outepint9" pos="25" rst="0">
  32513. <comment>
  32514. <br>OUT Endpoint 9 Interrupt Bit</br>
  32515. </comment>
  32516. </bits>
  32517. <bits access="r" name="outepint10" pos="26" rst="0">
  32518. <comment>
  32519. <br>OUT Endpoint 10 Interrupt Bit</br>
  32520. </comment>
  32521. </bits>
  32522. <bits access="r" name="outepint11" pos="27" rst="0">
  32523. <comment>
  32524. <br>OUT Endpoint 11 Interrupt Bit</br>
  32525. </comment>
  32526. </bits>
  32527. <bits access="r" name="outepint12" pos="28" rst="0">
  32528. <comment>
  32529. <br>OUT Endpoint 12 Interrupt Bit</br>
  32530. </comment>
  32531. </bits>
  32532. </reg>
  32533. <reg name="daintmsk" protect="rw">
  32534. <comment>Device All Endpoints Interrupt Mask Register
  32535. The Device Endpoint Interrupt Mask register works with the Device Endpoint Interrupt register to interrupt the application when an event occurs on a device endpoint. However, the Device All Endpoints Interrupt (DAINT) register bit corresponding to that interrupt is still set.</comment>
  32536. <bits access="rw" name="inepmsk0" pos="0" rst="0">
  32537. <comment>
  32538. <br>IN Endpoint 0 Interrupt mask Bit</br>
  32539. </comment>
  32540. </bits>
  32541. <bits access="rw" name="inepmsk1" pos="1" rst="0">
  32542. <comment>
  32543. <br>IN Endpoint 1 Interrupt mask Bit</br>
  32544. </comment>
  32545. </bits>
  32546. <bits access="rw" name="inepmsk2" pos="2" rst="0">
  32547. <comment>
  32548. <br>IN Endpoint 2 Interrupt mask Bit</br>
  32549. </comment>
  32550. </bits>
  32551. <bits access="rw" name="inepmsk3" pos="3" rst="0">
  32552. <comment>
  32553. <br>IN Endpoint 3 Interrupt mask Bit</br>
  32554. </comment>
  32555. </bits>
  32556. <bits access="rw" name="inepmsk4" pos="4" rst="0">
  32557. <comment>
  32558. <br>IN Endpoint 4 Interrupt mask Bit</br>
  32559. </comment>
  32560. </bits>
  32561. <bits access="rw" name="inepmsk5" pos="5" rst="0">
  32562. <comment>
  32563. <br>IN Endpoint 5 Interrupt mask Bit</br>
  32564. </comment>
  32565. </bits>
  32566. <bits access="rw" name="inepmsk6" pos="6" rst="0">
  32567. <comment>
  32568. <br>IN Endpoint 6 Interrupt mask Bit</br>
  32569. </comment>
  32570. </bits>
  32571. <bits access="rw" name="inepmsk7" pos="7" rst="0">
  32572. <comment>
  32573. <br>IN Endpoint 7 Interrupt mask Bit</br>
  32574. </comment>
  32575. </bits>
  32576. <bits access="rw" name="inepmsk8" pos="8" rst="0">
  32577. <comment>
  32578. <br>IN Endpoint 8 Interrupt mask Bit</br>
  32579. </comment>
  32580. </bits>
  32581. <bits access="rw" name="inepmsk9" pos="9" rst="0">
  32582. <comment>
  32583. <br>IN Endpoint 9 Interrupt mask Bit</br>
  32584. </comment>
  32585. </bits>
  32586. <bits access="rw" name="inepmsk10" pos="10" rst="0">
  32587. <comment>
  32588. <br>IN Endpoint 10 Interrupt mask Bit</br>
  32589. </comment>
  32590. </bits>
  32591. <bits access="rw" name="inepmsk11" pos="11" rst="0">
  32592. <comment>
  32593. <br>IN Endpoint 11 Interrupt mask Bit</br>
  32594. </comment>
  32595. </bits>
  32596. <bits access="rw" name="inepmsk12" pos="12" rst="0">
  32597. <comment>
  32598. <br>IN Endpoint 12 Interrupt mask Bit</br>
  32599. </comment>
  32600. </bits>
  32601. <bits access="rw" name="outepmsk0" pos="16" rst="0">
  32602. <comment>
  32603. <br>OUT Endpoint 0 Interrupt mask Bit</br>
  32604. </comment>
  32605. </bits>
  32606. <bits access="rw" name="outepmsk1" pos="17" rst="0">
  32607. <comment>
  32608. <br>OUT Endpoint 1 Interrupt mask Bit</br>
  32609. </comment>
  32610. </bits>
  32611. <bits access="rw" name="outepmsk2" pos="18" rst="0">
  32612. <comment>
  32613. <br>OUT Endpoint 2 Interrupt mask Bit</br>
  32614. </comment>
  32615. </bits>
  32616. <bits access="rw" name="outepmsk3" pos="19" rst="0">
  32617. <comment>
  32618. <br>OUT Endpoint 3 Interrupt mask Bit</br>
  32619. </comment>
  32620. </bits>
  32621. <bits access="rw" name="outepmsk4" pos="20" rst="0">
  32622. <comment>
  32623. <br>OUT Endpoint 4 Interrupt mask Bit</br>
  32624. </comment>
  32625. </bits>
  32626. <bits access="rw" name="outepmsk5" pos="21" rst="0">
  32627. <comment>
  32628. <br>OUT Endpoint 5 Interrupt mask Bit</br>
  32629. </comment>
  32630. </bits>
  32631. <bits access="rw" name="outepmsk6" pos="22" rst="0">
  32632. <comment>
  32633. <br>OUT Endpoint 6 Interrupt mask Bit</br>
  32634. </comment>
  32635. </bits>
  32636. <bits access="rw" name="outepmsk7" pos="23" rst="0">
  32637. <comment>
  32638. <br>OUT Endpoint 7 Interrupt mask Bit</br>
  32639. </comment>
  32640. </bits>
  32641. <bits access="rw" name="outepmsk8" pos="24" rst="0">
  32642. <comment>
  32643. <br>OUT Endpoint 8 Interrupt mask Bit</br>
  32644. </comment>
  32645. </bits>
  32646. <bits access="rw" name="outepmsk9" pos="25" rst="0">
  32647. <comment>
  32648. <br>OUT Endpoint 9 Interrupt mask Bit</br>
  32649. </comment>
  32650. </bits>
  32651. <bits access="rw" name="outepmsk10" pos="26" rst="0">
  32652. <comment>
  32653. <br>OUT Endpoint 10 Interrupt mask Bit</br>
  32654. </comment>
  32655. </bits>
  32656. <bits access="rw" name="outepmsk11" pos="27" rst="0">
  32657. <comment>
  32658. <br>OUT Endpoint 11 Interrupt mask Bit</br>
  32659. </comment>
  32660. </bits>
  32661. <bits access="rw" name="outepmsk12" pos="28" rst="0">
  32662. <comment>
  32663. <br>OUT Endpoint 12 Interrupt mask Bit</br>
  32664. </comment>
  32665. </bits>
  32666. </reg>
  32667. <hole size="64"/>
  32668. <reg name="dvbusdis" protect="rw">
  32669. <comment>Device VBUS Discharge Time Register
  32670. This register specifies the VBUS discharge time after VBUS pulsing during SRP.</comment>
  32671. <bits access="rw" name="dvbusdis" pos="15:0" rst="6103">
  32672. <comment>
  32673. <br>Device VBUS Discharge Time (DVBUSDis)</br>
  32674. <br/>
  32675. <br>Specifies the VBUS discharge time after VBUS pulsing during SRP. This value equals (VBUS discharge time in PHY clocks) / 1, 024.</br>
  32676. <br/>
  32677. <br>The value you use depends whether the PHY is operating at 30MHz (16-bit data width) or 60 MHz (8-bit data width).</br>
  32678. <br/>
  32679. <br>Depending on your VBUS load, this value can need adjustment.</br>
  32680. </comment>
  32681. </bits>
  32682. </reg>
  32683. <reg name="dvbuspulse" protect="rw">
  32684. <comment>Device VBUS Pulsing Time Register</comment>
  32685. <bits access="rw" name="dvbuspulse" pos="11:0" rst="1464">
  32686. <comment>
  32687. <br>Device VBUS Pulsing Time (DVBUSPulse)</br>
  32688. <br/>
  32689. <br>Specifies the VBUS pulsing time during SRP. This value equals (VBUS pulsing time in PHY clocks) / 1, 024</br>
  32690. <br/>
  32691. <br>The value you use depends whether the PHY is operating at 30MHz (16-bit data width) or 60 MHz (8-bit data width).</br>
  32692. </comment>
  32693. </bits>
  32694. </reg>
  32695. <reg name="dthrctl" protect="rw">
  32696. <comment>Device Threshold Control Register</comment>
  32697. <bits access="rw" name="nonisothren" pos="0" rst="0">
  32698. <comment>
  32699. <br>Non-ISO IN Endpoints Threshold Enable. (NonISOThrEn)</br>
  32700. <br/>
  32701. <br>When this bit is Set, the core enables thresholding for Non Isochronous IN endpoints.</br>
  32702. </comment>
  32703. </bits>
  32704. <bits access="rw" name="isothren" pos="1" rst="0">
  32705. <comment>
  32706. <br/>
  32707. <br>ISO IN Endpoints Threshold Enable. (ISOThrEn)</br>
  32708. <br> </br>
  32709. <br> When this bit is Set, the core enables thresholding for isochronous IN</br>
  32710. <br>endpoints.</br>
  32711. </comment>
  32712. </bits>
  32713. <bits access="rw" name="txthrlen" pos="10:2" rst="8">
  32714. <comment>
  32715. <br>Transmit Threshold Length (TxThrLen)</br>
  32716. <br/>
  32717. <br>This field specifies Transmit thresholding size in DWORDS. This also forms </br>
  32718. <br>the MAC threshold and specifies the amount of data in bytes to be in the </br>
  32719. <br>corresponding endpoint transmit FIFO, before the core can start transmit </br>
  32720. <br>on the USB. The threshold length has to be at least eight DWORDS when the </br>
  32721. <br>value of AHBThrRatio is 2'h00. In case the AHBThrRatio is non zero the </br>
  32722. <br>application needs to ensure that the AHB Threshold value does not go below </br>
  32723. <br>the recommended eight DWORD. This field controls both isochronous and </br>
  32724. <br>non-isochronous IN endpoint thresholds. The recommended value for ThrLen </br>
  32725. <br>is to be the same as the programmed AHB Burst Length (GAHBCFG.HBstLen).</br>
  32726. <br/>
  32727. <br>Note:</br>
  32728. <br> - When OTG_ARCHITECTURE=0, the reset value of this register field is 0.</br>
  32729. <br> - When OTG_ARCHITECTURE=2, the reset value of this register field is 8.</br>
  32730. <br/>
  32731. </comment>
  32732. </bits>
  32733. <bits access="rw" name="ahbthrratio" pos="12:11" rst="0">
  32734. <comment>
  32735. <br>AHB Threshold Ratio (AHBThrRatio)</br>
  32736. <br/>
  32737. <br>These bits define the ratio between the AHB threshold and the MAC threshold for the</br>
  32738. <br>transmit path only. The AHB threshold always remains less than or equal to the USB</br>
  32739. <br>threshold, because this does not increase overhead. Both the AHB and the MAC</br>
  32740. <br>threshold must be DWORD-aligned. The application needs to program TxThrLen and the</br>
  32741. <br>AHBThrRatio to make the AHB Threshold value DWORD aligned. If the AHB threshold</br>
  32742. <br>value is not DWORD aligned, the core might not behave correctly. When programming</br>
  32743. <br>the TxThrLen and AHBThrRatio, the application must ensure that the minimum AHB</br>
  32744. <br>threshold value does not go below 8 DWORDS to meet the USB turnaround time</br>
  32745. <br>requirements.</br>
  32746. <br> - 2'b00: AHB threshold = MAC threshold</br>
  32747. <br> - 2'b01: AHB threshold = MAC threshold / 2</br>
  32748. <br> - 2'b10: AHB threshold = MAC threshold / 4</br>
  32749. <br> - 2'b11: AHB threshold = MAC threshold / 8</br>
  32750. </comment>
  32751. </bits>
  32752. <bits access="rw" name="rxthren" pos="16" rst="0">
  32753. <comment>
  32754. <br>Receive Threshold Enable (RxThrEn)</br>
  32755. <br/>
  32756. <br>When this bit is set, the core enables thresholding in the receive direction.</br>
  32757. <br/>
  32758. <br>Note: We recommends that you do not enable RxThrEn, because it may cause issues in the RxFIFO especially during error conditions such as RxError and Babble.</br>
  32759. </comment>
  32760. </bits>
  32761. <bits access="rw" name="rxthrlen" pos="25:17" rst="8">
  32762. <comment>
  32763. <br>Receive Threshold Length (RxThrLen)</br>
  32764. <br/>
  32765. <br>This field specifies Receive thresholding size in DWORDS.</br>
  32766. <br>This field also specifies the amount of data received on the USB before the core can start transmitting on the AHB.</br>
  32767. <br>The threshold length has to be at least eight DWORDS.</br>
  32768. <br>The recommended value for ThrLen is to be the same as the programmed</br>
  32769. <br>AHB Burst Length (GAHBCFG.HBstLen).</br>
  32770. </comment>
  32771. </bits>
  32772. <bits access="rw" name="arbprken" pos="27" rst="1">
  32773. <comment>
  32774. <br>Arbiter Parking Enable (ArbPrkEn)</br>
  32775. <br/>
  32776. <br>This bit controls internal DMA arbiter parking for IN endpoints. If thresholding is enabled and this bit is set to one, then the arbiter parks on the IN endpoint for which there is a token received on the USB. This is done to avoid getting into underrun conditions. By default, arbiter parking is enabled.</br>
  32777. </comment>
  32778. </bits>
  32779. </reg>
  32780. <reg name="diepempmsk" protect="rw">
  32781. <comment>Device IN Endpoint FIFO Empty Interrupt Mask Register
  32782. This register is valid only in Dedicated FIFO operation (OTG_EN_DED_TX_FIFO = 1). This register is used to control the IN endpoint FIFO empty interrupt generation (DIEPINTn.TxfEmp).</comment>
  32783. <bits access="rw" name="ineptxfempmsk" pos="15:0" rst="0">
  32784. <comment>
  32785. <br>IN EP Tx FIFO Empty Interrupt Mask Bits (InEpTxfEmpMsk)</br>
  32786. <br/>
  32787. <br>These bits acts as mask bits for DIEPINTn.TxFEmp interrupt, one bit per IN Endpoint:</br>
  32788. <br/>
  32789. <br>Bit 0 for IN EP 0, bit 15 for IN EP 15</br>
  32790. </comment>
  32791. </bits>
  32792. </reg>
  32793. <hole size="1600"/>
  32794. <reg name="diepctl0" protect="rw">
  32795. <comment>Device Control IN Endpoint 0 Control Register</comment>
  32796. <bits access="rw" name="mps" pos="1:0" rst="0">
  32797. <comment>
  32798. <br>Maximum Packet Size (MPS)</br>
  32799. <br/>
  32800. <br>Applies to IN and OUT endpoints.</br>
  32801. <br/>
  32802. <br>The application must program this field with the maximum packet size for the current logical endpoint.</br>
  32803. <br> - 2'b00: 64 bytes</br>
  32804. <br> - 2'b01: 32 bytes</br>
  32805. <br> - 2'b10: 16 bytes</br>
  32806. <br> - 2'b11: 8 bytes</br>
  32807. </comment>
  32808. </bits>
  32809. <bits access="r" name="usbactep" pos="15" rst="1">
  32810. <comment>
  32811. <br>USB Active Endpoint (USBActEP)</br>
  32812. <br/>
  32813. <br>This bit is always SET to 1, indicating that control endpoint 0 is always active in all configurations and interfaces.</br>
  32814. </comment>
  32815. </bits>
  32816. <bits access="r" name="naksts" pos="17" rst="0">
  32817. <comment>
  32818. <br>NAK Status (NAKSts)</br>
  32819. <br/>
  32820. <br>Indicates the following:</br>
  32821. <br> - 1'b0: The core is transmitting non-NAK handshakes based on the FIFO status</br>
  32822. <br> - 1'b1: The core is transmitting NAK handshakes on this endpoint.</br>
  32823. <br>When this bit is set, either by the application or core, the core stops</br>
  32824. <br>transmitting data, even If there is data available in the TxFIFO.</br>
  32825. <br>Irrespective of this bit's setting, the core always responds to SETUP data</br>
  32826. <br>packets with an ACK handshake.</br>
  32827. </comment>
  32828. </bits>
  32829. <bits access="r" name="eptype" pos="19:18" rst="0">
  32830. <comment>
  32831. <br>Endpoint Type (EPType)</br>
  32832. <br/>
  32833. <br>Hardcoded to 00 for control.</br>
  32834. </comment>
  32835. </bits>
  32836. <bits access="rw" name="stall" pos="21" rst="0">
  32837. <comment>
  32838. <br>STALL Handshake (Stall)</br>
  32839. <br/>
  32840. <br>The application can only set this bit, and the core clears it, when a</br>
  32841. <br>SETUP token is received for this endpoint. If a NAK bit, Global Nonperiodic</br>
  32842. <br>IN NAK, or Global OUT NAK is set along with this bit, the STALL</br>
  32843. <br>bit takes priority.</br>
  32844. </comment>
  32845. </bits>
  32846. <bits access="rw" name="txfnum" pos="25:22" rst="0">
  32847. <comment>
  32848. <br>TxFIFO Number (TxFNum)</br>
  32849. <br> - For Shared FIFO operation, this value is always set to 0, indicating that control IN endpoint 0 data is always written in the Non-Periodic Transmit FIFO.</br>
  32850. <br> - For Dedicated FIFO operation, this value is set to the FIFO number that is assigned to IN Endpoint.</br>
  32851. </comment>
  32852. </bits>
  32853. <bits access="w" name="cnak" pos="26" rst="0">
  32854. <comment>
  32855. <br/>
  32856. <br>Clear NAK (CNAK)</br>
  32857. <br>A write to this bit clears the NAK bit for the endpoint.</br>
  32858. </comment>
  32859. </bits>
  32860. <bits access="w" name="snak" pos="27" rst="0">
  32861. <comment>
  32862. <br/>
  32863. <br>Set NAK (SNAK)</br>
  32864. <br>A write to this bit sets the NAK bit for the endpoint.</br>
  32865. <br>Using this bit, the application can control the transmission of NAK</br>
  32866. <br>handshakes on an endpoint. The core can also set this bit for an</br>
  32867. <br>endpoint after a SETUP packet is received on that endpoint.</br>
  32868. </comment>
  32869. </bits>
  32870. <bits access="rw" name="epdis" pos="30" rst="0">
  32871. <comment>
  32872. <br>Endpoint Disable (EPDis)</br>
  32873. <br/>
  32874. <br>The application sets this bit to stop transmitting data on an endpoint,</br>
  32875. <br>even before the transfer for that endpoint is complete. The application</br>
  32876. <br>must wait for the Endpoint Disabled interrupt before treating the endpoint</br>
  32877. <br>as disabled. The core clears this bit before setting the Endpoint Disabled</br>
  32878. <br>Interrupt. The application must Set this bit only if Endpoint Enable is</br>
  32879. <br>already set for this endpoint.</br>
  32880. </comment>
  32881. </bits>
  32882. <bits access="rw" name="epena" pos="31" rst="0">
  32883. <comment>
  32884. <br>Endpoint Enable (EPEna)</br>
  32885. <br/>
  32886. <br>When Scatter/Gather DMA mode is enabled for IN endpoints, this bit indicates that the descriptor structure and data buffer with data ready to transmit is setup.</br>
  32887. <br/>
  32888. <br> When Scatter/Gather DMA mode is disabled (such as in buffer pointer based DMA mode) this bit indicates that data is ready to be transmitted on the endpoint.</br>
  32889. <br>The core clears this bit before setting the following interrupts on this endpoint:</br>
  32890. <br> - Endpoint Disabled</br>
  32891. <br> - Transfer Completed</br>
  32892. </comment>
  32893. </bits>
  32894. </reg>
  32895. <hole size="32"/>
  32896. <reg name="diepint0" protect="rw">
  32897. <comment>Device IN Endpoint 0 Interrupt Register
  32898. This register indicates the status of an endpoint with respect to USB- and AHB-related events. It is shown in the &quot;Interrupt Hierarchy&quot; figure in the databook. The application must read this register when the OUT Endpoints Interrupt bit or IN Endpoints Interrupt bit of the Core Interrupt register (GINTSTS.OEPInt or GINTSTS.IEPInt, respectively) is set. Before the application can read this register, it must first read the Device All Endpoints Interrupt (DAINT) register to get the exact endpoint number for the Device Endpoint-n Interrupt register. The application must clear the appropriate bit in this register to clear the corresponding bits in the DAINT and GINTSTS registers</comment>
  32899. <bits access="rw" name="xfercompl" pos="0" rst="0">
  32900. <comment>
  32901. <br>Transfer Completed Interrupt (XferCompl)</br>
  32902. <br/>
  32903. <br>Applies to IN and OUT endpoints.</br>
  32904. <br> - When Scatter/Gather DMA mode is enabled</br>
  32905. <br> -- For IN endpoint this field indicates that the requested data from the descriptor is moved from external system memory to internal FIFO.</br>
  32906. <br> -- For OUT endpoint this field indicates that the requested data from the internal FIFO is moved to external system memory. This interrupt is generated only when the corresponding endpoint descriptor is closed, and the IOC bit for the corresponding descriptor is set.</br>
  32907. <br> - When Scatter/Gather DMA mode is disabled, this field indicates that the programmed transfer is complete on the AHB as well as on the USB, for this endpoint.</br>
  32908. </comment>
  32909. </bits>
  32910. <bits access="rw" name="epdisbld" pos="1" rst="0">
  32911. <comment>
  32912. <br>Endpoint Disabled Interrupt (EPDisbld)</br>
  32913. <br/>
  32914. <br>Applies to IN and OUT endpoints.</br>
  32915. <br/>
  32916. <br>This bit indicates that the endpoint is disabled per the application's request.</br>
  32917. </comment>
  32918. </bits>
  32919. <bits access="rw" name="ahberr" pos="2" rst="0">
  32920. <comment>
  32921. <br>AHB Error (AHBErr)</br>
  32922. <br/>
  32923. <br>Applies to IN and OUT endpoints.</br>
  32924. <br/>
  32925. <br>This is generated only in Internal DMA mode when there is an AHB error during an AHB read/write. The application can read the corresponding endpoint DMA address register to get the error address.</br>
  32926. </comment>
  32927. </bits>
  32928. <bits access="rw" name="timeout" pos="3" rst="0">
  32929. <comment>
  32930. <br>Timeout Condition (TimeOUT)</br>
  32931. <br> - In shared TX FIFO mode, applies to non-isochronous IN endpoints only.</br>
  32932. <br> - In dedicated FIFO mode, applies only to Control IN endpoints.</br>
  32933. <br> - In Scatter/Gather DMA mode, the TimeOUT interrupt is not asserted.</br>
  32934. <br>Indicates that the core has detected a timeout condition on the USB for the last IN token on this endpoint.</br>
  32935. </comment>
  32936. </bits>
  32937. <bits access="rw" name="intkntxfemp" pos="4" rst="0">
  32938. <comment>
  32939. <br>IN Token Received When TxFIFO is Empty (INTknTXFEmp)</br>
  32940. <br/>
  32941. <br>Applies to non-periodic IN endpoints only.</br>
  32942. <br/>
  32943. <br>Indicates that an IN token was received when the associated TxFIFO (periodic/non-periodic) was empty. This interrupt is asserted on the endpoint for which the IN token was received.</br>
  32944. </comment>
  32945. </bits>
  32946. <bits access="rw" name="intknepmis" pos="5" rst="0">
  32947. <comment>
  32948. <br>IN Token Received with EP Mismatch (INTknEPMis)</br>
  32949. <br/>
  32950. <br>Applies to non-periodic IN endpoints only.</br>
  32951. <br/>
  32952. <br>Indicates that the data in the top of the non-periodic TxFIFO belongs to an endpoint other than the one for which the IN token was received. This interrupt is asserted on the endpoint for which the IN token was received.</br>
  32953. </comment>
  32954. </bits>
  32955. <bits access="rw" name="inepnakeff" pos="6" rst="0">
  32956. <comment>
  32957. <br>IN Endpoint NAK Effective (INEPNakEff)</br>
  32958. <br/>
  32959. <br>Applies to periodic IN endpoints only.</br>
  32960. <br/>
  32961. <br>This bit can be cleared when the application clears the IN endpoint NAK by writing to DIEPCTLn.CNAK.</br>
  32962. <br/>
  32963. <br>This interrupt indicates that the core has sampled the NAK bit</br>
  32964. <br/>
  32965. <br>Set (either by the application or by the core).</br>
  32966. <br/>
  32967. <br>The interrupt indicates that the IN endpoint NAK bit Set by the application has taken effect in the core.</br>
  32968. <br/>
  32969. <br>This interrupt does not guarantee that a NAK handshake is sent on the USB. A STALL bit takes priority over a NAK bit.</br>
  32970. </comment>
  32971. </bits>
  32972. <bits access="r" name="txfemp" pos="7" rst="1">
  32973. <comment>
  32974. <br>Transmit FIFO Empty (TxFEmp)</br>
  32975. <br/>
  32976. <br>This bit is valid only for IN Endpoints</br>
  32977. <br/>
  32978. <br>This interrupt is asserted when the TxFIFO for this endpoint is either half or completely empty. The half or completely empty status is determined by the TxFIFO Empty Level bit in the Core AHB Configuration register (GAHBCFG.NPTxFEmpLvl)).</br>
  32979. </comment>
  32980. </bits>
  32981. <bits access="rw" name="txfifoundrn" pos="8" rst="0">
  32982. <comment>
  32983. <br>Fifo Underrun (TxfifoUndrn)</br>
  32984. <br/>
  32985. <br>Applies to IN endpoints only.</br>
  32986. <br/>
  32987. <br>The core generates this interrupt when it detects a transmit FIFO underrun condition in threshold mode for this endpoint.</br>
  32988. </comment>
  32989. </bits>
  32990. <bits access="rw" name="bnaintr" pos="9" rst="0">
  32991. <comment>
  32992. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  32993. <br/>
  32994. <br>This bit is valid only when Scatter/Gather DMA mode is enabled. The core generates this interrupt when the descriptor accessed is not ready for the Core to process, such as Host busy or DMA done.</br>
  32995. </comment>
  32996. </bits>
  32997. <bits access="rw" name="pktdrpsts" pos="11" rst="0">
  32998. <comment>
  32999. <br>Packet Drop Status (PktDrpSts)</br>
  33000. <br/>
  33001. <br>This bit indicates to the application that an ISOC OUT packet has been dropped. This bit does not have an associated mask bit and does not generate an interrupt.</br>
  33002. <br/>
  33003. <br>Dependency: This bit is valid in non Scatter/Gather DMA mode when periodic transfer interrupt feature is selected.</br>
  33004. </comment>
  33005. </bits>
  33006. <bits access="rw" name="bbleerr" pos="12" rst="0">
  33007. <comment>
  33008. <br>NAK Interrupt (BbleErr)</br>
  33009. <br/>
  33010. <br>The core generates this interrupt when babble is received for the endpoint.</br>
  33011. </comment>
  33012. </bits>
  33013. <bits access="rw" name="nakintrpt" pos="13" rst="0">
  33014. <comment>
  33015. <br>NAK Interrupt (NAKInterrupt)</br>
  33016. <br/>
  33017. <br>The core generates this interrupt when a NAK is transmitted or received by the device.</br>
  33018. <br>&lt;brIn case of isochronous IN endpoints the interrupt gets generated when a zero length packet is transmitted due to un-availability of data in the TXFifo.</br>
  33019. </comment>
  33020. </bits>
  33021. <bits access="rw" name="nyetintrpt" pos="14" rst="0">
  33022. <comment>
  33023. <br>NYET Interrupt (NYETIntrpt)</br>
  33024. <br/>
  33025. <br>The core generates this interrupt when a NYET response is transmitted for a non isochronous OUT endpoint.</br>
  33026. </comment>
  33027. </bits>
  33028. </reg>
  33029. <hole size="32"/>
  33030. <reg name="dieptsiz0" protect="rw">
  33031. <comment>Device IN Endpoint 0 Transfer Size Register
  33032. The application must modify this register before enabling endpoint 0. Once endpoint 0 is enabled using Endpoint Enable bit of the Device Control Endpoint 0 Control registers (DIEPCTL0.EPEna/DOEPCTL0.EPEna), the core modifies this register. The application can only read this register once the core has cleared the Endpoint Enable bit. Nonzero endpoints use the registers for endpoints 115. When Scatter/Gather DMA mode is enabled, this register must not be programmed by the application. If the application reads this register when Scatter/Gather DMA mode is enabled, the core returns all zeros.</comment>
  33033. <bits access="rw" name="xfersize" pos="6:0" rst="0">
  33034. <comment>
  33035. <br>Transfer Size (XferSize)</br>
  33036. <br/>
  33037. <br>This field contains the transfer size in bytes for the current endpoint. The transfer size (XferSize) = Sum of buffer sizes across all descriptors in the list for the endpoint.</br>
  33038. <br>In Buffer DMA, the core only interrupts the application after it has exhausted the transfer size amount of data. The transfer size can be set to the maximum packet size of the endpoint, to be interrupted at the end of each packet.</br>
  33039. <br> - IN Endpoints: The core decrements this field every time a packet from the external memory is written to the TxFIFO.</br>
  33040. <br> - OUT Endpoints: The core decrements this field every time a packet is read from the RxFIFO and written to the external memory.</br>
  33041. <br/>
  33042. </comment>
  33043. </bits>
  33044. <bits access="rw" name="pktcnt" pos="20:19" rst="0">
  33045. <comment>
  33046. <br>Packet Count (PktCnt)</br>
  33047. <br/>
  33048. <br>Indicates the total number of USB packets that constitute the</br>
  33049. <br/>
  33050. <br>Transfer Size amount of data for endpoint 0.</br>
  33051. <br> - IN Endpoints : This field is decremented every time a packet (maximum size or short packet) is read from the TxFIFO.</br>
  33052. <br> - OUT Endpoints: This field is decremented every time a packet (maximum size or short packet) is written to the RxFIFO.</br>
  33053. </comment>
  33054. </bits>
  33055. </reg>
  33056. <reg name="diepdma0" protect="rw">
  33057. <comment>Device IN Endpoint 0 DMA Address Register</comment>
  33058. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  33059. <comment>
  33060. <br>DMAAddr</br>
  33061. <br/>
  33062. <br>This field holds the start address of the external memory for storing or fetching endpoint data.</br>
  33063. <br/>
  33064. <br>Note: For control endpoints, this field stores control OUT data packets as well as SETUP transaction data packets. When more than three SETUP packets are</br>
  33065. <br>received back-to-back, the SETUP data packet in the memory is overwritten.</br>
  33066. <br/>
  33067. <br>This register is incremented on every AHB transaction. The application can give only a DWORD-aligned address.</br>
  33068. <br/>
  33069. <br>When Scatter/Gather DMA mode is not enabled, the application programs the start address value in this field.</br>
  33070. <br/>
  33071. <br>When Scatter/Gather DMA mode is enabled, this field indicates the base pointer for the descriptor list.</br>
  33072. <br/>
  33073. </comment>
  33074. </bits>
  33075. </reg>
  33076. <reg name="dtxfsts0" protect="r">
  33077. <comment>Device IN Endpoint Transmit FIFO Status Register 0</comment>
  33078. <bits access="r" name="ineptxfspcavail" pos="15:0" rst="3759">
  33079. <comment>
  33080. <br>IN Endpoint TxFIFO Space Avail (INEPTxFSpcAvail)</br>
  33081. <br/>
  33082. <br>Indicates the amount of free space available in the Endpoint TxFIFO.</br>
  33083. <br/>
  33084. <br>Values are in terms of 32-bit words.</br>
  33085. <br> - 16'h0: Endpoint TxFIFO is full</br>
  33086. <br> - 16'h1: 1 word available</br>
  33087. <br> - 16'h2: 2 words available</br>
  33088. <br> - 16'hn: n words available (where 0 n 32,768)</br>
  33089. <br> - 16'h8000: 32,768 words available</br>
  33090. <br> - Others: Reserved</br>
  33091. </comment>
  33092. </bits>
  33093. </reg>
  33094. <reg name="diepdmab0" protect="r">
  33095. <comment>Device IN Endpoint 16 Buffer Address Register</comment>
  33096. <bits access="r" name="dmabufferaddr" pos="31:0" rst="0">
  33097. <comment>
  33098. <br>Holds the current buffer address.This register is updated as and when the data</br>
  33099. <br>transfer for the corresponding end point is in progress.</br>
  33100. <br/>
  33101. <br>This register is present only in Scatter/Gather DMA mode. Otherwise this field is reserved.</br>
  33102. </comment>
  33103. </bits>
  33104. </reg>
  33105. <reg name="diepctl1" protect="rw">
  33106. <comment>Device Control IN Endpoint 1 Control Register
  33107. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  33108. <bits access="rw" name="mps" pos="10:0" rst="0">
  33109. <comment>
  33110. <br>Maximum Packet Size (MPS)</br>
  33111. <br/>
  33112. <br>The application must program this field with the maximum packet size for the current logical endpoint. This value is in bytes.</br>
  33113. </comment>
  33114. </bits>
  33115. <bits access="rw" name="usbactep" pos="15" rst="0">
  33116. <comment>
  33117. <br>USB Active Endpoint (USBActEP)</br>
  33118. <br/>
  33119. <br>Indicates whether this endpoint is active in the current configuration and interface. The</br>
  33120. <br>core clears this bit for all endpoints (other than EP 0) after detecting a USB reset. After</br>
  33121. <br>receiving the SetConfiguration and SetInterface commands, the application must</br>
  33122. <br>program endpoint registers accordingly and set this bit.</br>
  33123. </comment>
  33124. </bits>
  33125. <bits access="r" name="dpid" pos="16" rst="0">
  33126. <comment>
  33127. <br/>
  33128. <br>Endpoint Data PID (DPID)</br>
  33129. <br/>
  33130. <br>Applies to interrupt/bulk IN and OUT endpoints only.</br>
  33131. <br/>
  33132. <br>Contains the PID of the packet to be received or transmitted on this endpoint. The</br>
  33133. <br>application must program the PID of the first packet to be received or transmitted on</br>
  33134. <br>this endpoint, after the endpoint is activated. The applications use the SetD1PID and</br>
  33135. <br>SetD0PID fields of this register to program either DATA0 or DATA1 PID.</br>
  33136. <br> - 1'b0: DATA0</br>
  33137. <br> - 1'b1: DATA1</br>
  33138. <br>This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather</br>
  33139. <br>DMA mode.</br>
  33140. <br/>
  33141. <br>Even/Odd (Micro)Frame (EO_FrNum)</br>
  33142. <br/>
  33143. <br>In non-Scatter/Gather DMA mode:</br>
  33144. <br/>
  33145. <br>Applies to isochronous IN and OUT endpoints only.</br>
  33146. <br/>
  33147. <br>Indicates the (micro)frame number in which the core transmits/receives isochronous</br>
  33148. <br>data for this endpoint. The application must program the even/odd (micro)frame</br>
  33149. <br>number in which it intends to transmit/receive isochronous data for this endpoint using</br>
  33150. <br>the SetEvnFr and SetOddFr fields in this register.</br>
  33151. <br> - 1'b0: Even (micro)frame</br>
  33152. <br> - 1'b1: Odd (micro)frame</br>
  33153. <br>When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number</br>
  33154. <br>in which to send data is provided in the transmit descriptor structure. The frame in</br>
  33155. <br>which data is received is updated in receive descriptor structure. </br>
  33156. </comment>
  33157. </bits>
  33158. <bits access="r" name="naksts" pos="17" rst="0">
  33159. <comment>
  33160. <br>NAK Status (NAKSts)</br>
  33161. <br/>
  33162. <br>Indicates the following:</br>
  33163. <br> - 1'b0: The core is transmitting non-NAK handshakes based on the FIFO status.</br>
  33164. <br> - 1'b1: The core is transmitting NAK handshakes on this endpoint.</br>
  33165. <br>When either the application or the core sets this bit:</br>
  33166. <br> - The core stops receiving any data on an OUT endpoint, even if there is space in the RxFIFO to accommodate the incoming packet.</br>
  33167. <br> - For non-isochronous IN endpoints: The core stops transmitting any data on an IN endpoint, even if there data is available in the TxFIFO.</br>
  33168. <br> - For isochronous IN endpoints: The core sends out a zero-length data packet, even if there data is available in the TxFIFO.</br>
  33169. <br>Irrespective of this bit's setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  33170. </comment>
  33171. </bits>
  33172. <bits access="rw" name="eptype" pos="19:18" rst="0">
  33173. <comment>
  33174. <br>Endpoint Type (EPType)</br>
  33175. <br>This is the transfer type supported by this logical endpoint.</br>
  33176. <br> - 2'b00: Control</br>
  33177. <br> - 2'b01: Isochronous</br>
  33178. <br> - 2'b10: Bulk</br>
  33179. <br> - 2'b11: Interrupt</br>
  33180. </comment>
  33181. </bits>
  33182. <bits access="rw" name="stall" pos="21" rst="0">
  33183. <comment>
  33184. <br>STALL Handshake (Stall)</br>
  33185. <br/>
  33186. <br>Applies to non-control, non-isochronous IN and OUT endpoints only.</br>
  33187. <br/>
  33188. <br>The application sets this bit to stall all tokens from the USB host to this endpoint. If a</br>
  33189. <br>NAK bit, Global Non-periodic IN NAK, or Global OUT NAK is set along with this bit, the</br>
  33190. <br>STALL bit takes priority. Only the application can clear this bit, never the core.</br>
  33191. <br/>
  33192. <br>Applies to control endpoints only.</br>
  33193. <br/>
  33194. <br>The application can only set this bit, and the core clears it, when a SETUP token is</br>
  33195. <br>received for this endpoint. If a NAK bit, Global Non-periodic IN NAK, or Global OUT</br>
  33196. <br>NAK is set along with this bit, the STALL bit takes priority. Irrespective of this bit's</br>
  33197. <br>setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  33198. <br/>
  33199. </comment>
  33200. </bits>
  33201. <bits access="rw" name="txfnum" pos="25:22" rst="0">
  33202. <comment>
  33203. <br>TxFIFO Number (TxFNum)</br>
  33204. <br/>
  33205. <br>Shared FIFO Operation non-periodic endpoints must set this bit to zero. Periodic</br>
  33206. <br>endpoints must map this to the corresponding Periodic TxFIFO number.</br>
  33207. <br> - 4'h0: Non-Periodic TxFIFO</br>
  33208. <br> - Others: Specified Periodic TxFIFO.number</br>
  33209. <br>Note: An interrupt IN endpoint can be configured as a non-periodic endpoint for</br>
  33210. <br>applications such as mass storage. The core treats an IN endpoint as a non-periodic</br>
  33211. <br>endpoint if the TxFNum field is set to 0. Otherwise, a separate periodic FIFO must be</br>
  33212. <br>allocated for an interrupt IN endpoint, and the number of this</br>
  33213. <br>FIFO must be programmed into the TxFNum field. Configuring an interrupt IN</br>
  33214. <br>endpoint as a non-periodic endpoint saves the extra periodic FIFO area.</br>
  33215. <br/>
  33216. <br>Dedicated FIFO Operation: These bits specify the FIFO number associated with this</br>
  33217. <br>endpoint. Each active IN endpoint must be programmed to a separate FIFO number.</br>
  33218. <br>This field is valid only for IN endpoints.</br>
  33219. </comment>
  33220. </bits>
  33221. <bits access="w" name="cnak" pos="26" rst="0">
  33222. <comment>
  33223. <br>Clear NAK (CNAK)</br>
  33224. <br/>
  33225. <br>A write to this bit clears the NAK bit for the endpoint.</br>
  33226. </comment>
  33227. </bits>
  33228. <bits access="w" name="snak" pos="27" rst="0">
  33229. <comment>
  33230. <br>Set NAK (SNAK)</br>
  33231. <br/>
  33232. <br>A write to this bit sets the NAK bit for the endpoint.</br>
  33233. <br/>
  33234. <br>Using this bit, the application can control the transmission of NAK handshakes on an endpoint. The core can also Set this bit for an endpoint after a SETUP packet is received on that endpoint.</br>
  33235. </comment>
  33236. </bits>
  33237. <bits access="w" name="setd0pid" pos="28" rst="0">
  33238. <comment>
  33239. <br>SetD0PID</br>
  33240. <br> - Set DATA0 PID (SetD0PID)</br>
  33241. <br> -- Applies to interrupt/bulk IN and OUT endpoints only.</br>
  33242. <br> -- Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA0.</br>
  33243. <br> -- This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  33244. <br>In non-Scatter/Gather DMA mode: Set Even (micro)Frame (SetEvenFr)</br>
  33245. <br> -- Applies to isochronous IN and OUT endpoints only.</br>
  33246. <br> -- Writing to this field sets the Even/Odd (micro)Frame (EO_FrNum) field to even (micro)Frame.</br>
  33247. <br>When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is in the transmit descriptor structure. The frame in which to</br>
  33248. <br>receive data is updated in receive descriptor structure.</br>
  33249. </comment>
  33250. </bits>
  33251. <bits access="w" name="setd1pid" pos="29" rst="0">
  33252. <comment>
  33253. <br>SetD1PID</br>
  33254. <br> - Set DATA1 PID (SetD1PID)</br>
  33255. <br> -- Applies to interrupt and bulk IN and OUT endpoints only.</br>
  33256. <br> -- Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA1.</br>
  33257. <br> -- This field is applicable both for Scatter-Gather DMA mode and non Scatter-Gather DMA mode.</br>
  33258. <br> - Set odd (micro)Frame (SetOddFr)</br>
  33259. <br> -- Applies to isochronous IN and OUT endpoints only.</br>
  33260. <br> -- Writing to this field sets the even and odd (micro)Frame (EO_FrNum) field to odd (micro)Frame.</br>
  33261. <br> -- This field is not applicable for Scatter-Gather DMA mode.</br>
  33262. </comment>
  33263. </bits>
  33264. <bits access="rw" name="epdis" pos="30" rst="0">
  33265. <comment>
  33266. <br>Endpoint Disable (EPDis)</br>
  33267. <br/>
  33268. <br>Applies to IN and OUT endpoints.</br>
  33269. <br/>
  33270. <br>The application sets this bit to stop transmitting/receiving data on an endpoint, even</br>
  33271. <br>before the transfer for that endpoint is complete. The application must wait for the</br>
  33272. <br>Endpoint Disabled interrupt before treating the endpoint as disabled. The core clears</br>
  33273. <br>this bit before setting the Endpoint Disabled interrupt. The application must set this bit</br>
  33274. <br>only if Endpoint Enable is already set for this endpoint.</br>
  33275. </comment>
  33276. </bits>
  33277. <bits access="rw" name="epena" pos="31" rst="0">
  33278. <comment>
  33279. <br>Endpoint Enable (EPEna)</br>
  33280. <br/>
  33281. <br>Applies to IN and OUT endpoints.</br>
  33282. <br> - When Scatter/Gather DMA mode is enabled,</br>
  33283. <br> -- For IN endpoints this bit indicates that the descriptor structure and data buffer with data ready to transmit is setup.</br>
  33284. <br> -- For OUT endpoint it indicates that the descriptor structure and data buffer to receive data is setup.</br>
  33285. <br> - When Scatter/Gather DMA mode is enabled such as for buffer-pointer based DMA mode:</br>
  33286. <br> -- For IN endpoints, this bit indicates that data is ready to be transmitted on the endpoint.</br>
  33287. <br> -- For OUT endpoints, this bit indicates that the application has allocated the memory to start receiving data from the USB.</br>
  33288. <br> - The core clears this bit before setting any of the following interrupts on this endpoint:</br>
  33289. <br> -- SETUP Phase Done</br>
  33290. <br> -- Endpoint Disabled</br>
  33291. <br> -- Transfer Completed</br>
  33292. <br>Note: For control endpoints in DMA mode, this bit must be set to be able to transfer SETUP data packets in memory.</br>
  33293. </comment>
  33294. </bits>
  33295. </reg>
  33296. <hole size="32"/>
  33297. <reg name="diepint1" protect="rw">
  33298. <comment>Device IN Endpoint 1 Interrupt Register
  33299. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  33300. <bits access="rw" name="xfercompl" pos="0" rst="0">
  33301. <comment>
  33302. <br>Transfer Completed Interrupt (XferCompl)</br>
  33303. <br/>
  33304. <br>Applies to IN and OUT endpoints.</br>
  33305. <br> - When Scatter/Gather DMA mode is enabled</br>
  33306. <br> -- For IN endpoint this field indicates that the requested data from the descriptor is moved from external system memory to internal FIFO.</br>
  33307. <br> -- For OUT endpoint this field indicates that the requested data from the internal FIFO is moved to external system memory. This interrupt is generated only when the corresponding endpoint descriptor is closed, and the IOC bit for the corresponding descriptor is set.</br>
  33308. <br> - When Scatter/Gather DMA mode is disabled, this field indicates that the programmed transfer is complete on the AHB as well as on the USB, for this endpoint.</br>
  33309. </comment>
  33310. </bits>
  33311. <bits access="rw" name="epdisbld" pos="1" rst="0">
  33312. <comment>
  33313. <br>Endpoint Disabled Interrupt (EPDisbld)</br>
  33314. <br/>
  33315. <br>Applies to IN and OUT endpoints.</br>
  33316. <br/>
  33317. <br>This bit indicates that the endpoint is disabled per the application's request.</br>
  33318. </comment>
  33319. </bits>
  33320. <bits access="rw" name="ahberr" pos="2" rst="0">
  33321. <comment>
  33322. <br>AHB Error (AHBErr)</br>
  33323. <br/>
  33324. <br>Applies to IN and OUT endpoints.</br>
  33325. <br/>
  33326. <br>This is generated only in Internal DMA mode when there is an</br>
  33327. <br>AHB error during an AHB read/write. The application can read</br>
  33328. <br>the corresponding endpoint DMA address register to get the</br>
  33329. <br>error address.</br>
  33330. </comment>
  33331. </bits>
  33332. <bits access="rw" name="timeout" pos="3" rst="0">
  33333. <comment>
  33334. <br>Timeout Condition (TimeOUT)</br>
  33335. <br> - In shared TX FIFO mode, applies to non-isochronous IN endpoints only.</br>
  33336. <br> - In dedicated FIFO mode, applies only to Control IN endpoints.</br>
  33337. <br> - In Scatter/Gather DMA mode, the TimeOUT interrupt is not asserted.</br>
  33338. <br>Indicates that the core has detected a timeout condition on the USB for the last IN token on this endpoint.</br>
  33339. </comment>
  33340. </bits>
  33341. <bits access="rw" name="intkntxfemp" pos="4" rst="0">
  33342. <comment>
  33343. <br>IN Token Received When TxFIFO is Empty (INTknTXFEmp)</br>
  33344. <br/>
  33345. <br>Applies to non-periodic IN endpoints only.</br>
  33346. <br/>
  33347. <br>Indicates that an IN token was received when the associated TxFIFO (periodic/non-periodic) was empty. This interrupt is asserted on the endpoint for which the IN token was received.</br>
  33348. </comment>
  33349. </bits>
  33350. <bits access="rw" name="intknepmis" pos="5" rst="0">
  33351. <comment>
  33352. <br>IN Token Received with EP Mismatch (INTknEPMis)</br>
  33353. <br/>
  33354. <br>Applies to non-periodic IN endpoints only.</br>
  33355. <br/>
  33356. <br>Indicates that the data in the top of the non-periodic TxFIFO belongs to an endpoint other than the one for which the IN token was received. This interrupt is asserted on the endpoint for which the IN token was received.</br>
  33357. </comment>
  33358. </bits>
  33359. <bits access="rw" name="inepnakeff" pos="6" rst="0">
  33360. <comment>
  33361. <br>IN Endpoint NAK Effective (INEPNakEff)</br>
  33362. <br/>
  33363. <br>Applies to periodic IN endpoints only.</br>
  33364. <br/>
  33365. <br>This bit can be cleared when the application clears the IN endpoint NAK by writing to DIEPCTLn.CNAK.</br>
  33366. <br/>
  33367. <br>This interrupt indicates that the core has sampled the NAK bit</br>
  33368. <br/>
  33369. <br>Set (either by the application or by the core). The interrupt indicates that the IN endpoint NAK bit Set by the application has taken effect in the core.</br>
  33370. <br/>
  33371. <br>This interrupt does not guarantee that a NAK handshake is sent on the USB. A STALL bit takes priority over a NAK bit.</br>
  33372. </comment>
  33373. </bits>
  33374. <bits access="r" name="txfemp" pos="7" rst="1">
  33375. <comment>
  33376. <br>Transmit FIFO Empty (TxFEmp)</br>
  33377. <br/>
  33378. <br>This bit is valid only for IN endpoints</br>
  33379. <br/>
  33380. <br>This interrupt is asserted when the TxFIFO for this endpoint is</br>
  33381. <br>either half or completely empty. The half or completely empty</br>
  33382. <br>status is determined by the TxFIFO Empty Level bit in the Core</br>
  33383. <br>AHB Configuration register (GAHBCFG.NPTxFEmpLvl)).</br>
  33384. </comment>
  33385. </bits>
  33386. <bits access="rw" name="txfifoundrn" pos="8" rst="0">
  33387. <comment>
  33388. <br>Fifo Underrun (TxfifoUndrn)</br>
  33389. <br/>
  33390. <br>Applies to IN endpoints Only</br>
  33391. <br/>
  33392. <br>This bit is valid only If thresholding is enabled. The core generates this interrupt when</br>
  33393. <br>it detects a transmit FIFO underrun condition for this endpoint.</br>
  33394. </comment>
  33395. </bits>
  33396. <bits access="rw" name="bnaintr" pos="9" rst="0">
  33397. <comment>
  33398. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  33399. <br/>
  33400. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  33401. <br/>
  33402. <br>The core generates this interrupt when the descriptor accessed is not ready for the Core to process, such as Host busy or DMA done.</br>
  33403. </comment>
  33404. </bits>
  33405. <bits access="rw" name="pktdrpsts" pos="11" rst="0">
  33406. <comment>
  33407. <br>Packet Drop Status (PktDrpSts)</br>
  33408. <br/>
  33409. <br>This bit indicates to the application that an ISOC OUT packet has been dropped. This</br>
  33410. <br>bit does not have an associated mask bit and does not generate an interrupt.</br>
  33411. <br/>
  33412. <br>Dependency: This bit is valid in non Scatter/Gather DMA mode when periodic transfer</br>
  33413. <br>interrupt feature is selected.</br>
  33414. </comment>
  33415. </bits>
  33416. <bits access="rw" name="bbleerr" pos="12" rst="0">
  33417. <comment>
  33418. <br>NAK Interrupt (BbleErr)</br>
  33419. <br/>
  33420. <br>The core generates this interrupt when babble is received for the endpoint.</br>
  33421. </comment>
  33422. </bits>
  33423. <bits access="rw" name="nakintrpt" pos="13" rst="0">
  33424. <comment>
  33425. <br>NAK Interrupt (NAKInterrupt)</br>
  33426. <br/>
  33427. <br>The core generates this interrupt when a NAK is transmitted or received by the device.</br>
  33428. <br>In case of isochronous IN endpoints the interrupt gets generated when a zero length</br>
  33429. <br>packet is transmitted due to un-availability of data in the TXFifo.</br>
  33430. </comment>
  33431. </bits>
  33432. <bits access="rw" name="nyetintrpt" pos="14" rst="0">
  33433. <comment>
  33434. <br>NYET Interrupt (NYETIntrpt)</br>
  33435. <br/>
  33436. <br>The core generates this interrupt when a NYET response is transmitted for a non isochronous OUT endpoint.</br>
  33437. </comment>
  33438. </bits>
  33439. </reg>
  33440. <hole size="32"/>
  33441. <reg name="dieptsiz1" protect="rw">
  33442. <comment>Device IN Endpoint 1 Transfer Size Register
  33443. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  33444. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  33445. <comment>
  33446. <br>Transfer Size (XferSize)</br>
  33447. <br/>
  33448. <br>Indicates the transfer size in bytes for endpoint 0. The core</br>
  33449. <br>interrupts the application only after it has exhausted the transfer</br>
  33450. <br>size amount of data. The transfer size can be Set to the</br>
  33451. <br>maximum packet size of the endpoint, to be interrupted at the</br>
  33452. <br>end of each packet.</br>
  33453. <br/>
  33454. <br>The core decrements this field every time a packet from the</br>
  33455. <br>external memory is written to the TxFIFO.</br>
  33456. </comment>
  33457. </bits>
  33458. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  33459. <comment>
  33460. <br>Packet Count (PktCnt)</br>
  33461. <br/>
  33462. <br>Indicates the total number of USB packets that constitute the Transfer Size amount of data for endpoint 0.</br>
  33463. <br/>
  33464. <br>This field is decremented every time a packet (maximum size or short packet) is read from the TxFIFO.</br>
  33465. </comment>
  33466. </bits>
  33467. <bits access="rw" name="mc" pos="30:29" rst="0">
  33468. <comment>
  33469. <br>MC</br>
  33470. <br/>
  33471. <br>Applies to IN endpoints only.</br>
  33472. <br/>
  33473. <br>For periodic IN endpoints, this field indicates the number of packets that must be transmitted per microframe on the USB. The core uses this field to calculate the data PID for isochronous IN endpoints. </br>
  33474. <br> - 2'b01: 1 packet </br>
  33475. <br> - 2'b10: 2 packets </br>
  33476. <br> - 2'b11: 3 packets </br>
  33477. <br>For non-periodic IN endpoints, this field is valid only in Internal DMA mode. It specifies the number of packets the core must fetchfor an IN endpoint before it switches to the endpoint pointed to by the Next Endpoint field of the Device Endpoint-n Control register (DIEPCTLn.NextEp)</br>
  33478. </comment>
  33479. </bits>
  33480. </reg>
  33481. <reg name="diepdma1" protect="rw">
  33482. <comment>Device IN Endpoint 1 DMA Address Register
  33483. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  33484. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  33485. <comment>
  33486. <br>Holds the start address of the external memory for storing or fetching endpoint</br>
  33487. <br>data.</br>
  33488. <br/>
  33489. <br>Note: For control endpoints, this field stores control OUT data packets as well as</br>
  33490. <br>SETUP transaction data packets. When more than three SETUP packets are</br>
  33491. <br>received back-to-back, the SETUP data packet in the memory is overwritten.</br>
  33492. <br/>
  33493. <br>This register is incremented on every AHB transaction. The application can give</br>
  33494. <br>only a DWORD-aligned address.</br>
  33495. <br> - When Scatter/Gather DMA mode is not enabled, the application programs the start address value in this field.</br>
  33496. <br> - When Scatter/Gather DMA mode is enabled, this field indicates the base pointer for the descriptor list.</br>
  33497. <br/>
  33498. </comment>
  33499. </bits>
  33500. </reg>
  33501. <reg name="dtxfsts1" protect="r">
  33502. <comment>Device IN Endpoint Transmit FIFO Status Register 1
  33503. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  33504. <bits access="r" name="ineptxfspcavail" pos="15:0" rst="3759">
  33505. <comment>
  33506. <br>IN Endpoint TxFIFO Space Avail (INEPTxFSpcAvail)</br>
  33507. <br/>
  33508. <br>Indicates the amount of free space available in the Endpoint TxFIFO.</br>
  33509. <br/>
  33510. <br>Values are in terms of 32-bit words.</br>
  33511. <br> - 16'h0: Endpoint TxFIFO is full</br>
  33512. <br> - 16'h1: 1 word available</br>
  33513. <br> - 16'h2: 2 words available</br>
  33514. <br> - 16'hn: n words available (where 0 n 32,768)</br>
  33515. <br> - 16'h8000: 32,768 words available</br>
  33516. <br> - Others: Reserved</br>
  33517. </comment>
  33518. </bits>
  33519. </reg>
  33520. <reg name="diepdmab1" protect="r">
  33521. <comment>Device IN Endpoint 1 Buffer Address Register
  33522. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  33523. <bits access="r" name="dmabufferaddr" pos="31:0" rst="0">
  33524. <comment>
  33525. <br>Holds the current buffer address.This register is updated as and when the data</br>
  33526. <br>transfer for the corresponding end point is in progress.</br>
  33527. <br/>
  33528. <br>This register is present only in Scatter/Gather DMA mode. Otherwise this field is</br>
  33529. <br>reserved.</br>
  33530. </comment>
  33531. </bits>
  33532. </reg>
  33533. <reg name="diepctl2" protect="rw">
  33534. <comment>Device Control IN Endpoint 2 Control Register
  33535. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  33536. <bits access="rw" name="mps" pos="10:0" rst="0">
  33537. <comment>
  33538. <br>Maximum Packet Size (MPS)</br>
  33539. <br/>
  33540. <br>The application must program this field with the maximum packet size for the current logical endpoint. This value is in bytes.</br>
  33541. </comment>
  33542. </bits>
  33543. <bits access="rw" name="usbactep" pos="15" rst="0">
  33544. <comment>
  33545. <br>USB Active Endpoint (USBActEP)</br>
  33546. <br/>
  33547. <br>Indicates whether this endpoint is active in the current configuration and interface. The</br>
  33548. <br>core clears this bit for all endpoints (other than EP 0) after detecting a USB reset. After</br>
  33549. <br>receiving the SetConfiguration and SetInterface commands, the application must</br>
  33550. <br>program endpoint registers accordingly and set this bit.</br>
  33551. </comment>
  33552. </bits>
  33553. <bits access="r" name="dpid" pos="16" rst="0">
  33554. <comment>
  33555. <br/>
  33556. <br>Endpoint Data PID (DPID)</br>
  33557. <br/>
  33558. <br>Applies to interrupt/bulk IN and OUT endpoints only.</br>
  33559. <br/>
  33560. <br>Contains the PID of the packet to be received or transmitted on this endpoint. The</br>
  33561. <br>application must program the PID of the first packet to be received or transmitted on</br>
  33562. <br>this endpoint, after the endpoint is activated. The applications use the SetD1PID and</br>
  33563. <br>SetD0PID fields of this register to program either DATA0 or DATA1 PID.</br>
  33564. <br> - 1'b0: DATA0</br>
  33565. <br> - 1'b1: DATA1</br>
  33566. <br>This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather</br>
  33567. <br>DMA mode.</br>
  33568. <br/>
  33569. <br>Even/Odd (Micro)Frame (EO_FrNum)</br>
  33570. <br/>
  33571. <br>In non-Scatter/Gather DMA mode:</br>
  33572. <br/>
  33573. <br>Applies to isochronous IN and OUT endpoints only.</br>
  33574. <br/>
  33575. <br>Indicates the (micro)frame number in which the core transmits/receives isochronous</br>
  33576. <br>data for this endpoint. The application must program the even/odd (micro)frame</br>
  33577. <br>number in which it intends to transmit/receive isochronous data for this endpoint using</br>
  33578. <br>the SetEvnFr and SetOddFr fields in this register.</br>
  33579. <br> - 1'b0: Even (micro)frame</br>
  33580. <br> - 1'b1: Odd (micro)frame</br>
  33581. <br>When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number</br>
  33582. <br>in which to send data is provided in the transmit descriptor structure. The frame in</br>
  33583. <br>which data is received is updated in receive descriptor structure. </br>
  33584. </comment>
  33585. </bits>
  33586. <bits access="r" name="naksts" pos="17" rst="0">
  33587. <comment>
  33588. <br>NAK Status (NAKSts)</br>
  33589. <br/>
  33590. <br>Indicates the following:</br>
  33591. <br> - 1'b0: The core is transmitting non-NAK handshakes based on the FIFO status.</br>
  33592. <br> - 1'b1: The core is transmitting NAK handshakes on this endpoint.</br>
  33593. <br>When either the application or the core sets this bit:</br>
  33594. <br> - The core stops receiving any data on an OUT endpoint, even if there is space in the RxFIFO to accommodate the incoming packet.</br>
  33595. <br> - For non-isochronous IN endpoints: The core stops transmitting any data on an IN endpoint, even if there data is available in the TxFIFO.</br>
  33596. <br> - For isochronous IN endpoints: The core sends out a zero-length data packet, even if there data is available in the TxFIFO.</br>
  33597. <br>Irrespective of this bit's setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  33598. </comment>
  33599. </bits>
  33600. <bits access="rw" name="eptype" pos="19:18" rst="0">
  33601. <comment>
  33602. <br>Endpoint Type (EPType)</br>
  33603. <br>This is the transfer type supported by this logical endpoint.</br>
  33604. <br> - 2'b00: Control</br>
  33605. <br> - 2'b01: Isochronous</br>
  33606. <br> - 2'b10: Bulk</br>
  33607. <br> - 2'b11: Interrupt</br>
  33608. </comment>
  33609. </bits>
  33610. <bits access="rw" name="stall" pos="21" rst="0">
  33611. <comment>
  33612. <br>STALL Handshake (Stall)</br>
  33613. <br/>
  33614. <br>Applies to non-control, non-isochronous IN and OUT endpoints only.</br>
  33615. <br/>
  33616. <br>The application sets this bit to stall all tokens from the USB host to this endpoint. If a</br>
  33617. <br>NAK bit, Global Non-periodic IN NAK, or Global OUT NAK is set along with this bit, the</br>
  33618. <br>STALL bit takes priority. Only the application can clear this bit, never the core.</br>
  33619. <br/>
  33620. <br>Applies to control endpoints only.</br>
  33621. <br/>
  33622. <br>The application can only set this bit, and the core clears it, when a SETUP token is</br>
  33623. <br>received for this endpoint. If a NAK bit, Global Non-periodic IN NAK, or Global OUT</br>
  33624. <br>NAK is set along with this bit, the STALL bit takes priority. Irrespective of this bit's</br>
  33625. <br>setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  33626. <br/>
  33627. </comment>
  33628. </bits>
  33629. <bits access="rw" name="txfnum" pos="25:22" rst="0">
  33630. <comment>
  33631. <br>TxFIFO Number (TxFNum)</br>
  33632. <br/>
  33633. <br>Shared FIFO Operation non-periodic endpoints must set this bit to zero. Periodic</br>
  33634. <br>endpoints must map this to the corresponding Periodic TxFIFO number.</br>
  33635. <br> - 4'h0: Non-Periodic TxFIFO</br>
  33636. <br> - Others: Specified Periodic TxFIFO.number</br>
  33637. <br>Note: An interrupt IN endpoint can be configured as a non-periodic endpoint for</br>
  33638. <br>applications such as mass storage. The core treats an IN endpoint as a non-periodic</br>
  33639. <br>endpoint if the TxFNum field is set to 0. Otherwise, a separate periodic FIFO must be</br>
  33640. <br>allocated for an interrupt IN endpoint, and the number of this</br>
  33641. <br>FIFO must be programmed into the TxFNum field. Configuring an interrupt IN</br>
  33642. <br>endpoint as a non-periodic endpoint saves the extra periodic FIFO area.</br>
  33643. <br/>
  33644. <br>Dedicated FIFO Operation: These bits specify the FIFO number associated with this</br>
  33645. <br>endpoint. Each active IN endpoint must be programmed to a separate FIFO number.</br>
  33646. <br>This field is valid only for IN endpoints.</br>
  33647. </comment>
  33648. </bits>
  33649. <bits access="w" name="cnak" pos="26" rst="0">
  33650. <comment>
  33651. <br>Clear NAK (CNAK)</br>
  33652. <br/>
  33653. <br>A write to this bit clears the NAK bit for the endpoint.</br>
  33654. </comment>
  33655. </bits>
  33656. <bits access="w" name="snak" pos="27" rst="0">
  33657. <comment>
  33658. <br>Set NAK (SNAK)</br>
  33659. <br/>
  33660. <br>A write to this bit sets the NAK bit for the endpoint.</br>
  33661. <br/>
  33662. <br>Using this bit, the application can control the transmission of NAK handshakes on an endpoint. The core can also Set this bit for an endpoint after a SETUP packet is received on that endpoint.</br>
  33663. </comment>
  33664. </bits>
  33665. <bits access="w" name="setd0pid" pos="28" rst="0">
  33666. <comment>
  33667. <br>SetD0PID</br>
  33668. <br> - Set DATA0 PID (SetD0PID)</br>
  33669. <br> -- Applies to interrupt/bulk IN and OUT endpoints only.</br>
  33670. <br> -- Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA0.</br>
  33671. <br> -- This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  33672. <br>In non-Scatter/Gather DMA mode: Set Even (micro)Frame (SetEvenFr)</br>
  33673. <br> -- Applies to isochronous IN and OUT endpoints only.</br>
  33674. <br> -- Writing to this field sets the Even/Odd (micro)Frame (EO_FrNum) field to even (micro)Frame.</br>
  33675. <br>When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is in the transmit descriptor structure. The frame in which to</br>
  33676. <br>receive data is updated in receive descriptor structure.</br>
  33677. </comment>
  33678. </bits>
  33679. <bits access="w" name="setd1pid" pos="29" rst="0">
  33680. <comment>
  33681. <br>SetD1PID</br>
  33682. <br> - Set DATA1 PID (SetD1PID)</br>
  33683. <br> -- Applies to interrupt and bulk IN and OUT endpoints only.</br>
  33684. <br> -- Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA1.</br>
  33685. <br> -- This field is applicable both for Scatter-Gather DMA mode and non Scatter-Gather DMA mode.</br>
  33686. <br> - Set odd (micro)Frame (SetOddFr)</br>
  33687. <br> -- Applies to isochronous IN and OUT endpoints only.</br>
  33688. <br> -- Writing to this field sets the even and odd (micro)Frame (EO_FrNum) field to odd (micro)Frame.</br>
  33689. <br> -- This field is not applicable for Scatter-Gather DMA mode.</br>
  33690. </comment>
  33691. </bits>
  33692. <bits access="rw" name="epdis" pos="30" rst="0">
  33693. <comment>
  33694. <br>Endpoint Disable (EPDis)</br>
  33695. <br/>
  33696. <br>Applies to IN and OUT endpoints.</br>
  33697. <br/>
  33698. <br>The application sets this bit to stop transmitting/receiving data on an endpoint, even</br>
  33699. <br>before the transfer for that endpoint is complete. The application must wait for the</br>
  33700. <br>Endpoint Disabled interrupt before treating the endpoint as disabled. The core clears</br>
  33701. <br>this bit before setting the Endpoint Disabled interrupt. The application must set this bit</br>
  33702. <br>only if Endpoint Enable is already set for this endpoint.</br>
  33703. </comment>
  33704. </bits>
  33705. <bits access="rw" name="epena" pos="31" rst="0">
  33706. <comment>
  33707. <br>Endpoint Enable (EPEna)</br>
  33708. <br/>
  33709. <br>Applies to IN and OUT endpoints.</br>
  33710. <br> - When Scatter/Gather DMA mode is enabled,</br>
  33711. <br> -- For IN endpoints this bit indicates that the descriptor structure and data buffer with data ready to transmit is setup.</br>
  33712. <br> -- For OUT endpoint it indicates that the descriptor structure and data buffer to receive data is setup.</br>
  33713. <br> - When Scatter/Gather DMA mode is enabled such as for buffer-pointer based DMA mode:</br>
  33714. <br> -- For IN endpoints, this bit indicates that data is ready to be transmitted on the endpoint.</br>
  33715. <br> -- For OUT endpoints, this bit indicates that the application has allocated the memory to start receiving data from the USB.</br>
  33716. <br> - The core clears this bit before setting any of the following interrupts on this endpoint:</br>
  33717. <br> -- SETUP Phase Done</br>
  33718. <br> -- Endpoint Disabled</br>
  33719. <br> -- Transfer Completed</br>
  33720. <br>Note: For control endpoints in DMA mode, this bit must be set to be able to transfer SETUP data packets in memory.</br>
  33721. </comment>
  33722. </bits>
  33723. </reg>
  33724. <hole size="32"/>
  33725. <reg name="diepint2" protect="rw">
  33726. <comment>Device IN Endpoint 2 Interrupt Register
  33727. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  33728. <bits access="rw" name="xfercompl" pos="0" rst="0">
  33729. <comment>
  33730. <br>Transfer Completed Interrupt (XferCompl)</br>
  33731. <br/>
  33732. <br>Applies to IN and OUT endpoints.</br>
  33733. <br> - When Scatter/Gather DMA mode is enabled</br>
  33734. <br> -- For IN endpoint this field indicates that the requested data from the descriptor is moved from external system memory to internal FIFO.</br>
  33735. <br> -- For OUT endpoint this field indicates that the requested data from the internal FIFO is moved to external system memory. This interrupt is generated only when the corresponding endpoint descriptor is closed, and the IOC bit for the corresponding descriptor is set.</br>
  33736. <br> - When Scatter/Gather DMA mode is disabled, this field indicates that the programmed transfer is complete on the AHB as well as on the USB, for this endpoint.</br>
  33737. </comment>
  33738. </bits>
  33739. <bits access="rw" name="epdisbld" pos="1" rst="0">
  33740. <comment>
  33741. <br>Endpoint Disabled Interrupt (EPDisbld)</br>
  33742. <br/>
  33743. <br>Applies to IN and OUT endpoints.</br>
  33744. <br/>
  33745. <br>This bit indicates that the endpoint is disabled per the application's request.</br>
  33746. </comment>
  33747. </bits>
  33748. <bits access="rw" name="ahberr" pos="2" rst="0">
  33749. <comment>
  33750. <br>AHB Error (AHBErr)</br>
  33751. <br/>
  33752. <br>Applies to IN and OUT endpoints.</br>
  33753. <br/>
  33754. <br>This is generated only in Internal DMA mode when there is an</br>
  33755. <br>AHB error during an AHB read/write. The application can read</br>
  33756. <br>the corresponding endpoint DMA address register to get the</br>
  33757. <br>error address.</br>
  33758. </comment>
  33759. </bits>
  33760. <bits access="rw" name="timeout" pos="3" rst="0">
  33761. <comment>
  33762. <br>Timeout Condition (TimeOUT)</br>
  33763. <br> - In shared TX FIFO mode, applies to non-isochronous IN endpoints only.</br>
  33764. <br> - In dedicated FIFO mode, applies only to Control IN endpoints.</br>
  33765. <br> - In Scatter/Gather DMA mode, the TimeOUT interrupt is not asserted.</br>
  33766. <br>Indicates that the core has detected a timeout condition on the USB for the last IN token on this endpoint.</br>
  33767. </comment>
  33768. </bits>
  33769. <bits access="rw" name="intkntxfemp" pos="4" rst="0">
  33770. <comment>
  33771. <br>IN Token Received When TxFIFO is Empty (INTknTXFEmp)</br>
  33772. <br/>
  33773. <br>Applies to non-periodic IN endpoints only.</br>
  33774. <br/>
  33775. <br>Indicates that an IN token was received when the associated TxFIFO (periodic/non-periodic) was empty. This interrupt is asserted on the endpoint for which the IN token was received.</br>
  33776. </comment>
  33777. </bits>
  33778. <bits access="rw" name="intknepmis" pos="5" rst="0">
  33779. <comment>
  33780. <br>IN Token Received with EP Mismatch (INTknEPMis)</br>
  33781. <br/>
  33782. <br>Applies to non-periodic IN endpoints only.</br>
  33783. <br/>
  33784. <br>Indicates that the data in the top of the non-periodic TxFIFO belongs to an endpoint other than the one for which the IN token was received. This interrupt is asserted on the endpoint for which the IN token was received.</br>
  33785. </comment>
  33786. </bits>
  33787. <bits access="rw" name="inepnakeff" pos="6" rst="0">
  33788. <comment>
  33789. <br>IN Endpoint NAK Effective (INEPNakEff)</br>
  33790. <br/>
  33791. <br>Applies to periodic IN endpoints only.</br>
  33792. <br/>
  33793. <br>This bit can be cleared when the application clears the IN endpoint NAK by writing to DIEPCTLn.CNAK.</br>
  33794. <br/>
  33795. <br>This interrupt indicates that the core has sampled the NAK bit</br>
  33796. <br/>
  33797. <br>Set (either by the application or by the core). The interrupt indicates that the IN endpoint NAK bit Set by the application has taken effect in the core.</br>
  33798. <br/>
  33799. <br>This interrupt does not guarantee that a NAK handshake is sent on the USB. A STALL bit takes priority over a NAK bit.</br>
  33800. </comment>
  33801. </bits>
  33802. <bits access="r" name="txfemp" pos="7" rst="1">
  33803. <comment>
  33804. <br>Transmit FIFO Empty (TxFEmp)</br>
  33805. <br/>
  33806. <br>This bit is valid only for IN endpoints</br>
  33807. <br/>
  33808. <br>This interrupt is asserted when the TxFIFO for this endpoint is</br>
  33809. <br>either half or completely empty. The half or completely empty</br>
  33810. <br>status is determined by the TxFIFO Empty Level bit in the Core</br>
  33811. <br>AHB Configuration register (GAHBCFG.NPTxFEmpLvl)).</br>
  33812. </comment>
  33813. </bits>
  33814. <bits access="rw" name="txfifoundrn" pos="8" rst="0">
  33815. <comment>
  33816. <br>Fifo Underrun (TxfifoUndrn)</br>
  33817. <br/>
  33818. <br>Applies to IN endpoints Only</br>
  33819. <br/>
  33820. <br>This bit is valid only If thresholding is enabled. The core generates this interrupt when</br>
  33821. <br>it detects a transmit FIFO underrun condition for this endpoint.</br>
  33822. </comment>
  33823. </bits>
  33824. <bits access="rw" name="bnaintr" pos="9" rst="0">
  33825. <comment>
  33826. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  33827. <br/>
  33828. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  33829. <br/>
  33830. <br>The core generates this interrupt when the descriptor accessed is not ready for the Core to process, such as Host busy or DMA done.</br>
  33831. </comment>
  33832. </bits>
  33833. <bits access="rw" name="pktdrpsts" pos="11" rst="0">
  33834. <comment>
  33835. <br>Packet Drop Status (PktDrpSts)</br>
  33836. <br/>
  33837. <br>This bit indicates to the application that an ISOC OUT packet has been dropped. This</br>
  33838. <br>bit does not have an associated mask bit and does not generate an interrupt.</br>
  33839. <br/>
  33840. <br>Dependency: This bit is valid in non Scatter/Gather DMA mode when periodic transfer</br>
  33841. <br>interrupt feature is selected.</br>
  33842. </comment>
  33843. </bits>
  33844. <bits access="rw" name="bbleerr" pos="12" rst="0">
  33845. <comment>
  33846. <br>NAK Interrupt (BbleErr)</br>
  33847. <br/>
  33848. <br>The core generates this interrupt when babble is received for the endpoint.</br>
  33849. </comment>
  33850. </bits>
  33851. <bits access="rw" name="nakintrpt" pos="13" rst="0">
  33852. <comment>
  33853. <br>NAK Interrupt (NAKInterrupt)</br>
  33854. <br/>
  33855. <br>The core generates this interrupt when a NAK is transmitted or received by the device.</br>
  33856. <br>In case of isochronous IN endpoints the interrupt gets generated when a zero length</br>
  33857. <br>packet is transmitted due to un-availability of data in the TXFifo.</br>
  33858. </comment>
  33859. </bits>
  33860. <bits access="rw" name="nyetintrpt" pos="14" rst="0">
  33861. <comment>
  33862. <br>NYET Interrupt (NYETIntrpt)</br>
  33863. <br/>
  33864. <br>The core generates this interrupt when a NYET response is transmitted for a non isochronous OUT endpoint.</br>
  33865. </comment>
  33866. </bits>
  33867. </reg>
  33868. <hole size="32"/>
  33869. <reg name="dieptsiz2" protect="rw">
  33870. <comment>Device IN Endpoint 2 Transfer Size Register
  33871. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  33872. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  33873. <comment>
  33874. <br>Transfer Size (XferSize)</br>
  33875. <br/>
  33876. <br>Indicates the transfer size in bytes for endpoint 0. The core</br>
  33877. <br>interrupts the application only after it has exhausted the transfer</br>
  33878. <br>size amount of data. The transfer size can be Set to the</br>
  33879. <br>maximum packet size of the endpoint, to be interrupted at the</br>
  33880. <br>end of each packet.</br>
  33881. <br/>
  33882. <br>The core decrements this field every time a packet from the</br>
  33883. <br>external memory is written to the TxFIFO.</br>
  33884. </comment>
  33885. </bits>
  33886. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  33887. <comment>
  33888. <br>Packet Count (PktCnt)</br>
  33889. <br/>
  33890. <br>Indicates the total number of USB packets that constitute the Transfer Size amount of data for endpoint 0.</br>
  33891. <br/>
  33892. <br>This field is decremented every time a packet (maximum size or short packet) is read from the TxFIFO.</br>
  33893. </comment>
  33894. </bits>
  33895. <bits access="rw" name="mc" pos="30:29" rst="0">
  33896. <comment>
  33897. <br>MC</br>
  33898. <br/>
  33899. <br>Applies to IN endpoints only.</br>
  33900. <br/>
  33901. <br>For periodic IN endpoints, this field indicates the number of packets that must be transmitted per microframe on the USB. The core uses this field to calculate the data PID for isochronous IN endpoints. </br>
  33902. <br> - 2'b01: 1 packet </br>
  33903. <br> - 2'b10: 2 packets </br>
  33904. <br> - 2'b11: 3 packets </br>
  33905. <br>For non-periodic IN endpoints, this field is valid only in Internal DMA mode. It specifies the number of packets the core must fetchfor an IN endpoint before it switches to the endpoint pointed to by the Next Endpoint field of the Device Endpoint-n Control register (DIEPCTLn.NextEp)</br>
  33906. </comment>
  33907. </bits>
  33908. </reg>
  33909. <reg name="diepdma2" protect="rw">
  33910. <comment>Device IN Endpoint 2 DMA Address Register
  33911. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  33912. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  33913. <comment>
  33914. <br>Holds the start address of the external memory for storing or fetching endpoint</br>
  33915. <br>data.</br>
  33916. <br/>
  33917. <br>Note: For control endpoints, this field stores control OUT data packets as well as</br>
  33918. <br>SETUP transaction data packets. When more than three SETUP packets are</br>
  33919. <br>received back-to-back, the SETUP data packet in the memory is overwritten.</br>
  33920. <br/>
  33921. <br>This register is incremented on every AHB transaction. The application can give</br>
  33922. <br>only a DWORD-aligned address.</br>
  33923. <br> - When Scatter/Gather DMA mode is not enabled, the application programs the start address value in this field.</br>
  33924. <br> - When Scatter/Gather DMA mode is enabled, this field indicates the base pointer for the descriptor list.</br>
  33925. <br/>
  33926. </comment>
  33927. </bits>
  33928. </reg>
  33929. <reg name="dtxfsts2" protect="r">
  33930. <comment>Device IN Endpoint Transmit FIFO Status Register 2
  33931. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  33932. <bits access="r" name="ineptxfspcavail" pos="15:0" rst="3759">
  33933. <comment>
  33934. <br>IN Endpoint TxFIFO Space Avail (INEPTxFSpcAvail)</br>
  33935. <br/>
  33936. <br>Indicates the amount of free space available in the Endpoint TxFIFO.</br>
  33937. <br/>
  33938. <br>Values are in terms of 32-bit words.</br>
  33939. <br> - 16'h0: Endpoint TxFIFO is full</br>
  33940. <br> - 16'h1: 1 word available</br>
  33941. <br> - 16'h2: 2 words available</br>
  33942. <br> - 16'hn: n words available (where 0 n 32,768)</br>
  33943. <br> - 16'h8000: 32,768 words available</br>
  33944. <br> - Others: Reserved</br>
  33945. </comment>
  33946. </bits>
  33947. </reg>
  33948. <reg name="diepdmab2" protect="r">
  33949. <comment>Device IN Endpoint 2 Buffer Address Register
  33950. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  33951. <bits access="r" name="dmabufferaddr" pos="31:0" rst="0">
  33952. <comment>
  33953. <br>Holds the current buffer address.This register is updated as and when the data</br>
  33954. <br>transfer for the corresponding end point is in progress.</br>
  33955. <br/>
  33956. <br>This register is present only in Scatter/Gather DMA mode. Otherwise this field is</br>
  33957. <br>reserved.</br>
  33958. </comment>
  33959. </bits>
  33960. </reg>
  33961. <reg name="diepctl3" protect="rw">
  33962. <comment>Device Control IN Endpoint 3 Control Register
  33963. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  33964. <bits access="rw" name="mps" pos="10:0" rst="0">
  33965. <comment>
  33966. <br>Maximum Packet Size (MPS)</br>
  33967. <br/>
  33968. <br>The application must program this field with the maximum packet size for the current logical endpoint. This value is in bytes.</br>
  33969. </comment>
  33970. </bits>
  33971. <bits access="rw" name="usbactep" pos="15" rst="0">
  33972. <comment>
  33973. <br>USB Active Endpoint (USBActEP)</br>
  33974. <br/>
  33975. <br>Indicates whether this endpoint is active in the current configuration and interface. The</br>
  33976. <br>core clears this bit for all endpoints (other than EP 0) after detecting a USB reset. After</br>
  33977. <br>receiving the SetConfiguration and SetInterface commands, the application must</br>
  33978. <br>program endpoint registers accordingly and set this bit.</br>
  33979. </comment>
  33980. </bits>
  33981. <bits access="r" name="dpid" pos="16" rst="0">
  33982. <comment>
  33983. <br/>
  33984. <br>Endpoint Data PID (DPID)</br>
  33985. <br/>
  33986. <br>Applies to interrupt/bulk IN and OUT endpoints only.</br>
  33987. <br/>
  33988. <br>Contains the PID of the packet to be received or transmitted on this endpoint. The</br>
  33989. <br>application must program the PID of the first packet to be received or transmitted on</br>
  33990. <br>this endpoint, after the endpoint is activated. The applications use the SetD1PID and</br>
  33991. <br>SetD0PID fields of this register to program either DATA0 or DATA1 PID.</br>
  33992. <br> - 1'b0: DATA0</br>
  33993. <br> - 1'b1: DATA1</br>
  33994. <br>This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather</br>
  33995. <br>DMA mode.</br>
  33996. <br/>
  33997. <br>Even/Odd (Micro)Frame (EO_FrNum)</br>
  33998. <br/>
  33999. <br>In non-Scatter/Gather DMA mode:</br>
  34000. <br/>
  34001. <br>Applies to isochronous IN and OUT endpoints only.</br>
  34002. <br/>
  34003. <br>Indicates the (micro)frame number in which the core transmits/receives isochronous</br>
  34004. <br>data for this endpoint. The application must program the even/odd (micro)frame</br>
  34005. <br>number in which it intends to transmit/receive isochronous data for this endpoint using</br>
  34006. <br>the SetEvnFr and SetOddFr fields in this register.</br>
  34007. <br> - 1'b0: Even (micro)frame</br>
  34008. <br> - 1'b1: Odd (micro)frame</br>
  34009. <br>When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number</br>
  34010. <br>in which to send data is provided in the transmit descriptor structure. The frame in</br>
  34011. <br>which data is received is updated in receive descriptor structure. </br>
  34012. </comment>
  34013. </bits>
  34014. <bits access="r" name="naksts" pos="17" rst="0">
  34015. <comment>
  34016. <br>NAK Status (NAKSts)</br>
  34017. <br/>
  34018. <br>Indicates the following:</br>
  34019. <br> - 1'b0: The core is transmitting non-NAK handshakes based on the FIFO status.</br>
  34020. <br> - 1'b1: The core is transmitting NAK handshakes on this endpoint.</br>
  34021. <br>When either the application or the core sets this bit:</br>
  34022. <br> - The core stops receiving any data on an OUT endpoint, even if there is space in the RxFIFO to accommodate the incoming packet.</br>
  34023. <br> - For non-isochronous IN endpoints: The core stops transmitting any data on an IN endpoint, even if there data is available in the TxFIFO.</br>
  34024. <br> - For isochronous IN endpoints: The core sends out a zero-length data packet, even if there data is available in the TxFIFO.</br>
  34025. <br>Irrespective of this bit's setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  34026. </comment>
  34027. </bits>
  34028. <bits access="rw" name="eptype" pos="19:18" rst="0">
  34029. <comment>
  34030. <br>Endpoint Type (EPType)</br>
  34031. <br>This is the transfer type supported by this logical endpoint.</br>
  34032. <br> - 2'b00: Control</br>
  34033. <br> - 2'b01: Isochronous</br>
  34034. <br> - 2'b10: Bulk</br>
  34035. <br> - 2'b11: Interrupt</br>
  34036. </comment>
  34037. </bits>
  34038. <bits access="rw" name="stall" pos="21" rst="0">
  34039. <comment>
  34040. <br>STALL Handshake (Stall)</br>
  34041. <br/>
  34042. <br>Applies to non-control, non-isochronous IN and OUT endpoints only.</br>
  34043. <br/>
  34044. <br>The application sets this bit to stall all tokens from the USB host to this endpoint. If a</br>
  34045. <br>NAK bit, Global Non-periodic IN NAK, or Global OUT NAK is set along with this bit, the</br>
  34046. <br>STALL bit takes priority. Only the application can clear this bit, never the core.</br>
  34047. <br/>
  34048. <br>Applies to control endpoints only.</br>
  34049. <br/>
  34050. <br>The application can only set this bit, and the core clears it, when a SETUP token is</br>
  34051. <br>received for this endpoint. If a NAK bit, Global Non-periodic IN NAK, or Global OUT</br>
  34052. <br>NAK is set along with this bit, the STALL bit takes priority. Irrespective of this bit's</br>
  34053. <br>setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  34054. <br/>
  34055. </comment>
  34056. </bits>
  34057. <bits access="rw" name="txfnum" pos="25:22" rst="0">
  34058. <comment>
  34059. <br>TxFIFO Number (TxFNum)</br>
  34060. <br/>
  34061. <br>Shared FIFO Operation non-periodic endpoints must set this bit to zero. Periodic</br>
  34062. <br>endpoints must map this to the corresponding Periodic TxFIFO number.</br>
  34063. <br> - 4'h0: Non-Periodic TxFIFO</br>
  34064. <br> - Others: Specified Periodic TxFIFO.number</br>
  34065. <br>Note: An interrupt IN endpoint can be configured as a non-periodic endpoint for</br>
  34066. <br>applications such as mass storage. The core treats an IN endpoint as a non-periodic</br>
  34067. <br>endpoint if the TxFNum field is set to 0. Otherwise, a separate periodic FIFO must be</br>
  34068. <br>allocated for an interrupt IN endpoint, and the number of this</br>
  34069. <br>FIFO must be programmed into the TxFNum field. Configuring an interrupt IN</br>
  34070. <br>endpoint as a non-periodic endpoint saves the extra periodic FIFO area.</br>
  34071. <br/>
  34072. <br>Dedicated FIFO Operation: These bits specify the FIFO number associated with this</br>
  34073. <br>endpoint. Each active IN endpoint must be programmed to a separate FIFO number.</br>
  34074. <br>This field is valid only for IN endpoints.</br>
  34075. </comment>
  34076. </bits>
  34077. <bits access="w" name="cnak" pos="26" rst="0">
  34078. <comment>
  34079. <br>Clear NAK (CNAK)</br>
  34080. <br/>
  34081. <br>A write to this bit clears the NAK bit for the endpoint.</br>
  34082. </comment>
  34083. </bits>
  34084. <bits access="w" name="snak" pos="27" rst="0">
  34085. <comment>
  34086. <br>Set NAK (SNAK)</br>
  34087. <br/>
  34088. <br>A write to this bit sets the NAK bit for the endpoint.</br>
  34089. <br/>
  34090. <br>Using this bit, the application can control the transmission of NAK handshakes on an endpoint. The core can also Set this bit for an endpoint after a SETUP packet is received on that endpoint.</br>
  34091. </comment>
  34092. </bits>
  34093. <bits access="w" name="setd0pid" pos="28" rst="0">
  34094. <comment>
  34095. <br>SetD0PID</br>
  34096. <br> - Set DATA0 PID (SetD0PID)</br>
  34097. <br> -- Applies to interrupt/bulk IN and OUT endpoints only.</br>
  34098. <br> -- Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA0.</br>
  34099. <br> -- This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  34100. <br>In non-Scatter/Gather DMA mode: Set Even (micro)Frame (SetEvenFr)</br>
  34101. <br> -- Applies to isochronous IN and OUT endpoints only.</br>
  34102. <br> -- Writing to this field sets the Even/Odd (micro)Frame (EO_FrNum) field to even (micro)Frame.</br>
  34103. <br>When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is in the transmit descriptor structure. The frame in which to</br>
  34104. <br>receive data is updated in receive descriptor structure.</br>
  34105. </comment>
  34106. </bits>
  34107. <bits access="w" name="setd1pid" pos="29" rst="0">
  34108. <comment>
  34109. <br>SetD1PID</br>
  34110. <br> - Set DATA1 PID (SetD1PID)</br>
  34111. <br> -- Applies to interrupt and bulk IN and OUT endpoints only.</br>
  34112. <br> -- Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA1.</br>
  34113. <br> -- This field is applicable both for Scatter-Gather DMA mode and non Scatter-Gather DMA mode.</br>
  34114. <br> - Set odd (micro)Frame (SetOddFr)</br>
  34115. <br> -- Applies to isochronous IN and OUT endpoints only.</br>
  34116. <br> -- Writing to this field sets the even and odd (micro)Frame (EO_FrNum) field to odd (micro)Frame.</br>
  34117. <br> -- This field is not applicable for Scatter-Gather DMA mode.</br>
  34118. </comment>
  34119. </bits>
  34120. <bits access="rw" name="epdis" pos="30" rst="0">
  34121. <comment>
  34122. <br>Endpoint Disable (EPDis)</br>
  34123. <br/>
  34124. <br>Applies to IN and OUT endpoints.</br>
  34125. <br/>
  34126. <br>The application sets this bit to stop transmitting/receiving data on an endpoint, even</br>
  34127. <br>before the transfer for that endpoint is complete. The application must wait for the</br>
  34128. <br>Endpoint Disabled interrupt before treating the endpoint as disabled. The core clears</br>
  34129. <br>this bit before setting the Endpoint Disabled interrupt. The application must set this bit</br>
  34130. <br>only if Endpoint Enable is already set for this endpoint.</br>
  34131. </comment>
  34132. </bits>
  34133. <bits access="rw" name="epena" pos="31" rst="0">
  34134. <comment>
  34135. <br>Endpoint Enable (EPEna)</br>
  34136. <br/>
  34137. <br>Applies to IN and OUT endpoints.</br>
  34138. <br> - When Scatter/Gather DMA mode is enabled,</br>
  34139. <br> -- For IN endpoints this bit indicates that the descriptor structure and data buffer with data ready to transmit is setup.</br>
  34140. <br> -- For OUT endpoint it indicates that the descriptor structure and data buffer to receive data is setup.</br>
  34141. <br> - When Scatter/Gather DMA mode is enabled such as for buffer-pointer based DMA mode:</br>
  34142. <br> -- For IN endpoints, this bit indicates that data is ready to be transmitted on the endpoint.</br>
  34143. <br> -- For OUT endpoints, this bit indicates that the application has allocated the memory to start receiving data from the USB.</br>
  34144. <br> - The core clears this bit before setting any of the following interrupts on this endpoint:</br>
  34145. <br> -- SETUP Phase Done</br>
  34146. <br> -- Endpoint Disabled</br>
  34147. <br> -- Transfer Completed</br>
  34148. <br>Note: For control endpoints in DMA mode, this bit must be set to be able to transfer SETUP data packets in memory.</br>
  34149. </comment>
  34150. </bits>
  34151. </reg>
  34152. <hole size="32"/>
  34153. <reg name="diepint3" protect="rw">
  34154. <comment>Device IN Endpoint 3 Interrupt Register
  34155. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  34156. <bits access="rw" name="xfercompl" pos="0" rst="0">
  34157. <comment>
  34158. <br>Transfer Completed Interrupt (XferCompl)</br>
  34159. <br/>
  34160. <br>Applies to IN and OUT endpoints.</br>
  34161. <br> - When Scatter/Gather DMA mode is enabled</br>
  34162. <br> -- For IN endpoint this field indicates that the requested data from the descriptor is moved from external system memory to internal FIFO.</br>
  34163. <br> -- For OUT endpoint this field indicates that the requested data from the internal FIFO is moved to external system memory. This interrupt is generated only when the corresponding endpoint descriptor is closed, and the IOC bit for the corresponding descriptor is set.</br>
  34164. <br> - When Scatter/Gather DMA mode is disabled, this field indicates that the programmed transfer is complete on the AHB as well as on the USB, for this endpoint.</br>
  34165. </comment>
  34166. </bits>
  34167. <bits access="rw" name="epdisbld" pos="1" rst="0">
  34168. <comment>
  34169. <br>Endpoint Disabled Interrupt (EPDisbld)</br>
  34170. <br/>
  34171. <br>Applies to IN and OUT endpoints.</br>
  34172. <br/>
  34173. <br>This bit indicates that the endpoint is disabled per the application's request.</br>
  34174. </comment>
  34175. </bits>
  34176. <bits access="rw" name="ahberr" pos="2" rst="0">
  34177. <comment>
  34178. <br>AHB Error (AHBErr)</br>
  34179. <br/>
  34180. <br>Applies to IN and OUT endpoints.</br>
  34181. <br/>
  34182. <br>This is generated only in Internal DMA mode when there is an</br>
  34183. <br>AHB error during an AHB read/write. The application can read</br>
  34184. <br>the corresponding endpoint DMA address register to get the</br>
  34185. <br>error address.</br>
  34186. </comment>
  34187. </bits>
  34188. <bits access="rw" name="timeout" pos="3" rst="0">
  34189. <comment>
  34190. <br>Timeout Condition (TimeOUT)</br>
  34191. <br> - In shared TX FIFO mode, applies to non-isochronous IN endpoints only.</br>
  34192. <br> - In dedicated FIFO mode, applies only to Control IN endpoints.</br>
  34193. <br> - In Scatter/Gather DMA mode, the TimeOUT interrupt is not asserted.</br>
  34194. <br>Indicates that the core has detected a timeout condition on the USB for the last IN token on this endpoint.</br>
  34195. </comment>
  34196. </bits>
  34197. <bits access="rw" name="intkntxfemp" pos="4" rst="0">
  34198. <comment>
  34199. <br>IN Token Received When TxFIFO is Empty (INTknTXFEmp)</br>
  34200. <br/>
  34201. <br>Applies to non-periodic IN endpoints only.</br>
  34202. <br/>
  34203. <br>Indicates that an IN token was received when the associated TxFIFO (periodic/non-periodic) was empty. This interrupt is asserted on the endpoint for which the IN token was received.</br>
  34204. </comment>
  34205. </bits>
  34206. <bits access="rw" name="intknepmis" pos="5" rst="0">
  34207. <comment>
  34208. <br>IN Token Received with EP Mismatch (INTknEPMis)</br>
  34209. <br/>
  34210. <br>Applies to non-periodic IN endpoints only.</br>
  34211. <br/>
  34212. <br>Indicates that the data in the top of the non-periodic TxFIFO belongs to an endpoint other than the one for which the IN token was received. This interrupt is asserted on the endpoint for which the IN token was received.</br>
  34213. </comment>
  34214. </bits>
  34215. <bits access="rw" name="inepnakeff" pos="6" rst="0">
  34216. <comment>
  34217. <br>IN Endpoint NAK Effective (INEPNakEff)</br>
  34218. <br/>
  34219. <br>Applies to periodic IN endpoints only.</br>
  34220. <br/>
  34221. <br>This bit can be cleared when the application clears the IN endpoint NAK by writing to DIEPCTLn.CNAK.</br>
  34222. <br/>
  34223. <br>This interrupt indicates that the core has sampled the NAK bit</br>
  34224. <br/>
  34225. <br>Set (either by the application or by the core). The interrupt indicates that the IN endpoint NAK bit Set by the application has taken effect in the core.</br>
  34226. <br/>
  34227. <br>This interrupt does not guarantee that a NAK handshake is sent on the USB. A STALL bit takes priority over a NAK bit.</br>
  34228. </comment>
  34229. </bits>
  34230. <bits access="r" name="txfemp" pos="7" rst="1">
  34231. <comment>
  34232. <br>Transmit FIFO Empty (TxFEmp)</br>
  34233. <br/>
  34234. <br>This bit is valid only for IN endpoints</br>
  34235. <br/>
  34236. <br>This interrupt is asserted when the TxFIFO for this endpoint is</br>
  34237. <br>either half or completely empty. The half or completely empty</br>
  34238. <br>status is determined by the TxFIFO Empty Level bit in the Core</br>
  34239. <br>AHB Configuration register (GAHBCFG.NPTxFEmpLvl)).</br>
  34240. </comment>
  34241. </bits>
  34242. <bits access="rw" name="txfifoundrn" pos="8" rst="0">
  34243. <comment>
  34244. <br>Fifo Underrun (TxfifoUndrn)</br>
  34245. <br/>
  34246. <br>Applies to IN endpoints Only</br>
  34247. <br/>
  34248. <br>This bit is valid only If thresholding is enabled. The core generates this interrupt when</br>
  34249. <br>it detects a transmit FIFO underrun condition for this endpoint.</br>
  34250. </comment>
  34251. </bits>
  34252. <bits access="rw" name="bnaintr" pos="9" rst="0">
  34253. <comment>
  34254. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  34255. <br/>
  34256. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  34257. <br/>
  34258. <br>The core generates this interrupt when the descriptor accessed is not ready for the Core to process, such as Host busy or DMA done.</br>
  34259. </comment>
  34260. </bits>
  34261. <bits access="rw" name="pktdrpsts" pos="11" rst="0">
  34262. <comment>
  34263. <br>Packet Drop Status (PktDrpSts)</br>
  34264. <br/>
  34265. <br>This bit indicates to the application that an ISOC OUT packet has been dropped. This</br>
  34266. <br>bit does not have an associated mask bit and does not generate an interrupt.</br>
  34267. <br/>
  34268. <br>Dependency: This bit is valid in non Scatter/Gather DMA mode when periodic transfer</br>
  34269. <br>interrupt feature is selected.</br>
  34270. </comment>
  34271. </bits>
  34272. <bits access="rw" name="bbleerr" pos="12" rst="0">
  34273. <comment>
  34274. <br>NAK Interrupt (BbleErr)</br>
  34275. <br/>
  34276. <br>The core generates this interrupt when babble is received for the endpoint.</br>
  34277. </comment>
  34278. </bits>
  34279. <bits access="rw" name="nakintrpt" pos="13" rst="0">
  34280. <comment>
  34281. <br>NAK Interrupt (NAKInterrupt)</br>
  34282. <br/>
  34283. <br>The core generates this interrupt when a NAK is transmitted or received by the device.</br>
  34284. <br>In case of isochronous IN endpoints the interrupt gets generated when a zero length</br>
  34285. <br>packet is transmitted due to un-availability of data in the TXFifo.</br>
  34286. </comment>
  34287. </bits>
  34288. <bits access="rw" name="nyetintrpt" pos="14" rst="0">
  34289. <comment>
  34290. <br>NYET Interrupt (NYETIntrpt)</br>
  34291. <br/>
  34292. <br>The core generates this interrupt when a NYET response is transmitted for a non isochronous OUT endpoint.</br>
  34293. </comment>
  34294. </bits>
  34295. </reg>
  34296. <hole size="32"/>
  34297. <reg name="dieptsiz3" protect="rw">
  34298. <comment>Device IN Endpoint 3 Transfer Size Register
  34299. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  34300. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  34301. <comment>
  34302. <br>Transfer Size (XferSize)</br>
  34303. <br/>
  34304. <br>Indicates the transfer size in bytes for endpoint 0. The core</br>
  34305. <br>interrupts the application only after it has exhausted the transfer</br>
  34306. <br>size amount of data. The transfer size can be Set to the</br>
  34307. <br>maximum packet size of the endpoint, to be interrupted at the</br>
  34308. <br>end of each packet.</br>
  34309. <br/>
  34310. <br>The core decrements this field every time a packet from the</br>
  34311. <br>external memory is written to the TxFIFO.</br>
  34312. </comment>
  34313. </bits>
  34314. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  34315. <comment>
  34316. <br>Packet Count (PktCnt)</br>
  34317. <br/>
  34318. <br>Indicates the total number of USB packets that constitute the Transfer Size amount of data for endpoint 0.</br>
  34319. <br/>
  34320. <br>This field is decremented every time a packet (maximum size or short packet) is read from the TxFIFO.</br>
  34321. </comment>
  34322. </bits>
  34323. <bits access="rw" name="mc" pos="30:29" rst="0">
  34324. <comment>
  34325. <br>MC</br>
  34326. <br/>
  34327. <br>Applies to IN endpoints only.</br>
  34328. <br/>
  34329. <br>For periodic IN endpoints, this field indicates the number of packets that must be transmitted per microframe on the USB. The core uses this field to calculate the data PID for isochronous IN endpoints. </br>
  34330. <br> - 2'b01: 1 packet </br>
  34331. <br> - 2'b10: 2 packets </br>
  34332. <br> - 2'b11: 3 packets </br>
  34333. <br>For non-periodic IN endpoints, this field is valid only in Internal DMA mode. It specifies the number of packets the core must fetchfor an IN endpoint before it switches to the endpoint pointed to by the Next Endpoint field of the Device Endpoint-n Control register (DIEPCTLn.NextEp)</br>
  34334. </comment>
  34335. </bits>
  34336. </reg>
  34337. <reg name="diepdma3" protect="rw">
  34338. <comment>Device IN Endpoint 3 DMA Address Register
  34339. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  34340. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  34341. <comment>
  34342. <br>Holds the start address of the external memory for storing or fetching endpoint</br>
  34343. <br>data.</br>
  34344. <br/>
  34345. <br>Note: For control endpoints, this field stores control OUT data packets as well as</br>
  34346. <br>SETUP transaction data packets. When more than three SETUP packets are</br>
  34347. <br>received back-to-back, the SETUP data packet in the memory is overwritten.</br>
  34348. <br/>
  34349. <br>This register is incremented on every AHB transaction. The application can give</br>
  34350. <br>only a DWORD-aligned address.</br>
  34351. <br> - When Scatter/Gather DMA mode is not enabled, the application programs the start address value in this field.</br>
  34352. <br> - When Scatter/Gather DMA mode is enabled, this field indicates the base pointer for the descriptor list.</br>
  34353. <br/>
  34354. </comment>
  34355. </bits>
  34356. </reg>
  34357. <reg name="dtxfsts3" protect="r">
  34358. <comment>Device IN Endpoint Transmit FIFO Status Register 3
  34359. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  34360. <bits access="r" name="ineptxfspcavail" pos="15:0" rst="3759">
  34361. <comment>
  34362. <br>IN Endpoint TxFIFO Space Avail (INEPTxFSpcAvail)</br>
  34363. <br/>
  34364. <br>Indicates the amount of free space available in the Endpoint TxFIFO.</br>
  34365. <br/>
  34366. <br>Values are in terms of 32-bit words.</br>
  34367. <br> - 16'h0: Endpoint TxFIFO is full</br>
  34368. <br> - 16'h1: 1 word available</br>
  34369. <br> - 16'h2: 2 words available</br>
  34370. <br> - 16'hn: n words available (where 0 n 32,768)</br>
  34371. <br> - 16'h8000: 32,768 words available</br>
  34372. <br> - Others: Reserved</br>
  34373. </comment>
  34374. </bits>
  34375. </reg>
  34376. <reg name="diepdmab3" protect="r">
  34377. <comment>Device IN Endpoint 3 Buffer Address Register
  34378. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  34379. <bits access="r" name="dmabufferaddr" pos="31:0" rst="0">
  34380. <comment>
  34381. <br>Holds the current buffer address.This register is updated as and when the data</br>
  34382. <br>transfer for the corresponding end point is in progress.</br>
  34383. <br/>
  34384. <br>This register is present only in Scatter/Gather DMA mode. Otherwise this field is</br>
  34385. <br>reserved.</br>
  34386. </comment>
  34387. </bits>
  34388. </reg>
  34389. <reg name="diepctl4" protect="rw">
  34390. <comment>Device Control IN Endpoint 4 Control Register
  34391. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  34392. <bits access="rw" name="mps" pos="10:0" rst="0">
  34393. <comment>
  34394. <br>Maximum Packet Size (MPS)</br>
  34395. <br/>
  34396. <br>The application must program this field with the maximum packet size for the current logical endpoint. This value is in bytes.</br>
  34397. </comment>
  34398. </bits>
  34399. <bits access="rw" name="usbactep" pos="15" rst="0">
  34400. <comment>
  34401. <br>USB Active Endpoint (USBActEP)</br>
  34402. <br/>
  34403. <br>Indicates whether this endpoint is active in the current configuration and interface. The</br>
  34404. <br>core clears this bit for all endpoints (other than EP 0) after detecting a USB reset. After</br>
  34405. <br>receiving the SetConfiguration and SetInterface commands, the application must</br>
  34406. <br>program endpoint registers accordingly and set this bit.</br>
  34407. </comment>
  34408. </bits>
  34409. <bits access="r" name="dpid" pos="16" rst="0">
  34410. <comment>
  34411. <br/>
  34412. <br>Endpoint Data PID (DPID)</br>
  34413. <br/>
  34414. <br>Applies to interrupt/bulk IN and OUT endpoints only.</br>
  34415. <br/>
  34416. <br>Contains the PID of the packet to be received or transmitted on this endpoint. The</br>
  34417. <br>application must program the PID of the first packet to be received or transmitted on</br>
  34418. <br>this endpoint, after the endpoint is activated. The applications use the SetD1PID and</br>
  34419. <br>SetD0PID fields of this register to program either DATA0 or DATA1 PID.</br>
  34420. <br> - 1'b0: DATA0</br>
  34421. <br> - 1'b1: DATA1</br>
  34422. <br>This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather</br>
  34423. <br>DMA mode.</br>
  34424. <br/>
  34425. <br>Even/Odd (Micro)Frame (EO_FrNum)</br>
  34426. <br/>
  34427. <br>In non-Scatter/Gather DMA mode:</br>
  34428. <br/>
  34429. <br>Applies to isochronous IN and OUT endpoints only.</br>
  34430. <br/>
  34431. <br>Indicates the (micro)frame number in which the core transmits/receives isochronous</br>
  34432. <br>data for this endpoint. The application must program the even/odd (micro)frame</br>
  34433. <br>number in which it intends to transmit/receive isochronous data for this endpoint using</br>
  34434. <br>the SetEvnFr and SetOddFr fields in this register.</br>
  34435. <br> - 1'b0: Even (micro)frame</br>
  34436. <br> - 1'b1: Odd (micro)frame</br>
  34437. <br>When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number</br>
  34438. <br>in which to send data is provided in the transmit descriptor structure. The frame in</br>
  34439. <br>which data is received is updated in receive descriptor structure. </br>
  34440. </comment>
  34441. </bits>
  34442. <bits access="r" name="naksts" pos="17" rst="0">
  34443. <comment>
  34444. <br>NAK Status (NAKSts)</br>
  34445. <br/>
  34446. <br>Indicates the following:</br>
  34447. <br> - 1'b0: The core is transmitting non-NAK handshakes based on the FIFO status.</br>
  34448. <br> - 1'b1: The core is transmitting NAK handshakes on this endpoint.</br>
  34449. <br>When either the application or the core sets this bit:</br>
  34450. <br> - The core stops receiving any data on an OUT endpoint, even if there is space in the RxFIFO to accommodate the incoming packet.</br>
  34451. <br> - For non-isochronous IN endpoints: The core stops transmitting any data on an IN endpoint, even if there data is available in the TxFIFO.</br>
  34452. <br> - For isochronous IN endpoints: The core sends out a zero-length data packet, even if there data is available in the TxFIFO.</br>
  34453. <br>Irrespective of this bit's setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  34454. </comment>
  34455. </bits>
  34456. <bits access="rw" name="eptype" pos="19:18" rst="0">
  34457. <comment>
  34458. <br>Endpoint Type (EPType)</br>
  34459. <br>This is the transfer type supported by this logical endpoint.</br>
  34460. <br> - 2'b00: Control</br>
  34461. <br> - 2'b01: Isochronous</br>
  34462. <br> - 2'b10: Bulk</br>
  34463. <br> - 2'b11: Interrupt</br>
  34464. </comment>
  34465. </bits>
  34466. <bits access="rw" name="stall" pos="21" rst="0">
  34467. <comment>
  34468. <br>STALL Handshake (Stall)</br>
  34469. <br/>
  34470. <br>Applies to non-control, non-isochronous IN and OUT endpoints only.</br>
  34471. <br/>
  34472. <br>The application sets this bit to stall all tokens from the USB host to this endpoint. If a</br>
  34473. <br>NAK bit, Global Non-periodic IN NAK, or Global OUT NAK is set along with this bit, the</br>
  34474. <br>STALL bit takes priority. Only the application can clear this bit, never the core.</br>
  34475. <br/>
  34476. <br>Applies to control endpoints only.</br>
  34477. <br/>
  34478. <br>The application can only set this bit, and the core clears it, when a SETUP token is</br>
  34479. <br>received for this endpoint. If a NAK bit, Global Non-periodic IN NAK, or Global OUT</br>
  34480. <br>NAK is set along with this bit, the STALL bit takes priority. Irrespective of this bit's</br>
  34481. <br>setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  34482. <br/>
  34483. </comment>
  34484. </bits>
  34485. <bits access="rw" name="txfnum" pos="25:22" rst="0">
  34486. <comment>
  34487. <br>TxFIFO Number (TxFNum)</br>
  34488. <br/>
  34489. <br>Shared FIFO Operation non-periodic endpoints must set this bit to zero. Periodic</br>
  34490. <br>endpoints must map this to the corresponding Periodic TxFIFO number.</br>
  34491. <br> - 4'h0: Non-Periodic TxFIFO</br>
  34492. <br> - Others: Specified Periodic TxFIFO.number</br>
  34493. <br>Note: An interrupt IN endpoint can be configured as a non-periodic endpoint for</br>
  34494. <br>applications such as mass storage. The core treats an IN endpoint as a non-periodic</br>
  34495. <br>endpoint if the TxFNum field is set to 0. Otherwise, a separate periodic FIFO must be</br>
  34496. <br>allocated for an interrupt IN endpoint, and the number of this</br>
  34497. <br>FIFO must be programmed into the TxFNum field. Configuring an interrupt IN</br>
  34498. <br>endpoint as a non-periodic endpoint saves the extra periodic FIFO area.</br>
  34499. <br/>
  34500. <br>Dedicated FIFO Operation: These bits specify the FIFO number associated with this</br>
  34501. <br>endpoint. Each active IN endpoint must be programmed to a separate FIFO number.</br>
  34502. <br>This field is valid only for IN endpoints.</br>
  34503. </comment>
  34504. </bits>
  34505. <bits access="w" name="cnak" pos="26" rst="0">
  34506. <comment>
  34507. <br>Clear NAK (CNAK)</br>
  34508. <br/>
  34509. <br>A write to this bit clears the NAK bit for the endpoint.</br>
  34510. </comment>
  34511. </bits>
  34512. <bits access="w" name="snak" pos="27" rst="0">
  34513. <comment>
  34514. <br>Set NAK (SNAK)</br>
  34515. <br/>
  34516. <br>A write to this bit sets the NAK bit for the endpoint.</br>
  34517. <br/>
  34518. <br>Using this bit, the application can control the transmission of NAK handshakes on an endpoint. The core can also Set this bit for an endpoint after a SETUP packet is received on that endpoint.</br>
  34519. </comment>
  34520. </bits>
  34521. <bits access="w" name="setd0pid" pos="28" rst="0">
  34522. <comment>
  34523. <br>SetD0PID</br>
  34524. <br> - Set DATA0 PID (SetD0PID)</br>
  34525. <br> -- Applies to interrupt/bulk IN and OUT endpoints only.</br>
  34526. <br> -- Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA0.</br>
  34527. <br> -- This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  34528. <br>In non-Scatter/Gather DMA mode: Set Even (micro)Frame (SetEvenFr)</br>
  34529. <br> -- Applies to isochronous IN and OUT endpoints only.</br>
  34530. <br> -- Writing to this field sets the Even/Odd (micro)Frame (EO_FrNum) field to even (micro)Frame.</br>
  34531. <br>When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is in the transmit descriptor structure. The frame in which to</br>
  34532. <br>receive data is updated in receive descriptor structure.</br>
  34533. </comment>
  34534. </bits>
  34535. <bits access="w" name="setd1pid" pos="29" rst="0">
  34536. <comment>
  34537. <br>SetD1PID</br>
  34538. <br> - Set DATA1 PID (SetD1PID)</br>
  34539. <br> -- Applies to interrupt and bulk IN and OUT endpoints only.</br>
  34540. <br> -- Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA1.</br>
  34541. <br> -- This field is applicable both for Scatter-Gather DMA mode and non Scatter-Gather DMA mode.</br>
  34542. <br> - Set odd (micro)Frame (SetOddFr)</br>
  34543. <br> -- Applies to isochronous IN and OUT endpoints only.</br>
  34544. <br> -- Writing to this field sets the even and odd (micro)Frame (EO_FrNum) field to odd (micro)Frame.</br>
  34545. <br> -- This field is not applicable for Scatter-Gather DMA mode.</br>
  34546. </comment>
  34547. </bits>
  34548. <bits access="rw" name="epdis" pos="30" rst="0">
  34549. <comment>
  34550. <br>Endpoint Disable (EPDis)</br>
  34551. <br/>
  34552. <br>Applies to IN and OUT endpoints.</br>
  34553. <br/>
  34554. <br>The application sets this bit to stop transmitting/receiving data on an endpoint, even</br>
  34555. <br>before the transfer for that endpoint is complete. The application must wait for the</br>
  34556. <br>Endpoint Disabled interrupt before treating the endpoint as disabled. The core clears</br>
  34557. <br>this bit before setting the Endpoint Disabled interrupt. The application must set this bit</br>
  34558. <br>only if Endpoint Enable is already set for this endpoint.</br>
  34559. </comment>
  34560. </bits>
  34561. <bits access="rw" name="epena" pos="31" rst="0">
  34562. <comment>
  34563. <br>Endpoint Enable (EPEna)</br>
  34564. <br/>
  34565. <br>Applies to IN and OUT endpoints.</br>
  34566. <br> - When Scatter/Gather DMA mode is enabled,</br>
  34567. <br> -- For IN endpoints this bit indicates that the descriptor structure and data buffer with data ready to transmit is setup.</br>
  34568. <br> -- For OUT endpoint it indicates that the descriptor structure and data buffer to receive data is setup.</br>
  34569. <br> - When Scatter/Gather DMA mode is enabled such as for buffer-pointer based DMA mode:</br>
  34570. <br> -- For IN endpoints, this bit indicates that data is ready to be transmitted on the endpoint.</br>
  34571. <br> -- For OUT endpoints, this bit indicates that the application has allocated the memory to start receiving data from the USB.</br>
  34572. <br> - The core clears this bit before setting any of the following interrupts on this endpoint:</br>
  34573. <br> -- SETUP Phase Done</br>
  34574. <br> -- Endpoint Disabled</br>
  34575. <br> -- Transfer Completed</br>
  34576. <br>Note: For control endpoints in DMA mode, this bit must be set to be able to transfer SETUP data packets in memory.</br>
  34577. </comment>
  34578. </bits>
  34579. </reg>
  34580. <hole size="32"/>
  34581. <reg name="diepint4" protect="rw">
  34582. <comment>Device IN Endpoint 4 Interrupt Register
  34583. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  34584. <bits access="rw" name="xfercompl" pos="0" rst="0">
  34585. <comment>
  34586. <br>Transfer Completed Interrupt (XferCompl)</br>
  34587. <br/>
  34588. <br>Applies to IN and OUT endpoints.</br>
  34589. <br> - When Scatter/Gather DMA mode is enabled</br>
  34590. <br> -- For IN endpoint this field indicates that the requested data from the descriptor is moved from external system memory to internal FIFO.</br>
  34591. <br> -- For OUT endpoint this field indicates that the requested data from the internal FIFO is moved to external system memory. This interrupt is generated only when the corresponding endpoint descriptor is closed, and the IOC bit for the corresponding descriptor is set.</br>
  34592. <br> - When Scatter/Gather DMA mode is disabled, this field indicates that the programmed transfer is complete on the AHB as well as on the USB, for this endpoint.</br>
  34593. </comment>
  34594. </bits>
  34595. <bits access="rw" name="epdisbld" pos="1" rst="0">
  34596. <comment>
  34597. <br>Endpoint Disabled Interrupt (EPDisbld)</br>
  34598. <br/>
  34599. <br>Applies to IN and OUT endpoints.</br>
  34600. <br/>
  34601. <br>This bit indicates that the endpoint is disabled per the application's request.</br>
  34602. </comment>
  34603. </bits>
  34604. <bits access="rw" name="ahberr" pos="2" rst="0">
  34605. <comment>
  34606. <br>AHB Error (AHBErr)</br>
  34607. <br/>
  34608. <br>Applies to IN and OUT endpoints.</br>
  34609. <br/>
  34610. <br>This is generated only in Internal DMA mode when there is an</br>
  34611. <br>AHB error during an AHB read/write. The application can read</br>
  34612. <br>the corresponding endpoint DMA address register to get the</br>
  34613. <br>error address.</br>
  34614. </comment>
  34615. </bits>
  34616. <bits access="rw" name="timeout" pos="3" rst="0">
  34617. <comment>
  34618. <br>Timeout Condition (TimeOUT)</br>
  34619. <br> - In shared TX FIFO mode, applies to non-isochronous IN endpoints only.</br>
  34620. <br> - In dedicated FIFO mode, applies only to Control IN endpoints.</br>
  34621. <br> - In Scatter/Gather DMA mode, the TimeOUT interrupt is not asserted.</br>
  34622. <br>Indicates that the core has detected a timeout condition on the USB for the last IN token on this endpoint.</br>
  34623. </comment>
  34624. </bits>
  34625. <bits access="rw" name="intkntxfemp" pos="4" rst="0">
  34626. <comment>
  34627. <br>IN Token Received When TxFIFO is Empty (INTknTXFEmp)</br>
  34628. <br/>
  34629. <br>Applies to non-periodic IN endpoints only.</br>
  34630. <br/>
  34631. <br>Indicates that an IN token was received when the associated TxFIFO (periodic/non-periodic) was empty. This interrupt is asserted on the endpoint for which the IN token was received.</br>
  34632. </comment>
  34633. </bits>
  34634. <bits access="rw" name="intknepmis" pos="5" rst="0">
  34635. <comment>
  34636. <br>IN Token Received with EP Mismatch (INTknEPMis)</br>
  34637. <br/>
  34638. <br>Applies to non-periodic IN endpoints only.</br>
  34639. <br/>
  34640. <br>Indicates that the data in the top of the non-periodic TxFIFO belongs to an endpoint other than the one for which the IN token was received. This interrupt is asserted on the endpoint for which the IN token was received.</br>
  34641. </comment>
  34642. </bits>
  34643. <bits access="rw" name="inepnakeff" pos="6" rst="0">
  34644. <comment>
  34645. <br>IN Endpoint NAK Effective (INEPNakEff)</br>
  34646. <br/>
  34647. <br>Applies to periodic IN endpoints only.</br>
  34648. <br/>
  34649. <br>This bit can be cleared when the application clears the IN endpoint NAK by writing to DIEPCTLn.CNAK.</br>
  34650. <br/>
  34651. <br>This interrupt indicates that the core has sampled the NAK bit</br>
  34652. <br/>
  34653. <br>Set (either by the application or by the core). The interrupt indicates that the IN endpoint NAK bit Set by the application has taken effect in the core.</br>
  34654. <br/>
  34655. <br>This interrupt does not guarantee that a NAK handshake is sent on the USB. A STALL bit takes priority over a NAK bit.</br>
  34656. </comment>
  34657. </bits>
  34658. <bits access="r" name="txfemp" pos="7" rst="1">
  34659. <comment>
  34660. <br>Transmit FIFO Empty (TxFEmp)</br>
  34661. <br/>
  34662. <br>This bit is valid only for IN endpoints</br>
  34663. <br/>
  34664. <br>This interrupt is asserted when the TxFIFO for this endpoint is</br>
  34665. <br>either half or completely empty. The half or completely empty</br>
  34666. <br>status is determined by the TxFIFO Empty Level bit in the Core</br>
  34667. <br>AHB Configuration register (GAHBCFG.NPTxFEmpLvl)).</br>
  34668. </comment>
  34669. </bits>
  34670. <bits access="rw" name="txfifoundrn" pos="8" rst="0">
  34671. <comment>
  34672. <br>Fifo Underrun (TxfifoUndrn)</br>
  34673. <br/>
  34674. <br>Applies to IN endpoints Only</br>
  34675. <br/>
  34676. <br>This bit is valid only If thresholding is enabled. The core generates this interrupt when</br>
  34677. <br>it detects a transmit FIFO underrun condition for this endpoint.</br>
  34678. </comment>
  34679. </bits>
  34680. <bits access="rw" name="bnaintr" pos="9" rst="0">
  34681. <comment>
  34682. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  34683. <br/>
  34684. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  34685. <br/>
  34686. <br>The core generates this interrupt when the descriptor accessed is not ready for the Core to process, such as Host busy or DMA done.</br>
  34687. </comment>
  34688. </bits>
  34689. <bits access="rw" name="pktdrpsts" pos="11" rst="0">
  34690. <comment>
  34691. <br>Packet Drop Status (PktDrpSts)</br>
  34692. <br/>
  34693. <br>This bit indicates to the application that an ISOC OUT packet has been dropped. This</br>
  34694. <br>bit does not have an associated mask bit and does not generate an interrupt.</br>
  34695. <br/>
  34696. <br>Dependency: This bit is valid in non Scatter/Gather DMA mode when periodic transfer</br>
  34697. <br>interrupt feature is selected.</br>
  34698. </comment>
  34699. </bits>
  34700. <bits access="rw" name="bbleerr" pos="12" rst="0">
  34701. <comment>
  34702. <br>NAK Interrupt (BbleErr)</br>
  34703. <br/>
  34704. <br>The core generates this interrupt when babble is received for the endpoint.</br>
  34705. </comment>
  34706. </bits>
  34707. <bits access="rw" name="nakintrpt" pos="13" rst="0">
  34708. <comment>
  34709. <br>NAK Interrupt (NAKInterrupt)</br>
  34710. <br/>
  34711. <br>The core generates this interrupt when a NAK is transmitted or received by the device.</br>
  34712. <br>In case of isochronous IN endpoints the interrupt gets generated when a zero length</br>
  34713. <br>packet is transmitted due to un-availability of data in the TXFifo.</br>
  34714. </comment>
  34715. </bits>
  34716. <bits access="rw" name="nyetintrpt" pos="14" rst="0">
  34717. <comment>
  34718. <br>NYET Interrupt (NYETIntrpt)</br>
  34719. <br/>
  34720. <br>The core generates this interrupt when a NYET response is transmitted for a non isochronous OUT endpoint.</br>
  34721. </comment>
  34722. </bits>
  34723. </reg>
  34724. <hole size="32"/>
  34725. <reg name="dieptsiz4" protect="rw">
  34726. <comment>Device IN Endpoint 4 Transfer Size Register
  34727. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  34728. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  34729. <comment>
  34730. <br>Transfer Size (XferSize)</br>
  34731. <br/>
  34732. <br>Indicates the transfer size in bytes for endpoint 0. The core</br>
  34733. <br>interrupts the application only after it has exhausted the transfer</br>
  34734. <br>size amount of data. The transfer size can be Set to the</br>
  34735. <br>maximum packet size of the endpoint, to be interrupted at the</br>
  34736. <br>end of each packet.</br>
  34737. <br/>
  34738. <br>The core decrements this field every time a packet from the</br>
  34739. <br>external memory is written to the TxFIFO.</br>
  34740. </comment>
  34741. </bits>
  34742. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  34743. <comment>
  34744. <br>Packet Count (PktCnt)</br>
  34745. <br/>
  34746. <br>Indicates the total number of USB packets that constitute the Transfer Size amount of data for endpoint 0.</br>
  34747. <br/>
  34748. <br>This field is decremented every time a packet (maximum size or short packet) is read from the TxFIFO.</br>
  34749. </comment>
  34750. </bits>
  34751. <bits access="rw" name="mc" pos="30:29" rst="0">
  34752. <comment>
  34753. <br>MC</br>
  34754. <br/>
  34755. <br>Applies to IN endpoints only.</br>
  34756. <br/>
  34757. <br>For periodic IN endpoints, this field indicates the number of packets that must be transmitted per microframe on the USB. The core uses this field to calculate the data PID for isochronous IN endpoints. </br>
  34758. <br> - 2'b01: 1 packet </br>
  34759. <br> - 2'b10: 2 packets </br>
  34760. <br> - 2'b11: 3 packets </br>
  34761. <br>For non-periodic IN endpoints, this field is valid only in Internal DMA mode. It specifies the number of packets the core must fetchfor an IN endpoint before it switches to the endpoint pointed to by the Next Endpoint field of the Device Endpoint-n Control register (DIEPCTLn.NextEp)</br>
  34762. </comment>
  34763. </bits>
  34764. </reg>
  34765. <reg name="diepdma4" protect="rw">
  34766. <comment>Device IN Endpoint 4 DMA Address Register
  34767. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  34768. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  34769. <comment>
  34770. <br>Holds the start address of the external memory for storing or fetching endpoint</br>
  34771. <br>data.</br>
  34772. <br/>
  34773. <br>Note: For control endpoints, this field stores control OUT data packets as well as</br>
  34774. <br>SETUP transaction data packets. When more than three SETUP packets are</br>
  34775. <br>received back-to-back, the SETUP data packet in the memory is overwritten.</br>
  34776. <br/>
  34777. <br>This register is incremented on every AHB transaction. The application can give</br>
  34778. <br>only a DWORD-aligned address.</br>
  34779. <br> - When Scatter/Gather DMA mode is not enabled, the application programs the start address value in this field.</br>
  34780. <br> - When Scatter/Gather DMA mode is enabled, this field indicates the base pointer for the descriptor list.</br>
  34781. <br/>
  34782. </comment>
  34783. </bits>
  34784. </reg>
  34785. <reg name="dtxfsts4" protect="r">
  34786. <comment>Device IN Endpoint Transmit FIFO Status Register 4
  34787. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  34788. <bits access="r" name="ineptxfspcavail" pos="15:0" rst="3759">
  34789. <comment>
  34790. <br>IN Endpoint TxFIFO Space Avail (INEPTxFSpcAvail)</br>
  34791. <br/>
  34792. <br>Indicates the amount of free space available in the Endpoint TxFIFO.</br>
  34793. <br/>
  34794. <br>Values are in terms of 32-bit words.</br>
  34795. <br> - 16'h0: Endpoint TxFIFO is full</br>
  34796. <br> - 16'h1: 1 word available</br>
  34797. <br> - 16'h2: 2 words available</br>
  34798. <br> - 16'hn: n words available (where 0 n 32,768)</br>
  34799. <br> - 16'h8000: 32,768 words available</br>
  34800. <br> - Others: Reserved</br>
  34801. </comment>
  34802. </bits>
  34803. </reg>
  34804. <reg name="diepdmab4" protect="r">
  34805. <comment>Device IN Endpoint 4 Buffer Address Register
  34806. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  34807. <bits access="r" name="dmabufferaddr" pos="31:0" rst="0">
  34808. <comment>
  34809. <br>Holds the current buffer address.This register is updated as and when the data</br>
  34810. <br>transfer for the corresponding end point is in progress.</br>
  34811. <br/>
  34812. <br>This register is present only in Scatter/Gather DMA mode. Otherwise this field is</br>
  34813. <br>reserved.</br>
  34814. </comment>
  34815. </bits>
  34816. </reg>
  34817. <reg name="diepctl5" protect="rw">
  34818. <comment>Device Control IN Endpoint 5 Control Register
  34819. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  34820. <bits access="rw" name="mps" pos="10:0" rst="0">
  34821. <comment>
  34822. <br>Maximum Packet Size (MPS)</br>
  34823. <br/>
  34824. <br>The application must program this field with the maximum packet size for the current logical endpoint. This value is in bytes.</br>
  34825. </comment>
  34826. </bits>
  34827. <bits access="rw" name="usbactep" pos="15" rst="0">
  34828. <comment>
  34829. <br>USB Active Endpoint (USBActEP)</br>
  34830. <br/>
  34831. <br>Indicates whether this endpoint is active in the current configuration and interface. The</br>
  34832. <br>core clears this bit for all endpoints (other than EP 0) after detecting a USB reset. After</br>
  34833. <br>receiving the SetConfiguration and SetInterface commands, the application must</br>
  34834. <br>program endpoint registers accordingly and set this bit.</br>
  34835. </comment>
  34836. </bits>
  34837. <bits access="r" name="dpid" pos="16" rst="0">
  34838. <comment>
  34839. <br/>
  34840. <br>Endpoint Data PID (DPID)</br>
  34841. <br/>
  34842. <br>Applies to interrupt/bulk IN and OUT endpoints only.</br>
  34843. <br/>
  34844. <br>Contains the PID of the packet to be received or transmitted on this endpoint. The</br>
  34845. <br>application must program the PID of the first packet to be received or transmitted on</br>
  34846. <br>this endpoint, after the endpoint is activated. The applications use the SetD1PID and</br>
  34847. <br>SetD0PID fields of this register to program either DATA0 or DATA1 PID.</br>
  34848. <br> - 1'b0: DATA0</br>
  34849. <br> - 1'b1: DATA1</br>
  34850. <br>This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather</br>
  34851. <br>DMA mode.</br>
  34852. <br/>
  34853. <br>Even/Odd (Micro)Frame (EO_FrNum)</br>
  34854. <br/>
  34855. <br>In non-Scatter/Gather DMA mode:</br>
  34856. <br/>
  34857. <br>Applies to isochronous IN and OUT endpoints only.</br>
  34858. <br/>
  34859. <br>Indicates the (micro)frame number in which the core transmits/receives isochronous</br>
  34860. <br>data for this endpoint. The application must program the even/odd (micro)frame</br>
  34861. <br>number in which it intends to transmit/receive isochronous data for this endpoint using</br>
  34862. <br>the SetEvnFr and SetOddFr fields in this register.</br>
  34863. <br> - 1'b0: Even (micro)frame</br>
  34864. <br> - 1'b1: Odd (micro)frame</br>
  34865. <br>When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number</br>
  34866. <br>in which to send data is provided in the transmit descriptor structure. The frame in</br>
  34867. <br>which data is received is updated in receive descriptor structure. </br>
  34868. </comment>
  34869. </bits>
  34870. <bits access="r" name="naksts" pos="17" rst="0">
  34871. <comment>
  34872. <br>NAK Status (NAKSts)</br>
  34873. <br/>
  34874. <br>Indicates the following:</br>
  34875. <br> - 1'b0: The core is transmitting non-NAK handshakes based on the FIFO status.</br>
  34876. <br> - 1'b1: The core is transmitting NAK handshakes on this endpoint.</br>
  34877. <br>When either the application or the core sets this bit:</br>
  34878. <br> - The core stops receiving any data on an OUT endpoint, even if there is space in the RxFIFO to accommodate the incoming packet.</br>
  34879. <br> - For non-isochronous IN endpoints: The core stops transmitting any data on an IN endpoint, even if there data is available in the TxFIFO.</br>
  34880. <br> - For isochronous IN endpoints: The core sends out a zero-length data packet, even if there data is available in the TxFIFO.</br>
  34881. <br>Irrespective of this bit's setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  34882. </comment>
  34883. </bits>
  34884. <bits access="rw" name="eptype" pos="19:18" rst="0">
  34885. <comment>
  34886. <br>Endpoint Type (EPType)</br>
  34887. <br>This is the transfer type supported by this logical endpoint.</br>
  34888. <br> - 2'b00: Control</br>
  34889. <br> - 2'b01: Isochronous</br>
  34890. <br> - 2'b10: Bulk</br>
  34891. <br> - 2'b11: Interrupt</br>
  34892. </comment>
  34893. </bits>
  34894. <bits access="rw" name="stall" pos="21" rst="0">
  34895. <comment>
  34896. <br>STALL Handshake (Stall)</br>
  34897. <br/>
  34898. <br>Applies to non-control, non-isochronous IN and OUT endpoints only.</br>
  34899. <br/>
  34900. <br>The application sets this bit to stall all tokens from the USB host to this endpoint. If a</br>
  34901. <br>NAK bit, Global Non-periodic IN NAK, or Global OUT NAK is set along with this bit, the</br>
  34902. <br>STALL bit takes priority. Only the application can clear this bit, never the core.</br>
  34903. <br/>
  34904. <br>Applies to control endpoints only.</br>
  34905. <br/>
  34906. <br>The application can only set this bit, and the core clears it, when a SETUP token is</br>
  34907. <br>received for this endpoint. If a NAK bit, Global Non-periodic IN NAK, or Global OUT</br>
  34908. <br>NAK is set along with this bit, the STALL bit takes priority. Irrespective of this bit's</br>
  34909. <br>setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  34910. <br/>
  34911. </comment>
  34912. </bits>
  34913. <bits access="rw" name="txfnum" pos="25:22" rst="0">
  34914. <comment>
  34915. <br>TxFIFO Number (TxFNum)</br>
  34916. <br/>
  34917. <br>Shared FIFO Operation non-periodic endpoints must set this bit to zero. Periodic</br>
  34918. <br>endpoints must map this to the corresponding Periodic TxFIFO number.</br>
  34919. <br> - 4'h0: Non-Periodic TxFIFO</br>
  34920. <br> - Others: Specified Periodic TxFIFO.number</br>
  34921. <br>Note: An interrupt IN endpoint can be configured as a non-periodic endpoint for</br>
  34922. <br>applications such as mass storage. The core treats an IN endpoint as a non-periodic</br>
  34923. <br>endpoint if the TxFNum field is set to 0. Otherwise, a separate periodic FIFO must be</br>
  34924. <br>allocated for an interrupt IN endpoint, and the number of this</br>
  34925. <br>FIFO must be programmed into the TxFNum field. Configuring an interrupt IN</br>
  34926. <br>endpoint as a non-periodic endpoint saves the extra periodic FIFO area.</br>
  34927. <br/>
  34928. <br>Dedicated FIFO Operation: These bits specify the FIFO number associated with this</br>
  34929. <br>endpoint. Each active IN endpoint must be programmed to a separate FIFO number.</br>
  34930. <br>This field is valid only for IN endpoints.</br>
  34931. </comment>
  34932. </bits>
  34933. <bits access="w" name="cnak" pos="26" rst="0">
  34934. <comment>
  34935. <br>Clear NAK (CNAK)</br>
  34936. <br/>
  34937. <br>A write to this bit clears the NAK bit for the endpoint.</br>
  34938. </comment>
  34939. </bits>
  34940. <bits access="w" name="snak" pos="27" rst="0">
  34941. <comment>
  34942. <br>Set NAK (SNAK)</br>
  34943. <br/>
  34944. <br>A write to this bit sets the NAK bit for the endpoint.</br>
  34945. <br/>
  34946. <br>Using this bit, the application can control the transmission of NAK handshakes on an endpoint. The core can also Set this bit for an endpoint after a SETUP packet is received on that endpoint.</br>
  34947. </comment>
  34948. </bits>
  34949. <bits access="w" name="setd0pid" pos="28" rst="0">
  34950. <comment>
  34951. <br>SetD0PID</br>
  34952. <br> - Set DATA0 PID (SetD0PID)</br>
  34953. <br> -- Applies to interrupt/bulk IN and OUT endpoints only.</br>
  34954. <br> -- Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA0.</br>
  34955. <br> -- This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  34956. <br>In non-Scatter/Gather DMA mode: Set Even (micro)Frame (SetEvenFr)</br>
  34957. <br> -- Applies to isochronous IN and OUT endpoints only.</br>
  34958. <br> -- Writing to this field sets the Even/Odd (micro)Frame (EO_FrNum) field to even (micro)Frame.</br>
  34959. <br>When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is in the transmit descriptor structure. The frame in which to</br>
  34960. <br>receive data is updated in receive descriptor structure.</br>
  34961. </comment>
  34962. </bits>
  34963. <bits access="w" name="setd1pid" pos="29" rst="0">
  34964. <comment>
  34965. <br>SetD1PID</br>
  34966. <br> - Set DATA1 PID (SetD1PID)</br>
  34967. <br> -- Applies to interrupt and bulk IN and OUT endpoints only.</br>
  34968. <br> -- Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA1.</br>
  34969. <br> -- This field is applicable both for Scatter-Gather DMA mode and non Scatter-Gather DMA mode.</br>
  34970. <br> - Set odd (micro)Frame (SetOddFr)</br>
  34971. <br> -- Applies to isochronous IN and OUT endpoints only.</br>
  34972. <br> -- Writing to this field sets the even and odd (micro)Frame (EO_FrNum) field to odd (micro)Frame.</br>
  34973. <br> -- This field is not applicable for Scatter-Gather DMA mode.</br>
  34974. </comment>
  34975. </bits>
  34976. <bits access="rw" name="epdis" pos="30" rst="0">
  34977. <comment>
  34978. <br>Endpoint Disable (EPDis)</br>
  34979. <br/>
  34980. <br>Applies to IN and OUT endpoints.</br>
  34981. <br/>
  34982. <br>The application sets this bit to stop transmitting/receiving data on an endpoint, even</br>
  34983. <br>before the transfer for that endpoint is complete. The application must wait for the</br>
  34984. <br>Endpoint Disabled interrupt before treating the endpoint as disabled. The core clears</br>
  34985. <br>this bit before setting the Endpoint Disabled interrupt. The application must set this bit</br>
  34986. <br>only if Endpoint Enable is already set for this endpoint.</br>
  34987. </comment>
  34988. </bits>
  34989. <bits access="rw" name="epena" pos="31" rst="0">
  34990. <comment>
  34991. <br>Endpoint Enable (EPEna)</br>
  34992. <br/>
  34993. <br>Applies to IN and OUT endpoints.</br>
  34994. <br> - When Scatter/Gather DMA mode is enabled,</br>
  34995. <br> -- For IN endpoints this bit indicates that the descriptor structure and data buffer with data ready to transmit is setup.</br>
  34996. <br> -- For OUT endpoint it indicates that the descriptor structure and data buffer to receive data is setup.</br>
  34997. <br> - When Scatter/Gather DMA mode is enabled such as for buffer-pointer based DMA mode:</br>
  34998. <br> -- For IN endpoints, this bit indicates that data is ready to be transmitted on the endpoint.</br>
  34999. <br> -- For OUT endpoints, this bit indicates that the application has allocated the memory to start receiving data from the USB.</br>
  35000. <br> - The core clears this bit before setting any of the following interrupts on this endpoint:</br>
  35001. <br> -- SETUP Phase Done</br>
  35002. <br> -- Endpoint Disabled</br>
  35003. <br> -- Transfer Completed</br>
  35004. <br>Note: For control endpoints in DMA mode, this bit must be set to be able to transfer SETUP data packets in memory.</br>
  35005. </comment>
  35006. </bits>
  35007. </reg>
  35008. <hole size="32"/>
  35009. <reg name="diepint5" protect="rw">
  35010. <comment>Device IN Endpoint 5 Interrupt Register
  35011. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  35012. <bits access="rw" name="xfercompl" pos="0" rst="0">
  35013. <comment>
  35014. <br>Transfer Completed Interrupt (XferCompl)</br>
  35015. <br/>
  35016. <br>Applies to IN and OUT endpoints.</br>
  35017. <br> - When Scatter/Gather DMA mode is enabled</br>
  35018. <br> -- For IN endpoint this field indicates that the requested data from the descriptor is moved from external system memory to internal FIFO.</br>
  35019. <br> -- For OUT endpoint this field indicates that the requested data from the internal FIFO is moved to external system memory. This interrupt is generated only when the corresponding endpoint descriptor is closed, and the IOC bit for the corresponding descriptor is set.</br>
  35020. <br> - When Scatter/Gather DMA mode is disabled, this field indicates that the programmed transfer is complete on the AHB as well as on the USB, for this endpoint.</br>
  35021. </comment>
  35022. </bits>
  35023. <bits access="rw" name="epdisbld" pos="1" rst="0">
  35024. <comment>
  35025. <br>Endpoint Disabled Interrupt (EPDisbld)</br>
  35026. <br/>
  35027. <br>Applies to IN and OUT endpoints.</br>
  35028. <br/>
  35029. <br>This bit indicates that the endpoint is disabled per the application's request.</br>
  35030. </comment>
  35031. </bits>
  35032. <bits access="rw" name="ahberr" pos="2" rst="0">
  35033. <comment>
  35034. <br>AHB Error (AHBErr)</br>
  35035. <br/>
  35036. <br>Applies to IN and OUT endpoints.</br>
  35037. <br/>
  35038. <br>This is generated only in Internal DMA mode when there is an</br>
  35039. <br>AHB error during an AHB read/write. The application can read</br>
  35040. <br>the corresponding endpoint DMA address register to get the</br>
  35041. <br>error address.</br>
  35042. </comment>
  35043. </bits>
  35044. <bits access="rw" name="timeout" pos="3" rst="0">
  35045. <comment>
  35046. <br>Timeout Condition (TimeOUT)</br>
  35047. <br> - In shared TX FIFO mode, applies to non-isochronous IN endpoints only.</br>
  35048. <br> - In dedicated FIFO mode, applies only to Control IN endpoints.</br>
  35049. <br> - In Scatter/Gather DMA mode, the TimeOUT interrupt is not asserted.</br>
  35050. <br>Indicates that the core has detected a timeout condition on the USB for the last IN token on this endpoint.</br>
  35051. </comment>
  35052. </bits>
  35053. <bits access="rw" name="intkntxfemp" pos="4" rst="0">
  35054. <comment>
  35055. <br>IN Token Received When TxFIFO is Empty (INTknTXFEmp)</br>
  35056. <br/>
  35057. <br>Applies to non-periodic IN endpoints only.</br>
  35058. <br/>
  35059. <br>Indicates that an IN token was received when the associated TxFIFO (periodic/non-periodic) was empty. This interrupt is asserted on the endpoint for which the IN token was received.</br>
  35060. </comment>
  35061. </bits>
  35062. <bits access="rw" name="intknepmis" pos="5" rst="0">
  35063. <comment>
  35064. <br>IN Token Received with EP Mismatch (INTknEPMis)</br>
  35065. <br/>
  35066. <br>Applies to non-periodic IN endpoints only.</br>
  35067. <br/>
  35068. <br>Indicates that the data in the top of the non-periodic TxFIFO belongs to an endpoint other than the one for which the IN token was received. This interrupt is asserted on the endpoint for which the IN token was received.</br>
  35069. </comment>
  35070. </bits>
  35071. <bits access="rw" name="inepnakeff" pos="6" rst="0">
  35072. <comment>
  35073. <br>IN Endpoint NAK Effective (INEPNakEff)</br>
  35074. <br/>
  35075. <br>Applies to periodic IN endpoints only.</br>
  35076. <br/>
  35077. <br>This bit can be cleared when the application clears the IN endpoint NAK by writing to DIEPCTLn.CNAK.</br>
  35078. <br/>
  35079. <br>This interrupt indicates that the core has sampled the NAK bit</br>
  35080. <br/>
  35081. <br>Set (either by the application or by the core). The interrupt indicates that the IN endpoint NAK bit Set by the application has taken effect in the core.</br>
  35082. <br/>
  35083. <br>This interrupt does not guarantee that a NAK handshake is sent on the USB. A STALL bit takes priority over a NAK bit.</br>
  35084. </comment>
  35085. </bits>
  35086. <bits access="r" name="txfemp" pos="7" rst="1">
  35087. <comment>
  35088. <br>Transmit FIFO Empty (TxFEmp)</br>
  35089. <br/>
  35090. <br>This bit is valid only for IN endpoints</br>
  35091. <br/>
  35092. <br>This interrupt is asserted when the TxFIFO for this endpoint is</br>
  35093. <br>either half or completely empty. The half or completely empty</br>
  35094. <br>status is determined by the TxFIFO Empty Level bit in the Core</br>
  35095. <br>AHB Configuration register (GAHBCFG.NPTxFEmpLvl)).</br>
  35096. </comment>
  35097. </bits>
  35098. <bits access="rw" name="txfifoundrn" pos="8" rst="0">
  35099. <comment>
  35100. <br>Fifo Underrun (TxfifoUndrn)</br>
  35101. <br/>
  35102. <br>Applies to IN endpoints Only</br>
  35103. <br/>
  35104. <br>This bit is valid only If thresholding is enabled. The core generates this interrupt when</br>
  35105. <br>it detects a transmit FIFO underrun condition for this endpoint.</br>
  35106. </comment>
  35107. </bits>
  35108. <bits access="rw" name="bnaintr" pos="9" rst="0">
  35109. <comment>
  35110. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  35111. <br/>
  35112. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  35113. <br/>
  35114. <br>The core generates this interrupt when the descriptor accessed is not ready for the Core to process, such as Host busy or DMA done.</br>
  35115. </comment>
  35116. </bits>
  35117. <bits access="rw" name="pktdrpsts" pos="11" rst="0">
  35118. <comment>
  35119. <br>Packet Drop Status (PktDrpSts)</br>
  35120. <br/>
  35121. <br>This bit indicates to the application that an ISOC OUT packet has been dropped. This</br>
  35122. <br>bit does not have an associated mask bit and does not generate an interrupt.</br>
  35123. <br/>
  35124. <br>Dependency: This bit is valid in non Scatter/Gather DMA mode when periodic transfer</br>
  35125. <br>interrupt feature is selected.</br>
  35126. </comment>
  35127. </bits>
  35128. <bits access="rw" name="bbleerr" pos="12" rst="0">
  35129. <comment>
  35130. <br>NAK Interrupt (BbleErr)</br>
  35131. <br/>
  35132. <br>The core generates this interrupt when babble is received for the endpoint.</br>
  35133. </comment>
  35134. </bits>
  35135. <bits access="rw" name="nakintrpt" pos="13" rst="0">
  35136. <comment>
  35137. <br>NAK Interrupt (NAKInterrupt)</br>
  35138. <br/>
  35139. <br>The core generates this interrupt when a NAK is transmitted or received by the device.</br>
  35140. <br>In case of isochronous IN endpoints the interrupt gets generated when a zero length</br>
  35141. <br>packet is transmitted due to un-availability of data in the TXFifo.</br>
  35142. </comment>
  35143. </bits>
  35144. <bits access="rw" name="nyetintrpt" pos="14" rst="0">
  35145. <comment>
  35146. <br>NYET Interrupt (NYETIntrpt)</br>
  35147. <br/>
  35148. <br>The core generates this interrupt when a NYET response is transmitted for a non isochronous OUT endpoint.</br>
  35149. </comment>
  35150. </bits>
  35151. </reg>
  35152. <hole size="32"/>
  35153. <reg name="dieptsiz5" protect="rw">
  35154. <comment>Device IN Endpoint 5 Transfer Size Register
  35155. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  35156. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  35157. <comment>
  35158. <br>Transfer Size (XferSize)</br>
  35159. <br/>
  35160. <br>Indicates the transfer size in bytes for endpoint 0. The core</br>
  35161. <br>interrupts the application only after it has exhausted the transfer</br>
  35162. <br>size amount of data. The transfer size can be Set to the</br>
  35163. <br>maximum packet size of the endpoint, to be interrupted at the</br>
  35164. <br>end of each packet.</br>
  35165. <br/>
  35166. <br>The core decrements this field every time a packet from the</br>
  35167. <br>external memory is written to the TxFIFO.</br>
  35168. </comment>
  35169. </bits>
  35170. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  35171. <comment>
  35172. <br>Packet Count (PktCnt)</br>
  35173. <br/>
  35174. <br>Indicates the total number of USB packets that constitute the Transfer Size amount of data for endpoint 0.</br>
  35175. <br/>
  35176. <br>This field is decremented every time a packet (maximum size or short packet) is read from the TxFIFO.</br>
  35177. </comment>
  35178. </bits>
  35179. <bits access="rw" name="mc" pos="30:29" rst="0">
  35180. <comment>
  35181. <br>MC</br>
  35182. <br/>
  35183. <br>Applies to IN endpoints only.</br>
  35184. <br/>
  35185. <br>For periodic IN endpoints, this field indicates the number of packets that must be transmitted per microframe on the USB. The core uses this field to calculate the data PID for isochronous IN endpoints. </br>
  35186. <br> - 2'b01: 1 packet </br>
  35187. <br> - 2'b10: 2 packets </br>
  35188. <br> - 2'b11: 3 packets </br>
  35189. <br>For non-periodic IN endpoints, this field is valid only in Internal DMA mode. It specifies the number of packets the core must fetchfor an IN endpoint before it switches to the endpoint pointed to by the Next Endpoint field of the Device Endpoint-n Control register (DIEPCTLn.NextEp)</br>
  35190. </comment>
  35191. </bits>
  35192. </reg>
  35193. <reg name="diepdma5" protect="rw">
  35194. <comment>Device IN Endpoint 5 DMA Address Register
  35195. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  35196. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  35197. <comment>
  35198. <br>Holds the start address of the external memory for storing or fetching endpoint</br>
  35199. <br>data.</br>
  35200. <br/>
  35201. <br>Note: For control endpoints, this field stores control OUT data packets as well as</br>
  35202. <br>SETUP transaction data packets. When more than three SETUP packets are</br>
  35203. <br>received back-to-back, the SETUP data packet in the memory is overwritten.</br>
  35204. <br/>
  35205. <br>This register is incremented on every AHB transaction. The application can give</br>
  35206. <br>only a DWORD-aligned address.</br>
  35207. <br> - When Scatter/Gather DMA mode is not enabled, the application programs the start address value in this field.</br>
  35208. <br> - When Scatter/Gather DMA mode is enabled, this field indicates the base pointer for the descriptor list.</br>
  35209. <br/>
  35210. </comment>
  35211. </bits>
  35212. </reg>
  35213. <reg name="dtxfsts5" protect="r">
  35214. <comment>Device IN Endpoint Transmit FIFO Status Register 5
  35215. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  35216. <bits access="r" name="ineptxfspcavail" pos="15:0" rst="3759">
  35217. <comment>
  35218. <br>IN Endpoint TxFIFO Space Avail (INEPTxFSpcAvail)</br>
  35219. <br/>
  35220. <br>Indicates the amount of free space available in the Endpoint TxFIFO.</br>
  35221. <br/>
  35222. <br>Values are in terms of 32-bit words.</br>
  35223. <br> - 16'h0: Endpoint TxFIFO is full</br>
  35224. <br> - 16'h1: 1 word available</br>
  35225. <br> - 16'h2: 2 words available</br>
  35226. <br> - 16'hn: n words available (where 0 n 32,768)</br>
  35227. <br> - 16'h8000: 32,768 words available</br>
  35228. <br> - Others: Reserved</br>
  35229. </comment>
  35230. </bits>
  35231. </reg>
  35232. <reg name="diepdmab5" protect="r">
  35233. <comment>Device IN Endpoint 5 Buffer Address Register
  35234. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  35235. <bits access="r" name="dmabufferaddr" pos="31:0" rst="0">
  35236. <comment>
  35237. <br>Holds the current buffer address.This register is updated as and when the data</br>
  35238. <br>transfer for the corresponding end point is in progress.</br>
  35239. <br/>
  35240. <br>This register is present only in Scatter/Gather DMA mode. Otherwise this field is</br>
  35241. <br>reserved.</br>
  35242. </comment>
  35243. </bits>
  35244. </reg>
  35245. <reg name="diepctl6" protect="rw">
  35246. <comment>Device Control IN Endpoint 6 Control Register
  35247. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  35248. <bits access="rw" name="mps" pos="10:0" rst="0">
  35249. <comment>
  35250. <br>Maximum Packet Size (MPS)</br>
  35251. <br/>
  35252. <br>The application must program this field with the maximum packet size for the current logical endpoint. This value is in bytes.</br>
  35253. </comment>
  35254. </bits>
  35255. <bits access="rw" name="usbactep" pos="15" rst="0">
  35256. <comment>
  35257. <br>USB Active Endpoint (USBActEP)</br>
  35258. <br/>
  35259. <br>Indicates whether this endpoint is active in the current configuration and interface. The</br>
  35260. <br>core clears this bit for all endpoints (other than EP 0) after detecting a USB reset. After</br>
  35261. <br>receiving the SetConfiguration and SetInterface commands, the application must</br>
  35262. <br>program endpoint registers accordingly and set this bit.</br>
  35263. </comment>
  35264. </bits>
  35265. <bits access="r" name="dpid" pos="16" rst="0">
  35266. <comment>
  35267. <br/>
  35268. <br>Endpoint Data PID (DPID)</br>
  35269. <br/>
  35270. <br>Applies to interrupt/bulk IN and OUT endpoints only.</br>
  35271. <br/>
  35272. <br>Contains the PID of the packet to be received or transmitted on this endpoint. The</br>
  35273. <br>application must program the PID of the first packet to be received or transmitted on</br>
  35274. <br>this endpoint, after the endpoint is activated. The applications use the SetD1PID and</br>
  35275. <br>SetD0PID fields of this register to program either DATA0 or DATA1 PID.</br>
  35276. <br> - 1'b0: DATA0</br>
  35277. <br> - 1'b1: DATA1</br>
  35278. <br>This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather</br>
  35279. <br>DMA mode.</br>
  35280. <br/>
  35281. <br>Even/Odd (Micro)Frame (EO_FrNum)</br>
  35282. <br/>
  35283. <br>In non-Scatter/Gather DMA mode:</br>
  35284. <br/>
  35285. <br>Applies to isochronous IN and OUT endpoints only.</br>
  35286. <br/>
  35287. <br>Indicates the (micro)frame number in which the core transmits/receives isochronous</br>
  35288. <br>data for this endpoint. The application must program the even/odd (micro)frame</br>
  35289. <br>number in which it intends to transmit/receive isochronous data for this endpoint using</br>
  35290. <br>the SetEvnFr and SetOddFr fields in this register.</br>
  35291. <br> - 1'b0: Even (micro)frame</br>
  35292. <br> - 1'b1: Odd (micro)frame</br>
  35293. <br>When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number</br>
  35294. <br>in which to send data is provided in the transmit descriptor structure. The frame in</br>
  35295. <br>which data is received is updated in receive descriptor structure. </br>
  35296. </comment>
  35297. </bits>
  35298. <bits access="r" name="naksts" pos="17" rst="0">
  35299. <comment>
  35300. <br>NAK Status (NAKSts)</br>
  35301. <br/>
  35302. <br>Indicates the following:</br>
  35303. <br> - 1'b0: The core is transmitting non-NAK handshakes based on the FIFO status.</br>
  35304. <br> - 1'b1: The core is transmitting NAK handshakes on this endpoint.</br>
  35305. <br>When either the application or the core sets this bit:</br>
  35306. <br> - The core stops receiving any data on an OUT endpoint, even if there is space in the RxFIFO to accommodate the incoming packet.</br>
  35307. <br> - For non-isochronous IN endpoints: The core stops transmitting any data on an IN endpoint, even if there data is available in the TxFIFO.</br>
  35308. <br> - For isochronous IN endpoints: The core sends out a zero-length data packet, even if there data is available in the TxFIFO.</br>
  35309. <br>Irrespective of this bit's setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  35310. </comment>
  35311. </bits>
  35312. <bits access="rw" name="eptype" pos="19:18" rst="0">
  35313. <comment>
  35314. <br>Endpoint Type (EPType)</br>
  35315. <br>This is the transfer type supported by this logical endpoint.</br>
  35316. <br> - 2'b00: Control</br>
  35317. <br> - 2'b01: Isochronous</br>
  35318. <br> - 2'b10: Bulk</br>
  35319. <br> - 2'b11: Interrupt</br>
  35320. </comment>
  35321. </bits>
  35322. <bits access="rw" name="stall" pos="21" rst="0">
  35323. <comment>
  35324. <br>STALL Handshake (Stall)</br>
  35325. <br/>
  35326. <br>Applies to non-control, non-isochronous IN and OUT endpoints only.</br>
  35327. <br/>
  35328. <br>The application sets this bit to stall all tokens from the USB host to this endpoint. If a</br>
  35329. <br>NAK bit, Global Non-periodic IN NAK, or Global OUT NAK is set along with this bit, the</br>
  35330. <br>STALL bit takes priority. Only the application can clear this bit, never the core.</br>
  35331. <br/>
  35332. <br>Applies to control endpoints only.</br>
  35333. <br/>
  35334. <br>The application can only set this bit, and the core clears it, when a SETUP token is</br>
  35335. <br>received for this endpoint. If a NAK bit, Global Non-periodic IN NAK, or Global OUT</br>
  35336. <br>NAK is set along with this bit, the STALL bit takes priority. Irrespective of this bit's</br>
  35337. <br>setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  35338. <br/>
  35339. </comment>
  35340. </bits>
  35341. <bits access="rw" name="txfnum" pos="25:22" rst="0">
  35342. <comment>
  35343. <br>TxFIFO Number (TxFNum)</br>
  35344. <br/>
  35345. <br>Shared FIFO Operation non-periodic endpoints must set this bit to zero. Periodic</br>
  35346. <br>endpoints must map this to the corresponding Periodic TxFIFO number.</br>
  35347. <br> - 4'h0: Non-Periodic TxFIFO</br>
  35348. <br> - Others: Specified Periodic TxFIFO.number</br>
  35349. <br>Note: An interrupt IN endpoint can be configured as a non-periodic endpoint for</br>
  35350. <br>applications such as mass storage. The core treats an IN endpoint as a non-periodic</br>
  35351. <br>endpoint if the TxFNum field is set to 0. Otherwise, a separate periodic FIFO must be</br>
  35352. <br>allocated for an interrupt IN endpoint, and the number of this</br>
  35353. <br>FIFO must be programmed into the TxFNum field. Configuring an interrupt IN</br>
  35354. <br>endpoint as a non-periodic endpoint saves the extra periodic FIFO area.</br>
  35355. <br/>
  35356. <br>Dedicated FIFO Operation: These bits specify the FIFO number associated with this</br>
  35357. <br>endpoint. Each active IN endpoint must be programmed to a separate FIFO number.</br>
  35358. <br>This field is valid only for IN endpoints.</br>
  35359. </comment>
  35360. </bits>
  35361. <bits access="w" name="cnak" pos="26" rst="0">
  35362. <comment>
  35363. <br>Clear NAK (CNAK)</br>
  35364. <br/>
  35365. <br>A write to this bit clears the NAK bit for the endpoint.</br>
  35366. </comment>
  35367. </bits>
  35368. <bits access="w" name="snak" pos="27" rst="0">
  35369. <comment>
  35370. <br>Set NAK (SNAK)</br>
  35371. <br/>
  35372. <br>A write to this bit sets the NAK bit for the endpoint.</br>
  35373. <br/>
  35374. <br>Using this bit, the application can control the transmission of NAK handshakes on an endpoint. The core can also Set this bit for an endpoint after a SETUP packet is received on that endpoint.</br>
  35375. </comment>
  35376. </bits>
  35377. <bits access="w" name="setd0pid" pos="28" rst="0">
  35378. <comment>
  35379. <br>SetD0PID</br>
  35380. <br> - Set DATA0 PID (SetD0PID)</br>
  35381. <br> -- Applies to interrupt/bulk IN and OUT endpoints only.</br>
  35382. <br> -- Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA0.</br>
  35383. <br> -- This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  35384. <br>In non-Scatter/Gather DMA mode: Set Even (micro)Frame (SetEvenFr)</br>
  35385. <br> -- Applies to isochronous IN and OUT endpoints only.</br>
  35386. <br> -- Writing to this field sets the Even/Odd (micro)Frame (EO_FrNum) field to even (micro)Frame.</br>
  35387. <br>When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is in the transmit descriptor structure. The frame in which to</br>
  35388. <br>receive data is updated in receive descriptor structure.</br>
  35389. </comment>
  35390. </bits>
  35391. <bits access="w" name="setd1pid" pos="29" rst="0">
  35392. <comment>
  35393. <br>SetD1PID</br>
  35394. <br> - Set DATA1 PID (SetD1PID)</br>
  35395. <br> -- Applies to interrupt and bulk IN and OUT endpoints only.</br>
  35396. <br> -- Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA1.</br>
  35397. <br> -- This field is applicable both for Scatter-Gather DMA mode and non Scatter-Gather DMA mode.</br>
  35398. <br> - Set odd (micro)Frame (SetOddFr)</br>
  35399. <br> -- Applies to isochronous IN and OUT endpoints only.</br>
  35400. <br> -- Writing to this field sets the even and odd (micro)Frame (EO_FrNum) field to odd (micro)Frame.</br>
  35401. <br> -- This field is not applicable for Scatter-Gather DMA mode.</br>
  35402. </comment>
  35403. </bits>
  35404. <bits access="rw" name="epdis" pos="30" rst="0">
  35405. <comment>
  35406. <br>Endpoint Disable (EPDis)</br>
  35407. <br/>
  35408. <br>Applies to IN and OUT endpoints.</br>
  35409. <br/>
  35410. <br>The application sets this bit to stop transmitting/receiving data on an endpoint, even</br>
  35411. <br>before the transfer for that endpoint is complete. The application must wait for the</br>
  35412. <br>Endpoint Disabled interrupt before treating the endpoint as disabled. The core clears</br>
  35413. <br>this bit before setting the Endpoint Disabled interrupt. The application must set this bit</br>
  35414. <br>only if Endpoint Enable is already set for this endpoint.</br>
  35415. </comment>
  35416. </bits>
  35417. <bits access="rw" name="epena" pos="31" rst="0">
  35418. <comment>
  35419. <br>Endpoint Enable (EPEna)</br>
  35420. <br/>
  35421. <br>Applies to IN and OUT endpoints.</br>
  35422. <br> - When Scatter/Gather DMA mode is enabled,</br>
  35423. <br> -- For IN endpoints this bit indicates that the descriptor structure and data buffer with data ready to transmit is setup.</br>
  35424. <br> -- For OUT endpoint it indicates that the descriptor structure and data buffer to receive data is setup.</br>
  35425. <br> - When Scatter/Gather DMA mode is enabled such as for buffer-pointer based DMA mode:</br>
  35426. <br> -- For IN endpoints, this bit indicates that data is ready to be transmitted on the endpoint.</br>
  35427. <br> -- For OUT endpoints, this bit indicates that the application has allocated the memory to start receiving data from the USB.</br>
  35428. <br> - The core clears this bit before setting any of the following interrupts on this endpoint:</br>
  35429. <br> -- SETUP Phase Done</br>
  35430. <br> -- Endpoint Disabled</br>
  35431. <br> -- Transfer Completed</br>
  35432. <br>Note: For control endpoints in DMA mode, this bit must be set to be able to transfer SETUP data packets in memory.</br>
  35433. </comment>
  35434. </bits>
  35435. </reg>
  35436. <hole size="32"/>
  35437. <reg name="diepint6" protect="rw">
  35438. <comment>Device IN Endpoint 6 Interrupt Register
  35439. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  35440. <bits access="rw" name="xfercompl" pos="0" rst="0">
  35441. <comment>
  35442. <br>Transfer Completed Interrupt (XferCompl)</br>
  35443. <br/>
  35444. <br>Applies to IN and OUT endpoints.</br>
  35445. <br> - When Scatter/Gather DMA mode is enabled</br>
  35446. <br> -- For IN endpoint this field indicates that the requested data from the descriptor is moved from external system memory to internal FIFO.</br>
  35447. <br> -- For OUT endpoint this field indicates that the requested data from the internal FIFO is moved to external system memory. This interrupt is generated only when the corresponding endpoint descriptor is closed, and the IOC bit for the corresponding descriptor is set.</br>
  35448. <br> - When Scatter/Gather DMA mode is disabled, this field indicates that the programmed transfer is complete on the AHB as well as on the USB, for this endpoint.</br>
  35449. </comment>
  35450. </bits>
  35451. <bits access="rw" name="epdisbld" pos="1" rst="0">
  35452. <comment>
  35453. <br>Endpoint Disabled Interrupt (EPDisbld)</br>
  35454. <br/>
  35455. <br>Applies to IN and OUT endpoints.</br>
  35456. <br/>
  35457. <br>This bit indicates that the endpoint is disabled per the application's request.</br>
  35458. </comment>
  35459. </bits>
  35460. <bits access="rw" name="ahberr" pos="2" rst="0">
  35461. <comment>
  35462. <br>AHB Error (AHBErr)</br>
  35463. <br/>
  35464. <br>Applies to IN and OUT endpoints.</br>
  35465. <br/>
  35466. <br>This is generated only in Internal DMA mode when there is an</br>
  35467. <br>AHB error during an AHB read/write. The application can read</br>
  35468. <br>the corresponding endpoint DMA address register to get the</br>
  35469. <br>error address.</br>
  35470. </comment>
  35471. </bits>
  35472. <bits access="rw" name="timeout" pos="3" rst="0">
  35473. <comment>
  35474. <br>Timeout Condition (TimeOUT)</br>
  35475. <br> - In shared TX FIFO mode, applies to non-isochronous IN endpoints only.</br>
  35476. <br> - In dedicated FIFO mode, applies only to Control IN endpoints.</br>
  35477. <br> - In Scatter/Gather DMA mode, the TimeOUT interrupt is not asserted.</br>
  35478. <br>Indicates that the core has detected a timeout condition on the USB for the last IN token on this endpoint.</br>
  35479. </comment>
  35480. </bits>
  35481. <bits access="rw" name="intkntxfemp" pos="4" rst="0">
  35482. <comment>
  35483. <br>IN Token Received When TxFIFO is Empty (INTknTXFEmp)</br>
  35484. <br/>
  35485. <br>Applies to non-periodic IN endpoints only.</br>
  35486. <br/>
  35487. <br>Indicates that an IN token was received when the associated TxFIFO (periodic/non-periodic) was empty. This interrupt is asserted on the endpoint for which the IN token was received.</br>
  35488. </comment>
  35489. </bits>
  35490. <bits access="rw" name="intknepmis" pos="5" rst="0">
  35491. <comment>
  35492. <br>IN Token Received with EP Mismatch (INTknEPMis)</br>
  35493. <br/>
  35494. <br>Applies to non-periodic IN endpoints only.</br>
  35495. <br/>
  35496. <br>Indicates that the data in the top of the non-periodic TxFIFO belongs to an endpoint other than the one for which the IN token was received. This interrupt is asserted on the endpoint for which the IN token was received.</br>
  35497. </comment>
  35498. </bits>
  35499. <bits access="rw" name="inepnakeff" pos="6" rst="0">
  35500. <comment>
  35501. <br>IN Endpoint NAK Effective (INEPNakEff)</br>
  35502. <br/>
  35503. <br>Applies to periodic IN endpoints only.</br>
  35504. <br/>
  35505. <br>This bit can be cleared when the application clears the IN endpoint NAK by writing to DIEPCTLn.CNAK.</br>
  35506. <br/>
  35507. <br>This interrupt indicates that the core has sampled the NAK bit</br>
  35508. <br/>
  35509. <br>Set (either by the application or by the core). The interrupt indicates that the IN endpoint NAK bit Set by the application has taken effect in the core.</br>
  35510. <br/>
  35511. <br>This interrupt does not guarantee that a NAK handshake is sent on the USB. A STALL bit takes priority over a NAK bit.</br>
  35512. </comment>
  35513. </bits>
  35514. <bits access="r" name="txfemp" pos="7" rst="1">
  35515. <comment>
  35516. <br>Transmit FIFO Empty (TxFEmp)</br>
  35517. <br/>
  35518. <br>This bit is valid only for IN endpoints</br>
  35519. <br/>
  35520. <br>This interrupt is asserted when the TxFIFO for this endpoint is</br>
  35521. <br>either half or completely empty. The half or completely empty</br>
  35522. <br>status is determined by the TxFIFO Empty Level bit in the Core</br>
  35523. <br>AHB Configuration register (GAHBCFG.NPTxFEmpLvl)).</br>
  35524. </comment>
  35525. </bits>
  35526. <bits access="rw" name="txfifoundrn" pos="8" rst="0">
  35527. <comment>
  35528. <br>Fifo Underrun (TxfifoUndrn)</br>
  35529. <br/>
  35530. <br>Applies to IN endpoints Only</br>
  35531. <br/>
  35532. <br>This bit is valid only If thresholding is enabled. The core generates this interrupt when</br>
  35533. <br>it detects a transmit FIFO underrun condition for this endpoint.</br>
  35534. </comment>
  35535. </bits>
  35536. <bits access="rw" name="bnaintr" pos="9" rst="0">
  35537. <comment>
  35538. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  35539. <br/>
  35540. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  35541. <br/>
  35542. <br>The core generates this interrupt when the descriptor accessed is not ready for the Core to process, such as Host busy or DMA done.</br>
  35543. </comment>
  35544. </bits>
  35545. <bits access="rw" name="pktdrpsts" pos="11" rst="0">
  35546. <comment>
  35547. <br>Packet Drop Status (PktDrpSts)</br>
  35548. <br/>
  35549. <br>This bit indicates to the application that an ISOC OUT packet has been dropped. This</br>
  35550. <br>bit does not have an associated mask bit and does not generate an interrupt.</br>
  35551. <br/>
  35552. <br>Dependency: This bit is valid in non Scatter/Gather DMA mode when periodic transfer</br>
  35553. <br>interrupt feature is selected.</br>
  35554. </comment>
  35555. </bits>
  35556. <bits access="rw" name="bbleerr" pos="12" rst="0">
  35557. <comment>
  35558. <br>NAK Interrupt (BbleErr)</br>
  35559. <br/>
  35560. <br>The core generates this interrupt when babble is received for the endpoint.</br>
  35561. </comment>
  35562. </bits>
  35563. <bits access="rw" name="nakintrpt" pos="13" rst="0">
  35564. <comment>
  35565. <br>NAK Interrupt (NAKInterrupt)</br>
  35566. <br/>
  35567. <br>The core generates this interrupt when a NAK is transmitted or received by the device.</br>
  35568. <br>In case of isochronous IN endpoints the interrupt gets generated when a zero length</br>
  35569. <br>packet is transmitted due to un-availability of data in the TXFifo.</br>
  35570. </comment>
  35571. </bits>
  35572. <bits access="rw" name="nyetintrpt" pos="14" rst="0">
  35573. <comment>
  35574. <br>NYET Interrupt (NYETIntrpt)</br>
  35575. <br/>
  35576. <br>The core generates this interrupt when a NYET response is transmitted for a non isochronous OUT endpoint.</br>
  35577. </comment>
  35578. </bits>
  35579. </reg>
  35580. <hole size="32"/>
  35581. <reg name="dieptsiz6" protect="rw">
  35582. <comment>Device IN Endpoint 6 Transfer Size Register
  35583. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  35584. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  35585. <comment>
  35586. <br>Transfer Size (XferSize)</br>
  35587. <br/>
  35588. <br>Indicates the transfer size in bytes for endpoint 0. The core</br>
  35589. <br>interrupts the application only after it has exhausted the transfer</br>
  35590. <br>size amount of data. The transfer size can be Set to the</br>
  35591. <br>maximum packet size of the endpoint, to be interrupted at the</br>
  35592. <br>end of each packet.</br>
  35593. <br/>
  35594. <br>The core decrements this field every time a packet from the</br>
  35595. <br>external memory is written to the TxFIFO.</br>
  35596. </comment>
  35597. </bits>
  35598. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  35599. <comment>
  35600. <br>Packet Count (PktCnt)</br>
  35601. <br/>
  35602. <br>Indicates the total number of USB packets that constitute the Transfer Size amount of data for endpoint 0.</br>
  35603. <br/>
  35604. <br>This field is decremented every time a packet (maximum size or short packet) is read from the TxFIFO.</br>
  35605. </comment>
  35606. </bits>
  35607. <bits access="rw" name="mc" pos="30:29" rst="0">
  35608. <comment>
  35609. <br>MC</br>
  35610. <br/>
  35611. <br>Applies to IN endpoints only.</br>
  35612. <br/>
  35613. <br>For periodic IN endpoints, this field indicates the number of packets that must be transmitted per microframe on the USB. The core uses this field to calculate the data PID for isochronous IN endpoints. </br>
  35614. <br> - 2'b01: 1 packet </br>
  35615. <br> - 2'b10: 2 packets </br>
  35616. <br> - 2'b11: 3 packets </br>
  35617. <br>For non-periodic IN endpoints, this field is valid only in Internal DMA mode. It specifies the number of packets the core must fetchfor an IN endpoint before it switches to the endpoint pointed to by the Next Endpoint field of the Device Endpoint-n Control register (DIEPCTLn.NextEp)</br>
  35618. </comment>
  35619. </bits>
  35620. </reg>
  35621. <reg name="diepdma6" protect="rw">
  35622. <comment>Device IN Endpoint 6 DMA Address Register
  35623. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  35624. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  35625. <comment>
  35626. <br>Holds the start address of the external memory for storing or fetching endpoint</br>
  35627. <br>data.</br>
  35628. <br/>
  35629. <br>Note: For control endpoints, this field stores control OUT data packets as well as</br>
  35630. <br>SETUP transaction data packets. When more than three SETUP packets are</br>
  35631. <br>received back-to-back, the SETUP data packet in the memory is overwritten.</br>
  35632. <br/>
  35633. <br>This register is incremented on every AHB transaction. The application can give</br>
  35634. <br>only a DWORD-aligned address.</br>
  35635. <br> - When Scatter/Gather DMA mode is not enabled, the application programs the start address value in this field.</br>
  35636. <br> - When Scatter/Gather DMA mode is enabled, this field indicates the base pointer for the descriptor list.</br>
  35637. <br/>
  35638. </comment>
  35639. </bits>
  35640. </reg>
  35641. <reg name="dtxfsts6" protect="r">
  35642. <comment>Device IN Endpoint Transmit FIFO Status Register 6
  35643. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  35644. <bits access="r" name="ineptxfspcavail" pos="15:0" rst="3759">
  35645. <comment>
  35646. <br>IN Endpoint TxFIFO Space Avail (INEPTxFSpcAvail)</br>
  35647. <br/>
  35648. <br>Indicates the amount of free space available in the Endpoint TxFIFO.</br>
  35649. <br/>
  35650. <br>Values are in terms of 32-bit words.</br>
  35651. <br> - 16'h0: Endpoint TxFIFO is full</br>
  35652. <br> - 16'h1: 1 word available</br>
  35653. <br> - 16'h2: 2 words available</br>
  35654. <br> - 16'hn: n words available (where 0 n 32,768)</br>
  35655. <br> - 16'h8000: 32,768 words available</br>
  35656. <br> - Others: Reserved</br>
  35657. </comment>
  35658. </bits>
  35659. </reg>
  35660. <reg name="diepdmab6" protect="r">
  35661. <comment>Device IN Endpoint 6 Buffer Address Register
  35662. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  35663. <bits access="r" name="dmabufferaddr" pos="31:0" rst="0">
  35664. <comment>
  35665. <br>Holds the current buffer address.This register is updated as and when the data</br>
  35666. <br>transfer for the corresponding end point is in progress.</br>
  35667. <br/>
  35668. <br>This register is present only in Scatter/Gather DMA mode. Otherwise this field is</br>
  35669. <br>reserved.</br>
  35670. </comment>
  35671. </bits>
  35672. </reg>
  35673. <reg name="diepctl7" protect="rw">
  35674. <comment>Device Control IN Endpoint 7 Control Register
  35675. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  35676. <bits access="rw" name="mps" pos="10:0" rst="0">
  35677. <comment>
  35678. <br>Maximum Packet Size (MPS)</br>
  35679. <br/>
  35680. <br>The application must program this field with the maximum packet size for the current logical endpoint. This value is in bytes.</br>
  35681. </comment>
  35682. </bits>
  35683. <bits access="rw" name="usbactep" pos="15" rst="0">
  35684. <comment>
  35685. <br>USB Active Endpoint (USBActEP)</br>
  35686. <br/>
  35687. <br>Indicates whether this endpoint is active in the current configuration and interface. The</br>
  35688. <br>core clears this bit for all endpoints (other than EP 0) after detecting a USB reset. After</br>
  35689. <br>receiving the SetConfiguration and SetInterface commands, the application must</br>
  35690. <br>program endpoint registers accordingly and set this bit.</br>
  35691. </comment>
  35692. </bits>
  35693. <bits access="r" name="dpid" pos="16" rst="0">
  35694. <comment>
  35695. <br/>
  35696. <br>Endpoint Data PID (DPID)</br>
  35697. <br/>
  35698. <br>Applies to interrupt/bulk IN and OUT endpoints only.</br>
  35699. <br/>
  35700. <br>Contains the PID of the packet to be received or transmitted on this endpoint. The</br>
  35701. <br>application must program the PID of the first packet to be received or transmitted on</br>
  35702. <br>this endpoint, after the endpoint is activated. The applications use the SetD1PID and</br>
  35703. <br>SetD0PID fields of this register to program either DATA0 or DATA1 PID.</br>
  35704. <br> - 1'b0: DATA0</br>
  35705. <br> - 1'b1: DATA1</br>
  35706. <br>This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather</br>
  35707. <br>DMA mode.</br>
  35708. <br/>
  35709. <br>Even/Odd (Micro)Frame (EO_FrNum)</br>
  35710. <br/>
  35711. <br>In non-Scatter/Gather DMA mode:</br>
  35712. <br/>
  35713. <br>Applies to isochronous IN and OUT endpoints only.</br>
  35714. <br/>
  35715. <br>Indicates the (micro)frame number in which the core transmits/receives isochronous</br>
  35716. <br>data for this endpoint. The application must program the even/odd (micro)frame</br>
  35717. <br>number in which it intends to transmit/receive isochronous data for this endpoint using</br>
  35718. <br>the SetEvnFr and SetOddFr fields in this register.</br>
  35719. <br> - 1'b0: Even (micro)frame</br>
  35720. <br> - 1'b1: Odd (micro)frame</br>
  35721. <br>When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number</br>
  35722. <br>in which to send data is provided in the transmit descriptor structure. The frame in</br>
  35723. <br>which data is received is updated in receive descriptor structure. </br>
  35724. </comment>
  35725. </bits>
  35726. <bits access="r" name="naksts" pos="17" rst="0">
  35727. <comment>
  35728. <br>NAK Status (NAKSts)</br>
  35729. <br/>
  35730. <br>Indicates the following:</br>
  35731. <br> - 1'b0: The core is transmitting non-NAK handshakes based on the FIFO status.</br>
  35732. <br> - 1'b1: The core is transmitting NAK handshakes on this endpoint.</br>
  35733. <br>When either the application or the core sets this bit:</br>
  35734. <br> - The core stops receiving any data on an OUT endpoint, even if there is space in the RxFIFO to accommodate the incoming packet.</br>
  35735. <br> - For non-isochronous IN endpoints: The core stops transmitting any data on an IN endpoint, even if there data is available in the TxFIFO.</br>
  35736. <br> - For isochronous IN endpoints: The core sends out a zero-length data packet, even if there data is available in the TxFIFO.</br>
  35737. <br>Irrespective of this bit's setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  35738. </comment>
  35739. </bits>
  35740. <bits access="rw" name="eptype" pos="19:18" rst="0">
  35741. <comment>
  35742. <br>Endpoint Type (EPType)</br>
  35743. <br>This is the transfer type supported by this logical endpoint.</br>
  35744. <br> - 2'b00: Control</br>
  35745. <br> - 2'b01: Isochronous</br>
  35746. <br> - 2'b10: Bulk</br>
  35747. <br> - 2'b11: Interrupt</br>
  35748. </comment>
  35749. </bits>
  35750. <bits access="rw" name="stall" pos="21" rst="0">
  35751. <comment>
  35752. <br>STALL Handshake (Stall)</br>
  35753. <br/>
  35754. <br>Applies to non-control, non-isochronous IN and OUT endpoints only.</br>
  35755. <br/>
  35756. <br>The application sets this bit to stall all tokens from the USB host to this endpoint. If a</br>
  35757. <br>NAK bit, Global Non-periodic IN NAK, or Global OUT NAK is set along with this bit, the</br>
  35758. <br>STALL bit takes priority. Only the application can clear this bit, never the core.</br>
  35759. <br/>
  35760. <br>Applies to control endpoints only.</br>
  35761. <br/>
  35762. <br>The application can only set this bit, and the core clears it, when a SETUP token is</br>
  35763. <br>received for this endpoint. If a NAK bit, Global Non-periodic IN NAK, or Global OUT</br>
  35764. <br>NAK is set along with this bit, the STALL bit takes priority. Irrespective of this bit's</br>
  35765. <br>setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  35766. <br/>
  35767. </comment>
  35768. </bits>
  35769. <bits access="rw" name="txfnum" pos="25:22" rst="0">
  35770. <comment>
  35771. <br>TxFIFO Number (TxFNum)</br>
  35772. <br/>
  35773. <br>Shared FIFO Operation non-periodic endpoints must set this bit to zero. Periodic</br>
  35774. <br>endpoints must map this to the corresponding Periodic TxFIFO number.</br>
  35775. <br> - 4'h0: Non-Periodic TxFIFO</br>
  35776. <br> - Others: Specified Periodic TxFIFO.number</br>
  35777. <br>Note: An interrupt IN endpoint can be configured as a non-periodic endpoint for</br>
  35778. <br>applications such as mass storage. The core treats an IN endpoint as a non-periodic</br>
  35779. <br>endpoint if the TxFNum field is set to 0. Otherwise, a separate periodic FIFO must be</br>
  35780. <br>allocated for an interrupt IN endpoint, and the number of this</br>
  35781. <br>FIFO must be programmed into the TxFNum field. Configuring an interrupt IN</br>
  35782. <br>endpoint as a non-periodic endpoint saves the extra periodic FIFO area.</br>
  35783. <br/>
  35784. <br>Dedicated FIFO Operation: These bits specify the FIFO number associated with this</br>
  35785. <br>endpoint. Each active IN endpoint must be programmed to a separate FIFO number.</br>
  35786. <br>This field is valid only for IN endpoints.</br>
  35787. </comment>
  35788. </bits>
  35789. <bits access="w" name="cnak" pos="26" rst="0">
  35790. <comment>
  35791. <br>Clear NAK (CNAK)</br>
  35792. <br/>
  35793. <br>A write to this bit clears the NAK bit for the endpoint.</br>
  35794. </comment>
  35795. </bits>
  35796. <bits access="w" name="snak" pos="27" rst="0">
  35797. <comment>
  35798. <br>Set NAK (SNAK)</br>
  35799. <br/>
  35800. <br>A write to this bit sets the NAK bit for the endpoint.</br>
  35801. <br/>
  35802. <br>Using this bit, the application can control the transmission of NAK handshakes on an endpoint. The core can also Set this bit for an endpoint after a SETUP packet is received on that endpoint.</br>
  35803. </comment>
  35804. </bits>
  35805. <bits access="w" name="setd0pid" pos="28" rst="0">
  35806. <comment>
  35807. <br>SetD0PID</br>
  35808. <br> - Set DATA0 PID (SetD0PID)</br>
  35809. <br> -- Applies to interrupt/bulk IN and OUT endpoints only.</br>
  35810. <br> -- Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA0.</br>
  35811. <br> -- This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  35812. <br>In non-Scatter/Gather DMA mode: Set Even (micro)Frame (SetEvenFr)</br>
  35813. <br> -- Applies to isochronous IN and OUT endpoints only.</br>
  35814. <br> -- Writing to this field sets the Even/Odd (micro)Frame (EO_FrNum) field to even (micro)Frame.</br>
  35815. <br>When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is in the transmit descriptor structure. The frame in which to</br>
  35816. <br>receive data is updated in receive descriptor structure.</br>
  35817. </comment>
  35818. </bits>
  35819. <bits access="w" name="setd1pid" pos="29" rst="0">
  35820. <comment>
  35821. <br>SetD1PID</br>
  35822. <br> - Set DATA1 PID (SetD1PID)</br>
  35823. <br> -- Applies to interrupt and bulk IN and OUT endpoints only.</br>
  35824. <br> -- Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA1.</br>
  35825. <br> -- This field is applicable both for Scatter-Gather DMA mode and non Scatter-Gather DMA mode.</br>
  35826. <br> - Set odd (micro)Frame (SetOddFr)</br>
  35827. <br> -- Applies to isochronous IN and OUT endpoints only.</br>
  35828. <br> -- Writing to this field sets the even and odd (micro)Frame (EO_FrNum) field to odd (micro)Frame.</br>
  35829. <br> -- This field is not applicable for Scatter-Gather DMA mode.</br>
  35830. </comment>
  35831. </bits>
  35832. <bits access="rw" name="epdis" pos="30" rst="0">
  35833. <comment>
  35834. <br>Endpoint Disable (EPDis)</br>
  35835. <br/>
  35836. <br>Applies to IN and OUT endpoints.</br>
  35837. <br/>
  35838. <br>The application sets this bit to stop transmitting/receiving data on an endpoint, even</br>
  35839. <br>before the transfer for that endpoint is complete. The application must wait for the</br>
  35840. <br>Endpoint Disabled interrupt before treating the endpoint as disabled. The core clears</br>
  35841. <br>this bit before setting the Endpoint Disabled interrupt. The application must set this bit</br>
  35842. <br>only if Endpoint Enable is already set for this endpoint.</br>
  35843. </comment>
  35844. </bits>
  35845. <bits access="rw" name="epena" pos="31" rst="0">
  35846. <comment>
  35847. <br>Endpoint Enable (EPEna)</br>
  35848. <br/>
  35849. <br>Applies to IN and OUT endpoints.</br>
  35850. <br> - When Scatter/Gather DMA mode is enabled,</br>
  35851. <br> -- For IN endpoints this bit indicates that the descriptor structure and data buffer with data ready to transmit is setup.</br>
  35852. <br> -- For OUT endpoint it indicates that the descriptor structure and data buffer to receive data is setup.</br>
  35853. <br> - When Scatter/Gather DMA mode is enabled such as for buffer-pointer based DMA mode:</br>
  35854. <br> -- For IN endpoints, this bit indicates that data is ready to be transmitted on the endpoint.</br>
  35855. <br> -- For OUT endpoints, this bit indicates that the application has allocated the memory to start receiving data from the USB.</br>
  35856. <br> - The core clears this bit before setting any of the following interrupts on this endpoint:</br>
  35857. <br> -- SETUP Phase Done</br>
  35858. <br> -- Endpoint Disabled</br>
  35859. <br> -- Transfer Completed</br>
  35860. <br>Note: For control endpoints in DMA mode, this bit must be set to be able to transfer SETUP data packets in memory.</br>
  35861. </comment>
  35862. </bits>
  35863. </reg>
  35864. <hole size="32"/>
  35865. <reg name="diepint7" protect="rw">
  35866. <comment>Device IN Endpoint 7 Interrupt Register
  35867. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  35868. <bits access="rw" name="xfercompl" pos="0" rst="0">
  35869. <comment>
  35870. <br>Transfer Completed Interrupt (XferCompl)</br>
  35871. <br/>
  35872. <br>Applies to IN and OUT endpoints.</br>
  35873. <br> - When Scatter/Gather DMA mode is enabled</br>
  35874. <br> -- For IN endpoint this field indicates that the requested data from the descriptor is moved from external system memory to internal FIFO.</br>
  35875. <br> -- For OUT endpoint this field indicates that the requested data from the internal FIFO is moved to external system memory. This interrupt is generated only when the corresponding endpoint descriptor is closed, and the IOC bit for the corresponding descriptor is set.</br>
  35876. <br> - When Scatter/Gather DMA mode is disabled, this field indicates that the programmed transfer is complete on the AHB as well as on the USB, for this endpoint.</br>
  35877. </comment>
  35878. </bits>
  35879. <bits access="rw" name="epdisbld" pos="1" rst="0">
  35880. <comment>
  35881. <br>Endpoint Disabled Interrupt (EPDisbld)</br>
  35882. <br/>
  35883. <br>Applies to IN and OUT endpoints.</br>
  35884. <br/>
  35885. <br>This bit indicates that the endpoint is disabled per the application's request.</br>
  35886. </comment>
  35887. </bits>
  35888. <bits access="rw" name="ahberr" pos="2" rst="0">
  35889. <comment>
  35890. <br>AHB Error (AHBErr)</br>
  35891. <br/>
  35892. <br>Applies to IN and OUT endpoints.</br>
  35893. <br/>
  35894. <br>This is generated only in Internal DMA mode when there is an</br>
  35895. <br>AHB error during an AHB read/write. The application can read</br>
  35896. <br>the corresponding endpoint DMA address register to get the</br>
  35897. <br>error address.</br>
  35898. </comment>
  35899. </bits>
  35900. <bits access="rw" name="timeout" pos="3" rst="0">
  35901. <comment>
  35902. <br>Timeout Condition (TimeOUT)</br>
  35903. <br> - In shared TX FIFO mode, applies to non-isochronous IN endpoints only.</br>
  35904. <br> - In dedicated FIFO mode, applies only to Control IN endpoints.</br>
  35905. <br> - In Scatter/Gather DMA mode, the TimeOUT interrupt is not asserted.</br>
  35906. <br>Indicates that the core has detected a timeout condition on the USB for the last IN token on this endpoint.</br>
  35907. </comment>
  35908. </bits>
  35909. <bits access="rw" name="intkntxfemp" pos="4" rst="0">
  35910. <comment>
  35911. <br>IN Token Received When TxFIFO is Empty (INTknTXFEmp)</br>
  35912. <br/>
  35913. <br>Applies to non-periodic IN endpoints only.</br>
  35914. <br/>
  35915. <br>Indicates that an IN token was received when the associated TxFIFO (periodic/non-periodic) was empty. This interrupt is asserted on the endpoint for which the IN token was received.</br>
  35916. </comment>
  35917. </bits>
  35918. <bits access="rw" name="intknepmis" pos="5" rst="0">
  35919. <comment>
  35920. <br>IN Token Received with EP Mismatch (INTknEPMis)</br>
  35921. <br/>
  35922. <br>Applies to non-periodic IN endpoints only.</br>
  35923. <br/>
  35924. <br>Indicates that the data in the top of the non-periodic TxFIFO belongs to an endpoint other than the one for which the IN token was received. This interrupt is asserted on the endpoint for which the IN token was received.</br>
  35925. </comment>
  35926. </bits>
  35927. <bits access="rw" name="inepnakeff" pos="6" rst="0">
  35928. <comment>
  35929. <br>IN Endpoint NAK Effective (INEPNakEff)</br>
  35930. <br/>
  35931. <br>Applies to periodic IN endpoints only.</br>
  35932. <br/>
  35933. <br>This bit can be cleared when the application clears the IN endpoint NAK by writing to DIEPCTLn.CNAK.</br>
  35934. <br/>
  35935. <br>This interrupt indicates that the core has sampled the NAK bit</br>
  35936. <br/>
  35937. <br>Set (either by the application or by the core). The interrupt indicates that the IN endpoint NAK bit Set by the application has taken effect in the core.</br>
  35938. <br/>
  35939. <br>This interrupt does not guarantee that a NAK handshake is sent on the USB. A STALL bit takes priority over a NAK bit.</br>
  35940. </comment>
  35941. </bits>
  35942. <bits access="r" name="txfemp" pos="7" rst="1">
  35943. <comment>
  35944. <br>Transmit FIFO Empty (TxFEmp)</br>
  35945. <br/>
  35946. <br>This bit is valid only for IN endpoints</br>
  35947. <br/>
  35948. <br>This interrupt is asserted when the TxFIFO for this endpoint is</br>
  35949. <br>either half or completely empty. The half or completely empty</br>
  35950. <br>status is determined by the TxFIFO Empty Level bit in the Core</br>
  35951. <br>AHB Configuration register (GAHBCFG.NPTxFEmpLvl)).</br>
  35952. </comment>
  35953. </bits>
  35954. <bits access="rw" name="txfifoundrn" pos="8" rst="0">
  35955. <comment>
  35956. <br>Fifo Underrun (TxfifoUndrn)</br>
  35957. <br/>
  35958. <br>Applies to IN endpoints Only</br>
  35959. <br/>
  35960. <br>This bit is valid only If thresholding is enabled. The core generates this interrupt when</br>
  35961. <br>it detects a transmit FIFO underrun condition for this endpoint.</br>
  35962. </comment>
  35963. </bits>
  35964. <bits access="rw" name="bnaintr" pos="9" rst="0">
  35965. <comment>
  35966. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  35967. <br/>
  35968. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  35969. <br/>
  35970. <br>The core generates this interrupt when the descriptor accessed is not ready for the Core to process, such as Host busy or DMA done.</br>
  35971. </comment>
  35972. </bits>
  35973. <bits access="rw" name="pktdrpsts" pos="11" rst="0">
  35974. <comment>
  35975. <br>Packet Drop Status (PktDrpSts)</br>
  35976. <br/>
  35977. <br>This bit indicates to the application that an ISOC OUT packet has been dropped. This</br>
  35978. <br>bit does not have an associated mask bit and does not generate an interrupt.</br>
  35979. <br/>
  35980. <br>Dependency: This bit is valid in non Scatter/Gather DMA mode when periodic transfer</br>
  35981. <br>interrupt feature is selected.</br>
  35982. </comment>
  35983. </bits>
  35984. <bits access="rw" name="bbleerr" pos="12" rst="0">
  35985. <comment>
  35986. <br>NAK Interrupt (BbleErr)</br>
  35987. <br/>
  35988. <br>The core generates this interrupt when babble is received for the endpoint.</br>
  35989. </comment>
  35990. </bits>
  35991. <bits access="rw" name="nakintrpt" pos="13" rst="0">
  35992. <comment>
  35993. <br>NAK Interrupt (NAKInterrupt)</br>
  35994. <br/>
  35995. <br>The core generates this interrupt when a NAK is transmitted or received by the device.</br>
  35996. <br>In case of isochronous IN endpoints the interrupt gets generated when a zero length</br>
  35997. <br>packet is transmitted due to un-availability of data in the TXFifo.</br>
  35998. </comment>
  35999. </bits>
  36000. <bits access="rw" name="nyetintrpt" pos="14" rst="0">
  36001. <comment>
  36002. <br>NYET Interrupt (NYETIntrpt)</br>
  36003. <br/>
  36004. <br>The core generates this interrupt when a NYET response is transmitted for a non isochronous OUT endpoint.</br>
  36005. </comment>
  36006. </bits>
  36007. </reg>
  36008. <hole size="32"/>
  36009. <reg name="dieptsiz7" protect="rw">
  36010. <comment>Device IN Endpoint 7 Transfer Size Register
  36011. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  36012. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  36013. <comment>
  36014. <br>Transfer Size (XferSize)</br>
  36015. <br/>
  36016. <br>Indicates the transfer size in bytes for endpoint 0. The core</br>
  36017. <br>interrupts the application only after it has exhausted the transfer</br>
  36018. <br>size amount of data. The transfer size can be Set to the</br>
  36019. <br>maximum packet size of the endpoint, to be interrupted at the</br>
  36020. <br>end of each packet.</br>
  36021. <br/>
  36022. <br>The core decrements this field every time a packet from the</br>
  36023. <br>external memory is written to the TxFIFO.</br>
  36024. </comment>
  36025. </bits>
  36026. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  36027. <comment>
  36028. <br>Packet Count (PktCnt)</br>
  36029. <br/>
  36030. <br>Indicates the total number of USB packets that constitute the Transfer Size amount of data for endpoint 0.</br>
  36031. <br/>
  36032. <br>This field is decremented every time a packet (maximum size or short packet) is read from the TxFIFO.</br>
  36033. </comment>
  36034. </bits>
  36035. <bits access="rw" name="mc" pos="30:29" rst="0">
  36036. <comment>
  36037. <br>MC</br>
  36038. <br/>
  36039. <br>Applies to IN endpoints only.</br>
  36040. <br/>
  36041. <br>For periodic IN endpoints, this field indicates the number of packets that must be transmitted per microframe on the USB. The core uses this field to calculate the data PID for isochronous IN endpoints. </br>
  36042. <br> - 2'b01: 1 packet </br>
  36043. <br> - 2'b10: 2 packets </br>
  36044. <br> - 2'b11: 3 packets </br>
  36045. <br>For non-periodic IN endpoints, this field is valid only in Internal DMA mode. It specifies the number of packets the core must fetchfor an IN endpoint before it switches to the endpoint pointed to by the Next Endpoint field of the Device Endpoint-n Control register (DIEPCTLn.NextEp)</br>
  36046. </comment>
  36047. </bits>
  36048. </reg>
  36049. <reg name="diepdma7" protect="rw">
  36050. <comment>Device IN Endpoint 7 DMA Address Register
  36051. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  36052. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  36053. <comment>
  36054. <br>Holds the start address of the external memory for storing or fetching endpoint</br>
  36055. <br>data.</br>
  36056. <br/>
  36057. <br>Note: For control endpoints, this field stores control OUT data packets as well as</br>
  36058. <br>SETUP transaction data packets. When more than three SETUP packets are</br>
  36059. <br>received back-to-back, the SETUP data packet in the memory is overwritten.</br>
  36060. <br/>
  36061. <br>This register is incremented on every AHB transaction. The application can give</br>
  36062. <br>only a DWORD-aligned address.</br>
  36063. <br> - When Scatter/Gather DMA mode is not enabled, the application programs the start address value in this field.</br>
  36064. <br> - When Scatter/Gather DMA mode is enabled, this field indicates the base pointer for the descriptor list.</br>
  36065. <br/>
  36066. </comment>
  36067. </bits>
  36068. </reg>
  36069. <reg name="dtxfsts7" protect="r">
  36070. <comment>Device IN Endpoint Transmit FIFO Status Register 7
  36071. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  36072. <bits access="r" name="ineptxfspcavail" pos="15:0" rst="3759">
  36073. <comment>
  36074. <br>IN Endpoint TxFIFO Space Avail (INEPTxFSpcAvail)</br>
  36075. <br/>
  36076. <br>Indicates the amount of free space available in the Endpoint TxFIFO.</br>
  36077. <br/>
  36078. <br>Values are in terms of 32-bit words.</br>
  36079. <br> - 16'h0: Endpoint TxFIFO is full</br>
  36080. <br> - 16'h1: 1 word available</br>
  36081. <br> - 16'h2: 2 words available</br>
  36082. <br> - 16'hn: n words available (where 0 n 32,768)</br>
  36083. <br> - 16'h8000: 32,768 words available</br>
  36084. <br> - Others: Reserved</br>
  36085. </comment>
  36086. </bits>
  36087. </reg>
  36088. <reg name="diepdmab7" protect="r">
  36089. <comment>Device IN Endpoint 7 Buffer Address Register
  36090. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  36091. <bits access="r" name="dmabufferaddr" pos="31:0" rst="0">
  36092. <comment>
  36093. <br>Holds the current buffer address.This register is updated as and when the data</br>
  36094. <br>transfer for the corresponding end point is in progress.</br>
  36095. <br/>
  36096. <br>This register is present only in Scatter/Gather DMA mode. Otherwise this field is</br>
  36097. <br>reserved.</br>
  36098. </comment>
  36099. </bits>
  36100. </reg>
  36101. <reg name="diepctl8" protect="rw">
  36102. <comment>Device Control IN Endpoint 8 Control Register
  36103. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  36104. <bits access="rw" name="mps" pos="10:0" rst="0">
  36105. <comment>
  36106. <br>Maximum Packet Size (MPS)</br>
  36107. <br/>
  36108. <br>The application must program this field with the maximum packet size for the current logical endpoint. This value is in bytes.</br>
  36109. </comment>
  36110. </bits>
  36111. <bits access="rw" name="usbactep" pos="15" rst="0">
  36112. <comment>
  36113. <br>USB Active Endpoint (USBActEP)</br>
  36114. <br/>
  36115. <br>Indicates whether this endpoint is active in the current configuration and interface. The</br>
  36116. <br>core clears this bit for all endpoints (other than EP 0) after detecting a USB reset. After</br>
  36117. <br>receiving the SetConfiguration and SetInterface commands, the application must</br>
  36118. <br>program endpoint registers accordingly and set this bit.</br>
  36119. </comment>
  36120. </bits>
  36121. <bits access="r" name="dpid" pos="16" rst="0">
  36122. <comment>
  36123. <br/>
  36124. <br>Endpoint Data PID (DPID)</br>
  36125. <br/>
  36126. <br>Applies to interrupt/bulk IN and OUT endpoints only.</br>
  36127. <br/>
  36128. <br>Contains the PID of the packet to be received or transmitted on this endpoint. The</br>
  36129. <br>application must program the PID of the first packet to be received or transmitted on</br>
  36130. <br>this endpoint, after the endpoint is activated. The applications use the SetD1PID and</br>
  36131. <br>SetD0PID fields of this register to program either DATA0 or DATA1 PID.</br>
  36132. <br> - 1'b0: DATA0</br>
  36133. <br> - 1'b1: DATA1</br>
  36134. <br>This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather</br>
  36135. <br>DMA mode.</br>
  36136. <br/>
  36137. <br>Even/Odd (Micro)Frame (EO_FrNum)</br>
  36138. <br/>
  36139. <br>In non-Scatter/Gather DMA mode:</br>
  36140. <br/>
  36141. <br>Applies to isochronous IN and OUT endpoints only.</br>
  36142. <br/>
  36143. <br>Indicates the (micro)frame number in which the core transmits/receives isochronous</br>
  36144. <br>data for this endpoint. The application must program the even/odd (micro)frame</br>
  36145. <br>number in which it intends to transmit/receive isochronous data for this endpoint using</br>
  36146. <br>the SetEvnFr and SetOddFr fields in this register.</br>
  36147. <br> - 1'b0: Even (micro)frame</br>
  36148. <br> - 1'b1: Odd (micro)frame</br>
  36149. <br>When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number</br>
  36150. <br>in which to send data is provided in the transmit descriptor structure. The frame in</br>
  36151. <br>which data is received is updated in receive descriptor structure. </br>
  36152. </comment>
  36153. </bits>
  36154. <bits access="r" name="naksts" pos="17" rst="0">
  36155. <comment>
  36156. <br>NAK Status (NAKSts)</br>
  36157. <br/>
  36158. <br>Indicates the following:</br>
  36159. <br> - 1'b0: The core is transmitting non-NAK handshakes based on the FIFO status.</br>
  36160. <br> - 1'b1: The core is transmitting NAK handshakes on this endpoint.</br>
  36161. <br>When either the application or the core sets this bit:</br>
  36162. <br> - The core stops receiving any data on an OUT endpoint, even if there is space in the RxFIFO to accommodate the incoming packet.</br>
  36163. <br> - For non-isochronous IN endpoints: The core stops transmitting any data on an IN endpoint, even if there data is available in the TxFIFO.</br>
  36164. <br> - For isochronous IN endpoints: The core sends out a zero-length data packet, even if there data is available in the TxFIFO.</br>
  36165. <br>Irrespective of this bit's setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  36166. </comment>
  36167. </bits>
  36168. <bits access="rw" name="eptype" pos="19:18" rst="0">
  36169. <comment>
  36170. <br>Endpoint Type (EPType)</br>
  36171. <br>This is the transfer type supported by this logical endpoint.</br>
  36172. <br> - 2'b00: Control</br>
  36173. <br> - 2'b01: Isochronous</br>
  36174. <br> - 2'b10: Bulk</br>
  36175. <br> - 2'b11: Interrupt</br>
  36176. </comment>
  36177. </bits>
  36178. <bits access="rw" name="stall" pos="21" rst="0">
  36179. <comment>
  36180. <br>STALL Handshake (Stall)</br>
  36181. <br/>
  36182. <br>Applies to non-control, non-isochronous IN and OUT endpoints only.</br>
  36183. <br/>
  36184. <br>The application sets this bit to stall all tokens from the USB host to this endpoint. If a</br>
  36185. <br>NAK bit, Global Non-periodic IN NAK, or Global OUT NAK is set along with this bit, the</br>
  36186. <br>STALL bit takes priority. Only the application can clear this bit, never the core.</br>
  36187. <br/>
  36188. <br>Applies to control endpoints only.</br>
  36189. <br/>
  36190. <br>The application can only set this bit, and the core clears it, when a SETUP token is</br>
  36191. <br>received for this endpoint. If a NAK bit, Global Non-periodic IN NAK, or Global OUT</br>
  36192. <br>NAK is set along with this bit, the STALL bit takes priority. Irrespective of this bit's</br>
  36193. <br>setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  36194. <br/>
  36195. </comment>
  36196. </bits>
  36197. <bits access="rw" name="txfnum" pos="25:22" rst="0">
  36198. <comment>
  36199. <br>TxFIFO Number (TxFNum)</br>
  36200. <br/>
  36201. <br>Shared FIFO Operation non-periodic endpoints must set this bit to zero. Periodic</br>
  36202. <br>endpoints must map this to the corresponding Periodic TxFIFO number.</br>
  36203. <br> - 4'h0: Non-Periodic TxFIFO</br>
  36204. <br> - Others: Specified Periodic TxFIFO.number</br>
  36205. <br>Note: An interrupt IN endpoint can be configured as a non-periodic endpoint for</br>
  36206. <br>applications such as mass storage. The core treats an IN endpoint as a non-periodic</br>
  36207. <br>endpoint if the TxFNum field is set to 0. Otherwise, a separate periodic FIFO must be</br>
  36208. <br>allocated for an interrupt IN endpoint, and the number of this</br>
  36209. <br>FIFO must be programmed into the TxFNum field. Configuring an interrupt IN</br>
  36210. <br>endpoint as a non-periodic endpoint saves the extra periodic FIFO area.</br>
  36211. <br/>
  36212. <br>Dedicated FIFO Operation: These bits specify the FIFO number associated with this</br>
  36213. <br>endpoint. Each active IN endpoint must be programmed to a separate FIFO number.</br>
  36214. <br>This field is valid only for IN endpoints.</br>
  36215. </comment>
  36216. </bits>
  36217. <bits access="w" name="cnak" pos="26" rst="0">
  36218. <comment>
  36219. <br>Clear NAK (CNAK)</br>
  36220. <br/>
  36221. <br>A write to this bit clears the NAK bit for the endpoint.</br>
  36222. </comment>
  36223. </bits>
  36224. <bits access="w" name="snak" pos="27" rst="0">
  36225. <comment>
  36226. <br>Set NAK (SNAK)</br>
  36227. <br/>
  36228. <br>A write to this bit sets the NAK bit for the endpoint.</br>
  36229. <br/>
  36230. <br>Using this bit, the application can control the transmission of NAK handshakes on an endpoint. The core can also Set this bit for an endpoint after a SETUP packet is received on that endpoint.</br>
  36231. </comment>
  36232. </bits>
  36233. <bits access="w" name="setd0pid" pos="28" rst="0">
  36234. <comment>
  36235. <br>SetD0PID</br>
  36236. <br> - Set DATA0 PID (SetD0PID)</br>
  36237. <br> -- Applies to interrupt/bulk IN and OUT endpoints only.</br>
  36238. <br> -- Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA0.</br>
  36239. <br> -- This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  36240. <br>In non-Scatter/Gather DMA mode: Set Even (micro)Frame (SetEvenFr)</br>
  36241. <br> -- Applies to isochronous IN and OUT endpoints only.</br>
  36242. <br> -- Writing to this field sets the Even/Odd (micro)Frame (EO_FrNum) field to even (micro)Frame.</br>
  36243. <br>When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is in the transmit descriptor structure. The frame in which to</br>
  36244. <br>receive data is updated in receive descriptor structure.</br>
  36245. </comment>
  36246. </bits>
  36247. <bits access="w" name="setd1pid" pos="29" rst="0">
  36248. <comment>
  36249. <br>SetD1PID</br>
  36250. <br> - Set DATA1 PID (SetD1PID)</br>
  36251. <br> -- Applies to interrupt and bulk IN and OUT endpoints only.</br>
  36252. <br> -- Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA1.</br>
  36253. <br> -- This field is applicable both for Scatter-Gather DMA mode and non Scatter-Gather DMA mode.</br>
  36254. <br> - Set odd (micro)Frame (SetOddFr)</br>
  36255. <br> -- Applies to isochronous IN and OUT endpoints only.</br>
  36256. <br> -- Writing to this field sets the even and odd (micro)Frame (EO_FrNum) field to odd (micro)Frame.</br>
  36257. <br> -- This field is not applicable for Scatter-Gather DMA mode.</br>
  36258. </comment>
  36259. </bits>
  36260. <bits access="rw" name="epdis" pos="30" rst="0">
  36261. <comment>
  36262. <br>Endpoint Disable (EPDis)</br>
  36263. <br/>
  36264. <br>Applies to IN and OUT endpoints.</br>
  36265. <br/>
  36266. <br>The application sets this bit to stop transmitting/receiving data on an endpoint, even</br>
  36267. <br>before the transfer for that endpoint is complete. The application must wait for the</br>
  36268. <br>Endpoint Disabled interrupt before treating the endpoint as disabled. The core clears</br>
  36269. <br>this bit before setting the Endpoint Disabled interrupt. The application must set this bit</br>
  36270. <br>only if Endpoint Enable is already set for this endpoint.</br>
  36271. </comment>
  36272. </bits>
  36273. <bits access="rw" name="epena" pos="31" rst="0">
  36274. <comment>
  36275. <br>Endpoint Enable (EPEna)</br>
  36276. <br/>
  36277. <br>Applies to IN and OUT endpoints.</br>
  36278. <br> - When Scatter/Gather DMA mode is enabled,</br>
  36279. <br> -- For IN endpoints this bit indicates that the descriptor structure and data buffer with data ready to transmit is setup.</br>
  36280. <br> -- For OUT endpoint it indicates that the descriptor structure and data buffer to receive data is setup.</br>
  36281. <br> - When Scatter/Gather DMA mode is enabled such as for buffer-pointer based DMA mode:</br>
  36282. <br> -- For IN endpoints, this bit indicates that data is ready to be transmitted on the endpoint.</br>
  36283. <br> -- For OUT endpoints, this bit indicates that the application has allocated the memory to start receiving data from the USB.</br>
  36284. <br> - The core clears this bit before setting any of the following interrupts on this endpoint:</br>
  36285. <br> -- SETUP Phase Done</br>
  36286. <br> -- Endpoint Disabled</br>
  36287. <br> -- Transfer Completed</br>
  36288. <br>Note: For control endpoints in DMA mode, this bit must be set to be able to transfer SETUP data packets in memory.</br>
  36289. </comment>
  36290. </bits>
  36291. </reg>
  36292. <hole size="32"/>
  36293. <reg name="diepint8" protect="rw">
  36294. <comment>Device IN Endpoint 8 Interrupt Register
  36295. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  36296. <bits access="rw" name="xfercompl" pos="0" rst="0">
  36297. <comment>
  36298. <br>Transfer Completed Interrupt (XferCompl)</br>
  36299. <br/>
  36300. <br>Applies to IN and OUT endpoints.</br>
  36301. <br> - When Scatter/Gather DMA mode is enabled</br>
  36302. <br> -- For IN endpoint this field indicates that the requested data from the descriptor is moved from external system memory to internal FIFO.</br>
  36303. <br> -- For OUT endpoint this field indicates that the requested data from the internal FIFO is moved to external system memory. This interrupt is generated only when the corresponding endpoint descriptor is closed, and the IOC bit for the corresponding descriptor is set.</br>
  36304. <br> - When Scatter/Gather DMA mode is disabled, this field indicates that the programmed transfer is complete on the AHB as well as on the USB, for this endpoint.</br>
  36305. </comment>
  36306. </bits>
  36307. <bits access="rw" name="epdisbld" pos="1" rst="0">
  36308. <comment>
  36309. <br>Endpoint Disabled Interrupt (EPDisbld)</br>
  36310. <br/>
  36311. <br>Applies to IN and OUT endpoints.</br>
  36312. <br/>
  36313. <br>This bit indicates that the endpoint is disabled per the application's request.</br>
  36314. </comment>
  36315. </bits>
  36316. <bits access="rw" name="ahberr" pos="2" rst="0">
  36317. <comment>
  36318. <br>AHB Error (AHBErr)</br>
  36319. <br/>
  36320. <br>Applies to IN and OUT endpoints.</br>
  36321. <br/>
  36322. <br>This is generated only in Internal DMA mode when there is an</br>
  36323. <br>AHB error during an AHB read/write. The application can read</br>
  36324. <br>the corresponding endpoint DMA address register to get the</br>
  36325. <br>error address.</br>
  36326. </comment>
  36327. </bits>
  36328. <bits access="rw" name="timeout" pos="3" rst="0">
  36329. <comment>
  36330. <br>Timeout Condition (TimeOUT)</br>
  36331. <br> - In shared TX FIFO mode, applies to non-isochronous IN endpoints only.</br>
  36332. <br> - In dedicated FIFO mode, applies only to Control IN endpoints.</br>
  36333. <br> - In Scatter/Gather DMA mode, the TimeOUT interrupt is not asserted.</br>
  36334. <br>Indicates that the core has detected a timeout condition on the USB for the last IN token on this endpoint.</br>
  36335. </comment>
  36336. </bits>
  36337. <bits access="rw" name="intkntxfemp" pos="4" rst="0">
  36338. <comment>
  36339. <br>IN Token Received When TxFIFO is Empty (INTknTXFEmp)</br>
  36340. <br/>
  36341. <br>Applies to non-periodic IN endpoints only.</br>
  36342. <br/>
  36343. <br>Indicates that an IN token was received when the associated TxFIFO (periodic/non-periodic) was empty. This interrupt is asserted on the endpoint for which the IN token was received.</br>
  36344. </comment>
  36345. </bits>
  36346. <bits access="rw" name="intknepmis" pos="5" rst="0">
  36347. <comment>
  36348. <br>IN Token Received with EP Mismatch (INTknEPMis)</br>
  36349. <br/>
  36350. <br>Applies to non-periodic IN endpoints only.</br>
  36351. <br/>
  36352. <br>Indicates that the data in the top of the non-periodic TxFIFO belongs to an endpoint other than the one for which the IN token was received. This interrupt is asserted on the endpoint for which the IN token was received.</br>
  36353. </comment>
  36354. </bits>
  36355. <bits access="rw" name="inepnakeff" pos="6" rst="0">
  36356. <comment>
  36357. <br>IN Endpoint NAK Effective (INEPNakEff)</br>
  36358. <br/>
  36359. <br>Applies to periodic IN endpoints only.</br>
  36360. <br/>
  36361. <br>This bit can be cleared when the application clears the IN endpoint NAK by writing to DIEPCTLn.CNAK.</br>
  36362. <br/>
  36363. <br>This interrupt indicates that the core has sampled the NAK bit</br>
  36364. <br/>
  36365. <br>Set (either by the application or by the core). The interrupt indicates that the IN endpoint NAK bit Set by the application has taken effect in the core.</br>
  36366. <br/>
  36367. <br>This interrupt does not guarantee that a NAK handshake is sent on the USB. A STALL bit takes priority over a NAK bit.</br>
  36368. </comment>
  36369. </bits>
  36370. <bits access="r" name="txfemp" pos="7" rst="1">
  36371. <comment>
  36372. <br>Transmit FIFO Empty (TxFEmp)</br>
  36373. <br/>
  36374. <br>This bit is valid only for IN endpoints</br>
  36375. <br/>
  36376. <br>This interrupt is asserted when the TxFIFO for this endpoint is</br>
  36377. <br>either half or completely empty. The half or completely empty</br>
  36378. <br>status is determined by the TxFIFO Empty Level bit in the Core</br>
  36379. <br>AHB Configuration register (GAHBCFG.NPTxFEmpLvl)).</br>
  36380. </comment>
  36381. </bits>
  36382. <bits access="rw" name="txfifoundrn" pos="8" rst="0">
  36383. <comment>
  36384. <br>Fifo Underrun (TxfifoUndrn)</br>
  36385. <br/>
  36386. <br>Applies to IN endpoints Only</br>
  36387. <br/>
  36388. <br>This bit is valid only If thresholding is enabled. The core generates this interrupt when</br>
  36389. <br>it detects a transmit FIFO underrun condition for this endpoint.</br>
  36390. </comment>
  36391. </bits>
  36392. <bits access="rw" name="bnaintr" pos="9" rst="0">
  36393. <comment>
  36394. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  36395. <br/>
  36396. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  36397. <br/>
  36398. <br>The core generates this interrupt when the descriptor accessed is not ready for the Core to process, such as Host busy or DMA done.</br>
  36399. </comment>
  36400. </bits>
  36401. <bits access="rw" name="pktdrpsts" pos="11" rst="0">
  36402. <comment>
  36403. <br>Packet Drop Status (PktDrpSts)</br>
  36404. <br/>
  36405. <br>This bit indicates to the application that an ISOC OUT packet has been dropped. This</br>
  36406. <br>bit does not have an associated mask bit and does not generate an interrupt.</br>
  36407. <br/>
  36408. <br>Dependency: This bit is valid in non Scatter/Gather DMA mode when periodic transfer</br>
  36409. <br>interrupt feature is selected.</br>
  36410. </comment>
  36411. </bits>
  36412. <bits access="rw" name="bbleerr" pos="12" rst="0">
  36413. <comment>
  36414. <br>NAK Interrupt (BbleErr)</br>
  36415. <br/>
  36416. <br>The core generates this interrupt when babble is received for the endpoint.</br>
  36417. </comment>
  36418. </bits>
  36419. <bits access="rw" name="nakintrpt" pos="13" rst="0">
  36420. <comment>
  36421. <br>NAK Interrupt (NAKInterrupt)</br>
  36422. <br/>
  36423. <br>The core generates this interrupt when a NAK is transmitted or received by the device.</br>
  36424. <br>In case of isochronous IN endpoints the interrupt gets generated when a zero length</br>
  36425. <br>packet is transmitted due to un-availability of data in the TXFifo.</br>
  36426. </comment>
  36427. </bits>
  36428. <bits access="rw" name="nyetintrpt" pos="14" rst="0">
  36429. <comment>
  36430. <br>NYET Interrupt (NYETIntrpt)</br>
  36431. <br/>
  36432. <br>The core generates this interrupt when a NYET response is transmitted for a non isochronous OUT endpoint.</br>
  36433. </comment>
  36434. </bits>
  36435. </reg>
  36436. <hole size="32"/>
  36437. <reg name="dieptsiz8" protect="rw">
  36438. <comment>Device IN Endpoint 8 Transfer Size Register
  36439. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  36440. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  36441. <comment>
  36442. <br>Transfer Size (XferSize)</br>
  36443. <br/>
  36444. <br>Indicates the transfer size in bytes for endpoint 0. The core</br>
  36445. <br>interrupts the application only after it has exhausted the transfer</br>
  36446. <br>size amount of data. The transfer size can be Set to the</br>
  36447. <br>maximum packet size of the endpoint, to be interrupted at the</br>
  36448. <br>end of each packet.</br>
  36449. <br/>
  36450. <br>The core decrements this field every time a packet from the</br>
  36451. <br>external memory is written to the TxFIFO.</br>
  36452. </comment>
  36453. </bits>
  36454. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  36455. <comment>
  36456. <br>Packet Count (PktCnt)</br>
  36457. <br/>
  36458. <br>Indicates the total number of USB packets that constitute the Transfer Size amount of data for endpoint 0.</br>
  36459. <br/>
  36460. <br>This field is decremented every time a packet (maximum size or short packet) is read from the TxFIFO.</br>
  36461. </comment>
  36462. </bits>
  36463. <bits access="rw" name="mc" pos="30:29" rst="0">
  36464. <comment>
  36465. <br>MC</br>
  36466. <br/>
  36467. <br>Applies to IN endpoints only.</br>
  36468. <br/>
  36469. <br>For periodic IN endpoints, this field indicates the number of packets that must be transmitted per microframe on the USB. The core uses this field to calculate the data PID for isochronous IN endpoints. </br>
  36470. <br> - 2'b01: 1 packet </br>
  36471. <br> - 2'b10: 2 packets </br>
  36472. <br> - 2'b11: 3 packets </br>
  36473. <br>For non-periodic IN endpoints, this field is valid only in Internal DMA mode. It specifies the number of packets the core must fetchfor an IN endpoint before it switches to the endpoint pointed to by the Next Endpoint field of the Device Endpoint-n Control register (DIEPCTLn.NextEp)</br>
  36474. </comment>
  36475. </bits>
  36476. </reg>
  36477. <reg name="diepdma8" protect="rw">
  36478. <comment>Device IN Endpoint 8 DMA Address Register
  36479. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  36480. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  36481. <comment>
  36482. <br>Holds the start address of the external memory for storing or fetching endpoint</br>
  36483. <br>data.</br>
  36484. <br/>
  36485. <br>Note: For control endpoints, this field stores control OUT data packets as well as</br>
  36486. <br>SETUP transaction data packets. When more than three SETUP packets are</br>
  36487. <br>received back-to-back, the SETUP data packet in the memory is overwritten.</br>
  36488. <br/>
  36489. <br>This register is incremented on every AHB transaction. The application can give</br>
  36490. <br>only a DWORD-aligned address.</br>
  36491. <br> - When Scatter/Gather DMA mode is not enabled, the application programs the start address value in this field.</br>
  36492. <br> - When Scatter/Gather DMA mode is enabled, this field indicates the base pointer for the descriptor list.</br>
  36493. <br/>
  36494. </comment>
  36495. </bits>
  36496. </reg>
  36497. <reg name="dtxfsts8" protect="r">
  36498. <comment>Device IN Endpoint Transmit FIFO Status Register 8
  36499. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  36500. <bits access="r" name="ineptxfspcavail" pos="15:0" rst="3759">
  36501. <comment>
  36502. <br>IN Endpoint TxFIFO Space Avail (INEPTxFSpcAvail)</br>
  36503. <br/>
  36504. <br>Indicates the amount of free space available in the Endpoint TxFIFO.</br>
  36505. <br/>
  36506. <br>Values are in terms of 32-bit words.</br>
  36507. <br> - 16'h0: Endpoint TxFIFO is full</br>
  36508. <br> - 16'h1: 1 word available</br>
  36509. <br> - 16'h2: 2 words available</br>
  36510. <br> - 16'hn: n words available (where 0 n 32,768)</br>
  36511. <br> - 16'h8000: 32,768 words available</br>
  36512. <br> - Others: Reserved</br>
  36513. </comment>
  36514. </bits>
  36515. </reg>
  36516. <reg name="diepdmab8" protect="r">
  36517. <comment>Device IN Endpoint 8 Buffer Address Register
  36518. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  36519. <bits access="r" name="dmabufferaddr" pos="31:0" rst="0">
  36520. <comment>
  36521. <br>Holds the current buffer address.This register is updated as and when the data</br>
  36522. <br>transfer for the corresponding end point is in progress.</br>
  36523. <br/>
  36524. <br>This register is present only in Scatter/Gather DMA mode. Otherwise this field is</br>
  36525. <br>reserved.</br>
  36526. </comment>
  36527. </bits>
  36528. </reg>
  36529. <reg name="diepctl9" protect="rw">
  36530. <comment>Device Control IN Endpoint 9 Control Register
  36531. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  36532. <bits access="rw" name="mps" pos="10:0" rst="0">
  36533. <comment>
  36534. <br>Maximum Packet Size (MPS)</br>
  36535. <br/>
  36536. <br>The application must program this field with the maximum packet size for the current logical endpoint. This value is in bytes.</br>
  36537. </comment>
  36538. </bits>
  36539. <bits access="rw" name="usbactep" pos="15" rst="0">
  36540. <comment>
  36541. <br>USB Active Endpoint (USBActEP)</br>
  36542. <br/>
  36543. <br>Indicates whether this endpoint is active in the current configuration and interface. The</br>
  36544. <br>core clears this bit for all endpoints (other than EP 0) after detecting a USB reset. After</br>
  36545. <br>receiving the SetConfiguration and SetInterface commands, the application must</br>
  36546. <br>program endpoint registers accordingly and set this bit.</br>
  36547. </comment>
  36548. </bits>
  36549. <bits access="r" name="dpid" pos="16" rst="0">
  36550. <comment>
  36551. <br/>
  36552. <br>Endpoint Data PID (DPID)</br>
  36553. <br/>
  36554. <br>Applies to interrupt/bulk IN and OUT endpoints only.</br>
  36555. <br/>
  36556. <br>Contains the PID of the packet to be received or transmitted on this endpoint. The</br>
  36557. <br>application must program the PID of the first packet to be received or transmitted on</br>
  36558. <br>this endpoint, after the endpoint is activated. The applications use the SetD1PID and</br>
  36559. <br>SetD0PID fields of this register to program either DATA0 or DATA1 PID.</br>
  36560. <br> - 1'b0: DATA0</br>
  36561. <br> - 1'b1: DATA1</br>
  36562. <br>This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather</br>
  36563. <br>DMA mode.</br>
  36564. <br/>
  36565. <br>Even/Odd (Micro)Frame (EO_FrNum)</br>
  36566. <br/>
  36567. <br>In non-Scatter/Gather DMA mode:</br>
  36568. <br/>
  36569. <br>Applies to isochronous IN and OUT endpoints only.</br>
  36570. <br/>
  36571. <br>Indicates the (micro)frame number in which the core transmits/receives isochronous</br>
  36572. <br>data for this endpoint. The application must program the even/odd (micro)frame</br>
  36573. <br>number in which it intends to transmit/receive isochronous data for this endpoint using</br>
  36574. <br>the SetEvnFr and SetOddFr fields in this register.</br>
  36575. <br> - 1'b0: Even (micro)frame</br>
  36576. <br> - 1'b1: Odd (micro)frame</br>
  36577. <br>When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number</br>
  36578. <br>in which to send data is provided in the transmit descriptor structure. The frame in</br>
  36579. <br>which data is received is updated in receive descriptor structure. </br>
  36580. </comment>
  36581. </bits>
  36582. <bits access="r" name="naksts" pos="17" rst="0">
  36583. <comment>
  36584. <br>NAK Status (NAKSts)</br>
  36585. <br/>
  36586. <br>Indicates the following:</br>
  36587. <br> - 1'b0: The core is transmitting non-NAK handshakes based on the FIFO status.</br>
  36588. <br> - 1'b1: The core is transmitting NAK handshakes on this endpoint.</br>
  36589. <br>When either the application or the core sets this bit:</br>
  36590. <br> - The core stops receiving any data on an OUT endpoint, even if there is space in the RxFIFO to accommodate the incoming packet.</br>
  36591. <br> - For non-isochronous IN endpoints: The core stops transmitting any data on an IN endpoint, even if there data is available in the TxFIFO.</br>
  36592. <br> - For isochronous IN endpoints: The core sends out a zero-length data packet, even if there data is available in the TxFIFO.</br>
  36593. <br>Irrespective of this bit's setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  36594. </comment>
  36595. </bits>
  36596. <bits access="rw" name="eptype" pos="19:18" rst="0">
  36597. <comment>
  36598. <br>Endpoint Type (EPType)</br>
  36599. <br>This is the transfer type supported by this logical endpoint.</br>
  36600. <br> - 2'b00: Control</br>
  36601. <br> - 2'b01: Isochronous</br>
  36602. <br> - 2'b10: Bulk</br>
  36603. <br> - 2'b11: Interrupt</br>
  36604. </comment>
  36605. </bits>
  36606. <bits access="rw" name="stall" pos="21" rst="0">
  36607. <comment>
  36608. <br>STALL Handshake (Stall)</br>
  36609. <br/>
  36610. <br>Applies to non-control, non-isochronous IN and OUT endpoints only.</br>
  36611. <br/>
  36612. <br>The application sets this bit to stall all tokens from the USB host to this endpoint. If a</br>
  36613. <br>NAK bit, Global Non-periodic IN NAK, or Global OUT NAK is set along with this bit, the</br>
  36614. <br>STALL bit takes priority. Only the application can clear this bit, never the core.</br>
  36615. <br/>
  36616. <br>Applies to control endpoints only.</br>
  36617. <br/>
  36618. <br>The application can only set this bit, and the core clears it, when a SETUP token is</br>
  36619. <br>received for this endpoint. If a NAK bit, Global Non-periodic IN NAK, or Global OUT</br>
  36620. <br>NAK is set along with this bit, the STALL bit takes priority. Irrespective of this bit's</br>
  36621. <br>setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  36622. <br/>
  36623. </comment>
  36624. </bits>
  36625. <bits access="rw" name="txfnum" pos="25:22" rst="0">
  36626. <comment>
  36627. <br>TxFIFO Number (TxFNum)</br>
  36628. <br/>
  36629. <br>Shared FIFO Operation non-periodic endpoints must set this bit to zero. Periodic</br>
  36630. <br>endpoints must map this to the corresponding Periodic TxFIFO number.</br>
  36631. <br> - 4'h0: Non-Periodic TxFIFO</br>
  36632. <br> - Others: Specified Periodic TxFIFO.number</br>
  36633. <br>Note: An interrupt IN endpoint can be configured as a non-periodic endpoint for</br>
  36634. <br>applications such as mass storage. The core treats an IN endpoint as a non-periodic</br>
  36635. <br>endpoint if the TxFNum field is set to 0. Otherwise, a separate periodic FIFO must be</br>
  36636. <br>allocated for an interrupt IN endpoint, and the number of this</br>
  36637. <br>FIFO must be programmed into the TxFNum field. Configuring an interrupt IN</br>
  36638. <br>endpoint as a non-periodic endpoint saves the extra periodic FIFO area.</br>
  36639. <br/>
  36640. <br>Dedicated FIFO Operation: These bits specify the FIFO number associated with this</br>
  36641. <br>endpoint. Each active IN endpoint must be programmed to a separate FIFO number.</br>
  36642. <br>This field is valid only for IN endpoints.</br>
  36643. </comment>
  36644. </bits>
  36645. <bits access="w" name="cnak" pos="26" rst="0">
  36646. <comment>
  36647. <br>Clear NAK (CNAK)</br>
  36648. <br/>
  36649. <br>A write to this bit clears the NAK bit for the endpoint.</br>
  36650. </comment>
  36651. </bits>
  36652. <bits access="w" name="snak" pos="27" rst="0">
  36653. <comment>
  36654. <br>Set NAK (SNAK)</br>
  36655. <br/>
  36656. <br>A write to this bit sets the NAK bit for the endpoint.</br>
  36657. <br/>
  36658. <br>Using this bit, the application can control the transmission of NAK handshakes on an endpoint. The core can also Set this bit for an endpoint after a SETUP packet is received on that endpoint.</br>
  36659. </comment>
  36660. </bits>
  36661. <bits access="w" name="setd0pid" pos="28" rst="0">
  36662. <comment>
  36663. <br>SetD0PID</br>
  36664. <br> - Set DATA0 PID (SetD0PID)</br>
  36665. <br> -- Applies to interrupt/bulk IN and OUT endpoints only.</br>
  36666. <br> -- Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA0.</br>
  36667. <br> -- This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  36668. <br>In non-Scatter/Gather DMA mode: Set Even (micro)Frame (SetEvenFr)</br>
  36669. <br> -- Applies to isochronous IN and OUT endpoints only.</br>
  36670. <br> -- Writing to this field sets the Even/Odd (micro)Frame (EO_FrNum) field to even (micro)Frame.</br>
  36671. <br>When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is in the transmit descriptor structure. The frame in which to</br>
  36672. <br>receive data is updated in receive descriptor structure.</br>
  36673. </comment>
  36674. </bits>
  36675. <bits access="w" name="setd1pid" pos="29" rst="0">
  36676. <comment>
  36677. <br>SetD1PID</br>
  36678. <br> - Set DATA1 PID (SetD1PID)</br>
  36679. <br> -- Applies to interrupt and bulk IN and OUT endpoints only.</br>
  36680. <br> -- Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA1.</br>
  36681. <br> -- This field is applicable both for Scatter-Gather DMA mode and non Scatter-Gather DMA mode.</br>
  36682. <br> - Set odd (micro)Frame (SetOddFr)</br>
  36683. <br> -- Applies to isochronous IN and OUT endpoints only.</br>
  36684. <br> -- Writing to this field sets the even and odd (micro)Frame (EO_FrNum) field to odd (micro)Frame.</br>
  36685. <br> -- This field is not applicable for Scatter-Gather DMA mode.</br>
  36686. </comment>
  36687. </bits>
  36688. <bits access="rw" name="epdis" pos="30" rst="0">
  36689. <comment>
  36690. <br>Endpoint Disable (EPDis)</br>
  36691. <br/>
  36692. <br>Applies to IN and OUT endpoints.</br>
  36693. <br/>
  36694. <br>The application sets this bit to stop transmitting/receiving data on an endpoint, even</br>
  36695. <br>before the transfer for that endpoint is complete. The application must wait for the</br>
  36696. <br>Endpoint Disabled interrupt before treating the endpoint as disabled. The core clears</br>
  36697. <br>this bit before setting the Endpoint Disabled interrupt. The application must set this bit</br>
  36698. <br>only if Endpoint Enable is already set for this endpoint.</br>
  36699. </comment>
  36700. </bits>
  36701. <bits access="rw" name="epena" pos="31" rst="0">
  36702. <comment>
  36703. <br>Endpoint Enable (EPEna)</br>
  36704. <br/>
  36705. <br>Applies to IN and OUT endpoints.</br>
  36706. <br> - When Scatter/Gather DMA mode is enabled,</br>
  36707. <br> -- For IN endpoints this bit indicates that the descriptor structure and data buffer with data ready to transmit is setup.</br>
  36708. <br> -- For OUT endpoint it indicates that the descriptor structure and data buffer to receive data is setup.</br>
  36709. <br> - When Scatter/Gather DMA mode is enabled such as for buffer-pointer based DMA mode:</br>
  36710. <br> -- For IN endpoints, this bit indicates that data is ready to be transmitted on the endpoint.</br>
  36711. <br> -- For OUT endpoints, this bit indicates that the application has allocated the memory to start receiving data from the USB.</br>
  36712. <br> - The core clears this bit before setting any of the following interrupts on this endpoint:</br>
  36713. <br> -- SETUP Phase Done</br>
  36714. <br> -- Endpoint Disabled</br>
  36715. <br> -- Transfer Completed</br>
  36716. <br>Note: For control endpoints in DMA mode, this bit must be set to be able to transfer SETUP data packets in memory.</br>
  36717. </comment>
  36718. </bits>
  36719. </reg>
  36720. <hole size="32"/>
  36721. <reg name="diepint9" protect="rw">
  36722. <comment>Device IN Endpoint 9 Interrupt Register
  36723. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  36724. <bits access="rw" name="xfercompl" pos="0" rst="0">
  36725. <comment>
  36726. <br>Transfer Completed Interrupt (XferCompl)</br>
  36727. <br/>
  36728. <br>Applies to IN and OUT endpoints.</br>
  36729. <br> - When Scatter/Gather DMA mode is enabled</br>
  36730. <br> -- For IN endpoint this field indicates that the requested data from the descriptor is moved from external system memory to internal FIFO.</br>
  36731. <br> -- For OUT endpoint this field indicates that the requested data from the internal FIFO is moved to external system memory. This interrupt is generated only when the corresponding endpoint descriptor is closed, and the IOC bit for the corresponding descriptor is set.</br>
  36732. <br> - When Scatter/Gather DMA mode is disabled, this field indicates that the programmed transfer is complete on the AHB as well as on the USB, for this endpoint.</br>
  36733. </comment>
  36734. </bits>
  36735. <bits access="rw" name="epdisbld" pos="1" rst="0">
  36736. <comment>
  36737. <br>Endpoint Disabled Interrupt (EPDisbld)</br>
  36738. <br/>
  36739. <br>Applies to IN and OUT endpoints.</br>
  36740. <br/>
  36741. <br>This bit indicates that the endpoint is disabled per the application's request.</br>
  36742. </comment>
  36743. </bits>
  36744. <bits access="rw" name="ahberr" pos="2" rst="0">
  36745. <comment>
  36746. <br>AHB Error (AHBErr)</br>
  36747. <br/>
  36748. <br>Applies to IN and OUT endpoints.</br>
  36749. <br/>
  36750. <br>This is generated only in Internal DMA mode when there is an</br>
  36751. <br>AHB error during an AHB read/write. The application can read</br>
  36752. <br>the corresponding endpoint DMA address register to get the</br>
  36753. <br>error address.</br>
  36754. </comment>
  36755. </bits>
  36756. <bits access="rw" name="timeout" pos="3" rst="0">
  36757. <comment>
  36758. <br>Timeout Condition (TimeOUT)</br>
  36759. <br> - In shared TX FIFO mode, applies to non-isochronous IN endpoints only.</br>
  36760. <br> - In dedicated FIFO mode, applies only to Control IN endpoints.</br>
  36761. <br> - In Scatter/Gather DMA mode, the TimeOUT interrupt is not asserted.</br>
  36762. <br>Indicates that the core has detected a timeout condition on the USB for the last IN token on this endpoint.</br>
  36763. </comment>
  36764. </bits>
  36765. <bits access="rw" name="intkntxfemp" pos="4" rst="0">
  36766. <comment>
  36767. <br>IN Token Received When TxFIFO is Empty (INTknTXFEmp)</br>
  36768. <br/>
  36769. <br>Applies to non-periodic IN endpoints only.</br>
  36770. <br/>
  36771. <br>Indicates that an IN token was received when the associated TxFIFO (periodic/non-periodic) was empty. This interrupt is asserted on the endpoint for which the IN token was received.</br>
  36772. </comment>
  36773. </bits>
  36774. <bits access="rw" name="intknepmis" pos="5" rst="0">
  36775. <comment>
  36776. <br>IN Token Received with EP Mismatch (INTknEPMis)</br>
  36777. <br/>
  36778. <br>Applies to non-periodic IN endpoints only.</br>
  36779. <br/>
  36780. <br>Indicates that the data in the top of the non-periodic TxFIFO belongs to an endpoint other than the one for which the IN token was received. This interrupt is asserted on the endpoint for which the IN token was received.</br>
  36781. </comment>
  36782. </bits>
  36783. <bits access="rw" name="inepnakeff" pos="6" rst="0">
  36784. <comment>
  36785. <br>IN Endpoint NAK Effective (INEPNakEff)</br>
  36786. <br/>
  36787. <br>Applies to periodic IN endpoints only.</br>
  36788. <br/>
  36789. <br>This bit can be cleared when the application clears the IN endpoint NAK by writing to DIEPCTLn.CNAK.</br>
  36790. <br/>
  36791. <br>This interrupt indicates that the core has sampled the NAK bit</br>
  36792. <br/>
  36793. <br>Set (either by the application or by the core). The interrupt indicates that the IN endpoint NAK bit Set by the application has taken effect in the core.</br>
  36794. <br/>
  36795. <br>This interrupt does not guarantee that a NAK handshake is sent on the USB. A STALL bit takes priority over a NAK bit.</br>
  36796. </comment>
  36797. </bits>
  36798. <bits access="r" name="txfemp" pos="7" rst="1">
  36799. <comment>
  36800. <br>Transmit FIFO Empty (TxFEmp)</br>
  36801. <br/>
  36802. <br>This bit is valid only for IN endpoints</br>
  36803. <br/>
  36804. <br>This interrupt is asserted when the TxFIFO for this endpoint is</br>
  36805. <br>either half or completely empty. The half or completely empty</br>
  36806. <br>status is determined by the TxFIFO Empty Level bit in the Core</br>
  36807. <br>AHB Configuration register (GAHBCFG.NPTxFEmpLvl)).</br>
  36808. </comment>
  36809. </bits>
  36810. <bits access="rw" name="txfifoundrn" pos="8" rst="0">
  36811. <comment>
  36812. <br>Fifo Underrun (TxfifoUndrn)</br>
  36813. <br/>
  36814. <br>Applies to IN endpoints Only</br>
  36815. <br/>
  36816. <br>This bit is valid only If thresholding is enabled. The core generates this interrupt when</br>
  36817. <br>it detects a transmit FIFO underrun condition for this endpoint.</br>
  36818. </comment>
  36819. </bits>
  36820. <bits access="rw" name="bnaintr" pos="9" rst="0">
  36821. <comment>
  36822. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  36823. <br/>
  36824. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  36825. <br/>
  36826. <br>The core generates this interrupt when the descriptor accessed is not ready for the Core to process, such as Host busy or DMA done.</br>
  36827. </comment>
  36828. </bits>
  36829. <bits access="rw" name="pktdrpsts" pos="11" rst="0">
  36830. <comment>
  36831. <br>Packet Drop Status (PktDrpSts)</br>
  36832. <br/>
  36833. <br>This bit indicates to the application that an ISOC OUT packet has been dropped. This</br>
  36834. <br>bit does not have an associated mask bit and does not generate an interrupt.</br>
  36835. <br/>
  36836. <br>Dependency: This bit is valid in non Scatter/Gather DMA mode when periodic transfer</br>
  36837. <br>interrupt feature is selected.</br>
  36838. </comment>
  36839. </bits>
  36840. <bits access="rw" name="bbleerr" pos="12" rst="0">
  36841. <comment>
  36842. <br>NAK Interrupt (BbleErr)</br>
  36843. <br/>
  36844. <br>The core generates this interrupt when babble is received for the endpoint.</br>
  36845. </comment>
  36846. </bits>
  36847. <bits access="rw" name="nakintrpt" pos="13" rst="0">
  36848. <comment>
  36849. <br>NAK Interrupt (NAKInterrupt)</br>
  36850. <br/>
  36851. <br>The core generates this interrupt when a NAK is transmitted or received by the device.</br>
  36852. <br>In case of isochronous IN endpoints the interrupt gets generated when a zero length</br>
  36853. <br>packet is transmitted due to un-availability of data in the TXFifo.</br>
  36854. </comment>
  36855. </bits>
  36856. <bits access="rw" name="nyetintrpt" pos="14" rst="0">
  36857. <comment>
  36858. <br>NYET Interrupt (NYETIntrpt)</br>
  36859. <br/>
  36860. <br>The core generates this interrupt when a NYET response is transmitted for a non isochronous OUT endpoint.</br>
  36861. </comment>
  36862. </bits>
  36863. </reg>
  36864. <hole size="32"/>
  36865. <reg name="dieptsiz9" protect="rw">
  36866. <comment>Device IN Endpoint 9 Transfer Size Register
  36867. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  36868. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  36869. <comment>
  36870. <br>Transfer Size (XferSize)</br>
  36871. <br/>
  36872. <br>Indicates the transfer size in bytes for endpoint 0. The core</br>
  36873. <br>interrupts the application only after it has exhausted the transfer</br>
  36874. <br>size amount of data. The transfer size can be Set to the</br>
  36875. <br>maximum packet size of the endpoint, to be interrupted at the</br>
  36876. <br>end of each packet.</br>
  36877. <br/>
  36878. <br>The core decrements this field every time a packet from the</br>
  36879. <br>external memory is written to the TxFIFO.</br>
  36880. </comment>
  36881. </bits>
  36882. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  36883. <comment>
  36884. <br>Packet Count (PktCnt)</br>
  36885. <br/>
  36886. <br>Indicates the total number of USB packets that constitute the Transfer Size amount of data for endpoint 0.</br>
  36887. <br/>
  36888. <br>This field is decremented every time a packet (maximum size or short packet) is read from the TxFIFO.</br>
  36889. </comment>
  36890. </bits>
  36891. <bits access="rw" name="mc" pos="30:29" rst="0">
  36892. <comment>
  36893. <br>MC</br>
  36894. <br/>
  36895. <br>Applies to IN endpoints only.</br>
  36896. <br/>
  36897. <br>For periodic IN endpoints, this field indicates the number of packets that must be transmitted per microframe on the USB. The core uses this field to calculate the data PID for isochronous IN endpoints. </br>
  36898. <br> - 2'b01: 1 packet </br>
  36899. <br> - 2'b10: 2 packets </br>
  36900. <br> - 2'b11: 3 packets </br>
  36901. <br>For non-periodic IN endpoints, this field is valid only in Internal DMA mode. It specifies the number of packets the core must fetchfor an IN endpoint before it switches to the endpoint pointed to by the Next Endpoint field of the Device Endpoint-n Control register (DIEPCTLn.NextEp)</br>
  36902. </comment>
  36903. </bits>
  36904. </reg>
  36905. <reg name="diepdma9" protect="rw">
  36906. <comment>Device IN Endpoint 9 DMA Address Register
  36907. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  36908. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  36909. <comment>
  36910. <br>Holds the start address of the external memory for storing or fetching endpoint</br>
  36911. <br>data.</br>
  36912. <br/>
  36913. <br>Note: For control endpoints, this field stores control OUT data packets as well as</br>
  36914. <br>SETUP transaction data packets. When more than three SETUP packets are</br>
  36915. <br>received back-to-back, the SETUP data packet in the memory is overwritten.</br>
  36916. <br/>
  36917. <br>This register is incremented on every AHB transaction. The application can give</br>
  36918. <br>only a DWORD-aligned address.</br>
  36919. <br> - When Scatter/Gather DMA mode is not enabled, the application programs the start address value in this field.</br>
  36920. <br> - When Scatter/Gather DMA mode is enabled, this field indicates the base pointer for the descriptor list.</br>
  36921. <br/>
  36922. </comment>
  36923. </bits>
  36924. </reg>
  36925. <reg name="dtxfsts9" protect="r">
  36926. <comment>Device IN Endpoint Transmit FIFO Status Register 9
  36927. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  36928. <bits access="r" name="ineptxfspcavail" pos="15:0" rst="3759">
  36929. <comment>
  36930. <br>IN Endpoint TxFIFO Space Avail (INEPTxFSpcAvail)</br>
  36931. <br/>
  36932. <br>Indicates the amount of free space available in the Endpoint TxFIFO.</br>
  36933. <br/>
  36934. <br>Values are in terms of 32-bit words.</br>
  36935. <br> - 16'h0: Endpoint TxFIFO is full</br>
  36936. <br> - 16'h1: 1 word available</br>
  36937. <br> - 16'h2: 2 words available</br>
  36938. <br> - 16'hn: n words available (where 0 n 32,768)</br>
  36939. <br> - 16'h8000: 32,768 words available</br>
  36940. <br> - Others: Reserved</br>
  36941. </comment>
  36942. </bits>
  36943. </reg>
  36944. <reg name="diepdmab9" protect="r">
  36945. <comment>Device IN Endpoint 9 Buffer Address Register
  36946. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  36947. <bits access="r" name="dmabufferaddr" pos="31:0" rst="0">
  36948. <comment>
  36949. <br>Holds the current buffer address.This register is updated as and when the data</br>
  36950. <br>transfer for the corresponding end point is in progress.</br>
  36951. <br/>
  36952. <br>This register is present only in Scatter/Gather DMA mode. Otherwise this field is</br>
  36953. <br>reserved.</br>
  36954. </comment>
  36955. </bits>
  36956. </reg>
  36957. <reg name="diepctl10" protect="rw">
  36958. <comment>Device Control IN Endpoint 10 Control Register
  36959. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  36960. <bits access="rw" name="mps" pos="10:0" rst="0">
  36961. <comment>
  36962. <br>Maximum Packet Size (MPS)</br>
  36963. <br/>
  36964. <br>The application must program this field with the maximum packet size for the current logical endpoint. This value is in bytes.</br>
  36965. </comment>
  36966. </bits>
  36967. <bits access="rw" name="usbactep" pos="15" rst="0">
  36968. <comment>
  36969. <br>USB Active Endpoint (USBActEP)</br>
  36970. <br/>
  36971. <br>Indicates whether this endpoint is active in the current configuration and interface. The</br>
  36972. <br>core clears this bit for all endpoints (other than EP 0) after detecting a USB reset. After</br>
  36973. <br>receiving the SetConfiguration and SetInterface commands, the application must</br>
  36974. <br>program endpoint registers accordingly and set this bit.</br>
  36975. </comment>
  36976. </bits>
  36977. <bits access="r" name="dpid" pos="16" rst="0">
  36978. <comment>
  36979. <br/>
  36980. <br>Endpoint Data PID (DPID)</br>
  36981. <br/>
  36982. <br>Applies to interrupt/bulk IN and OUT endpoints only.</br>
  36983. <br/>
  36984. <br>Contains the PID of the packet to be received or transmitted on this endpoint. The</br>
  36985. <br>application must program the PID of the first packet to be received or transmitted on</br>
  36986. <br>this endpoint, after the endpoint is activated. The applications use the SetD1PID and</br>
  36987. <br>SetD0PID fields of this register to program either DATA0 or DATA1 PID.</br>
  36988. <br> - 1'b0: DATA0</br>
  36989. <br> - 1'b1: DATA1</br>
  36990. <br>This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather</br>
  36991. <br>DMA mode.</br>
  36992. <br/>
  36993. <br>Even/Odd (Micro)Frame (EO_FrNum)</br>
  36994. <br/>
  36995. <br>In non-Scatter/Gather DMA mode:</br>
  36996. <br/>
  36997. <br>Applies to isochronous IN and OUT endpoints only.</br>
  36998. <br/>
  36999. <br>Indicates the (micro)frame number in which the core transmits/receives isochronous</br>
  37000. <br>data for this endpoint. The application must program the even/odd (micro)frame</br>
  37001. <br>number in which it intends to transmit/receive isochronous data for this endpoint using</br>
  37002. <br>the SetEvnFr and SetOddFr fields in this register.</br>
  37003. <br> - 1'b0: Even (micro)frame</br>
  37004. <br> - 1'b1: Odd (micro)frame</br>
  37005. <br>When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number</br>
  37006. <br>in which to send data is provided in the transmit descriptor structure. The frame in</br>
  37007. <br>which data is received is updated in receive descriptor structure. </br>
  37008. </comment>
  37009. </bits>
  37010. <bits access="r" name="naksts" pos="17" rst="0">
  37011. <comment>
  37012. <br>NAK Status (NAKSts)</br>
  37013. <br/>
  37014. <br>Indicates the following:</br>
  37015. <br> - 1'b0: The core is transmitting non-NAK handshakes based on the FIFO status.</br>
  37016. <br> - 1'b1: The core is transmitting NAK handshakes on this endpoint.</br>
  37017. <br>When either the application or the core sets this bit:</br>
  37018. <br> - The core stops receiving any data on an OUT endpoint, even if there is space in the RxFIFO to accommodate the incoming packet.</br>
  37019. <br> - For non-isochronous IN endpoints: The core stops transmitting any data on an IN endpoint, even if there data is available in the TxFIFO.</br>
  37020. <br> - For isochronous IN endpoints: The core sends out a zero-length data packet, even if there data is available in the TxFIFO.</br>
  37021. <br>Irrespective of this bit's setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  37022. </comment>
  37023. </bits>
  37024. <bits access="rw" name="eptype" pos="19:18" rst="0">
  37025. <comment>
  37026. <br>Endpoint Type (EPType)</br>
  37027. <br>This is the transfer type supported by this logical endpoint.</br>
  37028. <br> - 2'b00: Control</br>
  37029. <br> - 2'b01: Isochronous</br>
  37030. <br> - 2'b10: Bulk</br>
  37031. <br> - 2'b11: Interrupt</br>
  37032. </comment>
  37033. </bits>
  37034. <bits access="rw" name="stall" pos="21" rst="0">
  37035. <comment>
  37036. <br>STALL Handshake (Stall)</br>
  37037. <br/>
  37038. <br>Applies to non-control, non-isochronous IN and OUT endpoints only.</br>
  37039. <br/>
  37040. <br>The application sets this bit to stall all tokens from the USB host to this endpoint. If a</br>
  37041. <br>NAK bit, Global Non-periodic IN NAK, or Global OUT NAK is set along with this bit, the</br>
  37042. <br>STALL bit takes priority. Only the application can clear this bit, never the core.</br>
  37043. <br/>
  37044. <br>Applies to control endpoints only.</br>
  37045. <br/>
  37046. <br>The application can only set this bit, and the core clears it, when a SETUP token is</br>
  37047. <br>received for this endpoint. If a NAK bit, Global Non-periodic IN NAK, or Global OUT</br>
  37048. <br>NAK is set along with this bit, the STALL bit takes priority. Irrespective of this bit's</br>
  37049. <br>setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  37050. <br/>
  37051. </comment>
  37052. </bits>
  37053. <bits access="rw" name="txfnum" pos="25:22" rst="0">
  37054. <comment>
  37055. <br>TxFIFO Number (TxFNum)</br>
  37056. <br/>
  37057. <br>Shared FIFO Operation non-periodic endpoints must set this bit to zero. Periodic</br>
  37058. <br>endpoints must map this to the corresponding Periodic TxFIFO number.</br>
  37059. <br> - 4'h0: Non-Periodic TxFIFO</br>
  37060. <br> - Others: Specified Periodic TxFIFO.number</br>
  37061. <br>Note: An interrupt IN endpoint can be configured as a non-periodic endpoint for</br>
  37062. <br>applications such as mass storage. The core treats an IN endpoint as a non-periodic</br>
  37063. <br>endpoint if the TxFNum field is set to 0. Otherwise, a separate periodic FIFO must be</br>
  37064. <br>allocated for an interrupt IN endpoint, and the number of this</br>
  37065. <br>FIFO must be programmed into the TxFNum field. Configuring an interrupt IN</br>
  37066. <br>endpoint as a non-periodic endpoint saves the extra periodic FIFO area.</br>
  37067. <br/>
  37068. <br>Dedicated FIFO Operation: These bits specify the FIFO number associated with this</br>
  37069. <br>endpoint. Each active IN endpoint must be programmed to a separate FIFO number.</br>
  37070. <br>This field is valid only for IN endpoints.</br>
  37071. </comment>
  37072. </bits>
  37073. <bits access="w" name="cnak" pos="26" rst="0">
  37074. <comment>
  37075. <br>Clear NAK (CNAK)</br>
  37076. <br/>
  37077. <br>A write to this bit clears the NAK bit for the endpoint.</br>
  37078. </comment>
  37079. </bits>
  37080. <bits access="w" name="snak" pos="27" rst="0">
  37081. <comment>
  37082. <br>Set NAK (SNAK)</br>
  37083. <br/>
  37084. <br>A write to this bit sets the NAK bit for the endpoint.</br>
  37085. <br/>
  37086. <br>Using this bit, the application can control the transmission of NAK handshakes on an endpoint. The core can also Set this bit for an endpoint after a SETUP packet is received on that endpoint.</br>
  37087. </comment>
  37088. </bits>
  37089. <bits access="w" name="setd0pid" pos="28" rst="0">
  37090. <comment>
  37091. <br>SetD0PID</br>
  37092. <br> - Set DATA0 PID (SetD0PID)</br>
  37093. <br> -- Applies to interrupt/bulk IN and OUT endpoints only.</br>
  37094. <br> -- Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA0.</br>
  37095. <br> -- This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  37096. <br>In non-Scatter/Gather DMA mode: Set Even (micro)Frame (SetEvenFr)</br>
  37097. <br> -- Applies to isochronous IN and OUT endpoints only.</br>
  37098. <br> -- Writing to this field sets the Even/Odd (micro)Frame (EO_FrNum) field to even (micro)Frame.</br>
  37099. <br>When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is in the transmit descriptor structure. The frame in which to</br>
  37100. <br>receive data is updated in receive descriptor structure.</br>
  37101. </comment>
  37102. </bits>
  37103. <bits access="w" name="setd1pid" pos="29" rst="0">
  37104. <comment>
  37105. <br>SetD1PID</br>
  37106. <br> - Set DATA1 PID (SetD1PID)</br>
  37107. <br> -- Applies to interrupt and bulk IN and OUT endpoints only.</br>
  37108. <br> -- Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA1.</br>
  37109. <br> -- This field is applicable both for Scatter-Gather DMA mode and non Scatter-Gather DMA mode.</br>
  37110. <br> - Set odd (micro)Frame (SetOddFr)</br>
  37111. <br> -- Applies to isochronous IN and OUT endpoints only.</br>
  37112. <br> -- Writing to this field sets the even and odd (micro)Frame (EO_FrNum) field to odd (micro)Frame.</br>
  37113. <br> -- This field is not applicable for Scatter-Gather DMA mode.</br>
  37114. </comment>
  37115. </bits>
  37116. <bits access="rw" name="epdis" pos="30" rst="0">
  37117. <comment>
  37118. <br>Endpoint Disable (EPDis)</br>
  37119. <br/>
  37120. <br>Applies to IN and OUT endpoints.</br>
  37121. <br/>
  37122. <br>The application sets this bit to stop transmitting/receiving data on an endpoint, even</br>
  37123. <br>before the transfer for that endpoint is complete. The application must wait for the</br>
  37124. <br>Endpoint Disabled interrupt before treating the endpoint as disabled. The core clears</br>
  37125. <br>this bit before setting the Endpoint Disabled interrupt. The application must set this bit</br>
  37126. <br>only if Endpoint Enable is already set for this endpoint.</br>
  37127. </comment>
  37128. </bits>
  37129. <bits access="rw" name="epena" pos="31" rst="0">
  37130. <comment>
  37131. <br>Endpoint Enable (EPEna)</br>
  37132. <br/>
  37133. <br>Applies to IN and OUT endpoints.</br>
  37134. <br> - When Scatter/Gather DMA mode is enabled,</br>
  37135. <br> -- For IN endpoints this bit indicates that the descriptor structure and data buffer with data ready to transmit is setup.</br>
  37136. <br> -- For OUT endpoint it indicates that the descriptor structure and data buffer to receive data is setup.</br>
  37137. <br> - When Scatter/Gather DMA mode is enabled such as for buffer-pointer based DMA mode:</br>
  37138. <br> -- For IN endpoints, this bit indicates that data is ready to be transmitted on the endpoint.</br>
  37139. <br> -- For OUT endpoints, this bit indicates that the application has allocated the memory to start receiving data from the USB.</br>
  37140. <br> - The core clears this bit before setting any of the following interrupts on this endpoint:</br>
  37141. <br> -- SETUP Phase Done</br>
  37142. <br> -- Endpoint Disabled</br>
  37143. <br> -- Transfer Completed</br>
  37144. <br>Note: For control endpoints in DMA mode, this bit must be set to be able to transfer SETUP data packets in memory.</br>
  37145. </comment>
  37146. </bits>
  37147. </reg>
  37148. <hole size="32"/>
  37149. <reg name="diepint10" protect="rw">
  37150. <comment>Device IN Endpoint 10 Interrupt Register
  37151. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  37152. <bits access="rw" name="xfercompl" pos="0" rst="0">
  37153. <comment>
  37154. <br>Transfer Completed Interrupt (XferCompl)</br>
  37155. <br/>
  37156. <br>Applies to IN and OUT endpoints.</br>
  37157. <br> - When Scatter/Gather DMA mode is enabled</br>
  37158. <br> -- For IN endpoint this field indicates that the requested data from the descriptor is moved from external system memory to internal FIFO.</br>
  37159. <br> -- For OUT endpoint this field indicates that the requested data from the internal FIFO is moved to external system memory. This interrupt is generated only when the corresponding endpoint descriptor is closed, and the IOC bit for the corresponding descriptor is set.</br>
  37160. <br> - When Scatter/Gather DMA mode is disabled, this field indicates that the programmed transfer is complete on the AHB as well as on the USB, for this endpoint.</br>
  37161. </comment>
  37162. </bits>
  37163. <bits access="rw" name="epdisbld" pos="1" rst="0">
  37164. <comment>
  37165. <br>Endpoint Disabled Interrupt (EPDisbld)</br>
  37166. <br/>
  37167. <br>Applies to IN and OUT endpoints.</br>
  37168. <br/>
  37169. <br>This bit indicates that the endpoint is disabled per the application's request.</br>
  37170. </comment>
  37171. </bits>
  37172. <bits access="rw" name="ahberr" pos="2" rst="0">
  37173. <comment>
  37174. <br>AHB Error (AHBErr)</br>
  37175. <br/>
  37176. <br>Applies to IN and OUT endpoints.</br>
  37177. <br/>
  37178. <br>This is generated only in Internal DMA mode when there is an</br>
  37179. <br>AHB error during an AHB read/write. The application can read</br>
  37180. <br>the corresponding endpoint DMA address register to get the</br>
  37181. <br>error address.</br>
  37182. </comment>
  37183. </bits>
  37184. <bits access="rw" name="timeout" pos="3" rst="0">
  37185. <comment>
  37186. <br>Timeout Condition (TimeOUT)</br>
  37187. <br> - In shared TX FIFO mode, applies to non-isochronous IN endpoints only.</br>
  37188. <br> - In dedicated FIFO mode, applies only to Control IN endpoints.</br>
  37189. <br> - In Scatter/Gather DMA mode, the TimeOUT interrupt is not asserted.</br>
  37190. <br>Indicates that the core has detected a timeout condition on the USB for the last IN token on this endpoint.</br>
  37191. </comment>
  37192. </bits>
  37193. <bits access="rw" name="intkntxfemp" pos="4" rst="0">
  37194. <comment>
  37195. <br>IN Token Received When TxFIFO is Empty (INTknTXFEmp)</br>
  37196. <br/>
  37197. <br>Applies to non-periodic IN endpoints only.</br>
  37198. <br/>
  37199. <br>Indicates that an IN token was received when the associated TxFIFO (periodic/non-periodic) was empty. This interrupt is asserted on the endpoint for which the IN token was received.</br>
  37200. </comment>
  37201. </bits>
  37202. <bits access="rw" name="intknepmis" pos="5" rst="0">
  37203. <comment>
  37204. <br>IN Token Received with EP Mismatch (INTknEPMis)</br>
  37205. <br/>
  37206. <br>Applies to non-periodic IN endpoints only.</br>
  37207. <br/>
  37208. <br>Indicates that the data in the top of the non-periodic TxFIFO belongs to an endpoint other than the one for which the IN token was received. This interrupt is asserted on the endpoint for which the IN token was received.</br>
  37209. </comment>
  37210. </bits>
  37211. <bits access="rw" name="inepnakeff" pos="6" rst="0">
  37212. <comment>
  37213. <br>IN Endpoint NAK Effective (INEPNakEff)</br>
  37214. <br/>
  37215. <br>Applies to periodic IN endpoints only.</br>
  37216. <br/>
  37217. <br>This bit can be cleared when the application clears the IN endpoint NAK by writing to DIEPCTLn.CNAK.</br>
  37218. <br/>
  37219. <br>This interrupt indicates that the core has sampled the NAK bit</br>
  37220. <br/>
  37221. <br>Set (either by the application or by the core). The interrupt indicates that the IN endpoint NAK bit Set by the application has taken effect in the core.</br>
  37222. <br/>
  37223. <br>This interrupt does not guarantee that a NAK handshake is sent on the USB. A STALL bit takes priority over a NAK bit.</br>
  37224. </comment>
  37225. </bits>
  37226. <bits access="r" name="txfemp" pos="7" rst="1">
  37227. <comment>
  37228. <br>Transmit FIFO Empty (TxFEmp)</br>
  37229. <br/>
  37230. <br>This bit is valid only for IN endpoints</br>
  37231. <br/>
  37232. <br>This interrupt is asserted when the TxFIFO for this endpoint is</br>
  37233. <br>either half or completely empty. The half or completely empty</br>
  37234. <br>status is determined by the TxFIFO Empty Level bit in the Core</br>
  37235. <br>AHB Configuration register (GAHBCFG.NPTxFEmpLvl)).</br>
  37236. </comment>
  37237. </bits>
  37238. <bits access="rw" name="txfifoundrn" pos="8" rst="0">
  37239. <comment>
  37240. <br>Fifo Underrun (TxfifoUndrn)</br>
  37241. <br/>
  37242. <br>Applies to IN endpoints Only</br>
  37243. <br/>
  37244. <br>This bit is valid only If thresholding is enabled. The core generates this interrupt when</br>
  37245. <br>it detects a transmit FIFO underrun condition for this endpoint.</br>
  37246. </comment>
  37247. </bits>
  37248. <bits access="rw" name="bnaintr" pos="9" rst="0">
  37249. <comment>
  37250. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  37251. <br/>
  37252. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  37253. <br/>
  37254. <br>The core generates this interrupt when the descriptor accessed is not ready for the Core to process, such as Host busy or DMA done.</br>
  37255. </comment>
  37256. </bits>
  37257. <bits access="rw" name="pktdrpsts" pos="11" rst="0">
  37258. <comment>
  37259. <br>Packet Drop Status (PktDrpSts)</br>
  37260. <br/>
  37261. <br>This bit indicates to the application that an ISOC OUT packet has been dropped. This</br>
  37262. <br>bit does not have an associated mask bit and does not generate an interrupt.</br>
  37263. <br/>
  37264. <br>Dependency: This bit is valid in non Scatter/Gather DMA mode when periodic transfer</br>
  37265. <br>interrupt feature is selected.</br>
  37266. </comment>
  37267. </bits>
  37268. <bits access="rw" name="bbleerr" pos="12" rst="0">
  37269. <comment>
  37270. <br>NAK Interrupt (BbleErr)</br>
  37271. <br/>
  37272. <br>The core generates this interrupt when babble is received for the endpoint.</br>
  37273. </comment>
  37274. </bits>
  37275. <bits access="rw" name="nakintrpt" pos="13" rst="0">
  37276. <comment>
  37277. <br>NAK Interrupt (NAKInterrupt)</br>
  37278. <br/>
  37279. <br>The core generates this interrupt when a NAK is transmitted or received by the device.</br>
  37280. <br>In case of isochronous IN endpoints the interrupt gets generated when a zero length</br>
  37281. <br>packet is transmitted due to un-availability of data in the TXFifo.</br>
  37282. </comment>
  37283. </bits>
  37284. <bits access="rw" name="nyetintrpt" pos="14" rst="0">
  37285. <comment>
  37286. <br>NYET Interrupt (NYETIntrpt)</br>
  37287. <br/>
  37288. <br>The core generates this interrupt when a NYET response is transmitted for a non isochronous OUT endpoint.</br>
  37289. </comment>
  37290. </bits>
  37291. </reg>
  37292. <hole size="32"/>
  37293. <reg name="dieptsiz10" protect="rw">
  37294. <comment>Device IN Endpoint 10 Transfer Size Register
  37295. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  37296. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  37297. <comment>
  37298. <br>Transfer Size (XferSize)</br>
  37299. <br/>
  37300. <br>Indicates the transfer size in bytes for endpoint 0. The core</br>
  37301. <br>interrupts the application only after it has exhausted the transfer</br>
  37302. <br>size amount of data. The transfer size can be Set to the</br>
  37303. <br>maximum packet size of the endpoint, to be interrupted at the</br>
  37304. <br>end of each packet.</br>
  37305. <br/>
  37306. <br>The core decrements this field every time a packet from the</br>
  37307. <br>external memory is written to the TxFIFO.</br>
  37308. </comment>
  37309. </bits>
  37310. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  37311. <comment>
  37312. <br>Packet Count (PktCnt)</br>
  37313. <br/>
  37314. <br>Indicates the total number of USB packets that constitute the Transfer Size amount of data for endpoint 0.</br>
  37315. <br/>
  37316. <br>This field is decremented every time a packet (maximum size or short packet) is read from the TxFIFO.</br>
  37317. </comment>
  37318. </bits>
  37319. <bits access="rw" name="mc" pos="30:29" rst="0">
  37320. <comment>
  37321. <br>MC</br>
  37322. <br/>
  37323. <br>Applies to IN endpoints only.</br>
  37324. <br/>
  37325. <br>For periodic IN endpoints, this field indicates the number of packets that must be transmitted per microframe on the USB. The core uses this field to calculate the data PID for isochronous IN endpoints. </br>
  37326. <br> - 2'b01: 1 packet </br>
  37327. <br> - 2'b10: 2 packets </br>
  37328. <br> - 2'b11: 3 packets </br>
  37329. <br>For non-periodic IN endpoints, this field is valid only in Internal DMA mode. It specifies the number of packets the core must fetchfor an IN endpoint before it switches to the endpoint pointed to by the Next Endpoint field of the Device Endpoint-n Control register (DIEPCTLn.NextEp)</br>
  37330. </comment>
  37331. </bits>
  37332. </reg>
  37333. <reg name="diepdma10" protect="rw">
  37334. <comment>Device IN Endpoint 10 DMA Address Register
  37335. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  37336. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  37337. <comment>
  37338. <br>Holds the start address of the external memory for storing or fetching endpoint</br>
  37339. <br>data.</br>
  37340. <br/>
  37341. <br>Note: For control endpoints, this field stores control OUT data packets as well as</br>
  37342. <br>SETUP transaction data packets. When more than three SETUP packets are</br>
  37343. <br>received back-to-back, the SETUP data packet in the memory is overwritten.</br>
  37344. <br/>
  37345. <br>This register is incremented on every AHB transaction. The application can give</br>
  37346. <br>only a DWORD-aligned address.</br>
  37347. <br> - When Scatter/Gather DMA mode is not enabled, the application programs the start address value in this field.</br>
  37348. <br> - When Scatter/Gather DMA mode is enabled, this field indicates the base pointer for the descriptor list.</br>
  37349. <br/>
  37350. </comment>
  37351. </bits>
  37352. </reg>
  37353. <reg name="dtxfsts10" protect="r">
  37354. <comment>Device IN Endpoint Transmit FIFO Status Register 10
  37355. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  37356. <bits access="r" name="ineptxfspcavail" pos="15:0" rst="3759">
  37357. <comment>
  37358. <br>IN Endpoint TxFIFO Space Avail (INEPTxFSpcAvail)</br>
  37359. <br/>
  37360. <br>Indicates the amount of free space available in the Endpoint TxFIFO.</br>
  37361. <br/>
  37362. <br>Values are in terms of 32-bit words.</br>
  37363. <br> - 16'h0: Endpoint TxFIFO is full</br>
  37364. <br> - 16'h1: 1 word available</br>
  37365. <br> - 16'h2: 2 words available</br>
  37366. <br> - 16'hn: n words available (where 0 n 32,768)</br>
  37367. <br> - 16'h8000: 32,768 words available</br>
  37368. <br> - Others: Reserved</br>
  37369. </comment>
  37370. </bits>
  37371. </reg>
  37372. <reg name="diepdmab10" protect="r">
  37373. <comment>Device IN Endpoint 10 Buffer Address Register
  37374. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  37375. <bits access="r" name="dmabufferaddr" pos="31:0" rst="0">
  37376. <comment>
  37377. <br>Holds the current buffer address.This register is updated as and when the data</br>
  37378. <br>transfer for the corresponding end point is in progress.</br>
  37379. <br/>
  37380. <br>This register is present only in Scatter/Gather DMA mode. Otherwise this field is</br>
  37381. <br>reserved.</br>
  37382. </comment>
  37383. </bits>
  37384. </reg>
  37385. <reg name="diepctl11" protect="rw">
  37386. <comment>Device Control IN Endpoint 11 Control Register
  37387. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  37388. <bits access="rw" name="mps" pos="10:0" rst="0">
  37389. <comment>
  37390. <br>Maximum Packet Size (MPS)</br>
  37391. <br/>
  37392. <br>The application must program this field with the maximum packet size for the current logical endpoint. This value is in bytes.</br>
  37393. </comment>
  37394. </bits>
  37395. <bits access="rw" name="usbactep" pos="15" rst="0">
  37396. <comment>
  37397. <br>USB Active Endpoint (USBActEP)</br>
  37398. <br/>
  37399. <br>Indicates whether this endpoint is active in the current configuration and interface. The</br>
  37400. <br>core clears this bit for all endpoints (other than EP 0) after detecting a USB reset. After</br>
  37401. <br>receiving the SetConfiguration and SetInterface commands, the application must</br>
  37402. <br>program endpoint registers accordingly and set this bit.</br>
  37403. </comment>
  37404. </bits>
  37405. <bits access="r" name="dpid" pos="16" rst="0">
  37406. <comment>
  37407. <br/>
  37408. <br>Endpoint Data PID (DPID)</br>
  37409. <br/>
  37410. <br>Applies to interrupt/bulk IN and OUT endpoints only.</br>
  37411. <br/>
  37412. <br>Contains the PID of the packet to be received or transmitted on this endpoint. The</br>
  37413. <br>application must program the PID of the first packet to be received or transmitted on</br>
  37414. <br>this endpoint, after the endpoint is activated. The applications use the SetD1PID and</br>
  37415. <br>SetD0PID fields of this register to program either DATA0 or DATA1 PID.</br>
  37416. <br> - 1'b0: DATA0</br>
  37417. <br> - 1'b1: DATA1</br>
  37418. <br>This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather</br>
  37419. <br>DMA mode.</br>
  37420. <br/>
  37421. <br>Even/Odd (Micro)Frame (EO_FrNum)</br>
  37422. <br/>
  37423. <br>In non-Scatter/Gather DMA mode:</br>
  37424. <br/>
  37425. <br>Applies to isochronous IN and OUT endpoints only.</br>
  37426. <br/>
  37427. <br>Indicates the (micro)frame number in which the core transmits/receives isochronous</br>
  37428. <br>data for this endpoint. The application must program the even/odd (micro)frame</br>
  37429. <br>number in which it intends to transmit/receive isochronous data for this endpoint using</br>
  37430. <br>the SetEvnFr and SetOddFr fields in this register.</br>
  37431. <br> - 1'b0: Even (micro)frame</br>
  37432. <br> - 1'b1: Odd (micro)frame</br>
  37433. <br>When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number</br>
  37434. <br>in which to send data is provided in the transmit descriptor structure. The frame in</br>
  37435. <br>which data is received is updated in receive descriptor structure. </br>
  37436. </comment>
  37437. </bits>
  37438. <bits access="r" name="naksts" pos="17" rst="0">
  37439. <comment>
  37440. <br>NAK Status (NAKSts)</br>
  37441. <br/>
  37442. <br>Indicates the following:</br>
  37443. <br> - 1'b0: The core is transmitting non-NAK handshakes based on the FIFO status.</br>
  37444. <br> - 1'b1: The core is transmitting NAK handshakes on this endpoint.</br>
  37445. <br>When either the application or the core sets this bit:</br>
  37446. <br> - The core stops receiving any data on an OUT endpoint, even if there is space in the RxFIFO to accommodate the incoming packet.</br>
  37447. <br> - For non-isochronous IN endpoints: The core stops transmitting any data on an IN endpoint, even if there data is available in the TxFIFO.</br>
  37448. <br> - For isochronous IN endpoints: The core sends out a zero-length data packet, even if there data is available in the TxFIFO.</br>
  37449. <br>Irrespective of this bit's setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  37450. </comment>
  37451. </bits>
  37452. <bits access="rw" name="eptype" pos="19:18" rst="0">
  37453. <comment>
  37454. <br>Endpoint Type (EPType)</br>
  37455. <br>This is the transfer type supported by this logical endpoint.</br>
  37456. <br> - 2'b00: Control</br>
  37457. <br> - 2'b01: Isochronous</br>
  37458. <br> - 2'b10: Bulk</br>
  37459. <br> - 2'b11: Interrupt</br>
  37460. </comment>
  37461. </bits>
  37462. <bits access="rw" name="stall" pos="21" rst="0">
  37463. <comment>
  37464. <br>STALL Handshake (Stall)</br>
  37465. <br/>
  37466. <br>Applies to non-control, non-isochronous IN and OUT endpoints only.</br>
  37467. <br/>
  37468. <br>The application sets this bit to stall all tokens from the USB host to this endpoint. If a</br>
  37469. <br>NAK bit, Global Non-periodic IN NAK, or Global OUT NAK is set along with this bit, the</br>
  37470. <br>STALL bit takes priority. Only the application can clear this bit, never the core.</br>
  37471. <br/>
  37472. <br>Applies to control endpoints only.</br>
  37473. <br/>
  37474. <br>The application can only set this bit, and the core clears it, when a SETUP token is</br>
  37475. <br>received for this endpoint. If a NAK bit, Global Non-periodic IN NAK, or Global OUT</br>
  37476. <br>NAK is set along with this bit, the STALL bit takes priority. Irrespective of this bit's</br>
  37477. <br>setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  37478. <br/>
  37479. </comment>
  37480. </bits>
  37481. <bits access="rw" name="txfnum" pos="25:22" rst="0">
  37482. <comment>
  37483. <br>TxFIFO Number (TxFNum)</br>
  37484. <br/>
  37485. <br>Shared FIFO Operation non-periodic endpoints must set this bit to zero. Periodic</br>
  37486. <br>endpoints must map this to the corresponding Periodic TxFIFO number.</br>
  37487. <br> - 4'h0: Non-Periodic TxFIFO</br>
  37488. <br> - Others: Specified Periodic TxFIFO.number</br>
  37489. <br>Note: An interrupt IN endpoint can be configured as a non-periodic endpoint for</br>
  37490. <br>applications such as mass storage. The core treats an IN endpoint as a non-periodic</br>
  37491. <br>endpoint if the TxFNum field is set to 0. Otherwise, a separate periodic FIFO must be</br>
  37492. <br>allocated for an interrupt IN endpoint, and the number of this</br>
  37493. <br>FIFO must be programmed into the TxFNum field. Configuring an interrupt IN</br>
  37494. <br>endpoint as a non-periodic endpoint saves the extra periodic FIFO area.</br>
  37495. <br/>
  37496. <br>Dedicated FIFO Operation: These bits specify the FIFO number associated with this</br>
  37497. <br>endpoint. Each active IN endpoint must be programmed to a separate FIFO number.</br>
  37498. <br>This field is valid only for IN endpoints.</br>
  37499. </comment>
  37500. </bits>
  37501. <bits access="w" name="cnak" pos="26" rst="0">
  37502. <comment>
  37503. <br>Clear NAK (CNAK)</br>
  37504. <br/>
  37505. <br>A write to this bit clears the NAK bit for the endpoint.</br>
  37506. </comment>
  37507. </bits>
  37508. <bits access="w" name="snak" pos="27" rst="0">
  37509. <comment>
  37510. <br>Set NAK (SNAK)</br>
  37511. <br/>
  37512. <br>A write to this bit sets the NAK bit for the endpoint.</br>
  37513. <br/>
  37514. <br>Using this bit, the application can control the transmission of NAK handshakes on an endpoint. The core can also Set this bit for an endpoint after a SETUP packet is received on that endpoint.</br>
  37515. </comment>
  37516. </bits>
  37517. <bits access="w" name="setd0pid" pos="28" rst="0">
  37518. <comment>
  37519. <br>SetD0PID</br>
  37520. <br> - Set DATA0 PID (SetD0PID)</br>
  37521. <br> -- Applies to interrupt/bulk IN and OUT endpoints only.</br>
  37522. <br> -- Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA0.</br>
  37523. <br> -- This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  37524. <br>In non-Scatter/Gather DMA mode: Set Even (micro)Frame (SetEvenFr)</br>
  37525. <br> -- Applies to isochronous IN and OUT endpoints only.</br>
  37526. <br> -- Writing to this field sets the Even/Odd (micro)Frame (EO_FrNum) field to even (micro)Frame.</br>
  37527. <br>When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is in the transmit descriptor structure. The frame in which to</br>
  37528. <br>receive data is updated in receive descriptor structure.</br>
  37529. </comment>
  37530. </bits>
  37531. <bits access="w" name="setd1pid" pos="29" rst="0">
  37532. <comment>
  37533. <br>SetD1PID</br>
  37534. <br> - Set DATA1 PID (SetD1PID)</br>
  37535. <br> -- Applies to interrupt and bulk IN and OUT endpoints only.</br>
  37536. <br> -- Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA1.</br>
  37537. <br> -- This field is applicable both for Scatter-Gather DMA mode and non Scatter-Gather DMA mode.</br>
  37538. <br> - Set odd (micro)Frame (SetOddFr)</br>
  37539. <br> -- Applies to isochronous IN and OUT endpoints only.</br>
  37540. <br> -- Writing to this field sets the even and odd (micro)Frame (EO_FrNum) field to odd (micro)Frame.</br>
  37541. <br> -- This field is not applicable for Scatter-Gather DMA mode.</br>
  37542. </comment>
  37543. </bits>
  37544. <bits access="rw" name="epdis" pos="30" rst="0">
  37545. <comment>
  37546. <br>Endpoint Disable (EPDis)</br>
  37547. <br/>
  37548. <br>Applies to IN and OUT endpoints.</br>
  37549. <br/>
  37550. <br>The application sets this bit to stop transmitting/receiving data on an endpoint, even</br>
  37551. <br>before the transfer for that endpoint is complete. The application must wait for the</br>
  37552. <br>Endpoint Disabled interrupt before treating the endpoint as disabled. The core clears</br>
  37553. <br>this bit before setting the Endpoint Disabled interrupt. The application must set this bit</br>
  37554. <br>only if Endpoint Enable is already set for this endpoint.</br>
  37555. </comment>
  37556. </bits>
  37557. <bits access="rw" name="epena" pos="31" rst="0">
  37558. <comment>
  37559. <br>Endpoint Enable (EPEna)</br>
  37560. <br/>
  37561. <br>Applies to IN and OUT endpoints.</br>
  37562. <br> - When Scatter/Gather DMA mode is enabled,</br>
  37563. <br> -- For IN endpoints this bit indicates that the descriptor structure and data buffer with data ready to transmit is setup.</br>
  37564. <br> -- For OUT endpoint it indicates that the descriptor structure and data buffer to receive data is setup.</br>
  37565. <br> - When Scatter/Gather DMA mode is enabled such as for buffer-pointer based DMA mode:</br>
  37566. <br> -- For IN endpoints, this bit indicates that data is ready to be transmitted on the endpoint.</br>
  37567. <br> -- For OUT endpoints, this bit indicates that the application has allocated the memory to start receiving data from the USB.</br>
  37568. <br> - The core clears this bit before setting any of the following interrupts on this endpoint:</br>
  37569. <br> -- SETUP Phase Done</br>
  37570. <br> -- Endpoint Disabled</br>
  37571. <br> -- Transfer Completed</br>
  37572. <br>Note: For control endpoints in DMA mode, this bit must be set to be able to transfer SETUP data packets in memory.</br>
  37573. </comment>
  37574. </bits>
  37575. </reg>
  37576. <hole size="32"/>
  37577. <reg name="diepint11" protect="rw">
  37578. <comment>Device IN Endpoint 11 Interrupt Register
  37579. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  37580. <bits access="rw" name="xfercompl" pos="0" rst="0">
  37581. <comment>
  37582. <br>Transfer Completed Interrupt (XferCompl)</br>
  37583. <br/>
  37584. <br>Applies to IN and OUT endpoints.</br>
  37585. <br> - When Scatter/Gather DMA mode is enabled</br>
  37586. <br> -- For IN endpoint this field indicates that the requested data from the descriptor is moved from external system memory to internal FIFO.</br>
  37587. <br> -- For OUT endpoint this field indicates that the requested data from the internal FIFO is moved to external system memory. This interrupt is generated only when the corresponding endpoint descriptor is closed, and the IOC bit for the corresponding descriptor is set.</br>
  37588. <br> - When Scatter/Gather DMA mode is disabled, this field indicates that the programmed transfer is complete on the AHB as well as on the USB, for this endpoint.</br>
  37589. </comment>
  37590. </bits>
  37591. <bits access="rw" name="epdisbld" pos="1" rst="0">
  37592. <comment>
  37593. <br>Endpoint Disabled Interrupt (EPDisbld)</br>
  37594. <br/>
  37595. <br>Applies to IN and OUT endpoints.</br>
  37596. <br/>
  37597. <br>This bit indicates that the endpoint is disabled per the application's request.</br>
  37598. </comment>
  37599. </bits>
  37600. <bits access="rw" name="ahberr" pos="2" rst="0">
  37601. <comment>
  37602. <br>AHB Error (AHBErr)</br>
  37603. <br/>
  37604. <br>Applies to IN and OUT endpoints.</br>
  37605. <br/>
  37606. <br>This is generated only in Internal DMA mode when there is an</br>
  37607. <br>AHB error during an AHB read/write. The application can read</br>
  37608. <br>the corresponding endpoint DMA address register to get the</br>
  37609. <br>error address.</br>
  37610. </comment>
  37611. </bits>
  37612. <bits access="rw" name="timeout" pos="3" rst="0">
  37613. <comment>
  37614. <br>Timeout Condition (TimeOUT)</br>
  37615. <br> - In shared TX FIFO mode, applies to non-isochronous IN endpoints only.</br>
  37616. <br> - In dedicated FIFO mode, applies only to Control IN endpoints.</br>
  37617. <br> - In Scatter/Gather DMA mode, the TimeOUT interrupt is not asserted.</br>
  37618. <br>Indicates that the core has detected a timeout condition on the USB for the last IN token on this endpoint.</br>
  37619. </comment>
  37620. </bits>
  37621. <bits access="rw" name="intkntxfemp" pos="4" rst="0">
  37622. <comment>
  37623. <br>IN Token Received When TxFIFO is Empty (INTknTXFEmp)</br>
  37624. <br/>
  37625. <br>Applies to non-periodic IN endpoints only.</br>
  37626. <br/>
  37627. <br>Indicates that an IN token was received when the associated TxFIFO (periodic/non-periodic) was empty. This interrupt is asserted on the endpoint for which the IN token was received.</br>
  37628. </comment>
  37629. </bits>
  37630. <bits access="rw" name="intknepmis" pos="5" rst="0">
  37631. <comment>
  37632. <br>IN Token Received with EP Mismatch (INTknEPMis)</br>
  37633. <br/>
  37634. <br>Applies to non-periodic IN endpoints only.</br>
  37635. <br/>
  37636. <br>Indicates that the data in the top of the non-periodic TxFIFO belongs to an endpoint other than the one for which the IN token was received. This interrupt is asserted on the endpoint for which the IN token was received.</br>
  37637. </comment>
  37638. </bits>
  37639. <bits access="rw" name="inepnakeff" pos="6" rst="0">
  37640. <comment>
  37641. <br>IN Endpoint NAK Effective (INEPNakEff)</br>
  37642. <br/>
  37643. <br>Applies to periodic IN endpoints only.</br>
  37644. <br/>
  37645. <br>This bit can be cleared when the application clears the IN endpoint NAK by writing to DIEPCTLn.CNAK.</br>
  37646. <br/>
  37647. <br>This interrupt indicates that the core has sampled the NAK bit</br>
  37648. <br/>
  37649. <br>Set (either by the application or by the core). The interrupt indicates that the IN endpoint NAK bit Set by the application has taken effect in the core.</br>
  37650. <br/>
  37651. <br>This interrupt does not guarantee that a NAK handshake is sent on the USB. A STALL bit takes priority over a NAK bit.</br>
  37652. </comment>
  37653. </bits>
  37654. <bits access="r" name="txfemp" pos="7" rst="1">
  37655. <comment>
  37656. <br>Transmit FIFO Empty (TxFEmp)</br>
  37657. <br/>
  37658. <br>This bit is valid only for IN endpoints</br>
  37659. <br/>
  37660. <br>This interrupt is asserted when the TxFIFO for this endpoint is</br>
  37661. <br>either half or completely empty. The half or completely empty</br>
  37662. <br>status is determined by the TxFIFO Empty Level bit in the Core</br>
  37663. <br>AHB Configuration register (GAHBCFG.NPTxFEmpLvl)).</br>
  37664. </comment>
  37665. </bits>
  37666. <bits access="rw" name="txfifoundrn" pos="8" rst="0">
  37667. <comment>
  37668. <br>Fifo Underrun (TxfifoUndrn)</br>
  37669. <br/>
  37670. <br>Applies to IN endpoints Only</br>
  37671. <br/>
  37672. <br>This bit is valid only If thresholding is enabled. The core generates this interrupt when</br>
  37673. <br>it detects a transmit FIFO underrun condition for this endpoint.</br>
  37674. </comment>
  37675. </bits>
  37676. <bits access="rw" name="bnaintr" pos="9" rst="0">
  37677. <comment>
  37678. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  37679. <br/>
  37680. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  37681. <br/>
  37682. <br>The core generates this interrupt when the descriptor accessed is not ready for the Core to process, such as Host busy or DMA done.</br>
  37683. </comment>
  37684. </bits>
  37685. <bits access="rw" name="pktdrpsts" pos="11" rst="0">
  37686. <comment>
  37687. <br>Packet Drop Status (PktDrpSts)</br>
  37688. <br/>
  37689. <br>This bit indicates to the application that an ISOC OUT packet has been dropped. This</br>
  37690. <br>bit does not have an associated mask bit and does not generate an interrupt.</br>
  37691. <br/>
  37692. <br>Dependency: This bit is valid in non Scatter/Gather DMA mode when periodic transfer</br>
  37693. <br>interrupt feature is selected.</br>
  37694. </comment>
  37695. </bits>
  37696. <bits access="rw" name="bbleerr" pos="12" rst="0">
  37697. <comment>
  37698. <br>NAK Interrupt (BbleErr)</br>
  37699. <br/>
  37700. <br>The core generates this interrupt when babble is received for the endpoint.</br>
  37701. </comment>
  37702. </bits>
  37703. <bits access="rw" name="nakintrpt" pos="13" rst="0">
  37704. <comment>
  37705. <br>NAK Interrupt (NAKInterrupt)</br>
  37706. <br/>
  37707. <br>The core generates this interrupt when a NAK is transmitted or received by the device.</br>
  37708. <br>In case of isochronous IN endpoints the interrupt gets generated when a zero length</br>
  37709. <br>packet is transmitted due to un-availability of data in the TXFifo.</br>
  37710. </comment>
  37711. </bits>
  37712. <bits access="rw" name="nyetintrpt" pos="14" rst="0">
  37713. <comment>
  37714. <br>NYET Interrupt (NYETIntrpt)</br>
  37715. <br/>
  37716. <br>The core generates this interrupt when a NYET response is transmitted for a non isochronous OUT endpoint.</br>
  37717. </comment>
  37718. </bits>
  37719. </reg>
  37720. <hole size="32"/>
  37721. <reg name="dieptsiz11" protect="rw">
  37722. <comment>Device IN Endpoint 11 Transfer Size Register
  37723. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  37724. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  37725. <comment>
  37726. <br>Transfer Size (XferSize)</br>
  37727. <br/>
  37728. <br>Indicates the transfer size in bytes for endpoint 0. The core</br>
  37729. <br>interrupts the application only after it has exhausted the transfer</br>
  37730. <br>size amount of data. The transfer size can be Set to the</br>
  37731. <br>maximum packet size of the endpoint, to be interrupted at the</br>
  37732. <br>end of each packet.</br>
  37733. <br/>
  37734. <br>The core decrements this field every time a packet from the</br>
  37735. <br>external memory is written to the TxFIFO.</br>
  37736. </comment>
  37737. </bits>
  37738. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  37739. <comment>
  37740. <br>Packet Count (PktCnt)</br>
  37741. <br/>
  37742. <br>Indicates the total number of USB packets that constitute the Transfer Size amount of data for endpoint 0.</br>
  37743. <br/>
  37744. <br>This field is decremented every time a packet (maximum size or short packet) is read from the TxFIFO.</br>
  37745. </comment>
  37746. </bits>
  37747. <bits access="rw" name="mc" pos="30:29" rst="0">
  37748. <comment>
  37749. <br>MC</br>
  37750. <br/>
  37751. <br>Applies to IN endpoints only.</br>
  37752. <br/>
  37753. <br>For periodic IN endpoints, this field indicates the number of packets that must be transmitted per microframe on the USB. The core uses this field to calculate the data PID for isochronous IN endpoints. </br>
  37754. <br> - 2'b01: 1 packet </br>
  37755. <br> - 2'b10: 2 packets </br>
  37756. <br> - 2'b11: 3 packets </br>
  37757. <br>For non-periodic IN endpoints, this field is valid only in Internal DMA mode. It specifies the number of packets the core must fetchfor an IN endpoint before it switches to the endpoint pointed to by the Next Endpoint field of the Device Endpoint-n Control register (DIEPCTLn.NextEp)</br>
  37758. </comment>
  37759. </bits>
  37760. </reg>
  37761. <reg name="diepdma11" protect="rw">
  37762. <comment>Device IN Endpoint 11 DMA Address Register
  37763. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  37764. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  37765. <comment>
  37766. <br>Holds the start address of the external memory for storing or fetching endpoint</br>
  37767. <br>data.</br>
  37768. <br/>
  37769. <br>Note: For control endpoints, this field stores control OUT data packets as well as</br>
  37770. <br>SETUP transaction data packets. When more than three SETUP packets are</br>
  37771. <br>received back-to-back, the SETUP data packet in the memory is overwritten.</br>
  37772. <br/>
  37773. <br>This register is incremented on every AHB transaction. The application can give</br>
  37774. <br>only a DWORD-aligned address.</br>
  37775. <br> - When Scatter/Gather DMA mode is not enabled, the application programs the start address value in this field.</br>
  37776. <br> - When Scatter/Gather DMA mode is enabled, this field indicates the base pointer for the descriptor list.</br>
  37777. <br/>
  37778. </comment>
  37779. </bits>
  37780. </reg>
  37781. <reg name="dtxfsts11" protect="r">
  37782. <comment>Device IN Endpoint Transmit FIFO Status Register 11
  37783. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  37784. <bits access="r" name="ineptxfspcavail" pos="15:0" rst="3759">
  37785. <comment>
  37786. <br>IN Endpoint TxFIFO Space Avail (INEPTxFSpcAvail)</br>
  37787. <br/>
  37788. <br>Indicates the amount of free space available in the Endpoint TxFIFO.</br>
  37789. <br/>
  37790. <br>Values are in terms of 32-bit words.</br>
  37791. <br> - 16'h0: Endpoint TxFIFO is full</br>
  37792. <br> - 16'h1: 1 word available</br>
  37793. <br> - 16'h2: 2 words available</br>
  37794. <br> - 16'hn: n words available (where 0 n 32,768)</br>
  37795. <br> - 16'h8000: 32,768 words available</br>
  37796. <br> - Others: Reserved</br>
  37797. </comment>
  37798. </bits>
  37799. </reg>
  37800. <reg name="diepdmab11" protect="r">
  37801. <comment>Device IN Endpoint 11 Buffer Address Register
  37802. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  37803. <bits access="r" name="dmabufferaddr" pos="31:0" rst="0">
  37804. <comment>
  37805. <br>Holds the current buffer address.This register is updated as and when the data</br>
  37806. <br>transfer for the corresponding end point is in progress.</br>
  37807. <br/>
  37808. <br>This register is present only in Scatter/Gather DMA mode. Otherwise this field is</br>
  37809. <br>reserved.</br>
  37810. </comment>
  37811. </bits>
  37812. </reg>
  37813. <reg name="diepctl12" protect="rw">
  37814. <comment>Device Control IN Endpoint 12 Control Register
  37815. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  37816. <bits access="rw" name="mps" pos="10:0" rst="0">
  37817. <comment>
  37818. <br>Maximum Packet Size (MPS)</br>
  37819. <br/>
  37820. <br>The application must program this field with the maximum packet size for the current logical endpoint. This value is in bytes.</br>
  37821. </comment>
  37822. </bits>
  37823. <bits access="rw" name="usbactep" pos="15" rst="0">
  37824. <comment>
  37825. <br>USB Active Endpoint (USBActEP)</br>
  37826. <br/>
  37827. <br>Indicates whether this endpoint is active in the current configuration and interface. The</br>
  37828. <br>core clears this bit for all endpoints (other than EP 0) after detecting a USB reset. After</br>
  37829. <br>receiving the SetConfiguration and SetInterface commands, the application must</br>
  37830. <br>program endpoint registers accordingly and set this bit.</br>
  37831. </comment>
  37832. </bits>
  37833. <bits access="r" name="dpid" pos="16" rst="0">
  37834. <comment>
  37835. <br/>
  37836. <br>Endpoint Data PID (DPID)</br>
  37837. <br/>
  37838. <br>Applies to interrupt/bulk IN and OUT endpoints only.</br>
  37839. <br/>
  37840. <br>Contains the PID of the packet to be received or transmitted on this endpoint. The</br>
  37841. <br>application must program the PID of the first packet to be received or transmitted on</br>
  37842. <br>this endpoint, after the endpoint is activated. The applications use the SetD1PID and</br>
  37843. <br>SetD0PID fields of this register to program either DATA0 or DATA1 PID.</br>
  37844. <br> - 1'b0: DATA0</br>
  37845. <br> - 1'b1: DATA1</br>
  37846. <br>This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather</br>
  37847. <br>DMA mode.</br>
  37848. <br/>
  37849. <br>Even/Odd (Micro)Frame (EO_FrNum)</br>
  37850. <br/>
  37851. <br>In non-Scatter/Gather DMA mode:</br>
  37852. <br/>
  37853. <br>Applies to isochronous IN and OUT endpoints only.</br>
  37854. <br/>
  37855. <br>Indicates the (micro)frame number in which the core transmits/receives isochronous</br>
  37856. <br>data for this endpoint. The application must program the even/odd (micro)frame</br>
  37857. <br>number in which it intends to transmit/receive isochronous data for this endpoint using</br>
  37858. <br>the SetEvnFr and SetOddFr fields in this register.</br>
  37859. <br> - 1'b0: Even (micro)frame</br>
  37860. <br> - 1'b1: Odd (micro)frame</br>
  37861. <br>When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number</br>
  37862. <br>in which to send data is provided in the transmit descriptor structure. The frame in</br>
  37863. <br>which data is received is updated in receive descriptor structure. </br>
  37864. </comment>
  37865. </bits>
  37866. <bits access="r" name="naksts" pos="17" rst="0">
  37867. <comment>
  37868. <br>NAK Status (NAKSts)</br>
  37869. <br/>
  37870. <br>Indicates the following:</br>
  37871. <br> - 1'b0: The core is transmitting non-NAK handshakes based on the FIFO status.</br>
  37872. <br> - 1'b1: The core is transmitting NAK handshakes on this endpoint.</br>
  37873. <br>When either the application or the core sets this bit:</br>
  37874. <br> - The core stops receiving any data on an OUT endpoint, even if there is space in the RxFIFO to accommodate the incoming packet.</br>
  37875. <br> - For non-isochronous IN endpoints: The core stops transmitting any data on an IN endpoint, even if there data is available in the TxFIFO.</br>
  37876. <br> - For isochronous IN endpoints: The core sends out a zero-length data packet, even if there data is available in the TxFIFO.</br>
  37877. <br>Irrespective of this bit's setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  37878. </comment>
  37879. </bits>
  37880. <bits access="rw" name="eptype" pos="19:18" rst="0">
  37881. <comment>
  37882. <br>Endpoint Type (EPType)</br>
  37883. <br>This is the transfer type supported by this logical endpoint.</br>
  37884. <br> - 2'b00: Control</br>
  37885. <br> - 2'b01: Isochronous</br>
  37886. <br> - 2'b10: Bulk</br>
  37887. <br> - 2'b11: Interrupt</br>
  37888. </comment>
  37889. </bits>
  37890. <bits access="rw" name="stall" pos="21" rst="0">
  37891. <comment>
  37892. <br>STALL Handshake (Stall)</br>
  37893. <br/>
  37894. <br>Applies to non-control, non-isochronous IN and OUT endpoints only.</br>
  37895. <br/>
  37896. <br>The application sets this bit to stall all tokens from the USB host to this endpoint. If a</br>
  37897. <br>NAK bit, Global Non-periodic IN NAK, or Global OUT NAK is set along with this bit, the</br>
  37898. <br>STALL bit takes priority. Only the application can clear this bit, never the core.</br>
  37899. <br/>
  37900. <br>Applies to control endpoints only.</br>
  37901. <br/>
  37902. <br>The application can only set this bit, and the core clears it, when a SETUP token is</br>
  37903. <br>received for this endpoint. If a NAK bit, Global Non-periodic IN NAK, or Global OUT</br>
  37904. <br>NAK is set along with this bit, the STALL bit takes priority. Irrespective of this bit's</br>
  37905. <br>setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  37906. <br/>
  37907. </comment>
  37908. </bits>
  37909. <bits access="rw" name="txfnum" pos="25:22" rst="0">
  37910. <comment>
  37911. <br>TxFIFO Number (TxFNum)</br>
  37912. <br/>
  37913. <br>Shared FIFO Operation non-periodic endpoints must set this bit to zero. Periodic</br>
  37914. <br>endpoints must map this to the corresponding Periodic TxFIFO number.</br>
  37915. <br> - 4'h0: Non-Periodic TxFIFO</br>
  37916. <br> - Others: Specified Periodic TxFIFO.number</br>
  37917. <br>Note: An interrupt IN endpoint can be configured as a non-periodic endpoint for</br>
  37918. <br>applications such as mass storage. The core treats an IN endpoint as a non-periodic</br>
  37919. <br>endpoint if the TxFNum field is set to 0. Otherwise, a separate periodic FIFO must be</br>
  37920. <br>allocated for an interrupt IN endpoint, and the number of this</br>
  37921. <br>FIFO must be programmed into the TxFNum field. Configuring an interrupt IN</br>
  37922. <br>endpoint as a non-periodic endpoint saves the extra periodic FIFO area.</br>
  37923. <br/>
  37924. <br>Dedicated FIFO Operation: These bits specify the FIFO number associated with this</br>
  37925. <br>endpoint. Each active IN endpoint must be programmed to a separate FIFO number.</br>
  37926. <br>This field is valid only for IN endpoints.</br>
  37927. </comment>
  37928. </bits>
  37929. <bits access="w" name="cnak" pos="26" rst="0">
  37930. <comment>
  37931. <br>Clear NAK (CNAK)</br>
  37932. <br/>
  37933. <br>A write to this bit clears the NAK bit for the endpoint.</br>
  37934. </comment>
  37935. </bits>
  37936. <bits access="w" name="snak" pos="27" rst="0">
  37937. <comment>
  37938. <br>Set NAK (SNAK)</br>
  37939. <br/>
  37940. <br>A write to this bit sets the NAK bit for the endpoint.</br>
  37941. <br/>
  37942. <br>Using this bit, the application can control the transmission of NAK handshakes on an endpoint. The core can also Set this bit for an endpoint after a SETUP packet is received on that endpoint.</br>
  37943. </comment>
  37944. </bits>
  37945. <bits access="w" name="setd0pid" pos="28" rst="0">
  37946. <comment>
  37947. <br>SetD0PID</br>
  37948. <br> - Set DATA0 PID (SetD0PID)</br>
  37949. <br> -- Applies to interrupt/bulk IN and OUT endpoints only.</br>
  37950. <br> -- Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA0.</br>
  37951. <br> -- This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  37952. <br>In non-Scatter/Gather DMA mode: Set Even (micro)Frame (SetEvenFr)</br>
  37953. <br> -- Applies to isochronous IN and OUT endpoints only.</br>
  37954. <br> -- Writing to this field sets the Even/Odd (micro)Frame (EO_FrNum) field to even (micro)Frame.</br>
  37955. <br>When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is in the transmit descriptor structure. The frame in which to</br>
  37956. <br>receive data is updated in receive descriptor structure.</br>
  37957. </comment>
  37958. </bits>
  37959. <bits access="w" name="setd1pid" pos="29" rst="0">
  37960. <comment>
  37961. <br>SetD1PID</br>
  37962. <br> - Set DATA1 PID (SetD1PID)</br>
  37963. <br> -- Applies to interrupt and bulk IN and OUT endpoints only.</br>
  37964. <br> -- Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA1.</br>
  37965. <br> -- This field is applicable both for Scatter-Gather DMA mode and non Scatter-Gather DMA mode.</br>
  37966. <br> - Set odd (micro)Frame (SetOddFr)</br>
  37967. <br> -- Applies to isochronous IN and OUT endpoints only.</br>
  37968. <br> -- Writing to this field sets the even and odd (micro)Frame (EO_FrNum) field to odd (micro)Frame.</br>
  37969. <br> -- This field is not applicable for Scatter-Gather DMA mode.</br>
  37970. </comment>
  37971. </bits>
  37972. <bits access="rw" name="epdis" pos="30" rst="0">
  37973. <comment>
  37974. <br>Endpoint Disable (EPDis)</br>
  37975. <br/>
  37976. <br>Applies to IN and OUT endpoints.</br>
  37977. <br/>
  37978. <br>The application sets this bit to stop transmitting/receiving data on an endpoint, even</br>
  37979. <br>before the transfer for that endpoint is complete. The application must wait for the</br>
  37980. <br>Endpoint Disabled interrupt before treating the endpoint as disabled. The core clears</br>
  37981. <br>this bit before setting the Endpoint Disabled interrupt. The application must set this bit</br>
  37982. <br>only if Endpoint Enable is already set for this endpoint.</br>
  37983. </comment>
  37984. </bits>
  37985. <bits access="rw" name="epena" pos="31" rst="0">
  37986. <comment>
  37987. <br>Endpoint Enable (EPEna)</br>
  37988. <br/>
  37989. <br>Applies to IN and OUT endpoints.</br>
  37990. <br> - When Scatter/Gather DMA mode is enabled,</br>
  37991. <br> -- For IN endpoints this bit indicates that the descriptor structure and data buffer with data ready to transmit is setup.</br>
  37992. <br> -- For OUT endpoint it indicates that the descriptor structure and data buffer to receive data is setup.</br>
  37993. <br> - When Scatter/Gather DMA mode is enabled such as for buffer-pointer based DMA mode:</br>
  37994. <br> -- For IN endpoints, this bit indicates that data is ready to be transmitted on the endpoint.</br>
  37995. <br> -- For OUT endpoints, this bit indicates that the application has allocated the memory to start receiving data from the USB.</br>
  37996. <br> - The core clears this bit before setting any of the following interrupts on this endpoint:</br>
  37997. <br> -- SETUP Phase Done</br>
  37998. <br> -- Endpoint Disabled</br>
  37999. <br> -- Transfer Completed</br>
  38000. <br>Note: For control endpoints in DMA mode, this bit must be set to be able to transfer SETUP data packets in memory.</br>
  38001. </comment>
  38002. </bits>
  38003. </reg>
  38004. <hole size="32"/>
  38005. <reg name="diepint12" protect="rw">
  38006. <comment>Device IN Endpoint 12 Interrupt Register
  38007. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  38008. <bits access="rw" name="xfercompl" pos="0" rst="0">
  38009. <comment>
  38010. <br>Transfer Completed Interrupt (XferCompl)</br>
  38011. <br/>
  38012. <br>Applies to IN and OUT endpoints.</br>
  38013. <br> - When Scatter/Gather DMA mode is enabled</br>
  38014. <br> -- For IN endpoint this field indicates that the requested data from the descriptor is moved from external system memory to internal FIFO.</br>
  38015. <br> -- For OUT endpoint this field indicates that the requested data from the internal FIFO is moved to external system memory. This interrupt is generated only when the corresponding endpoint descriptor is closed, and the IOC bit for the corresponding descriptor is set.</br>
  38016. <br> - When Scatter/Gather DMA mode is disabled, this field indicates that the programmed transfer is complete on the AHB as well as on the USB, for this endpoint.</br>
  38017. </comment>
  38018. </bits>
  38019. <bits access="rw" name="epdisbld" pos="1" rst="0">
  38020. <comment>
  38021. <br>Endpoint Disabled Interrupt (EPDisbld)</br>
  38022. <br/>
  38023. <br>Applies to IN and OUT endpoints.</br>
  38024. <br/>
  38025. <br>This bit indicates that the endpoint is disabled per the application's request.</br>
  38026. </comment>
  38027. </bits>
  38028. <bits access="rw" name="ahberr" pos="2" rst="0">
  38029. <comment>
  38030. <br>AHB Error (AHBErr)</br>
  38031. <br/>
  38032. <br>Applies to IN and OUT endpoints.</br>
  38033. <br/>
  38034. <br>This is generated only in Internal DMA mode when there is an</br>
  38035. <br>AHB error during an AHB read/write. The application can read</br>
  38036. <br>the corresponding endpoint DMA address register to get the</br>
  38037. <br>error address.</br>
  38038. </comment>
  38039. </bits>
  38040. <bits access="rw" name="timeout" pos="3" rst="0">
  38041. <comment>
  38042. <br>Timeout Condition (TimeOUT)</br>
  38043. <br> - In shared TX FIFO mode, applies to non-isochronous IN endpoints only.</br>
  38044. <br> - In dedicated FIFO mode, applies only to Control IN endpoints.</br>
  38045. <br> - In Scatter/Gather DMA mode, the TimeOUT interrupt is not asserted.</br>
  38046. <br>Indicates that the core has detected a timeout condition on the USB for the last IN token on this endpoint.</br>
  38047. </comment>
  38048. </bits>
  38049. <bits access="rw" name="intkntxfemp" pos="4" rst="0">
  38050. <comment>
  38051. <br>IN Token Received When TxFIFO is Empty (INTknTXFEmp)</br>
  38052. <br/>
  38053. <br>Applies to non-periodic IN endpoints only.</br>
  38054. <br/>
  38055. <br>Indicates that an IN token was received when the associated TxFIFO (periodic/non-periodic) was empty. This interrupt is asserted on the endpoint for which the IN token was received.</br>
  38056. </comment>
  38057. </bits>
  38058. <bits access="rw" name="intknepmis" pos="5" rst="0">
  38059. <comment>
  38060. <br>IN Token Received with EP Mismatch (INTknEPMis)</br>
  38061. <br/>
  38062. <br>Applies to non-periodic IN endpoints only.</br>
  38063. <br/>
  38064. <br>Indicates that the data in the top of the non-periodic TxFIFO belongs to an endpoint other than the one for which the IN token was received. This interrupt is asserted on the endpoint for which the IN token was received.</br>
  38065. </comment>
  38066. </bits>
  38067. <bits access="rw" name="inepnakeff" pos="6" rst="0">
  38068. <comment>
  38069. <br>IN Endpoint NAK Effective (INEPNakEff)</br>
  38070. <br/>
  38071. <br>Applies to periodic IN endpoints only.</br>
  38072. <br/>
  38073. <br>This bit can be cleared when the application clears the IN endpoint NAK by writing to DIEPCTLn.CNAK.</br>
  38074. <br/>
  38075. <br>This interrupt indicates that the core has sampled the NAK bit</br>
  38076. <br/>
  38077. <br>Set (either by the application or by the core). The interrupt indicates that the IN endpoint NAK bit Set by the application has taken effect in the core.</br>
  38078. <br/>
  38079. <br>This interrupt does not guarantee that a NAK handshake is sent on the USB. A STALL bit takes priority over a NAK bit.</br>
  38080. </comment>
  38081. </bits>
  38082. <bits access="r" name="txfemp" pos="7" rst="1">
  38083. <comment>
  38084. <br>Transmit FIFO Empty (TxFEmp)</br>
  38085. <br/>
  38086. <br>This bit is valid only for IN endpoints</br>
  38087. <br/>
  38088. <br>This interrupt is asserted when the TxFIFO for this endpoint is</br>
  38089. <br>either half or completely empty. The half or completely empty</br>
  38090. <br>status is determined by the TxFIFO Empty Level bit in the Core</br>
  38091. <br>AHB Configuration register (GAHBCFG.NPTxFEmpLvl)).</br>
  38092. </comment>
  38093. </bits>
  38094. <bits access="rw" name="txfifoundrn" pos="8" rst="0">
  38095. <comment>
  38096. <br>Fifo Underrun (TxfifoUndrn)</br>
  38097. <br/>
  38098. <br>Applies to IN endpoints Only</br>
  38099. <br/>
  38100. <br>This bit is valid only If thresholding is enabled. The core generates this interrupt when</br>
  38101. <br>it detects a transmit FIFO underrun condition for this endpoint.</br>
  38102. </comment>
  38103. </bits>
  38104. <bits access="rw" name="bnaintr" pos="9" rst="0">
  38105. <comment>
  38106. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  38107. <br/>
  38108. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  38109. <br/>
  38110. <br>The core generates this interrupt when the descriptor accessed is not ready for the Core to process, such as Host busy or DMA done.</br>
  38111. </comment>
  38112. </bits>
  38113. <bits access="rw" name="pktdrpsts" pos="11" rst="0">
  38114. <comment>
  38115. <br>Packet Drop Status (PktDrpSts)</br>
  38116. <br/>
  38117. <br>This bit indicates to the application that an ISOC OUT packet has been dropped. This</br>
  38118. <br>bit does not have an associated mask bit and does not generate an interrupt.</br>
  38119. <br/>
  38120. <br>Dependency: This bit is valid in non Scatter/Gather DMA mode when periodic transfer</br>
  38121. <br>interrupt feature is selected.</br>
  38122. </comment>
  38123. </bits>
  38124. <bits access="rw" name="bbleerr" pos="12" rst="0">
  38125. <comment>
  38126. <br>NAK Interrupt (BbleErr)</br>
  38127. <br/>
  38128. <br>The core generates this interrupt when babble is received for the endpoint.</br>
  38129. </comment>
  38130. </bits>
  38131. <bits access="rw" name="nakintrpt" pos="13" rst="0">
  38132. <comment>
  38133. <br>NAK Interrupt (NAKInterrupt)</br>
  38134. <br/>
  38135. <br>The core generates this interrupt when a NAK is transmitted or received by the device.</br>
  38136. <br>In case of isochronous IN endpoints the interrupt gets generated when a zero length</br>
  38137. <br>packet is transmitted due to un-availability of data in the TXFifo.</br>
  38138. </comment>
  38139. </bits>
  38140. <bits access="rw" name="nyetintrpt" pos="14" rst="0">
  38141. <comment>
  38142. <br>NYET Interrupt (NYETIntrpt)</br>
  38143. <br/>
  38144. <br>The core generates this interrupt when a NYET response is transmitted for a non isochronous OUT endpoint.</br>
  38145. </comment>
  38146. </bits>
  38147. </reg>
  38148. <hole size="32"/>
  38149. <reg name="dieptsiz12" protect="rw">
  38150. <comment>Device IN Endpoint 12 Transfer Size Register
  38151. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  38152. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  38153. <comment>
  38154. <br>Transfer Size (XferSize)</br>
  38155. <br/>
  38156. <br>Indicates the transfer size in bytes for endpoint 0. The core</br>
  38157. <br>interrupts the application only after it has exhausted the transfer</br>
  38158. <br>size amount of data. The transfer size can be Set to the</br>
  38159. <br>maximum packet size of the endpoint, to be interrupted at the</br>
  38160. <br>end of each packet.</br>
  38161. <br/>
  38162. <br>The core decrements this field every time a packet from the</br>
  38163. <br>external memory is written to the TxFIFO.</br>
  38164. </comment>
  38165. </bits>
  38166. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  38167. <comment>
  38168. <br>Packet Count (PktCnt)</br>
  38169. <br/>
  38170. <br>Indicates the total number of USB packets that constitute the Transfer Size amount of data for endpoint 0.</br>
  38171. <br/>
  38172. <br>This field is decremented every time a packet (maximum size or short packet) is read from the TxFIFO.</br>
  38173. </comment>
  38174. </bits>
  38175. <bits access="rw" name="mc" pos="30:29" rst="0">
  38176. <comment>
  38177. <br>MC</br>
  38178. <br/>
  38179. <br>Applies to IN endpoints only.</br>
  38180. <br/>
  38181. <br>For periodic IN endpoints, this field indicates the number of packets that must be transmitted per microframe on the USB. The core uses this field to calculate the data PID for isochronous IN endpoints. </br>
  38182. <br> - 2'b01: 1 packet </br>
  38183. <br> - 2'b10: 2 packets </br>
  38184. <br> - 2'b11: 3 packets </br>
  38185. <br>For non-periodic IN endpoints, this field is valid only in Internal DMA mode. It specifies the number of packets the core must fetchfor an IN endpoint before it switches to the endpoint pointed to by the Next Endpoint field of the Device Endpoint-n Control register (DIEPCTLn.NextEp)</br>
  38186. </comment>
  38187. </bits>
  38188. </reg>
  38189. <reg name="diepdma12" protect="rw">
  38190. <comment>Device IN Endpoint 12 DMA Address Register
  38191. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  38192. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  38193. <comment>
  38194. <br>Holds the start address of the external memory for storing or fetching endpoint</br>
  38195. <br>data.</br>
  38196. <br/>
  38197. <br>Note: For control endpoints, this field stores control OUT data packets as well as</br>
  38198. <br>SETUP transaction data packets. When more than three SETUP packets are</br>
  38199. <br>received back-to-back, the SETUP data packet in the memory is overwritten.</br>
  38200. <br/>
  38201. <br>This register is incremented on every AHB transaction. The application can give</br>
  38202. <br>only a DWORD-aligned address.</br>
  38203. <br> - When Scatter/Gather DMA mode is not enabled, the application programs the start address value in this field.</br>
  38204. <br> - When Scatter/Gather DMA mode is enabled, this field indicates the base pointer for the descriptor list.</br>
  38205. <br/>
  38206. </comment>
  38207. </bits>
  38208. </reg>
  38209. <reg name="dtxfsts12" protect="r">
  38210. <comment>Device IN Endpoint Transmit FIFO Status Register 12
  38211. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  38212. <bits access="r" name="ineptxfspcavail" pos="15:0" rst="3759">
  38213. <comment>
  38214. <br>IN Endpoint TxFIFO Space Avail (INEPTxFSpcAvail)</br>
  38215. <br/>
  38216. <br>Indicates the amount of free space available in the Endpoint TxFIFO.</br>
  38217. <br/>
  38218. <br>Values are in terms of 32-bit words.</br>
  38219. <br> - 16'h0: Endpoint TxFIFO is full</br>
  38220. <br> - 16'h1: 1 word available</br>
  38221. <br> - 16'h2: 2 words available</br>
  38222. <br> - 16'hn: n words available (where 0 n 32,768)</br>
  38223. <br> - 16'h8000: 32,768 words available</br>
  38224. <br> - Others: Reserved</br>
  38225. </comment>
  38226. </bits>
  38227. </reg>
  38228. <reg name="diepdmab12" protect="r">
  38229. <comment>Device IN Endpoint 12 Buffer Address Register
  38230. Note: This register exists for an endpoint i if the OTG_EP_DIR_i parameter is 0 or 1 for that endpoint.</comment>
  38231. <bits access="r" name="dmabufferaddr" pos="31:0" rst="0">
  38232. <comment>
  38233. <br>Holds the current buffer address.This register is updated as and when the data</br>
  38234. <br>transfer for the corresponding end point is in progress.</br>
  38235. <br/>
  38236. <br>This register is present only in Scatter/Gather DMA mode. Otherwise this field is</br>
  38237. <br>reserved.</br>
  38238. </comment>
  38239. </bits>
  38240. </reg>
  38241. <hole size="768"/>
  38242. <reg name="doepctl0" protect="rw">
  38243. <comment>Device Control OUT Endpoint 0 Control Register</comment>
  38244. <bits access="r" name="mps" pos="1:0" rst="0">
  38245. <comment>
  38246. <br>Maximum Packet Size (MPS)</br>
  38247. <br/>
  38248. <br>The maximum packet size for control OUT endpoint 0 is the same as what is programmed in control IN Endpoint 0.</br>
  38249. <br> - 2'b00: 64 bytes</br>
  38250. <br> - 2'b01: 32 bytes</br>
  38251. <br> - 2'b10: 16 bytes</br>
  38252. <br> - 2'b11: 8 bytes</br>
  38253. </comment>
  38254. </bits>
  38255. <bits access="r" name="usbactep" pos="15" rst="1">
  38256. <comment>
  38257. <br>USB Active Endpoint (USBActEP)</br>
  38258. <br/>
  38259. <br>This bit is always set to 1, indicating that a control endpoint 0 is always active in all configurations and interfaces.</br>
  38260. </comment>
  38261. </bits>
  38262. <bits access="r" name="naksts" pos="17" rst="0">
  38263. <comment>
  38264. <br>NAK Status (NAKSts)</br>
  38265. <br/>
  38266. <br>Indicates the following:</br>
  38267. <br> - 1'b0: The core is transmitting non-NAK handshakes based on the FIFO status.</br>
  38268. <br> - 1'b1: The core is transmitting NAK handshakes on this endpoint.</br>
  38269. <br>When either the application or the core sets this bit, the core</br>
  38270. <br>stops receiving data, even If there is space in the RxFIFO to</br>
  38271. <br>accommodate the incoming packet. Irrespective of this bit's</br>
  38272. <br>setting, the core always responds to SETUP data packets with</br>
  38273. <br>an ACK handshake.</br>
  38274. </comment>
  38275. </bits>
  38276. <bits access="r" name="eptype" pos="19:18" rst="0">
  38277. <comment>
  38278. <br>Endpoint Type (EPType)</br>
  38279. <br/>
  38280. <br>Hardcoded to 2'b00 for control.</br>
  38281. </comment>
  38282. </bits>
  38283. <bits access="rw" name="snp" pos="20" rst="0">
  38284. <comment>
  38285. <br>RESERVED</br>
  38286. </comment>
  38287. </bits>
  38288. <bits access="rw" name="stall" pos="21" rst="0">
  38289. <comment>
  38290. <br>STALL Handshake (Stall)</br>
  38291. <br/>
  38292. <br>The application can only set this bit, and the core clears it, when</br>
  38293. <br>a SETUP token is received for this endpoint. If a NAK bit or</br>
  38294. <br>Global OUT NAK is Set along with this bit, the STALL bit takes</br>
  38295. <br>priority. Irrespective of this bit's setting, the core always</br>
  38296. <br>responds to SETUP data packets with an ACK handshake.</br>
  38297. </comment>
  38298. </bits>
  38299. <bits access="w" name="cnak" pos="26" rst="0">
  38300. <comment>
  38301. <br>Clear NAK (CNAK)</br>
  38302. <br/>
  38303. <br>A write to this bit clears the NAK bit for the endpoint.</br>
  38304. </comment>
  38305. </bits>
  38306. <bits access="w" name="snak" pos="27" rst="0">
  38307. <comment>
  38308. <br>Set NAK (SNAK)</br>
  38309. <br/>
  38310. <br>A write to this bit sets the NAK bit for the endpoint.</br>
  38311. <br>Using this bit, the application can control the transmission of NAK handshakes on an endpoint.</br>
  38312. <br>The core can also set bit on a Transfer Completed interrupt, or after a SETUP is received on the endpoint.</br>
  38313. </comment>
  38314. </bits>
  38315. <bits access="r" name="epdis" pos="30" rst="0">
  38316. <comment>
  38317. <br>Endpoint Disable (EPDis)</br>
  38318. <br/>
  38319. <br>The application cannot disable control OUT endpoint 0.</br>
  38320. </comment>
  38321. </bits>
  38322. <bits access="rw" name="epena" pos="31" rst="0">
  38323. <comment>
  38324. <br>Endpoint Enable (EPEna)</br>
  38325. <br> - When Scatter/Gather DMA mode is enabled, for OUT endpoints this bit indicates that the descriptor structure and data buffer to receive data is setup.</br>
  38326. <br> - When Scatter/Gather DMA mode is disabled (such as for buffer-pointer based DMA mode)this bit indicates that the application has allocated the memory to start receiving data from the USB.</br>
  38327. <br> - The core clears this bit before setting any of the following interrupts on this endpoint:</br>
  38328. <br> -- SETUP Phase Done</br>
  38329. <br> -- Endpoint Disabled</br>
  38330. <br> -- Transfer Completed</br>
  38331. <br>Note: In DMA mode, this bit must be set for the core to transfer SETUP data packets into memory.</br>
  38332. <br/>
  38333. </comment>
  38334. </bits>
  38335. </reg>
  38336. <hole size="32"/>
  38337. <reg name="doepint0" protect="rw">
  38338. <comment>Device OUT Endpoint 0 Interrupt Register</comment>
  38339. <bits access="rw" name="xfercompl" pos="0" rst="0">
  38340. <comment>
  38341. <br>Transfer Completed Interrupt (XferCompl)</br>
  38342. <br/>
  38343. <br>Applies to IN and OUT endpoints.</br>
  38344. <br/>
  38345. <br>When Scatter/Gather DMA mode is enabled</br>
  38346. <br> - For IN endpoint this field indicates that the requested data from the descriptor is moved from external system memory to internal FIFO.</br>
  38347. <br> - For OUT endpoint this field indicates that the requested data from the internal FIFO is moved to external system memory. This interrupt is generated only when the corresponding endpoint descriptor is closed, and the IOC bit for the corresponding descriptor is Set.</br>
  38348. <br>Note: In DMA mode, this bit must be set for the core to transfer SETUP data packets into memory. When Scatter/Gather DMA mode is disabled, this field indicates that the programmed transfer is complete on the AHB as well as on the USB, for this endpoint.</br>
  38349. </comment>
  38350. </bits>
  38351. <bits access="rw" name="epdisbld" pos="1" rst="0">
  38352. <comment>
  38353. <br>Endpoint Disabled Interrupt (EPDisbld)</br>
  38354. <br/>
  38355. <br>Applies to IN and OUT endpoints.</br>
  38356. <br/>
  38357. <br>This bit indicates that the endpoint is disabled per the application's request.</br>
  38358. </comment>
  38359. </bits>
  38360. <bits access="rw" name="ahberr" pos="2" rst="0">
  38361. <comment>
  38362. <br>AHB Error (AHBErr)</br>
  38363. <br/>
  38364. <br>Applies to IN and OUT endpoints.</br>
  38365. <br/>
  38366. <br>This is generated only in Internal DMA mode when there is an</br>
  38367. <br>AHB error during an AHB read/write. The application can read</br>
  38368. <br>the corresponding endpoint DMA address register to get the</br>
  38369. <br>error address.</br>
  38370. </comment>
  38371. </bits>
  38372. <bits access="rw" name="setup" pos="3" rst="0">
  38373. <comment>
  38374. <br>SETUP Phase Done (SetUp)</br>
  38375. <br/>
  38376. <br>Applies to control OUT endpoints only.</br>
  38377. <br/>
  38378. <br>Indicates that the SETUP phase for the control endpoint is</br>
  38379. <br>complete and no more back-to-back SETUP packets were</br>
  38380. <br>received for the current control transfer. On this interrupt, the</br>
  38381. <br>application can decode the received SETUP data packet.</br>
  38382. </comment>
  38383. </bits>
  38384. <bits access="rw" name="outtknepdis" pos="4" rst="0">
  38385. <comment>
  38386. <br>OUT Token Received When Endpoint Disabled (OUTTknEPdis)</br>
  38387. <br/>
  38388. <br>Applies only to control OUT endpoints.</br>
  38389. <br/>
  38390. <br>Indicates that an OUT token was received when the endpoint</br>
  38391. <br>was not yet enabled. This interrupt is asserted on the endpoint for which the OUT token was received.</br>
  38392. </comment>
  38393. </bits>
  38394. <bits access="rw" name="stsphsercvd" pos="5" rst="0">
  38395. <comment>
  38396. <br>Status Phase Received for Control Write (StsPhseRcvd)</br>
  38397. <br/>
  38398. <br>This interrupt is valid only for Control OUT endpoints and only in</br>
  38399. <br>Scatter Gather DMA mode.</br>
  38400. <br/>
  38401. <br>This interrupt is generated only after the core has transferred all</br>
  38402. <br>the data that the host has sent during the data phase of a control</br>
  38403. <br>write transfer, to the system memory buffer.</br>
  38404. <br/>
  38405. <br>The interrupt indicates to the application that the host has</br>
  38406. <br>switched from data phase to the status phase of a Control Write</br>
  38407. <br>transfer. The application can use this interrupt to ACK or STALL</br>
  38408. <br>the Status phase, after it has decoded the data phase. This is</br>
  38409. <br>applicable only in case of Scatter Gather DMA mode.</br>
  38410. </comment>
  38411. </bits>
  38412. <bits access="rw" name="back2backsetup" pos="6" rst="0">
  38413. <comment>
  38414. <br>Back-to-Back SETUP Packets Received (Back2BackSETup)</br>
  38415. <br/>
  38416. <br>Applies to Control OUT endpoints only.</br>
  38417. <br/>
  38418. <br>This bit indicates that the core has received more than three</br>
  38419. <br>back-to-back SETUP packets for this particular endpoint. For</br>
  38420. <br>information about handling this interrupt,</br>
  38421. </comment>
  38422. </bits>
  38423. <bits access="rw" name="outpkterr" pos="8" rst="0">
  38424. <comment>
  38425. <br>OUT Packet Error (OutPktErr)</br>
  38426. <br/>
  38427. <br>Applies to OUT endpoints Only</br>
  38428. <br/>
  38429. <br>This interrupt is valid only when thresholding is enabled. </br>
  38430. <br/>
  38431. <br>This interrupt is asserted when the core detects an overflow or a CRC error for non-Isochronous OUT packet.</br>
  38432. </comment>
  38433. </bits>
  38434. <bits access="rw" name="bnaintr" pos="9" rst="0">
  38435. <comment>
  38436. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  38437. <br/>
  38438. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  38439. <br>The core generates this interrupt when the descriptor accessed</br>
  38440. <br>is not ready for the core to process, such as Host busy or DMA</br>
  38441. <br>done.</br>
  38442. </comment>
  38443. </bits>
  38444. <bits access="rw" name="pktdrpsts" pos="11" rst="0">
  38445. <comment>
  38446. <br>Packet Drop Status (PktDrpSts)</br>
  38447. <br/>
  38448. <br>This bit indicates to the application that an ISOC OUT packet has been dropped. This</br>
  38449. <br>bit does not have an associated mask bit and does not generate an interrupt.</br>
  38450. <br/>
  38451. <br>Dependency: This bit is valid in non Scatter/Gather DMA mode when periodic transfer</br>
  38452. <br>interrupt feature is selected.</br>
  38453. </comment>
  38454. </bits>
  38455. <bits access="rw" name="bbleerr" pos="12" rst="0">
  38456. <comment>
  38457. <br>NAK Interrupt (BbleErr)</br>
  38458. <br/>
  38459. <br>The core generates this interrupt when babble is received for the endpoint.</br>
  38460. </comment>
  38461. </bits>
  38462. <bits access="rw" name="nakintrpt" pos="13" rst="0">
  38463. <comment>
  38464. <br>NAK Interrupt (NAKInterrupt)</br>
  38465. <br/>
  38466. <br>The core generates this interrupt when a NAK is transmitted or received by the device.</br>
  38467. <br>In case of isochronous IN endpoints the interrupt gets generated when a zero length</br>
  38468. <br>packet is transmitted due to un-availability of data in the TXFifo.</br>
  38469. </comment>
  38470. </bits>
  38471. <bits access="rw" name="nyetintrpt" pos="14" rst="0">
  38472. <comment>
  38473. <br>NYET Interrupt (NYETIntrpt)</br>
  38474. <br/>
  38475. <br>The core generates this interrupt when a NYET response is transmitted for a non isochronous OUT endpoint.</br>
  38476. </comment>
  38477. </bits>
  38478. <bits access="rw" name="stuppktrcvd" pos="15" rst="0">
  38479. <comment>
  38480. <br>Setup Packet Received</br>
  38481. <br/>
  38482. <br>Applicable for Control OUT Endpoints in only in the Buffer DMA Mode</br>
  38483. <br/>
  38484. <br>Set by the controller, this bit indicates that this buffer holds 8 bytes of</br>
  38485. <br>setup data. There is only one Setup packet per buffer. On receiving a</br>
  38486. <br>Setup packet, the controller closes the buffer and disables the</br>
  38487. <br>corresponding endpoint. The application has to re-enable the endpoint to</br>
  38488. <br>receive any OUT data for the Control Transfer and reprogram the buffer</br>
  38489. <br>start address.</br>
  38490. <br/>
  38491. <br>Note: Because of the above behavior, the controller can receive any</br>
  38492. <br>number of back to back setup packets and one buffer for every setup</br>
  38493. <br>packet is used.</br>
  38494. <br> - 1'b0: No Setup packet received</br>
  38495. <br> - 1'b1: Setup packet received</br>
  38496. <br>Reset: 1'b0</br>
  38497. </comment>
  38498. </bits>
  38499. </reg>
  38500. <hole size="32"/>
  38501. <reg name="doeptsiz0" protect="rw">
  38502. <comment>Device OUT Endpoint 0 Transfer Size Register</comment>
  38503. <bits access="rw" name="xfersize" pos="6:0" rst="0">
  38504. <comment>
  38505. <br>Transfer Size (XferSize)</br>
  38506. <br/>
  38507. <br>Indicates the transfer size in bytes for endpoint 0. The core</br>
  38508. <br>interrupts the application only after it has exhausted the transfer</br>
  38509. <br>size amount of data. The transfer size can be Set to the</br>
  38510. <br>maximum packet size of the endpoint, to be interrupted at the</br>
  38511. <br>end of each packet.</br>
  38512. <br/>
  38513. <br>The core decrements this field every time a packet is read from</br>
  38514. <br>the RxFIFO and written to the external memory.</br>
  38515. </comment>
  38516. </bits>
  38517. <bits access="rw" name="pktcnt" pos="19" rst="0">
  38518. <comment>
  38519. <br>Packet Count (PktCnt)</br>
  38520. <br/>
  38521. <br>This field is decremented to zero after a packet is written into the RxFIFO.</br>
  38522. </comment>
  38523. </bits>
  38524. <bits access="rw" name="supcnt" pos="30:29" rst="0">
  38525. <comment>
  38526. <br>SETUP Packet Count (SUPCnt)</br>
  38527. <br/>
  38528. <br>This field specifies the number of back-to-back SETUP data packets the endpoint can receive.</br>
  38529. <br> - 2'b01: 1 packet</br>
  38530. <br> - 2'b10: 2 packets</br>
  38531. <br> - 2'b11: 3 packets</br>
  38532. </comment>
  38533. </bits>
  38534. </reg>
  38535. <reg name="doepdma0" protect="rw">
  38536. <comment>Device OUT Endpoint 0 DMA Address Register</comment>
  38537. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  38538. <comment>
  38539. <br>Holds the start address of the external memory for storing or fetching endpoint</br>
  38540. <br>data.</br>
  38541. <br/>
  38542. <br>Note: For control endpoints, this field stores control OUT data packets as well as</br>
  38543. <br>SETUP transaction data packets. When more than three SETUP packets are</br>
  38544. <br>received back-to-back, the SETUP data packet in the memory is overwritten.</br>
  38545. <br/>
  38546. <br>This register is incremented on every AHB transaction. The application can give</br>
  38547. <br>only a DWORD-aligned address.</br>
  38548. <br> - When Scatter/Gather DMA mode is not enabled, the application programs the start address value in this field.</br>
  38549. <br> - When Scatter/Gather DMA mode is enabled, this field indicates the base pointer for the descriptor list.</br>
  38550. </comment>
  38551. </bits>
  38552. </reg>
  38553. <hole size="32"/>
  38554. <reg name="doepdmab0" protect="r">
  38555. <comment>Device OUT Endpoint 16 Buffer Address Register</comment>
  38556. <bits access="r" name="dmabufferaddr" pos="31:0" rst="0">
  38557. <comment>
  38558. <br/>
  38559. <br>Holds the current buffer address.This register is updated as and when the data</br>
  38560. <br>transfer for the corresponding end point is in progress.</br>
  38561. <br>This register is present only in Scatter/Gather DMA mode. Otherwise this field is</br>
  38562. <br>reserved.</br>
  38563. </comment>
  38564. </bits>
  38565. </reg>
  38566. <reg name="doepctl1" protect="rw">
  38567. <comment>Device Control OUT Endpoint 1 Control Register</comment>
  38568. <bits access="rw" name="mps" pos="10:0" rst="0">
  38569. <comment>
  38570. <br>Maximum Packet Size (MPS)</br>
  38571. <br/>
  38572. <br>The application must program this field with the maximum packet size for the current</br>
  38573. <br>logical endpoint. This value is in bytes.</br>
  38574. </comment>
  38575. </bits>
  38576. <bits access="rw" name="usbactep" pos="15" rst="0">
  38577. <comment>
  38578. <br>USB Active Endpoint (USBActEP)</br>
  38579. <br/>
  38580. <br>Indicates whether this endpoint is active in the current configuration and interface. The</br>
  38581. <br>core clears this bit for all endpoints (other than EP 0) after detecting a USB reset. After</br>
  38582. <br>receiving the SetConfiguration and SetInterface commands, the application must</br>
  38583. <br>program endpoint registers accordingly and set this bit.</br>
  38584. </comment>
  38585. </bits>
  38586. <bits access="r" name="dpid" pos="16" rst="0">
  38587. <comment>
  38588. <br>Endpoint Data PID (DPID)</br>
  38589. <br/>
  38590. <br>Applies to interrupt/bulk IN and OUT endpoints only.</br>
  38591. <br/>
  38592. <br>Contains the PID of the packet to be received or transmitted on this endpoint. The</br>
  38593. <br>application must program the PID of the first packet to be received or transmitted on</br>
  38594. <br>this endpoint, after the endpoint is activated. The applications use the SetD1PID and</br>
  38595. <br>SetD0PID fields of this register to program either DATA0 or DATA1 PID.</br>
  38596. <br> - 1'b0: DATA0</br>
  38597. <br> - 1'b1: DATA1</br>
  38598. <br>This field is applicable for both Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  38599. <br/>
  38600. <br>Reset: 1'b0</br>
  38601. <br/>
  38602. <br>Even/Odd (Micro)Frame (EO_FrNum)</br>
  38603. <br/>
  38604. <br>In non-Scatter/Gather DMA mode:</br>
  38605. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  38606. <br> - Indicates the (micro)frame number in which the core transmits/receives isochronous data for this endpoint. The application must program the even/odd (micro)frame number in which it intends to transmit/receive isochronous data for this endpoint using the SetEvnFr and SetOddFr fields in this register.</br>
  38607. <br> -- 1'b0: Even (micro)frame</br>
  38608. <br> -- 1'b1: Odd (micro)frame</br>
  38609. <br> - When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is provided in the transmit descriptor structure. The frame in which data is received is updated in receive descriptor structure.</br>
  38610. <br>Reset: 1'b0</br>
  38611. </comment>
  38612. </bits>
  38613. <bits access="r" name="naksts" pos="17" rst="0">
  38614. <comment>
  38615. <br>NAK Status (NAKSts)</br>
  38616. <br/>
  38617. <br>Indicates the following:</br>
  38618. <br> - 1'b0: The core is transmitting non-NAK handshakes based on the FIFO status.</br>
  38619. <br> - 1'b1: The core is transmitting NAK handshakes on this endpoint.</br>
  38620. <br>When either the application or the core sets this bit:</br>
  38621. <br> - The core stops receiving any data on an OUT endpoint, even if there is space in the RxFIFO to accommodate the incoming packet.</br>
  38622. <br> - For non-isochronous IN endpoints: The core stops transmitting any data on an IN endpoint, even if there data is available in the TxFIFO.</br>
  38623. <br> - For isochronous IN endpoints: The core sends out a zero-length data packet, even if there data is available in the TxFIFO.</br>
  38624. <br>Irrespective of this bit's setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  38625. </comment>
  38626. </bits>
  38627. <bits access="rw" name="eptype" pos="19:18" rst="0">
  38628. <comment>
  38629. <br>Endpoint Type (EPType)</br>
  38630. <br/>
  38631. <br>This is the transfer type supported by this logical endpoint.</br>
  38632. <br> - 2'b00: Control</br>
  38633. <br> - 2'b01: Isochronous</br>
  38634. <br> - 2'b10: Bulk</br>
  38635. <br> - 2'b11: Interrupt</br>
  38636. </comment>
  38637. </bits>
  38638. <bits access="rw" name="snp" pos="20" rst="0">
  38639. <comment>
  38640. <br>RESERVED</br>
  38641. </comment>
  38642. </bits>
  38643. <bits access="rw" name="stall" pos="21" rst="0">
  38644. <comment>
  38645. <br>STALL Handshake (Stall)</br>
  38646. <br/>
  38647. <br>Applies to non-control, non-isochronous IN and OUT endpoints only.</br>
  38648. <br/>
  38649. <br>The application sets this bit to stall all tokens from the USB host to this endpoint. If a</br>
  38650. <br>NAK bit, Global Non-periodic IN NAK, or Global OUT NAK is set along with this bit, the</br>
  38651. <br>STALL bit takes priority. Only the application can clear this bit, never the core.</br>
  38652. <br/>
  38653. <br>Applies to control endpoints only.</br>
  38654. <br/>
  38655. <br>The application can only set this bit, and the core clears it, when a SETUP token is</br>
  38656. <br>received for this endpoint. If a NAK bit, Global Non-periodic IN NAK, or Global OUT</br>
  38657. <br>NAK is set along with this bit, the STALL bit takes priority. Irrespective of this bit's</br>
  38658. <br>setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  38659. <br/>
  38660. </comment>
  38661. </bits>
  38662. <bits access="w" name="cnak" pos="26" rst="0">
  38663. <comment>
  38664. <br/>
  38665. <br>Clear NAK (CNAK)</br>
  38666. <br>A write to this bit clears the NAK bit for the endpoint.</br>
  38667. </comment>
  38668. </bits>
  38669. <bits access="w" name="snak" pos="27" rst="0">
  38670. <comment>
  38671. <br>Set NAK (SNAK)</br>
  38672. <br/>
  38673. <br>A write to this bit sets the NAK bit for the endpoint.</br>
  38674. <br/>
  38675. <br>Using this bit, the application can control the transmission of NAK</br>
  38676. <br>handshakes on an endpoint. The core can also set this bit for an</br>
  38677. <br>endpoint after a SETUP packet is received on that endpoint.</br>
  38678. </comment>
  38679. </bits>
  38680. <bits access="w" name="setd0pid" pos="28" rst="0">
  38681. <comment>
  38682. <br>Set DATA0 PID (SetD0PID)</br>
  38683. <br> - Applies to interrupt/bulk IN and OUT endpoints only.</br>
  38684. <br> - Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA0.</br>
  38685. <br> - This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  38686. <br>Reset: 1'b0</br>
  38687. <br/>
  38688. <br>In non-Scatter/Gather DMA mode: Set Even (micro)frame (SetEvenFr)</br>
  38689. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  38690. <br> - Writing to this field sets the Even/Odd (micro)frame (EO_FrNum) field to even (micro)frame.</br>
  38691. <br> - When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is in the transmit descriptor structure. The frame in which to receive data is updated in receive descriptor structure.</br>
  38692. <br>Reset: 1'b0</br>
  38693. </comment>
  38694. </bits>
  38695. <bits access="w" name="setd1pid" pos="29" rst="0">
  38696. <comment>
  38697. <br>Set DATA1 PID (SetD1PID)</br>
  38698. <br> - Applies to interrupt and bulk IN and OUT endpoints only.</br>
  38699. <br> - Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA1.</br>
  38700. <br> - This field is applicable both for scatter-gather DMA mode and non scatter-gather DMA mode.</br>
  38701. <br>Reset: 1'b0</br>
  38702. <br/>
  38703. <br>Set Odd (micro)frame (SetOddFr)</br>
  38704. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  38705. <br> - Writing to this field sets the even and odd (micro)frame (EO_FrNum) field to odd (micro)frame.</br>
  38706. <br>Reset: 1'b0</br>
  38707. </comment>
  38708. </bits>
  38709. <bits access="rw" name="epdis" pos="30" rst="0">
  38710. <comment>
  38711. <br>Endpoint Disable (EPDis)</br>
  38712. <br/>
  38713. <br>Applies to IN and OUT endpoints.</br>
  38714. <br/>
  38715. <br>The application sets this bit to stop transmitting/receiving data on an endpoint, even</br>
  38716. <br>before the transfer for that endpoint is complete. The application must wait for the</br>
  38717. <br>Endpoint Disabled interrupt before treating the endpoint as disabled. The core clears</br>
  38718. <br>this bit before setting the Endpoint Disabled interrupt. The application must set this bit</br>
  38719. <br>only if Endpoint Enable is already set for this endpoint.</br>
  38720. </comment>
  38721. </bits>
  38722. <bits access="rw" name="epena" pos="31" rst="0">
  38723. <comment>
  38724. <br>Endpoint Enable (EPEna)</br>
  38725. <br/>
  38726. <br>Applies to IN and OUT endpoints.</br>
  38727. <br/>
  38728. <br>When Scatter/Gather DMA mode is enabled,</br>
  38729. <br> - For IN endpoints this bit indicates that the descriptor structure and data buffer with data ready to transmit is setup.</br>
  38730. <br> - For OUT endpoint it indicates that the descriptor structure and data buffer to receive data is setup.</br>
  38731. <br>When Scatter/Gather DMA mode is enabled such as for buffer-pointer based DMA mode:</br>
  38732. <br> - For IN endpoints, this bit indicates that data is ready to be transmitted on the endpoint.</br>
  38733. <br> - For OUT endpoints, this bit indicates that the application has allocated the memory to start receiving data from the USB.</br>
  38734. <br>The core clears this bit before setting any of the following interrupts on this endpoint:</br>
  38735. <br> - SETUP Phase Done</br>
  38736. <br> - Endpoint Disabled</br>
  38737. <br> - Transfer Completed</br>
  38738. <br>Note: For control endpoints in DMA mode, this bit must be set to be able to transfer SETUP data packets in memory.</br>
  38739. </comment>
  38740. </bits>
  38741. </reg>
  38742. <hole size="32"/>
  38743. <reg name="doepint1" protect="rw">
  38744. <comment>Device OUT Endpoint 1 Interrupt Register</comment>
  38745. <bits access="rw" name="xfercompl" pos="0" rst="0">
  38746. <comment>
  38747. <br>Transfer Completed Interrupt (XferCompl)</br>
  38748. <br/>
  38749. <br>Applies to IN and OUT endpoints.</br>
  38750. <br> - When Scatter/Gather DMA mode is enabled</br>
  38751. <br> -- For IN endpoint this field indicates that the requested data from the descriptor is moved from external system memory to internal FIFO.</br>
  38752. <br> -- For OUT endpoint this field indicates that the requested data from the internal FIFO is moved to external system memory. This interrupt is generated only when the corresponding endpoint descriptor is closed, and the IOC bit for the corresponding descriptor is Set.</br>
  38753. <br> - When Scatter/Gather DMA mode is disabled, this field indicates that the programmed transfer is complete on the AHB as well as on the USB, for this endpoint.</br>
  38754. </comment>
  38755. </bits>
  38756. <bits access="rw" name="epdisbld" pos="1" rst="0">
  38757. <comment>
  38758. <br>Endpoint Disabled Interrupt (EPDisbld)</br>
  38759. <br/>
  38760. <br>Applies to IN and OUT endpoints.</br>
  38761. <br/>
  38762. <br>This bit indicates that the endpoint is disabled per the application's request.</br>
  38763. </comment>
  38764. </bits>
  38765. <bits access="rw" name="ahberr" pos="2" rst="0">
  38766. <comment>
  38767. <br>AHB Error (AHBErr)</br>
  38768. <br/>
  38769. <br>Applies to IN and OUT endpoints.</br>
  38770. <br/>
  38771. <br>This is generated only in Internal DMA mode when there is an</br>
  38772. <br>AHB error during an AHB read/write. The application can read</br>
  38773. <br>the corresponding endpoint DMA address register to get the</br>
  38774. <br>error address.</br>
  38775. </comment>
  38776. </bits>
  38777. <bits access="rw" name="setup" pos="3" rst="0">
  38778. <comment>
  38779. <br>SETUP Phase Done (SetUp)</br>
  38780. <br/>
  38781. <br>Applies to control OUT endpoints only.</br>
  38782. <br/>
  38783. <br>Indicates that the SETUP phase for the control endpoint is</br>
  38784. <br>complete and no more back-to-back SETUP packets were</br>
  38785. <br>received for the current control transfer. On this interrupt, the</br>
  38786. <br>application can decode the received SETUP data packet.</br>
  38787. </comment>
  38788. </bits>
  38789. <bits access="rw" name="outtknepdis" pos="4" rst="0">
  38790. <comment>
  38791. <br>OUT Token Received When Endpoint Disabled (OUTTknEPdis)</br>
  38792. <br/>
  38793. <br>Applies only to control OUT endpoints.</br>
  38794. <br/>
  38795. <br>Indicates that an OUT token was received when the endpoint was not yet enabled. This interrupt is asserted on the endpoint for which the OUT token was received.</br>
  38796. </comment>
  38797. </bits>
  38798. <bits access="rw" name="stsphsercvd" pos="5" rst="0">
  38799. <comment>
  38800. <br>Status Phase Received for Control Write (StsPhseRcvd)</br>
  38801. <br/>
  38802. <br>This interrupt is valid only for Control OUT endpoints and only in</br>
  38803. <br>Scatter Gather DMA mode.</br>
  38804. <br/>
  38805. <br>This interrupt is generated only after the core has transferred all</br>
  38806. <br>the data that the host has sent during the data phase of a control</br>
  38807. <br>write transfer, to the system memory buffer.</br>
  38808. <br/>
  38809. <br>The interrupt indicates to the application that the host has</br>
  38810. <br>switched from data phase to the status phase of a Control Write</br>
  38811. <br>transfer. The application can use this interrupt to ACK or STALL</br>
  38812. <br>the Status phase, after it has decoded the data phase. This is</br>
  38813. <br>applicable only in Case of Scatter Gather DMA mode.</br>
  38814. </comment>
  38815. </bits>
  38816. <bits access="rw" name="back2backsetup" pos="6" rst="0">
  38817. <comment>
  38818. <br>Back-to-Back SETUP Packets Received (Back2BackSETup)</br>
  38819. <br/>
  38820. <br>Applies to Control OUT endpoints only.</br>
  38821. <br/>
  38822. <br>This bit indicates that the core has received more than three</br>
  38823. <br>back-to-back SETUP packets for this particular endpoint. For</br>
  38824. <br>information about handling this interrupt,</br>
  38825. </comment>
  38826. </bits>
  38827. <bits access="rw" name="outpkterr" pos="8" rst="0">
  38828. <comment>
  38829. <br>OUT Packet Error (OutPktErr)</br>
  38830. <br/>
  38831. <br>Applies to OUT endpoints Only</br>
  38832. <br/>
  38833. <br>This interrupt is valid only when thresholding is enabled. This interrupt is asserted when the</br>
  38834. <br>core detects an overflow or a CRC error for non-Isochronous OUT packet.</br>
  38835. </comment>
  38836. </bits>
  38837. <bits access="rw" name="bnaintr" pos="9" rst="0">
  38838. <comment>
  38839. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  38840. <br/>
  38841. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  38842. <br/>
  38843. <br>The core generates this interrupt when the descriptor accessed</br>
  38844. <br>is not ready for the Core to process, such as Host busy or DMA</br>
  38845. <br>done</br>
  38846. </comment>
  38847. </bits>
  38848. <bits access="rw" name="pktdrpsts" pos="11" rst="0">
  38849. <comment>
  38850. <br>Packet Drop Status (PktDrpSts)</br>
  38851. <br/>
  38852. <br>This bit indicates to the application that an ISOC OUT packet has been dropped. This</br>
  38853. <br>bit does not have an associated mask bit and does not generate an interrupt.</br>
  38854. <br/>
  38855. <br>Dependency: This bit is valid in non Scatter/Gather DMA mode when periodic transfer</br>
  38856. <br>interrupt feature is selected.</br>
  38857. </comment>
  38858. </bits>
  38859. <bits access="rw" name="bbleerr" pos="12" rst="0">
  38860. <comment>
  38861. <br>NAK Interrupt (BbleErr)</br>
  38862. <br/>
  38863. <br>The core generates this interrupt when babble is received for the endpoint.</br>
  38864. </comment>
  38865. </bits>
  38866. <bits access="rw" name="nakintrpt" pos="13" rst="0">
  38867. <comment>
  38868. <br>NAK Interrupt (NAKInterrupt)</br>
  38869. <br/>
  38870. <br>The core generates this interrupt when a NAK is transmitted or received by the device.</br>
  38871. <br/>
  38872. <br>In case of isochronous IN endpoints the interrupt gets generated when a zero length</br>
  38873. <br>packet is transmitted due to un-availability of data in the TXFifo.</br>
  38874. </comment>
  38875. </bits>
  38876. <bits access="rw" name="nyetintrpt" pos="14" rst="0">
  38877. <comment>
  38878. <br>NYET Interrupt (NYETIntrpt)</br>
  38879. <br/>
  38880. <br>The core generates this interrupt when a NYET response is transmitted for a non isochronous OUT endpoint.</br>
  38881. </comment>
  38882. </bits>
  38883. <bits access="rw" name="stuppktrcvd" pos="15" rst="0">
  38884. <comment>
  38885. <br>Setup Packet Received</br>
  38886. <br/>
  38887. <br>Applicable for Control OUT Endpoints in only in the Buffer DMA Mode</br>
  38888. <br/>
  38889. <br>Set by the controller, this bit indicates that this buffer holds 8 bytes of</br>
  38890. <br>setup data. There is only one Setup packet per buffer. On receiving a</br>
  38891. <br>Setup packet, the controller closes the buffer and disables the</br>
  38892. <br>corresponding endpoint. The application has to re-enable the endpoint to</br>
  38893. <br>receive any OUT data for the Control Transfer and reprogram the buffer</br>
  38894. <br>start address.</br>
  38895. <br/>
  38896. <br>Note: Because of the above behavior, the controller can receive any</br>
  38897. <br>number of back to back setup packets and one buffer for every setup</br>
  38898. <br>packet is used.</br>
  38899. <br> - 1'b0: No Setup packet received</br>
  38900. <br> - 1'b1: Setup packet received</br>
  38901. <br>Reset: 1'b0</br>
  38902. </comment>
  38903. </bits>
  38904. </reg>
  38905. <hole size="32"/>
  38906. <reg name="doeptsiz1" protect="rw">
  38907. <comment>Device OUT Endpoint 1 Transfer Size Register</comment>
  38908. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  38909. <comment>
  38910. <br>Transfer Size (XferSize)</br>
  38911. <br/>
  38912. <br>Indicates the transfer size in bytes for endpoint 0. The core</br>
  38913. <br>interrupts the application only after it has exhausted the transfer</br>
  38914. <br>size amount of data. The transfer size can be Set to the</br>
  38915. <br>maximum packet size of the endpoint, to be interrupted at the</br>
  38916. <br>end of each packet.</br>
  38917. <br/>
  38918. <br>The core decrements this field every time a packet is read from</br>
  38919. <br>the RxFIFO and written to the external memory.</br>
  38920. </comment>
  38921. </bits>
  38922. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  38923. <comment>
  38924. <br>Packet Count (PktCnt)</br>
  38925. <br>This field is decremented to zero after a packet is written into the RxFIFO.</br>
  38926. </comment>
  38927. </bits>
  38928. <bits access="r" name="rxdpid" pos="30:29" rst="0">
  38929. <comment>
  38930. <br>RxDPID</br>
  38931. <br/>
  38932. <br>Applies to isochronous OUT endpoints only.</br>
  38933. <br/>
  38934. <br>This is the data PID received in the last packet for this endpoint.</br>
  38935. <br> - 2'b00: DATA0</br>
  38936. <br> - 2'b01: DATA2</br>
  38937. <br> - 2'b10: DATA1</br>
  38938. <br> - 2'b11: MDATA</br>
  38939. <br>SETUP Packet Count (SUPCnt)</br>
  38940. <br/>
  38941. <br>Applies to control OUT Endpoints only.</br>
  38942. <br/>
  38943. <br>This field specifies the number of back-to-back SETUP data</br>
  38944. <br>packets the endpoint can receive.</br>
  38945. <br> - 2'b01: 1 packet</br>
  38946. <br> - 2'b10: 2 packets</br>
  38947. <br> - 2'b11: 3 packets</br>
  38948. </comment>
  38949. </bits>
  38950. </reg>
  38951. <reg name="doepdma1" protect="rw">
  38952. <comment>Device OUT Endpoint 1 DMA Address Register</comment>
  38953. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  38954. <comment>
  38955. <br>Holds the start address of the external memory for storing or fetching endpoint</br>
  38956. <br>data.</br>
  38957. <br/>
  38958. <br>Note: For control endpoints, this field stores control OUT data packets as well as</br>
  38959. <br>SETUP transaction data packets. When more than three SETUP packets are</br>
  38960. <br>received back-to-back, the SETUP data packet in the memory is overwritten.</br>
  38961. <br/>
  38962. <br>This register is incremented on every AHB transaction. The application can give</br>
  38963. <br>only a DWORD-aligned address.</br>
  38964. <br> - When Scatter/Gather DMA mode is not enabled, the application programs the start address value in this field.</br>
  38965. <br> - When Scatter/Gather DMA mode is enabled, this field indicates the base pointer for the descriptor list.</br>
  38966. </comment>
  38967. </bits>
  38968. </reg>
  38969. <hole size="32"/>
  38970. <reg name="doepdmab1" protect="r">
  38971. <comment>Device OUT Endpoint 1 Buffer Address Register</comment>
  38972. <bits access="r" name="dmabufferaddr" pos="31:0" rst="0">
  38973. <comment>
  38974. <br>Holds the current buffer address.This register is updated as and when the data</br>
  38975. <br>transfer for the corresponding end point is in progress.</br>
  38976. <br/>
  38977. <br>This register is present only in Scatter/Gather DMA mode. Otherwise this field is reserved.</br>
  38978. </comment>
  38979. </bits>
  38980. </reg>
  38981. <reg name="doepctl2" protect="rw">
  38982. <comment>Device Control OUT Endpoint 2 Control Register</comment>
  38983. <bits access="rw" name="mps" pos="10:0" rst="0">
  38984. <comment>
  38985. <br>Maximum Packet Size (MPS)</br>
  38986. <br/>
  38987. <br>The application must program this field with the maximum packet size for the current</br>
  38988. <br>logical endpoint. This value is in bytes.</br>
  38989. </comment>
  38990. </bits>
  38991. <bits access="rw" name="usbactep" pos="15" rst="0">
  38992. <comment>
  38993. <br>USB Active Endpoint (USBActEP)</br>
  38994. <br/>
  38995. <br>Indicates whether this endpoint is active in the current configuration and interface. The</br>
  38996. <br>core clears this bit for all endpoints (other than EP 0) after detecting a USB reset. After</br>
  38997. <br>receiving the SetConfiguration and SetInterface commands, the application must</br>
  38998. <br>program endpoint registers accordingly and set this bit.</br>
  38999. </comment>
  39000. </bits>
  39001. <bits access="r" name="dpid" pos="16" rst="0">
  39002. <comment>
  39003. <br>Endpoint Data PID (DPID)</br>
  39004. <br/>
  39005. <br>Applies to interrupt/bulk IN and OUT endpoints only.</br>
  39006. <br/>
  39007. <br>Contains the PID of the packet to be received or transmitted on this endpoint. The</br>
  39008. <br>application must program the PID of the first packet to be received or transmitted on</br>
  39009. <br>this endpoint, after the endpoint is activated. The applications use the SetD1PID and</br>
  39010. <br>SetD0PID fields of this register to program either DATA0 or DATA1 PID.</br>
  39011. <br> - 1'b0: DATA0</br>
  39012. <br> - 1'b1: DATA1</br>
  39013. <br>This field is applicable for both Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  39014. <br/>
  39015. <br>Reset: 1'b0</br>
  39016. <br/>
  39017. <br>Even/Odd (Micro)Frame (EO_FrNum)</br>
  39018. <br/>
  39019. <br>In non-Scatter/Gather DMA mode:</br>
  39020. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  39021. <br> - Indicates the (micro)frame number in which the core transmits/receives isochronous data for this endpoint. The application must program the even/odd (micro)frame number in which it intends to transmit/receive isochronous data for this endpoint using the SetEvnFr and SetOddFr fields in this register.</br>
  39022. <br> -- 1'b0: Even (micro)frame</br>
  39023. <br> -- 1'b1: Odd (micro)frame</br>
  39024. <br> - When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is provided in the transmit descriptor structure. The frame in which data is received is updated in receive descriptor structure.</br>
  39025. <br>Reset: 1'b0</br>
  39026. </comment>
  39027. </bits>
  39028. <bits access="r" name="naksts" pos="17" rst="0">
  39029. <comment>
  39030. <br>NAK Status (NAKSts)</br>
  39031. <br/>
  39032. <br>Indicates the following:</br>
  39033. <br> - 1'b0: The core is transmitting non-NAK handshakes based on the FIFO status.</br>
  39034. <br> - 1'b1: The core is transmitting NAK handshakes on this endpoint.</br>
  39035. <br>When either the application or the core sets this bit:</br>
  39036. <br> - The core stops receiving any data on an OUT endpoint, even if there is space in the RxFIFO to accommodate the incoming packet.</br>
  39037. <br> - For non-isochronous IN endpoints: The core stops transmitting any data on an IN endpoint, even if there data is available in the TxFIFO.</br>
  39038. <br> - For isochronous IN endpoints: The core sends out a zero-length data packet, even if there data is available in the TxFIFO.</br>
  39039. <br>Irrespective of this bit's setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  39040. </comment>
  39041. </bits>
  39042. <bits access="rw" name="eptype" pos="19:18" rst="0">
  39043. <comment>
  39044. <br>Endpoint Type (EPType)</br>
  39045. <br/>
  39046. <br>This is the transfer type supported by this logical endpoint.</br>
  39047. <br> - 2'b00: Control</br>
  39048. <br> - 2'b01: Isochronous</br>
  39049. <br> - 2'b10: Bulk</br>
  39050. <br> - 2'b11: Interrupt</br>
  39051. </comment>
  39052. </bits>
  39053. <bits access="rw" name="snp" pos="20" rst="0">
  39054. <comment>
  39055. <br>RESERVED</br>
  39056. </comment>
  39057. </bits>
  39058. <bits access="rw" name="stall" pos="21" rst="0">
  39059. <comment>
  39060. <br>STALL Handshake (Stall)</br>
  39061. <br/>
  39062. <br>Applies to non-control, non-isochronous IN and OUT endpoints only.</br>
  39063. <br/>
  39064. <br>The application sets this bit to stall all tokens from the USB host to this endpoint. If a</br>
  39065. <br>NAK bit, Global Non-periodic IN NAK, or Global OUT NAK is set along with this bit, the</br>
  39066. <br>STALL bit takes priority. Only the application can clear this bit, never the core.</br>
  39067. <br/>
  39068. <br>Applies to control endpoints only.</br>
  39069. <br/>
  39070. <br>The application can only set this bit, and the core clears it, when a SETUP token is</br>
  39071. <br>received for this endpoint. If a NAK bit, Global Non-periodic IN NAK, or Global OUT</br>
  39072. <br>NAK is set along with this bit, the STALL bit takes priority. Irrespective of this bit's</br>
  39073. <br>setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  39074. <br/>
  39075. </comment>
  39076. </bits>
  39077. <bits access="w" name="cnak" pos="26" rst="0">
  39078. <comment>
  39079. <br/>
  39080. <br>Clear NAK (CNAK)</br>
  39081. <br>A write to this bit clears the NAK bit for the endpoint.</br>
  39082. </comment>
  39083. </bits>
  39084. <bits access="w" name="snak" pos="27" rst="0">
  39085. <comment>
  39086. <br>Set NAK (SNAK)</br>
  39087. <br/>
  39088. <br>A write to this bit sets the NAK bit for the endpoint.</br>
  39089. <br/>
  39090. <br>Using this bit, the application can control the transmission of NAK</br>
  39091. <br>handshakes on an endpoint. The core can also set this bit for an</br>
  39092. <br>endpoint after a SETUP packet is received on that endpoint.</br>
  39093. </comment>
  39094. </bits>
  39095. <bits access="w" name="setd0pid" pos="28" rst="0">
  39096. <comment>
  39097. <br>Set DATA0 PID (SetD0PID)</br>
  39098. <br> - Applies to interrupt/bulk IN and OUT endpoints only.</br>
  39099. <br> - Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA0.</br>
  39100. <br> - This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  39101. <br>Reset: 1'b0</br>
  39102. <br/>
  39103. <br>In non-Scatter/Gather DMA mode: Set Even (micro)frame (SetEvenFr)</br>
  39104. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  39105. <br> - Writing to this field sets the Even/Odd (micro)frame (EO_FrNum) field to even (micro)frame.</br>
  39106. <br> - When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is in the transmit descriptor structure. The frame in which to receive data is updated in receive descriptor structure.</br>
  39107. <br>Reset: 1'b0</br>
  39108. </comment>
  39109. </bits>
  39110. <bits access="w" name="setd1pid" pos="29" rst="0">
  39111. <comment>
  39112. <br>Set DATA1 PID (SetD1PID)</br>
  39113. <br> - Applies to interrupt and bulk IN and OUT endpoints only.</br>
  39114. <br> - Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA1.</br>
  39115. <br> - This field is applicable both for scatter-gather DMA mode and non scatter-gather DMA mode.</br>
  39116. <br>Reset: 1'b0</br>
  39117. <br/>
  39118. <br>Set Odd (micro)frame (SetOddFr)</br>
  39119. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  39120. <br> - Writing to this field sets the even and odd (micro)frame (EO_FrNum) field to odd (micro)frame.</br>
  39121. <br>Reset: 1'b0</br>
  39122. </comment>
  39123. </bits>
  39124. <bits access="rw" name="epdis" pos="30" rst="0">
  39125. <comment>
  39126. <br>Endpoint Disable (EPDis)</br>
  39127. <br/>
  39128. <br>Applies to IN and OUT endpoints.</br>
  39129. <br/>
  39130. <br>The application sets this bit to stop transmitting/receiving data on an endpoint, even</br>
  39131. <br>before the transfer for that endpoint is complete. The application must wait for the</br>
  39132. <br>Endpoint Disabled interrupt before treating the endpoint as disabled. The core clears</br>
  39133. <br>this bit before setting the Endpoint Disabled interrupt. The application must set this bit</br>
  39134. <br>only if Endpoint Enable is already set for this endpoint.</br>
  39135. </comment>
  39136. </bits>
  39137. <bits access="rw" name="epena" pos="31" rst="0">
  39138. <comment>
  39139. <br>Endpoint Enable (EPEna)</br>
  39140. <br/>
  39141. <br>Applies to IN and OUT endpoints.</br>
  39142. <br/>
  39143. <br>When Scatter/Gather DMA mode is enabled,</br>
  39144. <br> - For IN endpoints this bit indicates that the descriptor structure and data buffer with data ready to transmit is setup.</br>
  39145. <br> - For OUT endpoint it indicates that the descriptor structure and data buffer to receive data is setup.</br>
  39146. <br>When Scatter/Gather DMA mode is enabled such as for buffer-pointer based DMA mode:</br>
  39147. <br> - For IN endpoints, this bit indicates that data is ready to be transmitted on the endpoint.</br>
  39148. <br> - For OUT endpoints, this bit indicates that the application has allocated the memory to start receiving data from the USB.</br>
  39149. <br>The core clears this bit before setting any of the following interrupts on this endpoint:</br>
  39150. <br> - SETUP Phase Done</br>
  39151. <br> - Endpoint Disabled</br>
  39152. <br> - Transfer Completed</br>
  39153. <br>Note: For control endpoints in DMA mode, this bit must be set to be able to transfer SETUP data packets in memory.</br>
  39154. </comment>
  39155. </bits>
  39156. </reg>
  39157. <hole size="32"/>
  39158. <reg name="doepint2" protect="rw">
  39159. <comment>Device OUT Endpoint 2 Interrupt Register</comment>
  39160. <bits access="rw" name="xfercompl" pos="0" rst="0">
  39161. <comment>
  39162. <br>Transfer Completed Interrupt (XferCompl)</br>
  39163. <br/>
  39164. <br>Applies to IN and OUT endpoints.</br>
  39165. <br> - When Scatter/Gather DMA mode is enabled</br>
  39166. <br> -- For IN endpoint this field indicates that the requested data from the descriptor is moved from external system memory to internal FIFO.</br>
  39167. <br> -- For OUT endpoint this field indicates that the requested data from the internal FIFO is moved to external system memory. This interrupt is generated only when the corresponding endpoint descriptor is closed, and the IOC bit for the corresponding descriptor is Set.</br>
  39168. <br> - When Scatter/Gather DMA mode is disabled, this field indicates that the programmed transfer is complete on the AHB as well as on the USB, for this endpoint.</br>
  39169. </comment>
  39170. </bits>
  39171. <bits access="rw" name="epdisbld" pos="1" rst="0">
  39172. <comment>
  39173. <br>Endpoint Disabled Interrupt (EPDisbld)</br>
  39174. <br/>
  39175. <br>Applies to IN and OUT endpoints.</br>
  39176. <br/>
  39177. <br>This bit indicates that the endpoint is disabled per the application's request.</br>
  39178. </comment>
  39179. </bits>
  39180. <bits access="rw" name="ahberr" pos="2" rst="0">
  39181. <comment>
  39182. <br>AHB Error (AHBErr)</br>
  39183. <br/>
  39184. <br>Applies to IN and OUT endpoints.</br>
  39185. <br/>
  39186. <br>This is generated only in Internal DMA mode when there is an</br>
  39187. <br>AHB error during an AHB read/write. The application can read</br>
  39188. <br>the corresponding endpoint DMA address register to get the</br>
  39189. <br>error address.</br>
  39190. </comment>
  39191. </bits>
  39192. <bits access="rw" name="setup" pos="3" rst="0">
  39193. <comment>
  39194. <br>SETUP Phase Done (SetUp)</br>
  39195. <br/>
  39196. <br>Applies to control OUT endpoints only.</br>
  39197. <br/>
  39198. <br>Indicates that the SETUP phase for the control endpoint is</br>
  39199. <br>complete and no more back-to-back SETUP packets were</br>
  39200. <br>received for the current control transfer. On this interrupt, the</br>
  39201. <br>application can decode the received SETUP data packet.</br>
  39202. </comment>
  39203. </bits>
  39204. <bits access="rw" name="outtknepdis" pos="4" rst="0">
  39205. <comment>
  39206. <br>OUT Token Received When Endpoint Disabled (OUTTknEPdis)</br>
  39207. <br/>
  39208. <br>Applies only to control OUT endpoints.</br>
  39209. <br/>
  39210. <br>Indicates that an OUT token was received when the endpoint was not yet enabled. This interrupt is asserted on the endpoint for which the OUT token was received.</br>
  39211. </comment>
  39212. </bits>
  39213. <bits access="rw" name="stsphsercvd" pos="5" rst="0">
  39214. <comment>
  39215. <br>Status Phase Received for Control Write (StsPhseRcvd)</br>
  39216. <br/>
  39217. <br>This interrupt is valid only for Control OUT endpoints and only in</br>
  39218. <br>Scatter Gather DMA mode.</br>
  39219. <br/>
  39220. <br>This interrupt is generated only after the core has transferred all</br>
  39221. <br>the data that the host has sent during the data phase of a control</br>
  39222. <br>write transfer, to the system memory buffer.</br>
  39223. <br/>
  39224. <br>The interrupt indicates to the application that the host has</br>
  39225. <br>switched from data phase to the status phase of a Control Write</br>
  39226. <br>transfer. The application can use this interrupt to ACK or STALL</br>
  39227. <br>the Status phase, after it has decoded the data phase. This is</br>
  39228. <br>applicable only in Case of Scatter Gather DMA mode.</br>
  39229. </comment>
  39230. </bits>
  39231. <bits access="rw" name="back2backsetup" pos="6" rst="0">
  39232. <comment>
  39233. <br>Back-to-Back SETUP Packets Received (Back2BackSETup)</br>
  39234. <br/>
  39235. <br>Applies to Control OUT endpoints only.</br>
  39236. <br/>
  39237. <br>This bit indicates that the core has received more than three</br>
  39238. <br>back-to-back SETUP packets for this particular endpoint. For</br>
  39239. <br>information about handling this interrupt,</br>
  39240. </comment>
  39241. </bits>
  39242. <bits access="rw" name="outpkterr" pos="8" rst="0">
  39243. <comment>
  39244. <br>OUT Packet Error (OutPktErr)</br>
  39245. <br/>
  39246. <br>Applies to OUT endpoints Only</br>
  39247. <br/>
  39248. <br>This interrupt is valid only when thresholding is enabled. This interrupt is asserted when the</br>
  39249. <br>core detects an overflow or a CRC error for non-Isochronous OUT packet.</br>
  39250. </comment>
  39251. </bits>
  39252. <bits access="rw" name="bnaintr" pos="9" rst="0">
  39253. <comment>
  39254. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  39255. <br/>
  39256. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  39257. <br/>
  39258. <br>The core generates this interrupt when the descriptor accessed</br>
  39259. <br>is not ready for the Core to process, such as Host busy or DMA</br>
  39260. <br>done</br>
  39261. </comment>
  39262. </bits>
  39263. <bits access="rw" name="pktdrpsts" pos="11" rst="0">
  39264. <comment>
  39265. <br>Packet Drop Status (PktDrpSts)</br>
  39266. <br/>
  39267. <br>This bit indicates to the application that an ISOC OUT packet has been dropped. This</br>
  39268. <br>bit does not have an associated mask bit and does not generate an interrupt.</br>
  39269. <br/>
  39270. <br>Dependency: This bit is valid in non Scatter/Gather DMA mode when periodic transfer</br>
  39271. <br>interrupt feature is selected.</br>
  39272. </comment>
  39273. </bits>
  39274. <bits access="rw" name="bbleerr" pos="12" rst="0">
  39275. <comment>
  39276. <br>NAK Interrupt (BbleErr)</br>
  39277. <br/>
  39278. <br>The core generates this interrupt when babble is received for the endpoint.</br>
  39279. </comment>
  39280. </bits>
  39281. <bits access="rw" name="nakintrpt" pos="13" rst="0">
  39282. <comment>
  39283. <br>NAK Interrupt (NAKInterrupt)</br>
  39284. <br/>
  39285. <br>The core generates this interrupt when a NAK is transmitted or received by the device.</br>
  39286. <br/>
  39287. <br>In case of isochronous IN endpoints the interrupt gets generated when a zero length</br>
  39288. <br>packet is transmitted due to un-availability of data in the TXFifo.</br>
  39289. </comment>
  39290. </bits>
  39291. <bits access="rw" name="nyetintrpt" pos="14" rst="0">
  39292. <comment>
  39293. <br>NYET Interrupt (NYETIntrpt)</br>
  39294. <br/>
  39295. <br>The core generates this interrupt when a NYET response is transmitted for a non isochronous OUT endpoint.</br>
  39296. </comment>
  39297. </bits>
  39298. <bits access="rw" name="stuppktrcvd" pos="15" rst="0">
  39299. <comment>
  39300. <br>Setup Packet Received</br>
  39301. <br/>
  39302. <br>Applicable for Control OUT Endpoints in only in the Buffer DMA Mode</br>
  39303. <br/>
  39304. <br>Set by the controller, this bit indicates that this buffer holds 8 bytes of</br>
  39305. <br>setup data. There is only one Setup packet per buffer. On receiving a</br>
  39306. <br>Setup packet, the controller closes the buffer and disables the</br>
  39307. <br>corresponding endpoint. The application has to re-enable the endpoint to</br>
  39308. <br>receive any OUT data for the Control Transfer and reprogram the buffer</br>
  39309. <br>start address.</br>
  39310. <br/>
  39311. <br>Note: Because of the above behavior, the controller can receive any</br>
  39312. <br>number of back to back setup packets and one buffer for every setup</br>
  39313. <br>packet is used.</br>
  39314. <br> - 1'b0: No Setup packet received</br>
  39315. <br> - 1'b1: Setup packet received</br>
  39316. <br>Reset: 1'b0</br>
  39317. </comment>
  39318. </bits>
  39319. </reg>
  39320. <hole size="32"/>
  39321. <reg name="doeptsiz2" protect="rw">
  39322. <comment>Device OUT Endpoint 2 Transfer Size Register</comment>
  39323. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  39324. <comment>
  39325. <br>Transfer Size (XferSize)</br>
  39326. <br/>
  39327. <br>Indicates the transfer size in bytes for endpoint 0. The core</br>
  39328. <br>interrupts the application only after it has exhausted the transfer</br>
  39329. <br>size amount of data. The transfer size can be Set to the</br>
  39330. <br>maximum packet size of the endpoint, to be interrupted at the</br>
  39331. <br>end of each packet.</br>
  39332. <br/>
  39333. <br>The core decrements this field every time a packet is read from</br>
  39334. <br>the RxFIFO and written to the external memory.</br>
  39335. </comment>
  39336. </bits>
  39337. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  39338. <comment>
  39339. <br>Packet Count (PktCnt)</br>
  39340. <br>This field is decremented to zero after a packet is written into the RxFIFO.</br>
  39341. </comment>
  39342. </bits>
  39343. <bits access="r" name="rxdpid" pos="30:29" rst="0">
  39344. <comment>
  39345. <br>RxDPID</br>
  39346. <br/>
  39347. <br>Applies to isochronous OUT endpoints only.</br>
  39348. <br/>
  39349. <br>This is the data PID received in the last packet for this endpoint.</br>
  39350. <br> - 2'b00: DATA0</br>
  39351. <br> - 2'b01: DATA2</br>
  39352. <br> - 2'b10: DATA1</br>
  39353. <br> - 2'b11: MDATA</br>
  39354. <br>SETUP Packet Count (SUPCnt)</br>
  39355. <br/>
  39356. <br>Applies to control OUT Endpoints only.</br>
  39357. <br/>
  39358. <br>This field specifies the number of back-to-back SETUP data</br>
  39359. <br>packets the endpoint can receive.</br>
  39360. <br> - 2'b01: 1 packet</br>
  39361. <br> - 2'b10: 2 packets</br>
  39362. <br> - 2'b11: 3 packets</br>
  39363. </comment>
  39364. </bits>
  39365. </reg>
  39366. <reg name="doepdma2" protect="rw">
  39367. <comment>Device OUT Endpoint 2 DMA Address Register</comment>
  39368. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  39369. <comment>
  39370. <br>Holds the start address of the external memory for storing or fetching endpoint</br>
  39371. <br>data.</br>
  39372. <br/>
  39373. <br>Note: For control endpoints, this field stores control OUT data packets as well as</br>
  39374. <br>SETUP transaction data packets. When more than three SETUP packets are</br>
  39375. <br>received back-to-back, the SETUP data packet in the memory is overwritten.</br>
  39376. <br/>
  39377. <br>This register is incremented on every AHB transaction. The application can give</br>
  39378. <br>only a DWORD-aligned address.</br>
  39379. <br> - When Scatter/Gather DMA mode is not enabled, the application programs the start address value in this field.</br>
  39380. <br> - When Scatter/Gather DMA mode is enabled, this field indicates the base pointer for the descriptor list.</br>
  39381. </comment>
  39382. </bits>
  39383. </reg>
  39384. <hole size="32"/>
  39385. <reg name="doepdmab2" protect="r">
  39386. <comment>Device OUT Endpoint 2 Buffer Address Register</comment>
  39387. <bits access="r" name="dmabufferaddr" pos="31:0" rst="0">
  39388. <comment>
  39389. <br>Holds the current buffer address.This register is updated as and when the data</br>
  39390. <br>transfer for the corresponding end point is in progress.</br>
  39391. <br/>
  39392. <br>This register is present only in Scatter/Gather DMA mode. Otherwise this field is reserved.</br>
  39393. </comment>
  39394. </bits>
  39395. </reg>
  39396. <reg name="doepctl3" protect="rw">
  39397. <comment>Device Control OUT Endpoint 3 Control Register</comment>
  39398. <bits access="rw" name="mps" pos="10:0" rst="0">
  39399. <comment>
  39400. <br>Maximum Packet Size (MPS)</br>
  39401. <br/>
  39402. <br>The application must program this field with the maximum packet size for the current</br>
  39403. <br>logical endpoint. This value is in bytes.</br>
  39404. </comment>
  39405. </bits>
  39406. <bits access="rw" name="usbactep" pos="15" rst="0">
  39407. <comment>
  39408. <br>USB Active Endpoint (USBActEP)</br>
  39409. <br/>
  39410. <br>Indicates whether this endpoint is active in the current configuration and interface. The</br>
  39411. <br>core clears this bit for all endpoints (other than EP 0) after detecting a USB reset. After</br>
  39412. <br>receiving the SetConfiguration and SetInterface commands, the application must</br>
  39413. <br>program endpoint registers accordingly and set this bit.</br>
  39414. </comment>
  39415. </bits>
  39416. <bits access="r" name="dpid" pos="16" rst="0">
  39417. <comment>
  39418. <br>Endpoint Data PID (DPID)</br>
  39419. <br/>
  39420. <br>Applies to interrupt/bulk IN and OUT endpoints only.</br>
  39421. <br/>
  39422. <br>Contains the PID of the packet to be received or transmitted on this endpoint. The</br>
  39423. <br>application must program the PID of the first packet to be received or transmitted on</br>
  39424. <br>this endpoint, after the endpoint is activated. The applications use the SetD1PID and</br>
  39425. <br>SetD0PID fields of this register to program either DATA0 or DATA1 PID.</br>
  39426. <br> - 1'b0: DATA0</br>
  39427. <br> - 1'b1: DATA1</br>
  39428. <br>This field is applicable for both Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  39429. <br/>
  39430. <br>Reset: 1'b0</br>
  39431. <br/>
  39432. <br>Even/Odd (Micro)Frame (EO_FrNum)</br>
  39433. <br/>
  39434. <br>In non-Scatter/Gather DMA mode:</br>
  39435. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  39436. <br> - Indicates the (micro)frame number in which the core transmits/receives isochronous data for this endpoint. The application must program the even/odd (micro)frame number in which it intends to transmit/receive isochronous data for this endpoint using the SetEvnFr and SetOddFr fields in this register.</br>
  39437. <br> -- 1'b0: Even (micro)frame</br>
  39438. <br> -- 1'b1: Odd (micro)frame</br>
  39439. <br> - When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is provided in the transmit descriptor structure. The frame in which data is received is updated in receive descriptor structure.</br>
  39440. <br>Reset: 1'b0</br>
  39441. </comment>
  39442. </bits>
  39443. <bits access="r" name="naksts" pos="17" rst="0">
  39444. <comment>
  39445. <br>NAK Status (NAKSts)</br>
  39446. <br/>
  39447. <br>Indicates the following:</br>
  39448. <br> - 1'b0: The core is transmitting non-NAK handshakes based on the FIFO status.</br>
  39449. <br> - 1'b1: The core is transmitting NAK handshakes on this endpoint.</br>
  39450. <br>When either the application or the core sets this bit:</br>
  39451. <br> - The core stops receiving any data on an OUT endpoint, even if there is space in the RxFIFO to accommodate the incoming packet.</br>
  39452. <br> - For non-isochronous IN endpoints: The core stops transmitting any data on an IN endpoint, even if there data is available in the TxFIFO.</br>
  39453. <br> - For isochronous IN endpoints: The core sends out a zero-length data packet, even if there data is available in the TxFIFO.</br>
  39454. <br>Irrespective of this bit's setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  39455. </comment>
  39456. </bits>
  39457. <bits access="rw" name="eptype" pos="19:18" rst="0">
  39458. <comment>
  39459. <br>Endpoint Type (EPType)</br>
  39460. <br/>
  39461. <br>This is the transfer type supported by this logical endpoint.</br>
  39462. <br> - 2'b00: Control</br>
  39463. <br> - 2'b01: Isochronous</br>
  39464. <br> - 2'b10: Bulk</br>
  39465. <br> - 2'b11: Interrupt</br>
  39466. </comment>
  39467. </bits>
  39468. <bits access="rw" name="snp" pos="20" rst="0">
  39469. <comment>
  39470. <br>RESERVED</br>
  39471. </comment>
  39472. </bits>
  39473. <bits access="rw" name="stall" pos="21" rst="0">
  39474. <comment>
  39475. <br>STALL Handshake (Stall)</br>
  39476. <br/>
  39477. <br>Applies to non-control, non-isochronous IN and OUT endpoints only.</br>
  39478. <br/>
  39479. <br>The application sets this bit to stall all tokens from the USB host to this endpoint. If a</br>
  39480. <br>NAK bit, Global Non-periodic IN NAK, or Global OUT NAK is set along with this bit, the</br>
  39481. <br>STALL bit takes priority. Only the application can clear this bit, never the core.</br>
  39482. <br/>
  39483. <br>Applies to control endpoints only.</br>
  39484. <br/>
  39485. <br>The application can only set this bit, and the core clears it, when a SETUP token is</br>
  39486. <br>received for this endpoint. If a NAK bit, Global Non-periodic IN NAK, or Global OUT</br>
  39487. <br>NAK is set along with this bit, the STALL bit takes priority. Irrespective of this bit's</br>
  39488. <br>setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  39489. <br/>
  39490. </comment>
  39491. </bits>
  39492. <bits access="w" name="cnak" pos="26" rst="0">
  39493. <comment>
  39494. <br/>
  39495. <br>Clear NAK (CNAK)</br>
  39496. <br>A write to this bit clears the NAK bit for the endpoint.</br>
  39497. </comment>
  39498. </bits>
  39499. <bits access="w" name="snak" pos="27" rst="0">
  39500. <comment>
  39501. <br>Set NAK (SNAK)</br>
  39502. <br/>
  39503. <br>A write to this bit sets the NAK bit for the endpoint.</br>
  39504. <br/>
  39505. <br>Using this bit, the application can control the transmission of NAK</br>
  39506. <br>handshakes on an endpoint. The core can also set this bit for an</br>
  39507. <br>endpoint after a SETUP packet is received on that endpoint.</br>
  39508. </comment>
  39509. </bits>
  39510. <bits access="w" name="setd0pid" pos="28" rst="0">
  39511. <comment>
  39512. <br>Set DATA0 PID (SetD0PID)</br>
  39513. <br> - Applies to interrupt/bulk IN and OUT endpoints only.</br>
  39514. <br> - Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA0.</br>
  39515. <br> - This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  39516. <br>Reset: 1'b0</br>
  39517. <br/>
  39518. <br>In non-Scatter/Gather DMA mode: Set Even (micro)frame (SetEvenFr)</br>
  39519. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  39520. <br> - Writing to this field sets the Even/Odd (micro)frame (EO_FrNum) field to even (micro)frame.</br>
  39521. <br> - When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is in the transmit descriptor structure. The frame in which to receive data is updated in receive descriptor structure.</br>
  39522. <br>Reset: 1'b0</br>
  39523. </comment>
  39524. </bits>
  39525. <bits access="w" name="setd1pid" pos="29" rst="0">
  39526. <comment>
  39527. <br>Set DATA1 PID (SetD1PID)</br>
  39528. <br> - Applies to interrupt and bulk IN and OUT endpoints only.</br>
  39529. <br> - Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA1.</br>
  39530. <br> - This field is applicable both for scatter-gather DMA mode and non scatter-gather DMA mode.</br>
  39531. <br>Reset: 1'b0</br>
  39532. <br/>
  39533. <br>Set Odd (micro)frame (SetOddFr)</br>
  39534. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  39535. <br> - Writing to this field sets the even and odd (micro)frame (EO_FrNum) field to odd (micro)frame.</br>
  39536. <br>Reset: 1'b0</br>
  39537. </comment>
  39538. </bits>
  39539. <bits access="rw" name="epdis" pos="30" rst="0">
  39540. <comment>
  39541. <br>Endpoint Disable (EPDis)</br>
  39542. <br/>
  39543. <br>Applies to IN and OUT endpoints.</br>
  39544. <br/>
  39545. <br>The application sets this bit to stop transmitting/receiving data on an endpoint, even</br>
  39546. <br>before the transfer for that endpoint is complete. The application must wait for the</br>
  39547. <br>Endpoint Disabled interrupt before treating the endpoint as disabled. The core clears</br>
  39548. <br>this bit before setting the Endpoint Disabled interrupt. The application must set this bit</br>
  39549. <br>only if Endpoint Enable is already set for this endpoint.</br>
  39550. </comment>
  39551. </bits>
  39552. <bits access="rw" name="epena" pos="31" rst="0">
  39553. <comment>
  39554. <br>Endpoint Enable (EPEna)</br>
  39555. <br/>
  39556. <br>Applies to IN and OUT endpoints.</br>
  39557. <br/>
  39558. <br>When Scatter/Gather DMA mode is enabled,</br>
  39559. <br> - For IN endpoints this bit indicates that the descriptor structure and data buffer with data ready to transmit is setup.</br>
  39560. <br> - For OUT endpoint it indicates that the descriptor structure and data buffer to receive data is setup.</br>
  39561. <br>When Scatter/Gather DMA mode is enabled such as for buffer-pointer based DMA mode:</br>
  39562. <br> - For IN endpoints, this bit indicates that data is ready to be transmitted on the endpoint.</br>
  39563. <br> - For OUT endpoints, this bit indicates that the application has allocated the memory to start receiving data from the USB.</br>
  39564. <br>The core clears this bit before setting any of the following interrupts on this endpoint:</br>
  39565. <br> - SETUP Phase Done</br>
  39566. <br> - Endpoint Disabled</br>
  39567. <br> - Transfer Completed</br>
  39568. <br>Note: For control endpoints in DMA mode, this bit must be set to be able to transfer SETUP data packets in memory.</br>
  39569. </comment>
  39570. </bits>
  39571. </reg>
  39572. <hole size="32"/>
  39573. <reg name="doepint3" protect="rw">
  39574. <comment>Device OUT Endpoint 3 Interrupt Register</comment>
  39575. <bits access="rw" name="xfercompl" pos="0" rst="0">
  39576. <comment>
  39577. <br>Transfer Completed Interrupt (XferCompl)</br>
  39578. <br/>
  39579. <br>Applies to IN and OUT endpoints.</br>
  39580. <br> - When Scatter/Gather DMA mode is enabled</br>
  39581. <br> -- For IN endpoint this field indicates that the requested data from the descriptor is moved from external system memory to internal FIFO.</br>
  39582. <br> -- For OUT endpoint this field indicates that the requested data from the internal FIFO is moved to external system memory. This interrupt is generated only when the corresponding endpoint descriptor is closed, and the IOC bit for the corresponding descriptor is Set.</br>
  39583. <br> - When Scatter/Gather DMA mode is disabled, this field indicates that the programmed transfer is complete on the AHB as well as on the USB, for this endpoint.</br>
  39584. </comment>
  39585. </bits>
  39586. <bits access="rw" name="epdisbld" pos="1" rst="0">
  39587. <comment>
  39588. <br>Endpoint Disabled Interrupt (EPDisbld)</br>
  39589. <br/>
  39590. <br>Applies to IN and OUT endpoints.</br>
  39591. <br/>
  39592. <br>This bit indicates that the endpoint is disabled per the application's request.</br>
  39593. </comment>
  39594. </bits>
  39595. <bits access="rw" name="ahberr" pos="2" rst="0">
  39596. <comment>
  39597. <br>AHB Error (AHBErr)</br>
  39598. <br/>
  39599. <br>Applies to IN and OUT endpoints.</br>
  39600. <br/>
  39601. <br>This is generated only in Internal DMA mode when there is an</br>
  39602. <br>AHB error during an AHB read/write. The application can read</br>
  39603. <br>the corresponding endpoint DMA address register to get the</br>
  39604. <br>error address.</br>
  39605. </comment>
  39606. </bits>
  39607. <bits access="rw" name="setup" pos="3" rst="0">
  39608. <comment>
  39609. <br>SETUP Phase Done (SetUp)</br>
  39610. <br/>
  39611. <br>Applies to control OUT endpoints only.</br>
  39612. <br/>
  39613. <br>Indicates that the SETUP phase for the control endpoint is</br>
  39614. <br>complete and no more back-to-back SETUP packets were</br>
  39615. <br>received for the current control transfer. On this interrupt, the</br>
  39616. <br>application can decode the received SETUP data packet.</br>
  39617. </comment>
  39618. </bits>
  39619. <bits access="rw" name="outtknepdis" pos="4" rst="0">
  39620. <comment>
  39621. <br>OUT Token Received When Endpoint Disabled (OUTTknEPdis)</br>
  39622. <br/>
  39623. <br>Applies only to control OUT endpoints.</br>
  39624. <br/>
  39625. <br>Indicates that an OUT token was received when the endpoint was not yet enabled. This interrupt is asserted on the endpoint for which the OUT token was received.</br>
  39626. </comment>
  39627. </bits>
  39628. <bits access="rw" name="stsphsercvd" pos="5" rst="0">
  39629. <comment>
  39630. <br>Status Phase Received for Control Write (StsPhseRcvd)</br>
  39631. <br/>
  39632. <br>This interrupt is valid only for Control OUT endpoints and only in</br>
  39633. <br>Scatter Gather DMA mode.</br>
  39634. <br/>
  39635. <br>This interrupt is generated only after the core has transferred all</br>
  39636. <br>the data that the host has sent during the data phase of a control</br>
  39637. <br>write transfer, to the system memory buffer.</br>
  39638. <br/>
  39639. <br>The interrupt indicates to the application that the host has</br>
  39640. <br>switched from data phase to the status phase of a Control Write</br>
  39641. <br>transfer. The application can use this interrupt to ACK or STALL</br>
  39642. <br>the Status phase, after it has decoded the data phase. This is</br>
  39643. <br>applicable only in Case of Scatter Gather DMA mode.</br>
  39644. </comment>
  39645. </bits>
  39646. <bits access="rw" name="back2backsetup" pos="6" rst="0">
  39647. <comment>
  39648. <br>Back-to-Back SETUP Packets Received (Back2BackSETup)</br>
  39649. <br/>
  39650. <br>Applies to Control OUT endpoints only.</br>
  39651. <br/>
  39652. <br>This bit indicates that the core has received more than three</br>
  39653. <br>back-to-back SETUP packets for this particular endpoint. For</br>
  39654. <br>information about handling this interrupt,</br>
  39655. </comment>
  39656. </bits>
  39657. <bits access="rw" name="outpkterr" pos="8" rst="0">
  39658. <comment>
  39659. <br>OUT Packet Error (OutPktErr)</br>
  39660. <br/>
  39661. <br>Applies to OUT endpoints Only</br>
  39662. <br/>
  39663. <br>This interrupt is valid only when thresholding is enabled. This interrupt is asserted when the</br>
  39664. <br>core detects an overflow or a CRC error for non-Isochronous OUT packet.</br>
  39665. </comment>
  39666. </bits>
  39667. <bits access="rw" name="bnaintr" pos="9" rst="0">
  39668. <comment>
  39669. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  39670. <br/>
  39671. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  39672. <br/>
  39673. <br>The core generates this interrupt when the descriptor accessed</br>
  39674. <br>is not ready for the Core to process, such as Host busy or DMA</br>
  39675. <br>done</br>
  39676. </comment>
  39677. </bits>
  39678. <bits access="rw" name="pktdrpsts" pos="11" rst="0">
  39679. <comment>
  39680. <br>Packet Drop Status (PktDrpSts)</br>
  39681. <br/>
  39682. <br>This bit indicates to the application that an ISOC OUT packet has been dropped. This</br>
  39683. <br>bit does not have an associated mask bit and does not generate an interrupt.</br>
  39684. <br/>
  39685. <br>Dependency: This bit is valid in non Scatter/Gather DMA mode when periodic transfer</br>
  39686. <br>interrupt feature is selected.</br>
  39687. </comment>
  39688. </bits>
  39689. <bits access="rw" name="bbleerr" pos="12" rst="0">
  39690. <comment>
  39691. <br>NAK Interrupt (BbleErr)</br>
  39692. <br/>
  39693. <br>The core generates this interrupt when babble is received for the endpoint.</br>
  39694. </comment>
  39695. </bits>
  39696. <bits access="rw" name="nakintrpt" pos="13" rst="0">
  39697. <comment>
  39698. <br>NAK Interrupt (NAKInterrupt)</br>
  39699. <br/>
  39700. <br>The core generates this interrupt when a NAK is transmitted or received by the device.</br>
  39701. <br/>
  39702. <br>In case of isochronous IN endpoints the interrupt gets generated when a zero length</br>
  39703. <br>packet is transmitted due to un-availability of data in the TXFifo.</br>
  39704. </comment>
  39705. </bits>
  39706. <bits access="rw" name="nyetintrpt" pos="14" rst="0">
  39707. <comment>
  39708. <br>NYET Interrupt (NYETIntrpt)</br>
  39709. <br/>
  39710. <br>The core generates this interrupt when a NYET response is transmitted for a non isochronous OUT endpoint.</br>
  39711. </comment>
  39712. </bits>
  39713. <bits access="rw" name="stuppktrcvd" pos="15" rst="0">
  39714. <comment>
  39715. <br>Setup Packet Received</br>
  39716. <br/>
  39717. <br>Applicable for Control OUT Endpoints in only in the Buffer DMA Mode</br>
  39718. <br/>
  39719. <br>Set by the controller, this bit indicates that this buffer holds 8 bytes of</br>
  39720. <br>setup data. There is only one Setup packet per buffer. On receiving a</br>
  39721. <br>Setup packet, the controller closes the buffer and disables the</br>
  39722. <br>corresponding endpoint. The application has to re-enable the endpoint to</br>
  39723. <br>receive any OUT data for the Control Transfer and reprogram the buffer</br>
  39724. <br>start address.</br>
  39725. <br/>
  39726. <br>Note: Because of the above behavior, the controller can receive any</br>
  39727. <br>number of back to back setup packets and one buffer for every setup</br>
  39728. <br>packet is used.</br>
  39729. <br> - 1'b0: No Setup packet received</br>
  39730. <br> - 1'b1: Setup packet received</br>
  39731. <br>Reset: 1'b0</br>
  39732. </comment>
  39733. </bits>
  39734. </reg>
  39735. <hole size="32"/>
  39736. <reg name="doeptsiz3" protect="rw">
  39737. <comment>Device OUT Endpoint 3 Transfer Size Register</comment>
  39738. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  39739. <comment>
  39740. <br>Transfer Size (XferSize)</br>
  39741. <br/>
  39742. <br>Indicates the transfer size in bytes for endpoint 0. The core</br>
  39743. <br>interrupts the application only after it has exhausted the transfer</br>
  39744. <br>size amount of data. The transfer size can be Set to the</br>
  39745. <br>maximum packet size of the endpoint, to be interrupted at the</br>
  39746. <br>end of each packet.</br>
  39747. <br/>
  39748. <br>The core decrements this field every time a packet is read from</br>
  39749. <br>the RxFIFO and written to the external memory.</br>
  39750. </comment>
  39751. </bits>
  39752. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  39753. <comment>
  39754. <br>Packet Count (PktCnt)</br>
  39755. <br>This field is decremented to zero after a packet is written into the RxFIFO.</br>
  39756. </comment>
  39757. </bits>
  39758. <bits access="r" name="rxdpid" pos="30:29" rst="0">
  39759. <comment>
  39760. <br>RxDPID</br>
  39761. <br/>
  39762. <br>Applies to isochronous OUT endpoints only.</br>
  39763. <br/>
  39764. <br>This is the data PID received in the last packet for this endpoint.</br>
  39765. <br> - 2'b00: DATA0</br>
  39766. <br> - 2'b01: DATA2</br>
  39767. <br> - 2'b10: DATA1</br>
  39768. <br> - 2'b11: MDATA</br>
  39769. <br>SETUP Packet Count (SUPCnt)</br>
  39770. <br/>
  39771. <br>Applies to control OUT Endpoints only.</br>
  39772. <br/>
  39773. <br>This field specifies the number of back-to-back SETUP data</br>
  39774. <br>packets the endpoint can receive.</br>
  39775. <br> - 2'b01: 1 packet</br>
  39776. <br> - 2'b10: 2 packets</br>
  39777. <br> - 2'b11: 3 packets</br>
  39778. </comment>
  39779. </bits>
  39780. </reg>
  39781. <reg name="doepdma3" protect="rw">
  39782. <comment>Device OUT Endpoint 3 DMA Address Register</comment>
  39783. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  39784. <comment>
  39785. <br>Holds the start address of the external memory for storing or fetching endpoint</br>
  39786. <br>data.</br>
  39787. <br/>
  39788. <br>Note: For control endpoints, this field stores control OUT data packets as well as</br>
  39789. <br>SETUP transaction data packets. When more than three SETUP packets are</br>
  39790. <br>received back-to-back, the SETUP data packet in the memory is overwritten.</br>
  39791. <br/>
  39792. <br>This register is incremented on every AHB transaction. The application can give</br>
  39793. <br>only a DWORD-aligned address.</br>
  39794. <br> - When Scatter/Gather DMA mode is not enabled, the application programs the start address value in this field.</br>
  39795. <br> - When Scatter/Gather DMA mode is enabled, this field indicates the base pointer for the descriptor list.</br>
  39796. </comment>
  39797. </bits>
  39798. </reg>
  39799. <hole size="32"/>
  39800. <reg name="doepdmab3" protect="r">
  39801. <comment>Device OUT Endpoint 3 Buffer Address Register</comment>
  39802. <bits access="r" name="dmabufferaddr" pos="31:0" rst="0">
  39803. <comment>
  39804. <br>Holds the current buffer address.This register is updated as and when the data</br>
  39805. <br>transfer for the corresponding end point is in progress.</br>
  39806. <br/>
  39807. <br>This register is present only in Scatter/Gather DMA mode. Otherwise this field is reserved.</br>
  39808. </comment>
  39809. </bits>
  39810. </reg>
  39811. <reg name="doepctl4" protect="rw">
  39812. <comment>Device Control OUT Endpoint 4 Control Register</comment>
  39813. <bits access="rw" name="mps" pos="10:0" rst="0">
  39814. <comment>
  39815. <br>Maximum Packet Size (MPS)</br>
  39816. <br/>
  39817. <br>The application must program this field with the maximum packet size for the current</br>
  39818. <br>logical endpoint. This value is in bytes.</br>
  39819. </comment>
  39820. </bits>
  39821. <bits access="rw" name="usbactep" pos="15" rst="0">
  39822. <comment>
  39823. <br>USB Active Endpoint (USBActEP)</br>
  39824. <br/>
  39825. <br>Indicates whether this endpoint is active in the current configuration and interface. The</br>
  39826. <br>core clears this bit for all endpoints (other than EP 0) after detecting a USB reset. After</br>
  39827. <br>receiving the SetConfiguration and SetInterface commands, the application must</br>
  39828. <br>program endpoint registers accordingly and set this bit.</br>
  39829. </comment>
  39830. </bits>
  39831. <bits access="r" name="dpid" pos="16" rst="0">
  39832. <comment>
  39833. <br>Endpoint Data PID (DPID)</br>
  39834. <br/>
  39835. <br>Applies to interrupt/bulk IN and OUT endpoints only.</br>
  39836. <br/>
  39837. <br>Contains the PID of the packet to be received or transmitted on this endpoint. The</br>
  39838. <br>application must program the PID of the first packet to be received or transmitted on</br>
  39839. <br>this endpoint, after the endpoint is activated. The applications use the SetD1PID and</br>
  39840. <br>SetD0PID fields of this register to program either DATA0 or DATA1 PID.</br>
  39841. <br> - 1'b0: DATA0</br>
  39842. <br> - 1'b1: DATA1</br>
  39843. <br>This field is applicable for both Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  39844. <br/>
  39845. <br>Reset: 1'b0</br>
  39846. <br/>
  39847. <br>Even/Odd (Micro)Frame (EO_FrNum)</br>
  39848. <br/>
  39849. <br>In non-Scatter/Gather DMA mode:</br>
  39850. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  39851. <br> - Indicates the (micro)frame number in which the core transmits/receives isochronous data for this endpoint. The application must program the even/odd (micro)frame number in which it intends to transmit/receive isochronous data for this endpoint using the SetEvnFr and SetOddFr fields in this register.</br>
  39852. <br> -- 1'b0: Even (micro)frame</br>
  39853. <br> -- 1'b1: Odd (micro)frame</br>
  39854. <br> - When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is provided in the transmit descriptor structure. The frame in which data is received is updated in receive descriptor structure.</br>
  39855. <br>Reset: 1'b0</br>
  39856. </comment>
  39857. </bits>
  39858. <bits access="r" name="naksts" pos="17" rst="0">
  39859. <comment>
  39860. <br>NAK Status (NAKSts)</br>
  39861. <br/>
  39862. <br>Indicates the following:</br>
  39863. <br> - 1'b0: The core is transmitting non-NAK handshakes based on the FIFO status.</br>
  39864. <br> - 1'b1: The core is transmitting NAK handshakes on this endpoint.</br>
  39865. <br>When either the application or the core sets this bit:</br>
  39866. <br> - The core stops receiving any data on an OUT endpoint, even if there is space in the RxFIFO to accommodate the incoming packet.</br>
  39867. <br> - For non-isochronous IN endpoints: The core stops transmitting any data on an IN endpoint, even if there data is available in the TxFIFO.</br>
  39868. <br> - For isochronous IN endpoints: The core sends out a zero-length data packet, even if there data is available in the TxFIFO.</br>
  39869. <br>Irrespective of this bit's setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  39870. </comment>
  39871. </bits>
  39872. <bits access="rw" name="eptype" pos="19:18" rst="0">
  39873. <comment>
  39874. <br>Endpoint Type (EPType)</br>
  39875. <br/>
  39876. <br>This is the transfer type supported by this logical endpoint.</br>
  39877. <br> - 2'b00: Control</br>
  39878. <br> - 2'b01: Isochronous</br>
  39879. <br> - 2'b10: Bulk</br>
  39880. <br> - 2'b11: Interrupt</br>
  39881. </comment>
  39882. </bits>
  39883. <bits access="rw" name="snp" pos="20" rst="0">
  39884. <comment>
  39885. <br>RESERVED</br>
  39886. </comment>
  39887. </bits>
  39888. <bits access="rw" name="stall" pos="21" rst="0">
  39889. <comment>
  39890. <br>STALL Handshake (Stall)</br>
  39891. <br/>
  39892. <br>Applies to non-control, non-isochronous IN and OUT endpoints only.</br>
  39893. <br/>
  39894. <br>The application sets this bit to stall all tokens from the USB host to this endpoint. If a</br>
  39895. <br>NAK bit, Global Non-periodic IN NAK, or Global OUT NAK is set along with this bit, the</br>
  39896. <br>STALL bit takes priority. Only the application can clear this bit, never the core.</br>
  39897. <br/>
  39898. <br>Applies to control endpoints only.</br>
  39899. <br/>
  39900. <br>The application can only set this bit, and the core clears it, when a SETUP token is</br>
  39901. <br>received for this endpoint. If a NAK bit, Global Non-periodic IN NAK, or Global OUT</br>
  39902. <br>NAK is set along with this bit, the STALL bit takes priority. Irrespective of this bit's</br>
  39903. <br>setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  39904. <br/>
  39905. </comment>
  39906. </bits>
  39907. <bits access="w" name="cnak" pos="26" rst="0">
  39908. <comment>
  39909. <br/>
  39910. <br>Clear NAK (CNAK)</br>
  39911. <br>A write to this bit clears the NAK bit for the endpoint.</br>
  39912. </comment>
  39913. </bits>
  39914. <bits access="w" name="snak" pos="27" rst="0">
  39915. <comment>
  39916. <br>Set NAK (SNAK)</br>
  39917. <br/>
  39918. <br>A write to this bit sets the NAK bit for the endpoint.</br>
  39919. <br/>
  39920. <br>Using this bit, the application can control the transmission of NAK</br>
  39921. <br>handshakes on an endpoint. The core can also set this bit for an</br>
  39922. <br>endpoint after a SETUP packet is received on that endpoint.</br>
  39923. </comment>
  39924. </bits>
  39925. <bits access="w" name="setd0pid" pos="28" rst="0">
  39926. <comment>
  39927. <br>Set DATA0 PID (SetD0PID)</br>
  39928. <br> - Applies to interrupt/bulk IN and OUT endpoints only.</br>
  39929. <br> - Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA0.</br>
  39930. <br> - This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  39931. <br>Reset: 1'b0</br>
  39932. <br/>
  39933. <br>In non-Scatter/Gather DMA mode: Set Even (micro)frame (SetEvenFr)</br>
  39934. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  39935. <br> - Writing to this field sets the Even/Odd (micro)frame (EO_FrNum) field to even (micro)frame.</br>
  39936. <br> - When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is in the transmit descriptor structure. The frame in which to receive data is updated in receive descriptor structure.</br>
  39937. <br>Reset: 1'b0</br>
  39938. </comment>
  39939. </bits>
  39940. <bits access="w" name="setd1pid" pos="29" rst="0">
  39941. <comment>
  39942. <br>Set DATA1 PID (SetD1PID)</br>
  39943. <br> - Applies to interrupt and bulk IN and OUT endpoints only.</br>
  39944. <br> - Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA1.</br>
  39945. <br> - This field is applicable both for scatter-gather DMA mode and non scatter-gather DMA mode.</br>
  39946. <br>Reset: 1'b0</br>
  39947. <br/>
  39948. <br>Set Odd (micro)frame (SetOddFr)</br>
  39949. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  39950. <br> - Writing to this field sets the even and odd (micro)frame (EO_FrNum) field to odd (micro)frame.</br>
  39951. <br>Reset: 1'b0</br>
  39952. </comment>
  39953. </bits>
  39954. <bits access="rw" name="epdis" pos="30" rst="0">
  39955. <comment>
  39956. <br>Endpoint Disable (EPDis)</br>
  39957. <br/>
  39958. <br>Applies to IN and OUT endpoints.</br>
  39959. <br/>
  39960. <br>The application sets this bit to stop transmitting/receiving data on an endpoint, even</br>
  39961. <br>before the transfer for that endpoint is complete. The application must wait for the</br>
  39962. <br>Endpoint Disabled interrupt before treating the endpoint as disabled. The core clears</br>
  39963. <br>this bit before setting the Endpoint Disabled interrupt. The application must set this bit</br>
  39964. <br>only if Endpoint Enable is already set for this endpoint.</br>
  39965. </comment>
  39966. </bits>
  39967. <bits access="rw" name="epena" pos="31" rst="0">
  39968. <comment>
  39969. <br>Endpoint Enable (EPEna)</br>
  39970. <br/>
  39971. <br>Applies to IN and OUT endpoints.</br>
  39972. <br/>
  39973. <br>When Scatter/Gather DMA mode is enabled,</br>
  39974. <br> - For IN endpoints this bit indicates that the descriptor structure and data buffer with data ready to transmit is setup.</br>
  39975. <br> - For OUT endpoint it indicates that the descriptor structure and data buffer to receive data is setup.</br>
  39976. <br>When Scatter/Gather DMA mode is enabled such as for buffer-pointer based DMA mode:</br>
  39977. <br> - For IN endpoints, this bit indicates that data is ready to be transmitted on the endpoint.</br>
  39978. <br> - For OUT endpoints, this bit indicates that the application has allocated the memory to start receiving data from the USB.</br>
  39979. <br>The core clears this bit before setting any of the following interrupts on this endpoint:</br>
  39980. <br> - SETUP Phase Done</br>
  39981. <br> - Endpoint Disabled</br>
  39982. <br> - Transfer Completed</br>
  39983. <br>Note: For control endpoints in DMA mode, this bit must be set to be able to transfer SETUP data packets in memory.</br>
  39984. </comment>
  39985. </bits>
  39986. </reg>
  39987. <hole size="32"/>
  39988. <reg name="doepint4" protect="rw">
  39989. <comment>Device OUT Endpoint 4 Interrupt Register</comment>
  39990. <bits access="rw" name="xfercompl" pos="0" rst="0">
  39991. <comment>
  39992. <br>Transfer Completed Interrupt (XferCompl)</br>
  39993. <br/>
  39994. <br>Applies to IN and OUT endpoints.</br>
  39995. <br> - When Scatter/Gather DMA mode is enabled</br>
  39996. <br> -- For IN endpoint this field indicates that the requested data from the descriptor is moved from external system memory to internal FIFO.</br>
  39997. <br> -- For OUT endpoint this field indicates that the requested data from the internal FIFO is moved to external system memory. This interrupt is generated only when the corresponding endpoint descriptor is closed, and the IOC bit for the corresponding descriptor is Set.</br>
  39998. <br> - When Scatter/Gather DMA mode is disabled, this field indicates that the programmed transfer is complete on the AHB as well as on the USB, for this endpoint.</br>
  39999. </comment>
  40000. </bits>
  40001. <bits access="rw" name="epdisbld" pos="1" rst="0">
  40002. <comment>
  40003. <br>Endpoint Disabled Interrupt (EPDisbld)</br>
  40004. <br/>
  40005. <br>Applies to IN and OUT endpoints.</br>
  40006. <br/>
  40007. <br>This bit indicates that the endpoint is disabled per the application's request.</br>
  40008. </comment>
  40009. </bits>
  40010. <bits access="rw" name="ahberr" pos="2" rst="0">
  40011. <comment>
  40012. <br>AHB Error (AHBErr)</br>
  40013. <br/>
  40014. <br>Applies to IN and OUT endpoints.</br>
  40015. <br/>
  40016. <br>This is generated only in Internal DMA mode when there is an</br>
  40017. <br>AHB error during an AHB read/write. The application can read</br>
  40018. <br>the corresponding endpoint DMA address register to get the</br>
  40019. <br>error address.</br>
  40020. </comment>
  40021. </bits>
  40022. <bits access="rw" name="setup" pos="3" rst="0">
  40023. <comment>
  40024. <br>SETUP Phase Done (SetUp)</br>
  40025. <br/>
  40026. <br>Applies to control OUT endpoints only.</br>
  40027. <br/>
  40028. <br>Indicates that the SETUP phase for the control endpoint is</br>
  40029. <br>complete and no more back-to-back SETUP packets were</br>
  40030. <br>received for the current control transfer. On this interrupt, the</br>
  40031. <br>application can decode the received SETUP data packet.</br>
  40032. </comment>
  40033. </bits>
  40034. <bits access="rw" name="outtknepdis" pos="4" rst="0">
  40035. <comment>
  40036. <br>OUT Token Received When Endpoint Disabled (OUTTknEPdis)</br>
  40037. <br/>
  40038. <br>Applies only to control OUT endpoints.</br>
  40039. <br/>
  40040. <br>Indicates that an OUT token was received when the endpoint was not yet enabled. This interrupt is asserted on the endpoint for which the OUT token was received.</br>
  40041. </comment>
  40042. </bits>
  40043. <bits access="rw" name="stsphsercvd" pos="5" rst="0">
  40044. <comment>
  40045. <br>Status Phase Received for Control Write (StsPhseRcvd)</br>
  40046. <br/>
  40047. <br>This interrupt is valid only for Control OUT endpoints and only in</br>
  40048. <br>Scatter Gather DMA mode.</br>
  40049. <br/>
  40050. <br>This interrupt is generated only after the core has transferred all</br>
  40051. <br>the data that the host has sent during the data phase of a control</br>
  40052. <br>write transfer, to the system memory buffer.</br>
  40053. <br/>
  40054. <br>The interrupt indicates to the application that the host has</br>
  40055. <br>switched from data phase to the status phase of a Control Write</br>
  40056. <br>transfer. The application can use this interrupt to ACK or STALL</br>
  40057. <br>the Status phase, after it has decoded the data phase. This is</br>
  40058. <br>applicable only in Case of Scatter Gather DMA mode.</br>
  40059. </comment>
  40060. </bits>
  40061. <bits access="rw" name="back2backsetup" pos="6" rst="0">
  40062. <comment>
  40063. <br>Back-to-Back SETUP Packets Received (Back2BackSETup)</br>
  40064. <br/>
  40065. <br>Applies to Control OUT endpoints only.</br>
  40066. <br/>
  40067. <br>This bit indicates that the core has received more than three</br>
  40068. <br>back-to-back SETUP packets for this particular endpoint. For</br>
  40069. <br>information about handling this interrupt,</br>
  40070. </comment>
  40071. </bits>
  40072. <bits access="rw" name="outpkterr" pos="8" rst="0">
  40073. <comment>
  40074. <br>OUT Packet Error (OutPktErr)</br>
  40075. <br/>
  40076. <br>Applies to OUT endpoints Only</br>
  40077. <br/>
  40078. <br>This interrupt is valid only when thresholding is enabled. This interrupt is asserted when the</br>
  40079. <br>core detects an overflow or a CRC error for non-Isochronous OUT packet.</br>
  40080. </comment>
  40081. </bits>
  40082. <bits access="rw" name="bnaintr" pos="9" rst="0">
  40083. <comment>
  40084. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  40085. <br/>
  40086. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  40087. <br/>
  40088. <br>The core generates this interrupt when the descriptor accessed</br>
  40089. <br>is not ready for the Core to process, such as Host busy or DMA</br>
  40090. <br>done</br>
  40091. </comment>
  40092. </bits>
  40093. <bits access="rw" name="pktdrpsts" pos="11" rst="0">
  40094. <comment>
  40095. <br>Packet Drop Status (PktDrpSts)</br>
  40096. <br/>
  40097. <br>This bit indicates to the application that an ISOC OUT packet has been dropped. This</br>
  40098. <br>bit does not have an associated mask bit and does not generate an interrupt.</br>
  40099. <br/>
  40100. <br>Dependency: This bit is valid in non Scatter/Gather DMA mode when periodic transfer</br>
  40101. <br>interrupt feature is selected.</br>
  40102. </comment>
  40103. </bits>
  40104. <bits access="rw" name="bbleerr" pos="12" rst="0">
  40105. <comment>
  40106. <br>NAK Interrupt (BbleErr)</br>
  40107. <br/>
  40108. <br>The core generates this interrupt when babble is received for the endpoint.</br>
  40109. </comment>
  40110. </bits>
  40111. <bits access="rw" name="nakintrpt" pos="13" rst="0">
  40112. <comment>
  40113. <br>NAK Interrupt (NAKInterrupt)</br>
  40114. <br/>
  40115. <br>The core generates this interrupt when a NAK is transmitted or received by the device.</br>
  40116. <br/>
  40117. <br>In case of isochronous IN endpoints the interrupt gets generated when a zero length</br>
  40118. <br>packet is transmitted due to un-availability of data in the TXFifo.</br>
  40119. </comment>
  40120. </bits>
  40121. <bits access="rw" name="nyetintrpt" pos="14" rst="0">
  40122. <comment>
  40123. <br>NYET Interrupt (NYETIntrpt)</br>
  40124. <br/>
  40125. <br>The core generates this interrupt when a NYET response is transmitted for a non isochronous OUT endpoint.</br>
  40126. </comment>
  40127. </bits>
  40128. <bits access="rw" name="stuppktrcvd" pos="15" rst="0">
  40129. <comment>
  40130. <br>Setup Packet Received</br>
  40131. <br/>
  40132. <br>Applicable for Control OUT Endpoints in only in the Buffer DMA Mode</br>
  40133. <br/>
  40134. <br>Set by the controller, this bit indicates that this buffer holds 8 bytes of</br>
  40135. <br>setup data. There is only one Setup packet per buffer. On receiving a</br>
  40136. <br>Setup packet, the controller closes the buffer and disables the</br>
  40137. <br>corresponding endpoint. The application has to re-enable the endpoint to</br>
  40138. <br>receive any OUT data for the Control Transfer and reprogram the buffer</br>
  40139. <br>start address.</br>
  40140. <br/>
  40141. <br>Note: Because of the above behavior, the controller can receive any</br>
  40142. <br>number of back to back setup packets and one buffer for every setup</br>
  40143. <br>packet is used.</br>
  40144. <br> - 1'b0: No Setup packet received</br>
  40145. <br> - 1'b1: Setup packet received</br>
  40146. <br>Reset: 1'b0</br>
  40147. </comment>
  40148. </bits>
  40149. </reg>
  40150. <hole size="32"/>
  40151. <reg name="doeptsiz4" protect="rw">
  40152. <comment>Device OUT Endpoint 4 Transfer Size Register</comment>
  40153. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  40154. <comment>
  40155. <br>Transfer Size (XferSize)</br>
  40156. <br/>
  40157. <br>Indicates the transfer size in bytes for endpoint 0. The core</br>
  40158. <br>interrupts the application only after it has exhausted the transfer</br>
  40159. <br>size amount of data. The transfer size can be Set to the</br>
  40160. <br>maximum packet size of the endpoint, to be interrupted at the</br>
  40161. <br>end of each packet.</br>
  40162. <br/>
  40163. <br>The core decrements this field every time a packet is read from</br>
  40164. <br>the RxFIFO and written to the external memory.</br>
  40165. </comment>
  40166. </bits>
  40167. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  40168. <comment>
  40169. <br>Packet Count (PktCnt)</br>
  40170. <br>This field is decremented to zero after a packet is written into the RxFIFO.</br>
  40171. </comment>
  40172. </bits>
  40173. <bits access="r" name="rxdpid" pos="30:29" rst="0">
  40174. <comment>
  40175. <br>RxDPID</br>
  40176. <br/>
  40177. <br>Applies to isochronous OUT endpoints only.</br>
  40178. <br/>
  40179. <br>This is the data PID received in the last packet for this endpoint.</br>
  40180. <br> - 2'b00: DATA0</br>
  40181. <br> - 2'b01: DATA2</br>
  40182. <br> - 2'b10: DATA1</br>
  40183. <br> - 2'b11: MDATA</br>
  40184. <br>SETUP Packet Count (SUPCnt)</br>
  40185. <br/>
  40186. <br>Applies to control OUT Endpoints only.</br>
  40187. <br/>
  40188. <br>This field specifies the number of back-to-back SETUP data</br>
  40189. <br>packets the endpoint can receive.</br>
  40190. <br> - 2'b01: 1 packet</br>
  40191. <br> - 2'b10: 2 packets</br>
  40192. <br> - 2'b11: 3 packets</br>
  40193. </comment>
  40194. </bits>
  40195. </reg>
  40196. <reg name="doepdma4" protect="rw">
  40197. <comment>Device OUT Endpoint 4 DMA Address Register</comment>
  40198. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  40199. <comment>
  40200. <br>Holds the start address of the external memory for storing or fetching endpoint</br>
  40201. <br>data.</br>
  40202. <br/>
  40203. <br>Note: For control endpoints, this field stores control OUT data packets as well as</br>
  40204. <br>SETUP transaction data packets. When more than three SETUP packets are</br>
  40205. <br>received back-to-back, the SETUP data packet in the memory is overwritten.</br>
  40206. <br/>
  40207. <br>This register is incremented on every AHB transaction. The application can give</br>
  40208. <br>only a DWORD-aligned address.</br>
  40209. <br> - When Scatter/Gather DMA mode is not enabled, the application programs the start address value in this field.</br>
  40210. <br> - When Scatter/Gather DMA mode is enabled, this field indicates the base pointer for the descriptor list.</br>
  40211. </comment>
  40212. </bits>
  40213. </reg>
  40214. <hole size="32"/>
  40215. <reg name="doepdmab4" protect="r">
  40216. <comment>Device OUT Endpoint 4 Buffer Address Register</comment>
  40217. <bits access="r" name="dmabufferaddr" pos="31:0" rst="0">
  40218. <comment>
  40219. <br>Holds the current buffer address.This register is updated as and when the data</br>
  40220. <br>transfer for the corresponding end point is in progress.</br>
  40221. <br/>
  40222. <br>This register is present only in Scatter/Gather DMA mode. Otherwise this field is reserved.</br>
  40223. </comment>
  40224. </bits>
  40225. </reg>
  40226. <reg name="doepctl5" protect="rw">
  40227. <comment>Device Control OUT Endpoint 5 Control Register</comment>
  40228. <bits access="rw" name="mps" pos="10:0" rst="0">
  40229. <comment>
  40230. <br>Maximum Packet Size (MPS)</br>
  40231. <br/>
  40232. <br>The application must program this field with the maximum packet size for the current</br>
  40233. <br>logical endpoint. This value is in bytes.</br>
  40234. </comment>
  40235. </bits>
  40236. <bits access="rw" name="usbactep" pos="15" rst="0">
  40237. <comment>
  40238. <br>USB Active Endpoint (USBActEP)</br>
  40239. <br/>
  40240. <br>Indicates whether this endpoint is active in the current configuration and interface. The</br>
  40241. <br>core clears this bit for all endpoints (other than EP 0) after detecting a USB reset. After</br>
  40242. <br>receiving the SetConfiguration and SetInterface commands, the application must</br>
  40243. <br>program endpoint registers accordingly and set this bit.</br>
  40244. </comment>
  40245. </bits>
  40246. <bits access="r" name="dpid" pos="16" rst="0">
  40247. <comment>
  40248. <br>Endpoint Data PID (DPID)</br>
  40249. <br/>
  40250. <br>Applies to interrupt/bulk IN and OUT endpoints only.</br>
  40251. <br/>
  40252. <br>Contains the PID of the packet to be received or transmitted on this endpoint. The</br>
  40253. <br>application must program the PID of the first packet to be received or transmitted on</br>
  40254. <br>this endpoint, after the endpoint is activated. The applications use the SetD1PID and</br>
  40255. <br>SetD0PID fields of this register to program either DATA0 or DATA1 PID.</br>
  40256. <br> - 1'b0: DATA0</br>
  40257. <br> - 1'b1: DATA1</br>
  40258. <br>This field is applicable for both Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  40259. <br/>
  40260. <br>Reset: 1'b0</br>
  40261. <br/>
  40262. <br>Even/Odd (Micro)Frame (EO_FrNum)</br>
  40263. <br/>
  40264. <br>In non-Scatter/Gather DMA mode:</br>
  40265. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  40266. <br> - Indicates the (micro)frame number in which the core transmits/receives isochronous data for this endpoint. The application must program the even/odd (micro)frame number in which it intends to transmit/receive isochronous data for this endpoint using the SetEvnFr and SetOddFr fields in this register.</br>
  40267. <br> -- 1'b0: Even (micro)frame</br>
  40268. <br> -- 1'b1: Odd (micro)frame</br>
  40269. <br> - When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is provided in the transmit descriptor structure. The frame in which data is received is updated in receive descriptor structure.</br>
  40270. <br>Reset: 1'b0</br>
  40271. </comment>
  40272. </bits>
  40273. <bits access="r" name="naksts" pos="17" rst="0">
  40274. <comment>
  40275. <br>NAK Status (NAKSts)</br>
  40276. <br/>
  40277. <br>Indicates the following:</br>
  40278. <br> - 1'b0: The core is transmitting non-NAK handshakes based on the FIFO status.</br>
  40279. <br> - 1'b1: The core is transmitting NAK handshakes on this endpoint.</br>
  40280. <br>When either the application or the core sets this bit:</br>
  40281. <br> - The core stops receiving any data on an OUT endpoint, even if there is space in the RxFIFO to accommodate the incoming packet.</br>
  40282. <br> - For non-isochronous IN endpoints: The core stops transmitting any data on an IN endpoint, even if there data is available in the TxFIFO.</br>
  40283. <br> - For isochronous IN endpoints: The core sends out a zero-length data packet, even if there data is available in the TxFIFO.</br>
  40284. <br>Irrespective of this bit's setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  40285. </comment>
  40286. </bits>
  40287. <bits access="rw" name="eptype" pos="19:18" rst="0">
  40288. <comment>
  40289. <br>Endpoint Type (EPType)</br>
  40290. <br/>
  40291. <br>This is the transfer type supported by this logical endpoint.</br>
  40292. <br> - 2'b00: Control</br>
  40293. <br> - 2'b01: Isochronous</br>
  40294. <br> - 2'b10: Bulk</br>
  40295. <br> - 2'b11: Interrupt</br>
  40296. </comment>
  40297. </bits>
  40298. <bits access="rw" name="snp" pos="20" rst="0">
  40299. <comment>
  40300. <br>RESERVED</br>
  40301. </comment>
  40302. </bits>
  40303. <bits access="rw" name="stall" pos="21" rst="0">
  40304. <comment>
  40305. <br>STALL Handshake (Stall)</br>
  40306. <br/>
  40307. <br>Applies to non-control, non-isochronous IN and OUT endpoints only.</br>
  40308. <br/>
  40309. <br>The application sets this bit to stall all tokens from the USB host to this endpoint. If a</br>
  40310. <br>NAK bit, Global Non-periodic IN NAK, or Global OUT NAK is set along with this bit, the</br>
  40311. <br>STALL bit takes priority. Only the application can clear this bit, never the core.</br>
  40312. <br/>
  40313. <br>Applies to control endpoints only.</br>
  40314. <br/>
  40315. <br>The application can only set this bit, and the core clears it, when a SETUP token is</br>
  40316. <br>received for this endpoint. If a NAK bit, Global Non-periodic IN NAK, or Global OUT</br>
  40317. <br>NAK is set along with this bit, the STALL bit takes priority. Irrespective of this bit's</br>
  40318. <br>setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  40319. <br/>
  40320. </comment>
  40321. </bits>
  40322. <bits access="w" name="cnak" pos="26" rst="0">
  40323. <comment>
  40324. <br/>
  40325. <br>Clear NAK (CNAK)</br>
  40326. <br>A write to this bit clears the NAK bit for the endpoint.</br>
  40327. </comment>
  40328. </bits>
  40329. <bits access="w" name="snak" pos="27" rst="0">
  40330. <comment>
  40331. <br>Set NAK (SNAK)</br>
  40332. <br/>
  40333. <br>A write to this bit sets the NAK bit for the endpoint.</br>
  40334. <br/>
  40335. <br>Using this bit, the application can control the transmission of NAK</br>
  40336. <br>handshakes on an endpoint. The core can also set this bit for an</br>
  40337. <br>endpoint after a SETUP packet is received on that endpoint.</br>
  40338. </comment>
  40339. </bits>
  40340. <bits access="w" name="setd0pid" pos="28" rst="0">
  40341. <comment>
  40342. <br>Set DATA0 PID (SetD0PID)</br>
  40343. <br> - Applies to interrupt/bulk IN and OUT endpoints only.</br>
  40344. <br> - Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA0.</br>
  40345. <br> - This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  40346. <br>Reset: 1'b0</br>
  40347. <br/>
  40348. <br>In non-Scatter/Gather DMA mode: Set Even (micro)frame (SetEvenFr)</br>
  40349. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  40350. <br> - Writing to this field sets the Even/Odd (micro)frame (EO_FrNum) field to even (micro)frame.</br>
  40351. <br> - When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is in the transmit descriptor structure. The frame in which to receive data is updated in receive descriptor structure.</br>
  40352. <br>Reset: 1'b0</br>
  40353. </comment>
  40354. </bits>
  40355. <bits access="w" name="setd1pid" pos="29" rst="0">
  40356. <comment>
  40357. <br>Set DATA1 PID (SetD1PID)</br>
  40358. <br> - Applies to interrupt and bulk IN and OUT endpoints only.</br>
  40359. <br> - Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA1.</br>
  40360. <br> - This field is applicable both for scatter-gather DMA mode and non scatter-gather DMA mode.</br>
  40361. <br>Reset: 1'b0</br>
  40362. <br/>
  40363. <br>Set Odd (micro)frame (SetOddFr)</br>
  40364. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  40365. <br> - Writing to this field sets the even and odd (micro)frame (EO_FrNum) field to odd (micro)frame.</br>
  40366. <br>Reset: 1'b0</br>
  40367. </comment>
  40368. </bits>
  40369. <bits access="rw" name="epdis" pos="30" rst="0">
  40370. <comment>
  40371. <br>Endpoint Disable (EPDis)</br>
  40372. <br/>
  40373. <br>Applies to IN and OUT endpoints.</br>
  40374. <br/>
  40375. <br>The application sets this bit to stop transmitting/receiving data on an endpoint, even</br>
  40376. <br>before the transfer for that endpoint is complete. The application must wait for the</br>
  40377. <br>Endpoint Disabled interrupt before treating the endpoint as disabled. The core clears</br>
  40378. <br>this bit before setting the Endpoint Disabled interrupt. The application must set this bit</br>
  40379. <br>only if Endpoint Enable is already set for this endpoint.</br>
  40380. </comment>
  40381. </bits>
  40382. <bits access="rw" name="epena" pos="31" rst="0">
  40383. <comment>
  40384. <br>Endpoint Enable (EPEna)</br>
  40385. <br/>
  40386. <br>Applies to IN and OUT endpoints.</br>
  40387. <br/>
  40388. <br>When Scatter/Gather DMA mode is enabled,</br>
  40389. <br> - For IN endpoints this bit indicates that the descriptor structure and data buffer with data ready to transmit is setup.</br>
  40390. <br> - For OUT endpoint it indicates that the descriptor structure and data buffer to receive data is setup.</br>
  40391. <br>When Scatter/Gather DMA mode is enabled such as for buffer-pointer based DMA mode:</br>
  40392. <br> - For IN endpoints, this bit indicates that data is ready to be transmitted on the endpoint.</br>
  40393. <br> - For OUT endpoints, this bit indicates that the application has allocated the memory to start receiving data from the USB.</br>
  40394. <br>The core clears this bit before setting any of the following interrupts on this endpoint:</br>
  40395. <br> - SETUP Phase Done</br>
  40396. <br> - Endpoint Disabled</br>
  40397. <br> - Transfer Completed</br>
  40398. <br>Note: For control endpoints in DMA mode, this bit must be set to be able to transfer SETUP data packets in memory.</br>
  40399. </comment>
  40400. </bits>
  40401. </reg>
  40402. <hole size="32"/>
  40403. <reg name="doepint5" protect="rw">
  40404. <comment>Device OUT Endpoint 5 Interrupt Register</comment>
  40405. <bits access="rw" name="xfercompl" pos="0" rst="0">
  40406. <comment>
  40407. <br>Transfer Completed Interrupt (XferCompl)</br>
  40408. <br/>
  40409. <br>Applies to IN and OUT endpoints.</br>
  40410. <br> - When Scatter/Gather DMA mode is enabled</br>
  40411. <br> -- For IN endpoint this field indicates that the requested data from the descriptor is moved from external system memory to internal FIFO.</br>
  40412. <br> -- For OUT endpoint this field indicates that the requested data from the internal FIFO is moved to external system memory. This interrupt is generated only when the corresponding endpoint descriptor is closed, and the IOC bit for the corresponding descriptor is Set.</br>
  40413. <br> - When Scatter/Gather DMA mode is disabled, this field indicates that the programmed transfer is complete on the AHB as well as on the USB, for this endpoint.</br>
  40414. </comment>
  40415. </bits>
  40416. <bits access="rw" name="epdisbld" pos="1" rst="0">
  40417. <comment>
  40418. <br>Endpoint Disabled Interrupt (EPDisbld)</br>
  40419. <br/>
  40420. <br>Applies to IN and OUT endpoints.</br>
  40421. <br/>
  40422. <br>This bit indicates that the endpoint is disabled per the application's request.</br>
  40423. </comment>
  40424. </bits>
  40425. <bits access="rw" name="ahberr" pos="2" rst="0">
  40426. <comment>
  40427. <br>AHB Error (AHBErr)</br>
  40428. <br/>
  40429. <br>Applies to IN and OUT endpoints.</br>
  40430. <br/>
  40431. <br>This is generated only in Internal DMA mode when there is an</br>
  40432. <br>AHB error during an AHB read/write. The application can read</br>
  40433. <br>the corresponding endpoint DMA address register to get the</br>
  40434. <br>error address.</br>
  40435. </comment>
  40436. </bits>
  40437. <bits access="rw" name="setup" pos="3" rst="0">
  40438. <comment>
  40439. <br>SETUP Phase Done (SetUp)</br>
  40440. <br/>
  40441. <br>Applies to control OUT endpoints only.</br>
  40442. <br/>
  40443. <br>Indicates that the SETUP phase for the control endpoint is</br>
  40444. <br>complete and no more back-to-back SETUP packets were</br>
  40445. <br>received for the current control transfer. On this interrupt, the</br>
  40446. <br>application can decode the received SETUP data packet.</br>
  40447. </comment>
  40448. </bits>
  40449. <bits access="rw" name="outtknepdis" pos="4" rst="0">
  40450. <comment>
  40451. <br>OUT Token Received When Endpoint Disabled (OUTTknEPdis)</br>
  40452. <br/>
  40453. <br>Applies only to control OUT endpoints.</br>
  40454. <br/>
  40455. <br>Indicates that an OUT token was received when the endpoint was not yet enabled. This interrupt is asserted on the endpoint for which the OUT token was received.</br>
  40456. </comment>
  40457. </bits>
  40458. <bits access="rw" name="stsphsercvd" pos="5" rst="0">
  40459. <comment>
  40460. <br>Status Phase Received for Control Write (StsPhseRcvd)</br>
  40461. <br/>
  40462. <br>This interrupt is valid only for Control OUT endpoints and only in</br>
  40463. <br>Scatter Gather DMA mode.</br>
  40464. <br/>
  40465. <br>This interrupt is generated only after the core has transferred all</br>
  40466. <br>the data that the host has sent during the data phase of a control</br>
  40467. <br>write transfer, to the system memory buffer.</br>
  40468. <br/>
  40469. <br>The interrupt indicates to the application that the host has</br>
  40470. <br>switched from data phase to the status phase of a Control Write</br>
  40471. <br>transfer. The application can use this interrupt to ACK or STALL</br>
  40472. <br>the Status phase, after it has decoded the data phase. This is</br>
  40473. <br>applicable only in Case of Scatter Gather DMA mode.</br>
  40474. </comment>
  40475. </bits>
  40476. <bits access="rw" name="back2backsetup" pos="6" rst="0">
  40477. <comment>
  40478. <br>Back-to-Back SETUP Packets Received (Back2BackSETup)</br>
  40479. <br/>
  40480. <br>Applies to Control OUT endpoints only.</br>
  40481. <br/>
  40482. <br>This bit indicates that the core has received more than three</br>
  40483. <br>back-to-back SETUP packets for this particular endpoint. For</br>
  40484. <br>information about handling this interrupt,</br>
  40485. </comment>
  40486. </bits>
  40487. <bits access="rw" name="outpkterr" pos="8" rst="0">
  40488. <comment>
  40489. <br>OUT Packet Error (OutPktErr)</br>
  40490. <br/>
  40491. <br>Applies to OUT endpoints Only</br>
  40492. <br/>
  40493. <br>This interrupt is valid only when thresholding is enabled. This interrupt is asserted when the</br>
  40494. <br>core detects an overflow or a CRC error for non-Isochronous OUT packet.</br>
  40495. </comment>
  40496. </bits>
  40497. <bits access="rw" name="bnaintr" pos="9" rst="0">
  40498. <comment>
  40499. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  40500. <br/>
  40501. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  40502. <br/>
  40503. <br>The core generates this interrupt when the descriptor accessed</br>
  40504. <br>is not ready for the Core to process, such as Host busy or DMA</br>
  40505. <br>done</br>
  40506. </comment>
  40507. </bits>
  40508. <bits access="rw" name="pktdrpsts" pos="11" rst="0">
  40509. <comment>
  40510. <br>Packet Drop Status (PktDrpSts)</br>
  40511. <br/>
  40512. <br>This bit indicates to the application that an ISOC OUT packet has been dropped. This</br>
  40513. <br>bit does not have an associated mask bit and does not generate an interrupt.</br>
  40514. <br/>
  40515. <br>Dependency: This bit is valid in non Scatter/Gather DMA mode when periodic transfer</br>
  40516. <br>interrupt feature is selected.</br>
  40517. </comment>
  40518. </bits>
  40519. <bits access="rw" name="bbleerr" pos="12" rst="0">
  40520. <comment>
  40521. <br>NAK Interrupt (BbleErr)</br>
  40522. <br/>
  40523. <br>The core generates this interrupt when babble is received for the endpoint.</br>
  40524. </comment>
  40525. </bits>
  40526. <bits access="rw" name="nakintrpt" pos="13" rst="0">
  40527. <comment>
  40528. <br>NAK Interrupt (NAKInterrupt)</br>
  40529. <br/>
  40530. <br>The core generates this interrupt when a NAK is transmitted or received by the device.</br>
  40531. <br/>
  40532. <br>In case of isochronous IN endpoints the interrupt gets generated when a zero length</br>
  40533. <br>packet is transmitted due to un-availability of data in the TXFifo.</br>
  40534. </comment>
  40535. </bits>
  40536. <bits access="rw" name="nyetintrpt" pos="14" rst="0">
  40537. <comment>
  40538. <br>NYET Interrupt (NYETIntrpt)</br>
  40539. <br/>
  40540. <br>The core generates this interrupt when a NYET response is transmitted for a non isochronous OUT endpoint.</br>
  40541. </comment>
  40542. </bits>
  40543. <bits access="rw" name="stuppktrcvd" pos="15" rst="0">
  40544. <comment>
  40545. <br>Setup Packet Received</br>
  40546. <br/>
  40547. <br>Applicable for Control OUT Endpoints in only in the Buffer DMA Mode</br>
  40548. <br/>
  40549. <br>Set by the controller, this bit indicates that this buffer holds 8 bytes of</br>
  40550. <br>setup data. There is only one Setup packet per buffer. On receiving a</br>
  40551. <br>Setup packet, the controller closes the buffer and disables the</br>
  40552. <br>corresponding endpoint. The application has to re-enable the endpoint to</br>
  40553. <br>receive any OUT data for the Control Transfer and reprogram the buffer</br>
  40554. <br>start address.</br>
  40555. <br/>
  40556. <br>Note: Because of the above behavior, the controller can receive any</br>
  40557. <br>number of back to back setup packets and one buffer for every setup</br>
  40558. <br>packet is used.</br>
  40559. <br> - 1'b0: No Setup packet received</br>
  40560. <br> - 1'b1: Setup packet received</br>
  40561. <br>Reset: 1'b0</br>
  40562. </comment>
  40563. </bits>
  40564. </reg>
  40565. <hole size="32"/>
  40566. <reg name="doeptsiz5" protect="rw">
  40567. <comment>Device OUT Endpoint 5 Transfer Size Register</comment>
  40568. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  40569. <comment>
  40570. <br>Transfer Size (XferSize)</br>
  40571. <br/>
  40572. <br>Indicates the transfer size in bytes for endpoint 0. The core</br>
  40573. <br>interrupts the application only after it has exhausted the transfer</br>
  40574. <br>size amount of data. The transfer size can be Set to the</br>
  40575. <br>maximum packet size of the endpoint, to be interrupted at the</br>
  40576. <br>end of each packet.</br>
  40577. <br/>
  40578. <br>The core decrements this field every time a packet is read from</br>
  40579. <br>the RxFIFO and written to the external memory.</br>
  40580. </comment>
  40581. </bits>
  40582. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  40583. <comment>
  40584. <br>Packet Count (PktCnt)</br>
  40585. <br>This field is decremented to zero after a packet is written into the RxFIFO.</br>
  40586. </comment>
  40587. </bits>
  40588. <bits access="r" name="rxdpid" pos="30:29" rst="0">
  40589. <comment>
  40590. <br>RxDPID</br>
  40591. <br/>
  40592. <br>Applies to isochronous OUT endpoints only.</br>
  40593. <br/>
  40594. <br>This is the data PID received in the last packet for this endpoint.</br>
  40595. <br> - 2'b00: DATA0</br>
  40596. <br> - 2'b01: DATA2</br>
  40597. <br> - 2'b10: DATA1</br>
  40598. <br> - 2'b11: MDATA</br>
  40599. <br>SETUP Packet Count (SUPCnt)</br>
  40600. <br/>
  40601. <br>Applies to control OUT Endpoints only.</br>
  40602. <br/>
  40603. <br>This field specifies the number of back-to-back SETUP data</br>
  40604. <br>packets the endpoint can receive.</br>
  40605. <br> - 2'b01: 1 packet</br>
  40606. <br> - 2'b10: 2 packets</br>
  40607. <br> - 2'b11: 3 packets</br>
  40608. </comment>
  40609. </bits>
  40610. </reg>
  40611. <reg name="doepdma5" protect="rw">
  40612. <comment>Device OUT Endpoint 5 DMA Address Register</comment>
  40613. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  40614. <comment>
  40615. <br>Holds the start address of the external memory for storing or fetching endpoint</br>
  40616. <br>data.</br>
  40617. <br/>
  40618. <br>Note: For control endpoints, this field stores control OUT data packets as well as</br>
  40619. <br>SETUP transaction data packets. When more than three SETUP packets are</br>
  40620. <br>received back-to-back, the SETUP data packet in the memory is overwritten.</br>
  40621. <br/>
  40622. <br>This register is incremented on every AHB transaction. The application can give</br>
  40623. <br>only a DWORD-aligned address.</br>
  40624. <br> - When Scatter/Gather DMA mode is not enabled, the application programs the start address value in this field.</br>
  40625. <br> - When Scatter/Gather DMA mode is enabled, this field indicates the base pointer for the descriptor list.</br>
  40626. </comment>
  40627. </bits>
  40628. </reg>
  40629. <hole size="32"/>
  40630. <reg name="doepdmab5" protect="r">
  40631. <comment>Device OUT Endpoint 5 Buffer Address Register</comment>
  40632. <bits access="r" name="dmabufferaddr" pos="31:0" rst="0">
  40633. <comment>
  40634. <br>Holds the current buffer address.This register is updated as and when the data</br>
  40635. <br>transfer for the corresponding end point is in progress.</br>
  40636. <br/>
  40637. <br>This register is present only in Scatter/Gather DMA mode. Otherwise this field is reserved.</br>
  40638. </comment>
  40639. </bits>
  40640. </reg>
  40641. <reg name="doepctl6" protect="rw">
  40642. <comment>Device Control OUT Endpoint 6 Control Register</comment>
  40643. <bits access="rw" name="mps" pos="10:0" rst="0">
  40644. <comment>
  40645. <br>Maximum Packet Size (MPS)</br>
  40646. <br/>
  40647. <br>The application must program this field with the maximum packet size for the current</br>
  40648. <br>logical endpoint. This value is in bytes.</br>
  40649. </comment>
  40650. </bits>
  40651. <bits access="rw" name="usbactep" pos="15" rst="0">
  40652. <comment>
  40653. <br>USB Active Endpoint (USBActEP)</br>
  40654. <br/>
  40655. <br>Indicates whether this endpoint is active in the current configuration and interface. The</br>
  40656. <br>core clears this bit for all endpoints (other than EP 0) after detecting a USB reset. After</br>
  40657. <br>receiving the SetConfiguration and SetInterface commands, the application must</br>
  40658. <br>program endpoint registers accordingly and set this bit.</br>
  40659. </comment>
  40660. </bits>
  40661. <bits access="r" name="dpid" pos="16" rst="0">
  40662. <comment>
  40663. <br>Endpoint Data PID (DPID)</br>
  40664. <br/>
  40665. <br>Applies to interrupt/bulk IN and OUT endpoints only.</br>
  40666. <br/>
  40667. <br>Contains the PID of the packet to be received or transmitted on this endpoint. The</br>
  40668. <br>application must program the PID of the first packet to be received or transmitted on</br>
  40669. <br>this endpoint, after the endpoint is activated. The applications use the SetD1PID and</br>
  40670. <br>SetD0PID fields of this register to program either DATA0 or DATA1 PID.</br>
  40671. <br> - 1'b0: DATA0</br>
  40672. <br> - 1'b1: DATA1</br>
  40673. <br>This field is applicable for both Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  40674. <br/>
  40675. <br>Reset: 1'b0</br>
  40676. <br/>
  40677. <br>Even/Odd (Micro)Frame (EO_FrNum)</br>
  40678. <br/>
  40679. <br>In non-Scatter/Gather DMA mode:</br>
  40680. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  40681. <br> - Indicates the (micro)frame number in which the core transmits/receives isochronous data for this endpoint. The application must program the even/odd (micro)frame number in which it intends to transmit/receive isochronous data for this endpoint using the SetEvnFr and SetOddFr fields in this register.</br>
  40682. <br> -- 1'b0: Even (micro)frame</br>
  40683. <br> -- 1'b1: Odd (micro)frame</br>
  40684. <br> - When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is provided in the transmit descriptor structure. The frame in which data is received is updated in receive descriptor structure.</br>
  40685. <br>Reset: 1'b0</br>
  40686. </comment>
  40687. </bits>
  40688. <bits access="r" name="naksts" pos="17" rst="0">
  40689. <comment>
  40690. <br>NAK Status (NAKSts)</br>
  40691. <br/>
  40692. <br>Indicates the following:</br>
  40693. <br> - 1'b0: The core is transmitting non-NAK handshakes based on the FIFO status.</br>
  40694. <br> - 1'b1: The core is transmitting NAK handshakes on this endpoint.</br>
  40695. <br>When either the application or the core sets this bit:</br>
  40696. <br> - The core stops receiving any data on an OUT endpoint, even if there is space in the RxFIFO to accommodate the incoming packet.</br>
  40697. <br> - For non-isochronous IN endpoints: The core stops transmitting any data on an IN endpoint, even if there data is available in the TxFIFO.</br>
  40698. <br> - For isochronous IN endpoints: The core sends out a zero-length data packet, even if there data is available in the TxFIFO.</br>
  40699. <br>Irrespective of this bit's setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  40700. </comment>
  40701. </bits>
  40702. <bits access="rw" name="eptype" pos="19:18" rst="0">
  40703. <comment>
  40704. <br>Endpoint Type (EPType)</br>
  40705. <br/>
  40706. <br>This is the transfer type supported by this logical endpoint.</br>
  40707. <br> - 2'b00: Control</br>
  40708. <br> - 2'b01: Isochronous</br>
  40709. <br> - 2'b10: Bulk</br>
  40710. <br> - 2'b11: Interrupt</br>
  40711. </comment>
  40712. </bits>
  40713. <bits access="rw" name="snp" pos="20" rst="0">
  40714. <comment>
  40715. <br>RESERVED</br>
  40716. </comment>
  40717. </bits>
  40718. <bits access="rw" name="stall" pos="21" rst="0">
  40719. <comment>
  40720. <br>STALL Handshake (Stall)</br>
  40721. <br/>
  40722. <br>Applies to non-control, non-isochronous IN and OUT endpoints only.</br>
  40723. <br/>
  40724. <br>The application sets this bit to stall all tokens from the USB host to this endpoint. If a</br>
  40725. <br>NAK bit, Global Non-periodic IN NAK, or Global OUT NAK is set along with this bit, the</br>
  40726. <br>STALL bit takes priority. Only the application can clear this bit, never the core.</br>
  40727. <br/>
  40728. <br>Applies to control endpoints only.</br>
  40729. <br/>
  40730. <br>The application can only set this bit, and the core clears it, when a SETUP token is</br>
  40731. <br>received for this endpoint. If a NAK bit, Global Non-periodic IN NAK, or Global OUT</br>
  40732. <br>NAK is set along with this bit, the STALL bit takes priority. Irrespective of this bit's</br>
  40733. <br>setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  40734. <br/>
  40735. </comment>
  40736. </bits>
  40737. <bits access="w" name="cnak" pos="26" rst="0">
  40738. <comment>
  40739. <br/>
  40740. <br>Clear NAK (CNAK)</br>
  40741. <br>A write to this bit clears the NAK bit for the endpoint.</br>
  40742. </comment>
  40743. </bits>
  40744. <bits access="w" name="snak" pos="27" rst="0">
  40745. <comment>
  40746. <br>Set NAK (SNAK)</br>
  40747. <br/>
  40748. <br>A write to this bit sets the NAK bit for the endpoint.</br>
  40749. <br/>
  40750. <br>Using this bit, the application can control the transmission of NAK</br>
  40751. <br>handshakes on an endpoint. The core can also set this bit for an</br>
  40752. <br>endpoint after a SETUP packet is received on that endpoint.</br>
  40753. </comment>
  40754. </bits>
  40755. <bits access="w" name="setd0pid" pos="28" rst="0">
  40756. <comment>
  40757. <br>Set DATA0 PID (SetD0PID)</br>
  40758. <br> - Applies to interrupt/bulk IN and OUT endpoints only.</br>
  40759. <br> - Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA0.</br>
  40760. <br> - This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  40761. <br>Reset: 1'b0</br>
  40762. <br/>
  40763. <br>In non-Scatter/Gather DMA mode: Set Even (micro)frame (SetEvenFr)</br>
  40764. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  40765. <br> - Writing to this field sets the Even/Odd (micro)frame (EO_FrNum) field to even (micro)frame.</br>
  40766. <br> - When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is in the transmit descriptor structure. The frame in which to receive data is updated in receive descriptor structure.</br>
  40767. <br>Reset: 1'b0</br>
  40768. </comment>
  40769. </bits>
  40770. <bits access="w" name="setd1pid" pos="29" rst="0">
  40771. <comment>
  40772. <br>Set DATA1 PID (SetD1PID)</br>
  40773. <br> - Applies to interrupt and bulk IN and OUT endpoints only.</br>
  40774. <br> - Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA1.</br>
  40775. <br> - This field is applicable both for scatter-gather DMA mode and non scatter-gather DMA mode.</br>
  40776. <br>Reset: 1'b0</br>
  40777. <br/>
  40778. <br>Set Odd (micro)frame (SetOddFr)</br>
  40779. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  40780. <br> - Writing to this field sets the even and odd (micro)frame (EO_FrNum) field to odd (micro)frame.</br>
  40781. <br>Reset: 1'b0</br>
  40782. </comment>
  40783. </bits>
  40784. <bits access="rw" name="epdis" pos="30" rst="0">
  40785. <comment>
  40786. <br>Endpoint Disable (EPDis)</br>
  40787. <br/>
  40788. <br>Applies to IN and OUT endpoints.</br>
  40789. <br/>
  40790. <br>The application sets this bit to stop transmitting/receiving data on an endpoint, even</br>
  40791. <br>before the transfer for that endpoint is complete. The application must wait for the</br>
  40792. <br>Endpoint Disabled interrupt before treating the endpoint as disabled. The core clears</br>
  40793. <br>this bit before setting the Endpoint Disabled interrupt. The application must set this bit</br>
  40794. <br>only if Endpoint Enable is already set for this endpoint.</br>
  40795. </comment>
  40796. </bits>
  40797. <bits access="rw" name="epena" pos="31" rst="0">
  40798. <comment>
  40799. <br>Endpoint Enable (EPEna)</br>
  40800. <br/>
  40801. <br>Applies to IN and OUT endpoints.</br>
  40802. <br/>
  40803. <br>When Scatter/Gather DMA mode is enabled,</br>
  40804. <br> - For IN endpoints this bit indicates that the descriptor structure and data buffer with data ready to transmit is setup.</br>
  40805. <br> - For OUT endpoint it indicates that the descriptor structure and data buffer to receive data is setup.</br>
  40806. <br>When Scatter/Gather DMA mode is enabled such as for buffer-pointer based DMA mode:</br>
  40807. <br> - For IN endpoints, this bit indicates that data is ready to be transmitted on the endpoint.</br>
  40808. <br> - For OUT endpoints, this bit indicates that the application has allocated the memory to start receiving data from the USB.</br>
  40809. <br>The core clears this bit before setting any of the following interrupts on this endpoint:</br>
  40810. <br> - SETUP Phase Done</br>
  40811. <br> - Endpoint Disabled</br>
  40812. <br> - Transfer Completed</br>
  40813. <br>Note: For control endpoints in DMA mode, this bit must be set to be able to transfer SETUP data packets in memory.</br>
  40814. </comment>
  40815. </bits>
  40816. </reg>
  40817. <hole size="32"/>
  40818. <reg name="doepint6" protect="rw">
  40819. <comment>Device OUT Endpoint 6 Interrupt Register</comment>
  40820. <bits access="rw" name="xfercompl" pos="0" rst="0">
  40821. <comment>
  40822. <br>Transfer Completed Interrupt (XferCompl)</br>
  40823. <br/>
  40824. <br>Applies to IN and OUT endpoints.</br>
  40825. <br> - When Scatter/Gather DMA mode is enabled</br>
  40826. <br> -- For IN endpoint this field indicates that the requested data from the descriptor is moved from external system memory to internal FIFO.</br>
  40827. <br> -- For OUT endpoint this field indicates that the requested data from the internal FIFO is moved to external system memory. This interrupt is generated only when the corresponding endpoint descriptor is closed, and the IOC bit for the corresponding descriptor is Set.</br>
  40828. <br> - When Scatter/Gather DMA mode is disabled, this field indicates that the programmed transfer is complete on the AHB as well as on the USB, for this endpoint.</br>
  40829. </comment>
  40830. </bits>
  40831. <bits access="rw" name="epdisbld" pos="1" rst="0">
  40832. <comment>
  40833. <br>Endpoint Disabled Interrupt (EPDisbld)</br>
  40834. <br/>
  40835. <br>Applies to IN and OUT endpoints.</br>
  40836. <br/>
  40837. <br>This bit indicates that the endpoint is disabled per the application's request.</br>
  40838. </comment>
  40839. </bits>
  40840. <bits access="rw" name="ahberr" pos="2" rst="0">
  40841. <comment>
  40842. <br>AHB Error (AHBErr)</br>
  40843. <br/>
  40844. <br>Applies to IN and OUT endpoints.</br>
  40845. <br/>
  40846. <br>This is generated only in Internal DMA mode when there is an</br>
  40847. <br>AHB error during an AHB read/write. The application can read</br>
  40848. <br>the corresponding endpoint DMA address register to get the</br>
  40849. <br>error address.</br>
  40850. </comment>
  40851. </bits>
  40852. <bits access="rw" name="setup" pos="3" rst="0">
  40853. <comment>
  40854. <br>SETUP Phase Done (SetUp)</br>
  40855. <br/>
  40856. <br>Applies to control OUT endpoints only.</br>
  40857. <br/>
  40858. <br>Indicates that the SETUP phase for the control endpoint is</br>
  40859. <br>complete and no more back-to-back SETUP packets were</br>
  40860. <br>received for the current control transfer. On this interrupt, the</br>
  40861. <br>application can decode the received SETUP data packet.</br>
  40862. </comment>
  40863. </bits>
  40864. <bits access="rw" name="outtknepdis" pos="4" rst="0">
  40865. <comment>
  40866. <br>OUT Token Received When Endpoint Disabled (OUTTknEPdis)</br>
  40867. <br/>
  40868. <br>Applies only to control OUT endpoints.</br>
  40869. <br/>
  40870. <br>Indicates that an OUT token was received when the endpoint was not yet enabled. This interrupt is asserted on the endpoint for which the OUT token was received.</br>
  40871. </comment>
  40872. </bits>
  40873. <bits access="rw" name="stsphsercvd" pos="5" rst="0">
  40874. <comment>
  40875. <br>Status Phase Received for Control Write (StsPhseRcvd)</br>
  40876. <br/>
  40877. <br>This interrupt is valid only for Control OUT endpoints and only in</br>
  40878. <br>Scatter Gather DMA mode.</br>
  40879. <br/>
  40880. <br>This interrupt is generated only after the core has transferred all</br>
  40881. <br>the data that the host has sent during the data phase of a control</br>
  40882. <br>write transfer, to the system memory buffer.</br>
  40883. <br/>
  40884. <br>The interrupt indicates to the application that the host has</br>
  40885. <br>switched from data phase to the status phase of a Control Write</br>
  40886. <br>transfer. The application can use this interrupt to ACK or STALL</br>
  40887. <br>the Status phase, after it has decoded the data phase. This is</br>
  40888. <br>applicable only in Case of Scatter Gather DMA mode.</br>
  40889. </comment>
  40890. </bits>
  40891. <bits access="rw" name="back2backsetup" pos="6" rst="0">
  40892. <comment>
  40893. <br>Back-to-Back SETUP Packets Received (Back2BackSETup)</br>
  40894. <br/>
  40895. <br>Applies to Control OUT endpoints only.</br>
  40896. <br/>
  40897. <br>This bit indicates that the core has received more than three</br>
  40898. <br>back-to-back SETUP packets for this particular endpoint. For</br>
  40899. <br>information about handling this interrupt,</br>
  40900. </comment>
  40901. </bits>
  40902. <bits access="rw" name="outpkterr" pos="8" rst="0">
  40903. <comment>
  40904. <br>OUT Packet Error (OutPktErr)</br>
  40905. <br/>
  40906. <br>Applies to OUT endpoints Only</br>
  40907. <br/>
  40908. <br>This interrupt is valid only when thresholding is enabled. This interrupt is asserted when the</br>
  40909. <br>core detects an overflow or a CRC error for non-Isochronous OUT packet.</br>
  40910. </comment>
  40911. </bits>
  40912. <bits access="rw" name="bnaintr" pos="9" rst="0">
  40913. <comment>
  40914. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  40915. <br/>
  40916. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  40917. <br/>
  40918. <br>The core generates this interrupt when the descriptor accessed</br>
  40919. <br>is not ready for the Core to process, such as Host busy or DMA</br>
  40920. <br>done</br>
  40921. </comment>
  40922. </bits>
  40923. <bits access="rw" name="pktdrpsts" pos="11" rst="0">
  40924. <comment>
  40925. <br>Packet Drop Status (PktDrpSts)</br>
  40926. <br/>
  40927. <br>This bit indicates to the application that an ISOC OUT packet has been dropped. This</br>
  40928. <br>bit does not have an associated mask bit and does not generate an interrupt.</br>
  40929. <br/>
  40930. <br>Dependency: This bit is valid in non Scatter/Gather DMA mode when periodic transfer</br>
  40931. <br>interrupt feature is selected.</br>
  40932. </comment>
  40933. </bits>
  40934. <bits access="rw" name="bbleerr" pos="12" rst="0">
  40935. <comment>
  40936. <br>NAK Interrupt (BbleErr)</br>
  40937. <br/>
  40938. <br>The core generates this interrupt when babble is received for the endpoint.</br>
  40939. </comment>
  40940. </bits>
  40941. <bits access="rw" name="nakintrpt" pos="13" rst="0">
  40942. <comment>
  40943. <br>NAK Interrupt (NAKInterrupt)</br>
  40944. <br/>
  40945. <br>The core generates this interrupt when a NAK is transmitted or received by the device.</br>
  40946. <br/>
  40947. <br>In case of isochronous IN endpoints the interrupt gets generated when a zero length</br>
  40948. <br>packet is transmitted due to un-availability of data in the TXFifo.</br>
  40949. </comment>
  40950. </bits>
  40951. <bits access="rw" name="nyetintrpt" pos="14" rst="0">
  40952. <comment>
  40953. <br>NYET Interrupt (NYETIntrpt)</br>
  40954. <br/>
  40955. <br>The core generates this interrupt when a NYET response is transmitted for a non isochronous OUT endpoint.</br>
  40956. </comment>
  40957. </bits>
  40958. <bits access="rw" name="stuppktrcvd" pos="15" rst="0">
  40959. <comment>
  40960. <br>Setup Packet Received</br>
  40961. <br/>
  40962. <br>Applicable for Control OUT Endpoints in only in the Buffer DMA Mode</br>
  40963. <br/>
  40964. <br>Set by the controller, this bit indicates that this buffer holds 8 bytes of</br>
  40965. <br>setup data. There is only one Setup packet per buffer. On receiving a</br>
  40966. <br>Setup packet, the controller closes the buffer and disables the</br>
  40967. <br>corresponding endpoint. The application has to re-enable the endpoint to</br>
  40968. <br>receive any OUT data for the Control Transfer and reprogram the buffer</br>
  40969. <br>start address.</br>
  40970. <br/>
  40971. <br>Note: Because of the above behavior, the controller can receive any</br>
  40972. <br>number of back to back setup packets and one buffer for every setup</br>
  40973. <br>packet is used.</br>
  40974. <br> - 1'b0: No Setup packet received</br>
  40975. <br> - 1'b1: Setup packet received</br>
  40976. <br>Reset: 1'b0</br>
  40977. </comment>
  40978. </bits>
  40979. </reg>
  40980. <hole size="32"/>
  40981. <reg name="doeptsiz6" protect="rw">
  40982. <comment>Device OUT Endpoint 6 Transfer Size Register</comment>
  40983. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  40984. <comment>
  40985. <br>Transfer Size (XferSize)</br>
  40986. <br/>
  40987. <br>Indicates the transfer size in bytes for endpoint 0. The core</br>
  40988. <br>interrupts the application only after it has exhausted the transfer</br>
  40989. <br>size amount of data. The transfer size can be Set to the</br>
  40990. <br>maximum packet size of the endpoint, to be interrupted at the</br>
  40991. <br>end of each packet.</br>
  40992. <br/>
  40993. <br>The core decrements this field every time a packet is read from</br>
  40994. <br>the RxFIFO and written to the external memory.</br>
  40995. </comment>
  40996. </bits>
  40997. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  40998. <comment>
  40999. <br>Packet Count (PktCnt)</br>
  41000. <br>This field is decremented to zero after a packet is written into the RxFIFO.</br>
  41001. </comment>
  41002. </bits>
  41003. <bits access="r" name="rxdpid" pos="30:29" rst="0">
  41004. <comment>
  41005. <br>RxDPID</br>
  41006. <br/>
  41007. <br>Applies to isochronous OUT endpoints only.</br>
  41008. <br/>
  41009. <br>This is the data PID received in the last packet for this endpoint.</br>
  41010. <br> - 2'b00: DATA0</br>
  41011. <br> - 2'b01: DATA2</br>
  41012. <br> - 2'b10: DATA1</br>
  41013. <br> - 2'b11: MDATA</br>
  41014. <br>SETUP Packet Count (SUPCnt)</br>
  41015. <br/>
  41016. <br>Applies to control OUT Endpoints only.</br>
  41017. <br/>
  41018. <br>This field specifies the number of back-to-back SETUP data</br>
  41019. <br>packets the endpoint can receive.</br>
  41020. <br> - 2'b01: 1 packet</br>
  41021. <br> - 2'b10: 2 packets</br>
  41022. <br> - 2'b11: 3 packets</br>
  41023. </comment>
  41024. </bits>
  41025. </reg>
  41026. <reg name="doepdma6" protect="rw">
  41027. <comment>Device OUT Endpoint 6 DMA Address Register</comment>
  41028. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  41029. <comment>
  41030. <br>Holds the start address of the external memory for storing or fetching endpoint</br>
  41031. <br>data.</br>
  41032. <br/>
  41033. <br>Note: For control endpoints, this field stores control OUT data packets as well as</br>
  41034. <br>SETUP transaction data packets. When more than three SETUP packets are</br>
  41035. <br>received back-to-back, the SETUP data packet in the memory is overwritten.</br>
  41036. <br/>
  41037. <br>This register is incremented on every AHB transaction. The application can give</br>
  41038. <br>only a DWORD-aligned address.</br>
  41039. <br> - When Scatter/Gather DMA mode is not enabled, the application programs the start address value in this field.</br>
  41040. <br> - When Scatter/Gather DMA mode is enabled, this field indicates the base pointer for the descriptor list.</br>
  41041. </comment>
  41042. </bits>
  41043. </reg>
  41044. <hole size="32"/>
  41045. <reg name="doepdmab6" protect="r">
  41046. <comment>Device OUT Endpoint 6 Buffer Address Register</comment>
  41047. <bits access="r" name="dmabufferaddr" pos="31:0" rst="0">
  41048. <comment>
  41049. <br>Holds the current buffer address.This register is updated as and when the data</br>
  41050. <br>transfer for the corresponding end point is in progress.</br>
  41051. <br/>
  41052. <br>This register is present only in Scatter/Gather DMA mode. Otherwise this field is reserved.</br>
  41053. </comment>
  41054. </bits>
  41055. </reg>
  41056. <reg name="doepctl7" protect="rw">
  41057. <comment>Device Control OUT Endpoint 7 Control Register</comment>
  41058. <bits access="rw" name="mps" pos="10:0" rst="0">
  41059. <comment>
  41060. <br>Maximum Packet Size (MPS)</br>
  41061. <br/>
  41062. <br>The application must program this field with the maximum packet size for the current</br>
  41063. <br>logical endpoint. This value is in bytes.</br>
  41064. </comment>
  41065. </bits>
  41066. <bits access="rw" name="usbactep" pos="15" rst="0">
  41067. <comment>
  41068. <br>USB Active Endpoint (USBActEP)</br>
  41069. <br/>
  41070. <br>Indicates whether this endpoint is active in the current configuration and interface. The</br>
  41071. <br>core clears this bit for all endpoints (other than EP 0) after detecting a USB reset. After</br>
  41072. <br>receiving the SetConfiguration and SetInterface commands, the application must</br>
  41073. <br>program endpoint registers accordingly and set this bit.</br>
  41074. </comment>
  41075. </bits>
  41076. <bits access="r" name="dpid" pos="16" rst="0">
  41077. <comment>
  41078. <br>Endpoint Data PID (DPID)</br>
  41079. <br/>
  41080. <br>Applies to interrupt/bulk IN and OUT endpoints only.</br>
  41081. <br/>
  41082. <br>Contains the PID of the packet to be received or transmitted on this endpoint. The</br>
  41083. <br>application must program the PID of the first packet to be received or transmitted on</br>
  41084. <br>this endpoint, after the endpoint is activated. The applications use the SetD1PID and</br>
  41085. <br>SetD0PID fields of this register to program either DATA0 or DATA1 PID.</br>
  41086. <br> - 1'b0: DATA0</br>
  41087. <br> - 1'b1: DATA1</br>
  41088. <br>This field is applicable for both Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  41089. <br/>
  41090. <br>Reset: 1'b0</br>
  41091. <br/>
  41092. <br>Even/Odd (Micro)Frame (EO_FrNum)</br>
  41093. <br/>
  41094. <br>In non-Scatter/Gather DMA mode:</br>
  41095. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  41096. <br> - Indicates the (micro)frame number in which the core transmits/receives isochronous data for this endpoint. The application must program the even/odd (micro)frame number in which it intends to transmit/receive isochronous data for this endpoint using the SetEvnFr and SetOddFr fields in this register.</br>
  41097. <br> -- 1'b0: Even (micro)frame</br>
  41098. <br> -- 1'b1: Odd (micro)frame</br>
  41099. <br> - When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is provided in the transmit descriptor structure. The frame in which data is received is updated in receive descriptor structure.</br>
  41100. <br>Reset: 1'b0</br>
  41101. </comment>
  41102. </bits>
  41103. <bits access="r" name="naksts" pos="17" rst="0">
  41104. <comment>
  41105. <br>NAK Status (NAKSts)</br>
  41106. <br/>
  41107. <br>Indicates the following:</br>
  41108. <br> - 1'b0: The core is transmitting non-NAK handshakes based on the FIFO status.</br>
  41109. <br> - 1'b1: The core is transmitting NAK handshakes on this endpoint.</br>
  41110. <br>When either the application or the core sets this bit:</br>
  41111. <br> - The core stops receiving any data on an OUT endpoint, even if there is space in the RxFIFO to accommodate the incoming packet.</br>
  41112. <br> - For non-isochronous IN endpoints: The core stops transmitting any data on an IN endpoint, even if there data is available in the TxFIFO.</br>
  41113. <br> - For isochronous IN endpoints: The core sends out a zero-length data packet, even if there data is available in the TxFIFO.</br>
  41114. <br>Irrespective of this bit's setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  41115. </comment>
  41116. </bits>
  41117. <bits access="rw" name="eptype" pos="19:18" rst="0">
  41118. <comment>
  41119. <br>Endpoint Type (EPType)</br>
  41120. <br/>
  41121. <br>This is the transfer type supported by this logical endpoint.</br>
  41122. <br> - 2'b00: Control</br>
  41123. <br> - 2'b01: Isochronous</br>
  41124. <br> - 2'b10: Bulk</br>
  41125. <br> - 2'b11: Interrupt</br>
  41126. </comment>
  41127. </bits>
  41128. <bits access="rw" name="snp" pos="20" rst="0">
  41129. <comment>
  41130. <br>RESERVED</br>
  41131. </comment>
  41132. </bits>
  41133. <bits access="rw" name="stall" pos="21" rst="0">
  41134. <comment>
  41135. <br>STALL Handshake (Stall)</br>
  41136. <br/>
  41137. <br>Applies to non-control, non-isochronous IN and OUT endpoints only.</br>
  41138. <br/>
  41139. <br>The application sets this bit to stall all tokens from the USB host to this endpoint. If a</br>
  41140. <br>NAK bit, Global Non-periodic IN NAK, or Global OUT NAK is set along with this bit, the</br>
  41141. <br>STALL bit takes priority. Only the application can clear this bit, never the core.</br>
  41142. <br/>
  41143. <br>Applies to control endpoints only.</br>
  41144. <br/>
  41145. <br>The application can only set this bit, and the core clears it, when a SETUP token is</br>
  41146. <br>received for this endpoint. If a NAK bit, Global Non-periodic IN NAK, or Global OUT</br>
  41147. <br>NAK is set along with this bit, the STALL bit takes priority. Irrespective of this bit's</br>
  41148. <br>setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  41149. <br/>
  41150. </comment>
  41151. </bits>
  41152. <bits access="w" name="cnak" pos="26" rst="0">
  41153. <comment>
  41154. <br/>
  41155. <br>Clear NAK (CNAK)</br>
  41156. <br>A write to this bit clears the NAK bit for the endpoint.</br>
  41157. </comment>
  41158. </bits>
  41159. <bits access="w" name="snak" pos="27" rst="0">
  41160. <comment>
  41161. <br>Set NAK (SNAK)</br>
  41162. <br/>
  41163. <br>A write to this bit sets the NAK bit for the endpoint.</br>
  41164. <br/>
  41165. <br>Using this bit, the application can control the transmission of NAK</br>
  41166. <br>handshakes on an endpoint. The core can also set this bit for an</br>
  41167. <br>endpoint after a SETUP packet is received on that endpoint.</br>
  41168. </comment>
  41169. </bits>
  41170. <bits access="w" name="setd0pid" pos="28" rst="0">
  41171. <comment>
  41172. <br>Set DATA0 PID (SetD0PID)</br>
  41173. <br> - Applies to interrupt/bulk IN and OUT endpoints only.</br>
  41174. <br> - Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA0.</br>
  41175. <br> - This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  41176. <br>Reset: 1'b0</br>
  41177. <br/>
  41178. <br>In non-Scatter/Gather DMA mode: Set Even (micro)frame (SetEvenFr)</br>
  41179. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  41180. <br> - Writing to this field sets the Even/Odd (micro)frame (EO_FrNum) field to even (micro)frame.</br>
  41181. <br> - When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is in the transmit descriptor structure. The frame in which to receive data is updated in receive descriptor structure.</br>
  41182. <br>Reset: 1'b0</br>
  41183. </comment>
  41184. </bits>
  41185. <bits access="w" name="setd1pid" pos="29" rst="0">
  41186. <comment>
  41187. <br>Set DATA1 PID (SetD1PID)</br>
  41188. <br> - Applies to interrupt and bulk IN and OUT endpoints only.</br>
  41189. <br> - Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA1.</br>
  41190. <br> - This field is applicable both for scatter-gather DMA mode and non scatter-gather DMA mode.</br>
  41191. <br>Reset: 1'b0</br>
  41192. <br/>
  41193. <br>Set Odd (micro)frame (SetOddFr)</br>
  41194. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  41195. <br> - Writing to this field sets the even and odd (micro)frame (EO_FrNum) field to odd (micro)frame.</br>
  41196. <br>Reset: 1'b0</br>
  41197. </comment>
  41198. </bits>
  41199. <bits access="rw" name="epdis" pos="30" rst="0">
  41200. <comment>
  41201. <br>Endpoint Disable (EPDis)</br>
  41202. <br/>
  41203. <br>Applies to IN and OUT endpoints.</br>
  41204. <br/>
  41205. <br>The application sets this bit to stop transmitting/receiving data on an endpoint, even</br>
  41206. <br>before the transfer for that endpoint is complete. The application must wait for the</br>
  41207. <br>Endpoint Disabled interrupt before treating the endpoint as disabled. The core clears</br>
  41208. <br>this bit before setting the Endpoint Disabled interrupt. The application must set this bit</br>
  41209. <br>only if Endpoint Enable is already set for this endpoint.</br>
  41210. </comment>
  41211. </bits>
  41212. <bits access="rw" name="epena" pos="31" rst="0">
  41213. <comment>
  41214. <br>Endpoint Enable (EPEna)</br>
  41215. <br/>
  41216. <br>Applies to IN and OUT endpoints.</br>
  41217. <br/>
  41218. <br>When Scatter/Gather DMA mode is enabled,</br>
  41219. <br> - For IN endpoints this bit indicates that the descriptor structure and data buffer with data ready to transmit is setup.</br>
  41220. <br> - For OUT endpoint it indicates that the descriptor structure and data buffer to receive data is setup.</br>
  41221. <br>When Scatter/Gather DMA mode is enabled such as for buffer-pointer based DMA mode:</br>
  41222. <br> - For IN endpoints, this bit indicates that data is ready to be transmitted on the endpoint.</br>
  41223. <br> - For OUT endpoints, this bit indicates that the application has allocated the memory to start receiving data from the USB.</br>
  41224. <br>The core clears this bit before setting any of the following interrupts on this endpoint:</br>
  41225. <br> - SETUP Phase Done</br>
  41226. <br> - Endpoint Disabled</br>
  41227. <br> - Transfer Completed</br>
  41228. <br>Note: For control endpoints in DMA mode, this bit must be set to be able to transfer SETUP data packets in memory.</br>
  41229. </comment>
  41230. </bits>
  41231. </reg>
  41232. <hole size="32"/>
  41233. <reg name="doepint7" protect="rw">
  41234. <comment>Device OUT Endpoint 7 Interrupt Register</comment>
  41235. <bits access="rw" name="xfercompl" pos="0" rst="0">
  41236. <comment>
  41237. <br>Transfer Completed Interrupt (XferCompl)</br>
  41238. <br/>
  41239. <br>Applies to IN and OUT endpoints.</br>
  41240. <br> - When Scatter/Gather DMA mode is enabled</br>
  41241. <br> -- For IN endpoint this field indicates that the requested data from the descriptor is moved from external system memory to internal FIFO.</br>
  41242. <br> -- For OUT endpoint this field indicates that the requested data from the internal FIFO is moved to external system memory. This interrupt is generated only when the corresponding endpoint descriptor is closed, and the IOC bit for the corresponding descriptor is Set.</br>
  41243. <br> - When Scatter/Gather DMA mode is disabled, this field indicates that the programmed transfer is complete on the AHB as well as on the USB, for this endpoint.</br>
  41244. </comment>
  41245. </bits>
  41246. <bits access="rw" name="epdisbld" pos="1" rst="0">
  41247. <comment>
  41248. <br>Endpoint Disabled Interrupt (EPDisbld)</br>
  41249. <br/>
  41250. <br>Applies to IN and OUT endpoints.</br>
  41251. <br/>
  41252. <br>This bit indicates that the endpoint is disabled per the application's request.</br>
  41253. </comment>
  41254. </bits>
  41255. <bits access="rw" name="ahberr" pos="2" rst="0">
  41256. <comment>
  41257. <br>AHB Error (AHBErr)</br>
  41258. <br/>
  41259. <br>Applies to IN and OUT endpoints.</br>
  41260. <br/>
  41261. <br>This is generated only in Internal DMA mode when there is an</br>
  41262. <br>AHB error during an AHB read/write. The application can read</br>
  41263. <br>the corresponding endpoint DMA address register to get the</br>
  41264. <br>error address.</br>
  41265. </comment>
  41266. </bits>
  41267. <bits access="rw" name="setup" pos="3" rst="0">
  41268. <comment>
  41269. <br>SETUP Phase Done (SetUp)</br>
  41270. <br/>
  41271. <br>Applies to control OUT endpoints only.</br>
  41272. <br/>
  41273. <br>Indicates that the SETUP phase for the control endpoint is</br>
  41274. <br>complete and no more back-to-back SETUP packets were</br>
  41275. <br>received for the current control transfer. On this interrupt, the</br>
  41276. <br>application can decode the received SETUP data packet.</br>
  41277. </comment>
  41278. </bits>
  41279. <bits access="rw" name="outtknepdis" pos="4" rst="0">
  41280. <comment>
  41281. <br>OUT Token Received When Endpoint Disabled (OUTTknEPdis)</br>
  41282. <br/>
  41283. <br>Applies only to control OUT endpoints.</br>
  41284. <br/>
  41285. <br>Indicates that an OUT token was received when the endpoint was not yet enabled. This interrupt is asserted on the endpoint for which the OUT token was received.</br>
  41286. </comment>
  41287. </bits>
  41288. <bits access="rw" name="stsphsercvd" pos="5" rst="0">
  41289. <comment>
  41290. <br>Status Phase Received for Control Write (StsPhseRcvd)</br>
  41291. <br/>
  41292. <br>This interrupt is valid only for Control OUT endpoints and only in</br>
  41293. <br>Scatter Gather DMA mode.</br>
  41294. <br/>
  41295. <br>This interrupt is generated only after the core has transferred all</br>
  41296. <br>the data that the host has sent during the data phase of a control</br>
  41297. <br>write transfer, to the system memory buffer.</br>
  41298. <br/>
  41299. <br>The interrupt indicates to the application that the host has</br>
  41300. <br>switched from data phase to the status phase of a Control Write</br>
  41301. <br>transfer. The application can use this interrupt to ACK or STALL</br>
  41302. <br>the Status phase, after it has decoded the data phase. This is</br>
  41303. <br>applicable only in Case of Scatter Gather DMA mode.</br>
  41304. </comment>
  41305. </bits>
  41306. <bits access="rw" name="back2backsetup" pos="6" rst="0">
  41307. <comment>
  41308. <br>Back-to-Back SETUP Packets Received (Back2BackSETup)</br>
  41309. <br/>
  41310. <br>Applies to Control OUT endpoints only.</br>
  41311. <br/>
  41312. <br>This bit indicates that the core has received more than three</br>
  41313. <br>back-to-back SETUP packets for this particular endpoint. For</br>
  41314. <br>information about handling this interrupt,</br>
  41315. </comment>
  41316. </bits>
  41317. <bits access="rw" name="outpkterr" pos="8" rst="0">
  41318. <comment>
  41319. <br>OUT Packet Error (OutPktErr)</br>
  41320. <br/>
  41321. <br>Applies to OUT endpoints Only</br>
  41322. <br/>
  41323. <br>This interrupt is valid only when thresholding is enabled. This interrupt is asserted when the</br>
  41324. <br>core detects an overflow or a CRC error for non-Isochronous OUT packet.</br>
  41325. </comment>
  41326. </bits>
  41327. <bits access="rw" name="bnaintr" pos="9" rst="0">
  41328. <comment>
  41329. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  41330. <br/>
  41331. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  41332. <br/>
  41333. <br>The core generates this interrupt when the descriptor accessed</br>
  41334. <br>is not ready for the Core to process, such as Host busy or DMA</br>
  41335. <br>done</br>
  41336. </comment>
  41337. </bits>
  41338. <bits access="rw" name="pktdrpsts" pos="11" rst="0">
  41339. <comment>
  41340. <br>Packet Drop Status (PktDrpSts)</br>
  41341. <br/>
  41342. <br>This bit indicates to the application that an ISOC OUT packet has been dropped. This</br>
  41343. <br>bit does not have an associated mask bit and does not generate an interrupt.</br>
  41344. <br/>
  41345. <br>Dependency: This bit is valid in non Scatter/Gather DMA mode when periodic transfer</br>
  41346. <br>interrupt feature is selected.</br>
  41347. </comment>
  41348. </bits>
  41349. <bits access="rw" name="bbleerr" pos="12" rst="0">
  41350. <comment>
  41351. <br>NAK Interrupt (BbleErr)</br>
  41352. <br/>
  41353. <br>The core generates this interrupt when babble is received for the endpoint.</br>
  41354. </comment>
  41355. </bits>
  41356. <bits access="rw" name="nakintrpt" pos="13" rst="0">
  41357. <comment>
  41358. <br>NAK Interrupt (NAKInterrupt)</br>
  41359. <br/>
  41360. <br>The core generates this interrupt when a NAK is transmitted or received by the device.</br>
  41361. <br/>
  41362. <br>In case of isochronous IN endpoints the interrupt gets generated when a zero length</br>
  41363. <br>packet is transmitted due to un-availability of data in the TXFifo.</br>
  41364. </comment>
  41365. </bits>
  41366. <bits access="rw" name="nyetintrpt" pos="14" rst="0">
  41367. <comment>
  41368. <br>NYET Interrupt (NYETIntrpt)</br>
  41369. <br/>
  41370. <br>The core generates this interrupt when a NYET response is transmitted for a non isochronous OUT endpoint.</br>
  41371. </comment>
  41372. </bits>
  41373. <bits access="rw" name="stuppktrcvd" pos="15" rst="0">
  41374. <comment>
  41375. <br>Setup Packet Received</br>
  41376. <br/>
  41377. <br>Applicable for Control OUT Endpoints in only in the Buffer DMA Mode</br>
  41378. <br/>
  41379. <br>Set by the controller, this bit indicates that this buffer holds 8 bytes of</br>
  41380. <br>setup data. There is only one Setup packet per buffer. On receiving a</br>
  41381. <br>Setup packet, the controller closes the buffer and disables the</br>
  41382. <br>corresponding endpoint. The application has to re-enable the endpoint to</br>
  41383. <br>receive any OUT data for the Control Transfer and reprogram the buffer</br>
  41384. <br>start address.</br>
  41385. <br/>
  41386. <br>Note: Because of the above behavior, the controller can receive any</br>
  41387. <br>number of back to back setup packets and one buffer for every setup</br>
  41388. <br>packet is used.</br>
  41389. <br> - 1'b0: No Setup packet received</br>
  41390. <br> - 1'b1: Setup packet received</br>
  41391. <br>Reset: 1'b0</br>
  41392. </comment>
  41393. </bits>
  41394. </reg>
  41395. <hole size="32"/>
  41396. <reg name="doeptsiz7" protect="rw">
  41397. <comment>Device OUT Endpoint 7 Transfer Size Register</comment>
  41398. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  41399. <comment>
  41400. <br>Transfer Size (XferSize)</br>
  41401. <br/>
  41402. <br>Indicates the transfer size in bytes for endpoint 0. The core</br>
  41403. <br>interrupts the application only after it has exhausted the transfer</br>
  41404. <br>size amount of data. The transfer size can be Set to the</br>
  41405. <br>maximum packet size of the endpoint, to be interrupted at the</br>
  41406. <br>end of each packet.</br>
  41407. <br/>
  41408. <br>The core decrements this field every time a packet is read from</br>
  41409. <br>the RxFIFO and written to the external memory.</br>
  41410. </comment>
  41411. </bits>
  41412. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  41413. <comment>
  41414. <br>Packet Count (PktCnt)</br>
  41415. <br>This field is decremented to zero after a packet is written into the RxFIFO.</br>
  41416. </comment>
  41417. </bits>
  41418. <bits access="r" name="rxdpid" pos="30:29" rst="0">
  41419. <comment>
  41420. <br>RxDPID</br>
  41421. <br/>
  41422. <br>Applies to isochronous OUT endpoints only.</br>
  41423. <br/>
  41424. <br>This is the data PID received in the last packet for this endpoint.</br>
  41425. <br> - 2'b00: DATA0</br>
  41426. <br> - 2'b01: DATA2</br>
  41427. <br> - 2'b10: DATA1</br>
  41428. <br> - 2'b11: MDATA</br>
  41429. <br>SETUP Packet Count (SUPCnt)</br>
  41430. <br/>
  41431. <br>Applies to control OUT Endpoints only.</br>
  41432. <br/>
  41433. <br>This field specifies the number of back-to-back SETUP data</br>
  41434. <br>packets the endpoint can receive.</br>
  41435. <br> - 2'b01: 1 packet</br>
  41436. <br> - 2'b10: 2 packets</br>
  41437. <br> - 2'b11: 3 packets</br>
  41438. </comment>
  41439. </bits>
  41440. </reg>
  41441. <reg name="doepdma7" protect="rw">
  41442. <comment>Device OUT Endpoint 7 DMA Address Register</comment>
  41443. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  41444. <comment>
  41445. <br>Holds the start address of the external memory for storing or fetching endpoint</br>
  41446. <br>data.</br>
  41447. <br/>
  41448. <br>Note: For control endpoints, this field stores control OUT data packets as well as</br>
  41449. <br>SETUP transaction data packets. When more than three SETUP packets are</br>
  41450. <br>received back-to-back, the SETUP data packet in the memory is overwritten.</br>
  41451. <br/>
  41452. <br>This register is incremented on every AHB transaction. The application can give</br>
  41453. <br>only a DWORD-aligned address.</br>
  41454. <br> - When Scatter/Gather DMA mode is not enabled, the application programs the start address value in this field.</br>
  41455. <br> - When Scatter/Gather DMA mode is enabled, this field indicates the base pointer for the descriptor list.</br>
  41456. </comment>
  41457. </bits>
  41458. </reg>
  41459. <hole size="32"/>
  41460. <reg name="doepdmab7" protect="r">
  41461. <comment>Device OUT Endpoint 7 Buffer Address Register</comment>
  41462. <bits access="r" name="dmabufferaddr" pos="31:0" rst="0">
  41463. <comment>
  41464. <br>Holds the current buffer address.This register is updated as and when the data</br>
  41465. <br>transfer for the corresponding end point is in progress.</br>
  41466. <br/>
  41467. <br>This register is present only in Scatter/Gather DMA mode. Otherwise this field is reserved.</br>
  41468. </comment>
  41469. </bits>
  41470. </reg>
  41471. <reg name="doepctl8" protect="rw">
  41472. <comment>Device Control OUT Endpoint 8 Control Register</comment>
  41473. <bits access="rw" name="mps" pos="10:0" rst="0">
  41474. <comment>
  41475. <br>Maximum Packet Size (MPS)</br>
  41476. <br/>
  41477. <br>The application must program this field with the maximum packet size for the current</br>
  41478. <br>logical endpoint. This value is in bytes.</br>
  41479. </comment>
  41480. </bits>
  41481. <bits access="rw" name="usbactep" pos="15" rst="0">
  41482. <comment>
  41483. <br>USB Active Endpoint (USBActEP)</br>
  41484. <br/>
  41485. <br>Indicates whether this endpoint is active in the current configuration and interface. The</br>
  41486. <br>core clears this bit for all endpoints (other than EP 0) after detecting a USB reset. After</br>
  41487. <br>receiving the SetConfiguration and SetInterface commands, the application must</br>
  41488. <br>program endpoint registers accordingly and set this bit.</br>
  41489. </comment>
  41490. </bits>
  41491. <bits access="r" name="dpid" pos="16" rst="0">
  41492. <comment>
  41493. <br>Endpoint Data PID (DPID)</br>
  41494. <br/>
  41495. <br>Applies to interrupt/bulk IN and OUT endpoints only.</br>
  41496. <br/>
  41497. <br>Contains the PID of the packet to be received or transmitted on this endpoint. The</br>
  41498. <br>application must program the PID of the first packet to be received or transmitted on</br>
  41499. <br>this endpoint, after the endpoint is activated. The applications use the SetD1PID and</br>
  41500. <br>SetD0PID fields of this register to program either DATA0 or DATA1 PID.</br>
  41501. <br> - 1'b0: DATA0</br>
  41502. <br> - 1'b1: DATA1</br>
  41503. <br>This field is applicable for both Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  41504. <br/>
  41505. <br>Reset: 1'b0</br>
  41506. <br/>
  41507. <br>Even/Odd (Micro)Frame (EO_FrNum)</br>
  41508. <br/>
  41509. <br>In non-Scatter/Gather DMA mode:</br>
  41510. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  41511. <br> - Indicates the (micro)frame number in which the core transmits/receives isochronous data for this endpoint. The application must program the even/odd (micro)frame number in which it intends to transmit/receive isochronous data for this endpoint using the SetEvnFr and SetOddFr fields in this register.</br>
  41512. <br> -- 1'b0: Even (micro)frame</br>
  41513. <br> -- 1'b1: Odd (micro)frame</br>
  41514. <br> - When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is provided in the transmit descriptor structure. The frame in which data is received is updated in receive descriptor structure.</br>
  41515. <br>Reset: 1'b0</br>
  41516. </comment>
  41517. </bits>
  41518. <bits access="r" name="naksts" pos="17" rst="0">
  41519. <comment>
  41520. <br>NAK Status (NAKSts)</br>
  41521. <br/>
  41522. <br>Indicates the following:</br>
  41523. <br> - 1'b0: The core is transmitting non-NAK handshakes based on the FIFO status.</br>
  41524. <br> - 1'b1: The core is transmitting NAK handshakes on this endpoint.</br>
  41525. <br>When either the application or the core sets this bit:</br>
  41526. <br> - The core stops receiving any data on an OUT endpoint, even if there is space in the RxFIFO to accommodate the incoming packet.</br>
  41527. <br> - For non-isochronous IN endpoints: The core stops transmitting any data on an IN endpoint, even if there data is available in the TxFIFO.</br>
  41528. <br> - For isochronous IN endpoints: The core sends out a zero-length data packet, even if there data is available in the TxFIFO.</br>
  41529. <br>Irrespective of this bit's setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  41530. </comment>
  41531. </bits>
  41532. <bits access="rw" name="eptype" pos="19:18" rst="0">
  41533. <comment>
  41534. <br>Endpoint Type (EPType)</br>
  41535. <br/>
  41536. <br>This is the transfer type supported by this logical endpoint.</br>
  41537. <br> - 2'b00: Control</br>
  41538. <br> - 2'b01: Isochronous</br>
  41539. <br> - 2'b10: Bulk</br>
  41540. <br> - 2'b11: Interrupt</br>
  41541. </comment>
  41542. </bits>
  41543. <bits access="rw" name="snp" pos="20" rst="0">
  41544. <comment>
  41545. <br>RESERVED</br>
  41546. </comment>
  41547. </bits>
  41548. <bits access="rw" name="stall" pos="21" rst="0">
  41549. <comment>
  41550. <br>STALL Handshake (Stall)</br>
  41551. <br/>
  41552. <br>Applies to non-control, non-isochronous IN and OUT endpoints only.</br>
  41553. <br/>
  41554. <br>The application sets this bit to stall all tokens from the USB host to this endpoint. If a</br>
  41555. <br>NAK bit, Global Non-periodic IN NAK, or Global OUT NAK is set along with this bit, the</br>
  41556. <br>STALL bit takes priority. Only the application can clear this bit, never the core.</br>
  41557. <br/>
  41558. <br>Applies to control endpoints only.</br>
  41559. <br/>
  41560. <br>The application can only set this bit, and the core clears it, when a SETUP token is</br>
  41561. <br>received for this endpoint. If a NAK bit, Global Non-periodic IN NAK, or Global OUT</br>
  41562. <br>NAK is set along with this bit, the STALL bit takes priority. Irrespective of this bit's</br>
  41563. <br>setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  41564. <br/>
  41565. </comment>
  41566. </bits>
  41567. <bits access="w" name="cnak" pos="26" rst="0">
  41568. <comment>
  41569. <br/>
  41570. <br>Clear NAK (CNAK)</br>
  41571. <br>A write to this bit clears the NAK bit for the endpoint.</br>
  41572. </comment>
  41573. </bits>
  41574. <bits access="w" name="snak" pos="27" rst="0">
  41575. <comment>
  41576. <br>Set NAK (SNAK)</br>
  41577. <br/>
  41578. <br>A write to this bit sets the NAK bit for the endpoint.</br>
  41579. <br/>
  41580. <br>Using this bit, the application can control the transmission of NAK</br>
  41581. <br>handshakes on an endpoint. The core can also set this bit for an</br>
  41582. <br>endpoint after a SETUP packet is received on that endpoint.</br>
  41583. </comment>
  41584. </bits>
  41585. <bits access="w" name="setd0pid" pos="28" rst="0">
  41586. <comment>
  41587. <br>Set DATA0 PID (SetD0PID)</br>
  41588. <br> - Applies to interrupt/bulk IN and OUT endpoints only.</br>
  41589. <br> - Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA0.</br>
  41590. <br> - This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  41591. <br>Reset: 1'b0</br>
  41592. <br/>
  41593. <br>In non-Scatter/Gather DMA mode: Set Even (micro)frame (SetEvenFr)</br>
  41594. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  41595. <br> - Writing to this field sets the Even/Odd (micro)frame (EO_FrNum) field to even (micro)frame.</br>
  41596. <br> - When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is in the transmit descriptor structure. The frame in which to receive data is updated in receive descriptor structure.</br>
  41597. <br>Reset: 1'b0</br>
  41598. </comment>
  41599. </bits>
  41600. <bits access="w" name="setd1pid" pos="29" rst="0">
  41601. <comment>
  41602. <br>Set DATA1 PID (SetD1PID)</br>
  41603. <br> - Applies to interrupt and bulk IN and OUT endpoints only.</br>
  41604. <br> - Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA1.</br>
  41605. <br> - This field is applicable both for scatter-gather DMA mode and non scatter-gather DMA mode.</br>
  41606. <br>Reset: 1'b0</br>
  41607. <br/>
  41608. <br>Set Odd (micro)frame (SetOddFr)</br>
  41609. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  41610. <br> - Writing to this field sets the even and odd (micro)frame (EO_FrNum) field to odd (micro)frame.</br>
  41611. <br>Reset: 1'b0</br>
  41612. </comment>
  41613. </bits>
  41614. <bits access="rw" name="epdis" pos="30" rst="0">
  41615. <comment>
  41616. <br>Endpoint Disable (EPDis)</br>
  41617. <br/>
  41618. <br>Applies to IN and OUT endpoints.</br>
  41619. <br/>
  41620. <br>The application sets this bit to stop transmitting/receiving data on an endpoint, even</br>
  41621. <br>before the transfer for that endpoint is complete. The application must wait for the</br>
  41622. <br>Endpoint Disabled interrupt before treating the endpoint as disabled. The core clears</br>
  41623. <br>this bit before setting the Endpoint Disabled interrupt. The application must set this bit</br>
  41624. <br>only if Endpoint Enable is already set for this endpoint.</br>
  41625. </comment>
  41626. </bits>
  41627. <bits access="rw" name="epena" pos="31" rst="0">
  41628. <comment>
  41629. <br>Endpoint Enable (EPEna)</br>
  41630. <br/>
  41631. <br>Applies to IN and OUT endpoints.</br>
  41632. <br/>
  41633. <br>When Scatter/Gather DMA mode is enabled,</br>
  41634. <br> - For IN endpoints this bit indicates that the descriptor structure and data buffer with data ready to transmit is setup.</br>
  41635. <br> - For OUT endpoint it indicates that the descriptor structure and data buffer to receive data is setup.</br>
  41636. <br>When Scatter/Gather DMA mode is enabled such as for buffer-pointer based DMA mode:</br>
  41637. <br> - For IN endpoints, this bit indicates that data is ready to be transmitted on the endpoint.</br>
  41638. <br> - For OUT endpoints, this bit indicates that the application has allocated the memory to start receiving data from the USB.</br>
  41639. <br>The core clears this bit before setting any of the following interrupts on this endpoint:</br>
  41640. <br> - SETUP Phase Done</br>
  41641. <br> - Endpoint Disabled</br>
  41642. <br> - Transfer Completed</br>
  41643. <br>Note: For control endpoints in DMA mode, this bit must be set to be able to transfer SETUP data packets in memory.</br>
  41644. </comment>
  41645. </bits>
  41646. </reg>
  41647. <hole size="32"/>
  41648. <reg name="doepint8" protect="rw">
  41649. <comment>Device OUT Endpoint 8 Interrupt Register</comment>
  41650. <bits access="rw" name="xfercompl" pos="0" rst="0">
  41651. <comment>
  41652. <br>Transfer Completed Interrupt (XferCompl)</br>
  41653. <br/>
  41654. <br>Applies to IN and OUT endpoints.</br>
  41655. <br> - When Scatter/Gather DMA mode is enabled</br>
  41656. <br> -- For IN endpoint this field indicates that the requested data from the descriptor is moved from external system memory to internal FIFO.</br>
  41657. <br> -- For OUT endpoint this field indicates that the requested data from the internal FIFO is moved to external system memory. This interrupt is generated only when the corresponding endpoint descriptor is closed, and the IOC bit for the corresponding descriptor is Set.</br>
  41658. <br> - When Scatter/Gather DMA mode is disabled, this field indicates that the programmed transfer is complete on the AHB as well as on the USB, for this endpoint.</br>
  41659. </comment>
  41660. </bits>
  41661. <bits access="rw" name="epdisbld" pos="1" rst="0">
  41662. <comment>
  41663. <br>Endpoint Disabled Interrupt (EPDisbld)</br>
  41664. <br/>
  41665. <br>Applies to IN and OUT endpoints.</br>
  41666. <br/>
  41667. <br>This bit indicates that the endpoint is disabled per the application's request.</br>
  41668. </comment>
  41669. </bits>
  41670. <bits access="rw" name="ahberr" pos="2" rst="0">
  41671. <comment>
  41672. <br>AHB Error (AHBErr)</br>
  41673. <br/>
  41674. <br>Applies to IN and OUT endpoints.</br>
  41675. <br/>
  41676. <br>This is generated only in Internal DMA mode when there is an</br>
  41677. <br>AHB error during an AHB read/write. The application can read</br>
  41678. <br>the corresponding endpoint DMA address register to get the</br>
  41679. <br>error address.</br>
  41680. </comment>
  41681. </bits>
  41682. <bits access="rw" name="setup" pos="3" rst="0">
  41683. <comment>
  41684. <br>SETUP Phase Done (SetUp)</br>
  41685. <br/>
  41686. <br>Applies to control OUT endpoints only.</br>
  41687. <br/>
  41688. <br>Indicates that the SETUP phase for the control endpoint is</br>
  41689. <br>complete and no more back-to-back SETUP packets were</br>
  41690. <br>received for the current control transfer. On this interrupt, the</br>
  41691. <br>application can decode the received SETUP data packet.</br>
  41692. </comment>
  41693. </bits>
  41694. <bits access="rw" name="outtknepdis" pos="4" rst="0">
  41695. <comment>
  41696. <br>OUT Token Received When Endpoint Disabled (OUTTknEPdis)</br>
  41697. <br/>
  41698. <br>Applies only to control OUT endpoints.</br>
  41699. <br/>
  41700. <br>Indicates that an OUT token was received when the endpoint was not yet enabled. This interrupt is asserted on the endpoint for which the OUT token was received.</br>
  41701. </comment>
  41702. </bits>
  41703. <bits access="rw" name="stsphsercvd" pos="5" rst="0">
  41704. <comment>
  41705. <br>Status Phase Received for Control Write (StsPhseRcvd)</br>
  41706. <br/>
  41707. <br>This interrupt is valid only for Control OUT endpoints and only in</br>
  41708. <br>Scatter Gather DMA mode.</br>
  41709. <br/>
  41710. <br>This interrupt is generated only after the core has transferred all</br>
  41711. <br>the data that the host has sent during the data phase of a control</br>
  41712. <br>write transfer, to the system memory buffer.</br>
  41713. <br/>
  41714. <br>The interrupt indicates to the application that the host has</br>
  41715. <br>switched from data phase to the status phase of a Control Write</br>
  41716. <br>transfer. The application can use this interrupt to ACK or STALL</br>
  41717. <br>the Status phase, after it has decoded the data phase. This is</br>
  41718. <br>applicable only in Case of Scatter Gather DMA mode.</br>
  41719. </comment>
  41720. </bits>
  41721. <bits access="rw" name="back2backsetup" pos="6" rst="0">
  41722. <comment>
  41723. <br>Back-to-Back SETUP Packets Received (Back2BackSETup)</br>
  41724. <br/>
  41725. <br>Applies to Control OUT endpoints only.</br>
  41726. <br/>
  41727. <br>This bit indicates that the core has received more than three</br>
  41728. <br>back-to-back SETUP packets for this particular endpoint. For</br>
  41729. <br>information about handling this interrupt,</br>
  41730. </comment>
  41731. </bits>
  41732. <bits access="rw" name="outpkterr" pos="8" rst="0">
  41733. <comment>
  41734. <br>OUT Packet Error (OutPktErr)</br>
  41735. <br/>
  41736. <br>Applies to OUT endpoints Only</br>
  41737. <br/>
  41738. <br>This interrupt is valid only when thresholding is enabled. This interrupt is asserted when the</br>
  41739. <br>core detects an overflow or a CRC error for non-Isochronous OUT packet.</br>
  41740. </comment>
  41741. </bits>
  41742. <bits access="rw" name="bnaintr" pos="9" rst="0">
  41743. <comment>
  41744. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  41745. <br/>
  41746. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  41747. <br/>
  41748. <br>The core generates this interrupt when the descriptor accessed</br>
  41749. <br>is not ready for the Core to process, such as Host busy or DMA</br>
  41750. <br>done</br>
  41751. </comment>
  41752. </bits>
  41753. <bits access="rw" name="pktdrpsts" pos="11" rst="0">
  41754. <comment>
  41755. <br>Packet Drop Status (PktDrpSts)</br>
  41756. <br/>
  41757. <br>This bit indicates to the application that an ISOC OUT packet has been dropped. This</br>
  41758. <br>bit does not have an associated mask bit and does not generate an interrupt.</br>
  41759. <br/>
  41760. <br>Dependency: This bit is valid in non Scatter/Gather DMA mode when periodic transfer</br>
  41761. <br>interrupt feature is selected.</br>
  41762. </comment>
  41763. </bits>
  41764. <bits access="rw" name="bbleerr" pos="12" rst="0">
  41765. <comment>
  41766. <br>NAK Interrupt (BbleErr)</br>
  41767. <br/>
  41768. <br>The core generates this interrupt when babble is received for the endpoint.</br>
  41769. </comment>
  41770. </bits>
  41771. <bits access="rw" name="nakintrpt" pos="13" rst="0">
  41772. <comment>
  41773. <br>NAK Interrupt (NAKInterrupt)</br>
  41774. <br/>
  41775. <br>The core generates this interrupt when a NAK is transmitted or received by the device.</br>
  41776. <br/>
  41777. <br>In case of isochronous IN endpoints the interrupt gets generated when a zero length</br>
  41778. <br>packet is transmitted due to un-availability of data in the TXFifo.</br>
  41779. </comment>
  41780. </bits>
  41781. <bits access="rw" name="nyetintrpt" pos="14" rst="0">
  41782. <comment>
  41783. <br>NYET Interrupt (NYETIntrpt)</br>
  41784. <br/>
  41785. <br>The core generates this interrupt when a NYET response is transmitted for a non isochronous OUT endpoint.</br>
  41786. </comment>
  41787. </bits>
  41788. <bits access="rw" name="stuppktrcvd" pos="15" rst="0">
  41789. <comment>
  41790. <br>Setup Packet Received</br>
  41791. <br/>
  41792. <br>Applicable for Control OUT Endpoints in only in the Buffer DMA Mode</br>
  41793. <br/>
  41794. <br>Set by the controller, this bit indicates that this buffer holds 8 bytes of</br>
  41795. <br>setup data. There is only one Setup packet per buffer. On receiving a</br>
  41796. <br>Setup packet, the controller closes the buffer and disables the</br>
  41797. <br>corresponding endpoint. The application has to re-enable the endpoint to</br>
  41798. <br>receive any OUT data for the Control Transfer and reprogram the buffer</br>
  41799. <br>start address.</br>
  41800. <br/>
  41801. <br>Note: Because of the above behavior, the controller can receive any</br>
  41802. <br>number of back to back setup packets and one buffer for every setup</br>
  41803. <br>packet is used.</br>
  41804. <br> - 1'b0: No Setup packet received</br>
  41805. <br> - 1'b1: Setup packet received</br>
  41806. <br>Reset: 1'b0</br>
  41807. </comment>
  41808. </bits>
  41809. </reg>
  41810. <hole size="32"/>
  41811. <reg name="doeptsiz8" protect="rw">
  41812. <comment>Device OUT Endpoint 8 Transfer Size Register</comment>
  41813. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  41814. <comment>
  41815. <br>Transfer Size (XferSize)</br>
  41816. <br/>
  41817. <br>Indicates the transfer size in bytes for endpoint 0. The core</br>
  41818. <br>interrupts the application only after it has exhausted the transfer</br>
  41819. <br>size amount of data. The transfer size can be Set to the</br>
  41820. <br>maximum packet size of the endpoint, to be interrupted at the</br>
  41821. <br>end of each packet.</br>
  41822. <br/>
  41823. <br>The core decrements this field every time a packet is read from</br>
  41824. <br>the RxFIFO and written to the external memory.</br>
  41825. </comment>
  41826. </bits>
  41827. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  41828. <comment>
  41829. <br>Packet Count (PktCnt)</br>
  41830. <br>This field is decremented to zero after a packet is written into the RxFIFO.</br>
  41831. </comment>
  41832. </bits>
  41833. <bits access="r" name="rxdpid" pos="30:29" rst="0">
  41834. <comment>
  41835. <br>RxDPID</br>
  41836. <br/>
  41837. <br>Applies to isochronous OUT endpoints only.</br>
  41838. <br/>
  41839. <br>This is the data PID received in the last packet for this endpoint.</br>
  41840. <br> - 2'b00: DATA0</br>
  41841. <br> - 2'b01: DATA2</br>
  41842. <br> - 2'b10: DATA1</br>
  41843. <br> - 2'b11: MDATA</br>
  41844. <br>SETUP Packet Count (SUPCnt)</br>
  41845. <br/>
  41846. <br>Applies to control OUT Endpoints only.</br>
  41847. <br/>
  41848. <br>This field specifies the number of back-to-back SETUP data</br>
  41849. <br>packets the endpoint can receive.</br>
  41850. <br> - 2'b01: 1 packet</br>
  41851. <br> - 2'b10: 2 packets</br>
  41852. <br> - 2'b11: 3 packets</br>
  41853. </comment>
  41854. </bits>
  41855. </reg>
  41856. <reg name="doepdma8" protect="rw">
  41857. <comment>Device OUT Endpoint 8 DMA Address Register</comment>
  41858. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  41859. <comment>
  41860. <br>Holds the start address of the external memory for storing or fetching endpoint</br>
  41861. <br>data.</br>
  41862. <br/>
  41863. <br>Note: For control endpoints, this field stores control OUT data packets as well as</br>
  41864. <br>SETUP transaction data packets. When more than three SETUP packets are</br>
  41865. <br>received back-to-back, the SETUP data packet in the memory is overwritten.</br>
  41866. <br/>
  41867. <br>This register is incremented on every AHB transaction. The application can give</br>
  41868. <br>only a DWORD-aligned address.</br>
  41869. <br> - When Scatter/Gather DMA mode is not enabled, the application programs the start address value in this field.</br>
  41870. <br> - When Scatter/Gather DMA mode is enabled, this field indicates the base pointer for the descriptor list.</br>
  41871. </comment>
  41872. </bits>
  41873. </reg>
  41874. <hole size="32"/>
  41875. <reg name="doepdmab8" protect="r">
  41876. <comment>Device OUT Endpoint 8 Buffer Address Register</comment>
  41877. <bits access="r" name="dmabufferaddr" pos="31:0" rst="0">
  41878. <comment>
  41879. <br>Holds the current buffer address.This register is updated as and when the data</br>
  41880. <br>transfer for the corresponding end point is in progress.</br>
  41881. <br/>
  41882. <br>This register is present only in Scatter/Gather DMA mode. Otherwise this field is reserved.</br>
  41883. </comment>
  41884. </bits>
  41885. </reg>
  41886. <reg name="doepctl9" protect="rw">
  41887. <comment>Device Control OUT Endpoint 9 Control Register</comment>
  41888. <bits access="rw" name="mps" pos="10:0" rst="0">
  41889. <comment>
  41890. <br>Maximum Packet Size (MPS)</br>
  41891. <br/>
  41892. <br>The application must program this field with the maximum packet size for the current</br>
  41893. <br>logical endpoint. This value is in bytes.</br>
  41894. </comment>
  41895. </bits>
  41896. <bits access="rw" name="usbactep" pos="15" rst="0">
  41897. <comment>
  41898. <br>USB Active Endpoint (USBActEP)</br>
  41899. <br/>
  41900. <br>Indicates whether this endpoint is active in the current configuration and interface. The</br>
  41901. <br>core clears this bit for all endpoints (other than EP 0) after detecting a USB reset. After</br>
  41902. <br>receiving the SetConfiguration and SetInterface commands, the application must</br>
  41903. <br>program endpoint registers accordingly and set this bit.</br>
  41904. </comment>
  41905. </bits>
  41906. <bits access="r" name="dpid" pos="16" rst="0">
  41907. <comment>
  41908. <br>Endpoint Data PID (DPID)</br>
  41909. <br/>
  41910. <br>Applies to interrupt/bulk IN and OUT endpoints only.</br>
  41911. <br/>
  41912. <br>Contains the PID of the packet to be received or transmitted on this endpoint. The</br>
  41913. <br>application must program the PID of the first packet to be received or transmitted on</br>
  41914. <br>this endpoint, after the endpoint is activated. The applications use the SetD1PID and</br>
  41915. <br>SetD0PID fields of this register to program either DATA0 or DATA1 PID.</br>
  41916. <br> - 1'b0: DATA0</br>
  41917. <br> - 1'b1: DATA1</br>
  41918. <br>This field is applicable for both Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  41919. <br/>
  41920. <br>Reset: 1'b0</br>
  41921. <br/>
  41922. <br>Even/Odd (Micro)Frame (EO_FrNum)</br>
  41923. <br/>
  41924. <br>In non-Scatter/Gather DMA mode:</br>
  41925. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  41926. <br> - Indicates the (micro)frame number in which the core transmits/receives isochronous data for this endpoint. The application must program the even/odd (micro)frame number in which it intends to transmit/receive isochronous data for this endpoint using the SetEvnFr and SetOddFr fields in this register.</br>
  41927. <br> -- 1'b0: Even (micro)frame</br>
  41928. <br> -- 1'b1: Odd (micro)frame</br>
  41929. <br> - When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is provided in the transmit descriptor structure. The frame in which data is received is updated in receive descriptor structure.</br>
  41930. <br>Reset: 1'b0</br>
  41931. </comment>
  41932. </bits>
  41933. <bits access="r" name="naksts" pos="17" rst="0">
  41934. <comment>
  41935. <br>NAK Status (NAKSts)</br>
  41936. <br/>
  41937. <br>Indicates the following:</br>
  41938. <br> - 1'b0: The core is transmitting non-NAK handshakes based on the FIFO status.</br>
  41939. <br> - 1'b1: The core is transmitting NAK handshakes on this endpoint.</br>
  41940. <br>When either the application or the core sets this bit:</br>
  41941. <br> - The core stops receiving any data on an OUT endpoint, even if there is space in the RxFIFO to accommodate the incoming packet.</br>
  41942. <br> - For non-isochronous IN endpoints: The core stops transmitting any data on an IN endpoint, even if there data is available in the TxFIFO.</br>
  41943. <br> - For isochronous IN endpoints: The core sends out a zero-length data packet, even if there data is available in the TxFIFO.</br>
  41944. <br>Irrespective of this bit's setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  41945. </comment>
  41946. </bits>
  41947. <bits access="rw" name="eptype" pos="19:18" rst="0">
  41948. <comment>
  41949. <br>Endpoint Type (EPType)</br>
  41950. <br/>
  41951. <br>This is the transfer type supported by this logical endpoint.</br>
  41952. <br> - 2'b00: Control</br>
  41953. <br> - 2'b01: Isochronous</br>
  41954. <br> - 2'b10: Bulk</br>
  41955. <br> - 2'b11: Interrupt</br>
  41956. </comment>
  41957. </bits>
  41958. <bits access="rw" name="snp" pos="20" rst="0">
  41959. <comment>
  41960. <br>RESERVED</br>
  41961. </comment>
  41962. </bits>
  41963. <bits access="rw" name="stall" pos="21" rst="0">
  41964. <comment>
  41965. <br>STALL Handshake (Stall)</br>
  41966. <br/>
  41967. <br>Applies to non-control, non-isochronous IN and OUT endpoints only.</br>
  41968. <br/>
  41969. <br>The application sets this bit to stall all tokens from the USB host to this endpoint. If a</br>
  41970. <br>NAK bit, Global Non-periodic IN NAK, or Global OUT NAK is set along with this bit, the</br>
  41971. <br>STALL bit takes priority. Only the application can clear this bit, never the core.</br>
  41972. <br/>
  41973. <br>Applies to control endpoints only.</br>
  41974. <br/>
  41975. <br>The application can only set this bit, and the core clears it, when a SETUP token is</br>
  41976. <br>received for this endpoint. If a NAK bit, Global Non-periodic IN NAK, or Global OUT</br>
  41977. <br>NAK is set along with this bit, the STALL bit takes priority. Irrespective of this bit's</br>
  41978. <br>setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  41979. <br/>
  41980. </comment>
  41981. </bits>
  41982. <bits access="w" name="cnak" pos="26" rst="0">
  41983. <comment>
  41984. <br/>
  41985. <br>Clear NAK (CNAK)</br>
  41986. <br>A write to this bit clears the NAK bit for the endpoint.</br>
  41987. </comment>
  41988. </bits>
  41989. <bits access="w" name="snak" pos="27" rst="0">
  41990. <comment>
  41991. <br>Set NAK (SNAK)</br>
  41992. <br/>
  41993. <br>A write to this bit sets the NAK bit for the endpoint.</br>
  41994. <br/>
  41995. <br>Using this bit, the application can control the transmission of NAK</br>
  41996. <br>handshakes on an endpoint. The core can also set this bit for an</br>
  41997. <br>endpoint after a SETUP packet is received on that endpoint.</br>
  41998. </comment>
  41999. </bits>
  42000. <bits access="w" name="setd0pid" pos="28" rst="0">
  42001. <comment>
  42002. <br>Set DATA0 PID (SetD0PID)</br>
  42003. <br> - Applies to interrupt/bulk IN and OUT endpoints only.</br>
  42004. <br> - Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA0.</br>
  42005. <br> - This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  42006. <br>Reset: 1'b0</br>
  42007. <br/>
  42008. <br>In non-Scatter/Gather DMA mode: Set Even (micro)frame (SetEvenFr)</br>
  42009. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  42010. <br> - Writing to this field sets the Even/Odd (micro)frame (EO_FrNum) field to even (micro)frame.</br>
  42011. <br> - When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is in the transmit descriptor structure. The frame in which to receive data is updated in receive descriptor structure.</br>
  42012. <br>Reset: 1'b0</br>
  42013. </comment>
  42014. </bits>
  42015. <bits access="w" name="setd1pid" pos="29" rst="0">
  42016. <comment>
  42017. <br>Set DATA1 PID (SetD1PID)</br>
  42018. <br> - Applies to interrupt and bulk IN and OUT endpoints only.</br>
  42019. <br> - Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA1.</br>
  42020. <br> - This field is applicable both for scatter-gather DMA mode and non scatter-gather DMA mode.</br>
  42021. <br>Reset: 1'b0</br>
  42022. <br/>
  42023. <br>Set Odd (micro)frame (SetOddFr)</br>
  42024. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  42025. <br> - Writing to this field sets the even and odd (micro)frame (EO_FrNum) field to odd (micro)frame.</br>
  42026. <br>Reset: 1'b0</br>
  42027. </comment>
  42028. </bits>
  42029. <bits access="rw" name="epdis" pos="30" rst="0">
  42030. <comment>
  42031. <br>Endpoint Disable (EPDis)</br>
  42032. <br/>
  42033. <br>Applies to IN and OUT endpoints.</br>
  42034. <br/>
  42035. <br>The application sets this bit to stop transmitting/receiving data on an endpoint, even</br>
  42036. <br>before the transfer for that endpoint is complete. The application must wait for the</br>
  42037. <br>Endpoint Disabled interrupt before treating the endpoint as disabled. The core clears</br>
  42038. <br>this bit before setting the Endpoint Disabled interrupt. The application must set this bit</br>
  42039. <br>only if Endpoint Enable is already set for this endpoint.</br>
  42040. </comment>
  42041. </bits>
  42042. <bits access="rw" name="epena" pos="31" rst="0">
  42043. <comment>
  42044. <br>Endpoint Enable (EPEna)</br>
  42045. <br/>
  42046. <br>Applies to IN and OUT endpoints.</br>
  42047. <br/>
  42048. <br>When Scatter/Gather DMA mode is enabled,</br>
  42049. <br> - For IN endpoints this bit indicates that the descriptor structure and data buffer with data ready to transmit is setup.</br>
  42050. <br> - For OUT endpoint it indicates that the descriptor structure and data buffer to receive data is setup.</br>
  42051. <br>When Scatter/Gather DMA mode is enabled such as for buffer-pointer based DMA mode:</br>
  42052. <br> - For IN endpoints, this bit indicates that data is ready to be transmitted on the endpoint.</br>
  42053. <br> - For OUT endpoints, this bit indicates that the application has allocated the memory to start receiving data from the USB.</br>
  42054. <br>The core clears this bit before setting any of the following interrupts on this endpoint:</br>
  42055. <br> - SETUP Phase Done</br>
  42056. <br> - Endpoint Disabled</br>
  42057. <br> - Transfer Completed</br>
  42058. <br>Note: For control endpoints in DMA mode, this bit must be set to be able to transfer SETUP data packets in memory.</br>
  42059. </comment>
  42060. </bits>
  42061. </reg>
  42062. <hole size="32"/>
  42063. <reg name="doepint9" protect="rw">
  42064. <comment>Device OUT Endpoint 9 Interrupt Register</comment>
  42065. <bits access="rw" name="xfercompl" pos="0" rst="0">
  42066. <comment>
  42067. <br>Transfer Completed Interrupt (XferCompl)</br>
  42068. <br/>
  42069. <br>Applies to IN and OUT endpoints.</br>
  42070. <br> - When Scatter/Gather DMA mode is enabled</br>
  42071. <br> -- For IN endpoint this field indicates that the requested data from the descriptor is moved from external system memory to internal FIFO.</br>
  42072. <br> -- For OUT endpoint this field indicates that the requested data from the internal FIFO is moved to external system memory. This interrupt is generated only when the corresponding endpoint descriptor is closed, and the IOC bit for the corresponding descriptor is Set.</br>
  42073. <br> - When Scatter/Gather DMA mode is disabled, this field indicates that the programmed transfer is complete on the AHB as well as on the USB, for this endpoint.</br>
  42074. </comment>
  42075. </bits>
  42076. <bits access="rw" name="epdisbld" pos="1" rst="0">
  42077. <comment>
  42078. <br>Endpoint Disabled Interrupt (EPDisbld)</br>
  42079. <br/>
  42080. <br>Applies to IN and OUT endpoints.</br>
  42081. <br/>
  42082. <br>This bit indicates that the endpoint is disabled per the application's request.</br>
  42083. </comment>
  42084. </bits>
  42085. <bits access="rw" name="ahberr" pos="2" rst="0">
  42086. <comment>
  42087. <br>AHB Error (AHBErr)</br>
  42088. <br/>
  42089. <br>Applies to IN and OUT endpoints.</br>
  42090. <br/>
  42091. <br>This is generated only in Internal DMA mode when there is an</br>
  42092. <br>AHB error during an AHB read/write. The application can read</br>
  42093. <br>the corresponding endpoint DMA address register to get the</br>
  42094. <br>error address.</br>
  42095. </comment>
  42096. </bits>
  42097. <bits access="rw" name="setup" pos="3" rst="0">
  42098. <comment>
  42099. <br>SETUP Phase Done (SetUp)</br>
  42100. <br/>
  42101. <br>Applies to control OUT endpoints only.</br>
  42102. <br/>
  42103. <br>Indicates that the SETUP phase for the control endpoint is</br>
  42104. <br>complete and no more back-to-back SETUP packets were</br>
  42105. <br>received for the current control transfer. On this interrupt, the</br>
  42106. <br>application can decode the received SETUP data packet.</br>
  42107. </comment>
  42108. </bits>
  42109. <bits access="rw" name="outtknepdis" pos="4" rst="0">
  42110. <comment>
  42111. <br>OUT Token Received When Endpoint Disabled (OUTTknEPdis)</br>
  42112. <br/>
  42113. <br>Applies only to control OUT endpoints.</br>
  42114. <br/>
  42115. <br>Indicates that an OUT token was received when the endpoint was not yet enabled. This interrupt is asserted on the endpoint for which the OUT token was received.</br>
  42116. </comment>
  42117. </bits>
  42118. <bits access="rw" name="stsphsercvd" pos="5" rst="0">
  42119. <comment>
  42120. <br>Status Phase Received for Control Write (StsPhseRcvd)</br>
  42121. <br/>
  42122. <br>This interrupt is valid only for Control OUT endpoints and only in</br>
  42123. <br>Scatter Gather DMA mode.</br>
  42124. <br/>
  42125. <br>This interrupt is generated only after the core has transferred all</br>
  42126. <br>the data that the host has sent during the data phase of a control</br>
  42127. <br>write transfer, to the system memory buffer.</br>
  42128. <br/>
  42129. <br>The interrupt indicates to the application that the host has</br>
  42130. <br>switched from data phase to the status phase of a Control Write</br>
  42131. <br>transfer. The application can use this interrupt to ACK or STALL</br>
  42132. <br>the Status phase, after it has decoded the data phase. This is</br>
  42133. <br>applicable only in Case of Scatter Gather DMA mode.</br>
  42134. </comment>
  42135. </bits>
  42136. <bits access="rw" name="back2backsetup" pos="6" rst="0">
  42137. <comment>
  42138. <br>Back-to-Back SETUP Packets Received (Back2BackSETup)</br>
  42139. <br/>
  42140. <br>Applies to Control OUT endpoints only.</br>
  42141. <br/>
  42142. <br>This bit indicates that the core has received more than three</br>
  42143. <br>back-to-back SETUP packets for this particular endpoint. For</br>
  42144. <br>information about handling this interrupt,</br>
  42145. </comment>
  42146. </bits>
  42147. <bits access="rw" name="outpkterr" pos="8" rst="0">
  42148. <comment>
  42149. <br>OUT Packet Error (OutPktErr)</br>
  42150. <br/>
  42151. <br>Applies to OUT endpoints Only</br>
  42152. <br/>
  42153. <br>This interrupt is valid only when thresholding is enabled. This interrupt is asserted when the</br>
  42154. <br>core detects an overflow or a CRC error for non-Isochronous OUT packet.</br>
  42155. </comment>
  42156. </bits>
  42157. <bits access="rw" name="bnaintr" pos="9" rst="0">
  42158. <comment>
  42159. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  42160. <br/>
  42161. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  42162. <br/>
  42163. <br>The core generates this interrupt when the descriptor accessed</br>
  42164. <br>is not ready for the Core to process, such as Host busy or DMA</br>
  42165. <br>done</br>
  42166. </comment>
  42167. </bits>
  42168. <bits access="rw" name="pktdrpsts" pos="11" rst="0">
  42169. <comment>
  42170. <br>Packet Drop Status (PktDrpSts)</br>
  42171. <br/>
  42172. <br>This bit indicates to the application that an ISOC OUT packet has been dropped. This</br>
  42173. <br>bit does not have an associated mask bit and does not generate an interrupt.</br>
  42174. <br/>
  42175. <br>Dependency: This bit is valid in non Scatter/Gather DMA mode when periodic transfer</br>
  42176. <br>interrupt feature is selected.</br>
  42177. </comment>
  42178. </bits>
  42179. <bits access="rw" name="bbleerr" pos="12" rst="0">
  42180. <comment>
  42181. <br>NAK Interrupt (BbleErr)</br>
  42182. <br/>
  42183. <br>The core generates this interrupt when babble is received for the endpoint.</br>
  42184. </comment>
  42185. </bits>
  42186. <bits access="rw" name="nakintrpt" pos="13" rst="0">
  42187. <comment>
  42188. <br>NAK Interrupt (NAKInterrupt)</br>
  42189. <br/>
  42190. <br>The core generates this interrupt when a NAK is transmitted or received by the device.</br>
  42191. <br/>
  42192. <br>In case of isochronous IN endpoints the interrupt gets generated when a zero length</br>
  42193. <br>packet is transmitted due to un-availability of data in the TXFifo.</br>
  42194. </comment>
  42195. </bits>
  42196. <bits access="rw" name="nyetintrpt" pos="14" rst="0">
  42197. <comment>
  42198. <br>NYET Interrupt (NYETIntrpt)</br>
  42199. <br/>
  42200. <br>The core generates this interrupt when a NYET response is transmitted for a non isochronous OUT endpoint.</br>
  42201. </comment>
  42202. </bits>
  42203. <bits access="rw" name="stuppktrcvd" pos="15" rst="0">
  42204. <comment>
  42205. <br>Setup Packet Received</br>
  42206. <br/>
  42207. <br>Applicable for Control OUT Endpoints in only in the Buffer DMA Mode</br>
  42208. <br/>
  42209. <br>Set by the controller, this bit indicates that this buffer holds 8 bytes of</br>
  42210. <br>setup data. There is only one Setup packet per buffer. On receiving a</br>
  42211. <br>Setup packet, the controller closes the buffer and disables the</br>
  42212. <br>corresponding endpoint. The application has to re-enable the endpoint to</br>
  42213. <br>receive any OUT data for the Control Transfer and reprogram the buffer</br>
  42214. <br>start address.</br>
  42215. <br/>
  42216. <br>Note: Because of the above behavior, the controller can receive any</br>
  42217. <br>number of back to back setup packets and one buffer for every setup</br>
  42218. <br>packet is used.</br>
  42219. <br> - 1'b0: No Setup packet received</br>
  42220. <br> - 1'b1: Setup packet received</br>
  42221. <br>Reset: 1'b0</br>
  42222. </comment>
  42223. </bits>
  42224. </reg>
  42225. <hole size="32"/>
  42226. <reg name="doeptsiz9" protect="rw">
  42227. <comment>Device OUT Endpoint 9 Transfer Size Register</comment>
  42228. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  42229. <comment>
  42230. <br>Transfer Size (XferSize)</br>
  42231. <br/>
  42232. <br>Indicates the transfer size in bytes for endpoint 0. The core</br>
  42233. <br>interrupts the application only after it has exhausted the transfer</br>
  42234. <br>size amount of data. The transfer size can be Set to the</br>
  42235. <br>maximum packet size of the endpoint, to be interrupted at the</br>
  42236. <br>end of each packet.</br>
  42237. <br/>
  42238. <br>The core decrements this field every time a packet is read from</br>
  42239. <br>the RxFIFO and written to the external memory.</br>
  42240. </comment>
  42241. </bits>
  42242. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  42243. <comment>
  42244. <br>Packet Count (PktCnt)</br>
  42245. <br>This field is decremented to zero after a packet is written into the RxFIFO.</br>
  42246. </comment>
  42247. </bits>
  42248. <bits access="r" name="rxdpid" pos="30:29" rst="0">
  42249. <comment>
  42250. <br>RxDPID</br>
  42251. <br/>
  42252. <br>Applies to isochronous OUT endpoints only.</br>
  42253. <br/>
  42254. <br>This is the data PID received in the last packet for this endpoint.</br>
  42255. <br> - 2'b00: DATA0</br>
  42256. <br> - 2'b01: DATA2</br>
  42257. <br> - 2'b10: DATA1</br>
  42258. <br> - 2'b11: MDATA</br>
  42259. <br>SETUP Packet Count (SUPCnt)</br>
  42260. <br/>
  42261. <br>Applies to control OUT Endpoints only.</br>
  42262. <br/>
  42263. <br>This field specifies the number of back-to-back SETUP data</br>
  42264. <br>packets the endpoint can receive.</br>
  42265. <br> - 2'b01: 1 packet</br>
  42266. <br> - 2'b10: 2 packets</br>
  42267. <br> - 2'b11: 3 packets</br>
  42268. </comment>
  42269. </bits>
  42270. </reg>
  42271. <reg name="doepdma9" protect="rw">
  42272. <comment>Device OUT Endpoint 9 DMA Address Register</comment>
  42273. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  42274. <comment>
  42275. <br>Holds the start address of the external memory for storing or fetching endpoint</br>
  42276. <br>data.</br>
  42277. <br/>
  42278. <br>Note: For control endpoints, this field stores control OUT data packets as well as</br>
  42279. <br>SETUP transaction data packets. When more than three SETUP packets are</br>
  42280. <br>received back-to-back, the SETUP data packet in the memory is overwritten.</br>
  42281. <br/>
  42282. <br>This register is incremented on every AHB transaction. The application can give</br>
  42283. <br>only a DWORD-aligned address.</br>
  42284. <br> - When Scatter/Gather DMA mode is not enabled, the application programs the start address value in this field.</br>
  42285. <br> - When Scatter/Gather DMA mode is enabled, this field indicates the base pointer for the descriptor list.</br>
  42286. </comment>
  42287. </bits>
  42288. </reg>
  42289. <hole size="32"/>
  42290. <reg name="doepdmab9" protect="r">
  42291. <comment>Device OUT Endpoint 9 Buffer Address Register</comment>
  42292. <bits access="r" name="dmabufferaddr" pos="31:0" rst="0">
  42293. <comment>
  42294. <br>Holds the current buffer address.This register is updated as and when the data</br>
  42295. <br>transfer for the corresponding end point is in progress.</br>
  42296. <br/>
  42297. <br>This register is present only in Scatter/Gather DMA mode. Otherwise this field is reserved.</br>
  42298. </comment>
  42299. </bits>
  42300. </reg>
  42301. <reg name="doepctl10" protect="rw">
  42302. <comment>Device Control OUT Endpoint 10 Control Register</comment>
  42303. <bits access="rw" name="mps" pos="10:0" rst="0">
  42304. <comment>
  42305. <br>Maximum Packet Size (MPS)</br>
  42306. <br/>
  42307. <br>The application must program this field with the maximum packet size for the current</br>
  42308. <br>logical endpoint. This value is in bytes.</br>
  42309. </comment>
  42310. </bits>
  42311. <bits access="rw" name="usbactep" pos="15" rst="0">
  42312. <comment>
  42313. <br>USB Active Endpoint (USBActEP)</br>
  42314. <br/>
  42315. <br>Indicates whether this endpoint is active in the current configuration and interface. The</br>
  42316. <br>core clears this bit for all endpoints (other than EP 0) after detecting a USB reset. After</br>
  42317. <br>receiving the SetConfiguration and SetInterface commands, the application must</br>
  42318. <br>program endpoint registers accordingly and set this bit.</br>
  42319. </comment>
  42320. </bits>
  42321. <bits access="r" name="dpid" pos="16" rst="0">
  42322. <comment>
  42323. <br>Endpoint Data PID (DPID)</br>
  42324. <br/>
  42325. <br>Applies to interrupt/bulk IN and OUT endpoints only.</br>
  42326. <br/>
  42327. <br>Contains the PID of the packet to be received or transmitted on this endpoint. The</br>
  42328. <br>application must program the PID of the first packet to be received or transmitted on</br>
  42329. <br>this endpoint, after the endpoint is activated. The applications use the SetD1PID and</br>
  42330. <br>SetD0PID fields of this register to program either DATA0 or DATA1 PID.</br>
  42331. <br> - 1'b0: DATA0</br>
  42332. <br> - 1'b1: DATA1</br>
  42333. <br>This field is applicable for both Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  42334. <br/>
  42335. <br>Reset: 1'b0</br>
  42336. <br/>
  42337. <br>Even/Odd (Micro)Frame (EO_FrNum)</br>
  42338. <br/>
  42339. <br>In non-Scatter/Gather DMA mode:</br>
  42340. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  42341. <br> - Indicates the (micro)frame number in which the core transmits/receives isochronous data for this endpoint. The application must program the even/odd (micro)frame number in which it intends to transmit/receive isochronous data for this endpoint using the SetEvnFr and SetOddFr fields in this register.</br>
  42342. <br> -- 1'b0: Even (micro)frame</br>
  42343. <br> -- 1'b1: Odd (micro)frame</br>
  42344. <br> - When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is provided in the transmit descriptor structure. The frame in which data is received is updated in receive descriptor structure.</br>
  42345. <br>Reset: 1'b0</br>
  42346. </comment>
  42347. </bits>
  42348. <bits access="r" name="naksts" pos="17" rst="0">
  42349. <comment>
  42350. <br>NAK Status (NAKSts)</br>
  42351. <br/>
  42352. <br>Indicates the following:</br>
  42353. <br> - 1'b0: The core is transmitting non-NAK handshakes based on the FIFO status.</br>
  42354. <br> - 1'b1: The core is transmitting NAK handshakes on this endpoint.</br>
  42355. <br>When either the application or the core sets this bit:</br>
  42356. <br> - The core stops receiving any data on an OUT endpoint, even if there is space in the RxFIFO to accommodate the incoming packet.</br>
  42357. <br> - For non-isochronous IN endpoints: The core stops transmitting any data on an IN endpoint, even if there data is available in the TxFIFO.</br>
  42358. <br> - For isochronous IN endpoints: The core sends out a zero-length data packet, even if there data is available in the TxFIFO.</br>
  42359. <br>Irrespective of this bit's setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  42360. </comment>
  42361. </bits>
  42362. <bits access="rw" name="eptype" pos="19:18" rst="0">
  42363. <comment>
  42364. <br>Endpoint Type (EPType)</br>
  42365. <br/>
  42366. <br>This is the transfer type supported by this logical endpoint.</br>
  42367. <br> - 2'b00: Control</br>
  42368. <br> - 2'b01: Isochronous</br>
  42369. <br> - 2'b10: Bulk</br>
  42370. <br> - 2'b11: Interrupt</br>
  42371. </comment>
  42372. </bits>
  42373. <bits access="rw" name="snp" pos="20" rst="0">
  42374. <comment>
  42375. <br>RESERVED</br>
  42376. </comment>
  42377. </bits>
  42378. <bits access="rw" name="stall" pos="21" rst="0">
  42379. <comment>
  42380. <br>STALL Handshake (Stall)</br>
  42381. <br/>
  42382. <br>Applies to non-control, non-isochronous IN and OUT endpoints only.</br>
  42383. <br/>
  42384. <br>The application sets this bit to stall all tokens from the USB host to this endpoint. If a</br>
  42385. <br>NAK bit, Global Non-periodic IN NAK, or Global OUT NAK is set along with this bit, the</br>
  42386. <br>STALL bit takes priority. Only the application can clear this bit, never the core.</br>
  42387. <br/>
  42388. <br>Applies to control endpoints only.</br>
  42389. <br/>
  42390. <br>The application can only set this bit, and the core clears it, when a SETUP token is</br>
  42391. <br>received for this endpoint. If a NAK bit, Global Non-periodic IN NAK, or Global OUT</br>
  42392. <br>NAK is set along with this bit, the STALL bit takes priority. Irrespective of this bit's</br>
  42393. <br>setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  42394. <br/>
  42395. </comment>
  42396. </bits>
  42397. <bits access="w" name="cnak" pos="26" rst="0">
  42398. <comment>
  42399. <br/>
  42400. <br>Clear NAK (CNAK)</br>
  42401. <br>A write to this bit clears the NAK bit for the endpoint.</br>
  42402. </comment>
  42403. </bits>
  42404. <bits access="w" name="snak" pos="27" rst="0">
  42405. <comment>
  42406. <br>Set NAK (SNAK)</br>
  42407. <br/>
  42408. <br>A write to this bit sets the NAK bit for the endpoint.</br>
  42409. <br/>
  42410. <br>Using this bit, the application can control the transmission of NAK</br>
  42411. <br>handshakes on an endpoint. The core can also set this bit for an</br>
  42412. <br>endpoint after a SETUP packet is received on that endpoint.</br>
  42413. </comment>
  42414. </bits>
  42415. <bits access="w" name="setd0pid" pos="28" rst="0">
  42416. <comment>
  42417. <br>Set DATA0 PID (SetD0PID)</br>
  42418. <br> - Applies to interrupt/bulk IN and OUT endpoints only.</br>
  42419. <br> - Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA0.</br>
  42420. <br> - This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  42421. <br>Reset: 1'b0</br>
  42422. <br/>
  42423. <br>In non-Scatter/Gather DMA mode: Set Even (micro)frame (SetEvenFr)</br>
  42424. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  42425. <br> - Writing to this field sets the Even/Odd (micro)frame (EO_FrNum) field to even (micro)frame.</br>
  42426. <br> - When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is in the transmit descriptor structure. The frame in which to receive data is updated in receive descriptor structure.</br>
  42427. <br>Reset: 1'b0</br>
  42428. </comment>
  42429. </bits>
  42430. <bits access="w" name="setd1pid" pos="29" rst="0">
  42431. <comment>
  42432. <br>Set DATA1 PID (SetD1PID)</br>
  42433. <br> - Applies to interrupt and bulk IN and OUT endpoints only.</br>
  42434. <br> - Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA1.</br>
  42435. <br> - This field is applicable both for scatter-gather DMA mode and non scatter-gather DMA mode.</br>
  42436. <br>Reset: 1'b0</br>
  42437. <br/>
  42438. <br>Set Odd (micro)frame (SetOddFr)</br>
  42439. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  42440. <br> - Writing to this field sets the even and odd (micro)frame (EO_FrNum) field to odd (micro)frame.</br>
  42441. <br>Reset: 1'b0</br>
  42442. </comment>
  42443. </bits>
  42444. <bits access="rw" name="epdis" pos="30" rst="0">
  42445. <comment>
  42446. <br>Endpoint Disable (EPDis)</br>
  42447. <br/>
  42448. <br>Applies to IN and OUT endpoints.</br>
  42449. <br/>
  42450. <br>The application sets this bit to stop transmitting/receiving data on an endpoint, even</br>
  42451. <br>before the transfer for that endpoint is complete. The application must wait for the</br>
  42452. <br>Endpoint Disabled interrupt before treating the endpoint as disabled. The core clears</br>
  42453. <br>this bit before setting the Endpoint Disabled interrupt. The application must set this bit</br>
  42454. <br>only if Endpoint Enable is already set for this endpoint.</br>
  42455. </comment>
  42456. </bits>
  42457. <bits access="rw" name="epena" pos="31" rst="0">
  42458. <comment>
  42459. <br>Endpoint Enable (EPEna)</br>
  42460. <br/>
  42461. <br>Applies to IN and OUT endpoints.</br>
  42462. <br/>
  42463. <br>When Scatter/Gather DMA mode is enabled,</br>
  42464. <br> - For IN endpoints this bit indicates that the descriptor structure and data buffer with data ready to transmit is setup.</br>
  42465. <br> - For OUT endpoint it indicates that the descriptor structure and data buffer to receive data is setup.</br>
  42466. <br>When Scatter/Gather DMA mode is enabled such as for buffer-pointer based DMA mode:</br>
  42467. <br> - For IN endpoints, this bit indicates that data is ready to be transmitted on the endpoint.</br>
  42468. <br> - For OUT endpoints, this bit indicates that the application has allocated the memory to start receiving data from the USB.</br>
  42469. <br>The core clears this bit before setting any of the following interrupts on this endpoint:</br>
  42470. <br> - SETUP Phase Done</br>
  42471. <br> - Endpoint Disabled</br>
  42472. <br> - Transfer Completed</br>
  42473. <br>Note: For control endpoints in DMA mode, this bit must be set to be able to transfer SETUP data packets in memory.</br>
  42474. </comment>
  42475. </bits>
  42476. </reg>
  42477. <hole size="32"/>
  42478. <reg name="doepint10" protect="rw">
  42479. <comment>Device OUT Endpoint 10 Interrupt Register</comment>
  42480. <bits access="rw" name="xfercompl" pos="0" rst="0">
  42481. <comment>
  42482. <br>Transfer Completed Interrupt (XferCompl)</br>
  42483. <br/>
  42484. <br>Applies to IN and OUT endpoints.</br>
  42485. <br> - When Scatter/Gather DMA mode is enabled</br>
  42486. <br> -- For IN endpoint this field indicates that the requested data from the descriptor is moved from external system memory to internal FIFO.</br>
  42487. <br> -- For OUT endpoint this field indicates that the requested data from the internal FIFO is moved to external system memory. This interrupt is generated only when the corresponding endpoint descriptor is closed, and the IOC bit for the corresponding descriptor is Set.</br>
  42488. <br> - When Scatter/Gather DMA mode is disabled, this field indicates that the programmed transfer is complete on the AHB as well as on the USB, for this endpoint.</br>
  42489. </comment>
  42490. </bits>
  42491. <bits access="rw" name="epdisbld" pos="1" rst="0">
  42492. <comment>
  42493. <br>Endpoint Disabled Interrupt (EPDisbld)</br>
  42494. <br/>
  42495. <br>Applies to IN and OUT endpoints.</br>
  42496. <br/>
  42497. <br>This bit indicates that the endpoint is disabled per the application's request.</br>
  42498. </comment>
  42499. </bits>
  42500. <bits access="rw" name="ahberr" pos="2" rst="0">
  42501. <comment>
  42502. <br>AHB Error (AHBErr)</br>
  42503. <br/>
  42504. <br>Applies to IN and OUT endpoints.</br>
  42505. <br/>
  42506. <br>This is generated only in Internal DMA mode when there is an</br>
  42507. <br>AHB error during an AHB read/write. The application can read</br>
  42508. <br>the corresponding endpoint DMA address register to get the</br>
  42509. <br>error address.</br>
  42510. </comment>
  42511. </bits>
  42512. <bits access="rw" name="setup" pos="3" rst="0">
  42513. <comment>
  42514. <br>SETUP Phase Done (SetUp)</br>
  42515. <br/>
  42516. <br>Applies to control OUT endpoints only.</br>
  42517. <br/>
  42518. <br>Indicates that the SETUP phase for the control endpoint is</br>
  42519. <br>complete and no more back-to-back SETUP packets were</br>
  42520. <br>received for the current control transfer. On this interrupt, the</br>
  42521. <br>application can decode the received SETUP data packet.</br>
  42522. </comment>
  42523. </bits>
  42524. <bits access="rw" name="outtknepdis" pos="4" rst="0">
  42525. <comment>
  42526. <br>OUT Token Received When Endpoint Disabled (OUTTknEPdis)</br>
  42527. <br/>
  42528. <br>Applies only to control OUT endpoints.</br>
  42529. <br/>
  42530. <br>Indicates that an OUT token was received when the endpoint was not yet enabled. This interrupt is asserted on the endpoint for which the OUT token was received.</br>
  42531. </comment>
  42532. </bits>
  42533. <bits access="rw" name="stsphsercvd" pos="5" rst="0">
  42534. <comment>
  42535. <br>Status Phase Received for Control Write (StsPhseRcvd)</br>
  42536. <br/>
  42537. <br>This interrupt is valid only for Control OUT endpoints and only in</br>
  42538. <br>Scatter Gather DMA mode.</br>
  42539. <br/>
  42540. <br>This interrupt is generated only after the core has transferred all</br>
  42541. <br>the data that the host has sent during the data phase of a control</br>
  42542. <br>write transfer, to the system memory buffer.</br>
  42543. <br/>
  42544. <br>The interrupt indicates to the application that the host has</br>
  42545. <br>switched from data phase to the status phase of a Control Write</br>
  42546. <br>transfer. The application can use this interrupt to ACK or STALL</br>
  42547. <br>the Status phase, after it has decoded the data phase. This is</br>
  42548. <br>applicable only in Case of Scatter Gather DMA mode.</br>
  42549. </comment>
  42550. </bits>
  42551. <bits access="rw" name="back2backsetup" pos="6" rst="0">
  42552. <comment>
  42553. <br>Back-to-Back SETUP Packets Received (Back2BackSETup)</br>
  42554. <br/>
  42555. <br>Applies to Control OUT endpoints only.</br>
  42556. <br/>
  42557. <br>This bit indicates that the core has received more than three</br>
  42558. <br>back-to-back SETUP packets for this particular endpoint. For</br>
  42559. <br>information about handling this interrupt,</br>
  42560. </comment>
  42561. </bits>
  42562. <bits access="rw" name="outpkterr" pos="8" rst="0">
  42563. <comment>
  42564. <br>OUT Packet Error (OutPktErr)</br>
  42565. <br/>
  42566. <br>Applies to OUT endpoints Only</br>
  42567. <br/>
  42568. <br>This interrupt is valid only when thresholding is enabled. This interrupt is asserted when the</br>
  42569. <br>core detects an overflow or a CRC error for non-Isochronous OUT packet.</br>
  42570. </comment>
  42571. </bits>
  42572. <bits access="rw" name="bnaintr" pos="9" rst="0">
  42573. <comment>
  42574. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  42575. <br/>
  42576. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  42577. <br/>
  42578. <br>The core generates this interrupt when the descriptor accessed</br>
  42579. <br>is not ready for the Core to process, such as Host busy or DMA</br>
  42580. <br>done</br>
  42581. </comment>
  42582. </bits>
  42583. <bits access="rw" name="pktdrpsts" pos="11" rst="0">
  42584. <comment>
  42585. <br>Packet Drop Status (PktDrpSts)</br>
  42586. <br/>
  42587. <br>This bit indicates to the application that an ISOC OUT packet has been dropped. This</br>
  42588. <br>bit does not have an associated mask bit and does not generate an interrupt.</br>
  42589. <br/>
  42590. <br>Dependency: This bit is valid in non Scatter/Gather DMA mode when periodic transfer</br>
  42591. <br>interrupt feature is selected.</br>
  42592. </comment>
  42593. </bits>
  42594. <bits access="rw" name="bbleerr" pos="12" rst="0">
  42595. <comment>
  42596. <br>NAK Interrupt (BbleErr)</br>
  42597. <br/>
  42598. <br>The core generates this interrupt when babble is received for the endpoint.</br>
  42599. </comment>
  42600. </bits>
  42601. <bits access="rw" name="nakintrpt" pos="13" rst="0">
  42602. <comment>
  42603. <br>NAK Interrupt (NAKInterrupt)</br>
  42604. <br/>
  42605. <br>The core generates this interrupt when a NAK is transmitted or received by the device.</br>
  42606. <br/>
  42607. <br>In case of isochronous IN endpoints the interrupt gets generated when a zero length</br>
  42608. <br>packet is transmitted due to un-availability of data in the TXFifo.</br>
  42609. </comment>
  42610. </bits>
  42611. <bits access="rw" name="nyetintrpt" pos="14" rst="0">
  42612. <comment>
  42613. <br>NYET Interrupt (NYETIntrpt)</br>
  42614. <br/>
  42615. <br>The core generates this interrupt when a NYET response is transmitted for a non isochronous OUT endpoint.</br>
  42616. </comment>
  42617. </bits>
  42618. <bits access="rw" name="stuppktrcvd" pos="15" rst="0">
  42619. <comment>
  42620. <br>Setup Packet Received</br>
  42621. <br/>
  42622. <br>Applicable for Control OUT Endpoints in only in the Buffer DMA Mode</br>
  42623. <br/>
  42624. <br>Set by the controller, this bit indicates that this buffer holds 8 bytes of</br>
  42625. <br>setup data. There is only one Setup packet per buffer. On receiving a</br>
  42626. <br>Setup packet, the controller closes the buffer and disables the</br>
  42627. <br>corresponding endpoint. The application has to re-enable the endpoint to</br>
  42628. <br>receive any OUT data for the Control Transfer and reprogram the buffer</br>
  42629. <br>start address.</br>
  42630. <br/>
  42631. <br>Note: Because of the above behavior, the controller can receive any</br>
  42632. <br>number of back to back setup packets and one buffer for every setup</br>
  42633. <br>packet is used.</br>
  42634. <br> - 1'b0: No Setup packet received</br>
  42635. <br> - 1'b1: Setup packet received</br>
  42636. <br>Reset: 1'b0</br>
  42637. </comment>
  42638. </bits>
  42639. </reg>
  42640. <hole size="32"/>
  42641. <reg name="doeptsiz10" protect="rw">
  42642. <comment>Device OUT Endpoint 10 Transfer Size Register</comment>
  42643. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  42644. <comment>
  42645. <br>Transfer Size (XferSize)</br>
  42646. <br/>
  42647. <br>Indicates the transfer size in bytes for endpoint 0. The core</br>
  42648. <br>interrupts the application only after it has exhausted the transfer</br>
  42649. <br>size amount of data. The transfer size can be Set to the</br>
  42650. <br>maximum packet size of the endpoint, to be interrupted at the</br>
  42651. <br>end of each packet.</br>
  42652. <br/>
  42653. <br>The core decrements this field every time a packet is read from</br>
  42654. <br>the RxFIFO and written to the external memory.</br>
  42655. </comment>
  42656. </bits>
  42657. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  42658. <comment>
  42659. <br>Packet Count (PktCnt)</br>
  42660. <br>This field is decremented to zero after a packet is written into the RxFIFO.</br>
  42661. </comment>
  42662. </bits>
  42663. <bits access="r" name="rxdpid" pos="30:29" rst="0">
  42664. <comment>
  42665. <br>RxDPID</br>
  42666. <br/>
  42667. <br>Applies to isochronous OUT endpoints only.</br>
  42668. <br/>
  42669. <br>This is the data PID received in the last packet for this endpoint.</br>
  42670. <br> - 2'b00: DATA0</br>
  42671. <br> - 2'b01: DATA2</br>
  42672. <br> - 2'b10: DATA1</br>
  42673. <br> - 2'b11: MDATA</br>
  42674. <br>SETUP Packet Count (SUPCnt)</br>
  42675. <br/>
  42676. <br>Applies to control OUT Endpoints only.</br>
  42677. <br/>
  42678. <br>This field specifies the number of back-to-back SETUP data</br>
  42679. <br>packets the endpoint can receive.</br>
  42680. <br> - 2'b01: 1 packet</br>
  42681. <br> - 2'b10: 2 packets</br>
  42682. <br> - 2'b11: 3 packets</br>
  42683. </comment>
  42684. </bits>
  42685. </reg>
  42686. <reg name="doepdma10" protect="rw">
  42687. <comment>Device OUT Endpoint 10 DMA Address Register</comment>
  42688. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  42689. <comment>
  42690. <br>Holds the start address of the external memory for storing or fetching endpoint</br>
  42691. <br>data.</br>
  42692. <br/>
  42693. <br>Note: For control endpoints, this field stores control OUT data packets as well as</br>
  42694. <br>SETUP transaction data packets. When more than three SETUP packets are</br>
  42695. <br>received back-to-back, the SETUP data packet in the memory is overwritten.</br>
  42696. <br/>
  42697. <br>This register is incremented on every AHB transaction. The application can give</br>
  42698. <br>only a DWORD-aligned address.</br>
  42699. <br> - When Scatter/Gather DMA mode is not enabled, the application programs the start address value in this field.</br>
  42700. <br> - When Scatter/Gather DMA mode is enabled, this field indicates the base pointer for the descriptor list.</br>
  42701. </comment>
  42702. </bits>
  42703. </reg>
  42704. <hole size="32"/>
  42705. <reg name="doepdmab10" protect="r">
  42706. <comment>Device OUT Endpoint 10 Buffer Address Register</comment>
  42707. <bits access="r" name="dmabufferaddr" pos="31:0" rst="0">
  42708. <comment>
  42709. <br>Holds the current buffer address.This register is updated as and when the data</br>
  42710. <br>transfer for the corresponding end point is in progress.</br>
  42711. <br/>
  42712. <br>This register is present only in Scatter/Gather DMA mode. Otherwise this field is reserved.</br>
  42713. </comment>
  42714. </bits>
  42715. </reg>
  42716. <reg name="doepctl11" protect="rw">
  42717. <comment>Device Control OUT Endpoint 11 Control Register</comment>
  42718. <bits access="rw" name="mps" pos="10:0" rst="0">
  42719. <comment>
  42720. <br>Maximum Packet Size (MPS)</br>
  42721. <br/>
  42722. <br>The application must program this field with the maximum packet size for the current</br>
  42723. <br>logical endpoint. This value is in bytes.</br>
  42724. </comment>
  42725. </bits>
  42726. <bits access="rw" name="usbactep" pos="15" rst="0">
  42727. <comment>
  42728. <br>USB Active Endpoint (USBActEP)</br>
  42729. <br/>
  42730. <br>Indicates whether this endpoint is active in the current configuration and interface. The</br>
  42731. <br>core clears this bit for all endpoints (other than EP 0) after detecting a USB reset. After</br>
  42732. <br>receiving the SetConfiguration and SetInterface commands, the application must</br>
  42733. <br>program endpoint registers accordingly and set this bit.</br>
  42734. </comment>
  42735. </bits>
  42736. <bits access="r" name="dpid" pos="16" rst="0">
  42737. <comment>
  42738. <br>Endpoint Data PID (DPID)</br>
  42739. <br/>
  42740. <br>Applies to interrupt/bulk IN and OUT endpoints only.</br>
  42741. <br/>
  42742. <br>Contains the PID of the packet to be received or transmitted on this endpoint. The</br>
  42743. <br>application must program the PID of the first packet to be received or transmitted on</br>
  42744. <br>this endpoint, after the endpoint is activated. The applications use the SetD1PID and</br>
  42745. <br>SetD0PID fields of this register to program either DATA0 or DATA1 PID.</br>
  42746. <br> - 1'b0: DATA0</br>
  42747. <br> - 1'b1: DATA1</br>
  42748. <br>This field is applicable for both Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  42749. <br/>
  42750. <br>Reset: 1'b0</br>
  42751. <br/>
  42752. <br>Even/Odd (Micro)Frame (EO_FrNum)</br>
  42753. <br/>
  42754. <br>In non-Scatter/Gather DMA mode:</br>
  42755. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  42756. <br> - Indicates the (micro)frame number in which the core transmits/receives isochronous data for this endpoint. The application must program the even/odd (micro)frame number in which it intends to transmit/receive isochronous data for this endpoint using the SetEvnFr and SetOddFr fields in this register.</br>
  42757. <br> -- 1'b0: Even (micro)frame</br>
  42758. <br> -- 1'b1: Odd (micro)frame</br>
  42759. <br> - When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is provided in the transmit descriptor structure. The frame in which data is received is updated in receive descriptor structure.</br>
  42760. <br>Reset: 1'b0</br>
  42761. </comment>
  42762. </bits>
  42763. <bits access="r" name="naksts" pos="17" rst="0">
  42764. <comment>
  42765. <br>NAK Status (NAKSts)</br>
  42766. <br/>
  42767. <br>Indicates the following:</br>
  42768. <br> - 1'b0: The core is transmitting non-NAK handshakes based on the FIFO status.</br>
  42769. <br> - 1'b1: The core is transmitting NAK handshakes on this endpoint.</br>
  42770. <br>When either the application or the core sets this bit:</br>
  42771. <br> - The core stops receiving any data on an OUT endpoint, even if there is space in the RxFIFO to accommodate the incoming packet.</br>
  42772. <br> - For non-isochronous IN endpoints: The core stops transmitting any data on an IN endpoint, even if there data is available in the TxFIFO.</br>
  42773. <br> - For isochronous IN endpoints: The core sends out a zero-length data packet, even if there data is available in the TxFIFO.</br>
  42774. <br>Irrespective of this bit's setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  42775. </comment>
  42776. </bits>
  42777. <bits access="rw" name="eptype" pos="19:18" rst="0">
  42778. <comment>
  42779. <br>Endpoint Type (EPType)</br>
  42780. <br/>
  42781. <br>This is the transfer type supported by this logical endpoint.</br>
  42782. <br> - 2'b00: Control</br>
  42783. <br> - 2'b01: Isochronous</br>
  42784. <br> - 2'b10: Bulk</br>
  42785. <br> - 2'b11: Interrupt</br>
  42786. </comment>
  42787. </bits>
  42788. <bits access="rw" name="snp" pos="20" rst="0">
  42789. <comment>
  42790. <br>RESERVED</br>
  42791. </comment>
  42792. </bits>
  42793. <bits access="rw" name="stall" pos="21" rst="0">
  42794. <comment>
  42795. <br>STALL Handshake (Stall)</br>
  42796. <br/>
  42797. <br>Applies to non-control, non-isochronous IN and OUT endpoints only.</br>
  42798. <br/>
  42799. <br>The application sets this bit to stall all tokens from the USB host to this endpoint. If a</br>
  42800. <br>NAK bit, Global Non-periodic IN NAK, or Global OUT NAK is set along with this bit, the</br>
  42801. <br>STALL bit takes priority. Only the application can clear this bit, never the core.</br>
  42802. <br/>
  42803. <br>Applies to control endpoints only.</br>
  42804. <br/>
  42805. <br>The application can only set this bit, and the core clears it, when a SETUP token is</br>
  42806. <br>received for this endpoint. If a NAK bit, Global Non-periodic IN NAK, or Global OUT</br>
  42807. <br>NAK is set along with this bit, the STALL bit takes priority. Irrespective of this bit's</br>
  42808. <br>setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  42809. <br/>
  42810. </comment>
  42811. </bits>
  42812. <bits access="w" name="cnak" pos="26" rst="0">
  42813. <comment>
  42814. <br/>
  42815. <br>Clear NAK (CNAK)</br>
  42816. <br>A write to this bit clears the NAK bit for the endpoint.</br>
  42817. </comment>
  42818. </bits>
  42819. <bits access="w" name="snak" pos="27" rst="0">
  42820. <comment>
  42821. <br>Set NAK (SNAK)</br>
  42822. <br/>
  42823. <br>A write to this bit sets the NAK bit for the endpoint.</br>
  42824. <br/>
  42825. <br>Using this bit, the application can control the transmission of NAK</br>
  42826. <br>handshakes on an endpoint. The core can also set this bit for an</br>
  42827. <br>endpoint after a SETUP packet is received on that endpoint.</br>
  42828. </comment>
  42829. </bits>
  42830. <bits access="w" name="setd0pid" pos="28" rst="0">
  42831. <comment>
  42832. <br>Set DATA0 PID (SetD0PID)</br>
  42833. <br> - Applies to interrupt/bulk IN and OUT endpoints only.</br>
  42834. <br> - Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA0.</br>
  42835. <br> - This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  42836. <br>Reset: 1'b0</br>
  42837. <br/>
  42838. <br>In non-Scatter/Gather DMA mode: Set Even (micro)frame (SetEvenFr)</br>
  42839. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  42840. <br> - Writing to this field sets the Even/Odd (micro)frame (EO_FrNum) field to even (micro)frame.</br>
  42841. <br> - When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is in the transmit descriptor structure. The frame in which to receive data is updated in receive descriptor structure.</br>
  42842. <br>Reset: 1'b0</br>
  42843. </comment>
  42844. </bits>
  42845. <bits access="w" name="setd1pid" pos="29" rst="0">
  42846. <comment>
  42847. <br>Set DATA1 PID (SetD1PID)</br>
  42848. <br> - Applies to interrupt and bulk IN and OUT endpoints only.</br>
  42849. <br> - Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA1.</br>
  42850. <br> - This field is applicable both for scatter-gather DMA mode and non scatter-gather DMA mode.</br>
  42851. <br>Reset: 1'b0</br>
  42852. <br/>
  42853. <br>Set Odd (micro)frame (SetOddFr)</br>
  42854. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  42855. <br> - Writing to this field sets the even and odd (micro)frame (EO_FrNum) field to odd (micro)frame.</br>
  42856. <br>Reset: 1'b0</br>
  42857. </comment>
  42858. </bits>
  42859. <bits access="rw" name="epdis" pos="30" rst="0">
  42860. <comment>
  42861. <br>Endpoint Disable (EPDis)</br>
  42862. <br/>
  42863. <br>Applies to IN and OUT endpoints.</br>
  42864. <br/>
  42865. <br>The application sets this bit to stop transmitting/receiving data on an endpoint, even</br>
  42866. <br>before the transfer for that endpoint is complete. The application must wait for the</br>
  42867. <br>Endpoint Disabled interrupt before treating the endpoint as disabled. The core clears</br>
  42868. <br>this bit before setting the Endpoint Disabled interrupt. The application must set this bit</br>
  42869. <br>only if Endpoint Enable is already set for this endpoint.</br>
  42870. </comment>
  42871. </bits>
  42872. <bits access="rw" name="epena" pos="31" rst="0">
  42873. <comment>
  42874. <br>Endpoint Enable (EPEna)</br>
  42875. <br/>
  42876. <br>Applies to IN and OUT endpoints.</br>
  42877. <br/>
  42878. <br>When Scatter/Gather DMA mode is enabled,</br>
  42879. <br> - For IN endpoints this bit indicates that the descriptor structure and data buffer with data ready to transmit is setup.</br>
  42880. <br> - For OUT endpoint it indicates that the descriptor structure and data buffer to receive data is setup.</br>
  42881. <br>When Scatter/Gather DMA mode is enabled such as for buffer-pointer based DMA mode:</br>
  42882. <br> - For IN endpoints, this bit indicates that data is ready to be transmitted on the endpoint.</br>
  42883. <br> - For OUT endpoints, this bit indicates that the application has allocated the memory to start receiving data from the USB.</br>
  42884. <br>The core clears this bit before setting any of the following interrupts on this endpoint:</br>
  42885. <br> - SETUP Phase Done</br>
  42886. <br> - Endpoint Disabled</br>
  42887. <br> - Transfer Completed</br>
  42888. <br>Note: For control endpoints in DMA mode, this bit must be set to be able to transfer SETUP data packets in memory.</br>
  42889. </comment>
  42890. </bits>
  42891. </reg>
  42892. <hole size="32"/>
  42893. <reg name="doepint11" protect="rw">
  42894. <comment>Device OUT Endpoint 11 Interrupt Register</comment>
  42895. <bits access="rw" name="xfercompl" pos="0" rst="0">
  42896. <comment>
  42897. <br>Transfer Completed Interrupt (XferCompl)</br>
  42898. <br/>
  42899. <br>Applies to IN and OUT endpoints.</br>
  42900. <br> - When Scatter/Gather DMA mode is enabled</br>
  42901. <br> -- For IN endpoint this field indicates that the requested data from the descriptor is moved from external system memory to internal FIFO.</br>
  42902. <br> -- For OUT endpoint this field indicates that the requested data from the internal FIFO is moved to external system memory. This interrupt is generated only when the corresponding endpoint descriptor is closed, and the IOC bit for the corresponding descriptor is Set.</br>
  42903. <br> - When Scatter/Gather DMA mode is disabled, this field indicates that the programmed transfer is complete on the AHB as well as on the USB, for this endpoint.</br>
  42904. </comment>
  42905. </bits>
  42906. <bits access="rw" name="epdisbld" pos="1" rst="0">
  42907. <comment>
  42908. <br>Endpoint Disabled Interrupt (EPDisbld)</br>
  42909. <br/>
  42910. <br>Applies to IN and OUT endpoints.</br>
  42911. <br/>
  42912. <br>This bit indicates that the endpoint is disabled per the application's request.</br>
  42913. </comment>
  42914. </bits>
  42915. <bits access="rw" name="ahberr" pos="2" rst="0">
  42916. <comment>
  42917. <br>AHB Error (AHBErr)</br>
  42918. <br/>
  42919. <br>Applies to IN and OUT endpoints.</br>
  42920. <br/>
  42921. <br>This is generated only in Internal DMA mode when there is an</br>
  42922. <br>AHB error during an AHB read/write. The application can read</br>
  42923. <br>the corresponding endpoint DMA address register to get the</br>
  42924. <br>error address.</br>
  42925. </comment>
  42926. </bits>
  42927. <bits access="rw" name="setup" pos="3" rst="0">
  42928. <comment>
  42929. <br>SETUP Phase Done (SetUp)</br>
  42930. <br/>
  42931. <br>Applies to control OUT endpoints only.</br>
  42932. <br/>
  42933. <br>Indicates that the SETUP phase for the control endpoint is</br>
  42934. <br>complete and no more back-to-back SETUP packets were</br>
  42935. <br>received for the current control transfer. On this interrupt, the</br>
  42936. <br>application can decode the received SETUP data packet.</br>
  42937. </comment>
  42938. </bits>
  42939. <bits access="rw" name="outtknepdis" pos="4" rst="0">
  42940. <comment>
  42941. <br>OUT Token Received When Endpoint Disabled (OUTTknEPdis)</br>
  42942. <br/>
  42943. <br>Applies only to control OUT endpoints.</br>
  42944. <br/>
  42945. <br>Indicates that an OUT token was received when the endpoint was not yet enabled. This interrupt is asserted on the endpoint for which the OUT token was received.</br>
  42946. </comment>
  42947. </bits>
  42948. <bits access="rw" name="stsphsercvd" pos="5" rst="0">
  42949. <comment>
  42950. <br>Status Phase Received for Control Write (StsPhseRcvd)</br>
  42951. <br/>
  42952. <br>This interrupt is valid only for Control OUT endpoints and only in</br>
  42953. <br>Scatter Gather DMA mode.</br>
  42954. <br/>
  42955. <br>This interrupt is generated only after the core has transferred all</br>
  42956. <br>the data that the host has sent during the data phase of a control</br>
  42957. <br>write transfer, to the system memory buffer.</br>
  42958. <br/>
  42959. <br>The interrupt indicates to the application that the host has</br>
  42960. <br>switched from data phase to the status phase of a Control Write</br>
  42961. <br>transfer. The application can use this interrupt to ACK or STALL</br>
  42962. <br>the Status phase, after it has decoded the data phase. This is</br>
  42963. <br>applicable only in Case of Scatter Gather DMA mode.</br>
  42964. </comment>
  42965. </bits>
  42966. <bits access="rw" name="back2backsetup" pos="6" rst="0">
  42967. <comment>
  42968. <br>Back-to-Back SETUP Packets Received (Back2BackSETup)</br>
  42969. <br/>
  42970. <br>Applies to Control OUT endpoints only.</br>
  42971. <br/>
  42972. <br>This bit indicates that the core has received more than three</br>
  42973. <br>back-to-back SETUP packets for this particular endpoint. For</br>
  42974. <br>information about handling this interrupt,</br>
  42975. </comment>
  42976. </bits>
  42977. <bits access="rw" name="outpkterr" pos="8" rst="0">
  42978. <comment>
  42979. <br>OUT Packet Error (OutPktErr)</br>
  42980. <br/>
  42981. <br>Applies to OUT endpoints Only</br>
  42982. <br/>
  42983. <br>This interrupt is valid only when thresholding is enabled. This interrupt is asserted when the</br>
  42984. <br>core detects an overflow or a CRC error for non-Isochronous OUT packet.</br>
  42985. </comment>
  42986. </bits>
  42987. <bits access="rw" name="bnaintr" pos="9" rst="0">
  42988. <comment>
  42989. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  42990. <br/>
  42991. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  42992. <br/>
  42993. <br>The core generates this interrupt when the descriptor accessed</br>
  42994. <br>is not ready for the Core to process, such as Host busy or DMA</br>
  42995. <br>done</br>
  42996. </comment>
  42997. </bits>
  42998. <bits access="rw" name="pktdrpsts" pos="11" rst="0">
  42999. <comment>
  43000. <br>Packet Drop Status (PktDrpSts)</br>
  43001. <br/>
  43002. <br>This bit indicates to the application that an ISOC OUT packet has been dropped. This</br>
  43003. <br>bit does not have an associated mask bit and does not generate an interrupt.</br>
  43004. <br/>
  43005. <br>Dependency: This bit is valid in non Scatter/Gather DMA mode when periodic transfer</br>
  43006. <br>interrupt feature is selected.</br>
  43007. </comment>
  43008. </bits>
  43009. <bits access="rw" name="bbleerr" pos="12" rst="0">
  43010. <comment>
  43011. <br>NAK Interrupt (BbleErr)</br>
  43012. <br/>
  43013. <br>The core generates this interrupt when babble is received for the endpoint.</br>
  43014. </comment>
  43015. </bits>
  43016. <bits access="rw" name="nakintrpt" pos="13" rst="0">
  43017. <comment>
  43018. <br>NAK Interrupt (NAKInterrupt)</br>
  43019. <br/>
  43020. <br>The core generates this interrupt when a NAK is transmitted or received by the device.</br>
  43021. <br/>
  43022. <br>In case of isochronous IN endpoints the interrupt gets generated when a zero length</br>
  43023. <br>packet is transmitted due to un-availability of data in the TXFifo.</br>
  43024. </comment>
  43025. </bits>
  43026. <bits access="rw" name="nyetintrpt" pos="14" rst="0">
  43027. <comment>
  43028. <br>NYET Interrupt (NYETIntrpt)</br>
  43029. <br/>
  43030. <br>The core generates this interrupt when a NYET response is transmitted for a non isochronous OUT endpoint.</br>
  43031. </comment>
  43032. </bits>
  43033. <bits access="rw" name="stuppktrcvd" pos="15" rst="0">
  43034. <comment>
  43035. <br>Setup Packet Received</br>
  43036. <br/>
  43037. <br>Applicable for Control OUT Endpoints in only in the Buffer DMA Mode</br>
  43038. <br/>
  43039. <br>Set by the controller, this bit indicates that this buffer holds 8 bytes of</br>
  43040. <br>setup data. There is only one Setup packet per buffer. On receiving a</br>
  43041. <br>Setup packet, the controller closes the buffer and disables the</br>
  43042. <br>corresponding endpoint. The application has to re-enable the endpoint to</br>
  43043. <br>receive any OUT data for the Control Transfer and reprogram the buffer</br>
  43044. <br>start address.</br>
  43045. <br/>
  43046. <br>Note: Because of the above behavior, the controller can receive any</br>
  43047. <br>number of back to back setup packets and one buffer for every setup</br>
  43048. <br>packet is used.</br>
  43049. <br> - 1'b0: No Setup packet received</br>
  43050. <br> - 1'b1: Setup packet received</br>
  43051. <br>Reset: 1'b0</br>
  43052. </comment>
  43053. </bits>
  43054. </reg>
  43055. <hole size="32"/>
  43056. <reg name="doeptsiz11" protect="rw">
  43057. <comment>Device OUT Endpoint 11 Transfer Size Register</comment>
  43058. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  43059. <comment>
  43060. <br>Transfer Size (XferSize)</br>
  43061. <br/>
  43062. <br>Indicates the transfer size in bytes for endpoint 0. The core</br>
  43063. <br>interrupts the application only after it has exhausted the transfer</br>
  43064. <br>size amount of data. The transfer size can be Set to the</br>
  43065. <br>maximum packet size of the endpoint, to be interrupted at the</br>
  43066. <br>end of each packet.</br>
  43067. <br/>
  43068. <br>The core decrements this field every time a packet is read from</br>
  43069. <br>the RxFIFO and written to the external memory.</br>
  43070. </comment>
  43071. </bits>
  43072. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  43073. <comment>
  43074. <br>Packet Count (PktCnt)</br>
  43075. <br>This field is decremented to zero after a packet is written into the RxFIFO.</br>
  43076. </comment>
  43077. </bits>
  43078. <bits access="r" name="rxdpid" pos="30:29" rst="0">
  43079. <comment>
  43080. <br>RxDPID</br>
  43081. <br/>
  43082. <br>Applies to isochronous OUT endpoints only.</br>
  43083. <br/>
  43084. <br>This is the data PID received in the last packet for this endpoint.</br>
  43085. <br> - 2'b00: DATA0</br>
  43086. <br> - 2'b01: DATA2</br>
  43087. <br> - 2'b10: DATA1</br>
  43088. <br> - 2'b11: MDATA</br>
  43089. <br>SETUP Packet Count (SUPCnt)</br>
  43090. <br/>
  43091. <br>Applies to control OUT Endpoints only.</br>
  43092. <br/>
  43093. <br>This field specifies the number of back-to-back SETUP data</br>
  43094. <br>packets the endpoint can receive.</br>
  43095. <br> - 2'b01: 1 packet</br>
  43096. <br> - 2'b10: 2 packets</br>
  43097. <br> - 2'b11: 3 packets</br>
  43098. </comment>
  43099. </bits>
  43100. </reg>
  43101. <reg name="doepdma11" protect="rw">
  43102. <comment>Device OUT Endpoint 11 DMA Address Register</comment>
  43103. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  43104. <comment>
  43105. <br>Holds the start address of the external memory for storing or fetching endpoint</br>
  43106. <br>data.</br>
  43107. <br/>
  43108. <br>Note: For control endpoints, this field stores control OUT data packets as well as</br>
  43109. <br>SETUP transaction data packets. When more than three SETUP packets are</br>
  43110. <br>received back-to-back, the SETUP data packet in the memory is overwritten.</br>
  43111. <br/>
  43112. <br>This register is incremented on every AHB transaction. The application can give</br>
  43113. <br>only a DWORD-aligned address.</br>
  43114. <br> - When Scatter/Gather DMA mode is not enabled, the application programs the start address value in this field.</br>
  43115. <br> - When Scatter/Gather DMA mode is enabled, this field indicates the base pointer for the descriptor list.</br>
  43116. </comment>
  43117. </bits>
  43118. </reg>
  43119. <hole size="32"/>
  43120. <reg name="doepdmab11" protect="r">
  43121. <comment>Device OUT Endpoint 11 Buffer Address Register</comment>
  43122. <bits access="r" name="dmabufferaddr" pos="31:0" rst="0">
  43123. <comment>
  43124. <br>Holds the current buffer address.This register is updated as and when the data</br>
  43125. <br>transfer for the corresponding end point is in progress.</br>
  43126. <br/>
  43127. <br>This register is present only in Scatter/Gather DMA mode. Otherwise this field is reserved.</br>
  43128. </comment>
  43129. </bits>
  43130. </reg>
  43131. <reg name="doepctl12" protect="rw">
  43132. <comment>Device Control OUT Endpoint 12 Control Register</comment>
  43133. <bits access="rw" name="mps" pos="10:0" rst="0">
  43134. <comment>
  43135. <br>Maximum Packet Size (MPS)</br>
  43136. <br/>
  43137. <br>The application must program this field with the maximum packet size for the current</br>
  43138. <br>logical endpoint. This value is in bytes.</br>
  43139. </comment>
  43140. </bits>
  43141. <bits access="rw" name="usbactep" pos="15" rst="0">
  43142. <comment>
  43143. <br>USB Active Endpoint (USBActEP)</br>
  43144. <br/>
  43145. <br>Indicates whether this endpoint is active in the current configuration and interface. The</br>
  43146. <br>core clears this bit for all endpoints (other than EP 0) after detecting a USB reset. After</br>
  43147. <br>receiving the SetConfiguration and SetInterface commands, the application must</br>
  43148. <br>program endpoint registers accordingly and set this bit.</br>
  43149. </comment>
  43150. </bits>
  43151. <bits access="r" name="dpid" pos="16" rst="0">
  43152. <comment>
  43153. <br>Endpoint Data PID (DPID)</br>
  43154. <br/>
  43155. <br>Applies to interrupt/bulk IN and OUT endpoints only.</br>
  43156. <br/>
  43157. <br>Contains the PID of the packet to be received or transmitted on this endpoint. The</br>
  43158. <br>application must program the PID of the first packet to be received or transmitted on</br>
  43159. <br>this endpoint, after the endpoint is activated. The applications use the SetD1PID and</br>
  43160. <br>SetD0PID fields of this register to program either DATA0 or DATA1 PID.</br>
  43161. <br> - 1'b0: DATA0</br>
  43162. <br> - 1'b1: DATA1</br>
  43163. <br>This field is applicable for both Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  43164. <br/>
  43165. <br>Reset: 1'b0</br>
  43166. <br/>
  43167. <br>Even/Odd (Micro)Frame (EO_FrNum)</br>
  43168. <br/>
  43169. <br>In non-Scatter/Gather DMA mode:</br>
  43170. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  43171. <br> - Indicates the (micro)frame number in which the core transmits/receives isochronous data for this endpoint. The application must program the even/odd (micro)frame number in which it intends to transmit/receive isochronous data for this endpoint using the SetEvnFr and SetOddFr fields in this register.</br>
  43172. <br> -- 1'b0: Even (micro)frame</br>
  43173. <br> -- 1'b1: Odd (micro)frame</br>
  43174. <br> - When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is provided in the transmit descriptor structure. The frame in which data is received is updated in receive descriptor structure.</br>
  43175. <br>Reset: 1'b0</br>
  43176. </comment>
  43177. </bits>
  43178. <bits access="r" name="naksts" pos="17" rst="0">
  43179. <comment>
  43180. <br>NAK Status (NAKSts)</br>
  43181. <br/>
  43182. <br>Indicates the following:</br>
  43183. <br> - 1'b0: The core is transmitting non-NAK handshakes based on the FIFO status.</br>
  43184. <br> - 1'b1: The core is transmitting NAK handshakes on this endpoint.</br>
  43185. <br>When either the application or the core sets this bit:</br>
  43186. <br> - The core stops receiving any data on an OUT endpoint, even if there is space in the RxFIFO to accommodate the incoming packet.</br>
  43187. <br> - For non-isochronous IN endpoints: The core stops transmitting any data on an IN endpoint, even if there data is available in the TxFIFO.</br>
  43188. <br> - For isochronous IN endpoints: The core sends out a zero-length data packet, even if there data is available in the TxFIFO.</br>
  43189. <br>Irrespective of this bit's setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  43190. </comment>
  43191. </bits>
  43192. <bits access="rw" name="eptype" pos="19:18" rst="0">
  43193. <comment>
  43194. <br>Endpoint Type (EPType)</br>
  43195. <br/>
  43196. <br>This is the transfer type supported by this logical endpoint.</br>
  43197. <br> - 2'b00: Control</br>
  43198. <br> - 2'b01: Isochronous</br>
  43199. <br> - 2'b10: Bulk</br>
  43200. <br> - 2'b11: Interrupt</br>
  43201. </comment>
  43202. </bits>
  43203. <bits access="rw" name="snp" pos="20" rst="0">
  43204. <comment>
  43205. <br>RESERVED</br>
  43206. </comment>
  43207. </bits>
  43208. <bits access="rw" name="stall" pos="21" rst="0">
  43209. <comment>
  43210. <br>STALL Handshake (Stall)</br>
  43211. <br/>
  43212. <br>Applies to non-control, non-isochronous IN and OUT endpoints only.</br>
  43213. <br/>
  43214. <br>The application sets this bit to stall all tokens from the USB host to this endpoint. If a</br>
  43215. <br>NAK bit, Global Non-periodic IN NAK, or Global OUT NAK is set along with this bit, the</br>
  43216. <br>STALL bit takes priority. Only the application can clear this bit, never the core.</br>
  43217. <br/>
  43218. <br>Applies to control endpoints only.</br>
  43219. <br/>
  43220. <br>The application can only set this bit, and the core clears it, when a SETUP token is</br>
  43221. <br>received for this endpoint. If a NAK bit, Global Non-periodic IN NAK, or Global OUT</br>
  43222. <br>NAK is set along with this bit, the STALL bit takes priority. Irrespective of this bit's</br>
  43223. <br>setting, the core always responds to SETUP data packets with an ACK handshake.</br>
  43224. <br/>
  43225. </comment>
  43226. </bits>
  43227. <bits access="w" name="cnak" pos="26" rst="0">
  43228. <comment>
  43229. <br/>
  43230. <br>Clear NAK (CNAK)</br>
  43231. <br>A write to this bit clears the NAK bit for the endpoint.</br>
  43232. </comment>
  43233. </bits>
  43234. <bits access="w" name="snak" pos="27" rst="0">
  43235. <comment>
  43236. <br>Set NAK (SNAK)</br>
  43237. <br/>
  43238. <br>A write to this bit sets the NAK bit for the endpoint.</br>
  43239. <br/>
  43240. <br>Using this bit, the application can control the transmission of NAK</br>
  43241. <br>handshakes on an endpoint. The core can also set this bit for an</br>
  43242. <br>endpoint after a SETUP packet is received on that endpoint.</br>
  43243. </comment>
  43244. </bits>
  43245. <bits access="w" name="setd0pid" pos="28" rst="0">
  43246. <comment>
  43247. <br>Set DATA0 PID (SetD0PID)</br>
  43248. <br> - Applies to interrupt/bulk IN and OUT endpoints only.</br>
  43249. <br> - Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA0.</br>
  43250. <br> - This field is applicable both for Scatter/Gather DMA mode and non-Scatter/Gather DMA mode.</br>
  43251. <br>Reset: 1'b0</br>
  43252. <br/>
  43253. <br>In non-Scatter/Gather DMA mode: Set Even (micro)frame (SetEvenFr)</br>
  43254. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  43255. <br> - Writing to this field sets the Even/Odd (micro)frame (EO_FrNum) field to even (micro)frame.</br>
  43256. <br> - When Scatter/Gather DMA mode is enabled, this field is reserved. The frame number in which to send data is in the transmit descriptor structure. The frame in which to receive data is updated in receive descriptor structure.</br>
  43257. <br>Reset: 1'b0</br>
  43258. </comment>
  43259. </bits>
  43260. <bits access="w" name="setd1pid" pos="29" rst="0">
  43261. <comment>
  43262. <br>Set DATA1 PID (SetD1PID)</br>
  43263. <br> - Applies to interrupt and bulk IN and OUT endpoints only.</br>
  43264. <br> - Writing to this field sets the Endpoint Data PID (DPID) field in this register to DATA1.</br>
  43265. <br> - This field is applicable both for scatter-gather DMA mode and non scatter-gather DMA mode.</br>
  43266. <br>Reset: 1'b0</br>
  43267. <br/>
  43268. <br>Set Odd (micro)frame (SetOddFr)</br>
  43269. <br> - Applies to isochronous IN and OUT endpoints only.</br>
  43270. <br> - Writing to this field sets the even and odd (micro)frame (EO_FrNum) field to odd (micro)frame.</br>
  43271. <br>Reset: 1'b0</br>
  43272. </comment>
  43273. </bits>
  43274. <bits access="rw" name="epdis" pos="30" rst="0">
  43275. <comment>
  43276. <br>Endpoint Disable (EPDis)</br>
  43277. <br/>
  43278. <br>Applies to IN and OUT endpoints.</br>
  43279. <br/>
  43280. <br>The application sets this bit to stop transmitting/receiving data on an endpoint, even</br>
  43281. <br>before the transfer for that endpoint is complete. The application must wait for the</br>
  43282. <br>Endpoint Disabled interrupt before treating the endpoint as disabled. The core clears</br>
  43283. <br>this bit before setting the Endpoint Disabled interrupt. The application must set this bit</br>
  43284. <br>only if Endpoint Enable is already set for this endpoint.</br>
  43285. </comment>
  43286. </bits>
  43287. <bits access="rw" name="epena" pos="31" rst="0">
  43288. <comment>
  43289. <br>Endpoint Enable (EPEna)</br>
  43290. <br/>
  43291. <br>Applies to IN and OUT endpoints.</br>
  43292. <br/>
  43293. <br>When Scatter/Gather DMA mode is enabled,</br>
  43294. <br> - For IN endpoints this bit indicates that the descriptor structure and data buffer with data ready to transmit is setup.</br>
  43295. <br> - For OUT endpoint it indicates that the descriptor structure and data buffer to receive data is setup.</br>
  43296. <br>When Scatter/Gather DMA mode is enabled such as for buffer-pointer based DMA mode:</br>
  43297. <br> - For IN endpoints, this bit indicates that data is ready to be transmitted on the endpoint.</br>
  43298. <br> - For OUT endpoints, this bit indicates that the application has allocated the memory to start receiving data from the USB.</br>
  43299. <br>The core clears this bit before setting any of the following interrupts on this endpoint:</br>
  43300. <br> - SETUP Phase Done</br>
  43301. <br> - Endpoint Disabled</br>
  43302. <br> - Transfer Completed</br>
  43303. <br>Note: For control endpoints in DMA mode, this bit must be set to be able to transfer SETUP data packets in memory.</br>
  43304. </comment>
  43305. </bits>
  43306. </reg>
  43307. <hole size="32"/>
  43308. <reg name="doepint12" protect="rw">
  43309. <comment>Device OUT Endpoint 12 Interrupt Register</comment>
  43310. <bits access="rw" name="xfercompl" pos="0" rst="0">
  43311. <comment>
  43312. <br>Transfer Completed Interrupt (XferCompl)</br>
  43313. <br/>
  43314. <br>Applies to IN and OUT endpoints.</br>
  43315. <br> - When Scatter/Gather DMA mode is enabled</br>
  43316. <br> -- For IN endpoint this field indicates that the requested data from the descriptor is moved from external system memory to internal FIFO.</br>
  43317. <br> -- For OUT endpoint this field indicates that the requested data from the internal FIFO is moved to external system memory. This interrupt is generated only when the corresponding endpoint descriptor is closed, and the IOC bit for the corresponding descriptor is Set.</br>
  43318. <br> - When Scatter/Gather DMA mode is disabled, this field indicates that the programmed transfer is complete on the AHB as well as on the USB, for this endpoint.</br>
  43319. </comment>
  43320. </bits>
  43321. <bits access="rw" name="epdisbld" pos="1" rst="0">
  43322. <comment>
  43323. <br>Endpoint Disabled Interrupt (EPDisbld)</br>
  43324. <br/>
  43325. <br>Applies to IN and OUT endpoints.</br>
  43326. <br/>
  43327. <br>This bit indicates that the endpoint is disabled per the application's request.</br>
  43328. </comment>
  43329. </bits>
  43330. <bits access="rw" name="ahberr" pos="2" rst="0">
  43331. <comment>
  43332. <br>AHB Error (AHBErr)</br>
  43333. <br/>
  43334. <br>Applies to IN and OUT endpoints.</br>
  43335. <br/>
  43336. <br>This is generated only in Internal DMA mode when there is an</br>
  43337. <br>AHB error during an AHB read/write. The application can read</br>
  43338. <br>the corresponding endpoint DMA address register to get the</br>
  43339. <br>error address.</br>
  43340. </comment>
  43341. </bits>
  43342. <bits access="rw" name="setup" pos="3" rst="0">
  43343. <comment>
  43344. <br>SETUP Phase Done (SetUp)</br>
  43345. <br/>
  43346. <br>Applies to control OUT endpoints only.</br>
  43347. <br/>
  43348. <br>Indicates that the SETUP phase for the control endpoint is</br>
  43349. <br>complete and no more back-to-back SETUP packets were</br>
  43350. <br>received for the current control transfer. On this interrupt, the</br>
  43351. <br>application can decode the received SETUP data packet.</br>
  43352. </comment>
  43353. </bits>
  43354. <bits access="rw" name="outtknepdis" pos="4" rst="0">
  43355. <comment>
  43356. <br>OUT Token Received When Endpoint Disabled (OUTTknEPdis)</br>
  43357. <br/>
  43358. <br>Applies only to control OUT endpoints.</br>
  43359. <br/>
  43360. <br>Indicates that an OUT token was received when the endpoint was not yet enabled. This interrupt is asserted on the endpoint for which the OUT token was received.</br>
  43361. </comment>
  43362. </bits>
  43363. <bits access="rw" name="stsphsercvd" pos="5" rst="0">
  43364. <comment>
  43365. <br>Status Phase Received for Control Write (StsPhseRcvd)</br>
  43366. <br/>
  43367. <br>This interrupt is valid only for Control OUT endpoints and only in</br>
  43368. <br>Scatter Gather DMA mode.</br>
  43369. <br/>
  43370. <br>This interrupt is generated only after the core has transferred all</br>
  43371. <br>the data that the host has sent during the data phase of a control</br>
  43372. <br>write transfer, to the system memory buffer.</br>
  43373. <br/>
  43374. <br>The interrupt indicates to the application that the host has</br>
  43375. <br>switched from data phase to the status phase of a Control Write</br>
  43376. <br>transfer. The application can use this interrupt to ACK or STALL</br>
  43377. <br>the Status phase, after it has decoded the data phase. This is</br>
  43378. <br>applicable only in Case of Scatter Gather DMA mode.</br>
  43379. </comment>
  43380. </bits>
  43381. <bits access="rw" name="back2backsetup" pos="6" rst="0">
  43382. <comment>
  43383. <br>Back-to-Back SETUP Packets Received (Back2BackSETup)</br>
  43384. <br/>
  43385. <br>Applies to Control OUT endpoints only.</br>
  43386. <br/>
  43387. <br>This bit indicates that the core has received more than three</br>
  43388. <br>back-to-back SETUP packets for this particular endpoint. For</br>
  43389. <br>information about handling this interrupt,</br>
  43390. </comment>
  43391. </bits>
  43392. <bits access="rw" name="outpkterr" pos="8" rst="0">
  43393. <comment>
  43394. <br>OUT Packet Error (OutPktErr)</br>
  43395. <br/>
  43396. <br>Applies to OUT endpoints Only</br>
  43397. <br/>
  43398. <br>This interrupt is valid only when thresholding is enabled. This interrupt is asserted when the</br>
  43399. <br>core detects an overflow or a CRC error for non-Isochronous OUT packet.</br>
  43400. </comment>
  43401. </bits>
  43402. <bits access="rw" name="bnaintr" pos="9" rst="0">
  43403. <comment>
  43404. <br>BNA (Buffer Not Available) Interrupt (BNAIntr)</br>
  43405. <br/>
  43406. <br>This bit is valid only when Scatter/Gather DMA mode is enabled.</br>
  43407. <br/>
  43408. <br>The core generates this interrupt when the descriptor accessed</br>
  43409. <br>is not ready for the Core to process, such as Host busy or DMA</br>
  43410. <br>done</br>
  43411. </comment>
  43412. </bits>
  43413. <bits access="rw" name="pktdrpsts" pos="11" rst="0">
  43414. <comment>
  43415. <br>Packet Drop Status (PktDrpSts)</br>
  43416. <br/>
  43417. <br>This bit indicates to the application that an ISOC OUT packet has been dropped. This</br>
  43418. <br>bit does not have an associated mask bit and does not generate an interrupt.</br>
  43419. <br/>
  43420. <br>Dependency: This bit is valid in non Scatter/Gather DMA mode when periodic transfer</br>
  43421. <br>interrupt feature is selected.</br>
  43422. </comment>
  43423. </bits>
  43424. <bits access="rw" name="bbleerr" pos="12" rst="0">
  43425. <comment>
  43426. <br>NAK Interrupt (BbleErr)</br>
  43427. <br/>
  43428. <br>The core generates this interrupt when babble is received for the endpoint.</br>
  43429. </comment>
  43430. </bits>
  43431. <bits access="rw" name="nakintrpt" pos="13" rst="0">
  43432. <comment>
  43433. <br>NAK Interrupt (NAKInterrupt)</br>
  43434. <br/>
  43435. <br>The core generates this interrupt when a NAK is transmitted or received by the device.</br>
  43436. <br/>
  43437. <br>In case of isochronous IN endpoints the interrupt gets generated when a zero length</br>
  43438. <br>packet is transmitted due to un-availability of data in the TXFifo.</br>
  43439. </comment>
  43440. </bits>
  43441. <bits access="rw" name="nyetintrpt" pos="14" rst="0">
  43442. <comment>
  43443. <br>NYET Interrupt (NYETIntrpt)</br>
  43444. <br/>
  43445. <br>The core generates this interrupt when a NYET response is transmitted for a non isochronous OUT endpoint.</br>
  43446. </comment>
  43447. </bits>
  43448. <bits access="rw" name="stuppktrcvd" pos="15" rst="0">
  43449. <comment>
  43450. <br>Setup Packet Received</br>
  43451. <br/>
  43452. <br>Applicable for Control OUT Endpoints in only in the Buffer DMA Mode</br>
  43453. <br/>
  43454. <br>Set by the controller, this bit indicates that this buffer holds 8 bytes of</br>
  43455. <br>setup data. There is only one Setup packet per buffer. On receiving a</br>
  43456. <br>Setup packet, the controller closes the buffer and disables the</br>
  43457. <br>corresponding endpoint. The application has to re-enable the endpoint to</br>
  43458. <br>receive any OUT data for the Control Transfer and reprogram the buffer</br>
  43459. <br>start address.</br>
  43460. <br/>
  43461. <br>Note: Because of the above behavior, the controller can receive any</br>
  43462. <br>number of back to back setup packets and one buffer for every setup</br>
  43463. <br>packet is used.</br>
  43464. <br> - 1'b0: No Setup packet received</br>
  43465. <br> - 1'b1: Setup packet received</br>
  43466. <br>Reset: 1'b0</br>
  43467. </comment>
  43468. </bits>
  43469. </reg>
  43470. <hole size="32"/>
  43471. <reg name="doeptsiz12" protect="rw">
  43472. <comment>Device OUT Endpoint 12 Transfer Size Register</comment>
  43473. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  43474. <comment>
  43475. <br>Transfer Size (XferSize)</br>
  43476. <br/>
  43477. <br>Indicates the transfer size in bytes for endpoint 0. The core</br>
  43478. <br>interrupts the application only after it has exhausted the transfer</br>
  43479. <br>size amount of data. The transfer size can be Set to the</br>
  43480. <br>maximum packet size of the endpoint, to be interrupted at the</br>
  43481. <br>end of each packet.</br>
  43482. <br/>
  43483. <br>The core decrements this field every time a packet is read from</br>
  43484. <br>the RxFIFO and written to the external memory.</br>
  43485. </comment>
  43486. </bits>
  43487. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  43488. <comment>
  43489. <br>Packet Count (PktCnt)</br>
  43490. <br>This field is decremented to zero after a packet is written into the RxFIFO.</br>
  43491. </comment>
  43492. </bits>
  43493. <bits access="r" name="rxdpid" pos="30:29" rst="0">
  43494. <comment>
  43495. <br>RxDPID</br>
  43496. <br/>
  43497. <br>Applies to isochronous OUT endpoints only.</br>
  43498. <br/>
  43499. <br>This is the data PID received in the last packet for this endpoint.</br>
  43500. <br> - 2'b00: DATA0</br>
  43501. <br> - 2'b01: DATA2</br>
  43502. <br> - 2'b10: DATA1</br>
  43503. <br> - 2'b11: MDATA</br>
  43504. <br>SETUP Packet Count (SUPCnt)</br>
  43505. <br/>
  43506. <br>Applies to control OUT Endpoints only.</br>
  43507. <br/>
  43508. <br>This field specifies the number of back-to-back SETUP data</br>
  43509. <br>packets the endpoint can receive.</br>
  43510. <br> - 2'b01: 1 packet</br>
  43511. <br> - 2'b10: 2 packets</br>
  43512. <br> - 2'b11: 3 packets</br>
  43513. </comment>
  43514. </bits>
  43515. </reg>
  43516. <reg name="doepdma12" protect="rw">
  43517. <comment>Device OUT Endpoint 12 DMA Address Register</comment>
  43518. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  43519. <comment>
  43520. <br>Holds the start address of the external memory for storing or fetching endpoint</br>
  43521. <br>data.</br>
  43522. <br/>
  43523. <br>Note: For control endpoints, this field stores control OUT data packets as well as</br>
  43524. <br>SETUP transaction data packets. When more than three SETUP packets are</br>
  43525. <br>received back-to-back, the SETUP data packet in the memory is overwritten.</br>
  43526. <br/>
  43527. <br>This register is incremented on every AHB transaction. The application can give</br>
  43528. <br>only a DWORD-aligned address.</br>
  43529. <br> - When Scatter/Gather DMA mode is not enabled, the application programs the start address value in this field.</br>
  43530. <br> - When Scatter/Gather DMA mode is enabled, this field indicates the base pointer for the descriptor list.</br>
  43531. </comment>
  43532. </bits>
  43533. </reg>
  43534. <hole size="32"/>
  43535. <reg name="doepdmab12" protect="r">
  43536. <comment>Device OUT Endpoint 12 Buffer Address Register</comment>
  43537. <bits access="r" name="dmabufferaddr" pos="31:0" rst="0">
  43538. <comment>
  43539. <br>Holds the current buffer address.This register is updated as and when the data</br>
  43540. <br>transfer for the corresponding end point is in progress.</br>
  43541. <br/>
  43542. <br>This register is present only in Scatter/Gather DMA mode. Otherwise this field is reserved.</br>
  43543. </comment>
  43544. </bits>
  43545. </reg>
  43546. <hole size="2816"/>
  43547. <reg name="pcgcctl" protect="rw">
  43548. <comment>Power and Clock Gating Control Register</comment>
  43549. <bits access="rw" name="stoppclk" pos="0" rst="0">
  43550. <comment>
  43551. <br>Stop Pclk (StopPclk)</br>
  43552. <br> - The application sets this bit to stop the PHY clock (phy_clk) when the USB is suspended, the session is not valid, or the device is disconnected.</br>
  43553. <br> - The application clears this bit when the USB is resumed or a new session starts.</br>
  43554. </comment>
  43555. </bits>
  43556. <bits access="rw" name="rstpdwnmodule" pos="3" rst="0">
  43557. <comment>
  43558. <br>Reset Power-Down Modules (RstPdwnModule)</br>
  43559. <br/>
  43560. <br>This bit is valid only in Partial Power-Down mode. </br>
  43561. <br> - The application sets this bit when the power is turned off. </br>
  43562. <br> - The application clears this bit after the power is turned on and the PHY clock is up.</br>
  43563. <br/>
  43564. <br>Note: The R/W of all core registers are possible only when this bit is set to 1b0.</br>
  43565. </comment>
  43566. </bits>
  43567. <bits access="r" name="physleep" pos="6" rst="0">
  43568. <comment>
  43569. <br>PHY In Sleep </br>
  43570. <br/>
  43571. <br>Indicates that the PHY is in Sleep State.</br>
  43572. </comment>
  43573. </bits>
  43574. <bits access="r" name="l1suspended" pos="7" rst="0">
  43575. <comment>
  43576. <br>L1 Deep Sleep </br>
  43577. <br/>
  43578. <br>Indicates that the PHY is in deep sleep when in L1 state.</br>
  43579. </comment>
  43580. </bits>
  43581. </reg>
  43582. </module>
  43583. </archive>
  43584. <archive relative="usbc11.xml">
  43585. <module category="System" name="USBC11">
  43586. <reg name="gotgctl" protect="rw">
  43587. <bits access="r" name="curmod" pos="21" rst="0">
  43588. </bits>
  43589. <bits access="rw" name="otgver" pos="20" rst="0">
  43590. </bits>
  43591. <bits access="r" name="bsesvld" pos="19" rst="1">
  43592. </bits>
  43593. <bits access="rw" name="asesvld" pos="18" rst="1">
  43594. <comment>bit type is changed from ru to rw.</comment>
  43595. </bits>
  43596. <bits access="r" name="dbnctime" pos="17" rst="0">
  43597. </bits>
  43598. <bits access="r" name="conidsts" pos="16" rst="1">
  43599. </bits>
  43600. <bits access="rw" name="dbncefltrbypass" pos="15" rst="0">
  43601. </bits>
  43602. <bits access="rw" name="bvalidovval" pos="7" rst="0">
  43603. </bits>
  43604. <bits access="rw" name="bvalidoven" pos="6" rst="0">
  43605. </bits>
  43606. <bits access="rw" name="avalidovval" pos="5" rst="0">
  43607. </bits>
  43608. <bits access="rw" name="avalidoven" pos="4" rst="0">
  43609. </bits>
  43610. <bits access="rw" name="vbvalidovval" pos="3" rst="0">
  43611. </bits>
  43612. <bits access="rw" name="vbvalidoven" pos="2" rst="0">
  43613. </bits>
  43614. </reg>
  43615. <reg name="gotgint" protect="rw">
  43616. <bits access="rc" name="dbncedone" pos="19" rst="0">
  43617. <comment>bit type is changed from w1c to rc.</comment>
  43618. </bits>
  43619. <bits access="rc" name="adevtoutchg" pos="18" rst="0">
  43620. <comment>bit type is changed from w1c to rc.</comment>
  43621. </bits>
  43622. <bits access="rc" name="hstnegdet" pos="17" rst="0">
  43623. <comment>bit type is changed from w1c to rc.</comment>
  43624. </bits>
  43625. <bits access="rc" name="hstnegsucstschng" pos="9" rst="0">
  43626. <comment>bit type is changed from w1c to rc.</comment>
  43627. </bits>
  43628. <bits access="rc" name="sesreqsucstschng" pos="8" rst="0">
  43629. <comment>bit type is changed from w1c to rc.</comment>
  43630. </bits>
  43631. <bits access="rc" name="sesenddet" pos="2" rst="0">
  43632. <comment>bit type is changed from w1c to rc.</comment>
  43633. </bits>
  43634. </reg>
  43635. <reg name="gahbcfg" protect="rw">
  43636. <bits access="rw" name="invdescendianess" pos="24" rst="0">
  43637. </bits>
  43638. <bits access="rw" name="ahbsingle" pos="23" rst="0">
  43639. </bits>
  43640. <bits access="rw" name="notialldmawrit" pos="22" rst="0">
  43641. </bits>
  43642. <bits access="rw" name="remmemsupp" pos="21" rst="0">
  43643. </bits>
  43644. <bits access="rw" name="nptxfemplvl" pos="7" rst="0">
  43645. </bits>
  43646. <bits access="rw" name="dmaen" pos="5" rst="0">
  43647. </bits>
  43648. <bits access="rw" name="hbstlen" pos="4:1" rst="0">
  43649. </bits>
  43650. <bits access="rw" name="glblintrmsk" pos="0" rst="0">
  43651. </bits>
  43652. </reg>
  43653. <reg name="gusbcfg" protect="rw">
  43654. <bits access="rw" name="corrupttxpkt" pos="31" rst="0">
  43655. <comment>bit type is changed from w1 to rw.</comment>
  43656. </bits>
  43657. <bits access="rw" name="forcedevmode" pos="30" rst="0">
  43658. </bits>
  43659. <bits access="rw" name="forcehstmode" pos="29" rst="0">
  43660. </bits>
  43661. <bits access="rw" name="txenddelay" pos="28" rst="0">
  43662. </bits>
  43663. <bits access="r" name="ic_usbcap" pos="26" rst="0">
  43664. </bits>
  43665. <bits access="r" name="termseldlpulse" pos="22" rst="0">
  43666. </bits>
  43667. <bits access="rw" name="usbtrdtim" pos="13:10" rst="5">
  43668. </bits>
  43669. <bits access="r" name="physel" pos="6" rst="1">
  43670. </bits>
  43671. <bits access="rw" name="fsintf" pos="5" rst="0">
  43672. <comment>bit type is changed from othr to rw.</comment>
  43673. </bits>
  43674. <bits access="rw" name="phyif" pos="3" rst="0">
  43675. </bits>
  43676. <bits access="rw" name="toutcal" pos="2:0" rst="0">
  43677. </bits>
  43678. </reg>
  43679. <reg name="grstctl" protect="rw">
  43680. <bits access="r" name="ahbidle" pos="31" rst="1">
  43681. </bits>
  43682. <bits access="r" name="dmareq" pos="30" rst="0">
  43683. </bits>
  43684. <bits access="rw" name="txfnum" pos="10:6" rst="0">
  43685. </bits>
  43686. <bits access="rw" name="txfflsh" pos="5" rst="0">
  43687. <comment>bit type is changed from othr to rw.</comment>
  43688. </bits>
  43689. <bits access="rw" name="rxfflsh" pos="4" rst="0">
  43690. <comment>bit type is changed from othr to rw.</comment>
  43691. </bits>
  43692. <bits access="rw" name="frmcntrrst" pos="2" rst="0">
  43693. <comment>bit type is changed from othr to rw.</comment>
  43694. </bits>
  43695. <bits access="rw" name="piufssftrst" pos="1" rst="0">
  43696. <comment>bit type is changed from othr to rw.</comment>
  43697. </bits>
  43698. <bits access="rw" name="csftrst" pos="0" rst="0">
  43699. <comment>bit type is changed from othr to rw.</comment>
  43700. </bits>
  43701. </reg>
  43702. <reg name="gintsts" protect="rw">
  43703. <bits access="rc" name="wkupint" pos="31" rst="0">
  43704. <comment>bit type is changed from w1c to rc.</comment>
  43705. </bits>
  43706. <bits access="rc" name="sessreqint" pos="30" rst="0">
  43707. <comment>bit type is changed from w1c to rc.</comment>
  43708. </bits>
  43709. <bits access="rc" name="disconnint" pos="29" rst="0">
  43710. <comment>bit type is changed from w1c to rc.</comment>
  43711. </bits>
  43712. <bits access="rw" name="conidstschng" pos="28" rst="0">
  43713. <comment>bit type is changed from othr to rw.</comment>
  43714. </bits>
  43715. <bits access="r" name="hchint" pos="25" rst="0">
  43716. </bits>
  43717. <bits access="r" name="prtint" pos="24" rst="0">
  43718. </bits>
  43719. <bits access="rc" name="resetdet" pos="23" rst="0">
  43720. <comment>bit type is changed from w1c to rc.</comment>
  43721. </bits>
  43722. <bits access="rc" name="fetsusp" pos="22" rst="0">
  43723. <comment>bit type is changed from w1c to rc.</comment>
  43724. </bits>
  43725. <bits access="rc" name="incomplp" pos="21" rst="0">
  43726. <comment>bit type is changed from w1c to rc.</comment>
  43727. </bits>
  43728. <bits access="rc" name="incompisoin" pos="20" rst="0">
  43729. <comment>bit type is changed from w1c to rc.</comment>
  43730. </bits>
  43731. <bits access="r" name="oepint" pos="19" rst="0">
  43732. </bits>
  43733. <bits access="r" name="iepint" pos="18" rst="0">
  43734. </bits>
  43735. <bits access="rc" name="epmis" pos="17" rst="0">
  43736. <comment>bit type is changed from w1c to rc.</comment>
  43737. </bits>
  43738. <bits access="rc" name="eopf" pos="15" rst="0">
  43739. <comment>bit type is changed from w1c to rc.</comment>
  43740. </bits>
  43741. <bits access="rc" name="isooutdrop" pos="14" rst="0">
  43742. <comment>bit type is changed from w1c to rc.</comment>
  43743. </bits>
  43744. <bits access="rc" name="enumdone" pos="13" rst="0">
  43745. <comment>bit type is changed from w1c to rc.</comment>
  43746. </bits>
  43747. <bits access="rc" name="usbrst" pos="12" rst="0">
  43748. <comment>bit type is changed from w1c to rc.</comment>
  43749. </bits>
  43750. <bits access="rc" name="usbsusp" pos="11" rst="0">
  43751. <comment>bit type is changed from w1c to rc.</comment>
  43752. </bits>
  43753. <bits access="rc" name="erlysusp" pos="10" rst="0">
  43754. <comment>bit type is changed from w1c to rc.</comment>
  43755. </bits>
  43756. <bits access="r" name="goutnakeff" pos="7" rst="0">
  43757. </bits>
  43758. <bits access="r" name="ginnakeff" pos="6" rst="0">
  43759. </bits>
  43760. <bits access="r" name="nptxfemp" pos="5" rst="1">
  43761. </bits>
  43762. <bits access="r" name="rxflvl" pos="4" rst="0">
  43763. </bits>
  43764. <bits access="rw" name="sof" pos="3" rst="0">
  43765. <comment>bit type is changed from othr to rw.</comment>
  43766. </bits>
  43767. <bits access="rw" name="otgint" pos="2" rst="0">
  43768. <comment>bit type is changed from ru to rw.</comment>
  43769. </bits>
  43770. <bits access="rc" name="modemis" pos="1" rst="0">
  43771. <comment>bit type is changed from w1c to rc.</comment>
  43772. </bits>
  43773. <bits access="r" name="curmod" pos="0" rst="0">
  43774. </bits>
  43775. </reg>
  43776. <reg name="gintmsk" protect="rw">
  43777. <bits access="rw" name="wkupintmsk" pos="31" rst="0">
  43778. </bits>
  43779. <bits access="rw" name="sessreqintmsk" pos="30" rst="0">
  43780. </bits>
  43781. <bits access="rw" name="disconnintmsk" pos="29" rst="0">
  43782. </bits>
  43783. <bits access="rw" name="conidstschngmsk" pos="28" rst="0">
  43784. </bits>
  43785. <bits access="rw" name="hchintmsk" pos="25" rst="0">
  43786. </bits>
  43787. <bits access="rw" name="prtintmsk" pos="24" rst="0">
  43788. </bits>
  43789. <bits access="rw" name="resetdetmsk" pos="23" rst="0">
  43790. </bits>
  43791. <bits access="rw" name="fetsuspmsk" pos="22" rst="0">
  43792. </bits>
  43793. <bits access="rw" name="incomplpmsk" pos="21" rst="0">
  43794. </bits>
  43795. <bits access="rw" name="oepintmsk" pos="19" rst="0">
  43796. </bits>
  43797. <bits access="rw" name="iepintmsk" pos="18" rst="0">
  43798. </bits>
  43799. <bits access="rw" name="epmismsk" pos="17" rst="0">
  43800. </bits>
  43801. <bits access="rw" name="eopfmsk" pos="15" rst="0">
  43802. </bits>
  43803. <bits access="rw" name="isooutdropmsk" pos="14" rst="0">
  43804. </bits>
  43805. <bits access="rw" name="enumdonemsk" pos="13" rst="0">
  43806. </bits>
  43807. <bits access="rw" name="usbrstmsk" pos="12" rst="0">
  43808. </bits>
  43809. <bits access="rw" name="usbsuspmsk" pos="11" rst="0">
  43810. </bits>
  43811. <bits access="rw" name="erlysuspmsk" pos="10" rst="0">
  43812. </bits>
  43813. <bits access="rw" name="goutnakeffmsk" pos="7" rst="0">
  43814. </bits>
  43815. <bits access="rw" name="ginnakeffmsk" pos="6" rst="0">
  43816. </bits>
  43817. <bits access="rw" name="nptxfempmsk" pos="5" rst="0">
  43818. </bits>
  43819. <bits access="rw" name="rxflvlmsk" pos="4" rst="0">
  43820. </bits>
  43821. <bits access="rw" name="sofmsk" pos="3" rst="0">
  43822. </bits>
  43823. <bits access="rw" name="otgintmsk" pos="2" rst="0">
  43824. </bits>
  43825. <bits access="rw" name="modemismsk" pos="1" rst="0">
  43826. </bits>
  43827. </reg>
  43828. <reg name="grxstsr" protect="rw">
  43829. <bits access="r" name="fn" pos="24:21" rst="0">
  43830. </bits>
  43831. <bits access="rw" name="pktsts" pos="20:17" rst="0">
  43832. <comment>bit type is changed from ru to rw.</comment>
  43833. </bits>
  43834. <bits access="r" name="dpid" pos="16:15" rst="0">
  43835. </bits>
  43836. <bits access="r" name="bcnt" pos="14:4" rst="0">
  43837. </bits>
  43838. <bits access="rw" name="chnum" pos="3:0" rst="0">
  43839. <comment>bit type is changed from ru to rw.</comment>
  43840. </bits>
  43841. </reg>
  43842. <reg name="grxstsp" protect="rw">
  43843. <bits access="r" name="fn" pos="24:21" rst="0">
  43844. </bits>
  43845. <bits access="rw" name="pktsts" pos="20:17" rst="0">
  43846. <comment>bit type is changed from ru to rw.</comment>
  43847. </bits>
  43848. <bits access="r" name="dpid" pos="16:15" rst="0">
  43849. </bits>
  43850. <bits access="r" name="bcnt" pos="14:4" rst="0">
  43851. </bits>
  43852. <bits access="rw" name="chnum" pos="3:0" rst="0">
  43853. <comment>bit type is changed from ru to rw.</comment>
  43854. </bits>
  43855. </reg>
  43856. <reg name="grxfsiz" protect="rw">
  43857. <bits access="rw" name="rxfdep" pos="8:0" rst="297">
  43858. </bits>
  43859. </reg>
  43860. <reg name="gnptxfsiz" protect="rw">
  43861. <bits access="rw" name="nptxfdep" pos="24:16" rst="297">
  43862. </bits>
  43863. <bits access="rw" name="nptxfstaddr" pos="8:0" rst="297">
  43864. </bits>
  43865. </reg>
  43866. <reg name="gnptxsts" protect="rw">
  43867. <bits access="r" name="nptxqtop" pos="30:24" rst="0">
  43868. </bits>
  43869. <bits access="r" name="nptxqspcavail" pos="23:16" rst="8">
  43870. </bits>
  43871. <bits access="r" name="nptxfspcavail" pos="15:0" rst="297">
  43872. </bits>
  43873. </reg>
  43874. <hole size="64"/>
  43875. <reg name="ggpio" protect="rw">
  43876. <bits access="rw" name="gpo" pos="31:16" rst="0">
  43877. </bits>
  43878. <bits access="r" name="gpi" pos="15:0" rst="0">
  43879. </bits>
  43880. </reg>
  43881. <reg name="guid" protect="rw">
  43882. <bits access="rw" name="guid" pos="31:0" rst="3221291008">
  43883. </bits>
  43884. </reg>
  43885. <reg name="gsnpsid" protect="r">
  43886. <bits access="r" name="synopsysid" pos="31:0" rst="1330921482">
  43887. </bits>
  43888. </reg>
  43889. <reg name="ghwcfg1" protect="r">
  43890. <bits access="r" name="epdir" pos="31:0" rst="0">
  43891. </bits>
  43892. </reg>
  43893. <reg name="ghwcfg2" protect="rw">
  43894. <bits access="r" name="tknqdepth" pos="30:26" rst="8">
  43895. </bits>
  43896. <bits access="r" name="ptxqdepth" pos="25:24" rst="2">
  43897. </bits>
  43898. <bits access="r" name="nptxqdepth" pos="23:22" rst="2">
  43899. </bits>
  43900. <bits access="r" name="multiprocintrpt" pos="20" rst="0">
  43901. </bits>
  43902. <bits access="r" name="dynfifosizing" pos="19" rst="1">
  43903. </bits>
  43904. <bits access="r" name="periosupport" pos="18" rst="0">
  43905. </bits>
  43906. <bits access="r" name="numhstchnl" pos="17:14" rst="11">
  43907. </bits>
  43908. <bits access="r" name="numdeveps" pos="13:10" rst="5">
  43909. <options>
  43910. <mask/>
  43911. <shift/>
  43912. </options>
  43913. </bits>
  43914. <bits access="r" name="fsphytype" pos="9:8" rst="1">
  43915. </bits>
  43916. <bits access="r" name="hsphytype" pos="7:6" rst="0">
  43917. </bits>
  43918. <bits access="r" name="singpnt" pos="5" rst="0">
  43919. </bits>
  43920. <bits access="r" name="otgarch" pos="4:3" rst="2">
  43921. </bits>
  43922. <bits access="r" name="otgmode" pos="2:0" rst="2">
  43923. </bits>
  43924. </reg>
  43925. <reg name="ghwcfg3" protect="r">
  43926. <bits access="r" name="dfifodepth" pos="31:16" rst="285">
  43927. </bits>
  43928. <bits access="r" name="lpmmode" pos="15" rst="0">
  43929. </bits>
  43930. <bits access="r" name="bcsupport" pos="14" rst="0">
  43931. </bits>
  43932. <bits access="r" name="hsicmode" pos="13" rst="0">
  43933. </bits>
  43934. <bits access="r" name="adpsupport" pos="12" rst="0">
  43935. </bits>
  43936. <bits access="r" name="rsttype" pos="11" rst="0">
  43937. </bits>
  43938. <bits access="r" name="optfeature" pos="10" rst="0">
  43939. </bits>
  43940. <bits access="r" name="vndctlsupt" pos="9" rst="0">
  43941. </bits>
  43942. <bits access="r" name="i2cintsel" pos="8" rst="0">
  43943. </bits>
  43944. <bits access="r" name="otgen" pos="7" rst="1">
  43945. </bits>
  43946. <bits access="r" name="pktsizewidth" pos="6:4" rst="6">
  43947. </bits>
  43948. <bits access="r" name="xfersizewidth" pos="3:0" rst="8">
  43949. </bits>
  43950. </reg>
  43951. <reg name="ghwcfg4" protect="rw">
  43952. <bits access="r" name="descdma" pos="31" rst="0">
  43953. </bits>
  43954. <bits access="r" name="descdmaenabled" pos="30" rst="0">
  43955. </bits>
  43956. <bits access="r" name="ineps" pos="29:26" rst="5">
  43957. </bits>
  43958. <bits access="r" name="dedfifomode" pos="25" rst="1">
  43959. </bits>
  43960. <bits access="r" name="sessendfltr" pos="24" rst="0">
  43961. </bits>
  43962. <bits access="r" name="bvalidfltr" pos="23" rst="0">
  43963. </bits>
  43964. <bits access="r" name="avalidfltr" pos="22" rst="0">
  43965. </bits>
  43966. <bits access="r" name="vbusvalidfltr" pos="21" rst="0">
  43967. </bits>
  43968. <bits access="r" name="iddgfltr" pos="20" rst="1">
  43969. </bits>
  43970. <bits access="r" name="numctleps" pos="19:16" rst="0">
  43971. </bits>
  43972. <bits access="r" name="phydatawidth" pos="15:14" rst="2">
  43973. </bits>
  43974. <bits access="r" name="enhancedlpmsupt" pos="13" rst="1">
  43975. </bits>
  43976. <bits access="r" name="acgsupt" pos="12" rst="0">
  43977. </bits>
  43978. <bits access="r" name="extendedhibernation" pos="7" rst="0">
  43979. </bits>
  43980. <bits access="r" name="hibernation" pos="6" rst="0">
  43981. </bits>
  43982. <bits access="r" name="ahbfreq" pos="5" rst="1">
  43983. </bits>
  43984. <bits access="r" name="partialpwrdn" pos="4" rst="0">
  43985. </bits>
  43986. <bits access="r" name="numdevperioeps" pos="3:0" rst="0">
  43987. </bits>
  43988. </reg>
  43989. <hole size="64"/>
  43990. <reg name="gdfifocfg" protect="rw">
  43991. <bits access="rw" name="epinfobaseaddr" pos="31:16" rst="285">
  43992. </bits>
  43993. <bits access="rw" name="gdfifocfg" pos="15:0" rst="297">
  43994. </bits>
  43995. </reg>
  43996. <hole size="1280"/>
  43997. <reg name="hptxfsiz" protect="rw">
  43998. <bits access="rw" name="ptxfsize" pos="26:16" rst="1024">
  43999. </bits>
  44000. <bits access="rw" name="ptxfstaddr" pos="9:0" rst="594">
  44001. </bits>
  44002. </reg>
  44003. <reg name="dieptxf1" protect="rw">
  44004. <bits access="rw" name="inepntxfdep" pos="21:16" rst="32">
  44005. </bits>
  44006. <bits access="rw" name="inepntxfstaddr" pos="8:0" rst="329">
  44007. </bits>
  44008. </reg>
  44009. <reg name="dieptxf2" protect="rw">
  44010. <bits access="rw" name="inepntxfdep" pos="21:16" rst="32">
  44011. </bits>
  44012. <bits access="rw" name="inepntxfstaddr" pos="8:0" rst="361">
  44013. </bits>
  44014. </reg>
  44015. <reg name="dieptxf3" protect="rw">
  44016. <bits access="rw" name="inepntxfdep" pos="21:16" rst="32">
  44017. </bits>
  44018. <bits access="rw" name="inepntxfstaddr" pos="8:0" rst="393">
  44019. </bits>
  44020. </reg>
  44021. <reg name="dieptxf4" protect="rw">
  44022. <bits access="rw" name="inepntxfdep" pos="21:16" rst="32">
  44023. </bits>
  44024. <bits access="rw" name="inepntxfstaddr" pos="8:0" rst="425">
  44025. </bits>
  44026. </reg>
  44027. <reg name="dieptxf5" protect="rw">
  44028. <bits access="rw" name="inepntxfdep" pos="21:16" rst="32">
  44029. </bits>
  44030. <bits access="rw" name="inepntxfstaddr" pos="8:0" rst="457">
  44031. </bits>
  44032. </reg>
  44033. <hole size="5952"/>
  44034. <reg name="hcfg" protect="rw">
  44035. <bits access="rw" name="modechtimen" pos="31" rst="0">
  44036. </bits>
  44037. <bits access="rw" name="perschedena" pos="26" rst="0">
  44038. </bits>
  44039. <bits access="rw" name="frlisten" pos="25:24" rst="0">
  44040. </bits>
  44041. <bits access="rw" name="descdma" pos="23" rst="0">
  44042. </bits>
  44043. <bits access="rw" name="resvalid" pos="15:8" rst="2">
  44044. </bits>
  44045. <bits access="rw" name="ena32khzs" pos="7" rst="0">
  44046. </bits>
  44047. <bits access="rw" name="fslssupp" pos="2" rst="0">
  44048. </bits>
  44049. <bits access="rw" name="fslspclksel" pos="1:0" rst="0">
  44050. </bits>
  44051. </reg>
  44052. <reg name="hfir" protect="rw">
  44053. <bits access="rw" name="hfirrldctrl" pos="16" rst="0">
  44054. </bits>
  44055. <bits access="rw" name="frint" pos="15:0" rst="60000">
  44056. </bits>
  44057. </reg>
  44058. <reg name="hfnum" protect="r">
  44059. <bits access="r" name="frrem" pos="31:16" rst="0">
  44060. </bits>
  44061. <bits access="r" name="frnum" pos="15:0" rst="16383">
  44062. </bits>
  44063. </reg>
  44064. <hole size="64"/>
  44065. <reg name="haint" protect="rw">
  44066. <bits access="r" name="haint" pos="11:0" rst="0">
  44067. </bits>
  44068. </reg>
  44069. <reg name="haintmsk" protect="rw">
  44070. <bits access="rw" name="haintmsk" pos="11:0" rst="0">
  44071. </bits>
  44072. </reg>
  44073. <reg name="hflbaddr" protect="rw">
  44074. <bits access="rw" name="hflbaddr" pos="31:0" rst="0">
  44075. </bits>
  44076. </reg>
  44077. <hole size="256"/>
  44078. <reg name="hprt" protect="rw">
  44079. <bits access="r" name="prtspd" pos="18:17" rst="0">
  44080. </bits>
  44081. <bits access="rw" name="prttstctl" pos="16:13" rst="0">
  44082. </bits>
  44083. <bits access="rw" name="prtpwr" pos="12" rst="0">
  44084. </bits>
  44085. <bits access="r" name="prtlnsts" pos="11:10" rst="0">
  44086. </bits>
  44087. <bits access="rw" name="prtrst" pos="8" rst="0">
  44088. </bits>
  44089. <bits access="rw" name="prtsusp" pos="7" rst="0">
  44090. <comment>bit type is changed from othr to rw.</comment>
  44091. </bits>
  44092. <bits access="rw" name="prtres" pos="6" rst="0">
  44093. </bits>
  44094. <bits access="rc" name="prtovrcurrchng" pos="5" rst="0">
  44095. <comment>bit type is changed from w1c to rc.</comment>
  44096. </bits>
  44097. <bits access="r" name="prtovrcurract" pos="4" rst="0">
  44098. </bits>
  44099. <bits access="rc" name="prtenchng" pos="3" rst="0">
  44100. <comment>bit type is changed from w1c to rc.</comment>
  44101. </bits>
  44102. <bits access="rc" name="prtena" pos="2" rst="0">
  44103. <comment>bit type is changed from w1c to rc.</comment>
  44104. </bits>
  44105. <bits access="rc" name="prtconndet" pos="1" rst="0">
  44106. <comment>bit type is changed from w1c to rc.</comment>
  44107. </bits>
  44108. <bits access="r" name="prtconnsts" pos="0" rst="0">
  44109. </bits>
  44110. </reg>
  44111. <hole size="1504"/>
  44112. <reg name="hcchar0" protect="rw">
  44113. <bits access="rw" name="chena" pos="31" rst="0">
  44114. <comment>bit type is changed from othr to rw.</comment>
  44115. </bits>
  44116. <bits access="rw" name="chdis" pos="30" rst="0">
  44117. <comment>bit type is changed from othr to rw.</comment>
  44118. </bits>
  44119. <bits access="rw" name="oddfrm" pos="29" rst="0">
  44120. </bits>
  44121. <bits access="rw" name="devaddr" pos="28:22" rst="0">
  44122. </bits>
  44123. <bits access="rw" name="ec" pos="21:20" rst="0">
  44124. </bits>
  44125. <bits access="rw" name="eptype" pos="19:18" rst="0">
  44126. </bits>
  44127. <bits access="rw" name="lspddev" pos="17" rst="0">
  44128. </bits>
  44129. <bits access="rw" name="epdir" pos="15" rst="0">
  44130. </bits>
  44131. <bits access="rw" name="epnum" pos="14:11" rst="0">
  44132. </bits>
  44133. <bits access="rw" name="mps" pos="10:0" rst="0">
  44134. <options>
  44135. <mask/>
  44136. <shift/>
  44137. </options>
  44138. </bits>
  44139. </reg>
  44140. <reg name="hcsplt0" protect="rw">
  44141. <bits access="rw" name="spltena" pos="31" rst="0">
  44142. </bits>
  44143. <bits access="rw" name="compsplt" pos="16" rst="0">
  44144. </bits>
  44145. <bits access="rw" name="xactpos" pos="15:14" rst="0">
  44146. </bits>
  44147. <bits access="rw" name="hubaddr" pos="13:7" rst="0">
  44148. </bits>
  44149. <bits access="rw" name="prtaddr" pos="6:0" rst="0">
  44150. </bits>
  44151. </reg>
  44152. <reg name="hcint0" protect="rw">
  44153. <bits access="rc" name="desc_lst_rollintr" pos="13" rst="0">
  44154. <comment>bit type is changed from w1c to rc.</comment>
  44155. </bits>
  44156. <bits access="rc" name="xcs_xact_err" pos="12" rst="0">
  44157. <comment>bit type is changed from w1c to rc.</comment>
  44158. </bits>
  44159. <bits access="rc" name="bnaintr" pos="11" rst="0">
  44160. <comment>bit type is changed from w1c to rc.</comment>
  44161. </bits>
  44162. <bits access="rc" name="datatglerr" pos="10" rst="0">
  44163. <comment>bit type is changed from w1c to rc.</comment>
  44164. </bits>
  44165. <bits access="rc" name="frmovrun" pos="9" rst="0">
  44166. <comment>bit type is changed from w1c to rc.</comment>
  44167. </bits>
  44168. <bits access="rc" name="bblerr" pos="8" rst="0">
  44169. <comment>bit type is changed from w1c to rc.</comment>
  44170. </bits>
  44171. <bits access="rc" name="xacterr" pos="7" rst="0">
  44172. <comment>bit type is changed from w1c to rc.</comment>
  44173. </bits>
  44174. <bits access="rc" name="nyet" pos="6" rst="0">
  44175. <comment>bit type is changed from w1c to rc.</comment>
  44176. </bits>
  44177. <bits access="rc" name="ack" pos="5" rst="0">
  44178. <comment>bit type is changed from w1c to rc.</comment>
  44179. </bits>
  44180. <bits access="rc" name="nak" pos="4" rst="0">
  44181. <comment>bit type is changed from w1c to rc.</comment>
  44182. </bits>
  44183. <bits access="rc" name="stall" pos="3" rst="0">
  44184. <comment>bit type is changed from w1c to rc.</comment>
  44185. </bits>
  44186. <bits access="rc" name="ahberr" pos="2" rst="0">
  44187. <comment>bit type is changed from w1c to rc.</comment>
  44188. </bits>
  44189. <bits access="rc" name="chhltd" pos="1" rst="0">
  44190. <comment>bit type is changed from w1c to rc.</comment>
  44191. </bits>
  44192. <bits access="rc" name="xfercompl" pos="0" rst="0">
  44193. <comment>bit type is changed from w1c to rc.</comment>
  44194. </bits>
  44195. </reg>
  44196. <reg name="hcintmsk0" protect="rw">
  44197. <bits access="rw" name="desc_lst_rollintrmsk" pos="13" rst="0">
  44198. </bits>
  44199. <bits access="rw" name="bnaintrmsk" pos="11" rst="0">
  44200. </bits>
  44201. <bits access="rw" name="ahberrmsk" pos="2" rst="0">
  44202. </bits>
  44203. <bits access="rw" name="chhltdmsk" pos="1" rst="0">
  44204. </bits>
  44205. <bits access="rw" name="xfercomplmsk" pos="0" rst="0">
  44206. </bits>
  44207. </reg>
  44208. <reg name="hctsiz0" protect="rw">
  44209. <bits access="rw" name="dopng" pos="31" rst="0">
  44210. </bits>
  44211. <bits access="rw" name="pid" pos="30:29" rst="0">
  44212. </bits>
  44213. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  44214. </bits>
  44215. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  44216. </bits>
  44217. </reg>
  44218. <reg name="hcdma0" protect="rw">
  44219. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  44220. </bits>
  44221. </reg>
  44222. <hole size="32"/>
  44223. <reg name="hcdmab0" protect="r">
  44224. <bits access="r" name="hcdmab" pos="31:0" rst="0">
  44225. </bits>
  44226. </reg>
  44227. <reg name="hcchar1" protect="rw">
  44228. <bits access="rw" name="chena" pos="31" rst="0">
  44229. <comment>bit type is changed from othr to rw.</comment>
  44230. </bits>
  44231. <bits access="rw" name="chdis" pos="30" rst="0">
  44232. <comment>bit type is changed from othr to rw.</comment>
  44233. </bits>
  44234. <bits access="rw" name="oddfrm" pos="29" rst="0">
  44235. </bits>
  44236. <bits access="rw" name="devaddr" pos="28:22" rst="0">
  44237. </bits>
  44238. <bits access="rw" name="ec" pos="21:20" rst="0">
  44239. </bits>
  44240. <bits access="rw" name="eptype" pos="19:18" rst="0">
  44241. </bits>
  44242. <bits access="rw" name="lspddev" pos="17" rst="0">
  44243. </bits>
  44244. <bits access="rw" name="epdir" pos="15" rst="0">
  44245. </bits>
  44246. <bits access="rw" name="epnum" pos="14:11" rst="0">
  44247. </bits>
  44248. <bits access="rw" name="mps" pos="10:0" rst="0">
  44249. </bits>
  44250. </reg>
  44251. <reg name="hcsplt1" protect="rw">
  44252. <bits access="rw" name="spltena" pos="31" rst="0">
  44253. </bits>
  44254. <bits access="rw" name="compsplt" pos="16" rst="0">
  44255. </bits>
  44256. <bits access="rw" name="xactpos" pos="15:14" rst="0">
  44257. </bits>
  44258. <bits access="rw" name="hubaddr" pos="13:7" rst="0">
  44259. </bits>
  44260. <bits access="rw" name="prtaddr" pos="6:0" rst="0">
  44261. </bits>
  44262. </reg>
  44263. <reg name="hcint1" protect="rw">
  44264. <bits access="rc" name="desc_lst_rollintr" pos="13" rst="0">
  44265. <comment>bit type is changed from w1c to rc.</comment>
  44266. </bits>
  44267. <bits access="rc" name="xcs_xact_err" pos="12" rst="0">
  44268. <comment>bit type is changed from w1c to rc.</comment>
  44269. </bits>
  44270. <bits access="rc" name="bnaintr" pos="11" rst="0">
  44271. <comment>bit type is changed from w1c to rc.</comment>
  44272. </bits>
  44273. <bits access="rc" name="datatglerr" pos="10" rst="0">
  44274. <comment>bit type is changed from w1c to rc.</comment>
  44275. </bits>
  44276. <bits access="rc" name="frmovrun" pos="9" rst="0">
  44277. <comment>bit type is changed from w1c to rc.</comment>
  44278. </bits>
  44279. <bits access="rc" name="bblerr" pos="8" rst="0">
  44280. <comment>bit type is changed from w1c to rc.</comment>
  44281. </bits>
  44282. <bits access="rc" name="xacterr" pos="7" rst="0">
  44283. <comment>bit type is changed from w1c to rc.</comment>
  44284. </bits>
  44285. <bits access="rc" name="nyet" pos="6" rst="0">
  44286. <comment>bit type is changed from w1c to rc.</comment>
  44287. </bits>
  44288. <bits access="rc" name="ack" pos="5" rst="0">
  44289. <comment>bit type is changed from w1c to rc.</comment>
  44290. </bits>
  44291. <bits access="rc" name="nak" pos="4" rst="0">
  44292. <comment>bit type is changed from w1c to rc.</comment>
  44293. </bits>
  44294. <bits access="rc" name="stall" pos="3" rst="0">
  44295. <comment>bit type is changed from w1c to rc.</comment>
  44296. </bits>
  44297. <bits access="rc" name="ahberr" pos="2" rst="0">
  44298. <comment>bit type is changed from w1c to rc.</comment>
  44299. </bits>
  44300. <bits access="rc" name="chhltd" pos="1" rst="0">
  44301. <comment>bit type is changed from w1c to rc.</comment>
  44302. </bits>
  44303. <bits access="rc" name="xfercompl" pos="0" rst="0">
  44304. <comment>bit type is changed from w1c to rc.</comment>
  44305. </bits>
  44306. </reg>
  44307. <reg name="hcintmsk1" protect="rw">
  44308. <bits access="rw" name="desc_lst_rollintrmsk" pos="13" rst="0">
  44309. </bits>
  44310. <bits access="rw" name="bnaintrmsk" pos="11" rst="0">
  44311. </bits>
  44312. <bits access="rw" name="ahberrmsk" pos="2" rst="0">
  44313. </bits>
  44314. <bits access="rw" name="chhltdmsk" pos="1" rst="0">
  44315. </bits>
  44316. <bits access="rw" name="xfercomplmsk" pos="0" rst="0">
  44317. </bits>
  44318. </reg>
  44319. <reg name="hctsiz1" protect="rw">
  44320. <bits access="rw" name="dopng" pos="31" rst="0">
  44321. </bits>
  44322. <bits access="rw" name="pid" pos="30:29" rst="0">
  44323. </bits>
  44324. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  44325. </bits>
  44326. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  44327. </bits>
  44328. </reg>
  44329. <reg name="hcdma1" protect="rw">
  44330. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  44331. </bits>
  44332. </reg>
  44333. <hole size="32"/>
  44334. <reg name="hcdmab1" protect="r">
  44335. <bits access="r" name="hcdmab" pos="31:0" rst="0">
  44336. </bits>
  44337. </reg>
  44338. <reg name="hcchar2" protect="rw">
  44339. <bits access="rw" name="chena" pos="31" rst="0">
  44340. <comment>bit type is changed from othr to rw.</comment>
  44341. </bits>
  44342. <bits access="rw" name="chdis" pos="30" rst="0">
  44343. <comment>bit type is changed from othr to rw.</comment>
  44344. </bits>
  44345. <bits access="rw" name="oddfrm" pos="29" rst="0">
  44346. </bits>
  44347. <bits access="rw" name="devaddr" pos="28:22" rst="0">
  44348. </bits>
  44349. <bits access="rw" name="ec" pos="21:20" rst="0">
  44350. </bits>
  44351. <bits access="rw" name="eptype" pos="19:18" rst="0">
  44352. </bits>
  44353. <bits access="rw" name="lspddev" pos="17" rst="0">
  44354. </bits>
  44355. <bits access="rw" name="epdir" pos="15" rst="0">
  44356. </bits>
  44357. <bits access="rw" name="epnum" pos="14:11" rst="0">
  44358. </bits>
  44359. <bits access="rw" name="mps" pos="10:0" rst="0">
  44360. </bits>
  44361. </reg>
  44362. <reg name="hcsplt2" protect="rw">
  44363. <bits access="rw" name="spltena" pos="31" rst="0">
  44364. </bits>
  44365. <bits access="rw" name="compsplt" pos="16" rst="0">
  44366. </bits>
  44367. <bits access="rw" name="xactpos" pos="15:14" rst="0">
  44368. </bits>
  44369. <bits access="rw" name="hubaddr" pos="13:7" rst="0">
  44370. </bits>
  44371. <bits access="rw" name="prtaddr" pos="6:0" rst="0">
  44372. </bits>
  44373. </reg>
  44374. <reg name="hcint2" protect="rw">
  44375. <bits access="rc" name="desc_lst_rollintr" pos="13" rst="0">
  44376. <comment>bit type is changed from w1c to rc.</comment>
  44377. </bits>
  44378. <bits access="rc" name="xcs_xact_err" pos="12" rst="0">
  44379. <comment>bit type is changed from w1c to rc.</comment>
  44380. </bits>
  44381. <bits access="rc" name="bnaintr" pos="11" rst="0">
  44382. <comment>bit type is changed from w1c to rc.</comment>
  44383. </bits>
  44384. <bits access="rc" name="datatglerr" pos="10" rst="0">
  44385. <comment>bit type is changed from w1c to rc.</comment>
  44386. </bits>
  44387. <bits access="rc" name="frmovrun" pos="9" rst="0">
  44388. <comment>bit type is changed from w1c to rc.</comment>
  44389. </bits>
  44390. <bits access="rc" name="bblerr" pos="8" rst="0">
  44391. <comment>bit type is changed from w1c to rc.</comment>
  44392. </bits>
  44393. <bits access="rc" name="xacterr" pos="7" rst="0">
  44394. <comment>bit type is changed from w1c to rc.</comment>
  44395. </bits>
  44396. <bits access="rc" name="nyet" pos="6" rst="0">
  44397. <comment>bit type is changed from w1c to rc.</comment>
  44398. </bits>
  44399. <bits access="rc" name="ack" pos="5" rst="0">
  44400. <comment>bit type is changed from w1c to rc.</comment>
  44401. </bits>
  44402. <bits access="rc" name="nak" pos="4" rst="0">
  44403. <comment>bit type is changed from w1c to rc.</comment>
  44404. </bits>
  44405. <bits access="rc" name="stall" pos="3" rst="0">
  44406. <comment>bit type is changed from w1c to rc.</comment>
  44407. </bits>
  44408. <bits access="rc" name="ahberr" pos="2" rst="0">
  44409. <comment>bit type is changed from w1c to rc.</comment>
  44410. </bits>
  44411. <bits access="rc" name="chhltd" pos="1" rst="0">
  44412. <comment>bit type is changed from w1c to rc.</comment>
  44413. </bits>
  44414. <bits access="rc" name="xfercompl" pos="0" rst="0">
  44415. <comment>bit type is changed from w1c to rc.</comment>
  44416. </bits>
  44417. </reg>
  44418. <reg name="hcintmsk2" protect="rw">
  44419. <bits access="rw" name="desc_lst_rollintrmsk" pos="13" rst="0">
  44420. </bits>
  44421. <bits access="rw" name="bnaintrmsk" pos="11" rst="0">
  44422. </bits>
  44423. <bits access="rw" name="ahberrmsk" pos="2" rst="0">
  44424. </bits>
  44425. <bits access="rw" name="chhltdmsk" pos="1" rst="0">
  44426. </bits>
  44427. <bits access="rw" name="xfercomplmsk" pos="0" rst="0">
  44428. </bits>
  44429. </reg>
  44430. <reg name="hctsiz2" protect="rw">
  44431. <bits access="rw" name="dopng" pos="31" rst="0">
  44432. </bits>
  44433. <bits access="rw" name="pid" pos="30:29" rst="0">
  44434. </bits>
  44435. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  44436. </bits>
  44437. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  44438. </bits>
  44439. </reg>
  44440. <reg name="hcdma2" protect="rw">
  44441. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  44442. </bits>
  44443. </reg>
  44444. <hole size="32"/>
  44445. <reg name="hcdmab2" protect="r">
  44446. <bits access="r" name="hcdmab" pos="31:0" rst="0">
  44447. </bits>
  44448. </reg>
  44449. <reg name="hcchar3" protect="rw">
  44450. <bits access="rw" name="chena" pos="31" rst="0">
  44451. <comment>bit type is changed from othr to rw.</comment>
  44452. </bits>
  44453. <bits access="rw" name="chdis" pos="30" rst="0">
  44454. <comment>bit type is changed from othr to rw.</comment>
  44455. </bits>
  44456. <bits access="rw" name="oddfrm" pos="29" rst="0">
  44457. </bits>
  44458. <bits access="rw" name="devaddr" pos="28:22" rst="0">
  44459. </bits>
  44460. <bits access="rw" name="ec" pos="21:20" rst="0">
  44461. </bits>
  44462. <bits access="rw" name="eptype" pos="19:18" rst="0">
  44463. </bits>
  44464. <bits access="rw" name="lspddev" pos="17" rst="0">
  44465. </bits>
  44466. <bits access="rw" name="epdir" pos="15" rst="0">
  44467. </bits>
  44468. <bits access="rw" name="epnum" pos="14:11" rst="0">
  44469. </bits>
  44470. <bits access="rw" name="mps" pos="10:0" rst="0">
  44471. </bits>
  44472. </reg>
  44473. <reg name="hcsplt3" protect="rw">
  44474. <bits access="rw" name="spltena" pos="31" rst="0">
  44475. </bits>
  44476. <bits access="rw" name="compsplt" pos="16" rst="0">
  44477. </bits>
  44478. <bits access="rw" name="xactpos" pos="15:14" rst="0">
  44479. </bits>
  44480. <bits access="rw" name="hubaddr" pos="13:7" rst="0">
  44481. </bits>
  44482. <bits access="rw" name="prtaddr" pos="6:0" rst="0">
  44483. </bits>
  44484. </reg>
  44485. <reg name="hcint3" protect="rw">
  44486. <bits access="rc" name="desc_lst_rollintr" pos="13" rst="0">
  44487. <comment>bit type is changed from w1c to rc.</comment>
  44488. </bits>
  44489. <bits access="rc" name="xcs_xact_err" pos="12" rst="0">
  44490. <comment>bit type is changed from w1c to rc.</comment>
  44491. </bits>
  44492. <bits access="rc" name="bnaintr" pos="11" rst="0">
  44493. <comment>bit type is changed from w1c to rc.</comment>
  44494. </bits>
  44495. <bits access="rc" name="datatglerr" pos="10" rst="0">
  44496. <comment>bit type is changed from w1c to rc.</comment>
  44497. </bits>
  44498. <bits access="rc" name="frmovrun" pos="9" rst="0">
  44499. <comment>bit type is changed from w1c to rc.</comment>
  44500. </bits>
  44501. <bits access="rc" name="bblerr" pos="8" rst="0">
  44502. <comment>bit type is changed from w1c to rc.</comment>
  44503. </bits>
  44504. <bits access="rc" name="xacterr" pos="7" rst="0">
  44505. <comment>bit type is changed from w1c to rc.</comment>
  44506. </bits>
  44507. <bits access="rc" name="nyet" pos="6" rst="0">
  44508. <comment>bit type is changed from w1c to rc.</comment>
  44509. </bits>
  44510. <bits access="rc" name="ack" pos="5" rst="0">
  44511. <comment>bit type is changed from w1c to rc.</comment>
  44512. </bits>
  44513. <bits access="rc" name="nak" pos="4" rst="0">
  44514. <comment>bit type is changed from w1c to rc.</comment>
  44515. </bits>
  44516. <bits access="rc" name="stall" pos="3" rst="0">
  44517. <comment>bit type is changed from w1c to rc.</comment>
  44518. </bits>
  44519. <bits access="rc" name="ahberr" pos="2" rst="0">
  44520. <comment>bit type is changed from w1c to rc.</comment>
  44521. </bits>
  44522. <bits access="rc" name="chhltd" pos="1" rst="0">
  44523. <comment>bit type is changed from w1c to rc.</comment>
  44524. </bits>
  44525. <bits access="rc" name="xfercompl" pos="0" rst="0">
  44526. <comment>bit type is changed from w1c to rc.</comment>
  44527. </bits>
  44528. </reg>
  44529. <reg name="hcintmsk3" protect="rw">
  44530. <bits access="rw" name="desc_lst_rollintrmsk" pos="13" rst="0">
  44531. </bits>
  44532. <bits access="rw" name="bnaintrmsk" pos="11" rst="0">
  44533. </bits>
  44534. <bits access="rw" name="ahberrmsk" pos="2" rst="0">
  44535. </bits>
  44536. <bits access="rw" name="chhltdmsk" pos="1" rst="0">
  44537. </bits>
  44538. <bits access="rw" name="xfercomplmsk" pos="0" rst="0">
  44539. </bits>
  44540. </reg>
  44541. <reg name="hctsiz3" protect="rw">
  44542. <bits access="rw" name="dopng" pos="31" rst="0">
  44543. </bits>
  44544. <bits access="rw" name="pid" pos="30:29" rst="0">
  44545. </bits>
  44546. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  44547. </bits>
  44548. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  44549. </bits>
  44550. </reg>
  44551. <reg name="hcdma3" protect="rw">
  44552. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  44553. </bits>
  44554. </reg>
  44555. <hole size="32"/>
  44556. <reg name="hcdmab3" protect="r">
  44557. <bits access="r" name="hcdmab" pos="31:0" rst="0">
  44558. </bits>
  44559. </reg>
  44560. <reg name="hcchar4" protect="rw">
  44561. <bits access="rw" name="chena" pos="31" rst="0">
  44562. <comment>bit type is changed from othr to rw.</comment>
  44563. </bits>
  44564. <bits access="rw" name="chdis" pos="30" rst="0">
  44565. <comment>bit type is changed from othr to rw.</comment>
  44566. </bits>
  44567. <bits access="rw" name="oddfrm" pos="29" rst="0">
  44568. </bits>
  44569. <bits access="rw" name="devaddr" pos="28:22" rst="0">
  44570. </bits>
  44571. <bits access="rw" name="ec" pos="21:20" rst="0">
  44572. </bits>
  44573. <bits access="rw" name="eptype" pos="19:18" rst="0">
  44574. </bits>
  44575. <bits access="rw" name="lspddev" pos="17" rst="0">
  44576. </bits>
  44577. <bits access="rw" name="epdir" pos="15" rst="0">
  44578. </bits>
  44579. <bits access="rw" name="epnum" pos="14:11" rst="0">
  44580. </bits>
  44581. <bits access="rw" name="mps" pos="10:0" rst="0">
  44582. </bits>
  44583. </reg>
  44584. <reg name="hcsplt4" protect="rw">
  44585. <bits access="rw" name="spltena" pos="31" rst="0">
  44586. </bits>
  44587. <bits access="rw" name="compsplt" pos="16" rst="0">
  44588. </bits>
  44589. <bits access="rw" name="xactpos" pos="15:14" rst="0">
  44590. </bits>
  44591. <bits access="rw" name="hubaddr" pos="13:7" rst="0">
  44592. </bits>
  44593. <bits access="rw" name="prtaddr" pos="6:0" rst="0">
  44594. </bits>
  44595. </reg>
  44596. <reg name="hcint4" protect="rw">
  44597. <bits access="rc" name="desc_lst_rollintr" pos="13" rst="0">
  44598. <comment>bit type is changed from w1c to rc.</comment>
  44599. </bits>
  44600. <bits access="rc" name="xcs_xact_err" pos="12" rst="0">
  44601. <comment>bit type is changed from w1c to rc.</comment>
  44602. </bits>
  44603. <bits access="rc" name="bnaintr" pos="11" rst="0">
  44604. <comment>bit type is changed from w1c to rc.</comment>
  44605. </bits>
  44606. <bits access="rc" name="datatglerr" pos="10" rst="0">
  44607. <comment>bit type is changed from w1c to rc.</comment>
  44608. </bits>
  44609. <bits access="rc" name="frmovrun" pos="9" rst="0">
  44610. <comment>bit type is changed from w1c to rc.</comment>
  44611. </bits>
  44612. <bits access="rc" name="bblerr" pos="8" rst="0">
  44613. <comment>bit type is changed from w1c to rc.</comment>
  44614. </bits>
  44615. <bits access="rc" name="xacterr" pos="7" rst="0">
  44616. <comment>bit type is changed from w1c to rc.</comment>
  44617. </bits>
  44618. <bits access="rc" name="nyet" pos="6" rst="0">
  44619. <comment>bit type is changed from w1c to rc.</comment>
  44620. </bits>
  44621. <bits access="rc" name="ack" pos="5" rst="0">
  44622. <comment>bit type is changed from w1c to rc.</comment>
  44623. </bits>
  44624. <bits access="rc" name="nak" pos="4" rst="0">
  44625. <comment>bit type is changed from w1c to rc.</comment>
  44626. </bits>
  44627. <bits access="rc" name="stall" pos="3" rst="0">
  44628. <comment>bit type is changed from w1c to rc.</comment>
  44629. </bits>
  44630. <bits access="rc" name="ahberr" pos="2" rst="0">
  44631. <comment>bit type is changed from w1c to rc.</comment>
  44632. </bits>
  44633. <bits access="rc" name="chhltd" pos="1" rst="0">
  44634. <comment>bit type is changed from w1c to rc.</comment>
  44635. </bits>
  44636. <bits access="rc" name="xfercompl" pos="0" rst="0">
  44637. <comment>bit type is changed from w1c to rc.</comment>
  44638. </bits>
  44639. </reg>
  44640. <reg name="hcintmsk4" protect="rw">
  44641. <bits access="rw" name="desc_lst_rollintrmsk" pos="13" rst="0">
  44642. </bits>
  44643. <bits access="rw" name="bnaintrmsk" pos="11" rst="0">
  44644. </bits>
  44645. <bits access="rw" name="ahberrmsk" pos="2" rst="0">
  44646. </bits>
  44647. <bits access="rw" name="chhltdmsk" pos="1" rst="0">
  44648. </bits>
  44649. <bits access="rw" name="xfercomplmsk" pos="0" rst="0">
  44650. </bits>
  44651. </reg>
  44652. <reg name="hctsiz4" protect="rw">
  44653. <bits access="rw" name="dopng" pos="31" rst="0">
  44654. </bits>
  44655. <bits access="rw" name="pid" pos="30:29" rst="0">
  44656. </bits>
  44657. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  44658. </bits>
  44659. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  44660. </bits>
  44661. </reg>
  44662. <reg name="hcdma4" protect="rw">
  44663. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  44664. </bits>
  44665. </reg>
  44666. <hole size="32"/>
  44667. <reg name="hcdmab4" protect="r">
  44668. <bits access="r" name="hcdmab" pos="31:0" rst="0">
  44669. </bits>
  44670. </reg>
  44671. <reg name="hcchar5" protect="rw">
  44672. <bits access="rw" name="chena" pos="31" rst="0">
  44673. <comment>bit type is changed from othr to rw.</comment>
  44674. </bits>
  44675. <bits access="rw" name="chdis" pos="30" rst="0">
  44676. <comment>bit type is changed from othr to rw.</comment>
  44677. </bits>
  44678. <bits access="rw" name="oddfrm" pos="29" rst="0">
  44679. </bits>
  44680. <bits access="rw" name="devaddr" pos="28:22" rst="0">
  44681. </bits>
  44682. <bits access="rw" name="ec" pos="21:20" rst="0">
  44683. </bits>
  44684. <bits access="rw" name="eptype" pos="19:18" rst="0">
  44685. </bits>
  44686. <bits access="rw" name="lspddev" pos="17" rst="0">
  44687. </bits>
  44688. <bits access="rw" name="epdir" pos="15" rst="0">
  44689. </bits>
  44690. <bits access="rw" name="epnum" pos="14:11" rst="0">
  44691. </bits>
  44692. <bits access="rw" name="mps" pos="10:0" rst="0">
  44693. </bits>
  44694. </reg>
  44695. <reg name="hcsplt5" protect="rw">
  44696. <bits access="rw" name="spltena" pos="31" rst="0">
  44697. </bits>
  44698. <bits access="rw" name="compsplt" pos="16" rst="0">
  44699. </bits>
  44700. <bits access="rw" name="xactpos" pos="15:14" rst="0">
  44701. </bits>
  44702. <bits access="rw" name="hubaddr" pos="13:7" rst="0">
  44703. </bits>
  44704. <bits access="rw" name="prtaddr" pos="6:0" rst="0">
  44705. </bits>
  44706. </reg>
  44707. <reg name="hcint5" protect="rw">
  44708. <bits access="rc" name="desc_lst_rollintr" pos="13" rst="0">
  44709. <comment>bit type is changed from w1c to rc.</comment>
  44710. </bits>
  44711. <bits access="rc" name="xcs_xact_err" pos="12" rst="0">
  44712. <comment>bit type is changed from w1c to rc.</comment>
  44713. </bits>
  44714. <bits access="rc" name="bnaintr" pos="11" rst="0">
  44715. <comment>bit type is changed from w1c to rc.</comment>
  44716. </bits>
  44717. <bits access="rc" name="datatglerr" pos="10" rst="0">
  44718. <comment>bit type is changed from w1c to rc.</comment>
  44719. </bits>
  44720. <bits access="rc" name="frmovrun" pos="9" rst="0">
  44721. <comment>bit type is changed from w1c to rc.</comment>
  44722. </bits>
  44723. <bits access="rc" name="bblerr" pos="8" rst="0">
  44724. <comment>bit type is changed from w1c to rc.</comment>
  44725. </bits>
  44726. <bits access="rc" name="xacterr" pos="7" rst="0">
  44727. <comment>bit type is changed from w1c to rc.</comment>
  44728. </bits>
  44729. <bits access="rc" name="nyet" pos="6" rst="0">
  44730. <comment>bit type is changed from w1c to rc.</comment>
  44731. </bits>
  44732. <bits access="rc" name="ack" pos="5" rst="0">
  44733. <comment>bit type is changed from w1c to rc.</comment>
  44734. </bits>
  44735. <bits access="rc" name="nak" pos="4" rst="0">
  44736. <comment>bit type is changed from w1c to rc.</comment>
  44737. </bits>
  44738. <bits access="rc" name="stall" pos="3" rst="0">
  44739. <comment>bit type is changed from w1c to rc.</comment>
  44740. </bits>
  44741. <bits access="rc" name="ahberr" pos="2" rst="0">
  44742. <comment>bit type is changed from w1c to rc.</comment>
  44743. </bits>
  44744. <bits access="rc" name="chhltd" pos="1" rst="0">
  44745. <comment>bit type is changed from w1c to rc.</comment>
  44746. </bits>
  44747. <bits access="rc" name="xfercompl" pos="0" rst="0">
  44748. <comment>bit type is changed from w1c to rc.</comment>
  44749. </bits>
  44750. </reg>
  44751. <reg name="hcintmsk5" protect="rw">
  44752. <bits access="rw" name="desc_lst_rollintrmsk" pos="13" rst="0">
  44753. </bits>
  44754. <bits access="rw" name="bnaintrmsk" pos="11" rst="0">
  44755. </bits>
  44756. <bits access="rw" name="ahberrmsk" pos="2" rst="0">
  44757. </bits>
  44758. <bits access="rw" name="chhltdmsk" pos="1" rst="0">
  44759. </bits>
  44760. <bits access="rw" name="xfercomplmsk" pos="0" rst="0">
  44761. </bits>
  44762. </reg>
  44763. <reg name="hctsiz5" protect="rw">
  44764. <bits access="rw" name="dopng" pos="31" rst="0">
  44765. </bits>
  44766. <bits access="rw" name="pid" pos="30:29" rst="0">
  44767. </bits>
  44768. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  44769. </bits>
  44770. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  44771. </bits>
  44772. </reg>
  44773. <reg name="hcdma5" protect="rw">
  44774. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  44775. </bits>
  44776. </reg>
  44777. <hole size="32"/>
  44778. <reg name="hcdmab5" protect="r">
  44779. <bits access="r" name="hcdmab" pos="31:0" rst="0">
  44780. </bits>
  44781. </reg>
  44782. <reg name="hcchar6" protect="rw">
  44783. <bits access="rw" name="chena" pos="31" rst="0">
  44784. <comment>bit type is changed from othr to rw.</comment>
  44785. </bits>
  44786. <bits access="rw" name="chdis" pos="30" rst="0">
  44787. <comment>bit type is changed from othr to rw.</comment>
  44788. </bits>
  44789. <bits access="rw" name="oddfrm" pos="29" rst="0">
  44790. </bits>
  44791. <bits access="rw" name="devaddr" pos="28:22" rst="0">
  44792. </bits>
  44793. <bits access="rw" name="ec" pos="21:20" rst="0">
  44794. </bits>
  44795. <bits access="rw" name="eptype" pos="19:18" rst="0">
  44796. </bits>
  44797. <bits access="rw" name="lspddev" pos="17" rst="0">
  44798. </bits>
  44799. <bits access="rw" name="epdir" pos="15" rst="0">
  44800. </bits>
  44801. <bits access="rw" name="epnum" pos="14:11" rst="0">
  44802. </bits>
  44803. <bits access="rw" name="mps" pos="10:0" rst="0">
  44804. </bits>
  44805. </reg>
  44806. <reg name="hcsplt6" protect="rw">
  44807. <bits access="rw" name="spltena" pos="31" rst="0">
  44808. </bits>
  44809. <bits access="rw" name="compsplt" pos="16" rst="0">
  44810. </bits>
  44811. <bits access="rw" name="xactpos" pos="15:14" rst="0">
  44812. </bits>
  44813. <bits access="rw" name="hubaddr" pos="13:7" rst="0">
  44814. </bits>
  44815. <bits access="rw" name="prtaddr" pos="6:0" rst="0">
  44816. </bits>
  44817. </reg>
  44818. <reg name="hcint6" protect="rw">
  44819. <bits access="rc" name="desc_lst_rollintr" pos="13" rst="0">
  44820. <comment>bit type is changed from w1c to rc.</comment>
  44821. </bits>
  44822. <bits access="rc" name="xcs_xact_err" pos="12" rst="0">
  44823. <comment>bit type is changed from w1c to rc.</comment>
  44824. </bits>
  44825. <bits access="rc" name="bnaintr" pos="11" rst="0">
  44826. <comment>bit type is changed from w1c to rc.</comment>
  44827. </bits>
  44828. <bits access="rc" name="datatglerr" pos="10" rst="0">
  44829. <comment>bit type is changed from w1c to rc.</comment>
  44830. </bits>
  44831. <bits access="rc" name="frmovrun" pos="9" rst="0">
  44832. <comment>bit type is changed from w1c to rc.</comment>
  44833. </bits>
  44834. <bits access="rc" name="bblerr" pos="8" rst="0">
  44835. <comment>bit type is changed from w1c to rc.</comment>
  44836. </bits>
  44837. <bits access="rc" name="xacterr" pos="7" rst="0">
  44838. <comment>bit type is changed from w1c to rc.</comment>
  44839. </bits>
  44840. <bits access="rc" name="nyet" pos="6" rst="0">
  44841. <comment>bit type is changed from w1c to rc.</comment>
  44842. </bits>
  44843. <bits access="rc" name="ack" pos="5" rst="0">
  44844. <comment>bit type is changed from w1c to rc.</comment>
  44845. </bits>
  44846. <bits access="rc" name="nak" pos="4" rst="0">
  44847. <comment>bit type is changed from w1c to rc.</comment>
  44848. </bits>
  44849. <bits access="rc" name="stall" pos="3" rst="0">
  44850. <comment>bit type is changed from w1c to rc.</comment>
  44851. </bits>
  44852. <bits access="rc" name="ahberr" pos="2" rst="0">
  44853. <comment>bit type is changed from w1c to rc.</comment>
  44854. </bits>
  44855. <bits access="rc" name="chhltd" pos="1" rst="0">
  44856. <comment>bit type is changed from w1c to rc.</comment>
  44857. </bits>
  44858. <bits access="rc" name="xfercompl" pos="0" rst="0">
  44859. <comment>bit type is changed from w1c to rc.</comment>
  44860. </bits>
  44861. </reg>
  44862. <reg name="hcintmsk6" protect="rw">
  44863. <bits access="rw" name="desc_lst_rollintrmsk" pos="13" rst="0">
  44864. </bits>
  44865. <bits access="rw" name="bnaintrmsk" pos="11" rst="0">
  44866. </bits>
  44867. <bits access="rw" name="ahberrmsk" pos="2" rst="0">
  44868. </bits>
  44869. <bits access="rw" name="chhltdmsk" pos="1" rst="0">
  44870. </bits>
  44871. <bits access="rw" name="xfercomplmsk" pos="0" rst="0">
  44872. </bits>
  44873. </reg>
  44874. <reg name="hctsiz6" protect="rw">
  44875. <bits access="rw" name="dopng" pos="31" rst="0">
  44876. </bits>
  44877. <bits access="rw" name="pid" pos="30:29" rst="0">
  44878. </bits>
  44879. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  44880. </bits>
  44881. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  44882. </bits>
  44883. </reg>
  44884. <reg name="hcdma6" protect="rw">
  44885. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  44886. </bits>
  44887. </reg>
  44888. <hole size="32"/>
  44889. <reg name="hcdmab6" protect="r">
  44890. <bits access="r" name="hcdmab" pos="31:0" rst="0">
  44891. </bits>
  44892. </reg>
  44893. <reg name="hcchar7" protect="rw">
  44894. <bits access="rw" name="chena" pos="31" rst="0">
  44895. <comment>bit type is changed from othr to rw.</comment>
  44896. </bits>
  44897. <bits access="rw" name="chdis" pos="30" rst="0">
  44898. <comment>bit type is changed from othr to rw.</comment>
  44899. </bits>
  44900. <bits access="rw" name="oddfrm" pos="29" rst="0">
  44901. </bits>
  44902. <bits access="rw" name="devaddr" pos="28:22" rst="0">
  44903. </bits>
  44904. <bits access="rw" name="ec" pos="21:20" rst="0">
  44905. </bits>
  44906. <bits access="rw" name="eptype" pos="19:18" rst="0">
  44907. </bits>
  44908. <bits access="rw" name="lspddev" pos="17" rst="0">
  44909. </bits>
  44910. <bits access="rw" name="epdir" pos="15" rst="0">
  44911. </bits>
  44912. <bits access="rw" name="epnum" pos="14:11" rst="0">
  44913. </bits>
  44914. <bits access="rw" name="mps" pos="10:0" rst="0">
  44915. </bits>
  44916. </reg>
  44917. <reg name="hcsplt7" protect="rw">
  44918. <bits access="rw" name="spltena" pos="31" rst="0">
  44919. </bits>
  44920. <bits access="rw" name="compsplt" pos="16" rst="0">
  44921. </bits>
  44922. <bits access="rw" name="xactpos" pos="15:14" rst="0">
  44923. </bits>
  44924. <bits access="rw" name="hubaddr" pos="13:7" rst="0">
  44925. </bits>
  44926. <bits access="rw" name="prtaddr" pos="6:0" rst="0">
  44927. </bits>
  44928. </reg>
  44929. <reg name="hcint7" protect="rw">
  44930. <bits access="rc" name="desc_lst_rollintr" pos="13" rst="0">
  44931. <comment>bit type is changed from w1c to rc.</comment>
  44932. </bits>
  44933. <bits access="rc" name="xcs_xact_err" pos="12" rst="0">
  44934. <comment>bit type is changed from w1c to rc.</comment>
  44935. </bits>
  44936. <bits access="rc" name="bnaintr" pos="11" rst="0">
  44937. <comment>bit type is changed from w1c to rc.</comment>
  44938. </bits>
  44939. <bits access="rc" name="datatglerr" pos="10" rst="0">
  44940. <comment>bit type is changed from w1c to rc.</comment>
  44941. </bits>
  44942. <bits access="rc" name="frmovrun" pos="9" rst="0">
  44943. <comment>bit type is changed from w1c to rc.</comment>
  44944. </bits>
  44945. <bits access="rc" name="bblerr" pos="8" rst="0">
  44946. <comment>bit type is changed from w1c to rc.</comment>
  44947. </bits>
  44948. <bits access="rc" name="xacterr" pos="7" rst="0">
  44949. <comment>bit type is changed from w1c to rc.</comment>
  44950. </bits>
  44951. <bits access="rc" name="nyet" pos="6" rst="0">
  44952. <comment>bit type is changed from w1c to rc.</comment>
  44953. </bits>
  44954. <bits access="rc" name="ack" pos="5" rst="0">
  44955. <comment>bit type is changed from w1c to rc.</comment>
  44956. </bits>
  44957. <bits access="rc" name="nak" pos="4" rst="0">
  44958. <comment>bit type is changed from w1c to rc.</comment>
  44959. </bits>
  44960. <bits access="rc" name="stall" pos="3" rst="0">
  44961. <comment>bit type is changed from w1c to rc.</comment>
  44962. </bits>
  44963. <bits access="rc" name="ahberr" pos="2" rst="0">
  44964. <comment>bit type is changed from w1c to rc.</comment>
  44965. </bits>
  44966. <bits access="rc" name="chhltd" pos="1" rst="0">
  44967. <comment>bit type is changed from w1c to rc.</comment>
  44968. </bits>
  44969. <bits access="rc" name="xfercompl" pos="0" rst="0">
  44970. <comment>bit type is changed from w1c to rc.</comment>
  44971. </bits>
  44972. </reg>
  44973. <reg name="hcintmsk7" protect="rw">
  44974. <bits access="rw" name="desc_lst_rollintrmsk" pos="13" rst="0">
  44975. </bits>
  44976. <bits access="rw" name="bnaintrmsk" pos="11" rst="0">
  44977. </bits>
  44978. <bits access="rw" name="ahberrmsk" pos="2" rst="0">
  44979. </bits>
  44980. <bits access="rw" name="chhltdmsk" pos="1" rst="0">
  44981. </bits>
  44982. <bits access="rw" name="xfercomplmsk" pos="0" rst="0">
  44983. </bits>
  44984. </reg>
  44985. <reg name="hctsiz7" protect="rw">
  44986. <bits access="rw" name="dopng" pos="31" rst="0">
  44987. </bits>
  44988. <bits access="rw" name="pid" pos="30:29" rst="0">
  44989. </bits>
  44990. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  44991. </bits>
  44992. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  44993. </bits>
  44994. </reg>
  44995. <reg name="hcdma7" protect="rw">
  44996. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  44997. </bits>
  44998. </reg>
  44999. <hole size="32"/>
  45000. <reg name="hcdmab7" protect="r">
  45001. <bits access="r" name="hcdmab" pos="31:0" rst="0">
  45002. </bits>
  45003. </reg>
  45004. <reg name="hcchar8" protect="rw">
  45005. <bits access="rw" name="chena" pos="31" rst="0">
  45006. <comment>bit type is changed from othr to rw.</comment>
  45007. </bits>
  45008. <bits access="rw" name="chdis" pos="30" rst="0">
  45009. <comment>bit type is changed from othr to rw.</comment>
  45010. </bits>
  45011. <bits access="rw" name="oddfrm" pos="29" rst="0">
  45012. </bits>
  45013. <bits access="rw" name="devaddr" pos="28:22" rst="0">
  45014. </bits>
  45015. <bits access="rw" name="ec" pos="21:20" rst="0">
  45016. </bits>
  45017. <bits access="rw" name="eptype" pos="19:18" rst="0">
  45018. </bits>
  45019. <bits access="rw" name="lspddev" pos="17" rst="0">
  45020. </bits>
  45021. <bits access="rw" name="epdir" pos="15" rst="0">
  45022. </bits>
  45023. <bits access="rw" name="epnum" pos="14:11" rst="0">
  45024. </bits>
  45025. <bits access="rw" name="mps" pos="10:0" rst="0">
  45026. </bits>
  45027. </reg>
  45028. <reg name="hcsplt8" protect="rw">
  45029. <bits access="rw" name="spltena" pos="31" rst="0">
  45030. </bits>
  45031. <bits access="rw" name="compsplt" pos="16" rst="0">
  45032. </bits>
  45033. <bits access="rw" name="xactpos" pos="15:14" rst="0">
  45034. </bits>
  45035. <bits access="rw" name="hubaddr" pos="13:7" rst="0">
  45036. </bits>
  45037. <bits access="rw" name="prtaddr" pos="6:0" rst="0">
  45038. </bits>
  45039. </reg>
  45040. <reg name="hcint8" protect="rw">
  45041. <bits access="rc" name="desc_lst_rollintr" pos="13" rst="0">
  45042. <comment>bit type is changed from w1c to rc.</comment>
  45043. </bits>
  45044. <bits access="rc" name="xcs_xact_err" pos="12" rst="0">
  45045. <comment>bit type is changed from w1c to rc.</comment>
  45046. </bits>
  45047. <bits access="rc" name="bnaintr" pos="11" rst="0">
  45048. <comment>bit type is changed from w1c to rc.</comment>
  45049. </bits>
  45050. <bits access="rc" name="datatglerr" pos="10" rst="0">
  45051. <comment>bit type is changed from w1c to rc.</comment>
  45052. </bits>
  45053. <bits access="rc" name="frmovrun" pos="9" rst="0">
  45054. <comment>bit type is changed from w1c to rc.</comment>
  45055. </bits>
  45056. <bits access="rc" name="bblerr" pos="8" rst="0">
  45057. <comment>bit type is changed from w1c to rc.</comment>
  45058. </bits>
  45059. <bits access="rc" name="xacterr" pos="7" rst="0">
  45060. <comment>bit type is changed from w1c to rc.</comment>
  45061. </bits>
  45062. <bits access="rc" name="nyet" pos="6" rst="0">
  45063. <comment>bit type is changed from w1c to rc.</comment>
  45064. </bits>
  45065. <bits access="rc" name="ack" pos="5" rst="0">
  45066. <comment>bit type is changed from w1c to rc.</comment>
  45067. </bits>
  45068. <bits access="rc" name="nak" pos="4" rst="0">
  45069. <comment>bit type is changed from w1c to rc.</comment>
  45070. </bits>
  45071. <bits access="rc" name="stall" pos="3" rst="0">
  45072. <comment>bit type is changed from w1c to rc.</comment>
  45073. </bits>
  45074. <bits access="rc" name="ahberr" pos="2" rst="0">
  45075. <comment>bit type is changed from w1c to rc.</comment>
  45076. </bits>
  45077. <bits access="rc" name="chhltd" pos="1" rst="0">
  45078. <comment>bit type is changed from w1c to rc.</comment>
  45079. </bits>
  45080. <bits access="rc" name="xfercompl" pos="0" rst="0">
  45081. <comment>bit type is changed from w1c to rc.</comment>
  45082. </bits>
  45083. </reg>
  45084. <reg name="hcintmsk8" protect="rw">
  45085. <bits access="rw" name="desc_lst_rollintrmsk" pos="13" rst="0">
  45086. </bits>
  45087. <bits access="rw" name="bnaintrmsk" pos="11" rst="0">
  45088. </bits>
  45089. <bits access="rw" name="ahberrmsk" pos="2" rst="0">
  45090. </bits>
  45091. <bits access="rw" name="chhltdmsk" pos="1" rst="0">
  45092. </bits>
  45093. <bits access="rw" name="xfercomplmsk" pos="0" rst="0">
  45094. </bits>
  45095. </reg>
  45096. <reg name="hctsiz8" protect="rw">
  45097. <bits access="rw" name="dopng" pos="31" rst="0">
  45098. </bits>
  45099. <bits access="rw" name="pid" pos="30:29" rst="0">
  45100. </bits>
  45101. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  45102. </bits>
  45103. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  45104. </bits>
  45105. </reg>
  45106. <reg name="hcdma8" protect="rw">
  45107. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  45108. </bits>
  45109. </reg>
  45110. <hole size="32"/>
  45111. <reg name="hcdmab8" protect="r">
  45112. <bits access="r" name="hcdmab" pos="31:0" rst="0">
  45113. </bits>
  45114. </reg>
  45115. <reg name="hcchar9" protect="rw">
  45116. <bits access="rw" name="chena" pos="31" rst="0">
  45117. <comment>bit type is changed from othr to rw.</comment>
  45118. </bits>
  45119. <bits access="rw" name="chdis" pos="30" rst="0">
  45120. <comment>bit type is changed from othr to rw.</comment>
  45121. </bits>
  45122. <bits access="rw" name="oddfrm" pos="29" rst="0">
  45123. </bits>
  45124. <bits access="rw" name="devaddr" pos="28:22" rst="0">
  45125. </bits>
  45126. <bits access="rw" name="ec" pos="21:20" rst="0">
  45127. </bits>
  45128. <bits access="rw" name="eptype" pos="19:18" rst="0">
  45129. </bits>
  45130. <bits access="rw" name="lspddev" pos="17" rst="0">
  45131. </bits>
  45132. <bits access="rw" name="epdir" pos="15" rst="0">
  45133. </bits>
  45134. <bits access="rw" name="epnum" pos="14:11" rst="0">
  45135. </bits>
  45136. <bits access="rw" name="mps" pos="10:0" rst="0">
  45137. </bits>
  45138. </reg>
  45139. <reg name="hcsplt9" protect="rw">
  45140. <bits access="rw" name="spltena" pos="31" rst="0">
  45141. </bits>
  45142. <bits access="rw" name="compsplt" pos="16" rst="0">
  45143. </bits>
  45144. <bits access="rw" name="xactpos" pos="15:14" rst="0">
  45145. </bits>
  45146. <bits access="rw" name="hubaddr" pos="13:7" rst="0">
  45147. </bits>
  45148. <bits access="rw" name="prtaddr" pos="6:0" rst="0">
  45149. </bits>
  45150. </reg>
  45151. <reg name="hcint9" protect="rw">
  45152. <bits access="rc" name="desc_lst_rollintr" pos="13" rst="0">
  45153. <comment>bit type is changed from w1c to rc.</comment>
  45154. </bits>
  45155. <bits access="rc" name="xcs_xact_err" pos="12" rst="0">
  45156. <comment>bit type is changed from w1c to rc.</comment>
  45157. </bits>
  45158. <bits access="rc" name="bnaintr" pos="11" rst="0">
  45159. <comment>bit type is changed from w1c to rc.</comment>
  45160. </bits>
  45161. <bits access="rc" name="datatglerr" pos="10" rst="0">
  45162. <comment>bit type is changed from w1c to rc.</comment>
  45163. </bits>
  45164. <bits access="rc" name="frmovrun" pos="9" rst="0">
  45165. <comment>bit type is changed from w1c to rc.</comment>
  45166. </bits>
  45167. <bits access="rc" name="bblerr" pos="8" rst="0">
  45168. <comment>bit type is changed from w1c to rc.</comment>
  45169. </bits>
  45170. <bits access="rc" name="xacterr" pos="7" rst="0">
  45171. <comment>bit type is changed from w1c to rc.</comment>
  45172. </bits>
  45173. <bits access="rc" name="nyet" pos="6" rst="0">
  45174. <comment>bit type is changed from w1c to rc.</comment>
  45175. </bits>
  45176. <bits access="rc" name="ack" pos="5" rst="0">
  45177. <comment>bit type is changed from w1c to rc.</comment>
  45178. </bits>
  45179. <bits access="rc" name="nak" pos="4" rst="0">
  45180. <comment>bit type is changed from w1c to rc.</comment>
  45181. </bits>
  45182. <bits access="rc" name="stall" pos="3" rst="0">
  45183. <comment>bit type is changed from w1c to rc.</comment>
  45184. </bits>
  45185. <bits access="rc" name="ahberr" pos="2" rst="0">
  45186. <comment>bit type is changed from w1c to rc.</comment>
  45187. </bits>
  45188. <bits access="rc" name="chhltd" pos="1" rst="0">
  45189. <comment>bit type is changed from w1c to rc.</comment>
  45190. </bits>
  45191. <bits access="rc" name="xfercompl" pos="0" rst="0">
  45192. <comment>bit type is changed from w1c to rc.</comment>
  45193. </bits>
  45194. </reg>
  45195. <reg name="hcintmsk9" protect="rw">
  45196. <bits access="rw" name="desc_lst_rollintrmsk" pos="13" rst="0">
  45197. </bits>
  45198. <bits access="rw" name="bnaintrmsk" pos="11" rst="0">
  45199. </bits>
  45200. <bits access="rw" name="ahberrmsk" pos="2" rst="0">
  45201. </bits>
  45202. <bits access="rw" name="chhltdmsk" pos="1" rst="0">
  45203. </bits>
  45204. <bits access="rw" name="xfercomplmsk" pos="0" rst="0">
  45205. </bits>
  45206. </reg>
  45207. <reg name="hctsiz9" protect="rw">
  45208. <bits access="rw" name="dopng" pos="31" rst="0">
  45209. </bits>
  45210. <bits access="rw" name="pid" pos="30:29" rst="0">
  45211. </bits>
  45212. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  45213. </bits>
  45214. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  45215. </bits>
  45216. </reg>
  45217. <reg name="hcdma9" protect="rw">
  45218. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  45219. </bits>
  45220. </reg>
  45221. <hole size="32"/>
  45222. <reg name="hcdmab9" protect="r">
  45223. <bits access="r" name="hcdmab" pos="31:0" rst="0">
  45224. </bits>
  45225. </reg>
  45226. <reg name="hcchar10" protect="rw">
  45227. <bits access="rw" name="chena" pos="31" rst="0">
  45228. <comment>bit type is changed from othr to rw.</comment>
  45229. </bits>
  45230. <bits access="rw" name="chdis" pos="30" rst="0">
  45231. <comment>bit type is changed from othr to rw.</comment>
  45232. </bits>
  45233. <bits access="rw" name="oddfrm" pos="29" rst="0">
  45234. </bits>
  45235. <bits access="rw" name="devaddr" pos="28:22" rst="0">
  45236. </bits>
  45237. <bits access="rw" name="ec" pos="21:20" rst="0">
  45238. </bits>
  45239. <bits access="rw" name="eptype" pos="19:18" rst="0">
  45240. </bits>
  45241. <bits access="rw" name="lspddev" pos="17" rst="0">
  45242. </bits>
  45243. <bits access="rw" name="epdir" pos="15" rst="0">
  45244. </bits>
  45245. <bits access="rw" name="epnum" pos="14:11" rst="0">
  45246. </bits>
  45247. <bits access="rw" name="mps" pos="10:0" rst="0">
  45248. </bits>
  45249. </reg>
  45250. <reg name="hcsplt10" protect="rw">
  45251. <bits access="rw" name="spltena" pos="31" rst="0">
  45252. </bits>
  45253. <bits access="rw" name="compsplt" pos="16" rst="0">
  45254. </bits>
  45255. <bits access="rw" name="xactpos" pos="15:14" rst="0">
  45256. </bits>
  45257. <bits access="rw" name="hubaddr" pos="13:7" rst="0">
  45258. </bits>
  45259. <bits access="rw" name="prtaddr" pos="6:0" rst="0">
  45260. </bits>
  45261. </reg>
  45262. <reg name="hcint10" protect="rw">
  45263. <bits access="rc" name="desc_lst_rollintr" pos="13" rst="0">
  45264. <comment>bit type is changed from w1c to rc.</comment>
  45265. </bits>
  45266. <bits access="rc" name="xcs_xact_err" pos="12" rst="0">
  45267. <comment>bit type is changed from w1c to rc.</comment>
  45268. </bits>
  45269. <bits access="rc" name="bnaintr" pos="11" rst="0">
  45270. <comment>bit type is changed from w1c to rc.</comment>
  45271. </bits>
  45272. <bits access="rc" name="datatglerr" pos="10" rst="0">
  45273. <comment>bit type is changed from w1c to rc.</comment>
  45274. </bits>
  45275. <bits access="rc" name="frmovrun" pos="9" rst="0">
  45276. <comment>bit type is changed from w1c to rc.</comment>
  45277. </bits>
  45278. <bits access="rc" name="bblerr" pos="8" rst="0">
  45279. <comment>bit type is changed from w1c to rc.</comment>
  45280. </bits>
  45281. <bits access="rc" name="xacterr" pos="7" rst="0">
  45282. <comment>bit type is changed from w1c to rc.</comment>
  45283. </bits>
  45284. <bits access="rc" name="nyet" pos="6" rst="0">
  45285. <comment>bit type is changed from w1c to rc.</comment>
  45286. </bits>
  45287. <bits access="rc" name="ack" pos="5" rst="0">
  45288. <comment>bit type is changed from w1c to rc.</comment>
  45289. </bits>
  45290. <bits access="rc" name="nak" pos="4" rst="0">
  45291. <comment>bit type is changed from w1c to rc.</comment>
  45292. </bits>
  45293. <bits access="rc" name="stall" pos="3" rst="0">
  45294. <comment>bit type is changed from w1c to rc.</comment>
  45295. </bits>
  45296. <bits access="rc" name="ahberr" pos="2" rst="0">
  45297. <comment>bit type is changed from w1c to rc.</comment>
  45298. </bits>
  45299. <bits access="rc" name="chhltd" pos="1" rst="0">
  45300. <comment>bit type is changed from w1c to rc.</comment>
  45301. </bits>
  45302. <bits access="rc" name="xfercompl" pos="0" rst="0">
  45303. <comment>bit type is changed from w1c to rc.</comment>
  45304. </bits>
  45305. </reg>
  45306. <reg name="hcintmsk10" protect="rw">
  45307. <bits access="rw" name="desc_lst_rollintrmsk" pos="13" rst="0">
  45308. </bits>
  45309. <bits access="rw" name="bnaintrmsk" pos="11" rst="0">
  45310. </bits>
  45311. <bits access="rw" name="ahberrmsk" pos="2" rst="0">
  45312. </bits>
  45313. <bits access="rw" name="chhltdmsk" pos="1" rst="0">
  45314. </bits>
  45315. <bits access="rw" name="xfercomplmsk" pos="0" rst="0">
  45316. </bits>
  45317. </reg>
  45318. <reg name="hctsiz10" protect="rw">
  45319. <bits access="rw" name="dopng" pos="31" rst="0">
  45320. </bits>
  45321. <bits access="rw" name="pid" pos="30:29" rst="0">
  45322. </bits>
  45323. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  45324. </bits>
  45325. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  45326. </bits>
  45327. </reg>
  45328. <reg name="hcdma10" protect="rw">
  45329. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  45330. </bits>
  45331. </reg>
  45332. <hole size="32"/>
  45333. <reg name="hcdmab10" protect="r">
  45334. <bits access="r" name="hcdmab" pos="31:0" rst="0">
  45335. </bits>
  45336. </reg>
  45337. <reg name="hcchar11" protect="rw">
  45338. <bits access="rw" name="chena" pos="31" rst="0">
  45339. <comment>bit type is changed from othr to rw.</comment>
  45340. </bits>
  45341. <bits access="rw" name="chdis" pos="30" rst="0">
  45342. <comment>bit type is changed from othr to rw.</comment>
  45343. </bits>
  45344. <bits access="rw" name="oddfrm" pos="29" rst="0">
  45345. </bits>
  45346. <bits access="rw" name="devaddr" pos="28:22" rst="0">
  45347. </bits>
  45348. <bits access="rw" name="ec" pos="21:20" rst="0">
  45349. </bits>
  45350. <bits access="rw" name="eptype" pos="19:18" rst="0">
  45351. </bits>
  45352. <bits access="rw" name="lspddev" pos="17" rst="0">
  45353. </bits>
  45354. <bits access="rw" name="epdir" pos="15" rst="0">
  45355. </bits>
  45356. <bits access="rw" name="epnum" pos="14:11" rst="0">
  45357. </bits>
  45358. <bits access="rw" name="mps" pos="10:0" rst="0">
  45359. </bits>
  45360. </reg>
  45361. <reg name="hcsplt11" protect="rw">
  45362. <bits access="rw" name="spltena" pos="31" rst="0">
  45363. </bits>
  45364. <bits access="rw" name="compsplt" pos="16" rst="0">
  45365. </bits>
  45366. <bits access="rw" name="xactpos" pos="15:14" rst="0">
  45367. </bits>
  45368. <bits access="rw" name="hubaddr" pos="13:7" rst="0">
  45369. </bits>
  45370. <bits access="rw" name="prtaddr" pos="6:0" rst="0">
  45371. </bits>
  45372. </reg>
  45373. <reg name="hcint11" protect="rw">
  45374. <bits access="rc" name="desc_lst_rollintr" pos="13" rst="0">
  45375. <comment>bit type is changed from w1c to rc.</comment>
  45376. </bits>
  45377. <bits access="rc" name="xcs_xact_err" pos="12" rst="0">
  45378. <comment>bit type is changed from w1c to rc.</comment>
  45379. </bits>
  45380. <bits access="rc" name="bnaintr" pos="11" rst="0">
  45381. <comment>bit type is changed from w1c to rc.</comment>
  45382. </bits>
  45383. <bits access="rc" name="datatglerr" pos="10" rst="0">
  45384. <comment>bit type is changed from w1c to rc.</comment>
  45385. </bits>
  45386. <bits access="rc" name="frmovrun" pos="9" rst="0">
  45387. <comment>bit type is changed from w1c to rc.</comment>
  45388. </bits>
  45389. <bits access="rc" name="bblerr" pos="8" rst="0">
  45390. <comment>bit type is changed from w1c to rc.</comment>
  45391. </bits>
  45392. <bits access="rc" name="xacterr" pos="7" rst="0">
  45393. <comment>bit type is changed from w1c to rc.</comment>
  45394. </bits>
  45395. <bits access="rc" name="nyet" pos="6" rst="0">
  45396. <comment>bit type is changed from w1c to rc.</comment>
  45397. </bits>
  45398. <bits access="rc" name="ack" pos="5" rst="0">
  45399. <comment>bit type is changed from w1c to rc.</comment>
  45400. </bits>
  45401. <bits access="rc" name="nak" pos="4" rst="0">
  45402. <comment>bit type is changed from w1c to rc.</comment>
  45403. </bits>
  45404. <bits access="rc" name="stall" pos="3" rst="0">
  45405. <comment>bit type is changed from w1c to rc.</comment>
  45406. </bits>
  45407. <bits access="rc" name="ahberr" pos="2" rst="0">
  45408. <comment>bit type is changed from w1c to rc.</comment>
  45409. </bits>
  45410. <bits access="rc" name="chhltd" pos="1" rst="0">
  45411. <comment>bit type is changed from w1c to rc.</comment>
  45412. </bits>
  45413. <bits access="rc" name="xfercompl" pos="0" rst="0">
  45414. <comment>bit type is changed from w1c to rc.</comment>
  45415. </bits>
  45416. </reg>
  45417. <reg name="hcintmsk11" protect="rw">
  45418. <bits access="rw" name="desc_lst_rollintrmsk" pos="13" rst="0">
  45419. </bits>
  45420. <bits access="rw" name="bnaintrmsk" pos="11" rst="0">
  45421. </bits>
  45422. <bits access="rw" name="ahberrmsk" pos="2" rst="0">
  45423. </bits>
  45424. <bits access="rw" name="chhltdmsk" pos="1" rst="0">
  45425. </bits>
  45426. <bits access="rw" name="xfercomplmsk" pos="0" rst="0">
  45427. </bits>
  45428. </reg>
  45429. <reg name="hctsiz11" protect="rw">
  45430. <bits access="rw" name="dopng" pos="31" rst="0">
  45431. </bits>
  45432. <bits access="rw" name="pid" pos="30:29" rst="0">
  45433. </bits>
  45434. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  45435. </bits>
  45436. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  45437. </bits>
  45438. </reg>
  45439. <reg name="hcdma11" protect="rw">
  45440. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  45441. </bits>
  45442. </reg>
  45443. <hole size="32"/>
  45444. <reg name="hcdmab11" protect="r">
  45445. <bits access="r" name="hcdmab" pos="31:0" rst="0">
  45446. </bits>
  45447. </reg>
  45448. <hole size="3072"/>
  45449. <reg name="dcfg" protect="rw">
  45450. <bits access="rw" name="resvalid" pos="31:26" rst="2">
  45451. </bits>
  45452. <bits access="rw" name="perschintvl" pos="25:24" rst="0">
  45453. </bits>
  45454. <bits access="rw" name="descdma" pos="23" rst="0">
  45455. </bits>
  45456. <bits access="rw" name="erraticintmsk" pos="15" rst="0">
  45457. </bits>
  45458. <bits access="rw" name="xcvrdly" pos="14" rst="0">
  45459. </bits>
  45460. <bits access="rw" name="endevoutnak" pos="13" rst="0">
  45461. </bits>
  45462. <bits access="rw" name="perfrint" pos="12:11" rst="0">
  45463. </bits>
  45464. <bits access="rw" name="devaddr" pos="10:4" rst="0">
  45465. </bits>
  45466. <bits access="rw" name="ena32khzsusp" pos="3" rst="0">
  45467. </bits>
  45468. <bits access="rw" name="nzstsouthshk" pos="2" rst="0">
  45469. </bits>
  45470. <bits access="rw" name="devspd" pos="1:0" rst="0">
  45471. </bits>
  45472. </reg>
  45473. <reg name="dctl" protect="rw">
  45474. <bits access="rw" name="encontonbna" pos="17" rst="0">
  45475. </bits>
  45476. <bits access="rw" name="nakonbble" pos="16" rst="0">
  45477. </bits>
  45478. <bits access="rw" name="ignrfrmnum" pos="15" rst="0">
  45479. </bits>
  45480. <bits access="rw" name="gmc" pos="14:13" rst="0">
  45481. </bits>
  45482. <bits access="rw" name="pwronprgdone" pos="11" rst="0">
  45483. </bits>
  45484. <bits access="rw" name="cgoutnak" pos="10" rst="0">
  45485. <comment>bit type is changed from w1 to rw.</comment>
  45486. </bits>
  45487. <bits access="rw" name="sgoutnak" pos="9" rst="0">
  45488. <comment>bit type is changed from w1 to rw.</comment>
  45489. </bits>
  45490. <bits access="rw" name="cgnpinnak" pos="8" rst="0">
  45491. <comment>bit type is changed from w1 to rw.</comment>
  45492. </bits>
  45493. <bits access="rw" name="sgnpinnak" pos="7" rst="0">
  45494. <comment>bit type is changed from w1 to rw.</comment>
  45495. </bits>
  45496. <bits access="rw" name="tstctl" pos="6:4" rst="0">
  45497. </bits>
  45498. <bits access="r" name="goutnaksts" pos="3" rst="0">
  45499. </bits>
  45500. <bits access="r" name="gnpinnaksts" pos="2" rst="0">
  45501. </bits>
  45502. <bits access="rw" name="sftdiscon" pos="1" rst="1">
  45503. </bits>
  45504. <bits access="rw" name="rmtwkupsig" pos="0" rst="0">
  45505. </bits>
  45506. </reg>
  45507. <reg name="dsts" protect="rw">
  45508. <bits access="r" name="devlnsts" pos="23:22" rst="0">
  45509. </bits>
  45510. <bits access="rw" name="soffn" pos="21:8" rst="0">
  45511. <comment>bit type is changed from ru to rw.</comment>
  45512. </bits>
  45513. <bits access="r" name="errticerr" pos="3" rst="0">
  45514. </bits>
  45515. <bits access="r" name="enumspd" pos="2:1" rst="1">
  45516. </bits>
  45517. <bits access="r" name="suspsts" pos="0" rst="0">
  45518. </bits>
  45519. </reg>
  45520. <hole size="32"/>
  45521. <reg name="diepmsk" protect="rw">
  45522. <bits access="rw" name="nakmsk" pos="13" rst="0">
  45523. </bits>
  45524. <bits access="rw" name="bnainintrmsk" pos="9" rst="0">
  45525. </bits>
  45526. <bits access="rw" name="txfifoundrnmsk" pos="8" rst="0">
  45527. </bits>
  45528. <bits access="rw" name="inepnakeffmsk" pos="6" rst="0">
  45529. </bits>
  45530. <bits access="rw" name="intknepmismsk" pos="5" rst="0">
  45531. </bits>
  45532. <bits access="rw" name="intkntxfempmsk" pos="4" rst="0">
  45533. </bits>
  45534. <bits access="rw" name="timeoutmsk" pos="3" rst="0">
  45535. </bits>
  45536. <bits access="rw" name="ahberrmsk" pos="2" rst="0">
  45537. </bits>
  45538. <bits access="rw" name="epdisbldmsk" pos="1" rst="0">
  45539. </bits>
  45540. <bits access="rw" name="xfercomplmsk" pos="0" rst="0">
  45541. </bits>
  45542. </reg>
  45543. <reg name="doepmsk" protect="rw">
  45544. <bits access="rw" name="nyetmsk" pos="14" rst="0">
  45545. </bits>
  45546. <bits access="rw" name="nakmsk" pos="13" rst="0">
  45547. </bits>
  45548. <bits access="rw" name="bbleerrmsk" pos="12" rst="0">
  45549. </bits>
  45550. <bits access="rw" name="bnaoutintrmsk" pos="9" rst="0">
  45551. </bits>
  45552. <bits access="rw" name="outpkterrmsk" pos="8" rst="0">
  45553. </bits>
  45554. <bits access="rw" name="back2backsetup" pos="6" rst="0">
  45555. </bits>
  45556. <bits access="rw" name="stsphsercvdmsk" pos="5" rst="0">
  45557. </bits>
  45558. <bits access="rw" name="outtknepdismsk" pos="4" rst="0">
  45559. </bits>
  45560. <bits access="rw" name="setupmsk" pos="3" rst="0">
  45561. </bits>
  45562. <bits access="rw" name="ahberrmsk" pos="2" rst="0">
  45563. </bits>
  45564. <bits access="rw" name="epdisbldmsk" pos="1" rst="0">
  45565. </bits>
  45566. <bits access="rw" name="xfercomplmsk" pos="0" rst="0">
  45567. </bits>
  45568. </reg>
  45569. <reg name="daint" protect="rw">
  45570. <bits access="r" name="outepint5" pos="21" rst="0">
  45571. </bits>
  45572. <bits access="r" name="outepint4" pos="20" rst="0">
  45573. </bits>
  45574. <bits access="r" name="outepint3" pos="19" rst="0">
  45575. </bits>
  45576. <bits access="r" name="outepint2" pos="18" rst="0">
  45577. </bits>
  45578. <bits access="r" name="outepint1" pos="17" rst="0">
  45579. </bits>
  45580. <bits access="r" name="outepint0" pos="16" rst="0">
  45581. </bits>
  45582. <bits access="r" name="inepint5" pos="5" rst="0">
  45583. </bits>
  45584. <bits access="r" name="inepint4" pos="4" rst="0">
  45585. </bits>
  45586. <bits access="r" name="inepint3" pos="3" rst="0">
  45587. </bits>
  45588. <bits access="r" name="inepint2" pos="2" rst="0">
  45589. </bits>
  45590. <bits access="r" name="inepint1" pos="1" rst="0">
  45591. </bits>
  45592. <bits access="r" name="inepint0" pos="0" rst="0">
  45593. </bits>
  45594. </reg>
  45595. <reg name="daintmsk" protect="rw">
  45596. <bits access="rw" name="outepmsk5" pos="21" rst="0">
  45597. </bits>
  45598. <bits access="rw" name="outepmsk4" pos="20" rst="0">
  45599. </bits>
  45600. <bits access="rw" name="outepmsk3" pos="19" rst="0">
  45601. </bits>
  45602. <bits access="rw" name="outepmsk2" pos="18" rst="0">
  45603. </bits>
  45604. <bits access="rw" name="outepmsk1" pos="17" rst="0">
  45605. </bits>
  45606. <bits access="rw" name="outepmsk0" pos="16" rst="0">
  45607. </bits>
  45608. <bits access="rw" name="inepmsk5" pos="5" rst="0">
  45609. </bits>
  45610. <bits access="rw" name="inepmsk4" pos="4" rst="0">
  45611. </bits>
  45612. <bits access="rw" name="inepmsk3" pos="3" rst="0">
  45613. </bits>
  45614. <bits access="rw" name="inepmsk2" pos="2" rst="0">
  45615. </bits>
  45616. <bits access="rw" name="inepmsk1" pos="1" rst="0">
  45617. </bits>
  45618. <bits access="rw" name="inepmsk0" pos="0" rst="0">
  45619. </bits>
  45620. </reg>
  45621. <hole size="64"/>
  45622. <reg name="dvbusdis" protect="rw">
  45623. <bits access="rw" name="dvbusdis" pos="15:0" rst="6103">
  45624. </bits>
  45625. </reg>
  45626. <reg name="dvbuspulse" protect="rw">
  45627. <bits access="rw" name="dvbuspulse" pos="11:0" rst="1464">
  45628. </bits>
  45629. </reg>
  45630. <reg name="dthrctl" protect="rw">
  45631. <bits access="rw" name="arbprken" pos="27" rst="1">
  45632. </bits>
  45633. <bits access="rw" name="rxthrlen" pos="25:17" rst="8">
  45634. </bits>
  45635. <bits access="rw" name="rxthren" pos="16" rst="0">
  45636. </bits>
  45637. <bits access="rw" name="ahbthrratio" pos="12:11" rst="0">
  45638. </bits>
  45639. <bits access="rw" name="txthrlen" pos="10:2" rst="8">
  45640. </bits>
  45641. <bits access="rw" name="isothren" pos="1" rst="0">
  45642. </bits>
  45643. <bits access="rw" name="nonisothren" pos="0" rst="0">
  45644. </bits>
  45645. </reg>
  45646. <reg name="diepempmsk" protect="rw">
  45647. <bits access="rw" name="ineptxfempmsk" pos="15:0" rst="0">
  45648. </bits>
  45649. </reg>
  45650. <hole size="1600"/>
  45651. <reg name="diepctl0" protect="rw">
  45652. <bits access="rw" name="epena" pos="31" rst="0">
  45653. <comment>bit type is changed from othr to rw.</comment>
  45654. </bits>
  45655. <bits access="rw" name="epdis" pos="30" rst="0">
  45656. <comment>bit type is changed from othr to rw.</comment>
  45657. </bits>
  45658. <bits access="w" name="snak" pos="27" rst="0">
  45659. </bits>
  45660. <bits access="rw" name="cnak" pos="26" rst="0">
  45661. <comment>bit type is changed from w1 to rw.</comment>
  45662. </bits>
  45663. <bits access="rw" name="txfnum" pos="25:22" rst="0">
  45664. </bits>
  45665. <bits access="rw" name="stall" pos="21" rst="0">
  45666. <comment>bit type is changed from othr to rw.</comment>
  45667. </bits>
  45668. <bits access="r" name="eptype" pos="19:18" rst="0">
  45669. </bits>
  45670. <bits access="r" name="naksts" pos="17" rst="0">
  45671. </bits>
  45672. <bits access="r" name="usbactep" pos="15" rst="1">
  45673. </bits>
  45674. <bits access="r" name="nextep" pos="14:11" rst="0">
  45675. <options>
  45676. <mask/>
  45677. <shift/>
  45678. </options>
  45679. </bits>
  45680. <bits access="rw" name="diepctl0_mps" pos="1:0" rst="0">
  45681. <options>
  45682. <mask/>
  45683. <shift/>
  45684. </options>
  45685. </bits>
  45686. </reg>
  45687. <hole size="32"/>
  45688. <reg name="diepint0" protect="rw">
  45689. <bits access="rc" name="nyetintrpt" pos="14" rst="0">
  45690. <comment>bit type is changed from w1c to rc.</comment>
  45691. </bits>
  45692. <bits access="rc" name="nakintrpt" pos="13" rst="0">
  45693. <comment>bit type is changed from w1c to rc.</comment>
  45694. </bits>
  45695. <bits access="rc" name="bbleerr" pos="12" rst="0">
  45696. <comment>bit type is changed from w1c to rc.</comment>
  45697. </bits>
  45698. <bits access="rc" name="pktdrpsts" pos="11" rst="0">
  45699. <comment>bit type is changed from w1c to rc.</comment>
  45700. </bits>
  45701. <bits access="rc" name="bnaintr" pos="9" rst="0">
  45702. <comment>bit type is changed from w1c to rc.</comment>
  45703. </bits>
  45704. <bits access="rc" name="txfifoundrn" pos="8" rst="0">
  45705. <comment>bit type is changed from w1c to rc.</comment>
  45706. </bits>
  45707. <bits access="r" name="txfemp" pos="7" rst="1">
  45708. </bits>
  45709. <bits access="rc" name="inepnakeff" pos="6" rst="0">
  45710. <comment>bit type is changed from w1c to rc.</comment>
  45711. </bits>
  45712. <bits access="rc" name="intknepmis" pos="5" rst="0">
  45713. <comment>bit type is changed from w1c to rc.</comment>
  45714. </bits>
  45715. <bits access="rc" name="intkntxfemp" pos="4" rst="0">
  45716. <comment>bit type is changed from w1c to rc.</comment>
  45717. </bits>
  45718. <bits access="rc" name="timeout" pos="3" rst="0">
  45719. <comment>bit type is changed from w1c to rc.</comment>
  45720. </bits>
  45721. <bits access="rc" name="ahberr" pos="2" rst="0">
  45722. <comment>bit type is changed from w1c to rc.</comment>
  45723. </bits>
  45724. <bits access="rc" name="epdisbld" pos="1" rst="0">
  45725. <comment>bit type is changed from w1c to rc.</comment>
  45726. </bits>
  45727. <bits access="rc" name="xfercompl" pos="0" rst="0">
  45728. <comment>bit type is changed from w1c to rc.</comment>
  45729. </bits>
  45730. </reg>
  45731. <hole size="32"/>
  45732. <reg name="dieptsiz0" protect="rw">
  45733. <bits access="rw" name="pktcnt" pos="20:19" rst="0">
  45734. </bits>
  45735. <bits access="rw" name="xfersize" pos="6:0" rst="0">
  45736. </bits>
  45737. </reg>
  45738. <reg name="diepdma0" protect="rw">
  45739. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  45740. </bits>
  45741. </reg>
  45742. <reg name="dtxfsts0" protect="rw">
  45743. <bits access="r" name="ineptxfspcavail" pos="15:0" rst="297">
  45744. </bits>
  45745. </reg>
  45746. <reg name="diepdmab0" protect="r">
  45747. <bits access="r" name="dmabufferaddr" pos="31:0" rst="0">
  45748. </bits>
  45749. </reg>
  45750. <reg name="diepctl1" protect="rw">
  45751. <bits access="rw" name="epena" pos="31" rst="0">
  45752. <comment>bit type is changed from othr to rw.</comment>
  45753. </bits>
  45754. <bits access="rw" name="epdis" pos="30" rst="0">
  45755. <comment>bit type is changed from othr to rw.</comment>
  45756. </bits>
  45757. <bits access="rw" name="setd1pid" pos="29" rst="0">
  45758. <comment>bit type is changed from w1 to rw.</comment>
  45759. </bits>
  45760. <bits access="rw" name="setd0pid" pos="28" rst="0">
  45761. <comment>bit type is changed from w1 to rw.</comment>
  45762. </bits>
  45763. <bits access="rw" name="snak" pos="27" rst="0">
  45764. <comment>bit type is changed from w1 to rw.</comment>
  45765. </bits>
  45766. <bits access="rw" name="cnak" pos="26" rst="0">
  45767. <comment>bit type is changed from w1 to rw.</comment>
  45768. </bits>
  45769. <bits access="rw" name="txfnum" pos="25:22" rst="0">
  45770. </bits>
  45771. <bits access="rw" name="stall" pos="21" rst="0">
  45772. <comment>bit type is changed from othr to rw.</comment>
  45773. </bits>
  45774. <bits access="rw" name="eptype" pos="19:18" rst="0">
  45775. </bits>
  45776. <bits access="r" name="naksts" pos="17" rst="0">
  45777. </bits>
  45778. <bits access="r" name="dpid" pos="16" rst="0">
  45779. </bits>
  45780. <bits access="rw" name="usbactep" pos="15" rst="0">
  45781. </bits>
  45782. <bits access="rw" name="mps" pos="10:0" rst="0">
  45783. </bits>
  45784. </reg>
  45785. <hole size="32"/>
  45786. <reg name="diepint1" protect="rw">
  45787. <bits access="rc" name="nyetintrpt" pos="14" rst="0">
  45788. <comment>bit type is changed from w1c to rc.</comment>
  45789. </bits>
  45790. <bits access="rc" name="nakintrpt" pos="13" rst="0">
  45791. <comment>bit type is changed from w1c to rc.</comment>
  45792. </bits>
  45793. <bits access="rc" name="bbleerr" pos="12" rst="0">
  45794. <comment>bit type is changed from w1c to rc.</comment>
  45795. </bits>
  45796. <bits access="rc" name="pktdrpsts" pos="11" rst="0">
  45797. <comment>bit type is changed from w1c to rc.</comment>
  45798. </bits>
  45799. <bits access="rc" name="bnaintr" pos="9" rst="0">
  45800. <comment>bit type is changed from w1c to rc.</comment>
  45801. </bits>
  45802. <bits access="rc" name="txfifoundrn" pos="8" rst="0">
  45803. <comment>bit type is changed from w1c to rc.</comment>
  45804. </bits>
  45805. <bits access="r" name="txfemp" pos="7" rst="1">
  45806. </bits>
  45807. <bits access="rc" name="inepnakeff" pos="6" rst="0">
  45808. <comment>bit type is changed from w1c to rc.</comment>
  45809. </bits>
  45810. <bits access="rc" name="intknepmis" pos="5" rst="0">
  45811. <comment>bit type is changed from w1c to rc.</comment>
  45812. </bits>
  45813. <bits access="rc" name="intkntxfemp" pos="4" rst="0">
  45814. <comment>bit type is changed from w1c to rc.</comment>
  45815. </bits>
  45816. <bits access="rc" name="timeout" pos="3" rst="0">
  45817. <comment>bit type is changed from w1c to rc.</comment>
  45818. </bits>
  45819. <bits access="rc" name="ahberr" pos="2" rst="0">
  45820. <comment>bit type is changed from w1c to rc.</comment>
  45821. </bits>
  45822. <bits access="rc" name="epdisbld" pos="1" rst="0">
  45823. <comment>bit type is changed from w1c to rc.</comment>
  45824. </bits>
  45825. <bits access="rc" name="xfercompl" pos="0" rst="0">
  45826. <comment>bit type is changed from w1c to rc.</comment>
  45827. </bits>
  45828. </reg>
  45829. <hole size="32"/>
  45830. <reg name="dieptsiz1" protect="rw">
  45831. <bits access="rw" name="mc" pos="30:29" rst="0">
  45832. </bits>
  45833. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  45834. </bits>
  45835. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  45836. </bits>
  45837. </reg>
  45838. <reg name="diepdma1" protect="rw">
  45839. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  45840. </bits>
  45841. </reg>
  45842. <reg name="dtxfsts1" protect="rw">
  45843. <bits access="r" name="ineptxfspcavail" pos="15:0" rst="297">
  45844. </bits>
  45845. </reg>
  45846. <reg name="diepdmab1" protect="rw">
  45847. <bits access="rw" name="dmabufferaddr" pos="31:0" rst="0">
  45848. <comment>bit type is changed from ru to rw.</comment>
  45849. </bits>
  45850. </reg>
  45851. <reg name="diepctl2" protect="rw">
  45852. <bits access="rw" name="epena" pos="31" rst="0">
  45853. <comment>bit type is changed from othr to rw.</comment>
  45854. </bits>
  45855. <bits access="rw" name="epdis" pos="30" rst="0">
  45856. <comment>bit type is changed from othr to rw.</comment>
  45857. </bits>
  45858. <bits access="rw" name="setd1pid" pos="29" rst="0">
  45859. <comment>bit type is changed from w1 to rw.</comment>
  45860. </bits>
  45861. <bits access="rw" name="setd0pid" pos="28" rst="0">
  45862. <comment>bit type is changed from w1 to rw.</comment>
  45863. </bits>
  45864. <bits access="rw" name="snak" pos="27" rst="0">
  45865. <comment>bit type is changed from w1 to rw.</comment>
  45866. </bits>
  45867. <bits access="rw" name="cnak" pos="26" rst="0">
  45868. <comment>bit type is changed from w1 to rw.</comment>
  45869. </bits>
  45870. <bits access="rw" name="txfnum" pos="25:22" rst="0">
  45871. </bits>
  45872. <bits access="rw" name="stall" pos="21" rst="0">
  45873. <comment>bit type is changed from othr to rw.</comment>
  45874. </bits>
  45875. <bits access="rw" name="eptype" pos="19:18" rst="0">
  45876. </bits>
  45877. <bits access="r" name="naksts" pos="17" rst="0">
  45878. </bits>
  45879. <bits access="r" name="dpid" pos="16" rst="0">
  45880. </bits>
  45881. <bits access="rw" name="usbactep" pos="15" rst="0">
  45882. </bits>
  45883. <bits access="rw" name="mps" pos="10:0" rst="0">
  45884. </bits>
  45885. </reg>
  45886. <hole size="32"/>
  45887. <reg name="diepint2" protect="rw">
  45888. <bits access="rc" name="nyetintrpt" pos="14" rst="0">
  45889. <comment>bit type is changed from w1c to rc.</comment>
  45890. </bits>
  45891. <bits access="rc" name="nakintrpt" pos="13" rst="0">
  45892. <comment>bit type is changed from w1c to rc.</comment>
  45893. </bits>
  45894. <bits access="rc" name="bbleerr" pos="12" rst="0">
  45895. <comment>bit type is changed from w1c to rc.</comment>
  45896. </bits>
  45897. <bits access="rc" name="pktdrpsts" pos="11" rst="0">
  45898. <comment>bit type is changed from w1c to rc.</comment>
  45899. </bits>
  45900. <bits access="rc" name="bnaintr" pos="9" rst="0">
  45901. <comment>bit type is changed from w1c to rc.</comment>
  45902. </bits>
  45903. <bits access="rc" name="txfifoundrn" pos="8" rst="0">
  45904. <comment>bit type is changed from w1c to rc.</comment>
  45905. </bits>
  45906. <bits access="r" name="txfemp" pos="7" rst="1">
  45907. </bits>
  45908. <bits access="rc" name="inepnakeff" pos="6" rst="0">
  45909. <comment>bit type is changed from w1c to rc.</comment>
  45910. </bits>
  45911. <bits access="rc" name="intknepmis" pos="5" rst="0">
  45912. <comment>bit type is changed from w1c to rc.</comment>
  45913. </bits>
  45914. <bits access="rc" name="intkntxfemp" pos="4" rst="0">
  45915. <comment>bit type is changed from w1c to rc.</comment>
  45916. </bits>
  45917. <bits access="rc" name="timeout" pos="3" rst="0">
  45918. <comment>bit type is changed from w1c to rc.</comment>
  45919. </bits>
  45920. <bits access="rc" name="ahberr" pos="2" rst="0">
  45921. <comment>bit type is changed from w1c to rc.</comment>
  45922. </bits>
  45923. <bits access="rc" name="epdisbld" pos="1" rst="0">
  45924. <comment>bit type is changed from w1c to rc.</comment>
  45925. </bits>
  45926. <bits access="rc" name="xfercompl" pos="0" rst="0">
  45927. <comment>bit type is changed from w1c to rc.</comment>
  45928. </bits>
  45929. </reg>
  45930. <hole size="32"/>
  45931. <reg name="dieptsiz2" protect="rw">
  45932. <bits access="rw" name="mc" pos="30:29" rst="0">
  45933. </bits>
  45934. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  45935. </bits>
  45936. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  45937. </bits>
  45938. </reg>
  45939. <reg name="diepdma2" protect="rw">
  45940. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  45941. </bits>
  45942. </reg>
  45943. <reg name="dtxfsts2" protect="rw">
  45944. <bits access="r" name="ineptxfspcavail" pos="15:0" rst="297">
  45945. </bits>
  45946. </reg>
  45947. <reg name="diepdmab2" protect="rw">
  45948. <bits access="rw" name="dmabufferaddr" pos="31:0" rst="0">
  45949. <comment>bit type is changed from ru to rw.</comment>
  45950. </bits>
  45951. </reg>
  45952. <reg name="diepctl3" protect="rw">
  45953. <bits access="rw" name="epena" pos="31" rst="0">
  45954. <comment>bit type is changed from othr to rw.</comment>
  45955. </bits>
  45956. <bits access="rw" name="epdis" pos="30" rst="0">
  45957. <comment>bit type is changed from othr to rw.</comment>
  45958. </bits>
  45959. <bits access="rw" name="setd1pid" pos="29" rst="0">
  45960. <comment>bit type is changed from w1 to rw.</comment>
  45961. </bits>
  45962. <bits access="rw" name="setd0pid" pos="28" rst="0">
  45963. <comment>bit type is changed from w1 to rw.</comment>
  45964. </bits>
  45965. <bits access="rw" name="snak" pos="27" rst="0">
  45966. <comment>bit type is changed from w1 to rw.</comment>
  45967. </bits>
  45968. <bits access="rw" name="cnak" pos="26" rst="0">
  45969. <comment>bit type is changed from w1 to rw.</comment>
  45970. </bits>
  45971. <bits access="rw" name="txfnum" pos="25:22" rst="0">
  45972. </bits>
  45973. <bits access="rw" name="stall" pos="21" rst="0">
  45974. <comment>bit type is changed from othr to rw.</comment>
  45975. </bits>
  45976. <bits access="rw" name="eptype" pos="19:18" rst="0">
  45977. </bits>
  45978. <bits access="r" name="naksts" pos="17" rst="0">
  45979. </bits>
  45980. <bits access="r" name="dpid" pos="16" rst="0">
  45981. </bits>
  45982. <bits access="rw" name="usbactep" pos="15" rst="0">
  45983. </bits>
  45984. <bits access="rw" name="mps" pos="10:0" rst="0">
  45985. </bits>
  45986. </reg>
  45987. <hole size="32"/>
  45988. <reg name="diepint3" protect="rw">
  45989. <bits access="rc" name="nyetintrpt" pos="14" rst="0">
  45990. <comment>bit type is changed from w1c to rc.</comment>
  45991. </bits>
  45992. <bits access="rc" name="nakintrpt" pos="13" rst="0">
  45993. <comment>bit type is changed from w1c to rc.</comment>
  45994. </bits>
  45995. <bits access="rc" name="bbleerr" pos="12" rst="0">
  45996. <comment>bit type is changed from w1c to rc.</comment>
  45997. </bits>
  45998. <bits access="rc" name="pktdrpsts" pos="11" rst="0">
  45999. <comment>bit type is changed from w1c to rc.</comment>
  46000. </bits>
  46001. <bits access="rc" name="bnaintr" pos="9" rst="0">
  46002. <comment>bit type is changed from w1c to rc.</comment>
  46003. </bits>
  46004. <bits access="rc" name="txfifoundrn" pos="8" rst="0">
  46005. <comment>bit type is changed from w1c to rc.</comment>
  46006. </bits>
  46007. <bits access="r" name="txfemp" pos="7" rst="1">
  46008. </bits>
  46009. <bits access="rc" name="inepnakeff" pos="6" rst="0">
  46010. <comment>bit type is changed from w1c to rc.</comment>
  46011. </bits>
  46012. <bits access="rc" name="intknepmis" pos="5" rst="0">
  46013. <comment>bit type is changed from w1c to rc.</comment>
  46014. </bits>
  46015. <bits access="rc" name="intkntxfemp" pos="4" rst="0">
  46016. <comment>bit type is changed from w1c to rc.</comment>
  46017. </bits>
  46018. <bits access="rc" name="timeout" pos="3" rst="0">
  46019. <comment>bit type is changed from w1c to rc.</comment>
  46020. </bits>
  46021. <bits access="rc" name="ahberr" pos="2" rst="0">
  46022. <comment>bit type is changed from w1c to rc.</comment>
  46023. </bits>
  46024. <bits access="rc" name="epdisbld" pos="1" rst="0">
  46025. <comment>bit type is changed from w1c to rc.</comment>
  46026. </bits>
  46027. <bits access="rc" name="xfercompl" pos="0" rst="0">
  46028. <comment>bit type is changed from w1c to rc.</comment>
  46029. </bits>
  46030. </reg>
  46031. <hole size="32"/>
  46032. <reg name="dieptsiz3" protect="rw">
  46033. <bits access="rw" name="mc" pos="30:29" rst="0">
  46034. </bits>
  46035. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  46036. </bits>
  46037. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  46038. </bits>
  46039. </reg>
  46040. <reg name="diepdma3" protect="rw">
  46041. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  46042. </bits>
  46043. </reg>
  46044. <reg name="dtxfsts3" protect="rw">
  46045. <bits access="r" name="ineptxfspcavail" pos="15:0" rst="297">
  46046. </bits>
  46047. </reg>
  46048. <reg name="diepdmab3" protect="rw">
  46049. <bits access="rw" name="dmabufferaddr" pos="31:0" rst="0">
  46050. <comment>bit type is changed from ru to rw.</comment>
  46051. </bits>
  46052. </reg>
  46053. <reg name="diepctl4" protect="rw">
  46054. <bits access="rw" name="epena" pos="31" rst="0">
  46055. <comment>bit type is changed from othr to rw.</comment>
  46056. </bits>
  46057. <bits access="rw" name="epdis" pos="30" rst="0">
  46058. <comment>bit type is changed from othr to rw.</comment>
  46059. </bits>
  46060. <bits access="rw" name="setd1pid" pos="29" rst="0">
  46061. <comment>bit type is changed from w1 to rw.</comment>
  46062. </bits>
  46063. <bits access="rw" name="setd0pid" pos="28" rst="0">
  46064. <comment>bit type is changed from w1 to rw.</comment>
  46065. </bits>
  46066. <bits access="rw" name="snak" pos="27" rst="0">
  46067. <comment>bit type is changed from w1 to rw.</comment>
  46068. </bits>
  46069. <bits access="rw" name="cnak" pos="26" rst="0">
  46070. <comment>bit type is changed from w1 to rw.</comment>
  46071. </bits>
  46072. <bits access="rw" name="txfnum" pos="25:22" rst="0">
  46073. </bits>
  46074. <bits access="rw" name="stall" pos="21" rst="0">
  46075. <comment>bit type is changed from othr to rw.</comment>
  46076. </bits>
  46077. <bits access="rw" name="eptype" pos="19:18" rst="0">
  46078. </bits>
  46079. <bits access="r" name="naksts" pos="17" rst="0">
  46080. </bits>
  46081. <bits access="r" name="dpid" pos="16" rst="0">
  46082. </bits>
  46083. <bits access="rw" name="usbactep" pos="15" rst="0">
  46084. </bits>
  46085. <bits access="rw" name="mps" pos="10:0" rst="0">
  46086. </bits>
  46087. </reg>
  46088. <hole size="32"/>
  46089. <reg name="diepint4" protect="rw">
  46090. <bits access="rc" name="nyetintrpt" pos="14" rst="0">
  46091. <comment>bit type is changed from w1c to rc.</comment>
  46092. </bits>
  46093. <bits access="rc" name="nakintrpt" pos="13" rst="0">
  46094. <comment>bit type is changed from w1c to rc.</comment>
  46095. </bits>
  46096. <bits access="rc" name="bbleerr" pos="12" rst="0">
  46097. <comment>bit type is changed from w1c to rc.</comment>
  46098. </bits>
  46099. <bits access="rc" name="pktdrpsts" pos="11" rst="0">
  46100. <comment>bit type is changed from w1c to rc.</comment>
  46101. </bits>
  46102. <bits access="rc" name="bnaintr" pos="9" rst="0">
  46103. <comment>bit type is changed from w1c to rc.</comment>
  46104. </bits>
  46105. <bits access="rc" name="txfifoundrn" pos="8" rst="0">
  46106. <comment>bit type is changed from w1c to rc.</comment>
  46107. </bits>
  46108. <bits access="r" name="txfemp" pos="7" rst="1">
  46109. </bits>
  46110. <bits access="rc" name="inepnakeff" pos="6" rst="0">
  46111. <comment>bit type is changed from w1c to rc.</comment>
  46112. </bits>
  46113. <bits access="rc" name="intknepmis" pos="5" rst="0">
  46114. <comment>bit type is changed from w1c to rc.</comment>
  46115. </bits>
  46116. <bits access="rc" name="intkntxfemp" pos="4" rst="0">
  46117. <comment>bit type is changed from w1c to rc.</comment>
  46118. </bits>
  46119. <bits access="rc" name="timeout" pos="3" rst="0">
  46120. <comment>bit type is changed from w1c to rc.</comment>
  46121. </bits>
  46122. <bits access="rc" name="ahberr" pos="2" rst="0">
  46123. <comment>bit type is changed from w1c to rc.</comment>
  46124. </bits>
  46125. <bits access="rc" name="epdisbld" pos="1" rst="0">
  46126. <comment>bit type is changed from w1c to rc.</comment>
  46127. </bits>
  46128. <bits access="rc" name="xfercompl" pos="0" rst="0">
  46129. <comment>bit type is changed from w1c to rc.</comment>
  46130. </bits>
  46131. </reg>
  46132. <hole size="32"/>
  46133. <reg name="dieptsiz4" protect="rw">
  46134. <bits access="rw" name="mc" pos="30:29" rst="0">
  46135. </bits>
  46136. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  46137. </bits>
  46138. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  46139. </bits>
  46140. </reg>
  46141. <reg name="diepdma4" protect="rw">
  46142. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  46143. </bits>
  46144. </reg>
  46145. <reg name="dtxfsts4" protect="rw">
  46146. <bits access="r" name="ineptxfspcavail" pos="15:0" rst="297">
  46147. </bits>
  46148. </reg>
  46149. <reg name="diepdmab4" protect="rw">
  46150. <bits access="rw" name="dmabufferaddr" pos="31:0" rst="0">
  46151. <comment>bit type is changed from ru to rw.</comment>
  46152. </bits>
  46153. </reg>
  46154. <reg name="diepctl5" protect="rw">
  46155. <bits access="rw" name="epena" pos="31" rst="0">
  46156. <comment>bit type is changed from othr to rw.</comment>
  46157. </bits>
  46158. <bits access="rw" name="epdis" pos="30" rst="0">
  46159. <comment>bit type is changed from othr to rw.</comment>
  46160. </bits>
  46161. <bits access="rw" name="setd1pid" pos="29" rst="0">
  46162. <comment>bit type is changed from w1 to rw.</comment>
  46163. </bits>
  46164. <bits access="rw" name="setd0pid" pos="28" rst="0">
  46165. <comment>bit type is changed from w1 to rw.</comment>
  46166. </bits>
  46167. <bits access="rw" name="snak" pos="27" rst="0">
  46168. <comment>bit type is changed from w1 to rw.</comment>
  46169. </bits>
  46170. <bits access="rw" name="cnak" pos="26" rst="0">
  46171. <comment>bit type is changed from w1 to rw.</comment>
  46172. </bits>
  46173. <bits access="rw" name="txfnum" pos="25:22" rst="0">
  46174. </bits>
  46175. <bits access="rw" name="stall" pos="21" rst="0">
  46176. <comment>bit type is changed from othr to rw.</comment>
  46177. </bits>
  46178. <bits access="rw" name="eptype" pos="19:18" rst="0">
  46179. </bits>
  46180. <bits access="r" name="naksts" pos="17" rst="0">
  46181. </bits>
  46182. <bits access="r" name="dpid" pos="16" rst="0">
  46183. </bits>
  46184. <bits access="rw" name="usbactep" pos="15" rst="0">
  46185. </bits>
  46186. <bits access="rw" name="mps" pos="10:0" rst="0">
  46187. </bits>
  46188. </reg>
  46189. <hole size="32"/>
  46190. <reg name="diepint5" protect="rw">
  46191. <bits access="rc" name="nyetintrpt" pos="14" rst="0">
  46192. <comment>bit type is changed from w1c to rc.</comment>
  46193. </bits>
  46194. <bits access="rc" name="nakintrpt" pos="13" rst="0">
  46195. <comment>bit type is changed from w1c to rc.</comment>
  46196. </bits>
  46197. <bits access="rc" name="bbleerr" pos="12" rst="0">
  46198. <comment>bit type is changed from w1c to rc.</comment>
  46199. </bits>
  46200. <bits access="rc" name="pktdrpsts" pos="11" rst="0">
  46201. <comment>bit type is changed from w1c to rc.</comment>
  46202. </bits>
  46203. <bits access="rc" name="bnaintr" pos="9" rst="0">
  46204. <comment>bit type is changed from w1c to rc.</comment>
  46205. </bits>
  46206. <bits access="rc" name="txfifoundrn" pos="8" rst="0">
  46207. <comment>bit type is changed from w1c to rc.</comment>
  46208. </bits>
  46209. <bits access="r" name="txfemp" pos="7" rst="1">
  46210. </bits>
  46211. <bits access="rc" name="inepnakeff" pos="6" rst="0">
  46212. <comment>bit type is changed from w1c to rc.</comment>
  46213. </bits>
  46214. <bits access="rc" name="intknepmis" pos="5" rst="0">
  46215. <comment>bit type is changed from w1c to rc.</comment>
  46216. </bits>
  46217. <bits access="rc" name="intkntxfemp" pos="4" rst="0">
  46218. <comment>bit type is changed from w1c to rc.</comment>
  46219. </bits>
  46220. <bits access="rc" name="timeout" pos="3" rst="0">
  46221. <comment>bit type is changed from w1c to rc.</comment>
  46222. </bits>
  46223. <bits access="rc" name="ahberr" pos="2" rst="0">
  46224. <comment>bit type is changed from w1c to rc.</comment>
  46225. </bits>
  46226. <bits access="rc" name="epdisbld" pos="1" rst="0">
  46227. <comment>bit type is changed from w1c to rc.</comment>
  46228. </bits>
  46229. <bits access="rc" name="xfercompl" pos="0" rst="0">
  46230. <comment>bit type is changed from w1c to rc.</comment>
  46231. </bits>
  46232. </reg>
  46233. <hole size="32"/>
  46234. <reg name="dieptsiz5" protect="rw">
  46235. <bits access="rw" name="mc" pos="30:29" rst="0">
  46236. </bits>
  46237. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  46238. </bits>
  46239. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  46240. </bits>
  46241. </reg>
  46242. <reg name="diepdma5" protect="rw">
  46243. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  46244. </bits>
  46245. </reg>
  46246. <reg name="dtxfsts5" protect="rw">
  46247. <bits access="r" name="ineptxfspcavail" pos="15:0" rst="297">
  46248. </bits>
  46249. </reg>
  46250. <reg name="diepdmab5" protect="rw">
  46251. <bits access="rw" name="dmabufferaddr" pos="31:0" rst="0">
  46252. <comment>bit type is changed from ru to rw.</comment>
  46253. </bits>
  46254. </reg>
  46255. <hole size="2560"/>
  46256. <reg name="doepctl0" protect="rw">
  46257. <bits access="rw" name="epena" pos="31" rst="0">
  46258. <comment>bit type is changed from othr to rw.</comment>
  46259. </bits>
  46260. <bits access="r" name="epdis" pos="30" rst="0">
  46261. </bits>
  46262. <bits access="rw" name="snak" pos="27" rst="0">
  46263. <comment>bit type is changed from w1 to rw.</comment>
  46264. </bits>
  46265. <bits access="rw" name="cnak" pos="26" rst="0">
  46266. <comment>bit type is changed from w1 to rw.</comment>
  46267. </bits>
  46268. <bits access="rw" name="stall" pos="21" rst="0">
  46269. <comment>bit type is changed from othr to rw.</comment>
  46270. </bits>
  46271. <bits access="rw" name="snp" pos="20" rst="0">
  46272. </bits>
  46273. <bits access="r" name="eptype" pos="19:18" rst="0">
  46274. </bits>
  46275. <bits access="r" name="naksts" pos="17" rst="0">
  46276. </bits>
  46277. <bits access="r" name="usbactep" pos="15" rst="1">
  46278. </bits>
  46279. <bits access="r" name="mps" pos="1:0" rst="0">
  46280. </bits>
  46281. </reg>
  46282. <hole size="32"/>
  46283. <reg name="doepint0" protect="rw">
  46284. <bits access="rc" name="stuppktrcvd" pos="15" rst="0">
  46285. <comment>bit type is changed from w1c to rc.</comment>
  46286. </bits>
  46287. <bits access="rc" name="nyetintrpt" pos="14" rst="0">
  46288. <comment>bit type is changed from w1c to rc.</comment>
  46289. </bits>
  46290. <bits access="rc" name="nakintrpt" pos="13" rst="0">
  46291. <comment>bit type is changed from w1c to rc.</comment>
  46292. </bits>
  46293. <bits access="rc" name="bbleerr" pos="12" rst="0">
  46294. <comment>bit type is changed from w1c to rc.</comment>
  46295. </bits>
  46296. <bits access="rc" name="pktdrpsts" pos="11" rst="0">
  46297. <comment>bit type is changed from w1c to rc.</comment>
  46298. </bits>
  46299. <bits access="rc" name="bnaintr" pos="9" rst="0">
  46300. <comment>bit type is changed from w1c to rc.</comment>
  46301. </bits>
  46302. <bits access="rc" name="outpkterr" pos="8" rst="0">
  46303. <comment>bit type is changed from w1c to rc.</comment>
  46304. </bits>
  46305. <bits access="rc" name="back2backsetup" pos="6" rst="0">
  46306. <comment>bit type is changed from w1c to rc.</comment>
  46307. </bits>
  46308. <bits access="rc" name="stsphsercvd" pos="5" rst="0">
  46309. <comment>bit type is changed from w1c to rc.</comment>
  46310. </bits>
  46311. <bits access="rc" name="outtknepdis" pos="4" rst="0">
  46312. <comment>bit type is changed from w1c to rc.</comment>
  46313. </bits>
  46314. <bits access="rc" name="setup" pos="3" rst="0">
  46315. <comment>bit type is changed from w1c to rc.</comment>
  46316. </bits>
  46317. <bits access="rc" name="ahberr" pos="2" rst="0">
  46318. <comment>bit type is changed from w1c to rc.</comment>
  46319. </bits>
  46320. <bits access="rc" name="epdisbld" pos="1" rst="0">
  46321. <comment>bit type is changed from w1c to rc.</comment>
  46322. </bits>
  46323. <bits access="rc" name="xfercompl" pos="0" rst="0">
  46324. <comment>bit type is changed from w1c to rc.</comment>
  46325. </bits>
  46326. </reg>
  46327. <hole size="32"/>
  46328. <reg name="doeptsiz0" protect="rw">
  46329. <bits access="rw" name="supcnt" pos="30:29" rst="0">
  46330. </bits>
  46331. <bits access="rw" name="pktcnt" pos="19" rst="0">
  46332. </bits>
  46333. <bits access="rw" name="xfersize" pos="6:0" rst="0">
  46334. </bits>
  46335. </reg>
  46336. <reg name="doepdma0" protect="rw">
  46337. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  46338. </bits>
  46339. </reg>
  46340. <hole size="32"/>
  46341. <reg name="doepdmab0" protect="rw">
  46342. <bits access="rw" name="dmabufferaddr" pos="31:0" rst="0">
  46343. <comment>bit type is changed from ru to rw.</comment>
  46344. </bits>
  46345. </reg>
  46346. <reg name="doepctl1" protect="rw">
  46347. <bits access="rw" name="epena" pos="31" rst="0">
  46348. <comment>bit type is changed from othr to rw.</comment>
  46349. </bits>
  46350. <bits access="rw" name="epdis" pos="30" rst="0">
  46351. <comment>bit type is changed from othr to rw.</comment>
  46352. </bits>
  46353. <bits access="rw" name="setd1pid" pos="29" rst="0">
  46354. <comment>bit type is changed from w1 to rw.</comment>
  46355. </bits>
  46356. <bits access="rw" name="setd0pid" pos="28" rst="0">
  46357. <comment>bit type is changed from w1 to rw.</comment>
  46358. </bits>
  46359. <bits access="rw" name="snak" pos="27" rst="0">
  46360. <comment>bit type is changed from w1 to rw.</comment>
  46361. </bits>
  46362. <bits access="rw" name="cnak" pos="26" rst="0">
  46363. <comment>bit type is changed from w1 to rw.</comment>
  46364. </bits>
  46365. <bits access="rw" name="stall" pos="21" rst="0">
  46366. <comment>bit type is changed from othr to rw.</comment>
  46367. </bits>
  46368. <bits access="rw" name="snp" pos="20" rst="0">
  46369. </bits>
  46370. <bits access="rw" name="eptype" pos="19:18" rst="0">
  46371. </bits>
  46372. <bits access="r" name="naksts" pos="17" rst="0">
  46373. </bits>
  46374. <bits access="r" name="dpid" pos="16" rst="0">
  46375. </bits>
  46376. <bits access="rw" name="usbactep" pos="15" rst="0">
  46377. </bits>
  46378. <bits access="rw" name="mps" pos="10:0" rst="0">
  46379. </bits>
  46380. </reg>
  46381. <hole size="32"/>
  46382. <reg name="doepint1" protect="rw">
  46383. <bits access="rc" name="stuppktrcvd" pos="15" rst="0">
  46384. <comment>bit type is changed from w1c to rc.</comment>
  46385. </bits>
  46386. <bits access="rc" name="nyetintrpt" pos="14" rst="0">
  46387. <comment>bit type is changed from w1c to rc.</comment>
  46388. </bits>
  46389. <bits access="rc" name="nakintrpt" pos="13" rst="0">
  46390. <comment>bit type is changed from w1c to rc.</comment>
  46391. </bits>
  46392. <bits access="rc" name="bbleerr" pos="12" rst="0">
  46393. <comment>bit type is changed from w1c to rc.</comment>
  46394. </bits>
  46395. <bits access="rc" name="pktdrpsts" pos="11" rst="0">
  46396. <comment>bit type is changed from w1c to rc.</comment>
  46397. </bits>
  46398. <bits access="rc" name="bnaintr" pos="9" rst="0">
  46399. <comment>bit type is changed from w1c to rc.</comment>
  46400. </bits>
  46401. <bits access="rc" name="outpkterr" pos="8" rst="0">
  46402. <comment>bit type is changed from w1c to rc.</comment>
  46403. </bits>
  46404. <bits access="rc" name="back2backsetup" pos="6" rst="0">
  46405. <comment>bit type is changed from w1c to rc.</comment>
  46406. </bits>
  46407. <bits access="rc" name="stsphsercvd" pos="5" rst="0">
  46408. <comment>bit type is changed from w1c to rc.</comment>
  46409. </bits>
  46410. <bits access="rc" name="outtknepdis" pos="4" rst="0">
  46411. <comment>bit type is changed from w1c to rc.</comment>
  46412. </bits>
  46413. <bits access="rc" name="setup" pos="3" rst="0">
  46414. <comment>bit type is changed from w1c to rc.</comment>
  46415. </bits>
  46416. <bits access="rc" name="ahberr" pos="2" rst="0">
  46417. <comment>bit type is changed from w1c to rc.</comment>
  46418. </bits>
  46419. <bits access="rc" name="epdisbld" pos="1" rst="0">
  46420. <comment>bit type is changed from w1c to rc.</comment>
  46421. </bits>
  46422. <bits access="rc" name="xfercompl" pos="0" rst="0">
  46423. <comment>bit type is changed from w1c to rc.</comment>
  46424. </bits>
  46425. </reg>
  46426. <hole size="32"/>
  46427. <reg name="doeptsiz1" protect="rw">
  46428. <bits access="r" name="rxdpid" pos="30:29" rst="0">
  46429. </bits>
  46430. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  46431. </bits>
  46432. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  46433. </bits>
  46434. </reg>
  46435. <reg name="doepdma1" protect="rw">
  46436. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  46437. </bits>
  46438. </reg>
  46439. <hole size="32"/>
  46440. <reg name="doepdmab1" protect="rw">
  46441. <bits access="rw" name="dmabufferaddr" pos="31:0" rst="0">
  46442. <comment>bit type is changed from ru to rw.</comment>
  46443. </bits>
  46444. </reg>
  46445. <reg name="doepctl2" protect="rw">
  46446. <bits access="rw" name="epena" pos="31" rst="0">
  46447. <comment>bit type is changed from othr to rw.</comment>
  46448. </bits>
  46449. <bits access="rw" name="epdis" pos="30" rst="0">
  46450. <comment>bit type is changed from othr to rw.</comment>
  46451. </bits>
  46452. <bits access="rw" name="setd1pid" pos="29" rst="0">
  46453. <comment>bit type is changed from w1 to rw.</comment>
  46454. </bits>
  46455. <bits access="rw" name="setd0pid" pos="28" rst="0">
  46456. <comment>bit type is changed from w1 to rw.</comment>
  46457. </bits>
  46458. <bits access="rw" name="snak" pos="27" rst="0">
  46459. <comment>bit type is changed from w1 to rw.</comment>
  46460. </bits>
  46461. <bits access="rw" name="cnak" pos="26" rst="0">
  46462. <comment>bit type is changed from w1 to rw.</comment>
  46463. </bits>
  46464. <bits access="rw" name="stall" pos="21" rst="0">
  46465. <comment>bit type is changed from othr to rw.</comment>
  46466. </bits>
  46467. <bits access="rw" name="snp" pos="20" rst="0">
  46468. </bits>
  46469. <bits access="rw" name="eptype" pos="19:18" rst="0">
  46470. </bits>
  46471. <bits access="r" name="naksts" pos="17" rst="0">
  46472. </bits>
  46473. <bits access="r" name="dpid" pos="16" rst="0">
  46474. </bits>
  46475. <bits access="rw" name="usbactep" pos="15" rst="0">
  46476. </bits>
  46477. <bits access="rw" name="mps" pos="10:0" rst="0">
  46478. </bits>
  46479. </reg>
  46480. <hole size="32"/>
  46481. <reg name="doepint2" protect="rw">
  46482. <bits access="rc" name="stuppktrcvd" pos="15" rst="0">
  46483. <comment>bit type is changed from w1c to rc.</comment>
  46484. </bits>
  46485. <bits access="rc" name="nyetintrpt" pos="14" rst="0">
  46486. <comment>bit type is changed from w1c to rc.</comment>
  46487. </bits>
  46488. <bits access="rc" name="nakintrpt" pos="13" rst="0">
  46489. <comment>bit type is changed from w1c to rc.</comment>
  46490. </bits>
  46491. <bits access="rc" name="bbleerr" pos="12" rst="0">
  46492. <comment>bit type is changed from w1c to rc.</comment>
  46493. </bits>
  46494. <bits access="rc" name="pktdrpsts" pos="11" rst="0">
  46495. <comment>bit type is changed from w1c to rc.</comment>
  46496. </bits>
  46497. <bits access="rc" name="bnaintr" pos="9" rst="0">
  46498. <comment>bit type is changed from w1c to rc.</comment>
  46499. </bits>
  46500. <bits access="rc" name="outpkterr" pos="8" rst="0">
  46501. <comment>bit type is changed from w1c to rc.</comment>
  46502. </bits>
  46503. <bits access="rc" name="back2backsetup" pos="6" rst="0">
  46504. <comment>bit type is changed from w1c to rc.</comment>
  46505. </bits>
  46506. <bits access="rc" name="stsphsercvd" pos="5" rst="0">
  46507. <comment>bit type is changed from w1c to rc.</comment>
  46508. </bits>
  46509. <bits access="rc" name="outtknepdis" pos="4" rst="0">
  46510. <comment>bit type is changed from w1c to rc.</comment>
  46511. </bits>
  46512. <bits access="rc" name="setup" pos="3" rst="0">
  46513. <comment>bit type is changed from w1c to rc.</comment>
  46514. </bits>
  46515. <bits access="rc" name="ahberr" pos="2" rst="0">
  46516. <comment>bit type is changed from w1c to rc.</comment>
  46517. </bits>
  46518. <bits access="rc" name="epdisbld" pos="1" rst="0">
  46519. <comment>bit type is changed from w1c to rc.</comment>
  46520. </bits>
  46521. <bits access="rc" name="xfercompl" pos="0" rst="0">
  46522. <comment>bit type is changed from w1c to rc.</comment>
  46523. </bits>
  46524. </reg>
  46525. <hole size="32"/>
  46526. <reg name="doeptsiz2" protect="rw">
  46527. <bits access="r" name="rxdpid" pos="30:29" rst="0">
  46528. </bits>
  46529. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  46530. </bits>
  46531. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  46532. </bits>
  46533. </reg>
  46534. <reg name="doepdma2" protect="rw">
  46535. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  46536. </bits>
  46537. </reg>
  46538. <hole size="32"/>
  46539. <reg name="doepdmab2" protect="rw">
  46540. <bits access="rw" name="dmabufferaddr" pos="31:0" rst="0">
  46541. <comment>bit type is changed from ru to rw.</comment>
  46542. </bits>
  46543. </reg>
  46544. <reg name="doepctl3" protect="rw">
  46545. <bits access="rw" name="epena" pos="31" rst="0">
  46546. <comment>bit type is changed from othr to rw.</comment>
  46547. </bits>
  46548. <bits access="rw" name="epdis" pos="30" rst="0">
  46549. <comment>bit type is changed from othr to rw.</comment>
  46550. </bits>
  46551. <bits access="rw" name="setd1pid" pos="29" rst="0">
  46552. <comment>bit type is changed from w1 to rw.</comment>
  46553. </bits>
  46554. <bits access="rw" name="setd0pid" pos="28" rst="0">
  46555. <comment>bit type is changed from w1 to rw.</comment>
  46556. </bits>
  46557. <bits access="rw" name="snak" pos="27" rst="0">
  46558. <comment>bit type is changed from w1 to rw.</comment>
  46559. </bits>
  46560. <bits access="rw" name="cnak" pos="26" rst="0">
  46561. <comment>bit type is changed from w1 to rw.</comment>
  46562. </bits>
  46563. <bits access="rw" name="stall" pos="21" rst="0">
  46564. <comment>bit type is changed from othr to rw.</comment>
  46565. </bits>
  46566. <bits access="rw" name="snp" pos="20" rst="0">
  46567. </bits>
  46568. <bits access="rw" name="eptype" pos="19:18" rst="0">
  46569. </bits>
  46570. <bits access="r" name="naksts" pos="17" rst="0">
  46571. </bits>
  46572. <bits access="r" name="dpid" pos="16" rst="0">
  46573. </bits>
  46574. <bits access="rw" name="usbactep" pos="15" rst="0">
  46575. </bits>
  46576. <bits access="rw" name="mps" pos="10:0" rst="0">
  46577. </bits>
  46578. </reg>
  46579. <hole size="32"/>
  46580. <reg name="doepint3" protect="rw">
  46581. <bits access="rc" name="stuppktrcvd" pos="15" rst="0">
  46582. <comment>bit type is changed from w1c to rc.</comment>
  46583. </bits>
  46584. <bits access="rc" name="nyetintrpt" pos="14" rst="0">
  46585. <comment>bit type is changed from w1c to rc.</comment>
  46586. </bits>
  46587. <bits access="rc" name="nakintrpt" pos="13" rst="0">
  46588. <comment>bit type is changed from w1c to rc.</comment>
  46589. </bits>
  46590. <bits access="rc" name="bbleerr" pos="12" rst="0">
  46591. <comment>bit type is changed from w1c to rc.</comment>
  46592. </bits>
  46593. <bits access="rc" name="pktdrpsts" pos="11" rst="0">
  46594. <comment>bit type is changed from w1c to rc.</comment>
  46595. </bits>
  46596. <bits access="rc" name="bnaintr" pos="9" rst="0">
  46597. <comment>bit type is changed from w1c to rc.</comment>
  46598. </bits>
  46599. <bits access="rc" name="outpkterr" pos="8" rst="0">
  46600. <comment>bit type is changed from w1c to rc.</comment>
  46601. </bits>
  46602. <bits access="rc" name="back2backsetup" pos="6" rst="0">
  46603. <comment>bit type is changed from w1c to rc.</comment>
  46604. </bits>
  46605. <bits access="rc" name="stsphsercvd" pos="5" rst="0">
  46606. <comment>bit type is changed from w1c to rc.</comment>
  46607. </bits>
  46608. <bits access="rc" name="outtknepdis" pos="4" rst="0">
  46609. <comment>bit type is changed from w1c to rc.</comment>
  46610. </bits>
  46611. <bits access="rc" name="setup" pos="3" rst="0">
  46612. <comment>bit type is changed from w1c to rc.</comment>
  46613. </bits>
  46614. <bits access="rc" name="ahberr" pos="2" rst="0">
  46615. <comment>bit type is changed from w1c to rc.</comment>
  46616. </bits>
  46617. <bits access="rc" name="epdisbld" pos="1" rst="0">
  46618. <comment>bit type is changed from w1c to rc.</comment>
  46619. </bits>
  46620. <bits access="rc" name="xfercompl" pos="0" rst="0">
  46621. <comment>bit type is changed from w1c to rc.</comment>
  46622. </bits>
  46623. </reg>
  46624. <hole size="32"/>
  46625. <reg name="doeptsiz3" protect="rw">
  46626. <bits access="r" name="rxdpid" pos="30:29" rst="0">
  46627. </bits>
  46628. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  46629. </bits>
  46630. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  46631. </bits>
  46632. </reg>
  46633. <reg name="doepdma3" protect="rw">
  46634. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  46635. </bits>
  46636. </reg>
  46637. <hole size="32"/>
  46638. <reg name="doepdmab3" protect="rw">
  46639. <bits access="rw" name="dmabufferaddr" pos="31:0" rst="0">
  46640. <comment>bit type is changed from ru to rw.</comment>
  46641. </bits>
  46642. </reg>
  46643. <reg name="doepctl4" protect="rw">
  46644. <bits access="rw" name="epena" pos="31" rst="0">
  46645. <comment>bit type is changed from othr to rw.</comment>
  46646. </bits>
  46647. <bits access="rw" name="epdis" pos="30" rst="0">
  46648. <comment>bit type is changed from othr to rw.</comment>
  46649. </bits>
  46650. <bits access="rw" name="setd1pid" pos="29" rst="0">
  46651. <comment>bit type is changed from w1 to rw.</comment>
  46652. </bits>
  46653. <bits access="rw" name="setd0pid" pos="28" rst="0">
  46654. <comment>bit type is changed from w1 to rw.</comment>
  46655. </bits>
  46656. <bits access="rw" name="snak" pos="27" rst="0">
  46657. <comment>bit type is changed from w1 to rw.</comment>
  46658. </bits>
  46659. <bits access="rw" name="cnak" pos="26" rst="0">
  46660. <comment>bit type is changed from w1 to rw.</comment>
  46661. </bits>
  46662. <bits access="rw" name="stall" pos="21" rst="0">
  46663. <comment>bit type is changed from othr to rw.</comment>
  46664. </bits>
  46665. <bits access="rw" name="snp" pos="20" rst="0">
  46666. </bits>
  46667. <bits access="rw" name="eptype" pos="19:18" rst="0">
  46668. </bits>
  46669. <bits access="r" name="naksts" pos="17" rst="0">
  46670. </bits>
  46671. <bits access="r" name="dpid" pos="16" rst="0">
  46672. </bits>
  46673. <bits access="rw" name="usbactep" pos="15" rst="0">
  46674. </bits>
  46675. <bits access="rw" name="mps" pos="10:0" rst="0">
  46676. </bits>
  46677. </reg>
  46678. <hole size="32"/>
  46679. <reg name="doepint4" protect="rw">
  46680. <bits access="rc" name="stuppktrcvd" pos="15" rst="0">
  46681. <comment>bit type is changed from w1c to rc.</comment>
  46682. </bits>
  46683. <bits access="rc" name="nyetintrpt" pos="14" rst="0">
  46684. <comment>bit type is changed from w1c to rc.</comment>
  46685. </bits>
  46686. <bits access="rc" name="nakintrpt" pos="13" rst="0">
  46687. <comment>bit type is changed from w1c to rc.</comment>
  46688. </bits>
  46689. <bits access="rc" name="bbleerr" pos="12" rst="0">
  46690. <comment>bit type is changed from w1c to rc.</comment>
  46691. </bits>
  46692. <bits access="rc" name="pktdrpsts" pos="11" rst="0">
  46693. <comment>bit type is changed from w1c to rc.</comment>
  46694. </bits>
  46695. <bits access="rc" name="bnaintr" pos="9" rst="0">
  46696. <comment>bit type is changed from w1c to rc.</comment>
  46697. </bits>
  46698. <bits access="rc" name="outpkterr" pos="8" rst="0">
  46699. <comment>bit type is changed from w1c to rc.</comment>
  46700. </bits>
  46701. <bits access="rc" name="back2backsetup" pos="6" rst="0">
  46702. <comment>bit type is changed from w1c to rc.</comment>
  46703. </bits>
  46704. <bits access="rc" name="stsphsercvd" pos="5" rst="0">
  46705. <comment>bit type is changed from w1c to rc.</comment>
  46706. </bits>
  46707. <bits access="rc" name="outtknepdis" pos="4" rst="0">
  46708. <comment>bit type is changed from w1c to rc.</comment>
  46709. </bits>
  46710. <bits access="rc" name="setup" pos="3" rst="0">
  46711. <comment>bit type is changed from w1c to rc.</comment>
  46712. </bits>
  46713. <bits access="rc" name="ahberr" pos="2" rst="0">
  46714. <comment>bit type is changed from w1c to rc.</comment>
  46715. </bits>
  46716. <bits access="rc" name="epdisbld" pos="1" rst="0">
  46717. <comment>bit type is changed from w1c to rc.</comment>
  46718. </bits>
  46719. <bits access="rc" name="xfercompl" pos="0" rst="0">
  46720. <comment>bit type is changed from w1c to rc.</comment>
  46721. </bits>
  46722. </reg>
  46723. <hole size="32"/>
  46724. <reg name="doeptsiz4" protect="rw">
  46725. <bits access="r" name="rxdpid" pos="30:29" rst="0">
  46726. </bits>
  46727. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  46728. </bits>
  46729. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  46730. </bits>
  46731. </reg>
  46732. <reg name="doepdma4" protect="rw">
  46733. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  46734. </bits>
  46735. </reg>
  46736. <hole size="32"/>
  46737. <reg name="doepdmab4" protect="rw">
  46738. <bits access="rw" name="dmabufferaddr" pos="31:0" rst="0">
  46739. <comment>bit type is changed from ru to rw.</comment>
  46740. </bits>
  46741. </reg>
  46742. <reg name="doepctl5" protect="rw">
  46743. <bits access="rw" name="epena" pos="31" rst="0">
  46744. <comment>bit type is changed from othr to rw.</comment>
  46745. </bits>
  46746. <bits access="rw" name="epdis" pos="30" rst="0">
  46747. <comment>bit type is changed from othr to rw.</comment>
  46748. </bits>
  46749. <bits access="rw" name="setd1pid" pos="29" rst="0">
  46750. <comment>bit type is changed from w1 to rw.</comment>
  46751. </bits>
  46752. <bits access="rw" name="setd0pid" pos="28" rst="0">
  46753. <comment>bit type is changed from w1 to rw.</comment>
  46754. </bits>
  46755. <bits access="rw" name="snak" pos="27" rst="0">
  46756. <comment>bit type is changed from w1 to rw.</comment>
  46757. </bits>
  46758. <bits access="rw" name="cnak" pos="26" rst="0">
  46759. <comment>bit type is changed from w1 to rw.</comment>
  46760. </bits>
  46761. <bits access="rw" name="stall" pos="21" rst="0">
  46762. <comment>bit type is changed from othr to rw.</comment>
  46763. </bits>
  46764. <bits access="rw" name="snp" pos="20" rst="0">
  46765. </bits>
  46766. <bits access="rw" name="eptype" pos="19:18" rst="0">
  46767. </bits>
  46768. <bits access="r" name="naksts" pos="17" rst="0">
  46769. </bits>
  46770. <bits access="r" name="dpid" pos="16" rst="0">
  46771. </bits>
  46772. <bits access="rw" name="usbactep" pos="15" rst="0">
  46773. </bits>
  46774. <bits access="rw" name="mps" pos="10:0" rst="0">
  46775. </bits>
  46776. </reg>
  46777. <hole size="32"/>
  46778. <reg name="doepint5" protect="rw">
  46779. <bits access="rc" name="stuppktrcvd" pos="15" rst="0">
  46780. <comment>bit type is changed from w1c to rc.</comment>
  46781. </bits>
  46782. <bits access="rc" name="nyetintrpt" pos="14" rst="0">
  46783. <comment>bit type is changed from w1c to rc.</comment>
  46784. </bits>
  46785. <bits access="rc" name="nakintrpt" pos="13" rst="0">
  46786. <comment>bit type is changed from w1c to rc.</comment>
  46787. </bits>
  46788. <bits access="rc" name="bbleerr" pos="12" rst="0">
  46789. <comment>bit type is changed from w1c to rc.</comment>
  46790. </bits>
  46791. <bits access="rc" name="pktdrpsts" pos="11" rst="0">
  46792. <comment>bit type is changed from w1c to rc.</comment>
  46793. </bits>
  46794. <bits access="rc" name="bnaintr" pos="9" rst="0">
  46795. <comment>bit type is changed from w1c to rc.</comment>
  46796. </bits>
  46797. <bits access="rc" name="outpkterr" pos="8" rst="0">
  46798. <comment>bit type is changed from w1c to rc.</comment>
  46799. </bits>
  46800. <bits access="rc" name="back2backsetup" pos="6" rst="0">
  46801. <comment>bit type is changed from w1c to rc.</comment>
  46802. </bits>
  46803. <bits access="rc" name="stsphsercvd" pos="5" rst="0">
  46804. <comment>bit type is changed from w1c to rc.</comment>
  46805. </bits>
  46806. <bits access="rc" name="outtknepdis" pos="4" rst="0">
  46807. <comment>bit type is changed from w1c to rc.</comment>
  46808. </bits>
  46809. <bits access="rc" name="setup" pos="3" rst="0">
  46810. <comment>bit type is changed from w1c to rc.</comment>
  46811. </bits>
  46812. <bits access="rc" name="ahberr" pos="2" rst="0">
  46813. <comment>bit type is changed from w1c to rc.</comment>
  46814. </bits>
  46815. <bits access="rc" name="epdisbld" pos="1" rst="0">
  46816. <comment>bit type is changed from w1c to rc.</comment>
  46817. </bits>
  46818. <bits access="rc" name="xfercompl" pos="0" rst="0">
  46819. <comment>bit type is changed from w1c to rc.</comment>
  46820. </bits>
  46821. </reg>
  46822. <hole size="32"/>
  46823. <reg name="doeptsiz5" protect="rw">
  46824. <bits access="r" name="rxdpid" pos="30:29" rst="0">
  46825. </bits>
  46826. <bits access="rw" name="pktcnt" pos="28:19" rst="0">
  46827. </bits>
  46828. <bits access="rw" name="xfersize" pos="18:0" rst="0">
  46829. </bits>
  46830. </reg>
  46831. <reg name="doepdma5" protect="rw">
  46832. <bits access="rw" name="dmaaddr" pos="31:0" rst="0">
  46833. </bits>
  46834. </reg>
  46835. <hole size="32"/>
  46836. <reg name="doepdmab5" protect="rw">
  46837. <bits access="rw" name="dmabufferaddr" pos="31:0" rst="0">
  46838. <comment>bit type is changed from ru to rw.</comment>
  46839. </bits>
  46840. </reg>
  46841. <hole size="4608"/>
  46842. <reg name="pcgcctl" protect="rw">
  46843. <bits access="r" name="l1suspended" pos="7" rst="0">
  46844. </bits>
  46845. <bits access="r" name="physleep" pos="6" rst="0">
  46846. </bits>
  46847. <bits access="rw" name="rstpdwnmodule" pos="3" rst="0">
  46848. </bits>
  46849. <bits access="rw" name="stoppclk" pos="0" rst="0">
  46850. </bits>
  46851. </reg>
  46852. </module>
  46853. </archive>
  46854. <archive relative="sdmmc.xml">
  46855. <module category="Periph" name="SDMMC">
  46856. <reg name="apbi_ctrl_sdmmc" protect="rw">
  46857. <bits access="rw" name="l_endian" pos="2:0" rst="000">
  46858. <comment>
  46859. Controls the big endian or little endian of the FIFO data.
  46860. <br/>
  46861. Take 32 bit data 0X0A0B0C0D for Example,bit[31:24]=Byte3,bit[23:16]=Byte2,bit[15:8]=Byte1,bit[7:0]=Byte0.
  46862. <br/>
  46863. &quot;000&quot;: the order is not changed.
  46864. <br/>
  46865. Byte3=&quot;0A&quot;,Byte2=&quot;0B&quot;,Byte1=&quot;0C&quot;,Byte0=&quot;0D&quot;.
  46866. <br/>
  46867. &quot;001&quot;: reversed on byte.
  46868. <br/>
  46869. Byte3=&quot;0D&quot;,Byte2=&quot;0C,Byte1=&quot;0B&quot;,Byte0=&quot;0A&quot;.
  46870. <br/>
  46871. &quot;010&quot;: reversed on half word.
  46872. <br/>
  46873. Byte3=&quot;0C&quot;,Byte2=&quot;0D,Byte1=&quot;0A&quot;,Byte0=&quot;0B&quot;.
  46874. <br/>
  46875. &quot;010&quot;: reversed on bit.
  46876. <br/>
  46877. Byte3=&quot;B0&quot;,Byte2=&quot;30,Byte1=&quot;D0&quot;,Byte0=&quot;50&quot;.
  46878. <br/>
  46879. &quot;100&quot;: reversed on bit.
  46880. <br/>
  46881. Byte3=&quot;0A&quot;,Byte2=&quot;0X,Byte1=&quot;0D&quot;,Byte0=&quot;0C&quot;.
  46882. </comment>
  46883. </bits>
  46884. <bits access="rw" name="soft_rst_l" pos="3" rst="1">
  46885. <comment>
  46886. For the software to clear FIFO in case there is an error in communication with SD controller and some data are left behind.
  46887. <br/>
  46888. Active Low.
  46889. </comment>
  46890. </bits>
  46891. </reg>
  46892. <hole size="32"/>
  46893. <reg name="apbi_fifo_txrx" protect="--">
  46894. <bits access="w" name="data_in" pos="31:0" rst="0">
  46895. <comment>Write to the transmit FIFO</comment>
  46896. </bits>
  46897. <bits access="r" name="data_out" pos="31:0" rst="0">
  46898. <comment>Read in the receive FIFO</comment>
  46899. </bits>
  46900. </reg>
  46901. <hole size="16288"/>
  46902. <reg name="sdmmc_config" protect="rw">
  46903. <bits access="rw" name="sdmmc_sendcmd" pos="0" rst="0">
  46904. <comment>
  46905. SD/MMC operation begin register, active high.
  46906. <br/>
  46907. When '1', the controller finishes the last command and goes into suspend status. At suspend status, the controller will not execute the next command until the bit is set '0'.
  46908. </comment>
  46909. </bits>
  46910. <bits access="rw" name="sdmmc_suspend" pos="1" rst="1">
  46911. <comment>SD/MMC operation suspend register, active high.</comment>
  46912. </bits>
  46913. <bits access="rw" name="rsp_en" pos="4" rst="0">
  46914. <comment>'1'indicates having a response,'0'indicates no response.</comment>
  46915. </bits>
  46916. <bits access="rw" name="rsp_sel" pos="6:5" rst="0">
  46917. <options>
  46918. <default/>
  46919. <option name="R2" value="0b10"/>
  46920. <option name="R3" value="0b01"/>
  46921. <option name="OTHER" value="0b00"/>
  46922. </options>
  46923. <comment>Response select register,&quot;10&quot; means R2 response, &quot;01&quot; means R3 response, &quot;00&quot; means others response, &quot;11&quot; is reserved.</comment>
  46924. </bits>
  46925. <bits access="rw" name="rd_wt_en" pos="8" rst="0">
  46926. <comment>'1' indicates data operation, which includes read and write.</comment>
  46927. </bits>
  46928. <bits access="rw" name="rd_wt_sel" pos="9" rst="0">
  46929. <options>
  46930. <default/>
  46931. <option name="READ" value="0"/>
  46932. <option name="WRITE" value="1"/>
  46933. </options>
  46934. <comment>'1' means write operation,'0' means read operation.</comment>
  46935. </bits>
  46936. <bits access="rw" name="s_m_sel" pos="10" rst="0">
  46937. <options>
  46938. <default/>
  46939. <option name="SIMPLE" value="0"/>
  46940. <option name="MULTIPLE" value="1"/>
  46941. </options>
  46942. <comment>'1'means multiple block data operation.</comment>
  46943. </bits>
  46944. <bits access="rw" name="auto_flag_en" pos="16" rst="1">
  46945. </bits>
  46946. </reg>
  46947. <reg name="sdmmc_status" protect="r">
  46948. <bits access="r" name="not_sdmmc_over" pos="0" rst="0">
  46949. <comment>'1' means the SD/MMC operation is not over.</comment>
  46950. </bits>
  46951. <bits access="r" name="busy" pos="1" rst="0">
  46952. <comment>'1' means SD/MMC is busy.</comment>
  46953. </bits>
  46954. <bits access="r" name="dl_busy" pos="2" rst="0">
  46955. <comment>'1' means the data line is busy.</comment>
  46956. </bits>
  46957. <bits access="r" name="suspend" pos="3" rst="1">
  46958. <comment>'1' means the controller will not perform the new command when SDMMC_SENDCMD= '1'.</comment>
  46959. </bits>
  46960. <bits access="r" name="rsp_error" pos="8" rst="0">
  46961. <comment>Response CRC checks error register '1' means response CRC check error.</comment>
  46962. </bits>
  46963. <bits access="r" name="no_rsp_error" pos="9" rst="0">
  46964. <comment>'1' means the card has no response to command.</comment>
  46965. </bits>
  46966. <bits access="r" name="crc_status" pos="14:12" rst="0">
  46967. <comment>
  46968. CRC check for SD/MMC write operation
  46969. <br/>
  46970. &quot;101&quot; transmission error
  46971. <br/>
  46972. &quot;010&quot; transmission right
  46973. <br/>
  46974. &quot;111&quot; flash programming error
  46975. </comment>
  46976. </bits>
  46977. <bits access="r" name="data_error" pos="23:16" rst="0">
  46978. <comment>8 bits data CRC check, &quot;00000000&quot; means no data error, &quot;00000001&quot; means DATA0 CRC check error, &quot;10000000&quot; means DATA7 CRC check error, each bit match one data line.</comment>
  46979. </bits>
  46980. <bits access="r" name="dat3_val" pos="24" rst="-">
  46981. <comment>SDMMC DATA 3 value.</comment>
  46982. </bits>
  46983. </reg>
  46984. <reg name="sdmmc_cmd_index" protect="rw">
  46985. <bits access="rw" name="command" pos="5:0" rst="0">
  46986. <comment>SD/MMC command register.</comment>
  46987. </bits>
  46988. </reg>
  46989. <reg name="sdmmc_cmd_arg" protect="rw">
  46990. <bits access="rw" name="argument" pos="31:0" rst="0">
  46991. <comment>SD/MMC command argument register, write data to the SD/MMC card.</comment>
  46992. </bits>
  46993. </reg>
  46994. <reg name="sdmmc_resp_index" protect="r">
  46995. <bits access="r" name="response" pos="5:0" rst="0">
  46996. <comment>SD/MMC response index register.</comment>
  46997. </bits>
  46998. </reg>
  46999. <reg name="sdmmc_resp_arg3" protect="r">
  47000. <bits access="r" name="argument3" pos="31:0" rst="0">
  47001. <comment>Response argument of R1, R3 and R6, or 127 to 96 bit response argument of R2.</comment>
  47002. </bits>
  47003. </reg>
  47004. <reg name="sdmmc_resp_arg2" protect="r">
  47005. <bits access="r" name="argument2" pos="31:0" rst="0">
  47006. <comment>95 to 64 bit response argument of R2.</comment>
  47007. </bits>
  47008. </reg>
  47009. <reg name="sdmmc_resp_arg1" protect="r">
  47010. <bits access="r" name="argument1" pos="31:0" rst="0">
  47011. <comment>63 to 32 bit response argument of R2.</comment>
  47012. </bits>
  47013. </reg>
  47014. <reg name="sdmmc_resp_arg0" protect="r">
  47015. <bits access="r" name="argument0" pos="31:0" rst="0">
  47016. <comment>31 to 0 bit response argument of R2.</comment>
  47017. </bits>
  47018. </reg>
  47019. <reg name="sdmmc_data_width" protect="rw">
  47020. <bits access="rw" name="sdmmc_data_width" pos="3:0" rst="0">
  47021. <comment>
  47022. SD/MMC data width:
  47023. <br/>
  47024. 0x1: 1 data line
  47025. <br/>
  47026. 0x2: 2 reserved
  47027. <br/>
  47028. 0x4: 4 data lines
  47029. <br/>
  47030. 0x8: 8 data lines
  47031. </comment>
  47032. </bits>
  47033. </reg>
  47034. <reg name="sdmmc_block_size" protect="rw">
  47035. <bits access="rw" name="sdmmc_block_size" pos="3:0" rst="0">
  47036. <comment>
  47037. SD/MMC size of one block:
  47038. <br/>
  47039. 0-1:reserved
  47040. <br/>
  47041. 2: 1 word
  47042. <br/>
  47043. 3: 2 words
  47044. <br/>
  47045. 4: 4 words
  47046. <br/>
  47047. 5: 8 words
  47048. <br/>
  47049. 6: 16 words
  47050. <br/>
  47051. <br/>
  47052. 11: 512 words
  47053. <br/>
  47054. 12-15 reserved
  47055. </comment>
  47056. </bits>
  47057. </reg>
  47058. <reg name="sdmmc_block_cnt" protect="rw">
  47059. <bits access="rw" name="sdmmc_block_cnt" pos="15:0" rst="0">
  47060. <comment>Block number that wants to transfer.</comment>
  47061. </bits>
  47062. </reg>
  47063. <reg name="sdmmc_int_status" protect="r">
  47064. <bits access="r" name="no_rsp_int" pos="0" rst="0">
  47065. <comment>'1' means no response.</comment>
  47066. </bits>
  47067. <bits access="r" name="rsp_err_int" pos="1" rst="0">
  47068. <comment>'1' means CRC error of response.</comment>
  47069. </bits>
  47070. <bits access="r" name="rd_err_int" pos="2" rst="0">
  47071. <comment>'1' means CRC error of reading data.</comment>
  47072. </bits>
  47073. <bits access="r" name="wr_err_int" pos="3" rst="0">
  47074. <comment>'1' means CRC error of writing data.</comment>
  47075. </bits>
  47076. <bits access="r" name="dat_over_int" pos="4" rst="0">
  47077. <comment>'1' means data transmission is over.</comment>
  47078. </bits>
  47079. <bits access="r" name="txdma_done_int" pos="5" rst="0">
  47080. <comment>'1' means tx dma done.</comment>
  47081. </bits>
  47082. <bits access="r" name="rxdma_done_int" pos="6" rst="0">
  47083. <comment>'1' means rx dma done.</comment>
  47084. </bits>
  47085. <bits access="r" name="no_rsp_sc" pos="8" rst="0">
  47086. <comment>'1' means no response is the source of interrupt.</comment>
  47087. </bits>
  47088. <bits access="r" name="rsp_err_sc" pos="9" rst="0">
  47089. <comment>'1' means CRC error of response is the source of interrupt.</comment>
  47090. </bits>
  47091. <bits access="r" name="rd_err_sc" pos="10" rst="0">
  47092. <comment>'1' means CRC error of reading data is the source of interrupt.</comment>
  47093. </bits>
  47094. <bits access="r" name="wr_err_sc" pos="11" rst="0">
  47095. <comment>'1' means CRC error of writing data is the source of interrupt.</comment>
  47096. </bits>
  47097. <bits access="r" name="dat_over_sc" pos="12" rst="0">
  47098. <comment>'1' means the end of data transmission is the source of interrupt.</comment>
  47099. </bits>
  47100. <bits access="r" name="txdma_done_sc" pos="13" rst="0">
  47101. <comment>'1' means tx dma done is the source of interrupt.</comment>
  47102. </bits>
  47103. <bits access="r" name="rxdma_done_sc" pos="14" rst="0">
  47104. <comment>'1' means rx dma done is the source of interrupt.</comment>
  47105. </bits>
  47106. </reg>
  47107. <reg name="sdmmc_int_mask" protect="rw">
  47108. <bits access="rw" name="no_rsp_mk" pos="0" rst="0">
  47109. <comment>When no response, '1' means INT is disable.</comment>
  47110. </bits>
  47111. <bits access="rw" name="rsp_err_mk" pos="1" rst="0">
  47112. <comment>When CRC error of response, '1' means INT is disable.</comment>
  47113. </bits>
  47114. <bits access="rw" name="rd_err_mk" pos="2" rst="0">
  47115. <comment>When CRC error of reading data, '1' means INT is disable.</comment>
  47116. </bits>
  47117. <bits access="rw" name="wr_err_mk" pos="3" rst="0">
  47118. <comment>When CRC error of writing data, '1' means INT is disable.</comment>
  47119. </bits>
  47120. <bits access="rw" name="dat_over_mk" pos="4" rst="0">
  47121. <comment>When data transmission is over, '1' means INT is disable.</comment>
  47122. </bits>
  47123. <bits access="rw" name="txdma_done_mk" pos="5" rst="0">
  47124. <comment>when tx dma done, '1' means INT is disabled.</comment>
  47125. </bits>
  47126. <bits access="rw" name="rxdma_done_mk" pos="6" rst="0">
  47127. <comment>'1' means rx dma done, '1' means INT is disabled.</comment>
  47128. </bits>
  47129. </reg>
  47130. <reg name="sdmmc_int_clear" protect="w">
  47131. <bits access="w" name="no_rsp_cl" pos="0" rst="0">
  47132. <comment>Write a '1' to this bit to clear the source of interrupt in NO_RSP_SC.</comment>
  47133. </bits>
  47134. <bits access="w" name="rsp_err_cl" pos="1" rst="0">
  47135. <comment>Write a '1' to this bit to clear the source of interrupt in RSP_ERR_SC.</comment>
  47136. </bits>
  47137. <bits access="w" name="rd_err_cl" pos="2" rst="0">
  47138. <comment>Write a '1' to this bit to clear the source of interrupt in RD_ERR_SC.</comment>
  47139. </bits>
  47140. <bits access="w" name="wr_err_cl" pos="3" rst="0">
  47141. <comment>Write a '1' to this bit to clear the source of interrupt in WR_ERR_SC.</comment>
  47142. </bits>
  47143. <bits access="w" name="dat_over_cl" pos="4" rst="0">
  47144. <comment>Write a '1' to this bit to clear the source of interrupt in DAT_OVER_SC.</comment>
  47145. </bits>
  47146. <bits access="w" name="txdma_done_cl" pos="5" rst="0">
  47147. <comment>Write a '1' to this bit to clear the source of interrupt in TXDMA_DONE_SC.</comment>
  47148. </bits>
  47149. <bits access="w" name="rxdma_done_cl" pos="6" rst="0">
  47150. <comment>Write a '1' to this bit to clear the source of interrupt in RXDMA_DONE_SC.</comment>
  47151. </bits>
  47152. </reg>
  47153. <reg name="sdmmc_trans_speed" protect="rw">
  47154. <bits access="rw" name="sdmmc_trans_speed" pos="7:0" rst="0">
  47155. <comment>Mclk = Pclk/(2*(SDMMC_TRANS_SPEED +1)).</comment>
  47156. </bits>
  47157. </reg>
  47158. <reg name="sdmmc_mclk_adjust" protect="rw">
  47159. <bits access="rw" name="sdmmc_mclk_adjust" pos="3:0" rst="0">
  47160. <comment>This register may delay the mclk output.
  47161. When MCLK_ADJUSTER = n, Mclk is outputted with n Pclk.</comment>
  47162. </bits>
  47163. <bits access="rw" name="clk_inv" pos="4" rst="0">
  47164. <comment>Invert Mclk.</comment>
  47165. </bits>
  47166. </reg>
  47167. </module>
  47168. </archive>
  47169. <archive relative="camera.xml">
  47170. <var name="FIFORAM_SIZE" value="80"/>
  47171. <module category="Periph" name="CAMERA">
  47172. <reg name="ctrl" protect="rw">
  47173. <bits access="rw" name="enable" pos="0" rst="0">
  47174. <options>
  47175. <default/>
  47176. <option name="ENABLE" value="1"/>
  47177. <option name="DISABLE" value="0"/>
  47178. </options>
  47179. <comment>Enable camera controller,high active.</comment>
  47180. </bits>
  47181. <bits access="rw" name="dctenable" pos="1" rst="0">
  47182. <comment>Enable camera controller,high active.</comment>
  47183. </bits>
  47184. <bits access="rw" name="buf_enable" pos="2" rst="0">
  47185. </bits>
  47186. <bits access="rw" name="rgb_rfirst" pos="3" rst="0">
  47187. </bits>
  47188. <bits access="rw" name="dataformat" pos="5:4" rst="0">
  47189. <options>
  47190. <default/>
  47191. <option name="RGB565" value="0"/>
  47192. <option name="YUV422" value="1"/>
  47193. <option name="JPEG" value="2"/>
  47194. <option name="RESERVE" value="3"/>
  47195. </options>
  47196. <comment>
  47197. &quot;0&quot; = RGB565.
  47198. <br/>
  47199. &quot;1&quot; = YUV422.
  47200. <br/>
  47201. &quot;2&quot; = Compressed Data.
  47202. <br/>
  47203. &quot;3&quot; = Reserved.
  47204. </comment>
  47205. </bits>
  47206. <bits access="rw" name="cfg_cam_c2cse" pos="7:6" rst="0">
  47207. </bits>
  47208. <bits access="rw" name="reset_pol" pos="8" rst="1">
  47209. <options>
  47210. <default/>
  47211. <option name="INVERT" value="1"/>
  47212. <option name="NORMAL" value="0"/>
  47213. </options>
  47214. <comment>
  47215. '0' = keep output camera reset polarity.
  47216. <br/>
  47217. '1' = invert output camera reset polarity.
  47218. </comment>
  47219. </bits>
  47220. <bits access="rw" name="pwdn_pol" pos="9" rst="0">
  47221. <options>
  47222. <default/>
  47223. <option name="INVERT" value="1"/>
  47224. <option name="NORMAL" value="0"/>
  47225. </options>
  47226. <comment>
  47227. '0' = keep output camera power down polarity.
  47228. <br/>
  47229. '1' = invert output camera power down polarity.
  47230. </comment>
  47231. </bits>
  47232. <bits access="rw" name="vsync_pol" pos="10" rst="0">
  47233. <options>
  47234. <default/>
  47235. <option name="INVERT" value="1"/>
  47236. <option name="NORMAL" value="0"/>
  47237. </options>
  47238. <comment>
  47239. '0' = keep input VSYNC polarity.
  47240. <br/>
  47241. '1' = invert input VSYNC polarity.
  47242. </comment>
  47243. </bits>
  47244. <bits access="rw" name="href_pol" pos="11" rst="0">
  47245. <options>
  47246. <default/>
  47247. <option name="INVERT" value="1"/>
  47248. <option name="NORMAL" value="0"/>
  47249. </options>
  47250. <comment>
  47251. '0' = keep input HREF polarity so data is sampled when HREF high.
  47252. <br/>
  47253. '1' = invert input HREF polarity so data is sampled when HREF low.
  47254. </comment>
  47255. </bits>
  47256. <bits access="rw" name="pixclk_pol" pos="12" rst="0">
  47257. <options>
  47258. <default/>
  47259. <option name="INVERT" value="1"/>
  47260. <option name="NORMAL" value="0"/>
  47261. </options>
  47262. <comment>
  47263. '0' = keep pix clk polarity.
  47264. <br/>
  47265. '1' = invert pix clk polarity.
  47266. </comment>
  47267. </bits>
  47268. <bits access="rw" name="vsync_drop" pos="14" rst="1">
  47269. <options>
  47270. <default/>
  47271. <option name="DROP" value="1"/>
  47272. <option name="NORMAL" value="0"/>
  47273. </options>
  47274. <comment>
  47275. '0' = VSYNC irq always exists when Frame decimation is enabled.
  47276. <br/>
  47277. '1' = VSYNC irq will drop when Frame data are dropped in decipation.
  47278. </comment>
  47279. </bits>
  47280. <bits access="rw" name="decimfrm" pos="17:16" rst="0">
  47281. <options>
  47282. <default/>
  47283. <option name="ORIGINAL" value="0"/>
  47284. <option name="DIV_2" value="1"/>
  47285. <option name="DIV_3" value="2"/>
  47286. <option name="DIV_4" value="3"/>
  47287. </options>
  47288. <comment>
  47289. &quot;0&quot;= All frame data will be sent.
  47290. <br/>
  47291. &quot;1&quot;= only one frame out of two (1/2) will be sent.
  47292. <br/>
  47293. &quot;2&quot;= only one frame out of three (1/3) will be sent.
  47294. <br/>
  47295. &quot;3&quot;= only one frame out of four (1/4) will be sent.
  47296. </comment>
  47297. </bits>
  47298. <bits access="rw" name="decimcol" pos="19:18" rst="0">
  47299. <options>
  47300. <default/>
  47301. <option name="ORIGINAL" value="0"/>
  47302. <option name="DIV_2" value="1"/>
  47303. <option name="DIV_3" value="2"/>
  47304. <option name="DIV_4" value="3"/>
  47305. </options>
  47306. <comment>
  47307. &quot;0&quot;= Pixel Decimation Disabled.
  47308. <br/>
  47309. &quot;1&quot;= Pixel Decimation 1/2.
  47310. <br/>
  47311. &quot;2&quot;= Pixel Decimation 1/3.
  47312. <br/>
  47313. &quot;3&quot;= Pixel Decimation 1/4.
  47314. </comment>
  47315. </bits>
  47316. <bits access="rw" name="decimrow" pos="21:20" rst="0">
  47317. <options>
  47318. <default/>
  47319. <option name="ORIGINAL" value="0"/>
  47320. <option name="DIV_2" value="1"/>
  47321. <option name="DIV_3" value="2"/>
  47322. <option name="DIV_4" value="3"/>
  47323. </options>
  47324. <comment>
  47325. &quot;0&quot;= line Decimation Disabled.
  47326. <br/>
  47327. &quot;1&quot;= line Decimation 1/2.
  47328. <br/>
  47329. &quot;2&quot;= line Decimation 1/3.
  47330. <br/>
  47331. &quot;3&quot;= line Decimation 1/4.
  47332. </comment>
  47333. </bits>
  47334. <bits access="rw" name="reorder" pos="26:24" rst="0">
  47335. <comment>
  47336. Controls the Re-ordering of the FIFO data.
  47337. <br/>
  47338. In following table, for input data, right comes before left. So YUYV means V comes first.
  47339. <br/>
  47340. for output data, right data is the LSB. So YUYV means V is stored in low 8-bit (byte0) of 32-bit word.
  47341. <br/>
  47342. <br/>
  47343. If Bit 26 is '1', byte2 and byte0 is Y.
  47344. <br/>
  47345. If Bit 25 is '1', both byte2/byte3 and byte1/byte0 interchange.
  47346. <br/>
  47347. If Bit 24 is '1', byte U and V should interchange. (UV bytes can be decided using bit 26).
  47348. <br/>
  47349. <br/>
  47350. input YUYV, output YUYV: &quot;000&quot;
  47351. <br/>
  47352. input YVYU, output YUYV: &quot;001&quot;
  47353. <br/>
  47354. input UYVY, output YUYV: &quot;110&quot;
  47355. <br/>
  47356. input VYUY, output YUYV: &quot;111&quot;
  47357. <br/>
  47358. <br/>
  47359. input YUYV, output UYVY: &quot;010&quot;
  47360. <br/>
  47361. input YVYU, output UYVY: &quot;011&quot;
  47362. <br/>
  47363. input UYVY, output UYVY: &quot;100&quot;
  47364. <br/>
  47365. input VYUY, output UYVY: &quot;101&quot;
  47366. <br/>
  47367. <br/>
  47368. input YUYV, output YVYU: &quot;001&quot;
  47369. <br/>
  47370. input YVYU, output YVYU: &quot;000&quot;
  47371. <br/>
  47372. input UYVY, output YVYU: &quot;111&quot;
  47373. <br/>
  47374. input VYUY, output YVYU: &quot;110&quot;
  47375. <br/>
  47376. <br/>
  47377. input YUYV, output VYUY: &quot;011&quot;
  47378. <br/>
  47379. input YVYU, output VYUY: &quot;010&quot;
  47380. <br/>
  47381. input UYVY, output VYUY: &quot;101&quot;
  47382. <br/>
  47383. input VYUY, output VYUY: &quot;100&quot;
  47384. <br/>
  47385. <br/>
  47386. Decimation will reorder data flow also. Input UYVY becomes YUVY after decimation.
  47387. This reorder is corrected using Bit 26 infomation.
  47388. </comment>
  47389. </bits>
  47390. <bits access="rw" name="cropen" pos="28" rst="0">
  47391. <options>
  47392. <default/>
  47393. <option name="ENABLE" value="1"/>
  47394. <option name="DISABLE" value="0"/>
  47395. </options>
  47396. <comment>
  47397. &quot;0&quot;= Cropping Disabled.
  47398. <br/>
  47399. &quot;1&quot;= Cropping Enabled.
  47400. <br/>
  47401. Note: this bit should set to '0' when bit field &quot;DataFormat&quot; is &quot;10&quot; (compressed data)
  47402. </comment>
  47403. </bits>
  47404. <bits access="rw" name="bist mode" pos="30" rst="0">
  47405. <options>
  47406. <default/>
  47407. <option name="BIST" value="1"/>
  47408. <option name="NORMAL" value="0"/>
  47409. </options>
  47410. <comment>In Bist Mode, FIFO RAM are read and write by its address, FIFO mode is disabled.</comment>
  47411. </bits>
  47412. <bits access="rw" name="test" pos="31" rst="0">
  47413. <options>
  47414. <default/>
  47415. <option name="TEST" value="1"/>
  47416. <option name="NORMAL" value="0"/>
  47417. </options>
  47418. <comment>Debug only. A RGB565 test card is sent to system bus instead of real data from sensor.</comment>
  47419. </bits>
  47420. </reg>
  47421. <reg name="status" protect="r">
  47422. <bits access="r" name="ovfl" pos="0" rst="0">
  47423. <comment>
  47424. '1' = FIFO over-write IRQ status.
  47425. <br/>
  47426. Write to corresponding bit in IRQ CLEAR register will clear this bit.
  47427. </comment>
  47428. </bits>
  47429. <bits access="r" name="vsync_r" pos="1" rst="0">
  47430. <comment>
  47431. '1' = VSYNC rising edge IRQ status
  47432. <br/>
  47433. Write to corresponding bit in IRQ CLEAR register will clear this bit.
  47434. </comment>
  47435. </bits>
  47436. <bits access="r" name="vsync_f" pos="2" rst="0">
  47437. <comment>
  47438. '1' = VSYNC falling edge IRQ status
  47439. <br/>
  47440. Write to corresponding bit in IRQ CLEAR register will clear this bit.
  47441. </comment>
  47442. </bits>
  47443. <bits access="r" name="dma done" pos="3" rst="0">
  47444. <comment>
  47445. '1' = DMA Done IRQ status
  47446. <br/>
  47447. Write to corresponding bit in IRQ CLEAR register will clear this bit.
  47448. </comment>
  47449. </bits>
  47450. <bits access="r" name="fifo empty" pos="4" rst="1">
  47451. <comment>'1' = FIFO Empty status, not clear-able.</comment>
  47452. </bits>
  47453. <bits access="r" name="spi ovfl" pos="5" rst="0">
  47454. </bits>
  47455. </reg>
  47456. <reg name="data" protect="r">
  47457. <bits access="r" name="rx_data" pos="31:0" rst="0">
  47458. <comment>Read in the receive FIFO</comment>
  47459. </bits>
  47460. </reg>
  47461. <reg name="irq mask" protect="rw">
  47462. <bits access="rw" name="ovfl" pos="0" rst="0">
  47463. <comment>'1' = FIFO over-write enable</comment>
  47464. </bits>
  47465. <bits access="rw" name="vsync_r" pos="1" rst="0">
  47466. <comment>'1' = VSYNC rising edge enable</comment>
  47467. </bits>
  47468. <bits access="rw" name="vsync_f" pos="2" rst="0">
  47469. <comment>'1' = VSYNC falling edge enable</comment>
  47470. </bits>
  47471. <bits access="rw" name="dma done" pos="3" rst="0">
  47472. <comment>'1' = DMA Done enable</comment>
  47473. </bits>
  47474. </reg>
  47475. <reg name="irq clear" protect="w">
  47476. <bits access="w" name="ovfl" pos="0" rst="0">
  47477. <comment>Write '1' to clear FIFO over-write interrupt</comment>
  47478. </bits>
  47479. <bits access="w" name="vsync_r" pos="1" rst="0">
  47480. <comment>Write '1' to clear VSYNC rising edge interrupt</comment>
  47481. </bits>
  47482. <bits access="w" name="vsync_f" pos="2" rst="0">
  47483. <comment>Write '1' to clear VSYNC falling edge interrupt</comment>
  47484. </bits>
  47485. <bits access="w" name="dma done" pos="3" rst="0">
  47486. <comment>Write '1' to clear DMA Done interrupt</comment>
  47487. </bits>
  47488. </reg>
  47489. <reg name="irq cause" protect="r">
  47490. <bits access="r" name="ovfl" pos="0" rst="0">
  47491. <comment>'1' = FIFO over-write cause</comment>
  47492. </bits>
  47493. <bits access="r" name="vsync_r" pos="1" rst="0">
  47494. <comment>'1' = VSYNC rising edge cause</comment>
  47495. </bits>
  47496. <bits access="r" name="vsync_f" pos="2" rst="0">
  47497. <comment>'1' = VSYNC falling edge cause</comment>
  47498. </bits>
  47499. <bits access="r" name="dma done" pos="3" rst="0">
  47500. <comment>'1' = DMA Done cause</comment>
  47501. </bits>
  47502. </reg>
  47503. <reg name="cmd set" protect="rw">
  47504. <bits access="rs" name="pwdn" pos="0" rst="1">
  47505. <comment>Power down pin of CMOS sensor .</comment>
  47506. </bits>
  47507. <bits access="rs" name="reset" pos="4" rst="1">
  47508. <comment>
  47509. Reset pin of CMOS sensor.
  47510. <br/>
  47511. Active Low.
  47512. </comment>
  47513. </bits>
  47514. <bits access="s" name="fifo reset" pos="8" rst="0">
  47515. <comment>For the software to clear FIFO. This bit is auto-reset to 0.</comment>
  47516. </bits>
  47517. </reg>
  47518. <reg name="cmd clr" protect="rw">
  47519. <bits access="rc" name="pwdn" pos="0" rst="1">
  47520. <comment>Power down pin of CMOS sensor .</comment>
  47521. </bits>
  47522. <bits access="rc" name="reset" pos="4" rst="1">
  47523. <comment>Reset pin of CMOS sensor.</comment>
  47524. </bits>
  47525. </reg>
  47526. <reg name="dstwincol" protect="rw">
  47527. <bits access="rw" name="dstwincolstart" pos="11:0" rst="0">
  47528. <comment>start pixel of cropped window.</comment>
  47529. </bits>
  47530. <bits access="rw" name="dstwincolend" pos="27:16" rst="0">
  47531. <comment>end pixel of cropped window.</comment>
  47532. </bits>
  47533. </reg>
  47534. <reg name="dstwinrow" protect="rw">
  47535. <bits access="rw" name="dstwinrowstart" pos="11:0" rst="0">
  47536. <comment>start line of cropped window.</comment>
  47537. </bits>
  47538. <bits access="rw" name="dstwinrowend" pos="27:16" rst="0">
  47539. <comment>end line of cropped window.</comment>
  47540. </bits>
  47541. </reg>
  47542. <reg name="scl config" protect="rw">
  47543. <bits access="rw" name="scale en" pos="0" rst="0">
  47544. </bits>
  47545. <bits access="rw" name="data_out_swap" pos="4" rst="0">
  47546. <comment>swap camera data output [15:0],[31:16].</comment>
  47547. </bits>
  47548. <bits access="rw" name="scale col" pos="9:8" rst="0">
  47549. </bits>
  47550. <bits access="rw" name="scale row" pos="17:16" rst="0">
  47551. </bits>
  47552. </reg>
  47553. <reg name="spi camera reg0" protect="rw">
  47554. <bits access="rw" name="camera_spi_slave_en" pos="0" rst="0">
  47555. <comment>spi slave enable.</comment>
  47556. </bits>
  47557. <bits access="rw" name="camera_spi_master_en" pos="1" rst="0">
  47558. <comment>spi master enable.</comment>
  47559. </bits>
  47560. <bits access="rw" name="yuv_out_format" pos="4:2" rst="0">
  47561. <comment>yuv out format.
  47562. 3'b000: data_serial_mux = {Y0,U0,Y1,V0};
  47563. 3'b001: data_serial_mux = {Y0,V0,Y1,U0};
  47564. 3'b010: data_serial_mux = {U0,Y0,V0,Y1};
  47565. 3'b011: data_serial_mux = {U0,Y1,V0,Y0};
  47566. 3'b100: data_serial_mux = {V0,Y1,U0,Y0};
  47567. 3'b101: data_serial_mux = {V0,Y0,U0,Y1};
  47568. 3'b110: data_serial_mux = {Y1,V0,Y0,U0};
  47569. 3'b111: data_serial_mux = {Y1,U0,Y0,V0};</comment>
  47570. </bits>
  47571. <bits access="rw" name="overflow_rstn_only_vsync_low" pos="5" rst="0">
  47572. <comment>overflow rstn only vsync low.</comment>
  47573. </bits>
  47574. <bits access="rw" name="overflow_observe_only_vsync_low" pos="6" rst="0">
  47575. <comment>overflow_observe_only_vsync_low.</comment>
  47576. </bits>
  47577. <bits access="rw" name="overflow_rstn_en" pos="7" rst="0">
  47578. <comment>overflow_rstn enable</comment>
  47579. </bits>
  47580. <bits access="rw" name="big_end_dis" pos="8" rst="0">
  47581. <comment>big_end_dis</comment>
  47582. </bits>
  47583. <bits access="rw" name="overflow_inv" pos="9" rst="0">
  47584. <comment>overflow inv control</comment>
  47585. </bits>
  47586. <bits access="rw" name="href_inv" pos="10" rst="0">
  47587. <comment>href inv control</comment>
  47588. </bits>
  47589. <bits access="rw" name="vsync_inv" pos="11" rst="0">
  47590. <comment>vsync inv control</comment>
  47591. </bits>
  47592. <bits access="rw" name="block_num_per_line" pos="21:12" rst="0">
  47593. <comment>block_num_per_line[9:0] pixels num of a line</comment>
  47594. </bits>
  47595. <bits access="rw" name="line_num_per_frame" pos="31:22" rst="0">
  47596. <comment>line_num_per_frame[9:0] lines num of a frame</comment>
  47597. </bits>
  47598. </reg>
  47599. <reg name="spi camera reg1" protect="rw">
  47600. <bits access="rw" name="camera_clk_div_num" pos="15:0" rst="0">
  47601. <comment>camera_clk_div_num</comment>
  47602. </bits>
  47603. <bits access="rw" name="cts_spi_master_reg" pos="16" rst="0">
  47604. <comment>cts_spi_master_reg</comment>
  47605. </bits>
  47606. <bits access="rw" name="ssn_cm_inv" pos="17" rst="0">
  47607. <comment>ssn_cm inv control</comment>
  47608. </bits>
  47609. <bits access="rw" name="sck_cm_inv" pos="18" rst="0">
  47610. <comment>sck_cm inv control</comment>
  47611. </bits>
  47612. <bits access="rw" name="ssn_spi_oenb_dr" pos="19" rst="0">
  47613. <comment>ssn_spi_oen select, 1:from reg 0: from logic</comment>
  47614. </bits>
  47615. <bits access="rw" name="ssn_spi_oenb_reg" pos="20" rst="0">
  47616. <comment>ssn_spi_oenb reg</comment>
  47617. </bits>
  47618. <bits access="rw" name="sck_spi_oenb_dr" pos="21" rst="0">
  47619. <comment>sck_spi_oenb select, 1:from reg 0:from logic</comment>
  47620. </bits>
  47621. <bits access="rw" name="sck_spi_oenb_reg" pos="22" rst="0">
  47622. <comment>sck_spi_oenb reg</comment>
  47623. </bits>
  47624. <bits access="rw" name="sdo_spi_swap" pos="29" rst="0">
  47625. <comment>sdo_spi_swap reg,swap camera_spi_0 and camera_spi_1</comment>
  47626. </bits>
  47627. <bits access="rw" name="clk_inv" pos="30" rst="0">
  47628. <comment>clk inv control</comment>
  47629. </bits>
  47630. <bits access="rw" name="sck_ddr_en" pos="31" rst="0">
  47631. <comment>sck double edge enable</comment>
  47632. </bits>
  47633. </reg>
  47634. <reg name="spi camera reg2" protect="rw">
  47635. <bits access="rw" name="ssn_wait_length" pos="7:0" rst="0">
  47636. <comment>ssn_wait_length[7:0]</comment>
  47637. </bits>
  47638. <bits access="rw" name="init_wait_length" pos="15:8" rst="0">
  47639. <comment>init_wait_length[7:0]</comment>
  47640. </bits>
  47641. <bits access="rw" name="word_num_per_block" pos="23:16" rst="0">
  47642. <comment>word_num_per_block[7:0]</comment>
  47643. </bits>
  47644. <bits access="rw" name="ssn_cs_delay" pos="25:24" rst="0">
  47645. <comment>ssn_cs_delay[1:0]</comment>
  47646. </bits>
  47647. <bits access="rw" name="data_receive_choose_bit" pos="27:26" rst="0">
  47648. <comment>data_receive_choose_bit[1:0]</comment>
  47649. </bits>
  47650. <bits access="rw" name="ready_cs_inv" pos="28" rst="0">
  47651. <comment>ready_cs_inv</comment>
  47652. </bits>
  47653. <bits access="rw" name="ssn_cs_inv" pos="29" rst="0">
  47654. <comment>ssn_cs_inv</comment>
  47655. </bits>
  47656. <bits access="rw" name="eco_bypass_isp" pos="31" rst="0">
  47657. <comment>eco_bypass_isp</comment>
  47658. </bits>
  47659. </reg>
  47660. line_wait_length[15:0]
  47661. <reg name="spi camera reg3" protect="rw">
  47662. <bits access="rw" name="line_wait_length" pos="15:0" rst="0">
  47663. <comment>line_wait_length</comment>
  47664. </bits>
  47665. <bits access="rw" name="block_wait_length" pos="23:16" rst="0">
  47666. <comment>block_wait_length[7:0]</comment>
  47667. </bits>
  47668. <bits access="rw" name="ssn_high_length" pos="31:24" rst="0">
  47669. <comment>ssn_high_length[7:0]</comment>
  47670. </bits>
  47671. </reg>
  47672. <reg name="spi camera reg4" protect="rw">
  47673. <bits access="rw" name="camera_spi_master_en_2" pos="0" rst="0">
  47674. <comment>camera_spi_master no ssn mode enable</comment>
  47675. </bits>
  47676. <bits access="rw" name="sdo_line_choose_bit" pos="2:1" rst="0">
  47677. <comment>sdo_line_choose_bit[1:0] 0:1 line 1: 2lines 2:4lines</comment>
  47678. </bits>
  47679. <bits access="rw" name="data_size_choose_bit" pos="3" rst="0">
  47680. <comment>data_size_choose_bit 1: from reg 0:from logic</comment>
  47681. </bits>
  47682. <bits access="rw" name="image_height_choose_bit" pos="4" rst="0">
  47683. <comment>image_height_choose_bit 1: from reg 0:from logic</comment>
  47684. </bits>
  47685. <bits access="rw" name="image_width_choose_bit" pos="5" rst="0">
  47686. <comment>image_width_choose_bit 1: from reg 0:from logic</comment>
  47687. </bits>
  47688. <bits access="rw" name="block_num_per_packet" pos="15:6" rst="0">
  47689. <comment>block_num_per_packet[9:0]</comment>
  47690. </bits>
  47691. <bits access="rw" name="spi_data0_phase_sel" pos="17:16" rst="0">
  47692. <comment>0: spi data0 delay 0
  47693. 1: spi data0 delay 2 cycles spi_cam_clk
  47694. 2: spi data0 delay 3 cycles spi_cam_clk
  47695. 3: spi data0 delay 4 cycles spi_cam_clk</comment>
  47696. </bits>
  47697. <bits access="rw" name="spi_data1_phase_sel" pos="19:18" rst="0">
  47698. <comment>0: spi data1 delay 0
  47699. 1: spi data1 delay 2 cycles spi_cam_clk
  47700. 2: spi data1 delay 3 cycles spi_cam_clk
  47701. 3: spi data1 delay 4 cycles spi_cam_clk</comment>
  47702. </bits>
  47703. </reg>
  47704. <reg name="spi camera reg5" protect="rw">
  47705. <bits access="rw" name="sync_code" pos="23:0" rst="0">
  47706. <comment>sync code</comment>
  47707. </bits>
  47708. </reg>
  47709. <reg name="spi camera reg6" protect="rw">
  47710. <bits access="rw" name="packet_id_data_start" pos="7:0" rst="0">
  47711. <comment>packet_id_data_start</comment>
  47712. </bits>
  47713. <bits access="rw" name="packet_id_line_start" pos="15:8" rst="0">
  47714. <comment>packet_id_line_start</comment>
  47715. </bits>
  47716. <bits access="rw" name="packet_id_frame_end" pos="23:16" rst="0">
  47717. <comment>packet_id_frame_end</comment>
  47718. </bits>
  47719. <bits access="rw" name="packet_id_frame_start" pos="31:24" rst="0">
  47720. <comment>packet_id_frame_start</comment>
  47721. </bits>
  47722. </reg>
  47723. <reg name="spi camera obs0" protect="rw">
  47724. <bits access="ro" name="line_id[15:0]" pos="15:0" rst="0">
  47725. <comment>line_id[15:0]</comment>
  47726. </bits>
  47727. <bits access="ro" name="data_id[7:0]" pos="23:16" rst="0">
  47728. <comment>data_id[7:0]</comment>
  47729. </bits>
  47730. <bits access="ro" name="observe_data_size_wrong" pos="24" rst="0">
  47731. <comment>observe_data_size_wrong</comment>
  47732. </bits>
  47733. <bits access="ro" name="observe_image_height_wrong" pos="25" rst="0">
  47734. <comment>observe_image_height_wrong</comment>
  47735. </bits>
  47736. <bits access="ro" name="observe_image_width_wrong" pos="26" rst="0">
  47737. <comment>observe_image_width_wrong</comment>
  47738. </bits>
  47739. <bits access="ro" name="observe_line_num_wrong" pos="27" rst="0">
  47740. <comment>observe_line_num_wrong</comment>
  47741. </bits>
  47742. <bits access="ro" name="observe_data_id_wrong" pos="28" rst="0">
  47743. <comment>observe_data_id_wrong</comment>
  47744. </bits>
  47745. </reg>
  47746. <reg name="spi camera obs1" protect="rw">
  47747. <bits access="ro" name="image_height" pos="15:0" rst="0">
  47748. <comment>image_height[15:0]</comment>
  47749. </bits>
  47750. <bits access="ro" name="image_width" pos="31:16" rst="0">
  47751. <comment>image_width[15:0]</comment>
  47752. </bits>
  47753. </reg>
  47754. <reg name="csi config reg0" protect="rw">
  47755. <bits access="rw" name="num_d_term_en" pos="7:0" rst="8">
  47756. <comment>num_d_term_en[7:0] term time reg</comment>
  47757. </bits>
  47758. <bits access="rw" name="cur_frame_line_num" pos="20:8" rst="240">
  47759. <comment>cur_frame_line_num[12:0]</comment>
  47760. </bits>
  47761. <bits access="rw" name="data_lp_in_choose_bit" pos="22:21" rst="0">
  47762. <comment>data_lp_in_choose_bit[1:0]</comment>
  47763. </bits>
  47764. <bits access="rw" name="clk_lp_inv" pos="23" rst="0">
  47765. <comment>clk_lp inv</comment>
  47766. </bits>
  47767. <bits access="rw" name="trail_data_wrong_choose_bit" pos="24" rst="0">
  47768. <comment>trail_data_wrong_choose_bit 1:secelt trail1 0:select trail0</comment>
  47769. </bits>
  47770. <bits access="rw" name="sync_bypass" pos="25" rst="0">
  47771. <comment>sync_bypass</comment>
  47772. </bits>
  47773. <bits access="rw" name="rdata_bit_inv_en" pos="26" rst="0">
  47774. <comment>rdata_bit_inv en</comment>
  47775. </bits>
  47776. <bits access="rw" name="hs_sync_find_en" pos="27" rst="0">
  47777. <comment>hs_sync_find en</comment>
  47778. </bits>
  47779. <bits access="rw" name="line_packet_enable" pos="28" rst="0">
  47780. <comment>line_packet_enable</comment>
  47781. </bits>
  47782. <bits access="rw" name="ecc_bypass" pos="29" rst="0">
  47783. <comment>ecc_bypass</comment>
  47784. </bits>
  47785. <bits access="rw" name="data_lane_choose_bit" pos="30" rst="0">
  47786. <comment>data_lane_choose_bit 1:select lane2 0:select lane1</comment>
  47787. </bits>
  47788. <bits access="rw" name="csi_module_enable" pos="31" rst="0">
  47789. <comment>csi_module_enable</comment>
  47790. </bits>
  47791. </reg>
  47792. <reg name="csi config reg1" protect="rw">
  47793. <bits access="rw" name="num_hs_settle" pos="7:0" rst="8">
  47794. <comment>num_hs_settle[7:0] set hs settle time</comment>
  47795. </bits>
  47796. <bits access="rw" name="lp_data_length_choose_bit" pos="10:8" rst="0">
  47797. <comment>lp_data_length_choose_bit[2:0] set data length</comment>
  47798. </bits>
  47799. <bits access="rw" name="data_clk_lp_posedge_choose" pos="13:11" rst="0">
  47800. <comment>data_clk_lp_posedge_choose[2:0] select delay cycles</comment>
  47801. </bits>
  47802. <bits access="rw" name="clk_lp_ck_inv" pos="14" rst="0">
  47803. <comment>clk_lp_ck_inv</comment>
  47804. </bits>
  47805. <bits access="rw" name="rclr_mask_en" pos="15" rst="1">
  47806. <comment>rclr_mask_en</comment>
  47807. </bits>
  47808. <bits access="rw" name="rinc_mask_en" pos="16" rst="1">
  47809. <comment>rinc_mask_en</comment>
  47810. </bits>
  47811. <bits access="rw" name="hs_enable_mask_en" pos="17" rst="1">
  47812. <comment>hs_enable_mask_en</comment>
  47813. </bits>
  47814. <bits access="rw" name="den_csi_inv_bit" pos="18" rst="0">
  47815. <comment>den_csi_inv_bit</comment>
  47816. </bits>
  47817. <bits access="rw" name="hsync_csi_inv_bit" pos="19" rst="0">
  47818. <comment>hsync_csi_inv_bit</comment>
  47819. </bits>
  47820. <bits access="rw" name="vsync_csi_inv_bit" pos="20" rst="0">
  47821. <comment>vsync_csi_inv_bit</comment>
  47822. </bits>
  47823. <bits access="rw" name="hs_data2_enable_reg" pos="21" rst="0">
  47824. <comment>hs_data2_enable_reg</comment>
  47825. </bits>
  47826. <bits access="rw" name="hs_data1_enable_reg" pos="22" rst="0">
  47827. <comment>hs_data1_enable_reg</comment>
  47828. </bits>
  47829. <bits access="rw" name="hs_data1_enable_choose_bit" pos="23" rst="0">
  47830. <comment>hs_data1_enable_choose_bit</comment>
  47831. </bits>
  47832. <bits access="rw" name="hs_data1_enable_dr" pos="24" rst="0">
  47833. <comment>hs_data1_enable_dr 1:select reg 0:select logic</comment>
  47834. </bits>
  47835. <bits access="rw" name="data2_terminal_enable_reg" pos="25" rst="0">
  47836. <comment>data2_terminal_enable_reg</comment>
  47837. </bits>
  47838. <bits access="rw" name="data1_terminal_enable_reg" pos="26" rst="0">
  47839. <comment>data1_terminal_enable_reg</comment>
  47840. </bits>
  47841. <bits access="rw" name="data1_terminal_enable_dr" pos="27" rst="0">
  47842. <comment>data1_terminal_enable_dr 1:select reg 0:select logic</comment>
  47843. </bits>
  47844. <bits access="rw" name="lp_data_interrupt_clr" pos="28" rst="0">
  47845. <comment>lp_data_interrupt_clr, clear flag</comment>
  47846. </bits>
  47847. <bits access="rw" name="lp_cmd_interrupt_clr" pos="29" rst="0">
  47848. <comment>lp_cmd_interrupt_clr, clear flag</comment>
  47849. </bits>
  47850. <bits access="rw" name="lp_data_clr" pos="30" rst="0">
  47851. <comment>lp_data_clr, clear data out</comment>
  47852. </bits>
  47853. <bits access="rw" name="lp_cmd_clr" pos="31" rst="0">
  47854. <comment>lp_cmd_clr, clear cmd out</comment>
  47855. </bits>
  47856. </reg>
  47857. <reg name="csi config reg2" protect="rw">
  47858. <bits access="rw" name="num_hs_settle_clk" pos="15:0" rst="4096">
  47859. <comment>num_hs_settle_clk[15:0], set hs settle counter</comment>
  47860. </bits>
  47861. <bits access="rw" name="num_c_term_en" pos="31:16" rst="4112">
  47862. <comment>num_c_term_en[15:0],set clk term counter</comment>
  47863. </bits>
  47864. </reg>
  47865. <reg name="csi config reg3" protect="rw">
  47866. <bits access="rw" name="clk_lp_in_choose_bit" pos="7:6" rst="0">
  47867. <comment>clk_lp_in_choose_bit</comment>
  47868. </bits>
  47869. <bits access="rw" name="pu_lprx_reg" pos="8" rst="0">
  47870. <comment>pu_lprx_reg</comment>
  47871. </bits>
  47872. <bits access="rw" name="pu_hsrx_reg" pos="9" rst="0">
  47873. <comment>pu_hsrx_reg</comment>
  47874. </bits>
  47875. <bits access="rw" name="pu_dr" pos="10" rst="0">
  47876. <comment>pu_dr, 1:select reg 0:select logic</comment>
  47877. </bits>
  47878. <bits access="rw" name="data_pnsw_reg" pos="11" rst="0">
  47879. <comment>data_pnsw_reg</comment>
  47880. </bits>
  47881. <bits access="rw" name="hs_clk_enable_reg" pos="12" rst="0">
  47882. <comment>hs_clk_enable_reg</comment>
  47883. </bits>
  47884. <bits access="rw" name="hs_clk_enable_choose_bit" pos="13" rst="0">
  47885. <comment>hs_clk_enable_choose_bit</comment>
  47886. </bits>
  47887. <bits access="rw" name="hs_clk_enable_dr" pos="14" rst="0">
  47888. <comment>hs_clk_enable_dr 1:select reg 0:select logic</comment>
  47889. </bits>
  47890. <bits access="rw" name="clk_terminal_enable_reg" pos="15" rst="0">
  47891. <comment>clk_terminal_enable_reg</comment>
  47892. </bits>
  47893. <bits access="rw" name="clk_terminal_enable_dr" pos="16" rst="0">
  47894. <comment>clk_terminal_enable_dr 1:select reg 0:select logic</comment>
  47895. </bits>
  47896. <bits access="rw" name="observe_reg_5_low8_choose" pos="17" rst="0">
  47897. <comment>observe_reg_5_low8_choose</comment>
  47898. </bits>
  47899. <bits access="rw" name="ecc_error_flag_reg" pos="18" rst="0">
  47900. <comment>ecc_error_flag_reg</comment>
  47901. </bits>
  47902. <bits access="rw" name="ecc_error_dr" pos="19" rst="0">
  47903. <comment>ecc_error_dr</comment>
  47904. </bits>
  47905. <bits access="rw" name="csi_channel_sel" pos="20" rst="0">
  47906. <comment>csi_channel_sel</comment>
  47907. </bits>
  47908. <bits access="rw" name="two_lane_bit_reverse" pos="21" rst="0">
  47909. <comment>two_lane_bit_reverse, reverse high and low 8bit</comment>
  47910. </bits>
  47911. <bits access="rw" name="data2_lane_bit_reverse" pos="22" rst="0">
  47912. <comment>data2_lane_bit_reverse 1:select revert data</comment>
  47913. </bits>
  47914. <bits access="rw" name="data1_lane_bit_reverse" pos="23" rst="0">
  47915. <comment>data1_lane_bit_reverse 1:select revert data</comment>
  47916. </bits>
  47917. <bits access="rw" name="data2_hs_no_mask" pos="24" rst="0">
  47918. <comment>data2_hs_no_mask 1:data only valid when sync assert</comment>
  47919. </bits>
  47920. <bits access="rw" name="data1_hs_no_mask" pos="25" rst="0">
  47921. <comment>data1_hs_no_mask 1:data only valid when sync assert</comment>
  47922. </bits>
  47923. <bits access="rw" name="pu_lprx_d2_reg" pos="26" rst="0">
  47924. <comment>pu_lprx_d2_reg</comment>
  47925. </bits>
  47926. <bits access="rw" name="pu_lprx_d1_reg" pos="27" rst="0">
  47927. <comment>pu_lprx_d1_reg</comment>
  47928. </bits>
  47929. <bits access="rw" name="clk_edge_sel" pos="29" rst="0">
  47930. <comment>clk_edge_sel</comment>
  47931. </bits>
  47932. <bits access="rw" name="clk_x2_sel" pos="30" rst="0">
  47933. <comment>clk_x2_sel</comment>
  47934. </bits>
  47935. <bits access="rw" name="single_data_lane_en" pos="31" rst="0">
  47936. <comment>single_data_lane_en 1:1lane 0:2lanes</comment>
  47937. </bits>
  47938. </reg>
  47939. <reg name="csi config reg4" protect="rw">
  47940. <bits access="rw" name="num_hs_clk_useful" pos="30:0" rst="0">
  47941. <comment>num_hs_clk_useful[30:0] hs clk useful counter</comment>
  47942. </bits>
  47943. <bits access="rw" name="num_hs_clk_useful_en" pos="31" rst="0">
  47944. <comment>num_hs_clk_useful_en</comment>
  47945. </bits>
  47946. </reg>
  47947. <reg name="csi config reg5" protect="rw">
  47948. <bits access="rw" name="vc_id_set" pos="1:0" rst="0">
  47949. <comment>vc_id_set[1:0]</comment>
  47950. </bits>
  47951. <bits access="rw" name="data_lp_inv" pos="2" rst="0">
  47952. <comment>data_lp_inv</comment>
  47953. </bits>
  47954. <bits access="rw" name="fifo_rclr_8809p_reg" pos="3" rst="0">
  47955. <comment>fifo_rclr_8809p_reg</comment>
  47956. </bits>
  47957. <bits access="rw" name="fifo_wclr_8809p_reg" pos="4" rst="0">
  47958. <comment>fifo_wclr_8809p_reg</comment>
  47959. </bits>
  47960. <bits access="rw" name="hs_sync_16bit_8809p_mode" pos="5" rst="0">
  47961. <comment>hs_sync_16bit_8809p_mode</comment>
  47962. </bits>
  47963. <bits access="rw" name="d_term_small_8809p_en" pos="6" rst="0">
  47964. <comment>d_term_small_8809p_en</comment>
  47965. </bits>
  47966. <bits access="rw" name="data_line_inv_8809p_en" pos="7" rst="0">
  47967. <comment>data_line_inv_8809p_en</comment>
  47968. </bits>
  47969. <bits access="rw" name="hs_enable_8809p_mode" pos="8" rst="0">
  47970. <comment>hs_enable_8809p_mode</comment>
  47971. </bits>
  47972. <bits access="rw" name="sp_to_trail_8809p_en" pos="9" rst="0">
  47973. <comment>sp_to_trail_8809p_en</comment>
  47974. </bits>
  47975. <bits access="rw" name="trail_wrong_8809p_bypass" pos="10" rst="0">
  47976. <comment>trail_wrong_8809p_bypass</comment>
  47977. </bits>
  47978. <bits access="rw" name="rinc_trail_8809p_bypass" pos="11" rst="0">
  47979. <comment>rinc_trail_8809p_bypass</comment>
  47980. </bits>
  47981. <bits access="rw" name="hs_data_enable_8809p_mode" pos="12" rst="0">
  47982. <comment>hs_data_enable_8809p_mode</comment>
  47983. </bits>
  47984. <bits access="rw" name="hs_clk_enable_8809p_mode" pos="13" rst="0">
  47985. <comment>hs_clk_enable_8809p_mode</comment>
  47986. </bits>
  47987. <bits access="rw" name="data_type_re_check_en" pos="14" rst="0">
  47988. <comment>data_type_re_check_en</comment>
  47989. </bits>
  47990. <bits access="rw" name="sync_id_reg" pos="22:15" rst="0">
  47991. <comment>sync_id_reg</comment>
  47992. </bits>
  47993. <bits access="rw" name="sync_id_dr" pos="23" rst="0">
  47994. <comment>sync_id_dr</comment>
  47995. </bits>
  47996. <bits access="rw" name="csi_observe_choose_bit" pos="28:24" rst="0">
  47997. <comment>csi_observe_choose_bit</comment>
  47998. </bits>
  47999. <bits access="rw" name="crc_error_flag_reg" pos="29" rst="0">
  48000. <comment>crc_error_flag_reg</comment>
  48001. </bits>
  48002. <bits access="rw" name="crc_error_flag_dr" pos="30" rst="0">
  48003. <comment>crc_error_flag_dr 1:select reg 0:select logic</comment>
  48004. </bits>
  48005. <bits access="rw" name="csi_rinc_new_mode_dis" pos="31" rst="0">
  48006. <comment>csi_rinc_new_mode_dis</comment>
  48007. </bits>
  48008. </reg>
  48009. <reg name="csi config reg6" protect="rw">
  48010. <bits access="rw" name="data_type_dp_reg" pos="5:0" rst="0">
  48011. <comment>data_type_dp_reg[5:0], set data type</comment>
  48012. </bits>
  48013. <bits access="rw" name="data_type_le_reg" pos="11:6" rst="0">
  48014. <comment>data_type_le_reg line end type</comment>
  48015. </bits>
  48016. <bits access="rw" name="data_type_ls_reg" pos="17:12" rst="0">
  48017. <comment>data_type_ls_reg line start type</comment>
  48018. </bits>
  48019. <bits access="rw" name="data_type_fe_reg" pos="23:18" rst="0">
  48020. <comment>data_type_fe_reg frame end type</comment>
  48021. </bits>
  48022. <bits access="rw" name="data_type_fs_reg" pos="29:24" rst="0">
  48023. <comment>data_type_fs_reg frame start type</comment>
  48024. </bits>
  48025. <bits access="rw" name="data_type_dp_dr" pos="30" rst="0">
  48026. <comment>1: only support raw8 0:support more type</comment>
  48027. </bits>
  48028. <bits access="rw" name="data_type_dr" pos="31" rst="0">
  48029. <comment>1:select reg value</comment>
  48030. </bits>
  48031. </reg>
  48032. <reg name="csi config reg7" protect="rw">
  48033. <bits access="rw" name="data_lane_16bits_mode" pos="2" rst="0">
  48034. <comment>data_lane_16bits_mode</comment>
  48035. </bits>
  48036. <bits access="rw" name="terminal_2_hs_exchage_8809p" pos="3" rst="0">
  48037. <comment>terminal_2_hs_exchage_8809p</comment>
  48038. </bits>
  48039. <bits access="rw" name="terminal_1_hs_exchage_8809p" pos="4" rst="0">
  48040. <comment>terminal_1_hs_exchage_8809p</comment>
  48041. </bits>
  48042. <bits access="rw" name="data2_terminal_enable_8809p_dr" pos="5" rst="0">
  48043. <comment>data2_terminal_enable_8809p_dr</comment>
  48044. </bits>
  48045. <bits access="rw" name="hs_data2_enable_8809p_dr" pos="6" rst="0">
  48046. <comment>hs_data2_enable_8809p_dr</comment>
  48047. </bits>
  48048. <bits access="rw" name="csi_dout_test_8809p_en" pos="7" rst="0">
  48049. <comment>csi_dout_test_8809p_en</comment>
  48050. </bits>
  48051. <bits access="rw" name="csi_dout_test_8809p" pos="15:8" rst="0">
  48052. <comment>csi_dout_test_8809p[7:0]</comment>
  48053. </bits>
  48054. <bits access="rw" name="num_d_term_en" pos="23:16" rst="0">
  48055. <comment>num_d_term_en[15:8]</comment>
  48056. </bits>
  48057. <bits access="rw" name="num_hs_settle" pos="31:24" rst="0">
  48058. <comment>num_hs_settle[15:8]</comment>
  48059. </bits>
  48060. </reg>
  48061. <reg name="csi obs4" protect="rw">
  48062. <bits access="rw" name="hs_data_state" pos="13:0" rst="0">
  48063. <comment>hs_data_state[13:0]</comment>
  48064. </bits>
  48065. <bits access="rw" name="phy_data_state" pos="28:14" rst="0">
  48066. <comment>phy_data_state[14:0]</comment>
  48067. </bits>
  48068. <bits access="rw" name="fifo_wfull_almost" pos="29" rst="0">
  48069. <comment>fifo_wfull_almost</comment>
  48070. </bits>
  48071. <bits access="rw" name="fifo_wfull" pos="30" rst="0">
  48072. <comment>fifo_wfull</comment>
  48073. </bits>
  48074. <bits access="rw" name="fifo_wempty" pos="31" rst="1">
  48075. <comment>fifo_wempty</comment>
  48076. </bits>
  48077. </reg>
  48078. <reg name="csi obs5" protect="rw">
  48079. <bits access="ro" name="csi_observe_reg_5_low" pos="7:0" rst="0">
  48080. <comment>if observe_reg_5_low8_choose=1, out is data_id[7:0], else out is lp_cmd_out[7:0]</comment>
  48081. </bits>
  48082. <bits access="ro" name="lp_data_interrupt_flag" pos="8" rst="0">
  48083. <comment>lp_data_interrupt_flag</comment>
  48084. </bits>
  48085. <bits access="ro" name="lp_cmd_interrupt_flag" pos="9" rst="0">
  48086. <comment>lp_data_interrupt_flag</comment>
  48087. </bits>
  48088. <bits access="ro" name="phy_clk_state" pos="18:10" rst="0">
  48089. <comment>phy_clk_state[8:0]</comment>
  48090. </bits>
  48091. <bits access="ro" name="fifo_rcount" pos="27:19" rst="0">
  48092. <comment>fifo_rcount[8:0]</comment>
  48093. </bits>
  48094. <bits access="ro" name="crc_error" pos="28" rst="0">
  48095. <comment>crc_error</comment>
  48096. </bits>
  48097. <bits access="ro" name="err_ecc_corrected_flag" pos="29" rst="0">
  48098. <comment>err_ecc_corrected_flag</comment>
  48099. </bits>
  48100. <bits access="ro" name="err_data_corrected_flag" pos="30" rst="0">
  48101. <comment>err_data_corrected_flag</comment>
  48102. </bits>
  48103. <bits access="ro" name="err_data_zero_flag" pos="31" rst="1">
  48104. <comment>err_data_zero_flag</comment>
  48105. </bits>
  48106. </reg>
  48107. <reg name="csi obs6" protect="rw">
  48108. <bits access="ro" name="csi_observe_reg_6" pos="31:0" rst="0">
  48109. <comment>if observe_reg_5_low8_choose=1, out is csi_observe_mon, else out is lp_data_out[63:32]</comment>
  48110. </bits>
  48111. </reg>
  48112. <reg name="csi obs7" protect="rw">
  48113. <bits access="ro" name="csi_observe_reg_7" pos="31:0" rst="0">
  48114. <comment>csi_observe_reg_7[31:0]</comment>
  48115. </bits>
  48116. </reg>
  48117. <reg name="csi enable" protect="rw">
  48118. <bits access="rw" name="csi_enable" pos="0" rst="0">
  48119. <comment>csi_enable</comment>
  48120. </bits>
  48121. </reg>
  48122. <reg name="csi config reg8" protect="rw">
  48123. <bits access="rw" name="dly_sel_clkn_reg" pos="3:0" rst="0">
  48124. <comment>dly_sel_clkn_reg,set clkn delay,to csi analog phy</comment>
  48125. </bits>
  48126. <bits access="rw" name="dly_sel_clkp_reg" pos="7:4" rst="0">
  48127. <comment>dly_sel_clkp_reg,set clkp delay,to csi analog phy</comment>
  48128. </bits>
  48129. <bits access="rw" name="dly_sel_data2_reg" pos="11:8" rst="0">
  48130. <comment>dly_sel_data2_reg,set data2 delay,to csi analog phy</comment>
  48131. </bits>
  48132. <bits access="rw" name="dly_sel_data1_reg" pos="15:12" rst="0">
  48133. <comment>dly_sel_data1_reg,set data1 delay,to csi analog phy</comment>
  48134. </bits>
  48135. <bits access="rw" name="vth_sel" pos="16" rst="0">
  48136. <comment>vth_sel,to csi analog phy</comment>
  48137. </bits>
  48138. </reg>
  48139. <hole size="222*32"/>
  48140. <struct count="FIFORAM_SIZE" name="fiforam">
  48141. <reg name="ramdata" protect="r">
  48142. <bits access="r" name="data" pos="31:0" rst="0">
  48143. <comment>Direct FIFO Ram Access. They are enabled only in Bist Mode.</comment>
  48144. <options>
  48145. <mask/>
  48146. <shift/>
  48147. <default/>
  48148. </options>
  48149. </bits>
  48150. </reg>
  48151. </struct>
  48152. <hole size="176*32"/>
  48153. <reg name="soft_reset" protect="rw">
  48154. <bits access="rw" name="dsp_reset" pos="0" rst="0x1">
  48155. <comment>rstn of dsp</comment>
  48156. </bits>
  48157. </reg>
  48158. <hole size="17*32"/>
  48159. <reg name="awb_x1_min" protect="rw">
  48160. <bits access="rw" name="awb_x1_min" pos="7:0" rst="0x78">
  48161. <comment>for A ctd block, u2.7 format
  48162. awb_x1_min[8:0]=[awb_ctd_msb[0],awb_x1_min[7:0]]</comment>
  48163. </bits>
  48164. </reg>
  48165. <reg name="awb_x1_max" protect="rw">
  48166. <bits access="rw" name="awb_x1_max" pos="7:0" rst="0x99">
  48167. <comment>for A ctd block, u2.7 format
  48168. awb_x1_max[8:0]=[awb_ctd_msb[1],awb_x1_max[7:0]]</comment>
  48169. </bits>
  48170. </reg>
  48171. <reg name="awb_y1_min" protect="rw">
  48172. <bits access="rw" name="awb_y1_min" pos="7:0" rst="0x27">
  48173. <comment>for A ctd block, u1.7 format</comment>
  48174. </bits>
  48175. </reg>
  48176. <reg name="awb_y1_max" protect="rw">
  48177. <bits access="rw" name="awb_y1_max" pos="7:0" rst="0x3c">
  48178. <comment>for A ctd block, u1.7 format</comment>
  48179. </bits>
  48180. </reg>
  48181. <reg name="awb_x2_min" protect="rw">
  48182. <bits access="rw" name="awb_x2_min" pos="7:0" rst="0x5b">
  48183. <comment>for TL84 ctd block, u1.7 format</comment>
  48184. </bits>
  48185. </reg>
  48186. <reg name="awb_x2_max" protect="rw">
  48187. <bits access="rw" name="awb_x2_max" pos="7:0" rst="0x70">
  48188. <comment>for TL84 ctd block, u1.7 format</comment>
  48189. </bits>
  48190. </reg>
  48191. <reg name="awb_y2_min" protect="rw">
  48192. <bits access="rw" name="awb_y2_min" pos="7:0" rst="0x34">
  48193. <comment>for TL84 ctd block, u1.7 format</comment>
  48194. </bits>
  48195. </reg>
  48196. <reg name="awb_y2_max" protect="rw">
  48197. <bits access="rw" name="awb_y2_max" pos="7:0" rst="0x4d">
  48198. <comment>for TL84 ctd block, u1.7 format</comment>
  48199. </bits>
  48200. </reg>
  48201. <reg name="awb_x3_min" protect="rw">
  48202. <bits access="rw" name="awb_x3_min" pos="7:0" rst="0x44">
  48203. <comment>for CWF ctd block, u1.7 format</comment>
  48204. </bits>
  48205. </reg>
  48206. <reg name="awb_x3_max" protect="rw">
  48207. <bits access="rw" name="awb_x3_max" pos="7:0" rst="0x5a">
  48208. <comment>for CWF ctd block, u1.7 format</comment>
  48209. </bits>
  48210. </reg>
  48211. <reg name="awb_y3_min" protect="rw">
  48212. <bits access="rw" name="awb_y3_min" pos="7:0" rst="0x2b">
  48213. <comment>for CWF ctd block, u1.7 format</comment>
  48214. </bits>
  48215. </reg>
  48216. <reg name="awb_y3_max" protect="rw">
  48217. <bits access="rw" name="awb_y3_max" pos="7:0" rst="0x44">
  48218. <comment>for CWF ctd block, u1.7 format</comment>
  48219. </bits>
  48220. </reg>
  48221. <reg name="awb_x4_min" protect="rw">
  48222. <bits access="rw" name="awb_x4_min" pos="7:0" rst="0x42">
  48223. <comment>for Indoor ctd block, u1.7 format</comment>
  48224. </bits>
  48225. </reg>
  48226. <reg name="awb_x4_max" protect="rw">
  48227. <bits access="rw" name="awb_x4_max" pos="7:0" rst="0x5c">
  48228. <comment>for Indoor ctd block, u1.7 format</comment>
  48229. </bits>
  48230. </reg>
  48231. <reg name="awb_y4_min" protect="rw">
  48232. <bits access="rw" name="awb_y4_min" pos="7:0" rst="0x4f">
  48233. <comment>for Indoor ctd block, u1.7 format</comment>
  48234. </bits>
  48235. </reg>
  48236. <reg name="awb_y4_max" protect="rw">
  48237. <bits access="rw" name="awb_y4_max" pos="7:0" rst="0x68">
  48238. <comment>for Indoor ctd block, u1.7 format</comment>
  48239. </bits>
  48240. </reg>
  48241. <reg name="awb_x5_min" protect="rw">
  48242. <bits access="rw" name="awb_x5_min" pos="7:0" rst="0x2d">
  48243. <comment>for D65 ctd block, u1.7 format</comment>
  48244. </bits>
  48245. </reg>
  48246. <reg name="awb_x5_max" protect="rw">
  48247. <bits access="rw" name="awb_x5_max" pos="7:0" rst="0x47">
  48248. <comment>for D65 ctd block, u1.7 format</comment>
  48249. </bits>
  48250. </reg>
  48251. <reg name="awb_y5_min" protect="rw">
  48252. <bits access="rw" name="awb_y5_min" pos="7:0" rst="0x6d">
  48253. <comment>for D65 ctd block, u2.7 format
  48254. awb_y5_min[8:0]=[awb_ctd_msb[2],awb_y5_min[7:0]]</comment>
  48255. </bits>
  48256. </reg>
  48257. <reg name="awb_y5_max" protect="rw">
  48258. <bits access="rw" name="awb_y5_max" pos="7:0" rst="0x83">
  48259. <comment>for D65 ctd block, u2.7 format
  48260. awb_y5_max[8:0]=[awb_ctd_msb[3],awb_y5_max[7:0]]</comment>
  48261. </bits>
  48262. </reg>
  48263. <reg name="awb_skin_x1_min" protect="rw">
  48264. <bits access="rw" name="awb_skin_x1_min" pos="7:0" rst="0x90">
  48265. <comment>for TL84 skin ctd block, u1.7 format</comment>
  48266. </bits>
  48267. </reg>
  48268. <reg name="awb_skin_x1_max" protect="rw">
  48269. <bits access="rw" name="awb_skin_x1_max" pos="7:0" rst="0xa8">
  48270. <comment>for TL84 skin ctd block, u1.7 format</comment>
  48271. </bits>
  48272. </reg>
  48273. <reg name="awb_skin_y1_min" protect="rw">
  48274. <bits access="rw" name="awb_skin_y1_min" pos="7:0" rst="0x28">
  48275. <comment>for TL84 skin ctd block, u1.7 format</comment>
  48276. </bits>
  48277. </reg>
  48278. <reg name="awb_skin_y1_max" protect="rw">
  48279. <bits access="rw" name="awb_skin_y1_max" pos="7:0" rst="0x45">
  48280. <comment>for TL84 skin ctd block, u1.7 format</comment>
  48281. </bits>
  48282. </reg>
  48283. <reg name="awb_skin_x2_min" protect="rw">
  48284. <bits access="rw" name="awb_skin_x2_min" pos="7:0" rst="0x73">
  48285. <comment>for CWF skin ctd block, u1.7 format</comment>
  48286. </bits>
  48287. </reg>
  48288. <reg name="awb_skin_x2_max" protect="rw">
  48289. <bits access="rw" name="awb_skin_x2_max" pos="7:0" rst="0x8c">
  48290. <comment>for CWF skin ctd block, u1.7 format</comment>
  48291. </bits>
  48292. </reg>
  48293. <reg name="awb_skin_y2_min" protect="rw">
  48294. <bits access="rw" name="awb_skin_y2_min" pos="7:0" rst="0x18">
  48295. <comment>for CWF skin ctd block, u1.7 format</comment>
  48296. </bits>
  48297. </reg>
  48298. <reg name="awb_skin_y2_max" protect="rw">
  48299. <bits access="rw" name="awb_skin_y2_max" pos="7:0" rst="0x39">
  48300. <comment>for CWF skin ctd block, u1.7 format</comment>
  48301. </bits>
  48302. </reg>
  48303. <reg name="awb_ctd_msb" protect="rw">
  48304. <bits access="rw" name="awb_x1_min_msb" pos="0" rst="0x0">
  48305. <comment>awb_x1_min[8:0]=[awb_x1_min_msb,awb_x1_min[7:0]]</comment>
  48306. </bits>
  48307. <bits access="rw" name="awb_x1_max_msb" pos="1" rst="0x0">
  48308. <comment>awb_x1_max[8:0]=[awb_x1_max_msb,awb_x1_max[7:0]]</comment>
  48309. </bits>
  48310. <bits access="rw" name="awb_y5_min_msb" pos="2" rst="0x0">
  48311. <comment>awb_y5_min[8:0]=[awb_y5_min_msb,awb_y5_min[7:0]]</comment>
  48312. </bits>
  48313. <bits access="rw" name="awb_y5_max_msb" pos="3" rst="0x0">
  48314. <comment>awb_y5_max[8:0]=[awb_y5_max_msb,awb_y5_max[7:0]]</comment>
  48315. </bits>
  48316. <bits access="rw" name="awb_adj_mode" pos="5:4" rst="0x0">
  48317. <comment>2d0: awb_adj_sig=1
  48318. 2d1: awb_adj_sig= crsum_abs&gt;vld_cnt_cr_thr x2 or cbsum_abs&gt;vld_cnt_cb_thr x2
  48319. 2d2: awb_adj_sig= crsum_abs&gt;vld_cnt_cr_thr x3 or cbsum_abs&gt;vld_cnt_cb_thr x3
  48320. 2d3: awb_adj_sig= crsum_abs&gt;vld_cnt_cr_thr x2 and cbsum_abs&gt;vld_cnt_cb_thr x2</comment>
  48321. </bits>
  48322. <bits access="rw" name="awb_ratio_mode" pos="7:6" rst="0x0">
  48323. <comment>2d3: awb_ratio_lmax=4
  48324. 2d2: awb_ratio_lmax=2
  48325. 2d1: awb_ratio_lmax=0
  48326. 2d0: awb_ratio_lmax= according to the proportion of cnt_max and cnt_lmax</comment>
  48327. </bits>
  48328. </reg>
  48329. <reg name="int_dif_thr_mid" protect="rw">
  48330. <bits access="rw" name="int_dif_thr_mid" pos="7:0" rst="0x18">
  48331. <comment/>
  48332. </bits>
  48333. </reg>
  48334. <reg name="lb_soft_rstn" protect="rw">
  48335. <bits access="rw" name="lb_soft_rstn" pos="0" rst="0x1">
  48336. <comment/>
  48337. </bits>
  48338. </reg>
  48339. <reg name="vsync_end_high" protect="rw">
  48340. <bits access="rw" name="vsync_end_high" pos="7:0" rst="0x0">
  48341. <comment>vsync_end_reg=[vsync_end_high,vsync_end_low]</comment>
  48342. </bits>
  48343. </reg>
  48344. <reg name="vsync_end_low" protect="rw">
  48345. <bits access="rw" name="vsync_end_low" pos="7:0" rst="0x01">
  48346. <comment>vsync_end_reg=[vsync_end_high,vsync_end_low]</comment>
  48347. </bits>
  48348. </reg>
  48349. <reg name="line_numl" protect="rw">
  48350. <bits access="rw" name="line_numl" pos="7:0" rst="0xe8">
  48351. <comment>line_num = [line_numH,line_numL]</comment>
  48352. </bits>
  48353. </reg>
  48354. <reg name="pix_numl" protect="rw">
  48355. <bits access="rw" name="pix_numl" pos="7:0" rst="0x88">
  48356. <comment>pix_num = [pix_numH,pix_numL]</comment>
  48357. </bits>
  48358. </reg>
  48359. <reg name="pix_line_numh" protect="rw">
  48360. <bits access="rw" name="line_numh" pos="0" rst="0x1">
  48361. <comment/>
  48362. </bits>
  48363. <bits access="rw" name="pix_numh_rsvd" pos="3:1" rst="0x0">
  48364. <comment>not used here</comment>
  48365. </bits>
  48366. <bits access="rw" name="pix_numh" pos="5:4" rst="0x2">
  48367. <comment/>
  48368. </bits>
  48369. <bits access="rw" name="line_numh_rsvd" pos="7:6" rst="0x0">
  48370. <comment>not used here</comment>
  48371. </bits>
  48372. </reg>
  48373. <reg name="lb_ctrl" protect="rw">
  48374. <bits access="rw" name="low_order" pos="0" rst="0x0">
  48375. <comment/>
  48376. </bits>
  48377. <bits access="rw" name="use_fb_reg" pos="1" rst="0x0">
  48378. <comment/>
  48379. </bits>
  48380. <bits access="rw" name="not_cvp_reg" pos="2" rst="0x0">
  48381. <comment/>
  48382. </bits>
  48383. <bits access="rw" name="first_byte_reg" pos="5:3" rst="0x0">
  48384. <comment/>
  48385. </bits>
  48386. </reg>
  48387. <reg name="data_format" protect="rw">
  48388. <bits access="rw" name="data_format" pos="1:0" rst="0x0">
  48389. <comment>00:YUV/RAW8(para)
  48390. 01:RAW8(mipi)
  48391. 10:RAW10(mipi)</comment>
  48392. </bits>
  48393. </reg>
  48394. <reg name="lb_enable" protect="rw">
  48395. <bits access="rw" name="lb_enable" pos="0" rst="0x0">
  48396. <comment/>
  48397. </bits>
  48398. </reg>
  48399. <reg name="vh_inv" protect="rw">
  48400. <bits access="rw" name="hsync_inv" pos="0" rst="0x0">
  48401. <comment/>
  48402. </bits>
  48403. <bits access="rw" name="vsync_inv" pos="1" rst="0x0">
  48404. <comment/>
  48405. </bits>
  48406. </reg>
  48407. <reg name="line_cnt_l" protect="ro">
  48408. <bits access="ro" name="line_cnt_l" pos="7:0" rst="0x0">
  48409. <comment>line_cnt=[line_cnt_H[1:0], [7:0]]</comment>
  48410. </bits>
  48411. </reg>
  48412. <reg name="line_cnt_h" protect="ro">
  48413. <bits access="ro" name="line_cnt_h" pos="1:0" rst="0x0">
  48414. <comment>line_cnt=[line_cnt_H[1:0], line_cnt_L]</comment>
  48415. </bits>
  48416. </reg>
  48417. <reg name="num_check" protect="rw">
  48418. <bits access="ro" name="line_num_check" pos="0" rst="0x0">
  48419. <comment/>
  48420. </bits>
  48421. <bits access="ro" name="byte_num_check" pos="1" rst="0x0">
  48422. <comment/>
  48423. </bits>
  48424. <bits access="wo" name="line_num_clear" pos="4" rst="0x0">
  48425. <comment/>
  48426. </bits>
  48427. <bits access="wo" name="byte_num_clear" pos="5" rst="0x0">
  48428. <comment/>
  48429. </bits>
  48430. </reg>
  48431. <reg name="dci_ctrl_reg" protect="rw">
  48432. <bits access="rw" name="kl_low_light_fix" pos="0" rst="0x1">
  48433. <comment>1: kl 0: kldci ()</comment>
  48434. </bits>
  48435. <bits access="rw" name="kl_reg_fix" pos="1" rst="0x1">
  48436. <comment>1: kl 0: kldci</comment>
  48437. </bits>
  48438. <bits access="rw" name="ku_low_light_fix" pos="2" rst="0x1">
  48439. <comment>1: ku 0: kudci ()</comment>
  48440. </bits>
  48441. <bits access="rw" name="ku_reg_fix" pos="3" rst="0x1">
  48442. <comment>1: ku 0: kudci</comment>
  48443. </bits>
  48444. <bits access="rw" name="hofst" pos="5:4" rst="0x0">
  48445. <comment>hist 2</comment>
  48446. </bits>
  48447. <bits access="rw" name="vbh_sel" pos="7:6" rst="0x0">
  48448. <comment>00: 0x98regae_dark_hist_reg
  48449. 01: 0x98regyave_target_RO_reg
  48450. other: 0x98regyave_contr_reg</comment>
  48451. </bits>
  48452. </reg>
  48453. <reg name="dci_ofst_reg" protect="rw">
  48454. <bits access="rw" name="kl_ofstx1" pos="3:0" rst="0x8">
  48455. <comment>kl_ofstx1[4:0] = [kl_ofstx1, 1b0] (kl0x80)</comment>
  48456. </bits>
  48457. <bits access="rw" name="ku_ofstx1" pos="7:4" rst="0x8">
  48458. <comment>ku_ofstx1[4:0] = [ku_ofstx1, 1b0] (kl0x80)</comment>
  48459. </bits>
  48460. </reg>
  48461. <reg name="dci_hist_reg" protect="rw">
  48462. <bits access="rw" name="dk_histx1" pos="3:0" rst="0x8">
  48463. <comment>dk_histx1[4:0] = [dk_histx1, 1b0] (dhist)</comment>
  48464. </bits>
  48465. <bits access="rw" name="br_histx1" pos="7:4" rst="0x8">
  48466. <comment>br_histx1[4:0] = [br_histx1, 1b0] (bhist)</comment>
  48467. </bits>
  48468. </reg>
  48469. <reg name="ae_sw_ctrl_reg" protect="rw">
  48470. <bits access="rw" name="nexp_sw_in" pos="3:0" rst="0x0">
  48471. <comment>swaeswexp/gainnexphw//</comment>
  48472. </bits>
  48473. <bits access="wo" name="ae_ext_adj_start" pos="7" rst="0x0">
  48474. <comment>sw/hwae,SWae,</comment>
  48475. </bits>
  48476. </reg>
  48477. <reg name="ae_thr_reg" protect="rw">
  48478. <bits access="rw" name="thr_dark" pos="3:0" rst="0x3">
  48479. <comment>THR_dark[4:0] = [THR_dark, 1'b0] (ytarget-yave THR_darkae)</comment>
  48480. </bits>
  48481. <bits access="rw" name="thr_bright" pos="7:4" rst="0x8">
  48482. <comment>THR_bright[4:0] = [THR_bright,1'b0](yave-ytargetTHR_brightae)</comment>
  48483. </bits>
  48484. </reg>
  48485. <reg name="ae_misc_ctrl_reg" protect="rw">
  48486. <bits access="rw" name="ofst_dec_low_sel" pos="1:0" rst="0x0">
  48487. <comment>ytarget_dec
  48488. 2d3:4indexytargetregd[3:0]8index08
  48489. 2d2:2indexytargetregd[3:0]8index016
  48490. 2d1:1indexytargetregd[3:0]8index032
  48491. 2d0:1indexytargetregd[3:0]8index064</comment>
  48492. </bits>
  48493. <bits access="rw" name="ofst_dec_high_sel" pos="3:2" rst="0x0">
  48494. <comment>ytarget_dec
  48495. 2d3:4indexytargetregc[7:4]8index_max8
  48496. 2d2:2indexytargetregc[7:4]8index_max16
  48497. 2d1:1indexytargetregd[7:4]8index_max32
  48498. 2d0:1indexytargetregd[7:4]8index_max64</comment>
  48499. </bits>
  48500. <bits access="rw" name="force_adj1" pos="4" rst="0x0">
  48501. <comment>1yave_diff_2frame</comment>
  48502. </bits>
  48503. <bits access="rw" name="force_adj2" pos="5" rst="0x0">
  48504. <comment>1THR_big</comment>
  48505. </bits>
  48506. <bits access="rw" name="force_adj3" pos="6" rst="0x0">
  48507. <comment>1bhist&gt;0@is_dark</comment>
  48508. </bits>
  48509. <bits access="rw" name="index_ofst_no_step" pos="7" rst="0x0">
  48510. <comment>1index_ofst</comment>
  48511. </bits>
  48512. </reg>
  48513. <reg name="csup_xx_reg" protect="rw">
  48514. <bits access="rw" name="x_low" pos="3:0" rst="0x0">
  48515. <comment>@nexp</comment>
  48516. </bits>
  48517. <bits access="rw" name="x_high" pos="7:4" rst="0x8">
  48518. <comment>@nexp</comment>
  48519. </bits>
  48520. </reg>
  48521. <reg name="contr_ythr_reg" protect="rw">
  48522. <bits access="rw" name="csup_gain_low_th_h" pos="0" rst="0x1">
  48523. <comment>low_th = [[0], lsc_blc_gain_th[7:6]](nexp=low_th)</comment>
  48524. </bits>
  48525. <bits access="rw" name="csup_gain_high_th" pos="3:1" rst="0x3">
  48526. <comment>nexp&gt;(8+high_th)</comment>
  48527. </bits>
  48528. <bits access="rw" name="fixed_contr_ythr" pos="7:4" rst="0x8">
  48529. <comment>Fixed Ythr of contr = [[7:4], 4d0]</comment>
  48530. </bits>
  48531. </reg>
  48532. <reg name="contr_yave_offset_reg" protect="rw">
  48533. <bits access="rw" name="yave_offset_reg" pos="5:0" rst="0x0">
  48534. <comment/>
  48535. </bits>
  48536. <bits access="rw" name="ythr_sel" pos="6" rst="0x1">
  48537. <comment>1: dynamic yave (Yave)
  48538. 0: fixed ythr contr_ythr_reg</comment>
  48539. </bits>
  48540. <bits access="rw" name="yave_offset_sign" pos="7" rst="0x0">
  48541. <comment>YaveYthrofst (01)</comment>
  48542. </bits>
  48543. </reg>
  48544. <reg name="contr_ku_lo_reg" protect="rw">
  48545. <bits access="rw" name="ku" pos="6:0" rst="0x20">
  48546. <comment>upper@Low gain
  48547. Yout = Yin +/- min(ku*(Yin-Ythr), ku*(255-Yin))</comment>
  48548. </bits>
  48549. <bits access="rw" name="ku_sign" pos="7" rst="0x1">
  48550. <comment>1: 0</comment>
  48551. </bits>
  48552. </reg>
  48553. <reg name="contr_kl_lo_reg" protect="rw">
  48554. <bits access="rw" name="kl" pos="6:0" rst="0x20">
  48555. <comment>lower@Low gain
  48556. Yout = Yin -/+ min(kl*(Ythr-Yin), kl*Yin)</comment>
  48557. </bits>
  48558. <bits access="rw" name="kl_sign" pos="7" rst="0x1">
  48559. <comment>1: 0</comment>
  48560. </bits>
  48561. </reg>
  48562. <reg name="contr_ku_mid_reg" protect="rw">
  48563. <bits access="rw" name="ku" pos="6:0" rst="0x10">
  48564. <comment>upper@Mid gain
  48565. Yout = Yin +/- min(ku*(Yin-Ythr), ku*(255-Yin))</comment>
  48566. </bits>
  48567. <bits access="rw" name="ku_sign" pos="7" rst="0x1">
  48568. <comment>1: 0</comment>
  48569. </bits>
  48570. </reg>
  48571. <reg name="contr_kl_mid_reg" protect="rw">
  48572. <bits access="rw" name="kl" pos="6:0" rst="0x10">
  48573. <comment>lower@Mid gain
  48574. Yout = Yin -/+ min(kl*(Ythr-Yin), kl*Yin)</comment>
  48575. </bits>
  48576. <bits access="rw" name="kl_sign" pos="7" rst="0x1">
  48577. <comment>1: 0</comment>
  48578. </bits>
  48579. </reg>
  48580. <reg name="contr_ku_hi_reg" protect="rw">
  48581. <bits access="rw" name="ku" pos="6:0" rst="0x70">
  48582. <comment>upper@High gain
  48583. Yout = Yin +/- min(ku*(Yin-Ythr), ku*(255-Yin))</comment>
  48584. </bits>
  48585. <bits access="rw" name="ku_sign" pos="7" rst="0x0">
  48586. <comment>1: 0</comment>
  48587. </bits>
  48588. </reg>
  48589. <reg name="contr_kl_hi_reg" protect="rw">
  48590. <bits access="rw" name="kl" pos="6:0" rst="0x70">
  48591. <comment>lower@High gain
  48592. Yout = Yin -/+ min(kl*(Ythr-Yin), kl*Yin)</comment>
  48593. </bits>
  48594. <bits access="rw" name="kl_sign" pos="7" rst="0x0">
  48595. <comment>1: 0</comment>
  48596. </bits>
  48597. </reg>
  48598. <reg name="luma_offset_lo_reg" protect="rw">
  48599. <bits access="rw" name="offset" pos="5:0" rst="0x0">
  48600. <comment>@Low gain</comment>
  48601. </bits>
  48602. <bits access="rw" name="algo_sel" pos="6" rst="0x0">
  48603. <comment>1: Yout = (256-offset)*Yin/256 + offset
  48604. 0: Yout = Yin + offset</comment>
  48605. </bits>
  48606. <bits access="rw" name="offset_sign" pos="7" rst="0x0">
  48607. <comment>0 1</comment>
  48608. </bits>
  48609. </reg>
  48610. <reg name="luma_offset_mid_reg" protect="rw">
  48611. <bits access="rw" name="offset" pos="5:0" rst="0x0">
  48612. <comment>@Mid gain</comment>
  48613. </bits>
  48614. <bits access="rw" name="algo_sel" pos="6" rst="0x0">
  48615. <comment>1: Yout = (256-offset)*Yin/256 + offset
  48616. 0: Yout = Yin + offset</comment>
  48617. </bits>
  48618. <bits access="rw" name="offset_sign" pos="7" rst="0x0">
  48619. <comment>0 1</comment>
  48620. </bits>
  48621. </reg>
  48622. <reg name="luma_offset_hi_reg" protect="rw">
  48623. <bits access="rw" name="offset" pos="5:0" rst="0x0">
  48624. <comment>@High gain</comment>
  48625. </bits>
  48626. <bits access="rw" name="algo_sel" pos="6" rst="0x0">
  48627. <comment>1: Yout = (256-offset)*Yin/256 + offset
  48628. 0: Yout = Yin + offset</comment>
  48629. </bits>
  48630. <bits access="rw" name="offset_sign" pos="7" rst="0x0">
  48631. <comment>0 1</comment>
  48632. </bits>
  48633. </reg>
  48634. <reg name="u_gain_lo_reg" protect="rw">
  48635. <bits access="rw" name="u_gain_lo_reg" pos="7:0" rst="0xb0">
  48636. <comment>Cb@Low gain0x80 just x1.0</comment>
  48637. </bits>
  48638. </reg>
  48639. <reg name="v_gain_lo_reg" protect="rw">
  48640. <bits access="rw" name="v_gain_lo_reg" pos="7:0" rst="0xb0">
  48641. <comment>Cr@Low gain0x80 just x1.0</comment>
  48642. </bits>
  48643. </reg>
  48644. <reg name="u_gain_mid_reg" protect="rw">
  48645. <bits access="rw" name="u_gain_mid_reg" pos="7:0" rst="0xa0">
  48646. <comment>Cb@Mid gain0x80 just x1.0</comment>
  48647. </bits>
  48648. </reg>
  48649. <reg name="v_gain_mid_reg" protect="rw">
  48650. <bits access="rw" name="v_gain_mid_reg" pos="7:0" rst="0xa0">
  48651. <comment>Cr@Mid gain0x80 just x1.0</comment>
  48652. </bits>
  48653. </reg>
  48654. <reg name="u_gain_hi_reg" protect="rw">
  48655. <bits access="rw" name="u_gain_hi_reg" pos="7:0" rst="0x80">
  48656. <comment>Cb@High gain0x80 just x1.0</comment>
  48657. </bits>
  48658. </reg>
  48659. <reg name="v_gain_hi_reg" protect="rw">
  48660. <bits access="rw" name="v_gain_hi_reg" pos="7:0" rst="0x80">
  48661. <comment>Cr@High gain0x80 just x1.0</comment>
  48662. </bits>
  48663. </reg>
  48664. <reg name="again_sel_th0_reg" protect="rw">
  48665. <bits access="rw" name="contr_gain_low_th" pos="2:0" rst="0x4">
  48666. <comment>@luma/contr/satur(nexp=low_th)</comment>
  48667. </bits>
  48668. <bits access="rw" name="again_sel_th0_rsvd" pos="3" rst="0x0">
  48669. <comment>not used here</comment>
  48670. </bits>
  48671. <bits access="rw" name="contr_gain_hi_th" pos="6:4" rst="0x3">
  48672. <comment>@luma/contr/satur(nexp&gt;(8+high_th))</comment>
  48673. </bits>
  48674. </reg>
  48675. <reg name="awb_cc_type_ctrl_reg" protect="rw">
  48676. <bits access="rw" name="cc_type_mode" pos="3:0" rst="0x0">
  48677. <comment>4'd0: cc_type = 0; //D65
  48678. 4'd1: cc_type = 1; //U30
  48679. 4'd2:if(is_outdoor) cc_type = 0;
  48680. else cc_type = 1;
  48681. 4'd3:if(ana_gain&gt;=cc_gain_th) cc_type = 0;
  48682. else cc_type = 1;
  48683. 4'd4:if(rgain_bigger) cc_type = 0; //D65
  48684. else if(bgain_bigger) cc_type = 1; //U30
  48685. 4'd5: if(is_outdoor) cc_type = 0;
  48686. else if(rgain_bigger) cc_type = 0;
  48687. else if(bgain_bigger) cc_type = 1;
  48688. 4'd6: if(is_outdoor) cc_type = 0;
  48689. else if(ana_gain=cc_gain_th) cc_type = 0;
  48690. else if(rgain_bigger) cc_type = 0;
  48691. else if(bgain_bigger) cc_type = 1;
  48692. 4'd7: if(is_outdoor) cc_type = 0;
  48693. else if(ana_gain=cc_gain_th) cc_type = 1;
  48694. else if(rgain_bigger) cc_type = 0;
  48695. else if(bgain_bigger) cc_type = 1;
  48696. 4'd8: if(r_awb_gain_outr_low_non_A)cc_type = 1;
  48697. else if(r_awb_gain_out(r_low_non_A+8)) cc_type = 0;
  48698. 4d9: if(awb_idx_max2) cc_type = 1;
  48699. else if(awb_idx_max2) cc_type = 0;
  48700. other: SW driven ( reg1c2)</comment>
  48701. </bits>
  48702. <bits access="rw" name="cc_gain_hi_th" pos="6:4" rst="0x0">
  48703. <comment>nexp&gt;(8+high_th)</comment>
  48704. </bits>
  48705. <bits access="rw" name="luma_first" pos="7" rst="0x0">
  48706. <comment>1: 0:</comment>
  48707. </bits>
  48708. </reg>
  48709. <reg name="awb_cc_type_th_reg" protect="rw">
  48710. <bits access="rw" name="r_big_th" pos="3:0" rst="0x1">
  48711. <comment>r_big_th=[awb_cc_type_th_reg[3:0], 2d0]</comment>
  48712. </bits>
  48713. <bits access="rw" name=" b_big_th" pos="7:4" rst="0x1">
  48714. <comment>b_big_th=[awb_cc_type_th_reg[7:4], 2d0]</comment>
  48715. </bits>
  48716. </reg>
  48717. <reg name="isp_wrapper_ctrl_1" protect="rw">
  48718. <bits access="rw" name="pout_mode" pos="1:0" rst="0x0">
  48719. <comment>00: YUV422 01: RGB565
  48720. 10: raw bayer 11: clip out</comment>
  48721. </bits>
  48722. <bits access="rw" name="yuv_mode" pos="3:2" rst="0x0">
  48723. <comment>00:YUYV 01:YVYU
  48724. 10:UYVY 11:VYUY
  48725. (Note:[2] uv_sel 0:UV 1:VU)</comment>
  48726. </bits>
  48727. <bits access="rw" name="vsync_toggle" pos="4" rst="0x0">
  48728. <comment/>
  48729. </bits>
  48730. <bits access="rw" name="mipi_rstn" pos="5" rst="0x1">
  48731. <comment/>
  48732. </bits>
  48733. <bits access="rw" name=" hsync_fix" pos="6" rst="0x0">
  48734. <comment/>
  48735. </bits>
  48736. </reg>
  48737. <reg name="top_dummy" protect="rw">
  48738. <bits access="rw" name="top_dummy" pos="6:0" rst="0x0">
  48739. <comment/>
  48740. </bits>
  48741. </reg>
  48742. <reg name="left_dummy" protect="rw">
  48743. <bits access="rw" name="left_dummy" pos="7:0" rst="0x0">
  48744. <comment/>
  48745. </bits>
  48746. </reg>
  48747. <reg name="isp_wrapper_ctrl_2" protect="rw">
  48748. <bits access="rw" name="rgb_mode_reg" pos="2:0" rst="0x0">
  48749. <comment>Case(rgb_mode_reg) @clip out
  48750. 3'd0: to_n_clp_data 3'd1: y_data
  48751. 3'd2: cnr_1d_cb 3'd3: cnr_1d_cr
  48752. 3'd4: c_data 3'd5: yc2r_data
  48753. 3'd6: yc2g_data 3'd7: yc2b_data
  48754. Note:rgb_mode_reg[0] is also used to
  48755. 1, select the line of sub_YUV output</comment>
  48756. </bits>
  48757. <bits access="rw" name="sub_mode" pos="3" rst="0x0">
  48758. <comment>not used, sca_reg=1:sub mode</comment>
  48759. </bits>
  48760. <bits access="rw" name="mon_mode_reg" pos="4" rst="0x0">
  48761. <comment>bypass vsync_in and hsync_in</comment>
  48762. </bits>
  48763. <bits access="rw" name="oclk_inv_reg" pos="5" rst="0x0">
  48764. <comment/>
  48765. </bits>
  48766. <bits access="rw" name="isp_out_en" pos="6" rst="0x1">
  48767. <comment/>
  48768. </bits>
  48769. </reg>
  48770. <reg name="line_num_l_reg" protect="rw">
  48771. <bits access="rw" name="line_num_l_reg" pos="5:0" rst="0x3c">
  48772. <comment>Line_num=[lin_num_l_reg[5:0], 3d0]</comment>
  48773. </bits>
  48774. </reg>
  48775. <reg name="pix_num_l_reg" protect="rw">
  48776. <bits access="rw" name="pix_num_l_reg" pos="6:0" rst="0x50">
  48777. <comment>Pix_num=[pix_num_l_reg[6:0], 3d0]</comment>
  48778. </bits>
  48779. <bits access="rw" name="csi_mon_reg" pos="7" rst="0x0">
  48780. <comment/>
  48781. </bits>
  48782. </reg>
  48783. <reg name="v_dummy" protect="rw">
  48784. <bits access="rw" name="vbot_dummy_reg" pos="3:0" rst="0x2">
  48785. <comment>HsyncNvsync</comment>
  48786. </bits>
  48787. <bits access="rw" name="vtop_dummy_reg" pos="7:4" rst="0x0">
  48788. <comment>Mvsync
  48789. top_dummy&gt;16, vtop_dummy=top_dummy-[7:4]</comment>
  48790. </bits>
  48791. </reg>
  48792. <reg name="scg" protect="rw">
  48793. <bits access="rw" name="kukl_sel" pos="0" rst="0x1">
  48794. <comment>1blc[ku, kl]</comment>
  48795. </bits>
  48796. <bits access="rw" name="reg94_rd_sel" pos="1" rst="0x1">
  48797. <comment>1:nexp[3:0] 0:mono_color</comment>
  48798. </bits>
  48799. <bits access="rw" name="bayer_out_sel" pos="2" rst="0x0">
  48800. <comment>1: dpc_out 0: bayer_data</comment>
  48801. </bits>
  48802. <bits access="rw" name="csup_en" pos="3" rst="0x0">
  48803. <comment/>
  48804. </bits>
  48805. <bits access="rw" name="y_gamma_en" pos="5:4" rst="0x3">
  48806. <comment>1: enable 0: disable
  48807. y_gamma_en = is_outdoor ? scg_reg[5] : scg_reg[4]</comment>
  48808. </bits>
  48809. <bits access="rw" name="yuv_sdi_en" pos="6" rst="0x1">
  48810. <comment>1: SDI 0: BT.601</comment>
  48811. </bits>
  48812. <bits access="rw" name="reg92_rd_sel" pos="7" rst="0x0">
  48813. <comment>1: [ae_ok, nexp_sel[1:0], awb_ok, exp[11:8]]
  48814. 0: [ae_ok, 1b0, nexp_sel[1:0], awb_ok, exp[10:8]]
  48815. labview</comment>
  48816. </bits>
  48817. </reg>
  48818. <reg name="y_gamma_b0" protect="rw">
  48819. <bits access="rw" name="y_gamma_b0" pos="7:0" rst="0x0">
  48820. <comment>(0x00)0 (0x00)0 (0x00)0</comment>
  48821. </bits>
  48822. </reg>
  48823. <reg name="y_gamma_b1" protect="rw">
  48824. <bits access="rw" name="y_gamma_b1" pos="7:0" rst="0x10">
  48825. <comment>(0x13)19 (0x10)16 (0x08)8</comment>
  48826. </bits>
  48827. </reg>
  48828. <reg name="y_gamma_b2" protect="rw">
  48829. <bits access="rw" name="y_gamma_b2" pos="7:0" rst="0x1c">
  48830. <comment>(0x20)32 (0x1c)28 (0x10)16</comment>
  48831. </bits>
  48832. </reg>
  48833. <reg name="y_gamma_b4" protect="rw">
  48834. <bits access="rw" name="y_gamma_b4" pos="7:0" rst="0x30">
  48835. <comment>(0x36)54 (0x30)48 (0x20)32</comment>
  48836. </bits>
  48837. </reg>
  48838. <reg name="y_gamma_b6" protect="rw">
  48839. <bits access="rw" name="y_gamma_b6" pos="7:0" rst="0x43">
  48840. <comment>(0x49)73 (0x43)67 (0x30)48</comment>
  48841. </bits>
  48842. </reg>
  48843. <reg name="y_gamma_b8" protect="rw">
  48844. <bits access="rw" name="y_gamma_b8" pos="7:0" rst="0x54">
  48845. <comment>(0x5a)90 (0x54)84 (0x40)64</comment>
  48846. </bits>
  48847. </reg>
  48848. <reg name="y_gamma_b10" protect="rw">
  48849. <bits access="rw" name="y_gamma_b10" pos="7:0" rst="0x65">
  48850. <comment>(0x6b)107 (0x65)101 (0x50)80</comment>
  48851. </bits>
  48852. </reg>
  48853. <reg name="y_gamma_b12" protect="rw">
  48854. <bits access="rw" name="y_gamma_b12" pos="7:0" rst="0x75">
  48855. <comment>(0x7b)123 (0x75)117 (0x60)96</comment>
  48856. </bits>
  48857. </reg>
  48858. <reg name="y_gamma_b16" protect="rw">
  48859. <bits access="rw" name="y_gamma_b16" pos="7:0" rst="0x93">
  48860. <comment>RW(0x98)152 (0x93)147 (0x80)128</comment>
  48861. </bits>
  48862. </reg>
  48863. <reg name="y_gamma_b20" protect="rw">
  48864. <bits access="rw" name="y_gamma_b20" pos="7:0" rst="0xb0">
  48865. <comment>(0xb4)180 (0xb0)176 (0xa0)160</comment>
  48866. </bits>
  48867. </reg>
  48868. <reg name="y_gamma_b24" protect="rw">
  48869. <bits access="rw" name="y_gamma_b24" pos="7:0" rst="0xcb">
  48870. <comment>(0xce)206 (0xcb)203 (0xc0)192</comment>
  48871. </bits>
  48872. </reg>
  48873. <reg name="y_gamma_b28" protect="rw">
  48874. <bits access="rw" name="y_gamma_b28" pos="7:0" rst="0xe6">
  48875. <comment>(0xe7)231 (0xe6)230 (0xe0)224</comment>
  48876. </bits>
  48877. </reg>
  48878. <reg name="y_gamma_b32" protect="rw">
  48879. <bits access="rw" name="y_gamma_b32" pos="7:0" rst="0x0">
  48880. <comment>0.75 0.8 1.0</comment>
  48881. </bits>
  48882. </reg>
  48883. <reg name="r_awb_gain_in" protect="rw">
  48884. <bits access="rw" name="r_awb_gain_in" pos="7:0" rst="0x40">
  48885. <comment>r_gain_manual 2.6 format</comment>
  48886. </bits>
  48887. </reg>
  48888. <reg name="g_awb_gain_in" protect="rw">
  48889. <bits access="rw" name="g_awb_gain_in" pos="7:0" rst="0x40">
  48890. <comment>g_gain_manual 2.6 format</comment>
  48891. </bits>
  48892. </reg>
  48893. <reg name="b_awb_gain_in" protect="rw">
  48894. <bits access="rw" name="b_awb_gain_in" pos="7:0" rst="0x40">
  48895. <comment>b_gain_manual 2.6 format</comment>
  48896. </bits>
  48897. </reg>
  48898. <reg name="r_drc_gain_in" protect="rw">
  48899. <bits access="rw" name="r_drc_gain_in" pos="7:0" rst="0x40">
  48900. <comment>2.6 format</comment>
  48901. </bits>
  48902. </reg>
  48903. <reg name="gr_drc_gain_in" protect="rw">
  48904. <bits access="rw" name="gr_drc_gain_in" pos="7:0" rst="0x40">
  48905. <comment>2.6 format</comment>
  48906. </bits>
  48907. </reg>
  48908. <reg name="gb_drc_gain_in" protect="rw">
  48909. <bits access="rw" name="gb_drc_gain_in" pos="7:0" rst="0x40">
  48910. <comment>2.6 format</comment>
  48911. </bits>
  48912. </reg>
  48913. <reg name="b_drc_gain_in" protect="rw">
  48914. <bits access="rw" name="b_drc_gain_in" pos="7:0" rst="0x40">
  48915. <comment>2.6 format</comment>
  48916. </bits>
  48917. </reg>
  48918. <reg name="ae_ctrl" protect="rw">
  48919. <bits access="rw" name="ana_gain_in" pos="5:0" rst="0x8">
  48920. <comment/>
  48921. </bits>
  48922. <bits access="rw" name="ae_update_en" pos="6" rst="0x1">
  48923. <comment>also update cc_type,gamma_type,is_outdoor</comment>
  48924. </bits>
  48925. <bits access="rw" name="ae_en" pos="7" rst="0x0">
  48926. <comment/>
  48927. </bits>
  48928. </reg>
  48929. <reg name="ae_ctrl2" protect="rw">
  48930. <bits access="rw" name=" awb_adj_sel" pos="1:0" rst="0x1">
  48931. <comment>00: AWB
  48932. 01: AWB
  48933. 10: yaveAWB
  48934. 11: nexpAWB</comment>
  48935. </bits>
  48936. <bits access="rw" name="gap_ae" pos="2" rst="0x0">
  48937. <comment/>
  48938. </bits>
  48939. <bits access="rw" name="gap_be" pos="3" rst="0x0">
  48940. <comment/>
  48941. </bits>
  48942. <bits access="rw" name="ae_action_period" pos="6:4" rst="0x4">
  48943. <comment/>
  48944. </bits>
  48945. <bits access="rw" name="yave_mon_sel" pos="7" rst="0x0">
  48946. <comment>1: mon ae index 0:mon awb_debug</comment>
  48947. </bits>
  48948. </reg>
  48949. <reg name="ae_ctrl3" protect="rw">
  48950. <bits access="rw" name="yave_use_mean" pos="1:0" rst="0x3">
  48951. <comment>0yave 1yave
  48952. 2yave 3yave</comment>
  48953. </bits>
  48954. <bits access="rw" name="yave_diff_thr_reg" pos="3:2" rst="0x1">
  48955. <comment>07/0f/17/1f Yave</comment>
  48956. </bits>
  48957. <bits access="rw" name="yave_sel" pos="5:4" rst="0x2">
  48958. <comment>00: y2ave x1.0 01: y2ave x1.5
  48959. 10: y3ave x1.0 11: y3ave x1.5</comment>
  48960. </bits>
  48961. <bits access="rw" name="yave_plus_bh_mode" pos="6" rst="0x1">
  48962. <comment>1:plus bh 0: only yave</comment>
  48963. </bits>
  48964. <bits access="rw" name="ywave_plus_bh_mode" pos="7" rst="0x1">
  48965. <comment>1:plus bh 0: only ywave</comment>
  48966. </bits>
  48967. </reg>
  48968. <reg name="ae_ctrl4" protect="rw">
  48969. <bits access="rw" name="ae_hist_big_en" pos="0" rst="0x1">
  48970. <comment/>
  48971. </bits>
  48972. <bits access="rw" name="ae_hist_too_big_en" pos="1" rst="0x1">
  48973. <comment/>
  48974. </bits>
  48975. <bits access="rw" name="hist_ofst0" pos="3:2" rst="0x2">
  48976. <comment/>
  48977. </bits>
  48978. <bits access="rw" name="index_ofst0" pos="5:4" rst="0x0">
  48979. <comment/>
  48980. </bits>
  48981. <bits access="rw" name="index_ofst1" pos="7:6" rst="0x0">
  48982. <comment/>
  48983. </bits>
  48984. </reg>
  48985. <reg name="ae_win_start" protect="rw">
  48986. <bits access="rw" name="pcnt_left" pos="3:0" rst="0x2">
  48987. <comment>pcnt_left =[ae_win_start_reg[3:0] ,1'd0]</comment>
  48988. </bits>
  48989. <bits access="rw" name="lcnt_top" pos="7:4" rst="0x2">
  48990. <comment>lcnt_top =[ae_win_start_reg[7:4] ,1'd0]</comment>
  48991. </bits>
  48992. </reg>
  48993. <reg name="ae_win_width" protect="rw">
  48994. <bits access="rw" name="ae_win_width" pos="7:0" rst="0x95">
  48995. <comment>ae(yave) win_width = [ae_win_width[7:0], 2'd0]</comment>
  48996. </bits>
  48997. </reg>
  48998. <reg name="ae_win_height" protect="rw">
  48999. <bits access="rw" name="ae_win_height" pos="7:0" rst="0xdc">
  49000. <comment>ae(yave) ae_win_height = [ae_win_height[7:0], 1'd0]</comment>
  49001. </bits>
  49002. </reg>
  49003. <reg name="exp_init" protect="rw">
  49004. <bits access="rw" name="exp_init" pos="7:0" rst="0x0">
  49005. <comment>exp[7:0](ae_enMCUexp_init[6:0]indexae)</comment>
  49006. </bits>
  49007. </reg>
  49008. <reg name="exp_ceil_init" protect="rw">
  49009. <bits access="rw" name="exp_ceil_init" pos="3:0" rst="0x1">
  49010. <comment>exp[11:8]</comment>
  49011. </bits>
  49012. </reg>
  49013. <reg name="ae_exp_1e" protect="rw">
  49014. <bits access="rw" name="ae_exp_1e" pos="7:0" rst="0x4a">
  49015. <comment>10msexp</comment>
  49016. </bits>
  49017. </reg>
  49018. <reg name="ae_diff_thr" protect="rw">
  49019. <bits access="rw" name="thr2_dark" pos="3:0" rst="0x8">
  49020. <comment>(ytarget)
  49021. THR_dark(reg41)
  49022. THR22index1
  49023. THR24index2
  49024. THR26index4+ofst0
  49025. THR28index8+ofst1
  49026. index16</comment>
  49027. </bits>
  49028. <bits access="rw" name="thr2_bright" pos="7:4" rst="0x8">
  49029. <comment>(ytarget)
  49030. THR_bright(reg41)
  49031. THR22index1
  49032. THR24index2
  49033. THR26index4+ofst0
  49034. THR28index8+ofst1
  49035. index16</comment>
  49036. </bits>
  49037. </reg>
  49038. <reg name="ae_bh_sel" protect="rw">
  49039. <bits access="rw" name="bh_factor_indoor" pos="2:0" rst="0x3">
  49040. <comment/>
  49041. </bits>
  49042. <bits access="rw" name="bh_factor_outdoor" pos="5:3" rst="0x2">
  49043. <comment>Bh = Bh_mean * bh_factor /8
  49044. bh_factor = is_outdoor? bh_factor_outdoor : bh_factor_indoor</comment>
  49045. </bits>
  49046. <bits access="rw" name="bh_mean_sel" pos="7:6" rst="0x2">
  49047. <comment>00: curr frame 01: 2 frame ave
  49048. 10: 3 frame ave 11: 4 frame ave</comment>
  49049. </bits>
  49050. </reg>
  49051. <reg name="awb_ctrl" protect="rw">
  49052. <bits access="rw" name="awb_sw_mon_en" pos="0" rst="0x0">
  49053. <comment>awb_mon_out[7:0][cbsum_abs_eq, crsum_abs_eq]SWAWB</comment>
  49054. </bits>
  49055. <bits access="rw" name="fast_2x" pos="1" rst="0x0">
  49056. <comment>2.0xr/b</comment>
  49057. </bits>
  49058. <bits access="rw" name="fast_4x" pos="2" rst="0x0">
  49059. <comment>4.0xr/b</comment>
  49060. </bits>
  49061. <bits access="rw" name="awb_action_period" pos="5:3" rst="0x4">
  49062. <comment>0: 1frame or 2frame</comment>
  49063. </bits>
  49064. <bits access="rw" name="awb_update_en" pos="6" rst="0x1">
  49065. <comment/>
  49066. </bits>
  49067. <bits access="rw" name="awb_en" pos="7" rst="0x0">
  49068. <comment/>
  49069. </bits>
  49070. </reg>
  49071. <reg name="awb_ctrl2" protect="rw">
  49072. <bits access="rw" name="awb_mon_sel" pos="2:0" rst="0x0">
  49073. <comment>[ 2] 0:readback blc 1: readback awb
  49074. [1:0] 0: crsum_abs 1:cbsum_abs
  49075. 2: vld_cnt 3:awb_idx_lmax and max</comment>
  49076. </bits>
  49077. <bits access="rw" name="awb_vld_sel" pos="3" rst="0x0">
  49078. <comment>AWB</comment>
  49079. </bits>
  49080. <bits access="rw" name="awb_vld_mode" pos="6:4" rst="0x0">
  49081. <comment>3'd0:awb_vld=vld_max||(vld_lmax and awb_ratio_lmax);
  49082. 3'd1: awb_vld = awb_vld1;
  49083. 3'd2: awb_vld = awb_vld2;
  49084. 3'd3: awb_vld = awb_vld3;
  49085. 3'd4: awb_vld = awb_vld4;
  49086. 3'd5: awb_vld = awb_vld5;
  49087. 3'd6: awb_vld =!skin_vld;
  49088. 3'd7: awb_vld = awb_vld1|awb_vld2|awb_vld3| awb_vld4 | awb_vld5;</comment>
  49089. </bits>
  49090. <bits access="ro" name="awb_adj" pos="7" rst="0x0">
  49091. <comment/>
  49092. </bits>
  49093. </reg>
  49094. <reg name="awb_y_max" protect="rw">
  49095. <bits access="rw" name="awb_y_max" pos="7:0" rst="0xf0">
  49096. <comment>Y Y_maxAWB</comment>
  49097. </bits>
  49098. </reg>
  49099. <reg name="awb_stop" protect="rw">
  49100. <bits access="rw" name="awb_stop_cb_neg_level" pos="1:0" rst="0x1">
  49101. <comment>Levelawb_stop</comment>
  49102. </bits>
  49103. <bits access="rw" name="awb_stop_cb_pos_level" pos="3:2" rst="0x1">
  49104. <comment>Levelawb_stop</comment>
  49105. </bits>
  49106. <bits access="rw" name="awb_stop_cr_neg_level" pos="5:4" rst="0x1">
  49107. <comment>Levelawb_stop</comment>
  49108. </bits>
  49109. <bits access="rw" name="awb_stop_cr_pos_level" pos="7:6" rst="0x1">
  49110. <comment>Levelawb_stop</comment>
  49111. </bits>
  49112. </reg>
  49113. <reg name="awb_algo" protect="rw">
  49114. <bits access="rw" name="awb_algo" pos="7:0" rst="0x80">
  49115. <comment>[7:0]awb_algo_thr
  49116. Y &gt; cr_abs+cb_abs+awb_algo_reg
  49117. //</comment>
  49118. </bits>
  49119. </reg>
  49120. <reg name="awb_ctrl3" protect="rw">
  49121. <bits access="rw" name="cr_ofst_lt1x" pos="0" rst="0x0">
  49122. <comment/>
  49123. </bits>
  49124. <bits access="rw" name="cr_ofst_gt1x" pos="1" rst="0x1">
  49125. <comment/>
  49126. </bits>
  49127. <bits access="rw" name="cb_ofst_lt1x" pos="2" rst="0x0">
  49128. <comment/>
  49129. </bits>
  49130. <bits access="rw" name="cb_ofst_gt1x" pos="3" rst="0x1">
  49131. <comment/>
  49132. </bits>
  49133. <bits access="rw" name="awb_sum_vld_sel" pos="4" rst="0x0">
  49134. <comment>0: (vld_cntawb_vld_thr)
  49135. 1: (vld_cntawb_vld_thr)and(crsum_absawb_vld_thr)and(cbsum_absawb_vld_thr)</comment>
  49136. </bits>
  49137. <bits access="rw" name="awb_stop_sel_reg" pos="5" rst="0x1">
  49138. <comment>0: awb_stopcb/cr
  49139. 1:</comment>
  49140. </bits>
  49141. <bits access="rw" name="awb_skin_sel" pos="6" rst="0x0">
  49142. <comment>0: use CTD block to detect skin
  49143. 1: use cb,cr to detect skin</comment>
  49144. </bits>
  49145. <bits access="rw" name="awb_algo_mode" pos="7" rst="0x1">
  49146. <comment>0: cb+cr
  49147. 1: cb/cr</comment>
  49148. </bits>
  49149. </reg>
  49150. <reg name="awb_ctrl4" protect="rw">
  49151. <bits access="rw" name="awb_ctrl4" pos="7:0" rst="0x10">
  49152. <comment>awb_vld_thr = [awb_ctrl4[7:0], 4'hf]</comment>
  49153. </bits>
  49154. </reg>
  49155. <reg name="dig_gain_in" protect="rw">
  49156. <bits access="rw" name="dig_gain_in" pos="7:0" rst="0x40">
  49157. <comment/>
  49158. </bits>
  49159. </reg>
  49160. <reg name="y_init_thr" protect="rw">
  49161. <bits access="rw" name="y_init_mode" pos="0" rst="0x1">
  49162. <comment>1: 0</comment>
  49163. </bits>
  49164. <bits access="rw" name="y_low_en" pos="1" rst="0x1">
  49165. <comment/>
  49166. </bits>
  49167. <bits access="rw" name="y_high_en" pos="2" rst="0x1">
  49168. <comment/>
  49169. </bits>
  49170. <bits access="rw" name="y_low_thr" pos="7:3" rst="0x8">
  49171. <comment>y_low_thr = [1h0, y_thr_reg[7:3], 2'h0]
  49172. y_high_thr = ~y_low_thr</comment>
  49173. </bits>
  49174. </reg>
  49175. <reg name="y_ave_target" protect="rw">
  49176. <bits access="rw" name="y_ave_target" pos="7:0" rst="0x78">
  49177. <comment/>
  49178. </bits>
  49179. </reg>
  49180. <reg name="y_lmt_offset" protect="rw">
  49181. <bits access="rw" name="y_low_limit" pos="2:0" rst="0x5">
  49182. <comment>Only for awb_adj, yaveAWB
  49183. y_low_limit = y_ave_target - [y_lmt_offset_reg[2:0],4'd0]</comment>
  49184. </bits>
  49185. <bits access="rw" name="y_lmt_ofst" pos="3" rst="0x0">
  49186. <comment>not used here</comment>
  49187. </bits>
  49188. <bits access="rw" name="y_high_limit" pos="6:4" rst="0x6">
  49189. <comment>Only for awb_adj, yaveAWB
  49190. y_high_limit = y_ave_target+ [y_lmt_offset_reg[6:4],4'd0]</comment>
  49191. </bits>
  49192. </reg>
  49193. <reg name="again_sel_th2" protect="rw">
  49194. <bits access="rw" name="ynr_gain_low_th" pos="2:0" rst="0x4">
  49195. <comment>nexp=low_th</comment>
  49196. </bits>
  49197. <bits access="rw" name="again_sel_th2" pos="3" rst="0x0">
  49198. <comment>not used here</comment>
  49199. </bits>
  49200. <bits access="rw" name="ynr_gain_hi_th" pos="6:4" rst="0x3">
  49201. <comment>nexp&gt;(8+high_th)</comment>
  49202. </bits>
  49203. </reg>
  49204. <reg name="yave_target_chg1" protect="rw">
  49205. <bits access="rw" name="yave_target_ofst_l" pos="3:0" rst="0x4">
  49206. <comment>yave_target (yave_target0)</comment>
  49207. </bits>
  49208. <bits access="rw" name="yave_target_ofst_h" pos="7:4" rst="0x8">
  49209. <comment>yave_target (yave_target0)</comment>
  49210. </bits>
  49211. </reg>
  49212. <reg name="image_eff_reg" protect="rw">
  49213. <bits access="rw" name="grey_en" pos="0" rst="0x0">
  49214. <comment/>
  49215. </bits>
  49216. <bits access="rw" name="sepia_en" pos="1" rst="0x0">
  49217. <comment/>
  49218. </bits>
  49219. <bits access="rw" name="negative_en" pos="2" rst="0x0">
  49220. <comment/>
  49221. </bits>
  49222. <bits access="rw" name="color_bar_en" pos="3" rst="0x0">
  49223. <comment/>
  49224. </bits>
  49225. <bits access="rw" name="image_eff_rsvd" pos="4" rst="0x0">
  49226. <comment>not used here</comment>
  49227. </bits>
  49228. <bits access="rw" name="reg93_sel" pos="5" rst="0x0">
  49229. <comment>1reg93vbright_hist</comment>
  49230. </bits>
  49231. <bits access="rw" name="reg94_sel" pos="6" rst="0x0">
  49232. <comment>1reg94vdark_hist</comment>
  49233. </bits>
  49234. <bits access="rw" name="sharp_mon" pos="7" rst="0x0">
  49235. <comment>display edge pixel for sharpness</comment>
  49236. </bits>
  49237. </reg>
  49238. <reg name="ywave_out" protect="ro">
  49239. <bits access="ro" name="ywave_out" pos="7:0" rst="0x0">
  49240. <comment>Ywave+bhist histYwave</comment>
  49241. </bits>
  49242. </reg>
  49243. <reg name="ae_bright_hist" protect="ro">
  49244. <bits access="ro" name="ae_bright_hist" pos="7:0" rst="0x0">
  49245. <comment>bright hist</comment>
  49246. </bits>
  49247. </reg>
  49248. <reg name="yave_out" protect="ro">
  49249. <bits access="ro" name="yave_out" pos="7:0" rst="0x0">
  49250. <comment>Yave+bhisthistYave</comment>
  49251. </bits>
  49252. </reg>
  49253. <reg name="exp_out" protect="ro">
  49254. <bits access="ro" name="exp_out" pos="7:0" rst="0x0">
  49255. <comment/>
  49256. </bits>
  49257. </reg>
  49258. <reg name="misc_out" protect="ro">
  49259. <bits access="ro" name="exp_out_h" pos="2:0" rst="0x1">
  49260. <comment>exp_out[10:8]</comment>
  49261. </bits>
  49262. <bits access="ro" name="awb_ok" pos="3" rst="0x0">
  49263. <comment/>
  49264. </bits>
  49265. <bits access="ro" name="nexp_sel" pos="5:4" rst="0x0">
  49266. <comment>nexp_selbnr/dpc/int_dif</comment>
  49267. </bits>
  49268. <bits access="ro" name="fixed_0" pos="6" rst="0x0">
  49269. <comment/>
  49270. </bits>
  49271. <bits access="ro" name="ae_ok" pos="7" rst="0x0">
  49272. <comment/>
  49273. </bits>
  49274. </reg>
  49275. <reg name="awb_debug_out" protect="ro">
  49276. <bits access="ro" name="awb_crgt" pos="1:0" rst="0x0">
  49277. <comment>00: cr_lt_1x 01: cr_gt_1x
  49278. 10: cr_gt_2x 11: cr_gt_4x</comment>
  49279. </bits>
  49280. <bits access="ro" name="awb_cbgt" pos="3:2" rst="0x0">
  49281. <comment>00: cb_lt_1x 01: cb_gt_1x
  49282. 10: cb_gt_2x 11: cb_gt_4x</comment>
  49283. </bits>
  49284. <bits access="ro" name="awb_crsum_sign" pos="4" rst="0x0">
  49285. <comment>0:crsum (5R B+4G)
  49286. 1:crsum (5R B+4G)</comment>
  49287. </bits>
  49288. <bits access="ro" name="awb_cbsum_sign" pos="5" rst="0x0">
  49289. <comment>0:cbsum (3B R+2G)
  49290. 1:cbsum (3B R+2G)</comment>
  49291. </bits>
  49292. <bits access="ro" name="awb_cbcr" pos="6" rst="0x0">
  49293. <comment>0: crsum_abs cbsum_abs (crsum)
  49294. 1: crsum_abs cbsum_abs (cbsum)</comment>
  49295. </bits>
  49296. <bits access="ro" name="awb_sum_vld" pos="7" rst="0x0">
  49297. <comment>ae_index
  49298. Note: regd[5]? ae_vbright_hist :
  49299. reg75[7]? ae_index[6:0] : awb_debug;</comment>
  49300. </bits>
  49301. </reg>
  49302. <reg name="mono_color" protect="ro">
  49303. <bits access="ro" name="mono_color" pos="7:0" rst="0x0">
  49304. <comment>YUVnexp vdark_hist
  49305. Note: regd[6]? ae_vdark_hist :
  49306. reg5F[1]? nexp[3:0] : mono_color</comment>
  49307. </bits>
  49308. </reg>
  49309. <reg name="r_awb_gain" protect="ro">
  49310. <bits access="ro" name="r_awb_gain" pos="7:0" rst="0x40">
  49311. <comment/>
  49312. </bits>
  49313. </reg>
  49314. <reg name="b_awb_gain" protect="ro">
  49315. <bits access="ro" name="b_awb_gain" pos="7:0" rst="0x40">
  49316. <comment/>
  49317. </bits>
  49318. </reg>
  49319. <reg name="misc_status" protect="ro">
  49320. <bits access="ro" name="ana_gain_out" pos="5:0" rst="0x0">
  49321. <comment/>
  49322. </bits>
  49323. <bits access="ro" name="cc_type" pos="6" rst="0x0">
  49324. <comment/>
  49325. </bits>
  49326. <bits access="ro" name="is_outdoor" pos="7" rst="0x0">
  49327. <comment/>
  49328. </bits>
  49329. </reg>
  49330. <reg name="yave_contr" protect="ro">
  49331. <bits access="ro" name="yave_contr" pos="7:0" rst="0x0">
  49332. <comment>yavehist
  49333. Vbh_sel[1]? Yave_contr_reg :
  49334. Vbh_sel[0]? Yave_target_RO_reg : ae_dark_hist
  49335. NoteVbh_sel[1:0] = reg3d[7:6]</comment>
  49336. </bits>
  49337. </reg>
  49338. <reg name="gamma_type" protect="rw">
  49339. <bits access="rw" name="gamma_type_mode" pos="2:0" rst="0x2">
  49340. <comment>3d0: gamma_type=0
  49341. 3d1: gamma_type=1
  49342. 3d2: gamma_type=is_outdoor
  49343. 3d3: gamma_type=ana_gain&gt;=gamma_gain_th
  49344. default:gamma_type=gamma_type_sw</comment>
  49345. </bits>
  49346. <bits access="rw" name="gamma_gain_hi_th" pos="5:3" rst="0x4">
  49347. <comment>nexp&gt;(8+high_th)</comment>
  49348. </bits>
  49349. <bits access="rw" name="vgas" pos="7:6" rst="0x3">
  49350. <comment>00:QVGA 240x320 01:QVGA 320x240
  49351. 10:CIF 352x288 11:VGA 640x480</comment>
  49352. </bits>
  49353. </reg>
  49354. <reg name="blc_line" protect="rw">
  49355. <bits access="rw" name="blc_line" pos="7:0" rst="0x0">
  49356. <comment>line_sel = [line_init_H, blc_line_reg[7:0]]</comment>
  49357. </bits>
  49358. </reg>
  49359. <reg name="lsc_xx" protect="rw">
  49360. <bits access="rw" name="x_low" pos="3:0" rst="0x8">
  49361. <comment>lsc gain@</comment>
  49362. </bits>
  49363. <bits access="rw" name="x_high" pos="7:4" rst="0x8">
  49364. <comment>lsc gain@</comment>
  49365. </bits>
  49366. </reg>
  49367. <reg name="lsc_blc_gain_th" protect="rw">
  49368. <bits access="rw" name="lsc_gain_low_th" pos="2:0" rst="0x4">
  49369. <comment>nexp=low_th</comment>
  49370. </bits>
  49371. <bits access="rw" name="lsc_gain_hi_th" pos="5:3" rst="0x3">
  49372. <comment>nexp&gt;(8+high_th)</comment>
  49373. </bits>
  49374. <bits access="rw" name="csup_gain_low_th" pos="7:6" rst="0x0">
  49375. <comment>low_th = [csup_gain_low_th_H, [7:6]](nexp=low_th)</comment>
  49376. </bits>
  49377. </reg>
  49378. <reg name="blc_ctrl" protect="rw">
  49379. <bits access="rw" name="blc_out_mode" pos="1:0" rst="0x0">
  49380. <comment>2'd0: [blc_out0_reg,blc_out1_reg] = [blc_00, blc_01]
  49381. 2'd1: [blc_out0_reg,blc_out1_reg] = [blc_10, blc_11]
  49382. 2'd2: [blc_out0_reg,blc_out1_reg] = [blc_00, blc_10]
  49383. 2'd3: [blc_out0_reg,blc_out1_reg] = [blc_00, blc_11]</comment>
  49384. </bits>
  49385. <bits access="rw" name="line_init_h" pos="2" rst="0x0">
  49386. <comment/>
  49387. </bits>
  49388. <bits access="rw" name="blc_ofst_sign" pos="3" rst="0x0">
  49389. <comment>0: plus 1: minus</comment>
  49390. </bits>
  49391. <bits access="rw" name="blc_mode" pos="5:4" rst="0x0">
  49392. <comment>00: 1frame 01: 2frame ave
  49393. 10: 3frame ave 11: 4frame ave</comment>
  49394. </bits>
  49395. <bits access="rw" name="blc_sel" pos="6" rst="0x0">
  49396. <comment/>
  49397. </bits>
  49398. <bits access="rw" name="blc_en" pos="7" rst="0x0">
  49399. <comment/>
  49400. </bits>
  49401. </reg>
  49402. <reg name="blc_init" protect="rw">
  49403. <bits access="rw" name="blc00_ofst" pos="3:0" rst="0x0">
  49404. <comment>blc00_ofst =[blc_init_reg[3:0] , 1'b0]</comment>
  49405. </bits>
  49406. <bits access="rw" name="blc01_ofst" pos="7:4" rst="0x0">
  49407. <comment>blc01_ofst =[blc_init_reg[7:4] , 1'b0]</comment>
  49408. </bits>
  49409. </reg>
  49410. <reg name="blc_offset" protect="rw">
  49411. <bits access="rw" name="blc10_ofst" pos="3:0" rst="0x0">
  49412. <comment>blc10_ofst =[blc_offset_reg[3:0] , 1'b0]</comment>
  49413. </bits>
  49414. <bits access="rw" name="blc11_ofst" pos="7:4" rst="0x0">
  49415. <comment>blc11_ofst =[blc_offset_reg[7:4] , 1'b0]</comment>
  49416. </bits>
  49417. </reg>
  49418. <reg name="blc_thr" protect="rw">
  49419. <bits access="rw" name="blc_thr" pos="5:0" rst="0x3e">
  49420. <comment>High limit of black level pixel
  49421. blcofst</comment>
  49422. </bits>
  49423. </reg>
  49424. <reg name="lsc_xy_cent" protect="rw">
  49425. <bits access="rw" name="y_cent" pos="3:0" rst="0x4">
  49426. <comment>y_cent=[3:0]+240</comment>
  49427. </bits>
  49428. <bits access="rw" name="x_cent" pos="7:4" rst="0x4">
  49429. <comment>x_cent=[7:4]+320</comment>
  49430. </bits>
  49431. </reg>
  49432. <reg name="cnr_dif_thr" protect="rw">
  49433. <bits access="rw" name="cnr_v_en" pos="0" rst="0x1">
  49434. <comment>CNR</comment>
  49435. </bits>
  49436. <bits access="rw" name="cnr_h_en" pos="1" rst="0x1">
  49437. <comment>CNR</comment>
  49438. </bits>
  49439. <bits access="rw" name="vcnr_sel" pos="2" rst="0x1">
  49440. <comment>1: 0:</comment>
  49441. </bits>
  49442. <bits access="rw" name="edge_mon" pos="3" rst="0x0">
  49443. <comment>edge monitor</comment>
  49444. </bits>
  49445. <bits access="rw" name="awb_skin_mode" pos="6:4" rst="0x0">
  49446. <comment>3d0: never skip 3d1: skip 2/8 skin point
  49447. 3d2: skip 3/8 skin point 3d3: skip 4/8 skin point
  49448. 3d4: skip 5/8 skin point 3d5: skip 6/8 skin point
  49449. 3d6: skip 7/8 skin point 3d7: skip 8/8 skin point</comment>
  49450. </bits>
  49451. <bits access="ro" name="gamma_type" pos="7" rst="0x0">
  49452. <comment/>
  49453. </bits>
  49454. </reg>
  49455. <reg name="cnr_thr" protect="rw">
  49456. <bits access="rw" name="cnr_thr_v" pos="2:0" rst="0x0">
  49457. <comment>cnr_thr_v = [cnr_thr[2:0], 2'd3]</comment>
  49458. </bits>
  49459. <bits access="rw" name="edge_en_v" pos="3" rst="0x0">
  49460. <comment>enable</comment>
  49461. </bits>
  49462. <bits access="rw" name="cnr_thr_h" pos="6:4" rst="0x0">
  49463. <comment>cnr_thr_h = [cnr_thr[6:4], 2'd3]</comment>
  49464. </bits>
  49465. <bits access="rw" name="edge_en_h" pos="7" rst="0x0">
  49466. <comment>enable</comment>
  49467. </bits>
  49468. </reg>
  49469. <reg name="gamma_ctrl" protect="rw">
  49470. <bits access="rw" name="gamma_p_id " pos="0" rst="0x0">
  49471. <comment/>
  49472. </bits>
  49473. <bits access="rw" name="gamma_l_id " pos="1" rst="0x0">
  49474. <comment/>
  49475. </bits>
  49476. <bits access="rw" name="gamma_en_non_outdoor" pos="2" rst="0x1">
  49477. <comment/>
  49478. </bits>
  49479. <bits access="rw" name="gamma_en_outdoor" pos="3" rst="0x0">
  49480. <comment/>
  49481. </bits>
  49482. <bits access="rw" name="lsc_p_id" pos="4" rst="0x0">
  49483. <comment/>
  49484. </bits>
  49485. <bits access="rw" name="lsc_l_id" pos="5" rst="0x0">
  49486. <comment/>
  49487. </bits>
  49488. <bits access="rw" name="lsc_en_non_outdoor" pos="6" rst="0x0">
  49489. <comment/>
  49490. </bits>
  49491. <bits access="rw" name="lsc_en_outdoor" pos="7" rst="0x1">
  49492. <comment/>
  49493. </bits>
  49494. </reg>
  49495. <reg name="bayer_gamma_b0" protect="rw">
  49496. <bits access="rw" name="bayer_gamma_b0" pos="7:0" rst="0x0">
  49497. <comment/>
  49498. </bits>
  49499. </reg>
  49500. <reg name="bayer_gamma_b1" protect="rw">
  49501. <bits access="rw" name="bayer_gamma_b1" pos="7:0" rst="0x9">
  49502. <comment/>
  49503. </bits>
  49504. </reg>
  49505. <reg name="bayer_gamma_b2" protect="rw">
  49506. <bits access="rw" name="bayer_gamma_b2" pos="7:0" rst="0x10">
  49507. <comment/>
  49508. </bits>
  49509. </reg>
  49510. <reg name="bayer_gamma_b3" protect="rw">
  49511. <bits access="rw" name="bayer_gamma_b3" pos="7:0" rst="0x16">
  49512. <comment/>
  49513. </bits>
  49514. </reg>
  49515. <reg name="bayer_gamma_b4" protect="rw">
  49516. <bits access="rw" name="bayer_gamma_b4" pos="7:0" rst="0x1c">
  49517. <comment/>
  49518. </bits>
  49519. </reg>
  49520. <reg name="bayer_gamma_b6" protect="rw">
  49521. <bits access="rw" name="bayer_gamma_b6" pos="7:0" rst="0x27">
  49522. <comment/>
  49523. </bits>
  49524. </reg>
  49525. <reg name="bayer_gamma_b8" protect="rw">
  49526. <bits access="rw" name="bayer_gamma_b8" pos="7:0" rst="0x30">
  49527. <comment/>
  49528. </bits>
  49529. </reg>
  49530. <reg name="bayer_gamma_b10" protect="rw">
  49531. <bits access="rw" name="bayer_gamma_b10" pos="7:0" rst="0x3a">
  49532. <comment/>
  49533. </bits>
  49534. </reg>
  49535. <reg name="bayer_gamma_b12" protect="rw">
  49536. <bits access="rw" name="bayer_gamma_b12" pos="7:0" rst="0x43">
  49537. <comment/>
  49538. </bits>
  49539. </reg>
  49540. <reg name="bayer_gamma_b16" protect="rw">
  49541. <bits access="rw" name="bayer_gamma_b16" pos="7:0" rst="0x54">
  49542. <comment/>
  49543. </bits>
  49544. </reg>
  49545. <reg name="bayer_gamma_b20" protect="rw">
  49546. <bits access="rw" name="bayer_gamma_b20" pos="7:0" rst="0x65">
  49547. <comment/>
  49548. </bits>
  49549. </reg>
  49550. <reg name="bayer_gamma_b24" protect="rw">
  49551. <bits access="rw" name="bayer_gamma_b24" pos="7:0" rst="0x75">
  49552. <comment/>
  49553. </bits>
  49554. </reg>
  49555. <reg name="bayer_gamma_b28" protect="rw">
  49556. <bits access="rw" name="bayer_gamma_b28" pos="7:0" rst="0x84">
  49557. <comment/>
  49558. </bits>
  49559. </reg>
  49560. <reg name="bayer_gamma_b32" protect="rw">
  49561. <bits access="rw" name="bayer_gamma_b32" pos="7:0" rst="0x93">
  49562. <comment/>
  49563. </bits>
  49564. </reg>
  49565. <reg name="bayer_gamma_b36" protect="rw">
  49566. <bits access="rw" name="bayer_gamma_b36" pos="7:0" rst="0xa1">
  49567. <comment/>
  49568. </bits>
  49569. </reg>
  49570. <reg name="bayer_gamma_b40" protect="rw">
  49571. <bits access="rw" name="bayer_gamma_b40" pos="7:0" rst="0xb0">
  49572. <comment/>
  49573. </bits>
  49574. </reg>
  49575. <reg name="bayer_gamma_b48" protect="rw">
  49576. <bits access="rw" name="bayer_gamma_b48" pos="7:0" rst="0xcb">
  49577. <comment/>
  49578. </bits>
  49579. </reg>
  49580. <reg name="bayer_gamma_b56" protect="rw">
  49581. <bits access="rw" name="bayer_gamma_b56" pos="7:0" rst="0xe6">
  49582. <comment/>
  49583. </bits>
  49584. </reg>
  49585. <reg name="bayer_gamma_b64" protect="rw">
  49586. <bits access="rw" name="bayer_gamma_b64" pos="7:0" rst="0x0">
  49587. <comment/>
  49588. </bits>
  49589. </reg>
  49590. <reg name="blc_out0" protect="ro">
  49591. <bits access="ro" name="blc_out0" pos="7:0" rst="0x0">
  49592. <comment>~awb_mon_sel? blc_out0_reg : kukl_sel ? kl : awb_mon_out[7:0]</comment>
  49593. </bits>
  49594. </reg>
  49595. <reg name="blc_out1" protect="ro">
  49596. <bits access="ro" name="blc_out1" pos="7:0" rst="0x0">
  49597. <comment>~awb_mon_sel? blc_out1_reg : kukl_sel ? ku : awb_mon_out[15:8]
  49598. Note: awb_mon_sel = reg1[2] Kukl_sel = reg5F[0]</comment>
  49599. </bits>
  49600. </reg>
  49601. <reg name="dpc_ctrl_0" protect="rw">
  49602. <bits access="rw" name="dpc_on" pos="0" rst="0x1">
  49603. <comment>dpc on</comment>
  49604. </bits>
  49605. <bits access="rw" name="adp_med_sel" pos="1" rst="0x0">
  49606. <comment>1: median 0:adp_median
  49607. sel=(nexp[3:0]&gt;dpc_ctrl0[3:2])? 1 : dpc_ctrl0[1]
  49608. This adp_med is used in int_dif_data and nrf_data_out</comment>
  49609. </bits>
  49610. <bits access="rw" name="ana_gain_cmp" pos="3:2" rst="0x2">
  49611. <comment/>
  49612. </bits>
  49613. <bits access="rw" name="rsvd" pos="4" rst="0x0">
  49614. <comment>not used here</comment>
  49615. </bits>
  49616. <bits access="rw" name="nrf_gaus_sel" pos="5" rst="0x0">
  49617. <comment>1:gausian filter 0:median filter</comment>
  49618. </bits>
  49619. <bits access="rw" name="bayer_nr_on" pos="6" rst="0x0">
  49620. <comment>bayer nr on</comment>
  49621. </bits>
  49622. <bits access="rw" name="cc_on" pos="7" rst="0x0">
  49623. <comment>cc on</comment>
  49624. </bits>
  49625. </reg>
  49626. <reg name="dpc_ctrl_1" protect="rw">
  49627. <bits access="rw" name="int_flg_cmp" pos="1:0" rst="0x1">
  49628. <comment>00: always not meet
  49629. 01: all round point must meet
  49630. 10: can be one except point
  49631. 11: can be two except point</comment>
  49632. </bits>
  49633. <bits access="rw" name="abs_sign_all_cmp" pos="3:2" rst="0x3">
  49634. <comment>00: can be three sign diff with other
  49635. 01: can be two sign diff with other
  49636. 10: can be one sign diff with other
  49637. 11: 8 same sign</comment>
  49638. </bits>
  49639. <bits access="rw" name="int_dif_sel" pos="4" rst="0x0">
  49640. <comment>1: gausian filter 0:median filter</comment>
  49641. </bits>
  49642. </reg>
  49643. <reg name="y_thr_lo" protect="rw">
  49644. <bits access="rw" name="y_thr_lo" pos="7:0" rst="0x12">
  49645. <comment>Y_thr @</comment>
  49646. </bits>
  49647. </reg>
  49648. <reg name="y_thr_mid" protect="rw">
  49649. <bits access="rw" name="y_thr_mid" pos="7:0" rst="0x18">
  49650. <comment>Y_thr @mid</comment>
  49651. </bits>
  49652. </reg>
  49653. <reg name="y_thr_hi" protect="rw">
  49654. <bits access="rw" name="y_thr_hi" pos="7:0" rst="0x18">
  49655. <comment>Y_thr @</comment>
  49656. </bits>
  49657. </reg>
  49658. <reg name="intp_cfa_hv" protect="rw">
  49659. <bits access="rw" name="cfa_v_thr_l" pos="2:0" rst="0x0">
  49660. <comment>cfa_v_thr[2:0]</comment>
  49661. </bits>
  49662. <bits access="rw" name="rsvd1" pos="3" rst="0x0">
  49663. <comment>not used here</comment>
  49664. </bits>
  49665. <bits access="rw" name="cfa_h_thr_l" pos="6:4" rst="0x0">
  49666. <comment>cfa_h_thr[2:0]</comment>
  49667. </bits>
  49668. <bits access="rw" name="rsvd2" pos="7" rst="0x0">
  49669. <comment>not used here</comment>
  49670. </bits>
  49671. </reg>
  49672. <reg name="manual_adj" protect="rw">
  49673. <bits access="rw" name="b_gain_adj" pos="0" rst="0x0">
  49674. <comment/>
  49675. </bits>
  49676. <bits access="rw" name="g_gain_adj" pos="1" rst="0x0">
  49677. <comment/>
  49678. </bits>
  49679. <bits access="rw" name="r_gain_adj" pos="2" rst="0x0">
  49680. <comment/>
  49681. </bits>
  49682. <bits access="rw" name="ana_gain_adj" pos="3" rst="0x0">
  49683. <comment/>
  49684. </bits>
  49685. <bits access="rw" name="adj_direction" pos="4" rst="0x0">
  49686. <comment>0: inc 1:dec</comment>
  49687. </bits>
  49688. <bits access="rw" name="index_manual_adj" pos="5" rst="0x0">
  49689. <comment/>
  49690. </bits>
  49691. <bits access="rw" name="in_capture_awb" pos="6" rst="0x0">
  49692. <comment/>
  49693. </bits>
  49694. <bits access="rw" name="in_capture_ae" pos="7" rst="0x0">
  49695. <comment/>
  49696. </bits>
  49697. </reg>
  49698. <reg name="dpc_int_thr_lo" protect="rw">
  49699. <bits access="rw" name="dpc_int_thr_lo" pos="7:0" rst="0x10">
  49700. <comment/>
  49701. </bits>
  49702. </reg>
  49703. <reg name="dpc_int_thr_hi" protect="rw">
  49704. <bits access="rw" name="dpc_int_thr_hi" pos="7:0" rst="0x30">
  49705. <comment/>
  49706. </bits>
  49707. </reg>
  49708. <reg name="again_sel_th1" protect="rw">
  49709. <bits access="rw" name="bnr_gain_low_th" pos="2:0" rst="0x4">
  49710. <comment>nexp=low_th @bnr/dpc/int_dif/sharp/cnr</comment>
  49711. </bits>
  49712. <bits access="rw" name="again_sel_th1_rsvd" pos="3" rst="0x0">
  49713. <comment>not used here</comment>
  49714. </bits>
  49715. <bits access="rw" name="bnr_gain_hi_th" pos="6:4" rst="0x3">
  49716. <comment>nexp&gt;(8+high_th) @bnr/dpc/int_dif/sharp/cnr</comment>
  49717. </bits>
  49718. </reg>
  49719. <reg name="dpc_nr_lf_str_lo" protect="rw">
  49720. <bits access="rw" name="dpc_nr_lf_str_lo" pos="7:0" rst="0x80">
  49721. <comment>bnr low frequency str @Low gain @
  49722. (ff)</comment>
  49723. </bits>
  49724. </reg>
  49725. <reg name="dpc_nr_hf_str_lo" protect="rw">
  49726. <bits access="rw" name="dpc_nr_hf_str_lo" pos="7:0" rst="0x10">
  49727. <comment>bnr high frequency str @Low gain
  49728. (ff)</comment>
  49729. </bits>
  49730. </reg>
  49731. <reg name="dpc_nr_area_thr_lo" protect="rw">
  49732. <bits access="rw" name="dpc_nr_area_thr_lo" pos="7:0" rst="0x80">
  49733. <comment>4.4 format, 16x ~ 1/16x @Low gain
  49734. HF</comment>
  49735. </bits>
  49736. </reg>
  49737. <reg name="dpc_nr_lf_str_mid" protect="rw">
  49738. <bits access="rw" name="dpc_nr_lf_str_mid" pos="7:0" rst="0xa0">
  49739. <comment>bnr low frequency str @Mid gain
  49740. (ff)</comment>
  49741. </bits>
  49742. </reg>
  49743. <reg name="dpc_nr_hf_str_mid" protect="rw">
  49744. <bits access="rw" name="dpc_nr_hf_str_mid" pos="7:0" rst="0x20">
  49745. <comment>bnr high frequency str @Mid gain
  49746. (ff)</comment>
  49747. </bits>
  49748. </reg>
  49749. <reg name="dpc_nr_area_thr_mid" protect="rw">
  49750. <bits access="rw" name="dpc_nr_area_thr_mid" pos="7:0" rst="0x80">
  49751. <comment>4.4 format, 16x ~ 1/16x @Mid gain
  49752. HF</comment>
  49753. </bits>
  49754. </reg>
  49755. <reg name="dpc_nr_lf_str_hi" protect="rw">
  49756. <bits access="rw" name="dpc_nr_lf_str_hi" pos="7:0" rst="0xc0">
  49757. <comment>bnr low frequency str @high gain @
  49758. (ff)</comment>
  49759. </bits>
  49760. </reg>
  49761. <reg name="dpc_nr_hf_str_hi" protect="rw">
  49762. <bits access="rw" name="dpc_nr_hf_str_hi" pos="7:0" rst="0x40">
  49763. <comment>bnr high frequency str @high gain
  49764. (ff)</comment>
  49765. </bits>
  49766. </reg>
  49767. <reg name="dpc_nr_area_thr_hi" protect="rw">
  49768. <bits access="rw" name="dpc_nr_area_thr_hi" pos="7:0" rst="0x80">
  49769. <comment>4.4 format, 16x ~ 1/16x @high gain
  49770. HF</comment>
  49771. </bits>
  49772. </reg>
  49773. <reg name="intp_ctrl" protect="rw">
  49774. <bits access="rw" name="pid_inv_en" pos="0" rst="0x1">
  49775. <comment/>
  49776. </bits>
  49777. <bits access="rw" name="lid_inv_en" pos="1" rst="0x0">
  49778. <comment/>
  49779. </bits>
  49780. <bits access="rw" name="gfilter_en" pos="2" rst="0x1">
  49781. <comment/>
  49782. </bits>
  49783. <bits access="rw" name="gfilter3_en" pos="3" rst="0x0">
  49784. <comment/>
  49785. </bits>
  49786. <bits access="rw" name="gfliter5_en" pos="4" rst="0x1">
  49787. <comment/>
  49788. </bits>
  49789. <bits access="rw" name="sort_sel" pos="7:5" rst="0x3">
  49790. <comment>0: 9 1:7
  49791. 2: 5 3:3
  49792. 4: median 5: adp_median</comment>
  49793. </bits>
  49794. </reg>
  49795. <reg name="intp_cfa_h_thr" protect="rw">
  49796. <bits access="rw" name="intp_cfa_h_thr" pos="7:0" rst="0x0">
  49797. <comment>cfa_h_thr=[intp_cfa_h_thr[7:0], intp_cfa_hv[6:4]]</comment>
  49798. </bits>
  49799. </reg>
  49800. <reg name="intp_cfa_v_thr" protect="rw">
  49801. <bits access="rw" name="intp_cfa_v_thr" pos="7:0" rst="0x0">
  49802. <comment>cfa_v_thr=[intp_cfa_v_thr[7:0], intp_cfa_hv[2:0]]</comment>
  49803. </bits>
  49804. </reg>
  49805. <reg name="intp_grgb_sel_lmt" protect="rw">
  49806. <bits access="rw" name="intp_grgb_sel_lmt" pos="7:0" rst="0x8">
  49807. <comment/>
  49808. </bits>
  49809. </reg>
  49810. <reg name="intp_gf_lmt_thr" protect="rw">
  49811. <bits access="rw" name="intp_gf_lmt_thr" pos="7:0" rst="0x83">
  49812. <comment>gf_lmt_thr=[3d0, intp_gf_lmt_thr_reg]</comment>
  49813. </bits>
  49814. </reg>
  49815. <reg name="cc_r_offset" protect="rw">
  49816. <bits access="rw" name="cc_r_offset" pos="7:0" rst="0x0">
  49817. <comment>S7 format, before cc</comment>
  49818. </bits>
  49819. </reg>
  49820. <reg name="cc_g_offset" protect="rw">
  49821. <bits access="rw" name="cc_g_offset" pos="7:0" rst="0x0">
  49822. <comment>S7 format, before cc</comment>
  49823. </bits>
  49824. </reg>
  49825. <reg name="cc_b_offset" protect="rw">
  49826. <bits access="rw" name="cc_b_offset" pos="7:0" rst="0x0">
  49827. <comment>S7 format, before cc</comment>
  49828. </bits>
  49829. </reg>
  49830. <reg name="cc_00" protect="rw">
  49831. <bits access="rw" name="cc_00" pos="7:0" rst="0x58">
  49832. <comment>S1.6 format, x1=64, cc00+cc01+cc02=1</comment>
  49833. </bits>
  49834. </reg>
  49835. <reg name="cc_01" protect="rw">
  49836. <bits access="rw" name="cc_01" pos="7:0" rst="0x90">
  49837. <comment/>
  49838. </bits>
  49839. </reg>
  49840. <reg name="cc_10" protect="rw">
  49841. <bits access="rw" name="cc_10" pos="7:0" rst="0x88">
  49842. <comment>S1.6 format, x1=64, cc10+cc11+cc12=1</comment>
  49843. </bits>
  49844. </reg>
  49845. <reg name="cc_11" protect="rw">
  49846. <bits access="rw" name="cc_11" pos="7:0" rst="0x50">
  49847. <comment/>
  49848. </bits>
  49849. </reg>
  49850. <reg name="cc_20" protect="rw">
  49851. <bits access="rw" name="cc_20" pos="7:0" rst="0x88">
  49852. <comment>S1.6 format, x1=64, cc20+cc21+cc22=1</comment>
  49853. </bits>
  49854. </reg>
  49855. <reg name="cc_21" protect="rw">
  49856. <bits access="rw" name="cc_21" pos="7:0" rst="0x90">
  49857. <comment/>
  49858. </bits>
  49859. </reg>
  49860. <reg name="cc_r_offset_post" protect="rw">
  49861. <bits access="rw" name="cc_r_offset_post" pos="7:0" rst="0x0">
  49862. <comment>S7 format, after cc</comment>
  49863. </bits>
  49864. </reg>
  49865. <reg name="cc_g_offset_post" protect="rw">
  49866. <bits access="rw" name="cc_g_offset_post" pos="7:0" rst="0x0">
  49867. <comment>S7 format, after cc</comment>
  49868. </bits>
  49869. </reg>
  49870. <reg name="cc_b_offset_post" protect="rw">
  49871. <bits access="rw" name="cc_b_offset_post" pos="7:0" rst="0x0">
  49872. <comment>S7 format, after cc</comment>
  49873. </bits>
  49874. </reg>
  49875. <reg name="cc2_r_offset" protect="rw">
  49876. <bits access="rw" name="cc2_r_offset" pos="7:0" rst="0x0">
  49877. <comment>S7 format, before cc</comment>
  49878. </bits>
  49879. </reg>
  49880. <reg name="cc2_g_offset" protect="rw">
  49881. <bits access="rw" name="cc2_g_offset" pos="7:0" rst="0x0">
  49882. <comment>S7 format, before cc</comment>
  49883. </bits>
  49884. </reg>
  49885. <reg name="cc2_b_offset" protect="rw">
  49886. <bits access="rw" name="cc2_b_offset" pos="7:0" rst="0x0">
  49887. <comment>S7 format, before cc</comment>
  49888. </bits>
  49889. </reg>
  49890. <reg name="cc2_00" protect="rw">
  49891. <bits access="rw" name="cc2_00" pos="7:0" rst="0x40">
  49892. <comment>S1.6 format, x1=64, cc00+cc01+cc02=1</comment>
  49893. </bits>
  49894. </reg>
  49895. <reg name="cc2_01" protect="rw">
  49896. <bits access="rw" name="cc2_01" pos="7:0" rst="0x0">
  49897. <comment/>
  49898. </bits>
  49899. </reg>
  49900. <reg name="cc2_10" protect="rw">
  49901. <bits access="rw" name="cc2_10" pos="7:0" rst="0x0">
  49902. <comment>S1.6 format, x1=64, cc10+cc11+cc12=1</comment>
  49903. </bits>
  49904. </reg>
  49905. <reg name="cc2_11" protect="rw">
  49906. <bits access="rw" name="cc2_11" pos="7:0" rst="0x40">
  49907. <comment/>
  49908. </bits>
  49909. </reg>
  49910. <reg name="cc2_20" protect="rw">
  49911. <bits access="rw" name="cc2_20" pos="7:0" rst="0x0">
  49912. <comment>S1.6 format, x1=64, cc20+cc21+cc22=1</comment>
  49913. </bits>
  49914. </reg>
  49915. <reg name="cc2_21" protect="rw">
  49916. <bits access="rw" name="cc2_21" pos="7:0" rst="0x0">
  49917. <comment/>
  49918. </bits>
  49919. </reg>
  49920. <reg name="sharp_lmt" protect="rw">
  49921. <bits access="rw" name="sharp_lmt" pos="6:0" rst="0x7f">
  49922. <comment>sharp data</comment>
  49923. </bits>
  49924. <bits access="rw" name="sharp_final_h" pos="7" rst="0x0">
  49925. <comment>db/da/d9</comment>
  49926. </bits>
  49927. </reg>
  49928. <reg name="sharp_mode" protect="rw">
  49929. <bits access="rw" name="sharp_cmp_gap_lo" pos="3:0" rst="0x0">
  49930. <comment>sharp_cmp&gt; (sharp_nr_area_thr[6:0]+sharp_cmp_gap)</comment>
  49931. </bits>
  49932. <bits access="rw" name="sharp_final" pos="5:4" rst="0x0">
  49933. <comment>0: delay_df
  49934. 1: delay_de
  49935. 2: delay_dd
  49936. 3: delay_dc</comment>
  49937. </bits>
  49938. <bits access="rw" name="sharp_sel" pos="6" rst="0x0">
  49939. <comment>1:ppdif_sum
  49940. 0:pp_dif (8)</comment>
  49941. </bits>
  49942. <bits access="rw" name="rgb_test_pattern" pos="7" rst="0x0">
  49943. <comment/>
  49944. </bits>
  49945. </reg>
  49946. <reg name="sharp_gain_str_lo" protect="rw">
  49947. <bits access="rw" name="sharp_gain_str_lo" pos="7:0" rst="0x60">
  49948. <comment>plus @Low gain (2.6 format)@</comment>
  49949. </bits>
  49950. </reg>
  49951. <reg name="sharp_nr_area_thr_lo" protect="rw">
  49952. <bits access="rw" name="sharp_nr_area_thr_lo" pos="6:0" rst="0x10">
  49953. <comment>Sharp@Low gain
  49954. (edge)</comment>
  49955. </bits>
  49956. </reg>
  49957. <reg name="sharp_gain_str_mid" protect="rw">
  49958. <bits access="rw" name="sharp_gain_str_mid" pos="7:0" rst="0x60">
  49959. <comment>plus @Mid gain (2.6 format)</comment>
  49960. </bits>
  49961. </reg>
  49962. <reg name="sharp_nr_area_thr_mid" protect="rw">
  49963. <bits access="rw" name="sharp_nr_area_thr_mid" pos="6:0" rst="0x10">
  49964. <comment>Sharp@Mid gain
  49965. (edge)</comment>
  49966. </bits>
  49967. </reg>
  49968. <reg name="sharp_gain_str_hi" protect="rw">
  49969. <bits access="rw" name="sharp_gain_str_hi" pos="7:0" rst="0x60">
  49970. <comment>plus @high gain (2.6 format)@</comment>
  49971. </bits>
  49972. </reg>
  49973. <reg name="sharp_nr_area_thr_hi" protect="rw">
  49974. <bits access="rw" name="sharp_nr_area_thr_hi" pos="6:0" rst="0x10">
  49975. <comment>Sharp@high gain
  49976. (edge)</comment>
  49977. </bits>
  49978. </reg>
  49979. <reg name="ynr_ctrl_reg" protect="rw">
  49980. <bits access="rw" name="ynr_on" pos="0" rst="0">
  49981. <comment/>
  49982. </bits>
  49983. <bits access="rw" name="ynr_edge_methode" pos="2:1" rst="0">
  49984. <comment>(Ey)
  49985. 2d0:Ey_H/V/D1/D2
  49986. 2d1:
  49987. 2d2:
  49988. 2d3:</comment>
  49989. </bits>
  49990. <bits access="rw" name="sharp_on" pos="3" rst="0">
  49991. <comment/>
  49992. </bits>
  49993. <bits access="rw" name="sharp_plus_mode" pos="5:4" rst="0">
  49994. <comment>(sharpness)
  49995. 00:
  49996. if(i_y_data8'ha0) sharp_data = sharp_out[6:2];
  49997. else if(i_y_data8'h80) sharp_data = sharp_out[6:1];
  49998. else sharp_data = sharp_out[6:0];
  49999. 01: 0x80pixelsharpness
  50000. 10: 0x90pixelsharpness
  50001. 11: No change</comment>
  50002. </bits>
  50003. <bits access="rw" name="y_ae_sel" pos="7:6" rst="0">
  50004. <comment>AEYin
  50005. 00:y=yuv_y
  50006. 01:y=y_gamma // after ygamma
  50007. 10:y=luma_y_out // after y_luma
  50008. 11:y=contr_y_out // after y_contr</comment>
  50009. </bits>
  50010. </reg>
  50011. <reg name="ynr_lf_method_str" protect="rw">
  50012. <bits access="rw" name="ynr_lf_method_str" pos="7:0" rst="0x00">
  50013. <comment>GMYc</comment>
  50014. </bits>
  50015. </reg>
  50016. <reg name="ynr_lf_str_lo" protect="rw">
  50017. <bits access="rw" name="ynr_lf_str_lo" pos="7:0" rst="0x80">
  50018. <comment>@low gain
  50019. GMYc128Ey</comment>
  50020. </bits>
  50021. </reg>
  50022. <reg name="ynr_hf_str_lo" protect="rw">
  50023. <bits access="rw" name="ynr_hf_str_lo" pos="7:0" rst="0x10">
  50024. <comment>@low gain
  50025. GMYc128Ey</comment>
  50026. </bits>
  50027. </reg>
  50028. <reg name="ynr_area_thr_lo" protect="rw">
  50029. <bits access="rw" name="ynr_area_thr_lo" pos="7:0" rst="0xc0">
  50030. <comment>4.4 format, 16x ~ 1/16x @low gain
  50031. HF</comment>
  50032. </bits>
  50033. </reg>
  50034. <reg name="ynr_lf_str_mid" protect="rw">
  50035. <bits access="rw" name="ynr_lf_str_mid" pos="7:0" rst="0xa0">
  50036. <comment>@Mid gain
  50037. GMYc128Ey</comment>
  50038. </bits>
  50039. </reg>
  50040. <reg name="ynr_hf_str_mid" protect="rw">
  50041. <bits access="rw" name="ynr_hf_str_mid" pos="7:0" rst="0x20">
  50042. <comment>@Mid gain
  50043. GMYc128Ey</comment>
  50044. </bits>
  50045. </reg>
  50046. <reg name="ynr_area_thr_mid" protect="rw">
  50047. <bits access="rw" name="ynr_area_thr_mid" pos="7:0" rst="0x80">
  50048. <comment>4.4 format, 16x ~ 1/16x @Mid gain
  50049. HF</comment>
  50050. </bits>
  50051. </reg>
  50052. <reg name="ynr_lf_str_hi" protect="rw">
  50053. <bits access="rw" name="ynr_lf_str_hi" pos="7:0" rst="0xc0">
  50054. <comment>@high gain
  50055. GMYc128Ey</comment>
  50056. </bits>
  50057. </reg>
  50058. <reg name="ynr_hf_str_hi" protect="rw">
  50059. <bits access="rw" name="ynr_hf_str_hi" pos="7:0" rst="0x40">
  50060. <comment>@high gain
  50061. GMYc128Ey</comment>
  50062. </bits>
  50063. </reg>
  50064. <reg name="ynr_area_thr_hi " protect="rw">
  50065. <bits access="rw" name="ynr_area_thr_hi " pos="7:0" rst="0x20">
  50066. <comment>4.4 format, 16x ~ 1/16x @high gain
  50067. HF</comment>
  50068. </bits>
  50069. </reg>
  50070. <reg name="hue_sin_reg " protect="rw">
  50071. <bits access="rw" name="hue_sin_reg " pos="7:0" rst="0x2c">
  50072. <comment>sinx[7:0]=256*sin(x*pi/180)</comment>
  50073. </bits>
  50074. </reg>
  50075. <reg name="hue_cos_reg" protect="rw">
  50076. <bits access="rw" name="hue_cosx_reg" pos="6:0" rst="0x7c">
  50077. <comment>cosx[7:0]=256*cos(x*pi/180)
  50078. cosx[7] fixed as 1, As abs(x) = pi/4</comment>
  50079. </bits>
  50080. <bits access="rw" name="sin_sign_reg" pos="7" rst="1">
  50081. <comment>1: sinx is negative
  50082. 0: sinx is positive</comment>
  50083. </bits>
  50084. </reg>
  50085. <reg name="cnr_1d_ctrl_reg" protect="rw">
  50086. <bits access="rw" name="cnr_dif_thr_mid" pos="3:0" rst="0x8">
  50087. <comment>CNR@Mid gain</comment>
  50088. </bits>
  50089. <bits access="rw" name="cnr_1d_on" pos="4" rst="0">
  50090. <comment/>
  50091. </bits>
  50092. <bits access="rw" name=" satur_on" pos="5" rst="0">
  50093. <comment/>
  50094. </bits>
  50095. <bits access="rw" name="hue_on" pos="6" rst="0">
  50096. <comment/>
  50097. </bits>
  50098. </reg>
  50099. <reg name="cnr_xx_reg" protect="rw">
  50100. <bits access="rw" name="cnr_dif_thr_low" pos="3:0" rst="0x4">
  50101. <comment>CNR@Low gain</comment>
  50102. </bits>
  50103. <bits access="rw" name="cnr_dif_thr_high" pos="7:4" rst="0xc">
  50104. <comment>CNR@High gain</comment>
  50105. </bits>
  50106. </reg>
  50107. <reg name="in5_low_th_reg" protect="rw">
  50108. <bits access="rw" name="in5_low_th_reg" pos="7:0" rst="0x40">
  50109. <comment>Center point smaller than around, black point</comment>
  50110. </bits>
  50111. </reg>
  50112. <reg name="in5_high_th_reg" protect="rw">
  50113. <bits access="rw" name="in5_high_th_reg" pos="7:0" rst="0x90">
  50114. <comment>Center point bigger than around, white point</comment>
  50115. </bits>
  50116. </reg>
  50117. <hole size="72*32"/>
  50118. <reg name="p2_up_r_reg" protect="rw">
  50119. <bits access="rw" name="p2_up_r_reg" pos="7:0" rst="0x20">
  50120. <comment/>
  50121. </bits>
  50122. </reg>
  50123. <reg name="p2_up_g_reg" protect="rw">
  50124. <bits access="rw" name="p2_up_g_reg" pos="7:0" rst="0x20">
  50125. <comment/>
  50126. </bits>
  50127. </reg>
  50128. <reg name="p2_up_b_reg" protect="rw">
  50129. <bits access="rw" name="p2_up_b_reg" pos="7:0" rst="0x20">
  50130. <comment/>
  50131. </bits>
  50132. </reg>
  50133. <reg name="p2_down_r_reg" protect="rw">
  50134. <bits access="rw" name="p2_down_r_reg" pos="7:0" rst="0x20">
  50135. <comment/>
  50136. </bits>
  50137. </reg>
  50138. <reg name="p2_down_g_reg" protect="rw">
  50139. <bits access="rw" name="p2_down_g_reg" pos="7:0" rst="0x20">
  50140. <comment/>
  50141. </bits>
  50142. </reg>
  50143. <reg name="p2_down_b_reg" protect="rw">
  50144. <bits access="rw" name="p2_down_b_reg" pos="7:0" rst="0x20">
  50145. <comment/>
  50146. </bits>
  50147. </reg>
  50148. <reg name="p2_left_r_reg" protect="rw">
  50149. <bits access="rw" name="p2_left_r_reg" pos="7:0" rst="0x20">
  50150. <comment/>
  50151. </bits>
  50152. </reg>
  50153. <reg name="p2_left_g_reg" protect="rw">
  50154. <bits access="rw" name="p2_left_g_reg" pos="7:0" rst="0x20">
  50155. <comment/>
  50156. </bits>
  50157. </reg>
  50158. <reg name="p2_left_b_reg" protect="rw">
  50159. <bits access="rw" name="p2_left_b_reg" pos="7:0" rst="0x20">
  50160. <comment/>
  50161. </bits>
  50162. </reg>
  50163. <reg name="p2_right_r_reg" protect="rw">
  50164. <bits access="rw" name="p2_right_r_reg" pos="7:0" rst="0x20">
  50165. <comment/>
  50166. </bits>
  50167. </reg>
  50168. <reg name="p2_right_g_reg" protect="rw">
  50169. <bits access="rw" name="p2_right_g_reg" pos="7:0" rst="0x20">
  50170. <comment/>
  50171. </bits>
  50172. </reg>
  50173. <reg name="p2_right_b_reg" protect="rw">
  50174. <bits access="rw" name="p2_right_b_reg" pos="7:0" rst="0x20">
  50175. <comment/>
  50176. </bits>
  50177. </reg>
  50178. <reg name="p4_q1_r_reg" protect="rw">
  50179. <bits access="rw" name="p4_q1_r_reg" pos="7:0" rst="0x40">
  50180. <comment/>
  50181. </bits>
  50182. </reg>
  50183. <reg name="p4_q1_g_reg" protect="rw">
  50184. <bits access="rw" name="p4_q1_g_reg" pos="7:0" rst="0x40">
  50185. <comment/>
  50186. </bits>
  50187. </reg>
  50188. <reg name="p4_q1_b_reg" protect="rw">
  50189. <bits access="rw" name="p4_q1_b_reg" pos="7:0" rst="0x40">
  50190. <comment/>
  50191. </bits>
  50192. </reg>
  50193. <reg name="p4_q2_r_reg" protect="rw">
  50194. <bits access="rw" name="p4_q2_r_reg" pos="7:0" rst="0x40">
  50195. <comment/>
  50196. </bits>
  50197. </reg>
  50198. <reg name="p4_q2_g_reg" protect="rw">
  50199. <bits access="rw" name="p4_q2_g_reg" pos="7:0" rst="0x40">
  50200. <comment/>
  50201. </bits>
  50202. </reg>
  50203. <reg name="p4_q2_b_reg" protect="rw">
  50204. <bits access="rw" name="p4_q2_b_reg" pos="7:0" rst="0x40">
  50205. <comment/>
  50206. </bits>
  50207. </reg>
  50208. <reg name="p4_q3_r_reg" protect="rw">
  50209. <bits access="rw" name="p4_q3_r_reg" pos="7:0" rst="0x40">
  50210. <comment/>
  50211. </bits>
  50212. </reg>
  50213. <reg name="p4_q3_g_reg" protect="rw">
  50214. <bits access="rw" name="p4_q3_g_reg" pos="7:0" rst="0x40">
  50215. <comment/>
  50216. </bits>
  50217. </reg>
  50218. <reg name="p4_q3_b_reg" protect="rw">
  50219. <bits access="rw" name="p4_q3_b_reg" pos="7:0" rst="0x40">
  50220. <comment/>
  50221. </bits>
  50222. </reg>
  50223. <reg name="p4_q4_r_reg" protect="rw">
  50224. <bits access="rw" name="p4_q4_r_reg" pos="7:0" rst="0x40">
  50225. <comment/>
  50226. </bits>
  50227. </reg>
  50228. <reg name="p4_q4_g_reg" protect="rw">
  50229. <bits access="rw" name="p4_q4_g_reg" pos="7:0" rst="0x40">
  50230. <comment/>
  50231. </bits>
  50232. </reg>
  50233. <reg name="p4_q4_b_reg" protect="rw">
  50234. <bits access="rw" name="p4_q4_b_reg" pos="7:0" rst="0x40">
  50235. <comment/>
  50236. </bits>
  50237. </reg>
  50238. <reg name="ae_e00_sta_reg" protect="rw">
  50239. <bits access="rw" name="ae_e00_sta_line" pos="5:0" rst="0x2">
  50240. <comment>E00</comment>
  50241. </bits>
  50242. </reg>
  50243. <reg name="ae_e00_num_reg" protect="rw">
  50244. <bits access="rw" name="ae_e00_num" pos="3:0" rst="0x7">
  50245. <comment>E00</comment>
  50246. </bits>
  50247. <bits access="rw" name="ae_e00_interval" pos="5:4" rst="0x2">
  50248. <comment>E00 max is 3Line</comment>
  50249. </bits>
  50250. </reg>
  50251. <reg name="ae_e01_sta_reg" protect="rw">
  50252. <bits access="rw" name="ae_e01_sta_line" pos="5:0" rst="0x10">
  50253. <comment>E01</comment>
  50254. </bits>
  50255. </reg>
  50256. <reg name="ae_e01_num_reg" protect="rw">
  50257. <bits access="rw" name="ae_e01_num" pos="3:0" rst="0x4">
  50258. <comment>E01</comment>
  50259. </bits>
  50260. <bits access="rw" name="ae_e01_interval" pos="6:4" rst="0x4">
  50261. <comment>E01 max is 7Line</comment>
  50262. </bits>
  50263. </reg>
  50264. <reg name="ae_e02_sta_reg" protect="rw">
  50265. <bits access="rw" name="ae_e02_sta_line" pos="6:0" rst="0x20">
  50266. <comment>E02max is 7F</comment>
  50267. </bits>
  50268. </reg>
  50269. <reg name="ae_e02_num_reg" protect="rw">
  50270. <bits access="rw" name="ae_e02_num" pos="3:0" rst="0x6">
  50271. <comment>E02</comment>
  50272. </bits>
  50273. <bits access="rw" name="ae_e02_interval" pos="7:4" rst="0x8">
  50274. <comment>E02 max is 15Line</comment>
  50275. </bits>
  50276. </reg>
  50277. <reg name="ae_e1_sta_reg" protect="rw">
  50278. <bits access="rw" name="ae_e1_sta_gain" pos="5:0" rst="0x0">
  50279. <comment>E1 (64)</comment>
  50280. </bits>
  50281. </reg>
  50282. <reg name="ae_e1_num_reg" protect="rw">
  50283. <bits access="rw" name="ae_e1_num_reg" pos="3:0" rst="0x7">
  50284. <comment>E1 (1E)</comment>
  50285. </bits>
  50286. </reg>
  50287. <reg name="ae_e2_sta_reg" protect="rw">
  50288. <bits access="rw" name="ae_e2_sta_gain" pos="5:0" rst="0x0">
  50289. <comment>E2 (64)</comment>
  50290. </bits>
  50291. </reg>
  50292. <reg name="ae_e2_num_reg" protect="rw">
  50293. <bits access="rw" name="ae_e2_num_reg" pos="3:0" rst="0x4">
  50294. <comment>E2 (2E)</comment>
  50295. </bits>
  50296. </reg>
  50297. <reg name="ae_e3_sta_reg" protect="rw">
  50298. <bits access="rw" name="ae_e3_sta_gain" pos="5:0" rst="0x0">
  50299. <comment>E3 (64)</comment>
  50300. </bits>
  50301. </reg>
  50302. <reg name="ae_e3_num_reg" protect="rw">
  50303. <bits access="rw" name="ae_e3_num_reg" pos="3:0" rst="0x3">
  50304. <comment>E3 (3E)</comment>
  50305. </bits>
  50306. </reg>
  50307. <reg name="ae_e4_sta_reg" protect="rw">
  50308. <bits access="rw" name="ae_e4_sta_gain" pos="5:0" rst="0x0">
  50309. <comment>E4 (64)</comment>
  50310. </bits>
  50311. </reg>
  50312. <reg name="ae_e4_num_reg" protect="rw">
  50313. <bits access="rw" name="ae_e4_num_reg" pos="4:0" rst="0x9">
  50314. <comment>E4 (4E)</comment>
  50315. </bits>
  50316. </reg>
  50317. <reg name="ae_e5_sta_reg" protect="rw">
  50318. <bits access="rw" name="ae_e5_sta_gain" pos="5:0" rst="0xa">
  50319. <comment>E5 (64)</comment>
  50320. </bits>
  50321. </reg>
  50322. <reg name="ae_e5_num_reg" protect="rw">
  50323. <bits access="rw" name="ae_e5_num_reg" pos="4:0" rst="0x8">
  50324. <comment>E5 (5E)</comment>
  50325. </bits>
  50326. </reg>
  50327. <reg name="ae_e6_sta_reg" protect="rw">
  50328. <bits access="rw" name="ae_e6_sta_gain" pos="5:0" rst="0x15">
  50329. <comment>E6 (64)</comment>
  50330. </bits>
  50331. </reg>
  50332. <reg name="ae_e6_num_reg" protect="rw">
  50333. <bits access="rw" name="ae_e6_num_reg" pos="3:0" rst="0x6">
  50334. <comment>E6 (6E)</comment>
  50335. </bits>
  50336. </reg>
  50337. <reg name="ae_e7_sta_reg" protect="rw">
  50338. <bits access="rw" name="ae_e7_sta_gain" pos="5:0" rst="0x1d">
  50339. <comment>E7 (64)</comment>
  50340. </bits>
  50341. </reg>
  50342. <reg name="ae_e7_num_reg" protect="rw">
  50343. <bits access="rw" name="ae_e7_num_reg" pos="3:0" rst="0x3">
  50344. <comment>E7 (7E)</comment>
  50345. </bits>
  50346. </reg>
  50347. <reg name="ae_e8_sta_reg" protect="rw">
  50348. <bits access="rw" name="ae_e8_sta_gain" pos="5:0" rst="0x20">
  50349. <comment>E8 (64)</comment>
  50350. </bits>
  50351. </reg>
  50352. <reg name="ae_e8_num_reg" protect="rw">
  50353. <bits access="rw" name="ae_e8_num_reg" pos="3:0" rst="0x3">
  50354. <comment>E8 (8E)</comment>
  50355. </bits>
  50356. </reg>
  50357. <reg name="ae_e9_sta_reg" protect="rw">
  50358. <bits access="rw" name="ae_e9_sta_gain" pos="5:0" rst="0x23">
  50359. <comment>E9 (64)</comment>
  50360. </bits>
  50361. </reg>
  50362. <reg name="ae_e9_num_reg" protect="rw">
  50363. <bits access="rw" name="ae_e9_num_reg" pos="3:0" rst="0x3">
  50364. <comment>E9 (9E)</comment>
  50365. </bits>
  50366. </reg>
  50367. <reg name="ae_ea_sta_reg" protect="rw">
  50368. <bits access="rw" name="ae_ea_sta_gain" pos="5:0" rst="0x26">
  50369. <comment>Ea (64)</comment>
  50370. </bits>
  50371. </reg>
  50372. <reg name="ae_ea_num_reg" protect="rw">
  50373. <bits access="rw" name="ae_ea_num_reg" pos="3:0" rst="0x3">
  50374. <comment>Ea (aE)</comment>
  50375. </bits>
  50376. </reg>
  50377. <reg name="ae_eb_sta_reg" protect="rw">
  50378. <bits access="rw" name="ae_eb_sta_gain" pos="5:0" rst="0x29">
  50379. <comment>Eb (64)</comment>
  50380. </bits>
  50381. </reg>
  50382. <reg name="ae_eb_num_reg" protect="rw">
  50383. <bits access="rw" name="ae_eb_num_reg" pos="3:0" rst="0x3">
  50384. <comment>Eb (bE)</comment>
  50385. </bits>
  50386. </reg>
  50387. <reg name="ae_ec_sta_reg" protect="rw">
  50388. <bits access="rw" name="ae_ec_sta_gain" pos="5:0" rst="0x2c">
  50389. <comment>Ec (64)</comment>
  50390. </bits>
  50391. </reg>
  50392. <reg name="ae_ec_num_reg" protect="rw">
  50393. <bits access="rw" name="ae_ec_num_reg" pos="3:0" rst="0x5">
  50394. <comment>Ec (cE)</comment>
  50395. </bits>
  50396. </reg>
  50397. <reg name="ae_ed_sta_reg" protect="rw">
  50398. <bits access="rw" name="ae_ed_sta_gain" pos="5:0" rst="0x0">
  50399. <comment>Ed (64)</comment>
  50400. </bits>
  50401. </reg>
  50402. <reg name="ae_ed_num_reg" protect="rw">
  50403. <bits access="rw" name="ae_ed_num_reg" pos="3:0" rst="0x0">
  50404. <comment>Ed (dE)</comment>
  50405. </bits>
  50406. </reg>
  50407. <reg name="bayer_gamma2_b0" protect="rw">
  50408. <bits access="rw" name="bayer_gamma2_b0" pos="7:0" rst="0x0">
  50409. <comment/>
  50410. </bits>
  50411. </reg>
  50412. <reg name="bayer_gamma2_b1" protect="rw">
  50413. <bits access="rw" name="bayer_gamma2_b1" pos="7:0" rst="0x20">
  50414. <comment/>
  50415. </bits>
  50416. </reg>
  50417. <reg name="bayer_gamma2_b2" protect="rw">
  50418. <bits access="rw" name="bayer_gamma2_b2" pos="7:0" rst="0x2d">
  50419. <comment/>
  50420. </bits>
  50421. </reg>
  50422. <reg name="bayer_gamma2_b3" protect="rw">
  50423. <bits access="rw" name="bayer_gamma2_b3" pos="7:0" rst="0x37">
  50424. <comment/>
  50425. </bits>
  50426. </reg>
  50427. <reg name="bayer_gamma2_b4" protect="rw">
  50428. <bits access="rw" name="bayer_gamma2_b4" pos="7:0" rst="0x40">
  50429. <comment/>
  50430. </bits>
  50431. </reg>
  50432. <reg name="bayer_gamma2_b6" protect="rw">
  50433. <bits access="rw" name="bayer_gamma2_b6" pos="7:0" rst="0x4e">
  50434. <comment/>
  50435. </bits>
  50436. </reg>
  50437. <reg name="bayer_gamma2_b8" protect="rw">
  50438. <bits access="rw" name="bayer_gamma2_b8" pos="7:0" rst="0x5a">
  50439. <comment/>
  50440. </bits>
  50441. </reg>
  50442. <reg name="bayer_gamma2_b10" protect="rw">
  50443. <bits access="rw" name="bayer_gamma2_b10" pos="7:0" rst="0x65">
  50444. <comment/>
  50445. </bits>
  50446. </reg>
  50447. <reg name="bayer_gamma2_b12" protect="rw">
  50448. <bits access="rw" name="bayer_gamma2_b12" pos="7:0" rst="0x6f">
  50449. <comment/>
  50450. </bits>
  50451. </reg>
  50452. <reg name="bayer_gamma2_b16" protect="rw">
  50453. <bits access="rw" name="bayer_gamma2_b16" pos="7:0" rst="0x80">
  50454. <comment/>
  50455. </bits>
  50456. </reg>
  50457. <reg name="bayer_gamma2_b20" protect="rw">
  50458. <bits access="rw" name="bayer_gamma2_b20" pos="7:0" rst="0x8f">
  50459. <comment/>
  50460. </bits>
  50461. </reg>
  50462. <reg name="bayer_gamma2_b24" protect="rw">
  50463. <bits access="rw" name="bayer_gamma2_b24" pos="7:0" rst="0x9c">
  50464. <comment/>
  50465. </bits>
  50466. </reg>
  50467. <reg name="bayer_gamma2_b28" protect="rw">
  50468. <bits access="rw" name="bayer_gamma2_b28" pos="7:0" rst="0xa9">
  50469. <comment/>
  50470. </bits>
  50471. </reg>
  50472. <reg name="bayer_gamma2_b32" protect="rw">
  50473. <bits access="rw" name="bayer_gamma2_b32" pos="7:0" rst="0xb5">
  50474. <comment/>
  50475. </bits>
  50476. </reg>
  50477. <reg name="bayer_gamma2_b36" protect="rw">
  50478. <bits access="rw" name="bayer_gamma2_b36" pos="7:0" rst="0xc0">
  50479. <comment/>
  50480. </bits>
  50481. </reg>
  50482. <reg name="bayer_gamma2_b40" protect="rw">
  50483. <bits access="rw" name="bayer_gamma2_b40" pos="7:0" rst="0xca">
  50484. <comment/>
  50485. </bits>
  50486. </reg>
  50487. <reg name="bayer_gamma2_b48" protect="rw">
  50488. <bits access="rw" name="bayer_gamma2_b48" pos="7:0" rst="0xdd">
  50489. <comment/>
  50490. </bits>
  50491. </reg>
  50492. <reg name="bayer_gamma2_b56" protect="rw">
  50493. <bits access="rw" name="bayer_gamma2_b56" pos="7:0" rst="0xef">
  50494. <comment/>
  50495. </bits>
  50496. </reg>
  50497. <reg name="bayer_gamma2_b64" protect="rw">
  50498. <bits access="rw" name="bayer_gamma2_b64" pos="7:0" rst="0x0">
  50499. <comment/>
  50500. </bits>
  50501. </reg>
  50502. <reg name="y_thr7_lo_reg" protect="rw">
  50503. <bits access="rw" name="y_thr7_lo_reg" pos="7:0" rst="0x30">
  50504. <comment>Y_thr7 (for 2 dead point) @</comment>
  50505. </bits>
  50506. </reg>
  50507. <reg name="y_thr7_mid_reg" protect="rw">
  50508. <bits access="rw" name="y_thr7_mid_reg" pos="7:0" rst="0x38">
  50509. <comment>Y_thr7 (for 2 dead point) @ mid</comment>
  50510. </bits>
  50511. </reg>
  50512. <reg name="y_thr7_hi_reg" protect="rw">
  50513. <bits access="rw" name="y_thr7_hi_reg" pos="7:0" rst="0x40">
  50514. <comment>Y_thr7 (for 2 dead point) @</comment>
  50515. </bits>
  50516. </reg>
  50517. <reg name="dpa_new_ctrl_reg" protect="rw">
  50518. <bits access="rw" name="inflg_ctrl_reg_0" pos="0" rst="0x1">
  50519. <comment>0: check one black dead point
  50520. 1: don't check one black dead point</comment>
  50521. </bits>
  50522. <bits access="rw" name="inflg_ctrl_reg_1" pos="1" rst="0x1">
  50523. <comment>0: check 2 black dead point
  50524. 1: don't check 2 black dead point</comment>
  50525. </bits>
  50526. <bits access="rw" name="inflg_ctrl_reg_2" pos="2" rst="0x1">
  50527. <comment>0: don't check 2 dead point
  50528. 1: check 2 dead point</comment>
  50529. </bits>
  50530. </reg>
  50531. <reg name="dpa_new_ctrl_hi_reg" protect="rw">
  50532. <bits access="rw" name="inflg_ctrl_reg0_h" pos="0" rst="0x0">
  50533. <comment>(Note)
  50534. 0: check one black dead point
  50535. 1: don't check one black dead point</comment>
  50536. </bits>
  50537. <bits access="rw" name="inflg_ctrl_reg1_h" pos="1" rst="0x0">
  50538. <comment>(Note)
  50539. 0: check 2 black dead point
  50540. 1: don't check 2 black dead point</comment>
  50541. </bits>
  50542. <bits access="rw" name="inflg_ctrl_reg2_h" pos="2" rst="0x1">
  50543. <comment>(Note)
  50544. 0: don't check 2 dead point
  50545. 1: check 2 dead point</comment>
  50546. </bits>
  50547. <bits access="rw" name="threshold_rsvd" pos="4:3" rst="0x2">
  50548. <comment>not used here</comment>
  50549. </bits>
  50550. </reg>
  50551. <reg name="ae_index_gap" protect="rw">
  50552. <bits access="rw" name="gap_2e" pos="0" rst="0x0">
  50553. <comment>2E 12</comment>
  50554. </bits>
  50555. <bits access="rw" name="gap_3e" pos="1" rst="0x0">
  50556. <comment>3E 12</comment>
  50557. </bits>
  50558. <bits access="rw" name="gap_4e" pos="2" rst="0x0">
  50559. <comment>4E 12</comment>
  50560. </bits>
  50561. <bits access="rw" name="gap_5e" pos="3" rst="0x0">
  50562. <comment>5E 12</comment>
  50563. </bits>
  50564. <bits access="rw" name="gap_6e" pos="4" rst="0x0">
  50565. <comment>6E 12</comment>
  50566. </bits>
  50567. <bits access="rw" name="gap_7e" pos="5" rst="0x0">
  50568. <comment>7E 12</comment>
  50569. </bits>
  50570. <bits access="rw" name="gap_8e" pos="6" rst="0x0">
  50571. <comment>8E 12</comment>
  50572. </bits>
  50573. <bits access="rw" name="gap_9e" pos="7" rst="0x0">
  50574. <comment>9E 12</comment>
  50575. </bits>
  50576. </reg>
  50577. <reg name="awb_calc_height_reg" protect="rw">
  50578. <bits access="rw" name="awb_calc_height_reg" pos="7:0" rst="0xf0">
  50579. <comment>awb_win_height = [[7:0],1'd0]
  50580. //4:3 and keep height as even number</comment>
  50581. </bits>
  50582. </reg>
  50583. <reg name="drc_r_clp_value_reg" protect="rw">
  50584. <bits access="rw" name="drc_r_clp_value_reg" pos="5:0" rst="0x0">
  50585. <comment/>
  50586. </bits>
  50587. </reg>
  50588. <reg name="drc_gr_clp_value_reg" protect="rw">
  50589. <bits access="rw" name="drc_gr_clp_value_reg" pos="5:0" rst="0x0">
  50590. <comment/>
  50591. </bits>
  50592. </reg>
  50593. <reg name="drc_gb_clp_value_reg" protect="rw">
  50594. <bits access="rw" name="drc_gb_clp_value_reg" pos="5:0" rst="0x0">
  50595. <comment/>
  50596. </bits>
  50597. </reg>
  50598. <reg name="drc_b_clp_value_reg" protect="rw">
  50599. <bits access="rw" name="drc_b_clp_value_reg" pos="5:0" rst="0x0">
  50600. <comment/>
  50601. </bits>
  50602. </reg>
  50603. <reg name="sepia_cr_reg" protect="rw">
  50604. <bits access="rw" name="sepia_cr_reg" pos="7:0" rst="0xab">
  50605. <comment>blue: 0x72 red: 0xD4 brown:0xAB</comment>
  50606. </bits>
  50607. </reg>
  50608. <reg name="sepia_cb_reg" protect="rw">
  50609. <bits access="rw" name="sepia_cb_reg" pos="7:0" rst="0x60">
  50610. <comment>blue: 0xD4 red: 0x64 brown:0x60</comment>
  50611. </bits>
  50612. </reg>
  50613. <reg name="csup_y_min_hi_reg" protect="rw">
  50614. <bits access="rw" name="csup_y_min_hi_reg" pos="7:0" rst="0xdc">
  50615. <comment/>
  50616. </bits>
  50617. </reg>
  50618. <reg name="csup_gain_hi_reg" protect="rw">
  50619. <bits access="rw" name="csup_gain_hi_reg" pos="7:0" rst="0x00">
  50620. <comment>0x20~ff (x1~8) ()</comment>
  50621. </bits>
  50622. </reg>
  50623. <reg name="csup_y_max_low_reg" protect="rw">
  50624. <bits access="rw" name="csup_y_max_low_reg" pos="7:0" rst="0x40">
  50625. <comment/>
  50626. </bits>
  50627. </reg>
  50628. <reg name="csup_gain_low_reg" protect="rw">
  50629. <bits access="rw" name="csup_gain_low_reg" pos="7:0" rst="0x00">
  50630. <comment>0x20~ff (x1~8) ()</comment>
  50631. </bits>
  50632. </reg>
  50633. <reg name="ae_dk_hist_thr_reg" protect="rw">
  50634. <bits access="rw" name="ae_dk_hist_thr_reg" pos="7:0" rst="0x48">
  50635. <comment>If bhist&gt;bhist_too_big_thr, then bhist_too_big</comment>
  50636. </bits>
  50637. </reg>
  50638. <reg name="ae_br_hist_thr_reg" protect="rw">
  50639. <bits access="rw" name="ae_br_hist_thr_reg" pos="7:0" rst="0x18">
  50640. <comment>If bhist&gt;bhist_big_thr, then bhist_big</comment>
  50641. </bits>
  50642. </reg>
  50643. <reg name="hist_bp_level_reg" protect="rw">
  50644. <bits access="rw" name="hist_bp_level_reg" pos="7:0" rst="0xd0">
  50645. <comment>Y level of bhist and 4pbhist</comment>
  50646. </bits>
  50647. </reg>
  50648. <reg name="outdoor_th_reg" protect="rw">
  50649. <bits access="rw" name="outdoor_th" pos="3:0" rst="0x4">
  50650. <comment>outdoor_th=[outdoor_th_reg[3:0], 4'd0]</comment>
  50651. </bits>
  50652. <bits access="rw" name="non_outdoor_th" pos="7:4" rst="0x8">
  50653. <comment>non_outdoor_th=[outdoor_th_reg[7:4], 4'd0]</comment>
  50654. </bits>
  50655. </reg>
  50656. <reg name="awb_rgain_low_reg" protect="rw">
  50657. <bits access="rw" name="awb_rgain_low_reg" pos="7:2" rst="0xe">
  50658. <comment>Low limit of rgain = [[7:2], 2d0]</comment>
  50659. </bits>
  50660. </reg>
  50661. <reg name="awb_rgain_high_reg" protect="rw">
  50662. <bits access="rw" name="awb_rgain_high_reg" pos="7:2" rst="0x1c">
  50663. <comment>High limit of rgain = [[7:2], 2d0]</comment>
  50664. </bits>
  50665. </reg>
  50666. <reg name="awb_bgain_low_reg" protect="rw">
  50667. <bits access="rw" name="awb_bgain_low_reg" pos="7:2" rst="0xe">
  50668. <comment>Low limit of bgain = [[7:2], 2d0]</comment>
  50669. </bits>
  50670. </reg>
  50671. <reg name="awb_bgain_high_reg" protect="rw">
  50672. <bits access="rw" name="awb_bgain_high_reg" pos="7:2" rst="0x20">
  50673. <comment>High limit of bgain = [[7:2], 2d0]</comment>
  50674. </bits>
  50675. </reg>
  50676. <reg name="awb_calc_start_reg" protect="rw">
  50677. <bits access="rw" name="awb_win_y_start" pos="3:0" rst="0x1">
  50678. <comment>awb_win_y_start = [[3:0], 2'd0];</comment>
  50679. </bits>
  50680. <bits access="rw" name="awb_win_x_start" pos="7:4" rst="0x1">
  50681. <comment>awb_win_x_start = [[7:4], 2'd0];</comment>
  50682. </bits>
  50683. </reg>
  50684. <reg name="awb_calc_width_reg" protect="rw">
  50685. <bits access="rw" name="awb_calc_width_reg" pos="7:0" rst="0xa0">
  50686. <comment>awb_win_width =[[7:0],2'd0];
  50687. //4:3 and keep height as even number</comment>
  50688. </bits>
  50689. </reg>
  50690. <reg name="hist_dp_level_reg" protect="rw">
  50691. <bits access="rw" name="hist_dp_level_reg" pos="7:0" rst="0x30">
  50692. <comment>Y level of dark_hist</comment>
  50693. </bits>
  50694. </reg>
  50695. <reg name="awb_y_fmin" protect="rw">
  50696. <bits access="rw" name="awb_y_fmin" pos="7:0" rst="0x40">
  50697. <comment>for skin</comment>
  50698. </bits>
  50699. </reg>
  50700. <reg name="awb_y_fmax" protect="rw">
  50701. <bits access="rw" name="awb_y_fmax" pos="7:0" rst="0xb4">
  50702. <comment>for skin</comment>
  50703. </bits>
  50704. </reg>
  50705. <reg name="awb_cb_fmin" protect="rw">
  50706. <bits access="rw" name="awb_cb_fmin" pos="7:0" rst="0x4d">
  50707. <comment>for skin</comment>
  50708. </bits>
  50709. </reg>
  50710. <reg name="awb_cb_fmax" protect="rw">
  50711. <bits access="rw" name="awb_cb_fmax" pos="7:0" rst="0x7f">
  50712. <comment>for skin</comment>
  50713. </bits>
  50714. </reg>
  50715. <reg name="awb_cr_fmin" protect="rw">
  50716. <bits access="rw" name="awb_cr_fmin" pos="7:0" rst="0x85">
  50717. <comment>for skin</comment>
  50718. </bits>
  50719. </reg>
  50720. <reg name="awb_cr_fmax" protect="rw">
  50721. <bits access="rw" name="awb_cr_fmax" pos="7:0" rst="0xad">
  50722. <comment>for skin</comment>
  50723. </bits>
  50724. </reg>
  50725. <reg name="awb_y_fmin2" protect="rw">
  50726. <bits access="rw" name="awb_y_fmin2" pos="7:0" rst="0x40">
  50727. <comment>for mono color</comment>
  50728. </bits>
  50729. </reg>
  50730. <reg name="awb_y_fmax2" protect="rw">
  50731. <bits access="rw" name="awb_y_fmax2" pos="7:0" rst="0xb4">
  50732. <comment>for mono color</comment>
  50733. </bits>
  50734. </reg>
  50735. <reg name="awb_cb_fmin2" protect="rw">
  50736. <bits access="rw" name="awb_cb_fmin2" pos="7:0" rst="0x34">
  50737. <comment>for mono color</comment>
  50738. </bits>
  50739. </reg>
  50740. <reg name="awb_cb_fmax2" protect="rw">
  50741. <bits access="rw" name="awb_cb_fmax2" pos="7:0" rst="0x5c">
  50742. <comment>for mono color</comment>
  50743. </bits>
  50744. </reg>
  50745. <reg name="awb_cr_fmin2" protect="rw">
  50746. <bits access="rw" name="awb_cr_fmin2" pos="7:0" rst="0x24">
  50747. <comment>for mono color</comment>
  50748. </bits>
  50749. </reg>
  50750. <reg name="awb_cr_fmax2" protect="rw">
  50751. <bits access="rw" name="awb_cr_fmax2" pos="7:0" rst="0x4c">
  50752. <comment>for mono color</comment>
  50753. </bits>
  50754. </reg>
  50755. <reg name="ae_use_mean" protect="rw">
  50756. <bits access="rw" name="ycave_use_mean" pos="1:0" rst="0x3">
  50757. <comment>0yave 1yave
  50758. 2yave 3yave</comment>
  50759. </bits>
  50760. <bits access="rw" name="ywave_use_mean" pos="3:2" rst="0x3">
  50761. <comment>0yave 1yave
  50762. 2yave 3yave</comment>
  50763. </bits>
  50764. <bits access="rw" name="yave_weight_mode" pos="4" rst="0x1">
  50765. <comment>0: win yave 1: ywave</comment>
  50766. </bits>
  50767. <bits access="rw" name="nexp_out_sel_reg" pos="5" rst="0x1">
  50768. <comment/>
  50769. </bits>
  50770. <bits access="rw" name="ae_ext_adj_val_reg" pos="6" rst="0x1">
  50771. <comment/>
  50772. </bits>
  50773. <bits access="rw" name="ae_ext_adj_on_reg" pos="7" rst="0x1">
  50774. <comment/>
  50775. </bits>
  50776. </reg>
  50777. <reg name="ae_weight_sta" protect="rw">
  50778. <bits access="rw" name="ywave_pcnt_left" pos="3:0" rst="0x4">
  50779. <comment>ae ywave</comment>
  50780. </bits>
  50781. <bits access="rw" name="ywave_lcnt_top" pos="7:4" rst="0x4">
  50782. <comment>ae ywave</comment>
  50783. </bits>
  50784. </reg>
  50785. <reg name="ae_qwidth" protect="rw">
  50786. <bits access="rw" name="qwidth" pos="7:0" rst="0xa0">
  50787. <comment>QVGA 240x320 :8d60 QVGA 320x240: 8d80
  50788. CIF 352x288: 8d88 VGA 640x480: 8d160</comment>
  50789. </bits>
  50790. </reg>
  50791. <reg name="ae_qheight" protect="rw">
  50792. <bits access="rw" name="qheight" pos="6:0" rst="0x78">
  50793. <comment>QVGA 240x320 :8d80 QVGA 320x240: 8d60
  50794. CIF 352x288: 8d72 VGA 640x480: 8d120</comment>
  50795. </bits>
  50796. <bits access="rw" name="ywave_sel" pos="7" rst="0x0">
  50797. <comment>0: x1(CIFx1) 1:x1.5</comment>
  50798. </bits>
  50799. </reg>
  50800. <reg name="ae_win_sta" protect="rw">
  50801. <bits access="rw" name="yave_pcnt_sta" pos="3:0" rst="0x2">
  50802. <comment>yave pcnt_sta=[[3:0], 1b0]</comment>
  50803. </bits>
  50804. <bits access="rw" name="yave_lcnt_sta" pos="7:4" rst="0x2">
  50805. <comment>yave lcnt_sta=[[7:4], 1b0]</comment>
  50806. </bits>
  50807. </reg>
  50808. <reg name="ae_width" protect="rw">
  50809. <bits access="rw" name="width" pos="7:0" rst="0x95">
  50810. <comment>yave Width=[[7:0], 2d0]
  50811. QVGA 240x320 :10d216 QVGA 320x240: 10d304
  50812. CIF 352x288: 10d304 VGA 640x480: 10d596</comment>
  50813. </bits>
  50814. </reg>
  50815. <reg name="ae_height" protect="rw">
  50816. <bits access="rw" name="height" pos="7:0" rst="0xdc">
  50817. <comment>yave Height=[[7:0], 1d0]
  50818. QVGA 240x320 :10d304 QVGA 320x240: 10d216
  50819. CIF 352x288: 10d216 VGA 640x480: 10d440</comment>
  50820. </bits>
  50821. </reg>
  50822. <reg name="sw_update" protect="rw">
  50823. <bits access="rw" name="cc_type_sw" pos="0" rst="0x0">
  50824. <comment/>
  50825. </bits>
  50826. <bits access="rw" name="is_outdoor_sw" pos="1" rst="0x0">
  50827. <comment/>
  50828. </bits>
  50829. <bits access="rw" name="gamma_type_sw" pos="2" rst="0x0">
  50830. <comment/>
  50831. </bits>
  50832. <bits access="rw" name="sw_update_rsvd" pos="3" rst="0x0">
  50833. <comment>not used here</comment>
  50834. </bits>
  50835. <bits access="rw" name="is_outdoor_mode" pos="6:4" rst="0x0">
  50836. <comment>3'd0: is_outdoor = 0;
  50837. 3'd1: is_outdoor = 1;
  50838. 3'd2:
  50839. if(ana_gain==0) begin
  50840. if(expoutdoor_th) is_outdoor = 1;
  50841. else if(expnon_outdoor_th) is_outdoor = 0; end
  50842. else is_outdoor = 0;
  50843. 3'd3:
  50844. if(ana_gain==0 and rgain_bigger) begin
  50845. if(expoutdoor_th) is_outdoor = 1;
  50846. else if(expnon_outdoor_th) is_outdoor = 0; end
  50847. else is_outdoor = 0;
  50848. default:
  50849. if(vsync_rp_d and sw_update_en) is_outdoor = is_outdoor_sw;</comment>
  50850. </bits>
  50851. <bits access="rw" name="awb_outdoor_en" pos="7" rst="0x0">
  50852. <comment>1: when is_outdoor=1, only detect white point at D65 and Indoor CTD block
  50853. 0: dont care is_outdoor, detect white point at all ctd block</comment>
  50854. </bits>
  50855. </reg>
  50856. <reg name="awb_ctrl5" protect="rw">
  50857. <bits access="rw" name="r_low_non_a" pos="7:0" rst="0x3c">
  50858. <comment/>
  50859. </bits>
  50860. </reg>
  50861. <reg name="awb_ctrl6" protect="rw">
  50862. <bits access="rw" name="awb_stop_h" pos="3:0" rst="0x0">
  50863. <comment>awb_stop_cr_pos_level =[[3],awb_stop_reg[7:6]];
  50864. awb_stop_cr_neg_level =[[2],awb_stop_reg[5:4]];
  50865. awb_stop_cb_pos_level =[[1],awb_stop_reg[3:2]];
  50866. awb_stop_cb_neg_level =[[0],awb_stop_reg[1:0]];</comment>
  50867. </bits>
  50868. <bits access="rw" name="awb_adj_again" pos="5:4" rst="0x0">
  50869. <comment>awb_adj_again = [2'b11, [5:4]]</comment>
  50870. </bits>
  50871. <bits access="rw" name="awb_algo_en" pos="6" rst="0x0">
  50872. <comment>1: add awb_algo_thr condition to detect white point@A
  50873. 0: detect white point according to A ctd block</comment>
  50874. </bits>
  50875. <bits access="rw" name="check_r_low" pos="7" rst="0x0">
  50876. <comment/>
  50877. </bits>
  50878. </reg>
  50879. <reg name="sca_reg" protect="rw">
  50880. <bits access="rw" name="sca_mode" pos="2:0" rst="0x0">
  50881. <comment>0: normal(no scale)
  50882. 1: sub(yuv sub mode)
  50883. 2: sca_320x240(1/2)
  50884. 3: sca_176x144(1/3)
  50885. 4: sca_160x120(1/4)
  50886. 5: sca352x288(2/3)
  50887. 6: sca352x288(3/5)
  50888. 7: 3/4</comment>
  50889. </bits>
  50890. </reg>
  50891. <reg name="ae_ee_sta_reg" protect="rw">
  50892. <bits access="rw" name="ae_ee_sta_gain" pos="5:0" rst="0x0">
  50893. <comment>Ee (64)</comment>
  50894. </bits>
  50895. </reg>
  50896. <reg name="ae_ee_num_reg" protect="rw">
  50897. <bits access="rw" name="ae_ee_num_reg" pos="3:0" rst="0x0">
  50898. <comment>Ee (eE)</comment>
  50899. </bits>
  50900. </reg>
  50901. <reg name="ae_ef_sta_reg" protect="rw">
  50902. <bits access="rw" name="ae_ef_sta_gain" pos="5:0" rst="0x0">
  50903. <comment>Ef (64)</comment>
  50904. </bits>
  50905. </reg>
  50906. <reg name="ae_ef_num_reg" protect="rw">
  50907. <bits access="rw" name="ae_ef_num_reg" pos="3:0" rst="0x0">
  50908. <comment>Ef (fE)</comment>
  50909. </bits>
  50910. </reg>
  50911. <reg name="ae_thr_big_reg" protect="rw">
  50912. <bits access="rw" name="ae_thr_big_dark" pos="3:0" rst="0x6">
  50913. <comment>ae_thr_big = [reg1CA[3:0],2d0]@dark</comment>
  50914. </bits>
  50915. <bits access="rw" name="ae_thr_big_bright" pos="7:4" rst="0x8">
  50916. <comment>ae_thr_big = [reg1CA[7:4],2d0]@bright</comment>
  50917. </bits>
  50918. </reg>
  50919. <reg name="sharp_gain_minus_low" protect="rw">
  50920. <bits access="rw" name="sharp_gain_minus_low" pos="7:0" rst="0x70">
  50921. <comment>sharp gain @low gain(2.6 format)</comment>
  50922. </bits>
  50923. </reg>
  50924. <reg name="sharp_gain_minus_mid" protect="rw">
  50925. <bits access="rw" name="sharp_gain_minus_mid" pos="7:0" rst="0x90">
  50926. <comment>sharp gain @medium gain(2.6 format)</comment>
  50927. </bits>
  50928. </reg>
  50929. <reg name="sharp_gain_minus_hi" protect="rw">
  50930. <bits access="rw" name="sharp_gain_minus_hi" pos="7:0" rst="0xb0">
  50931. <comment>sharp gain @high gain(2.6 format)</comment>
  50932. </bits>
  50933. </reg>
  50934. <reg name="sharp_mode_mid_hi" protect="rw">
  50935. <bits access="rw" name="sharp_cmp_gap_mid" pos="3:0" rst="0x8">
  50936. <comment>sharp_cmp&gt; (sharp_nr_area_thr[6:0]+sharp_cmp_gap)</comment>
  50937. </bits>
  50938. <bits access="rw" name="sharp_cmp_gap_hi" pos="7:4" rst="0x8">
  50939. <comment>sharp_cmp&gt; (sharp_nr_area_thr[6:0]+sharp_cmp_gap)</comment>
  50940. </bits>
  50941. </reg>
  50942. <reg name="fw_version_reg" protect="rw">
  50943. <bits access="rw" name="fw_version" pos="7:0" rst="0x00">
  50944. <comment/>
  50945. </bits>
  50946. </reg>
  50947. <reg name="awb_y_min_reg" protect="rw">
  50948. <bits access="rw" name="awb_y_min" pos="7:0" rst="0x40">
  50949. <comment>Y = Y_min ( AWB)</comment>
  50950. </bits>
  50951. </reg>
  50952. <reg name="y_red_coef_reg" protect="rw">
  50953. <bits access="rw" name="y_red_coef" pos="7:0" rst="0x4d">
  50954. <comment/>
  50955. </bits>
  50956. </reg>
  50957. <reg name="y_blue_coef_reg" protect="rw">
  50958. <bits access="rw" name="y_blue_coef" pos="7:0" rst="0x1d">
  50959. <comment/>
  50960. </bits>
  50961. </reg>
  50962. <reg name="cb_red_coef_reg" protect="rw">
  50963. <bits access="rw" name="cb_red_coef" pos="7:0" rst="0x2b">
  50964. <comment/>
  50965. </bits>
  50966. </reg>
  50967. <reg name="cr_blue_coef_reg" protect="rw">
  50968. <bits access="rw" name="cr_blue_coef" pos="7:0" rst="0x15">
  50969. <comment/>
  50970. </bits>
  50971. </reg>
  50972. <reg name="hist_vbp_level_reg" protect="rw">
  50973. <bits access="rw" name="hist_vbp_level" pos="7:0" rst="0xd8">
  50974. <comment>Y level of vbright_hist</comment>
  50975. </bits>
  50976. </reg>
  50977. <reg name="hist_vdp_level_reg" protect="rw">
  50978. <bits access="rw" name="hist_vdp_level" pos="7:0" rst="0x18">
  50979. <comment>Y level of vdark_hist</comment>
  50980. </bits>
  50981. </reg>
  50982. <hole size="40*32"/>
  50983. </module>
  50984. </archive>
  50985. <archive relative="adi_mst.xml">
  50986. <module category="Periph" name="ADI_MST">
  50987. <reg name="adi_version" protect="rw">
  50988. <bits access="rw" name="adi_version_low" pos="3:0" rst="0">
  50989. <comment>adi low bits version.</comment>
  50990. </bits>
  50991. <bits access="r" name="adi_version_high" pos="15:4" rst="0x10">
  50992. <comment>adi high bits version,read only.</comment>
  50993. </bits>
  50994. </reg>
  50995. <reg name="adi_ctrl" protect="rw">
  50996. <bits access="rw" name="addr_byte_sel" pos="1:0" rst="0">
  50997. <comment>addr mode for access. &quot;00&quot; word mode,means addr[x:2],&quot;01&quot; half word,means addr[x:1], &quot;1x&quot; byte mode, means addr[x:0].</comment>
  50998. </bits>
  50999. <bits access="rw" name="wr_bit_flag" pos="2" rst="0">
  51000. <comment>configure write bit flag.</comment>
  51001. </bits>
  51002. <bits access="rw" name="addr_bits_sel" pos="4:3" rst="0">
  51003. <comment>addr bit number configure, &quot;00&quot; address is 12 bits, &quot;01&quot; address is 10 bits, &quot;10&quot; address is 15 bits.</comment>
  51004. </bits>
  51005. <bits access="rw" name="wr_cmd_en" pos="5" rst="0">
  51006. <comment>&quot;1&quot; write uses command mode, in this mode, must first configure channel addr, then data.</comment>
  51007. </bits>
  51008. </reg>
  51009. <reg name="adi_pril" protect="rw">
  51010. <bits access="rw" name="chnl0_pri" pos="2:0" rst="0">
  51011. <comment>write channel 0 priority. 0 has lowest priority, 4 has highest priority.</comment>
  51012. </bits>
  51013. <bits access="rw" name="chnl1_pri" pos="5:3" rst="0">
  51014. <comment>read channel 1 priority. 0 has lowest priority, 4 has highest priority.</comment>
  51015. </bits>
  51016. <bits access="rw" name="event0_pri" pos="8:6" rst="0">
  51017. <comment>read channel 2 priority. 0 has lowest priority, 4 has highest priority.</comment>
  51018. </bits>
  51019. <bits access="rw" name="event1_pri" pos="11:9" rst="0">
  51020. <comment>read channel 3 priority. 0 has lowest priority, 4 has highest priority.</comment>
  51021. </bits>
  51022. <bits access="rw" name="event2_pri" pos="14:12" rst="0">
  51023. <comment>read channel 4 priority. 0 has lowest priority, 4 has highest priority.</comment>
  51024. </bits>
  51025. <bits access="rw" name="event3_pri" pos="17:15" rst="0">
  51026. <comment>read channel 5 priority. 0 has lowest priority, 4 has highest priority.</comment>
  51027. </bits>
  51028. </reg>
  51029. <hole size="32"/>
  51030. <reg name="adi_int_en" protect="rw">
  51031. <bits access="rw" name="wfifo_en" pos="0" rst="0">
  51032. <comment>&quot;1&quot; write command fifo enable.</comment>
  51033. </bits>
  51034. <bits access="rw" name="fifo_overflow_int_en" pos="3" rst="0">
  51035. <comment>fifo overfolow interrupt mask.</comment>
  51036. </bits>
  51037. </reg>
  51038. <reg name="adi_int_raw" protect="r">
  51039. <bits access="r" name="fifo_overflow_raw" pos="3" rst="0">
  51040. <comment>fifo overfolow interrupt without mask status.</comment>
  51041. </bits>
  51042. </reg>
  51043. <reg name="adi_int_status" protect="r">
  51044. <bits access="r" name="fifo_overflow_status" pos="3" rst="0">
  51045. <comment>fifo overfolow interrupt with mask status.</comment>
  51046. </bits>
  51047. </reg>
  51048. <reg name="adi_int_clear" protect="w">
  51049. <bits access="w" name="fifo_overflow_clear" pos="3" rst="0">
  51050. <comment>fifo overfolow interrupt clear.</comment>
  51051. </bits>
  51052. </reg>
  51053. <reg name="adi_cfg0" protect="rw">
  51054. <bits access="rw" name="rf_gssi_frame_len" pos="5:0" rst="0x3d">
  51055. <comment>total adi frame length = rf_gssi_cmd_len + rf_gssi_data_len.</comment>
  51056. </bits>
  51057. <bits access="rw" name="rf_gssi_cmd_len" pos="10:6" rst="0x14">
  51058. <comment>total adi cmd length = rf_gssi_addr_len + read/write flag.</comment>
  51059. </bits>
  51060. <bits access="rw" name="rf_gssi_data_len" pos="15:11" rst="0x10">
  51061. <comment>total adi data length .</comment>
  51062. </bits>
  51063. <bits access="rw" name="rf_gssi_wr_pos" pos="20:16" rst="0x10">
  51064. <comment>write bit position in frame stream .</comment>
  51065. </bits>
  51066. <bits access="rw" name="rf_gssi_wr_pol" pos="21" rst="0x0">
  51067. <comment>&quot;1&quot; write means 1, &quot;0&quot; write means 0.</comment>
  51068. </bits>
  51069. <bits access="rw" name="rf_gssi_sync_sel" pos="22" rst="0x1">
  51070. <comment>&quot;1&quot; hardware auto generate sync, &quot;0&quot; software generates sync.</comment>
  51071. </bits>
  51072. <bits access="rw" name="rf_gssi_sync_mode" pos="23" rst="0x1">
  51073. <comment>&quot;1&quot; sync is pulse, &quot;0&quot; sync is level.</comment>
  51074. </bits>
  51075. <bits access="rw" name="rf_gssi_sync" pos="24" rst="0x0">
  51076. <comment>&quot;1&quot; software generates sync.</comment>
  51077. </bits>
  51078. <bits access="rw" name="rf_gssi_sck_rev" pos="25" rst="0x0">
  51079. <comment>&quot;1&quot; invert output sck.</comment>
  51080. </bits>
  51081. <bits access="rw" name="rf_gssi_oe_cfg" pos="26" rst="0x1">
  51082. <comment>output oen : &quot;1&quot; oen add dummy cycle, &quot;0&quot; oen not add dummy cycle.</comment>
  51083. </bits>
  51084. <bits access="rw" name="rf_gssi_ie_cfg" pos="27" rst="0x0">
  51085. <comment>reserved.</comment>
  51086. </bits>
  51087. <bits access="rw" name="rf_gssi_dummy_clk_en" pos="28" rst="0x1">
  51088. <comment>&quot;1&quot; output dummy_clock, &quot;0&quot; gate dummy clock.</comment>
  51089. </bits>
  51090. <bits access="rw" name="rf_gssi_fast_mode" pos="29" rst="0x0">
  51091. <comment>&quot;1&quot; rx sample delay 1 adi clk cycle, &quot;0&quot; delay 0 adi clk cycle.</comment>
  51092. </bits>
  51093. <bits access="rw" name="rf_gssi_sck_all_on" pos="30" rst="0x1">
  51094. <comment>&quot;1&quot; sck always on, &quot;0&quot; audo gate clock.</comment>
  51095. </bits>
  51096. <bits access="rw" name="rf_gssi_wr_disable" pos="31" rst="0x0">
  51097. <comment>&quot;1&quot; write bit disable, &quot;0&quot; write bit enable.</comment>
  51098. </bits>
  51099. </reg>
  51100. <reg name="adi_cfg1" protect="rw">
  51101. <bits access="rw" name="rf_gssi_ng_tx" pos="0" rst="1">
  51102. <comment>&quot;1&quot; tx data at negedge of sck.&quot;0&quot; tx data at posedge of sck.</comment>
  51103. </bits>
  51104. <bits access="rw" name="rf_gssi_ng_rx" pos="1" rst="0">
  51105. <comment>&quot;1&quot; rx data at negedge of sck.&quot;0&quot; rx data at posedge of sck.</comment>
  51106. </bits>
  51107. <bits access="rw" name="rf_gssi_clk_div" pos="9:2" rst="0">
  51108. <comment>F_sck = F_clk/(2*(rf_gssi_clk_div+1))</comment>
  51109. </bits>
  51110. <bits access="rw" name="rf_gssi_sync_head_len" pos="12:10" rst="0">
  51111. <comment>sync before data transfer</comment>
  51112. </bits>
  51113. <bits access="rw" name="rf_gssi_sync_end_len" pos="15:13" rst="0">
  51114. <comment>sync end data transfer</comment>
  51115. </bits>
  51116. <bits access="rw" name="rf_gssi_dummy_len" pos="19:16" rst="3">
  51117. <comment>extral dummy sck</comment>
  51118. </bits>
  51119. <bits access="rw" name="rf_gssi_sample_delay" pos="20" rst="0">
  51120. <comment>extral dummy sck</comment>
  51121. </bits>
  51122. <bits access="rw" name="rf_gssi_scc_len" pos="23:21" rst="0">
  51123. <comment>start sequence condition, only used in RFFE</comment>
  51124. </bits>
  51125. <bits access="rw" name="rf_gssi_wbp_len" pos="26:24" rst="0">
  51126. <comment>master turn around to salve length , only used in RFFE</comment>
  51127. </bits>
  51128. <bits access="rw" name="rf_gssi_rbp_len" pos="30:28" rst="0">
  51129. <comment>slave turn around to master length , only used in RFFE</comment>
  51130. </bits>
  51131. <bits access="rw" name="rf_gssi_strtbit_mode" pos="31" rst="0">
  51132. <comment>&quot;1&quot; 2 wires enable</comment>
  51133. </bits>
  51134. </reg>
  51135. <reg name="arm_rd_cmd" protect="rw">
  51136. <bits access="rw" name="arm_rd_cmd" pos="16:0" rst="0">
  51137. <comment>configure read address and start a read operation.</comment>
  51138. </bits>
  51139. </reg>
  51140. <reg name="arm_rd_data" protect="r">
  51141. <bits access="r" name="arm_rd_cmd" pos="15:0" rst="0">
  51142. <comment>read data from analog die.</comment>
  51143. </bits>
  51144. <bits access="r" name="arm_rd_addr" pos="30:16" rst="0">
  51145. <comment>read address map to arm_red_cmd[16:2].</comment>
  51146. </bits>
  51147. <bits access="r" name="arm_rd_cmd_busy" pos="31" rst="0">
  51148. <comment>1 means has not been read back.</comment>
  51149. </bits>
  51150. </reg>
  51151. <reg name="arm_cmd_status" protect="r">
  51152. <bits access="r" name="arm_wr_status" pos="0" rst="0">
  51153. <comment>&quot;1&quot; write channel is busy</comment>
  51154. </bits>
  51155. <bits access="r" name="arm_rd_status" pos="1" rst="0">
  51156. <comment>&quot;1&quot; read channel is busy</comment>
  51157. </bits>
  51158. <bits access="r" name="adi_busy" pos="4" rst="0">
  51159. <comment>&quot;1&quot; adi operation is busy</comment>
  51160. </bits>
  51161. <bits access="r" name="wfifo full" pos="8" rst="0">
  51162. <comment>wfifo full status</comment>
  51163. </bits>
  51164. <bits access="r" name="wfifo empty" pos="9" rst="0">
  51165. <comment>wfifo empty status</comment>
  51166. </bits>
  51167. <bits access="r" name="wfifo fill data level" pos="14:12" rst="0">
  51168. <comment>wfifo fill data number</comment>
  51169. </bits>
  51170. <bits access="r" name="adi fsm status" pos="19:16" rst="0">
  51171. <comment>adi fsm status</comment>
  51172. </bits>
  51173. <bits access="r" name="event0 wr status" pos="20" rst="0">
  51174. <comment>event 0 wr status</comment>
  51175. </bits>
  51176. <bits access="r" name="event1 wr status" pos="21" rst="0">
  51177. <comment>event 1 wr status</comment>
  51178. </bits>
  51179. <bits access="r" name="event2 wr status" pos="22" rst="0">
  51180. <comment>event 2 wr status</comment>
  51181. </bits>
  51182. <bits access="r" name="event3 wr status" pos="23" rst="0">
  51183. <comment>event 3 wr status</comment>
  51184. </bits>
  51185. </reg>
  51186. <reg name="adi_chanel_en" protect="rw">
  51187. <bits access="rw" name="event0 trigger negedge en" pos="0" rst="0">
  51188. <comment/>
  51189. </bits>
  51190. <bits access="rw" name="event0 trigger posedge en" pos="1" rst="0">
  51191. <comment/>
  51192. </bits>
  51193. <bits access="rw" name="event1 trigger negedge en" pos="2" rst="0">
  51194. <comment/>
  51195. </bits>
  51196. <bits access="rw" name="event1 trigger posedge en" pos="3" rst="0">
  51197. <comment/>
  51198. </bits>
  51199. <bits access="rw" name="event2 trigger negedge en" pos="4" rst="0">
  51200. <comment/>
  51201. </bits>
  51202. <bits access="rw" name="event2 trigger posedge en" pos="5" rst="0">
  51203. <comment/>
  51204. </bits>
  51205. <bits access="rw" name="event3 trigger negedge en" pos="6" rst="0">
  51206. <comment/>
  51207. </bits>
  51208. <bits access="rw" name="event3 trigger posedge en" pos="7" rst="0">
  51209. <comment/>
  51210. </bits>
  51211. </reg>
  51212. <reg name="adi_cmd_wr" protect="rw">
  51213. <bits access="rw" name="adi_cmd_wr" pos="16:0" rst="0">
  51214. <comment>the address map to the PMIC chip space, just for write operation</comment>
  51215. </bits>
  51216. </reg>
  51217. <reg name="adi_dat_wr" protect="rw">
  51218. <bits access="rw" name="adi_dat_wr" pos="15:0" rst="0">
  51219. <comment>the dat to the PMIC chip space, just for write operation</comment>
  51220. </bits>
  51221. </reg>
  51222. <reg name="event0_waddr" protect="rw">
  51223. <bits access="rw" name="event0_waddr" pos="16:0" rst="0x634">
  51224. <comment/>
  51225. </bits>
  51226. </reg>
  51227. <reg name="event1_waddr" protect="rw">
  51228. <bits access="rw" name="event1_waddr" pos="16:0" rst="0">
  51229. <comment/>
  51230. </bits>
  51231. </reg>
  51232. <reg name="event2_waddr" protect="rw">
  51233. <bits access="rw" name="event2_waddr" pos="16:0" rst="0">
  51234. <comment/>
  51235. </bits>
  51236. </reg>
  51237. <reg name="event3_waddr" protect="rw">
  51238. <bits access="rw" name="event3_waddr" pos="16:0" rst="0">
  51239. <comment/>
  51240. </bits>
  51241. </reg>
  51242. <reg name="event0_wdata" protect="rw">
  51243. <bits access="rw" name="event0_neg_wdata" pos="15:0" rst="0x0">
  51244. <comment/>
  51245. </bits>
  51246. <bits access="rw" name="event0_pos_wdata" pos="31:16" rst="0x1">
  51247. <comment/>
  51248. </bits>
  51249. </reg>
  51250. <reg name="event1_wdata" protect="rw">
  51251. <bits access="rw" name="event1_neg_wdata" pos="15:0" rst="0x0">
  51252. <comment/>
  51253. </bits>
  51254. <bits access="rw" name="event1_pos_wdata" pos="31:16" rst="0x0">
  51255. <comment/>
  51256. </bits>
  51257. </reg>
  51258. <reg name="event2_wdata" protect="rw">
  51259. <bits access="rw" name="event2_neg_wdata" pos="15:0" rst="0x0">
  51260. <comment/>
  51261. </bits>
  51262. <bits access="rw" name="event2_pos_wdata" pos="31:16" rst="0x0">
  51263. <comment/>
  51264. </bits>
  51265. </reg>
  51266. <reg name="event3_wdata" protect="rw">
  51267. <bits access="rw" name="event3_neg_wdata" pos="15:0" rst="0x0">
  51268. <comment/>
  51269. </bits>
  51270. <bits access="rw" name="event3_pos_wdata" pos="31:16" rst="0x0">
  51271. <comment/>
  51272. </bits>
  51273. </reg>
  51274. </module>
  51275. </archive>
  51276. <archive relative="analog_reg.xml">
  51277. <module category="ANALOG_IF" name="ANALOG_REG">
  51278. <reg name="apll_reg0" protect="rw">
  51279. <bits access="r" name="apll_lock" pos="2" rst="0">
  51280. </bits>
  51281. <bits access="rw" name="apll_lp_mode_en" pos="1" rst="0">
  51282. </bits>
  51283. <bits access="rw" name="apll_clk_ap_en" pos="0" rst="1">
  51284. </bits>
  51285. </reg>
  51286. <reg name="apll_reg1" protect="rw">
  51287. <bits access="rw" name="apll_pfd_dly_num" pos="19:17" rst="0">
  51288. </bits>
  51289. <bits access="rw" name="apll_vreg_bit" pos="16:13" rst="8">
  51290. </bits>
  51291. <bits access="rw" name="apll_reg_res_bit" pos="12:11" rst="2">
  51292. </bits>
  51293. <bits access="rw" name="apll_cpbias_ibit" pos="10:8" rst="4">
  51294. </bits>
  51295. <bits access="rw" name="apll_cpc2_ibit" pos="7:5" rst="4">
  51296. </bits>
  51297. <bits access="rw" name="apll_cpr2_ibit" pos="4:2" rst="4">
  51298. </bits>
  51299. <bits access="rw" name="apll_pcon_mode" pos="1" rst="0">
  51300. </bits>
  51301. <bits access="rw" name="apll_refmulti2_en" pos="0" rst="1">
  51302. </bits>
  51303. </reg>
  51304. <reg name="apll_reg2" protect="rw">
  51305. <bits access="rw" name="apll_test_en" pos="3" rst="0">
  51306. </bits>
  51307. <bits access="rw" name="apll_sdm_clk_test_en" pos="2" rst="0">
  51308. </bits>
  51309. <bits access="rw" name="apll_vco_high_test" pos="1" rst="0">
  51310. </bits>
  51311. <bits access="rw" name="apll_vco_low_test" pos="0" rst="0">
  51312. </bits>
  51313. </reg>
  51314. <reg name="sdm_apll_reg0" protect="rw">
  51315. <bits access="rw" name="sdm_apll_fbc_inv" pos="8" rst="0">
  51316. </bits>
  51317. <bits access="rw" name="sdm_apll_pu" pos="7" rst="1">
  51318. </bits>
  51319. <bits access="rw" name="sdm_apll_sdm_clk_sel_rst" pos="6" rst="1">
  51320. </bits>
  51321. <bits access="rw" name="sdm_apll_sdm_clk_sel_nor" pos="5" rst="0">
  51322. </bits>
  51323. <bits access="rw" name="sdm_apll_pu_pll_dr" pos="4" rst="0">
  51324. </bits>
  51325. <bits access="rw" name="sdm_apll_pu_pll_reg" pos="3" rst="0">
  51326. </bits>
  51327. <bits access="rw" name="sdm_apll_int_dec_sel" pos="2:0" rst="3">
  51328. </bits>
  51329. </reg>
  51330. <reg name="sdm_apll_reg1" protect="rw">
  51331. <bits access="rw" name="sdm_apll_sdm_freq" pos="31:0" rst="495573150">
  51332. <comment>freq/26*2^25 768Mhz</comment>
  51333. </bits>
  51334. </reg>
  51335. <reg name="sdm_apll_reg2" protect="rw">
  51336. <bits access="rw" name="sdm_apll_dither_bypass" pos="11" rst="1">
  51337. </bits>
  51338. <bits access="rw" name="sdm_apll_sdm_resetn_dr" pos="10" rst="0">
  51339. </bits>
  51340. <bits access="rw" name="sdm_apll_sdm_resetn_reg" pos="9" rst="0">
  51341. </bits>
  51342. <bits access="rw" name="sdm_apll_sdm_reset_time_sel" pos="8:7" rst="1">
  51343. </bits>
  51344. <bits access="rw" name="sdm_apll_sdmclk_sel_time_sel" pos="6:5" rst="1">
  51345. </bits>
  51346. <bits access="rw" name="sdm_apll_clk_gen_en_reg" pos="4" rst="1">
  51347. </bits>
  51348. <bits access="rw" name="sdm_apll_clkout_en_counter_sel" pos="3:2" rst="2">
  51349. </bits>
  51350. <bits access="rw" name="sdm_apll_lock_counter_sel" pos="1:0" rst="1">
  51351. </bits>
  51352. </reg>
  51353. <reg name="sdm_apll_reg3" protect="r">
  51354. <bits access="r" name="sdm_apll_sdm_resetn" pos="2" rst="0">
  51355. </bits>
  51356. <bits access="r" name="sdm_apll_lock_steady" pos="1" rst="0">
  51357. </bits>
  51358. <bits access="r" name="sdm_apll_clk_ready" pos="0" rst="0">
  51359. </bits>
  51360. </reg>
  51361. <reg name="sdm_apll_reg4" protect="rw">
  51362. <bits access="rw" name="sdm_apll_sdm_en" pos="29" rst="1">
  51363. </bits>
  51364. <bits access="rw" name="sdm_apll_ss_en" pos="28" rst="0">
  51365. </bits>
  51366. <bits access="rw" name="sdm_apll_ss_devi" pos="27:16" rst="0">
  51367. </bits>
  51368. <bits access="rw" name="sdm_apll_ss_devi_step" pos="15:0" rst="0">
  51369. </bits>
  51370. </reg>
  51371. <hole size="256"/>
  51372. <reg name="mempll_reg0" protect="rw">
  51373. <bits access="r" name="mempll_lock" pos="2" rst="0">
  51374. </bits>
  51375. <bits access="rw" name="mempll_lp_mode_en" pos="1" rst="0">
  51376. </bits>
  51377. <bits access="rw" name="mempll_clk_mem_en" pos="0" rst="1">
  51378. </bits>
  51379. </reg>
  51380. <reg name="mempll_reg1" protect="rw">
  51381. <bits access="rw" name="mempll_pfd_dly_num" pos="19:17" rst="0">
  51382. </bits>
  51383. <bits access="rw" name="mempll_vreg_bit" pos="16:13" rst="8">
  51384. </bits>
  51385. <bits access="rw" name="mempll_reg_res_bit" pos="12:11" rst="2">
  51386. </bits>
  51387. <bits access="rw" name="mempll_cpbias_ibit" pos="10:8" rst="4">
  51388. </bits>
  51389. <bits access="rw" name="mempll_cpc2_ibit" pos="7:5" rst="4">
  51390. </bits>
  51391. <bits access="rw" name="mempll_cpr2_ibit" pos="4:2" rst="4">
  51392. </bits>
  51393. <bits access="rw" name="mempll_pcon_mode" pos="1" rst="0">
  51394. </bits>
  51395. <bits access="rw" name="mempll_refmulti2_en" pos="0" rst="1">
  51396. </bits>
  51397. </reg>
  51398. <reg name="mempll_reg2" protect="rw">
  51399. <bits access="rw" name="mempll_test_en" pos="3" rst="0">
  51400. </bits>
  51401. <bits access="rw" name="mempll_sdm_clk_test_en" pos="2" rst="0">
  51402. </bits>
  51403. <bits access="rw" name="mempll_vco_high_test" pos="1" rst="0">
  51404. </bits>
  51405. <bits access="rw" name="mempll_vco_low_test" pos="0" rst="0">
  51406. </bits>
  51407. </reg>
  51408. <reg name="sdm_mempll_reg0" protect="rw">
  51409. <bits access="rw" name="sdm_mempll_fbc_inv" pos="8" rst="0">
  51410. </bits>
  51411. <bits access="rw" name="sdm_mempll_pu" pos="7" rst="1">
  51412. </bits>
  51413. <bits access="rw" name="sdm_mempll_sdm_clk_sel_rst" pos="6" rst="1">
  51414. </bits>
  51415. <bits access="rw" name="sdm_mempll_sdm_clk_sel_nor" pos="5" rst="0">
  51416. </bits>
  51417. <bits access="rw" name="sdm_mempll_pu_pll_dr" pos="4" rst="0">
  51418. </bits>
  51419. <bits access="rw" name="sdm_mempll_pu_pll_reg" pos="3" rst="0">
  51420. </bits>
  51421. <bits access="rw" name="sdm_mempll_int_dec_sel" pos="2:0" rst="3">
  51422. </bits>
  51423. </reg>
  51424. <reg name="sdm_mempll_reg1" protect="rw">
  51425. <bits access="rw" name="sdm_mempll_sdm_freq" pos="31:0" rst="516222030">
  51426. <comment>800Mhz</comment>
  51427. </bits>
  51428. </reg>
  51429. <reg name="sdm_mempll_reg2" protect="rw">
  51430. <bits access="rw" name="sdm_mempll_dither_bypass" pos="11" rst="1">
  51431. </bits>
  51432. <bits access="rw" name="sdm_mempll_sdm_resetn_dr" pos="10" rst="0">
  51433. </bits>
  51434. <bits access="rw" name="sdm_mempll_sdm_resetn_reg" pos="9" rst="0">
  51435. </bits>
  51436. <bits access="rw" name="sdm_mempll_sdm_reset_time_sel" pos="8:7" rst="1">
  51437. </bits>
  51438. <bits access="rw" name="sdm_mempll_sdmclk_sel_time_sel" pos="6:5" rst="1">
  51439. </bits>
  51440. <bits access="rw" name="sdm_mempll_clk_gen_en_reg" pos="4" rst="1">
  51441. </bits>
  51442. <bits access="rw" name="sdm_mempll_clkout_en_counter_sel" pos="3:2" rst="2">
  51443. </bits>
  51444. <bits access="rw" name="sdm_mempll_lock_counter_sel" pos="1:0" rst="1">
  51445. </bits>
  51446. </reg>
  51447. <reg name="sdm_mempll_reg3" protect="r">
  51448. <bits access="r" name="sdm_mempll_sdm_resetn" pos="2" rst="0">
  51449. </bits>
  51450. <bits access="r" name="sdm_mempll_lock_steady" pos="1" rst="0">
  51451. </bits>
  51452. <bits access="r" name="sdm_mempll_clk_ready" pos="0" rst="0">
  51453. </bits>
  51454. </reg>
  51455. <reg name="sdm_mempll_reg4" protect="rw">
  51456. <bits access="rw" name="sdm_mempll_sdm_en" pos="29" rst="1">
  51457. </bits>
  51458. <bits access="rw" name="sdm_mempll_ss_en" pos="28" rst="0">
  51459. </bits>
  51460. <bits access="rw" name="sdm_mempll_ss_devi" pos="27:16" rst="0">
  51461. </bits>
  51462. <bits access="rw" name="sdm_mempll_ss_devi_step" pos="15:0" rst="0">
  51463. </bits>
  51464. </reg>
  51465. <hole size="256"/>
  51466. <reg name="usb_reg0" protect="rw">
  51467. <bits access="rw" name="usb_tx_rstn" pos="9" rst="1">
  51468. </bits>
  51469. <bits access="rw" name="usb_cdr_clk_edge_bit" pos="8" rst="0">
  51470. <comment>1: clk_datarx
  51471. 0: inv of clk_datarx</comment>
  51472. </bits>
  51473. <bits access="rw" name="usb_rst_intp_enable" pos="7" rst="0">
  51474. <comment>1: enable rst intepolator by squelch
  51475. 0: disable rst by squelch</comment>
  51476. </bits>
  51477. <bits access="rw" name="usb_updn_mode" pos="6" rst="0">
  51478. <comment>default: 1'h0</comment>
  51479. </bits>
  51480. <bits access="rw" name="usb_phase_sel" pos="5:4" rst="2">
  51481. <comment>tx clk samle data phase</comment>
  51482. </bits>
  51483. <bits access="rw" name="usb_cdr_gain" pos="3:0" rst="9">
  51484. <comment>set cdr gain</comment>
  51485. </bits>
  51486. </reg>
  51487. <reg name="usb_reg1" protect="rw">
  51488. <bits access="rw" name="usb_vref_ibit" pos="14:13" rst="2">
  51489. <comment>internal bias current</comment>
  51490. </bits>
  51491. <bits access="rw" name="usb_vref_vbit" pos="12:10" rst="4">
  51492. <comment>internal bias voltage</comment>
  51493. </bits>
  51494. <bits access="rw" name="usb_v575m_sel_bit" pos="9:7" rst="4">
  51495. <comment>squelch threshold voltage</comment>
  51496. </bits>
  51497. <bits access="rw" name="usb_v125m_sel_bit" pos="6:4" rst="4">
  51498. <comment>disconnect threshold voltage</comment>
  51499. </bits>
  51500. <bits access="rw" name="usb_hs_lvlout_bit" pos="3:0" rst="8">
  51501. <comment>hi-speed differential signal voltage</comment>
  51502. </bits>
  51503. </reg>
  51504. <reg name="usb_reg2" protect="rw">
  51505. <bits access="rw" name="usb_squelch_aux" pos="14" rst="0">
  51506. <comment>if charged(1: squelch threshold voltage is reduced;0 hold)</comment>
  51507. </bits>
  51508. <bits access="rw" name="usb_discnnxt_mode_sel" pos="13" rst="0">
  51509. <comment>1: differential signal
  51510. 0: single-end signal</comment>
  51511. </bits>
  51512. <bits access="rw" name="usb_squelch_mode_sel" pos="12" rst="0">
  51513. <comment>1: differential signal
  51514. 0: single-end signal</comment>
  51515. </bits>
  51516. <bits access="rw" name="usb_vbg_sel" pos="11" rst="0">
  51517. <comment>1: internal reference voltage
  51518. 0: bandgap voltage</comment>
  51519. </bits>
  51520. <bits access="rw" name="usb_pu_otg" pos="10" rst="1">
  51521. <comment>1: enable otg
  51522. 0: disable otg</comment>
  51523. </bits>
  51524. <bits access="rw" name="usb_vbusvld_bit" pos="9" rst="0">
  51525. <comment>1: set vbusvld to 1'h1; 0: not set</comment>
  51526. </bits>
  51527. <bits access="rw" name="usb_pu_usb_dev" pos="8" rst="1">
  51528. <comment>if pwr_on=01:pullup and pulldown circuit power on;0 off)</comment>
  51529. </bits>
  51530. <bits access="rw" name="usb_pwr_on" pos="7" rst="0">
  51531. <comment>1:pullup and pulldown circuit power always on
  51532. 0:power is controled by pu_usb_dev</comment>
  51533. </bits>
  51534. <bits access="rw" name="usb_pu_pkd" pos="6" rst="1">
  51535. <comment>1:enable disconnect dectector circuit
  51536. 0:dsiable</comment>
  51537. </bits>
  51538. <bits access="rw" name="usb_pu_1v8" pos="5" rst="1">
  51539. <comment>1:enable 1.8V voltage
  51540. 0:dsiable</comment>
  51541. </bits>
  51542. <bits access="rw" name="usb_pu_1v2" pos="4" rst="1">
  51543. <comment>1:enable 1.2V voltage
  51544. 0:dsiable</comment>
  51545. </bits>
  51546. <bits access="rw" name="usb_pu_iref" pos="3" rst="1">
  51547. <comment>1:enable current generator circuit
  51548. 0:disable</comment>
  51549. </bits>
  51550. <bits access="rw" name="usb_pu_hsrx" pos="2" rst="1">
  51551. <comment>1:enable hi-speed rx
  51552. 0 disable</comment>
  51553. </bits>
  51554. <bits access="rw" name="usb_pu_hstx" pos="1" rst="1">
  51555. <comment>1:enable hi-speed tx
  51556. 0 disable</comment>
  51557. </bits>
  51558. <bits access="rw" name="usb_pu_lptx" pos="0" rst="1">
  51559. <comment>1:enable full/low-speed tx
  51560. 0 disable</comment>
  51561. </bits>
  51562. </reg>
  51563. <reg name="usb_reg3" protect="rw">
  51564. <bits access="rw" name="usb_det_en" pos="12" rst="0">
  51565. <comment>enable charger ac detect</comment>
  51566. </bits>
  51567. <bits access="rw" name="usb_loopback" pos="11" rst="0">
  51568. <comment>1: loopback data to tx
  51569. 0: hi-speed data to tx</comment>
  51570. </bits>
  51571. <bits access="rw" name="usb_en_pattern" pos="10" rst="0">
  51572. <comment>enable loopback;</comment>
  51573. </bits>
  51574. <bits access="rw" name="usb_pattern" pos="9:0" rst="0">
  51575. <comment>loopback data RW</comment>
  51576. </bits>
  51577. </reg>
  51578. <reg name="usb_reg4" protect="rw">
  51579. <bits access="rw" name="usb_io33_enable" pos="10" rst="1">
  51580. <comment>1:enable lptx bias
  51581. 0: disable lptx bias(should lead power up of avdd3v3)</comment>
  51582. </bits>
  51583. <bits access="rw" name="usb_res_term_bit" pos="9:8" rst="2">
  51584. <comment>hi-speed term res</comment>
  51585. </bits>
  51586. <bits access="rw" name="usb_lptx_drv_sel" pos="7:0" rst="255">
  51587. <comment>full/low-speed tx driver strength;</comment>
  51588. </bits>
  51589. </reg>
  51590. <reg name="usb_pll1" protect="rw">
  51591. <bits access="rw" name="usb_pll_vreg_bit" pos="14:11" rst="8">
  51592. <comment>internal regulator's voltage bit,default:4'h1000</comment>
  51593. </bits>
  51594. <bits access="rw" name="usb_reg_res_bit" pos="10:9" rst="2">
  51595. <comment>internal regulator rout bit</comment>
  51596. </bits>
  51597. <bits access="rw" name="usb_pll_cpbias_ibit" pos="8:6" rst="4">
  51598. <comment>loop filter R2 bit</comment>
  51599. </bits>
  51600. <bits access="rw" name="usb_pll_cpc2_ibit" pos="5:3" rst="4">
  51601. <comment>loop filter c2 bit</comment>
  51602. </bits>
  51603. <bits access="rw" name="usb_pll_cpr2_ibit" pos="2:0" rst="4">
  51604. <comment>loop filter r2 bit</comment>
  51605. </bits>
  51606. </reg>
  51607. <reg name="usb_pll2" protect="rw">
  51608. <bits access="rw" name="usb_pcon_mode" pos="6" rst="0">
  51609. <comment>pll_presc mode selectdefault:1'h0</comment>
  51610. </bits>
  51611. <bits access="rw" name="usb_refmulti2_en" pos="5" rst="1">
  51612. <comment>reference frequency select</comment>
  51613. </bits>
  51614. <bits access="rw" name="usb_pll_test_en" pos="4" rst="0">
  51615. <comment>PLL TEST mode enable</comment>
  51616. </bits>
  51617. <bits access="rw" name="usb_sdm_clk_test_en" pos="3" rst="0">
  51618. <comment>output clk select:
  51619. 0 VCO
  51620. 1 sdm_clk</comment>
  51621. </bits>
  51622. <bits access="rw" name="usb_vco_high_test" pos="2" rst="0">
  51623. <comment>force VCO run at highest frequency</comment>
  51624. </bits>
  51625. <bits access="rw" name="usb_vco_low_test" pos="1" rst="0">
  51626. <comment>force VCO run at lowest frequency</comment>
  51627. </bits>
  51628. <bits access="rw" name="usb_pll_clk_960m_en" pos="0" rst="1">
  51629. <comment>enable 960MHz clk output</comment>
  51630. </bits>
  51631. </reg>
  51632. <reg name="usb_suspend" protect="rw">
  51633. <bits access="rw" name="usb_pu_suspend_bypass" pos="5" rst="0">
  51634. </bits>
  51635. <bits access="rw" name="usb_pu_otg_suspend" pos="4" rst="0">
  51636. </bits>
  51637. <bits access="rw" name="usb_pu_pkd_suspend" pos="3" rst="0">
  51638. </bits>
  51639. <bits access="rw" name="usb_pu_iref_suspend" pos="2" rst="0">
  51640. </bits>
  51641. <bits access="rw" name="usb_pu_hsrx_suspend" pos="1" rst="0">
  51642. </bits>
  51643. <bits access="rw" name="usb_pu_hstx_suspend" pos="0" rst="0">
  51644. </bits>
  51645. </reg>
  51646. <reg name="usb11_reg" protect="rw">
  51647. <bits access="rw" name="usb11_suspend_bypass" pos="14" rst="0">
  51648. </bits>
  51649. <bits access="rw" name="usb11_usb_standby" pos="13" rst="0">
  51650. </bits>
  51651. <bits access="rw" name="usb11_usb_ctrl" pos="12:10" rst="1">
  51652. </bits>
  51653. <bits access="rw" name="usb11_pu_usb" pos="9" rst="1">
  51654. </bits>
  51655. <bits access="rw" name="usb11_io_bias_en" pos="8" rst="1">
  51656. </bits>
  51657. <bits access="rw" name="usb11_lptx_drvsel" pos="7:0" rst="255">
  51658. </bits>
  51659. </reg>
  51660. <reg name="usb_mon" protect="r">
  51661. <bits access="r" name="usb_dp_chr" pos="4" rst="0">
  51662. </bits>
  51663. <bits access="r" name="usb_dm_chr" pos="3" rst="0">
  51664. </bits>
  51665. <bits access="r" name="usb_correct" pos="2" rst="0">
  51666. <comment>loopback test output</comment>
  51667. </bits>
  51668. <bits access="r" name="usb_lock" pos="1" rst="0">
  51669. <comment>pll lock signal</comment>
  51670. </bits>
  51671. <bits access="r" name="usb_pll_lock" pos="0" rst="0">
  51672. <comment>pll lock signal to UTMI</comment>
  51673. </bits>
  51674. </reg>
  51675. <reg name="usb_reserved" protect="rw">
  51676. <bits access="rw" name="usb_reg_resv" pos="15:0" rst="8">
  51677. <comment>reserved for USB</comment>
  51678. </bits>
  51679. </reg>
  51680. <reg name="sdm_usbpll_reg0" protect="rw">
  51681. <bits access="rw" name="sdm_usbpll_fbc_inv" pos="8" rst="0">
  51682. </bits>
  51683. <bits access="rw" name="sdm_usbpll_pu" pos="7" rst="1">
  51684. </bits>
  51685. <bits access="rw" name="sdm_usbpll_sdm_clk_sel_rst" pos="6" rst="1">
  51686. </bits>
  51687. <bits access="rw" name="sdm_usbpll_sdm_clk_sel_nor" pos="5" rst="0">
  51688. </bits>
  51689. <bits access="rw" name="sdm_usbpll_pu_pll_dr" pos="4" rst="0">
  51690. </bits>
  51691. <bits access="rw" name="sdm_usbpll_pu_pll_reg" pos="3" rst="0">
  51692. </bits>
  51693. <bits access="rw" name="sdm_usbpll_int_dec_sel" pos="2:0" rst="3">
  51694. </bits>
  51695. </reg>
  51696. <reg name="sdm_usbpll_reg1" protect="rw">
  51697. <bits access="rw" name="sdm_usbpll_sdm_freq" pos="31:0" rst="619466436">
  51698. <comment>960Mhz</comment>
  51699. </bits>
  51700. </reg>
  51701. <reg name="sdm_usbpll_reg2" protect="rw">
  51702. <bits access="rw" name="sdm_usbpll_dither_bypass" pos="11" rst="1">
  51703. </bits>
  51704. <bits access="rw" name="sdm_usbpll_sdm_resetn_dr" pos="10" rst="0">
  51705. </bits>
  51706. <bits access="rw" name="sdm_usbpll_sdm_resetn_reg" pos="9" rst="0">
  51707. </bits>
  51708. <bits access="rw" name="sdm_usbpll_sdm_reset_time_sel" pos="8:7" rst="1">
  51709. </bits>
  51710. <bits access="rw" name="sdm_usbpll_sdmclk_sel_time_sel" pos="6:5" rst="1">
  51711. </bits>
  51712. <bits access="rw" name="sdm_usbpll_clk_gen_en_reg" pos="4" rst="1">
  51713. </bits>
  51714. <bits access="rw" name="sdm_usbpll_clkout_en_counter_sel" pos="3:2" rst="2">
  51715. </bits>
  51716. <bits access="rw" name="sdm_usbpll_lock_counter_sel" pos="1:0" rst="1">
  51717. </bits>
  51718. </reg>
  51719. <reg name="sdm_usbpll_reg3" protect="r">
  51720. <bits access="r" name="sdm_usbpll_sdm_resetn" pos="2" rst="0">
  51721. </bits>
  51722. <bits access="r" name="sdm_usbpll_lock_steady" pos="1" rst="0">
  51723. </bits>
  51724. <bits access="r" name="sdm_usbpll_clk_ready" pos="0" rst="0">
  51725. </bits>
  51726. </reg>
  51727. <reg name="sdm_usbpll_reg4" protect="rw">
  51728. <bits access="rw" name="sdm_usbpll_sdm_en" pos="29" rst="1">
  51729. </bits>
  51730. <bits access="rw" name="sdm_usbpll_ss_en" pos="28" rst="0">
  51731. </bits>
  51732. <bits access="rw" name="sdm_usbpll_ss_devi" pos="27:16" rst="0">
  51733. </bits>
  51734. <bits access="rw" name="sdm_usbpll_ss_devi_step" pos="15:0" rst="0">
  51735. </bits>
  51736. </reg>
  51737. <reg name="usb_digphy_ana1" protect="rw">
  51738. <bits access="rw" name="usb_digphy_ana_1" pos="31:0" rst="0">
  51739. </bits>
  51740. </reg>
  51741. <reg name="usb_digphy_ana2" protect="rw">
  51742. <bits access="rw" name="usb_digphy_ana_2" pos="31:0" rst="0">
  51743. </bits>
  51744. </reg>
  51745. <reg name="usb_digphy_ana3" protect="rw">
  51746. <bits access="rw" name="usb_digphy_ana_3" pos="31:0" rst="32">
  51747. </bits>
  51748. </reg>
  51749. <reg name="usb_digphy_ana4" protect="rw">
  51750. <bits access="rw" name="usb_digphy_ana_4" pos="31:0" rst="0">
  51751. </bits>
  51752. </reg>
  51753. <reg name="usb11_digphy_ana_reg" protect="rw">
  51754. <bits access="rw" name="usb11_digphy_ana" pos="31:0" rst="0">
  51755. </bits>
  51756. </reg>
  51757. <hole size="352"/>
  51758. <reg name="ddr_pad_cfg" protect="rw">
  51759. <bits access="rw" name="ddr_latch" pos="0" rst="0">
  51760. </bits>
  51761. </reg>
  51762. <reg name="psram_pad_cfg" protect="rw">
  51763. <bits access="rw" name="psram_latch" pos="0" rst="0">
  51764. </bits>
  51765. </reg>
  51766. <hole size="448"/>
  51767. <reg name="sdm_dsipll_reg0" protect="rw">
  51768. <bits access="rw" name="sdm_dsipll_fbc_inv" pos="8" rst="0">
  51769. </bits>
  51770. <bits access="rw" name="sdm_dsipll_pu" pos="7" rst="1">
  51771. </bits>
  51772. <bits access="rw" name="sdm_dsipll_sdm_clk_sel_rst" pos="6" rst="1">
  51773. </bits>
  51774. <bits access="rw" name="sdm_dsipll_sdm_clk_sel_nor" pos="5" rst="0">
  51775. </bits>
  51776. <bits access="rw" name="sdm_dsipll_pu_pll_dr" pos="4" rst="0">
  51777. </bits>
  51778. <bits access="rw" name="sdm_dsipll_pu_pll_reg" pos="3" rst="0">
  51779. </bits>
  51780. <bits access="rw" name="sdm_dsipll_int_dec_sel" pos="2:0" rst="3">
  51781. </bits>
  51782. </reg>
  51783. <reg name="sdm_dsipll_reg1" protect="rw">
  51784. <bits access="rw" name="sdm_dsipll_sdm_freq" pos="31:0" rst="645277538">
  51785. <comment>freq/26*2^25 1000Mhz</comment>
  51786. </bits>
  51787. </reg>
  51788. <reg name="sdm_dsipll_reg2" protect="rw">
  51789. <bits access="rw" name="sdm_dsipll_dither_bypass" pos="11" rst="1">
  51790. </bits>
  51791. <bits access="rw" name="sdm_dsipll_sdm_resetn_dr" pos="10" rst="0">
  51792. </bits>
  51793. <bits access="rw" name="sdm_dsipll_sdm_resetn_reg" pos="9" rst="0">
  51794. </bits>
  51795. <bits access="rw" name="sdm_dsipll_sdm_reset_time_sel" pos="8:7" rst="1">
  51796. </bits>
  51797. <bits access="rw" name="sdm_dsipll_sdmclk_sel_time_sel" pos="6:5" rst="1">
  51798. </bits>
  51799. <bits access="rw" name="sdm_dsipll_clk_gen_en_reg" pos="4" rst="1">
  51800. </bits>
  51801. <bits access="rw" name="sdm_dsipll_clkout_en_counter_sel" pos="3:2" rst="2">
  51802. </bits>
  51803. <bits access="rw" name="sdm_dsipll_lock_counter_sel" pos="1:0" rst="1">
  51804. </bits>
  51805. </reg>
  51806. <reg name="sdm_dsipll_reg3" protect="r">
  51807. <bits access="r" name="sdm_dsipll_sdm_resetn" pos="2" rst="0">
  51808. </bits>
  51809. <bits access="r" name="sdm_dsipll_lock_steady" pos="1" rst="0">
  51810. </bits>
  51811. <bits access="r" name="sdm_dsipll_clk_ready" pos="0" rst="0">
  51812. </bits>
  51813. </reg>
  51814. <reg name="sdm_dsipll_reg4" protect="rw">
  51815. <bits access="rw" name="sdm_dsipll_sdm_en" pos="29" rst="1">
  51816. </bits>
  51817. <bits access="rw" name="sdm_dsipll_ss_en" pos="28" rst="0">
  51818. </bits>
  51819. <bits access="rw" name="sdm_dsipll_ss_devi" pos="27:16" rst="0">
  51820. </bits>
  51821. <bits access="rw" name="sdm_dsipll_ss_devi_step" pos="15:0" rst="0">
  51822. </bits>
  51823. </reg>
  51824. <reg name="mipi_lvds_phy_reg" protect="rw">
  51825. <bits access="rw" name="lvdspll_refmulti2_en" pos="3" rst="1">
  51826. </bits>
  51827. <bits access="rw" name="lvdspll_sdm_sel" pos="2" rst="1">
  51828. </bits>
  51829. <bits access="rw" name="lvds_rx_terminal_enable" pos="1" rst="0">
  51830. </bits>
  51831. <bits access="rw" name="csi_lvds_mode" pos="0" rst="1">
  51832. </bits>
  51833. </reg>
  51834. <hole size="320"/>
  51835. <reg name="pad_ctrl_resv" protect="rw">
  51836. <bits access="rw" name="reg_pad_ctrl_resv" pos="31:0" rst="0">
  51837. <comment>reserved</comment>
  51838. </bits>
  51839. </reg>
  51840. <reg name="pad_resetb_cfg" protect="rw">
  51841. <bits access="rw" name="pad_resetb_drv" pos="4:3" rst="2">
  51842. </bits>
  51843. <bits access="rw" name="pad_resetb_ie" pos="2" rst="1">
  51844. </bits>
  51845. <bits access="rw" name="pad_resetb_se" pos="1" rst="0">
  51846. </bits>
  51847. <bits access="rw" name="pad_resetb_wpus" pos="0" rst="0">
  51848. </bits>
  51849. </reg>
  51850. <reg name="pad_adi_cfg" protect="rw">
  51851. <bits access="rw" name="pad_adi_scl_drv" pos="14:13" rst="2">
  51852. </bits>
  51853. <bits access="rw" name="pad_adi_scl_ie" pos="12" rst="1">
  51854. </bits>
  51855. <bits access="rw" name="pad_adi_scl_se" pos="11" rst="0">
  51856. </bits>
  51857. <bits access="rw" name="pad_adi_scl_wpus" pos="10" rst="0">
  51858. </bits>
  51859. <bits access="rw" name="pad_adi_sda_drv" pos="9:8" rst="2">
  51860. </bits>
  51861. <bits access="rw" name="pad_adi_sda_ie" pos="7" rst="1">
  51862. </bits>
  51863. <bits access="rw" name="pad_adi_sda_se" pos="6" rst="0">
  51864. </bits>
  51865. <bits access="rw" name="pad_adi_sda_wpus" pos="5" rst="0">
  51866. </bits>
  51867. <bits access="rw" name="pad_adi_sync_drv" pos="4:3" rst="2">
  51868. </bits>
  51869. <bits access="rw" name="pad_adi_sync_ie" pos="2" rst="1">
  51870. </bits>
  51871. <bits access="rw" name="pad_adi_sync_se" pos="1" rst="0">
  51872. </bits>
  51873. <bits access="rw" name="pad_adi_sync_wpus" pos="0" rst="0">
  51874. </bits>
  51875. </reg>
  51876. <reg name="pad_ap_jtag_cfg" protect="rw">
  51877. <bits access="rw" name="pad_ap_jtag_tck_drv" pos="24:23" rst="2">
  51878. </bits>
  51879. <bits access="rw" name="pad_ap_jtag_tck_ie" pos="22" rst="1">
  51880. </bits>
  51881. <bits access="rw" name="pad_ap_jtag_tck_se" pos="21" rst="0">
  51882. </bits>
  51883. <bits access="rw" name="pad_ap_jtag_tck_wpus" pos="20" rst="0">
  51884. </bits>
  51885. <bits access="rw" name="pad_ap_jtag_tdi_drv" pos="19:18" rst="2">
  51886. </bits>
  51887. <bits access="rw" name="pad_ap_jtag_tdi_ie" pos="17" rst="1">
  51888. </bits>
  51889. <bits access="rw" name="pad_ap_jtag_tdi_se" pos="16" rst="0">
  51890. </bits>
  51891. <bits access="rw" name="pad_ap_jtag_tdi_wpus" pos="15" rst="0">
  51892. </bits>
  51893. <bits access="rw" name="pad_ap_jtag_tdo_drv" pos="14:13" rst="2">
  51894. </bits>
  51895. <bits access="rw" name="pad_ap_jtag_tdo_ie" pos="12" rst="1">
  51896. </bits>
  51897. <bits access="rw" name="pad_ap_jtag_tdo_se" pos="11" rst="0">
  51898. </bits>
  51899. <bits access="rw" name="pad_ap_jtag_tdo_wpus" pos="10" rst="0">
  51900. </bits>
  51901. <bits access="rw" name="pad_ap_jtag_tms_drv" pos="9:8" rst="2">
  51902. </bits>
  51903. <bits access="rw" name="pad_ap_jtag_tms_ie" pos="7" rst="1">
  51904. </bits>
  51905. <bits access="rw" name="pad_ap_jtag_tms_se" pos="6" rst="0">
  51906. </bits>
  51907. <bits access="rw" name="pad_ap_jtag_tms_wpus" pos="5" rst="0">
  51908. </bits>
  51909. <bits access="rw" name="pad_ap_jtag_trst_drv" pos="4:3" rst="2">
  51910. </bits>
  51911. <bits access="rw" name="pad_ap_jtag_trst_ie" pos="2" rst="1">
  51912. </bits>
  51913. <bits access="rw" name="pad_ap_jtag_trst_se" pos="1" rst="0">
  51914. </bits>
  51915. <bits access="rw" name="pad_ap_jtag_trst_wpus" pos="0" rst="0">
  51916. </bits>
  51917. </reg>
  51918. <reg name="pad_spi_camera_cfg" protect="rw">
  51919. <bits access="rw" name="pad_spi_camera_sck_drv" pos="14:13" rst="2">
  51920. </bits>
  51921. <bits access="rw" name="pad_spi_camera_sck_ie" pos="12" rst="1">
  51922. </bits>
  51923. <bits access="rw" name="pad_spi_camera_sck_se" pos="11" rst="0">
  51924. </bits>
  51925. <bits access="rw" name="pad_spi_camera_sck_wpus" pos="10" rst="0">
  51926. </bits>
  51927. <bits access="rw" name="pad_spi_camera_si_0_drv" pos="9:8" rst="2">
  51928. </bits>
  51929. <bits access="rw" name="pad_spi_camera_si_0_ie" pos="7" rst="1">
  51930. </bits>
  51931. <bits access="rw" name="pad_spi_camera_si_0_se" pos="6" rst="0">
  51932. </bits>
  51933. <bits access="rw" name="pad_spi_camera_si_0_wpus" pos="5" rst="0">
  51934. </bits>
  51935. <bits access="rw" name="pad_spi_camera_si_1_drv" pos="4:3" rst="2">
  51936. </bits>
  51937. <bits access="rw" name="pad_spi_camera_si_1_ie" pos="2" rst="1">
  51938. </bits>
  51939. <bits access="rw" name="pad_spi_camera_si_1_se" pos="1" rst="0">
  51940. </bits>
  51941. <bits access="rw" name="pad_spi_camera_si_1_wpus" pos="0" rst="0">
  51942. </bits>
  51943. </reg>
  51944. <reg name="pad_camera_cfg" protect="rw">
  51945. <bits access="rw" name="pad_camera_wpdi" pos="15" rst="0">
  51946. </bits>
  51947. <bits access="rw" name="pad_camera_pwdn_drv" pos="14:13" rst="2">
  51948. </bits>
  51949. <bits access="rw" name="pad_camera_pwdn_ie" pos="12" rst="1">
  51950. </bits>
  51951. <bits access="rw" name="pad_camera_pwdn_se" pos="11" rst="0">
  51952. </bits>
  51953. <bits access="rw" name="pad_camera_pwdn_wpus" pos="10" rst="0">
  51954. </bits>
  51955. <bits access="rw" name="pad_camera_ref_clk_drv" pos="9:8" rst="2">
  51956. </bits>
  51957. <bits access="rw" name="pad_camera_ref_clk_ie" pos="7" rst="1">
  51958. </bits>
  51959. <bits access="rw" name="pad_camera_ref_clk_se" pos="6" rst="0">
  51960. </bits>
  51961. <bits access="rw" name="pad_camera_ref_clk_wpus" pos="5" rst="0">
  51962. </bits>
  51963. <bits access="rw" name="pad_camera_rst_l_drv" pos="4:3" rst="2">
  51964. </bits>
  51965. <bits access="rw" name="pad_camera_rst_l_ie" pos="2" rst="1">
  51966. </bits>
  51967. <bits access="rw" name="pad_camera_rst_l_se" pos="1" rst="0">
  51968. </bits>
  51969. <bits access="rw" name="pad_camera_rst_l_wpus" pos="0" rst="0">
  51970. </bits>
  51971. </reg>
  51972. <reg name="pad_debug_host_cfg" protect="rw">
  51973. <bits access="rw" name="pad_debug_host_clk_drv" pos="14:13" rst="2">
  51974. </bits>
  51975. <bits access="rw" name="pad_debug_host_clk_ie" pos="12" rst="1">
  51976. </bits>
  51977. <bits access="rw" name="pad_debug_host_clk_se" pos="11" rst="0">
  51978. </bits>
  51979. <bits access="rw" name="pad_debug_host_clk_wpus" pos="10" rst="0">
  51980. </bits>
  51981. <bits access="rw" name="pad_debug_host_rx_drv" pos="9:8" rst="2">
  51982. </bits>
  51983. <bits access="rw" name="pad_debug_host_rx_ie" pos="7" rst="1">
  51984. </bits>
  51985. <bits access="rw" name="pad_debug_host_rx_se" pos="6" rst="0">
  51986. </bits>
  51987. <bits access="rw" name="pad_debug_host_rx_wpus" pos="5" rst="0">
  51988. </bits>
  51989. <bits access="rw" name="pad_debug_host_tx_drv" pos="4:3" rst="2">
  51990. </bits>
  51991. <bits access="rw" name="pad_debug_host_tx_ie" pos="2" rst="1">
  51992. </bits>
  51993. <bits access="rw" name="pad_debug_host_tx_se" pos="1" rst="0">
  51994. </bits>
  51995. <bits access="rw" name="pad_debug_host_tx_wpus" pos="0" rst="0">
  51996. </bits>
  51997. </reg>
  51998. <reg name="pad_gpio_cfg1" protect="rw">
  51999. <bits access="rw" name="pad_gpio_0_drv" pos="19:18" rst="2">
  52000. </bits>
  52001. <bits access="rw" name="pad_gpio_0_ie" pos="17" rst="1">
  52002. </bits>
  52003. <bits access="rw" name="pad_gpio_0_se" pos="16" rst="0">
  52004. </bits>
  52005. <bits access="rw" name="pad_gpio_0_wpus" pos="15" rst="0">
  52006. </bits>
  52007. <bits access="rw" name="pad_gpio_1_drv" pos="14:13" rst="2">
  52008. </bits>
  52009. <bits access="rw" name="pad_gpio_1_ie" pos="12" rst="1">
  52010. </bits>
  52011. <bits access="rw" name="pad_gpio_1_se" pos="11" rst="0">
  52012. </bits>
  52013. <bits access="rw" name="pad_gpio_1_wpus" pos="10" rst="0">
  52014. </bits>
  52015. <bits access="rw" name="pad_gpio_2_drv" pos="9:8" rst="2">
  52016. </bits>
  52017. <bits access="rw" name="pad_gpio_2_ie" pos="7" rst="1">
  52018. </bits>
  52019. <bits access="rw" name="pad_gpio_2_se" pos="6" rst="0">
  52020. </bits>
  52021. <bits access="rw" name="pad_gpio_2_wpus" pos="5" rst="0">
  52022. </bits>
  52023. <bits access="rw" name="pad_gpio_3_drv" pos="4:3" rst="2">
  52024. </bits>
  52025. <bits access="rw" name="pad_gpio_3_ie" pos="2" rst="1">
  52026. </bits>
  52027. <bits access="rw" name="pad_gpio_3_se" pos="1" rst="0">
  52028. </bits>
  52029. <bits access="rw" name="pad_gpio_3_wpus" pos="0" rst="0">
  52030. </bits>
  52031. </reg>
  52032. <reg name="pad_gpio_cfg2" protect="rw">
  52033. <bits access="rw" name="pad_gpio_4_drv" pos="14:13" rst="2">
  52034. </bits>
  52035. <bits access="rw" name="pad_gpio_4_ie" pos="12" rst="1">
  52036. </bits>
  52037. <bits access="rw" name="pad_gpio_4_se" pos="11" rst="0">
  52038. </bits>
  52039. <bits access="rw" name="pad_gpio_4_wpus" pos="10" rst="0">
  52040. </bits>
  52041. <bits access="rw" name="pad_gpio_5_drv" pos="9:8" rst="2">
  52042. </bits>
  52043. <bits access="rw" name="pad_gpio_5_ie" pos="7" rst="1">
  52044. </bits>
  52045. <bits access="rw" name="pad_gpio_5_se" pos="6" rst="0">
  52046. </bits>
  52047. <bits access="rw" name="pad_gpio_5_wpus" pos="5" rst="0">
  52048. </bits>
  52049. <bits access="rw" name="pad_gpio_7_drv" pos="4:3" rst="2">
  52050. </bits>
  52051. <bits access="rw" name="pad_gpio_7_ie" pos="2" rst="1">
  52052. </bits>
  52053. <bits access="rw" name="pad_gpio_7_se" pos="1" rst="0">
  52054. </bits>
  52055. <bits access="rw" name="pad_gpio_7_wpus" pos="0" rst="0">
  52056. </bits>
  52057. </reg>
  52058. <reg name="pad_gpo_cfg" protect="rw">
  52059. <bits access="rw" name="pad_gpio_8_drv" pos="24:23" rst="2">
  52060. </bits>
  52061. <bits access="rw" name="pad_gpio_8_ie" pos="22" rst="1">
  52062. </bits>
  52063. <bits access="rw" name="pad_gpio_8_se" pos="21" rst="0">
  52064. </bits>
  52065. <bits access="rw" name="pad_gpio_8_wpus" pos="20" rst="0">
  52066. </bits>
  52067. <bits access="rw" name="pad_gpio_9_drv" pos="19:18" rst="2">
  52068. </bits>
  52069. <bits access="rw" name="pad_gpio_9_ie" pos="17" rst="1">
  52070. </bits>
  52071. <bits access="rw" name="pad_gpio_9_se" pos="16" rst="0">
  52072. </bits>
  52073. <bits access="rw" name="pad_gpio_9_wpus" pos="15" rst="0">
  52074. </bits>
  52075. <bits access="rw" name="pad_gpio_10_drv" pos="14:13" rst="2">
  52076. </bits>
  52077. <bits access="rw" name="pad_gpio_10_ie" pos="12" rst="1">
  52078. </bits>
  52079. <bits access="rw" name="pad_gpio_10_se" pos="11" rst="0">
  52080. </bits>
  52081. <bits access="rw" name="pad_gpio_10_wpus" pos="10" rst="0">
  52082. </bits>
  52083. <bits access="rw" name="pad_gpio_11_drv" pos="9:8" rst="2">
  52084. </bits>
  52085. <bits access="rw" name="pad_gpio_11_ie" pos="7" rst="1">
  52086. </bits>
  52087. <bits access="rw" name="pad_gpio_11_se" pos="6" rst="0">
  52088. </bits>
  52089. <bits access="rw" name="pad_gpio_11_wpus" pos="5" rst="0">
  52090. </bits>
  52091. <bits access="rw" name="pad_gpio_12_drv" pos="4:3" rst="2">
  52092. </bits>
  52093. <bits access="rw" name="pad_gpio_12_ie" pos="2" rst="1">
  52094. </bits>
  52095. <bits access="rw" name="pad_gpio_12_se" pos="1" rst="0">
  52096. </bits>
  52097. <bits access="rw" name="pad_gpio_12_wpus" pos="0" rst="0">
  52098. </bits>
  52099. </reg>
  52100. <reg name="pad_i2c_cfg" protect="rw">
  52101. <bits access="rw" name="pad_i2c_m1_scl_drv" pos="19:18" rst="2">
  52102. </bits>
  52103. <bits access="rw" name="pad_i2c_m1_scl_ie" pos="17" rst="1">
  52104. </bits>
  52105. <bits access="rw" name="pad_i2c_m1_scl_se" pos="16" rst="0">
  52106. </bits>
  52107. <bits access="rw" name="pad_i2c_m1_scl_wpus" pos="15" rst="0">
  52108. </bits>
  52109. <bits access="rw" name="pad_i2c_m1_sda_drv" pos="14:13" rst="2">
  52110. </bits>
  52111. <bits access="rw" name="pad_i2c_m1_sda_ie" pos="12" rst="1">
  52112. </bits>
  52113. <bits access="rw" name="pad_i2c_m1_sda_se" pos="11" rst="0">
  52114. </bits>
  52115. <bits access="rw" name="pad_i2c_m1_sda_wpus" pos="10" rst="0">
  52116. </bits>
  52117. <bits access="rw" name="pad_gpio_14_drv" pos="9:8" rst="2">
  52118. </bits>
  52119. <bits access="rw" name="pad_gpio_14_ie" pos="7" rst="1">
  52120. </bits>
  52121. <bits access="rw" name="pad_gpio_14_se" pos="6" rst="0">
  52122. </bits>
  52123. <bits access="rw" name="pad_gpio_14_wpus" pos="5" rst="0">
  52124. </bits>
  52125. <bits access="rw" name="pad_gpio_15_drv" pos="4:3" rst="2">
  52126. </bits>
  52127. <bits access="rw" name="pad_gpio_15_ie" pos="2" rst="1">
  52128. </bits>
  52129. <bits access="rw" name="pad_gpio_15_se" pos="1" rst="0">
  52130. </bits>
  52131. <bits access="rw" name="pad_gpio_15_wpus" pos="0" rst="0">
  52132. </bits>
  52133. </reg>
  52134. <reg name="pad_aud_ad_cfg" protect="rw">
  52135. <bits access="rw" name="pad_aud_ad_d0_drv" pos="29:28" rst="2">
  52136. </bits>
  52137. <bits access="rw" name="pad_aud_ad_d0_ie" pos="27" rst="1">
  52138. </bits>
  52139. <bits access="rw" name="pad_aud_ad_d0_se" pos="26" rst="0">
  52140. </bits>
  52141. <bits access="rw" name="pad_aud_ad_d0_wpus" pos="25" rst="0">
  52142. </bits>
  52143. <bits access="rw" name="pad_aud_ad_sync_drv" pos="24:23" rst="2">
  52144. </bits>
  52145. <bits access="rw" name="pad_aud_ad_sync_ie" pos="22" rst="1">
  52146. </bits>
  52147. <bits access="rw" name="pad_aud_ad_sync_se" pos="21" rst="0">
  52148. </bits>
  52149. <bits access="rw" name="pad_aud_ad_sync_wpus" pos="20" rst="0">
  52150. </bits>
  52151. <bits access="rw" name="pad_aud_da_d0_drv" pos="19:18" rst="2">
  52152. </bits>
  52153. <bits access="rw" name="pad_aud_da_d0_ie" pos="17" rst="1">
  52154. </bits>
  52155. <bits access="rw" name="pad_aud_da_d0_se" pos="16" rst="0">
  52156. </bits>
  52157. <bits access="rw" name="pad_aud_da_d0_wpus" pos="15" rst="0">
  52158. </bits>
  52159. <bits access="rw" name="pad_aud_da_d1_drv" pos="14:13" rst="2">
  52160. </bits>
  52161. <bits access="rw" name="pad_aud_da_d1_ie" pos="12" rst="1">
  52162. </bits>
  52163. <bits access="rw" name="pad_aud_da_d1_se" pos="11" rst="0">
  52164. </bits>
  52165. <bits access="rw" name="pad_aud_da_d1_wpus" pos="10" rst="0">
  52166. </bits>
  52167. <bits access="rw" name="pad_aud_da_sync_drv" pos="9:8" rst="2">
  52168. </bits>
  52169. <bits access="rw" name="pad_aud_da_sync_ie" pos="7" rst="1">
  52170. </bits>
  52171. <bits access="rw" name="pad_aud_da_sync_se" pos="6" rst="0">
  52172. </bits>
  52173. <bits access="rw" name="pad_aud_da_sync_wpus" pos="5" rst="0">
  52174. </bits>
  52175. <bits access="rw" name="pad_aud_sclk_drv" pos="4:3" rst="2">
  52176. </bits>
  52177. <bits access="rw" name="pad_aud_sclk_ie" pos="2" rst="1">
  52178. </bits>
  52179. <bits access="rw" name="pad_aud_sclk_se" pos="1" rst="0">
  52180. </bits>
  52181. <bits access="rw" name="pad_aud_sclk_wpus" pos="0" rst="0">
  52182. </bits>
  52183. </reg>
  52184. <reg name="pad_keyin_cfg" protect="rw">
  52185. <bits access="rw" name="pad_key_wpdi" pos="30" rst="0">
  52186. </bits>
  52187. <bits access="rw" name="pad_keyin_0_drv" pos="29:28" rst="2">
  52188. </bits>
  52189. <bits access="rw" name="pad_keyin_0_ie" pos="27" rst="1">
  52190. </bits>
  52191. <bits access="rw" name="pad_keyin_0_se" pos="26" rst="0">
  52192. </bits>
  52193. <bits access="rw" name="pad_keyin_0_wpus" pos="25" rst="0">
  52194. </bits>
  52195. <bits access="rw" name="pad_keyin_1_drv" pos="24:23" rst="2">
  52196. </bits>
  52197. <bits access="rw" name="pad_keyin_1_ie" pos="22" rst="1">
  52198. </bits>
  52199. <bits access="rw" name="pad_keyin_1_se" pos="21" rst="0">
  52200. </bits>
  52201. <bits access="rw" name="pad_keyin_1_wpus" pos="20" rst="0">
  52202. </bits>
  52203. <bits access="rw" name="pad_keyin_2_drv" pos="19:18" rst="2">
  52204. </bits>
  52205. <bits access="rw" name="pad_keyin_2_ie" pos="17" rst="1">
  52206. </bits>
  52207. <bits access="rw" name="pad_keyin_2_se" pos="16" rst="0">
  52208. </bits>
  52209. <bits access="rw" name="pad_keyin_2_wpus" pos="15" rst="0">
  52210. </bits>
  52211. <bits access="rw" name="pad_keyin_3_drv" pos="14:13" rst="2">
  52212. </bits>
  52213. <bits access="rw" name="pad_keyin_3_ie" pos="12" rst="1">
  52214. </bits>
  52215. <bits access="rw" name="pad_keyin_3_se" pos="11" rst="0">
  52216. </bits>
  52217. <bits access="rw" name="pad_keyin_3_wpus" pos="10" rst="0">
  52218. </bits>
  52219. <bits access="rw" name="pad_keyin_4_drv" pos="9:8" rst="2">
  52220. </bits>
  52221. <bits access="rw" name="pad_keyin_4_ie" pos="7" rst="1">
  52222. </bits>
  52223. <bits access="rw" name="pad_keyin_4_se" pos="6" rst="0">
  52224. </bits>
  52225. <bits access="rw" name="pad_keyin_4_wpus" pos="5" rst="0">
  52226. </bits>
  52227. <bits access="rw" name="pad_keyin_5_drv" pos="4:3" rst="2">
  52228. </bits>
  52229. <bits access="rw" name="pad_keyin_5_ie" pos="2" rst="1">
  52230. </bits>
  52231. <bits access="rw" name="pad_keyin_5_se" pos="1" rst="0">
  52232. </bits>
  52233. <bits access="rw" name="pad_keyin_5_wpus" pos="0" rst="0">
  52234. </bits>
  52235. </reg>
  52236. <reg name="pad_keyout_cfg" protect="rw">
  52237. <bits access="rw" name="pad_keyout_0_drv" pos="29:28" rst="2">
  52238. </bits>
  52239. <bits access="rw" name="pad_keyout_0_ie" pos="27" rst="1">
  52240. </bits>
  52241. <bits access="rw" name="pad_keyout_0_se" pos="26" rst="0">
  52242. </bits>
  52243. <bits access="rw" name="pad_keyout_0_wpus" pos="25" rst="0">
  52244. </bits>
  52245. <bits access="rw" name="pad_keyout_1_drv" pos="24:23" rst="2">
  52246. </bits>
  52247. <bits access="rw" name="pad_keyout_1_ie" pos="22" rst="1">
  52248. </bits>
  52249. <bits access="rw" name="pad_keyout_1_se" pos="21" rst="0">
  52250. </bits>
  52251. <bits access="rw" name="pad_keyout_1_wpus" pos="20" rst="0">
  52252. </bits>
  52253. <bits access="rw" name="pad_keyout_2_drv" pos="19:18" rst="2">
  52254. </bits>
  52255. <bits access="rw" name="pad_keyout_2_ie" pos="17" rst="1">
  52256. </bits>
  52257. <bits access="rw" name="pad_keyout_2_se" pos="16" rst="0">
  52258. </bits>
  52259. <bits access="rw" name="pad_keyout_2_wpus" pos="15" rst="0">
  52260. </bits>
  52261. <bits access="rw" name="pad_keyout_3_drv" pos="14:13" rst="2">
  52262. </bits>
  52263. <bits access="rw" name="pad_keyout_3_ie" pos="12" rst="1">
  52264. </bits>
  52265. <bits access="rw" name="pad_keyout_3_se" pos="11" rst="0">
  52266. </bits>
  52267. <bits access="rw" name="pad_keyout_3_wpus" pos="10" rst="0">
  52268. </bits>
  52269. <bits access="rw" name="pad_keyout_4_drv" pos="9:8" rst="2">
  52270. </bits>
  52271. <bits access="rw" name="pad_keyout_4_ie" pos="7" rst="1">
  52272. </bits>
  52273. <bits access="rw" name="pad_keyout_4_se" pos="6" rst="0">
  52274. </bits>
  52275. <bits access="rw" name="pad_keyout_4_wpus" pos="5" rst="0">
  52276. </bits>
  52277. <bits access="rw" name="pad_keyout_5_drv" pos="4:3" rst="2">
  52278. </bits>
  52279. <bits access="rw" name="pad_keyout_5_ie" pos="2" rst="1">
  52280. </bits>
  52281. <bits access="rw" name="pad_keyout_5_se" pos="1" rst="0">
  52282. </bits>
  52283. <bits access="rw" name="pad_keyout_5_wpus" pos="0" rst="0">
  52284. </bits>
  52285. </reg>
  52286. <reg name="pad_lcd_cfg" protect="rw">
  52287. <bits access="rw" name="pad_lcd_msen" pos="15" rst="0">
  52288. </bits>
  52289. <bits access="rw" name="pad_lcd_ms" pos="14" rst="0">
  52290. </bits>
  52291. <bits access="rw" name="pad_lcd_fmark_drv" pos="13:10" rst="2">
  52292. </bits>
  52293. <bits access="rw" name="pad_lcd_fmark_ie" pos="9" rst="1">
  52294. </bits>
  52295. <bits access="rw" name="pad_lcd_fmark_se" pos="8" rst="0">
  52296. </bits>
  52297. <bits access="rw" name="pad_lcd_fmark_spu" pos="7" rst="0">
  52298. </bits>
  52299. <bits access="rw" name="pad_lcd_rstb_drv" pos="6:3" rst="2">
  52300. </bits>
  52301. <bits access="rw" name="pad_lcd_rstb_ie" pos="2" rst="1">
  52302. </bits>
  52303. <bits access="rw" name="pad_lcd_rstb_se" pos="1" rst="0">
  52304. </bits>
  52305. <bits access="rw" name="pad_lcd_rstb_spu" pos="0" rst="0">
  52306. </bits>
  52307. </reg>
  52308. <reg name="pad_gpio13_cfg" protect="rw">
  52309. <bits access="rw" name="pad_mipidsi_wpdi" pos="7" rst="0">
  52310. </bits>
  52311. <bits access="rw" name="pad_misc_l_wpdi" pos="6" rst="0">
  52312. </bits>
  52313. <bits access="rw" name="pad_misc_r_wpdi" pos="5" rst="0">
  52314. </bits>
  52315. <bits access="rw" name="pad_gpio_13_drv" pos="4:3" rst="2">
  52316. </bits>
  52317. <bits access="rw" name="pad_gpio_13_ie" pos="2" rst="1">
  52318. </bits>
  52319. <bits access="rw" name="pad_gpio_13_se" pos="1" rst="0">
  52320. </bits>
  52321. <bits access="rw" name="pad_gpio_13_wpus" pos="0" rst="0">
  52322. </bits>
  52323. </reg>
  52324. <reg name="pad_rfdig_gpio_cfg1" protect="rw">
  52325. <bits access="rw" name="pad_rf_wpdi" pos="25" rst="0">
  52326. </bits>
  52327. <bits access="rw" name="pad_rfdig_gpio_0_drv" pos="24:23" rst="2">
  52328. </bits>
  52329. <bits access="rw" name="pad_rfdig_gpio_0_ie" pos="22" rst="1">
  52330. </bits>
  52331. <bits access="rw" name="pad_rfdig_gpio_0_se" pos="21" rst="0">
  52332. </bits>
  52333. <bits access="rw" name="pad_rfdig_gpio_0_wpus" pos="20" rst="0">
  52334. </bits>
  52335. <bits access="rw" name="pad_rfdig_gpio_1_drv" pos="19:18" rst="2">
  52336. </bits>
  52337. <bits access="rw" name="pad_rfdig_gpio_1_ie" pos="17" rst="1">
  52338. </bits>
  52339. <bits access="rw" name="pad_rfdig_gpio_1_se" pos="16" rst="0">
  52340. </bits>
  52341. <bits access="rw" name="pad_rfdig_gpio_1_wpus" pos="15" rst="0">
  52342. </bits>
  52343. <bits access="rw" name="pad_rfdig_gpio_2_drv" pos="14:13" rst="2">
  52344. </bits>
  52345. <bits access="rw" name="pad_rfdig_gpio_2_ie" pos="12" rst="1">
  52346. </bits>
  52347. <bits access="rw" name="pad_rfdig_gpio_2_se" pos="11" rst="0">
  52348. </bits>
  52349. <bits access="rw" name="pad_rfdig_gpio_2_wpus" pos="10" rst="0">
  52350. </bits>
  52351. <bits access="rw" name="pad_rfdig_gpio_3_drv" pos="9:8" rst="2">
  52352. </bits>
  52353. <bits access="rw" name="pad_rfdig_gpio_3_ie" pos="7" rst="1">
  52354. </bits>
  52355. <bits access="rw" name="pad_rfdig_gpio_3_se" pos="6" rst="0">
  52356. </bits>
  52357. <bits access="rw" name="pad_rfdig_gpio_3_wpus" pos="5" rst="0">
  52358. </bits>
  52359. <bits access="rw" name="pad_rfdig_gpio_4_drv" pos="4:3" rst="2">
  52360. </bits>
  52361. <bits access="rw" name="pad_rfdig_gpio_4_ie" pos="2" rst="1">
  52362. </bits>
  52363. <bits access="rw" name="pad_rfdig_gpio_4_se" pos="1" rst="0">
  52364. </bits>
  52365. <bits access="rw" name="pad_rfdig_gpio_4_wpus" pos="0" rst="0">
  52366. </bits>
  52367. </reg>
  52368. <reg name="pad_rfdig_gpio_cfg2" protect="rw">
  52369. <bits access="rw" name="pad_rfdig_gpio_5_drv" pos="14:13" rst="2">
  52370. </bits>
  52371. <bits access="rw" name="pad_rfdig_gpio_5_ie" pos="12" rst="1">
  52372. </bits>
  52373. <bits access="rw" name="pad_rfdig_gpio_5_se" pos="11" rst="0">
  52374. </bits>
  52375. <bits access="rw" name="pad_rfdig_gpio_5_wpus" pos="10" rst="0">
  52376. </bits>
  52377. <bits access="rw" name="pad_rfdig_gpio_6_drv" pos="9:8" rst="2">
  52378. </bits>
  52379. <bits access="rw" name="pad_rfdig_gpio_6_ie" pos="7" rst="1">
  52380. </bits>
  52381. <bits access="rw" name="pad_rfdig_gpio_6_se" pos="6" rst="0">
  52382. </bits>
  52383. <bits access="rw" name="pad_rfdig_gpio_6_wpus" pos="5" rst="0">
  52384. </bits>
  52385. <bits access="rw" name="pad_rfdig_gpio_7_drv" pos="4:3" rst="2">
  52386. </bits>
  52387. <bits access="rw" name="pad_rfdig_gpio_7_ie" pos="2" rst="1">
  52388. </bits>
  52389. <bits access="rw" name="pad_rfdig_gpio_7_se" pos="1" rst="0">
  52390. </bits>
  52391. <bits access="rw" name="pad_rfdig_gpio_7_wpus" pos="0" rst="0">
  52392. </bits>
  52393. </reg>
  52394. <reg name="pad_sdmmc1_others_cfg" protect="rw">
  52395. <bits access="rw" name="pad_sdmmc1_ms" pos="15" rst="0">
  52396. </bits>
  52397. <bits access="rw" name="pad_sdmmc1_msen" pos="14" rst="0">
  52398. </bits>
  52399. <bits access="rw" name="pad_sdmmc1_clk_drv" pos="13:10" rst="2">
  52400. </bits>
  52401. <bits access="rw" name="pad_sdmmc1_clk_ie" pos="9" rst="1">
  52402. </bits>
  52403. <bits access="rw" name="pad_sdmmc1_clk_se" pos="8" rst="0">
  52404. </bits>
  52405. <bits access="rw" name="pad_sdmmc1_clk_spu" pos="7" rst="0">
  52406. </bits>
  52407. <bits access="rw" name="pad_sdmmc1_cmd_drv" pos="6:3" rst="2">
  52408. </bits>
  52409. <bits access="rw" name="pad_sdmmc1_cmd_ie" pos="2" rst="1">
  52410. </bits>
  52411. <bits access="rw" name="pad_sdmmc1_cmd_se" pos="1" rst="0">
  52412. </bits>
  52413. <bits access="rw" name="pad_sdmmc1_cmd_spu" pos="0" rst="0">
  52414. </bits>
  52415. </reg>
  52416. <reg name="pad_sdmmc1_data_cfg" protect="rw">
  52417. <bits access="rw" name="pad_sdmmc1_data_0_drv" pos="27:24" rst="2">
  52418. </bits>
  52419. <bits access="rw" name="pad_sdmmc1_data_0_ie" pos="23" rst="1">
  52420. </bits>
  52421. <bits access="rw" name="pad_sdmmc1_data_0_se" pos="22" rst="0">
  52422. </bits>
  52423. <bits access="rw" name="pad_sdmmc1_data_0_spu" pos="21" rst="0">
  52424. </bits>
  52425. <bits access="rw" name="pad_sdmmc1_data_1_drv" pos="20:17" rst="2">
  52426. </bits>
  52427. <bits access="rw" name="pad_sdmmc1_data_1_ie" pos="16" rst="1">
  52428. </bits>
  52429. <bits access="rw" name="pad_sdmmc1_data_1_se" pos="15" rst="0">
  52430. </bits>
  52431. <bits access="rw" name="pad_sdmmc1_data_1_spu" pos="14" rst="0">
  52432. </bits>
  52433. <bits access="rw" name="pad_sdmmc1_data_2_drv" pos="13:10" rst="2">
  52434. </bits>
  52435. <bits access="rw" name="pad_sdmmc1_data_2_ie" pos="9" rst="1">
  52436. </bits>
  52437. <bits access="rw" name="pad_sdmmc1_data_2_se" pos="8" rst="0">
  52438. </bits>
  52439. <bits access="rw" name="pad_sdmmc1_data_2_spu" pos="7" rst="0">
  52440. </bits>
  52441. <bits access="rw" name="pad_sdmmc1_data_3_drv" pos="6:3" rst="2">
  52442. </bits>
  52443. <bits access="rw" name="pad_sdmmc1_data_3_ie" pos="2" rst="1">
  52444. </bits>
  52445. <bits access="rw" name="pad_sdmmc1_data_3_se" pos="1" rst="0">
  52446. </bits>
  52447. <bits access="rw" name="pad_sdmmc1_data_3_spu" pos="0" rst="0">
  52448. </bits>
  52449. </reg>
  52450. <reg name="pad_sim_1_cfg" protect="rw">
  52451. <bits access="rw" name="pad_sim_1_ms" pos="22" rst="0">
  52452. </bits>
  52453. <bits access="rw" name="pad_sim_1_msen" pos="21" rst="0">
  52454. </bits>
  52455. <bits access="rw" name="pad_sim_1_clk_drv" pos="20:17" rst="2">
  52456. </bits>
  52457. <bits access="rw" name="pad_sim_1_clk_ie" pos="16" rst="1">
  52458. </bits>
  52459. <bits access="rw" name="pad_sim_1_clk_se" pos="15" rst="0">
  52460. </bits>
  52461. <bits access="rw" name="pad_sim_1_clk_spu" pos="14" rst="0">
  52462. </bits>
  52463. <bits access="rw" name="pad_sim_1_dio_drv" pos="13:10" rst="2">
  52464. </bits>
  52465. <bits access="rw" name="pad_sim_1_dio_ie" pos="9" rst="1">
  52466. </bits>
  52467. <bits access="rw" name="pad_sim_1_dio_se" pos="8" rst="0">
  52468. </bits>
  52469. <bits access="rw" name="pad_sim_1_dio_spu" pos="7" rst="0">
  52470. </bits>
  52471. <bits access="rw" name="pad_sim_1_rst_drv" pos="6:3" rst="2">
  52472. </bits>
  52473. <bits access="rw" name="pad_sim_1_rst_ie" pos="2" rst="1">
  52474. </bits>
  52475. <bits access="rw" name="pad_sim_1_rst_se" pos="1" rst="0">
  52476. </bits>
  52477. <bits access="rw" name="pad_sim_1_rst_spu" pos="0" rst="0">
  52478. </bits>
  52479. </reg>
  52480. <reg name="pad_sim_2_cfg" protect="rw">
  52481. <bits access="rw" name="pad_sim_2_ms" pos="22" rst="0">
  52482. </bits>
  52483. <bits access="rw" name="pad_sim_2_msen" pos="21" rst="0">
  52484. </bits>
  52485. <bits access="rw" name="pad_sim_2_clk_drv" pos="20:17" rst="2">
  52486. </bits>
  52487. <bits access="rw" name="pad_sim_2_clk_ie" pos="16" rst="1">
  52488. </bits>
  52489. <bits access="rw" name="pad_sim_2_clk_se" pos="15" rst="0">
  52490. </bits>
  52491. <bits access="rw" name="pad_sim_2_clk_spu" pos="14" rst="0">
  52492. </bits>
  52493. <bits access="rw" name="pad_sim_2_dio_drv" pos="13:10" rst="2">
  52494. </bits>
  52495. <bits access="rw" name="pad_sim_2_dio_ie" pos="9" rst="1">
  52496. </bits>
  52497. <bits access="rw" name="pad_sim_2_dio_se" pos="8" rst="0">
  52498. </bits>
  52499. <bits access="rw" name="pad_sim_2_dio_spu" pos="7" rst="0">
  52500. </bits>
  52501. <bits access="rw" name="pad_sim_2_rst_drv" pos="6:3" rst="2">
  52502. </bits>
  52503. <bits access="rw" name="pad_sim_2_rst_ie" pos="2" rst="1">
  52504. </bits>
  52505. <bits access="rw" name="pad_sim_2_rst_se" pos="1" rst="0">
  52506. </bits>
  52507. <bits access="rw" name="pad_sim_2_rst_spu" pos="0" rst="0">
  52508. </bits>
  52509. </reg>
  52510. <reg name="pad_spi_flash_cfg1" protect="rw">
  52511. <bits access="rw" name="pad_nand_flash_sel_drv" pos="25:24" rst="2">
  52512. </bits>
  52513. <bits access="rw" name="pad_nand_flash_sel_ie" pos="23" rst="1">
  52514. </bits>
  52515. <bits access="rw" name="pad_nand_flash_sel_se" pos="22" rst="0">
  52516. </bits>
  52517. <bits access="rw" name="pad_nand_flash_sel_wpus" pos="21" rst="0">
  52518. </bits>
  52519. <bits access="rw" name="pad_spi_flash_sel_drv" pos="20:17" rst="2">
  52520. </bits>
  52521. <bits access="rw" name="pad_spi_flash_sel_ie" pos="16" rst="1">
  52522. </bits>
  52523. <bits access="rw" name="pad_spi_flash_sel_se" pos="15" rst="0">
  52524. </bits>
  52525. <bits access="rw" name="pad_spi_flash_sel_spu" pos="14" rst="0">
  52526. </bits>
  52527. <bits access="rw" name="pad_spi_flash_clk_drv" pos="13:10" rst="2">
  52528. </bits>
  52529. <bits access="rw" name="pad_spi_flash_clk_ie" pos="9" rst="1">
  52530. </bits>
  52531. <bits access="rw" name="pad_spi_flash_clk_se" pos="8" rst="0">
  52532. </bits>
  52533. <bits access="rw" name="pad_spi_flash_clk_spu" pos="7" rst="0">
  52534. </bits>
  52535. <bits access="rw" name="pad_spi_flash_cs_drv" pos="6:3" rst="2">
  52536. </bits>
  52537. <bits access="rw" name="pad_spi_flash_cs_ie" pos="2" rst="1">
  52538. </bits>
  52539. <bits access="rw" name="pad_spi_flash_cs_se" pos="1" rst="0">
  52540. </bits>
  52541. <bits access="rw" name="pad_spi_flash_cs_spu" pos="0" rst="0">
  52542. </bits>
  52543. </reg>
  52544. <reg name="pad_spi_flash_cfg2" protect="rw">
  52545. <bits access="rw" name="pad_spi_flash_ms" pos="29" rst="0">
  52546. </bits>
  52547. <bits access="rw" name="pad_spi_flash_msen" pos="28" rst="0">
  52548. </bits>
  52549. <bits access="rw" name="pad_spi_flash_sio_0_drv" pos="27:24" rst="2">
  52550. </bits>
  52551. <bits access="rw" name="pad_spi_flash_sio_0_ie" pos="23" rst="1">
  52552. </bits>
  52553. <bits access="rw" name="pad_spi_flash_sio_0_se" pos="22" rst="0">
  52554. </bits>
  52555. <bits access="rw" name="pad_spi_flash_sio_0_spu" pos="21" rst="0">
  52556. </bits>
  52557. <bits access="rw" name="pad_spi_flash_sio_1_drv" pos="20:17" rst="2">
  52558. </bits>
  52559. <bits access="rw" name="pad_spi_flash_sio_1_ie" pos="16" rst="1">
  52560. </bits>
  52561. <bits access="rw" name="pad_spi_flash_sio_1_se" pos="15" rst="0">
  52562. </bits>
  52563. <bits access="rw" name="pad_spi_flash_sio_1_spu" pos="14" rst="0">
  52564. </bits>
  52565. <bits access="rw" name="pad_spi_flash_sio_2_drv" pos="13:10" rst="2">
  52566. </bits>
  52567. <bits access="rw" name="pad_spi_flash_sio_2_ie" pos="9" rst="1">
  52568. </bits>
  52569. <bits access="rw" name="pad_spi_flash_sio_2_se" pos="8" rst="0">
  52570. </bits>
  52571. <bits access="rw" name="pad_spi_flash_sio_2_spu" pos="7" rst="0">
  52572. </bits>
  52573. <bits access="rw" name="pad_spi_flash_sio_3_drv" pos="6:3" rst="2">
  52574. </bits>
  52575. <bits access="rw" name="pad_spi_flash_sio_3_ie" pos="2" rst="1">
  52576. </bits>
  52577. <bits access="rw" name="pad_spi_flash_sio_3_se" pos="1" rst="0">
  52578. </bits>
  52579. <bits access="rw" name="pad_spi_flash_sio_3_spu" pos="0" rst="0">
  52580. </bits>
  52581. </reg>
  52582. <reg name="pad_spi_lcd_cfg1" protect="rw">
  52583. <bits access="rw" name="pad_spi_lcd_clk_drv" pos="13:10" rst="2">
  52584. </bits>
  52585. <bits access="rw" name="pad_spi_lcd_clk_ie" pos="9" rst="1">
  52586. </bits>
  52587. <bits access="rw" name="pad_spi_lcd_clk_se" pos="8" rst="0">
  52588. </bits>
  52589. <bits access="rw" name="pad_spi_lcd_clk_spu" pos="7" rst="0">
  52590. </bits>
  52591. <bits access="rw" name="pad_spi_lcd_cs_drv" pos="6:3" rst="2">
  52592. </bits>
  52593. <bits access="rw" name="pad_spi_lcd_cs_ie" pos="2" rst="1">
  52594. </bits>
  52595. <bits access="rw" name="pad_spi_lcd_cs_se" pos="1" rst="0">
  52596. </bits>
  52597. <bits access="rw" name="pad_spi_lcd_cs_spu" pos="0" rst="0">
  52598. </bits>
  52599. </reg>
  52600. <reg name="pad_spi_lcd_cfg2" protect="rw">
  52601. <bits access="rw" name="pad_spi_lcd_sdc_drv" pos="20:17" rst="2">
  52602. </bits>
  52603. <bits access="rw" name="pad_spi_lcd_sdc_ie" pos="16" rst="1">
  52604. </bits>
  52605. <bits access="rw" name="pad_spi_lcd_sdc_se" pos="15" rst="0">
  52606. </bits>
  52607. <bits access="rw" name="pad_spi_lcd_sdc_spu" pos="14" rst="0">
  52608. </bits>
  52609. <bits access="rw" name="pad_spi_lcd_select_drv" pos="13:10" rst="2">
  52610. </bits>
  52611. <bits access="rw" name="pad_spi_lcd_select_ie" pos="9" rst="1">
  52612. </bits>
  52613. <bits access="rw" name="pad_spi_lcd_select_se" pos="8" rst="0">
  52614. </bits>
  52615. <bits access="rw" name="pad_spi_lcd_select_spu" pos="7" rst="0">
  52616. </bits>
  52617. <bits access="rw" name="pad_spi_lcd_sio_drv" pos="6:3" rst="2">
  52618. </bits>
  52619. <bits access="rw" name="pad_spi_lcd_sio_ie" pos="2" rst="1">
  52620. </bits>
  52621. <bits access="rw" name="pad_spi_lcd_sio_se" pos="1" rst="0">
  52622. </bits>
  52623. <bits access="rw" name="pad_spi_lcd_sio_spu" pos="0" rst="0">
  52624. </bits>
  52625. </reg>
  52626. <reg name="pad_tst_cfg" protect="rw">
  52627. <bits access="rw" name="pad_tst_h_drv" pos="4:3" rst="2">
  52628. </bits>
  52629. <bits access="rw" name="pad_tst_h_ie" pos="2" rst="1">
  52630. </bits>
  52631. <bits access="rw" name="pad_tst_h_se" pos="1" rst="0">
  52632. </bits>
  52633. <bits access="rw" name="pad_tst_h_wpus" pos="0" rst="0">
  52634. </bits>
  52635. </reg>
  52636. <reg name="pad_uart_1_cfg" protect="rw">
  52637. <bits access="rw" name="pad_gpio_18_drv" pos="9:8" rst="2">
  52638. </bits>
  52639. <bits access="rw" name="pad_gpio_18_ie" pos="7" rst="1">
  52640. </bits>
  52641. <bits access="rw" name="pad_gpio_18_se" pos="6" rst="0">
  52642. </bits>
  52643. <bits access="rw" name="pad_gpio_18_wpus" pos="5" rst="0">
  52644. </bits>
  52645. <bits access="rw" name="pad_gpio_19_drv" pos="4:3" rst="2">
  52646. </bits>
  52647. <bits access="rw" name="pad_gpio_19_ie" pos="2" rst="1">
  52648. </bits>
  52649. <bits access="rw" name="pad_gpio_19_se" pos="1" rst="0">
  52650. </bits>
  52651. <bits access="rw" name="pad_gpio_19_wpus" pos="0" rst="0">
  52652. </bits>
  52653. </reg>
  52654. <reg name="pad_uart_2_cfg" protect="rw">
  52655. <bits access="rw" name="pad_gpio_22_drv" pos="19:18" rst="2">
  52656. </bits>
  52657. <bits access="rw" name="pad_gpio_22_ie" pos="17" rst="1">
  52658. </bits>
  52659. <bits access="rw" name="pad_gpio_22_se" pos="16" rst="0">
  52660. </bits>
  52661. <bits access="rw" name="pad_gpio_22_wpus" pos="15" rst="0">
  52662. </bits>
  52663. <bits access="rw" name="pad_gpio_23_drv" pos="14:13" rst="2">
  52664. </bits>
  52665. <bits access="rw" name="pad_gpio_23_ie" pos="12" rst="1">
  52666. </bits>
  52667. <bits access="rw" name="pad_gpio_23_se" pos="11" rst="0">
  52668. </bits>
  52669. <bits access="rw" name="pad_gpio_23_wpus" pos="10" rst="0">
  52670. </bits>
  52671. <bits access="rw" name="pad_gpio_20_drv" pos="9:8" rst="2">
  52672. </bits>
  52673. <bits access="rw" name="pad_gpio_20_ie" pos="7" rst="1">
  52674. </bits>
  52675. <bits access="rw" name="pad_gpio_20_se" pos="6" rst="0">
  52676. </bits>
  52677. <bits access="rw" name="pad_gpio_20_wpus" pos="5" rst="0">
  52678. </bits>
  52679. <bits access="rw" name="pad_gpio_21_drv" pos="4:3" rst="2">
  52680. </bits>
  52681. <bits access="rw" name="pad_gpio_21_ie" pos="2" rst="1">
  52682. </bits>
  52683. <bits access="rw" name="pad_gpio_21_se" pos="1" rst="0">
  52684. </bits>
  52685. <bits access="rw" name="pad_gpio_21_wpus" pos="0" rst="0">
  52686. </bits>
  52687. </reg>
  52688. <reg name="pad_secure_boot_mode_cfg" protect="rw">
  52689. <bits access="rw" name="pad_secure_boot_mode_drv" pos="4:3" rst="2">
  52690. </bits>
  52691. <bits access="rw" name="pad_secure_boot_mode_ie" pos="2" rst="1">
  52692. </bits>
  52693. <bits access="rw" name="pad_secure_boot_mode_se" pos="1" rst="0">
  52694. </bits>
  52695. <bits access="rw" name="pad_secure_boot_mode_wpus" pos="0" rst="0">
  52696. </bits>
  52697. </reg>
  52698. <hole size="64"/>
  52699. <reg name="resv0" protect="rw">
  52700. <bits access="rw" name="reg_resv0" pos="31:0" rst="0">
  52701. </bits>
  52702. </reg>
  52703. <reg name="resv1" protect="rw">
  52704. <bits access="rw" name="reg_resv1" pos="31:0" rst="0">
  52705. </bits>
  52706. </reg>
  52707. <reg name="resv2" protect="rw">
  52708. <bits access="rw" name="reg_resv2" pos="31:0" rst="0">
  52709. </bits>
  52710. </reg>
  52711. <reg name="resv3" protect="rw">
  52712. <bits access="rw" name="reg_resv3" pos="31:0" rst="0">
  52713. </bits>
  52714. </reg>
  52715. <reg name="resv4" protect="rw">
  52716. <bits access="rw" name="reg_resv4" pos="31:0" rst="0">
  52717. </bits>
  52718. </reg>
  52719. <reg name="resv5" protect="rw">
  52720. <bits access="rw" name="reg_resv5" pos="31:0" rst="0">
  52721. </bits>
  52722. </reg>
  52723. <reg name="resv6" protect="rw">
  52724. <bits access="rw" name="reg_resv6" pos="31:0" rst="0">
  52725. </bits>
  52726. </reg>
  52727. <reg name="resv7" protect="rw">
  52728. <bits access="rw" name="reg_resv7" pos="31:0" rst="0">
  52729. </bits>
  52730. </reg>
  52731. <reg name="resv8" protect="rw">
  52732. <bits access="rw" name="reg_resv8" pos="31:0" rst="0">
  52733. </bits>
  52734. </reg>
  52735. <reg name="resv9" protect="rw">
  52736. <bits access="rw" name="reg_resv9" pos="31:0" rst="0">
  52737. </bits>
  52738. </reg>
  52739. <reg name="resv10" protect="rw">
  52740. <bits access="rw" name="reg_resv10" pos="31:0" rst="0">
  52741. </bits>
  52742. </reg>
  52743. <reg name="resv11" protect="rw">
  52744. <bits access="rw" name="reg_resv11" pos="31:0" rst="0">
  52745. </bits>
  52746. </reg>
  52747. <reg name="resv12" protect="rw">
  52748. <bits access="rw" name="reg_resv12" pos="31:0" rst="0">
  52749. </bits>
  52750. </reg>
  52751. <reg name="resv13" protect="rw">
  52752. <bits access="rw" name="reg_resv13" pos="31:0" rst="0">
  52753. </bits>
  52754. </reg>
  52755. <reg name="resv14" protect="rw">
  52756. <bits access="rw" name="reg_resv14" pos="31:0" rst="0">
  52757. </bits>
  52758. </reg>
  52759. <reg name="resv15" protect="rw">
  52760. <bits access="rw" name="reg_resv15" pos="31:0" rst="0">
  52761. </bits>
  52762. </reg>
  52763. </module>
  52764. </archive>
  52765. <archive relative="lvds.xml">
  52766. <module category="ANALOG_IF" name="LVDS">
  52767. <reg name="dlhssb_en" protect="rw">
  52768. <bits access="rw" name="config_dlhssb_en" pos="1:0" rst="0">
  52769. <comment>2 dedicated enable for 2 DL HSSBs, bit0-lane0, bit1-lane1</comment>
  52770. </bits>
  52771. </reg>
  52772. <reg name="ulhssb_en" protect="rw">
  52773. <bits access="rw" name="config_ulhssb_en" pos="1:0" rst="0">
  52774. <comment>2 dedicated enable for 2 UL HSSBs, bit0-lane0, bit1-lane1</comment>
  52775. </bits>
  52776. </reg>
  52777. <reg name="dlfifo_clr" protect="rw">
  52778. <bits access="rw" name="config_dlfifo_clr" pos="0:0" rst="0">
  52779. <comment>DL FIFO reset and clear</comment>
  52780. </bits>
  52781. </reg>
  52782. <reg name="ulfifo_clr" protect="rw">
  52783. <bits access="rw" name="config_ulfifo_clr" pos="0:0" rst="0">
  52784. <comment>UL FIFO reset and clear</comment>
  52785. </bits>
  52786. </reg>
  52787. <reg name="syncword10b_d" protect="rw">
  52788. <bits access="rw" name="config_syncword10b_d" pos="7:0" rst="90">
  52789. <comment>SYNC WORD for lvds dest</comment>
  52790. </bits>
  52791. </reg>
  52792. <reg name="syncword10b_s" protect="rw">
  52793. <bits access="rw" name="config_syncword10b_s" pos="7:0" rst="90">
  52794. <comment>SYNC WORD for lvds src</comment>
  52795. </bits>
  52796. </reg>
  52797. <reg name="reverse_mode_en" protect="rw">
  52798. <bits access="rw" name="config_reverse_mode_en" pos="0:0" rst="0">
  52799. <comment>bit reverse enable</comment>
  52800. </bits>
  52801. </reg>
  52802. <hole size="32"/>
  52803. <reg name="syncidx0" protect="rw">
  52804. <bits access="rw" name="config_sync_idx0" pos="3:0" rst="0">
  52805. <comment>bit offset index used in byte training stage for lane0</comment>
  52806. </bits>
  52807. </reg>
  52808. <reg name="syncidx1" protect="rw">
  52809. <bits access="rw" name="config_sync_idx1" pos="3:0" rst="0">
  52810. <comment>bit offset index used in byte training stage for lane1</comment>
  52811. </bits>
  52812. </reg>
  52813. <hole size="64"/>
  52814. <reg name="rx_byte_training_ok" protect="rw">
  52815. <bits access="rw" name="config_rx_byte_training_ok" pos="0:0" rst="0">
  52816. <comment>Byte Training Done from SW</comment>
  52817. </bits>
  52818. </reg>
  52819. <reg name="rx_bit_training_ok" protect="rw">
  52820. <bits access="rw" name="config_rx_bit_training_ok" pos="0:0" rst="0">
  52821. <comment>Bit Training Done from SW</comment>
  52822. </bits>
  52823. </reg>
  52824. <reg name="ulrdy" protect="rw">
  52825. <bits access="rw" name="config_ul_rdy" pos="0:0" rst="0">
  52826. <comment>data ready from DFE for ulfifo to lvds</comment>
  52827. </bits>
  52828. </reg>
  52829. <reg name="len_payload" protect="rw">
  52830. <bits access="rw" name="config_len_payload" pos="9:0" rst="0">
  52831. <comment>Payload max length for timeout check, 0-disabled</comment>
  52832. </bits>
  52833. </reg>
  52834. <reg name="len_sync" protect="rw">
  52835. <bits access="rw" name="config_len_sync" pos="9:0" rst="0">
  52836. <comment>Sync max length for timeout check, 0-disabled</comment>
  52837. </bits>
  52838. </reg>
  52839. <reg name="fix_pattern" protect="rw">
  52840. <bits access="rw" name="config_fix_pattern" pos="0:0" rst="0">
  52841. <comment>LVDS tx fixed pattern instead of data from ulfifo</comment>
  52842. </bits>
  52843. </reg>
  52844. <reg name="pattern0" protect="rw">
  52845. <bits access="rw" name="config_pattern0" pos="31:0" rst="4294967295">
  52846. <comment>LVDS tx fixed pattern0[31:0]</comment>
  52847. </bits>
  52848. </reg>
  52849. <reg name="pattern1" protect="rw">
  52850. <bits access="rw" name="config_pattern1" pos="31:0" rst="0">
  52851. <comment>LVDS tx fixed pattern1[31:0]</comment>
  52852. </bits>
  52853. </reg>
  52854. <hole size="64"/>
  52855. <reg name="sample_width" protect="rw">
  52856. <bits access="rw" name="config_sample_width" pos="1:0" rst="0">
  52857. <comment>[1]: 0-2 cycles per word , 1-1cycle per word for LVDS_TX
  52858. [0]: 0-2 cycles per word , 1-1cycle per word for LVDS_RX</comment>
  52859. </bits>
  52860. </reg>
  52861. <reg name="downsample" protect="rw">
  52862. <bits access="rw" name="config_mode_mt_tx" pos="11:10" rst="0">
  52863. <comment>0-mode0, 1-mode1, 2-mode2, 3-mode3 for tx</comment>
  52864. </bits>
  52865. <bits access="rw" name="config_mode_mt_rx" pos="9:8" rst="0">
  52866. <comment>0-mode0, 1-mode1, 2-mode2, 3-mode3 for rx</comment>
  52867. </bits>
  52868. <bits access="rw" name="config_rate_cnt_tx" pos="7:6" rst="0">
  52869. <comment>number of cycles to read from Fifo under MT mode for both tx</comment>
  52870. </bits>
  52871. <bits access="rw" name="config_rate_cnt_rx" pos="5:4" rst="0">
  52872. <comment>number of cycles to read from Fifo under MT mode for both rx</comment>
  52873. </bits>
  52874. <bits access="rw" name="config_mt_en" pos="3:2" rst="0">
  52875. <comment>[3]: 0- Non-MT mode, 1-MT enable for rx
  52876. [2]: 0- Non-MT mode, 1-MT enable for tx</comment>
  52877. </bits>
  52878. <bits access="rw" name="config_1x2x" pos="1:0" rst="0">
  52879. <comment>[1]: 0-1x clock, 1-2x clock for rx
  52880. [0]: 0-1x clock, 1-2x clock for tx</comment>
  52881. </bits>
  52882. </reg>
  52883. <reg name="tx_bit_training_ok" protect="rw">
  52884. <bits access="rw" name="config_tx_bit_training_ok" pos="0:0" rst="0">
  52885. <comment>bit training Done for lvds tx</comment>
  52886. </bits>
  52887. </reg>
  52888. <reg name="tx_byte_training_ok" protect="rw">
  52889. <bits access="rw" name="config_tx_byte_training_ok" pos="0:0" rst="0">
  52890. <comment>byte training Done for lvds tx</comment>
  52891. </bits>
  52892. </reg>
  52893. <reg name="latch_word0_0" protect="r">
  52894. <bits access="r" name="reg_latch_word0_0" pos="31:0" rst="0">
  52895. <comment>report bit or byte training results word0 for lane0</comment>
  52896. </bits>
  52897. </reg>
  52898. <reg name="latch_word0_1" protect="r">
  52899. <bits access="r" name="reg_latch_word0_1" pos="31:0" rst="0">
  52900. <comment>report bit or byte training results word1 for lane0</comment>
  52901. </bits>
  52902. </reg>
  52903. <reg name="latch_word1_0" protect="r">
  52904. <bits access="r" name="reg_latch_word1_0" pos="31:0" rst="0">
  52905. <comment>report bit or byte training results word0 for lane1</comment>
  52906. </bits>
  52907. </reg>
  52908. <reg name="latch_word1_1" protect="r">
  52909. <bits access="r" name="reg_latch_word1_1" pos="31:0" rst="0">
  52910. <comment>report bit or byte training results word1 for lane1</comment>
  52911. </bits>
  52912. </reg>
  52913. <reg name="state_monitor" protect="r">
  52914. <bits access="r" name="dest_lane1_fstate" pos="29:27" rst="0">
  52915. <comment>dest_lane1_fstate</comment>
  52916. </bits>
  52917. <bits access="r" name="dest_lane0_fstate" pos="26:24" rst="0">
  52918. <comment>dest_lane0_fstate</comment>
  52919. </bits>
  52920. <bits access="r" name="dest_lane1_state" pos="23:21" rst="0">
  52921. <comment>dest_lane1_state</comment>
  52922. </bits>
  52923. <bits access="r" name="dest_lane1_mstate" pos="20:18" rst="0">
  52924. <comment>dest_lane1_mstate</comment>
  52925. </bits>
  52926. <bits access="r" name="dest_lane0_state" pos="17:15" rst="0">
  52927. <comment>dest_lane0_state</comment>
  52928. </bits>
  52929. <bits access="r" name="dest_lane0_mstate" pos="14:12" rst="0">
  52930. <comment>dest_lane0_mstate</comment>
  52931. </bits>
  52932. <bits access="r" name="src_lane1_state" pos="11:9" rst="0">
  52933. <comment>src_lane1_state</comment>
  52934. </bits>
  52935. <bits access="r" name="src_lane1_mstate" pos="8:6" rst="0">
  52936. <comment>src_lane1_mstate</comment>
  52937. </bits>
  52938. <bits access="r" name="src_lane0_state" pos="5:3" rst="0">
  52939. <comment>src_lane0_state</comment>
  52940. </bits>
  52941. <bits access="r" name="src_lane0_mstate" pos="2:0" rst="0">
  52942. <comment>src_lane0_mstate</comment>
  52943. </bits>
  52944. </reg>
  52945. <hole size="96"/>
  52946. <reg name="res_lvds_bb" protect="rw">
  52947. <bits access="rw" name="config_res_lvds_bb" pos="15:0" rst="0">
  52948. <comment>reserved register for lvds bb
  52949. [15]: for RX, 1-use SW configure Sync index enable, 0-use HW anto sync detection
  52950. [14]: for TX, 1-use SW configure Sync index enable, 0-use HW anto sync detection
  52951. [13]: for RX, 1-use LFSR for BIST , 0-use normal data for RX
  52952. [12]: for TX, 1-use LFSR for BIST , 0-use normal data for TX</comment>
  52953. </bits>
  52954. </reg>
  52955. <reg name="clock_lvds" protect="rw">
  52956. <bits access="rw" name="config_clock_lvds" pos="15:0" rst="0">
  52957. <comment>configure register for lvds used by IQMUX:
  52958. [15:12]: reserved
  52959. [11]: software reset for LVDS digital TX
  52960. [10]: software reset for LVDS digital RX
  52961. [9]: software reset for LVDS analog TX
  52962. [8]: software reset for LVDS analog RX
  52963. [7:3]: reserved
  52964. [2]: clock gating enable for MT clock divided from mt2lvds@61.44MHz clock.
  52965. [1]: clock gating enable to LVDS digital rx related clocks
  52966. [0]: clock gating enable to LVDS digital tx related clocks</comment>
  52967. </bits>
  52968. </reg>
  52969. <hole size="32"/>
  52970. <reg name="latch" protect="rw">
  52971. <bits access="rw" name="config_latch" pos="0:0" rst="0">
  52972. <comment>Latch trigger for capturing 8 lvds received Bytes</comment>
  52973. </bits>
  52974. </reg>
  52975. <reg name="header_config" protect="rw">
  52976. <bits access="rw" name="config_header" pos="10:3" rst="255">
  52977. <comment>header to be received or transmitted for LVDS</comment>
  52978. </bits>
  52979. <bits access="rw" name="config_header_len" pos="2:0" rst="0">
  52980. <comment>number of header to be received or transmitted for LVDS</comment>
  52981. </bits>
  52982. </reg>
  52983. <reg name="rx_state_status" protect="r">
  52984. <bits access="r" name="lvds_rx_state_machine" pos="5:0" rst="0">
  52985. <comment>mstate and fstate machine rerport for lvds_rx debug purpose</comment>
  52986. </bits>
  52987. </reg>
  52988. <reg name="tx_state_status" protect="r">
  52989. <bits access="r" name="lvds_tx_state_machine" pos="5:0" rst="0">
  52990. <comment>mstate and state machine rerport for lvds_tx debug purpose</comment>
  52991. </bits>
  52992. </reg>
  52993. <reg name="rx_pll_stable_time" protect="rw">
  52994. <bits access="rw" name="lvds_rx_pll_stable_time" pos="15:0" rst="0">
  52995. <comment>16 bit counter for LVDS_RX PLL stable time wait</comment>
  52996. </bits>
  52997. </reg>
  52998. <reg name="tx_pll_stable_time" protect="rw">
  52999. <bits access="rw" name="lvds_tx_pll_stable_time" pos="15:0" rst="0">
  53000. <comment>16 bit counter for LVDS_TX PLL stable time wait</comment>
  53001. </bits>
  53002. </reg>
  53003. <reg name="interrupt" protect="r">
  53004. <bits access="r" name="lvds_interrupt_raw" pos="1:1" rst="0">
  53005. <comment>raw interrupt status, write 1 to clear</comment>
  53006. </bits>
  53007. <bits access="r" name="lvds_interrupt" pos="0:0" rst="0">
  53008. <comment>interrupt status after masked raw interrupt status</comment>
  53009. </bits>
  53010. </reg>
  53011. <reg name="interrupt_ctrl" protect="rw">
  53012. <bits access="rw" name="lvds_interrupt_clear" pos="4:4" rst="0">
  53013. <comment>write 1 to clear interrupt</comment>
  53014. </bits>
  53015. <bits access="rw" name="lvds_interrupt_source_sel" pos="3:1" rst="0">
  53016. <comment>raw interrupt source select</comment>
  53017. </bits>
  53018. <bits access="rw" name="lvds_interrupt_mask" pos="0:0" rst="0">
  53019. <comment>raw interrupt mask for latch done</comment>
  53020. </bits>
  53021. </reg>
  53022. <reg name="lane0_bist_result" protect="r">
  53023. <bits access="r" name="bist_error_cnt_lane0" pos="16:1" rst="0">
  53024. <comment>number of errors for lvds lane0 bist enabled period</comment>
  53025. </bits>
  53026. <bits access="r" name="bist_fail_ind_lane0" pos="0:0" rst="0">
  53027. <comment>1: bist fail for lane0, 0: bist pass for lane0</comment>
  53028. </bits>
  53029. </reg>
  53030. <reg name="lane1_bist_result" protect="r">
  53031. <bits access="r" name="bist_error_cnt_lane1" pos="16:1" rst="0">
  53032. <comment>number of errors for lvds lane1 bist enabled period</comment>
  53033. </bits>
  53034. <bits access="r" name="bist_fail_ind_lane1" pos="0:0" rst="0">
  53035. <comment>1: bist fail for lane1, 0: bist pass for lane0</comment>
  53036. </bits>
  53037. </reg>
  53038. <hole size="544"/>
  53039. <reg name="lvds_reset" protect="rw">
  53040. <bits access="rw" name="lvds_rx_rstn" pos="1:1" rst="1">
  53041. <comment>reset for LVDS RX path, active low</comment>
  53042. </bits>
  53043. <bits access="rw" name="lvds_tx_rstn" pos="0:0" rst="1">
  53044. <comment>soft reset for LVDS TX path, active low</comment>
  53045. </bits>
  53046. </reg>
  53047. <reg name="clk_band" protect="rw">
  53048. <bits access="rw" name="lvds_clk_band" pos="3:0" rst="1">
  53049. <comment>reg for PLL divisor
  53050. lvds_clk_band=3'b0001 with pll_din=7'h08
  53051. lvds_clk_band=3'b0010 with pll_din=7'h10
  53052. lvds_clk_band=3'b0100 with pll_din=7'h20
  53053. lvds_clk_band=3'b1000 with pll_din=7'h40</comment>
  53054. </bits>
  53055. </reg>
  53056. <reg name="phase_sel" protect="rw">
  53057. <bits access="rw" name="lvds_phase_sel" pos="2:0" rst="4">
  53058. <comment>1st phase coarse tuning between TX_DATA and TX_CLOCK</comment>
  53059. </bits>
  53060. </reg>
  53061. <reg name="rx_data_pnsw" protect="rw">
  53062. <bits access="rw" name="lvds_rx_data_pnsw" pos="1:0" rst="0">
  53063. <comment>input P and N switch</comment>
  53064. </bits>
  53065. </reg>
  53066. <reg name="rx_dl8p_sel" protect="rw">
  53067. <bits access="rw" name="lvds_rx_dl8p_sel" pos="31:0" rst="0">
  53068. <comment>phase fine tuning between RX_DATA and RX_CLOCK</comment>
  53069. </bits>
  53070. </reg>
  53071. <hole size="96"/>
  53072. <reg name="rx_dl128p_sel" protect="rw">
  53073. <bits access="rw" name="lvds_rx_dl128p_sel" pos="13:0" rst="0">
  53074. <comment>phase coarse tuning between RX_DATA and RX_CLOCK</comment>
  53075. </bits>
  53076. </reg>
  53077. <reg name="rx_pu_diff2cmos" protect="rw">
  53078. <bits access="rw" name="lvds_rx_pu_diff2cmos" pos="4:0" rst="0">
  53079. <comment>RX BUFFER enable</comment>
  53080. </bits>
  53081. </reg>
  53082. <reg name="rx_vcom_sel" protect="rw">
  53083. <bits access="rw" name="lvds_rx_vcom_sel" pos="4:0" rst="0">
  53084. <comment>RX BUFFER select</comment>
  53085. </bits>
  53086. </reg>
  53087. <reg name="tx_dl8p_sel" protect="rw">
  53088. <bits access="rw" name="lvds_tx_dl8p_sel" pos="14:0" rst="0">
  53089. <comment>phase fine tuning between TX_DATA and TX_CLOCK</comment>
  53090. </bits>
  53091. </reg>
  53092. <reg name="tx_dl128p_sel" protect="rw">
  53093. <bits access="rw" name="lvds_tx_dl128p_sel" pos="6:0" rst="0">
  53094. <comment>2nd phase coarse tuning between TX_DATA and TX_CLOCK</comment>
  53095. </bits>
  53096. </reg>
  53097. <reg name="tx_hz_enable" protect="rw">
  53098. <bits access="rw" name="lvds_tx_hz_enable" pos="4:0" rst="31">
  53099. <comment>LVDS DRIVER tri-state enable</comment>
  53100. </bits>
  53101. </reg>
  53102. <reg name="tx_iref_bit" protect="rw">
  53103. <bits access="rw" name="lvds_tx_iref_bit" pos="3:0" rst="8">
  53104. <comment>LVDS DRIVER strength adjust</comment>
  53105. </bits>
  53106. </reg>
  53107. <reg name="tx_vcm_bit" protect="rw">
  53108. <bits access="rw" name="lvds_tx_vcm_bit" pos="2:0" rst="4">
  53109. <comment>LVDS DRIVER output common mode voltage adjust</comment>
  53110. </bits>
  53111. </reg>
  53112. <reg name="tx_vdm_bit" protect="rw">
  53113. <bits access="rw" name="lvds_tx_vdm_bit" pos="2:0" rst="4">
  53114. <comment>LVDS DRIVER output difference mode voltage adjust</comment>
  53115. </bits>
  53116. </reg>
  53117. <reg name="reg_res" protect="rw">
  53118. <bits access="rw" name="lvds_reg_res" pos="31:0" rst="2228240">
  53119. <comment>LVDS reserved register
  53120. [2:0]:pll_rx_clk_ref_dig
  53121. [4]:pll_rx_clk_ref_dig_enable
  53122. [20:18]:pll_rx_clk_ref_xtal
  53123. [17]:pll_rx_clk_ref_xtal_enable</comment>
  53124. </bits>
  53125. </reg>
  53126. <reg name="pll_refdiv2_enable" protect="rw">
  53127. <bits access="rw" name="lvds_pll_refdiv2_enable" pos="0:0" rst="0">
  53128. <comment>enable for PLL reference clock being input clock divided by 2</comment>
  53129. </bits>
  53130. </reg>
  53131. <reg name="pll_clk_rstb" protect="rw">
  53132. <bits access="rw" name="lvds_pll_clk_rstb" pos="0:0" rst="0">
  53133. <comment>PLL output clock enable</comment>
  53134. </bits>
  53135. </reg>
  53136. <hole size="96"/>
  53137. <reg name="pll_din" protect="rw">
  53138. <bits access="rw" name="lvds_pll_din" pos="6:0" rst="8">
  53139. <comment>set with lvds_clk_band</comment>
  53140. </bits>
  53141. </reg>
  53142. <reg name="pll_pcon" protect="rw">
  53143. <bits access="rw" name="lvds_pll_pcon" pos="2:0" rst="0">
  53144. <comment>PLL divisor decimal part,fixed to 0</comment>
  53145. </bits>
  53146. </reg>
  53147. <reg name="pll_refmulti2_enable" protect="rw">
  53148. <bits access="rw" name="lvds_pll_refmulti2_en" pos="0:0" rst="0">
  53149. <comment>PLL refmulit2 enable</comment>
  53150. </bits>
  53151. </reg>
  53152. <hole size="192"/>
  53153. <reg name="pll_vreg_bit" protect="rw">
  53154. <bits access="rw" name="lvds_pll_vreg_bit" pos="3:0" rst="8">
  53155. <comment>PLL Regulator voltage adjust</comment>
  53156. </bits>
  53157. </reg>
  53158. <reg name="pu_pll" protect="rw">
  53159. <bits access="rw" name="lvds_pu_pll" pos="0:0" rst="0">
  53160. <comment>PLL power up</comment>
  53161. </bits>
  53162. </reg>
  53163. <reg name="pll_lock" protect="r">
  53164. <bits access="r" name="lvds_pll_lock" pos="0:0" rst="0">
  53165. <comment>PLL lock status
  53166. 0:unlock
  53167. 1:lock</comment>
  53168. </bits>
  53169. </reg>
  53170. <reg name="pll_reg0" protect="rw">
  53171. <bits access="rw" name="lvds_pll_reg0" pos="15:0" rst="3106">
  53172. <comment>PLL 1st reserved register</comment>
  53173. </bits>
  53174. </reg>
  53175. <reg name="pll_reg1" protect="rw">
  53176. <bits access="rw" name="lvds_pll_reg1" pos="15:0" rst="128">
  53177. <comment>PLL 2nd reserved register</comment>
  53178. </bits>
  53179. </reg>
  53180. <reg name="lvds_monitor_select" protect="rw">
  53181. <bits access="rw" name="lvds_monitor_sel" pos="3:0" rst="0">
  53182. </bits>
  53183. </reg>
  53184. <reg name="lane1_pattern0" protect="rw">
  53185. <bits access="rw" name="config_lane1_pattern0" pos="31:0" rst="4294967295">
  53186. <comment>LVDS tx fixed pattern0[31:0]</comment>
  53187. </bits>
  53188. </reg>
  53189. <reg name="lane1_pattern1" protect="rw">
  53190. <bits access="rw" name="config_lane1_pattern1" pos="31:0" rst="0">
  53191. <comment>LVDS tx fixed pattern1[31:0]</comment>
  53192. </bits>
  53193. </reg>
  53194. <reg name="lvds2dfe_latch_reg_0" protect="r">
  53195. <bits access="r" name="lvds2dfe_latch_reg0" pos="31:0" rst="0">
  53196. <comment>LVDS2DFE latch reg0</comment>
  53197. </bits>
  53198. </reg>
  53199. <reg name="lvds2dfe_latch_reg_1" protect="r">
  53200. <bits access="r" name="lvds2dfe_latch_reg1" pos="31:0" rst="0">
  53201. <comment>LVDS2DFE latch reg1</comment>
  53202. </bits>
  53203. </reg>
  53204. <reg name="topbist_control" protect="rw">
  53205. <bits access="rw" name="top2lvds_bist_en" pos="17" rst="0">
  53206. <comment>top bist en</comment>
  53207. </bits>
  53208. <bits access="r" name="err_flag" pos="16" rst="0">
  53209. </bits>
  53210. <bits access="r" name="err_cnt" pos="15:0" rst="0">
  53211. </bits>
  53212. </reg>
  53213. </module>
  53214. </archive>
  53215. <archive relative="sys_imem.xml">
  53216. <var name="NB_ROM_PATCH" value="8"/>
  53217. <var name="INT_ROM_SIZE" value="64*1024"/>
  53218. <var name="INT_SRAM_SIZE" value="64*1024"/>
  53219. <module category="System" name="SYS_IMEM">
  53220. <struct count="NB_ROM_PATCH/2" name="patch_pagespy_ctrl">
  53221. <reg name="patch_pagespy_start" protect="rw">
  53222. <bits access="rw" name="patch_valid" pos="31:31">
  53223. </bits>
  53224. <bits access="rw" name="pagespy_enable" pos="30:30">
  53225. </bits>
  53226. <bits access="rw" name="pagespy_detectr" pos="29:29">
  53227. </bits>
  53228. <bits access="rw" name="pagespy_detectw" pos="28:28">
  53229. </bits>
  53230. <bits access="rw" name="patch_addr_pagespy_start_addr" pos="27:0">
  53231. </bits>
  53232. </reg>
  53233. <reg name="patch_pagespy_end" protect="rw">
  53234. <bits access="rw" name="patch_valid" pos="31:31">
  53235. </bits>
  53236. <bits access="rw" name="patch_addr_pagespy_end_addr" pos="27:0">
  53237. </bits>
  53238. </reg>
  53239. </struct>
  53240. <struct count="NB_ROM_PATCH/2" name="pagespy_info">
  53241. <reg name="pagespy_info0" protect="rw">
  53242. <bits access="r" name="pagespy_status" pos="11:11">
  53243. </bits>
  53244. <bits access="r" name="pagespy_hitr" pos="10:10">
  53245. </bits>
  53246. <bits access="r" name="pagespy_hitw" pos="9:9">
  53247. </bits>
  53248. <bits access="r" name="pagespy_aid" pos="8:0">
  53249. </bits>
  53250. </reg>
  53251. <reg name="pagespy_info1" protect="rw">
  53252. <bits access="r" name="pagespy_addr" pos="31:0">
  53253. </bits>
  53254. </reg>
  53255. </struct>
  53256. </module>
  53257. <module category="Memory" name="INT_ROM">
  53258. <memory name="boot rom" size="INT_ROM_SIZE">
  53259. <comment>Internal Bootrom Space</comment>
  53260. </memory>
  53261. </module>
  53262. <module category="Memory" name="INT_SRAM">
  53263. <memory name="int sram" size="INT_SRAM_SIZE">
  53264. <comment>Internal SRam Space</comment>
  53265. </memory>
  53266. </module>
  53267. </archive>
  53268. <archive relative="sys_axi_cfg.xml">
  53269. <module category="System" name="SYS_AXI_CFG">
  53270. <struct name="address region">
  53271. <reg name="remap" protect="w">
  53272. </reg>
  53273. <hole size="4*8"/>
  53274. <reg count="64" name="security" protect="w">
  53275. <bits name="secure" pos="15:0">
  53276. </bits>
  53277. </reg>
  53278. <hole size="3832*8"/>
  53279. </struct>
  53280. <struct name="periperal id">
  53281. <hole size="4048*8"/>
  53282. <reg name="peripheral id4" protect="r">
  53283. </reg>
  53284. <reg name="peripheral id5" protect="r">
  53285. </reg>
  53286. <reg name="peripheral id6" protect="r">
  53287. </reg>
  53288. <reg name="peripheral id7" protect="r">
  53289. </reg>
  53290. <reg name="peripheral id0" protect="r">
  53291. <bits access="r" name="part number[7:0]" pos="7:0">
  53292. </bits>
  53293. </reg>
  53294. <reg name="peripheral id1" protect="r">
  53295. <bits access="r" name="part number[11:8]" pos="3:0">
  53296. </bits>
  53297. <bits access="r" name="jep106[3:0]" pos="7:4">
  53298. </bits>
  53299. </reg>
  53300. <reg name="peripheral id2" protect="r">
  53301. <bits access="r" name="jep106[6:4]" pos="3:0">
  53302. </bits>
  53303. </reg>
  53304. <reg name="peripheral id3" protect="r">
  53305. </reg>
  53306. <reg name="component id0" protect="r">
  53307. </reg>
  53308. <reg name="component id1" protect="r">
  53309. </reg>
  53310. <reg name="component id2" protect="r">
  53311. </reg>
  53312. <reg name="component id3" protect="r">
  53313. </reg>
  53314. </struct>
  53315. </module>
  53316. </archive>
  53317. <archive relative="dmc400.xml">
  53318. <module category="Periph" name="DMC400">
  53319. <reg name="memc_status" protect="r">
  53320. <bits access="r" name="memc_status" pos="1:0" rst="0">
  53321. <options>
  53322. <option name="config" value="0"/>
  53323. <option name="low_power" value="1"/>
  53324. <option name="paused" value="2"/>
  53325. <option name="ready" value="3"/>
  53326. </options>
  53327. </bits>
  53328. </reg>
  53329. <reg name="memc_config" protect="r">
  53330. <bits access="r" name="system_interfaces_cfg" pos="1:0" rst="0">
  53331. <options>
  53332. <option name="1_system_interface" value="0"/>
  53333. <option name="2_system_interface" value="1"/>
  53334. <option name="4_system_interface" value="3"/>
  53335. </options>
  53336. </bits>
  53337. <bits access="r" name="memory_interfaces_cfg" pos="5:4" rst="0">
  53338. <options>
  53339. <option name="1_memory_interface" value="0"/>
  53340. <option name="2_memory_interface" value="1"/>
  53341. </options>
  53342. </bits>
  53343. <bits access="r" name="memory_data_width_cfg" pos="9:8" rst="1">
  53344. <options>
  53345. <option name="32bit_phy_if" value="1"/>
  53346. <option name="64bit_phy_if" value="2"/>
  53347. <option name="128bit_phy_if" value="3"/>
  53348. </options>
  53349. </bits>
  53350. <bits access="r" name="memory_chip_selects_cfg" pos="13:12" rst="0">
  53351. <options>
  53352. <option name="1_chip_sel" value="0"/>
  53353. <option name="2_chip_sel" value="1"/>
  53354. </options>
  53355. </bits>
  53356. <bits access="r" name="read_queue_depth_cfg" pos="18:16" rst="0">
  53357. <options>
  53358. <option name="16_entry" value="0"/>
  53359. <option name="32_entry" value="1"/>
  53360. <option name="64_entry" value="3"/>
  53361. <option name="128_entry" value="7"/>
  53362. </options>
  53363. </bits>
  53364. <bits access="r" name="write_queue_depth_cfg" pos="22:20" rst="1">
  53365. <options>
  53366. <option name="16_entry" value="0"/>
  53367. <option name="32_entry" value="1"/>
  53368. <option name="64_entry" value="3"/>
  53369. <option name="128_entry" value="7"/>
  53370. </options>
  53371. </bits>
  53372. <bits access="r" name="max_burst_length_cfg" pos="25:24" rst="3">
  53373. <options>
  53374. <option name="2_dmc_cycle" value="1"/>
  53375. <option name="4_dmc_cycle" value="2"/>
  53376. <option name="8_dmc_cycle" value="3"/>
  53377. </options>
  53378. </bits>
  53379. <bits access="r" name="memory_ecc_cfg" pos="28" rst="0">
  53380. <options>
  53381. <option name="false" value="0"/>
  53382. <option name="true" value="1"/>
  53383. </options>
  53384. </bits>
  53385. </reg>
  53386. <reg name="memc_cmd" protect="w">
  53387. <bits access="w" name="memc_cmd" pos="2:0" rst="0">
  53388. <options>
  53389. <option name="config" value="0"/>
  53390. <option name="sleep" value="1"/>
  53391. <option name="pause" value="2"/>
  53392. <option name="go" value="3"/>
  53393. <option name="invalidate" value="4"/>
  53394. </options>
  53395. </bits>
  53396. </reg>
  53397. <hole size="(1)*32"/>
  53398. <reg name="address_control" protect="rw">
  53399. <bits access="rw" name="column_bits" pos="3:0" rst="0">
  53400. <options>
  53401. <option name="8_col_bits" value="0"/>
  53402. <option name="9_col_bits" value="1"/>
  53403. <option name="10_col_bits" value="2"/>
  53404. <option name="11_col_bits" value="3"/>
  53405. <option name="12_col_bits" value="4"/>
  53406. </options>
  53407. </bits>
  53408. <bits access="rw" name="row_bits" pos="11:8" rst="2">
  53409. <options>
  53410. <option name="13_row_bits" value="2"/>
  53411. <option name="14_row_bits" value="3"/>
  53412. <option name="15_row_bits" value="4"/>
  53413. <option name="16_row_bits" value="5"/>
  53414. </options>
  53415. </bits>
  53416. <bits access="rw" name="bank_bits" pos="19:16" rst="3">
  53417. <options>
  53418. <option name="2_bank_bits_4bk" value="2"/>
  53419. <option name="3_bank_bits_8bk" value="3"/>
  53420. </options>
  53421. </bits>
  53422. <bits access="rw" name="chip_bits" pos="25:24" rst="0">
  53423. <options>
  53424. <option name="0_chip_bits_1cs" value="0"/>
  53425. <option name="1_chip_bits_2cs" value="1"/>
  53426. </options>
  53427. </bits>
  53428. <bits access="rw" name="channel_bits" pos="29:28" rst="0">
  53429. <options>
  53430. <option name="0_channel_bits_1memif" value="0"/>
  53431. <option name="1_channel_bits_2memif" value="1"/>
  53432. </options>
  53433. </bits>
  53434. </reg>
  53435. <reg name="decode_control" protect="rw">
  53436. <bits access="rw" name="addr_decode" pos="1:0" rst="0">
  53437. <options>
  53438. <option name="channel_chip_row_bank_col" value="0"/>
  53439. <option name="row_channel_chip_bank_col" value="1"/>
  53440. <option name="chip_bank_row_channel_col" value="2"/>
  53441. <option name="row_chip_bank_channel_col" value="3"/>
  53442. </options>
  53443. </bits>
  53444. <bits access="rw" name="strip_decode" pos="7:4" rst="5">
  53445. <options>
  53446. <option name="page_addr_13_12" value="0"/>
  53447. <option name="page_addr_12_11" value="1"/>
  53448. <option name="page_addr_11_10" value="2"/>
  53449. <option name="page_addr_10_9" value="3"/>
  53450. <option name="page_addr_9_8" value="4"/>
  53451. <option name="page_addr_8_7" value="5"/>
  53452. <option name="page_addr_7_6" value="6"/>
  53453. <option name="page_addr_6_5" value="7"/>
  53454. </options>
  53455. </bits>
  53456. </reg>
  53457. <reg name="format_control" protect="rw">
  53458. <bits access="rw" name="mem_width" pos="1:0" rst="1">
  53459. <options>
  53460. <option name="phy_width_32_x16_ddr" value="1"/>
  53461. <option name="phy_width_64_x32_ddr" value="2"/>
  53462. <option name="phy_width_128_x64_ddr" value="3"/>
  53463. </options>
  53464. </bits>
  53465. <bits access="rw" name="mem_burst" pos="9:8" rst="2">
  53466. <options>
  53467. <option name="mem_burst_2_ddr_bl4" value="1"/>
  53468. <option name="mem_burst_4_ddr_bl8" value="2"/>
  53469. <option name="mem_burst_8_ddr_bl16" value="3"/>
  53470. </options>
  53471. </bits>
  53472. <bits access="rw" name="acc_granu" pos="25:24" rst="2">
  53473. <options>
  53474. <option name="acc_granu_1_ddr_2n" value="0"/>
  53475. <option name="acc_granu_2_ddr_4n" value="1"/>
  53476. <option name="acc_granu_4_ddr_8n" value="2"/>
  53477. <option name="acc_granu_8_ddr_16n" value="3"/>
  53478. </options>
  53479. </bits>
  53480. <bits access="rw" name="align_boundary" pos="29:28" rst="2">
  53481. <options>
  53482. <option name="align_boundary_1_col_1bit" value="0"/>
  53483. <option name="align_boundary_2_col_2bit" value="1"/>
  53484. <option name="align_boundary_4_col_3bit" value="2"/>
  53485. <option name="align_boundary_8_col_4bit" value="3"/>
  53486. </options>
  53487. </bits>
  53488. </reg>
  53489. <hole size="(1)*32"/>
  53490. <reg name="low_power_control" protect="rw">
  53491. <bits access="rw" name="stop_mem_clock_idle" pos="0" rst="0">
  53492. <options>
  53493. <option name="disable" value="0"/>
  53494. <option name="enable" value="1"/>
  53495. </options>
  53496. </bits>
  53497. <bits access="rw" name="stop_mem_clock_sref" pos="1" rst="0">
  53498. <options>
  53499. <option name="disable" value="0"/>
  53500. <option name="enable" value="1"/>
  53501. </options>
  53502. </bits>
  53503. <bits access="rw" name="auto_power_down" pos="2" rst="0">
  53504. <options>
  53505. <option name="disable" value="0"/>
  53506. <option name="enable" value="1"/>
  53507. </options>
  53508. </bits>
  53509. <bits access="rw" name="auto_self_refresh" pos="3" rst="0">
  53510. <options>
  53511. <option name="disable" value="0"/>
  53512. <option name="enable" value="1"/>
  53513. </options>
  53514. </bits>
  53515. <bits access="rw" name="asr_period" pos="7:4" rst="1">
  53516. </bits>
  53517. </reg>
  53518. <hole size="(3)*32"/>
  53519. <reg name="turnaround_priority" protect="rw">
  53520. <bits access="rw" name="turnaround_priority" pos="3:0" rst="0">
  53521. </bits>
  53522. <bits access="rw" name="turnaround_limit" pos="7:4" rst="0">
  53523. </bits>
  53524. </reg>
  53525. <reg name="hit_priority" protect="rw">
  53526. <bits access="rw" name="hit_priority" pos="3:0" rst="0">
  53527. </bits>
  53528. <bits access="rw" name="hit_limit" pos="7:4" rst="0">
  53529. </bits>
  53530. </reg>
  53531. <reg name="qos0_control" protect="rw">
  53532. <bits access="rw" name="qos0_priority" pos="3:0" rst="0">
  53533. </bits>
  53534. <bits access="rw" name="qos0_timeout" pos="11:8" rst="0">
  53535. </bits>
  53536. </reg>
  53537. <reg name="qos1_control" protect="rw">
  53538. <bits access="rw" name="qos1_priority" pos="3:0" rst="1">
  53539. </bits>
  53540. <bits access="rw" name="qos1_timeout" pos="11:8" rst="0">
  53541. </bits>
  53542. </reg>
  53543. <reg name="qos2_control" protect="rw">
  53544. <bits access="rw" name="qos2_priority" pos="3:0" rst="2">
  53545. </bits>
  53546. <bits access="rw" name="qos2_timeout" pos="11:8" rst="0">
  53547. </bits>
  53548. </reg>
  53549. <reg name="qos3_control" protect="rw">
  53550. <bits access="rw" name="qos3_priority" pos="3:0" rst="3">
  53551. </bits>
  53552. <bits access="rw" name="qos3_timeout" pos="11:8" rst="0">
  53553. </bits>
  53554. </reg>
  53555. <reg name="qos4_control" protect="rw">
  53556. <bits access="rw" name="qos4_priority" pos="3:0" rst="4">
  53557. </bits>
  53558. <bits access="rw" name="qos4_timeout" pos="11:8" rst="0">
  53559. </bits>
  53560. </reg>
  53561. <reg name="qos5_control" protect="rw">
  53562. <bits access="rw" name="qos5_priority" pos="3:0" rst="5">
  53563. </bits>
  53564. <bits access="rw" name="qos5_timeout" pos="11:8" rst="0">
  53565. </bits>
  53566. </reg>
  53567. <reg name="qos6_control" protect="rw">
  53568. <bits access="rw" name="qos6_priority" pos="3:0" rst="6">
  53569. </bits>
  53570. <bits access="rw" name="qos6_timeout" pos="11:8" rst="0">
  53571. </bits>
  53572. </reg>
  53573. <reg name="qos7_control" protect="rw">
  53574. <bits access="rw" name="qos7_priority" pos="3:0" rst="7">
  53575. </bits>
  53576. <bits access="rw" name="qos7_timeout" pos="11:8" rst="0">
  53577. </bits>
  53578. </reg>
  53579. <reg name="qos8_control" protect="rw">
  53580. <bits access="rw" name="qos8_priority" pos="3:0" rst="8">
  53581. </bits>
  53582. <bits access="rw" name="qos8_timeout" pos="11:8" rst="0">
  53583. </bits>
  53584. </reg>
  53585. <reg name="qos9_control" protect="rw">
  53586. <bits access="rw" name="qos9_priority" pos="3:0" rst="9">
  53587. </bits>
  53588. <bits access="rw" name="qos9_timeout" pos="11:8" rst="0">
  53589. </bits>
  53590. </reg>
  53591. <reg name="qos10_control" protect="rw">
  53592. <bits access="rw" name="qos10_priority" pos="3:0" rst="10">
  53593. </bits>
  53594. <bits access="rw" name="qos10_timeout" pos="11:8" rst="0">
  53595. </bits>
  53596. </reg>
  53597. <reg name="qos11_control" protect="rw">
  53598. <bits access="rw" name="qos11_priority" pos="3:0" rst="11">
  53599. </bits>
  53600. <bits access="rw" name="qos11_timeout" pos="11:8" rst="0">
  53601. </bits>
  53602. </reg>
  53603. <reg name="qos12_control" protect="rw">
  53604. <bits access="rw" name="qos12_priority" pos="3:0" rst="12">
  53605. </bits>
  53606. <bits access="rw" name="qos12_timeout" pos="11:8" rst="0">
  53607. </bits>
  53608. </reg>
  53609. <hole size="(1)*32"/>
  53610. <reg name="qos13_control" protect="rw">
  53611. <bits access="rw" name="qos13_priority" pos="3:0" rst="13">
  53612. </bits>
  53613. <bits access="rw" name="qos13_timeout" pos="11:8" rst="0">
  53614. </bits>
  53615. </reg>
  53616. <reg name="qos14_control" protect="rw">
  53617. <bits access="rw" name="qos14_priority" pos="3:0" rst="14">
  53618. </bits>
  53619. <bits access="rw" name="qos14_timeout" pos="11:8" rst="0">
  53620. </bits>
  53621. </reg>
  53622. <reg name="qos15_control" protect="rw">
  53623. <bits access="rw" name="qos15_priority" pos="3:0" rst="15">
  53624. </bits>
  53625. <bits access="rw" name="qos15_timeout" pos="11:8" rst="0">
  53626. </bits>
  53627. </reg>
  53628. <reg name="timeout_control" protect="rw">
  53629. <bits access="rw" name="timeout_prescalar" pos="1:0" rst="1">
  53630. <options>
  53631. <option name="8_clk" value="0"/>
  53632. <option name="16_clk" value="1"/>
  53633. <option name="32_clk" value="2"/>
  53634. <option name="64_clk" value="3"/>
  53635. </options>
  53636. </bits>
  53637. </reg>
  53638. <reg name="queue_control" protect="rw">
  53639. <bits access="rw" name="s0_reserve" pos="3:0" rst="0">
  53640. </bits>
  53641. </reg>
  53642. <hole size="(1)*32"/>
  53643. <reg name="write_priority_control" protect="rw">
  53644. <bits access="rw" name="write_threshold_en" pos="0" rst="0">
  53645. <options>
  53646. <option name="disable" value="0"/>
  53647. <option name="enable" value="1"/>
  53648. </options>
  53649. </bits>
  53650. <bits access="rw" name="write_fill_priority_1_16ths" pos="7:4" rst="0">
  53651. </bits>
  53652. <bits access="rw" name="write_fill_priority_2_16ths" pos="11:8" rst="0">
  53653. </bits>
  53654. <bits access="rw" name="write_fill_priority_3_16ths" pos="15:12" rst="0">
  53655. </bits>
  53656. <bits access="rw" name="write_fill_priority_4_16ths" pos="19:16" rst="0">
  53657. </bits>
  53658. <bits access="rw" name="write_fill_priority_5_16ths" pos="23:20" rst="0">
  53659. </bits>
  53660. <bits access="rw" name="write_fill_priority_6_16ths" pos="27:24" rst="0">
  53661. </bits>
  53662. <bits access="rw" name="write_fill_priority_7_16ths" pos="31:28" rst="0">
  53663. </bits>
  53664. </reg>
  53665. <reg name="write_priority_control2" protect="rw">
  53666. <bits access="rw" name="write_fill_priority_8_16ths" pos="3:0" rst="0">
  53667. </bits>
  53668. <bits access="rw" name="write_fill_priority_9_16ths" pos="7:4" rst="0">
  53669. </bits>
  53670. <bits access="rw" name="write_fill_priority_10_16ths" pos="11:8" rst="0">
  53671. </bits>
  53672. <bits access="rw" name="write_fill_priority_11_16ths" pos="15:12" rst="0">
  53673. </bits>
  53674. <bits access="rw" name="write_fill_priority_12_16ths" pos="19:16" rst="0">
  53675. </bits>
  53676. <bits access="rw" name="write_fill_priority_13_16ths" pos="23:20" rst="0">
  53677. </bits>
  53678. <bits access="rw" name="write_fill_priority_14_16ths" pos="27:24" rst="0">
  53679. </bits>
  53680. <bits access="rw" name="write_fill_priority_15_16ths" pos="31:28" rst="0">
  53681. </bits>
  53682. </reg>
  53683. <reg name="read_priority_control" protect="rw">
  53684. <bits access="rw" name="read_escalation" pos="0" rst="0">
  53685. <options>
  53686. <option name="disable" value="0"/>
  53687. <option name="enable" value="1"/>
  53688. </options>
  53689. </bits>
  53690. <bits access="rw" name="read_in_burst_prioritisation" pos="1" rst="1">
  53691. <options>
  53692. <option name="disable" value="0"/>
  53693. <option name="enable" value="1"/>
  53694. </options>
  53695. </bits>
  53696. <bits access="rw" name="read_fill_priority_1_16ths" pos="7:4" rst="0">
  53697. </bits>
  53698. <bits access="rw" name="read_fill_priority_2_16ths" pos="11:8" rst="0">
  53699. </bits>
  53700. <bits access="rw" name="read_fill_priority_3_16ths" pos="15:12" rst="0">
  53701. </bits>
  53702. <bits access="rw" name="read_fill_priority_4_16ths" pos="19:16" rst="0">
  53703. </bits>
  53704. <bits access="rw" name="read_fill_priority_5_16ths" pos="23:20" rst="0">
  53705. </bits>
  53706. <bits access="rw" name="read_fill_priority_6_16ths" pos="27:24" rst="0">
  53707. </bits>
  53708. <bits access="rw" name="read_fill_priority_7_16ths" pos="31:28" rst="0">
  53709. </bits>
  53710. </reg>
  53711. <reg name="read_priority_control2" protect="rw">
  53712. <bits access="rw" name="read_fill_priority_8_16ths" pos="3:0" rst="0">
  53713. </bits>
  53714. <bits access="rw" name="read_fill_priority_9_16ths" pos="7:4" rst="0">
  53715. </bits>
  53716. <bits access="rw" name="read_fill_priority_10_16ths" pos="11:8" rst="0">
  53717. </bits>
  53718. <bits access="rw" name="read_fill_priority_11_16ths" pos="15:12" rst="0">
  53719. </bits>
  53720. <bits access="rw" name="read_fill_priority_12_16ths" pos="19:16" rst="0">
  53721. </bits>
  53722. <bits access="rw" name="read_fill_priority_13_16ths" pos="23:20" rst="0">
  53723. </bits>
  53724. <bits access="rw" name="read_fill_priority_14_16ths" pos="27:24" rst="0">
  53725. </bits>
  53726. <bits access="rw" name="read_fill_priority_15_16ths" pos="31:28" rst="0">
  53727. </bits>
  53728. </reg>
  53729. <reg name="access_address_match" protect="rw">
  53730. <bits access="rw" name="access_address_match" pos="31:12" rst="0">
  53731. </bits>
  53732. </reg>
  53733. <hole size="(1)*32"/>
  53734. <reg name="access_address_mask" protect="rw">
  53735. <bits access="rw" name="access_address_mask" pos="31:12" rst="0">
  53736. </bits>
  53737. </reg>
  53738. <hole size="(23)*32"/>
  53739. <reg name="channel_status" protect="r">
  53740. <bits access="r" name="m0_state" pos="3:0" rst="1">
  53741. <options>
  53742. <option name="standby" value="0"/>
  53743. <option name="dpd" value="1"/>
  53744. <option name="idle" value="2"/>
  53745. <option name="self_refresh" value="3"/>
  53746. <option name="reading" value="4"/>
  53747. <option name="power_down" value="5"/>
  53748. <option name="writing" value="6"/>
  53749. </options>
  53750. </bits>
  53751. <bits access="r" name="m1_state" pos="7:4" rst="0">
  53752. <options>
  53753. <option name="standby" value="0"/>
  53754. <option name="dpd" value="1"/>
  53755. <option name="idle" value="2"/>
  53756. <option name="self_refresh" value="3"/>
  53757. <option name="reading" value="4"/>
  53758. <option name="power_down" value="5"/>
  53759. <option name="writing" value="6"/>
  53760. </options>
  53761. </bits>
  53762. </reg>
  53763. <hole size="(1)*32"/>
  53764. <reg name="direct_cmd" protect="w">
  53765. <bits access="w" name="direct_addr" pos="15:0" rst="0">
  53766. </bits>
  53767. <bits access="w" name="direct_ba" pos="18:16" rst="0">
  53768. </bits>
  53769. <bits access="w" name="chip_addr" pos="20" rst="0">
  53770. <options>
  53771. <option name="chip_0" value="0"/>
  53772. <option name="chip_1" value="1"/>
  53773. </options>
  53774. </bits>
  53775. <bits access="w" name="channel_addr" pos="24" rst="0">
  53776. <options>
  53777. <option name="channel_0" value="0"/>
  53778. <option name="channel_1" value="1"/>
  53779. </options>
  53780. </bits>
  53781. <bits access="w" name="direct_cmd" pos="31:28" rst="0">
  53782. <options>
  53783. <option name="nop" value="0"/>
  53784. <option name="mrs" value="1"/>
  53785. <option name="prechargeall" value="2"/>
  53786. <option name="autorefresh" value="3"/>
  53787. <option name="selfrefresh_entry" value="4"/>
  53788. <option name="zqc" value="5"/>
  53789. <option name="mrr" value="6"/>
  53790. <option name="powerdown_entry" value="7"/>
  53791. <option name="deep_powerdown_entry" value="8"/>
  53792. </options>
  53793. </bits>
  53794. </reg>
  53795. <hole size="(1)*32"/>
  53796. <reg name="mr_data" protect="r">
  53797. <bits access="r" name="mr_data" pos="7:0" rst="0">
  53798. </bits>
  53799. </reg>
  53800. <hole size="(3)*32"/>
  53801. <reg name="refresh_control" protect="rw">
  53802. <bits access="rw" name="per_bank_refresh" pos="0" rst="0">
  53803. <options>
  53804. <option name="all_bank_autorefresh" value="0"/>
  53805. <option name="pre_bank_autorefresh" value="1"/>
  53806. </options>
  53807. </bits>
  53808. </reg>
  53809. <hole size="(55)*32"/>
  53810. <reg name="t_refi" protect="rw">
  53811. <bits access="rw" name="t_refi" pos="10:0" rst="0x100">
  53812. </bits>
  53813. </reg>
  53814. <reg name="t_rfc" protect="rw">
  53815. <bits access="rw" name="t_rfc" pos="8:0" rst="0x23">
  53816. </bits>
  53817. <bits access="rw" name="t_rfcab" pos="24:16" rst="0x23">
  53818. </bits>
  53819. </reg>
  53820. <reg name="t_mrr" protect="rw">
  53821. <bits access="rw" name="t_mrr" pos="2:0" rst="2">
  53822. </bits>
  53823. </reg>
  53824. <reg name="t_mrw" protect="rw">
  53825. <bits access="rw" name="t_mrw" pos="6:0" rst="2">
  53826. </bits>
  53827. </reg>
  53828. <hole size="(2)*32"/>
  53829. <reg name="t_rcd" protect="rw">
  53830. <bits access="rw" name="t_rcd" pos="3:0" rst="5">
  53831. </bits>
  53832. </reg>
  53833. <reg name="t_ras" protect="rw">
  53834. <bits access="rw" name="t_ras" pos="5:0" rst="0xe">
  53835. </bits>
  53836. </reg>
  53837. <reg name="t_rp" protect="rw">
  53838. <bits access="rw" name="t_rp" pos="4:0" rst="5">
  53839. </bits>
  53840. </reg>
  53841. <reg name="t_rpall" protect="rw">
  53842. <bits access="rw" name="t_rpall" pos="4:0" rst="5">
  53843. </bits>
  53844. </reg>
  53845. <reg name="t_rrd" protect="rw">
  53846. <bits access="rw" name="t_rrd" pos="3:0" rst="4">
  53847. </bits>
  53848. </reg>
  53849. <reg name="t_faw" protect="rw">
  53850. <bits access="rw" name="t_faw" pos="5:0" rst="0x14">
  53851. </bits>
  53852. </reg>
  53853. <reg name="read_latency" protect="rw">
  53854. <bits access="rw" name="read_latency" pos="3:0" rst="5">
  53855. </bits>
  53856. </reg>
  53857. <reg name="t_rtr" protect="rw">
  53858. <bits access="rw" name="t_rtr" pos="3:0" rst="4">
  53859. </bits>
  53860. </reg>
  53861. <reg name="t_rtw" protect="rw">
  53862. <bits access="rw" name="t_rtw" pos="4:0" rst="6">
  53863. </bits>
  53864. </reg>
  53865. <reg name="t_rtp" protect="rw">
  53866. <bits access="rw" name="t_rtp" pos="3:0" rst="0">
  53867. </bits>
  53868. </reg>
  53869. <reg name="write_latency" protect="rw">
  53870. <bits access="rw" name="write_latency" pos="3:0" rst="4">
  53871. </bits>
  53872. </reg>
  53873. <reg name="t_wr" protect="rw">
  53874. <bits access="rw" name="t_wr" pos="4:0" rst="5">
  53875. </bits>
  53876. </reg>
  53877. <reg name="t_wtr" protect="rw">
  53878. <bits access="rw" name="t_wtr" pos="4:0" rst="4">
  53879. </bits>
  53880. <bits access="rw" name="t_wtr_cs" pos="20:16" rst="4">
  53881. </bits>
  53882. </reg>
  53883. <reg name="t_wtw" protect="rw">
  53884. <bits access="rw" name="t_wtw" pos="21:16" rst="4">
  53885. </bits>
  53886. </reg>
  53887. <reg name="t_eckd" protect="rw">
  53888. <bits access="rw" name="t_eckd" pos="3:0" rst="5">
  53889. </bits>
  53890. </reg>
  53891. <reg name="t_xckd" protect="rw">
  53892. <bits access="rw" name="t_xckd" pos="3:0" rst="5">
  53893. </bits>
  53894. </reg>
  53895. <reg name="t_ep" protect="rw">
  53896. <bits access="rw" name="t_ep" pos="3:0" rst="2">
  53897. </bits>
  53898. </reg>
  53899. <reg name="t_xp" protect="rw">
  53900. <bits access="rw" name="t_xp" pos="4:0" rst="2">
  53901. </bits>
  53902. <bits access="rw" name="t_xpdll" pos="20:16" rst="2">
  53903. </bits>
  53904. </reg>
  53905. <reg name="t_esr" protect="rw">
  53906. <bits access="rw" name="t_esr" pos="8:0" rst="0xe">
  53907. </bits>
  53908. </reg>
  53909. <reg name="t_xsr" protect="rw">
  53910. <bits access="rw" name="t_xsr" pos="9:0" rst="0x100">
  53911. </bits>
  53912. <bits access="rw" name="t_xsrdll" pos="25:16" rst="0x100">
  53913. </bits>
  53914. </reg>
  53915. <reg name="t_srckd" protect="rw">
  53916. <bits access="rw" name="t_srckd" pos="3:0" rst="5">
  53917. </bits>
  53918. </reg>
  53919. <reg name="t_cksrd" protect="rw">
  53920. <bits access="rw" name="t_cksrd" pos="3:0" rst="5">
  53921. </bits>
  53922. </reg>
  53923. <hole size="(36)*32"/>
  53924. <reg name="t_rddata_en" protect="rw">
  53925. <bits access="rw" name="t_rddata_en" pos="3:0" rst="1">
  53926. </bits>
  53927. </reg>
  53928. <reg name="t_phywrlat" protect="rw">
  53929. <bits access="rw" name="t_phywrlat" pos="3:0" rst="1">
  53930. </bits>
  53931. <bits access="rw" name="t_phywrdata" pos="8" rst="1">
  53932. </bits>
  53933. </reg>
  53934. <reg name="rdlvl_control" protect="rw">
  53935. <bits access="rw" name="rdlvl_mode" pos="1:0" rst="0">
  53936. <options>
  53937. <option name="no_training" value="0"/>
  53938. <option name="phy_independent_mode" value="1"/>
  53939. <option name="phy_evaluation_mode" value="2"/>
  53940. </options>
  53941. </bits>
  53942. <bits access="rw" name="rdlvl_setup" pos="4" rst="0">
  53943. <options>
  53944. <option name="mrs_prior_train" value="0"/>
  53945. <option name="nop_prior_train" value="1"/>
  53946. </options>
  53947. </bits>
  53948. <bits access="rw" name="rdlvl_cmd" pos="8" rst="0">
  53949. <options>
  53950. <option name="read_for_train" value="0"/>
  53951. <option name="mrr_for_train" value="1"/>
  53952. </options>
  53953. </bits>
  53954. <bits access="rw" name="rdlvl_refresh" pos="12" rst="1">
  53955. <options>
  53956. <option name="prechargeall_prior_train" value="0"/>
  53957. <option name="prechargeall_autorefresh_prior_train" value="1"/>
  53958. </options>
  53959. </bits>
  53960. <bits access="rw" name="rdlvl_reg_sel" pos="16" rst="0">
  53961. <options>
  53962. <option name="mr32_for_train" value="0"/>
  53963. <option name="mr40_for_train" value="1"/>
  53964. </options>
  53965. </bits>
  53966. </reg>
  53967. <reg name="rdlvl_mrs" protect="rw">
  53968. <bits access="rw" name="rdlvl_mrs" pos="2:0" rst="4">
  53969. </bits>
  53970. </reg>
  53971. <reg name="rdlvl_direct" protect="w">
  53972. <bits access="w" name="rdlvl_req" pos="1:0" rst="0">
  53973. <options>
  53974. <option name="read_eye_train" value="1"/>
  53975. <option name="read_gate_train" value="2"/>
  53976. </options>
  53977. </bits>
  53978. <bits access="w" name="rdlvl_chip_addr" pos="24" rst="0">
  53979. <options>
  53980. <option name="chip_0" value="0"/>
  53981. <option name="chip_1" value="1"/>
  53982. </options>
  53983. </bits>
  53984. <bits access="w" name="rdlvl_channel_addr" pos="28" rst="0">
  53985. <options>
  53986. <option name="channel_0" value="0"/>
  53987. <option name="channel_1" value="1"/>
  53988. </options>
  53989. </bits>
  53990. </reg>
  53991. <hole size="(1)*32"/>
  53992. <reg name="t_rdlvl_en" protect="rw">
  53993. <bits access="rw" name="t_rdlvl_en" pos="5:0" rst="1">
  53994. </bits>
  53995. </reg>
  53996. <reg name="t_rdlvl_rr" protect="rw">
  53997. <bits access="rw" name="t_rdlvl_rr" pos="5:0" rst="4">
  53998. </bits>
  53999. </reg>
  54000. <hole size="(2)*32"/>
  54001. <reg name="wrlvl_control" protect="rw">
  54002. <bits access="rw" name="wrlvl_mode" pos="1:0" rst="0">
  54003. <options>
  54004. <option name="no_training" value="0"/>
  54005. <option name="phy_independent_mode" value="1"/>
  54006. <option name="phy_evaluation_mode" value="2"/>
  54007. </options>
  54008. </bits>
  54009. <bits access="rw" name="wrlvl_refresh" pos="12" rst="1">
  54010. <options>
  54011. <option name="prechargeall_prior_train" value="0"/>
  54012. <option name="prechargeall_autorefresh_prior_train" value="1"/>
  54013. </options>
  54014. </bits>
  54015. </reg>
  54016. <reg name="wrlvl_mrs" protect="rw">
  54017. <bits access="rw" name="wrlvl_mrs" pos="12:0" rst="0x86">
  54018. </bits>
  54019. </reg>
  54020. <reg name="wrlvl_direct" protect="w">
  54021. <bits access="w" name="wrlvl_req" pos="0" rst="0">
  54022. </bits>
  54023. <bits access="w" name="wrlvl_chip_addr" pos="24" rst="0">
  54024. <options>
  54025. <option name="chip_0" value="0"/>
  54026. <option name="chip_1" value="1"/>
  54027. </options>
  54028. </bits>
  54029. <bits access="w" name="wrlvl_channel_addr" pos="28" rst="0">
  54030. <options>
  54031. <option name="channel_0" value="0"/>
  54032. <option name="channel_1" value="1"/>
  54033. </options>
  54034. </bits>
  54035. </reg>
  54036. <hole size="(1)*32"/>
  54037. <reg name="t_wrlvl_en" protect="rw">
  54038. <bits access="rw" name="t_wrlvl_en" pos="5:0" rst="1">
  54039. </bits>
  54040. </reg>
  54041. <reg name="t_wrlvl_ww" protect="rw">
  54042. <bits access="rw" name="t_wrlvl_ww" pos="5:0" rst="4">
  54043. </bits>
  54044. </reg>
  54045. <hole size="(2)*32"/>
  54046. <reg name="phy_power_control" protect="rw">
  54047. <bits access="rw" name="lp_wr_en" pos="0" rst="0">
  54048. <options>
  54049. <option name="disable" value="0"/>
  54050. <option name="enable" value="1"/>
  54051. </options>
  54052. </bits>
  54053. <bits access="rw" name="lp_rd_en" pos="1" rst="0">
  54054. <options>
  54055. <option name="disable" value="0"/>
  54056. <option name="enable" value="1"/>
  54057. </options>
  54058. </bits>
  54059. <bits access="rw" name="lp_idle_en" pos="2" rst="0">
  54060. <options>
  54061. <option name="disable" value="0"/>
  54062. <option name="enable" value="1"/>
  54063. </options>
  54064. </bits>
  54065. <bits access="rw" name="lp_pd_en" pos="3" rst="0">
  54066. <options>
  54067. <option name="disable" value="0"/>
  54068. <option name="enable" value="1"/>
  54069. </options>
  54070. </bits>
  54071. <bits access="rw" name="lp_sref_en" pos="4" rst="0">
  54072. <options>
  54073. <option name="disable" value="0"/>
  54074. <option name="enable" value="1"/>
  54075. </options>
  54076. </bits>
  54077. <bits access="rw" name="lp_dpd_en" pos="5" rst="0">
  54078. <options>
  54079. <option name="disable" value="0"/>
  54080. <option name="enable" value="1"/>
  54081. </options>
  54082. </bits>
  54083. <bits access="rw" name="lp_wakeup_wr" pos="11:8" rst="0">
  54084. </bits>
  54085. <bits access="rw" name="lp_wakeup_rd" pos="15:12" rst="0">
  54086. </bits>
  54087. <bits access="rw" name="lp_wakeup_idle" pos="19:16" rst="0">
  54088. </bits>
  54089. <bits access="rw" name="lp_wakeup_pd" pos="23:20" rst="0">
  54090. </bits>
  54091. <bits access="rw" name="lp_wakeup_sref" pos="27:24" rst="0">
  54092. </bits>
  54093. <bits access="rw" name="lp_wakeup_dpd" pos="31:28" rst="0">
  54094. </bits>
  54095. </reg>
  54096. <hole size="(1)*32"/>
  54097. <reg name="phy_update_control" protect="rw">
  54098. <bits access="rw" name="phyupd_type_00" pos="1:0" rst="0">
  54099. <options>
  54100. <option name="sref" value="0"/>
  54101. <option name="stall" value="1"/>
  54102. <option name="refnstall" value="2"/>
  54103. <option name="defer" value="3"/>
  54104. </options>
  54105. </bits>
  54106. <bits access="rw" name="phyupd_type_01" pos="3:2" rst="0">
  54107. <options>
  54108. <option name="sref" value="0"/>
  54109. <option name="stall" value="1"/>
  54110. <option name="refnstall" value="2"/>
  54111. <option name="defer" value="3"/>
  54112. </options>
  54113. </bits>
  54114. <bits access="rw" name="phyupd_type_10" pos="5:4" rst="0">
  54115. <options>
  54116. <option name="sref" value="0"/>
  54117. <option name="stall" value="1"/>
  54118. <option name="refnstall" value="2"/>
  54119. <option name="defer" value="3"/>
  54120. </options>
  54121. </bits>
  54122. <bits access="rw" name="phyupd_type_11" pos="7:6" rst="0">
  54123. <options>
  54124. <option name="sref" value="0"/>
  54125. <option name="stall" value="1"/>
  54126. <option name="refnstall" value="2"/>
  54127. <option name="defer" value="3"/>
  54128. </options>
  54129. </bits>
  54130. </reg>
  54131. <hole size="(43)*32"/>
  54132. <reg name="user_status" protect="r">
  54133. <bits access="r" name="user_status" pos="7:0" rst="0">
  54134. </bits>
  54135. </reg>
  54136. <reg name="user_config0" protect="rw">
  54137. <bits access="rw" name="user_config0" pos="7:0" rst="0">
  54138. </bits>
  54139. </reg>
  54140. <reg name="user_config1" protect="rw">
  54141. <bits access="rw" name="user_config1" pos="7:0" rst="0">
  54142. </bits>
  54143. </reg>
  54144. <hole size="(637)*32"/>
  54145. <reg name="integ_cfg" protect="rw">
  54146. <bits access="rw" name="integ_test_en" pos="0" rst="0">
  54147. </bits>
  54148. </reg>
  54149. <hole size="(1)*32"/>
  54150. <reg name="integ_outputs" protect="w">
  54151. <bits access="w" name="combined_integ" pos="0" rst="0">
  54152. </bits>
  54153. <bits access="w" name="ecc_sec_integ" pos="1" rst="0">
  54154. </bits>
  54155. <bits access="w" name="ecc_ded_integ" pos="2" rst="0">
  54156. </bits>
  54157. <bits access="w" name="ecc_overflow_integ" pos="3" rst="0">
  54158. </bits>
  54159. </reg>
  54160. <hole size="(117)*32"/>
  54161. <reg name="periph_id_0" protect="r">
  54162. <bits access="r" name="part_0" pos="7:0" rst="0x40">
  54163. </bits>
  54164. </reg>
  54165. <reg name="periph_id_1" protect="r">
  54166. <bits access="r" name="part_1" pos="3:0" rst="4">
  54167. </bits>
  54168. <bits access="r" name="des_0" pos="7:4" rst="0xb">
  54169. </bits>
  54170. </reg>
  54171. <reg name="periph_id_2" protect="r">
  54172. <bits access="r" name="des_1" pos="2:0" rst="3">
  54173. </bits>
  54174. <bits access="r" name="jedec" pos="3" rst="1">
  54175. </bits>
  54176. <bits access="r" name="revision" pos="7:4" rst="1">
  54177. </bits>
  54178. </reg>
  54179. <reg name="periph_id_3" protect="r">
  54180. <bits access="r" name="cmod" pos="7:0" rst="0">
  54181. </bits>
  54182. </reg>
  54183. <reg name="component_id_0" protect="r">
  54184. <bits access="r" name="prmbl_0" pos="7:0" rst="0xd">
  54185. </bits>
  54186. </reg>
  54187. <reg name="component_id_1" protect="r">
  54188. <bits access="r" name="prmbl_1" pos="3:0" rst="0">
  54189. </bits>
  54190. <bits access="r" name="pclass" pos="7:4" rst="0xf">
  54191. </bits>
  54192. </reg>
  54193. <reg name="component_id_2" protect="r">
  54194. <bits access="r" name="prmbl_2" pos="7:0" rst="5">
  54195. </bits>
  54196. </reg>
  54197. <reg name="component_id_3" protect="r">
  54198. <bits access="r" name="prmbl_3" pos="7:0" rst="0xb1">
  54199. </bits>
  54200. </reg>
  54201. </module>
  54202. </archive>
  54203. <archive relative="lpddr_phy.xml">
  54204. <module category="Periph" name="LPDDR_PHY">
  54205. <reg name="lpddr_rf_cfg_phy" protect="rw">
  54206. <bits access="rw" name="rf_phy_init_complete" pos="1" rst="0">
  54207. </bits>
  54208. <bits access="rw" name="rf_phy_en" pos="0" rst="0">
  54209. </bits>
  54210. </reg>
  54211. <reg name="lpddr_rf_cfg_clock_gate" protect="rw">
  54212. <bits access="rw" name="rf_clk_gate_ag_rd_en" pos="4" rst="0">
  54213. </bits>
  54214. <bits access="rw" name="rf_clk_gate_ag_wr_en" pos="3" rst="0">
  54215. </bits>
  54216. <bits access="rw" name="rf_clk_gate_ag_en" pos="2" rst="0">
  54217. </bits>
  54218. <bits access="rw" name="rf_clk_gate_fg_en" pos="1" rst="0">
  54219. </bits>
  54220. <bits access="rw" name="rf_clk_gate_en" pos="0" rst="0">
  54221. </bits>
  54222. </reg>
  54223. <reg name="lpddr_rf_cfg_sample_resync" protect="rw">
  54224. <bits access="rw" name="rf_data_resync_sel" pos="31:16" rst="0">
  54225. </bits>
  54226. <bits access="rw" name="rf_sample_resync_auto_en" pos="1" rst="0">
  54227. </bits>
  54228. <bits access="rw" name="rf_sample_resync" pos="0" rst="0">
  54229. </bits>
  54230. </reg>
  54231. <reg name="lpddr_rf_cfg_lpi" protect="rw">
  54232. <bits access="rw" name="rf_cwakeup_s0" pos="2" rst="0">
  54233. </bits>
  54234. <bits access="rw" name="rf_cwakeup_m0" pos="1" rst="0">
  54235. </bits>
  54236. <bits access="rw" name="rf_lpi_sel_m0" pos="0" rst="0">
  54237. </bits>
  54238. </reg>
  54239. <hole size="1920"/>
  54240. <reg name="lpddr_rf_cfg_ext" protect="rw">
  54241. <bits access="rw" name="rf_data_resync_ext" pos="23:20" rst="0">
  54242. </bits>
  54243. <bits access="rw" name="rf_dqs_gate_ext" pos="19:16" rst="0">
  54244. </bits>
  54245. <bits access="rw" name="rf_dqs_ie_ext" pos="15:12" rst="0">
  54246. </bits>
  54247. <bits access="rw" name="rf_dqs_oe_ext" pos="11:8" rst="0">
  54248. </bits>
  54249. <bits access="rw" name="rf_data_ie_ext" pos="7:4" rst="0">
  54250. </bits>
  54251. <bits access="rw" name="rf_data_oe_ext" pos="3:0" rst="0">
  54252. </bits>
  54253. </reg>
  54254. <hole size="2016"/>
  54255. <reg name="lpddr_rfdll_cfg_dll" protect="rw">
  54256. <bits access="w" name="rfdll_reset" pos="0" rst="0">
  54257. </bits>
  54258. </reg>
  54259. <reg name="lpddr_rfdll_status_cpst_idle" protect="r">
  54260. <bits access="r" name="rfdl_cpst_st_idle_ds1" pos="2" rst="1">
  54261. </bits>
  54262. <bits access="r" name="rfdl_cpst_st_idle_ds0" pos="1" rst="1">
  54263. </bits>
  54264. <bits access="r" name="rfdl_cpst_st_idle_ac" pos="0" rst="1">
  54265. </bits>
  54266. </reg>
  54267. <reg name="lpddr_rf_cfg_dll_ac" protect="rw">
  54268. <bits access="rw" name="rf_dll_lock_wait_ac" pos="31:28" rst="0">
  54269. </bits>
  54270. <bits access="rw" name="rf_dll_auto_err_clr_en_ac" pos="27" rst="0">
  54271. </bits>
  54272. <bits access="rw" name="rf_dll_pd_cnt_ac" pos="26:24" rst="0">
  54273. </bits>
  54274. <bits access="rw" name="rf_dl_cpst_thr_ac" pos="23:16" rst="0">
  54275. </bits>
  54276. <bits access="rw" name="rf_dll_en_ac" pos="15" rst="0">
  54277. </bits>
  54278. <bits access="rw" name="rf_dll_clk_sel_ac" pos="14" rst="0">
  54279. </bits>
  54280. <bits access="w" name="rf_dll_err_clr_ac" pos="13" rst="0">
  54281. </bits>
  54282. <bits access="rw" name="rf_dl_cpst_auto_ref_en_ac" pos="12" rst="0">
  54283. </bits>
  54284. <bits access="rw" name="rf_dl_cpst_start_ac" pos="11" rst="0">
  54285. </bits>
  54286. <bits access="rw" name="rf_dl_cpst_en_ac" pos="10" rst="0">
  54287. </bits>
  54288. <bits access="rw" name="rf_dll_auto_clr_en_ac" pos="9" rst="0">
  54289. </bits>
  54290. <bits access="rw" name="rf_dll_clr_ac" pos="8" rst="0">
  54291. </bits>
  54292. </reg>
  54293. <reg name="lpddr_rfdll_status_dll_ac" protect="r">
  54294. <bits access="r" name="rfdll_error_ac" pos="29" rst="0">
  54295. </bits>
  54296. <bits access="r" name="rfdll_locked_ac" pos="28" rst="0">
  54297. </bits>
  54298. <bits access="r" name="rfdll_st_ac" pos="27:25" rst="0">
  54299. </bits>
  54300. <bits access="r" name="rfdl_cpst_st_ac" pos="24" rst="0">
  54301. </bits>
  54302. <bits access="r" name="rfdll_cnt_ac" pos="6:0" rst="0">
  54303. </bits>
  54304. </reg>
  54305. <reg name="lpddr_rf_cfg_dll_dl_0_wr_ac" protect="rw">
  54306. <bits access="rw" name="rf_clkwr_dl_cpst_en_ac" pos="31" rst="0">
  54307. </bits>
  54308. <bits access="rw" name="rf_clkwr_dl_cpst_minus_ac" pos="30" rst="0">
  54309. </bits>
  54310. <bits access="rw" name="rf_clkwr_qtr_dl_cpst_offset_ac" pos="29:28" rst="0">
  54311. </bits>
  54312. <bits access="r" name="rfdl_clkwr_qtr_cnt_ac" pos="27:26" rst="0">
  54313. </bits>
  54314. <bits access="rw" name="rf_clkwr_qtr_dl_sel_ac" pos="25:24" rst="0">
  54315. </bits>
  54316. <bits access="rw" name="rf_clkwr_raw_dl_cpst_offset_ac" pos="22:16" rst="0">
  54317. </bits>
  54318. <bits access="r" name="rfdl_clkwr_raw_cnt_ac" pos="14:8" rst="0">
  54319. </bits>
  54320. <bits access="rw" name="rf_clkwr_raw_dl_sel_ac" pos="6:0" rst="0">
  54321. </bits>
  54322. </reg>
  54323. <reg name="lpddr_rf_cfg_dll_dl_1_wr_ac" protect="rw">
  54324. <bits access="rw" name="rf_dly_out_a3_dl_sel" pos="28:24" rst="0">
  54325. </bits>
  54326. <bits access="rw" name="rf_dly_out_a2_dl_sel" pos="20:16" rst="0">
  54327. </bits>
  54328. <bits access="rw" name="rf_dly_out_a1_dl_sel" pos="12:8" rst="0">
  54329. </bits>
  54330. <bits access="rw" name="rf_dly_out_a0_dl_sel" pos="4:0" rst="0">
  54331. </bits>
  54332. </reg>
  54333. <reg name="lpddr_rf_cfg_dll_dl_2_wr_ac" protect="rw">
  54334. <bits access="rw" name="rf_dly_out_a7_dl_sel" pos="28:24" rst="0">
  54335. </bits>
  54336. <bits access="rw" name="rf_dly_out_a6_dl_sel" pos="20:16" rst="0">
  54337. </bits>
  54338. <bits access="rw" name="rf_dly_out_a5_dl_sel" pos="12:8" rst="0">
  54339. </bits>
  54340. <bits access="rw" name="rf_dly_out_a4_dl_sel" pos="4:0" rst="0">
  54341. </bits>
  54342. </reg>
  54343. <reg name="lpddr_rf_cfg_dll_dl_3_wr_ac" protect="rw">
  54344. <bits access="rw" name="rf_dly_out_a9_dl_sel" pos="12:8" rst="0">
  54345. </bits>
  54346. <bits access="rw" name="rf_dly_out_a8_dl_sel" pos="4:0" rst="0">
  54347. </bits>
  54348. </reg>
  54349. <reg name="lpddr_rf_cfg_dll_dl_4_wr_ac" protect="rw">
  54350. <bits access="rw" name="rf_dly_out_clk_dl_sel" pos="28:24" rst="0">
  54351. </bits>
  54352. <bits access="rw" name="rf_dly_out_cke_dl_sel" pos="20:16" rst="0">
  54353. </bits>
  54354. <bits access="rw" name="rf_dly_out_csn_dl_sel" pos="4:0" rst="0">
  54355. </bits>
  54356. </reg>
  54357. <reg name="lpddr_rfdll_status_max_cnt_ac" protect="r">
  54358. <bits access="r" name="rfdll_max_cnt_f3_ac" pos="30:24" rst="0">
  54359. </bits>
  54360. <bits access="r" name="rfdll_max_cnt_f2_ac" pos="22:16" rst="0">
  54361. </bits>
  54362. <bits access="r" name="rfdll_max_cnt_f1_ac" pos="14:8" rst="0">
  54363. </bits>
  54364. <bits access="r" name="rfdll_max_cnt_f0_ac" pos="6:0" rst="0">
  54365. </bits>
  54366. </reg>
  54367. <reg name="lpddr_rfdll_status_min_cnt_ac" protect="r">
  54368. <bits access="r" name="rfdll_min_cnt_f3_ac" pos="30:24" rst="127">
  54369. </bits>
  54370. <bits access="r" name="rfdll_min_cnt_f2_ac" pos="22:16" rst="127">
  54371. </bits>
  54372. <bits access="r" name="rfdll_min_cnt_f1_ac" pos="14:8" rst="127">
  54373. </bits>
  54374. <bits access="r" name="rfdll_min_cnt_f0_ac" pos="6:0" rst="127">
  54375. </bits>
  54376. </reg>
  54377. <reg name="lpddr_rf_cfg_phy_iomux_sel_wr_ac" protect="rw">
  54378. <bits access="rw" name="rf_phy_io_cke1_sel_ac" pos="21" rst="0">
  54379. </bits>
  54380. <bits access="rw" name="rf_phy_io_cke0_sel_ac" pos="20" rst="0">
  54381. </bits>
  54382. <bits access="rw" name="rf_phy_io_csn_sel_ac" pos="16" rst="0">
  54383. </bits>
  54384. <bits access="rw" name="rf_phy_io_a9_sel_ac" pos="9" rst="0">
  54385. </bits>
  54386. <bits access="rw" name="rf_phy_io_a8_sel_ac" pos="8" rst="0">
  54387. </bits>
  54388. <bits access="rw" name="rf_phy_io_a7_sel_ac" pos="7" rst="0">
  54389. </bits>
  54390. <bits access="rw" name="rf_phy_io_a6_sel_ac" pos="6" rst="0">
  54391. </bits>
  54392. <bits access="rw" name="rf_phy_io_a5_sel_ac" pos="5" rst="0">
  54393. </bits>
  54394. <bits access="rw" name="rf_phy_io_a4_sel_ac" pos="4" rst="0">
  54395. </bits>
  54396. <bits access="rw" name="rf_phy_io_a3_sel_ac" pos="3" rst="0">
  54397. </bits>
  54398. <bits access="rw" name="rf_phy_io_a2_sel_ac" pos="2" rst="0">
  54399. </bits>
  54400. <bits access="rw" name="rf_phy_io_a1_sel_ac" pos="1" rst="0">
  54401. </bits>
  54402. <bits access="rw" name="rf_phy_io_a0_sel_ac" pos="0" rst="0">
  54403. </bits>
  54404. </reg>
  54405. <reg name="lpddr_rf_cfg_phy_iomux_ie_wr_ac" protect="rw">
  54406. <bits access="rw" name="rf_phy_io_cke1_ie_ac" pos="21" rst="0">
  54407. </bits>
  54408. <bits access="rw" name="rf_phy_io_cke0_ie_ac" pos="20" rst="0">
  54409. </bits>
  54410. <bits access="rw" name="rf_phy_io_csn_ie_ac" pos="16" rst="0">
  54411. </bits>
  54412. <bits access="rw" name="rf_phy_io_a9_ie_ac" pos="9" rst="0">
  54413. </bits>
  54414. <bits access="rw" name="rf_phy_io_a8_ie_ac" pos="8" rst="0">
  54415. </bits>
  54416. <bits access="rw" name="rf_phy_io_a7_ie_ac" pos="7" rst="0">
  54417. </bits>
  54418. <bits access="rw" name="rf_phy_io_a6_ie_ac" pos="6" rst="0">
  54419. </bits>
  54420. <bits access="rw" name="rf_phy_io_a5_ie_ac" pos="5" rst="0">
  54421. </bits>
  54422. <bits access="rw" name="rf_phy_io_a4_ie_ac" pos="4" rst="0">
  54423. </bits>
  54424. <bits access="rw" name="rf_phy_io_a3_ie_ac" pos="3" rst="0">
  54425. </bits>
  54426. <bits access="rw" name="rf_phy_io_a2_ie_ac" pos="2" rst="0">
  54427. </bits>
  54428. <bits access="rw" name="rf_phy_io_a1_ie_ac" pos="1" rst="0">
  54429. </bits>
  54430. <bits access="rw" name="rf_phy_io_a0_ie_ac" pos="0" rst="0">
  54431. </bits>
  54432. </reg>
  54433. <reg name="lpddr_rf_cfg_phy_iomux_oe_wr_ac" protect="rw">
  54434. <bits access="rw" name="rf_phy_io_cke1_oe_ac" pos="21" rst="0">
  54435. </bits>
  54436. <bits access="rw" name="rf_phy_io_cke0_oe_ac" pos="20" rst="0">
  54437. </bits>
  54438. <bits access="rw" name="rf_phy_io_csn_oe_ac" pos="16" rst="0">
  54439. </bits>
  54440. <bits access="rw" name="rf_phy_io_a9_oe_ac" pos="9" rst="0">
  54441. </bits>
  54442. <bits access="rw" name="rf_phy_io_a8_oe_ac" pos="8" rst="0">
  54443. </bits>
  54444. <bits access="rw" name="rf_phy_io_a7_oe_ac" pos="7" rst="0">
  54445. </bits>
  54446. <bits access="rw" name="rf_phy_io_a6_oe_ac" pos="6" rst="0">
  54447. </bits>
  54448. <bits access="rw" name="rf_phy_io_a5_oe_ac" pos="5" rst="0">
  54449. </bits>
  54450. <bits access="rw" name="rf_phy_io_a4_oe_ac" pos="4" rst="0">
  54451. </bits>
  54452. <bits access="rw" name="rf_phy_io_a3_oe_ac" pos="3" rst="0">
  54453. </bits>
  54454. <bits access="rw" name="rf_phy_io_a2_oe_ac" pos="2" rst="0">
  54455. </bits>
  54456. <bits access="rw" name="rf_phy_io_a1_oe_ac" pos="1" rst="0">
  54457. </bits>
  54458. <bits access="rw" name="rf_phy_io_a0_oe_ac" pos="0" rst="0">
  54459. </bits>
  54460. </reg>
  54461. <reg name="lpddr_rf_cfg_phy_iomux_out_wr_ac" protect="rw">
  54462. <bits access="rw" name="rf_phy_io_cke1_out_ac" pos="21" rst="0">
  54463. </bits>
  54464. <bits access="rw" name="rf_phy_io_cke0_out_ac" pos="20" rst="0">
  54465. </bits>
  54466. <bits access="rw" name="rf_phy_io_csn_out_ac" pos="16" rst="0">
  54467. </bits>
  54468. <bits access="rw" name="rf_phy_io_a9_out_ac" pos="9" rst="0">
  54469. </bits>
  54470. <bits access="rw" name="rf_phy_io_a8_out_ac" pos="8" rst="0">
  54471. </bits>
  54472. <bits access="rw" name="rf_phy_io_a7_out_ac" pos="7" rst="0">
  54473. </bits>
  54474. <bits access="rw" name="rf_phy_io_a6_out_ac" pos="6" rst="0">
  54475. </bits>
  54476. <bits access="rw" name="rf_phy_io_a5_out_ac" pos="5" rst="0">
  54477. </bits>
  54478. <bits access="rw" name="rf_phy_io_a4_out_ac" pos="4" rst="0">
  54479. </bits>
  54480. <bits access="rw" name="rf_phy_io_a3_out_ac" pos="3" rst="0">
  54481. </bits>
  54482. <bits access="rw" name="rf_phy_io_a2_out_ac" pos="2" rst="0">
  54483. </bits>
  54484. <bits access="rw" name="rf_phy_io_a1_out_ac" pos="1" rst="0">
  54485. </bits>
  54486. <bits access="rw" name="rf_phy_io_a0_out_ac" pos="0" rst="0">
  54487. </bits>
  54488. </reg>
  54489. <reg name="lpddr_rf_cfg_dll_ds0" protect="rw">
  54490. <bits access="rw" name="rf_dll_lock_wait_ds0" pos="31:28" rst="0">
  54491. </bits>
  54492. <bits access="rw" name="rf_dll_auto_err_clr_en_ds0" pos="27" rst="0">
  54493. </bits>
  54494. <bits access="rw" name="rf_dll_pd_cnt_ds0" pos="26:24" rst="0">
  54495. </bits>
  54496. <bits access="rw" name="rf_dl_cpst_thr_ds0" pos="23:16" rst="0">
  54497. </bits>
  54498. <bits access="rw" name="rf_dll_en_ds0" pos="15" rst="0">
  54499. </bits>
  54500. <bits access="rw" name="rf_dll_clk_sel_ds0" pos="14" rst="0">
  54501. </bits>
  54502. <bits access="w" name="rf_dll_err_clr_ds0" pos="13" rst="0">
  54503. </bits>
  54504. <bits access="rw" name="rf_dl_cpst_auto_ref_en_ds0" pos="12" rst="0">
  54505. </bits>
  54506. <bits access="rw" name="rf_dl_cpst_start_ds0" pos="11" rst="0">
  54507. </bits>
  54508. <bits access="rw" name="rf_dl_cpst_en_ds0" pos="10" rst="0">
  54509. </bits>
  54510. <bits access="rw" name="rf_dll_auto_clr_en_ds0" pos="9" rst="0">
  54511. </bits>
  54512. <bits access="rw" name="rf_dll_clr_ds0" pos="8" rst="0">
  54513. </bits>
  54514. </reg>
  54515. <reg name="lpddr_rfdll_status_dll_ds0" protect="r">
  54516. <bits access="r" name="rfdll_error_ds0" pos="29" rst="0">
  54517. </bits>
  54518. <bits access="r" name="rfdll_locked_ds0" pos="28" rst="0">
  54519. </bits>
  54520. <bits access="r" name="rfdll_st_ds0" pos="27:25" rst="0">
  54521. </bits>
  54522. <bits access="r" name="rfdl_cpst_st_ds0" pos="24" rst="0">
  54523. </bits>
  54524. <bits access="r" name="rfdll_cnt_ds0" pos="6:0" rst="0">
  54525. </bits>
  54526. </reg>
  54527. <reg name="lpddr_rf_cfg_dll_dl_0_wr_ds0" protect="rw">
  54528. <bits access="rw" name="rf_clkwr_dl_cpst_en_ds0" pos="31" rst="0">
  54529. </bits>
  54530. <bits access="rw" name="rf_clkwr_dl_cpst_minus_ds0" pos="30" rst="0">
  54531. </bits>
  54532. <bits access="rw" name="rf_clkwr_qtr_dl_cpst_offset_ds0" pos="29:28" rst="0">
  54533. </bits>
  54534. <bits access="r" name="rfdl_clkwr_qtr_cnt_ds0" pos="27:26" rst="0">
  54535. </bits>
  54536. <bits access="rw" name="rf_clkwr_qtr_dl_sel_ds0" pos="25:24" rst="0">
  54537. </bits>
  54538. <bits access="rw" name="rf_clkwr_raw_dl_cpst_offset_ds0" pos="22:16" rst="0">
  54539. </bits>
  54540. <bits access="r" name="rfdl_clkwr_raw_cnt_ds0" pos="14:8" rst="0">
  54541. </bits>
  54542. <bits access="rw" name="rf_clkwr_raw_dl_sel_ds0" pos="6:0" rst="0">
  54543. </bits>
  54544. </reg>
  54545. <reg name="lpddr_rf_cfg_dll_dl_1_wr_ds0" protect="rw">
  54546. <bits access="rw" name="rf_dqs_in_pos_dl_cpst_en_ds0" pos="31" rst="0">
  54547. </bits>
  54548. <bits access="rw" name="rf_dqs_in_pos_dl_cpst_minus_ds0" pos="30" rst="0">
  54549. </bits>
  54550. <bits access="rw" name="rf_dqs_in_pos_qtr_dl_cpst_offset_ds0" pos="29:28" rst="0">
  54551. </bits>
  54552. <bits access="r" name="rfdl_dqs_in_pos_qtr_cnt_ds0" pos="27:26" rst="0">
  54553. </bits>
  54554. <bits access="rw" name="rf_dqs_in_pos_qtr_dl_sel_ds0" pos="25:24" rst="0">
  54555. </bits>
  54556. <bits access="rw" name="rf_dqs_in_pos_raw_dl_cpst_offset_ds0" pos="22:16" rst="0">
  54557. </bits>
  54558. <bits access="r" name="rfdl_dqs_in_pos_raw_cnt_ds0" pos="14:8" rst="0">
  54559. </bits>
  54560. <bits access="rw" name="rf_dqs_in_pos_raw_dl_sel_ds0" pos="6:0" rst="0">
  54561. </bits>
  54562. </reg>
  54563. <reg name="lpddr_rf_cfg_dll_dl_2_wr_ds0" protect="rw">
  54564. <bits access="rw" name="rf_dqs_in_neg_dl_cpst_en_ds0" pos="31" rst="0">
  54565. </bits>
  54566. <bits access="rw" name="rf_dqs_in_neg_dl_cpst_minus_ds0" pos="30" rst="0">
  54567. </bits>
  54568. <bits access="rw" name="rf_dqs_in_neg_qtr_dl_cpst_offset_ds0" pos="29:28" rst="0">
  54569. </bits>
  54570. <bits access="r" name="rfdl_dqs_in_neg_qtr_cnt_ds0" pos="27:26" rst="0">
  54571. </bits>
  54572. <bits access="rw" name="rf_dqs_in_neg_qtr_dl_sel_ds0" pos="25:24" rst="0">
  54573. </bits>
  54574. <bits access="rw" name="rf_dqs_in_neg_raw_dl_cpst_offset_ds0" pos="22:16" rst="0">
  54575. </bits>
  54576. <bits access="r" name="rfdl_dqs_in_neg_raw_cnt_ds0" pos="14:8" rst="0">
  54577. </bits>
  54578. <bits access="rw" name="rf_dqs_in_neg_raw_dl_sel_ds0" pos="6:0" rst="0">
  54579. </bits>
  54580. </reg>
  54581. <reg name="lpddr_rf_cfg_dll_dl_3_wr_ds0" protect="rw">
  54582. <bits access="rw" name="rf_dqs_gate_dl_cpst_en_ds0" pos="31" rst="0">
  54583. </bits>
  54584. <bits access="rw" name="rf_dqs_gate_dl_cpst_minus_ds0" pos="30" rst="0">
  54585. </bits>
  54586. <bits access="rw" name="rf_dqs_gate_qtr_dl_cpst_offset_ds0" pos="29:28" rst="0">
  54587. </bits>
  54588. <bits access="r" name="rfdl_dqs_gate_qtr_cnt_ds0" pos="27:26" rst="0">
  54589. </bits>
  54590. <bits access="rw" name="rf_dqs_gate_qtr_dl_sel_ds0" pos="25:24" rst="0">
  54591. </bits>
  54592. <bits access="rw" name="rf_dqs_gate_raw_dl_cpst_offset_ds0" pos="22:16" rst="0">
  54593. </bits>
  54594. <bits access="r" name="rfdl_dqs_gate_raw_cnt_ds0" pos="14:8" rst="0">
  54595. </bits>
  54596. <bits access="rw" name="rf_dqs_gate_raw_dl_sel_ds0" pos="6:0" rst="0">
  54597. </bits>
  54598. </reg>
  54599. <reg name="lpddr_rf_cfg_dll_dl_4_wr_ds0" protect="rw">
  54600. <bits access="rw" name="rf_dly_out_d3_dl_sel_ds0" pos="28:24" rst="0">
  54601. </bits>
  54602. <bits access="rw" name="rf_dly_out_d2_dl_sel_ds0" pos="20:16" rst="0">
  54603. </bits>
  54604. <bits access="rw" name="rf_dly_out_d1_dl_sel_ds0" pos="12:8" rst="0">
  54605. </bits>
  54606. <bits access="rw" name="rf_dly_out_d0_dl_sel_ds0" pos="4:0" rst="0">
  54607. </bits>
  54608. </reg>
  54609. <reg name="lpddr_rf_cfg_dll_dl_5_wr_ds0" protect="rw">
  54610. <bits access="rw" name="rf_dly_out_d7_dl_sel_ds0" pos="28:24" rst="0">
  54611. </bits>
  54612. <bits access="rw" name="rf_dly_out_d6_dl_sel_ds0" pos="20:16" rst="0">
  54613. </bits>
  54614. <bits access="rw" name="rf_dly_out_d5_dl_sel_ds0" pos="12:8" rst="0">
  54615. </bits>
  54616. <bits access="rw" name="rf_dly_out_d4_dl_sel_ds0" pos="4:0" rst="0">
  54617. </bits>
  54618. </reg>
  54619. <reg name="lpddr_rf_cfg_dll_dl_6_wr_ds0" protect="rw">
  54620. <bits access="rw" name="rf_dly_in_d3_dl_sel_ds0" pos="28:24" rst="0">
  54621. </bits>
  54622. <bits access="rw" name="rf_dly_in_d2_dl_sel_ds0" pos="20:16" rst="0">
  54623. </bits>
  54624. <bits access="rw" name="rf_dly_in_d1_dl_sel_ds0" pos="12:8" rst="0">
  54625. </bits>
  54626. <bits access="rw" name="rf_dly_in_d0_dl_sel_ds0" pos="4:0" rst="0">
  54627. </bits>
  54628. </reg>
  54629. <reg name="lpddr_rf_cfg_dll_dl_7_wr_ds0" protect="rw">
  54630. <bits access="rw" name="rf_dly_in_d7_dl_sel_ds0" pos="28:24" rst="0">
  54631. </bits>
  54632. <bits access="rw" name="rf_dly_in_d6_dl_sel_ds0" pos="20:16" rst="0">
  54633. </bits>
  54634. <bits access="rw" name="rf_dly_in_d5_dl_sel_ds0" pos="12:8" rst="0">
  54635. </bits>
  54636. <bits access="rw" name="rf_dly_in_d4_dl_sel_ds0" pos="4:0" rst="0">
  54637. </bits>
  54638. </reg>
  54639. <reg name="lpddr_rf_cfg_dll_dl_8_wr_ds0" protect="rw">
  54640. <bits access="rw" name="rf_dly_in_dqs_dl_sel_ds0" pos="20:16" rst="0">
  54641. </bits>
  54642. <bits access="rw" name="rf_dly_out_dqm_dl_sel_ds0" pos="12:8" rst="0">
  54643. </bits>
  54644. <bits access="rw" name="rf_dly_out_dqs_dl_sel_ds0" pos="4:0" rst="0">
  54645. </bits>
  54646. </reg>
  54647. <reg name="lpddr_rfdll_status_max_cnt_ds0" protect="r">
  54648. <bits access="r" name="rfdll_max_cnt_f3_ds0" pos="30:24" rst="0">
  54649. </bits>
  54650. <bits access="r" name="rfdll_max_cnt_f2_ds0" pos="22:16" rst="0">
  54651. </bits>
  54652. <bits access="r" name="rfdll_max_cnt_f1_ds0" pos="14:8" rst="0">
  54653. </bits>
  54654. <bits access="r" name="rfdll_max_cnt_f0_ds0" pos="6:0" rst="0">
  54655. </bits>
  54656. </reg>
  54657. <reg name="lpddr_rfdll_status_min_cnt_ds0" protect="r">
  54658. <bits access="r" name="rfdll_min_cnt_f3_ds0" pos="30:24" rst="127">
  54659. </bits>
  54660. <bits access="r" name="rfdll_min_cnt_f2_ds0" pos="22:16" rst="127">
  54661. </bits>
  54662. <bits access="r" name="rfdll_min_cnt_f1_ds0" pos="14:8" rst="127">
  54663. </bits>
  54664. <bits access="r" name="rfdll_min_cnt_f0_ds0" pos="6:0" rst="127">
  54665. </bits>
  54666. </reg>
  54667. <reg name="lpddr_rf_cfg_phy_iomux_sel_wr_ds0" protect="rw">
  54668. <bits access="rw" name="rf_phy_io_dqs_sel_ds0" pos="9" rst="0">
  54669. </bits>
  54670. <bits access="rw" name="rf_phy_io_dqm_sel_ds0" pos="8" rst="0">
  54671. </bits>
  54672. <bits access="rw" name="rf_phy_io_d7_sel_ds0" pos="7" rst="0">
  54673. </bits>
  54674. <bits access="rw" name="rf_phy_io_d6_sel_ds0" pos="6" rst="0">
  54675. </bits>
  54676. <bits access="rw" name="rf_phy_io_d5_sel_ds0" pos="5" rst="0">
  54677. </bits>
  54678. <bits access="rw" name="rf_phy_io_d4_sel_ds0" pos="4" rst="0">
  54679. </bits>
  54680. <bits access="rw" name="rf_phy_io_d3_sel_ds0" pos="3" rst="0">
  54681. </bits>
  54682. <bits access="rw" name="rf_phy_io_d2_sel_ds0" pos="2" rst="0">
  54683. </bits>
  54684. <bits access="rw" name="rf_phy_io_d1_sel_ds0" pos="1" rst="0">
  54685. </bits>
  54686. <bits access="rw" name="rf_phy_io_d0_sel_ds0" pos="0" rst="0">
  54687. </bits>
  54688. </reg>
  54689. <reg name="lpddr_rf_cfg_phy_iomux_ie_wr_ds0" protect="rw">
  54690. <bits access="rw" name="rf_phy_io_dqs_ie_ds0" pos="9" rst="0">
  54691. </bits>
  54692. <bits access="rw" name="rf_phy_io_dqm_ie_ds0" pos="8" rst="0">
  54693. </bits>
  54694. <bits access="rw" name="rf_phy_io_d7_ie_ds0" pos="7" rst="0">
  54695. </bits>
  54696. <bits access="rw" name="rf_phy_io_d6_ie_ds0" pos="6" rst="0">
  54697. </bits>
  54698. <bits access="rw" name="rf_phy_io_d5_ie_ds0" pos="5" rst="0">
  54699. </bits>
  54700. <bits access="rw" name="rf_phy_io_d4_ie_ds0" pos="4" rst="0">
  54701. </bits>
  54702. <bits access="rw" name="rf_phy_io_d3_ie_ds0" pos="3" rst="0">
  54703. </bits>
  54704. <bits access="rw" name="rf_phy_io_d2_ie_ds0" pos="2" rst="0">
  54705. </bits>
  54706. <bits access="rw" name="rf_phy_io_d1_ie_ds0" pos="1" rst="0">
  54707. </bits>
  54708. <bits access="rw" name="rf_phy_io_d0_ie_ds0" pos="0" rst="0">
  54709. </bits>
  54710. </reg>
  54711. <reg name="lpddr_rf_cfg_phy_iomux_oe_wr_ds0" protect="rw">
  54712. <bits access="rw" name="rf_phy_io_dqs_oe_ds0" pos="9" rst="0">
  54713. </bits>
  54714. <bits access="rw" name="rf_phy_io_dqm_oe_ds0" pos="8" rst="0">
  54715. </bits>
  54716. <bits access="rw" name="rf_phy_io_d7_oe_ds0" pos="7" rst="0">
  54717. </bits>
  54718. <bits access="rw" name="rf_phy_io_d6_oe_ds0" pos="6" rst="0">
  54719. </bits>
  54720. <bits access="rw" name="rf_phy_io_d5_oe_ds0" pos="5" rst="0">
  54721. </bits>
  54722. <bits access="rw" name="rf_phy_io_d4_oe_ds0" pos="4" rst="0">
  54723. </bits>
  54724. <bits access="rw" name="rf_phy_io_d3_oe_ds0" pos="3" rst="0">
  54725. </bits>
  54726. <bits access="rw" name="rf_phy_io_d2_oe_ds0" pos="2" rst="0">
  54727. </bits>
  54728. <bits access="rw" name="rf_phy_io_d1_oe_ds0" pos="1" rst="0">
  54729. </bits>
  54730. <bits access="rw" name="rf_phy_io_d0_oe_ds0" pos="0" rst="0">
  54731. </bits>
  54732. </reg>
  54733. <reg name="lpddr_rf_cfg_phy_iomux_out_wr_ds0" protect="rw">
  54734. <bits access="rw" name="rf_phy_io_dqs_out_ds0" pos="9" rst="0">
  54735. </bits>
  54736. <bits access="rw" name="rf_phy_io_dqm_out_ds0" pos="8" rst="0">
  54737. </bits>
  54738. <bits access="rw" name="rf_phy_io_d7_out_ds0" pos="7" rst="0">
  54739. </bits>
  54740. <bits access="rw" name="rf_phy_io_d6_out_ds0" pos="6" rst="0">
  54741. </bits>
  54742. <bits access="rw" name="rf_phy_io_d5_out_ds0" pos="5" rst="0">
  54743. </bits>
  54744. <bits access="rw" name="rf_phy_io_d4_out_ds0" pos="4" rst="0">
  54745. </bits>
  54746. <bits access="rw" name="rf_phy_io_d3_out_ds0" pos="3" rst="0">
  54747. </bits>
  54748. <bits access="rw" name="rf_phy_io_d2_out_ds0" pos="2" rst="0">
  54749. </bits>
  54750. <bits access="rw" name="rf_phy_io_d1_out_ds0" pos="1" rst="0">
  54751. </bits>
  54752. <bits access="rw" name="rf_phy_io_d0_out_ds0" pos="0" rst="0">
  54753. </bits>
  54754. </reg>
  54755. <reg name="lpddr_rf_cfg_dll_ds1" protect="rw">
  54756. <bits access="rw" name="rf_dll_lock_wait_ds1" pos="31:28" rst="0">
  54757. </bits>
  54758. <bits access="rw" name="rf_dll_auto_err_clr_en_ds1" pos="27" rst="0">
  54759. </bits>
  54760. <bits access="rw" name="rf_dll_pd_cnt_ds1" pos="26:24" rst="0">
  54761. </bits>
  54762. <bits access="rw" name="rf_dl_cpst_thr_ds1" pos="23:16" rst="0">
  54763. </bits>
  54764. <bits access="rw" name="rf_dll_en_ds1" pos="15" rst="0">
  54765. </bits>
  54766. <bits access="rw" name="rf_dll_clk_sel_ds1" pos="14" rst="0">
  54767. </bits>
  54768. <bits access="w" name="rf_dll_err_clr_ds1" pos="13" rst="0">
  54769. </bits>
  54770. <bits access="rw" name="rf_dl_cpst_auto_ref_en_ds1" pos="12" rst="0">
  54771. </bits>
  54772. <bits access="rw" name="rf_dl_cpst_start_ds1" pos="11" rst="0">
  54773. </bits>
  54774. <bits access="rw" name="rf_dl_cpst_en_ds1" pos="10" rst="0">
  54775. </bits>
  54776. <bits access="rw" name="rf_dll_auto_clr_en_ds1" pos="9" rst="0">
  54777. </bits>
  54778. <bits access="rw" name="rf_dll_clr_ds1" pos="8" rst="0">
  54779. </bits>
  54780. </reg>
  54781. <reg name="lpddr_rfdll_status_dll_ds1" protect="r">
  54782. <bits access="r" name="rfdll_error_ds1" pos="29" rst="0">
  54783. </bits>
  54784. <bits access="r" name="rfdll_locked_ds1" pos="28" rst="0">
  54785. </bits>
  54786. <bits access="r" name="rfdll_st_ds1" pos="27:25" rst="0">
  54787. </bits>
  54788. <bits access="r" name="rfdl_cpst_st_ds1" pos="24" rst="0">
  54789. </bits>
  54790. <bits access="r" name="rfdll_cnt_ds1" pos="6:0" rst="0">
  54791. </bits>
  54792. </reg>
  54793. <reg name="lpddr_rf_cfg_dll_dl_0_wr_ds1" protect="rw">
  54794. <bits access="rw" name="rf_clkwr_dl_cpst_en_ds1" pos="31" rst="0">
  54795. </bits>
  54796. <bits access="rw" name="rf_clkwr_dl_cpst_minus_ds1" pos="30" rst="0">
  54797. </bits>
  54798. <bits access="rw" name="rf_clkwr_qtr_dl_cpst_offset_ds1" pos="29:28" rst="0">
  54799. </bits>
  54800. <bits access="r" name="rfdl_clkwr_qtr_cnt_ds1" pos="27:26" rst="0">
  54801. </bits>
  54802. <bits access="rw" name="rf_clkwr_qtr_dl_sel_ds1" pos="25:24" rst="0">
  54803. </bits>
  54804. <bits access="rw" name="rf_clkwr_raw_dl_cpst_offset_ds1" pos="22:16" rst="0">
  54805. </bits>
  54806. <bits access="r" name="rfdl_clkwr_raw_cnt_ds1" pos="14:8" rst="0">
  54807. </bits>
  54808. <bits access="rw" name="rf_clkwr_raw_dl_sel_ds1" pos="6:0" rst="0">
  54809. </bits>
  54810. </reg>
  54811. <reg name="lpddr_rf_cfg_dll_dl_1_wr_ds1" protect="rw">
  54812. <bits access="rw" name="rf_dqs_in_pos_dl_cpst_en_ds1" pos="31" rst="0">
  54813. </bits>
  54814. <bits access="rw" name="rf_dqs_in_pos_dl_cpst_minus_ds1" pos="30" rst="0">
  54815. </bits>
  54816. <bits access="rw" name="rf_dqs_in_pos_qtr_dl_cpst_offset_ds1" pos="29:28" rst="0">
  54817. </bits>
  54818. <bits access="r" name="rfdl_dqs_in_pos_qtr_cnt_ds1" pos="27:26" rst="0">
  54819. </bits>
  54820. <bits access="rw" name="rf_dqs_in_pos_qtr_dl_sel_ds1" pos="25:24" rst="0">
  54821. </bits>
  54822. <bits access="rw" name="rf_dqs_in_pos_raw_dl_cpst_offset_ds1" pos="22:16" rst="0">
  54823. </bits>
  54824. <bits access="r" name="rfdl_dqs_in_pos_raw_cnt_ds1" pos="14:8" rst="0">
  54825. </bits>
  54826. <bits access="rw" name="rf_dqs_in_pos_raw_dl_sel_ds1" pos="6:0" rst="0">
  54827. </bits>
  54828. </reg>
  54829. <reg name="lpddr_rf_cfg_dll_dl_2_wr_ds1" protect="rw">
  54830. <bits access="rw" name="rf_dqs_in_neg_dl_cpst_en_ds1" pos="31" rst="0">
  54831. </bits>
  54832. <bits access="rw" name="rf_dqs_in_neg_dl_cpst_minus_ds1" pos="30" rst="0">
  54833. </bits>
  54834. <bits access="rw" name="rf_dqs_in_neg_qtr_dl_cpst_offset_ds1" pos="29:28" rst="0">
  54835. </bits>
  54836. <bits access="r" name="rfdl_dqs_in_neg_qtr_cnt_ds1" pos="27:26" rst="0">
  54837. </bits>
  54838. <bits access="rw" name="rf_dqs_in_neg_qtr_dl_sel_ds1" pos="25:24" rst="0">
  54839. </bits>
  54840. <bits access="rw" name="rf_dqs_in_neg_raw_dl_cpst_offset_ds1" pos="22:16" rst="0">
  54841. </bits>
  54842. <bits access="r" name="rfdl_dqs_in_neg_raw_cnt_ds1" pos="14:8" rst="0">
  54843. </bits>
  54844. <bits access="rw" name="rf_dqs_in_neg_raw_dl_sel_ds1" pos="6:0" rst="0">
  54845. </bits>
  54846. </reg>
  54847. <reg name="lpddr_rf_cfg_dll_dl_3_wr_ds1" protect="rw">
  54848. <bits access="rw" name="rf_dqs_gate_dl_cpst_en_ds1" pos="31" rst="0">
  54849. </bits>
  54850. <bits access="rw" name="rf_dqs_gate_dl_cpst_minus_ds1" pos="30" rst="0">
  54851. </bits>
  54852. <bits access="rw" name="rf_dqs_gate_qtr_dl_cpst_offset_ds1" pos="29:28" rst="0">
  54853. </bits>
  54854. <bits access="r" name="rfdl_dqs_gate_qtr_cnt_ds1" pos="27:26" rst="0">
  54855. </bits>
  54856. <bits access="rw" name="rf_dqs_gate_qtr_dl_sel_ds1" pos="25:24" rst="0">
  54857. </bits>
  54858. <bits access="rw" name="rf_dqs_gate_raw_dl_cpst_offset_ds1" pos="22:16" rst="0">
  54859. </bits>
  54860. <bits access="r" name="rfdl_dqs_gate_raw_cnt_ds1" pos="14:8" rst="0">
  54861. </bits>
  54862. <bits access="rw" name="rf_dqs_gate_raw_dl_sel_ds1" pos="6:0" rst="0">
  54863. </bits>
  54864. </reg>
  54865. <reg name="lpddr_rf_cfg_dll_dl_4_wr_ds1" protect="rw">
  54866. <bits access="rw" name="rf_dly_out_d3_dl_sel_ds1" pos="28:24" rst="0">
  54867. </bits>
  54868. <bits access="rw" name="rf_dly_out_d2_dl_sel_ds1" pos="20:16" rst="0">
  54869. </bits>
  54870. <bits access="rw" name="rf_dly_out_d1_dl_sel_ds1" pos="12:8" rst="0">
  54871. </bits>
  54872. <bits access="rw" name="rf_dly_out_d0_dl_sel_ds1" pos="4:0" rst="0">
  54873. </bits>
  54874. </reg>
  54875. <reg name="lpddr_rf_cfg_dll_dl_5_wr_ds1" protect="rw">
  54876. <bits access="rw" name="rf_dly_out_d7_dl_sel_ds1" pos="28:24" rst="0">
  54877. </bits>
  54878. <bits access="rw" name="rf_dly_out_d6_dl_sel_ds1" pos="20:16" rst="0">
  54879. </bits>
  54880. <bits access="rw" name="rf_dly_out_d5_dl_sel_ds1" pos="12:8" rst="0">
  54881. </bits>
  54882. <bits access="rw" name="rf_dly_out_d4_dl_sel_ds1" pos="4:0" rst="0">
  54883. </bits>
  54884. </reg>
  54885. <reg name="lpddr_rf_cfg_dll_dl_6_wr_ds1" protect="rw">
  54886. <bits access="rw" name="rf_dly_in_d3_dl_sel_ds1" pos="28:24" rst="0">
  54887. </bits>
  54888. <bits access="rw" name="rf_dly_in_d2_dl_sel_ds1" pos="20:16" rst="0">
  54889. </bits>
  54890. <bits access="rw" name="rf_dly_in_d1_dl_sel_ds1" pos="12:8" rst="0">
  54891. </bits>
  54892. <bits access="rw" name="rf_dly_in_d0_dl_sel_ds1" pos="4:0" rst="0">
  54893. </bits>
  54894. </reg>
  54895. <reg name="lpddr_rf_cfg_dll_dl_7_wr_ds1" protect="rw">
  54896. <bits access="rw" name="rf_dly_in_d7_dl_sel_ds1" pos="28:24" rst="0">
  54897. </bits>
  54898. <bits access="rw" name="rf_dly_in_d6_dl_sel_ds1" pos="20:16" rst="0">
  54899. </bits>
  54900. <bits access="rw" name="rf_dly_in_d5_dl_sel_ds1" pos="12:8" rst="0">
  54901. </bits>
  54902. <bits access="rw" name="rf_dly_in_d4_dl_sel_ds1" pos="4:0" rst="0">
  54903. </bits>
  54904. </reg>
  54905. <reg name="lpddr_rf_cfg_dll_dl_8_wr_ds1" protect="rw">
  54906. <bits access="rw" name="rf_dly_in_dqs_dl_sel_ds1" pos="20:16" rst="0">
  54907. </bits>
  54908. <bits access="rw" name="rf_dly_out_dqm_dl_sel_ds1" pos="12:8" rst="0">
  54909. </bits>
  54910. <bits access="rw" name="rf_dly_out_dqs_dl_sel_ds1" pos="4:0" rst="0">
  54911. </bits>
  54912. </reg>
  54913. <reg name="lpddr_rfdll_status_max_cnt_ds1" protect="r">
  54914. <bits access="r" name="rfdll_max_cnt_f3_ds1" pos="30:24" rst="0">
  54915. </bits>
  54916. <bits access="r" name="rfdll_max_cnt_f2_ds1" pos="22:16" rst="0">
  54917. </bits>
  54918. <bits access="r" name="rfdll_max_cnt_f1_ds1" pos="14:8" rst="0">
  54919. </bits>
  54920. <bits access="r" name="rfdll_max_cnt_f0_ds1" pos="6:0" rst="0">
  54921. </bits>
  54922. </reg>
  54923. <reg name="lpddr_rfdll_status_min_cnt_ds1" protect="r">
  54924. <bits access="r" name="rfdll_min_cnt_f3_ds1" pos="30:24" rst="127">
  54925. </bits>
  54926. <bits access="r" name="rfdll_min_cnt_f2_ds1" pos="22:16" rst="127">
  54927. </bits>
  54928. <bits access="r" name="rfdll_min_cnt_f1_ds1" pos="14:8" rst="127">
  54929. </bits>
  54930. <bits access="r" name="rfdll_min_cnt_f0_ds1" pos="6:0" rst="127">
  54931. </bits>
  54932. </reg>
  54933. <reg name="lpddr_rf_cfg_phy_iomux_sel_wr_ds1" protect="rw">
  54934. <bits access="rw" name="rf_phy_io_dqs_sel_ds1" pos="9" rst="0">
  54935. </bits>
  54936. <bits access="rw" name="rf_phy_io_dqm_sel_ds1" pos="8" rst="0">
  54937. </bits>
  54938. <bits access="rw" name="rf_phy_io_d7_sel_ds1" pos="7" rst="0">
  54939. </bits>
  54940. <bits access="rw" name="rf_phy_io_d6_sel_ds1" pos="6" rst="0">
  54941. </bits>
  54942. <bits access="rw" name="rf_phy_io_d5_sel_ds1" pos="5" rst="0">
  54943. </bits>
  54944. <bits access="rw" name="rf_phy_io_d4_sel_ds1" pos="4" rst="0">
  54945. </bits>
  54946. <bits access="rw" name="rf_phy_io_d3_sel_ds1" pos="3" rst="0">
  54947. </bits>
  54948. <bits access="rw" name="rf_phy_io_d2_sel_ds1" pos="2" rst="0">
  54949. </bits>
  54950. <bits access="rw" name="rf_phy_io_d1_sel_ds1" pos="1" rst="0">
  54951. </bits>
  54952. <bits access="rw" name="rf_phy_io_d0_sel_ds1" pos="0" rst="0">
  54953. </bits>
  54954. </reg>
  54955. <reg name="lpddr_rf_cfg_phy_iomux_ie_wr_ds1" protect="rw">
  54956. <bits access="rw" name="rf_phy_io_dqs_ie_ds1" pos="9" rst="0">
  54957. </bits>
  54958. <bits access="rw" name="rf_phy_io_dqm_ie_ds1" pos="8" rst="0">
  54959. </bits>
  54960. <bits access="rw" name="rf_phy_io_d7_ie_ds1" pos="7" rst="0">
  54961. </bits>
  54962. <bits access="rw" name="rf_phy_io_d6_ie_ds1" pos="6" rst="0">
  54963. </bits>
  54964. <bits access="rw" name="rf_phy_io_d5_ie_ds1" pos="5" rst="0">
  54965. </bits>
  54966. <bits access="rw" name="rf_phy_io_d4_ie_ds1" pos="4" rst="0">
  54967. </bits>
  54968. <bits access="rw" name="rf_phy_io_d3_ie_ds1" pos="3" rst="0">
  54969. </bits>
  54970. <bits access="rw" name="rf_phy_io_d2_ie_ds1" pos="2" rst="0">
  54971. </bits>
  54972. <bits access="rw" name="rf_phy_io_d1_ie_ds1" pos="1" rst="0">
  54973. </bits>
  54974. <bits access="rw" name="rf_phy_io_d0_ie_ds1" pos="0" rst="0">
  54975. </bits>
  54976. </reg>
  54977. <reg name="lpddr_rf_cfg_phy_iomux_oe_wr_ds1" protect="rw">
  54978. <bits access="rw" name="rf_phy_io_dqs_oe_ds1" pos="9" rst="0">
  54979. </bits>
  54980. <bits access="rw" name="rf_phy_io_dqm_oe_ds1" pos="8" rst="0">
  54981. </bits>
  54982. <bits access="rw" name="rf_phy_io_d7_oe_ds1" pos="7" rst="0">
  54983. </bits>
  54984. <bits access="rw" name="rf_phy_io_d6_oe_ds1" pos="6" rst="0">
  54985. </bits>
  54986. <bits access="rw" name="rf_phy_io_d5_oe_ds1" pos="5" rst="0">
  54987. </bits>
  54988. <bits access="rw" name="rf_phy_io_d4_oe_ds1" pos="4" rst="0">
  54989. </bits>
  54990. <bits access="rw" name="rf_phy_io_d3_oe_ds1" pos="3" rst="0">
  54991. </bits>
  54992. <bits access="rw" name="rf_phy_io_d2_oe_ds1" pos="2" rst="0">
  54993. </bits>
  54994. <bits access="rw" name="rf_phy_io_d1_oe_ds1" pos="1" rst="0">
  54995. </bits>
  54996. <bits access="rw" name="rf_phy_io_d0_oe_ds1" pos="0" rst="0">
  54997. </bits>
  54998. </reg>
  54999. <reg name="lpddr_rf_cfg_phy_iomux_out_wr_ds1" protect="rw">
  55000. <bits access="rw" name="rf_phy_io_dqs_out_ds1" pos="9" rst="0">
  55001. </bits>
  55002. <bits access="rw" name="rf_phy_io_dqm_out_ds1" pos="8" rst="0">
  55003. </bits>
  55004. <bits access="rw" name="rf_phy_io_d7_out_ds1" pos="7" rst="0">
  55005. </bits>
  55006. <bits access="rw" name="rf_phy_io_d6_out_ds1" pos="6" rst="0">
  55007. </bits>
  55008. <bits access="rw" name="rf_phy_io_d5_out_ds1" pos="5" rst="0">
  55009. </bits>
  55010. <bits access="rw" name="rf_phy_io_d4_out_ds1" pos="4" rst="0">
  55011. </bits>
  55012. <bits access="rw" name="rf_phy_io_d3_out_ds1" pos="3" rst="0">
  55013. </bits>
  55014. <bits access="rw" name="rf_phy_io_d2_out_ds1" pos="2" rst="0">
  55015. </bits>
  55016. <bits access="rw" name="rf_phy_io_d1_out_ds1" pos="1" rst="0">
  55017. </bits>
  55018. <bits access="rw" name="rf_phy_io_d0_out_ds1" pos="0" rst="0">
  55019. </bits>
  55020. </reg>
  55021. <reg name="lpddr_rf_status_phy_data_in" protect="r">
  55022. <bits access="r" name="rf_phy_data_in" pos="15:0" rst="0">
  55023. </bits>
  55024. </reg>
  55025. <hole size="2496"/>
  55026. <reg name="lpddr_drf_cfg" protect="rw">
  55027. <bits access="rw" name="drf_clkdmem_out_sel" pos="0" rst="0">
  55028. </bits>
  55029. </reg>
  55030. <reg name="lpddr_drf_cfg_reg_sel" protect="rw">
  55031. <bits access="rw" name="drf_reg_sel" pos="1:0" rst="0">
  55032. </bits>
  55033. </reg>
  55034. <reg name="lpddr_drf_cfg_dqs_ie_sel_f0" protect="rw">
  55035. <bits access="rw" name="drf_dqs_ie_sel_f0" pos="15:0" rst="0">
  55036. </bits>
  55037. </reg>
  55038. <reg name="lpddr_drf_cfg_dqs_oe_sel_f0" protect="rw">
  55039. <bits access="rw" name="drf_dqs_oe_sel_f0" pos="15:0" rst="0">
  55040. </bits>
  55041. </reg>
  55042. <reg name="lpddr_drf_cfg_dqs_out_sel_f0" protect="rw">
  55043. <bits access="rw" name="drf_dqs_out_sel_f0" pos="15:0" rst="0">
  55044. </bits>
  55045. </reg>
  55046. <reg name="lpddr_drf_cfg_dqs_gate_sel_f0" protect="rw">
  55047. <bits access="rw" name="drf_dqs_gate_sel_f0" pos="15:0" rst="0">
  55048. </bits>
  55049. </reg>
  55050. <reg name="lpddr_drf_cfg_data_ie_sel_f0" protect="rw">
  55051. <bits access="rw" name="drf_data_ie_sel_f0" pos="15:0" rst="0">
  55052. </bits>
  55053. </reg>
  55054. <reg name="lpddr_drf_cfg_data_oe_sel_f0" protect="rw">
  55055. <bits access="rw" name="drf_data_oe_sel_f0" pos="15:0" rst="0">
  55056. </bits>
  55057. </reg>
  55058. <reg name="lpddr_drf_cfg_read_en_sel_f0" protect="rw">
  55059. <bits access="rw" name="drf_read_en_sel_f0" pos="3:0" rst="0">
  55060. </bits>
  55061. </reg>
  55062. <reg name="lpddr_drf_cfg_dqs_ie_sel_f1" protect="rw">
  55063. <bits access="rw" name="drf_dqs_ie_sel_f1" pos="15:0" rst="0">
  55064. </bits>
  55065. </reg>
  55066. <reg name="lpddr_drf_cfg_dqs_oe_sel_f1" protect="rw">
  55067. <bits access="rw" name="drf_dqs_oe_sel_f1" pos="15:0" rst="0">
  55068. </bits>
  55069. </reg>
  55070. <reg name="lpddr_drf_cfg_dqs_out_sel_f1" protect="rw">
  55071. <bits access="rw" name="drf_dqs_out_sel_f1" pos="15:0" rst="0">
  55072. </bits>
  55073. </reg>
  55074. <reg name="lpddr_drf_cfg_dqs_gate_sel_f1" protect="rw">
  55075. <bits access="rw" name="drf_dqs_gate_sel_f1" pos="15:0" rst="0">
  55076. </bits>
  55077. </reg>
  55078. <reg name="lpddr_drf_cfg_data_ie_sel_f1" protect="rw">
  55079. <bits access="rw" name="drf_data_ie_sel_f1" pos="15:0" rst="0">
  55080. </bits>
  55081. </reg>
  55082. <reg name="lpddr_drf_cfg_data_oe_sel_f1" protect="rw">
  55083. <bits access="rw" name="drf_data_oe_sel_f1" pos="15:0" rst="0">
  55084. </bits>
  55085. </reg>
  55086. <reg name="lpddr_drf_cfg_read_en_sel_f1" protect="rw">
  55087. <bits access="rw" name="drf_read_en_sel_f1" pos="3:0" rst="0">
  55088. </bits>
  55089. </reg>
  55090. <reg name="lpddr_drf_cfg_dqs_ie_sel_f2" protect="rw">
  55091. <bits access="rw" name="drf_dqs_ie_sel_f2" pos="15:0" rst="0">
  55092. </bits>
  55093. </reg>
  55094. <reg name="lpddr_drf_cfg_dqs_oe_sel_f2" protect="rw">
  55095. <bits access="rw" name="drf_dqs_oe_sel_f2" pos="15:0" rst="0">
  55096. </bits>
  55097. </reg>
  55098. <reg name="lpddr_drf_cfg_dqs_out_sel_f2" protect="rw">
  55099. <bits access="rw" name="drf_dqs_out_sel_f2" pos="15:0" rst="0">
  55100. </bits>
  55101. </reg>
  55102. <reg name="lpddr_drf_cfg_dqs_gate_sel_f2" protect="rw">
  55103. <bits access="rw" name="drf_dqs_gate_sel_f2" pos="15:0" rst="0">
  55104. </bits>
  55105. </reg>
  55106. <reg name="lpddr_drf_cfg_data_ie_sel_f2" protect="rw">
  55107. <bits access="rw" name="drf_data_ie_sel_f2" pos="15:0" rst="0">
  55108. </bits>
  55109. </reg>
  55110. <reg name="lpddr_drf_cfg_data_oe_sel_f2" protect="rw">
  55111. <bits access="rw" name="drf_data_oe_sel_f2" pos="15:0" rst="0">
  55112. </bits>
  55113. </reg>
  55114. <reg name="lpddr_drf_cfg_read_en_sel_f2" protect="rw">
  55115. <bits access="rw" name="drf_read_en_sel_f2" pos="3:0" rst="0">
  55116. </bits>
  55117. </reg>
  55118. <reg name="lpddr_drf_cfg_dqs_ie_sel_f3" protect="rw">
  55119. <bits access="rw" name="drf_dqs_ie_sel_f3" pos="15:0" rst="0">
  55120. </bits>
  55121. </reg>
  55122. <reg name="lpddr_drf_cfg_dqs_oe_sel_f3" protect="rw">
  55123. <bits access="rw" name="drf_dqs_oe_sel_f3" pos="15:0" rst="0">
  55124. </bits>
  55125. </reg>
  55126. <reg name="lpddr_drf_cfg_dqs_out_sel_f3" protect="rw">
  55127. <bits access="rw" name="drf_dqs_out_sel_f3" pos="15:0" rst="0">
  55128. </bits>
  55129. </reg>
  55130. <reg name="lpddr_drf_cfg_dqs_gate_sel_f3" protect="rw">
  55131. <bits access="rw" name="drf_dqs_gate_sel_f3" pos="15:0" rst="0">
  55132. </bits>
  55133. </reg>
  55134. <reg name="lpddr_drf_cfg_data_ie_sel_f3" protect="rw">
  55135. <bits access="rw" name="drf_data_ie_sel_f3" pos="15:0" rst="0">
  55136. </bits>
  55137. </reg>
  55138. <reg name="lpddr_drf_cfg_data_oe_sel_f3" protect="rw">
  55139. <bits access="rw" name="drf_data_oe_sel_f3" pos="15:0" rst="0">
  55140. </bits>
  55141. </reg>
  55142. <reg name="lpddr_drf_cfg_read_en_sel_f3" protect="rw">
  55143. <bits access="rw" name="drf_read_en_sel_f3" pos="3:0" rst="0">
  55144. </bits>
  55145. </reg>
  55146. <reg name="lpddr_drf_cfg_dll_mode_f0" protect="rw">
  55147. <bits access="rw" name="drf_dll_satu_mode_f0" pos="2" rst="0">
  55148. </bits>
  55149. <bits access="rw" name="drf_dll_half_mode_f0" pos="1" rst="0">
  55150. </bits>
  55151. <bits access="rw" name="drf_dll_clk_mode_f0" pos="0" rst="0">
  55152. </bits>
  55153. </reg>
  55154. <reg name="lpddr_drf_cfg_dll_cnt_f0" protect="rw">
  55155. <bits access="rw" name="drf_dll_auto_cnt_f0" pos="29:20" rst="0">
  55156. </bits>
  55157. <bits access="rw" name="drf_dll_satu_cnt_f0" pos="19:10" rst="0">
  55158. </bits>
  55159. <bits access="rw" name="drf_dll_init_cnt_f0" pos="9:0" rst="0">
  55160. </bits>
  55161. </reg>
  55162. <reg name="lpddr_drf_cfg_dll_mode_f1" protect="rw">
  55163. <bits access="rw" name="drf_dll_satu_mode_f1" pos="2" rst="0">
  55164. </bits>
  55165. <bits access="rw" name="drf_dll_half_mode_f1" pos="1" rst="0">
  55166. </bits>
  55167. <bits access="rw" name="drf_dll_clk_mode_f1" pos="0" rst="0">
  55168. </bits>
  55169. </reg>
  55170. <reg name="lpddr_drf_cfg_dll_cnt_f1" protect="rw">
  55171. <bits access="rw" name="drf_dll_auto_cnt_f1" pos="29:20" rst="0">
  55172. </bits>
  55173. <bits access="rw" name="drf_dll_satu_cnt_f1" pos="19:10" rst="0">
  55174. </bits>
  55175. <bits access="rw" name="drf_dll_init_cnt_f1" pos="9:0" rst="0">
  55176. </bits>
  55177. </reg>
  55178. <reg name="lpddr_drf_cfg_dll_mode_f2" protect="rw">
  55179. <bits access="rw" name="drf_dll_satu_mode_f2" pos="2" rst="0">
  55180. </bits>
  55181. <bits access="rw" name="drf_dll_half_mode_f2" pos="1" rst="0">
  55182. </bits>
  55183. <bits access="rw" name="drf_dll_clk_mode_f2" pos="0" rst="0">
  55184. </bits>
  55185. </reg>
  55186. <reg name="lpddr_drf_cfg_dll_cnt_f2" protect="rw">
  55187. <bits access="rw" name="drf_dll_auto_cnt_f2" pos="29:20" rst="0">
  55188. </bits>
  55189. <bits access="rw" name="drf_dll_satu_cnt_f2" pos="19:10" rst="0">
  55190. </bits>
  55191. <bits access="rw" name="drf_dll_init_cnt_f2" pos="9:0" rst="0">
  55192. </bits>
  55193. </reg>
  55194. <reg name="lpddr_drf_cfg_dll_mode_f3" protect="rw">
  55195. <bits access="rw" name="drf_dll_satu_mode_f3" pos="2" rst="0">
  55196. </bits>
  55197. <bits access="rw" name="drf_dll_half_mode_f3" pos="1" rst="0">
  55198. </bits>
  55199. <bits access="rw" name="drf_dll_clk_mode_f3" pos="0" rst="0">
  55200. </bits>
  55201. </reg>
  55202. <reg name="lpddr_drf_cfg_dll_cnt_f3" protect="rw">
  55203. <bits access="rw" name="drf_dll_auto_cnt_f3" pos="29:20" rst="0">
  55204. </bits>
  55205. <bits access="rw" name="drf_dll_satu_cnt_f3" pos="19:10" rst="0">
  55206. </bits>
  55207. <bits access="rw" name="drf_dll_init_cnt_f3" pos="9:0" rst="0">
  55208. </bits>
  55209. </reg>
  55210. <hole size="832"/>
  55211. <reg name="lpddr_drf_train_cfg" protect="rw">
  55212. <bits access="rw" name="drf_dmc_rdlvl_gate_en" pos="21" rst="0">
  55213. </bits>
  55214. <bits access="rw" name="drf_phy_rdlvl_gate_en" pos="20" rst="0">
  55215. </bits>
  55216. <bits access="rw" name="drf_dmc_rdlvl_en" pos="17" rst="0">
  55217. </bits>
  55218. <bits access="rw" name="drf_phy_rdlvl_en" pos="16" rst="0">
  55219. </bits>
  55220. <bits access="rw" name="drf_dmc_wrlvl_en" pos="13" rst="0">
  55221. </bits>
  55222. <bits access="rw" name="drf_phy_wrlvl_en" pos="12" rst="0">
  55223. </bits>
  55224. <bits access="rw" name="drf_phyupd_type_3" pos="11:10" rst="0">
  55225. </bits>
  55226. <bits access="rw" name="drf_phyupd_type_2" pos="9:8" rst="0">
  55227. </bits>
  55228. <bits access="rw" name="drf_phyupd_type_1" pos="7:6" rst="0">
  55229. </bits>
  55230. <bits access="rw" name="drf_phyupd_type_0" pos="5:4" rst="0">
  55231. </bits>
  55232. <bits access="rw" name="drf_phyupd_type_sel" pos="2:1" rst="0">
  55233. </bits>
  55234. <bits access="rw" name="drf_phyupd_en" pos="0" rst="0">
  55235. </bits>
  55236. </reg>
  55237. <reg name="lpddr_drf_mr_data_0" protect="r">
  55238. <bits access="r" name="drf_mr_data_0" pos="31:0" rst="0">
  55239. </bits>
  55240. </reg>
  55241. <reg name="lpddr_drf_mr_data_1" protect="r">
  55242. <bits access="r" name="drf_mr_data_1" pos="31:0" rst="0">
  55243. </bits>
  55244. </reg>
  55245. <hole size="1952"/>
  55246. <reg name="lpddr_rf_irq_ctrl" protect="rw">
  55247. <bits access="rw" name="rf_irq_en_dll_unlock_ds1" pos="2" rst="0">
  55248. </bits>
  55249. <bits access="rw" name="rf_irq_en_dll_unlock_ds0" pos="1" rst="0">
  55250. </bits>
  55251. <bits access="rw" name="rf_irq_en_dll_unlock_ac" pos="0" rst="0">
  55252. </bits>
  55253. </reg>
  55254. <reg name="lpddr_rf_irq_status_clr" protect="rw">
  55255. <bits access="w" name="rf_irq_st_clr_dll_unlock_ds1" pos="2" rst="0">
  55256. </bits>
  55257. <bits access="w" name="rf_irq_st_clr_dll_unlock_ds0" pos="1" rst="0">
  55258. </bits>
  55259. <bits access="w" name="rf_irq_st_clr_dll_unlock_ac" pos="0" rst="0">
  55260. </bits>
  55261. </reg>
  55262. <reg name="lpddr_rf_irq_status" protect="r">
  55263. <bits access="r" name="rf_irq_st_dll_unlock_ds1" pos="2" rst="0">
  55264. </bits>
  55265. <bits access="r" name="rf_irq_st_dll_unlock_ds0" pos="1" rst="0">
  55266. </bits>
  55267. <bits access="r" name="rf_irq_st_dll_unlock_ac" pos="0" rst="0">
  55268. </bits>
  55269. </reg>
  55270. <reg name="lpddr_rf_irq_cnt_clr" protect="rw">
  55271. <bits access="w" name="rf_irq_cnt_clr_dll_unlock_ds1" pos="2" rst="0">
  55272. </bits>
  55273. <bits access="w" name="rf_irq_cnt_clr_dll_unlock_ds0" pos="1" rst="0">
  55274. </bits>
  55275. <bits access="w" name="rf_irq_cnt_clr_dll_unlock_ac" pos="0" rst="0">
  55276. </bits>
  55277. </reg>
  55278. <reg name="lpddr_rf_irq_cnt_dll_unlock_ac" protect="r">
  55279. <bits access="r" name="rf_irq_cnt_overflow_dll_unlock_ac" pos="31" rst="0">
  55280. </bits>
  55281. <bits access="r" name="rf_irq_cnt_dll_unlock_ac" pos="30:0" rst="0">
  55282. </bits>
  55283. </reg>
  55284. <reg name="lpddr_rf_irq_cnt_dll_unlock_ds0" protect="r">
  55285. <bits access="r" name="rf_irq_cnt_overflow_dll_unlock_ds0" pos="31" rst="0">
  55286. </bits>
  55287. <bits access="r" name="rf_irq_cnt_dll_unlock_ds0" pos="30:0" rst="0">
  55288. </bits>
  55289. </reg>
  55290. <reg name="lpddr_rf_irq_cnt_dll_unlock_ds1" protect="r">
  55291. <bits access="r" name="rf_irq_cnt_overflow_dll_unlock_ds1" pos="31" rst="0">
  55292. </bits>
  55293. <bits access="r" name="rf_irq_cnt_dll_unlock_ds1" pos="30:0" rst="0">
  55294. </bits>
  55295. </reg>
  55296. <hole size="1824"/>
  55297. <reg name="io_rf_ddr_rpull_cfg" protect="rw">
  55298. <bits access="rw" name="ddr_ck_rpull" pos="3:2" rst="0">
  55299. </bits>
  55300. <bits access="rw" name="ddr_dqs_rpull" pos="1:0" rst="0">
  55301. </bits>
  55302. </reg>
  55303. <reg name="io_rf_ddr_drv_cfg" protect="rw">
  55304. <bits access="rw" name="ddr_drvnc" pos="19:15" rst="16">
  55305. </bits>
  55306. <bits access="rw" name="ddr_drvnd" pos="14:10" rst="16">
  55307. </bits>
  55308. <bits access="rw" name="ddr_drvpc" pos="9:5" rst="16">
  55309. </bits>
  55310. <bits access="rw" name="ddr_drvpd" pos="4:0" rst="16">
  55311. </bits>
  55312. </reg>
  55313. <reg name="io_rf_ddr_pad_cfg" protect="rw">
  55314. <bits access="rw" name="ddr_lp2c" pos="1" rst="1">
  55315. </bits>
  55316. <bits access="rw" name="ddr_lp2d" pos="0" rst="1">
  55317. </bits>
  55318. </reg>
  55319. <reg name="io_rf_ddr_vref_cfg" protect="rw">
  55320. <bits access="rw" name="ddr_sel_int" pos="13:8" rst="32">
  55321. </bits>
  55322. <bits access="rw" name="ddr_sel_pad" pos="7:2" rst="32">
  55323. </bits>
  55324. <bits access="rw" name="ddr_vref_en_int" pos="1" rst="1">
  55325. </bits>
  55326. <bits access="rw" name="ddr_vref_en_pad" pos="0" rst="0">
  55327. </bits>
  55328. </reg>
  55329. <reg name="io_rf_ddr_zq_cfg" protect="rw">
  55330. <bits access="rw" name="ddr_cal_zq_cal" pos="6" rst="0">
  55331. </bits>
  55332. <bits access="rw" name="ddr_cal_zq_pd" pos="5" rst="1">
  55333. </bits>
  55334. <bits access="rw" name="ddr_zprog" pos="4:0" rst="16">
  55335. </bits>
  55336. </reg>
  55337. <reg name="io_rf_ddr_zq_mon" protect="r">
  55338. <bits access="r" name="ddr_calover" pos="0" rst="0">
  55339. </bits>
  55340. </reg>
  55341. <reg name="io_rf_ddr_odt_cfg" protect="rw">
  55342. <bits access="rw" name="ddr_odt_read_enable" pos="2" rst="0">
  55343. </bits>
  55344. <bits access="rw" name="ddr_odt_write_enable" pos="1" rst="1">
  55345. </bits>
  55346. <bits access="rw" name="ddr_odt_to_pad" pos="0" rst="0">
  55347. </bits>
  55348. </reg>
  55349. <reg name="io_rf_ddr_reserved" protect="rw">
  55350. <bits access="rw" name="ddr_reg_resv" pos="31:0" rst="4294901760">
  55351. </bits>
  55352. </reg>
  55353. <reg name="io_rf_psram_drv_cfg" protect="rw">
  55354. <bits access="rw" name="psram_drvn" pos="12:8" rst="16">
  55355. </bits>
  55356. <bits access="rw" name="psram_drvp" pos="7:3" rst="16">
  55357. </bits>
  55358. <bits access="rw" name="psram_slewrate" pos="2:1" rst="0">
  55359. </bits>
  55360. <bits access="rw" name="psram_fix_read0" pos="0" rst="1">
  55361. </bits>
  55362. </reg>
  55363. <reg name="io_rf_psram_pad_en_cfg" protect="rw">
  55364. <bits access="rw" name="psram_pad_clkn_en" pos="0" rst="1">
  55365. </bits>
  55366. </reg>
  55367. <reg name="io_rf_psram_pull_cfg" protect="rw">
  55368. <bits access="rw" name="psram_cen_pull1_bit" pos="11:10" rst="1">
  55369. </bits>
  55370. <bits access="rw" name="psram_clk_pull0_bit" pos="9:8" rst="1">
  55371. </bits>
  55372. <bits access="rw" name="psram_clkn_pull1_bit" pos="7:6" rst="1">
  55373. </bits>
  55374. <bits access="rw" name="psram_dm_pull1_bit" pos="5:4" rst="1">
  55375. </bits>
  55376. <bits access="rw" name="psram_dq_pull0_bit" pos="3:2" rst="0">
  55377. </bits>
  55378. <bits access="rw" name="psram_dqs_pull0_bit" pos="1:0" rst="1">
  55379. </bits>
  55380. </reg>
  55381. <reg name="io_rf_psram_reserved" protect="rw">
  55382. <bits access="rw" name="psram_reg_resv" pos="31:0" rst="4294901760">
  55383. </bits>
  55384. </reg>
  55385. </module>
  55386. </archive>
  55387. <archive relative="psram_phy.xml">
  55388. <module category="Periph" name="PSRAM_PHY">
  55389. <reg name="psram_rf_cfg_phy" protect="rw">
  55390. <bits access="rw" name="rf_phy_init_complete" pos="1" rst="0">
  55391. </bits>
  55392. <bits access="rw" name="rf_phy_en" pos="0" rst="0">
  55393. </bits>
  55394. </reg>
  55395. <reg name="psram_rf_cfg_clock_gate" protect="rw">
  55396. <bits access="rw" name="rf_clk_gate_ag_rd_en" pos="4" rst="0">
  55397. </bits>
  55398. <bits access="rw" name="rf_clk_gate_ag_wr_en" pos="3" rst="0">
  55399. </bits>
  55400. <bits access="rw" name="rf_clk_gate_ag_en" pos="2" rst="0">
  55401. </bits>
  55402. <bits access="rw" name="rf_clk_gate_fg_en" pos="1" rst="0">
  55403. </bits>
  55404. <bits access="rw" name="rf_clk_gate_en" pos="0" rst="0">
  55405. </bits>
  55406. </reg>
  55407. <reg name="psram_rf_cfg_lpi" protect="rw">
  55408. <bits access="rw" name="rf_cwakeup_s0" pos="2" rst="0">
  55409. </bits>
  55410. <bits access="rw" name="rf_cwakeup_m0" pos="1" rst="0">
  55411. </bits>
  55412. <bits access="rw" name="rf_lpi_sel_m0" pos="0" rst="0">
  55413. </bits>
  55414. </reg>
  55415. <hole size="1952"/>
  55416. <reg name="psram_rfdll_cfg_dll" protect="rw">
  55417. <bits access="w" name="rfdll_reset" pos="0" rst="0">
  55418. </bits>
  55419. </reg>
  55420. <reg name="psram_rfdll_status_cpst_idle" protect="r">
  55421. <bits access="r" name="rfdl_cpst_st_idle_ads1" pos="1" rst="1">
  55422. </bits>
  55423. <bits access="r" name="rfdl_cpst_st_idle_ads0" pos="0" rst="1">
  55424. </bits>
  55425. </reg>
  55426. <reg name="psram_rf_status_phy_data_in" protect="r">
  55427. <bits access="r" name="rf_phy_data_in" pos="15:0" rst="0">
  55428. </bits>
  55429. </reg>
  55430. <hole size="1952"/>
  55431. <reg name="psram_rf_cfg_dll_ads0" protect="rw">
  55432. <bits access="rw" name="rf_dll_lock_wait_ads0" pos="31:28" rst="0">
  55433. </bits>
  55434. <bits access="rw" name="rf_dll_auto_err_clr_en_ads0" pos="27" rst="0">
  55435. </bits>
  55436. <bits access="rw" name="rf_dll_pd_cnt_ads0" pos="26:24" rst="0">
  55437. </bits>
  55438. <bits access="rw" name="rf_dl_cpst_thr_ads0" pos="23:16" rst="0">
  55439. </bits>
  55440. <bits access="rw" name="rf_dll_en_ads0" pos="15" rst="0">
  55441. </bits>
  55442. <bits access="rw" name="rf_dll_clk_sel_ads0" pos="14" rst="0">
  55443. </bits>
  55444. <bits access="w" name="rf_dll_err_clr_ads0" pos="13" rst="0">
  55445. </bits>
  55446. <bits access="rw" name="rf_dl_cpst_auto_ref_en_ads0" pos="12" rst="0">
  55447. </bits>
  55448. <bits access="rw" name="rf_dl_cpst_start_ads0" pos="11" rst="0">
  55449. </bits>
  55450. <bits access="rw" name="rf_dl_cpst_en_ads0" pos="10" rst="0">
  55451. </bits>
  55452. <bits access="rw" name="rf_dll_auto_clr_en_ads0" pos="9" rst="0">
  55453. </bits>
  55454. <bits access="rw" name="rf_dll_clr_ads0" pos="8" rst="0">
  55455. </bits>
  55456. </reg>
  55457. <reg name="psram_rfdll_status_dll_ads0" protect="r">
  55458. <bits access="r" name="rfdll_error_ads0" pos="29" rst="0">
  55459. </bits>
  55460. <bits access="r" name="rfdll_locked_ads0" pos="28" rst="0">
  55461. </bits>
  55462. <bits access="r" name="rfdll_st_ads0" pos="27:25" rst="0">
  55463. </bits>
  55464. <bits access="r" name="rfdl_cpst_st_ads0" pos="24" rst="0">
  55465. </bits>
  55466. <bits access="r" name="rfdll_cnt_ads0" pos="7:0" rst="0">
  55467. </bits>
  55468. </reg>
  55469. <reg name="psram_rf_cfg_dll_dl_0_wr_ads0" protect="rw">
  55470. <bits access="rw" name="rf_clkwr_dl_cpst_en_ads0" pos="31" rst="0">
  55471. </bits>
  55472. <bits access="rw" name="rf_clkwr_dl_cpst_minus_ads0" pos="30" rst="0">
  55473. </bits>
  55474. <bits access="rw" name="rf_clkwr_qtr_dl_cpst_offset_ads0" pos="29:28" rst="0">
  55475. </bits>
  55476. <bits access="r" name="rfdl_clkwr_qtr_cnt_ads0" pos="27:26" rst="0">
  55477. </bits>
  55478. <bits access="rw" name="rf_clkwr_qtr_dl_sel_ads0" pos="25:24" rst="0">
  55479. </bits>
  55480. <bits access="rw" name="rf_clkwr_raw_dl_cpst_offset_ads0" pos="23:16" rst="0">
  55481. </bits>
  55482. <bits access="r" name="rfdl_clkwr_raw_cnt_ads0" pos="15:8" rst="0">
  55483. </bits>
  55484. <bits access="rw" name="rf_clkwr_raw_dl_sel_ads0" pos="7:0" rst="0">
  55485. </bits>
  55486. </reg>
  55487. <reg name="psram_rf_cfg_dll_dl_1_wr_ads0" protect="rw">
  55488. <bits access="rw" name="rf_dqs_in_pos_dl_cpst_en_ads0" pos="31" rst="0">
  55489. </bits>
  55490. <bits access="rw" name="rf_dqs_in_pos_dl_cpst_minus_ads0" pos="30" rst="0">
  55491. </bits>
  55492. <bits access="rw" name="rf_dqs_in_pos_qtr_dl_cpst_offset_ads0" pos="29:28" rst="0">
  55493. </bits>
  55494. <bits access="r" name="rfdl_dqs_in_pos_qtr_cnt_ads0" pos="27:26" rst="0">
  55495. </bits>
  55496. <bits access="rw" name="rf_dqs_in_pos_qtr_dl_sel_ads0" pos="25:24" rst="0">
  55497. </bits>
  55498. <bits access="rw" name="rf_dqs_in_pos_raw_dl_cpst_offset_ads0" pos="23:16" rst="0">
  55499. </bits>
  55500. <bits access="r" name="rfdl_dqs_in_pos_raw_cnt_ads0" pos="15:8" rst="0">
  55501. </bits>
  55502. <bits access="rw" name="rf_dqs_in_pos_raw_dl_sel_ads0" pos="7:0" rst="0">
  55503. </bits>
  55504. </reg>
  55505. <reg name="psram_rf_cfg_dll_dl_2_wr_ads0" protect="rw">
  55506. <bits access="rw" name="rf_dqs_in_neg_dl_cpst_en_ads0" pos="31" rst="0">
  55507. </bits>
  55508. <bits access="rw" name="rf_dqs_in_neg_dl_cpst_minus_ads0" pos="30" rst="0">
  55509. </bits>
  55510. <bits access="rw" name="rf_dqs_in_neg_qtr_dl_cpst_offset_ads0" pos="29:28" rst="0">
  55511. </bits>
  55512. <bits access="r" name="rfdl_dqs_in_neg_qtr_cnt_ads0" pos="27:26" rst="0">
  55513. </bits>
  55514. <bits access="rw" name="rf_dqs_in_neg_qtr_dl_sel_ads0" pos="25:24" rst="0">
  55515. </bits>
  55516. <bits access="rw" name="rf_dqs_in_neg_raw_dl_cpst_offset_ads0" pos="23:16" rst="0">
  55517. </bits>
  55518. <bits access="r" name="rfdl_dqs_in_neg_raw_cnt_ads0" pos="15:8" rst="0">
  55519. </bits>
  55520. <bits access="rw" name="rf_dqs_in_neg_raw_dl_sel_ads0" pos="7:0" rst="0">
  55521. </bits>
  55522. </reg>
  55523. <reg name="psram_rf_cfg_dll_dl_3_wr_ads0" protect="rw">
  55524. <bits access="rw" name="rf_dqs_gate_dl_cpst_en_ads0" pos="31" rst="0">
  55525. </bits>
  55526. <bits access="rw" name="rf_dqs_gate_dl_cpst_minus_ads0" pos="30" rst="0">
  55527. </bits>
  55528. <bits access="rw" name="rf_dqs_gate_qtr_dl_cpst_offset_ads0" pos="29:28" rst="0">
  55529. </bits>
  55530. <bits access="r" name="rfdl_dqs_gate_qtr_cnt_ads0" pos="27:26" rst="0">
  55531. </bits>
  55532. <bits access="rw" name="rf_dqs_gate_qtr_dl_sel_ads0" pos="25:24" rst="0">
  55533. </bits>
  55534. <bits access="rw" name="rf_dqs_gate_raw_dl_cpst_offset_ads0" pos="23:16" rst="0">
  55535. </bits>
  55536. <bits access="r" name="rfdl_dqs_gate_raw_cnt_ads0" pos="15:8" rst="0">
  55537. </bits>
  55538. <bits access="rw" name="rf_dqs_gate_raw_dl_sel_ads0" pos="7:0" rst="0">
  55539. </bits>
  55540. </reg>
  55541. <reg name="psram_rf_cfg_dll_dl_4_wr_ads0" protect="rw">
  55542. <bits access="rw" name="rf_dly_out_cen_dl_sel_ads0" pos="12:8" rst="0">
  55543. </bits>
  55544. <bits access="rw" name="rf_dly_out_clk_dl_sel_ads0" pos="4:0" rst="0">
  55545. </bits>
  55546. </reg>
  55547. <reg name="psram_rf_cfg_dll_dl_5_wr_ads0" protect="rw">
  55548. <bits access="rw" name="rf_dly_out_d3_dl_sel_ads0" pos="28:24" rst="0">
  55549. </bits>
  55550. <bits access="rw" name="rf_dly_out_d2_dl_sel_ads0" pos="20:16" rst="0">
  55551. </bits>
  55552. <bits access="rw" name="rf_dly_out_d1_dl_sel_ads0" pos="12:8" rst="0">
  55553. </bits>
  55554. <bits access="rw" name="rf_dly_out_d0_dl_sel_ads0" pos="4:0" rst="0">
  55555. </bits>
  55556. </reg>
  55557. <reg name="psram_rf_cfg_dll_dl_6_wr_ads0" protect="rw">
  55558. <bits access="rw" name="rf_dly_out_d7_dl_sel_ads0" pos="28:24" rst="0">
  55559. </bits>
  55560. <bits access="rw" name="rf_dly_out_d6_dl_sel_ads0" pos="20:16" rst="0">
  55561. </bits>
  55562. <bits access="rw" name="rf_dly_out_d5_dl_sel_ads0" pos="12:8" rst="0">
  55563. </bits>
  55564. <bits access="rw" name="rf_dly_out_d4_dl_sel_ads0" pos="4:0" rst="0">
  55565. </bits>
  55566. </reg>
  55567. <reg name="psram_rf_cfg_dll_dl_7_wr_ads0" protect="rw">
  55568. <bits access="rw" name="rf_dly_in_d3_dl_sel_ads0" pos="28:24" rst="0">
  55569. </bits>
  55570. <bits access="rw" name="rf_dly_in_d2_dl_sel_ads0" pos="20:16" rst="0">
  55571. </bits>
  55572. <bits access="rw" name="rf_dly_in_d1_dl_sel_ads0" pos="12:8" rst="0">
  55573. </bits>
  55574. <bits access="rw" name="rf_dly_in_d0_dl_sel_ads0" pos="4:0" rst="0">
  55575. </bits>
  55576. </reg>
  55577. <reg name="psram_rf_cfg_dll_dl_8_wr_ads0" protect="rw">
  55578. <bits access="rw" name="rf_dly_in_d7_dl_sel_ads0" pos="28:24" rst="0">
  55579. </bits>
  55580. <bits access="rw" name="rf_dly_in_d6_dl_sel_ads0" pos="20:16" rst="0">
  55581. </bits>
  55582. <bits access="rw" name="rf_dly_in_d5_dl_sel_ads0" pos="12:8" rst="0">
  55583. </bits>
  55584. <bits access="rw" name="rf_dly_in_d4_dl_sel_ads0" pos="4:0" rst="0">
  55585. </bits>
  55586. </reg>
  55587. <reg name="psram_rf_cfg_dll_dl_9_wr_ads0" protect="rw">
  55588. <bits access="rw" name="rf_dly_in_dqs_dl_sel_ads0" pos="20:16" rst="0">
  55589. </bits>
  55590. <bits access="rw" name="rf_dly_out_dqm_dl_sel_ads0" pos="12:8" rst="0">
  55591. </bits>
  55592. <bits access="rw" name="rf_dly_out_dqs_dl_sel_ads0" pos="4:0" rst="0">
  55593. </bits>
  55594. </reg>
  55595. <reg name="psram_rfdll_status_max_cnt_ads0" protect="r">
  55596. <bits access="r" name="rfdll_max_cnt_f3_ads0" pos="31:24" rst="0">
  55597. </bits>
  55598. <bits access="r" name="rfdll_max_cnt_f2_ads0" pos="23:16" rst="0">
  55599. </bits>
  55600. <bits access="r" name="rfdll_max_cnt_f1_ads0" pos="15:8" rst="0">
  55601. </bits>
  55602. <bits access="r" name="rfdll_max_cnt_f0_ads0" pos="7:0" rst="0">
  55603. </bits>
  55604. </reg>
  55605. <reg name="psram_rfdll_status_min_cnt_ads0" protect="r">
  55606. <bits access="r" name="rfdll_min_cnt_f3_ads0" pos="31:24" rst="255">
  55607. </bits>
  55608. <bits access="r" name="rfdll_min_cnt_f2_ads0" pos="23:16" rst="255">
  55609. </bits>
  55610. <bits access="r" name="rfdll_min_cnt_f1_ads0" pos="15:8" rst="255">
  55611. </bits>
  55612. <bits access="r" name="rfdll_min_cnt_f0_ads0" pos="7:0" rst="255">
  55613. </bits>
  55614. </reg>
  55615. <reg name="psram_rf_cfg_phy_iomux_sel_wr_ads0" protect="rw">
  55616. <bits access="rw" name="rf_phy_io_csn_sel_ads0" pos="20" rst="0">
  55617. </bits>
  55618. <bits access="rw" name="rf_phy_io_clk_sel_ads0" pos="16" rst="0">
  55619. </bits>
  55620. <bits access="rw" name="rf_phy_io_dqs_sel_ads0" pos="9" rst="0">
  55621. </bits>
  55622. <bits access="rw" name="rf_phy_io_dqm_sel_ads0" pos="8" rst="0">
  55623. </bits>
  55624. <bits access="rw" name="rf_phy_io_d7_sel_ads0" pos="7" rst="0">
  55625. </bits>
  55626. <bits access="rw" name="rf_phy_io_d6_sel_ads0" pos="6" rst="0">
  55627. </bits>
  55628. <bits access="rw" name="rf_phy_io_d5_sel_ads0" pos="5" rst="0">
  55629. </bits>
  55630. <bits access="rw" name="rf_phy_io_d4_sel_ads0" pos="4" rst="0">
  55631. </bits>
  55632. <bits access="rw" name="rf_phy_io_d3_sel_ads0" pos="3" rst="0">
  55633. </bits>
  55634. <bits access="rw" name="rf_phy_io_d2_sel_ads0" pos="2" rst="0">
  55635. </bits>
  55636. <bits access="rw" name="rf_phy_io_d1_sel_ads0" pos="1" rst="0">
  55637. </bits>
  55638. <bits access="rw" name="rf_phy_io_d0_sel_ads0" pos="0" rst="0">
  55639. </bits>
  55640. </reg>
  55641. <reg name="psram_rf_cfg_phy_iomux_ie_wr_ads0" protect="rw">
  55642. <bits access="rw" name="rf_phy_io_csn_ie_ads0" pos="20" rst="0">
  55643. </bits>
  55644. <bits access="rw" name="rf_phy_io_clk_ie_ads0" pos="16" rst="0">
  55645. </bits>
  55646. <bits access="rw" name="rf_phy_io_dqs_ie_ads0" pos="9" rst="0">
  55647. </bits>
  55648. <bits access="rw" name="rf_phy_io_dqm_ie_ads0" pos="8" rst="0">
  55649. </bits>
  55650. <bits access="rw" name="rf_phy_io_d7_ie_ads0" pos="7" rst="0">
  55651. </bits>
  55652. <bits access="rw" name="rf_phy_io_d6_ie_ads0" pos="6" rst="0">
  55653. </bits>
  55654. <bits access="rw" name="rf_phy_io_d5_ie_ads0" pos="5" rst="0">
  55655. </bits>
  55656. <bits access="rw" name="rf_phy_io_d4_ie_ads0" pos="4" rst="0">
  55657. </bits>
  55658. <bits access="rw" name="rf_phy_io_d3_ie_ads0" pos="3" rst="0">
  55659. </bits>
  55660. <bits access="rw" name="rf_phy_io_d2_ie_ads0" pos="2" rst="0">
  55661. </bits>
  55662. <bits access="rw" name="rf_phy_io_d1_ie_ads0" pos="1" rst="0">
  55663. </bits>
  55664. <bits access="rw" name="rf_phy_io_d0_ie_ads0" pos="0" rst="0">
  55665. </bits>
  55666. </reg>
  55667. <reg name="psram_rf_cfg_phy_iomux_oe_wr_ads0" protect="rw">
  55668. <bits access="rw" name="rf_phy_io_csn_oe_ads0" pos="20" rst="0">
  55669. </bits>
  55670. <bits access="rw" name="rf_phy_io_clk_oe_ads0" pos="16" rst="0">
  55671. </bits>
  55672. <bits access="rw" name="rf_phy_io_dqs_oe_ads0" pos="9" rst="0">
  55673. </bits>
  55674. <bits access="rw" name="rf_phy_io_dqm_oe_ads0" pos="8" rst="0">
  55675. </bits>
  55676. <bits access="rw" name="rf_phy_io_d7_oe_ads0" pos="7" rst="0">
  55677. </bits>
  55678. <bits access="rw" name="rf_phy_io_d6_oe_ads0" pos="6" rst="0">
  55679. </bits>
  55680. <bits access="rw" name="rf_phy_io_d5_oe_ads0" pos="5" rst="0">
  55681. </bits>
  55682. <bits access="rw" name="rf_phy_io_d4_oe_ads0" pos="4" rst="0">
  55683. </bits>
  55684. <bits access="rw" name="rf_phy_io_d3_oe_ads0" pos="3" rst="0">
  55685. </bits>
  55686. <bits access="rw" name="rf_phy_io_d2_oe_ads0" pos="2" rst="0">
  55687. </bits>
  55688. <bits access="rw" name="rf_phy_io_d1_oe_ads0" pos="1" rst="0">
  55689. </bits>
  55690. <bits access="rw" name="rf_phy_io_d0_oe_ads0" pos="0" rst="0">
  55691. </bits>
  55692. </reg>
  55693. <reg name="psram_rf_cfg_phy_iomux_out_wr_ads0" protect="rw">
  55694. <bits access="rw" name="rf_phy_io_csn_out_ads0" pos="20" rst="0">
  55695. </bits>
  55696. <bits access="rw" name="rf_phy_io_clk_out_ads0" pos="16" rst="0">
  55697. </bits>
  55698. <bits access="rw" name="rf_phy_io_dqs_out_ads0" pos="9" rst="0">
  55699. </bits>
  55700. <bits access="rw" name="rf_phy_io_dqm_out_ads0" pos="8" rst="0">
  55701. </bits>
  55702. <bits access="rw" name="rf_phy_io_d7_out_ads0" pos="7" rst="0">
  55703. </bits>
  55704. <bits access="rw" name="rf_phy_io_d6_out_ads0" pos="6" rst="0">
  55705. </bits>
  55706. <bits access="rw" name="rf_phy_io_d5_out_ads0" pos="5" rst="0">
  55707. </bits>
  55708. <bits access="rw" name="rf_phy_io_d4_out_ads0" pos="4" rst="0">
  55709. </bits>
  55710. <bits access="rw" name="rf_phy_io_d3_out_ads0" pos="3" rst="0">
  55711. </bits>
  55712. <bits access="rw" name="rf_phy_io_d2_out_ads0" pos="2" rst="0">
  55713. </bits>
  55714. <bits access="rw" name="rf_phy_io_d1_out_ads0" pos="1" rst="0">
  55715. </bits>
  55716. <bits access="rw" name="rf_phy_io_d0_out_ads0" pos="0" rst="0">
  55717. </bits>
  55718. </reg>
  55719. <hole size="1472"/>
  55720. <reg name="psram_rf_cfg_dll_ads1" protect="rw">
  55721. <bits access="rw" name="rf_dll_lock_wait_ads1" pos="31:28" rst="0">
  55722. </bits>
  55723. <bits access="rw" name="rf_dll_auto_err_clr_en_ads1" pos="27" rst="0">
  55724. </bits>
  55725. <bits access="rw" name="rf_dll_pd_cnt_ads1" pos="26:24" rst="0">
  55726. </bits>
  55727. <bits access="rw" name="rf_dl_cpst_thr_ads1" pos="23:16" rst="0">
  55728. </bits>
  55729. <bits access="rw" name="rf_dll_en_ads1" pos="15" rst="0">
  55730. </bits>
  55731. <bits access="rw" name="rf_dll_clk_sel_ads1" pos="14" rst="0">
  55732. </bits>
  55733. <bits access="w" name="rf_dll_err_clr_ads1" pos="13" rst="0">
  55734. </bits>
  55735. <bits access="rw" name="rf_dl_cpst_auto_ref_en_ads1" pos="12" rst="0">
  55736. </bits>
  55737. <bits access="rw" name="rf_dl_cpst_start_ads1" pos="11" rst="0">
  55738. </bits>
  55739. <bits access="rw" name="rf_dl_cpst_en_ads1" pos="10" rst="0">
  55740. </bits>
  55741. <bits access="rw" name="rf_dll_auto_clr_en_ads1" pos="9" rst="0">
  55742. </bits>
  55743. <bits access="rw" name="rf_dll_clr_ads1" pos="8" rst="0">
  55744. </bits>
  55745. </reg>
  55746. <reg name="psram_rfdll_status_dll_ads1" protect="r">
  55747. <bits access="r" name="rfdll_error_ads1" pos="29" rst="0">
  55748. </bits>
  55749. <bits access="r" name="rfdll_locked_ads1" pos="28" rst="0">
  55750. </bits>
  55751. <bits access="r" name="rfdll_st_ads1" pos="27:25" rst="0">
  55752. </bits>
  55753. <bits access="r" name="rfdl_cpst_st_ads1" pos="24" rst="0">
  55754. </bits>
  55755. <bits access="r" name="rfdll_cnt_ads1" pos="7:0" rst="0">
  55756. </bits>
  55757. </reg>
  55758. <reg name="psram_rf_cfg_dll_dl_0_wr_ads1" protect="rw">
  55759. <bits access="rw" name="rf_clkwr_dl_cpst_en_ads1" pos="31" rst="0">
  55760. </bits>
  55761. <bits access="rw" name="rf_clkwr_dl_cpst_minus_ads1" pos="30" rst="0">
  55762. </bits>
  55763. <bits access="rw" name="rf_clkwr_qtr_dl_cpst_offset_ads1" pos="29:28" rst="0">
  55764. </bits>
  55765. <bits access="r" name="rfdl_clkwr_qtr_cnt_ads1" pos="27:26" rst="0">
  55766. </bits>
  55767. <bits access="rw" name="rf_clkwr_qtr_dl_sel_ads1" pos="25:24" rst="0">
  55768. </bits>
  55769. <bits access="rw" name="rf_clkwr_raw_dl_cpst_offset_ads1" pos="23:16" rst="0">
  55770. </bits>
  55771. <bits access="r" name="rfdl_clkwr_raw_cnt_ads1" pos="15:8" rst="0">
  55772. </bits>
  55773. <bits access="rw" name="rf_clkwr_raw_dl_sel_ads1" pos="7:0" rst="0">
  55774. </bits>
  55775. </reg>
  55776. <reg name="psram_rf_cfg_dll_dl_1_wr_ads1" protect="rw">
  55777. <bits access="rw" name="rf_dqs_in_pos_dl_cpst_en_ads1" pos="31" rst="0">
  55778. </bits>
  55779. <bits access="rw" name="rf_dqs_in_pos_dl_cpst_minus_ads1" pos="30" rst="0">
  55780. </bits>
  55781. <bits access="rw" name="rf_dqs_in_pos_qtr_dl_cpst_offset_ads1" pos="29:28" rst="0">
  55782. </bits>
  55783. <bits access="r" name="rfdl_dqs_in_pos_qtr_cnt_ads1" pos="27:26" rst="0">
  55784. </bits>
  55785. <bits access="rw" name="rf_dqs_in_pos_qtr_dl_sel_ads1" pos="25:24" rst="0">
  55786. </bits>
  55787. <bits access="rw" name="rf_dqs_in_pos_raw_dl_cpst_offset_ads1" pos="23:16" rst="0">
  55788. </bits>
  55789. <bits access="r" name="rfdl_dqs_in_pos_raw_cnt_ads1" pos="15:8" rst="0">
  55790. </bits>
  55791. <bits access="rw" name="rf_dqs_in_pos_raw_dl_sel_ads1" pos="7:0" rst="0">
  55792. </bits>
  55793. </reg>
  55794. <reg name="psram_rf_cfg_dll_dl_2_wr_ads1" protect="rw">
  55795. <bits access="rw" name="rf_dqs_in_neg_dl_cpst_en_ads1" pos="31" rst="0">
  55796. </bits>
  55797. <bits access="rw" name="rf_dqs_in_neg_dl_cpst_minus_ads1" pos="30" rst="0">
  55798. </bits>
  55799. <bits access="rw" name="rf_dqs_in_neg_qtr_dl_cpst_offset_ads1" pos="29:28" rst="0">
  55800. </bits>
  55801. <bits access="r" name="rfdl_dqs_in_neg_qtr_cnt_ads1" pos="27:26" rst="0">
  55802. </bits>
  55803. <bits access="rw" name="rf_dqs_in_neg_qtr_dl_sel_ads1" pos="25:24" rst="0">
  55804. </bits>
  55805. <bits access="rw" name="rf_dqs_in_neg_raw_dl_cpst_offset_ads1" pos="23:16" rst="0">
  55806. </bits>
  55807. <bits access="r" name="rfdl_dqs_in_neg_raw_cnt_ads1" pos="15:8" rst="0">
  55808. </bits>
  55809. <bits access="rw" name="rf_dqs_in_neg_raw_dl_sel_ads1" pos="7:0" rst="0">
  55810. </bits>
  55811. </reg>
  55812. <reg name="psram_rf_cfg_dll_dl_3_wr_ads1" protect="rw">
  55813. <bits access="rw" name="rf_dqs_gate_dl_cpst_en_ads1" pos="31" rst="0">
  55814. </bits>
  55815. <bits access="rw" name="rf_dqs_gate_dl_cpst_minus_ads1" pos="30" rst="0">
  55816. </bits>
  55817. <bits access="rw" name="rf_dqs_gate_qtr_dl_cpst_offset_ads1" pos="29:28" rst="0">
  55818. </bits>
  55819. <bits access="r" name="rfdl_dqs_gate_qtr_cnt_ads1" pos="27:26" rst="0">
  55820. </bits>
  55821. <bits access="rw" name="rf_dqs_gate_qtr_dl_sel_ads1" pos="25:24" rst="0">
  55822. </bits>
  55823. <bits access="rw" name="rf_dqs_gate_raw_dl_cpst_offset_ads1" pos="23:16" rst="0">
  55824. </bits>
  55825. <bits access="r" name="rfdl_dqs_gate_raw_cnt_ads1" pos="15:8" rst="0">
  55826. </bits>
  55827. <bits access="rw" name="rf_dqs_gate_raw_dl_sel_ads1" pos="7:0" rst="0">
  55828. </bits>
  55829. </reg>
  55830. <reg name="psram_rf_cfg_dll_dl_4_wr_ads1" protect="rw">
  55831. <bits access="rw" name="rf_dly_out_cen_dl_sel_ads1" pos="12:8" rst="0">
  55832. </bits>
  55833. <bits access="rw" name="rf_dly_out_clk_dl_sel_ads1" pos="4:0" rst="0">
  55834. </bits>
  55835. </reg>
  55836. <reg name="psram_rf_cfg_dll_dl_5_wr_ads1" protect="rw">
  55837. <bits access="rw" name="rf_dly_out_d3_dl_sel_ads1" pos="28:24" rst="0">
  55838. </bits>
  55839. <bits access="rw" name="rf_dly_out_d2_dl_sel_ads1" pos="20:16" rst="0">
  55840. </bits>
  55841. <bits access="rw" name="rf_dly_out_d1_dl_sel_ads1" pos="12:8" rst="0">
  55842. </bits>
  55843. <bits access="rw" name="rf_dly_out_d0_dl_sel_ads1" pos="4:0" rst="0">
  55844. </bits>
  55845. </reg>
  55846. <reg name="psram_rf_cfg_dll_dl_6_wr_ads1" protect="rw">
  55847. <bits access="rw" name="rf_dly_out_d7_dl_sel_ads1" pos="28:24" rst="0">
  55848. </bits>
  55849. <bits access="rw" name="rf_dly_out_d6_dl_sel_ads1" pos="20:16" rst="0">
  55850. </bits>
  55851. <bits access="rw" name="rf_dly_out_d5_dl_sel_ads1" pos="12:8" rst="0">
  55852. </bits>
  55853. <bits access="rw" name="rf_dly_out_d4_dl_sel_ads1" pos="4:0" rst="0">
  55854. </bits>
  55855. </reg>
  55856. <reg name="psram_rf_cfg_dll_dl_7_wr_ads1" protect="rw">
  55857. <bits access="rw" name="rf_dly_in_d3_dl_sel_ads1" pos="28:24" rst="0">
  55858. </bits>
  55859. <bits access="rw" name="rf_dly_in_d2_dl_sel_ads1" pos="20:16" rst="0">
  55860. </bits>
  55861. <bits access="rw" name="rf_dly_in_d1_dl_sel_ads1" pos="12:8" rst="0">
  55862. </bits>
  55863. <bits access="rw" name="rf_dly_in_d0_dl_sel_ads1" pos="4:0" rst="0">
  55864. </bits>
  55865. </reg>
  55866. <reg name="psram_rf_cfg_dll_dl_8_wr_ads1" protect="rw">
  55867. <bits access="rw" name="rf_dly_in_d7_dl_sel_ads1" pos="28:24" rst="0">
  55868. </bits>
  55869. <bits access="rw" name="rf_dly_in_d6_dl_sel_ads1" pos="20:16" rst="0">
  55870. </bits>
  55871. <bits access="rw" name="rf_dly_in_d5_dl_sel_ads1" pos="12:8" rst="0">
  55872. </bits>
  55873. <bits access="rw" name="rf_dly_in_d4_dl_sel_ads1" pos="4:0" rst="0">
  55874. </bits>
  55875. </reg>
  55876. <reg name="psram_rf_cfg_dll_dl_9_wr_ads1" protect="rw">
  55877. <bits access="rw" name="rf_dly_in_dqs_dl_sel_ads1" pos="20:16" rst="0">
  55878. </bits>
  55879. <bits access="rw" name="rf_dly_out_dqm_dl_sel_ads1" pos="12:8" rst="0">
  55880. </bits>
  55881. <bits access="rw" name="rf_dly_out_dqs_dl_sel_ads1" pos="4:0" rst="0">
  55882. </bits>
  55883. </reg>
  55884. <reg name="psram_rfdll_status_max_cnt_ads1" protect="r">
  55885. <bits access="r" name="rfdll_max_cnt_f3_ads1" pos="31:24" rst="0">
  55886. </bits>
  55887. <bits access="r" name="rfdll_max_cnt_f2_ads1" pos="23:16" rst="0">
  55888. </bits>
  55889. <bits access="r" name="rfdll_max_cnt_f1_ads1" pos="15:8" rst="0">
  55890. </bits>
  55891. <bits access="r" name="rfdll_max_cnt_f0_ads1" pos="7:0" rst="0">
  55892. </bits>
  55893. </reg>
  55894. <reg name="psram_rfdll_status_min_cnt_ads1" protect="r">
  55895. <bits access="r" name="rfdll_min_cnt_f3_ads1" pos="31:24" rst="255">
  55896. </bits>
  55897. <bits access="r" name="rfdll_min_cnt_f2_ads1" pos="23:16" rst="255">
  55898. </bits>
  55899. <bits access="r" name="rfdll_min_cnt_f1_ads1" pos="15:8" rst="255">
  55900. </bits>
  55901. <bits access="r" name="rfdll_min_cnt_f0_ads1" pos="7:0" rst="255">
  55902. </bits>
  55903. </reg>
  55904. <reg name="psram_rf_cfg_phy_iomux_sel_wr_ads1" protect="rw">
  55905. <bits access="rw" name="rf_phy_io_csn_sel_ads1" pos="20" rst="0">
  55906. </bits>
  55907. <bits access="rw" name="rf_phy_io_clk_sel_ads1" pos="16" rst="0">
  55908. </bits>
  55909. <bits access="rw" name="rf_phy_io_dqs_sel_ads1" pos="9" rst="0">
  55910. </bits>
  55911. <bits access="rw" name="rf_phy_io_dqm_sel_ads1" pos="8" rst="0">
  55912. </bits>
  55913. <bits access="rw" name="rf_phy_io_d7_sel_ads1" pos="7" rst="0">
  55914. </bits>
  55915. <bits access="rw" name="rf_phy_io_d6_sel_ads1" pos="6" rst="0">
  55916. </bits>
  55917. <bits access="rw" name="rf_phy_io_d5_sel_ads1" pos="5" rst="0">
  55918. </bits>
  55919. <bits access="rw" name="rf_phy_io_d4_sel_ads1" pos="4" rst="0">
  55920. </bits>
  55921. <bits access="rw" name="rf_phy_io_d3_sel_ads1" pos="3" rst="0">
  55922. </bits>
  55923. <bits access="rw" name="rf_phy_io_d2_sel_ads1" pos="2" rst="0">
  55924. </bits>
  55925. <bits access="rw" name="rf_phy_io_d1_sel_ads1" pos="1" rst="0">
  55926. </bits>
  55927. <bits access="rw" name="rf_phy_io_d0_sel_ads1" pos="0" rst="0">
  55928. </bits>
  55929. </reg>
  55930. <reg name="psram_rf_cfg_phy_iomux_ie_wr_ads1" protect="rw">
  55931. <bits access="rw" name="rf_phy_io_csn_ie_ads1" pos="20" rst="0">
  55932. </bits>
  55933. <bits access="rw" name="rf_phy_io_clk_ie_ads1" pos="16" rst="0">
  55934. </bits>
  55935. <bits access="rw" name="rf_phy_io_dqs_ie_ads1" pos="9" rst="0">
  55936. </bits>
  55937. <bits access="rw" name="rf_phy_io_dqm_ie_ads1" pos="8" rst="0">
  55938. </bits>
  55939. <bits access="rw" name="rf_phy_io_d7_ie_ads1" pos="7" rst="0">
  55940. </bits>
  55941. <bits access="rw" name="rf_phy_io_d6_ie_ads1" pos="6" rst="0">
  55942. </bits>
  55943. <bits access="rw" name="rf_phy_io_d5_ie_ads1" pos="5" rst="0">
  55944. </bits>
  55945. <bits access="rw" name="rf_phy_io_d4_ie_ads1" pos="4" rst="0">
  55946. </bits>
  55947. <bits access="rw" name="rf_phy_io_d3_ie_ads1" pos="3" rst="0">
  55948. </bits>
  55949. <bits access="rw" name="rf_phy_io_d2_ie_ads1" pos="2" rst="0">
  55950. </bits>
  55951. <bits access="rw" name="rf_phy_io_d1_ie_ads1" pos="1" rst="0">
  55952. </bits>
  55953. <bits access="rw" name="rf_phy_io_d0_ie_ads1" pos="0" rst="0">
  55954. </bits>
  55955. </reg>
  55956. <reg name="psram_rf_cfg_phy_iomux_oe_wr_ads1" protect="rw">
  55957. <bits access="rw" name="rf_phy_io_csn_oe_ads1" pos="20" rst="0">
  55958. </bits>
  55959. <bits access="rw" name="rf_phy_io_clk_oe_ads1" pos="16" rst="0">
  55960. </bits>
  55961. <bits access="rw" name="rf_phy_io_dqs_oe_ads1" pos="9" rst="0">
  55962. </bits>
  55963. <bits access="rw" name="rf_phy_io_dqm_oe_ads1" pos="8" rst="0">
  55964. </bits>
  55965. <bits access="rw" name="rf_phy_io_d7_oe_ads1" pos="7" rst="0">
  55966. </bits>
  55967. <bits access="rw" name="rf_phy_io_d6_oe_ads1" pos="6" rst="0">
  55968. </bits>
  55969. <bits access="rw" name="rf_phy_io_d5_oe_ads1" pos="5" rst="0">
  55970. </bits>
  55971. <bits access="rw" name="rf_phy_io_d4_oe_ads1" pos="4" rst="0">
  55972. </bits>
  55973. <bits access="rw" name="rf_phy_io_d3_oe_ads1" pos="3" rst="0">
  55974. </bits>
  55975. <bits access="rw" name="rf_phy_io_d2_oe_ads1" pos="2" rst="0">
  55976. </bits>
  55977. <bits access="rw" name="rf_phy_io_d1_oe_ads1" pos="1" rst="0">
  55978. </bits>
  55979. <bits access="rw" name="rf_phy_io_d0_oe_ads1" pos="0" rst="0">
  55980. </bits>
  55981. </reg>
  55982. <reg name="psram_rf_cfg_phy_iomux_out_wr_ads1" protect="rw">
  55983. <bits access="rw" name="rf_phy_io_csn_out_ads1" pos="20" rst="0">
  55984. </bits>
  55985. <bits access="rw" name="rf_phy_io_clk_out_ads1" pos="16" rst="0">
  55986. </bits>
  55987. <bits access="rw" name="rf_phy_io_dqs_out_ads1" pos="9" rst="0">
  55988. </bits>
  55989. <bits access="rw" name="rf_phy_io_dqm_out_ads1" pos="8" rst="0">
  55990. </bits>
  55991. <bits access="rw" name="rf_phy_io_d7_out_ads1" pos="7" rst="0">
  55992. </bits>
  55993. <bits access="rw" name="rf_phy_io_d6_out_ads1" pos="6" rst="0">
  55994. </bits>
  55995. <bits access="rw" name="rf_phy_io_d5_out_ads1" pos="5" rst="0">
  55996. </bits>
  55997. <bits access="rw" name="rf_phy_io_d4_out_ads1" pos="4" rst="0">
  55998. </bits>
  55999. <bits access="rw" name="rf_phy_io_d3_out_ads1" pos="3" rst="0">
  56000. </bits>
  56001. <bits access="rw" name="rf_phy_io_d2_out_ads1" pos="2" rst="0">
  56002. </bits>
  56003. <bits access="rw" name="rf_phy_io_d1_out_ads1" pos="1" rst="0">
  56004. </bits>
  56005. <bits access="rw" name="rf_phy_io_d0_out_ads1" pos="0" rst="0">
  56006. </bits>
  56007. </reg>
  56008. <hole size="1472"/>
  56009. <reg name="psram_drf_cfg" protect="rw">
  56010. <bits access="rw" name="drf_clkdmem_out_sel" pos="0" rst="0">
  56011. </bits>
  56012. </reg>
  56013. <reg name="psram_drf_cfg_reg_sel" protect="rw">
  56014. <bits access="rw" name="drf_reg_sel" pos="1:0" rst="0">
  56015. </bits>
  56016. </reg>
  56017. <reg name="psram_drf_cfg_dqs_ie_sel_f0" protect="rw">
  56018. <bits access="rw" name="drf_dqs_ie_sel_f0" pos="15:0" rst="0">
  56019. </bits>
  56020. </reg>
  56021. <reg name="psram_drf_cfg_dqs_oe_sel_f0" protect="rw">
  56022. <bits access="rw" name="drf_dqs_oe_sel_f0" pos="15:0" rst="0">
  56023. </bits>
  56024. </reg>
  56025. <reg name="psram_drf_cfg_dqs_out_sel_f0" protect="rw">
  56026. <bits access="rw" name="drf_dqs_out_sel_f0" pos="15:0" rst="0">
  56027. </bits>
  56028. </reg>
  56029. <reg name="psram_drf_cfg_dqs_gate_sel_f0" protect="rw">
  56030. <bits access="rw" name="drf_dqs_gate_sel_f0" pos="15:0" rst="0">
  56031. </bits>
  56032. </reg>
  56033. <reg name="psram_drf_cfg_data_ie_sel_f0" protect="rw">
  56034. <bits access="rw" name="drf_data_ie_sel_f0" pos="15:0" rst="0">
  56035. </bits>
  56036. </reg>
  56037. <reg name="psram_drf_cfg_data_oe_sel_f0" protect="rw">
  56038. <bits access="rw" name="drf_data_oe_sel_f0" pos="15:0" rst="0">
  56039. </bits>
  56040. </reg>
  56041. <reg name="psram_drf_cfg_dqs_ie_sel_f1" protect="rw">
  56042. <bits access="rw" name="drf_dqs_ie_sel_f1" pos="15:0" rst="0">
  56043. </bits>
  56044. </reg>
  56045. <reg name="psram_drf_cfg_dqs_oe_sel_f1" protect="rw">
  56046. <bits access="rw" name="drf_dqs_oe_sel_f1" pos="15:0" rst="0">
  56047. </bits>
  56048. </reg>
  56049. <reg name="psram_drf_cfg_dqs_out_sel_f1" protect="rw">
  56050. <bits access="rw" name="drf_dqs_out_sel_f1" pos="15:0" rst="0">
  56051. </bits>
  56052. </reg>
  56053. <reg name="psram_drf_cfg_dqs_gate_sel_f1" protect="rw">
  56054. <bits access="rw" name="drf_dqs_gate_sel_f1" pos="15:0" rst="0">
  56055. </bits>
  56056. </reg>
  56057. <reg name="psram_drf_cfg_data_ie_sel_f1" protect="rw">
  56058. <bits access="rw" name="drf_data_ie_sel_f1" pos="15:0" rst="0">
  56059. </bits>
  56060. </reg>
  56061. <reg name="psram_drf_cfg_data_oe_sel_f1" protect="rw">
  56062. <bits access="rw" name="drf_data_oe_sel_f1" pos="15:0" rst="0">
  56063. </bits>
  56064. </reg>
  56065. <reg name="psram_drf_cfg_dqs_ie_sel_f2" protect="rw">
  56066. <bits access="rw" name="drf_dqs_ie_sel_f2" pos="15:0" rst="0">
  56067. </bits>
  56068. </reg>
  56069. <reg name="psram_drf_cfg_dqs_oe_sel_f2" protect="rw">
  56070. <bits access="rw" name="drf_dqs_oe_sel_f2" pos="15:0" rst="0">
  56071. </bits>
  56072. </reg>
  56073. <reg name="psram_drf_cfg_dqs_out_sel_f2" protect="rw">
  56074. <bits access="rw" name="drf_dqs_out_sel_f2" pos="15:0" rst="0">
  56075. </bits>
  56076. </reg>
  56077. <reg name="psram_drf_cfg_dqs_gate_sel_f2" protect="rw">
  56078. <bits access="rw" name="drf_dqs_gate_sel_f2" pos="15:0" rst="0">
  56079. </bits>
  56080. </reg>
  56081. <reg name="psram_drf_cfg_data_ie_sel_f2" protect="rw">
  56082. <bits access="rw" name="drf_data_ie_sel_f2" pos="15:0" rst="0">
  56083. </bits>
  56084. </reg>
  56085. <reg name="psram_drf_cfg_data_oe_sel_f2" protect="rw">
  56086. <bits access="rw" name="drf_data_oe_sel_f2" pos="15:0" rst="0">
  56087. </bits>
  56088. </reg>
  56089. <reg name="psram_drf_cfg_dqs_ie_sel_f3" protect="rw">
  56090. <bits access="rw" name="drf_dqs_ie_sel_f3" pos="15:0" rst="0">
  56091. </bits>
  56092. </reg>
  56093. <reg name="psram_drf_cfg_dqs_oe_sel_f3" protect="rw">
  56094. <bits access="rw" name="drf_dqs_oe_sel_f3" pos="15:0" rst="0">
  56095. </bits>
  56096. </reg>
  56097. <reg name="psram_drf_cfg_dqs_out_sel_f3" protect="rw">
  56098. <bits access="rw" name="drf_dqs_out_sel_f3" pos="15:0" rst="0">
  56099. </bits>
  56100. </reg>
  56101. <reg name="psram_drf_cfg_dqs_gate_sel_f3" protect="rw">
  56102. <bits access="rw" name="drf_dqs_gate_sel_f3" pos="15:0" rst="0">
  56103. </bits>
  56104. </reg>
  56105. <reg name="psram_drf_cfg_data_ie_sel_f3" protect="rw">
  56106. <bits access="rw" name="drf_data_ie_sel_f3" pos="15:0" rst="0">
  56107. </bits>
  56108. </reg>
  56109. <reg name="psram_drf_cfg_data_oe_sel_f3" protect="rw">
  56110. <bits access="rw" name="drf_data_oe_sel_f3" pos="15:0" rst="0">
  56111. </bits>
  56112. </reg>
  56113. <reg name="psram_drf_cfg_dll_mode_f0" protect="rw">
  56114. <bits access="rw" name="drf_dll_satu_mode_f0" pos="2" rst="0">
  56115. </bits>
  56116. <bits access="rw" name="drf_dll_half_mode_f0" pos="1" rst="0">
  56117. </bits>
  56118. <bits access="rw" name="drf_dll_clk_mode_f0" pos="0" rst="0">
  56119. </bits>
  56120. </reg>
  56121. <reg name="psram_drf_cfg_dll_cnt_f0" protect="rw">
  56122. <bits access="rw" name="drf_dll_auto_cnt_f0" pos="29:20" rst="0">
  56123. </bits>
  56124. <bits access="rw" name="drf_dll_satu_cnt_f0" pos="19:10" rst="0">
  56125. </bits>
  56126. <bits access="rw" name="drf_dll_init_cnt_f0" pos="9:0" rst="0">
  56127. </bits>
  56128. </reg>
  56129. <reg name="psram_drf_cfg_dll_mode_f1" protect="rw">
  56130. <bits access="rw" name="drf_dll_satu_mode_f1" pos="2" rst="0">
  56131. </bits>
  56132. <bits access="rw" name="drf_dll_half_mode_f1" pos="1" rst="0">
  56133. </bits>
  56134. <bits access="rw" name="drf_dll_clk_mode_f1" pos="0" rst="0">
  56135. </bits>
  56136. </reg>
  56137. <reg name="psram_drf_cfg_dll_cnt_f1" protect="rw">
  56138. <bits access="rw" name="drf_dll_auto_cnt_f1" pos="29:20" rst="0">
  56139. </bits>
  56140. <bits access="rw" name="drf_dll_satu_cnt_f1" pos="19:10" rst="0">
  56141. </bits>
  56142. <bits access="rw" name="drf_dll_init_cnt_f1" pos="9:0" rst="0">
  56143. </bits>
  56144. </reg>
  56145. <reg name="psram_drf_cfg_dll_mode_f2" protect="rw">
  56146. <bits access="rw" name="drf_dll_satu_mode_f2" pos="2" rst="0">
  56147. </bits>
  56148. <bits access="rw" name="drf_dll_half_mode_f2" pos="1" rst="0">
  56149. </bits>
  56150. <bits access="rw" name="drf_dll_clk_mode_f2" pos="0" rst="0">
  56151. </bits>
  56152. </reg>
  56153. <reg name="psram_drf_cfg_dll_cnt_f2" protect="rw">
  56154. <bits access="rw" name="drf_dll_auto_cnt_f2" pos="29:20" rst="0">
  56155. </bits>
  56156. <bits access="rw" name="drf_dll_satu_cnt_f2" pos="19:10" rst="0">
  56157. </bits>
  56158. <bits access="rw" name="drf_dll_init_cnt_f2" pos="9:0" rst="0">
  56159. </bits>
  56160. </reg>
  56161. <reg name="psram_drf_cfg_dll_mode_f3" protect="rw">
  56162. <bits access="rw" name="drf_dll_satu_mode_f3" pos="2" rst="0">
  56163. </bits>
  56164. <bits access="rw" name="drf_dll_half_mode_f3" pos="1" rst="0">
  56165. </bits>
  56166. <bits access="rw" name="drf_dll_clk_mode_f3" pos="0" rst="0">
  56167. </bits>
  56168. </reg>
  56169. <reg name="psram_drf_cfg_dll_cnt_f3" protect="rw">
  56170. <bits access="rw" name="drf_dll_auto_cnt_f3" pos="29:20" rst="0">
  56171. </bits>
  56172. <bits access="rw" name="drf_dll_satu_cnt_f3" pos="19:10" rst="0">
  56173. </bits>
  56174. <bits access="rw" name="drf_dll_init_cnt_f3" pos="9:0" rst="0">
  56175. </bits>
  56176. </reg>
  56177. <hole size="960"/>
  56178. <reg name="psram_drf_format_control" protect="rw">
  56179. <bits access="rw" name="drf_memory_burst" pos="1:0" rst="0">
  56180. </bits>
  56181. </reg>
  56182. <reg name="psram_drf_t_rcd" protect="rw">
  56183. <bits access="rw" name="drf_t_rcd" pos="3:0" rst="0">
  56184. </bits>
  56185. </reg>
  56186. <reg name="psram_drf_t_rddata_en" protect="rw">
  56187. <bits access="rw" name="drf_t_rddata_en" pos="3:0" rst="0">
  56188. </bits>
  56189. </reg>
  56190. <reg name="psram_drf_t_phywrlat" protect="rw">
  56191. <bits access="rw" name="drf_t_phywrlat" pos="3:0" rst="0">
  56192. </bits>
  56193. </reg>
  56194. <reg name="psram_drf_t_cph_wr" protect="rw">
  56195. <bits access="rw" name="drf_t_cph_wr" pos="3:0" rst="0">
  56196. </bits>
  56197. </reg>
  56198. <reg name="psram_drf_t_cph_rd" protect="rw">
  56199. <bits access="rw" name="drf_t_cph_rd_optm" pos="4" rst="0">
  56200. </bits>
  56201. <bits access="rw" name="drf_t_cph_rd" pos="2:0" rst="0">
  56202. </bits>
  56203. </reg>
  56204. <reg name="psram_drf_t_data_oe_ext" protect="rw">
  56205. <bits access="rw" name="drf_t_data_oe_cmd_ext" pos="7:4" rst="0">
  56206. </bits>
  56207. <bits access="rw" name="drf_t_data_oe_wdata_ext" pos="3:0" rst="0">
  56208. </bits>
  56209. </reg>
  56210. <reg name="psram_drf_t_dqs_oe_ext" protect="rw">
  56211. <bits access="rw" name="drf_t_dqs_oe_ext" pos="3:0" rst="0">
  56212. </bits>
  56213. </reg>
  56214. <reg name="psram_drf_t_xphs" protect="rw">
  56215. <bits access="rw" name="drf_t_xphs" pos="4:0" rst="0">
  56216. </bits>
  56217. </reg>
  56218. <reg name="psram_drf_t_rddata_vld_sync" protect="rw">
  56219. <bits access="rw" name="drf_t_rddata_vld_sync" pos="2:0" rst="0">
  56220. </bits>
  56221. </reg>
  56222. <reg name="psram_drf_t_rddata_late" protect="rw">
  56223. <bits access="rw" name="drf_t_rddata_late" pos="4:0" rst="0">
  56224. </bits>
  56225. </reg>
  56226. <reg name="psram_drf_t_rddata_valid_early" protect="rw">
  56227. <bits access="rw" name="drf_t_rddata_valid_early" pos="1:0" rst="0">
  56228. </bits>
  56229. </reg>
  56230. <hole size="1664"/>
  56231. <reg name="psram_drf_train_cfg" protect="rw">
  56232. <bits access="rw" name="drf_dmc_rdlvl_gate_en" pos="21" rst="0">
  56233. </bits>
  56234. <bits access="rw" name="drf_phy_rdlvl_gate_en" pos="20" rst="0">
  56235. </bits>
  56236. <bits access="rw" name="drf_dmc_rdlvl_en" pos="17" rst="0">
  56237. </bits>
  56238. <bits access="rw" name="drf_phy_rdlvl_en" pos="16" rst="0">
  56239. </bits>
  56240. <bits access="rw" name="drf_dmc_wrlvl_en" pos="13" rst="0">
  56241. </bits>
  56242. <bits access="rw" name="drf_phy_wrlvl_en" pos="12" rst="0">
  56243. </bits>
  56244. <bits access="rw" name="drf_phyupd_type_3" pos="11:10" rst="0">
  56245. </bits>
  56246. <bits access="rw" name="drf_phyupd_type_2" pos="9:8" rst="0">
  56247. </bits>
  56248. <bits access="rw" name="drf_phyupd_type_1" pos="7:6" rst="0">
  56249. </bits>
  56250. <bits access="rw" name="drf_phyupd_type_0" pos="5:4" rst="0">
  56251. </bits>
  56252. <bits access="rw" name="drf_phyupd_type_sel" pos="2:1" rst="0">
  56253. </bits>
  56254. <bits access="rw" name="drf_phyupd_en" pos="0" rst="0">
  56255. </bits>
  56256. </reg>
  56257. <reg name="psram_drf_mr_data_en" protect="rw">
  56258. <bits access="rw" name="drf_mr_data_en" pos="0" rst="0">
  56259. </bits>
  56260. </reg>
  56261. <reg name="psram_drf_mr_data_0" protect="r">
  56262. <bits access="r" name="drf_mr_data_0" pos="31:0" rst="0">
  56263. </bits>
  56264. </reg>
  56265. <reg name="psram_drf_mr_data_1" protect="r">
  56266. <bits access="r" name="drf_mr_data_1" pos="31:0" rst="0">
  56267. </bits>
  56268. </reg>
  56269. <hole size="1920"/>
  56270. <reg name="psram_rf_irq_ctrl" protect="rw">
  56271. <bits access="rw" name="rf_irq_en_disc_rd_ads1" pos="20" rst="0">
  56272. </bits>
  56273. <bits access="rw" name="rf_irq_en_disc_wr_ads1" pos="19" rst="0">
  56274. </bits>
  56275. <bits access="rw" name="rf_irq_en_disc_mrr_ads1" pos="18" rst="0">
  56276. </bits>
  56277. <bits access="rw" name="rf_irq_en_disc_mrw_ads1" pos="17" rst="0">
  56278. </bits>
  56279. <bits access="rw" name="rf_irq_en_disc_rst_ads1" pos="16" rst="0">
  56280. </bits>
  56281. <bits access="rw" name="rf_irq_en_disc_rd_ads0" pos="12" rst="0">
  56282. </bits>
  56283. <bits access="rw" name="rf_irq_en_disc_wr_ads0" pos="11" rst="0">
  56284. </bits>
  56285. <bits access="rw" name="rf_irq_en_disc_mrr_ads0" pos="10" rst="0">
  56286. </bits>
  56287. <bits access="rw" name="rf_irq_en_disc_mrw_ads0" pos="9" rst="0">
  56288. </bits>
  56289. <bits access="rw" name="rf_irq_en_disc_rst_ads0" pos="8" rst="0">
  56290. </bits>
  56291. <bits access="rw" name="rf_irq_en_rddata_timeout_ads1" pos="5" rst="0">
  56292. </bits>
  56293. <bits access="rw" name="rf_irq_en_rddata_timeout_ads0" pos="4" rst="0">
  56294. </bits>
  56295. <bits access="rw" name="rf_irq_en_dll_unlock_ads1" pos="1" rst="0">
  56296. </bits>
  56297. <bits access="rw" name="rf_irq_en_dll_unlock_ads0" pos="0" rst="0">
  56298. </bits>
  56299. </reg>
  56300. <reg name="psram_rf_irq_status_clr" protect="rw">
  56301. <bits access="rw" name="rf_irq_st_clr_disc_rd_ads1" pos="20" rst="0">
  56302. </bits>
  56303. <bits access="rw" name="rf_irq_st_clr_disc_wr_ads1" pos="19" rst="0">
  56304. </bits>
  56305. <bits access="rw" name="rf_irq_st_clr_disc_mrr_ads1" pos="18" rst="0">
  56306. </bits>
  56307. <bits access="rw" name="rf_irq_st_clr_disc_mrw_ads1" pos="17" rst="0">
  56308. </bits>
  56309. <bits access="rw" name="rf_irq_st_clr_disc_rst_ads1" pos="16" rst="0">
  56310. </bits>
  56311. <bits access="rw" name="rf_irq_st_clr_disc_rd_ads0" pos="12" rst="0">
  56312. </bits>
  56313. <bits access="rw" name="rf_irq_st_clr_disc_wr_ads0" pos="11" rst="0">
  56314. </bits>
  56315. <bits access="rw" name="rf_irq_st_clr_disc_mrr_ads0" pos="10" rst="0">
  56316. </bits>
  56317. <bits access="rw" name="rf_irq_st_clr_disc_mrw_ads0" pos="9" rst="0">
  56318. </bits>
  56319. <bits access="rw" name="rf_irq_st_clr_disc_rst_ads0" pos="8" rst="0">
  56320. </bits>
  56321. <bits access="rw" name="rf_irq_st_clr_rddata_timeout_ads1" pos="5" rst="0">
  56322. </bits>
  56323. <bits access="rw" name="rf_irq_st_clr_rddata_timeout_ads0" pos="4" rst="0">
  56324. </bits>
  56325. <bits access="rw" name="rf_irq_st_clr_dll_unlock_ads1" pos="1" rst="0">
  56326. </bits>
  56327. <bits access="rw" name="rf_irq_st_clr_dll_unlock_ads0" pos="0" rst="0">
  56328. </bits>
  56329. </reg>
  56330. <reg name="psram_rf_irq_status" protect="r">
  56331. <bits access="r" name="rf_irq_st_disc_rd_ads1" pos="20" rst="0">
  56332. </bits>
  56333. <bits access="r" name="rf_irq_st_disc_wr_ads1" pos="19" rst="0">
  56334. </bits>
  56335. <bits access="r" name="rf_irq_st_disc_mrr_ads1" pos="18" rst="0">
  56336. </bits>
  56337. <bits access="r" name="rf_irq_st_disc_mrw_ads1" pos="17" rst="0">
  56338. </bits>
  56339. <bits access="r" name="rf_irq_st_disc_rst_ads1" pos="16" rst="0">
  56340. </bits>
  56341. <bits access="r" name="rf_irq_st_disc_rd_ads0" pos="12" rst="0">
  56342. </bits>
  56343. <bits access="r" name="rf_irq_st_disc_wr_ads0" pos="11" rst="0">
  56344. </bits>
  56345. <bits access="r" name="rf_irq_st_disc_mrr_ads0" pos="10" rst="0">
  56346. </bits>
  56347. <bits access="r" name="rf_irq_st_disc_mrw_ads0" pos="9" rst="0">
  56348. </bits>
  56349. <bits access="r" name="rf_irq_st_disc_rst_ads0" pos="8" rst="0">
  56350. </bits>
  56351. <bits access="r" name="rf_irq_st_rddata_timeout_ads1" pos="5" rst="0">
  56352. </bits>
  56353. <bits access="r" name="rf_irq_st_rddata_timeout_ads0" pos="4" rst="0">
  56354. </bits>
  56355. <bits access="r" name="rf_irq_st_dll_unlock_ads1" pos="1" rst="0">
  56356. </bits>
  56357. <bits access="r" name="rf_irq_st_dll_unlock_ads0" pos="0" rst="0">
  56358. </bits>
  56359. </reg>
  56360. <reg name="psram_rf_irq_cnt_clr" protect="rw">
  56361. <bits access="w" name="rf_irq_cnt_clr_dll_unlock_ads1" pos="1" rst="0">
  56362. </bits>
  56363. <bits access="w" name="rf_irq_cnt_clr_dll_unlock_ads0" pos="0" rst="0">
  56364. </bits>
  56365. </reg>
  56366. <reg name="psram_rf_irq_cnt_dll_unlock_ads0" protect="r">
  56367. <bits access="r" name="rf_irq_cnt_overflow_dll_unlock_ads0" pos="31" rst="0">
  56368. </bits>
  56369. <bits access="r" name="rf_irq_cnt_dll_unlock_ads0" pos="30:0" rst="0">
  56370. </bits>
  56371. </reg>
  56372. <reg name="psram_rf_irq_cnt_dll_unlock_ads1" protect="r">
  56373. <bits access="r" name="rf_irq_cnt_overflow_dll_unlock_ads1" pos="31" rst="0">
  56374. </bits>
  56375. <bits access="r" name="rf_irq_cnt_dll_unlock_ads1" pos="30:0" rst="0">
  56376. </bits>
  56377. </reg>
  56378. </module>
  56379. </archive>
  56380. <archive relative="lpddr_psram.xml">
  56381. <module category="Memory" name="LPDDR_MEM">
  56382. <var name="LPDDR_MEM_SIZE" value="0x04000000"/>
  56383. <memory name="lpddr_mem" size="LPDDR_MEM_SIZE">
  56384. </memory>
  56385. </module>
  56386. <module category="Memory" name="PSRAM_MEM">
  56387. <var name="PSRAM_MEM_SIZE" value="0x01000000"/>
  56388. <memory name="psram_mem" size="PSRAM_MEM_SIZE">
  56389. </memory>
  56390. </module>
  56391. </archive>
  56392. <archive relative="dbg_a5.xml">
  56393. <module category="Debug" name="DBG_A5">
  56394. <reg name="dbgdidr" protect="r">
  56395. <bits access="r" name="wrp" pos="31:28" rst="1">
  56396. <comment>Number of Watchpoint Register Pairs:
  56397. For the Cortex-A5 processor, this field reads as b0001 to indicate two WRPs are
  56398. implemented.</comment>
  56399. </bits>
  56400. <bits access="r" name="brp" pos="27:24" rst="2">
  56401. <comment>Number of Breakpoint Register Pairs:
  56402. For the Cortex-A5 processor, this field reads as b0010 to indicate three BRPs are
  56403. implemented.</comment>
  56404. </bits>
  56405. <bits access="r" name="context" pos="23:20" rst="0">
  56406. <comment>Number of Breakpoint Register Pairs with context ID comparison capability:
  56407. For the Cortex-A5 processor, this field reads as b0000 to indicate one BRP has context ID
  56408. capability.</comment>
  56409. </bits>
  56410. <bits access="r" name="dbg_arch_ver" pos="19:16" rst="3">
  56411. <comment>Debug architecture version:
  56412. b0011 = ARMv7 Debug with Extended CP14 interface implemented.</comment>
  56413. </bits>
  56414. <bits access="r" name="devid_imp" pos="15" rst="1">
  56415. <comment>For the Cortex-A5 processor, this field reads as b1 to indicate that the Debug Device ID
  56416. Register, DBGDEVID is implemented</comment>
  56417. </bits>
  56418. <bits access="r" name="sec_usr_halt_dbg_not_support" pos="14" rst="1">
  56419. <comment>For the Cortex-A5 processor, this field reads as b1 to indicate that Secure User halting debug
  56420. is not supported</comment>
  56421. </bits>
  56422. <bits access="r" name="pc_sample_reg" pos="13" rst="1">
  56423. <comment>Program Counter Sample Register, DBGPCSR.
  56424. For the Cortex-A5 processor, this field reads as b1 to indicate that DBGPCSR is
  56425. implemented as debug register 33.</comment>
  56426. </bits>
  56427. <bits access="r" name="sec_extension" pos="12" rst="1">
  56428. <comment>Security extensions bit:
  56429. For the Cortex-A5 processor, this field reads as b1 to indicate that the debug security
  56430. extensions are implemented.</comment>
  56431. </bits>
  56432. <bits access="r" name="variant" pos="7:4" rst="0">
  56433. <comment>Implementation-defined variant number. This number is incremented on functional changes.
  56434. The value matches bits [23:20] of the ID Code Register in CP15 c0.</comment>
  56435. </bits>
  56436. <bits access="r" name="revision" pos="3:0" rst="0">
  56437. <comment>Implementation-defined revision number. This number is incremented on bug fixes. The
  56438. value matches bits [3:0] of the ID Code Register in CP15 c0.</comment>
  56439. </bits>
  56440. </reg>
  56441. <reg name="dbgdscrint" protect="rw">
  56442. <bits access="r" name="rxfull" pos="30" rst="0">
  56443. <comment>The DBGDTRRX Register full flag:
  56444. 0 = DBGDTRRX empty, reset value
  56445. 1 = DBGDTRRX full.
  56446. When set, this flag indicates that there is data available in the Receive Data Transfer Register,
  56447. DBGDTRRX. It is automatically set on writes to the DBGDTRRXext by the debugger, and is cleared
  56448. when the processor reads the CP14 DBGDTRRXint. If the flag is not set, reads of the DBGDTRRX return
  56449. an Unpredictable value.</comment>
  56450. </bits>
  56451. <bits access="r" name="txfull" pos="29" rst="0">
  56452. <comment>The DBGDTRTX Register full flag:
  56453. 0 = DBGDTRTX empty, reset value
  56454. 1 = DBGDTRTX full.
  56455. When clear, this flag indicates that the Transmit Data Transfer Register, DBGDTRTX is ready for data
  56456. write. It is automatically cleared on reads of the DBGDTRTXext by the debugger, and is set when the
  56457. processor writes to the CP14 DBGDTRTXint. If this bit is set and the processor attempts to write to the
  56458. DBGDTRTXint, results are Unpredictable.</comment>
  56459. </bits>
  56460. <bits access="r" name="rxfull_l" pos="27" rst="0">
  56461. <comment>The latched DBGDTRRX Register full flag. This flag is read in one of the following ways:
  56462. ? in DBGDSCRint using a CP14 instruction
  56463. ? in DBGDSCRext using the APB interface or CP14 instruction.
  56464. Reads of DBGDSCRint return an Unpredictable value for this bit.
  56465. Reads of DBGDSCRext return the same value as RXfull.
  56466. If a write to the DBGDTRRXext address succeeds, RXfull_l is set to 1.</comment>
  56467. </bits>
  56468. <bits access="r" name="txfull_l" pos="26" rst="0">
  56469. <comment>The latched DBGDTRTX Register full flag. This flag is read in one of the following ways:
  56470. ? in DBGDSCRint using a CP14 instruction
  56471. ? in DBGDSCRext using the APB interface or CP14 instruction.
  56472. Reads of DBGDSCRint return an Unpredictable value for this bit.
  56473. Reads of DBGDSCRext return the same value as TXfull.
  56474. If a read to the DBGDTRTXext address succeeds, TXfull_l is cleared.</comment>
  56475. </bits>
  56476. <bits access="r" name="sticky_pipeline_advance" pos="25" rst="0">
  56477. <comment>Sticky pipeline advance bit. This bit enables the debugger to detect whether the processor is idle. In some
  56478. situations, this might mean that the system bus port is deadlocked. This bit is set to 1 every time the
  56479. processor pipeline retires one instruction. A write to DBGDRCR[3] clears this bit. See Debug Run Control
  56480. Register on page 9-19.
  56481. 0 = no instruction has completed execution since the last time this bit was cleared, reset value
  56482. 1 = an instruction has completed execution since the last time this bit was cleared.</comment>
  56483. </bits>
  56484. <bits access="r" name="instrcompl_l" pos="24" rst="0">
  56485. <comment>The latched InstrCompl flag. This flag is read in one of the following ways:
  56486. ? in DBGDSCRint using CP14 instructions
  56487. ? in DBGDSCRext using the APB interface.
  56488. When in Non-debug state, all reads of DBGDSCR return an Unpredictable value for this bit. Otherwise,
  56489. reads through the CP14 interface return an Unpredictable value for this bit.
  56490. Reads of the DBGDSCRext APB address return the same value as InstrCompl.
  56491. If a write to the DBGITR APB address succeeds while in Stall or Nonblocking mode, InstrCompl_l and
  56492. InstrCompl are cleared.
  56493. If a write to the DBGDTRRXext APB address or a read to the DBGDTRTXext APB address succeeds
  56494. while in Fast mode, InstrCompl_l and InstrCompl are cleared.
  56495. InstrCompl is the instruction complete bit. This internal flag determines whether the processor has
  56496. completed execution of an instruction issued through the APB interface.
  56497. 0 = the processor is currently executing an instruction fetched from the DBGITR Register, reset value
  56498. 1 = the processor is not currently executing an instruction fetched from the DBGITR Register.</comment>
  56499. </bits>
  56500. <bits access="rw" name="extdccmode" pos="21:20" rst="0">
  56501. <comment>External DCC access mode. This is a read and write field. You can use this field to optimize DTR and
  56502. DBGITR traffic between a debugger and the processor:
  56503. b00 = Nonblocking mode, reset value
  56504. b01 = Stall mode
  56505. b10 = Fast mode
  56506. b11 = reserved.
  56507. Note
  56508. ? This field only affects the behavior of DBGDSCR, DTR, and DBGITR accesses through the APB
  56509. port, and not through CP14 debug instructions.
  56510. ? Nonblocking mode is the default setting. Improper use of the other modes might result in the debug
  56511. access bus becoming jammed.
  56512. See External DCC and DBGITR access mode on page 9-17 for more information.</comment>
  56513. </bits>
  56514. <bits access="r" name="discardasynchronousabort" pos="19" rst="0">
  56515. <comment>Discard asynchronous abort. This read-only bit is set while the processor is in debug state and is cleared
  56516. on exit from debug state. While this bit is set, the processor does not record asynchronous Data Aborts.
  56517. However, the sticky asynchronous Data Abort bit is set to 1.
  56518. 0 = asynchronous Data Aborts not discarded, reset value
  56519. 1 = asynchronous Data Aborts discarded.</comment>
  56520. </bits>
  56521. <bits access="r" name="non_sec_status" pos="18" rst="0">
  56522. <comment>Non-secure state status bit:
  56523. 0 = the processor is in Secure state or the processor is in Monitor mode
  56524. 1 = the processor is in Non-secure state and is not in Monitor mode.</comment>
  56525. </bits>
  56526. <bits access="r" name="sec_previledge_noninvasive_dbg_disabled" pos="17" rst="0">
  56527. <comment>Secure privileged noninvasive debug disabled:
  56528. 0 = ((NIDEN || DBGEN) &amp;&amp; (SPNIDEN || SPIDEN)) is HIGH
  56529. 1 = ((NIDEN || DBGEN) &amp;&amp; (SPNIDEN || SPIDEN)) is LOW.
  56530. This value is the inverse of bit [6] of the Authentication Status Register. See Authentication Status Register
  56531. on page 9-33.</comment>
  56532. </bits>
  56533. <bits access="r" name="sec_previledge_invasive_dbg_disabled" pos="16" rst="0">
  56534. <comment>Secure privileged invasive debug disabled:
  56535. 0 = (DBGEN &amp;&amp; SPIDEN) is HIGH
  56536. 1 = (DBGEN &amp;&amp; SPIDEN) is LOW.
  56537. This value is the inverse of bit [4] of the Authentication Status Register. See Authentication Status Register
  56538. on page 9-33.</comment>
  56539. </bits>
  56540. <bits access="rw" name="monitor_debug_mode_enable" pos="15" rst="0">
  56541. <comment>The Monitor debug-mode enable bit. This is a read and write bit.
  56542. 0 = Monitor debug-mode disabled, reset value
  56543. 1 = Monitor debug-mode enabled.
  56544. If Halting debug-mode is enabled, bit [14] is set, then the processor is in Halting debug-mode regardless
  56545. of the value of bit [15]. If the external interface input DBGEN is LOW, DBGDSCR[15] reads as 0. If
  56546. DBGEN is HIGH, then the read value reverts to the programmed value.</comment>
  56547. </bits>
  56548. <bits access="rw" name="galting_debug_mode" pos="14" rst="0">
  56549. <comment>The Halting debug-mode enable bit. This is a read and write bit.
  56550. 0 = Halting debug-mode disabled, reset value
  56551. 1 = Halting debug-mode enabled.
  56552. If the external interface input DBGEN is LOW, DBGDSCR[14] reads as 0. If DBGEN is HIGH, then the
  56553. read value reverts to the programmed value.</comment>
  56554. </bits>
  56555. <bits access="rw" name="execute_instruction_enable" pos="13" rst="0">
  56556. <comment>Execute ARM instruction enable bit. This is a read and write bit.
  56557. 0 = disabled, reset value
  56558. 1 = enabled.
  56559. If this bit is set and a DBGITR write succeeds, the processor fetches an instruction from the DBGITR for
  56560. execution. If this bit is set to 1 when the processor is not in debug state, the behavior of the processor is
  56561. Unpredictable.</comment>
  56562. </bits>
  56563. <bits access="rw" name="cp14_dbg_user_disable_ctrl" pos="12" rst="0">
  56564. <comment>CP14 debug user access disable control bit. This is a read and write bit.
  56565. 0 = CP14 debug user access enable, reset value
  56566. 1 = CP14 debug user access disable.
  56567. If this bit is set and a User mode process tries to access any CP14 debug registers, the Undefined
  56568. instruction exception is taken.</comment>
  56569. </bits>
  56570. <bits access="rw" name="interrupt_disable" pos="11" rst="0">
  56571. <comment>Interrupts disable bit. This is a read and write bit.
  56572. 0 = interrupts enabled, reset value
  56573. 1 = interrupts disabled.
  56574. If this bit is set, the IRQ and FIQ input signals are disabled. The external debugger can set this bit before
  56575. it executes code in normal state as part of the debugging process. If this bit is set to 1, an interrupt does
  56576. not take control of the program flow. For example, the debugger might use this bit to execute an OS service
  56577. routine to bring a page from disk into memory. It might be undesirable to service any interrupt during the
  56578. routine execution.
  56579. This bit is ignored when either:
  56580. ? DBGDSCR[15:14] == 0b00
  56581. ? DBGEN is LOW.</comment>
  56582. </bits>
  56583. <bits access="rw" name="dbgack" pos="10" rst="0">
  56584. <comment>Debug Acknowledge bit. This is a read and write bit. If this bit is set to 1, both the DBGACK and
  56585. DBGTRIGGER output signals are forced HIGH, regardless of the processor state. The external debugger
  56586. can use this bit if it wants the system to behave as if the processor is in debug state. Some systems rely on
  56587. DBGACK to determine whether the application or debugger generates the data accesses. The reset value
  56588. is 0.</comment>
  56589. </bits>
  56590. <bits access="r" name="sticky_undefined" pos="8" rst="0">
  56591. <comment>Sticky Undefined bit:
  56592. 0 = No Undefined instruction exception occurred in debug state since the last time this bit was cleared.
  56593. This is the reset value.
  56594. 1 = An Undefined instruction exception has occurred while in debug state since the last time this bit was
  56595. cleared.
  56596. This flag detects Undefined instruction exceptions generated by instructions issued to the processor
  56597. through the DBGITR. This bit is set to 1 when an Undefined instruction exception occurs while the
  56598. processor is in debug state. Writing a 1 to DBGDRCR[2] clears this bit. See Debug Run Control Register
  56599. on page 9-19.</comment>
  56600. </bits>
  56601. <bits access="r" name="sticky_async_abort" pos="7" rst="0">
  56602. <comment>Sticky asynchronous Data Abort bit:
  56603. 0 = no asynchronous Aborts occurred since the last time this bit was cleared, reset value
  56604. 1 = an asynchronous Abort occurred since the last time this bit was cleared.
  56605. This flag detects asynchronous Aborts triggered by instructions issued to the processor through the
  56606. DBGITR. This bit is set to 1 when an asynchronous Abort occurs while the processor is in debug state.
  56607. Writing a 1 to DBGDRCR[2] clears this bit. See Debug Run Control Register on page 9-19.</comment>
  56608. </bits>
  56609. <bits access="r" name="sticky_sync_abort" pos="6" rst="0">
  56610. <comment>Sticky synchronous Data Abort bit:
  56611. 0 = no synchronous Data Abort occurred since the last time this bit was cleared, reset value
  56612. 1 = a synchronous Data Abort occurred since the last time this bit was cleared.
  56613. This flag detects synchronous Data Aborts generated by instructions issued to the processor through the
  56614. DBGITR. This bit is set to 1 when a synchronous Data Abort occurs while the processor is in debug state.
  56615. Writing a 1 to DBGDRCR[2] clears this bit. See Debug Run Control Register on page 9-19.
  56616. When this is set, no instructions are issued through the DBGITR. Writes to DBGITR are ignored and, if
  56617. ExtDCCmode is configured for Fast mode, reads of DBGDTRTXext and writes of DBGDTRRXext are
  56618. ignored.</comment>
  56619. </bits>
  56620. <bits access="r" name="moe" pos="5:2" rst="0">
  56621. <comment>MOE, Method of entry bits. This is a read and write field.
  56622. b0000 = a DRCR[0] halting debug event occurred, reset value
  56623. b0001 = a breakpoint occurred
  56624. b0010 = not supported
  56625. b0011 = a BKPT instruction occurred
  56626. b0100 = an EDBGRQ halting debug event occurred
  56627. b0101 = a vector catch debug event occurred
  56628. b1010 = a synchronous watchpoint debug event occurred
  56629. other = reserved.
  56630. These bits are set to indicate any of:
  56631. ? the cause of a debug exception
  56632. ? the cause for entering debug state.
  56633. A Prefetch Abort or Data Abort handler must check the value of the CP15 Fault Status Register to
  56634. determine whether a debug exception occurred and then use these bits to determine the specific debug
  56635. event.</comment>
  56636. </bits>
  56637. <bits access="r" name="core_restarted" pos="1" rst="0">
  56638. <comment>Core restarted bit:
  56639. 0 = The processor is exiting debug state.
  56640. 1 = The processor has exited debug state. This is the reset value.
  56641. The debugger can poll this bit to determine when the processor responds to a request to leave debug state</comment>
  56642. </bits>
  56643. <bits access="r" name="core_halted" pos="0" rst="0">
  56644. <comment>Core halted bit:
  56645. 0 = The processor is in normal state. This is the reset value.
  56646. 1 = The processor is in debug state.
  56647. The debugger can poll this bit to determine when the processor has entered debug state.</comment>
  56648. </bits>
  56649. </reg>
  56650. <hole size="160"/>
  56651. <reg name="dbgvcr" protect="rw">
  56652. <bits access="rw" name="dbgvcr" pos="17:0" rst="0">
  56653. <comment>DBGVCR</comment>
  56654. </bits>
  56655. </reg>
  56656. <hole size="768"/>
  56657. <reg name="dbgdtrrxext" protect="rw">
  56658. <bits access="rw" name="dtrrx" pos="31:0" rst="0">
  56659. <comment>dtrrx</comment>
  56660. </bits>
  56661. </reg>
  56662. <reg name="dbgitr" protect="r">
  56663. <bits access="r" name="old_pcsr" pos="31:0" rst="0">
  56664. <comment>old location of PCSR</comment>
  56665. </bits>
  56666. </reg>
  56667. <hole size="32"/>
  56668. <reg name="dbgdtrtxext" protect="rw">
  56669. <bits access="rw" name="dtrrx" pos="31:0" rst="0">
  56670. <comment>dtrrx</comment>
  56671. </bits>
  56672. </reg>
  56673. <reg name="dbgdrcr" protect="rw">
  56674. <bits access="rw" name="cancel_biu_req" pos="4" rst="0">
  56675. <comment>Cancel BIU request</comment>
  56676. </bits>
  56677. <bits access="rw" name="clear_sticky_pipeline_advance" pos="3" rst="0">
  56678. <comment>Clear sticky pipeline advance. Writing a 1 to this bit clears DBGDSCR[25].</comment>
  56679. </bits>
  56680. <bits access="rw" name="clear_sticky_exception" pos="2" rst="0">
  56681. <comment>Clear sticky exceptions. Writing a 1 to this bit clears DBGDSCR[8:6].</comment>
  56682. </bits>
  56683. <bits access="rw" name="restart_request" pos="1" rst="0">
  56684. <comment>Restart request. Writing a 1 to this bit requests that the processor leaves debug state. This request
  56685. is held until the processor exits debug state. When the debugger makes this request, it polls
  56686. DBGDSCR[1] until it reads 1. This bit always reads as zero. Writes are ignored when the processor
  56687. is not in debug state.</comment>
  56688. </bits>
  56689. <bits access="rw" name="halt_request" pos="0" rst="0">
  56690. <comment>Halt request. Writing a 1 to this bit triggers a halting debug event, that is, a request that the
  56691. processor enters debug state. This request is held until the debug state entry occurs. When the
  56692. debugger makes this request, it polls DBGDSCR[0] until it reads 1. This bit always reads as zero.
  56693. Writes are ignored when the processor is already in debug state.</comment>
  56694. </bits>
  56695. </reg>
  56696. <hole size="96"/>
  56697. <reg name="dbgpcsr" protect="r">
  56698. <bits access="r" name="pc_sample_value" pos="31:2" rst="0">
  56699. <comment>The sampled value of bits [31:2] of the Program Counter</comment>
  56700. </bits>
  56701. <bits access="r" name="pc_meaning" pos="1:0" rst="0">
  56702. <comment>Meaning of Program Counter Sample value:
  56703. b00 = References an ARM state instruction.
  56704. bx1 = References a Thumb or ThumbEE state instruction.
  56705. b10 = Jazelle-DBX.</comment>
  56706. </bits>
  56707. </reg>
  56708. <reg name="dbgcidsr" protect="r">
  56709. <bits access="r" name="context_id" pos="31:0" rst="0">
  56710. <comment>context ID</comment>
  56711. </bits>
  56712. </reg>
  56713. <hole size="704"/>
  56714. <reg name="dbgbvr0" protect="rw">
  56715. <bits access="rw" name="breaking_point_0" pos="31:0" rst="0">
  56716. <comment>Breakpoint value. The reset value is Unpredictable
  56717. Contains the breakpoint value that corresponds to either an instruction
  56718. address or a context ID. Breakpoints can be set on:
  56719. ? an instruction address
  56720. ? a context ID value
  56721. ? an instruction address and context ID pair.
  56722. For an instruction address and context ID pair, two BRPs must be linked.
  56723. A debug event is generated when both the instruction address and the
  56724. context ID pair match at the same time.
  56725. Note
  56726. ? Only BRP2 supports context ID comparison.
  56727. ? DBGBVR0[1:0] and DBGBVR1[1:0] are SBZP on writes and RAZ on reads because
  56728. these registers do not support context ID comparisons.
  56729. ? The context ID value for DBGBVR2 to match with is given by the contents of the CP15
  56730. Context ID Register. See Chapter 4 System Control for information on the Context ID
  56731. Register.</comment>
  56732. </bits>
  56733. </reg>
  56734. <reg name="dbgbvr1" protect="rw">
  56735. <bits access="rw" name="breaking_point_1" pos="31:0" rst="0">
  56736. <comment>Breakpoint value. The reset value is Unpredictable</comment>
  56737. </bits>
  56738. </reg>
  56739. <reg name="dbgbvr2" protect="rw">
  56740. <bits access="rw" name="breaking_point_2" pos="31:0" rst="0">
  56741. <comment>Breakpoint value. The reset value is Unpredictable</comment>
  56742. </bits>
  56743. </reg>
  56744. <hole size="416"/>
  56745. <reg name="dbgbcr0" protect="rw">
  56746. <bits access="r" name="breakpoint_address_mask" pos="28:24" rst="0">
  56747. <comment>Breakpoint address mask.
  56748. RAZ/WI
  56749. b00000 = no mask</comment>
  56750. </bits>
  56751. <bits access="rw" name="m" pos="22:20" rst="0">
  56752. <comment>Meaning of DBGBVR:
  56753. b000 = instruction virtual address match
  56754. b001 = linked instruction virtual address match
  56755. b010 = unlinked context ID
  56756. b011 = linked context ID
  56757. b100 = instruction virtual address mismatch
  56758. b101 = linked instruction virtual address mismatch
  56759. b11x = reserved.
  56760. Note
  56761. DBGBCR0[21] and DBGBCR1[21] are RAZ on reads because these registers do not have context ID
  56762. comparison capability.</comment>
  56763. </bits>
  56764. <bits access="rw" name="linked_brp" pos="19:16" rst="0">
  56765. <comment>Linked BRP number. The binary number encoded here indicates another BRP to link this one with.
  56766. Note
  56767. ? If a BRP is linked with itself, it is Unpredictable whether a breakpoint debug event is generated
  56768. ? If this BRP is linked to another BRP that is not configured for linked context ID matching, it is
  56769. Unpredictable whether a breakpoint debug event is generated.</comment>
  56770. </bits>
  56771. <bits access="rw" name="secure_state_access_control" pos="15:14" rst="9">
  56772. <comment>Secure state access control. This field enables the breakpoint to be conditional on the security state of the
  56773. processor.
  56774. b00 = breakpoint matches in both Secure and Non-secure state
  56775. b01 = breakpoint only matches in Non-secure state
  56776. b10 = breakpoint only matches in Secure state
  56777. b11 = reserved.</comment>
  56778. </bits>
  56779. <bits access="rw" name="byte_address_select" pos="8:5" rst="0">
  56780. <comment>Byte address select. For breakpoints programmed to match an instruction address, you must write a
  56781. word-aligned address to the DBGBVR. You can then use this field to program the breakpoint so it hits
  56782. only if you access certain byte addresses.
  56783. If you program the BRP for instruction address match:
  56784. b0000 = the breakpoint never hits
  56785. b0011 = the breakpoint hits if any of the two bytes starting at address DBGBVR &amp; 0xFFFFFFFC +0 is
  56786. accessed
  56787. b1100 = the breakpoint hits if any of the two bytes starting at address DBGBVR &amp; 0xFFFFFFFC +2 is
  56788. accessed
  56789. b1111 = the breakpoint hits if any of the four bytes starting at address DBGBVR &amp; 0xFFFFFFFC +0 is
  56790. accessed.
  56791. If you program the BRP for instruction address mismatch, the breakpoint hits where the corresponding
  56792. instruction address breakpoint does not hit, that is, the range of addresses covered by an instruction
  56793. address mismatch breakpoint is the negative image of the corresponding instruction address breakpoint.
  56794. If you program the BRP for context ID comparison, this field must be set to b1111. Otherwise, breakpoint
  56795. and watchpoint debug events might not be generated as expected.</comment>
  56796. </bits>
  56797. <bits access="rw" name="s" pos="2:1" rst="0">
  56798. <comment>Supervisor access control. The breakpoint can be conditioned on the mode of the processor.
  56799. b00 = User, System, or Supervisor
  56800. b01 = privileged
  56801. b10 = User
  56802. b11 = any.</comment>
  56803. </bits>
  56804. <bits access="rw" name="b" pos="0" rst="0">
  56805. <comment>Breakpoint enable:
  56806. 0 = breakpoint disabled, reset value
  56807. 1 = breakpoint enabled.</comment>
  56808. </bits>
  56809. </reg>
  56810. <reg name="dbgbcr1" protect="rw">
  56811. <bits access="r" name="breakpoint_address_mask" pos="28:24" rst="0">
  56812. <comment>Breakpoint address mask.
  56813. RAZ/WI
  56814. b00000 = no mask</comment>
  56815. </bits>
  56816. <bits access="rw" name="m" pos="22:20" rst="0">
  56817. <comment>Meaning of DBGBVR:
  56818. b000 = instruction virtual address match
  56819. b001 = linked instruction virtual address match
  56820. b010 = unlinked context ID
  56821. b011 = linked context ID
  56822. b100 = instruction virtual address mismatch
  56823. b101 = linked instruction virtual address mismatch
  56824. b11x = reserved.
  56825. Note
  56826. DBGBCR0[21] and DBGBCR1[21] are RAZ on reads because these registers do not have context ID
  56827. comparison capability.</comment>
  56828. </bits>
  56829. <bits access="rw" name="linked_brp" pos="19:16" rst="0">
  56830. <comment>Linked BRP number. The binary number encoded here indicates another BRP to link this one with.
  56831. Note
  56832. ? If a BRP is linked with itself, it is Unpredictable whether a breakpoint debug event is generated
  56833. ? If this BRP is linked to another BRP that is not configured for linked context ID matching, it is
  56834. Unpredictable whether a breakpoint debug event is generated.</comment>
  56835. </bits>
  56836. <bits access="rw" name="secure_state_access_control" pos="15:14" rst="0">
  56837. <comment>Secure state access control. This field enables the breakpoint to be conditional on the security state of the
  56838. processor.
  56839. b00 = breakpoint matches in both Secure and Non-secure state
  56840. b01 = breakpoint only matches in Non-secure state
  56841. b10 = breakpoint only matches in Secure state
  56842. b11 = reserved.</comment>
  56843. </bits>
  56844. <bits access="rw" name="byte_address_select" pos="8:5" rst="0">
  56845. <comment>Byte address select. For breakpoints programmed to match an instruction address, you must write a
  56846. word-aligned address to the DBGBVR. You can then use this field to program the breakpoint so it hits
  56847. only if you access certain byte addresses.
  56848. If you program the BRP for instruction address match:
  56849. b0000 = the breakpoint never hits
  56850. b0011 = the breakpoint hits if any of the two bytes starting at address DBGBVR &amp; 0xFFFFFFFC +0 is
  56851. accessed
  56852. b1100 = the breakpoint hits if any of the two bytes starting at address DBGBVR &amp; 0xFFFFFFFC +2 is
  56853. accessed
  56854. b1111 = the breakpoint hits if any of the four bytes starting at address DBGBVR &amp; 0xFFFFFFFC +0 is
  56855. accessed.
  56856. If you program the BRP for instruction address mismatch, the breakpoint hits where the corresponding
  56857. instruction address breakpoint does not hit, that is, the range of addresses covered by an instruction
  56858. address mismatch breakpoint is the negative image of the corresponding instruction address breakpoint.
  56859. If you program the BRP for context ID comparison, this field must be set to b1111. Otherwise, breakpoint
  56860. and watchpoint debug events might not be generated as expected.</comment>
  56861. </bits>
  56862. <bits access="rw" name="s" pos="2:1" rst="0">
  56863. <comment>Supervisor access control. The breakpoint can be conditioned on the mode of the processor.
  56864. b00 = User, System, or Supervisor
  56865. b01 = privileged
  56866. b10 = User
  56867. b11 = any.</comment>
  56868. </bits>
  56869. <bits access="rw" name="b" pos="0" rst="0">
  56870. <comment>Breakpoint enable:
  56871. 0 = breakpoint disabled, reset value
  56872. 1 = breakpoint enabled.</comment>
  56873. </bits>
  56874. </reg>
  56875. <reg name="dbgbcr2" protect="rw">
  56876. <bits access="r" name="breakpoint_address_mask" pos="28:24" rst="0">
  56877. <comment>Breakpoint address mask.
  56878. RAZ/WI
  56879. b00000 = no mask</comment>
  56880. </bits>
  56881. <bits access="rw" name="m" pos="22:20" rst="0">
  56882. <comment>Meaning of DBGBVR:
  56883. b000 = instruction virtual address match
  56884. b001 = linked instruction virtual address match
  56885. b010 = unlinked context ID
  56886. b011 = linked context ID
  56887. b100 = instruction virtual address mismatch
  56888. b101 = linked instruction virtual address mismatch
  56889. b11x = reserved.
  56890. Note
  56891. DBGBCR0[21] and DBGBCR1[21] are RAZ on reads because these registers do not have context ID
  56892. comparison capability.</comment>
  56893. </bits>
  56894. <bits access="rw" name="linked_brp" pos="19:16" rst="0">
  56895. <comment>Linked BRP number. The binary number encoded here indicates another BRP to link this one with.
  56896. Note
  56897. ? If a BRP is linked with itself, it is Unpredictable whether a breakpoint debug event is generated
  56898. ? If this BRP is linked to another BRP that is not configured for linked context ID matching, it is
  56899. Unpredictable whether a breakpoint debug event is generated.</comment>
  56900. </bits>
  56901. <bits access="rw" name="secure_state_access_control" pos="15:14" rst="0">
  56902. <comment>Secure state access control. This field enables the breakpoint to be conditional on the security state of the
  56903. processor.
  56904. b00 = breakpoint matches in both Secure and Non-secure state
  56905. b01 = breakpoint only matches in Non-secure state
  56906. b10 = breakpoint only matches in Secure state
  56907. b11 = reserved.</comment>
  56908. </bits>
  56909. <bits access="rw" name="byte_address_select" pos="8:5" rst="0">
  56910. <comment>Byte address select. For breakpoints programmed to match an instruction address, you must write a
  56911. word-aligned address to the DBGBVR. You can then use this field to program the breakpoint so it hits
  56912. only if you access certain byte addresses.
  56913. If you program the BRP for instruction address match:
  56914. b0000 = the breakpoint never hits
  56915. b0011 = the breakpoint hits if any of the two bytes starting at address DBGBVR &amp; 0xFFFFFFFC +0 is
  56916. accessed
  56917. b1100 = the breakpoint hits if any of the two bytes starting at address DBGBVR &amp; 0xFFFFFFFC +2 is
  56918. accessed
  56919. b1111 = the breakpoint hits if any of the four bytes starting at address DBGBVR &amp; 0xFFFFFFFC +0 is
  56920. accessed.
  56921. If you program the BRP for instruction address mismatch, the breakpoint hits where the corresponding
  56922. instruction address breakpoint does not hit, that is, the range of addresses covered by an instruction
  56923. address mismatch breakpoint is the negative image of the corresponding instruction address breakpoint.
  56924. If you program the BRP for context ID comparison, this field must be set to b1111. Otherwise, breakpoint
  56925. and watchpoint debug events might not be generated as expected.</comment>
  56926. </bits>
  56927. <bits access="rw" name="s" pos="2:1" rst="0">
  56928. <comment>Supervisor access control. The breakpoint can be conditioned on the mode of the processor.
  56929. b00 = User, System, or Supervisor
  56930. b01 = privileged
  56931. b10 = User
  56932. b11 = any.</comment>
  56933. </bits>
  56934. <bits access="rw" name="b" pos="0" rst="0">
  56935. <comment>Breakpoint enable:
  56936. 0 = breakpoint disabled, reset value
  56937. 1 = breakpoint enabled.</comment>
  56938. </bits>
  56939. </reg>
  56940. <hole size="416"/>
  56941. <reg name="dbgbwvr0" protect="rw">
  56942. <bits access="rw" name="watchpoint_addr" pos="31:2" rst="0">
  56943. <comment>Watchpoint address</comment>
  56944. </bits>
  56945. </reg>
  56946. <reg name="dbgbwvr1" protect="rw">
  56947. <bits access="rw" name="watchpoint_addr" pos="31:2" rst="0">
  56948. <comment>Watchpoint address</comment>
  56949. </bits>
  56950. </reg>
  56951. <reg name="dbgbwvr2" protect="rw">
  56952. <bits access="rw" name="watchpoint_addr" pos="31:2" rst="0">
  56953. <comment>Watchpoint address</comment>
  56954. </bits>
  56955. </reg>
  56956. <hole size="416"/>
  56957. <reg name="dbgbwcr0" protect="rw">
  56958. <bits access="rw" name="watchpoint_address_mask" pos="28:24" rst="0">
  56959. <comment>This field watches a range of addresses by masking lower order address bits out of the watchpoint
  56960. comparison:
  56961. b00000 = no mask
  56962. b00001 = reserved
  56963. b00010 = reserved
  56964. b00011 = 0x00000007 mask for data address
  56965. b00100 = 0x0000000F mask for data address
  56966. b00101 = 0x0000001F mask for data address
  56967. .
  56968. .
  56969. .
  56970. b11111 = 0x7FFFFFFF mask for data address.
  56971. Note
  56972. ? If bits [28:24] are not set to b00000, bits [12:5] must be set to b11111111. Otherwise the behavior is
  56973. Unpredictable.
  56974. ? If [28:24] are not set to b00000, the corresponding DBGWVR bits that are not being included in the
  56975. comparison SBZ. Otherwise the behavior is Unpredictable.
  56976. To watch for a write to any byte in an 8-byte aligned object of size 8 bytes, ARM recommends that a
  56977. debugger sets bits [28:24] to b00111, and bits [12:5] to b11111111. This is compatible with both ARMv7
  56978. debug compliant implementations that have an 8-bit byte address select field (bits [12:5]) and with those
  56979. that have a 4-bit byte address select field (bits [8:5]).</comment>
  56980. </bits>
  56981. <bits access="rw" name="e" pos="20" rst="0">
  56982. <comment>Enable linking bit:
  56983. 0 = linking disabled
  56984. 1 = linking enabled.
  56985. When this bit is set, this watchpoint is linked with the context ID holding BRP selected by the linked BRP
  56986. field.</comment>
  56987. </bits>
  56988. <bits access="rw" name="linked_brp" pos="19:16" rst="0">
  56989. <comment>Linked BRP number. The binary number encoded here indicates a context ID holding BRP to link this WRP
  56990. with. If this WRP is linked to a BRP that is not configured for linked context ID matching, it is
  56991. Unpredictable whether a watchpoint debug event is generated.</comment>
  56992. </bits>
  56993. <bits access="rw" name="secure_state_access_control" pos="15:14" rst="0">
  56994. <comment>Secure state access control. This field enables the watchpoint to be conditioned on the security state of the
  56995. processor.
  56996. b00 = watchpoint matches in both Secure and Non-secure state
  56997. b01 = watchpoint only matches in Non-secure state
  56998. b10 = watchpoint only matches in Secure state
  56999. b11 = reserved</comment>
  57000. </bits>
  57001. <bits access="rw" name="byte_address_select" pos="8:5" rst="0">
  57002. <comment>Byte address select. The DBGWVR is programmed with word-aligned address. You can use this field to
  57003. program the watchpoint so it only hits if certain byte addresses are accessed.</comment>
  57004. </bits>
  57005. <bits access="rw" name="load_store" pos="4:3" rst="0">
  57006. <comment>Load/store access. The watchpoint can be conditioned to the type of access being done.
  57007. b00 = reserved
  57008. b01 = load, load exclusive, or swap
  57009. b10 = store, store exclusive or swap
  57010. b11 = either.
  57011. SWP and SWPB trigger a watchpoint on b01, b10, or b11. A load exclusive instruction triggers a watchpoint
  57012. on b01 or b11. A store exclusive instruction triggers a watchpoint on b10 or b11 only if it passes the local
  57013. monitor within the processor.</comment>
  57014. </bits>
  57015. <bits access="rw" name="s" pos="2:1" rst="0">
  57016. <comment>Privileged access controlb. The watchpoint can be conditioned to the privilege of the access being done:
  57017. b00 = reserved
  57018. b01 = privileged, match if the processor does a privileged access to memory
  57019. b10 = User, match only on nonprivileged accesses
  57020. b11 = either, match all accesses</comment>
  57021. </bits>
  57022. <bits access="rw" name="w" pos="0" rst="0">
  57023. <comment>Watchpoint enable:
  57024. 0 = watchpoint disabled, reset value
  57025. 1 = watchpoint enabled.</comment>
  57026. </bits>
  57027. </reg>
  57028. <reg name="dbgbwcr1" protect="rw">
  57029. <bits access="rw" name="watchpoint_address_mask" pos="28:24" rst="0">
  57030. <comment>This field watches a range of addresses by masking lower order address bits out of the watchpoint
  57031. comparison:
  57032. b00000 = no mask
  57033. b00001 = reserved
  57034. b00010 = reserved
  57035. b00011 = 0x00000007 mask for data address
  57036. b00100 = 0x0000000F mask for data address
  57037. b00101 = 0x0000001F mask for data address
  57038. .
  57039. .
  57040. .
  57041. b11111 = 0x7FFFFFFF mask for data address.
  57042. Note
  57043. ? If bits [28:24] are not set to b00000, bits [12:5] must be set to b11111111. Otherwise the behavior is
  57044. Unpredictable.
  57045. ? If [28:24] are not set to b00000, the corresponding DBGWVR bits that are not being included in the
  57046. comparison SBZ. Otherwise the behavior is Unpredictable.
  57047. To watch for a write to any byte in an 8-byte aligned object of size 8 bytes, ARM recommends that a
  57048. debugger sets bits [28:24] to b00111, and bits [12:5] to b11111111. This is compatible with both ARMv7
  57049. debug compliant implementations that have an 8-bit byte address select field (bits [12:5]) and with those
  57050. that have a 4-bit byte address select field (bits [8:5]).</comment>
  57051. </bits>
  57052. <bits access="rw" name="e" pos="20" rst="0">
  57053. <comment>Enable linking bit:
  57054. 0 = linking disabled
  57055. 1 = linking enabled.
  57056. When this bit is set, this watchpoint is linked with the context ID holding BRP selected by the linked BRP
  57057. field.</comment>
  57058. </bits>
  57059. <bits access="rw" name="linked_brp" pos="19:16" rst="0">
  57060. <comment>Linked BRP number. The binary number encoded here indicates a context ID holding BRP to link this WRP
  57061. with. If this WRP is linked to a BRP that is not configured for linked context ID matching, it is
  57062. Unpredictable whether a watchpoint debug event is generated.</comment>
  57063. </bits>
  57064. <bits access="rw" name="secure_state_access_control" pos="15:14" rst="0">
  57065. <comment>Secure state access control. This field enables the watchpoint to be conditioned on the security state of the
  57066. processor.
  57067. b00 = watchpoint matches in both Secure and Non-secure state
  57068. b01 = watchpoint only matches in Non-secure state
  57069. b10 = watchpoint only matches in Secure state
  57070. b11 = reserved</comment>
  57071. </bits>
  57072. <bits access="rw" name="byte_address_select" pos="8:5" rst="0">
  57073. <comment>Byte address select. The DBGWVR is programmed with word-aligned address. You can use this field to
  57074. program the watchpoint so it only hits if certain byte addresses are accessed.</comment>
  57075. </bits>
  57076. <bits access="rw" name="load_store" pos="4:3" rst="0">
  57077. <comment>Load/store access. The watchpoint can be conditioned to the type of access being done.
  57078. b00 = reserved
  57079. b01 = load, load exclusive, or swap
  57080. b10 = store, store exclusive or swap
  57081. b11 = either.
  57082. SWP and SWPB trigger a watchpoint on b01, b10, or b11. A load exclusive instruction triggers a watchpoint
  57083. on b01 or b11. A store exclusive instruction triggers a watchpoint on b10 or b11 only if it passes the local
  57084. monitor within the processor.</comment>
  57085. </bits>
  57086. <bits access="rw" name="s" pos="2:1" rst="0">
  57087. <comment>Privileged access controlb. The watchpoint can be conditioned to the privilege of the access being done:
  57088. b00 = reserved
  57089. b01 = privileged, match if the processor does a privileged access to memory
  57090. b10 = User, match only on nonprivileged accesses
  57091. b11 = either, match all accesses</comment>
  57092. </bits>
  57093. <bits access="rw" name="w" pos="0" rst="0">
  57094. <comment>Watchpoint enable:
  57095. 0 = watchpoint disabled, reset value
  57096. 1 = watchpoint enabled.</comment>
  57097. </bits>
  57098. </reg>
  57099. <reg name="dbgbwcr2" protect="rw">
  57100. <bits access="rw" name="watchpoint_address_mask" pos="28:24" rst="0">
  57101. <comment>This field watches a range of addresses by masking lower order address bits out of the watchpoint
  57102. comparison:
  57103. b00000 = no mask
  57104. b00001 = reserved
  57105. b00010 = reserved
  57106. b00011 = 0x00000007 mask for data address
  57107. b00100 = 0x0000000F mask for data address
  57108. b00101 = 0x0000001F mask for data address
  57109. .
  57110. .
  57111. .
  57112. b11111 = 0x7FFFFFFF mask for data address.
  57113. Note
  57114. ? If bits [28:24] are not set to b00000, bits [12:5] must be set to b11111111. Otherwise the behavior is
  57115. Unpredictable.
  57116. ? If [28:24] are not set to b00000, the corresponding DBGWVR bits that are not being included in the
  57117. comparison SBZ. Otherwise the behavior is Unpredictable.
  57118. To watch for a write to any byte in an 8-byte aligned object of size 8 bytes, ARM recommends that a
  57119. debugger sets bits [28:24] to b00111, and bits [12:5] to b11111111. This is compatible with both ARMv7
  57120. debug compliant implementations that have an 8-bit byte address select field (bits [12:5]) and with those
  57121. that have a 4-bit byte address select field (bits [8:5]).</comment>
  57122. </bits>
  57123. <bits access="rw" name="e" pos="20" rst="0">
  57124. <comment>Enable linking bit:
  57125. 0 = linking disabled
  57126. 1 = linking enabled.
  57127. When this bit is set, this watchpoint is linked with the context ID holding BRP selected by the linked BRP
  57128. field.</comment>
  57129. </bits>
  57130. <bits access="rw" name="linked_brp" pos="19:16" rst="0">
  57131. <comment>Linked BRP number. The binary number encoded here indicates a context ID holding BRP to link this WRP
  57132. with. If this WRP is linked to a BRP that is not configured for linked context ID matching, it is
  57133. Unpredictable whether a watchpoint debug event is generated.</comment>
  57134. </bits>
  57135. <bits access="rw" name="secure_state_access_control" pos="15:14" rst="0">
  57136. <comment>Secure state access control. This field enables the watchpoint to be conditioned on the security state of the
  57137. processor.
  57138. b00 = watchpoint matches in both Secure and Non-secure state
  57139. b01 = watchpoint only matches in Non-secure state
  57140. b10 = watchpoint only matches in Secure state
  57141. b11 = reserved</comment>
  57142. </bits>
  57143. <bits access="rw" name="byte_address_select" pos="8:5" rst="0">
  57144. <comment>Byte address select. The DBGWVR is programmed with word-aligned address. You can use this field to
  57145. program the watchpoint so it only hits if certain byte addresses are accessed.</comment>
  57146. </bits>
  57147. <bits access="rw" name="load_store" pos="4:3" rst="0">
  57148. <comment>Load/store access. The watchpoint can be conditioned to the type of access being done.
  57149. b00 = reserved
  57150. b01 = load, load exclusive, or swap
  57151. b10 = store, store exclusive or swap
  57152. b11 = either.
  57153. SWP and SWPB trigger a watchpoint on b01, b10, or b11. A load exclusive instruction triggers a watchpoint
  57154. on b01 or b11. A store exclusive instruction triggers a watchpoint on b10 or b11 only if it passes the local
  57155. monitor within the processor.</comment>
  57156. </bits>
  57157. <bits access="rw" name="s" pos="2:1" rst="0">
  57158. <comment>Privileged access controlb. The watchpoint can be conditioned to the privilege of the access being done:
  57159. b00 = reserved
  57160. b01 = privileged, match if the processor does a privileged access to memory
  57161. b10 = User, match only on nonprivileged accesses
  57162. b11 = either, match all accesses</comment>
  57163. </bits>
  57164. <bits access="rw" name="w" pos="0" rst="0">
  57165. <comment>Watchpoint enable:
  57166. 0 = watchpoint disabled, reset value
  57167. 1 = watchpoint enabled.</comment>
  57168. </bits>
  57169. </reg>
  57170. <hole size="2464"/>
  57171. <reg name="dbgoslar" protect="w">
  57172. <bits access="w" name="dbgoslar" pos="31:0" rst="0">
  57173. <comment>Write 0xC5ACCE55 to this field to unlock the DBG.
  57174. Write any other value to this field to lock the DBG</comment>
  57175. </bits>
  57176. </reg>
  57177. <reg name="dbgoslsr" protect="r">
  57178. <bits access="r" name="oslm_0" pos="3" rst="0">
  57179. <comment>OSLM[0]</comment>
  57180. </bits>
  57181. <bits access="r" name="oslm_1" pos="3" rst="0">
  57182. <comment>OSLM[1]
  57183. OS Lock Model implemented field. This field identifies the form of OS Save and Restore
  57184. mechanism implemented.
  57185. The possible values are:
  57186. 0b00 No OS Save and Restore mechanism implemented. OS Lock not implemented.
  57187. v7 Debug only.
  57188. 0b01 OS Lock and DBGOSSRR implemented. v7 Debug only.
  57189. 0b10 OS Lock implemented. DBGOSSRR not implemented. v7.1 Debug only.
  57190. 0b11 Reserved.
  57191. Note
  57192. This field is split across two non-contiguous bits in the register.</comment>
  57193. </bits>
  57194. <bits access="r" name="ntt" pos="2" rst="0">
  57195. <comment>Not 32-bit access. This bit is always RAZ. It indicates that a 32-bit access is needed to write the key
  57196. to the OS Lock Access Register.</comment>
  57197. </bits>
  57198. <bits access="r" name="oslk" pos="1" rst="0">
  57199. <comment>OS Lock Status. The possible values are:
  57200. 0 OS Lock not set.
  57201. 1 OS Lock set.
  57202. If the OS Save and Restore mechanism is not implemented this bit is UNK.
  57203. The OS Lock is set or cleared by writing to the DBGOSLAR.</comment>
  57204. </bits>
  57205. </reg>
  57206. <hole size="64"/>
  57207. <reg name="dbgprcr" protect="rw">
  57208. <bits access="rw" name="hold_non_debug_logic_reset" pos="2" rst="0">
  57209. <comment>Hold non-debug logic reset:
  57210. 0 = Do not hold the non-debug logic reset on power-up or warm reset.
  57211. 1 = Hold the non-debug logic of the processor in reset on power-up or warm reset.
  57212. The processor is held in this state until this flag is cleared to 0.</comment>
  57213. </bits>
  57214. <bits access="r" name="warm_reset_request" pos="1" rst="0">
  57215. <comment>Warm reset request, RAZ</comment>
  57216. </bits>
  57217. <bits access="rw" name="dbgnopwrdwn" pos="0" rst="0">
  57218. <comment>When set to 1, the DBGNOPWRDWN output signal is HIGH. This output is connected to the system
  57219. power controller and is interpreted as a request to operate in emulate mode. In this mode, the
  57220. Cortex-A5 processor and ETM are not actually powered down when requested by software or
  57221. hardware handshakes.
  57222. 0 = DBGNOPWRDWN is LOW. This is the reset value.
  57223. 1 = DBGNOPWRDWN is HIGH.</comment>
  57224. </bits>
  57225. </reg>
  57226. <reg name="dbgprsr" protect="r">
  57227. <bits access="r" name="sticky_reset_status" pos="3" rst="0">
  57228. <comment>Sticky reset status</comment>
  57229. </bits>
  57230. <bits access="r" name="reset_status" pos="2" rst="0">
  57231. <comment>Reset status</comment>
  57232. </bits>
  57233. <bits access="r" name="sticky_pwrdn_status" pos="1" rst="0">
  57234. <comment>Sticky power-down status. RAZ</comment>
  57235. </bits>
  57236. <bits access="r" name="powerup_status" pos="0" rst="0">
  57237. <comment>Power up status. RAO</comment>
  57238. </bits>
  57239. </reg>
  57240. <hole size="24320"/>
  57241. <reg name="dbgitmiscout" protect="rw">
  57242. <bits access="w" name="dbgrestarted" pos="9" rst="0">
  57243. <comment>Set value of the DBGRESTARTED output pin</comment>
  57244. </bits>
  57245. <bits access="w" name="pmuirq" pos="4" rst="0">
  57246. <comment>Set value of PMUIRQ output pin.</comment>
  57247. </bits>
  57248. <bits access="w" name="dbgack" pos="0" rst="0">
  57249. <comment>Set value of the DBGACK output pin.</comment>
  57250. </bits>
  57251. </reg>
  57252. <reg name="dbgitmiscin" protect="r">
  57253. <bits access="r" name="dbgrestart" pos="11" rst="0">
  57254. <comment>Read value of the DBGRESTART input pin</comment>
  57255. </bits>
  57256. <bits access="r" name="nfiq" pos="2" rst="1">
  57257. <comment>Read value of nFIQ input pin.</comment>
  57258. </bits>
  57259. <bits access="r" name="nirq" pos="1" rst="1">
  57260. <comment>Read value of nIRQ input pin.</comment>
  57261. </bits>
  57262. <bits access="r" name="edbgrq" pos="0" rst="0">
  57263. <comment>Read value of EDBGRQ input pin.</comment>
  57264. </bits>
  57265. </reg>
  57266. <reg name="dbgitctrl" protect="rw">
  57267. <bits access="rw" name="intmode" pos="0" rst="0">
  57268. <comment>Controls whether the processor is in normal operating mode or integration mode:
  57269. b0 = normal operation
  57270. b1 = integration mode enabled.</comment>
  57271. </bits>
  57272. </reg>
  57273. <hole size="1248"/>
  57274. <reg name="dbgclaimset" protect="rw">
  57275. <bits access="rw" name="claim_tags" pos="7:0" rst="255">
  57276. <comment>Indicates the claim tags.
  57277. Writing 1 to a bit in this register sets that particular claim. You can read the claim status at the Claim Tag Clear
  57278. Register. For example, if you write 1 to bit [3] of this register, bit [3] of the Claim Tag Clear Register is read as 1.
  57279. Writing 0 to a specific claim tag bit has no effect. This register always reads 0xFF, indicating that up to eight
  57280. claims can be set.</comment>
  57281. </bits>
  57282. </reg>
  57283. <reg name="dbgclaimclr" protect="rw">
  57284. <bits access="rw" name="claim_tags" pos="7:0" rst="0">
  57285. <comment>Indicates the claim tag status. Writing 1 to a specific claim tag clear bit clears that claim tag. Reading this
  57286. register returns the current claim tag value. For example, if you write 1 to bit [3] of this register, it is read as 0.
  57287. The reset value is 0.</comment>
  57288. </bits>
  57289. </reg>
  57290. <hole size="64"/>
  57291. <reg name="dbglar" protect="w">
  57292. <bits access="w" name="lock_access_control" pos="31:0" rst="0">
  57293. <comment>Lock access control. To unlock the debug registers, write a 0xC5ACCE55 key to this register. To lock the debug
  57294. registers, write any other value. Accesses to locked debug registers are ignored. The reset value is 0</comment>
  57295. </bits>
  57296. </reg>
  57297. <reg name="dbglsr" protect="r">
  57298. <bits access="r" name="lar_32_bits" pos="2" rst="0">
  57299. <comment>Read as zero. It indicates that a 32-bit access is required to write the key to the Lock Access Register</comment>
  57300. </bits>
  57301. <bits access="r" name="etm_locked" pos="1" rst="0">
  57302. <comment>This bit indicates the status of the debug registers lock.
  57303. 0 = Lock clear. Debug register writes are permitted.
  57304. 1 = Lock set. Debug register writes are ignored.
  57305. The Debug reset value of this bit is 1.</comment>
  57306. </bits>
  57307. <bits access="r" name="lock_reg_impl" pos="0" rst="1">
  57308. <comment>Read-as-One</comment>
  57309. </bits>
  57310. </reg>
  57311. <reg name="dbgauthstatus" protect="r">
  57312. <bits access="r" name="snid_1" pos="7" rst="1">
  57313. <comment>Secure noninvasive debug enable field</comment>
  57314. </bits>
  57315. <bits access="r" name="snid_2" pos="6" rst="1">
  57316. <comment>DBGEN || NIDEN) &amp;&amp; (SPIDEN || SPNIDEN</comment>
  57317. </bits>
  57318. <bits access="r" name="sid_1" pos="5" rst="1">
  57319. <comment>Secure invasive debug enable field</comment>
  57320. </bits>
  57321. <bits access="r" name="sid_2" pos="4" rst="1">
  57322. <comment>DBGEN &amp;&amp; SPIDEN</comment>
  57323. </bits>
  57324. <bits access="r" name="nsnid_1" pos="3" rst="1">
  57325. <comment>Non-secure noninvasive debug field</comment>
  57326. </bits>
  57327. <bits access="r" name="nsnid_2" pos="2" rst="1">
  57328. <comment>DBGEN || NIDEN</comment>
  57329. </bits>
  57330. <bits access="r" name="nsid_1" pos="1" rst="1">
  57331. <comment>Non-secure invasive debug enable</comment>
  57332. </bits>
  57333. <bits access="r" name="nsid_2" pos="0" rst="1">
  57334. <comment>DBGEN</comment>
  57335. </bits>
  57336. </reg>
  57337. <hole size="96"/>
  57338. <reg name="dbgdevid" protect="r">
  57339. </reg>
  57340. <reg name="dbgdevtype" protect="r">
  57341. <bits access="r" name="sub_type" pos="7:4" rst="1">
  57342. <comment>Indicates that the sub-type of the Cortex-A5 processor is core. This value is 0x1.</comment>
  57343. </bits>
  57344. <bits access="r" name="main_class" pos="3:0" rst="5">
  57345. <comment>Indicates that the main class of the Cortex-A5 processor is debug logic. This value is 0x5.</comment>
  57346. </bits>
  57347. </reg>
  57348. <reg name="dbgpidr4" protect="r">
  57349. <bits access="r" name="n" pos="7:4" rst="0">
  57350. <comment>Indicates the number of blocks occupied by the Cortex-A5 processor. This field is always set to 0.</comment>
  57351. </bits>
  57352. <bits access="r" name="jep106_con_code" pos="3:0" rst="4">
  57353. <comment>Indicates the JEDEC JEP106 Continuation Code. For the Cortex-A5 processor, this value is 0x4.</comment>
  57354. </bits>
  57355. </reg>
  57356. <reg name="dbgpidr5" protect="r">
  57357. </reg>
  57358. <reg name="dbgpidr6" protect="r">
  57359. </reg>
  57360. <reg name="dbgpidr7" protect="r">
  57361. </reg>
  57362. <reg name="dbgpidr0" protect="r">
  57363. <bits access="r" name="part_number" pos="7:0" rst="5">
  57364. <comment>Indicates bits [7:0] of the part number for the Cortex-A5 processor. This value is 0x05.</comment>
  57365. </bits>
  57366. </reg>
  57367. <reg name="dbgpidr1" protect="r">
  57368. <bits access="r" name="jep106_id_3_0" pos="7:4" rst="11">
  57369. <comment>Indicates bits of the JEDEC JEP106 Identity Code. This value is 0xB.</comment>
  57370. </bits>
  57371. <bits access="r" name="part_number_11_8" pos="3:0" rst="12">
  57372. <comment>Indicates bits [11:8] of the part number for the Cortex-A5 processor. This value is 0xC</comment>
  57373. </bits>
  57374. </reg>
  57375. <reg name="dbgpidr2" protect="r">
  57376. <bits access="r" name="rev_number" pos="7:4" rst="1">
  57377. <comment>Indicates the revision number for the Cortex-A5 processor. This value changes based on the
  57378. product major and minor revision. This value is set to 1 indicating revision r0p1.</comment>
  57379. </bits>
  57380. <bits access="r" name="jedec_val_in_use" pos="3" rst="1">
  57381. <comment>Always 1. Indicates that a JEDEC assigned value is used.</comment>
  57382. </bits>
  57383. <bits access="r" name="jep106_id_6_4" pos="2:0" rst="3">
  57384. <comment>Indicates bits [6:4] of the JEDEC JEP106 Identity Code. This value is set to 0x3.</comment>
  57385. </bits>
  57386. </reg>
  57387. <reg name="dbgpidr3" protect="r">
  57388. <bits access="r" name="revand" pos="7:4" rst="0">
  57389. <comment>Indicates the manufacturer revision number. This value changes based on the manufacturer
  57390. metal fixes. This value is set to 0.</comment>
  57391. </bits>
  57392. <bits access="r" name="customized_val" pos="3:0" rst="0">
  57393. <comment>For the Cortex-A5 processor, this value is set to 0.</comment>
  57394. </bits>
  57395. </reg>
  57396. <reg name="dbgcidr0" protect="r">
  57397. <bits access="r" name="cid_7_0" pos="7:0" rst="13">
  57398. <comment>Component identifier, bits [7:0].</comment>
  57399. </bits>
  57400. </reg>
  57401. <reg name="dbgcidr1" protect="r">
  57402. <bits access="r" name="component_class" pos="7:4" rst="9">
  57403. <comment>Component class (component identifier, bits [15:12]).</comment>
  57404. </bits>
  57405. <bits access="r" name="cid_11_8" pos="3:0" rst="0">
  57406. <comment>Component identifier, bits [11:8].</comment>
  57407. </bits>
  57408. </reg>
  57409. <reg name="dbgcidr2" protect="r">
  57410. <bits access="r" name="cid_23_16" pos="7:0" rst="5">
  57411. <comment>Component identifier, bits [23:16].</comment>
  57412. </bits>
  57413. </reg>
  57414. <reg name="dbgcidr3" protect="r">
  57415. <bits access="r" name="cid_31_24" pos="7:0" rst="177">
  57416. <comment>Component identifier, bits [31:24].</comment>
  57417. </bits>
  57418. </reg>
  57419. </module>
  57420. </archive>
  57421. <archive relative="pmu_a5.xml">
  57422. <module category="Debug" name="PMU_A5">
  57423. <reg name="pmxevcntr0" protect="rw">
  57424. <bits access="rw" name="event_counter0" pos="31:0" rst="0">
  57425. <comment>PMU Event counter 0</comment>
  57426. </bits>
  57427. </reg>
  57428. <reg name="pmxevcntr1" protect="rw">
  57429. <bits access="rw" name="event_counter1" pos="31:0" rst="0">
  57430. <comment>PMU Event counter 1</comment>
  57431. </bits>
  57432. </reg>
  57433. <hole size="928"/>
  57434. <reg name="pmccntr" protect="rw">
  57435. <bits access="rw" name="pmccntr" pos="31:0" rst="0">
  57436. <comment>Counts processor clock cycles</comment>
  57437. </bits>
  57438. </reg>
  57439. <hole size="7168"/>
  57440. <reg name="pmxevtyper0" protect="rw">
  57441. <bits access="rw" name="sel" pos="7:0" rst="0">
  57442. <comment>Specifies the event selected as described in the ARM Architecture Reference Manual.
  57443. Event EVNTBUS
  57444. bit position Description
  57445. 0x00 - Software increment. The register is incremented only on writes to the Software Increment Register. See
  57446. Software Increment Register on page 10-7.
  57447. 0x01 [0] Instruction fetch that causes a refill at (at least) the lowest level of instruction or unified cache. Includes the
  57448. speculative linefills in the count.
  57449. 0x02 [1] Instruction fetch that causes a TLB refill at (at least) the lowest level of TLB. Includes the speculative
  57450. requests in the count.
  57451. 0x03 [2] Data read or write operation that causes a refill at (at least) the lowest level of data or unified cache. Counts
  57452. the number of allocations performed in the Data Cache because of a read or a write
  57453. 0x04 [3] Data read or write operation that causes a cache access at (at least) the lowest level of data or unified cache.
  57454. This includes speculative reads.
  57455. 0x05 [4] Data read or write operation that causes a TLB refill at (at least) the lowest level of TLB. This does not
  57456. include micro TLB misses because of PLD, PLI, CP15 Cache operation by MVA and CP15 VA to PA
  57457. operations.
  57458. 0x06 [5] Data read architecturally executed. Counts the number of data read instructions accepted by the Load Store
  57459. Unit. This includes counting the speculative and aborted LDR/LDM, and the reads because of the SWP
  57460. instructions.
  57461. 0x07 [6] Data write architecturally executed. Counts the number of data write instructions accepted by the Load
  57462. Store Unit. This includes counting the speculative and aborted STR/STM, and the writes because of the SWP
  57463. instructions.
  57464. 0x08 [7] Instruction architecturally executed.
  57465. 0x09 [8] Exception taken. Counts the number of exceptions architecturally taken.
  57466. 0x0A [9] Exception return architecturally executed. The following instructions are reported on this event:
  57467. 0x0B [10] Change to ContextID retired. Counts the number of instructions architecturally executed writing into the
  57468. ContextID Register.
  57469. 0x0C [11] Software change of PC.
  57470. 0x0D [12] Immediate branch architecturally executed (taken or not taken). This includes the branches which are
  57471. flushed due to a previous load/store which aborts late.
  57472. 0x0E [13] Procedure return (other than exception returns) architecturally executed.
  57473. 0x0F [14] Unaligned load-store.
  57474. 0x10 [15] Branch mispredicted/not predicted. Counts the number of mispredicted or not-predicted branches executed.
  57475. This includes the branches which are flushed because of a previous load/store which aborts late.
  57476. 0x11 - Cycle counter.
  57477. 0x12 [16] Branches or other change in program flow that could have been predicted by the branch prediction resources
  57478. of the processor. This includes the branches which are flushed because of a previous load/store which aborts
  57479. late.
  57480. 0x13 [17] Data memory access.
  57481. 0x14 [18] Instruction Cache access.
  57482. 0x15 [19] Data cache eviction.
  57483. 0x86 [20] IRQ exception taken.
  57484. 0x87 [21] FIQ exception taken.
  57485. 0xC0 [22] External memory request.
  57486. 0xC1 [23] Non-cacheable external memory request.
  57487. 0xC2 [24] Linefill because of prefetch.
  57488. 0xC3 [25] Prefetch linefill dropped.
  57489. 0xC4 [26] Entering read allocate mode.
  57490. 0xC5 [27] Read allocate mode.
  57491. 0xC6 [28] Reserved.
  57492. 0xC7 - ETM Ext Out[0].
  57493. 0xC8 - ETM Ext Out[1].
  57494. 0xC9 [29] Data Write operation that stalls the pipeline because the store buffer is full.</comment>
  57495. </bits>
  57496. </reg>
  57497. <hole size="10144"/>
  57498. <reg name="pmccfiltr" protect="rw">
  57499. <bits access="rw" name="p" pos="31" rst="0">
  57500. </bits>
  57501. <bits access="rw" name="u" pos="30" rst="0">
  57502. </bits>
  57503. <bits access="rw" name="nsk" pos="29" rst="0">
  57504. </bits>
  57505. <bits access="rw" name="nsu" pos="28" rst="0">
  57506. </bits>
  57507. </reg>
  57508. <hole size="6176"/>
  57509. <reg name="pmcntenset" protect="rw">
  57510. <bits access="rw" name="c" pos="31" rst="0">
  57511. <comment>Cycle counter enable set:
  57512. 0 = disable
  57513. 1 = enable.</comment>
  57514. </bits>
  57515. <bits access="rw" name="p1" pos="1" rst="0">
  57516. <comment>Counter 1 enable</comment>
  57517. </bits>
  57518. <bits access="rw" name="p0" pos="0" rst="0">
  57519. <comment>Counter 0 enable</comment>
  57520. </bits>
  57521. </reg>
  57522. <hole size="224"/>
  57523. <reg name="pmcntenclr" protect="rw">
  57524. <bits access="rw" name="c" pos="31" rst="0">
  57525. <comment>Cycle counter enable clear:
  57526. 0 = disable
  57527. 1 = enable.</comment>
  57528. </bits>
  57529. <bits access="rw" name="p1" pos="1" rst="0">
  57530. <comment>Counter 1 enable</comment>
  57531. </bits>
  57532. <bits access="rw" name="p0" pos="0" rst="0">
  57533. <comment>Counter 0 enable</comment>
  57534. </bits>
  57535. </reg>
  57536. <hole size="224"/>
  57537. <reg name="pmintenset" protect="rw">
  57538. <bits access="rw" name="c" pos="31" rst="9">
  57539. <comment>PMCCNTR overflow interrupt request enable.
  57540. When reading this register:
  57541. 0 = interrupt request disabled
  57542. 1 = interrupt request enabled.
  57543. When writing to this register:
  57544. 0 = no action
  57545. 1 = interrupt request enabled.</comment>
  57546. </bits>
  57547. <bits access="rw" name="p1" pos="1" rst="0">
  57548. <comment>PMC1 overflow interrupt request enable</comment>
  57549. </bits>
  57550. <bits access="rw" name="p0" pos="0" rst="0">
  57551. <comment>PMC0 overflow interrupt request enable.</comment>
  57552. </bits>
  57553. </reg>
  57554. <hole size="224"/>
  57555. <reg name="pmintenclr" protect="rw">
  57556. <bits access="rw" name="c" pos="31" rst="9">
  57557. <comment>PMCCNTR overflow interrupt clear bit.
  57558. When reading this register:
  57559. 0 = interrupt request disabled
  57560. 1 = interrupt request enabled.
  57561. When writing to this register:
  57562. 0 = no action
  57563. 1 = interrupt request cleared.</comment>
  57564. </bits>
  57565. <bits access="rw" name="p1" pos="1" rst="0">
  57566. <comment>Clear interrupt request on PMC1 overflow.</comment>
  57567. </bits>
  57568. <bits access="rw" name="p0" pos="0" rst="0">
  57569. <comment>Clear interrupt request on PMC0 overflow</comment>
  57570. </bits>
  57571. </reg>
  57572. <hole size="224"/>
  57573. <reg name="pmovsr" protect="rw">
  57574. <bits access="rw" name="c" pos="31" rst="0">
  57575. <comment>Cycle counter overflow flag:
  57576. 0 = disable
  57577. 1 = enable.</comment>
  57578. </bits>
  57579. <bits access="rw" name="p1" pos="1" rst="0">
  57580. <comment>Counter 1 overflow flag</comment>
  57581. </bits>
  57582. <bits access="rw" name="p0" pos="0" rst="0">
  57583. <comment>Counter 0 overflow flag</comment>
  57584. </bits>
  57585. </reg>
  57586. <hole size="224"/>
  57587. <reg name="pmswinc" protect="rw">
  57588. <bits access="w" name="p1" pos="1" rst="0">
  57589. <comment>Increment Counter 1. When writing this register, a value of 1 increments the counter, and value of 0 does nothing.</comment>
  57590. </bits>
  57591. <bits access="w" name="p0" pos="0" rst="0">
  57592. <comment>Increment Counter 1. When writing this register, a value of 1 increments the counter, and value of 0 does nothing.</comment>
  57593. </bits>
  57594. </reg>
  57595. <hole size="2784"/>
  57596. <reg name="pmcfgr" protect="r">
  57597. <bits access="r" name="uen" pos="19" rst="1">
  57598. <comment>User mode enable supported (using PMUSERENR)</comment>
  57599. </bits>
  57600. <bits access="r" name="ex" pos="16" rst="1">
  57601. <comment>Event export supported</comment>
  57602. </bits>
  57603. <bits access="r" name="ccd" pos="15" rst="1">
  57604. <comment>Cycle counter pre-scale supported</comment>
  57605. </bits>
  57606. <bits access="r" name="cc" pos="14" rst="1">
  57607. <comment>Cycle counter implemented</comment>
  57608. </bits>
  57609. <bits access="r" name="size" pos="12:11" rst="3">
  57610. <comment>32-bit counters implemented</comment>
  57611. </bits>
  57612. <bits access="r" name="n" pos="4:0" rst="2">
  57613. <comment>2 event counters implemented</comment>
  57614. </bits>
  57615. </reg>
  57616. <reg name="pmcr" protect="rw">
  57617. <bits access="r" name="imp" pos="31:24" rst="65">
  57618. <comment>Specifies the implementor code:
  57619. 0x41 = ARM.
  57620. This field is read-only and write ignored.</comment>
  57621. </bits>
  57622. <bits access="r" name="idcode" pos="23:16" rst="5">
  57623. <comment>Specifies the identification code:
  57624. 0x5
  57625. This field is read-only and write ignored.</comment>
  57626. </bits>
  57627. <bits access="r" name="n" pos="15:11" rst="2">
  57628. <comment>Specifies the number of counters implemented:
  57629. 0x2 = two counters implemented.
  57630. This field is read-only and write ignored.</comment>
  57631. </bits>
  57632. <bits access="rw" name="dp" pos="5" rst="0">
  57633. <comment>Disables cycle counter, PMCCNTR, when prohibited:
  57634. 0 = count is enabled in prohibited regions. This is the reset value.
  57635. 1 = count is disabled in prohibited regions.</comment>
  57636. </bits>
  57637. <bits access="rw" name="x" pos="4" rst="0">
  57638. <comment>Enables export of the events from the event bus to an external monitoring block, such as an ETM:
  57639. 0 = export disabled. This is the reset value.
  57640. 1 = export enabled.</comment>
  57641. </bits>
  57642. <bits access="rw" name="d" pos="3" rst="0">
  57643. <comment>Cycle count divider:
  57644. 0 = count every clock cycle when enabled. This is the reset value.
  57645. 1 = count every 64th clock cycle when enabled.</comment>
  57646. </bits>
  57647. <bits access="rw" name="c" pos="2" rst="0">
  57648. <comment>Cycle counter reset, write only bit, RAZ:
  57649. 0 = no action
  57650. 1 = reset cycle counter, PMCCNTR, to zero.</comment>
  57651. </bits>
  57652. <bits access="rw" name="p" pos="1" rst="0">
  57653. <comment>Performance counter reset, write only bit, RAZ:
  57654. 0 = no action
  57655. 1 = reset all performance counters to zero, not including PMCCNTR.</comment>
  57656. </bits>
  57657. <bits access="rw" name="e" pos="0" rst="0">
  57658. <comment>Enable bit:
  57659. 0 = disable all counters, including PMCCNTR. This is the reset value.
  57660. 1 = enable all counters including PMCCNTR.</comment>
  57661. </bits>
  57662. </reg>
  57663. <reg name="pmuserenr" protect="rw">
  57664. <bits access="rw" name="en" pos="0" rst="0">
  57665. <comment>User mode enable. 0 is the reset value</comment>
  57666. </bits>
  57667. </reg>
  57668. <hole size="160"/>
  57669. <reg name="pmceid0" protect="r">
  57670. <bits access="r" name="bus_cycle" pos="29" rst="0">
  57671. <comment>Bus cycle</comment>
  57672. </bits>
  57673. <bits access="r" name="wr_to_tlb" pos="28" rst="0">
  57674. <comment>Write to translation table base</comment>
  57675. </bits>
  57676. <bits access="r" name="instr_specultate_exec" pos="27" rst="0">
  57677. <comment>Instruction speculatively executed</comment>
  57678. </bits>
  57679. <bits access="r" name="local_mem_err" pos="26" rst="0">
  57680. <comment>Local memory error</comment>
  57681. </bits>
  57682. <bits access="r" name="bus_access" pos="25" rst="0">
  57683. <comment>Bus access</comment>
  57684. </bits>
  57685. <bits access="r" name="l2_dc_write_back" pos="24" rst="0">
  57686. <comment>Level 2 data cache write-back</comment>
  57687. </bits>
  57688. <bits access="r" name="l2_dc_refill" pos="23" rst="0">
  57689. <comment>Level 2 data cache refill</comment>
  57690. </bits>
  57691. <bits access="r" name="l2_dc_access" pos="22" rst="0">
  57692. <comment>Level 2 data cache access</comment>
  57693. </bits>
  57694. <bits access="r" name="l1_dc_write_back" pos="21" rst="0">
  57695. <comment>Level 1 data cache write-back</comment>
  57696. </bits>
  57697. <bits access="r" name="l1_ic_access" pos="20" rst="0">
  57698. <comment>Level 1 instruction cache access</comment>
  57699. </bits>
  57700. <bits access="r" name="data_mem_access" pos="19" rst="0">
  57701. <comment>Data memory access</comment>
  57702. </bits>
  57703. <bits access="r" name="predict_branch_speculate_exec" pos="18" rst="0">
  57704. <comment>Predictable branch speculatively executed</comment>
  57705. </bits>
  57706. <bits access="r" name="cycle" pos="17" rst="0">
  57707. <comment>Cycle</comment>
  57708. </bits>
  57709. <bits access="r" name="mispredict_branch" pos="16" rst="0">
  57710. <comment>Mispredicted or not predicted branch speculatively executed</comment>
  57711. </bits>
  57712. <bits access="r" name="unaligned_ld_strore" pos="15" rst="0">
  57713. <comment>Unaligned load or store</comment>
  57714. </bits>
  57715. <bits access="r" name="proc_ret" pos="14" rst="0">
  57716. <comment>Procedure return</comment>
  57717. </bits>
  57718. <bits access="r" name="imm_branch" pos="13" rst="0">
  57719. <comment>Immediate branch</comment>
  57720. </bits>
  57721. <bits access="r" name="sw_change_pc" pos="12" rst="0">
  57722. <comment>Software change of the PC</comment>
  57723. </bits>
  57724. <bits access="r" name="wr_to_context" pos="11" rst="0">
  57725. <comment>Write to CONTEXTIDR</comment>
  57726. </bits>
  57727. <bits access="r" name="excep_ret" pos="10" rst="0">
  57728. <comment>Exception return</comment>
  57729. </bits>
  57730. <bits access="r" name="excep_taken" pos="9" rst="0">
  57731. <comment>Exception taken</comment>
  57732. </bits>
  57733. <bits access="r" name="instr_arch_exec" pos="8" rst="0">
  57734. <comment>Instruction architecturally executed</comment>
  57735. </bits>
  57736. <bits access="r" name="store" pos="7" rst="0">
  57737. <comment>Store</comment>
  57738. </bits>
  57739. <bits access="r" name="load" pos="6" rst="0">
  57740. <comment>Load</comment>
  57741. </bits>
  57742. <bits access="r" name="l1_data_tlb_refill" pos="5" rst="0">
  57743. <comment>Level 1 data TLB refill</comment>
  57744. </bits>
  57745. <bits access="r" name="l1_dc_access" pos="4" rst="0">
  57746. <comment>Level 1 data cache access</comment>
  57747. </bits>
  57748. <bits access="r" name="l1_dc_refill" pos="3" rst="0">
  57749. <comment>Level 1 data cache refill</comment>
  57750. </bits>
  57751. <bits access="r" name="l1_instr_tlb_refill" pos="2" rst="0">
  57752. <comment>Level 1 instruction TLB refill</comment>
  57753. </bits>
  57754. <bits access="r" name="l1_ic_refill" pos="1" rst="0">
  57755. <comment>Level 1 instruction cache refill</comment>
  57756. </bits>
  57757. <bits access="r" name="sw_inc" pos="0" rst="0">
  57758. <comment>Software increment</comment>
  57759. </bits>
  57760. </reg>
  57761. <hole size="3168"/>
  57762. <reg name="pmlar" protect="w">
  57763. <bits access="w" name="lock_access_control" pos="31:0" rst="0">
  57764. <comment>Lock access control. To unlock the performance monitor registers, write a 0xC5ACCE55 key to this register. To
  57765. lock the performance monitor registers, write any other value. Accesses to locked performance monitor
  57766. registers are ignored. The reset value is 0.</comment>
  57767. </bits>
  57768. </reg>
  57769. <reg name="pmlsr" protect="r">
  57770. <bits access="r" name="lar_32_bits" pos="2" rst="0">
  57771. <comment>Read as zero. It indicates that a 32-bit access is required to write the key to the Lock Access Register</comment>
  57772. </bits>
  57773. <bits access="r" name="etm_locked" pos="1" rst="0">
  57774. <comment>This bit indicates the status of the debug registers lock.
  57775. 0 = Lock clear. Debug register writes are permitted.
  57776. 1 = Lock set. Debug register writes are ignored.
  57777. The Debug reset value of this bit is 1.</comment>
  57778. </bits>
  57779. <bits access="r" name="lock_reg_impl" pos="0" rst="1">
  57780. <comment>Read-as-One</comment>
  57781. </bits>
  57782. </reg>
  57783. <reg name="pmauthstatus" protect="r">
  57784. <bits access="r" name="snid_1" pos="7" rst="1">
  57785. <comment>Secure noninvasive debug enable field</comment>
  57786. </bits>
  57787. <bits access="r" name="snid_2" pos="6" rst="1">
  57788. <comment>DBGEN || NIDEN) &amp;&amp; (SPIDEN || SPNIDEN</comment>
  57789. </bits>
  57790. <bits access="r" name="sid_1" pos="5" rst="1">
  57791. <comment>Secure invasive debug enable field</comment>
  57792. </bits>
  57793. <bits access="r" name="sid_2" pos="4" rst="1">
  57794. <comment>DBGEN &amp;&amp; SPIDEN</comment>
  57795. </bits>
  57796. <bits access="r" name="nsnid_1" pos="3" rst="1">
  57797. <comment>Non-secure noninvasive debug field</comment>
  57798. </bits>
  57799. <bits access="r" name="nsnid_2" pos="2" rst="1">
  57800. <comment>DBGEN || NIDEN</comment>
  57801. </bits>
  57802. <bits access="r" name="nsid" pos="1:0" rst="0">
  57803. <comment>Non-secure invasive debug enable</comment>
  57804. </bits>
  57805. </reg>
  57806. <hole size="128"/>
  57807. <reg name="pmdevtype" protect="r">
  57808. <bits access="r" name="sub_type" pos="7:4" rst="1">
  57809. <comment>Indicates that the sub-type of the Cortex-A5 processor is core. This value is 0x1.</comment>
  57810. </bits>
  57811. <bits access="r" name="main_class" pos="3:0" rst="6">
  57812. <comment>Indicates that the main class of the Cortex-A5 processor is performance monitor. This value is 0x6.</comment>
  57813. </bits>
  57814. </reg>
  57815. <reg name="pmpidr4" protect="r">
  57816. <bits access="r" name="n" pos="7:4" rst="0">
  57817. <comment>Indicates the number of blocks occupied by the Cortex-A5 processor. This field is always set to 0.</comment>
  57818. </bits>
  57819. <bits access="r" name="jep106_con_code" pos="3:0" rst="4">
  57820. <comment>Indicates the JEDEC JEP106 Continuation Code. For the Cortex-A5 processor, this value is 0x4.</comment>
  57821. </bits>
  57822. </reg>
  57823. <reg name="pmpidr5" protect="r">
  57824. </reg>
  57825. <reg name="pmpidr6" protect="r">
  57826. </reg>
  57827. <reg name="pmpidr7" protect="r">
  57828. </reg>
  57829. <reg name="pmpidr0" protect="r">
  57830. <bits access="r" name="part_number" pos="7:0" rst="165">
  57831. <comment>Indicates bits [7:0] of the part number for the Cortex-A5 processor. This value is 0xA5.</comment>
  57832. </bits>
  57833. </reg>
  57834. <reg name="pmpidr1" protect="r">
  57835. <bits access="r" name="jep106_id_3_0" pos="7:4" rst="11">
  57836. <comment>Indicates bits of the JEDEC JEP106 Identity Code. This value is 0xB.</comment>
  57837. </bits>
  57838. <bits access="r" name="part_number_11_8" pos="3:0" rst="9">
  57839. <comment>Indicates bits [11:8] of the part number for the Cortex-A5 processor. This value is 0x9.</comment>
  57840. </bits>
  57841. </reg>
  57842. <reg name="pmpidr2" protect="r">
  57843. <bits access="r" name="rev_number" pos="7:4" rst="1">
  57844. <comment>Indicates the revision number for the Cortex-A5 processor. This value changes based on the
  57845. product major and minor revision. This value is set to 1 indicating revision r0p1.</comment>
  57846. </bits>
  57847. <bits access="r" name="jedec_val_in_use" pos="3" rst="1">
  57848. <comment>Always 1. Indicates that a JEDEC assigned value is used.</comment>
  57849. </bits>
  57850. <bits access="r" name="jep106_id_6_4" pos="2:0" rst="3">
  57851. <comment>Indicates bits [6:4] of the JEDEC JEP106 Identity Code. This value is set to 0x3.</comment>
  57852. </bits>
  57853. </reg>
  57854. <reg name="pmpidr3" protect="r">
  57855. <bits access="r" name="revand" pos="7:4" rst="0">
  57856. <comment>Indicates the manufacturer revision number. This value changes based on the manufacturer
  57857. metal fixes. This value is set to 0.</comment>
  57858. </bits>
  57859. <bits access="r" name="customized_val" pos="3:0" rst="0">
  57860. <comment>For the Cortex-A5 processor, this value is set to 0.</comment>
  57861. </bits>
  57862. </reg>
  57863. <reg name="pmcidr0" protect="r">
  57864. <bits access="r" name="cid_7_0" pos="7:0" rst="13">
  57865. <comment>Component identifier, bits [7:0].</comment>
  57866. </bits>
  57867. </reg>
  57868. <reg name="pmcidr1" protect="r">
  57869. <bits access="r" name="component_class" pos="7:4" rst="9">
  57870. <comment>Component class (component identifier, bits [15:12]).</comment>
  57871. </bits>
  57872. <bits access="r" name="cid_11_8" pos="3:0" rst="0">
  57873. <comment>Component identifier, bits [11:8].</comment>
  57874. </bits>
  57875. </reg>
  57876. <reg name="pmcidr2" protect="r">
  57877. <bits access="r" name="cid_23_16" pos="7:0" rst="5">
  57878. <comment>Component identifier, bits [23:16].</comment>
  57879. </bits>
  57880. </reg>
  57881. <reg name="pmcidr3" protect="r">
  57882. <bits access="r" name="cid_31_24" pos="7:0" rst="177">
  57883. <comment>Component identifier, bits [31:24].</comment>
  57884. </bits>
  57885. </reg>
  57886. </module>
  57887. </archive>
  57888. <archive relative="etm_a5.xml">
  57889. <module category="Debug" name="ETM_A5">
  57890. <reg name="etmcr" protect="rw">
  57891. <bits access="rw" name="enable_timestamping" pos="28" rst="0">
  57892. <comment>Set to 1 to enable timestamping.
  57893. On an ETM reset this bit is 0.</comment>
  57894. </bits>
  57895. <bits access="rw" name="core_select" pos="27:25" rst="0">
  57896. <comment>If an ETM is shared between multiple cores, selects which core to trace. For the maximum value permitted, see bits [14:12] of the System Configuration Register. See the Embedded Trace Macrocell Architecture Specification for more information.
  57897. To guarantee that the ETM is correctly synchronized to the new core, you must update these bits as follows:
  57898. 1:Set bit [10], ETM programming, and bit [0], ETM power down, to 1.
  57899. 2:Change the core select bits.
  57900. 3:Clear bit [0], ETM power down, to 0.
  57901. 4:Perform other programming required as normal. On an ETM reset this field is zero.</comment>
  57902. </bits>
  57903. <bits access="r" name="instr_res_access_ctrl" pos="24" rst="0">
  57904. <comment>Instrumentation resources access control, ETM-A5 does not implement any instrumentation resources and therefore this bit is RAZ.</comment>
  57905. </bits>
  57906. <bits access="r" name="dis_sw_wr" pos="23" rst="0">
  57907. <comment>Disable software writes. ETM-A5 does not support this feature and therefore this bit is RAZ.</comment>
  57908. </bits>
  57909. <bits access="r" name="dis_reg_wr_from_debugger" pos="22" rst="0">
  57910. <comment>Disable register writes from the debugger. ETM-A5 does not support this feature and therefore this bit is RAZ.</comment>
  57911. </bits>
  57912. <bits access="rw" name="port_size_3" pos="21" rst="0">
  57913. <comment>Port size[3].Use this bit in conjunction with bits [6:4].On an ETM reset this bit is 0, corresponding to the 32-bit port size.</comment>
  57914. </bits>
  57915. <bits access="rw" name="data_only_mode" pos="20" rst="0">
  57916. <comment>0:Instruction trace enabled.
  57917. 1:Instruction trace disabled. Data-only tracing is possible in this mode. On an ETM reset this bit is 0.</comment>
  57918. </bits>
  57919. <bits access="rw" name="filter_cprt" pos="19" rst="0">
  57920. <comment>Use this bit in conjunction with bit [1], the MonitorCPRT bit. For details see Filter Coprocessor Register Transfers (CPRT) in ETMv3.0 and later in the Embedded Trace Macrocell Architecture Specification.</comment>
  57921. </bits>
  57922. <bits access="rw" name="suppressdata" pos="18" rst="0">
  57923. <comment>Use this bit with bit [7] to suppress data. For details see Data suppression in the Embedded Trace Macrocell Architecture Specification.On an ETM reset this bit is 0.</comment>
  57924. </bits>
  57925. <bits access="rw" name="port_mode_1_0" pos="17:16" rst="0">
  57926. <comment>These bits are used, in conjunction with bit [13], to set the trace port clocking mode. ETM-A5 supports only dynamic mode, corresponding to the value b000, but you can write other values to these bits, and a read of the register returns the value written. Writing another value to these bits has no effect on the ETM. Bit [11] of the System Configuration Register indicates if these bits are set to select a supported clocking mode.On an ETM reset these bits are zero.</comment>
  57927. </bits>
  57928. <bits access="rw" name="contextidsize" pos="15:14" rst="0">
  57929. <comment>b00 No Context ID tracing.
  57930. b01 Context ID bits [7:0] traced.
  57931. b10 Context ID bits [15:0]
  57932. b11 Context ID bits [31:0] traced.
  57933. Note Only the number of bytes specified is traced even if the new value is larger than this.On an ETM reset this field is zero.</comment>
  57934. </bits>
  57935. <bits access="rw" name="port_mode_2" pos="13" rst="0">
  57936. <comment>See the description of bits [17:16].On an ETM reset this bit is 0.</comment>
  57937. </bits>
  57938. <bits access="rw" name="cycle-accuratetracing" pos="12" rst="0">
  57939. <comment>Set this bit to 1 if you want the trace to include a precise cycle count of executed instructions. This is achieved by adding extra information into the trace, giving cycle counts even when TraceEnable is inactive.On an ETM reset this bit is 0.</comment>
  57940. </bits>
  57941. <bits access="rw" name="etm_port_sel" pos="11" rst="0">
  57942. <comment>This bit controls an external output, ETMEN. The possible values are:
  57943. 0 ETMEN is LOW.
  57944. 1 ETMEN is HIGH.
  57945. You can use the ETMEN signal to control the routing of trace port signals to shared GPIO pins on your SoC, under the control of logic external to the ETM.Trace software tools must set this bit to 1 to ensure that trace output is enabled from this ETM.</comment>
  57946. </bits>
  57947. <bits access="rw" name="etm_programming" pos="10" rst="1">
  57948. <comment>When set to 1, the ETM is being programmed. For more information, see ETM Programming bit and associated state in the Embedded Trace Macrocell Architecture Specification.</comment>
  57949. </bits>
  57950. <bits access="rw" name="debugrequestcontrol" pos="9" rst="0">
  57951. <comment>If you set this bit to 1, when the trigger event occurs, the DBGRQ output is asserted until DBGACK is observed. This enables the Cortex-A5 processor to be forced into Debug state. On an ETM reset this bit is 0.</comment>
  57952. </bits>
  57953. <bits access="rw" name="branchoutput" pos="8" rst="0">
  57954. <comment>Set this bit to 1 if you want the ETM to output all branch addresses, even if the branch isbecause of a direct branch instruction. Setting this bit to 1 enables reconstruction of the program flow without having access to the memory image of the code being executed.On an ETM reset this bit is 0.</comment>
  57955. </bits>
  57956. <bits access="r" name="stallprocessor" pos="7" rst="0">
  57957. <comment>ETM-A5 does not implement FIFOFULL stalling of the processor, and therefore this bit is RAZ.</comment>
  57958. </bits>
  57959. <bits access="rw" name="portsize[2:0]" pos="6:4" rst="4">
  57960. <comment>Use this field with bit [21] to specify the port size.The port size determines how many external pins are available to output the trace information on ATDATA[31:0]. ETM-A5 supports only the 32-bit port size, corresponding to a Port size[3:0] value of b0100, but you can write other values to these bits, and a read of the register returns the value written. Writing other values to these bits has no effect on the ETM.Bit [10] of the System Configuration Register indicates if these bits are set to select an unsupported port size.For more information see the Embedded Trace Macrocell Architecture Specification. On an ETM reset this field is b100, corresponding to the 32-bit port size.</comment>
  57961. </bits>
  57962. <bits access="rw" name="dataaccess" pos="3:2" rst="0">
  57963. <comment>This field configures the data tracing mode. The possible values are:
  57964. b00 No data tracing.
  57965. b01 Trace only the data portion of the access.
  57966. b10 Trace only the address portion of the access.
  57967. b11 Trace both the address and the data of the access. On an ETM reset this field is zero.</comment>
  57968. </bits>
  57969. <bits access="rw" name="monitorcprt" pos="1" rst="0">
  57970. <comment>This field controls whether CPRTs are traced. The possible values are:
  57971. 0 CPRTs not traced.
  57972. 1 CPRTs traced.
  57973. This bit is used with bit [19]. For details see Filter Coprocessor Register Transfers (CPRT) in ETMv3.0 and later in the Embedded Trace Macrocell Architecture Specification.</comment>
  57974. </bits>
  57975. <bits access="rw" name="etmpowerdown" pos="0" rst="1">
  57976. <comment>A pin controlled by this bit enables the ETM power to be controlled externally, see Control of ETM power down. The sense of this bit is inverted, and drives the ETMPWRUP signal. This bit must be cleared by the trace software tools at the beginning of a debug session. When this bit is set to 1, ETM tracing is disabled and accesses to any registers other than this register and the Lock Access Register are ignored.On an ETM reset this bit is set to 1.</comment>
  57977. </bits>
  57978. </reg>
  57979. <reg name="etmccr" protect="r">
  57980. <bits access="r" name="etmidrpresent." pos="31" rst="1">
  57981. <comment>ETMIDR present.</comment>
  57982. </bits>
  57983. <bits access="r" name="softwareaccessissupported." pos="27" rst="1">
  57984. <comment>Software access is supported.</comment>
  57985. </bits>
  57986. <bits access="r" name="tracestart/stopblockispresent." pos="26" rst="1">
  57987. <comment>Trace start/stop block is present.</comment>
  57988. </bits>
  57989. <bits access="r" name="numberofcontextidcomparators" pos="25:24" rst="1">
  57990. <comment>Number of Context ID comparators.</comment>
  57991. </bits>
  57992. <bits access="r" name="fifofulllogicabsent." pos="23" rst="0">
  57993. <comment>FIFOFULL logic absent.</comment>
  57994. </bits>
  57995. <bits access="r" name="number_ext_out" pos="21:20" rst="0">
  57996. <comment>Number of external outputs. Determined by the MAXEXTOUT[1:0] inputs.The value of these bits is the minimum of MAXEXTOUT[1:0] and 2, because ETM-A5 supports a maximum of 2 external outputs.</comment>
  57997. </bits>
  57998. <bits access="r" name="number_ext_in" pos="19:17" rst="0">
  57999. <comment>Number of external inputs. Determined by the MAXEXTIN[2:0] inputs. The value of these bits is the minimum of MAXEXTIN[2:0] and 4, because ETM-A5 supports a maximum of 4 external inputs.</comment>
  58000. </bits>
  58001. <bits access="r" name="sequncer_is_present" pos="16" rst="1">
  58002. <comment>The sequencer is present.</comment>
  58003. </bits>
  58004. <bits access="r" name="number_counters" pos="15:13" rst="2">
  58005. <comment>Number of counters.</comment>
  58006. </bits>
  58007. <bits access="r" name="number_mm_decoder" pos="12:8" rst="0">
  58008. <comment>Number of memory map decoders.</comment>
  58009. </bits>
  58010. <bits access="r" name="number_data_comparator" pos="7:4" rst="2">
  58011. <comment>Number of data comparators.</comment>
  58012. </bits>
  58013. <bits access="r" name="number_pair_addr_comparator" pos="3:0" rst="4">
  58014. <comment>Number of pairs of address comparators.</comment>
  58015. </bits>
  58016. </reg>
  58017. <reg name="etmtrigger" protect="rw">
  58018. <bits access="rw" name="func" pos="16:14" rst="0">
  58019. <comment>function:
  58020. 0: A
  58021. 1: NOT(A)
  58022. 2: A AND B
  58023. 3: NOT(A) AND B
  58024. 4: NOT(A) AND NOT(B)
  58025. 5: A OR B
  58026. 6: NOT(A) OR B
  58027. 7: NOT(A) OR NOT(B)</comment>
  58028. </bits>
  58029. <bits access="rw" name="resource_b" pos="13:7" rst="0">
  58030. <comment>Resource B
  58031. [13:11]: resource type
  58032. [10:7]: resource index</comment>
  58033. </bits>
  58034. <bits access="rw" name="resource_a" pos="6:0" rst="0">
  58035. <comment>Resource A</comment>
  58036. </bits>
  58037. </reg>
  58038. <reg name="etmasicctlr" protect="rw">
  58039. <bits access="rw" name="asic_ctl" pos="7:0" rst="0">
  58040. <comment>ASICCTL[7:0]:
  58041. when a bit in this field is set to 0 the corresponding bit of ASICCTL[7:0] is LOW
  58042. when a bit in this field is set to 1 the corresponding bit of ASICCTL[7:0] is HIGH.</comment>
  58043. </bits>
  58044. </reg>
  58045. <reg name="etmsr" protect="rw">
  58046. <bits access="rw" name="trig_bit" pos="3" rst="0">
  58047. <comment>v3.1 Trigger bit. Set when the trigger occurs, and prevents the trigger from being output until the
  58048. ETM is programmed again. This bit exists in all architecture versions, but can
  58049. only be accessed in ETMv3.1 and later as described in ETM Programming bit and
  58050. associated state on page 3-97.</comment>
  58051. </bits>
  58052. <bits access="r" name="curr_status_trace" pos="2" rst="0">
  58053. <comment>Holds the current status of the trace start/stop resource. If set to 1, it indicates that
  58054. a trace on address has been matched, without a corresponding trace off address match</comment>
  58055. </bits>
  58056. <bits access="r" name="curr_effect_val_etm_prog_bit" pos="1" rst="0">
  58057. <comment>The current effective value of the ETM Programming bit, bit [10] of the ETMCR.
  58058. You must wait for this bit to go to 1 before you start to program the ETM as
  58059. described in ETM Programming bit and associated state on page 3-97.
  58060. If you read other bits in the ETMSR while this bit is 0, some instructions might
  58061. not have taken effect. ARM recommends that you set the ETM Programming bit
  58062. and wait for this bit to go to 1 before reading the overflow bit.
  58063. In ETMv3.2 and later this bit remains 0 if there is any data in the FIFO. This
  58064. ensures that the FIFO is empty before the ETM programming is changed.
  58065. In ETMv3.5 this bit is set when the OS Lock is set. See OS Lock Status Register,
  58066. ETMOSLSR, ETMv3.3 and later on page 3-166.
  58067. In ETMv3.5 this bit must be polled before saving or restoring state. See Access
  58068. permissions for ETMv3.5, multiple power domains on page 3-224</comment>
  58069. </bits>
  58070. <bits access="r" name="trace_overflow" pos="0" rst="0">
  58071. <comment>If set to 1, there is an overflow that has not yet been traced. This bit is cleared to 0
  58072. when either:
  58073. ? trace is restarted.
  58074. ? the ETM Power Down bit, bit [0] of ETMCR, is set to 1.
  58075. Setting or clearing the ETM Programming bit does not cause this bit to be cleared
  58076. to 0.</comment>
  58077. </bits>
  58078. </reg>
  58079. <reg name="etmscr" protect="r">
  58080. <bits access="r" name="no_fetch_comp" pos="17" rst="1">
  58081. <comment>No Fetch comparisons. If this bit is set to 1, address comparators cannot perform
  58082. fetch-stage comparisons. Setting bits [2:0] of an ETMACTR to b000, instruction fetch
  58083. causes the comparator to have UNPREDICTABLE behavior.</comment>
  58084. </bits>
  58085. <bits access="r" name="number_support_processor" pos="14:12" rst="0">
  58086. <comment>Number of supported processors minus 1.
  58087. The value given here is the maximum value that can be written to bits [27:25] of the
  58088. ETMCR, register 0x000. This field must be b000 if the ETM supports Direct JTAG access</comment>
  58089. </bits>
  58090. <bits access="r" name="port_mode_support" pos="11" rst="1">
  58091. <comment>Port mode supported.
  58092. Set to 1 if the currently selected port mode is supported internally or externally.</comment>
  58093. </bits>
  58094. <bits access="r" name="port_size_support" pos="10" rst="1">
  58095. <comment>Port size supported.
  58096. Set to 1 if the currently selected port size is supported internally or externally for the
  58097. currently selected port mode. Enables more complex port sizes to be supported</comment>
  58098. </bits>
  58099. <bits access="r" name="max_port_size_3" pos="9" rst="0">
  58100. <comment>Maximum port size[3]. This bit is used in conjunction with bits [2:0].</comment>
  58101. </bits>
  58102. <bits access="r" name="fifofull_support" pos="8" rst="0">
  58103. <comment>If set to 1, FIFOFULL is supported. This bit is used in conjunction with bit [23] of the
  58104. ETMCCR, register 0x001.</comment>
  58105. </bits>
  58106. <bits access="r" name="max_port_size_2_0" pos="2:0" rst="4">
  58107. <comment>Maximum port size[2:0]. This bit is used in conjunction with bit [9]. The value given here
  58108. is the maximum size supported by both the ETM and the ASIC. Smaller sizes might or
  58109. might not be supported. Check bit [10] for precise information on supported modes. See
  58110. bits [6:4] in ETMCR bit assignments on page 3-101.</comment>
  58111. </bits>
  58112. </reg>
  58113. <reg name="etmtsscr" protect="rw">
  58114. <bits access="rw" name="stop_addr" pos="31:16" rst="0">
  58115. <comment>When a bit is set to 1, it selects a single address comparator 16-1 as stop addresses. For
  58116. example, bit [16] set to 1 selects single address comparator 1 as a stop address.</comment>
  58117. </bits>
  58118. <bits access="rw" name="start_addr" pos="15:0" rst="0">
  58119. <comment>When a bit is set to 1, it selects a single address comparator 16-1 as start addresses. For
  58120. example, bit [0] set to 1 selects single address comparator 1 as a start address.</comment>
  58121. </bits>
  58122. </reg>
  58123. <reg name="etmtecr2" protect="rw">
  58124. <bits access="rw" name="slect_address_comparator" pos="15:0" rst="0">
  58125. <comment>When a bit is set to 1, it selects a single address comparator 16-1 for include/exclude
  58126. control. For example, bit [0] set to 1 selects single address comparator 1.</comment>
  58127. </bits>
  58128. </reg>
  58129. <reg name="etmteevr" protect="rw">
  58130. <bits access="rw" name="func" pos="16:14" rst="0">
  58131. <comment>function:
  58132. 0: A
  58133. 1: NOT(A)
  58134. 2: A AND B
  58135. 3: NOT(A) AND B
  58136. 4: NOT(A) AND NOT(B)
  58137. 5: A OR B
  58138. 6: NOT(A) OR B
  58139. 7: NOT(A) OR NOT(B)</comment>
  58140. </bits>
  58141. <bits access="rw" name="resource_b" pos="13:7" rst="0">
  58142. <comment>Resource B
  58143. [13:11]: resource type
  58144. [10:7]: resource index</comment>
  58145. </bits>
  58146. <bits access="rw" name="resource_a" pos="6:0" rst="0">
  58147. <comment>Resource A</comment>
  58148. </bits>
  58149. </reg>
  58150. <reg name="etmtecr1" protect="rw">
  58151. <bits access="rw" name="trace_start_stop_en" pos="25" rst="0">
  58152. <comment>Trace start/stop enable. The possible values of this bit are:
  58153. 0 Tracing is unaffected by the trace start/stop logic.
  58154. 1 Tracing is controlled by the trace on and off addresses configured for the
  58155. trace start/stop logic. See The trace start/stop block on page 2-40.
  58156. The trace start/stop resource (resource 0x5F) is unaffected by the value of this bit.</comment>
  58157. </bits>
  58158. <bits access="rw" name="include_exclude_ctrl" pos="24" rst="0">
  58159. <comment>Include/exclude control. The possible values of this bit are:
  58160. 0 Include. The specified resources indicate the regions where tracing can
  58161. occur. When outside this region tracing is prevented.
  58162. 1 Exclude. The resources, specified in bits [23:0] and in the ETMTECR2,
  58163. indicate regions to be excluded from the trace. When outside an exclude
  58164. region, tracing can occur.</comment>
  58165. </bits>
  58166. <bits access="rw" name="select_mm_decoder" pos="23:8" rst="0">
  58167. <comment>When a bit is set to 1, it selects memory map decode 16-1 for include/exclude control. For
  58168. example, bit [8] set to 1 selects MMD 1.</comment>
  58169. </bits>
  58170. <bits access="rw" name="select_addr_range_comparator" pos="7:0" rst="0">
  58171. <comment>When a bit is set to 1, it selects address range comparator 8-1 for include/exclude control.
  58172. For example, bit [0] set to 1 selects address range comparator 1.</comment>
  58173. </bits>
  58174. </reg>
  58175. <hole size="32"/>
  58176. <reg name="etmfflr" protect="rw">
  58177. <bits access="rw" name="number_bytes_left_fifo" pos="7:0" rst="0">
  58178. <comment>The number of bytes left in the FIFO, below which the FIFOFULL or
  58179. SuppressData signal is asserted. For example, setting this value to 15 causes data
  58180. trace suppression or processor stalling, if enabled, when there are less than 15 free
  58181. bytes in the FIFO.</comment>
  58182. </bits>
  58183. </reg>
  58184. <reg name="etmvdevr" protect="rw">
  58185. <bits access="rw" name="func" pos="16:14" rst="0">
  58186. <comment>function:
  58187. 0: A
  58188. 1: NOT(A)
  58189. 2: A AND B
  58190. 3: NOT(A) AND B
  58191. 4: NOT(A) AND NOT(B)
  58192. 5: A OR B
  58193. 6: NOT(A) OR B
  58194. 7: NOT(A) OR NOT(B)</comment>
  58195. </bits>
  58196. <bits access="rw" name="resource_b" pos="13:7" rst="0">
  58197. <comment>Resource B
  58198. [13:11]: resource type
  58199. [10:7]: resource index</comment>
  58200. </bits>
  58201. <bits access="rw" name="resource_a" pos="6:0" rst="0">
  58202. <comment>Resource A</comment>
  58203. </bits>
  58204. </reg>
  58205. <reg name="etmvdcr1" protect="rw">
  58206. <bits access="rw" name="select_addr_comparator_exclude" pos="31:16" rst="0">
  58207. <comment>When a bit is set to 1, it selects single address comparator 16 to 1 for exclude control. For
  58208. example, bit [16] set to 1 selects single address comparator 1.</comment>
  58209. </bits>
  58210. <bits access="rw" name="select_addr_comparator_include" pos="15:0" rst="0">
  58211. <comment>When a bit is set to 1, it selects single address comparator 16 to 1 for include control. For
  58212. example, bit [0] set to 1 selects single address comparator 1.</comment>
  58213. </bits>
  58214. </reg>
  58215. <hole size="32"/>
  58216. <reg name="etmvdcr3" protect="rw">
  58217. <bits access="rw" name="exclude_ctrl" pos="16" rst="0">
  58218. <comment>Exclude-only control. The possible values of this bit are:
  58219. 0 Mixed mode. ViewData operates in a mixed mode, and both include and
  58220. exclude resources can be programmed.
  58221. 1 Exclude-only mode. ViewData is programmed only in an excluding mode.
  58222. If none of the excluding resources match, tracing can occur.</comment>
  58223. </bits>
  58224. <bits access="rw" name="select_addr_comparator_exclude" pos="15:8" rst="0">
  58225. <comment>When a bit is set to 1, it selects address range comparator 8-1 for exclude control. For
  58226. example, bit [8] set to 1 selects address range comparator 1.</comment>
  58227. </bits>
  58228. <bits access="rw" name="select_addr_comparator_include" pos="7:0" rst="0">
  58229. <comment>When a bit is set to 1, it selects address range comparator 8-1 for include control. For
  58230. example, bit [0] set to 1 selects address range comparator 1.</comment>
  58231. </bits>
  58232. </reg>
  58233. <reg name="etmacvr1" protect="rw">
  58234. <bits access="rw" name="addr_value" pos="31:0" rst="0">
  58235. <comment>Address value</comment>
  58236. </bits>
  58237. </reg>
  58238. <reg name="etmacvr2" protect="rw">
  58239. <bits access="rw" name="addr_value" pos="31:0" rst="0">
  58240. <comment>Address value</comment>
  58241. </bits>
  58242. </reg>
  58243. <reg name="etmacvr3" protect="rw">
  58244. <bits access="rw" name="addr_value" pos="31:0" rst="0">
  58245. <comment>Address value</comment>
  58246. </bits>
  58247. </reg>
  58248. <reg name="etmacvr4" protect="rw">
  58249. <bits access="rw" name="addr_value" pos="31:0" rst="0">
  58250. <comment>Address value</comment>
  58251. </bits>
  58252. </reg>
  58253. <reg name="etmacvr5" protect="rw">
  58254. <bits access="rw" name="addr_value" pos="31:0" rst="0">
  58255. <comment>Address value</comment>
  58256. </bits>
  58257. </reg>
  58258. <reg name="etmacvr6" protect="rw">
  58259. <bits access="rw" name="addr_value" pos="31:0" rst="0">
  58260. <comment>Address value</comment>
  58261. </bits>
  58262. </reg>
  58263. <reg name="etmacvr7" protect="rw">
  58264. <bits access="rw" name="addr_value" pos="31:0" rst="0">
  58265. <comment>Address value</comment>
  58266. </bits>
  58267. </reg>
  58268. <reg name="etmacvr8" protect="rw">
  58269. <bits access="rw" name="addr_value" pos="31:0" rst="0">
  58270. <comment>Address value</comment>
  58271. </bits>
  58272. </reg>
  58273. <hole size="256"/>
  58274. <reg name="etmactr1" protect="rw">
  58275. <bits access="rw" name="vmid_comp_enable" pos="15" rst="0">
  58276. <comment>Virtual Machine ID (VMID) comparison enable, if the processor implements the
  58277. Virtualization Extensions.b
  58278. A value of 1 means that the address comparator matches only if the current VMID matches
  58279. the value stored in the ETMVMIDCVR. See VMID Comparator Value Register,
  58280. ETMVMIDCVR, ETMv3.5 on page 3-164.
  58281. This bit is reserved, RAZ if the processor does not implement the Virtualization extensions</comment>
  58282. </bits>
  58283. <bits access="rw" name="hyp_mode_comp_enable" pos="14" rst="0">
  58284. <comment>Hyp mode comparison enable, if the processor implements the Virtualization Extensions.b
  58285. A value of 1 means that the address comparator also matches if the processor is operating
  58286. in Hyp mode. See Virtualization Extensions, ETMv3.5 on page 7-345.
  58287. This bit is reserved, RAZ if the processor does not implement the Virtualization extensions.</comment>
  58288. </bits>
  58289. <bits access="rw" name="state_mode_comp_enable" pos="13:10" rst="0">
  58290. <comment>State and mode comparison control. The assignment of these bits is:
  58291. Bit [13, 11] Non-secure state comparison control.
  58292. Bit [12, 10] Secure state comparison control.
  58293. For each pair of bits, the encoding is:
  58294. b00 Match in all modes in this state.
  58295. b01 Do not match in any modes in this state.
  58296. b10 Match in all modes except User mode in this state.
  58297. b11 Match only in User mode in this state.
  58298. If the processor does not implement the Security Extensions, bits [13, 11] are reserved,
  58299. RAZ/WI.
  58300. See Filtering by state and mode, in ETMv3.5 on page 3-131</comment>
  58301. </bits>
  58302. <bits access="rw" name="context_id_comp_ctrl" pos="9:8" rst="0">
  58303. <comment>Context ID comparator control. The permitted values of this field are:
  58304. b00 Ignore Context ID comparator.
  58305. b01 Address comparator matches only if Context ID comparator value 1
  58306. matches.
  58307. b10 Address comparator matches only if Context ID comparator value 2
  58308. matches.
  58309. b11 Address comparator matches only if Context ID comparator value 3
  58310. matches.</comment>
  58311. </bits>
  58312. <bits access="rw" name="exact_match" pos="7" rst="0">
  58313. <comment>Exact match bit. Specifies comparator behavior when exceptions, aborts, and load misses
  58314. occur. See Exact matching, in ETMv2.0 and later on page 2-54.</comment>
  58315. </bits>
  58316. <bits access="rw" name="data_value_comp_ctrl" pos="6:5" rst="0">
  58317. <comment>Data value comparison control. The permitted values of this field are:
  58318. b00 No data value comparison is made.
  58319. b01 Comparator can match only if data value matches.
  58320. b11 Comparator can match only if data value does not match.
  58321. The value of b10 is reserved and must not be used.
  58322. Note:
  58323. The b11 encoding was introduced in ETM architecture version 1.2. Previously this value
  58324. was reserved.
  58325. For details of the effect of this field on data value comparison, see Exact matching for data
  58326. address comparisons on page 2-56.</comment>
  58327. </bits>
  58328. <bits access="rw" name="comp_access_size" pos="4:3" rst="0">
  58329. <comment>Comparison access size. The permitted values of this field are:
  58330. b00 Java instruction (from ETM architecture version 1.3 only) or byte data.
  58331. b01 Thumb instruction or halfword data.
  58332. b11 ARM instruction or word data.
  58333. The value of b10 is reserved and must not be used.
  58334. For more information, see Comparator access size on page 2-49.</comment>
  58335. </bits>
  58336. <bits access="rw" name="access_type" pos="2:0" rst="0">
  58337. <comment>Access type. The permitted values of this field are:
  58338. b000c Instruction fetch.
  58339. b001 Instruction execute.
  58340. b010 Instruction executed and passed condition code test.
  58341. b011 Instruction executed and failed condition code test.
  58342. b100 Data load or store.
  58343. b101 Data load.
  58344. b110 Data store.
  58345. The value of b111 is reserved and must not be used.
  58346. Note:
  58347. ? The b010 and b011 encodings were introduced in ETM architecture version 1.2.
  58348. Previously these values were reserved.
  58349. ? From ETMv3.3, if data address comparisons are not supported, writing b100, b101
  58350. or b110 to this field causes UNPREDICTABLE behavior. See No data address
  58351. comparator option, ETMv3.3 and later on page 2-25 for more information.</comment>
  58352. </bits>
  58353. </reg>
  58354. <reg name="etmactr2" protect="rw">
  58355. <bits access="rw" name="vmid_comp_enable" pos="15" rst="0">
  58356. <comment>Virtual Machine ID (VMID) comparison enable, if the processor implements the
  58357. Virtualization Extensions.b
  58358. A value of 1 means that the address comparator matches only if the current VMID matches
  58359. the value stored in the ETMVMIDCVR. See VMID Comparator Value Register,
  58360. ETMVMIDCVR, ETMv3.5 on page 3-164.
  58361. This bit is reserved, RAZ if the processor does not implement the Virtualization extensions</comment>
  58362. </bits>
  58363. <bits access="rw" name="hyp_mode_comp_enable" pos="14" rst="0">
  58364. <comment>Hyp mode comparison enable, if the processor implements the Virtualization Extensions.b
  58365. A value of 1 means that the address comparator also matches if the processor is operating
  58366. in Hyp mode. See Virtualization Extensions, ETMv3.5 on page 7-345.
  58367. This bit is reserved, RAZ if the processor does not implement the Virtualization extensions.</comment>
  58368. </bits>
  58369. <bits access="rw" name="state_mode_comp_enable" pos="13:10" rst="0">
  58370. <comment>State and mode comparison control. The assignment of these bits is:
  58371. Bit [13, 11] Non-secure state comparison control.
  58372. Bit [12, 10] Secure state comparison control.
  58373. For each pair of bits, the encoding is:
  58374. b00 Match in all modes in this state.
  58375. b01 Do not match in any modes in this state.
  58376. b10 Match in all modes except User mode in this state.
  58377. b11 Match only in User mode in this state.
  58378. If the processor does not implement the Security Extensions, bits [13, 11] are reserved,
  58379. RAZ/WI.
  58380. See Filtering by state and mode, in ETMv3.5 on page 3-131</comment>
  58381. </bits>
  58382. <bits access="rw" name="context_id_comp_ctrl" pos="9:8" rst="0">
  58383. <comment>Context ID comparator control. The permitted values of this field are:
  58384. b00 Ignore Context ID comparator.
  58385. b01 Address comparator matches only if Context ID comparator value 1
  58386. matches.
  58387. b10 Address comparator matches only if Context ID comparator value 2
  58388. matches.
  58389. b11 Address comparator matches only if Context ID comparator value 3
  58390. matches.</comment>
  58391. </bits>
  58392. <bits access="rw" name="exact_match" pos="7" rst="0">
  58393. <comment>Exact match bit. Specifies comparator behavior when exceptions, aborts, and load misses
  58394. occur. See Exact matching, in ETMv2.0 and later on page 2-54.</comment>
  58395. </bits>
  58396. <bits access="rw" name="data_value_comp_ctrl" pos="6:5" rst="0">
  58397. <comment>Data value comparison control. The permitted values of this field are:
  58398. b00 No data value comparison is made.
  58399. b01 Comparator can match only if data value matches.
  58400. b11 Comparator can match only if data value does not match.
  58401. The value of b10 is reserved and must not be used.
  58402. Note:
  58403. The b11 encoding was introduced in ETM architecture version 1.2. Previously this value
  58404. was reserved.
  58405. For details of the effect of this field on data value comparison, see Exact matching for data
  58406. address comparisons on page 2-56.</comment>
  58407. </bits>
  58408. <bits access="rw" name="comp_access_size" pos="4:3" rst="0">
  58409. <comment>Comparison access size. The permitted values of this field are:
  58410. b00 Java instruction (from ETM architecture version 1.3 only) or byte data.
  58411. b01 Thumb instruction or halfword data.
  58412. b11 ARM instruction or word data.
  58413. The value of b10 is reserved and must not be used.
  58414. For more information, see Comparator access size on page 2-49.</comment>
  58415. </bits>
  58416. <bits access="rw" name="access_type" pos="2:0" rst="0">
  58417. <comment>Access type. The permitted values of this field are:
  58418. b000c Instruction fetch.
  58419. b001 Instruction execute.
  58420. b010 Instruction executed and passed condition code test.
  58421. b011 Instruction executed and failed condition code test.
  58422. b100 Data load or store.
  58423. b101 Data load.
  58424. b110 Data store.
  58425. The value of b111 is reserved and must not be used.
  58426. Note:
  58427. ? The b010 and b011 encodings were introduced in ETM architecture version 1.2.
  58428. Previously these values were reserved.
  58429. ? From ETMv3.3, if data address comparisons are not supported, writing b100, b101
  58430. or b110 to this field causes UNPREDICTABLE behavior. See No data address
  58431. comparator option, ETMv3.3 and later on page 2-25 for more information.</comment>
  58432. </bits>
  58433. </reg>
  58434. <reg name="etmactr3" protect="rw">
  58435. <bits access="rw" name="vmid_comp_enable" pos="15" rst="0">
  58436. <comment>Virtual Machine ID (VMID) comparison enable, if the processor implements the
  58437. Virtualization Extensions.b
  58438. A value of 1 means that the address comparator matches only if the current VMID matches
  58439. the value stored in the ETMVMIDCVR. See VMID Comparator Value Register,
  58440. ETMVMIDCVR, ETMv3.5 on page 3-164.
  58441. This bit is reserved, RAZ if the processor does not implement the Virtualization extensions</comment>
  58442. </bits>
  58443. <bits access="rw" name="hyp_mode_comp_enable" pos="14" rst="0">
  58444. <comment>Hyp mode comparison enable, if the processor implements the Virtualization Extensions.b
  58445. A value of 1 means that the address comparator also matches if the processor is operating
  58446. in Hyp mode. See Virtualization Extensions, ETMv3.5 on page 7-345.
  58447. This bit is reserved, RAZ if the processor does not implement the Virtualization extensions.</comment>
  58448. </bits>
  58449. <bits access="rw" name="state_mode_comp_enable" pos="13:10" rst="0">
  58450. <comment>State and mode comparison control. The assignment of these bits is:
  58451. Bit [13, 11] Non-secure state comparison control.
  58452. Bit [12, 10] Secure state comparison control.
  58453. For each pair of bits, the encoding is:
  58454. b00 Match in all modes in this state.
  58455. b01 Do not match in any modes in this state.
  58456. b10 Match in all modes except User mode in this state.
  58457. b11 Match only in User mode in this state.
  58458. If the processor does not implement the Security Extensions, bits [13, 11] are reserved,
  58459. RAZ/WI.
  58460. See Filtering by state and mode, in ETMv3.5 on page 3-131</comment>
  58461. </bits>
  58462. <bits access="rw" name="context_id_comp_ctrl" pos="9:8" rst="0">
  58463. <comment>Context ID comparator control. The permitted values of this field are:
  58464. b00 Ignore Context ID comparator.
  58465. b01 Address comparator matches only if Context ID comparator value 1
  58466. matches.
  58467. b10 Address comparator matches only if Context ID comparator value 2
  58468. matches.
  58469. b11 Address comparator matches only if Context ID comparator value 3
  58470. matches.</comment>
  58471. </bits>
  58472. <bits access="rw" name="exact_match" pos="7" rst="0">
  58473. <comment>Exact match bit. Specifies comparator behavior when exceptions, aborts, and load misses
  58474. occur. See Exact matching, in ETMv2.0 and later on page 2-54.</comment>
  58475. </bits>
  58476. <bits access="rw" name="data_value_comp_ctrl" pos="6:5" rst="0">
  58477. <comment>Data value comparison control. The permitted values of this field are:
  58478. b00 No data value comparison is made.
  58479. b01 Comparator can match only if data value matches.
  58480. b11 Comparator can match only if data value does not match.
  58481. The value of b10 is reserved and must not be used.
  58482. Note:
  58483. The b11 encoding was introduced in ETM architecture version 1.2. Previously this value
  58484. was reserved.
  58485. For details of the effect of this field on data value comparison, see Exact matching for data
  58486. address comparisons on page 2-56.</comment>
  58487. </bits>
  58488. <bits access="rw" name="comp_access_size" pos="4:3" rst="0">
  58489. <comment>Comparison access size. The permitted values of this field are:
  58490. b00 Java instruction (from ETM architecture version 1.3 only) or byte data.
  58491. b01 Thumb instruction or halfword data.
  58492. b11 ARM instruction or word data.
  58493. The value of b10 is reserved and must not be used.
  58494. For more information, see Comparator access size on page 2-49.</comment>
  58495. </bits>
  58496. <bits access="rw" name="access_type" pos="2:0" rst="0">
  58497. <comment>Access type. The permitted values of this field are:
  58498. b000c Instruction fetch.
  58499. b001 Instruction execute.
  58500. b010 Instruction executed and passed condition code test.
  58501. b011 Instruction executed and failed condition code test.
  58502. b100 Data load or store.
  58503. b101 Data load.
  58504. b110 Data store.
  58505. The value of b111 is reserved and must not be used.
  58506. Note:
  58507. ? The b010 and b011 encodings were introduced in ETM architecture version 1.2.
  58508. Previously these values were reserved.
  58509. ? From ETMv3.3, if data address comparisons are not supported, writing b100, b101
  58510. or b110 to this field causes UNPREDICTABLE behavior. See No data address
  58511. comparator option, ETMv3.3 and later on page 2-25 for more information.</comment>
  58512. </bits>
  58513. </reg>
  58514. <reg name="etmactr4" protect="rw">
  58515. <bits access="rw" name="vmid_comp_enable" pos="15" rst="0">
  58516. <comment>Virtual Machine ID (VMID) comparison enable, if the processor implements the
  58517. Virtualization Extensions.b
  58518. A value of 1 means that the address comparator matches only if the current VMID matches
  58519. the value stored in the ETMVMIDCVR. See VMID Comparator Value Register,
  58520. ETMVMIDCVR, ETMv3.5 on page 3-164.
  58521. This bit is reserved, RAZ if the processor does not implement the Virtualization extensions</comment>
  58522. </bits>
  58523. <bits access="rw" name="hyp_mode_comp_enable" pos="14" rst="0">
  58524. <comment>Hyp mode comparison enable, if the processor implements the Virtualization Extensions.b
  58525. A value of 1 means that the address comparator also matches if the processor is operating
  58526. in Hyp mode. See Virtualization Extensions, ETMv3.5 on page 7-345.
  58527. This bit is reserved, RAZ if the processor does not implement the Virtualization extensions.</comment>
  58528. </bits>
  58529. <bits access="rw" name="state_mode_comp_enable" pos="13:10" rst="0">
  58530. <comment>State and mode comparison control. The assignment of these bits is:
  58531. Bit [13, 11] Non-secure state comparison control.
  58532. Bit [12, 10] Secure state comparison control.
  58533. For each pair of bits, the encoding is:
  58534. b00 Match in all modes in this state.
  58535. b01 Do not match in any modes in this state.
  58536. b10 Match in all modes except User mode in this state.
  58537. b11 Match only in User mode in this state.
  58538. If the processor does not implement the Security Extensions, bits [13, 11] are reserved,
  58539. RAZ/WI.
  58540. See Filtering by state and mode, in ETMv3.5 on page 3-131</comment>
  58541. </bits>
  58542. <bits access="rw" name="context_id_comp_ctrl" pos="9:8" rst="0">
  58543. <comment>Context ID comparator control. The permitted values of this field are:
  58544. b00 Ignore Context ID comparator.
  58545. b01 Address comparator matches only if Context ID comparator value 1
  58546. matches.
  58547. b10 Address comparator matches only if Context ID comparator value 2
  58548. matches.
  58549. b11 Address comparator matches only if Context ID comparator value 3
  58550. matches.</comment>
  58551. </bits>
  58552. <bits access="rw" name="exact_match" pos="7" rst="0">
  58553. <comment>Exact match bit. Specifies comparator behavior when exceptions, aborts, and load misses
  58554. occur. See Exact matching, in ETMv2.0 and later on page 2-54.</comment>
  58555. </bits>
  58556. <bits access="rw" name="data_value_comp_ctrl" pos="6:5" rst="0">
  58557. <comment>Data value comparison control. The permitted values of this field are:
  58558. b00 No data value comparison is made.
  58559. b01 Comparator can match only if data value matches.
  58560. b11 Comparator can match only if data value does not match.
  58561. The value of b10 is reserved and must not be used.
  58562. Note:
  58563. The b11 encoding was introduced in ETM architecture version 1.2. Previously this value
  58564. was reserved.
  58565. For details of the effect of this field on data value comparison, see Exact matching for data
  58566. address comparisons on page 2-56.</comment>
  58567. </bits>
  58568. <bits access="rw" name="comp_access_size" pos="4:3" rst="0">
  58569. <comment>Comparison access size. The permitted values of this field are:
  58570. b00 Java instruction (from ETM architecture version 1.3 only) or byte data.
  58571. b01 Thumb instruction or halfword data.
  58572. b11 ARM instruction or word data.
  58573. The value of b10 is reserved and must not be used.
  58574. For more information, see Comparator access size on page 2-49.</comment>
  58575. </bits>
  58576. <bits access="rw" name="access_type" pos="2:0" rst="0">
  58577. <comment>Access type. The permitted values of this field are:
  58578. b000c Instruction fetch.
  58579. b001 Instruction execute.
  58580. b010 Instruction executed and passed condition code test.
  58581. b011 Instruction executed and failed condition code test.
  58582. b100 Data load or store.
  58583. b101 Data load.
  58584. b110 Data store.
  58585. The value of b111 is reserved and must not be used.
  58586. Note:
  58587. ? The b010 and b011 encodings were introduced in ETM architecture version 1.2.
  58588. Previously these values were reserved.
  58589. ? From ETMv3.3, if data address comparisons are not supported, writing b100, b101
  58590. or b110 to this field causes UNPREDICTABLE behavior. See No data address
  58591. comparator option, ETMv3.3 and later on page 2-25 for more information.</comment>
  58592. </bits>
  58593. </reg>
  58594. <reg name="etmactr5" protect="rw">
  58595. <bits access="rw" name="vmid_comp_enable" pos="15" rst="0">
  58596. <comment>Virtual Machine ID (VMID) comparison enable, if the processor implements the
  58597. Virtualization Extensions.b
  58598. A value of 1 means that the address comparator matches only if the current VMID matches
  58599. the value stored in the ETMVMIDCVR. See VMID Comparator Value Register,
  58600. ETMVMIDCVR, ETMv3.5 on page 3-164.
  58601. This bit is reserved, RAZ if the processor does not implement the Virtualization extensions</comment>
  58602. </bits>
  58603. <bits access="rw" name="hyp_mode_comp_enable" pos="14" rst="0">
  58604. <comment>Hyp mode comparison enable, if the processor implements the Virtualization Extensions.b
  58605. A value of 1 means that the address comparator also matches if the processor is operating
  58606. in Hyp mode. See Virtualization Extensions, ETMv3.5 on page 7-345.
  58607. This bit is reserved, RAZ if the processor does not implement the Virtualization extensions.</comment>
  58608. </bits>
  58609. <bits access="rw" name="state_mode_comp_enable" pos="13:10" rst="0">
  58610. <comment>State and mode comparison control. The assignment of these bits is:
  58611. Bit [13, 11] Non-secure state comparison control.
  58612. Bit [12, 10] Secure state comparison control.
  58613. For each pair of bits, the encoding is:
  58614. b00 Match in all modes in this state.
  58615. b01 Do not match in any modes in this state.
  58616. b10 Match in all modes except User mode in this state.
  58617. b11 Match only in User mode in this state.
  58618. If the processor does not implement the Security Extensions, bits [13, 11] are reserved,
  58619. RAZ/WI.
  58620. See Filtering by state and mode, in ETMv3.5 on page 3-131</comment>
  58621. </bits>
  58622. <bits access="rw" name="context_id_comp_ctrl" pos="9:8" rst="0">
  58623. <comment>Context ID comparator control. The permitted values of this field are:
  58624. b00 Ignore Context ID comparator.
  58625. b01 Address comparator matches only if Context ID comparator value 1
  58626. matches.
  58627. b10 Address comparator matches only if Context ID comparator value 2
  58628. matches.
  58629. b11 Address comparator matches only if Context ID comparator value 3
  58630. matches.</comment>
  58631. </bits>
  58632. <bits access="rw" name="exact_match" pos="7" rst="0">
  58633. <comment>Exact match bit. Specifies comparator behavior when exceptions, aborts, and load misses
  58634. occur. See Exact matching, in ETMv2.0 and later on page 2-54.</comment>
  58635. </bits>
  58636. <bits access="rw" name="data_value_comp_ctrl" pos="6:5" rst="0">
  58637. <comment>Data value comparison control. The permitted values of this field are:
  58638. b00 No data value comparison is made.
  58639. b01 Comparator can match only if data value matches.
  58640. b11 Comparator can match only if data value does not match.
  58641. The value of b10 is reserved and must not be used.
  58642. Note:
  58643. The b11 encoding was introduced in ETM architecture version 1.2. Previously this value
  58644. was reserved.
  58645. For details of the effect of this field on data value comparison, see Exact matching for data
  58646. address comparisons on page 2-56.</comment>
  58647. </bits>
  58648. <bits access="rw" name="comp_access_size" pos="4:3" rst="0">
  58649. <comment>Comparison access size. The permitted values of this field are:
  58650. b00 Java instruction (from ETM architecture version 1.3 only) or byte data.
  58651. b01 Thumb instruction or halfword data.
  58652. b11 ARM instruction or word data.
  58653. The value of b10 is reserved and must not be used.
  58654. For more information, see Comparator access size on page 2-49.</comment>
  58655. </bits>
  58656. <bits access="rw" name="access_type" pos="2:0" rst="0">
  58657. <comment>Access type. The permitted values of this field are:
  58658. b000c Instruction fetch.
  58659. b001 Instruction execute.
  58660. b010 Instruction executed and passed condition code test.
  58661. b011 Instruction executed and failed condition code test.
  58662. b100 Data load or store.
  58663. b101 Data load.
  58664. b110 Data store.
  58665. The value of b111 is reserved and must not be used.
  58666. Note:
  58667. ? The b010 and b011 encodings were introduced in ETM architecture version 1.2.
  58668. Previously these values were reserved.
  58669. ? From ETMv3.3, if data address comparisons are not supported, writing b100, b101
  58670. or b110 to this field causes UNPREDICTABLE behavior. See No data address
  58671. comparator option, ETMv3.3 and later on page 2-25 for more information.</comment>
  58672. </bits>
  58673. </reg>
  58674. <reg name="etmactr6" protect="rw">
  58675. <bits access="rw" name="vmid_comp_enable" pos="15" rst="0">
  58676. <comment>Virtual Machine ID (VMID) comparison enable, if the processor implements the
  58677. Virtualization Extensions.b
  58678. A value of 1 means that the address comparator matches only if the current VMID matches
  58679. the value stored in the ETMVMIDCVR. See VMID Comparator Value Register,
  58680. ETMVMIDCVR, ETMv3.5 on page 3-164.
  58681. This bit is reserved, RAZ if the processor does not implement the Virtualization extensions</comment>
  58682. </bits>
  58683. <bits access="rw" name="hyp_mode_comp_enable" pos="14" rst="0">
  58684. <comment>Hyp mode comparison enable, if the processor implements the Virtualization Extensions.b
  58685. A value of 1 means that the address comparator also matches if the processor is operating
  58686. in Hyp mode. See Virtualization Extensions, ETMv3.5 on page 7-345.
  58687. This bit is reserved, RAZ if the processor does not implement the Virtualization extensions.</comment>
  58688. </bits>
  58689. <bits access="rw" name="state_mode_comp_enable" pos="13:10" rst="0">
  58690. <comment>State and mode comparison control. The assignment of these bits is:
  58691. Bit [13, 11] Non-secure state comparison control.
  58692. Bit [12, 10] Secure state comparison control.
  58693. For each pair of bits, the encoding is:
  58694. b00 Match in all modes in this state.
  58695. b01 Do not match in any modes in this state.
  58696. b10 Match in all modes except User mode in this state.
  58697. b11 Match only in User mode in this state.
  58698. If the processor does not implement the Security Extensions, bits [13, 11] are reserved,
  58699. RAZ/WI.
  58700. See Filtering by state and mode, in ETMv3.5 on page 3-131</comment>
  58701. </bits>
  58702. <bits access="rw" name="context_id_comp_ctrl" pos="9:8" rst="0">
  58703. <comment>Context ID comparator control. The permitted values of this field are:
  58704. b00 Ignore Context ID comparator.
  58705. b01 Address comparator matches only if Context ID comparator value 1
  58706. matches.
  58707. b10 Address comparator matches only if Context ID comparator value 2
  58708. matches.
  58709. b11 Address comparator matches only if Context ID comparator value 3
  58710. matches.</comment>
  58711. </bits>
  58712. <bits access="rw" name="exact_match" pos="7" rst="0">
  58713. <comment>Exact match bit. Specifies comparator behavior when exceptions, aborts, and load misses
  58714. occur. See Exact matching, in ETMv2.0 and later on page 2-54.</comment>
  58715. </bits>
  58716. <bits access="rw" name="data_value_comp_ctrl" pos="6:5" rst="0">
  58717. <comment>Data value comparison control. The permitted values of this field are:
  58718. b00 No data value comparison is made.
  58719. b01 Comparator can match only if data value matches.
  58720. b11 Comparator can match only if data value does not match.
  58721. The value of b10 is reserved and must not be used.
  58722. Note:
  58723. The b11 encoding was introduced in ETM architecture version 1.2. Previously this value
  58724. was reserved.
  58725. For details of the effect of this field on data value comparison, see Exact matching for data
  58726. address comparisons on page 2-56.</comment>
  58727. </bits>
  58728. <bits access="rw" name="comp_access_size" pos="4:3" rst="0">
  58729. <comment>Comparison access size. The permitted values of this field are:
  58730. b00 Java instruction (from ETM architecture version 1.3 only) or byte data.
  58731. b01 Thumb instruction or halfword data.
  58732. b11 ARM instruction or word data.
  58733. The value of b10 is reserved and must not be used.
  58734. For more information, see Comparator access size on page 2-49.</comment>
  58735. </bits>
  58736. <bits access="rw" name="access_type" pos="2:0" rst="0">
  58737. <comment>Access type. The permitted values of this field are:
  58738. b000c Instruction fetch.
  58739. b001 Instruction execute.
  58740. b010 Instruction executed and passed condition code test.
  58741. b011 Instruction executed and failed condition code test.
  58742. b100 Data load or store.
  58743. b101 Data load.
  58744. b110 Data store.
  58745. The value of b111 is reserved and must not be used.
  58746. Note:
  58747. ? The b010 and b011 encodings were introduced in ETM architecture version 1.2.
  58748. Previously these values were reserved.
  58749. ? From ETMv3.3, if data address comparisons are not supported, writing b100, b101
  58750. or b110 to this field causes UNPREDICTABLE behavior. See No data address
  58751. comparator option, ETMv3.3 and later on page 2-25 for more information.</comment>
  58752. </bits>
  58753. </reg>
  58754. <reg name="etmactr7" protect="rw">
  58755. <bits access="rw" name="vmid_comp_enable" pos="15" rst="0">
  58756. <comment>Virtual Machine ID (VMID) comparison enable, if the processor implements the
  58757. Virtualization Extensions.b
  58758. A value of 1 means that the address comparator matches only if the current VMID matches
  58759. the value stored in the ETMVMIDCVR. See VMID Comparator Value Register,
  58760. ETMVMIDCVR, ETMv3.5 on page 3-164.
  58761. This bit is reserved, RAZ if the processor does not implement the Virtualization extensions</comment>
  58762. </bits>
  58763. <bits access="rw" name="hyp_mode_comp_enable" pos="14" rst="0">
  58764. <comment>Hyp mode comparison enable, if the processor implements the Virtualization Extensions.b
  58765. A value of 1 means that the address comparator also matches if the processor is operating
  58766. in Hyp mode. See Virtualization Extensions, ETMv3.5 on page 7-345.
  58767. This bit is reserved, RAZ if the processor does not implement the Virtualization extensions.</comment>
  58768. </bits>
  58769. <bits access="rw" name="state_mode_comp_enable" pos="13:10" rst="0">
  58770. <comment>State and mode comparison control. The assignment of these bits is:
  58771. Bit [13, 11] Non-secure state comparison control.
  58772. Bit [12, 10] Secure state comparison control.
  58773. For each pair of bits, the encoding is:
  58774. b00 Match in all modes in this state.
  58775. b01 Do not match in any modes in this state.
  58776. b10 Match in all modes except User mode in this state.
  58777. b11 Match only in User mode in this state.
  58778. If the processor does not implement the Security Extensions, bits [13, 11] are reserved,
  58779. RAZ/WI.
  58780. See Filtering by state and mode, in ETMv3.5 on page 3-131</comment>
  58781. </bits>
  58782. <bits access="rw" name="context_id_comp_ctrl" pos="9:8" rst="0">
  58783. <comment>Context ID comparator control. The permitted values of this field are:
  58784. b00 Ignore Context ID comparator.
  58785. b01 Address comparator matches only if Context ID comparator value 1
  58786. matches.
  58787. b10 Address comparator matches only if Context ID comparator value 2
  58788. matches.
  58789. b11 Address comparator matches only if Context ID comparator value 3
  58790. matches.</comment>
  58791. </bits>
  58792. <bits access="rw" name="exact_match" pos="7" rst="0">
  58793. <comment>Exact match bit. Specifies comparator behavior when exceptions, aborts, and load misses
  58794. occur. See Exact matching, in ETMv2.0 and later on page 2-54.</comment>
  58795. </bits>
  58796. <bits access="rw" name="data_value_comp_ctrl" pos="6:5" rst="0">
  58797. <comment>Data value comparison control. The permitted values of this field are:
  58798. b00 No data value comparison is made.
  58799. b01 Comparator can match only if data value matches.
  58800. b11 Comparator can match only if data value does not match.
  58801. The value of b10 is reserved and must not be used.
  58802. Note:
  58803. The b11 encoding was introduced in ETM architecture version 1.2. Previously this value
  58804. was reserved.
  58805. For details of the effect of this field on data value comparison, see Exact matching for data
  58806. address comparisons on page 2-56.</comment>
  58807. </bits>
  58808. <bits access="rw" name="comp_access_size" pos="4:3" rst="0">
  58809. <comment>Comparison access size. The permitted values of this field are:
  58810. b00 Java instruction (from ETM architecture version 1.3 only) or byte data.
  58811. b01 Thumb instruction or halfword data.
  58812. b11 ARM instruction or word data.
  58813. The value of b10 is reserved and must not be used.
  58814. For more information, see Comparator access size on page 2-49.</comment>
  58815. </bits>
  58816. <bits access="rw" name="access_type" pos="2:0" rst="0">
  58817. <comment>Access type. The permitted values of this field are:
  58818. b000c Instruction fetch.
  58819. b001 Instruction execute.
  58820. b010 Instruction executed and passed condition code test.
  58821. b011 Instruction executed and failed condition code test.
  58822. b100 Data load or store.
  58823. b101 Data load.
  58824. b110 Data store.
  58825. The value of b111 is reserved and must not be used.
  58826. Note:
  58827. ? The b010 and b011 encodings were introduced in ETM architecture version 1.2.
  58828. Previously these values were reserved.
  58829. ? From ETMv3.3, if data address comparisons are not supported, writing b100, b101
  58830. or b110 to this field causes UNPREDICTABLE behavior. See No data address
  58831. comparator option, ETMv3.3 and later on page 2-25 for more information.</comment>
  58832. </bits>
  58833. </reg>
  58834. <reg name="etmactr8" protect="rw">
  58835. <bits access="rw" name="vmid_comp_enable" pos="15" rst="0">
  58836. <comment>Virtual Machine ID (VMID) comparison enable, if the processor implements the
  58837. Virtualization Extensions.b
  58838. A value of 1 means that the address comparator matches only if the current VMID matches
  58839. the value stored in the ETMVMIDCVR. See VMID Comparator Value Register,
  58840. ETMVMIDCVR, ETMv3.5 on page 3-164.
  58841. This bit is reserved, RAZ if the processor does not implement the Virtualization extensions</comment>
  58842. </bits>
  58843. <bits access="rw" name="hyp_mode_comp_enable" pos="14" rst="0">
  58844. <comment>Hyp mode comparison enable, if the processor implements the Virtualization Extensions.b
  58845. A value of 1 means that the address comparator also matches if the processor is operating
  58846. in Hyp mode. See Virtualization Extensions, ETMv3.5 on page 7-345.
  58847. This bit is reserved, RAZ if the processor does not implement the Virtualization extensions.</comment>
  58848. </bits>
  58849. <bits access="rw" name="state_mode_comp_enable" pos="13:10" rst="0">
  58850. <comment>State and mode comparison control. The assignment of these bits is:
  58851. Bit [13, 11] Non-secure state comparison control.
  58852. Bit [12, 10] Secure state comparison control.
  58853. For each pair of bits, the encoding is:
  58854. b00 Match in all modes in this state.
  58855. b01 Do not match in any modes in this state.
  58856. b10 Match in all modes except User mode in this state.
  58857. b11 Match only in User mode in this state.
  58858. If the processor does not implement the Security Extensions, bits [13, 11] are reserved,
  58859. RAZ/WI.
  58860. See Filtering by state and mode, in ETMv3.5 on page 3-131</comment>
  58861. </bits>
  58862. <bits access="rw" name="context_id_comp_ctrl" pos="9:8" rst="0">
  58863. <comment>Context ID comparator control. The permitted values of this field are:
  58864. b00 Ignore Context ID comparator.
  58865. b01 Address comparator matches only if Context ID comparator value 1
  58866. matches.
  58867. b10 Address comparator matches only if Context ID comparator value 2
  58868. matches.
  58869. b11 Address comparator matches only if Context ID comparator value 3
  58870. matches.</comment>
  58871. </bits>
  58872. <bits access="rw" name="exact_match" pos="7" rst="0">
  58873. <comment>Exact match bit. Specifies comparator behavior when exceptions, aborts, and load misses
  58874. occur. See Exact matching, in ETMv2.0 and later on page 2-54.</comment>
  58875. </bits>
  58876. <bits access="rw" name="data_value_comp_ctrl" pos="6:5" rst="0">
  58877. <comment>Data value comparison control. The permitted values of this field are:
  58878. b00 No data value comparison is made.
  58879. b01 Comparator can match only if data value matches.
  58880. b11 Comparator can match only if data value does not match.
  58881. The value of b10 is reserved and must not be used.
  58882. Note:
  58883. The b11 encoding was introduced in ETM architecture version 1.2. Previously this value
  58884. was reserved.
  58885. For details of the effect of this field on data value comparison, see Exact matching for data
  58886. address comparisons on page 2-56.</comment>
  58887. </bits>
  58888. <bits access="rw" name="comp_access_size" pos="4:3" rst="0">
  58889. <comment>Comparison access size. The permitted values of this field are:
  58890. b00 Java instruction (from ETM architecture version 1.3 only) or byte data.
  58891. b01 Thumb instruction or halfword data.
  58892. b11 ARM instruction or word data.
  58893. The value of b10 is reserved and must not be used.
  58894. For more information, see Comparator access size on page 2-49.</comment>
  58895. </bits>
  58896. <bits access="rw" name="access_type" pos="2:0" rst="0">
  58897. <comment>Access type. The permitted values of this field are:
  58898. b000c Instruction fetch.
  58899. b001 Instruction execute.
  58900. b010 Instruction executed and passed condition code test.
  58901. b011 Instruction executed and failed condition code test.
  58902. b100 Data load or store.
  58903. b101 Data load.
  58904. b110 Data store.
  58905. The value of b111 is reserved and must not be used.
  58906. Note:
  58907. ? The b010 and b011 encodings were introduced in ETM architecture version 1.2.
  58908. Previously these values were reserved.
  58909. ? From ETMv3.3, if data address comparisons are not supported, writing b100, b101
  58910. or b110 to this field causes UNPREDICTABLE behavior. See No data address
  58911. comparator option, ETMv3.3 and later on page 2-25 for more information.</comment>
  58912. </bits>
  58913. </reg>
  58914. <hole size="256"/>
  58915. <reg name="etmdcvr1" protect="rw">
  58916. <bits access="rw" name="data_value_comp1" pos="31:0" rst="0">
  58917. <comment>Data value for comparison</comment>
  58918. </bits>
  58919. </reg>
  58920. <hole size="32"/>
  58921. <reg name="etmdcvr3" protect="rw">
  58922. <bits access="rw" name="data_value_comp3" pos="31:0" rst="0">
  58923. <comment>Data value for comparison</comment>
  58924. </bits>
  58925. </reg>
  58926. <hole size="416"/>
  58927. <reg name="etmdcmr1" protect="rw">
  58928. <bits access="rw" name="data_mask1" pos="31:0" rst="0">
  58929. <comment>Data mask</comment>
  58930. </bits>
  58931. </reg>
  58932. <hole size="32"/>
  58933. <reg name="etmdcmr3" protect="rw">
  58934. <bits access="rw" name="data_mask3" pos="31:0" rst="0">
  58935. <comment>Data mask</comment>
  58936. </bits>
  58937. </reg>
  58938. <hole size="416"/>
  58939. <reg name="etmcntrldvr1" protect="rw">
  58940. <bits access="rw" name="load_count1" pos="15:0" rst="0">
  58941. <comment>Initial count</comment>
  58942. </bits>
  58943. </reg>
  58944. <reg name="etmcntrldvr2" protect="rw">
  58945. <bits access="rw" name="load_count2" pos="15:0" rst="0">
  58946. <comment>Initial count</comment>
  58947. </bits>
  58948. </reg>
  58949. <hole size="64"/>
  58950. <reg name="etmcntenr1" protect="rw">
  58951. <bits access="rw" name="count_enable_source" pos="17" rst="0">
  58952. <comment>Count enable source in ETMv1.x. When set to 0, the counter is continuously enabled and
  58953. decrements every cycle regardless of the count enable event. When set to 1, the count
  58954. enable event is used to enable the counter. ARM recommends that bit [17] is always set to
  58955. 1 and that the count enable event is used to control counter operation, using 0x6F (TRUE)
  58956. if a free running counter is required.
  58957. Note
  58958. This bit is not supported in ETMv2.0 and later, and is always set to 1 in these ETM
  58959. architecture versions.</comment>
  58960. </bits>
  58961. <bits access="rw" name="func" pos="16:14" rst="0">
  58962. <comment>function:
  58963. 0: A
  58964. 1: NOT(A)
  58965. 2: A AND B
  58966. 3: NOT(A) AND B
  58967. 4: NOT(A) AND NOT(B)
  58968. 5: A OR B
  58969. 6: NOT(A) OR B
  58970. 7: NOT(A) OR NOT(B)</comment>
  58971. </bits>
  58972. <bits access="rw" name="resource_b" pos="13:7" rst="0">
  58973. <comment>Resource B
  58974. [13:11]: resource type
  58975. [10:7]: resource index</comment>
  58976. </bits>
  58977. <bits access="rw" name="resource_a" pos="6:0" rst="0">
  58978. <comment>Resource A</comment>
  58979. </bits>
  58980. </reg>
  58981. <reg name="etmcntenr2" protect="rw">
  58982. <bits access="rw" name="count_enable_source" pos="17" rst="0">
  58983. <comment>Count enable source in ETMv1.x. When set to 0, the counter is continuously enabled and
  58984. decrements every cycle regardless of the count enable event. When set to 1, the count
  58985. enable event is used to enable the counter. ARM recommends that bit [17] is always set to
  58986. 1 and that the count enable event is used to control counter operation, using 0x6F (TRUE)
  58987. if a free running counter is required.
  58988. Note
  58989. This bit is not supported in ETMv2.0 and later, and is always set to 1 in these ETM
  58990. architecture versions.</comment>
  58991. </bits>
  58992. <bits access="rw" name="func" pos="16:14" rst="0">
  58993. <comment>function:
  58994. 0: A
  58995. 1: NOT(A)
  58996. 2: A AND B
  58997. 3: NOT(A) AND B
  58998. 4: NOT(A) AND NOT(B)
  58999. 5: A OR B
  59000. 6: NOT(A) OR B
  59001. 7: NOT(A) OR NOT(B)</comment>
  59002. </bits>
  59003. <bits access="rw" name="resource_b" pos="13:7" rst="0">
  59004. <comment>Resource B
  59005. [13:11]: resource type
  59006. [10:7]: resource index</comment>
  59007. </bits>
  59008. <bits access="rw" name="resource_a" pos="6:0" rst="0">
  59009. <comment>Resource A</comment>
  59010. </bits>
  59011. </reg>
  59012. <hole size="64"/>
  59013. <reg name="etmcntrldevr1" protect="rw">
  59014. <bits access="rw" name="func" pos="16:14" rst="0">
  59015. <comment>function:
  59016. 0: A
  59017. 1: NOT(A)
  59018. 2: A AND B
  59019. 3: NOT(A) AND B
  59020. 4: NOT(A) AND NOT(B)
  59021. 5: A OR B
  59022. 6: NOT(A) OR B
  59023. 7: NOT(A) OR NOT(B)</comment>
  59024. </bits>
  59025. <bits access="rw" name="resource_b" pos="13:7" rst="0">
  59026. <comment>Resource B
  59027. [13:11]: resource type
  59028. [10:7]: resource index</comment>
  59029. </bits>
  59030. <bits access="rw" name="resource_a" pos="6:0" rst="0">
  59031. <comment>Resource A</comment>
  59032. </bits>
  59033. </reg>
  59034. <reg name="etmcntrldevr2" protect="rw">
  59035. <bits access="rw" name="func" pos="16:14" rst="0">
  59036. <comment>function:
  59037. 0: A
  59038. 1: NOT(A)
  59039. 2: A AND B
  59040. 3: NOT(A) AND B
  59041. 4: NOT(A) AND NOT(B)
  59042. 5: A OR B
  59043. 6: NOT(A) OR B
  59044. 7: NOT(A) OR NOT(B)</comment>
  59045. </bits>
  59046. <bits access="rw" name="resource_b" pos="13:7" rst="0">
  59047. <comment>Resource B
  59048. [13:11]: resource type
  59049. [10:7]: resource index</comment>
  59050. </bits>
  59051. <bits access="rw" name="resource_a" pos="6:0" rst="0">
  59052. <comment>Resource A</comment>
  59053. </bits>
  59054. </reg>
  59055. <hole size="64"/>
  59056. <reg name="etmcntvr1" protect="rw">
  59057. <bits access="rw" name="curr_counter_val" pos="15:0" rst="0">
  59058. <comment>Current counter value. From ETM v3.1, when the Programming bit is set to 1 you
  59059. can write to an ETMCNTVR to set the current value of the counter. See ETM Programming bit and associated state on page 3-97 for more information.</comment>
  59060. </bits>
  59061. </reg>
  59062. <reg name="etmcntvr2" protect="rw">
  59063. <bits access="rw" name="curr_counter_val" pos="15:0" rst="0">
  59064. <comment>Current counter value. From ETM v3.1, when the Programming bit is set to 1 you
  59065. can write to an ETMCNTVR to set the current value of the counter. See ETM Programming bit and associated state on page 3-97 for more information.</comment>
  59066. </bits>
  59067. </reg>
  59068. <hole size="64"/>
  59069. <reg name="etmsqabevr1" protect="rw">
  59070. <bits access="rw" name="sequencer_state_trans_event" pos="16:0" rst="0">
  59071. <comment>Sequencer state transition event</comment>
  59072. </bits>
  59073. </reg>
  59074. <reg name="etmsqabevr2" protect="rw">
  59075. <bits access="rw" name="sequencer_state_trans_event" pos="16:0" rst="0">
  59076. <comment>Sequencer state transition event</comment>
  59077. </bits>
  59078. </reg>
  59079. <reg name="etmsqabevr3" protect="rw">
  59080. <bits access="rw" name="sequencer_state_trans_event" pos="16:0" rst="0">
  59081. <comment>Sequencer state transition event</comment>
  59082. </bits>
  59083. </reg>
  59084. <reg name="etmsqabevr4" protect="rw">
  59085. <bits access="rw" name="sequencer_state_trans_event" pos="16:0" rst="0">
  59086. <comment>Sequencer state transition event</comment>
  59087. </bits>
  59088. </reg>
  59089. <reg name="etmsqabevr5" protect="rw">
  59090. <bits access="rw" name="sequencer_state_trans_event" pos="16:0" rst="0">
  59091. <comment>Sequencer state transition event</comment>
  59092. </bits>
  59093. </reg>
  59094. <reg name="etmsqabevr6" protect="rw">
  59095. <bits access="rw" name="sequencer_state_trans_event" pos="16:0" rst="0">
  59096. <comment>Sequencer state transition event</comment>
  59097. </bits>
  59098. </reg>
  59099. <hole size="32"/>
  59100. <reg name="etmsqr" protect="rw">
  59101. <bits access="rw" name="curr_sequencer_state" pos="1:0" rst="0">
  59102. <comment>Current sequencer state.The permitted values of this field are:
  59103. b00 Sequencer currently in state 1.
  59104. b01 Sequencer currently in state 2.
  59105. b10 Sequencer currently in state 3.
  59106. The value of b11 is reserved.
  59107. From ETMv3.1, when the Programming bit is set to 1, software can write to this
  59108. field to force the sequencer to a particular state. The effect of writing b11 to this
  59109. field is UNPREDICTABLE, and software must not write this value.</comment>
  59110. </bits>
  59111. </reg>
  59112. <reg name="etmextoutevr1" protect="rw">
  59113. <bits access="rw" name="func" pos="16:14" rst="0">
  59114. <comment>function:
  59115. 0: A
  59116. 1: NOT(A)
  59117. 2: A AND B
  59118. 3: NOT(A) AND B
  59119. 4: NOT(A) AND NOT(B)
  59120. 5: A OR B
  59121. 6: NOT(A) OR B
  59122. 7: NOT(A) OR NOT(B)</comment>
  59123. </bits>
  59124. <bits access="rw" name="resource_b" pos="13:7" rst="0">
  59125. <comment>Resource B
  59126. [13:11]: resource type
  59127. [10:7]: resource index</comment>
  59128. </bits>
  59129. <bits access="rw" name="resource_a" pos="6:0" rst="0">
  59130. <comment>Resource A</comment>
  59131. </bits>
  59132. </reg>
  59133. <reg name="etmextoutevr2" protect="rw">
  59134. <bits access="rw" name="func" pos="16:14" rst="0">
  59135. <comment>function:
  59136. 0: A
  59137. 1: NOT(A)
  59138. 2: A AND B
  59139. 3: NOT(A) AND B
  59140. 4: NOT(A) AND NOT(B)
  59141. 5: A OR B
  59142. 6: NOT(A) OR B
  59143. 7: NOT(A) OR NOT(B)</comment>
  59144. </bits>
  59145. <bits access="rw" name="resource_b" pos="13:7" rst="0">
  59146. <comment>Resource B
  59147. [13:11]: resource type
  59148. [10:7]: resource index</comment>
  59149. </bits>
  59150. <bits access="rw" name="resource_a" pos="6:0" rst="0">
  59151. <comment>Resource A</comment>
  59152. </bits>
  59153. </reg>
  59154. <hole size="64"/>
  59155. <reg name="etmcidcvr" protect="rw">
  59156. <bits access="rw" name="context_id" pos="31:0" rst="0">
  59157. <comment>Context ID value</comment>
  59158. </bits>
  59159. </reg>
  59160. <hole size="64"/>
  59161. <reg name="etmcidcmr" protect="r">
  59162. <bits access="r" name="context_id_mask" pos="31:0" rst="0">
  59163. <comment>Context ID mask value</comment>
  59164. </bits>
  59165. </reg>
  59166. <hole size="256"/>
  59167. <reg name="etmsyncfr" protect="rw">
  59168. <bits access="rw" name="sync_freq" pos="11:0" rst="1024">
  59169. <comment>Synchronization frequency. Default value is 1024.</comment>
  59170. </bits>
  59171. </reg>
  59172. <reg name="etmidr" protect="r">
  59173. <bits access="r" name="branch_packet_encode_impl" pos="20" rst="0">
  59174. <comment>Branch packet encoding implemented. The possible values of this bit are:
  59175. 0 The ETM implements the original branch packet encoding. See Branch
  59176. packet formats with the original address encoding scheme on page 7-310.
  59177. 1 The ETM implements the alternative branch packet encoding. See Branch
  59178. packet formats with the alternative address encoding scheme on
  59179. page 7-313.</comment>
  59180. </bits>
  59181. <bits access="r" name="sec_ext_support" pos="19" rst="1">
  59182. <comment>Support for Security Extensions. The possible values of this bit are:
  59183. 0 The ETM behaves as if the processor is in Secure state at all times.
  59184. 1 The ARM architecture Security Extensions are implemented by the
  59185. processor</comment>
  59186. </bits>
  59187. <bits access="r" name="thumb_32bit_instr_support" pos="18" rst="1">
  59188. <comment>Support for 32-bit Thumb instructions. The possible values of this bit are:
  59189. 0: A 32-bit Thumb instruction is traced as two instructions, and exceptions
  59190. might occur between these two instructions.
  59191. 1: A 32-bit Thumb instruction is traced as a single instruction. See 32-bit
  59192. Thumb instructions on page 4-240 for more information.</comment>
  59193. </bits>
  59194. <bits access="r" name="load_pc_first" pos="16" rst="0">
  59195. <comment>Load PC first. If this bit is set to 1, LSMs with the PC in the list load the PC first, followed
  59196. by the other registers in the normal order. This can be decompressed by using the following
  59197. procedure:
  59198. 1. Calculate the number of items transferred by the LSM by looking at the code image.
  59199. 2. As each item is read, assign an address equal to 4 greater than the previous one as
  59200. normal.
  59201. 3. When the number of items read equals the total number of items transferred, subtract
  59202. (4 * number of items) from each address other than the first.
  59203. Note
  59204. This means that a branch address can be traced before the remaining data values of an
  59205. instruction. While this has never been prohibited in the protocol, care must be taken to
  59206. ensure that this case is correctly handled.</comment>
  59207. </bits>
  59208. <bits access="r" name="processor_family" pos="15:12" rst="15">
  59209. <comment>Processor family. The meaning of this field depends on the value of the Implementer
  59210. code.The following apply if Implementer code = 0x41, for ARM Limited:
  59211. b0000 ARM7 processor.
  59212. b0001 ARM9 processor.
  59213. b0010 ARM10 processor.
  59214. b0011 ARM11 processor
  59215. b1111 Processor family is defined elsewhere. See The Processor family field on
  59216. page 3-157 for more information.
  59217. When the Implementer code = 0x41, all other values are reserved by ARM Limited.
  59218. For any other Implementer code the permitted values of this field are defined by the
  59219. implementer.</comment>
  59220. </bits>
  59221. <bits access="r" name="major_etm_arch_ver" pos="11:8" rst="2">
  59222. <comment>Major ETM architecture version number. See The ETM architecture version. Possible
  59223. values of this field are:
  59224. b0000 ETMv1.
  59225. b0001 ETMv2.
  59226. b0010 ETMv3.
  59227. All other values are reserved.</comment>
  59228. </bits>
  59229. <bits access="r" name="minor_etm_arch_ver" pos="7:4" rst="5">
  59230. <comment>Minor ETM architecture version number. See The ETM architecture version.</comment>
  59231. </bits>
  59232. <bits access="r" name="impl_rev" pos="3:0" rst="0">
  59233. <comment>Implementation revision. See Implementation revision on page 3-157</comment>
  59234. </bits>
  59235. </reg>
  59236. <reg name="etmccer" protect="r">
  59237. <bits access="r" name="timestamp_packet_size" pos="29" rst="1">
  59238. <comment>Timestamp packet size.
  59239. This bit is 0 if the size of the packet is 48 bits. This bit is 1 if the size of the packet is 64 bits.</comment>
  59240. </bits>
  59241. <bits access="r" name="timestamp_packet_encoding" pos="28" rst="1">
  59242. <comment>Timestamp packet encoding.
  59243. This bit is 1 if the timestamp packet is encoded as a natural binary number. This bit is 0 if
  59244. the packet is gray coded. For more information see Encoding of the timestamp value on
  59245. page 7-343.</comment>
  59246. </bits>
  59247. <bits access="r" name="reduced_func_counter" pos="27" rst="0">
  59248. <comment>Reduced function counter.
  59249. This bit is 1 if counter 1 is implemented as a reduced function counter. This bit is 0 if all
  59250. counters are implemented as full-function counters.</comment>
  59251. </bits>
  59252. <bits access="r" name="virt_extension_impl" pos="26" rst="0">
  59253. <comment>The Virtualization Extensions are implemented.
  59254. This bit is 1 if the Virtualization Extensions are implemented, and 0 if not implemented.</comment>
  59255. </bits>
  59256. <bits access="r" name="timestamp_impl" pos="22" rst="1">
  59257. <comment>Timestamping implemented.
  59258. This bit is 1 if timestamping is implemented, and 0 if it is not implemented</comment>
  59259. </bits>
  59260. <bits access="r" name="etmeibcr_impl" pos="21" rst="0">
  59261. <comment>ETMEIBCR implemented.
  59262. This bit is 1 if the register is implemented, and 0 if it is not implemented.</comment>
  59263. </bits>
  59264. <bits access="r" name="trace_embedice_start_stop" pos="20" rst="0">
  59265. <comment>Trace Start/Stop block can use EmbeddedICE watchpoint inputs.
  59266. This bit is 1 if the Trace Start/Stop block can use these inputs, and is 0 otherwise.</comment>
  59267. </bits>
  59268. <bits access="r" name="number_embedice_watch_point" pos="19:16" rst="0">
  59269. <comment>Number of EmbeddedICE watchpoint inputs implemented.
  59270. This field can take any value from b0000 (0 inputs) to b1000 (8 inputs).</comment>
  59271. </bits>
  59272. <bits access="r" name="number_instr_resource" pos="15:13" rst="0">
  59273. <comment>Number of Instrumentation resources supported. The maximum value of this field is b100,
  59274. for four Instrumentation resources.
  59275. For more information see Instrumentation resources, from ETMv3.3 on page 2-69.</comment>
  59276. </bits>
  59277. <bits access="r" name="addr_comparison_not_support" pos="12" rst="0">
  59278. <comment>Set to 1 if data address comparisons are not supported.
  59279. For more information see No data address comparator option, ETMv3.3 and later on
  59280. page 2-25.</comment>
  59281. </bits>
  59282. <bits access="r" name="all_reg_readable" pos="11" rst="1">
  59283. <comment>Set to 1 if all registers are readable</comment>
  59284. </bits>
  59285. <bits access="r" name="size_extended_ext_input" pos="10:3" rst="30">
  59286. <comment>Size of extended external input bus.
  59287. This field must be 0 if bits [2:0] are 0.</comment>
  59288. </bits>
  59289. <bits access="r" name="numer_extended_input_sel" pos="2:0" rst="2">
  59290. <comment>Number of extended external input selectors.</comment>
  59291. </bits>
  59292. </reg>
  59293. <reg name="etmextinselr" protect="rw">
  59294. <bits access="rw" name="exteneded_external_input_sel4" pos="31:24" rst="0">
  59295. <comment>Extended external input selector 4</comment>
  59296. </bits>
  59297. <bits access="rw" name="exteneded_external_input_sel3" pos="23:16" rst="0">
  59298. <comment>Extended external input selector 3</comment>
  59299. </bits>
  59300. <bits access="rw" name="exteneded_external_input_sel2" pos="15:8" rst="0">
  59301. <comment>Extended external input selector 2</comment>
  59302. </bits>
  59303. <bits access="rw" name="exteneded_external_input_sel1" pos="7:0" rst="0">
  59304. <comment>Extended external input selector 1</comment>
  59305. </bits>
  59306. </reg>
  59307. <hole size="64"/>
  59308. <reg name="etmtsevr" protect="rw">
  59309. <bits access="rw" name="stop_resource_sel" pos="23:16" rst="0">
  59310. <comment>Stop resource selection. Setting a bit in this field to 1 selects the corresponding
  59311. EmbeddedICE watchpoint input as a TraceEnable stop resource. Bit [16] corresponds to
  59312. input 1, bit [17] to input 2, and this pattern continues up to bit [23] corresponding to
  59313. input 8.</comment>
  59314. </bits>
  59315. <bits access="rw" name="start_resource_sel" pos="7:0" rst="0">
  59316. <comment>Start resource selection. Setting a bit in this field to 1 selects the corresponding
  59317. EmbeddedICE watchpoint input as a TraceEnable start resource. Bit [0] corresponds to
  59318. input 1, bit [1] to input 2, and this pattern continues up to bit [7] corresponding to input 8.</comment>
  59319. </bits>
  59320. </reg>
  59321. <reg name="etmauxcr" protect="rw">
  59322. <bits access="rw" name="auxcr" pos="2:0" rst="0">
  59323. </bits>
  59324. </reg>
  59325. <reg name="etmtraceidr" protect="rw">
  59326. <bits access="rw" name="trace_id_ouput" pos="6:0" rst="0">
  59327. <comment>Trace ID to output onto the trace bus.
  59328. On an ETM reset this field is cleared to 0x00.</comment>
  59329. </bits>
  59330. </reg>
  59331. <hole size="32"/>
  59332. <reg name="etmidr2" protect="r">
  59333. <bits access="r" name="order_trans_swp" pos="1" rst="0">
  59334. <comment>Identifies the order of transfers for a SWP or SWPB instruction:
  59335. 0 = the Load transfer is traced before the Store transfer
  59336. 1 = the Store transfer is traced before the Load transfer</comment>
  59337. </bits>
  59338. <bits access="r" name="order_trans_rfe" pos="0" rst="0">
  59339. <comment>Identifies the order of transfers for the RFE instruction:
  59340. 0 = the PC transfer is traced before the CPSR transfer
  59341. 1 = the CPSR transfer is traced before the PC transfer</comment>
  59342. </bits>
  59343. </reg>
  59344. <hole size="2112"/>
  59345. <reg name="etmpdsr" protect="r">
  59346. <bits access="r" name="os_lock_status" pos="5" rst="0">
  59347. <comment>OS lock status. The value of this bit is the same as the value of bit [1] of the ETMOSLSR,
  59348. which indicates whether the ETM trace registers are locked. See OS Lock Status Register,
  59349. ETMOSLSR, ETMv3.3 and later on page 3-166.
  59350. This bit is UNKNOWN when the ETM is powered down</comment>
  59351. </bits>
  59352. <bits access="r" name="sticky_reg_state" pos="1" rst="0">
  59353. <comment>Sticky Register state bit. The possible values of this bit are:
  59354. 0 ETM Trace Registers have not been powered down since this register was
  59355. last read.
  59356. 1 ETM Trace Registers have been powered down since this register was last
  59357. read, and have lost their state.
  59358. When the core power domain of the ETM is powered down or reset, this bit is set to 1.
  59359. Reads of this register when the core power domain is powered down or held in reset return
  59360. 1 for this bit, and do not change the value of this bit.
  59361. Reads of this register when the core power domain is powered up and not held in reset
  59362. return the current value of this bit, and then clear this bit to 0. If the Software Lock
  59363. mechanism is locked and the ETMPDSR read is made through the memory mapped
  59364. interface, this bit is not cleared.
  59365. In ETMv3.3 and ETMv3.4,when this bit is set, accesses to any ETM Trace Registers return
  59366. an error response.
  59367. In ETMv3.5, the value of this bit has no effect on accesses to the ETM Trace Registers.</comment>
  59368. </bits>
  59369. <bits access="r" name="etm_powerup" pos="0" rst="0">
  59370. <comment>ETM powered up bit. The value of this bit indicates whether you can access the ETM Trace
  59371. Registers. The possible values are:
  59372. 0 ETM Trace Registers cannot be accessed.
  59373. 1 ETM Trace Registers can be accessed.
  59374. When this bit is set to 0, accesses to any ETM Trace Registers return an error response.</comment>
  59375. </bits>
  59376. </reg>
  59377. <hole size="24096"/>
  59378. <reg name="itmiscout" protect="w">
  59379. <bits access="w" name="extout" pos="9:8" rst="0">
  59380. <comment>Drives the EXTOUT[1:0] output pins</comment>
  59381. </bits>
  59382. <bits access="w" name="etmwfxready" pos="5" rst="1">
  59383. <comment>Drives the nETMWFXREADY output pin</comment>
  59384. </bits>
  59385. <bits access="w" name="etmdbgrq" pos="4" rst="0">
  59386. <comment>Drives the ETMDBGRQ output pina</comment>
  59387. </bits>
  59388. </reg>
  59389. <reg name="itmiscin" protect="r">
  59390. <bits access="r" name="etmwfxpending" pos="5" rst="0">
  59391. <comment>Returns the value of the ETMWFXPENDING input pin</comment>
  59392. </bits>
  59393. <bits access="r" name="dbgack" pos="4" rst="0">
  59394. <comment>Returns the value of the DBGACK input pin</comment>
  59395. </bits>
  59396. <bits access="r" name="extin" pos="3:0" rst="0">
  59397. <comment>Returns the value of the EXTIN[3:0] input pins</comment>
  59398. </bits>
  59399. </reg>
  59400. <hole size="32"/>
  59401. <reg name="ittriggerreq" protect="w">
  59402. <bits access="w" name="trigger" pos="0" rst="1">
  59403. <comment>Drives the TRIGGER output pin</comment>
  59404. </bits>
  59405. </reg>
  59406. <reg name="itatbdata0" protect="r">
  59407. <bits access="r" name="drive_atdata1" pos="4:0" rst="0">
  59408. <comment>Drives the ATDATA[31, 23, 15, 7, 0] output pins</comment>
  59409. </bits>
  59410. </reg>
  59411. <reg name="itatbctr2" protect="r">
  59412. <bits access="r" name="syncreq" pos="2" rst="0">
  59413. <comment>Returns the value of the SYNCREQ input pin</comment>
  59414. </bits>
  59415. <bits access="r" name="afvalid" pos="1" rst="0">
  59416. <comment>Returns the value of the AFVALID input pin</comment>
  59417. </bits>
  59418. <bits access="r" name="atready" pos="0" rst="0">
  59419. <comment>Returns the value of the ATREADY input pin</comment>
  59420. </bits>
  59421. </reg>
  59422. <reg name="itatbctr1" protect="w">
  59423. <bits access="w" name="atid" pos="6:0" rst="0">
  59424. <comment>Drives the ATID[6:0] output pins</comment>
  59425. </bits>
  59426. </reg>
  59427. <reg name="itatbctr0" protect="w">
  59428. <bits access="w" name="atbytes" pos="9:8" rst="0">
  59429. <comment>Drives the ATBYTES[1:0] output pins</comment>
  59430. </bits>
  59431. <bits access="w" name="afready" pos="1" rst="0">
  59432. <comment>Drives the AFREADY output pin</comment>
  59433. </bits>
  59434. <bits access="w" name="atvalid" pos="0" rst="0">
  59435. <comment>Drives the ATVALID output pin</comment>
  59436. </bits>
  59437. </reg>
  59438. <hole size="32"/>
  59439. <reg name="etmitctrl" protect="rw">
  59440. <bits access="rw" name="int_mode" pos="0" rst="0">
  59441. <comment>When this bit is set to 1, the device enters an integration mode to enable Topology Detection
  59442. or Integration Testing to be checked.
  59443. On an ETM reset this bit is cleared to 0.</comment>
  59444. </bits>
  59445. </reg>
  59446. <hole size="1248"/>
  59447. <reg name="etmclaimset" protect="rw">
  59448. <bits access="rw" name="tag_bits_set" pos="7:0" rst="255">
  59449. <comment>On reads, returns 0xFF.
  59450. On writes, a 1 in a bit position causes the corresponding bit in the claim tag value to be set.</comment>
  59451. </bits>
  59452. </reg>
  59453. <reg name="etmclaimclr" protect="rw">
  59454. <bits access="rw" name="tag_bits_clr" pos="7:0" rst="0">
  59455. <comment>On reads, returns the current claim tag value.
  59456. On writes, a 1 in a bit position causes the corresponding bit in the claim tag value to be
  59457. cleared to 0.
  59458. On an ETM reset this field is cleared to 0x00.</comment>
  59459. </bits>
  59460. </reg>
  59461. <hole size="64"/>
  59462. <reg name="etmlar" protect="w">
  59463. <bits access="w" name="etmlar" pos="31:0" rst="0">
  59464. <comment>Write 0xC5ACCE55 to this field to unlock the ETM.
  59465. Write any other value to this field to lock the ETM</comment>
  59466. </bits>
  59467. </reg>
  59468. <reg name="etmlsr" protect="r">
  59469. <bits access="r" name="etmlar_32_bits" pos="2" rst="0">
  59470. <comment>Reads as b0. Indicates that the ETMLAR is 32 bits</comment>
  59471. </bits>
  59472. <bits access="r" name="etm_locked" pos="1" rst="0">
  59473. <comment>Indicates whether the ETM is locked. The possible values of this bit are:
  59474. 0 Writes are permitted.
  59475. 1 ETM locked. Writes are ignored.
  59476. If this register is accessed from an interface where the lock registers are ignored, this field
  59477. reads as 0 regardless of whether the ETM is locked.</comment>
  59478. </bits>
  59479. <bits access="r" name="lock_reg_impl" pos="0" rst="0">
  59480. <comment>Indicates whether the lock registers are implemented for this interface. The possible values
  59481. of this bit are:
  59482. 0 This access is from an interface that ignores the lock registers.
  59483. 1 This access is from an interface that requires the ETM to be unlocked.</comment>
  59484. </bits>
  59485. </reg>
  59486. <reg name="etmauthstatus" protect="r">
  59487. <bits access="r" name="snid" pos="7:6" rst="0">
  59488. <comment>Permission for Secure non-invasive debug.</comment>
  59489. </bits>
  59490. <bits access="r" name="sid" pos="5:4" rst="0">
  59491. <comment>Reads as b00, Secure invasive debug not supported by the ETM</comment>
  59492. </bits>
  59493. <bits access="r" name="nsnid" pos="3:2" rst="0">
  59494. <comment>Permission for Non-secure non-invasive debug.
  59495. This field is only implemented if the processor implemented with the ETM implements the
  59496. Security Extensions. When this field is implemented the possible values of the field are:
  59497. b10 Non-secure non-invasive debug disabled.
  59498. b11 Non-secure non-invasive debug enabled.
  59499. This field is a logical OR of the NIDEN and DBGEN signals. It takes the value b11 when
  59500. the OR is TRUE, and b10 when the OR is FALSE.
  59501. If the processor does not support the Security Extensions, bits [3:2] are reserved, RAZ.</comment>
  59502. </bits>
  59503. <bits access="r" name="nsid" pos="1:0" rst="0">
  59504. <comment>Reads as b00, Non-secure invasive debug not supported by the ETM.</comment>
  59505. </bits>
  59506. </reg>
  59507. <hole size="96"/>
  59508. <reg name="etmdevid" protect="r">
  59509. </reg>
  59510. <reg name="etmdevtype" protect="r">
  59511. <bits access="r" name="sub_type" pos="7:4" rst="1">
  59512. <comment>0x1 Sub type, processor trace</comment>
  59513. </bits>
  59514. <bits access="r" name="main_type" pos="3:0" rst="3">
  59515. <comment>0x3 Main type, trace source</comment>
  59516. </bits>
  59517. </reg>
  59518. <reg name="etmpidr4" protect="r">
  59519. <bits access="r" name="n" pos="7:4" rst="0">
  59520. <comment>n, where 2n is number of 4KB blocks used.</comment>
  59521. </bits>
  59522. <bits access="r" name="jep106_con_code" pos="3:0" rst="4">
  59523. <comment>JEP 106 continuation code</comment>
  59524. </bits>
  59525. </reg>
  59526. <reg name="etmpidr5" protect="r">
  59527. </reg>
  59528. <reg name="etmpidr6" protect="r">
  59529. </reg>
  59530. <reg name="etmpidr7" protect="r">
  59531. </reg>
  59532. <reg name="etmpidr0" protect="r">
  59533. <bits access="r" name="part_number" pos="7:0" rst="85">
  59534. <comment>Part Number[7:0].
  59535. Middle and Lower BCD value of Device Number.</comment>
  59536. </bits>
  59537. </reg>
  59538. <reg name="etmpidr1" protect="r">
  59539. <bits access="r" name="jep106_id_3_0" pos="7:4" rst="1">
  59540. <comment>JEP 106 identity code[3:0]</comment>
  59541. </bits>
  59542. <bits access="r" name="part_number_11_8" pos="3:0" rst="9">
  59543. <comment>Part Number[11:8].
  59544. Upper Binary Coded Decimal (BCD) value of Device Number.</comment>
  59545. </bits>
  59546. </reg>
  59547. <reg name="etmpidr2" protect="r">
  59548. <bits access="r" name="rev_number" pos="7:4" rst="3">
  59549. <comment>Revision Number of Peripheral. This value is the same as the
  59550. Implementation revision field of the ETMIDR, see ETM ID Register on
  59551. page 3-19.</comment>
  59552. </bits>
  59553. <bits access="r" name="jedec_val_in_use" pos="3" rst="1">
  59554. <comment>Always 1. Indicates that a JEDEC assigned value is used.</comment>
  59555. </bits>
  59556. <bits access="r" name="jep106_id_6_4" pos="2:0" rst="3">
  59557. <comment>JEP 106 identity code[6:4].</comment>
  59558. </bits>
  59559. </reg>
  59560. <reg name="etmpidr3" protect="r">
  59561. <bits access="r" name="revand" pos="7:4" rst="0">
  59562. <comment>RevAnd (at top level). Manufacturer revision number.</comment>
  59563. </bits>
  59564. <bits access="r" name="customized_val" pos="3:0" rst="0">
  59565. <comment>Customer Modified.
  59566. 0x0 indicates from ARM</comment>
  59567. </bits>
  59568. </reg>
  59569. <reg name="etmcidr0" protect="r">
  59570. <bits access="r" name="cid_7_0" pos="7:0" rst="13">
  59571. <comment>Component identifier, bits [7:0].</comment>
  59572. </bits>
  59573. </reg>
  59574. <reg name="etmcidr1" protect="r">
  59575. <bits access="r" name="component_class" pos="7:4" rst="9">
  59576. <comment>Component class (component identifier, bits [15:12]).</comment>
  59577. </bits>
  59578. <bits access="r" name="cid_11_8" pos="3:0" rst="0">
  59579. <comment>Component identifier, bits [11:8].</comment>
  59580. </bits>
  59581. </reg>
  59582. <reg name="etmcidr2" protect="r">
  59583. <bits access="r" name="cid_23_16" pos="7:0" rst="5">
  59584. <comment>Component identifier, bits [23:16].</comment>
  59585. </bits>
  59586. </reg>
  59587. <reg name="etmcidr3" protect="r">
  59588. <bits access="r" name="cid_31_24" pos="7:0" rst="177">
  59589. <comment>Component identifier, bits [31:24].</comment>
  59590. </bits>
  59591. </reg>
  59592. </module>
  59593. </archive>
  59594. <archive relative="cti.xml">
  59595. <module category="Debug" name="CTI">
  59596. <reg name="cticontrol" protect="rw">
  59597. <bits access="rw" name="glben" pos="0" rst="0">
  59598. <comment>Enables or disables the CTI.
  59599. 0 When this bit is 0, all cross-triggering mapping logic functionality is disabled.
  59600. 1 When this bit is 1, cross-triggering mapping logic functionality is enabled.</comment>
  59601. </bits>
  59602. </reg>
  59603. <hole size="96"/>
  59604. <reg name="ctiintack" protect="rw">
  59605. <bits access="w" name="intack" pos="7:0" rst="0">
  59606. <comment>Acknowledges the corresponding ctitrigout output. There is one bit of the register for each ctitrigout
  59607. output. When a 1 is written to a bit in this register, the corresponding ctitrigout is acknowledged, causing
  59608. it to be cleared.</comment>
  59609. </bits>
  59610. </reg>
  59611. <reg name="ctiappset" protect="rw">
  59612. <bits access="rw" name="appset" pos="3:0" rst="0">
  59613. <comment>Setting a bit HIGH generates a channel event for the selected channel. There is one bit of the
  59614. register for each channel.
  59615. Reads as follows:
  59616. 0 Application trigger is inactive.
  59617. 1 Application trigger is active.
  59618. Writes as follows:
  59619. 0 No effect.
  59620. 1 Generate channel event.</comment>
  59621. </bits>
  59622. </reg>
  59623. <reg name="ctiappclear" protect="rw">
  59624. <bits access="w" name="appclear" pos="3:0" rst="0">
  59625. <comment>Sets the corresponding bits in the CTIAPPSET to 0. There is one bit of the register for each
  59626. channel. On writes, for each bit:
  59627. 0 Has no effect.
  59628. 1 Clears the corresponding channel event.</comment>
  59629. </bits>
  59630. </reg>
  59631. <reg name="ctiapppulse" protect="rw">
  59632. <bits access="w" name="appulse" pos="3:0" rst="0">
  59633. <comment>Setting a bit HIGH generates a channel event pulse for the selected channel. There is one bit of
  59634. the register for each channel. On writes, for each bit:
  59635. 0 Has no effect.
  59636. 1 Generate an event pulse on the corresponding channel.</comment>
  59637. </bits>
  59638. </reg>
  59639. <reg name="ctiinen0" protect="rw">
  59640. <bits access="w" name="triginen" pos="3:0" rst="0">
  59641. <comment>Enables a cross trigger event to the corresponding channel when a ctitrigin input is activated.
  59642. There is one bit of the field for each of the four channels. On writes, for each bit:
  59643. 0 Input trigger 0 events are ignored by the corresponding channel.
  59644. 1 When an event is received on input trigger 0, ctitrigin[0], generate an event on the
  59645. channel corresponding to this bit.</comment>
  59646. </bits>
  59647. </reg>
  59648. <reg name="ctiinen1" protect="rw">
  59649. <bits access="w" name="triginen" pos="3:0" rst="0">
  59650. <comment>Enables a cross trigger event to the corresponding channel when a ctitrigin input is activated.
  59651. There is one bit of the field for each of the four channels. On writes, for each bit:
  59652. 0 Input trigger 0 events are ignored by the corresponding channel.
  59653. 1 When an event is received on input trigger 0, ctitrigin[1], generate an event on the
  59654. channel corresponding to this bit.</comment>
  59655. </bits>
  59656. </reg>
  59657. <reg name="ctiinen2" protect="rw">
  59658. <bits access="w" name="triginen" pos="3:0" rst="0">
  59659. <comment>Enables a cross trigger event to the corresponding channel when a ctitrigin input is activated.
  59660. There is one bit of the field for each of the four channels. On writes, for each bit:
  59661. 0 Input trigger 0 events are ignored by the corresponding channel.
  59662. 1 When an event is received on input trigger 0, ctitrigin[2], generate an event on the
  59663. channel corresponding to this bit.</comment>
  59664. </bits>
  59665. </reg>
  59666. <reg name="ctiinen3" protect="rw">
  59667. <bits access="w" name="triginen" pos="3:0" rst="0">
  59668. <comment>Enables a cross trigger event to the corresponding channel when a ctitrigin input is activated.
  59669. There is one bit of the field for each of the four channels. On writes, for each bit:
  59670. 0 Input trigger 0 events are ignored by the corresponding channel.
  59671. 1 When an event is received on input trigger 0, ctitrigin[3], generate an event on the
  59672. channel corresponding to this bit.</comment>
  59673. </bits>
  59674. </reg>
  59675. <reg name="ctiinen4" protect="rw">
  59676. <bits access="w" name="triginen" pos="3:0" rst="0">
  59677. <comment>Enables a cross trigger event to the corresponding channel when a ctitrigin input is activated.
  59678. There is one bit of the field for each of the four channels. On writes, for each bit:
  59679. 0 Input trigger 0 events are ignored by the corresponding channel.
  59680. 1 When an event is received on input trigger 0, ctitrigin[4], generate an event on the
  59681. channel corresponding to this bit.</comment>
  59682. </bits>
  59683. </reg>
  59684. <reg name="ctiinen5" protect="rw">
  59685. <bits access="w" name="triginen" pos="3:0" rst="0">
  59686. <comment>Enables a cross trigger event to the corresponding channel when a ctitrigin input is activated.
  59687. There is one bit of the field for each of the four channels. On writes, for each bit:
  59688. 0 Input trigger 0 events are ignored by the corresponding channel.
  59689. 1 When an event is received on input trigger 0, ctitrigin[5], generate an event on the
  59690. channel corresponding to this bit.</comment>
  59691. </bits>
  59692. </reg>
  59693. <reg name="ctiinen6" protect="rw">
  59694. <bits access="w" name="triginen" pos="3:0" rst="0">
  59695. <comment>Enables a cross trigger event to the corresponding channel when a ctitrigin input is activated.
  59696. There is one bit of the field for each of the four channels. On writes, for each bit:
  59697. 0 Input trigger 0 events are ignored by the corresponding channel.
  59698. 1 When an event is received on input trigger 6, ctitrigin[6], generate an event on the
  59699. channel corresponding to this bit.</comment>
  59700. </bits>
  59701. </reg>
  59702. <reg name="ctiinen7" protect="rw">
  59703. <bits access="w" name="triginen" pos="3:0" rst="0">
  59704. <comment>Enables a cross trigger event to the corresponding channel when a ctitrigin input is activated.
  59705. There is one bit of the field for each of the four channels. On writes, for each bit:
  59706. 0 Input trigger 0 events are ignored by the corresponding channel.
  59707. 1 When an event is received on input trigger 7, ctitrigin[7], generate an event on the
  59708. channel corresponding to this bit.</comment>
  59709. </bits>
  59710. </reg>
  59711. <hole size="768"/>
  59712. <reg name="ctiouten0" protect="rw">
  59713. <bits access="w" name="trigouten" pos="3:0" rst="0">
  59714. <comment>Enables a cross trigger event to ctitrigout when the corresponding channel is activated. There is
  59715. one bit of the field for each of the four channels. On writes, for each bit
  59716. 0 The corresponding channel is ignored by the output trigger 0.
  59717. 1 When an event occurs on the channel corresponding to this bit, generate an event
  59718. on output event 0, ctitrigout[0].</comment>
  59719. </bits>
  59720. </reg>
  59721. <reg name="ctiouten1" protect="rw">
  59722. <bits access="w" name="trigouten" pos="3:0" rst="0">
  59723. <comment>Enables a cross trigger event to ctitrigout when the corresponding channel is activated. There is
  59724. one bit of the field for each of the four channels. On writes, for each bit
  59725. 0 The corresponding channel is ignored by the output trigger 0.
  59726. 1 When an event occurs on the channel corresponding to this bit, generate an event
  59727. on output event 1, ctitrigout[1].</comment>
  59728. </bits>
  59729. </reg>
  59730. <reg name="ctiouten2" protect="rw">
  59731. <bits access="w" name="trigouten" pos="3:0" rst="0">
  59732. <comment>Enables a cross trigger event to ctitrigout when the corresponding channel is activated. There is
  59733. one bit of the field for each of the four channels. On writes, for each bit
  59734. 0 The corresponding channel is ignored by the output trigger 0.
  59735. 1 When an event occurs on the channel corresponding to this bit, generate an event
  59736. on output event 2, ctitrigout[2].</comment>
  59737. </bits>
  59738. </reg>
  59739. <reg name="ctiouten3" protect="rw">
  59740. <bits access="w" name="trigouten" pos="3:0" rst="0">
  59741. <comment>Enables a cross trigger event to ctitrigout when the corresponding channel is activated. There is
  59742. one bit of the field for each of the four channels. On writes, for each bit
  59743. 0 The corresponding channel is ignored by the output trigger 0.
  59744. 1 When an event occurs on the channel corresponding to this bit, generate an event
  59745. on output event 3, ctitrigout[3].</comment>
  59746. </bits>
  59747. </reg>
  59748. <reg name="ctiouten4" protect="rw">
  59749. <bits access="w" name="trigouten" pos="3:0" rst="0">
  59750. <comment>Enables a cross trigger event to ctitrigout when the corresponding channel is activated. There is
  59751. one bit of the field for each of the four channels. On writes, for each bit
  59752. 0 The corresponding channel is ignored by the output trigger 0.
  59753. 1 When an event occurs on the channel corresponding to this bit, generate an event
  59754. on output event 4, ctitrigout[4].</comment>
  59755. </bits>
  59756. </reg>
  59757. <reg name="ctiouten5" protect="rw">
  59758. <bits access="w" name="trigouten" pos="3:0" rst="0">
  59759. <comment>Enables a cross trigger event to ctitrigout when the corresponding channel is activated. There is
  59760. one bit of the field for each of the four channels. On writes, for each bit
  59761. 0 The corresponding channel is ignored by the output trigger 0.
  59762. 1 When an event occurs on the channel corresponding to this bit, generate an event
  59763. on output event 5, ctitrigout[5].</comment>
  59764. </bits>
  59765. </reg>
  59766. <reg name="ctiouten6" protect="rw">
  59767. <bits access="w" name="trigouten" pos="3:0" rst="0">
  59768. <comment>Enables a cross trigger event to ctitrigout when the corresponding channel is activated. There is
  59769. one bit of the field for each of the four channels. On writes, for each bit
  59770. 0 The corresponding channel is ignored by the output trigger 0.
  59771. 1 When an event occurs on the channel corresponding to this bit, generate an event
  59772. on output event 6, ctitrigout[6].</comment>
  59773. </bits>
  59774. </reg>
  59775. <reg name="ctiouten7" protect="rw">
  59776. <bits access="w" name="trigouten" pos="3:0" rst="0">
  59777. <comment>Enables a cross trigger event to ctitrigout when the corresponding channel is activated. There is
  59778. one bit of the field for each of the four channels. On writes, for each bit
  59779. 0 The corresponding channel is ignored by the output trigger 0.
  59780. 1 When an event occurs on the channel corresponding to this bit, generate an event
  59781. on output event 7, ctitrigout[7].</comment>
  59782. </bits>
  59783. </reg>
  59784. <hole size="896"/>
  59785. <reg name="ctitriginstatus" protect="rw">
  59786. <bits access="w" name="triginstatus" pos="7:0" rst="0">
  59787. <comment>Shows the status of the ctitrigin inputs. There is one bit of the field for each trigger input.
  59788. 1 ctitrigin is active.
  59789. 0 ctitrigin is inactive.
  59790. Because the register provides a view of the raw ctitrigin inputs, the reset value is UNKNOWN.</comment>
  59791. </bits>
  59792. </reg>
  59793. <reg name="ctitrigoutstatus" protect="rw">
  59794. <bits access="w" name="trigoutstatus" pos="7:0" rst="0">
  59795. <comment>Shows the status of the ctitrigout outputs. There is one bit of the field for each trigger output.
  59796. 1 ctitrigout is active.
  59797. 0 ctitrigout is inactive.</comment>
  59798. </bits>
  59799. </reg>
  59800. <reg name="ctichinstatus" protect="rw">
  59801. <bits access="w" name="ctichinstatus" pos="3:0" rst="0">
  59802. <comment>Shows the status of the ctichin inputs. There is one bit of the field for each channel input.
  59803. 0 ctichin is inactive.
  59804. 1 ctichin is active.
  59805. Because the register provides a view of the raw ctichin inputs, the reset value is UNKNOWN.</comment>
  59806. </bits>
  59807. </reg>
  59808. <reg name="ctichoutstatus" protect="rw">
  59809. <bits access="w" name="ctichoutstatus" pos="3:0" rst="0">
  59810. <comment>Shows the status of the ctichout outputs. There is one bit of the field for each channel output.
  59811. 0 ctichout is inactive.
  59812. 1 ctichout is active.</comment>
  59813. </bits>
  59814. </reg>
  59815. <reg name="ctigate" protect="rw">
  59816. <bits access="rw" name="ctigateen3" pos="3" rst="1">
  59817. <comment>Enable ctichout3. Set to 0 to disable channel propagation.</comment>
  59818. </bits>
  59819. <bits access="rw" name="ctigateen2" pos="2" rst="1">
  59820. <comment>Enable ctichout2. Set to 0 to disable channel propagation.</comment>
  59821. </bits>
  59822. <bits access="rw" name="ctigateen1" pos="1" rst="1">
  59823. <comment>Enable ctichout1. Set to 0 to disable channel propagation.</comment>
  59824. </bits>
  59825. <bits access="rw" name="ctigateen0" pos="0" rst="1">
  59826. <comment>Enable ctichout0. Set to 0 to disable channel propagation.</comment>
  59827. </bits>
  59828. </reg>
  59829. <reg name="asicctl" protect="rw">
  59830. <bits access="w" name="asicctl" pos="7:0" rst="0">
  59831. <comment>When external multiplexing is implemented for trigger signals, then the number of multiplexed signals on
  59832. each trigger must be shown in the Device ID Register. This is done using a Verilog define EXTMUXNUM.</comment>
  59833. </bits>
  59834. </reg>
  59835. <hole size="27808"/>
  59836. <reg name="itchinack" protect="rw">
  59837. <bits access="w" name="ctchinack" pos="3:0" rst="0">
  59838. <comment>Sets the value of the ctichinack outputs</comment>
  59839. </bits>
  59840. </reg>
  59841. <reg name="ittriginack" protect="rw">
  59842. <bits access="w" name="cttriginack" pos="7:0" rst="0">
  59843. <comment>Sets the value of the ctitriginack outputs.</comment>
  59844. </bits>
  59845. </reg>
  59846. <reg name="itchout" protect="rw">
  59847. <bits access="w" name="ctchout" pos="3:0" rst="0">
  59848. <comment>Sets the value of the ctichout outputs</comment>
  59849. </bits>
  59850. </reg>
  59851. <reg name="ittrigout" protect="rw">
  59852. <bits access="w" name="cttrigout" pos="7:0" rst="0">
  59853. <comment>Sets the value of the ctitrigout outputs.</comment>
  59854. </bits>
  59855. </reg>
  59856. <reg name="itchoutack" protect="rw">
  59857. <bits access="w" name="ctchoutack" pos="3:0" rst="0">
  59858. <comment>Reads the values of the ctichoutack inputs</comment>
  59859. </bits>
  59860. </reg>
  59861. <reg name="ittrigoutack" protect="rw">
  59862. <bits access="w" name="cttrigoutack" pos="7:0" rst="0">
  59863. <comment>Reads the value of the ctitrigoutack inputs</comment>
  59864. </bits>
  59865. </reg>
  59866. <reg name="itchin" protect="rw">
  59867. <bits access="w" name="ctchin" pos="3:0" rst="0">
  59868. <comment>Reads the value of the ctichin inputs</comment>
  59869. </bits>
  59870. </reg>
  59871. <reg name="ittrigin" protect="rw">
  59872. <bits access="w" name="cttrigin" pos="7:0" rst="0">
  59873. <comment>Reads the values of the ctitrigin inputs.</comment>
  59874. </bits>
  59875. </reg>
  59876. <hole size="32"/>
  59877. <reg name="itctrl" protect="rw">
  59878. <bits access="w" name="ime" pos="0" rst="0">
  59879. <comment>Integration Mode Enable.
  59880. 0 Disable integration mode.
  59881. 1 Enable integration mode.
  59882. Note
  59883. The CTI must also be enabled using the CTICONTROL register for integration mode operation.</comment>
  59884. </bits>
  59885. </reg>
  59886. <hole size="1248"/>
  59887. <reg name="claimset" protect="rw">
  59888. <bits access="w" name="set" pos="3:0" rst="15">
  59889. <comment>On reads, for each bit:
  59890. 1 Claim tag bit is implemented
  59891. On writes, for each bit:
  59892. 0 Has no effect.
  59893. 1 Sets the relevant bit of the claim tag.</comment>
  59894. </bits>
  59895. </reg>
  59896. <reg name="claimclr" protect="rw">
  59897. <bits access="w" name="clr" pos="3:0" rst="0">
  59898. <comment>On reads, for each bit:
  59899. 0 Claim tag bit is not set.
  59900. 1 Claim tag bit is set.
  59901. On writes, for each bit:
  59902. 0 Has no effect.
  59903. 1 Clears the relevant bit of the claim tag.</comment>
  59904. </bits>
  59905. </reg>
  59906. <hole size="64"/>
  59907. <reg name="lar" protect="r">
  59908. <bits access="r" name="key" pos="31:0" rst="0">
  59909. <comment>Software lock key value.
  59910. 0xC5ACCE55 Clear the software lock.
  59911. All other write values set the software lock.</comment>
  59912. </bits>
  59913. </reg>
  59914. <reg name="lsr" protect="rw">
  59915. <bits access="rw" name="ntt" pos="2" rst="0">
  59916. <comment>Register size indicator. Always 0. Indicates that the LAR is implemented as 32-bit.</comment>
  59917. </bits>
  59918. <bits access="rw" name="slk" pos="1" rst="1">
  59919. <comment>0 Indicates that write operations are permitted from this interface.
  59920. 1 Indicates that write operations are not permitted from this interface. Read
  59921. operations are permitted.</comment>
  59922. </bits>
  59923. <bits access="rw" name="sli" pos="0" rst="1">
  59924. <comment>Software Lock Implemented. Indicates that a lock control mechanism is present from this
  59925. interface.
  59926. 0 Indicates that a lock control mechanism is not present from this interface. Write
  59927. operations to the LAR are ignored.
  59928. 1 Indicates that a lock control mechanism is present from this interface</comment>
  59929. </bits>
  59930. </reg>
  59931. <reg name="authstatus" protect="rw">
  59932. <bits access="rw" name="snid" pos="7:6" rst="0">
  59933. <comment>Always 0b00. The security level for Secure non-invasive debug is not implemented or is controlled
  59934. elsewhere.</comment>
  59935. </bits>
  59936. <bits access="rw" name="sid" pos="5:4" rst="1">
  59937. <comment>Always 0b00 Secure invasive debug is not implemented or is controlled elsewhere.</comment>
  59938. </bits>
  59939. <bits access="rw" name="nsnid" pos="3:2" rst="1">
  59940. <comment>Indicates the security level for Non-secure non-invasive debug:
  59941. 0b10 Disabled.
  59942. 0b11 Enabled.</comment>
  59943. </bits>
  59944. <bits access="rw" name="nsid" pos="1:0" rst="1">
  59945. <comment>Indicates the security level for Non-secure invasive debug:
  59946. 0b10 Disabled.
  59947. 0b11 Enabled.</comment>
  59948. </bits>
  59949. </reg>
  59950. <hole size="96"/>
  59951. <reg name="devid" protect="r">
  59952. <bits access="r" name="numch" pos="19:16" rst="4">
  59953. <comment>Number of ECT channels available.</comment>
  59954. </bits>
  59955. <bits access="r" name="numtrig" pos="15:8" rst="8">
  59956. <comment>Number of ECT triggers available.</comment>
  59957. </bits>
  59958. <bits access="r" name="extmuxnum" pos="4:0" rst="0">
  59959. <comment>Indicates the number of multiplexers available on Trigger Inputs and Trigger Outputs that are
  59960. using asicctl. The default value of 0b00000 indicates that no multiplexing is present.
  59961. This value of this bit depends on the Verilog define EXTMUXNUM that you must change accordingly.</comment>
  59962. </bits>
  59963. </reg>
  59964. <reg name="devtype" protect="r">
  59965. <bits access="r" name="sub" pos="7:4" rst="1">
  59966. <comment>Sub-classification of the type of the debug component as specified in the ARM? CoreSight?
  59967. Architecture Specification within the major classification as specified in the MAJOR field.
  59968. 0b0001 Indicates that this component is a cross-triggering component.</comment>
  59969. </bits>
  59970. <bits access="r" name="major" pos="3:0" rst="4">
  59971. <comment>Major classification of the type of the debug component as specified in the ARM? CoreSight?
  59972. Architecture Specification for this debug and trace component.
  59973. 0b0100 Indicates that this component allows a debugger to control other components in a
  59974. CoreSight SoC-400 system.</comment>
  59975. </bits>
  59976. </reg>
  59977. <reg name="pidr4" protect="r">
  59978. <bits access="r" name="size" pos="7:4" rst="0">
  59979. <comment>Always 0b0000. Indicates that the device only occupies 4KB of memory.</comment>
  59980. </bits>
  59981. <bits access="r" name="des_2" pos="3:0" rst="4">
  59982. <comment>Together, PIDR1.DES_0, PIDR2.DES_1, and PIDR4.DES_2 identify the designer of the
  59983. component.
  59984. 0b0100 JEDEC continuation code.</comment>
  59985. </bits>
  59986. </reg>
  59987. <reg name="pidr5" protect="r">
  59988. </reg>
  59989. <reg name="pidr6" protect="r">
  59990. </reg>
  59991. <reg name="pidr7" protect="r">
  59992. </reg>
  59993. <reg name="pidr0" protect="r">
  59994. <bits access="r" name="part_0" pos="7:0" rst="6">
  59995. <comment>Bits[7:0] of the 12-bit part number of the component. The designer of the component assigns this
  59996. part number.
  59997. 0x06 Indicates bits[7:0] of the part number of the component</comment>
  59998. </bits>
  59999. </reg>
  60000. <reg name="pidr1" protect="r">
  60001. <bits access="r" name="des_0" pos="7:4" rst="11">
  60002. <comment>Together, PIDR1.DES_0, PIDR2.DES_1, and PIDR4.DES_2 identify the designer of the
  60003. component.
  60004. 0b1011 ARM. Bits[3:0] of the JEDEC JEP106 Identity Code.</comment>
  60005. </bits>
  60006. <bits access="r" name="part_1" pos="3:0" rst="9">
  60007. <comment>Bits[11:8] of the 12-bit part number of the component. The designer of the component assigns this
  60008. part number.
  60009. 0b1001 Indicates bits[11:8] of the part number of the component.</comment>
  60010. </bits>
  60011. </reg>
  60012. <reg name="pidr2" protect="r">
  60013. <bits access="r" name="revision" pos="7:4" rst="5">
  60014. <comment>0b0101 This device is at r1p0.</comment>
  60015. </bits>
  60016. <bits access="r" name="jedec" pos="3" rst="1">
  60017. <comment>Always 1. Indicates that a JEDEC assigned value is used.</comment>
  60018. </bits>
  60019. <bits access="r" name="des_1" pos="2:0" rst="3">
  60020. <comment>Together, PIDR1.DES_0, PIDR2.DES_1, and PIDR4.DES_2 identify the designer of the
  60021. component.
  60022. 0b011 ARM. Bits[6:4] of the JEDEC JEP106 Identity Code.</comment>
  60023. </bits>
  60024. </reg>
  60025. <reg name="pidr3" protect="r">
  60026. <bits access="r" name="revand" pos="7:4" rst="0">
  60027. <comment>Indicates minor errata fixes specific to the revision of the component being used, for example
  60028. metal fixes after implementation. In most cases, this field is 0b0000. ARM recommends that the
  60029. component designers ensure that a metal fix can change this field if required, for example, by
  60030. driving it from registers that reset to 0b0000.
  60031. 0b0000 Indicates that there are no errata fixes to this component.</comment>
  60032. </bits>
  60033. <bits access="r" name="cmod" pos="3:0" rst="0">
  60034. <comment>Customer Modified. Indicates whether the customer has modified the behavior of the component.
  60035. In most cases, this field is 0b0000. Customers change this value when they make authorized
  60036. modifications to this component.
  60037. 0b0000 Indicates that the customer has not modified this component.</comment>
  60038. </bits>
  60039. </reg>
  60040. <reg name="cidr0" protect="r">
  60041. <bits access="r" name="prmbl_0" pos="7:0" rst="13">
  60042. <comment>Preamble[0]. Contains bits[7:0] of the component identification code.
  60043. 0x0D Bits[7:0] of the identification code.</comment>
  60044. </bits>
  60045. </reg>
  60046. <reg name="cidr1" protect="r">
  60047. <bits access="r" name="class" pos="7:4" rst="9">
  60048. <comment>Class of the component, for example, whether the component is a ROM table or a generic
  60049. CoreSight SoC-400 component. Contains bits[15:12] of the component identification code.
  60050. 0b1001 Indicates that the component is a CoreSight SoC-400 component.</comment>
  60051. </bits>
  60052. <bits access="r" name="prmbl_1" pos="3:0" rst="0">
  60053. <comment>Preamble[1]. Contains bits[11:8] of the component identification code.
  60054. 0b0000 Bits[11:8] of the identification code.</comment>
  60055. </bits>
  60056. </reg>
  60057. <reg name="cidr2" protect="r">
  60058. <bits access="r" name="prmbl_2" pos="7:0" rst="5">
  60059. <comment>Preamble[2]. Contains bits[23:16] of the component identification code.
  60060. 0x05 Bits[23:16] of the identification code.</comment>
  60061. </bits>
  60062. </reg>
  60063. <reg name="cidr3" protect="r">
  60064. <bits access="r" name="prmbl_3" pos="7:0" rst="177">
  60065. <comment>Preamble[3]. Contains bits[31:24] of the component
  60066. identification code.
  60067. 0xB1 Bits[31:24] of the identification code.</comment>
  60068. </bits>
  60069. </reg>
  60070. </module>
  60071. </archive>
  60072. <archive relative="etb.xml">
  60073. <module category="Debug" name="ETB">
  60074. <hole size="32"/>
  60075. <reg name="rdp" protect="r">
  60076. <bits access="r" name="etb_ram_depth" pos="31:0" rst="0">
  60077. <comment>Defines the depth, in words, of the trace RAM.</comment>
  60078. </bits>
  60079. </reg>
  60080. <hole size="32"/>
  60081. <reg name="sts" protect="r">
  60082. <bits access="r" name="ftempty" pos="3" rst="1">
  60083. <comment>Formatter pipeline is empty. All data is stored to RAM.
  60084. 0 Formatter pipeline is not empty.
  60085. 1 Formatter pipeline is empty.</comment>
  60086. </bits>
  60087. <bits access="r" name="acqcomp" pos="2" rst="0">
  60088. <comment>The acquisition complete flag indicates that the capture is completed when the formatter stops
  60089. because of any of the methods defined in the FFCR, or CTL.TraceCaptEn is 0. This sets
  60090. FFSR.FtStopped to 1.
  60091. 0 Acquisition is not complete.
  60092. 1 Acquisition is complete.</comment>
  60093. </bits>
  60094. <bits access="r" name="triggered" pos="1" rst="0">
  60095. <comment>The Triggered bit is set when the component observes a trigger during programming the FFCR.
  60096. Note
  60097. This field does not indicate that the formatter embedded a trigger in the trace data.
  60098. 0 A trigger is not observed.
  60099. 1 A trigger is observed.</comment>
  60100. </bits>
  60101. <bits access="r" name="full" pos="0" rst="0">
  60102. <comment>The flag indicates whether the RAM is full or not.
  60103. 0 The RAM write pointer is not wrapped around. The RAM is not full.
  60104. 1 The RAM write pointer is wrapped around. The RAM is full.</comment>
  60105. </bits>
  60106. </reg>
  60107. <reg name="rrd" protect="r">
  60108. <bits access="r" name="ram_read_data" pos="31:0" rst="0">
  60109. <comment>Data read from the ETB Trace RAM.</comment>
  60110. </bits>
  60111. </reg>
  60112. <reg name="rrp" protect="rw">
  60113. <bits access="rw" name="ram_read_pointer" pos="9:0" rst="0">
  60114. <comment>Sets the read pointer to the required value. The read pointer reads entries from the Trace RAM
  60115. through the APB interface.</comment>
  60116. </bits>
  60117. </reg>
  60118. <reg name="rwp" protect="rw">
  60119. <bits access="rw" name="ram_write_pointer" pos="9:0" rst="0">
  60120. <comment>The RAM Write Pointer Register sets the write pointer to the required value. The write pointer
  60121. writes entries from the CoreSight bus to the Trace RAM.</comment>
  60122. </bits>
  60123. </reg>
  60124. <reg name="trg" protect="rw">
  60125. <bits access="rw" name="trigger_counter" pos="9:0" rst="0">
  60126. <comment>The counter is used as follows:
  60127. Trace after The counter is set to a large value, slightly less than the number of entries
  60128. in the RAM.
  60129. Trace before The counter is set to a small value.
  60130. Trace about The counter is set to half the depth of the trace RAM.
  60131. You must not write to this register when trace capture is enabled, FFSR.FtStopped is 0, and
  60132. CTL.TraceCaptEn is 1. When a write is attempted, then the register is not updated. A read
  60133. operation is permitted when trace capture is enabled.</comment>
  60134. </bits>
  60135. </reg>
  60136. <reg name="ctl" protect="rw">
  60137. <bits access="rw" name="tracecapten" pos="0" rst="0">
  60138. <comment>ETB Trace Capture Enable. This is the master enable bit that sets FtStopped to HIGH when
  60139. TraceCaptEn is LOW. When capture is disabled, any remaining data in the ATB formatter is
  60140. stored to RAM. When all of the data is stored, the formatter outputs FtStopped. Capture is fully
  60141. disabled, or complete, when FtStopped goes HIGH. See ETB Formatter and Flush Status
  60142. Register.
  60143. 0 Disable trace capture.
  60144. 1 Enable trace capture.</comment>
  60145. </bits>
  60146. </reg>
  60147. <reg name="rwd" protect="rw">
  60148. <bits access="rw" name="ram_write_data" pos="31:0" rst="0">
  60149. <comment>When CTL.TraceCaptEn is 0:
  60150. ? Writes to this register write the data to the ETB trace RAM. The RAM Write Pointer
  60151. Register value is incremented.
  60152. ? Reads of this register return an UNKNOWN value.
  60153. When CTL.TraceCaptEn is 1:
  60154. ? Writes to this register are ignored. The data is not written to the ETB trace RAM and the
  60155. RAM Write Pointer is not affected.
  60156. ? Reads of this register return an UNKNOWN value.</comment>
  60157. </bits>
  60158. </reg>
  60159. <hole size="5824"/>
  60160. <reg name="ffsr" protect="rw">
  60161. <bits access="rw" name="ftstopped" pos="1" rst="1">
  60162. <comment>Formatter stopped. The formatter has received a stop request signal and all trace data and
  60163. post-amble is sent. Any additional trace data on the ATB interface is ignored and atreadys goes
  60164. HIGH.
  60165. 0 Formatter is not stopped.
  60166. 1 Formatter is stopped.</comment>
  60167. </bits>
  60168. <bits access="rw" name="flinprog" pos="0" rst="0">
  60169. <comment>Flush In Progress. This is an indication of the current state of afvalids.
  60170. 0 afvalids is LOW.
  60171. 1 afvalids is HIGH.</comment>
  60172. </bits>
  60173. </reg>
  60174. <reg name="ffcr" protect="rw">
  60175. <bits access="rw" name="stoptrig" pos="13" rst="0">
  60176. <comment>Stops trace capture after a trigger event is observed. The reset value is 0.
  60177. 0 Disable stopping of the formatter after a trigger event is observed.
  60178. 1 Enable stopping of the formatter after a trigger event is observed.</comment>
  60179. </bits>
  60180. <bits access="rw" name="stopfl" pos="12" rst="0">
  60181. <comment>Stops trace capture after the next flush completes. The reset value is 0.
  60182. 0 Disable stopping the formatter when a flush completes.
  60183. 1 Enable stopping the formatter when a flush completes.</comment>
  60184. </bits>
  60185. <bits access="rw" name="trigfl" pos="10" rst="0">
  60186. <comment>Indicates a Trigger-on-Flush completion.
  60187. 0 Disable trigger indication on flush completion.
  60188. 1 Enable trigger indication on flush completion.</comment>
  60189. </bits>
  60190. <bits access="rw" name="trigevt" pos="9" rst="0">
  60191. <comment>Indicates a trigger on a trigger event.
  60192. 0 Disable trigger indication on a trigger event.
  60193. 1 Enable trigger indication on a trigger event.</comment>
  60194. </bits>
  60195. <bits access="rw" name="trigin" pos="8" rst="0">
  60196. <comment>Indicates a trigger when trigin is asserted.
  60197. 0 Disable trigger indication when trigin is asserted.
  60198. 1 Enable trigger indication when trigin is asserted.</comment>
  60199. </bits>
  60200. <bits access="rw" name="fonman" pos="6" rst="0">
  60201. <comment>Initiates a manual flush. This bit is set to 0 after the flush has been serviced. The reset value is 0.
  60202. 0 Manual flush is not initiated.
  60203. 1 Manual flush is initiated.</comment>
  60204. </bits>
  60205. <bits access="rw" name="fontrig" pos="5" rst="0">
  60206. <comment>Flushes the data in the system when a trigger event occurs. The reset value is 0.
  60207. 0 Disable flush generation when a trigger event occurs.
  60208. 1 Enable flush generation when a trigger event occurs.</comment>
  60209. </bits>
  60210. <bits access="rw" name="enable_flush_in" pos="4" rst="0">
  60211. <comment>Enables use of the flushin input. The reset value is 0.
  60212. 0 Disable flush generation using the flushin interface.
  60213. 1 Enable flush generation using the flushin interface.</comment>
  60214. </bits>
  60215. <bits access="rw" name="enfcont" pos="1" rst="0">
  60216. <comment>When EnFTC is 1, this bit controls whether triggers are recorded in the trace stream. Most usage
  60217. models require Continuous mode, where this bit is set to 1. The reset value is 0. See Modes of
  60218. operation on page 10-5 for more information.
  60219. Note
  60220. This bit can only be changed when FtStopped is HIGH.
  60221. 0 Triggers are not embedded in the trace stream.
  60222. 1 Triggers are embedded in the trace stream.</comment>
  60223. </bits>
  60224. <bits access="rw" name="enftc" pos="0" rst="0">
  60225. <comment>Enable formatting. Most usage models require Continuous mode, where this bit is set to 1. The
  60226. reset value is 0. See Modes of operation on page 10-5 for more information.
  60227. Note
  60228. This bit can only be changed when FtStopped is HIGH.
  60229. 0 Formatting is disabled.
  60230. 1 Formatting is enabled.</comment>
  60231. </bits>
  60232. </reg>
  60233. <hole size="24256"/>
  60234. <reg name="itmiscop0" protect="rw">
  60235. <bits access="w" name="full" pos="1" rst="0">
  60236. <comment>Sets the value of full output.
  60237. 0 Sets the value to 0.
  60238. 1 Sets the value to 1.</comment>
  60239. </bits>
  60240. <bits access="w" name="acqcomp" pos="0" rst="0">
  60241. <comment>Sets the value of acqcomp output.
  60242. 0 Sets the value to 0.
  60243. 1 Sets the value to 1.</comment>
  60244. </bits>
  60245. </reg>
  60246. <reg name="ittrflinack" protect="rw">
  60247. <bits access="w" name="flushinack" pos="1" rst="0">
  60248. <comment>Sets the value of flushinack.
  60249. 0 Sets the value of FLUSHINACK to 0.
  60250. 1 Sets the value of FLUSHINACK to 1.</comment>
  60251. </bits>
  60252. <bits access="w" name="triginack" pos="0" rst="0">
  60253. <comment>Sets the value of triginack.
  60254. 0 Sets the value of TRIGINACK to 0.
  60255. 1 Sets the value of TRIGINACK to 1.</comment>
  60256. </bits>
  60257. </reg>
  60258. <reg name="ittrflin" protect="r">
  60259. <bits access="r" name="flushin" pos="1" rst="0">
  60260. <comment>Reads the value of flushin.
  60261. 0 flushin is LOW.
  60262. 1 flushin is HIGH.</comment>
  60263. </bits>
  60264. <bits access="r" name="trigin" pos="0" rst="0">
  60265. <comment>TRIGIN Reads the value of trigin.
  60266. 0 trigin is LOW.
  60267. 1 trigin is HIGH.</comment>
  60268. </bits>
  60269. </reg>
  60270. <reg name="itatbdata0" protect="rw">
  60271. <bits access="rw" name="atdata_31" pos="4" rst="0">
  60272. <comment>Reads the value of atdatas[31].
  60273. 0 atdatas[31] is 0.
  60274. 1 atdatas[31] is 1.</comment>
  60275. </bits>
  60276. <bits access="rw" name="atdata_23" pos="3" rst="0">
  60277. <comment>Reads the value of atdatas[23].
  60278. 0 atdatas[23] is 0.
  60279. 1 atdatas[23] is 1.</comment>
  60280. </bits>
  60281. <bits access="rw" name="atdata_15" pos="2" rst="0">
  60282. <comment>Reads the value of atdatas[15].
  60283. 0 atdatas[15] is 0.
  60284. 1 atdatas[15] is 1.</comment>
  60285. </bits>
  60286. <bits access="rw" name="atdata_7" pos="1" rst="0">
  60287. <comment>Reads the value of atdatas[7].
  60288. 0 atdatas[7] is 0.
  60289. 1 atdatas[7] is 1.</comment>
  60290. </bits>
  60291. <bits access="rw" name="atdata_0" pos="0" rst="0">
  60292. <comment>Reads the value of atdatas[0].
  60293. 0 atdatas[0] is 0.
  60294. 1 atdatas[0] is 1.</comment>
  60295. </bits>
  60296. </reg>
  60297. <reg name="itatbctr2" protect="rw">
  60298. <bits access="w" name="afvalids" pos="1" rst="0">
  60299. <comment>Sets the value of afvalids.
  60300. 0 Sets the value of afvalids to 0.
  60301. 1 Sets the value of afvalids to 1.</comment>
  60302. </bits>
  60303. <bits access="w" name="atreadys" pos="0" rst="0">
  60304. <comment>Sets the value of atreadys.
  60305. 0 Sets the value of atreadys to 0.
  60306. 1 Sets the value of atreadys to 1.</comment>
  60307. </bits>
  60308. </reg>
  60309. <reg name="itatbctr1" protect="rw">
  60310. <bits access="w" name="atid" pos="6:0" rst="0">
  60311. <comment>Reads the value of atids</comment>
  60312. </bits>
  60313. </reg>
  60314. <reg name="itatbctr0" protect="rw">
  60315. <bits access="rw" name="atbytes" pos="9:8" rst="0">
  60316. <comment>Reads the value of atbytess</comment>
  60317. </bits>
  60318. <bits access="rw" name="afready" pos="1" rst="0">
  60319. <comment>Reads the value of afreadys.
  60320. 0 afreadys is 0.
  60321. 1 afreadys is 1.</comment>
  60322. </bits>
  60323. <bits access="rw" name="atvalid" pos="0" rst="0">
  60324. <comment>Reads the value of atvalids.
  60325. 0 atvalids is 0.
  60326. 1 atvalids is 1.</comment>
  60327. </bits>
  60328. </reg>
  60329. <hole size="32"/>
  60330. <reg name="itctrl" protect="rw">
  60331. <bits access="w" name="ime" pos="0" rst="0">
  60332. <comment>Integration Mode Enable.
  60333. 0 Disable integration mode.
  60334. 1 Enable integration mode.</comment>
  60335. </bits>
  60336. </reg>
  60337. <hole size="1248"/>
  60338. <reg name="claimset" protect="rw">
  60339. <bits access="w" name="set" pos="3:0" rst="15">
  60340. <comment>On reads, for each bit:
  60341. 1 Claim tag bit is implemented
  60342. On writes, for each bit:
  60343. 0 Has no effect.
  60344. 1 Sets the relevant bit of the claim tag.</comment>
  60345. </bits>
  60346. </reg>
  60347. <reg name="claimclr" protect="rw">
  60348. <bits access="w" name="clr" pos="3:0" rst="0">
  60349. <comment>On reads, for each bit:
  60350. 0 Claim tag bit is not set.
  60351. 1 Claim tag bit is set.
  60352. On writes, for each bit:
  60353. 0 Has no effect.
  60354. 1 Clears the relevant bit of the claim tag.</comment>
  60355. </bits>
  60356. </reg>
  60357. <hole size="64"/>
  60358. <reg name="lar" protect="r">
  60359. <bits access="r" name="key" pos="31:0" rst="0">
  60360. <comment>Software lock key value.
  60361. 0xC5ACCE55 Clear the software lock.
  60362. All other write values set the software lock.</comment>
  60363. </bits>
  60364. </reg>
  60365. <reg name="lsr" protect="rw">
  60366. <bits access="rw" name="ntt" pos="2" rst="0">
  60367. <comment>Register size indicator. Always 0. Indicates that the LAR is implemented as 32-bit.</comment>
  60368. </bits>
  60369. <bits access="rw" name="slk" pos="1" rst="1">
  60370. <comment>0 Indicates that write operations are permitted from this interface.
  60371. 1 Indicates that write operations are not permitted from this interface. Read
  60372. operations are permitted.</comment>
  60373. </bits>
  60374. <bits access="rw" name="sli" pos="0" rst="1">
  60375. <comment>Software Lock Implemented. Indicates that a lock control mechanism is present from this
  60376. interface.
  60377. 0 Indicates that a lock control mechanism is not present from this interface. Write
  60378. operations to the LAR are ignored.
  60379. 1 Indicates that a lock control mechanism is present from this interface</comment>
  60380. </bits>
  60381. </reg>
  60382. <reg name="authstatus" protect="rw">
  60383. <bits access="rw" name="snid" pos="7:6" rst="0">
  60384. <comment>Always 0b00. The security level for Secure non-invasive debug is not implemented or is controlled
  60385. elsewhere.</comment>
  60386. </bits>
  60387. <bits access="rw" name="sid" pos="5:4" rst="1">
  60388. <comment>Always 0b00 Secure invasive debug is not implemented or is controlled elsewhere.</comment>
  60389. </bits>
  60390. <bits access="rw" name="nsnid" pos="3:2" rst="1">
  60391. <comment>Indicates the security level for Non-secure non-invasive debug:
  60392. 0b10 Disabled.
  60393. 0b11 Enabled.</comment>
  60394. </bits>
  60395. <bits access="rw" name="nsid" pos="1:0" rst="1">
  60396. <comment>Indicates the security level for Non-secure invasive debug:
  60397. 0b10 Disabled.
  60398. 0b11 Enabled.</comment>
  60399. </bits>
  60400. </reg>
  60401. <hole size="96"/>
  60402. <reg name="devid" protect="r">
  60403. <bits access="r" name="ramclk" pos="5" rst="0">
  60404. <comment>This bit returns 0 on reads to indicate that the ETB RAM operates synchronously to atclk.
  60405. 0 The ETB RAM operates synchronously to atclk.</comment>
  60406. </bits>
  60407. <bits access="r" name="extmuxnum" pos="4:0" rst="0">
  60408. <comment>Number of external multiplexing available. Non-zero values indicate the type of ATB
  60409. multiplexing on the input to the ATB.
  60410. 0b0000 Only 0x00 is supported, that is, no multiplexing is present. This value helps detect
  60411. the ATB structure.</comment>
  60412. </bits>
  60413. </reg>
  60414. <reg name="devtype" protect="r">
  60415. <bits access="r" name="sub" pos="7:4" rst="2">
  60416. <comment>Sub-classification of the type of the debug component as specified in the ARM? CoreSight?
  60417. Architecture Specification within the major classification as specified in the MAJOR field.
  60418. 0b0010 This component is a trace buffer, ETB.</comment>
  60419. </bits>
  60420. <bits access="r" name="major" pos="3:0" rst="1">
  60421. <comment>Major classification of the type of the debug component as specified in the ARM? CoreSight?
  60422. Architecture Specification for this debug and trace component.
  60423. 0b0001 This component is a trace sink component.</comment>
  60424. </bits>
  60425. </reg>
  60426. <reg name="pidr4" protect="r">
  60427. <bits access="r" name="size" pos="7:4" rst="0">
  60428. <comment>Always 0b0000. Indicates that the device only occupies 4KB of memory.</comment>
  60429. </bits>
  60430. <bits access="r" name="des_2" pos="3:0" rst="4">
  60431. <comment>Together, PIDR1.DES_0, PIDR2.DES_1, and PIDR4.DES_2 identify the designer of the
  60432. component.
  60433. 0b0100 JEDEC continuation code.</comment>
  60434. </bits>
  60435. </reg>
  60436. <reg name="pidr5" protect="r">
  60437. </reg>
  60438. <reg name="pidr6" protect="r">
  60439. </reg>
  60440. <reg name="pidr7" protect="r">
  60441. </reg>
  60442. <reg name="pidr0" protect="r">
  60443. <bits access="r" name="part_0" pos="7:0" rst="7">
  60444. <comment>Bits[7:0] of the 12-bit part number of the component. The designer of the component assigns this
  60445. part number.
  60446. 0x07 Indicates bits[7:0] of the part number of the component.</comment>
  60447. </bits>
  60448. </reg>
  60449. <reg name="pidr1" protect="r">
  60450. <bits access="r" name="des_0" pos="7:4" rst="11">
  60451. <comment>Together, PIDR1.DES_0, PIDR2.DES_1, and PIDR4.DES_2 identify the designer of the
  60452. component.
  60453. 0b1011 ARM. Bits[3:0] of the JEDEC JEP106 Identity Code.</comment>
  60454. </bits>
  60455. <bits access="r" name="part_1" pos="3:0" rst="9">
  60456. <comment>Bits[11:8] of the 12-bit part number of the component. The designer of the component assigns this
  60457. part number.
  60458. 0b1001 Indicates bits[11:8] of the part number of the component.</comment>
  60459. </bits>
  60460. </reg>
  60461. <reg name="pidr2" protect="r">
  60462. <bits access="r" name="revision" pos="7:4" rst="4">
  60463. <comment>0b0100 This device is at r0p5.</comment>
  60464. </bits>
  60465. <bits access="r" name="jedec" pos="3" rst="1">
  60466. <comment>Always 1. Indicates that a JEDEC assigned value is used.</comment>
  60467. </bits>
  60468. <bits access="r" name="des_1" pos="2:0" rst="3">
  60469. <comment>Together, PIDR1.DES_0, PIDR2.DES_1, and PIDR4.DES_2 identify the designer of the
  60470. component.
  60471. 0b011 ARM. Bits[6:4] of the JEDEC JEP106 Identity Code.</comment>
  60472. </bits>
  60473. </reg>
  60474. <reg name="pidr3" protect="r">
  60475. <bits access="r" name="revand" pos="7:4" rst="0">
  60476. <comment>Indicates minor errata fixes specific to the revision of the component being used, for example
  60477. metal fixes after implementation. In most cases, this field is 0b0000. ARM recommends that the
  60478. component designers ensure that a metal fix can change this field if required, for example, by
  60479. driving it from registers that reset to 0b0000.
  60480. 0b0000 Indicates that there are no errata fixes to this component.</comment>
  60481. </bits>
  60482. <bits access="r" name="cmod" pos="3:0" rst="0">
  60483. <comment>Customer Modified. Indicates whether the customer has modified the behavior of the component.
  60484. In most cases, this field is 0b0000. Customers change this value when they make authorized
  60485. modifications to this component.
  60486. 0b0000 Indicates that the customer has not modified this component.</comment>
  60487. </bits>
  60488. </reg>
  60489. <reg name="cidr0" protect="r">
  60490. <bits access="r" name="prmbl_0" pos="7:0" rst="13">
  60491. <comment>Preamble[0]. Contains bits[7:0] of the component identification code.
  60492. 0x0D Bits[7:0] of the identification code.</comment>
  60493. </bits>
  60494. </reg>
  60495. <reg name="cidr1" protect="r">
  60496. <bits access="r" name="class" pos="7:4" rst="9">
  60497. <comment>Class of the component, for example, whether the component is a ROM table or a generic
  60498. CoreSight SoC-400 component. Contains bits[15:12] of the component identification code.
  60499. 0b1001 Indicates that the component is a CoreSight SoC-400 component.</comment>
  60500. </bits>
  60501. <bits access="r" name="prmbl_1" pos="3:0" rst="0">
  60502. <comment>Preamble[1]. Contains bits[11:8] of the component identification code.
  60503. 0b0000 Bits[11:8] of the identification code.</comment>
  60504. </bits>
  60505. </reg>
  60506. <reg name="cidr2" protect="r">
  60507. <bits access="r" name="prmbl_2" pos="7:0" rst="5">
  60508. <comment>Preamble[2]. Contains bits[23:16] of the component identification code.
  60509. 0x05 Bits[23:16] of the identification code.</comment>
  60510. </bits>
  60511. </reg>
  60512. <reg name="cidr3" protect="r">
  60513. <bits access="r" name="prmbl_3" pos="7:0" rst="177">
  60514. <comment>Preamble[3]. Contains bits[31:24] of the component
  60515. identification code.
  60516. 0xB1 Bits[31:24] of the identification code.</comment>
  60517. </bits>
  60518. </reg>
  60519. </module>
  60520. </archive>
  60521. <archive relative="atb_funnel.xml">
  60522. <module category="Debug" name="ATB_FUNNEL">
  60523. <reg name="ctrl_reg" protect="rw">
  60524. <bits access="rw" name="ht" pos="11:8" rst="3">
  60525. <comment>Hold Time. The formatting scheme can become inefficient when fast switching occurs, and you
  60526. can use this setting to minimize switching. When a source has nothing to transmit, then another
  60527. source is selected irrespective of the minimum number of transactions. The ATB funnel holds for
  60528. the minimum hold time and one additional transaction. The actual hold time is the register value
  60529. plus 1. The maximum value that can be entered is 0b1110 and this equates to 15 transactions. 0b1111
  60530. is reserved.
  60531. 0b0000 1 transaction hold time.
  60532. 0b0001 2 transactions hold time.
  60533. 0b0010 3 transactions hold time.
  60534. 0b0011 4 transactions hold time.
  60535. 0b0100 5 transactions hold time.
  60536. 0b0101 6 transactions hold time.
  60537. 0b0110 7 transactions hold time.
  60538. 0b0111 8 transactions hold time.
  60539. 0b1000 9 transactions hold time.
  60540. 0b1001 10 transactions hold time.
  60541. 0b1010 11 transactions hold time.
  60542. 0b1011 12 transactions hold time.
  60543. 0b1100 13 transactions hold time.
  60544. 0b1101 14 transactions hold time.
  60545. 0b1110 15 transactions hold time.</comment>
  60546. </bits>
  60547. <bits access="rw" name="ens7" pos="7" rst="0">
  60548. <comment>Enable slave port 7.
  60549. The reset value is 0.
  60550. 0 Slave port disabled.
  60551. This excludes the port from the priority selection scheme.
  60552. 1 Slave port enabled.</comment>
  60553. </bits>
  60554. <bits access="rw" name="ens6" pos="6" rst="0">
  60555. <comment>Enable slave port 6.
  60556. The reset value is 0.
  60557. 0 Slave port disabled.
  60558. This excludes the port from the priority selection scheme.
  60559. 1 Slave port enabled.</comment>
  60560. </bits>
  60561. <bits access="rw" name="ens5" pos="5" rst="0">
  60562. <comment>Enable slave port 5.
  60563. The reset value is 0.
  60564. 0 Slave port disabled.
  60565. This excludes the port from the priority selection scheme.
  60566. 1 Slave port enabled.</comment>
  60567. </bits>
  60568. <bits access="rw" name="ens4" pos="4" rst="0">
  60569. <comment>Enable slave port 4.
  60570. The reset value is 0.
  60571. 0 Slave port disabled.
  60572. This excludes the port from the priority selection scheme.
  60573. 1 Slave port enabled.</comment>
  60574. </bits>
  60575. <bits access="rw" name="ens3" pos="3" rst="0">
  60576. <comment>Enable slave port 3.
  60577. The reset value is 0.
  60578. 0 Slave port disabled.
  60579. This excludes the port from the priority selection scheme.
  60580. 1 Slave port enabled.</comment>
  60581. </bits>
  60582. <bits access="rw" name="ens2" pos="2" rst="0">
  60583. <comment>Enable slave port 2.
  60584. The reset value is 0.
  60585. 0 Slave port disabled.
  60586. This excludes the port from the priority selection scheme.
  60587. 1 Slave port enabled.</comment>
  60588. </bits>
  60589. <bits access="rw" name="ens1" pos="1" rst="0">
  60590. <comment>Enable slave port 1.
  60591. The reset value is 0.
  60592. 0 Slave port disabled.
  60593. This excludes the port from the priority selection scheme.
  60594. 1 Slave port enabled.</comment>
  60595. </bits>
  60596. <bits access="rw" name="ens0" pos="0" rst="0">
  60597. <comment>Enable slave port 0.
  60598. The reset value is 0.
  60599. 0 Slave port disabled.
  60600. This excludes the port from the priority selection scheme.
  60601. 1 Slave port enabled.</comment>
  60602. </bits>
  60603. </reg>
  60604. <reg name="priority_ctrl_reg" protect="rw">
  60605. <bits access="rw" name="priport7" pos="23:21" rst="0">
  60606. <comment>Priority value of the eighth slave port.</comment>
  60607. </bits>
  60608. <bits access="rw" name="priport6" pos="20:18" rst="0">
  60609. <comment>Priority value of the seventh slave port.</comment>
  60610. </bits>
  60611. <bits access="rw" name="priport5" pos="17:15" rst="0">
  60612. <comment>Priority value of the sixth slave port.</comment>
  60613. </bits>
  60614. <bits access="rw" name="priport4" pos="14:12" rst="0">
  60615. <comment>Priority value of the fifth slave port.</comment>
  60616. </bits>
  60617. <bits access="rw" name="priport3" pos="11:9" rst="0">
  60618. <comment>Priority value of the fourth slave port.</comment>
  60619. </bits>
  60620. <bits access="rw" name="priport2" pos="8:6" rst="0">
  60621. <comment>Priority value of the third slave port.</comment>
  60622. </bits>
  60623. <bits access="rw" name="priport1" pos="5:3" rst="0">
  60624. <comment>Priority value of the second slave port.</comment>
  60625. </bits>
  60626. <bits access="rw" name="priport0" pos="2:0" rst="0">
  60627. <comment>Priority value of the first slave port.</comment>
  60628. </bits>
  60629. </reg>
  60630. <hole size="30496"/>
  60631. <reg name="itatbdata0" protect="rw">
  60632. <bits access="rw" name="atdata127" pos="16" rst="0">
  60633. <comment>A read access returns the value of atdatas&lt;x&gt;[127] of the enabled port. A write access writes to
  60634. atdatam[127] of the enabled port.
  60635. 0 atdata[127] of the enabled port is LOW.
  60636. 1 atdata[127] of the enabled port is HIGH.</comment>
  60637. </bits>
  60638. <bits access="rw" name="atdata119" pos="15" rst="0">
  60639. <comment>A read access returns the value of atdatas&lt;x&gt;[119] of the enabled port. A write access writes to
  60640. atdatam[119] of the enabled port.
  60641. 0 atdata[119] of the enabled port is LOW.
  60642. 1 atdata[119] of the enabled port is HIGH.</comment>
  60643. </bits>
  60644. <bits access="rw" name="atdata111" pos="14" rst="0">
  60645. <comment>A read access returns the value of atdatas&lt;x&gt;[111] of the enabled port. A write access writes to
  60646. atdatam[111] of the enabled port.
  60647. 0 atdata[111] of the enabled port is LOW.
  60648. 1 atdata[111] of the enabled port is HIGH.</comment>
  60649. </bits>
  60650. <bits access="rw" name="atdata103" pos="13" rst="0">
  60651. <comment>A read access returns the value of atdatas&lt;x&gt;[103] of the enabled port. A write access writes to
  60652. atdatam[103] of the enabled port.
  60653. 0 atdata[103] of the enabled port is LOW.
  60654. 1 atdata[103] of the enabled port is HIGH.</comment>
  60655. </bits>
  60656. <bits access="rw" name="atdata95" pos="12" rst="0">
  60657. <comment>A read access returns the value of atdatas&lt;x&gt;[95] of the enabled port. A write access writes to
  60658. atdatam[95] of the enabled port.
  60659. 0 atdata[95] of the enabled port is LOW.
  60660. 1 atdata[95] of the enabled port is HIGH.</comment>
  60661. </bits>
  60662. <bits access="rw" name="atdata87" pos="11" rst="0">
  60663. <comment>A read access returns the value of atdatas&lt;x&gt;[87] of the enabled port. A write access writes to
  60664. atdatam[87] of the enabled port.
  60665. 0 atdata[87] of the enabled port is LOW.
  60666. 1 atdata[87] of the enabled port is HIGH.</comment>
  60667. </bits>
  60668. <bits access="rw" name="atdata79" pos="10" rst="0">
  60669. <comment>A read access returns the value of atdatas&lt;x&gt;[79] of the enabled port. A write access writes to
  60670. atdatam[79] of the enabled port.
  60671. 0 atdata[79] of the enabled port is LOW.
  60672. 1 atdata[79] of the enabled port is HIGH.</comment>
  60673. </bits>
  60674. <bits access="rw" name="atdata71" pos="9" rst="0">
  60675. <comment>A read access returns the value of atdatas&lt;x&gt;[71] of the enabled port. A write access writes to
  60676. atdatam[71] of the enabled port.
  60677. 0 atdata[71] of the enabled port is LOW.
  60678. 1 atdata[71] of the enabled port is HIGH.</comment>
  60679. </bits>
  60680. <bits access="rw" name="atdata63" pos="8" rst="0">
  60681. <comment>A read access returns the value of atdatas&lt;x&gt;[63] of the enabled port. A write access writes to
  60682. atdatam[63] of the enabled port.
  60683. 0 atdata[63] of the enabled port is LOW.
  60684. 1 atdata[63] of the enabled port is HIGH.</comment>
  60685. </bits>
  60686. <bits access="rw" name="atdata55" pos="7" rst="0">
  60687. <comment>A read access returns the value of atdatas&lt;x&gt;[55] of the enabled port. A write access writes to
  60688. atdatam[55] of the enabled port.
  60689. 0 atdata[55] of the enabled port is LOW.
  60690. 1 atdata[55] of the enabled port is HIGH.</comment>
  60691. </bits>
  60692. <bits access="rw" name="atdata47" pos="6" rst="0">
  60693. <comment>A read access returns the value of atdatas&lt;x&gt;[47] of the enabled port. A write access writes to
  60694. atdatam[47] of the enabled port.
  60695. 0 atdata[47] of the enabled port is LOW.
  60696. 1 atdata[47] of the enabled port is HIGH.</comment>
  60697. </bits>
  60698. <bits access="rw" name="atdata39" pos="5" rst="0">
  60699. <comment>A read access returns the value of atdatas&lt;x&gt;[39] of the enabled port. A write access writes to
  60700. atdatam[39] of the enabled port.
  60701. 0 atdata[39] of the enabled port is LOW.
  60702. 1 atdata[39] of the enabled port is HIGH.</comment>
  60703. </bits>
  60704. <bits access="rw" name="atdata_31" pos="4" rst="0">
  60705. <comment>Reads the value of atdatas[31].
  60706. 0 atdatas[31] is 0.
  60707. 1 atdatas[31] is 1.</comment>
  60708. </bits>
  60709. <bits access="rw" name="atdata_23" pos="3" rst="0">
  60710. <comment>Reads the value of atdatas[23].
  60711. 0 atdatas[23] is 0.
  60712. 1 atdatas[23] is 1.</comment>
  60713. </bits>
  60714. <bits access="rw" name="atdata_15" pos="2" rst="0">
  60715. <comment>Reads the value of atdatas[15].
  60716. 0 atdatas[15] is 0.
  60717. 1 atdatas[15] is 1.</comment>
  60718. </bits>
  60719. <bits access="rw" name="atdata_7" pos="1" rst="0">
  60720. <comment>Reads the value of atdatas[7].
  60721. 0 atdatas[7] is 0.
  60722. 1 atdatas[7] is 1.</comment>
  60723. </bits>
  60724. <bits access="rw" name="atdata_0" pos="0" rst="0">
  60725. <comment>Reads the value of atdatas[0].
  60726. 0 atdatas[0] is 0.
  60727. 1 atdatas[0] is 1.</comment>
  60728. </bits>
  60729. </reg>
  60730. <reg name="itatbctr2" protect="rw">
  60731. <bits access="rw" name="afvalid" pos="1" rst="0">
  60732. <comment>A read access returns the value of afvalidm.
  60733. A write access outputs the data to afvalidsn, where the value of the Ctrl_Reg at 0x000 defines n.
  60734. 0 Pin is at logic 0.
  60735. 1 Pin is at logic 1.</comment>
  60736. </bits>
  60737. <bits access="rw" name="atready" pos="0" rst="0">
  60738. <comment>A read access returns the value of atreadym.
  60739. A write access outputs the data to atreadysn, where the value of the Ctrl_Reg at 0x000 defines n.
  60740. 0 Pin is at logic 0.
  60741. 1 Pin is at logic 1.</comment>
  60742. </bits>
  60743. </reg>
  60744. <reg name="itatbctr1" protect="rw">
  60745. <bits access="rw" name="atid" pos="6:0" rst="0">
  60746. <comment>A read returns the value of the atidsn signals, where the value of the Control Register at 0x000
  60747. defines n.
  60748. A write outputs the value to the atidm port.</comment>
  60749. </bits>
  60750. </reg>
  60751. <reg name="itatbctr0" protect="rw">
  60752. <bits access="rw" name="atbytes" pos="9:8" rst="0">
  60753. <comment>A read returns the value of the atbytessn signal, where the value of the Ctrl_Reg at 0x000 defines n.
  60754. A write outputs the value to atbytesm.</comment>
  60755. </bits>
  60756. <bits access="rw" name="afready" pos="1" rst="0">
  60757. <comment>A read returns the value of the afreadysn signal, where the value of the Ctrl_Reg at 0x000 defines
  60758. n.
  60759. A write outputs the value to afreadym.</comment>
  60760. </bits>
  60761. <bits access="rw" name="atvalid" pos="0" rst="0">
  60762. <comment>A read returns the value of the atvalidsn signal, where the value of the Ctrl_Reg at 0x000 defines n.
  60763. A write outputs the value to atvalidm.</comment>
  60764. </bits>
  60765. </reg>
  60766. <hole size="32"/>
  60767. <reg name="itctrl" protect="rw">
  60768. <bits access="rw" name="ime" pos="0" rst="0">
  60769. <comment>Integration Mode Enable.
  60770. 0 Disable integration mode.
  60771. 1 Enable integration mode.</comment>
  60772. </bits>
  60773. </reg>
  60774. <hole size="1248"/>
  60775. <reg name="claimset" protect="rw">
  60776. <bits access="rw" name="set" pos="3:0" rst="15">
  60777. <comment>On reads, for each bit:
  60778. 1 Claim tag bit is implemented
  60779. On writes, for each bit:
  60780. 0 Has no effect.
  60781. 1 Sets the relevant bit of the claim tag.</comment>
  60782. </bits>
  60783. </reg>
  60784. <reg name="claimclr" protect="rw">
  60785. <bits access="w" name="clr" pos="3:0" rst="0">
  60786. <comment>On reads, for each bit:
  60787. 0 Claim tag bit is not set.
  60788. 1 Claim tag bit is set.
  60789. On writes, for each bit:
  60790. 0 Has no effect.
  60791. 1 Clears the relevant bit of the claim tag.</comment>
  60792. </bits>
  60793. </reg>
  60794. <hole size="64"/>
  60795. <reg name="lockaccess" protect="r">
  60796. <bits access="r" name="key" pos="31:0" rst="0">
  60797. <comment>Software lock key value.
  60798. 0xC5ACCE55 Clear the software lock.
  60799. All other write values set the software lock.</comment>
  60800. </bits>
  60801. </reg>
  60802. <reg name="lockstatus" protect="r">
  60803. <bits access="r" name="ntt" pos="2" rst="0">
  60804. <comment>Register size indicator. Always 0. Indicates that the LAR is implemented as 32-bit.</comment>
  60805. </bits>
  60806. <bits access="r" name="slk" pos="1" rst="1">
  60807. <comment>0 Indicates that write operations are permitted from this interface.
  60808. 1 Indicates that write operations are not permitted from this interface. Read
  60809. operations are permitted.</comment>
  60810. </bits>
  60811. <bits access="r" name="sli" pos="0" rst="1">
  60812. <comment>Software Lock Implemented. Indicates that a lock control mechanism is present from this
  60813. interface.
  60814. 0 Indicates that a lock control mechanism is not present from this interface. Write
  60815. operations to the LAR are ignored.
  60816. 1 Indicates that a lock control mechanism is present from this interface</comment>
  60817. </bits>
  60818. </reg>
  60819. <reg name="authstatus" protect="rw">
  60820. <bits access="rw" name="snid" pos="7:6" rst="0">
  60821. <comment>Always 0b00. The security level for Secure non-invasive debug is not implemented or is controlled
  60822. elsewhere.</comment>
  60823. </bits>
  60824. <bits access="rw" name="sid" pos="5:4" rst="1">
  60825. <comment>Always 0b00 Secure invasive debug is not implemented or is controlled elsewhere.</comment>
  60826. </bits>
  60827. <bits access="rw" name="nsnid" pos="3:2" rst="1">
  60828. <comment>Indicates the security level for Non-secure non-invasive debug:
  60829. 0b10 Disabled.
  60830. 0b11 Enabled.</comment>
  60831. </bits>
  60832. <bits access="rw" name="nsid" pos="1:0" rst="1">
  60833. <comment>Indicates the security level for Non-secure invasive debug:
  60834. 0b10 Disabled.
  60835. 0b11 Enabled.</comment>
  60836. </bits>
  60837. </reg>
  60838. <hole size="96"/>
  60839. <reg name="devid" protect="r">
  60840. <bits access="r" name="scheme" pos="7:4" rst="3">
  60841. <comment>Indicates the priority scheme implemented in this component.
  60842. 0b0011 Program the slave ports to have higher or lower priority with respect to each other.</comment>
  60843. </bits>
  60844. <bits access="r" name="portcount" pos="3:0" rst="8">
  60845. <comment>Indicates the number of input ports connected. 0x0 and 0x1 are illegal values.
  60846. 0b0010 Two ATB slave ports.
  60847. 0b0011 Three ATB slave ports.
  60848. 0b0100 Four ATB slave ports.
  60849. 0b0101 Five ATB slave ports.
  60850. 0b0110 Six ATB slave ports.
  60851. 0b0111 Seven ATB slave ports.
  60852. 0b1000 Eight ATB slave ports.</comment>
  60853. </bits>
  60854. </reg>
  60855. <reg name="devtype" protect="r">
  60856. <bits access="r" name="sub" pos="7:4" rst="1">
  60857. <comment>Sub-classification of the type of the debug component as specified in the ARM? CoreSight?
  60858. Architecture Specification within the major classification as specified in the MAJOR field:
  60859. 0b0001 This component arbitrates ATB inputs mapping to ATB outputs.</comment>
  60860. </bits>
  60861. <bits access="r" name="major" pos="3:0" rst="2">
  60862. <comment>Major classification of the type of the debug component as specified in the ARM? CoreSight?
  60863. Architecture Specification for this debug and trace component:
  60864. 0b0010 This component has both ATB inputs and ATB outputs.</comment>
  60865. </bits>
  60866. </reg>
  60867. <reg name="pidr4" protect="r">
  60868. <bits access="r" name="size" pos="7:4" rst="0">
  60869. <comment>Always 0b0000. Indicates that the device only occupies 4KB of memory.</comment>
  60870. </bits>
  60871. <bits access="r" name="des_2" pos="3:0" rst="4">
  60872. <comment>Together, PIDR1.DES_0, PIDR2.DES_1, and PIDR4.DES_2 identify the designer of the
  60873. component.
  60874. 0b0100 JEDEC continuation code.</comment>
  60875. </bits>
  60876. </reg>
  60877. <reg name="pidr5" protect="r">
  60878. </reg>
  60879. <reg name="pidr6" protect="r">
  60880. </reg>
  60881. <reg name="pidr7" protect="r">
  60882. </reg>
  60883. <reg name="pidr0" protect="r">
  60884. <bits access="r" name="part_0" pos="7:0" rst="8">
  60885. <comment>Bits[7:0] of the 12-bit part number of the component. The designer of the component assigns this
  60886. part number.
  60887. 0x08 Indicates bits[7:0] of the part number of the component.</comment>
  60888. </bits>
  60889. </reg>
  60890. <reg name="pidr1" protect="r">
  60891. <bits access="r" name="des_0" pos="7:4" rst="11">
  60892. <comment>Together, PIDR1.DES_0, PIDR2.DES_1, and PIDR4.DES_2 identify the designer of the
  60893. component.
  60894. 0b1011 ARM. Bits[3:0] of the JEDEC JEP106 Identity Code.</comment>
  60895. </bits>
  60896. <bits access="r" name="part_0" pos="3:0" rst="9">
  60897. <comment>Bits[11:8] of the 12-bit part number of the component. The designer of the component assigns this
  60898. part number.
  60899. 0b1001 Indicates bits[11:8] of the part number of the component.</comment>
  60900. </bits>
  60901. </reg>
  60902. <reg name="pidr2" protect="r">
  60903. <bits access="r" name="revision" pos="7:4" rst="3">
  60904. <comment>0b0011, This device is at r1p1.</comment>
  60905. </bits>
  60906. <bits access="r" name="jedec" pos="3" rst="1">
  60907. <comment>Always 1. Indicates that a JEDEC assigned value is used.</comment>
  60908. </bits>
  60909. <bits access="r" name="des_1" pos="2:0" rst="3">
  60910. <comment>Together, PIDR1.DES_0, PIDR2.DES_1, and PIDR4.DES_2 identify the designer of the
  60911. component.
  60912. 0b011 ARM. Bits[6:4] of the JEDEC JEP106 Identity Code.</comment>
  60913. </bits>
  60914. </reg>
  60915. <reg name="pidr3" protect="r">
  60916. <bits access="r" name="revand" pos="7:4" rst="0">
  60917. <comment>Indicates minor errata fixes specific to the revision of the component being used, for example
  60918. metal fixes after implementation. In most cases, this field is 0b0000. ARM recommends that the
  60919. component designers ensure that a metal fix can change this field if required, for example, by
  60920. driving it from registers that reset to 0b0000.
  60921. 0b0000 Indicates that there are no errata fixes to this component.</comment>
  60922. </bits>
  60923. <bits access="r" name="cmod" pos="3:0" rst="0">
  60924. <comment>Customer Modified. Indicates whether the customer has modified the behavior of the component.
  60925. In most cases, this field is 0b0000. Customers change this value when they make authorized
  60926. modifications to this component.
  60927. 0b0000 Indicates that the customer has not modified this component.</comment>
  60928. </bits>
  60929. </reg>
  60930. <reg name="cidr0" protect="r">
  60931. <bits access="r" name="prmbl_0" pos="7:0" rst="13">
  60932. <comment>Preamble[0]. Contains bits[7:0] of the component identification code.
  60933. 0x0D Bits[7:0] of the identification code.</comment>
  60934. </bits>
  60935. </reg>
  60936. <reg name="cidr1" protect="r">
  60937. <bits access="r" name="class" pos="7:4" rst="9">
  60938. <comment>Class of the component, for example, whether the component is a ROM table or a generic
  60939. CoreSight SoC-400 component. Contains bits[15:12] of the component identification code.
  60940. 0b1001 Indicates that the component is a CoreSight SoC-400 component.</comment>
  60941. </bits>
  60942. <bits access="r" name="prmbl_1" pos="3:0" rst="0">
  60943. <comment>Preamble[1]. Contains bits[11:8] of the component identification code.
  60944. 0b0000 Bits[11:8] of the identification code.</comment>
  60945. </bits>
  60946. </reg>
  60947. <reg name="cidr2" protect="r">
  60948. <bits access="r" name="prmbl_2" pos="7:0" rst="5">
  60949. <comment>Preamble[2]. Contains bits[23:16] of the component identification code.
  60950. 0x05 Bits[23:16] of the identification code.</comment>
  60951. </bits>
  60952. </reg>
  60953. <reg name="cidr3" protect="r">
  60954. <bits access="r" name="prmbl_3" pos="7:0" rst="177">
  60955. <comment>Preamble[3]. Contains bits[31:24] of the component
  60956. identification code.
  60957. 0xB1 Bits[31:24] of the identification code.</comment>
  60958. </bits>
  60959. </reg>
  60960. </module>
  60961. </archive>
  60962. <archive relative="timestamp.xml">
  60963. <module category="Debug" name="TIMESTAMP">
  60964. <reg name="cntcr" protect="rw">
  60965. <bits access="rw" name="hdbg" pos="1" rst="0">
  60966. <comment>Halt on Debug.
  60967. 0 Do not halt on debug, HLTDBG signal into the counter has no
  60968. effect.
  60969. 1 Halt on debug, when HLTDBG is driven HIGH, the count value is
  60970. held static.</comment>
  60971. </bits>
  60972. <bits access="rw" name="en" pos="0" rst="0">
  60973. <comment>Enable.
  60974. 0 The counter is disabled and not incrementing.
  60975. 1 The counter is enabled and is incrementing.</comment>
  60976. </bits>
  60977. </reg>
  60978. <reg name="cntsr" protect="r">
  60979. <bits access="r" name="dbgh" pos="1" rst="0">
  60980. <comment>Debug Halted.</comment>
  60981. </bits>
  60982. </reg>
  60983. <reg name="cntcvl" protect="rw">
  60984. <bits access="rw" name="cntcvl_l_32" pos="31:0" rst="0">
  60985. <comment>Current value of the timestamp counter, lower 32 bits. To change the current timestamp value,
  60986. write the lower 32 bits of the new value to this register before writing the upper 32 bits to
  60987. CNTCVU. The timestamp value is not changed until the CNTCVU register is written to.</comment>
  60988. </bits>
  60989. </reg>
  60990. <reg name="cntcvu" protect="rw">
  60991. <bits access="rw" name="cntcvl_u_32" pos="31:0" rst="0">
  60992. <comment>Current value of the timestamp counter, upper 32 bits. To change the current timestamp value,
  60993. write the lower 32 bits of the new value to CNTCVL before writing the upper 32 bits to this
  60994. register. The 64-bit timestamp value is updated with the value from both writes when this register
  60995. is written to.</comment>
  60996. </bits>
  60997. </reg>
  60998. <hole size="128"/>
  60999. <reg name="cntfid0" protect="rw">
  61000. <bits access="rw" name="freq" pos="31:0" rst="0">
  61001. <comment>Frequency in number of ticks per second. You can specify up to 4GHz.</comment>
  61002. </bits>
  61003. </reg>
  61004. <hole size="32096"/>
  61005. <reg name="pidr4" protect="r">
  61006. <bits access="r" name="size" pos="7:4" rst="0">
  61007. <comment>Always 0b0000. Indicates that the device only occupies 4KB of memory.</comment>
  61008. </bits>
  61009. <bits access="r" name="des_2" pos="3:0" rst="4">
  61010. <comment>Together, PIDR1.DES_0, PIDR2.DES_1, and PIDR4.DES_2 identify the designer of the
  61011. component.
  61012. 0b0100 JEDEC continuation code.</comment>
  61013. </bits>
  61014. </reg>
  61015. <reg name="pidr5" protect="r">
  61016. </reg>
  61017. <reg name="pidr6" protect="r">
  61018. </reg>
  61019. <reg name="pidr7" protect="r">
  61020. </reg>
  61021. <reg name="pidr0" protect="r">
  61022. <bits access="r" name="part_0" pos="7:0" rst="1">
  61023. <comment>Bits[7:0] of the 12-bit part number of the component. The designer of the component assigns this part number.
  61024. 0x01 Indicates bits[7:0] of the part number of the component.</comment>
  61025. </bits>
  61026. </reg>
  61027. <reg name="pidr1" protect="r">
  61028. <bits access="r" name="des_0" pos="7:4" rst="11">
  61029. <comment>Together, PIDR1.DES_0, PIDR2.DES_1, and PIDR4.DES_2 identify the designer of the
  61030. component.
  61031. 0b1011 ARM. Bits[3:0] of the JEDEC JEP106 Identity Code.</comment>
  61032. </bits>
  61033. <bits access="r" name="part_1" pos="3:0" rst="1">
  61034. <comment>Bits[11:8] of the 12-bit part number of the component. The designer of the component assigns this part number.
  61035. 0b0001 Indicates bits[11:8] of the part number of the component.</comment>
  61036. </bits>
  61037. </reg>
  61038. <reg name="pidr2" protect="r">
  61039. <bits access="r" name="revision" pos="7:4" rst="1">
  61040. <comment>0b0001 This device is at r0p1.</comment>
  61041. </bits>
  61042. <bits access="r" name="jedec" pos="3" rst="1">
  61043. <comment>Always 1. Indicates that a JEDEC assigned value is used.</comment>
  61044. </bits>
  61045. <bits access="r" name="des_1" pos="2:0" rst="3">
  61046. <comment>Together, PIDR1.DES_0, PIDR2.DES_1, and PIDR4.DES_2 identify the designer of the component.
  61047. 0b011 ARM. Bits[6:4] of the JEDEC JEP106 Identity Code.</comment>
  61048. </bits>
  61049. </reg>
  61050. <reg name="pidr3" protect="r">
  61051. <bits access="r" name="revand" pos="7:4" rst="0">
  61052. <comment>Indicates minor errata fixes specific to the revision of the component being used, for example
  61053. metal fixes after implementation. In most cases, this field is 0b0000. ARM recommends that the
  61054. component designers ensure that a metal fix can change this field if required, for example, by
  61055. driving it from registers that reset to 0b0000.
  61056. 0b0000 Indicates that there are no errata fixes to this component.</comment>
  61057. </bits>
  61058. <bits access="r" name="cmod" pos="3:0" rst="0">
  61059. <comment>Customer Modified. Indicates whether the customer has modified the behavior of the component.
  61060. In most cases, this field is 0b0000. Customers change this value when they make authorized
  61061. modifications to this component.
  61062. 0b0000 Indicates that the customer has not modified this component.</comment>
  61063. </bits>
  61064. </reg>
  61065. <reg name="cidr0" protect="r">
  61066. <bits access="r" name="prmbl_0" pos="7:0" rst="13">
  61067. <comment>Preamble[0]. Contains bits[7:0] of the component identification code.
  61068. 0x0D Bits[7:0] of the identification code.</comment>
  61069. </bits>
  61070. </reg>
  61071. <reg name="cidr1" protect="r">
  61072. <bits access="r" name="class" pos="7:4" rst="9">
  61073. <comment>Class of the component, for example, whether the component is a ROM table or a generic
  61074. CoreSight SoC-400 component. Contains bits[15:12] of the component identification code.
  61075. 0b1001 Indicates that the component is a CoreSight SoC-400 component.</comment>
  61076. </bits>
  61077. <bits access="r" name="prmbl_1" pos="3:0" rst="0">
  61078. <comment>Preamble[1]. Contains bits[11:8] of the component identification code.
  61079. 0b0000 Bits[11:8] of the identification code.</comment>
  61080. </bits>
  61081. </reg>
  61082. <reg name="cidr2" protect="r">
  61083. <bits access="r" name="prmbl_2" pos="7:0" rst="5">
  61084. <comment>Preamble[2]. Contains bits[23:16] of the component identification code.
  61085. 0x05 Bits[23:16] of the identification code.</comment>
  61086. </bits>
  61087. </reg>
  61088. <reg name="cidr3" protect="r">
  61089. <bits access="r" name="prmbl_3" pos="7:0" rst="177">
  61090. <comment>Preamble[3]. Contains bits[31:24] of the component
  61091. identification code.
  61092. 0xB1 Bits[31:24] of the identification code.</comment>
  61093. </bits>
  61094. </reg>
  61095. </module>
  61096. </archive>
  61097. <archive relative="cp_zsp_uart.xml">
  61098. <module category="Periph" name="CP_ZSP_UART">
  61099. <reg name="uart_tx" protect="rw">
  61100. <bits access="rw" name="tx_data" pos="31:0" rst="0">
  61101. <comment>transmit data register</comment>
  61102. </bits>
  61103. </reg>
  61104. <reg name="uart_rx" protect="r">
  61105. <bits access="r" name="rx_data" pos="7:0" rst="0">
  61106. <comment>receive data register</comment>
  61107. </bits>
  61108. </reg>
  61109. <reg name="uart_baud" protect="rw">
  61110. <bits access="rw" name="baud_const" pos="13:10" rst="15">
  61111. <comment>baud rate divider constant N: (N&gt;=4)
  61112. 0011: N=4
  61113. ...
  61114. 0111: N=8
  61115. ...
  61116. 1111: N=16</comment>
  61117. </bits>
  61118. <bits access="rw" name="baud_div" pos="9:0" rst="13">
  61119. <comment>baud rate divider coeffcientbaud rate formula is:
  61120. BAUD RATE = Fclk/(Nx(BAUD_DIV+1))
  61121. default baud rate is 115.2K, N=16, Ffun=26MHz.</comment>
  61122. </bits>
  61123. </reg>
  61124. <reg name="uart_conf" protect="rw">
  61125. <bits access="rw" name="tx_endian" pos="12" rst="0">
  61126. <comment>choose big or little endian
  61127. 0: little endian
  61128. 1: big endian</comment>
  61129. </bits>
  61130. <bits access="rw" name="rxrst" pos="11" rst="0">
  61131. <comment>RX FIFO reset control
  61132. 1: RX FIFO reset
  61133. 0: RX FIFO not reset; or set 1'b1, auto clear to 1'b0</comment>
  61134. </bits>
  61135. <bits access="rw" name="txrst" pos="10" rst="0">
  61136. <comment>TX FIFO reset control
  61137. 1: TX FIFO reset
  61138. 0: TX FIFO not reset;or set to 1'b1,auto clear to 1'b0</comment>
  61139. </bits>
  61140. <bits access="rw" name="tout_hwfc" pos="9" rst="0">
  61141. <comment>after RX timeout, enable hardware flow control (on condition that HWFC is enable)
  61142. 1: after RX timeout,enable hardware flow control. Do not accept data until the timeout bit has been cleared, so that disable the hardware flow control
  61143. 0: after RX timeout, disable hardware flow control</comment>
  61144. </bits>
  61145. <bits access="rw" name="rx_trig_hwfc" pos="8" rst="0">
  61146. <comment>RX trigger RTS enable control (on condition that HWFC is enable)
  61147. 1: enable RX TRIG trigger RTS flow signal
  61148. 0: disable RX TRIG trigger RTS flow signal</comment>
  61149. </bits>
  61150. <bits access="rw" name="hwfc" pos="7" rst="1">
  61151. <comment>hardware flow control bit
  61152. 1: enable
  61153. 0: disable</comment>
  61154. </bits>
  61155. <bits access="rw" name="tout_ie" pos="6" rst="0">
  61156. <comment>RX timeout interrupt control bit
  61157. 1: enable
  61158. 0: disable</comment>
  61159. </bits>
  61160. <bits access="rw" name="tx_ie" pos="5" rst="0">
  61161. <comment>TX data interrupt control bit
  61162. 1: enable TX interrupt
  61163. 0: disable TX interrupt</comment>
  61164. </bits>
  61165. <bits access="rw" name="rx_ie" pos="4" rst="0">
  61166. <comment>RX data interrupt control bit
  61167. 1: enable RX interrupt
  61168. 0: disable RX interrupt</comment>
  61169. </bits>
  61170. <bits access="rw" name="st_check" pos="3" rst="0">
  61171. <comment>stop bit detection control bit
  61172. 1: enable stop bit detection
  61173. 0: disable stop bit detection</comment>
  61174. </bits>
  61175. <bits access="rw" name="stop_bit" pos="2" rst="1">
  61176. <comment>stop bit control bit
  61177. 1: 2bit stop bit
  61178. 0: 1bit stop bit</comment>
  61179. </bits>
  61180. <bits access="rw" name="parity" pos="1" rst="0">
  61181. <comment>check bit
  61182. 1: odd check
  61183. 0: even check</comment>
  61184. </bits>
  61185. <bits access="rw" name="check" pos="0" rst="0">
  61186. <comment>check bit enable or not
  61187. 1: enable
  61188. 0: disable</comment>
  61189. </bits>
  61190. </reg>
  61191. <reg name="uart_txtrig" protect="rw">
  61192. <bits access="rw" name="tx_trig" pos="7:0" rst="0">
  61193. <comment>TX FIFO trigger setting
  61194. 00000000: 0 byte trigger
  61195. 00000001: 1 byte trigger
  61196. 00000010: 2 bytes trigger
  61197. 00000011: 3 bytes trigger
  61198. 00000100: 4 bytes trigger
  61199. 01111110: 126bytes trigger
  61200. 01111111: 127bytes trigger
  61201. 10000000: don't trigger</comment>
  61202. </bits>
  61203. </reg>
  61204. <reg name="uart_rxtrig" protect="rw">
  61205. <bits access="rw" name="rx_trig" pos="7:0" rst="1">
  61206. <comment>RX FIFO trigger settings
  61207. 00000000: don't trigger
  61208. 00000001: 1 byte trigger
  61209. 00000010: 2 bytes trigger
  61210. 00000011: 3 bytes trigger
  61211. 00000100: 4 bytes trigger
  61212. 01111111: 127bytes trigger
  61213. 10000000: 128bytes trigger</comment>
  61214. </bits>
  61215. </reg>
  61216. <reg name="uart_delay" protect="rw">
  61217. <bits access="rw" name="two_tx_delay" pos="11:8" rst="0">
  61218. <comment>configure the time interval between sending data twice
  61219. 0000: interval 0 baud rate clock
  61220. 0001: interval 1 baud rate clock
  61221. 1111: interval 15 baud rate clock</comment>
  61222. </bits>
  61223. <bits access="rw" name="toutcnt" pos="7:0" rst="43">
  61224. <comment>configure the threshold value of the UART timeout interrupt counter
  61225. 00000000: configure the initial value of 0 baud rate clock
  61226. 00000001: configure the initial value of 1 baud rate clock
  61227. 00000010: configure the initial value of 2 baud rate clock
  61228. 11111111: configure the initial value of 255 baud rate clock</comment>
  61229. </bits>
  61230. </reg>
  61231. <reg name="uart_status" protect="rw">
  61232. <bits access="rc" name="rts" pos="6" rst="0">
  61233. <comment>bit type is changed from w1c to rc.
  61234. request to send status bit
  61235. 1: prohibit far-end to send
  61236. 0: request far-end to send</comment>
  61237. </bits>
  61238. <bits access="rc" name="cts" pos="5" rst="0">
  61239. <comment>bit type is changed from w1c to rc.
  61240. clear the sending status bit
  61241. 1: prohibit home terminal to send
  61242. 0: allow home terminal to send</comment>
  61243. </bits>
  61244. <bits access="rc" name="st_error" pos="4" rst="0">
  61245. <comment>bit type is changed from w1c to rc.
  61246. the received data stop bit state
  61247. 1: stop bit error
  61248. 0: stop bit right</comment>
  61249. </bits>
  61250. <bits access="rc" name="p_error" pos="3" rst="0">
  61251. <comment>bit type is changed from w1c to rc.
  61252. RX data parity status
  61253. 1: parity error
  61254. 0: parity right</comment>
  61255. </bits>
  61256. <bits access="rc" name="timeout_int" pos="2" rst="0">
  61257. <comment>bit type is changed from w1c to rc.
  61258. RX data timeout interrupt status bit
  61259. 1: timeout
  61260. 0: not timeout</comment>
  61261. </bits>
  61262. <bits access="rc" name="rx_int" pos="1" rst="0">
  61263. <comment>bit type is changed from w1c to rc.
  61264. RX data interrupt status bit
  61265. 1: RX_FIFO_CNTRX_TRIG
  61266. 0: RX_FIFO_CNT&lt;RX_TRIG</comment>
  61267. </bits>
  61268. <bits access="rc" name="tx_int" pos="0" rst="0">
  61269. <comment>bit type is changed from w1c to rc.
  61270. TX data interrupt status bit
  61271. 1: TX_FIFO_CNT TX_TRIG
  61272. 0: TX_FIFO_CNT &gt;TX_TRIG</comment>
  61273. </bits>
  61274. </reg>
  61275. <reg name="uart_txfifo_stat" protect="r">
  61276. <bits access="r" name="tx_fifo_cnt" pos="7:0" rst="0">
  61277. <comment>TX FIFO data number
  61278. 00000000: TX FIFO has 0 data
  61279. 00000001: TX FIFO has 1 data
  61280. 01111111: TX FIFO has 127 data
  61281. 10000000: TX FIFO has 128 data</comment>
  61282. </bits>
  61283. </reg>
  61284. <reg name="uart_rxfifo_stat" protect="r">
  61285. <bits access="r" name="rx_fifo_cnt" pos="7:0" rst="0">
  61286. <comment>RX FIFO data number
  61287. 00000000: RX FIFO has 0 data
  61288. 00000001: RX FIFO has 1 data
  61289. 01111111: RX FIFO has 127 data
  61290. 10000000: RX FIFO has 128 data</comment>
  61291. </bits>
  61292. </reg>
  61293. </module>
  61294. </archive>
  61295. <archive relative="rda2720m_adc.xml">
  61296. <module category="RDA2720M" name="RDA2720M_ADC">
  61297. <reg name="adc_version" protect="r">
  61298. <bits access="r" name="auxadc_version" pos="15:0" rst="1536">
  61299. <comment>IP version r6p0</comment>
  61300. </bits>
  61301. </reg>
  61302. <reg name="adc_cfg_ctrl" protect="rw">
  61303. <bits access="rw" name="adc_offset_cal_en" pos="12" rst="0">
  61304. <comment>Auxadc offset function enable 0: disable offset calibration function 1: enable offset calibration function When set 1, the adc inner offset is calibrated and not include in output data</comment>
  61305. </bits>
  61306. <bits access="rw" name="rg_auxad_average" pos="10:8" rst="1">
  61307. <comment>auxadc convert data out average control: 000: disable adc average, output 12bit data and valid after once conversion; 001: adc convert twice and output the average data; 010: adc convert 4 times and output the average data; 011: adc convert 8 times and output the average data; 100: adc convert 16 times and output the average data; 101: adc convert 32 times and output the average data; 110: adc convert 64 times and output the average data; 111: adc convert 128 times and output the average data;</comment>
  61308. </bits>
  61309. <bits access="rw" name="sw_ch_run_num" pos="7:4" rst="0">
  61310. <comment>the number of SW channel accessing, N+1.</comment>
  61311. </bits>
  61312. <bits access="rw" name="adc_12b" pos="2" rst="1">
  61313. <comment>No use, reserved</comment>
  61314. </bits>
  61315. <bits access="rw" name="sw_ch_run" pos="1" rst="0">
  61316. <comment>SW channel run, Write 1 to run a SW channel accessing, it is cleared by HW.</comment>
  61317. </bits>
  61318. <bits access="rw" name="adc_en" pos="0" rst="0">
  61319. <comment>ADC global enable, 0: ADC module disable; 1: ADC module enable.</comment>
  61320. </bits>
  61321. </reg>
  61322. <reg name="adc_sw_ch_cfg" protect="rw">
  61323. <bits access="rw" name="adc_scale" pos="10:9" rst="0">
  61324. <comment>ADC scale setting for current ADC channel, more detail see 7.6.6.3 Application note</comment>
  61325. </bits>
  61326. <bits access="rw" name="adc_slow" pos="6" rst="0">
  61327. <comment>ADC conversion speed control: 0: quick mode, conversion initial includes 50 ADC clocks; 1: slow mode, conversion initial includes 70 ADC clocks.</comment>
  61328. </bits>
  61329. <bits access="rw" name="adc_cs" pos="4:0" rst="0">
  61330. <comment>ADC software config channel ID. ADC software config channel ID. 4h0:for BAT_DET 4h1:for general ADCI1 4h2:for general ADCI2 4h3:for general ADCI3 5h4: for general ADCI4 5h5: for VBAT_SENSE 5h6: no use 5h7 TYPEC_CC1 5h8 for THM sensor 5h9: for TYPEC_CC2 5hA-5hC: no use 5hD: for DCDC_CALOUT 5hE, for VCHGSEN 5hF, for VCHG_BG 5h10, for PROG2ADC 5h11, 5h12: no use 5h13: for SD_AVDD 5h14: for AUDIO_HEADMIC 5h15: for LDO_CALOUT0 5h16: for LDO_CALOUT1 5h17: for LDO_CALOUT2 5h18-5h1C: no use 5h1D: for DAC self offset calibretion 5h1E: for DP 5h1F: for DM</comment>
  61331. </bits>
  61332. </reg>
  61333. <reg name="adc_fast_hw_ch0_cfg" protect="rw">
  61334. <bits access="rw" name="frq_scale" pos="10:9" rst="0">
  61335. <comment>ADC scale setting for current ADC channel, more detail see 7.7.6 Application note</comment>
  61336. </bits>
  61337. <bits access="rw" name="frq_delay_en" pos="7" rst="0">
  61338. <comment>current channel delay enable, 0-diable; 1-enable.</comment>
  61339. </bits>
  61340. <bits access="rw" name="frq_slow" pos="6" rst="0">
  61341. <comment>ADC conversion speed control: 0: quick mode, conversion initial includes 50 ADC clocks; 1: slow mode, conversion initial includes 70 ADC clocks.</comment>
  61342. </bits>
  61343. <bits access="rw" name="frq_cs" pos="4:0" rst="0">
  61344. <comment>ADC channel ID Same as ADC_SW_CH_CFG adc_cs</comment>
  61345. </bits>
  61346. </reg>
  61347. <reg name="adc_fast_hw_ch1_cfg" protect="rw">
  61348. <bits access="rw" name="frq_scale" pos="10:9" rst="0">
  61349. <comment>ADC scale setting for current ADC channel, more detail see 7.7.6 Application note</comment>
  61350. </bits>
  61351. <bits access="rw" name="frq_delay_en" pos="7" rst="0">
  61352. <comment>current channel delay enable, 0-diable; 1-enable.</comment>
  61353. </bits>
  61354. <bits access="rw" name="frq_slow" pos="6" rst="0">
  61355. <comment>ADC conversion speed control: 0: quick mode, conversion initial includes 50 ADC clocks; 1: slow mode, conversion initial includes 70 ADC clocks.</comment>
  61356. </bits>
  61357. <bits access="rw" name="frq_cs" pos="4:0" rst="0">
  61358. <comment>ADC channel ID</comment>
  61359. </bits>
  61360. </reg>
  61361. <reg name="adc_fast_hw_ch2_cfg" protect="rw">
  61362. <bits access="rw" name="frq_scale" pos="10:9" rst="0">
  61363. <comment>ADC scale setting for current ADC channel, more detail see 7.7.6 Application note</comment>
  61364. </bits>
  61365. <bits access="rw" name="frq_delay_en" pos="7" rst="0">
  61366. <comment>current channel delay enable, 0-diable; 1-enable.</comment>
  61367. </bits>
  61368. <bits access="rw" name="frq_slow" pos="6" rst="0">
  61369. <comment>ADC conversion speed control: 0: quick mode, conversion initial includes 50 ADC clocks; 1: slow mode, conversion initial includes 70 ADC clocks.</comment>
  61370. </bits>
  61371. <bits access="rw" name="frq_cs" pos="4:0" rst="0">
  61372. <comment>ADC channel ID Same as ADC_SW_CH_CFG adc_cs</comment>
  61373. </bits>
  61374. </reg>
  61375. <reg name="adc_fast_hw_ch3_cfg" protect="rw">
  61376. <bits access="rw" name="frq_scale" pos="10:9" rst="0">
  61377. <comment>ADC scale setting for current ADC channel, more detail see 7.7.6 Application note</comment>
  61378. </bits>
  61379. <bits access="rw" name="frq_delay_en" pos="7" rst="0">
  61380. <comment>current channel delay enable, 0-diable; 1-enable.</comment>
  61381. </bits>
  61382. <bits access="rw" name="frq_slow" pos="6" rst="0">
  61383. <comment>ADC conversion speed control: 0: quick mode, conversion initial includes 50 ADC clocks; 1: slow mode, conversion initial includes 70 ADC clocks.</comment>
  61384. </bits>
  61385. <bits access="rw" name="frq_cs" pos="4:0" rst="0">
  61386. <comment>ADC channel ID Same as ADC_SW_CH_CFG adc_cs</comment>
  61387. </bits>
  61388. </reg>
  61389. <reg name="adc_fast_hw_ch4_cfg" protect="rw">
  61390. <bits access="rw" name="frq_scale" pos="10:9" rst="0">
  61391. <comment>ADC scale setting for current ADC channel, more detail see 7.7.6 Application note</comment>
  61392. </bits>
  61393. <bits access="rw" name="frq_delay_en" pos="7" rst="0">
  61394. <comment>current channel delay enable, 0-diable; 1-enable.</comment>
  61395. </bits>
  61396. <bits access="rw" name="frq_slow" pos="6" rst="0">
  61397. <comment>ADC conversion speed control: 0: quick mode, conversion initial includes 50 ADC clocks; 1: slow mode, conversion initial includes 70 ADC clocks.</comment>
  61398. </bits>
  61399. <bits access="rw" name="frq_cs" pos="4:0" rst="0">
  61400. <comment>ADC channel ID Same as ADC_SW_CH_CFG adc_cs</comment>
  61401. </bits>
  61402. </reg>
  61403. <reg name="adc_fast_hw_ch5_cfg" protect="rw">
  61404. <bits access="rw" name="frq_scale" pos="10:9" rst="0">
  61405. <comment>ADC scale setting for current ADC channel, more detail see Application note</comment>
  61406. </bits>
  61407. <bits access="rw" name="frq_delay_en" pos="7" rst="0">
  61408. <comment>current channel delay enable, 0-diable; 1-enable.</comment>
  61409. </bits>
  61410. <bits access="rw" name="frq_slow" pos="6" rst="0">
  61411. <comment>ADC conversion speed control: 0: quick mode, conversion initial includes 50 ADC clocks; 1: slow mode, conversion initial includes 70 ADC clocks.</comment>
  61412. </bits>
  61413. <bits access="rw" name="frq_cs" pos="4:0" rst="0">
  61414. <comment>ADC channel ID Same as ADC_SW_CH_CFG adc_cs</comment>
  61415. </bits>
  61416. </reg>
  61417. <reg name="adc_fast_hw_ch6_cfg" protect="rw">
  61418. <bits access="rw" name="frq_scale" pos="10:9" rst="0">
  61419. <comment>ADC scale setting for current ADC channel, more detail see 7.7.6 Application note</comment>
  61420. </bits>
  61421. <bits access="rw" name="frq_delay_en" pos="7" rst="0">
  61422. <comment>current channel delay enable, 0-diable; 1-enable.</comment>
  61423. </bits>
  61424. <bits access="rw" name="frq_slow" pos="6" rst="0">
  61425. <comment>ADC conversion speed control: 0: quick mode, conversion initial includes 50 ADC clocks; 1: slow mode, conversion initial includes 70 ADC clocks.</comment>
  61426. </bits>
  61427. <bits access="rw" name="frq_cs" pos="4:0" rst="0">
  61428. <comment>ADC channel ID Same as ADC_SW_CH_CFG adc_cs</comment>
  61429. </bits>
  61430. </reg>
  61431. <reg name="adc_fast_hw_ch7_cfg" protect="rw">
  61432. <bits access="rw" name="frq_scale" pos="10:9" rst="0">
  61433. <comment>ADC scale setting for current ADC channel, more detail see 7.7.6 Application note</comment>
  61434. </bits>
  61435. <bits access="rw" name="frq_delay_en" pos="7" rst="0">
  61436. <comment>current channel delay enable, 0-diable; 1-enable.</comment>
  61437. </bits>
  61438. <bits access="rw" name="frq_slow" pos="6" rst="0">
  61439. <comment>ADC conversion speed control: 0: quick mode, conversion initial includes 50 ADC clocks; 1: slow mode, conversion initial includes 70 ADC clocks.</comment>
  61440. </bits>
  61441. <bits access="rw" name="frq_cs" pos="4:0" rst="0">
  61442. <comment>ADC channel ID Same as ADC_SW_CH_CFG adc_cs</comment>
  61443. </bits>
  61444. </reg>
  61445. <reg name="adc_slow_hw_ch0_cfg" protect="rw">
  61446. <bits access="rw" name="req_scale" pos="10:9" rst="0">
  61447. <comment>ADC scale setting for current ADC channel, more detail see 7.7.6 Application note</comment>
  61448. </bits>
  61449. <bits access="rw" name="req_delay_en" pos="7" rst="0">
  61450. <comment>current channel delay enable, 0-diable; 1-enable.</comment>
  61451. </bits>
  61452. <bits access="rw" name="req_slow" pos="6" rst="0">
  61453. <comment>ADC conversion speed control: 0: quick mode, conversion initial includes 50 ADC clocks; 1: slow mode, conversion initial includes 70 ADC clocks.</comment>
  61454. </bits>
  61455. <bits access="rw" name="req_cs" pos="4:0" rst="0">
  61456. <comment>ADC channel ID Same as ADC_SW_CH_CFG adc_cs</comment>
  61457. </bits>
  61458. </reg>
  61459. <reg name="adc_slow_hw_ch1_cfg" protect="rw">
  61460. <bits access="rw" name="req_scale" pos="10:9" rst="0">
  61461. <comment>ADC scale setting for current ADC channel, more detail see 7.7.6 Application note</comment>
  61462. </bits>
  61463. <bits access="rw" name="req_delay_en" pos="7" rst="0">
  61464. <comment>current channel delay enable, 0-diable; 1-enable.</comment>
  61465. </bits>
  61466. <bits access="rw" name="req_slow" pos="6" rst="0">
  61467. <comment>ADC conversion speed control: 0: quick mode, conversion initial includes 50 ADC clocks; 1: slow mode, conversion initial includes 70 ADC clocks.</comment>
  61468. </bits>
  61469. <bits access="rw" name="req_cs" pos="4:0" rst="0">
  61470. <comment>ADC channel ID Same as ADC_SW_CH_CFG adc_cs</comment>
  61471. </bits>
  61472. </reg>
  61473. <reg name="adc_slow_hw_ch2_cfg" protect="rw">
  61474. <bits access="rw" name="req_scale" pos="10:9" rst="0">
  61475. <comment>ADC scale setting for current ADC channel, more detail see 7.7.6 Application note</comment>
  61476. </bits>
  61477. <bits access="rw" name="req_delay_en" pos="7" rst="0">
  61478. <comment>current channel delay enable, 0-diable; 1-enable.</comment>
  61479. </bits>
  61480. <bits access="rw" name="req_slow" pos="6" rst="0">
  61481. <comment>ADC conversion speed control: 0: quick mode, conversion initial includes 50 ADC clocks; 1: slow mode, conversion initial includes 70 ADC clocks.</comment>
  61482. </bits>
  61483. <bits access="rw" name="req_cs" pos="4:0" rst="0">
  61484. <comment>ADC channel ID Same as ADC_SW_CH_CFG adc_cs</comment>
  61485. </bits>
  61486. </reg>
  61487. <reg name="adc_slow_hw_ch3_cfg" protect="rw">
  61488. <bits access="rw" name="req_scale" pos="10:9" rst="0">
  61489. <comment>ADC scale setting for current ADC channel, more detail see 7.7.6 Application note</comment>
  61490. </bits>
  61491. <bits access="rw" name="req_delay_en" pos="7" rst="0">
  61492. <comment>current channel delay enable, 0-diable; 1-enable.</comment>
  61493. </bits>
  61494. <bits access="rw" name="req_slow" pos="6" rst="0">
  61495. <comment>ADC conversion speed control: 0: quick mode, conversion initial includes 50 ADC clocks; 1: slow mode, conversion initial includes 70 ADC clocks.</comment>
  61496. </bits>
  61497. <bits access="rw" name="req_cs" pos="4:0" rst="0">
  61498. <comment>ADC channel ID Same as ADC_SW_CH_CFG adc_cs</comment>
  61499. </bits>
  61500. </reg>
  61501. <reg name="adc_slow_hw_ch4_cfg" protect="rw">
  61502. <bits access="rw" name="req_scale" pos="10:9" rst="0">
  61503. <comment>ADC scale setting for current ADC channel, more detail see 7.7.6 Application note</comment>
  61504. </bits>
  61505. <bits access="rw" name="req_delay_en" pos="7" rst="0">
  61506. <comment>current channel delay enable, 0-diable; 1-enable.</comment>
  61507. </bits>
  61508. <bits access="rw" name="req_slow" pos="6" rst="0">
  61509. <comment>ADC conversion speed control: 0: quick mode, conversion initial includes 50 ADC clocks; 1: slow mode, conversion initial includes 70 ADC clocks.</comment>
  61510. </bits>
  61511. <bits access="rw" name="req_cs" pos="4:0" rst="0">
  61512. <comment>ADC channel ID Same as ADC_SW_CH_CFG adc_cs</comment>
  61513. </bits>
  61514. </reg>
  61515. <reg name="adc_slow_hw_ch5_cfg" protect="rw">
  61516. <bits access="rw" name="req_scale" pos="10:9" rst="0">
  61517. <comment>ADC scale setting for current ADC channel, more detail see 7.7.6 Application note</comment>
  61518. </bits>
  61519. <bits access="rw" name="req_delay_en" pos="7" rst="0">
  61520. <comment>current channel delay enable, 0-diable; 1-enable.</comment>
  61521. </bits>
  61522. <bits access="rw" name="req_slow" pos="6" rst="0">
  61523. <comment>ADC conversion speed control: 0: quick mode, conversion initial includes 50 ADC clocks; 1: slow mode, conversion initial includes 70 ADC clocks.</comment>
  61524. </bits>
  61525. <bits access="rw" name="req_cs" pos="4:0" rst="0">
  61526. <comment>ADC channel ID Same as ADC_SW_CH_CFG adc_cs</comment>
  61527. </bits>
  61528. </reg>
  61529. <reg name="adc_slow_hw_ch6_cfg" protect="rw">
  61530. <bits access="rw" name="req_scale" pos="10:9" rst="0">
  61531. <comment>ADC scale setting for current ADC channel, more detail see 7.7.6 Application note</comment>
  61532. </bits>
  61533. <bits access="rw" name="req_delay_en" pos="7" rst="0">
  61534. <comment>current channel delay enable, 0-diable; 1-enable.</comment>
  61535. </bits>
  61536. <bits access="rw" name="req_slow" pos="6" rst="0">
  61537. <comment>ADC conversion speed control: 0: quick mode, conversion initial includes 50 ADC clocks; 1: slow mode, conversion initial includes 70 ADC clocks.</comment>
  61538. </bits>
  61539. <bits access="rw" name="req_cs" pos="4:0" rst="0">
  61540. <comment>ADC channel ID Same as ADC_SW_CH_CFG adc_cs</comment>
  61541. </bits>
  61542. </reg>
  61543. <reg name="adc_slow_hw_ch7_cfg" protect="rw">
  61544. <bits access="rw" name="req_scale" pos="10:9" rst="0">
  61545. <comment>ADC scale setting for current ADC channel, more detail see 7.7.6 Application note</comment>
  61546. </bits>
  61547. <bits access="rw" name="req_delay_en" pos="7" rst="0">
  61548. <comment>current channel delay enable, 0-diable; 1-enable.</comment>
  61549. </bits>
  61550. <bits access="rw" name="req_slow" pos="6" rst="0">
  61551. <comment>ADC conversion speed control: 0: quick mode, conversion initial includes 50 ADC clocks; 1: slow mode, conversion initial includes 70 ADC clocks.</comment>
  61552. </bits>
  61553. <bits access="rw" name="req_cs" pos="4:0" rst="0">
  61554. <comment>ADC channel ID Same as ADC_SW_CH_CFG adc_cs</comment>
  61555. </bits>
  61556. </reg>
  61557. <reg name="adc_hw_ch_delay" protect="rw">
  61558. <bits access="rw" name="hw_ch_delay" pos="7:0" rst="0">
  61559. <comment>ADC HW channel accessing delay, its unit is ADC clock. It can be use for signal without enough setup time</comment>
  61560. </bits>
  61561. </reg>
  61562. <reg name="adc_dat" protect="r">
  61563. <bits access="r" name="adc_dat" pos="11:0" rst="0">
  61564. <comment>ADC conversion result. When with one more result, each read gets one result.</comment>
  61565. </bits>
  61566. </reg>
  61567. <reg name="adc_cfg_int_en" protect="rw">
  61568. <bits access="rw" name="adc_irq_en" pos="0" rst="0">
  61569. <comment>ADC interrupt enable, 0: interrupt disable; 1: interrupt enable.</comment>
  61570. </bits>
  61571. </reg>
  61572. <reg name="adc_cfg_int_clr" protect="rw">
  61573. <bits access="w" name="adc_irq_clr" pos="0" rst="0">
  61574. <comment>ADC interrupt clear. Write &quot;1&quot; to clear.</comment>
  61575. </bits>
  61576. </reg>
  61577. <reg name="adc_cfg_int_sts" protect="r">
  61578. <bits access="r" name="adc_irq_sts" pos="0" rst="0">
  61579. <comment>ADC masked interrupt.</comment>
  61580. </bits>
  61581. </reg>
  61582. <reg name="adc_cfg_int_raw" protect="r">
  61583. <bits access="r" name="adc_irq_raw" pos="0" rst="0">
  61584. <comment>ADC raw interrupt.</comment>
  61585. </bits>
  61586. </reg>
  61587. <reg name="adc_debug" protect="r">
  61588. <bits access="r" name="adc_dbg_ch" pos="15:11" rst="31">
  61589. <comment>Current accessing channel, 0~7: fast HW channel 0~7; 8: SW channel; 9~16: slow HW channel 0~7; 31: NO request;</comment>
  61590. </bits>
  61591. <bits access="r" name="adc_dbg_state" pos="10:8" rst="0">
  61592. <comment>ADC state machine status, 0: idle; 1: fast HW req; 2: SW req; 3: slow HW req; 4: fast HW wait; 5: slow HW wait; Others: reserved</comment>
  61593. </bits>
  61594. <bits access="r" name="adc_dbg_cnt" pos="7:0" rst="0">
  61595. <comment>ADC internal counter status, 0: idle; 1~n: work or wait counter;</comment>
  61596. </bits>
  61597. </reg>
  61598. <reg name="adc_fast_hw_timer_en" protect="rw">
  61599. <bits access="rw" name="adc_fast_hw_ch7_timer_en" pos="7" rst="0">
  61600. <comment>ADC fast HW channel7 timer enable, 0: disable; 1: enable;</comment>
  61601. </bits>
  61602. <bits access="rw" name="adc_fast_hw_ch6_timer_en" pos="6" rst="0">
  61603. <comment>ADC fast HW channel6 timer enable, 0: disable; 1: enable;</comment>
  61604. </bits>
  61605. <bits access="rw" name="adc_fast_hw_ch5_timer_en" pos="5" rst="0">
  61606. <comment>ADC fast HW channel5 timer enable, 0: disable; 1: enable;</comment>
  61607. </bits>
  61608. <bits access="rw" name="adc_fast_hw_ch4_timer_en" pos="4" rst="0">
  61609. <comment>ADC fast HW channel4 timer enable, 0: disable; 1: enable;</comment>
  61610. </bits>
  61611. <bits access="rw" name="adc_fast_hw_ch3_timer_en" pos="3" rst="0">
  61612. <comment>ADC fast HW channel3 timer enable, 0: disable; 1: enable;</comment>
  61613. </bits>
  61614. <bits access="rw" name="adc_fast_hw_ch2_timer_en" pos="2" rst="0">
  61615. <comment>ADC fast HW channel2 timer enable, 0: disable; 1: enable;</comment>
  61616. </bits>
  61617. <bits access="rw" name="adc_fast_hw_ch1_timer_en" pos="1" rst="0">
  61618. <comment>ADC fast HW channel1 timer enable, 0: disable; 1: enable;</comment>
  61619. </bits>
  61620. <bits access="rw" name="adc_fast_hw_ch0_timer_en" pos="0" rst="0">
  61621. <comment>ADC fast HW channel0 timer enable, 0: disable; 1: enable;</comment>
  61622. </bits>
  61623. </reg>
  61624. <reg name="adc_fast_hw_timer_div" protect="rw">
  61625. <bits access="rw" name="adc_fast_hw_timer_div" pos="15:0" rst="0">
  61626. <comment>ADC fast HW channel timer working clock divider</comment>
  61627. </bits>
  61628. </reg>
  61629. <reg name="adc_fast_hw_ch0_timer_thresh" protect="rw">
  61630. <bits access="rw" name="adc_fast_hw_ch0_timer_thresh" pos="15:0" rst="0">
  61631. <comment>ADC fast HW channel0 timer threshold</comment>
  61632. </bits>
  61633. </reg>
  61634. <reg name="adc_fast_hw_ch1_timer_thresh" protect="rw">
  61635. <bits access="rw" name="adc_fast_hw_ch1_timer_thresh" pos="15:0" rst="0">
  61636. <comment>ADC fast HW channel1 timer threshold</comment>
  61637. </bits>
  61638. </reg>
  61639. <reg name="adc_fast_hw_ch2_timer_thresh" protect="rw">
  61640. <bits access="rw" name="adc_fast_hw_ch2_timer_thresh" pos="15:0" rst="0">
  61641. <comment>ADC fast HW channel2 timer threshold</comment>
  61642. </bits>
  61643. </reg>
  61644. <reg name="adc_fast_hw_ch3_timer_thresh" protect="rw">
  61645. <bits access="rw" name="adc_fast_hw_ch3_timer_thresh" pos="15:0" rst="0">
  61646. <comment>ADC fast HW channel3 timer threshold</comment>
  61647. </bits>
  61648. </reg>
  61649. <reg name="adc_fast_hw_ch4_timer_thresh" protect="rw">
  61650. <bits access="rw" name="adc_fast_hw_ch4_timer_thresh" pos="15:0" rst="0">
  61651. <comment>ADC fast HW channel4 timer threshold</comment>
  61652. </bits>
  61653. </reg>
  61654. <reg name="adc_fast_hw_ch5_timer_thresh" protect="rw">
  61655. <bits access="rw" name="adc_fast_hw_ch5_timer_thresh" pos="15:0" rst="0">
  61656. <comment>ADC fast HW channel5 timer threshold</comment>
  61657. </bits>
  61658. </reg>
  61659. <reg name="adc_fast_hw_ch6_timer_thresh" protect="rw">
  61660. <bits access="rw" name="adc_fast_hw_ch6_timer_thresh" pos="15:0" rst="0">
  61661. <comment>ADC fast HW channel6 timer threshold</comment>
  61662. </bits>
  61663. </reg>
  61664. <reg name="adc_fast_hw_ch7_timer_thresh" protect="rw">
  61665. <bits access="rw" name="adc_fast_hw_ch7_timer_thresh" pos="15:0" rst="0">
  61666. <comment>ADC fast HW channel7 timer threshold</comment>
  61667. </bits>
  61668. </reg>
  61669. <reg name="adc_fast_hw_ch0_dat" protect="r">
  61670. <bits access="r" name="adc_fast_hw_ch0_dat" pos="11:0" rst="0">
  61671. <comment>ADC fast HW channel0 data</comment>
  61672. </bits>
  61673. </reg>
  61674. <reg name="adc_fast_hw_ch1_dat" protect="r">
  61675. <bits access="r" name="adc_fast_hw_ch1_dat" pos="11:0" rst="0">
  61676. <comment>ADC fast HW channel1 data</comment>
  61677. </bits>
  61678. </reg>
  61679. <reg name="adc_fast_hw_ch2_dat" protect="r">
  61680. <bits access="r" name="adc_fast_hw_ch2_dat" pos="11:0" rst="0">
  61681. <comment>ADC fast HW channel2 data</comment>
  61682. </bits>
  61683. </reg>
  61684. <reg name="adc_fast_hw_ch3_dat" protect="r">
  61685. <bits access="r" name="adc_fast_hw_ch3_dat" pos="11:0" rst="0">
  61686. <comment>ADC fast HW channel3 data</comment>
  61687. </bits>
  61688. </reg>
  61689. <reg name="adc_fast_hw_ch4_dat" protect="r">
  61690. <bits access="r" name="adc_fast_hw_ch4_dat" pos="11:0" rst="0">
  61691. <comment>ADC fast HW channel4 data</comment>
  61692. </bits>
  61693. </reg>
  61694. <reg name="adc_fast_hw_ch5_dat" protect="r">
  61695. <bits access="r" name="adc_fast_hw_ch5_dat" pos="11:0" rst="0">
  61696. <comment>ADC fast HW channel5 data</comment>
  61697. </bits>
  61698. </reg>
  61699. <reg name="adc_fast_hw_ch6_dat" protect="r">
  61700. <bits access="r" name="adc_fast_hw_ch6_dat" pos="11:0" rst="0">
  61701. <comment>ADC fast HW channel6 data</comment>
  61702. </bits>
  61703. </reg>
  61704. <reg name="adc_fast_hw_ch7_dat" protect="r">
  61705. <bits access="r" name="adc_fast_hw_ch7_dat" pos="11:0" rst="0">
  61706. <comment>ADC fast HW channel7 data</comment>
  61707. </bits>
  61708. </reg>
  61709. <reg name="auxad_ctl0" protect="rw">
  61710. <bits access="rw" name="rg_auxad_ref_sel" pos="5" rst="0">
  61711. <comment>output to analog 0: adc reference voltage is generated by local resister devider 1: adc reference voltage is direct from bandgap 1.25v voltage.</comment>
  61712. </bits>
  61713. <bits access="rw" name="rg_auxad_thm_cal" pos="4" rst="0">
  61714. <comment>output to analog THM calibration enable signal, 0: disable THM calibration(default) 1: enable THM calibration, must set high 100us before AUXADC measure THM voltage and start the calibration</comment>
  61715. </bits>
  61716. <bits access="rw" name="rg_auxad_currentsen_en" pos="0" rst="0">
  61717. <comment>output to analog Aux ADC current sense enable signal, active high, default 0.</comment>
  61718. </bits>
  61719. </reg>
  61720. <reg name="auxad_ctl1" protect="r">
  61721. <bits access="r" name="rg_adc_fast_hw_ch7_dvld" pos="7" rst="0">
  61722. <comment>ADC fast HW channel7 data valid.</comment>
  61723. </bits>
  61724. <bits access="r" name="rg_adc_fast_hw_ch6_dvld" pos="6" rst="0">
  61725. <comment>ADC fast HW channel6 data valid.</comment>
  61726. </bits>
  61727. <bits access="r" name="rg_adc_fast_hw_ch5_dvld" pos="5" rst="0">
  61728. <comment>ADC fast HW channel5 data valid.</comment>
  61729. </bits>
  61730. <bits access="r" name="rg_adc_fast_hw_ch4_dvld" pos="4" rst="0">
  61731. <comment>ADC fast HW channel4 data valid.</comment>
  61732. </bits>
  61733. <bits access="r" name="rg_adc_fast_hw_ch3_dvld" pos="3" rst="0">
  61734. <comment>ADC fast HW channel3 data valid.</comment>
  61735. </bits>
  61736. <bits access="r" name="rg_adc_fast_hw_ch2_dvld" pos="2" rst="0">
  61737. <comment>ADC fast HW channel2 data valid.</comment>
  61738. </bits>
  61739. <bits access="r" name="rg_adc_fast_hw_ch1_dvld" pos="1" rst="0">
  61740. <comment>ADC fast HW channel1 data valid.</comment>
  61741. </bits>
  61742. <bits access="r" name="rg_adc_fast_hw_ch0_dvld" pos="0" rst="0">
  61743. <comment>ADC fast HW channel0 data valid.</comment>
  61744. </bits>
  61745. </reg>
  61746. </module>
  61747. </archive>
  61748. <archive relative="rda2720m_aud.xml">
  61749. <module category="RDA2720M" name="RDA2720M_AUD">
  61750. <reg name="aud_cfga_clr" protect="rw">
  61751. <bits access="rc" name="ear_shutdown_clr" pos="10" rst="0">
  61752. <comment>bit type is changed from wc to rc.
  61753. ear shut down clear</comment>
  61754. </bits>
  61755. <bits access="rc" name="hp_shutdown_clr" pos="9" rst="0">
  61756. <comment>bit type is changed from wc to rc.
  61757. hp shut down clear</comment>
  61758. </bits>
  61759. <bits access="rc" name="pa_shutdown_clr" pos="8" rst="0">
  61760. <comment>bit type is changed from wc to rc.
  61761. pa shut down clear</comment>
  61762. </bits>
  61763. <bits access="rc" name="aud_int_clr" pos="7:0" rst="0">
  61764. <comment>bit type is changed from wc to rc.
  61765. [7:0]={audio_rcv_depop,audio_pacal_irq,audio_hp_dpop_irq,ovp_irq,otp_irq,pa_ocp_irq,ear_ocp_irq,hp_ocp_irq}</comment>
  61766. </bits>
  61767. </reg>
  61768. <reg name="aud_cfga_hid_cfg0" protect="rw">
  61769. <bits access="rw" name="aud_dbnc_en" pos="2:1" rst="0">
  61770. <comment>[0]: audio HEAD_INSERT debounce enable [1]: audio HEAD_BUTTON_OUT debounce enable</comment>
  61771. </bits>
  61772. <bits access="rw" name="hid_en" pos="0" rst="0">
  61773. </bits>
  61774. </reg>
  61775. <reg name="aud_cfga_hid_cfg1" protect="rw">
  61776. <bits access="rw" name="hid_high_dbnc_thd0" pos="15:8" rst="0">
  61777. <comment>low debounce threshold(clock 1k), for HEAD_INSERT signal</comment>
  61778. </bits>
  61779. <bits access="rw" name="hid_low_dbnc_thd0" pos="7:0" rst="0">
  61780. <comment>high debounce threshold(clock 1k), for HEAD_INSERT signal</comment>
  61781. </bits>
  61782. </reg>
  61783. <reg name="aud_cfga_hid_cfg2" protect="rw">
  61784. <bits access="rw" name="hid_tmr_t1t2_step" pos="9:5" rst="0">
  61785. <comment>head insert detect T1/T2 timer step (clock 1k)</comment>
  61786. </bits>
  61787. <bits access="rw" name="hid_tmr_t0" pos="4:0" rst="0">
  61788. <comment>head insert detect T0 timer , (clock 1k)</comment>
  61789. </bits>
  61790. </reg>
  61791. <reg name="aud_cfga_hid_cfg3" protect="rw">
  61792. <bits access="rw" name="hid_tmr_t1" pos="15:0" rst="0">
  61793. <comment>head insert detect T1 timer ,step: HID_TMR_T1T2_STEP</comment>
  61794. </bits>
  61795. </reg>
  61796. <reg name="aud_cfga_hid_cfg4" protect="rw">
  61797. <bits access="rw" name="hid_tmr_t2" pos="15:0" rst="0">
  61798. <comment>head insert detect T2 timer ,step: HID_TMR_T1T2_STEP</comment>
  61799. </bits>
  61800. </reg>
  61801. <reg name="aud_cfga_hid_cfg5" protect="rw">
  61802. <bits access="rw" name="hid_high_dbnc_thd1" pos="15:8" rst="0">
  61803. <comment>low debounce threshold(clock 1k), for HEAD_BUTTON_OUT signal</comment>
  61804. </bits>
  61805. <bits access="rw" name="hid_low_dbnc_thd1" pos="7:0" rst="0">
  61806. <comment>high debounce threshold(clock 1k), for HEAD_BUTTON_OUT signal</comment>
  61807. </bits>
  61808. </reg>
  61809. <reg name="aud_cfga_hid_sts0" protect="r">
  61810. <bits access="r" name="ear_shutdown" pos="10" rst="0">
  61811. <comment>ear_shutdown</comment>
  61812. </bits>
  61813. <bits access="r" name="hp_shutdown" pos="9" rst="0">
  61814. <comment>hp_shutdown</comment>
  61815. </bits>
  61816. <bits access="r" name="pa_shutdown" pos="8" rst="0">
  61817. <comment>pa_shutdown</comment>
  61818. </bits>
  61819. <bits access="r" name="audio_head_insert_out" pos="7" rst="0">
  61820. <comment>head insert detect out: AUDIO_HEAD_INSERT_OUT state</comment>
  61821. </bits>
  61822. <bits access="r" name="audio_head_button_out" pos="6" rst="0">
  61823. <comment>head button detect out : AUDIO_HEAD_BUTTON_OUT state</comment>
  61824. </bits>
  61825. <bits access="r" name="aud_dbnc_sts1" pos="5:3" rst="0">
  61826. <comment>u1 debounce state machine status</comment>
  61827. </bits>
  61828. <bits access="r" name="aud_dbnc_sts0" pos="2:0" rst="0">
  61829. <comment>u0 debounce state machine status</comment>
  61830. </bits>
  61831. </reg>
  61832. <reg name="aud_cfga_prt_cfg_0" protect="rw">
  61833. <bits access="rw" name="ear_shutdown_en" pos="9" rst="0">
  61834. <comment>ear_shutdown_enable</comment>
  61835. </bits>
  61836. <bits access="rw" name="hp_shutdown_en" pos="8" rst="0">
  61837. <comment>hp_shutdown_enable</comment>
  61838. </bits>
  61839. <bits access="rw" name="pa_shutdown_en2" pos="7" rst="0">
  61840. <comment>pa_shutdown_enable2</comment>
  61841. </bits>
  61842. <bits access="rw" name="pa_shutdown_en1" pos="6" rst="0">
  61843. <comment>pa_shutdown_enable1</comment>
  61844. </bits>
  61845. <bits access="rw" name="pa_shutdown_en0" pos="5" rst="0">
  61846. <comment>pa_shutdown_enable0</comment>
  61847. </bits>
  61848. <bits access="rw" name="aud_clk_sel" pos="4" rst="1">
  61849. <comment>1:32k_clk 0:1k_clk</comment>
  61850. </bits>
  61851. <bits access="rw" name="aud_prt_en" pos="3" rst="0">
  61852. <comment>protect enable</comment>
  61853. </bits>
  61854. <bits access="rw" name="otp_pd_thd" pos="2:0" rst="3">
  61855. <comment>over-temperature protection threshold</comment>
  61856. </bits>
  61857. </reg>
  61858. <reg name="aud_cfga_prt_cfg_1" protect="rw">
  61859. <bits access="rw" name="otp_precis" pos="14:12" rst="2">
  61860. <comment>over-temperature protection precis</comment>
  61861. </bits>
  61862. <bits access="rw" name="ovp_pd_thd" pos="11:9" rst="2">
  61863. <comment>overvoltage protection threshold</comment>
  61864. </bits>
  61865. <bits access="rw" name="ovp_precis" pos="8:6" rst="0">
  61866. <comment>overvoltage protection precis</comment>
  61867. </bits>
  61868. <bits access="rw" name="ocp_pd_thd" pos="5:3" rst="3">
  61869. <comment>overcurrent protection threshold</comment>
  61870. </bits>
  61871. <bits access="rw" name="ocp_precis" pos="2:0" rst="2">
  61872. <comment>overcurrent protection precis</comment>
  61873. </bits>
  61874. </reg>
  61875. <reg name="aud_cfga_rd_sts" protect="r">
  61876. <bits access="r" name="aud_irq_raw" pos="15:8" rst="0">
  61877. <comment>int status: [7:0]={audio_rcv_depop,audio_pacal_irq,audio_hp_dpop_irq,ovp_irq,otp_irq,pa_ocp_irq,ear_ocp_irq,hp_ocp_irq}</comment>
  61878. </bits>
  61879. <bits access="r" name="aud_irq_msk" pos="7:0" rst="0">
  61880. <comment>int mask = aud_irq_raw &amp; aud_int_en</comment>
  61881. </bits>
  61882. </reg>
  61883. <reg name="aud_cfga_int_module_ctrl" protect="rw">
  61884. <bits access="rw" name="aud_int_en" pos="7:0" rst="0">
  61885. <comment>int enable: [7:0]={audio_rcv_depop,audio_pacal_irq,audio_hp_dpop_irq,ovp_irq,otp_irq,pa_ocp_irq,ear_ocp_irq,hp_ocp_irq}</comment>
  61886. </bits>
  61887. </reg>
  61888. <reg name="aud_cfga_lp_module_ctrl" protect="rw">
  61889. <bits access="rw" name="adc_en_r" pos="5" rst="0">
  61890. <comment>adc right enable</comment>
  61891. </bits>
  61892. <bits access="rw" name="dac_en_r" pos="4" rst="0">
  61893. <comment>dac right enable</comment>
  61894. </bits>
  61895. <bits access="rw" name="adc_en_l" pos="3" rst="0">
  61896. <comment>adc left enable</comment>
  61897. </bits>
  61898. <bits access="rw" name="dac_en_l" pos="2" rst="0">
  61899. <comment>adc right enable</comment>
  61900. </bits>
  61901. <bits access="rw" name="audio_loop_map_sel" pos="1" rst="1">
  61902. </bits>
  61903. <bits access="rw" name="audio_adie_loop_en" pos="0" rst="0">
  61904. </bits>
  61905. </reg>
  61906. <reg name="ana_et2" protect="rw">
  61907. <bits access="rw" name="dem_bypass" pos="4" rst="0">
  61908. <comment>bypass DEM</comment>
  61909. </bits>
  61910. <bits access="rw" name="rg_aud_dalr_mix_sel" pos="3:2" rst="0">
  61911. <comment>Audio DACL &amp; DACR output mixer select 00 = R/L 01 = R/0 10 = 0/L 11 = 0/0</comment>
  61912. </bits>
  61913. <bits access="rw" name="rg_aud_das_mix_sel" pos="1:0" rst="0">
  61914. <comment>Audio DACL &amp; DACR output mixer select 00 = L + R 01 = 2 x L 10 = 2 x R 11 = 0</comment>
  61915. </bits>
  61916. </reg>
  61917. <reg name="clk_en" protect="rw">
  61918. <bits access="rw" name="clk_aud_loop_inv_en" pos="5" rst="0">
  61919. </bits>
  61920. <bits access="rw" name="clk_aud_6p5m_en" pos="4" rst="0">
  61921. </bits>
  61922. <bits access="rw" name="clk_aud_loop_en" pos="3" rst="0">
  61923. </bits>
  61924. <bits access="rw" name="clk_aud_hid_en" pos="2" rst="0">
  61925. </bits>
  61926. <bits access="rw" name="clk_aud_1k_en" pos="1" rst="0">
  61927. </bits>
  61928. <bits access="rw" name="clk_aud_32k_en" pos="0" rst="0">
  61929. </bits>
  61930. </reg>
  61931. <reg name="soft_rst" protect="rw">
  61932. <bits access="rc" name="aud_dac_post_soft_rst" pos="5" rst="0">
  61933. <comment>bit type is changed from wc to rc.</comment>
  61934. </bits>
  61935. <bits access="rc" name="aud_dig_6p5m_soft_rst" pos="4" rst="0">
  61936. <comment>bit type is changed from wc to rc.</comment>
  61937. </bits>
  61938. <bits access="rc" name="aud_dig_loop_soft_rst" pos="3" rst="0">
  61939. <comment>bit type is changed from wc to rc.</comment>
  61940. </bits>
  61941. <bits access="rc" name="aud_hid_soft_rst" pos="2" rst="0">
  61942. <comment>bit type is changed from wc to rc.</comment>
  61943. </bits>
  61944. <bits access="rc" name="aud_1k_soft_rst" pos="1" rst="0">
  61945. <comment>bit type is changed from wc to rc.</comment>
  61946. </bits>
  61947. <bits access="rc" name="aud_32k_soft_rst" pos="0" rst="0">
  61948. <comment>bit type is changed from wc to rc.</comment>
  61949. </bits>
  61950. </reg>
  61951. </module>
  61952. </archive>
  61953. <archive relative="rda2720m_aud_codec.xml">
  61954. <module category="RDA2720M" name="RDA2720M_AUD_CODEC">
  61955. <reg name="ana_pmu0" protect="rw">
  61956. <bits access="rw" name="rg_aud_vb_en" pos="15" rst="0">
  61957. <comment>Audio LDO VB enable signal 0 = disable 1 = enable</comment>
  61958. </bits>
  61959. <bits access="rw" name="rg_aud_vb_nleak_pd" pos="14" rst="0">
  61960. <comment>Audio LDO VB prevent reverse flow back power down signal 0 = power up 1 = power down</comment>
  61961. </bits>
  61962. <bits access="rw" name="rg_aud_vb_hdmc_sp_pd" pos="13" rst="1">
  61963. <comment>Audio LDO VB SLEEP MODE PD signal 0 = EN 1 = PD</comment>
  61964. </bits>
  61965. <bits access="rw" name="rg_aud_bg_en" pos="12" rst="0">
  61966. <comment>Audio BG EN 0 = disable 1 = enable</comment>
  61967. </bits>
  61968. <bits access="rw" name="rg_aud_bias_en" pos="11" rst="0">
  61969. <comment>Audio BIAS EN 0 = disable 1 = enable</comment>
  61970. </bits>
  61971. <bits access="rw" name="rg_aud_micbias_en" pos="10" rst="0">
  61972. <comment>Audio Microphone bias enable signal 0 = disable 1 = enable</comment>
  61973. </bits>
  61974. <bits access="rw" name="rg_aud_hmic_bias_en" pos="9" rst="0">
  61975. <comment>Audio Headset Micbias enable signal 0 = disable 1 = enable</comment>
  61976. </bits>
  61977. <bits access="rw" name="rg_aud_hmic_sleep_en" pos="8" rst="0">
  61978. <comment>Audio HeadMic SLEEP MODE EN signal 0 = disable 1 = enable</comment>
  61979. </bits>
  61980. <bits access="rw" name="rg_aud_mic_sleep_en" pos="7" rst="0">
  61981. <comment>Audio MIC SLEEP MODE EN signal 0 = disable 1 = enable</comment>
  61982. </bits>
  61983. <bits access="rw" name="rg_aud_vbg_sel" pos="6" rst="0">
  61984. <comment>Audio BG Voltage 0 :BG=1.55V 1: BG=1.5V</comment>
  61985. </bits>
  61986. <bits access="rw" name="rg_aud_vbg_temp_biastune" pos="5" rst="0">
  61987. <comment>Audio BG Bias option 0 = normal 1 = debug mode</comment>
  61988. </bits>
  61989. <bits access="rw" name="rg_aud_vbg_temp_tune" pos="4:3" rst="0">
  61990. <comment>Audio BG tune TC option 00: normal 01: TC reduce 10: TC reduce more 11: TC enhance</comment>
  61991. </bits>
  61992. <bits access="rw" name="rg_aud_micbias_plgb" pos="2" rst="1">
  61993. <comment>Audio MICBIAS power down signal (do not control discharge circuit) 0 = power up 1 = power down</comment>
  61994. </bits>
  61995. <bits access="rw" name="rg_aud_hmicbias_vref_sel" pos="1" rst="0">
  61996. <comment>Audio Headmic VREF 0 = main-BG 1 = AUD_BG</comment>
  61997. </bits>
  61998. <bits access="rw" name="rg_hmic_comp_mode1_en" pos="0" rst="0">
  61999. <comment>HMIC_COMP_MODE_EN: 0 = disable 1 = headmicbias filter RC integrated in chip</comment>
  62000. </bits>
  62001. </reg>
  62002. <reg name="ana_pmu1" protect="rw">
  62003. <bits access="rw" name="rg_aud_vb_cal" pos="15:11" rst="16">
  62004. <comment>Audio LDO_VB output voltage calibration signal 00000 = -13.3% 00001 = -12.5% 00010 = -11.7% 00011 = -10.8% 00100 = -10% 00101 = -9.2% 00110 = -8.4% 00111 = -7.5% 01000 = -6.7% 01001 = -5.8% 01010 =-5% 01011 = -4.2% 01100 = -3.3% 01101 = -2.5% 01110 = -1.67% 01111 = -0.83% 10000 = 0 10001 = 0.83% 10010 = 1.67% 10011 = 2.5% 10100 = 3.3% 10101 = 4.2% 10110 = 5% 10111 =5.8% 11000 = 6.7% 11001 = 7.5% 11010 = 8.4% 11011 = 9.2% 11100 = 10% 11101 = 10.8% 11110 = 11.7% 11111 = 12.5%</comment>
  62005. </bits>
  62006. <bits access="rw" name="rg_aud_vb_v" pos="10:6" rst="16">
  62007. <comment>Audio ADC/DAC/DRV VCM &amp; LDO VB output voltage control bit (VB should be set larger than 3.0V) 00000 -00011 = forbidden 00100 = 3.0V 00101 = 3.025V 00110 = 3.05V 00111 = 3.075V 01000 = 3.1V 01001 = 3.125V 01010 =3.15V 01011 = 3.175V 01100 = 3.2V 01101 = 3.225V 01110 = 3.25V 01111 = 3.275V 10000 = 3.3V 10001 = 3.325V 10010 = 3.35V 10011 = 3.375V 10100 = 3.4V 10101 = 3.425V 10110 = 3.45V 10111 =3.475V 11000 = 3.5V 11001 = 3.525V 11010 = 3.55V 11011 = 3.575V 11100 = 3.6V 11101 - 11111 = forbidden</comment>
  62008. </bits>
  62009. <bits access="rw" name="rg_aud_hmic_bias_v" pos="5:3" rst="5">
  62010. <comment>Audio headmicbias output voltage control bit 000 = 2.2V 001 = 2.4V 010 = 2.5V 011 = 2.6V 100 = 2.7V 101 = 2.8V 110 = 2.9V 111 = 3.0V</comment>
  62011. </bits>
  62012. <bits access="rw" name="rg_aud_micbias_v" pos="2:0" rst="2">
  62013. <comment>Audio MICBIAS output voltage select signal 000 = 2.2V 001 = 2.4V 010 = 2.5V 011 = 2.6V 100 = 2.7V 101 = 2.8V 110 = 2.9V 111 = 3.0V</comment>
  62014. </bits>
  62015. </reg>
  62016. <reg name="ana_pmu2" protect="rw">
  62017. <bits access="rw" name="rg_aud_hp_ib" pos="15:14" rst="0">
  62018. <comment>AUD HP-PGA BIAS current: 00:X1 11:X2</comment>
  62019. </bits>
  62020. <bits access="rw" name="rg_aud_hp_ibcur3" pos="13:11" rst="2">
  62021. <comment>AUD HP-PGA 3rd stage BIAS current: 000: 5uA 001:7.5uA 010:10uA 011: 12.5uA 100: 15uA 101: 17.5uA 110:20uA 111: 22.5uA</comment>
  62022. </bits>
  62023. <bits access="rw" name="rg_aud_pa_ab_i" pos="10:9" rst="1">
  62024. <comment>Audio PA class-AB mode Quiescent current decreasing level 00=3.5mA, 01=2.5mA, 10=1.9mA, 11=1.6mA</comment>
  62025. </bits>
  62026. <bits access="rw" name="rg_aud_adpga_ibias_sel" pos="8:5" rst="0">
  62027. <comment>Audio ADC &amp; PGA ibias current control bit &lt;3:2&gt; control the ibias of the PGA 00 = 10uA 01 = 7.5uA 10 = 5uA 11 = 5uA &lt;1:0&gt; control the ibias of the modulator 00 = 5uA 01 = 3.75uA 10 = 2.5uA 11 = 2.5uA</comment>
  62028. </bits>
  62029. <bits access="rw" name="rg_aud_da_ig" pos="4:3" rst="0">
  62030. <comment>Audio DACL &amp; DACR output gain control bit 00 = 0dB 01 = -0.75dB 1x=-1.5dB</comment>
  62031. </bits>
  62032. <bits access="rw" name="rg_aud_drv_pm_sel" pos="2:1" rst="3">
  62033. <comment>HP&amp;RCV DRV SEL 00: input gm/2, miller cap cut 01: input gm/2, miller cap normal 10: input gm normal, miller cap cut 11: input gm normal, miller cap normal</comment>
  62034. </bits>
  62035. </reg>
  62036. <reg name="ana_pmu3" protect="rw">
  62037. <bits access="rw" name="rg_aud_pa_otp_pd" pos="15" rst="1">
  62038. <comment>Audio PA over temperature protection circuit power down signal 0 = power up 1 = power down</comment>
  62039. </bits>
  62040. <bits access="rw" name="rg_aud_pa_otp_t" pos="14:12" rst="6">
  62041. <comment>Audio PA over temperature protection circuit temperature select 000: 4C -&gt; -14C 001: 25C -&gt; 8C 010: 47C -&gt; 31C 011: 68C -&gt; 52C 100: 89C -&gt; 74C 101: 110C -&gt; 95C 110: 130C -&gt; 115C 111: 150C -&gt; 135C</comment>
  62042. </bits>
  62043. <bits access="rw" name="rg_aud_pa_ovp_pd" pos="11" rst="1">
  62044. <comment>Audio VBAT_PA over voltage protection circuit power down signal 0 = power up 1 = power down</comment>
  62045. </bits>
  62046. <bits access="rw" name="rg_aud_pa_ovp_thd" pos="10" rst="0">
  62047. <comment>Audio VBAT_PA over voltage protection circuit threshold select 0 = 0.3V 1 = 0.6V</comment>
  62048. </bits>
  62049. <bits access="rw" name="rg_aud_pa_ovp_v" pos="9:7" rst="0">
  62050. <comment>Audio VBAT_PA over voltage protection circuit voltage select RG_AUD_PA_OVP_THD = 0/1 000 = 5.8 -&gt; 5.5/5.2 001 = 6.0 -&gt; 5.7/5.4 010 = 6.2 -&gt; 5.9/5.6 011 = 6.4 -&gt; 6.1/5.8 100 = 6.6 -&gt; 6.3/6.0 101 = 6.8 -&gt; 6.5/6.2 110 = 7.0 -&gt; 6.7/6.4 111 = 7.2 -&gt; 6.9/6.6</comment>
  62051. </bits>
  62052. <bits access="rw" name="rg_aud_pa_ocp_pd" pos="6" rst="1">
  62053. <comment>Audio PA over current protection circuit power down signal 0 = power up,1 = power down</comment>
  62054. </bits>
  62055. <bits access="rw" name="rg_aud_pa_ocp_s" pos="5" rst="1">
  62056. <comment>Audio PA class-AB mode over current protection circuit current select 0=800mA 1=1000mA</comment>
  62057. </bits>
  62058. <bits access="rw" name="rg_aud_drv_ocp_pd" pos="4" rst="1">
  62059. <comment>Audio PA over current protection circuit power down signal 0 = power up,1 = power down</comment>
  62060. </bits>
  62061. <bits access="rw" name="rg_aud_drv_ocp_mode" pos="3:2" rst="0">
  62062. <comment>Audio Driver over current protection current select HP mode: 00--108mA 01--150mA 10--156mA 11--195mA RCV mode: 00--209mA 01300mA 10310mA 11-- 400mA</comment>
  62063. </bits>
  62064. <bits access="rw" name="rg_aud_pa_vcm_v" pos="1:0" rst="1">
  62065. <comment>Audio PA VCOM voltage control bit 00 = 0.55xVDD 01 = 0.5xVDD 10 = 0.45xVDD 11 = 0.4xVDD</comment>
  62066. </bits>
  62067. </reg>
  62068. <reg name="ana_pmu4" protect="rw">
  62069. <bits access="rw" name="rg_aud_pa_ksel" pos="14:13" rst="2">
  62070. <comment>Audio PA class-D mode PWM Gain select 00 = 1 01 = 1.5 10 = 1.67 11 = 2</comment>
  62071. </bits>
  62072. <bits access="rw" name="rg_aud_pa_degsel" pos="12:11" rst="1">
  62073. <comment>Audio PA class-D mode PWM logic delay time select 00 = 7ns 01 = 14ns 10 =24ns 11 = 29ns</comment>
  62074. </bits>
  62075. <bits access="rw" name="rg_aud_pa_emi_l" pos="10:8" rst="0">
  62076. <comment>Audio PA class-D output edge slew rate control 000 = 2ns 001 = 4ns 010 = 6ns 011 = 8ns 100 = 10ns 101=12ns 110 = 14ns 111 = 16ns</comment>
  62077. </bits>
  62078. <bits access="rw" name="rg_aud_pa_ss_en" pos="7" rst="0">
  62079. <comment>Audio PA class-D mode spread spectrum enable signal 0 = disable 1 = enable</comment>
  62080. </bits>
  62081. <bits access="rw" name="rg_aud_pa_ss_rst" pos="6" rst="0">
  62082. <comment>Audio PA class-D mode spread spectrum reset enable signal 0 = disable 1 = enable</comment>
  62083. </bits>
  62084. <bits access="rw" name="rg_aud_pa_ss_f" pos="5:4" rst="0">
  62085. <comment>Audio PA class-D mode spread spectrum dither level select signal when PA_DTRI_F&lt;1:0&gt; = 00/01/10/11 00 = 3.2%/1.6%/0.8%/0.4% 01 = 9%/4.7%/2.3%/1.2% 10 = 22%/ 11%/5.5%/2.7% 11 = 47%/ 23%/ 12%/ 6%</comment>
  62086. </bits>
  62087. <bits access="rw" name="rg_aud_pa_ss_32k_en" pos="3" rst="0">
  62088. <comment>Audio PA class-D mode spread spectrum 32k dither clock select signal 0 = disable 1 = enable</comment>
  62089. </bits>
  62090. <bits access="rw" name="rg_aud_pa_ss_t" pos="2:0" rst="0">
  62091. <comment>Audio PA class-D mode spread spectrum dither clock divider select signal 000 = 1 001 = 1/2 010 = 1/4 011 = 1/8 100 = 1/16 101 = 1/32 110 = 1/64 111 = 1/128</comment>
  62092. </bits>
  62093. </reg>
  62094. <reg name="ana_pmu5" protect="rw">
  62095. <bits access="rw" name="rg_aud_pa_d_en" pos="14" rst="0">
  62096. <comment>Audio Speaker PA class-D mode enable signal 0 = disable (CLASS-AB mode) 1 = enable(CLASS-D mode)</comment>
  62097. </bits>
  62098. <bits access="rw" name="rg_aud_pa_dflck_en" pos="13" rst="0">
  62099. <comment>Audio Speaker PA class-D mode switching frequency locking enable signal 0 = disable 1 = enable</comment>
  62100. </bits>
  62101. <bits access="rw" name="rg_aud_pa_dflck_rsl" pos="12" rst="0">
  62102. <comment>Audio Speaker PA class-D mode switching frequency locking resolution select 0 = 1X 1 = 2X</comment>
  62103. </bits>
  62104. <bits access="rw" name="rg_aud_pa_dtri_fc" pos="11:9" rst="2">
  62105. <comment>Audio Speaker PA class-D mode switching frequency select 000 = 330kHz 001 = 490kHz 010 = 650KHz 011 = 810KHz 100 = 970kHz 101 = 1.12MHz 110 = 1.27MHz 111 = 1.42MHz</comment>
  62106. </bits>
  62107. <bits access="rw" name="rg_aud_pa_dtri_ff" pos="8:3" rst="0">
  62108. <comment>Audio PA class-D mode Switching frequency hopping level 000000=0Hz 000001=1*2.5KHz 000010=2*2.5KHz 000011=3*2.5KHz 000100=4*2.5KHz 000101=5*2.5KHz 000110=6*2.5KHz 000111=7*2.5KHz 001000=8*2.5KHz 001001=9*2.5KHz 001010=10*2.5KHz 001011=11*2.5KHz 001100=12*2.5KHz 001101=13*2.5KHz 001110=14*2.5KHz 001111=15*2.5KHz 010000=16*2.5KHz 010001=17*2.5KHz 010010=18*2.5KHz 010011=19*2.5KHz 010100=20*2.5KHz 010101=21*2.5KHz 010110=22*2.5KHz 010111=23*2.5KHz 011000=24*2.5KHz 011001=25*2.5KHz 011010=26*2.5KHz 011011=27*2.5KHz 011100=28*2.5KHz 011101=29*2.5KHz 011110=30*2.5KHz 011111=31*2.5KHz 100000=32*2.5KHz 100001=33*2.5KHz 100010=34*2.5KHz 100011=35*2.5KHz 100100=36*2.5KHz 100101=37*2.5KHz 100110=38*2.5KHz 100111=39*2.5KHz 101000=40*2.5KHz 101001=41*2.5KHz 101010=42*2.5KHz 101011=43*2.5KHz 101100=44*2.5KHz 101101=45*2.5KHz 101110=46*2.5KHz 101111=47*2.5KHz 110000=48*2.5KHz 110001=49*2.5KHz 110010=50*2.5KHz 110011=51*2.5KHz 110100=52*2.5KHz 110101=53*2.5KHz 110110=54*2.5KHz 110111=55*2.5KHz 111000=56*2.5KHz 111001=57*2.5KHz 111010=58*2.5KHz 111011=59*2.5KHz 111100=60*2.5KHz 111101=61*2.5KHz 111110=62*2.5KHz 111111=63*2.5KHz</comment>
  62109. </bits>
  62110. <bits access="rw" name="rg_aud_pa_stop_en" pos="2" rst="0">
  62111. <comment>Audio PA Driver stop output enable signal 0 = disable, 1 = enable</comment>
  62112. </bits>
  62113. <bits access="rw" name="rg_aud_pa_sh_det_en" pos="1" rst="0">
  62114. <comment>Audio PA output short to VBAT detect enable signal 0 = disable 1 = enable</comment>
  62115. </bits>
  62116. <bits access="rw" name="rg_aud_pa_sl_det_en" pos="0" rst="0">
  62117. <comment>Audio PA output short to GND detect enable signal 0 = disable 1 = enable</comment>
  62118. </bits>
  62119. </reg>
  62120. <reg name="ana_clk0" protect="rw">
  62121. <bits access="rw" name="rg_aud_dig_clk_6p5m_en" pos="14" rst="0">
  62122. <comment>Audio digital core clcok input enable signal 0 = disable 1 = enable</comment>
  62123. </bits>
  62124. <bits access="rw" name="rg_aud_dig_clk_loop_en" pos="13" rst="0">
  62125. <comment>Audio digital loop clcok input enable signal 0 = disable 1 = enable</comment>
  62126. </bits>
  62127. <bits access="rw" name="rg_aud_ana_clk_en" pos="12" rst="0">
  62128. <comment>Audio analog core clcok input enable signal 0 = disable 1 = enable</comment>
  62129. </bits>
  62130. <bits access="rw" name="rg_aud_ad_clk_en" pos="11" rst="0">
  62131. <comment>Audio analog ADC clock input enable signal 0 = disable 1 = enable</comment>
  62132. </bits>
  62133. <bits access="rw" name="rg_aud_ad_clk_rst" pos="10" rst="1">
  62134. <comment>Audio analog ADC clock reset enable signal 0 = EN 1 = RESET</comment>
  62135. </bits>
  62136. <bits access="rw" name="rg_aud_da_clk_en" pos="9" rst="0">
  62137. <comment>Audio DAC clock input enable signal 0 = disable 1 = enable</comment>
  62138. </bits>
  62139. <bits access="rw" name="rg_drv_clk_en" pos="8" rst="0">
  62140. <comment>Audio DRV clock input enable signal 0 = disable 1 = enable</comment>
  62141. </bits>
  62142. <bits access="rw" name="rg_aud_dcdcgen_clk_en" pos="7" rst="0">
  62143. <comment>Audio DCDC GEN clock input enable signal 0 = disable 1 = enable</comment>
  62144. </bits>
  62145. <bits access="rw" name="rg_aud_dcdcmem_clk_en" pos="6" rst="0">
  62146. <comment>Audio DCDC MEM clock input enable signal 0 = disable 1 = enable</comment>
  62147. </bits>
  62148. <bits access="rw" name="rg_aud_dcdccore_clk_en" pos="5" rst="0">
  62149. <comment>Audio DCDC CORE clock input enable signal 0 = disable 1 = enable</comment>
  62150. </bits>
  62151. <bits access="rw" name="rg_aud_vad_en" pos="4" rst="0">
  62152. <comment>Audio VAD enable signal 0 = disable 1 = enable</comment>
  62153. </bits>
  62154. <bits access="rw" name="rg_aud_ad_clk_f" pos="3:2" rst="0">
  62155. <comment>Audio ADC clock frequency select (based on Fclk=6.5MHz) 00 = Fclk 01 = Fclk / 2</comment>
  62156. </bits>
  62157. <bits access="rw" name="rg_aud_da_clk_f" pos="1:0" rst="0">
  62158. <comment>Audio DAC clock frequency select (based on Fclk=6.5MHz) 00 = Fclk 01/11 = Fclk x 2 10 = Fclk / 2</comment>
  62159. </bits>
  62160. </reg>
  62161. <reg name="ana_cdc0" protect="rw">
  62162. <bits access="rw" name="rg_aud_adpga_ibias_en" pos="15" rst="0">
  62163. <comment>Audio PGA&amp;ADC BIAS en signal 0 = disable 1 = enable</comment>
  62164. </bits>
  62165. <bits access="rw" name="rg_aud_adpga_ibuf_en" pos="14" rst="0">
  62166. <comment>Audio PGA &amp; ADC VCM buffer enable signal 0 = disable 1 = enable</comment>
  62167. </bits>
  62168. <bits access="rw" name="rg_aud_adpgal_en" pos="13" rst="0">
  62169. <comment>Audio ADC PGAL enable signal 0 = disable 1 = enable</comment>
  62170. </bits>
  62171. <bits access="rw" name="rg_aud_adpgar_en" pos="12" rst="0">
  62172. <comment>Audio ADC PGAR enable signal 0 = disable 1 = enable</comment>
  62173. </bits>
  62174. <bits access="rw" name="rg_aud_adpgal_byp" pos="11:10" rst="0">
  62175. <comment>Audio ADC PGAL bypass select signal 00 = normal input 01 = HEADMIC to ADCL 10/11 = All disconnected</comment>
  62176. </bits>
  62177. <bits access="rw" name="rg_aud_adpgar_byp" pos="9:8" rst="0">
  62178. <comment>Audio ADC PGAR bypass select signal 00 = normal input 01 = HEADMIC to ADCR 10/11 = All disconnected</comment>
  62179. </bits>
  62180. <bits access="rw" name="rg_aud_adl_en" pos="7" rst="0">
  62181. <comment>Audio ADCL enable signal 0 = disable 1 = enable</comment>
  62182. </bits>
  62183. <bits access="rw" name="rg_aud_adl_rst" pos="6" rst="0">
  62184. <comment>Audio ADCL reset enable signal 0 = disable 1 = enable</comment>
  62185. </bits>
  62186. <bits access="rw" name="rg_aud_adr_en" pos="5" rst="0">
  62187. <comment>Audio ADCR enable signal 0 = disable 1 = enable</comment>
  62188. </bits>
  62189. <bits access="rw" name="rg_aud_adr_rst" pos="4" rst="0">
  62190. <comment>Audio ADCR reset enable signal 0 = disable 1 = enable</comment>
  62191. </bits>
  62192. <bits access="rw" name="rg_aud_vref_sfcur" pos="3" rst="0">
  62193. <comment>Audio ADC VREF current drv increasing by 1.3 times enable signal 0 = disable 1 = enable</comment>
  62194. </bits>
  62195. <bits access="rw" name="rg_aud_shmic_dpop" pos="2" rst="0">
  62196. <comment>Headmic button release depop signal 0 = disable 1 = depop</comment>
  62197. </bits>
  62198. <bits access="rw" name="rg_aud_shmic_dpopvcm_en" pos="1" rst="0">
  62199. <comment>Headmic button release depop signal to VCM enable 0 = disable 1 = depop</comment>
  62200. </bits>
  62201. <bits access="rw" name="rg_aud_adc_bulksw" pos="0" rst="0">
  62202. <comment>Reserved</comment>
  62203. </bits>
  62204. </reg>
  62205. <reg name="ana_cdc1" protect="rw">
  62206. <bits access="rw" name="rg_aud_advcmi_int_sel" pos="13:12" rst="1">
  62207. <comment>ADPGA_Internal common voltage select 00: 0.5*VB 01: 0.45*VB 10: 0.425*VB 11:0.4*VB</comment>
  62208. </bits>
  62209. <bits access="rw" name="rg_aud_adpgal_g" pos="11:9" rst="1">
  62210. <comment>Audio ADC PGAL Gain control 000 = 0dB 001 = 3dB 010 = 6dB 011 = 12dB 100 = 18dB 101 = 24dB 110 = 30dB 111 = 36dB</comment>
  62211. </bits>
  62212. <bits access="rw" name="rg_aud_adpgar_g" pos="8:6" rst="1">
  62213. <comment>Audio ADC PGAR Gain control 000 = 0dB 001 = 3dB 010 = 6dB 011 = 12dB 100 = 18dB 101 = 24dB 110 = 30dB 111 = 36dB</comment>
  62214. </bits>
  62215. <bits access="rw" name="rg_aud_dalr_os_d" pos="5:3" rst="0">
  62216. <comment>Audio DACL/R dc offset trim bit 000 = 0 001 = +1/20*VFS 010 = +2/20*VFS 011 = +1/20*VFS 100 = 0 101 = -1/20*VFS 110 = -2/20*VFS 111 = -1/20*VFS</comment>
  62217. </bits>
  62218. <bits access="rw" name="rg_aud_das_os_d" pos="2:0" rst="0">
  62219. <comment>Audio DACS dc offset trim bit 000 = 0 001 = +1/20*VFS 010 = +2/20*VFS 011 = +1/20*VFS 100 = 0 101 = -1/20*VFS 110 = -2/20*VFS 111 = -1/20*VFS</comment>
  62220. </bits>
  62221. </reg>
  62222. <reg name="ana_cdc2" protect="rw">
  62223. <bits access="rw" name="rg_aud_das_en" pos="13" rst="0">
  62224. <comment>Audio DACS enable signal 0 = disable 1 = enable</comment>
  62225. </bits>
  62226. <bits access="rw" name="rg_aud_dal_en" pos="12" rst="0">
  62227. <comment>Audio DACL enable signal 0 = disable 1 = enable</comment>
  62228. </bits>
  62229. <bits access="rw" name="rg_aud_dar_en" pos="11" rst="0">
  62230. <comment>Audio DACR enable signal 0 = disable 1 = enable</comment>
  62231. </bits>
  62232. <bits access="rw" name="hpl_floopen" pos="10" rst="0">
  62233. <comment>Audio Driver HPL dummy loop enable signal 0 = disable 1 = enable</comment>
  62234. </bits>
  62235. <bits access="rw" name="hpl_floop_end" pos="9" rst="0">
  62236. <comment>Audio Driver HPL dummy loop end enable signal 0 = disable 1 = enable: true loop fade in</comment>
  62237. </bits>
  62238. <bits access="rw" name="hpr_floopen" pos="8" rst="0">
  62239. <comment>Audio Driver HPR dummy loop enable signal 0 = disable 1 = enable</comment>
  62240. </bits>
  62241. <bits access="rw" name="hpr_floop_end" pos="7" rst="0">
  62242. <comment>Audio Driver HPR dummy loop end enable signal 0 = disable 1 = enable: true loop fade in</comment>
  62243. </bits>
  62244. <bits access="rw" name="rcv_floopen" pos="6" rst="0">
  62245. <comment>Audio Driver RCV dummy loop enable signal 0 = disable 1 = enable</comment>
  62246. </bits>
  62247. <bits access="rw" name="rcv_floop_end" pos="5" rst="0">
  62248. <comment>Audio Driver RCV dummy loop end enable signal 0 = disable 1 = enable: true loop fade in</comment>
  62249. </bits>
  62250. <bits access="rw" name="rg_aud_hpl_en" pos="4" rst="0">
  62251. <comment>Audio Driver HPL output enable signal 0 = disable 1 = enable</comment>
  62252. </bits>
  62253. <bits access="rw" name="rg_aud_hpr_en" pos="3" rst="0">
  62254. <comment>Audio Driver HPR output enable signal 0 = disable 1 = enable</comment>
  62255. </bits>
  62256. <bits access="rw" name="rg_aud_hpbuf_en" pos="2" rst="0">
  62257. <comment>Audio Driver vcm buffer enable signal 0 = disable 1 = enable</comment>
  62258. </bits>
  62259. <bits access="rw" name="rg_aud_rcv_en" pos="1" rst="0">
  62260. <comment>Audio Driver RCV output enable signal 0 = disable 1 = enable</comment>
  62261. </bits>
  62262. <bits access="rw" name="rg_aud_pa_en" pos="0" rst="0">
  62263. <comment>Audio Speaker PA (Driver SPKL) enable signal 0 = disable 1 = enable</comment>
  62264. </bits>
  62265. </reg>
  62266. <reg name="ana_cdc3" protect="rw">
  62267. <bits access="rw" name="rg_aud_dalr_os_en" pos="12" rst="0">
  62268. <comment>Audio DACL/R dc offset enable signal 0 = disable 1 = enable</comment>
  62269. </bits>
  62270. <bits access="rw" name="rg_aud_das_os_en" pos="11" rst="0">
  62271. <comment>Audio DACS dc offset enable signal 0 = disable 1 = enable</comment>
  62272. </bits>
  62273. <bits access="rw" name="rg_aud_pa_ng_en" pos="10" rst="0">
  62274. <comment>NG_PA enable control 0 = mute disable 1 = mute enable</comment>
  62275. </bits>
  62276. <bits access="rw" name="rg_aud_sdalhpl" pos="9" rst="0">
  62277. <comment>Audio DACL to HPL enable signal 0 = disable 1 = enable</comment>
  62278. </bits>
  62279. <bits access="rw" name="rg_aud_sdarhpr" pos="8" rst="0">
  62280. <comment>Audio DACR to HPR enable signal 0 = disable 1 = enable</comment>
  62281. </bits>
  62282. <bits access="rw" name="rg_aud_sdalrcv" pos="7" rst="0">
  62283. <comment>Audio DACL to Receiver/Earpiece enable signal 0 = disable 1 = enable</comment>
  62284. </bits>
  62285. <bits access="rw" name="rg_aud_sdapa" pos="6" rst="0">
  62286. <comment>Audio DACS to PA enable signal 0 = disable 1 = enable</comment>
  62287. </bits>
  62288. <bits access="rw" name="rg_aud_shmicpa_debug" pos="5" rst="0">
  62289. <comment>Audio HMIC to PA enable signal 0 = disable 1 = enable when debug=1, HMIC to PA path on, no matter &quot;RG_AUD_SDAPA&quot; when debug=0, HMIC to PA path off, &quot;RG_AUD_SDAPA&quot; is enable</comment>
  62290. </bits>
  62291. <bits access="rw" name="rg_aud_smicdrv_debug" pos="4" rst="0">
  62292. <comment>Audio MIC to HPL enable signal 0 = disable 1 = enable when debug=1, MIC to HPL path on , &quot;RG_AUD_SDALHPL&quot;/&quot;RG_AUD_SDALRCV&quot; is dis-enable when debug=0, MIC to HPL path off , &quot;RG_AUD_SDALHPL&quot;/&quot;RG_AUD_SDALRCV&quot; is enable</comment>
  62293. </bits>
  62294. <bits access="rw" name="rg_aud_smic1pgal" pos="3" rst="0">
  62295. <comment>MIC1 to Audio ADC PGAL enable signal 0 = disable 1 = enable</comment>
  62296. </bits>
  62297. <bits access="rw" name="rg_aud_smic2pgar" pos="2" rst="0">
  62298. <comment>MIC2 to Audio ADC PGAR enable signal 0 = disable 1 = enable</comment>
  62299. </bits>
  62300. <bits access="rw" name="rg_aud_shmicpgal" pos="1" rst="0">
  62301. <comment>HEADMIC to Audio ADC PGAL enable signal 0 = disable 1 = enable</comment>
  62302. </bits>
  62303. <bits access="rw" name="rg_aud_shmicpgar" pos="0" rst="0">
  62304. <comment>HEADMIC to Audio ADC PGAR enable signal 0 = disable 1 = enable</comment>
  62305. </bits>
  62306. </reg>
  62307. <reg name="ana_cdc4" protect="rw">
  62308. <bits access="rw" name="rg_aud_pa_g" pos="15:12" rst="1">
  62309. <comment>Audio Speaker Driver PGA Gain control &lt;3:2&gt;For Class-D PGA, dft=00 00 = 0dB 01 = 1.5dB 10 = 3dB 11 = 3dB &lt;1:0&gt;For Class-AB PGA 00 = -3dB(20K) 01 = 0dB(28K) 10 = 1.16dB(32K) 11 = 1.16dB(32K)</comment>
  62310. </bits>
  62311. <bits access="rw" name="rg_aud_rcv_g" pos="11:8" rst="2">
  62312. <comment>Audio Receiver/Earpiece Driver RCV_P/RCV_N PGA Gain control 0010 = 6dB 0011 = 3dB 0100 = 0dB 0101 = -3dB 0110 = -6dB 0111 = -9dB 1000 = -12dB 1001 = -15dB 1010 = -18dB 1111 = mute</comment>
  62313. </bits>
  62314. <bits access="rw" name="rg_aud_hpl_g" pos="7:4" rst="4">
  62315. <comment>Audio Headphone left channel Gain control 0100 = 0dB 0101 = -3dB 0110 = -6dB 0111 = -9dB 1000 = -12dB 1001 = -15dB 1010 = -18dB 1111 = mute</comment>
  62316. </bits>
  62317. <bits access="rw" name="rg_aud_hpr_g" pos="3:0" rst="4">
  62318. <comment>Audio Headphone right channel Gain control 0100 = 0dB 0101 = -3dB 0110 = -6dB 0111 = -9dB 1000 = -12dB 1001 = -15dB 1010 = -18dB 1111 = mute</comment>
  62319. </bits>
  62320. </reg>
  62321. <reg name="ana_hdt0" protect="rw">
  62322. <bits access="rw" name="rg_aud_hedet_mux2adc_sel_pd" pos="15" rst="0">
  62323. <comment>MUX2ADC SEL PD 0 = power up 1 = power down</comment>
  62324. </bits>
  62325. <bits access="rw" name="rg_aud_hedet_buf_en" pos="14" rst="0">
  62326. <comment>Audio signal input to AuxADC enable signal 0 = disable 1 = enable</comment>
  62327. </bits>
  62328. <bits access="rw" name="rg_aud_hedet_bdet_en" pos="13" rst="0">
  62329. <comment>Audio headset button detect circuit enable signal 0 =disable 1 = enable</comment>
  62330. </bits>
  62331. <bits access="rw" name="rg_aud_hedet_v2i_en" pos="12" rst="0">
  62332. <comment>Audio headset detect signal RG_HP_DRIVER_EN software control enable signal 0 = DG_HP_DRIVER_EN work 1 = RG_HP_DRIVER_EN work</comment>
  62333. </bits>
  62334. <bits access="rw" name="rg_aud_hedet_vref_en" pos="11" rst="0">
  62335. <comment>Audio headset detect reference voltage circuit enable signal 0 =disable 1 = enable</comment>
  62336. </bits>
  62337. <bits access="rw" name="rg_aud_hedet_micdet_en" pos="10" rst="0">
  62338. <comment>Audio headset mic detect circuit power enable signal 0 =disable 1 = enable</comment>
  62339. </bits>
  62340. <bits access="rw" name="rg_aud_hedet_v2ad_scale" pos="9" rst="0">
  62341. <comment>Audio signal input to AuxADC scale select signal 0 =little scale 1 =large scale(4:1)</comment>
  62342. </bits>
  62343. <bits access="rw" name="rg_aud_hedet_ldet_l_filter" pos="8" rst="0">
  62344. <comment>Audio headset_LINT low detect filter enable signal 0 = no filter 1 = filter</comment>
  62345. </bits>
  62346. <bits access="rw" name="rg_aud_hedet_buf_chop" pos="7" rst="0">
  62347. <comment>Audio signal input to AuxADC buffer chop signal (1kHz)</comment>
  62348. </bits>
  62349. <bits access="rw" name="rg_aud_hedet_mux2adc_sel" pos="6:4" rst="0">
  62350. <comment>Audio signal input to AuxADC select 000 = HEADMIC_IN_DET 001 = HEADSET_L_INT 010 = HP_L 011 = HP_R 100 = AVDD_VB 101 = VDDPA 110 = MICBIAS 111 = HEADMIC_BIAS</comment>
  62351. </bits>
  62352. <bits access="rw" name="rg_aud_hedet_v2i_sel" pos="3:0" rst="0">
  62353. <comment>Audio headset detect circuit current select signal 0000 =0 0001 = 0.5u 0010 =1u 0011 = 1.5u 0100 =2u 0101 = 2.5u 0110 =3u 0111 = 3.5u 1000 =4u 1001 = 4.5u 1010 =5u 1011 = 5.5u</comment>
  62354. </bits>
  62355. </reg>
  62356. <reg name="ana_hdt1" protect="rw">
  62357. <bits access="rw" name="rg_aud_hedet_micdet_ref_sel" pos="15:13" rst="6">
  62358. <comment>Audio headset_L_INT insert detect voltage select signal (VDDIO=2.8V) 000 = 2V 001 =2.1V 010 = 2.2V 011 =2.3V 100 = 2.4V 100 =2.5V 110 = 2.6V 111 = 2.7V</comment>
  62359. </bits>
  62360. <bits access="rw" name="rg_aud_hedet_micdet_hys_sel" pos="12:11" rst="1">
  62361. <comment>Audio headset button detect circuit hysteresis sel signal 00 = 10mV 01 = 20mV 10 = 40mV 11 =forbidden</comment>
  62362. </bits>
  62363. <bits access="rw" name="rg_aud_hedet_ldet_refl_sel" pos="10:8" rst="0">
  62364. <comment>Audio headset_L_INT insert detect voltage select signal (VDDIO=2.8V) 000 = 25mV 001 =50mV 010 = 100mV 011 = 150mV 100 = 200mV 100 =250mV 110 = 300mV 111 = 350mV</comment>
  62365. </bits>
  62366. <bits access="rw" name="rg_aud_hedet_ldet_refh_sel" pos="7:6" rst="0">
  62367. <comment>Audio headset_L_INT insert detect voltage select signal (VDDIO=2.8V) 00 = 1.7V 01 = 1.8V 10 = 1.9V 11 = 2V</comment>
  62368. </bits>
  62369. <bits access="rw" name="rg_aud_hedet_ldet_pu_pd" pos="5:4" rst="1">
  62370. <comment>Audio L_DET pull up power down signal 00 = power up 01 = power down 10/11 = high-z</comment>
  62371. </bits>
  62372. <bits access="rw" name="rg_aud_hedet_ldet_l_hys_sel" pos="3:2" rst="1">
  62373. <comment>Audio headset button detect circuit hysteresis sel signal 00 = 10mV 01 = 20mV 10 = 40mV 11 =forbidden</comment>
  62374. </bits>
  62375. <bits access="rw" name="rg_aud_hedet_ldet_h_hys_sel" pos="1:0" rst="1">
  62376. <comment>Audio headset button detect circuit hysteresis sel signal 00 = 10mV 01 = 20mV 10 = 40mV 11 =forbidden</comment>
  62377. </bits>
  62378. </reg>
  62379. <reg name="ana_hdt2" protect="rw">
  62380. <bits access="rw" name="rg_chg_proc_sts_bypass" pos="13" rst="0">
  62381. <comment>BYPASS CHG_STS signal 1 = bypass CHG_EN 0 = dis-bypass CHG_EN</comment>
  62382. </bits>
  62383. <bits access="rw" name="rg_aud_hedet_jack_type" pos="12:11" rst="0">
  62384. <comment>Audio Headphone jack type select (Head_L_INT) 00 = Tie High 01 = Tie Low 10 = No Spring 11 = forbidden</comment>
  62385. </bits>
  62386. <bits access="rw" name="rg_aud_hedet_bdet_ref_sel" pos="10:7" rst="0">
  62387. <comment>Audio head microphone button pressed detect voltage select signal (VDDIO=2.8V) 0000 = 1.0V 0001 = 0.95V 0010 = 0.9V 0011 = 0.85V 0100 = 0.8V 0101 = 0.75V 0110 = 0.7V 0111 = 0.65V 1000 = 0.6V 1001 = 0.55V 1010 =0.5V 1011 = 0.45V 1100 = 0.4V 1101/1110/1111 = forbidden</comment>
  62388. </bits>
  62389. <bits access="rw" name="rg_aud_hedet_bdet_hys_sel" pos="6:5" rst="1">
  62390. <comment>Audio headset button detect circuit hysteresis sel signal 00 = 10mV 01 = 20mV 10 = 40mV 11 =forbidden</comment>
  62391. </bits>
  62392. <bits access="rw" name="rg_aud_plgpd_en" pos="4" rst="0">
  62393. <comment>Audio headset plug out detect enable signal 0 = disable 1 = enable</comment>
  62394. </bits>
  62395. <bits access="rw" name="rg_hp_driver_en" pos="3" rst="0">
  62396. <comment>Audio headset detect signal LDRV_ENB software control signal, it should be set from 0-&gt;1 several ms (ex. 5ms) after audio driver HPL output enable signal (RG_AUD_HPL_EN) set from 1-&gt; 0</comment>
  62397. </bits>
  62398. <bits access="rw" name="rg_aud_hpl_en_d2hdt_en" pos="2" rst="0">
  62399. <comment>Audio Driver HPL output enable signal to headset detect delay function enable signal 0 = disable delay-reg(RG_AUD_HPL_EN_D2HDT_T) 1 = enable delay-reg(RG_AUD_HPL_EN_D2HDT_T)</comment>
  62400. </bits>
  62401. <bits access="rw" name="rg_aud_hpl_en_d2hdt_t" pos="1:0" rst="0">
  62402. <comment>Audio Driver HPL output enable signal (RG_AUD_HPL_EN) to headset detect delay time 00 = 8*Tclk 01 = 16*Tclk 10 = 32*Tclk 11 = 64*Tclk</comment>
  62403. </bits>
  62404. </reg>
  62405. <reg name="ana_dcl0" protect="rw">
  62406. <bits access="rw" name="rg_aud_dcl_en" pos="6" rst="0">
  62407. <comment>Audio digital control logic enable signal 0 = disable 1 = enable</comment>
  62408. </bits>
  62409. <bits access="rw" name="rg_aud_dcl_rst" pos="5" rst="1">
  62410. <comment>Audio digital control logic reset enable signal 0 = disable 1 = enable</comment>
  62411. </bits>
  62412. <bits access="rw" name="rg_aud_drv_soft_t" pos="4:2" rst="1">
  62413. <comment>Audio DRV delay timer control signal 000 = 0us 001 = 30us 010 = 60us 011 = 90us 100 = 120us 101 = 150us 110 = 180us 111 = 210us</comment>
  62414. </bits>
  62415. <bits access="rw" name="rg_aud_drv_soft_en" pos="1" rst="0">
  62416. <comment>Audio DRV soft start enable signal 0 = disable 1 = enable</comment>
  62417. </bits>
  62418. <bits access="rw" name="rg_aud_dpop_auto_rst" pos="0" rst="1">
  62419. <comment>Soft reset dpop module . 0:disable , 1:enable</comment>
  62420. </bits>
  62421. </reg>
  62422. <reg name="ana_dcl1" protect="rw">
  62423. <bits access="rw" name="rg_aud_pacal_en" pos="10" rst="0">
  62424. <comment>Audio PA calibration clock input enable signal 0 = disable 1 = enable</comment>
  62425. </bits>
  62426. <bits access="rw" name="rg_aud_pacal_div" pos="9:8" rst="0">
  62427. <comment>Audio PA PWM clock divider select signal 00 = 1/128 01 = 1/64 10 = 1/256 11 = 1/1</comment>
  62428. </bits>
  62429. <bits access="rw" name="rg_aud_pa_ovp_abmod_pd" pos="7" rst="0">
  62430. <comment>Audio VBAT_PA over voltage protection circuit mode change signal 0 = enable Class-AB mode 1 = keep the previous mode</comment>
  62431. </bits>
  62432. <bits access="rw" name="rg_aud_pa_ovp_abmod_t" pos="6:4" rst="0">
  62433. <comment>Audio PA over current protection circuit mute timer control signal 000 = 0ms 001 = 1ms 010 = 4ms 011 = 16ms 100 = 64ms 101 = 256ms 110 = 1s 111 = 4s</comment>
  62434. </bits>
  62435. <bits access="rw" name="rg_aud_pa_ovp_deg_en" pos="3" rst="0">
  62436. <comment>Audio VBAT_PA over voltage protection circuit alert deglitch enable signal 0 = disable 1 = enable</comment>
  62437. </bits>
  62438. <bits access="rw" name="rg_aud_pa_ovp_deg_t" pos="2:0" rst="0">
  62439. <comment>Audio VBAT_PA over voltage protection circuit alert deglitch timer control signal 000 = 0ms 001 = 0.06ms 010 = 0.24ms 011 = 1ms 100 = 4ms 101 = 16ms 110 = 64ms 111 = 256ms</comment>
  62440. </bits>
  62441. </reg>
  62442. <reg name="ana_dcl2" protect="rw">
  62443. <bits access="rw" name="rg_aud_pa_otp_deg_en" pos="12" rst="0">
  62444. <comment>Audio PA over temperature protection circuit alert deglitch enable signal 0 = disable 1 = enable</comment>
  62445. </bits>
  62446. <bits access="rw" name="rg_aud_pa_otp_deg_t" pos="11:9" rst="0">
  62447. <comment>Audio PA over temperature protection circuit alert deglitch timer control signal 000 = 0ms 001 = 0.06ms 010 = 0.24ms 011 = 1ms 100 = 4ms 101 = 16ms 110 = 64ms 111 = 256ms</comment>
  62448. </bits>
  62449. <bits access="rw" name="rg_aud_pa_otp_mute_en" pos="8" rst="0">
  62450. <comment>Audio PA over temperature protection circuit mute enable signal 0 = disable 1 = enable</comment>
  62451. </bits>
  62452. <bits access="rw" name="rg_aud_pa_ocp_deg_en" pos="7" rst="0">
  62453. <comment>Audio PA over temperature protection circuit alert deglitch enable signal 0 = disable 1 = enable</comment>
  62454. </bits>
  62455. <bits access="rw" name="rg_aud_pa_ocp_deg_t" pos="6:4" rst="0">
  62456. <comment>Audio PA over temperature protection circuit alert deglitch timer control signal 000 = 0ms 001 = 0.06ms 010 = 0.24ms 011 = 1ms 100 = 4ms 101 = 16ms 110 = 64ms 111 = 256ms</comment>
  62457. </bits>
  62458. <bits access="rw" name="rg_aud_pa_ocp_mute_en" pos="3" rst="0">
  62459. <comment>Audio PA over current protection circuit mute power down signal 1 = enable mute 0 = disable mute</comment>
  62460. </bits>
  62461. <bits access="rw" name="rg_aud_pa_ocp_mute_t" pos="2:0" rst="0">
  62462. <comment>Audio PA over current protection circuit mute timer control signal 000 = 0ms 001 = 1ms 010 = 4ms 011 = 16ms 100 = 64ms 101 = 256ms 110 = 1s 111 = 4s</comment>
  62463. </bits>
  62464. </reg>
  62465. <hole size="32"/>
  62466. <reg name="ana_dcl4" protect="rw">
  62467. <bits access="rw" name="rg_hpl_depop_chg_cursel" pos="15:8" rst="255">
  62468. <comment>HPL depop DAC current setting</comment>
  62469. </bits>
  62470. <bits access="rw" name="rg_hpr_depop_chg_cursel" pos="7:0" rst="255">
  62471. <comment>HPR depop DAC current setting</comment>
  62472. </bits>
  62473. </reg>
  62474. <reg name="ana_dcl5" protect="rw">
  62475. <bits access="rw" name="rg_aud_hpl_rdac_start" pos="15" rst="1">
  62476. <comment>Reserved, always=1</comment>
  62477. </bits>
  62478. <bits access="rw" name="rg_aud_hpr_rdac_start" pos="14" rst="1">
  62479. <comment>Reserved, always=1</comment>
  62480. </bits>
  62481. <bits access="rw" name="rg_aud_hp_dpop_fdin_en" pos="13" rst="1">
  62482. <comment>Audio HP de-pop fade in function enable signal 0 = disable 1 = enable</comment>
  62483. </bits>
  62484. <bits access="rw" name="rg_aud_hp_dpop_fdout_en" pos="12" rst="1">
  62485. <comment>Audio HP de-pop fade out function enable signal 0 = disable 1 = enable</comment>
  62486. </bits>
  62487. <bits access="rw" name="rg_aud_hp_dpop_gain_n1" pos="11:9" rst="4">
  62488. <comment>Audio HP de-pop gain step (RG_AUD_HP_DPOP_RES_PD=0) 000 = 1 001 = 2 010 = 4 011 = 8 100 = 16 101 = 32 110 = 64 111 = 128</comment>
  62489. </bits>
  62490. <bits access="rw" name="rg_aud_hp_dpop_gain_n2" pos="8:6" rst="0">
  62491. <comment>Audio HP de-pop gain step (RG_AUD_HP_DPOP_RES_PD=0) 000 = 1 001 = 2 010 = 3 011 = 4 100 = 5 101 = 6 110 = 7 111 = 8</comment>
  62492. </bits>
  62493. <bits access="rw" name="rg_aud_hp_dpop_gain_t" pos="5:3" rst="0">
  62494. <comment>Audio HP de-pop gain time step (RG_AUD_HP_DPOP_RES_PD=0) 000 = 30us 001 = 60us 010 = 120us 011 = 250us 100 = 500us 101 = 1ms 110 = 2ms 111 = 4ms</comment>
  62495. </bits>
  62496. <bits access="r" name="rg_aud_hpl_rdac_sts" pos="2" rst="0">
  62497. <comment>Audio HPL_RDAC status signal 0 = unfinish/have never done 1 = finish</comment>
  62498. </bits>
  62499. <bits access="r" name="rg_aud_hpr_rdac_sts" pos="1" rst="0">
  62500. <comment>Audio HPR_RDAC status signal 0 = unfinish/have never done 1 = finish</comment>
  62501. </bits>
  62502. </reg>
  62503. <reg name="ana_dcl6" protect="rw">
  62504. <bits access="rw" name="rg_caldc_wait_t" pos="14:12" rst="0">
  62505. <comment>Audio dc-calibration waiting time, every data change 000 = 2Tclk 001 = 3Tclk 010 = 4Tclk 011 = 5Tclk 100 = 6Tclk 101 = 7Tclk 110 = 8Tclk 111 = 9Tclk</comment>
  62506. </bits>
  62507. <bits access="rw" name="rg_aud_hpl_dpop_clkn1" pos="11:10" rst="0">
  62508. <comment>Audio DePOP HPL DAC clock(start-up) 00 = 1Tclk 01 = 2Tclk 10 = 4Tclk 11 = 8Tclk</comment>
  62509. </bits>
  62510. <bits access="rw" name="rg_aud_hpl_dpop_n1" pos="9:8" rst="0">
  62511. <comment>Audio DePOP HPL DAC data increase step(start-up) 00 = +1 01 = +2 10 = +4 11 = +8</comment>
  62512. </bits>
  62513. <bits access="rw" name="rg_aud_hpl_dpop_val1" pos="7:5" rst="6">
  62514. <comment>Audio DePOP HPL DAC data final value(start-up) 000 = 2 001 = 4 010 = 8 011 = 16 100 = 32 101 = 64 110 = 128 111 =256</comment>
  62515. </bits>
  62516. <bits access="rw" name="rg_aud_hpl_dpop_clkn2" pos="4:3" rst="0">
  62517. <comment>Audio DePOP HPL DAC clock(rising/falling) 00 = 1Tclk 01 = 2Tclk 10 = 4Tclk 11 = 8Tclk</comment>
  62518. </bits>
  62519. <bits access="rw" name="rg_aud_hpl_dpop_n2" pos="2:1" rst="0">
  62520. <comment>Audio DePOP HPL DAC data increase step(rising/falling) 00 = +1 01 = +2 10 = +4 11 = +8</comment>
  62521. </bits>
  62522. </reg>
  62523. <reg name="ana_dcl7" protect="rw">
  62524. <bits access="rw" name="rg_depopl_pcur_opt" pos="14:13" rst="1">
  62525. <comment>depop_hpl_current_sel 00: X2 01:X1 10:X2/3 11:X1/2</comment>
  62526. </bits>
  62527. <bits access="rw" name="rg_depopr_pcur_opt" pos="12:11" rst="1">
  62528. <comment>depop_hpr_current_sel 00: X2 01:X1 10:X2/3 11:X1/2</comment>
  62529. </bits>
  62530. <bits access="rw" name="rg_aud_hpr_dpop_clkn1" pos="10:9" rst="0">
  62531. <comment>Audio DePOP HPR DAC clock(start-up) 00 = 1Tclk 01 = 2Tclk 10 = 4Tclk 11 = 8Tclk</comment>
  62532. </bits>
  62533. <bits access="rw" name="rg_aud_hpr_dpop_n1" pos="8:7" rst="0">
  62534. <comment>Audio DePOP HPR DAC data increase step(start-up) 00 = +1 01 = +2 10 = +4 11 = +8</comment>
  62535. </bits>
  62536. <bits access="rw" name="rg_aud_hpr_dpop_val1" pos="6:4" rst="6">
  62537. <comment>Audio DePOP HPR DAC data final value(start-up) 000 = 2 001 = 4 010 = 8 011 = 16 100 = 32 101 = 64 110 = 128 111 =256</comment>
  62538. </bits>
  62539. <bits access="rw" name="rg_aud_hpr_dpop_clkn2" pos="3:2" rst="0">
  62540. <comment>Audio DePOP HPR DAC clock(rising/falling) 00 = 1Tclk 01 = 2Tclk 10 = 4Tclk 11 = 8Tclk</comment>
  62541. </bits>
  62542. <bits access="rw" name="rg_aud_hpr_dpop_n2" pos="1:0" rst="0">
  62543. <comment>Audio DePOP HPR DAC data increase step(rising/falling) 00 = +1 01 = +2 10 = +4 11 = +8</comment>
  62544. </bits>
  62545. </reg>
  62546. <reg name="ana_sts0" protect="rw">
  62547. <bits access="rw" name="rg_hp_depop_wait_t1" pos="15:13" rst="4">
  62548. <comment>depop_runing time 000: 10ms 001: 20ms 010: 40ms 011: 80ms 100:160ms 101: 320ms 110: 640ms 111: 1280ms</comment>
  62549. </bits>
  62550. <bits access="rw" name="rg_hp_depop_wait_t2" pos="12:10" rst="4">
  62551. <comment>depop_finish waiting time 000: 10ms 001: 20ms 010: 40ms 011: 80ms 100:160ms 101: 320ms 110: 640ms 111: 1280ms</comment>
  62552. </bits>
  62553. <bits access="rw" name="rg_hp_depop_wait_t3" pos="9:8" rst="2">
  62554. <comment>CHG_EN_Delay time 00: 1Tclk 01: 2Tclk 10: 4Tclk 11: 8Tclk</comment>
  62555. </bits>
  62556. <bits access="rw" name="rg_hp_depop_wait_t4" pos="7:6" rst="2">
  62557. <comment>depop path on delay time 00: 1Tclk 01: 2Tclk 10: 4Tclk 11: 8Tclk</comment>
  62558. </bits>
  62559. <bits access="rw" name="rg_dc_cali_idacval" pos="5:3" rst="4">
  62560. <comment>DCCALI_IDAC_repeat_goal 000: 8 001: 9 010: 10 011:11 100:12 101:13 110:14 111:7</comment>
  62561. </bits>
  62562. <bits access="rw" name="dc_cali_idac_cursel" pos="2:1" rst="0">
  62563. <comment>IDAC LSB SETTING: 00: 10nA 01:15nA 10:5nA 11:10nA</comment>
  62564. </bits>
  62565. <bits access="rw" name="rg_dccali_rdaci_adj" pos="0" rst="0">
  62566. <comment>RDAC current enhancement 0 = X1 1 = X2</comment>
  62567. </bits>
  62568. </reg>
  62569. <hole size="32"/>
  62570. <reg name="ana_sts2" protect="rw">
  62571. <bits access="rw" name="rg_caldc_start" pos="15" rst="0">
  62572. <comment>DC-calibraion start signal 0 ---&gt; 1 start calibration</comment>
  62573. </bits>
  62574. <bits access="rw" name="rg_caldc_en" pos="14" rst="0">
  62575. <comment>DC-calibraion enable signal (digital) 0: disable 1: enable</comment>
  62576. </bits>
  62577. <bits access="rw" name="rg_caldc_eno" pos="13" rst="0">
  62578. <comment>DC-calibraion enable signal (analog) 0: disable 1: enable</comment>
  62579. </bits>
  62580. <bits access="r" name="rg_aud_dccal_sts" pos="12" rst="0">
  62581. <comment>Audio DC-calibration status signal 0 = unfinish/have never done 1 = finish</comment>
  62582. </bits>
  62583. <bits access="rw" name="rg_dccali_sts_bypass" pos="11" rst="0">
  62584. <comment>DCCALI_STS_BYPASS=0, not bypass DCCALI_process DCCALI_STS_BYPASS=1, bypass DCCALI_process</comment>
  62585. </bits>
  62586. <bits access="r" name="rg_aud_hp_dpop_dvld" pos="10" rst="0">
  62587. <comment>Audio DC-calibration finish insert signal 0 = unfinish 1 = finish</comment>
  62588. </bits>
  62589. <bits access="rw" name="rg_depop_chg_start" pos="9" rst="0">
  62590. <comment>depop start signal 0 ---&gt; 1 start calibration</comment>
  62591. </bits>
  62592. <bits access="rw" name="rg_depop_chg_en" pos="8" rst="0">
  62593. <comment>depop charge en 0: disable 1:enable</comment>
  62594. </bits>
  62595. <bits access="rw" name="rg_aud_plugin" pos="7" rst="0">
  62596. <comment>plug_in=1, headphone has been inserted</comment>
  62597. </bits>
  62598. <bits access="rw" name="rg_depop_en" pos="6" rst="0">
  62599. <comment>depop_ana_en 0: disable 1:enable</comment>
  62600. </bits>
  62601. <bits access="r" name="rg_depop_chg_sts" pos="5" rst="0">
  62602. <comment>Audio plug-in depop status signal 0 = depop not finish 1 = depop finish</comment>
  62603. </bits>
  62604. <bits access="r" name="rg_aud_rcv_dpop_dvld" pos="4" rst="0">
  62605. <comment>Audio plug-in depop charge finish insert signal 0 = unfinish 1 = finish</comment>
  62606. </bits>
  62607. <bits access="rw" name="rg_hpl_pu_enb" pos="3" rst="0">
  62608. <comment>HPL_pull_up enable 0: pull up enable 1: pull up disable</comment>
  62609. </bits>
  62610. <bits access="rw" name="rg_hpr_pu_enb" pos="2" rst="0">
  62611. <comment>HPR_pull_up enable 0: pull up enable 1: pull up disable</comment>
  62612. </bits>
  62613. <bits access="rw" name="rg_insbuf_en" pos="1" rst="0">
  62614. <comment>INSBUF_EN 0: disable 1:enable</comment>
  62615. </bits>
  62616. </reg>
  62617. <reg name="ana_sts3" protect="rw">
  62618. <bits access="rw" name="rg_aud_clk3_reserve" pos="11:10" rst="0">
  62619. <comment>Reserved</comment>
  62620. </bits>
  62621. <bits access="rw" name="rg_depop_bias_sel" pos="9:8" rst="0">
  62622. <comment>AUD_DRV_DEPOP_BIAS_CURRENT SEL 00: 1.25uA 01:2.5uA 10:3.75uA 11:5uA</comment>
  62623. </bits>
  62624. <bits access="rw" name="rg_depop_opa_sel" pos="7:6" rst="0">
  62625. <comment>AUD_DRV_DEPOP_OPA_CURRENT SEL 00: LS_I=5uA, LS_R=100K 01: LS_I=10uA, LS_R=100K 10: LS_I=5uA, LS_R=50K 11: LS_I=10uA,LS_R=50K</comment>
  62626. </bits>
  62627. <bits access="rw" name="rg_aud_hwsw_sel" pos="5:0" rst="0">
  62628. <comment>Hardware control/software control sel &lt;3&gt;: 0: depend on analog comp value 1: bypass analog comp value &lt;2&gt;: 0: RG_AUD_VCMI_SEL change, repeat dccali 1: change RG_AUD_VCMI_SEL, get two dccali value, choose any according RG_AUD_VCMI_SEL =0/=1 &lt;1&gt;: 0: hw control DC_CALI_IDAC_CURSEL, 1: sw control DC_CALI_IDAC_CURSEL &lt;0&gt;: 0: hw control RG_HPL_PU_ENB, RG_HPR_PU_ENB, RG_INSBUF_EN 1: sw control RG_HPL_PU_ENB, RG_HPR_PU_ENB, RG_INSBUF_EN</comment>
  62629. </bits>
  62630. </reg>
  62631. <reg name="ana_sts4" protect="r">
  62632. <bits access="r" name="hpl_dccal_rdacl" pos="15:8" rst="0">
  62633. <comment>HPL_DCCALI_RDAC_VALUE</comment>
  62634. </bits>
  62635. <bits access="r" name="hpr_dccal_rdacl" pos="7:4" rst="0">
  62636. <comment>HPR_DCCALI_RDAC_VALUE</comment>
  62637. </bits>
  62638. <bits access="r" name="hpl_dccal_idacl_sel" pos="3:2" rst="0">
  62639. <comment>HPL_DCCALI_IDAC_path</comment>
  62640. </bits>
  62641. <bits access="r" name="hpr_dccal_idacl_sel" pos="1:0" rst="0">
  62642. <comment>HPR_DCCALI_IDAC_path</comment>
  62643. </bits>
  62644. </reg>
  62645. <reg name="ana_sts5" protect="r">
  62646. <bits access="r" name="hpl_dccal_idacl" pos="15:11" rst="0">
  62647. <comment>HPL_DCCALI_IDAC_VALUE</comment>
  62648. </bits>
  62649. <bits access="r" name="hpr_dccal_idacl" pos="10:6" rst="0">
  62650. <comment>HPR_DCCALI_IDAC_VALUE</comment>
  62651. </bits>
  62652. <bits access="r" name="rg_hpl_comp_ins" pos="5:4" rst="0">
  62653. <comment>HPL_DCCALI_IDAC_VALUE</comment>
  62654. </bits>
  62655. <bits access="r" name="rg_hpr_comp_ins" pos="3:2" rst="0">
  62656. <comment>HPR_DCCALI_IDAC_VALUE</comment>
  62657. </bits>
  62658. </reg>
  62659. <reg name="ana_sts6" protect="r">
  62660. <bits access="r" name="rg_aud_pacal_do" pos="15:3" rst="0">
  62661. <comment>Audio PA clock calibration data delta output</comment>
  62662. </bits>
  62663. <bits access="r" name="rg_aud_pacal_dvld" pos="2" rst="0">
  62664. <comment>Audio PA clock calibration data valid signal 0 = not valid 1 = data valid</comment>
  62665. </bits>
  62666. </reg>
  62667. <reg name="ana_sts7" protect="r">
  62668. <bits access="r" name="rg_aud_head_insert_all" pos="12" rst="0">
  62669. <comment>Audio headset insert alert signal (need software anti-dither) 0 = normal 1 = plug in</comment>
  62670. </bits>
  62671. <bits access="r" name="rg_aud_head_insert3" pos="11" rst="0">
  62672. <comment>Audio headset-H insert alert signal (need software anti-dither) 0 = normal 1 = plug in</comment>
  62673. </bits>
  62674. <bits access="r" name="rg_aud_head_insert2" pos="10" rst="0">
  62675. <comment>Audio headset-L insert alert signal (need software anti-dither) 0 = normal 1 = plug in</comment>
  62676. </bits>
  62677. <bits access="r" name="rg_aud_head_insert" pos="9" rst="0">
  62678. <comment>Audio headset microphone insert alert signal (need software anti-dither) 0 = normal 1 = plug in</comment>
  62679. </bits>
  62680. <bits access="r" name="rg_aud_head_button" pos="8" rst="0">
  62681. <comment>Audio headset microphone button press alert signal (need software anti-dither) 0 = normal 1 = button press</comment>
  62682. </bits>
  62683. <bits access="r" name="rg_aud_pa_sh_flag" pos="7" rst="0">
  62684. <comment>Audio PA output short to VBAT detect ALERT signal 0 = normal 1 = short</comment>
  62685. </bits>
  62686. <bits access="r" name="rg_aud_pa_sl_flag" pos="6" rst="0">
  62687. <comment>Audio PA output short to GND detect ALERT signal 0 = normal 1 = short</comment>
  62688. </bits>
  62689. <bits access="r" name="rg_aud_pa_ovp_flag" pos="5" rst="0">
  62690. <comment>Audio PA over voltage protection circuit alert signal 0 = normal 1 = over temperature</comment>
  62691. </bits>
  62692. <bits access="r" name="rg_aud_pa_otp_flag" pos="4" rst="0">
  62693. <comment>Audio PA over temperature protection circuit alert signal 0 = normal 1 = over temperature</comment>
  62694. </bits>
  62695. <bits access="r" name="rg_aud_drv_ocp_flag" pos="3:0" rst="0">
  62696. <comment>Audio Driver over current protection circuit alert signal &lt;3:2&gt; for SPK &lt;1:0&gt; for Headphone/Earpiece</comment>
  62697. </bits>
  62698. </reg>
  62699. <reg name="ana_clk1" protect="rw">
  62700. <bits access="rw" name="rg_aud_dcdcgen_clk_f" pos="15:14" rst="0">
  62701. <comment>DCDC GEN/MEM clock frequency select (based on Fclk=6.5MHz) 00 = Fclk/4 01 = Fclk / 3 10/11 = Fclk / 2</comment>
  62702. </bits>
  62703. <bits access="rw" name="rg_aud_dcdccore_clk_f" pos="13:12" rst="0">
  62704. <comment>DCDC CORE clock frequency select (based on Fclk=6.5MHz) 00 = Fclk/4 01 = Fclk / 3 10/11 = Fclk / 2</comment>
  62705. </bits>
  62706. <bits access="rw" name="rg_aud_dcdcchg_clk_f" pos="11:10" rst="0">
  62707. <comment>DCDC CHG clock frequency select (based on Fclk=6.5MHz) 00 = Fclk/4 01 = Fclk / 3 10/11 = Fclk / 2</comment>
  62708. </bits>
  62709. <bits access="rw" name="rg_aud_pa_clk_f" pos="9:8" rst="2">
  62710. <comment>Audio PA clock frequency select (based on ADC Clock) 00 = 1/2 01 = 1/4 10 = 1/8 11 = 1/16</comment>
  62711. </bits>
  62712. <bits access="rw" name="rg_aud_clk_pn_sel" pos="7:0" rst="4">
  62713. <comment>Audio clock PN select (If RG_AUD_AD_CLK_F[1:0]=00 or 10 &amp; RG_AUD_DA_CLK_F[1:0]=00, RG_AUD_CLK_PN_SEL) &lt;0&gt; CLK_AUD_DIG_LOOP &lt;1&gt; CLK_AUD_DIG_6P5M &lt;2&gt; CLK_AUD_DAC &lt;3&gt; CLK_AUD_ADC &lt;4&gt; CLK_AUD_DCDCGEN &lt;5&gt; CLK_AUD_VAD_CLK_SEL &lt;6&gt; CLK_AUD_DCDCCORE &lt;7&gt; RG_AUD_VB_V&lt;5&gt;</comment>
  62714. </bits>
  62715. </reg>
  62716. </module>
  62717. </archive>
  62718. <archive relative="rda2720m_aud_ifa.xml">
  62719. <module category="RDA2720M" name="RDA2720M_AUD_IFA">
  62720. <reg name="reserved" protect="r">
  62721. </reg>
  62722. <reg name="adcfifostatus" protect="r">
  62723. <bits access="r" name="adc_fifo_af" pos="8" rst="1">
  62724. <comment>ADC FIFO almost full signal</comment>
  62725. </bits>
  62726. <bits access="r" name="adc_fifo_empty_r" pos="7" rst="1">
  62727. <comment>ADC FIFO real empty. There is no data in ADC FIFO</comment>
  62728. </bits>
  62729. <bits access="r" name="adc_fifo_full_w" pos="6" rst="1">
  62730. <comment>ADC FIFO real full.</comment>
  62731. </bits>
  62732. <bits access="r" name="adc_fifo_addr_r" pos="5:3" rst="3">
  62733. <comment>ADC FIFO read address</comment>
  62734. </bits>
  62735. <bits access="r" name="adc_fifo_addr_w" pos="2:0" rst="3">
  62736. <comment>ADC FIFO write address</comment>
  62737. </bits>
  62738. </reg>
  62739. <reg name="dac_fifo_sts" protect="r">
  62740. <bits access="r" name="dac_fifo_empty_r" pos="7" rst="1">
  62741. <comment>DAC FIFO real empty. There is no data in ADC FIFO</comment>
  62742. </bits>
  62743. <bits access="r" name="dac_fifo_full_w" pos="6" rst="1">
  62744. <comment>DAC FIFO real full.</comment>
  62745. </bits>
  62746. <bits access="r" name="dac_fifo_addr_r" pos="5:3" rst="3">
  62747. <comment>DAC FIFO read address</comment>
  62748. </bits>
  62749. <bits access="r" name="dac_fifo_addr_w" pos="2:0" rst="3">
  62750. <comment>DAC FIFO write address</comment>
  62751. </bits>
  62752. </reg>
  62753. <reg name="audif_sts" protect="r">
  62754. <bits access="r" name="cur_st" pos="7:6" rst="2">
  62755. <comment>Internal fsm state</comment>
  62756. </bits>
  62757. <bits access="r" name="cnt" pos="5:3" rst="2">
  62758. <comment>Internal counter</comment>
  62759. </bits>
  62760. <bits access="r" name="rx_cnt" pos="2:1" rst="2">
  62761. <comment>Internal counter</comment>
  62762. </bits>
  62763. <bits access="r" name="adc_rx_data_rdy" pos="0" rst="1">
  62764. <comment>If 1, begin to receive data from A-die</comment>
  62765. </bits>
  62766. </reg>
  62767. <reg name="raw_sts" protect="w">
  62768. </reg>
  62769. <reg name="raw_sts_clr" protect="w">
  62770. </reg>
  62771. </module>
  62772. </archive>
  62773. <archive relative="rda2720m_bltc.xml">
  62774. <module category="RDA2720M" name="RDA2720M_BLTC">
  62775. <reg name="bltc_ctrl" protect="rw">
  62776. <bits access="rw" name="wled_sw" pos="15" rst="1">
  62777. <comment>BLTC WLED output value when by SW.</comment>
  62778. </bits>
  62779. <bits access="rw" name="wled_sel" pos="14" rst="1">
  62780. <comment>BLTC WLED output selection 1: output by SW; 0: output by HW.</comment>
  62781. </bits>
  62782. <bits access="rw" name="wled_type" pos="13" rst="1">
  62783. <comment>BLTC WLED output type 1: Normal PWM; 0: Breath light.</comment>
  62784. </bits>
  62785. <bits access="rw" name="wled_run" pos="12" rst="1">
  62786. <comment>BLTC WLED run 1: start BLTC WLED; 0: stop BLTC WLED.</comment>
  62787. </bits>
  62788. <bits access="rw" name="b_sw" pos="11" rst="1">
  62789. <comment>BLTC B output value when by SW.</comment>
  62790. </bits>
  62791. <bits access="rw" name="b_sel" pos="10" rst="1">
  62792. <comment>BLTC B output selection 1: output by SW; 0: output by HW.</comment>
  62793. </bits>
  62794. <bits access="rw" name="b_type" pos="9" rst="1">
  62795. <comment>BLTC B output type 1: Normal PWM; 0: Breath light.</comment>
  62796. </bits>
  62797. <bits access="rw" name="b_run" pos="8" rst="1">
  62798. <comment>BLTC B run 1: start BLTC B; 0: stop BLTC B.</comment>
  62799. </bits>
  62800. <bits access="rw" name="g_sw" pos="7" rst="1">
  62801. <comment>BLTC G output value when by SW.</comment>
  62802. </bits>
  62803. <bits access="rw" name="g_sel" pos="6" rst="1">
  62804. <comment>BLTC G output selection 1: output by SW; 0: output by HW.</comment>
  62805. </bits>
  62806. <bits access="rw" name="g_type" pos="5" rst="1">
  62807. <comment>BLTC G output type 1: Normal PWM; 0: Breath light.</comment>
  62808. </bits>
  62809. <bits access="rw" name="g_run" pos="4" rst="1">
  62810. <comment>BLTC G run 1: start BLTC G; 0: stop BLTC G.</comment>
  62811. </bits>
  62812. <bits access="rw" name="r_sw" pos="3" rst="1">
  62813. <comment>BLTC R output value when by SW.</comment>
  62814. </bits>
  62815. <bits access="rw" name="r_sel" pos="2" rst="1">
  62816. <comment>BLTC R output selection 1: output by SW; 0: output by HW.</comment>
  62817. </bits>
  62818. <bits access="rw" name="r_type" pos="1" rst="1">
  62819. <comment>BLTC R output type 1: Normal PWM; 0: Breath light.</comment>
  62820. </bits>
  62821. <bits access="rw" name="r_run" pos="0" rst="1">
  62822. <comment>BLTC R run 1: start BLTC R; 0: stop BLTC R.</comment>
  62823. </bits>
  62824. </reg>
  62825. <reg name="bltc_r_prescl" protect="rw">
  62826. <bits access="rw" name="prescl" pos="7:0" rst="0">
  62827. <comment>BLTC prescale coefficient.</comment>
  62828. </bits>
  62829. </reg>
  62830. <reg name="bltc_r_duty" protect="rw">
  62831. <bits access="rw" name="duty" pos="15:8" rst="0">
  62832. <comment>PWM duty counter,duty cycle = duty /(mod+1)</comment>
  62833. </bits>
  62834. <bits access="rw" name="mod" pos="7:0" rst="0">
  62835. <comment>PWM mod counter.</comment>
  62836. </bits>
  62837. </reg>
  62838. <reg name="bltc_r_curve0" protect="rw">
  62839. <bits access="rw" name="tfall" pos="13:8" rst="6">
  62840. <comment>Output falling time, its unit is 0.125s, it should be &gt;0.</comment>
  62841. </bits>
  62842. <bits access="rw" name="trise" pos="5:0" rst="6">
  62843. <comment>Output rising time, its unit is 0.125s, it should be &gt;0.</comment>
  62844. </bits>
  62845. </reg>
  62846. <reg name="bltc_r_curve1" protect="rw">
  62847. <bits access="rw" name="tlow" pos="15:8" rst="0">
  62848. <comment>Output low time, its unit is 0.125s, it should be &gt;0.</comment>
  62849. </bits>
  62850. <bits access="rw" name="thigh" pos="7:0" rst="0">
  62851. <comment>Output high time, its unit is 0.125s, it should be &gt;0.</comment>
  62852. </bits>
  62853. </reg>
  62854. <reg name="bltc_g_prescl" protect="rw">
  62855. <bits access="rw" name="prescl" pos="7:0" rst="0">
  62856. <comment>BLTC prescale coefficient.</comment>
  62857. </bits>
  62858. </reg>
  62859. <reg name="bltc_g_duty" protect="rw">
  62860. <bits access="rw" name="duty" pos="15:8" rst="0">
  62861. <comment>PWM duty counter,duty cycle = duty /(mod+1)</comment>
  62862. </bits>
  62863. <bits access="rw" name="mod" pos="7:0" rst="0">
  62864. <comment>PWM mod counter.</comment>
  62865. </bits>
  62866. </reg>
  62867. <reg name="bltc_g_curve0" protect="rw">
  62868. <bits access="rw" name="tfall" pos="13:8" rst="6">
  62869. <comment>Output falling time, its unit is 0.125s, it should be &gt;0.</comment>
  62870. </bits>
  62871. <bits access="rw" name="trise" pos="5:0" rst="6">
  62872. <comment>Output rising time, its unit is 0.125s, it should be &gt;0.</comment>
  62873. </bits>
  62874. </reg>
  62875. <reg name="bltc_g_curve1" protect="rw">
  62876. <bits access="rw" name="tlow" pos="15:8" rst="0">
  62877. <comment>Output low time, its unit is 0.125s, it should be &gt;0.</comment>
  62878. </bits>
  62879. <bits access="rw" name="thigh" pos="7:0" rst="0">
  62880. <comment>Output high time, its unit is 0.125s, it should be &gt;0.</comment>
  62881. </bits>
  62882. </reg>
  62883. <reg name="bltc_b_prescl" protect="rw">
  62884. <bits access="rw" name="prescl" pos="7:0" rst="0">
  62885. <comment>BLTC prescale coefficient.</comment>
  62886. </bits>
  62887. </reg>
  62888. <reg name="bltc_b_duty" protect="rw">
  62889. <bits access="rw" name="duty" pos="15:8" rst="0">
  62890. <comment>PWM duty counter,duty cycle = duty /(mod+1)</comment>
  62891. </bits>
  62892. <bits access="rw" name="mod" pos="7:0" rst="0">
  62893. <comment>PWM mod counter.</comment>
  62894. </bits>
  62895. </reg>
  62896. <reg name="bltc_b_curve0" protect="rw">
  62897. <bits access="rw" name="tfall" pos="13:8" rst="6">
  62898. <comment>Output falling time, its unit is 0.125s, it should be &gt;0.</comment>
  62899. </bits>
  62900. <bits access="rw" name="trise" pos="5:0" rst="6">
  62901. <comment>Output rising time, its unit is 0.125s, it should be &gt;0.</comment>
  62902. </bits>
  62903. </reg>
  62904. <reg name="bltc_b_curve1" protect="rw">
  62905. <bits access="rw" name="tlow" pos="15:8" rst="0">
  62906. <comment>Output low time, its unit is 0.125s, it should be &gt;0.</comment>
  62907. </bits>
  62908. <bits access="rw" name="thigh" pos="7:0" rst="0">
  62909. <comment>Output high time, its unit is 0.125s, it should be &gt;0.</comment>
  62910. </bits>
  62911. </reg>
  62912. <reg name="bltc_sts" protect="r">
  62913. <bits access="r" name="bltc_wled_busy" pos="3" rst="1">
  62914. <comment>BLTC WLED busy, active high.</comment>
  62915. </bits>
  62916. <bits access="r" name="bltc_b_busy" pos="2" rst="1">
  62917. <comment>BLTC B busy, active high.</comment>
  62918. </bits>
  62919. <bits access="r" name="bltc_g_busy" pos="1" rst="1">
  62920. <comment>BLTC G busy, active high.</comment>
  62921. </bits>
  62922. <bits access="r" name="bltc_r_busy" pos="0" rst="1">
  62923. <comment>BLTC R busy, active high.</comment>
  62924. </bits>
  62925. </reg>
  62926. <reg name="rg_rgb_v0" protect="rw">
  62927. <bits access="rw" name="rg_rgb_v0" pos="5:0" rst="6">
  62928. <comment>Current control bit. 64 steps. Min current: 1.68mA (000000) One step is 0.84mA (default 6b0)</comment>
  62929. </bits>
  62930. </reg>
  62931. <reg name="rg_rgb_v1" protect="rw">
  62932. <bits access="rw" name="rg_rgb_v1" pos="5:0" rst="6">
  62933. <comment>Current control bit. 64 steps. Min current: 1.68mA (000000) One step is 0.84mA (default 6b0)</comment>
  62934. </bits>
  62935. </reg>
  62936. <reg name="rg_rgb_v2" protect="rw">
  62937. <bits access="rw" name="rg_rgb_v2" pos="5:0" rst="6">
  62938. <comment>Current control bit. 64 steps. Min current: 1.68mA (000000) One step is 0.84mA (default 6b0)</comment>
  62939. </bits>
  62940. </reg>
  62941. <reg name="rg_rgb_v3" protect="rw">
  62942. <bits access="rw" name="rg_rgb_v3" pos="5:0" rst="6">
  62943. <comment>Current control bit. 64 steps. Min current: 1.68mA (000000) One step is 0.84mA (default 6b0)</comment>
  62944. </bits>
  62945. </reg>
  62946. <reg name="bltc_wled_prescl" protect="rw">
  62947. <bits access="rw" name="prescl" pos="7:0" rst="0">
  62948. <comment>BLTC prescale coefficient.</comment>
  62949. </bits>
  62950. </reg>
  62951. <reg name="bltc_wled_duty" protect="rw">
  62952. <bits access="rw" name="duty" pos="15:8" rst="0">
  62953. <comment>PWM duty counter,duty cycle = duty /(mod+1)</comment>
  62954. </bits>
  62955. <bits access="rw" name="mod" pos="7:0" rst="0">
  62956. <comment>PWM mod counter.</comment>
  62957. </bits>
  62958. </reg>
  62959. <reg name="bltc_wled_curve0" protect="rw">
  62960. <bits access="rw" name="tfall" pos="13:8" rst="6">
  62961. <comment>Output falling time, its unit is 0.125s, it should be &gt;0.</comment>
  62962. </bits>
  62963. <bits access="rw" name="trise" pos="5:0" rst="6">
  62964. <comment>Output rising time, its unit is 0.125s, it should be &gt;0.</comment>
  62965. </bits>
  62966. </reg>
  62967. <reg name="bltc_wled_curve1" protect="rw">
  62968. <bits access="rw" name="tlow" pos="15:8" rst="0">
  62969. <comment>Output low time, its unit is 0.125s, it should be &gt;0.</comment>
  62970. </bits>
  62971. <bits access="rw" name="thigh" pos="7:0" rst="0">
  62972. <comment>Output high time, its unit is 0.125s, it should be &gt;0.</comment>
  62973. </bits>
  62974. </reg>
  62975. <reg name="bltc_pd_ctrl" protect="rw">
  62976. <bits access="rw" name="hw_pd" pos="1" rst="1">
  62977. <comment>Power down signal 0:bltc_pd depend on SW_PD 1:bltc_pd depend on bltc output</comment>
  62978. </bits>
  62979. <bits access="rw" name="sw_pd" pos="0" rst="1">
  62980. <comment>Power down signal : 0: Power on the reference current source 1: Power down the reference current source</comment>
  62981. </bits>
  62982. </reg>
  62983. <reg name="bltc_version" protect="r">
  62984. <bits access="r" name="bltc_version" pos="15:0" rst="14">
  62985. <comment>BLTC_VERSION information Default value is 16h0100 (r1p0)</comment>
  62986. </bits>
  62987. </reg>
  62988. </module>
  62989. </archive>
  62990. <archive relative="rda2720m_cal.xml">
  62991. <module category="RDA2720M" name="RDA2720M_CAL">
  62992. <reg name="osc_cal_star" protect="rw">
  62993. <bits access="rw" name="cal_start_busy" pos="0" rst="1">
  62994. <comment>Write this bit 1 will start calibration process, write 0 has no effect Read this this will get the current calibration status. If 1, means the calibration is on progress. If 0, means calibration is finished, current is idle.</comment>
  62995. </bits>
  62996. </reg>
  62997. <reg name="osc_cal_cycle_p0" protect="rw">
  62998. <bits access="rw" name="cal_cycle_p0" pos="15:0" rst="14">
  62999. <comment>Calibration cycle control, this is the low part of calibration cycle. Coupled with CAL_CYCLE_P1[7:0], the whole calibration cycles is : Calibration cycle = {CAL_CYCLE_P1[7:0],CAL_CYCLE_P0[15:0]}; The calibration cycle means using how many self-oscillator clocks to do calibration, the more cycles used, the more accuracy will be achieved. To make calculation simple, calibration cycle should be multiple of 2, that means, Calibration cycle = 2^n</comment>
  63000. </bits>
  63001. </reg>
  63002. <reg name="osc_cal_cycle_p1" protect="rw">
  63003. <bits access="rw" name="cal_cycle_p1" pos="7:0" rst="0">
  63004. <comment>Calibration cycle control, this is the high part of calibration cycle.</comment>
  63005. </bits>
  63006. </reg>
  63007. <reg name="osc_cal_result_p0" protect="r">
  63008. <bits access="r" name="cal_result_p0" pos="15:0" rst="14">
  63009. <comment>Calibration result, part 0. Coupled with CAL_RESULT_P1, the total calibration result is : Cal result = {CAL_RESULT_P1[15:0],CAL_RESULT_P0[15:0]}</comment>
  63010. </bits>
  63011. </reg>
  63012. <reg name="osc_cal_result_p1" protect="r">
  63013. <bits access="r" name="cal_result_p1" pos="15:0" rst="14">
  63014. <comment>Calibration result, part 1.</comment>
  63015. </bits>
  63016. </reg>
  63017. <reg name="osc_div_fac_upd" protect="rw">
  63018. <bits access="rw" name="osc_div_fac_upd" pos="0" rst="1">
  63019. <comment>Write this bit 1 will start 32k sigma-delta divider factor update process. write 0 has no effect Read this this will get the current update process status. If 1, means the update process is not finished. If 0, means this process is finished,current is idle.</comment>
  63020. </bits>
  63021. </reg>
  63022. <reg name="osc_div_fac_frac" protect="rw">
  63023. <bits access="rw" name="osc_div_fac_frac" pos="15:0" rst="14">
  63024. <comment>32k sigma-delta divider factor fraction part. This field is part of the fraction bits.</comment>
  63025. </bits>
  63026. </reg>
  63027. <reg name="osc_div_fac_int" protect="rw">
  63028. <bits access="rw" name="osc_div_fac_int" pos="3:0" rst="4">
  63029. <comment>32k sigma-delta divider integer.</comment>
  63030. </bits>
  63031. </reg>
  63032. <reg name="osc_div_int_en" protect="rw">
  63033. <bits access="rw" name="osc_fac_upd_done_int_en" pos="1" rst="1">
  63034. <comment>Factor update done interrupt enable</comment>
  63035. </bits>
  63036. <bits access="rw" name="osc_cal_done_int_en" pos="0" rst="1">
  63037. <comment>Calibration done interrupt enable..</comment>
  63038. </bits>
  63039. </reg>
  63040. <reg name="osc_div_int_clr" protect="rw">
  63041. <bits access="rw" name="osc_fac_upd_done_int_clr" pos="1" rst="1">
  63042. <comment>Write 1 to this bit will clear OSC_FAC_UPD_DONE_INT_RAWWrite 0 has no effect</comment>
  63043. </bits>
  63044. <bits access="rw" name="osc_cal_done_int_clr" pos="0" rst="1">
  63045. <comment>Write 1 to this bit will clear OSC_CAL_DONE_INT_RAWWrite 0 has no effect</comment>
  63046. </bits>
  63047. </reg>
  63048. <reg name="osc_div_int_raw" protect="r">
  63049. <bits access="r" name="osc_fac_upd_done_int_raw" pos="1" rst="1">
  63050. <comment>Interrupt raw bits, 1 means factor update process has finished.</comment>
  63051. </bits>
  63052. <bits access="r" name="osc_cal_done_int_raw" pos="0" rst="1">
  63053. <comment>Interrupt raw bits, 1 means self-oscillator calibration process has finished.</comment>
  63054. </bits>
  63055. </reg>
  63056. </module>
  63057. </archive>
  63058. <archive relative="rda2720m_rf_mode.xml">
  63059. <module category="RDA2720M" name="RDA2720M_RF_MODE">
  63060. <reg name="test_ctrl" protect="rw">
  63061. <bits access="rw" name="ptest_amode_en" pos="8" rst="0">
  63062. <comment>0: Function test mode
  63063. 1: Analog test mode</comment>
  63064. </bits>
  63065. <bits access="rw" name="rf_test_mode" pos="7:0" rst="0">
  63066. <comment>0: IOMODE
  63067. 1-255: Analog Test Mode</comment>
  63068. </bits>
  63069. </reg>
  63070. <reg name="test_status" protect="r">
  63071. <bits access="r" name="ptest_analog_mode_en" pos="4" rst="0">
  63072. </bits>
  63073. <bits access="r" name="ptest_io_mode" pos="3" rst="0">
  63074. </bits>
  63075. <bits access="r" name="ptest_func_mode" pos="2" rst="0">
  63076. </bits>
  63077. <bits access="r" name="ptest_scan_mode" pos="1" rst="0">
  63078. </bits>
  63079. <bits access="r" name="ptest_mode" pos="0" rst="0">
  63080. </bits>
  63081. </reg>
  63082. <reg name="test_io_in" protect="r">
  63083. <bits access="r" name="test_io_in" pos="12:0" rst="0">
  63084. </bits>
  63085. </reg>
  63086. <reg name="test_io_out" protect="rw">
  63087. <bits access="rw" name="test_io_out" pos="12:0" rst="0">
  63088. </bits>
  63089. </reg>
  63090. <reg name="test_io_ie" protect="rw">
  63091. <bits access="rw" name="test_io_ie" pos="12:0" rst="0">
  63092. </bits>
  63093. </reg>
  63094. <reg name="test_io_oe" protect="rw">
  63095. <bits access="rw" name="test_io_oe" pos="12:0" rst="0">
  63096. </bits>
  63097. </reg>
  63098. <reg name="for_ldo_0" protect="rw">
  63099. <bits access="rw" name="force_ldo_rf15" pos="15" rst="0">
  63100. </bits>
  63101. <bits access="rw" name="force_ldo_camd" pos="14" rst="0">
  63102. </bits>
  63103. <bits access="rw" name="force_ldo_lcd" pos="13" rst="0">
  63104. </bits>
  63105. <bits access="rw" name="force_ldo_usb33" pos="11" rst="0">
  63106. </bits>
  63107. <bits access="rw" name="force_ldo_dcxo" pos="10" rst="0">
  63108. </bits>
  63109. <bits access="rw" name="force_ldo_mem" pos="9" rst="0">
  63110. </bits>
  63111. <bits access="rw" name="force_ldo_spimem" pos="8" rst="0">
  63112. </bits>
  63113. <bits access="rw" name="force_ldo_vio18" pos="7" rst="0">
  63114. </bits>
  63115. <bits access="rw" name="force_ldo_ddr12" pos="6" rst="0">
  63116. </bits>
  63117. <bits access="rw" name="force_ldo_ana" pos="5" rst="0">
  63118. </bits>
  63119. <bits access="rw" name="force_ldo_sim1" pos="3" rst="0">
  63120. </bits>
  63121. <bits access="rw" name="force_ldo_sim0" pos="2" rst="0">
  63122. </bits>
  63123. <bits access="rw" name="force_ldo_cama" pos="0" rst="0">
  63124. </bits>
  63125. </reg>
  63126. <reg name="for_ldo_1" protect="rw">
  63127. <bits access="rw" name="force_ldo_cp" pos="7" rst="0">
  63128. </bits>
  63129. <bits access="rw" name="force_ldo_emm" pos="6" rst="0">
  63130. </bits>
  63131. <bits access="rw" name="force_ldo_kpled" pos="5" rst="0">
  63132. </bits>
  63133. <bits access="rw" name="force_ldo_vibr" pos="4" rst="0">
  63134. </bits>
  63135. <bits access="rw" name="force_ldo_con" pos="3" rst="0">
  63136. </bits>
  63137. <bits access="rw" name="force_ldo_emmc" pos="2" rst="0">
  63138. </bits>
  63139. <bits access="rw" name="force_ldo_vdd28" pos="1" rst="0">
  63140. </bits>
  63141. </reg>
  63142. <reg name="for_dcdc" protect="rw">
  63143. <bits access="rw" name="force_dcdc_core_low_vol" pos="9" rst="0">
  63144. </bits>
  63145. <bits access="rw" name="force_osc3m" pos="8" rst="0">
  63146. </bits>
  63147. <bits access="rw" name="force_vpa" pos="7" rst="0">
  63148. </bits>
  63149. <bits access="rw" name="force_vgen" pos="5" rst="0">
  63150. </bits>
  63151. <bits access="rw" name="force_vcore" pos="2" rst="0">
  63152. </bits>
  63153. </reg>
  63154. <reg name="for_ldo_lp_0" protect="rw">
  63155. <bits access="rw" name="force_ldo_rf15_lp" pos="15" rst="0">
  63156. </bits>
  63157. <bits access="rw" name="force_ldo_camd_lp" pos="14" rst="0">
  63158. </bits>
  63159. <bits access="rw" name="force_ldo_lcd_lp" pos="13" rst="0">
  63160. </bits>
  63161. <bits access="rw" name="force_ldo_usb33_lp" pos="11" rst="0">
  63162. </bits>
  63163. <bits access="rw" name="force_ldo_dcxo_lp" pos="10" rst="0">
  63164. </bits>
  63165. <bits access="rw" name="force_ldo_mem_lp" pos="9" rst="0">
  63166. </bits>
  63167. <bits access="rw" name="force_ldo_spimem_lp" pos="8" rst="0">
  63168. </bits>
  63169. <bits access="rw" name="force_ldo_vio18_lp" pos="7" rst="0">
  63170. </bits>
  63171. <bits access="rw" name="force_ldo_ddr12_lp" pos="6" rst="0">
  63172. </bits>
  63173. <bits access="rw" name="force_ldo_ana_lp" pos="5" rst="0">
  63174. </bits>
  63175. <bits access="rw" name="force_ldo_sim1_lp" pos="3" rst="0">
  63176. </bits>
  63177. <bits access="rw" name="force_ldo_sim0_lp" pos="2" rst="0">
  63178. </bits>
  63179. <bits access="rw" name="force_ldo_cama_lp" pos="0" rst="0">
  63180. </bits>
  63181. </reg>
  63182. <reg name="for_ldo_lp_1" protect="rw">
  63183. <bits access="rw" name="force_ldo_con_lp" pos="3" rst="0">
  63184. </bits>
  63185. <bits access="rw" name="force_ldo_emmc_lp" pos="2" rst="0">
  63186. </bits>
  63187. <bits access="rw" name="force_ldo_vdd28_lp" pos="1" rst="0">
  63188. </bits>
  63189. <bits access="rw" name="force_ldo_rf18b_lp" pos="0" rst="0">
  63190. </bits>
  63191. </reg>
  63192. <reg name="for_dcdc_lp" protect="rw">
  63193. <bits access="rw" name="force_vpa_lp" pos="7" rst="0">
  63194. </bits>
  63195. <bits access="rw" name="force_vgen_lp" pos="5" rst="0">
  63196. </bits>
  63197. <bits access="rw" name="force_vcore_lp" pos="2" rst="0">
  63198. </bits>
  63199. </reg>
  63200. <reg name="ldo_lp_0" protect="rw">
  63201. <bits access="rw" name="tst_ldo_rf15_lp_en" pos="15" rst="0">
  63202. </bits>
  63203. <bits access="rw" name="tst_ldo_camd_lp_en" pos="14" rst="0">
  63204. </bits>
  63205. <bits access="rw" name="tst_ldo_lcd_lp_en" pos="13" rst="0">
  63206. </bits>
  63207. <bits access="rw" name="tst_ldo_usb33_lp_en" pos="11" rst="0">
  63208. </bits>
  63209. <bits access="rw" name="tst_ldo_dcxo_lp_en" pos="10" rst="0">
  63210. </bits>
  63211. <bits access="rw" name="tst_ldo_mem_lp_en" pos="9" rst="0">
  63212. </bits>
  63213. <bits access="rw" name="tst_ldo_spimem_lp_en" pos="8" rst="0">
  63214. </bits>
  63215. <bits access="rw" name="tst_ldo_vio18_lp_en" pos="7" rst="0">
  63216. </bits>
  63217. <bits access="rw" name="tst_ldo_ddr12_lp_en" pos="6" rst="0">
  63218. </bits>
  63219. <bits access="rw" name="tst_ldo_ana_lp_en" pos="5" rst="0">
  63220. </bits>
  63221. <bits access="rw" name="resrved" pos="4" rst="0">
  63222. </bits>
  63223. <bits access="rw" name="tst_ldo_sim1_lp_en" pos="3" rst="0">
  63224. </bits>
  63225. <bits access="rw" name="tst_ldo_sim0_lp_en" pos="2" rst="0">
  63226. </bits>
  63227. <bits access="rw" name="tst_ldo_cama_lp_en" pos="0" rst="0">
  63228. </bits>
  63229. </reg>
  63230. <reg name="ldo_lp_1" protect="rw">
  63231. <bits access="rw" name="tst_ldo_con_lp_en" pos="3" rst="0">
  63232. </bits>
  63233. <bits access="rw" name="tst_ldo_emmc_lp_en" pos="2" rst="0">
  63234. </bits>
  63235. <bits access="rw" name="tst_ldo_vdd28_lp_en" pos="1" rst="0">
  63236. </bits>
  63237. </reg>
  63238. <reg name="dcdc_lp" protect="rw">
  63239. <bits access="rw" name="tst_vpa_lp_en" pos="7" rst="0">
  63240. </bits>
  63241. <bits access="rw" name="tst_vgen_lp_en" pos="5" rst="0">
  63242. </bits>
  63243. <bits access="rw" name="tst_vcore_lp_en" pos="2" rst="0">
  63244. </bits>
  63245. </reg>
  63246. <reg name="byp_dcdc" protect="rw">
  63247. <bits access="rw" name="byp_vpa" pos="7" rst="0">
  63248. </bits>
  63249. <bits access="rw" name="byp_vgen" pos="5" rst="0">
  63250. </bits>
  63251. <bits access="rw" name="byp_vcore" pos="2" rst="0">
  63252. </bits>
  63253. </reg>
  63254. <reg name="for_other_0" protect="rw">
  63255. <bits access="rw" name="force_fgu" pos="15" rst="0">
  63256. </bits>
  63257. <bits access="rw" name="force_sw" pos="14" rst="0">
  63258. </bits>
  63259. <bits access="rw" name="force_chg_det" pos="12" rst="0">
  63260. </bits>
  63261. <bits access="rw" name="force_auxad" pos="11" rst="0">
  63262. </bits>
  63263. <bits access="rw" name="force_chg" pos="10" rst="0">
  63264. </bits>
  63265. <bits access="rw" name="force_stop" pos="9" rst="0">
  63266. </bits>
  63267. <bits access="rw" name="force_rc1m" pos="8" rst="0">
  63268. </bits>
  63269. <bits access="rw" name="force_rtc32k" pos="7" rst="0">
  63270. </bits>
  63271. <bits access="rw" name="force_rtc" pos="6" rst="0">
  63272. </bits>
  63273. <bits access="rw" name="force_baton" pos="4" rst="0">
  63274. </bits>
  63275. <bits access="rw" name="force_dbg" pos="3" rst="0">
  63276. </bits>
  63277. <bits access="rw" name="force_vbat_crash" pos="2" rst="0">
  63278. </bits>
  63279. <bits access="rw" name="force_ovlo" pos="1" rst="0">
  63280. </bits>
  63281. <bits access="rw" name="force_bg" pos="0" rst="0">
  63282. </bits>
  63283. </reg>
  63284. <reg name="for_other_1" protect="rw">
  63285. <bits access="rw" name="force_osc" pos="2" rst="0">
  63286. </bits>
  63287. <bits access="rw" name="force_emm_pro" pos="0" rst="0">
  63288. </bits>
  63289. </reg>
  63290. <reg name="tst_auxad_0" protect="rw">
  63291. <bits access="r" name="auxad_cs_cnt" pos="15:11" rst="0">
  63292. </bits>
  63293. <bits access="rw" name="tst_auxad_cs_load_en" pos="10" rst="0">
  63294. </bits>
  63295. <bits access="rw" name="tst_auxad_test_en" pos="9" rst="0">
  63296. </bits>
  63297. <bits access="rw" name="tst_auxad_rstn" pos="8" rst="1">
  63298. </bits>
  63299. <bits access="rw" name="tst_auxad_init" pos="7" rst="0">
  63300. </bits>
  63301. <bits access="rw" name="tst_auxad_scale" pos="6:5" rst="0">
  63302. </bits>
  63303. <bits access="rw" name="tst_auxad_cs" pos="4:0" rst="0">
  63304. </bits>
  63305. </reg>
  63306. <reg name="tst_auxad_1" protect="rw">
  63307. <bits access="r" name="auxad_fsm_idle" pos="15" rst="1">
  63308. </bits>
  63309. <bits access="rw" name="tst_auxad_stop_req" pos="14" rst="0">
  63310. </bits>
  63311. <bits access="rw" name="tst_auxad_cs_add_en" pos="13" rst="0">
  63312. </bits>
  63313. <bits access="r" name="auxad_vld_flag" pos="12" rst="0">
  63314. </bits>
  63315. <bits access="r" name="ad_auxad_dat_wrap" pos="11:0" rst="0">
  63316. </bits>
  63317. </reg>
  63318. <reg name="tst_chgdet" protect="rw">
  63319. <bits access="rw" name="tst_dp_dm_bc_enb" pos="10" rst="1">
  63320. </bits>
  63321. <bits access="r" name="non_dcp_int_wrap" pos="9" rst="0">
  63322. </bits>
  63323. <bits access="r" name="chg_det_pd_wrap" pos="7" rst="0">
  63324. </bits>
  63325. <bits access="r" name="dp_low_wrap" pos="6" rst="0">
  63326. </bits>
  63327. <bits access="r" name="dcp_det_wrap" pos="5" rst="0">
  63328. </bits>
  63329. <bits access="r" name="chg_det_wrap" pos="4" rst="0">
  63330. </bits>
  63331. <bits access="r" name="cdp_int_wrap" pos="3" rst="0">
  63332. </bits>
  63333. <bits access="r" name="dcp_int_wrap" pos="2" rst="0">
  63334. </bits>
  63335. <bits access="r" name="sdp_int_wrap" pos="1" rst="0">
  63336. </bits>
  63337. <bits access="r" name="chg_det_done_wrap" pos="0" rst="0">
  63338. </bits>
  63339. </reg>
  63340. <reg name="reserved_reg1" protect="rw">
  63341. </reg>
  63342. <reg name="tst_fgu" protect="rw">
  63343. <bits access="r" name="fgu_ocv_data_wrap" pos="15:14" rst="0">
  63344. </bits>
  63345. <bits access="r" name="fgu_invalid_pocv_wrap" pos="13" rst="0">
  63346. </bits>
  63347. <bits access="r" name="fgu_ana_sel_wrap" pos="12" rst="0">
  63348. </bits>
  63349. <bits access="rw" name="tst_sdb_vref_ctl" pos="11" rst="0">
  63350. </bits>
  63351. <bits access="rw" name="tst_sda_vref_ctl" pos="10" rst="0">
  63352. </bits>
  63353. <bits access="rw" name="tst_fgu_rst_rtc_n" pos="9" rst="1">
  63354. </bits>
  63355. <bits access="rw" name="tst_sda_iin_en" pos="8" rst="1">
  63356. </bits>
  63357. <bits access="rw" name="tst_sdb_vin_en" pos="7" rst="1">
  63358. </bits>
  63359. <bits access="rw" name="tst_sda_vin_en" pos="6" rst="0">
  63360. </bits>
  63361. <bits access="rw" name="tst_sd_rst" pos="5" rst="0">
  63362. </bits>
  63363. <bits access="rw" name="tst_sd_pd" pos="4" rst="0">
  63364. </bits>
  63365. <bits access="rw" name="tst_fgu_ocv_mux" pos="3:0" rst="0">
  63366. </bits>
  63367. </reg>
  63368. <reg name="tst_chgr" protect="rw">
  63369. <bits access="r" name="chgr_cv_status_wrap" pos="5" rst="0">
  63370. </bits>
  63371. <bits access="r" name="chgr_on_wrap" pos="4" rst="0">
  63372. </bits>
  63373. <bits access="r" name="chgr_int_wrap" pos="3" rst="0">
  63374. </bits>
  63375. <bits access="r" name="vchg_ovi_wrap" pos="1" rst="0">
  63376. </bits>
  63377. <bits access="rw" name="tst_chgr_ptest" pos="0" rst="0">
  63378. </bits>
  63379. </reg>
  63380. <reg name="reserved_reg2" protect="r">
  63381. </reg>
  63382. <reg name="tst_other_0" protect="r">
  63383. <bits access="r" name="sdb_out_wrap" pos="6" rst="0">
  63384. </bits>
  63385. <bits access="r" name="sda_out_wrap" pos="5" rst="0">
  63386. </bits>
  63387. <bits access="r" name="rtc_mode_o_wrap" pos="4" rst="0">
  63388. </bits>
  63389. <bits access="r" name="batdet_ok_wrap" pos="3" rst="0">
  63390. </bits>
  63391. <bits access="r" name="vbat_ok_wrap" pos="2" rst="0">
  63392. </bits>
  63393. </reg>
  63394. <reg name="tst_other_1" protect="rw">
  63395. <bits access="rw" name="tst_osc_pd" pos="9" rst="0">
  63396. </bits>
  63397. <bits access="rw" name="tst_pd_set" pos="8" rst="0">
  63398. </bits>
  63399. <bits access="rw" name="tst_dcdc_core_low_vol" pos="6" rst="0">
  63400. </bits>
  63401. <bits access="rw" name="tst_clk26m_sel" pos="5" rst="0">
  63402. </bits>
  63403. <bits access="rw" name="tst_bg_ts" pos="4" rst="0">
  63404. </bits>
  63405. <bits access="rw" name="tst_aud_loop_both_die" pos="3" rst="0">
  63406. </bits>
  63407. <bits access="rw" name="tst_aud_loop_a_die" pos="2" rst="0">
  63408. </bits>
  63409. </reg>
  63410. <hole size="160"/>
  63411. <reg name="tst_efs_reg1" protect="rw">
  63412. <bits access="rw" name="tst_efs_reg1" pos="15:0" rst="0">
  63413. </bits>
  63414. </reg>
  63415. <reg name="tst_efs_reg2" protect="rw">
  63416. <bits access="rw" name="tst_efs_reg2" pos="15:0" rst="0">
  63417. </bits>
  63418. </reg>
  63419. <reg name="tst_efs_reg3" protect="rw">
  63420. <bits access="rw" name="tst_efs_reg3" pos="15:0" rst="0">
  63421. </bits>
  63422. </reg>
  63423. <reg name="tst_efs_sel0" protect="rw">
  63424. <bits access="rw" name="efs_sel_ldo_rtc_cal" pos="11:10" rst="0">
  63425. </bits>
  63426. <bits access="rw" name="efs_sel_ldo_dcxo_trim" pos="9:8" rst="0">
  63427. </bits>
  63428. <bits access="rw" name="efs_sel_ldo_vibr" pos="7:6" rst="0">
  63429. </bits>
  63430. <bits access="rw" name="efs_sel_ldo_kpled" pos="5:4" rst="0">
  63431. </bits>
  63432. <bits access="rw" name="efs_sel_ldo_trim_b" pos="3:2" rst="0">
  63433. </bits>
  63434. <bits access="rw" name="efs_sel_ldo_trim_a" pos="1:0" rst="0">
  63435. </bits>
  63436. </reg>
  63437. <reg name="tst_efs_sel1" protect="r">
  63438. </reg>
  63439. <reg name="tst_efs_sel2" protect="r">
  63440. </reg>
  63441. <reg name="tst_efs_sel3" protect="rw">
  63442. <bits access="rw" name="efs_sel_dcdc_wpa_trim" pos="11:10" rst="0">
  63443. </bits>
  63444. <bits access="rw" name="efs_sel_dcdc_core_trim" pos="9:8" rst="0">
  63445. </bits>
  63446. <bits access="rw" name="efs_sel_dcdc_wpa_delta" pos="7:6" rst="0">
  63447. </bits>
  63448. <bits access="rw" name="efs_sel_dcdc_gen_delta" pos="5:4" rst="0">
  63449. </bits>
  63450. </reg>
  63451. <reg name="tst_efs_sel4" protect="rw">
  63452. <bits access="rw" name="efs_sel_dcdc_core_lvl_lp" pos="11:10" rst="0">
  63453. </bits>
  63454. <bits access="rw" name="efs_sel_dcdc_core_delta_lp" pos="9:8" rst="0">
  63455. </bits>
  63456. <bits access="rw" name="efs_sel_dcdc_core_lvl_nor" pos="3:2" rst="0">
  63457. </bits>
  63458. <bits access="rw" name="efs_sel_dcdc_core_delta_nor" pos="1:0" rst="0">
  63459. </bits>
  63460. </reg>
  63461. </module>
  63462. </archive>
  63463. <archive relative="rda2720m_eic.xml">
  63464. <module category="RDA2720M" name="RDA2720M_EIC">
  63465. <reg name="eicdata" protect="r">
  63466. <bits access="r" name="eicdata" pos="12:0" rst="11">
  63467. <comment>EIC bits data input.
  63468. Note: EICDATA synchronizes the original data inputs with 2 cycles of Rtcdiv5_clk, so SW need delay 2ms to get the exact value of original data inputs when Rtcdiv5_clk is enabled.</comment>
  63469. </bits>
  63470. </reg>
  63471. <reg name="eicdmsk" protect="rw">
  63472. <bits access="rw" name="eicdmsk" pos="12:0" rst="11">
  63473. <comment>bit type is changed from r/w to rw.
  63474. EICDATA register can be read if EICDMSK set 1</comment>
  63475. </bits>
  63476. </reg>
  63477. <reg name="reserved1" protect="r">
  63478. </reg>
  63479. <reg name="reserved2" protect="r">
  63480. </reg>
  63481. <reg name="reserved3" protect="r">
  63482. </reg>
  63483. <reg name="eiciev" protect="rw">
  63484. <bits access="rw" name="eiciev" pos="12:0" rst="11">
  63485. <comment>EIC bits interrupt status register:1 high levels trigger interrupts, 0 low levels trigger interrupts.</comment>
  63486. </bits>
  63487. </reg>
  63488. <reg name="eicie" protect="rw">
  63489. <bits access="rw" name="eicie" pos="12:0" rst="11">
  63490. <comment>EIC bits interrupt enable register:1 corresponding bit interrupt is enabled. 0 corresponding bit interrupt isnt enabled</comment>
  63491. </bits>
  63492. </reg>
  63493. <reg name="eicris" protect="r">
  63494. <bits access="r" name="eicris" pos="12:0" rst="11">
  63495. <comment>EIC bits raw interrupt status register:1 interrupt condition met0 condition not met</comment>
  63496. </bits>
  63497. </reg>
  63498. <reg name="eicmis" protect="r">
  63499. <bits access="r" name="eicmis" pos="12:0" rst="11">
  63500. <comment>EIC bits masked interrupt status register:1 Interrupt active 0 interrupt not active</comment>
  63501. </bits>
  63502. </reg>
  63503. <reg name="eicic" protect="w">
  63504. <bits access="w" name="eicic" pos="12:0" rst="11">
  63505. <comment>EIC bits interrupt clear register:1 clears detected interrupt. 0 has no effect.</comment>
  63506. </bits>
  63507. </reg>
  63508. <reg name="eictrig" protect="w">
  63509. <bits access="w" name="eictrig" pos="12:0" rst="11">
  63510. <comment>EIC bits trig control register:1: generate the trig_start pulse0: no effect It must set EICTRIG for using de-bounce function and getting active interrupt.</comment>
  63511. </bits>
  63512. </reg>
  63513. <reg name="reserved4" protect="r">
  63514. </reg>
  63515. <reg name="reserved5" protect="r">
  63516. </reg>
  63517. <reg name="reserved6" protect="r">
  63518. </reg>
  63519. <reg name="reserved7" protect="r">
  63520. </reg>
  63521. <reg name="reserved8" protect="r">
  63522. </reg>
  63523. <reg name="eic0ctrl" protect="rw">
  63524. <bits access="rw" name="force_clk_dbnc" pos="15" rst="1">
  63525. <comment>1: clock of dbnc forced open; 0: no effect</comment>
  63526. </bits>
  63527. <bits access="rw" name="dbnc_en" pos="14" rst="1">
  63528. <comment>de-bounce mechanism enable or disable: 1 enable,0 disable(bypass)</comment>
  63529. </bits>
  63530. <bits access="rw" name="dbnc_cnt" pos="11:0" rst="10">
  63531. <comment>de-bounce counter period value setting, the unit is millisecond</comment>
  63532. </bits>
  63533. </reg>
  63534. <reg name="eic1ctrl" protect="rw">
  63535. <bits access="rw" name="force_clk_dbnc" pos="15" rst="1">
  63536. <comment>1: clock of dbnc forced open; 0: no effect</comment>
  63537. </bits>
  63538. <bits access="rw" name="dbnc_en" pos="14" rst="1">
  63539. <comment>de-bounce mechanism enable or disable: 1 enable,0 disable(bypass)</comment>
  63540. </bits>
  63541. <bits access="rw" name="dbnc_cnt" pos="11:0" rst="10">
  63542. <comment>de-bounce counter period value setting, the unit is millisecond</comment>
  63543. </bits>
  63544. </reg>
  63545. <reg name="eic2ctrl" protect="rw">
  63546. <bits access="rw" name="force_clk_dbnc" pos="15" rst="1">
  63547. <comment>1: clock of dbnc forced open; 0: no effect</comment>
  63548. </bits>
  63549. <bits access="rw" name="dbnc_en" pos="14" rst="1">
  63550. <comment>de-bounce mechanism enable or disable: 1 enable,0 disable(bypass)</comment>
  63551. </bits>
  63552. <bits access="rw" name="dbnc_cnt" pos="11:0" rst="10">
  63553. <comment>de-bounce counter period value setting, the unit is millisecond</comment>
  63554. </bits>
  63555. </reg>
  63556. <reg name="eic3ctrl" protect="rw">
  63557. <bits access="rw" name="force_clk_dbnc" pos="15" rst="1">
  63558. <comment>1: clock of dbnc forced open; 0: no effect</comment>
  63559. </bits>
  63560. <bits access="rw" name="dbnc_en" pos="14" rst="1">
  63561. <comment>de-bounce mechanism enable or disable: 1 enable,0 disable(bypass)</comment>
  63562. </bits>
  63563. <bits access="rw" name="dbnc_cnt" pos="11:0" rst="10">
  63564. <comment>de-bounce counter period value setting, the unit is millisecond</comment>
  63565. </bits>
  63566. </reg>
  63567. <reg name="eic4ctrl" protect="rw">
  63568. <bits access="rw" name="force_clk_dbnc" pos="15" rst="1">
  63569. <comment>1: clock of dbnc forced open; 0: no effect</comment>
  63570. </bits>
  63571. <bits access="rw" name="dbnc_en" pos="14" rst="1">
  63572. <comment>de-bounce mechanism enable or disable: 1 enable,0 disable(bypass)</comment>
  63573. </bits>
  63574. <bits access="rw" name="dbnc_cnt" pos="11:0" rst="10">
  63575. <comment>de-bounce counter period value setting, the unit is millisecond</comment>
  63576. </bits>
  63577. </reg>
  63578. <reg name="eic5ctrl" protect="rw">
  63579. <bits access="rw" name="force_clk_dbnc" pos="15" rst="1">
  63580. <comment>1: clock of dbnc forced open; 0: no effect</comment>
  63581. </bits>
  63582. <bits access="rw" name="dbnc_en" pos="14" rst="1">
  63583. <comment>de-bounce mechanism enable or disable: 1 enable,0 disable(bypass)</comment>
  63584. </bits>
  63585. <bits access="rw" name="dbnc_cnt" pos="11:0" rst="10">
  63586. <comment>de-bounce counter period value setting, the unit is millisecond</comment>
  63587. </bits>
  63588. </reg>
  63589. <reg name="eic6ctrl" protect="rw">
  63590. <bits access="rw" name="force_clk_dbnc" pos="15" rst="1">
  63591. <comment>1: clock of dbnc forced open; 0: no effect</comment>
  63592. </bits>
  63593. <bits access="rw" name="dbnc_en" pos="14" rst="1">
  63594. <comment>de-bounce mechanism enable or disable: 1 enable,0 disable(bypass)</comment>
  63595. </bits>
  63596. <bits access="rw" name="dbnc_cnt" pos="11:0" rst="10">
  63597. <comment>de-bounce counter period value setting, the unit is millisecond</comment>
  63598. </bits>
  63599. </reg>
  63600. <reg name="eic7ctrl" protect="rw">
  63601. <bits access="rw" name="force_clk_dbnc" pos="15" rst="1">
  63602. <comment>1: clock of dbnc forced open; 0: no effect</comment>
  63603. </bits>
  63604. <bits access="rw" name="dbnc_en" pos="14" rst="1">
  63605. <comment>de-bounce mechanism enable or disable: 1 enable,0 disable(bypass)</comment>
  63606. </bits>
  63607. <bits access="rw" name="dbnc_cnt" pos="11:0" rst="10">
  63608. <comment>de-bounce counter period value setting, the unit is millisecond</comment>
  63609. </bits>
  63610. </reg>
  63611. <reg name="eic8ctrl" protect="rw">
  63612. <bits access="rw" name="force_clk_dbnc" pos="15" rst="1">
  63613. <comment>1: clock of dbnc forced open;</comment>
  63614. </bits>
  63615. <bits access="rw" name="dbnc_en" pos="14" rst="1">
  63616. <comment>de-bounce mechanism enable or disable: 1 enable,0 disable(bypass)</comment>
  63617. </bits>
  63618. <bits access="rw" name="dbnc_cnt" pos="11:0" rst="10">
  63619. <comment>de-bounce counter period value setting, the unit is millisecond</comment>
  63620. </bits>
  63621. </reg>
  63622. <reg name="eic9ctrl" protect="rw">
  63623. <bits access="rw" name="force_clk_dbnc" pos="15" rst="1">
  63624. <comment>1: clock of dbnc forced open; 0: no effect</comment>
  63625. </bits>
  63626. <bits access="rw" name="dbnc_en" pos="14" rst="1">
  63627. <comment>de-bounce mechanism enable or disable: 1 enable,0 disable(bypass)</comment>
  63628. </bits>
  63629. <bits access="rw" name="dbnc_cnt" pos="11:0" rst="10">
  63630. <comment>de-bounce counter period value setting, the unit is millisecond</comment>
  63631. </bits>
  63632. </reg>
  63633. <reg name="eic10ctrl" protect="rw">
  63634. <bits access="rw" name="force_clk_dbnc" pos="15" rst="1">
  63635. <comment>1: clock of dbnc forced open; 0: no effect</comment>
  63636. </bits>
  63637. <bits access="rw" name="dbnc_en" pos="14" rst="1">
  63638. <comment>de-bounce mechanism enable or disable: 1 enable,0 disable(bypass)</comment>
  63639. </bits>
  63640. <bits access="rw" name="dbnc_cnt" pos="11:0" rst="10">
  63641. <comment>de-bounce counter period value setting, the unit is millisecond</comment>
  63642. </bits>
  63643. </reg>
  63644. <reg name="eic11ctrl" protect="rw">
  63645. <bits access="rw" name="force_clk_dbnc" pos="15" rst="1">
  63646. <comment>1: clock of dbnc forced open;</comment>
  63647. </bits>
  63648. <bits access="rw" name="dbnc_en" pos="14" rst="1">
  63649. <comment>de-bounce mechanism enable or disable: 1 enable,0 disable(bypass)</comment>
  63650. </bits>
  63651. <bits access="rw" name="dbnc_cnt" pos="11:0" rst="10">
  63652. <comment>de-bounce counter period value setting, the unit is millisecond</comment>
  63653. </bits>
  63654. </reg>
  63655. <reg name="eic12ctrl" protect="rw">
  63656. <bits access="rw" name="force_clk_dbnc" pos="15" rst="1">
  63657. <comment>1: clock of dbnc forced open; 0: no effect</comment>
  63658. </bits>
  63659. <bits access="rw" name="dbnc_en" pos="14" rst="1">
  63660. <comment>de-bounce mechanism enable or disable: 1 enable,0 disable(bypass)</comment>
  63661. </bits>
  63662. <bits access="rw" name="dbnc_cnt" pos="11:0" rst="10">
  63663. <comment>de-bounce counter period value setting, the unit is millisecond</comment>
  63664. </bits>
  63665. </reg>
  63666. <reg name="eic13ctrl" protect="rw">
  63667. <bits access="rw" name="force_clk_dbnc" pos="15" rst="1">
  63668. <comment>1: clock of dbnc forced open; 0: no effect</comment>
  63669. </bits>
  63670. <bits access="rw" name="dbnc_en" pos="14" rst="1">
  63671. <comment>de-bounce mechanism enable or disable: 1 enable,0 disable(bypass)</comment>
  63672. </bits>
  63673. <bits access="rw" name="dbnc_cnt" pos="11:0" rst="10">
  63674. <comment>de-bounce counter period value setting, the unit is millisecond</comment>
  63675. </bits>
  63676. </reg>
  63677. <reg name="eic14ctrl" protect="rw">
  63678. <bits access="rw" name="force_clk_dbnc" pos="15" rst="1">
  63679. <comment>1: clock of dbnc forced open; 0: no effect</comment>
  63680. </bits>
  63681. <bits access="rw" name="dbnc_en" pos="14" rst="1">
  63682. <comment>de-bounce mechanism enable or disable: 1 enable,0 disable(bypass)</comment>
  63683. </bits>
  63684. <bits access="rw" name="dbnc_cnt" pos="11:0" rst="10">
  63685. <comment>de-bounce counter period value setting, the unit is millisecond</comment>
  63686. </bits>
  63687. </reg>
  63688. <reg name="eic15ctrl" protect="rw">
  63689. <bits access="rw" name="force_clk_dbnc" pos="15" rst="1">
  63690. <comment>1: clock of dbnc forced open; 0: no effect</comment>
  63691. </bits>
  63692. <bits access="rw" name="dbnc_en" pos="14" rst="1">
  63693. <comment>de-bounce mechanism enable or disable: 1 enable,0 disable(bypass)</comment>
  63694. </bits>
  63695. <bits access="rw" name="dbnc_cnt" pos="11:0" rst="10">
  63696. <comment>de-bounce counter period value setting, the unit is millisecond</comment>
  63697. </bits>
  63698. </reg>
  63699. </module>
  63700. </archive>
  63701. <archive relative="rda2720m_efs.xml">
  63702. <module category="RDA2720M" name="RDA2720M_EFS">
  63703. <reg name="efuse_glb_ctrl" protect="rw">
  63704. <bits access="rw" name="margin_mode" pos="3" rst="0">
  63705. <comment>Reserved</comment>
  63706. </bits>
  63707. <bits access="rw" name="efuse_type" pos="2:1" rst="0">
  63708. <comment>Reserved</comment>
  63709. </bits>
  63710. <bits access="rw" name="efuse_pgm_enable" pos="0" rst="0">
  63711. <comment>0: Normal read mode, 1:Margin read1 mode</comment>
  63712. </bits>
  63713. </reg>
  63714. <reg name="efuse_data_rd" protect="r">
  63715. <bits access="r" name="efuse_data_rd" pos="15:0" rst="0">
  63716. <comment>Efuse read data,
  63717. If SW use efuse controller to send a read command to efuse memory, the return value will store here.</comment>
  63718. </bits>
  63719. </reg>
  63720. <reg name="efuse_data_wr" protect="rw">
  63721. <bits access="rw" name="efuse_data_wr" pos="15:0" rst="0">
  63722. <comment>Efuse data to be write.
  63723. If SW want to program the efuse memory, the data to be programmed will write to this register before SW issue a PGM command.</comment>
  63724. </bits>
  63725. </reg>
  63726. <reg name="efuse_addr_index" protect="rw">
  63727. <bits access="rw" name="efuse_addr_index" pos="4:0" rst="0">
  63728. <comment>The efuse memory block index to be read or write.</comment>
  63729. </bits>
  63730. </reg>
  63731. <reg name="efuse_mode_ctrl" protect="rw">
  63732. <bits access="rw" name="efuse_normal_rd_flag_clr" pos="2" rst="1">
  63733. <comment>Write 1 to this bit will clear normal read flag. This bit is self-clear, read this bit will always get 0</comment>
  63734. </bits>
  63735. <bits access="rw" name="efuse_rd_start" pos="1" rst="1">
  63736. <comment>Write 1 to this bit start READ mode(read mode). This bit is self-clear, read this bit will always get 0</comment>
  63737. </bits>
  63738. <bits access="rw" name="efuse_pg_start" pos="0" rst="1">
  63739. <comment>Write 1 to this bit start PGM mode(PGM mode). This bit is self-clear, read this bit will always get 0</comment>
  63740. </bits>
  63741. </reg>
  63742. <reg name="efuse_status" protect="r">
  63743. <bits access="r" name="efuse_normal_rd_done" pos="4" rst="1">
  63744. <comment>1 indicate EFUSE normal read has been done</comment>
  63745. </bits>
  63746. <bits access="r" name="efuse_global_prot" pos="3" rst="1">
  63747. <comment>If SW send a PGM command to memory and memory controller find the memory need to be protected (LSB of 64 bit is 1), this flag will be set to 1.</comment>
  63748. </bits>
  63749. <bits access="r" name="standby_busy" pos="2" rst="1">
  63750. <comment>1 indicate efuse memory in standby mode</comment>
  63751. </bits>
  63752. <bits access="r" name="read_busy" pos="1" rst="1">
  63753. <comment>1 indicate efuse memory in read mode</comment>
  63754. </bits>
  63755. <bits access="r" name="pgm_busy" pos="0" rst="1">
  63756. <comment>1 indicate efuse memory in programming mode</comment>
  63757. </bits>
  63758. </reg>
  63759. <reg name="efuse_magic_number" protect="rw">
  63760. <bits access="rw" name="efuse_magin_magic_number" pos="15:0" rst="14">
  63761. <comment>Magic number, only when this field is 0x2720, the Efuse programming command can be handle.
  63762. So if SW want to program efuse memory, except open clocks and power, 2 other conditions must be met :
  63763. a) PGM_EN =1;
  63764. b) EFUSE_MAGIC_NUMBER = 0x2720</comment>
  63765. </bits>
  63766. </reg>
  63767. <reg name="efuse_magin_magic_number" protect="rw">
  63768. <bits access="rw" name="efuse_magin_magic_number" pos="15:0" rst="14">
  63769. <comment>Magic number, only when this field is 0x6868, the margin read is usable.</comment>
  63770. </bits>
  63771. </reg>
  63772. <reg name="efuse_wr_timing_ctrl" protect="r">
  63773. <bits access="r" name="efuse_wr_timing_ctrl" pos="13:0" rst="23953">
  63774. <comment>Config this register to control the timing of writing operation related signals.
  63775. 300us voltage rise,20usx16 program,300us voltage fall</comment>
  63776. </bits>
  63777. </reg>
  63778. <reg name="efuse_rd_timing_ctrl" protect="rw">
  63779. <bits access="rw" name="efuse_rd_timing_ctrl" pos="9:0" rst="62">
  63780. <comment>Config this register to control the timing of writing operation related signals
  63781. 2.348us Read Time</comment>
  63782. </bits>
  63783. </reg>
  63784. <reg name="efuse_version" protect="rw">
  63785. <bits access="rw" name="efuse_version" pos="15:0" rst="32768">
  63786. </bits>
  63787. </reg>
  63788. </module>
  63789. </archive>
  63790. <archive relative="rda2720m_fgu.xml">
  63791. <module category="RDA2720M" name="RDA2720M_FGU">
  63792. <reg name="fgustart1" protect="w">
  63793. <bits access="w" name="qmax_update_en" pos="2" rst="1">
  63794. <comment>Qmax Update enables. Write 1 to this bit will do a Qmax update processing. It is auto cleared to 0, after write 1. To check the updating status, please read QMAX_UPD_STS.</comment>
  63795. </bits>
  63796. <bits access="w" name="fgu_reset" pos="1" rst="1">
  63797. <comment>FGU Reset signal. Write this bit to reset the module, it is auto cleared to 0 after reset.</comment>
  63798. </bits>
  63799. <bits access="w" name="write_setclb_en" pos="0" rst="1">
  63800. <comment>When write CLBCNT_SETH &amp; CLBCNT_SETL, software should write this bit after write all of the two register to sync. It to CLK32KHz domain.</comment>
  63801. </bits>
  63802. </reg>
  63803. <reg name="fgu_start2" protect="rw">
  63804. <bits access="rw" name="sw_force_lock_high" pos="15" rst="1">
  63805. <comment>bit type is changed from r/w to rw.
  63806. Software force qmax low voltage area to be locked, (Need to check WRITE_ACTIVE_STS)</comment>
  63807. </bits>
  63808. <bits access="rw" name="sw_force_lock_low" pos="14" rst="1">
  63809. <comment>bit type is changed from r/w to rw.
  63810. Software force qmax high voltage area to be locked</comment>
  63811. </bits>
  63812. <bits access="rw" name="sw_force_qmax_cnt" pos="13" rst="1">
  63813. <comment>bit type is changed from r/w to rw.
  63814. When set to 1, qmax counter will be forced to intergrate current, regardless of qmax lock conditions.</comment>
  63815. </bits>
  63816. <bits access="rw" name="volt_h_valid" pos="12" rst="1">
  63817. <comment>bit type is changed from r/w to rw.
  63818. Voltage high bit valid 0: voltage is 12 bits valid (high bit is omitted) 1: voltage is 13 bits valid</comment>
  63819. </bits>
  63820. <bits access="rw" name="fgu_disable_en" pos="11" rst="1">
  63821. <comment>bit type is changed from r/w to rw.
  63822. FGU Disable signal. It indicates if the FGU is worked or not. 0: FGU is not disable and worked 1: FGU is disable and not worked</comment>
  63823. </bits>
  63824. <bits access="rw" name="clbcnt_delta_mode" pos="10" rst="1">
  63825. <comment>bit type is changed from r/w to rw.
  63826. Coulomb Counter Delta Threshold Mode. This bit indicates if the coulomb counter is working when the battery is in low power condition. 0: work when in low power condition 1: no work when in low power condition It is working in default.</comment>
  63827. </bits>
  63828. <bits access="rw" name="volt_duty" pos="6:5" rst="2">
  63829. <comment>bit type is changed from r/w to rw.
  63830. Voltage duty ratio. 2h0: 1-7 2h1: 1-3 2h2: 1-1 2h3: 1-0 When ADC_SEL = 0, these bits are invalid. Refer to Timing Diagram for detail</comment>
  63831. </bits>
  63832. <bits access="rw" name="sw_dis_curt" pos="3" rst="1">
  63833. <comment>bit type is changed from r/w to rw.
  63834. When just use voltage of this module, this bit can disable all the current calculation logic, which will save power. 0: not disable current 1: disable current logic</comment>
  63835. </bits>
  63836. <bits access="rw" name="force_lock_en" pos="2" rst="1">
  63837. <comment>bit type is changed from r/w to rw.
  63838. When update the Qmax, if the battery is not in relax mode, then the voltage wont lock, write this bit will force the voltage lock to OCV either the battery is in relax mode or in active mode. 0: not force lock 1: force lock</comment>
  63839. </bits>
  63840. <bits access="rw" name="low_power_mode" pos="1" rst="1">
  63841. <comment>bit type is changed from r/w to rw.
  63842. There are 2 methods to judge whether the battery is in low power mode. 0: use relax counter to judge 1: use deep_sleep signal to judge</comment>
  63843. </bits>
  63844. <bits access="rw" name="auto_low_power" pos="0" rst="1">
  63845. <comment>bit type is changed from r/w to rw.
  63846. When the battery is in relax mode, the current can be set to sample at each 1 second instead of each 500ms, which will save power. If this bit is set 1, then the module will auto switch to low power mode. 0: not auto low, SW should control manually 1: auto low when the battery is in relax mode.
  63847. Note: when AD1_ENABLE = 0, the voltage and current is measured in ADC0
  63848. Note: when AD1_ENABLE = 1, the current is measured in ADC0, and voltage is measured in ADC1.</comment>
  63849. </bits>
  63850. </reg>
  63851. <reg name="adc_cfg" protect="rw">
  63852. <bits access="rw" name="rg_sd_rsv" pos="15:14" rst="2">
  63853. <comment>bit type is changed from r/w to rw.
  63854. RG_SD_RSV[14]</comment>
  63855. </bits>
  63856. <bits access="rw" name="rg_sd_vcminavss_en" pos="13" rst="1">
  63857. <comment>bit type is changed from r/w to rw.
  63858. Enable Common voltage tied to ground</comment>
  63859. </bits>
  63860. <bits access="rw" name="rg_sd_iboot_en" pos="12" rst="1">
  63861. <comment>bit type is changed from r/w to rw.
  63862. Enable high current mode</comment>
  63863. </bits>
  63864. <bits access="rw" name="rg_sd_bgref_en" pos="11" rst="1">
  63865. <comment>bit type is changed from r/w to rw.
  63866. Enable reference band gap</comment>
  63867. </bits>
  63868. <bits access="rw" name="adc_en_sel" pos="10" rst="1">
  63869. <comment>bit type is changed from r/w to rw.
  63870. When ADC_EN_SEL is 0, ADC enable is always high When ADC_EN_SEL is 1, FGU takes the control of ADC enable</comment>
  63871. </bits>
  63872. <bits access="r" name="ad0_in_data" pos="9" rst="1">
  63873. <comment>Ad0_in_data</comment>
  63874. </bits>
  63875. <bits access="r" name="ad1_in_data" pos="8" rst="1">
  63876. <comment>Ad1_in_data</comment>
  63877. </bits>
  63878. <bits access="rw" name="force_ad1_vin_en" pos="7" rst="1">
  63879. <comment>bit type is changed from r/w to rw.
  63880. Force ADC1_VIN_EN interface to set value.</comment>
  63881. </bits>
  63882. <bits access="rw" name="force_ad0_vin_en" pos="6" rst="1">
  63883. <comment>bit type is changed from r/w to rw.
  63884. Force ADC0_VIN_EN interface to set value.</comment>
  63885. </bits>
  63886. <bits access="rw" name="force_ad0_iin_en" pos="5" rst="1">
  63887. <comment>bit type is changed from r/w to rw.
  63888. Force ADC0_IIN_EN interface to set value.</comment>
  63889. </bits>
  63890. <bits access="rw" name="force_ad_en" pos="4" rst="1">
  63891. <comment>bit type is changed from r/w to rw.
  63892. Force ADC0/ADC1 interface enable.</comment>
  63893. </bits>
  63894. <bits access="rw" name="ad1_volt_ref" pos="3" rst="1">
  63895. <comment>bit type is changed from r/w to rw.
  63896. ADC1 Voltage Reference. 0: 0.1V 1: 0.2V</comment>
  63897. </bits>
  63898. <bits access="rw" name="ad0_volt_ref" pos="2" rst="1">
  63899. <comment>bit type is changed from r/w to rw.
  63900. ADC0 Voltage Reference. 0: 0.1V 1: 0.2V</comment>
  63901. </bits>
  63902. <bits access="rw" name="ad01_reset" pos="1" rst="1">
  63903. <comment>bit type is changed from r/w to rw.
  63904. ADC0 / ADC1 Reset</comment>
  63905. </bits>
  63906. <bits access="rw" name="ad01_pd" pos="0" rst="1">
  63907. <comment>bit type is changed from r/w to rw.
  63908. ADC0 / ADC1 Power Down</comment>
  63909. </bits>
  63910. </reg>
  63911. <reg name="fgu_status" protect="r">
  63912. <bits access="r" name="battery_flag" pos="8" rst="1">
  63913. <comment>This flag indicates whether the battery is plugged in during power on sequence.</comment>
  63914. </bits>
  63915. <bits access="r" name="invalid_pocv" pos="7" rst="1">
  63916. <comment>This flag indicates the power on open circuit voltage measurement is invalid.</comment>
  63917. </bits>
  63918. <bits access="r" name="fgu_ana_sel" pos="6" rst="1">
  63919. <comment>Select current and voltage enable signal between fgu_top and fgu_ana 0: select fgu_ana current and voltage enable signal 1: select fgu_top current and voltage enable signal</comment>
  63920. </bits>
  63921. <bits access="r" name="power_low" pos="5" rst="1">
  63922. <comment>Indicate the power is lower 0: not lower 1: lower Note: Case LOW_POWER_MODE = 0 when CURT_LOW is 1 and the relax counter is bigger than threshold, then the power is low. Case LOW_POWER_MODE = 1; The power mode select the deepsleep, then it is equal to deepsleep signal.</comment>
  63923. </bits>
  63924. <bits access="r" name="curt_low" pos="4" rst="1">
  63925. <comment>Indicate the current is lower then threshold 0: not lower 1: lower Note: when CURT_LOW is occur, the POWER_LOW may not occur other than the relax count is bigger than threshold.</comment>
  63926. </bits>
  63927. <bits access="r" name="ocv_lock_sts" pos="3:2" rst="2">
  63928. <comment>To update the Qmax, there should be two OCV lock. 2b00: OCV0 not locked OCV1 not locked. 2b01: OCV0 locked first OCV1 locked second. 2b10: OCV0 locked first OCV1 locked second 2b11: Invalid When both of them are locked, the Qmax is locked.</comment>
  63929. </bits>
  63930. <bits access="r" name="qmax_update_sts" pos="1" rst="1">
  63931. <comment>Qmax updating status 0: not in updating process. 1: in updating process.</comment>
  63932. </bits>
  63933. <bits access="r" name="write_active_sts" pos="0" rst="1">
  63934. <comment>When write following register, software should check this register to know whether it has been sync. to clk32KHz domain. FGU_CONFIG, ADC_CONFIG, FGU_INT_EN, FGU_HIGH_OVER, FGU_LOW_OVER, FGU_CLBCNT_SETH, FGU_CLBCNT_SETL</comment>
  63935. </bits>
  63936. </reg>
  63937. <reg name="fgu_int_en" protect="rw">
  63938. <bits access="rw" name="clbcnt_low_int_en" pos="9" rst="1">
  63939. <comment>bit type is changed from r/w to rw.
  63940. When the CLBCNT is lower than wet clbcnt low threshold , then interrupt</comment>
  63941. </bits>
  63942. <bits access="rw" name="ocv_low_int_en" pos="8" rst="1">
  63943. <comment>bit type is changed from r/w to rw.
  63944. When the OCV is lower than set ocv low threshold, then interrupt</comment>
  63945. </bits>
  63946. <bits access="rw" name="curt_rden_int_en" pos="7" rst="1">
  63947. <comment>bit type is changed from r/w to rw.
  63948. When Current data is ready, an interrupt is generated. It is used when calibration.</comment>
  63949. </bits>
  63950. <bits access="rw" name="volt_rden_int_en" pos="6" rst="1">
  63951. <comment>bit type is changed from r/w to rw.
  63952. When Voltage data is ready, an interrupt is generated.</comment>
  63953. </bits>
  63954. <bits access="rw" name="qmax_upd_tout_en" pos="5" rst="1">
  63955. <comment>bit type is changed from r/w to rw.
  63956. Qmax update timeout interrupt Enable</comment>
  63957. </bits>
  63958. <bits access="rw" name="qmax_upd_done_en" pos="4" rst="1">
  63959. <comment>bit type is changed from r/w to rw.
  63960. Qmax update done interrupt Enable</comment>
  63961. </bits>
  63962. <bits access="rw" name="relx_cnt_int_en" pos="3" rst="1">
  63963. <comment>bit type is changed from r/w to rw.
  63964. Relax Counter interrupt Enable. When the relax counter reached its set threshold, an interrupt is generated.</comment>
  63965. </bits>
  63966. <bits access="rw" name="clbcnt_delta_int_en" pos="2" rst="1">
  63967. <comment>bit type is changed from r/w to rw.
  63968. Coulomb counter threshold interrupt Enable When the Coulomb counter reached the multiply of the threshold, then an interrupt is generated. E.g. If set CLBCNT_DELTA = 5mAh, then when the Coulomb counter is 5mAh, 10mAh, 15mAh will generate interrupt.</comment>
  63969. </bits>
  63970. <bits access="rw" name="volt_high_int_en" pos="1" rst="1">
  63971. <comment>bit type is changed from r/w to rw.
  63972. Voltage High overload interrupts Enable. When the voltage is higher than the threshold, then an interrupt is generated.</comment>
  63973. </bits>
  63974. <bits access="rw" name="volt_low_int_en" pos="0" rst="1">
  63975. <comment>bit type is changed from r/w to rw.
  63976. Voltage Low overload interrupt Enable. When the voltage is lower than the threshold, then an interrupt is generated.</comment>
  63977. </bits>
  63978. </reg>
  63979. <reg name="fgu_int_clear" protect="w">
  63980. <bits access="w" name="clbcnt_low_int_clr" pos="9" rst="1">
  63981. <comment>CLBCNT lower interrupt clear</comment>
  63982. </bits>
  63983. <bits access="w" name="ocv_low_int_clr" pos="8" rst="1">
  63984. <comment>OCV lower interrupt clear</comment>
  63985. </bits>
  63986. <bits access="w" name="curt_rden_int_clr" pos="7" rst="1">
  63987. <comment>Current ready interrupt clear</comment>
  63988. </bits>
  63989. <bits access="w" name="volt_rden_int_clr" pos="6" rst="1">
  63990. <comment>Voltage ready interrupt clear</comment>
  63991. </bits>
  63992. <bits access="w" name="qmax_upd_tout_clr" pos="5" rst="1">
  63993. <comment>Qmax update timeout interrupt clear</comment>
  63994. </bits>
  63995. <bits access="w" name="qmax_upd_done_clr" pos="4" rst="1">
  63996. <comment>Qmax update done interrupt clear</comment>
  63997. </bits>
  63998. <bits access="w" name="relx_cnt_int_clr" pos="3" rst="1">
  63999. <comment>Relax counter interrupt clear</comment>
  64000. </bits>
  64001. <bits access="w" name="clbcnt_delta_int_clr" pos="2" rst="1">
  64002. <comment>Coulomb counter delta interrupt clear</comment>
  64003. </bits>
  64004. <bits access="w" name="volt_high_int_clr" pos="1" rst="1">
  64005. <comment>Voltage High overload interrupts clear.</comment>
  64006. </bits>
  64007. <bits access="w" name="volt_low_int_clr" pos="0" rst="1">
  64008. <comment>Voltage Low overload interrupts clear.</comment>
  64009. </bits>
  64010. </reg>
  64011. <reg name="fgu_int_raw" protect="r">
  64012. <bits access="r" name="clbcnt_low_int_raw" pos="9" rst="1">
  64013. <comment>CLBCNT lower interrupt raw status</comment>
  64014. </bits>
  64015. <bits access="r" name="ocv_low_int_raw" pos="8" rst="1">
  64016. <comment>OCV lower interrupt raw status</comment>
  64017. </bits>
  64018. <bits access="r" name="curt_rden_int_raw" pos="7" rst="1">
  64019. <comment>Current ready interrupt raw status</comment>
  64020. </bits>
  64021. <bits access="r" name="volt_rden_int_raw" pos="6" rst="1">
  64022. <comment>Voltage ready interrupt raw status</comment>
  64023. </bits>
  64024. <bits access="r" name="qmax_upd_tout_raw" pos="5" rst="1">
  64025. <comment>Qmax update timeout interrupt raw status</comment>
  64026. </bits>
  64027. <bits access="r" name="qmax_upd_done_raw" pos="4" rst="1">
  64028. <comment>Qmax update done interrupt raw status</comment>
  64029. </bits>
  64030. <bits access="r" name="relx_cnt_int_raw" pos="3" rst="1">
  64031. <comment>Relax counter interrupt raw status</comment>
  64032. </bits>
  64033. <bits access="r" name="clbcnt_delta_int_raw" pos="2" rst="1">
  64034. <comment>Coulomb counter delta interrupt raw status</comment>
  64035. </bits>
  64036. <bits access="r" name="volt_high_int_raw" pos="1" rst="1">
  64037. <comment>Voltage High overload interrupts raw status.</comment>
  64038. </bits>
  64039. <bits access="r" name="volt_low_int_raw" pos="0" rst="1">
  64040. <comment>Voltage Low overload interrupts raw status.</comment>
  64041. </bits>
  64042. </reg>
  64043. <reg name="fgu_int_sts" protect="r">
  64044. <bits access="r" name="clbcnt_low_int_sts" pos="9" rst="1">
  64045. <comment>CLBCNT lower interrupt status</comment>
  64046. </bits>
  64047. <bits access="r" name="ocv_low_int_sts" pos="8" rst="1">
  64048. <comment>OCV lower interrupt status</comment>
  64049. </bits>
  64050. <bits access="r" name="curt_rden_int_sts" pos="7" rst="1">
  64051. <comment>Current ready interrupt status</comment>
  64052. </bits>
  64053. <bits access="r" name="volt_rden_int_sts" pos="6" rst="1">
  64054. <comment>Voltage ready interrupt status</comment>
  64055. </bits>
  64056. <bits access="r" name="qmax_upd_tout_sts" pos="5" rst="1">
  64057. <comment>Qmax update timeout interrupt status</comment>
  64058. </bits>
  64059. <bits access="r" name="qmax_upd_done_sts" pos="4" rst="1">
  64060. <comment>Qmax update done interrupt status</comment>
  64061. </bits>
  64062. <bits access="r" name="relx_cnt_int_sts" pos="3" rst="1">
  64063. <comment>Relax counter interrupt status</comment>
  64064. </bits>
  64065. <bits access="r" name="clbcnt_delta_int_sts" pos="2" rst="1">
  64066. <comment>Coulomb counter delta interrupt status</comment>
  64067. </bits>
  64068. <bits access="r" name="volt_high_int_sts" pos="1" rst="1">
  64069. <comment>Voltage High overload interrupts status.</comment>
  64070. </bits>
  64071. <bits access="r" name="volt_low_int_sts" pos="0" rst="1">
  64072. <comment>Voltage Low overload interrupts status.</comment>
  64073. </bits>
  64074. </reg>
  64075. <reg name="fgu_volt_value" protect="r">
  64076. <bits access="r" name="volt_value" pos="12:0" rst="11">
  64077. <comment>Voltage now It is unsigned value, the unit is equal the A/D value, and the relative voltage value should multiply the LSB value (refer to the Analogy Spec.) 13h1FFF: represent the max point13h1000: represent the zero point &lt;13h1000: invalid That means when the value is 13h1000, its voltage is 0 V. Because the voltage is all positive value, the value of below 13h1000 should not be valid as see it as some offset of 0v. It has another function, when in ADC software calibration mode; it is act as the ADC1 voltage value.</comment>
  64078. </bits>
  64079. </reg>
  64080. <reg name="fgu_ocv_value" protect="r">
  64081. <bits access="r" name="ocv_value" pos="12:0" rst="11">
  64082. <comment>Open Circuit Voltage. It is unsigned value, the unit is equal the A/D value, and the relative voltage value should multiply the LSB value (refer to the Analogy Spec.) 13h1FFF: represent the max point13h1000: represent the zero point &lt;13h1000: invalid That means when the value is 13h1000, its voltage is 0 V. Because the voltage is all positive value, the value of below 13h1000 should not be valid as see it as some offset of 0v. When VOLT_H_VALID is 0, then the bit [13] is omitted, and just 12 bit is valid It has another function, when in ADC software calibration mode; it is act as the ADC1 voltage value.</comment>
  64083. </bits>
  64084. </reg>
  64085. <reg name="fgu_pocv_value" protect="r">
  64086. <bits access="r" name="pocv_value" pos="12:0" rst="11">
  64087. <comment>Open Circuit Value read at the very beginning of 250ms</comment>
  64088. </bits>
  64089. </reg>
  64090. <reg name="fgucurrentvalue" protect="r">
  64091. <bits access="r" name="curt_value" pos="13:0" rst="12">
  64092. <comment>Current now value, It is unsigned value, but represents signed value. The unit is equal the A/D value, and the really current value should multiply the LSB value (refer to the Analogy Spec.) 14h3FFF: represent the max point14h2000: represent the zero point14h0: : represent the min point That means when the value is 14h2000, its current is 0 A. Data bigger than 14h2000 is positive value, and data small than 14h2000 is negative value</comment>
  64093. </bits>
  64094. </reg>
  64095. <reg name="fgu_high_over" protect="rw">
  64096. <bits access="rw" name="fgu_high_over" pos="12:0" rst="11">
  64097. <comment>bit type is changed from r/w to rw.
  64098. Voltage High overload threshold. It is forbidden that the battery voltage is higher than the voltage max threshold. If it violates that, the battery may be destroyed. Once it reaches this value, an interrupt is generated to notify the software to do something to deal with it. It is unsigned value, the unit is equal the A/D value, and the really voltage value should multiply the LSB value (refer to the Analogy Spec.) 13h1FFF: represent the max point13h1000: represent the zero point &lt;13h1000: invalid That means when the value is 13h1000, its voltage is 0 V. Because the voltage is all positive value, the value of below 13h1000 should not be valid as see it as some offset of 0v. When VOLT_H_VALID is 0, then the bit [13] is omitted, and just 12 bit is valid</comment>
  64099. </bits>
  64100. </reg>
  64101. <reg name="fguvoltagelowoverload" protect="rw">
  64102. <bits access="rw" name="fgu_low_over" pos="12:0" rst="11">
  64103. <comment>bit type is changed from r/w to rw.
  64104. Voltage low overload threshold. Once the battery voltage is lower than the set threshold, the device will not Work at any moment. To avoid the lost of data, the software should save the data and shut down the device when a lower threshold interrupt is generated. It is unsigned value, the unit is equal the A/D value, and the really voltage value should multiply the LSB value (refer to the Analogy Spec.) 13h1FFF: represent the max point13h1000: represent the zero point &lt;13h1000: invalid That means when the value is 13h1000, its voltage is 0 V. Because the voltage is all positive value, the value of below 13h1000 should not be valid as see it as some offset of 0v. When VOLT_H_VALID is 0, then the bit [13] is omitted, and just 12 bit is valid</comment>
  64105. </bits>
  64106. </reg>
  64107. <reg name="fguvoltagehhthreshold" protect="rw">
  64108. <bits access="rw" name="fgu_vthre_hh" pos="12:0" rst="11">
  64109. <comment>bit type is changed from r/w to rw.
  64110. Voltage High-High threshold. When update the Qmax, there should be two OCV and its relative coulomb counter value to calculate the Qmax. This register is used to set the high threshod of the locked high OCV. It is unsigned value, the unit is equal the A/D value, and the really voltage value should multiply the LSB value (refer to the Analogy Spec.) 13h1FFF: represent the max point13h1000: represent the zero point &lt;13h1000: invalid That means when the value is 13h1000, its voltage is 0 V. Because the voltage is all positive value, the value of below 13h1000 should not be valid as see it as some offset of 0v. When VOLT_H_VALID is 0, then the bit [13] is omitted, and just 12 bit is valid</comment>
  64111. </bits>
  64112. </reg>
  64113. <reg name="fguvoltagehlthreshold" protect="rw">
  64114. <bits access="rw" name="fgu_vthre_hl" pos="12:0" rst="11">
  64115. <comment>bit type is changed from r/w to rw.
  64116. Voltage High-Low threshold. When update the Qmax, there should be two OCV and its relative coulomb counter value to calculate the Qmax. This register is used to set the low threshold of the locked high OCV. It is unsigned value, the unit is equal the A/D value, and the really voltage value should multiply the LSB value (refer to the Analogy Spec.) 13h1FFF: represent the max point13h1000: represent the zero point &lt;13h1000: invalid That means when the value is 13h1000, its voltage is 0 V. Because the voltage is all positive value, the value of below 13h1000 should not be valid as see it as some offset of 0v. When VOLT_H_VALID is 0, then the bit [13] is omitted, and just 12 bit is valid</comment>
  64117. </bits>
  64118. </reg>
  64119. <reg name="fguvoltagelhthreshold" protect="rw">
  64120. <bits access="rw" name="fgu_vthre_lh" pos="12:0" rst="11">
  64121. <comment>bit type is changed from r/w to rw.
  64122. Voltage Low-High threshold. When update the Qmax, there should be two OCV and its relative coulomb counter value to calculate the Qmax. This register is used to set the high threshold of the locked low OCV. It is unsigned value, the unit is equal the A/D value, and the really voltage value should multiply the LSB value (refer to the Analogy Spec.) 13h1FFF: represent the max point13h1000: represent the zero point &lt;13h1000: invalid That means when the value is 13h1000, its voltage is 0 V. Because the voltage is all positive value, the value of below 13h1000 should not be valid as see it as some offset of 0v. When VOLT_H_VALID is 0, then the bit [13] is omitted, and just 12 bit is valid</comment>
  64123. </bits>
  64124. </reg>
  64125. <reg name="fguvoltagellthreshold" protect="rw">
  64126. <bits access="rw" name="fgu_vthre_ll" pos="12:0" rst="11">
  64127. <comment>bit type is changed from r/w to rw.
  64128. Voltage Low-Low threshold. When update the Qmax, there should be two OCV and its relative coulomb counter value to calculate the Qmax. This register is used to set the low threshold of the locked low OCV. It is unsigned value, the unit is equal the A/D value, and the really voltage value should multiply the LSB value (refer to the Analogy Spec.) 13h1FFF: represent the max point13h1000: represent the zero point &lt;13h1000: invalid That means when the value is 13h1000, its voltage is 0 V. Because the voltage is all positive value, the value of below 13h1000 should not be valid as see it as some offset of 0v. When VOLT_H_VALID is 0, then the bit [13] is omitted, and just 12 bit is valid</comment>
  64129. </bits>
  64130. </reg>
  64131. <reg name="fguqmaxocvlocklo" protect="r">
  64132. <bits access="r" name="fgu_ocv_locklo" pos="12:0" rst="11">
  64133. <comment>Qmax OCV record Low point The Low OCV record of Qmax updated. It is unsigned value, the unit is equal the A/D value, and the really voltage value should multiply the LSB value (refer to the Analogy Spec.) 13h1FFF: represent the max point13h1000: represent the zero point &lt;13h1000: invalid That means when the value is 13h1000, its voltage is 0 V. Because the voltage is all positive value, the value of below 13h1000 should not be valid as see it as some offset of 0v. When VOLT_H_VALID is 0,then the bit [13] is omitted, and just 12 bit is valid</comment>
  64134. </bits>
  64135. </reg>
  64136. <reg name="fguqmaxocvlockhi" protect="r">
  64137. <bits access="r" name="fgu_ocv_lockhi" pos="12:0" rst="11">
  64138. <comment>Qmax OCV record High Point The High OCV record of Qmax updated. It is unsigned value, the unit is equal the A/D value, and the really voltage value should multiply the LSB value (refer to the Analogy Spec.) 13h1FFF: represent the max point13h1000: represent the zero point &lt;13h1000: invalid That means when the value is 13h1000, its voltage is 0 V. Because the voltage is all positive value, the value of below 13h1000 should not be valid as see it as some offset of 0v. When VOLT_H_VALID is 0,then the bit [13] is omitted, and just 12 bit is valid</comment>
  64139. </bits>
  64140. </reg>
  64141. <reg name="fgucoulombcountersethigh" protect="rw">
  64142. <bits access="rw" name="clbcnt_seth" pos="13:0" rst="12">
  64143. <comment>bit type is changed from r/w to rw.
  64144. Set Coulomb Counter Value register, bit[29:16] In Work mode 2 of Current-Integration-based algorithm. The software can initial the coulomb counter by writing the value to this register, it Once the value is write to this register (with CLBCNT_SET_IND = 2h0, then the FGU_CLBCNT_VAL will be set to the same value, and the coulomb counter will count from this value. It is 2s Complement Code value 30h1FFF_FFFF: represent the max positive point30h0: represent the zero point30h2000_0000: represent the min negative point
  64145. Note: the Coulomb Counter is 28 bits, and it is distributed in two register, after both of them are set, then it can be valid. When first write CLBCNT_SETH, then CLBCNT_SET_IND[1] is high to indicate it; second write CLBCNT_SETL, then CLBCNT_SET_IND[0] is high to indicate it, and after one clock, the CLBCNT_SET_IND[1] and CLBCNT_SET_IND[0] is auto clear to 0 to indicate both the register is write and stable.When first write CLBCNT_SETL, then CLBCNT_SET_IND[0] is high to indicate it; second write CLBCNT_SETH then CLBCNT_SET_IND[1] is high to indicate it, and after one clock, the CLBCNT_SET_IND[1] and CLBCNT_SET_IND[0] is auto clear to 0 to indicate both the register is write and stable.</comment>
  64146. </bits>
  64147. </reg>
  64148. <reg name="fgucoulombcountersetlow" protect="rw">
  64149. <bits access="rw" name="clbcnt_setl" pos="15:0" rst="14">
  64150. <comment>bit type is changed from r/w to rw.
  64151. Set Coulomb Counter Set Value register. bit[15:0]] In Work mode 2 of Current-Integration-based algorithm. The software can initial the coulomb counter by writing the value to this register, it Once the value is write to this register (with CLBCNT_H_IND =0 &amp; CLBCNT_L_IND = 0), then the FGU_CLBCNT_VAL will be set to the same value, and the coulomb counter will count from this value. It is 2s Complement Code value 30h1FFF_FFFF: represent the max positive point30h0: represent the zero point30h2000_0000: represent the min negative point</comment>
  64152. </bits>
  64153. </reg>
  64154. <reg name="fgucoulombcounterdeltahigh" protect="rw">
  64155. <bits access="rw" name="clbcnt_delth" pos="13:0" rst="12">
  64156. <comment>bit type is changed from r/w to rw.
  64157. Coulomb Counter Delta register, bit[29:16] Once the coulomb is changed multiply of the Coulomb counter threshold, then an interrupt is generated to notify software to deal with the resolution. It is 2s Complement Code value 30h1FFF_FFFF: represent the max positive point30h0: represent the zero point30h2000_0000: represent the min negative point</comment>
  64158. </bits>
  64159. </reg>
  64160. <reg name="fgucoulombcounterdeltalow" protect="rw">
  64161. <bits access="rw" name="clbcnt_deltl" pos="15:0" rst="14">
  64162. <comment>bit type is changed from r/w to rw.
  64163. Coulomb Counter Delta register, bit[:15:0] Once the coulomb is changed multiply of the Coulomb counter delta threshold, then an interrupt is generated to notify software to deal with the resolution. It is 2s Complement Code value 30h1FFF_FFFF: represent the max positive point30h0: represent the zero point30h2000_0000: represent the min negative point</comment>
  64164. </bits>
  64165. </reg>
  64166. <reg name="fgucoulombcounterlastocvhigh" protect="r">
  64167. <bits access="r" name="clbcnt_lastocvh" pos="15:0" rst="14">
  64168. <comment>Coulomb Counter Last OCV register, bit[31:16] This register indicated the coulomb counter value changed after the OCV is locked. It is 2s Complement Code value 32h7FFF_FFFF ~ 32h2000_0000: reserved 32h1FFF_FFFF: max positive point32h0: zero point 32hE000_0000: min negative point 32hDFFF_FFFF~32h8000_0000: reserved Note: There are really 30 bits valid, the upper 2 bits is used to complement for the positive or negative sign of signed value point</comment>
  64169. </bits>
  64170. </reg>
  64171. <reg name="fgucoulombcounterlastocvlow" protect="r">
  64172. <bits access="r" name="clbcnt_lastocvl" pos="15:0" rst="14">
  64173. <comment>Coulomb Counter Last OCV register, bit[15:0] This register indicated the coulomb counter value changed after the OCV is locked. It is 2s Complement Code value 32h7FFF_FFFF ~ 32h2000_0000: reserved 32h1FFF_FFFF: max positive point32h0: zero point32hE000_0000: min negative point 32hDFFF_FFFF~32h8000_0000: reserved Note: There are really 30 bits valid, the upper 2 bits is used to complement for the positive or negative sign of signed value</comment>
  64174. </bits>
  64175. </reg>
  64176. <reg name="fgucoulombcountervaluehigh" protect="r">
  64177. <bits access="r" name="clbcnt_valh" pos="15:0" rst="14">
  64178. <comment>Coulomb Counter Value register, bit[31:16] This register is accumulate once every charge is coming, and it is can be set by CLBCNT_SET register at any moment. It is 2s Complement Code value 32h7FFF_FFFF ~ 32h2000_0000: reserved 32h1FFF_FFFF: maxpositive point32h0: zero point32hE000_0000: min negative point 32hDFFF_FFFF~32h8000_0000: reserved Note: There are really 30 bits valid, the upper 2 bits is used to complement for the positive or negative sign of signed value</comment>
  64179. </bits>
  64180. </reg>
  64181. <reg name="fgu_clbcnt_vall" protect="r">
  64182. <bits access="r" name="clbcnt_vall" pos="15:0" rst="14">
  64183. <comment>Coulomb Counter Value register, bit[15:0] This register is accumulate once every charge is coming, and it is can be set by CLBCNT_SET register at any moment. It is 2s Complement Code value 32h7FFF_FFFF ~ 32h2000_0000: reserved 32h1FFF_FFFF: max positive point32h0: zero point32hE000_0000: min negative point 32hDFFF_FFFF~32h8000_0000: reserved Note: There are really 30 bits valid, the upper 2 bits is used to complement for the positive or negative sign of signed value</comment>
  64184. </bits>
  64185. </reg>
  64186. <reg name="fgu_clbcnt_qmaxh" protect="r">
  64187. <bits access="r" name="clbcnt_qmaxh" pos="15:0" rst="14">
  64188. <comment>Coulomb Counter Qmax Value, bit[31:16] It is used to record the Qmax value when the Qmax process is used. It is read only. It is 2s Complement Code value 32h7FFF_FFFF ~ 32h2000_0000: reserved 32h1FFF_FFFF: max positive point32h0: zero point32hE000_0000: min negative point 32hDFFF_FFFF~32h8000_0000: reserved Note: There are really 30 bits valid, the upper 2 bits is used to complement for the positive or negative sign of signed value</comment>
  64189. </bits>
  64190. </reg>
  64191. <reg name="fgu_clbcnt_qmaxl" protect="r">
  64192. <bits access="r" name="clbcnt_qmaxl" pos="15:0" rst="14">
  64193. <comment>Coulomb Counter Qmax Value, bit[15:0] It is used to record the Qmax value when the Qmax process is used. It is read only. It is 2s Complement Code value 32h7FFF_FFFF ~ 32h2000_0000: reserved 32h1FFF_FFFF: max positive point32h0: zero point32hE000_0000: min negative point 32hDFFF_FFFF~32h8000_0000: reserved Note: There are really 30 bits valid, the upper 2 bits is used to complement for the positive or negative sign of signed value Note: after Power On, it saved the first sampled Curt data, unsigned, and just 250ms data.14bits. or said POCI.</comment>
  64194. </bits>
  64195. </reg>
  64196. <reg name="fguqmaxtimeoutset" protect="rw">
  64197. <bits access="rw" name="qmax_timeout_set" pos="15:0" rst="14">
  64198. <comment>bit type is changed from r/w to rw.
  64199. FGU Qmax timeout set counter. When the Qmax update exceed the timeout set counter, then the Qmax quit and it is failed to update. The unit of the counter is 4 seconds, so the max value is 72.8 hours. Note: when the QMAX_TIMEOUT_CNT is 0, it means it is never timeout.</comment>
  64200. </bits>
  64201. </reg>
  64202. <reg name="fguqmaxtimercounter" protect="r">
  64203. <bits access="r" name="qmax_timer_cnt" pos="15:0" rst="14">
  64204. <comment>FGU Qmax timer counter. Once the Qmax is updating, the timer is counted from 0. After the Qmax is updated, the timer is stay on the last value until the next update process start. The unit of the counter is 4 seconds, so the max value is 72.8 hours.</comment>
  64205. </bits>
  64206. </reg>
  64207. <reg name="fgurelaxcurrentthreshold" protect="rw">
  64208. <bits access="rw" name="relax_curt_thre" pos="13:0" rst="12">
  64209. <comment>bit type is changed from r/w to rw.
  64210. Relax Current threshold. It is unsigned value, It is a tiny value which will add or subtract the zero value (14h1FFF) of the CURT_VALUE, to indicate a low current threshold. And it will define the conception of Relax State: When current value of CURT_VALUE bigger than (14h1FFF-CURT_THRE) and smaller than (14h1FFF + CURT_THRE), the battery will work in Relax state. And then the relax counter will work to count, else it clear to 0.</comment>
  64211. </bits>
  64212. </reg>
  64213. <reg name="fgu_relx_cnt_thre" protect="rw">
  64214. <bits access="rw" name="relx_cnt_thre" pos="12:0" rst="11">
  64215. <comment>bit type is changed from r/w to rw.
  64216. Relax counter threshold. When the counter reaches to this value, it stops at this value. The unit is 1 second. 13h1 means 1 second</comment>
  64217. </bits>
  64218. </reg>
  64219. <reg name="fgu_relx_cnt_val" protect="r">
  64220. <bits access="r" name="relx_cnt_val" pos="12:0" rst="11">
  64221. <comment>Relax counter value. The relax counter register is 13 bit read-only register clocked every 1s and can go up to about 2hs. The counter is auto clearer to 0 when the current is out of the relax state. Definition of Relax State: When current value of CURT_VALUE bigger than (14h1FFF-CURT_THRE) and smaller than (14h1FFF + CURT_THRE), the battery will work in Relax state.</comment>
  64222. </bits>
  64223. </reg>
  64224. <reg name="fgu_ocv_last_cnt" protect="r">
  64225. <bits access="r" name="ocv_last_cnt" pos="12:0" rst="11">
  64226. <comment>OCV Last count. After the OCV is locked, this counter will count how many times it keeps The unit is 1 second, and the max count is about 9 hours, if the count is bigger than 18hrs, than the count is keep its max value 16hFFFF.</comment>
  64227. </bits>
  64228. </reg>
  64229. <reg name="fgu_curt_offset_value" protect="r">
  64230. <bits access="r" name="curt_offset_value" pos="13:0" rst="12">
  64231. <comment>Current offset value, It is signed value, and 2s complement value. Used to adjust the calibration current value.</comment>
  64232. </bits>
  64233. </reg>
  64234. <reg name="reserved1" protect="rw">
  64235. </reg>
  64236. <reg name="reserved2" protect="rw">
  64237. </reg>
  64238. <reg name="reserved3" protect="rw">
  64239. </reg>
  64240. <reg name="fguuserareaset0" protect="rw">
  64241. <bits access="rw" name="user_area_set0" pos="15:0" rst="14">
  64242. <comment>bit type is changed from r/w to rw.
  64243. For software to set this area, where the data will be kept in USER_AREA_STS0 if the RTC clock is working.</comment>
  64244. </bits>
  64245. </reg>
  64246. <reg name="fguuserareaclear0" protect="rw">
  64247. <bits access="rw" name="user_area_clr0" pos="15:0" rst="14">
  64248. <comment>bit type is changed from r/w to rw.
  64249. For software to clear this area, Set 1, the data kept in USER_AREA_STS0 will be cleared. Set 0, after clearing the status, the register value will be set back to 0</comment>
  64250. </bits>
  64251. </reg>
  64252. <reg name="fguuserareastatus0" protect="r">
  64253. <bits access="r" name="user_area_sts0" pos="15:0" rst="14">
  64254. <comment>The data will be kept in if RTC clock is working</comment>
  64255. </bits>
  64256. </reg>
  64257. <reg name="reserved4" protect="rw">
  64258. </reg>
  64259. <reg name="fguocivalue" protect="r">
  64260. <bits access="r" name="fgu_oci" pos="15:0" rst="14">
  64261. <comment>Open Circuit Current. Refer to the Current Value.</comment>
  64262. </bits>
  64263. </reg>
  64264. <reg name="fguocvlowthreshold" protect="rw">
  64265. <bits access="rw" name="fgu_ocv_low_thre" pos="15:0" rst="14">
  64266. <comment>bit type is changed from r/w to rw.
  64267. The OCV low threshold. When the real OCV lower than this register, then an interrupt is occurred.</comment>
  64268. </bits>
  64269. </reg>
  64270. <reg name="fguclbcntlowthresholdhigh" protect="rw">
  64271. <bits access="rw" name="fgu_clbcnt_lthre_h" pos="13:0" rst="12">
  64272. <comment>bit type is changed from r/w to rw.
  64273. The CLBCNT low threshold. When the real CLBCNT lower than this register, then an interrupt is occurred. Its higer part.</comment>
  64274. </bits>
  64275. </reg>
  64276. <reg name="fguclbcntlowthresholdlow" protect="rw">
  64277. <bits access="rw" name="fgu_clbcnt_lthre_l" pos="15:0" rst="14">
  64278. <comment>bit type is changed from r/w to rw.
  64279. The CLBCNT low threshold. When the real CLBCNT lower than this register, then an interrupt is occurred.</comment>
  64280. </bits>
  64281. </reg>
  64282. <reg name="fguuserareaset1" protect="rw">
  64283. <bits access="rw" name="user_area_set1" pos="15:0" rst="14">
  64284. <comment>bit type is changed from r/w to rw.
  64285. For software to set this area, where the data will be kept in USER_AREA_STS1 if the RTC clock is working.</comment>
  64286. </bits>
  64287. </reg>
  64288. <reg name="fguuserareaclear1" protect="rw">
  64289. <bits access="rw" name="user_area_clr1" pos="15:0" rst="14">
  64290. <comment>bit type is changed from r/w to rw.
  64291. For software to clear this area, Set 1, the data kept in USER_AREA_STS1 will be cleared. Set 0, after clearing the status, the register value will be set back to 0</comment>
  64292. </bits>
  64293. </reg>
  64294. <reg name="fguuserareastatus1" protect="r">
  64295. <bits access="r" name="user_area_sts1" pos="15:0" rst="14">
  64296. <comment>The data will be kept in if RTC clock is working</comment>
  64297. </bits>
  64298. </reg>
  64299. <reg name="fgulegacyocvvalue" protect="r">
  64300. <bits access="r" name="legacy_ocv_value" pos="12:0" rst="11">
  64301. <comment>Power On Open Circuit Voltage. If is just valid when the very time of power on . It is unsigned value, the unit is equal the A/D value, and the relative voltage value should multiply the LSB value (refer to the Analogy Spec.) 13h1FFF: represent the max point13h1000: represent the zero point &lt;13h1000: invalid That means when the value is 13h1000, it voltage is 0 V. Because the voltage is all positive value, the value of below 13h1000 should not be valid as see it as some offset of 0v. When VOLT_H_VALID is 0, then the bit [13] is omitted, and just 12 bit is valid It has another function, when in ADC software calibration mode; it is act as the ADC1 voltage value.</comment>
  64302. </bits>
  64303. </reg>
  64304. <reg name="fguvoltvaluebuf0" protect="r">
  64305. <bits access="r" name="volt_value_buf0" pos="12:0" rst="11">
  64306. <comment>This set of registers save previous voltage values. Once voltage value is updated, buffer0 will save the value in voltage value register. Buffer1 saves previous value in buffer0. Same manner as buffer2~7. Buffer0 is always same as lattest voltage value.It is unsigned value, the unit is equal the A/D value, and the relative voltage value should multiply the LSB value (refer to the Analogy Spec.) 13h1FFF: represent the max point13h1000: represent the zero point &lt;13h1000: invalid That means when the value is 13h1000, it voltage is 0 V. Because the voltage is all positive value, the value of below 13h1000 should not be valid as see it as some offset of 0v. It has another function, when in ADC software calibration mode; it is act as the ADC1 voltage value.</comment>
  64307. </bits>
  64308. </reg>
  64309. <reg name="fguvoltvaluebuf1" protect="r">
  64310. <bits access="r" name="volt_value_buf1" pos="12:0" rst="11">
  64311. <comment>This set of registers save previous voltage values. Once voltage value is updated, buffer0 will save the value in voltage value register. Buffer1 saves previous value in buffer0. Same manner as buffer2~7. Buffer0 is always same as lattest voltage value.It is unsigned value, the unit is equal the A/D value, and the relative voltage value should multiply the LSB value (refer to the Analogy Spec.) 13h1FFF: represent the max point13h1000: represent the zero point &lt;13h1000: invalid That means when the value is 13h1000, it voltage is 0 V. Because the voltage is all positive value, the value of below 13h1000 should not be valid as see it as some offset of 0v. It has another function, when in ADC software calibration mode; it is act as the ADC1 voltage value.</comment>
  64312. </bits>
  64313. </reg>
  64314. <reg name="fguvoltvaluebuf2" protect="r">
  64315. <bits access="r" name="volt_value_buf2" pos="12:0" rst="11">
  64316. <comment>This set of registers save previous voltage values. Once voltage value is updated, buffer0 will save the value in voltage value register. Buffer1 saves previous value in buffer0. Same manner as buffer2~7. Buffer0 is always same as lattest voltage value.It is unsigned value, the unit is equal the A/D value, and the relative voltage value should multiply the LSB value (refer to the Analogy Spec.) 13h1FFF: represent the max point13h1000: represent the zero point &lt;13h1000: invalid That means when the value is 13h1000, it voltage is 0 V. Because the voltage is all positive value, the value of below 13h1000 should not be valid as see it as some offset of 0v. It has another function, when in ADC software calibration mode; it is act as the ADC1 voltage value.</comment>
  64317. </bits>
  64318. </reg>
  64319. <reg name="fguvoltvaluebuf3" protect="r">
  64320. <bits access="r" name="volt_value_buf3" pos="12:0" rst="11">
  64321. <comment>This set of registers save previous voltage values. Once voltage value is updated, buffer0 will save the value in voltage value register. Buffer1 saves previous value in buffer0. Same manner as buffer2~7. Buffer0 is always same as lattest voltage value.It is unsigned value, the unit is equal the A/D value, and the relative voltage value should multiply the LSB value (refer to the Analogy Spec.) 13h1FFF: represent the max point13h1000: represent the zero point &lt;13h1000: invalid That means when the value is 13h1000, it voltage is 0 V. Because the voltage is all positive value, the value of below 13h1000 should not be valid as see it as some offset of 0v. It has another function, when in ADC software calibration mode; it is act as the ADC1 voltage value.</comment>
  64322. </bits>
  64323. </reg>
  64324. <reg name="fguvoltvaluebuf4" protect="r">
  64325. <bits access="r" name="volt_value_buf4" pos="12:0" rst="11">
  64326. <comment>This set of registers save previous voltage values. Once voltage value is updated, buffer0 will save the value in voltage value register. Buffer1 saves previous value in buffer0. Same manner as buffer2~7. Buffer0 is always same as lattest voltage value.It is unsigned value, the unit is equal the A/D value, and the relative voltage value should multiply the LSB value (refer to the Analogy Spec.) 13h1FFF: represent the max point13h1000: represent the zero point &lt;13h1000: invalid That means when the value is 13h1000, it voltage is 0 V. Because the voltage is all positive value, the value of below 13h1000 should not be valid as see it as some offset of 0v. It has another function, when in ADC software calibration mode; it is act as the ADC1 voltage value.</comment>
  64327. </bits>
  64328. </reg>
  64329. <reg name="fguvoltvaluebuf5" protect="r">
  64330. <bits access="r" name="volt_value_buf5" pos="12:0" rst="11">
  64331. <comment>This set of registers save previous voltage values. Once voltage value is updated, buffer0 will save the value in voltage value register. Buffer1 saves previous value in buffer0. Same manner as buffer2~7. Buffer0 is always same as lattest voltage value.It is unsigned value, the unit is equal the A/D value, and the relative voltage value should multiply the LSB value (refer to the Analogy Spec.) 13h1FFF: represent the max point13h1000: represent the zero point &lt;13h1000: invalid That means when the value is 13h1000, it voltage is 0 V. Because the voltage is all positive value, the value of below 13h1000 should not be valid as see it as some offset of 0v. It has another function, when in ADC software calibration mode; it is act as the ADC1 voltage value.</comment>
  64332. </bits>
  64333. </reg>
  64334. <reg name="fguvoltvaluebuf6" protect="r">
  64335. <bits access="r" name="volt_value_buf6" pos="12:0" rst="11">
  64336. <comment>This set of registers save previous voltage values. Once voltage value is updated, buffer0 will save the value in voltage value register. Buffer1 saves previous value in buffer0. Same manner as buffer2~7. Buffer0 is always same as lattest voltage value.It is unsigned value, the unit is equal the A/D value, and the relative voltage value should multiply the LSB value (refer to the Analogy Spec.) 13h1FFF: represent the max point13h1000: represent the zero point &lt;13h1000: invalid That means when the value is 13h1000, it voltage is 0 V. Because the voltage is all positive value, the value of below 13h1000 should not be valid as see it as some offset of 0v. It has another function, when in ADC software calibration mode; it is act as the ADC1 voltage value.</comment>
  64337. </bits>
  64338. </reg>
  64339. <reg name="fguvoltvaluebuf7" protect="r">
  64340. <bits access="r" name="volt_value_buf7" pos="12:0" rst="11">
  64341. <comment>This set of registers save previous voltage values. Once voltage value is updated, buffer0 will save the value in voltage value register. Buffer1 saves previous value in buffer0. Same manner as buffer2~7. Buffer0 is always same as lattest voltage value.It is unsigned value, the unit is equal the A/D value, and the relative voltage value should multiply the LSB value (refer to the Analogy Spec.) 13h1FFF: represent the max point13h1000: represent the zero point &lt;13h1000: invalid That means when the value is 13h1000, it voltage is 0 V. Because the voltage is all positive value, the value of below 13h1000 should not be valid as see it as some offset of 0v. It has another function, when in ADC software calibration mode; it is act as the ADC1 voltage value.</comment>
  64342. </bits>
  64343. </reg>
  64344. <reg name="fgucurtvaluebuf0" protect="r">
  64345. <bits access="r" name="curt_value_buf0" pos="13:0" rst="12">
  64346. <comment>This set of registers save previous current values. Once curt value is updated, buffer0 will save the value in curt value register. Buffer1 saves previous value in buffer0. Same manner as buffer2~7. Buffer0 is always same as lattest current value. Current now value, It is unsigned value, but represents signed value. The unit is equal the A/D value, and the really current value should multiply the LSB value (refer to the Analogy Spec.) 14h3FFF: represent the max point14h2000: represent the zero point14h0: : represent the min point That means when the value is 14h2000, it voltage is 0 A. Data bigger than 14h2000 is positive value, and data small than 14h2000 is negative value</comment>
  64347. </bits>
  64348. </reg>
  64349. <reg name="fgucurtvaluebuf1" protect="r">
  64350. <bits access="r" name="curt_value_buf1" pos="13:0" rst="12">
  64351. <comment>This set of registers save previous current values. Once curt value is updated, buffer0 will save the value in curt value register. Buffer1 saves previous value in buffer0. Same manner as buffer2~7. Buffer0 is always same as lattest current value. Current now value, It is unsigned value, but represents signed value. The unit is equal the A/D value, and the really current value should multiply the LSB value (refer to the Analogy Spec.) 14h3FFF: represent the max point14h2000: represent the zero point14h0: : represent the min point That means when the value is 14h2000, it voltage is 0 A. Data bigger than 14h2000 is positive value, and data small than 14h2000 is negative value</comment>
  64352. </bits>
  64353. </reg>
  64354. <reg name="fgucurtvaluebuf2" protect="r">
  64355. <bits access="r" name="curt_value_buf2" pos="13:0" rst="12">
  64356. <comment>This set of registers save previous current values. Once curt value is updated, buffer0 will save the value in curt value register. Buffer1 saves previous value in buffer0. Same manner as buffer2~7. Buffer0 is always same as lattest current value. Current now value, It is unsigned value, but represents signed value. The unit is equal the A/D value, and the really current value should multiply the LSB value (refer to the Analogy Spec.) 14h3FFF: represent the max point14h2000: represent the zero point14h0: : represent the min point That means when the value is 14h2000, it voltage is 0 A. Data bigger than 14h2000 is positive value, and data small than 14h2000 is negative value</comment>
  64357. </bits>
  64358. </reg>
  64359. <reg name="fgucurtvaluebuf3" protect="r">
  64360. <bits access="r" name="curt_value_buf3" pos="13:0" rst="12">
  64361. <comment>This set of registers save previous current values. Once curt value is updated, buffer0 will save the value in curt value register. Buffer1 saves previous value in buffer0. Same manner as buffer2~7. Buffer0 is always same as lattest current value. Current now value, It is unsigned value, but represents signed value. The unit is equal the A/D value, and the really current value should multiply the LSB value (refer to the Analogy Spec.) 14h3FFF: represent the max point14h2000: represent the zero point14h0: : represent the min point That means when the value is 14h2000, it voltage is 0 A. Data bigger than 14h2000 is positive value, and data small than 14h2000 is negative value</comment>
  64362. </bits>
  64363. </reg>
  64364. <reg name="fgucurtvaluebuf4" protect="r">
  64365. <bits access="r" name="curt_value_buf4" pos="13:0" rst="12">
  64366. <comment>This set of registers save previous current values. Once curt value is updated, buffer0 will save the value in curt value register. Buffer1 saves previous value in buffer0. Same manner as buffer2~7. Buffer0 is always same as lattest current value. Current now value, It is unsigned value, but represents signed value. The unit is equal the A/D value, and the really current value should multiply the LSB value (refer to the Analogy Spec.) 14h3FFF: represent the max point14h2000: represent the zero point14h0: : represent the min point That means when the value is 14h2000, it voltage is 0 A. Data bigger than 14h2000 is positive value, and data small than 14h2000 is negative value</comment>
  64367. </bits>
  64368. </reg>
  64369. <reg name="fgucurtvaluebuf5" protect="r">
  64370. <bits access="r" name="curt_value_buf5" pos="13:0" rst="12">
  64371. <comment>This set of registers save previous current values. Once curt value is updated, buffer0 will save the value in curt value register. Buffer1 saves previous value in buffer0. Same manner as buffer2~7. Buffer0 is always same as lattest current value. Current now value, It is unsigned value, but represents signed value. The unit is equal the A/D value, and the really current value should multiply the LSB value (refer to the Analogy Spec.) 14h3FFF: represent the max point14h2000: represent the zero point14h0: : represent the min point That means when the value is 14h2000, it voltage is 0 A. Data bigger than 14h2000 is positive value, and data small than 14h2000 is negative value</comment>
  64372. </bits>
  64373. </reg>
  64374. <reg name="fgucurtvaluebuf6" protect="r">
  64375. <bits access="r" name="curt_value_buf6" pos="13:0" rst="12">
  64376. <comment>This set of registers save previous current values. Once curt value is updated, buffer0 will save the value in curt value register. Buffer1 saves previous value in buffer0. Same manner as buffer2~7. Buffer0 is always same as lattest current value. Current now value, It is unsigned value, but represents signed value. The unit is equal the A/D value, and the really current value should multiply the LSB value (refer to the Analogy Spec.) 14h3FFF: represent the max point14h2000: represent the zero point14h0: : represent the min point That means when the value is 14h2000, it voltage is 0 A. Data bigger than 14h2000 is positive value, and data small than 14h2000 is negative value</comment>
  64377. </bits>
  64378. </reg>
  64379. <reg name="fgucurtvaluebuf7" protect="r">
  64380. <bits access="r" name="curt_value_buf7" pos="13:0" rst="12">
  64381. <comment>This set of registers save previous current values. Once curt value is updated, buffer0 will save the value in curt value register. Buffer1 saves previous value in buffer0. Same manner as buffer2~7. Buffer0 is always same as lattest current value. Current now value, It is unsigned value, but represents signed value. The unit is equal the A/D value, and the really current value should multiply the LSB value (refer to the Analogy Spec.) 14h3FFF: represent the max point14h2000: represent the zero point14h0: : represent the min point That means when the value is 14h2000, it voltage is 0 A. Data bigger than 14h2000 is positive value, and data small than 14h2000 is negative value</comment>
  64382. </bits>
  64383. </reg>
  64384. <reg name="fguqmaxocilocklo" protect="r">
  64385. <bits access="r" name="fgu_oci_locklo" pos="13:0" rst="12">
  64386. <comment>Qmax Lock Low Point current value It is unsigned value, but represents signed value. The unit is equal the A/D value, and the really current value should multiply the LSB value (refer to the Analogy Spec.) 14h3FFF: represent the max point14h2000: represent the zero point14h0: : represent the min point That means when the value is 14h2000, its current is 0 A. Data bigger than 14h2000 is positive value, and data small than 14h2000 is negative value</comment>
  64387. </bits>
  64388. </reg>
  64389. <reg name="fguqmaxocilockhi" protect="r">
  64390. <bits access="r" name="fgu_oci_lockhi" pos="13:0" rst="12">
  64391. <comment>Qmax Lock High Point current value It is unsigned value, but represents signed value. The unit is equal the A/D value, and the really current value should multiply the LSB value (refer to the Analogy Spec.) 14h3FFF: represent the max point14h2000:represent the zero point14h0: : represent the min point That means when the value is 14h2000, its current is 0 A. Data bigger than 14h2000 is positive value, and data small than 14h2000 is negative value</comment>
  64392. </bits>
  64393. </reg>
  64394. <reg name="fguocvvaluedebug" protect="r">
  64395. <bits access="r" name="ocv_debug_value" pos="12:0" rst="11">
  64396. <comment>Legacy Open Circuit Voltage Value for Debug It is unsigned value, the unit is equal the A/D value, and the relative voltage value should multiply the LSB value (refer to the Analogy Spec.) 13h1FFF: represent the max point13h1000: represent the zero point &lt;13h1000: invalid That means when the value is 13h1000, its voltage is 0 V. Because the voltage is all positive value, the value of below 13h1000 should not be valid as see it as some offset of 0v. When VOLT_H_VALID is 0, then the bit [13] is omitted, and just 12 bit is valid It has another function, when in ADC software calibration mode; it is act as the ADC1 voltage value.</comment>
  64397. </bits>
  64398. </reg>
  64399. <reg name="fguatecfg" protect="rw">
  64400. <bits access="rw" name="ate_data_sel" pos="6" rst="1">
  64401. <comment>bit type is changed from r/w to rw.
  64402. Select which type of data being shit out to pad 0: current value 1: voltage value</comment>
  64403. </bits>
  64404. <bits access="rw" name="ate_v_mode" pos="5:3" rst="3">
  64405. <comment>bit type is changed from r/w to rw.
  64406. ATE test voltage time mode 3b000: 15.6ms 3b001: 31.25ms 3b010: 62.5ms 3b011: 125ms 3b100: 250ms 3b101: 500ms</comment>
  64407. </bits>
  64408. <bits access="rw" name="ate_i_mode" pos="2:0" rst="3">
  64409. <comment>bit type is changed from r/w to rw.
  64410. ATE test current time mode 3b000: 15.6ms 3b001: 31.25ms 3b010: 62.5ms 3b011: 125ms 3b100: 250ms 3b101: 500ms</comment>
  64411. </bits>
  64412. </reg>
  64413. <reg name="?fguatecurt" protect="r">
  64414. <bits access="r" name="ate_curt_value" pos="13:0" rst="12">
  64415. <comment>ATE test current value saved register It is unsigned value, but represents signed value. The unit is equal the A/D value, and the really current value should multiply the LSB value (refer to the Analogy Spec.) 14h3FFF: represent the max point14h2000: represent the zero point14h0: : represent the min point That means when the value is 14h2000, its current is 0 A. Data bigger than 14h2000 is positive value, and data small than 14h2000 is negative value</comment>
  64416. </bits>
  64417. </reg>
  64418. <reg name="fguatevolt" protect="r">
  64419. <bits access="r" name="ate_vol_value" pos="12:0" rst="11">
  64420. <comment>ATE test voltage value saved register It is unsigned value, the unit is equal the A/D value, and the relative voltage value should multiply the LSB value (refer to the Analogy Spec.) 13h1FFF: represent the max point13h1000: represent the zero point &lt;13h1000: invalid That means when the value is 13h1000, its voltage is 0 V. Because the voltage is all positive value, the value of below 13h1000 should not be valid as see it as some offset of 0v.</comment>
  64421. </bits>
  64422. </reg>
  64423. </module>
  64424. </archive>
  64425. <archive relative="rda2720m_global.xml">
  64426. <module category="RDA2720M" name="RDA2720M_GLOBAL">
  64427. <reg name="chip_id_low" protect="r">
  64428. <bits access="r" name="chip_ip_low" pos="15:0" rst="40960">
  64429. <comment>CHIP ID low 16 bits</comment>
  64430. </bits>
  64431. </reg>
  64432. <reg name="chip_id_high" protect="r">
  64433. <bits access="r" name="chip_id_high" pos="15:0" rst="10016">
  64434. <comment>CHIP ID high 16 bits</comment>
  64435. </bits>
  64436. </reg>
  64437. <reg name="module_en0" protect="rw">
  64438. <bits access="rw" name="tmr_en" pos="12" rst="0">
  64439. <comment>TMR module enable 0: Disable the PCLK of timer 1: Enable the PCLK of timer</comment>
  64440. </bits>
  64441. <bits access="rw" name="psm_en" pos="10" rst="0">
  64442. <comment>PSM module enable 0: Disable the PCLK of PSM 1: Enable the PCLK of PSM</comment>
  64443. </bits>
  64444. <bits access="rw" name="bltc_en" pos="9" rst="0">
  64445. <comment>BLTC module enable 0: Disable the PCLK of BLTC 1: Enable the PCLK of BLTC</comment>
  64446. </bits>
  64447. <bits access="rw" name="pinreg_en" pos="8" rst="1">
  64448. <comment>PINREG module enable 0: Disable the PCLK of pin registers 1: Enable the PCLK of pin registers</comment>
  64449. </bits>
  64450. <bits access="rw" name="fgu_en" pos="7" rst="0">
  64451. <comment>FGU module enable 0: Disable the PCLK of FGU 1: Enable the PCLK of FGU</comment>
  64452. </bits>
  64453. <bits access="rw" name="efs_en" pos="6" rst="0">
  64454. <comment>Efuse module enable 0: Disable the PCLK of efuse ctrl 1: Enable the PCLK of efuse ctrl</comment>
  64455. </bits>
  64456. <bits access="rw" name="adc_en" pos="5" rst="0">
  64457. <comment>AUXADC module enable 0: Disable the PCLK of AUXADC 1: Enable the PCLK of AUXADC</comment>
  64458. </bits>
  64459. <bits access="rw" name="aud_en" pos="4" rst="0">
  64460. <comment>Audio module enable 0: Disable the PCLK of Audio 1: Enable the PCLK of Audio</comment>
  64461. </bits>
  64462. <bits access="rw" name="eic_en" pos="3" rst="0">
  64463. <comment>EIC module enable 0: Disable the PCLK of EIC 1: Enable the PCLK of EIC</comment>
  64464. </bits>
  64465. <bits access="rw" name="wdg_en" pos="2" rst="0">
  64466. <comment>WDG module enable 0: Disable the PCLK of watchdog 1: Enable the PCLK of watchdog</comment>
  64467. </bits>
  64468. <bits access="rw" name="rtc_en" pos="1" rst="1">
  64469. <comment>RTC module enable 0: Disable the PCLK of RTC 1: Enable the PCLK of RTC</comment>
  64470. </bits>
  64471. <bits access="rw" name="cal_en" pos="0" rst="0">
  64472. <comment>CAL module enable 0: Disable the PCLK of CAL 1: Enable the PCLK of CAL</comment>
  64473. </bits>
  64474. </reg>
  64475. <reg name="arm_clk_en0" protect="rw">
  64476. <bits access="rw" name="clk_auxad_en" pos="6" rst="0">
  64477. <comment>AUXAD clock enable, the clock is connected to AUXADC converter 0: disable AUXAD_CLK 1: enable AUXAD_CLK</comment>
  64478. </bits>
  64479. <bits access="rw" name="clk_auxadc_en" pos="5" rst="0">
  64480. <comment>AUXADC module work clock enable 0: disable clk_adc 1: enable clk_adc</comment>
  64481. </bits>
  64482. <bits access="rw" name="clk_cal_src_sel" pos="4:3" rst="0">
  64483. <comment>Calibration module clock source select 2'b00: 32K-less 1MHZ clock 2'b01: DCDC_CLK2M_OUT 2'b10: DCDC_CLK3M_OUT 2'b11: N/A</comment>
  64484. </bits>
  64485. <bits access="rw" name="clk_cal_en" pos="2" rst="0">
  64486. <comment>CLK_CAL eanble 0: disable clk_cal 1: enable clk_cal</comment>
  64487. </bits>
  64488. <bits access="rw" name="clk_aud_if_6p5m_en" pos="1" rst="0">
  64489. <comment>Audio 6.5M clock enable 0: disable clk_aud_6p5m_rx and clk_aud_6p5m_tx 1: enable clk_aud_6p5m_rx and clk_aud_6p5m_tx</comment>
  64490. </bits>
  64491. <bits access="rw" name="clk_aud_if_en" pos="0" rst="0">
  64492. <comment>Audio IF clock enable 0: disable CLK_AUDIF 1: enable CLK_AUDIF</comment>
  64493. </bits>
  64494. </reg>
  64495. <reg name="rtc_clk_en0" protect="rw">
  64496. <bits access="rw" name="rtc_tmr_en" pos="13" rst="0">
  64497. <comment>TIMER RTC clock soft enable 0: Disable the RTC clock of timer 1: Enable RTC clock of timer</comment>
  64498. </bits>
  64499. <bits access="rw" name="rtc_flash_en" pos="12" rst="0">
  64500. <comment>FLASH controller RTC clock enable 0: Disable the RTC clock of FLASH controller 1: Enable RTC clock of FLASH controller</comment>
  64501. </bits>
  64502. <bits access="rw" name="rtc_efs_en" pos="11" rst="1">
  64503. <comment>EFS RTC clock soft enable 0: Disable the RTC clock of EFS 1: Enable RTC clock of EFS</comment>
  64504. </bits>
  64505. <bits access="rw" name="rtc_bltc_en" pos="7" rst="0">
  64506. <comment>BLTC RTC clock soft enable 0: Disable the RTC clock of BLTC 1: Enable RTC clock of BLTC</comment>
  64507. </bits>
  64508. <bits access="rw" name="rtc_fgu_en" pos="6" rst="1">
  64509. <comment>FGU RTC clock soft enable 0: Disable the RTC clock of FGU 1: Enable RTC clock of FGU</comment>
  64510. </bits>
  64511. <bits access="rw" name="rtc_eic_en" pos="3" rst="0">
  64512. <comment>EIC RTC clock soft enable 0: Disable the RTC clock of EIC 1: Enable RTC clock of EIC</comment>
  64513. </bits>
  64514. <bits access="rw" name="rtc_wdg_en" pos="2" rst="0">
  64515. <comment>Watchdog RTC clock soft enable 0: Disable the RTC clock of Watchdog 1: Enable RTC clock of Watchdo</comment>
  64516. </bits>
  64517. <bits access="rw" name="rtc_rtc_en" pos="1" rst="1">
  64518. <comment>RTC RTC clock soft enable 0: Disable the RTC clock of RTC 1: Enable RTC clock of RTC</comment>
  64519. </bits>
  64520. <bits access="rw" name="rtc_arch_en" pos="0" rst="1">
  64521. <comment>ARCH RTC clock soft enable 0: Disable the RTC clock of ARCH 1: Enable RTC clock of ARCH</comment>
  64522. </bits>
  64523. </reg>
  64524. <reg name="soft_rst0" protect="rw">
  64525. <bits access="rw" name="audrx_soft_rst" pos="13" rst="0">
  64526. <comment>AUD RX soft reset</comment>
  64527. </bits>
  64528. <bits access="rw" name="audtx_soft_rst" pos="12" rst="0">
  64529. <comment>AUD TX soft reset</comment>
  64530. </bits>
  64531. <bits access="rw" name="bltc_soft_rst" pos="9" rst="0">
  64532. <comment>BLTC soft reset</comment>
  64533. </bits>
  64534. <bits access="rw" name="aud_if_soft_rst" pos="8" rst="0">
  64535. <comment>Audio IF soft reset</comment>
  64536. </bits>
  64537. <bits access="rw" name="efs_soft_rst" pos="7" rst="0">
  64538. <comment>Efuse soft reset</comment>
  64539. </bits>
  64540. <bits access="rw" name="adc_soft_rst" pos="6" rst="0">
  64541. <comment>Auxadc soft reset</comment>
  64542. </bits>
  64543. <bits access="rw" name="psm_soft_rst" pos="5" rst="0">
  64544. <comment>PSM apb soft reset</comment>
  64545. </bits>
  64546. <bits access="rw" name="fgu_soft_rst" pos="4" rst="0">
  64547. <comment>FGU soft reset</comment>
  64548. </bits>
  64549. <bits access="rw" name="eic_soft_rst" pos="3" rst="0">
  64550. <comment>EIC soft reset</comment>
  64551. </bits>
  64552. <bits access="rw" name="wdg_soft_rst" pos="2" rst="0">
  64553. <comment>Watchdog soft reset</comment>
  64554. </bits>
  64555. <bits access="rw" name="rtc_soft_rst" pos="1" rst="0">
  64556. <comment>RTC soft reset</comment>
  64557. </bits>
  64558. <bits access="rw" name="cal_soft_rst" pos="0" rst="0">
  64559. <comment>CAL soft reset</comment>
  64560. </bits>
  64561. </reg>
  64562. <reg name="soft_rst1" protect="rw">
  64563. <bits access="rw" name="tmr_soft_rst" pos="1" rst="0">
  64564. <comment>TMR soft reset</comment>
  64565. </bits>
  64566. </reg>
  64567. <reg name="power_pd_sw" protect="rw">
  64568. <bits access="rw" name="ldo_dcxo_pd" pos="10" rst="0">
  64569. <comment>LDO_DCXO power down 1: power down 0: power on</comment>
  64570. </bits>
  64571. <bits access="rw" name="ldo_emm_pd" pos="9" rst="0">
  64572. <comment>EMM domain power down 1: power down 0: power on</comment>
  64573. </bits>
  64574. <bits access="rw" name="ldo_cp_pd" pos="8" rst="0">
  64575. <comment>LDO of charge pump power down 1: power down 0: power on</comment>
  64576. </bits>
  64577. <bits access="rw" name="dcdc_gen_pd" pos="7" rst="0">
  64578. <comment>DCDC_GEN power down 1: power down 0: power on</comment>
  64579. </bits>
  64580. <bits access="rw" name="dcdc_core_pd" pos="5" rst="0">
  64581. <comment>DCDC_CORE power down 1: power down 0: power on</comment>
  64582. </bits>
  64583. <bits access="rw" name="osc3m_en" pos="4" rst="1">
  64584. <comment>internal oscillator enable 1'b0: oscillator off 1'b1: oscillator on</comment>
  64585. </bits>
  64586. <bits access="rw" name="ldo_mem_pd" pos="3" rst="0">
  64587. <comment>LDO_MEM power down 1: power down 0: power on</comment>
  64588. </bits>
  64589. <bits access="rw" name="ldo_ana_pd" pos="2" rst="0">
  64590. <comment>LDO_ANA power down 1: power down 0: power on</comment>
  64591. </bits>
  64592. <bits access="rw" name="ldo_vdd28_pd" pos="1" rst="0">
  64593. <comment>LDO_VDD28 power down 1: power down 0: power on</comment>
  64594. </bits>
  64595. <bits access="rw" name="bg_pd" pos="0" rst="0">
  64596. <comment>Bandgap power down 1: power down 0: power on</comment>
  64597. </bits>
  64598. </reg>
  64599. <reg name="power_pd_hw" protect="rw">
  64600. <bits access="rw" name="pwr_off_seq_en" pos="0" rst="0">
  64601. <comment>Power off_sequence enable</comment>
  64602. </bits>
  64603. </reg>
  64604. <reg name="soft_rst_hw" protect="rw">
  64605. <bits access="rw" name="reg_soft_rst" pos="0" rst="0">
  64606. <comment>register soft reset,write 1 can: 1 reset total system 2 power down and up</comment>
  64607. </bits>
  64608. </reg>
  64609. <reg name="reserved_reg1" protect="r">
  64610. </reg>
  64611. <reg name="reserved_reg2" protect="r">
  64612. </reg>
  64613. <reg name="reserved_reg3" protect="r">
  64614. </reg>
  64615. <reg name="dcdc_clk_reg0" protect="rw">
  64616. <bits access="rw" name="clk3m_out_en" pos="11" rst="0">
  64617. <comment>clock output enable</comment>
  64618. </bits>
  64619. <bits access="rw" name="clkout_uniphase" pos="10" rst="0">
  64620. <comment>phase shift option 1'b0: default, w/i 1/5 phase shift at internal mode 1'b1: uni-phase mode, all ouputs = channel 0</comment>
  64621. </bits>
  64622. <bits access="rw" name="clkout_sel" pos="9:7" rst="0">
  64623. <comment>clock selection for each channel RG_CLKOUT_SEL&lt;0&gt;: VCORE clk selection RG_CLKOUT_SEL&lt;1&gt;: VGEN clk selection RG_CLKOUT_SEL&lt;2&gt;: VPA clk selection 0: internal mode, default 1: external mode</comment>
  64624. </bits>
  64625. <bits access="rw" name="dcdc_gen_clk_rst" pos="4" rst="0">
  64626. <comment>soft reset of all dcdc generated clk</comment>
  64627. </bits>
  64628. <bits access="rw" name="osc3m_freq" pos="3:0" rst="0">
  64629. <comment>oscillator frequency tuing, (1/16)/step 4'b0000: default 3MHz 4'b0001: -1 step 4'b0111: -7 step 4'b1000: +8 step 4'b1111: +1 step</comment>
  64630. </bits>
  64631. </reg>
  64632. <reg name="dcdc_core_reg0" protect="rw">
  64633. <bits access="rw" name="curlimit_r_vcore" pos="15:14" rst="0">
  64634. <comment>current limit threshold tuning 2'b00: default 2'b01: -20% 2'b10: +40% 2'b11: +20%</comment>
  64635. </bits>
  64636. <bits access="rw" name="curses_r_vcore" pos="13:12" rst="0">
  64637. <comment>current sense R ratio tuning current sense multiplier tuning 2'b00: default, x1 2'b01: -20% 2'b10: +40% 2'b11: +20%</comment>
  64638. </bits>
  64639. <bits access="rw" name="pfm_vh_vcore" pos="11:10" rst="0">
  64640. <comment>PFM mode threshold for upper limit 2'b00: default, 0.6V 2'b01: 0.55V 2'b10: 0.65V 2'b11: 0.7V</comment>
  64641. </bits>
  64642. <bits access="rw" name="rcomp_vcore" pos="9:8" rst="0">
  64643. <comment>compensation R select 2'b00: default, 360k 2'b01: 320k 2'b10: 400k 2'b11: 440k</comment>
  64644. </bits>
  64645. <bits access="rw" name="slope_vcore" pos="7:6" rst="0">
  64646. <comment>slope compensation tuning 2'b00: default 2'b01: 0.5x 2'b10: 1.5x 2'b11: 2x</comment>
  64647. </bits>
  64648. <bits access="rw" name="sr_hs_vcore" pos="5:4" rst="0">
  64649. <comment>high side slew rate control 2'b00: default 2'b01: 0.75x 2'b10: 0.5x 2'b11: 0.25x</comment>
  64650. </bits>
  64651. <bits access="rw" name="sr_ls_vcore" pos="3:2" rst="0">
  64652. <comment>low side slew rate control 2'b00: default 2'b01: 0.75x 2'b10: 0.5x 2'b11: 0.25x</comment>
  64653. </bits>
  64654. <bits access="rw" name="zx_offset_vcore" pos="1:0" rst="0">
  64655. <comment>zero-cross offset tuning 2'b00: default 2'b01: +5mV offset 2'b10: -5mV offset 2'b11: -10mV offset</comment>
  64656. </bits>
  64657. </reg>
  64658. <reg name="dcdc_core_reg1" protect="rw">
  64659. <bits access="rw" name="votrim_vcore" pos="5:3" rst="0">
  64660. <comment>reference voltage trimming (base on 1.2V) 3'b000: default 3'b001: +12.5mV 3'b010: +25mV 3'b011: +37.5mV 3'b100: -50mV 3'b101: -37.5mV 3'b110: -25mV 3'b111: -12.5mV</comment>
  64661. </bits>
  64662. <bits access="rw" name="zx_disable_vcore" pos="2" rst="0">
  64663. <comment>force zero-cross off 1'b0: default, zero_cross detect on 1'b1: zero-cross detect off</comment>
  64664. </bits>
  64665. <bits access="rw" name="force_pwm_vcore" pos="1" rst="0">
  64666. <comment>force PWM mode 1'b0: default, PFM/PWM auto mode 1'b1: force PWM mode</comment>
  64667. </bits>
  64668. <bits access="rw" name="anriting_en_vcore" pos="0" rst="0">
  64669. <comment>anti-ring enable 1'b0: default, anti-ring off 1'b1: anti-ring on</comment>
  64670. </bits>
  64671. </reg>
  64672. <reg name="dcdc_core_reg2" protect="rw">
  64673. <bits access="rw" name="div_clk_vcore_en" pos="12" rst="0">
  64674. <comment>clock gating enable</comment>
  64675. </bits>
  64676. <bits access="rw" name="phase_sel_vcore" pos="11:6" rst="0">
  64677. <comment>the phase difference, 26M per step</comment>
  64678. </bits>
  64679. <bits access="rw" name="div_base_vcore" pos="5:0" rst="15">
  64680. <comment>the division factor from 26M for DCDCCORE, in default the clock is from RC in analog 6'h0: no divide 6'h1: divide by 26'h3F: divide by 64</comment>
  64681. </bits>
  64682. </reg>
  64683. <reg name="dcdc_core_vol" protect="rw">
  64684. <bits access="rw" name="vosel_vcore" pos="8:0" rst="288">
  64685. <comment>output voltage selection, 3.125mV/step 9'b111100000: 1.5V 9'b111000000: 1.4V 9'b110100000: 1.3V 9'b110000000: 1.2V 9'b101100000: 1.1V 9'b101000000: 1.0V 9'b100100000: 0.9V 9'b100000000: 0.8V 9'b011100000: 0.7V 9'b011000000: 0.6V</comment>
  64686. </bits>
  64687. </reg>
  64688. <reg name="dcdc_gen_reg0" protect="rw">
  64689. <bits access="rw" name="curlimit_r_vgen" pos="15:14" rst="0">
  64690. <comment>current limit threshold tuning 2'b00: default 2'b01: -20% 2'b10: +40% 2'b11: +20%</comment>
  64691. </bits>
  64692. <bits access="rw" name="curses_r_vgen" pos="13:12" rst="0">
  64693. <comment>current sense R ratio tuning current sense multiplier tuning 2'b00: default, x1 2'b01: -20% 2'b10: +40% 2'b11: +20%</comment>
  64694. </bits>
  64695. <bits access="rw" name="pfm_vh_vgen" pos="11:10" rst="0">
  64696. <comment>PFM mode threshold for upper limit 2'b00: default, 0.6V 2'b01: 0.55V 2'b10: 0.65V 2'b11: 0.7V</comment>
  64697. </bits>
  64698. <bits access="rw" name="rcomp_vgen" pos="9:8" rst="0">
  64699. <comment>compensation R select 2'b00: default, 360k 2'b01: 320k 2'b10: 400k 2'b11: 440k</comment>
  64700. </bits>
  64701. <bits access="rw" name="slope_vgen" pos="7:6" rst="0">
  64702. <comment>slope compensation tuning 2'b00: default 2'b01: 0.5x 2'b10: 1.5x 2'b11: 2x</comment>
  64703. </bits>
  64704. <bits access="rw" name="sr_hs_vgen" pos="5:4" rst="0">
  64705. <comment>high side slew rate control 2'b00: default 2'b01: 0.75x 2'b10: 0.5x 2'b11: 0.25x</comment>
  64706. </bits>
  64707. <bits access="rw" name="sr_ls_vgen" pos="3:2" rst="0">
  64708. <comment>low side slew rate control 2'b00: default 2'b01: 0.75x 2'b10: 0.5x 2'b11: 0.25x</comment>
  64709. </bits>
  64710. <bits access="rw" name="zx_offset_vgen" pos="1:0" rst="0">
  64711. <comment>zero-cross offset tuning 2'b00: default 2'b01: +5mV offset 2'b10: -5mV offset 2'b11: -10mV offset</comment>
  64712. </bits>
  64713. </reg>
  64714. <reg name="dcdc_gen_reg1" protect="rw">
  64715. <bits access="rw" name="zx_disable_vgen" pos="3" rst="0">
  64716. <comment>force zero-cross off 1'b0: default, zero_cross detect on 1'b1: zero-cross detect off</comment>
  64717. </bits>
  64718. <bits access="rw" name="maxduty_sel_vgen" pos="2" rst="0">
  64719. <comment>reserved</comment>
  64720. </bits>
  64721. <bits access="rw" name="force_pwm_vgen" pos="1" rst="0">
  64722. <comment>force PWM mode 1'b0: default, PFM/PWM auto mode 1'b1: force PWM mode</comment>
  64723. </bits>
  64724. <bits access="rw" name="anriting_en_vgen" pos="0" rst="0">
  64725. <comment>anti-ring enable 1'b0: default, anti-ring off 1'b1: anti-ring on</comment>
  64726. </bits>
  64727. </reg>
  64728. <reg name="dcdc_gen_reg2" protect="rw">
  64729. <bits access="rw" name="div_clk_vgen_en" pos="12" rst="0">
  64730. <comment>clock gating enable</comment>
  64731. </bits>
  64732. <bits access="rw" name="phase_sel_vgen" pos="11:6" rst="0">
  64733. <comment>the phase difference, 26M per step</comment>
  64734. </bits>
  64735. <bits access="rw" name="div_base_vgen" pos="5:0" rst="15">
  64736. <comment>the division factor from 26M for DCDCGEN, in default the clock is from RC in analog 6'h0: no divide 6'h1: divide by 26'h3F: divide by 64</comment>
  64737. </bits>
  64738. </reg>
  64739. <reg name="dcdc_gen_vol" protect="rw">
  64740. <bits access="rw" name="vosel_vgen" pos="7:0" rst="44">
  64741. <comment>output voltage selection, 12.5mV/step. 8'b00000000= 1.3V 8'b00001000= 1.4V 8'b00010000= 1.5V 8'b00011000= 1.6V 8'b00100000= 1.7V 8'b00101000= 1.8V 8'b00110000= 1.9V 8'b00111000= 2.0V 8'b01000000= 2.1V 8'b01001000= 2.2V 8'b01010000= 2.3V 8'b01011000= 2.4V 8'b01100000= 2.5V 8'b01101000= 2.6V 8'b01110000= 2.7V 8'b01111000= 2.8V</comment>
  64742. </bits>
  64743. </reg>
  64744. <reg name="dcdc_wpa_reg0" protect="rw">
  64745. <bits access="rw" name="curlimit_r_vpa" pos="15:14" rst="0">
  64746. <comment>current limit threshold tuning 2'b00: default 2'b01: -0.5pF 2'b10: +1pF 2'b11: +0.5pF</comment>
  64747. </bits>
  64748. <bits access="rw" name="curses_m_vpa" pos="13:12" rst="0">
  64749. <comment>current sense multiplier tuning 2'b00: default, x1 2'b01: x0.5 2'b10: x2 2'b11: x1.5</comment>
  64750. </bits>
  64751. <bits access="rw" name="ccomp3_vpa" pos="11:10" rst="0">
  64752. <comment>compensation C3 2'b00: default 2'b01: -20% 2'b10: +40% 2'b11: +20%</comment>
  64753. </bits>
  64754. <bits access="rw" name="pfm_threshold_vpa" pos="9:8" rst="0">
  64755. <comment>PFM mode threshold for upper limit 2'b00: default 2'b01: -50mV 2'b10: +50mV 2'b11: +100mV</comment>
  64756. </bits>
  64757. <bits access="rw" name="rcomp2_vpa" pos="7:6" rst="0">
  64758. <comment>compensation R2 select 2'b00: default, 960k 2'b01: 880k 2'b10: 1040k 2'b11: 1120k</comment>
  64759. </bits>
  64760. <bits access="rw" name="rcomp3_vpa" pos="5:4" rst="0">
  64761. <comment>compensation R3 select 2'b00: default, 5k 2'b01: 2.5k 2'b10: 10k 2'b11: 7.5k</comment>
  64762. </bits>
  64763. <bits access="rw" name="sawtooth_slope_vpa" pos="3:2" rst="0">
  64764. <comment>sawtooth tuning manully 2'b00: default 2'b01: +15% 2'b10: -30% 2'b11: -15%</comment>
  64765. </bits>
  64766. <bits access="rw" name="sr_hs_vpa" pos="1:0" rst="0">
  64767. <comment>high side slew rate control 2'b00: default 2'b01: 0.75x 2'b10: 0.5x 2'b11: 0.25x</comment>
  64768. </bits>
  64769. </reg>
  64770. <reg name="dcdc_wpa_reg1" protect="rw">
  64771. <bits access="rw" name="sr_ls_vpa" pos="15:14" rst="0">
  64772. <comment>low side slew rate control 2'b00: default 2'b01: 0.75x 2'b10: 0.5x 2'b11: 0.25x</comment>
  64773. </bits>
  64774. <bits access="rw" name="votrim_vpa" pos="13:11" rst="0">
  64775. </bits>
  64776. <bits access="rw" name="zx_offset_vpa" pos="10:9" rst="0">
  64777. <comment>zero-cross offset tuning 2'b00: default 2'b01: +5mV offset 2'b10: -5mV offset 2'b11: -10mV offset</comment>
  64778. </bits>
  64779. <bits access="rw" name="anriting_en_vpa" pos="8" rst="0">
  64780. <comment>anti-ring enable 1'b0: default, anti-ring off 1'b1: anti-ring on</comment>
  64781. </bits>
  64782. <bits access="rw" name="apc_enable_vpa" pos="7" rst="0">
  64783. <comment>APC mode enable 1'b0: default, RG control mode 1'b1: APC mode</comment>
  64784. </bits>
  64785. <bits access="rw" name="apc_ramp_sel_vpa" pos="6" rst="0">
  64786. <comment>APC ramp selection 1'b0: default, 2.0x ramp 1'b1: 2.5x ramp</comment>
  64787. </bits>
  64788. <bits access="rw" name="bypass_disable_vpa" pos="5" rst="0">
  64789. <comment>bypass mode disable 1'b0: default, auto bypass 1'b1: bypass off</comment>
  64790. </bits>
  64791. <bits access="rw" name="bypass_forceon_vpa" pos="4" rst="0">
  64792. <comment>bypass force on 1'b0: default, auto bypass 1'b1: force bypass mode on</comment>
  64793. </bits>
  64794. <bits access="rw" name="bypass_threshold_vpa" pos="3:2" rst="0">
  64795. <comment>bypass mode threshold 2'b00: default, ~200mV</comment>
  64796. </bits>
  64797. <bits access="rw" name="dvs_on_vpa" pos="1" rst="0">
  64798. <comment>DVS control 1'b0: default, off 1'b0: on, for DCM down discharge</comment>
  64799. </bits>
  64800. <bits access="rw" name="maxduty_sel_vpa" pos="0" rst="0">
  64801. <comment>100% duty selection 1'b0: default, max duty=100% 1'b1: max duty ~95%</comment>
  64802. </bits>
  64803. </reg>
  64804. <reg name="dcdc_wpa_reg2" protect="rw">
  64805. <bits access="rw" name="div_clk_vpa_en" pos="15" rst="0">
  64806. <comment>clock gating enable</comment>
  64807. </bits>
  64808. <bits access="rw" name="phase_sel_vpa" pos="14:9" rst="0">
  64809. <comment>the phase difference, 26M per step</comment>
  64810. </bits>
  64811. <bits access="rw" name="div_base_vpa" pos="8:3" rst="15">
  64812. <comment>the division factor from 26M for DCDCWPA, in default the clock is from RC in analog 6'h0: no divide 6'h1: divide by 26'h3F: divide by 64</comment>
  64813. </bits>
  64814. <bits access="rw" name="zx_disable_vpa" pos="2" rst="0">
  64815. <comment>force zero-cross off 1'b0: default, zero_cross detect on 1'b1: zero-cross detect off</comment>
  64816. </bits>
  64817. <bits access="rw" name="sawtoothcal_rst_vpa" pos="1" rst="0">
  64818. <comment>sawtooth calibration 1'b0: default, auto calibration before power-on 1'b1: calibration manully</comment>
  64819. </bits>
  64820. <bits access="rw" name="pd_buck_vpa" pos="0" rst="1">
  64821. <comment>DCDC power down 1'b0: DCDC on 1'b1: DCDC power down</comment>
  64822. </bits>
  64823. </reg>
  64824. <reg name="dcdc_wpa_vol" protect="rw">
  64825. <bits access="rw" name="vosel_vpa" pos="6:0" rst="120">
  64826. <comment>output voltage selection, 25mV/step. 7'b1111100= 3.5V 7'b1110000= 3.2V 7'b1100000= 2.8V 7'b1010000= 2.4V 7'b1000000= 2.0V 7'b0110000= 1.6V 7'b0100000= 1.2V 7'b0010000= 0.8V 7'b0000000= 0.4V</comment>
  64827. </bits>
  64828. </reg>
  64829. <reg name="dcdc_wpa_dcm_hw" protect="rw">
  64830. <bits access="rw" name="force_pwm_vpa" pos="0" rst="0">
  64831. <comment>force PWM mode 1'b0: default, PFM/PWM auto mode 1'b1: force PWM mode</comment>
  64832. </bits>
  64833. </reg>
  64834. <reg name="dcdc_ch_ctrl" protect="rw">
  64835. <bits access="rw" name="dcdc_auxtrim_sel" pos="2:0" rst="0">
  64836. <comment>DCDC to AUXADC trim channel selection 3'b001: select VCORE 3'b010: select VGEN (VGEN*18/37) 3'b011: select VPA (VPA*18/68) RG_DCDC_AUXTRIM_SEL&lt;2&gt;, internal test mode select: 0: default, internal test mode disable 1: internal test mode enable. Monitor internal signals by reuse CLK3M_OUT path 3'b100: enpwm_vgen 3'b101: zx_vgen 3'b110: enpwm_vcore 3'b111: zx_vcore</comment>
  64837. </bits>
  64838. </reg>
  64839. <reg name="reserved_reg4" protect="r">
  64840. </reg>
  64841. <reg name="reserved_reg5" protect="r">
  64842. </reg>
  64843. <reg name="reserved_reg6" protect="r">
  64844. </reg>
  64845. <reg name="reserved_reg7" protect="r">
  64846. </reg>
  64847. <reg name="reserved_reg8" protect="r">
  64848. </reg>
  64849. <reg name="ldo_ana_reg0" protect="rw">
  64850. <bits access="rw" name="ldo_ana_shpt_pd" pos="7" rst="0">
  64851. <comment>LDO short protection power down</comment>
  64852. </bits>
  64853. <bits access="rw" name="ldo_ana_cap_sel" pos="6" rst="0">
  64854. <comment>ANA LDO remote cap application: default 1'b0; when parasitic resistance is larger than 200m ohm, select 1'b1</comment>
  64855. </bits>
  64856. <bits access="rw" name="ldo_ana_bp" pos="5" rst="0">
  64857. <comment>ANA LDO bypass application: default 1'b0, no bypass default 1'b1, bypass</comment>
  64858. </bits>
  64859. <bits access="rw" name="ldo_ana_stb" pos="4:3" rst="0">
  64860. <comment>ANA LDO stability compensation: default 2'b00</comment>
  64861. </bits>
  64862. <bits access="rw" name="ldo_ana_shpt_adj" pos="2" rst="0">
  64863. <comment>ANA LDO foldback current threshold adjust: default 1'b0</comment>
  64864. </bits>
  64865. <bits access="rw" name="ldo_ana_cl_adj" pos="1" rst="0">
  64866. <comment>ANA LDO current limit threshold adjust: default 1'b0</comment>
  64867. </bits>
  64868. </reg>
  64869. <reg name="ldo_ana_reg1" protect="rw">
  64870. <bits access="rw" name="ldo_ana_v" pos="5:0" rst="32">
  64871. <comment>ANA LDO program bits: 12.5mV/step, 1.4V~2.1875V; default 1.8V, 6'b100000</comment>
  64872. </bits>
  64873. </reg>
  64874. <reg name="reserved_reg9" protect="r">
  64875. </reg>
  64876. <reg name="reserved_reg10" protect="r">
  64877. </reg>
  64878. <reg name="ldo_rf15_reg0" protect="rw">
  64879. <bits access="rw" name="ldo_rf15_shpt_pd" pos="7" rst="0">
  64880. <comment>RF15 LDO short protection</comment>
  64881. </bits>
  64882. <bits access="rw" name="ldo_rf15_cap_sel" pos="6" rst="0">
  64883. <comment>RF15 LDO remote cap application:default 1'b0; when parasitic resistance is larger than 200m ohm, select 1'b1</comment>
  64884. </bits>
  64885. <bits access="rw" name="ldo_rf15_bp" pos="5" rst="0">
  64886. <comment>RF15 LDO bypass application: default 1'b0, no bypass default 1'b1, bypass</comment>
  64887. </bits>
  64888. <bits access="rw" name="ldo_rf15_stb" pos="4:3" rst="0">
  64889. <comment>RF15 LDO stability compensation: default 2'b00</comment>
  64890. </bits>
  64891. <bits access="rw" name="ldo_rf15_shpt_adj" pos="2" rst="0">
  64892. <comment>RF15 LDO foldback current threshold adjust: default 1'b0</comment>
  64893. </bits>
  64894. <bits access="rw" name="ldo_rf15_cl_adj" pos="1" rst="0">
  64895. <comment>RF15 LDO current limit threshold adjust: default 1'b0</comment>
  64896. </bits>
  64897. <bits access="rw" name="ldo_rf15_pd" pos="0" rst="0">
  64898. <comment>LDO_RF15 power down 1: power down 0: power on</comment>
  64899. </bits>
  64900. </reg>
  64901. <reg name="ldo_rf15_reg1" protect="rw">
  64902. <bits access="rw" name="ldo_rf15_v" pos="5:0" rst="8">
  64903. <comment>RF15 LDO program bits: 12.5mV/step, 1.4V~2.1875V; default 1.5V, 6'b1000</comment>
  64904. </bits>
  64905. </reg>
  64906. <reg name="reserved_reg11" protect="rw">
  64907. </reg>
  64908. <reg name="reserved_reg12" protect="rw">
  64909. </reg>
  64910. <reg name="ldo_camd_reg0" protect="rw">
  64911. <bits access="rw" name="ldo_camd_shpt_pd" pos="7" rst="0">
  64912. <comment>CAMD LDO short protection</comment>
  64913. </bits>
  64914. <bits access="rw" name="ldo_camd_cap_sel" pos="6" rst="0">
  64915. <comment>CAMD LDO remote cap application:default 1'b0; when parasitic resistance is larger than 200m ohm, select 1'b1</comment>
  64916. </bits>
  64917. <bits access="rw" name="ldo_camd_bp" pos="5" rst="0">
  64918. <comment>CAMD LDO bypass application: default 1'b0, no bypass default 1'b1, bypass</comment>
  64919. </bits>
  64920. <bits access="rw" name="ldo_camd_stb" pos="4:3" rst="0">
  64921. <comment>CAMD LDO stability compensation: default 2'b00</comment>
  64922. </bits>
  64923. <bits access="rw" name="ldo_camd_shpt_adj" pos="2" rst="0">
  64924. <comment>CAMD LDO foldback current threshold adjust: default 1'b0</comment>
  64925. </bits>
  64926. <bits access="rw" name="ldo_camd_cl_adj" pos="1" rst="0">
  64927. <comment>CAMD LDO current limit threshold adjust: default 1'b0</comment>
  64928. </bits>
  64929. <bits access="rw" name="ldo_camd_pd" pos="0" rst="1">
  64930. <comment>LDO_CAMD power down 1: power down 0: power on</comment>
  64931. </bits>
  64932. </reg>
  64933. <reg name="ldo_camd_reg1" protect="rw">
  64934. <bits access="rw" name="ldo_camd_v" pos="5:0" rst="32">
  64935. <comment>CAMD LDO program bits:12.5mV/step, 1.4V~2.1875V; default 1.8V, 6'b100000</comment>
  64936. </bits>
  64937. </reg>
  64938. <reg name="ldo_con_reg0" protect="rw">
  64939. <bits access="rw" name="ldo_con_shpt_pd" pos="6" rst="0">
  64940. <comment>CON LDO short protection</comment>
  64941. </bits>
  64942. <bits access="rw" name="ldo_con_bp" pos="5" rst="0">
  64943. <comment>CON LDO bypass application: default 1'b0, no bypass default 1'b1, bypass</comment>
  64944. </bits>
  64945. <bits access="rw" name="ldo_con_stb" pos="4:3" rst="0">
  64946. <comment>CON LDO stability compensation: default 2'b00</comment>
  64947. </bits>
  64948. <bits access="rw" name="ldo_con_shpt_adj" pos="2" rst="0">
  64949. <comment>CON LDO foldback current threshold adjust: default 1'b0</comment>
  64950. </bits>
  64951. <bits access="rw" name="ldo_con_cl_adj" pos="1" rst="0">
  64952. <comment>CON LDO current limit threshold adjust: default 1'b0</comment>
  64953. </bits>
  64954. <bits access="rw" name="ldo_con_pd" pos="0" rst="1">
  64955. <comment>LDO_CON power down 1: power down 0: power on</comment>
  64956. </bits>
  64957. </reg>
  64958. <reg name="ldo_con_reg1" protect="rw">
  64959. <bits access="rw" name="ldo_con_v" pos="5:0" rst="32">
  64960. <comment>CON LDO program bits: 12.5mV/step, 1.1V~1.8875V; default 1.5V, 6'b100000</comment>
  64961. </bits>
  64962. </reg>
  64963. <reg name="ldo_mem_reg0" protect="rw">
  64964. <bits access="rw" name="ldo_mem_shpt_pd" pos="7" rst="0">
  64965. <comment>MEM LDO short protection</comment>
  64966. </bits>
  64967. <bits access="rw" name="ldo_mem_cap_sel" pos="6" rst="0">
  64968. <comment>MEM LDO remote cap application:default 1'b0; when parasitic resistance is larger than 200m ohm, select 1'b1</comment>
  64969. </bits>
  64970. <bits access="rw" name="ldo_mem_bp" pos="5" rst="0">
  64971. <comment>MEM LDO bypass application: default 1'b0, no bypass default 1'b1, bypass</comment>
  64972. </bits>
  64973. <bits access="rw" name="ldo_mem_stb" pos="4:3" rst="0">
  64974. <comment>MEM LDO stability compensation: default 2'b00</comment>
  64975. </bits>
  64976. <bits access="rw" name="ldo_mem_shpt_adj" pos="2" rst="0">
  64977. <comment>MEM LDO foldback current threshold adjust: default 1'b0</comment>
  64978. </bits>
  64979. <bits access="rw" name="ldo_mem_cl_adj" pos="1" rst="0">
  64980. <comment>MEM LDO current limit threshold adjust: default 1'b0</comment>
  64981. </bits>
  64982. </reg>
  64983. <reg name="ldo_mem_reg1" protect="rw">
  64984. <bits access="rw" name="ldo_mem_v" pos="5:0" rst="32">
  64985. <comment>MEM LDO program bits: 12.5mV/step, 1.4V~2.1875V; default 6'h100000, 1.8V</comment>
  64986. </bits>
  64987. </reg>
  64988. <reg name="ldo_sim0_reg0" protect="rw">
  64989. <bits access="rw" name="ldo_sim0_shpt_pd" pos="6" rst="0">
  64990. <comment>SIM0 LDO short protection</comment>
  64991. </bits>
  64992. <bits access="rw" name="ldo_sim0_cap_sel" pos="5" rst="0">
  64993. <comment>SIM0 LDO remote cap application: default 1'b0; when parasitic resistance is larger than 200m ohm, select 1'b1</comment>
  64994. </bits>
  64995. <bits access="rw" name="ldo_sim0_stb" pos="4:3" rst="2">
  64996. <comment>SIM0 LDO stability compensation: default 2'b10</comment>
  64997. </bits>
  64998. <bits access="rw" name="ldo_sim0_shpt_adj" pos="2" rst="1">
  64999. <comment>SIM0 LDO foldback current threshold adjust: default 1'b1</comment>
  65000. </bits>
  65001. <bits access="rw" name="ldo_sim0_cl_adj" pos="1" rst="1">
  65002. <comment>SIM0 LDO current limit threshold adjust: default 1'b1</comment>
  65003. </bits>
  65004. </reg>
  65005. <reg name="ldo_sim0_pd_reg" protect="rw">
  65006. <bits access="rw" name="ldo_sim0_pd" pos="0" rst="1">
  65007. <comment>LDO_SIM0 power down 1: power down 0: power on</comment>
  65008. </bits>
  65009. </reg>
  65010. <reg name="ldo_sim0_reg1" protect="rw">
  65011. <bits access="rw" name="ldo_sim0_v" pos="6:0" rst="15">
  65012. <comment>SIM0 LDO program bits:12.5mV/step, 1.6125V~3.2V; default 1.8V, 7'b0001111</comment>
  65013. </bits>
  65014. </reg>
  65015. <reg name="ldo_sim1_reg0" protect="rw">
  65016. <bits access="rw" name="ldo_sim1_shpt_pd" pos="6" rst="0">
  65017. <comment>SIM1 LDO short protection</comment>
  65018. </bits>
  65019. <bits access="rw" name="ldo_sim1_cap_sel" pos="5" rst="0">
  65020. <comment>SIM1 LDO remote cap application: default 1'b0; when parasitic resistance is larger than 200m ohm, select 1'b1</comment>
  65021. </bits>
  65022. <bits access="rw" name="ldo_sim1_stb" pos="4:3" rst="2">
  65023. <comment>SIM1 LDO stability compensation: default 2'b10</comment>
  65024. </bits>
  65025. <bits access="rw" name="ldo_sim1_shpt_adj" pos="2" rst="1">
  65026. <comment>SIM1 LDO foldback current threshold adjust: default 1'b1</comment>
  65027. </bits>
  65028. <bits access="rw" name="ldo_sim1_cl_adj" pos="1" rst="1">
  65029. <comment>SIM1 LDO current limit threshold adjust: default 1'b1</comment>
  65030. </bits>
  65031. </reg>
  65032. <reg name="ldo_sim1_pd_reg" protect="rw">
  65033. <bits access="rw" name="ldo_sim1_pd" pos="0" rst="1">
  65034. <comment>LDO_SIM1 power down 1: power down 0: power on</comment>
  65035. </bits>
  65036. </reg>
  65037. <reg name="ldo_sim1_reg1" protect="rw">
  65038. <bits access="rw" name="ldo_sim1_v" pos="6:0" rst="15">
  65039. <comment>SIM0 LDO program bits:12.5mV/step, 1.6125V~3.2V; default 1.8V, 7'b0001111</comment>
  65040. </bits>
  65041. </reg>
  65042. <reg name="reserved_reg13" protect="r">
  65043. </reg>
  65044. <reg name="reserved_reg14" protect="r">
  65045. </reg>
  65046. <reg name="reserved_reg15" protect="rw">
  65047. </reg>
  65048. <reg name="ldo_cama_reg0" protect="rw">
  65049. <bits access="rw" name="ldo_cama_shpt_pd" pos="6" rst="0">
  65050. <comment>CAMA LDO short protection</comment>
  65051. </bits>
  65052. <bits access="rw" name="ldo_cama_cap_sel" pos="5" rst="0">
  65053. <comment>CAMA LDO remote cap application: default 1'b0; when parasitic resistance is larger than 200m ohm, select 1'b1</comment>
  65054. </bits>
  65055. <bits access="rw" name="ldo_cama_stb" pos="4:3" rst="2">
  65056. <comment>CAMA LDO stability compensation: default 2'b10</comment>
  65057. </bits>
  65058. <bits access="rw" name="ldo_cama_shpt_adj" pos="2" rst="1">
  65059. <comment>CAMA LDO foldback current threshold adjust: default 1'b1</comment>
  65060. </bits>
  65061. <bits access="rw" name="ldo_cama_cl_adj" pos="1" rst="1">
  65062. <comment>CAMA LDO current limit threshold adjust: default 1'b1</comment>
  65063. </bits>
  65064. <bits access="rw" name="ldo_cama_pd" pos="0" rst="1">
  65065. <comment>LDO_CAMA power down 1: power down 0: power on</comment>
  65066. </bits>
  65067. </reg>
  65068. <reg name="ldo_cama_reg1" protect="rw">
  65069. <bits access="rw" name="ldo_cama_v" pos="6:0" rst="95">
  65070. <comment>CAMA LDO program bits: 12.5mV/step, 1.6125V~3.2V ; default 2.8V, 7'b1011111</comment>
  65071. </bits>
  65072. </reg>
  65073. <reg name="ldo_lcd_reg0" protect="rw">
  65074. <bits access="rw" name="ldo_lcd_shpt_pd" pos="6" rst="0">
  65075. <comment>LCD LDO short protection</comment>
  65076. </bits>
  65077. <bits access="rw" name="ldo_lcd_cap_sel" pos="5" rst="0">
  65078. <comment>LCD LDO remote cap application: default 1'b0; when parasitic resistance is larger than 200m ohm, select 1'b1</comment>
  65079. </bits>
  65080. <bits access="rw" name="ldo_lcd_stb" pos="4:3" rst="2">
  65081. <comment>LCD LDO stability compensation: default 2'b10</comment>
  65082. </bits>
  65083. <bits access="rw" name="ldo_lcd_shpt_adj" pos="2" rst="1">
  65084. <comment>LCD LDO foldback current threshold adjust: default 1'b1</comment>
  65085. </bits>
  65086. <bits access="rw" name="ldo_lcd_cl_adj" pos="1" rst="1">
  65087. <comment>LCD LDO current limit threshold adjust: default 1'b1</comment>
  65088. </bits>
  65089. <bits access="rw" name="ldo_lcd_pd" pos="0" rst="1">
  65090. <comment>LDO_LCD power down 1: power down 0: power on</comment>
  65091. </bits>
  65092. </reg>
  65093. <reg name="ldo_lcd_reg1" protect="rw">
  65094. <bits access="rw" name="ldo_lcd_v" pos="6:0" rst="15">
  65095. <comment>LCD LDO program bits: 12.5mV/step, 1.6125V~3.2V; default 1.8V, 7'b0001111</comment>
  65096. </bits>
  65097. </reg>
  65098. <reg name="ldo_mmc_reg0" protect="rw">
  65099. <bits access="rw" name="ldo_mmc_shpt_pd" pos="6" rst="0">
  65100. <comment>MMC LDO short protection</comment>
  65101. </bits>
  65102. <bits access="rw" name="ldo_mmc_cap_sel" pos="5" rst="0">
  65103. <comment>MMC LDO remote cap application: default 1'b0; when parasitic resistance is larger than 200m ohm, select 1'b1</comment>
  65104. </bits>
  65105. <bits access="rw" name="ldo_mmc_stb" pos="4:3" rst="2">
  65106. <comment>MMC LDO stability compensation: default 2'b10</comment>
  65107. </bits>
  65108. <bits access="rw" name="ldo_mmc_shpt_adj" pos="2" rst="1">
  65109. <comment>MMC LDO foldback current threshold adjust: default 1'b1</comment>
  65110. </bits>
  65111. <bits access="rw" name="ldo_mmc_cl_adj" pos="1" rst="1">
  65112. <comment>MMC LDO current limit threshold adjust: default 1'b1</comment>
  65113. </bits>
  65114. </reg>
  65115. <reg name="ldo_mmc_pd_reg" protect="rw">
  65116. <bits access="rw" name="ldo_mmc_pd" pos="0" rst="0">
  65117. <comment>LDO_MMC power down 1: power down 0: power on</comment>
  65118. </bits>
  65119. </reg>
  65120. <reg name="ldo_mmc_reg1" protect="rw">
  65121. <bits access="rw" name="ldo_mmc_v" pos="6:0" rst="80">
  65122. <comment>MMC LDO program bits: 12.5mV/step, 2V~3.5875V; default 3.0V, 7'b1010000</comment>
  65123. </bits>
  65124. </reg>
  65125. <reg name="ldo_sd_reg0" protect="rw">
  65126. <bits access="rw" name="ldo_vio18_shpt_pd" pos="6" rst="0">
  65127. <comment>SD LDO short protection</comment>
  65128. </bits>
  65129. <bits access="rw" name="ldo_vio18_cap_sel" pos="5" rst="0">
  65130. <comment>SD LDO remote cap application: default 1'b0; when parasitic resistance is larger than 200m ohm, select 1'b1</comment>
  65131. </bits>
  65132. <bits access="rw" name="ldo_vio18_stb" pos="4:3" rst="2">
  65133. <comment>SD LDO stability compensation: default 2'b10</comment>
  65134. </bits>
  65135. <bits access="rw" name="ldo_vio18_shpt_adj" pos="2" rst="1">
  65136. <comment>SD LDO foldback current threshold adjust: default 1'b1</comment>
  65137. </bits>
  65138. <bits access="rw" name="ldo_vio18_cl_adj" pos="1" rst="1">
  65139. <comment>SD LDO current limit threshold adjust: default 1'b1</comment>
  65140. </bits>
  65141. </reg>
  65142. <reg name="ldo_sd_pd_reg" protect="rw">
  65143. <bits access="rw" name="ldo_vio18_pd" pos="0" rst="0">
  65144. <comment>LDO_SD power down 1: power down 0: power on</comment>
  65145. </bits>
  65146. </reg>
  65147. <reg name="ldo_sd_reg1" protect="rw">
  65148. <bits access="rw" name="ldo_vio18_v" pos="6:0" rst="32">
  65149. <comment>SD LDO program bits: 12.5mV/step, 1.4V~2.1875V; default 1.8V, 7'b100000</comment>
  65150. </bits>
  65151. </reg>
  65152. <reg name="ldo_ddr12_reg0" protect="rw">
  65153. <bits access="rw" name="ldo_ddr12_shpt_pd" pos="6" rst="0">
  65154. <comment>DDR12 LDO short protection</comment>
  65155. </bits>
  65156. <bits access="rw" name="ldo_ddr12_cap_sel" pos="5" rst="0">
  65157. <comment>DDR12 LDO remote cap application: default 1'b0; when parasitic resistance is larger than 200m ohm, select 1'b1</comment>
  65158. </bits>
  65159. <bits access="rw" name="ldo_ddr12_stb" pos="4:3" rst="2">
  65160. <comment>DDR12 LDO stability compensation: default 2'b10</comment>
  65161. </bits>
  65162. <bits access="rw" name="ldo_ddr12_shpt_adj" pos="2" rst="1">
  65163. <comment>DDR12 LDO foldback current threshold adjust: default 1'b1</comment>
  65164. </bits>
  65165. <bits access="rw" name="ldo_ddr12_cl_adj" pos="1" rst="1">
  65166. <comment>DDR12 LDO current limit threshold adjust: default 1'b1</comment>
  65167. </bits>
  65168. </reg>
  65169. <reg name="ldo_ddr12_pd_reg" protect="rw">
  65170. <bits access="rw" name="ldo_ddr12_pd" pos="0" rst="0">
  65171. <comment>LDO_DDR12 power down 1: power down 0: power on</comment>
  65172. </bits>
  65173. </reg>
  65174. <reg name="ldo_ddr12_reg1" protect="rw">
  65175. <bits access="rw" name="ldo_ddr12_v" pos="6:0" rst="36">
  65176. <comment>DDR12 LDO program bits: 12.5mV/step, 0.8V~1.5875V ; default 1.25V, 7'b100100</comment>
  65177. </bits>
  65178. </reg>
  65179. <reg name="ldo_vdd28_reg0" protect="rw">
  65180. <bits access="rw" name="ldo_vdd28_shpt_pd" pos="6" rst="0">
  65181. <comment>VDD28 LDO short protection</comment>
  65182. </bits>
  65183. <bits access="rw" name="ldo_vdd28_cap_sel" pos="5" rst="0">
  65184. <comment>VDD28 LDO remote cap application: default 1'b0; when parasitic resistance is larger than 200m ohm, select 1'b1</comment>
  65185. </bits>
  65186. <bits access="rw" name="ldo_vdd28_stb" pos="4:3" rst="2">
  65187. <comment>VDD28 LDO stability compensation: default 2'b10</comment>
  65188. </bits>
  65189. <bits access="rw" name="ldo_vdd28_shpt_adj" pos="2" rst="1">
  65190. <comment>VDD28 LDO foldback current threshold adjust: default 1'b1</comment>
  65191. </bits>
  65192. <bits access="rw" name="ldo_vdd28_cl_adj" pos="1" rst="1">
  65193. <comment>VDD28 LDO current limit threshold adjust: default 1'b1</comment>
  65194. </bits>
  65195. </reg>
  65196. <reg name="ldo_vdd28_reg1" protect="rw">
  65197. <bits access="rw" name="ldo_vdd28_v" pos="6:0" rst="95">
  65198. <comment>VDD28 LDO program bits: 12.5mV/step, 1.6125V~3.2V ; default 2.8V, 7'b1011111</comment>
  65199. </bits>
  65200. </reg>
  65201. <reg name="ldo_spimem_reg0" protect="rw">
  65202. <bits access="rw" name="ldo_spimem_shpt_pd" pos="6" rst="0">
  65203. <comment>SPIMEM LDO short protection</comment>
  65204. </bits>
  65205. <bits access="rw" name="ldo_spimem_cap_sel" pos="5" rst="0">
  65206. <comment>SPIMEM LDO remote cap application: default 1'b0; when parasitic resistance is larger than 200m ohm, select 1'b1</comment>
  65207. </bits>
  65208. <bits access="rw" name="ldo_spimem_stb" pos="4:3" rst="2">
  65209. <comment>SPIMEM LDO stability compensation: default 2'b10</comment>
  65210. </bits>
  65211. <bits access="rw" name="ldo_spimem_shpt_adj" pos="2" rst="1">
  65212. <comment>SPIMEM LDO foldback current threshold adjust: default 1'b1</comment>
  65213. </bits>
  65214. <bits access="rw" name="ldo_spimem_cl_adj" pos="1" rst="1">
  65215. <comment>SPIMEM LDO current limit threshold adjust: default 1'b1</comment>
  65216. </bits>
  65217. <bits access="rw" name="ldo_spimem_pd" pos="0" rst="0">
  65218. <comment>LDO_SPIMEM power down 1: power down 0: power on</comment>
  65219. </bits>
  65220. </reg>
  65221. <reg name="ldo_spimem_reg1" protect="rw">
  65222. <bits access="rw" name="ldo_spimem_v" pos="6:0" rst="4">
  65223. <comment>SPIMEM LDO program bits:12.5mV/step, 1.75V~3.3375V; default is select by V_SPIMEM pad, when V_SPIMEM ==0, spimem voltage is 1.8V, register default is 7'b100
  65224. when V_SPIMEM ==1, spimem voltage is 3.3V, register default is 7b1111100</comment>
  65225. </bits>
  65226. </reg>
  65227. <reg name="ldo_dcxo_reg0" protect="rw">
  65228. <bits access="rw" name="ldo_dcxo_trim" pos="11:7" rst="16">
  65229. <comment>LDO DCXO trim bits: 5mV/step, 0.72V~0.875V; default 1.2V, 5'b10000</comment>
  65230. </bits>
  65231. <bits access="rw" name="ldo_dcxo_shpt_pd" pos="6" rst="0">
  65232. <comment>DCXO LDO short protection</comment>
  65233. </bits>
  65234. <bits access="rw" name="ldo_dcxo_cap_sel" pos="5" rst="0">
  65235. <comment>DCXO LDO remote cap application: default 1'b0; when parasitic resistance is larger than 200m ohm, select 1'b1</comment>
  65236. </bits>
  65237. <bits access="rw" name="ldo_dcxo_stb" pos="4:3" rst="2">
  65238. <comment>DCXO LDO stability compensation: default 2'b10</comment>
  65239. </bits>
  65240. <bits access="rw" name="ldo_dcxo_shpt_adj" pos="2" rst="1">
  65241. <comment>DCXO LDO foldback current threshold adjust: default 1'b1</comment>
  65242. </bits>
  65243. <bits access="rw" name="ldo_dcxo_cl_adj" pos="1" rst="1">
  65244. <comment>DCXO LDO current limit threshold adjust: default 1'b1</comment>
  65245. </bits>
  65246. </reg>
  65247. <reg name="ldo_dcxo_reg1" protect="rw">
  65248. <bits access="rw" name="ldo_dcxo_v" pos="6:0" rst="24">
  65249. <comment>DCXO LDO program bits: 12.5mV/step, 1.5V~3.0875V ; default 1.8V, 7'b0011000</comment>
  65250. </bits>
  65251. </reg>
  65252. <reg name="ldo_usb_reg0" protect="rw">
  65253. <bits access="rw" name="ldo_usb33_shpt_pd" pos="6" rst="0">
  65254. <comment>USB33 LDO short protection</comment>
  65255. </bits>
  65256. <bits access="rw" name="ldo_usb33_cap_sel" pos="5" rst="0">
  65257. <comment>USB33 LDO remote cap application: default 1'b0; when parasitic resistance is larger than 200m ohm, select 1'b1</comment>
  65258. </bits>
  65259. <bits access="rw" name="ldo_usb33_stb" pos="4:3" rst="2">
  65260. <comment>USB33 LDO stability compensation: default 2'b10</comment>
  65261. </bits>
  65262. <bits access="rw" name="ldo_usb33_shpt_adj" pos="2" rst="1">
  65263. <comment>USB33 LDO foldback current threshold adjust: default 1'b1</comment>
  65264. </bits>
  65265. <bits access="rw" name="ldo_usb33_cl_adj" pos="1" rst="1">
  65266. <comment>USB33 LDO current limit threshold adjust: default 1'b1</comment>
  65267. </bits>
  65268. </reg>
  65269. <reg name="ldo_usb_pd_reg" protect="rw">
  65270. <bits access="rw" name="ldo_usb33_pd" pos="0" rst="0">
  65271. <comment>LDO_USB33 power down 1: power down 0: power on</comment>
  65272. </bits>
  65273. </reg>
  65274. <reg name="ldo_usb_reg1" protect="rw">
  65275. <bits access="rw" name="ldo_usb33_v" pos="6:0" rst="96">
  65276. <comment>USB33 LDO program bits: 12.5mV/step, 2.1V~3.6875V; default 3.3V, 7'b1100000</comment>
  65277. </bits>
  65278. </reg>
  65279. <reg name="reserved_reg17" protect="r">
  65280. </reg>
  65281. <reg name="reserved_reg18" protect="r">
  65282. </reg>
  65283. <reg name="reserved_reg19" protect="r">
  65284. </reg>
  65285. <reg name="reserved_reg20" protect="r">
  65286. </reg>
  65287. <reg name="ldo_trim_reg" protect="rw">
  65288. <bits access="rw" name="ldo_trim_b" pos="9:5" rst="16">
  65289. <comment>LDO trim bits: 5mV/step, 0.72V~0.875V; default 0.8V, 5'b10000</comment>
  65290. </bits>
  65291. <bits access="rw" name="ldo_trim_a" pos="4:0" rst="16">
  65292. <comment>LDO trim bits: 5mV/step, 0.72V~0.875V; default 0.8V, 5'b10000</comment>
  65293. </bits>
  65294. </reg>
  65295. <reg name="ldo_rtc_ctrl" protect="rw">
  65296. <bits access="rw" name="ldo_rtc_cal" pos="8:4" rst="16">
  65297. <comment>LDO VDDRTC output calibretion bit cover +/-10% step 0.625% acc +/- 0.3125%</comment>
  65298. </bits>
  65299. <bits access="rw" name="ldo_rtc_v" pos="3:2" rst="2">
  65300. <comment>LDO RTC output program bits, 00:1.8, 01:1.8, 10:1.85(default),11:1.9</comment>
  65301. </bits>
  65302. <bits access="rw" name="vbatbk_v" pos="1:0" rst="2">
  65303. <comment>Backup battery output program bits;00:2.6, 01:2.8, 10:3.0(default),11:3.2</comment>
  65304. </bits>
  65305. </reg>
  65306. <reg name="ldo_ch_ctrl" protect="rw">
  65307. <bits access="rw" name="ldo_cal2" pos="10:8" rst="0">
  65308. <comment>VBAT2 LDO TRIM CONTROL BITS:
  65309. 000: cal disable (default)
  65310. 001: LDO VDDSIM0 cal enable;
  65311. 010: LDO VDDSIM1 cal enable;
  65312. 011: LDO VDDDCXOcal enable;
  65313. 100: LDO VDDUSB cal enable;
  65314. 101: LDO VDDCAMA cal enable;
  65315. 110: LDO VDDVIB cal enable;</comment>
  65316. </bits>
  65317. <bits access="rw" name="ldo_cal1" pos="7:5" rst="0">
  65318. <comment>VBAT1 LDO TRIM CONTROL BITS:
  65319. 000: cal disable (default)
  65320. 001: LDO VDDMMC cal enable;
  65321. 010: LDO VDD28 cal enable;
  65322. 011: LDO VDDSPIMEM cal enable;
  65323. 100: LDO VDDLCD cal enable;
  65324. 101: LDO VDDPLLED cal enable;</comment>
  65325. </bits>
  65326. <bits access="rw" name="ldo_cal" pos="2:0" rst="0">
  65327. <comment>DCDC supplied LDO TRIM CONTROL BITS:
  65328. 000: cal disable (default)
  65329. 001: LDO VDDCAMD cal enable;
  65330. 010: LDO VDDCON cal enable;
  65331. 011: LDO VDDANA cal enable;
  65332. 100: LDO VDDVIO18 cal enable;
  65333. 101: LDO VDDDDR12 cal enable;
  65334. 110: LDO VDDMEM cal enable;
  65335. 111: LDO VDDRF15 cal enable;</comment>
  65336. </bits>
  65337. </reg>
  65338. <reg name="reserved_reg23" protect="r">
  65339. </reg>
  65340. <reg name="reserved_reg24" protect="r">
  65341. </reg>
  65342. <reg name="reserved_reg25" protect="r">
  65343. </reg>
  65344. <reg name="reserved_reg26" protect="r">
  65345. </reg>
  65346. <reg name="reserved_reg27" protect="r">
  65347. </reg>
  65348. <reg name="slp_ctrl" protect="rw">
  65349. <bits access="rw" name="ldo_xtl_en" pos="2" rst="0">
  65350. <comment>LDO and DCDC can be controlled by external device if this bit is set</comment>
  65351. </bits>
  65352. <bits access="rw" name="slp_io_en" pos="1" rst="0">
  65353. <comment>IO PAD sleep enable in deep sleep mode</comment>
  65354. </bits>
  65355. <bits access="rw" name="slp_ldo_pd_en" pos="0" rst="0">
  65356. <comment>ALL LDO and DCDC power down enable in deep sleep mode</comment>
  65357. </bits>
  65358. </reg>
  65359. <reg name="slp_dcdc_pd_ctrl" protect="rw">
  65360. <bits access="rw" name="slp_dcdccore_pd_rstn_th" pos="15:12" rst="0">
  65361. <comment>DCDC CORE power down reset valid threshold @32K clock</comment>
  65362. </bits>
  65363. <bits access="rw" name="slp_dcdccore_pu_rstn_th" pos="11:6" rst="0">
  65364. <comment>DCDC CORE power down reset release threshold @32K clock</comment>
  65365. </bits>
  65366. <bits access="rw" name="slp_dcdccore_pd_en" pos="4" rst="0">
  65367. <comment>DCDC CORE power down enable in deep sleep mode</comment>
  65368. </bits>
  65369. <bits access="rw" name="slp_dcdccore_drop_en" pos="3" rst="0">
  65370. <comment>DCDC CORE power drop enable in deep sleep mode</comment>
  65371. </bits>
  65372. <bits access="rw" name="slp_dcdcwpa_pd_en" pos="2" rst="0">
  65373. <comment>DCDC WPA power down enable in deep sleep mode</comment>
  65374. </bits>
  65375. <bits access="rw" name="slp_vddio1v8_pd_en" pos="1" rst="0">
  65376. <comment>VIO1V8 power down enable in deep sleep mode</comment>
  65377. </bits>
  65378. </reg>
  65379. <reg name="slp_ldo_pd_ctrl0" protect="rw">
  65380. <bits access="rw" name="slp_ldorf15_pd_en" pos="14" rst="0">
  65381. <comment>LDO RFA power down enable in deep sleep mode</comment>
  65382. </bits>
  65383. <bits access="rw" name="slp_ldommc_pd_en" pos="12" rst="0">
  65384. <comment>LDO MMC power down enable in deep sleep mode</comment>
  65385. </bits>
  65386. <bits access="rw" name="slp_ldodcxo_pd_en" pos="11" rst="0">
  65387. <comment>LDO DCXO power down enable in deep sleep mode</comment>
  65388. </bits>
  65389. <bits access="rw" name="slp_ldospimem_pd_en" pos="10" rst="0">
  65390. <comment>LDO SPIMEM power down enable in deep sleep mode</comment>
  65391. </bits>
  65392. <bits access="rw" name="slp_ldovdd28_pd_en" pos="9" rst="0">
  65393. <comment>LDO VDD28 power down enable in deep sleep mode</comment>
  65394. </bits>
  65395. <bits access="rw" name="slp_ldovio18_pd_en" pos="8" rst="0">
  65396. <comment>LDO VIO18 power down enable in deep sleep mode</comment>
  65397. </bits>
  65398. <bits access="rw" name="slp_ldoddr12_pd_en" pos="7" rst="0">
  65399. <comment>LDO DDR12 power down enable in deep sleep mode</comment>
  65400. </bits>
  65401. <bits access="rw" name="slp_ldousb33_pd_en" pos="6" rst="0">
  65402. <comment>LDO USB33 power down enable in deep sleep mode</comment>
  65403. </bits>
  65404. <bits access="rw" name="slp_ldolcd_pd_en" pos="5" rst="0">
  65405. <comment>LDO LCD power down enable in deep sleep mode</comment>
  65406. </bits>
  65407. <bits access="rw" name="slp_ldocamio_pd_en" pos="4" rst="0">
  65408. <comment>LDO CAMIO power down enable in deep sleep mode</comment>
  65409. </bits>
  65410. <bits access="rw" name="slp_ldocamd_pd_en" pos="3" rst="0">
  65411. <comment>LDO CAMD power down enable in deep sleep mode</comment>
  65412. </bits>
  65413. <bits access="rw" name="slp_ldocama_pd_en" pos="2" rst="0">
  65414. <comment>LDO CAMA power down enable in deep sleep mode</comment>
  65415. </bits>
  65416. <bits access="rw" name="slp_ldosim1_pd_en" pos="0" rst="0">
  65417. <comment>LDO SIM1 power down enable in deep sleep mode</comment>
  65418. </bits>
  65419. </reg>
  65420. <reg name="slp_ldo_pd_ctrl1" protect="rw">
  65421. <bits access="rw" name="slp_ldocp_pd_en" pos="4" rst="0">
  65422. <comment>LDO CP power down enable in deep sleep mode</comment>
  65423. </bits>
  65424. <bits access="rw" name="slp_ldocon_pd_en" pos="3" rst="0">
  65425. <comment>LDO CON power down enable in deep sleep mode</comment>
  65426. </bits>
  65427. <bits access="rw" name="slp_ldosim0_pd_en" pos="2" rst="0">
  65428. <comment>LDO SIM0 power down enable in deep sleep mode</comment>
  65429. </bits>
  65430. <bits access="rw" name="slp_ldoana_pd_en" pos="1" rst="0">
  65431. <comment>LDO ANA power down enable in deep sleep mode</comment>
  65432. </bits>
  65433. <bits access="rw" name="slp_ldomem_pd_en" pos="0" rst="0">
  65434. <comment>LDO MEM power down enable in deep sleep mode</comment>
  65435. </bits>
  65436. </reg>
  65437. <reg name="slp_dcdc_lp_ctrl" protect="rw">
  65438. <bits access="rw" name="slp_dcdccore_lp_en" pos="4" rst="0">
  65439. <comment>DCDC CORE low power mode enable in deep sleep mode</comment>
  65440. </bits>
  65441. <bits access="rw" name="slp_dcdcgen_lp_en" pos="1" rst="0">
  65442. <comment>DCDC GEN low power mode enable in deep sleep mode</comment>
  65443. </bits>
  65444. <bits access="rw" name="slp_dcdcwpa_lp_en" pos="0" rst="0">
  65445. <comment>DCDC WPA low power mode enable in deep sleep mode</comment>
  65446. </bits>
  65447. </reg>
  65448. <reg name="slp_ldo_lp_ctrl0" protect="rw">
  65449. <bits access="rw" name="slp_ldorf15_lp_en" pos="14" rst="0">
  65450. <comment>LDO RFA low power mode enable in deep sleep mode</comment>
  65451. </bits>
  65452. <bits access="rw" name="slp_ldommc_lp_en" pos="12" rst="0">
  65453. <comment>LDO MMC low power mode enable in deep sleep mode</comment>
  65454. </bits>
  65455. <bits access="rw" name="slp_ldodcxo_lp_en" pos="11" rst="0">
  65456. <comment>LDO DCXO low power mode enable in deep sleep mode</comment>
  65457. </bits>
  65458. <bits access="rw" name="slp_ldospimem_lp_en" pos="10" rst="0">
  65459. <comment>LDO SPIMEM low power mode enable in deep sleep mode</comment>
  65460. </bits>
  65461. <bits access="rw" name="slp_ldovdd28_lp_en" pos="9" rst="0">
  65462. <comment>LDO VDD28 low power mode enable in deep sleep mode</comment>
  65463. </bits>
  65464. <bits access="rw" name="slp_ldovio18_lp_en" pos="8" rst="0">
  65465. <comment>LDO VIO18 low power mode enable in deep sleep mode 0: Disable 1: Enable</comment>
  65466. </bits>
  65467. <bits access="rw" name="slp_ldoddr12_lp_en" pos="7" rst="0">
  65468. <comment>LDO DDR12 low power mode enable in deep sleep mode 0: Disable 1: Enable</comment>
  65469. </bits>
  65470. <bits access="rw" name="slp_ldousb33_lp_en" pos="6" rst="0">
  65471. <comment>LDO USB low power mode enable in deep sleep mode 0: Disable 1: Enable</comment>
  65472. </bits>
  65473. <bits access="rw" name="slp_ldolcd_lp_en" pos="5" rst="0">
  65474. <comment>LDO LCD low power mode enable in deep sleep mode 0: Disable 1: Enable</comment>
  65475. </bits>
  65476. <bits access="rw" name="slp_ldocamio_lp_en" pos="4" rst="0">
  65477. <comment>LDO CAMIO low power mode enable in deep sleep mode 0: Disable 1: Enable</comment>
  65478. </bits>
  65479. <bits access="rw" name="slp_ldocamd_lp_en" pos="3" rst="0">
  65480. <comment>LDO CAMD low power mode enable in deep sleep mode 0: Disable 1: Enable</comment>
  65481. </bits>
  65482. <bits access="rw" name="slp_ldocama_lp_en" pos="2" rst="0">
  65483. <comment>LDO CAMA low power mode enable in deep sleep mode 0: Disable 1: Enable</comment>
  65484. </bits>
  65485. <bits access="rw" name="slp_ldosim1_lp_en" pos="0" rst="0">
  65486. <comment>LDO SIM1 low power mode enable in deep sleep mode 0: Disable 1: Enable</comment>
  65487. </bits>
  65488. </reg>
  65489. <reg name="slp_ldo_lp_ctrl1" protect="rw">
  65490. <bits access="rw" name="slp_ldocon_lp_en" pos="3" rst="0">
  65491. <comment>LDO CON low power mode enable in deep sleep mode 0: Disable 1: Enable</comment>
  65492. </bits>
  65493. <bits access="rw" name="slp_ldosim0_lp_en" pos="2" rst="0">
  65494. <comment>LDO SIM0 low power mode enable in deep sleep mode 0: Disable 1: Enable</comment>
  65495. </bits>
  65496. <bits access="rw" name="slp_ldoana_lp_en" pos="1" rst="0">
  65497. <comment>LDO ANA low power mode enable in deep sleep mode</comment>
  65498. </bits>
  65499. <bits access="rw" name="slp_ldomem_lp_en" pos="0" rst="0">
  65500. <comment>LDO MEM low power mode enable in deep sleep mode 0: Disable 1: Enable</comment>
  65501. </bits>
  65502. </reg>
  65503. <reg name="dcdc_core_slp_ctrl0" protect="rw">
  65504. <bits access="rw" name="dcdc_core_slp_step_delay" pos="13:12" rst="0">
  65505. <comment>delay between two steps 00:1*32k clock 01:2*32k clock 10:3*32k clock 11:4*32k clock</comment>
  65506. </bits>
  65507. <bits access="rw" name="dcdc_core_slp_step_num" pos="11:8" rst="0">
  65508. <comment>step number</comment>
  65509. </bits>
  65510. <bits access="rw" name="dcdc_core_slp_step_vol" pos="7:3" rst="0">
  65511. <comment>voltage per step 00000:0mv 00001:1*3.125mv 00010:2*3.125mv.. 11111:31*3.125mv</comment>
  65512. </bits>
  65513. <bits access="rw" name="dcdc_core_slp_step_en" pos="0" rst="0">
  65514. <comment>DCDCCORE step tune enable in deep sleep 0: disable 1: enable</comment>
  65515. </bits>
  65516. </reg>
  65517. <reg name="dcdc_core_slp_ctrl1" protect="rw">
  65518. <bits access="rw" name="dcdc_core_vosel_ds_sw" pos="8:0" rst="4">
  65519. <comment>DCDC CORE control bits in deep sleep mode</comment>
  65520. </bits>
  65521. </reg>
  65522. <reg name="dcdc_xtl_en0" protect="rw">
  65523. <bits access="rw" name="dcdc_core_ext_xtl0_en" pos="15" rst="0">
  65524. <comment>DCDC CORE can be controlled by EXT_XTL0_EN(from PAD) if this bit is set</comment>
  65525. </bits>
  65526. <bits access="rw" name="dcdc_core_ext_xtl1_en" pos="14" rst="0">
  65527. <comment>DCDC CORE can be controlled by EXT_XTL1_EN(from PAD) if this bit is set</comment>
  65528. </bits>
  65529. <bits access="rw" name="dcdc_core_ext_xtl2_en" pos="13" rst="0">
  65530. <comment>DCDC CORE can be controlled by EXT_XTL2_EN(from PAD) if this bit is set</comment>
  65531. </bits>
  65532. <bits access="rw" name="dcdc_core_ext_xtl3_en" pos="12" rst="0">
  65533. <comment>DCDC CORE can be controlled by EXT_XTL3_EN(from PAD) if this bit is set</comment>
  65534. </bits>
  65535. <bits access="rw" name="dcdc_gen_ext_xtl0_en" pos="7" rst="0">
  65536. <comment>DCDC GEN can be controlled by EXT_XTL0_EN(from PAD) if this bit is set</comment>
  65537. </bits>
  65538. <bits access="rw" name="dcdc_gen_ext_xtl1_en" pos="6" rst="0">
  65539. <comment>DCDC GEN can be controlled by EXT_XTL1_EN1(from PAD) if this bit is set</comment>
  65540. </bits>
  65541. <bits access="rw" name="dcdc_gen_ext_xtl2_en" pos="5" rst="0">
  65542. <comment>DCDC GEN can be controlled by EXT_XTL2_EN(from PAD) if this bit is set</comment>
  65543. </bits>
  65544. <bits access="rw" name="dcdc_gen_ext_xtl3_en" pos="4" rst="0">
  65545. <comment>DCDC GEN can be controlled by EXT_XTL3_EN(from PAD) if this bit is set</comment>
  65546. </bits>
  65547. <bits access="rw" name="dcdc_wpa_ext_xtl0_en" pos="3" rst="0">
  65548. <comment>DCDC WPA can be controlled by EXT_XTL0_EN(from PAD) if this bit is set</comment>
  65549. </bits>
  65550. <bits access="rw" name="dcdc_wpa_ext_xtl1_en" pos="2" rst="0">
  65551. <comment>DCDC WPA can be controlled by EXT_XTL1_EN1(from PAD) if this bit is set</comment>
  65552. </bits>
  65553. <bits access="rw" name="dcdc_wpa_ext_xtl2_en" pos="1" rst="0">
  65554. <comment>DCDC WPA can be controlled by EXT_XTL2_EN(from PAD) if this bit is set</comment>
  65555. </bits>
  65556. <bits access="rw" name="dcdc_wpa_ext_xtl3_en" pos="0" rst="0">
  65557. <comment>DCDC WPA can be controlled by EXT_XTL3_EN(from PAD) if this bit is set</comment>
  65558. </bits>
  65559. </reg>
  65560. <reg name="reseved_dcdc_xtl_en4" protect="r">
  65561. </reg>
  65562. <reg name="ldo_xtl_en0" protect="rw">
  65563. <bits access="rw" name="ldo_dcxo_ext_xtl0_en" pos="15" rst="0">
  65564. <comment>LDO DCXO can be controlled by EXT_XTL0_EN(from PAD) if this bit is set</comment>
  65565. </bits>
  65566. <bits access="rw" name="ldo_dcxo_ext_xtl1_en" pos="14" rst="0">
  65567. <comment>LDO DCXO can be controlled by EXT_XTL1_EN(from PAD) if this bit is set</comment>
  65568. </bits>
  65569. <bits access="rw" name="ldo_dcxo_ext_xtl2_en" pos="13" rst="0">
  65570. <comment>LDO DCXO can be controlled by EXT_XTL2_EN(from PAD) if this bit is set</comment>
  65571. </bits>
  65572. <bits access="rw" name="ldo_dcxo_ext_xtl3_en" pos="12" rst="0">
  65573. <comment>LDO DCXO can be controlled by EXT_XTL3_EN(from PAD) if this bit is set</comment>
  65574. </bits>
  65575. <bits access="rw" name="ldo_vdd28_ext_xtl0_en" pos="3" rst="0">
  65576. <comment>LDO VDD28 can be controlled by EXT_XTL0_EN(from PAD) if this bit is set</comment>
  65577. </bits>
  65578. <bits access="rw" name="ldo_vdd28_ext_xtl1_en" pos="2" rst="0">
  65579. <comment>LDO VDD28 can be controlled by EXT_XTL1_EN(from PAD) if this bit is set</comment>
  65580. </bits>
  65581. <bits access="rw" name="ldo_vdd28_ext_xtl2_en" pos="1" rst="0">
  65582. <comment>LDO VDD28 can be controlled by EXT_XTL2_EN(from PAD) if this bit is set</comment>
  65583. </bits>
  65584. <bits access="rw" name="ldo_vdd28_ext_xtl3_en" pos="0" rst="0">
  65585. <comment>LDO VDD28 can be controlled by EXT_XTL3_EN(from PAD) if this bit is set</comment>
  65586. </bits>
  65587. </reg>
  65588. <reg name="ldo_xtl_en1" protect="rw">
  65589. <bits access="rw" name="ldo_rf15_ext_xtl0_en" pos="15" rst="0">
  65590. <comment>LDO RFA can be controlled by EXT_XTL0_EN(from PAD) if this bit is set</comment>
  65591. </bits>
  65592. <bits access="rw" name="ldo_rf15_ext_xtl1_en" pos="14" rst="0">
  65593. <comment>LDO RFA can be controlled by EXT_XTL1_EN(from PAD) if this bit is set</comment>
  65594. </bits>
  65595. <bits access="rw" name="ldo_rf15_ext_xtl2_en" pos="13" rst="0">
  65596. <comment>LDO RFA can be controlled by EXT_XTL2_EN(from PAD) if this bit is set</comment>
  65597. </bits>
  65598. <bits access="rw" name="ldo_rf15_ext_xtl3_en" pos="12" rst="0">
  65599. <comment>LDO RFA can be controlled by EXT_XTL3_EN(from PAD) if this bit is set</comment>
  65600. </bits>
  65601. </reg>
  65602. <reg name="ldo_xtl_en2" protect="rw">
  65603. <bits access="rw" name="ldo_sim0_ext_xtl0_en" pos="15" rst="0">
  65604. <comment>LDO SIM0 can be controlled by EXT_XTL0_EN(from PAD) if this bit is set</comment>
  65605. </bits>
  65606. <bits access="rw" name="ldo_sim0_ext_xtl1_en" pos="14" rst="0">
  65607. <comment>LDO SIM0 can be controlled by EXT_XTL1_EN(from PAD) if this bit is set</comment>
  65608. </bits>
  65609. <bits access="rw" name="ldo_sim0_ext_xtl2_en" pos="13" rst="0">
  65610. <comment>LDO SIM0 can be controlled by EXT_XTL2_EN(from PAD) if this bit is set</comment>
  65611. </bits>
  65612. <bits access="rw" name="ldo_sim0_ext_xtl3_en" pos="12" rst="0">
  65613. <comment>LDO SIM0 can be controlled by EXT_XTL3_EN(from PAD) if this bit is set</comment>
  65614. </bits>
  65615. <bits access="rw" name="ldo_sim1_ext_xtl0_en" pos="3" rst="0">
  65616. <comment>LDO SIM1 can be controlled by EXT_XTL0_EN(from PAD) if this bit is set</comment>
  65617. </bits>
  65618. <bits access="rw" name="ldo_sim1_ext_xtl1_en" pos="2" rst="0">
  65619. <comment>LDO SIM1 can be controlled by EXT_XTL1_EN(from PAD) if this bit is set</comment>
  65620. </bits>
  65621. <bits access="rw" name="ldo_sim1_ext_xtl2_en" pos="1" rst="0">
  65622. <comment>LDO SIM1 can be controlled by EXT_XTL2_EN(from PAD) if this bit is set</comment>
  65623. </bits>
  65624. <bits access="rw" name="ldo_sim1_ext_xtl3_en" pos="0" rst="0">
  65625. <comment>LDO SIM1 can be controlled by EXT_XTL3_EN(from PAD) if this bit is set</comment>
  65626. </bits>
  65627. </reg>
  65628. <reg name="ldo_xtl_en3" protect="rw">
  65629. <bits access="rw" name="ldo_mem_ext_xtl0_en" pos="3" rst="0">
  65630. <comment>LDO MEM can be controlled by EXT_XTL0_EN(from PAD) if this bit is set</comment>
  65631. </bits>
  65632. <bits access="rw" name="ldo_mem_ext_xtl1_en" pos="2" rst="0">
  65633. <comment>LDO MEM can be controlled by EXT_XTL1_EN(from PAD) if this bit is set</comment>
  65634. </bits>
  65635. <bits access="rw" name="ldo_mem_ext_xtl2_en" pos="1" rst="0">
  65636. <comment>LDO MEM can be controlled by EXT_XTL2_EN(from PAD) if this bit is set</comment>
  65637. </bits>
  65638. <bits access="rw" name="ldo_mem_ext_xtl3_en" pos="0" rst="0">
  65639. <comment>LDO MEM can be controlled by EXT_XTL3_EN(from PAD) if this bit is set</comment>
  65640. </bits>
  65641. </reg>
  65642. <reg name="ldo_xtl_en4" protect="rw">
  65643. <bits access="rw" name="ldo_lcd_ext_xtl0_en" pos="15" rst="0">
  65644. <comment>LDO LCD can be controlled by EXT_XTL0_EN(from PAD) if this bit is set</comment>
  65645. </bits>
  65646. <bits access="rw" name="ldo_lcd_ext_xtl1_en" pos="14" rst="0">
  65647. <comment>LDO LCD can be controlled by EXT_XTL1_EN(from PAD) if this bit is set</comment>
  65648. </bits>
  65649. <bits access="rw" name="ldo_lcd_ext_xtl2_en" pos="13" rst="0">
  65650. <comment>LDO LCD can be controlled by EXT_XTL2_EN(from PAD) if this bit is set</comment>
  65651. </bits>
  65652. <bits access="rw" name="ldo_lcd_ext_xtl3_en" pos="12" rst="0">
  65653. <comment>LDO LCD can be controlled by EXT_XTL3_EN(from PAD) if this bit is set</comment>
  65654. </bits>
  65655. <bits access="rw" name="ldo_camio_ext_xtl0_en" pos="3" rst="0">
  65656. <comment>LDO CAMIO can be controlled by EXT_XTL0_EN(from PAD) if this bit is set</comment>
  65657. </bits>
  65658. <bits access="rw" name="ldo_camio_ext_xtl1_en" pos="2" rst="0">
  65659. <comment>LDO CAMIO can be controlled by EXT_XTL1_EN(from PAD) if this bit is set</comment>
  65660. </bits>
  65661. <bits access="rw" name="ldo_camio_ext_xtl2_en" pos="1" rst="0">
  65662. <comment>LDO CAMIO can be controlled by EXT_XTL2_EN(from PAD) if this bit is set</comment>
  65663. </bits>
  65664. <bits access="rw" name="ldo_camio_ext_xtl3_en" pos="0" rst="0">
  65665. <comment>LDO CAMIO can be controlled by EXT_XTL3_EN(from PAD) if this bit is set</comment>
  65666. </bits>
  65667. </reg>
  65668. <reg name="ldo_xtl_en5" protect="rw">
  65669. <bits access="rw" name="ldo_cama_ext_xtl0_en" pos="15" rst="0">
  65670. <comment>LDO CAMA can be controlled by EXT_XTL0_EN(from PAD) if this bit is set</comment>
  65671. </bits>
  65672. <bits access="rw" name="ldo_cama_ext_xtl1_en" pos="14" rst="0">
  65673. <comment>LDO CAMA can be controlled by EXT_XTL1_EN(from PAD) if this bit is set</comment>
  65674. </bits>
  65675. <bits access="rw" name="ldo_cama_ext_xtl2_en" pos="13" rst="0">
  65676. <comment>LDO CAMA can be controlled by EXT_XTL2_EN(from PAD) if this bit is set</comment>
  65677. </bits>
  65678. <bits access="rw" name="ldo_cama_ext_xtl3_en" pos="12" rst="0">
  65679. <comment>LDO CAMA can be controlled by EXT_XTL3_EN(from PAD) if this bit is set</comment>
  65680. </bits>
  65681. <bits access="rw" name="ldo_camd_ext_xtl0_en" pos="3" rst="0">
  65682. <comment>LDO CAMD can be controlled by EXT_XTL0_EN(from PAD) if this bit is set</comment>
  65683. </bits>
  65684. <bits access="rw" name="ldo_camd_ext_xtl1_en" pos="2" rst="0">
  65685. <comment>LDO CAMD can be controlled by EXT_XTL1_EN(from PAD) if this bit is set</comment>
  65686. </bits>
  65687. <bits access="rw" name="ldo_camd_ext_xtl2_en" pos="1" rst="0">
  65688. <comment>LDO CAMD can be controlled by EXT_XTL2_EN(from PAD) if this bit is set</comment>
  65689. </bits>
  65690. <bits access="rw" name="ldo_camd_ext_xtl3_en" pos="0" rst="0">
  65691. <comment>LDO CAMD can be controlled by EXT_XTL3_EN(from PAD) if this bit is set</comment>
  65692. </bits>
  65693. </reg>
  65694. <reg name="ldo_xtl_en6" protect="rw">
  65695. <bits access="rw" name="ldo_ddr12_ext_xtl0_en" pos="15" rst="0">
  65696. <comment>LDO DDR12 can be controlled by EXT_XTL0_EN(from PAD) if this bit is set</comment>
  65697. </bits>
  65698. <bits access="rw" name="ldo_ddr12_ext_xtl1_en" pos="14" rst="0">
  65699. <comment>LDO DDR12 can be controlled by EXT_XTL1_EN(from PAD) if this bit is set</comment>
  65700. </bits>
  65701. <bits access="rw" name="ldo_ddr12_ext_xtl2_en" pos="13" rst="0">
  65702. <comment>LDO DDR12 can be controlled by EXT_XTL2_EN(from PAD) if this bit is set</comment>
  65703. </bits>
  65704. <bits access="rw" name="ldo_ddr12_ext_xtl3_en" pos="12" rst="0">
  65705. <comment>LDO DDR12 can be controlled by EXT_XTL3_EN(from PAD) if this bit is set</comment>
  65706. </bits>
  65707. <bits access="rw" name="ldo_vio18_ext_xtl0_en" pos="3" rst="0">
  65708. <comment>LDO VIO18 can be controlled by EXT_XTL0_EN(from PAD) if this bit is set</comment>
  65709. </bits>
  65710. <bits access="rw" name="ldo_vio18_ext_xtl1_en" pos="2" rst="0">
  65711. <comment>LDO VIO18 can be controlled by EXT_XTL1_EN(from PAD) if this bit is set</comment>
  65712. </bits>
  65713. <bits access="rw" name="ldo_vio18_ext_xtl2_en" pos="1" rst="0">
  65714. <comment>LDO VIO18 can be controlled by EXT_XTL2_EN(from PAD) if this bit is set</comment>
  65715. </bits>
  65716. <bits access="rw" name="ldo_vio18_ext_xtl3_en" pos="0" rst="0">
  65717. <comment>LDO VIO18 can be controlled by EXT_XTL3_EN(from PAD) if this bit is set</comment>
  65718. </bits>
  65719. </reg>
  65720. <reg name="ldo_xtl_en7" protect="rw">
  65721. <bits access="rw" name="ldo_mmc_ext_xtl0_en" pos="15" rst="0">
  65722. <comment>LDO MMC can be controlled by EXT_XTL0_EN(from PAD) if this bit is set</comment>
  65723. </bits>
  65724. <bits access="rw" name="ldo_mmc_ext_xtl1_en" pos="14" rst="0">
  65725. <comment>LDO MMC can be controlled by EXT_XTL1_EN(from PAD) if this bit is set</comment>
  65726. </bits>
  65727. <bits access="rw" name="ldo_mmc_ext_xtl2_en" pos="13" rst="0">
  65728. <comment>LDO MMC can be controlled by EXT_XTL2_EN(from PAD) if this bit is set</comment>
  65729. </bits>
  65730. <bits access="rw" name="ldo_mmc_ext_xtl3_en" pos="12" rst="0">
  65731. <comment>LDO MMC can be controlled by EXT_XTL3_EN(from PAD) if this bit is set</comment>
  65732. </bits>
  65733. <bits access="rw" name="ldo_usb33_ext_xtl0_en" pos="3" rst="0">
  65734. <comment>LDO USB33 can be controlled by EXT_XTL0_EN(from PAD) if this bit is set</comment>
  65735. </bits>
  65736. <bits access="rw" name="ldo_usb33_ext_xtl1_en" pos="2" rst="0">
  65737. <comment>LDO USB33 can be controlled by EXT_XTL1_EN(from PAD) if this bit is set</comment>
  65738. </bits>
  65739. <bits access="rw" name="ldo_usb33_ext_xtl2_en" pos="1" rst="0">
  65740. <comment>LDO USB33 can be controlled by EXT_XTL2_EN(from PAD) if this bit is set</comment>
  65741. </bits>
  65742. <bits access="rw" name="ldo_usb33_ext_xtl3_en" pos="0" rst="0">
  65743. <comment>LDO USB33 can be controlled by EXT_XTL3_EN(from PAD) if this bit is set</comment>
  65744. </bits>
  65745. </reg>
  65746. <reg name="ldo_xtl_en8" protect="rw">
  65747. <bits access="rw" name="ldo_kpled_ext_xtl0_en" pos="15" rst="0">
  65748. <comment>LDO KPLED can be controlled by EXT_XTL0_EN(from PAD) if this bit is set</comment>
  65749. </bits>
  65750. <bits access="rw" name="ldo_kpled_ext_xtl1_en" pos="14" rst="0">
  65751. <comment>LDO KPLED can be controlled by EXT_XTL1_EN(from PAD) if this bit is set</comment>
  65752. </bits>
  65753. <bits access="rw" name="ldo_kpled_ext_xtl2_en" pos="13" rst="0">
  65754. <comment>LDO KPLED can be controlled by EXT_XTL2_EN(from PAD) if this bit is set</comment>
  65755. </bits>
  65756. <bits access="rw" name="ldo_kpled_ext_xtl3_en" pos="12" rst="0">
  65757. <comment>LDO KPLED can be controlled by EXT_XTL3_EN(from PAD) if this bit is set</comment>
  65758. </bits>
  65759. <bits access="rw" name="ldo_vibr_ext_xtl0_en" pos="3" rst="0">
  65760. <comment>LDO VIBR can be controlled by EXT_XTL0_EN(from PAD) if this bit is set</comment>
  65761. </bits>
  65762. <bits access="rw" name="ldo_vibr_ext_xtl1_en" pos="2" rst="0">
  65763. <comment>LDO VIBR can be controlled by EXT_XTL1_EN(from PAD) if this bit is set</comment>
  65764. </bits>
  65765. <bits access="rw" name="ldo_vibr_ext_xtl2_en" pos="1" rst="0">
  65766. <comment>LDO VIBR can be controlled by EXT_XTL2_EN(from PAD) if this bit is set</comment>
  65767. </bits>
  65768. <bits access="rw" name="ldo_vibr_ext_xtl3_en" pos="0" rst="0">
  65769. <comment>LDO VIBR can be controlled by EXT_XTL3_EN(from PAD) if this bit is set</comment>
  65770. </bits>
  65771. </reg>
  65772. <reg name="ldo_xtl_en9" protect="rw">
  65773. <bits access="rw" name="ldo_con_ext_xtl0_en" pos="15" rst="0">
  65774. <comment>LDO CON can be controlled by EXT_XTL0_EN(from PAD) if this bit is set</comment>
  65775. </bits>
  65776. <bits access="rw" name="ldo_con_ext_xtl1_en" pos="14" rst="0">
  65777. <comment>LDO CON can be controlled by EXT_XTL1_EN(from PAD) if this bit is set</comment>
  65778. </bits>
  65779. <bits access="rw" name="ldo_con_ext_xtl2_en" pos="13" rst="0">
  65780. <comment>LDO CON can be controlled by EXT_XTL2_EN(from PAD) if this bit is set</comment>
  65781. </bits>
  65782. <bits access="rw" name="ldo_con_ext_xtl3_en" pos="12" rst="0">
  65783. <comment>LDO CON can be controlled by EXT_XTL3_EN(from PAD) if this bit is set</comment>
  65784. </bits>
  65785. <bits access="rw" name="ldo_ana_ext_xtl0_en" pos="3" rst="0">
  65786. <comment>LDO ANA can be controlled by EXT_XTL0_EN(from PAD) if this bit is set</comment>
  65787. </bits>
  65788. <bits access="rw" name="ldo_ana_ext_xtl1_en" pos="2" rst="0">
  65789. <comment>LDO ANA can be controlled by EXT_XTL1_EN(from PAD) if this bit is set</comment>
  65790. </bits>
  65791. <bits access="rw" name="ldo_ana_ext_xtl2_en" pos="1" rst="0">
  65792. <comment>LDO ANA can be controlled by EXT_XTL2_EN(from PAD) if this bit is set</comment>
  65793. </bits>
  65794. <bits access="rw" name="ldo_ana_ext_xtl3_en" pos="0" rst="0">
  65795. <comment>LDO ANA can be controlled by EXT_XTL3_EN(from PAD) if this bit is set</comment>
  65796. </bits>
  65797. </reg>
  65798. <reg name="ldo_xtl_en10" protect="rw">
  65799. <bits access="rw" name="ldo_cp_ext_xtl0_en" pos="15" rst="0">
  65800. <comment>LDO CP can be controlled by EXT_XTL0_EN(from PAD) if this bit is set</comment>
  65801. </bits>
  65802. <bits access="rw" name="ldo_cp_ext_xtl1_en" pos="14" rst="0">
  65803. <comment>LDO CON can be controlled by EXT_XTL1_EN(from PAD) if this bit is set</comment>
  65804. </bits>
  65805. <bits access="rw" name="ldo_cp_ext_xtl2_en" pos="13" rst="0">
  65806. <comment>LDO CP can be controlled by EXT_XTL2_EN(from PAD) if this bit is set</comment>
  65807. </bits>
  65808. <bits access="rw" name="ldo_cp_ext_xtl3_en" pos="12" rst="0">
  65809. <comment>LDO CP can be controlled by EXT_XTL3_EN(from PAD) if this bit is set</comment>
  65810. </bits>
  65811. <bits access="rw" name="ldo_spimem_ext_xtl0_en" pos="3" rst="0">
  65812. <comment>LDO SPIMEM can be controlled by EXT_XTL0_EN(from PAD) if this bit is set</comment>
  65813. </bits>
  65814. <bits access="rw" name="ldo_spimem_ext_xtl1_en" pos="2" rst="0">
  65815. <comment>LDO SPIMEM can be controlled by EXT_XTL1_EN(from PAD) if this bit is set</comment>
  65816. </bits>
  65817. <bits access="rw" name="ldo_spimem_ext_xtl2_en" pos="1" rst="0">
  65818. <comment>LDO SPIMEM can be controlled by EXT_XTL2_EN(from PAD) if this bit is set</comment>
  65819. </bits>
  65820. <bits access="rw" name="ldo_spimem_ext_xtl3_en" pos="0" rst="0">
  65821. <comment>LDO SPIMEM can be controlled by EXT_XTL3_EN(from PAD) if this bit is set</comment>
  65822. </bits>
  65823. </reg>
  65824. <reg name="reserved_reg30" protect="r">
  65825. </reg>
  65826. <reg name="reserved_reg31" protect="r">
  65827. </reg>
  65828. <reg name="reserved_reg32" protect="r">
  65829. </reg>
  65830. <reg name="reserved_reg_core" protect="rw">
  65831. </reg>
  65832. <reg name="reserved_reg_rtc" protect="rw">
  65833. </reg>
  65834. <reg name="bg_ctrl" protect="rw">
  65835. <bits access="rw" name="bg_chop_en" pos="0" rst="0">
  65836. <comment>Band-gap chopping enable: &quot;0&quot;:chopping disable (default) &quot;1&quot;: chopping enable</comment>
  65837. </bits>
  65838. </reg>
  65839. <reg name="dcdc_vlg_sel" protect="rw">
  65840. <bits access="rw" name="dcdc_wpa_votrim_sw_sel" pos="5" rst="0">
  65841. <comment>DCDC reference Bits selection 0: From efuse 1: From Software Register change is not recommended</comment>
  65842. </bits>
  65843. <bits access="rw" name="dcdc_wpa_sw_sel" pos="4" rst="0">
  65844. <comment>DCDC Voltage calibration disable 0: enable calibration 1: disable calibration</comment>
  65845. </bits>
  65846. <bits access="rw" name="dcdc_gen_sw_sel" pos="3" rst="0">
  65847. <comment>DCDC Voltage calibration disable 0: enable calibration 1: disable calibration</comment>
  65848. </bits>
  65849. <bits access="rw" name="dcdc_core_votrim_sw_sel" pos="2" rst="0">
  65850. <comment>DCDC reference Bits selection 0: From efuse 1: From Software Register change is not recommended</comment>
  65851. </bits>
  65852. <bits access="rw" name="dcdc_core_slp_sw_sel" pos="1" rst="0">
  65853. <comment>DCDC sleep voltage turnning 0: From efuse,cannot voltage turnning 1: From Software Register,can be turnned if software want to control this voltage, must set this bit to 1</comment>
  65854. </bits>
  65855. <bits access="rw" name="dcdc_core_nor_sw_sel" pos="0" rst="0">
  65856. <comment>DCDC normal voltage turnning 0: From efuse,cannot voltage turnning 1: From Software Register,can be turnned if software want to control this voltage, must set this bit to 1</comment>
  65857. </bits>
  65858. </reg>
  65859. <reg name="ldo_vlg_sel0" protect="rw">
  65860. <bits access="rw" name="ldo_kpled_sw_sel" pos="5" rst="0">
  65861. <comment>LDO Voltage calibration disable 0: enable calibration 1: disable calibration change is not recommended</comment>
  65862. </bits>
  65863. <bits access="rw" name="ldo_vibr_sw_sel" pos="4" rst="0">
  65864. <comment>LDO Voltage calibration disable 0: enable calibration 1: disable calibration change is not recommended</comment>
  65865. </bits>
  65866. <bits access="rw" name="ldo_rtc_cal_sw_sel" pos="3" rst="0">
  65867. <comment>LDO Voltage calibration disable 0: enable calibration 1: disable calibration change is not recommended</comment>
  65868. </bits>
  65869. <bits access="rw" name="ldo_dcxo_sw_sel" pos="2" rst="0">
  65870. <comment>LDO Voltage calibration disable 0: enable calibration 1: disable calibration change is not recommended</comment>
  65871. </bits>
  65872. <bits access="rw" name="ldo_trim_a_sw_sel" pos="1" rst="0">
  65873. <comment>LDO Voltage calibration disable 0: enable calibration 1: disable calibration change is not recommended</comment>
  65874. </bits>
  65875. <bits access="rw" name="ldo_trim_b_sw_sel" pos="0" rst="0">
  65876. <comment>LDO Voltage calibration disable 0: enable calibration 1: disable calibration change is not recommended</comment>
  65877. </bits>
  65878. </reg>
  65879. <reg name="clk32kless_ctrl0" protect="rw">
  65880. <bits access="r" name="rc_mode_wr_ack_flag" pos="14" rst="0">
  65881. <comment>RC_MODE write ack flag</comment>
  65882. </bits>
  65883. <bits access="rc" name="rc_mode_wr_ack_flag_clr" pos="10" rst="0">
  65884. <comment>bit type is changed from wc to rc.
  65885. RC_MODE write ack flag clear, high effective</comment>
  65886. </bits>
  65887. <bits access="rw" name="ldo_dcxo_lp_en_rtcset" pos="7" rst="0">
  65888. <comment>Low power LDO_DCXO power down set in RTC</comment>
  65889. </bits>
  65890. <bits access="rw" name="ldo_dcxo_lp_en_rtcclr" pos="6" rst="0">
  65891. <comment>Low power LDO_DCXO power down clear in RTC</comment>
  65892. </bits>
  65893. <bits access="r" name="rtc_mode" pos="4" rst="0">
  65894. <comment>0: there isnt 32k crystal in PMIC</comment>
  65895. </bits>
  65896. <bits access="rw" name="rc_32k_sel" pos="1" rst="0">
  65897. <comment>32K clock select in 32K crystal removal option 0: From XO 1: From RC</comment>
  65898. </bits>
  65899. <bits access="rw" name="rc_32k_en" pos="0" rst="0">
  65900. <comment>RC 32K oscillator enable</comment>
  65901. </bits>
  65902. </reg>
  65903. <reg name="clk32kless_ctrl1" protect="rw">
  65904. <bits access="rw" name="rc_mode" pos="15:0" rst="0">
  65905. <comment>RC 32K mode in battery drop case:</comment>
  65906. </bits>
  65907. </reg>
  65908. <reg name="xtl_wait_ctrl0" protect="rw">
  65909. <bits access="rw" name="ext_xtl3_for_26m_en" pos="13" rst="0">
  65910. <comment>26M wake up enable by ext_xtl3_en</comment>
  65911. </bits>
  65912. <bits access="rw" name="ext_xtl2_for_26m_en" pos="12" rst="0">
  65913. <comment>26M wake up enable by ext_xtl2_en</comment>
  65914. </bits>
  65915. <bits access="rw" name="ext_xtl1_for_26m_en" pos="11" rst="0">
  65916. <comment>26M wake up enable by ext_xtl1_en</comment>
  65917. </bits>
  65918. <bits access="rw" name="ext_xtl0_for_26m_en" pos="10" rst="0">
  65919. <comment>26M wake up enable by ext_xtl0_en</comment>
  65920. </bits>
  65921. <bits access="rw" name="slp_xtlbuf_pd_en" pos="9" rst="1">
  65922. <comment>26MHz crystal oscillator power down enable in deep sleep mode</comment>
  65923. </bits>
  65924. <bits access="rw" name="xtl_en" pos="8" rst="0">
  65925. <comment>26MHz crystal oscillator output enable</comment>
  65926. </bits>
  65927. <bits access="rw" name="xtl_wait" pos="7:0" rst="50">
  65928. <comment>26MHz crystal oscillator wait cycles</comment>
  65929. </bits>
  65930. </reg>
  65931. <reg name="rgb_ctrl" protect="rw">
  65932. <bits access="rw" name="slp_rgb_pd_en" pos="2" rst="1">
  65933. <comment>RGB driver power down enable in chip deep sleep mode</comment>
  65934. </bits>
  65935. <bits access="rw" name="rgb_pd_hw_en" pos="1" rst="0">
  65936. <comment>RGB driver hardware power down enable</comment>
  65937. </bits>
  65938. <bits access="rw" name="rgb_pd_sw" pos="0" rst="1">
  65939. <comment>RGB driver soft power down</comment>
  65940. </bits>
  65941. </reg>
  65942. <reg name="ib_ctrl" protect="rw">
  65943. <bits access="rw" name="batdet_cur_en" pos="13" rst="0">
  65944. <comment>current mode enable &quot;0&quot; disable (default) &quot;1&quot; enable (default)</comment>
  65945. </bits>
  65946. <bits access="rw" name="batdet_cur_i" pos="11:9" rst="0">
  65947. <comment>set current level in current mode 000:1.25uA;001:2.5uA;010:5uA;011:10uA;100:20uA;101:40uA;110:80uA;111:160uA; 8step</comment>
  65948. </bits>
  65949. <bits access="rw" name="ib_trim" pos="8:2" rst="64">
  65950. <comment>Internal resistor for sink current calibration bit.</comment>
  65951. </bits>
  65952. <bits access="rw" name="ib_trim_em_sel" pos="1" rst="1">
  65953. <comment>Internal resistor for sink current calibration bit selection 0: From Software Register 1: From Ememory</comment>
  65954. </bits>
  65955. <bits access="rw" name="ib_rex_en" pos="0" rst="0">
  65956. <comment>External resisitor for sink current adjustment for test</comment>
  65957. </bits>
  65958. </reg>
  65959. <reg name="flash_ctrl" protect="rw">
  65960. <bits access="rw" name="flash_pon" pos="15" rst="0">
  65961. <comment>Flash power on 1: power on 0: power down</comment>
  65962. </bits>
  65963. <bits access="rw" name="flash_v_hw_en" pos="6" rst="0">
  65964. <comment>FLASH_V hardware control enable</comment>
  65965. </bits>
  65966. <bits access="rw" name="flash_v_hw_step" pos="5:4" rst="0">
  65967. <comment>FLASH_V hardware control step 00: 1 cycle of clock 32k 01: 2 cycle of clock 32k 10: 3 cycle of clock 32k 11: 4 cycle of clock 32k</comment>
  65968. </bits>
  65969. <bits access="rw" name="flash_v_sw" pos="3:0" rst="0">
  65970. <comment>Current control bit. 16 steps. Min current: 15mA (&quot;0000&quot;) One step is 15mA (default 4'b0)</comment>
  65971. </bits>
  65972. </reg>
  65973. <reg name="kpled_ctrl0" protect="rw">
  65974. <bits access="rw" name="kpled_v" pos="15:12" rst="0">
  65975. <comment>Current control bit. 16 steps (default 4'b0) (0000:0.9mA 0001:1.8mA 0010:2.7mA 0011:3.6mA 0100:4.5mA 0101:5.4mA 0110:6.3mA 0111:7.2mA 1000:16.2mA 1001:22.5mA 1010:29.7mA 1011:37.8mA 1100:46.8mA 1101:56.7mA 1110:67.5mA 1111:79.2mA)</comment>
  65976. </bits>
  65977. <bits access="rw" name="kpled_pd" pos="11" rst="1">
  65978. <comment>Key PAD LED driver power down &quot;1&quot; power down (default) &quot;0&quot; enable</comment>
  65979. </bits>
  65980. <bits access="rw" name="kpled_pulldown_en" pos="10" rst="0">
  65981. <comment>Keypad LED pull down enable signale, high effective</comment>
  65982. </bits>
  65983. <bits access="rw" name="slp_ldokpled_pd_en" pos="9" rst="1">
  65984. <comment>KPLED LDO sleep power down enable</comment>
  65985. </bits>
  65986. <bits access="rw" name="ldo_kpled_cap_sel" pos="4" rst="0">
  65987. <comment>KPLED LDO remote cap application: default 1'b0; when parasitic resistance is larger than 200m ohm, select 1'b1</comment>
  65988. </bits>
  65989. <bits access="rw" name="ldo_kpled_stb" pos="3:2" rst="2">
  65990. <comment>KPLED LDO stability compensation: default 2'b10</comment>
  65991. </bits>
  65992. <bits access="rw" name="ldo_kpled_shpt_adj" pos="1" rst="1">
  65993. <comment>KPLED LDO foldback current threshold adjust: default 1'b1</comment>
  65994. </bits>
  65995. <bits access="rw" name="ldo_kpled_cl_adj" pos="0" rst="1">
  65996. <comment>VIBR LDO current limit threshold adjust: default 1'b1</comment>
  65997. </bits>
  65998. </reg>
  65999. <reg name="kpled_ctrl1" protect="rw">
  66000. <bits access="rw" name="ldo_kpled_pd" pos="15" rst="1">
  66001. <comment>KPLED LDO power down signal</comment>
  66002. </bits>
  66003. <bits access="rw" name="ldo_kpled_v" pos="9:7" rst="5">
  66004. <comment>KPLED LDO program bits: 100mV/step, 2.8V~3.5V; default 3.3V, 3'b101</comment>
  66005. </bits>
  66006. <bits access="rw" name="ldo_kpled_reftrim" pos="6:2" rst="16">
  66007. <comment>KPLED LDO TRIM program bits: 8mV/step 1.2V default</comment>
  66008. </bits>
  66009. <bits access="rw" name="ldo_kpled_shpt_pd" pos="0" rst="0">
  66010. <comment>LDO short protection power down</comment>
  66011. </bits>
  66012. </reg>
  66013. <reg name="vibr_ctrl0" protect="rw">
  66014. <bits access="rw" name="ldo_vibr_cap_sel" pos="15" rst="0">
  66015. <comment>VIBR LDO remote cap application: default 1'b0; when parasitic resistance is larger than 200m ohm, select 1'b1</comment>
  66016. </bits>
  66017. <bits access="rw" name="ldo_vibr_stb" pos="14:13" rst="2">
  66018. <comment>KPLED LDO stability compensation: default 2'b10</comment>
  66019. </bits>
  66020. <bits access="rw" name="ldo_vibr_shpt_adj" pos="12" rst="1">
  66021. <comment>VIBR LDO foldback current threshold adjust: default 1'b1</comment>
  66022. </bits>
  66023. <bits access="rw" name="ldo_vibr_cl_adj" pos="11" rst="1">
  66024. <comment>VIBR LDO current limit threshold adjust: default 1'b1</comment>
  66025. </bits>
  66026. <bits access="rw" name="ldo_vibr_shpt_pd" pos="10" rst="1">
  66027. <comment>LDO short protection power down</comment>
  66028. </bits>
  66029. <bits access="rw" name="slp_ldovibr_pd_en" pos="9" rst="1">
  66030. <comment>Vibrator LDO sleep power down enable</comment>
  66031. </bits>
  66032. <bits access="rw" name="ldo_vibr_pd" pos="8" rst="1">
  66033. <comment>VIBR LDO power down signal</comment>
  66034. </bits>
  66035. <bits access="rw" name="ldo_vibr_v" pos="2:0" rst="2">
  66036. <comment>VIBR LDO program bits: 100mV/step, 2.8V~3.5V; default 3.0V, 3'b010</comment>
  66037. </bits>
  66038. </reg>
  66039. <reg name="vibr_ctrl1" protect="rw">
  66040. <bits access="rw" name="ldo_vibr_reftrim" pos="5:1" rst="16">
  66041. <comment>VIBR LDO TRIM program bits: 8mV/step 1.2V default</comment>
  66042. </bits>
  66043. <bits access="rw" name="ldo_vibr_eadbias_en" pos="0" rst="0">
  66044. <comment>LDO EA load compensation EN ,effective(1'b1)</comment>
  66045. </bits>
  66046. </reg>
  66047. <reg name="audio_ctrl0" protect="rw">
  66048. <bits access="rw" name="clk_aud_if_tx_inv_en" pos="3" rst="1">
  66049. <comment>Whether Adie use inverse of clk_audif to sample Ddie tx data 0: No 1: Yes</comment>
  66050. </bits>
  66051. <bits access="rw" name="clk_aud_if_rx_inv_en" pos="2" rst="0">
  66052. <comment>Whether Adie use inverse of clk_aud6m5 to send rx data to Ddie 0: No 1: Yes</comment>
  66053. </bits>
  66054. <bits access="rw" name="clk_aud_if_6p5m_tx_inv_en" pos="1" rst="0">
  66055. <comment>Whether Adie audio controller use inverse of clk_aud6m5 in tx path 0: No 1: Yes</comment>
  66056. </bits>
  66057. <bits access="rw" name="clk_aud_if_6p5m_rx_inv_en" pos="0" rst="0">
  66058. <comment>Whether Adie audio controller use inverse of clk_aud6m5 in rx path 0: No 1: Yes</comment>
  66059. </bits>
  66060. </reg>
  66061. <reg name="chgr_ctrl0" protect="rw">
  66062. <bits access="rw" name="chgr_dpm" pos="14:13" rst="3">
  66063. <comment>VCHG tracking voltage level for automatic input control loop(AICL) 00: 3.8V 01: 3.95V 10: 4.3V 11: 4.5V Default value is 11</comment>
  66064. </bits>
  66065. <bits access="rw" name="chgr_cc_en" pos="12" rst="0">
  66066. <comment>Charger CC mode enable, high effective</comment>
  66067. </bits>
  66068. <bits access="rw" name="chgr_cv_v" pos="10:5" rst="16">
  66069. <comment>Charger battery sense DAC (CC-CV trans-point control)</comment>
  66070. </bits>
  66071. <bits access="rw" name="chgr_end_v" pos="4:3" rst="0">
  66072. <comment>Charger battery charging end voltage 00: Vend=4.2V 01: Vend=4.3V 10: Vend=4.4V 11: Vend=4.5V</comment>
  66073. </bits>
  66074. <bits access="rw" name="chgr_iterm" pos="2:1" rst="0">
  66075. <comment>Termination charger current programmable bits 00:cc*0.9 01:cc*0.4 10:cc*0.2 11:cc*0.1</comment>
  66076. </bits>
  66077. <bits access="rw" name="chgr_pd" pos="0" rst="0">
  66078. <comment>Charger power down</comment>
  66079. </bits>
  66080. </reg>
  66081. <reg name="chgr_ctrl1" protect="rw">
  66082. <bits access="rw" name="chgr_expower_device" pos="15" rst="0">
  66083. <comment>Choice of charger external power device 0:PNP+NMOS 1:PMOS+DIODE Default value is 0</comment>
  66084. </bits>
  66085. <bits access="rw" name="chgr_cc_i" pos="13:10" rst="0">
  66086. <comment>CC mode charging current 0000:300mA 0001 : 350 0010: 400mA 0011 : 450 0100: 500mA 0101 :550 0110: 600mA 0111: 650 1000: 700mA 1001: 750 1010: 800mA 1011: 900 1100: 1000mA 1101: 1100 1110: 1200mA 1111: 1300 Default4'b0</comment>
  66087. </bits>
  66088. <bits access="rw" name="vchg_ovp_v" pos="1:0" rst="1">
  66089. <comment>control bits of over voltage protection for VCHG. When VCHG is above some level set by these 2 bits, charger power down and CHGR_OVI becomes high. 00: 6.0V 01: 6.5V 10: 7.0V 11: 9.7V Default 2'b01</comment>
  66090. </bits>
  66091. </reg>
  66092. <reg name="chgr_status" protect="rw">
  66093. <bits access="rw" name="chgr_int_en" pos="13" rst="0">
  66094. <comment>Chgr_int enable after CHG_DET_DONE</comment>
  66095. </bits>
  66096. <bits access="r" name="non_dcp_int" pos="12" rst="0">
  66097. <comment>Charging port of NON-DCP status &quot;1&quot; Charging port is NON-DCP &quot;0&quot; Charging port is not NON-DCP</comment>
  66098. </bits>
  66099. <bits access="r" name="chg_det_done" pos="11" rst="0">
  66100. <comment>Charging detect done after charger insert once</comment>
  66101. </bits>
  66102. <bits access="r" name="dp_low" pos="10" rst="0">
  66103. <comment>The output of the comparator of DCD detection or SDP/NON-DCP detection &quot;1&quot; means DCD pass when doing DCD, or SDP if CHG_DET=0 &quot;0&quot; means DCD fail when doing DCD, or NON-DCP if CHG_DET=0</comment>
  66104. </bits>
  66105. <bits access="r" name="dcp_det" pos="9" rst="0">
  66106. <comment>The output of the comparator of DCP_DET loop &quot;1&quot; means DCP if CHG_DET is &quot;1&quot; &quot;0&quot; means CDP if CHG_DET is &quot;1&quot;</comment>
  66107. </bits>
  66108. <bits access="r" name="chg_det" pos="8" rst="0">
  66109. <comment>The output of the comparator of CHG_DET loop &quot;1&quot; DCP or CDP &quot;0&quot; SDP or NON-DCP</comment>
  66110. </bits>
  66111. <bits access="r" name="sdp_int" pos="7" rst="0">
  66112. <comment>Charging port of SDP status &quot;1&quot; Charging port is SDP &quot;0&quot; Charging port is not SDP</comment>
  66113. </bits>
  66114. <bits access="r" name="dcp_int" pos="6" rst="0">
  66115. <comment>Charging port of DCP status &quot;1&quot; Charging port is DCP &quot;0&quot; Charging port is not DCP</comment>
  66116. </bits>
  66117. <bits access="r" name="cdp_int" pos="5" rst="0">
  66118. <comment>Charging port of CDP status &quot;1&quot; Charging port is CDP &quot;0&quot; Charging port is not CDP</comment>
  66119. </bits>
  66120. <bits access="r" name="chgr_cv_status" pos="4" rst="0">
  66121. <comment>Flag when charging current below some level(0.5*full current) in CV mode High effective</comment>
  66122. </bits>
  66123. <bits access="r" name="chgr_on" pos="3" rst="0">
  66124. <comment>Charger voltage ready indicator, high effective When VCHG&lt;4.1V: &quot;0&quot; When VCHG&gt;4.3V: &quot;1&quot;</comment>
  66125. </bits>
  66126. <bits access="r" name="chgr_int" pos="2" rst="0">
  66127. <comment>Charger present indicator, high effective When VCHG&lt;3.1V: &quot;0&quot; When VCHG&gt;3.3V: &quot;1&quot;</comment>
  66128. </bits>
  66129. <bits access="rw" name="dcp_switch_en" pos="1" rst="1">
  66130. <comment>0: switch DPDM to USB phy when DCP 1: keep to connect charger detector when DCP</comment>
  66131. </bits>
  66132. <bits access="r" name="vchg_ovi" pos="0" rst="0">
  66133. <comment>VCHG over voltage(programmable) flag When VCHG higher than some voltage set by VCHG_OVP_V&lt;5:0&gt; and lasts 2mS, CHGR_OVI=&quot;1&quot; The hysteresis voltage is 600mV.</comment>
  66134. </bits>
  66135. </reg>
  66136. <reg name="chgr_det_fgu_ctrl" protect="rw">
  66137. <bits access="rw" name="fgua_soft_rst" pos="13" rst="0">
  66138. <comment>FGU ANA soft reset</comment>
  66139. </bits>
  66140. <bits access="rw" name="ldo_fgu_pd" pos="12" rst="0">
  66141. <comment>LDO FGU power down control 0: Normal Mode 1: Power Down Mode</comment>
  66142. </bits>
  66143. <bits access="rw" name="chg_int_delay" pos="11:9" rst="0">
  66144. <comment>charger int delay time: 000:0ms 001:64ms 010:264ms.. 111:764ms</comment>
  66145. </bits>
  66146. <bits access="rw" name="sd_chop_cap_en" pos="8" rst="1">
  66147. <comment>ADC chop enable</comment>
  66148. </bits>
  66149. <bits access="rw" name="sd_clk_p" pos="7:6" rst="0">
  66150. <comment>ADC clock programming bits</comment>
  66151. </bits>
  66152. <bits access="rw" name="sd_adc0_rc_pd" pos="5" rst="0">
  66153. <comment>input RC for ADC0 input filtering select signal: 0: ADC0 input with RC filtering 1: ADC0 input without RC filtering</comment>
  66154. </bits>
  66155. <bits access="rw" name="sd_chop_en" pos="4" rst="1">
  66156. <comment>0: ADC0 input with RC filtering</comment>
  66157. </bits>
  66158. <bits access="rw" name="sd_dcoffset_b_en" pos="3" rst="0">
  66159. <comment>1: ADC0 input without RC filtering</comment>
  66160. </bits>
  66161. <bits access="rw" name="sd_dcoffset_a_en" pos="2" rst="0">
  66162. <comment>SD ADC_A will be dc offset calibration Code mode 0(default) off 1 on</comment>
  66163. </bits>
  66164. <bits access="rw" name="dp_dm_aux_en" pos="1" rst="0">
  66165. <comment>DP DM to auxADC select signal: &quot;0&quot;: switch off, no DP/DM to auxADC &quot;1&quot;: switch on, DP/DM to auxADC</comment>
  66166. </bits>
  66167. <bits access="rw" name="dp_dm_bc_enb" pos="0" rst="0">
  66168. <comment>The DP DM path switch enable &quot;1&quot; switch on, BC1P2 disable &quot;0&quot; invalid</comment>
  66169. </bits>
  66170. </reg>
  66171. <reg name="ovlo_ctrl" protect="rw">
  66172. <bits access="rw" name="vbat_crash_v" pos="11:10" rst="0">
  66173. <comment>Battery crash voltage setting: 00: 2.1V (default) 01: 2.2V 10: 2.3V 11: 2.5V</comment>
  66174. </bits>
  66175. <bits access="rw" name="ovlo_en" pos="9" rst="1">
  66176. <comment>Over voltage locked-out enable (high effective) Default &quot;1&quot;</comment>
  66177. </bits>
  66178. <bits access="rw" name="ovlo_v" pos="3:2" rst="0">
  66179. <comment>Over voltage locked-out detecting time 00 : 5.0V (default) 01 : 5.2V 10 : 4.8V 11 : 4.2V</comment>
  66180. </bits>
  66181. <bits access="rw" name="ovlo_t" pos="1:0" rst="0">
  66182. <comment>Over voltage locked-out detecting time 00 : 1ms (default) 01 : 0.5ms 10 : 0.25ms 11 : 2ms</comment>
  66183. </bits>
  66184. </reg>
  66185. <reg name="mixed_ctrl" protect="rw">
  66186. <bits access="rw" name="xosc32k_ctl" pos="12" rst="1">
  66187. <comment>Schmitt Trigger 0: no Schmitt trigger 1: Schmitt trigger(default)</comment>
  66188. </bits>
  66189. <bits access="rw" name="baton_t" pos="11:10" rst="0">
  66190. <comment>Control bit of de-glitch time for battery remove &quot;00&quot; 32us &quot;01&quot; 64us &quot;10&quot; 128us &quot;11&quot; no de-glitch default&quot;00&quot;</comment>
  66191. </bits>
  66192. <bits access="rw" name="vpp_5v_sel" pos="9" rst="0">
  66193. <comment>when VPP tie to 5V should shet VPP_5V_SEL=1</comment>
  66194. </bits>
  66195. <bits access="r" name="batdet_ok" pos="8" rst="0">
  66196. <comment>Battery presence flag to SW and POCV, so need RTC domain &quot;0&quot; no battery &quot;1&quot; battery presence</comment>
  66197. </bits>
  66198. <bits access="r" name="vbat_ok" pos="4" rst="0">
  66199. <comment>VBAT detect. Active &quot;0&quot; is reset, no need 32K osc.</comment>
  66200. </bits>
  66201. <bits access="rw" name="all_gpi_deb" pos="3" rst="0">
  66202. <comment>ALL GPI source debug</comment>
  66203. </bits>
  66204. <bits access="rw" name="gpi_debug_en" pos="2" rst="0">
  66205. <comment>GPI debug enable</comment>
  66206. </bits>
  66207. <bits access="rw" name="all_int_deb" pos="1" rst="0">
  66208. <comment>ALL_INT debug, if 1, interrupt will be sent</comment>
  66209. </bits>
  66210. <bits access="rw" name="int_debug_en" pos="0" rst="0">
  66211. <comment>Interupt debug enable</comment>
  66212. </bits>
  66213. </reg>
  66214. <reg name="por_rst_monitor" protect="rw">
  66215. <bits access="rw" name="por_rst_monitor" pos="15:0" rst="0">
  66216. <comment>When POR reset active, this register is reset to 0</comment>
  66217. </bits>
  66218. </reg>
  66219. <reg name="wdg_rst_monitor" protect="rw">
  66220. <bits access="rw" name="wdg_rst_monitor" pos="15:0" rst="0">
  66221. <comment>When WDG reset active, this register is reset to 0</comment>
  66222. </bits>
  66223. </reg>
  66224. <reg name="por_pin_rst_monitor" protect="rw">
  66225. <bits access="rw" name="pro_pin_rst_monitor" pos="15:0" rst="0">
  66226. <comment>When POR_EXT_RST active, this register is reset to 0</comment>
  66227. </bits>
  66228. </reg>
  66229. <reg name="por_src_flag" protect="rw">
  66230. <bits access="rw" name="por_sw_force_on" pos="15" rst="0">
  66231. <comment>Setting this bit could disable the 1S debouncing time of power key after boot.</comment>
  66232. </bits>
  66233. <bits access="rc" name="reg_soft_rst_flg_clr" pos="14" rst="0">
  66234. <comment>bit type is changed from wc to rc.
  66235. register reset flag clear</comment>
  66236. </bits>
  66237. <bits access="r" name="por_src_flag" pos="13:0" rst="0">
  66238. <comment>Power on source flag:
  66239. [0]: Debounced PBINT signal, set when PBINT=0 &gt;50ms, clear when PBINT=1&gt;50ms.
  66240. [1]: PBINT initiating power-up hardware flag, set when PBINT=0&gt;1s, clear after power down.
  66241. [2]: Debounced PBINT2 signal, set when PBINT2=0 &gt;50ms, clear when PBINT2=1&gt;50ms.
  66242. [3]: PBINT2 initiating power-up hardware flag, set when PBINT2=0&gt;1s, clear after power down.
  66243. [4]: Debounced CHGR_INT signal, set when VCHG=1 &gt;50ms, clear when VCHG=0&gt;50ms.
  66244. [5]: Charger plug-in initiating power-up hardware flag, set when VCHG=1&gt;1s, clear after power down.
  66245. [6]: RTC alarm initiating power-up hardware flag
  66246. [7]: Long pressing power key reboot hardware flag, set when PBINT=0&gt;PBINT_7S_THRESHOLD, clear after power down.
  66247. [8]: PBINT initiating power-up software flag, set when PBINT=0&gt;1s, clear by pbint_flag_clr.
  66248. [9]: PBINT2 initiating power-up software flag, set when PBINT2=0&gt;1s, clear by pbint2_flag_clr.
  66249. [10]: Charger plug-in initiating power-up software flag, set when VCHG=1&gt;1s, clear by chgr_int_flag_clr.
  66250. [11: External pin reset reboot software flag, set when EXTRSTN=0&gt;30ms, clear by ext_rstn_flag_clr.
  66251. [12]: Long pressing power key reboot software flag, set when PBINT=0&gt;PBINT_7S_THRESHOLD, clear by pbint_7s_flag.
  66252. [13]: flag when register reset happened</comment>
  66253. </bits>
  66254. </reg>
  66255. <reg name="por_off_flag" protect="rw">
  66256. <bits access="r" name="por_chip_pd_flag" pos="13" rst="0">
  66257. <comment>uvlo + ovlo chip power down flag</comment>
  66258. </bits>
  66259. <bits access="rc" name="por_chip_pd_flag_clr" pos="12" rst="0">
  66260. <comment>bit type is changed from wc to rc.
  66261. uvlo + ovlo chip power down flag clear</comment>
  66262. </bits>
  66263. <bits access="r" name="uvlo_chip_pd_flag" pos="11" rst="0">
  66264. <comment>uvlo chip power down flag</comment>
  66265. </bits>
  66266. <bits access="rc" name="uvlo_chip_pd_flag_clr" pos="10" rst="0">
  66267. <comment>bit type is changed from wc to rc.
  66268. uvlo chip power down flag clear</comment>
  66269. </bits>
  66270. <bits access="r" name="hard_7s_chip_pd_flag" pos="9" rst="0">
  66271. <comment>7s hard chip power down flag</comment>
  66272. </bits>
  66273. <bits access="rc" name="hard_7s_chip_pd_flag_clr" pos="8" rst="0">
  66274. <comment>bit type is changed from wc to rc.
  66275. 7s hard chip power down flag clear</comment>
  66276. </bits>
  66277. <bits access="r" name="sw_chip_pd_flag" pos="7" rst="0">
  66278. <comment>OTP chip power down flag</comment>
  66279. </bits>
  66280. <bits access="rc" name="sw_chip_pd_flag_clr" pos="6" rst="0">
  66281. <comment>bit type is changed from wc to rc.
  66282. OTP chip power down flag clear</comment>
  66283. </bits>
  66284. <bits access="r" name="hw_chip_pd_flag" pos="5" rst="0">
  66285. <comment>HW chip power down flag</comment>
  66286. </bits>
  66287. <bits access="rc" name="hw_chip_pd_flag_clr" pos="4" rst="0">
  66288. <comment>bit type is changed from wc to rc.
  66289. HW chip power down flag clear</comment>
  66290. </bits>
  66291. <bits access="r" name="otp_chip_pd_flag" pos="3" rst="0">
  66292. <comment>OTP chip power down flag</comment>
  66293. </bits>
  66294. <bits access="rc" name="otp_chip_pd_flag_clr" pos="2" rst="0">
  66295. <comment>bit type is changed from wc to rc.
  66296. OTP chip power down flag clear</comment>
  66297. </bits>
  66298. </reg>
  66299. <reg name="por_7s_ctrl" protect="rw">
  66300. <bits access="rw" name="pbint_7s_flag_clr" pos="15" rst="0">
  66301. <comment>Write 1'b1 to this bit will clear pbint_7s_flag.</comment>
  66302. </bits>
  66303. <bits access="rw" name="ext_rstn_flag_clr" pos="14" rst="0">
  66304. <comment>Write 1'b1 to this bit will clear ext_rstn_flag.</comment>
  66305. </bits>
  66306. <bits access="rw" name="chgr_int_flag_clr" pos="13" rst="0">
  66307. <comment>Write 1'b1 to this bit will clear chgr_int_flag.</comment>
  66308. </bits>
  66309. <bits access="rw" name="pbint2_flag_clr" pos="12" rst="0">
  66310. <comment>Write 1'b1 to this bit will clear pbint2_flag.</comment>
  66311. </bits>
  66312. <bits access="rw" name="pbint_flag_clr" pos="11" rst="0">
  66313. <comment>Write 1'b1 to this bit will clear pbint_flag.</comment>
  66314. </bits>
  66315. <bits access="rw" name="key2_7s_rst_en" pos="9" rst="0">
  66316. <comment>1: One-key Reset Mode;</comment>
  66317. </bits>
  66318. <bits access="rw" name="pbint_7s_rst_swmode" pos="8" rst="1">
  66319. <comment>0: long reset;</comment>
  66320. </bits>
  66321. <bits access="rw" name="pbint_7s_rst_threshold" pos="7:4" rst="6">
  66322. <comment>The power key long pressing time threshold: 0~1: 2S 2: 3S 3: 4S 4: 5S 5: 6S 6: 7S 7: 8S 8: 9S 9: 10S 10:11S 11:12S 12: 13S 13:14S 14:15S 15:16S</comment>
  66323. </bits>
  66324. <bits access="rw" name="ext_rstn_mode" pos="3" rst="0">
  66325. <comment>EXT_RSTN PIN function mode when 1key 7S reset 0: EXT_INT 1: RESET</comment>
  66326. </bits>
  66327. <bits access="rw" name="pbint_7s_auto_on_en" pos="2" rst="1">
  66328. <comment>RTC register PBINT_7S_AUTO_ON_EN</comment>
  66329. </bits>
  66330. <bits access="rw" name="pbint_7s_rst_disable" pos="1" rst="0">
  66331. <comment>0: enable 7s reset function; 1: disable 7s reset function;</comment>
  66332. </bits>
  66333. <bits access="rw" name="pbint_7s_rst_mode" pos="0" rst="1">
  66334. <comment>0: software reset; 1: hardware reset;</comment>
  66335. </bits>
  66336. </reg>
  66337. <reg name="hwrst_rtc" protect="rw">
  66338. <bits access="r" name="hwrst_rtc_reg_sts" pos="15:8" rst="0">
  66339. <comment>RTC status register, set by HWRST_RTC_SET.</comment>
  66340. </bits>
  66341. <bits access="rw" name="hwrst_rtc_reg_set" pos="7:0" rst="0">
  66342. <comment>Software set this register to test VBAT and RTC power status.</comment>
  66343. </bits>
  66344. </reg>
  66345. <reg name="arch_en" protect="rw">
  66346. <bits access="rw" name="arch_en" pos="0" rst="1">
  66347. <comment>PCLK_arch enable</comment>
  66348. </bits>
  66349. </reg>
  66350. <reg name="mcu_wr_prot_value" protect="rw">
  66351. <bits access="r" name="mcu_wr_prot" pos="15" rst="0">
  66352. <comment>Arch_en write protect bit status. When mcu_wr_prot_value==16'h3c4d, the bit is &quot;1&quot;,else &quot;0&quot;</comment>
  66353. </bits>
  66354. <bits access="w" name="mcu_wr_prot_value" pos="14:0" rst="0">
  66355. <comment>Arch_en write protect value</comment>
  66356. </bits>
  66357. </reg>
  66358. <reg name="pwr_wr_prot_value" protect="rw">
  66359. <bits access="r" name="pwr_wr_prot" pos="15" rst="0">
  66360. <comment>All power which default on write protect bit status. When mcu_wr_prot_value==16'h6e7f, the bit is &quot;1&quot;,else &quot;0&quot;</comment>
  66361. </bits>
  66362. <bits access="w" name="pwr_wr_prot_value" pos="14:0" rst="0">
  66363. <comment>Arch_en write protect value</comment>
  66364. </bits>
  66365. </reg>
  66366. <reg name="smpl_ctrl0" protect="rw">
  66367. <bits access="rw" name="smpl_mode" pos="15:0" rst="0">
  66368. <comment>SMPL mode: [15:13]: SMPL timer threshold 0: 0.25s 1: 0.5s 2: 0.75s.. 7: 2s [12:0]: SMPL enable 13'h1935: enable Others: disable</comment>
  66369. </bits>
  66370. </reg>
  66371. <reg name="smpl_ctrl1" protect="rw">
  66372. <bits access="r" name="smpl_pwr_on_flag" pos="15" rst="0">
  66373. <comment>Set once SMPL timer not expired.</comment>
  66374. </bits>
  66375. <bits access="r" name="smpl_mode_wr_ack_flag" pos="14" rst="0">
  66376. <comment>Set once SMPL mode write finish</comment>
  66377. </bits>
  66378. <bits access="rc" name="smpl_pwr_on_flag_clr" pos="13" rst="0">
  66379. <comment>bit type is changed from wc to rc.
  66380. Clear SMPL_PWR_ON_FLAG</comment>
  66381. </bits>
  66382. <bits access="rc" name="smpl_mode_wr_ack_flag_clr" pos="12" rst="0">
  66383. <comment>bit type is changed from wc to rc.
  66384. Clear SMPL_MODE_WR_ACK</comment>
  66385. </bits>
  66386. <bits access="r" name="smpl_pwr_on_set" pos="11" rst="0">
  66387. <comment>Set once SMPL timer not expired,</comment>
  66388. </bits>
  66389. <bits access="r" name="smpl_en" pos="0" rst="0">
  66390. <comment>SMPL enable indication</comment>
  66391. </bits>
  66392. </reg>
  66393. <reg name="rtc_rst0" protect="rw">
  66394. <bits access="rw" name="rtc_clk_flag_set" pos="15:0" rst="0">
  66395. <comment>RTC register flag</comment>
  66396. </bits>
  66397. </reg>
  66398. <reg name="rtc_rst1" protect="rw">
  66399. <bits access="rw" name="rtc_clk_flag_clr" pos="15:0" rst="0">
  66400. <comment>RTC register flag</comment>
  66401. </bits>
  66402. </reg>
  66403. <reg name="rtc_rst2" protect="r">
  66404. <bits access="r" name="rtc_clk_flag_rtc" pos="15:0" rst="42390">
  66405. <comment>RTC register flag, reset by RTC_RST, default is 16'hA596</comment>
  66406. </bits>
  66407. </reg>
  66408. <reg name="rtc_clk_stop" protect="rw">
  66409. <bits access="r" name="rtc_clk_stop_flag" pos="7" rst="0">
  66410. <comment>rtc time over thresthold value</comment>
  66411. </bits>
  66412. <bits access="rw" name="rtc_clk_stop_threshold" pos="6:0" rst="16">
  66413. <comment>set reset rtc cnt time,default 16s</comment>
  66414. </bits>
  66415. </reg>
  66416. <reg name="vbat_drop_cnt" protect="r">
  66417. <bits access="r" name="vbat_drop_cnt" pos="11:0" rst="0">
  66418. <comment>VBAT Drop Time Count</comment>
  66419. </bits>
  66420. </reg>
  66421. <reg name="swrst_ctrl0" protect="rw">
  66422. <bits access="rw" name="ext_rstn_pd_en" pos="10" rst="0">
  66423. <comment>Software reset certain power enable when ext_rstn valid</comment>
  66424. </bits>
  66425. <bits access="rw" name="pb_7s_rst_pd_en" pos="9" rst="0">
  66426. <comment>Software reset certain power enable when pb_7s_rst valid</comment>
  66427. </bits>
  66428. <bits access="rw" name="reg_rst_pd_en" pos="8" rst="0">
  66429. <comment>Software reset certain power enable when reg_rst valid</comment>
  66430. </bits>
  66431. <bits access="rw" name="wdg_rst_pd_en" pos="7" rst="0">
  66432. <comment>Software reset certain power enable when wdg_rst valid</comment>
  66433. </bits>
  66434. <bits access="rw" name="reg_rst_en" pos="4" rst="0">
  66435. <comment>register reset enable:</comment>
  66436. </bits>
  66437. <bits access="rw" name="sw_rst_pd_threshold" pos="3:0" rst="0">
  66438. <comment>reset LDO to normal mode threshold time</comment>
  66439. </bits>
  66440. </reg>
  66441. <reg name="swrst_ctrl1" protect="rw">
  66442. <bits access="rw" name="sw_rst_dcdcgen_pd_en" pos="10" rst="0">
  66443. <comment>Software reset DCDC_GEN_PD enable when global reset valid</comment>
  66444. </bits>
  66445. <bits access="rw" name="sw_rst_dcdccore_pd_en" pos="9" rst="0">
  66446. <comment>Software reset DCDC_CORE_PD enable when global reset valid</comment>
  66447. </bits>
  66448. <bits access="rw" name="sw_rst_mem_pd_en" pos="8" rst="0">
  66449. <comment>Software reset LDO_MEM_PD enable when global reset valid</comment>
  66450. </bits>
  66451. <bits access="rw" name="sw_rst_dcxo_pd_en" pos="7" rst="0">
  66452. <comment>Software reset LDO_DCXO_PD enable when global reset valid</comment>
  66453. </bits>
  66454. <bits access="rw" name="sw_rst_vdd28_pd_en" pos="6" rst="0">
  66455. <comment>Software reset LDO_VDD28_PD enable when global reset valid</comment>
  66456. </bits>
  66457. <bits access="rw" name="sw_rst_ana_pd_en" pos="5" rst="0">
  66458. <comment>Software reset LDO_ANA_PD enable when global reset valid</comment>
  66459. </bits>
  66460. <bits access="rw" name="sw_rst_rf15_pd_en" pos="4" rst="0">
  66461. <comment>Software reset LDO_RF18_PD enable when global reset valid</comment>
  66462. </bits>
  66463. <bits access="rw" name="sw_rst_usb33_pd_en" pos="3" rst="0">
  66464. <comment>Software reset LDO_USB33_PD enable when global reset valid</comment>
  66465. </bits>
  66466. <bits access="rw" name="sw_rst_mmc_pd_en" pos="2" rst="0">
  66467. <comment>Software reset LDO_MMC_PD enable when global reset valid</comment>
  66468. </bits>
  66469. <bits access="rw" name="sw_rst_ddr12_pd_en" pos="1" rst="0">
  66470. <comment>Software reset LDO_DDR12_PD enable when global reset valid</comment>
  66471. </bits>
  66472. <bits access="rw" name="sw_rst_vio18_pd_en" pos="0" rst="0">
  66473. <comment>Software reset LDO_VIO18_PD enable when global reset valid</comment>
  66474. </bits>
  66475. </reg>
  66476. <reg name="otp_ctrl" protect="rw">
  66477. <bits access="rw" name="otp_op" pos="2:1" rst="3">
  66478. <comment>OTP threshold option, 00 135, 01 140, 10 145, 11 150;</comment>
  66479. </bits>
  66480. <bits access="rw" name="otp_en" pos="0" rst="0">
  66481. <comment>OTP function enable control bit</comment>
  66482. </bits>
  66483. </reg>
  66484. <reg name="free_timer_low" protect="r">
  66485. <bits access="r" name="timer_low" pos="15:0" rst="0">
  66486. <comment>low 16 bit value of free timer</comment>
  66487. </bits>
  66488. </reg>
  66489. <reg name="free_timer_high" protect="r">
  66490. <bits access="r" name="timer_high" pos="15:0" rst="0">
  66491. <comment>high 16 bit value of free timer</comment>
  66492. </bits>
  66493. </reg>
  66494. <reg name="vol_tune_ctrl_core" protect="rw">
  66495. <bits access="rw" name="core_clk_sel" pos="14" rst="0">
  66496. <comment>clock source for CORE DVFS 0: clock 26M 1: clock 32K</comment>
  66497. </bits>
  66498. <bits access="rw" name="core_step_delay" pos="13:12" rst="0">
  66499. <comment>delay between two steps 00:1*32k clock or 2us in 26M 01:2*32k clock or 4us in 26M 10:3*32k clock or 8us in 26M 11:4*32k clock or 16us in 26M</comment>
  66500. </bits>
  66501. <bits access="rw" name="core_step_num" pos="11:8" rst="0">
  66502. <comment>step number</comment>
  66503. </bits>
  66504. <bits access="rw" name="core_step_vol" pos="7:3" rst="0">
  66505. <comment>DVFS voltage per step 00000:0mv 00001:1*3.125mv 00010:2*3.125mv.. 11111:31*3.125mv</comment>
  66506. </bits>
  66507. <bits access="rc" name="core_vol_tune_start" pos="2" rst="0">
  66508. <comment>bit type is changed from wc to rc.
  66509. voltage tune start bit</comment>
  66510. </bits>
  66511. <bits access="r" name="core_vol_tune_flag" pos="1" rst="0">
  66512. <comment>voltage tune flag 0:done 1:on going</comment>
  66513. </bits>
  66514. <bits access="rw" name="core_vol_tune_en" pos="0" rst="0">
  66515. <comment>voltage tune enable 0: disable 1: enable</comment>
  66516. </bits>
  66517. </reg>
  66518. </module>
  66519. </archive>
  66520. <archive relative="rda2720m_int.xml">
  66521. <module category="RDA2720M" name="RDA2720M_INT">
  66522. <reg name="int_mask_status" protect="r">
  66523. <bits access="r" name="typec_int_mask_status" pos="8" rst="1">
  66524. <comment>This interrupt is masked from TYPEC_INT_RAW_STATUS by TYPEC_INT_EN</comment>
  66525. </bits>
  66526. <bits access="r" name="cal_int_mask_status" pos="7" rst="1">
  66527. <comment>This interrupt is masked from CAL_INT_RAW_STATUS by CAL_INT_EN</comment>
  66528. </bits>
  66529. <bits access="r" name="tmr_int_mask_status" pos="6" rst="1">
  66530. <comment>This interrupt is masked from TMR_INT_RAW_STATUS by TMR_INT_EN</comment>
  66531. </bits>
  66532. <bits access="r" name="aud_protect_int_mask_status" pos="5" rst="1">
  66533. <comment>This interrupt is masked from AUD_PROTECT_INT_RAW_STATUS by AUD_PROTECT_INT_EN</comment>
  66534. </bits>
  66535. <bits access="r" name="eic_int_mask_status" pos="4" rst="1">
  66536. <comment>This interrupt is masked from EIC_INT_RAW_STATUS by EIC_INT_EN</comment>
  66537. </bits>
  66538. <bits access="r" name="fgu_int_mask_status" pos="3" rst="1">
  66539. <comment>This interrupt is masked from FGU_INT_RAW_STATUS by FGU_INT_EN</comment>
  66540. </bits>
  66541. <bits access="r" name="wdg_int_mask_status" pos="2" rst="1">
  66542. <comment>This interrupt is masked from WDG_INT_RAW_STATUS by WDG_INT_EN</comment>
  66543. </bits>
  66544. <bits access="r" name="rtc_int_mask_status" pos="1" rst="1">
  66545. <comment>This interrupt is masked from RTC_INT_RAW_STATUS by RTC_INT_EN</comment>
  66546. </bits>
  66547. <bits access="r" name="adc_int_mask_status" pos="0" rst="1">
  66548. <comment>This interrupt is masked from ADC_INT_RAW_STATUS by ADC_INT_EN</comment>
  66549. </bits>
  66550. </reg>
  66551. <reg name="int_raw_status" protect="r">
  66552. <bits access="r" name="typec_int_raw_status" pos="8" rst="1">
  66553. <comment>typeC raw interrupt flag</comment>
  66554. </bits>
  66555. <bits access="r" name="cal_int_raw_status" pos="7" rst="1">
  66556. <comment>calibration raw interrupt flag</comment>
  66557. </bits>
  66558. <bits access="r" name="tmr_int_raw_status" pos="6" rst="1">
  66559. <comment>timer raw interrupt flag</comment>
  66560. </bits>
  66561. <bits access="r" name="aud_protect_int_raw_status" pos="5" rst="1">
  66562. <comment>Audio protect raw interrupt flag</comment>
  66563. </bits>
  66564. <bits access="r" name="eic_int_raw_status" pos="4" rst="1">
  66565. <comment>EIC raw interrupt flag</comment>
  66566. </bits>
  66567. <bits access="r" name="fgu_int_raw_status" pos="3" rst="1">
  66568. <comment>FGU raw interrupt flag</comment>
  66569. </bits>
  66570. <bits access="r" name="wdg_int_raw_status" pos="2" rst="1">
  66571. <comment>WDG raw interrupt flag</comment>
  66572. </bits>
  66573. <bits access="r" name="rtc_int_raw_status" pos="1" rst="1">
  66574. <comment>RTC raw interrupt flag</comment>
  66575. </bits>
  66576. <bits access="r" name="adc_int_raw_status" pos="0" rst="1">
  66577. <comment>auxADC raw interrupt flag</comment>
  66578. </bits>
  66579. </reg>
  66580. <reg name="int_en" protect="rw">
  66581. <bits access="rw" name="typec_int_en" pos="8" rst="1">
  66582. <comment>bit type is changed from r/w to rw.
  66583. Enable TYPEC_INT_RAW_STATUS to system</comment>
  66584. </bits>
  66585. <bits access="rw" name="cal_int_en" pos="7" rst="1">
  66586. <comment>bit type is changed from r/w to rw.
  66587. Enable CAL_INT_RAW_STATUS to system</comment>
  66588. </bits>
  66589. <bits access="rw" name="tmr_int_en" pos="6" rst="1">
  66590. <comment>bit type is changed from r/w to rw.
  66591. Enable TMR_INT_RAW_STATUS to system</comment>
  66592. </bits>
  66593. <bits access="rw" name="aud_protect_int_en" pos="5" rst="1">
  66594. <comment>bit type is changed from r/w to rw.
  66595. Enable AUD_PROTECT_INT_RAW_STATUS to system</comment>
  66596. </bits>
  66597. <bits access="rw" name="eic_int_en" pos="4" rst="1">
  66598. <comment>bit type is changed from r/w to rw.
  66599. Enable EIC_INT_RAW_STATUS to system</comment>
  66600. </bits>
  66601. <bits access="rw" name="fgu_int_en" pos="3" rst="1">
  66602. <comment>bit type is changed from r/w to rw.
  66603. Enable FGU_INT_RAW_STATUS to system</comment>
  66604. </bits>
  66605. <bits access="rw" name="wdg_int_en" pos="2" rst="1">
  66606. <comment>bit type is changed from r/w to rw.
  66607. Enable WDG_INT_RAW_STATUS to system</comment>
  66608. </bits>
  66609. <bits access="rw" name="rtc_int_en" pos="1" rst="1">
  66610. <comment>bit type is changed from r/w to rw.
  66611. Enable RTC_INT_RAW_STATUS to system</comment>
  66612. </bits>
  66613. <bits access="rw" name="adc_int_en" pos="0" rst="1">
  66614. <comment>bit type is changed from r/w to rw.
  66615. Enable ADC_INT_RAW_STATUS to system</comment>
  66616. </bits>
  66617. </reg>
  66618. </module>
  66619. </archive>
  66620. <archive relative="rda2720m_pin.xml">
  66621. <module category="RDA2720M" name="RDA2720M_PIN">
  66622. <reg name="ptest_o" protect="rw">
  66623. <bits access="rw" name="pin_name_drv" pos="9:8" rst="1">
  66624. <comment>Driver Strength select(VDDIO=1.8V, tt corner) 00: 0.8mA 01: 1.6mA 10: 3.2mA 11: 6.4mA</comment>
  66625. </bits>
  66626. <bits access="rw" name="pin_name_func_wpu" pos="7" rst="0">
  66627. <comment>Weakly pull up for function mode</comment>
  66628. </bits>
  66629. <bits access="rw" name="pin_name_func_wpd" pos="6" rst="0">
  66630. <comment>Weakly pull down for function mode</comment>
  66631. </bits>
  66632. <bits access="rw" name="pin_name_sel" pos="5:4" rst="0">
  66633. <comment>Function select: 2b00: Mode0 2b01: Mode1 2b10: Mode2 2b11: Mode3</comment>
  66634. </bits>
  66635. <bits access="rw" name="pin_name_wpu" pos="3" rst="0">
  66636. <comment>Weak pull up for chip deep sleep mode</comment>
  66637. </bits>
  66638. <bits access="rw" name="pin_name_wpd" pos="2" rst="0">
  66639. <comment>Weak pull down for chip deep sleep mode</comment>
  66640. </bits>
  66641. <bits access="rw" name="pin_name_ie" pos="1" rst="0">
  66642. <comment>Input enable for chip deep sleep mode</comment>
  66643. </bits>
  66644. <bits access="rw" name="pin_name_oe" pos="0" rst="1">
  66645. <comment>Output enable for chip deep sleep mode</comment>
  66646. </bits>
  66647. </reg>
  66648. <reg name="adi_sclk" protect="rw">
  66649. <bits access="rw" name="pin_name_drv" pos="9:8" rst="1">
  66650. <comment>Driver Strength select(VDDIO=1.8V, tt corner) 00: 0.8mA 01: 1.6mA 10: 3.2mA 11: 6.4mA</comment>
  66651. </bits>
  66652. <bits access="rw" name="pin_name_func_wpu" pos="7" rst="0">
  66653. <comment>Weakly pull up for function mode</comment>
  66654. </bits>
  66655. <bits access="rw" name="pin_name_func_wpd" pos="6" rst="0">
  66656. <comment>Weakly pull down for function mode</comment>
  66657. </bits>
  66658. <bits access="rw" name="pin_name_sel" pos="5:4" rst="0">
  66659. <comment>Function select: 2b00: Mode0 2b01: Mode1 2b10: Mode2 2b11: Mode3</comment>
  66660. </bits>
  66661. <bits access="rw" name="pin_name_wpu" pos="3" rst="0">
  66662. <comment>Weak pull up for chip deep sleep mode</comment>
  66663. </bits>
  66664. <bits access="rw" name="pin_name_wpd" pos="2" rst="0">
  66665. <comment>Weak pull down for chip deep sleep mode</comment>
  66666. </bits>
  66667. <bits access="rw" name="pin_name_ie" pos="1" rst="0">
  66668. <comment>Input enable for chip deep sleep mode</comment>
  66669. </bits>
  66670. <bits access="rw" name="pin_name_oe" pos="0" rst="0">
  66671. <comment>Output enable for chip deep sleep mode</comment>
  66672. </bits>
  66673. </reg>
  66674. <reg name="adi_d" protect="rw">
  66675. <bits access="rw" name="pin_name_drv" pos="9:8" rst="3">
  66676. <comment>Driver Strength select(VDDIO=1.8V, tt corner) 00: 0.8mA 01: 1.6mA 10: 3.2mA 11: 6.4mA</comment>
  66677. </bits>
  66678. <bits access="rw" name="pin_name_func_wpu" pos="7" rst="0">
  66679. <comment>Weakly pull up for function mode</comment>
  66680. </bits>
  66681. <bits access="rw" name="pin_name_func_wpd" pos="6" rst="0">
  66682. <comment>Weakly pull down for function mode</comment>
  66683. </bits>
  66684. <bits access="rw" name="pin_name_sel" pos="5:4" rst="0">
  66685. <comment>Function select: 2b00: Mode0 2b01: Mode1 2b10: Mode2 2b11: Mode3</comment>
  66686. </bits>
  66687. <bits access="rw" name="pin_name_wpu" pos="3" rst="0">
  66688. <comment>Weak pull up for chip deep sleep mode</comment>
  66689. </bits>
  66690. <bits access="rw" name="pin_name_wpd" pos="2" rst="0">
  66691. <comment>Weak pull down for chip deep sleep mode</comment>
  66692. </bits>
  66693. <bits access="rw" name="pin_name_ie" pos="1" rst="0">
  66694. <comment>Input enable for chip deep sleep mode</comment>
  66695. </bits>
  66696. <bits access="rw" name="pin_name_oe" pos="0" rst="0">
  66697. <comment>Output enable for chip deep sleep mode</comment>
  66698. </bits>
  66699. </reg>
  66700. <reg name="ext_xtl_en0" protect="rw">
  66701. <bits access="rw" name="pin_name_drv" pos="9:8" rst="1">
  66702. <comment>Driver Strength select(VDDIO=1.8V, tt corner) 00: 0.8mA 01: 1.6mA 10: 3.2mA 11: 6.4mA</comment>
  66703. </bits>
  66704. <bits access="rw" name="pin_name_func_wpu" pos="7" rst="0">
  66705. <comment>Weakly pull up for function mode</comment>
  66706. </bits>
  66707. <bits access="rw" name="pin_name_func_wpd" pos="6" rst="1">
  66708. <comment>Weakly pull down for function mode</comment>
  66709. </bits>
  66710. <bits access="rw" name="pin_name_sel" pos="5:4" rst="0">
  66711. <comment>Function select: 2b00: default normal function selection 2b01: GPO 0 function selection 2b10: Mode2 2b11: Mode3</comment>
  66712. </bits>
  66713. <bits access="rw" name="pin_name_wpu" pos="3" rst="0">
  66714. <comment>Weak pull up for chip deep sleep mode</comment>
  66715. </bits>
  66716. <bits access="rw" name="pin_name_wpd" pos="2" rst="1">
  66717. <comment>Weak pull down for chip deep sleep mode</comment>
  66718. </bits>
  66719. <bits access="rw" name="pin_name_ie" pos="1" rst="1">
  66720. <comment>Input enable for chip deep sleep mode</comment>
  66721. </bits>
  66722. <bits access="rw" name="pin_name_oe" pos="0" rst="0">
  66723. <comment>Output enable for chip deep sleep mode</comment>
  66724. </bits>
  66725. </reg>
  66726. <reg name="ext_xtl_en1" protect="rw">
  66727. <bits access="rw" name="pin_name_drv" pos="9:8" rst="1">
  66728. <comment>Driver Strength select(VDDIO=1.8V, tt corner) 00: 0.8mA 01: 1.6mA 10: 3.2mA 11: 6.4mA</comment>
  66729. </bits>
  66730. <bits access="rw" name="pin_name_func_wpu" pos="7" rst="0">
  66731. <comment>Weakly pull up for function mode</comment>
  66732. </bits>
  66733. <bits access="rw" name="pin_name_func_wpd" pos="6" rst="1">
  66734. <comment>Weakly pull down for function mode</comment>
  66735. </bits>
  66736. <bits access="rw" name="pin_name_sel" pos="5:4" rst="0">
  66737. <comment>Function select: 2b00: default normal function selection 2b01: GPO 1 function selection 2b10: Mode2 2b11: Mode3</comment>
  66738. </bits>
  66739. <bits access="rw" name="pin_name_wpu" pos="3" rst="0">
  66740. <comment>Weak pull up for chip deep sleep mode</comment>
  66741. </bits>
  66742. <bits access="rw" name="pin_name_wpd" pos="2" rst="1">
  66743. <comment>Weak pull down for chip deep sleep mode</comment>
  66744. </bits>
  66745. <bits access="rw" name="pin_name_ie" pos="1" rst="1">
  66746. <comment>Input enable for chip deep sleep mode</comment>
  66747. </bits>
  66748. <bits access="rw" name="pin_name_oe" pos="0" rst="0">
  66749. <comment>Output enable for chip deep sleep mode</comment>
  66750. </bits>
  66751. </reg>
  66752. <reg name="ext_xtl_en2" protect="rw">
  66753. <bits access="rw" name="pin_name_drv" pos="9:8" rst="1">
  66754. <comment>Driver Strength select(VDDIO=1.8V, tt corner) 00: 0.8mA 01: 1.6mA 10: 3.2mA 11: 6.4mA</comment>
  66755. </bits>
  66756. <bits access="rw" name="pin_name_func_wpu" pos="7" rst="0">
  66757. <comment>Weakly pull up for function mode</comment>
  66758. </bits>
  66759. <bits access="rw" name="pin_name_func_wpd" pos="6" rst="1">
  66760. <comment>Weakly pull down for function mode</comment>
  66761. </bits>
  66762. <bits access="rw" name="pin_name_sel" pos="5:4" rst="0">
  66763. <comment>Function select: 2b00: default normal function selection 2b01: GPO 2 function selection 2b10: Mode2 2b11: Mode3</comment>
  66764. </bits>
  66765. <bits access="rw" name="pin_name_wpu" pos="3" rst="0">
  66766. <comment>Weak pull up for chip deep sleep mode</comment>
  66767. </bits>
  66768. <bits access="rw" name="pin_name_wpd" pos="2" rst="1">
  66769. <comment>Weak pull down for chip deep sleep mode</comment>
  66770. </bits>
  66771. <bits access="rw" name="pin_name_ie" pos="1" rst="1">
  66772. <comment>Input enable for chip deep sleep mode</comment>
  66773. </bits>
  66774. <bits access="rw" name="pin_name_oe" pos="0" rst="0">
  66775. <comment>Output enable for chip deep sleep mode</comment>
  66776. </bits>
  66777. </reg>
  66778. <reg name="ext_xtl_en3" protect="rw">
  66779. <bits access="rw" name="pin_name_drv" pos="9:8" rst="1">
  66780. <comment>Driver Strength select(VDDIO=1.8V, tt corner) 00: 0.8mA 01: 1.6mA 10: 3.2mA 11: 6.4mA</comment>
  66781. </bits>
  66782. <bits access="rw" name="pin_name_func_wpu" pos="7" rst="0">
  66783. <comment>Weakly pull up for function mode</comment>
  66784. </bits>
  66785. <bits access="rw" name="pin_name_func_wpd" pos="6" rst="1">
  66786. <comment>Weakly pull down for function mode</comment>
  66787. </bits>
  66788. <bits access="rw" name="pin_name_sel" pos="5:4" rst="0">
  66789. <comment>Function select: 2b00: default normal function selection 2b01: GPO 3 function selection 2b10: Mode2 2b11: Mode3</comment>
  66790. </bits>
  66791. <bits access="rw" name="pin_name_wpu" pos="3" rst="0">
  66792. <comment>Weak pull up for chip deep sleep mode</comment>
  66793. </bits>
  66794. <bits access="rw" name="pin_name_wpd" pos="2" rst="1">
  66795. <comment>Weak pull down for chip deep sleep mode</comment>
  66796. </bits>
  66797. <bits access="rw" name="pin_name_ie" pos="1" rst="1">
  66798. <comment>Input enable for chip deep sleep mode</comment>
  66799. </bits>
  66800. <bits access="rw" name="pin_name_oe" pos="0" rst="0">
  66801. <comment>Output enable for chip deep sleep mode</comment>
  66802. </bits>
  66803. </reg>
  66804. <reg name="chip_sleep" protect="rw">
  66805. <bits access="rw" name="pin_name_drv" pos="9:8" rst="1">
  66806. <comment>Driver Strength select(VDDIO=1.8V, tt corner) 00: 0.8mA 01: 1.6mA 10: 3.2mA 11: 6.4mA</comment>
  66807. </bits>
  66808. <bits access="rw" name="pin_name_func_wpu" pos="7" rst="0">
  66809. <comment>Weakly pull up for function mode</comment>
  66810. </bits>
  66811. <bits access="rw" name="pin_name_func_wpd" pos="6" rst="0">
  66812. <comment>Weakly pull down for function mode</comment>
  66813. </bits>
  66814. <bits access="rw" name="pin_name_sel" pos="5:4" rst="0">
  66815. <comment>Function select: 2b00: Mode0 2b01: Mode1 2b10: Mode2 2b11: Mode3</comment>
  66816. </bits>
  66817. <bits access="rw" name="pin_name_wpu" pos="3" rst="0">
  66818. <comment>Weak pull up for chip deep sleep mode</comment>
  66819. </bits>
  66820. <bits access="rw" name="pin_name_wpd" pos="2" rst="0">
  66821. <comment>Weak pull down for chip deep sleep mode</comment>
  66822. </bits>
  66823. <bits access="rw" name="pin_name_ie" pos="1" rst="1">
  66824. <comment>Input enable for chip deep sleep mode</comment>
  66825. </bits>
  66826. <bits access="rw" name="pin_name_oe" pos="0" rst="0">
  66827. <comment>Output enable for chip deep sleep mode</comment>
  66828. </bits>
  66829. </reg>
  66830. <reg name="clk_32k" protect="rw">
  66831. <bits access="rw" name="pin_name_drv" pos="9:8" rst="1">
  66832. <comment>Driver Strength select(VDDIO=1.8V, tt corner) 00: 0.8mA 01: 1.6mA 10: 3.2mA 11: 6.4mA</comment>
  66833. </bits>
  66834. <bits access="rw" name="pin_name_func_wpu" pos="7" rst="0">
  66835. <comment>Weakly pull up for function mode</comment>
  66836. </bits>
  66837. <bits access="rw" name="pin_name_func_wpd" pos="6" rst="0">
  66838. <comment>Weakly pull down for function mode</comment>
  66839. </bits>
  66840. <bits access="rw" name="pin_name_sel" pos="5:4" rst="0">
  66841. <comment>Function select: 2b00: Mode0 2b01: Mode1 2b10: Mode2 2b11: Mode3</comment>
  66842. </bits>
  66843. <bits access="rw" name="pin_name_wpu" pos="3" rst="0">
  66844. <comment>Weak pull up for chip deep sleep mode</comment>
  66845. </bits>
  66846. <bits access="rw" name="pin_name_wpd" pos="2" rst="0">
  66847. <comment>Weak pull down for chip deep sleep mode</comment>
  66848. </bits>
  66849. <bits access="rw" name="pin_name_ie" pos="1" rst="0">
  66850. <comment>Input enable for chip deep sleep mode</comment>
  66851. </bits>
  66852. <bits access="rw" name="pin_name_oe" pos="0" rst="1">
  66853. <comment>Output enable for chip deep sleep mode</comment>
  66854. </bits>
  66855. </reg>
  66856. <reg name="ana_int" protect="rw">
  66857. <bits access="rw" name="pin_name_drv" pos="9:8" rst="1">
  66858. <comment>Driver Strength select(VDDIO=1.8V, tt corner) 00: 0.8mA 01: 1.6mA 10: 3.2mA 11: 6.4mA</comment>
  66859. </bits>
  66860. <bits access="rw" name="pin_name_func_wpu" pos="7" rst="0">
  66861. <comment>Weakly pull up for function mode</comment>
  66862. </bits>
  66863. <bits access="rw" name="pin_name_func_wpd" pos="6" rst="0">
  66864. <comment>Weakly pull down for function mode</comment>
  66865. </bits>
  66866. <bits access="rw" name="pin_name_sel" pos="5:4" rst="0">
  66867. <comment>Function select: 2b00: Mode0 2b01: Mode1 2b10: Mode2 2b11: Mode3</comment>
  66868. </bits>
  66869. <bits access="rw" name="pin_name_wpu" pos="3" rst="0">
  66870. <comment>Weak pull up for chip deep sleep mode</comment>
  66871. </bits>
  66872. <bits access="rw" name="pin_name_wpd" pos="2" rst="0">
  66873. <comment>Weak pull down for chip deep sleep mode</comment>
  66874. </bits>
  66875. <bits access="rw" name="pin_name_ie" pos="1" rst="0">
  66876. <comment>Input enable for chip deep sleep mode</comment>
  66877. </bits>
  66878. <bits access="rw" name="pin_name_oe" pos="0" rst="1">
  66879. <comment>Output enable for chip deep sleep mode</comment>
  66880. </bits>
  66881. </reg>
  66882. <reg name="aud_adsync" protect="rw">
  66883. <bits access="rw" name="pin_name_drv" pos="9:8" rst="1">
  66884. <comment>Driver Strength select(VDDIO=1.8V, tt corner) 00: 0.8mA 01: 1.6mA 10: 3.2mA 11: 6.4mA</comment>
  66885. </bits>
  66886. <bits access="rw" name="pin_name_func_wpu" pos="7" rst="0">
  66887. <comment>Weakly pull up for function mode</comment>
  66888. </bits>
  66889. <bits access="rw" name="pin_name_func_wpd" pos="6" rst="0">
  66890. <comment>Weakly pull down for function mode</comment>
  66891. </bits>
  66892. <bits access="rw" name="pin_name_sel" pos="5:4" rst="0">
  66893. <comment>Function select: 2b00: Mode0 2b01: Mode1 2b10: Mode2 2b11: Mode3</comment>
  66894. </bits>
  66895. <bits access="rw" name="pin_name_wpu" pos="3" rst="0">
  66896. <comment>Weak pull up for chip deep sleep mode</comment>
  66897. </bits>
  66898. <bits access="rw" name="pin_name_wpd" pos="2" rst="0">
  66899. <comment>Weak pull down for chip deep sleep mode</comment>
  66900. </bits>
  66901. <bits access="rw" name="pin_name_ie" pos="1" rst="0">
  66902. <comment>Input enable for chip deep sleep mode</comment>
  66903. </bits>
  66904. <bits access="rw" name="pin_name_oe" pos="0" rst="1">
  66905. <comment>Output enable for chip deep sleep mode</comment>
  66906. </bits>
  66907. </reg>
  66908. <reg name="aud_add0" protect="rw">
  66909. <bits access="rw" name="pin_name_drv" pos="9:8" rst="1">
  66910. <comment>Driver Strength select(VDDIO=1.8V, tt corner) 00: 0.8mA 01: 1.6mA 10: 3.2mA 11: 6.4mA</comment>
  66911. </bits>
  66912. <bits access="rw" name="pin_name_func_wpu" pos="7" rst="0">
  66913. <comment>Weakly pull up for function mode</comment>
  66914. </bits>
  66915. <bits access="rw" name="pin_name_func_wpd" pos="6" rst="0">
  66916. <comment>Weakly pull down for function mode</comment>
  66917. </bits>
  66918. <bits access="rw" name="pin_name_sel" pos="5:4" rst="0">
  66919. <comment>Function select: 2b00: default normal functon sel 2b01: VAD ADCL data function sel 2b10: VAD ADCR data function sel 2b11: Mode3</comment>
  66920. </bits>
  66921. <bits access="rw" name="pin_name_wpu" pos="3" rst="0">
  66922. <comment>Weak pull up for chip deep sleep mode</comment>
  66923. </bits>
  66924. <bits access="rw" name="pin_name_wpd" pos="2" rst="0">
  66925. <comment>Weak pull down for chip deep sleep mode</comment>
  66926. </bits>
  66927. <bits access="rw" name="pin_name_ie" pos="1" rst="0">
  66928. <comment>Input enable for chip deep sleep mode</comment>
  66929. </bits>
  66930. <bits access="rw" name="pin_name_oe" pos="0" rst="1">
  66931. <comment>Output enable for chip deep sleep mode</comment>
  66932. </bits>
  66933. </reg>
  66934. <reg name="aud_dasync" protect="rw">
  66935. <bits access="rw" name="pin_name_drv" pos="9:8" rst="1">
  66936. <comment>Driver Strength select(VDDIO=1.8V, tt corner) 00: 0.8mA 01: 1.6mA 10: 3.2mA 11: 6.4mA</comment>
  66937. </bits>
  66938. <bits access="rw" name="pin_name_func_wpu" pos="7" rst="0">
  66939. <comment>Weakly pull up for function mode</comment>
  66940. </bits>
  66941. <bits access="rw" name="pin_name_func_wpd" pos="6" rst="0">
  66942. <comment>Weakly pull down for function mode</comment>
  66943. </bits>
  66944. <bits access="rw" name="pin_name_sel" pos="5:4" rst="0">
  66945. <comment>Function select: 2b00: Mode0 2b01: Mode1 2b10: Mode2 2b11: Mode3</comment>
  66946. </bits>
  66947. <bits access="rw" name="pin_name_wpu" pos="3" rst="0">
  66948. <comment>Weak pull up for chip deep sleep mode</comment>
  66949. </bits>
  66950. <bits access="rw" name="pin_name_wpd" pos="2" rst="0">
  66951. <comment>Weak pull down for chip deep sleep mode</comment>
  66952. </bits>
  66953. <bits access="rw" name="pin_name_ie" pos="1" rst="1">
  66954. <comment>Input enable for chip deep sleep mode</comment>
  66955. </bits>
  66956. <bits access="rw" name="pin_name_oe" pos="0" rst="0">
  66957. <comment>Output enable for chip deep sleep mode</comment>
  66958. </bits>
  66959. </reg>
  66960. <reg name="aud_da0" protect="rw">
  66961. <bits access="rw" name="pin_name_drv" pos="9:8" rst="1">
  66962. <comment>Driver Strength select(VDDIO=1.8V, tt corner) 00: 0.8mA 01: 1.6mA 10: 3.2mA 11: 6.4mA</comment>
  66963. </bits>
  66964. <bits access="rw" name="pin_name_func_wpu" pos="7" rst="0">
  66965. <comment>Weakly pull up for function mode</comment>
  66966. </bits>
  66967. <bits access="rw" name="pin_name_func_wpd" pos="6" rst="0">
  66968. <comment>Weakly pull down for function mode</comment>
  66969. </bits>
  66970. <bits access="rw" name="pin_name_sel" pos="5:4" rst="0">
  66971. <comment>Function select: 2b00: Mode0 2b01: Mode1 2b10: Mode2 2b11: Mode3</comment>
  66972. </bits>
  66973. <bits access="rw" name="pin_name_wpu" pos="3" rst="0">
  66974. <comment>Weak pull up for chip deep sleep mode</comment>
  66975. </bits>
  66976. <bits access="rw" name="pin_name_wpd" pos="2" rst="0">
  66977. <comment>Weak pull down for chip deep sleep mode</comment>
  66978. </bits>
  66979. <bits access="rw" name="pin_name_ie" pos="1" rst="1">
  66980. <comment>Input enable for chip deep sleep mode</comment>
  66981. </bits>
  66982. <bits access="rw" name="pin_name_oe" pos="0" rst="0">
  66983. <comment>Output enable for chip deep sleep mode</comment>
  66984. </bits>
  66985. </reg>
  66986. <reg name="aud_da1" protect="rw">
  66987. <bits access="rw" name="pin_name_drv" pos="9:8" rst="1">
  66988. <comment>Driver Strength select(VDDIO=1.8V, tt corner) 00: 0.8mA 01: 1.6mA 10: 3.2mA 11: 6.4mA</comment>
  66989. </bits>
  66990. <bits access="rw" name="pin_name_func_wpu" pos="7" rst="0">
  66991. <comment>Weakly pull up for function mode</comment>
  66992. </bits>
  66993. <bits access="rw" name="pin_name_func_wpd" pos="6" rst="0">
  66994. <comment>Weakly pull down for function mode</comment>
  66995. </bits>
  66996. <bits access="rw" name="pin_name_sel" pos="5:4" rst="0">
  66997. <comment>Function select: 2b00: Mode0 2b01: Mode1 2b10: Mode2 2b11: Mode3</comment>
  66998. </bits>
  66999. <bits access="rw" name="pin_name_wpu" pos="3" rst="0">
  67000. <comment>Weak pull up for chip deep sleep mode</comment>
  67001. </bits>
  67002. <bits access="rw" name="pin_name_wpd" pos="2" rst="0">
  67003. <comment>Weak pull down for chip deep sleep mode</comment>
  67004. </bits>
  67005. <bits access="rw" name="pin_name_ie" pos="1" rst="1">
  67006. <comment>Input enable for chip deep sleep mode</comment>
  67007. </bits>
  67008. <bits access="rw" name="pin_name_oe" pos="0" rst="0">
  67009. <comment>Output enable for chip deep sleep mode</comment>
  67010. </bits>
  67011. </reg>
  67012. <reg name="aud_sclk" protect="rw">
  67013. <bits access="rw" name="pin_name_drv" pos="9:8" rst="1">
  67014. <comment>Driver Strength select(VDDIO=1.8V, tt corner) 00: 0.8mA 01: 1.6mA 10: 3.2mA 11: 6.4mA</comment>
  67015. </bits>
  67016. <bits access="rw" name="pin_name_func_wpu" pos="7" rst="0">
  67017. <comment>Weakly pull up for function mode</comment>
  67018. </bits>
  67019. <bits access="rw" name="pin_name_func_wpd" pos="6" rst="0">
  67020. <comment>Weakly pull down for function mode</comment>
  67021. </bits>
  67022. <bits access="rw" name="pin_name_sel" pos="5:4" rst="0">
  67023. <comment>Function select: 2b00: Mode0 2b01: Mode1 2b10: Mode2 2b11: Mode3</comment>
  67024. </bits>
  67025. <bits access="rw" name="pin_name_wpu" pos="3" rst="0">
  67026. <comment>Weak pull up for chip deep sleep mode</comment>
  67027. </bits>
  67028. <bits access="rw" name="pin_name_wpd" pos="2" rst="0">
  67029. <comment>Weak pull down for chip deep sleep mode</comment>
  67030. </bits>
  67031. <bits access="rw" name="pin_name_ie" pos="1" rst="1">
  67032. <comment>Input enable for chip deep sleep mode</comment>
  67033. </bits>
  67034. <bits access="rw" name="pin_name_oe" pos="0" rst="0">
  67035. <comment>Output enable for chip deep sleep mode</comment>
  67036. </bits>
  67037. </reg>
  67038. <reg name="ext_rst_b" protect="rw">
  67039. <bits access="rw" name="pin_name_drv" pos="9:8" rst="1">
  67040. <comment>Driver Strength select(VDDIO=1.8V, tt corner) 00: 0.8mA 01: 1.6mA 10: 3.2mA 11: 6.4mA</comment>
  67041. </bits>
  67042. <bits access="rw" name="pin_name_func_wpu" pos="7" rst="0">
  67043. <comment>Weakly pull up for function mode</comment>
  67044. </bits>
  67045. <bits access="rw" name="pin_name_func_wpd" pos="6" rst="0">
  67046. <comment>Weakly pull down for function mode</comment>
  67047. </bits>
  67048. <bits access="rw" name="pin_name_sel" pos="5:4" rst="0">
  67049. <comment>Function select: 2b00: Mode0 2b01: Mode1 2b10: Mode2 2b11: Mode3</comment>
  67050. </bits>
  67051. <bits access="rw" name="pin_name_wpu" pos="3" rst="0">
  67052. <comment>Weak pull up for chip deep sleep mode</comment>
  67053. </bits>
  67054. <bits access="rw" name="pin_name_wpd" pos="2" rst="0">
  67055. <comment>Weak pull down for chip deep sleep mode</comment>
  67056. </bits>
  67057. <bits access="rw" name="pin_name_ie" pos="1" rst="0">
  67058. <comment>Input enable for chip deep sleep mode</comment>
  67059. </bits>
  67060. <bits access="rw" name="pin_name_oe" pos="0" rst="1">
  67061. <comment>Output enable for chip deep sleep mode</comment>
  67062. </bits>
  67063. </reg>
  67064. </module>
  67065. </archive>
  67066. <archive relative="rda2720m_psm.xml">
  67067. <module category="RDA2720M" name="RDA2720M_PSM">
  67068. <reg name="psm_reg_wr_protect" protect="rw">
  67069. <bits access="rw" name="psm_reg_wr" pos="15:0" rst="0">
  67070. <comment>if write 0x454e to enable write psm reg, readback only [15] is high</comment>
  67071. </bits>
  67072. </reg>
  67073. <reg name="psm_32k_cal_th" protect="rw">
  67074. <bits access="rw" name="rc_32k_cal_pre_th" pos="11:8" rst="8">
  67075. <comment>psm calibration pre time. The time is from pull DCXO high to OSC 26M stable. unit is (clk_cal_64k_div_th +1)ms</comment>
  67076. </bits>
  67077. <bits access="rw" name="rc_32k_cal_cnt_n" pos="3:0" rst="7">
  67078. <comment>psm calibration time 1s/(2^(16-rc_32k_cal_cnt_n))/( rc_32k_cal_cnt_p+1)</comment>
  67079. </bits>
  67080. </reg>
  67081. <reg name="psm_26m_cal_dn_th" protect="rw">
  67082. <bits access="rw" name="rc_26m_cal_cnt_dn_th" pos="15:0" rst="0">
  67083. <comment>psm 26m calibration value update down threshold.
  67084. Value = (1/2)*26*10^6/(2^(16-rc_32k_cal_cnt_n)) /(2^9)</comment>
  67085. </bits>
  67086. </reg>
  67087. <reg name="psm_26m_cal_up_th" protect="rw">
  67088. <bits access="rw" name="rc_26m_cal_cnt_up_th" pos="15:0" rst="0">
  67089. <comment>psm 26m calibration value update up threshold
  67090. Value = (3/2)*26*10^6/(2^(16-rc_32k_cal_cnt_n)) /(2^9)</comment>
  67091. </bits>
  67092. </reg>
  67093. <reg name="psm_ctrl" protect="rw">
  67094. <bits access="rw" name="rtc_32k_clk_sel" pos="15" rst="0">
  67095. <comment>1'b1: rtc use psm cal 32K clock in 32K less mode,1'b0:rtc use RC 32K clock in 32K less mode</comment>
  67096. </bits>
  67097. <bits access="rw" name="psm_cal_en" pos="12" rst="0">
  67098. <comment>enable psm cal</comment>
  67099. </bits>
  67100. <bits access="rw" name="psm_status_clr" pos="11" rst="0">
  67101. <comment>clear psm int status</comment>
  67102. </bits>
  67103. <bits access="rw" name="psm_cnt_en" pos="10" rst="0">
  67104. <comment>enble psm timer cnt</comment>
  67105. </bits>
  67106. <bits access="rw" name="psm_cnt_update" pos="9" rst="0">
  67107. <comment>posedge to update psm cnt value</comment>
  67108. </bits>
  67109. <bits access="rw" name="psm_software_reset" pos="8" rst="0">
  67110. <comment>software reset psm module, auto clear</comment>
  67111. </bits>
  67112. <bits access="rw" name="psm_cnt_alm_en" pos="7" rst="0">
  67113. <comment>enable psm timer to wake up sys</comment>
  67114. </bits>
  67115. <bits access="rw" name="psm_cnt_alarm_en" pos="6" rst="0">
  67116. <comment>enable psm alarm function</comment>
  67117. </bits>
  67118. <bits access="rw" name="charger_pwr_en" pos="5" rst="0">
  67119. <comment>enable charger to power on sys</comment>
  67120. </bits>
  67121. <bits access="rw" name="pbint2_pwr_en" pos="4" rst="0">
  67122. <comment>enable pbint2 to power on sys</comment>
  67123. </bits>
  67124. <bits access="rw" name="pbint1_pwr_en" pos="3" rst="0">
  67125. <comment>enable pbint1 to power on sys</comment>
  67126. </bits>
  67127. <bits access="rw" name="ext_int_pwr_en" pos="2" rst="0">
  67128. <comment>enable ext int to power on sys</comment>
  67129. </bits>
  67130. <bits access="rw" name="rtc_pwr_on_timeout_en" pos="1" rst="0">
  67131. <comment>enable rtc power on time out detect</comment>
  67132. </bits>
  67133. <bits access="rw" name="psm_en" pos="0" rst="0">
  67134. <comment>enable psm fsm</comment>
  67135. </bits>
  67136. </reg>
  67137. <reg name="rtc_pwr_off_th1" protect="rw">
  67138. <bits access="rw" name="rtc_pwr_off_hold_th" pos="15:8" rst="4">
  67139. <comment>The time to hold rtc ISO in power off rtc state, (clk_cal_64k_div_th +1)ms</comment>
  67140. </bits>
  67141. <bits access="rw" name="rtc_pwr_off_clk_en_th" pos="7:0" rst="2">
  67142. <comment>The time to disable rtc clk in power off rtc state, unit is (clk_cal_64k_div_th +1)ms</comment>
  67143. </bits>
  67144. </reg>
  67145. <reg name="rtc_pwr_off_th2" protect="rw">
  67146. <bits access="rw" name="rtc_pwr_off_pd_th" pos="15:8" rst="8">
  67147. <comment>The time to hold rtc ISO in power off rtc state, (clk_cal_64k_div_th +1)ms</comment>
  67148. </bits>
  67149. <bits access="rw" name="rtc_pwr_off_rstn_th" pos="7:0" rst="6">
  67150. <comment>The time to reset rtc in power off rtc state, unit is (clk_cal_64k_div_th +1)ms</comment>
  67151. </bits>
  67152. </reg>
  67153. <reg name="rtc_pwr_off_th3" protect="rw">
  67154. <bits access="rw" name="rtc_pwr_off_done_th" pos="7:0" rst="16">
  67155. <comment>The time to power off rtc done in power off rtc state, unit is (clk_cal_64k_div_th +1)ms</comment>
  67156. </bits>
  67157. </reg>
  67158. <reg name="rtc_pwr_on_th1" protect="rw">
  67159. <bits access="rw" name="rtc_pwr_on_rstn_th" pos="15:8" rst="64">
  67160. <comment>The time to release reset in power on rtc state, unit is 4*(clk_cal_64k_div_th +1)ms</comment>
  67161. </bits>
  67162. <bits access="rw" name="rtc_pwr_on_pd_th" pos="7:0" rst="1">
  67163. <comment>The time to power on rtc , unit is 4*(clk_cal_64k_div_th +1)ms</comment>
  67164. </bits>
  67165. </reg>
  67166. <reg name="rtc_pwr_on_th2" protect="rw">
  67167. <bits access="rw" name="rtc_pwr_on_clk_en_th" pos="15:8" rst="3">
  67168. <comment>The time to clock enable in power on rtc state, unit is 4*(clk_cal_64k_div_th +1)ms</comment>
  67169. </bits>
  67170. <bits access="rw" name="rtc_pwr_on_hold_th" pos="7:0" rst="2">
  67171. <comment>The time to release hold ISO in power on rtc state, unit is 4*(clk_cal_64k_div_th +1)ms</comment>
  67172. </bits>
  67173. </reg>
  67174. <reg name="rtc_pwr_on_th3" protect="rw">
  67175. <bits access="rw" name="rtc_pwr_on_timeout_th" pos="15:8" rst="250">
  67176. <comment>The time to mark power on timeout in power on rtc state, unit is 4*(clk_cal_64k_div_th +1)ms</comment>
  67177. </bits>
  67178. <bits access="rw" name="rtc_pwr_on_done_th" pos="7:0" rst="255">
  67179. <comment>The time to power on rtc done , unit is 4*(clk_cal_64k_div_th +1)ms</comment>
  67180. </bits>
  67181. </reg>
  67182. <reg name="psm_cnt_l_th" protect="rw">
  67183. <bits access="rw" name="psm_cnt_th[15:0]" pos="15:0" rst="32320">
  67184. <comment>The low 16 bits threshold of psm time , unit is 10*(clk_cal_64k_div_th +1)ms</comment>
  67185. </bits>
  67186. </reg>
  67187. <reg name="psm_cnt_h_th" protect="rw">
  67188. <bits access="rw" name="psm_cnt_th[31:16]" pos="15:0" rst="5">
  67189. <comment>The high 16 bits threshold of psm time , unit is 10ms</comment>
  67190. </bits>
  67191. </reg>
  67192. <reg name="psm_alarm_cnt_l_th" protect="rw">
  67193. <bits access="rw" name="psm_alarm_cnt_th[15:0]" pos="15:0" rst="65535">
  67194. <comment>The low 16 bits threshold of psm alarm time , unit is 10*(clk_cal_64k_div_th +1)ms</comment>
  67195. </bits>
  67196. </reg>
  67197. <reg name="psm_alarm_cnt_h_th" protect="rw">
  67198. <bits access="rw" name="psm_alarm_cnt_th[31:16]" pos="15:0" rst="0">
  67199. <comment>The high 16 bits threshold of psm alarm time</comment>
  67200. </bits>
  67201. </reg>
  67202. <reg name="psm_cnt_interval_th" protect="rw">
  67203. <bits access="rw" name="psm_cnt_interval_th[15:0]" pos="15:0" rst="0">
  67204. <comment>The threshold of psm calibration interval , unit is (clk_cal_64k_div_th +1)ms</comment>
  67205. </bits>
  67206. </reg>
  67207. <reg name="psm_cnt_interval_phase" protect="rw">
  67208. <bits access="rw" name="psm_cnt_interval_phase[15:0]" pos="15:0" rst="60">
  67209. <comment>The threshold of psm calibration interval , unit is (clk_cal_64k_div_th +1)ms</comment>
  67210. </bits>
  67211. </reg>
  67212. <reg name="dcxo" protect="rw">
  67213. <bits access="rw" name="ldo_dcxo_shpt_pd" pos="13" rst="0">
  67214. <comment>DCXO LDO short protection</comment>
  67215. </bits>
  67216. <bits access="rw" name="ldo_dcxo_cap_sel" pos="12" rst="0">
  67217. <comment>DCXO LDO remote cap application: default 1'b0; when parasitic resistance is larger than 200m ohm, select 1'b1</comment>
  67218. </bits>
  67219. <bits access="rw" name="ldo_dcxo_stb" pos="11:10" rst="16">
  67220. <comment>DCXO LDO stability compensation: default 2'b10</comment>
  67221. </bits>
  67222. <bits access="rw" name="ldo_dcxo_shpt_adj" pos="9" rst="1">
  67223. <comment>DCXO LDO foldback current threshold adjust: default 1'b1</comment>
  67224. </bits>
  67225. <bits access="rw" name="ldo_dcxo_cl_adj" pos="8" rst="1">
  67226. <comment>DCXO LDO current limit threshold adjust: default 1'b1</comment>
  67227. </bits>
  67228. <bits access="rw" name="ldo_dcxo_v" pos="6:0" rst="24">
  67229. <comment>DCXO voltage setting, 1.5~3.0875V,12.5mv step</comment>
  67230. </bits>
  67231. </reg>
  67232. <reg name="psm_rc_clk_div" protect="rw">
  67233. <bits access="rw" name="rc_32k_cal_cnt_p" pos="11:8" rst="0">
  67234. <comment>Psm calibration divider,it is calculated with rc_32k_cal_cnt_n C log2(clk_cal_64k_div_th+1)</comment>
  67235. </bits>
  67236. <bits access="rw" name="clk_cal_64k_div_th" pos="6:4" rst="0">
  67237. <comment>Psm rc 64K divider, the input RC clock is divider to CLK_64K/( clk_cal_64k_div_th+1)</comment>
  67238. </bits>
  67239. <bits access="rw" name="wdg_rst_clk_sel_en" pos="0" rst="0">
  67240. <comment>Enable watchdog power on chip by internal RC clock</comment>
  67241. </bits>
  67242. </reg>
  67243. <reg name="reserved_2" protect="rw">
  67244. </reg>
  67245. <reg name="reserved_3" protect="rw">
  67246. </reg>
  67247. <reg name="reserved_4" protect="rw">
  67248. </reg>
  67249. <reg name="reserved_5" protect="rw">
  67250. </reg>
  67251. <reg name="reserved_6" protect="rw">
  67252. </reg>
  67253. <reg name="psm_cnt_update_l_value" protect="r">
  67254. <bits access="r" name="psm_cnt_update_value[15:0]" pos="15:0" rst="0">
  67255. <comment>Psm cnt updated low 16 bits value, the step of read this value is :
  67256. (1)enable psm_cnt_update,
  67257. (2)wait till psm_cnt_update_vld ==1.(psm_fsm_status[6])</comment>
  67258. </bits>
  67259. </reg>
  67260. <reg name="psm_cnt_update_h_value" protect="r">
  67261. <bits access="r" name="psm_cnt_update_value[31:16]" pos="15:0" rst="0">
  67262. <comment>Psm cnt updated high 16 bits value</comment>
  67263. </bits>
  67264. </reg>
  67265. <reg name="psm_status" protect="rw">
  67266. <bits access="rw" name="alarm_req_int_mask" pos="13" rst="0">
  67267. </bits>
  67268. <bits access="rw" name="psm_req_int_mask" pos="12" rst="0">
  67269. </bits>
  67270. <bits access="rw" name="charger_int_mask" pos="11" rst="0">
  67271. </bits>
  67272. <bits access="rw" name="pbint2_int_mask" pos="10" rst="0">
  67273. </bits>
  67274. <bits access="rw" name="pbint1_int_mask" pos="9" rst="0">
  67275. </bits>
  67276. <bits access="rw" name="ext_int_mask" pos="8" rst="0">
  67277. </bits>
  67278. <bits access="r" name="psm_cnt_update_vld" pos="6" rst="0">
  67279. <comment>psm cnt updated valid</comment>
  67280. </bits>
  67281. <bits access="r" name="alarm_req_int" pos="5" rst="0">
  67282. <comment>when psm_cnt_alarm_en==1, then if alarm cnt get psm_alarm_cnt_th, this bit is high,
  67283. When psm_status_clr is high, this bit is low</comment>
  67284. </bits>
  67285. <bits access="r" name="psm_req_int" pos="4" rst="0">
  67286. <comment>when psm_cnt_en==1, then if psm cnt get psm_cnt_th, this bit is high,
  67287. When psm_status_clr is high, this bit is low</comment>
  67288. </bits>
  67289. <bits access="r" name="charger_int" pos="3" rst="0">
  67290. <comment>when psm_cnt_alarm_en==1, then if alarm cnt get psm_alarm_cnt_th, this bit is high,
  67291. When psm_status_clr is high, this bit is low</comment>
  67292. </bits>
  67293. <bits access="r" name="pbint2_int" pos="2" rst="0">
  67294. <comment>when pbint2_pwr_en==1, then if pbint2 is low, this bit is high,
  67295. When psm_status_clr is high, this bit is low</comment>
  67296. </bits>
  67297. <bits access="r" name="pbint1_int" pos="1" rst="0">
  67298. <comment>when pbint1_pwr_en==1, then if pbint1 is low, this bit is high,
  67299. When psm_status_clr is high, this bit is low</comment>
  67300. </bits>
  67301. <bits access="r" name="ext_int" pos="0" rst="0">
  67302. <comment>when ext_int_en==1, then if ext_int is high, this bit is high,
  67303. When psm_status_clr is high, this bit is low</comment>
  67304. </bits>
  67305. </reg>
  67306. <reg name="psm_fsm_status" protect="r">
  67307. <bits access="r" name="psm_fsm" pos="14:0" rst="0">
  67308. <comment>Only debug use</comment>
  67309. </bits>
  67310. </reg>
  67311. <reg name="psm_cal_cnt" protect="r">
  67312. <bits access="r" name="psm_cal_cnt" pos="15:0" rst="0">
  67313. <comment>We can use this value to calculate the RC 64K clock real frequency. Rc_64k=( clk_cal_64k_div_th+1)*(2^ rc_32k_cal_cnt_p)*26*10^6/ (psm_cal_cnt*2^9)</comment>
  67314. </bits>
  67315. </reg>
  67316. </module>
  67317. </archive>
  67318. <archive relative="rda2720m_rtc.xml">
  67319. <module category="RDA2720M" name="RDA2720M_RTC">
  67320. <reg name="rtc_sec_cnt_value" protect="r">
  67321. <bits access="r" name="rtc_sec_cnt_value" pos="5:0" rst="0">
  67322. <comment>RTC second counter value</comment>
  67323. </bits>
  67324. </reg>
  67325. <reg name="rtc_min_cnt_value" protect="r">
  67326. <bits access="r" name="rtc_min_cnt_value" pos="5:0" rst="0">
  67327. <comment>RTC minute counter value</comment>
  67328. </bits>
  67329. </reg>
  67330. <reg name="rtc_hrs_cnt_value" protect="r">
  67331. <bits access="r" name="rtc_hrs_cnt_value" pos="4:0" rst="0">
  67332. <comment>RTC hour counter value</comment>
  67333. </bits>
  67334. </reg>
  67335. <reg name="rtc_day_cnt_value" protect="r">
  67336. <bits access="r" name="rtc_day_cnt_value" pos="15:0" rst="0">
  67337. <comment>RTC day counter value</comment>
  67338. </bits>
  67339. </reg>
  67340. <reg name="rtc_sec_cnt_upd" protect="rw">
  67341. <bits access="rw" name="rtc_sec_cnt_upd" pos="5:0" rst="6">
  67342. <comment>bit type is changed from r/w to rw.
  67343. RTC second counter update Write new counter value to this register to start a second counter updating operation in VDDRTC domain. Reading this register can get recent updating value.</comment>
  67344. </bits>
  67345. </reg>
  67346. <reg name="rtc_min_cnt_upd" protect="rw">
  67347. <bits access="rw" name="rtc_min_cnt_upd" pos="5:0" rst="6">
  67348. <comment>bit type is changed from r/w to rw.
  67349. RTC minute counter update Write new counter value to this register to start a minute counter updating operation in VDDRTC domain. Reading this register can get recent updating value.</comment>
  67350. </bits>
  67351. </reg>
  67352. <reg name="rtc_hrs_cnt_upd" protect="rw">
  67353. <bits access="rw" name="rtc_hrs_cnt_upd" pos="4:0" rst="5">
  67354. <comment>bit type is changed from r/w to rw.
  67355. RTC hour counter update Write new counter value to this register to start an hour counter updating operation in VDDRTC domain. Reading this register can get recent updating value.</comment>
  67356. </bits>
  67357. </reg>
  67358. <reg name="rtc_day_cnt_upd" protect="rw">
  67359. <bits access="rw" name="rtc_day_cnt_upd" pos="15:0" rst="14">
  67360. <comment>bit type is changed from r/w to rw.
  67361. RTC day counter update Write new counter value to this register to start a day counter updating operation in VDDRTC domain. Reading this register can get recent updating value.</comment>
  67362. </bits>
  67363. </reg>
  67364. <reg name="rtc_sec_alm_upd" protect="rw">
  67365. <bits access="rw" name="rtc_sec_alm_upd" pos="5:0" rst="6">
  67366. <comment>bit type is changed from r/w to rw.
  67367. RTC second alarm update Write new counter value to this register to start a second alarm updating operation in VDDRTC domain. Reading this register can get recent updating value.</comment>
  67368. </bits>
  67369. </reg>
  67370. <reg name="rtc_min_alm_upd" protect="rw">
  67371. <bits access="rw" name="rtc_min_alm_upd" pos="5:0" rst="6">
  67372. <comment>bit type is changed from r/w to rw.
  67373. RTC minute alarm update Write new counter value to this register to start a minute alarm updating operation in VDDRTC domain. Reading this register can get recent updating value.</comment>
  67374. </bits>
  67375. </reg>
  67376. <reg name="rtc_hrs_alm_upd" protect="rw">
  67377. <bits access="rw" name="rtc_hrs_alm_upd" pos="4:0" rst="5">
  67378. <comment>bit type is changed from r/w to rw.
  67379. RTC hour alarm update Write new counter value to this register to start an hour alarm updating operation in VDDRTC domain. Reading this register can get recent updating value.</comment>
  67380. </bits>
  67381. </reg>
  67382. <reg name="rtc_day_alm_upd" protect="rw">
  67383. <bits access="rw" name="rtc_day_alm_upd" pos="15:0" rst="14">
  67384. <comment>bit type is changed from r/w to rw.
  67385. RTC day alarm update Write new counter value to this register to start a day alarm updating operation in VDDRTC domain. Reading this register can get recent updating value.</comment>
  67386. </bits>
  67387. </reg>
  67388. <reg name="rtc_int_en" protect="rw">
  67389. <bits access="rw" name="rtc_day_alm_upd_int_en" pos="15" rst="1">
  67390. <comment>Day alarm updating complete interrupt enable</comment>
  67391. </bits>
  67392. <bits access="rw" name="rtc_hrs_alm_upd_int_en" pos="14" rst="1">
  67393. <comment>Hour alarm updating complete interrupt enable</comment>
  67394. </bits>
  67395. <bits access="rw" name="rtc_min_alm_upd_int_en" pos="13" rst="1">
  67396. <comment>Minute alarm updating complete interrupt enable</comment>
  67397. </bits>
  67398. <bits access="rw" name="rtc_sec_alm_upd_int_en" pos="12" rst="1">
  67399. <comment>Second alarm updating complete interrupt enable</comment>
  67400. </bits>
  67401. <bits access="rw" name="rtc_day_cnt_upd_int_en" pos="11" rst="1">
  67402. <comment>Day counter updating complete interrupt enable</comment>
  67403. </bits>
  67404. <bits access="rw" name="rtc_hrs_cnt_upd_int_en" pos="10" rst="1">
  67405. <comment>Hour counter updating complete interrupt enable</comment>
  67406. </bits>
  67407. <bits access="rw" name="rtc_min_cnt_upd_int_en" pos="9" rst="1">
  67408. <comment>Minute counter updating complete interrupt enable</comment>
  67409. </bits>
  67410. <bits access="rw" name="rtc_sec_cnt_upd_int_en" pos="8" rst="1">
  67411. <comment>Second counter updating complete interrupt enable</comment>
  67412. </bits>
  67413. <bits access="rw" name="rtc_spg_upd_int_en" pos="7" rst="1">
  67414. <comment>Spare register updating complete interrupt enable</comment>
  67415. </bits>
  67416. <bits access="rw" name="rtc_auxalm_int_en" pos="6" rst="1">
  67417. <comment>auxiliary alarm interrupt enable</comment>
  67418. </bits>
  67419. <bits access="rw" name="rtc_hrs_format_sel" pos="5" rst="1">
  67420. <comment>Hour format select</comment>
  67421. </bits>
  67422. <bits access="rw" name="rtc_alm_int_en" pos="4" rst="1">
  67423. <comment>alarm interrupt enable</comment>
  67424. </bits>
  67425. <bits access="rw" name="rtc_day_int_en" pos="3" rst="1">
  67426. <comment>day interrupt enable</comment>
  67427. </bits>
  67428. <bits access="rw" name="rtc_hrs_int_en" pos="2" rst="1">
  67429. <comment>hour interrupt enable</comment>
  67430. </bits>
  67431. <bits access="rw" name="rtc_min_int_en" pos="1" rst="1">
  67432. <comment>minute interrupt enable</comment>
  67433. </bits>
  67434. <bits access="rw" name="rtc_sec_int_en" pos="0" rst="1">
  67435. <comment>Second interrupt enable</comment>
  67436. </bits>
  67437. </reg>
  67438. <reg name="rtc_int_raw_sts" protect="r">
  67439. <bits access="r" name="rtc_day_alm_upd_int_raw_sts" pos="15" rst="1">
  67440. <comment>Day alarm updating complete interrupt raw status</comment>
  67441. </bits>
  67442. <bits access="r" name="rtc_hrs_alm_upd_int_raw_sts" pos="14" rst="1">
  67443. <comment>Hour alarm updating complete interrupt raw status</comment>
  67444. </bits>
  67445. <bits access="r" name="rtc_min_alm_upd_int_raw_sts" pos="13" rst="1">
  67446. <comment>Minute alarm updating complete interrupt raw status</comment>
  67447. </bits>
  67448. <bits access="r" name="rtc_sec_alm_upd_int_raw_sts" pos="12" rst="1">
  67449. <comment>Second alarm updating complete interrupt raw status</comment>
  67450. </bits>
  67451. <bits access="r" name="rtc_day_cnt_upd_int_raw_sts" pos="11" rst="1">
  67452. <comment>Day counter updating complete interrupt raw status</comment>
  67453. </bits>
  67454. <bits access="r" name="rtc_hrs_cnt_upd_int_raw_sts" pos="10" rst="1">
  67455. <comment>Hour counter updating complete interrupt raw status</comment>
  67456. </bits>
  67457. <bits access="r" name="rtc_min_cnt_upd_int_raw_sts" pos="9" rst="1">
  67458. <comment>Minute counter updating complete interrupt raw status</comment>
  67459. </bits>
  67460. <bits access="r" name="rtc_sec_cnt_upd_int_raw_sts" pos="8" rst="1">
  67461. <comment>Second counter updating complete interrupt raw status</comment>
  67462. </bits>
  67463. <bits access="r" name="rtc_spg_upd_int_raw_sts" pos="7" rst="1">
  67464. <comment>Spare register updating complete interrupt raw status</comment>
  67465. </bits>
  67466. <bits access="r" name="rtc_auxalm_int_raw_sts" pos="6" rst="1">
  67467. <comment>auxiliary alarm interrupt raw status</comment>
  67468. </bits>
  67469. <bits access="r" name="rtc_alm_int0_raw_sts" pos="5" rst="1">
  67470. <comment>Reserved for debug</comment>
  67471. </bits>
  67472. <bits access="r" name="rtc_alm_int_raw_sts" pos="4" rst="1">
  67473. <comment>alarm interrupt raw status</comment>
  67474. </bits>
  67475. <bits access="r" name="rtc_day_int_raw_sts" pos="3" rst="1">
  67476. <comment>day interrupt raw status</comment>
  67477. </bits>
  67478. <bits access="r" name="rtc_hrs_int_raw_sts" pos="2" rst="1">
  67479. <comment>hour interrupt raw status</comment>
  67480. </bits>
  67481. <bits access="r" name="rtc_min_int_raw_sts" pos="1" rst="1">
  67482. <comment>minute interrupt raw status</comment>
  67483. </bits>
  67484. <bits access="r" name="rtc_sec_int_raw_sts" pos="0" rst="1">
  67485. <comment>Second interrupt raw status</comment>
  67486. </bits>
  67487. </reg>
  67488. <reg name="rtc_int_clr" protect="rw">
  67489. <bits access="w" name="rtc_day_alm_upd_int_clr" pos="15" rst="1">
  67490. <comment>Day alarm updating complete interrupt clear</comment>
  67491. </bits>
  67492. <bits access="w" name="rtc_hour_alm_upd_int_clr" pos="14" rst="1">
  67493. <comment>Hour alarm updating complete interrupt clear</comment>
  67494. </bits>
  67495. <bits access="w" name="rtc_min_alm_upd_int_clr" pos="13" rst="1">
  67496. <comment>Minute alarm updating complete interrupt clear</comment>
  67497. </bits>
  67498. <bits access="w" name="rtc_sec_alm_upd_int_clr" pos="12" rst="1">
  67499. <comment>Second alarm updating complete interrupt clear</comment>
  67500. </bits>
  67501. <bits access="w" name="rtc_day_cnt_upd_int_clr" pos="11" rst="1">
  67502. <comment>Day counter updating complete interrupt clear</comment>
  67503. </bits>
  67504. <bits access="w" name="rtc_hour_cnt_upd_int_clr" pos="10" rst="1">
  67505. <comment>Hour counter updating complete interrupt clear</comment>
  67506. </bits>
  67507. <bits access="w" name="rtc_min_cnt_upd_int_clr" pos="9" rst="1">
  67508. <comment>Minute counter updating complete interrupt clear</comment>
  67509. </bits>
  67510. <bits access="w" name="rtc_sec_cnt_upd_int_clr" pos="8" rst="1">
  67511. <comment>Second counter updating complete interrupt clear</comment>
  67512. </bits>
  67513. <bits access="w" name="rtc_spg_upd_int_clr" pos="7" rst="1">
  67514. <comment>Spare register updating complete interrupt clear</comment>
  67515. </bits>
  67516. <bits access="w" name="rtc_auxalm_int_clr" pos="6" rst="1">
  67517. <comment>Auxiliary alarm interrupt clear</comment>
  67518. </bits>
  67519. <bits access="w" name="rtc_alm_int_clr" pos="4" rst="1">
  67520. <comment>alarm interrupt clear</comment>
  67521. </bits>
  67522. <bits access="w" name="rtc_day_int_clr" pos="3" rst="1">
  67523. <comment>day interrupt clear</comment>
  67524. </bits>
  67525. <bits access="w" name="rtc_hrs_int_clr" pos="2" rst="1">
  67526. <comment>hour interrupt clear</comment>
  67527. </bits>
  67528. <bits access="w" name="rtc_min_int_clr" pos="1" rst="1">
  67529. <comment>minute interrupt clear</comment>
  67530. </bits>
  67531. <bits access="w" name="rtc_sec_int_clr" pos="0" rst="1">
  67532. <comment>Second interrupt clear</comment>
  67533. </bits>
  67534. </reg>
  67535. <reg name="rtc_int_mask_sts" protect="r">
  67536. <bits access="r" name="rtc_day_alm_upd_int_mask_sts" pos="15" rst="1">
  67537. <comment>Day alarm updating complete interrupt masked status</comment>
  67538. </bits>
  67539. <bits access="r" name="rtc_hrs_alm_upd_int_mask_sts" pos="14" rst="1">
  67540. <comment>Hour alarm updating complete interrupt masked status</comment>
  67541. </bits>
  67542. <bits access="r" name="rtc_min_alm_upd_int_mask_sts" pos="13" rst="1">
  67543. <comment>Minute alarm updating complete interrupt masked status</comment>
  67544. </bits>
  67545. <bits access="r" name="rtc_sec_alm_upd_int_mask_sts" pos="12" rst="1">
  67546. <comment>Second alarm updating complete interrupt masked status</comment>
  67547. </bits>
  67548. <bits access="r" name="rtc_day_cnt_upd_int_mask_sts" pos="11" rst="1">
  67549. <comment>Day counter updating complete interrupt masked status</comment>
  67550. </bits>
  67551. <bits access="r" name="rtc_hrs_cnt_upd_int_mask_sts" pos="10" rst="1">
  67552. <comment>Hour counter updating complete interrupt masked status</comment>
  67553. </bits>
  67554. <bits access="r" name="rtc_min_cnt_upd_int_mask_sts" pos="9" rst="1">
  67555. <comment>Minute counter updating complete interrupt masked status</comment>
  67556. </bits>
  67557. <bits access="r" name="rtc_sec_cnt_upd_int_mask_sts" pos="8" rst="1">
  67558. <comment>Second counter updating complete interrupt masked status</comment>
  67559. </bits>
  67560. <bits access="r" name="rtc_spg_upd_int_mask_sts" pos="7" rst="1">
  67561. <comment>Spare register updating complete interrupt masked status</comment>
  67562. </bits>
  67563. <bits access="r" name="rtc_auxalm_int_mask_sts" pos="6" rst="1">
  67564. <comment>auxiliary alarm interrupt masked status</comment>
  67565. </bits>
  67566. <bits access="r" name="rtc_alm_int_mask_sts" pos="4" rst="1">
  67567. <comment>alarm interrupt masked status</comment>
  67568. </bits>
  67569. <bits access="r" name="rtc_day_int_mask_sts" pos="3" rst="1">
  67570. <comment>day interrupt masked status</comment>
  67571. </bits>
  67572. <bits access="r" name="rtc_hrs_int_mask_sts" pos="2" rst="1">
  67573. <comment>hour interrupt masked status</comment>
  67574. </bits>
  67575. <bits access="r" name="rtc_min_int_mask_sts" pos="1" rst="1">
  67576. <comment>minute interrupt masked status</comment>
  67577. </bits>
  67578. <bits access="r" name="rtc_sec_int_mask_sts" pos="0" rst="1">
  67579. <comment>Second interrupt masked status</comment>
  67580. </bits>
  67581. </reg>
  67582. <reg name="rtc_sec_alm_value" protect="r">
  67583. <bits access="r" name="rtc_sec_alm_value" pos="5:0" rst="0">
  67584. <comment>RTC second alarm value</comment>
  67585. </bits>
  67586. </reg>
  67587. <reg name="rtc_min_alm_value" protect="r">
  67588. <bits access="r" name="rtc_min_alm_value" pos="5:0" rst="0">
  67589. <comment>RTC minute alarm value</comment>
  67590. </bits>
  67591. </reg>
  67592. <reg name="rtc_hrs_alm_value" protect="r">
  67593. <bits access="r" name="rtc_hrs_alm_value" pos="4:0" rst="0">
  67594. <comment>RTC hour alarm value</comment>
  67595. </bits>
  67596. </reg>
  67597. <reg name="rtc_day_alm_value" protect="r">
  67598. <bits access="r" name="rtc_day_alm_value" pos="15:0" rst="0">
  67599. <comment>RTC day alarm value</comment>
  67600. </bits>
  67601. </reg>
  67602. <reg name="rtc_spg_value" protect="r">
  67603. <bits access="r" name="rtc_spg_value" pos="15:8" rst="0">
  67604. <comment>RTC spare register value</comment>
  67605. </bits>
  67606. <bits access="r" name="rtc_almlock_value" pos="7:0" rst="0">
  67607. <comment>RTC alarm lock register value</comment>
  67608. </bits>
  67609. </reg>
  67610. <reg name="rtc_spg_upd" protect="rw">
  67611. <bits access="rw" name="rtc_spg_upd" pos="15:8" rst="0">
  67612. <comment>bit type is changed from r/w to rw.
  67613. RTC spare register update Write new counter value to this register to start a spare register updating operation in VDDRTC domain. Reading this register can get recent updating value.</comment>
  67614. </bits>
  67615. <bits access="rw" name="rtc_almlock_upd" pos="7:0" rst="0">
  67616. <comment>bit type is changed from r/w to rw.
  67617. RTC alarm lock register update Write new counter value to this register to start a register updating operation in VDDRTC domain. Reading this register can get recent updating value. Write 8hA5 to this register to unlock alarm function, and write other data to lock alarm function. That means, software must 8hA5 to this register to enable alarm function before using this function.</comment>
  67618. </bits>
  67619. </reg>
  67620. <reg name="rtc_pwr_flag_ctrl" protect="rw">
  67621. <bits access="rw" name="rtc_pwr_flag_set" pos="15:8" rst="0">
  67622. <comment>bit type is changed from r/w to rw.
  67623. RTC power flag register set</comment>
  67624. </bits>
  67625. <bits access="rw" name="rtc_pwr_flag_clr" pos="7:0" rst="0">
  67626. <comment>bit type is changed from r/w to rw.
  67627. RTC power flag register clear</comment>
  67628. </bits>
  67629. </reg>
  67630. <reg name="rtc_pwr_flag_sts" protect="r">
  67631. <bits access="r" name="rtc_pwr_flag_sts" pos="7:0" rst="0">
  67632. <comment>RTC power flag status register</comment>
  67633. </bits>
  67634. </reg>
  67635. <reg name="rtc_sec_auxalm_upd" protect="rw">
  67636. <bits access="rw" name="rtc_sec_auxalm_upd" pos="5:0" rst="6">
  67637. <comment>bit type is changed from r/w to rw.
  67638. RTC second auxiliary alarm register</comment>
  67639. </bits>
  67640. </reg>
  67641. <reg name="rtc_min_auxalm_upd" protect="rw">
  67642. <bits access="rw" name="rtc_min_auxalm_upd" pos="5:0" rst="6">
  67643. <comment>bit type is changed from r/w to rw.
  67644. RTC minute auxiliary alarm register</comment>
  67645. </bits>
  67646. </reg>
  67647. <reg name="rtc_hrs_auxalm_upd" protect="rw">
  67648. <bits access="rw" name="rtc_hrs_auxalm_upd" pos="4:0" rst="5">
  67649. <comment>bit type is changed from r/w to rw.
  67650. RTC hour auxiliary alarm register</comment>
  67651. </bits>
  67652. </reg>
  67653. <reg name="rtc_day_auxalm_upd" protect="rw">
  67654. <bits access="rw" name="rtc_day_auxalm_upd" pos="15:0" rst="14">
  67655. <comment>bit type is changed from r/w to rw.
  67656. RTC day auxiliary alarm register</comment>
  67657. </bits>
  67658. </reg>
  67659. <reg name="rtc_sec_cnt_raw" protect="r">
  67660. <bits access="r" name="rtc_sec_cnt_raw" pos="5:0" rst="0">
  67661. <comment>RTC second counter raw value Only for debug</comment>
  67662. </bits>
  67663. </reg>
  67664. <reg name="rtc_min_cnt_raw" protect="r">
  67665. <bits access="r" name="rtc_min_cnt_raw" pos="5:0" rst="0">
  67666. <comment>RTC minute counter raw value</comment>
  67667. </bits>
  67668. </reg>
  67669. <reg name="rtc_hrs_cnt_raw" protect="r">
  67670. <bits access="r" name="rtc_hrs_cnt_raw" pos="4:0" rst="0">
  67671. <comment>RTC hour counter raw value Only for debug</comment>
  67672. </bits>
  67673. </reg>
  67674. <reg name="rtc_day_cnt_raw" protect="r">
  67675. <bits access="r" name="rtc_day_cnt_raw" pos="15:0" rst="0">
  67676. <comment>RTC day counter raw value Only for debug</comment>
  67677. </bits>
  67678. </reg>
  67679. </module>
  67680. </archive>
  67681. <archive relative="rda2720m_tmr.xml">
  67682. <module category="RDA2720M" name="RDA2720M_TMR">
  67683. <reg name="timer_ip_version" protect="rw">
  67684. <bits access="r" name="the_ip_version_of_this_timer" pos="15:4" rst="16">
  67685. <comment>the IP version of this timer</comment>
  67686. </bits>
  67687. <bits access="rw" name="he_ip_patch_version_of_this_timer" pos="3:0" rst="0">
  67688. <comment>the IP patch version of this timer</comment>
  67689. </bits>
  67690. </reg>
  67691. <reg name="timer_load_l" protect="rw">
  67692. <bits access="rw" name="timer_load_lo" pos="15:0" rst="0">
  67693. <comment>timer load value of lower 16 bit. Write to this register will reload the timer with the new value. In one-time mode, this value is the first counting start number. In periodic mode, this value is each counting start number.</comment>
  67694. </bits>
  67695. </reg>
  67696. <reg name="timer_load_h" protect="rw">
  67697. <bits access="rw" name="timer_load_hi" pos="15:0" rst="0">
  67698. <comment>timer load value of higher 16 bit Write to this register will reload the timer with the new value. In one-time mode, this value is the first counting start number. In periodic mode, this value is each counting start number.</comment>
  67699. </bits>
  67700. </reg>
  67701. <reg name="timer_ctrl" protect="rw">
  67702. <bits access="rw" name="timer_run" pos="1" rst="0">
  67703. <comment>timer open bit 0: timer stops 1: timer runs</comment>
  67704. </bits>
  67705. <bits access="rw" name="timer_mode" pos="0" rst="0">
  67706. <comment>timer mode select 0: one-time mode 1: period mode</comment>
  67707. </bits>
  67708. </reg>
  67709. <reg name="timer_int" protect="rw">
  67710. <bits access="w" name="timer_int_clr" pos="3" rst="0">
  67711. <comment>timer Interrupt clear</comment>
  67712. </bits>
  67713. <bits access="r" name="timer_int_mask_sts" pos="2" rst="0">
  67714. <comment>timer interrupt masked status</comment>
  67715. </bits>
  67716. <bits access="r" name="timer_int_raw_sts" pos="1" rst="0">
  67717. <comment>timer interrupt raw status</comment>
  67718. </bits>
  67719. <bits access="rw" name="timer_int_en" pos="0" rst="0">
  67720. <comment>timer interrupt enable</comment>
  67721. </bits>
  67722. </reg>
  67723. <reg name="timer_shdw_l" protect="r">
  67724. <bits access="r" name="timer_value_shdw_lo" pos="15:0" rst="0">
  67725. <comment>timer counter of lower 16bit shadow value for read. When the timer in 16 bit mode, it represent the shadow value of the timer This read-only register indicates current counter value. The software can read the counter value immediately after load, without waiting for the load done. Also, software just needs to read once instead of double read.</comment>
  67726. </bits>
  67727. </reg>
  67728. <reg name="timer_shdw_h" protect="r">
  67729. <bits access="r" name="timer_value_shdw_hi" pos="15:0" rst="0">
  67730. <comment>timer counter of 16bit higher shadow value for read. It will be valid only in 64 bit mode. This read-only register indicates current counter value.The software can read the counter value immediately after load, without waiting for the load done. Also, software just needs to read once instead of double read.</comment>
  67731. </bits>
  67732. </reg>
  67733. </module>
  67734. </archive>
  67735. <archive relative="rda2720m_wdg.xml">
  67736. <module category="RDA2720M" name="RDA2720M_WDG">
  67737. <reg name="wdg_load_low" protect="rw">
  67738. <bits access="rw" name="wdg_load_low" pos="15:0" rst="14">
  67739. <comment>wdg_load_low: low 16 bit of watchdog timer load value. Wdg_load_high: high 16 bit of watchdog timer load value. wdg_load_low and wdg_load_high are used together. Software should write wdg_load_high firstly, and then write wdg_load_low, because writing wdg_load_low can trig loading both wdg_load_low and wdg_load_high to watchdog counter, and writing wdg_load_high cannot trig this event. So software must guarantee w In reset mode, software should load new value before timer decrease to 0. In interrupt mode, this value is counting start number. The default value is about 8 seconds.</comment>
  67740. </bits>
  67741. </reg>
  67742. <reg name="wdg_load_high" protect="rw">
  67743. <bits access="rw" name="wdg_load_high" pos="15:0" rst="14">
  67744. <comment>See wdg_load_low description</comment>
  67745. </bits>
  67746. </reg>
  67747. <reg name="wdg_ctrl" protect="rw">
  67748. <bits access="rw" name="wdg_rst_en" pos="3" rst="1">
  67749. <comment>Watchdog reset enable bit 0: reset is disabled 1: reset is enabled In reset mode and combined mode, this bit should be 1</comment>
  67750. </bits>
  67751. <bits access="rw" name="wdg_new" pos="2" rst="1">
  67752. <comment>Watchdog version 0: watchdog use old behavior, this is for backward compatibility. 1: watchdog uses new behavior, such as multiple loads without checking busy bit, only need to read once to get timer counter value.</comment>
  67753. </bits>
  67754. <bits access="rw" name="wdg_run" pos="1" rst="1">
  67755. <comment>Watchdog counter open: 0: counter stops. 1: counter runs.</comment>
  67756. </bits>
  67757. <bits access="rw" name="wdg_irq_en" pos="0" rst="1">
  67758. <comment>Watchdog interrupt enable bit 0: interrupt is disabled 1: interrupt is enabled In interrupt mode and combined mode, this bit should be 1</comment>
  67759. </bits>
  67760. </reg>
  67761. <reg name="wdg_int_clr" protect="rw">
  67762. <bits access="w" name="wdg_rst_clr" pos="3" rst="1">
  67763. <comment>Watchdog reset clear Write 1 to this bit to clear reset Read this bit always get 0.</comment>
  67764. </bits>
  67765. <bits access="w" name="wdg_int_clr" pos="0" rst="1">
  67766. <comment>Watchdog interrupt clear Write 1 to this bit to clear interrupt Read this bit always get 0.</comment>
  67767. </bits>
  67768. </reg>
  67769. <reg name="wdg_int_raw" protect="r">
  67770. <bits access="r" name="wdg_ld_busy" pos="4" rst="1">
  67771. <comment>Watchdog load busy status 0: Watchdog is ready for new loading 1: Last loading is not completed Software must not load new value when this bit is busy, that is, this bit should be checked before any new loading. This bit is set after a new loading, and lasts two or three RTC clock cycles, about 60us - 92us.</comment>
  67772. </bits>
  67773. <bits access="r" name="wdg_rst_raw" pos="3" rst="1">
  67774. <comment>Watchdog reset raw status. Watch dog reset cannot clear this raw status, so it can be used to judge if or not system rebooting comes from watchdog reset. Write wdg_rst_clr can clear this raw status.</comment>
  67775. </bits>
  67776. <bits access="r" name="wdg_int_raw" pos="0" rst="1">
  67777. <comment>Watchdog interrupt raw status. Watch dog reset cannot clear this raw status. Write wdg_int_clr can clear this raw status.</comment>
  67778. </bits>
  67779. </reg>
  67780. <reg name="wdg_int_mask" protect="r">
  67781. <bits access="r" name="wdg_int_mask" pos="0" rst="1">
  67782. <comment>Watchdog interrupt masked status</comment>
  67783. </bits>
  67784. </reg>
  67785. <reg name="wdg_cnt_low" protect="r">
  67786. <bits access="r" name="wdg_cnt_low" pos="15:0" rst="14">
  67787. <comment>wdg_cnt_low: Low 16 bit of watchdog timer counter value. wdg_cnt_high: High 16 bit of watchdog timer counter value. wdg_cnt_low and wdg_cnt_high are used together. This read-only register indicates current counter value. Its not recommended to read this register in normal usage. Because the counter is in different clock domain with APB, software needs use double-reading method to read this value, like system timer.</comment>
  67788. </bits>
  67789. </reg>
  67790. <reg name="wdg_cnt_high" protect="r">
  67791. <bits access="r" name="wdg_cnt_high" pos="15:0" rst="14">
  67792. <comment>See wdg_cnt_low description.</comment>
  67793. </bits>
  67794. </reg>
  67795. <reg name="wdg_lock" protect="rw">
  67796. <bits access="rw" name="wdg_lock" pos="15:0" rst="14">
  67797. <comment>Watchdog lock control Write 16hE551 to this register to unlock watchdog. Write other value to this register to lock watchdog If reading this register, bit-0 is lock status, and other bits are reserved. If watchdog is locked, all control registers cannot be written by software.</comment>
  67798. </bits>
  67799. </reg>
  67800. <reg name="wdg_cnt_rd_low" protect="r">
  67801. <bits access="r" name="wdg_cnt_rd_low" pos="15:0" rst="14">
  67802. <comment>wdg_cnt_rd_low: Low 16 bit of watchdog timer counter value for read. wdg_cnt_rd_high: High 16 bit of watchdog timer counter value for read. wdg_cnt_rd_low and wdg_cnt_rd_high are used together. This read-only register indicates current counter value. Read once can get watchdog counter value. No need to double read this reg. Refer to timers TIMER0_CNT_RD or TIMER1_CNT_RD</comment>
  67803. </bits>
  67804. </reg>
  67805. <reg name="wdg_cnt_rd_high" protect="r">
  67806. <bits access="r" name="wdg_cnt_rd_high" pos="15:0" rst="14">
  67807. <comment>Refer to wdg_cnt_rd_low</comment>
  67808. </bits>
  67809. </reg>
  67810. <reg name="wdg_irqvalue_low" protect="rw">
  67811. <bits access="rw" name="wdg_irqvalue_low" pos="15:0" rst="14">
  67812. <comment>wdg_ irqvalue_low: Low 16 bit of watchdog irqvalue. wdg_ irqvalue_high: High 16 bit of watchdog irqvalue. wdg_ irqvalue_low and wdg_ irqvalue_high are used together. Its useful in interrupt mode and combined mode. When wdg_cnt equal watchdog irqvalue, an interrupt is generated. Default value of watchdog irqvalue is 32h0003_0000, corresponds to 6 seconds, which means reset will occur after irq is 1 for 6 seconds.</comment>
  67813. </bits>
  67814. </reg>
  67815. <reg name="wdg_irqvalue_high" protect="rw">
  67816. <bits access="rw" name="wdg_irqvalue_high" pos="15:0" rst="14">
  67817. <comment>wdg_ irqvalue_low: Low 16 bit of watchdog irqvalue. wdg_ irqvalue_high: High 16 bit of watchdog irqvalue. wdg_ irqvalue_low and wdg_ irqvalue_high are used together, which means reset will occur after irq is 1 for 6 seconds. Its useful in interrupt mode and combined mode. When wdg_cnt equal watchdog irqvalue, an interrupt is generated. Default value of watchdog irqvalue is 32h0003_0000, corresponds to 6 seconds.</comment>
  67818. </bits>
  67819. </reg>
  67820. </module>
  67821. </archive>
  67822. <archive relative="cp_idle.xml">
  67823. <module category="Bb_sysctrl" name="CP_IDLE">
  67824. <reg name="idl_ctrl_sys1" protect="rw">
  67825. <bits access="rw" name="idct_ctrl_sys1" pos="0" rst="0">
  67826. <comment>Enable CP sleep
  67827. 0: disable
  67828. 1: enable</comment>
  67829. </bits>
  67830. </reg>
  67831. <reg name="idl_ctrl_sys2" protect="rw">
  67832. <bits access="rw" name="idct_ctrl_sys2" pos="0" rst="0">
  67833. <comment>Enable AP sleep(Auto cleared to be 0 when the system is awaked)
  67834. 0: disable
  67835. 1: enable</comment>
  67836. </bits>
  67837. </reg>
  67838. <reg name="idl_en" protect="rw">
  67839. <bits access="rw" name="idl_ap_en" pos="1" rst="0">
  67840. <comment>Enable AP sleep
  67841. 0: disable
  67842. 1: enable</comment>
  67843. </bits>
  67844. <bits access="rw" name="idl_cp_en" pos="0" rst="0">
  67845. <comment>Enable CP sleep
  67846. 0: disable
  67847. 1: enable</comment>
  67848. </bits>
  67849. </reg>
  67850. <reg name="idl_m_timer" protect="rw">
  67851. <bits access="rw" name="idct_m_sys" pos="31:0" rst="0">
  67852. <comment>System begin to wakeup when the current ref_32k counter reach this value, the difference between warp value and current ref_32k value larger than one gsm frame is best.</comment>
  67853. </bits>
  67854. </reg>
  67855. <reg name="idl_wcn_en" protect="rw">
  67856. <bits access="rw" name="wcn_res_val" pos="4" rst="1">
  67857. <comment>Default value when the enable bit was disabled.</comment>
  67858. </bits>
  67859. <bits access="rw" name="wcn_idle_cg" pos="3" rst="1">
  67860. <comment>Enable bit of wcn idle_cg
  67861. 0: disable
  67862. 1: enable</comment>
  67863. </bits>
  67864. <bits access="rw" name="wcn_pd_pll" pos="2" rst="1">
  67865. <comment>Enable bit of wcn pd_pll
  67866. 0: disable
  67867. 1: enable</comment>
  67868. </bits>
  67869. <bits access="rw" name="wcn_pd_xtal" pos="1" rst="1">
  67870. <comment>Enable bit of wcn pd_xtal
  67871. 0: disable
  67872. 1: enable</comment>
  67873. </bits>
  67874. <bits access="rw" name="wcn_chip_pd" pos="0" rst="1">
  67875. <comment>Enable bit of wcn chip_pd
  67876. 0: disable
  67877. 1: enable</comment>
  67878. </bits>
  67879. </reg>
  67880. <reg name="idl_ctrl_timer" protect="rw">
  67881. <bits access="rw" name="idct_ctrl_timer" pos="0" rst="0">
  67882. <comment>Enable Timer sleep(Auto clear to be 0 when timer is awaked)
  67883. 0: disable
  67884. 1: enable</comment>
  67885. </bits>
  67886. </reg>
  67887. <reg name="idl_m2_sys" protect="rw">
  67888. <bits access="rw" name="m1_sys" pos="31:16" rst="6">
  67889. <comment>Threshold register M1:
  67890. when the signal pow_on_ack is low, both gsm and lte timer are sleeped, and the difference between current ref_32k counter
  67891. and sleep wrap value is larger than this register, system sleep state machine can shift to SLP state.</comment>
  67892. </bits>
  67893. <bits access="rw" name="m2_sys" pos="15:0" rst="8">
  67894. <comment>Threshold register M2:
  67895. when idct_sys1 and idct_sys2 are set to be1, the difference between current ref_32k counter and sleep wrap value is larger than this register, system sleep state machine can shift to SLP_PRE state.</comment>
  67896. </bits>
  67897. </reg>
  67898. <reg name="idl_tc_start" protect="rw">
  67899. <bits access="rw" name="tc_start_mod" pos="1:0" rst="0">
  67900. <comment>Enable mode(TCU suspend and this bits are clear to be 0 when take over is started)
  67901. 00: disbale or already release TCU.
  67902. 01: take over TCU immediately
  67903. 10: take over at gsm frame interrupt.
  67904. 11: no effect.</comment>
  67905. </bits>
  67906. </reg>
  67907. <reg name="idl_tc_end" protect="rw">
  67908. <bits access="rw" name="tc_end_framc" pos="20:4" rst="1">
  67909. <comment>restart TCU when gsm counter reach this register</comment>
  67910. </bits>
  67911. <bits access="rw" name="tc_end_mod" pos="1:0" rst="0">
  67912. <comment>restart mode(this bits clear to be 0 when TCU restarts)
  67913. 00: disable
  67914. 01: restart TCU immediately
  67915. 10: restart TCU when gsm frame interrupt occurred.
  67916. 11: restart TCU when gsm framc equal to TC_END_FRAMC.</comment>
  67917. </bits>
  67918. </reg>
  67919. <reg name="idl_awk_timer" protect="rw">
  67920. <bits access="rw" name="wake_timer" pos="0" rst="0">
  67921. <comment>Timer wakeup enable(software accessed only)
  67922. 0: disable
  67923. 1: enable</comment>
  67924. </bits>
  67925. </reg>
  67926. <reg name="gsm_lp_pu_done" protect="rw">
  67927. <bits access="rw" name="lp_pu_done" pos="0" rst="0">
  67928. <comment>TCU restart enable(software accessed only)
  67929. Output to the port gsm_lp_pu_done directly, wakeup TCU in low power mode when writing 1 to this bit.</comment>
  67930. </bits>
  67931. </reg>
  67932. <reg name="gsm_frame_inten" protect="rw">
  67933. <bits access="rw" name="gsm_frame_irq_en" pos="0" rst="0">
  67934. <comment>gsm_frame_irq enable
  67935. 1: enable
  67936. 0: disable</comment>
  67937. </bits>
  67938. </reg>
  67939. <reg name="gsm_frame_int_sta" protect="rw">
  67940. <bits access="rw" name="gsm_frame_int_sta" pos="0" rst="0">
  67941. <comment>cleared by writing 1 to correspond bit</comment>
  67942. </bits>
  67943. </reg>
  67944. <reg name="ltem1_frame_inten" protect="rw">
  67945. <bits access="rw" name="ltem1_frame3_irq_en" pos="2" rst="0">
  67946. <comment>ltem1_frame3_irq enable
  67947. 1: enable
  67948. 0: disable</comment>
  67949. </bits>
  67950. <bits access="rw" name="ltem1_frame2_irq_en" pos="1" rst="0">
  67951. <comment>ltem1_frame2_irq enable
  67952. 1: enable
  67953. 0: disable</comment>
  67954. </bits>
  67955. <bits access="rw" name="ltem1_frame1_irq_en" pos="0" rst="0">
  67956. <comment>ltem1_frame1_irq enable
  67957. 1: enable
  67958. 0: disable</comment>
  67959. </bits>
  67960. </reg>
  67961. <reg name="ltem1_frame_int_sta" protect="rw">
  67962. <bits access="rc" name="ltem1_frame_int_sta" pos="2:0" rst="0">
  67963. <comment>bit type is changed from rw1c to rc.
  67964. cleared by writing 1 to correspond bit</comment>
  67965. </bits>
  67966. </reg>
  67967. <reg name="ltem2_frame_inten" protect="rw">
  67968. <bits access="rw" name="ltem2_frame3_irq_en" pos="2" rst="0">
  67969. <comment>ltem2_frame3_irq enable
  67970. 1: enable
  67971. 0: disable</comment>
  67972. </bits>
  67973. <bits access="rw" name="ltem2_frame2_irq_en" pos="1" rst="0">
  67974. <comment>ltem2_frame2_irq enable
  67975. 1: enable
  67976. 0: disable</comment>
  67977. </bits>
  67978. <bits access="rw" name="ltem2_frame1_irq_en" pos="0" rst="0">
  67979. <comment>ltem2_frame1_irq enable
  67980. 1: enable
  67981. 0: disable</comment>
  67982. </bits>
  67983. </reg>
  67984. <reg name="ltem2_frame_int_sta" protect="rw">
  67985. <bits access="rc" name="ltem2_frame_int_sta" pos="2:0" rst="0">
  67986. <comment>bit type is changed from rw1c to rc.
  67987. cleared by writing 1 to correspond bit</comment>
  67988. </bits>
  67989. </reg>
  67990. <reg name="idl_sta" protect="r">
  67991. <bits access="r" name="idle_nb_timer_stat" pos="5" rst="0">
  67992. <comment>NB timer state
  67993. 0: running at 61.44M
  67994. 1: running at 32K</comment>
  67995. </bits>
  67996. <bits access="r" name="h_stat" pos="4" rst="0">
  67997. <comment>H circuit state
  67998. 0: not work
  67999. 1: at wok</comment>
  68000. </bits>
  68001. <bits access="r" name="idle_ltem2_timer_stat" pos="3" rst="0">
  68002. <comment>ltem2 timer state
  68003. 0: running at 122.88M
  68004. 1: running at 32K</comment>
  68005. </bits>
  68006. <bits access="r" name="idle_ltem1_timer_stat" pos="2" rst="0">
  68007. <comment>ltem1 timer state
  68008. 0: running at 122.88M
  68009. 1: running at 32K</comment>
  68010. </bits>
  68011. <bits access="r" name="idle_gsm_timer_stat" pos="1" rst="0">
  68012. <comment>GSM timer state
  68013. 0: running at 26M
  68014. 1: running at 32K</comment>
  68015. </bits>
  68016. <bits access="r" name="idle_sys_stat" pos="0" rst="0">
  68017. <comment>SYS state
  68018. 0: normal working
  68019. 1: low power mode</comment>
  68020. </bits>
  68021. </reg>
  68022. <reg name="idl_h_ctrl" protect="rw">
  68023. <bits access="rw" name="h_run_time" pos="6:3" rst="15">
  68024. <comment>Runtime of H circuit, the length is 2^h_run_time(number of 32k clocks)</comment>
  68025. </bits>
  68026. <bits access="rw" name="h_auto_en" pos="2" rst="0">
  68027. <comment>Automatic computing mode enable(loop computing until disabled)
  68028. 0: disable
  68029. 1: enable</comment>
  68030. </bits>
  68031. <bits access="rw" name="h_ctrl_en" pos="1" rst="0">
  68032. <comment>Invocation pattern(compute only one time, automatic clear to be 0 when finished.)
  68033. 0: disable
  68034. 1: enable</comment>
  68035. </bits>
  68036. </reg>
  68037. <reg name="idl_h_val" protect="rw">
  68038. <bits access="rw" name="h_value" pos="26:0" rst="0">
  68039. <comment>The length of sys clock in 2^h_run_time 32k cycles</comment>
  68040. </bits>
  68041. </reg>
  68042. <reg name="idl_h_gsm" protect="rw">
  68043. <bits access="rw" name="h_value" pos="26:0" rst="26623680">
  68044. <comment>The cycles number of 26M in 2^h_run_time 32k cycles</comment>
  68045. </bits>
  68046. </reg>
  68047. <reg name="idl_h_ltem" protect="rw">
  68048. <bits access="rw" name="h_value" pos="26:0" rst="125829442">
  68049. <comment>The cycles number of 122.88M in of 2^h_run_time 32k cycles</comment>
  68050. </bits>
  68051. </reg>
  68052. <reg name="idl_awk_en" protect="rw">
  68053. <bits access="rw" name="nb_lp_pu_reach_en" pos="12" rst="0">
  68054. <comment>signal nb_lp_pu_reach wakeup enable
  68055. 0: disable
  68056. 1: enable</comment>
  68057. </bits>
  68058. <bits access="rw" name="gsm_lp_pu_reach_en" pos="11" rst="0">
  68059. <comment>signal gsm_lp_pu_reach wakeup enable
  68060. 0: disable
  68061. 1: enable</comment>
  68062. </bits>
  68063. <bits access="rw" name="awk_self_en" pos="10" rst="0">
  68064. <comment>sofware wakeup enable
  68065. 0: disable
  68066. 1: enable</comment>
  68067. </bits>
  68068. <bits access="rw" name="awk_osw2_en" pos="9" rst="0">
  68069. <comment>OSW2 wakeup enable
  68070. 0: disable
  68071. 1: enable</comment>
  68072. </bits>
  68073. <bits access="rw" name="awk_osw1_en" pos="8" rst="0">
  68074. <comment>OSW1 wakeup enable
  68075. 0: disable
  68076. 1: enable</comment>
  68077. </bits>
  68078. <bits access="rw" name="awk7_en" pos="7" rst="0">
  68079. <comment>wcn_osc_en wakeup enable
  68080. 0: disable
  68081. 1: enable</comment>
  68082. </bits>
  68083. <bits access="rw" name="awk6_en" pos="6" rst="0">
  68084. <comment>wcn2sys wakeup enable
  68085. 0: disable
  68086. 1: enable</comment>
  68087. </bits>
  68088. <bits access="rw" name="awk5_en" pos="5" rst="0">
  68089. <comment>pad_uart1_rxd wakeup enable
  68090. 0: disable
  68091. 1: enable</comment>
  68092. </bits>
  68093. <bits access="rw" name="awk4_en" pos="4" rst="0">
  68094. <comment>Uart1_irq wakeup enable
  68095. 0: disable
  68096. 1: enable</comment>
  68097. </bits>
  68098. <bits access="rw" name="awk3_en" pos="3" rst="0">
  68099. <comment>Gpio1_irq wakeup enable
  68100. 0: disable
  68101. 1: enable</comment>
  68102. </bits>
  68103. <bits access="rw" name="awk2_en" pos="2" rst="0">
  68104. <comment>Keyboard wakeup enable
  68105. 0: disable
  68106. 1: enable</comment>
  68107. </bits>
  68108. <bits access="rw" name="awk1_en" pos="1" rst="0">
  68109. <comment>Vad_int wakeup enable
  68110. 0: disable
  68111. 1: enable</comment>
  68112. </bits>
  68113. <bits access="rw" name="awk0_en" pos="0" rst="0">
  68114. <comment>Pad_gpio6 wakeup enable
  68115. 0: disable
  68116. 1: enable</comment>
  68117. </bits>
  68118. </reg>
  68119. <reg name="idl_awk_st" protect="rw">
  68120. <bits access="r" name="pow_dfe_sta" pos="26" rst="1">
  68121. <comment>pow_dfe_ack state
  68122. 0: pow_dfe_ack is 0 when system exit IDLE
  68123. 1: pow_dfe_ack is 1 when system exit IDLE</comment>
  68124. </bits>
  68125. <bits access="rc" name="thr_sta" pos="25" rst="0">
  68126. <comment>bit type is changed from rw1c to rc.
  68127. Threshold M1 state
  68128. 1: pow_ack not meet threshold M1 or pow_ack not feedback in sleep period
  68129. 0: meet threshold M1</comment>
  68130. </bits>
  68131. <bits access="rc" name="pow_sta" pos="24" rst="0">
  68132. <comment>bit type is changed from rw1c to rc.
  68133. pow_ack state
  68134. 0: pow_ack is 0 when system exit IDLE
  68135. 1: pow_ack is 1 when system exit IDLE</comment>
  68136. </bits>
  68137. <bits access="rc" name="idle_stat" pos="20" rst="0">
  68138. <comment>bit type is changed from rw1c to rc.
  68139. system exit idle state
  68140. 0: sys not enter idle
  68141. 1: sys enter idle state</comment>
  68142. </bits>
  68143. <bits access="rc" name="awk_up_stat" pos="16" rst="0">
  68144. <comment>bit type is changed from rw1c to rc.
  68145. IDLE sleep wakeup state
  68146. 0: awaked before the sleep warp time
  68147. 1: awaked at the sleep warp time</comment>
  68148. </bits>
  68149. <bits access="rc" name="nb_lp_pu_reach_stat" pos="12" rst="0">
  68150. <comment>bit type is changed from rw1c to rc.
  68151. Signal nb_lp_pu_reach wakeup state
  68152. 0: this signal not generated
  68153. 1: this signal generated</comment>
  68154. </bits>
  68155. <bits access="rc" name="gsm_lp_pu_reach_stat" pos="11" rst="0">
  68156. <comment>bit type is changed from rw1c to rc.
  68157. Signal gsm_lp_pu_reach wakeup state
  68158. 0: this signal not generated
  68159. 1: this signal generated</comment>
  68160. </bits>
  68161. <bits access="rc" name="awk_self_stat" pos="10" rst="0">
  68162. <comment>bit type is changed from rw1c to rc.
  68163. software wakeup state
  68164. 0: software wakeupup signal not generated
  68165. 1: software wakeupup system.</comment>
  68166. </bits>
  68167. <bits access="rc" name="awk_osw2_stat" pos="9" rst="0">
  68168. <comment>bit type is changed from rw1c to rc.
  68169. OSW2 wakeup state
  68170. 0: this signal not generated
  68171. 1: this signal generated</comment>
  68172. </bits>
  68173. <bits access="rc" name="awk_osw1_stat" pos="8" rst="0">
  68174. <comment>bit type is changed from rw1c to rc.
  68175. OSW1 wakeup state
  68176. 0: this signal not generated
  68177. 1: this signal generated</comment>
  68178. </bits>
  68179. <bits access="rc" name="awk7_awk_stat" pos="7" rst="0">
  68180. <comment>bit type is changed from rw1c to rc.
  68181. AWK7 wakeup state
  68182. 0: this signal not generated
  68183. 1: this signal generated</comment>
  68184. </bits>
  68185. <bits access="rc" name="awk6_awk_stat" pos="6" rst="0">
  68186. <comment>bit type is changed from rw1c to rc.
  68187. AWK6 wakeup state
  68188. 0: this signal not generated
  68189. 1: this signal generated</comment>
  68190. </bits>
  68191. <bits access="rc" name="awk5_awk_stat" pos="5" rst="0">
  68192. <comment>bit type is changed from rw1c to rc.
  68193. AWK5 wakeup state
  68194. 0: this signal not generated
  68195. 1: this signal generated</comment>
  68196. </bits>
  68197. <bits access="rc" name="awk4_awk_stat" pos="4" rst="0">
  68198. <comment>bit type is changed from rw1c to rc.
  68199. AWK4 wakeup state
  68200. 0: this signal not generated
  68201. 1: this signal generated</comment>
  68202. </bits>
  68203. <bits access="rc" name="awk3_awk_stat" pos="3" rst="0">
  68204. <comment>bit type is changed from rw1c to rc.
  68205. AWk3 wakeup state
  68206. 0: this signal not generated
  68207. 1: this signal generated</comment>
  68208. </bits>
  68209. <bits access="rc" name="awk2_awk_stat" pos="2" rst="0">
  68210. <comment>bit type is changed from rw1c to rc.
  68211. AWk2 wakeup state
  68212. 0: this signal not generated
  68213. 1: this signal generated</comment>
  68214. </bits>
  68215. <bits access="rc" name="awk1_awk_stat" pos="1" rst="0">
  68216. <comment>bit type is changed from rw1c to rc.
  68217. AWK1 wakeup state
  68218. 0: this signal not generated
  68219. 1: this signal generated</comment>
  68220. </bits>
  68221. <bits access="rc" name="awk0_awk_stat" pos="0" rst="0">
  68222. <comment>bit type is changed from rw1c to rc.
  68223. AWK0 wakeup state
  68224. 0: this signal not generated
  68225. 1: this signal generated</comment>
  68226. </bits>
  68227. </reg>
  68228. <reg name="idl_awk_self" protect="rw">
  68229. <bits access="rw" name="wake_self" pos="0" rst="0">
  68230. <comment>0: not effect
  68231. 1: wakeup system
  68232. (accessed by software only, this bit shold clear bu software when system is awaked.)</comment>
  68233. </bits>
  68234. </reg>
  68235. <reg name="idl_osw1_en" protect="rw">
  68236. <bits access="rw" name="osw1_en" pos="31" rst="0">
  68237. <comment>1: enable
  68238. 0: disable</comment>
  68239. </bits>
  68240. <bits access="rw" name="osw1_time" pos="30:0" rst="2147483647">
  68241. <comment>osw1 wrap value</comment>
  68242. </bits>
  68243. </reg>
  68244. <reg name="idl_osw1_cont" protect="r">
  68245. <bits access="r" name="osw1_count" pos="31:0" rst="4294967295">
  68246. <comment>OSW1 Timer is based on a slow counter, which start counting from the wrap value and decreasing 1 at each 2 cycles(counter frequency is 16K), the counter suspend when disabled.</comment>
  68247. </bits>
  68248. </reg>
  68249. <reg name="idl_fn_gsm" protect="r">
  68250. <bits access="r" name="idfn_gsm" pos="31:0" rst="0">
  68251. <comment>Number of frames gsm sleeped.</comment>
  68252. </bits>
  68253. </reg>
  68254. <reg name="idl_fn_ltem1" protect="r">
  68255. <bits access="r" name="idfn_rad_ltem" pos="31:4" rst="0">
  68256. <comment>Number of frames ltem1 sleeped.</comment>
  68257. </bits>
  68258. <bits access="r" name="idfn_sub_ltem" pos="3:0" rst="0">
  68259. <comment>Number of sub-frames ltem1 sleeped.</comment>
  68260. </bits>
  68261. </reg>
  68262. <reg name="idl_fn_ltem2" protect="r">
  68263. <bits access="r" name="idfn_rad_ltem" pos="31:4" rst="0">
  68264. <comment>Number of frames ltem2 sleeped</comment>
  68265. </bits>
  68266. <bits access="r" name="idfn_sub_ltem" pos="3:0" rst="0">
  68267. <comment>Number of sub-frames ltem2 sleeped.</comment>
  68268. </bits>
  68269. </reg>
  68270. <reg name="idl_ltem_rfl" protect="rw">
  68271. <bits access="rw" name="ltem_idle_radioframe_parameter" pos="20:0" rst="1228800">
  68272. <comment>LTE sleep frame length, suggest keep the default value.</comment>
  68273. </bits>
  68274. </reg>
  68275. <reg name="idl_ltem_sfl" protect="rw">
  68276. <bits access="rw" name="ltem_idle_frame_parameter" pos="16:0" rst="122880">
  68277. <comment>LTE sleep sub-frame length, suggest keep
  68278. the default value.</comment>
  68279. </bits>
  68280. </reg>
  68281. <reg name="idl_sig_en" protect="rw">
  68282. <bits access="rw" name="idle_cg_en" pos="3" rst="1">
  68283. <comment>Idle_cg_en enable
  68284. 1: enable.
  68285. 0: disable.</comment>
  68286. </bits>
  68287. <bits access="rw" name="pd_pll_en" pos="2" rst="1">
  68288. <comment>Pd_pll_en enable
  68289. 1: enable
  68290. 0: disable</comment>
  68291. </bits>
  68292. <bits access="rw" name="pd_xtal_en" pos="1" rst="1">
  68293. <comment>pd_xtal_en enable
  68294. 1: enable.
  68295. 0: disable.</comment>
  68296. </bits>
  68297. <bits access="rw" name="chip_pd_en" pos="0" rst="1">
  68298. <comment>chip_pd_en enable
  68299. 1: enable.
  68300. 0: disable.</comment>
  68301. </bits>
  68302. </reg>
  68303. <reg name="idl_sig_timer" protect="rw">
  68304. <bits access="rw" name="t4" pos="31:24" rst="1">
  68305. <comment>The time from enable clock to obtain clock</comment>
  68306. </bits>
  68307. <bits access="rw" name="t3" pos="23:16" rst="10">
  68308. <comment>The time of PLL from power saving state to output normal clock.</comment>
  68309. </bits>
  68310. <bits access="rw" name="t2" pos="15:8" rst="160">
  68311. <comment>The time of OSC circuit from power saving
  68312. state to normal state.</comment>
  68313. </bits>
  68314. <bits access="rw" name="t1" pos="7:0" rst="1">
  68315. <comment>The time of PMIC boost stabilization.</comment>
  68316. </bits>
  68317. </reg>
  68318. <reg name="idl_32k_ref" protect="r">
  68319. <bits access="r" name="rek_ref" pos="31:0" rst="0">
  68320. <comment>Current 32K counter value</comment>
  68321. </bits>
  68322. </reg>
  68323. <reg name="cp_inten" protect="rw">
  68324. <bits access="rw" name="target_irq" pos="13" rst="0">
  68325. <comment>target_irq enable
  68326. 1: enable
  68327. 0: disable</comment>
  68328. </bits>
  68329. <bits access="rw" name="nb_pu_reach_irq" pos="12" rst="0">
  68330. <comment>nb_pu_reach_irq enable
  68331. 1: enable
  68332. 0: disable</comment>
  68333. </bits>
  68334. <bits access="rw" name="nb_tc_end_irq" pos="11" rst="0">
  68335. <comment>nb_tc_end_irq enable
  68336. 1: enable
  68337. 0: disable</comment>
  68338. </bits>
  68339. <bits access="rw" name="nb_tc_start_irq" pos="10" rst="0">
  68340. <comment>nb_tc_start_irq enable
  68341. 1: enable
  68342. 0: disable</comment>
  68343. </bits>
  68344. <bits access="rw" name="sys_wak_irq" pos="9" rst="0">
  68345. <comment>sys_awk _irq enable
  68346. 1: enable
  68347. 0: disable</comment>
  68348. </bits>
  68349. <bits access="rw" name="timer_awk_irq" pos="8" rst="0">
  68350. <comment>Timer_awk_irq_enable
  68351. 1: enable
  68352. 0: disable</comment>
  68353. </bits>
  68354. <bits access="rw" name="gsm_pu_reach_irq" pos="7" rst="0">
  68355. <comment>gsm_pu_reach_irq enable
  68356. 1: enable
  68357. 0: disable</comment>
  68358. </bits>
  68359. <bits access="rw" name="gsm_tc_end_irq" pos="6" rst="0">
  68360. <comment>gsm_tc_end_irq enable
  68361. 1: enable
  68362. 0: disable</comment>
  68363. </bits>
  68364. <bits access="rw" name="gsm_tc_start_irq" pos="5" rst="0">
  68365. <comment>gsm_tc_start_irq enable
  68366. 1: enable
  68367. 0: disable</comment>
  68368. </bits>
  68369. <bits access="rw" name="osw1_irq" pos="4" rst="0">
  68370. <comment>osw1_irq enable
  68371. 1: enable
  68372. 0: disable</comment>
  68373. </bits>
  68374. <bits access="rw" name="tstamp_irq" pos="3" rst="0">
  68375. <comment>tstamp_irq enable
  68376. 1: enable
  68377. 0: disable</comment>
  68378. </bits>
  68379. <bits access="rw" name="idle_frame_irq" pos="2" rst="0">
  68380. <comment>idle_frame_irq enable
  68381. 1: enable
  68382. 0: disable</comment>
  68383. </bits>
  68384. <bits access="rw" name="idle_h_irq" pos="1" rst="1">
  68385. <comment>idle_h_irq enable
  68386. 1: enable
  68387. 0: disable</comment>
  68388. </bits>
  68389. <bits access="rw" name="layout_irq" pos="0" rst="0">
  68390. <comment>layout_irq enable
  68391. 1: enable
  68392. 0: disable</comment>
  68393. </bits>
  68394. </reg>
  68395. <reg name="cp_inten_set" protect="rw">
  68396. <bits access="rs" name="int_en_set" pos="13:0" rst="0">
  68397. <comment>bit type is changed from w1s to rs.
  68398. set cp interrupt enable register when writing 1 to correspond bits.</comment>
  68399. </bits>
  68400. </reg>
  68401. <reg name="cp_inten_clr" protect="rw">
  68402. <bits access="rc" name="int_en_clr" pos="13:0" rst="0">
  68403. <comment>bit type is changed from rw1c to rc.
  68404. clear cp interrupt enable register when writing 1 to correspond bits.</comment>
  68405. </bits>
  68406. </reg>
  68407. <reg name="cp_int_sta" protect="rw">
  68408. <bits access="rc" name="cp_int_sta" pos="13:0" rst="0">
  68409. <comment>bit type is changed from rw1c to rc.
  68410. clear interrupt state register when writing 1 to correspond bits.</comment>
  68411. </bits>
  68412. </reg>
  68413. <reg name="ap_inten" protect="rw">
  68414. <bits access="rw" name="target_irq" pos="5" rst="0">
  68415. <comment>target_irq enable
  68416. 1: enable
  68417. 0: disable</comment>
  68418. </bits>
  68419. <bits access="rw" name="nb_pu_reach_irq" pos="4" rst="0">
  68420. <comment>nb_pu_reach_irq enable
  68421. 1: enable
  68422. 0: disable</comment>
  68423. </bits>
  68424. <bits access="rw" name="sys_wak_irq" pos="3" rst="0">
  68425. <comment>sys_awk _irq enable
  68426. 1: enable
  68427. 0: disable</comment>
  68428. </bits>
  68429. <bits access="rw" name="timer_awk_irq" pos="2" rst="0">
  68430. <comment>Timer_awk_irq_enable
  68431. 1: enable
  68432. 0: disable</comment>
  68433. </bits>
  68434. <bits access="rw" name="gsm_pu_reach_irq" pos="1" rst="0">
  68435. <comment>gsm_pu_reach_irq enable
  68436. 1: enable
  68437. 0: disable</comment>
  68438. </bits>
  68439. <bits access="rw" name="osw2_irq" pos="0" rst="0">
  68440. <comment>osw2_irq enable
  68441. 1: enable
  68442. 0: disable</comment>
  68443. </bits>
  68444. </reg>
  68445. <reg name="ap_inten_set" protect="rw">
  68446. <bits access="rs" name="int_en_set" pos="5:0" rst="0">
  68447. <comment>bit type is changed from w1s to rs.
  68448. set ap interrupt enable register when writing 1 to correspond bits.</comment>
  68449. </bits>
  68450. </reg>
  68451. <reg name="ap_inten_clr" protect="rw">
  68452. <bits access="rc" name="int_en_clr" pos="5:0" rst="0">
  68453. <comment>bit type is changed from rw1c to rc.
  68454. clear ap interrupt enable register when writing 1 to correspond bits.</comment>
  68455. </bits>
  68456. </reg>
  68457. <reg name="ap_int_sta" protect="rw">
  68458. <bits access="rc" name="ap_int_sta" pos="5:0" rst="0">
  68459. <comment>bit type is changed from rw1c to rc.
  68460. clear ap interrupt state register when writing 1 to correspond bits.</comment>
  68461. </bits>
  68462. </reg>
  68463. <reg name="ltem1_cfsr_hfn" protect="rw">
  68464. <bits access="rw" name="ltem_cfsr_hfn" pos="21:0" rst="0">
  68465. <comment>Ltem1 high-level frame number value</comment>
  68466. </bits>
  68467. </reg>
  68468. <reg name="ltem1_cfsr_fn" protect="rw">
  68469. <bits access="rw" name="ltem_cfsr_rad" pos="13:4" rst="0">
  68470. <comment>LTE-M1 frame number</comment>
  68471. </bits>
  68472. <bits access="rw" name="ltem_cfsr_sub" pos="3:0" rst="0">
  68473. <comment>LTE-M1 sub-frame number</comment>
  68474. </bits>
  68475. </reg>
  68476. <reg name="ltem1_cfsrs" protect="rw">
  68477. <bits access="rw" name="active_time" pos="25" rst="0">
  68478. <comment>frame adjust time
  68479. 0: adjust at next frame interrupt
  68480. 1: adjust frame immetiately</comment>
  68481. </bits>
  68482. <bits access="rw" name="adjust_direct" pos="24" rst="0">
  68483. <comment>frame adjust direction
  68484. 0: postive
  68485. 1: negative</comment>
  68486. </bits>
  68487. <bits access="rw" name="ltem_cfsrs" pos="23:0" rst="0">
  68488. <comment>LTE-M1 frame offest value
  68489. (Adjust frame offset B, there are two case: if adjust direction is 0, write b+1 to this register then current frame plus this value when frame interrupt occurred. otherwise write b-1 into this register then current frame minus this value when frame interrupt occurred.)</comment>
  68490. </bits>
  68491. </reg>
  68492. <reg name="ltem1_cfsr_rdh" protect="r">
  68493. <bits access="r" name="ltem_cfsr_rdh" pos="21:0" rst="0">
  68494. <comment>LTE-M1 high-level frame value</comment>
  68495. </bits>
  68496. </reg>
  68497. <reg name="ltem1_cfsr_rdl" protect="r">
  68498. <bits access="r" name="ltem_cfsr_rdl_rad" pos="13:4" rst="0">
  68499. <comment>LTE-M1 radio frame value</comment>
  68500. </bits>
  68501. <bits access="r" name="ltem_cfsr_rdl_sub" pos="3:0" rst="0">
  68502. <comment>LTE-M1 sub-frame value</comment>
  68503. </bits>
  68504. </reg>
  68505. <reg name="ltem1_framc" protect="r">
  68506. <bits access="r" name="lframc" pos="15:0" rst="1">
  68507. <comment>LTE-M1 counter value</comment>
  68508. </bits>
  68509. </reg>
  68510. <reg name="ltem1_framl" protect="rw">
  68511. <bits access="rw" name="lframl" pos="15:0" rst="30720">
  68512. <comment>LTE-M1 frame length</comment>
  68513. </bits>
  68514. </reg>
  68515. <reg name="ltem1_framls" protect="rw">
  68516. <bits access="rw" name="active_time" pos="16" rst="0">
  68517. <comment>adjust time
  68518. 0: adjust immetiately
  68519. 1: adjust at next ltem frame interrupt</comment>
  68520. </bits>
  68521. <bits access="rw" name="lframls" pos="15:0" rst="0">
  68522. <comment>LTE-M1 adjuste frame length.
  68523. current Ltem frame length load the register when write happens,then return the LFRAML at the time of lte frame interrupt arrivals.</comment>
  68524. </bits>
  68525. </reg>
  68526. <reg name="ltem1_cfsr_tph" protect="rw">
  68527. <bits access="rw" name="ltem_cfsr_tph" pos="21:0" rst="0">
  68528. <comment>LTE-M1 high-level frame value time stamp register</comment>
  68529. </bits>
  68530. </reg>
  68531. <reg name="ltem1_cfsr_tpl" protect="rw">
  68532. <bits access="rw" name="ltem_cfsr_tpl" pos="13:0" rst="0">
  68533. <comment>LTE-M1 frame stamp value</comment>
  68534. </bits>
  68535. </reg>
  68536. <reg name="ltem1_framc_tp" protect="rw">
  68537. <bits access="rw" name="ltem_framc_tp" pos="15:0" rst="1">
  68538. <comment>LTE-M1 stamp counter</comment>
  68539. </bits>
  68540. </reg>
  68541. <reg name="ltem2_cfsr_hfn" protect="rw">
  68542. <bits access="rw" name="ltem_cfsr_hfn" pos="21:0" rst="0">
  68543. <comment>LTE-M2 high-level frame value</comment>
  68544. </bits>
  68545. </reg>
  68546. <reg name="ltem2_cfsr_fn" protect="rw">
  68547. <bits access="rw" name="ltem_cfsr_rad" pos="13:4" rst="0">
  68548. <comment>LTE-M2 radio frame value</comment>
  68549. </bits>
  68550. <bits access="rw" name="ltem_cfsr_sub" pos="3:0" rst="0">
  68551. <comment>LTE-M2 sub-frame value</comment>
  68552. </bits>
  68553. </reg>
  68554. <reg name="ltem2_cfsrs" protect="rw">
  68555. <bits access="rw" name="active_time" pos="25" rst="0">
  68556. <comment>adjust time.
  68557. 0: adjust at next frame interrupt
  68558. 1: adjust frame immetiately</comment>
  68559. </bits>
  68560. <bits access="rw" name="adjust_direct" pos="24" rst="0">
  68561. <comment>adjust direction
  68562. 0: postive
  68563. 1: negative</comment>
  68564. </bits>
  68565. <bits access="rw" name="ltem_cfsrs" pos="23:0" rst="0">
  68566. <comment>Frame offest value(Adjust frame offset B, there are two case: if adjust direction is 0, write b+1 to this register then current frame plus this value at the time of frame interrupt genereted. otherwise write b-1 into this register then current frame minus this value at the time of frame interrupt generated.)</comment>
  68567. </bits>
  68568. </reg>
  68569. <reg name="ltem2_cfsr_rdh" protect="r">
  68570. <bits access="r" name="ltem_cfsr_rdh" pos="21:0" rst="0">
  68571. <comment>LTE-M2 super read frame value</comment>
  68572. </bits>
  68573. </reg>
  68574. <reg name="ltem2_cfsr_rdl" protect="r">
  68575. <bits access="r" name="ltem_cfsr_rdl_rad" pos="13:4" rst="0">
  68576. <comment>LTE-M2 radio frame read value</comment>
  68577. </bits>
  68578. <bits access="r" name="ltem_cfsr_rdl_sub" pos="3:0" rst="0">
  68579. <comment>LTE-M2 sub-frame read value</comment>
  68580. </bits>
  68581. </reg>
  68582. <reg name="ltem2_framc" protect="r">
  68583. <bits access="r" name="lframc" pos="15:0" rst="1">
  68584. <comment>LTE-M counter</comment>
  68585. </bits>
  68586. </reg>
  68587. <reg name="ltem2_framl" protect="rw">
  68588. <bits access="rw" name="lframl" pos="15:0" rst="30720">
  68589. <comment>LTE-M2 frame length value</comment>
  68590. </bits>
  68591. </reg>
  68592. <reg name="ltem2_framls" protect="rw">
  68593. <bits access="rw" name="active_time" pos="16" rst="0">
  68594. <comment>adjust time
  68595. 0: adjust immetiately
  68596. 1: adjust at next ltem frame interrupt</comment>
  68597. </bits>
  68598. <bits access="rw" name="lframls" pos="15:0" rst="0">
  68599. <comment>LTE-M2 adjuste frame length.
  68600. current Ltem frame length load the register when write happens,then backed the LFRAML at the time of lte frame interrupt occurred.</comment>
  68601. </bits>
  68602. </reg>
  68603. <reg name="ltem2_cfsr_tph" protect="rw">
  68604. <bits access="rw" name="ltem_cfsr_tph" pos="21:0" rst="0">
  68605. <comment>LTE-M2 high-level frame time stamp register</comment>
  68606. </bits>
  68607. </reg>
  68608. <reg name="ltem2_cfsr_tpl" protect="rw">
  68609. <bits access="rw" name="ltem_cfsr_tpl" pos="13:0" rst="0">
  68610. <comment>LTE-M2 frame stamp value</comment>
  68611. </bits>
  68612. </reg>
  68613. <reg name="ltem2_framc_tp" protect="rw">
  68614. <bits access="rw" name="ltem_framc_tp" pos="15:0" rst="1">
  68615. <comment>LTE-M2 stamp counter</comment>
  68616. </bits>
  68617. </reg>
  68618. <reg name="gsm_cfsr" protect="rw">
  68619. <bits access="rw" name="gsm_cfsr_gsm_cfsr" pos="23:0" rst="0">
  68620. <comment>GSM frame value</comment>
  68621. </bits>
  68622. </reg>
  68623. <reg name="gsm_cfsrs" protect="rw">
  68624. <bits access="rw" name="adjust_direct" pos="24" rst="0">
  68625. <comment>adjust direction
  68626. 0: postive
  68627. 1: negative</comment>
  68628. </bits>
  68629. <bits access="rw" name="gsm_cfsrs_gsm_cfsrs" pos="23:0" rst="0">
  68630. <comment>frame offest value
  68631. (Adjust frame offset B. there are two case: if adjust direction is 0, write b+1 into this register then current frame plus this value when frame interrupt occurred. otherwise write b-1 into this register then current frame minus this value when frame interrupt occurred.)</comment>
  68632. </bits>
  68633. </reg>
  68634. <reg name="gsm_cfsro" protect="rw">
  68635. <bits access="rw" name="gsm_cfsr_overflow" pos="23:0" rst="2715648">
  68636. <comment>GSM frame overflow value</comment>
  68637. </bits>
  68638. </reg>
  68639. <reg name="ltem1_fhl" protect="r">
  68640. <bits access="r" name="ltem_fhl" pos="21:0" rst="0">
  68641. <comment>LTE-M high-level frame locked value,
  68642. lock the register LTEM_CFSR_HFN.</comment>
  68643. </bits>
  68644. </reg>
  68645. <reg name="ltem1_fll" protect="r">
  68646. <bits access="r" name="ltem_fll" pos="13:0" rst="0">
  68647. <comment>LTE-M frame locked value, lock the register
  68648. LTEM_CFSR_FN</comment>
  68649. </bits>
  68650. </reg>
  68651. <reg name="ltem1_fcl" protect="r">
  68652. <bits access="r" name="ltem_fcl" pos="15:0" rst="1">
  68653. <comment>LTE-M couner locked value</comment>
  68654. </bits>
  68655. </reg>
  68656. <reg name="ltem2_fhl" protect="r">
  68657. <bits access="r" name="ltem_fhl" pos="21:0" rst="0">
  68658. <comment>LTE-M high-level frame locked value,
  68659. lock the register LTEM_CFSR_HFN.</comment>
  68660. </bits>
  68661. </reg>
  68662. <reg name="ltem2_fll" protect="r">
  68663. <bits access="r" name="ltem_fll" pos="13:0" rst="0">
  68664. <comment>LTE-M frame locked value, lock the register
  68665. LTEM_CFSR_FN</comment>
  68666. </bits>
  68667. </reg>
  68668. <reg name="ltem2_fcl" protect="r">
  68669. <bits access="r" name="ltem_fcl" pos="15:0" rst="1">
  68670. <comment>LTE-M counter locked value</comment>
  68671. </bits>
  68672. </reg>
  68673. <reg name="gsm_fl" protect="r">
  68674. <bits access="r" name="fl" pos="23:0" rst="0">
  68675. <comment>GSM frame locked value</comment>
  68676. </bits>
  68677. </reg>
  68678. <reg name="gsm_fcl" protect="r">
  68679. <bits access="r" name="gsm_fcl_gsm_fcl" pos="16:0" rst="1">
  68680. <comment>GSM counter locked value</comment>
  68681. </bits>
  68682. </reg>
  68683. <reg name="tpctrl" protect="rw">
  68684. <bits access="rw" name="mod_sel" pos="10:8" rst="0">
  68685. <comment>lock signal
  68686. 000: ltem1 frame interrupt.
  68687. 001: ltem2 frame interrupt.
  68688. 010: gsm frame interrupt.
  68689. 011: negative of 32k clock.
  68690. 100: nb frame interrput.
  68691. others: gsm frame interrupt.</comment>
  68692. </bits>
  68693. <bits access="rw" name="inner_confg" pos="5:4" rst="0">
  68694. <comment>lock way
  68695. 00: disable lock
  68696. 01: bit 0 control the time stamp, bit 0 auto clear to be 0 after time stamp finsihed.
  68697. 10: time stamp when lock signal comes after that bit 5 and 4 clear to be 0.
  68698. 11: time stamp loop</comment>
  68699. </bits>
  68700. <bits access="rw" name="inner_ctrl" pos="0" rst="0">
  68701. <comment>1: time stamp immediately.
  68702. 0: not effect</comment>
  68703. </bits>
  68704. </reg>
  68705. <reg name="layoutt" protect="rw">
  68706. <bits access="rw" name="layoutt" pos="31:0" rst="0">
  68707. <comment>The initial value of task planning, the register value decrement after a certain number of TS when started task planning, you can get the remaining time by reading this register.</comment>
  68708. </bits>
  68709. </reg>
  68710. <reg name="layoutctrl" protect="rw">
  68711. <bits access="rw" name="chip_count" pos="22:8" rst="0">
  68712. <comment>Layoutt register descending unit.
  68713. 15h0000: 1
  68714. 15h0001: 2
  68715. 15h0002: 3
  68716. 15h7fff: 32768</comment>
  68717. </bits>
  68718. <bits access="rw" name="timer_select" pos="1" rst="0">
  68719. <comment>Layout count time selection
  68720. 0: ltem1 timer
  68721. 1: ltem2 timer</comment>
  68722. </bits>
  68723. <bits access="rw" name="enable" pos="0" rst="0">
  68724. <comment>task planning
  68725. 1: start task planing
  68726. 0: end timing
  68727. (The control bit is clear automatically after the timer is finished, and the software can be clear to bestop counting.)</comment>
  68728. </bits>
  68729. </reg>
  68730. <reg name="ltem1_fint_dly1" protect="rw">
  68731. <bits access="rw" name="delay_time" pos="15:0" rst="1">
  68732. <comment>LTE-M1 frame interrupt delay, take ltem1_framc as a reference.</comment>
  68733. </bits>
  68734. </reg>
  68735. <reg name="ltem1_fint_dly2" protect="rw">
  68736. <bits access="rw" name="delay_time" pos="15:0" rst="1">
  68737. <comment>LTE-M1 frame interrupt delay, take ltem1_framc as a reference.</comment>
  68738. </bits>
  68739. </reg>
  68740. <reg name="ltem2_fint_dly1" protect="rw">
  68741. <bits access="rw" name="delay_time" pos="15:0" rst="1">
  68742. <comment>LTE-M2 frame interrupt delay, take ltem2_framc as a reference.</comment>
  68743. </bits>
  68744. </reg>
  68745. <reg name="ltem2_fint_dly2" protect="rw">
  68746. <bits access="rw" name="delay_time" pos="15:0" rst="1">
  68747. <comment>LTE-M2 frame interrupt delay, take ltem2_framc as a reference.</comment>
  68748. </bits>
  68749. </reg>
  68750. <reg name="fint_en" protect="rw">
  68751. <bits access="rw" name="lte_m2_fint_enable" pos="21:12" rst="1023">
  68752. <comment>Each bit corresponds to 10 sub-frame, sub-frame interrupt will be sent to CPU when correspond bit is enabled.</comment>
  68753. </bits>
  68754. <bits access="rw" name="lte_m1_fint_enable" pos="9:0" rst="1023">
  68755. <comment>Each bit corresponds to 10 sub-frame, sub-frame interrupt will be sent to CPU when correspond bit is enabled.</comment>
  68756. </bits>
  68757. </reg>
  68758. <reg name="timer_en" protect="rw">
  68759. <bits access="rw" name="nb_timer_enable" pos="4" rst="0">
  68760. <comment>NB timer enable
  68761. 0: disable
  68762. 1: enable</comment>
  68763. </bits>
  68764. <bits access="rw" name="ltem_timer_enable" pos="3" rst="0">
  68765. <comment>LTE-M timer enable
  68766. 0: disable
  68767. 1: enable
  68768. (note: this timer is the reference lte timer.)</comment>
  68769. </bits>
  68770. <bits access="rw" name="gsm_timer_enable" pos="2" rst="0">
  68771. <comment>GSM timer enable
  68772. 0: disable
  68773. 1: enable</comment>
  68774. </bits>
  68775. <bits access="rw" name="lte_m2_timer_enable" pos="1" rst="0">
  68776. <comment>LTE-M2 timer enable
  68777. 0: disable
  68778. 1: enable</comment>
  68779. </bits>
  68780. <bits access="rw" name="lte_m1_timer_enable" pos="0" rst="1">
  68781. <comment>LTE-M1 timer enable
  68782. 0: disable
  68783. 1: enable</comment>
  68784. </bits>
  68785. </reg>
  68786. <reg name="idle_frame_sta" protect="rw">
  68787. <bits access="rc" name="nb_frame_state" pos="4" rst="0">
  68788. <comment>bit type is changed from rw1c to rc.
  68789. NB frame interrupt state
  68790. 0: No interrupt occurred
  68791. 1: interrupt occurred</comment>
  68792. </bits>
  68793. <bits access="rc" name="lte_m_frame_state" pos="3" rst="0">
  68794. <comment>bit type is changed from rw1c to rc.
  68795. reference lte frame interrupt state
  68796. 0: No interrupt occurred
  68797. 1: interrupt occurred</comment>
  68798. </bits>
  68799. <bits access="rc" name="gsm_frame_state" pos="2" rst="0">
  68800. <comment>bit type is changed from rw1c to rc.
  68801. GSM frame interrupt state
  68802. 0: No interrupt occurred
  68803. 1: interrupt occurred</comment>
  68804. </bits>
  68805. <bits access="rc" name="lte_m2_frame_state" pos="1" rst="0">
  68806. <comment>bit type is changed from rw1c to rc.
  68807. LTE-M2 frame interrupt state
  68808. 0: No interrupt occurred
  68809. 1: interrupt occurred</comment>
  68810. </bits>
  68811. <bits access="rc" name="lte_m1_frame_state" pos="0" rst="0">
  68812. <comment>bit type is changed from rw1c to rc.
  68813. LTE-M1 frame interrupt state
  68814. 0: No interrupt occurred
  68815. 1: interrupt occurred</comment>
  68816. </bits>
  68817. </reg>
  68818. <reg name="idle_frame_ltem1" protect="rw">
  68819. <bits access="rw" name="frame_conf" pos="24" rst="0">
  68820. <comment>enable(this bit cleared automatically after the frame interrupt generated)
  68821. 0: disable
  68822. 1: enable</comment>
  68823. </bits>
  68824. <bits access="rw" name="frame_cfsr" pos="21:0" rst="0">
  68825. <comment>interrupt frame number
  68826. interrupt occurred when current frame reach this register.</comment>
  68827. </bits>
  68828. </reg>
  68829. <reg name="idle_frame_ltem2" protect="rw">
  68830. <bits access="rw" name="frame_conf" pos="24" rst="0">
  68831. <comment>enable(this bit is cleared automatically after the frame interrupt generated)
  68832. 0: disable
  68833. 1: enable</comment>
  68834. </bits>
  68835. <bits access="rw" name="frame_cfsr" pos="21:0" rst="0">
  68836. <comment>interrupt occurred when current frame reach this register.</comment>
  68837. </bits>
  68838. </reg>
  68839. <reg name="idle_frame_gsm" protect="rw">
  68840. <bits access="rw" name="frame_conf" pos="24" rst="0">
  68841. <comment>enable(this bit cleared automatically after the frame interrupt generated)
  68842. 0: disable
  68843. 1: enable</comment>
  68844. </bits>
  68845. <bits access="rw" name="frame_cfsr" pos="23:0" rst="0">
  68846. <comment>interrupt occurred when current frame reach this register and counter equal to IDLE_FRAMC_GSM</comment>
  68847. </bits>
  68848. </reg>
  68849. <reg name="idle_frame_lte" protect="rw">
  68850. <bits access="rw" name="frame_ref_cfsr" pos="31:0" rst="0">
  68851. <comment>interrupt occurred when current frame reach this register.</comment>
  68852. </bits>
  68853. </reg>
  68854. <reg name="idle_frame_lte_conf" protect="rw">
  68855. <bits access="r" name="resrved" pos="31:1" rst="0">
  68856. </bits>
  68857. <bits access="rw" name="frame_ref_lte_conf" pos="0" rst="0">
  68858. <comment>enable(this bit cleared automatically after the frame interrupt generated)
  68859. 0: disable
  68860. 1: enable</comment>
  68861. </bits>
  68862. </reg>
  68863. <reg name="ltem_ref_fn" protect="rw">
  68864. <bits access="rw" name="ltem_ref_fn_ltem_ref_fn" pos="31:0" rst="0">
  68865. <comment>reference lte frame</comment>
  68866. </bits>
  68867. </reg>
  68868. <reg name="ltem_ref_fnl" protect="r">
  68869. <bits access="r" name="ref_ltem_fnl" pos="31:0" rst="0">
  68870. <comment>reference lte frame locked value</comment>
  68871. </bits>
  68872. </reg>
  68873. <reg name="ltem_ref_fcl" protect="r">
  68874. <bits access="r" name="ref_ltem_fcl" pos="14:0" rst="1">
  68875. <comment>reference lte counter locked value</comment>
  68876. </bits>
  68877. </reg>
  68878. <reg name="ref_32k_fnl" protect="r">
  68879. <bits access="r" name="ref_32k_fnl_ref_32k_fnl" pos="31:0" rst="0">
  68880. <comment>reference 32k counter locked value</comment>
  68881. </bits>
  68882. </reg>
  68883. <reg name="ltem_ref_fc" protect="r">
  68884. <bits access="r" name="ltem_ref_fc_ltem_ref_fc" pos="14:0" rst="1">
  68885. <comment>reference lte counter</comment>
  68886. </bits>
  68887. </reg>
  68888. <reg name="gsm_framl" protect="rw">
  68889. <bits access="rw" name="gsm_framl" pos="16:0" rst="120000">
  68890. <comment>GSM frame length value</comment>
  68891. </bits>
  68892. </reg>
  68893. <reg name="idl_osw2_en" protect="rw">
  68894. <bits access="rw" name="osw2_en" pos="31" rst="0">
  68895. <comment>1: enable OSW2 timer
  68896. 0: disable</comment>
  68897. </bits>
  68898. <bits access="rw" name="osw2_time" pos="30:0" rst="2147483647">
  68899. <comment>OSW2 Timing start value</comment>
  68900. </bits>
  68901. </reg>
  68902. <reg name="idl_osw2_cont" protect="r">
  68903. <bits access="r" name="osw2_count" pos="31:0" rst="4294967295">
  68904. <comment>OSW2 Timer is based on a slow counter, which start counting from the start value and decreasing 1 at each 2 cycles(counter frequency is 16K)</comment>
  68905. </bits>
  68906. </reg>
  68907. <reg name="idle_framc_gsm" protect="rw">
  68908. <bits access="rw" name="framc_cfsr" pos="16:0" rst="1">
  68909. <comment>IDLE GSM frame interrupt generated when GSM frame counter reach GSM_FRAME_GSM and GSM counter equal to this register.</comment>
  68910. </bits>
  68911. </reg>
  68912. <reg name="ltem1_fint_dly3" protect="rw">
  68913. <bits access="rw" name="delay_time" pos="15:0" rst="1">
  68914. <comment>LTE-M1 frame interrupt delay,
  68915. take ltem1_framc as a reference.</comment>
  68916. </bits>
  68917. </reg>
  68918. <reg name="ltem2_fint_dly3" protect="rw">
  68919. <bits access="rw" name="delay_time" pos="15:0" rst="1">
  68920. <comment>LTE-M2 frame interrupt delay, take ltem2_framc as a reference.</comment>
  68921. </bits>
  68922. </reg>
  68923. <reg name="idle_time_sel" protect="rw">
  68924. <bits access="rw" name="time_sel" pos="0" rst="0">
  68925. <comment>1: select pd_xtal, 0: select chip_pd</comment>
  68926. </bits>
  68927. </reg>
  68928. <reg name="idle_time" protect="r">
  68929. <bits access="r" name="idl_time" pos="31:0" rst="0">
  68930. <comment>the length of pd_xtal(or chip_pd) set to be 1.</comment>
  68931. </bits>
  68932. </reg>
  68933. <reg name="idl_h_gsm_lp" protect="rw">
  68934. <bits access="rw" name="h_value" pos="26:0" rst="26623680">
  68935. <comment>The cycles number of 26M in 2^h_run_time 32k cycles</comment>
  68936. </bits>
  68937. </reg>
  68938. <reg name="idl_h_ltem_lp" protect="rw">
  68939. <bits access="rw" name="h_value" pos="26:0" rst="125829442">
  68940. <comment>The cycles number of 122.88M in of 2^h_run_time 32k cycles</comment>
  68941. </bits>
  68942. </reg>
  68943. <reg name="idl_tc_start_nb" protect="rw">
  68944. <bits access="rw" name="tc_start_mod" pos="1:0" rst="0">
  68945. <comment>Enable mode(NB TCU suspend and this bits are cleared by hardware when take over started)
  68946. 00: disbale or already release TCU.
  68947. 01: take over TCU immediately
  68948. 10: take over at gsm frame interrupt.
  68949. 11: no effect.</comment>
  68950. </bits>
  68951. </reg>
  68952. <reg name="idl_tc_end_nb" protect="rw">
  68953. <bits access="rw" name="tc_end_framc" pos="20:4" rst="1">
  68954. <comment>restart TCU when gsm counter reach this register</comment>
  68955. </bits>
  68956. <bits access="rw" name="tc_end_mod" pos="1:0" rst="0">
  68957. <comment>restart mode(this bits cleared when TCU restarts)
  68958. 00: disable
  68959. 01: restart TCU immediately
  68960. 10: restart TCU when gsm frame interrupt occurred.
  68961. 11: restart TCU when gsm framc equal to TC_END_FRAMC.</comment>
  68962. </bits>
  68963. </reg>
  68964. <reg name="nb_lp_pu_done" protect="rw">
  68965. <bits access="rw" name="lp_pu_done" pos="0" rst="0">
  68966. <comment>TCU restart enable(accessed by software only.)
  68967. Output to the port nb_lp_pu_done directly, wakeup TCU in low power mode when writing 1 to this bit.</comment>
  68968. </bits>
  68969. </reg>
  68970. <reg name="idl_h_nb" protect="rw">
  68971. <bits access="rw" name="h_value" pos="26:0" rst="62914721">
  68972. <comment>The cycles number of 61.44M in the length of 2^h_run_time 32k cycles</comment>
  68973. </bits>
  68974. </reg>
  68975. <reg name="idl_h_nb_lp" protect="rw">
  68976. <bits access="rw" name="h_value" pos="26:0" rst="62914721">
  68977. <comment>The cycles number of 61.44M in the length of 2^h_run_time 32k cycles</comment>
  68978. </bits>
  68979. </reg>
  68980. <reg name="idl_fn_nb" protect="r">
  68981. <bits access="r" name="idfn_nb" pos="31:0" rst="0">
  68982. <comment>Number of frames nb timer sleeped.</comment>
  68983. </bits>
  68984. </reg>
  68985. <reg name="nb_frame_inten" protect="rw">
  68986. <bits access="rw" name="nb_frame_irq_en" pos="0" rst="0">
  68987. <comment>nb_frame_irq enable
  68988. 1: enable
  68989. 0: disable</comment>
  68990. </bits>
  68991. </reg>
  68992. <reg name="nb_frame_int_sta" protect="rw">
  68993. <bits access="rw" name="gsm_frame_int_sta" pos="0" rst="0">
  68994. <comment>cleared by writing 1 to correspond bit</comment>
  68995. </bits>
  68996. </reg>
  68997. <reg name="nb_cfsr" protect="rw">
  68998. <bits access="rw" name="gsm_cfsr" pos="23:0" rst="0">
  68999. <comment>NB frame value</comment>
  69000. </bits>
  69001. </reg>
  69002. <reg name="nb_framl" protect="rw">
  69003. <bits access="rw" name="nb_framl" pos="16:0" rst="61440">
  69004. <comment>NB frame length value</comment>
  69005. </bits>
  69006. </reg>
  69007. <reg name="nb_cfsrs" protect="rw">
  69008. <bits access="rw" name="adjust_direct" pos="24" rst="0">
  69009. <comment>adjust direction
  69010. 0: postive
  69011. 1: negative</comment>
  69012. </bits>
  69013. <bits access="rw" name="nb_cfsrs_nb_cfsrs" pos="23:0" rst="0">
  69014. <comment>frame offest value
  69015. (Adjust frame offset B. there are two case: if adjust direction is 0, write b+1 to this register then current frame plus this value when frame interrupt occurred. otherwise write b- 1 to this register then current frame minus this value when frame interrupt occurred.)</comment>
  69016. </bits>
  69017. </reg>
  69018. <reg name="nb_cfsro" protect="rw">
  69019. <bits access="rw" name="nb_cfsr_overflow" pos="23:0" rst="16777215">
  69020. <comment>NB frame overflow value</comment>
  69021. </bits>
  69022. </reg>
  69023. <reg name="nb_fl" protect="r">
  69024. <bits access="r" name="fl" pos="23:0" rst="0">
  69025. <comment>NB frame locked value</comment>
  69026. </bits>
  69027. </reg>
  69028. <reg name="nb_fcl" protect="r">
  69029. <bits access="r" name="nb_fcl_nb_fcl" pos="16:0" rst="1">
  69030. <comment>NB counter locked value</comment>
  69031. </bits>
  69032. </reg>
  69033. <reg name="idle_frame_nb" protect="rw">
  69034. <bits access="rw" name="frame_conf" pos="24" rst="0">
  69035. <comment>enable(this bit cleared automatically after the frame interrupt generated)
  69036. 0: disable
  69037. 1: enable</comment>
  69038. </bits>
  69039. <bits access="rw" name="frame_cfsr" pos="23:0" rst="0">
  69040. <comment>interrupt occurred when current frame reach this register and counter equal to IDLE_FRAMC_NB</comment>
  69041. </bits>
  69042. </reg>
  69043. <reg name="idle_framc_nb" protect="rw">
  69044. <bits access="rw" name="framc_cfsr" pos="16:0" rst="1">
  69045. <comment>IDLE NB frame interrupt generated when NB frame counter reach IDLE_FRAME_NB and NB counter equal to this register.</comment>
  69046. </bits>
  69047. </reg>
  69048. <reg name="idl_awk_en_set" protect="rw">
  69049. <bits access="rs" name="awk_en_set" pos="12:0" rst="0">
  69050. <comment>bit type is changed from w1s to rs.
  69051. set wakeup enable register by writing 1 to correspond bits.</comment>
  69052. </bits>
  69053. </reg>
  69054. <reg name="idl_awk_en_clr" protect="rw">
  69055. <bits access="rc" name="awk_en_clear" pos="12:0" rst="0">
  69056. <comment>bit type is changed from rw1c to rc.
  69057. clear wakeup enable register by writing 1 to correspond bits.</comment>
  69058. </bits>
  69059. </reg>
  69060. <reg name="gsm_framc" protect="rw">
  69061. <bits access="rw" name="rd_enable" pos="20" rst="0">
  69062. <comment>Read enable register.
  69063. This bit should be set first when read the value of GSM counter, then rd_enable bit cleared by hardware after locked the GSM counter.</comment>
  69064. </bits>
  69065. <bits access="r" name="framc" pos="16:0" rst="1">
  69066. <comment>GSM framc</comment>
  69067. </bits>
  69068. </reg>
  69069. <reg name="nb_framc" protect="rw">
  69070. <bits access="rw" name="rd_enable" pos="20" rst="0">
  69071. <comment>Read enable register.
  69072. This bit should be set first when read the value of NB counter, then rd_enable bit cleared by hardware after locked the NB counter.</comment>
  69073. </bits>
  69074. <bits access="r" name="framc" pos="16:0" rst="1">
  69075. <comment>NB framc</comment>
  69076. </bits>
  69077. </reg>
  69078. <reg name="eliminat_jitter" protect="rw">
  69079. <bits access="rw" name="eliminat_time" pos="15:8" rst="1">
  69080. <comment>Eliminate jitter delay register</comment>
  69081. </bits>
  69082. <bits access="rw" name="elimiate_en" pos="7:0" rst="0">
  69083. <comment>Emilinate the jitter from awake signal when writing 1 to correspond bits.</comment>
  69084. </bits>
  69085. </reg>
  69086. <reg name="gsm_en_sel" protect="rw">
  69087. <bits access="rw" name="select" pos="0" rst="0">
  69088. <comment>GGE low power Scheme selection signal
  69089. 0: use RDA8909 LP Scheme
  69090. 1: use IDLE module of LP Scheme</comment>
  69091. </bits>
  69092. </reg>
  69093. <reg name="nb_en_sel" protect="rw">
  69094. <bits access="rw" name="select" pos="0" rst="0">
  69095. <comment>NB low power Scheme selection signal
  69096. 0: use RDA8909 LP Scheme
  69097. 1: use IDLE module of LP Scheme</comment>
  69098. </bits>
  69099. </reg>
  69100. <reg name="pd_pll_sw" protect="rw">
  69101. <bits access="rw" name="dsipll" pos="6" rst="0">
  69102. <comment>1:disbale PLL
  69103. 0:enable PLL</comment>
  69104. </bits>
  69105. <bits access="rw" name="mempll" pos="5" rst="0">
  69106. <comment>1:disable PLL
  69107. 0:enbale PLL</comment>
  69108. </bits>
  69109. <bits access="rw" name="usbpll" pos="4" rst="0">
  69110. <comment>1:disable PLL
  69111. 0:enable PLL</comment>
  69112. </bits>
  69113. <bits access="rw" name="audiopll" pos="3" rst="0">
  69114. <comment>1:disable PLL
  69115. 0:enable PLL</comment>
  69116. </bits>
  69117. <bits access="rw" name="apll" pos="2" rst="0">
  69118. <comment>1:disable PLL
  69119. 0:enable PLL</comment>
  69120. </bits>
  69121. <bits access="rw" name="bbpll2" pos="1" rst="0">
  69122. <comment>1:disable PLL
  69123. 0:enable PLL</comment>
  69124. </bits>
  69125. <bits access="rw" name="bbpll1" pos="0" rst="0">
  69126. <comment>1:disable PLL
  69127. 0:enable PLL</comment>
  69128. </bits>
  69129. </reg>
  69130. <reg name="pd_pll_sw_set" protect="rw">
  69131. <bits access="rs" name="pdpllswset" pos="6:0" rst="0">
  69132. <comment>bit type is changed from w1s to rs.
  69133. set corresponding bits of PD_PLL_SW
  69134. 0:Invariance of corresponding bits
  69135. 1:set 1 of corresponding bits</comment>
  69136. </bits>
  69137. </reg>
  69138. <reg name="pd_pll_sw_clr" protect="rw">
  69139. <bits access="rc" name="pdpllswclr" pos="6:0" rst="0">
  69140. <comment>bit type is changed from w1c to rc.
  69141. clean corresponding bits of PD_PLL_SW
  69142. 0:Invariance of corresponding bits
  69143. 1:clean corresponding bits</comment>
  69144. </bits>
  69145. </reg>
  69146. <reg name="pd_pll_sel" protect="rw">
  69147. <bits access="rw" name="dsipll" pos="6" rst="0">
  69148. <comment>select hardware signal or software register to control the PLL output clk switch
  69149. 1:software register(bit6 of PD_PLL_SW)
  69150. 0:hardware signal(IDLE module of pd_pll signal invert)</comment>
  69151. </bits>
  69152. <bits access="rw" name="mempll" pos="5" rst="0">
  69153. <comment>select hardware signal or software register to control the PLL output clk switch
  69154. 1:software register(bit5 of PD_PLL_SW)
  69155. 0:hardware signal(IDLE module of pd_pll signal invert)</comment>
  69156. </bits>
  69157. <bits access="rw" name="usbpll" pos="4" rst="0">
  69158. <comment>select hardware signal or software register to control the PLL switch
  69159. 1:software register(bit4 of PD_PLL_SW)
  69160. 0:hardware signal(IDLE module of pd_pll signal invert)</comment>
  69161. </bits>
  69162. <bits access="rw" name="audiopll" pos="3" rst="0">
  69163. <comment>select hardware signal or software register to control the PLL switch
  69164. 1:software register(bit3 of PD_PLL_SW)
  69165. 0:hardware signal(IDLE module of pd_pll signal invert)</comment>
  69166. </bits>
  69167. <bits access="rw" name="apll" pos="2" rst="0">
  69168. <comment>select hardware signal or software register to control the PLL switch
  69169. 1:software register(bit2 of PD_PLL_SW)
  69170. 0:hardware signal(IDLE module of pd_pll signal invert)</comment>
  69171. </bits>
  69172. <bits access="rw" name="bbpll2" pos="1" rst="0">
  69173. <comment>select hardware signal or software register to control the PLL switch
  69174. 1:software register(bit1 of PD_PLL_SW)
  69175. 0:hardware signal(IDLE module of pd_pll signal invert)</comment>
  69176. </bits>
  69177. <bits access="rw" name="bbpll1" pos="0" rst="0">
  69178. <comment>select hardware signal or software register to control the PLL switch
  69179. 1:software register(bit0 of PD_PLL_SW)
  69180. 0:hardware signal(IDLE module of pd_pll signal invert)</comment>
  69181. </bits>
  69182. </reg>
  69183. <reg name="pd_pll_sel_set" protect="rw">
  69184. <bits access="rs" name="pdpllselset" pos="6:0" rst="0">
  69185. <comment>bit type is changed from w1s to rs.
  69186. set corresponding bits of PD_PLL_SEL
  69187. 0:Invariance of corresponding bits
  69188. 1:set 1 of corresponding bits</comment>
  69189. </bits>
  69190. </reg>
  69191. <reg name="pd_pll_sel_clr" protect="rw">
  69192. <bits access="rc" name="pdpllselclr" pos="6:0" rst="0">
  69193. <comment>bit type is changed from w1c to rc.
  69194. clean corresponding bits of PD_PLL_SEL
  69195. 0:Invariance of corresponding bits
  69196. 1:clean corresponding bits</comment>
  69197. </bits>
  69198. </reg>
  69199. <reg name="idle_cg_sw" protect="rw">
  69200. <bits access="rw" name="dsipll" pos="6" rst="0">
  69201. <comment>1:disable PLL output clk
  69202. 0:enable PLL output clk</comment>
  69203. </bits>
  69204. <bits access="rw" name="mempll" pos="5" rst="0">
  69205. <comment>1:disable PLL output clk
  69206. 0:enable PLL output clk</comment>
  69207. </bits>
  69208. <bits access="rw" name="usbpll" pos="4" rst="0">
  69209. <comment>1:disable PLL output clk
  69210. 0:enable PLL output clk</comment>
  69211. </bits>
  69212. <bits access="rw" name="audiopll" pos="3" rst="0">
  69213. <comment>1:disable PLL output clk
  69214. 0:enable PLL output clk</comment>
  69215. </bits>
  69216. <bits access="rw" name="apll" pos="2" rst="0">
  69217. <comment>1:disable PLL output clk
  69218. 0:enable PLL output clk</comment>
  69219. </bits>
  69220. <bits access="rw" name="bbpll2" pos="1" rst="0">
  69221. <comment>1:disable PLL output clk
  69222. 0:enable PLL output clk</comment>
  69223. </bits>
  69224. <bits access="rw" name="bbpll1" pos="0" rst="0">
  69225. <comment>1:disable PLL output clk
  69226. 0:enable PLL output clk</comment>
  69227. </bits>
  69228. </reg>
  69229. <reg name="idle_cg_sw_set" protect="rw">
  69230. <bits access="rs" name="idlecgswset" pos="6:0" rst="0">
  69231. <comment>bit type is changed from w1s to rs.
  69232. set corresponding bits of IDLE_CG_SW
  69233. 0:Invariance of corresponding bits
  69234. 1:set 1 of corresponding bits</comment>
  69235. </bits>
  69236. </reg>
  69237. <reg name="idle_cg_sw_clr" protect="rw">
  69238. <bits access="rc" name="idlecgswclr" pos="6:0" rst="0">
  69239. <comment>bit type is changed from w1c to rc.
  69240. clean corresponding bits of IDLE_CG_SW
  69241. 0:Invariance of corresponding bits
  69242. 1:clean corresponding bits</comment>
  69243. </bits>
  69244. </reg>
  69245. <reg name="idle_cg_sel" protect="rw">
  69246. <bits access="rw" name="dsipll" pos="6" rst="0">
  69247. <comment>select hardware signal or software register to control the PLL output clk switch
  69248. 1:software register(bit6 of IDLE_CG_SW)
  69249. 0:hardware signal(IDLE module of idle_cg signal invert)</comment>
  69250. </bits>
  69251. <bits access="rw" name="mempll" pos="5" rst="0">
  69252. <comment>select hardware signal or software register to control the PLL output clk switch
  69253. 1:software register(bit5 of IDLE_CG_SW)
  69254. 0:hardware signal(IDLE module of idle_cg signal invert)</comment>
  69255. </bits>
  69256. <bits access="rw" name="usbpll" pos="4" rst="0">
  69257. <comment>select hardware signal or software register to control the PLL output clk switch
  69258. 1:software register(bit4 of IDLE_CG_SW)
  69259. 0:hardware signal(IDLE module of idle_cg signal invert)</comment>
  69260. </bits>
  69261. <bits access="rw" name="audiopll" pos="3" rst="0">
  69262. <comment>select hardware signal or software register to control the PLL output clk switch
  69263. 1:software register(bit3 of IDLE_CG_SW)
  69264. 0:hardware signal(IDLE module of idle_cg signal invert)</comment>
  69265. </bits>
  69266. <bits access="rw" name="apll" pos="2" rst="0">
  69267. <comment>select hardware signal or software register to control the PLL output clk switch
  69268. 1:software register(bit2 of IDLE_CG_SW)
  69269. 0:hardware signal(IDLE module of idle_cg signal invert)</comment>
  69270. </bits>
  69271. <bits access="rw" name="bbpll2" pos="1" rst="0">
  69272. <comment>select hardware signal or software register to control the PLL output clk switch
  69273. 1:software register(bit1 of IDLE_CG_SW)
  69274. 0:hardware signal(IDLE module of idle_cg signal invert)</comment>
  69275. </bits>
  69276. <bits access="rw" name="bbpll1" pos="0" rst="0">
  69277. <comment>select hardware signal or software register to control the PLL output clk switch
  69278. 1:software register(bit0 of IDLE_CG_SW)
  69279. 0:hardware signal(IDLE module of idle_cg signal invert)</comment>
  69280. </bits>
  69281. </reg>
  69282. <reg name="idle_cg_sel_set" protect="rw">
  69283. <bits access="rs" name="idlecgselset" pos="6:0" rst="0">
  69284. <comment>bit type is changed from w1s to rs.
  69285. set corresponding bits of IDLE_CG_SEL
  69286. 0:Invariance of corresponding bits
  69287. 1:set 1 of corresponding bits</comment>
  69288. </bits>
  69289. </reg>
  69290. <reg name="idle_cg_sel_clr" protect="rw">
  69291. <bits access="rc" name="idlecgselclr" pos="6:0" rst="0">
  69292. <comment>bit type is changed from w1c to rc.
  69293. clean corresponding bits of IDLE_CG_SEL
  69294. 0:Invariance of corresponding bits
  69295. 1:clean corresponding bits</comment>
  69296. </bits>
  69297. </reg>
  69298. <reg name="rf_idle_enable_sw" protect="rw">
  69299. <bits access="rw" name="rfidleenablesw" pos="0" rst="0">
  69300. <comment>1:control the RF_DIG enter in IDLE
  69301. 0:control the RF_DIG exit to the IDLE</comment>
  69302. </bits>
  69303. </reg>
  69304. <reg name="rf_idle_enable_sel" protect="rw">
  69305. <bits access="rw" name="rfidleenablesel" pos="0" rst="1">
  69306. <comment>select the hardware signal or software register to control the RF_DIG enter in or extit to IDLE model.
  69307. 1:software register(RF_IDLE_ENABLE_SW)
  69308. 0:hardware signal( pow_on signal invert of IDLE module)</comment>
  69309. </bits>
  69310. </reg>
  69311. <hole size="256"/>
  69312. <reg name="mem_ema_cfg" protect="rw">
  69313. <bits access="rw" name="rftpd_rmb" pos="9:6" rst="2">
  69314. <comment>RFTPD type EMA signal</comment>
  69315. </bits>
  69316. <bits access="rw" name="rftpd_rmeb" pos="5" rst="0">
  69317. <comment>RFTPD type EMA signal</comment>
  69318. </bits>
  69319. <bits access="rw" name="rftpd_rma" pos="4:1" rst="2">
  69320. <comment>RFTPD type EMA signal</comment>
  69321. </bits>
  69322. <bits access="rw" name="rftpd_rmea" pos="0" rst="0">
  69323. <comment>RFTPD type EMA signal</comment>
  69324. </bits>
  69325. </reg>
  69326. <reg name="uart_ctrl" protect="rw">
  69327. <bits access="rw" name="rst_ctrl_uart" pos="1" rst="1">
  69328. <comment>UART module reset control:
  69329. 0: reset
  69330. 1: reset release</comment>
  69331. </bits>
  69332. <bits access="rw" name="enable_clk_uart" pos="0" rst="1">
  69333. <comment>UART module clock control:
  69334. 0: disable
  69335. 1: enable</comment>
  69336. </bits>
  69337. </reg>
  69338. <reg name="ddr_latch" protect="rw">
  69339. <bits access="rw" name="psram_latch" pos="1" rst="0">
  69340. <comment>PSRAM IO LATCH:
  69341. 0: release PSRAM PAD
  69342. 1: no release PSRAM PAD.This bit will be set &quot;1&quot; by hardware when AP power domain was shut-down.Software should write this bit to &quot;0&quot; after PSRAM initialization when AP wake-up from deep sleep.</comment>
  69343. </bits>
  69344. <bits access="rw" name="lpddr_latch" pos="0" rst="0">
  69345. <comment>LPDDR IO LATCH:
  69346. 0: release LPDDR PAD
  69347. 1: no release LPDDR PAD.This bit will be set &quot;1&quot; by hardware when AP power domain was shut-down.Software should write this bit to &quot;0&quot; after LPDDR initialization when AP wake-up from deep sleep.</comment>
  69348. </bits>
  69349. </reg>
  69350. <reg name="pad_ctrl" protect="rw">
  69351. <bits access="rw" name="pad_misc_idle_wpdi" pos="27" rst="0">
  69352. </bits>
  69353. <bits access="rw" name="pad_osc_32k_drv" pos="26:25" rst="2">
  69354. </bits>
  69355. <bits access="rw" name="pad_osc_32k_se" pos="24" rst="0">
  69356. </bits>
  69357. <bits access="rw" name="pad_osc_32k_wpus" pos="23" rst="0">
  69358. </bits>
  69359. <bits access="rw" name="pad_gpio_6_pull_frc" pos="22" rst="0">
  69360. </bits>
  69361. <bits access="rw" name="pad_gpio_6_drv" pos="21:20" rst="2">
  69362. </bits>
  69363. <bits access="rw" name="pad_gpio_6_pull_dowe" pos="19" rst="0">
  69364. </bits>
  69365. <bits access="rw" name="pad_gpio_6_pull_up" pos="18" rst="0">
  69366. </bits>
  69367. <bits access="rw" name="pad_gpio_6_se" pos="17" rst="0">
  69368. </bits>
  69369. <bits access="rw" name="pad_gpio_6_wpus" pos="16" rst="0">
  69370. </bits>
  69371. <bits access="rw" name="pad_chip_pd_out" pos="15" rst="0">
  69372. </bits>
  69373. <bits access="rw" name="pad_chip_pd_out_frc" pos="14" rst="0">
  69374. </bits>
  69375. <bits access="rw" name="pad_chip_pd_pull_frc" pos="13" rst="0">
  69376. </bits>
  69377. <bits access="rw" name="pad_chip_pd_drv" pos="12:11" rst="2">
  69378. </bits>
  69379. <bits access="rw" name="pad_chip_pd_pull_dowe" pos="10" rst="0">
  69380. </bits>
  69381. <bits access="rw" name="pad_chip_pd_pull_up" pos="9" rst="0">
  69382. </bits>
  69383. <bits access="rw" name="pad_chip_pd_se" pos="8" rst="0">
  69384. </bits>
  69385. <bits access="rw" name="pad_chip_pd_wpus" pos="7" rst="0">
  69386. </bits>
  69387. <bits access="rw" name="pad_uart_1_rxd_pull_frc" pos="6" rst="0">
  69388. </bits>
  69389. <bits access="rw" name="pad_uart_1_rxd_drv" pos="5:4" rst="2">
  69390. </bits>
  69391. <bits access="rw" name="pad_uart_1_rxd_pull_dowe" pos="3" rst="0">
  69392. </bits>
  69393. <bits access="rw" name="pad_uart_1_rxd_pull_up" pos="2" rst="0">
  69394. </bits>
  69395. <bits access="rw" name="pad_uart_1_rxd_se" pos="1" rst="0">
  69396. </bits>
  69397. <bits access="rw" name="pad_uart_1_rxd_wpus" pos="0" rst="0">
  69398. </bits>
  69399. </reg>
  69400. <hole size="128"/>
  69401. <reg name="pad_ctrl_uart_txd" protect="rw">
  69402. <bits access="rw" name="pad_uart_1_txd_out" pos="8" rst="0">
  69403. </bits>
  69404. <bits access="rw" name="pad_uart_1_txd_out_frc" pos="7" rst="0">
  69405. </bits>
  69406. <bits access="rw" name="pad_uart_1_txd_pull_frc" pos="6" rst="0">
  69407. </bits>
  69408. <bits access="rw" name="pad_uart_1_txd_drv" pos="5:4" rst="2">
  69409. </bits>
  69410. <bits access="rw" name="pad_uart_1_txd_pull_dowe" pos="3" rst="0">
  69411. </bits>
  69412. <bits access="rw" name="pad_uart_1_txd_pull_up" pos="2" rst="0">
  69413. </bits>
  69414. <bits access="rw" name="pad_uart_1_txd_se" pos="1" rst="0">
  69415. </bits>
  69416. <bits access="rw" name="pad_uart_1_txd_wpus" pos="0" rst="0">
  69417. </bits>
  69418. </reg>
  69419. <reg name="mon_sel" protect="rw">
  69420. <bits access="rw" name="mon15_sel" pos="31:30" rst="0">
  69421. <comment>mon15_sel:
  69422. 00: select nb_en.
  69423. 01: select awk_sys_valid.
  69424. 10: select awake[7].
  69425. 11: select target_timer_stat[1].</comment>
  69426. </bits>
  69427. <bits access="rw" name="mon14_sel" pos="29:28" rst="0">
  69428. <comment>mon14_sel:
  69429. 00: select gsm_en.
  69430. 01: select wcn_chip_pd.
  69431. 10: select awake[6].
  69432. 11: select target_timer_stat[0].</comment>
  69433. </bits>
  69434. <bits access="rw" name="mon13_sel" pos="27:26" rst="0">
  69435. <comment>mon13_sel:
  69436. 00: select wake_timer.
  69437. 01: select wcn_pd_xtal.
  69438. 10: select awake[5].
  69439. 11: select target_timer_enable.</comment>
  69440. </bits>
  69441. <bits access="rw" name="mon12_sel" pos="25:24" rst="0">
  69442. <comment>mon12_sel:
  69443. 00: select timer_en_nb.
  69444. 01: select wcn_pd_pll.
  69445. 10: select awake[4].
  69446. 11: select nb_frame_int.</comment>
  69447. </bits>
  69448. <bits access="rw" name="mon11_sel" pos="23:22" rst="0">
  69449. <comment>mon11_sel:
  69450. 00: select timer_en_gsm.
  69451. 01: select wcn_idle_cg.
  69452. 10: select awake[3].
  69453. 11: nb_lp_pu_done.</comment>
  69454. </bits>
  69455. <bits access="rw" name="mon10_sel" pos="21:20" rst="0">
  69456. <comment>mon10_sel:
  69457. 00: select timer_en_ltem2.
  69458. 01: select nb_en_sel.
  69459. 10: select awake[2].
  69460. 11: select nb_lp_sf_slowrunning.</comment>
  69461. </bits>
  69462. <bits access="rw" name="mon9_sel" pos="19:18" rst="0">
  69463. <comment>mon9_sel:
  69464. 00: select timer_en_ltem1.
  69465. 01: select gsm_en_sel.
  69466. 10: select awake[1].
  69467. 11: select nb_fint.</comment>
  69468. </bits>
  69469. <bits access="rw" name="mon8_sel" pos="17:16" rst="0">
  69470. <comment>mon8_sel:
  69471. 00: select idst_nb_timer.
  69472. 01: select idle_chip_pd.
  69473. 10: select awake[0].
  69474. 11: select gsm_frame_int.</comment>
  69475. </bits>
  69476. <bits access="rw" name="mon7_sel" pos="15:14" rst="0">
  69477. <comment>mon7_sel:
  69478. 00: select idst_gsm_timer
  69479. 01: select idle_pd_xtal.
  69480. 10: select awk_self.
  69481. 11: gsm_lp_pu_done.</comment>
  69482. </bits>
  69483. <bits access="rw" name="mon6_sel" pos="13:12" rst="0">
  69484. <comment>mon6_sel:
  69485. 00: select idst_ltem2_timer.
  69486. 01: select idle_pd_pll.
  69487. 10: select idst_gsm_ltem_timer.
  69488. 11: select gsm_lp_sf_slowrunning.</comment>
  69489. </bits>
  69490. <bits access="rw" name="mon5_sel" pos="11:10" rst="0">
  69491. <comment>mon5_sel:
  69492. 00: select idst_ltem1_timer.
  69493. 01: select idle_idle_cg.
  69494. 10: select awk_gsm_ltem_timner.
  69495. 11: select gsm_fint.</comment>
  69496. </bits>
  69497. <bits access="rw" name="mon4_sel" pos="9:8" rst="0">
  69498. <comment>mon4_sel:
  69499. 00: select idct_nb_timer.
  69500. 01: select pow_on.
  69501. 10: select idst_sys.
  69502. 11: select rstctrl_uart.</comment>
  69503. </bits>
  69504. <bits access="rw" name="mon3_sel" pos="7:6" rst="0">
  69505. <comment>mon3_sel:
  69506. 00: select idct_gsm_timer.
  69507. 01: select idct_sys_valid.
  69508. 10: select nb_lp_pu_reach.
  69509. 11: select clken_uart.</comment>
  69510. </bits>
  69511. <bits access="rw" name="mon2_sel" pos="5:4" rst="0">
  69512. <comment>mon2_sel:
  69513. 00: select idct_ltem2_timer.
  69514. 01: select idct_ap.
  69515. 10: select gsm_lp_pu_reach.
  69516. 11: select psram_latch_reg.</comment>
  69517. </bits>
  69518. <bits access="rw" name="mon1_sel" pos="3:2" rst="0">
  69519. <comment>mon1_sel:
  69520. 00: select idct_ltem1_timer
  69521. 01: select idct_cp.
  69522. 10: select osw2_awk
  69523. 11: select lpddr_latch_reg</comment>
  69524. </bits>
  69525. <bits access="rw" name="mon0_sel" pos="1:0" rst="1">
  69526. <comment>mon0_sel:
  69527. 00: select idct_timer.
  69528. 01: select ltem1_fint.
  69529. 10: select osw1_awk.
  69530. 11: select ltem2_fint</comment>
  69531. </bits>
  69532. </reg>
  69533. <reg name="mon_sel_set" protect="rw">
  69534. <bits access="rw" name="mon_sel_set" pos="31:0" rst="0">
  69535. <comment>set corresponding bits of MON_SEL
  69536. 0:Invariance of corresponding bits
  69537. 1:set corresponding bits</comment>
  69538. </bits>
  69539. </reg>
  69540. <reg name="mon_sel_clr" protect="rw">
  69541. <bits access="rw" name="mon_sel_clr" pos="31:0" rst="0">
  69542. <comment>clear corresponding bits of MON_SEL
  69543. 0:Invariance of corresponding bits
  69544. 1:clear corresponding bits</comment>
  69545. </bits>
  69546. </reg>
  69547. <reg name="target_timer" protect="rw">
  69548. <bits access="rw" name="target_time" pos="31:0" rst="0">
  69549. <comment>Interrupt generated when the reference 32K counter reach to this register value.</comment>
  69550. </bits>
  69551. </reg>
  69552. <reg name="target_timer_en" protect="rw">
  69553. <bits access="rw" name="disable_target_timer" pos="0" rst="0">
  69554. <comment>1: disable target timer.
  69555. 0: enable</comment>
  69556. </bits>
  69557. </reg>
  69558. <reg name="target_value_lock" protect="rw">
  69559. <bits access="rw" name="lock_value" pos="31:0" rst="0">
  69560. <comment>The locked value of reference 32K when interrupt generated.</comment>
  69561. </bits>
  69562. </reg>
  69563. <reg name="target_timer_stat" protect="r">
  69564. <bits access="r" name="timer_stat_32k" pos="1" rst="0">
  69565. <comment>Indicat the state of target timer in 32K clock domain</comment>
  69566. </bits>
  69567. <bits access="r" name="timer_stat_122m" pos="0" rst="0">
  69568. <comment>Indicate the state of target timer in 122.88M clock domain</comment>
  69569. </bits>
  69570. </reg>
  69571. <reg name="slow_sys_clk_sel_hwen" protect="rw">
  69572. <bits access="rw" name="hwen" pos="0" rst="0">
  69573. <comment>0:SLOW_CLK and system clk selected by software bit conrtol
  69574. 1:SLOW_CLK and system clk select by hareware signal control</comment>
  69575. </bits>
  69576. </reg>
  69577. <reg name="slow_clk_sel_hwen" protect="rw">
  69578. <bits access="rw" name="hwen" pos="0" rst="0">
  69579. <comment>0:SLOW_CLK selected(between 26M and 32k) by software bit control
  69580. 1:SLOW_CLK selected(between 26M and 32k) by hareware signal control</comment>
  69581. </bits>
  69582. </reg>
  69583. <reg name="sleep_prot_time" protect="rw">
  69584. <bits access="rw" name="prot_time" pos="7:0" rst="9">
  69585. <comment>The minimum threshold of deep sleep, to ensure PMIC have complete deep sleep in and deep sleep out.</comment>
  69586. </bits>
  69587. </reg>
  69588. <hole size="125632"/>
  69589. <reg name="idle_res0" protect="r">
  69590. <bits access="r" name="reservedvalue_0" pos="31:0" rst="0">
  69591. </bits>
  69592. </reg>
  69593. <reg name="idle_res1" protect="r">
  69594. <bits access="r" name="reservedvalue_0" pos="31:0" rst="0">
  69595. </bits>
  69596. </reg>
  69597. <reg name="idle_res2" protect="r">
  69598. <bits access="r" name="reservedvalue_0" pos="31:0" rst="0">
  69599. </bits>
  69600. </reg>
  69601. <reg name="idle_res3" protect="r">
  69602. <bits access="r" name="reservedvalue_0" pos="31:0" rst="0">
  69603. </bits>
  69604. </reg>
  69605. <reg name="idle_res4" protect="r">
  69606. <bits access="r" name="reservedvalue_0" pos="31:0" rst="0">
  69607. </bits>
  69608. </reg>
  69609. <reg name="idle_res5" protect="r">
  69610. <bits access="r" name="reservedvalue_0" pos="31:0" rst="0">
  69611. </bits>
  69612. </reg>
  69613. <reg name="idle_res6" protect="r">
  69614. <bits access="r" name="reservedvalue_0" pos="31:0" rst="0">
  69615. </bits>
  69616. </reg>
  69617. <reg name="idle_res7" protect="r">
  69618. <bits access="r" name="reservedvalue_0" pos="31:0" rst="0">
  69619. </bits>
  69620. </reg>
  69621. <reg name="idle_res8" protect="r">
  69622. <bits access="r" name="reservedvalue_0" pos="31:0" rst="0">
  69623. </bits>
  69624. </reg>
  69625. <reg name="idle_res9" protect="r">
  69626. <bits access="r" name="reservedvalue_0" pos="31:0" rst="0">
  69627. </bits>
  69628. </reg>
  69629. <reg name="idle_res10" protect="r">
  69630. <bits access="r" name="reservedvalue_0" pos="31:0" rst="0">
  69631. </bits>
  69632. </reg>
  69633. <reg name="idle_res11" protect="r">
  69634. <bits access="r" name="reservedvalue_0" pos="31:0" rst="0">
  69635. </bits>
  69636. </reg>
  69637. </module>
  69638. </archive>
  69639. <archive relative="cp_mailbox.xml">
  69640. <module category="Bb_sysctrl" name="CP_MAILBOX">
  69641. <reg name="intgr0" protect="rw">
  69642. <bits access="rw" name="interrupt0generate" pos="31:0" rst="0">
  69643. <comment>sysmail0 Interrupt generate register</comment>
  69644. </bits>
  69645. </reg>
  69646. <reg name="intstr0" protect="rw">
  69647. <bits access="rs" name="interrupt0bitset" pos="31:0" rst="0">
  69648. <comment>bit type is changed from ws to rs.
  69649. sysmail0 interrupt bit set register</comment>
  69650. </bits>
  69651. </reg>
  69652. <reg name="intcr0" protect="rw">
  69653. <bits access="rc" name="interrupt0bitclean" pos="31:0" rst="0">
  69654. <comment>bit type is changed from w1c to rc.
  69655. sysmail0 interrupt clean register</comment>
  69656. </bits>
  69657. </reg>
  69658. <reg name="intmr0" protect="rw">
  69659. <bits access="rw" name="interrupt0mask" pos="31:0" rst="0">
  69660. <comment>sysmail0 interrupt mask register</comment>
  69661. </bits>
  69662. </reg>
  69663. <reg name="intsr0" protect="r">
  69664. <bits access="r" name="interrupt0status" pos="31:0" rst="0">
  69665. <comment>sysmail0 interrupt status register</comment>
  69666. </bits>
  69667. </reg>
  69668. <reg name="intmsr0" protect="r">
  69669. <bits access="r" name="interrupt0maskstatus" pos="31:0" rst="0">
  69670. <comment>sysmail0 interrupt mask status register</comment>
  69671. </bits>
  69672. </reg>
  69673. <hole size="64"/>
  69674. <reg name="intgr1" protect="rw">
  69675. <bits access="rw" name="interrupt1generate" pos="31:0" rst="0">
  69676. <comment>sysmail1 Interrupt generate register</comment>
  69677. </bits>
  69678. </reg>
  69679. <reg name="intstr1" protect="rw">
  69680. <bits access="rs" name="interrupt1bitset" pos="31:0" rst="0">
  69681. <comment>bit type is changed from ws to rs.
  69682. sysmail1 interrupt bit set register</comment>
  69683. </bits>
  69684. </reg>
  69685. <reg name="intcr1" protect="rw">
  69686. <bits access="rc" name="interrupt1bitclean" pos="31:0" rst="0">
  69687. <comment>bit type is changed from w1c to rc.
  69688. sysmail1 interrupt clean register</comment>
  69689. </bits>
  69690. </reg>
  69691. <reg name="intmr1" protect="rw">
  69692. <bits access="rw" name="interrupt1mask" pos="31:0" rst="0">
  69693. <comment>sysmail1 interrupt mask register</comment>
  69694. </bits>
  69695. </reg>
  69696. <reg name="intsr1" protect="r">
  69697. <bits access="r" name="interrupt1status" pos="31:0" rst="0">
  69698. <comment>sysmail1 interrupt status register</comment>
  69699. </bits>
  69700. </reg>
  69701. <reg name="intmsr1" protect="r">
  69702. <bits access="r" name="interrupt1maskstatus" pos="31:0" rst="0">
  69703. <comment>sysmail1 interrupt mask status register</comment>
  69704. </bits>
  69705. </reg>
  69706. <hole size="64"/>
  69707. <reg name="intgr2" protect="rw">
  69708. <bits access="rw" name="interrupt2generate" pos="31:0" rst="0">
  69709. <comment>sysmail2 Interrupt generate register</comment>
  69710. </bits>
  69711. </reg>
  69712. <reg name="intstr2" protect="rw">
  69713. <bits access="rs" name="interrupt2bitset" pos="31:0" rst="0">
  69714. <comment>bit type is changed from ws to rs.
  69715. sysmail2 interrupt bit set register</comment>
  69716. </bits>
  69717. </reg>
  69718. <reg name="intcr2" protect="rw">
  69719. <bits access="rc" name="interrupt2bitclean" pos="31:0" rst="0">
  69720. <comment>bit type is changed from w1c to rc.
  69721. sysmail2 interrupt clean register</comment>
  69722. </bits>
  69723. </reg>
  69724. <reg name="intmr2" protect="rw">
  69725. <bits access="rw" name="interrupt2mask" pos="31:0" rst="0">
  69726. <comment>sysmail2 interrupt mask register</comment>
  69727. </bits>
  69728. </reg>
  69729. <reg name="intsr2" protect="r">
  69730. <bits access="r" name="interrupt2status" pos="31:0" rst="0">
  69731. <comment>sysmail2 interrupt status register</comment>
  69732. </bits>
  69733. </reg>
  69734. <reg name="intmsr2" protect="r">
  69735. <bits access="r" name="interrupt2maskstatus" pos="31:0" rst="0">
  69736. <comment>sysmail2 interrupt mask status register</comment>
  69737. </bits>
  69738. </reg>
  69739. <hole size="64"/>
  69740. <reg name="intgr3" protect="rw">
  69741. <bits access="rw" name="interrupt3generate" pos="31:0" rst="0">
  69742. <comment>sysmail3 Interrupt generate register</comment>
  69743. </bits>
  69744. </reg>
  69745. <reg name="intstr3" protect="rw">
  69746. <bits access="rs" name="interrupt3bitset" pos="31:0" rst="0">
  69747. <comment>bit type is changed from ws to rs.
  69748. sysmail3 interrupt bit set register</comment>
  69749. </bits>
  69750. </reg>
  69751. <reg name="intcr3" protect="rw">
  69752. <bits access="rc" name="interrupt3bitclean" pos="31:0" rst="0">
  69753. <comment>bit type is changed from w1c to rc.
  69754. sysmail3 interrupt clean register</comment>
  69755. </bits>
  69756. </reg>
  69757. <reg name="intmr3" protect="rw">
  69758. <bits access="rw" name="interrupt3mask" pos="31:0" rst="0">
  69759. <comment>sysmail3 interrupt mask register</comment>
  69760. </bits>
  69761. </reg>
  69762. <reg name="intsr3" protect="r">
  69763. <bits access="r" name="interrupt3status" pos="31:0" rst="0">
  69764. <comment>sysmail3 interrupt status register</comment>
  69765. </bits>
  69766. </reg>
  69767. <reg name="intmsr3" protect="r">
  69768. <bits access="r" name="interrupt3maskstatus" pos="31:0" rst="0">
  69769. <comment>sysmail3 interrupt mask status register</comment>
  69770. </bits>
  69771. </reg>
  69772. <hole size="64"/>
  69773. <reg name="intgr4" protect="rw">
  69774. <bits access="rw" name="interrupt4generate" pos="31:0" rst="0">
  69775. <comment>sysmail4 Interrupt generate register</comment>
  69776. </bits>
  69777. </reg>
  69778. <reg name="intstr4" protect="rw">
  69779. <bits access="rs" name="interrupt4bitset" pos="31:0" rst="0">
  69780. <comment>bit type is changed from ws to rs.
  69781. sysmail4 interrupt bit set register</comment>
  69782. </bits>
  69783. </reg>
  69784. <reg name="intcr4" protect="rw">
  69785. <bits access="rc" name="interrupt4bitclean" pos="31:0" rst="0">
  69786. <comment>bit type is changed from w1c to rc.
  69787. sysmail4 interrupt clean register</comment>
  69788. </bits>
  69789. </reg>
  69790. <reg name="intmr4" protect="rw">
  69791. <bits access="rw" name="interrupt4mask" pos="31:0" rst="0">
  69792. <comment>sysmail4 interrupt mask register</comment>
  69793. </bits>
  69794. </reg>
  69795. <reg name="intsr4" protect="r">
  69796. <bits access="r" name="interrupt4status" pos="31:0" rst="0">
  69797. <comment>sysmail4 interrupt status register</comment>
  69798. </bits>
  69799. </reg>
  69800. <reg name="intmsr4" protect="r">
  69801. <bits access="r" name="interrupt4maskstatus" pos="31:0" rst="0">
  69802. <comment>sysmail4 interrupt mask status register</comment>
  69803. </bits>
  69804. </reg>
  69805. <hole size="64"/>
  69806. <reg name="intgr5" protect="rw">
  69807. <bits access="rw" name="interrupt5generate" pos="31:0" rst="0">
  69808. <comment>sysmail5 Interrupt generate register</comment>
  69809. </bits>
  69810. </reg>
  69811. <reg name="intstr5" protect="rw">
  69812. <bits access="rs" name="interrupt5bitset" pos="31:0" rst="0">
  69813. <comment>bit type is changed from ws to rs.
  69814. sysmail5 interrupt bit set register</comment>
  69815. </bits>
  69816. </reg>
  69817. <reg name="intcr5" protect="rw">
  69818. <bits access="rc" name="interrupt5bitclean" pos="31:0" rst="0">
  69819. <comment>bit type is changed from w1c to rc.
  69820. sysmail5 interrupt clean register</comment>
  69821. </bits>
  69822. </reg>
  69823. <reg name="intmr5" protect="rw">
  69824. <bits access="rw" name="interrupt5mask" pos="31:0" rst="0">
  69825. <comment>sysmail5 interrupt mask register</comment>
  69826. </bits>
  69827. </reg>
  69828. <reg name="intsr5" protect="r">
  69829. <bits access="r" name="interrupt5status" pos="31:0" rst="0">
  69830. <comment>sysmail5 interrupt status register</comment>
  69831. </bits>
  69832. </reg>
  69833. <reg name="intmsr5" protect="r">
  69834. <bits access="r" name="interrupt5maskstatus" pos="31:0" rst="0">
  69835. <comment>sysmail5 interrupt mask status register</comment>
  69836. </bits>
  69837. </reg>
  69838. <hole size="576"/>
  69839. <reg name="sysmail0" protect="rw">
  69840. <bits access="rw" name="sysmail0" pos="31:0" rst="0">
  69841. </bits>
  69842. </reg>
  69843. <reg name="sysmail1" protect="rw">
  69844. <bits access="rw" name="sysmail1" pos="31:0" rst="0">
  69845. </bits>
  69846. </reg>
  69847. <reg name="sysmail2" protect="rw">
  69848. <bits access="rw" name="sysmail2" pos="31:0" rst="0">
  69849. </bits>
  69850. </reg>
  69851. <reg name="sysmail3" protect="rw">
  69852. <bits access="rw" name="sysmail3" pos="31:0" rst="0">
  69853. </bits>
  69854. </reg>
  69855. <reg name="sysmail4" protect="rw">
  69856. <bits access="rw" name="sysmail4" pos="31:0" rst="0">
  69857. </bits>
  69858. </reg>
  69859. <reg name="sysmail5" protect="rw">
  69860. <bits access="rw" name="sysmail5" pos="31:0" rst="0">
  69861. </bits>
  69862. </reg>
  69863. <reg name="sysmail6" protect="rw">
  69864. <bits access="rw" name="sysmail6" pos="31:0" rst="0">
  69865. </bits>
  69866. </reg>
  69867. <reg name="sysmail7" protect="rw">
  69868. <bits access="rw" name="sysmail7" pos="31:0" rst="0">
  69869. </bits>
  69870. </reg>
  69871. <reg name="sysmail8" protect="rw">
  69872. <bits access="rw" name="sysmail8" pos="31:0" rst="0">
  69873. </bits>
  69874. </reg>
  69875. <reg name="sysmail9" protect="rw">
  69876. <bits access="rw" name="sysmail9" pos="31:0" rst="0">
  69877. </bits>
  69878. </reg>
  69879. <reg name="sysmail10" protect="rw">
  69880. <bits access="rw" name="sysmail10" pos="31:0" rst="0">
  69881. </bits>
  69882. </reg>
  69883. <reg name="sysmail11" protect="rw">
  69884. <bits access="rw" name="sysmail11" pos="31:0" rst="0">
  69885. </bits>
  69886. </reg>
  69887. <reg name="sysmail12" protect="rw">
  69888. <bits access="rw" name="sysmail12" pos="31:0" rst="0">
  69889. </bits>
  69890. </reg>
  69891. <reg name="sysmail13" protect="rw">
  69892. <bits access="rw" name="sysmail13" pos="31:0" rst="0">
  69893. </bits>
  69894. </reg>
  69895. <reg name="sysmail14" protect="rw">
  69896. <bits access="rw" name="sysmail14" pos="31:0" rst="0">
  69897. </bits>
  69898. </reg>
  69899. <reg name="sysmail15" protect="rw">
  69900. <bits access="rw" name="sysmail15" pos="31:0" rst="0">
  69901. </bits>
  69902. </reg>
  69903. <reg name="sysmail16" protect="rw">
  69904. <bits access="rw" name="sysmail16" pos="31:0" rst="0">
  69905. </bits>
  69906. </reg>
  69907. <reg name="sysmail17" protect="rw">
  69908. <bits access="rw" name="sysmail17" pos="31:0" rst="0">
  69909. </bits>
  69910. </reg>
  69911. <reg name="sysmail18" protect="rw">
  69912. <bits access="rw" name="sysmail18" pos="31:0" rst="0">
  69913. </bits>
  69914. </reg>
  69915. <reg name="sysmail19" protect="rw">
  69916. <bits access="rw" name="sysmail19" pos="31:0" rst="0">
  69917. </bits>
  69918. </reg>
  69919. <reg name="sysmail20" protect="rw">
  69920. <bits access="rw" name="sysmail20" pos="31:0" rst="0">
  69921. </bits>
  69922. </reg>
  69923. <reg name="sysmail21" protect="rw">
  69924. <bits access="rw" name="sysmail21" pos="31:0" rst="0">
  69925. </bits>
  69926. </reg>
  69927. <reg name="sysmail22" protect="rw">
  69928. <bits access="rw" name="sysmail22" pos="31:0" rst="0">
  69929. </bits>
  69930. </reg>
  69931. <reg name="sysmail23" protect="rw">
  69932. <bits access="rw" name="sysmail23" pos="31:0" rst="0">
  69933. </bits>
  69934. </reg>
  69935. <reg name="sysmail24" protect="rw">
  69936. <bits access="rw" name="sysmail24" pos="31:0" rst="0">
  69937. </bits>
  69938. </reg>
  69939. <reg name="sysmail25" protect="rw">
  69940. <bits access="rw" name="sysmail25" pos="31:0" rst="0">
  69941. </bits>
  69942. </reg>
  69943. <reg name="sysmail26" protect="rw">
  69944. <bits access="rw" name="sysmail26" pos="31:0" rst="0">
  69945. </bits>
  69946. </reg>
  69947. <reg name="sysmail27" protect="rw">
  69948. <bits access="rw" name="sysmail27" pos="31:0" rst="0">
  69949. </bits>
  69950. </reg>
  69951. <reg name="sysmail28" protect="rw">
  69952. <bits access="rw" name="sysmail28" pos="31:0" rst="0">
  69953. </bits>
  69954. </reg>
  69955. <reg name="sysmail29" protect="rw">
  69956. <bits access="rw" name="sysmail29" pos="31:0" rst="0">
  69957. </bits>
  69958. </reg>
  69959. <reg name="sysmail30" protect="rw">
  69960. <bits access="rw" name="sysmail30" pos="31:0" rst="0">
  69961. </bits>
  69962. </reg>
  69963. <reg name="sysmail31" protect="rw">
  69964. <bits access="rw" name="sysmail31" pos="31:0" rst="0">
  69965. </bits>
  69966. </reg>
  69967. <hole size="1024"/>
  69968. <reg name="sysmail32" protect="rw">
  69969. <bits access="rw" name="sysmail32" pos="31:0" rst="0">
  69970. </bits>
  69971. </reg>
  69972. <reg name="sysmail33" protect="rw">
  69973. <bits access="rw" name="sysmail33" pos="31:0" rst="0">
  69974. </bits>
  69975. </reg>
  69976. <reg name="sysmail34" protect="rw">
  69977. <bits access="rw" name="sysmail34" pos="31:0" rst="0">
  69978. </bits>
  69979. </reg>
  69980. <reg name="sysmail35" protect="rw">
  69981. <bits access="rw" name="sysmail35" pos="31:0" rst="0">
  69982. </bits>
  69983. </reg>
  69984. <reg name="sysmail36" protect="rw">
  69985. <bits access="rw" name="sysmail36" pos="31:0" rst="0">
  69986. </bits>
  69987. </reg>
  69988. <reg name="sysmail37" protect="rw">
  69989. <bits access="rw" name="sysmail37" pos="31:0" rst="0">
  69990. </bits>
  69991. </reg>
  69992. <reg name="sysmail38" protect="rw">
  69993. <bits access="rw" name="sysmail38" pos="31:0" rst="0">
  69994. </bits>
  69995. </reg>
  69996. <reg name="sysmail39" protect="rw">
  69997. <bits access="rw" name="sysmail39" pos="31:0" rst="0">
  69998. </bits>
  69999. </reg>
  70000. <reg name="sysmail40" protect="rw">
  70001. <bits access="rw" name="sysmail40" pos="31:0" rst="0">
  70002. </bits>
  70003. </reg>
  70004. <reg name="sysmail41" protect="rw">
  70005. <bits access="rw" name="sysmail41" pos="31:0" rst="0">
  70006. </bits>
  70007. </reg>
  70008. <reg name="sysmail42" protect="rw">
  70009. <bits access="rw" name="sysmail42" pos="31:0" rst="0">
  70010. </bits>
  70011. </reg>
  70012. <reg name="sysmail43" protect="rw">
  70013. <bits access="rw" name="sysmail43" pos="31:0" rst="0">
  70014. </bits>
  70015. </reg>
  70016. <reg name="sysmail44" protect="rw">
  70017. <bits access="rw" name="sysmail44" pos="31:0" rst="0">
  70018. </bits>
  70019. </reg>
  70020. <reg name="sysmail45" protect="rw">
  70021. <bits access="rw" name="sysmail45" pos="31:0" rst="0">
  70022. </bits>
  70023. </reg>
  70024. <reg name="sysmail46" protect="rw">
  70025. <bits access="rw" name="sysmail46" pos="31:0" rst="0">
  70026. </bits>
  70027. </reg>
  70028. <reg name="sysmail47" protect="rw">
  70029. <bits access="rw" name="sysmail47" pos="31:0" rst="0">
  70030. </bits>
  70031. </reg>
  70032. <reg name="sysmail48" protect="rw">
  70033. <bits access="rw" name="sysmail48" pos="31:0" rst="0">
  70034. </bits>
  70035. </reg>
  70036. <reg name="sysmail49" protect="rw">
  70037. <bits access="rw" name="sysmail49" pos="31:0" rst="0">
  70038. </bits>
  70039. </reg>
  70040. <reg name="sysmail50" protect="rw">
  70041. <bits access="rw" name="sysmail50" pos="31:0" rst="0">
  70042. </bits>
  70043. </reg>
  70044. <reg name="sysmail51" protect="rw">
  70045. <bits access="rw" name="sysmail51" pos="31:0" rst="0">
  70046. </bits>
  70047. </reg>
  70048. <reg name="sysmail52" protect="rw">
  70049. <bits access="rw" name="sysmail52" pos="31:0" rst="0">
  70050. </bits>
  70051. </reg>
  70052. <reg name="sysmail53" protect="rw">
  70053. <bits access="rw" name="sysmail53" pos="31:0" rst="0">
  70054. </bits>
  70055. </reg>
  70056. <reg name="sysmail54" protect="rw">
  70057. <bits access="rw" name="sysmail54" pos="31:0" rst="0">
  70058. </bits>
  70059. </reg>
  70060. <reg name="sysmail55" protect="rw">
  70061. <bits access="rw" name="sysmail55" pos="31:0" rst="0">
  70062. </bits>
  70063. </reg>
  70064. <reg name="sysmail56" protect="rw">
  70065. <bits access="rw" name="sysmail56" pos="31:0" rst="0">
  70066. </bits>
  70067. </reg>
  70068. <reg name="sysmail57" protect="rw">
  70069. <bits access="rw" name="sysmail57" pos="31:0" rst="0">
  70070. </bits>
  70071. </reg>
  70072. <reg name="sysmail58" protect="rw">
  70073. <bits access="rw" name="sysmail58" pos="31:0" rst="0">
  70074. </bits>
  70075. </reg>
  70076. <reg name="sysmail59" protect="rw">
  70077. <bits access="rw" name="sysmail59" pos="31:0" rst="0">
  70078. </bits>
  70079. </reg>
  70080. <reg name="sysmail60" protect="rw">
  70081. <bits access="rw" name="sysmail60" pos="31:0" rst="0">
  70082. </bits>
  70083. </reg>
  70084. <reg name="sysmail61" protect="rw">
  70085. <bits access="rw" name="sysmail61" pos="31:0" rst="0">
  70086. </bits>
  70087. </reg>
  70088. <reg name="sysmail62" protect="rw">
  70089. <bits access="rw" name="sysmail62" pos="31:0" rst="0">
  70090. </bits>
  70091. </reg>
  70092. <reg name="sysmail63" protect="rw">
  70093. <bits access="rw" name="sysmail63" pos="31:0" rst="0">
  70094. </bits>
  70095. </reg>
  70096. <hole size="1024"/>
  70097. <reg name="sysmail64" protect="rw">
  70098. <bits access="rw" name="sysmail64" pos="31:0" rst="0">
  70099. </bits>
  70100. </reg>
  70101. <reg name="sysmail65" protect="rw">
  70102. <bits access="rw" name="sysmail65" pos="31:0" rst="0">
  70103. </bits>
  70104. </reg>
  70105. <reg name="sysmail66" protect="rw">
  70106. <bits access="rw" name="sysmail66" pos="31:0" rst="0">
  70107. </bits>
  70108. </reg>
  70109. <reg name="sysmail67" protect="rw">
  70110. <bits access="rw" name="sysmail67" pos="31:0" rst="0">
  70111. </bits>
  70112. </reg>
  70113. <reg name="sysmail68" protect="rw">
  70114. <bits access="rw" name="sysmail68" pos="31:0" rst="0">
  70115. </bits>
  70116. </reg>
  70117. <reg name="sysmail69" protect="rw">
  70118. <bits access="rw" name="sysmail69" pos="31:0" rst="0">
  70119. </bits>
  70120. </reg>
  70121. <reg name="sysmail70" protect="rw">
  70122. <bits access="rw" name="sysmail70" pos="31:0" rst="0">
  70123. </bits>
  70124. </reg>
  70125. <reg name="sysmail71" protect="rw">
  70126. <bits access="rw" name="sysmail71" pos="31:0" rst="0">
  70127. </bits>
  70128. </reg>
  70129. <reg name="sysmail72" protect="rw">
  70130. <bits access="rw" name="sysmail72" pos="31:0" rst="0">
  70131. </bits>
  70132. </reg>
  70133. <reg name="sysmail73" protect="rw">
  70134. <bits access="rw" name="sysmail73" pos="31:0" rst="0">
  70135. </bits>
  70136. </reg>
  70137. <reg name="sysmail74" protect="rw">
  70138. <bits access="rw" name="sysmail74" pos="31:0" rst="0">
  70139. </bits>
  70140. </reg>
  70141. <reg name="sysmail75" protect="rw">
  70142. <bits access="rw" name="sysmail75" pos="31:0" rst="0">
  70143. </bits>
  70144. </reg>
  70145. <reg name="sysmail76" protect="rw">
  70146. <bits access="rw" name="sysmail76" pos="31:0" rst="0">
  70147. </bits>
  70148. </reg>
  70149. <reg name="sysmail77" protect="rw">
  70150. <bits access="rw" name="sysmail77" pos="31:0" rst="0">
  70151. </bits>
  70152. </reg>
  70153. <reg name="sysmail78" protect="rw">
  70154. <bits access="rw" name="sysmail78" pos="31:0" rst="0">
  70155. </bits>
  70156. </reg>
  70157. <reg name="sysmail79" protect="rw">
  70158. <bits access="rw" name="sysmail79" pos="31:0" rst="0">
  70159. </bits>
  70160. </reg>
  70161. <reg name="sysmail80" protect="rw">
  70162. <bits access="rw" name="sysmail80" pos="31:0" rst="0">
  70163. </bits>
  70164. </reg>
  70165. <reg name="sysmail81" protect="rw">
  70166. <bits access="rw" name="sysmail81" pos="31:0" rst="0">
  70167. </bits>
  70168. </reg>
  70169. <reg name="sysmail82" protect="rw">
  70170. <bits access="rw" name="sysmail82" pos="31:0" rst="0">
  70171. </bits>
  70172. </reg>
  70173. <reg name="sysmail83" protect="rw">
  70174. <bits access="rw" name="sysmail83" pos="31:0" rst="0">
  70175. </bits>
  70176. </reg>
  70177. <reg name="sysmail84" protect="rw">
  70178. <bits access="rw" name="sysmail84" pos="31:0" rst="0">
  70179. </bits>
  70180. </reg>
  70181. <reg name="sysmail85" protect="rw">
  70182. <bits access="rw" name="sysmail85" pos="31:0" rst="0">
  70183. </bits>
  70184. </reg>
  70185. <reg name="sysmail86" protect="rw">
  70186. <bits access="rw" name="sysmail86" pos="31:0" rst="0">
  70187. </bits>
  70188. </reg>
  70189. <reg name="sysmail87" protect="rw">
  70190. <bits access="rw" name="sysmail87" pos="31:0" rst="0">
  70191. </bits>
  70192. </reg>
  70193. <reg name="sysmail88" protect="rw">
  70194. <bits access="rw" name="sysmail88" pos="31:0" rst="0">
  70195. </bits>
  70196. </reg>
  70197. <reg name="sysmail89" protect="rw">
  70198. <bits access="rw" name="sysmail89" pos="31:0" rst="0">
  70199. </bits>
  70200. </reg>
  70201. <reg name="sysmail90" protect="rw">
  70202. <bits access="rw" name="sysmail90" pos="31:0" rst="0">
  70203. </bits>
  70204. </reg>
  70205. <reg name="sysmail91" protect="rw">
  70206. <bits access="rw" name="sysmail91" pos="31:0" rst="0">
  70207. </bits>
  70208. </reg>
  70209. <reg name="sysmail92" protect="rw">
  70210. <bits access="rw" name="sysmail92" pos="31:0" rst="0">
  70211. </bits>
  70212. </reg>
  70213. <reg name="sysmail93" protect="rw">
  70214. <bits access="rw" name="sysmail93" pos="31:0" rst="0">
  70215. </bits>
  70216. </reg>
  70217. <reg name="sysmail94" protect="rw">
  70218. <bits access="rw" name="sysmail94" pos="31:0" rst="0">
  70219. </bits>
  70220. </reg>
  70221. <reg name="sysmail95" protect="rw">
  70222. <bits access="rw" name="sysmail95" pos="31:0" rst="0">
  70223. </bits>
  70224. </reg>
  70225. <hole size="1024"/>
  70226. <reg name="sysmail96" protect="rw">
  70227. <bits access="rw" name="sysmail96" pos="31:0" rst="0">
  70228. </bits>
  70229. </reg>
  70230. <reg name="sysmail97" protect="rw">
  70231. <bits access="rw" name="sysmail97" pos="31:0" rst="0">
  70232. </bits>
  70233. </reg>
  70234. <reg name="sysmail98" protect="rw">
  70235. <bits access="rw" name="sysmail98" pos="31:0" rst="0">
  70236. </bits>
  70237. </reg>
  70238. <reg name="sysmail99" protect="rw">
  70239. <bits access="rw" name="sysmail99" pos="31:0" rst="0">
  70240. </bits>
  70241. </reg>
  70242. <reg name="sysmail100" protect="rw">
  70243. <bits access="rw" name="sysmail100" pos="31:0" rst="0">
  70244. </bits>
  70245. </reg>
  70246. <reg name="sysmail101" protect="rw">
  70247. <bits access="rw" name="sysmail101" pos="31:0" rst="0">
  70248. </bits>
  70249. </reg>
  70250. <reg name="sysmail102" protect="rw">
  70251. <bits access="rw" name="sysmail102" pos="31:0" rst="0">
  70252. </bits>
  70253. </reg>
  70254. <reg name="sysmail103" protect="rw">
  70255. <bits access="rw" name="sysmail103" pos="31:0" rst="0">
  70256. </bits>
  70257. </reg>
  70258. <reg name="sysmail104" protect="rw">
  70259. <bits access="rw" name="sysmail104" pos="31:0" rst="0">
  70260. </bits>
  70261. </reg>
  70262. <reg name="sysmail105" protect="rw">
  70263. <bits access="rw" name="sysmail105" pos="31:0" rst="0">
  70264. </bits>
  70265. </reg>
  70266. <reg name="sysmail106" protect="rw">
  70267. <bits access="rw" name="sysmail106" pos="31:0" rst="0">
  70268. </bits>
  70269. </reg>
  70270. <reg name="sysmail107" protect="rw">
  70271. <bits access="rw" name="sysmail107" pos="31:0" rst="0">
  70272. </bits>
  70273. </reg>
  70274. <reg name="sysmail108" protect="rw">
  70275. <bits access="rw" name="sysmail108" pos="31:0" rst="0">
  70276. </bits>
  70277. </reg>
  70278. <reg name="sysmail109" protect="rw">
  70279. <bits access="rw" name="sysmail109" pos="31:0" rst="0">
  70280. </bits>
  70281. </reg>
  70282. <reg name="sysmail110" protect="rw">
  70283. <bits access="rw" name="sysmail110" pos="31:0" rst="0">
  70284. </bits>
  70285. </reg>
  70286. <reg name="sysmail111" protect="rw">
  70287. <bits access="rw" name="sysmail111" pos="31:0" rst="0">
  70288. </bits>
  70289. </reg>
  70290. <reg name="sysmail112" protect="rw">
  70291. <bits access="rw" name="sysmail112" pos="31:0" rst="0">
  70292. </bits>
  70293. </reg>
  70294. <reg name="sysmail113" protect="rw">
  70295. <bits access="rw" name="sysmail113" pos="31:0" rst="0">
  70296. </bits>
  70297. </reg>
  70298. <reg name="sysmail114" protect="rw">
  70299. <bits access="rw" name="sysmail114" pos="31:0" rst="0">
  70300. </bits>
  70301. </reg>
  70302. <reg name="sysmail115" protect="rw">
  70303. <bits access="rw" name="sysmail115" pos="31:0" rst="0">
  70304. </bits>
  70305. </reg>
  70306. <reg name="sysmail116" protect="rw">
  70307. <bits access="rw" name="sysmail116" pos="31:0" rst="0">
  70308. </bits>
  70309. </reg>
  70310. <reg name="sysmail117" protect="rw">
  70311. <bits access="rw" name="sysmail117" pos="31:0" rst="0">
  70312. </bits>
  70313. </reg>
  70314. <reg name="sysmail118" protect="rw">
  70315. <bits access="rw" name="sysmail118" pos="31:0" rst="0">
  70316. </bits>
  70317. </reg>
  70318. <reg name="sysmail119" protect="rw">
  70319. <bits access="rw" name="sysmail119" pos="31:0" rst="0">
  70320. </bits>
  70321. </reg>
  70322. <reg name="sysmail120" protect="rw">
  70323. <bits access="rw" name="sysmail120" pos="31:0" rst="0">
  70324. </bits>
  70325. </reg>
  70326. <reg name="sysmail121" protect="rw">
  70327. <bits access="rw" name="sysmail121" pos="31:0" rst="0">
  70328. </bits>
  70329. </reg>
  70330. <reg name="sysmail122" protect="rw">
  70331. <bits access="rw" name="sysmail122" pos="31:0" rst="0">
  70332. </bits>
  70333. </reg>
  70334. <reg name="sysmail123" protect="rw">
  70335. <bits access="rw" name="sysmail123" pos="31:0" rst="0">
  70336. </bits>
  70337. </reg>
  70338. <reg name="sysmail124" protect="rw">
  70339. <bits access="rw" name="sysmail124" pos="31:0" rst="0">
  70340. </bits>
  70341. </reg>
  70342. <reg name="sysmail125" protect="rw">
  70343. <bits access="rw" name="sysmail125" pos="31:0" rst="0">
  70344. </bits>
  70345. </reg>
  70346. <reg name="sysmail126" protect="rw">
  70347. <bits access="rw" name="sysmail126" pos="31:0" rst="0">
  70348. </bits>
  70349. </reg>
  70350. <reg name="sysmail127" protect="rw">
  70351. <bits access="rw" name="sysmail127" pos="31:0" rst="0">
  70352. </bits>
  70353. </reg>
  70354. <hole size="1024"/>
  70355. <reg name="sysmail128" protect="rw">
  70356. <bits access="rw" name="sysmail128" pos="31:0" rst="0">
  70357. </bits>
  70358. </reg>
  70359. <reg name="sysmail129" protect="rw">
  70360. <bits access="rw" name="sysmail129" pos="31:0" rst="0">
  70361. </bits>
  70362. </reg>
  70363. <reg name="sysmail130" protect="rw">
  70364. <bits access="rw" name="sysmail130" pos="31:0" rst="0">
  70365. </bits>
  70366. </reg>
  70367. <reg name="sysmail131" protect="rw">
  70368. <bits access="rw" name="sysmail131" pos="31:0" rst="0">
  70369. </bits>
  70370. </reg>
  70371. <reg name="sysmail132" protect="rw">
  70372. <bits access="rw" name="sysmail132" pos="31:0" rst="0">
  70373. </bits>
  70374. </reg>
  70375. <reg name="sysmail133" protect="rw">
  70376. <bits access="rw" name="sysmail133" pos="31:0" rst="0">
  70377. </bits>
  70378. </reg>
  70379. <reg name="sysmail134" protect="rw">
  70380. <bits access="rw" name="sysmail134" pos="31:0" rst="0">
  70381. </bits>
  70382. </reg>
  70383. <reg name="sysmail135" protect="rw">
  70384. <bits access="rw" name="sysmail135" pos="31:0" rst="0">
  70385. </bits>
  70386. </reg>
  70387. <reg name="sysmail136" protect="rw">
  70388. <bits access="rw" name="sysmail136" pos="31:0" rst="0">
  70389. </bits>
  70390. </reg>
  70391. <reg name="sysmail137" protect="rw">
  70392. <bits access="rw" name="sysmail137" pos="31:0" rst="0">
  70393. </bits>
  70394. </reg>
  70395. <reg name="sysmail138" protect="rw">
  70396. <bits access="rw" name="sysmail138" pos="31:0" rst="0">
  70397. </bits>
  70398. </reg>
  70399. <reg name="sysmail139" protect="rw">
  70400. <bits access="rw" name="sysmail139" pos="31:0" rst="0">
  70401. </bits>
  70402. </reg>
  70403. <reg name="sysmail140" protect="rw">
  70404. <bits access="rw" name="sysmail140" pos="31:0" rst="0">
  70405. </bits>
  70406. </reg>
  70407. <reg name="sysmail141" protect="rw">
  70408. <bits access="rw" name="sysmail141" pos="31:0" rst="0">
  70409. </bits>
  70410. </reg>
  70411. <reg name="sysmail142" protect="rw">
  70412. <bits access="rw" name="sysmail142" pos="31:0" rst="0">
  70413. </bits>
  70414. </reg>
  70415. <reg name="sysmail143" protect="rw">
  70416. <bits access="rw" name="sysmail143" pos="31:0" rst="0">
  70417. </bits>
  70418. </reg>
  70419. <reg name="sysmail144" protect="rw">
  70420. <bits access="rw" name="sysmail144" pos="31:0" rst="0">
  70421. </bits>
  70422. </reg>
  70423. <reg name="sysmail145" protect="rw">
  70424. <bits access="rw" name="sysmail145" pos="31:0" rst="0">
  70425. </bits>
  70426. </reg>
  70427. <reg name="sysmail146" protect="rw">
  70428. <bits access="rw" name="sysmail146" pos="31:0" rst="0">
  70429. </bits>
  70430. </reg>
  70431. <reg name="sysmail147" protect="rw">
  70432. <bits access="rw" name="sysmail147" pos="31:0" rst="0">
  70433. </bits>
  70434. </reg>
  70435. <reg name="sysmail148" protect="rw">
  70436. <bits access="rw" name="sysmail148" pos="31:0" rst="0">
  70437. </bits>
  70438. </reg>
  70439. <reg name="sysmail149" protect="rw">
  70440. <bits access="rw" name="sysmail149" pos="31:0" rst="0">
  70441. </bits>
  70442. </reg>
  70443. <reg name="sysmail150" protect="rw">
  70444. <bits access="rw" name="sysmail150" pos="31:0" rst="0">
  70445. </bits>
  70446. </reg>
  70447. <reg name="sysmail151" protect="rw">
  70448. <bits access="rw" name="sysmail151" pos="31:0" rst="0">
  70449. </bits>
  70450. </reg>
  70451. <reg name="sysmail152" protect="rw">
  70452. <bits access="rw" name="sysmail152" pos="31:0" rst="0">
  70453. </bits>
  70454. </reg>
  70455. <reg name="sysmail153" protect="rw">
  70456. <bits access="rw" name="sysmail153" pos="31:0" rst="0">
  70457. </bits>
  70458. </reg>
  70459. <reg name="sysmail154" protect="rw">
  70460. <bits access="rw" name="sysmail154" pos="31:0" rst="0">
  70461. </bits>
  70462. </reg>
  70463. <reg name="sysmail155" protect="rw">
  70464. <bits access="rw" name="sysmail155" pos="31:0" rst="0">
  70465. </bits>
  70466. </reg>
  70467. <reg name="sysmail156" protect="rw">
  70468. <bits access="rw" name="sysmail156" pos="31:0" rst="0">
  70469. </bits>
  70470. </reg>
  70471. <reg name="sysmail157" protect="rw">
  70472. <bits access="rw" name="sysmail157" pos="31:0" rst="0">
  70473. </bits>
  70474. </reg>
  70475. <reg name="sysmail158" protect="rw">
  70476. <bits access="rw" name="sysmail158" pos="31:0" rst="0">
  70477. </bits>
  70478. </reg>
  70479. <reg name="sysmail159" protect="rw">
  70480. <bits access="rw" name="sysmail159" pos="31:0" rst="0">
  70481. </bits>
  70482. </reg>
  70483. <hole size="1024"/>
  70484. <reg name="sysmail160" protect="rw">
  70485. <bits access="rw" name="sysmail160" pos="31:0" rst="0">
  70486. </bits>
  70487. </reg>
  70488. <reg name="sysmail161" protect="rw">
  70489. <bits access="rw" name="sysmail161" pos="31:0" rst="0">
  70490. </bits>
  70491. </reg>
  70492. <reg name="sysmail162" protect="rw">
  70493. <bits access="rw" name="sysmail162" pos="31:0" rst="0">
  70494. </bits>
  70495. </reg>
  70496. <reg name="sysmail163" protect="rw">
  70497. <bits access="rw" name="sysmail163" pos="31:0" rst="0">
  70498. </bits>
  70499. </reg>
  70500. <reg name="sysmail164" protect="rw">
  70501. <bits access="rw" name="sysmail164" pos="31:0" rst="0">
  70502. </bits>
  70503. </reg>
  70504. <reg name="sysmail165" protect="rw">
  70505. <bits access="rw" name="sysmail165" pos="31:0" rst="0">
  70506. </bits>
  70507. </reg>
  70508. <reg name="sysmail166" protect="rw">
  70509. <bits access="rw" name="sysmail166" pos="31:0" rst="0">
  70510. </bits>
  70511. </reg>
  70512. <reg name="sysmail167" protect="rw">
  70513. <bits access="rw" name="sysmail167" pos="31:0" rst="0">
  70514. </bits>
  70515. </reg>
  70516. <reg name="sysmail168" protect="rw">
  70517. <bits access="rw" name="sysmail168" pos="31:0" rst="0">
  70518. </bits>
  70519. </reg>
  70520. <reg name="sysmail169" protect="rw">
  70521. <bits access="rw" name="sysmail169" pos="31:0" rst="0">
  70522. </bits>
  70523. </reg>
  70524. <reg name="sysmail170" protect="rw">
  70525. <bits access="rw" name="sysmail170" pos="31:0" rst="0">
  70526. </bits>
  70527. </reg>
  70528. <reg name="sysmail171" protect="rw">
  70529. <bits access="rw" name="sysmail171" pos="31:0" rst="0">
  70530. </bits>
  70531. </reg>
  70532. <reg name="sysmail172" protect="rw">
  70533. <bits access="rw" name="sysmail172" pos="31:0" rst="0">
  70534. </bits>
  70535. </reg>
  70536. <reg name="sysmail173" protect="rw">
  70537. <bits access="rw" name="sysmail173" pos="31:0" rst="0">
  70538. </bits>
  70539. </reg>
  70540. <reg name="sysmail174" protect="rw">
  70541. <bits access="rw" name="sysmail174" pos="31:0" rst="0">
  70542. </bits>
  70543. </reg>
  70544. <reg name="sysmail175" protect="rw">
  70545. <bits access="rw" name="sysmail175" pos="31:0" rst="0">
  70546. </bits>
  70547. </reg>
  70548. <reg name="sysmail176" protect="rw">
  70549. <bits access="rw" name="sysmail176" pos="31:0" rst="0">
  70550. </bits>
  70551. </reg>
  70552. <reg name="sysmail177" protect="rw">
  70553. <bits access="rw" name="sysmail177" pos="31:0" rst="0">
  70554. </bits>
  70555. </reg>
  70556. <reg name="sysmail178" protect="rw">
  70557. <bits access="rw" name="sysmail178" pos="31:0" rst="0">
  70558. </bits>
  70559. </reg>
  70560. <reg name="sysmail179" protect="rw">
  70561. <bits access="rw" name="sysmail179" pos="31:0" rst="0">
  70562. </bits>
  70563. </reg>
  70564. <reg name="sysmail180" protect="rw">
  70565. <bits access="rw" name="sysmail180" pos="31:0" rst="0">
  70566. </bits>
  70567. </reg>
  70568. <reg name="sysmail181" protect="rw">
  70569. <bits access="rw" name="sysmail181" pos="31:0" rst="0">
  70570. </bits>
  70571. </reg>
  70572. <reg name="sysmail182" protect="rw">
  70573. <bits access="rw" name="sysmail182" pos="31:0" rst="0">
  70574. </bits>
  70575. </reg>
  70576. <reg name="sysmail183" protect="rw">
  70577. <bits access="rw" name="sysmail183" pos="31:0" rst="0">
  70578. </bits>
  70579. </reg>
  70580. <reg name="sysmail184" protect="rw">
  70581. <bits access="rw" name="sysmail184" pos="31:0" rst="0">
  70582. </bits>
  70583. </reg>
  70584. <reg name="sysmail185" protect="rw">
  70585. <bits access="rw" name="sysmail185" pos="31:0" rst="0">
  70586. </bits>
  70587. </reg>
  70588. <reg name="sysmail186" protect="rw">
  70589. <bits access="rw" name="sysmail186" pos="31:0" rst="0">
  70590. </bits>
  70591. </reg>
  70592. <reg name="sysmail187" protect="rw">
  70593. <bits access="rw" name="sysmail187" pos="31:0" rst="0">
  70594. </bits>
  70595. </reg>
  70596. <reg name="sysmail188" protect="rw">
  70597. <bits access="rw" name="sysmail188" pos="31:0" rst="0">
  70598. </bits>
  70599. </reg>
  70600. <reg name="sysmail189" protect="rw">
  70601. <bits access="rw" name="sysmail189" pos="31:0" rst="0">
  70602. </bits>
  70603. </reg>
  70604. <reg name="sysmail190" protect="rw">
  70605. <bits access="rw" name="sysmail190" pos="31:0" rst="0">
  70606. </bits>
  70607. </reg>
  70608. <reg name="sysmail191" protect="rw">
  70609. <bits access="rw" name="sysmail191" pos="31:0" rst="0">
  70610. </bits>
  70611. </reg>
  70612. </module>
  70613. </archive>
  70614. <archive relative="cp_clkrst.xml">
  70615. <module category="Bb_sysctrl" name="CP_CLKRST">
  70616. <reg name="clksel" protect="rw">
  70617. <bits access="rw" name="idle_h_sel" pos="5:4" rst="0">
  70618. <comment>clock select for module of IDLE_H:
  70619. 00: 122.88M clock
  70620. 01: 26M clock
  70621. 10: 61.44M clock
  70622. 11: 122.88M clock</comment>
  70623. </bits>
  70624. <bits access="rw" name="zsp_wd_sel" pos="3" rst="0">
  70625. <comment>clock select for module of ZSP_WD:
  70626. 0: 32K clock
  70627. 1: 26M clock</comment>
  70628. </bits>
  70629. <bits access="rw" name="bb_sysctrl_wd_sel" pos="2" rst="0">
  70630. <comment>clock select for module of BB_SYSCTRL_WD:
  70631. 0: 32K clock
  70632. 1: 26M clock</comment>
  70633. </bits>
  70634. <bits access="rw" name="slow_sel_480m" pos="1" rst="1">
  70635. <comment>clock select of 480M and SLOW:
  70636. 0: SLOW clock
  70637. 1: 480M clock</comment>
  70638. </bits>
  70639. <bits access="rw" name="slow_sel_122m" pos="0" rst="1">
  70640. <comment>clock select of 122M and SLOW:
  70641. 0: SLOW clock
  70642. 1: 122.88M clock</comment>
  70643. </bits>
  70644. </reg>
  70645. <reg name="clksel_set" protect="rw">
  70646. <bits access="rs" name="clkselset" pos="4:0" rst="0">
  70647. <comment>bit type is changed from w1s to rs.
  70648. set corresponding bits of CLKSEL register:
  70649. 0: Invariance of corresponding bits
  70650. 1: set 1 of corresponding bits</comment>
  70651. </bits>
  70652. </reg>
  70653. <reg name="clksel_clr" protect="rw">
  70654. <bits access="rc" name="clkselclear" pos="4:0" rst="0">
  70655. <comment>bit type is changed from w1c to rc.
  70656. clean corresponding bits of CLKSEL register:
  70657. 0: Invariance of corresponding bits
  70658. 1: clean of corresponding bits</comment>
  70659. </bits>
  70660. </reg>
  70661. <reg name="clkdiv_zsp" protect="rw">
  70662. <bits access="rw" name="zsp_cd" pos="3:0" rst="0">
  70663. <comment>ZSP and bus clock division:
  70664. 0: no clock division
  70665. 1: 1/16 clock division
  70666. 2: 2/16 clock division
  70667. F: 15/16 clock division</comment>
  70668. </bits>
  70669. </reg>
  70670. <reg name="clkdiv_lte" protect="rw">
  70671. <bits access="rw" name="lte_cd" pos="3:0" rst="0">
  70672. <comment>LTE accelerator function clock division:
  70673. 0: no clock division
  70674. 1: 1/16 clock division
  70675. 2: 2/16 clock division
  70676. F: 15/16 clock division</comment>
  70677. </bits>
  70678. </reg>
  70679. <reg name="clken_bb_sysctrl" protect="rw">
  70680. <bits access="rw" name="clken_cp_wd" pos="4" rst="0">
  70681. <comment>0: close
  70682. 1: open</comment>
  70683. </bits>
  70684. <bits access="rw" name="clken_idle" pos="3" rst="1">
  70685. <comment>0: close
  70686. 1: open</comment>
  70687. </bits>
  70688. <bits access="rw" name="clken_mailbox" pos="2" rst="0">
  70689. <comment>0: close
  70690. 1: open</comment>
  70691. </bits>
  70692. <bits access="rw" name="clken_pwrctrl" pos="1" rst="1">
  70693. <comment>0: close
  70694. 1: open</comment>
  70695. </bits>
  70696. <bits access="rw" name="clken_sysreg" pos="0" rst="0">
  70697. <comment>0: close
  70698. 1: open</comment>
  70699. </bits>
  70700. </reg>
  70701. <reg name="clken_bb_sysctrl_set" protect="rw">
  70702. <bits access="rs" name="clken_bb_sysctrlset" pos="4:0" rst="0">
  70703. <comment>bit type is changed from w1s to rs.
  70704. set corresponding bits of CLKEN_BB_SYSCTRL regsiter:
  70705. 0: Invariance of corresponding bits
  70706. 1: set 1 of corresponding bits</comment>
  70707. </bits>
  70708. </reg>
  70709. <reg name="clken_bb_sysctrl_clr" protect="rw">
  70710. <bits access="rc" name="clken_bb_sysctrlclear" pos="4:0" rst="0">
  70711. <comment>bit type is changed from w1c to rc.
  70712. clean corresponding bits of CLKSEL register
  70713. 0: Invariance of corresponding bits
  70714. 1: clean of corresponding bits</comment>
  70715. </bits>
  70716. </reg>
  70717. <reg name="clken_zsp" protect="rw">
  70718. <bits access="rw" name="clken_aud_dft" pos="5" rst="0">
  70719. <comment>0: close
  70720. 1: open</comment>
  70721. </bits>
  70722. <bits access="rw" name="clken_wd" pos="4" rst="0">
  70723. <comment>0: close
  70724. 1: open</comment>
  70725. </bits>
  70726. <bits access="rw" name="clken_busmon" pos="3" rst="0">
  70727. <comment>0: close
  70728. 1: open</comment>
  70729. </bits>
  70730. <bits access="rw" name="clken_zirq" pos="2" rst="0">
  70731. <comment>0: close
  70732. 1: open</comment>
  70733. </bits>
  70734. <bits access="rw" name="clken_axidma" pos="1" rst="0">
  70735. <comment>0: close
  70736. 1: open</comment>
  70737. </bits>
  70738. <bits access="rw" name="clken_zspcore" pos="0" rst="0">
  70739. <comment>0: close
  70740. 1: open</comment>
  70741. </bits>
  70742. </reg>
  70743. <reg name="clken_zsp_set" protect="rw">
  70744. <bits access="rs" name="clken_zspset" pos="5:0" rst="0">
  70745. <comment>bit type is changed from w1s to rs.
  70746. set corresponding bits of CLKEN_ZSP regsiter:
  70747. 0: Invariance of corresponding bits
  70748. 1: set &quot;1&quot; of corresponding bits</comment>
  70749. </bits>
  70750. </reg>
  70751. <reg name="clken_zsp_clr" protect="rw">
  70752. <bits access="rc" name="clken_zspclear" pos="5:0" rst="0">
  70753. <comment>bit type is changed from w1c to rc.
  70754. clean corresponding bits of CLKEN_ZSP register:
  70755. 0: Invariance of corresponding bits
  70756. 1: clean of corresponding bits</comment>
  70757. </bits>
  70758. </reg>
  70759. <reg name="clken_lte" protect="rw">
  70760. <bits access="rw" name="clken_rxcapt" pos="12" rst="0">
  70761. <comment>0: disable
  70762. 1: enable</comment>
  70763. </bits>
  70764. <bits access="rw" name="clken_rfad" pos="11" rst="0">
  70765. <comment>0: disable
  70766. 1: enable</comment>
  70767. </bits>
  70768. <bits access="rw" name="clken_dlfft" pos="10" rst="0">
  70769. <comment>0: disable
  70770. 1: enable</comment>
  70771. </bits>
  70772. <bits access="rw" name="clken_csirs" pos="9" rst="0">
  70773. <comment>0: disable
  70774. 1: enable</comment>
  70775. </bits>
  70776. <bits access="rw" name="clken_pusch" pos="8" rst="0">
  70777. <comment>0: disable
  70778. 1: enable</comment>
  70779. </bits>
  70780. <bits access="rw" name="clken_uldft" pos="7" rst="0">
  70781. <comment>0: disable
  70782. 1: enable</comment>
  70783. </bits>
  70784. <bits access="rw" name="clken_otdoa" pos="6" rst="0">
  70785. <comment>0: disable
  70786. 1: enable</comment>
  70787. </bits>
  70788. <bits access="rw" name="clken_iddet" pos="5" rst="0">
  70789. <comment>0: disable
  70790. 1: enable</comment>
  70791. </bits>
  70792. <bits access="rw" name="clken_measpwr" pos="4" rst="0">
  70793. <comment>0: disable
  70794. 1: enable</comment>
  70795. </bits>
  70796. <bits access="rw" name="clken_ldtc1" pos="3" rst="0">
  70797. <comment>0: disable
  70798. 1: enable</comment>
  70799. </bits>
  70800. <bits access="rw" name="clken_ldtc" pos="2" rst="0">
  70801. <comment>0: disable
  70802. 1: enable</comment>
  70803. </bits>
  70804. <bits access="rw" name="clken_coeff" pos="1" rst="0">
  70805. <comment>0: disable
  70806. 1: enable</comment>
  70807. </bits>
  70808. <bits access="rw" name="clken_txrx" pos="0" rst="0">
  70809. <comment>0: disable
  70810. 1: enable</comment>
  70811. </bits>
  70812. </reg>
  70813. <reg name="clken_lte_set" protect="rw">
  70814. <bits access="rs" name="clken_lteset" pos="12:0" rst="0">
  70815. <comment>bit type is changed from w1s to rs.
  70816. set corresponding bits of CLKEN_LTE register
  70817. 0: Invariance of corresponding bits
  70818. 1: set &quot;1&quot; of corresponding bits</comment>
  70819. </bits>
  70820. </reg>
  70821. <reg name="clken_lte_clr" protect="rw">
  70822. <bits access="rc" name="clken_lteclear" pos="12:0" rst="0">
  70823. <comment>bit type is changed from w1c to rc.
  70824. clean corresponding bits of CLKEN_LTE:
  70825. 0: Invariance of corresponding bits
  70826. 1: clean of corresponding bits</comment>
  70827. </bits>
  70828. </reg>
  70829. <reg name="clken_zspcore_mode" protect="rw">
  70830. <bits access="rw" name="mode" pos="0" rst="0">
  70831. <comment>0: ZSPCORE clock switch controlled by hardware
  70832. 1: ZSPCORE clock switch controlled by register</comment>
  70833. </bits>
  70834. </reg>
  70835. <reg name="clken_zsp_axidma_mode" protect="rw">
  70836. <bits access="rw" name="mode" pos="0" rst="0">
  70837. <comment>0: ZSP_AXIDMA clock switch controlled by hardware
  70838. 1: ZSP_AXIDMA clock switch controlled by register</comment>
  70839. </bits>
  70840. </reg>
  70841. <reg name="rstctrl_bb_sysctrl" protect="rw">
  70842. <bits access="rw" name="rstctrl_monitor" pos="5" rst="1">
  70843. <comment>0: reset
  70844. 1: no reset</comment>
  70845. </bits>
  70846. <bits access="rw" name="rstctrl_cp_wd" pos="4" rst="1">
  70847. <comment>0: reset
  70848. 1: no reset</comment>
  70849. </bits>
  70850. <bits access="rw" name="rstctrl_idle" pos="3" rst="1">
  70851. <comment>0: reset
  70852. 1: no reset</comment>
  70853. </bits>
  70854. <bits access="rw" name="rstctrl_mailbox" pos="2" rst="1">
  70855. <comment>0: reset
  70856. 1: no reset</comment>
  70857. </bits>
  70858. <bits access="rw" name="rstctrl_pwrctrl" pos="1" rst="1">
  70859. <comment>0: reset
  70860. 1: no reset</comment>
  70861. </bits>
  70862. <bits access="rw" name="rstctrl_sysreg" pos="0" rst="1">
  70863. <comment>0: reset
  70864. 1: no reset</comment>
  70865. </bits>
  70866. </reg>
  70867. <reg name="rstctrl_bb_sysctrl_set" protect="rw">
  70868. <bits access="rs" name="rstctrl_bb_sysctrlset" pos="5:0" rst="0">
  70869. <comment>bit type is changed from w1s to rs.
  70870. set corresponding bits of RSTCTRL_BB_SYSCTRL register:
  70871. 0: Invariance of corresponding bits
  70872. 1: set &quot;1&quot; of corresponding bits</comment>
  70873. </bits>
  70874. </reg>
  70875. <reg name="rstctrl_bb_sysctrl_clr" protect="rw">
  70876. <bits access="rc" name="rstctrl_bb_sysctrlclear" pos="5:0" rst="0">
  70877. <comment>bit type is changed from w1c to rc.
  70878. clean corresponding bits of RSTCTRL_BB_SYSCTRL:
  70879. 0: Invariance of corresponding bits
  70880. 1: set 1 of corresponding bits</comment>
  70881. </bits>
  70882. </reg>
  70883. <reg name="rstctrl_zsp" protect="rw">
  70884. <bits access="rw" name="rstctrl_aud_dft" pos="5" rst="1">
  70885. <comment>0: reset
  70886. 1: no reset</comment>
  70887. </bits>
  70888. <bits access="rw" name="rstctrl_wd" pos="4" rst="1">
  70889. <comment>0: reset
  70890. 1: no reset</comment>
  70891. </bits>
  70892. <bits access="rw" name="rstctrl_busmon" pos="3" rst="1">
  70893. <comment>0: reset
  70894. 1: no reset</comment>
  70895. </bits>
  70896. <bits access="rw" name="rstctrl_zirq" pos="2" rst="1">
  70897. <comment>0: reset
  70898. 1: no reset</comment>
  70899. </bits>
  70900. <bits access="rw" name="rstctrl_axidma" pos="1" rst="1">
  70901. <comment>0: reset
  70902. 1: no reset</comment>
  70903. </bits>
  70904. <bits access="rw" name="rstctrl_zspcore" pos="0" rst="1">
  70905. <comment>0: reset
  70906. 1: no reset</comment>
  70907. </bits>
  70908. </reg>
  70909. <reg name="rstctrl_zsp_set" protect="rw">
  70910. <bits access="rs" name="rstctrl_zspset" pos="5:0" rst="0">
  70911. <comment>bit type is changed from w1s to rs.
  70912. set corresponding bits of RSTCTRL_ZSP register:
  70913. 0: Invariance of corresponding bits
  70914. 1: set &quot;1&quot; of corresponding bits</comment>
  70915. </bits>
  70916. </reg>
  70917. <reg name="rstctrl_zsp_clr" protect="rw">
  70918. <bits access="rc" name="rstctrl_zspclear" pos="5:0" rst="0">
  70919. <comment>bit type is changed from w1c to rc.
  70920. clean corresponding bits of RSTCTRL_ZSP:
  70921. 0: Invariance of corresponding bits
  70922. 1: set &quot;1&quot; of corresponding bits</comment>
  70923. </bits>
  70924. </reg>
  70925. <reg name="rstctrl_lte" protect="rw">
  70926. <bits access="rw" name="rstctrl_rxcapt" pos="13" rst="1">
  70927. <comment>0: reset
  70928. 1: no reset</comment>
  70929. </bits>
  70930. <bits access="rw" name="rstctrl_rfad" pos="12" rst="1">
  70931. <comment>0: reset
  70932. 1: no reset</comment>
  70933. </bits>
  70934. <bits access="rw" name="rstctrl_dlfft" pos="11" rst="1">
  70935. <comment>0: reset
  70936. 1: no reset</comment>
  70937. </bits>
  70938. <bits access="rw" name="rstctrl_csirs" pos="10" rst="1">
  70939. <comment>0: reset
  70940. 1: no reset</comment>
  70941. </bits>
  70942. <bits access="rw" name="rstctrl_pusch" pos="9" rst="1">
  70943. <comment>0: reset
  70944. 1: no reset</comment>
  70945. </bits>
  70946. <bits access="rw" name="rstctrl_uldft" pos="8" rst="1">
  70947. <comment>0: reset
  70948. 1: no reset</comment>
  70949. </bits>
  70950. <bits access="rw" name="rstctrl_otdoa" pos="7" rst="1">
  70951. <comment>0: reset
  70952. 1: no reset</comment>
  70953. </bits>
  70954. <bits access="rw" name="rstctrl_iddet" pos="6" rst="1">
  70955. <comment>0: reset
  70956. 1: no reset</comment>
  70957. </bits>
  70958. <bits access="rw" name="rstctrl_measpwr" pos="5" rst="1">
  70959. <comment>0: reset
  70960. 1: no reset</comment>
  70961. </bits>
  70962. <bits access="rw" name="rstctrl_ldtc1" pos="4" rst="1">
  70963. <comment>0: reset
  70964. 1: no reset</comment>
  70965. </bits>
  70966. <bits access="rw" name="rstctrl_ldtc" pos="3" rst="1">
  70967. <comment>0: reset)
  70968. 1: no reset</comment>
  70969. </bits>
  70970. <bits access="rw" name="rstctrl_coeff" pos="2" rst="1">
  70971. <comment>0: reset
  70972. 1: no reset</comment>
  70973. </bits>
  70974. <bits access="rw" name="rstctrl_txrx_rx" pos="1" rst="1">
  70975. <comment>0: reset
  70976. 1: no reset</comment>
  70977. </bits>
  70978. <bits access="rw" name="rstctrl_txrx_tx" pos="0" rst="1">
  70979. <comment>0: reset
  70980. 1: no reset</comment>
  70981. </bits>
  70982. </reg>
  70983. <reg name="rstctrl_lte_set" protect="rw">
  70984. <bits access="rs" name="rstctrl_lteset" pos="13:0" rst="0">
  70985. <comment>bit type is changed from w1s to rs.
  70986. set corresponding bits of RSTCTRL_LTE register:
  70987. 0: Invariance of corresponding bits
  70988. 1: set &quot;1&quot; of corresponding bits</comment>
  70989. </bits>
  70990. </reg>
  70991. <reg name="rstctrl_lte_clr" protect="rw">
  70992. <bits access="rc" name="rstctrl_lteclear" pos="13:0" rst="0">
  70993. <comment>bit type is changed from w1c to rc.
  70994. clean corresponding bits of RSTCTRL_LTE:
  70995. 0: Invariance of corresponding bits
  70996. 1: clean corresponding bits</comment>
  70997. </bits>
  70998. </reg>
  70999. <reg name="zsp_soft_rst" protect="rw">
  71000. <bits access="rw" name="zsp_soft_rst_ctrl" pos="0" rst="1">
  71001. <comment>0: reset
  71002. 1: no reset</comment>
  71003. </bits>
  71004. </reg>
  71005. <reg name="lte_soft_rst" protect="rw">
  71006. <bits access="rw" name="lte_soft_rst_ctrl" pos="0" rst="1">
  71007. <comment>0: reset
  71008. 1: no reset</comment>
  71009. </bits>
  71010. </reg>
  71011. <reg name="zsp_axilpcnt" protect="rw">
  71012. <bits access="rw" name="cnt" pos="15:0" rst="0">
  71013. <comment>waiting time of bus entered low power model,calculated by bus clock</comment>
  71014. </bits>
  71015. </reg>
  71016. <reg name="zsp_buslpmc" protect="rw">
  71017. <bits access="rw" name="buslpmc_zspcore" pos="3" rst="0">
  71018. <comment>Control bit of ZSP_CORE DOMAIN low power model
  71019. 0: enable
  71020. 1: disable</comment>
  71021. </bits>
  71022. <bits access="rw" name="buslpmc_phy" pos="2" rst="0">
  71023. <comment>Control bit of PHY DOMAIN low power model
  71024. 0: enable
  71025. 1: disable</comment>
  71026. </bits>
  71027. <bits access="rw" name="buslpmc_sw2" pos="1" rst="0">
  71028. <comment>control bit of SWITCH2 DOMAIN low power model
  71029. 0: enable
  71030. 1: disable</comment>
  71031. </bits>
  71032. <bits access="rw" name="buslpmc_sw1" pos="0" rst="0">
  71033. <comment>control bit of SWITCH1 DOMAIN low power model:
  71034. 0: enable
  71035. 1: disable</comment>
  71036. </bits>
  71037. </reg>
  71038. <reg name="zsp_buslpmc_set" protect="rw">
  71039. <bits access="rs" name="zsp_buslpmcset" pos="3:0" rst="0">
  71040. <comment>bit type is changed from w1s to rs.
  71041. set corresponding bits of ZSP_BUSLPMC register
  71042. 0: Invariance of corresponding bits
  71043. 1: set &quot;1&quot; of corresponding bits</comment>
  71044. </bits>
  71045. </reg>
  71046. <reg name="zsp_buslpmc_clr" protect="rw">
  71047. <bits access="rc" name="zsp_buslpmcclear" pos="3:0" rst="0">
  71048. <comment>bit type is changed from w1c to rc.
  71049. clean corresponding bits of ZSP_BUSLPMC
  71050. 0: Invariance of corresponding bits
  71051. 1: clean corresponding bits</comment>
  71052. </bits>
  71053. </reg>
  71054. <reg name="zsp_busforcelpmc" protect="rw">
  71055. <bits access="rw" name="busforcelpmc_zspcore" pos="3" rst="0">
  71056. <comment>control bit of ZSPCORE force entering in low power model:
  71057. 0: disable
  71058. 1: enable</comment>
  71059. </bits>
  71060. <bits access="rw" name="busforcelpmc_phy" pos="2" rst="0">
  71061. <comment>control bit of PHY DOMAIN force entering in low power model:
  71062. 0: disable
  71063. 1: enable</comment>
  71064. </bits>
  71065. <bits access="rw" name="busforcelpmc_sw2" pos="1" rst="0">
  71066. <comment>control bit of SWITCH2 DOMAIN force entering in low power model:
  71067. 0: disable
  71068. 1: enable</comment>
  71069. </bits>
  71070. <bits access="rw" name="busforcelpmc_sw1" pos="0" rst="0">
  71071. <comment>control bit of SWITCH1 DOMAIN force entering in low power model:
  71072. 0: disable
  71073. 1: enable</comment>
  71074. </bits>
  71075. </reg>
  71076. <reg name="zsp_busforcelpmc_set" protect="rw">
  71077. <bits access="rs" name="zsp_busforcelpmcset" pos="3:0" rst="0">
  71078. <comment>bit type is changed from w1s to rs.
  71079. set corresponding bits of ZSP_BUSFORCELPMC:
  71080. 0: Invariance of corresponding bits
  71081. 1: clean corresponding bits</comment>
  71082. </bits>
  71083. </reg>
  71084. <reg name="zsp_busforcelpmc_clr" protect="rw">
  71085. <bits access="rc" name="zsp_busforcelpmcclear" pos="3:0" rst="0">
  71086. <comment>bit type is changed from w1c to rc.
  71087. clean corresponding bits of ZSP_BUSFORCELPMC:
  71088. 0: Invariance of corresponding bits
  71089. 1: clean corresponding bits</comment>
  71090. </bits>
  71091. </reg>
  71092. <reg name="clken_mailbox_mode" protect="rw">
  71093. <bits access="rw" name="mode" pos="0" rst="0">
  71094. <comment>0: MAILBOX clock switch controlled by hardware
  71095. 1: MAILBOX clock switch controlled by register</comment>
  71096. </bits>
  71097. </reg>
  71098. <reg name="clken_lte_intf" protect="rw">
  71099. <bits access="rw" name="clken_rxcapt_intf" pos="12" rst="0">
  71100. <comment>0: disable
  71101. 1: enable</comment>
  71102. </bits>
  71103. <bits access="rw" name="clken_rfad_intf" pos="11" rst="0">
  71104. <comment>0: disable
  71105. 1: enable</comment>
  71106. </bits>
  71107. <bits access="rw" name="clken_dlfft_intf" pos="10" rst="0">
  71108. <comment>0: disable
  71109. 1: enable</comment>
  71110. </bits>
  71111. <bits access="rw" name="clken_csirs_intf" pos="9" rst="0">
  71112. <comment>0: disable
  71113. 1: enable</comment>
  71114. </bits>
  71115. <bits access="rw" name="clken_pusch_intf" pos="8" rst="0">
  71116. <comment>0: disable
  71117. 1: enable</comment>
  71118. </bits>
  71119. <bits access="rw" name="clken_uldft_intf" pos="7" rst="0">
  71120. <comment>0: disable
  71121. 1: enable</comment>
  71122. </bits>
  71123. <bits access="rw" name="clken_otdoa_intf" pos="6" rst="0">
  71124. <comment>0: disable
  71125. 1: enable</comment>
  71126. </bits>
  71127. <bits access="rw" name="clken_iddet_intf" pos="5" rst="0">
  71128. <comment>0: disable
  71129. 1: enable</comment>
  71130. </bits>
  71131. <bits access="rw" name="clken_measpwr_intf" pos="4" rst="0">
  71132. <comment>0: disable
  71133. 1: enable</comment>
  71134. </bits>
  71135. <bits access="rw" name="clken_ldtc1_intf" pos="3" rst="0">
  71136. <comment>0: disable
  71137. 1: enable</comment>
  71138. </bits>
  71139. <bits access="rw" name="clken_ldtc_intf" pos="2" rst="0">
  71140. <comment>0: disable
  71141. 1: enable</comment>
  71142. </bits>
  71143. <bits access="rw" name="clken_coeff_intf" pos="1" rst="0">
  71144. <comment>0: disable
  71145. 1: enable</comment>
  71146. </bits>
  71147. <bits access="rw" name="clken_txrx_intf" pos="0" rst="0">
  71148. <comment>0: disable
  71149. 1: enable</comment>
  71150. </bits>
  71151. </reg>
  71152. <reg name="clken_lte_intf_set" protect="rw">
  71153. <bits access="rs" name="clken_lte_intfset" pos="12:0" rst="0">
  71154. <comment>bit type is changed from w1s to rs.
  71155. set corresponding bits of CLKEN_LTE_INTF register
  71156. 0: Invariance of corresponding bits
  71157. 1: set &quot;1&quot; of corresponding bits</comment>
  71158. </bits>
  71159. </reg>
  71160. <reg name="clken_lte_intf_clr" protect="rw">
  71161. <bits access="rc" name="clken_lte_intfclear" pos="12:0" rst="0">
  71162. <comment>bit type is changed from w1c to rc.
  71163. clean corresponding bits of CLKEN_LTE_INTF register
  71164. 0: Invariance of corresponding bits
  71165. 1: clean of corresponding bits</comment>
  71166. </bits>
  71167. </reg>
  71168. <reg name="lte_autogate_mode" protect="rw">
  71169. <bits access="rw" name="mode" pos="0" rst="0">
  71170. <comment>0: LTE module clock auto gating individual
  71171. 1: LTE modules invide into two parties : &quot;uplink&quot; and &quot;downlink&quot;, and auto gating individual</comment>
  71172. </bits>
  71173. </reg>
  71174. <reg name="lte_autogate_en" protect="rw">
  71175. <bits access="rw" name="uplink_intf_autogate_en" pos="27" rst="0">
  71176. <comment>0: disable
  71177. 1: enable</comment>
  71178. </bits>
  71179. <bits access="rw" name="downlink_intf_autogate_en" pos="26" rst="0">
  71180. <comment>0: disable
  71181. 1: enable</comment>
  71182. </bits>
  71183. <bits access="rw" name="uplink_func_autogate_en" pos="25" rst="0">
  71184. <comment>0: disable
  71185. 1: enable</comment>
  71186. </bits>
  71187. <bits access="rw" name="downlink_func_autogate_en" pos="24" rst="0">
  71188. <comment>0: disable
  71189. 1: enable</comment>
  71190. </bits>
  71191. <bits access="rw" name="dlfft_intf_autogate_en" pos="21" rst="0">
  71192. <comment>0: disable
  71193. 1: enable</comment>
  71194. </bits>
  71195. <bits access="rw" name="csirs_intf_autogate_en" pos="20" rst="0">
  71196. <comment>0: disable
  71197. 1: enable</comment>
  71198. </bits>
  71199. <bits access="rw" name="pusch_intf_autogate_en" pos="19" rst="0">
  71200. <comment>0: disable
  71201. 1: enable</comment>
  71202. </bits>
  71203. <bits access="rw" name="uldft_intf_autogate_en" pos="18" rst="0">
  71204. <comment>0: disable
  71205. 1: enable</comment>
  71206. </bits>
  71207. <bits access="rw" name="otdoa_intf_autogate_en" pos="17" rst="0">
  71208. <comment>0: disable
  71209. 1: enable</comment>
  71210. </bits>
  71211. <bits access="rw" name="iddet_intf_autogate_en" pos="16" rst="0">
  71212. <comment>0: disable
  71213. 1: enable</comment>
  71214. </bits>
  71215. <bits access="rw" name="measpwr_intf_autogate_en" pos="15" rst="0">
  71216. <comment>0: disable
  71217. 1: enable</comment>
  71218. </bits>
  71219. <bits access="rw" name="ldtc1_intf_autogate_en" pos="14" rst="0">
  71220. <comment>0: disable
  71221. 1: enable</comment>
  71222. </bits>
  71223. <bits access="rw" name="ldtc_intf_autogate_en" pos="13" rst="0">
  71224. <comment>0: disable
  71225. 1: enable</comment>
  71226. </bits>
  71227. <bits access="rw" name="coeff_intf_autogate_en" pos="12" rst="0">
  71228. <comment>0: disable
  71229. 1: enable</comment>
  71230. </bits>
  71231. <bits access="rw" name="txrx_intf_autogate_en" pos="11" rst="0">
  71232. <comment>0: disable
  71233. 1: enable</comment>
  71234. </bits>
  71235. <bits access="rw" name="dlfft_func_autogate_en" pos="10" rst="0">
  71236. <comment>0: disable
  71237. 1: enable</comment>
  71238. </bits>
  71239. <bits access="rw" name="csirs_func_autogate_en" pos="9" rst="0">
  71240. <comment>0: disable
  71241. 1: enable</comment>
  71242. </bits>
  71243. <bits access="rw" name="pusch_func_autogate_en" pos="8" rst="0">
  71244. <comment>0: disable
  71245. 1: enable</comment>
  71246. </bits>
  71247. <bits access="rw" name="uldft_func_autogate_en" pos="7" rst="0">
  71248. <comment>0: disable
  71249. 1: enable</comment>
  71250. </bits>
  71251. <bits access="rw" name="otdoa_func_autogate_en" pos="6" rst="0">
  71252. <comment>0: disable
  71253. 1: enable</comment>
  71254. </bits>
  71255. <bits access="rw" name="iddet_func_autogate_en" pos="5" rst="0">
  71256. <comment>0: disable
  71257. 1: enable</comment>
  71258. </bits>
  71259. <bits access="rw" name="measpwr_func_autogate_en" pos="4" rst="0">
  71260. <comment>0: disable
  71261. 1: enable</comment>
  71262. </bits>
  71263. <bits access="rw" name="ldtc1_func_autogate_en" pos="3" rst="0">
  71264. <comment>0: disable
  71265. 1: enable</comment>
  71266. </bits>
  71267. <bits access="rw" name="ldtc_func_autogate_en" pos="2" rst="0">
  71268. <comment>0: disable
  71269. 1: enable</comment>
  71270. </bits>
  71271. <bits access="rw" name="coeff_func_autogate_en" pos="1" rst="0">
  71272. <comment>0: disable
  71273. 1: enable</comment>
  71274. </bits>
  71275. <bits access="rw" name="txrx_func_autogate_en" pos="0" rst="0">
  71276. <comment>0: disable
  71277. 1: enable</comment>
  71278. </bits>
  71279. </reg>
  71280. <reg name="lte_autogate_en_set" protect="rw">
  71281. <bits access="rs" name="clken_lte_intfset" pos="27:0" rst="0">
  71282. <comment>bit type is changed from w1s to rs.
  71283. set corresponding bits of LTE_AUTOGATE_EN register
  71284. 0: Invariance of corresponding bits
  71285. 1: set &quot;1&quot; of corresponding bits</comment>
  71286. </bits>
  71287. </reg>
  71288. <reg name="lte_autogate_en_clr" protect="rw">
  71289. <bits access="rc" name="clken_lte_intfclear" pos="27:0" rst="0">
  71290. <comment>bit type is changed from w1c to rc.
  71291. clean corresponding bits of LTE_AUTOGATE_EN register
  71292. 0: Invariance of corresponding bits
  71293. 1: clean of corresponding bits</comment>
  71294. </bits>
  71295. </reg>
  71296. <reg name="lte_autogate_delay_num" protect="rw">
  71297. <bits access="rw" name="delaycounternumber" pos="7:0" rst="16">
  71298. <comment>When LTE autogating function enable, After module &quot;running&quot; signal was pull down, a counter begin to count from zero.LTE modules clock will be gated when the counter counts to this number value.</comment>
  71299. </bits>
  71300. </reg>
  71301. </module>
  71302. </archive>
  71303. <archive relative="cp_pwrctrl.xml">
  71304. <module category="Bb_sysctrl" name="CP_PWRCTRL">
  71305. <reg name="pwr_hwen" protect="rw">
  71306. <bits access="rw" name="aon_lp_pon_en" pos="6" rst="0">
  71307. <comment>AON_LP hardware power domain switch:
  71308. 1:AON_LP power domain switch controlled by hardware signal.
  71309. 0:AON_LP power domain switch controlled by regiser.</comment>
  71310. </bits>
  71311. <bits access="rw" name="btfm_pon_en" pos="5" rst="0">
  71312. <comment>BTFM hardware power domain switch:
  71313. 1:BTFM power domain switch controlled by hardware signal.
  71314. 0:BTFM power domain switch controlled by regiser.</comment>
  71315. </bits>
  71316. <bits access="rw" name="rf_pon_en" pos="4" rst="0">
  71317. <comment>RF hardware power domain switch:
  71318. 1:RF power domain switch controlled by hardware signal.
  71319. 0:RF power domain switch controlled by register.</comment>
  71320. </bits>
  71321. <bits access="rw" name="gge_pon_en" pos="3" rst="0">
  71322. <comment>GGE hardware power domian switch:
  71323. 1:GGE power domain switch controlled by hardware signal.
  71324. 0:GGEpower domain switch controlled by register.</comment>
  71325. </bits>
  71326. <bits access="rw" name="lte_pon_en" pos="2" rst="0">
  71327. <comment>LTE hardware power domain switch:
  71328. 1:LTE power domain switch controlled by hardware signal.
  71329. 0:LTE power domain switch controlled by register.</comment>
  71330. </bits>
  71331. <bits access="rw" name="zsp_pon_en" pos="1" rst="0">
  71332. <comment>ZSP hardware power domain switch:
  71333. 1:ZSP power domain switch controlled by hardware signal .
  71334. 0:ZSP power domain switch controlled by register.</comment>
  71335. </bits>
  71336. <bits access="rw" name="ap_pwr_en" pos="0" rst="1">
  71337. <comment>AP hardware power domain switch:
  71338. 1:AP power domain switch controlled by hardware signal.
  71339. 0:AP power domain switch controlled by register.</comment>
  71340. </bits>
  71341. </reg>
  71342. <reg name="ap_pwr_ctrl" protect="rw">
  71343. <bits access="rw" name="ap_pon" pos="1" rst="1">
  71344. <comment>AP power domain on:
  71345. 1:AP power domain on.
  71346. 0:after AP power domain on,hardware cleared.</comment>
  71347. </bits>
  71348. <bits access="rw" name="ap_poff" pos="0" rst="0">
  71349. <comment>AP power domain off:
  71350. 1:AP power domian off.
  71351. 0:after AP power domain off,hareware cleared.</comment>
  71352. </bits>
  71353. </reg>
  71354. <reg name="zsp_pwr_ctrl" protect="rw">
  71355. <bits access="rw" name="zsp_pon" pos="1" rst="0">
  71356. <comment>ZSP power domain on:
  71357. 1:ZSP power domain on.
  71358. 0:after ZSP power domain on,hardware cleared.</comment>
  71359. </bits>
  71360. <bits access="rw" name="zsp_poff" pos="0" rst="1">
  71361. <comment>ZSP power domain off:
  71362. 1:ZSP power domain off.
  71363. 0:after ZSP power domain off,hardware cleared.</comment>
  71364. </bits>
  71365. </reg>
  71366. <reg name="lte_pwr_ctrl" protect="rw">
  71367. <bits access="rw" name="lte_pon" pos="1" rst="0">
  71368. <comment>LTE power domain on:
  71369. 1:LTE power domain on.
  71370. 0:after LTE power domain on,hardware cleared.</comment>
  71371. </bits>
  71372. <bits access="rw" name="lte_poff" pos="0" rst="1">
  71373. <comment>LTE power domain off:
  71374. 1:LTE power domain off.
  71375. 0:after LTE power domain off,hardware cleared.</comment>
  71376. </bits>
  71377. </reg>
  71378. <reg name="gge_pwr_ctrl" protect="rw">
  71379. <bits access="rw" name="gge_pon" pos="1" rst="0">
  71380. <comment>GGE power domain on:
  71381. 1:GGE power domain on.
  71382. 0:after GGE power domain on,hardware cleared.</comment>
  71383. </bits>
  71384. <bits access="rw" name="gge_poff" pos="0" rst="1">
  71385. <comment>GGE power domain off:
  71386. 1:GGE power domain off.
  71387. 0:after GGE power domain off,hardware cleared.</comment>
  71388. </bits>
  71389. </reg>
  71390. <reg name="rf_pwr_ctrl" protect="rw">
  71391. <bits access="rw" name="rf_pon" pos="1" rst="1">
  71392. <comment>RF power domain on:
  71393. 1:RF power domain on.
  71394. 0:after RF power domain on,hardware cleared.</comment>
  71395. </bits>
  71396. <bits access="rw" name="rf_poff" pos="0" rst="0">
  71397. <comment>RF power domain off:
  71398. 1:RF power domain off.
  71399. 0:after RF power domain off,hardware cleared.</comment>
  71400. </bits>
  71401. </reg>
  71402. <reg name="btfm_pwr_ctrl" protect="rw">
  71403. <bits access="rw" name="btfm_pon" pos="1" rst="0">
  71404. <comment>BTFM power domain on:
  71405. 1:BTFM power domain on.
  71406. 0:after BTFM power domain on,hardware cleared.</comment>
  71407. </bits>
  71408. <bits access="rw" name="btfm_poff" pos="0" rst="1">
  71409. <comment>BTFM power domain off:
  71410. 1:BTFM power domain off.
  71411. 0:after BTFM power domain off,hardware cleared.</comment>
  71412. </bits>
  71413. </reg>
  71414. <reg name="aon_lp_pwr_ctrl" protect="rw">
  71415. <bits access="rw" name="aon_lp_pon" pos="1" rst="0">
  71416. <comment>AON_LP power domain on:
  71417. 1:AON_LP power domain on.
  71418. 0:after AON_LP power domain on,hardware cleared.</comment>
  71419. </bits>
  71420. <bits access="rw" name="aon_lp_poff" pos="0" rst="1">
  71421. <comment>AON_LP power domain off:
  71422. 1:AON_LP power domain off.
  71423. 0:after AON_LP power domain off,hardware cleared.</comment>
  71424. </bits>
  71425. </reg>
  71426. <reg name="ap_pwr_stat" protect="r">
  71427. <bits access="r" name="ap_stable" pos="1" rst="0">
  71428. <comment>AP power domain stable state:
  71429. 1:power domain stable.
  71430. 0:power domain unstable,in the power on/off of the middle state.</comment>
  71431. </bits>
  71432. <bits access="r" name="ap_pstat" pos="0" rst="0">
  71433. <comment>AP power domain current state:
  71434. 1:on
  71435. 0:off</comment>
  71436. </bits>
  71437. </reg>
  71438. <reg name="zsp_pwr_stat" protect="r">
  71439. <bits access="r" name="zsp_stable" pos="1" rst="0">
  71440. <comment>ZSP power domain stable state:
  71441. 1:power domain stable.
  71442. 0:power domain unstable,in the power on/off of the middle state.</comment>
  71443. </bits>
  71444. <bits access="r" name="zsp_pstat" pos="0" rst="0">
  71445. <comment>ZSP power domain current state:
  71446. 1:on
  71447. 0:off</comment>
  71448. </bits>
  71449. </reg>
  71450. <reg name="lte_pwr_stat" protect="r">
  71451. <bits access="r" name="lte_stable" pos="1" rst="0">
  71452. <comment>LTE power domain stable state:
  71453. 1:power domain stable.
  71454. 0:power domain unstable,in the power on/off of the middle state.</comment>
  71455. </bits>
  71456. <bits access="r" name="lte_pstat" pos="0" rst="0">
  71457. <comment>LTE power domain current state:
  71458. 1:on
  71459. 0:off</comment>
  71460. </bits>
  71461. </reg>
  71462. <reg name="gge_pwr_stat" protect="r">
  71463. <bits access="r" name="gge_stable" pos="1" rst="0">
  71464. <comment>GGE power domain stable state:
  71465. 1:power domain stable.
  71466. 0:power domain unstable,in the power on/off the middle state.</comment>
  71467. </bits>
  71468. <bits access="r" name="gge_pstat" pos="0" rst="0">
  71469. <comment>GGE power domain current state:
  71470. 1:on
  71471. 0:off</comment>
  71472. </bits>
  71473. </reg>
  71474. <reg name="rf_pwr_stat" protect="r">
  71475. <bits access="r" name="rf_stable" pos="1" rst="0">
  71476. <comment>RF power domain stable state:
  71477. 1:power domain stable.
  71478. 0:power domain unstable,in the power on/off the middle state.</comment>
  71479. </bits>
  71480. <bits access="r" name="rf_pstat" pos="0" rst="0">
  71481. <comment>RF power domain current state:
  71482. 1:on
  71483. 0:off</comment>
  71484. </bits>
  71485. </reg>
  71486. <reg name="btfm_pwr_stat" protect="r">
  71487. <bits access="r" name="btfm_stable" pos="1" rst="0">
  71488. <comment>BTFM power domain stable state:
  71489. 1:power domain stable.
  71490. 0:power domain unstable,in the power on/off the middle state.</comment>
  71491. </bits>
  71492. <bits access="r" name="btfm_pstat" pos="0" rst="0">
  71493. <comment>BTFM power domain current state:
  71494. 1:on
  71495. 0:off</comment>
  71496. </bits>
  71497. </reg>
  71498. <reg name="aon_lp_pwr_stat" protect="r">
  71499. <bits access="r" name="aon_lp_stable" pos="1" rst="0">
  71500. <comment>AON_LP power domain stable state:
  71501. 1:power domain stable.
  71502. 0:power domain unstable,in the power on/off the middle state.</comment>
  71503. </bits>
  71504. <bits access="r" name="aon_lp_pstat" pos="0" rst="0">
  71505. <comment>AON_LP power domain current state:
  71506. 1:on
  71507. 0:off</comment>
  71508. </bits>
  71509. </reg>
  71510. <reg name="state_delay" protect="rw">
  71511. <bits access="rw" name="delay" pos="7:0" rst="255">
  71512. <comment>power control state machine for Intermediate state delay value,use function clk count</comment>
  71513. </bits>
  71514. </reg>
  71515. <reg name="prepgc_delay" protect="rw">
  71516. <bits access="rw" name="delay" pos="15:0" rst="208">
  71517. <comment>power gating cell domain power-on of waiting time value,use function clk count.</comment>
  71518. </bits>
  71519. </reg>
  71520. <reg name="allpgc_delay" protect="rw">
  71521. <bits access="rw" name="delay" pos="15:0" rst="1280">
  71522. <comment>All of power gating cell power-on of waiting time value,use function clk count.</comment>
  71523. </bits>
  71524. </reg>
  71525. <reg name="ddr_hold_ctrl" protect="rw">
  71526. <bits access="rw" name="hold_ctrl" pos="0" rst="0">
  71527. <comment>0:release DDR port signals
  71528. 1:no release DDR port signals.This bit will be set &quot;1&quot; by hardware when AP power domain was shut-down.Software should write this bit to &quot;0&quot; after ddr initialization when AP wake-up from deep sleep.</comment>
  71529. </bits>
  71530. </reg>
  71531. <reg name="zsp_pd_poll" protect="rw">
  71532. <bits access="rw" name="zsp_poll" pos="2" rst="0">
  71533. <comment>1:vote for off ZSP power domain
  71534. 0:vote for on ZSP power domain</comment>
  71535. </bits>
  71536. <bits access="rw" name="cp_poll" pos="1" rst="0">
  71537. <comment>1:vote for off ZSP power domain
  71538. 0:vote for on ZSP power domain</comment>
  71539. </bits>
  71540. <bits access="rw" name="ap_poll" pos="0" rst="0">
  71541. <comment>1:vote for off ZSP power domain
  71542. 0:vote for on ZSP power domain</comment>
  71543. </bits>
  71544. </reg>
  71545. <reg name="zsp_pd_poll_set" protect="rw">
  71546. <bits access="rs" name="zsppollset" pos="2:0" rst="0">
  71547. <comment>bit type is changed from w1s to rs.
  71548. set corresponding bits of ZSP_PD_POLL
  71549. 0:Invariance of corresponding bits
  71550. 1:set 1 of corresponding bits</comment>
  71551. </bits>
  71552. </reg>
  71553. <reg name="zsp_pd_poll_clr" protect="rw">
  71554. <bits access="rc" name="zsppollclr" pos="2:0" rst="0">
  71555. <comment>bit type is changed from w1c to rc.
  71556. clean corresponding bits of ZSP_PD_POLL
  71557. 0:Invariance of corresponding bits
  71558. 1:clean corresponding bits</comment>
  71559. </bits>
  71560. </reg>
  71561. <hole size="448"/>
  71562. <reg name="wcn_lps" protect="rw">
  71563. <bits access="r" name="wcn2sys_sleep" pos="3" rst="0">
  71564. <comment>wcn2sys_sleep signal state</comment>
  71565. </bits>
  71566. <bits access="r" name="wcn2sys_osc_en" pos="2" rst="0">
  71567. <comment>wcn2sys_osc_en signal state</comment>
  71568. </bits>
  71569. <bits access="r" name="wcn2sys_wakeup" pos="1" rst="0">
  71570. <comment>wcn2sys_wakeup signal state</comment>
  71571. </bits>
  71572. <bits access="rw" name="sys2wcn_wakeup" pos="0" rst="0">
  71573. <comment>control WCN sub_system of awake siganl:sys2wcn_awake</comment>
  71574. </bits>
  71575. </reg>
  71576. <reg name="arm_slp_req_sw" protect="rw">
  71577. <bits access="rw" name="armslpreq" pos="0" rst="0">
  71578. <comment>when this bit set &quot;1&quot;,the hardware signal arm_slp_req will enter in ARM sub_system ,force ARM's AXI bus enter LP model.
  71579. 0:normal work
  71580. 1:SLEEP request</comment>
  71581. </bits>
  71582. </reg>
  71583. <reg name="arm_slp_ack" protect="r">
  71584. <bits access="r" name="armslpack" pos="0" rst="1">
  71585. <comment>the work status of AXI bus in ARM sub_system .
  71586. 0:normal work
  71587. 1:low_power state</comment>
  71588. </bits>
  71589. </reg>
  71590. <reg name="arm_slp_req_hwen" protect="rw">
  71591. <bits access="rw" name="armslpreq_hwen" pos="0" rst="1">
  71592. <comment>0:the hardware signal arm_slp_req controlled by ARM_SLP_REQ_SW register,and pwrctrl status is bypass.
  71593. 1:pwrctrl status controlled by the hardware signal of arm_slp_req.</comment>
  71594. </bits>
  71595. </reg>
  71596. <reg name="zsp_slp_req_sw" protect="rw">
  71597. <bits access="rw" name="zspslpreq" pos="0" rst="0">
  71598. <comment>when this bit set &quot;1&quot;,zsp_slp_req signal will enter in ZSP sub_system ,force ZSP's AXI bus enter in LP model. Before ZSP sub_system software reset,need this bit set &quot;1&quot;,and wait ZSP_SLP_ACK register to be &quot;1&quot;.after ZSP sub_system reset,should set this bit &quot;0&quot;,so that ZSP bus can normal work.
  71599. 0:normal work
  71600. 1:SLEEP request</comment>
  71601. </bits>
  71602. </reg>
  71603. <reg name="zsp_slp_ack" protect="r">
  71604. <bits access="r" name="zspslpack" pos="0" rst="0">
  71605. <comment>the status of AXI bus in ZSP sub_system.
  71606. 0:normal work
  71607. 1:low_power state</comment>
  71608. </bits>
  71609. </reg>
  71610. <reg name="zsp_slp_req_hwen" protect="rw">
  71611. <bits access="rw" name="zspslpreq_hwen" pos="0" rst="1">
  71612. <comment>0:zsp_slp_req signal controlled by ZSP_SLP_REQ_SW register,and pwrctrl status is bypass.
  71613. 1: pwrctrl status controlled by the hareware signal of zsp_slp_req</comment>
  71614. </bits>
  71615. </reg>
  71616. <reg name="ddr_slp_req_sw" protect="rw">
  71617. <bits access="rw" name="ddrslpreq" pos="0" rst="0">
  71618. <comment>when this bit set &quot;1&quot;,ddr_slp_req hardware signal will enter in ARM sub_system,force DDR enter in self refresh.
  71619. 0:normal work
  71620. 1:SLEEP request</comment>
  71621. </bits>
  71622. </reg>
  71623. <reg name="ddr_slp_ack" protect="r">
  71624. <bits access="r" name="ddrslpack" pos="0" rst="0">
  71625. <comment>DDR work status
  71626. 0:normal work status
  71627. 1:low_power(self_refresh)state</comment>
  71628. </bits>
  71629. </reg>
  71630. <reg name="ddr_slp_req_hwen" protect="rw">
  71631. <bits access="rw" name="ddrslpreq_hwen" pos="0" rst="1">
  71632. <comment>0:ddr_slp_req is the hardware signal controlled by DDR_SLP_REQ_SW register,and pwrctrl corresponding status is bypass.
  71633. 1:pwrctrl status controlled by the hareware signal of ddr_slp_req</comment>
  71634. </bits>
  71635. </reg>
  71636. <reg name="timeout_flag" protect="rw">
  71637. <bits access="rw" name="ddrslptimeout" pos="2" rst="0">
  71638. <comment>0:normal work
  71639. 1:DDR sleep request time out</comment>
  71640. </bits>
  71641. <bits access="rw" name="zspbusslptimeout" pos="1" rst="0">
  71642. <comment>0:normal work
  71643. 1:ZSP bus sleep request time out</comment>
  71644. </bits>
  71645. <bits access="rw" name="armbusslptimeout" pos="0" rst="0">
  71646. <comment>0:normal work
  71647. 1:ARM bus sleep request time out</comment>
  71648. </bits>
  71649. </reg>
  71650. <reg name="power_state" protect="r">
  71651. <bits access="r" name="corepowerstate" pos="31:28" rst="0">
  71652. <comment>power domain auto control state machine status</comment>
  71653. </bits>
  71654. <bits access="r" name="aonlppowerstate" pos="27:24" rst="0">
  71655. <comment>AON_LP power domain state of machine status</comment>
  71656. </bits>
  71657. <bits access="r" name="btfmpowerstate" pos="23:20" rst="0">
  71658. <comment>BTFM power domain state of machine status</comment>
  71659. </bits>
  71660. <bits access="r" name="rfpowerstate" pos="19:16" rst="0">
  71661. <comment>RF power domain state of machine status</comment>
  71662. </bits>
  71663. <bits access="r" name="ggepowerstate" pos="15:12" rst="0">
  71664. <comment>GGE power domain state of machine status</comment>
  71665. </bits>
  71666. <bits access="r" name="ltepowerstate" pos="11:8" rst="0">
  71667. <comment>LTE power domain state of machine status</comment>
  71668. </bits>
  71669. <bits access="r" name="zsppowerstate" pos="7:4" rst="0">
  71670. <comment>ZSP power domain state of machine status</comment>
  71671. </bits>
  71672. <bits access="r" name="armpowerstate" pos="3:0" rst="0">
  71673. <comment>ARM power domain state of machine status</comment>
  71674. </bits>
  71675. </reg>
  71676. <reg name="pwrctrl_mode" protect="rw">
  71677. <bits access="rw" name="pwr_mode" pos="0" rst="1">
  71678. <comment>0:power domain control siganl conrtolled by related bit of PWRCTRL_SW register
  71679. 1:power domain conrtol signal conrtolled by hardware signal of PWRCTRL</comment>
  71680. </bits>
  71681. </reg>
  71682. <reg name="pwrctrl_sw" protect="rw">
  71683. <bits access="rw" name="btfm_pwr_ctrl" pos="29" rst="0">
  71684. <comment>btfm_pwr_ctrl</comment>
  71685. </bits>
  71686. <bits access="rw" name="btfm_pwr_ctrl_pre" pos="28" rst="0">
  71687. <comment>btfm_pwr_ctrl_pre</comment>
  71688. </bits>
  71689. <bits access="rw" name="btfm_hold" pos="27" rst="1">
  71690. <comment>btfm_hold</comment>
  71691. </bits>
  71692. <bits access="rw" name="btfm_rst_ctrl" pos="26" rst="0">
  71693. <comment>btfm_rst_ctrl</comment>
  71694. </bits>
  71695. <bits access="rw" name="btfm_clk_ctrl" pos="25" rst="0">
  71696. <comment>btfm_clk_ctrl</comment>
  71697. </bits>
  71698. <bits access="rw" name="rf_pwr_ctrl" pos="24" rst="1">
  71699. <comment>rf_pwr_ctrl</comment>
  71700. </bits>
  71701. <bits access="rw" name="rf_pwr_ctrl_pre" pos="23" rst="1">
  71702. <comment>rf_pwr_ctrl_pre</comment>
  71703. </bits>
  71704. <bits access="rw" name="rf_hold" pos="22" rst="1">
  71705. <comment>rf_hold</comment>
  71706. </bits>
  71707. <bits access="rw" name="rf_rst_ctrl" pos="21" rst="0">
  71708. <comment>rf_rst_ctrl</comment>
  71709. </bits>
  71710. <bits access="rw" name="rf_clk_ctrl" pos="20" rst="0">
  71711. <comment>rf_clk_ctrl</comment>
  71712. </bits>
  71713. <bits access="rw" name="gge_pwr_ctrl" pos="19" rst="0">
  71714. <comment>gge_pwr_ctrl</comment>
  71715. </bits>
  71716. <bits access="rw" name="gge_pwr_ctrl_pre" pos="18" rst="0">
  71717. <comment>gge_pwr_ctrl_pre</comment>
  71718. </bits>
  71719. <bits access="rw" name="gge_hold" pos="17" rst="1">
  71720. <comment>gge_hold</comment>
  71721. </bits>
  71722. <bits access="rw" name="gge_rst_ctrl" pos="16" rst="0">
  71723. <comment>gge_rst_ctrl</comment>
  71724. </bits>
  71725. <bits access="rw" name="gge_clk_ctrl" pos="15" rst="0">
  71726. <comment>gge_clk_ctrl</comment>
  71727. </bits>
  71728. <bits access="rw" name="lte_pwr_ctrl" pos="14" rst="0">
  71729. <comment>lte_pwr_ctrl</comment>
  71730. </bits>
  71731. <bits access="rw" name="lte_pwr_ctrl_pre" pos="13" rst="0">
  71732. <comment>lte_pwr_ctrl_pre</comment>
  71733. </bits>
  71734. <bits access="rw" name="lte_hold" pos="12" rst="1">
  71735. <comment>lte_hold</comment>
  71736. </bits>
  71737. <bits access="rw" name="lte_rst_ctrl" pos="11" rst="0">
  71738. <comment>lte_rst_ctrl</comment>
  71739. </bits>
  71740. <bits access="rw" name="lte_clk_ctrl" pos="10" rst="0">
  71741. <comment>lte_clk_ctrl</comment>
  71742. </bits>
  71743. <bits access="rw" name="zsp_pwr_ctrl" pos="9" rst="0">
  71744. <comment>zsp_pwr_ctrl</comment>
  71745. </bits>
  71746. <bits access="rw" name="zsp_pwr_ctrl_pre" pos="8" rst="0">
  71747. <comment>zsp_pwr_ctrl_pre</comment>
  71748. </bits>
  71749. <bits access="rw" name="zsp_hold" pos="7" rst="1">
  71750. <comment>zsp_hold</comment>
  71751. </bits>
  71752. <bits access="rw" name="zsp_rst_ctrl" pos="6" rst="0">
  71753. <comment>zsp_rst_ctrl</comment>
  71754. </bits>
  71755. <bits access="rw" name="zsp_clk_ctrl" pos="5" rst="0">
  71756. <comment>zsp_clk_ctrl</comment>
  71757. </bits>
  71758. <bits access="rw" name="ap_pwr_ctrl" pos="4" rst="1">
  71759. <comment>ap_pwr_ctrl</comment>
  71760. </bits>
  71761. <bits access="rw" name="ap_pwr_ctrl_pre" pos="3" rst="1">
  71762. <comment>ap_pwr_ctrl_pre</comment>
  71763. </bits>
  71764. <bits access="rw" name="ap_hold" pos="2" rst="1">
  71765. <comment>ap_hold</comment>
  71766. </bits>
  71767. <bits access="rw" name="ap_rst_ctrl" pos="1" rst="0">
  71768. <comment>ap_rst_ctrl</comment>
  71769. </bits>
  71770. <bits access="rw" name="ap_clk_ctrl" pos="0" rst="0">
  71771. <comment>ap_clk_ctrl</comment>
  71772. </bits>
  71773. </reg>
  71774. <reg name="pwrctrl_sw_set" protect="rw">
  71775. <bits access="rs" name="set" pos="29:0" rst="0">
  71776. <comment>bit type is changed from w1s to rs.
  71777. set corresponding bits of PWRCTRL_SW
  71778. 0:Invariance of corresponding bits
  71779. 1:set 1 of corresponding bits</comment>
  71780. </bits>
  71781. </reg>
  71782. <reg name="pwrctrl_sw_clr" protect="rw">
  71783. <bits access="rc" name="clear" pos="29:0" rst="0">
  71784. <comment>bit type is changed from w1c to rc.
  71785. clean corresponding bits of PWRCTRL_SW
  71786. 0:Invariance of corresponding bits
  71787. 1:clean corresponding bits</comment>
  71788. </bits>
  71789. </reg>
  71790. <reg name="pwrctrl_sw1" protect="rw">
  71791. <bits access="rw" name="aon_lp_pwr_ctrl" pos="4" rst="1">
  71792. <comment>aon_lp_pwr_ctrl</comment>
  71793. </bits>
  71794. <bits access="rw" name="aon_lp_pwr_ctrl_pre" pos="3" rst="1">
  71795. <comment>aon_lp_pwr_ctrl_pre</comment>
  71796. </bits>
  71797. <bits access="rw" name="aon_lp_hold" pos="2" rst="1">
  71798. <comment>aon_lp_hold</comment>
  71799. </bits>
  71800. <bits access="rw" name="aon_lp_rst_ctrl" pos="1" rst="0">
  71801. <comment>aon_lp_rst_ctrl</comment>
  71802. </bits>
  71803. <bits access="rw" name="aon_lp_clk_ctrl" pos="0" rst="0">
  71804. <comment>aon_lp_clk_ctrl</comment>
  71805. </bits>
  71806. </reg>
  71807. <reg name="pwrctrl_sw1_set" protect="rw">
  71808. <bits access="rs" name="set" pos="4:0" rst="0">
  71809. <comment>bit type is changed from w1s to rs.
  71810. set corresponding bits of PWRCTRL_SW
  71811. 0:Invariance of corresponding bits
  71812. 1:set 1 of corresponding bits</comment>
  71813. </bits>
  71814. </reg>
  71815. <reg name="pwrctrl_sw1_clr" protect="rw">
  71816. <bits access="rc" name="clear" pos="4:0" rst="0">
  71817. <comment>bit type is changed from w1c to rc.
  71818. clean corresponding bits of PWRCTRL_SW1
  71819. 0:Invariance of corresponding bits
  71820. 1:clean corresponding bits</comment>
  71821. </bits>
  71822. </reg>
  71823. </module>
  71824. </archive>
  71825. <archive relative="cp_sysreg.xml">
  71826. <module category="Bb_sysctrl" name="CP_SYSREG">
  71827. <reg name="zsp_svtaddr" protect="rw">
  71828. <bits access="rw" name="svtaddr" pos="31:8" rst="1048576">
  71829. <comment>Interrupt vector entry address</comment>
  71830. </bits>
  71831. </reg>
  71832. <reg name="mem_ema_cfg_zsp" protect="rw">
  71833. <bits access="rw" name="rftpd_rmb" pos="29:26" rst="2">
  71834. <comment>RFTPD type EMA signal</comment>
  71835. </bits>
  71836. <bits access="rw" name="rftpd_rmeb" pos="25" rst="0">
  71837. <comment>RFTPD type EMA signal</comment>
  71838. </bits>
  71839. <bits access="rw" name="rftpd_rma" pos="24:21" rst="2">
  71840. <comment>RFTPD type EMA signal</comment>
  71841. </bits>
  71842. <bits access="rw" name="rftpd_rmea" pos="20" rst="0">
  71843. <comment>RFTPD type EMA signal</comment>
  71844. </bits>
  71845. <bits access="rw" name="rfspd_rm" pos="19:16" rst="2">
  71846. <comment>RASPD type EMA signal</comment>
  71847. </bits>
  71848. <bits access="rw" name="rfspd_rme" pos="15" rst="0">
  71849. <comment>RASPD type EMA signal</comment>
  71850. </bits>
  71851. <bits access="rw" name="raspu_rm" pos="14:11" rst="2">
  71852. <comment>RASPU type EMA signal</comment>
  71853. </bits>
  71854. <bits access="rw" name="raspu_rme" pos="10" rst="0">
  71855. <comment>RASPU type EMA signal</comment>
  71856. </bits>
  71857. <bits access="rw" name="radpd_rmb" pos="9:6" rst="2">
  71858. <comment>RADPD type EMA signal</comment>
  71859. </bits>
  71860. <bits access="rw" name="radpd_rmeb" pos="5" rst="0">
  71861. <comment>RADPD type EMA signal</comment>
  71862. </bits>
  71863. <bits access="rw" name="radpd_rma" pos="4:1" rst="2">
  71864. <comment>RADPD type EMA signal</comment>
  71865. </bits>
  71866. <bits access="rw" name="radpd_rmea" pos="0" rst="0">
  71867. <comment>RADPD type EMA signal</comment>
  71868. </bits>
  71869. </reg>
  71870. <reg name="mem_ema_cfg_lte" protect="rw">
  71871. <bits access="rw" name="rftpd_rmb" pos="29:26" rst="2">
  71872. <comment>RFTPD type EMA signal</comment>
  71873. </bits>
  71874. <bits access="rw" name="rftpd_rmeb" pos="25" rst="0">
  71875. <comment>RFTPD type EMA signal</comment>
  71876. </bits>
  71877. <bits access="rw" name="rftpd_rma" pos="24:21" rst="2">
  71878. <comment>RFTPD type EMA signal</comment>
  71879. </bits>
  71880. <bits access="rw" name="rftpd_rmea" pos="20" rst="0">
  71881. <comment>RFTPD type EMA signal</comment>
  71882. </bits>
  71883. <bits access="rw" name="rfspd_rm" pos="19:16" rst="2">
  71884. <comment>RASPD type EMA signal</comment>
  71885. </bits>
  71886. <bits access="rw" name="rfspd_rme" pos="15" rst="0">
  71887. <comment>RASPD type EMA signal</comment>
  71888. </bits>
  71889. <bits access="rw" name="raspu_rm" pos="14:11" rst="2">
  71890. <comment>RASPU type EMA signal</comment>
  71891. </bits>
  71892. <bits access="rw" name="raspu_rme" pos="10" rst="0">
  71893. <comment>RASPU type EMA signal</comment>
  71894. </bits>
  71895. <bits access="rw" name="radpd_rmb" pos="9:6" rst="2">
  71896. <comment>RADPD type EMA signal</comment>
  71897. </bits>
  71898. <bits access="rw" name="radpd_rmeb" pos="5" rst="0">
  71899. <comment>RADPD type EMA signal</comment>
  71900. </bits>
  71901. <bits access="rw" name="radpd_rma" pos="4:1" rst="2">
  71902. <comment>RADPD type EMA signal</comment>
  71903. </bits>
  71904. <bits access="rw" name="radpd_rmea" pos="0" rst="0">
  71905. <comment>RADPD type EMA signal</comment>
  71906. </bits>
  71907. </reg>
  71908. <reg name="rom_ema_cfg_lte" protect="rw">
  71909. <bits access="rw" name="rom_rma" pos="4:1" rst="2">
  71910. <comment>ROM type EMA signal</comment>
  71911. </bits>
  71912. <bits access="rw" name="rom_rmea" pos="0" rst="0">
  71913. <comment>ROM type EMA signal</comment>
  71914. </bits>
  71915. </reg>
  71916. <reg name="mem_ema_cfg_bbsys" protect="rw">
  71917. <bits access="rw" name="rftpd_rmb" pos="29:26" rst="2">
  71918. <comment>RFTPD type EMA signal</comment>
  71919. </bits>
  71920. <bits access="rw" name="rftpd_rmeb" pos="25" rst="0">
  71921. <comment>RFTPD type EMA signal</comment>
  71922. </bits>
  71923. <bits access="rw" name="rftpd_rma" pos="24:21" rst="2">
  71924. <comment>RFTPD type EMA signal</comment>
  71925. </bits>
  71926. <bits access="rw" name="rftpd_rmea" pos="20" rst="0">
  71927. <comment>RFTPD type EMA signal</comment>
  71928. </bits>
  71929. <bits access="rw" name="rfspd_rm" pos="19:16" rst="2">
  71930. <comment>RASPD type EMA signal</comment>
  71931. </bits>
  71932. <bits access="rw" name="rfspd_rme" pos="15" rst="0">
  71933. <comment>RASPD type EMA signal</comment>
  71934. </bits>
  71935. <bits access="rw" name="raspu_rm" pos="14:11" rst="2">
  71936. <comment>RASPU type EMA signal</comment>
  71937. </bits>
  71938. <bits access="rw" name="raspu_rme" pos="10" rst="0">
  71939. <comment>RASPU type EMA signal</comment>
  71940. </bits>
  71941. <bits access="rw" name="radpd_rmb" pos="9:6" rst="2">
  71942. <comment>RADPD type EMA signal</comment>
  71943. </bits>
  71944. <bits access="rw" name="radpd_rmeb" pos="5" rst="0">
  71945. <comment>RADPD type EMA signal</comment>
  71946. </bits>
  71947. <bits access="rw" name="radpd_rma" pos="4:1" rst="2">
  71948. <comment>RADPD type EMA signal</comment>
  71949. </bits>
  71950. <bits access="rw" name="radpd_rmea" pos="0" rst="0">
  71951. <comment>RADPD type EMA signal</comment>
  71952. </bits>
  71953. </reg>
  71954. <reg name="zsp_qos" protect="rw">
  71955. <bits access="rw" name="awqos_zsp_axidma" pos="23:20" rst="0">
  71956. <comment>awqos_zsp_axidma</comment>
  71957. </bits>
  71958. <bits access="rw" name="arqos_zsp_axidma" pos="19:16" rst="0">
  71959. <comment>arqos_zsp_axidma</comment>
  71960. </bits>
  71961. <bits access="rw" name="awqos_zsp_ibus" pos="15:12" rst="0">
  71962. <comment>awqos_zsp_ibus</comment>
  71963. </bits>
  71964. <bits access="rw" name="arqos_zsp_ibus" pos="11:8" rst="0">
  71965. <comment>arqos_zsp_ibus</comment>
  71966. </bits>
  71967. <bits access="rw" name="awqos_zsp_dbus" pos="7:4" rst="0">
  71968. <comment>awqos_zsp_dbus</comment>
  71969. </bits>
  71970. <bits access="rw" name="arqos_zsp_dbus" pos="3:0" rst="0">
  71971. <comment>arqos_zsp_dbus</comment>
  71972. </bits>
  71973. </reg>
  71974. <hole size="32"/>
  71975. <reg name="flow_para" protect="rw">
  71976. <bits access="rw" name="flowpara" pos="31:0" rst="0">
  71977. <comment>Used to store and determine whether the pow on and Other relevant information is in a calibrated version</comment>
  71978. </bits>
  71979. </reg>
  71980. <reg name="rf_sel" protect="rw">
  71981. <bits access="rw" name="rfsel" pos="0" rst="0">
  71982. <comment>RF scheme selection signal
  71983. 0: use SOC RF scheme signal
  71984. 1: use chip RF scheme</comment>
  71985. </bits>
  71986. </reg>
  71987. <reg name="nb_lte_sel" protect="rw">
  71988. <bits access="rw" name="nblte_sel" pos="0" rst="1">
  71989. <comment>AD/DA data path select signal
  71990. 1: LTE
  71991. 0: NBIOT</comment>
  71992. </bits>
  71993. </reg>
  71994. <reg name="ggenb_sel" protect="rw">
  71995. <bits access="rw" name="gge_nb_sel" pos="0" rst="1">
  71996. <comment>AD/DA data path select signal
  71997. 0: NBIOT
  71998. 1: GGE</comment>
  71999. </bits>
  72000. </reg>
  72001. <reg name="rf_ana_26m_ctrl" protect="rw">
  72002. <bits access="rw" name="enable_clk_26m_wcn" pos="8" rst="0">
  72003. <comment>WCN 26M clock control:
  72004. 0: disable
  72005. 1: enable</comment>
  72006. </bits>
  72007. <bits access="rw" name="enable_clk_26m_adi" pos="7" rst="1">
  72008. <comment>ADI module 26M clock control:
  72009. 0: disable
  72010. 1: enable</comment>
  72011. </bits>
  72012. <bits access="rw" name="enable_clk_26m_vad" pos="6" rst="0">
  72013. <comment>VAD module 26M clock control:
  72014. 0: disable
  72015. 1: enable</comment>
  72016. </bits>
  72017. <bits access="rw" name="muxsel_clk26m_aud2ad" pos="5" rst="0">
  72018. <comment>AUD2AD module of 26M clock select:
  72019. 0: AP_26M
  72020. 1: after 17/16 clock operation</comment>
  72021. </bits>
  72022. <bits access="rw" name="enable_clk_26m_aud2ad" pos="4" rst="0">
  72023. <comment>AUD2AD module of 26M clock switch:
  72024. 0: disable
  72025. 1: enable</comment>
  72026. </bits>
  72027. <bits access="rw" name="muxsel_clk26m_audio" pos="3" rst="0">
  72028. <comment>audio pll input Reference clock select:
  72029. 0: AP_26M
  72030. 1: after 17/16 clock operation</comment>
  72031. </bits>
  72032. <bits access="rw" name="enable_clk_26m_audio" pos="2" rst="0">
  72033. <comment>0: disable
  72034. 1: enable</comment>
  72035. </bits>
  72036. <bits access="rw" name="enable_clk_26m_dsi" pos="1" rst="1">
  72037. <comment>0: disable
  72038. 1: enable</comment>
  72039. </bits>
  72040. <bits access="rw" name="enable_clk_26m_usb" pos="0" rst="1">
  72041. <comment>0: disable
  72042. 1: enable</comment>
  72043. </bits>
  72044. </reg>
  72045. <reg name="rf_ana_26m_ctrl_set" protect="rw">
  72046. <bits access="rs" name="set" pos="8:0" rst="0">
  72047. <comment>bit type is changed from w1s to rs.
  72048. set corresponding bits of RF_ANA_26M_CTRL register:
  72049. 0: Invariance of corresponding bits
  72050. 1: set &quot;1&quot; of corresponding bits</comment>
  72051. </bits>
  72052. </reg>
  72053. <reg name="rf_ana_26m_ctrl_clr" protect="rw">
  72054. <bits access="rc" name="clear" pos="8:0" rst="0">
  72055. <comment>bit type is changed from w1c to rc.
  72056. clean corresponding bits of RF_ANA_26M_CTRL register:
  72057. 0: Invariance of corresponding bits
  72058. 1: clean corresponding bits</comment>
  72059. </bits>
  72060. </reg>
  72061. <reg name="ddr_slp_ctrl_enable" protect="rw">
  72062. <bits access="rw" name="enable" pos="0" rst="0">
  72063. <comment>0: DISABLE
  72064. 1: ENABLE
  72065. When AP power domain shut-down, this bit will be clear to &quot;0&quot;. Need software re-enable.</comment>
  72066. </bits>
  72067. </reg>
  72068. <reg name="ddr_wakeup_force_en" protect="rw">
  72069. <bits access="rw" name="enable" pos="0" rst="0">
  72070. <comment>0: do not force ddr_slp_ctrl wakeup
  72071. 1: force ddr_slp_ctrl wakeup</comment>
  72072. </bits>
  72073. </reg>
  72074. <reg name="ddr_wakeup_force_ack" protect="r">
  72075. <bits access="r" name="ack" pos="0" rst="0">
  72076. <comment>force ddr_slp_ctrl wakeup done when &quot;1&quot;</comment>
  72077. </bits>
  72078. </reg>
  72079. <reg name="ddr_slp_wait_number" protect="rw">
  72080. <bits access="rw" name="n" pos="15:0" rst="0">
  72081. <comment>after count N cycles,ddr_slp_ctrl begin sleep sequence when sleep condition meet.</comment>
  72082. </bits>
  72083. </reg>
  72084. <reg name="lvds_spi_sel" protect="rw">
  72085. <bits access="rw" name="sel" pos="0" rst="0">
  72086. <comment>LVDS_SPI_SEL</comment>
  72087. </bits>
  72088. </reg>
  72089. <reg name="monitor_lte_fint_sel" protect="rw">
  72090. <bits access="rw" name="sel" pos="0" rst="0">
  72091. <comment>0: select idle_test[16] (LTE frame irq signal.)
  72092. 1: select lte_rbdp_tx[11];</comment>
  72093. </bits>
  72094. </reg>
  72095. <reg name="rfmux_irq_sta" protect="rw">
  72096. <bits access="rc" name="rfspi_conflict_irq" pos="1" rst="0">
  72097. <comment>bit type is changed from rw1c to rc.
  72098. Indicate RFSPI_CONFILICT_IRQ happened when &quot;1&quot;. Can be cleared by software writing &quot;1&quot;.</comment>
  72099. </bits>
  72100. <bits access="rc" name="txfifo_full_irq" pos="0" rst="0">
  72101. <comment>bit type is changed from rw1c to rc.
  72102. Indicate TXFIFO_FULL_IRQ happened when &quot;1&quot;. Can be cleared by software writing &quot;1&quot;.</comment>
  72103. </bits>
  72104. </reg>
  72105. <reg name="apt_sel" protect="rw">
  72106. <bits access="rw" name="sel" pos="0" rst="0">
  72107. <comment>0: select lte_up_rfctrl;
  72108. 1: select rf_gpio_o[9];</comment>
  72109. </bits>
  72110. </reg>
  72111. <reg name="rfspi_mode_sel" protect="rw">
  72112. <bits access="rw" name="sel" pos="0" rst="0">
  72113. <comment>0: 3-wire mode;
  72114. 1: 4-wire mode;</comment>
  72115. </bits>
  72116. </reg>
  72117. <hole size="32"/>
  72118. <reg name="ggenb_sys_ctrl" protect="rw">
  72119. <bits access="rw" name="ggenb_ctrl" pos="15:0" rst="0">
  72120. <comment>General ctrl signal for GGENB.</comment>
  72121. </bits>
  72122. </reg>
  72123. <reg name="a5_standbywfi_en" protect="rw">
  72124. <bits access="rw" name="cp_a5_standby_en" pos="1" rst="0">
  72125. <comment>1:enable
  72126. 0:disable</comment>
  72127. </bits>
  72128. <bits access="rw" name="ap_a5_standby_en" pos="0" rst="0">
  72129. <comment>1:enable
  72130. 0:disable</comment>
  72131. </bits>
  72132. </reg>
  72133. </module>
  72134. </archive>
  72135. <archive relative="cp_monitor.xml">
  72136. <module category="Bb_sysctrl" name="CP_MONITOR">
  72137. <reg name="mon_sel0" protect="rw">
  72138. <bits access="rw" name="mon_sel0" pos="10:0" rst="0">
  72139. <comment>0</comment>
  72140. </bits>
  72141. </reg>
  72142. <reg name="mon_sel1" protect="rw">
  72143. <bits access="rw" name="mon_sel1" pos="10:0" rst="1">
  72144. <comment>1</comment>
  72145. </bits>
  72146. </reg>
  72147. <reg name="mon_sel2" protect="rw">
  72148. <bits access="rw" name="mon_sel2" pos="10:0" rst="2">
  72149. <comment>2</comment>
  72150. </bits>
  72151. </reg>
  72152. <reg name="mon_sel3" protect="rw">
  72153. <bits access="rw" name="mon_sel3" pos="10:0" rst="3">
  72154. <comment>3</comment>
  72155. </bits>
  72156. </reg>
  72157. <reg name="mon_sel4" protect="rw">
  72158. <bits access="rw" name="mon_sel4" pos="10:0" rst="4">
  72159. <comment>4</comment>
  72160. </bits>
  72161. </reg>
  72162. <reg name="mon_sel5" protect="rw">
  72163. <bits access="rw" name="mon_sel5" pos="10:0" rst="5">
  72164. <comment>5</comment>
  72165. </bits>
  72166. </reg>
  72167. <reg name="mon_sel6" protect="rw">
  72168. <bits access="rw" name="mon_sel6" pos="10:0" rst="6">
  72169. <comment>6</comment>
  72170. </bits>
  72171. </reg>
  72172. <reg name="mon_sel7" protect="rw">
  72173. <bits access="rw" name="mon_sel7" pos="10:0" rst="7">
  72174. <comment>7</comment>
  72175. </bits>
  72176. </reg>
  72177. <reg name="mon_con0" protect="rw">
  72178. <bits access="rw" name="mon_con0" pos="2:0" rst="0">
  72179. <comment>monitor_o[0]
  72180. 3'h0: 0
  72181. 3'h1: 1
  72182. 3'h2: 2
  72183. 3'h3: 3
  72184. 3'h4: 4
  72185. 3'h5: 5
  72186. 3'h6: 6
  72187. 3'h7: 7</comment>
  72188. </bits>
  72189. </reg>
  72190. <reg name="mon_con1" protect="rw">
  72191. <bits access="rw" name="mon_con1" pos="2:0" rst="0">
  72192. <comment>monitor_o[1]
  72193. 3'h0: 0
  72194. 3'h1: 1
  72195. 3'h2: 2
  72196. 3'h3: 3
  72197. 3'h4: 4
  72198. 3'h5: 5
  72199. 3'h6: 6
  72200. 3'h7: 7</comment>
  72201. </bits>
  72202. </reg>
  72203. <reg name="mon_con2" protect="rw">
  72204. <bits access="rw" name="mon_con2" pos="2:0" rst="0">
  72205. <comment>monitor_o[2]
  72206. 3'h0: 0
  72207. 3'h1: 1
  72208. 3'h2: 2
  72209. 3'h3: 3
  72210. 3'h4: 4
  72211. 3'h5: 5
  72212. 3'h6: 6
  72213. 3'h7: 7</comment>
  72214. </bits>
  72215. </reg>
  72216. <reg name="mon_con3" protect="rw">
  72217. <bits access="rw" name="mon_con3" pos="2:0" rst="0">
  72218. <comment>monitor_o[3]
  72219. 3'h0: 0
  72220. 3'h1: 1
  72221. 3'h2: 2
  72222. 3'h3: 3
  72223. 3'h4: 4
  72224. 3'h5: 5
  72225. 3'h6: 6
  72226. 3'h7: 7</comment>
  72227. </bits>
  72228. </reg>
  72229. <reg name="mon_con4" protect="rw">
  72230. <bits access="rw" name="mon_con4" pos="2:0" rst="0">
  72231. <comment>monitor_o[4]
  72232. 3'h0: 0
  72233. 3'h1: 1
  72234. 3'h2: 2
  72235. 3'h3: 3
  72236. 3'h4: 4
  72237. 3'h5: 5
  72238. 3'h6: 6
  72239. 3'h7: 7</comment>
  72240. </bits>
  72241. </reg>
  72242. <reg name="mon_con5" protect="rw">
  72243. <bits access="rw" name="mon_con5" pos="2:0" rst="0">
  72244. <comment>monitor_o[5]
  72245. 3'h0: 0
  72246. 3'h1: 1
  72247. 3'h2: 2
  72248. 3'h3: 3
  72249. 3'h4: 4
  72250. 3'h5: 5
  72251. 3'h6: 6
  72252. 3'h7: 7</comment>
  72253. </bits>
  72254. </reg>
  72255. <reg name="mon_con6" protect="rw">
  72256. <bits access="rw" name="mon_con6" pos="2:0" rst="0">
  72257. <comment>monitor_o[6]
  72258. 3'h0: 0
  72259. 3'h1: 1
  72260. 3'h2: 2
  72261. 3'h3: 3
  72262. 3'h4: 4
  72263. 3'h5: 5
  72264. 3'h6: 6
  72265. 3'h7: 7</comment>
  72266. </bits>
  72267. </reg>
  72268. <reg name="mon_con7" protect="rw">
  72269. <bits access="rw" name="mon_con7" pos="2:0" rst="0">
  72270. <comment>monitor_o[7]
  72271. 3'h0: 0
  72272. 3'h1: 1
  72273. 3'h2: 2
  72274. 3'h3: 3
  72275. 3'h4: 4
  72276. 3'h5: 5
  72277. 3'h6: 6
  72278. 3'h7: 7</comment>
  72279. </bits>
  72280. </reg>
  72281. <reg name="mon_enable" protect="rw">
  72282. <bits access="rw" name="monenable" pos="0" rst="0">
  72283. <comment>1
  72284. 0</comment>
  72285. </bits>
  72286. </reg>
  72287. <reg name="monitor_o" protect="r">
  72288. <bits access="r" name="monitorsignal" pos="7:0" rst="0">
  72289. <comment>monitor output signal value.</comment>
  72290. </bits>
  72291. </reg>
  72292. </module>
  72293. </archive>
  72294. <archive relative="cp_bb_wd.xml">
  72295. <module category="Bb_sysctrl" name="CP_BB_WD">
  72296. <reg name="wd_conf" protect="rw">
  72297. <bits access="rw" name="prot_en" pos="9" rst="1">
  72298. <comment>WD_PROT function enable
  72299. 0: WD_PROT register function invalid
  72300. 1: WD_PROT register function valid</comment>
  72301. </bits>
  72302. <bits access="rw" name="wd" pos="8" rst="1">
  72303. <comment>0: timer mode
  72304. 1: watchdog mode</comment>
  72305. </bits>
  72306. <bits access="rw" name="pvt" pos="7:4" rst="0">
  72307. <comment>0000: no pre-div
  72308. 0001: 1/2 pre-div
  72309. 0010: 1/4 pre-div
  72310. 0011: 1/8 pre-div
  72311. 0100: 1/16 pre-div
  72312. 0101: 1/32 pre-div
  72313. 0110: 1/64 pre-div
  72314. 0111: 1/128 pre-div
  72315. 1000: 1/256 pre-div
  72316. others: no pre-div</comment>
  72317. </bits>
  72318. <bits access="rw" name="tr" pos="3" rst="0">
  72319. <comment>0: no influence to current timer value
  72320. 1: clear current timer value to zero</comment>
  72321. </bits>
  72322. <bits access="rw" name="ie" pos="2" rst="0">
  72323. <comment>0: interrupt disable
  72324. 1: interrupt enable</comment>
  72325. </bits>
  72326. <bits access="rw" name="ar" pos="1" rst="0">
  72327. <comment>0: keep the timer value when it reach the loaded value
  72328. 1: clear the timer value to zero when it reach the loaded value</comment>
  72329. </bits>
  72330. <bits access="rw" name="start" pos="0" rst="0">
  72331. <comment>0: stop
  72332. 1: run
  72333. Note: WD_LOAD1/2 register can not be writen when this bit is '1'.
  72334. This bit will be clear by hardware when reset signal generated in watchdog mode; and in timer mode, this bit will be clear by hardware when timer value reach the loaded value and 'AR' is set to '0'.</comment>
  72335. </bits>
  72336. </reg>
  72337. <reg name="wd_prot" protect="rw">
  72338. <bits access="rw" name="prot" pos="15:0" rst="0">
  72339. <comment>WD_CONF and WD_LOAD1/2 register can be writen when this register value is 0xCCCC.</comment>
  72340. </bits>
  72341. </reg>
  72342. <reg name="wd_load1" protect="rw">
  72343. <bits access="rw" name="load_low" pos="31:0" rst="130000000">
  72344. <comment>The low 32-bits of the load value.</comment>
  72345. </bits>
  72346. </reg>
  72347. <reg name="wd_load2" protect="rw">
  72348. <bits access="rw" name="load_high" pos="31:0" rst="0">
  72349. <comment>The high 32-bits of the load value.</comment>
  72350. </bits>
  72351. </reg>
  72352. <reg name="wd_value1" protect="r">
  72353. <bits access="r" name="value_low" pos="31:0" rst="0">
  72354. <comment>The low 32-bits of the timer value.</comment>
  72355. </bits>
  72356. </reg>
  72357. <reg name="wd_value2" protect="r">
  72358. <bits access="r" name="value_high" pos="31:0" rst="0">
  72359. <comment>The high 32-bits of the timer value.</comment>
  72360. </bits>
  72361. </reg>
  72362. <reg name="wd_cmd" protect="w">
  72363. <bits access="w" name="cmd" pos="15:0" rst="0">
  72364. <comment>Write orderly 0xAAAA and 0x5555 to convert to timer mode from watchdog mode.
  72365. Write orderly 0xAAAA and 0x4444 to convert to watchdog mode from timer mode.
  72366. Write 0xBBBB to &quot;feed dog&quot; in watchdog mode.</comment>
  72367. </bits>
  72368. </reg>
  72369. <reg name="wd_div_conf" protect="rw">
  72370. <bits access="rw" name="en" pos="16" rst="0">
  72371. <comment>0: disable timer divider
  72372. 1: enable timer divider</comment>
  72373. </bits>
  72374. <bits access="rw" name="div" pos="15:0" rst="25">
  72375. <comment>f= FuncClk/(DIV+1)</comment>
  72376. </bits>
  72377. </reg>
  72378. <reg name="wd_div_count" protect="rw">
  72379. <bits access="rc" name="count" pos="31:0" rst="0">
  72380. <comment>bit type is changed from w1c to rc.
  72381. The counter value of timer divider.</comment>
  72382. </bits>
  72383. </reg>
  72384. </module>
  72385. </archive>
  72386. <archive relative="cp_zsp_irqh.xml">
  72387. <module category="ZSP_SYS" name="CP_ZSP_IRQH">
  72388. <reg name="inth_itr0" protect="rw">
  72389. <bits access="rc" name="it" pos="31:0" rst="0">
  72390. <comment>bit type is changed from w1c to rc.
  72391. Interrupt source flag(0-31)
  72392. 0: no interrupt
  72393. 1: capture interrupt</comment>
  72394. </bits>
  72395. </reg>
  72396. <reg name="inth_itr1" protect="rw">
  72397. <bits access="rc" name="it" pos="31:0" rst="0">
  72398. <comment>bit type is changed from w1c to rc.
  72399. Interrupt source flag(32-63)
  72400. 0: no interrupt
  72401. 1: capture interrupt</comment>
  72402. </bits>
  72403. </reg>
  72404. <reg name="inth_mir0" protect="rw">
  72405. <bits access="rw" name="im" pos="31:0" rst="4294967295">
  72406. <comment>Interrupt mask bit (0-30)
  72407. 0: open interrupt
  72408. 1: mask interrupt</comment>
  72409. </bits>
  72410. </reg>
  72411. <reg name="inth_mir1" protect="rw">
  72412. <bits access="rw" name="im" pos="31:0" rst="4294967295">
  72413. <comment>Interrupt mask bit (32-63)
  72414. 0: open interrupt
  72415. 1: mask interrupt</comment>
  72416. </bits>
  72417. </reg>
  72418. <reg name="inth_mirs0" protect="rw">
  72419. <bits access="rs" name="ims" pos="31:0" rst="0">
  72420. <comment>bit type is changed from w1s to rs.
  72421. sets the corresponding bit in the mask register (0-31)
  72422. 0: the corresponding bit in the mask register do not change.
  72423. 1: sets the corresponding bit in the mask register to '1'.</comment>
  72424. </bits>
  72425. </reg>
  72426. <reg name="inth_mirs1" protect="rw">
  72427. <bits access="rs" name="ims" pos="31:0" rst="0">
  72428. <comment>bit type is changed from w1s to rs.
  72429. sets the corresponding bit in the mask register(32-64)
  72430. 0: the corresponding bit in the mask register do not change.
  72431. 1: sets the corresponding bit in the mask register to '1'.</comment>
  72432. </bits>
  72433. </reg>
  72434. <reg name="inth_mirc0" protect="rw">
  72435. <bits access="rc" name="ims" pos="31:0" rst="0">
  72436. <comment>bit type is changed from w1c to rc.
  72437. clears the corresponding bit in the mask register(0-31)
  72438. 0: the corresponding bit in the mask register do not change
  72439. 1: Writing '1' clears the corresponding bit in the mask register to '0'.</comment>
  72440. </bits>
  72441. </reg>
  72442. <reg name="inth_mirc1" protect="rw">
  72443. <bits access="rc" name="ims" pos="31:0" rst="0">
  72444. <comment>bit type is changed from w1c to rc.
  72445. clears the corresponding bit in the mask register(32-64)
  72446. 0: the corresponding bit in the mask register do not change
  72447. 1: Writing '1' clears the corresponding bit in the mask register to '0'.</comment>
  72448. </bits>
  72449. </reg>
  72450. <reg name="inth_gmir" protect="rw">
  72451. <bits access="rw" name="gim" pos="0" rst="0">
  72452. <comment>Global interrupt enable BIT
  72453. 0: Interrupt is decided by corresponding mask bit
  72454. 1: Maks all Interrupt</comment>
  72455. </bits>
  72456. </reg>
  72457. <reg name="inth_sel0" protect="rw">
  72458. <bits access="rw" name="fiq_sel" pos="31:0" rst="0">
  72459. <comment>FIQ OR IRQ Select (0-31)
  72460. 0: corresponding interrupt send to arm through IRQ
  72461. 1: corresponding interrupt send to arm through FIR</comment>
  72462. </bits>
  72463. </reg>
  72464. <reg name="inth_sel1" protect="rw">
  72465. <bits access="rw" name="fiq_sel" pos="31:0" rst="0">
  72466. <comment>FIQ OR IRQ Select (32-63)
  72467. 0: corresponding interrupt send to arm through IRQ
  72468. 1: corresponding interrupt send to arm through FIR</comment>
  72469. </bits>
  72470. </reg>
  72471. <hole size="32"/>
  72472. <reg name="irq_sta0" protect="r">
  72473. <bits access="r" name="irq_s" pos="31:0" rst="0">
  72474. <comment>IRQ status bit(0-31)
  72475. 0: corresponding interrupt source no interrupt
  72476. 1: corresponding interrupt source no interrupt send interrupt to arm through IRQ</comment>
  72477. </bits>
  72478. </reg>
  72479. <reg name="irq_sta1" protect="r">
  72480. <bits access="r" name="irq_s" pos="31:0" rst="0">
  72481. <comment>IRQ status bit(32-63)
  72482. 0: corresponding interrupt source no interrupt
  72483. 1: corresponding interrupt source no interrupt send interrupt to arm through IRQ</comment>
  72484. </bits>
  72485. </reg>
  72486. <reg name="irq_sir" protect="r">
  72487. <bits access="r" name="is" pos="6:0" rst="127">
  72488. <comment>IRQ interrupt source code
  72489. 0000000: IRQ0
  72490. 0000001: IRQ1
  72491. 0000010: IRQ2
  72492. ......
  72493. 0111111: IRQ63</comment>
  72494. </bits>
  72495. </reg>
  72496. <reg name="irq_ctrl" protect="w">
  72497. <bits access="w" name="clr" pos="0" rst="0">
  72498. <comment>Clear interrupt status bit
  72499. 0: no operation
  72500. 1: clear corresponding bit of IRQ_STA and ITR,at the same time change irq from high to low</comment>
  72501. </bits>
  72502. </reg>
  72503. <reg name="fiq_sta0" protect="r">
  72504. <bits access="r" name="fiq_s" pos="31:0" rst="0">
  72505. <comment>FIQ status bit(0-31)
  72506. 0: corresponding interrupt source no interrupt
  72507. 1: corresponding interrupt source no interrupt send interrupt to arm through Fiq</comment>
  72508. </bits>
  72509. </reg>
  72510. <reg name="fiq_sta1" protect="r">
  72511. <bits access="r" name="fiq_s" pos="31:0" rst="0">
  72512. <comment>FIQ status bit(32-63)
  72513. 0: corresponding interrupt source no interrupt
  72514. 1: corresponding interrupt source no interrupt send interrupt to arm through Fiq</comment>
  72515. </bits>
  72516. </reg>
  72517. <reg name="fiq_sir" protect="r">
  72518. <bits access="r" name="fs" pos="6:0" rst="127">
  72519. <comment>fiq interrupt source code
  72520. 0000000: FIQ0
  72521. 0000001: FIQ1
  72522. 0000010: FIQ2
  72523. ......
  72524. 0111111: FIQ63</comment>
  72525. </bits>
  72526. </reg>
  72527. <reg name="fiq_ctrl" protect="rw">
  72528. <bits access="rw" name="clr" pos="0" rst="0">
  72529. <comment>Clear interrupt status bit
  72530. 0: no operation
  72531. 1: clear corresponding bit of IRQ_STA and ITR,at the same time change irq from high to low</comment>
  72532. </bits>
  72533. </reg>
  72534. <reg name="vicprio0" protect="rw">
  72535. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72536. <comment>Interrupt prio
  72537. 0: Interrupt prio 0
  72538. 1: Interrupt prio 1
  72539. ......
  72540. 7: Interrupt prio 7
  72541. Prio 0 is corrosponed to the highist prio</comment>
  72542. </bits>
  72543. </reg>
  72544. <reg name="vicprio1" protect="rw">
  72545. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72546. <comment>Interrupt prio
  72547. 0: Interrupt prio 0
  72548. 1: Interrupt prio 1
  72549. ......
  72550. 7: Interrupt prio 7
  72551. Prio 0 is corrosponed to the highist prio</comment>
  72552. </bits>
  72553. </reg>
  72554. <reg name="vicprio2" protect="rw">
  72555. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72556. <comment>Interrupt prio
  72557. 0: Interrupt prio 0
  72558. 1: Interrupt prio 1
  72559. ......
  72560. 7: Interrupt prio 7
  72561. Prio 0 is corrosponed to the highist prio</comment>
  72562. </bits>
  72563. </reg>
  72564. <reg name="vicprio3" protect="rw">
  72565. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72566. <comment>Interrupt prio
  72567. 0: Interrupt prio 0
  72568. 1: Interrupt prio 1
  72569. ......
  72570. 7: Interrupt prio 7
  72571. Prio 0 is corrosponed to the highist prio</comment>
  72572. </bits>
  72573. </reg>
  72574. <reg name="vicprio4" protect="rw">
  72575. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72576. <comment>Interrupt prio
  72577. 0: Interrupt prio 0
  72578. 1: Interrupt prio 1
  72579. ......
  72580. 7: Interrupt prio 7
  72581. Prio 0 is corrosponed to the highist prio</comment>
  72582. </bits>
  72583. </reg>
  72584. <reg name="vicprio5" protect="rw">
  72585. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72586. <comment>Interrupt prio
  72587. 0: Interrupt prio 0
  72588. 1: Interrupt prio 1
  72589. ......
  72590. 7: Interrupt prio 7
  72591. Prio 0 is corrosponed to the highist prio</comment>
  72592. </bits>
  72593. </reg>
  72594. <reg name="vicprio6" protect="rw">
  72595. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72596. <comment>Interrupt prio
  72597. 0: Interrupt prio 0
  72598. 1: Interrupt prio 1
  72599. ......
  72600. 7: Interrupt prio 7
  72601. Prio 0 is corrosponed to the highist prio</comment>
  72602. </bits>
  72603. </reg>
  72604. <reg name="vicprio7" protect="rw">
  72605. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72606. <comment>Interrupt prio
  72607. 0: Interrupt prio 0
  72608. 1: Interrupt prio 1
  72609. ......
  72610. 7: Interrupt prio 7
  72611. Prio 0 is corrosponed to the highist prio</comment>
  72612. </bits>
  72613. </reg>
  72614. <reg name="vicprio8" protect="rw">
  72615. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72616. <comment>Interrupt prio
  72617. 0: Interrupt prio 0
  72618. 1: Interrupt prio 1
  72619. ......
  72620. 7: Interrupt prio 7
  72621. Prio 0 is corrosponed to the highist prio</comment>
  72622. </bits>
  72623. </reg>
  72624. <reg name="vicprio9" protect="rw">
  72625. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72626. <comment>Interrupt prio
  72627. 0: Interrupt prio 0
  72628. 1: Interrupt prio 1
  72629. ......
  72630. 7: Interrupt prio 7
  72631. Prio 0 is corrosponed to the highist prio</comment>
  72632. </bits>
  72633. </reg>
  72634. <reg name="vicprio10" protect="rw">
  72635. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72636. <comment>Interrupt prio
  72637. 0: Interrupt prio 0
  72638. 1: Interrupt prio 1
  72639. ......
  72640. 7: Interrupt prio 7
  72641. Prio 0 is corrosponed to the highist prio</comment>
  72642. </bits>
  72643. </reg>
  72644. <reg name="vicprio11" protect="rw">
  72645. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72646. <comment>Interrupt prio
  72647. 0: Interrupt prio 0
  72648. 1: Interrupt prio 1
  72649. ......
  72650. 7: Interrupt prio 7
  72651. Prio 0 is corrosponed to the highist prio</comment>
  72652. </bits>
  72653. </reg>
  72654. <reg name="vicprio12" protect="rw">
  72655. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72656. <comment>Interrupt prio
  72657. 0: Interrupt prio 0
  72658. 1: Interrupt prio 1
  72659. ......
  72660. 7: Interrupt prio 7
  72661. Prio 0 is corrosponed to the highist prio</comment>
  72662. </bits>
  72663. </reg>
  72664. <reg name="vicprio13" protect="rw">
  72665. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72666. <comment>Interrupt prio
  72667. 0: Interrupt prio 0
  72668. 1: Interrupt prio 1
  72669. ......
  72670. 7: Interrupt prio 7
  72671. Prio 0 is corrosponed to the highist prio</comment>
  72672. </bits>
  72673. </reg>
  72674. <reg name="vicprio14" protect="rw">
  72675. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72676. <comment>Interrupt prio
  72677. 0: Interrupt prio 0
  72678. 1: Interrupt prio 1
  72679. ......
  72680. 7: Interrupt prio 7
  72681. Prio 0 is corrosponed to the highist prio</comment>
  72682. </bits>
  72683. </reg>
  72684. <reg name="vicprio15" protect="rw">
  72685. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72686. <comment>Interrupt prio
  72687. 0: Interrupt prio 0
  72688. 1: Interrupt prio 1
  72689. ......
  72690. 7: Interrupt prio 7
  72691. Prio 0 is corrosponed to the highist prio</comment>
  72692. </bits>
  72693. </reg>
  72694. <reg name="vicprio16" protect="rw">
  72695. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72696. <comment>Interrupt prio
  72697. 0: Interrupt prio 0
  72698. 1: Interrupt prio 1
  72699. ......
  72700. 7: Interrupt prio 7
  72701. Prio 0 is corrosponed to the highist prio</comment>
  72702. </bits>
  72703. </reg>
  72704. <reg name="vicprio17" protect="rw">
  72705. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72706. <comment>Interrupt prio
  72707. 0: Interrupt prio 0
  72708. 1: Interrupt prio 1
  72709. ......
  72710. 7: Interrupt prio 7
  72711. Prio 0 is corrosponed to the highist prio</comment>
  72712. </bits>
  72713. </reg>
  72714. <reg name="vicprio18" protect="rw">
  72715. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72716. <comment>Interrupt prio
  72717. 0: Interrupt prio 0
  72718. 1: Interrupt prio 1
  72719. ......
  72720. 7: Interrupt prio 7
  72721. Prio 0 is corrosponed to the highist prio</comment>
  72722. </bits>
  72723. </reg>
  72724. <reg name="vicprio19" protect="rw">
  72725. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72726. <comment>Interrupt prio
  72727. 0: Interrupt prio 0
  72728. 1: Interrupt prio 1
  72729. ......
  72730. 7: Interrupt prio 7
  72731. Prio 0 is corrosponed to the highist prio</comment>
  72732. </bits>
  72733. </reg>
  72734. <reg name="vicprio20" protect="rw">
  72735. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72736. <comment>Interrupt prio
  72737. 0: Interrupt prio 0
  72738. 1: Interrupt prio 1
  72739. ......
  72740. 7: Interrupt prio 7
  72741. Prio 0 is corrosponed to the highist prio</comment>
  72742. </bits>
  72743. </reg>
  72744. <reg name="vicprio21" protect="rw">
  72745. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72746. <comment>Interrupt prio
  72747. 0: Interrupt prio 0
  72748. 1: Interrupt prio 1
  72749. ......
  72750. 7: Interrupt prio 7
  72751. Prio 0 is corrosponed to the highist prio</comment>
  72752. </bits>
  72753. </reg>
  72754. <reg name="vicprio22" protect="rw">
  72755. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72756. <comment>Interrupt prio
  72757. 0: Interrupt prio 0
  72758. 1: Interrupt prio 1
  72759. ......
  72760. 7: Interrupt prio 7
  72761. Prio 0 is corrosponed to the highist prio</comment>
  72762. </bits>
  72763. </reg>
  72764. <reg name="vicprio23" protect="rw">
  72765. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72766. <comment>Interrupt prio
  72767. 0: Interrupt prio 0
  72768. 1: Interrupt prio 1
  72769. ......
  72770. 7: Interrupt prio 7
  72771. Prio 0 is corrosponed to the highist prio</comment>
  72772. </bits>
  72773. </reg>
  72774. <reg name="vicprio24" protect="rw">
  72775. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72776. <comment>Interrupt prio
  72777. 0: Interrupt prio 0
  72778. 1: Interrupt prio 1
  72779. ......
  72780. 7: Interrupt prio 7
  72781. Prio 0 is corrosponed to the highist prio</comment>
  72782. </bits>
  72783. </reg>
  72784. <reg name="vicprio25" protect="rw">
  72785. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72786. <comment>Interrupt prio
  72787. 0: Interrupt prio 0
  72788. 1: Interrupt prio 1
  72789. ......
  72790. 7: Interrupt prio 7
  72791. Prio 0 is corrosponed to the highist prio</comment>
  72792. </bits>
  72793. </reg>
  72794. <reg name="vicprio26" protect="rw">
  72795. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72796. <comment>Interrupt prio
  72797. 0: Interrupt prio 0
  72798. 1: Interrupt prio 1
  72799. ......
  72800. 7: Interrupt prio 7
  72801. Prio 0 is corrosponed to the highist prio</comment>
  72802. </bits>
  72803. </reg>
  72804. <reg name="vicprio27" protect="rw">
  72805. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72806. <comment>Interrupt prio
  72807. 0: Interrupt prio 0
  72808. 1: Interrupt prio 1
  72809. ......
  72810. 7: Interrupt prio 7
  72811. Prio 0 is corrosponed to the highist prio</comment>
  72812. </bits>
  72813. </reg>
  72814. <reg name="vicprio28" protect="rw">
  72815. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72816. <comment>Interrupt prio
  72817. 0: Interrupt prio 0
  72818. 1: Interrupt prio 1
  72819. ......
  72820. 7: Interrupt prio 7
  72821. Prio 0 is corrosponed to the highist prio</comment>
  72822. </bits>
  72823. </reg>
  72824. <reg name="vicprio29" protect="rw">
  72825. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72826. <comment>Interrupt prio
  72827. 0: Interrupt prio 0
  72828. 1: Interrupt prio 1
  72829. ......
  72830. 7: Interrupt prio 7
  72831. Prio 0 is corrosponed to the highist prio</comment>
  72832. </bits>
  72833. </reg>
  72834. <reg name="vicprio30" protect="rw">
  72835. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72836. <comment>Interrupt prio
  72837. 0: Interrupt prio 0
  72838. 1: Interrupt prio 1
  72839. ......
  72840. 7: Interrupt prio 7
  72841. Prio 0 is corrosponed to the highist prio</comment>
  72842. </bits>
  72843. </reg>
  72844. <reg name="vicprio31" protect="rw">
  72845. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72846. <comment>Interrupt prio
  72847. 0: Interrupt prio 0
  72848. 1: Interrupt prio 1
  72849. ......
  72850. 7: Interrupt prio 7
  72851. Prio 0 is corrosponed to the highist prio</comment>
  72852. </bits>
  72853. </reg>
  72854. <reg name="vicprio32" protect="rw">
  72855. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72856. <comment>Interrupt prio
  72857. 0: Interrupt prio 0
  72858. 1: Interrupt prio 1
  72859. ......
  72860. 7: Interrupt prio 7
  72861. Prio 0 is corrosponed to the highist prio</comment>
  72862. </bits>
  72863. </reg>
  72864. <reg name="vicprio33" protect="rw">
  72865. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72866. <comment>Interrupt prio
  72867. 0: Interrupt prio 0
  72868. 1: Interrupt prio 1
  72869. ......
  72870. 7: Interrupt prio 7
  72871. Prio 0 is corrosponed to the highist prio</comment>
  72872. </bits>
  72873. </reg>
  72874. <reg name="vicprio34" protect="rw">
  72875. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72876. <comment>Interrupt prio
  72877. 0: Interrupt prio 0
  72878. 1: Interrupt prio 1
  72879. ......
  72880. 7: Interrupt prio 7
  72881. Prio 0 is corrosponed to the highist prio</comment>
  72882. </bits>
  72883. </reg>
  72884. <reg name="vicprio35" protect="rw">
  72885. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72886. <comment>Interrupt prio
  72887. 0: Interrupt prio 0
  72888. 1: Interrupt prio 1
  72889. ......
  72890. 7: Interrupt prio 7
  72891. Prio 0 is corrosponed to the highist prio</comment>
  72892. </bits>
  72893. </reg>
  72894. <reg name="vicprio36" protect="rw">
  72895. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72896. <comment>Interrupt prio
  72897. 0: Interrupt prio 0
  72898. 1: Interrupt prio 1
  72899. ......
  72900. 7: Interrupt prio 7
  72901. Prio 0 is corrosponed to the highist prio</comment>
  72902. </bits>
  72903. </reg>
  72904. <reg name="vicprio37" protect="rw">
  72905. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72906. <comment>Interrupt prio
  72907. 0: Interrupt prio 0
  72908. 1: Interrupt prio 1
  72909. ......
  72910. 7: Interrupt prio 7
  72911. Prio 0 is corrosponed to the highist prio</comment>
  72912. </bits>
  72913. </reg>
  72914. <reg name="vicprio38" protect="rw">
  72915. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72916. <comment>Interrupt prio
  72917. 0: Interrupt prio 0
  72918. 1: Interrupt prio 1
  72919. ......
  72920. 7: Interrupt prio 7
  72921. Prio 0 is corrosponed to the highist prio</comment>
  72922. </bits>
  72923. </reg>
  72924. <reg name="vicprio39" protect="rw">
  72925. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72926. <comment>Interrupt prio
  72927. 0: Interrupt prio 0
  72928. 1: Interrupt prio 1
  72929. ......
  72930. 7: Interrupt prio 7
  72931. Prio 0 is corrosponed to the highist prio</comment>
  72932. </bits>
  72933. </reg>
  72934. <reg name="vicprio40" protect="rw">
  72935. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72936. <comment>Interrupt prio
  72937. 0: Interrupt prio 0
  72938. 1: Interrupt prio 1
  72939. ......
  72940. 7: Interrupt prio 7
  72941. Prio 0 is corrosponed to the highist prio</comment>
  72942. </bits>
  72943. </reg>
  72944. <reg name="vicprio41" protect="rw">
  72945. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72946. <comment>Interrupt prio
  72947. 0: Interrupt prio 0
  72948. 1: Interrupt prio 1
  72949. ......
  72950. 7: Interrupt prio 7
  72951. Prio 0 is corrosponed to the highist prio</comment>
  72952. </bits>
  72953. </reg>
  72954. <reg name="vicprio42" protect="rw">
  72955. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72956. <comment>Interrupt prio
  72957. 0: Interrupt prio 0
  72958. 1: Interrupt prio 1
  72959. ......
  72960. 7: Interrupt prio 7
  72961. Prio 0 is corrosponed to the highist prio</comment>
  72962. </bits>
  72963. </reg>
  72964. <reg name="vicprio43" protect="rw">
  72965. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72966. <comment>Interrupt prio
  72967. 0: Interrupt prio 0
  72968. 1: Interrupt prio 1
  72969. ......
  72970. 7: Interrupt prio 7
  72971. Prio 0 is corrosponed to the highist prio</comment>
  72972. </bits>
  72973. </reg>
  72974. <reg name="vicprio44" protect="rw">
  72975. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72976. <comment>Interrupt prio
  72977. 0: Interrupt prio 0
  72978. 1: Interrupt prio 1
  72979. ......
  72980. 7: Interrupt prio 7
  72981. Prio 0 is corrosponed to the highist prio</comment>
  72982. </bits>
  72983. </reg>
  72984. <reg name="vicprio45" protect="rw">
  72985. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72986. <comment>Interrupt prio
  72987. 0: Interrupt prio 0
  72988. 1: Interrupt prio 1
  72989. ......
  72990. 7: Interrupt prio 7
  72991. Prio 0 is corrosponed to the highist prio</comment>
  72992. </bits>
  72993. </reg>
  72994. <reg name="vicprio46" protect="rw">
  72995. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  72996. <comment>Interrupt prio
  72997. 0: Interrupt prio 0
  72998. 1: Interrupt prio 1
  72999. ......
  73000. 7: Interrupt prio 7
  73001. Prio 0 is corrosponed to the highist prio</comment>
  73002. </bits>
  73003. </reg>
  73004. <reg name="vicprio47" protect="rw">
  73005. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  73006. <comment>Interrupt prio
  73007. 0: Interrupt prio 0
  73008. 1: Interrupt prio 1
  73009. ......
  73010. 7: Interrupt prio 7
  73011. Prio 0 is corrosponed to the highist prio</comment>
  73012. </bits>
  73013. </reg>
  73014. <reg name="vicprio48" protect="rw">
  73015. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  73016. <comment>Interrupt prio
  73017. 0: Interrupt prio 0
  73018. 1: Interrupt prio 1
  73019. ......
  73020. 7: Interrupt prio 7
  73021. Prio 0 is corrosponed to the highist prio</comment>
  73022. </bits>
  73023. </reg>
  73024. <reg name="vicprio49" protect="rw">
  73025. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  73026. <comment>Interrupt prio
  73027. 0: Interrupt prio 0
  73028. 1: Interrupt prio 1
  73029. ......
  73030. 7: Interrupt prio 7
  73031. Prio 0 is corrosponed to the highist prio</comment>
  73032. </bits>
  73033. </reg>
  73034. <reg name="vicprio50" protect="rw">
  73035. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  73036. <comment>Interrupt prio
  73037. 0: Interrupt prio 0
  73038. 1: Interrupt prio 1
  73039. ......
  73040. 7: Interrupt prio 7
  73041. Prio 0 is corrosponed to the highist prio</comment>
  73042. </bits>
  73043. </reg>
  73044. <reg name="vicprio51" protect="rw">
  73045. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  73046. <comment>Interrupt prio
  73047. 0: Interrupt prio 0
  73048. 1: Interrupt prio 1
  73049. ......
  73050. 7: Interrupt prio 7
  73051. Prio 0 is corrosponed to the highist prio</comment>
  73052. </bits>
  73053. </reg>
  73054. <reg name="vicprio52" protect="rw">
  73055. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  73056. <comment>Interrupt prio
  73057. 0: Interrupt prio 0
  73058. 1: Interrupt prio 1
  73059. ......
  73060. 7: Interrupt prio 7
  73061. Prio 0 is corrosponed to the highist prio</comment>
  73062. </bits>
  73063. </reg>
  73064. <reg name="vicprio53" protect="rw">
  73065. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  73066. <comment>Interrupt prio
  73067. 0: Interrupt prio 0
  73068. 1: Interrupt prio 1
  73069. ......
  73070. 7: Interrupt prio 7
  73071. Prio 0 is corrosponed to the highist prio</comment>
  73072. </bits>
  73073. </reg>
  73074. <reg name="vicprio54" protect="rw">
  73075. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  73076. <comment>Interrupt prio
  73077. 0: Interrupt prio 0
  73078. 1: Interrupt prio 1
  73079. ......
  73080. 7: Interrupt prio 7
  73081. Prio 0 is corrosponed to the highist prio</comment>
  73082. </bits>
  73083. </reg>
  73084. <reg name="vicprio55" protect="rw">
  73085. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  73086. <comment>Interrupt prio
  73087. 0: Interrupt prio 0
  73088. 1: Interrupt prio 1
  73089. ......
  73090. 7: Interrupt prio 7
  73091. Prio 0 is corrosponed to the highist prio</comment>
  73092. </bits>
  73093. </reg>
  73094. <reg name="vicprio56" protect="rw">
  73095. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  73096. <comment>Interrupt prio
  73097. 0: Interrupt prio 0
  73098. 1: Interrupt prio 1
  73099. ......
  73100. 7: Interrupt prio 7
  73101. Prio 0 is corrosponed to the highist prio</comment>
  73102. </bits>
  73103. </reg>
  73104. <reg name="vicprio57" protect="rw">
  73105. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  73106. <comment>Interrupt prio
  73107. 0: Interrupt prio 0
  73108. 1: Interrupt prio 1
  73109. ......
  73110. 7: Interrupt prio 7
  73111. Prio 0 is corrosponed to the highist prio</comment>
  73112. </bits>
  73113. </reg>
  73114. <reg name="vicprio58" protect="rw">
  73115. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  73116. <comment>Interrupt prio
  73117. 0: Interrupt prio 0
  73118. 1: Interrupt prio 1
  73119. ......
  73120. 7: Interrupt prio 7
  73121. Prio 0 is corrosponed to the highist prio</comment>
  73122. </bits>
  73123. </reg>
  73124. <reg name="vicprio59" protect="rw">
  73125. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  73126. <comment>Interrupt prio
  73127. 0: Interrupt prio 0
  73128. 1: Interrupt prio 1
  73129. ......
  73130. 7: Interrupt prio 7
  73131. Prio 0 is corrosponed to the highist prio</comment>
  73132. </bits>
  73133. </reg>
  73134. <reg name="vicprio60" protect="rw">
  73135. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  73136. <comment>Interrupt prio
  73137. 0: Interrupt prio 0
  73138. 1: Interrupt prio 1
  73139. ......
  73140. 7: Interrupt prio 7
  73141. Prio 0 is corrosponed to the highist prio</comment>
  73142. </bits>
  73143. </reg>
  73144. <reg name="vicprio61" protect="rw">
  73145. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  73146. <comment>Interrupt prio
  73147. 0: Interrupt prio 0
  73148. 1: Interrupt prio 1
  73149. ......
  73150. 7: Interrupt prio 7
  73151. Prio 0 is corrosponed to the highist prio</comment>
  73152. </bits>
  73153. </reg>
  73154. <reg name="vicprio62" protect="rw">
  73155. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  73156. <comment>Interrupt prio
  73157. 0: Interrupt prio 0
  73158. 1: Interrupt prio 1
  73159. ......
  73160. 7: Interrupt prio 7
  73161. Prio 0 is corrosponed to the highist prio</comment>
  73162. </bits>
  73163. </reg>
  73164. <reg name="vicprio63" protect="rw">
  73165. <bits access="rw" name="vic_pri" pos="2:0" rst="7">
  73166. <comment>Interrupt prio
  73167. 0: Interrupt prio 0
  73168. 1: Interrupt prio 1
  73169. ......
  73170. 7: Interrupt prio 7
  73171. Prio 0 is corrosponed to the highist prio</comment>
  73172. </bits>
  73173. </reg>
  73174. </module>
  73175. </archive>
  73176. <archive relative="cp_zsp_axidma.xml">
  73177. <module category="ZSP_SYS" name="CP_ZSP_AXIDMA">
  73178. <reg name="axidma_conf" protect="rw">
  73179. <bits access="rw" name="gen_reg_secuirty_en" pos="6" rst="1">
  73180. <comment>general used register security visit enable
  73181. 0security
  73182. 1unsecurity</comment>
  73183. </bits>
  73184. <bits access="rw" name="resp_err_stop_en" pos="5" rst="0">
  73185. <comment>response error stop function enable
  73186. 0enable
  73187. 1disable</comment>
  73188. </bits>
  73189. <bits access="rw" name="outstand" pos="4:3" rst="2">
  73190. <comment>the number of outstanding that can be send out
  73191. 0: 2
  73192. 1: 3
  73193. 2: 4</comment>
  73194. </bits>
  73195. <bits access="rw" name="priority" pos="2" rst="0">
  73196. <comment>multe-channel transport priority mode control
  73197. 0: there is no priority in the channels, using polling to DMA data
  73198. 1: smaller channel number has high-priority.high-priority move data before low-priority channels</comment>
  73199. </bits>
  73200. <bits access="rw" name="stop_ie" pos="1" rst="0">
  73201. <comment>interrupt control bit
  73202. 0: no interruption occurs when all logical channels finish
  73203. 1: interruption occurs when all logical channels finish</comment>
  73204. </bits>
  73205. <bits access="rw" name="stop" pos="0" rst="0">
  73206. <comment>the control bit of logical channel transport finish
  73207. 0: don't stop all the channel,or automatically clear after setting
  73208. 1: stop all channel.the current transmission is stopped.the start bits of all channels are cleared</comment>
  73209. </bits>
  73210. </reg>
  73211. <reg name="axidma_delay" protect="rw">
  73212. <bits access="rw" name="delay" pos="15:0" rst="0">
  73213. <comment>in the non-priority mode, the time interval between two COUNTP transmission. Take the system clock as the criterion to avoid AXIDMA long-term use of the bus.</comment>
  73214. </bits>
  73215. </reg>
  73216. <reg name="axidma_status" protect="r">
  73217. <bits access="r" name="stop_status" pos="4" rst="0">
  73218. <comment>stop status
  73219. 0: not finish
  73220. 1: finish</comment>
  73221. </bits>
  73222. <bits access="r" name="ch_num" pos="3:0" rst="15">
  73223. <comment>the channel number of the final transmission
  73224. 0000: channel 0 just finished the transmission
  73225. 0001: channel 1 just finished the transmission
  73226. 0010: channel 2 just finished the transmission
  73227. 1011: channel 11 just finished the transmission
  73228. others: nonentity</comment>
  73229. </bits>
  73230. </reg>
  73231. <reg name="axidma_irq_stat" protect="r">
  73232. <bits access="r" name="rst_fin_irq" pos="12" rst="0">
  73233. <comment>0
  73234. 1</comment>
  73235. </bits>
  73236. <bits access="r" name="ch11_irq" pos="11" rst="0">
  73237. <comment>channel 11 interrupts state
  73238. 0: the channel 11 has not been interrupted, or the interrupt bit has been cleared
  73239. 1: channel 11 is interrupted</comment>
  73240. </bits>
  73241. <bits access="r" name="ch10_irq" pos="10" rst="0">
  73242. <comment>channel 10 interrupts state
  73243. 0: the channel 10 has not been interrupted, or the interrupt bit has been cleared
  73244. 1: channel 10 is interrupted</comment>
  73245. </bits>
  73246. <bits access="r" name="ch9_irq" pos="9" rst="0">
  73247. <comment>channel 9 interrupts state
  73248. 0: the channel 9 has not been interrupted, or the interrupt bit has been cleared
  73249. 1: channel 9 is interrupted</comment>
  73250. </bits>
  73251. <bits access="r" name="ch8_irq" pos="8" rst="0">
  73252. <comment>channel 8 interrupts state
  73253. 0: the channel 8 has not been interrupted, or the interrupt bit has been cleared
  73254. 1: channel 8 is interrupted</comment>
  73255. </bits>
  73256. <bits access="r" name="ch7_irq" pos="7" rst="0">
  73257. <comment>channel 7 interrupts state
  73258. 0: the channel 7 has not been interrupted, or the interrupt bit has been cleared
  73259. 1: channel 7 is interrupted</comment>
  73260. </bits>
  73261. <bits access="r" name="ch6_irq" pos="6" rst="0">
  73262. <comment>channel 6 interrupts state
  73263. 0: the channel 6 has not been interrupted, or the interrupt bit has been cleared
  73264. 1: channel 6 is interrupted</comment>
  73265. </bits>
  73266. <bits access="r" name="ch5_irq" pos="5" rst="0">
  73267. <comment>channel 5 interrupts state
  73268. 0: the channel 5 has not been interrupted, or the interrupt bit has been cleared
  73269. 1: channel 5 is interrupted</comment>
  73270. </bits>
  73271. <bits access="r" name="ch4_irq" pos="4" rst="0">
  73272. <comment>channel 4 interrupts state
  73273. 0: the channel 4 has not been interrupted, or the interrupt bit has been cleared
  73274. 1: channel 4 is interrupted</comment>
  73275. </bits>
  73276. <bits access="r" name="ch3_irq" pos="3" rst="0">
  73277. <comment>channel 3 interrupts state
  73278. 0: the channel 3 has not been interrupted, or the interrupt bit has been cleared
  73279. 1: channel 3 is interrupted</comment>
  73280. </bits>
  73281. <bits access="r" name="ch2_irq" pos="2" rst="0">
  73282. <comment>channel 2 interrupts state
  73283. 0: the channel 2 has not been interrupted, or the interrupt bit has been cleared
  73284. 1: channel 2 is interrupted</comment>
  73285. </bits>
  73286. <bits access="r" name="ch1_irq" pos="1" rst="0">
  73287. <comment>channel 1 interrupts state
  73288. 0: the channel 1 has not been interrupted, or the interrupt bit has been cleared
  73289. 1: channel 1 is interrupted</comment>
  73290. </bits>
  73291. <bits access="r" name="ch0_irq" pos="0" rst="0">
  73292. <comment>channel 0 interrupts state
  73293. 0: the channel 0 has not been interrupted, or the interrupt bit has been cleared
  73294. 1: channel 0 is interrupted</comment>
  73295. </bits>
  73296. </reg>
  73297. <reg name="axidma_arm_req_stat" protect="r">
  73298. <bits access="r" name="irq23" pos="23" rst="0">
  73299. <comment>state of IRQ 23 generate requests of moving data
  73300. 0: IRQ 23 does not generate requests of moving data
  73301. 1: IRQ 23 generate requests of moving data</comment>
  73302. </bits>
  73303. <bits access="r" name="irq22" pos="22" rst="0">
  73304. <comment>state of IRQ 22 generate requests of moving data
  73305. 0: IRQ 22 does not generate requests of moving data
  73306. 1: IRQ 22 generate requests of moving data</comment>
  73307. </bits>
  73308. <bits access="r" name="irq21" pos="21" rst="0">
  73309. <comment>state of IRQ 21 generate requests of moving data
  73310. 0: IRQ 21 does not generate requests of moving data
  73311. 1: IRQ 21 generate requests of moving data</comment>
  73312. </bits>
  73313. <bits access="r" name="irq20" pos="20" rst="0">
  73314. <comment>state of IRQ 20 generate requests of moving data
  73315. 0: IRQ 20 does not generate requests of moving data
  73316. 1: IRQ 20 generate requests of moving data</comment>
  73317. </bits>
  73318. <bits access="r" name="irq19" pos="19" rst="0">
  73319. <comment>state of IRQ 19 generate requests of moving data
  73320. 0: IRQ 19 does not generate requests of moving data
  73321. 1: IRQ 19 generate requests of moving data</comment>
  73322. </bits>
  73323. <bits access="r" name="irq18" pos="18" rst="0">
  73324. <comment>state of IRQ 18 generate requests of moving data
  73325. 0: IRQ 18 does not generate requests of moving data
  73326. 1: IRQ 18 generate requests of moving data</comment>
  73327. </bits>
  73328. <bits access="r" name="irq17" pos="17" rst="0">
  73329. <comment>state of IRQ 17 generate requests of moving data
  73330. 0: IRQ 17 does not generate requests of moving data
  73331. 1: IRQ 17 generate requests of moving data</comment>
  73332. </bits>
  73333. <bits access="r" name="irq16" pos="16" rst="0">
  73334. <comment>state of IRQ 16 generate requests of moving data
  73335. 0: IRQ 16 does not generate requests of moving data
  73336. 1: IRQ 16 generate requests of moving data</comment>
  73337. </bits>
  73338. <bits access="r" name="irq15" pos="15" rst="0">
  73339. <comment>state of IRQ 15 generate requests of moving data
  73340. 0: IRQ 15 does not generate requests of moving data
  73341. 1: IRQ 15 generate requests of moving data</comment>
  73342. </bits>
  73343. <bits access="r" name="irq14" pos="14" rst="0">
  73344. <comment>state of IRQ 14 generate requests of moving data
  73345. 0: IRQ 14 does not generate requests of moving data
  73346. 1: IRQ 14 generate requests of moving data</comment>
  73347. </bits>
  73348. <bits access="r" name="irq13" pos="13" rst="0">
  73349. <comment>state of IRQ 13 generate requests of moving data
  73350. 0: IRQ 13 does not generate requests of moving data
  73351. 1: IRQ 13 generate requests of moving data</comment>
  73352. </bits>
  73353. <bits access="r" name="irq12" pos="12" rst="0">
  73354. <comment>state of IRQ 12 generate requests of moving data
  73355. 0: IRQ 12 does not generate requests of moving data
  73356. 1: IRQ 12 generate requests of moving data</comment>
  73357. </bits>
  73358. <bits access="r" name="irq11" pos="11" rst="0">
  73359. <comment>state of IRQ 11 generate requests of moving data
  73360. 0: IRQ 11 does not generate requests of moving data
  73361. 1: IRQ 11 generate requests of moving data</comment>
  73362. </bits>
  73363. <bits access="r" name="irq10" pos="10" rst="0">
  73364. <comment>state of IRQ 10 generate requests of moving data
  73365. 0: IRQ 10 does not generate requests of moving data
  73366. 1: IRQ 10 generate requests of moving data</comment>
  73367. </bits>
  73368. <bits access="r" name="irq9" pos="9" rst="0">
  73369. <comment>state of IRQ 9 generate requests of moving data
  73370. 0: IRQ 9 does not generate requests of moving data
  73371. 1: IRQ 7 generate requests of moving data</comment>
  73372. </bits>
  73373. <bits access="r" name="irq8" pos="8" rst="0">
  73374. <comment>state of IRQ 8 generate requests of moving data
  73375. 0: IRQ 8 does not generate requests of moving data
  73376. 1: IRQ 8 generate requests of moving data</comment>
  73377. </bits>
  73378. <bits access="r" name="irq7" pos="7" rst="0">
  73379. <comment>state of IRQ 7 generate requests of moving data
  73380. 0: IRQ 7 does not generate requests of moving data
  73381. 1: IRQ 7 generate requests of moving data</comment>
  73382. </bits>
  73383. <bits access="r" name="irq6" pos="6" rst="0">
  73384. <comment>state of IRQ 6 generate requests of moving data
  73385. 0: IRQ 6 does not generate requests of moving data
  73386. 1: IRQ 6 generate requests of moving data</comment>
  73387. </bits>
  73388. <bits access="r" name="irq5" pos="5" rst="0">
  73389. <comment>state of IRQ 5 generate requests of moving data
  73390. 0: IRQ 5 does not generate requests of moving data
  73391. 1: IRQ 5 generate requests of moving data</comment>
  73392. </bits>
  73393. <bits access="r" name="irq4" pos="4" rst="0">
  73394. <comment>state of IRQ 4 generate requests of moving data
  73395. 0: IRQ 4 does not generate requests of moving data
  73396. 1: IRQ 4 generate requests of moving data</comment>
  73397. </bits>
  73398. <bits access="r" name="irq3" pos="3" rst="0">
  73399. <comment>state of IRQ 3 generate requests of moving data
  73400. 0: IRQ 3 does not generate requests of moving data
  73401. 1: IRQ 3 generate requests of moving data</comment>
  73402. </bits>
  73403. <bits access="r" name="irq2" pos="2" rst="0">
  73404. <comment>state of IRQ 2 generate requests of moving data
  73405. 0: IRQ 2 does not generate requests of moving data
  73406. 1: IRQ 2 generate requests of moving data</comment>
  73407. </bits>
  73408. <bits access="r" name="irq1" pos="1" rst="0">
  73409. <comment>state of IRQ 1 generate requests of moving data
  73410. 0: IRQ 1 does not generate requests of moving data
  73411. 1: IRQ 1 generate requests of moving data</comment>
  73412. </bits>
  73413. <bits access="r" name="irq0" pos="0" rst="0">
  73414. <comment>state of IRQ 0 generate requests of moving data
  73415. 0: IRQ 0 does not generate requests of moving data
  73416. 1: IRQ 0 generate requests of moving data</comment>
  73417. </bits>
  73418. </reg>
  73419. <reg name="axidma_arm_ack_stat" protect="r">
  73420. <bits access="r" name="ack23" pos="23" rst="0">
  73421. <comment>state of ACK 23 generate requests of moving data
  73422. 0: ACK 23 does not generate requests of moving data
  73423. 1: ACK 23 generate requests of moving data</comment>
  73424. </bits>
  73425. <bits access="r" name="ack22" pos="22" rst="0">
  73426. <comment>state of ACK 22 generate requests of moving data
  73427. 0: ACK 22 does not generate requests of moving data
  73428. 1: ACK 22 generate requests of moving data</comment>
  73429. </bits>
  73430. <bits access="r" name="ack21" pos="21" rst="0">
  73431. <comment>state of ACK 21 generate requests of moving data
  73432. 0: ACK 21 does not generate requests of moving data
  73433. 1: ACK 21 generate requests of moving data</comment>
  73434. </bits>
  73435. <bits access="r" name="ack20" pos="20" rst="0">
  73436. <comment>state of ACK 20 generate requests of moving data
  73437. 0: ACK 20 does not generate requests of moving data
  73438. 1: ACK 20 generate requests of moving data</comment>
  73439. </bits>
  73440. <bits access="r" name="ack19" pos="19" rst="0">
  73441. <comment>state of ACK 19 generate requests of moving data
  73442. 0: ACK 19 does not generate requests of moving data
  73443. 1: ACK 19 generate requests of moving data</comment>
  73444. </bits>
  73445. <bits access="r" name="ack18" pos="18" rst="0">
  73446. <comment>state of ACK 18 generate requests of moving data
  73447. 0: ACK 18 does not generate requests of moving data
  73448. 1: ACK 18 generate requests of moving data</comment>
  73449. </bits>
  73450. <bits access="r" name="ack17" pos="17" rst="0">
  73451. <comment>state of ACK 17 generate requests of moving data
  73452. 0: ACK 17 does not generate requests of moving data
  73453. 1: ACK 17 generate requests of moving data</comment>
  73454. </bits>
  73455. <bits access="r" name="ack16" pos="16" rst="0">
  73456. <comment>state of ACK 16 generate requests of moving data
  73457. 0: ACK 16 does not generate requests of moving data
  73458. 1: ACK 16 generate requests of moving data</comment>
  73459. </bits>
  73460. <bits access="r" name="ack15" pos="15" rst="0">
  73461. <comment>state of ACK 15 generate requests of moving data
  73462. 0: ACK 15 does not generate requests of moving data
  73463. 1: ACK 15 generate requests of moving data</comment>
  73464. </bits>
  73465. <bits access="r" name="ack14" pos="14" rst="0">
  73466. <comment>state of ACK 14 generate requests of moving data
  73467. 0: ACK 14 does not generate requests of moving data
  73468. 1: ACK 14 generate requests of moving data</comment>
  73469. </bits>
  73470. <bits access="r" name="ack13" pos="13" rst="0">
  73471. <comment>state of ACK 13 generate requests of moving data
  73472. 0: ACK 13 does not generate requests of moving data
  73473. 1: ACK 13 generate requests of moving data</comment>
  73474. </bits>
  73475. <bits access="r" name="ack12" pos="12" rst="0">
  73476. <comment>state of ACK 12 generate requests of moving data
  73477. 0: ACK 12 does not generate requests of moving data
  73478. 1: ACK 12 generate requests of moving data</comment>
  73479. </bits>
  73480. <bits access="r" name="ack11" pos="11" rst="0">
  73481. <comment>state of ACK 11 generate requests of moving data
  73482. 0: ACK 11 does not generate requests of moving data
  73483. 1: ACK 11 generate requests of moving data</comment>
  73484. </bits>
  73485. <bits access="r" name="ack10" pos="10" rst="0">
  73486. <comment>state of ACK 10 generate requests of moving data
  73487. 0: ACK 10 does not generate requests of moving data
  73488. 1: ACK 10 generate requests of moving data</comment>
  73489. </bits>
  73490. <bits access="r" name="ack9" pos="9" rst="0">
  73491. <comment>state of ACK 9 generate requests of moving data
  73492. 0: ACK 9 does not generate requests of moving data
  73493. 1: ACK 7 generate requests of moving data</comment>
  73494. </bits>
  73495. <bits access="r" name="ack8" pos="8" rst="0">
  73496. <comment>state of ACK 8 generate requests of moving data
  73497. 0: ACK 8 does not generate requests of moving data
  73498. 1: ACK 8 generate requests of moving data</comment>
  73499. </bits>
  73500. <bits access="r" name="ack7" pos="7" rst="0">
  73501. <comment>state of ACK 7 generate requests of moving data
  73502. 0: ACK 7 does not generate requests of moving data
  73503. 1: ACK 7 generate requests of moving data</comment>
  73504. </bits>
  73505. <bits access="r" name="ack6" pos="6" rst="0">
  73506. <comment>state of ACK 6 generate requests of moving data
  73507. 0: ACK 6 does not generate requests of moving data
  73508. 1: ACK 6 generate requests of moving data</comment>
  73509. </bits>
  73510. <bits access="r" name="ack5" pos="5" rst="0">
  73511. <comment>state of ACK 5 generate requests of moving data
  73512. 0: ACK 5 does not generate requests of moving data
  73513. 1: ACK 5 generate requests of moving data</comment>
  73514. </bits>
  73515. <bits access="r" name="ack4" pos="4" rst="0">
  73516. <comment>state of ACK 4 generate requests of moving data
  73517. 0: ACK 4 does not generate requests of moving data
  73518. 1: ACK 4 generate requests of moving data</comment>
  73519. </bits>
  73520. <bits access="r" name="ack3" pos="3" rst="0">
  73521. <comment>state of ACK 3 generate requests of moving data
  73522. 0: ACK 3 does not generate requests of moving data
  73523. 1: ACK 3 generate requests of moving data</comment>
  73524. </bits>
  73525. <bits access="r" name="ack2" pos="2" rst="0">
  73526. <comment>state of ACK 2 generate requests of moving data
  73527. 0: ACK 2 does not generate requests of moving data
  73528. 1: ACK 2 generate requests of moving data</comment>
  73529. </bits>
  73530. <bits access="r" name="ack1" pos="1" rst="0">
  73531. <comment>state of ACK 1 generate requests of moving data
  73532. 0: ACK 1 does not generate requests of moving data
  73533. 1: ACK 1 generate requests of moving data</comment>
  73534. </bits>
  73535. <bits access="r" name="ack0" pos="0" rst="0">
  73536. <comment>state of ACK 0 generate requests of moving data
  73537. 0: ACK 0 does not generate requests of moving data
  73538. 1: ACK 0 generate requests of moving data</comment>
  73539. </bits>
  73540. </reg>
  73541. <hole size="64"/>
  73542. <reg name="axidma_ch_irq_distr" protect="rw">
  73543. <bits access="rw" name="ch11_irq_en0" pos="11" rst="0">
  73544. <comment>channel 11 interrupt allocation bit
  73545. 0: the interrupt of the channel is output to the dma_irq interruption
  73546. 1: the interrupt of the channel is output to the dma_irq1 interruption</comment>
  73547. </bits>
  73548. <bits access="rw" name="ch10_irq_en0" pos="10" rst="0">
  73549. <comment>channel 10 interrupt allocation bit
  73550. 0: the interrupt of the channel is output to the dma_irq interruption
  73551. 1: the interrupt of the channel is output to the dma_irq1 interruption</comment>
  73552. </bits>
  73553. <bits access="rw" name="ch9_irq_en0" pos="9" rst="0">
  73554. <comment>channel 9 interrupt allocation bit
  73555. 0: the interrupt of the channel is output to the dma_irq interruption
  73556. 1: the interrupt of the channel is output to the dma_irq1 interruption</comment>
  73557. </bits>
  73558. <bits access="rw" name="ch8_irq_en0" pos="8" rst="0">
  73559. <comment>channel 8 interrupt allocation bit
  73560. 0: the interrupt of the channel is output to the dma_irq interruption
  73561. 1: the interrupt of the channel is output to the dma_irq1 interruption</comment>
  73562. </bits>
  73563. <bits access="rw" name="ch7_irq_en0" pos="7" rst="0">
  73564. <comment>channel 7 interrupt allocation bit
  73565. 0: the interrupt of the channel is output to the dma_irq interruption
  73566. 1: the interrupt of the channel is output to the dma_irq1 interruption</comment>
  73567. </bits>
  73568. <bits access="rw" name="ch6_irq_en0" pos="6" rst="0">
  73569. <comment>channel 6 interrupt allocation bit
  73570. 0: the interrupt of the channel is output to the dma_irq interruption
  73571. 1: the interrupt of the channel is output to the dma_irq1 interruption</comment>
  73572. </bits>
  73573. <bits access="rw" name="ch5_irq_en0" pos="5" rst="0">
  73574. <comment>channel 5 interrupt allocation bit
  73575. 0: the interrupt of the channel is output to the dma_irq interruption
  73576. 1: the interrupt of the channel is output to the dma_irq1 interruption</comment>
  73577. </bits>
  73578. <bits access="rw" name="ch4_irq_en0" pos="4" rst="0">
  73579. <comment>channel 4 interrupt allocation bit
  73580. 0: the interrupt of the channel is output to the dma_irq interruption
  73581. 1: the interrupt of the channel is output to the dma_irq1 interruption</comment>
  73582. </bits>
  73583. <bits access="rw" name="ch3_irq_en0" pos="3" rst="0">
  73584. <comment>channel 3 interrupt allocation bit
  73585. 0: the interrupt of the channel is output to the dma_irq interruption
  73586. 1: the interrupt of the channel is output to the dma_irq1 interruption</comment>
  73587. </bits>
  73588. <bits access="rw" name="ch2_irq_en0" pos="2" rst="0">
  73589. <comment>channel 2 interrupt allocation bit
  73590. 0: the interrupt of the channel is output to the dma_irq interruption
  73591. 1: the interrupt of the channel is output to the dma_irq1 interruption</comment>
  73592. </bits>
  73593. <bits access="rw" name="ch1_irq_en0" pos="1" rst="0">
  73594. <comment>channel 1 interrupt allocation bit
  73595. 0: the interrupt of the channel is output to the dma_irq interruption
  73596. 1: the interrupt of the channel is output to the dma_irq1 interruption</comment>
  73597. </bits>
  73598. <bits access="rw" name="ch0_irq_en0" pos="0" rst="0">
  73599. <comment>channel 0 interrupt allocation bit
  73600. 0: the interrupt of the channel is output to the dma_irq interruption
  73601. 1: the interrupt of the channel is output to the dma_irq1 interruption</comment>
  73602. </bits>
  73603. </reg>
  73604. <hole size="224"/>
  73605. <reg name="axidma_c0_conf" protect="rw">
  73606. <bits access="rw" name="err_int_en" pos="15" rst="0">
  73607. <comment>response error interrupt enable
  73608. 0disable
  73609. 1enable</comment>
  73610. </bits>
  73611. <bits access="rw" name="security_en" pos="14" rst="1">
  73612. <comment>security visit
  73613. 0security
  73614. 1unsecurity</comment>
  73615. </bits>
  73616. <bits access="rw" name="daddr_turnaround" pos="13" rst="0">
  73617. <comment>after moving a COUNTP,the DADDR is automatically returned to the original destination addr
  73618. 0: the destination addr does not automatically ring back
  73619. 1: the destination addr automatically ring back</comment>
  73620. </bits>
  73621. <bits access="rw" name="saddr_turnaround" pos="12" rst="0">
  73622. <comment>after moving a COUNTP,the SADDR is automatically returned to initial source addr
  73623. 0: the source addr does not automatically ring back
  73624. 1: the source addr automatically ring back</comment>
  73625. </bits>
  73626. <bits access="rw" name="count_sel" pos="10" rst="0">
  73627. <comment>the length of moving data in one interrupt in interrupted mode
  73628. 0: move a countp
  73629. 1: move all count</comment>
  73630. </bits>
  73631. <bits access="rw" name="force_trans" pos="8" rst="0">
  73632. <comment>mandatory transmission control bit
  73633. 0: a transmission is not mandatory in interrupted mode. Or after seting, automatically cleared.
  73634. 1: force a transmission without interruption in interrupted mode.</comment>
  73635. </bits>
  73636. <bits access="rw" name="daddr_fix" pos="7" rst="0">
  73637. <comment>fixed destination addr control bit
  73638. 0: destination addr can be incremented by different data types during transmission
  73639. 1: the destination addr is fixed during transmission</comment>
  73640. </bits>
  73641. <bits access="rw" name="saddr_fix" pos="6" rst="0">
  73642. <comment>fixed source addr control bit
  73643. 0: source addr can be incremented by different data types during transmission
  73644. 1: the source add is fixed during transmission</comment>
  73645. </bits>
  73646. <bits access="rw" name="irq_t" pos="5" rst="0">
  73647. <comment>control bit of each transmission interruption
  73648. 0: each transmission does not produce an interrupt signal
  73649. 1: each transmission prodece an interrupt signal</comment>
  73650. </bits>
  73651. <bits access="rw" name="irq_f" pos="4" rst="1">
  73652. <comment>control bit of whole transmission interruption
  73653. 0: whole transmission does not produce an interrupt signal
  73654. 1: whole transmission prodece an interrupt signal</comment>
  73655. </bits>
  73656. <bits access="rw" name="syn_irq" pos="3" rst="0">
  73657. <comment>control bit of synchronous interrupt trigger mode
  73658. 0: this channel is in normal transmission mode
  73659. 1: this channel is in sync interrupt trigger mode</comment>
  73660. </bits>
  73661. <bits access="rw" name="data_type" pos="2:1" rst="0">
  73662. <comment>data types
  73663. 00: Byte (8 bits)
  73664. 01: Half Word (16 bits)
  73665. 10: Word (32 bits)
  73666. 11: DWord (64 bits)</comment>
  73667. </bits>
  73668. <bits access="rw" name="start" pos="0" rst="0">
  73669. <comment>start control bit
  73670. 0: stop the transmission of this channel
  73671. 1: start the transmission of this channel</comment>
  73672. </bits>
  73673. </reg>
  73674. <reg name="axidma_c0_map" protect="rw">
  73675. <bits access="rw" name="ack_map" pos="12:8" rst="0">
  73676. <comment>this channel corresponds to the ACK signal that is triggered
  73677. 00000: ACK0
  73678. 00001: ACK1
  73679. 00010: ACK2
  73680. 10111: ACK23</comment>
  73681. </bits>
  73682. <bits access="rw" name="req_source" pos="4:0" rst="0">
  73683. <comment>the source of interrupt trigger for this channel
  73684. 00000: IRQ0 trigger transmission
  73685. 00001: IRQ1 trigger transmission
  73686. 00010: IRQ2 trigger transmission
  73687. 01111: IRQ15 trigger transmission
  73688. 10111: IRQ23trigger transmission</comment>
  73689. </bits>
  73690. </reg>
  73691. <reg name="axidma_c0_saddr" protect="rw">
  73692. <bits access="rw" name="s_addr" pos="31:0" rst="0">
  73693. <comment>the source addr of this channel</comment>
  73694. </bits>
  73695. </reg>
  73696. <reg name="axidma_c0_daddr" protect="rw">
  73697. <bits access="rw" name="d_addr" pos="31:0" rst="0">
  73698. <comment>the destination addr of this channel</comment>
  73699. </bits>
  73700. </reg>
  73701. <reg name="axidma_c0_count" protect="rw">
  73702. <bits access="rw" name="count" pos="23:0" rst="0">
  73703. <comment>The total length of the transmitted data is measured in byte</comment>
  73704. </bits>
  73705. </reg>
  73706. <reg name="axidma_c0_countp" protect="rw">
  73707. <bits access="rw" name="countp" pos="15:0" rst="0">
  73708. <comment>the data length per transmission is measured in byte</comment>
  73709. </bits>
  73710. </reg>
  73711. <reg name="axidma_c0_status" protect="rw">
  73712. <bits access="rc" name="resp_err_int" pos="26" rst="0">
  73713. <comment>bit type is changed from w1c to rc.
  73714. response error interrupt flag
  73715. 0unset
  73716. 1set</comment>
  73717. </bits>
  73718. <bits access="rc" name="resp_err" pos="25" rst="0">
  73719. <comment>bit type is changed from w1c to rc.
  73720. response error status
  73721. 0unset
  73722. 1set</comment>
  73723. </bits>
  73724. <bits access="rc" name="sg_suspend_sta" pos="24" rst="0">
  73725. <comment>bit type is changed from w1c to rc.
  73726. data linked list is paused
  73727. 0: not paused
  73728. 1: paused</comment>
  73729. </bits>
  73730. <bits access="rc" name="sg_finish_sta" pos="23" rst="0">
  73731. <comment>bit type is changed from w1c to rc.
  73732. the linked list is completed
  73733. 0: not completed
  73734. 1: completed</comment>
  73735. </bits>
  73736. <bits access="rc" name="countp_finish_sta" pos="22" rst="0">
  73737. <comment>bit type is changed from w1c to rc.
  73738. COUNTP transmission completion indication
  73739. 0: COUNTP is not completed
  73740. 1: COUNTP is completed</comment>
  73741. </bits>
  73742. <bits access="rc" name="count_finish_sta" pos="21" rst="0">
  73743. <comment>bit type is changed from w1c to rc.
  73744. COUNT transmission completion indication
  73745. 0: COUNT is not completed
  73746. 1: COUNT is completed</comment>
  73747. </bits>
  73748. <bits access="rc" name="sg_suspend_int" pos="20" rst="0">
  73749. <comment>bit type is changed from w1c to rc.
  73750. scatter-gather pause</comment>
  73751. </bits>
  73752. <bits access="rc" name="sg_count" pos="19:4" rst="0">
  73753. <comment>bit type is changed from w1c to rc.
  73754. the number of scatter-gather transfers completed
  73755. 0x0000: 0
  73756. 0xFFFF: 65535 times</comment>
  73757. </bits>
  73758. <bits access="rc" name="sg_finish_int" pos="3" rst="0">
  73759. <comment>bit type is changed from w1c to rc.
  73760. scatter-gather transmission completion
  73761. 0: scatter-gather is not completed
  73762. 1: scatter-gather is completed</comment>
  73763. </bits>
  73764. <bits access="rc" name="countp_finish_int" pos="2" rst="0">
  73765. <comment>bit type is changed from w1c to rc.
  73766. COUNTP transmission completion indication
  73767. 0: COUNTP is not completed
  73768. 1: COUNTP is completed</comment>
  73769. </bits>
  73770. <bits access="rc" name="count_finish_int" pos="1" rst="0">
  73771. <comment>bit type is changed from w1c to rc.
  73772. the whole transmission completion indication
  73773. 0: the whole transmission is not completed
  73774. 1: the whole transmission is completed</comment>
  73775. </bits>
  73776. <bits access="rc" name="run" pos="0" rst="0">
  73777. <comment>bit type is changed from w1c to rc.
  73778. the channel runs state
  73779. 0: IDLE
  73780. 1: TRANS</comment>
  73781. </bits>
  73782. </reg>
  73783. <reg name="axidma_c0_sgaddr" protect="rw">
  73784. <bits access="rw" name="sg_addr" pos="31:0" rst="0">
  73785. <comment>first addr of the structural body</comment>
  73786. </bits>
  73787. </reg>
  73788. <reg name="axidma_c0_sgconf" protect="rw">
  73789. <bits access="rw" name="sg_num" pos="19:4" rst="0">
  73790. <comment>scatter-gather transmission frequency
  73791. 0x0: unlimited limit
  73792. 0xFFFF: 65535 times</comment>
  73793. </bits>
  73794. <bits access="rw" name="desc_rd_ctrl" pos="3" rst="0">
  73795. <comment>linked table read control
  73796. 0: after the data is moved,the linked list isread and no descriptor_req are required
  73797. 1: descriptor_req is needed to read the linked list</comment>
  73798. </bits>
  73799. <bits access="rw" name="sg_suspend_ie" pos="2" rst="0">
  73800. <comment>scatter-gather pause interrupt enable
  73801. 0: disable
  73802. 1: enable</comment>
  73803. </bits>
  73804. <bits access="rw" name="sg_finish_ie" pos="1" rst="0">
  73805. <comment>scatter-gather complete interrupt enable
  73806. 0: disable
  73807. 1: enable</comment>
  73808. </bits>
  73809. <bits access="rc" name="sg_en" pos="0" rst="0">
  73810. <comment>bit type is changed from w1c to rc.
  73811. scatter-gather function enable
  73812. 0: disable
  73813. 1: enable</comment>
  73814. </bits>
  73815. </reg>
  73816. <reg name="axidma_c0_set" protect="rw">
  73817. <bits access="rw" name="run_set" pos="0" rst="0">
  73818. <comment>channel runs position
  73819. 0: the running bit of the channel does not change
  73820. 1: set the running bit of the channel</comment>
  73821. </bits>
  73822. </reg>
  73823. <reg name="axidma_c0_clr" protect="rw">
  73824. <bits access="rw" name="run_clr" pos="0" rst="0">
  73825. <comment>clear the running bit of channel
  73826. 0: the running bit of the channel does not change
  73827. 1: clear the running bit of the channel</comment>
  73828. </bits>
  73829. </reg>
  73830. <hole size="160"/>
  73831. <reg name="axidma_c1_conf" protect="rw">
  73832. <bits access="rw" name="err_int_en" pos="15" rst="0">
  73833. <comment>response error interrupt enable
  73834. 0disable
  73835. 1enable</comment>
  73836. </bits>
  73837. <bits access="rw" name="security_en" pos="14" rst="1">
  73838. <comment>security visit
  73839. 0security
  73840. 1unsecurity</comment>
  73841. </bits>
  73842. <bits access="rw" name="daddr_turnaround" pos="13" rst="0">
  73843. <comment>after moving a COUNTP,the DADDR is automatically returned to the original destination addr
  73844. 0: the destination addr does not automatically ring back
  73845. 1: the destination addr automatically ring back</comment>
  73846. </bits>
  73847. <bits access="rw" name="saddr_turnaround" pos="12" rst="0">
  73848. <comment>after moving a COUNTP,the SADDR is automatically returned to initial source addr
  73849. 0: the source addr does not automatically ring back
  73850. 1: the source addr automatically ring back</comment>
  73851. </bits>
  73852. <bits access="rw" name="count_sel" pos="10" rst="0">
  73853. <comment>the length of moving data in one interrupt in interrupted mode
  73854. 0: move a countp
  73855. 1: move all count</comment>
  73856. </bits>
  73857. <bits access="rw" name="force_trans" pos="8" rst="0">
  73858. <comment>mandatory transmission control bit
  73859. 0: a transmission is not mandatory in interrupted mode. Or after seting, automatically cleared.
  73860. 1: force a transmission without interruption in interrupted mode.</comment>
  73861. </bits>
  73862. <bits access="rw" name="daddr_fix" pos="7" rst="0">
  73863. <comment>fixed destination addr control bit
  73864. 0: destination addr can be incremented by different data types during transmission
  73865. 1: the destination addr is fixed during transmission</comment>
  73866. </bits>
  73867. <bits access="rw" name="saddr_fix" pos="6" rst="0">
  73868. <comment>fixed source addr control bit
  73869. 0: source addr can be incremented by different data types during transmission
  73870. 1: the source add is fixed during transmission</comment>
  73871. </bits>
  73872. <bits access="rw" name="irq_t" pos="5" rst="0">
  73873. <comment>control bit of each transmission interruption
  73874. 0: each transmission does not produce an interrupt signal
  73875. 1: each transmission prodece an interrupt signal</comment>
  73876. </bits>
  73877. <bits access="rw" name="irq_f" pos="4" rst="1">
  73878. <comment>control bit of whole transmission interruption
  73879. 0: whole transmission does not produce an interrupt signal
  73880. 1: whole transmission prodece an interrupt signal</comment>
  73881. </bits>
  73882. <bits access="rw" name="syn_irq" pos="3" rst="0">
  73883. <comment>control bit of synchronous interrupt trigger mode
  73884. 0: this channel is in normal transmission mode
  73885. 1: this channel is in sync interrupt trigger mode</comment>
  73886. </bits>
  73887. <bits access="rw" name="data_type" pos="2:1" rst="0">
  73888. <comment>data types
  73889. 00: Byte (8 bits)
  73890. 01: Half Word (16 bits)
  73891. 10: Word (32 bits)
  73892. 11: DWord (64 bits)</comment>
  73893. </bits>
  73894. <bits access="rw" name="start" pos="0" rst="0">
  73895. <comment>start control bit
  73896. 0: stop the transmission of this channel
  73897. 1: start the transmission of this channel</comment>
  73898. </bits>
  73899. </reg>
  73900. <reg name="axidma_c1_map" protect="rw">
  73901. <bits access="rw" name="ack_map" pos="12:8" rst="1">
  73902. <comment>this channel corresponds to the ACK signal that is triggered
  73903. 00000: ACK0
  73904. 00001: ACK1
  73905. 00010: ACK2
  73906. 10111: ACK23</comment>
  73907. </bits>
  73908. <bits access="rw" name="req_source" pos="4:0" rst="1">
  73909. <comment>the source of interrupt trigger for this channel
  73910. 00000: IRQ0 trigger transmission
  73911. 00001: IRQ1 trigger transmission
  73912. 00010: IRQ2 trigger transmission
  73913. 01111: IRQ15 trigger transmission
  73914. 10111: IRQ23trigger transmission</comment>
  73915. </bits>
  73916. </reg>
  73917. <reg name="axidma_c1_saddr" protect="rw">
  73918. <bits access="rw" name="s_addr" pos="31:0" rst="0">
  73919. <comment>the source addr of this channel</comment>
  73920. </bits>
  73921. </reg>
  73922. <reg name="axidma_c1_daddr" protect="rw">
  73923. <bits access="rw" name="d_addr" pos="31:0" rst="0">
  73924. <comment>the destination addr of this channel</comment>
  73925. </bits>
  73926. </reg>
  73927. <reg name="axidma_c1_count" protect="rw">
  73928. <bits access="rw" name="count" pos="23:0" rst="0">
  73929. <comment>The total length of the transmitted data is measured in byte</comment>
  73930. </bits>
  73931. </reg>
  73932. <reg name="axidma_c1_countp" protect="rw">
  73933. <bits access="rw" name="countp" pos="15:0" rst="0">
  73934. <comment>the data length per transmission is measured in byte</comment>
  73935. </bits>
  73936. </reg>
  73937. <reg name="axidma_c1_status" protect="rw">
  73938. <bits access="rc" name="resp_err_int" pos="26" rst="0">
  73939. <comment>bit type is changed from w1c to rc.
  73940. response error interrupt flag
  73941. 0unset
  73942. 1set</comment>
  73943. </bits>
  73944. <bits access="rc" name="resp_err" pos="25" rst="0">
  73945. <comment>bit type is changed from w1c to rc.
  73946. response error status
  73947. 0unset
  73948. 1set</comment>
  73949. </bits>
  73950. <bits access="rc" name="sg_suspend_sta" pos="24" rst="0">
  73951. <comment>bit type is changed from w1c to rc.
  73952. data linked list is paused
  73953. 0: not paused
  73954. 1: paused</comment>
  73955. </bits>
  73956. <bits access="rc" name="sg_finish_sta" pos="23" rst="0">
  73957. <comment>bit type is changed from w1c to rc.
  73958. the linked list is completed
  73959. 0: not completed
  73960. 1: completed</comment>
  73961. </bits>
  73962. <bits access="rc" name="countp_finish_sta" pos="22" rst="0">
  73963. <comment>bit type is changed from w1c to rc.
  73964. COUNTP transmission completion indication
  73965. 0: COUNTP is not completed
  73966. 1: COUNTP is completed</comment>
  73967. </bits>
  73968. <bits access="rc" name="count_finish_sta" pos="21" rst="0">
  73969. <comment>bit type is changed from w1c to rc.
  73970. COUNT transmission completion indication
  73971. 0: COUNT is not completed
  73972. 1: COUNT is completed</comment>
  73973. </bits>
  73974. <bits access="rc" name="sg_suspend_int" pos="20" rst="0">
  73975. <comment>bit type is changed from w1c to rc.
  73976. scatter-gather pause</comment>
  73977. </bits>
  73978. <bits access="rc" name="sg_count" pos="19:4" rst="0">
  73979. <comment>bit type is changed from w1c to rc.
  73980. the number of scatter-gather transfers completed
  73981. 0x0000: 0
  73982. 0xFFFF: 65535 times</comment>
  73983. </bits>
  73984. <bits access="rc" name="sg_finish_int" pos="3" rst="0">
  73985. <comment>bit type is changed from w1c to rc.
  73986. scatter-gather transmission completion
  73987. 0: scatter-gather is not completed
  73988. 1: scatter-gather is completed</comment>
  73989. </bits>
  73990. <bits access="rc" name="countp_finish_int" pos="2" rst="0">
  73991. <comment>bit type is changed from w1c to rc.
  73992. COUNTP transmission completion indication
  73993. 0: COUNTP is not completed
  73994. 1: COUNTP is completed</comment>
  73995. </bits>
  73996. <bits access="rc" name="count_finish_int" pos="1" rst="0">
  73997. <comment>bit type is changed from w1c to rc.
  73998. the whole transmission completion indication
  73999. 0: the whole transmission is not completed
  74000. 1: the whole transmission is completed</comment>
  74001. </bits>
  74002. <bits access="rc" name="run" pos="0" rst="0">
  74003. <comment>bit type is changed from w1c to rc.
  74004. the channel runs state
  74005. 0: IDLE
  74006. 1: TRANS</comment>
  74007. </bits>
  74008. </reg>
  74009. <reg name="axidma_c1_sgaddr" protect="rw">
  74010. <bits access="rw" name="sg_addr" pos="31:0" rst="0">
  74011. <comment>first addr of the structural body</comment>
  74012. </bits>
  74013. </reg>
  74014. <reg name="axidma_c1_sgconf" protect="rw">
  74015. <bits access="rw" name="sg_num" pos="19:4" rst="0">
  74016. <comment>scatter-gather transmission frequency
  74017. 0x0: unlimited limit
  74018. 0xFFFF: 65535 times</comment>
  74019. </bits>
  74020. <bits access="rw" name="desc_rd_ctrl" pos="3" rst="0">
  74021. <comment>linked table read control
  74022. 0: after the data is moved,the linked list isread and no descriptor_req are required
  74023. 1: descriptor_req is needed to read the linked list</comment>
  74024. </bits>
  74025. <bits access="rw" name="sg_suspend_ie" pos="2" rst="0">
  74026. <comment>scatter-gather pause interrupt enable
  74027. 0: disable
  74028. 1: enable</comment>
  74029. </bits>
  74030. <bits access="rw" name="sg_finish_ie" pos="1" rst="0">
  74031. <comment>scatter-gather complete interrupt enable
  74032. 0: disable
  74033. 1: enable</comment>
  74034. </bits>
  74035. <bits access="rc" name="sg_en" pos="0" rst="0">
  74036. <comment>bit type is changed from w1c to rc.
  74037. scatter-gather function enable
  74038. 0: disable
  74039. 1: enable</comment>
  74040. </bits>
  74041. </reg>
  74042. <reg name="axidma_c1_set" protect="rw">
  74043. <bits access="rw" name="run_set" pos="0" rst="0">
  74044. <comment>channel runs position
  74045. 0: the running bit of the channel does not change
  74046. 1: set the running bit of the channel</comment>
  74047. </bits>
  74048. </reg>
  74049. <reg name="axidma_c1_clr" protect="rw">
  74050. <bits access="rw" name="run_clr" pos="0" rst="0">
  74051. <comment>clear the running bit of channel
  74052. 0: the running bit of the channel does not change
  74053. 1: clear the running bit of the channel</comment>
  74054. </bits>
  74055. </reg>
  74056. <hole size="160"/>
  74057. <reg name="axidma_c2_conf" protect="rw">
  74058. <bits access="rw" name="err_int_en" pos="15" rst="0">
  74059. <comment>response error interrupt enable
  74060. 0disable
  74061. 1enable</comment>
  74062. </bits>
  74063. <bits access="rw" name="security_en" pos="14" rst="1">
  74064. <comment>security visit
  74065. 0security
  74066. 1unsecurity</comment>
  74067. </bits>
  74068. <bits access="rw" name="daddr_turnaround" pos="13" rst="0">
  74069. <comment>after moving a COUNTP,the DADDR is automatically returned to the original destination addr
  74070. 0: the destination addr does not automatically ring back
  74071. 1: the destination addr automatically ring back</comment>
  74072. </bits>
  74073. <bits access="rw" name="saddr_turnaround" pos="12" rst="0">
  74074. <comment>after moving a COUNTP,the SADDR is automatically returned to initial source addr
  74075. 0: the source addr does not automatically ring back
  74076. 1: the source addr automatically ring back</comment>
  74077. </bits>
  74078. <bits access="rw" name="count_sel" pos="10" rst="0">
  74079. <comment>the length of moving data in one interrupt in interrupted mode
  74080. 0: move a countp
  74081. 1: move all count</comment>
  74082. </bits>
  74083. <bits access="rw" name="force_trans" pos="8" rst="0">
  74084. <comment>mandatory transmission control bit
  74085. 0: a transmission is not mandatory in interrupted mode. Or after seting, automatically cleared.
  74086. 1: force a transmission without interruption in interrupted mode.</comment>
  74087. </bits>
  74088. <bits access="rw" name="daddr_fix" pos="7" rst="0">
  74089. <comment>fixed destination addr control bit
  74090. 0: destination addr can be incremented by different data types during transmission
  74091. 1: the destination addr is fixed during transmission</comment>
  74092. </bits>
  74093. <bits access="rw" name="saddr_fix" pos="6" rst="0">
  74094. <comment>fixed source addr control bit
  74095. 0: source addr can be incremented by different data types during transmission
  74096. 1: the source add is fixed during transmission</comment>
  74097. </bits>
  74098. <bits access="rw" name="irq_t" pos="5" rst="0">
  74099. <comment>control bit of each transmission interruption
  74100. 0: each transmission does not produce an interrupt signal
  74101. 1: each transmission prodece an interrupt signal</comment>
  74102. </bits>
  74103. <bits access="rw" name="irq_f" pos="4" rst="1">
  74104. <comment>control bit of whole transmission interruption
  74105. 0: whole transmission does not produce an interrupt signal
  74106. 1: whole transmission prodece an interrupt signal</comment>
  74107. </bits>
  74108. <bits access="rw" name="syn_irq" pos="3" rst="0">
  74109. <comment>control bit of synchronous interrupt trigger mode
  74110. 0: this channel is in normal transmission mode
  74111. 1: this channel is in sync interrupt trigger mode</comment>
  74112. </bits>
  74113. <bits access="rw" name="data_type" pos="2:1" rst="0">
  74114. <comment>data types
  74115. 00: Byte (8 bits)
  74116. 01: Half Word (16 bits)
  74117. 10: Word (32 bits)
  74118. 11: DWord (64 bits)</comment>
  74119. </bits>
  74120. <bits access="rw" name="start" pos="0" rst="0">
  74121. <comment>start control bit
  74122. 0: stop the transmission of this channel
  74123. 1: start the transmission of this channel</comment>
  74124. </bits>
  74125. </reg>
  74126. <reg name="axidma_c2_map" protect="rw">
  74127. <bits access="rw" name="ack_map" pos="12:8" rst="2">
  74128. <comment>this channel corresponds to the ACK signal that is triggered
  74129. 00000: ACK0
  74130. 00001: ACK1
  74131. 00010: ACK2
  74132. 10111: ACK23</comment>
  74133. </bits>
  74134. <bits access="rw" name="req_source" pos="4:0" rst="2">
  74135. <comment>the source of interrupt trigger for this channel
  74136. 00000: IRQ0 trigger transmission
  74137. 00001: IRQ1 trigger transmission
  74138. 00010: IRQ2 trigger transmission
  74139. 01111: IRQ15 trigger transmission
  74140. 10111: IRQ23trigger transmission</comment>
  74141. </bits>
  74142. </reg>
  74143. <reg name="axidma_c2_saddr" protect="rw">
  74144. <bits access="rw" name="s_addr" pos="31:0" rst="0">
  74145. <comment>the source addr of this channel</comment>
  74146. </bits>
  74147. </reg>
  74148. <reg name="axidma_c2_daddr" protect="rw">
  74149. <bits access="rw" name="d_addr" pos="31:0" rst="0">
  74150. <comment>the destination addr of this channel</comment>
  74151. </bits>
  74152. </reg>
  74153. <reg name="axidma_c2_count" protect="rw">
  74154. <bits access="rw" name="count" pos="23:0" rst="0">
  74155. <comment>The total length of the transmitted data is measured in byte</comment>
  74156. </bits>
  74157. </reg>
  74158. <reg name="axidma_c2_countp" protect="rw">
  74159. <bits access="rw" name="countp" pos="15:0" rst="0">
  74160. <comment>the data length per transmission is measured in byte</comment>
  74161. </bits>
  74162. </reg>
  74163. <reg name="axidma_c2_status" protect="rw">
  74164. <bits access="rc" name="resp_err_int" pos="26" rst="0">
  74165. <comment>bit type is changed from w1c to rc.
  74166. response error interrupt flag
  74167. 0unset
  74168. 1set</comment>
  74169. </bits>
  74170. <bits access="rc" name="resp_err" pos="25" rst="0">
  74171. <comment>bit type is changed from w1c to rc.
  74172. response error status
  74173. 0unset
  74174. 1set</comment>
  74175. </bits>
  74176. <bits access="rc" name="sg_suspend_sta" pos="24" rst="0">
  74177. <comment>bit type is changed from w1c to rc.
  74178. data linked list is paused
  74179. 0: not paused
  74180. 1: paused</comment>
  74181. </bits>
  74182. <bits access="rc" name="sg_finish_sta" pos="23" rst="0">
  74183. <comment>bit type is changed from w1c to rc.
  74184. the linked list is completed
  74185. 0: not completed
  74186. 1: completed</comment>
  74187. </bits>
  74188. <bits access="rc" name="countp_finish_sta" pos="22" rst="0">
  74189. <comment>bit type is changed from w1c to rc.
  74190. COUNTP transmission completion indication
  74191. 0: COUNTP is not completed
  74192. 1: COUNTP is completed</comment>
  74193. </bits>
  74194. <bits access="rc" name="count_finish_sta" pos="21" rst="0">
  74195. <comment>bit type is changed from w1c to rc.
  74196. COUNT transmission completion indication
  74197. 0: COUNT is not completed
  74198. 1: COUNT is completed</comment>
  74199. </bits>
  74200. <bits access="rc" name="sg_suspend_int" pos="20" rst="0">
  74201. <comment>bit type is changed from w1c to rc.
  74202. scatter-gather pause</comment>
  74203. </bits>
  74204. <bits access="rc" name="sg_count" pos="19:4" rst="0">
  74205. <comment>bit type is changed from w1c to rc.
  74206. the number of scatter-gather transfers completed
  74207. 0x0000: 0
  74208. 0xFFFF: 65535 times</comment>
  74209. </bits>
  74210. <bits access="rc" name="sg_finish_int" pos="3" rst="0">
  74211. <comment>bit type is changed from w1c to rc.
  74212. scatter-gather transmission completion
  74213. 0: scatter-gather is not completed
  74214. 1: scatter-gather is completed</comment>
  74215. </bits>
  74216. <bits access="rc" name="countp_finish_int" pos="2" rst="0">
  74217. <comment>bit type is changed from w1c to rc.
  74218. COUNTP transmission completion indication
  74219. 0: COUNTP is not completed
  74220. 1: COUNTP is completed</comment>
  74221. </bits>
  74222. <bits access="rc" name="count_finish_int" pos="1" rst="0">
  74223. <comment>bit type is changed from w1c to rc.
  74224. the whole transmission completion indication
  74225. 0: the whole transmission is not completed
  74226. 1: the whole transmission is completed</comment>
  74227. </bits>
  74228. <bits access="rc" name="run" pos="0" rst="0">
  74229. <comment>bit type is changed from w1c to rc.
  74230. the channel runs state
  74231. 0: IDLE
  74232. 1: TRANS</comment>
  74233. </bits>
  74234. </reg>
  74235. <reg name="axidma_c2_sgaddr" protect="rw">
  74236. <bits access="rw" name="sg_addr" pos="31:0" rst="0">
  74237. <comment>first addr of the structural body</comment>
  74238. </bits>
  74239. </reg>
  74240. <reg name="axidma_c2_sgconf" protect="rw">
  74241. <bits access="rw" name="sg_num" pos="19:4" rst="0">
  74242. <comment>scatter-gather transmission frequency
  74243. 0x0: unlimited limit
  74244. 0xFFFF: 65535 times</comment>
  74245. </bits>
  74246. <bits access="rw" name="desc_rd_ctrl" pos="3" rst="0">
  74247. <comment>linked table read control
  74248. 0: after the data is moved,the linked list isread and no descriptor_req are required
  74249. 1: descriptor_req is needed to read the linked list</comment>
  74250. </bits>
  74251. <bits access="rw" name="sg_suspend_ie" pos="2" rst="0">
  74252. <comment>scatter-gather pause interrupt enable
  74253. 0: disable
  74254. 1: enable</comment>
  74255. </bits>
  74256. <bits access="rw" name="sg_finish_ie" pos="1" rst="0">
  74257. <comment>scatter-gather complete interrupt enable
  74258. 0: disable
  74259. 1: enable</comment>
  74260. </bits>
  74261. <bits access="rc" name="sg_en" pos="0" rst="0">
  74262. <comment>bit type is changed from w1c to rc.
  74263. scatter-gather function enable
  74264. 0: disable
  74265. 1: enable</comment>
  74266. </bits>
  74267. </reg>
  74268. <reg name="axidma_c2_set" protect="rw">
  74269. <bits access="rw" name="run_set" pos="0" rst="0">
  74270. <comment>channel runs position
  74271. 0: the running bit of the channel does not change
  74272. 1: set the running bit of the channel</comment>
  74273. </bits>
  74274. </reg>
  74275. <reg name="axidma_c2_clr" protect="rw">
  74276. <bits access="rw" name="run_clr" pos="0" rst="0">
  74277. <comment>clear the running bit of channel
  74278. 0: the running bit of the channel does not change
  74279. 1: clear the running bit of the channel</comment>
  74280. </bits>
  74281. </reg>
  74282. <hole size="160"/>
  74283. <reg name="axidma_c3_conf" protect="rw">
  74284. <bits access="rw" name="err_int_en" pos="15" rst="0">
  74285. <comment>response error interrupt enable
  74286. 0disable
  74287. 1enable</comment>
  74288. </bits>
  74289. <bits access="rw" name="security_en" pos="14" rst="1">
  74290. <comment>security visit
  74291. 0security
  74292. 1unsecurity</comment>
  74293. </bits>
  74294. <bits access="rw" name="daddr_turnaround" pos="13" rst="0">
  74295. <comment>after moving a COUNTP,the DADDR is automatically returned to the original destination addr
  74296. 0: the destination addr does not automatically ring back
  74297. 1: the destination addr automatically ring back</comment>
  74298. </bits>
  74299. <bits access="rw" name="saddr_turnaround" pos="12" rst="0">
  74300. <comment>after moving a COUNTP,the SADDR is automatically returned to initial source addr
  74301. 0: the source addr does not automatically ring back
  74302. 1: the source addr automatically ring back</comment>
  74303. </bits>
  74304. <bits access="rw" name="count_sel" pos="10" rst="0">
  74305. <comment>the length of moving data in one interrupt in interrupted mode
  74306. 0: move a countp
  74307. 1: move all count</comment>
  74308. </bits>
  74309. <bits access="rw" name="force_trans" pos="8" rst="0">
  74310. <comment>mandatory transmission control bit
  74311. 0: a transmission is not mandatory in interrupted mode. Or after seting, automatically cleared.
  74312. 1: force a transmission without interruption in interrupted mode.</comment>
  74313. </bits>
  74314. <bits access="rw" name="daddr_fix" pos="7" rst="0">
  74315. <comment>fixed destination addr control bit
  74316. 0: destination addr can be incremented by different data types during transmission
  74317. 1: the destination addr is fixed during transmission</comment>
  74318. </bits>
  74319. <bits access="rw" name="saddr_fix" pos="6" rst="0">
  74320. <comment>fixed source addr control bit
  74321. 0: source addr can be incremented by different data types during transmission
  74322. 1: the source add is fixed during transmission</comment>
  74323. </bits>
  74324. <bits access="rw" name="irq_t" pos="5" rst="0">
  74325. <comment>control bit of each transmission interruption
  74326. 0: each transmission does not produce an interrupt signal
  74327. 1: each transmission prodece an interrupt signal</comment>
  74328. </bits>
  74329. <bits access="rw" name="irq_f" pos="4" rst="1">
  74330. <comment>control bit of whole transmission interruption
  74331. 0: whole transmission does not produce an interrupt signal
  74332. 1: whole transmission prodece an interrupt signal</comment>
  74333. </bits>
  74334. <bits access="rw" name="syn_irq" pos="3" rst="0">
  74335. <comment>control bit of synchronous interrupt trigger mode
  74336. 0: this channel is in normal transmission mode
  74337. 1: this channel is in sync interrupt trigger mode</comment>
  74338. </bits>
  74339. <bits access="rw" name="data_type" pos="2:1" rst="0">
  74340. <comment>data types
  74341. 00: Byte (8 bits)
  74342. 01: Half Word (16 bits)
  74343. 10: Word (32 bits)
  74344. 11: DWord (64 bits)</comment>
  74345. </bits>
  74346. <bits access="rw" name="start" pos="0" rst="0">
  74347. <comment>start control bit
  74348. 0: stop the transmission of this channel
  74349. 1: start the transmission of this channel</comment>
  74350. </bits>
  74351. </reg>
  74352. <reg name="axidma_c3_map" protect="rw">
  74353. <bits access="rw" name="ack_map" pos="12:8" rst="3">
  74354. <comment>this channel corresponds to the ACK signal that is triggered
  74355. 00000: ACK0
  74356. 00001: ACK1
  74357. 00010: ACK2
  74358. 10111: ACK23</comment>
  74359. </bits>
  74360. <bits access="rw" name="req_source" pos="4:0" rst="3">
  74361. <comment>the source of interrupt trigger for this channel
  74362. 00000: IRQ0 trigger transmission
  74363. 00001: IRQ1 trigger transmission
  74364. 00010: IRQ2 trigger transmission
  74365. 01111: IRQ15 trigger transmission
  74366. 10111: IRQ23trigger transmission</comment>
  74367. </bits>
  74368. </reg>
  74369. <reg name="axidma_c3_saddr" protect="rw">
  74370. <bits access="rw" name="s_addr" pos="31:0" rst="0">
  74371. <comment>the source addr of this channel</comment>
  74372. </bits>
  74373. </reg>
  74374. <reg name="axidma_c3_daddr" protect="rw">
  74375. <bits access="rw" name="d_addr" pos="31:0" rst="0">
  74376. <comment>the destination addr of this channel</comment>
  74377. </bits>
  74378. </reg>
  74379. <reg name="axidma_c3_count" protect="rw">
  74380. <bits access="rw" name="count" pos="23:0" rst="0">
  74381. <comment>The total length of the transmitted data is measured in byte</comment>
  74382. </bits>
  74383. </reg>
  74384. <reg name="axidma_c3_countp" protect="rw">
  74385. <bits access="rw" name="countp" pos="15:0" rst="0">
  74386. <comment>the data length per transmission is measured in byte</comment>
  74387. </bits>
  74388. </reg>
  74389. <reg name="axidma_c3_status" protect="rw">
  74390. <bits access="rc" name="resp_err_int" pos="26" rst="0">
  74391. <comment>bit type is changed from w1c to rc.
  74392. response error interrupt flag
  74393. 0unset
  74394. 1set</comment>
  74395. </bits>
  74396. <bits access="rc" name="resp_err" pos="25" rst="0">
  74397. <comment>bit type is changed from w1c to rc.
  74398. response error status
  74399. 0unset
  74400. 1set</comment>
  74401. </bits>
  74402. <bits access="rc" name="sg_suspend_sta" pos="24" rst="0">
  74403. <comment>bit type is changed from w1c to rc.
  74404. data linked list is paused
  74405. 0: not paused
  74406. 1: paused</comment>
  74407. </bits>
  74408. <bits access="rc" name="sg_finish_sta" pos="23" rst="0">
  74409. <comment>bit type is changed from w1c to rc.
  74410. the linked list is completed
  74411. 0: not completed
  74412. 1: completed</comment>
  74413. </bits>
  74414. <bits access="rc" name="countp_finish_sta" pos="22" rst="0">
  74415. <comment>bit type is changed from w1c to rc.
  74416. COUNTP transmission completion indication
  74417. 0: COUNTP is not completed
  74418. 1: COUNTP is completed</comment>
  74419. </bits>
  74420. <bits access="rc" name="count_finish_sta" pos="21" rst="0">
  74421. <comment>bit type is changed from w1c to rc.
  74422. COUNT transmission completion indication
  74423. 0: COUNT is not completed
  74424. 1: COUNT is completed</comment>
  74425. </bits>
  74426. <bits access="rc" name="sg_suspend_int" pos="20" rst="0">
  74427. <comment>bit type is changed from w1c to rc.
  74428. scatter-gather pause</comment>
  74429. </bits>
  74430. <bits access="rc" name="sg_count" pos="19:4" rst="0">
  74431. <comment>bit type is changed from w1c to rc.
  74432. the number of scatter-gather transfers completed
  74433. 0x0000: 0
  74434. 0xFFFF: 65535 times</comment>
  74435. </bits>
  74436. <bits access="rc" name="sg_finish_int" pos="3" rst="0">
  74437. <comment>bit type is changed from w1c to rc.
  74438. scatter-gather transmission completion
  74439. 0: scatter-gather is not completed
  74440. 1: scatter-gather is completed</comment>
  74441. </bits>
  74442. <bits access="rc" name="countp_finish_int" pos="2" rst="0">
  74443. <comment>bit type is changed from w1c to rc.
  74444. COUNTP transmission completion indication
  74445. 0: COUNTP is not completed
  74446. 1: COUNTP is completed</comment>
  74447. </bits>
  74448. <bits access="rc" name="count_finish_int" pos="1" rst="0">
  74449. <comment>bit type is changed from w1c to rc.
  74450. the whole transmission completion indication
  74451. 0: the whole transmission is not completed
  74452. 1: the whole transmission is completed</comment>
  74453. </bits>
  74454. <bits access="rc" name="run" pos="0" rst="0">
  74455. <comment>bit type is changed from w1c to rc.
  74456. the channel runs state
  74457. 0: IDLE
  74458. 1: TRANS</comment>
  74459. </bits>
  74460. </reg>
  74461. <reg name="axidma_c3_sgaddr" protect="rw">
  74462. <bits access="rw" name="sg_addr" pos="31:0" rst="0">
  74463. <comment>first addr of the structural body</comment>
  74464. </bits>
  74465. </reg>
  74466. <reg name="axidma_c3_sgconf" protect="rw">
  74467. <bits access="rw" name="sg_num" pos="19:4" rst="0">
  74468. <comment>scatter-gather transmission frequency
  74469. 0x0: unlimited limit
  74470. 0xFFFF: 65535 times</comment>
  74471. </bits>
  74472. <bits access="rw" name="desc_rd_ctrl" pos="3" rst="0">
  74473. <comment>linked table read control
  74474. 0: after the data is moved,the linked list isread and no descriptor_req are required
  74475. 1: descriptor_req is needed to read the linked list</comment>
  74476. </bits>
  74477. <bits access="rw" name="sg_suspend_ie" pos="2" rst="0">
  74478. <comment>scatter-gather pause interrupt enable
  74479. 0: disable
  74480. 1: enable</comment>
  74481. </bits>
  74482. <bits access="rw" name="sg_finish_ie" pos="1" rst="0">
  74483. <comment>scatter-gather complete interrupt enable
  74484. 0: disable
  74485. 1: enable</comment>
  74486. </bits>
  74487. <bits access="rc" name="sg_en" pos="0" rst="0">
  74488. <comment>bit type is changed from w1c to rc.
  74489. scatter-gather function enable
  74490. 0: disable
  74491. 1: enable</comment>
  74492. </bits>
  74493. </reg>
  74494. <reg name="axidma_c3_set" protect="rw">
  74495. <bits access="rw" name="run_set" pos="0" rst="0">
  74496. <comment>channel runs position
  74497. 0: the running bit of the channel does not change
  74498. 1: set the running bit of the channel</comment>
  74499. </bits>
  74500. </reg>
  74501. <reg name="axidma_c3_clr" protect="rw">
  74502. <bits access="rw" name="run_clr" pos="0" rst="0">
  74503. <comment>clear the running bit of channel
  74504. 0: the running bit of the channel does not change
  74505. 1: clear the running bit of the channel</comment>
  74506. </bits>
  74507. </reg>
  74508. <hole size="160"/>
  74509. <reg name="axidma_c4_conf" protect="rw">
  74510. <bits access="rw" name="err_int_en" pos="15" rst="0">
  74511. <comment>response error interrupt enable
  74512. 0disable
  74513. 1enable</comment>
  74514. </bits>
  74515. <bits access="rw" name="security_en" pos="14" rst="1">
  74516. <comment>security visit
  74517. 0security
  74518. 1unsecurity</comment>
  74519. </bits>
  74520. <bits access="rw" name="daddr_turnaround" pos="13" rst="0">
  74521. <comment>after moving a COUNTP,the DADDR is automatically returned to the original destination addr
  74522. 0: the destination addr does not automatically ring back
  74523. 1: the destination addr automatically ring back</comment>
  74524. </bits>
  74525. <bits access="rw" name="saddr_turnaround" pos="12" rst="0">
  74526. <comment>after moving a COUNTP,the SADDR is automatically returned to initial source addr
  74527. 0: the source addr does not automatically ring back
  74528. 1: the source addr automatically ring back</comment>
  74529. </bits>
  74530. <bits access="rw" name="count_sel" pos="10" rst="0">
  74531. <comment>the length of moving data in one interrupt in interrupted mode
  74532. 0: move a countp
  74533. 1: move all count</comment>
  74534. </bits>
  74535. <bits access="rw" name="force_trans" pos="8" rst="0">
  74536. <comment>mandatory transmission control bit
  74537. 0: a transmission is not mandatory in interrupted mode. Or after seting, automatically cleared.
  74538. 1: force a transmission without interruption in interrupted mode.</comment>
  74539. </bits>
  74540. <bits access="rw" name="daddr_fix" pos="7" rst="0">
  74541. <comment>fixed destination addr control bit
  74542. 0: destination addr can be incremented by different data types during transmission
  74543. 1: the destination addr is fixed during transmission</comment>
  74544. </bits>
  74545. <bits access="rw" name="saddr_fix" pos="6" rst="0">
  74546. <comment>fixed source addr control bit
  74547. 0: source addr can be incremented by different data types during transmission
  74548. 1: the source add is fixed during transmission</comment>
  74549. </bits>
  74550. <bits access="rw" name="irq_t" pos="5" rst="0">
  74551. <comment>control bit of each transmission interruption
  74552. 0: each transmission does not produce an interrupt signal
  74553. 1: each transmission prodece an interrupt signal</comment>
  74554. </bits>
  74555. <bits access="rw" name="irq_f" pos="4" rst="1">
  74556. <comment>control bit of whole transmission interruption
  74557. 0: whole transmission does not produce an interrupt signal
  74558. 1: whole transmission prodece an interrupt signal</comment>
  74559. </bits>
  74560. <bits access="rw" name="syn_irq" pos="3" rst="0">
  74561. <comment>control bit of synchronous interrupt trigger mode
  74562. 0: this channel is in normal transmission mode
  74563. 1: this channel is in sync interrupt trigger mode</comment>
  74564. </bits>
  74565. <bits access="rw" name="data_type" pos="2:1" rst="0">
  74566. <comment>data types
  74567. 00: Byte (8 bits)
  74568. 01: Half Word (16 bits)
  74569. 10: Word (32 bits)
  74570. 11: DWord (64 bits)</comment>
  74571. </bits>
  74572. <bits access="rw" name="start" pos="0" rst="0">
  74573. <comment>start control bit
  74574. 0: stop the transmission of this channel
  74575. 1: start the transmission of this channel</comment>
  74576. </bits>
  74577. </reg>
  74578. <reg name="axidma_c4_map" protect="rw">
  74579. <bits access="rw" name="ack_map" pos="12:8" rst="4">
  74580. <comment>this channel corresponds to the ACK signal that is triggered
  74581. 00000: ACK0
  74582. 00001: ACK1
  74583. 00010: ACK2
  74584. 10111: ACK23</comment>
  74585. </bits>
  74586. <bits access="rw" name="req_source" pos="4:0" rst="4">
  74587. <comment>the source of interrupt trigger for this channel
  74588. 00000: IRQ0 trigger transmission
  74589. 00001: IRQ1 trigger transmission
  74590. 00010: IRQ2 trigger transmission
  74591. 01111: IRQ15 trigger transmission
  74592. 10111: IRQ23trigger transmission</comment>
  74593. </bits>
  74594. </reg>
  74595. <reg name="axidma_c4_saddr" protect="rw">
  74596. <bits access="rw" name="s_addr" pos="31:0" rst="0">
  74597. <comment>the source addr of this channel</comment>
  74598. </bits>
  74599. </reg>
  74600. <reg name="axidma_c4_daddr" protect="rw">
  74601. <bits access="rw" name="d_addr" pos="31:0" rst="0">
  74602. <comment>the destination addr of this channel</comment>
  74603. </bits>
  74604. </reg>
  74605. <reg name="axidma_c4_count" protect="rw">
  74606. <bits access="rw" name="count" pos="23:0" rst="0">
  74607. <comment>The total length of the transmitted data is measured in byte</comment>
  74608. </bits>
  74609. </reg>
  74610. <reg name="axidma_c4_countp" protect="rw">
  74611. <bits access="rw" name="countp" pos="15:0" rst="0">
  74612. <comment>the data length per transmission is measured in byte</comment>
  74613. </bits>
  74614. </reg>
  74615. <reg name="axidma_c4_status" protect="rw">
  74616. <bits access="rc" name="resp_err_int" pos="26" rst="0">
  74617. <comment>bit type is changed from w1c to rc.
  74618. response error interrupt flag
  74619. 0unset
  74620. 1set</comment>
  74621. </bits>
  74622. <bits access="rc" name="resp_err" pos="25" rst="0">
  74623. <comment>bit type is changed from w1c to rc.
  74624. response error status
  74625. 0unset
  74626. 1set</comment>
  74627. </bits>
  74628. <bits access="rc" name="sg_suspend_sta" pos="24" rst="0">
  74629. <comment>bit type is changed from w1c to rc.
  74630. data linked list is paused
  74631. 0: not paused
  74632. 1: paused</comment>
  74633. </bits>
  74634. <bits access="rc" name="sg_finish_sta" pos="23" rst="0">
  74635. <comment>bit type is changed from w1c to rc.
  74636. the linked list is completed
  74637. 0: not completed
  74638. 1: completed</comment>
  74639. </bits>
  74640. <bits access="rc" name="countp_finish_sta" pos="22" rst="0">
  74641. <comment>bit type is changed from w1c to rc.
  74642. COUNTP transmission completion indication
  74643. 0: COUNTP is not completed
  74644. 1: COUNTP is completed</comment>
  74645. </bits>
  74646. <bits access="rc" name="count_finish_sta" pos="21" rst="0">
  74647. <comment>bit type is changed from w1c to rc.
  74648. COUNT transmission completion indication
  74649. 0: COUNT is not completed
  74650. 1: COUNT is completed</comment>
  74651. </bits>
  74652. <bits access="rc" name="sg_suspend_int" pos="20" rst="0">
  74653. <comment>bit type is changed from w1c to rc.
  74654. scatter-gather pause</comment>
  74655. </bits>
  74656. <bits access="rc" name="sg_count" pos="19:4" rst="0">
  74657. <comment>bit type is changed from w1c to rc.
  74658. the number of scatter-gather transfers completed
  74659. 0x0000: 0
  74660. 0xFFFF: 65535 times</comment>
  74661. </bits>
  74662. <bits access="rc" name="sg_finish_int" pos="3" rst="0">
  74663. <comment>bit type is changed from w1c to rc.
  74664. scatter-gather transmission completion
  74665. 0: scatter-gather is not completed
  74666. 1: scatter-gather is completed</comment>
  74667. </bits>
  74668. <bits access="rc" name="countp_finish_int" pos="2" rst="0">
  74669. <comment>bit type is changed from w1c to rc.
  74670. COUNTP transmission completion indication
  74671. 0: COUNTP is not completed
  74672. 1: COUNTP is completed</comment>
  74673. </bits>
  74674. <bits access="rc" name="count_finish_int" pos="1" rst="0">
  74675. <comment>bit type is changed from w1c to rc.
  74676. the whole transmission completion indication
  74677. 0: the whole transmission is not completed
  74678. 1: the whole transmission is completed</comment>
  74679. </bits>
  74680. <bits access="rc" name="run" pos="0" rst="0">
  74681. <comment>bit type is changed from w1c to rc.
  74682. the channel runs state
  74683. 0: IDLE
  74684. 1: TRANS</comment>
  74685. </bits>
  74686. </reg>
  74687. <reg name="axidma_c4_sgaddr" protect="rw">
  74688. <bits access="rw" name="sg_addr" pos="31:0" rst="0">
  74689. <comment>first addr of the structural body</comment>
  74690. </bits>
  74691. </reg>
  74692. <reg name="axidma_c4_sgconf" protect="rw">
  74693. <bits access="rw" name="sg_num" pos="19:4" rst="0">
  74694. <comment>scatter-gather transmission frequency
  74695. 0x0: unlimited limit
  74696. 0xFFFF: 65535 times</comment>
  74697. </bits>
  74698. <bits access="rw" name="desc_rd_ctrl" pos="3" rst="0">
  74699. <comment>linked table read control
  74700. 0: after the data is moved,the linked list isread and no descriptor_req are required
  74701. 1: descriptor_req is needed to read the linked list</comment>
  74702. </bits>
  74703. <bits access="rw" name="sg_suspend_ie" pos="2" rst="0">
  74704. <comment>scatter-gather pause interrupt enable
  74705. 0: disable
  74706. 1: enable</comment>
  74707. </bits>
  74708. <bits access="rw" name="sg_finish_ie" pos="1" rst="0">
  74709. <comment>scatter-gather complete interrupt enable
  74710. 0: disable
  74711. 1: enable</comment>
  74712. </bits>
  74713. <bits access="rc" name="sg_en" pos="0" rst="0">
  74714. <comment>bit type is changed from w1c to rc.
  74715. scatter-gather function enable
  74716. 0: disable
  74717. 1: enable</comment>
  74718. </bits>
  74719. </reg>
  74720. <reg name="axidma_c4_set" protect="rw">
  74721. <bits access="rw" name="run_set" pos="0" rst="0">
  74722. <comment>channel runs position
  74723. 0: the running bit of the channel does not change
  74724. 1: set the running bit of the channel</comment>
  74725. </bits>
  74726. </reg>
  74727. <reg name="axidma_c4_clr" protect="rw">
  74728. <bits access="rw" name="run_clr" pos="0" rst="0">
  74729. <comment>clear the running bit of channel
  74730. 0: the running bit of the channel does not change
  74731. 1: clear the running bit of the channel</comment>
  74732. </bits>
  74733. </reg>
  74734. <hole size="160"/>
  74735. <reg name="axidma_c5_conf" protect="rw">
  74736. <bits access="rw" name="err_int_en" pos="15" rst="0">
  74737. <comment>response error interrupt enable
  74738. 0disable
  74739. 1enable</comment>
  74740. </bits>
  74741. <bits access="rw" name="security_en" pos="14" rst="1">
  74742. <comment>security visit
  74743. 0security
  74744. 1unsecurity</comment>
  74745. </bits>
  74746. <bits access="rw" name="daddr_turnaround" pos="13" rst="0">
  74747. <comment>after moving a COUNTP,the DADDR is automatically returned to the original destination addr
  74748. 0: the destination addr does not automatically ring back
  74749. 1: the destination addr automatically ring back</comment>
  74750. </bits>
  74751. <bits access="rw" name="saddr_turnaround" pos="12" rst="0">
  74752. <comment>after moving a COUNTP,the SADDR is automatically returned to initial source addr
  74753. 0: the source addr does not automatically ring back
  74754. 1: the source addr automatically ring back</comment>
  74755. </bits>
  74756. <bits access="rw" name="count_sel" pos="10" rst="0">
  74757. <comment>the length of moving data in one interrupt in interrupted mode
  74758. 0: move a countp
  74759. 1: move all count</comment>
  74760. </bits>
  74761. <bits access="rw" name="force_trans" pos="8" rst="0">
  74762. <comment>mandatory transmission control bit
  74763. 0: a transmission is not mandatory in interrupted mode. Or after seting, automatically cleared.
  74764. 1: force a transmission without interruption in interrupted mode.</comment>
  74765. </bits>
  74766. <bits access="rw" name="daddr_fix" pos="7" rst="0">
  74767. <comment>fixed destination addr control bit
  74768. 0: destination addr can be incremented by different data types during transmission
  74769. 1: the destination addr is fixed during transmission</comment>
  74770. </bits>
  74771. <bits access="rw" name="saddr_fix" pos="6" rst="0">
  74772. <comment>fixed source addr control bit
  74773. 0: source addr can be incremented by different data types during transmission
  74774. 1: the source add is fixed during transmission</comment>
  74775. </bits>
  74776. <bits access="rw" name="irq_t" pos="5" rst="0">
  74777. <comment>control bit of each transmission interruption
  74778. 0: each transmission does not produce an interrupt signal
  74779. 1: each transmission prodece an interrupt signal</comment>
  74780. </bits>
  74781. <bits access="rw" name="irq_f" pos="4" rst="1">
  74782. <comment>control bit of whole transmission interruption
  74783. 0: whole transmission does not produce an interrupt signal
  74784. 1: whole transmission prodece an interrupt signal</comment>
  74785. </bits>
  74786. <bits access="rw" name="syn_irq" pos="3" rst="0">
  74787. <comment>control bit of synchronous interrupt trigger mode
  74788. 0: this channel is in normal transmission mode
  74789. 1: this channel is in sync interrupt trigger mode</comment>
  74790. </bits>
  74791. <bits access="rw" name="data_type" pos="2:1" rst="0">
  74792. <comment>data types
  74793. 00: Byte (8 bits)
  74794. 01: Half Word (16 bits)
  74795. 10: Word (32 bits)
  74796. 11: DWord (64 bits)</comment>
  74797. </bits>
  74798. <bits access="rw" name="start" pos="0" rst="0">
  74799. <comment>start control bit
  74800. 0: stop the transmission of this channel
  74801. 1: start the transmission of this channel</comment>
  74802. </bits>
  74803. </reg>
  74804. <reg name="axidma_c5_map" protect="rw">
  74805. <bits access="rw" name="ack_map" pos="12:8" rst="5">
  74806. <comment>this channel corresponds to the ACK signal that is triggered
  74807. 00000: ACK0
  74808. 00001: ACK1
  74809. 00010: ACK2
  74810. 10111: ACK23</comment>
  74811. </bits>
  74812. <bits access="rw" name="req_source" pos="4:0" rst="5">
  74813. <comment>the source of interrupt trigger for this channel
  74814. 00000: IRQ0 trigger transmission
  74815. 00001: IRQ1 trigger transmission
  74816. 00010: IRQ2 trigger transmission
  74817. 01111: IRQ15 trigger transmission
  74818. 10111: IRQ23trigger transmission</comment>
  74819. </bits>
  74820. </reg>
  74821. <reg name="axidma_c5_saddr" protect="rw">
  74822. <bits access="rw" name="s_addr" pos="31:0" rst="0">
  74823. <comment>the source addr of this channel</comment>
  74824. </bits>
  74825. </reg>
  74826. <reg name="axidma_c5_daddr" protect="rw">
  74827. <bits access="rw" name="d_addr" pos="31:0" rst="0">
  74828. <comment>the destination addr of this channel</comment>
  74829. </bits>
  74830. </reg>
  74831. <reg name="axidma_c5_count" protect="rw">
  74832. <bits access="rw" name="count" pos="23:0" rst="0">
  74833. <comment>The total length of the transmitted data is measured in byte</comment>
  74834. </bits>
  74835. </reg>
  74836. <reg name="axidma_c5_countp" protect="rw">
  74837. <bits access="rw" name="countp" pos="15:0" rst="0">
  74838. <comment>the data length per transmission is measured in byte</comment>
  74839. </bits>
  74840. </reg>
  74841. <reg name="axidma_c5_status" protect="rw">
  74842. <bits access="rc" name="resp_err_int" pos="26" rst="0">
  74843. <comment>bit type is changed from w1c to rc.
  74844. response error interrupt flag
  74845. 0unset
  74846. 1set</comment>
  74847. </bits>
  74848. <bits access="rc" name="resp_err" pos="25" rst="0">
  74849. <comment>bit type is changed from w1c to rc.
  74850. response error status
  74851. 0unset
  74852. 1set</comment>
  74853. </bits>
  74854. <bits access="rc" name="sg_suspend_sta" pos="24" rst="0">
  74855. <comment>bit type is changed from w1c to rc.
  74856. data linked list is paused
  74857. 0: not paused
  74858. 1: paused</comment>
  74859. </bits>
  74860. <bits access="rc" name="sg_finish_sta" pos="23" rst="0">
  74861. <comment>bit type is changed from w1c to rc.
  74862. the linked list is completed
  74863. 0: not completed
  74864. 1: completed</comment>
  74865. </bits>
  74866. <bits access="rc" name="countp_finish_sta" pos="22" rst="0">
  74867. <comment>bit type is changed from w1c to rc.
  74868. COUNTP transmission completion indication
  74869. 0: COUNTP is not completed
  74870. 1: COUNTP is completed</comment>
  74871. </bits>
  74872. <bits access="rc" name="count_finish_sta" pos="21" rst="0">
  74873. <comment>bit type is changed from w1c to rc.
  74874. COUNT transmission completion indication
  74875. 0: COUNT is not completed
  74876. 1: COUNT is completed</comment>
  74877. </bits>
  74878. <bits access="rc" name="sg_suspend_int" pos="20" rst="0">
  74879. <comment>bit type is changed from w1c to rc.
  74880. scatter-gather pause</comment>
  74881. </bits>
  74882. <bits access="rc" name="sg_count" pos="19:4" rst="0">
  74883. <comment>bit type is changed from w1c to rc.
  74884. the number of scatter-gather transfers completed
  74885. 0x0000: 0
  74886. 0xFFFF: 65535 times</comment>
  74887. </bits>
  74888. <bits access="rc" name="sg_finish_int" pos="3" rst="0">
  74889. <comment>bit type is changed from w1c to rc.
  74890. scatter-gather transmission completion
  74891. 0: scatter-gather is not completed
  74892. 1: scatter-gather is completed</comment>
  74893. </bits>
  74894. <bits access="rc" name="countp_finish_int" pos="2" rst="0">
  74895. <comment>bit type is changed from w1c to rc.
  74896. COUNTP transmission completion indication
  74897. 0: COUNTP is not completed
  74898. 1: COUNTP is completed</comment>
  74899. </bits>
  74900. <bits access="rc" name="count_finish_int" pos="1" rst="0">
  74901. <comment>bit type is changed from w1c to rc.
  74902. the whole transmission completion indication
  74903. 0: the whole transmission is not completed
  74904. 1: the whole transmission is completed</comment>
  74905. </bits>
  74906. <bits access="rc" name="run" pos="0" rst="0">
  74907. <comment>bit type is changed from w1c to rc.
  74908. the channel runs state
  74909. 0: IDLE
  74910. 1: TRANS</comment>
  74911. </bits>
  74912. </reg>
  74913. <reg name="axidma_c5_sgaddr" protect="rw">
  74914. <bits access="rw" name="sg_addr" pos="31:0" rst="0">
  74915. <comment>first addr of the structural body</comment>
  74916. </bits>
  74917. </reg>
  74918. <reg name="axidma_c5_sgconf" protect="rw">
  74919. <bits access="rw" name="sg_num" pos="19:4" rst="0">
  74920. <comment>scatter-gather transmission frequency
  74921. 0x0: unlimited limit
  74922. 0xFFFF: 65535 times</comment>
  74923. </bits>
  74924. <bits access="rw" name="desc_rd_ctrl" pos="3" rst="0">
  74925. <comment>linked table read control
  74926. 0: after the data is moved,the linked list isread and no descriptor_req are required
  74927. 1: descriptor_req is needed to read the linked list</comment>
  74928. </bits>
  74929. <bits access="rw" name="sg_suspend_ie" pos="2" rst="0">
  74930. <comment>scatter-gather pause interrupt enable
  74931. 0: disable
  74932. 1: enable</comment>
  74933. </bits>
  74934. <bits access="rw" name="sg_finish_ie" pos="1" rst="0">
  74935. <comment>scatter-gather complete interrupt enable
  74936. 0: disable
  74937. 1: enable</comment>
  74938. </bits>
  74939. <bits access="rc" name="sg_en" pos="0" rst="0">
  74940. <comment>bit type is changed from w1c to rc.
  74941. scatter-gather function enable
  74942. 0: disable
  74943. 1: enable</comment>
  74944. </bits>
  74945. </reg>
  74946. <reg name="axidma_c5_set" protect="rw">
  74947. <bits access="rw" name="run_set" pos="0" rst="0">
  74948. <comment>channel runs position
  74949. 0: the running bit of the channel does not change
  74950. 1: set the running bit of the channel</comment>
  74951. </bits>
  74952. </reg>
  74953. <reg name="axidma_c5_clr" protect="rw">
  74954. <bits access="rw" name="run_clr" pos="0" rst="0">
  74955. <comment>clear the running bit of channel
  74956. 0: the running bit of the channel does not change
  74957. 1: clear the running bit of the channel</comment>
  74958. </bits>
  74959. </reg>
  74960. <hole size="160"/>
  74961. <reg name="axidma_c6_conf" protect="rw">
  74962. <bits access="rw" name="err_int_en" pos="15" rst="0">
  74963. <comment>response error interrupt enable
  74964. 0disable
  74965. 1enable</comment>
  74966. </bits>
  74967. <bits access="rw" name="security_en" pos="14" rst="1">
  74968. <comment>security visit
  74969. 0security
  74970. 1unsecurity</comment>
  74971. </bits>
  74972. <bits access="rw" name="daddr_turnaround" pos="13" rst="0">
  74973. <comment>after moving a COUNTP,the DADDR is automatically returned to the original destination addr
  74974. 0: the destination addr does not automatically ring back
  74975. 1: the destination addr automatically ring back</comment>
  74976. </bits>
  74977. <bits access="rw" name="saddr_turnaround" pos="12" rst="0">
  74978. <comment>after moving a COUNTP,the SADDR is automatically returned to initial source addr
  74979. 0: the source addr does not automatically ring back
  74980. 1: the source addr automatically ring back</comment>
  74981. </bits>
  74982. <bits access="rw" name="count_sel" pos="10" rst="0">
  74983. <comment>the length of moving data in one interrupt in interrupted mode
  74984. 0: move a countp
  74985. 1: move all count</comment>
  74986. </bits>
  74987. <bits access="rw" name="force_trans" pos="8" rst="0">
  74988. <comment>mandatory transmission control bit
  74989. 0: a transmission is not mandatory in interrupted mode. Or after seting, automatically cleared.
  74990. 1: force a transmission without interruption in interrupted mode.</comment>
  74991. </bits>
  74992. <bits access="rw" name="daddr_fix" pos="7" rst="0">
  74993. <comment>fixed destination addr control bit
  74994. 0: destination addr can be incremented by different data types during transmission
  74995. 1: the destination addr is fixed during transmission</comment>
  74996. </bits>
  74997. <bits access="rw" name="saddr_fix" pos="6" rst="0">
  74998. <comment>fixed source addr control bit
  74999. 0: source addr can be incremented by different data types during transmission
  75000. 1: the source add is fixed during transmission</comment>
  75001. </bits>
  75002. <bits access="rw" name="irq_t" pos="5" rst="0">
  75003. <comment>control bit of each transmission interruption
  75004. 0: each transmission does not produce an interrupt signal
  75005. 1: each transmission prodece an interrupt signal</comment>
  75006. </bits>
  75007. <bits access="rw" name="irq_f" pos="4" rst="1">
  75008. <comment>control bit of whole transmission interruption
  75009. 0: whole transmission does not produce an interrupt signal
  75010. 1: whole transmission prodece an interrupt signal</comment>
  75011. </bits>
  75012. <bits access="rw" name="syn_irq" pos="3" rst="0">
  75013. <comment>control bit of synchronous interrupt trigger mode
  75014. 0: this channel is in normal transmission mode
  75015. 1: this channel is in sync interrupt trigger mode</comment>
  75016. </bits>
  75017. <bits access="rw" name="data_type" pos="2:1" rst="0">
  75018. <comment>data types
  75019. 00: Byte (8 bits)
  75020. 01: Half Word (16 bits)
  75021. 10: Word (32 bits)
  75022. 11: DWord (64 bits)</comment>
  75023. </bits>
  75024. <bits access="rw" name="start" pos="0" rst="0">
  75025. <comment>start control bit
  75026. 0: stop the transmission of this channel
  75027. 1: start the transmission of this channel</comment>
  75028. </bits>
  75029. </reg>
  75030. <reg name="axidma_c6_map" protect="rw">
  75031. <bits access="rw" name="ack_map" pos="12:8" rst="6">
  75032. <comment>this channel corresponds to the ACK signal that is triggered
  75033. 00000: ACK0
  75034. 00001: ACK1
  75035. 00010: ACK2
  75036. 10111: ACK23</comment>
  75037. </bits>
  75038. <bits access="rw" name="req_source" pos="4:0" rst="6">
  75039. <comment>the source of interrupt trigger for this channel
  75040. 00000: IRQ0 trigger transmission
  75041. 00001: IRQ1 trigger transmission
  75042. 00010: IRQ2 trigger transmission
  75043. 01111: IRQ15 trigger transmission
  75044. 10111: IRQ23trigger transmission</comment>
  75045. </bits>
  75046. </reg>
  75047. <reg name="axidma_c6_saddr" protect="rw">
  75048. <bits access="rw" name="s_addr" pos="31:0" rst="0">
  75049. <comment>the source addr of this channel</comment>
  75050. </bits>
  75051. </reg>
  75052. <reg name="axidma_c6_daddr" protect="rw">
  75053. <bits access="rw" name="d_addr" pos="31:0" rst="0">
  75054. <comment>the destination addr of this channel</comment>
  75055. </bits>
  75056. </reg>
  75057. <reg name="axidma_c6_count" protect="rw">
  75058. <bits access="rw" name="count" pos="23:0" rst="0">
  75059. <comment>The total length of the transmitted data is measured in byte</comment>
  75060. </bits>
  75061. </reg>
  75062. <reg name="axidma_c6_countp" protect="rw">
  75063. <bits access="rw" name="countp" pos="15:0" rst="0">
  75064. <comment>the data length per transmission is measured in byte</comment>
  75065. </bits>
  75066. </reg>
  75067. <reg name="axidma_c6_status" protect="rw">
  75068. <bits access="rc" name="resp_err_int" pos="26" rst="0">
  75069. <comment>bit type is changed from w1c to rc.
  75070. response error interrupt flag
  75071. 0unset
  75072. 1set</comment>
  75073. </bits>
  75074. <bits access="rc" name="resp_err" pos="25" rst="0">
  75075. <comment>bit type is changed from w1c to rc.
  75076. response error status
  75077. 0unset
  75078. 1set</comment>
  75079. </bits>
  75080. <bits access="rc" name="sg_suspend_sta" pos="24" rst="0">
  75081. <comment>bit type is changed from w1c to rc.
  75082. data linked list is paused
  75083. 0: not paused
  75084. 1: paused</comment>
  75085. </bits>
  75086. <bits access="rc" name="sg_finish_sta" pos="23" rst="0">
  75087. <comment>bit type is changed from w1c to rc.
  75088. the linked list is completed
  75089. 0: not completed
  75090. 1: completed</comment>
  75091. </bits>
  75092. <bits access="rc" name="countp_finish_sta" pos="22" rst="0">
  75093. <comment>bit type is changed from w1c to rc.
  75094. COUNTP transmission completion indication
  75095. 0: COUNTP is not completed
  75096. 1: COUNTP is completed</comment>
  75097. </bits>
  75098. <bits access="rc" name="count_finish_sta" pos="21" rst="0">
  75099. <comment>bit type is changed from w1c to rc.
  75100. COUNT transmission completion indication
  75101. 0: COUNT is not completed
  75102. 1: COUNT is completed</comment>
  75103. </bits>
  75104. <bits access="rc" name="sg_suspend_int" pos="20" rst="0">
  75105. <comment>bit type is changed from w1c to rc.
  75106. scatter-gather pause</comment>
  75107. </bits>
  75108. <bits access="rc" name="sg_count" pos="19:4" rst="0">
  75109. <comment>bit type is changed from w1c to rc.
  75110. the number of scatter-gather transfers completed
  75111. 0x0000: 0
  75112. 0xFFFF: 65535 times</comment>
  75113. </bits>
  75114. <bits access="rc" name="sg_finish_int" pos="3" rst="0">
  75115. <comment>bit type is changed from w1c to rc.
  75116. scatter-gather transmission completion
  75117. 0: scatter-gather is not completed
  75118. 1: scatter-gather is completed</comment>
  75119. </bits>
  75120. <bits access="rc" name="countp_finish_int" pos="2" rst="0">
  75121. <comment>bit type is changed from w1c to rc.
  75122. COUNTP transmission completion indication
  75123. 0: COUNTP is not completed
  75124. 1: COUNTP is completed</comment>
  75125. </bits>
  75126. <bits access="rc" name="count_finish_int" pos="1" rst="0">
  75127. <comment>bit type is changed from w1c to rc.
  75128. the whole transmission completion indication
  75129. 0: the whole transmission is not completed
  75130. 1: the whole transmission is completed</comment>
  75131. </bits>
  75132. <bits access="rc" name="run" pos="0" rst="0">
  75133. <comment>bit type is changed from w1c to rc.
  75134. the channel runs state
  75135. 0: IDLE
  75136. 1: TRANS</comment>
  75137. </bits>
  75138. </reg>
  75139. <reg name="axidma_c6_sgaddr" protect="rw">
  75140. <bits access="rw" name="sg_addr" pos="31:0" rst="0">
  75141. <comment>first addr of the structural body</comment>
  75142. </bits>
  75143. </reg>
  75144. <reg name="axidma_c6_sgconf" protect="rw">
  75145. <bits access="rw" name="sg_num" pos="19:4" rst="0">
  75146. <comment>scatter-gather transmission frequency
  75147. 0x0: unlimited limit
  75148. 0xFFFF: 65535 times</comment>
  75149. </bits>
  75150. <bits access="rw" name="desc_rd_ctrl" pos="3" rst="0">
  75151. <comment>linked table read control
  75152. 0: after the data is moved,the linked list isread and no descriptor_req are required
  75153. 1: descriptor_req is needed to read the linked list</comment>
  75154. </bits>
  75155. <bits access="rw" name="sg_suspend_ie" pos="2" rst="0">
  75156. <comment>scatter-gather pause interrupt enable
  75157. 0: disable
  75158. 1: enable</comment>
  75159. </bits>
  75160. <bits access="rw" name="sg_finish_ie" pos="1" rst="0">
  75161. <comment>scatter-gather complete interrupt enable
  75162. 0: disable
  75163. 1: enable</comment>
  75164. </bits>
  75165. <bits access="rc" name="sg_en" pos="0" rst="0">
  75166. <comment>bit type is changed from w1c to rc.
  75167. scatter-gather function enable
  75168. 0: disable
  75169. 1: enable</comment>
  75170. </bits>
  75171. </reg>
  75172. <reg name="axidma_c6_set" protect="rw">
  75173. <bits access="rw" name="run_set" pos="0" rst="0">
  75174. <comment>channel runs position
  75175. 0: the running bit of the channel does not change
  75176. 1: set the running bit of the channel</comment>
  75177. </bits>
  75178. </reg>
  75179. <reg name="axidma_c6_clr" protect="rw">
  75180. <bits access="rw" name="run_clr" pos="0" rst="0">
  75181. <comment>clear the running bit of channel
  75182. 0: the running bit of the channel does not change
  75183. 1: clear the running bit of the channel</comment>
  75184. </bits>
  75185. </reg>
  75186. <hole size="160"/>
  75187. <reg name="axidma_c7_conf" protect="rw">
  75188. <bits access="rw" name="err_int_en" pos="15" rst="0">
  75189. <comment>response error interrupt enable
  75190. 0disable
  75191. 1enable</comment>
  75192. </bits>
  75193. <bits access="rw" name="security_en" pos="14" rst="1">
  75194. <comment>security visit
  75195. 0security
  75196. 1unsecurity</comment>
  75197. </bits>
  75198. <bits access="rw" name="daddr_turnaround" pos="13" rst="0">
  75199. <comment>after moving a COUNTP,the DADDR is automatically returned to the original destination addr
  75200. 0: the destination addr does not automatically ring back
  75201. 1: the destination addr automatically ring back</comment>
  75202. </bits>
  75203. <bits access="rw" name="saddr_turnaround" pos="12" rst="0">
  75204. <comment>after moving a COUNTP,the SADDR is automatically returned to initial source addr
  75205. 0: the source addr does not automatically ring back
  75206. 1: the source addr automatically ring back</comment>
  75207. </bits>
  75208. <bits access="rw" name="count_sel" pos="10" rst="0">
  75209. <comment>the length of moving data in one interrupt in interrupted mode
  75210. 0: move a countp
  75211. 1: move all count</comment>
  75212. </bits>
  75213. <bits access="rw" name="force_trans" pos="8" rst="0">
  75214. <comment>mandatory transmission control bit
  75215. 0: a transmission is not mandatory in interrupted mode. Or after seting, automatically cleared.
  75216. 1: force a transmission without interruption in interrupted mode.</comment>
  75217. </bits>
  75218. <bits access="rw" name="daddr_fix" pos="7" rst="0">
  75219. <comment>fixed destination addr control bit
  75220. 0: destination addr can be incremented by different data types during transmission
  75221. 1: the destination addr is fixed during transmission</comment>
  75222. </bits>
  75223. <bits access="rw" name="saddr_fix" pos="6" rst="0">
  75224. <comment>fixed source addr control bit
  75225. 0: source addr can be incremented by different data types during transmission
  75226. 1: the source add is fixed during transmission</comment>
  75227. </bits>
  75228. <bits access="rw" name="irq_t" pos="5" rst="0">
  75229. <comment>control bit of each transmission interruption
  75230. 0: each transmission does not produce an interrupt signal
  75231. 1: each transmission prodece an interrupt signal</comment>
  75232. </bits>
  75233. <bits access="rw" name="irq_f" pos="4" rst="1">
  75234. <comment>control bit of whole transmission interruption
  75235. 0: whole transmission does not produce an interrupt signal
  75236. 1: whole transmission prodece an interrupt signal</comment>
  75237. </bits>
  75238. <bits access="rw" name="syn_irq" pos="3" rst="0">
  75239. <comment>control bit of synchronous interrupt trigger mode
  75240. 0: this channel is in normal transmission mode
  75241. 1: this channel is in sync interrupt trigger mode</comment>
  75242. </bits>
  75243. <bits access="rw" name="data_type" pos="2:1" rst="0">
  75244. <comment>data types
  75245. 00: Byte (8 bits)
  75246. 01: Half Word (16 bits)
  75247. 10: Word (32 bits)
  75248. 11: DWord (64 bits)</comment>
  75249. </bits>
  75250. <bits access="rw" name="start" pos="0" rst="0">
  75251. <comment>start control bit
  75252. 0: stop the transmission of this channel
  75253. 1: start the transmission of this channel</comment>
  75254. </bits>
  75255. </reg>
  75256. <reg name="axidma_c7_map" protect="rw">
  75257. <bits access="rw" name="ack_map" pos="12:8" rst="7">
  75258. <comment>this channel corresponds to the ACK signal that is triggered
  75259. 00000: ACK0
  75260. 00001: ACK1
  75261. 00010: ACK2
  75262. 10111: ACK23</comment>
  75263. </bits>
  75264. <bits access="rw" name="req_source" pos="4:0" rst="7">
  75265. <comment>the source of interrupt trigger for this channel
  75266. 00000: IRQ0 trigger transmission
  75267. 00001: IRQ1 trigger transmission
  75268. 00010: IRQ2 trigger transmission
  75269. 01111: IRQ15 trigger transmission
  75270. 10111: IRQ23trigger transmission</comment>
  75271. </bits>
  75272. </reg>
  75273. <reg name="axidma_c7_saddr" protect="rw">
  75274. <bits access="rw" name="s_addr" pos="31:0" rst="0">
  75275. <comment>the source addr of this channel</comment>
  75276. </bits>
  75277. </reg>
  75278. <reg name="axidma_c7_daddr" protect="rw">
  75279. <bits access="rw" name="d_addr" pos="31:0" rst="0">
  75280. <comment>the destination addr of this channel</comment>
  75281. </bits>
  75282. </reg>
  75283. <reg name="axidma_c7_count" protect="rw">
  75284. <bits access="rw" name="count" pos="23:0" rst="0">
  75285. <comment>The total length of the transmitted data is measured in byte</comment>
  75286. </bits>
  75287. </reg>
  75288. <reg name="axidma_c7_countp" protect="rw">
  75289. <bits access="rw" name="countp" pos="15:0" rst="0">
  75290. <comment>the data length per transmission is measured in byte</comment>
  75291. </bits>
  75292. </reg>
  75293. <reg name="axidma_c7_status" protect="rw">
  75294. <bits access="rc" name="resp_err_int" pos="26" rst="0">
  75295. <comment>bit type is changed from w1c to rc.
  75296. response error interrupt flag
  75297. 0unset
  75298. 1set</comment>
  75299. </bits>
  75300. <bits access="rc" name="resp_err" pos="25" rst="0">
  75301. <comment>bit type is changed from w1c to rc.
  75302. response error status
  75303. 0unset
  75304. 1set</comment>
  75305. </bits>
  75306. <bits access="rc" name="sg_suspend_sta" pos="24" rst="0">
  75307. <comment>bit type is changed from w1c to rc.
  75308. data linked list is paused
  75309. 0: not paused
  75310. 1: paused</comment>
  75311. </bits>
  75312. <bits access="rc" name="sg_finish_sta" pos="23" rst="0">
  75313. <comment>bit type is changed from w1c to rc.
  75314. the linked list is completed
  75315. 0: not completed
  75316. 1: completed</comment>
  75317. </bits>
  75318. <bits access="rc" name="countp_finish_sta" pos="22" rst="0">
  75319. <comment>bit type is changed from w1c to rc.
  75320. COUNTP transmission completion indication
  75321. 0: COUNTP is not completed
  75322. 1: COUNTP is completed</comment>
  75323. </bits>
  75324. <bits access="rc" name="count_finish_sta" pos="21" rst="0">
  75325. <comment>bit type is changed from w1c to rc.
  75326. COUNT transmission completion indication
  75327. 0: COUNT is not completed
  75328. 1: COUNT is completed</comment>
  75329. </bits>
  75330. <bits access="rc" name="sg_suspend_int" pos="20" rst="0">
  75331. <comment>bit type is changed from w1c to rc.
  75332. scatter-gather pause</comment>
  75333. </bits>
  75334. <bits access="rc" name="sg_count" pos="19:4" rst="0">
  75335. <comment>bit type is changed from w1c to rc.
  75336. the number of scatter-gather transfers completed
  75337. 0x0000: 0
  75338. 0xFFFF: 65535 times</comment>
  75339. </bits>
  75340. <bits access="rc" name="sg_finish_int" pos="3" rst="0">
  75341. <comment>bit type is changed from w1c to rc.
  75342. scatter-gather transmission completion
  75343. 0: scatter-gather is not completed
  75344. 1: scatter-gather is completed</comment>
  75345. </bits>
  75346. <bits access="rc" name="countp_finish_int" pos="2" rst="0">
  75347. <comment>bit type is changed from w1c to rc.
  75348. COUNTP transmission completion indication
  75349. 0: COUNTP is not completed
  75350. 1: COUNTP is completed</comment>
  75351. </bits>
  75352. <bits access="rc" name="count_finish_int" pos="1" rst="0">
  75353. <comment>bit type is changed from w1c to rc.
  75354. the whole transmission completion indication
  75355. 0: the whole transmission is not completed
  75356. 1: the whole transmission is completed</comment>
  75357. </bits>
  75358. <bits access="rc" name="run" pos="0" rst="0">
  75359. <comment>bit type is changed from w1c to rc.
  75360. the channel runs state
  75361. 0: IDLE
  75362. 1: TRANS</comment>
  75363. </bits>
  75364. </reg>
  75365. <reg name="axidma_c7_sgaddr" protect="rw">
  75366. <bits access="rw" name="sg_addr" pos="31:0" rst="0">
  75367. <comment>first addr of the structural body</comment>
  75368. </bits>
  75369. </reg>
  75370. <reg name="axidma_c7_sgconf" protect="rw">
  75371. <bits access="rw" name="sg_num" pos="19:4" rst="0">
  75372. <comment>scatter-gather transmission frequency
  75373. 0x0: unlimited limit
  75374. 0xFFFF: 65535 times</comment>
  75375. </bits>
  75376. <bits access="rw" name="desc_rd_ctrl" pos="3" rst="0">
  75377. <comment>linked table read control
  75378. 0: after the data is moved,the linked list isread and no descriptor_req are required
  75379. 1: descriptor_req is needed to read the linked list</comment>
  75380. </bits>
  75381. <bits access="rw" name="sg_suspend_ie" pos="2" rst="0">
  75382. <comment>scatter-gather pause interrupt enable
  75383. 0: disable
  75384. 1: enable</comment>
  75385. </bits>
  75386. <bits access="rw" name="sg_finish_ie" pos="1" rst="0">
  75387. <comment>scatter-gather complete interrupt enable
  75388. 0: disable
  75389. 1: enable</comment>
  75390. </bits>
  75391. <bits access="rc" name="sg_en" pos="0" rst="0">
  75392. <comment>bit type is changed from w1c to rc.
  75393. scatter-gather function enable
  75394. 0: disable
  75395. 1: enable</comment>
  75396. </bits>
  75397. </reg>
  75398. <reg name="axidma_c7_set" protect="rw">
  75399. <bits access="rw" name="run_set" pos="0" rst="0">
  75400. <comment>channel runs position
  75401. 0: the running bit of the channel does not change
  75402. 1: set the running bit of the channel</comment>
  75403. </bits>
  75404. </reg>
  75405. <reg name="axidma_c7_clr" protect="rw">
  75406. <bits access="rw" name="run_clr" pos="0" rst="0">
  75407. <comment>clear the running bit of channel
  75408. 0: the running bit of the channel does not change
  75409. 1: clear the running bit of the channel</comment>
  75410. </bits>
  75411. </reg>
  75412. <hole size="160"/>
  75413. <reg name="axidma_c8_conf" protect="rw">
  75414. <bits access="rw" name="err_int_en" pos="15" rst="0">
  75415. <comment>response error interrupt enable
  75416. 0disable
  75417. 1enable</comment>
  75418. </bits>
  75419. <bits access="rw" name="security_en" pos="14" rst="1">
  75420. <comment>security visit
  75421. 0security
  75422. 1unsecurity</comment>
  75423. </bits>
  75424. <bits access="rw" name="daddr_turnaround" pos="13" rst="0">
  75425. <comment>after moving a COUNTP,the DADDR is automatically returned to the original destination addr
  75426. 0: the destination addr does not automatically ring back
  75427. 1: the destination addr automatically ring back</comment>
  75428. </bits>
  75429. <bits access="rw" name="saddr_turnaround" pos="12" rst="0">
  75430. <comment>after moving a COUNTP,the SADDR is automatically returned to initial source addr
  75431. 0: the source addr does not automatically ring back
  75432. 1: the source addr automatically ring back</comment>
  75433. </bits>
  75434. <bits access="rw" name="count_sel" pos="10" rst="0">
  75435. <comment>the length of moving data in one interrupt in interrupted mode
  75436. 0: move a countp
  75437. 1: move all count</comment>
  75438. </bits>
  75439. <bits access="rw" name="force_trans" pos="8" rst="0">
  75440. <comment>mandatory transmission control bit
  75441. 0: a transmission is not mandatory in interrupted mode. Or after seting, automatically cleared.
  75442. 1: force a transmission without interruption in interrupted mode.</comment>
  75443. </bits>
  75444. <bits access="rw" name="daddr_fix" pos="7" rst="0">
  75445. <comment>fixed destination addr control bit
  75446. 0: destination addr can be incremented by different data types during transmission
  75447. 1: the destination addr is fixed during transmission</comment>
  75448. </bits>
  75449. <bits access="rw" name="saddr_fix" pos="6" rst="0">
  75450. <comment>fixed source addr control bit
  75451. 0: source addr can be incremented by different data types during transmission
  75452. 1: the source add is fixed during transmission</comment>
  75453. </bits>
  75454. <bits access="rw" name="irq_t" pos="5" rst="0">
  75455. <comment>control bit of each transmission interruption
  75456. 0: each transmission does not produce an interrupt signal
  75457. 1: each transmission prodece an interrupt signal</comment>
  75458. </bits>
  75459. <bits access="rw" name="irq_f" pos="4" rst="1">
  75460. <comment>control bit of whole transmission interruption
  75461. 0: whole transmission does not produce an interrupt signal
  75462. 1: whole transmission prodece an interrupt signal</comment>
  75463. </bits>
  75464. <bits access="rw" name="syn_irq" pos="3" rst="0">
  75465. <comment>control bit of synchronous interrupt trigger mode
  75466. 0: this channel is in normal transmission mode
  75467. 1: this channel is in sync interrupt trigger mode</comment>
  75468. </bits>
  75469. <bits access="rw" name="data_type" pos="2:1" rst="0">
  75470. <comment>data types
  75471. 00: Byte (8 bits)
  75472. 01: Half Word (16 bits)
  75473. 10: Word (32 bits)
  75474. 11: DWord (64 bits)</comment>
  75475. </bits>
  75476. <bits access="rw" name="start" pos="0" rst="0">
  75477. <comment>start control bit
  75478. 0: stop the transmission of this channel
  75479. 1: start the transmission of this channel</comment>
  75480. </bits>
  75481. </reg>
  75482. <reg name="axidma_c8_map" protect="rw">
  75483. <bits access="rw" name="ack_map" pos="12:8" rst="8">
  75484. <comment>this channel corresponds to the ACK signal that is triggered
  75485. 00000: ACK0
  75486. 00001: ACK1
  75487. 00010: ACK2
  75488. 10111: ACK23</comment>
  75489. </bits>
  75490. <bits access="rw" name="req_source" pos="4:0" rst="8">
  75491. <comment>the source of interrupt trigger for this channel
  75492. 00000: IRQ0 trigger transmission
  75493. 00001: IRQ1 trigger transmission
  75494. 00010: IRQ2 trigger transmission
  75495. 01111: IRQ15 trigger transmission
  75496. 10111: IRQ23trigger transmission</comment>
  75497. </bits>
  75498. </reg>
  75499. <reg name="axidma_c8_saddr" protect="rw">
  75500. <bits access="rw" name="s_addr" pos="31:0" rst="0">
  75501. <comment>the source addr of this channel</comment>
  75502. </bits>
  75503. </reg>
  75504. <reg name="axidma_c8_daddr" protect="rw">
  75505. <bits access="rw" name="d_addr" pos="31:0" rst="0">
  75506. <comment>the destination addr of this channel</comment>
  75507. </bits>
  75508. </reg>
  75509. <reg name="axidma_c8_count" protect="rw">
  75510. <bits access="rw" name="count" pos="23:0" rst="0">
  75511. <comment>The total length of the transmitted data is measured in byte</comment>
  75512. </bits>
  75513. </reg>
  75514. <reg name="axidma_c8_countp" protect="rw">
  75515. <bits access="rw" name="countp" pos="15:0" rst="0">
  75516. <comment>the data length per transmission is measured in byte</comment>
  75517. </bits>
  75518. </reg>
  75519. <reg name="axidma_c8_status" protect="rw">
  75520. <bits access="rc" name="resp_err_int" pos="26" rst="0">
  75521. <comment>bit type is changed from w1c to rc.
  75522. response error interrupt flag
  75523. 0unset
  75524. 1set</comment>
  75525. </bits>
  75526. <bits access="rc" name="resp_err" pos="25" rst="0">
  75527. <comment>bit type is changed from w1c to rc.
  75528. response error status
  75529. 0unset
  75530. 1set</comment>
  75531. </bits>
  75532. <bits access="rc" name="sg_suspend_sta" pos="24" rst="0">
  75533. <comment>bit type is changed from w1c to rc.
  75534. data linked list is paused
  75535. 0: not paused
  75536. 1: paused</comment>
  75537. </bits>
  75538. <bits access="rc" name="sg_finish_sta" pos="23" rst="0">
  75539. <comment>bit type is changed from w1c to rc.
  75540. the linked list is completed
  75541. 0: not completed
  75542. 1: completed</comment>
  75543. </bits>
  75544. <bits access="rc" name="countp_finish_sta" pos="22" rst="0">
  75545. <comment>bit type is changed from w1c to rc.
  75546. COUNTP transmission completion indication
  75547. 0: COUNTP is not completed
  75548. 1: COUNTP is completed</comment>
  75549. </bits>
  75550. <bits access="rc" name="count_finish_sta" pos="21" rst="0">
  75551. <comment>bit type is changed from w1c to rc.
  75552. COUNT transmission completion indication
  75553. 0: COUNT is not completed
  75554. 1: COUNT is completed</comment>
  75555. </bits>
  75556. <bits access="rc" name="sg_suspend_int" pos="20" rst="0">
  75557. <comment>bit type is changed from w1c to rc.
  75558. scatter-gather pause</comment>
  75559. </bits>
  75560. <bits access="rc" name="sg_count" pos="19:4" rst="0">
  75561. <comment>bit type is changed from w1c to rc.
  75562. the number of scatter-gather transfers completed
  75563. 0x0000: 0
  75564. 0xFFFF: 65535 times</comment>
  75565. </bits>
  75566. <bits access="rc" name="sg_finish_int" pos="3" rst="0">
  75567. <comment>bit type is changed from w1c to rc.
  75568. scatter-gather transmission completion
  75569. 0: scatter-gather is not completed
  75570. 1: scatter-gather is completed</comment>
  75571. </bits>
  75572. <bits access="rc" name="countp_finish_int" pos="2" rst="0">
  75573. <comment>bit type is changed from w1c to rc.
  75574. COUNTP transmission completion indication
  75575. 0: COUNTP is not completed
  75576. 1: COUNTP is completed</comment>
  75577. </bits>
  75578. <bits access="rc" name="count_finish_int" pos="1" rst="0">
  75579. <comment>bit type is changed from w1c to rc.
  75580. the whole transmission completion indication
  75581. 0: the whole transmission is not completed
  75582. 1: the whole transmission is completed</comment>
  75583. </bits>
  75584. <bits access="rc" name="run" pos="0" rst="0">
  75585. <comment>bit type is changed from w1c to rc.
  75586. the channel runs state
  75587. 0: IDLE
  75588. 1: TRANS</comment>
  75589. </bits>
  75590. </reg>
  75591. <reg name="axidma_c8_sgaddr" protect="rw">
  75592. <bits access="rw" name="sg_addr" pos="31:0" rst="0">
  75593. <comment>first addr of the structural body</comment>
  75594. </bits>
  75595. </reg>
  75596. <reg name="axidma_c8_sgconf" protect="rw">
  75597. <bits access="rw" name="sg_num" pos="19:4" rst="0">
  75598. <comment>scatter-gather transmission frequency
  75599. 0x0: unlimited limit
  75600. 0xFFFF: 65535 times</comment>
  75601. </bits>
  75602. <bits access="rw" name="desc_rd_ctrl" pos="3" rst="0">
  75603. <comment>linked table read control
  75604. 0: after the data is moved,the linked list isread and no descriptor_req are required
  75605. 1: descriptor_req is needed to read the linked list</comment>
  75606. </bits>
  75607. <bits access="rw" name="sg_suspend_ie" pos="2" rst="0">
  75608. <comment>scatter-gather pause interrupt enable
  75609. 0: disable
  75610. 1: enable</comment>
  75611. </bits>
  75612. <bits access="rw" name="sg_finish_ie" pos="1" rst="0">
  75613. <comment>scatter-gather complete interrupt enable
  75614. 0: disable
  75615. 1: enable</comment>
  75616. </bits>
  75617. <bits access="rc" name="sg_en" pos="0" rst="0">
  75618. <comment>bit type is changed from w1c to rc.
  75619. scatter-gather function enable
  75620. 0: disable
  75621. 1: enable</comment>
  75622. </bits>
  75623. </reg>
  75624. <reg name="axidma_c8_set" protect="rw">
  75625. <bits access="rw" name="run_set" pos="0" rst="0">
  75626. <comment>channel runs position
  75627. 0: the running bit of the channel does not change
  75628. 1: set the running bit of the channel</comment>
  75629. </bits>
  75630. </reg>
  75631. <reg name="axidma_c8_clr" protect="rw">
  75632. <bits access="rw" name="run_clr" pos="0" rst="0">
  75633. <comment>clear the running bit of channel
  75634. 0: the running bit of the channel does not change
  75635. 1: clear the running bit of the channel</comment>
  75636. </bits>
  75637. </reg>
  75638. <hole size="160"/>
  75639. <reg name="axidma_c9_conf" protect="rw">
  75640. <bits access="rw" name="err_int_en" pos="15" rst="0">
  75641. <comment>response error interrupt enable
  75642. 0disable
  75643. 1enable</comment>
  75644. </bits>
  75645. <bits access="rw" name="security_en" pos="14" rst="1">
  75646. <comment>security visit
  75647. 0security
  75648. 1unsecurity</comment>
  75649. </bits>
  75650. <bits access="rw" name="daddr_turnaround" pos="13" rst="0">
  75651. <comment>after moving a COUNTP,the DADDR is automatically returned to the original destination addr
  75652. 0: the destination addr does not automatically ring back
  75653. 1: the destination addr automatically ring back</comment>
  75654. </bits>
  75655. <bits access="rw" name="saddr_turnaround" pos="12" rst="0">
  75656. <comment>after moving a COUNTP,the SADDR is automatically returned to initial source addr
  75657. 0: the source addr does not automatically ring back
  75658. 1: the source addr automatically ring back</comment>
  75659. </bits>
  75660. <bits access="rw" name="count_sel" pos="10" rst="0">
  75661. <comment>the length of moving data in one interrupt in interrupted mode
  75662. 0: move a countp
  75663. 1: move all count</comment>
  75664. </bits>
  75665. <bits access="rw" name="force_trans" pos="8" rst="0">
  75666. <comment>mandatory transmission control bit
  75667. 0: a transmission is not mandatory in interrupted mode. Or after seting, automatically cleared.
  75668. 1: force a transmission without interruption in interrupted mode.</comment>
  75669. </bits>
  75670. <bits access="rw" name="daddr_fix" pos="7" rst="0">
  75671. <comment>fixed destination addr control bit
  75672. 0: destination addr can be incremented by different data types during transmission
  75673. 1: the destination addr is fixed during transmission</comment>
  75674. </bits>
  75675. <bits access="rw" name="saddr_fix" pos="6" rst="0">
  75676. <comment>fixed source addr control bit
  75677. 0: source addr can be incremented by different data types during transmission
  75678. 1: the source add is fixed during transmission</comment>
  75679. </bits>
  75680. <bits access="rw" name="irq_t" pos="5" rst="0">
  75681. <comment>control bit of each transmission interruption
  75682. 0: each transmission does not produce an interrupt signal
  75683. 1: each transmission prodece an interrupt signal</comment>
  75684. </bits>
  75685. <bits access="rw" name="irq_f" pos="4" rst="1">
  75686. <comment>control bit of whole transmission interruption
  75687. 0: whole transmission does not produce an interrupt signal
  75688. 1: whole transmission prodece an interrupt signal</comment>
  75689. </bits>
  75690. <bits access="rw" name="syn_irq" pos="3" rst="0">
  75691. <comment>control bit of synchronous interrupt trigger mode
  75692. 0: this channel is in normal transmission mode
  75693. 1: this channel is in sync interrupt trigger mode</comment>
  75694. </bits>
  75695. <bits access="rw" name="data_type" pos="2:1" rst="0">
  75696. <comment>data types
  75697. 00: Byte (8 bits)
  75698. 01: Half Word (16 bits)
  75699. 10: Word (32 bits)
  75700. 11: DWord (64 bits)</comment>
  75701. </bits>
  75702. <bits access="rw" name="start" pos="0" rst="0">
  75703. <comment>start control bit
  75704. 0: stop the transmission of this channel
  75705. 1: start the transmission of this channel</comment>
  75706. </bits>
  75707. </reg>
  75708. <reg name="axidma_c9_map" protect="rw">
  75709. <bits access="rw" name="ack_map" pos="12:8" rst="9">
  75710. <comment>this channel corresponds to the ACK signal that is triggered
  75711. 00000: ACK0
  75712. 00001: ACK1
  75713. 00010: ACK2
  75714. 10111: ACK23</comment>
  75715. </bits>
  75716. <bits access="rw" name="req_source" pos="4:0" rst="9">
  75717. <comment>the source of interrupt trigger for this channel
  75718. 00000: IRQ0 trigger transmission
  75719. 00001: IRQ1 trigger transmission
  75720. 00010: IRQ2 trigger transmission
  75721. 01111: IRQ15 trigger transmission
  75722. 10111: IRQ23trigger transmission</comment>
  75723. </bits>
  75724. </reg>
  75725. <reg name="axidma_c9_saddr" protect="rw">
  75726. <bits access="rw" name="s_addr" pos="31:0" rst="0">
  75727. <comment>the source addr of this channel</comment>
  75728. </bits>
  75729. </reg>
  75730. <reg name="axidma_c9_daddr" protect="rw">
  75731. <bits access="rw" name="d_addr" pos="31:0" rst="0">
  75732. <comment>the destination addr of this channel</comment>
  75733. </bits>
  75734. </reg>
  75735. <reg name="axidma_c9_count" protect="rw">
  75736. <bits access="rw" name="count" pos="23:0" rst="0">
  75737. <comment>The total length of the transmitted data is measured in byte</comment>
  75738. </bits>
  75739. </reg>
  75740. <reg name="axidma_c9_countp" protect="rw">
  75741. <bits access="rw" name="countp" pos="15:0" rst="0">
  75742. <comment>the data length per transmission is measured in byte</comment>
  75743. </bits>
  75744. </reg>
  75745. <reg name="axidma_c9_status" protect="rw">
  75746. <bits access="rc" name="resp_err_int" pos="26" rst="0">
  75747. <comment>bit type is changed from w1c to rc.
  75748. response error interrupt flag
  75749. 0unset
  75750. 1set</comment>
  75751. </bits>
  75752. <bits access="rc" name="resp_err" pos="25" rst="0">
  75753. <comment>bit type is changed from w1c to rc.
  75754. response error status
  75755. 0unset
  75756. 1set</comment>
  75757. </bits>
  75758. <bits access="rc" name="sg_suspend_sta" pos="24" rst="0">
  75759. <comment>bit type is changed from w1c to rc.
  75760. data linked list is paused
  75761. 0: not paused
  75762. 1: paused</comment>
  75763. </bits>
  75764. <bits access="rc" name="sg_finish_sta" pos="23" rst="0">
  75765. <comment>bit type is changed from w1c to rc.
  75766. the linked list is completed
  75767. 0: not completed
  75768. 1: completed</comment>
  75769. </bits>
  75770. <bits access="rc" name="countp_finish_sta" pos="22" rst="0">
  75771. <comment>bit type is changed from w1c to rc.
  75772. COUNTP transmission completion indication
  75773. 0: COUNTP is not completed
  75774. 1: COUNTP is completed</comment>
  75775. </bits>
  75776. <bits access="rc" name="count_finish_sta" pos="21" rst="0">
  75777. <comment>bit type is changed from w1c to rc.
  75778. COUNT transmission completion indication
  75779. 0: COUNT is not completed
  75780. 1: COUNT is completed</comment>
  75781. </bits>
  75782. <bits access="rc" name="sg_suspend_int" pos="20" rst="0">
  75783. <comment>bit type is changed from w1c to rc.
  75784. scatter-gather pause</comment>
  75785. </bits>
  75786. <bits access="rc" name="sg_count" pos="19:4" rst="0">
  75787. <comment>bit type is changed from w1c to rc.
  75788. the number of scatter-gather transfers completed
  75789. 0x0000: 0
  75790. 0xFFFF: 65535 times</comment>
  75791. </bits>
  75792. <bits access="rc" name="sg_finish_int" pos="3" rst="0">
  75793. <comment>bit type is changed from w1c to rc.
  75794. scatter-gather transmission completion
  75795. 0: scatter-gather is not completed
  75796. 1: scatter-gather is completed</comment>
  75797. </bits>
  75798. <bits access="rc" name="countp_finish_int" pos="2" rst="0">
  75799. <comment>bit type is changed from w1c to rc.
  75800. COUNTP transmission completion indication
  75801. 0: COUNTP is not completed
  75802. 1: COUNTP is completed</comment>
  75803. </bits>
  75804. <bits access="rc" name="count_finish_int" pos="1" rst="0">
  75805. <comment>bit type is changed from w1c to rc.
  75806. the whole transmission completion indication
  75807. 0: the whole transmission is not completed
  75808. 1: the whole transmission is completed</comment>
  75809. </bits>
  75810. <bits access="rc" name="run" pos="0" rst="0">
  75811. <comment>bit type is changed from w1c to rc.
  75812. the channel runs state
  75813. 0: IDLE
  75814. 1: TRANS</comment>
  75815. </bits>
  75816. </reg>
  75817. <reg name="axidma_c9_sgaddr" protect="rw">
  75818. <bits access="rw" name="sg_addr" pos="31:0" rst="0">
  75819. <comment>first addr of the structural body</comment>
  75820. </bits>
  75821. </reg>
  75822. <reg name="axidma_c9_sgconf" protect="rw">
  75823. <bits access="rw" name="sg_num" pos="19:4" rst="0">
  75824. <comment>scatter-gather transmission frequency
  75825. 0x0: unlimited limit
  75826. 0xFFFF: 65535 times</comment>
  75827. </bits>
  75828. <bits access="rw" name="desc_rd_ctrl" pos="3" rst="0">
  75829. <comment>linked table read control
  75830. 0: after the data is moved,the linked list isread and no descriptor_req are required
  75831. 1: descriptor_req is needed to read the linked list</comment>
  75832. </bits>
  75833. <bits access="rw" name="sg_suspend_ie" pos="2" rst="0">
  75834. <comment>scatter-gather pause interrupt enable
  75835. 0: disable
  75836. 1: enable</comment>
  75837. </bits>
  75838. <bits access="rw" name="sg_finish_ie" pos="1" rst="0">
  75839. <comment>scatter-gather complete interrupt enable
  75840. 0: disable
  75841. 1: enable</comment>
  75842. </bits>
  75843. <bits access="rc" name="sg_en" pos="0" rst="0">
  75844. <comment>bit type is changed from w1c to rc.
  75845. scatter-gather function enable
  75846. 0: disable
  75847. 1: enable</comment>
  75848. </bits>
  75849. </reg>
  75850. <reg name="axidma_c9_set" protect="rw">
  75851. <bits access="rw" name="run_set" pos="0" rst="0">
  75852. <comment>channel runs position
  75853. 0: the running bit of the channel does not change
  75854. 1: set the running bit of the channel</comment>
  75855. </bits>
  75856. </reg>
  75857. <reg name="axidma_c9_clr" protect="rw">
  75858. <bits access="rw" name="run_clr" pos="0" rst="0">
  75859. <comment>clear the running bit of channel
  75860. 0: the running bit of the channel does not change
  75861. 1: clear the running bit of the channel</comment>
  75862. </bits>
  75863. </reg>
  75864. <hole size="160"/>
  75865. <reg name="axidma_c10_conf" protect="rw">
  75866. <bits access="rw" name="err_int_en" pos="15" rst="0">
  75867. <comment>response error interrupt enable
  75868. 0disable
  75869. 1enable</comment>
  75870. </bits>
  75871. <bits access="rw" name="security_en" pos="14" rst="1">
  75872. <comment>security visit
  75873. 0security
  75874. 1unsecurity</comment>
  75875. </bits>
  75876. <bits access="rw" name="daddr_turnaround" pos="13" rst="0">
  75877. <comment>after moving a COUNTP,the DADDR is automatically returned to the original destination addr
  75878. 0: the destination addr does not automatically ring back
  75879. 1: the destination addr automatically ring back</comment>
  75880. </bits>
  75881. <bits access="rw" name="saddr_turnaround" pos="12" rst="0">
  75882. <comment>after moving a COUNTP,the SADDR is automatically returned to initial source addr
  75883. 0: the source addr does not automatically ring back
  75884. 1: the source addr automatically ring back</comment>
  75885. </bits>
  75886. <bits access="rw" name="count_sel" pos="10" rst="0">
  75887. <comment>the length of moving data in one interrupt in interrupted mode
  75888. 0: move a countp
  75889. 1: move all count</comment>
  75890. </bits>
  75891. <bits access="rw" name="force_trans" pos="8" rst="0">
  75892. <comment>mandatory transmission control bit
  75893. 0: a transmission is not mandatory in interrupted mode. Or after seting, automatically cleared.
  75894. 1: force a transmission without interruption in interrupted mode.</comment>
  75895. </bits>
  75896. <bits access="rw" name="daddr_fix" pos="7" rst="0">
  75897. <comment>fixed destination addr control bit
  75898. 0: destination addr can be incremented by different data types during transmission
  75899. 1: the destination addr is fixed during transmission</comment>
  75900. </bits>
  75901. <bits access="rw" name="saddr_fix" pos="6" rst="0">
  75902. <comment>fixed source addr control bit
  75903. 0: source addr can be incremented by different data types during transmission
  75904. 1: the source add is fixed during transmission</comment>
  75905. </bits>
  75906. <bits access="rw" name="irq_t" pos="5" rst="0">
  75907. <comment>control bit of each transmission interruption
  75908. 0: each transmission does not produce an interrupt signal
  75909. 1: each transmission prodece an interrupt signal</comment>
  75910. </bits>
  75911. <bits access="rw" name="irq_f" pos="4" rst="1">
  75912. <comment>control bit of whole transmission interruption
  75913. 0: whole transmission does not produce an interrupt signal
  75914. 1: whole transmission prodece an interrupt signal</comment>
  75915. </bits>
  75916. <bits access="rw" name="syn_irq" pos="3" rst="0">
  75917. <comment>control bit of synchronous interrupt trigger mode
  75918. 0: this channel is in normal transmission mode
  75919. 1: this channel is in sync interrupt trigger mode</comment>
  75920. </bits>
  75921. <bits access="rw" name="data_type" pos="2:1" rst="0">
  75922. <comment>data types
  75923. 00: Byte (8 bits)
  75924. 01: Half Word (16 bits)
  75925. 10: Word (32 bits)
  75926. 11: DWord (64 bits)</comment>
  75927. </bits>
  75928. <bits access="rw" name="start" pos="0" rst="0">
  75929. <comment>start control bit
  75930. 0: stop the transmission of this channel
  75931. 1: start the transmission of this channel</comment>
  75932. </bits>
  75933. </reg>
  75934. <reg name="axidma_c10_map" protect="rw">
  75935. <bits access="rw" name="ack_map" pos="12:8" rst="10">
  75936. <comment>this channel corresponds to the ACK signal that is triggered
  75937. 00000: ACK0
  75938. 00001: ACK1
  75939. 00010: ACK2
  75940. 10111: ACK23</comment>
  75941. </bits>
  75942. <bits access="rw" name="req_source" pos="4:0" rst="10">
  75943. <comment>the source of interrupt trigger for this channel
  75944. 00000: IRQ0 trigger transmission
  75945. 00001: IRQ1 trigger transmission
  75946. 00010: IRQ2 trigger transmission
  75947. 01111: IRQ15 trigger transmission
  75948. 10111: IRQ23trigger transmission</comment>
  75949. </bits>
  75950. </reg>
  75951. <reg name="axidma_c10_saddr" protect="rw">
  75952. <bits access="rw" name="s_addr" pos="31:0" rst="0">
  75953. <comment>the source addr of this channel</comment>
  75954. </bits>
  75955. </reg>
  75956. <reg name="axidma_c10_daddr" protect="rw">
  75957. <bits access="rw" name="d_addr" pos="31:0" rst="0">
  75958. <comment>the destination addr of this channel</comment>
  75959. </bits>
  75960. </reg>
  75961. <reg name="axidma_c10_count" protect="rw">
  75962. <bits access="rw" name="count" pos="23:0" rst="0">
  75963. <comment>The total length of the transmitted data is measured in byte</comment>
  75964. </bits>
  75965. </reg>
  75966. <reg name="axidma_c10_countp" protect="rw">
  75967. <bits access="rw" name="countp" pos="15:0" rst="0">
  75968. <comment>the data length per transmission is measured in byte</comment>
  75969. </bits>
  75970. </reg>
  75971. <reg name="axidma_c10_status" protect="rw">
  75972. <bits access="rc" name="resp_err_int" pos="26" rst="0">
  75973. <comment>bit type is changed from w1c to rc.
  75974. response error interrupt flag
  75975. 0unset
  75976. 1set</comment>
  75977. </bits>
  75978. <bits access="rc" name="resp_err" pos="25" rst="0">
  75979. <comment>bit type is changed from w1c to rc.
  75980. response error status
  75981. 0unset
  75982. 1set</comment>
  75983. </bits>
  75984. <bits access="rc" name="sg_suspend_sta" pos="24" rst="0">
  75985. <comment>bit type is changed from w1c to rc.
  75986. data linked list is paused
  75987. 0: not paused
  75988. 1: paused</comment>
  75989. </bits>
  75990. <bits access="rc" name="sg_finish_sta" pos="23" rst="0">
  75991. <comment>bit type is changed from w1c to rc.
  75992. the linked list is completed
  75993. 0: not completed
  75994. 1: completed</comment>
  75995. </bits>
  75996. <bits access="rc" name="countp_finish_sta" pos="22" rst="0">
  75997. <comment>bit type is changed from w1c to rc.
  75998. COUNTP transmission completion indication
  75999. 0: COUNTP is not completed
  76000. 1: COUNTP is completed</comment>
  76001. </bits>
  76002. <bits access="rc" name="count_finish_sta" pos="21" rst="0">
  76003. <comment>bit type is changed from w1c to rc.
  76004. COUNT transmission completion indication
  76005. 0: COUNT is not completed
  76006. 1: COUNT is completed</comment>
  76007. </bits>
  76008. <bits access="rc" name="sg_suspend_int" pos="20" rst="0">
  76009. <comment>bit type is changed from w1c to rc.
  76010. scatter-gather pause</comment>
  76011. </bits>
  76012. <bits access="rc" name="sg_count" pos="19:4" rst="0">
  76013. <comment>bit type is changed from w1c to rc.
  76014. the number of scatter-gather transfers completed
  76015. 0x0000: 0
  76016. 0xFFFF: 65535 times</comment>
  76017. </bits>
  76018. <bits access="rc" name="sg_finish_int" pos="3" rst="0">
  76019. <comment>bit type is changed from w1c to rc.
  76020. scatter-gather transmission completion
  76021. 0: scatter-gather is not completed
  76022. 1: scatter-gather is completed</comment>
  76023. </bits>
  76024. <bits access="rc" name="countp_finish_int" pos="2" rst="0">
  76025. <comment>bit type is changed from w1c to rc.
  76026. COUNTP transmission completion indication
  76027. 0: COUNTP is not completed
  76028. 1: COUNTP is completed</comment>
  76029. </bits>
  76030. <bits access="rc" name="count_finish_int" pos="1" rst="0">
  76031. <comment>bit type is changed from w1c to rc.
  76032. the whole transmission completion indication
  76033. 0: the whole transmission is not completed
  76034. 1: the whole transmission is completed</comment>
  76035. </bits>
  76036. <bits access="rc" name="run" pos="0" rst="0">
  76037. <comment>bit type is changed from w1c to rc.
  76038. the channel runs state
  76039. 0: IDLE
  76040. 1: TRANS</comment>
  76041. </bits>
  76042. </reg>
  76043. <reg name="axidma_c10_sgaddr" protect="rw">
  76044. <bits access="rw" name="sg_addr" pos="31:0" rst="0">
  76045. <comment>first addr of the structural body</comment>
  76046. </bits>
  76047. </reg>
  76048. <reg name="axidma_c10_sgconf" protect="rw">
  76049. <bits access="rw" name="sg_num" pos="19:4" rst="0">
  76050. <comment>scatter-gather transmission frequency
  76051. 0x0: unlimited limit
  76052. 0xFFFF: 65535 times</comment>
  76053. </bits>
  76054. <bits access="rw" name="desc_rd_ctrl" pos="3" rst="0">
  76055. <comment>linked table read control
  76056. 0: after the data is moved,the linked list isread and no descriptor_req are required
  76057. 1: descriptor_req is needed to read the linked list</comment>
  76058. </bits>
  76059. <bits access="rw" name="sg_suspend_ie" pos="2" rst="0">
  76060. <comment>scatter-gather pause interrupt enable
  76061. 0: disable
  76062. 1: enable</comment>
  76063. </bits>
  76064. <bits access="rw" name="sg_finish_ie" pos="1" rst="0">
  76065. <comment>scatter-gather complete interrupt enable
  76066. 0: disable
  76067. 1: enable</comment>
  76068. </bits>
  76069. <bits access="rc" name="sg_en" pos="0" rst="0">
  76070. <comment>bit type is changed from w1c to rc.
  76071. scatter-gather function enable
  76072. 0: disable
  76073. 1: enable</comment>
  76074. </bits>
  76075. </reg>
  76076. <reg name="axidma_c10_set" protect="rw">
  76077. <bits access="rw" name="run_set" pos="0" rst="0">
  76078. <comment>channel runs position
  76079. 0: the running bit of the channel does not change
  76080. 1: set the running bit of the channel</comment>
  76081. </bits>
  76082. </reg>
  76083. <reg name="axidma_c10_clr" protect="rw">
  76084. <bits access="rw" name="run_clr" pos="0" rst="0">
  76085. <comment>clear the running bit of channel
  76086. 0: the running bit of the channel does not change
  76087. 1: clear the running bit of the channel</comment>
  76088. </bits>
  76089. </reg>
  76090. <hole size="160"/>
  76091. <reg name="axidma_c11_conf" protect="rw">
  76092. <bits access="rw" name="err_int_en" pos="15" rst="0">
  76093. <comment>response error interrupt enable
  76094. 0disable
  76095. 1enable</comment>
  76096. </bits>
  76097. <bits access="rw" name="security_en" pos="14" rst="1">
  76098. <comment>security visit
  76099. 0security
  76100. 1unsecurity</comment>
  76101. </bits>
  76102. <bits access="rw" name="daddr_turnaround" pos="13" rst="0">
  76103. <comment>after moving a COUNTP,the DADDR is automatically returned to the original destination addr
  76104. 0: the destination addr does not automatically ring back
  76105. 1: the destination addr automatically ring back</comment>
  76106. </bits>
  76107. <bits access="rw" name="saddr_turnaround" pos="12" rst="0">
  76108. <comment>after moving a COUNTP,the SADDR is automatically returned to initial source addr
  76109. 0: the source addr does not automatically ring back
  76110. 1: the source addr automatically ring back</comment>
  76111. </bits>
  76112. <bits access="rw" name="count_sel" pos="10" rst="0">
  76113. <comment>the length of moving data in one interrupt in interrupted mode
  76114. 0: move a countp
  76115. 1: move all count</comment>
  76116. </bits>
  76117. <bits access="rw" name="force_trans" pos="8" rst="0">
  76118. <comment>mandatory transmission control bit
  76119. 0: a transmission is not mandatory in interrupted mode. Or after seting, automatically cleared.
  76120. 1: force a transmission without interruption in interrupted mode.</comment>
  76121. </bits>
  76122. <bits access="rw" name="daddr_fix" pos="7" rst="0">
  76123. <comment>fixed destination addr control bit
  76124. 0: destination addr can be incremented by different data types during transmission
  76125. 1: the destination addr is fixed during transmission</comment>
  76126. </bits>
  76127. <bits access="rw" name="saddr_fix" pos="6" rst="0">
  76128. <comment>fixed source addr control bit
  76129. 0: source addr can be incremented by different data types during transmission
  76130. 1: the source add is fixed during transmission</comment>
  76131. </bits>
  76132. <bits access="rw" name="irq_t" pos="5" rst="0">
  76133. <comment>control bit of each transmission interruption
  76134. 0: each transmission does not produce an interrupt signal
  76135. 1: each transmission prodece an interrupt signal</comment>
  76136. </bits>
  76137. <bits access="rw" name="irq_f" pos="4" rst="1">
  76138. <comment>control bit of whole transmission interruption
  76139. 0: whole transmission does not produce an interrupt signal
  76140. 1: whole transmission prodece an interrupt signal</comment>
  76141. </bits>
  76142. <bits access="rw" name="syn_irq" pos="3" rst="0">
  76143. <comment>control bit of synchronous interrupt trigger mode
  76144. 0: this channel is in normal transmission mode
  76145. 1: this channel is in sync interrupt trigger mode</comment>
  76146. </bits>
  76147. <bits access="rw" name="data_type" pos="2:1" rst="0">
  76148. <comment>data types
  76149. 00: Byte (8 bits)
  76150. 01: Half Word (16 bits)
  76151. 10: Word (32 bits)
  76152. 11: DWord (64 bits)</comment>
  76153. </bits>
  76154. <bits access="rw" name="start" pos="0" rst="0">
  76155. <comment>start control bit
  76156. 0: stop the transmission of this channel
  76157. 1: start the transmission of this channel</comment>
  76158. </bits>
  76159. </reg>
  76160. <reg name="axidma_c11_map" protect="rw">
  76161. <bits access="rw" name="ack_map" pos="12:8" rst="11">
  76162. <comment>this channel corresponds to the ACK signal that is triggered
  76163. 00000: ACK0
  76164. 00001: ACK1
  76165. 00010: ACK2
  76166. 10111: ACK23</comment>
  76167. </bits>
  76168. <bits access="rw" name="req_source" pos="4:0" rst="11">
  76169. <comment>the source of interrupt trigger for this channel
  76170. 00000: IRQ0 trigger transmission
  76171. 00001: IRQ1 trigger transmission
  76172. 00010: IRQ2 trigger transmission
  76173. 01111: IRQ15 trigger transmission
  76174. 10111: IRQ23trigger transmission</comment>
  76175. </bits>
  76176. </reg>
  76177. <reg name="axidma_c11_saddr" protect="rw">
  76178. <bits access="rw" name="s_addr" pos="31:0" rst="0">
  76179. <comment>the source addr of this channel</comment>
  76180. </bits>
  76181. </reg>
  76182. <reg name="axidma_c11_daddr" protect="rw">
  76183. <bits access="rw" name="d_addr" pos="31:0" rst="0">
  76184. <comment>the destination addr of this channel</comment>
  76185. </bits>
  76186. </reg>
  76187. <reg name="axidma_c11_count" protect="rw">
  76188. <bits access="rw" name="count" pos="23:0" rst="0">
  76189. <comment>The total length of the transmitted data is measured in byte</comment>
  76190. </bits>
  76191. </reg>
  76192. <reg name="axidma_c11_countp" protect="rw">
  76193. <bits access="rw" name="countp" pos="15:0" rst="0">
  76194. <comment>the data length per transmission is measured in byte</comment>
  76195. </bits>
  76196. </reg>
  76197. <reg name="axidma_c11_status" protect="rw">
  76198. <bits access="rc" name="resp_err_int" pos="26" rst="0">
  76199. <comment>bit type is changed from w1c to rc.
  76200. response error interrupt flag
  76201. 0unset
  76202. 1set</comment>
  76203. </bits>
  76204. <bits access="rc" name="resp_err" pos="25" rst="0">
  76205. <comment>bit type is changed from w1c to rc.
  76206. response error status
  76207. 0unset
  76208. 1set</comment>
  76209. </bits>
  76210. <bits access="rc" name="sg_suspend_sta" pos="24" rst="0">
  76211. <comment>bit type is changed from w1c to rc.
  76212. data linked list is paused
  76213. 0: not paused
  76214. 1: paused</comment>
  76215. </bits>
  76216. <bits access="rc" name="sg_finish_sta" pos="23" rst="0">
  76217. <comment>bit type is changed from w1c to rc.
  76218. the linked list is completed
  76219. 0: not completed
  76220. 1: completed</comment>
  76221. </bits>
  76222. <bits access="rc" name="countp_finish_sta" pos="22" rst="0">
  76223. <comment>bit type is changed from w1c to rc.
  76224. COUNTP transmission completion indication
  76225. 0: COUNTP is not completed
  76226. 1: COUNTP is completed</comment>
  76227. </bits>
  76228. <bits access="rc" name="count_finish_sta" pos="21" rst="0">
  76229. <comment>bit type is changed from w1c to rc.
  76230. COUNT transmission completion indication
  76231. 0: COUNT is not completed
  76232. 1: COUNT is completed</comment>
  76233. </bits>
  76234. <bits access="rc" name="sg_suspend_int" pos="20" rst="0">
  76235. <comment>bit type is changed from w1c to rc.
  76236. scatter-gather pause</comment>
  76237. </bits>
  76238. <bits access="rc" name="sg_count" pos="19:4" rst="0">
  76239. <comment>bit type is changed from w1c to rc.
  76240. the number of scatter-gather transfers completed
  76241. 0x0000: 0
  76242. 0xFFFF: 65535 times</comment>
  76243. </bits>
  76244. <bits access="rc" name="sg_finish_int" pos="3" rst="0">
  76245. <comment>bit type is changed from w1c to rc.
  76246. scatter-gather transmission completion
  76247. 0: scatter-gather is not completed
  76248. 1: scatter-gather is completed</comment>
  76249. </bits>
  76250. <bits access="rc" name="countp_finish_int" pos="2" rst="0">
  76251. <comment>bit type is changed from w1c to rc.
  76252. COUNTP transmission completion indication
  76253. 0: COUNTP is not completed
  76254. 1: COUNTP is completed</comment>
  76255. </bits>
  76256. <bits access="rc" name="count_finish_int" pos="1" rst="0">
  76257. <comment>bit type is changed from w1c to rc.
  76258. the whole transmission completion indication
  76259. 0: the whole transmission is not completed
  76260. 1: the whole transmission is completed</comment>
  76261. </bits>
  76262. <bits access="rc" name="run" pos="0" rst="0">
  76263. <comment>bit type is changed from w1c to rc.
  76264. the channel runs state
  76265. 0: IDLE
  76266. 1: TRANS</comment>
  76267. </bits>
  76268. </reg>
  76269. <reg name="axidma_c11_sgaddr" protect="rw">
  76270. <bits access="rw" name="sg_addr" pos="31:0" rst="0">
  76271. <comment>first addr of the structural body</comment>
  76272. </bits>
  76273. </reg>
  76274. <reg name="axidma_c11_sgconf" protect="rw">
  76275. <bits access="rw" name="sg_num" pos="19:4" rst="0">
  76276. <comment>scatter-gather transmission frequency
  76277. 0x0: unlimited limit
  76278. 0xFFFF: 65535 times</comment>
  76279. </bits>
  76280. <bits access="rw" name="desc_rd_ctrl" pos="3" rst="0">
  76281. <comment>linked table read control
  76282. 0: after the data is moved,the linked list isread and no descriptor_req are required
  76283. 1: descriptor_req is needed to read the linked list</comment>
  76284. </bits>
  76285. <bits access="rw" name="sg_suspend_ie" pos="2" rst="0">
  76286. <comment>scatter-gather pause interrupt enable
  76287. 0: disable
  76288. 1: enable</comment>
  76289. </bits>
  76290. <bits access="rw" name="sg_finish_ie" pos="1" rst="0">
  76291. <comment>scatter-gather complete interrupt enable
  76292. 0: disable
  76293. 1: enable</comment>
  76294. </bits>
  76295. <bits access="rc" name="sg_en" pos="0" rst="0">
  76296. <comment>bit type is changed from w1c to rc.
  76297. scatter-gather function enable
  76298. 0: disable
  76299. 1: enable</comment>
  76300. </bits>
  76301. </reg>
  76302. <reg name="axidma_c11_set" protect="rw">
  76303. <bits access="rw" name="run_set" pos="0" rst="0">
  76304. <comment>channel runs position
  76305. 0: the running bit of the channel does not change
  76306. 1: set the running bit of the channel</comment>
  76307. </bits>
  76308. </reg>
  76309. <reg name="axidma_c11_clr" protect="rw">
  76310. <bits access="rw" name="run_clr" pos="0" rst="0">
  76311. <comment>clear the running bit of channel
  76312. 0: the running bit of the channel does not change
  76313. 1: clear the running bit of the channel</comment>
  76314. </bits>
  76315. </reg>
  76316. </module>
  76317. </archive>
  76318. <archive relative="cp_zsp_aud_dft.xml">
  76319. <module category="ZSP_SYS" name="CP_ZSP_AUD_DFT">
  76320. <reg name="dft_params" protect="rw">
  76321. <bits access="rw" name="rsv_registers" pos="31:21" rst="0">
  76322. <comment>reserved fields of DFT</comment>
  76323. </bits>
  76324. <bits access="rw" name="dft_zero_insert" pos="20" rst="0">
  76325. <comment>1: HW insert zeros for imag part, 0: SW provide zeros</comment>
  76326. </bits>
  76327. <bits access="rw" name="dft_dma_out_intr_mask" pos="19" rst="0">
  76328. <comment>1: mask DMA out intr; 0:not mask DMA out intr</comment>
  76329. </bits>
  76330. <bits access="rw" name="dft_calc_intr_mask" pos="18" rst="0">
  76331. <comment>1: mask Calc intr; 0:not mask Calc intr</comment>
  76332. </bits>
  76333. <bits access="rw" name="dft_dma_in_intr_mask" pos="17" rst="0">
  76334. <comment>1: mask DMA in intr; 0:not mask DMA in intr</comment>
  76335. </bits>
  76336. <bits access="rw" name="dft_iq_swap" pos="16" rst="0">
  76337. <comment>1:iq swap; 0:iq not swap</comment>
  76338. </bits>
  76339. <bits access="rw" name="dft_fft_ifft" pos="15" rst="1">
  76340. <comment>1:fft; 0:ifft</comment>
  76341. </bits>
  76342. <bits access="rw" name="dft_force_clken_enable" pos="14" rst="0">
  76343. <comment>force clock gating enable</comment>
  76344. </bits>
  76345. <bits access="rw" name="dft_ram_base_addr" pos="13:4" rst="1023">
  76346. <comment>base address of ram in dft</comment>
  76347. </bits>
  76348. <bits access="rw" name="n_index" pos="3:0" rst="0">
  76349. <comment>index of DFT N length</comment>
  76350. </bits>
  76351. </reg>
  76352. <reg name="dft_general" protect="rw">
  76353. <bits access="rs" name="dft_err_stat_clr" pos="4" rst="0">
  76354. <comment>bit type is changed from w1s to rs.
  76355. write clear pulse for DFT error status, read in err status</comment>
  76356. </bits>
  76357. <bits access="rs" name="dft_dma_out_intr_clr" pos="3" rst="0">
  76358. <comment>bit type is changed from w1s to rs.
  76359. write clear pulse for DFT dma out interrupts, read in dma out interrupt source before mask</comment>
  76360. </bits>
  76361. <bits access="rs" name="dft_calc_intr_clr" pos="2" rst="0">
  76362. <comment>bit type is changed from w1s to rs.
  76363. write clear pulse for DFT calc interrupts, read in calc interrupt source before mask</comment>
  76364. </bits>
  76365. <bits access="rs" name="dft_dma_in_intr_clr" pos="1" rst="0">
  76366. <comment>bit type is changed from w1s to rs.
  76367. write clear pulse for DFT dma in interrupts, read in dma in interrupt source before mask</comment>
  76368. </bits>
  76369. <bits access="rs" name="dft_start" pos="0" rst="0">
  76370. <comment>bit type is changed from w1s to rs.
  76371. write start trigger pulse of DFT, which will do dma rx, and read in dma rx request status</comment>
  76372. </bits>
  76373. </reg>
  76374. <reg name="dft_report" protect="r">
  76375. <bits access="r" name="dft_dma_out_intr_source" pos="13" rst="0">
  76376. <comment>1: interrupt source in dma out; 0 : no interrupt, read interrupt after mask</comment>
  76377. </bits>
  76378. <bits access="r" name="dft_calc_intr_source" pos="12" rst="0">
  76379. <comment>1: interrupt source in calc; 0 : no interrupt, read interrupt after mask</comment>
  76380. </bits>
  76381. <bits access="r" name="dft_dma_in_intr_source" pos="11" rst="0">
  76382. <comment>1: interrupt source in dma in; 0 : no interrupt, read interrupt after mask</comment>
  76383. </bits>
  76384. <bits access="r" name="dft_err_stat" pos="10" rst="0">
  76385. <comment>DFT error status report upon interrupt gen, cleared via DFT_err_stat_clr set</comment>
  76386. </bits>
  76387. <bits access="r" name="dft_sm_stat" pos="9:0" rst="0">
  76388. <comment>DFT state machine status report</comment>
  76389. </bits>
  76390. </reg>
  76391. </module>
  76392. </archive>
  76393. <archive relative="cp_zsp_busmon.xml">
  76394. <module category="ZSP_SYS" name="CP_ZSP_BUSMON">
  76395. <reg name="mon_ctrl" protect="rw">
  76396. <bits access="rw" name="busmon_ctrl" pos="0" rst="0">
  76397. <comment>Monitor
  76398. 0
  76399. 1
  76400. :BUS Monitor</comment>
  76401. </bits>
  76402. </reg>
  76403. <reg name="mon_conf" protect="rw">
  76404. <bits access="rw" name="mon_ext_addr_en" pos="9" rst="0">
  76405. <comment>0
  76406. 1</comment>
  76407. </bits>
  76408. <bits access="rw" name="busy_en" pos="8" rst="0">
  76409. <comment>BUSY
  76410. 1
  76411. 0</comment>
  76412. </bits>
  76413. <bits access="rw" name="rbusy_en" pos="7" rst="0">
  76414. <comment>RBUSY
  76415. 1
  76416. 0</comment>
  76417. </bits>
  76418. <bits access="rw" name="wbusy_en" pos="6" rst="0">
  76419. <comment>WBUSY
  76420. 1
  76421. 0</comment>
  76422. </bits>
  76423. <bits access="rw" name="mon_in_addr_en" pos="5" rst="0">
  76424. <comment>1
  76425. 0</comment>
  76426. </bits>
  76427. <bits access="rw" name="mon_num_en" pos="4" rst="0">
  76428. <comment>1
  76429. 0</comment>
  76430. </bits>
  76431. <bits access="rw" name="mon_cont_en" pos="3" rst="0">
  76432. <comment>1
  76433. 0</comment>
  76434. </bits>
  76435. <bits access="rw" name="mon_time_en" pos="2" rst="0">
  76436. <comment>1
  76437. 0</comment>
  76438. </bits>
  76439. <bits access="rw" name="mon_lock_en" pos="1" rst="0">
  76440. <comment>1
  76441. 0</comment>
  76442. </bits>
  76443. <bits access="rw" name="gint_en" pos="0" rst="0">
  76444. <comment>0
  76445. 1
  76446. MON_M0_ADDR_WIDIDDDR0x0-0x1fff_ffffDDR</comment>
  76447. </bits>
  76448. </reg>
  76449. <reg name="mon_time" protect="rw">
  76450. <bits access="rw" name="busmon_time" pos="31:0" rst="4294967295">
  76451. <comment>,
  76452. PCLK</comment>
  76453. </bits>
  76454. </reg>
  76455. <reg name="mon_cont" protect="rw">
  76456. <bits access="rw" name="busmon_cnt" pos="31:0" rst="4294967295">
  76457. <comment>MON_NUM_EN,MASTER</comment>
  76458. </bits>
  76459. </reg>
  76460. <reg name="mon_int_en" protect="rw">
  76461. <bits access="rw" name="addr_int_en" pos="3" rst="0">
  76462. <comment>MASTER0
  76463. 0
  76464. 1</comment>
  76465. </bits>
  76466. <bits access="rw" name="num_int_en" pos="2" rst="0">
  76467. <comment>0
  76468. 1</comment>
  76469. </bits>
  76470. <bits access="rw" name="timer_int_en" pos="1" rst="0">
  76471. <comment>0
  76472. 1</comment>
  76473. </bits>
  76474. <bits access="rw" name="lock_int_en" pos="0" rst="0">
  76475. <comment>LOCK
  76476. 0
  76477. 1</comment>
  76478. </bits>
  76479. </reg>
  76480. <reg name="mon_int_flag" protect="rw">
  76481. <bits access="rc" name="timer_int" pos="17" rst="0">
  76482. <comment>bit type is changed from w1c to rc.
  76483. 0
  76484. 1</comment>
  76485. </bits>
  76486. <bits access="rc" name="addr_int" pos="16" rst="0">
  76487. <comment>bit type is changed from w1c to rc.
  76488. MASTER0
  76489. 0
  76490. 1</comment>
  76491. </bits>
  76492. <bits access="rc" name="m4_rnum_int" pos="15" rst="0">
  76493. <comment>bit type is changed from w1c to rc.
  76494. MASTER4
  76495. 0
  76496. 1</comment>
  76497. </bits>
  76498. <bits access="rc" name="m4_wnum_int" pos="14" rst="0">
  76499. <comment>bit type is changed from w1c to rc.
  76500. MASTER4
  76501. 0
  76502. 1</comment>
  76503. </bits>
  76504. <bits access="rc" name="m3_rnum_int" pos="13" rst="0">
  76505. <comment>bit type is changed from w1c to rc.
  76506. MASTER3
  76507. 0
  76508. 1</comment>
  76509. </bits>
  76510. <bits access="rc" name="m3_wnum_int" pos="12" rst="0">
  76511. <comment>bit type is changed from w1c to rc.
  76512. MASTER3
  76513. 0
  76514. 1</comment>
  76515. </bits>
  76516. <bits access="rc" name="m2_rnum_int" pos="11" rst="0">
  76517. <comment>bit type is changed from w1c to rc.
  76518. MASTER2
  76519. 0
  76520. 1</comment>
  76521. </bits>
  76522. <bits access="rc" name="m2_wnum_int" pos="10" rst="0">
  76523. <comment>bit type is changed from w1c to rc.
  76524. MASTER2
  76525. 0
  76526. 1</comment>
  76527. </bits>
  76528. <bits access="rc" name="m1_rnum_int" pos="9" rst="0">
  76529. <comment>bit type is changed from w1c to rc.
  76530. MASTER1
  76531. 0
  76532. 1</comment>
  76533. </bits>
  76534. <bits access="rc" name="m1_wnum_int" pos="8" rst="0">
  76535. <comment>bit type is changed from w1c to rc.
  76536. MASTER1
  76537. 0
  76538. 1</comment>
  76539. </bits>
  76540. <bits access="rc" name="m0_rnum_int" pos="7" rst="0">
  76541. <comment>bit type is changed from w1c to rc.
  76542. MASTER0
  76543. 0
  76544. 1</comment>
  76545. </bits>
  76546. <bits access="rc" name="m0_wnum_int" pos="6" rst="0">
  76547. <comment>bit type is changed from w1c to rc.
  76548. MASTER0
  76549. 0
  76550. 1</comment>
  76551. </bits>
  76552. <bits access="rc" name="timer_cint" pos="5" rst="0">
  76553. <comment>bit type is changed from w1c to rc.
  76554. 0
  76555. 1</comment>
  76556. </bits>
  76557. <bits access="rc" name="m4_lcok_int" pos="4" rst="0">
  76558. <comment>bit type is changed from w1c to rc.
  76559. MASTER4
  76560. 0
  76561. 1</comment>
  76562. </bits>
  76563. <bits access="rc" name="m3_lcok_int" pos="3" rst="0">
  76564. <comment>bit type is changed from w1c to rc.
  76565. MASTER3
  76566. 0
  76567. 1</comment>
  76568. </bits>
  76569. <bits access="rc" name="m2_lcok_int" pos="2" rst="0">
  76570. <comment>bit type is changed from w1c to rc.
  76571. MASTER2
  76572. 0
  76573. 1</comment>
  76574. </bits>
  76575. <bits access="rc" name="m1_lcok_int" pos="1" rst="0">
  76576. <comment>bit type is changed from w1c to rc.
  76577. MASTER1
  76578. 0
  76579. 1</comment>
  76580. </bits>
  76581. <bits access="rc" name="m0_lcok_int" pos="0" rst="0">
  76582. <comment>bit type is changed from w1c to rc.
  76583. MASTER0
  76584. 0
  76585. 1</comment>
  76586. </bits>
  76587. </reg>
  76588. <reg name="mon_m0_start_addr0" protect="rw">
  76589. <bits access="rw" name="first_addr" pos="31:0" rst="0">
  76590. <comment/>
  76591. </bits>
  76592. </reg>
  76593. <reg name="mon_m0_end_addr0" protect="rw">
  76594. <bits access="rw" name="end_addr" pos="31:0" rst="0">
  76595. <comment/>
  76596. </bits>
  76597. </reg>
  76598. <reg name="mon_m0_addr_wid" protect="r">
  76599. <bits access="r" name="wa_id" pos="7:0" rst="0">
  76600. <comment>ID
  76601. : MON_START_ADDR, MON_END_ADDRMASTER0;MASTER0,ADDR_INT,</comment>
  76602. </bits>
  76603. </reg>
  76604. <hole size="64"/>
  76605. <reg name="mon_lock_time" protect="rw">
  76606. <bits access="rw" name="lock_value" pos="15:0" rst="65535">
  76607. <comment/>
  76608. </bits>
  76609. </reg>
  76610. <reg name="mon_rcommand0" protect="r">
  76611. <bits access="r" name="rc_cnt" pos="31:0" rst="0">
  76612. <comment>0
  76613. -10xFF0x100</comment>
  76614. </bits>
  76615. </reg>
  76616. <reg name="mon_rdata0" protect="r">
  76617. <bits access="r" name="rd_cnt" pos="31:0" rst="0">
  76618. <comment>0
  76619. -10xFF0x100</comment>
  76620. </bits>
  76621. </reg>
  76622. <reg name="mon_wcommand0" protect="r">
  76623. <bits access="r" name="wc_cnt" pos="31:0" rst="0">
  76624. <comment>0</comment>
  76625. </bits>
  76626. </reg>
  76627. <reg name="mon_wdata0" protect="r">
  76628. <bits access="r" name="wd_cnt" pos="31:0" rst="0">
  76629. <comment>0
  76630. -10xFF0x100</comment>
  76631. </bits>
  76632. </reg>
  76633. <reg name="mon_rcommand1" protect="r">
  76634. <bits access="r" name="rc_cnt" pos="31:0" rst="0">
  76635. <comment>1
  76636. -10xFF0x100</comment>
  76637. </bits>
  76638. </reg>
  76639. <reg name="mon_rdata1" protect="r">
  76640. <bits access="r" name="rd_cnt" pos="31:0" rst="0">
  76641. <comment>1
  76642. -10xFF0x100</comment>
  76643. </bits>
  76644. </reg>
  76645. <reg name="mon_wcommand1" protect="r">
  76646. <bits access="r" name="wc_cnt" pos="31:0" rst="0">
  76647. <comment>1</comment>
  76648. </bits>
  76649. </reg>
  76650. <reg name="mon_wdata1" protect="r">
  76651. <bits access="r" name="wd_cnt" pos="31:0" rst="0">
  76652. <comment>1
  76653. -10xFF0x100</comment>
  76654. </bits>
  76655. </reg>
  76656. <reg name="mon_rcommand2" protect="r">
  76657. <bits access="r" name="rc_cnt" pos="31:0" rst="0">
  76658. <comment>2
  76659. -10xFF0x100</comment>
  76660. </bits>
  76661. </reg>
  76662. <reg name="mon_rdata2" protect="r">
  76663. <bits access="r" name="rd_cnt" pos="31:0" rst="0">
  76664. <comment>2
  76665. -10xFF0x100</comment>
  76666. </bits>
  76667. </reg>
  76668. <reg name="mon_wcommand2" protect="r">
  76669. <bits access="r" name="wc_cnt" pos="31:0" rst="0">
  76670. <comment>2</comment>
  76671. </bits>
  76672. </reg>
  76673. <reg name="mon_wdata2" protect="r">
  76674. <bits access="r" name="wd_cnt" pos="31:0" rst="0">
  76675. <comment>2
  76676. -10xFF0x100</comment>
  76677. </bits>
  76678. </reg>
  76679. <reg name="mon_rcommand3" protect="r">
  76680. <bits access="r" name="rc_cnt" pos="31:0" rst="0">
  76681. <comment>3
  76682. -10xFF0x100</comment>
  76683. </bits>
  76684. </reg>
  76685. <reg name="mon_rdata3" protect="r">
  76686. <bits access="r" name="rd_cnt" pos="31:0" rst="0">
  76687. <comment>3
  76688. -10xFF0x100</comment>
  76689. </bits>
  76690. </reg>
  76691. <reg name="mon_wcommand3" protect="r">
  76692. <bits access="r" name="wc_cnt" pos="31:0" rst="0">
  76693. <comment>3</comment>
  76694. </bits>
  76695. </reg>
  76696. <reg name="mon_wdata3" protect="r">
  76697. <bits access="r" name="wd_cnt" pos="31:0" rst="0">
  76698. <comment>3
  76699. -10xFF0x100</comment>
  76700. </bits>
  76701. </reg>
  76702. <reg name="mon_rcommand4" protect="r">
  76703. <bits access="r" name="rc_cnt" pos="31:0" rst="0">
  76704. <comment>4
  76705. -10xFF0x100</comment>
  76706. </bits>
  76707. </reg>
  76708. <reg name="mon_rdata4" protect="r">
  76709. <bits access="r" name="rd_cnt" pos="31:0" rst="0">
  76710. <comment>4
  76711. -10xFF0x100</comment>
  76712. </bits>
  76713. </reg>
  76714. <reg name="mon_wcommand4" protect="r">
  76715. <bits access="r" name="wc_cnt" pos="31:0" rst="0">
  76716. <comment>4</comment>
  76717. </bits>
  76718. </reg>
  76719. <reg name="mon_wdata4" protect="r">
  76720. <bits access="r" name="wd_cnt" pos="31:0" rst="0">
  76721. <comment>4
  76722. -10xFF0x100</comment>
  76723. </bits>
  76724. </reg>
  76725. <reg name="mon_m0_start_addr1" protect="rw">
  76726. <bits access="rw" name="first_addr" pos="31:0" rst="0">
  76727. <comment/>
  76728. </bits>
  76729. </reg>
  76730. <reg name="mon_m0_end_addr1" protect="rw">
  76731. <bits access="rw" name="end_addr" pos="31:0" rst="0">
  76732. <comment/>
  76733. </bits>
  76734. </reg>
  76735. <reg name="mon_m0_start_addr2" protect="rw">
  76736. <bits access="rw" name="first_addr" pos="31:0" rst="0">
  76737. <comment/>
  76738. </bits>
  76739. </reg>
  76740. <reg name="mon_m0_end_addr2" protect="rw">
  76741. <bits access="rw" name="end_addr" pos="31:0" rst="0">
  76742. <comment/>
  76743. </bits>
  76744. </reg>
  76745. <reg name="mon_m0_start_addr3" protect="rw">
  76746. <bits access="rw" name="first_addr" pos="31:0" rst="0">
  76747. <comment/>
  76748. </bits>
  76749. </reg>
  76750. <reg name="mon_m0_end_addr3" protect="rw">
  76751. <bits access="rw" name="end_addr" pos="31:0" rst="0">
  76752. <comment/>
  76753. </bits>
  76754. </reg>
  76755. <reg name="mon_m0_addr" protect="r">
  76756. <bits access="r" name="addr" pos="31:0" rst="0">
  76757. <comment/>
  76758. </bits>
  76759. </reg>
  76760. </module>
  76761. </archive>
  76762. <archive relative="cp_zsp_wd.xml">
  76763. <module category="ZSP_SYS" name="CP_ZSP_WD">
  76764. <reg name="wd_conf" protect="rw">
  76765. <bits access="rw" name="prot_en" pos="9" rst="1">
  76766. <comment>0
  76767. 1</comment>
  76768. </bits>
  76769. <bits access="rw" name="wd" pos="8" rst="1">
  76770. <comment>0
  76771. 1</comment>
  76772. </bits>
  76773. <bits access="rw" name="pvt" pos="7:4" rst="0">
  76774. <comment>0000
  76775. 00011/2
  76776. 00101/4
  76777. 00111/8
  76778. 01001/16
  76779. 01011/32
  76780. 01101/64
  76781. 01111/128
  76782. 10001/256</comment>
  76783. </bits>
  76784. <bits access="rw" name="tr" pos="3" rst="0">
  76785. <comment>0
  76786. 00
  76787. 10</comment>
  76788. </bits>
  76789. <bits access="rw" name="ie" pos="2" rst="0">
  76790. <comment>0
  76791. 1Load</comment>
  76792. </bits>
  76793. <bits access="rw" name="ar" pos="1" rst="0">
  76794. <comment>0Load
  76795. 1Load0</comment>
  76796. </bits>
  76797. <bits access="rw" name="start" pos="0" rst="0">
  76798. <comment>0
  76799. 1
  76800. 1STARTTR0
  76801. 20xCCCCSTARTPROT_EN
  76802. 3STARTARSTART</comment>
  76803. </bits>
  76804. </reg>
  76805. <reg name="wd_prot" protect="rw">
  76806. <bits access="rw" name="prot" pos="15:0" rst="0">
  76807. <comment>0xCCCCWD_CONFWD_LOAD12
  76808. WD_CONF[9]1</comment>
  76809. </bits>
  76810. </reg>
  76811. <reg name="wd_load1" protect="rw">
  76812. <bits access="rw" name="load" pos="31:0" rst="130000000">
  76813. <comment>32bit
  76814. 1</comment>
  76815. </bits>
  76816. </reg>
  76817. <reg name="wd_load2" protect="rw">
  76818. <bits access="rw" name="load" pos="31:0" rst="0">
  76819. <comment>32bit
  76820. 1</comment>
  76821. </bits>
  76822. </reg>
  76823. <reg name="wd_value1" protect="r">
  76824. <bits access="r" name="value" pos="31:0" rst="0">
  76825. <comment>32bit</comment>
  76826. </bits>
  76827. </reg>
  76828. <reg name="wd_value2" protect="r">
  76829. <bits access="r" name="value" pos="31:0" rst="0">
  76830. <comment>32bit</comment>
  76831. </bits>
  76832. </reg>
  76833. <reg name="wd_cmd" protect="w">
  76834. <bits access="w" name="cmd" pos="15:0" rst="0">
  76835. <comment>0xAAAA0x5555
  76836. 0xAAAA0x4444
  76837. 0xBBBB</comment>
  76838. </bits>
  76839. </reg>
  76840. <reg name="wd_div_conf" protect="rw">
  76841. <bits access="rw" name="en" pos="16" rst="0">
  76842. <comment>0
  76843. 1</comment>
  76844. </bits>
  76845. <bits access="rw" name="div" pos="15:0" rst="25">
  76846. <comment>f= FuncClk/(DIV+1)
  76847. WATCHDOG26MhzDIVWD_DIV_COUNT</comment>
  76848. </bits>
  76849. </reg>
  76850. <reg name="wd_div_count" protect="rw">
  76851. <bits access="rc" name="count" pos="31:0" rst="0">
  76852. <comment>bit type is changed from w1c to rc.</comment>
  76853. </bits>
  76854. </reg>
  76855. </module>
  76856. </archive>
  76857. <archive relative="cp_lte_pusch.xml">
  76858. <module category="LTE_SYS" name="CP_LTE_PUSCH">
  76859. <reg name="ack_offset" protect="rw">
  76860. <bits access="rw" name="ack_offset_ack_offset" pos="3:0" rst="0">
  76861. <comment>ACK</comment>
  76862. </bits>
  76863. </reg>
  76864. <reg name="ri_offset" protect="rw">
  76865. <bits access="rw" name="ri_offset_ri_offset" pos="3:0" rst="0">
  76866. <comment>RIMCS</comment>
  76867. </bits>
  76868. </reg>
  76869. <reg name="cqi_offset" protect="rw">
  76870. <bits access="rw" name="cqi_offset_cqi_offset" pos="3:0" rst="0">
  76871. <comment>CQIMCS</comment>
  76872. </bits>
  76873. </reg>
  76874. <reg name="tbsize_init" protect="rw">
  76875. <bits access="rw" name="tbsize_init_tbsize_init" pos="13:0" rst="0">
  76876. <comment>PUSCHPUSCHCRCbit</comment>
  76877. </bits>
  76878. </reg>
  76879. <reg name="tbsize" protect="rw">
  76880. <bits access="rw" name="tbsize_tbsize" pos="13:0" rst="0">
  76881. <comment>PUSCHPUSCHCRCbit</comment>
  76882. </bits>
  76883. </reg>
  76884. <reg name="modulate" protect="rw">
  76885. <bits access="rw" name="modulate_modulate" pos="1:0" rst="0">
  76886. <comment>00BPSK
  76887. 01QPSK
  76888. 1016QAM
  76889. 1164QAM</comment>
  76890. </bits>
  76891. </reg>
  76892. <reg name="redun_ver" protect="rw">
  76893. <bits access="rw" name="redun_ver_redun_ver" pos="1:0" rst="0">
  76894. <comment/>
  76895. </bits>
  76896. </reg>
  76897. <reg name="lcrb" protect="rw">
  76898. <bits access="rw" name="ini_sub_num" pos="26:16" rst="0">
  76899. <comment>PUSCH</comment>
  76900. </bits>
  76901. <bits access="rw" name="sub_num" pos="10:0" rst="0">
  76902. <comment>PUSCH</comment>
  76903. </bits>
  76904. </reg>
  76905. <reg name="symbol_num" protect="rw">
  76906. <bits access="rw" name="ru_num" pos="11:8" rst="0">
  76907. <comment>RU</comment>
  76908. </bits>
  76909. <bits access="rw" name="ini_sym_num" pos="7:4" rst="0">
  76910. <comment>PUSCHCAT1/CATM
  76911. 1PUSCH DATA
  76912. CAT-NB1RU</comment>
  76913. </bits>
  76914. <bits access="rw" name="sym_num" pos="3:0" rst="0">
  76915. <comment>PUSCHCAT1/CATM1
  76916. PUSCH DATACAT-NB
  76917. 1RU</comment>
  76918. </bits>
  76919. </reg>
  76920. <reg name="cqi_bit1" protect="rw">
  76921. <bits access="rw" name="cqi_bit1_cqi_bit1" pos="31:0" rst="0">
  76922. <comment>CQI31~0</comment>
  76923. </bits>
  76924. </reg>
  76925. <reg name="cqi_bit2" protect="rw">
  76926. <bits access="rw" name="cqi_bit2_cqi_bit2" pos="31:0" rst="0">
  76927. <comment>CQI31~0</comment>
  76928. </bits>
  76929. </reg>
  76930. <reg name="cqi_bit8_bitlen" protect="rw">
  76931. <bits access="rw" name="o_cqi_bitlen_min" pos="22:16" rst="0">
  76932. <comment>CQI</comment>
  76933. </bits>
  76934. <bits access="rw" name="o_cqi_bitlen" pos="14:8" rst="0">
  76935. <comment>CQI65</comment>
  76936. </bits>
  76937. <bits access="rw" name="cqi_bit8" pos="0" rst="0">
  76938. <comment>CQI64</comment>
  76939. </bits>
  76940. </reg>
  76941. <reg name="ri_bit_bitlen" protect="rw">
  76942. <bits access="rw" name="o_ri_bitlen" pos="16" rst="0">
  76943. <comment>RI</comment>
  76944. </bits>
  76945. <bits access="rw" name="ri_bit" pos="0" rst="0">
  76946. <comment>RI</comment>
  76947. </bits>
  76948. </reg>
  76949. <reg name="ack_bit_bitlen" protect="rw">
  76950. <bits access="rw" name="o_ack_bitlen" pos="26:24" rst="0">
  76951. <comment>ACK4</comment>
  76952. </bits>
  76953. <bits access="rw" name="ack_bit" pos="3:0" rst="0">
  76954. <comment>ACK</comment>
  76955. </bits>
  76956. </reg>
  76957. <reg name="ack_mux_bundling" protect="rw">
  76958. <bits access="rw" name="bundling_flag" pos="2" rst="0">
  76959. <comment>0FDDTDDHARQ-ACK
  76960. 1TDDHARQ-ACK</comment>
  76961. </bits>
  76962. <bits access="rw" name="bundling_idx" pos="1:0" rst="0">
  76963. <comment>TDD HARQ-ACK</comment>
  76964. </bits>
  76965. </reg>
  76966. <reg name="pucch_format" protect="rw">
  76967. <bits access="rw" name="format" pos="2:0" rst="0">
  76968. <comment>PUCCH
  76969. 000~010RESERVED
  76970. 0112
  76971. 1002a
  76972. 1012b
  76973. 110~111RESERVED</comment>
  76974. </bits>
  76975. </reg>
  76976. <reg name="prach_u" protect="rw">
  76977. <bits access="rw" name="u_inv_value" pos="25:16" rst="0">
  76978. <comment>U</comment>
  76979. </bits>
  76980. <bits access="rw" name="u_value" pos="9:0" rst="0">
  76981. <comment>U</comment>
  76982. </bits>
  76983. </reg>
  76984. <reg name="prach_cv" protect="rw">
  76985. <bits access="rw" name="cv_value" pos="9:0" rst="0">
  76986. <comment>CV</comment>
  76987. </bits>
  76988. </reg>
  76989. <reg name="gold_init" protect="rw">
  76990. <bits access="rw" name="gold_init_gold_init" pos="30:0" rst="0">
  76991. <comment>GOLD</comment>
  76992. </bits>
  76993. </reg>
  76994. <reg name="pusch_ctrl" protect="rw">
  76995. <bits access="rw" name="pusch2dft_trig_en" pos="17" rst="0">
  76996. <comment>1PUSCHULDFT
  76997. 0PUSCHULDFT</comment>
  76998. </bits>
  76999. <bits access="rw" name="func_sel" pos="16:15" rst="0">
  77000. <comment>00PUSCH
  77001. 01PUCCH UCI
  77002. 10PRACH
  77003. 11NPUSCH1NPUSCH2PUSCH IP</comment>
  77004. </bits>
  77005. <bits access="rw" name="uci_en" pos="14" rst="0">
  77006. <comment>FUNC_SELPUSCH UCIPUCCH UCIFUNC_SEL00PUSCH UCIFUNC_SEL01PUCCH UCI
  77007. 0UCI
  77008. 1UCI</comment>
  77009. </bits>
  77010. <bits access="rw" name="buf_index" pos="13:12" rst="0">
  77011. <comment>PUSCH_BUFFERMEM
  77012. 00PUSCH_BUF1
  77013. 01PUSCH_BUF2
  77014. 10PUSCH_BUF3
  77015. 11PRACH_BUF</comment>
  77016. </bits>
  77017. <bits access="rw" name="pusch_buf_en" pos="11" rst="0">
  77018. <comment>0PUSCH_BUFFER
  77019. 1PUSCH_BUFFER</comment>
  77020. </bits>
  77021. <bits access="rw" name="zc_index" pos="9" rst="0">
  77022. <comment>PRACHZC
  77023. 0ZC139
  77024. 1ZC839</comment>
  77025. </bits>
  77026. <bits access="rw" name="inver_en" pos="7" rst="0">
  77027. <comment>0PUSCHCRCByte
  77028. 1PUSCHCRCByte</comment>
  77029. </bits>
  77030. <bits access="rw" name="pusch_irqen" pos="5" rst="0">
  77031. <comment>0LTE
  77032. 1LTE</comment>
  77033. </bits>
  77034. <bits access="rw" name="scr_en" pos="4" rst="0">
  77035. <comment>0PUSCH
  77036. 1PUSCH</comment>
  77037. </bits>
  77038. <bits access="rw" name="int_en" pos="3" rst="0">
  77039. <comment>0PUSCH
  77040. 1PUSCH</comment>
  77041. </bits>
  77042. <bits access="rw" name="tb_rm_en" pos="2" rst="0">
  77043. <comment>0PUSCHTurbo
  77044. 1PUSCHTurbo</comment>
  77045. </bits>
  77046. <bits access="rw" name="crc_en" pos="1" rst="0">
  77047. <comment>0PUSCHCRC
  77048. 1PUSCHCRC</comment>
  77049. </bits>
  77050. <bits access="rw" name="fun_en" pos="0" rst="0">
  77051. <comment>0LTE
  77052. 1LTE</comment>
  77053. </bits>
  77054. </reg>
  77055. <reg name="pusch_irq_flag" protect="rw">
  77056. <bits access="rc" name="irq_flag" pos="0" rst="0">
  77057. <comment>bit type is changed from rw1c to rc.
  77058. 0
  77059. 1</comment>
  77060. </bits>
  77061. </reg>
  77062. <reg name="pucch_res" protect="r">
  77063. <bits access="r" name="res_uci" pos="21:0" rst="0">
  77064. <comment>PUCCH format2/2a/2b UCI</comment>
  77065. </bits>
  77066. </reg>
  77067. <hole size="523584"/>
  77068. <reg name="mem1" protect="rw">
  77069. <bits access="rw" name="mem1_mem1" pos="31:0" rst="0">
  77070. </bits>
  77071. </reg>
  77072. <hole size="131040"/>
  77073. <reg name="mem2" protect="rw">
  77074. <bits access="rw" name="mem2_mem2" pos="31:0" rst="0">
  77075. </bits>
  77076. </reg>
  77077. <hole size="131040"/>
  77078. <reg name="mem3" protect="rw">
  77079. <bits access="rw" name="mem3_mem3" pos="31:0" rst="0">
  77080. </bits>
  77081. </reg>
  77082. <hole size="262112"/>
  77083. <reg name="pusch_buf1" protect="rw">
  77084. <bits access="rw" name="pusch_buf1_pusch_buf1" pos="31:0" rst="0">
  77085. </bits>
  77086. </reg>
  77087. <hole size="131040"/>
  77088. <reg name="pusch_buf2" protect="rw">
  77089. <bits access="rw" name="pusch_buf2_pusch_buf2" pos="31:0" rst="0">
  77090. </bits>
  77091. </reg>
  77092. <hole size="131040"/>
  77093. <reg name="pusch_buf3" protect="rw">
  77094. <bits access="rw" name="pusch_buf3_pusch_buf3" pos="31:0" rst="0">
  77095. </bits>
  77096. </reg>
  77097. <hole size="262112"/>
  77098. <reg name="prach_buf" protect="rw">
  77099. <bits access="rw" name="prach_buf_prach_buf" pos="31:0" rst="0">
  77100. </bits>
  77101. </reg>
  77102. </module>
  77103. </archive>
  77104. <archive relative="cp_lte_ldtc1.xml">
  77105. <module category="LTE_SYS" name="CP_LTE_LDTC1">
  77106. <reg name="csys_para_nxt" protect="rw">
  77107. <bits access="rw" name="schd_sib1" pos="30:26" rst="0">
  77108. <comment>Schedule SIB1 BR R13PBML</comment>
  77109. </bits>
  77110. <bits access="rw" name="phi_res" pos="25:24" rst="0">
  77111. <comment>PHICH resourcePBML</comment>
  77112. </bits>
  77113. <bits access="rw" name="phi_dur" pos="23" rst="0">
  77114. <comment>PHICH durationPBML</comment>
  77115. </bits>
  77116. <bits access="rw" name="bw_ind_ul" pos="22:20" rst="0">
  77117. <comment>01.4Mhz
  77118. 13Mhz
  77119. 25Mhz
  77120. 310Mhz
  77121. 415Mhz
  77122. 520Mhz
  77123. 6~75</comment>
  77124. </bits>
  77125. <bits access="rw" name="ng_ind" pos="19:18" rst="0">
  77126. <comment>Ng
  77127. 01/6
  77128. 11/2
  77129. 21
  77130. 32</comment>
  77131. </bits>
  77132. <bits access="rw" name="tm_mode" pos="17:14" rst="0">
  77133. <comment>1~:9tm1,tm2,,tm9</comment>
  77134. </bits>
  77135. <bits access="rw" name="ss_conf" pos="13:10" rst="0">
  77136. <comment>TDD0~9
  77137. 9</comment>
  77138. </bits>
  77139. <bits access="rw" name="uldl_conf" pos="9:7" rst="0">
  77140. <comment>0~66</comment>
  77141. </bits>
  77142. <bits access="rw" name="bw_ind" pos="6:4" rst="0">
  77143. <comment>01.4Mhz
  77144. 13Mhz
  77145. 25Mhz
  77146. 310Mhz
  77147. 415Mhz
  77148. 520Mhz
  77149. 6~75</comment>
  77150. </bits>
  77151. <bits access="rw" name="ant_tx" pos="3:2" rst="0">
  77152. <comment>01
  77153. 12
  77154. 24
  77155. 32</comment>
  77156. </bits>
  77157. <bits access="rw" name="cp_ind" pos="1" rst="0">
  77158. <comment>CP
  77159. 0CP
  77160. 1CP</comment>
  77161. </bits>
  77162. <bits access="rw" name="fdd_tdd" pos="0" rst="0">
  77163. <comment>FDDTDD
  77164. 0TDD
  77165. 1FDD</comment>
  77166. </bits>
  77167. </reg>
  77168. <reg name="cnid_cell_nxt" protect="rw">
  77169. <bits access="rw" name="nid_cell" pos="8:0" rst="0">
  77170. <comment>ID0~503</comment>
  77171. </bits>
  77172. </reg>
  77173. <reg name="dsys_para_nxt" protect="rw">
  77174. <bits access="rw" name="bw_ind_ul" pos="22:20" rst="0">
  77175. <comment>01.4Mhz
  77176. 13Mhz
  77177. 25Mhz
  77178. 310Mhz
  77179. 415Mhz
  77180. 520Mhz
  77181. 6~75</comment>
  77182. </bits>
  77183. <bits access="rw" name="ng_ind" pos="19:18" rst="0">
  77184. <comment>Ng
  77185. 01/6
  77186. 11/2
  77187. 21
  77188. 32</comment>
  77189. </bits>
  77190. <bits access="rw" name="tm_mode" pos="17:14" rst="0">
  77191. <comment>1~:9tm1,tm2,,tm9</comment>
  77192. </bits>
  77193. <bits access="rw" name="ss_conf" pos="13:10" rst="0">
  77194. <comment>TDD0~99</comment>
  77195. </bits>
  77196. <bits access="rw" name="uldl_conf" pos="9:7" rst="0">
  77197. <comment>0~66</comment>
  77198. </bits>
  77199. <bits access="rw" name="bw_ind" pos="6:4" rst="0">
  77200. <comment>01.4Mhz
  77201. 13Mhz
  77202. 25Mhz
  77203. 310Mhz
  77204. 415Mhz
  77205. 520Mhz
  77206. 6~75</comment>
  77207. </bits>
  77208. <bits access="rw" name="ant_tx" pos="3:2" rst="0">
  77209. <comment>01
  77210. 12
  77211. 24
  77212. 32</comment>
  77213. </bits>
  77214. <bits access="rw" name="cp_ind" pos="1" rst="0">
  77215. <comment>CP
  77216. 0CP
  77217. 1CP</comment>
  77218. </bits>
  77219. <bits access="rw" name="fdd_tdd" pos="0" rst="0">
  77220. <comment>FDDTDD
  77221. 0TDD
  77222. 1FDD</comment>
  77223. </bits>
  77224. </reg>
  77225. <reg name="dnid_cell_nxt" protect="rw">
  77226. <bits access="rw" name="nid_cell" pos="8:0" rst="0">
  77227. <comment>MBSFN ID0~255
  77228. ID0~503</comment>
  77229. </bits>
  77230. </reg>
  77231. <reg name="ra_t_rnti" protect="rw">
  77232. <bits access="rw" name="t_rnti" pos="31:16" rst="0">
  77233. <comment>Temp-C-RNTI</comment>
  77234. </bits>
  77235. <bits access="rw" name="ra_rnti" pos="15:0" rst="0">
  77236. <comment>RA_RNTI</comment>
  77237. </bits>
  77238. </reg>
  77239. <reg name="c_sps_rnti" protect="rw">
  77240. <bits access="rw" name="sps_rnti" pos="31:16" rst="0">
  77241. <comment>SPS_RNTI</comment>
  77242. </bits>
  77243. <bits access="rw" name="c_rnti" pos="15:0" rst="0">
  77244. <comment>C_RNTI</comment>
  77245. </bits>
  77246. </reg>
  77247. <reg name="tpc_rnti" protect="rw">
  77248. <bits access="rw" name="tpcs_rnti" pos="31:16" rst="0">
  77249. <comment>TPC-PUCSH-RNTI</comment>
  77250. </bits>
  77251. <bits access="rw" name="tpcc_rnti" pos="15:0" rst="0">
  77252. <comment>TPC-PUCCH-RNTI</comment>
  77253. </bits>
  77254. </reg>
  77255. <reg name="g_rnti" protect="rw">
  77256. <bits access="rw" name="g_rnti_g_rnti" pos="15:0" rst="0">
  77257. <comment>G_RNTI</comment>
  77258. </bits>
  77259. </reg>
  77260. <reg name="csi_rsmap0_nxt" protect="rw">
  77261. <bits access="rw" name="csirs_group2" pos="23:12" rst="0">
  77262. <comment>2PRBCSI-RS
  77263. CSIRS_GROUP1</comment>
  77264. </bits>
  77265. <bits access="rw" name="csirs_group1" pos="11:0" rst="0">
  77266. <comment>1PRBCSI-RS
  77267. 011PRBRE#0
  77268. RE#1101RE#0
  77269. CSI-RS</comment>
  77270. </bits>
  77271. </reg>
  77272. <reg name="csi_rsmap1_nxt" protect="rw">
  77273. <bits access="rw" name="csirs_jump" pos="30:24" rst="0">
  77274. <comment>CSI-RSOFDM1PDSCHNorm-CP2430OFDM#5689101213Ext-CP2429OFDM#45781011Norm-CP241OFDM#510OFDM#51CSI-RS</comment>
  77275. </bits>
  77276. <bits access="rw" name="csirs_group4" pos="23:12" rst="0">
  77277. <comment>4PRBCSI-RSCSIRS_GROUP1</comment>
  77278. </bits>
  77279. <bits access="rw" name="csirs_group3" pos="11:0" rst="0">
  77280. <comment>3PRBCSI-RSCSIRS_GROUP1</comment>
  77281. </bits>
  77282. </reg>
  77283. <reg name="pmi_cfg" protect="rw">
  77284. <bits access="rw" name="pmi_cbsr" pos="15:0" rst="0">
  77285. <comment>PMI (codebookSubsetRestriction)
  77286. 0PMIbit
  77287. 1PMIbit</comment>
  77288. </bits>
  77289. </reg>
  77290. <reg name="pcfi_cfg_nxt" protect="rw">
  77291. <bits access="rw" name="cfi_val" pos="3:0" rst="7">
  77292. <comment>BIT
  77293. Bit0:1OFDMCFI
  77294. Bit1:2OFDMCFI
  77295. Bit2:3OFDMCFI
  77296. Bit3:4OFDMCFI
  77297. 0
  77298. 1</comment>
  77299. </bits>
  77300. </reg>
  77301. <reg name="phi_cfg_nxt" protect="rw">
  77302. <bits access="rw" name="hi_cond" pos="23:22" rst="0">
  77303. <comment>HIOFDM0~3</comment>
  77304. </bits>
  77305. <bits access="rw" name="phi1_en" pos="21" rst="0">
  77306. <comment>PHICH1
  77307. 0
  77308. 1</comment>
  77309. </bits>
  77310. <bits access="rw" name="phi1_seqnum" pos="20:18" rst="0">
  77311. <comment>PHICH10~7</comment>
  77312. </bits>
  77313. <bits access="rw" name="phi1_grpnum" pos="17:11" rst="0">
  77314. <comment>PHICH10~99</comment>
  77315. </bits>
  77316. <bits access="rw" name="phi0_en" pos="10" rst="0">
  77317. <comment>PHICH0
  77318. 0
  77319. 1</comment>
  77320. </bits>
  77321. <bits access="rw" name="phi0_seqnum" pos="9:7" rst="0">
  77322. <comment>PHICH00~7</comment>
  77323. </bits>
  77324. <bits access="rw" name="phi0_grpnum" pos="6:0" rst="0">
  77325. <comment>PHICH00~99</comment>
  77326. </bits>
  77327. </reg>
  77328. <reg name="pdcch_cfg_nxt" protect="rw">
  77329. <bits access="rw" name="dcilen_ue1" pos="31:26" rst="0">
  77330. <comment>UEDCImax57</comment>
  77331. </bits>
  77332. <bits access="rw" name="dcilen_ue0" pos="25:20" rst="0">
  77333. <comment>UEDCImax57</comment>
  77334. </bits>
  77335. <bits access="rw" name="dcilen_comm1" pos="19:14" rst="0">
  77336. <comment>COMMDCImax57</comment>
  77337. </bits>
  77338. <bits access="rw" name="dcilen_comm0" pos="13:8" rst="0">
  77339. <comment>COMMDCImax57</comment>
  77340. </bits>
  77341. <bits access="rw" name="dcilen_sel" pos="7" rst="0">
  77342. <comment>DCILEN
  77343. 0
  77344. 1</comment>
  77345. </bits>
  77346. <bits access="rw" name="pus_enh" pos="6" rst="0">
  77347. <comment>PUSCH
  77348. 0DCI0
  77349. 1DCI0C</comment>
  77350. </bits>
  77351. <bits access="rw" name="csi_sel" pos="5" rst="0">
  77352. <comment>CSI
  77353. 01
  77354. 12</comment>
  77355. </bits>
  77356. <bits access="rw" name="antsel_en" pos="4" rst="0">
  77357. <comment>0
  77358. 1</comment>
  77359. </bits>
  77360. <bits access="rw" name="srs_act" pos="3" rst="0">
  77361. <comment>SRS
  77362. 0DCISRS_REQ
  77363. 1DCISRS_REQ</comment>
  77364. </bits>
  77365. <bits access="rw" name="pdcch_det_num" pos="2:0" rst="4">
  77366. <comment>PDCCH
  77367. 0:1
  77368. 1:2
  77369. 2:3
  77370. 3:4
  77371. 78</comment>
  77372. </bits>
  77373. </reg>
  77374. <reg name="pdsch0_cfg_nxt" protect="rw">
  77375. <bits access="rw" name="pmi_confm" pos="31" rst="0">
  77376. <comment>PMIDCIPMI
  77377. 0DCIPMI
  77378. 1PMI</comment>
  77379. </bits>
  77380. <bits access="rw" name="hq_proc" pos="30:27" rst="0">
  77381. <comment>HARQ:0~15</comment>
  77382. </bits>
  77383. <bits access="rw" name="pmi_indx" pos="26:23" rst="0">
  77384. <comment>tx2:0~3tx4:0~15</comment>
  77385. </bits>
  77386. <bits access="rw" name="trans_scheme" pos="22:20" rst="0">
  77387. <comment>0
  77388. 1
  77389. 2
  77390. 3PORT7
  77391. 4PORT8
  77392. 5PORT5</comment>
  77393. </bits>
  77394. <bits access="rw" name="ra_type" pos="19" rst="0">
  77395. <comment>0
  77396. 1</comment>
  77397. </bits>
  77398. <bits access="rw" name="n_scid" pos="18" rst="0">
  77399. <comment>Nscid(UE)0~1</comment>
  77400. </bits>
  77401. <bits access="rw" name="rv_sel" pos="17:16" rst="0">
  77402. <comment>0~3</comment>
  77403. </bits>
  77404. <bits access="rw" name="modu" pos="15:14" rst="0">
  77405. <comment>0:QPSK
  77406. 1:16QAM
  77407. 2:64QAM</comment>
  77408. </bits>
  77409. <bits access="rw" name="tbsize" pos="13:0" rst="0">
  77410. <comment>max10296</comment>
  77411. </bits>
  77412. </reg>
  77413. <reg name="pdsch1_cfg_nxt" protect="rw">
  77414. <bits access="rw" name="ra_type" pos="16" rst="0">
  77415. <comment>0
  77416. 1</comment>
  77417. </bits>
  77418. <bits access="rw" name="rv_sel" pos="15:14" rst="0">
  77419. <comment>0~3</comment>
  77420. </bits>
  77421. <bits access="rw" name="tbsize" pos="13:0" rst="0">
  77422. <comment>max2216</comment>
  77423. </bits>
  77424. </reg>
  77425. <reg name="pdsch2_cfg_nxt" protect="rw">
  77426. <bits access="rw" name="ra_type" pos="16" rst="0">
  77427. <comment>0
  77428. 1</comment>
  77429. </bits>
  77430. <bits access="rw" name="rv_sel" pos="15:14" rst="0">
  77431. <comment>0~3</comment>
  77432. </bits>
  77433. <bits access="rw" name="tbsize" pos="13:0" rst="0">
  77434. <comment>max2216</comment>
  77435. </bits>
  77436. </reg>
  77437. <reg name="frame_ccnt_nxt" protect="rw">
  77438. <bits access="rw" name="ssfn_cnt" pos="31:16" rst="0">
  77439. <comment>0~65535</comment>
  77440. </bits>
  77441. <bits access="rw" name="rf_cnt" pos="13:4" rst="0">
  77442. <comment>:0~1023</comment>
  77443. </bits>
  77444. <bits access="rw" name="sf_cnt" pos="3:0" rst="0">
  77445. <comment>:0~9</comment>
  77446. </bits>
  77447. </reg>
  77448. <reg name="frame_dcnt_nxt" protect="rw">
  77449. <bits access="rw" name="ssfn_cnt" pos="31:16" rst="0">
  77450. <comment>0~65535</comment>
  77451. </bits>
  77452. <bits access="rw" name="rf_cnt" pos="13:4" rst="0">
  77453. <comment>:0~1023</comment>
  77454. </bits>
  77455. <bits access="rw" name="sf_cnt" pos="3:0" rst="0">
  77456. <comment>:0~9</comment>
  77457. </bits>
  77458. </reg>
  77459. <reg name="ldtc1_cserv_nxt" protect="rw">
  77460. <bits access="rw" name="sc_n_rnti_en" pos="10" rst="0">
  77461. <comment>SC-N-RNTI
  77462. 0
  77463. 1</comment>
  77464. </bits>
  77465. <bits access="rw" name="sc_rnti_en" pos="9" rst="0">
  77466. <comment>SC-RNTI
  77467. 0
  77468. 1</comment>
  77469. </bits>
  77470. <bits access="rw" name="g_rnti_en" pos="8" rst="0">
  77471. <comment>G-RNTI
  77472. 0
  77473. 1</comment>
  77474. </bits>
  77475. <bits access="rw" name="tpcc_rnti_en" pos="7" rst="0">
  77476. <comment>TPC-PUCCH-RNTI
  77477. 0
  77478. 1</comment>
  77479. </bits>
  77480. <bits access="rw" name="tpcs_rnti_en" pos="6" rst="0">
  77481. <comment>TPC-PUSCH-RNTI
  77482. 0
  77483. 1</comment>
  77484. </bits>
  77485. <bits access="rw" name="t_rnti_en" pos="5" rst="0">
  77486. <comment>Temp-C-RNTI
  77487. 0
  77488. 1</comment>
  77489. </bits>
  77490. <bits access="rw" name="sps_rnti_en" pos="4" rst="0">
  77491. <comment>SPS-C-RNTI
  77492. 0
  77493. 1</comment>
  77494. </bits>
  77495. <bits access="rw" name="c_rnti_en" pos="3" rst="0">
  77496. <comment>C-RNTI
  77497. 0
  77498. 1</comment>
  77499. </bits>
  77500. <bits access="rw" name="ra_rnti_en" pos="2" rst="0">
  77501. <comment>RA-RNTI
  77502. 0
  77503. 1</comment>
  77504. </bits>
  77505. <bits access="rw" name="p_rnti_en" pos="1" rst="0">
  77506. <comment>P-RNTI
  77507. 0
  77508. 1</comment>
  77509. </bits>
  77510. <bits access="rw" name="si_rnti_en" pos="0" rst="0">
  77511. <comment>SI-RNTI
  77512. 0
  77513. 1</comment>
  77514. </bits>
  77515. </reg>
  77516. <reg name="ldtc1_dserv_nxt" protect="rw">
  77517. <bits access="rw" name="sc_rnti_en" pos="7" rst="0">
  77518. <comment>SC-RNTI
  77519. 0
  77520. 1</comment>
  77521. </bits>
  77522. <bits access="rw" name="g_rnti_en" pos="6" rst="0">
  77523. <comment>G-RNTI
  77524. 0
  77525. 1</comment>
  77526. </bits>
  77527. <bits access="rw" name="t_rnti_en" pos="5" rst="0">
  77528. <comment>Temp-C-RNTI
  77529. 0
  77530. 1</comment>
  77531. </bits>
  77532. <bits access="rw" name="sps_rnti_en" pos="4" rst="0">
  77533. <comment>SPS-C-RNTI
  77534. 0
  77535. 1</comment>
  77536. </bits>
  77537. <bits access="rw" name="c_rnti_en" pos="3" rst="0">
  77538. <comment>C-RNTI
  77539. 0
  77540. 1</comment>
  77541. </bits>
  77542. <bits access="rw" name="ra_rnti_en" pos="2" rst="0">
  77543. <comment>RA-RNTI
  77544. 0
  77545. 1</comment>
  77546. </bits>
  77547. <bits access="rw" name="p_rnti_en" pos="1" rst="0">
  77548. <comment>P-RNTI
  77549. 0
  77550. 1</comment>
  77551. </bits>
  77552. <bits access="rw" name="si_rnti_en" pos="0" rst="0">
  77553. <comment>SI-RNTI
  77554. 0
  77555. 1</comment>
  77556. </bits>
  77557. </reg>
  77558. <reg name="ldtc1_cctrl_nxt" protect="rw">
  77559. <bits access="rw" name="dma_s_en" pos="14" rst="0">
  77560. <comment>SINR DMA
  77561. 0
  77562. 1</comment>
  77563. </bits>
  77564. <bits access="rw" name="dma_m_en" pos="13" rst="0">
  77565. <comment>PMI DMA
  77566. 0
  77567. 1</comment>
  77568. </bits>
  77569. <bits access="rw" name="int_s_en" pos="12" rst="0">
  77570. <comment>SINR
  77571. 0
  77572. 1</comment>
  77573. </bits>
  77574. <bits access="rw" name="int_m_en" pos="11" rst="0">
  77575. <comment>PMI
  77576. 0
  77577. 1</comment>
  77578. </bits>
  77579. <bits access="rw" name="int_c_en" pos="10" rst="0">
  77580. <comment>PDCCH
  77581. 0
  77582. 1</comment>
  77583. </bits>
  77584. <bits access="rw" name="int_b_en" pos="9" rst="0">
  77585. <comment>PBCH
  77586. 0
  77587. 1</comment>
  77588. </bits>
  77589. <bits access="rw" name="mbms_sf" pos="8" rst="0">
  77590. <comment>MBMS
  77591. 0MBMS
  77592. 1MBMS</comment>
  77593. </bits>
  77594. <bits access="rw" name="cqfqt_ppsel" pos="7:6" rst="0">
  77595. <comment>CTRL QFQT
  77596. 01
  77597. 12
  77598. 23</comment>
  77599. </bits>
  77600. <bits access="rw" name="pbch_first" pos="5" rst="0">
  77601. <comment>PBCH
  77602. 0
  77603. 1</comment>
  77604. </bits>
  77605. <bits access="rw" name="sinr_en" pos="4" rst="0">
  77606. <comment>SINR
  77607. 0
  77608. 1</comment>
  77609. </bits>
  77610. <bits access="rw" name="pmi_en" pos="3" rst="0">
  77611. <comment>PMI
  77612. 0
  77613. 1</comment>
  77614. </bits>
  77615. <bits access="rw" name="hi_en" pos="2" rst="0">
  77616. <comment>HI
  77617. 0
  77618. 1</comment>
  77619. </bits>
  77620. <bits access="rw" name="pdcch_en" pos="1" rst="0">
  77621. <comment>PDCCH
  77622. 0
  77623. 1</comment>
  77624. </bits>
  77625. <bits access="rw" name="pbch_en" pos="0" rst="0">
  77626. <comment>PBCH
  77627. 0
  77628. 1</comment>
  77629. </bits>
  77630. </reg>
  77631. <reg name="ldtc1_dctrl_nxt" protect="rw">
  77632. <bits access="rw" name="dma_d_en" pos="8" rst="0">
  77633. <comment>PDSCH DMA
  77634. 0
  77635. 1</comment>
  77636. </bits>
  77637. <bits access="rw" name="int_d_en" pos="7" rst="0">
  77638. <comment>PDSCH
  77639. 0
  77640. 1</comment>
  77641. </bits>
  77642. <bits access="rw" name="dqfqt_ppsel" pos="6:5" rst="0">
  77643. <comment>DATA QFQT
  77644. 01
  77645. 12
  77646. 23</comment>
  77647. </bits>
  77648. <bits access="rw" name="csirs_en" pos="4" rst="0">
  77649. <comment>CSIRS
  77650. 0
  77651. 1</comment>
  77652. </bits>
  77653. <bits access="rw" name="sihqbuf_sel" pos="3" rst="0">
  77654. <comment>SIHQBUF
  77655. 0HQBUF0
  77656. 1HQBUF1</comment>
  77657. </bits>
  77658. <bits access="rw" name="si_first" pos="2" rst="0">
  77659. <comment>PDSCH
  77660. 0
  77661. 1</comment>
  77662. </bits>
  77663. <bits access="rw" name="pds_first" pos="1" rst="0">
  77664. <comment>PDS
  77665. 0
  77666. 1</comment>
  77667. </bits>
  77668. <bits access="rw" name="pdsch_en" pos="0" rst="0">
  77669. <comment>PDSCH
  77670. 0
  77671. 1</comment>
  77672. </bits>
  77673. </reg>
  77674. <reg name="ldtc1_cstart" protect="rw">
  77675. <bits access="rw" name="ldtc_cstart" pos="0" rst="0">
  77676. <comment>LDTC
  77677. 0
  77678. 1</comment>
  77679. </bits>
  77680. </reg>
  77681. <reg name="ldtc1_dstart" protect="rw">
  77682. <bits access="rw" name="ldtc_dstart" pos="0" rst="0">
  77683. <comment>LDTC
  77684. 0
  77685. 1</comment>
  77686. </bits>
  77687. </reg>
  77688. <reg name="ctrl_flag" protect="rw">
  77689. <bits access="rc" name="dci_valid" pos="15:8" rst="0">
  77690. <comment>bit type is changed from rw1c to rc.
  77691. DCI
  77692. 0DCI
  77693. 1DCI</comment>
  77694. </bits>
  77695. <bits access="rc" name="mib_valid" pos="7:4" rst="0">
  77696. <comment>bit type is changed from rw1c to rc.
  77697. MIB
  77698. 0MIB
  77699. 1MIB</comment>
  77700. </bits>
  77701. <bits access="rc" name="int_sflag" pos="3" rst="0">
  77702. <comment>bit type is changed from rw1c to rc.
  77703. SINR
  77704. 0
  77705. 1</comment>
  77706. </bits>
  77707. <bits access="rc" name="int_mflag" pos="2" rst="0">
  77708. <comment>bit type is changed from rw1c to rc.
  77709. PMI
  77710. 0
  77711. 1</comment>
  77712. </bits>
  77713. <bits access="rc" name="int_cflag" pos="1" rst="0">
  77714. <comment>bit type is changed from rw1c to rc.
  77715. PDCCH
  77716. 0
  77717. 1</comment>
  77718. </bits>
  77719. <bits access="rc" name="int_bflag" pos="0" rst="0">
  77720. <comment>bit type is changed from rw1c to rc.
  77721. PBCH
  77722. 0
  77723. 1</comment>
  77724. </bits>
  77725. </reg>
  77726. <reg name="data_flag" protect="rw">
  77727. <bits access="rc" name="paging_zero_flag" pos="6" rst="0">
  77728. <comment>bit type is changed from rw1c to rc.
  77729. PAGINGCRC
  77730. 0
  77731. 1</comment>
  77732. </bits>
  77733. <bits access="rc" name="paging_crc_flag" pos="5" rst="1">
  77734. <comment>bit type is changed from rw1c to rc.
  77735. PAGINGCRC
  77736. 0CRC
  77737. 1CRC</comment>
  77738. </bits>
  77739. <bits access="rc" name="si_zero_flag" pos="4" rst="0">
  77740. <comment>bit type is changed from rw1c to rc.
  77741. SICRC
  77742. 0
  77743. 1</comment>
  77744. </bits>
  77745. <bits access="rc" name="si_crc_flag" pos="3" rst="1">
  77746. <comment>bit type is changed from rw1c to rc.
  77747. SICRC
  77748. 0CRC
  77749. 1CRC</comment>
  77750. </bits>
  77751. <bits access="rc" name="pdsch_zero_flag" pos="2" rst="0">
  77752. <comment>bit type is changed from rw1c to rc.
  77753. PDSCH CRC
  77754. 0
  77755. 1</comment>
  77756. </bits>
  77757. <bits access="rc" name="pdsch_crc_flag" pos="1" rst="1">
  77758. <comment>bit type is changed from rw1c to rc.
  77759. PDSCH CRC
  77760. 0CRC
  77761. 1CRC</comment>
  77762. </bits>
  77763. <bits access="rc" name="int_dflag" pos="0" rst="0">
  77764. <comment>bit type is changed from rw1c to rc.
  77765. PDSCH
  77766. 0
  77767. 1</comment>
  77768. </bits>
  77769. </reg>
  77770. <reg name="buf_flag" protect="r">
  77771. <bits access="r" name="dfh_ind" pos="3" rst="0">
  77772. <comment>FHdata
  77773. 0FH0
  77774. 1FH1</comment>
  77775. </bits>
  77776. <bits access="r" name="cfh_ind" pos="2" rst="0">
  77777. <comment>FHctrl
  77778. 0FH0
  77779. 1FH1</comment>
  77780. </bits>
  77781. <bits access="r" name="dschout_ind" pos="1" rst="0">
  77782. <comment>DSCHOUT
  77783. 0DSCHOUT0
  77784. 1DSCHOUT1</comment>
  77785. </bits>
  77786. <bits access="r" name="fftbuf_ind" pos="0" rst="0">
  77787. <comment>FFTBUF
  77788. 0FFTBUF0
  77789. 1FFTBUF1</comment>
  77790. </bits>
  77791. </reg>
  77792. <reg name="alg_comm_para" protect="rw">
  77793. <bits access="rw" name="pdc_th" pos="16:11" rst="0">
  77794. <comment>PDCCH</comment>
  77795. </bits>
  77796. <bits access="rw" name="g_scale" pos="10:8" rst="4">
  77797. <comment>GQ
  77798. 0Q15
  77799. 1Q16
  77800. 7Q22</comment>
  77801. </bits>
  77802. <bits access="rw" name="cc_ir" pos="7" rst="0">
  77803. <comment>HQ
  77804. 0CC
  77805. 1IR</comment>
  77806. </bits>
  77807. <bits access="rw" name="hqbit_sel" pos="6" rst="0">
  77808. <comment>HQ BUF
  77809. 04bit
  77810. 16bit</comment>
  77811. </bits>
  77812. <bits access="rw" name="sdgn_sel" pos="5" rst="0">
  77813. <comment>SDGnoise
  77814. 0noise
  77815. 1GM</comment>
  77816. </bits>
  77817. <bits access="rw" name="subbw_sel" pos="4" rst="0">
  77818. <comment>PMI/PWR
  77819. 0
  77820. 1</comment>
  77821. </bits>
  77822. <bits access="rw" name="ctcg_sel" pos="3" rst="0">
  77823. <comment>CTCG
  77824. 0OFDM4(OFDM4)CRS
  77825. 1OFDM8(OFDM8)CRS</comment>
  77826. </bits>
  77827. <bits access="rw" name="crs_g_len" pos="2" rst="0">
  77828. <comment>CRS G
  77829. 01PRB
  77830. 12PRB</comment>
  77831. </bits>
  77832. <bits access="rw" name="crs_fh_len" pos="1" rst="0">
  77833. <comment>CRS36 PRB
  77834. 03PRB
  77835. 16PRB</comment>
  77836. </bits>
  77837. <bits access="rw" name="ue_bund" pos="0" rst="0">
  77838. <comment>UE RSPRB1,3
  77839. 0
  77840. 1</comment>
  77841. </bits>
  77842. </reg>
  77843. <reg name="che_fh_para" protect="rw">
  77844. <bits access="rw" name="fh10_bitsel_type" pos="7" rst="1">
  77845. <comment>16bit10bit
  77846. 0
  77847. 1</comment>
  77848. </bits>
  77849. <bits access="rw" name="fh10_bitsel" pos="6:4" rst="0">
  77850. <comment>16bit10bit
  77851. 0x015~6
  77852. 0x114~5
  77853. 0x213~4
  77854. 0x312~3
  77855. 0x411~2
  77856. 0x510~1
  77857. 0x69~0
  77858. reserved</comment>
  77859. </bits>
  77860. <bits access="rw" name="fh16_bitsel" pos="3:0" rst="6">
  77861. <comment>16bit
  77862. 0x028~13
  77863. 0x127~12
  77864. 0x226~11
  77865. 0x325~10
  77866. 0x424~9
  77867. 0x523~8
  77868. 0x622~7
  77869. 0x721~6
  77870. 0x820~5
  77871. 0x919~4
  77872. 0xa18~3
  77873. 0xb17~2
  77874. 0xc16~1
  77875. 0xd15~0
  77876. Reserved</comment>
  77877. </bits>
  77878. </reg>
  77879. <reg name="che_th_para" protect="rw">
  77880. <bits access="rw" name="th16_bitsel" pos="3:0" rst="5">
  77881. <comment>0x025~10
  77882. 0x124~9
  77883. 0x223~8
  77884. 0x322~7
  77885. 0x421~6
  77886. 0x520~5
  77887. 0x619~4
  77888. 0x718~3
  77889. 0x817~2
  77890. 0x916~1
  77891. 0xa15~0</comment>
  77892. </bits>
  77893. </reg>
  77894. <reg name="rbbm_pds00_nxt" protect="rw">
  77895. <bits access="rw" name="rbbm_nxt_00" pos="31:0" rst="0">
  77896. <comment>0.5msbitmapbitprbbit
  77897. 0prb
  77898. 1prb</comment>
  77899. </bits>
  77900. </reg>
  77901. <reg name="rbbm_pds01_nxt" protect="rw">
  77902. <bits access="rw" name="rbbm_nxt_01" pos="31:0" rst="0">
  77903. <comment>0.5msbitmapbit[63:32]prbbit
  77904. 0prb
  77905. 1prb</comment>
  77906. </bits>
  77907. </reg>
  77908. <reg name="rbbm_pds02_nxt" protect="rw">
  77909. <bits access="rw" name="rbbm_nxt_02" pos="31:0" rst="0">
  77910. <comment>0.5msbitmapbit[95:64]prbbit
  77911. 0prb
  77912. 1prb</comment>
  77913. </bits>
  77914. </reg>
  77915. <reg name="rbbm_pds03_nxt" protect="rw">
  77916. <bits access="rw" name="rbbm_nxt_03" pos="3:0" rst="0">
  77917. <comment>0.5msbitmapbit[99:96]prbbit
  77918. 0prb
  77919. 1prb</comment>
  77920. </bits>
  77921. </reg>
  77922. <reg name="rbbm_pds10_nxt" protect="rw">
  77923. <bits access="rw" name="rbbm_nxt_10" pos="31:0" rst="0">
  77924. <comment>0.5msbitmapbit[31:0]prbbit
  77925. 0prb
  77926. 1prb</comment>
  77927. </bits>
  77928. </reg>
  77929. <reg name="rbbm_pds11_nxt" protect="rw">
  77930. <bits access="rw" name="rbbm_nxt_11" pos="31:0" rst="0">
  77931. <comment>0.5msbitmapbit[63:32]prbbit
  77932. 0prb
  77933. 1prb</comment>
  77934. </bits>
  77935. </reg>
  77936. <reg name="rbbm_pds12_nxt" protect="rw">
  77937. <bits access="rw" name="rbbm_nxt_12" pos="31:0" rst="0">
  77938. <comment>0.5msbitmapbit[95:64]prbbit
  77939. 0prb
  77940. 1prb</comment>
  77941. </bits>
  77942. </reg>
  77943. <reg name="rbbm_pds13_nxt" protect="rw">
  77944. <bits access="rw" name="rbbm_nxt_13" pos="3:0" rst="0">
  77945. <comment>0.5msbitmapbit[99:96]prbbit
  77946. 0prb
  77947. 1prb</comment>
  77948. </bits>
  77949. </reg>
  77950. <reg name="rbbm_si00_nxt" protect="rw">
  77951. <bits access="rw" name="rbbm_nxt_00" pos="31:0" rst="0">
  77952. <comment>0.5msbitmapbit[31:0]prbbit
  77953. 0prb
  77954. 1prb</comment>
  77955. </bits>
  77956. </reg>
  77957. <reg name="rbbm_si01_nxt" protect="rw">
  77958. <bits access="rw" name="rbbm_nxt_01" pos="31:0" rst="0">
  77959. <comment>0.5msbitmapbit[64:32]prbbit
  77960. 0prb
  77961. 1prb</comment>
  77962. </bits>
  77963. </reg>
  77964. <reg name="rbbm_si02_nxt" protect="rw">
  77965. <bits access="rw" name="rbbm_nxt_02" pos="31:0" rst="0">
  77966. <comment>0.5msbitmapbit[95:64]prbbit
  77967. 0prb
  77968. 1prb</comment>
  77969. </bits>
  77970. </reg>
  77971. <reg name="rbbm_si03_nxt" protect="rw">
  77972. <bits access="rw" name="rbbm_nxt_03" pos="3:0" rst="0">
  77973. <comment>0.5msbitmapbitprbbit
  77974. 0prb
  77975. 1prb</comment>
  77976. </bits>
  77977. </reg>
  77978. <reg name="rbbm_si10_nxt" protect="rw">
  77979. <bits access="rw" name="rbbm_nxt_10" pos="31:0" rst="0">
  77980. <comment>0.5msbitmapbit[31:0]prbbit
  77981. 0prb
  77982. 1prb</comment>
  77983. </bits>
  77984. </reg>
  77985. <reg name="rbbm_si11_nxt" protect="rw">
  77986. <bits access="rw" name="rbbm_nxt_11" pos="31:0" rst="0">
  77987. <comment>0.5msbitmapbit[63:32]prbbit
  77988. 0prb
  77989. 1prb</comment>
  77990. </bits>
  77991. </reg>
  77992. <reg name="rbbm_si12_nxt" protect="rw">
  77993. <bits access="rw" name="rbbm_nxt_12" pos="31:0" rst="0">
  77994. <comment>0.5msbitmapbit[95:64]prbbit
  77995. 0prb
  77996. 1prb</comment>
  77997. </bits>
  77998. </reg>
  77999. <reg name="rbbm_si13_nxt" protect="rw">
  78000. <bits access="rw" name="rbbm_nxt_13" pos="3:0" rst="0">
  78001. <comment>0.5msbitmapbit[99:96]prbbit
  78002. 0prb
  78003. 1prb</comment>
  78004. </bits>
  78005. </reg>
  78006. <reg name="rbbm_pag00_nxt" protect="rw">
  78007. <bits access="rw" name="rbbm_nxt_00" pos="31:0" rst="0">
  78008. <comment>0.5msbitmapbit[31:0]prbbit
  78009. 0prb
  78010. 1prb</comment>
  78011. </bits>
  78012. </reg>
  78013. <reg name="rbbm_pag01_nxt" protect="rw">
  78014. <bits access="rw" name="rbbm_nxt_01" pos="31:0" rst="0">
  78015. <comment>0.5msbitmapbit[63:32]prbbit
  78016. 0prb
  78017. 1prb</comment>
  78018. </bits>
  78019. </reg>
  78020. <reg name="rbbm_pag02_nxt" protect="rw">
  78021. <bits access="rw" name="rbbm_nxt_02" pos="31:0" rst="0">
  78022. <comment>0.5msbitmapbit[95:64]prbbit
  78023. 0prb
  78024. 1prb</comment>
  78025. </bits>
  78026. </reg>
  78027. <reg name="rbbm_pag03_nxt" protect="rw">
  78028. <bits access="rw" name="rbbm_nxt_03" pos="3:0" rst="0">
  78029. <comment>0.5msbitmapbit[99:96]prbbit
  78030. 0prb
  78031. 1prb</comment>
  78032. </bits>
  78033. </reg>
  78034. <reg name="rbbm_pag10_nxt" protect="rw">
  78035. <bits access="rw" name="rbbm_nxt_10" pos="31:0" rst="0">
  78036. <comment>0.5msbitmapbit[31:0]prbbit
  78037. 0prb
  78038. 1prb</comment>
  78039. </bits>
  78040. </reg>
  78041. <reg name="rbbm_pag11_nxt" protect="rw">
  78042. <bits access="rw" name="rbbm_nxt_11" pos="31:0" rst="0">
  78043. <comment>0.5msbitmapbit[63:32]prbbit
  78044. 0prb
  78045. 1prb</comment>
  78046. </bits>
  78047. </reg>
  78048. <reg name="rbbm_pag12_nxt" protect="rw">
  78049. <bits access="rw" name="rbbm_nxt_12" pos="31:0" rst="0">
  78050. <comment>0.5msbitmapbit[95:64]prbbit
  78051. 0prb
  78052. 1prb</comment>
  78053. </bits>
  78054. </reg>
  78055. <reg name="rbbm_pag13_nxt" protect="rw">
  78056. <bits access="rw" name="rbbm_nxt_13" pos="3:0" rst="0">
  78057. <comment>0.5msbitmapbit[99:96]prbbit
  78058. 0prb
  78059. 1prb</comment>
  78060. </bits>
  78061. </reg>
  78062. <reg name="pmi_pds0_nxt" protect="rw">
  78063. <bits access="rw" name="pmi_8" pos="31:28" rst="0">
  78064. <comment>8</comment>
  78065. </bits>
  78066. <bits access="rw" name="pmi_7" pos="27:24" rst="0">
  78067. <comment>7</comment>
  78068. </bits>
  78069. <bits access="rw" name="pmi_6" pos="23:20" rst="0">
  78070. <comment>6</comment>
  78071. </bits>
  78072. <bits access="rw" name="pmi_5" pos="19:16" rst="0">
  78073. <comment>5</comment>
  78074. </bits>
  78075. <bits access="rw" name="pmi_4" pos="15:12" rst="0">
  78076. <comment>4</comment>
  78077. </bits>
  78078. <bits access="rw" name="pmi_3" pos="11:8" rst="0">
  78079. <comment>3</comment>
  78080. </bits>
  78081. <bits access="rw" name="pmi_2" pos="7:4" rst="0">
  78082. <comment>2</comment>
  78083. </bits>
  78084. <bits access="rw" name="pmi_1" pos="3:0" rst="0">
  78085. <comment>1</comment>
  78086. </bits>
  78087. </reg>
  78088. <reg name="pmi_pds1_nxt" protect="rw">
  78089. <bits access="rw" name="pmi_16" pos="31:28" rst="0">
  78090. <comment>16</comment>
  78091. </bits>
  78092. <bits access="rw" name="pmi_15" pos="27:24" rst="0">
  78093. <comment>15</comment>
  78094. </bits>
  78095. <bits access="rw" name="pmi_14" pos="23:20" rst="0">
  78096. <comment>14</comment>
  78097. </bits>
  78098. <bits access="rw" name="pmi_13" pos="19:16" rst="0">
  78099. <comment>13</comment>
  78100. </bits>
  78101. <bits access="rw" name="pmi_12" pos="15:12" rst="0">
  78102. <comment>12</comment>
  78103. </bits>
  78104. <bits access="rw" name="pmi_11" pos="11:8" rst="0">
  78105. <comment>11</comment>
  78106. </bits>
  78107. <bits access="rw" name="pmi_10" pos="7:4" rst="0">
  78108. <comment>10</comment>
  78109. </bits>
  78110. <bits access="rw" name="pmi_9" pos="3:0" rst="0">
  78111. <comment>9</comment>
  78112. </bits>
  78113. </reg>
  78114. <reg name="pmi_pds2_nxt" protect="rw">
  78115. <bits access="rw" name="pmi_24" pos="31:28" rst="0">
  78116. <comment>24</comment>
  78117. </bits>
  78118. <bits access="rw" name="pmi_23" pos="27:24" rst="0">
  78119. <comment>23</comment>
  78120. </bits>
  78121. <bits access="rw" name="pmi_22" pos="23:20" rst="0">
  78122. <comment>22</comment>
  78123. </bits>
  78124. <bits access="rw" name="pmi_21" pos="19:16" rst="0">
  78125. <comment>21</comment>
  78126. </bits>
  78127. <bits access="rw" name="pmi_20" pos="15:12" rst="0">
  78128. <comment>20</comment>
  78129. </bits>
  78130. <bits access="rw" name="pmi_19" pos="11:8" rst="0">
  78131. <comment>19</comment>
  78132. </bits>
  78133. <bits access="rw" name="pmi_18" pos="7:4" rst="0">
  78134. <comment>18</comment>
  78135. </bits>
  78136. <bits access="rw" name="pmi_17" pos="3:0" rst="0">
  78137. <comment>17</comment>
  78138. </bits>
  78139. </reg>
  78140. <reg name="pmi_pds3_nxt" protect="rw">
  78141. <bits access="rw" name="pmi_25" pos="3:0" rst="0">
  78142. <comment>25</comment>
  78143. </bits>
  78144. </reg>
  78145. <reg name="spwr_wb" protect="r">
  78146. <bits access="r" name="spwr_wb_spwr_wb" pos="31:0" rst="0">
  78147. <comment>1CRS</comment>
  78148. </bits>
  78149. </reg>
  78150. <reg name="npwr_wb" protect="r">
  78151. <bits access="r" name="npwr_wb_npwr_wb" pos="31:0" rst="0">
  78152. <comment>1CRS</comment>
  78153. </bits>
  78154. </reg>
  78155. <reg name="spwr_wb_agc" protect="r">
  78156. <bits access="r" name="spwr_wb_agc_spwr_wb_agc" pos="9:0" rst="0">
  78157. <comment>1CRSAGC</comment>
  78158. </bits>
  78159. </reg>
  78160. <reg name="npwr_wb_agc" protect="r">
  78161. <bits access="r" name="npwr_wb_agc_npwr_wb_agc" pos="9:0" rst="0">
  78162. <comment>1CRSAGC</comment>
  78163. </bits>
  78164. </reg>
  78165. <reg name="sd_scaling_factor0" protect="rw">
  78166. <bits access="rw" name="pdcch_scale_sel" pos="19" rst="0">
  78167. <comment>PDCCH
  78168. 0
  78169. 1</comment>
  78170. </bits>
  78171. <bits access="rw" name="pbch_scale_sel" pos="18" rst="0">
  78172. <comment>PBCH
  78173. 0
  78174. 1</comment>
  78175. </bits>
  78176. <bits access="rw" name="pbch_scale1" pos="17:9" rst="0">
  78177. <comment>1</comment>
  78178. </bits>
  78179. <bits access="rw" name="pbch_scale0" pos="8:0" rst="0">
  78180. <comment>0</comment>
  78181. </bits>
  78182. </reg>
  78183. <reg name="sd_scaling_factor1" protect="rw">
  78184. <bits access="rw" name="pdsch_scale_sel" pos="12" rst="0">
  78185. <comment>PDSCH
  78186. 0
  78187. 1</comment>
  78188. </bits>
  78189. <bits access="rw" name="pdsch_scale0" pos="11:0" rst="0">
  78190. <comment>0</comment>
  78191. </bits>
  78192. </reg>
  78193. <reg name="sd_scaling_factor2" protect="rw">
  78194. <bits access="rw" name="pdsch_scale2" pos="23:12" rst="0">
  78195. <comment>2</comment>
  78196. </bits>
  78197. <bits access="rw" name="pdsch_scale1" pos="11:0" rst="0">
  78198. <comment>1</comment>
  78199. </bits>
  78200. </reg>
  78201. <reg name="sd_scaling_factor3" protect="rw">
  78202. <bits access="rw" name="pdsch_scale4" pos="23:12" rst="0">
  78203. <comment>4</comment>
  78204. </bits>
  78205. <bits access="rw" name="pdsch_scale3" pos="11:0" rst="0">
  78206. <comment>3</comment>
  78207. </bits>
  78208. </reg>
  78209. <reg name="sd_data_factor0" protect="rw">
  78210. <bits access="rw" name="cr_data_factor" pos="31:16" rst="8192">
  78211. <comment>OFDMCELL RSdata</comment>
  78212. </bits>
  78213. <bits access="rw" name="ucr_data_factor" pos="15:0" rst="8192">
  78214. <comment>OFDMCELL RSdata</comment>
  78215. </bits>
  78216. </reg>
  78217. <reg name="sd_data_factor1" protect="rw">
  78218. <bits access="rw" name="cr_data_factor" pos="31:16" rst="8192">
  78219. <comment>OFDMCELL RSdata</comment>
  78220. </bits>
  78221. <bits access="rw" name="ucr_data_factor" pos="15:0" rst="8192">
  78222. <comment>OFDMCELL RSdata</comment>
  78223. </bits>
  78224. </reg>
  78225. <reg name="sd_data_factor2" protect="rw">
  78226. <bits access="rw" name="cr_data_factor" pos="31:16" rst="8192">
  78227. <comment>OFDMCELL RSdata</comment>
  78228. </bits>
  78229. <bits access="rw" name="ucr_data_factor" pos="15:0" rst="8192">
  78230. <comment>OFDMCELL RSdata</comment>
  78231. </bits>
  78232. </reg>
  78233. <reg name="cnoise_nxt" protect="rw">
  78234. <bits access="rw" name="noise" pos="31:0" rst="0">
  78235. <comment>32Q300~7fff_ffff</comment>
  78236. </bits>
  78237. </reg>
  78238. <reg name="cnoise_agc_nxt" protect="rw">
  78239. <bits access="rw" name="noise_agc" pos="9:0" rst="0">
  78240. <comment>AGC</comment>
  78241. </bits>
  78242. </reg>
  78243. <reg name="cnoise_th" protect="rw">
  78244. <bits access="rw" name="noise_th" pos="15:0" rst="0">
  78245. <comment>PDCCHPBCH</comment>
  78246. </bits>
  78247. </reg>
  78248. <reg name="dnoise_nxt" protect="rw">
  78249. <bits access="rw" name="noise" pos="31:0" rst="0">
  78250. <comment>32Q300~7fff_ffff</comment>
  78251. </bits>
  78252. </reg>
  78253. <reg name="dnoise_agc_nxt" protect="rw">
  78254. <bits access="rw" name="noise_agc" pos="9:0" rst="0">
  78255. <comment>AGC</comment>
  78256. </bits>
  78257. </reg>
  78258. <reg name="dnoise_th" protect="rw">
  78259. <bits access="rw" name="noise_th2" pos="31:16" rst="0">
  78260. <comment/>
  78261. </bits>
  78262. <bits access="rw" name="noise_th1" pos="15:0" rst="0">
  78263. <comment/>
  78264. </bits>
  78265. </reg>
  78266. <reg name="sd_scaling_bcout0" protect="r">
  78267. <bits access="r" name="cscale_out" pos="11:8" rst="0">
  78268. <comment>PDCCHINDX</comment>
  78269. </bits>
  78270. <bits access="r" name="bscale_out3" pos="7:6" rst="0">
  78271. <comment>PBCHINDX3</comment>
  78272. </bits>
  78273. <bits access="r" name="bscale_out2" pos="5:4" rst="0">
  78274. <comment>PBCHINDX2</comment>
  78275. </bits>
  78276. <bits access="r" name="bscale_out1" pos="3:2" rst="0">
  78277. <comment>PBCHINDX1</comment>
  78278. </bits>
  78279. <bits access="r" name="bscale_out0" pos="1:0" rst="0">
  78280. <comment>PBCHINDX0</comment>
  78281. </bits>
  78282. </reg>
  78283. <reg name="sd_scaling_dout0" protect="r">
  78284. <bits access="r" name="dscale_out7" pos="23:21" rst="0">
  78285. <comment>INDX7</comment>
  78286. </bits>
  78287. <bits access="r" name="dscale_out6" pos="20:18" rst="0">
  78288. <comment>INDX6</comment>
  78289. </bits>
  78290. <bits access="r" name="dscale_out5" pos="17:15" rst="0">
  78291. <comment>INDX5</comment>
  78292. </bits>
  78293. <bits access="r" name="dscale_out4" pos="14:12" rst="0">
  78294. <comment>INDX4</comment>
  78295. </bits>
  78296. <bits access="r" name="dscale_out3" pos="11:9" rst="0">
  78297. <comment>INDX3</comment>
  78298. </bits>
  78299. <bits access="r" name="dscale_out2" pos="8:6" rst="0">
  78300. <comment>INDX2</comment>
  78301. </bits>
  78302. <bits access="r" name="dscale_out1" pos="5:3" rst="0">
  78303. <comment>INDX1</comment>
  78304. </bits>
  78305. <bits access="r" name="dscale_out0" pos="2:0" rst="0">
  78306. <comment>INDX0</comment>
  78307. </bits>
  78308. </reg>
  78309. <reg name="sd_scaling_dout1" protect="r">
  78310. <bits access="r" name="dscale_out15" pos="23:21" rst="0">
  78311. <comment>INDX15</comment>
  78312. </bits>
  78313. <bits access="r" name="dscale_out14" pos="20:18" rst="0">
  78314. <comment>INDX14</comment>
  78315. </bits>
  78316. <bits access="r" name="dscale_out13" pos="17:15" rst="0">
  78317. <comment>INDX13</comment>
  78318. </bits>
  78319. <bits access="r" name="dscale_out12" pos="14:12" rst="0">
  78320. <comment>INDX12</comment>
  78321. </bits>
  78322. <bits access="r" name="dscale_out11" pos="11:9" rst="0">
  78323. <comment>INDX11</comment>
  78324. </bits>
  78325. <bits access="r" name="dscale_out10" pos="8:6" rst="0">
  78326. <comment>INDX10</comment>
  78327. </bits>
  78328. <bits access="r" name="dscale_out9" pos="5:3" rst="0">
  78329. <comment>INDX9</comment>
  78330. </bits>
  78331. <bits access="r" name="dscale_out8" pos="2:0" rst="0">
  78332. <comment>INDX8</comment>
  78333. </bits>
  78334. </reg>
  78335. <reg name="sd_scaling_dout2" protect="r">
  78336. <bits access="r" name="dscale_out23" pos="23:21" rst="0">
  78337. <comment>INDX23</comment>
  78338. </bits>
  78339. <bits access="r" name="dscale_out22" pos="20:18" rst="0">
  78340. <comment>INDX22</comment>
  78341. </bits>
  78342. <bits access="r" name="dscale_out21" pos="17:15" rst="0">
  78343. <comment>INDX21</comment>
  78344. </bits>
  78345. <bits access="r" name="dscale_out20" pos="14:12" rst="0">
  78346. <comment>INDX20</comment>
  78347. </bits>
  78348. <bits access="r" name="dscale_out19" pos="11:9" rst="0">
  78349. <comment>INDX19</comment>
  78350. </bits>
  78351. <bits access="r" name="dscale_out18" pos="8:6" rst="0">
  78352. <comment>INDX18</comment>
  78353. </bits>
  78354. <bits access="r" name="dscale_out17" pos="5:3" rst="0">
  78355. <comment>INDX17</comment>
  78356. </bits>
  78357. <bits access="r" name="dscale_out16" pos="2:0" rst="0">
  78358. <comment>INDX16</comment>
  78359. </bits>
  78360. </reg>
  78361. <reg name="sd_scaling_dout3" protect="r">
  78362. <bits access="r" name="dscale_out31" pos="23:21" rst="0">
  78363. <comment>INDX31</comment>
  78364. </bits>
  78365. <bits access="r" name="dscale_out30" pos="20:18" rst="0">
  78366. <comment>INDX30</comment>
  78367. </bits>
  78368. <bits access="r" name="dscale_out29" pos="17:15" rst="0">
  78369. <comment>INDX29</comment>
  78370. </bits>
  78371. <bits access="r" name="dscale_out28" pos="14:12" rst="0">
  78372. <comment>INDX28</comment>
  78373. </bits>
  78374. <bits access="r" name="dscale_out27" pos="11:9" rst="0">
  78375. <comment>INDX27</comment>
  78376. </bits>
  78377. <bits access="r" name="dscale_out26" pos="8:6" rst="0">
  78378. <comment>INDX26</comment>
  78379. </bits>
  78380. <bits access="r" name="dscale_out25" pos="5:3" rst="0">
  78381. <comment>INDX25</comment>
  78382. </bits>
  78383. <bits access="r" name="dscale_out24" pos="2:0" rst="0">
  78384. <comment>INDX24</comment>
  78385. </bits>
  78386. </reg>
  78387. <reg name="sd_scaling_dout4" protect="r">
  78388. <bits access="r" name="dscale_out34" pos="8:6" rst="0">
  78389. <comment>INDX34</comment>
  78390. </bits>
  78391. <bits access="r" name="dscale_out33" pos="5:3" rst="0">
  78392. <comment>INDX33</comment>
  78393. </bits>
  78394. <bits access="r" name="dscale_out32" pos="2:0" rst="0">
  78395. <comment>INDX32</comment>
  78396. </bits>
  78397. </reg>
  78398. <reg name="hq_hb_sta" protect="rw">
  78399. <bits access="rc" name="hb15_sta" pos="15" rst="0">
  78400. <comment>bit type is changed from rw1c to rc.
  78401. 15HARQBUFFER
  78402. 0:
  78403. 1:</comment>
  78404. </bits>
  78405. <bits access="rc" name="hb14_sta" pos="14" rst="0">
  78406. <comment>bit type is changed from rw1c to rc.
  78407. 14HARQBUFFER
  78408. 0:
  78409. 1:</comment>
  78410. </bits>
  78411. <bits access="rc" name="hb13_sta" pos="13" rst="0">
  78412. <comment>bit type is changed from rw1c to rc.
  78413. 13HARQBUFFER
  78414. 0:
  78415. 1:</comment>
  78416. </bits>
  78417. <bits access="rc" name="hb12_sta" pos="12" rst="0">
  78418. <comment>bit type is changed from rw1c to rc.
  78419. 12HARQBUFFER
  78420. 0:
  78421. 1:</comment>
  78422. </bits>
  78423. <bits access="rc" name="hb11_sta" pos="11" rst="0">
  78424. <comment>bit type is changed from rw1c to rc.
  78425. 11HARQBUFFER
  78426. 0:
  78427. 1:</comment>
  78428. </bits>
  78429. <bits access="rc" name="hb10_sta" pos="10" rst="0">
  78430. <comment>bit type is changed from rw1c to rc.
  78431. 10HARQBUFFER
  78432. 0:
  78433. 1:</comment>
  78434. </bits>
  78435. <bits access="rc" name="hb9_sta" pos="9" rst="0">
  78436. <comment>bit type is changed from rw1c to rc.
  78437. 9HARQBUFFER
  78438. 0:
  78439. 1:</comment>
  78440. </bits>
  78441. <bits access="rc" name="hb8_sta" pos="8" rst="0">
  78442. <comment>bit type is changed from rw1c to rc.
  78443. 8HARQBUFFER
  78444. 0:
  78445. 1:</comment>
  78446. </bits>
  78447. <bits access="rc" name="hb7_sta" pos="7" rst="0">
  78448. <comment>bit type is changed from rw1c to rc.
  78449. 7HARQBUFFER
  78450. 0:
  78451. 1:</comment>
  78452. </bits>
  78453. <bits access="rc" name="hb6_sta" pos="6" rst="0">
  78454. <comment>bit type is changed from rw1c to rc.
  78455. 6HARQBUFFER
  78456. 0:
  78457. 1:</comment>
  78458. </bits>
  78459. <bits access="rc" name="hb5_sta" pos="5" rst="0">
  78460. <comment>bit type is changed from rw1c to rc.
  78461. 5HARQBUFFER
  78462. 0:
  78463. 1:</comment>
  78464. </bits>
  78465. <bits access="rc" name="hb4_sta" pos="4" rst="0">
  78466. <comment>bit type is changed from rw1c to rc.
  78467. 4HARQBUFFER
  78468. 0:
  78469. 1:</comment>
  78470. </bits>
  78471. <bits access="rc" name="hb3_sta" pos="3" rst="0">
  78472. <comment>bit type is changed from rw1c to rc.
  78473. 3HARQBUFFER
  78474. 0:
  78475. 1:</comment>
  78476. </bits>
  78477. <bits access="rc" name="hb2_sta" pos="2" rst="0">
  78478. <comment>bit type is changed from rw1c to rc.
  78479. 2HARQBUFFER
  78480. 0:
  78481. 1:</comment>
  78482. </bits>
  78483. <bits access="rc" name="hb1_sta" pos="1" rst="0">
  78484. <comment>bit type is changed from rw1c to rc.
  78485. 1HARQBUFFER
  78486. 0:
  78487. 1:</comment>
  78488. </bits>
  78489. <bits access="rc" name="hb0_sta" pos="0" rst="0">
  78490. <comment>bit type is changed from rw1c to rc.
  78491. 0HARQBUFFER
  78492. 0:
  78493. 1:</comment>
  78494. </bits>
  78495. </reg>
  78496. <reg name="hq_hb_proc0" protect="r">
  78497. <bits access="r" name="hb7_proc" pos="31:28" rst="0">
  78498. <comment>7HARQBUFFER:0~15</comment>
  78499. </bits>
  78500. <bits access="r" name="hb6_proc" pos="27:24" rst="0">
  78501. <comment>6HARQBUFFER:0~15</comment>
  78502. </bits>
  78503. <bits access="r" name="hb5_proc" pos="23:20" rst="0">
  78504. <comment>5HARQBUFFER:0~15</comment>
  78505. </bits>
  78506. <bits access="r" name="hb4_proc" pos="19:16" rst="0">
  78507. <comment>4HARQBUFFER:0~15</comment>
  78508. </bits>
  78509. <bits access="r" name="hb3_proc" pos="15:12" rst="0">
  78510. <comment>3HARQBUFFER:0~15</comment>
  78511. </bits>
  78512. <bits access="r" name="hb2_proc" pos="11:8" rst="0">
  78513. <comment>2HARQBUFFER:0~15</comment>
  78514. </bits>
  78515. <bits access="r" name="hb1_proc" pos="7:4" rst="0">
  78516. <comment>1HARQBUFFER:0~15</comment>
  78517. </bits>
  78518. <bits access="r" name="hb0_proc" pos="3:0" rst="0">
  78519. <comment>0HARQBUFFER:0~15</comment>
  78520. </bits>
  78521. </reg>
  78522. <reg name="hq_hb_proc1" protect="r">
  78523. <bits access="r" name="hb15_proc" pos="31:28" rst="0">
  78524. <comment>15HARQBUFFER:0~15</comment>
  78525. </bits>
  78526. <bits access="r" name="hb14_proc" pos="27:24" rst="0">
  78527. <comment>14HARQBUFFER:0~15</comment>
  78528. </bits>
  78529. <bits access="r" name="hb13_proc" pos="23:20" rst="0">
  78530. <comment>13HARQBUFFER:0~15</comment>
  78531. </bits>
  78532. <bits access="r" name="hb12_proc" pos="19:16" rst="0">
  78533. <comment>12HARQBUFFER:0~15</comment>
  78534. </bits>
  78535. <bits access="r" name="hb11_proc" pos="15:12" rst="0">
  78536. <comment>11HARQBUFFER:0~15</comment>
  78537. </bits>
  78538. <bits access="r" name="hb10_proc" pos="11:8" rst="0">
  78539. <comment>10HARQBUFFER:0~15</comment>
  78540. </bits>
  78541. <bits access="r" name="hb9_proc" pos="7:4" rst="0">
  78542. <comment>9HARQBUFFER:0~15</comment>
  78543. </bits>
  78544. <bits access="r" name="hb8_proc" pos="3:0" rst="0">
  78545. <comment>8HARQBUFFER:0~15</comment>
  78546. </bits>
  78547. </reg>
  78548. <reg name="turbo_para" protect="rw">
  78549. <bits access="rw" name="norm_en2" pos="17" rst="0">
  78550. <comment>64QAM
  78551. 02
  78552. 1</comment>
  78553. </bits>
  78554. <bits access="rw" name="norm_en1" pos="16" rst="0">
  78555. <comment>16QAM
  78556. 02
  78557. 1</comment>
  78558. </bits>
  78559. <bits access="rw" name="norm_en0" pos="15" rst="0">
  78560. <comment>QPSK
  78561. 02
  78562. 1</comment>
  78563. </bits>
  78564. <bits access="rw" name="shift_en2" pos="14" rst="0">
  78565. <comment>64QAM
  78566. 0
  78567. 1</comment>
  78568. </bits>
  78569. <bits access="rw" name="shift_en1" pos="13" rst="1">
  78570. <comment>16QAM
  78571. 0
  78572. 1</comment>
  78573. </bits>
  78574. <bits access="rw" name="shift_en0" pos="12" rst="1">
  78575. <comment>QPSK
  78576. 0
  78577. 1</comment>
  78578. </bits>
  78579. <bits access="rw" name="shift_iternum2" pos="11:8" rst="5">
  78580. <comment>2</comment>
  78581. </bits>
  78582. <bits access="rw" name="shift_iternum1" pos="7:4" rst="2">
  78583. <comment>1</comment>
  78584. </bits>
  78585. <bits access="rw" name="iter_num_max" pos="3:0" rst="8">
  78586. <comment>1
  78587. 90~8</comment>
  78588. </bits>
  78589. </reg>
  78590. <reg name="turbo_iter" protect="r">
  78591. <bits access="r" name="real_iter3" pos="15:12" rst="0">
  78592. <comment>PAG-1</comment>
  78593. </bits>
  78594. <bits access="r" name="real_iter2" pos="11:8" rst="0">
  78595. <comment>SI-1</comment>
  78596. </bits>
  78597. <bits access="r" name="real_iter1" pos="7:4" rst="0">
  78598. <comment>PDS-1</comment>
  78599. </bits>
  78600. <bits access="r" name="real_iter0" pos="3:0" rst="0">
  78601. <comment>PDS-1</comment>
  78602. </bits>
  78603. </reg>
  78604. <reg name="vit_par" protect="rw">
  78605. <bits access="rw" name="mask_en" pos="5" rst="0">
  78606. <comment>0
  78607. 1</comment>
  78608. </bits>
  78609. <bits access="rw" name="crc_type" pos="4" rst="0">
  78610. <comment>CRC
  78611. 0CRC16
  78612. 1CRC24A</comment>
  78613. </bits>
  78614. <bits access="rw" name="dmav_en" pos="3" rst="0">
  78615. <comment>DMA
  78616. 0
  78617. 1</comment>
  78618. </bits>
  78619. <bits access="rw" name="intv_en" pos="2" rst="0">
  78620. <comment>0
  78621. 1</comment>
  78622. </bits>
  78623. <bits access="rw" name="vit_itnum" pos="1:0" rst="1">
  78624. <comment>VIT
  78625. 0:1
  78626. 1:2
  78627. 2:3
  78628. 3:4</comment>
  78629. </bits>
  78630. </reg>
  78631. <reg name="vit_faconf" protect="rw">
  78632. <bits access="rw" name="crc_mask" pos="31:16" rst="0">
  78633. <comment/>
  78634. </bits>
  78635. <bits access="rw" name="fa_en" pos="8" rst="0">
  78636. <comment>PDCCHfalse alarm</comment>
  78637. </bits>
  78638. <bits access="rw" name="fa_th" pos="7:0" rst="128">
  78639. <comment>PDCCHfalse alarm(U8Q7)</comment>
  78640. </bits>
  78641. </reg>
  78642. <reg name="vit_len" protect="rw">
  78643. <bits access="rw" name="vit_len_vit_len" pos="9:0" rst="0">
  78644. <comment>VIT</comment>
  78645. </bits>
  78646. </reg>
  78647. <reg name="vit_start" protect="rw">
  78648. <bits access="rw" name="vit_start_vit_start" pos="0" rst="0">
  78649. <comment>VIT
  78650. 0
  78651. 1</comment>
  78652. </bits>
  78653. </reg>
  78654. <reg name="vit_flag" protect="rw">
  78655. <bits access="rc" name="pdsch_zero_flag" pos="2" rst="0">
  78656. <comment>bit type is changed from rw1c to rc.
  78657. VIT CRCCRC
  78658. 0
  78659. 1</comment>
  78660. </bits>
  78661. <bits access="rc" name="vit_crc_flag" pos="1" rst="1">
  78662. <comment>bit type is changed from rw1c to rc.
  78663. VIT CRC
  78664. 0
  78665. 1</comment>
  78666. </bits>
  78667. <bits access="rc" name="int_vflag" pos="0" rst="0">
  78668. <comment>bit type is changed from rw1c to rc.
  78669. PBCH
  78670. 0
  78671. 1</comment>
  78672. </bits>
  78673. </reg>
  78674. <reg name="vit_faout" protect="rw">
  78675. <bits access="rw" name="dci_fa_zero" pos="15:8" rst="0">
  78676. <comment>DCI false alarm0</comment>
  78677. </bits>
  78678. <bits access="r" name="dci_fa" pos="7:0" rst="0">
  78679. <comment>DCI false alarm</comment>
  78680. </bits>
  78681. </reg>
  78682. <reg name="cfi_out" protect="r">
  78683. <bits access="r" name="cfi_out_cfi_out" pos="2:0" rst="0">
  78684. <comment>CFI
  78685. 1~41.4M1</comment>
  78686. </bits>
  78687. </reg>
  78688. <reg name="hi_out" protect="r">
  78689. <bits access="r" name="hi1_out" pos="1" rst="0">
  78690. <comment>HI1</comment>
  78691. </bits>
  78692. <bits access="r" name="hi0_out" pos="0" rst="0">
  78693. <comment>HI0</comment>
  78694. </bits>
  78695. </reg>
  78696. <reg name="sw_cin_nxt" protect="rw">
  78697. <bits access="rw" name="sw_cin" pos="31:0" rst="0">
  78698. <comment/>
  78699. </bits>
  78700. </reg>
  78701. <reg name="sw_din_nxt" protect="rw">
  78702. <bits access="rw" name="sw_din" pos="31:0" rst="0">
  78703. <comment/>
  78704. </bits>
  78705. </reg>
  78706. <reg name="sw_cout" protect="r">
  78707. <bits access="r" name="sw_cout_sw_cout" pos="31:0" rst="0">
  78708. <comment/>
  78709. </bits>
  78710. </reg>
  78711. <reg name="sw_dout" protect="r">
  78712. <bits access="r" name="sw_dout_sw_dout" pos="31:0" rst="0">
  78713. <comment/>
  78714. </bits>
  78715. </reg>
  78716. <reg name="pds_rep_num" protect="r">
  78717. <bits access="r" name="pds15_rep_num" pos="31:30" rst="0">
  78718. <comment>PDSCH 15</comment>
  78719. </bits>
  78720. <bits access="r" name="pds14_rep_num" pos="29:28" rst="0">
  78721. <comment>PDSCH 14</comment>
  78722. </bits>
  78723. <bits access="r" name="pds13_rep_num" pos="27:26" rst="0">
  78724. <comment>PDSCH 13</comment>
  78725. </bits>
  78726. <bits access="r" name="pds12_rep_num" pos="25:24" rst="0">
  78727. <comment>PDSCH 12</comment>
  78728. </bits>
  78729. <bits access="r" name="pds11_rep_num" pos="23:22" rst="0">
  78730. <comment>PDSCH 11</comment>
  78731. </bits>
  78732. <bits access="r" name="pds10_rep_num" pos="21:20" rst="0">
  78733. <comment>PDSCH 10</comment>
  78734. </bits>
  78735. <bits access="r" name="pds9_rep_num" pos="19:18" rst="0">
  78736. <comment>PDSCH 9</comment>
  78737. </bits>
  78738. <bits access="r" name="pds8_rep_num" pos="17:16" rst="0">
  78739. <comment>PDSCH 8</comment>
  78740. </bits>
  78741. <bits access="r" name="pds7_rep_num" pos="15:14" rst="0">
  78742. <comment>PDSCH 7</comment>
  78743. </bits>
  78744. <bits access="r" name="pds6_rep_num" pos="13:12" rst="0">
  78745. <comment>PDSCH 6</comment>
  78746. </bits>
  78747. <bits access="r" name="pds5_rep_num" pos="11:10" rst="0">
  78748. <comment>PDSCH 5</comment>
  78749. </bits>
  78750. <bits access="r" name="pds4_rep_num" pos="9:8" rst="0">
  78751. <comment>PDSCH 4</comment>
  78752. </bits>
  78753. <bits access="r" name="pds3_rep_num" pos="7:6" rst="0">
  78754. <comment>PDSCH 3</comment>
  78755. </bits>
  78756. <bits access="r" name="pds2_rep_num" pos="5:4" rst="0">
  78757. <comment>PDSCH 2</comment>
  78758. </bits>
  78759. <bits access="r" name="pds1_rep_num" pos="3:2" rst="0">
  78760. <comment>PDSCH 1</comment>
  78761. </bits>
  78762. <bits access="r" name="pds0_rep_num" pos="1:0" rst="0">
  78763. <comment>PDSCH 0</comment>
  78764. </bits>
  78765. </reg>
  78766. <reg name="si_rep_num" protect="r">
  78767. <bits access="r" name="si1_rep_num" pos="3:2" rst="0">
  78768. <comment>SI1</comment>
  78769. </bits>
  78770. <bits access="r" name="si0_rep_num" pos="1:0" rst="0">
  78771. <comment>SI0</comment>
  78772. </bits>
  78773. </reg>
  78774. <reg name="pbch_rep_num" protect="r">
  78775. <bits access="r" name="pbch_rep_num_pbch_rep_num" pos="1:0" rst="0">
  78776. <comment>PBCH</comment>
  78777. </bits>
  78778. </reg>
  78779. <reg name="rtctrl_cfg" protect="rw">
  78780. <bits access="rw" name="rtctrl_cfg_rtctrl_cfg" pos="17:0" rst="50000">
  78781. <comment/>
  78782. </bits>
  78783. </reg>
  78784. <reg name="cabis_enbl_nxt" protect="rw">
  78785. <bits access="rw" name="abis_portsel2" pos="11:10" rst="0">
  78786. <comment>2
  78787. 02port0port14port0port1port2port3
  78788. 12port04port0port2port3
  78789. 22port14port1port2port3</comment>
  78790. </bits>
  78791. <bits access="rw" name="abis_portsel1" pos="9:8" rst="0">
  78792. <comment>1
  78793. 02port0port14port0port1port2port3
  78794. 12port04port0port2port3
  78795. 22port14port1port2port3</comment>
  78796. </bits>
  78797. <bits access="rw" name="abis_portsel0" pos="7:6" rst="0">
  78798. <comment>02port0port14port0port1port2port3
  78799. 12port04port0port2port3
  78800. 22port14port1port2port3</comment>
  78801. </bits>
  78802. <bits access="rw" name="cmc_en" pos="5" rst="0">
  78803. <comment>MultiCell
  78804. 0SingalCell
  78805. 1MultiCell</comment>
  78806. </bits>
  78807. <bits access="rw" name="cabis_sel" pos="4" rst="0">
  78808. <comment>ABIS
  78809. 0
  78810. 1DLFFT</comment>
  78811. </bits>
  78812. <bits access="rw" name="cabis_en" pos="3" rst="0">
  78813. <comment>ABIS
  78814. 0
  78815. 1</comment>
  78816. </bits>
  78817. <bits access="rw" name="cabis_sdden" pos="2" rst="0">
  78818. <comment>ABISSD PDSCH
  78819. 0
  78820. 1</comment>
  78821. </bits>
  78822. <bits access="rw" name="cabis_sdcen" pos="1" rst="0">
  78823. <comment>ABISSD MPDCCH
  78824. 0
  78825. 1</comment>
  78826. </bits>
  78827. <bits access="rw" name="cabis_sdben" pos="0" rst="0">
  78828. <comment>ABISSD PBCH
  78829. 0
  78830. 1</comment>
  78831. </bits>
  78832. </reg>
  78833. <reg name="cabis_cfg_nxt" protect="rw">
  78834. <bits access="rw" name="cabis_num" pos="29:28" rst="0">
  78835. <comment>000
  78836. 011
  78837. 102
  78838. 0</comment>
  78839. </bits>
  78840. <bits access="rw" name="cabis_txnum_next2" pos="27:26" rst="0">
  78841. <comment>2
  78842. 001port
  78843. 012port
  78844. 104port
  78845. 1port</comment>
  78846. </bits>
  78847. <bits access="rw" name="cabis_txnum_next1" pos="25:24" rst="0">
  78848. <comment>1
  78849. 001port
  78850. 012port
  78851. 104port
  78852. 1port</comment>
  78853. </bits>
  78854. <bits access="rw" name="cabis_nrb_next2" pos="23:21" rst="0">
  78855. <comment>2
  78856. 0006prb
  78857. 00115prb
  78858. 01025prb
  78859. 01150prb
  78860. 10075prb
  78861. 101100prb
  78862. 6prb</comment>
  78863. </bits>
  78864. <bits access="rw" name="cabis_nrb_next1" pos="20:18" rst="0">
  78865. <comment>1
  78866. 0006prb
  78867. 00115prb
  78868. 01025prb
  78869. 01150prb
  78870. 10075prb
  78871. 101100prb
  78872. 6prb</comment>
  78873. </bits>
  78874. <bits access="rw" name="cabis_cellid_next2" pos="17:9" rst="0">
  78875. <comment>2 CELL ID</comment>
  78876. </bits>
  78877. <bits access="rw" name="cabis_cellid_next1" pos="8:0" rst="0">
  78878. <comment>1 CELL ID</comment>
  78879. </bits>
  78880. </reg>
  78881. <reg name="cabis_dly1_nxt" protect="rw">
  78882. <bits access="rw" name="cabis_dly_next1" pos="18:0" rst="0">
  78883. <comment>1TS</comment>
  78884. </bits>
  78885. </reg>
  78886. <reg name="cabis_dly2_nxt" protect="rw">
  78887. <bits access="rw" name="cabis_dly_next2" pos="18:0" rst="0">
  78888. <comment>2TS</comment>
  78889. </bits>
  78890. </reg>
  78891. <reg name="cabis_shft_nxt" protect="r">
  78892. <bits access="r" name="cabis_shft_next3" pos="11:8" rst="0">
  78893. <comment>ABIS31+2</comment>
  78894. </bits>
  78895. <bits access="r" name="cabis_shft_next2" pos="7:4" rst="0">
  78896. <comment>ABIS22</comment>
  78897. </bits>
  78898. <bits access="r" name="cabis_shft_next1" pos="3:0" rst="0">
  78899. <comment>ABIS11</comment>
  78900. </bits>
  78901. </reg>
  78902. <reg name="dabis_enbl_nxt" protect="rw">
  78903. <bits access="rw" name="abis_portsel2" pos="10:9" rst="0">
  78904. <comment>2
  78905. 02port0port14port0port1port2port3
  78906. 12port04port0port2port3
  78907. 22port14port1port2port3</comment>
  78908. </bits>
  78909. <bits access="rw" name="abis_portsel1" pos="8:7" rst="0">
  78910. <comment>1
  78911. 02port0port14port0port1port2port3
  78912. 12port04port0port2port3
  78913. 22port14port1port2port3</comment>
  78914. </bits>
  78915. <bits access="rw" name="abis_portsel0" pos="6:5" rst="0">
  78916. <comment>02port0port14port0port1port2port3
  78917. 12port04port0port2port3
  78918. 22port14port1port2port3</comment>
  78919. </bits>
  78920. <bits access="rw" name="dabis_sel" pos="4" rst="0">
  78921. <comment>ABIS
  78922. 0
  78923. 1DLFFT</comment>
  78924. </bits>
  78925. <bits access="rw" name="dabis_en" pos="3" rst="0">
  78926. <comment>ABIS
  78927. 0
  78928. 1</comment>
  78929. </bits>
  78930. <bits access="rw" name="dabis_sdden" pos="2" rst="0">
  78931. <comment>ABISSD PDSCH
  78932. 0
  78933. 1</comment>
  78934. </bits>
  78935. <bits access="rw" name="dabis_sdcen" pos="1" rst="0">
  78936. <comment>ABISSD MPDCCH
  78937. 0
  78938. 1</comment>
  78939. </bits>
  78940. <bits access="rw" name="dabis_sdben" pos="0" rst="0">
  78941. <comment>ABISSD PBCH
  78942. 0
  78943. 1</comment>
  78944. </bits>
  78945. </reg>
  78946. <reg name="dabis_cfg_nxt" protect="rw">
  78947. <bits access="rw" name="dabis_num" pos="29:28" rst="0">
  78948. <comment>000
  78949. 011
  78950. 102
  78951. 0</comment>
  78952. </bits>
  78953. <bits access="rw" name="dabis_txnum_next2" pos="27:26" rst="0">
  78954. <comment>2
  78955. 001port
  78956. 012port
  78957. 104port
  78958. 1port</comment>
  78959. </bits>
  78960. <bits access="rw" name="dabis_txnum_next1" pos="25:24" rst="0">
  78961. <comment>2
  78962. 001port
  78963. 012port
  78964. 104port
  78965. 1port</comment>
  78966. </bits>
  78967. <bits access="rw" name="dabis_nrb_next2" pos="23:21" rst="0">
  78968. <comment>2
  78969. 0006prb
  78970. 00115prb
  78971. 01025prb
  78972. 01150prb
  78973. 10075prb
  78974. 101100prb
  78975. 6prb</comment>
  78976. </bits>
  78977. <bits access="rw" name="dabis_nrb_next1" pos="20:18" rst="0">
  78978. <comment>1
  78979. 0006prb
  78980. 00115prb
  78981. 01025prb
  78982. 01150prb
  78983. 10075prb
  78984. 101100prb
  78985. 6prb</comment>
  78986. </bits>
  78987. <bits access="rw" name="dabis_cellid_next2" pos="17:9" rst="0">
  78988. <comment>2 CELL ID</comment>
  78989. </bits>
  78990. <bits access="rw" name="dabis_cellid_next1" pos="8:0" rst="0">
  78991. <comment>1 CELL ID</comment>
  78992. </bits>
  78993. </reg>
  78994. <reg name="dabis_dly1_nxt" protect="rw">
  78995. <bits access="rw" name="dabis_dly_next1" pos="18:0" rst="0">
  78996. <comment>1TS</comment>
  78997. </bits>
  78998. </reg>
  78999. <reg name="dabis_dly2_nxt" protect="rw">
  79000. <bits access="rw" name="dabis_dly_next2" pos="18:0" rst="0">
  79001. <comment>2TS</comment>
  79002. </bits>
  79003. </reg>
  79004. <reg name="dabis_shft_nxt" protect="r">
  79005. <bits access="r" name="dabis_shft_next3" pos="11:8" rst="0">
  79006. <comment>ABIS31+2</comment>
  79007. </bits>
  79008. <bits access="r" name="dabis_shft_next2" pos="7:4" rst="0">
  79009. <comment>ABIS22</comment>
  79010. </bits>
  79011. <bits access="r" name="dabis_shft_next1" pos="3:0" rst="0">
  79012. <comment>ABIS11</comment>
  79013. </bits>
  79014. </reg>
  79015. <reg name="reis_conf" protect="rw">
  79016. <bits access="rw" name="reis_en" pos="4" rst="0">
  79017. <comment>REIS
  79018. 0
  79019. 1</comment>
  79020. </bits>
  79021. <bits access="rw" name="reis_num" pos="3:0" rst="0">
  79022. <comment>REISNUM</comment>
  79023. </bits>
  79024. </reg>
  79025. <reg name="reis_pos0" protect="rw">
  79026. <bits access="rw" name="reis_shift1" pos="31:28" rst="0">
  79027. <comment>REIS1</comment>
  79028. </bits>
  79029. <bits access="rw" name="reis_re1" pos="26:16" rst="0">
  79030. <comment>REIS1RE20M1200RE</comment>
  79031. </bits>
  79032. <bits access="rw" name="reis_shift0" pos="15:12" rst="0">
  79033. <comment>REIS0</comment>
  79034. </bits>
  79035. <bits access="rw" name="reis_re0" pos="10:0" rst="0">
  79036. <comment>REIS0RE20M1200RE</comment>
  79037. </bits>
  79038. </reg>
  79039. <reg name="reis_pos1" protect="rw">
  79040. <bits access="rw" name="reis_shift3" pos="31:28" rst="0">
  79041. <comment>REIS3</comment>
  79042. </bits>
  79043. <bits access="rw" name="reis_re3" pos="26:16" rst="0">
  79044. <comment>REIS3RE20M1200RE</comment>
  79045. </bits>
  79046. <bits access="rw" name="reis_shift2" pos="15:12" rst="0">
  79047. <comment>REIS2</comment>
  79048. </bits>
  79049. <bits access="rw" name="reis_re2" pos="10:0" rst="0">
  79050. <comment>REIS2RE20M1200RE</comment>
  79051. </bits>
  79052. </reg>
  79053. <reg name="reis_pos2" protect="rw">
  79054. <bits access="rw" name="reis_shift5" pos="31:28" rst="0">
  79055. <comment>REIS5</comment>
  79056. </bits>
  79057. <bits access="rw" name="reis_re5" pos="26:16" rst="0">
  79058. <comment>REIS5RE20M1200RE</comment>
  79059. </bits>
  79060. <bits access="rw" name="reis_shift4" pos="15:12" rst="0">
  79061. <comment>REIS4</comment>
  79062. </bits>
  79063. <bits access="rw" name="reis_re4" pos="10:0" rst="0">
  79064. <comment>REIS4RE20M1200RE</comment>
  79065. </bits>
  79066. </reg>
  79067. <reg name="reis_pos3" protect="rw">
  79068. <bits access="rw" name="reis_shift7" pos="31:28" rst="0">
  79069. <comment>REIS7</comment>
  79070. </bits>
  79071. <bits access="rw" name="reis_re7" pos="26:16" rst="0">
  79072. <comment>REIS7RE20M1200RE</comment>
  79073. </bits>
  79074. <bits access="rw" name="reis_shift6" pos="15:12" rst="0">
  79075. <comment>REIS6</comment>
  79076. </bits>
  79077. <bits access="rw" name="reis_re6" pos="10:0" rst="0">
  79078. <comment>REIS6RE20M1200RE</comment>
  79079. </bits>
  79080. </reg>
  79081. <reg name="rbis_par" protect="rw">
  79082. <bits access="rw" name="rbis_portsel" pos="31" rst="0">
  79083. <comment>2ABISPORT
  79084. 0port0
  79085. 1port1</comment>
  79086. </bits>
  79087. <bits access="rw" name="rbis_en" pos="30" rst="0">
  79088. <comment>RBIS
  79089. 0
  79090. 1</comment>
  79091. </bits>
  79092. <bits access="rw" name="rbis_sdden" pos="29" rst="0">
  79093. <comment>RBISSD PDSCH
  79094. 0
  79095. 1</comment>
  79096. </bits>
  79097. <bits access="rw" name="rbis_sdcen" pos="28" rst="0">
  79098. <comment>RBISSD MPDCCH
  79099. 0
  79100. 1</comment>
  79101. </bits>
  79102. <bits access="rw" name="rbis_sdben" pos="27" rst="0">
  79103. <comment>RBISSD PBCH
  79104. 0
  79105. 1</comment>
  79106. </bits>
  79107. <bits access="rw" name="rbis_posen" pos="26" rst="0">
  79108. <comment>RBIS
  79109. 0
  79110. 1</comment>
  79111. </bits>
  79112. <bits access="rw" name="rbis_num" pos="25:23" rst="0">
  79113. <comment>RBIS
  79114. 01
  79115. 12
  79116. 23
  79117. 34
  79118. 45</comment>
  79119. </bits>
  79120. <bits access="rw" name="rbis_dipos" pos="22:16" rst="0">
  79121. <comment>RBIS</comment>
  79122. </bits>
  79123. <bits access="rw" name="rbis_factor" pos="15:0" rst="0">
  79124. <comment>RBIS</comment>
  79125. </bits>
  79126. </reg>
  79127. <reg name="rbis_posout0" protect="r">
  79128. <bits access="r" name="rbis_posout3" pos="27:21" rst="0">
  79129. <comment>RBIS0~99</comment>
  79130. </bits>
  79131. <bits access="r" name="rbis_posout2" pos="20:14" rst="0">
  79132. <comment>RBIS0~99</comment>
  79133. </bits>
  79134. <bits access="r" name="rbis_posout1" pos="13:7" rst="0">
  79135. <comment>RBIS0~99</comment>
  79136. </bits>
  79137. <bits access="r" name="rbis_posout0_rbis_posout0" pos="6:0" rst="0">
  79138. <comment>RBIS0~99</comment>
  79139. </bits>
  79140. </reg>
  79141. <reg name="rbis_posout1" protect="r">
  79142. <bits access="r" name="rbis_posout4" pos="6:0" rst="0">
  79143. <comment>RBIS0~99</comment>
  79144. </bits>
  79145. </reg>
  79146. <reg name="rbis_ave" protect="r">
  79147. <bits access="r" name="rbis_ave_rbis_ave" pos="31:0" rst="0">
  79148. <comment>RBIS</comment>
  79149. </bits>
  79150. </reg>
  79151. <reg name="rbis_max" protect="r">
  79152. <bits access="r" name="rbis_max_rbis_max" pos="24:0" rst="0">
  79153. <comment>RBIS</comment>
  79154. </bits>
  79155. </reg>
  79156. <reg name="pbml_cfg_nxt" protect="rw">
  79157. <bits access="rw" name="pbml_en" pos="20" rst="0">
  79158. <comment>PBML
  79159. 0
  79160. 1</comment>
  79161. </bits>
  79162. <bits access="rw" name="llr_cal_len" pos="19:14" rst="0">
  79163. <comment>LLR</comment>
  79164. </bits>
  79165. <bits access="rw" name="llr_pos_sta" pos="13:8" rst="0">
  79166. <comment>LLR</comment>
  79167. </bits>
  79168. <bits access="rw" name="llr_alpha" pos="7:0" rst="0">
  79169. <comment>LLR
  79170. 0~255</comment>
  79171. </bits>
  79172. </reg>
  79173. <reg name="ctrl_state" protect="r">
  79174. <bits access="r" name="ctrl_state_ctrl_state" pos="25:0" rst="1">
  79175. <comment/>
  79176. </bits>
  79177. </reg>
  79178. <reg name="data_state" protect="r">
  79179. <bits access="r" name="data_state_data_state" pos="25:0" rst="1">
  79180. <comment/>
  79181. </bits>
  79182. </reg>
  79183. <reg name="frame_ccnt_out" protect="r">
  79184. <bits access="r" name="ssfn_cnt" pos="31:16" rst="0">
  79185. <comment>0~65535</comment>
  79186. </bits>
  79187. <bits access="r" name="rf_cnt" pos="13:4" rst="0">
  79188. <comment>0~1023</comment>
  79189. </bits>
  79190. <bits access="r" name="sf_cnt" pos="3:0" rst="0">
  79191. <comment>0~9</comment>
  79192. </bits>
  79193. </reg>
  79194. <reg name="frame_dcnt_out" protect="r">
  79195. <bits access="r" name="ssfn_cnt" pos="31:16" rst="0">
  79196. <comment>0~65535</comment>
  79197. </bits>
  79198. <bits access="r" name="rf_cnt" pos="13:4" rst="0">
  79199. <comment>0~1023</comment>
  79200. </bits>
  79201. <bits access="r" name="sf_cnt" pos="3:0" rst="0">
  79202. <comment>0~9</comment>
  79203. </bits>
  79204. </reg>
  79205. <reg name="pds0_harqin0_info" protect="r">
  79206. <bits access="r" name="pds_len0" pos="25:16" rst="0">
  79207. <comment>CB0HARQIN MEM0</comment>
  79208. </bits>
  79209. <bits access="r" name="pds_ini0" pos="9:0" rst="0">
  79210. <comment>CB0HARQIN MEM0</comment>
  79211. </bits>
  79212. </reg>
  79213. <reg name="pds0_harqin1_info" protect="r">
  79214. <bits access="r" name="pds_e0" pos="31:16" rst="0">
  79215. <comment>CB0</comment>
  79216. </bits>
  79217. <bits access="r" name="pds_ini1" pos="12:0" rst="0">
  79218. <comment>CB0HARQIN MEM1</comment>
  79219. </bits>
  79220. </reg>
  79221. <reg name="pds1_harqin0_info" protect="r">
  79222. <bits access="r" name="pds_len0" pos="25:16" rst="0">
  79223. <comment>CB1HARQIN MEM0</comment>
  79224. </bits>
  79225. <bits access="r" name="pds_ini0" pos="9:0" rst="0">
  79226. <comment>CB1HARQIN MEM0</comment>
  79227. </bits>
  79228. </reg>
  79229. <reg name="pds1_harqin1_info" protect="r">
  79230. <bits access="r" name="pds_e0" pos="31:16" rst="0">
  79231. <comment>CB1</comment>
  79232. </bits>
  79233. <bits access="r" name="pds_ini1" pos="12:0" rst="0">
  79234. <comment>CB1HARQIN MEM1</comment>
  79235. </bits>
  79236. </reg>
  79237. <reg name="si_harqin0_info" protect="r">
  79238. <bits access="r" name="si_len0" pos="25:16" rst="0">
  79239. <comment>SICB1HARQIN MEM0</comment>
  79240. </bits>
  79241. <bits access="r" name="si_ini0" pos="9:0" rst="0">
  79242. <comment>SICB1HARQIN MEM0</comment>
  79243. </bits>
  79244. </reg>
  79245. <reg name="si_harqin1_info" protect="r">
  79246. <bits access="r" name="si_e0" pos="31:16" rst="0">
  79247. <comment>SICB1</comment>
  79248. </bits>
  79249. <bits access="r" name="si_ini1" pos="12:0" rst="0">
  79250. <comment>SICB1HARQIN MEM1</comment>
  79251. </bits>
  79252. </reg>
  79253. <reg name="pag_harqin0_info" protect="r">
  79254. <bits access="r" name="pag_len0" pos="25:16" rst="0">
  79255. <comment>PAGINGCB1HARQIN MEM0</comment>
  79256. </bits>
  79257. <bits access="r" name="pag_ini0" pos="9:0" rst="0">
  79258. <comment>PAGINGCB1HARQIN MEM0</comment>
  79259. </bits>
  79260. </reg>
  79261. <reg name="pag_harqin1_info" protect="r">
  79262. <bits access="r" name="pag_e0" pos="31:16" rst="0">
  79263. <comment>PAGINGCB1</comment>
  79264. </bits>
  79265. <bits access="r" name="pag_ini1" pos="12:0" rst="0">
  79266. <comment>PAGINGCB1HARQIN MEM1</comment>
  79267. </bits>
  79268. </reg>
  79269. <reg name="cabis_shft_out" protect="r">
  79270. <bits access="r" name="cabis_shft3" pos="11:8" rst="0">
  79271. <comment>ABIS31+2</comment>
  79272. </bits>
  79273. <bits access="r" name="cabis_shft2" pos="7:4" rst="0">
  79274. <comment>ABIS22</comment>
  79275. </bits>
  79276. <bits access="r" name="cabis_shft1" pos="3:0" rst="0">
  79277. <comment>ABIS11</comment>
  79278. </bits>
  79279. </reg>
  79280. <reg name="dabis_shft_out" protect="r">
  79281. <bits access="r" name="dabis_shft3" pos="11:8" rst="0">
  79282. <comment>ABIS31+2</comment>
  79283. </bits>
  79284. <bits access="r" name="dabis_shft2" pos="7:4" rst="0">
  79285. <comment>ABIS22</comment>
  79286. </bits>
  79287. <bits access="r" name="dabis_shft1" pos="3:0" rst="0">
  79288. <comment>ABIS11</comment>
  79289. </bits>
  79290. </reg>
  79291. <reg name="mc_dly1_nxt" protect="rw">
  79292. <bits access="rw" name="mc_dly1" pos="18:0" rst="0">
  79293. <comment>1TS</comment>
  79294. </bits>
  79295. </reg>
  79296. <reg name="mc_dly2_nxt" protect="rw">
  79297. <bits access="rw" name="mc_dly2" pos="18:0" rst="0">
  79298. <comment>2TS</comment>
  79299. </bits>
  79300. </reg>
  79301. <reg name="mc_dlyth_nxt" protect="rw">
  79302. <bits access="rw" name="mc_dlyth" pos="9:0" rst="0">
  79303. <comment>TS</comment>
  79304. </bits>
  79305. </reg>
  79306. <hole size="8384096"/>
  79307. <reg name="cfhmem1" protect="rw">
  79308. <bits access="rw" name="cfhmem1_cfhmem1" pos="29:0" rst="0">
  79309. </bits>
  79310. </reg>
  79311. <hole size="524256"/>
  79312. <reg name="cfhmem2" protect="rw">
  79313. <bits access="rw" name="cfhmem2_cfhmem2" pos="29:0" rst="0">
  79314. </bits>
  79315. </reg>
  79316. <hole size="524256"/>
  79317. <reg name="crsmem1" protect="rw">
  79318. <bits access="rw" name="crsmem1_re" pos="31:20" rst="0">
  79319. </bits>
  79320. <bits access="rw" name="crsmem1_im" pos="15:4" rst="0">
  79321. </bits>
  79322. </reg>
  79323. <hole size="32736"/>
  79324. <reg name="crsmem2" protect="rw">
  79325. <bits access="rw" name="crsmem2_re" pos="31:20" rst="0">
  79326. </bits>
  79327. <bits access="rw" name="crsmem2_im" pos="15:4" rst="0">
  79328. </bits>
  79329. </reg>
  79330. <hole size="32736"/>
  79331. <reg name="clsmem" protect="rw">
  79332. <bits access="rw" name="clsmem_re" pos="31:20" rst="0">
  79333. </bits>
  79334. <bits access="rw" name="clsmem_im" pos="15:4" rst="0">
  79335. </bits>
  79336. </reg>
  79337. <hole size="458720"/>
  79338. <reg name="ursmem" protect="rw">
  79339. <bits access="rw" name="ursmem_re" pos="31:20" rst="0">
  79340. </bits>
  79341. <bits access="rw" name="ursmem_im" pos="15:4" rst="0">
  79342. </bits>
  79343. </reg>
  79344. <hole size="262112"/>
  79345. <reg name="ulsmem" protect="rw">
  79346. <bits access="rw" name="ulsmem_re" pos="31:20" rst="0">
  79347. </bits>
  79348. <bits access="rw" name="ulsmem_im" pos="15:4" rst="0">
  79349. </bits>
  79350. </reg>
  79351. <hole size="262112"/>
  79352. <reg name="pwr_mem1" protect="rw">
  79353. <bits access="rw" name="pwr_mem1_pwr_mem1" pos="31:0" rst="0">
  79354. </bits>
  79355. </reg>
  79356. <hole size="32736"/>
  79357. <reg name="pwr_mem2" protect="rw">
  79358. <bits access="rw" name="pwr_mem2_pwr_mem2" pos="31:0" rst="0">
  79359. </bits>
  79360. </reg>
  79361. <hole size="32736"/>
  79362. <reg name="cell_qfmem1" protect="rw">
  79363. <bits access="rw" name="cell_qfmem1_re" pos="31:19" rst="0">
  79364. </bits>
  79365. <bits access="rw" name="cell_qfmem1_im" pos="15:3" rst="0">
  79366. </bits>
  79367. </reg>
  79368. <hole size="98272"/>
  79369. <reg name="cell_qfmem2" protect="rw">
  79370. <bits access="rw" name="cell_qfmem2_re" pos="31:19" rst="0">
  79371. </bits>
  79372. <bits access="rw" name="cell_qfmem2_im" pos="15:3" rst="0">
  79373. </bits>
  79374. </reg>
  79375. <hole size="98272"/>
  79376. <reg name="ue_qfmem1" protect="rw">
  79377. <bits access="rw" name="ue_qfmem1_re" pos="31:19" rst="0">
  79378. </bits>
  79379. <bits access="rw" name="ue_qfmem1_im" pos="15:3" rst="0">
  79380. </bits>
  79381. </reg>
  79382. <hole size="32736"/>
  79383. <reg name="ue_qfmem2" protect="rw">
  79384. <bits access="rw" name="ue_qfmem2_re" pos="31:19" rst="0">
  79385. </bits>
  79386. <bits access="rw" name="ue_qfmem2_im" pos="15:3" rst="0">
  79387. </bits>
  79388. </reg>
  79389. <hole size="32736"/>
  79390. <reg name="cg_qtmem1" protect="rw">
  79391. <bits access="rw" name="cg_qtmem1_2" pos="31:19" rst="0">
  79392. </bits>
  79393. <bits access="rw" name="cg_qtmem1_1" pos="15:3" rst="0">
  79394. </bits>
  79395. </reg>
  79396. <hole size="16352"/>
  79397. <reg name="cg_qtmem2" protect="rw">
  79398. <bits access="rw" name="cg_qtmem2_2" pos="31:19" rst="0">
  79399. </bits>
  79400. <bits access="rw" name="cg_qtmem2_1" pos="15:3" rst="0">
  79401. </bits>
  79402. </reg>
  79403. <hole size="16352"/>
  79404. <reg name="ct_qtmem1" protect="rw">
  79405. <bits access="rw" name="ct_qtmem1_2" pos="31:19" rst="0">
  79406. </bits>
  79407. <bits access="rw" name="ct_qtmem1_1" pos="15:3" rst="0">
  79408. </bits>
  79409. </reg>
  79410. <hole size="16352"/>
  79411. <reg name="ct_qtmem2" protect="rw">
  79412. <bits access="rw" name="ct_qtmem2_2" pos="31:19" rst="0">
  79413. </bits>
  79414. <bits access="rw" name="ct_qtmem2_1" pos="15:3" rst="0">
  79415. </bits>
  79416. </reg>
  79417. <hole size="16352"/>
  79418. <reg name="dt_qtmem1" protect="rw">
  79419. <bits access="rw" name="dt_qtmem1_2" pos="31:19" rst="0">
  79420. </bits>
  79421. <bits access="rw" name="dt_qtmem1_1" pos="15:3" rst="0">
  79422. </bits>
  79423. </reg>
  79424. <hole size="32736"/>
  79425. <reg name="dt_qtmem2" protect="rw">
  79426. <bits access="rw" name="dt_qtmem2_2" pos="31:19" rst="0">
  79427. </bits>
  79428. <bits access="rw" name="dt_qtmem2_1" pos="15:3" rst="0">
  79429. </bits>
  79430. </reg>
  79431. <hole size="32736"/>
  79432. <reg name="dcg_qtmem1" protect="rw">
  79433. <bits access="rw" name="dcg_qtmem1_2" pos="31:19" rst="0">
  79434. </bits>
  79435. <bits access="rw" name="dcg_qtmem1_1" pos="15:3" rst="0">
  79436. </bits>
  79437. </reg>
  79438. <hole size="32736"/>
  79439. <reg name="dcg_qtmem2" protect="rw">
  79440. <bits access="rw" name="dcg_qtmem2_2" pos="31:19" rst="0">
  79441. </bits>
  79442. <bits access="rw" name="dcg_qtmem2_1" pos="15:3" rst="0">
  79443. </bits>
  79444. </reg>
  79445. <hole size="32736"/>
  79446. <reg name="agc_cls_mem" protect="rw">
  79447. <bits access="rw" name="agc_cls_mem_2" pos="31:22" rst="0">
  79448. </bits>
  79449. <bits access="rw" name="agc_cls_mem_1" pos="15:6" rst="0">
  79450. </bits>
  79451. </reg>
  79452. <hole size="2016"/>
  79453. <reg name="agc_uls_mem" protect="rw">
  79454. <bits access="rw" name="agc_uls_mem_2" pos="31:22" rst="0">
  79455. </bits>
  79456. <bits access="rw" name="agc_uls_mem_1" pos="15:6" rst="0">
  79457. </bits>
  79458. </reg>
  79459. <hole size="2016"/>
  79460. <reg name="agc_cfh_mem1" protect="rw">
  79461. <bits access="rw" name="agc_cfh_mem1_2" pos="31:22" rst="0">
  79462. </bits>
  79463. <bits access="rw" name="agc_cfh_mem1_1" pos="15:6" rst="0">
  79464. </bits>
  79465. </reg>
  79466. <hole size="2016"/>
  79467. <reg name="agc_cfh_mem2" protect="rw">
  79468. <bits access="rw" name="agc_cfh_mem2_2" pos="31:22" rst="0">
  79469. </bits>
  79470. <bits access="rw" name="agc_cfh_mem2_1" pos="15:6" rst="0">
  79471. </bits>
  79472. </reg>
  79473. <hole size="2016"/>
  79474. <reg name="agc_ufh_mem1" protect="rw">
  79475. <bits access="rw" name="agc_ufh_mem1_2" pos="31:22" rst="0">
  79476. </bits>
  79477. <bits access="rw" name="agc_ufh_mem1_1" pos="15:6" rst="0">
  79478. </bits>
  79479. </reg>
  79480. <hole size="2016"/>
  79481. <reg name="agc_ufh_mem2" protect="rw">
  79482. <bits access="rw" name="agc_ufh_mem2_2" pos="31:22" rst="0">
  79483. </bits>
  79484. <bits access="rw" name="agc_ufh_mem2_1" pos="15:6" rst="0">
  79485. </bits>
  79486. </reg>
  79487. <hole size="2016"/>
  79488. <reg name="gold_mem1" protect="rw">
  79489. <bits access="rw" name="gold_mem1_gold_mem1" pos="31:0" rst="0">
  79490. </bits>
  79491. </reg>
  79492. <hole size="2016"/>
  79493. <reg name="gold_mem2" protect="rw">
  79494. <bits access="rw" name="gold_mem2_gold_mem2" pos="31:0" rst="0">
  79495. </bits>
  79496. </reg>
  79497. <hole size="18400"/>
  79498. <reg name="ufhmem" protect="rw">
  79499. <bits access="rw" name="ufhmem_ufhmem" pos="29:0" rst="0">
  79500. </bits>
  79501. </reg>
  79502. <hole size="262112"/>
  79503. <reg name="pbch_t_qtmem1" protect="rw">
  79504. <bits access="rw" name="pbch_t_qtmem1_2" pos="31:19" rst="0">
  79505. </bits>
  79506. <bits access="rw" name="pbch_t_qtmem1_1" pos="15:3" rst="0">
  79507. </bits>
  79508. </reg>
  79509. <hole size="16352"/>
  79510. <reg name="pbch_t_qtmem2" protect="rw">
  79511. <bits access="rw" name="pbch_t_qtmem2_2" pos="31:19" rst="0">
  79512. </bits>
  79513. <bits access="rw" name="pbch_t_qtmem2_1" pos="15:3" rst="0">
  79514. </bits>
  79515. </reg>
  79516. <hole size="16352"/>
  79517. <reg name="csi_in_mem" protect="rw">
  79518. <bits access="rw" name="csimem_re" pos="31:20" rst="0">
  79519. </bits>
  79520. <bits access="rw" name="csimem_im" pos="15:4" rst="0">
  79521. </bits>
  79522. </reg>
  79523. <hole size="32736"/>
  79524. <reg name="pmi_mem" protect="rw">
  79525. <bits access="rw" name="pmi_mem_pmi_mem" pos="31:0" rst="0">
  79526. </bits>
  79527. </reg>
  79528. <hole size="229344"/>
  79529. <reg name="cell_qfmem3" protect="rw">
  79530. <bits access="rw" name="cell_qfmem3_2" pos="31:19" rst="0">
  79531. </bits>
  79532. <bits access="rw" name="cell_qfmem3_1" pos="15:3" rst="0">
  79533. </bits>
  79534. </reg>
  79535. <hole size="262112"/>
  79536. <reg name="cg_qtmem3" protect="rw">
  79537. <bits access="rw" name="cg_qtmem3_2" pos="31:19" rst="0">
  79538. </bits>
  79539. <bits access="rw" name="cg_qtmem3_1" pos="15:3" rst="0">
  79540. </bits>
  79541. </reg>
  79542. <hole size="32736"/>
  79543. <reg name="ct_qtmem3" protect="rw">
  79544. <bits access="rw" name="ct_qtmem3_2" pos="31:19" rst="0">
  79545. </bits>
  79546. <bits access="rw" name="ct_qtmem3_1" pos="15:3" rst="0">
  79547. </bits>
  79548. </reg>
  79549. <hole size="32736"/>
  79550. <reg name="dt_qtmem3" protect="rw">
  79551. <bits access="rw" name="dt_qtmem3_2" pos="31:19" rst="0">
  79552. </bits>
  79553. <bits access="rw" name="dt_qtmem3_1" pos="15:3" rst="0">
  79554. </bits>
  79555. </reg>
  79556. <hole size="65504"/>
  79557. <reg name="dcg_qtmem3" protect="rw">
  79558. <bits access="rw" name="dcg_qtmem3_2" pos="31:19" rst="0">
  79559. </bits>
  79560. <bits access="rw" name="dcg_qtmem3_1" pos="15:3" rst="0">
  79561. </bits>
  79562. </reg>
  79563. <hole size="360416"/>
  79564. <reg name="pbch_t_qtmem3" protect="rw">
  79565. <bits access="rw" name="pbch_t_qtmem3_2" pos="31:19" rst="0">
  79566. </bits>
  79567. <bits access="rw" name="pbch_t_qtmem3_1" pos="15:3" rst="0">
  79568. </bits>
  79569. </reg>
  79570. <hole size="4423648"/>
  79571. <reg name="sdmemch0" protect="rw">
  79572. <bits access="rw" name="sdmemch0_sdmemch0" pos="31:0" rst="0">
  79573. </bits>
  79574. </reg>
  79575. <hole size="262112"/>
  79576. <reg name="sdmemch1" protect="rw">
  79577. <bits access="rw" name="sdmemch1_sdmemch1" pos="31:0" rst="0">
  79578. </bits>
  79579. </reg>
  79580. <hole size="262112"/>
  79581. <reg name="sdmemcg0" protect="rw">
  79582. <bits access="rw" name="sdmemcg0_sdmemcg0" pos="31:11" rst="0">
  79583. </bits>
  79584. </reg>
  79585. <hole size="262112"/>
  79586. <reg name="sdmemcg1" protect="rw">
  79587. <bits access="rw" name="sdmemcg1_sdmemcg1" pos="31:11" rst="0">
  79588. </bits>
  79589. </reg>
  79590. <hole size="262112"/>
  79591. <reg name="sdmemdh0" protect="rw">
  79592. <bits access="rw" name="sdmemdh0_sdmemdh0" pos="31:0" rst="0">
  79593. </bits>
  79594. </reg>
  79595. <hole size="262112"/>
  79596. <reg name="sdmemdh1" protect="rw">
  79597. <bits access="rw" name="sdmemdh1_sdmemdh1" pos="31:0" rst="0">
  79598. </bits>
  79599. </reg>
  79600. <hole size="262112"/>
  79601. <reg name="sdmemdg0" protect="rw">
  79602. <bits access="rw" name="sdmemdg0_sdmemdg0" pos="31:11" rst="0">
  79603. </bits>
  79604. </reg>
  79605. <hole size="32736"/>
  79606. <reg name="sdmemdg1" protect="rw">
  79607. <bits access="rw" name="sdmemdg1_sdmemdg1" pos="31:11" rst="0">
  79608. </bits>
  79609. </reg>
  79610. <hole size="32736"/>
  79611. <reg name="sdmemdg2" protect="r">
  79612. <bits access="r" name="sdmemdg2_sdmemdg2" pos="31:11" rst="0">
  79613. </bits>
  79614. </reg>
  79615. <hole size="32736"/>
  79616. <reg name="sdmemdg3" protect="r">
  79617. <bits access="r" name="sdmemdg3_sdmemdg3" pos="31:11" rst="0">
  79618. </bits>
  79619. </reg>
  79620. <hole size="6717408"/>
  79621. <reg name="pdcch_memin" protect="rw">
  79622. <bits access="rw" name="pdcch_memin_2" pos="31:21" rst="0">
  79623. </bits>
  79624. <bits access="rw" name="pdcch_memin_1" pos="15:5" rst="0">
  79625. </bits>
  79626. </reg>
  79627. <hole size="131040"/>
  79628. <reg name="pdcch_memgold" protect="rw">
  79629. <bits access="rw" name="pdcch_memgold_pdcch_memgold" pos="31:0" rst="0">
  79630. </bits>
  79631. </reg>
  79632. <hole size="16352"/>
  79633. <reg name="pdcch_mempbch0" protect="rw">
  79634. <bits access="rw" name="pdcch_mempbch0_pdcch_mempbch0" pos="31:0" rst="0">
  79635. </bits>
  79636. </reg>
  79637. <hole size="8160"/>
  79638. <reg name="pdcch_mempbch1" protect="rw">
  79639. <bits access="rw" name="pdcch_mempbch1_pdcch_mempbch1" pos="31:0" rst="0">
  79640. </bits>
  79641. </reg>
  79642. <hole size="8160"/>
  79643. <reg name="pdcch_mempbch2" protect="rw">
  79644. <bits access="rw" name="pdcch_mempbch2_pdcch_mempbch2" pos="31:0" rst="0">
  79645. </bits>
  79646. </reg>
  79647. <hole size="8160"/>
  79648. <reg name="dci0_out1" protect="rw">
  79649. <bits access="rw" name="dci0_out1_dci0_out1" pos="31:0" rst="0">
  79650. <comment>DCI032</comment>
  79651. </bits>
  79652. </reg>
  79653. <reg name="dci0_out2" protect="rw">
  79654. <bits access="rw" name="dci0_out2_dci0_out2" pos="31:0" rst="0">
  79655. <comment>DCI032</comment>
  79656. </bits>
  79657. </reg>
  79658. <reg name="dci0_pwr" protect="rw">
  79659. <bits access="rw" name="dci_pwr" pos="25:0" rst="0">
  79660. <comment>DCI</comment>
  79661. </bits>
  79662. </reg>
  79663. <reg name="dci0_fa" protect="rw">
  79664. <bits access="rw" name="dci_fa_zero" pos="15:8" rst="0">
  79665. <comment>DCI false alarm0</comment>
  79666. </bits>
  79667. <bits access="rw" name="dci_fa" pos="7:0" rst="0">
  79668. <comment>DCI false alarm</comment>
  79669. </bits>
  79670. </reg>
  79671. <reg name="dci0_info1" protect="rw">
  79672. <bits access="rw" name="ant_sel" pos="28" rst="0">
  79673. <comment>00
  79674. 11</comment>
  79675. </bits>
  79676. <bits access="rw" name="order_flag" pos="27" rst="0">
  79677. <comment>DCI1A
  79678. 0ORDER
  79679. 1ORDER</comment>
  79680. </bits>
  79681. <bits access="rw" name="sps_ind" pos="26:25" rst="0">
  79682. <comment>SPS-C-RNTI
  79683. 0
  79684. 1
  79685. 2
  79686. 3</comment>
  79687. </bits>
  79688. <bits access="rw" name="dci_type" pos="24:21" rst="0">
  79689. <comment>DCI
  79690. 0:DCI0
  79691. 1:DCI1
  79692. 2:DCI1A
  79693. 3:DCI1B
  79694. 4:DCI1C
  79695. 5:DCI1D
  79696. 6:DCI2
  79697. 7:DCI2A
  79698. 8:DCI2B
  79699. 9:DCI2C
  79700. 10:DCI3/3A</comment>
  79701. </bits>
  79702. <bits access="rw" name="rnti_ind" pos="20:17" rst="0">
  79703. <comment>DCI RNTI
  79704. 0RNTI0SI-RNTI
  79705. 1RNTI1P-RNTI
  79706. 2RNTI2RA-RNTI
  79707. 3RNTI3C-RNTI
  79708. 4RNTI4SPS-RNTI
  79709. 5RNTI5T-RNTI
  79710. 6RNTI6TPCS-RNTI
  79711. 7RNTI7TPCC-RNTI
  79712. 8RNTI8G-RNTI
  79713. 9RNTI9SC-RNTI
  79714. 10RNTI10SC-N-RNTI</comment>
  79715. </bits>
  79716. <bits access="rw" name="comm_ue" pos="16" rst="0">
  79717. <comment>DCICOMMUE
  79718. 0
  79719. 1UE</comment>
  79720. </bits>
  79721. <bits access="rw" name="dci_stapos" pos="15:9" rst="0">
  79722. <comment>DCI(index:0~23)</comment>
  79723. </bits>
  79724. <bits access="rw" name="dci_llevel" pos="8:6" rst="0">
  79725. <comment>DCIL
  79726. 000L=1;
  79727. 001L=2;
  79728. 010L=4;
  79729. 011L=8;
  79730. 100L=12;
  79731. 101L=16;
  79732. 110L=24;</comment>
  79733. </bits>
  79734. <bits access="rw" name="dci_len" pos="5:0" rst="0">
  79735. <comment>DCI (max38)</comment>
  79736. </bits>
  79737. </reg>
  79738. <reg name="dci0_info2" protect="rw">
  79739. <bits access="rw" name="pmi_confm" pos="31" rst="0">
  79740. <comment>PMIDCIPMI
  79741. 0DCIPMI
  79742. 1PMI</comment>
  79743. </bits>
  79744. <bits access="rw" name="hq_proc" pos="30:27" rst="0">
  79745. <comment>HARQ:0~15</comment>
  79746. </bits>
  79747. <bits access="rw" name="pmi_indx" pos="26:23" rst="0">
  79748. <comment>tx2:0~3tx4:0~15</comment>
  79749. </bits>
  79750. <bits access="rw" name="trans_scheme" pos="22:20" rst="0">
  79751. <comment>0
  79752. 1
  79753. 2
  79754. 3PORT7
  79755. 4PORT8
  79756. 5PORT5</comment>
  79757. </bits>
  79758. <bits access="rw" name="ra_type" pos="19" rst="0">
  79759. <comment>0
  79760. 1</comment>
  79761. </bits>
  79762. <bits access="rw" name="n_scid" pos="18" rst="0">
  79763. <comment>Nscid(UE)0~1</comment>
  79764. </bits>
  79765. <bits access="rw" name="rv_sel" pos="17:16" rst="0">
  79766. <comment>0~3</comment>
  79767. </bits>
  79768. <bits access="rw" name="modu_type" pos="15:14" rst="0">
  79769. <comment>0:QPSK
  79770. 1:16QAM
  79771. 2:64QAM</comment>
  79772. </bits>
  79773. <bits access="rw" name="tb_size" pos="13:0" rst="0">
  79774. <comment>max10296</comment>
  79775. </bits>
  79776. </reg>
  79777. <reg name="dci0_info3" protect="rw">
  79778. <bits access="rw" name="rep" pos="21:19" rst="0">
  79779. <comment>DCI0C</comment>
  79780. </bits>
  79781. <bits access="rw" name="mcs" pos="18:14" rst="0">
  79782. <comment/>
  79783. </bits>
  79784. <bits access="rw" name="cw2_flag" pos="13" rst="0">
  79785. <comment>DCI2/DCI2A/DCI2B/DCI2C2
  79786. 01
  79787. 12</comment>
  79788. </bits>
  79789. <bits access="rw" name="cs_dmrs" pos="12:10" rst="0">
  79790. <comment>DCI0</comment>
  79791. </bits>
  79792. <bits access="rw" name="cqi_indx" pos="9:8" rst="0">
  79793. <comment>DCI0CQI</comment>
  79794. </bits>
  79795. <bits access="rw" name="tb_cw" pos="7" rst="0">
  79796. <comment>DCI2/DCI2ATBCW
  79797. 0
  79798. 1</comment>
  79799. </bits>
  79800. <bits access="rw" name="srs_req" pos="6" rst="0">
  79801. <comment>SRS
  79802. SRQDCI0DCI1ADCI2B TDDDCI2C TDD</comment>
  79803. </bits>
  79804. <bits access="rw" name="ndi_ind" pos="5" rst="0">
  79805. <comment/>
  79806. </bits>
  79807. <bits access="rw" name="pwr_ofst" pos="4" rst="0">
  79808. <comment>DCI1D POWER OFFSET</comment>
  79809. </bits>
  79810. <bits access="rw" name="dai" pos="3:2" rst="0">
  79811. <comment>DAI</comment>
  79812. </bits>
  79813. <bits access="rw" name="tpc_step" pos="1:0" rst="0">
  79814. <comment/>
  79815. </bits>
  79816. </reg>
  79817. <reg name="dci0_info4" protect="rw">
  79818. <bits access="rw" name="nul_fd" pos="31:15" rst="0">
  79819. <comment/>
  79820. </bits>
  79821. <bits access="rw" name="ra_type" pos="14" rst="0">
  79822. <comment>0TYPE0
  79823. 1TYPE1</comment>
  79824. </bits>
  79825. <bits access="rw" name="rb_hop_flag" pos="13" rst="0">
  79826. <comment>Type0</comment>
  79827. </bits>
  79828. <bits access="rw" name="rba" pos="12:0" rst="0">
  79829. <comment>Type0/Type1RBA</comment>
  79830. </bits>
  79831. </reg>
  79832. <reg name="dci0_info5" protect="rw">
  79833. <bits access="rw" name="rb_bm_00" pos="31:0" rst="0">
  79834. <comment>0.5msbitmapbit[63:32]prbbit
  79835. 0prb
  79836. 1prb</comment>
  79837. </bits>
  79838. </reg>
  79839. <reg name="dci0_info6" protect="rw">
  79840. <bits access="rw" name="rb_bm_01" pos="31:0" rst="0">
  79841. <comment>0.5msbitmapbitprb[63:32]bit
  79842. 0prb
  79843. 1prb</comment>
  79844. </bits>
  79845. </reg>
  79846. <reg name="dci0_info7" protect="rw">
  79847. <bits access="rw" name="rb_bm_02" pos="31:0" rst="0">
  79848. <comment>0.5msbitmapbitprb[95:64]bit
  79849. 0prb
  79850. 1prb</comment>
  79851. </bits>
  79852. </reg>
  79853. <reg name="dci0_info8" protect="rw">
  79854. <bits access="rw" name="rb_bm_03" pos="3:0" rst="0">
  79855. <comment>0.5msbitmapbitprb[99:96]bit
  79856. 0prb
  79857. 1prb</comment>
  79858. </bits>
  79859. </reg>
  79860. <reg name="dci0_info9" protect="rw">
  79861. <bits access="rw" name="rb_bm_10" pos="31:0" rst="0">
  79862. <comment>0.5msbitmapbit[63:32]prbbit
  79863. 0prb
  79864. 1prb</comment>
  79865. </bits>
  79866. </reg>
  79867. <reg name="dci0_info10" protect="rw">
  79868. <bits access="rw" name="rb_bm_11" pos="31:0" rst="0">
  79869. <comment>0.5msbitmapbitprb[63:32]bit
  79870. 0prb
  79871. 1prb</comment>
  79872. </bits>
  79873. </reg>
  79874. <reg name="dci0_info11" protect="rw">
  79875. <bits access="rw" name="rb_bm_12" pos="31:0" rst="0">
  79876. <comment>0.5msbitmapbitprb[95:64]bit
  79877. 0prb
  79878. 1prb</comment>
  79879. </bits>
  79880. </reg>
  79881. <reg name="dci0_info12" protect="rw">
  79882. <bits access="rw" name="rb_bm_13" pos="3:0" rst="0">
  79883. <comment>0.5msbitmapbitprb[99:96]bit
  79884. 0prb
  79885. 1prb</comment>
  79886. </bits>
  79887. </reg>
  79888. <reg name="dci1_out1" protect="rw">
  79889. <bits access="rw" name="dci1_out1_dci1_out1" pos="31:0" rst="0">
  79890. <comment>DCI132</comment>
  79891. </bits>
  79892. </reg>
  79893. <reg name="dci1_out2" protect="rw">
  79894. <bits access="rw" name="dci1_out2_dci1_out2" pos="31:0" rst="0">
  79895. <comment>DCI132</comment>
  79896. </bits>
  79897. </reg>
  79898. <reg name="dci1_pwr" protect="rw">
  79899. <bits access="rw" name="dci_pwr" pos="25:0" rst="0">
  79900. <comment>DCI</comment>
  79901. </bits>
  79902. </reg>
  79903. <reg name="dci1_fa" protect="rw">
  79904. <bits access="rw" name="dci_fa_zero" pos="15:8" rst="0">
  79905. <comment>DCI false alarm0</comment>
  79906. </bits>
  79907. <bits access="rw" name="dci_fa" pos="7:0" rst="0">
  79908. <comment>DCI false alarm</comment>
  79909. </bits>
  79910. </reg>
  79911. <reg name="dci1_info1" protect="rw">
  79912. <bits access="rw" name="ant_sel" pos="28" rst="0">
  79913. <comment>00
  79914. 11</comment>
  79915. </bits>
  79916. <bits access="rw" name="order_flag" pos="27" rst="0">
  79917. <comment>DCI1A
  79918. 0ORDER
  79919. 1ORDER</comment>
  79920. </bits>
  79921. <bits access="rw" name="sps_ind" pos="26:25" rst="0">
  79922. <comment>SPS-C-RNTI
  79923. 0
  79924. 1
  79925. 2
  79926. 3</comment>
  79927. </bits>
  79928. <bits access="rw" name="dci_type" pos="24:21" rst="0">
  79929. <comment>DCI
  79930. 0:DCI1
  79931. 1:DCI1
  79932. 2:DCI1A
  79933. 3:DCI1B
  79934. 4:DCI1C
  79935. 5:DCI1D
  79936. 6:DCI2
  79937. 7:DCI2A
  79938. 8:DCI2B
  79939. 9:DCI2C
  79940. 10:DCI3/3A</comment>
  79941. </bits>
  79942. <bits access="rw" name="rnti_ind" pos="20:17" rst="0">
  79943. <comment>DCI RNTI
  79944. 0RNTI0SI-RNTI
  79945. 1RNTI1P-RNTI
  79946. 2RNTI2RA-RNTI
  79947. 3RNTI3C-RNTI
  79948. 4RNTI4SPS-RNTI
  79949. 5RNTI5T-RNTI
  79950. 6RNTI6TPCS-RNTI
  79951. 7RNTI7TPCC-RNTI
  79952. 8RNTI8G-RNTI
  79953. 9RNTI9SC-RNTI
  79954. 10RNTI10SC-N-RNTI</comment>
  79955. </bits>
  79956. <bits access="rw" name="comm_ue" pos="16" rst="0">
  79957. <comment>DCICOMMUE
  79958. 0
  79959. 1UE</comment>
  79960. </bits>
  79961. <bits access="rw" name="dci_stapos" pos="15:9" rst="0">
  79962. <comment>DCI(index:0~23)</comment>
  79963. </bits>
  79964. <bits access="rw" name="dci_llevel" pos="8:6" rst="0">
  79965. <comment>DCIL
  79966. 000L=1;
  79967. 001L=2;
  79968. 010L=4;
  79969. 011L=8;
  79970. 100L=12;
  79971. 101L=16;
  79972. 110L=24;</comment>
  79973. </bits>
  79974. <bits access="rw" name="dci_len" pos="5:0" rst="0">
  79975. <comment>DCI (max38)</comment>
  79976. </bits>
  79977. </reg>
  79978. <reg name="dci1_info2" protect="rw">
  79979. <bits access="rw" name="pmi_confm" pos="31" rst="0">
  79980. <comment>PMIDCIPMI
  79981. 0DCIPMI
  79982. 1PMI</comment>
  79983. </bits>
  79984. <bits access="rw" name="hq_proc" pos="30:27" rst="0">
  79985. <comment>HARQ:0~15</comment>
  79986. </bits>
  79987. <bits access="rw" name="pmi_indx" pos="26:23" rst="0">
  79988. <comment>tx2:0~3tx4:0~15</comment>
  79989. </bits>
  79990. <bits access="rw" name="trans_scheme" pos="22:20" rst="0">
  79991. <comment>0
  79992. 1
  79993. 2
  79994. 3PORT7
  79995. 4PORT8
  79996. 5PORT5</comment>
  79997. </bits>
  79998. <bits access="rw" name="ra_type" pos="19" rst="0">
  79999. <comment>0
  80000. 1</comment>
  80001. </bits>
  80002. <bits access="rw" name="n_scid" pos="18" rst="0">
  80003. <comment>Nscid(UE)0~1</comment>
  80004. </bits>
  80005. <bits access="rw" name="rv_sel" pos="17:16" rst="0">
  80006. <comment>0~3</comment>
  80007. </bits>
  80008. <bits access="rw" name="modu_type" pos="15:14" rst="0">
  80009. <comment>0:QPSK
  80010. 1:16QAM
  80011. 2:64QAM</comment>
  80012. </bits>
  80013. <bits access="rw" name="tb_size" pos="13:0" rst="0">
  80014. <comment>max10296</comment>
  80015. </bits>
  80016. </reg>
  80017. <reg name="dci1_info3" protect="rw">
  80018. <bits access="rw" name="rep" pos="21:19" rst="0">
  80019. <comment>DCI1C</comment>
  80020. </bits>
  80021. <bits access="rw" name="mcs" pos="18:14" rst="0">
  80022. <comment/>
  80023. </bits>
  80024. <bits access="rw" name="cw2_flag" pos="13" rst="0">
  80025. <comment>DCI2/DCI2A/DCI2B/DCI2C2
  80026. 01
  80027. 12</comment>
  80028. </bits>
  80029. <bits access="rw" name="cs_dmrs" pos="12:10" rst="0">
  80030. <comment>DCI1</comment>
  80031. </bits>
  80032. <bits access="rw" name="cqi_indx" pos="9:8" rst="0">
  80033. <comment>DCI1CQI</comment>
  80034. </bits>
  80035. <bits access="rw" name="tb_cw" pos="7" rst="0">
  80036. <comment>DCI2/DCI2ATBCW
  80037. 0
  80038. 1</comment>
  80039. </bits>
  80040. <bits access="rw" name="srs_req" pos="6" rst="0">
  80041. <comment>SRS
  80042. SRQDCI1DCI1ADCI2B TDDDCI2C TDD</comment>
  80043. </bits>
  80044. <bits access="rw" name="ndi_ind" pos="5" rst="0">
  80045. <comment/>
  80046. </bits>
  80047. <bits access="rw" name="pwr_ofst" pos="4" rst="0">
  80048. <comment>DCI1D POWER OFFSET</comment>
  80049. </bits>
  80050. <bits access="rw" name="dai" pos="3:2" rst="0">
  80051. <comment>DAI</comment>
  80052. </bits>
  80053. <bits access="rw" name="tpc_step" pos="1:0" rst="0">
  80054. <comment/>
  80055. </bits>
  80056. </reg>
  80057. <reg name="dci1_info4" protect="rw">
  80058. <bits access="rw" name="nul_fd" pos="31:15" rst="0">
  80059. <comment/>
  80060. </bits>
  80061. <bits access="rw" name="ra_type" pos="14" rst="0">
  80062. <comment>0TYPE0
  80063. 1TYPE1</comment>
  80064. </bits>
  80065. <bits access="rw" name="rb_hop_flag" pos="13" rst="0">
  80066. <comment>Type0</comment>
  80067. </bits>
  80068. <bits access="rw" name="rba" pos="12:0" rst="0">
  80069. <comment>Type0/Type1RBA</comment>
  80070. </bits>
  80071. </reg>
  80072. <reg name="dci1_info5" protect="rw">
  80073. <bits access="rw" name="rb_bm_00" pos="31:0" rst="0">
  80074. <comment>0.5msbitmapbit[63:32]prbbit
  80075. 0prb
  80076. 1prb</comment>
  80077. </bits>
  80078. </reg>
  80079. <reg name="dci1_info6" protect="rw">
  80080. <bits access="rw" name="rb_bm_01" pos="31:0" rst="0">
  80081. <comment>0.5msbitmapbitprb[63:32]bit
  80082. 0prb
  80083. 1prb</comment>
  80084. </bits>
  80085. </reg>
  80086. <reg name="dci1_info7" protect="rw">
  80087. <bits access="rw" name="rb_bm_02" pos="31:0" rst="0">
  80088. <comment>0.5msbitmapbitprb[95:64]bit
  80089. 0prb
  80090. 1prb</comment>
  80091. </bits>
  80092. </reg>
  80093. <reg name="dci1_info8" protect="rw">
  80094. <bits access="rw" name="rb_bm_03" pos="3:0" rst="0">
  80095. <comment>0.5msbitmapbitprb[99:96]bit
  80096. 0prb
  80097. 1prb</comment>
  80098. </bits>
  80099. </reg>
  80100. <reg name="dci1_info9" protect="rw">
  80101. <bits access="rw" name="rb_bm_10" pos="31:0" rst="0">
  80102. <comment>0.5msbitmapbit[63:32]prbbit
  80103. 0prb
  80104. 1prb</comment>
  80105. </bits>
  80106. </reg>
  80107. <reg name="dci1_info10" protect="rw">
  80108. <bits access="rw" name="rb_bm_11" pos="31:0" rst="0">
  80109. <comment>0.5msbitmapbitprb[63:32]bit
  80110. 0prb
  80111. 1prb</comment>
  80112. </bits>
  80113. </reg>
  80114. <reg name="dci1_info11" protect="rw">
  80115. <bits access="rw" name="rb_bm_12" pos="31:0" rst="0">
  80116. <comment>0.5msbitmapbitprb[95:64]bit
  80117. 0prb
  80118. 1prb</comment>
  80119. </bits>
  80120. </reg>
  80121. <reg name="dci1_info12" protect="rw">
  80122. <bits access="rw" name="rb_bm_13" pos="3:0" rst="0">
  80123. <comment>0.5msbitmapbitprb[99:96]bit
  80124. 0prb
  80125. 1prb</comment>
  80126. </bits>
  80127. </reg>
  80128. <reg name="dci2_out1" protect="rw">
  80129. <bits access="rw" name="dci2_out1_dci2_out1" pos="31:0" rst="0">
  80130. <comment>DCI232</comment>
  80131. </bits>
  80132. </reg>
  80133. <reg name="dci2_out2" protect="rw">
  80134. <bits access="rw" name="dci2_out2_dci2_out2" pos="31:0" rst="0">
  80135. <comment>DCI232</comment>
  80136. </bits>
  80137. </reg>
  80138. <reg name="dci2_pwr" protect="rw">
  80139. <bits access="rw" name="dci_pwr" pos="25:0" rst="0">
  80140. <comment>DCI</comment>
  80141. </bits>
  80142. </reg>
  80143. <reg name="dci2_fa" protect="rw">
  80144. <bits access="rw" name="dci_fa_zero" pos="15:8" rst="0">
  80145. <comment>DCI false alarm0</comment>
  80146. </bits>
  80147. <bits access="rw" name="dci_fa" pos="7:0" rst="0">
  80148. <comment>DCI false alarm</comment>
  80149. </bits>
  80150. </reg>
  80151. <reg name="dci2_info1" protect="rw">
  80152. <bits access="rw" name="ant_sel" pos="28" rst="0">
  80153. <comment>00
  80154. 11</comment>
  80155. </bits>
  80156. <bits access="rw" name="order_flag" pos="27" rst="0">
  80157. <comment>DCI2A
  80158. 0ORDER
  80159. 1ORDER</comment>
  80160. </bits>
  80161. <bits access="rw" name="sps_ind" pos="26:25" rst="0">
  80162. <comment>SPS-C-RNTI
  80163. 0
  80164. 1
  80165. 2
  80166. 3</comment>
  80167. </bits>
  80168. <bits access="rw" name="dci_type" pos="24:21" rst="0">
  80169. <comment>DCI
  80170. 0:DCI2
  80171. 1:DCI2
  80172. 2:DCI2A
  80173. 3:DCI2B
  80174. 4:DCI2C
  80175. 5:DCI2D
  80176. 6:DCI2
  80177. 7:DCI2A
  80178. 8:DCI2B
  80179. 9:DCI2C
  80180. 10:DCI3/3A</comment>
  80181. </bits>
  80182. <bits access="rw" name="rnti_ind" pos="20:17" rst="0">
  80183. <comment>DCI RNTI
  80184. 0RNTI0SI-RNTI
  80185. 1RNTI1P-RNTI
  80186. 2RNTI2RA-RNTI
  80187. 3RNTI3C-RNTI
  80188. 4RNTI4SPS-RNTI
  80189. 5RNTI5T-RNTI
  80190. 6RNTI6TPCS-RNTI
  80191. 7RNTI7TPCC-RNTI
  80192. 8RNTI8G-RNTI
  80193. 9RNTI9SC-RNTI
  80194. 10RNTI10SC-N-RNTI</comment>
  80195. </bits>
  80196. <bits access="rw" name="comm_ue" pos="16" rst="0">
  80197. <comment>DCICOMMUE
  80198. 0
  80199. 1UE</comment>
  80200. </bits>
  80201. <bits access="rw" name="dci_stapos" pos="15:9" rst="0">
  80202. <comment>DCI(index:0~23)</comment>
  80203. </bits>
  80204. <bits access="rw" name="dci_llevel" pos="8:6" rst="0">
  80205. <comment>DCIL
  80206. 000L=1;
  80207. 001L=2;
  80208. 010L=4;
  80209. 011L=8;
  80210. 100L=12;
  80211. 101L=16;
  80212. 110L=24;</comment>
  80213. </bits>
  80214. <bits access="rw" name="dci_len" pos="5:0" rst="0">
  80215. <comment>DCI (max38)</comment>
  80216. </bits>
  80217. </reg>
  80218. <reg name="dci2_info2" protect="rw">
  80219. <bits access="rw" name="pmi_confm" pos="31" rst="0">
  80220. <comment>PMIDCIPMI
  80221. 0DCIPMI
  80222. 1PMI</comment>
  80223. </bits>
  80224. <bits access="rw" name="hq_proc" pos="30:27" rst="0">
  80225. <comment>HARQ:0~15</comment>
  80226. </bits>
  80227. <bits access="rw" name="pmi_indx" pos="26:23" rst="0">
  80228. <comment>tx2:0~3tx4:0~15</comment>
  80229. </bits>
  80230. <bits access="rw" name="trans_scheme" pos="22:20" rst="0">
  80231. <comment>0
  80232. 1
  80233. 2
  80234. 3PORT7
  80235. 4PORT8
  80236. 5PORT5</comment>
  80237. </bits>
  80238. <bits access="rw" name="ra_type" pos="19" rst="0">
  80239. <comment>0
  80240. 1</comment>
  80241. </bits>
  80242. <bits access="rw" name="n_scid" pos="18" rst="0">
  80243. <comment>Nscid(UE)0~1</comment>
  80244. </bits>
  80245. <bits access="rw" name="rv_sel" pos="17:16" rst="0">
  80246. <comment>0~3</comment>
  80247. </bits>
  80248. <bits access="rw" name="modu_type" pos="15:14" rst="0">
  80249. <comment>0:QPSK
  80250. 1:16QAM
  80251. 2:64QAM</comment>
  80252. </bits>
  80253. <bits access="rw" name="tb_size" pos="13:0" rst="0">
  80254. <comment>max10296</comment>
  80255. </bits>
  80256. </reg>
  80257. <reg name="dci2_info3" protect="rw">
  80258. <bits access="rw" name="rep" pos="21:19" rst="0">
  80259. <comment>DCI2C</comment>
  80260. </bits>
  80261. <bits access="rw" name="mcs" pos="18:14" rst="0">
  80262. <comment/>
  80263. </bits>
  80264. <bits access="rw" name="cw2_flag" pos="13" rst="0">
  80265. <comment>DCI2/DCI2A/DCI2B/DCI2C2
  80266. 01
  80267. 12</comment>
  80268. </bits>
  80269. <bits access="rw" name="cs_dmrs" pos="12:10" rst="0">
  80270. <comment>DCI2</comment>
  80271. </bits>
  80272. <bits access="rw" name="cqi_indx" pos="9:8" rst="0">
  80273. <comment>DCI2CQI</comment>
  80274. </bits>
  80275. <bits access="rw" name="tb_cw" pos="7" rst="0">
  80276. <comment>DCI2/DCI2ATBCW
  80277. 0
  80278. 1</comment>
  80279. </bits>
  80280. <bits access="rw" name="srs_req" pos="6" rst="0">
  80281. <comment>SRS
  80282. SRQDCI2DCI2ADCI2B TDDDCI2C TDD</comment>
  80283. </bits>
  80284. <bits access="rw" name="ndi_ind" pos="5" rst="0">
  80285. <comment/>
  80286. </bits>
  80287. <bits access="rw" name="pwr_ofst" pos="4" rst="0">
  80288. <comment>DCI2D POWER OFFSET</comment>
  80289. </bits>
  80290. <bits access="rw" name="dai" pos="3:2" rst="0">
  80291. <comment>DAI</comment>
  80292. </bits>
  80293. <bits access="rw" name="tpc_step" pos="1:0" rst="0">
  80294. <comment/>
  80295. </bits>
  80296. </reg>
  80297. <reg name="dci2_info4" protect="rw">
  80298. <bits access="rw" name="nul_fd" pos="31:15" rst="0">
  80299. <comment/>
  80300. </bits>
  80301. <bits access="rw" name="ra_type" pos="14" rst="0">
  80302. <comment>0TYPE0
  80303. 1TYPE1</comment>
  80304. </bits>
  80305. <bits access="rw" name="rb_hop_flag" pos="13" rst="0">
  80306. <comment>Type0</comment>
  80307. </bits>
  80308. <bits access="rw" name="rba" pos="12:0" rst="0">
  80309. <comment>Type0/Type1RBA</comment>
  80310. </bits>
  80311. </reg>
  80312. <reg name="dci2_info5" protect="rw">
  80313. <bits access="rw" name="rb_bm_00" pos="31:0" rst="0">
  80314. <comment>0.5msbitmapbit[63:32]prbbit
  80315. 0prb
  80316. 1prb</comment>
  80317. </bits>
  80318. </reg>
  80319. <reg name="dci2_info6" protect="rw">
  80320. <bits access="rw" name="rb_bm_01" pos="31:0" rst="0">
  80321. <comment>0.5msbitmapbitprb[63:32]bit
  80322. 0prb
  80323. 1prb</comment>
  80324. </bits>
  80325. </reg>
  80326. <reg name="dci2_info7" protect="rw">
  80327. <bits access="rw" name="rb_bm_02" pos="31:0" rst="0">
  80328. <comment>0.5msbitmapbitprb[95:64]bit
  80329. 0prb
  80330. 1prb</comment>
  80331. </bits>
  80332. </reg>
  80333. <reg name="dci2_info8" protect="rw">
  80334. <bits access="rw" name="rb_bm_03" pos="3:0" rst="0">
  80335. <comment>0.5msbitmapbitprb[99:96]bit
  80336. 0prb
  80337. 1prb</comment>
  80338. </bits>
  80339. </reg>
  80340. <reg name="dci2_info9" protect="rw">
  80341. <bits access="rw" name="rb_bm_10" pos="31:0" rst="0">
  80342. <comment>0.5msbitmapbit[63:32]prbbit
  80343. 0prb
  80344. 1prb</comment>
  80345. </bits>
  80346. </reg>
  80347. <reg name="dci2_info10" protect="rw">
  80348. <bits access="rw" name="rb_bm_11" pos="31:0" rst="0">
  80349. <comment>0.5msbitmapbitprb[63:32]bit
  80350. 0prb
  80351. 1prb</comment>
  80352. </bits>
  80353. </reg>
  80354. <reg name="dci2_info11" protect="rw">
  80355. <bits access="rw" name="rb_bm_12" pos="31:0" rst="0">
  80356. <comment>0.5msbitmapbitprb[95:64]bit
  80357. 0prb
  80358. 1prb</comment>
  80359. </bits>
  80360. </reg>
  80361. <reg name="dci2_info12" protect="rw">
  80362. <bits access="rw" name="rb_bm_13" pos="3:0" rst="0">
  80363. <comment>0.5msbitmapbitprb[99:96]bit
  80364. 0prb
  80365. 1prb</comment>
  80366. </bits>
  80367. </reg>
  80368. <reg name="dci3_out1" protect="rw">
  80369. <bits access="rw" name="dci3_out1_dci3_out1" pos="31:0" rst="0">
  80370. <comment>DCI332</comment>
  80371. </bits>
  80372. </reg>
  80373. <reg name="dci3_out2" protect="rw">
  80374. <bits access="rw" name="dci3_out2_dci3_out2" pos="31:0" rst="0">
  80375. <comment>DCI332</comment>
  80376. </bits>
  80377. </reg>
  80378. <reg name="dci3_pwr" protect="rw">
  80379. <bits access="rw" name="dci_pwr" pos="25:0" rst="0">
  80380. <comment>DCI</comment>
  80381. </bits>
  80382. </reg>
  80383. <reg name="dci3_fa" protect="rw">
  80384. <bits access="rw" name="dci_fa_zero" pos="15:8" rst="0">
  80385. <comment>DCI false alarm0</comment>
  80386. </bits>
  80387. <bits access="rw" name="dci_fa" pos="7:0" rst="0">
  80388. <comment>DCI false alarm</comment>
  80389. </bits>
  80390. </reg>
  80391. <reg name="dci3_info1" protect="rw">
  80392. <bits access="rw" name="ant_sel" pos="28" rst="0">
  80393. <comment>00
  80394. 11</comment>
  80395. </bits>
  80396. <bits access="rw" name="order_flag" pos="27" rst="0">
  80397. <comment>DCI3A
  80398. 0ORDER
  80399. 1ORDER</comment>
  80400. </bits>
  80401. <bits access="rw" name="sps_ind" pos="26:25" rst="0">
  80402. <comment>SPS-C-RNTI
  80403. 0
  80404. 1
  80405. 2
  80406. 3</comment>
  80407. </bits>
  80408. <bits access="rw" name="dci_type" pos="24:21" rst="0">
  80409. <comment>DCI
  80410. 0:DCI3
  80411. 1:DCI3
  80412. 2:DCI3A
  80413. 3:DCI3B
  80414. 4:DCI3C
  80415. 5:DCI3D
  80416. 6:DCI3
  80417. 7:DCI3A
  80418. 8:DCI3B
  80419. 9:DCI3C
  80420. 10:DCI3/3A</comment>
  80421. </bits>
  80422. <bits access="rw" name="rnti_ind" pos="20:17" rst="0">
  80423. <comment>DCI RNTI
  80424. 0RNTI0SI-RNTI
  80425. 1RNTI1P-RNTI
  80426. 2RNTI2RA-RNTI
  80427. 3RNTI3C-RNTI
  80428. 4RNTI4SPS-RNTI
  80429. 5RNTI5T-RNTI
  80430. 6RNTI6TPCS-RNTI
  80431. 7RNTI7TPCC-RNTI
  80432. 8RNTI8G-RNTI
  80433. 9RNTI9SC-RNTI
  80434. 10RNTI10SC-N-RNTI</comment>
  80435. </bits>
  80436. <bits access="rw" name="comm_ue" pos="16" rst="0">
  80437. <comment>DCICOMMUE
  80438. 0
  80439. 1UE</comment>
  80440. </bits>
  80441. <bits access="rw" name="dci_stapos" pos="15:9" rst="0">
  80442. <comment>DCI(index:0~23)</comment>
  80443. </bits>
  80444. <bits access="rw" name="dci_llevel" pos="8:6" rst="0">
  80445. <comment>DCIL
  80446. 000L=1;
  80447. 001L=2;
  80448. 010L=4;
  80449. 011L=8;
  80450. 100L=12;
  80451. 101L=16;
  80452. 110L=24;</comment>
  80453. </bits>
  80454. <bits access="rw" name="dci_len" pos="5:0" rst="0">
  80455. <comment>DCI (max38)</comment>
  80456. </bits>
  80457. </reg>
  80458. <reg name="dci3_info2" protect="rw">
  80459. <bits access="rw" name="pmi_confm" pos="31" rst="0">
  80460. <comment>PMIDCIPMI
  80461. 0DCIPMI
  80462. 1PMI</comment>
  80463. </bits>
  80464. <bits access="rw" name="hq_proc" pos="30:27" rst="0">
  80465. <comment>HARQ:0~15</comment>
  80466. </bits>
  80467. <bits access="rw" name="pmi_indx" pos="26:23" rst="0">
  80468. <comment>tx2:0~3tx4:0~15</comment>
  80469. </bits>
  80470. <bits access="rw" name="trans_scheme" pos="22:20" rst="0">
  80471. <comment>0
  80472. 1
  80473. 2
  80474. 3PORT7
  80475. 4PORT8
  80476. 5PORT5</comment>
  80477. </bits>
  80478. <bits access="rw" name="ra_type" pos="19" rst="0">
  80479. <comment>0
  80480. 1</comment>
  80481. </bits>
  80482. <bits access="rw" name="n_scid" pos="18" rst="0">
  80483. <comment>Nscid(UE)0~1</comment>
  80484. </bits>
  80485. <bits access="rw" name="rv_sel" pos="17:16" rst="0">
  80486. <comment>0~3</comment>
  80487. </bits>
  80488. <bits access="rw" name="modu_type" pos="15:14" rst="0">
  80489. <comment>0:QPSK
  80490. 1:16QAM
  80491. 2:64QAM</comment>
  80492. </bits>
  80493. <bits access="rw" name="tb_size" pos="13:0" rst="0">
  80494. <comment>max10296</comment>
  80495. </bits>
  80496. </reg>
  80497. <reg name="dci3_info3" protect="rw">
  80498. <bits access="rw" name="rep" pos="21:19" rst="0">
  80499. <comment>DCI3C</comment>
  80500. </bits>
  80501. <bits access="rw" name="mcs" pos="18:14" rst="0">
  80502. <comment/>
  80503. </bits>
  80504. <bits access="rw" name="cw2_flag" pos="13" rst="0">
  80505. <comment>DCI3/DCI3A/DCI3B/DCI3C2
  80506. 01
  80507. 12</comment>
  80508. </bits>
  80509. <bits access="rw" name="cs_dmrs" pos="12:10" rst="0">
  80510. <comment>DCI3</comment>
  80511. </bits>
  80512. <bits access="rw" name="cqi_indx" pos="9:8" rst="0">
  80513. <comment>DCI3CQI</comment>
  80514. </bits>
  80515. <bits access="rw" name="tb_cw" pos="7" rst="0">
  80516. <comment>DCI3/DCI3ATBCW
  80517. 0
  80518. 1</comment>
  80519. </bits>
  80520. <bits access="rw" name="srs_req" pos="6" rst="0">
  80521. <comment>SRS
  80522. SRQDCI3DCI3ADCI3B TDDDCI3C TDD</comment>
  80523. </bits>
  80524. <bits access="rw" name="ndi_ind" pos="5" rst="0">
  80525. <comment/>
  80526. </bits>
  80527. <bits access="rw" name="pwr_ofst" pos="4" rst="0">
  80528. <comment>DCI3D POWER OFFSET</comment>
  80529. </bits>
  80530. <bits access="rw" name="dai" pos="3:2" rst="0">
  80531. <comment>DAI</comment>
  80532. </bits>
  80533. <bits access="rw" name="tpc_step" pos="1:0" rst="0">
  80534. <comment/>
  80535. </bits>
  80536. </reg>
  80537. <reg name="dci3_info4" protect="rw">
  80538. <bits access="rw" name="nul_fd" pos="31:15" rst="0">
  80539. <comment/>
  80540. </bits>
  80541. <bits access="rw" name="ra_type" pos="14" rst="0">
  80542. <comment>0TYPE0
  80543. 1TYPE1</comment>
  80544. </bits>
  80545. <bits access="rw" name="rb_hop_flag" pos="13" rst="0">
  80546. <comment>Type0</comment>
  80547. </bits>
  80548. <bits access="rw" name="rba" pos="12:0" rst="0">
  80549. <comment>Type0/Type1RBA</comment>
  80550. </bits>
  80551. </reg>
  80552. <reg name="dci3_info5" protect="rw">
  80553. <bits access="rw" name="rb_bm_00" pos="31:0" rst="0">
  80554. <comment>0.5msbitmapbit[63:32]prbbit
  80555. 0prb
  80556. 1prb</comment>
  80557. </bits>
  80558. </reg>
  80559. <reg name="dci3_info6" protect="rw">
  80560. <bits access="rw" name="rb_bm_01" pos="31:0" rst="0">
  80561. <comment>0.5msbitmapbitprb[63:32]bit
  80562. 0prb
  80563. 1prb</comment>
  80564. </bits>
  80565. </reg>
  80566. <reg name="dci3_info7" protect="rw">
  80567. <bits access="rw" name="rb_bm_02" pos="31:0" rst="0">
  80568. <comment>0.5msbitmapbitprb[95:64]bit
  80569. 0prb
  80570. 1prb</comment>
  80571. </bits>
  80572. </reg>
  80573. <reg name="dci3_info8" protect="rw">
  80574. <bits access="rw" name="rb_bm_03" pos="3:0" rst="0">
  80575. <comment>0.5msbitmapbitprb[99:96]bit
  80576. 0prb
  80577. 1prb</comment>
  80578. </bits>
  80579. </reg>
  80580. <reg name="dci3_info9" protect="rw">
  80581. <bits access="rw" name="rb_bm_10" pos="31:0" rst="0">
  80582. <comment>0.5msbitmapbit[63:32]prbbit
  80583. 0prb
  80584. 1prb</comment>
  80585. </bits>
  80586. </reg>
  80587. <reg name="dci3_info10" protect="rw">
  80588. <bits access="rw" name="rb_bm_11" pos="31:0" rst="0">
  80589. <comment>0.5msbitmapbitprb[63:32]bit
  80590. 0prb
  80591. 1prb</comment>
  80592. </bits>
  80593. </reg>
  80594. <reg name="dci3_info11" protect="rw">
  80595. <bits access="rw" name="rb_bm_12" pos="31:0" rst="0">
  80596. <comment>0.5msbitmapbitprb[95:64]bit
  80597. 0prb
  80598. 1prb</comment>
  80599. </bits>
  80600. </reg>
  80601. <reg name="dci3_info12" protect="rw">
  80602. <bits access="rw" name="rb_bm_13" pos="3:0" rst="0">
  80603. <comment>0.5msbitmapbitprb[99:96]bit
  80604. 0prb
  80605. 1prb</comment>
  80606. </bits>
  80607. </reg>
  80608. <reg name="dci4_out1" protect="rw">
  80609. <bits access="rw" name="dci4_out1_dci4_out1" pos="31:0" rst="0">
  80610. <comment>DCI432</comment>
  80611. </bits>
  80612. </reg>
  80613. <reg name="dci4_out2" protect="rw">
  80614. <bits access="rw" name="dci4_out2_dci4_out2" pos="31:0" rst="0">
  80615. <comment>DCI432</comment>
  80616. </bits>
  80617. </reg>
  80618. <reg name="dci4_pwr" protect="rw">
  80619. <bits access="rw" name="dci_pwr" pos="25:0" rst="0">
  80620. <comment>DCI</comment>
  80621. </bits>
  80622. </reg>
  80623. <reg name="dci4_fa" protect="rw">
  80624. <bits access="rw" name="dci_fa_zero" pos="15:8" rst="0">
  80625. <comment>DCI false alarm0</comment>
  80626. </bits>
  80627. <bits access="rw" name="dci_fa" pos="7:0" rst="0">
  80628. <comment>DCI false alarm</comment>
  80629. </bits>
  80630. </reg>
  80631. <reg name="dci4_info1" protect="rw">
  80632. <bits access="rw" name="ant_sel" pos="28" rst="0">
  80633. <comment>00
  80634. 11</comment>
  80635. </bits>
  80636. <bits access="rw" name="order_flag" pos="27" rst="0">
  80637. <comment>DCI4A
  80638. 0ORDER
  80639. 1ORDER</comment>
  80640. </bits>
  80641. <bits access="rw" name="sps_ind" pos="26:25" rst="0">
  80642. <comment>SPS-C-RNTI
  80643. 0
  80644. 1
  80645. 2
  80646. 3</comment>
  80647. </bits>
  80648. <bits access="rw" name="dci_type" pos="24:21" rst="0">
  80649. <comment>DCI
  80650. 0:DCI4
  80651. 1:DCI4
  80652. 2:DCI4A
  80653. 3:DCI4B
  80654. 4:DCI4C
  80655. 5:DCI4D
  80656. 6:DCI4
  80657. 7:DCI4A
  80658. 8:DCI4B
  80659. 9:DCI4C
  80660. 10:DCI4/3A</comment>
  80661. </bits>
  80662. <bits access="rw" name="rnti_ind" pos="20:17" rst="0">
  80663. <comment>DCI RNTI
  80664. 0RNTI0SI-RNTI
  80665. 1RNTI1P-RNTI
  80666. 2RNTI2RA-RNTI
  80667. 3RNTI3C-RNTI
  80668. 4RNTI4SPS-RNTI
  80669. 5RNTI5T-RNTI
  80670. 6RNTI6TPCS-RNTI
  80671. 7RNTI7TPCC-RNTI
  80672. 8RNTI8G-RNTI
  80673. 9RNTI9SC-RNTI
  80674. 10RNTI10SC-N-RNTI</comment>
  80675. </bits>
  80676. <bits access="rw" name="comm_ue" pos="16" rst="0">
  80677. <comment>DCICOMMUE
  80678. 0
  80679. 1UE</comment>
  80680. </bits>
  80681. <bits access="rw" name="dci_stapos" pos="15:9" rst="0">
  80682. <comment>DCI(index:0~23)</comment>
  80683. </bits>
  80684. <bits access="rw" name="dci_llevel" pos="8:6" rst="0">
  80685. <comment>DCIL
  80686. 000L=1;
  80687. 001L=2;
  80688. 010L=4;
  80689. 011L=8;
  80690. 100L=12;
  80691. 101L=16;
  80692. 110L=24;</comment>
  80693. </bits>
  80694. <bits access="rw" name="dci_len" pos="5:0" rst="0">
  80695. <comment>DCI (max38)</comment>
  80696. </bits>
  80697. </reg>
  80698. <reg name="dci4_info2" protect="rw">
  80699. <bits access="rw" name="pmi_confm" pos="31" rst="0">
  80700. <comment>PMIDCIPMI
  80701. 0DCIPMI
  80702. 1PMI</comment>
  80703. </bits>
  80704. <bits access="rw" name="hq_proc" pos="30:27" rst="0">
  80705. <comment>HARQ:0~15</comment>
  80706. </bits>
  80707. <bits access="rw" name="pmi_indx" pos="26:23" rst="0">
  80708. <comment>tx2:0~3tx4:0~15</comment>
  80709. </bits>
  80710. <bits access="rw" name="trans_scheme" pos="22:20" rst="0">
  80711. <comment>0
  80712. 1
  80713. 2
  80714. 3PORT7
  80715. 4PORT8
  80716. 5PORT5</comment>
  80717. </bits>
  80718. <bits access="rw" name="ra_type" pos="19" rst="0">
  80719. <comment>0
  80720. 1</comment>
  80721. </bits>
  80722. <bits access="rw" name="n_scid" pos="18" rst="0">
  80723. <comment>Nscid(UE)0~1</comment>
  80724. </bits>
  80725. <bits access="rw" name="rv_sel" pos="17:16" rst="0">
  80726. <comment>0~3</comment>
  80727. </bits>
  80728. <bits access="rw" name="modu_type" pos="15:14" rst="0">
  80729. <comment>0:QPSK
  80730. 1:16QAM
  80731. 2:64QAM</comment>
  80732. </bits>
  80733. <bits access="rw" name="tb_size" pos="13:0" rst="0">
  80734. <comment>max10296</comment>
  80735. </bits>
  80736. </reg>
  80737. <reg name="dci4_info3" protect="rw">
  80738. <bits access="rw" name="rep" pos="21:19" rst="0">
  80739. <comment>DCI4C</comment>
  80740. </bits>
  80741. <bits access="rw" name="mcs" pos="18:14" rst="0">
  80742. <comment/>
  80743. </bits>
  80744. <bits access="rw" name="cw2_flag" pos="13" rst="0">
  80745. <comment>DCI4/DCI4A/DCI4B/DCI4C2
  80746. 01
  80747. 12</comment>
  80748. </bits>
  80749. <bits access="rw" name="cs_dmrs" pos="12:10" rst="0">
  80750. <comment>DCI4</comment>
  80751. </bits>
  80752. <bits access="rw" name="cqi_indx" pos="9:8" rst="0">
  80753. <comment>DCI4CQI</comment>
  80754. </bits>
  80755. <bits access="rw" name="tb_cw" pos="7" rst="0">
  80756. <comment>DCI4/DCI4ATBCW
  80757. 0
  80758. 1</comment>
  80759. </bits>
  80760. <bits access="rw" name="srs_req" pos="6" rst="0">
  80761. <comment>SRS
  80762. SRQDCI4DCI4ADCI4B TDDDCI4C TDD</comment>
  80763. </bits>
  80764. <bits access="rw" name="ndi_ind" pos="5" rst="0">
  80765. <comment/>
  80766. </bits>
  80767. <bits access="rw" name="pwr_ofst" pos="4" rst="0">
  80768. <comment>DCI4D POWER OFFSET</comment>
  80769. </bits>
  80770. <bits access="rw" name="dai" pos="3:2" rst="0">
  80771. <comment>DAI</comment>
  80772. </bits>
  80773. <bits access="rw" name="tpc_step" pos="1:0" rst="0">
  80774. <comment/>
  80775. </bits>
  80776. </reg>
  80777. <reg name="dci4_info4" protect="rw">
  80778. <bits access="rw" name="nul_fd" pos="31:15" rst="0">
  80779. <comment/>
  80780. </bits>
  80781. <bits access="rw" name="ra_type" pos="14" rst="0">
  80782. <comment>0TYPE0
  80783. 1TYPE1</comment>
  80784. </bits>
  80785. <bits access="rw" name="rb_hop_flag" pos="13" rst="0">
  80786. <comment>Type0</comment>
  80787. </bits>
  80788. <bits access="rw" name="rba" pos="12:0" rst="0">
  80789. <comment>Type0/Type1RBA</comment>
  80790. </bits>
  80791. </reg>
  80792. <reg name="dci4_info5" protect="rw">
  80793. <bits access="rw" name="rb_bm_00" pos="31:0" rst="0">
  80794. <comment>0.5msbitmapbit[63:32]prbbit
  80795. 0prb
  80796. 1prb</comment>
  80797. </bits>
  80798. </reg>
  80799. <reg name="dci4_info6" protect="rw">
  80800. <bits access="rw" name="rb_bm_01" pos="31:0" rst="0">
  80801. <comment>0.5msbitmapbitprb[63:32]bit
  80802. 0prb
  80803. 1prb</comment>
  80804. </bits>
  80805. </reg>
  80806. <reg name="dci4_info7" protect="rw">
  80807. <bits access="rw" name="rb_bm_02" pos="31:0" rst="0">
  80808. <comment>0.5msbitmapbitprb[95:64]bit
  80809. 0prb
  80810. 1prb</comment>
  80811. </bits>
  80812. </reg>
  80813. <reg name="dci4_info8" protect="rw">
  80814. <bits access="rw" name="rb_bm_03" pos="3:0" rst="0">
  80815. <comment>0.5msbitmapbitprb[99:96]bit
  80816. 0prb
  80817. 1prb</comment>
  80818. </bits>
  80819. </reg>
  80820. <reg name="dci4_info9" protect="rw">
  80821. <bits access="rw" name="rb_bm_10" pos="31:0" rst="0">
  80822. <comment>0.5msbitmapbit[63:32]prbbit
  80823. 0prb
  80824. 1prb</comment>
  80825. </bits>
  80826. </reg>
  80827. <reg name="dci4_info10" protect="rw">
  80828. <bits access="rw" name="rb_bm_11" pos="31:0" rst="0">
  80829. <comment>0.5msbitmapbitprb[63:32]bit
  80830. 0prb
  80831. 1prb</comment>
  80832. </bits>
  80833. </reg>
  80834. <reg name="dci4_info11" protect="rw">
  80835. <bits access="rw" name="rb_bm_12" pos="31:0" rst="0">
  80836. <comment>0.5msbitmapbitprb[95:64]bit
  80837. 0prb
  80838. 1prb</comment>
  80839. </bits>
  80840. </reg>
  80841. <reg name="dci4_info12" protect="rw">
  80842. <bits access="rw" name="rb_bm_13" pos="3:0" rst="0">
  80843. <comment>0.5msbitmapbitprb[99:96]bit
  80844. 0prb
  80845. 1prb</comment>
  80846. </bits>
  80847. </reg>
  80848. <reg name="dci5_out1" protect="rw">
  80849. <bits access="rw" name="dci5_out1_dci5_out1" pos="31:0" rst="0">
  80850. <comment>DCI532</comment>
  80851. </bits>
  80852. </reg>
  80853. <reg name="dci5_out2" protect="rw">
  80854. <bits access="rw" name="dci5_out2_dci5_out2" pos="31:0" rst="0">
  80855. <comment>DCI532</comment>
  80856. </bits>
  80857. </reg>
  80858. <reg name="dci5_pwr" protect="rw">
  80859. <bits access="rw" name="dci_pwr" pos="25:0" rst="0">
  80860. <comment>DCI</comment>
  80861. </bits>
  80862. </reg>
  80863. <reg name="dci5_fa" protect="rw">
  80864. <bits access="rw" name="dci_fa_zero" pos="15:8" rst="0">
  80865. <comment>DCI false alarm0</comment>
  80866. </bits>
  80867. <bits access="rw" name="dci_fa" pos="7:0" rst="0">
  80868. <comment>DCI false alarm</comment>
  80869. </bits>
  80870. </reg>
  80871. <reg name="dci5_info1" protect="rw">
  80872. <bits access="rw" name="ant_sel" pos="28" rst="0">
  80873. <comment>00
  80874. 11</comment>
  80875. </bits>
  80876. <bits access="rw" name="order_flag" pos="27" rst="0">
  80877. <comment>DCI5A
  80878. 0ORDER
  80879. 1ORDER</comment>
  80880. </bits>
  80881. <bits access="rw" name="sps_ind" pos="26:25" rst="0">
  80882. <comment>SPS-C-RNTI
  80883. 0
  80884. 1
  80885. 2
  80886. 3</comment>
  80887. </bits>
  80888. <bits access="rw" name="dci_type" pos="24:21" rst="0">
  80889. <comment>DCI
  80890. 0:DCI5
  80891. 1:DCI5
  80892. 2:DCI5A
  80893. 3:DCI5B
  80894. 4:DCI5C
  80895. 5:DCI5D
  80896. 6:DCI5
  80897. 7:DCI5A
  80898. 8:DCI5B
  80899. 9:DCI5C
  80900. 10:DCI5/3A</comment>
  80901. </bits>
  80902. <bits access="rw" name="rnti_ind" pos="20:17" rst="0">
  80903. <comment>DCI RNTI
  80904. 0RNTI0SI-RNTI
  80905. 1RNTI1P-RNTI
  80906. 2RNTI2RA-RNTI
  80907. 3RNTI3C-RNTI
  80908. 4RNTI4SPS-RNTI
  80909. 5RNTI5T-RNTI
  80910. 6RNTI6TPCS-RNTI
  80911. 7RNTI7TPCC-RNTI
  80912. 8RNTI8G-RNTI
  80913. 9RNTI9SC-RNTI
  80914. 10RNTI10SC-N-RNTI</comment>
  80915. </bits>
  80916. <bits access="rw" name="comm_ue" pos="16" rst="0">
  80917. <comment>DCICOMMUE
  80918. 0
  80919. 1UE</comment>
  80920. </bits>
  80921. <bits access="rw" name="dci_stapos" pos="15:9" rst="0">
  80922. <comment>DCI(index:0~23)</comment>
  80923. </bits>
  80924. <bits access="rw" name="dci_llevel" pos="8:6" rst="0">
  80925. <comment>DCIL
  80926. 000L=1;
  80927. 001L=2;
  80928. 010L=4;
  80929. 011L=8;
  80930. 100L=12;
  80931. 101L=16;
  80932. 110L=24;</comment>
  80933. </bits>
  80934. <bits access="rw" name="dci_len" pos="5:0" rst="0">
  80935. <comment>DCI (max38)</comment>
  80936. </bits>
  80937. </reg>
  80938. <reg name="dci5_info2" protect="rw">
  80939. <bits access="rw" name="pmi_confm" pos="31" rst="0">
  80940. <comment>PMIDCIPMI
  80941. 0DCIPMI
  80942. 1PMI</comment>
  80943. </bits>
  80944. <bits access="rw" name="hq_proc" pos="30:27" rst="0">
  80945. <comment>HARQ:0~15</comment>
  80946. </bits>
  80947. <bits access="rw" name="pmi_indx" pos="26:23" rst="0">
  80948. <comment>tx2:0~3tx4:0~15</comment>
  80949. </bits>
  80950. <bits access="rw" name="trans_scheme" pos="22:20" rst="0">
  80951. <comment>0
  80952. 1
  80953. 2
  80954. 3PORT7
  80955. 4PORT8
  80956. 5PORT5</comment>
  80957. </bits>
  80958. <bits access="rw" name="ra_type" pos="19" rst="0">
  80959. <comment>0
  80960. 1</comment>
  80961. </bits>
  80962. <bits access="rw" name="n_scid" pos="18" rst="0">
  80963. <comment>Nscid(UE)0~1</comment>
  80964. </bits>
  80965. <bits access="rw" name="rv_sel" pos="17:16" rst="0">
  80966. <comment>0~3</comment>
  80967. </bits>
  80968. <bits access="rw" name="modu_type" pos="15:14" rst="0">
  80969. <comment>0:QPSK
  80970. 1:16QAM
  80971. 2:64QAM</comment>
  80972. </bits>
  80973. <bits access="rw" name="tb_size" pos="13:0" rst="0">
  80974. <comment>max10296</comment>
  80975. </bits>
  80976. </reg>
  80977. <reg name="dci5_info3" protect="rw">
  80978. <bits access="rw" name="rep" pos="21:19" rst="0">
  80979. <comment>DCI5C</comment>
  80980. </bits>
  80981. <bits access="rw" name="mcs" pos="18:14" rst="0">
  80982. <comment/>
  80983. </bits>
  80984. <bits access="rw" name="cw2_flag" pos="13" rst="0">
  80985. <comment>DCI5/DCI5A/DCI5B/DCI5C2
  80986. 01
  80987. 12</comment>
  80988. </bits>
  80989. <bits access="rw" name="cs_dmrs" pos="12:10" rst="0">
  80990. <comment>DCI5</comment>
  80991. </bits>
  80992. <bits access="rw" name="cqi_indx" pos="9:8" rst="0">
  80993. <comment>DCI5CQI</comment>
  80994. </bits>
  80995. <bits access="rw" name="tb_cw" pos="7" rst="0">
  80996. <comment>DCI5/DCI5ATBCW
  80997. 0
  80998. 1</comment>
  80999. </bits>
  81000. <bits access="rw" name="srs_req" pos="6" rst="0">
  81001. <comment>SRS
  81002. SRQDCI5DCI5ADCI5B TDDDCI5C TDD</comment>
  81003. </bits>
  81004. <bits access="rw" name="ndi_ind" pos="5" rst="0">
  81005. <comment/>
  81006. </bits>
  81007. <bits access="rw" name="pwr_ofst" pos="4" rst="0">
  81008. <comment>DCI5D POWER OFFSET</comment>
  81009. </bits>
  81010. <bits access="rw" name="dai" pos="3:2" rst="0">
  81011. <comment>DAI</comment>
  81012. </bits>
  81013. <bits access="rw" name="tpc_step" pos="1:0" rst="0">
  81014. <comment/>
  81015. </bits>
  81016. </reg>
  81017. <reg name="dci5_info4" protect="rw">
  81018. <bits access="rw" name="nul_fd" pos="31:15" rst="0">
  81019. <comment/>
  81020. </bits>
  81021. <bits access="rw" name="ra_type" pos="14" rst="0">
  81022. <comment>0TYPE0
  81023. 1TYPE1</comment>
  81024. </bits>
  81025. <bits access="rw" name="rb_hop_flag" pos="13" rst="0">
  81026. <comment>Type0</comment>
  81027. </bits>
  81028. <bits access="rw" name="rba" pos="12:0" rst="0">
  81029. <comment>Type0/Type1RBA</comment>
  81030. </bits>
  81031. </reg>
  81032. <reg name="dci5_info5" protect="rw">
  81033. <bits access="rw" name="rb_bm_00" pos="31:0" rst="0">
  81034. <comment>0.5msbitmapbit[63:32]prbbit
  81035. 0prb
  81036. 1prb</comment>
  81037. </bits>
  81038. </reg>
  81039. <reg name="dci5_info6" protect="rw">
  81040. <bits access="rw" name="rb_bm_01" pos="31:0" rst="0">
  81041. <comment>0.5msbitmapbitprb[63:32]bit
  81042. 0prb
  81043. 1prb</comment>
  81044. </bits>
  81045. </reg>
  81046. <reg name="dci5_info7" protect="rw">
  81047. <bits access="rw" name="rb_bm_02" pos="31:0" rst="0">
  81048. <comment>0.5msbitmapbitprb[95:64]bit
  81049. 0prb
  81050. 1prb</comment>
  81051. </bits>
  81052. </reg>
  81053. <reg name="dci5_info8" protect="rw">
  81054. <bits access="rw" name="rb_bm_03" pos="3:0" rst="0">
  81055. <comment>0.5msbitmapbitprb[99:96]bit
  81056. 0prb
  81057. 1prb</comment>
  81058. </bits>
  81059. </reg>
  81060. <reg name="dci5_info9" protect="rw">
  81061. <bits access="rw" name="rb_bm_10" pos="31:0" rst="0">
  81062. <comment>0.5msbitmapbit[63:32]prbbit
  81063. 0prb
  81064. 1prb</comment>
  81065. </bits>
  81066. </reg>
  81067. <reg name="dci5_info10" protect="rw">
  81068. <bits access="rw" name="rb_bm_11" pos="31:0" rst="0">
  81069. <comment>0.5msbitmapbitprb[63:32]bit
  81070. 0prb
  81071. 1prb</comment>
  81072. </bits>
  81073. </reg>
  81074. <reg name="dci5_info11" protect="rw">
  81075. <bits access="rw" name="rb_bm_12" pos="31:0" rst="0">
  81076. <comment>0.5msbitmapbitprb[95:64]bit
  81077. 0prb
  81078. 1prb</comment>
  81079. </bits>
  81080. </reg>
  81081. <reg name="dci5_info12" protect="rw">
  81082. <bits access="rw" name="rb_bm_13" pos="3:0" rst="0">
  81083. <comment>0.5msbitmapbitprb[99:96]bit
  81084. 0prb
  81085. 1prb</comment>
  81086. </bits>
  81087. </reg>
  81088. <reg name="dci6_out1" protect="rw">
  81089. <bits access="rw" name="dci6_out1_dci6_out1" pos="31:0" rst="0">
  81090. <comment>DCI632</comment>
  81091. </bits>
  81092. </reg>
  81093. <reg name="dci6_out2" protect="rw">
  81094. <bits access="rw" name="dci6_out2_dci6_out2" pos="31:0" rst="0">
  81095. <comment>DCI632</comment>
  81096. </bits>
  81097. </reg>
  81098. <reg name="dci6_pwr" protect="rw">
  81099. <bits access="rw" name="dci_pwr" pos="25:0" rst="0">
  81100. <comment>DCI</comment>
  81101. </bits>
  81102. </reg>
  81103. <reg name="dci6_fa" protect="rw">
  81104. <bits access="rw" name="dci_fa_zero" pos="15:8" rst="0">
  81105. <comment>DCI false alarm0</comment>
  81106. </bits>
  81107. <bits access="rw" name="dci_fa" pos="7:0" rst="0">
  81108. <comment>DCI false alarm</comment>
  81109. </bits>
  81110. </reg>
  81111. <reg name="dci6_info1" protect="rw">
  81112. <bits access="rw" name="ant_sel" pos="28" rst="0">
  81113. <comment>00
  81114. 11</comment>
  81115. </bits>
  81116. <bits access="rw" name="order_flag" pos="27" rst="0">
  81117. <comment>DCI6A
  81118. 0ORDER
  81119. 1ORDER</comment>
  81120. </bits>
  81121. <bits access="rw" name="sps_ind" pos="26:25" rst="0">
  81122. <comment>SPS-C-RNTI
  81123. 0
  81124. 1
  81125. 2
  81126. 3</comment>
  81127. </bits>
  81128. <bits access="rw" name="dci_type" pos="24:21" rst="0">
  81129. <comment>DCI
  81130. 0:DCI6
  81131. 1:DCI6
  81132. 2:DCI6A
  81133. 3:DCI6B
  81134. 4:DCI6C
  81135. 5:DCI6D
  81136. 6:DCI6
  81137. 7:DCI6A
  81138. 8:DCI6B
  81139. 9:DCI6C
  81140. 10:DCI6/3A</comment>
  81141. </bits>
  81142. <bits access="rw" name="rnti_ind" pos="20:17" rst="0">
  81143. <comment>DCI RNTI
  81144. 0RNTI0SI-RNTI
  81145. 1RNTI1P-RNTI
  81146. 2RNTI2RA-RNTI
  81147. 3RNTI3C-RNTI
  81148. 4RNTI4SPS-RNTI
  81149. 5RNTI5T-RNTI
  81150. 6RNTI6TPCS-RNTI
  81151. 7RNTI7TPCC-RNTI
  81152. 8RNTI8G-RNTI
  81153. 9RNTI9SC-RNTI
  81154. 10RNTI10SC-N-RNTI</comment>
  81155. </bits>
  81156. <bits access="rw" name="comm_ue" pos="16" rst="0">
  81157. <comment>DCICOMMUE
  81158. 0
  81159. 1UE</comment>
  81160. </bits>
  81161. <bits access="rw" name="dci_stapos" pos="15:9" rst="0">
  81162. <comment>DCI(index:0~23)</comment>
  81163. </bits>
  81164. <bits access="rw" name="dci_llevel" pos="8:6" rst="0">
  81165. <comment>DCIL
  81166. 000L=1;
  81167. 001L=2;
  81168. 010L=4;
  81169. 011L=8;
  81170. 100L=12;
  81171. 101L=16;
  81172. 110L=24;</comment>
  81173. </bits>
  81174. <bits access="rw" name="dci_len" pos="5:0" rst="0">
  81175. <comment>DCI (max38)</comment>
  81176. </bits>
  81177. </reg>
  81178. <reg name="dci6_info2" protect="rw">
  81179. <bits access="rw" name="pmi_confm" pos="31" rst="0">
  81180. <comment>PMIDCIPMI
  81181. 0DCIPMI
  81182. 1PMI</comment>
  81183. </bits>
  81184. <bits access="rw" name="hq_proc" pos="30:27" rst="0">
  81185. <comment>HARQ:0~15</comment>
  81186. </bits>
  81187. <bits access="rw" name="pmi_indx" pos="26:23" rst="0">
  81188. <comment>tx2:0~3tx4:0~15</comment>
  81189. </bits>
  81190. <bits access="rw" name="trans_scheme" pos="22:20" rst="0">
  81191. <comment>0
  81192. 1
  81193. 2
  81194. 3PORT7
  81195. 4PORT8
  81196. 5PORT5</comment>
  81197. </bits>
  81198. <bits access="rw" name="ra_type" pos="19" rst="0">
  81199. <comment>0
  81200. 1</comment>
  81201. </bits>
  81202. <bits access="rw" name="n_scid" pos="18" rst="0">
  81203. <comment>Nscid(UE)0~1</comment>
  81204. </bits>
  81205. <bits access="rw" name="rv_sel" pos="17:16" rst="0">
  81206. <comment>0~3</comment>
  81207. </bits>
  81208. <bits access="rw" name="modu_type" pos="15:14" rst="0">
  81209. <comment>0:QPSK
  81210. 1:16QAM
  81211. 2:64QAM</comment>
  81212. </bits>
  81213. <bits access="rw" name="tb_size" pos="13:0" rst="0">
  81214. <comment>max10296</comment>
  81215. </bits>
  81216. </reg>
  81217. <reg name="dci6_info3" protect="rw">
  81218. <bits access="rw" name="rep" pos="21:19" rst="0">
  81219. <comment>DCI6C</comment>
  81220. </bits>
  81221. <bits access="rw" name="mcs" pos="18:14" rst="0">
  81222. <comment/>
  81223. </bits>
  81224. <bits access="rw" name="cw2_flag" pos="13" rst="0">
  81225. <comment>DCI6/DCI6A/DCI6B/DCI6C2
  81226. 01
  81227. 12</comment>
  81228. </bits>
  81229. <bits access="rw" name="cs_dmrs" pos="12:10" rst="0">
  81230. <comment>DCI6</comment>
  81231. </bits>
  81232. <bits access="rw" name="cqi_indx" pos="9:8" rst="0">
  81233. <comment>DCI6CQI</comment>
  81234. </bits>
  81235. <bits access="rw" name="tb_cw" pos="7" rst="0">
  81236. <comment>DCI6/DCI6ATBCW
  81237. 0
  81238. 1</comment>
  81239. </bits>
  81240. <bits access="rw" name="srs_req" pos="6" rst="0">
  81241. <comment>SRS
  81242. SRQDCI6DCI6ADCI6B TDDDCI6C TDD</comment>
  81243. </bits>
  81244. <bits access="rw" name="ndi_ind" pos="5" rst="0">
  81245. <comment/>
  81246. </bits>
  81247. <bits access="rw" name="pwr_ofst" pos="4" rst="0">
  81248. <comment>DCI6D POWER OFFSET</comment>
  81249. </bits>
  81250. <bits access="rw" name="dai" pos="3:2" rst="0">
  81251. <comment>DAI</comment>
  81252. </bits>
  81253. <bits access="rw" name="tpc_step" pos="1:0" rst="0">
  81254. <comment/>
  81255. </bits>
  81256. </reg>
  81257. <reg name="dci6_info4" protect="rw">
  81258. <bits access="rw" name="nul_fd" pos="31:15" rst="0">
  81259. <comment/>
  81260. </bits>
  81261. <bits access="rw" name="ra_type" pos="14" rst="0">
  81262. <comment>0TYPE0
  81263. 1TYPE1</comment>
  81264. </bits>
  81265. <bits access="rw" name="rb_hop_flag" pos="13" rst="0">
  81266. <comment>Type0</comment>
  81267. </bits>
  81268. <bits access="rw" name="rba" pos="12:0" rst="0">
  81269. <comment>Type0/Type1RBA</comment>
  81270. </bits>
  81271. </reg>
  81272. <reg name="dci6_info5" protect="rw">
  81273. <bits access="rw" name="rb_bm_00" pos="31:0" rst="0">
  81274. <comment>0.5msbitmapbit[63:32]prbbit
  81275. 0prb
  81276. 1prb</comment>
  81277. </bits>
  81278. </reg>
  81279. <reg name="dci6_info6" protect="rw">
  81280. <bits access="rw" name="rb_bm_01" pos="31:0" rst="0">
  81281. <comment>0.5msbitmapbitprb[63:32]bit
  81282. 0prb
  81283. 1prb</comment>
  81284. </bits>
  81285. </reg>
  81286. <reg name="dci6_info7" protect="rw">
  81287. <bits access="rw" name="rb_bm_02" pos="31:0" rst="0">
  81288. <comment>0.5msbitmapbitprb[95:64]bit
  81289. 0prb
  81290. 1prb</comment>
  81291. </bits>
  81292. </reg>
  81293. <reg name="dci6_info8" protect="rw">
  81294. <bits access="rw" name="rb_bm_03" pos="3:0" rst="0">
  81295. <comment>0.5msbitmapbitprb[99:96]bit
  81296. 0prb
  81297. 1prb</comment>
  81298. </bits>
  81299. </reg>
  81300. <reg name="dci6_info9" protect="rw">
  81301. <bits access="rw" name="rb_bm_10" pos="31:0" rst="0">
  81302. <comment>0.5msbitmapbit[63:32]prbbit
  81303. 0prb
  81304. 1prb</comment>
  81305. </bits>
  81306. </reg>
  81307. <reg name="dci6_info10" protect="rw">
  81308. <bits access="rw" name="rb_bm_11" pos="31:0" rst="0">
  81309. <comment>0.5msbitmapbitprb[63:32]bit
  81310. 0prb
  81311. 1prb</comment>
  81312. </bits>
  81313. </reg>
  81314. <reg name="dci6_info11" protect="rw">
  81315. <bits access="rw" name="rb_bm_12" pos="31:0" rst="0">
  81316. <comment>0.5msbitmapbitprb[95:64]bit
  81317. 0prb
  81318. 1prb</comment>
  81319. </bits>
  81320. </reg>
  81321. <reg name="dci6_info12" protect="rw">
  81322. <bits access="rw" name="rb_bm_13" pos="3:0" rst="0">
  81323. <comment>0.5msbitmapbitprb[99:96]bit
  81324. 0prb
  81325. 1prb</comment>
  81326. </bits>
  81327. </reg>
  81328. <reg name="dci7_out1" protect="rw">
  81329. <bits access="rw" name="dci7_out1_dci7_out1" pos="31:0" rst="0">
  81330. <comment>DCI732</comment>
  81331. </bits>
  81332. </reg>
  81333. <reg name="dci7_out2" protect="rw">
  81334. <bits access="rw" name="dci7_out2_dci7_out2" pos="31:0" rst="0">
  81335. <comment>DCI732</comment>
  81336. </bits>
  81337. </reg>
  81338. <reg name="dci7_pwr" protect="rw">
  81339. <bits access="rw" name="dci_pwr" pos="25:0" rst="0">
  81340. <comment>DCI</comment>
  81341. </bits>
  81342. </reg>
  81343. <reg name="dci7_fa" protect="rw">
  81344. <bits access="rw" name="dci_fa_zero" pos="15:8" rst="0">
  81345. <comment>DCI false alarm0</comment>
  81346. </bits>
  81347. <bits access="rw" name="dci_fa" pos="7:0" rst="0">
  81348. <comment>DCI false alarm</comment>
  81349. </bits>
  81350. </reg>
  81351. <reg name="dci7_info1" protect="rw">
  81352. <bits access="rw" name="ant_sel" pos="28" rst="0">
  81353. <comment>00
  81354. 11</comment>
  81355. </bits>
  81356. <bits access="rw" name="order_flag" pos="27" rst="0">
  81357. <comment>DCI7A
  81358. 0ORDER
  81359. 1ORDER</comment>
  81360. </bits>
  81361. <bits access="rw" name="sps_ind" pos="26:25" rst="0">
  81362. <comment>SPS-C-RNTI
  81363. 0
  81364. 1
  81365. 2
  81366. 3</comment>
  81367. </bits>
  81368. <bits access="rw" name="dci_type" pos="24:21" rst="0">
  81369. <comment>DCI
  81370. 0:DCI7
  81371. 1:DCI7
  81372. 2:DCI7A
  81373. 3:DCI7B
  81374. 4:DCI7C
  81375. 5:DCI7D
  81376. 6:DCI7
  81377. 7:DCI7A
  81378. 8:DCI7B
  81379. 9:DCI7C
  81380. 10:DCI7/3A</comment>
  81381. </bits>
  81382. <bits access="rw" name="rnti_ind" pos="20:17" rst="0">
  81383. <comment>DCI RNTI
  81384. 0RNTI0SI-RNTI
  81385. 1RNTI1P-RNTI
  81386. 2RNTI2RA-RNTI
  81387. 3RNTI3C-RNTI
  81388. 4RNTI4SPS-RNTI
  81389. 5RNTI5T-RNTI
  81390. 6RNTI6TPCS-RNTI
  81391. 7RNTI7TPCC-RNTI
  81392. 8RNTI8G-RNTI
  81393. 9RNTI9SC-RNTI
  81394. 10RNTI10SC-N-RNTI</comment>
  81395. </bits>
  81396. <bits access="rw" name="comm_ue" pos="16" rst="0">
  81397. <comment>DCICOMMUE
  81398. 0
  81399. 1UE</comment>
  81400. </bits>
  81401. <bits access="rw" name="dci_stapos" pos="15:9" rst="0">
  81402. <comment>DCI(index:0~23)</comment>
  81403. </bits>
  81404. <bits access="rw" name="dci_llevel" pos="8:6" rst="0">
  81405. <comment>DCIL
  81406. 000L=1;
  81407. 001L=2;
  81408. 010L=4;
  81409. 011L=8;
  81410. 100L=12;
  81411. 101L=16;
  81412. 110L=24;</comment>
  81413. </bits>
  81414. <bits access="rw" name="dci_len" pos="5:0" rst="0">
  81415. <comment>DCI (max38)</comment>
  81416. </bits>
  81417. </reg>
  81418. <reg name="dci7_info2" protect="rw">
  81419. <bits access="rw" name="pmi_confm" pos="31" rst="0">
  81420. <comment>PMIDCIPMI
  81421. 0DCIPMI
  81422. 1PMI</comment>
  81423. </bits>
  81424. <bits access="rw" name="hq_proc" pos="30:27" rst="0">
  81425. <comment>HARQ:0~15</comment>
  81426. </bits>
  81427. <bits access="rw" name="pmi_indx" pos="26:23" rst="0">
  81428. <comment>tx2:0~3tx4:0~15</comment>
  81429. </bits>
  81430. <bits access="rw" name="trans_scheme" pos="22:20" rst="0">
  81431. <comment>0
  81432. 1
  81433. 2
  81434. 3PORT7
  81435. 4PORT8
  81436. 5PORT5</comment>
  81437. </bits>
  81438. <bits access="rw" name="ra_type" pos="19" rst="0">
  81439. <comment>0
  81440. 1</comment>
  81441. </bits>
  81442. <bits access="rw" name="n_scid" pos="18" rst="0">
  81443. <comment>Nscid(UE)0~1</comment>
  81444. </bits>
  81445. <bits access="rw" name="rv_sel" pos="17:16" rst="0">
  81446. <comment>0~3</comment>
  81447. </bits>
  81448. <bits access="rw" name="modu_type" pos="15:14" rst="0">
  81449. <comment>0:QPSK
  81450. 1:16QAM
  81451. 2:64QAM</comment>
  81452. </bits>
  81453. <bits access="rw" name="tb_size" pos="13:0" rst="0">
  81454. <comment>max10296</comment>
  81455. </bits>
  81456. </reg>
  81457. <reg name="dci7_info3" protect="rw">
  81458. <bits access="rw" name="rep" pos="21:19" rst="0">
  81459. <comment>DCI7C</comment>
  81460. </bits>
  81461. <bits access="rw" name="mcs" pos="18:14" rst="0">
  81462. <comment/>
  81463. </bits>
  81464. <bits access="rw" name="cw2_flag" pos="13" rst="0">
  81465. <comment>DCI7/DCI7A/DCI7B/DCI7C2
  81466. 01
  81467. 12</comment>
  81468. </bits>
  81469. <bits access="rw" name="cs_dmrs" pos="12:10" rst="0">
  81470. <comment>DCI7</comment>
  81471. </bits>
  81472. <bits access="rw" name="cqi_indx" pos="9:8" rst="0">
  81473. <comment>DCI7CQI</comment>
  81474. </bits>
  81475. <bits access="rw" name="tb_cw" pos="7" rst="0">
  81476. <comment>DCI7/DCI7ATBCW
  81477. 0
  81478. 1</comment>
  81479. </bits>
  81480. <bits access="rw" name="srs_req" pos="6" rst="0">
  81481. <comment>SRS
  81482. SRQDCI7DCI7ADCI7B TDDDCI7C TDD</comment>
  81483. </bits>
  81484. <bits access="rw" name="ndi_ind" pos="5" rst="0">
  81485. <comment/>
  81486. </bits>
  81487. <bits access="rw" name="pwr_ofst" pos="4" rst="0">
  81488. <comment>DCI7D POWER OFFSET</comment>
  81489. </bits>
  81490. <bits access="rw" name="dai" pos="3:2" rst="0">
  81491. <comment>DAI</comment>
  81492. </bits>
  81493. <bits access="rw" name="tpc_step" pos="1:0" rst="0">
  81494. <comment/>
  81495. </bits>
  81496. </reg>
  81497. <reg name="dci7_info4" protect="rw">
  81498. <bits access="rw" name="nul_fd" pos="31:15" rst="0">
  81499. <comment/>
  81500. </bits>
  81501. <bits access="rw" name="ra_type" pos="14" rst="0">
  81502. <comment>0TYPE0
  81503. 1TYPE1</comment>
  81504. </bits>
  81505. <bits access="rw" name="rb_hop_flag" pos="13" rst="0">
  81506. <comment>Type0</comment>
  81507. </bits>
  81508. <bits access="rw" name="rba" pos="12:0" rst="0">
  81509. <comment>Type0/Type1RBA</comment>
  81510. </bits>
  81511. </reg>
  81512. <reg name="dci7_info5" protect="rw">
  81513. <bits access="rw" name="rb_bm_00" pos="31:0" rst="0">
  81514. <comment>0.5msbitmapbit[63:32]prbbit
  81515. 0prb
  81516. 1prb</comment>
  81517. </bits>
  81518. </reg>
  81519. <reg name="dci7_info6" protect="rw">
  81520. <bits access="rw" name="rb_bm_01" pos="31:0" rst="0">
  81521. <comment>0.5msbitmapbitprb[63:32]bit
  81522. 0prb
  81523. 1prb</comment>
  81524. </bits>
  81525. </reg>
  81526. <reg name="dci7_info7" protect="rw">
  81527. <bits access="rw" name="rb_bm_02" pos="31:0" rst="0">
  81528. <comment>0.5msbitmapbitprb[95:64]bit
  81529. 0prb
  81530. 1prb</comment>
  81531. </bits>
  81532. </reg>
  81533. <reg name="dci7_info8" protect="rw">
  81534. <bits access="rw" name="rb_bm_03" pos="3:0" rst="0">
  81535. <comment>0.5msbitmapbitprb[99:96]bit
  81536. 0prb
  81537. 1prb</comment>
  81538. </bits>
  81539. </reg>
  81540. <reg name="dci7_info9" protect="rw">
  81541. <bits access="rw" name="rb_bm_10" pos="31:0" rst="0">
  81542. <comment>0.5msbitmapbit[63:32]prbbit
  81543. 0prb
  81544. 1prb</comment>
  81545. </bits>
  81546. </reg>
  81547. <reg name="dci7_info10" protect="rw">
  81548. <bits access="rw" name="rb_bm_11" pos="31:0" rst="0">
  81549. <comment>0.5msbitmapbitprb[63:32]bit
  81550. 0prb
  81551. 1prb</comment>
  81552. </bits>
  81553. </reg>
  81554. <reg name="dci7_info11" protect="rw">
  81555. <bits access="rw" name="rb_bm_12" pos="31:0" rst="0">
  81556. <comment>0.5msbitmapbitprb[95:64]bit
  81557. 0prb
  81558. 1prb</comment>
  81559. </bits>
  81560. </reg>
  81561. <reg name="dci7_info12" protect="rw">
  81562. <bits access="rw" name="rb_bm_13" pos="3:0" rst="0">
  81563. <comment>0.5msbitmapbitprb[99:96]bit
  81564. 0prb
  81565. 1prb</comment>
  81566. </bits>
  81567. </reg>
  81568. <hole size="86016"/>
  81569. <reg name="pdcch_memdem" protect="rw">
  81570. <bits access="rw" name="pdcch_memdem_2" pos="31:21" rst="0">
  81571. </bits>
  81572. <bits access="rw" name="pdcch_memdem_1" pos="15:5" rst="0">
  81573. </bits>
  81574. </reg>
  81575. <hole size="131040"/>
  81576. <reg name="pdcch_memreg" protect="r">
  81577. <bits access="r" name="pdcch_memreg_pdcch_memreg" pos="31:0" rst="0">
  81578. </bits>
  81579. </reg>
  81580. <hole size="65504"/>
  81581. <reg name="pdcch_mempbchin" protect="rw">
  81582. <bits access="rw" name="pbch_memin_2" pos="31:22" rst="0">
  81583. </bits>
  81584. <bits access="rw" name="pbch_memin_1" pos="15:6" rst="0">
  81585. </bits>
  81586. </reg>
  81587. <hole size="8160"/>
  81588. <reg name="mib0_out" protect="r">
  81589. <bits access="r" name="mib0_out_mib0_out" pos="23:0" rst="0">
  81590. <comment>MIB0</comment>
  81591. </bits>
  81592. </reg>
  81593. <reg name="mib0_info" protect="r">
  81594. <bits access="r" name="mib0_info_mib0_info" pos="1:0" rst="0">
  81595. <comment>MIB</comment>
  81596. </bits>
  81597. </reg>
  81598. <reg name="mib1_out" protect="r">
  81599. <bits access="r" name="mib1_out_mib1_out" pos="23:0" rst="0">
  81600. <comment>MIB1</comment>
  81601. </bits>
  81602. </reg>
  81603. <reg name="mib1_info" protect="r">
  81604. <bits access="r" name="mib1_info_mib1_info" pos="1:0" rst="0">
  81605. <comment>MIB</comment>
  81606. </bits>
  81607. </reg>
  81608. <reg name="mib2_out" protect="r">
  81609. <bits access="r" name="mib2_out_mib2_out" pos="23:0" rst="0">
  81610. <comment>MIB2</comment>
  81611. </bits>
  81612. </reg>
  81613. <reg name="mib2_info" protect="r">
  81614. <bits access="r" name="mib2_info_mib2_info" pos="1:0" rst="0">
  81615. <comment>MIB</comment>
  81616. </bits>
  81617. </reg>
  81618. <reg name="mib3_out" protect="r">
  81619. <bits access="r" name="mib3_out_mib3_out" pos="23:0" rst="0">
  81620. <comment>MIB3</comment>
  81621. </bits>
  81622. </reg>
  81623. <reg name="mib3_info" protect="r">
  81624. <bits access="r" name="mib3_info_mib3_info" pos="1:0" rst="0">
  81625. <comment>MIB</comment>
  81626. </bits>
  81627. </reg>
  81628. <hole size="7921408"/>
  81629. <reg name="hqmem11" protect="rw">
  81630. <bits access="rw" name="hqmem11_2" pos="31:19" rst="0">
  81631. </bits>
  81632. <bits access="rw" name="hqmem11_1" pos="15:3" rst="0">
  81633. </bits>
  81634. </reg>
  81635. <hole size="98272"/>
  81636. <reg name="hqmem12" protect="rw">
  81637. <bits access="rw" name="hqmem12_hqmem12" pos="31:0" rst="0">
  81638. </bits>
  81639. </reg>
  81640. <hole size="950240"/>
  81641. <reg name="hqmem21" protect="rw">
  81642. <bits access="rw" name="hqmem21_hqmem21" pos="31:0" rst="0">
  81643. </bits>
  81644. </reg>
  81645. <hole size="262112"/>
  81646. <reg name="hqmem22" protect="rw">
  81647. <bits access="rw" name="hqmem22_hqmem22" pos="31:0" rst="0">
  81648. </bits>
  81649. </reg>
  81650. <hole size="262112"/>
  81651. <reg name="hqmem23" protect="rw">
  81652. <bits access="rw" name="hqmem23_hqmem23" pos="31:0" rst="0">
  81653. </bits>
  81654. </reg>
  81655. <hole size="262112"/>
  81656. <reg name="hqmem24" protect="rw">
  81657. <bits access="rw" name="hqmem24_hqmem24" pos="31:0" rst="0">
  81658. </bits>
  81659. </reg>
  81660. <hole size="6553568"/>
  81661. <reg name="tbmemin0" protect="rw">
  81662. <bits access="rw" name="tbmemin0_tbmemin0" pos="23:0" rst="0">
  81663. </bits>
  81664. </reg>
  81665. <hole size="229344"/>
  81666. <reg name="tbmemout0" protect="rw">
  81667. <bits access="rw" name="tbmemout0_tbmemout0" pos="31:0" rst="0">
  81668. </bits>
  81669. </reg>
  81670. <hole size="294880"/>
  81671. <reg name="tbmemin1" protect="rw">
  81672. <bits access="rw" name="tbmemin1_tbmemin1" pos="23:0" rst="0">
  81673. </bits>
  81674. </reg>
  81675. <hole size="229344"/>
  81676. <reg name="tbmemout1" protect="rw">
  81677. <bits access="rw" name="tbmemout1_tbmemout1" pos="31:0" rst="0">
  81678. </bits>
  81679. </reg>
  81680. <hole size="294880"/>
  81681. <reg name="pdsmemout0" protect="rw">
  81682. <bits access="rw" name="pdsmemout0_pdsmemout0" pos="31:0" rst="0">
  81683. </bits>
  81684. </reg>
  81685. <hole size="32736"/>
  81686. <reg name="pdsmemout1" protect="rw">
  81687. <bits access="rw" name="pdsmemout1_pdsmemout1" pos="31:0" rst="0">
  81688. </bits>
  81689. </reg>
  81690. <hole size="7307232"/>
  81691. <reg name="fftbuf0" protect="rw">
  81692. <bits access="rw" name="fftbuf0_fftbuf0" pos="31:0" rst="0">
  81693. </bits>
  81694. </reg>
  81695. <hole size="524256"/>
  81696. <reg name="fftbuf1" protect="rw">
  81697. <bits access="rw" name="fftbuf1_fftbuf1" pos="31:0" rst="0">
  81698. </bits>
  81699. </reg>
  81700. <hole size="7864288"/>
  81701. <reg name="hqbuf" protect="rw">
  81702. <bits access="rw" name="hqbuf_hqbuf" pos="31:0" rst="0">
  81703. </bits>
  81704. </reg>
  81705. </module>
  81706. </archive>
  81707. <archive relative="cp_lte_ldtc.xml">
  81708. <module category="LTE_SYS" name="CP_LTE_LDTC">
  81709. <reg name="sys_para_nxt" protect="rw">
  81710. <bits access="rw" name="schd_sib1" pos="26:22" rst="0">
  81711. <comment>Schedule SIB1 BR R13PBML</comment>
  81712. </bits>
  81713. <bits access="rw" name="phi_res" pos="21:20" rst="0">
  81714. <comment>PHICH resourcePBML</comment>
  81715. </bits>
  81716. <bits access="rw" name="phi_dur" pos="19" rst="0">
  81717. <comment>PHICH durationPBML</comment>
  81718. </bits>
  81719. <bits access="rw" name="pbch_rep" pos="18" rst="0">
  81720. <comment>PBCH
  81721. 0PBCH
  81722. 1PBCH</comment>
  81723. </bits>
  81724. <bits access="rw" name="tm_mode" pos="17:14" rst="0">
  81725. <comment>CATM1,2,6,9</comment>
  81726. </bits>
  81727. <bits access="rw" name="ss_conf" pos="13:10" rst="0">
  81728. <comment>TDD
  81729. 099</comment>
  81730. </bits>
  81731. <bits access="rw" name="uldl_conf" pos="9:7" rst="0">
  81732. <comment>066</comment>
  81733. </bits>
  81734. <bits access="rw" name="bw_ind" pos="6:4" rst="0">
  81735. <comment>0: 1.4MHZ
  81736. 1: 3MHZ
  81737. 2: 5MHZ
  81738. 310MHZ
  81739. 4: 15MHZ
  81740. 5: 20MHZ
  81741. 6~75</comment>
  81742. </bits>
  81743. <bits access="rw" name="ant_tx" pos="3:2" rst="0">
  81744. <comment>0 1
  81745. 1 2
  81746. 2 4
  81747. 3 2</comment>
  81748. </bits>
  81749. <bits access="rw" name="cp_ind" pos="1" rst="0">
  81750. <comment>CP
  81751. 0 CP
  81752. 1 CP</comment>
  81753. </bits>
  81754. <bits access="rw" name="fdd_tdd" pos="0" rst="0">
  81755. <comment>FDDTDD
  81756. 0 TDD
  81757. 1 FDD</comment>
  81758. </bits>
  81759. </reg>
  81760. <reg name="nid_cell_nxt" protect="rw">
  81761. <bits access="rw" name="nid_cell" pos="8:0" rst="0">
  81762. <comment>ID0503</comment>
  81763. </bits>
  81764. </reg>
  81765. <reg name="g_rnti" protect="rw">
  81766. <bits access="rw" name="g_rnti_g_rnti" pos="15:0" rst="0">
  81767. <comment>G_RNTI</comment>
  81768. </bits>
  81769. </reg>
  81770. <reg name="ra_t_rnti" protect="rw">
  81771. <bits access="rw" name="t_rnti" pos="31:16" rst="0">
  81772. <comment>Temp-C-RNTI</comment>
  81773. </bits>
  81774. <bits access="rw" name="ra_rnti" pos="15:0" rst="0">
  81775. <comment>RA-RNTI</comment>
  81776. </bits>
  81777. </reg>
  81778. <reg name="c_sps_rnti" protect="rw">
  81779. <bits access="rw" name="sps_rnti" pos="31:16" rst="0">
  81780. <comment>SPS-C-RNTI</comment>
  81781. </bits>
  81782. <bits access="rw" name="c_rnti" pos="15:0" rst="0">
  81783. <comment>C-RNTI</comment>
  81784. </bits>
  81785. </reg>
  81786. <reg name="tpc_rnti" protect="rw">
  81787. <bits access="rw" name="tpcs_rnti" pos="31:16" rst="0">
  81788. <comment>TPC-PUCSH-RNTI</comment>
  81789. </bits>
  81790. <bits access="rw" name="tpcc_rnti" pos="15:0" rst="0">
  81791. <comment>TPC-PUCCH-RNTI</comment>
  81792. </bits>
  81793. </reg>
  81794. <reg name="mpdcch_set1_nxt" protect="rw">
  81795. <bits access="rw" name="nprb_set1" pos="15:14" rst="0">
  81796. <comment>MPDCCH1PRB
  81797. 0 2
  81798. 1 4
  81799. 2 6</comment>
  81800. </bits>
  81801. <bits access="rw" name="rba_set1" pos="13:10" rst="0">
  81802. <comment>MPDCCH1RBA</comment>
  81803. </bits>
  81804. <bits access="rw" name="dmrs_sid_set1" pos="9:1" rst="0">
  81805. <comment>MPDCCH1ID
  81806. 0503</comment>
  81807. </bits>
  81808. <bits access="rw" name="loc_dis_set1" pos="0" rst="0">
  81809. <comment>MPDCCH1
  81810. 0(LOC)
  81811. 1(DIS)</comment>
  81812. </bits>
  81813. </reg>
  81814. <reg name="csi_rsmap1_nxt" protect="rw">
  81815. <bits access="rw" name="csirs_group2" pos="23:12" rst="0">
  81816. <comment>2PRBCSI-RSCSIRS_GROUP1</comment>
  81817. </bits>
  81818. <bits access="rw" name="csirs_group1" pos="11:0" rst="0">
  81819. <comment>1PRBCSI-RS011PRBRE#0RE#1101RE#0CSI-RS</comment>
  81820. </bits>
  81821. </reg>
  81822. <reg name="csi_rsmap2_nxt" protect="rw">
  81823. <bits access="rw" name="csirs_group4" pos="23:12" rst="0">
  81824. <comment>4PRBCSI-RSCSIRS_GROUP1</comment>
  81825. </bits>
  81826. <bits access="rw" name="csirs_group3" pos="11:0" rst="0">
  81827. <comment>3PRBCSI-RSCSIRS_GROUP1</comment>
  81828. </bits>
  81829. </reg>
  81830. <reg name="pmi_cfg_nxt" protect="rw">
  81831. <bits access="rw" name="pmi_nrce" pos="18:16" rst="0">
  81832. <comment>PMIcsi-NumrepetitionCE-R13:
  81833. 0: 1
  81834. 1: 2
  81835. 2: 4
  81836. 3: 8
  81837. 4: 16
  81838. 5: 32</comment>
  81839. </bits>
  81840. <bits access="rw" name="pmi_cbsr" pos="15:0" rst="0">
  81841. <comment>PMI
  81842. 0 PMIbit
  81843. 1 PMIbit</comment>
  81844. </bits>
  81845. </reg>
  81846. <reg name="pbch_cfg_nxt" protect="rw">
  81847. <bits access="rw" name="pbch_val_bypass" pos="8" rst="0">
  81848. <comment>PBCH
  81849. 0
  81850. 1</comment>
  81851. </bits>
  81852. <bits access="rw" name="pbch_det_sel" pos="7" rst="0">
  81853. <comment>PBCH
  81854. 0FDD90TDD05
  81855. 10PBCH</comment>
  81856. </bits>
  81857. <bits access="rw" name="pbch_det_num" pos="6" rst="0">
  81858. <comment>PBCH
  81859. 0 1
  81860. 1 2</comment>
  81861. </bits>
  81862. <bits access="rw" name="rep2_prior" pos="5:4" rst="0">
  81863. <comment>PBCH2TDD03
  81864. 0
  81865. 1
  81866. 2
  81867. 3</comment>
  81868. </bits>
  81869. <bits access="rw" name="rep1_prior" pos="3:2" rst="0">
  81870. <comment>PBCH1(TDD,FDD)03
  81871. 0
  81872. 1
  81873. 2
  81874. 3</comment>
  81875. </bits>
  81876. <bits access="rw" name="rep0_prior" pos="1:0" rst="0">
  81877. <comment>PBCH(TDD/FDD)03
  81878. 0
  81879. 1
  81880. 2
  81881. 3</comment>
  81882. </bits>
  81883. </reg>
  81884. <reg name="mpdcch_cfg_nxt" protect="rw">
  81885. <bits access="rw" name="mpdcch_ue_bund" pos="21:20" rst="0">
  81886. <comment>MPDCCHFHBUNDbit3PRB3PRB
  81887. Bit2013PRBBUND03PRBBUND
  81888. Bit2113PRBBUND03PRBBUND</comment>
  81889. </bits>
  81890. <bits access="rw" name="antdet_en" pos="19" rst="0">
  81891. <comment>0
  81892. 1</comment>
  81893. </bits>
  81894. <bits access="rw" name="maxtbs_flag" pos="18" rst="0">
  81895. <comment>UL TBSIZE
  81896. 0max1000
  81897. 1max2984</comment>
  81898. </bits>
  81899. <bits access="rw" name="pdspusenh_flag" pos="17" rst="0">
  81900. <comment>PDSCH_PUSCH
  81901. 0
  81902. 1</comment>
  81903. </bits>
  81904. <bits access="rw" name="tenhq_flag" pos="16" rst="0">
  81905. <comment>FDD HARQ
  81906. 08
  81907. 110</comment>
  81908. </bits>
  81909. <bits access="rw" name="bund_flag" pos="15" rst="0">
  81910. <comment>HARQ ACK
  81911. 0
  81912. 1</comment>
  81913. </bits>
  81914. <bits access="rw" name="schdenh_flag" pos="14" rst="0">
  81915. <comment>0harq
  81916. 1harq</comment>
  81917. </bits>
  81918. <bits access="rw" name="mpdcch_val_bypass" pos="13" rst="0">
  81919. <comment>MPDCCH DCI
  81920. 0
  81921. 1</comment>
  81922. </bits>
  81923. <bits access="rw" name="mpdcch_srsreq_flag" pos="12" rst="1">
  81924. <comment>MPDCCH SRSRREQ
  81925. 0SRSRREQ
  81926. 1SRSRREQ</comment>
  81927. </bits>
  81928. <bits access="rw" name="mpdcch_det_num_comm" pos="11:10" rst="0">
  81929. <comment>MPDCCH COMM
  81930. 0:1
  81931. 1:2
  81932. 2:3
  81933. 3:4</comment>
  81934. </bits>
  81935. <bits access="rw" name="mpdcch_det_num_set" pos="9:8" rst="0">
  81936. <comment>MPDCCH SET
  81937. 0:1
  81938. 1:2
  81939. 2:3
  81940. 3:4</comment>
  81941. </bits>
  81942. <bits access="rw" name="mpdcch_maxrep_ind_comm" pos="7:4" rst="0">
  81943. <comment>MPDCCH COMM(1256)
  81944. 0:1
  81945. 1:2
  81946. 2:4
  81947. 3:8
  81948. 4:16
  81949. 8:256</comment>
  81950. </bits>
  81951. <bits access="rw" name="mpdcch_maxrep_ind_set1" pos="3:0" rst="0">
  81952. <comment>MPDCCH SET1(1~256)
  81953. 0:1
  81954. 1:2
  81955. 2:4
  81956. 3:8
  81957. 4:16
  81958. 8:256</comment>
  81959. </bits>
  81960. </reg>
  81961. <reg name="mpdcch_dcilen_nxt" protect="rw">
  81962. <bits access="rw" name="dcilen_comm" pos="17:12" rst="0">
  81963. <comment>MPDCCH COMM DCImax38</comment>
  81964. </bits>
  81965. <bits access="rw" name="dcilen_comm_set1" pos="11:6" rst="0">
  81966. <comment>MPDCCH SET1 COMM DCImax38</comment>
  81967. </bits>
  81968. <bits access="rw" name="dcilen_uespec_set1" pos="5:0" rst="0">
  81969. <comment>MPDCCH SET1 UESPEC DCImax38</comment>
  81970. </bits>
  81971. </reg>
  81972. <reg name="mpdcch_repcnt_nxt" protect="rw">
  81973. <bits access="rw" name="mpdcch_repcnt_set1" pos="7:0" rst="0">
  81974. <comment>MPDCCH SET10255</comment>
  81975. </bits>
  81976. </reg>
  81977. <reg name="pdsch_dciinfo_nxt" protect="rw">
  81978. <bits access="rw" name="pmi_ind" pos="30:27" rst="0">
  81979. <comment>tx2:03
  81980. tx4:015</comment>
  81981. </bits>
  81982. <bits access="rw" name="trans_scheme" pos="26:24" rst="0">
  81983. <comment>0
  81984. 1
  81985. 2
  81986. 3PORT7
  81987. 4PORT8</comment>
  81988. </bits>
  81989. <bits access="rw" name="hq_proc_ind" pos="23:20" rst="0">
  81990. <comment>HARQ015</comment>
  81991. </bits>
  81992. <bits access="rw" name="n_scid" pos="19" rst="0">
  81993. <comment>NscidUE01</comment>
  81994. </bits>
  81995. <bits access="rw" name="rv_sel" pos="18:17" rst="0">
  81996. <comment>03</comment>
  81997. </bits>
  81998. <bits access="rw" name="modu" pos="16" rst="0">
  81999. <comment>0:QPSK
  82000. 1:16QAM</comment>
  82001. </bits>
  82002. <bits access="rw" name="tbsize" pos="15:6" rst="0">
  82003. <comment>max1000</comment>
  82004. </bits>
  82005. <bits access="rw" name="lcrb" pos="5:3" rst="0">
  82006. <comment>RB16</comment>
  82007. </bits>
  82008. <bits access="rw" name="rb_start" pos="2:0" rst="0">
  82009. <comment>RB05</comment>
  82010. </bits>
  82011. </reg>
  82012. <reg name="agc_in_nxt" protect="rw">
  82013. <bits access="rw" name="agc_in" pos="9:0" rst="0">
  82014. <comment>AGC</comment>
  82015. </bits>
  82016. </reg>
  82017. <reg name="fram_cnt_nxt" protect="rw">
  82018. <bits access="rw" name="ssfn_cnt" pos="31:16" rst="0">
  82019. <comment>065535</comment>
  82020. </bits>
  82021. <bits access="rw" name="rf_cnt" pos="13:4" rst="0">
  82022. <comment>01023</comment>
  82023. </bits>
  82024. <bits access="rw" name="sf_cnt" pos="3:0" rst="0">
  82025. <comment>09</comment>
  82026. </bits>
  82027. </reg>
  82028. <reg name="ldtc_serv_nxt" protect="rw">
  82029. <bits access="rw" name="cnnt_ra_proc" pos="12" rst="0">
  82030. <comment>C-RNTI
  82031. 0
  82032. 1</comment>
  82033. </bits>
  82034. <bits access="rw" name="sib1_sel" pos="11" rst="0">
  82035. <comment>SI-RNTISIB1SIB
  82036. 0SIB1SIB
  82037. 1SIB1</comment>
  82038. </bits>
  82039. <bits access="rw" name="c_sps_sel" pos="10" rst="0">
  82040. <comment>PDSCHC-RNTSPS-C-RNTI
  82041. 0C-RNTI
  82042. 1SPS-RNTI</comment>
  82043. </bits>
  82044. <bits access="rw" name="si_rnti_en" pos="9" rst="0">
  82045. <comment>SI-RNTI
  82046. 0
  82047. 1</comment>
  82048. </bits>
  82049. <bits access="rw" name="g_rnti_en" pos="8" rst="0">
  82050. <comment>G-RNTI
  82051. 0
  82052. 1</comment>
  82053. </bits>
  82054. <bits access="rw" name="sc_rnti_en" pos="7" rst="0">
  82055. <comment>SC-RNTI
  82056. 0
  82057. 1</comment>
  82058. </bits>
  82059. <bits access="rw" name="t_rnti_en" pos="6" rst="0">
  82060. <comment>Temp-C-RNTI
  82061. 0
  82062. 1</comment>
  82063. </bits>
  82064. <bits access="rw" name="ra_rnti_en" pos="5" rst="0">
  82065. <comment>RA-RNTI
  82066. 0
  82067. 1</comment>
  82068. </bits>
  82069. <bits access="rw" name="p_rnti_en" pos="4" rst="0">
  82070. <comment>P-RNTI
  82071. 0
  82072. 1</comment>
  82073. </bits>
  82074. <bits access="rw" name="tpcs_rnti_en" pos="3" rst="0">
  82075. <comment>TPC-PUSCH-RNTI
  82076. 0
  82077. 1</comment>
  82078. </bits>
  82079. <bits access="rw" name="tpcc_rnti_en" pos="2" rst="0">
  82080. <comment>TPC-PUCCH-RNTI
  82081. 0
  82082. 1</comment>
  82083. </bits>
  82084. <bits access="rw" name="sps_rnti_en" pos="1" rst="0">
  82085. <comment>SPS-C-RNTI
  82086. 0
  82087. 1</comment>
  82088. </bits>
  82089. <bits access="rw" name="c_rnti_en" pos="0" rst="0">
  82090. <comment>C-RNTI
  82091. 0
  82092. 1</comment>
  82093. </bits>
  82094. </reg>
  82095. <reg name="ldtc_ctrl_nxt" protect="rw">
  82096. <bits access="rw" name="int_sel_dm" pos="30" rst="0">
  82097. <comment>PDSCH/PBCH
  82098. 0
  82099. 1PDSCH /PBCH</comment>
  82100. </bits>
  82101. <bits access="rw" name="int_sel_c" pos="29" rst="0">
  82102. <comment>MPDCCH
  82103. 0
  82104. 1MPDCCH</comment>
  82105. </bits>
  82106. <bits access="rw" name="int_en_dm" pos="28" rst="0">
  82107. <comment>PDSCH/PBCHPMI
  82108. 0
  82109. 1</comment>
  82110. </bits>
  82111. <bits access="rw" name="int_en_c" pos="27" rst="0">
  82112. <comment>MPDCCH(PMI)
  82113. 0
  82114. 1</comment>
  82115. </bits>
  82116. <bits access="rw" name="cfi_num" pos="26:25" rst="0">
  82117. <comment>CFI
  82118. 0:1
  82119. 1:2
  82120. 2:3
  82121. 3:4</comment>
  82122. </bits>
  82123. <bits access="rw" name="drop_en" pos="24" rst="0">
  82124. <comment>MPDCCH/PDSCHSIB
  82125. 0
  82126. 1</comment>
  82127. </bits>
  82128. <bits access="rw" name="pdsch_zero_en" pos="23" rst="0">
  82129. <comment>PDSCH0
  82130. 000
  82131. 100</comment>
  82132. </bits>
  82133. <bits access="rw" name="csi_en" pos="22" rst="0">
  82134. <comment>CSI RS
  82135. 0
  82136. 1</comment>
  82137. </bits>
  82138. <bits access="rw" name="int_sel" pos="21" rst="0">
  82139. <comment>0
  82140. 1PDSCH/MPDCCH/PBCH</comment>
  82141. </bits>
  82142. <bits access="rw" name="int_en" pos="20" rst="0">
  82143. <comment>0
  82144. 1</comment>
  82145. </bits>
  82146. <bits access="rw" name="qfqt_ppsel" pos="19:18" rst="0">
  82147. <comment>QFQT
  82148. 0Qtable0
  82149. 1Qtable1
  82150. 2Qtable2</comment>
  82151. </bits>
  82152. <bits access="rw" name="cemode" pos="17" rst="0">
  82153. <comment>0CEA
  82154. 1CEB</comment>
  82155. </bits>
  82156. <bits access="rw" name="nb_ind" pos="16:13" rst="0">
  82157. <comment>:015</comment>
  82158. </bits>
  82159. <bits access="rw" name="mpdcch_set1_new_win" pos="12" rst="0">
  82160. <comment>MPDCCH SET1
  82161. 0
  82162. 1</comment>
  82163. </bits>
  82164. <bits access="rw" name="pdsch_urs_new_win" pos="11" rst="0">
  82165. <comment>PDSCH URS
  82166. 0
  82167. 1</comment>
  82168. </bits>
  82169. <bits access="rw" name="pdsch_crs_new_win" pos="10" rst="0">
  82170. <comment>PDSCH CRS/PMI
  82171. 0
  82172. 1</comment>
  82173. </bits>
  82174. <bits access="rw" name="freq_hop" pos="9" rst="0">
  82175. <comment>0
  82176. 1</comment>
  82177. </bits>
  82178. <bits access="rw" name="mpdcch_set1_last" pos="8" rst="0">
  82179. <comment>MPDCCH SET1
  82180. 0
  82181. 1</comment>
  82182. </bits>
  82183. <bits access="rw" name="pmi_first" pos="7" rst="0">
  82184. <comment>PMI
  82185. 0
  82186. 1</comment>
  82187. </bits>
  82188. <bits access="rw" name="pdsch_first" pos="6" rst="0">
  82189. <comment>PDSCH
  82190. 0
  82191. 1</comment>
  82192. </bits>
  82193. <bits access="rw" name="mpdcch_set1_first" pos="5" rst="0">
  82194. <comment>MPDCCH SET1
  82195. 0
  82196. 1</comment>
  82197. </bits>
  82198. <bits access="rw" name="pbch_first" pos="4" rst="0">
  82199. <comment>PBCH
  82200. 0
  82201. 1</comment>
  82202. </bits>
  82203. <bits access="rw" name="pmi_en" pos="3" rst="0">
  82204. <comment>PMI
  82205. 0
  82206. 1</comment>
  82207. </bits>
  82208. <bits access="rw" name="pdsch_en" pos="2" rst="0">
  82209. <comment>PDSCH
  82210. 0
  82211. 1</comment>
  82212. </bits>
  82213. <bits access="rw" name="mpdcch_en" pos="1" rst="0">
  82214. <comment>MPDCCH
  82215. 0
  82216. 1</comment>
  82217. </bits>
  82218. <bits access="rw" name="pbch_en" pos="0" rst="0">
  82219. <comment>PBCH
  82220. 0
  82221. 1</comment>
  82222. </bits>
  82223. </reg>
  82224. <reg name="ldtc_start" protect="rw">
  82225. <bits access="rw" name="ldtc_start_ldtc_start" pos="0" rst="0">
  82226. <comment>LDTC
  82227. 0
  82228. 1</comment>
  82229. </bits>
  82230. </reg>
  82231. <reg name="ldtc_flag" protect="rw">
  82232. <bits access="rc" name="fin_flag" pos="5" rst="0">
  82233. <comment>bit type is changed from rw1c to rc.
  82234. 0LDTC
  82235. 1LDTC</comment>
  82236. </bits>
  82237. <bits access="rc" name="pmi_flag" pos="4" rst="0">
  82238. <comment>bit type is changed from rw1c to rc.
  82239. PMI
  82240. 0PMI
  82241. 1PMI</comment>
  82242. </bits>
  82243. <bits access="rc" name="pdsch_flag" pos="3" rst="0">
  82244. <comment>bit type is changed from rw1c to rc.
  82245. PDSCH
  82246. 0PDSCH
  82247. 1PDSCH</comment>
  82248. </bits>
  82249. <bits access="rc" name="mpdcch_flag" pos="2" rst="0">
  82250. <comment>bit type is changed from rw1c to rc.
  82251. MPDCCH
  82252. 0MPDCCH
  82253. 1PBCH</comment>
  82254. </bits>
  82255. <bits access="rc" name="pbch_flag" pos="1" rst="0">
  82256. <comment>bit type is changed from rw1c to rc.
  82257. PBCH
  82258. 0PBCH
  82259. 1PBCH</comment>
  82260. </bits>
  82261. <bits access="rc" name="int_flag" pos="0" rst="0">
  82262. <comment>bit type is changed from rw1c to rc.
  82263. 0
  82264. 1</comment>
  82265. </bits>
  82266. </reg>
  82267. <reg name="ldtc_out" protect="r">
  82268. <bits access="r" name="coeff_ping_pang" pos="22:21" rst="0">
  82269. <comment>COEFF</comment>
  82270. </bits>
  82271. <bits access="r" name="dlfft_datmem_sel" pos="20" rst="0">
  82272. <comment>DATMEM</comment>
  82273. </bits>
  82274. <bits access="r" name="dlfft_rsmem_sel" pos="19:17" rst="0">
  82275. <comment>RSMEM0~4</comment>
  82276. </bits>
  82277. <bits access="r" name="dci_det_full" pos="16" rst="0">
  82278. <comment>DCI
  82279. 0
  82280. 1</comment>
  82281. </bits>
  82282. <bits access="r" name="dci_rlastval" pos="15:12" rst="0">
  82283. <comment>DCI Ri
  82284. 0DCI
  82285. 1DCIRi</comment>
  82286. </bits>
  82287. <bits access="r" name="dci_reconfmval" pos="11:8" rst="0">
  82288. <comment>DCI2
  82289. 0DCI
  82290. 1DCI2</comment>
  82291. </bits>
  82292. <bits access="r" name="dci_nowvalid" pos="7:4" rst="0">
  82293. <comment>DCI
  82294. 0DCI
  82295. 1DCI</comment>
  82296. </bits>
  82297. <bits access="r" name="mib_valid" pos="3:2" rst="0">
  82298. <comment>MIB
  82299. 0MIB
  82300. 1MIB</comment>
  82301. </bits>
  82302. <bits access="r" name="pdsch_zero_flag" pos="1" rst="0">
  82303. <comment>PDSCH CRC
  82304. 0
  82305. 1</comment>
  82306. </bits>
  82307. <bits access="r" name="pdsch_crc_flag" pos="0" rst="1">
  82308. <comment>PDSCH CRC
  82309. 0CRC
  82310. 1CRC</comment>
  82311. </bits>
  82312. </reg>
  82313. <reg name="ldtc_fram_out" protect="r">
  82314. <bits access="r" name="ssfn_cnt" pos="31:16" rst="0">
  82315. <comment>065535</comment>
  82316. </bits>
  82317. <bits access="r" name="rf_cnt" pos="13:4" rst="0">
  82318. <comment>01023</comment>
  82319. </bits>
  82320. <bits access="r" name="sf_cnt" pos="3:0" rst="0">
  82321. <comment>09</comment>
  82322. </bits>
  82323. </reg>
  82324. <reg name="ldtc_par_out" protect="r">
  82325. <bits access="r" name="mpdcch_cnt" pos="27:20" rst="0">
  82326. <comment>MPDCCH CNT</comment>
  82327. </bits>
  82328. <bits access="r" name="hq_proc_ind" pos="19:16" rst="0">
  82329. <comment>HARQ:0~15</comment>
  82330. </bits>
  82331. <bits access="r" name="dci_rnti_ind" pos="15:12" rst="0">
  82332. <comment>RNTI
  82333. 0RNTI0C-RNTI
  82334. 1RNTI1SPS-C-RNTI
  82335. 2RNTI2TPC-PDCCH-RNTI
  82336. 3RNTI3TPC-PDSCH-RNTI
  82337. 4RNTI4P-RNTI
  82338. 5RNTI5RA-RNTI
  82339. 6RNTI6Temp-C-RNTI
  82340. 7RNTI7SC-RNTI
  82341. 8RNTI7G-RNTI
  82342. 9RNTI7SI-RNTI</comment>
  82343. </bits>
  82344. <bits access="r" name="cnnt_ra_proc" pos="11" rst="0">
  82345. <comment>C-RNTI
  82346. 0
  82347. 1</comment>
  82348. </bits>
  82349. <bits access="r" name="sib1_sel" pos="10" rst="0">
  82350. <comment>SI-RNTISIB1SIB
  82351. 0SIB1SIB
  82352. 1SIB1</comment>
  82353. </bits>
  82354. <bits access="r" name="ant_tx" pos="9:8" rst="0">
  82355. <comment>MIB
  82356. 0
  82357. 12
  82358. 24</comment>
  82359. </bits>
  82360. <bits access="r" name="mpdcch_repcnt_set1" pos="7:0" rst="0">
  82361. <comment>MPDCCH SET10255</comment>
  82362. </bits>
  82363. </reg>
  82364. <reg name="che_ir_para_nxt" protect="rw">
  82365. <bits access="rw" name="pdsch_layer_num" pos="4" rst="1">
  82366. <comment>PDSCH UE
  82367. 0
  82368. 1</comment>
  82369. </bits>
  82370. <bits access="rw" name="mpdcch_layer_num" pos="3" rst="0">
  82371. <comment>MPDCCH
  82372. 0MPDCCHextendCPMPDCCH
  82373. 1MPDCCHnormalCP</comment>
  82374. </bits>
  82375. <bits access="rw" name="fir_iir_sel" pos="2" rst="0">
  82376. <comment>FIR/IIR
  82377. 0FIR
  82378. 1IIR</comment>
  82379. </bits>
  82380. <bits access="rw" name="fir_win" pos="1:0" rst="0">
  82381. <comment>FIR
  82382. 0:1
  82383. 1:2
  82384. 2:3
  82385. 3:4</comment>
  82386. </bits>
  82387. </reg>
  82388. <reg name="che_iir_coef" protect="rw">
  82389. <bits access="rw" name="coef1" pos="15:8" rst="63">
  82390. <comment>IIRHLS</comment>
  82391. </bits>
  82392. <bits access="rw" name="coef0" pos="7:0" rst="64">
  82393. <comment>FIRHLS</comment>
  82394. </bits>
  82395. </reg>
  82396. <reg name="che_fir2_coef" protect="rw">
  82397. <bits access="rw" name="coef2_1" pos="15:8" rst="63">
  82398. <comment>FIR1HLS</comment>
  82399. </bits>
  82400. <bits access="rw" name="coef2_0" pos="7:0" rst="64">
  82401. <comment>IIR/FIR0HLS</comment>
  82402. </bits>
  82403. </reg>
  82404. <reg name="che_fir3_coef" protect="rw">
  82405. <bits access="rw" name="coef3_2" pos="23:16" rst="42">
  82406. <comment>FIR2HLS</comment>
  82407. </bits>
  82408. <bits access="rw" name="coef3_1" pos="15:8" rst="42">
  82409. <comment>FIR1HLS</comment>
  82410. </bits>
  82411. <bits access="rw" name="coef3_0" pos="7:0" rst="43">
  82412. <comment>FIR0HLS</comment>
  82413. </bits>
  82414. </reg>
  82415. <reg name="che_fir4_coef" protect="rw">
  82416. <bits access="rw" name="coef4_3" pos="31:24" rst="31">
  82417. <comment>FIR3HLS</comment>
  82418. </bits>
  82419. <bits access="rw" name="coef4_2" pos="23:16" rst="32">
  82420. <comment>FIR2HLS</comment>
  82421. </bits>
  82422. <bits access="rw" name="coef4_1" pos="15:8" rst="32">
  82423. <comment>FIR1HLS</comment>
  82424. </bits>
  82425. <bits access="rw" name="coef4_0" pos="7:0" rst="32">
  82426. <comment>FIR0HLS</comment>
  82427. </bits>
  82428. </reg>
  82429. <reg name="che_fh_para" protect="rw">
  82430. <bits access="rw" name="ue_bund" pos="8" rst="0">
  82431. <comment>UE RSPRB1,3
  82432. 0:1
  82433. 1:3</comment>
  82434. </bits>
  82435. <bits access="rw" name="fh10_bitsel_type" pos="7" rst="1">
  82436. <comment>16bit10bit
  82437. 0
  82438. 1</comment>
  82439. </bits>
  82440. <bits access="rw" name="fh10_bitsel" pos="6:4" rst="0">
  82441. <comment>16bit10bit
  82442. 0x015~6
  82443. 0x114~5
  82444. 0x213~4
  82445. 0x312~3
  82446. 0x411~2
  82447. 0x510~1
  82448. 0x69~0
  82449. RESERVED</comment>
  82450. </bits>
  82451. <bits access="rw" name="fh16_bitsel" pos="3:0" rst="6">
  82452. <comment>16bit
  82453. 0x028~13
  82454. 0x127~12
  82455. 0x226~11
  82456. 0x325~10
  82457. 0x424~9
  82458. 0x523~8
  82459. 0x622~7
  82460. 0x721~6
  82461. 0x820~5
  82462. 0x919~4
  82463. 0xa18~3
  82464. 0xb17~2
  82465. 0xc16~1
  82466. 0xd15~0
  82467. RESERVED</comment>
  82468. </bits>
  82469. </reg>
  82470. <reg name="che_th_para" protect="rw">
  82471. <bits access="rw" name="th16_bitsel" pos="3:0" rst="5">
  82472. <comment>0x02510
  82473. 0x1249
  82474. 0x2238
  82475. 0x3227
  82476. 0x4216
  82477. 0x5205
  82478. 0x6194
  82479. 0x7183
  82480. 0x8172
  82481. 0x9161
  82482. 0xa150</comment>
  82483. </bits>
  82484. </reg>
  82485. <reg name="sd_scaling_factor0" protect="rw">
  82486. <bits access="rw" name="pbch_scale_sel" pos="27" rst="0">
  82487. <comment>PBCH
  82488. 0
  82489. 1</comment>
  82490. </bits>
  82491. <bits access="rw" name="pbch_scale2" pos="26:18" rst="0">
  82492. <comment>2</comment>
  82493. </bits>
  82494. <bits access="rw" name="pbch_scale1" pos="17:9" rst="0">
  82495. <comment>1</comment>
  82496. </bits>
  82497. <bits access="rw" name="pbch_scale0" pos="8:0" rst="0">
  82498. <comment>0</comment>
  82499. </bits>
  82500. </reg>
  82501. <reg name="sd_scaling_factor1" protect="rw">
  82502. <bits access="rw" name="mpdcch_scale_sel" pos="27" rst="0">
  82503. <comment>MPDCCH
  82504. 0
  82505. 1</comment>
  82506. </bits>
  82507. <bits access="rw" name="mpdcch_scale2" pos="26:18" rst="0">
  82508. <comment>2</comment>
  82509. </bits>
  82510. <bits access="rw" name="mpdcch_scale1" pos="17:9" rst="0">
  82511. <comment>1</comment>
  82512. </bits>
  82513. <bits access="rw" name="mpdcch_scale0" pos="8:0" rst="0">
  82514. <comment>0</comment>
  82515. </bits>
  82516. </reg>
  82517. <reg name="sd_scaling_factor2" protect="rw">
  82518. <bits access="rw" name="pdsch_scale_sel" pos="12" rst="0">
  82519. <comment>PDSCH
  82520. 0
  82521. 1</comment>
  82522. </bits>
  82523. <bits access="rw" name="pdsch_scale0" pos="11:0" rst="0">
  82524. <comment>0</comment>
  82525. </bits>
  82526. </reg>
  82527. <reg name="sd_scaling_factor3" protect="rw">
  82528. <bits access="rw" name="pdsch_scale2" pos="23:12" rst="0">
  82529. <comment>2</comment>
  82530. </bits>
  82531. <bits access="rw" name="pdsch_scale1" pos="11:0" rst="0">
  82532. <comment>1</comment>
  82533. </bits>
  82534. </reg>
  82535. <reg name="sd_scaling_factor4" protect="rw">
  82536. <bits access="rw" name="pdsch_scale4" pos="23:12" rst="0">
  82537. <comment>4</comment>
  82538. </bits>
  82539. <bits access="rw" name="pdsch_scale3" pos="11:0" rst="0">
  82540. <comment>3</comment>
  82541. </bits>
  82542. </reg>
  82543. <reg name="sd_data_factor1" protect="rw">
  82544. <bits access="rw" name="cr_data_factor" pos="31:16" rst="8192">
  82545. <comment>OFDMCELL RSdata</comment>
  82546. </bits>
  82547. <bits access="rw" name="ucr_data_factor" pos="15:0" rst="8192">
  82548. <comment>OFDMCELL RSdata</comment>
  82549. </bits>
  82550. </reg>
  82551. <reg name="sd_data_factor2" protect="rw">
  82552. <bits access="rw" name="cr_data_factor" pos="31:16" rst="8192">
  82553. <comment>OFDMCELL RSdata</comment>
  82554. </bits>
  82555. <bits access="rw" name="ucr_data_factor" pos="15:0" rst="8192">
  82556. <comment>OFDMCELL RSdata</comment>
  82557. </bits>
  82558. </reg>
  82559. <reg name="sd_data_factor3" protect="rw">
  82560. <bits access="rw" name="cr_data_factor" pos="31:16" rst="8192">
  82561. <comment>OFDMCELL RSdata</comment>
  82562. </bits>
  82563. <bits access="rw" name="ucr_data_factor" pos="15:0" rst="8192">
  82564. <comment>OFDMCELL RSdata</comment>
  82565. </bits>
  82566. </reg>
  82567. <reg name="sd_noise_nxt" protect="rw">
  82568. <bits access="rw" name="noise" pos="31:0" rst="0">
  82569. <comment>32Q3007fff_ffff</comment>
  82570. </bits>
  82571. </reg>
  82572. <reg name="sd_noise_agc_nxt" protect="rw">
  82573. <bits access="rw" name="noise_agc" pos="9:0" rst="0">
  82574. <comment>AGC</comment>
  82575. </bits>
  82576. </reg>
  82577. <reg name="sd_noise_th" protect="rw">
  82578. <bits access="rw" name="noise_th_data" pos="31:16" rst="0">
  82579. <comment>PDSCH(16~31bit)</comment>
  82580. </bits>
  82581. <bits access="rw" name="noise_th_ctrl" pos="15:0" rst="0">
  82582. <comment>MPDCCH/PBCH(16~31bit)</comment>
  82583. </bits>
  82584. </reg>
  82585. <reg name="sd_scaling_bout0" protect="r">
  82586. <bits access="r" name="bscale_out3" pos="7:6" rst="0">
  82587. <comment>INDX3</comment>
  82588. </bits>
  82589. <bits access="r" name="bscale_out2" pos="5:4" rst="0">
  82590. <comment>INDX2</comment>
  82591. </bits>
  82592. <bits access="r" name="bscale_out1" pos="3:2" rst="0">
  82593. <comment>INDX1</comment>
  82594. </bits>
  82595. <bits access="r" name="bscale_out0" pos="1:0" rst="0">
  82596. <comment>INDX0</comment>
  82597. </bits>
  82598. </reg>
  82599. <reg name="sd_scaling_bout1" protect="r">
  82600. <bits access="r" name="bscale_out11" pos="15:14" rst="0">
  82601. <comment>INDX11</comment>
  82602. </bits>
  82603. <bits access="r" name="bscale_out10" pos="13:12" rst="0">
  82604. <comment>INDX10</comment>
  82605. </bits>
  82606. <bits access="r" name="bscale_out9" pos="11:10" rst="0">
  82607. <comment>INDX9</comment>
  82608. </bits>
  82609. <bits access="r" name="bscale_out8" pos="9:8" rst="0">
  82610. <comment>INDX8</comment>
  82611. </bits>
  82612. <bits access="r" name="bscale_out7" pos="7:6" rst="0">
  82613. <comment>INDX7</comment>
  82614. </bits>
  82615. <bits access="r" name="bscale_out6" pos="5:4" rst="0">
  82616. <comment>INDX6</comment>
  82617. </bits>
  82618. <bits access="r" name="bscale_out5" pos="3:2" rst="0">
  82619. <comment>INDX5</comment>
  82620. </bits>
  82621. <bits access="r" name="bscale_out4" pos="1:0" rst="0">
  82622. <comment>INDX4</comment>
  82623. </bits>
  82624. </reg>
  82625. <reg name="sd_scaling_bout2" protect="r">
  82626. <bits access="r" name="bscale_out19" pos="15:14" rst="0">
  82627. <comment>INDX19</comment>
  82628. </bits>
  82629. <bits access="r" name="bscale_out18" pos="13:12" rst="0">
  82630. <comment>INDX18</comment>
  82631. </bits>
  82632. <bits access="r" name="bscale_out17" pos="11:10" rst="0">
  82633. <comment>INDX17</comment>
  82634. </bits>
  82635. <bits access="r" name="bscale_out16" pos="9:8" rst="0">
  82636. <comment>INDX16</comment>
  82637. </bits>
  82638. <bits access="r" name="bscale_out15" pos="7:6" rst="0">
  82639. <comment>INDX15</comment>
  82640. </bits>
  82641. <bits access="r" name="bscale_out14" pos="5:4" rst="0">
  82642. <comment>INDX14</comment>
  82643. </bits>
  82644. <bits access="r" name="bscale_out13" pos="3:2" rst="0">
  82645. <comment>INDX13</comment>
  82646. </bits>
  82647. <bits access="r" name="bscale_out12" pos="1:0" rst="0">
  82648. <comment>INDX12</comment>
  82649. </bits>
  82650. </reg>
  82651. <reg name="sd_scaling_cout0" protect="r">
  82652. <bits access="r" name="cscale_out9" pos="19:18" rst="0">
  82653. <comment>INDX9</comment>
  82654. </bits>
  82655. <bits access="r" name="cscale_out8" pos="17:16" rst="0">
  82656. <comment>INDX8</comment>
  82657. </bits>
  82658. <bits access="r" name="cscale_out7" pos="15:14" rst="0">
  82659. <comment>INDX7</comment>
  82660. </bits>
  82661. <bits access="r" name="cscale_out6" pos="13:12" rst="0">
  82662. <comment>INDX6</comment>
  82663. </bits>
  82664. <bits access="r" name="cscale_out5" pos="11:10" rst="0">
  82665. <comment>INDX5</comment>
  82666. </bits>
  82667. <bits access="r" name="cscale_out4" pos="9:8" rst="0">
  82668. <comment>INDX4</comment>
  82669. </bits>
  82670. <bits access="r" name="cscale_out3" pos="7:6" rst="0">
  82671. <comment>INDX3</comment>
  82672. </bits>
  82673. <bits access="r" name="cscale_out2" pos="5:4" rst="0">
  82674. <comment>INDX2</comment>
  82675. </bits>
  82676. <bits access="r" name="cscale_out1" pos="3:2" rst="0">
  82677. <comment>INDX1</comment>
  82678. </bits>
  82679. <bits access="r" name="cscale_out0" pos="1:0" rst="0">
  82680. <comment>INDX0</comment>
  82681. </bits>
  82682. </reg>
  82683. <reg name="sd_scaling_cout1" protect="r">
  82684. <bits access="r" name="cscale_out19" pos="19:18" rst="0">
  82685. <comment>INDX19</comment>
  82686. </bits>
  82687. <bits access="r" name="cscale_out18" pos="17:16" rst="0">
  82688. <comment>INDX18</comment>
  82689. </bits>
  82690. <bits access="r" name="cscale_out17" pos="15:14" rst="0">
  82691. <comment>INDX17</comment>
  82692. </bits>
  82693. <bits access="r" name="cscale_out16" pos="13:12" rst="0">
  82694. <comment>INDX16</comment>
  82695. </bits>
  82696. <bits access="r" name="cscale_out15" pos="11:10" rst="0">
  82697. <comment>INDX15</comment>
  82698. </bits>
  82699. <bits access="r" name="cscale_out14" pos="9:8" rst="0">
  82700. <comment>INDX14</comment>
  82701. </bits>
  82702. <bits access="r" name="cscale_out13" pos="7:6" rst="0">
  82703. <comment>INDX13</comment>
  82704. </bits>
  82705. <bits access="r" name="cscale_out12" pos="5:4" rst="0">
  82706. <comment>INDX12</comment>
  82707. </bits>
  82708. <bits access="r" name="cscale_out11" pos="3:2" rst="0">
  82709. <comment>INDX11</comment>
  82710. </bits>
  82711. <bits access="r" name="cscale_out10" pos="1:0" rst="0">
  82712. <comment>INDX10</comment>
  82713. </bits>
  82714. </reg>
  82715. <reg name="sd_scaling_cout2" protect="r">
  82716. <bits access="r" name="cscale_out32" pos="25:24" rst="0">
  82717. <comment>INDX32</comment>
  82718. </bits>
  82719. <bits access="r" name="cscale_out31" pos="23:22" rst="0">
  82720. <comment>INDX31</comment>
  82721. </bits>
  82722. <bits access="r" name="cscale_out30" pos="21:20" rst="0">
  82723. <comment>INDX30</comment>
  82724. </bits>
  82725. <bits access="r" name="cscale_out29" pos="19:18" rst="0">
  82726. <comment>INDX29</comment>
  82727. </bits>
  82728. <bits access="r" name="cscale_out28" pos="17:16" rst="0">
  82729. <comment>INDX28</comment>
  82730. </bits>
  82731. <bits access="r" name="cscale_out27" pos="15:14" rst="0">
  82732. <comment>INDX27</comment>
  82733. </bits>
  82734. <bits access="r" name="cscale_out26" pos="13:12" rst="0">
  82735. <comment>INDX26</comment>
  82736. </bits>
  82737. <bits access="r" name="cscale_out25" pos="11:10" rst="0">
  82738. <comment>INDX25</comment>
  82739. </bits>
  82740. <bits access="r" name="cscale_out24" pos="9:8" rst="0">
  82741. <comment>INDX24</comment>
  82742. </bits>
  82743. <bits access="r" name="cscale_out23" pos="7:6" rst="0">
  82744. <comment>INDX23</comment>
  82745. </bits>
  82746. <bits access="r" name="cscale_out22" pos="5:4" rst="0">
  82747. <comment>INDX22</comment>
  82748. </bits>
  82749. <bits access="r" name="cscale_out21" pos="3:2" rst="0">
  82750. <comment>INDX21</comment>
  82751. </bits>
  82752. <bits access="r" name="cscale_out20" pos="1:0" rst="0">
  82753. <comment>INDX20</comment>
  82754. </bits>
  82755. </reg>
  82756. <reg name="sd_scaling_dout0" protect="r">
  82757. <bits access="r" name="dscale_out7" pos="23:21" rst="0">
  82758. <comment>INDX7</comment>
  82759. </bits>
  82760. <bits access="r" name="dscale_out6" pos="20:18" rst="0">
  82761. <comment>INDX6</comment>
  82762. </bits>
  82763. <bits access="r" name="dscale_out5" pos="17:15" rst="0">
  82764. <comment>INDX5</comment>
  82765. </bits>
  82766. <bits access="r" name="dscale_out4" pos="14:12" rst="0">
  82767. <comment>INDX4</comment>
  82768. </bits>
  82769. <bits access="r" name="dscale_out3" pos="11:9" rst="0">
  82770. <comment>INDX3</comment>
  82771. </bits>
  82772. <bits access="r" name="dscale_out2" pos="8:6" rst="0">
  82773. <comment>INDX2</comment>
  82774. </bits>
  82775. <bits access="r" name="dscale_out1" pos="5:3" rst="0">
  82776. <comment>INDX1</comment>
  82777. </bits>
  82778. <bits access="r" name="dscale_out0" pos="2:0" rst="0">
  82779. <comment>INDX0</comment>
  82780. </bits>
  82781. </reg>
  82782. <reg name="sd_scaling_dout1" protect="r">
  82783. <bits access="r" name="dscale_out15" pos="23:21" rst="0">
  82784. <comment>INDX15</comment>
  82785. </bits>
  82786. <bits access="r" name="dscale_out14" pos="20:18" rst="0">
  82787. <comment>INDX14</comment>
  82788. </bits>
  82789. <bits access="r" name="dscale_out13" pos="17:15" rst="0">
  82790. <comment>INDX13</comment>
  82791. </bits>
  82792. <bits access="r" name="dscale_out12" pos="14:12" rst="0">
  82793. <comment>INDX12</comment>
  82794. </bits>
  82795. <bits access="r" name="dscale_out11" pos="11:9" rst="0">
  82796. <comment>INDX11</comment>
  82797. </bits>
  82798. <bits access="r" name="dscale_out10" pos="8:6" rst="0">
  82799. <comment>INDX10</comment>
  82800. </bits>
  82801. <bits access="r" name="dscale_out9" pos="5:3" rst="0">
  82802. <comment>INDX9</comment>
  82803. </bits>
  82804. <bits access="r" name="dscale_out8" pos="2:0" rst="0">
  82805. <comment>INDX8</comment>
  82806. </bits>
  82807. </reg>
  82808. <reg name="sd_scaling_dout2" protect="r">
  82809. <bits access="r" name="dscale_out16" pos="2:0" rst="0">
  82810. <comment>INDX16</comment>
  82811. </bits>
  82812. </reg>
  82813. <reg name="hq_mpdcch_cut" protect="rw">
  82814. <bits access="rw" name="hq_ccut2" pos="15:8" rst="128">
  82815. <comment>HARQ1280255</comment>
  82816. </bits>
  82817. <bits access="rw" name="hq_ccut1" pos="7:0" rst="32">
  82818. <comment>HARQ320255</comment>
  82819. </bits>
  82820. </reg>
  82821. <reg name="hq_pdsch_cut" protect="rw">
  82822. <bits access="rw" name="hq_dcut2" pos="25:13" rst="64">
  82823. <comment>HARQ6408191</comment>
  82824. </bits>
  82825. <bits access="rw" name="hq_dcut1" pos="12:0" rst="16">
  82826. <comment>HARQ1608191</comment>
  82827. </bits>
  82828. </reg>
  82829. <reg name="hq_ypk0" protect="rw">
  82830. <bits access="rw" name="ypk4" pos="19:16" rst="0">
  82831. <comment>MPDCCH m ECCEYpk4</comment>
  82832. </bits>
  82833. <bits access="rw" name="ypk3" pos="15:12" rst="0">
  82834. <comment>MPDCCH m ECCEYpk3</comment>
  82835. </bits>
  82836. <bits access="rw" name="ypk2" pos="11:8" rst="0">
  82837. <comment>MPDCCH m ECCEYpk2</comment>
  82838. </bits>
  82839. <bits access="rw" name="ypk1" pos="7:4" rst="0">
  82840. <comment>MPDCCH m ECCEYpk1</comment>
  82841. </bits>
  82842. <bits access="rw" name="ypk0" pos="3:0" rst="0">
  82843. <comment>MPDCCH m ECCEYpk0</comment>
  82844. </bits>
  82845. </reg>
  82846. <reg name="hq_ypk1" protect="rw">
  82847. <bits access="rw" name="ypk9" pos="19:16" rst="0">
  82848. <comment>MPDCCH m ECCEYpk9</comment>
  82849. </bits>
  82850. <bits access="rw" name="ypk8" pos="15:12" rst="0">
  82851. <comment>MPDCCH m ECCEYpk8</comment>
  82852. </bits>
  82853. <bits access="rw" name="ypk7" pos="11:8" rst="0">
  82854. <comment>MPDCCH m ECCEYpk7</comment>
  82855. </bits>
  82856. <bits access="rw" name="ypk6" pos="7:4" rst="0">
  82857. <comment>MPDCCH m ECCEYpk6</comment>
  82858. </bits>
  82859. <bits access="rw" name="ypk5" pos="3:0" rst="0">
  82860. <comment>MPDCCH m ECCEYpk5</comment>
  82861. </bits>
  82862. </reg>
  82863. <reg name="hq_hb_sta" protect="rw">
  82864. <bits access="rc" name="hb7_sta" pos="7" rst="0">
  82865. <comment>bit type is changed from rw1c to rc.
  82866. 7HARQBUFFER
  82867. 0:
  82868. 1:</comment>
  82869. </bits>
  82870. <bits access="rc" name="hb6_sta" pos="6" rst="0">
  82871. <comment>bit type is changed from rw1c to rc.
  82872. 6HARQBUFFER
  82873. 0:
  82874. 1:</comment>
  82875. </bits>
  82876. <bits access="rc" name="hb5_sta" pos="5" rst="0">
  82877. <comment>bit type is changed from rw1c to rc.
  82878. 5HARQBUFFER
  82879. 0:
  82880. 1:</comment>
  82881. </bits>
  82882. <bits access="rc" name="hb4_sta" pos="4" rst="0">
  82883. <comment>bit type is changed from rw1c to rc.
  82884. 4HARQBUFFER
  82885. 0:
  82886. 1:</comment>
  82887. </bits>
  82888. <bits access="rc" name="hb3_sta" pos="3" rst="0">
  82889. <comment>bit type is changed from rw1c to rc.
  82890. 3HARQBUFFER
  82891. 0:
  82892. 1:</comment>
  82893. </bits>
  82894. <bits access="rc" name="hb2_sta" pos="2" rst="0">
  82895. <comment>bit type is changed from rw1c to rc.
  82896. 2HARQBUFFER
  82897. 0:
  82898. 1:</comment>
  82899. </bits>
  82900. <bits access="rc" name="hb1_sta" pos="1" rst="0">
  82901. <comment>bit type is changed from rw1c to rc.
  82902. 1HARQBUFFER
  82903. 0:
  82904. 1:</comment>
  82905. </bits>
  82906. <bits access="rc" name="hb0_sta" pos="0" rst="0">
  82907. <comment>bit type is changed from rw1c to rc.
  82908. 0HARQBUFFER
  82909. 0:
  82910. 1:</comment>
  82911. </bits>
  82912. </reg>
  82913. <reg name="hq_hb_proc" protect="r">
  82914. <bits access="r" name="hb7_sta" pos="31:28" rst="0">
  82915. <comment>7HARQBUFFER:0~15</comment>
  82916. </bits>
  82917. <bits access="r" name="hb6_sta" pos="27:24" rst="0">
  82918. <comment>6HARQBUFFER:0~15</comment>
  82919. </bits>
  82920. <bits access="r" name="hb5_sta" pos="23:20" rst="0">
  82921. <comment>5HARQBUFFER:0~15</comment>
  82922. </bits>
  82923. <bits access="r" name="hb4_sta" pos="19:16" rst="0">
  82924. <comment>4HARQBUFFER:0~15</comment>
  82925. </bits>
  82926. <bits access="r" name="hb3_sta" pos="15:12" rst="0">
  82927. <comment>3HARQBUFFER:0~15</comment>
  82928. </bits>
  82929. <bits access="r" name="hb2_sta" pos="11:8" rst="0">
  82930. <comment>2HARQBUFFER:0~15</comment>
  82931. </bits>
  82932. <bits access="r" name="hb1_sta" pos="7:4" rst="0">
  82933. <comment>1HARQBUFFER:0~15</comment>
  82934. </bits>
  82935. <bits access="r" name="hb0_sta" pos="3:0" rst="0">
  82936. <comment>0HARQBUFFER:0~15</comment>
  82937. </bits>
  82938. </reg>
  82939. <reg name="hq_pdsch_info1" protect="r">
  82940. <bits access="r" name="hq_tbsize" pos="21:12" rst="0">
  82941. <comment>max1000</comment>
  82942. </bits>
  82943. <bits access="r" name="hq_pdsch_e" pos="11:0" rst="0">
  82944. <comment>PDSCH</comment>
  82945. </bits>
  82946. </reg>
  82947. <reg name="hq_pdsch_info2" protect="r">
  82948. <bits access="r" name="hq_pdsch_ave" pos="22:13" rst="0">
  82949. <comment>PDSCH</comment>
  82950. </bits>
  82951. <bits access="r" name="hq_comb_dcnt" pos="12:0" rst="0">
  82952. <comment>PDSCHmax4*2048-1</comment>
  82953. </bits>
  82954. </reg>
  82955. <reg name="turbo_para" protect="rw">
  82956. <bits access="rw" name="shift_en" pos="14" rst="0">
  82957. <comment/>
  82958. </bits>
  82959. <bits access="rw" name="ave_sel" pos="13:12" rst="2">
  82960. <comment>N
  82961. 01
  82962. 11.5
  82963. 22
  82964. 3 2.5</comment>
  82965. </bits>
  82966. <bits access="rw" name="shift_iternum2" pos="11:8" rst="5">
  82967. <comment>2</comment>
  82968. </bits>
  82969. <bits access="rw" name="shift_iternum1" pos="7:4" rst="2">
  82970. <comment>1</comment>
  82971. </bits>
  82972. <bits access="rw" name="iter_num_max" pos="3:0" rst="8">
  82973. <comment>1
  82974. 908</comment>
  82975. </bits>
  82976. </reg>
  82977. <reg name="turbo_iter" protect="r">
  82978. <bits access="r" name="real_iter" pos="3:0" rst="0">
  82979. <comment>-1</comment>
  82980. </bits>
  82981. </reg>
  82982. <reg name="vit_itnum" protect="rw">
  82983. <bits access="rw" name="vit_itnum_vit_itnum" pos="1:0" rst="1">
  82984. <comment>VIT
  82985. 0:1
  82986. 1:2
  82987. 2:3
  82988. 3:4</comment>
  82989. </bits>
  82990. </reg>
  82991. <reg name="dci0_out1" protect="r">
  82992. <bits access="r" name="dci0_out1_dci0_out1" pos="31:0" rst="0">
  82993. <comment>DCI032</comment>
  82994. </bits>
  82995. </reg>
  82996. <reg name="dci0_out2" protect="r">
  82997. <bits access="r" name="dci0_out2_dci0_out2" pos="31:0" rst="0">
  82998. <comment>DCI032</comment>
  82999. </bits>
  83000. </reg>
  83001. <reg name="dci0_info1" protect="r">
  83002. <bits access="r" name="trans_scheme" pos="29:27" rst="0">
  83003. <comment>0
  83004. 1
  83005. 2
  83006. 3PORT7
  83007. 4PORT8</comment>
  83008. </bits>
  83009. <bits access="r" name="ant_sel" pos="26" rst="0">
  83010. <comment>00
  83011. 11</comment>
  83012. </bits>
  83013. <bits access="r" name="dci_prb_len" pos="25:24" rst="0">
  83014. <comment>PRB2+4DCIPRB
  83015. 0:2PRB
  83016. 1:4PRB
  83017. 2:6PRB</comment>
  83018. </bits>
  83019. <bits access="r" name="dci_set_ind" pos="23" rst="0">
  83020. <comment>DCI
  83021. 01
  83022. 12</comment>
  83023. </bits>
  83024. <bits access="r" name="dci_comm_ue" pos="22" rst="0">
  83025. <comment>DCICOMMUE
  83026. 0
  83027. 1UE</comment>
  83028. </bits>
  83029. <bits access="r" name="dci_ri_ind" pos="21:20" rst="0">
  83030. <comment>DCIRi
  83031. 0R0
  83032. 1R1
  83033. 2R2
  83034. 3R3</comment>
  83035. </bits>
  83036. <bits access="r" name="dci_port_sel" pos="19:18" rst="0">
  83037. <comment>DCIPORTn0
  83038. Normal cyclic prefix; Normal subframes, Special subframes, configurations 3, 4, 8
  83039. 0PORT107
  83040. 1PORT108
  83041. 2PORT109
  83042. 3PORT110
  83043. Normal cyclic prefix; Special subframes, configurations 1, 2, 6, 7, 9
  83044. 0:107
  83045. 1:109
  83046. Extended cyclic prefix
  83047. 0:107
  83048. 1:108</comment>
  83049. </bits>
  83050. <bits access="r" name="dci_start_pos" pos="17:13" rst="0">
  83051. <comment>DCI(index:023)</comment>
  83052. </bits>
  83053. <bits access="r" name="dci_rnti_ind" pos="12:9" rst="0">
  83054. <comment>DCI RNTI
  83055. 0RNTI0C-RNTI
  83056. 1RNTI1SPS-C-RNTI
  83057. 2RNTI2TPC-PDCCH-RNTI
  83058. 3RNTI3TPC-PDSCH-RNTI
  83059. 4RNTI4P-RNTI
  83060. 5RNTI5RA-RNTI
  83061. 6RNTI6Temp-C-RNTI
  83062. 7RNTI7SC-RNTI
  83063. 8RNTI8G-RNTI</comment>
  83064. </bits>
  83065. <bits access="r" name="dci_llevel" pos="8:6" rst="0">
  83066. <comment>DCIL
  83067. 000L=1;
  83068. 001L=2;
  83069. 010L=4;
  83070. 011L=8;
  83071. 100L=12;
  83072. 101L=16;
  83073. 110L=24;</comment>
  83074. </bits>
  83075. <bits access="r" name="dci_len" pos="5:0" rst="0">
  83076. <comment>DCI (max38)</comment>
  83077. </bits>
  83078. </reg>
  83079. <reg name="dci0_info2" protect="r">
  83080. <bits access="r" name="pmi_ind" pos="30:27" rst="0">
  83081. <comment>tx2:03tx4:015</comment>
  83082. </bits>
  83083. <bits access="r" name="hq_proc_ind" pos="26:23" rst="0">
  83084. <comment>HARQ:015</comment>
  83085. </bits>
  83086. <bits access="r" name="n_scid" pos="22" rst="0">
  83087. <comment>Nscid(UE)01</comment>
  83088. </bits>
  83089. <bits access="r" name="rv_sel" pos="21:20" rst="0">
  83090. <comment>03</comment>
  83091. </bits>
  83092. <bits access="r" name="modu" pos="19" rst="0">
  83093. <comment>0:QPSK
  83094. 1:16QAM</comment>
  83095. </bits>
  83096. <bits access="r" name="tbsize" pos="18:6" rst="0">
  83097. <comment>max2984</comment>
  83098. </bits>
  83099. <bits access="r" name="lcrb" pos="5:3" rst="0">
  83100. <comment>RB16</comment>
  83101. </bits>
  83102. <bits access="r" name="rb_start" pos="2:0" rst="0">
  83103. <comment>RB05</comment>
  83104. </bits>
  83105. </reg>
  83106. <reg name="dci0_info3" protect="r">
  83107. <bits access="r" name="ackdly" pos="29:27" rst="0">
  83108. <comment>HARQ-ACK delay</comment>
  83109. </bits>
  83110. <bits access="r" name="bundling" pos="26" rst="0">
  83111. <comment>HARQ-ACK bundling flag</comment>
  83112. </bits>
  83113. <bits access="r" name="sps_ind" pos="25:24" rst="0">
  83114. <comment>SPS-C-RNTI
  83115. 0
  83116. 1
  83117. 2</comment>
  83118. </bits>
  83119. <bits access="r" name="ackoffset_scnote" pos="23:22" rst="0">
  83120. <comment>DCI6-1A/DCI6-1BACKInformation for SC-MCCH change notification</comment>
  83121. </bits>
  83122. <bits access="r" name="srsreq" pos="21" rst="0">
  83123. <comment>DCI6-0A /DCI6-1ASRS</comment>
  83124. </bits>
  83125. <bits access="r" name="csireq" pos="20" rst="0">
  83126. <comment>DCI6-0ACSI</comment>
  83127. </bits>
  83128. <bits access="r" name="dai_ulind" pos="19:18" rst="0">
  83129. <comment>DCI6-1A/DCI6-0A(TDD,uldl:16)DAI
  83130. DCI6-1A/DCI6-0A(TDD,uldl:0)ULINDEX</comment>
  83131. </bits>
  83132. <bits access="r" name="tpc" pos="17:16" rst="0">
  83133. <comment>DCI6-0A /DCI6-1A</comment>
  83134. </bits>
  83135. <bits access="r" name="ndi" pos="15" rst="0">
  83136. <comment/>
  83137. </bits>
  83138. <bits access="r" name="rep" pos="14:12" rst="0">
  83139. <comment>PDSCH/PUSCH(DCI6-207DCI6-1x/ DCI6-0x03)</comment>
  83140. </bits>
  83141. <bits access="r" name="dci_rep_bund_num" pos="11:10" rst="0">
  83142. <comment>MPDCCH DCI (03),Transport blocks in a bundle</comment>
  83143. </bits>
  83144. <bits access="r" name="di_order_flag" pos="9" rst="0">
  83145. <comment>DCI2DI(direct indication)
  83146. 0PAGING
  83147. 1DI
  83148. DCI6-1ADCI1-BPDCCH ORDER
  83149. 0ORDER
  83150. 1ORDER</comment>
  83151. </bits>
  83152. <bits access="r" name="pmi_sel" pos="8" rst="0">
  83153. <comment>0DCI
  83154. 1</comment>
  83155. </bits>
  83156. <bits access="r" name="fhop_en" pos="7" rst="0">
  83157. <comment>0
  83158. 1</comment>
  83159. </bits>
  83160. <bits access="r" name="dci_format" pos="6:4" rst="0">
  83161. <comment>DCI
  83162. 0:DCI6-1A
  83163. 1:DCI6-1B
  83164. 2:DCI6-0A
  83165. 3:DCI6-0B
  83166. 4:DCI3/3A
  83167. 5:DCI2</comment>
  83168. </bits>
  83169. <bits access="r" name="nb_ind" pos="3:0" rst="0">
  83170. <comment>015</comment>
  83171. </bits>
  83172. </reg>
  83173. <reg name="dci0_info4" protect="r">
  83174. <bits access="r" name="tbsize2" pos="11:0" rst="0">
  83175. <comment>DCI6-1APDSCH1tbsize</comment>
  83176. </bits>
  83177. </reg>
  83178. <reg name="dci0_pwr" protect="r">
  83179. <bits access="r" name="dci_fa" pos="31:24" rst="0">
  83180. <comment>DCIfalse alarm(vit)</comment>
  83181. </bits>
  83182. <bits access="r" name="dci_fa_zero" pos="23:16" rst="0">
  83183. <comment>DCIfalse alarm0</comment>
  83184. </bits>
  83185. <bits access="r" name="dci_pwr" pos="15:0" rst="0">
  83186. <comment>DCI</comment>
  83187. </bits>
  83188. </reg>
  83189. <reg name="dci1_out1" protect="r">
  83190. <bits access="r" name="dci1_out1_dci1_out1" pos="31:0" rst="0">
  83191. <comment>DCI132</comment>
  83192. </bits>
  83193. </reg>
  83194. <reg name="dci1_out2" protect="r">
  83195. <bits access="r" name="dci1_out2_dci1_out2" pos="31:0" rst="0">
  83196. <comment>DCI132</comment>
  83197. </bits>
  83198. </reg>
  83199. <reg name="dci1_info1" protect="r">
  83200. <bits access="r" name="trans_scheme" pos="29:27" rst="0">
  83201. <comment>0
  83202. 1
  83203. 2
  83204. 3PORT7
  83205. 4PORT8</comment>
  83206. </bits>
  83207. <bits access="r" name="ant_sel" pos="26" rst="0">
  83208. <comment>00
  83209. 11</comment>
  83210. </bits>
  83211. <bits access="r" name="dci_prb_len" pos="25:24" rst="0">
  83212. <comment>PRB2+4DCIPRB
  83213. 0:2PRB
  83214. 1:4PRB
  83215. 2:6PRB</comment>
  83216. </bits>
  83217. <bits access="r" name="dci_set_ind" pos="23" rst="0">
  83218. <comment>DCI
  83219. 01
  83220. 12</comment>
  83221. </bits>
  83222. <bits access="r" name="dci_comm_ue" pos="22" rst="0">
  83223. <comment>DCICOMMUE
  83224. 0
  83225. 1UE</comment>
  83226. </bits>
  83227. <bits access="r" name="dci_ri_ind" pos="21:20" rst="0">
  83228. <comment>DCIRi
  83229. 0R0
  83230. 1R1
  83231. 2R2
  83232. 3R3</comment>
  83233. </bits>
  83234. <bits access="r" name="dci_port_sel" pos="19:18" rst="0">
  83235. <comment>DCIPORTn0
  83236. Normal cyclic prefix; Normal subframes, Special subframes, configurations 3, 4, 8
  83237. 0PORT107
  83238. 1PORT108
  83239. 2PORT109
  83240. 3PORT110
  83241. Normal cyclic prefix; Special subframes, configurations 1, 2, 6, 7, 9
  83242. 0:107
  83243. 1:109
  83244. Extended cyclic prefix
  83245. 0:107
  83246. 1:108</comment>
  83247. </bits>
  83248. <bits access="r" name="dci_start_pos" pos="17:13" rst="0">
  83249. <comment>DCI(index:023)</comment>
  83250. </bits>
  83251. <bits access="r" name="dci_rnti_ind" pos="12:9" rst="0">
  83252. <comment>DCI RNTI
  83253. 0RNTI0C-RNTI
  83254. 1RNTI1SPS-C-RNTI
  83255. 2RNTI2TPC-PDCCH-RNTI
  83256. 3RNTI3TPC-PDSCH-RNTI
  83257. 4RNTI4P-RNTI
  83258. 5RNTI5RA-RNTI
  83259. 6RNTI6Temp-C-RNTI
  83260. 7RNTI7SC-RNTI
  83261. 8RNTI8G-RNTI</comment>
  83262. </bits>
  83263. <bits access="r" name="dci_llevel" pos="8:6" rst="0">
  83264. <comment>DCIL
  83265. 000L=1;
  83266. 001L=2;
  83267. 010L=4;
  83268. 011L=8;
  83269. 100L=12;
  83270. 101L=16;
  83271. 110L=24;</comment>
  83272. </bits>
  83273. <bits access="r" name="dci_len" pos="5:0" rst="0">
  83274. <comment>DCI (max38)</comment>
  83275. </bits>
  83276. </reg>
  83277. <reg name="dci1_info2" protect="r">
  83278. <bits access="r" name="pmi_ind" pos="30:27" rst="0">
  83279. <comment>tx2:03tx4:015</comment>
  83280. </bits>
  83281. <bits access="r" name="hq_proc_ind" pos="26:23" rst="0">
  83282. <comment>HARQ:015</comment>
  83283. </bits>
  83284. <bits access="r" name="n_scid" pos="22" rst="0">
  83285. <comment>Nscid(UE)01</comment>
  83286. </bits>
  83287. <bits access="r" name="rv_sel" pos="21:20" rst="0">
  83288. <comment>03</comment>
  83289. </bits>
  83290. <bits access="r" name="modu" pos="19" rst="0">
  83291. <comment>0:QPSK
  83292. 1:16QAM</comment>
  83293. </bits>
  83294. <bits access="r" name="tbsize" pos="18:6" rst="0">
  83295. <comment>max2984</comment>
  83296. </bits>
  83297. <bits access="r" name="lcrb" pos="5:3" rst="0">
  83298. <comment>RB16</comment>
  83299. </bits>
  83300. <bits access="r" name="rb_start" pos="2:0" rst="0">
  83301. <comment>RB05</comment>
  83302. </bits>
  83303. </reg>
  83304. <reg name="dci1_info3" protect="r">
  83305. <bits access="r" name="ackdly" pos="29:27" rst="0">
  83306. <comment>HARQ-ACK delay</comment>
  83307. </bits>
  83308. <bits access="r" name="bundling" pos="26" rst="0">
  83309. <comment>HARQ-ACK bundling flag</comment>
  83310. </bits>
  83311. <bits access="r" name="sps_ind" pos="25:24" rst="0">
  83312. <comment>SPS-C-RNTI
  83313. 0
  83314. 1
  83315. 2</comment>
  83316. </bits>
  83317. <bits access="r" name="ackoffset_scnote" pos="23:22" rst="0">
  83318. <comment>DCI6-1A/DCI6-1BACKInformation for SC-MCCH change notification</comment>
  83319. </bits>
  83320. <bits access="r" name="srsreq" pos="21" rst="0">
  83321. <comment>DCI6-0A /DCI6-1ASRS</comment>
  83322. </bits>
  83323. <bits access="r" name="csireq" pos="20" rst="0">
  83324. <comment>DCI6-0ACSI</comment>
  83325. </bits>
  83326. <bits access="r" name="dai_ulind" pos="19:18" rst="0">
  83327. <comment>DCI6-1A/DCI6-0A(TDD,uldl:16)DAI
  83328. DCI6-1A/DCI6-0A(TDD,uldl:0)ULINDEX</comment>
  83329. </bits>
  83330. <bits access="r" name="tpc" pos="17:16" rst="0">
  83331. <comment>DCI6-0A /DCI6-1A</comment>
  83332. </bits>
  83333. <bits access="r" name="ndi" pos="15" rst="0">
  83334. <comment/>
  83335. </bits>
  83336. <bits access="r" name="rep" pos="14:12" rst="0">
  83337. <comment>PDSCH/PUSCH(DCI6-207DCI6-1x/ DCI6-0x03)</comment>
  83338. </bits>
  83339. <bits access="r" name="dci_rep_bund_num" pos="11:10" rst="0">
  83340. <comment>MPDCCH DCI (03),Transport blocks in a bundle</comment>
  83341. </bits>
  83342. <bits access="r" name="di_order_flag" pos="9" rst="0">
  83343. <comment>DCI2DI(direct indication)
  83344. 0PAGING
  83345. 1DI
  83346. DCI6-1ADCI1-BPDCCH ORDER
  83347. 0ORDER
  83348. 1ORDER</comment>
  83349. </bits>
  83350. <bits access="r" name="pmi_sel" pos="8" rst="0">
  83351. <comment>0DCI
  83352. 1</comment>
  83353. </bits>
  83354. <bits access="r" name="fhop_en" pos="7" rst="0">
  83355. <comment>0
  83356. 1</comment>
  83357. </bits>
  83358. <bits access="r" name="dci_format" pos="6:4" rst="0">
  83359. <comment>DCI
  83360. 0:DCI6-1A
  83361. 1:DCI6-1B
  83362. 2:DCI6-0A
  83363. 3:DCI6-0B
  83364. 4:DCI3/3A
  83365. 5:DCI2</comment>
  83366. </bits>
  83367. <bits access="r" name="nb_ind" pos="3:0" rst="0">
  83368. <comment>015</comment>
  83369. </bits>
  83370. </reg>
  83371. <reg name="dci1_info4" protect="r">
  83372. <bits access="r" name="tbsize2" pos="11:0" rst="0">
  83373. <comment>DCI6-1APDSCH1tbsize</comment>
  83374. </bits>
  83375. </reg>
  83376. <reg name="dci1_pwr" protect="r">
  83377. <bits access="r" name="dci_fa" pos="31:24" rst="0">
  83378. <comment>DCIfalse alarm(vit)</comment>
  83379. </bits>
  83380. <bits access="r" name="dci_fa_zero" pos="23:16" rst="0">
  83381. <comment>DCIfalse alarm0</comment>
  83382. </bits>
  83383. <bits access="r" name="dci_pwr" pos="15:0" rst="0">
  83384. <comment>DCI</comment>
  83385. </bits>
  83386. </reg>
  83387. <reg name="dci2_out1" protect="r">
  83388. <bits access="r" name="dci2_out1_dci2_out1" pos="31:0" rst="0">
  83389. <comment>DCI232</comment>
  83390. </bits>
  83391. </reg>
  83392. <reg name="dci2_out2" protect="r">
  83393. <bits access="r" name="dci2_out2_dci2_out2" pos="31:0" rst="0">
  83394. <comment>DCI232</comment>
  83395. </bits>
  83396. </reg>
  83397. <reg name="dci2_info1" protect="r">
  83398. <bits access="r" name="trans_scheme" pos="29:27" rst="0">
  83399. <comment>0
  83400. 1
  83401. 2
  83402. 3PORT7
  83403. 4PORT8</comment>
  83404. </bits>
  83405. <bits access="r" name="ant_sel" pos="26" rst="0">
  83406. <comment>00
  83407. 11</comment>
  83408. </bits>
  83409. <bits access="r" name="dci_prb_len" pos="25:24" rst="0">
  83410. <comment>PRB2+4DCIPRB
  83411. 0:2PRB
  83412. 1:4PRB
  83413. 2:6PRB</comment>
  83414. </bits>
  83415. <bits access="r" name="dci_set_ind" pos="23" rst="0">
  83416. <comment>DCI
  83417. 01
  83418. 12</comment>
  83419. </bits>
  83420. <bits access="r" name="dci_comm_ue" pos="22" rst="0">
  83421. <comment>DCICOMMUE
  83422. 0
  83423. 1UE</comment>
  83424. </bits>
  83425. <bits access="r" name="dci_ri_ind" pos="21:20" rst="0">
  83426. <comment>DCIRi
  83427. 0R0
  83428. 1R1
  83429. 2R2
  83430. 3R3</comment>
  83431. </bits>
  83432. <bits access="r" name="dci_port_sel" pos="19:18" rst="0">
  83433. <comment>DCIPORTn0
  83434. Normal cyclic prefix; Normal subframes, Special subframes, configurations 3, 4, 8
  83435. 0PORT107
  83436. 1PORT108
  83437. 2PORT109
  83438. 3PORT110
  83439. Normal cyclic prefix; Special subframes, configurations 1, 2, 6, 7, 9
  83440. 0:107
  83441. 1:109
  83442. Extended cyclic prefix
  83443. 0:107
  83444. 1:108</comment>
  83445. </bits>
  83446. <bits access="r" name="dci_start_pos" pos="17:13" rst="0">
  83447. <comment>DCI(index:023)</comment>
  83448. </bits>
  83449. <bits access="r" name="dci_rnti_ind" pos="12:9" rst="0">
  83450. <comment>DCI RNTI
  83451. 0RNTI0C-RNTI
  83452. 1RNTI1SPS-C-RNTI
  83453. 2RNTI2TPC-PDCCH-RNTI
  83454. 3RNTI3TPC-PDSCH-RNTI
  83455. 4RNTI4P-RNTI
  83456. 5RNTI5RA-RNTI
  83457. 6RNTI6Temp-C-RNTI
  83458. 7RNTI7SC-RNTI
  83459. 8RNTI8G-RNTI</comment>
  83460. </bits>
  83461. <bits access="r" name="dci_llevel" pos="8:6" rst="0">
  83462. <comment>DCIL
  83463. 000L=1;
  83464. 001L=2;
  83465. 010L=4;
  83466. 011L=8;
  83467. 100L=12;
  83468. 101L=16;
  83469. 110L=24;</comment>
  83470. </bits>
  83471. <bits access="r" name="dci_len" pos="5:0" rst="0">
  83472. <comment>DCI (max38)</comment>
  83473. </bits>
  83474. </reg>
  83475. <reg name="dci2_info2" protect="r">
  83476. <bits access="r" name="pmi_ind" pos="30:27" rst="0">
  83477. <comment>tx2:03tx4:015</comment>
  83478. </bits>
  83479. <bits access="r" name="hq_proc_ind" pos="26:23" rst="0">
  83480. <comment>HARQ:015</comment>
  83481. </bits>
  83482. <bits access="r" name="n_scid" pos="22" rst="0">
  83483. <comment>Nscid(UE)01</comment>
  83484. </bits>
  83485. <bits access="r" name="rv_sel" pos="21:20" rst="0">
  83486. <comment>03</comment>
  83487. </bits>
  83488. <bits access="r" name="modu" pos="19" rst="0">
  83489. <comment>0:QPSK
  83490. 1:16QAM</comment>
  83491. </bits>
  83492. <bits access="r" name="tbsize" pos="18:6" rst="0">
  83493. <comment>max2984</comment>
  83494. </bits>
  83495. <bits access="r" name="lcrb" pos="5:3" rst="0">
  83496. <comment>RB16</comment>
  83497. </bits>
  83498. <bits access="r" name="rb_start" pos="2:0" rst="0">
  83499. <comment>RB05</comment>
  83500. </bits>
  83501. </reg>
  83502. <reg name="dci2_info3" protect="r">
  83503. <bits access="r" name="ackdly" pos="29:27" rst="0">
  83504. <comment>HARQ-ACK delay</comment>
  83505. </bits>
  83506. <bits access="r" name="bundling" pos="26" rst="0">
  83507. <comment>HARQ-ACK bundling flag</comment>
  83508. </bits>
  83509. <bits access="r" name="sps_ind" pos="25:24" rst="0">
  83510. <comment>SPS-C-RNTI
  83511. 0
  83512. 1
  83513. 2</comment>
  83514. </bits>
  83515. <bits access="r" name="ackoffset_scnote" pos="23:22" rst="0">
  83516. <comment>DCI6-1A/DCI6-1BACKInformation for SC-MCCH change notification</comment>
  83517. </bits>
  83518. <bits access="r" name="srsreq" pos="21" rst="0">
  83519. <comment>DCI6-0A /DCI6-1ASRS</comment>
  83520. </bits>
  83521. <bits access="r" name="csireq" pos="20" rst="0">
  83522. <comment>DCI6-0ACSI</comment>
  83523. </bits>
  83524. <bits access="r" name="dai_ulind" pos="19:18" rst="0">
  83525. <comment>DCI6-1A/DCI6-0A(TDD,uldl:16)DAI
  83526. DCI6-1A/DCI6-0A(TDD,uldl:0)ULINDEX</comment>
  83527. </bits>
  83528. <bits access="r" name="tpc" pos="17:16" rst="0">
  83529. <comment>DCI6-0A /DCI6-1A</comment>
  83530. </bits>
  83531. <bits access="r" name="ndi" pos="15" rst="0">
  83532. <comment/>
  83533. </bits>
  83534. <bits access="r" name="rep" pos="14:12" rst="0">
  83535. <comment>PDSCH/PUSCH(DCI6-207DCI6-1x/ DCI6-0x03)</comment>
  83536. </bits>
  83537. <bits access="r" name="dci_rep_bund_num" pos="11:10" rst="0">
  83538. <comment>MPDCCH DCI (03),Transport blocks in a bundle</comment>
  83539. </bits>
  83540. <bits access="r" name="di_order_flag" pos="9" rst="0">
  83541. <comment>DCI2DI(direct indication)
  83542. 0PAGING
  83543. 1DI
  83544. DCI6-1ADCI1-BPDCCH ORDER
  83545. 0ORDER
  83546. 1ORDER</comment>
  83547. </bits>
  83548. <bits access="r" name="pmi_sel" pos="8" rst="0">
  83549. <comment>0DCI
  83550. 1</comment>
  83551. </bits>
  83552. <bits access="r" name="fhop_en" pos="7" rst="0">
  83553. <comment>0
  83554. 1</comment>
  83555. </bits>
  83556. <bits access="r" name="dci_format" pos="6:4" rst="0">
  83557. <comment>DCI
  83558. 0:DCI6-1A
  83559. 1:DCI6-1B
  83560. 2:DCI6-0A
  83561. 3:DCI6-0B
  83562. 4:DCI3/3A
  83563. 5:DCI2</comment>
  83564. </bits>
  83565. <bits access="r" name="nb_ind" pos="3:0" rst="0">
  83566. <comment>015</comment>
  83567. </bits>
  83568. </reg>
  83569. <reg name="dci2_info4" protect="r">
  83570. <bits access="r" name="tbsize2" pos="11:0" rst="0">
  83571. <comment>DCI6-1APDSCH1tbsize</comment>
  83572. </bits>
  83573. </reg>
  83574. <reg name="dci2_pwr" protect="r">
  83575. <bits access="r" name="dci_fa" pos="31:24" rst="0">
  83576. <comment>DCIfalse alarm(vit)</comment>
  83577. </bits>
  83578. <bits access="r" name="dci_fa_zero" pos="23:16" rst="0">
  83579. <comment>DCIfalse alarm0</comment>
  83580. </bits>
  83581. <bits access="r" name="dci_pwr" pos="15:0" rst="0">
  83582. <comment>DCI</comment>
  83583. </bits>
  83584. </reg>
  83585. <reg name="dci3_out1" protect="r">
  83586. <bits access="r" name="dci3_out1_dci3_out1" pos="31:0" rst="0">
  83587. <comment>DCI332</comment>
  83588. </bits>
  83589. </reg>
  83590. <reg name="dci3_out2" protect="r">
  83591. <bits access="r" name="dci3_out2_dci3_out2" pos="31:0" rst="0">
  83592. <comment>DCI332</comment>
  83593. </bits>
  83594. </reg>
  83595. <reg name="dci3_info1" protect="r">
  83596. <bits access="r" name="trans_scheme" pos="29:27" rst="0">
  83597. <comment>0
  83598. 1
  83599. 2
  83600. 3PORT7
  83601. 4PORT8</comment>
  83602. </bits>
  83603. <bits access="r" name="ant_sel" pos="26" rst="0">
  83604. <comment>00
  83605. 11</comment>
  83606. </bits>
  83607. <bits access="r" name="dci_prb_len" pos="25:24" rst="0">
  83608. <comment>PRB2+4DCIPRB
  83609. 0:2PRB
  83610. 1:4PRB
  83611. 2:6PRB</comment>
  83612. </bits>
  83613. <bits access="r" name="dci_set_ind" pos="23" rst="0">
  83614. <comment>DCI
  83615. 01
  83616. 12</comment>
  83617. </bits>
  83618. <bits access="r" name="dci_comm_ue" pos="22" rst="0">
  83619. <comment>DCICOMMUE
  83620. 0
  83621. 1UE</comment>
  83622. </bits>
  83623. <bits access="r" name="dci_ri_ind" pos="21:20" rst="0">
  83624. <comment>DCIRi
  83625. 0R0
  83626. 1R1
  83627. 2R2
  83628. 3R3</comment>
  83629. </bits>
  83630. <bits access="r" name="dci_port_sel" pos="19:18" rst="0">
  83631. <comment>DCIPORTn0
  83632. Normal cyclic prefix; Normal subframes, Special subframes, configurations 3, 4, 8
  83633. 0PORT107
  83634. 1PORT108
  83635. 2PORT109
  83636. 3PORT110
  83637. Normal cyclic prefix; Special subframes, configurations 1, 2, 6, 7, 9
  83638. 0:107
  83639. 1:109
  83640. Extended cyclic prefix
  83641. 0:107
  83642. 1:108</comment>
  83643. </bits>
  83644. <bits access="r" name="dci_start_pos" pos="17:13" rst="0">
  83645. <comment>DCI(index:023)</comment>
  83646. </bits>
  83647. <bits access="r" name="dci_rnti_ind" pos="12:9" rst="0">
  83648. <comment>DCI RNTI
  83649. 0RNTI0C-RNTI
  83650. 1RNTI1SPS-C-RNTI
  83651. 2RNTI2TPC-PDCCH-RNTI
  83652. 3RNTI3TPC-PDSCH-RNTI
  83653. 4RNTI4P-RNTI
  83654. 5RNTI5RA-RNTI
  83655. 6RNTI6Temp-C-RNTI
  83656. 7RNTI7SC-RNTI
  83657. 8RNTI8G-RNTI</comment>
  83658. </bits>
  83659. <bits access="r" name="dci_llevel" pos="8:6" rst="0">
  83660. <comment>DCIL
  83661. 000L=1;
  83662. 001L=2;
  83663. 010L=4;
  83664. 011L=8;
  83665. 100L=12;
  83666. 101L=16;
  83667. 110L=24;</comment>
  83668. </bits>
  83669. <bits access="r" name="dci_len" pos="5:0" rst="0">
  83670. <comment>DCI (max38)</comment>
  83671. </bits>
  83672. </reg>
  83673. <reg name="dci3_info2" protect="r">
  83674. <bits access="r" name="pmi_ind" pos="30:27" rst="0">
  83675. <comment>tx2:03tx4:015</comment>
  83676. </bits>
  83677. <bits access="r" name="hq_proc_ind" pos="26:23" rst="0">
  83678. <comment>HARQ:015</comment>
  83679. </bits>
  83680. <bits access="r" name="n_scid" pos="22" rst="0">
  83681. <comment>Nscid(UE)01</comment>
  83682. </bits>
  83683. <bits access="r" name="rv_sel" pos="21:20" rst="0">
  83684. <comment>03</comment>
  83685. </bits>
  83686. <bits access="r" name="modu" pos="19" rst="0">
  83687. <comment>0:QPSK
  83688. 1:16QAM</comment>
  83689. </bits>
  83690. <bits access="r" name="tbsize" pos="18:6" rst="0">
  83691. <comment>max2984</comment>
  83692. </bits>
  83693. <bits access="r" name="lcrb" pos="5:3" rst="0">
  83694. <comment>RB16</comment>
  83695. </bits>
  83696. <bits access="r" name="rb_start" pos="2:0" rst="0">
  83697. <comment>RB05</comment>
  83698. </bits>
  83699. </reg>
  83700. <reg name="dci3_info3" protect="r">
  83701. <bits access="r" name="ackdly" pos="29:27" rst="0">
  83702. <comment>HARQ-ACK delay</comment>
  83703. </bits>
  83704. <bits access="r" name="bundling" pos="26" rst="0">
  83705. <comment>HARQ-ACK bundling flag</comment>
  83706. </bits>
  83707. <bits access="r" name="sps_ind" pos="25:24" rst="0">
  83708. <comment>SPS-C-RNTI
  83709. 0
  83710. 1
  83711. 2</comment>
  83712. </bits>
  83713. <bits access="r" name="ackoffset_scnote" pos="23:22" rst="0">
  83714. <comment>DCI6-1A/DCI6-1BACKInformation for SC-MCCH change notification</comment>
  83715. </bits>
  83716. <bits access="r" name="srsreq" pos="21" rst="0">
  83717. <comment>DCI6-0A /DCI6-1ASRS</comment>
  83718. </bits>
  83719. <bits access="r" name="csireq" pos="20" rst="0">
  83720. <comment>DCI6-0ACSI</comment>
  83721. </bits>
  83722. <bits access="r" name="dai_ulind" pos="19:18" rst="0">
  83723. <comment>DCI6-1A/DCI6-0A(TDD,uldl:16)DAI
  83724. DCI6-1A/DCI6-0A(TDD,uldl:0)ULINDEX</comment>
  83725. </bits>
  83726. <bits access="r" name="tpc" pos="17:16" rst="0">
  83727. <comment>DCI6-0A /DCI6-1A</comment>
  83728. </bits>
  83729. <bits access="r" name="ndi" pos="15" rst="0">
  83730. <comment/>
  83731. </bits>
  83732. <bits access="r" name="rep" pos="14:12" rst="0">
  83733. <comment>PDSCH/PUSCH(DCI6-207DCI6-1x/ DCI6-0x03)</comment>
  83734. </bits>
  83735. <bits access="r" name="dci_rep_bund_num" pos="11:10" rst="0">
  83736. <comment>MPDCCH DCI (03),Transport blocks in a bundle</comment>
  83737. </bits>
  83738. <bits access="r" name="di_order_flag" pos="9" rst="0">
  83739. <comment>DCI2DI(direct indication)
  83740. 0PAGING
  83741. 1DI
  83742. DCI6-1ADCI1-BPDCCH ORDER
  83743. 0ORDER
  83744. 1ORDER</comment>
  83745. </bits>
  83746. <bits access="r" name="pmi_sel" pos="8" rst="0">
  83747. <comment>0DCI
  83748. 1</comment>
  83749. </bits>
  83750. <bits access="r" name="fhop_en" pos="7" rst="0">
  83751. <comment>0
  83752. 1</comment>
  83753. </bits>
  83754. <bits access="r" name="dci_format" pos="6:4" rst="0">
  83755. <comment>DCI
  83756. 0:DCI6-1A
  83757. 1:DCI6-1B
  83758. 2:DCI6-0A
  83759. 3:DCI6-0B
  83760. 4:DCI3/3A
  83761. 5:DCI2</comment>
  83762. </bits>
  83763. <bits access="r" name="nb_ind" pos="3:0" rst="0">
  83764. <comment>015</comment>
  83765. </bits>
  83766. </reg>
  83767. <reg name="dci3_info4" protect="r">
  83768. <bits access="r" name="tbsize2" pos="11:0" rst="0">
  83769. <comment>DCI6-1APDSCH1tbsize</comment>
  83770. </bits>
  83771. </reg>
  83772. <reg name="dci3_pwr" protect="r">
  83773. <bits access="r" name="dci_fa" pos="31:24" rst="0">
  83774. <comment>DCIfalse alarm(vit)</comment>
  83775. </bits>
  83776. <bits access="r" name="dci_fa_zero" pos="23:16" rst="0">
  83777. <comment>DCIfalse alarm0</comment>
  83778. </bits>
  83779. <bits access="r" name="dci_pwr" pos="15:0" rst="0">
  83780. <comment>DCI</comment>
  83781. </bits>
  83782. </reg>
  83783. <reg name="mib0_out" protect="r">
  83784. <bits access="r" name="mib0_out_mib0_out" pos="23:0" rst="0">
  83785. <comment>MIB</comment>
  83786. </bits>
  83787. </reg>
  83788. <reg name="mib0_info" protect="r">
  83789. <bits access="r" name="sib1_schedule" pos="14:10" rst="0">
  83790. <comment>SIB1schedule0~31</comment>
  83791. </bits>
  83792. <bits access="r" name="bw_ind" pos="9:7" rst="0">
  83793. <comment>01.4Mhz
  83794. 13Mhz
  83795. 25Mhz
  83796. 310Mhz
  83797. 415Mhz
  83798. 520Mhz
  83799. 6~75</comment>
  83800. </bits>
  83801. <bits access="r" name="sf_ind" pos="6:5" rst="0">
  83802. <comment>MIB
  83803. 00
  83804. 11
  83805. 22
  83806. 33</comment>
  83807. </bits>
  83808. <bits access="r" name="rep_ind" pos="4:0" rst="0">
  83809. <comment>MIB
  83810. bit0
  83811. bit11 alllegacyTDD0FDD90
  83812. bit221 onlylegacyTDD0FDD90
  83813. bit32 alllegacyTDD05FDD
  83814. bit42 onlylegacyTDD05FDD</comment>
  83815. </bits>
  83816. </reg>
  83817. <reg name="mib1_out" protect="r">
  83818. <bits access="r" name="mib1_out_mib1_out" pos="23:0" rst="0">
  83819. <comment>MIB</comment>
  83820. </bits>
  83821. </reg>
  83822. <reg name="mib1_info" protect="r">
  83823. <bits access="r" name="sib1_schedule" pos="14:10" rst="0">
  83824. <comment>SIB1schedule0~31</comment>
  83825. </bits>
  83826. <bits access="r" name="bw_ind" pos="9:7" rst="0">
  83827. <comment>01.4Mhz
  83828. 13Mhz
  83829. 25Mhz
  83830. 310Mhz
  83831. 415Mhz
  83832. 520Mhz
  83833. 6~75</comment>
  83834. </bits>
  83835. <bits access="r" name="sf_ind" pos="6:5" rst="0">
  83836. <comment>MIB
  83837. 00
  83838. 11
  83839. 22
  83840. 33</comment>
  83841. </bits>
  83842. <bits access="r" name="rep_ind" pos="4:0" rst="0">
  83843. <comment>MIB
  83844. bit0
  83845. bit11 alllegacyTDD0FDD90
  83846. bit221 onlylegacyTDD0FDD90
  83847. bit32 alllegacyTDD05FDD
  83848. bit42 onlylegacyTDD05FDD</comment>
  83849. </bits>
  83850. </reg>
  83851. <reg name="pmi_out" protect="r">
  83852. <bits access="r" name="pmi_out_pmi_out" pos="3:0" rst="0">
  83853. <comment/>
  83854. </bits>
  83855. </reg>
  83856. <reg name="shft_fact_out0" protect="r">
  83857. <bits access="r" name="shft5" pos="29:25" rst="0">
  83858. <comment>5</comment>
  83859. </bits>
  83860. <bits access="r" name="shft4" pos="24:20" rst="0">
  83861. <comment>4</comment>
  83862. </bits>
  83863. <bits access="r" name="shft3" pos="19:15" rst="0">
  83864. <comment>3</comment>
  83865. </bits>
  83866. <bits access="r" name="shft2" pos="14:10" rst="0">
  83867. <comment>2</comment>
  83868. </bits>
  83869. <bits access="r" name="shft1" pos="9:5" rst="0">
  83870. <comment>1</comment>
  83871. </bits>
  83872. <bits access="r" name="shft0" pos="4:0" rst="0">
  83873. <comment>0</comment>
  83874. </bits>
  83875. </reg>
  83876. <reg name="shft_fact_out1" protect="r">
  83877. <bits access="r" name="shft11" pos="29:25" rst="0">
  83878. <comment>11</comment>
  83879. </bits>
  83880. <bits access="r" name="shft10" pos="24:20" rst="0">
  83881. <comment>10</comment>
  83882. </bits>
  83883. <bits access="r" name="shft9" pos="19:15" rst="0">
  83884. <comment>9</comment>
  83885. </bits>
  83886. <bits access="r" name="shft8" pos="14:10" rst="0">
  83887. <comment>8</comment>
  83888. </bits>
  83889. <bits access="r" name="shft7" pos="9:5" rst="0">
  83890. <comment>7</comment>
  83891. </bits>
  83892. <bits access="r" name="shft6" pos="4:0" rst="0">
  83893. <comment>6</comment>
  83894. </bits>
  83895. </reg>
  83896. <reg name="shft_fact_out2" protect="r">
  83897. <bits access="r" name="shft13" pos="9:5" rst="0">
  83898. <comment>13</comment>
  83899. </bits>
  83900. <bits access="r" name="shft12" pos="4:0" rst="0">
  83901. <comment>12</comment>
  83902. </bits>
  83903. </reg>
  83904. <reg name="ldtc_run_ctrl" protect="rw">
  83905. <bits access="rw" name="ldtc_run_ctrl_ldtc_run_ctrl" pos="19:0" rst="78000">
  83906. <comment>LDTC CYCLE
  83907. LDTCCYCLE</comment>
  83908. </bits>
  83909. </reg>
  83910. <reg name="reis_conf_nxt" protect="rw">
  83911. <bits access="rw" name="reis_en" pos="9" rst="0">
  83912. <comment>REIS
  83913. 0
  83914. 1</comment>
  83915. </bits>
  83916. <bits access="rw" name="reis_dc_en" pos="8" rst="0">
  83917. <comment>REIS
  83918. 0
  83919. 1REIS</comment>
  83920. </bits>
  83921. <bits access="rw" name="reis_dc_shift" pos="7:4" rst="0">
  83922. <comment>REIS0</comment>
  83923. </bits>
  83924. <bits access="rw" name="reis_num" pos="3:0" rst="0">
  83925. <comment>REISNUM</comment>
  83926. </bits>
  83927. </reg>
  83928. <reg name="reis_pos0_nxt" protect="rw">
  83929. <bits access="rw" name="reis_shift1" pos="31:28" rst="0">
  83930. <comment>REIS1</comment>
  83931. </bits>
  83932. <bits access="rw" name="reis_re1" pos="26:16" rst="0">
  83933. <comment>REIS1RE20M1200RE</comment>
  83934. </bits>
  83935. <bits access="rw" name="reis_shift0" pos="15:12" rst="0">
  83936. <comment>REIS0</comment>
  83937. </bits>
  83938. <bits access="rw" name="reis_re0" pos="10:0" rst="0">
  83939. <comment>REIS0 RE20M1200RE</comment>
  83940. </bits>
  83941. </reg>
  83942. <reg name="reis_pos1_nxt" protect="rw">
  83943. <bits access="rw" name="reis_shift3" pos="31:28" rst="0">
  83944. <comment>REIS3</comment>
  83945. </bits>
  83946. <bits access="rw" name="reis_re3" pos="26:16" rst="0">
  83947. <comment>REIS3RE20M1200RE</comment>
  83948. </bits>
  83949. <bits access="rw" name="reis_shift2" pos="15:12" rst="0">
  83950. <comment>REIS2</comment>
  83951. </bits>
  83952. <bits access="rw" name="reis_re2" pos="10:0" rst="0">
  83953. <comment>REIS2 RE20M1200RE</comment>
  83954. </bits>
  83955. </reg>
  83956. <reg name="reis_pos2_nxt" protect="rw">
  83957. <bits access="rw" name="reis_shift5" pos="31:28" rst="0">
  83958. <comment>REIS3</comment>
  83959. </bits>
  83960. <bits access="rw" name="reis_re5" pos="26:16" rst="0">
  83961. <comment>REIS3RE20M1200RE</comment>
  83962. </bits>
  83963. <bits access="rw" name="reis_shift4" pos="15:12" rst="0">
  83964. <comment>REIS2</comment>
  83965. </bits>
  83966. <bits access="rw" name="reis_re4" pos="10:0" rst="0">
  83967. <comment>REIS2 RE20M1200RE</comment>
  83968. </bits>
  83969. </reg>
  83970. <reg name="reis_pos3_nxt" protect="rw">
  83971. <bits access="rw" name="reis_shift7" pos="31:28" rst="0">
  83972. <comment>REIS3</comment>
  83973. </bits>
  83974. <bits access="rw" name="reis_re7" pos="26:16" rst="0">
  83975. <comment>REIS3RE20M1200RE</comment>
  83976. </bits>
  83977. <bits access="rw" name="reis_shift6" pos="15:12" rst="0">
  83978. <comment>REIS2</comment>
  83979. </bits>
  83980. <bits access="rw" name="reis_re6" pos="10:0" rst="0">
  83981. <comment>REIS2 RE20M1200RE</comment>
  83982. </bits>
  83983. </reg>
  83984. <reg name="rbis_conf" protect="rw">
  83985. <bits access="rw" name="rbis_portsel" pos="31" rst="0">
  83986. <comment>2ABISPORT
  83987. 0port0
  83988. 1port1</comment>
  83989. </bits>
  83990. <bits access="rw" name="rbis_en" pos="30" rst="0">
  83991. <comment>RBIS
  83992. 0
  83993. 1</comment>
  83994. </bits>
  83995. <bits access="rw" name="rbis_sdden" pos="29" rst="0">
  83996. <comment>RBISSD PDSCH
  83997. 0
  83998. 1</comment>
  83999. </bits>
  84000. <bits access="rw" name="rbis_sdcen" pos="28" rst="0">
  84001. <comment>RBISSD MPDCCH
  84002. 0
  84003. 1</comment>
  84004. </bits>
  84005. <bits access="rw" name="rbis_sdben" pos="27" rst="0">
  84006. <comment>RBISSD PBCH
  84007. 0
  84008. 1</comment>
  84009. </bits>
  84010. <bits access="rw" name="rbis_posen" pos="26" rst="0">
  84011. <comment>RBIS
  84012. 0
  84013. 1</comment>
  84014. </bits>
  84015. <bits access="rw" name="rbis_num" pos="25:23" rst="0">
  84016. <comment>RBIS
  84017. 01
  84018. 12
  84019. 23
  84020. 34
  84021. 45</comment>
  84022. </bits>
  84023. <bits access="rw" name="rbis_dipos" pos="22:16" rst="0">
  84024. <comment>RBIS</comment>
  84025. </bits>
  84026. <bits access="rw" name="rbis_factor" pos="15:0" rst="0">
  84027. <comment>RBIS</comment>
  84028. </bits>
  84029. </reg>
  84030. <reg name="rbis_posout" protect="r">
  84031. <bits access="r" name="rbis_posout4" pos="19:16" rst="15">
  84032. <comment>RBIS0~5</comment>
  84033. </bits>
  84034. <bits access="r" name="rbis_posout3" pos="15:12" rst="15">
  84035. <comment>RBIS0~5</comment>
  84036. </bits>
  84037. <bits access="r" name="rbis_posout2" pos="11:8" rst="15">
  84038. <comment>RBIS0~5</comment>
  84039. </bits>
  84040. <bits access="r" name="rbis_posout1" pos="7:4" rst="15">
  84041. <comment>RBIS0~5</comment>
  84042. </bits>
  84043. <bits access="r" name="rbis_posout0" pos="3:0" rst="15">
  84044. <comment>RBIS0~5</comment>
  84045. </bits>
  84046. </reg>
  84047. <reg name="rbis_ave" protect="r">
  84048. <bits access="r" name="rbis_ave_rbis_ave" pos="31:0" rst="0">
  84049. <comment>RBIS</comment>
  84050. </bits>
  84051. </reg>
  84052. <reg name="rbis_max" protect="r">
  84053. <bits access="r" name="rbis_max_rbis_max" pos="24:0" rst="0">
  84054. <comment>RBIS</comment>
  84055. </bits>
  84056. </reg>
  84057. <reg name="abis_enbl_nxt" protect="rw">
  84058. <bits access="rw" name="abis_portsel2" pos="10:9" rst="0">
  84059. <comment>2
  84060. 02port0port14port0port1port2port3
  84061. 12port04port0port2port3
  84062. 22port14port1port2port3</comment>
  84063. </bits>
  84064. <bits access="rw" name="abis_portsel1" pos="8:7" rst="0">
  84065. <comment>1
  84066. 02port0port14port0port1port2port3
  84067. 12port04port0port2port3
  84068. 22port14port1port2port3</comment>
  84069. </bits>
  84070. <bits access="rw" name="abis_portsel0" pos="6:5" rst="0">
  84071. <comment>02port0port14port0port1port2port3
  84072. 12port04port0port2port3
  84073. 22port14port1port2port3</comment>
  84074. </bits>
  84075. <bits access="rw" name="mc_en" pos="4" rst="0">
  84076. <comment>MultiCell
  84077. 0SingalCell
  84078. 1:MultiCell</comment>
  84079. </bits>
  84080. <bits access="rw" name="abis_sdden" pos="3" rst="0">
  84081. <comment>ABIS SD PDSCH
  84082. 0
  84083. 1</comment>
  84084. </bits>
  84085. <bits access="rw" name="abis_sdcen" pos="2" rst="0">
  84086. <comment>ABIS SD MPDCCH
  84087. 0
  84088. 1</comment>
  84089. </bits>
  84090. <bits access="rw" name="abis_sdben" pos="1" rst="0">
  84091. <comment>ABIS SD PBCH
  84092. 0
  84093. 1</comment>
  84094. </bits>
  84095. <bits access="rw" name="abis_en" pos="0" rst="0">
  84096. <comment>ABIS
  84097. 0
  84098. 1</comment>
  84099. </bits>
  84100. </reg>
  84101. <reg name="abis_cfg_nxt" protect="rw">
  84102. <bits access="rw" name="abis_num" pos="29:28" rst="0">
  84103. <comment>000
  84104. 011
  84105. 102
  84106. 0</comment>
  84107. </bits>
  84108. <bits access="rw" name="abis_txnum2" pos="27:26" rst="0">
  84109. <comment>2
  84110. 001port
  84111. 012port
  84112. 104port
  84113. 1port</comment>
  84114. </bits>
  84115. <bits access="rw" name="abis_txnum1" pos="25:24" rst="0">
  84116. <comment>1
  84117. 001port
  84118. 012port
  84119. 104port
  84120. 1port</comment>
  84121. </bits>
  84122. <bits access="rw" name="abis_nrb2" pos="23:21" rst="0">
  84123. <comment>2
  84124. 0006prb
  84125. 00115prb
  84126. 01025prb
  84127. 01150prb
  84128. 10075prb
  84129. 101100prb
  84130. 6prb</comment>
  84131. </bits>
  84132. <bits access="rw" name="abis_nrb1" pos="20:18" rst="0">
  84133. <comment>1
  84134. 0006prb
  84135. 00115prb
  84136. 01025prb
  84137. 01150prb
  84138. 10075prb
  84139. 101100prb
  84140. 6prb</comment>
  84141. </bits>
  84142. <bits access="rw" name="abis_cellid2" pos="17:9" rst="0">
  84143. <comment>2 CELL ID</comment>
  84144. </bits>
  84145. <bits access="rw" name="abis_cellid1" pos="8:0" rst="0">
  84146. <comment>1 CELL ID</comment>
  84147. </bits>
  84148. </reg>
  84149. <reg name="abis_dly1_nxt" protect="rw">
  84150. <bits access="rw" name="abis_dly1" pos="18:0" rst="0">
  84151. <comment>1TS</comment>
  84152. </bits>
  84153. </reg>
  84154. <reg name="abis_dly2_nxt" protect="rw">
  84155. <bits access="rw" name="abis_dly2" pos="18:0" rst="0">
  84156. <comment>2TS</comment>
  84157. </bits>
  84158. </reg>
  84159. <reg name="abis_shft" protect="r">
  84160. <bits access="r" name="abis_shft3" pos="11:8" rst="0">
  84161. <comment>ABIS31+2</comment>
  84162. </bits>
  84163. <bits access="r" name="abis_shft2" pos="7:4" rst="0">
  84164. <comment>ABIS22</comment>
  84165. </bits>
  84166. <bits access="r" name="abis_shft1" pos="3:0" rst="0">
  84167. <comment>ABIS11</comment>
  84168. </bits>
  84169. </reg>
  84170. <reg name="pbml_cfg_nxt" protect="rw">
  84171. <bits access="rw" name="pbml_en" pos="20" rst="0">
  84172. <comment>PBML
  84173. 0
  84174. 1</comment>
  84175. </bits>
  84176. <bits access="rw" name="pbml_cal_len" pos="19:14" rst="0">
  84177. <comment>LLR</comment>
  84178. </bits>
  84179. <bits access="rw" name="pbml_pos_sta" pos="13:8" rst="0">
  84180. <comment>LLR</comment>
  84181. </bits>
  84182. <bits access="rw" name="pbml_alpha" pos="7:0" rst="0">
  84183. <comment>LLR
  84184. 0~255</comment>
  84185. </bits>
  84186. </reg>
  84187. <reg name="vit_faconf" protect="rw">
  84188. <bits access="rw" name="fa_en" pos="8" rst="0">
  84189. <comment>PDCCHfalse alarm</comment>
  84190. </bits>
  84191. <bits access="rw" name="fa_th" pos="7:0" rst="0">
  84192. <comment>PDCCHfalse alarm(U8Q7)</comment>
  84193. </bits>
  84194. </reg>
  84195. <reg name="sw_cin_nxt" protect="rw">
  84196. <bits access="rw" name="sw_in" pos="31:0" rst="0">
  84197. <comment/>
  84198. </bits>
  84199. </reg>
  84200. <reg name="sw_cout_nxt" protect="r">
  84201. <bits access="r" name="sw_out" pos="31:0" rst="0">
  84202. <comment/>
  84203. </bits>
  84204. </reg>
  84205. <reg name="sw_din_nxt" protect="rw">
  84206. <bits access="rw" name="sw_in" pos="31:0" rst="0">
  84207. <comment/>
  84208. </bits>
  84209. </reg>
  84210. <reg name="sw_dout_nxt" protect="r">
  84211. <bits access="r" name="sw_out" pos="31:0" rst="0">
  84212. <comment/>
  84213. </bits>
  84214. </reg>
  84215. <reg name="ldtc_intflag" protect="rw">
  84216. <bits access="rc" name="pmi_flag" pos="3" rst="0">
  84217. <comment>bit type is changed from rw1c to rc.
  84218. PMI
  84219. 0
  84220. 1</comment>
  84221. </bits>
  84222. <bits access="rc" name="b_flag" pos="2" rst="0">
  84223. <comment>bit type is changed from rw1c to rc.
  84224. PBCH
  84225. 0
  84226. 1</comment>
  84227. </bits>
  84228. <bits access="rc" name="d_flag" pos="1" rst="0">
  84229. <comment>bit type is changed from rw1c to rc.
  84230. PDSCH
  84231. 0
  84232. 1</comment>
  84233. </bits>
  84234. <bits access="rc" name="c_flag" pos="0" rst="0">
  84235. <comment>bit type is changed from rw1c to rc.
  84236. MPDCCH
  84237. 0
  84238. 1</comment>
  84239. </bits>
  84240. </reg>
  84241. <reg name="ldtc_cout" protect="r">
  84242. <bits access="r" name="dci_det_full" pos="12" rst="0">
  84243. <comment>DCI
  84244. 0
  84245. 1</comment>
  84246. </bits>
  84247. <bits access="r" name="dci_rlastval" pos="11:8" rst="0">
  84248. <comment>DCI Ri
  84249. 0DCI
  84250. 1DCIRi</comment>
  84251. </bits>
  84252. <bits access="r" name="dci_reconfmval" pos="7:4" rst="0">
  84253. <comment>DCI2
  84254. 0DCI
  84255. 1DCI2</comment>
  84256. </bits>
  84257. <bits access="r" name="dci_nowvalid" pos="3:0" rst="0">
  84258. <comment>DCI
  84259. 0DCI
  84260. 1DCI</comment>
  84261. </bits>
  84262. </reg>
  84263. <reg name="ldtc_dmout" protect="r">
  84264. <bits access="r" name="mib_valid" pos="3:2" rst="0">
  84265. <comment>MIB
  84266. 0MIB
  84267. 1MIB</comment>
  84268. </bits>
  84269. <bits access="r" name="pdsch_zero_flag" pos="1" rst="0">
  84270. <comment>PDSCH CRC
  84271. 0
  84272. 1</comment>
  84273. </bits>
  84274. <bits access="r" name="pdsch_crc_flag" pos="0" rst="1">
  84275. <comment>PDSCH CRC
  84276. 0CRC
  84277. 1CRC</comment>
  84278. </bits>
  84279. </reg>
  84280. <reg name="ldtc_state_l" protect="r">
  84281. <bits access="r" name="ldtc_state_l_ldtc_state_l" pos="31:0" rst="1">
  84282. <comment>LDTC</comment>
  84283. </bits>
  84284. </reg>
  84285. <reg name="ldtc_state_h" protect="r">
  84286. <bits access="r" name="ldtc_state_h_ldtc_state_h" pos="9:0" rst="0">
  84287. <comment>LDTC</comment>
  84288. </bits>
  84289. </reg>
  84290. <reg name="mc_dly1_nxt" protect="rw">
  84291. <bits access="rw" name="mc_dly1" pos="18:0" rst="0">
  84292. <comment>1TS</comment>
  84293. </bits>
  84294. </reg>
  84295. <reg name="mc_dly2_nxt" protect="rw">
  84296. <bits access="rw" name="mc_dly2" pos="18:0" rst="0">
  84297. <comment>2TS</comment>
  84298. </bits>
  84299. </reg>
  84300. <reg name="mc_dlyth_nxt" protect="rw">
  84301. <bits access="rw" name="mc_dlyth" pos="9:0" rst="0">
  84302. <comment>TS</comment>
  84303. </bits>
  84304. </reg>
  84305. <hole size="28704"/>
  84306. <reg name="fftbuf0" protect="rw">
  84307. <bits access="rw" name="fftbuf0_fftbuf0" pos="31:0" rst="0">
  84308. </bits>
  84309. </reg>
  84310. <hole size="32736"/>
  84311. <reg name="fftbuf1" protect="rw">
  84312. <bits access="rw" name="fftbuf1_fftbuf1" pos="31:0" rst="0">
  84313. </bits>
  84314. </reg>
  84315. <hole size="32736"/>
  84316. <reg name="rsram0" protect="rw">
  84317. <bits access="rw" name="rsram0_1" pos="31:20" rst="0">
  84318. </bits>
  84319. <bits access="rw" name="rsram0_0" pos="15:4" rst="0">
  84320. </bits>
  84321. </reg>
  84322. <hole size="32736"/>
  84323. <reg name="rsram1" protect="rw">
  84324. <bits access="rw" name="rsram1_1" pos="31:20" rst="0">
  84325. </bits>
  84326. <bits access="rw" name="rsram1_0" pos="15:4" rst="0">
  84327. </bits>
  84328. </reg>
  84329. <hole size="32736"/>
  84330. <reg name="rsram2" protect="rw">
  84331. <bits access="rw" name="rsram2_1" pos="31:20" rst="0">
  84332. </bits>
  84333. <bits access="rw" name="rsram2_0" pos="15:4" rst="0">
  84334. </bits>
  84335. </reg>
  84336. <hole size="32736"/>
  84337. <reg name="rsram3" protect="rw">
  84338. <bits access="rw" name="rsram3_1" pos="31:20" rst="0">
  84339. </bits>
  84340. <bits access="rw" name="rsram3_0" pos="15:4" rst="0">
  84341. </bits>
  84342. </reg>
  84343. <hole size="32736"/>
  84344. <reg name="rsram4" protect="rw">
  84345. <bits access="rw" name="rsram4_1" pos="31:20" rst="0">
  84346. </bits>
  84347. <bits access="rw" name="rsram4_0" pos="15:4" rst="0">
  84348. </bits>
  84349. </reg>
  84350. <hole size="32736"/>
  84351. <reg name="qfram0" protect="rw">
  84352. <bits access="rw" name="qfram0_1" pos="31:19" rst="0">
  84353. </bits>
  84354. <bits access="rw" name="qfram0_0" pos="15:3" rst="0">
  84355. </bits>
  84356. </reg>
  84357. <hole size="65504"/>
  84358. <reg name="qfram1" protect="rw">
  84359. <bits access="rw" name="qfram1_1" pos="31:19" rst="0">
  84360. </bits>
  84361. <bits access="rw" name="qfram1_0" pos="15:3" rst="0">
  84362. </bits>
  84363. </reg>
  84364. <hole size="65504"/>
  84365. <reg name="qtram0" protect="rw">
  84366. <bits access="rw" name="qtram0_qtram0" pos="31:19" rst="0">
  84367. </bits>
  84368. </reg>
  84369. <hole size="32736"/>
  84370. <reg name="qtram1" protect="rw">
  84371. <bits access="rw" name="qtram0" pos="31:19" rst="0">
  84372. </bits>
  84373. </reg>
  84374. <hole size="32736"/>
  84375. <reg name="lspreram" protect="rw">
  84376. <bits access="rw" name="lspreram1" pos="31:20" rst="0">
  84377. </bits>
  84378. <bits access="rw" name="lspreram0" pos="15:4" rst="0">
  84379. </bits>
  84380. </reg>
  84381. <hole size="65504"/>
  84382. <reg name="lscurram" protect="rw">
  84383. <bits access="rw" name="lscurram1" pos="31:20" rst="0">
  84384. </bits>
  84385. <bits access="rw" name="lscurram0" pos="15:4" rst="0">
  84386. </bits>
  84387. </reg>
  84388. <hole size="32736"/>
  84389. <reg name="fhram" protect="rw">
  84390. <bits access="rw" name="fhram1" pos="31:22" rst="0">
  84391. </bits>
  84392. <bits access="rw" name="fhram0" pos="15:6" rst="0">
  84393. </bits>
  84394. </reg>
  84395. <hole size="98272"/>
  84396. <reg name="hqinram0" protect="rw">
  84397. <bits access="r" name="hqinram0_1_0" pos="31:29" rst="0">
  84398. </bits>
  84399. <bits access="rw" name="hqinram0_1" pos="28:19" rst="0">
  84400. </bits>
  84401. <bits access="r" name="hqinram0_0_0" pos="15:13" rst="0">
  84402. </bits>
  84403. <bits access="rw" name="hqinram0_0" pos="12:3" rst="0">
  84404. </bits>
  84405. </reg>
  84406. <hole size="8160"/>
  84407. <reg name="hqinram1" protect="rw">
  84408. <bits access="rw" name="hqinram1_1" pos="31:19" rst="0">
  84409. </bits>
  84410. <bits access="rw" name="hqinram1_0" pos="15:3" rst="0">
  84411. </bits>
  84412. </reg>
  84413. <hole size="8160"/>
  84414. <reg name="hqinram2" protect="rw">
  84415. <bits access="rw" name="hqinram2_1" pos="31:19" rst="0">
  84416. </bits>
  84417. <bits access="rw" name="hqinram2_0" pos="15:3" rst="0">
  84418. </bits>
  84419. </reg>
  84420. <hole size="16352"/>
  84421. <reg name="tboutram" protect="rw">
  84422. <bits access="rw" name="tboutram_tboutram" pos="31:0" rst="0">
  84423. </bits>
  84424. </reg>
  84425. <hole size="32736"/>
  84426. <reg name="tbinram" protect="rw">
  84427. <bits access="rw" name="tbinram_tbinram" pos="29:0" rst="0">
  84428. </bits>
  84429. </reg>
  84430. <hole size="65504"/>
  84431. <reg name="hqbuf0" protect="rw">
  84432. <bits access="rw" name="hqbuf0_hqbuf0" pos="31:0" rst="0">
  84433. </bits>
  84434. </reg>
  84435. <hole size="131040"/>
  84436. <reg name="hqbuf1" protect="rw">
  84437. <bits access="rw" name="hqbuf1_1" pos="31:22" rst="0">
  84438. </bits>
  84439. <bits access="rw" name="hqbuf1_0" pos="15:6" rst="0">
  84440. </bits>
  84441. </reg>
  84442. <hole size="131040"/>
  84443. <reg name="hqbuf2" protect="rw">
  84444. <bits access="rw" name="hqbuf2_hqbuf2" pos="31:0" rst="0">
  84445. </bits>
  84446. </reg>
  84447. <hole size="262112"/>
  84448. <reg name="hqinram3" protect="rw">
  84449. <bits access="rw" name="hqinram3_hqinram3" pos="19:0" rst="0">
  84450. </bits>
  84451. </reg>
  84452. <hole size="131040"/>
  84453. <reg name="qfram2" protect="rw">
  84454. <bits access="rw" name="qfram2_1" pos="31:19" rst="0">
  84455. </bits>
  84456. <bits access="rw" name="qfram2_0" pos="15:3" rst="0">
  84457. </bits>
  84458. </reg>
  84459. <hole size="32736"/>
  84460. <reg name="qtram2" protect="rw">
  84461. <bits access="rw" name="qtram2_qtram2" pos="31:19" rst="0">
  84462. </bits>
  84463. </reg>
  84464. </module>
  84465. </archive>
  84466. <archive relative="cp_lte_dlfft.xml">
  84467. <module category="LTE_SYS" name="CP_LTE_DLFFT">
  84468. <reg name="dlfft_frame_config_next" protect="rw">
  84469. <bits access="rw" name="crs_pow_ofdm0_next" pos="19" rst="1">
  84470. <comment>CATMCELL RSOFDM0
  84471. 0OFDM0
  84472. 1OFDM0</comment>
  84473. </bits>
  84474. <bits access="rw" name="fft_norm_sel_next" pos="18" rst="0">
  84475. <comment>FFT
  84476. 0
  84477. 1</comment>
  84478. </bits>
  84479. <bits access="rw" name="fft_norm_en_next" pos="17" rst="0">
  84480. <comment>0FFTFFT
  84481. 1FFTFFT</comment>
  84482. </bits>
  84483. <bits access="rw" name="dlfft_only_en_next" pos="16" rst="0">
  84484. <comment>0DLFFTLDTC1LDTC
  84485. 1DLFFTLDTC1LDTC</comment>
  84486. </bits>
  84487. <bits access="rw" name="fft_dma_inten_next" pos="15" rst="1">
  84488. <comment>1DLFFTTXRXOFDM
  84489. 0DLFFT</comment>
  84490. </bits>
  84491. <bits access="rw" name="master_card_next" pos="14" rst="0">
  84492. <comment>0:
  84493. 1:</comment>
  84494. </bits>
  84495. <bits access="rw" name="sys_frame_num_next" pos="13:4" rst="0">
  84496. <comment>0~1023</comment>
  84497. </bits>
  84498. <bits access="rw" name="sub_frame_num_next" pos="3:0" rst="0">
  84499. <comment>0~9</comment>
  84500. </bits>
  84501. </reg>
  84502. <reg name="cat1_rs_ctrl_next" protect="rw">
  84503. <bits access="rw" name="crs_pow_index_next" pos="21:19" rst="0">
  84504. <comment>CELL RS&amp;AGC
  84505. 000
  84506. 001
  84507. 010
  84508. 011
  84509. 100</comment>
  84510. </bits>
  84511. <bits access="rw" name="cat1_crs_pow_ofdm0_next" pos="18" rst="1">
  84512. <comment>CAT1CELL RSOFDM0
  84513. 0OFDM0
  84514. 1OFDM0</comment>
  84515. </bits>
  84516. <bits access="rw" name="mbms_mode_sel_next" pos="17:16" rst="0">
  84517. <comment>MBMS
  84518. 2b00MBMSCELLRS
  84519. 2b01MBMS1CELLRS
  84520. 2b10MBMS2CELLRS
  84521. 2b1100</comment>
  84522. </bits>
  84523. <bits access="rw" name="mbms_en_next" pos="15" rst="0">
  84524. <comment>0MBMS
  84525. 1MBMS</comment>
  84526. </bits>
  84527. <bits access="rw" name="cellid_next" pos="14:6" rst="0">
  84528. <comment>CELLID</comment>
  84529. </bits>
  84530. <bits access="rw" name="cp_sel_next" pos="5" rst="0">
  84531. <comment>CP
  84532. 0NORM CP
  84533. 1EX CP</comment>
  84534. </bits>
  84535. <bits access="rw" name="cellport_sel_next" pos="4:3" rst="0">
  84536. <comment>CELLRS PORT
  84537. 2b00port0
  84538. 2b01port0/1
  84539. 2b10port0/1/2/3
  84540. 2b11CELLPORT_SEL2b112b00prot0</comment>
  84541. </bits>
  84542. <bits access="rw" name="ueport_sel_next" pos="2" rst="0">
  84543. <comment>UERS PORT
  84544. 0port5
  84545. 1port7/8</comment>
  84546. </bits>
  84547. <bits access="rw" name="cellrs_en_next" pos="1" rst="0">
  84548. <comment>0CELLRS
  84549. 1CELLRS</comment>
  84550. </bits>
  84551. <bits access="rw" name="uers_en_next" pos="0" rst="0">
  84552. <comment>0UERS
  84553. 1UERS</comment>
  84554. </bits>
  84555. </reg>
  84556. <reg name="cat1_csi_para_next" protect="rw">
  84557. <bits access="rw" name="csirs_bitmap_next" pos="19:8" rst="0">
  84558. <comment>RSCSIRSCSIRS BITMAP</comment>
  84559. </bits>
  84560. <bits access="rw" name="csirs_ofdm1_next" pos="7:4" rst="0">
  84561. <comment>CSIRSCSIRSOFDM</comment>
  84562. </bits>
  84563. <bits access="rw" name="csirs_ofdm0_next" pos="3:0" rst="0">
  84564. <comment>CSIRSCSIRSOFDM</comment>
  84565. </bits>
  84566. </reg>
  84567. <reg name="cat1_agc_next" protect="rw">
  84568. <bits access="rw" name="agc1_next" pos="19:10" rst="0">
  84569. <comment>MBMSCELLRSOFDMAGC</comment>
  84570. </bits>
  84571. <bits access="rw" name="agc0_next" pos="9:0" rst="0">
  84572. <comment>MBMSAGCMBMSCELLRSOFDMAGC</comment>
  84573. </bits>
  84574. </reg>
  84575. <reg name="cat1_dlfft_ctrl_next" protect="rw">
  84576. <bits access="rw" name="pbch_en_next" pos="1" rst="0">
  84577. <comment>0PBCH
  84578. 1PBCH</comment>
  84579. </bits>
  84580. <bits access="rw" name="csirs_en_next" pos="0" rst="0">
  84581. <comment>0CSIRS
  84582. 1CSIRS</comment>
  84583. </bits>
  84584. </reg>
  84585. <reg name="cat1_sys_config_next" protect="rw">
  84586. <bits access="rw" name="prb_index_next" pos="10:8" rst="0">
  84587. <comment>PRB
  84588. 0006prb
  84589. 00115prb
  84590. 01025prb
  84591. 01150prb
  84592. 10075prb
  84593. 101100prb
  84594. 1116prb</comment>
  84595. </bits>
  84596. <bits access="rw" name="up_down_config" pos="7:5" rst="0">
  84597. <comment>0~6</comment>
  84598. </bits>
  84599. <bits access="rw" name="mode_sel_next" pos="4" rst="0">
  84600. <comment>0TDD MODE
  84601. 1FDD MODE</comment>
  84602. </bits>
  84603. <bits access="rw" name="s_frame_config" pos="3:0" rst="0">
  84604. <comment>0~9</comment>
  84605. </bits>
  84606. </reg>
  84607. <reg name="cat1_fft_gate_next" protect="rw">
  84608. <bits access="rw" name="fft_gate_next" pos="12:0" rst="0">
  84609. <comment>FFT0~4096</comment>
  84610. </bits>
  84611. </reg>
  84612. <reg name="catm_nb_sys_config_next" protect="rw">
  84613. <bits access="rw" name="prb_index_next" pos="11:9" rst="0">
  84614. <comment>NBIOTNBPRB0~5</comment>
  84615. </bits>
  84616. <bits access="rw" name="cp_sel_next" pos="8" rst="0">
  84617. <comment>CP
  84618. 0CP
  84619. 1CP</comment>
  84620. </bits>
  84621. <bits access="rw" name="up_down_config_next" pos="7:5" rst="0">
  84622. <comment>0~6</comment>
  84623. </bits>
  84624. <bits access="rw" name="mode_sel_next" pos="4" rst="0">
  84625. <comment>0TDD MODE
  84626. 1FDD MODE</comment>
  84627. </bits>
  84628. <bits access="rw" name="s_frame_config_next" pos="3:0" rst="0">
  84629. <comment>0~9</comment>
  84630. </bits>
  84631. </reg>
  84632. <reg name="catm_nb_rs_config_next" protect="rw">
  84633. <bits access="rw" name="crs_pow_index_next" pos="15:13" rst="0">
  84634. <comment>CELL RS&amp;AGC
  84635. 000
  84636. 001
  84637. 010
  84638. 011
  84639. 100</comment>
  84640. </bits>
  84641. <bits access="rw" name="crs_nrs_sel_next" pos="12" rst="0">
  84642. <comment>0NBNRS
  84643. 1NBCRS</comment>
  84644. </bits>
  84645. <bits access="rw" name="id_value_next" pos="11:3" rst="0">
  84646. <comment>CELLRSNRSID</comment>
  84647. </bits>
  84648. <bits access="rw" name="rsport_sel_next" pos="2:1" rst="0">
  84649. <comment>CELLRSNRS PORT
  84650. 2b00port0
  84651. 2b01port0/1
  84652. 2b10port0/1/2/3
  84653. 2b112b10</comment>
  84654. </bits>
  84655. </reg>
  84656. <reg name="catm_nb_nbw_next" protect="rw">
  84657. <bits access="rw" name="nbw_cover_zero_sel_next" pos="0" rst="0">
  84658. <comment>0
  84659. 1</comment>
  84660. </bits>
  84661. </reg>
  84662. <reg name="catm_agc_next" protect="rw">
  84663. <bits access="rw" name="catm_agc_next_catm_agc_next" pos="9:0" rst="0">
  84664. <comment>CATMAGC</comment>
  84665. </bits>
  84666. </reg>
  84667. <reg name="abis_config_next" protect="rw">
  84668. <bits access="rw" name="frame_intra_sel_next" pos="31" rst="0">
  84669. <comment>0LDTC1LLR0
  84670. 1LDTC1LLR</comment>
  84671. </bits>
  84672. <bits access="rw" name="ctcg_sel_next" pos="30" rst="0">
  84673. <comment>CTCG
  84674. 0OFDM4(OFDM4)CRS
  84675. 1OFDM8(OFDM8)CRS</comment>
  84676. </bits>
  84677. <bits access="rw" name="num_neibour_next" pos="29:28" rst="0">
  84678. <comment>000
  84679. 011
  84680. 102
  84681. 0</comment>
  84682. </bits>
  84683. <bits access="rw" name="txnum_neibour_next2" pos="27:26" rst="0">
  84684. <comment>2
  84685. 001port
  84686. 012port
  84687. 104port
  84688. 1port</comment>
  84689. </bits>
  84690. <bits access="rw" name="txnum_neibour_next1" pos="25:24" rst="0">
  84691. <comment>1
  84692. 001port
  84693. 012port
  84694. 104port
  84695. 1port</comment>
  84696. </bits>
  84697. <bits access="rw" name="nrb_neibour_next2" pos="23:21" rst="0">
  84698. <comment>2
  84699. 0006prb
  84700. 00115prb
  84701. 01025prb
  84702. 01150prb
  84703. 10075prb
  84704. 101100prb
  84705. 6prb</comment>
  84706. </bits>
  84707. <bits access="rw" name="nrb_neibour_next1" pos="20:18" rst="0">
  84708. <comment>1
  84709. 0006prb
  84710. 00115prb
  84711. 01025prb
  84712. 01150prb
  84713. 10075prb
  84714. 101100prb
  84715. 6prb</comment>
  84716. </bits>
  84717. <bits access="rw" name="cellid_neibour_next2" pos="17:9" rst="0">
  84718. <comment>2 CELL ID</comment>
  84719. </bits>
  84720. <bits access="rw" name="cellid_neibour_next1" pos="8:0" rst="0">
  84721. <comment>1 CELL ID</comment>
  84722. </bits>
  84723. </reg>
  84724. <reg name="delay_next1" protect="rw">
  84725. <bits access="rw" name="delay_next1_delay_next1" pos="18:0" rst="0">
  84726. <comment>1TS</comment>
  84727. </bits>
  84728. </reg>
  84729. <reg name="delay_next2" protect="rw">
  84730. <bits access="rw" name="delay_next2_delay_next2" pos="18:0" rst="0">
  84731. <comment>2TS</comment>
  84732. </bits>
  84733. </reg>
  84734. <reg name="pb_next" protect="rw">
  84735. <bits access="rw" name="abis_llr_shift_modify_next" pos="12:8" rst="0">
  84736. </bits>
  84737. <bits access="rw" name="abis_start_ofdm_next" pos="7:4" rst="0">
  84738. <comment>ABISOFDM0~13</comment>
  84739. </bits>
  84740. <bits access="rw" name="pb_next_pb_next" pos="1:0" rst="0">
  84741. <comment>CRSCRS</comment>
  84742. </bits>
  84743. </reg>
  84744. <reg name="noise_delta_next" protect="rw">
  84745. <bits access="rw" name="noise_delta_next_noise_delta_next" pos="31:0" rst="0">
  84746. <comment/>
  84747. </bits>
  84748. </reg>
  84749. <reg name="noise_agc_next" protect="rw">
  84750. <bits access="rw" name="noise_agc_next_noise_agc_next" pos="9:0" rst="0">
  84751. <comment>AGC</comment>
  84752. </bits>
  84753. </reg>
  84754. <reg name="dlfft_mode_next" protect="rw">
  84755. <bits access="rw" name="dlfft_info_sel_next" pos="14" rst="0">
  84756. <comment>0DLFFT_INFO_OUT1
  84757. 1DLFFT_INFO_OUT2</comment>
  84758. </bits>
  84759. <bits access="rw" name="dlfft_info_next" pos="13:4" rst="0">
  84760. <comment>DLFFT INFO</comment>
  84761. </bits>
  84762. <bits access="rw" name="crs_pow_clr_next" pos="3" rst="0">
  84763. <comment>0CRS_POW_MAXPOWAGC
  84764. 1CRS_POW_MAXPOWAGC</comment>
  84765. </bits>
  84766. <bits access="rw" name="soft_irt_en_next" pos="2" rst="0">
  84767. <comment>0SOFT_IRT
  84768. 1SOFT_IRT</comment>
  84769. </bits>
  84770. <bits access="rw" name="dlfft_mode_sel_next" pos="1:0" rst="0">
  84771. <comment>00CAT1
  84772. 01CATM
  84773. 10NB-IOT
  84774. 11CAT1</comment>
  84775. </bits>
  84776. </reg>
  84777. <reg name="fft_lnum_next" protect="rw">
  84778. <bits access="rw" name="fft_lnum11_next" pos="21:20" rst="0">
  84779. <comment>FFT
  84780. 2b0025~14bit
  84781. 2b0126~15bit
  84782. 2b1027~16bit
  84783. 2b1128~17bit</comment>
  84784. </bits>
  84785. <bits access="rw" name="fft_lnum10_next" pos="19:18" rst="0">
  84786. <comment>FFT
  84787. 2b0025~14bit
  84788. 2b0126~15bit
  84789. 2b1027~16bit
  84790. 2b1128~17bit</comment>
  84791. </bits>
  84792. <bits access="rw" name="fft_lnum9_next" pos="17:16" rst="0">
  84793. <comment>FFT
  84794. 2b0025~14bit
  84795. 2b0126~15bit
  84796. 2b1027~16bit
  84797. 2b1128~18bit</comment>
  84798. </bits>
  84799. <bits access="rw" name="fft_lnum8_next" pos="15:14" rst="0">
  84800. <comment>FFT
  84801. 2b0025~14bit
  84802. 2b0126~15bit
  84803. 2b1027~16bit
  84804. 2b1128~19bit</comment>
  84805. </bits>
  84806. <bits access="rw" name="fft_lnum7_next" pos="13:12" rst="0">
  84807. <comment>FFT
  84808. 2b0025~14bit
  84809. 2b0126~15bit
  84810. 2b1027~16bit
  84811. 2b1128~20bit</comment>
  84812. </bits>
  84813. <bits access="rw" name="fft_lnum6_next" pos="11:10" rst="0">
  84814. <comment>FFT
  84815. 2b0025~14bit
  84816. 2b0126~15bit
  84817. 2b1027~16bit
  84818. 2b1128~21bit</comment>
  84819. </bits>
  84820. <bits access="rw" name="fft_lnum5_next" pos="9:8" rst="0">
  84821. <comment>FFT
  84822. 2b0025~14bit
  84823. 2b0126~15bit
  84824. 2b1027~16bit
  84825. 2b1128~22bit</comment>
  84826. </bits>
  84827. <bits access="rw" name="fft_lnum4_next" pos="7:6" rst="0">
  84828. <comment>FFT
  84829. 2b0025~14bit
  84830. 2b0126~15bit
  84831. 2b1027~16bit
  84832. 2b1128~23bit</comment>
  84833. </bits>
  84834. <bits access="rw" name="fft_lnum3_next" pos="5:4" rst="0">
  84835. <comment>FFT
  84836. 2b0025~14bit
  84837. 2b0126~15bit
  84838. 2b1027~16bit
  84839. 2b1128~24bit</comment>
  84840. </bits>
  84841. <bits access="rw" name="fft_lnum2_next" pos="3:2" rst="0">
  84842. <comment>FFT
  84843. 2b0025~14bit
  84844. 2b0126~15bit
  84845. 2b1027~16bit
  84846. 2b1128~25bit</comment>
  84847. </bits>
  84848. <bits access="rw" name="fft_lnum1_next" pos="1:0" rst="0">
  84849. <comment>FFT
  84850. 2b0025~14bit
  84851. 2b0126~15bit
  84852. 2b1027~16bit
  84853. 2b1128~26bit</comment>
  84854. </bits>
  84855. </reg>
  84856. <reg name="dlfft_frame_config_curr" protect="r">
  84857. <bits access="r" name="crs_pow_ofdm0_curr" pos="19" rst="1">
  84858. <comment>ATMCELL RSOFDM0
  84859. 0OFDM0
  84860. 1OFDM0</comment>
  84861. </bits>
  84862. <bits access="r" name="fft_norm_sel_curr" pos="18" rst="0">
  84863. <comment>FFT
  84864. 0
  84865. 1</comment>
  84866. </bits>
  84867. <bits access="r" name="fft_norm_en_curr" pos="17" rst="0">
  84868. <comment>0FFTFFT
  84869. 1FFTFFT</comment>
  84870. </bits>
  84871. <bits access="r" name="dlfft_only_en_curr" pos="16" rst="0">
  84872. <comment>0DLFFTLDTC1LDTC
  84873. 1DLFFTLDTC1LDTC</comment>
  84874. </bits>
  84875. <bits access="r" name="fft_dma_inten_curr" pos="15" rst="1">
  84876. <comment>1DLFFTTXRXOFDM
  84877. 0DLFFT</comment>
  84878. </bits>
  84879. <bits access="r" name="master_card_curr" pos="14" rst="0">
  84880. <comment>0:
  84881. 1:</comment>
  84882. </bits>
  84883. <bits access="r" name="sys_frame_num_curr" pos="13:4" rst="0">
  84884. <comment>0~1023</comment>
  84885. </bits>
  84886. <bits access="r" name="sub_frame_num_curr" pos="3:0" rst="0">
  84887. <comment>0~9</comment>
  84888. </bits>
  84889. </reg>
  84890. <reg name="cat1_rs_ctrl_curr" protect="r">
  84891. <bits access="r" name="crs_pow_index_curr" pos="21:19" rst="0">
  84892. <comment>CELL RS&amp;AGC
  84893. 000
  84894. 001
  84895. 010
  84896. 011
  84897. 100</comment>
  84898. </bits>
  84899. <bits access="r" name="crs_pow_ofdm0_curr" pos="18" rst="1">
  84900. <comment>CELL RSOFDM0
  84901. 0OFDM0
  84902. 1OFDM0</comment>
  84903. </bits>
  84904. <bits access="r" name="mbms_mode_sel_curr" pos="17:16" rst="0">
  84905. <comment>MBMS
  84906. 2b00MBMSCELLRS
  84907. 2b01MBMS1CELLRS
  84908. 2b10MBMS2CELLRS
  84909. 2b1100</comment>
  84910. </bits>
  84911. <bits access="r" name="mbms_en_curr" pos="15" rst="0">
  84912. <comment>0MBMS
  84913. 1MBMS</comment>
  84914. </bits>
  84915. <bits access="r" name="cellid_curr" pos="14:6" rst="0">
  84916. <comment>CELLID</comment>
  84917. </bits>
  84918. <bits access="r" name="cp_sel_curr" pos="5" rst="0">
  84919. <comment>CP
  84920. 0NORM CP
  84921. 1EX CP</comment>
  84922. </bits>
  84923. <bits access="r" name="cellport_sel_curr" pos="4:3" rst="0">
  84924. <comment>CELLRS PORT
  84925. 2b00port0
  84926. 2b01port0/1
  84927. 2b10port0/1/2/3
  84928. 2b11CELLPORT_SEL2b112b00prot0</comment>
  84929. </bits>
  84930. <bits access="r" name="ueport_sel_curr" pos="2" rst="0">
  84931. <comment>UERS PORT
  84932. 0port5
  84933. 1port7/8</comment>
  84934. </bits>
  84935. <bits access="r" name="cellrs_en_curr" pos="1" rst="0">
  84936. <comment>0CELLRS
  84937. 1CELLRS</comment>
  84938. </bits>
  84939. <bits access="r" name="uers_en_curr" pos="0" rst="0">
  84940. <comment>0UERS
  84941. 1UERS</comment>
  84942. </bits>
  84943. </reg>
  84944. <reg name="cat1_csi_para_curr" protect="r">
  84945. <bits access="r" name="csirs_bitmap_curr" pos="19:8" rst="0">
  84946. <comment>RSCSIRSCSIRS BITMAP</comment>
  84947. </bits>
  84948. <bits access="r" name="csirs_ofdm1_curr" pos="7:4" rst="0">
  84949. <comment>CSIRSCSIRSOFDM</comment>
  84950. </bits>
  84951. <bits access="r" name="csirs_ofdm0_curr" pos="3:0" rst="0">
  84952. <comment>CSIRSCSIRSOFDM</comment>
  84953. </bits>
  84954. </reg>
  84955. <reg name="cat1_agc_curr" protect="r">
  84956. <bits access="r" name="agc1_curr" pos="19:10" rst="0">
  84957. <comment>MBMSCELLRSOFDMAGC</comment>
  84958. </bits>
  84959. <bits access="r" name="agc0_curr" pos="9:0" rst="0">
  84960. <comment>MBMSAGCMBMSCELLRSOFDMAGC</comment>
  84961. </bits>
  84962. </reg>
  84963. <reg name="cat1_dlfft_ctrl_curr" protect="r">
  84964. <bits access="r" name="pbch_en_curr" pos="1" rst="0">
  84965. <comment>0PBCH
  84966. 1PBCH</comment>
  84967. </bits>
  84968. <bits access="r" name="csirs_en_curr" pos="0" rst="0">
  84969. <comment>0CSIRS
  84970. 1CSIRS</comment>
  84971. </bits>
  84972. </reg>
  84973. <reg name="cat1_sys_config_curr" protect="r">
  84974. <bits access="r" name="prb_index_curr" pos="10:8" rst="0">
  84975. <comment>PRB
  84976. 0006prb
  84977. 00115prb
  84978. 01025prb
  84979. 01150prb
  84980. 10075prb
  84981. 101100prb
  84982. 1116prb</comment>
  84983. </bits>
  84984. <bits access="r" name="up_down_config" pos="7:5" rst="0">
  84985. <comment>0~6</comment>
  84986. </bits>
  84987. <bits access="r" name="mode_sel_curr" pos="4" rst="0">
  84988. <comment>0TDD MODE
  84989. 1FDD MODE</comment>
  84990. </bits>
  84991. <bits access="r" name="s_frame_config" pos="3:0" rst="0">
  84992. <comment>0~9</comment>
  84993. </bits>
  84994. </reg>
  84995. <reg name="cat1_fft_gate_curr" protect="r">
  84996. <bits access="r" name="fft_gate_curr" pos="12:0" rst="0">
  84997. <comment>FFT0~4096</comment>
  84998. </bits>
  84999. </reg>
  85000. <reg name="catm_nb_sys_config_curr" protect="r">
  85001. <bits access="r" name="prb_index_curr" pos="11:9" rst="0">
  85002. <comment>NBIOTNBPRB0~5</comment>
  85003. </bits>
  85004. <bits access="r" name="cp_sel_curr" pos="8" rst="0">
  85005. <comment>CP
  85006. 0CP
  85007. 1CP</comment>
  85008. </bits>
  85009. <bits access="r" name="up_down_config_curr" pos="7:5" rst="0">
  85010. <comment>0~6</comment>
  85011. </bits>
  85012. <bits access="r" name="mode_sel_curr" pos="4" rst="0">
  85013. <comment>0TDD MODE
  85014. 1FDD MODE</comment>
  85015. </bits>
  85016. <bits access="r" name="s_frame_config_curr" pos="3:0" rst="0">
  85017. <comment>0~9</comment>
  85018. </bits>
  85019. </reg>
  85020. <reg name="catm_nb_rs_config_curr" protect="r">
  85021. <bits access="r" name="crs_pow_index_curr" pos="15:13" rst="0">
  85022. <comment>CELL RS&amp;AGC
  85023. 000
  85024. 001
  85025. 010
  85026. 011
  85027. 100</comment>
  85028. </bits>
  85029. <bits access="r" name="crs_nrs_sel_curr" pos="12" rst="0">
  85030. <comment>0NBNRS
  85031. 1NBCRS</comment>
  85032. </bits>
  85033. <bits access="r" name="id_value_curr" pos="11:3" rst="0">
  85034. <comment>CELLRSNRSID</comment>
  85035. </bits>
  85036. <bits access="r" name="rsport_sel_curr" pos="2:1" rst="0">
  85037. <comment>CELLRSNRS PORT
  85038. 2b00port0
  85039. 2b01port0/1
  85040. 2b10port0/1/2/3
  85041. 2b112b10</comment>
  85042. </bits>
  85043. </reg>
  85044. <reg name="catm_nb_nbw_curr" protect="r">
  85045. <bits access="r" name="nbw_cover_zero_sel_curr" pos="0" rst="0">
  85046. <comment>0
  85047. 1</comment>
  85048. </bits>
  85049. </reg>
  85050. <reg name="catm_agc_curr" protect="r">
  85051. <bits access="r" name="catm_agc_curr_catm_agc_curr" pos="9:0" rst="0">
  85052. <comment>CATMAGC</comment>
  85053. </bits>
  85054. </reg>
  85055. <reg name="abis_config_curr" protect="r">
  85056. <bits access="r" name="frame_intra_sel_curr" pos="31" rst="0">
  85057. <comment>0LDTC1LLR0
  85058. 1LDTC1LLR</comment>
  85059. </bits>
  85060. <bits access="r" name="ctcg_sel_curr" pos="30" rst="0">
  85061. <comment>CTCG
  85062. 0OFDM4(OFDM4)CRS
  85063. 1OFDM8(OFDM8)CRS</comment>
  85064. </bits>
  85065. <bits access="r" name="num_neibour_curr" pos="29:28" rst="0">
  85066. <comment>000
  85067. 011
  85068. 102
  85069. 0</comment>
  85070. </bits>
  85071. <bits access="r" name="txnum_neibour_curr2" pos="27:26" rst="0">
  85072. <comment>2
  85073. 001port
  85074. 012port
  85075. 104port
  85076. 1port</comment>
  85077. </bits>
  85078. <bits access="r" name="txnum_neibour_curr1" pos="25:24" rst="0">
  85079. <comment>1
  85080. 001port
  85081. 012port
  85082. 104port
  85083. 1port</comment>
  85084. </bits>
  85085. <bits access="r" name="nrb_neibour_curr2" pos="23:21" rst="0">
  85086. <comment>2
  85087. 0006prb
  85088. 00115prb
  85089. 01025prb
  85090. 01150prb
  85091. 10075prb
  85092. 101100prb
  85093. 6prb</comment>
  85094. </bits>
  85095. <bits access="r" name="nrb_neibour_curr1" pos="20:18" rst="0">
  85096. <comment>1
  85097. 0006prb
  85098. 00115prb
  85099. 01025prb
  85100. 01150prb
  85101. 10075prb
  85102. 101100prb
  85103. 6prb</comment>
  85104. </bits>
  85105. <bits access="r" name="cellid_neibour_curr2" pos="17:9" rst="0">
  85106. <comment>2 CELL ID</comment>
  85107. </bits>
  85108. <bits access="r" name="cellid_neibour_curr1" pos="8:0" rst="0">
  85109. <comment>1 CELL ID</comment>
  85110. </bits>
  85111. </reg>
  85112. <reg name="delay_curr1" protect="r">
  85113. <bits access="r" name="delay_curr1_delay_curr1" pos="18:0" rst="0">
  85114. <comment>1TS</comment>
  85115. </bits>
  85116. </reg>
  85117. <reg name="delay_curr2" protect="r">
  85118. <bits access="r" name="delay_curr2_delay_curr2" pos="18:0" rst="0">
  85119. <comment>2TS</comment>
  85120. </bits>
  85121. </reg>
  85122. <reg name="pb_curr" protect="r">
  85123. <bits access="r" name="abis_llr_shift_modify_curr" pos="12:8" rst="0">
  85124. <comment>ABIS LLR-8~8</comment>
  85125. </bits>
  85126. <bits access="r" name="abis_start_ofdm_curr" pos="7:4" rst="0">
  85127. <comment>ABISOFDM0~13</comment>
  85128. </bits>
  85129. <bits access="r" name="pb_curr_pb_curr" pos="1:0" rst="0">
  85130. <comment>CRSCRS</comment>
  85131. </bits>
  85132. </reg>
  85133. <reg name="noise_delta_curr" protect="r">
  85134. <bits access="r" name="noise_delta_curr_noise_delta_curr" pos="31:0" rst="0">
  85135. <comment/>
  85136. </bits>
  85137. </reg>
  85138. <reg name="noise_agc_curr" protect="r">
  85139. <bits access="r" name="noise_agc_curr_noise_agc_curr" pos="9:0" rst="0">
  85140. <comment>AGC</comment>
  85141. </bits>
  85142. </reg>
  85143. <reg name="dlfft_mode_curr" protect="r">
  85144. <bits access="r" name="dlfft_info_sel_curr" pos="14" rst="0">
  85145. <comment>0DLFFT_INFO_OUT1
  85146. 1DLFFT_INFO_OUT2</comment>
  85147. </bits>
  85148. <bits access="r" name="dlfft_info_curr" pos="13:4" rst="0">
  85149. <comment>DLFFT INFO</comment>
  85150. </bits>
  85151. <bits access="r" name="crs_pow_clr_curr" pos="3" rst="0">
  85152. <comment>0CRS_POW_MAXPOWAGC
  85153. 1CRS_POW_MAXPOWAGC</comment>
  85154. </bits>
  85155. <bits access="r" name="soft_irt_en_curr" pos="2" rst="0">
  85156. <comment>0SOFT_IRT
  85157. 1SOFT_IRT</comment>
  85158. </bits>
  85159. <bits access="r" name="dlfft_mode_sel_curr" pos="1:0" rst="0">
  85160. <comment>00CAT1
  85161. 01CATM
  85162. 10NB-IOT
  85163. 11CAT1</comment>
  85164. </bits>
  85165. </reg>
  85166. <reg name="fft_lnum_curr" protect="r">
  85167. <bits access="r" name="fft_lnum11_curr" pos="21:20" rst="0">
  85168. <comment>FFT
  85169. 2b0025~14bit
  85170. 2b0126~15bit
  85171. 2b1027~16bit
  85172. 2b1128~17bit</comment>
  85173. </bits>
  85174. <bits access="r" name="fft_lnum10_curr" pos="19:18" rst="0">
  85175. <comment>FFT
  85176. 2b0025~14bit
  85177. 2b0126~15bit
  85178. 2b1027~16bit
  85179. 2b1128~17bit</comment>
  85180. </bits>
  85181. <bits access="r" name="fft_lnum9_curr" pos="17:16" rst="0">
  85182. <comment>FFT
  85183. 2b0025~14bit
  85184. 2b0126~15bit
  85185. 2b1027~16bit
  85186. 2b1128~18bit</comment>
  85187. </bits>
  85188. <bits access="r" name="fft_lnum8_curr" pos="15:14" rst="0">
  85189. <comment>FFT
  85190. 2b0025~14bit
  85191. 2b0126~15bit
  85192. 2b1027~16bit
  85193. 2b1128~19bit</comment>
  85194. </bits>
  85195. <bits access="r" name="fft_lnum7_curr" pos="13:12" rst="0">
  85196. <comment>FFT
  85197. 2b0025~14bit
  85198. 2b0126~15bit
  85199. 2b1027~16bit
  85200. 2b1128~20bit</comment>
  85201. </bits>
  85202. <bits access="r" name="fft_lnum6_curr" pos="11:10" rst="0">
  85203. <comment>FFT
  85204. 2b0025~14bit
  85205. 2b0126~15bit
  85206. 2b1027~16bit
  85207. 2b1128~21bit</comment>
  85208. </bits>
  85209. <bits access="r" name="fft_lnum5_curr" pos="9:8" rst="0">
  85210. <comment>FFT
  85211. 2b0025~14bit
  85212. 2b0126~15bit
  85213. 2b1027~16bit
  85214. 2b1128~22bit</comment>
  85215. </bits>
  85216. <bits access="r" name="fft_lnum4_curr" pos="7:6" rst="0">
  85217. <comment>FFT
  85218. 2b0025~14bit
  85219. 2b0126~15bit
  85220. 2b1027~16bit
  85221. 2b1128~23bit</comment>
  85222. </bits>
  85223. <bits access="r" name="fft_lnum3_curr" pos="5:4" rst="0">
  85224. <comment>FFT
  85225. 2b0025~14bit
  85226. 2b0126~15bit
  85227. 2b1027~16bit
  85228. 2b1128~24bit</comment>
  85229. </bits>
  85230. <bits access="r" name="fft_lnum2_curr" pos="3:2" rst="0">
  85231. <comment>FFT
  85232. 2b0025~14bit
  85233. 2b0126~15bit
  85234. 2b1027~16bit
  85235. 2b1128~25bit</comment>
  85236. </bits>
  85237. <bits access="r" name="fft_lnum1_curr" pos="1:0" rst="0">
  85238. <comment>FFT
  85239. 2b0025~14bit
  85240. 2b0126~15bit
  85241. 2b1027~16bit
  85242. 2b1128~26bit</comment>
  85243. </bits>
  85244. </reg>
  85245. <reg name="dlfft_inten" protect="rw">
  85246. <bits access="rw" name="rf_nodata_inten" pos="8" rst="0">
  85247. <comment>1RF
  85248. 0RF</comment>
  85249. </bits>
  85250. <bits access="rw" name="rf_abnormal_up_inten" pos="7" rst="0">
  85251. <comment>1RF
  85252. 0RF</comment>
  85253. </bits>
  85254. <bits access="rw" name="rf_abnormal_down_inten" pos="6" rst="0">
  85255. <comment>1RF
  85256. 0RF</comment>
  85257. </bits>
  85258. <bits access="rw" name="rf_short_inten" pos="5" rst="0">
  85259. <comment>1RF
  85260. 0RF</comment>
  85261. </bits>
  85262. <bits access="rw" name="rf_over_inten" pos="4" rst="0">
  85263. <comment>1RF
  85264. 0RF</comment>
  85265. </bits>
  85266. <bits access="rw" name="axi_dma_inten" pos="3" rst="0">
  85267. <comment>1AXIDMA
  85268. AXIDMADLFFT
  85269. OFDM
  85270. 0AXIDMA</comment>
  85271. </bits>
  85272. <bits access="rw" name="fft_err_inten" pos="2" rst="0">
  85273. <comment>1DLFFTTXRX or LDTC or LDTC1ERROR
  85274. 0DLFFTTXRX or LDTCor LDTC1ERROR</comment>
  85275. </bits>
  85276. <bits access="rw" name="fft_core_inten" pos="1" rst="0">
  85277. <comment>1DLFFTOFDM
  85278. 0DLFFT</comment>
  85279. </bits>
  85280. <bits access="rw" name="fft_dma_inten" pos="0" rst="0">
  85281. <comment>1DLFFTTXRXOFDM
  85282. 0DLFFT</comment>
  85283. </bits>
  85284. </reg>
  85285. <reg name="catm_nb_fft_gate" protect="rw">
  85286. <bits access="rw" name="fft_gate" pos="12:0" rst="0">
  85287. <comment>FFT0~4096</comment>
  85288. </bits>
  85289. </reg>
  85290. <reg name="dlfft_start" protect="rw">
  85291. <bits access="rw" name="catm_nb_dlfft_start" pos="1" rst="0">
  85292. <comment>0: CATM/NB
  85293. 1: CATM/NB</comment>
  85294. </bits>
  85295. <bits access="rw" name="cat1_dlfft_start" pos="0" rst="0">
  85296. <comment>0: CAT1
  85297. 1: CAT1</comment>
  85298. </bits>
  85299. </reg>
  85300. <reg name="dlfft_intf" protect="rw">
  85301. <bits access="rc" name="measpwr_debug_errf" pos="15" rst="0">
  85302. <comment>bit type is changed from rw1c to rc.
  85303. 1MEASPWR
  85304. 0 MEASPWR</comment>
  85305. </bits>
  85306. <bits access="rc" name="rf_nodata_errf" pos="14" rst="0">
  85307. <comment>bit type is changed from rw1c to rc.
  85308. 1RF
  85309. 0RF</comment>
  85310. </bits>
  85311. <bits access="rc" name="sd_rd_errf" pos="13" rst="0">
  85312. <comment>bit type is changed from rw1c to rc.
  85313. 1SDDLFFT
  85314. 0SDDLFFT</comment>
  85315. </bits>
  85316. <bits access="rc" name="coeff2ldtc_errf" pos="12" rst="0">
  85317. <comment>bit type is changed from rw1c to rc.
  85318. 1COEFFLDTC
  85319. 0COEFFLDTC</comment>
  85320. </bits>
  85321. <bits access="rc" name="coeff2ldtc1_errf" pos="11" rst="0">
  85322. <comment>bit type is changed from rw1c to rc.
  85323. 1COEFFLDTC1
  85324. 0COEFFLDTC1</comment>
  85325. </bits>
  85326. <bits access="rc" name="rf_abnormal_up_errf" pos="10" rst="0">
  85327. <comment>bit type is changed from rw1c to rc.
  85328. 1RF
  85329. 0RF</comment>
  85330. </bits>
  85331. <bits access="rc" name="rf_abnormal_down_errf" pos="9" rst="0">
  85332. <comment>bit type is changed from rw1c to rc.
  85333. 1RF
  85334. 0RF</comment>
  85335. </bits>
  85336. <bits access="rc" name="rf_short_errf" pos="8" rst="0">
  85337. <comment>bit type is changed from rw1c to rc.
  85338. 1RF
  85339. 0RF</comment>
  85340. </bits>
  85341. <bits access="rc" name="rf_over_errf" pos="7" rst="0">
  85342. <comment>bit type is changed from rw1c to rc.
  85343. 1RF
  85344. 0RF</comment>
  85345. </bits>
  85346. <bits access="rc" name="axi_dma_intf" pos="6" rst="0">
  85347. <comment>bit type is changed from rw1c to rc.
  85348. 1AXIDMAAXIDMADLFFTOFDM
  85349. 0AXIDMA</comment>
  85350. </bits>
  85351. <bits access="rc" name="csi_wr_errf" pos="5" rst="0">
  85352. <comment>bit type is changed from rw1c to rc.
  85353. 1CSI
  85354. 0CSI</comment>
  85355. </bits>
  85356. <bits access="rc" name="mmse_wr_errf" pos="4" rst="0">
  85357. <comment>bit type is changed from rw1c to rc.
  85358. 1MMSE
  85359. 0MMSE</comment>
  85360. </bits>
  85361. <bits access="rc" name="ldtc_wr_errf" pos="3" rst="0">
  85362. <comment>bit type is changed from rw1c to rc.
  85363. 1LDTC
  85364. 0LDTC</comment>
  85365. </bits>
  85366. <bits access="rc" name="txrx_rd_errf" pos="2" rst="0">
  85367. <comment>bit type is changed from rw1c to rc.
  85368. 1TXRX
  85369. 0TXRX</comment>
  85370. </bits>
  85371. <bits access="rc" name="fft_core_intf" pos="1" rst="0">
  85372. <comment>bit type is changed from rw1c to rc.
  85373. 1DLFFTOFDM
  85374. 0DLFFT</comment>
  85375. </bits>
  85376. <bits access="rc" name="fft_dma_intf" pos="0" rst="0">
  85377. <comment>bit type is changed from rw1c to rc.
  85378. 1DLFFTTXRXOFDM
  85379. 0DLFFT</comment>
  85380. </bits>
  85381. </reg>
  85382. <reg name="ofdm_count" protect="r">
  85383. <bits access="r" name="ofdm_count_ofdm_count" pos="3:0" rst="0">
  85384. <comment>OFDM0~13</comment>
  85385. </bits>
  85386. </reg>
  85387. <reg name="master_card" protect="r">
  85388. <bits access="r" name="dlfft_info_out2" pos="20:11" rst="0">
  85389. <comment>DLFFT INFO 2</comment>
  85390. </bits>
  85391. <bits access="r" name="dlfft_info_out1" pos="10:1" rst="0">
  85392. <comment>DLFFT INFO 1</comment>
  85393. </bits>
  85394. <bits access="r" name="master_card_out" pos="0" rst="0">
  85395. <comment>0
  85396. 1</comment>
  85397. </bits>
  85398. </reg>
  85399. <reg name="llr_out1" protect="r">
  85400. <bits access="r" name="llr_out1_llr_out1" pos="3:0" rst="15">
  85401. <comment>ABIS11</comment>
  85402. </bits>
  85403. </reg>
  85404. <reg name="llr_out2" protect="r">
  85405. <bits access="r" name="llr_out2_llr_out2" pos="3:0" rst="15">
  85406. <comment>ABIS22</comment>
  85407. </bits>
  85408. </reg>
  85409. <reg name="llr_out3" protect="r">
  85410. <bits access="r" name="llr_out3_llr_out3" pos="3:0" rst="15">
  85411. <comment>ABIS31+2</comment>
  85412. </bits>
  85413. </reg>
  85414. <reg name="crs_pow_max1" protect="r">
  85415. <bits access="r" name="crs_pow_max1_crs_pow_max1" pos="31:0" rst="0">
  85416. <comment>CELLRS</comment>
  85417. </bits>
  85418. </reg>
  85419. <reg name="crs_pow_agc1" protect="r">
  85420. <bits access="r" name="crs_pow_agc1_crs_pow_agc1" pos="9:0" rst="0">
  85421. <comment>CELLRSAGC</comment>
  85422. </bits>
  85423. </reg>
  85424. <reg name="crs_pow_max2" protect="r">
  85425. <bits access="r" name="crs_pow_max2_crs_pow_max2" pos="31:0" rst="0">
  85426. <comment>CELLRS</comment>
  85427. </bits>
  85428. </reg>
  85429. <reg name="crs_pow_agc2" protect="r">
  85430. <bits access="r" name="crs_pow_agc2_crs_pow_agc2" pos="9:0" rst="0">
  85431. <comment>CELLRSAGC</comment>
  85432. </bits>
  85433. </reg>
  85434. <reg name="crs_pow_max3" protect="r">
  85435. <bits access="r" name="crs_pow_max3_crs_pow_max3" pos="31:0" rst="0">
  85436. <comment>CELLRS</comment>
  85437. </bits>
  85438. </reg>
  85439. <reg name="crs_pow_agc3" protect="r">
  85440. <bits access="r" name="crs_pow_agc3_crs_pow_agc3" pos="9:0" rst="0">
  85441. <comment>CELLRSAGC</comment>
  85442. </bits>
  85443. </reg>
  85444. <reg name="crs_pow_max4" protect="r">
  85445. <bits access="r" name="crs_pow_max4_crs_pow_max4" pos="31:0" rst="0">
  85446. <comment>CELLRS</comment>
  85447. </bits>
  85448. </reg>
  85449. <reg name="crs_pow_agc4" protect="r">
  85450. <bits access="r" name="crs_pow_agc4_crs_pow_agc4" pos="9:0" rst="0">
  85451. <comment>CELLRSAGC</comment>
  85452. </bits>
  85453. </reg>
  85454. <reg name="crs_pow_max5" protect="r">
  85455. <bits access="r" name="crs_pow_max5_crs_pow_max5" pos="31:0" rst="0">
  85456. <comment>CELLRS</comment>
  85457. </bits>
  85458. </reg>
  85459. <reg name="crs_pow_agc5" protect="r">
  85460. <bits access="r" name="crs_pow_agc5_crs_pow_agc5" pos="9:0" rst="0">
  85461. <comment>CELLRSAGC</comment>
  85462. </bits>
  85463. </reg>
  85464. <reg name="fsm_state" protect="r">
  85465. <bits access="r" name="fsm_state_fsm_state" pos="31:0" rst="1">
  85466. <comment/>
  85467. </bits>
  85468. </reg>
  85469. <reg name="txrx_norm_gene1" protect="r">
  85470. <bits access="r" name="ofdm7_norm_gene" pos="31:28" rst="0">
  85471. <comment>OFDM 7TXRX</comment>
  85472. </bits>
  85473. <bits access="r" name="ofdm6_norm_gene" pos="27:24" rst="0">
  85474. <comment>OFDM 6TXRX</comment>
  85475. </bits>
  85476. <bits access="r" name="ofdm5_norm_gene" pos="23:20" rst="0">
  85477. <comment>OFDM 5TXRX</comment>
  85478. </bits>
  85479. <bits access="r" name="ofdm4_norm_gene" pos="19:16" rst="0">
  85480. <comment>OFDM 4TXRX</comment>
  85481. </bits>
  85482. <bits access="r" name="ofdm3_norm_gene" pos="15:12" rst="0">
  85483. <comment>OFDM 3TXRX</comment>
  85484. </bits>
  85485. <bits access="r" name="ofdm2_norm_gene" pos="11:8" rst="0">
  85486. <comment>OFDM 2TXRX</comment>
  85487. </bits>
  85488. <bits access="r" name="ofdm1_norm_gene" pos="7:4" rst="0">
  85489. <comment>OFDM 1TXRX</comment>
  85490. </bits>
  85491. <bits access="r" name="ofdm0_norm_gene" pos="3:0" rst="0">
  85492. <comment>OFDM 0TXRX</comment>
  85493. </bits>
  85494. </reg>
  85495. <reg name="txrx_norm_gene2" protect="r">
  85496. <bits access="r" name="ofdm13_norm_gene" pos="23:20" rst="0">
  85497. <comment>OFDM 13TXRX</comment>
  85498. </bits>
  85499. <bits access="r" name="ofdm12_norm_gene" pos="19:16" rst="0">
  85500. <comment>OFDM 12TXRX</comment>
  85501. </bits>
  85502. <bits access="r" name="ofdm11_norm_gene" pos="15:12" rst="0">
  85503. <comment>OFDM 11TXRX</comment>
  85504. </bits>
  85505. <bits access="r" name="ofdm10_norm_gene" pos="11:8" rst="0">
  85506. <comment>OFDM 10TXRX</comment>
  85507. </bits>
  85508. <bits access="r" name="ofdm9_norm_gene" pos="7:4" rst="0">
  85509. <comment>OFDM 9TXRX</comment>
  85510. </bits>
  85511. <bits access="r" name="ofdm8_norm_gene" pos="3:0" rst="0">
  85512. <comment>OFDM 8TXRX</comment>
  85513. </bits>
  85514. </reg>
  85515. <reg name="txrx_soft_offset" protect="r">
  85516. <bits access="r" name="txrx_soft_offset1" pos="9:5" rst="0">
  85517. <comment>TXRXSOFT IRT1</comment>
  85518. </bits>
  85519. <bits access="r" name="txrx_soft_offset0" pos="4:0" rst="0">
  85520. <comment>TXRXSOFT IRT0</comment>
  85521. </bits>
  85522. </reg>
  85523. <reg name="ofdm_assert" protect="r">
  85524. <bits access="r" name="txrx_enable_assert" pos="4" rst="0">
  85525. <comment>ASSERTTXRX_ENABLE</comment>
  85526. </bits>
  85527. <bits access="r" name="ofdm_assert_ofdm_assert" pos="3:0" rst="0">
  85528. <comment>ASSERTOFDM0~13</comment>
  85529. </bits>
  85530. </reg>
  85531. <reg name="fsm_state_assert" protect="r">
  85532. <bits access="r" name="fsm_state_assert_fsm_state_assert" pos="31:0" rst="0">
  85533. <comment>ASSERT</comment>
  85534. </bits>
  85535. </reg>
  85536. <reg name="abis_real_time_flag" protect="r">
  85537. <bits access="r" name="abis_real_time_flag3" pos="2" rst="0">
  85538. <comment>0ABISLLR_OUT3
  85539. 1ABISLLR_OUT3</comment>
  85540. </bits>
  85541. <bits access="r" name="abis_real_time_flag2" pos="1" rst="0">
  85542. <comment>0ABISLLR_OUT2
  85543. 1ABISLLR_OUT2</comment>
  85544. </bits>
  85545. <bits access="r" name="abis_real_time_flag1" pos="0" rst="0">
  85546. <comment>0ABISLLR_OUT1
  85547. 1ABISLLR_OUT1</comment>
  85548. </bits>
  85549. </reg>
  85550. </module>
  85551. </archive>
  85552. <archive relative="cp_lte_coeff.xml">
  85553. <module category="LTE_SYS" name="CP_LTE_COEFF">
  85554. <reg name="qfqt_start" protect="rw">
  85555. <bits access="rw" name="meas_en" pos="10" rst="0">
  85556. <comment>Coeffmeas
  85557. 1
  85558. 0</comment>
  85559. </bits>
  85560. <bits access="rw" name="ldtc_en" pos="9" rst="0">
  85561. <comment>Coeffldtc\ldtc1
  85562. 1
  85563. 0</comment>
  85564. </bits>
  85565. <bits access="rw" name="buf_sel" pos="8:7" rst="0">
  85566. <comment>Coeffldtc\ldtc1 buf
  85567. 00ldtc buf1
  85568. 01ldtc buf2
  85569. 10ldtc buf3
  85570. 11</comment>
  85571. </bits>
  85572. <bits access="rw" name="cat_sel" pos="6" rst="0">
  85573. <comment>CAT1CATM
  85574. 0CATM
  85575. 1CAT1</comment>
  85576. </bits>
  85577. <bits access="rw" name="fast_mod" pos="5" rst="0">
  85578. <comment>0
  85579. 1</comment>
  85580. </bits>
  85581. <bits access="rw" name="port_sel" pos="4" rst="0">
  85582. <comment>Port
  85583. 0Port78
  85584. 1Port5</comment>
  85585. </bits>
  85586. <bits access="rw" name="qfqt_inten" pos="2" rst="0">
  85587. <comment>0QFQT
  85588. 1QFQT</comment>
  85589. </bits>
  85590. <bits access="rw" name="cp_type" pos="1" rst="0">
  85591. <comment>0: NCP
  85592. 1: ECP</comment>
  85593. </bits>
  85594. <bits access="rw" name="qfqt_en" pos="0" rst="0">
  85595. <comment>0: QFQT
  85596. 1: QFQT</comment>
  85597. </bits>
  85598. </reg>
  85599. <reg name="qfqt_state" protect="rw">
  85600. <bits access="rc" name="which_err" pos="3:2" rst="0">
  85601. <comment>bit type is changed from rw1c to rc.
  85602. buf
  85603. 00ldtc buf1
  85604. 01ldtc buf2
  85605. 10ldtc buf3
  85606. 11meas buf</comment>
  85607. </bits>
  85608. <bits access="rc" name="err_state" pos="1" rst="0">
  85609. <comment>bit type is changed from rw1c to rc.</comment>
  85610. </bits>
  85611. <bits access="rc" name="qfqt_intf" pos="0" rst="0">
  85612. <comment>bit type is changed from rw1c to rc.
  85613. 0:
  85614. 1:</comment>
  85615. </bits>
  85616. </reg>
  85617. <reg name="qf_conf" protect="rw">
  85618. <bits access="rw" name="sys_band_sel" pos="17:15" rst="0">
  85619. <comment>000: 6PRB
  85620. 001: 15PRB
  85621. 010: 25PRB
  85622. 011: 50PRB
  85623. 100: 75PRB
  85624. 101: 100PRB
  85625. Others: RESERVED 6PRB</comment>
  85626. </bits>
  85627. <bits access="rw" name="coeff_qf_snr" pos="14:4" rst="1">
  85628. <comment/>
  85629. </bits>
  85630. <bits access="rw" name="cha_mod" pos="1:0" rst="0">
  85631. <comment>00: EPA
  85632. 01: EVA
  85633. 10: ETU
  85634. 11: RESERVED EPA</comment>
  85635. </bits>
  85636. </reg>
  85637. <reg name="qt_conf" protect="rw">
  85638. <bits access="rw" name="doppler" pos="17:16" rst="0">
  85639. <comment>005
  85640. 0170
  85641. 10300
  85642. 11: 850</comment>
  85643. </bits>
  85644. <bits access="rw" name="tdd_fdd" pos="15" rst="0">
  85645. <comment>TDDFDD
  85646. 0TDD
  85647. 1FDD</comment>
  85648. </bits>
  85649. <bits access="rw" name="coeff_qt_snr" pos="14:4" rst="1">
  85650. <comment/>
  85651. </bits>
  85652. <bits access="rw" name="ss_sel" pos="3:0" rst="0">
  85653. <comment>0000SS0
  85654. 0001SS1
  85655. 0010SS2
  85656. 0011SS3
  85657. 0100SS4
  85658. 0101SS5
  85659. 0110SS6
  85660. 0111SS7
  85661. 1000SS8
  85662. 1001SS9</comment>
  85663. </bits>
  85664. </reg>
  85665. <reg name="sw_in" protect="rw">
  85666. <bits access="rw" name="sw_in_sw_in" pos="15:0" rst="0">
  85667. <comment/>
  85668. </bits>
  85669. </reg>
  85670. <reg name="sw_out" protect="r">
  85671. <bits access="r" name="sw_out_sw_out" pos="15:0" rst="0">
  85672. <comment/>
  85673. </bits>
  85674. </reg>
  85675. </module>
  85676. </archive>
  85677. <archive relative="cp_lte_rfad.xml">
  85678. <module category="LTE_SYS" name="CP_LTE_RFAD">
  85679. <reg name="mod_en" protect="rw">
  85680. <bits access="rw" name="mod_up_en" pos="1" rst="0">
  85681. <comment>1
  85682. 0</comment>
  85683. </bits>
  85684. <bits access="rw" name="mod_dn_en" pos="0" rst="0">
  85685. <comment>1
  85686. 0</comment>
  85687. </bits>
  85688. </reg>
  85689. <reg name="ram_addr_map_cfg" protect="rw">
  85690. <bits access="rw" name="ram3_start_addr_up" pos="31:24" rst="0">
  85691. <comment>RAM3RAM
  85692. RAM3256+</comment>
  85693. </bits>
  85694. <bits access="rw" name="ram2_start_addr_up" pos="23:16" rst="0">
  85695. <comment>RAM2SPI RAM</comment>
  85696. </bits>
  85697. <bits access="rw" name="ram3_start_addr_dn" pos="15:8" rst="0">
  85698. <comment>RAM3RAM
  85699. RAM3256+</comment>
  85700. </bits>
  85701. <bits access="rw" name="ram2_start_addr_dn" pos="7:0" rst="0">
  85702. <comment>RAM2SPI RAM</comment>
  85703. </bits>
  85704. </reg>
  85705. <reg name="gpo_immdata" protect="rw">
  85706. <bits access="rw" name="up_sel" pos="16" rst="0">
  85707. <comment>1
  85708. 0</comment>
  85709. </bits>
  85710. <bits access="rw" name="spi_sel" pos="15" rst="0">
  85711. <comment>SPI
  85712. 1SPI
  85713. 0GPO</comment>
  85714. </bits>
  85715. <bits access="rw" name="spi_rw" pos="14" rst="0">
  85716. <comment>SPI
  85717. 1SPI
  85718. 0SPI</comment>
  85719. </bits>
  85720. <bits access="rw" name="gpo" pos="13:0" rst="0">
  85721. <comment/>
  85722. </bits>
  85723. </reg>
  85724. <reg name="spi_immdata" protect="rw">
  85725. <bits access="rw" name="data" pos="31:0" rst="0">
  85726. <comment>SPI</comment>
  85727. </bits>
  85728. </reg>
  85729. <reg name="spi_cfg" protect="rw">
  85730. <bits access="rw" name="distance" pos="29:26" rst="3">
  85731. <comment>SPISENSCLK</comment>
  85732. </bits>
  85733. <bits access="rw" name="frq_div_rd" pos="25:23" rst="1">
  85734. <comment>SPI
  85735. 0004
  85736. 0016default
  85737. 0108
  85738. 01110
  85739. 10012
  85740. 10114
  85741. 11016
  85742. 11118</comment>
  85743. </bits>
  85744. <bits access="rw" name="frq_div_wr" pos="22:20" rst="1">
  85745. <comment>SPI
  85746. 0004
  85747. 0016default
  85748. 0108
  85749. 01110
  85750. 10012
  85751. 10114
  85752. 11016
  85753. 11118</comment>
  85754. </bits>
  85755. <bits access="rw" name="cs_inv" pos="19" rst="0">
  85756. <comment>4-W3-W
  85757. 0
  85758. 1</comment>
  85759. </bits>
  85760. <bits access="rw" name="dux" pos="18" rst="0">
  85761. <comment>17bit4
  85762. 0
  85763. 1</comment>
  85764. </bits>
  85765. <bits access="rw" name="ms" pos="17" rst="0">
  85766. <comment>SPI
  85767. 03
  85768. 14</comment>
  85769. </bits>
  85770. <bits access="rw" name="rd_inter" pos="16:15" rst="2">
  85771. <comment>SPISPI
  85772. 00:0
  85773. 01:1
  85774. 10:2
  85775. 11:3</comment>
  85776. </bits>
  85777. <bits access="rw" name="rd_edge" pos="14" rst="0">
  85778. <comment>00
  85779. 1</comment>
  85780. </bits>
  85781. <bits access="rw" name="sec" pos="13" rst="0">
  85782. <comment>0Normal SPI
  85783. 1DigRF SPI</comment>
  85784. </bits>
  85785. <bits access="rw" name="cpha" pos="12" rst="1">
  85786. <comment>SPI
  85787. 0:
  85788. 1;
  85789. 1:
  85790. ;</comment>
  85791. </bits>
  85792. <bits access="rw" name="cpol" pos="11" rst="0">
  85793. <comment>SPI
  85794. 0: SPIIDLE
  85795. 1: SPIIDLE</comment>
  85796. </bits>
  85797. <bits access="rw" name="spol" pos="10" rst="0">
  85798. <comment>SPI
  85799. 0: SPI
  85800. 1: SPI</comment>
  85801. </bits>
  85802. <bits access="rw" name="rx_data_len" pos="9:5" rst="15">
  85803. <comment>SPI
  85804. 00000: 1-bits
  85805. 00001: 2-bits
  85806. ...........
  85807. 11111: 32-bits</comment>
  85808. </bits>
  85809. <bits access="rw" name="tx_data_len" pos="4:0" rst="31">
  85810. <comment>SPI
  85811. 00000: 1-bits
  85812. 00001: 2-bits
  85813. ...........
  85814. 11111: 32-bits</comment>
  85815. </bits>
  85816. </reg>
  85817. <reg name="spi_rxdata" protect="r">
  85818. <bits access="r" name="rx_data" pos="31:0" rst="0">
  85819. <comment>RFSPI</comment>
  85820. </bits>
  85821. </reg>
  85822. <reg name="debug_data" protect="r">
  85823. <bits access="r" name="framc_err_up_flag" pos="31" rst="0">
  85824. <comment>1
  85825. 0</comment>
  85826. </bits>
  85827. <bits access="r" name="insert_err_up_flag" pos="30" rst="0">
  85828. <comment>1
  85829. 0</comment>
  85830. </bits>
  85831. <bits access="r" name="addr_err_up" pos="29" rst="0">
  85832. <comment>0RAM
  85833. 1RAM</comment>
  85834. </bits>
  85835. <bits access="r" name="time_err_up" pos="28" rst="0">
  85836. <comment>0
  85837. 1
  85838. 0xf0xA</comment>
  85839. </bits>
  85840. <bits access="r" name="ram_rd_addr_up" pos="24:16" rst="0">
  85841. <comment>RAM</comment>
  85842. </bits>
  85843. <bits access="r" name="framc_err_dn_flag" pos="15" rst="0">
  85844. <comment>1
  85845. 0</comment>
  85846. </bits>
  85847. <bits access="r" name="insert_err_dn_flag" pos="14" rst="0">
  85848. <comment>1
  85849. 0</comment>
  85850. </bits>
  85851. <bits access="r" name="addr_err_dn" pos="13" rst="0">
  85852. <comment>0RAM
  85853. 1RAM</comment>
  85854. </bits>
  85855. <bits access="r" name="time_err_dn" pos="12" rst="0">
  85856. <comment>0
  85857. 1
  85858. 0xf0xA</comment>
  85859. </bits>
  85860. <bits access="r" name="ram_rd_addr_dn" pos="8:0" rst="0">
  85861. <comment>RAM</comment>
  85862. </bits>
  85863. </reg>
  85864. <reg name="rf_gpo_ctrl" protect="rw">
  85865. <bits access="rw" name="rf_gpo_ctrl_rf_gpo_ctrl" pos="31:0" rst="3">
  85866. <comment>RF GPO control register</comment>
  85867. </bits>
  85868. </reg>
  85869. <reg name="framl_rfad" protect="rw">
  85870. <bits access="rw" name="dont_insert_en" pos="18" rst="0">
  85871. <comment>1
  85872. 0</comment>
  85873. </bits>
  85874. <bits access="rw" name="up_en" pos="17" rst="0">
  85875. <comment/>
  85876. </bits>
  85877. <bits access="rw" name="dn_en" pos="16" rst="0">
  85878. <comment/>
  85879. </bits>
  85880. <bits access="rw" name="framc_rfad" pos="15:0" rst="30720">
  85881. <comment>RFAD</comment>
  85882. </bits>
  85883. </reg>
  85884. <reg name="framc_err_up" protect="r">
  85885. <bits access="r" name="framc_err_up_flag" pos="24" rst="0">
  85886. <comment>1
  85887. 0</comment>
  85888. </bits>
  85889. <bits access="r" name="framc_err_up_framc_err_up" pos="23:0" rst="0">
  85890. <comment>FRAMC</comment>
  85891. </bits>
  85892. </reg>
  85893. <reg name="data_time_err_up" protect="r">
  85894. <bits access="r" name="ram_rd_addr_up" pos="31:24" rst="0">
  85895. <comment/>
  85896. </bits>
  85897. <bits access="r" name="data_time_err_up_data_time_err_up" pos="23:0" rst="0">
  85898. <comment/>
  85899. </bits>
  85900. </reg>
  85901. <reg name="framc_err_dn" protect="r">
  85902. <bits access="r" name="framc_err_dn_flag" pos="24" rst="0">
  85903. <comment>1
  85904. 0</comment>
  85905. </bits>
  85906. <bits access="r" name="framc_err_dn_framc_err_dn" pos="23:0" rst="0">
  85907. <comment>FRAMC</comment>
  85908. </bits>
  85909. </reg>
  85910. <reg name="data_time_err_dn" protect="r">
  85911. <bits access="r" name="ram_rd_addr_dn" pos="31:24" rst="0">
  85912. <comment/>
  85913. </bits>
  85914. <bits access="r" name="data_time_err_dn_data_time_err_dn" pos="23:0" rst="0">
  85915. <comment/>
  85916. </bits>
  85917. </reg>
  85918. <reg name="framl_err" protect="r">
  85919. <bits access="r" name="framl_err_up" pos="31:16" rst="0">
  85920. <comment>FRAML</comment>
  85921. </bits>
  85922. <bits access="r" name="framl_err_dn" pos="15:0" rst="0">
  85923. <comment>FRAML</comment>
  85924. </bits>
  85925. </reg>
  85926. <reg name="dont_insert_err_up" protect="r">
  85927. <bits access="r" name="ram_rd_addr_up" pos="31:24" rst="0">
  85928. <comment/>
  85929. </bits>
  85930. <bits access="r" name="framc_err_up" pos="23:0" rst="0">
  85931. <comment>FRAMC</comment>
  85932. </bits>
  85933. </reg>
  85934. <reg name="dont_insert_err_dn" protect="r">
  85935. <bits access="r" name="ram_rd_addr_dn" pos="31:24" rst="0">
  85936. <comment/>
  85937. </bits>
  85938. <bits access="r" name="framc_err_dn" pos="23:0" rst="0">
  85939. <comment>FRAMC</comment>
  85940. </bits>
  85941. </reg>
  85942. <hole size="32256"/>
  85943. <reg name="down_mem" protect="rw">
  85944. <bits access="rw" name="down_mem_down_mem" pos="31:0" rst="0">
  85945. </bits>
  85946. </reg>
  85947. <hole size="32736"/>
  85948. <reg name="up_mem" protect="rw">
  85949. <bits access="rw" name="up_mem_up_mem" pos="31:0" rst="0">
  85950. </bits>
  85951. </reg>
  85952. </module>
  85953. </archive>
  85954. <archive relative="cp_lte_uldft.xml">
  85955. <module category="LTE_SYS" name="CP_LTE_ULDFT">
  85956. <reg name="dft_ctrl_next" protect="rw">
  85957. <bits access="rw" name="dft_npts_next" pos="10:5" rst="0">
  85958. <comment>bit type is changed from r/w to rw.
  85959. DFT/IDFTindex0~4344index</comment>
  85960. </bits>
  85961. <bits access="rw" name="pus_modu_sel_next" pos="4:3" rst="0">
  85962. <comment>bit type is changed from r/w to rw.
  85963. 00: BPSK
  85964. 01: QPSK
  85965. 10: 16QAM
  85966. 11: 64QAM</comment>
  85967. </bits>
  85968. <bits access="rw" name="dft_en_next" pos="2" rst="0">
  85969. <comment>bit type is changed from r/w to rw.
  85970. 0DFT/IDFT
  85971. 1DFT/IDFT</comment>
  85972. </bits>
  85973. <bits access="rw" name="pus_mod_en_next" pos="1" rst="0">
  85974. <comment>bit type is changed from r/w to rw.
  85975. 0PUSCH
  85976. 1PUSCH</comment>
  85977. </bits>
  85978. <bits access="rw" name="dft_idft_sel_next" pos="0" rst="0">
  85979. <comment>bit type is changed from r/w to rw.
  85980. 0: DFT
  85981. 1: IDFT</comment>
  85982. </bits>
  85983. </reg>
  85984. <reg name="puc_mod_data_next" protect="rw">
  85985. <bits access="rw" name="puc_mod_data_next_puc_mod_data_next" pos="21:0" rst="0">
  85986. <comment>bit type is changed from r/w to rw.
  85987. PUCCHd(n)</comment>
  85988. </bits>
  85989. </reg>
  85990. <reg name="srs_map_cfg_next" protect="rw">
  85991. <bits access="rw" name="k_tc_num_next" pos="26" rst="0">
  85992. <comment>SRS
  85993. 021
  85994. 143</comment>
  85995. </bits>
  85996. <bits access="rw" name="k_tc_next" pos="25:24" rst="0">
  85997. <comment>bit type is changed from r/w to rw.
  85998. 000
  85999. 011
  86000. 102
  86001. 113</comment>
  86002. </bits>
  86003. <bits access="rw" name="srs_map_len_next" pos="22:16" rst="0">
  86004. <comment>bit type is changed from r/w to rw.
  86005. SRS</comment>
  86006. </bits>
  86007. <bits access="rw" name="srs_map_start2_next" pos="14:8" rst="0">
  86008. <comment>bit type is changed from r/w to rw.
  86009. SRS</comment>
  86010. </bits>
  86011. <bits access="rw" name="srs_map_start1_next" pos="6:0" rst="0">
  86012. <comment>bit type is changed from r/w to rw.
  86013. SRS</comment>
  86014. </bits>
  86015. </reg>
  86016. <reg name="srs_zc_len_next" protect="rw">
  86017. <bits access="rw" name="srs_num_next" pos="24" rst="0">
  86018. <comment>0SRS1
  86019. 1SRS2</comment>
  86020. </bits>
  86021. <bits access="rw" name="srs_map_ofdm2_next" pos="23:20" rst="0">
  86022. <comment>SRSOFDM</comment>
  86023. </bits>
  86024. <bits access="rw" name="sra_map_ofdm1_next" pos="19:16" rst="0">
  86025. <comment>SRSOFDM</comment>
  86026. </bits>
  86027. <bits access="rw" name="special_frame_start_next" pos="15:12" rst="0">
  86028. <comment>SRSOFDM</comment>
  86029. </bits>
  86030. <bits access="rw" name="srs_zc_len_next_srs_zc_len_next" pos="10:0" rst="0">
  86031. <comment>bit type is changed from r/w to rw.
  86032. SRSZC</comment>
  86033. </bits>
  86034. </reg>
  86035. <reg name="puc_map_cfg_next" protect="rw">
  86036. <bits access="rw" name="tx_fir_en_next" pos="31" rst="0">
  86037. <comment>0TX
  86038. 1TX</comment>
  86039. </bits>
  86040. <bits access="rw" name="tx_nb_start2_next" pos="30:24" rst="0">
  86041. <comment>2</comment>
  86042. </bits>
  86043. <bits access="rw" name="tx_nb_start1_next" pos="22:16" rst="0">
  86044. <comment>1</comment>
  86045. </bits>
  86046. <bits access="rw" name="puc_map_start2_next" pos="14:8" rst="0">
  86047. <comment>PUCCH</comment>
  86048. </bits>
  86049. <bits access="rw" name="puc_map_start1_next" pos="6:0" rst="0">
  86050. <comment>PUCCH</comment>
  86051. </bits>
  86052. </reg>
  86053. <reg name="pus_map_cfg_next" protect="rw">
  86054. <bits access="rw" name="pus_map_sel_next" pos="31" rst="0">
  86055. <comment>PUSCH
  86056. 00.5ms
  86057. 11ms</comment>
  86058. </bits>
  86059. <bits access="rw" name="pus_map_len2_next" pos="30:24" rst="0">
  86060. <comment>PUSCH</comment>
  86061. </bits>
  86062. <bits access="rw" name="pus_map_len1_next" pos="22:16" rst="0">
  86063. <comment>PUSCH</comment>
  86064. </bits>
  86065. <bits access="rw" name="pus_map_start2_next" pos="14:8" rst="0">
  86066. <comment>PUSCH</comment>
  86067. </bits>
  86068. <bits access="rw" name="pus_map_start1_next" pos="6:0" rst="0">
  86069. <comment>PUSCH</comment>
  86070. </bits>
  86071. </reg>
  86072. <reg name="hard_para_next1" protect="rw">
  86073. <bits access="rw" name="pus_dmrs_w_flag" pos="15" rst="0">
  86074. <comment>PUSCH DMRS
  86075. 1
  86076. 0</comment>
  86077. </bits>
  86078. <bits access="rw" name="pucpus_shortened_mode_next" pos="14:11" rst="0">
  86079. <comment>PUSCH/PUCCH
  86080. 0000normal
  86081. 0001type0_shortend
  86082. 0010type1_shortend
  86083. 0011type2_shortend
  86084. 0100type3_shortend
  86085. 0101type4_shortend
  86086. 0110type5_shortend
  86087. 0111: type6_shortend
  86088. 1000: type7_shortend
  86089. 1001: other</comment>
  86090. </bits>
  86091. <bits access="rw" name="group_hop_flag_next" pos="10" rst="0">
  86092. <comment>1u
  86093. 0u</comment>
  86094. </bits>
  86095. <bits access="rw" name="seq_hop_flag_next" pos="9" rst="0">
  86096. <comment>1v
  86097. 0v</comment>
  86098. </bits>
  86099. <bits access="rw" name="ta_overlap_next" pos="8:3" rst="0">
  86100. <comment>TA0~32</comment>
  86101. </bits>
  86102. <bits access="rw" name="cyclic_shift_field_next" pos="2:0" rst="0">
  86103. <comment>dmrsValue0~7</comment>
  86104. </bits>
  86105. </reg>
  86106. <reg name="hard_para_next2" protect="rw">
  86107. <bits access="rw" name="delta_apc_srs_next" pos="31:16" rst="0">
  86108. <comment>SRSAPC</comment>
  86109. </bits>
  86110. <bits access="rw" name="delta_apc_scr_next" pos="15:0" rst="0">
  86111. <comment>PUSCH/PUCCH/PRACHAPC</comment>
  86112. </bits>
  86113. </reg>
  86114. <reg name="hard_para_next3" protect="rw">
  86115. <bits access="rw" name="n1_pucch_next" pos="31:20" rst="0">
  86116. <comment>PUCCH1/1a/1b0~4095</comment>
  86117. </bits>
  86118. <bits access="rw" name="srs_cycle_shift_next" pos="19:16" rst="0">
  86119. <comment>SRS</comment>
  86120. </bits>
  86121. <bits access="rw" name="subframe_slot_cnt_next" pos="14:10" rst="0">
  86122. <comment>CAT1/CATM/CAT-NB15kHz1ms2CAT-NB3.75kHz2ms1</comment>
  86123. </bits>
  86124. <bits access="rw" name="nf_next" pos="9:0" rst="0">
  86125. <comment>0~1023</comment>
  86126. </bits>
  86127. </reg>
  86128. <reg name="ofdm_offset_next" protect="rw">
  86129. <bits access="rw" name="ofdm_offset_last_next" pos="31:16" rst="0">
  86130. <comment>OFDMoffset</comment>
  86131. </bits>
  86132. <bits access="rw" name="ofdm_offset_first_next" pos="15:0" rst="0">
  86133. <comment>OFDMoffset</comment>
  86134. </bits>
  86135. </reg>
  86136. <reg name="dft_fft_inten_next" protect="rw">
  86137. <bits access="rw" name="err_inten_next" pos="15" rst="0">
  86138. <comment>0ULDFTTXRXPUSCHERROR
  86139. 1ULDFTTXRXPUSCHERROR</comment>
  86140. </bits>
  86141. <bits access="rw" name="dma_inten_next" pos="14" rst="0">
  86142. <comment>1AXIDMA
  86143. 0AXIDMA</comment>
  86144. </bits>
  86145. <bits access="rw" name="dft_fft_inten13_next" pos="13" rst="0">
  86146. <comment>1OFDM13
  86147. 0OFDM13</comment>
  86148. </bits>
  86149. <bits access="rw" name="dft_fft_inten12_next" pos="12" rst="0">
  86150. <comment>1OFDM12
  86151. 0OFDM12</comment>
  86152. </bits>
  86153. <bits access="rw" name="dft_fft_inten11_next" pos="11" rst="0">
  86154. <comment>1OFDM11
  86155. 0OFDM11</comment>
  86156. </bits>
  86157. <bits access="rw" name="dft_fft_inten10_next" pos="10" rst="0">
  86158. <comment>1OFDM10
  86159. 0OFDM10</comment>
  86160. </bits>
  86161. <bits access="rw" name="dft_fft_inten9_next" pos="9" rst="0">
  86162. <comment>1OFDM9
  86163. 0OFDM9</comment>
  86164. </bits>
  86165. <bits access="rw" name="dft_fft_inten8_next" pos="8" rst="0">
  86166. <comment>1OFDM8
  86167. 0OFDM8</comment>
  86168. </bits>
  86169. <bits access="rw" name="dft_fft_inten7_next" pos="7" rst="0">
  86170. <comment>1OFDM7
  86171. 0OFDM7</comment>
  86172. </bits>
  86173. <bits access="rw" name="dft_fft_inten6_next" pos="6" rst="0">
  86174. <comment>1OFDM6
  86175. 0OFDM6</comment>
  86176. </bits>
  86177. <bits access="rw" name="dft_fft_inten5_next" pos="5" rst="0">
  86178. <comment>1OFDM5
  86179. 0OFDM5</comment>
  86180. </bits>
  86181. <bits access="rw" name="dft_fft_inten4_next" pos="4" rst="0">
  86182. <comment>1OFDM4
  86183. 0OFDM4</comment>
  86184. </bits>
  86185. <bits access="rw" name="dft_fft_inten3_next" pos="3" rst="0">
  86186. <comment>1OFDM3
  86187. 0OFDM3</comment>
  86188. </bits>
  86189. <bits access="rw" name="dft_fft_inten2_next" pos="2" rst="0">
  86190. <comment>1OFDM2
  86191. 0OFDM2</comment>
  86192. </bits>
  86193. <bits access="rw" name="dft_fft_inten1_next" pos="1" rst="0">
  86194. <comment>1OFDM1
  86195. 0OFDM1</comment>
  86196. </bits>
  86197. <bits access="rw" name="dft_fft_inten0_next" pos="0" rst="0">
  86198. <comment>1OFDM0
  86199. 0OFDM0</comment>
  86200. </bits>
  86201. </reg>
  86202. <reg name="dft_fft_intf_next" protect="rw">
  86203. <bits access="rc" name="dft_fft_intf13_next" pos="15" rst="0">
  86204. <comment>bit type is changed from rw1c to rc.
  86205. 1OFDM13
  86206. 0OFDM13</comment>
  86207. </bits>
  86208. <bits access="rc" name="dft_fft_intf12_next" pos="14" rst="0">
  86209. <comment>bit type is changed from rw1c to rc.
  86210. 1OFDM12
  86211. 0OFDM12</comment>
  86212. </bits>
  86213. <bits access="rc" name="dft_fft_intf11_next" pos="13" rst="0">
  86214. <comment>bit type is changed from rw1c to rc.
  86215. 1OFDM11
  86216. 0OFDM11</comment>
  86217. </bits>
  86218. <bits access="rc" name="dft_fft_intf10_next" pos="12" rst="0">
  86219. <comment>bit type is changed from rw1c to rc.
  86220. 1OFDM10
  86221. 0OFDM10</comment>
  86222. </bits>
  86223. <bits access="rc" name="dft_fft_intf9_next" pos="11" rst="0">
  86224. <comment>bit type is changed from rw1c to rc.
  86225. 1OFDM9
  86226. 0OFDM9</comment>
  86227. </bits>
  86228. <bits access="rc" name="dft_fft_intf8_next" pos="10" rst="0">
  86229. <comment>bit type is changed from rw1c to rc.
  86230. 1OFDM8
  86231. 0OFDM8</comment>
  86232. </bits>
  86233. <bits access="rc" name="dft_fft_intf7_next" pos="9" rst="0">
  86234. <comment>bit type is changed from rw1c to rc.
  86235. 1OFDM7
  86236. 0OFDM7</comment>
  86237. </bits>
  86238. <bits access="rc" name="dft_fft_intf6_next" pos="8" rst="0">
  86239. <comment>bit type is changed from rw1c to rc.
  86240. 1OFDM6
  86241. 0OFDM6</comment>
  86242. </bits>
  86243. <bits access="rc" name="dft_fft_intf5_next" pos="7" rst="0">
  86244. <comment>bit type is changed from rw1c to rc.
  86245. 1OFDM5
  86246. 0OFDM5</comment>
  86247. </bits>
  86248. <bits access="rc" name="dft_fft_intf4_next" pos="6" rst="0">
  86249. <comment>bit type is changed from rw1c to rc.
  86250. 1OFDM4
  86251. 0OFDM4</comment>
  86252. </bits>
  86253. <bits access="rc" name="dft_fft_intf3_next" pos="5" rst="0">
  86254. <comment>bit type is changed from rw1c to rc.
  86255. 1OFDM3
  86256. 0OFDM3</comment>
  86257. </bits>
  86258. <bits access="rc" name="dft_fft_intf2_next" pos="4" rst="0">
  86259. <comment>bit type is changed from rw1c to rc.
  86260. 1OFDM2
  86261. 0OFDM2</comment>
  86262. </bits>
  86263. <bits access="rc" name="dft_fft_intf1_next" pos="3" rst="0">
  86264. <comment>bit type is changed from rw1c to rc.
  86265. 1OFDM1
  86266. 0OFDM1</comment>
  86267. </bits>
  86268. <bits access="rc" name="dft_fft_intf0_next" pos="2" rst="0">
  86269. <comment>bit type is changed from rw1c to rc.
  86270. 1OFDM0
  86271. 0OFDM0</comment>
  86272. </bits>
  86273. <bits access="rc" name="pus_rd_errf" pos="1" rst="0">
  86274. <comment>bit type is changed from rw1c to rc.
  86275. 1pusch
  86276. 0pusch</comment>
  86277. </bits>
  86278. <bits access="rc" name="txrx_wr_errf" pos="0" rst="0">
  86279. <comment>bit type is changed from rw1c to rc.
  86280. 1txrx
  86281. 0txrx</comment>
  86282. </bits>
  86283. </reg>
  86284. <reg name="ofdm_zero_next" protect="rw">
  86285. <bits access="rw" name="ofdm_zero_next_ofdm_zero_next" pos="13:0" rst="0">
  86286. <comment>OFDM
  86287. 14b0
  86288. 14b10
  86289. 14b1101
  86290. 14b111012</comment>
  86291. </bits>
  86292. </reg>
  86293. <reg name="dft_fft_ctrl_next" protect="rw">
  86294. <bits access="rw" name="dftfft_soft_start" pos="30" rst="0">
  86295. <comment>0ULDFT
  86296. 1ULDFT</comment>
  86297. </bits>
  86298. <bits access="rw" name="dft_trig_mode" pos="29" rst="0">
  86299. <comment>0ULDFT
  86300. 1ULDFTPUSCH</comment>
  86301. </bits>
  86302. <bits access="rw" name="launch_en_next" pos="28" rst="0">
  86303. <comment>0
  86304. 1</comment>
  86305. </bits>
  86306. <bits access="rw" name="srs_en_next" pos="27" rst="0">
  86307. <comment>0SRS
  86308. 1SRS</comment>
  86309. </bits>
  86310. <bits access="rw" name="clear_en_next" pos="26" rst="0">
  86311. <comment>0FFTMEM
  86312. 1FFTMEM</comment>
  86313. </bits>
  86314. <bits access="rw" name="fft_ifft_sel_next" pos="25" rst="0">
  86315. <comment>1IFFT
  86316. 0FFT</comment>
  86317. </bits>
  86318. <bits access="rw" name="fft_cal_next" pos="24" rst="0">
  86319. <comment>1FFT/IFFT
  86320. 0FFT/IFFT</comment>
  86321. </bits>
  86322. <bits access="rw" name="pwradj_en_next" pos="23" rst="0">
  86323. <comment>0
  86324. 1</comment>
  86325. </bits>
  86326. <bits access="rw" name="prach_format_sel_next" pos="22:20" rst="0">
  86327. <comment>PRACH
  86328. 000PRACH0
  86329. 001PRACH1
  86330. 010PRACH2
  86331. 011PRACH3
  86332. 100PRACH4</comment>
  86333. </bits>
  86334. <bits access="rw" name="pucch_format_sel_next" pos="19:17" rst="0">
  86335. <comment>PUCCH
  86336. 000PUCCH1
  86337. 001PUCCH1a
  86338. 010PUCCH1b
  86339. 011PUCCH2
  86340. 100PUCCH2a
  86341. 101PUCCH2b</comment>
  86342. </bits>
  86343. <bits access="rw" name="npusch_formatsel_next" pos="16" rst="0">
  86344. <comment>0NPUSCH format 1
  86345. 1NPUSCH format2</comment>
  86346. </bits>
  86347. <bits access="rw" name="ofdm_num_next" pos="15:12" rst="0">
  86348. <comment>OFDM</comment>
  86349. </bits>
  86350. <bits access="rw" name="datadrive_en_next" pos="10" rst="0">
  86351. <comment>0DATADRIVE
  86352. 1DATADRIVE</comment>
  86353. </bits>
  86354. <bits access="rw" name="pus_buf_sel_next" pos="9:8" rst="0">
  86355. <comment>UL_DFTPUSCH BUFFER
  86356. 00PUSCH BUFFER1
  86357. 01PUSCH BUFFER2
  86358. 10PUSCH BUFFER3
  86359. 11PUSCH PRA_BUF</comment>
  86360. </bits>
  86361. <bits access="rw" name="chan_mode_next" pos="6:4" rst="0">
  86362. <comment>000PUSCH
  86363. 001PUCCH
  86364. 010PRACH
  86365. 011SRS
  86366. 100NPUSCH
  86367. 101NPRACH</comment>
  86368. </bits>
  86369. <bits access="rw" name="fft_npts" pos="3:1" rst="0">
  86370. <comment>FFT/IFFT
  86371. 111
  86372. 110
  86373. 101
  86374. 1002048
  86375. 0111024
  86376. 010512
  86377. 001256
  86378. 000128</comment>
  86379. </bits>
  86380. <bits access="rw" name="dftfft_irqen_next" pos="0" rst="0">
  86381. <comment>0:
  86382. 1:</comment>
  86383. </bits>
  86384. </reg>
  86385. <reg name="fft_lnum_srs_next" protect="rw">
  86386. <bits access="rw" name="fft_lnum11_srs_next" pos="21:20" rst="0">
  86387. <comment>FFT
  86388. 2b0025~14bit
  86389. 2b0126~15bit
  86390. 2b1027~16bit
  86391. 2b1128~17bit</comment>
  86392. </bits>
  86393. <bits access="rw" name="fft_lnum10_srs_next" pos="19:18" rst="0">
  86394. <comment>FFT
  86395. 2b0025~14bit
  86396. 2b0126~15bit
  86397. 2b1027~16bit
  86398. 2b1128~17bit</comment>
  86399. </bits>
  86400. <bits access="rw" name="fft_lnum9_srs_next" pos="17:16" rst="0">
  86401. <comment>FFT
  86402. 2b0025~14bit
  86403. 2b0126~15bit
  86404. 2b1027~16bit
  86405. 2b1128~17bit</comment>
  86406. </bits>
  86407. <bits access="rw" name="fft_lnum8_srs_next" pos="15:14" rst="0">
  86408. <comment>FFT
  86409. 2b0025~14bit
  86410. 2b0126~15bit
  86411. 2b1027~16bit
  86412. 2b1128~17bit</comment>
  86413. </bits>
  86414. <bits access="rw" name="fft_lnum7_srs_next" pos="13:12" rst="0">
  86415. <comment>FFT
  86416. 2b0025~14bit
  86417. 2b0126~15bit
  86418. 2b1027~16bit
  86419. 2b1128~17bit</comment>
  86420. </bits>
  86421. <bits access="rw" name="fft_lnum6_srs_next" pos="11:10" rst="0">
  86422. <comment>FFT
  86423. 2b0025~14bit
  86424. 2b0126~15bit
  86425. 2b1027~16bit
  86426. 2b1128~17bit</comment>
  86427. </bits>
  86428. <bits access="rw" name="fft_lnum5_srs_next" pos="9:8" rst="0">
  86429. <comment>FFT
  86430. 2b0025~14bit
  86431. 2b0126~15bit
  86432. 2b1027~16bit
  86433. 2b1128~17bit</comment>
  86434. </bits>
  86435. <bits access="rw" name="fft_lnum4_srs_next" pos="7:6" rst="0">
  86436. <comment>FFT
  86437. 2b0025~14bit
  86438. 2b0126~15bit
  86439. 2b1027~16bit
  86440. 2b1128~17bit</comment>
  86441. </bits>
  86442. <bits access="rw" name="fft_lnum3_srs_next" pos="5:4" rst="0">
  86443. <comment>FFT
  86444. 2b0025~14bit
  86445. 2b0126~15bit
  86446. 2b1027~16bit
  86447. 2b1128~17bit</comment>
  86448. </bits>
  86449. <bits access="rw" name="fft_lnum2_srs_next" pos="3:2" rst="0">
  86450. <comment>FFT
  86451. 2b0025~14bit
  86452. 2b0126~15bit
  86453. 2b1027~16bit
  86454. 2b1128~17bit</comment>
  86455. </bits>
  86456. <bits access="rw" name="fft_lnum1_srs_next" pos="1:0" rst="0">
  86457. <comment>FFT
  86458. 2b0025~14bit
  86459. 2b0126~15bit
  86460. 2b1027~16bit
  86461. 2b1128~17bit</comment>
  86462. </bits>
  86463. </reg>
  86464. <reg name="fft_lnum_scr_next" protect="rw">
  86465. <bits access="rw" name="fft_lnum11_scr_next" pos="21:20" rst="0">
  86466. <comment>FFT
  86467. 2b0025~14bit
  86468. 2b0126~15bit
  86469. 2b1027~16bit
  86470. 2b1128~17bit</comment>
  86471. </bits>
  86472. <bits access="rw" name="fft_lnum10_scr_next" pos="19:18" rst="0">
  86473. <comment>FFT
  86474. 2b0025~14bit
  86475. 2b0126~15bit
  86476. 2b1027~16bit
  86477. 2b1128~17bit</comment>
  86478. </bits>
  86479. <bits access="rw" name="fft_lnum9_scr_next" pos="17:16" rst="0">
  86480. <comment>FFT
  86481. 2b0025~14bit
  86482. 2b0126~15bit
  86483. 2b1027~16bit
  86484. 2b1128~17bit</comment>
  86485. </bits>
  86486. <bits access="rw" name="fft_lnum8_scr_next" pos="15:14" rst="0">
  86487. <comment>FFT
  86488. 2b0025~14bit
  86489. 2b0126~15bit
  86490. 2b1027~16bit
  86491. 2b1128~17bit</comment>
  86492. </bits>
  86493. <bits access="rw" name="fft_lnum7_scr_next" pos="13:12" rst="0">
  86494. <comment>FFT
  86495. 2b0025~14bit
  86496. 2b0126~15bit
  86497. 2b1027~16bit
  86498. 2b1128~17bit</comment>
  86499. </bits>
  86500. <bits access="rw" name="fft_lnum6_scr_next" pos="11:10" rst="0">
  86501. <comment>FFT
  86502. 2b0025~14bit
  86503. 2b0126~15bit
  86504. 2b1027~16bit
  86505. 2b1128~17bit</comment>
  86506. </bits>
  86507. <bits access="rw" name="fft_lnum5_scr_next" pos="9:8" rst="0">
  86508. <comment>FFT
  86509. 2b0025~14bit
  86510. 2b0126~15bit
  86511. 2b1027~16bit
  86512. 2b1128~17bit</comment>
  86513. </bits>
  86514. <bits access="rw" name="fft_lnum4_scr_next" pos="7:6" rst="0">
  86515. <comment>FFT
  86516. 2b0025~14bit
  86517. 2b0126~15bit
  86518. 2b1027~16bit
  86519. 2b1128~17bit</comment>
  86520. </bits>
  86521. <bits access="rw" name="fft_lnum3_scr_next" pos="5:4" rst="0">
  86522. <comment>FFT
  86523. 2b0025~14bit
  86524. 2b0126~15bit
  86525. 2b1027~16bit
  86526. 2b1128~17bit</comment>
  86527. </bits>
  86528. <bits access="rw" name="fft_lnum2_scr_next" pos="3:2" rst="0">
  86529. <comment>FFT
  86530. 2b0025~14bit
  86531. 2b0126~15bit
  86532. 2b1027~16bit
  86533. 2b1128~17bit</comment>
  86534. </bits>
  86535. <bits access="rw" name="fft_lnum1_scr_next" pos="1:0" rst="0">
  86536. <comment>FFT
  86537. 2b0025~14bit
  86538. 2b0126~15bit
  86539. 2b1027~16bit
  86540. 2b1128~17bit</comment>
  86541. </bits>
  86542. </reg>
  86543. <reg name="npus_map_cfg_next" protect="rw">
  86544. <bits access="rw" name="npus_rep_cnt_next" pos="23:17" rst="0">
  86545. <comment>NPUSCH0~127</comment>
  86546. </bits>
  86547. <bits access="rw" name="n_ru_sc_next" pos="16:15" rst="0">
  86548. <comment>001
  86549. 013
  86550. 106
  86551. 1112</comment>
  86552. </bits>
  86553. <bits access="rw" name="isc_start_index_next" pos="14:9" rst="0">
  86554. <comment>NPUSCH 0~47</comment>
  86555. </bits>
  86556. <bits access="rw" name="n_slot_cnt_next" pos="8:1" rst="0">
  86557. <comment>Nslots1~160</comment>
  86558. </bits>
  86559. <bits access="rw" name="npus_sub_space_next" pos="0" rst="0">
  86560. <comment>0: 3.75KHz
  86561. 1: 15KHz</comment>
  86562. </bits>
  86563. </reg>
  86564. <reg name="npus_dmrs_cfg_next" protect="rw">
  86565. <bits access="rw" name="first_ru_slot_next" pos="26:22" rst="0">
  86566. <comment>RU0~19</comment>
  86567. </bits>
  86568. <bits access="rw" name="slot_n_next" pos="21:7" rst="0">
  86569. <comment>1DMRS0~20480</comment>
  86570. </bits>
  86571. <bits access="rw" name="base_seq_next" pos="6:2" rst="0">
  86572. <comment>BASE_SEQ_NEXT0~30</comment>
  86573. </bits>
  86574. <bits access="rw" name="cyclic_shift_next" pos="1:0" rst="0">
  86575. <comment>CYCLIC_SHIFT0~3</comment>
  86576. </bits>
  86577. </reg>
  86578. <reg name="npra_cfg_next" protect="rw">
  86579. <bits access="rw" name="sym_group_rep_cnt_next" pos="16:9" rst="0">
  86580. <comment>t0~128</comment>
  86581. </bits>
  86582. <bits access="rw" name="nprach_sc_offset_next" pos="8:6" rst="0">
  86583. <comment>frequency location of the first sub-carrier allocated to NPRACH
  86584. 000frequency location0
  86585. 001frequency location2
  86586. 010frequency location12
  86587. 011frequency location18
  86588. 100frequency location24
  86589. 101frequency location34
  86590. 110frequency location36
  86591. 1110</comment>
  86592. </bits>
  86593. <bits access="rw" name="init_sc_next" pos="5:0" rst="0">
  86594. <comment>being the subcarrier selected by the MAC layer from 0-47</comment>
  86595. </bits>
  86596. </reg>
  86597. <reg name="inout_para" protect="rw">
  86598. <bits access="rw" name="fir_bit_sel" pos="28:25" rst="0">
  86599. <comment/>
  86600. </bits>
  86601. <bits access="rw" name="delta_ss" pos="24:20" rst="0">
  86602. <comment>0~29</comment>
  86603. </bits>
  86604. <bits access="rw" name="n2_pucch" pos="19:9" rst="0">
  86605. <comment>PUCCH2/2a/2b0~1184</comment>
  86606. </bits>
  86607. <bits access="rw" name="cyclic_shift" pos="8:6" rst="0">
  86608. <comment>0~7</comment>
  86609. </bits>
  86610. <bits access="rw" name="cp_mode" pos="2" rst="0">
  86611. <comment>CP
  86612. 0CP
  86613. 1CP</comment>
  86614. </bits>
  86615. <bits access="rw" name="tdd_fdd_mode_sel" pos="1" rst="0">
  86616. <comment>0TDD mode
  86617. 1FDD mode</comment>
  86618. </bits>
  86619. <bits access="rw" name="inout_ctrl" pos="0" rst="0">
  86620. <comment>1:
  86621. 0:</comment>
  86622. </bits>
  86623. </reg>
  86624. <reg name="id_para" protect="rw">
  86625. <bits access="rw" name="ncs_u_gold_mode" pos="29" rst="0">
  86626. <comment>NCSUGOLDC_INI
  86627. 1if no value for or is configured by higher layers or the PUSCH transmission corresponds to a Random Access Response Grant or a retransmission of the same transport block as part of the contention based random access procedure
  86628. 0otherwise</comment>
  86629. </bits>
  86630. <bits access="rw" name="csh_dmrs_id" pos="28:19" rst="0">
  86631. <comment>NCS_U_GOLD_MODE1 + 0~532NCS_U_GOLD_MODE0 0~509</comment>
  86632. </bits>
  86633. <bits access="rw" name="rs_id" pos="18:9" rst="0">
  86634. <comment>NCS_U_GOLD_MODE1 + 0~532NCS_U_GOLD_MODE0 0~509</comment>
  86635. </bits>
  86636. <bits access="rw" name="cell_id" pos="8:0" rst="0">
  86637. <comment>ID0~503</comment>
  86638. </bits>
  86639. </reg>
  86640. <reg name="pucch_dummy_id" protect="rw">
  86641. <bits access="rw" name="puc_dummy_id" pos="8:0" rst="0">
  86642. <comment>RSID</comment>
  86643. </bits>
  86644. </reg>
  86645. <reg name="puc_rbmap_config" protect="rw">
  86646. <bits access="rw" name="ncs1_puc" pos="14:12" rst="0">
  86647. <comment>nCsAn1/1a/1b0~7</comment>
  86648. </bits>
  86649. <bits access="rw" name="ce_mode_flag" pos="10" rst="0">
  86650. <comment>CE_mode
  86651. 0CE_modeA
  86652. 1CE_modeB</comment>
  86653. </bits>
  86654. <bits access="rw" name="delta_shift_puc" pos="9:8" rst="0">
  86655. <comment>00 1
  86656. 01 2
  86657. 10 3
  86658. 1100 1</comment>
  86659. </bits>
  86660. <bits access="rw" name="nrb2" pos="6:0" rst="0">
  86661. <comment>cqiNrb PUCCH2/2a/2b0~98</comment>
  86662. </bits>
  86663. </reg>
  86664. <reg name="sysband_config" protect="rw">
  86665. <bits access="rw" name="mode_sel" pos="4:3" rst="0">
  86666. <comment>ULDFT
  86667. 00CAT1
  86668. 01CATM
  86669. 10NB-IOT
  86670. 11CAT1</comment>
  86671. </bits>
  86672. <bits access="rw" name="sys_band" pos="2:0" rst="0">
  86673. <comment>CAT1
  86674. 0006PRB
  86675. 00115PRB
  86676. 01025PRB
  86677. 01150PRB
  86678. 10075PRB
  86679. 101100PRB
  86680. 6PRB</comment>
  86681. </bits>
  86682. </reg>
  86683. <reg name="dftfft_launch" protect="rw">
  86684. <bits access="rw" name="dma_start_en" pos="1" rst="0">
  86685. <comment>0DMA
  86686. 1DMA</comment>
  86687. </bits>
  86688. <bits access="rw" name="dftfft_launch_dftfft_launch" pos="0" rst="0">
  86689. <comment>0:
  86690. 1:</comment>
  86691. </bits>
  86692. </reg>
  86693. <reg name="dft_fft_sw_stop" protect="rw">
  86694. <bits access="rw" name="sw_pause_ofdm" pos="17:4" rst="0">
  86695. <comment>SW_PAUSE_EN=1OFDM
  86696. 14`b0
  86697. 14`b1OFDM0
  86698. 14`b11OFDM01
  86699. 14`b111OFDM012</comment>
  86700. </bits>
  86701. <bits access="rw" name="sw_pause_way" pos="3" rst="0">
  86702. <comment>SW_PAUSE_EN=1
  86703. 0SW_PAUSE_OFDMOFDM
  86704. 1SW_PAUSE_OFDMOFDM</comment>
  86705. </bits>
  86706. <bits access="rw" name="sw_pause_en" pos="2" rst="0">
  86707. <comment>0
  86708. 1</comment>
  86709. </bits>
  86710. <bits access="rw" name="sw_tmp_en" pos="1" rst="0">
  86711. <comment>0
  86712. 1</comment>
  86713. </bits>
  86714. <bits access="rw" name="sw_stop_en" pos="0" rst="0">
  86715. <comment>0
  86716. 1OFDM</comment>
  86717. </bits>
  86718. </reg>
  86719. <reg name="dft_fft_sw_stop_flag" protect="rw">
  86720. <bits access="rc" name="sw_pause_flag" pos="1" rst="0">
  86721. <comment>bit type is changed from rw1c to rc.
  86722. 0
  86723. 1</comment>
  86724. </bits>
  86725. <bits access="rc" name="sw_stop_flag" pos="0" rst="0">
  86726. <comment>bit type is changed from rw1c to rc.
  86727. 0
  86728. 1</comment>
  86729. </bits>
  86730. </reg>
  86731. <reg name="dft_ctrl_curr1" protect="rw">
  86732. <bits access="rw" name="dft_npts_curr" pos="10:5" rst="0">
  86733. <comment>bit type is changed from r/w to rw.
  86734. DFT/IDFTindex0~4344index</comment>
  86735. </bits>
  86736. <bits access="rw" name="pus_modu_sel_curr" pos="4:3" rst="0">
  86737. <comment>bit type is changed from r/w to rw.
  86738. 00: BPSK
  86739. 01: QPSK
  86740. 10: 16QAM
  86741. 11: 64QAM</comment>
  86742. </bits>
  86743. <bits access="rw" name="dft_en_curr" pos="2" rst="0">
  86744. <comment>bit type is changed from r/w to rw.
  86745. 0DFT/IDFT
  86746. 1DFT/IDFT</comment>
  86747. </bits>
  86748. <bits access="rw" name="pus_mod_en_curr" pos="1" rst="0">
  86749. <comment>bit type is changed from r/w to rw.
  86750. 0PUSCH
  86751. 1PUSCH</comment>
  86752. </bits>
  86753. <bits access="rw" name="dft_idft_sel_curr" pos="0" rst="0">
  86754. <comment>bit type is changed from r/w to rw.
  86755. 0: DFT
  86756. 1: IDFT</comment>
  86757. </bits>
  86758. </reg>
  86759. <reg name="puc_mod_data_curr1" protect="rw">
  86760. <bits access="rw" name="puc_mod_data_curr" pos="21:0" rst="0">
  86761. <comment>bit type is changed from r/w to rw.
  86762. PUCCHd(n)</comment>
  86763. </bits>
  86764. </reg>
  86765. <reg name="srs_map_cfg_curr1" protect="rw">
  86766. <bits access="rw" name="k_tc_num_curr" pos="26" rst="0">
  86767. <comment>SRS
  86768. 021
  86769. 143</comment>
  86770. </bits>
  86771. <bits access="rw" name="k_tc_curr" pos="25:24" rst="0">
  86772. <comment>bit type is changed from r/w to rw.
  86773. 000
  86774. 011
  86775. 102
  86776. 113</comment>
  86777. </bits>
  86778. <bits access="rw" name="srs_map_len_curr" pos="22:16" rst="0">
  86779. <comment>bit type is changed from r/w to rw.
  86780. SRS</comment>
  86781. </bits>
  86782. <bits access="rw" name="srs_map_start2_curr" pos="14:8" rst="0">
  86783. <comment>bit type is changed from r/w to rw.
  86784. SRS</comment>
  86785. </bits>
  86786. <bits access="rw" name="srs_map_start1_curr" pos="6:0" rst="0">
  86787. <comment>bit type is changed from r/w to rw.
  86788. SRS</comment>
  86789. </bits>
  86790. </reg>
  86791. <reg name="srs_zc_len_curr1" protect="rw">
  86792. <bits access="rw" name="srs_num_curr" pos="24" rst="0">
  86793. <comment>0SRS1
  86794. 1SRS2</comment>
  86795. </bits>
  86796. <bits access="rw" name="srs_map_ofdm2_curr" pos="23:20" rst="0">
  86797. <comment>SRSOFDM</comment>
  86798. </bits>
  86799. <bits access="rw" name="sra_map_ofdm1_curr" pos="19:16" rst="0">
  86800. <comment>SRSOFDM</comment>
  86801. </bits>
  86802. <bits access="rw" name="special_frame_start_curr" pos="15:12" rst="0">
  86803. <comment>SRSOFDM</comment>
  86804. </bits>
  86805. <bits access="rw" name="srs_zc_len_curr" pos="10:0" rst="0">
  86806. <comment>bit type is changed from r/w to rw.
  86807. SRSZC</comment>
  86808. </bits>
  86809. </reg>
  86810. <reg name="puc_map_cfg_curr1" protect="rw">
  86811. <bits access="rw" name="tx_fir_en_curr" pos="31" rst="0">
  86812. <comment>0TX
  86813. 1TX</comment>
  86814. </bits>
  86815. <bits access="rw" name="tx_nb_start2_curr" pos="30:24" rst="0">
  86816. <comment>2</comment>
  86817. </bits>
  86818. <bits access="rw" name="tx_nb_start1_curr" pos="22:16" rst="0">
  86819. <comment>1</comment>
  86820. </bits>
  86821. <bits access="rw" name="puc_map_start2_curr" pos="14:8" rst="0">
  86822. <comment>PUCCH</comment>
  86823. </bits>
  86824. <bits access="rw" name="puc_map_start1_curr" pos="6:0" rst="0">
  86825. <comment>PUCCH</comment>
  86826. </bits>
  86827. </reg>
  86828. <reg name="pus_map_cfg_curr1" protect="rw">
  86829. <bits access="rw" name="pus_map_sel_curr" pos="31" rst="0">
  86830. <comment>PUSCH
  86831. 00.5ms
  86832. 11ms</comment>
  86833. </bits>
  86834. <bits access="rw" name="pus_map_len2_curr" pos="30:24" rst="0">
  86835. <comment>PUSCH</comment>
  86836. </bits>
  86837. <bits access="rw" name="pus_map_len1_curr" pos="22:16" rst="0">
  86838. <comment>PUSCH</comment>
  86839. </bits>
  86840. <bits access="rw" name="pus_map_start2_curr" pos="14:8" rst="0">
  86841. <comment>PUSCH</comment>
  86842. </bits>
  86843. <bits access="rw" name="pus_map_start1_curr" pos="6:0" rst="0">
  86844. <comment>PUSCH</comment>
  86845. </bits>
  86846. </reg>
  86847. <reg name="hard_para_curr11" protect="rw">
  86848. <bits access="rw" name="pucpus_shortened_mode_curr" pos="14:11" rst="0">
  86849. <comment>PUSCH/PUCCH
  86850. 0000normal
  86851. 0001type0_shortend
  86852. 0010type1_shortend
  86853. 0011type2_shortend
  86854. 0100type3_shortend
  86855. 0101type4_shortend
  86856. 0110type5_shortend
  86857. 0111: type6_shortend
  86858. 1000: type7_shortend
  86859. 1001: other</comment>
  86860. </bits>
  86861. <bits access="rw" name="group_hop_flag_curr" pos="10" rst="0">
  86862. <comment>1u
  86863. 0u</comment>
  86864. </bits>
  86865. <bits access="rw" name="seq_hop_flag_curr" pos="9" rst="0">
  86866. <comment>1v
  86867. 0v</comment>
  86868. </bits>
  86869. <bits access="rw" name="ta_overlap_curr" pos="8:3" rst="0">
  86870. <comment>TA0~32</comment>
  86871. </bits>
  86872. <bits access="rw" name="cyclic_shift_field_curr" pos="2:0" rst="0">
  86873. <comment>dmrsValue0~7</comment>
  86874. </bits>
  86875. </reg>
  86876. <reg name="hard_para_curr21" protect="rw">
  86877. <bits access="rw" name="delta_apc_srs_curr" pos="31:16" rst="0">
  86878. <comment>SRSAPC</comment>
  86879. </bits>
  86880. <bits access="rw" name="delta_apc_scr_curr" pos="15:0" rst="0">
  86881. <comment>PUSCH/PUCCH/PRACHAPC</comment>
  86882. </bits>
  86883. </reg>
  86884. <reg name="hard_para_curr31" protect="rw">
  86885. <bits access="rw" name="n1_pucch_curr" pos="31:20" rst="0">
  86886. <comment>PUCCH1/1a/1b0~4095</comment>
  86887. </bits>
  86888. <bits access="rw" name="srs_cycle_shift_curr" pos="19:16" rst="0">
  86889. <comment>SRS</comment>
  86890. </bits>
  86891. <bits access="rw" name="subframe_slot_cnt_curr" pos="14:10" rst="0">
  86892. <comment>CAT1/CATM/CAT-NB15kHz1ms2CAT-NB3.75kHz2ms1</comment>
  86893. </bits>
  86894. <bits access="rw" name="nf_curr" pos="9:0" rst="0">
  86895. <comment>0~1023</comment>
  86896. </bits>
  86897. </reg>
  86898. <reg name="ofdm_offset_curr1" protect="rw">
  86899. <bits access="rw" name="ofdm_offset_last_curr" pos="31:16" rst="0">
  86900. <comment>OFDMoffset</comment>
  86901. </bits>
  86902. <bits access="rw" name="ofdm_offset_first_curr" pos="15:0" rst="0">
  86903. <comment>OFDMoffset</comment>
  86904. </bits>
  86905. </reg>
  86906. <reg name="dft_fft_inten_curr1" protect="rw">
  86907. <bits access="rw" name="err_inten_curr" pos="15" rst="0">
  86908. <comment>0ULDFTTXRXPUSCHERROR
  86909. 1ULDFTTXRXPUSCHERROR</comment>
  86910. </bits>
  86911. <bits access="rw" name="dma_inten_curr" pos="14" rst="0">
  86912. <comment>1AXIDMA
  86913. 0AXIDMA</comment>
  86914. </bits>
  86915. <bits access="rw" name="dft_fft_inten13_curr" pos="13" rst="0">
  86916. <comment>1OFDM13
  86917. 0OFDM13</comment>
  86918. </bits>
  86919. <bits access="rw" name="dft_fft_inten12_curr" pos="12" rst="0">
  86920. <comment>1OFDM12
  86921. 0OFDM12</comment>
  86922. </bits>
  86923. <bits access="rw" name="dft_fft_inten11_curr" pos="11" rst="0">
  86924. <comment>1OFDM11
  86925. 0OFDM11</comment>
  86926. </bits>
  86927. <bits access="rw" name="dft_fft_inten10_curr" pos="10" rst="0">
  86928. <comment>1OFDM10
  86929. 0OFDM10</comment>
  86930. </bits>
  86931. <bits access="rw" name="dft_fft_inten9_curr" pos="9" rst="0">
  86932. <comment>1OFDM9
  86933. 0OFDM9</comment>
  86934. </bits>
  86935. <bits access="rw" name="dft_fft_inten8_curr" pos="8" rst="0">
  86936. <comment>1OFDM8
  86937. 0OFDM8</comment>
  86938. </bits>
  86939. <bits access="rw" name="dft_fft_inten7_curr" pos="7" rst="0">
  86940. <comment>1OFDM7
  86941. 0OFDM7</comment>
  86942. </bits>
  86943. <bits access="rw" name="dft_fft_inten6_curr" pos="6" rst="0">
  86944. <comment>1OFDM6
  86945. 0OFDM6</comment>
  86946. </bits>
  86947. <bits access="rw" name="dft_fft_inten5_curr" pos="5" rst="0">
  86948. <comment>1OFDM5
  86949. 0OFDM5</comment>
  86950. </bits>
  86951. <bits access="rw" name="dft_fft_inten4_curr" pos="4" rst="0">
  86952. <comment>1OFDM4
  86953. 0OFDM4</comment>
  86954. </bits>
  86955. <bits access="rw" name="dft_fft_inten3_curr" pos="3" rst="0">
  86956. <comment>1OFDM3
  86957. 0OFDM3</comment>
  86958. </bits>
  86959. <bits access="rw" name="dft_fft_inten2_curr" pos="2" rst="0">
  86960. <comment>1OFDM2
  86961. 0OFDM2</comment>
  86962. </bits>
  86963. <bits access="rw" name="dft_fft_inten1_curr" pos="1" rst="0">
  86964. <comment>1OFDM1
  86965. 0OFDM1</comment>
  86966. </bits>
  86967. <bits access="rw" name="dft_fft_inten0_curr" pos="0" rst="0">
  86968. <comment>1OFDM0
  86969. 0OFDM0</comment>
  86970. </bits>
  86971. </reg>
  86972. <reg name="ofdm_zero_curr1" protect="rw">
  86973. <bits access="rw" name="ofdm_zero_curr" pos="13:0" rst="0">
  86974. <comment>OFDM
  86975. 14b0
  86976. 14b10
  86977. 14b1101
  86978. 14b111012</comment>
  86979. </bits>
  86980. </reg>
  86981. <reg name="dft_fft_ctrl_curr1" protect="rw">
  86982. <bits access="rw" name="dftfft_soft_start" pos="30" rst="0">
  86983. <comment>0ULDFT
  86984. 1ULDFT</comment>
  86985. </bits>
  86986. <bits access="rw" name="dft_trig_mode" pos="29" rst="0">
  86987. <comment>0ULDFT
  86988. 1ULDFTPUSCH</comment>
  86989. </bits>
  86990. <bits access="rw" name="launch_en_curr" pos="28" rst="0">
  86991. <comment>0
  86992. 1</comment>
  86993. </bits>
  86994. <bits access="rw" name="srs_en_curr" pos="27" rst="0">
  86995. <comment>0SRS
  86996. 1SRS</comment>
  86997. </bits>
  86998. <bits access="rw" name="clear_en_curr" pos="26" rst="0">
  86999. <comment>0FFTMEM
  87000. 1FFTMEM</comment>
  87001. </bits>
  87002. <bits access="rw" name="fft_ifft_sel_curr" pos="25" rst="0">
  87003. <comment>1IFFT
  87004. 0FFT</comment>
  87005. </bits>
  87006. <bits access="rw" name="fft_cal_curr" pos="24" rst="0">
  87007. <comment>1FFT/IFFT
  87008. 0FFT/IFFT</comment>
  87009. </bits>
  87010. <bits access="rw" name="pwradj_en_curr" pos="23" rst="0">
  87011. <comment>0
  87012. 1</comment>
  87013. </bits>
  87014. <bits access="rw" name="prach_format_sel_curr" pos="22:20" rst="0">
  87015. <comment>PRACH
  87016. 000PRACH0
  87017. 001PRACH1
  87018. 010PRACH2
  87019. 011PRACH3
  87020. 100PRACH4</comment>
  87021. </bits>
  87022. <bits access="rw" name="pucch_format_sel_curr" pos="19:17" rst="0">
  87023. <comment>PUCCH
  87024. 000PUCCH1
  87025. 001PUCCH1a
  87026. 010PUCCH1b
  87027. 011PUCCH2
  87028. 100PUCCH2a
  87029. 101PUCCH2b</comment>
  87030. </bits>
  87031. <bits access="rw" name="npusch_formatsel_curr" pos="16" rst="0">
  87032. <comment>0NPUSCH format 1
  87033. 1NPUSCH format2</comment>
  87034. </bits>
  87035. <bits access="rw" name="ofdm_num_curr" pos="15:12" rst="0">
  87036. <comment>OFDM</comment>
  87037. </bits>
  87038. <bits access="rw" name="datadrive_en_curr" pos="10" rst="0">
  87039. <comment>0DATADRIVE
  87040. 1DATADRIVE</comment>
  87041. </bits>
  87042. <bits access="rw" name="pus_buf_sel_curr" pos="9:8" rst="0">
  87043. <comment>UL_DFTPUSCH BUFFER
  87044. 00PUSCH BUFFER1
  87045. 01PUSCH BUFFER2
  87046. 10PUSCH BUFFER3
  87047. 11PUSCH PRA_BUF</comment>
  87048. </bits>
  87049. <bits access="rw" name="chan_mode_curr" pos="6:4" rst="0">
  87050. <comment>000PUSCH
  87051. 001PUCCH
  87052. 010PRACH
  87053. 011SRS
  87054. 100NPUSCH
  87055. 101NPRACH</comment>
  87056. </bits>
  87057. <bits access="rw" name="fft_npts" pos="3:1" rst="0">
  87058. <comment>FFT/IFFT
  87059. 111
  87060. 110
  87061. 101
  87062. 1002048
  87063. 0111024
  87064. 010512
  87065. 001256
  87066. 000128</comment>
  87067. </bits>
  87068. <bits access="rw" name="dftfft_irqen_curr" pos="0" rst="0">
  87069. <comment>0:
  87070. 1:</comment>
  87071. </bits>
  87072. </reg>
  87073. <reg name="fft_lnum_srs_curr1" protect="rw">
  87074. <bits access="rw" name="fft_lnum11_srs_curr" pos="21:20" rst="0">
  87075. <comment>FFT
  87076. 2b0025~14bit
  87077. 2b0126~15bit
  87078. 2b1027~16bit
  87079. 2b1128~17bit</comment>
  87080. </bits>
  87081. <bits access="rw" name="fft_lnum10_srs_curr" pos="19:18" rst="0">
  87082. <comment>FFT
  87083. 2b0025~14bit
  87084. 2b0126~15bit
  87085. 2b1027~16bit
  87086. 2b1128~17bit</comment>
  87087. </bits>
  87088. <bits access="rw" name="fft_lnum9_srs_curr" pos="17:16" rst="0">
  87089. <comment>FFT
  87090. 2b0025~14bit
  87091. 2b0126~15bit
  87092. 2b1027~16bit
  87093. 2b1128~17bit</comment>
  87094. </bits>
  87095. <bits access="rw" name="fft_lnum8_srs_curr" pos="15:14" rst="0">
  87096. <comment>FFT
  87097. 2b0025~14bit
  87098. 2b0126~15bit
  87099. 2b1027~16bit
  87100. 2b1128~17bit</comment>
  87101. </bits>
  87102. <bits access="rw" name="fft_lnum7_srs_curr" pos="13:12" rst="0">
  87103. <comment>FFT
  87104. 2b0025~14bit
  87105. 2b0126~15bit
  87106. 2b1027~16bit
  87107. 2b1128~17bit</comment>
  87108. </bits>
  87109. <bits access="rw" name="fft_lnum6_srs_curr" pos="11:10" rst="0">
  87110. <comment>FFT
  87111. 2b0025~14bit
  87112. 2b0126~15bit
  87113. 2b1027~16bit
  87114. 2b1128~17bit</comment>
  87115. </bits>
  87116. <bits access="rw" name="fft_lnum5_srs_curr" pos="9:8" rst="0">
  87117. <comment>FFT
  87118. 2b0025~14bit
  87119. 2b0126~15bit
  87120. 2b1027~16bit
  87121. 2b1128~17bit</comment>
  87122. </bits>
  87123. <bits access="rw" name="fft_lnum4_srs_curr" pos="7:6" rst="0">
  87124. <comment>FFT
  87125. 2b0025~14bit
  87126. 2b0126~15bit
  87127. 2b1027~16bit
  87128. 2b1128~17bit</comment>
  87129. </bits>
  87130. <bits access="rw" name="fft_lnum3_srs_curr" pos="5:4" rst="0">
  87131. <comment>FFT
  87132. 2b0025~14bit
  87133. 2b0126~15bit
  87134. 2b1027~16bit
  87135. 2b1128~17bit</comment>
  87136. </bits>
  87137. <bits access="rw" name="fft_lnum2_srs_curr" pos="3:2" rst="0">
  87138. <comment>FFT
  87139. 2b0025~14bit
  87140. 2b0126~15bit
  87141. 2b1027~16bit
  87142. 2b1128~17bit</comment>
  87143. </bits>
  87144. <bits access="rw" name="fft_lnum1_srs_curr" pos="1:0" rst="0">
  87145. <comment>FFT
  87146. 2b0025~14bit
  87147. 2b0126~15bit
  87148. 2b1027~16bit
  87149. 2b1128~17bit</comment>
  87150. </bits>
  87151. </reg>
  87152. <reg name="fft_lnum_scr_curr1" protect="rw">
  87153. <bits access="rw" name="fft_lnum11_scr_curr" pos="21:20" rst="0">
  87154. <comment>FFT
  87155. 2b0025~14bit
  87156. 2b0126~15bit
  87157. 2b1027~16bit
  87158. 2b1128~17bit</comment>
  87159. </bits>
  87160. <bits access="rw" name="fft_lnum10_scr_curr" pos="19:18" rst="0">
  87161. <comment>FFT
  87162. 2b0025~14bit
  87163. 2b0126~15bit
  87164. 2b1027~16bit
  87165. 2b1128~17bit</comment>
  87166. </bits>
  87167. <bits access="rw" name="fft_lnum9_scr_curr" pos="17:16" rst="0">
  87168. <comment>FFT
  87169. 2b0025~14bit
  87170. 2b0126~15bit
  87171. 2b1027~16bit
  87172. 2b1128~17bit</comment>
  87173. </bits>
  87174. <bits access="rw" name="fft_lnum8_scr_curr" pos="15:14" rst="0">
  87175. <comment>FFT
  87176. 2b0025~14bit
  87177. 2b0126~15bit
  87178. 2b1027~16bit
  87179. 2b1128~17bit</comment>
  87180. </bits>
  87181. <bits access="rw" name="fft_lnum7_scr_curr" pos="13:12" rst="0">
  87182. <comment>FFT
  87183. 2b0025~14bit
  87184. 2b0126~15bit
  87185. 2b1027~16bit
  87186. 2b1128~17bit</comment>
  87187. </bits>
  87188. <bits access="rw" name="fft_lnum6_scr_curr" pos="11:10" rst="0">
  87189. <comment>FFT
  87190. 2b0025~14bit
  87191. 2b0126~15bit
  87192. 2b1027~16bit
  87193. 2b1128~17bit</comment>
  87194. </bits>
  87195. <bits access="rw" name="fft_lnum5_scr_curr" pos="9:8" rst="0">
  87196. <comment>FFT
  87197. 2b0025~14bit
  87198. 2b0126~15bit
  87199. 2b1027~16bit
  87200. 2b1128~17bit</comment>
  87201. </bits>
  87202. <bits access="rw" name="fft_lnum4_scr_curr" pos="7:6" rst="0">
  87203. <comment>FFT
  87204. 2b0025~14bit
  87205. 2b0126~15bit
  87206. 2b1027~16bit
  87207. 2b1128~17bit</comment>
  87208. </bits>
  87209. <bits access="rw" name="fft_lnum3_scr_curr" pos="5:4" rst="0">
  87210. <comment>FFT
  87211. 2b0025~14bit
  87212. 2b0126~15bit
  87213. 2b1027~16bit
  87214. 2b1128~17bit</comment>
  87215. </bits>
  87216. <bits access="rw" name="fft_lnum2_scr_curr" pos="3:2" rst="0">
  87217. <comment>FFT
  87218. 2b0025~14bit
  87219. 2b0126~15bit
  87220. 2b1027~16bit
  87221. 2b1128~17bit</comment>
  87222. </bits>
  87223. <bits access="rw" name="fft_lnum1_scr_curr" pos="1:0" rst="0">
  87224. <comment>FFT
  87225. 2b0025~14bit
  87226. 2b0126~15bit
  87227. 2b1027~16bit
  87228. 2b1128~17bit</comment>
  87229. </bits>
  87230. </reg>
  87231. <reg name="npus_map_cfg_curr1" protect="rw">
  87232. <bits access="rw" name="npus_rep_cnt_curr" pos="23:17" rst="0">
  87233. <comment>NPUSCH0~127</comment>
  87234. </bits>
  87235. <bits access="rw" name="n_ru_sc_curr" pos="16:15" rst="0">
  87236. <comment>001
  87237. 013
  87238. 106
  87239. 1112</comment>
  87240. </bits>
  87241. <bits access="rw" name="isc_start_index_curr" pos="14:9" rst="0">
  87242. <comment>NPUSCH 0~47</comment>
  87243. </bits>
  87244. <bits access="rw" name="n_slot_cnt_curr" pos="8:1" rst="0">
  87245. <comment>Nslots1~160</comment>
  87246. </bits>
  87247. <bits access="rw" name="npus_sub_space_curr" pos="0" rst="0">
  87248. <comment>0: 3.75KHz
  87249. 1: 15KHz</comment>
  87250. </bits>
  87251. </reg>
  87252. <reg name="npus_dmrs_cfg_curr1" protect="rw">
  87253. <bits access="rw" name="first_ru_slot_curr" pos="26:22" rst="0">
  87254. <comment>RU0~19</comment>
  87255. </bits>
  87256. <bits access="rw" name="slot_n_curr" pos="21:7" rst="0">
  87257. <comment>1DMRS0~20480</comment>
  87258. </bits>
  87259. <bits access="rw" name="base_seq_curr" pos="6:2" rst="0">
  87260. <comment>BASE_SEQ_CURR0~30</comment>
  87261. </bits>
  87262. <bits access="rw" name="cyclic_shift_curr" pos="1:0" rst="0">
  87263. <comment>CYCLIC_SHIFT0~3</comment>
  87264. </bits>
  87265. </reg>
  87266. <reg name="npra_cfg_curr1" protect="rw">
  87267. <bits access="rw" name="sym_group_rep_cnt_curr" pos="16:9" rst="0">
  87268. <comment>t0~128</comment>
  87269. </bits>
  87270. <bits access="rw" name="nprach_sc_offset_curr" pos="8:6" rst="0">
  87271. <comment>frequency location of the first sub-carrier allocated to NPRACH
  87272. 000frequency location0
  87273. 001frequency location2
  87274. 010frequency location12
  87275. 011frequency location18
  87276. 100frequency location24
  87277. 101frequency location34
  87278. 110frequency location36
  87279. 1110</comment>
  87280. </bits>
  87281. <bits access="rw" name="init_sc_curr" pos="5:0" rst="0">
  87282. <comment>being the subcarrier selected by the MAC layer from 0-47</comment>
  87283. </bits>
  87284. </reg>
  87285. <reg name="dft_ctrl_curr2" protect="rw">
  87286. <bits access="rw" name="dft_npts_curr" pos="10:5" rst="0">
  87287. <comment>bit type is changed from r/w to rw.
  87288. DFT/IDFTindex0~4344index</comment>
  87289. </bits>
  87290. <bits access="rw" name="pus_modu_sel_curr" pos="4:3" rst="0">
  87291. <comment>bit type is changed from r/w to rw.
  87292. 00: BPSK
  87293. 01: QPSK
  87294. 10: 16QAM
  87295. 11: 64QAM</comment>
  87296. </bits>
  87297. <bits access="rw" name="dft_en_curr" pos="2" rst="0">
  87298. <comment>bit type is changed from r/w to rw.
  87299. 0DFT/IDFT
  87300. 1DFT/IDFT</comment>
  87301. </bits>
  87302. <bits access="rw" name="pus_mod_en_curr" pos="1" rst="0">
  87303. <comment>bit type is changed from r/w to rw.
  87304. 0PUSCH
  87305. 1PUSCH</comment>
  87306. </bits>
  87307. <bits access="rw" name="dft_idft_sel_curr" pos="0" rst="0">
  87308. <comment>bit type is changed from r/w to rw.
  87309. 0: DFT
  87310. 1: IDFT</comment>
  87311. </bits>
  87312. </reg>
  87313. <reg name="puc_mod_data_curr2" protect="rw">
  87314. <bits access="rw" name="puc_mod_data_curr" pos="21:0" rst="0">
  87315. <comment>bit type is changed from r/w to rw.
  87316. PUCCHd(n)</comment>
  87317. </bits>
  87318. </reg>
  87319. <reg name="srs_map_cfg_curr2" protect="rw">
  87320. <bits access="rw" name="k_tc_num_curr" pos="26" rst="0">
  87321. <comment>SRS
  87322. 021
  87323. 143</comment>
  87324. </bits>
  87325. <bits access="rw" name="k_tc_curr" pos="25:24" rst="0">
  87326. <comment>bit type is changed from r/w to rw.
  87327. 000
  87328. 011
  87329. 102
  87330. 113</comment>
  87331. </bits>
  87332. <bits access="rw" name="srs_map_len_curr" pos="22:16" rst="0">
  87333. <comment>bit type is changed from r/w to rw.
  87334. SRS</comment>
  87335. </bits>
  87336. <bits access="rw" name="srs_map_start2_curr" pos="14:8" rst="0">
  87337. <comment>bit type is changed from r/w to rw.
  87338. SRS</comment>
  87339. </bits>
  87340. <bits access="rw" name="srs_map_start1_curr" pos="6:0" rst="0">
  87341. <comment>bit type is changed from r/w to rw.
  87342. SRS</comment>
  87343. </bits>
  87344. </reg>
  87345. <reg name="srs_zc_len_curr2" protect="rw">
  87346. <bits access="rw" name="srs_num_curr" pos="24" rst="0">
  87347. <comment>0SRS1
  87348. 1SRS2</comment>
  87349. </bits>
  87350. <bits access="rw" name="srs_map_ofdm2_curr" pos="23:20" rst="0">
  87351. <comment>SRSOFDM</comment>
  87352. </bits>
  87353. <bits access="rw" name="sra_map_ofdm1_curr" pos="19:16" rst="0">
  87354. <comment>SRSOFDM</comment>
  87355. </bits>
  87356. <bits access="rw" name="special_frame_start_curr" pos="15:12" rst="0">
  87357. <comment>SRSOFDM</comment>
  87358. </bits>
  87359. <bits access="rw" name="srs_zc_len_curr" pos="10:0" rst="0">
  87360. <comment>bit type is changed from r/w to rw.
  87361. SRSZC</comment>
  87362. </bits>
  87363. </reg>
  87364. <reg name="puc_map_cfg_curr2" protect="rw">
  87365. <bits access="rw" name="tx_fir_en_curr" pos="31" rst="0">
  87366. <comment>0TX
  87367. 1TX</comment>
  87368. </bits>
  87369. <bits access="rw" name="tx_nb_start2_curr" pos="30:24" rst="0">
  87370. <comment>2</comment>
  87371. </bits>
  87372. <bits access="rw" name="tx_nb_start1_curr" pos="22:16" rst="0">
  87373. <comment>1</comment>
  87374. </bits>
  87375. <bits access="rw" name="puc_map_start2_curr" pos="14:8" rst="0">
  87376. <comment>PUCCH</comment>
  87377. </bits>
  87378. <bits access="rw" name="puc_map_start1_curr" pos="6:0" rst="0">
  87379. <comment>PUCCH</comment>
  87380. </bits>
  87381. </reg>
  87382. <reg name="pus_map_cfg_curr2" protect="rw">
  87383. <bits access="rw" name="pus_map_sel_curr" pos="31" rst="0">
  87384. <comment>PUSCH
  87385. 00.5ms
  87386. 11ms</comment>
  87387. </bits>
  87388. <bits access="rw" name="pus_map_len2_curr" pos="30:24" rst="0">
  87389. <comment>PUSCH</comment>
  87390. </bits>
  87391. <bits access="rw" name="pus_map_len1_curr" pos="22:16" rst="0">
  87392. <comment>PUSCH</comment>
  87393. </bits>
  87394. <bits access="rw" name="pus_map_start2_curr" pos="14:8" rst="0">
  87395. <comment>PUSCH</comment>
  87396. </bits>
  87397. <bits access="rw" name="pus_map_start1_curr" pos="6:0" rst="0">
  87398. <comment>PUSCH</comment>
  87399. </bits>
  87400. </reg>
  87401. <reg name="hard_para_curr12" protect="rw">
  87402. <bits access="rw" name="pucpus_shortened_mode_curr" pos="14:11" rst="0">
  87403. <comment>PUSCH/PUCCH
  87404. 0000normal
  87405. 0001type0_shortend
  87406. 0010type1_shortend
  87407. 0011type2_shortend
  87408. 0100type3_shortend
  87409. 0101type4_shortend
  87410. 0110type5_shortend
  87411. 0111: type6_shortend
  87412. 1000: type7_shortend
  87413. 1001: other</comment>
  87414. </bits>
  87415. <bits access="rw" name="group_hop_flag_curr" pos="10" rst="0">
  87416. <comment>1u
  87417. 0u</comment>
  87418. </bits>
  87419. <bits access="rw" name="seq_hop_flag_curr" pos="9" rst="0">
  87420. <comment>1v
  87421. 0v</comment>
  87422. </bits>
  87423. <bits access="rw" name="ta_overlap_curr" pos="8:3" rst="0">
  87424. <comment>TA0~32</comment>
  87425. </bits>
  87426. <bits access="rw" name="cyclic_shift_field_curr" pos="2:0" rst="0">
  87427. <comment>dmrsValue0~7</comment>
  87428. </bits>
  87429. </reg>
  87430. <reg name="hard_para_curr22" protect="rw">
  87431. <bits access="rw" name="delta_apc_srs_curr" pos="31:16" rst="0">
  87432. <comment>SRSAPC</comment>
  87433. </bits>
  87434. <bits access="rw" name="delta_apc_scr_curr" pos="15:0" rst="0">
  87435. <comment>PUSCH/PUCCH/PRACHAPC</comment>
  87436. </bits>
  87437. </reg>
  87438. <reg name="hard_para_curr32" protect="rw">
  87439. <bits access="rw" name="n1_pucch_curr" pos="31:20" rst="0">
  87440. <comment>PUCCH1/1a/1b0~4095</comment>
  87441. </bits>
  87442. <bits access="rw" name="srs_cycle_shift_curr" pos="19:16" rst="0">
  87443. <comment>SRS</comment>
  87444. </bits>
  87445. <bits access="rw" name="subframe_slot_cnt_curr" pos="14:10" rst="0">
  87446. <comment>CAT1/CATM/CAT-NB15kHz1ms2CAT-NB3.75kHz2ms1</comment>
  87447. </bits>
  87448. <bits access="rw" name="nf_curr" pos="9:0" rst="0">
  87449. <comment>0~1023</comment>
  87450. </bits>
  87451. </reg>
  87452. <reg name="ofdm_offset_curr2" protect="rw">
  87453. <bits access="rw" name="ofdm_offset_last_curr" pos="31:16" rst="0">
  87454. <comment>OFDMoffset</comment>
  87455. </bits>
  87456. <bits access="rw" name="ofdm_offset_first_curr" pos="15:0" rst="0">
  87457. <comment>OFDMoffset</comment>
  87458. </bits>
  87459. </reg>
  87460. <reg name="dft_fft_inten_curr2" protect="rw">
  87461. <bits access="rw" name="err_inten_curr" pos="15" rst="0">
  87462. <comment>0ULDFTTXRXPUSCHERROR
  87463. 1ULDFTTXRXPUSCHERROR</comment>
  87464. </bits>
  87465. <bits access="rw" name="dma_inten_curr" pos="14" rst="0">
  87466. <comment>1AXIDMA
  87467. 0AXIDMA</comment>
  87468. </bits>
  87469. <bits access="rw" name="dft_fft_inten13_curr" pos="13" rst="0">
  87470. <comment>1OFDM13
  87471. 0OFDM13</comment>
  87472. </bits>
  87473. <bits access="rw" name="dft_fft_inten12_curr" pos="12" rst="0">
  87474. <comment>1OFDM12
  87475. 0OFDM12</comment>
  87476. </bits>
  87477. <bits access="rw" name="dft_fft_inten11_curr" pos="11" rst="0">
  87478. <comment>1OFDM11
  87479. 0OFDM11</comment>
  87480. </bits>
  87481. <bits access="rw" name="dft_fft_inten10_curr" pos="10" rst="0">
  87482. <comment>1OFDM10
  87483. 0OFDM10</comment>
  87484. </bits>
  87485. <bits access="rw" name="dft_fft_inten9_curr" pos="9" rst="0">
  87486. <comment>1OFDM9
  87487. 0OFDM9</comment>
  87488. </bits>
  87489. <bits access="rw" name="dft_fft_inten8_curr" pos="8" rst="0">
  87490. <comment>1OFDM8
  87491. 0OFDM8</comment>
  87492. </bits>
  87493. <bits access="rw" name="dft_fft_inten7_curr" pos="7" rst="0">
  87494. <comment>1OFDM7
  87495. 0OFDM7</comment>
  87496. </bits>
  87497. <bits access="rw" name="dft_fft_inten6_curr" pos="6" rst="0">
  87498. <comment>1OFDM6
  87499. 0OFDM6</comment>
  87500. </bits>
  87501. <bits access="rw" name="dft_fft_inten5_curr" pos="5" rst="0">
  87502. <comment>1OFDM5
  87503. 0OFDM5</comment>
  87504. </bits>
  87505. <bits access="rw" name="dft_fft_inten4_curr" pos="4" rst="0">
  87506. <comment>1OFDM4
  87507. 0OFDM4</comment>
  87508. </bits>
  87509. <bits access="rw" name="dft_fft_inten3_curr" pos="3" rst="0">
  87510. <comment>1OFDM3
  87511. 0OFDM3</comment>
  87512. </bits>
  87513. <bits access="rw" name="dft_fft_inten2_curr" pos="2" rst="0">
  87514. <comment>1OFDM2
  87515. 0OFDM2</comment>
  87516. </bits>
  87517. <bits access="rw" name="dft_fft_inten1_curr" pos="1" rst="0">
  87518. <comment>1OFDM1
  87519. 0OFDM1</comment>
  87520. </bits>
  87521. <bits access="rw" name="dft_fft_inten0_curr" pos="0" rst="0">
  87522. <comment>1OFDM0
  87523. 0OFDM0</comment>
  87524. </bits>
  87525. </reg>
  87526. <reg name="ofdm_zero_curr2" protect="rw">
  87527. <bits access="rw" name="ofdm_zero_curr" pos="13:0" rst="0">
  87528. <comment>OFDM
  87529. 14b0
  87530. 14b10
  87531. 14b1101
  87532. 14b111012</comment>
  87533. </bits>
  87534. </reg>
  87535. <reg name="dft_fft_ctrl_curr2" protect="rw">
  87536. <bits access="rw" name="dftfft_soft_start" pos="30" rst="0">
  87537. <comment>0ULDFT
  87538. 1ULDFT</comment>
  87539. </bits>
  87540. <bits access="rw" name="dft_trig_mode" pos="29" rst="0">
  87541. <comment>0ULDFT
  87542. 1ULDFTPUSCH</comment>
  87543. </bits>
  87544. <bits access="rw" name="launch_en_curr" pos="28" rst="0">
  87545. <comment>0
  87546. 1</comment>
  87547. </bits>
  87548. <bits access="rw" name="srs_en_curr" pos="27" rst="0">
  87549. <comment>0SRS
  87550. 1SRS</comment>
  87551. </bits>
  87552. <bits access="rw" name="clear_en_curr" pos="26" rst="0">
  87553. <comment>0FFTMEM
  87554. 1FFTMEM</comment>
  87555. </bits>
  87556. <bits access="rw" name="fft_ifft_sel_curr" pos="25" rst="0">
  87557. <comment>1IFFT
  87558. 0FFT</comment>
  87559. </bits>
  87560. <bits access="rw" name="fft_cal_curr" pos="24" rst="0">
  87561. <comment>1FFT/IFFT
  87562. 0FFT/IFFT</comment>
  87563. </bits>
  87564. <bits access="rw" name="pwradj_en_curr" pos="23" rst="0">
  87565. <comment>0
  87566. 1</comment>
  87567. </bits>
  87568. <bits access="rw" name="prach_format_sel_curr" pos="22:20" rst="0">
  87569. <comment>PRACH
  87570. 000PRACH0
  87571. 001PRACH1
  87572. 010PRACH2
  87573. 011PRACH3
  87574. 100PRACH4</comment>
  87575. </bits>
  87576. <bits access="rw" name="pucch_format_sel_curr" pos="19:17" rst="0">
  87577. <comment>PUCCH
  87578. 000PUCCH1
  87579. 001PUCCH1a
  87580. 010PUCCH1b
  87581. 011PUCCH2
  87582. 100PUCCH2a
  87583. 101PUCCH2b</comment>
  87584. </bits>
  87585. <bits access="rw" name="npusch_formatsel_curr" pos="16" rst="0">
  87586. <comment>0NPUSCH format 1
  87587. 1NPUSCH format2</comment>
  87588. </bits>
  87589. <bits access="rw" name="ofdm_num_curr" pos="15:12" rst="0">
  87590. <comment>OFDM</comment>
  87591. </bits>
  87592. <bits access="rw" name="datadrive_en_curr" pos="10" rst="0">
  87593. <comment>0DATADRIVE
  87594. 1DATADRIVE</comment>
  87595. </bits>
  87596. <bits access="rw" name="pus_buf_sel_curr" pos="9:8" rst="0">
  87597. <comment>UL_DFTPUSCH BUFFER
  87598. 00PUSCH BUFFER1
  87599. 01PUSCH BUFFER2
  87600. 10PUSCH BUFFER3
  87601. 11PUSCH PRA_BUF</comment>
  87602. </bits>
  87603. <bits access="rw" name="chan_mode_curr" pos="6:4" rst="0">
  87604. <comment>000PUSCH
  87605. 001PUCCH
  87606. 010PRACH
  87607. 011SRS
  87608. 100NPUSCH
  87609. 101NPRACH</comment>
  87610. </bits>
  87611. <bits access="rw" name="fft_npts" pos="3:1" rst="0">
  87612. <comment>FFT/IFFT
  87613. 111
  87614. 110
  87615. 101
  87616. 1002048
  87617. 0111024
  87618. 010512
  87619. 001256
  87620. 000128</comment>
  87621. </bits>
  87622. <bits access="rw" name="dftfft_irqen_curr" pos="0" rst="0">
  87623. <comment>0:
  87624. 1:</comment>
  87625. </bits>
  87626. </reg>
  87627. <reg name="fft_lnum_srs_curr2" protect="rw">
  87628. <bits access="rw" name="fft_lnum11_srs_curr" pos="21:20" rst="0">
  87629. <comment>FFT
  87630. 2b0025~14bit
  87631. 2b0126~15bit
  87632. 2b1027~16bit
  87633. 2b1128~17bit</comment>
  87634. </bits>
  87635. <bits access="rw" name="fft_lnum10_srs_curr" pos="19:18" rst="0">
  87636. <comment>FFT
  87637. 2b0025~14bit
  87638. 2b0126~15bit
  87639. 2b1027~16bit
  87640. 2b1128~17bit</comment>
  87641. </bits>
  87642. <bits access="rw" name="fft_lnum9_srs_curr" pos="17:16" rst="0">
  87643. <comment>FFT
  87644. 2b0025~14bit
  87645. 2b0126~15bit
  87646. 2b1027~16bit
  87647. 2b1128~17bit</comment>
  87648. </bits>
  87649. <bits access="rw" name="fft_lnum8_srs_curr" pos="15:14" rst="0">
  87650. <comment>FFT
  87651. 2b0025~14bit
  87652. 2b0126~15bit
  87653. 2b1027~16bit
  87654. 2b1128~17bit</comment>
  87655. </bits>
  87656. <bits access="rw" name="fft_lnum7_srs_curr" pos="13:12" rst="0">
  87657. <comment>FFT
  87658. 2b0025~14bit
  87659. 2b0126~15bit
  87660. 2b1027~16bit
  87661. 2b1128~17bit</comment>
  87662. </bits>
  87663. <bits access="rw" name="fft_lnum6_srs_curr" pos="11:10" rst="0">
  87664. <comment>FFT
  87665. 2b0025~14bit
  87666. 2b0126~15bit
  87667. 2b1027~16bit
  87668. 2b1128~17bit</comment>
  87669. </bits>
  87670. <bits access="rw" name="fft_lnum5_srs_curr" pos="9:8" rst="0">
  87671. <comment>FFT
  87672. 2b0025~14bit
  87673. 2b0126~15bit
  87674. 2b1027~16bit
  87675. 2b1128~17bit</comment>
  87676. </bits>
  87677. <bits access="rw" name="fft_lnum4_srs_curr" pos="7:6" rst="0">
  87678. <comment>FFT
  87679. 2b0025~14bit
  87680. 2b0126~15bit
  87681. 2b1027~16bit
  87682. 2b1128~17bit</comment>
  87683. </bits>
  87684. <bits access="rw" name="fft_lnum3_srs_curr" pos="5:4" rst="0">
  87685. <comment>FFT
  87686. 2b0025~14bit
  87687. 2b0126~15bit
  87688. 2b1027~16bit
  87689. 2b1128~17bit</comment>
  87690. </bits>
  87691. <bits access="rw" name="fft_lnum2_srs_curr" pos="3:2" rst="0">
  87692. <comment>FFT
  87693. 2b0025~14bit
  87694. 2b0126~15bit
  87695. 2b1027~16bit
  87696. 2b1128~17bit</comment>
  87697. </bits>
  87698. <bits access="rw" name="fft_lnum1_srs_curr" pos="1:0" rst="0">
  87699. <comment>FFT
  87700. 2b0025~14bit
  87701. 2b0126~15bit
  87702. 2b1027~16bit
  87703. 2b1128~17bit</comment>
  87704. </bits>
  87705. </reg>
  87706. <reg name="fft_lnum_scr_curr2" protect="rw">
  87707. <bits access="rw" name="fft_lnum11_scr_curr" pos="21:20" rst="0">
  87708. <comment>FFT
  87709. 2b0025~14bit
  87710. 2b0126~15bit
  87711. 2b1027~16bit
  87712. 2b1128~17bit</comment>
  87713. </bits>
  87714. <bits access="rw" name="fft_lnum10_scr_curr" pos="19:18" rst="0">
  87715. <comment>FFT
  87716. 2b0025~14bit
  87717. 2b0126~15bit
  87718. 2b1027~16bit
  87719. 2b1128~17bit</comment>
  87720. </bits>
  87721. <bits access="rw" name="fft_lnum9_scr_curr" pos="17:16" rst="0">
  87722. <comment>FFT
  87723. 2b0025~14bit
  87724. 2b0126~15bit
  87725. 2b1027~16bit
  87726. 2b1128~17bit</comment>
  87727. </bits>
  87728. <bits access="rw" name="fft_lnum8_scr_curr" pos="15:14" rst="0">
  87729. <comment>FFT
  87730. 2b0025~14bit
  87731. 2b0126~15bit
  87732. 2b1027~16bit
  87733. 2b1128~17bit</comment>
  87734. </bits>
  87735. <bits access="rw" name="fft_lnum7_scr_curr" pos="13:12" rst="0">
  87736. <comment>FFT
  87737. 2b0025~14bit
  87738. 2b0126~15bit
  87739. 2b1027~16bit
  87740. 2b1128~17bit</comment>
  87741. </bits>
  87742. <bits access="rw" name="fft_lnum6_scr_curr" pos="11:10" rst="0">
  87743. <comment>FFT
  87744. 2b0025~14bit
  87745. 2b0126~15bit
  87746. 2b1027~16bit
  87747. 2b1128~17bit</comment>
  87748. </bits>
  87749. <bits access="rw" name="fft_lnum5_scr_curr" pos="9:8" rst="0">
  87750. <comment>FFT
  87751. 2b0025~14bit
  87752. 2b0126~15bit
  87753. 2b1027~16bit
  87754. 2b1128~17bit</comment>
  87755. </bits>
  87756. <bits access="rw" name="fft_lnum4_scr_curr" pos="7:6" rst="0">
  87757. <comment>FFT
  87758. 2b0025~14bit
  87759. 2b0126~15bit
  87760. 2b1027~16bit
  87761. 2b1128~17bit</comment>
  87762. </bits>
  87763. <bits access="rw" name="fft_lnum3_scr_curr" pos="5:4" rst="0">
  87764. <comment>FFT
  87765. 2b0025~14bit
  87766. 2b0126~15bit
  87767. 2b1027~16bit
  87768. 2b1128~17bit</comment>
  87769. </bits>
  87770. <bits access="rw" name="fft_lnum2_scr_curr" pos="3:2" rst="0">
  87771. <comment>FFT
  87772. 2b0025~14bit
  87773. 2b0126~15bit
  87774. 2b1027~16bit
  87775. 2b1128~17bit</comment>
  87776. </bits>
  87777. <bits access="rw" name="fft_lnum1_scr_curr" pos="1:0" rst="0">
  87778. <comment>FFT
  87779. 2b0025~14bit
  87780. 2b0126~15bit
  87781. 2b1027~16bit
  87782. 2b1128~17bit</comment>
  87783. </bits>
  87784. </reg>
  87785. <reg name="npus_map_cfg_curr2" protect="rw">
  87786. <bits access="rw" name="npus_rep_cnt_curr" pos="23:17" rst="0">
  87787. <comment>NPUSCH0~127</comment>
  87788. </bits>
  87789. <bits access="rw" name="n_ru_sc_curr" pos="16:15" rst="0">
  87790. <comment>001
  87791. 013
  87792. 106
  87793. 1112</comment>
  87794. </bits>
  87795. <bits access="rw" name="isc_start_index_curr" pos="14:9" rst="0">
  87796. <comment>NPUSCH 0~47</comment>
  87797. </bits>
  87798. <bits access="rw" name="n_slot_cnt_curr" pos="8:1" rst="0">
  87799. <comment>Nslots1~160</comment>
  87800. </bits>
  87801. <bits access="rw" name="npus_sub_space_curr" pos="0" rst="0">
  87802. <comment>0: 3.75KHz
  87803. 1: 15KHz</comment>
  87804. </bits>
  87805. </reg>
  87806. <reg name="npus_dmrs_cfg_curr2" protect="rw">
  87807. <bits access="rw" name="first_ru_slot_curr" pos="26:22" rst="0">
  87808. <comment>RU0~19</comment>
  87809. </bits>
  87810. <bits access="rw" name="slot_n_curr" pos="21:7" rst="0">
  87811. <comment>1DMRS0~20480</comment>
  87812. </bits>
  87813. <bits access="rw" name="base_seq_curr" pos="6:2" rst="0">
  87814. <comment>BASE_SEQ_CURR0~30</comment>
  87815. </bits>
  87816. <bits access="rw" name="cyclic_shift_curr" pos="1:0" rst="0">
  87817. <comment>CYCLIC_SHIFT0~3</comment>
  87818. </bits>
  87819. </reg>
  87820. <reg name="npra_cfg_curr2" protect="rw">
  87821. <bits access="rw" name="sym_group_rep_cnt_curr" pos="16:9" rst="0">
  87822. <comment>t0~128</comment>
  87823. </bits>
  87824. <bits access="rw" name="nprach_sc_offset_curr" pos="8:6" rst="0">
  87825. <comment>frequency location of the first sub-carrier allocated to NPRACH
  87826. 000frequency location0
  87827. 001frequency location2
  87828. 010frequency location12
  87829. 011frequency location18
  87830. 100frequency location24
  87831. 101frequency location34
  87832. 110frequency location36
  87833. 1110</comment>
  87834. </bits>
  87835. <bits access="rw" name="init_sc_curr" pos="5:0" rst="0">
  87836. <comment>being the subcarrier selected by the MAC layer from 0-47</comment>
  87837. </bits>
  87838. </reg>
  87839. <reg name="fsm_state" protect="r">
  87840. <bits access="r" name="ocp_pi" pos="31" rst="0">
  87841. <comment>TXRX PING
  87842. 1
  87843. 0</comment>
  87844. </bits>
  87845. <bits access="r" name="ocp_pa" pos="30" rst="0">
  87846. <comment>TXRX PANG
  87847. 1
  87848. 0</comment>
  87849. </bits>
  87850. <bits access="r" name="frame_state" pos="29:16" rst="0">
  87851. <comment/>
  87852. </bits>
  87853. <bits access="r" name="ofdm_state" pos="15:0" rst="0">
  87854. <comment/>
  87855. </bits>
  87856. </reg>
  87857. <reg name="ofdm_count" protect="r">
  87858. <bits access="r" name="ofdm_count_ofdm_count" pos="3:0" rst="0">
  87859. <comment>OFDM0~13</comment>
  87860. </bits>
  87861. </reg>
  87862. <reg name="fsm_state_assert" protect="r">
  87863. <bits access="r" name="ocp_pi_assert" pos="31" rst="0">
  87864. <comment>ASSERT TXRX PING
  87865. 1
  87866. 0</comment>
  87867. </bits>
  87868. <bits access="r" name="ocp_pa_assert" pos="30" rst="0">
  87869. <comment>ASSERT TXRX PANG
  87870. 1
  87871. 0</comment>
  87872. </bits>
  87873. <bits access="r" name="frame_state_assert" pos="29:16" rst="0">
  87874. <comment>ASSERT</comment>
  87875. </bits>
  87876. <bits access="r" name="ofdm_state_assert" pos="15:0" rst="0">
  87877. <comment>ASSERT</comment>
  87878. </bits>
  87879. </reg>
  87880. <reg name="ofdm_assert" protect="r">
  87881. <bits access="r" name="ofdm_assert_ofdm_assert" pos="3:0" rst="0">
  87882. <comment>ASSERT OFDM0~13</comment>
  87883. </bits>
  87884. </reg>
  87885. <hole size="30624"/>
  87886. <reg name="uldft_mem1" protect="rw">
  87887. <bits access="rw" name="uldft_mem1_uldft_mem1" pos="31:0" rst="0">
  87888. </bits>
  87889. </reg>
  87890. <hole size="8160"/>
  87891. <reg name="uldft_mem2" protect="rw">
  87892. <bits access="rw" name="uldft_mem2_uldft_mem2" pos="31:0" rst="0">
  87893. </bits>
  87894. </reg>
  87895. <hole size="8160"/>
  87896. <reg name="uldft_mem3" protect="rw">
  87897. <bits access="rw" name="uldft_mem3_uldft_mem3" pos="31:0" rst="0">
  87898. </bits>
  87899. </reg>
  87900. <hole size="8160"/>
  87901. <reg name="uldft_mem4" protect="rw">
  87902. <bits access="rw" name="uldft_mem4_uldft_mem4" pos="31:0" rst="0">
  87903. </bits>
  87904. </reg>
  87905. <hole size="8160"/>
  87906. <reg name="uldft_mem5" protect="rw">
  87907. <bits access="rw" name="uldft_mem5_uldft_mem5" pos="31:0" rst="0">
  87908. </bits>
  87909. </reg>
  87910. <hole size="8160"/>
  87911. <reg name="uldft_mem6" protect="rw">
  87912. <bits access="rw" name="uldft_mem6_uldft_mem6" pos="31:0" rst="0">
  87913. </bits>
  87914. </reg>
  87915. <hole size="8160"/>
  87916. <reg name="uldft_mem7" protect="rw">
  87917. <bits access="rw" name="uldft_mem7_uldft_mem7" pos="31:0" rst="0">
  87918. </bits>
  87919. </reg>
  87920. <hole size="8160"/>
  87921. <reg name="uldft_mem8" protect="rw">
  87922. <bits access="rw" name="uldft_mem8_uldft_mem8" pos="31:0" rst="0">
  87923. </bits>
  87924. </reg>
  87925. <hole size="8160"/>
  87926. <reg name="uldft_mem9" protect="rw">
  87927. <bits access="rw" name="uldft_mem9_uldft_mem9" pos="31:0" rst="0">
  87928. </bits>
  87929. </reg>
  87930. </module>
  87931. </archive>
  87932. <archive relative="cp_lte_txrx.xml">
  87933. <module category="LTE_SYS" name="CP_LTE_TXRX">
  87934. <reg name="int_flag" protect="rw">
  87935. <bits access="rc" name="tx_trace_fin" pos="5" rst="0">
  87936. <comment>bit type is changed from rw1c to rc.
  87937. TRACE
  87938. 0
  87939. 1</comment>
  87940. </bits>
  87941. <bits access="rc" name="rx_trace_fin" pos="4" rst="0">
  87942. <comment>bit type is changed from rw1c to rc.
  87943. TRACE
  87944. 0
  87945. 1</comment>
  87946. </bits>
  87947. <bits access="rc" name="tx_fin" pos="3" rst="0">
  87948. <comment>bit type is changed from rw1c to rc.
  87949. 0
  87950. 1</comment>
  87951. </bits>
  87952. <bits access="rc" name="tx_ofdm" pos="2" rst="0">
  87953. <comment>bit type is changed from rw1c to rc.
  87954. 0
  87955. 1</comment>
  87956. </bits>
  87957. <bits access="rc" name="rx_fin" pos="1" rst="0">
  87958. <comment>bit type is changed from rw1c to rc.
  87959. 0
  87960. 1</comment>
  87961. </bits>
  87962. <bits access="rc" name="rx_ofdm" pos="0" rst="0">
  87963. <comment>bit type is changed from rw1c to rc.
  87964. 0
  87965. 1</comment>
  87966. </bits>
  87967. </reg>
  87968. <reg name="int_mask" protect="rw">
  87969. <bits access="rw" name="tx_trace_fin" pos="5" rst="0">
  87970. <comment>TRACE
  87971. 0
  87972. 1</comment>
  87973. </bits>
  87974. <bits access="rw" name="rx_trace_fin" pos="4" rst="0">
  87975. <comment>TRACE
  87976. 0
  87977. 1</comment>
  87978. </bits>
  87979. <bits access="rw" name="tx_finish_mask" pos="3" rst="0">
  87980. <comment>0
  87981. 1</comment>
  87982. </bits>
  87983. <bits access="rw" name="tx_ofdm_mask" pos="2" rst="0">
  87984. <comment>0
  87985. 1</comment>
  87986. </bits>
  87987. <bits access="rw" name="rx_finish_mask" pos="1" rst="0">
  87988. <comment>0
  87989. 1</comment>
  87990. </bits>
  87991. <bits access="rw" name="rx_ofdm_mask" pos="0" rst="0">
  87992. <comment>0
  87993. 1</comment>
  87994. </bits>
  87995. </reg>
  87996. <reg name="int_flag_ofdm_rx" protect="rw">
  87997. <bits access="rc" name="rx_ofdm_int_14" pos="14" rst="0">
  87998. <comment>bit type is changed from rw1c to rc.
  87999. 0OFDM14
  88000. 1OFDM14</comment>
  88001. </bits>
  88002. <bits access="rc" name="rx_ofdm_int_13" pos="13" rst="0">
  88003. <comment>bit type is changed from rw1c to rc.
  88004. 0OFDM13
  88005. 1OFDM13</comment>
  88006. </bits>
  88007. <bits access="rc" name="rx_ofdm_int_12" pos="12" rst="0">
  88008. <comment>bit type is changed from rw1c to rc.
  88009. 0OFDM12
  88010. 1OFDM12</comment>
  88011. </bits>
  88012. <bits access="rc" name="rx_ofdm_int_11" pos="11" rst="0">
  88013. <comment>bit type is changed from rw1c to rc.
  88014. 0OFDM11
  88015. 1OFDM11</comment>
  88016. </bits>
  88017. <bits access="rc" name="rx_ofdm_int_10" pos="10" rst="0">
  88018. <comment>bit type is changed from rw1c to rc.
  88019. 0OFDM10
  88020. 1OFDM10</comment>
  88021. </bits>
  88022. <bits access="rc" name="rx_ofdm_int_9" pos="9" rst="0">
  88023. <comment>bit type is changed from rw1c to rc.
  88024. 0OFDM9
  88025. 1OFDM9</comment>
  88026. </bits>
  88027. <bits access="rc" name="rx_ofdm_int_8" pos="8" rst="0">
  88028. <comment>bit type is changed from rw1c to rc.
  88029. 0OFDM8
  88030. 1OFDM8</comment>
  88031. </bits>
  88032. <bits access="rc" name="rx_ofdm_int_7" pos="7" rst="0">
  88033. <comment>bit type is changed from rw1c to rc.
  88034. 0OFDM7
  88035. 1OFDM7</comment>
  88036. </bits>
  88037. <bits access="rc" name="rx_ofdm_int_6" pos="6" rst="0">
  88038. <comment>bit type is changed from rw1c to rc.
  88039. 0OFDM6
  88040. 1OFDM6</comment>
  88041. </bits>
  88042. <bits access="rc" name="rx_ofdm_int_5" pos="5" rst="0">
  88043. <comment>bit type is changed from rw1c to rc.
  88044. 0OFDM5
  88045. 1OFDM5</comment>
  88046. </bits>
  88047. <bits access="rc" name="rx_ofdm_int_4" pos="4" rst="0">
  88048. <comment>bit type is changed from rw1c to rc.
  88049. 0OFDM4
  88050. 1OFDM4</comment>
  88051. </bits>
  88052. <bits access="rc" name="rx_ofdm_int_3" pos="3" rst="0">
  88053. <comment>bit type is changed from rw1c to rc.
  88054. 0OFDM3
  88055. 1OFDM3</comment>
  88056. </bits>
  88057. <bits access="rc" name="rx_ofdm_int_2" pos="2" rst="0">
  88058. <comment>bit type is changed from rw1c to rc.
  88059. 0OFDM2
  88060. 1OFDM2</comment>
  88061. </bits>
  88062. <bits access="rc" name="rx_ofdm_int_1" pos="1" rst="0">
  88063. <comment>bit type is changed from rw1c to rc.
  88064. 0OFDM1
  88065. 1OFDM1</comment>
  88066. </bits>
  88067. <bits access="rc" name="rx_ofdm_int_0" pos="0" rst="0">
  88068. <comment>bit type is changed from rw1c to rc.
  88069. 0OFDM0
  88070. 1OFDM0</comment>
  88071. </bits>
  88072. </reg>
  88073. <reg name="int_mask_ofdm_rx" protect="rw">
  88074. <bits access="rw" name="rx_inten" pos="16" rst="0">
  88075. <comment>1
  88076. 0
  88077. 1</comment>
  88078. </bits>
  88079. <bits access="rw" name="rx_last_int_en" pos="15" rst="0">
  88080. <comment>0OFDM
  88081. 1OFDM</comment>
  88082. </bits>
  88083. <bits access="rw" name="rx_int_en14" pos="14" rst="0">
  88084. <comment>0OFDM14
  88085. 1OFDM14</comment>
  88086. </bits>
  88087. <bits access="rw" name="rx_int_en13" pos="13" rst="0">
  88088. <comment>0OFDM13
  88089. 1OFDM13</comment>
  88090. </bits>
  88091. <bits access="rw" name="rx_int_en12" pos="12" rst="0">
  88092. <comment>0OFDM12
  88093. 1OFDM12</comment>
  88094. </bits>
  88095. <bits access="rw" name="rx_int_en11" pos="11" rst="0">
  88096. <comment>0OFDM11
  88097. 1OFDM11</comment>
  88098. </bits>
  88099. <bits access="rw" name="rx_int_en10" pos="10" rst="0">
  88100. <comment>0OFDM10
  88101. 1OFDM10</comment>
  88102. </bits>
  88103. <bits access="rw" name="rx_int_en9" pos="9" rst="0">
  88104. <comment>0OFDM9
  88105. 1OFDM9</comment>
  88106. </bits>
  88107. <bits access="rw" name="rx_int_en8" pos="8" rst="0">
  88108. <comment>0OFDM8
  88109. 1OFDM8</comment>
  88110. </bits>
  88111. <bits access="rw" name="rx_int_en7" pos="7" rst="0">
  88112. <comment>0OFDM7
  88113. 1OFDM7</comment>
  88114. </bits>
  88115. <bits access="rw" name="rx_int_en6" pos="6" rst="0">
  88116. <comment>0OFDM6
  88117. 1OFDM6</comment>
  88118. </bits>
  88119. <bits access="rw" name="rx_int_en5" pos="5" rst="0">
  88120. <comment>0OFDM5
  88121. 1OFDM5</comment>
  88122. </bits>
  88123. <bits access="rw" name="rx_int_en4" pos="4" rst="0">
  88124. <comment>0OFDM4
  88125. 1OFDM4</comment>
  88126. </bits>
  88127. <bits access="rw" name="rx_int_en3" pos="3" rst="0">
  88128. <comment>0OFDM3
  88129. 1OFDM3</comment>
  88130. </bits>
  88131. <bits access="rw" name="rx_int_en2" pos="2" rst="0">
  88132. <comment>0OFDM2
  88133. 1OFDM2</comment>
  88134. </bits>
  88135. <bits access="rw" name="rx_int_en1" pos="1" rst="0">
  88136. <comment>0OFDM1
  88137. 1OFDM1</comment>
  88138. </bits>
  88139. <bits access="rw" name="rx_int_en0" pos="0" rst="0">
  88140. <comment>0OFDM0
  88141. 1OFDM0</comment>
  88142. </bits>
  88143. </reg>
  88144. <reg name="sys_cfg" protect="rw">
  88145. <bits access="rw" name="rx_dcoc_sel" pos="5" rst="0">
  88146. <comment>DCOC
  88147. 1
  88148. 0</comment>
  88149. </bits>
  88150. <bits access="rw" name="rx_ovt" pos="4" rst="0">
  88151. <comment>0
  88152. 1</comment>
  88153. </bits>
  88154. <bits access="rw" name="tx_ovt" pos="3" rst="0">
  88155. <comment>0
  88156. 1</comment>
  88157. </bits>
  88158. <bits access="rw" name="tx_dfe_en" pos="2" rst="0">
  88159. <comment>DFE
  88160. 0DFE
  88161. 1DFE</comment>
  88162. </bits>
  88163. <bits access="rw" name="tx_nb_en" pos="1" rst="0">
  88164. <comment>0
  88165. 1</comment>
  88166. </bits>
  88167. <bits access="rw" name="cat1_en" pos="0" rst="0">
  88168. <comment>CAT1
  88169. 0CAT1
  88170. 1CAT1</comment>
  88171. </bits>
  88172. </reg>
  88173. <reg name="stop_cfg" protect="rw">
  88174. <bits access="rw" name="tx_stop_en" pos="1" rst="0">
  88175. <comment>0
  88176. 1</comment>
  88177. </bits>
  88178. <bits access="rw" name="rx_stop_en" pos="0" rst="0">
  88179. <comment>0
  88180. 1</comment>
  88181. </bits>
  88182. </reg>
  88183. <hole size="64"/>
  88184. <reg name="rx_cfg" protect="rw">
  88185. <bits access="rw" name="rx_soft_afc_en" pos="31" rst="0">
  88186. <comment>SOFT AFC
  88187. 0
  88188. 1</comment>
  88189. </bits>
  88190. <bits access="rw" name="rx_rssi_cfg" pos="30" rst="0">
  88191. <comment>RSSI
  88192. 1data
  88193. 0data</comment>
  88194. </bits>
  88195. <bits access="rw" name="rssi_save_sel" pos="27:25" rst="0">
  88196. <comment>RSSI
  88197. 0: RSSI_MAX1
  88198. 1: RSSI_MAX2
  88199. 2: RSSI_MAX3
  88200. 3: RSSI_MAX4
  88201. 4: RSSI_MAX5
  88202. Other:</comment>
  88203. </bits>
  88204. <bits access="rw" name="rx_hf_fir_en" pos="23" rst="0">
  88205. <comment>1
  88206. 0</comment>
  88207. </bits>
  88208. <bits access="rw" name="rx_otdoa_en" pos="22" rst="0">
  88209. <comment>OTDOA
  88210. 1
  88211. 0</comment>
  88212. </bits>
  88213. <bits access="rw" name="offset_ctrl_flag" pos="21" rst="0">
  88214. <comment>offset
  88215. 1RXoffsetcp
  88216. 0offset</comment>
  88217. </bits>
  88218. <bits access="rw" name="rx_iddet_en" pos="19" rst="0">
  88219. <comment>1IDDET
  88220. 0IDDET</comment>
  88221. </bits>
  88222. <bits access="rw" name="rx_dlfft_en" pos="18" rst="0">
  88223. <comment>DLFFT DATA_DRIVE
  88224. 0
  88225. 1</comment>
  88226. </bits>
  88227. <bits access="rw" name="rx_cp_type" pos="17:16" rst="0">
  88228. <comment>00CP
  88229. 01CP
  88230. 10CPIDDET</comment>
  88231. </bits>
  88232. <bits access="rw" name="hf_firbitsel" pos="11:8" rst="0">
  88233. <comment>FIR
  88234. 4h033-22
  88235. 4h132-21
  88236. 4h231-20
  88237. 4h330-19
  88238. 4h429-18
  88239. 4h528-17
  88240. 4h627-16
  88241. 4h726-15
  88242. 4h825-14
  88243. 4h924-13
  88244. 4ha23-12
  88245. 4hb22-11
  88246. 4hc21-10
  88247. 4hd20-9
  88248. 4he19-8
  88249. 4hf18-7</comment>
  88250. </bits>
  88251. <bits access="rw" name="rx_trace_en" pos="7" rst="0">
  88252. <comment>TRACE
  88253. 1
  88254. 0</comment>
  88255. </bits>
  88256. <bits access="rw" name="offset_zero_flag" pos="6" rst="0">
  88257. <comment>0measpwr/dlfft offset
  88258. 10
  88259. 0offsetoffset_ctrl_flag</comment>
  88260. </bits>
  88261. <bits access="rw" name="rx_meas_en" pos="5" rst="0">
  88262. <comment>0
  88263. 1</comment>
  88264. </bits>
  88265. <bits access="rw" name="rx_norm_en" pos="4" rst="0">
  88266. <comment>0
  88267. 1</comment>
  88268. </bits>
  88269. <bits access="rw" name="rx_ave_en" pos="3" rst="0">
  88270. <comment>0
  88271. 1</comment>
  88272. </bits>
  88273. <bits access="rw" name="rx_sat_en" pos="2" rst="0">
  88274. <comment>0
  88275. 1</comment>
  88276. </bits>
  88277. <bits access="rw" name="rx_rssi_en" pos="1" rst="0">
  88278. <comment>RSSI
  88279. 1
  88280. 0</comment>
  88281. </bits>
  88282. <bits access="rw" name="glb_rxen" pos="0" rst="0">
  88283. <comment>0
  88284. 1</comment>
  88285. </bits>
  88286. </reg>
  88287. <reg name="rx_1st_ofdm_len_offset" protect="rw">
  88288. <bits access="rw" name="rx_ist_ofdm_len_offset" pos="9:0" rst="0">
  88289. <comment>OFDM</comment>
  88290. </bits>
  88291. </reg>
  88292. <reg name="rx_afc_factor" protect="rw">
  88293. <bits access="rw" name="rx_afc_update" pos="16" rst="0">
  88294. <comment>AFC
  88295. 1
  88296. 0</comment>
  88297. </bits>
  88298. <bits access="rw" name="rx_afc_factor_rx_afc_factor" pos="15:0" rst="0">
  88299. <comment>AFC
  88300. 10hz</comment>
  88301. </bits>
  88302. </reg>
  88303. <reg name="rx_rssi_max_cfg" protect="rw">
  88304. <bits access="rw" name="next_en" pos="5" rst="0">
  88305. <comment>1
  88306. 0
  88307. AD_ON0</comment>
  88308. </bits>
  88309. <bits access="rw" name="rssi_max_clear" pos="4" rst="0">
  88310. <comment>RSSI0
  88311. 1
  88312. 0</comment>
  88313. </bits>
  88314. <bits access="rw" name="rssi_max_start" pos="3:0" rst="0">
  88315. <comment>RSSI</comment>
  88316. </bits>
  88317. </reg>
  88318. <reg name="rx_norm_cfg" protect="rw">
  88319. <bits access="rw" name="rx_norm_cfg_rx_norm_cfg" pos="2:0" rst="1">
  88320. <comment>1~5</comment>
  88321. </bits>
  88322. </reg>
  88323. <reg name="rx_sat_val" protect="rw">
  88324. <bits access="rw" name="sat_val_max" pos="27:16" rst="0">
  88325. <comment/>
  88326. </bits>
  88327. <bits access="rw" name="sat_val_min" pos="11:0" rst="0">
  88328. <comment/>
  88329. </bits>
  88330. </reg>
  88331. <reg name="rx_pre_cfg" protect="rw">
  88332. <bits access="rw" name="rx_freq_factor" pos="22:12" rst="0">
  88333. <comment/>
  88334. </bits>
  88335. <bits access="rw" name="rx_bw_sel" pos="10:8" rst="0">
  88336. <comment>3h5: 20M (1/16)
  88337. 3h4: 15M (1/16)
  88338. 3h3: 10M (1/8)
  88339. 3h2: 5M (1/4)
  88340. 3h1: 3M (1/2)
  88341. 3h0: 1.4M
  88342. Other:</comment>
  88343. </bits>
  88344. <bits access="rw" name="freq_en" pos="7" rst="0">
  88345. <comment>1
  88346. 0</comment>
  88347. </bits>
  88348. <bits access="rw" name="fir_en" pos="6" rst="0">
  88349. <comment>FIR
  88350. 1
  88351. 0</comment>
  88352. </bits>
  88353. <bits access="rw" name="rx_bitsel" pos="4:0" rst="8">
  88354. <comment>FIR
  88355. 5b0000034-23
  88356. 5b0000133-22
  88357. 5b0001032-21
  88358. 5b0001131-20
  88359. 5b0010030-19
  88360. 5b0010129-18
  88361. 5b0011028-17
  88362. 5b0011127-16
  88363. 5b0100026-15
  88364. 5b0100125-14
  88365. 5b0101024-13
  88366. 5b0101123-12
  88367. 5b0110022-11
  88368. 5b0110121-10
  88369. 5b0111020-9
  88370. 5b0111119-8
  88371. 5b1000018-7
  88372. 5b1000117-6
  88373. 5b1001016-5
  88374. Other</comment>
  88375. </bits>
  88376. </reg>
  88377. <reg name="rx_aux_cfg" protect="rw">
  88378. <bits access="rw" name="rx_aux" pos="31:0" rst="0">
  88379. <comment/>
  88380. </bits>
  88381. </reg>
  88382. <reg name="rx_phy_factor" protect="rw">
  88383. <bits access="rw" name="rx_phy_factor_rx_phy_factor" pos="31:0" rst="0">
  88384. <comment/>
  88385. </bits>
  88386. </reg>
  88387. <reg name="rx_dc_cfg" protect="rw">
  88388. <bits access="rw" name="rx_dc_update" pos="31" rst="0">
  88389. <comment>DCOC
  88390. 0
  88391. 1</comment>
  88392. </bits>
  88393. <bits access="rw" name="rx_dc_i" pos="27:16" rst="0">
  88394. <comment>I</comment>
  88395. </bits>
  88396. <bits access="rw" name="rx_dc_q" pos="11:0" rst="0">
  88397. <comment>Q</comment>
  88398. </bits>
  88399. </reg>
  88400. <reg name="rx_gain1_cfg" protect="rw">
  88401. <bits access="rw" name="rx_gain1_en" pos="16" rst="0">
  88402. <comment>GAIN1
  88403. 0
  88404. 1</comment>
  88405. </bits>
  88406. <bits access="rw" name="rx_gain1" pos="9:0" rst="0">
  88407. <comment>GAIN1</comment>
  88408. </bits>
  88409. </reg>
  88410. <reg name="rx_gain2_cfg" protect="rw">
  88411. <bits access="rw" name="rx_gain2_en" pos="16" rst="0">
  88412. <comment>GAIN2
  88413. 0
  88414. 1</comment>
  88415. </bits>
  88416. <bits access="rw" name="rx_gain2" pos="9:0" rst="0">
  88417. <comment>GAIN2</comment>
  88418. </bits>
  88419. </reg>
  88420. <reg name="rx_out_cfg" protect="rw">
  88421. <bits access="rw" name="iddet_dat_start" pos="21:20" rst="3">
  88422. <comment>IDDET
  88423. 2h0:bit7
  88424. 2'h1:bit8
  88425. 2h2:bit9
  88426. 2'h3:bit10</comment>
  88427. </bits>
  88428. <bits access="rw" name="iddet_dat_fin" pos="18:16" rst="0">
  88429. <comment>IDDET
  88430. 3h0:bit0
  88431. 3'h1:bit1
  88432. 3h2:bit2
  88433. 3'h3:bit3
  88434. 3h4:bit4
  88435. other:reserved</comment>
  88436. </bits>
  88437. <bits access="rw" name="otdoa_dat_start" pos="13:12" rst="3">
  88438. <comment>OTDOA
  88439. 2h0:bit7
  88440. 2'h1:bit8
  88441. 2h2:bit9
  88442. 2'h3:bit10</comment>
  88443. </bits>
  88444. <bits access="rw" name="otdoa_dat_fin" pos="10:8" rst="0">
  88445. <comment>OTDOA
  88446. 3h0:bit0
  88447. 3'h1:bit1
  88448. 3h2:bit2
  88449. 3'h3:bit3
  88450. 3h4:bit4
  88451. other:reserved</comment>
  88452. </bits>
  88453. <bits access="rw" name="meas_dat_start" pos="5:4" rst="3">
  88454. <comment>MEASPWR
  88455. 2h0:bit7
  88456. 2'h1:bit8
  88457. 2h2:bit9
  88458. 2'h3:bit10</comment>
  88459. </bits>
  88460. <bits access="rw" name="meas_dat_fin" pos="2:0" rst="0">
  88461. <comment>MEASPWR
  88462. 3h0:bit0
  88463. 3'h1:bit1
  88464. 3h2:bit2
  88465. 3'h3:bit3
  88466. 3h4:bit4
  88467. other:reserved</comment>
  88468. </bits>
  88469. </reg>
  88470. <hole size="96"/>
  88471. <reg name="tx_cfg" protect="rw">
  88472. <bits access="rw" name="tx_loop" pos="4" rst="0">
  88473. <comment>0
  88474. 1</comment>
  88475. </bits>
  88476. <bits access="rw" name="tx_data_drive" pos="3" rst="0">
  88477. <comment>DATA_DRIVE
  88478. 0
  88479. 1</comment>
  88480. </bits>
  88481. <bits access="rw" name="tx_cp_type" pos="2" rst="0">
  88482. <comment>1CP
  88483. 0CP</comment>
  88484. </bits>
  88485. <bits access="rw" name="glb_txen" pos="0" rst="0">
  88486. <comment>0
  88487. 1</comment>
  88488. </bits>
  88489. </reg>
  88490. <reg name="tx_1st_ofdm_len_offset" protect="rw">
  88491. <bits access="rw" name="tx_1st_ofdm_len_offset_tx_1st_ofdm_len_offset" pos="6:0" rst="0">
  88492. <comment>OFDM(-32~31)</comment>
  88493. </bits>
  88494. </reg>
  88495. <reg name="tx_ofdm0_len" protect="rw">
  88496. <bits access="rw" name="tx_ofdm0_len_tx_ofdm0_len" pos="11:0" rst="137">
  88497. <comment>PINGCP0</comment>
  88498. </bits>
  88499. </reg>
  88500. <reg name="tx_ofdm1_len" protect="rw">
  88501. <bits access="rw" name="tx_ofdm1_len_tx_ofdm1_len" pos="11:0" rst="136">
  88502. <comment>PANGCP0</comment>
  88503. </bits>
  88504. </reg>
  88505. <reg name="tx_post_cfg" protect="rw">
  88506. <bits access="r" name="prach_en" pos="23" rst="0">
  88507. <comment>PRACH
  88508. 1
  88509. 0
  88510. DFT</comment>
  88511. </bits>
  88512. <bits access="r" name="prach_format" pos="22:20" rst="0">
  88513. <comment>PRACH
  88514. 3hxxx0~4
  88515. DFT</comment>
  88516. </bits>
  88517. <bits access="r" name="tx_nb_start" pos="18:12" rst="0">
  88518. <comment>NB
  88519. DFT</comment>
  88520. </bits>
  88521. <bits access="r" name="tx_fir_en" pos="11" rst="0">
  88522. <comment>1
  88523. 0
  88524. DFT</comment>
  88525. </bits>
  88526. <bits access="rw" name="tx_bw_sel" pos="10:8" rst="0">
  88527. <comment>3h5: 20M (16)
  88528. 3h4: 15M (16)
  88529. 3h3: 10M (8)
  88530. 3h2: 5M (4)
  88531. 3h1: 3M (2)
  88532. 3h0: 1.4M
  88533. Other:</comment>
  88534. </bits>
  88535. <bits access="rw" name="tx_freq_en" pos="7" rst="0">
  88536. <comment>1
  88537. 0</comment>
  88538. </bits>
  88539. <bits access="rw" name="tx_bitsel" pos="4:0" rst="8">
  88540. <comment>FIR
  88541. 5b0000034-23
  88542. 5b0000133-22
  88543. 5b0001032-21
  88544. 5b0001131-20
  88545. 5b0010030-19
  88546. 5b0010129-18
  88547. 5b0011028-17
  88548. 5b0011127-16
  88549. 5b0100026-15
  88550. 5b0100125-14
  88551. 5b0101024-13
  88552. 5b0101123-12
  88553. 5b0110022-11
  88554. 5b0110121-10
  88555. 5b0111020-9
  88556. 5b0111119-8
  88557. 5b1000018-7
  88558. 5b1000117-6
  88559. 5b1001016-5
  88560. Other</comment>
  88561. </bits>
  88562. </reg>
  88563. <reg name="tx_fill0_num" protect="rw">
  88564. <bits access="rw" name="tx_fill0_num_tx_fill0_num" pos="7:0" rst="0">
  88565. <comment>0
  88566. 8hff : 255
  88567. 8hfe: 254
  88568. 8h01: 1
  88569. 8h00: 0</comment>
  88570. </bits>
  88571. </reg>
  88572. <hole size="64"/>
  88573. <reg name="rx_phy_factor_cur" protect="r">
  88574. <bits access="r" name="rx_phy_factor_cur_rx_phy_factor_cur" pos="31:0" rst="0">
  88575. <comment/>
  88576. </bits>
  88577. </reg>
  88578. <reg name="rx_sat_cnt" protect="r">
  88579. <bits access="r" name="sat_cnt" pos="31:0" rst="0">
  88580. <comment>32h0:0
  88581. 32h1:1
  88582. ?????????</comment>
  88583. </bits>
  88584. </reg>
  88585. <reg name="rx_norm_data" protect="r">
  88586. <bits access="r" name="rx_norm_data_rx_norm_data" pos="3:0" rst="0">
  88587. <comment/>
  88588. </bits>
  88589. </reg>
  88590. <reg name="rssi_max1" protect="r">
  88591. <bits access="r" name="rssi_max1_rssi_max1" pos="31:0" rst="0">
  88592. <comment>RSSI</comment>
  88593. </bits>
  88594. </reg>
  88595. <reg name="rssi_max2" protect="r">
  88596. <bits access="r" name="rssi_max2_rssi_max2" pos="31:0" rst="0">
  88597. <comment>RSSI</comment>
  88598. </bits>
  88599. </reg>
  88600. <reg name="rssi_max3" protect="r">
  88601. <bits access="r" name="rssi_max3_rssi_max3" pos="31:0" rst="0">
  88602. <comment>RSSI</comment>
  88603. </bits>
  88604. </reg>
  88605. <reg name="rssi_max4" protect="r">
  88606. <bits access="r" name="rssi_max4_rssi_max4" pos="31:0" rst="0">
  88607. <comment>RSSI</comment>
  88608. </bits>
  88609. </reg>
  88610. <reg name="rssi_max5" protect="r">
  88611. <bits access="r" name="rssi_max5_rssi_max5" pos="31:0" rst="0">
  88612. <comment>RSSI</comment>
  88613. </bits>
  88614. </reg>
  88615. <reg name="rx_dc_cal_value" protect="r">
  88616. <bits access="r" name="rx_dc_cal_value_i" pos="31:16" rst="0">
  88617. <comment>I</comment>
  88618. </bits>
  88619. <bits access="r" name="rx_dc_cal_value_q" pos="15:0" rst="0">
  88620. <comment>Q</comment>
  88621. </bits>
  88622. </reg>
  88623. <hole size="224"/>
  88624. <reg name="rx_ofdm_stat" protect="r">
  88625. <bits access="r" name="rx_mem_addr" pos="27:16" rst="0">
  88626. <comment>RX_MEM</comment>
  88627. </bits>
  88628. <bits access="r" name="ad_on" pos="13" rst="0">
  88629. <comment>AD_ON</comment>
  88630. </bits>
  88631. <bits access="r" name="rx_running" pos="12" rst="0">
  88632. <comment>0
  88633. 1</comment>
  88634. </bits>
  88635. <bits access="r" name="rx_dlfft_en" pos="11" rst="0">
  88636. <comment>DLFFT</comment>
  88637. </bits>
  88638. <bits access="r" name="rx_otdoa_en" pos="10" rst="0">
  88639. <comment>OTDOA</comment>
  88640. </bits>
  88641. <bits access="r" name="rx_iddet_en" pos="9" rst="0">
  88642. <comment>IDDET</comment>
  88643. </bits>
  88644. <bits access="r" name="rx_meas_en" pos="8" rst="0">
  88645. <comment>MEAS</comment>
  88646. </bits>
  88647. <bits access="r" name="cp_err" pos="7" rst="0">
  88648. <comment>CP
  88649. 0
  88650. 1</comment>
  88651. </bits>
  88652. <bits access="r" name="rx_no_data_err" pos="6" rst="0">
  88653. <comment>0
  88654. 1</comment>
  88655. </bits>
  88656. <bits access="r" name="ping_pang_stat" pos="4" rst="0">
  88657. <comment>PING_PANG</comment>
  88658. </bits>
  88659. <bits access="r" name="rx_ofdm_stat_rx_ofdm_stat" pos="3:0" rst="0">
  88660. <comment>OFDM</comment>
  88661. </bits>
  88662. </reg>
  88663. <reg name="tx_fifo_stat" protect="r">
  88664. <bits access="r" name="tx_mem_addr" pos="27:16" rst="0">
  88665. <comment>TX_MEM</comment>
  88666. </bits>
  88667. <bits access="r" name="da_on" pos="13" rst="0">
  88668. <comment>DA_ON</comment>
  88669. </bits>
  88670. <bits access="r" name="tx_running" pos="12" rst="0">
  88671. <comment>0
  88672. 1</comment>
  88673. </bits>
  88674. <bits access="r" name="tx_fifo_stat_tx_fifo_stat" pos="4" rst="0">
  88675. <comment>FIFO
  88676. 0ping
  88677. 1pang</comment>
  88678. </bits>
  88679. <bits access="r" name="tx_ofdm_stat" pos="3:0" rst="0">
  88680. <comment>OFDM</comment>
  88681. </bits>
  88682. </reg>
  88683. <reg name="rx_err_stat" protect="r">
  88684. <bits access="r" name="frame_num" pos="31:28" rst="0">
  88685. <comment/>
  88686. </bits>
  88687. <bits access="r" name="ts_cnt" pos="27:12" rst="0">
  88688. <comment>TS</comment>
  88689. </bits>
  88690. <bits access="r" name="ofdm_num_rx" pos="11:8" rst="0">
  88691. <comment/>
  88692. </bits>
  88693. <bits access="r" name="ad_on" pos="5" rst="0">
  88694. <comment>AD_ON</comment>
  88695. </bits>
  88696. <bits access="r" name="rx_running" pos="4" rst="0">
  88697. <comment>01</comment>
  88698. </bits>
  88699. <bits access="r" name="dlfft_mem_sel" pos="3" rst="0">
  88700. <comment>mem</comment>
  88701. </bits>
  88702. <bits access="r" name="pingpang_flag" pos="2" rst="0">
  88703. <comment/>
  88704. </bits>
  88705. <bits access="r" name="cp_type_rx" pos="1:0" rst="0">
  88706. <comment>CP</comment>
  88707. </bits>
  88708. </reg>
  88709. <reg name="tx_err_stat" protect="r">
  88710. <bits access="r" name="frame_num" pos="31:28" rst="0">
  88711. <comment/>
  88712. </bits>
  88713. <bits access="r" name="ts_cnt" pos="27:12" rst="0">
  88714. <comment>TS</comment>
  88715. </bits>
  88716. <bits access="r" name="ofdm_num_tx" pos="11:8" rst="0">
  88717. <comment/>
  88718. </bits>
  88719. <bits access="r" name="da_on" pos="6" rst="0">
  88720. <comment>DA_ON</comment>
  88721. </bits>
  88722. <bits access="r" name="tx_running" pos="5" rst="0">
  88723. <comment>0
  88724. 1</comment>
  88725. </bits>
  88726. <bits access="r" name="ram_pi_sel" pos="4" rst="0">
  88727. <comment>PING RAM</comment>
  88728. </bits>
  88729. <bits access="r" name="dft_wr_pi_err" pos="3" rst="0">
  88730. <comment>DFTPING</comment>
  88731. </bits>
  88732. <bits access="r" name="dft_wr_pa_err" pos="2" rst="0">
  88733. <comment>DFTPANG</comment>
  88734. </bits>
  88735. <bits access="r" name="pi_empty_err" pos="1" rst="0">
  88736. <comment>PING</comment>
  88737. </bits>
  88738. <bits access="r" name="pa_empty_err" pos="0" rst="0">
  88739. <comment>PANG</comment>
  88740. </bits>
  88741. </reg>
  88742. <reg name="st_cnt_framc" protect="r">
  88743. <bits access="r" name="adon_pos_framc" pos="31:16" rst="0">
  88744. <comment>ADONFRAMC</comment>
  88745. </bits>
  88746. <bits access="r" name="rf_1st_int_framc" pos="15:0" rst="0">
  88747. <comment>FRAMC</comment>
  88748. </bits>
  88749. </reg>
  88750. <reg name="st_cnt_add" protect="r">
  88751. <bits access="r" name="rf_int_num" pos="31:16" rst="0">
  88752. <comment/>
  88753. </bits>
  88754. <bits access="r" name="rf_int_sub_add" pos="15:0" rst="0">
  88755. <comment>FRAMC</comment>
  88756. </bits>
  88757. </reg>
  88758. <reg name="ad_on_time" protect="r">
  88759. <bits access="r" name="ad_on_neg_time1" pos="31:24" rst="0">
  88760. <comment>AD_ON</comment>
  88761. </bits>
  88762. <bits access="r" name="ad_on_pos_time1" pos="23:16" rst="0">
  88763. <comment>AD_ON</comment>
  88764. </bits>
  88765. <bits access="r" name="ad_on_neg_time0" pos="15:8" rst="0">
  88766. <comment>AD_ON</comment>
  88767. </bits>
  88768. <bits access="r" name="ad_on_pos_time0" pos="7:0" rst="0">
  88769. <comment>AD_ON</comment>
  88770. </bits>
  88771. </reg>
  88772. <reg name="da_on_time" protect="r">
  88773. <bits access="r" name="da_on_neg_time1" pos="31:24" rst="0">
  88774. <comment>DA_ON</comment>
  88775. </bits>
  88776. <bits access="r" name="da_on_pos_time1" pos="23:16" rst="0">
  88777. <comment>DA_ON</comment>
  88778. </bits>
  88779. <bits access="r" name="da_on_neg_time0" pos="15:8" rst="0">
  88780. <comment>DA_ON</comment>
  88781. </bits>
  88782. <bits access="r" name="da_on_pos_time0" pos="7:0" rst="0">
  88783. <comment>DA_ON</comment>
  88784. </bits>
  88785. </reg>
  88786. <reg name="fftbuf1_time" protect="r">
  88787. <bits access="r" name="fftbuf1_time4" pos="31:24" rst="0">
  88788. <comment>4FFTBUF1</comment>
  88789. </bits>
  88790. <bits access="r" name="fftbuf1_time3" pos="23:16" rst="0">
  88791. <comment>3FFTBUF1</comment>
  88792. </bits>
  88793. <bits access="r" name="fftbuf1_time2" pos="15:8" rst="0">
  88794. <comment>2FFTBUF1</comment>
  88795. </bits>
  88796. <bits access="r" name="fftbuf1_time1" pos="7:0" rst="0">
  88797. <comment>1FFTBUF1</comment>
  88798. </bits>
  88799. </reg>
  88800. <reg name="fftbuf2_time" protect="r">
  88801. <bits access="r" name="fftbuf2_time4" pos="31:24" rst="0">
  88802. <comment>4FFTBUF2</comment>
  88803. </bits>
  88804. <bits access="r" name="fftbuf2_time3" pos="23:16" rst="0">
  88805. <comment>3FFTBUF2</comment>
  88806. </bits>
  88807. <bits access="r" name="fftbuf2_time2" pos="15:8" rst="0">
  88808. <comment>2FFTBUF2</comment>
  88809. </bits>
  88810. <bits access="r" name="fftbuf2_time1" pos="7:0" rst="0">
  88811. <comment>1FFTBUF2</comment>
  88812. </bits>
  88813. </reg>
  88814. <reg name="fft2ldtc_time" protect="r">
  88815. <bits access="r" name="fft2ldtc_time4" pos="31:24" rst="0">
  88816. <comment>4FFT2LDTC</comment>
  88817. </bits>
  88818. <bits access="r" name="fft2ldtc_time3" pos="23:16" rst="0">
  88819. <comment>3FFT2LDTC</comment>
  88820. </bits>
  88821. <bits access="r" name="fft2ldtc_time2" pos="15:8" rst="0">
  88822. <comment>2FFT2LDTC</comment>
  88823. </bits>
  88824. <bits access="r" name="fft2ldtc_time1" pos="7:0" rst="0">
  88825. <comment>1FFT2LDTC</comment>
  88826. </bits>
  88827. </reg>
  88828. <hole size="522432"/>
  88829. <reg name="mem1" protect="rw">
  88830. <bits access="rw" name="mem1_1" pos="31:20" rst="0">
  88831. </bits>
  88832. <bits access="rw" name="mem1_2" pos="15:4" rst="0">
  88833. </bits>
  88834. </reg>
  88835. <hole size="131040"/>
  88836. <reg name="mem2" protect="rw">
  88837. <bits access="rw" name="mem2_1" pos="31:20" rst="0">
  88838. </bits>
  88839. <bits access="rw" name="mem2_2" pos="15:4" rst="0">
  88840. </bits>
  88841. </reg>
  88842. <hole size="98240"/>
  88843. <reg name="mem5" protect="rw">
  88844. <bits access="rw" name="mem5_mem5" pos="31:0" rst="0">
  88845. </bits>
  88846. </reg>
  88847. <hole size="32768"/>
  88848. <reg name="mem3" protect="rw">
  88849. <bits access="rw" name="mem3_1" pos="31:20" rst="0">
  88850. </bits>
  88851. <bits access="rw" name="mem3_2" pos="15:4" rst="0">
  88852. </bits>
  88853. </reg>
  88854. <hole size="131040"/>
  88855. <reg name="mem4" protect="rw">
  88856. <bits access="rw" name="mem4_1" pos="31:20" rst="0">
  88857. </bits>
  88858. <bits access="rw" name="mem4_2" pos="15:4" rst="0">
  88859. </bits>
  88860. </reg>
  88861. </module>
  88862. </archive>
  88863. <archive relative="cp_lte_measpwr.xml">
  88864. <module category="LTE_SYS" name="CP_LTE_MEASPWR">
  88865. <reg name="measpwr_rxdata_ctrl1" protect="rw">
  88866. <bits access="rw" name="fdd_tdd" pos="31" rst="1">
  88867. <comment>FDD_TDD
  88868. 0FDD
  88869. 1TDD</comment>
  88870. </bits>
  88871. <bits access="rw" name="rx_offset1" pos="18:0" rst="0">
  88872. <comment>TXRXAD_ON
  88873. 0~30720*10-110ms(AD ON)</comment>
  88874. </bits>
  88875. </reg>
  88876. <reg name="measpwr_rxdata_ctrl2" protect="rw">
  88877. <bits access="rw" name="rx_len" pos="15:0" rst="0">
  88878. <comment>MEASPWR1~30720*6(6ms)</comment>
  88879. </bits>
  88880. </reg>
  88881. <reg name="measpwr_rxdata_val_ctrl" protect="rw">
  88882. <bits access="w" name="invalid_flag" pos="20" rst="0">
  88883. <comment>Offset2
  88884. 0offset2
  88885. 1offset2</comment>
  88886. </bits>
  88887. <bits access="rw" name="rx_offset2" pos="17:0" rst="0">
  88888. <comment>MEASPWR 0~30720*6-1</comment>
  88889. </bits>
  88890. </reg>
  88891. <reg name="measpwr_rxdata_offset3_id1" protect="rw">
  88892. <bits access="rw" name="rx_offset3_id1" pos="19:0" rst="0">
  88893. <comment>ID1 (0~30720*10-1)</comment>
  88894. </bits>
  88895. </reg>
  88896. <reg name="measpwr_rxdata_offset3_id2" protect="rw">
  88897. <bits access="rw" name="rx_offset3_id2" pos="19:0" rst="0">
  88898. <comment>ID2 (0~30720*10-1)</comment>
  88899. </bits>
  88900. </reg>
  88901. <reg name="measpwr_rxdata_offset3_id3" protect="rw">
  88902. <bits access="rw" name="rx_offset3_id3" pos="19:0" rst="0">
  88903. <comment>s</comment>
  88904. </bits>
  88905. </reg>
  88906. <reg name="measpwr_rxdata_offset3_id4" protect="rw">
  88907. <bits access="rw" name="rx_offset3_id4" pos="19:0" rst="0">
  88908. <comment>ID4 (0~30720*10-1)</comment>
  88909. </bits>
  88910. </reg>
  88911. <reg name="measpwr_rxdata_offset3_id5" protect="rw">
  88912. <bits access="rw" name="rx_offset3_id5" pos="19:0" rst="0">
  88913. <comment>ID5 (0~30720*10-1)</comment>
  88914. </bits>
  88915. </reg>
  88916. <reg name="measpwr_rxdata_offset3_id6" protect="rw">
  88917. <bits access="rw" name="rx_offset3_id6" pos="19:0" rst="0">
  88918. <comment>ID6 (0~30720*10-1)</comment>
  88919. </bits>
  88920. </reg>
  88921. <reg name="measpwr_rxdata_offset3_id7" protect="rw">
  88922. <bits access="rw" name="rx_offset3_id7" pos="19:0" rst="0">
  88923. <comment>ID7 (0~30720*10-1)</comment>
  88924. </bits>
  88925. </reg>
  88926. <reg name="measpwr_rxdata_offset3_id8" protect="rw">
  88927. <bits access="rw" name="rx_offset3_id8" pos="19:0" rst="0">
  88928. <comment>ID8 (0~30720*10-1)</comment>
  88929. </bits>
  88930. </reg>
  88931. <reg name="measpwr_nb_offset4" protect="rw">
  88932. <bits access="rw" name="nb_offet4" pos="14:0" rst="0">
  88933. <comment>Nboffset4</comment>
  88934. </bits>
  88935. </reg>
  88936. <reg name="measpwr_total_subf" protect="rw">
  88937. <bits access="rw" name="totalsubf_num_id3_8" pos="20:12" rst="0">
  88938. <comment>ID3~ID8
  88939. 01
  88940. 12
  88941. 23
  88942. 511:512</comment>
  88943. </bits>
  88944. <bits access="rw" name="totalsubf_num_id1_2" pos="8:0" rst="0">
  88945. <comment>ID1ID2
  88946. 01
  88947. 12
  88948. 23
  88949. 511:512</comment>
  88950. </bits>
  88951. </reg>
  88952. <reg name="measpwr_ifft_para" protect="rw">
  88953. <bits access="rw" name="ifft_cut7" pos="13:12" rst="0">
  88954. <comment>IFFT</comment>
  88955. </bits>
  88956. <bits access="rw" name="ifft_cut6" pos="11:10" rst="0">
  88957. <comment>IFFT</comment>
  88958. </bits>
  88959. <bits access="rw" name="ifft_cut5" pos="9:8" rst="0">
  88960. <comment>IFFT</comment>
  88961. </bits>
  88962. <bits access="rw" name="ifft_cut4" pos="7:6" rst="0">
  88963. <comment>IFFT</comment>
  88964. </bits>
  88965. <bits access="rw" name="ifft_cut3" pos="5:4" rst="0">
  88966. <comment>IFFT</comment>
  88967. </bits>
  88968. <bits access="rw" name="ifft_cut2" pos="3:2" rst="0">
  88969. <comment>IFFT</comment>
  88970. </bits>
  88971. <bits access="rw" name="ifft_cut1" pos="1:0" rst="0">
  88972. <comment>IFFT
  88973. 2b00:bit[25:14]
  88974. 2b01:bit[26:15]
  88975. 2b10:bit[27:16]
  88976. 2b11:bit[28:17]</comment>
  88977. </bits>
  88978. </reg>
  88979. <reg name="measpwr_ifft_gate" protect="rw">
  88980. <bits access="rw" name="ifft_gate" pos="6:0" rst="0">
  88981. <comment>IFFT</comment>
  88982. </bits>
  88983. </reg>
  88984. <reg name="measpwr_int_en" protect="rw">
  88985. <bits access="rw" name="id8_interrupt_enable" pos="31:28" rst="0">
  88986. <comment>ID8 10
  88987. bit[28]
  88988. bit[29]
  88989. bit[30]AFC
  88990. bit[31]:agc_compare</comment>
  88991. </bits>
  88992. <bits access="rw" name="id7_interrupt_enable" pos="27:24" rst="0">
  88993. <comment>ID7 10
  88994. bit[24]
  88995. bit[25]
  88996. bit[26]AFC
  88997. bit[27]:agc_compare</comment>
  88998. </bits>
  88999. <bits access="rw" name="id6_interrupt_enable" pos="23:20" rst="0">
  89000. <comment>ID6 10
  89001. bit[20]
  89002. bit[21]
  89003. bit[22]AFC
  89004. bit[23]:agc_compare</comment>
  89005. </bits>
  89006. <bits access="rw" name="id5_interrupt_enable" pos="19:16" rst="0">
  89007. <comment>ID5 10
  89008. bit[16]
  89009. bit[17]
  89010. bit[18]AFC
  89011. bit[19]:agc_compare</comment>
  89012. </bits>
  89013. <bits access="rw" name="id4_interrupt_enable" pos="15:12" rst="0">
  89014. <comment>ID4 10
  89015. bit[12]
  89016. bit[13]
  89017. bit[14]AFC
  89018. bit[15]:agc_compare</comment>
  89019. </bits>
  89020. <bits access="rw" name="id3_interrupt_enable" pos="11:8" rst="0">
  89021. <comment>ID3 10
  89022. bit[8]
  89023. bit[9]
  89024. bit[10]AFC
  89025. bit[11]:agc_compare</comment>
  89026. </bits>
  89027. <bits access="rw" name="id2_interrupt_enable" pos="7:4" rst="0">
  89028. <comment>ID2 10
  89029. bit[4]
  89030. bit[5]
  89031. bit[6]AFC
  89032. bit[7]:agc_compare</comment>
  89033. </bits>
  89034. <bits access="rw" name="id1_interrupt_enable" pos="3:0" rst="0">
  89035. <comment>ID1 10
  89036. bit[0]
  89037. bit[1]
  89038. bit[2]AFC
  89039. bit[3]:agc_compare</comment>
  89040. </bits>
  89041. </reg>
  89042. <reg name="measpwr_int_sta" protect="rw">
  89043. <bits access="rc" name="id8_interrupt_state" pos="31:28" rst="0">
  89044. <comment>bit type is changed from r1c to rc.
  89045. ID8 10
  89046. bit[28]
  89047. bit[29]
  89048. bit[30]AFC
  89049. bit[31]:agc_compare</comment>
  89050. </bits>
  89051. <bits access="rc" name="id7_interrupt_state" pos="27:24" rst="0">
  89052. <comment>bit type is changed from r1c to rc.
  89053. ID7 10
  89054. bit[24]
  89055. bit[25]
  89056. bit[26]AFC
  89057. bit[27]:agc_compare</comment>
  89058. </bits>
  89059. <bits access="rc" name="id6_interrupt_state" pos="23:20" rst="0">
  89060. <comment>bit type is changed from r1c to rc.
  89061. ID6 10
  89062. bit[20]
  89063. bit[21]
  89064. bit[22]AFC
  89065. bit[23]:agc_compare</comment>
  89066. </bits>
  89067. <bits access="rc" name="id5_interrupt_state" pos="19:16" rst="0">
  89068. <comment>bit type is changed from r1c to rc.
  89069. ID5 10
  89070. bit[16]
  89071. bit[17]
  89072. bit[18]AFC
  89073. bit[19]:agc_compare</comment>
  89074. </bits>
  89075. <bits access="rc" name="id4_interrupt_state" pos="15:12" rst="0">
  89076. <comment>bit type is changed from r1c to rc.
  89077. ID4 10
  89078. bit[12]
  89079. bit[13]
  89080. bit[14]AFC
  89081. bit[15]:agc_compare</comment>
  89082. </bits>
  89083. <bits access="rc" name="id3_interrupt_state" pos="11:8" rst="0">
  89084. <comment>bit type is changed from r1c to rc.
  89085. ID3 10
  89086. bit[8]
  89087. bit[9]
  89088. bit[10]AFC
  89089. bit[11]:agc_compare</comment>
  89090. </bits>
  89091. <bits access="rc" name="id2_interrupt_state" pos="7:4" rst="0">
  89092. <comment>bit type is changed from r1c to rc.
  89093. ID2 10
  89094. bit[4]
  89095. bit[5]
  89096. bit[6]AFC
  89097. bit[7]:agc_compare</comment>
  89098. </bits>
  89099. <bits access="rc" name="id1_interrupt_state" pos="3:0" rst="0">
  89100. <comment>bit type is changed from r1c to rc.
  89101. ID1 10
  89102. bit[0]
  89103. bit[1]
  89104. bit[2]AFC
  89105. bit[3]:agc_compare</comment>
  89106. </bits>
  89107. </reg>
  89108. <reg name="measpwr_id1_id2_func_ctrl" protect="rw">
  89109. <bits access="rw" name="id1_id2_trmsf_en" pos="8" rst="0">
  89110. <comment>TRMS</comment>
  89111. </bits>
  89112. <bits access="rw" name="id1_id2_sigma_en" pos="7" rst="0">
  89113. <comment>SIGMA</comment>
  89114. </bits>
  89115. <bits access="rw" name="id1_id2_doppler_en" pos="6" rst="0">
  89116. <comment>DOPPLER</comment>
  89117. </bits>
  89118. <bits access="rw" name="id1_id2_sinr_en" pos="5" rst="0">
  89119. <comment>SINR</comment>
  89120. </bits>
  89121. <bits access="rw" name="id1_id2_afc_com_en" pos="4" rst="0">
  89122. <comment>AFC</comment>
  89123. </bits>
  89124. <bits access="rw" name="id1_id2_afc_hst_en" pos="3" rst="0">
  89125. <comment>AFC</comment>
  89126. </bits>
  89127. <bits access="rw" name="id1_id2_trms_en" pos="2" rst="0">
  89128. <comment>TRMS</comment>
  89129. </bits>
  89130. <bits access="rw" name="id1_id2_rsrp_en" pos="1" rst="0">
  89131. <comment>RSRP</comment>
  89132. </bits>
  89133. <bits access="rw" name="id1_id2_irt_en" pos="0" rst="0">
  89134. <comment>IRT</comment>
  89135. </bits>
  89136. </reg>
  89137. <reg name="measpwr_id3_id8_func_ctrl" protect="rw">
  89138. <bits access="rw" name="id3_id8_trmsf_en" pos="8" rst="0">
  89139. <comment>TRMS</comment>
  89140. </bits>
  89141. <bits access="rw" name="id3_id8_sigma_en" pos="7" rst="0">
  89142. <comment>SIGMA</comment>
  89143. </bits>
  89144. <bits access="rw" name="id3_id8_doppler_en" pos="6" rst="0">
  89145. <comment>DOPPLER</comment>
  89146. </bits>
  89147. <bits access="rw" name="id3_id8_sinr_en" pos="5" rst="0">
  89148. <comment>SINR</comment>
  89149. </bits>
  89150. <bits access="rw" name="id3_id8_afc_com_en" pos="4" rst="0">
  89151. <comment>AFC</comment>
  89152. </bits>
  89153. <bits access="rw" name="id3_id8_afc_hst_en" pos="3" rst="0">
  89154. <comment>AFC</comment>
  89155. </bits>
  89156. <bits access="rw" name="id3_id8_trms_en" pos="2" rst="0">
  89157. <comment>TRMS</comment>
  89158. </bits>
  89159. <bits access="rw" name="id3_id8_rsrp_en" pos="1" rst="0">
  89160. <comment>RSRP</comment>
  89161. </bits>
  89162. <bits access="rw" name="id3_id8_irt_en" pos="0" rst="0">
  89163. <comment>IRT</comment>
  89164. </bits>
  89165. </reg>
  89166. <reg name="measpwr_agc_compare" protect="rw">
  89167. <bits access="rw" name="agc_compare" pos="9:0" rst="511">
  89168. <comment>agcagcagc</comment>
  89169. </bits>
  89170. </reg>
  89171. <reg name="measpwr_nb_para" protect="rw">
  89172. <bits access="rw" name="id38_nb_ind" pos="11:8" rst="0">
  89173. <comment>ID3-80-15CATM</comment>
  89174. </bits>
  89175. <bits access="rw" name="id2_nb_ind" pos="7:4" rst="0">
  89176. <comment>ID20-15CATM</comment>
  89177. </bits>
  89178. <bits access="rw" name="id1_nb_ind" pos="3:0" rst="0">
  89179. <comment>ID10-15CATM</comment>
  89180. </bits>
  89181. </reg>
  89182. <reg name="measpwr_band_para" protect="rw">
  89183. <bits access="rw" name="meas_bw_id38" pos="14:12" rst="0">
  89184. <comment>ID3-8
  89185. 01.4m
  89186. 13m
  89187. 25m
  89188. 310m
  89189. 415m
  89190. 520m</comment>
  89191. </bits>
  89192. <bits access="rw" name="sys_bw_id38" pos="10:8" rst="0">
  89193. <comment>ID3-8
  89194. 01.4m
  89195. 13m
  89196. 25m
  89197. 310m
  89198. 415m
  89199. 520m</comment>
  89200. </bits>
  89201. <bits access="rw" name="meas_bw_id12" pos="6:4" rst="0">
  89202. <comment>ID1-2
  89203. 01.4m
  89204. 13m
  89205. 25m
  89206. 310m
  89207. 415m
  89208. 520m</comment>
  89209. </bits>
  89210. <bits access="rw" name="sys_bw_id12" pos="2:0" rst="0">
  89211. <comment>ID1-2
  89212. 01.4m
  89213. 13m
  89214. 25m
  89215. 310m
  89216. 415m
  89217. 520m</comment>
  89218. </bits>
  89219. </reg>
  89220. <hole size="32"/>
  89221. <reg name="measpwr_afc_para" protect="rw">
  89222. <bits access="rw" name="afc_factor" pos="23:8" rst="0">
  89223. <comment>Afc_factor</comment>
  89224. </bits>
  89225. <bits access="rw" name="afc_related_flag" pos="4" rst="0">
  89226. <comment>AFC
  89227. 0
  89228. 1
  89229. 4</comment>
  89230. </bits>
  89231. <bits access="rw" name="afc_renum" pos="2:0" rst="0">
  89232. <comment>AFC
  89233. 0001
  89234. 0012
  89235. 0103
  89236. 0114
  89237. 1006
  89238. 10112
  89239. Other:1</comment>
  89240. </bits>
  89241. </reg>
  89242. <reg name="measpwr_afc_soft_reect1" protect="rw">
  89243. <bits access="rw" name="afc_soft_fa_ctor1" pos="15:0" rst="0">
  89244. <comment>ID1 AFC</comment>
  89245. </bits>
  89246. </reg>
  89247. <reg name="measpwr_sigpwr_para" protect="rw">
  89248. <bits access="rw" name="sigpwr_alpha" pos="28:12" rst="0">
  89249. <comment>SIGPWR alpha</comment>
  89250. </bits>
  89251. <bits access="rw" name="sigpwr_ofdmnum" pos="9:8" rst="0">
  89252. <comment>SIGPWR
  89253. 001
  89254. 012
  89255. 114
  89256. Other1</comment>
  89257. </bits>
  89258. <bits access="rw" name="sigpwr_renum" pos="7:0" rst="0">
  89259. <comment>ID1-2 SIGPWR(</comment>
  89260. </bits>
  89261. </reg>
  89262. <reg name="measpwr_sigma_para" protect="rw">
  89263. <bits access="rw" name="sigma_alpha" pos="24:8" rst="0">
  89264. <comment>SIGMA alpha</comment>
  89265. </bits>
  89266. <bits access="rw" name="sigma_win" pos="6:0" rst="0">
  89267. <comment>SIGMA1~80</comment>
  89268. </bits>
  89269. </reg>
  89270. <reg name="measpwr_doppler_para" protect="rw">
  89271. <bits access="rw" name="doppler_alpha1" pos="29:13" rst="0">
  89272. <comment>Id1-2 Doppler alpha</comment>
  89273. </bits>
  89274. <bits access="rw" name="doppler_scale" pos="11:8" rst="0">
  89275. <comment>Doppler_scaleQ12</comment>
  89276. </bits>
  89277. <bits access="rw" name="doppler_win" pos="6:0" rst="0">
  89278. <comment>DOPPLER1~80</comment>
  89279. </bits>
  89280. </reg>
  89281. <reg name="measpwr_trms_para1" protect="rw">
  89282. <bits access="rw" name="t_th" pos="23:16" rst="0">
  89283. <comment>Trms8q0</comment>
  89284. </bits>
  89285. <bits access="rw" name="noise_sel" pos="12" rst="0">
  89286. <comment>0TRMSDis_Limit
  89287. 1RSRPDis_Limit</comment>
  89288. </bits>
  89289. <bits access="rw" name="d_flag2" pos="9" rst="0">
  89290. <comment>ID3-8:
  89291. 0:1L_U16ExtractStepTab_true1
  89292. 11L_U16ExtractStepTab_true</comment>
  89293. </bits>
  89294. <bits access="rw" name="d_flag" pos="8" rst="0">
  89295. <comment>ID1-2:
  89296. 0:1L_U16ExtractStepTab_true1
  89297. 11L_U16ExtractStepTab_true</comment>
  89298. </bits>
  89299. <bits access="rw" name="dis_limit" pos="7:0" rst="0">
  89300. <comment>(N2N+1)</comment>
  89301. </bits>
  89302. </reg>
  89303. <reg name="measpwr_trms_para2" protect="rw">
  89304. <bits access="rw" name="s_th" pos="31:16" rst="0">
  89305. <comment>ID1-216q15</comment>
  89306. </bits>
  89307. <bits access="rw" name="n_th" pos="15:0" rst="0">
  89308. <comment>ID1-216q10</comment>
  89309. </bits>
  89310. </reg>
  89311. <reg name="measpwr_rsrp_para1" protect="rw">
  89312. <bits access="rw" name="d_flag2" pos="25" rst="1">
  89313. <comment>ID3-8</comment>
  89314. </bits>
  89315. <bits access="rw" name="d_flag" pos="24" rst="1">
  89316. <comment>ID1-2</comment>
  89317. </bits>
  89318. <bits access="rw" name="beta" pos="23:8" rst="0">
  89319. <comment>ID1-2beta16Q10</comment>
  89320. </bits>
  89321. <bits access="rw" name="dis_limit" pos="7:0" rst="0">
  89322. <comment/>
  89323. </bits>
  89324. </reg>
  89325. <reg name="measpwr_rsrp_para2" protect="rw">
  89326. <bits access="rw" name="mode1_compensate2" pos="25:17" rst="0">
  89327. <comment>ID3-8RSRP</comment>
  89328. </bits>
  89329. <bits access="rw" name="mode1_compensate" pos="16:8" rst="0">
  89330. <comment>ID1-2RSRP</comment>
  89331. </bits>
  89332. <bits access="rw" name="rsrp_agcadjust" pos="7:0" rst="0">
  89333. <comment>L_S32RsrpdB_Temp = L_S32RsrpdB - AGC_Base*16 - RSRPAgcAdjust*16 + L_U16DownSamplingCompensate*16</comment>
  89334. </bits>
  89335. </reg>
  89336. <reg name="measpwr_rsrp_para3" protect="rw">
  89337. <bits access="rw" name="s_th" pos="23:8" rst="0">
  89338. <comment>ID1-2</comment>
  89339. </bits>
  89340. <bits access="rw" name="rssi_q" pos="6:0" rst="0">
  89341. <comment>RSSI Q()</comment>
  89342. </bits>
  89343. </reg>
  89344. <reg name="measpwr_rsrp_para4" protect="rw">
  89345. <bits access="rw" name="powq_value" pos="15:8" rst="0">
  89346. <comment>FFTIFFTQ</comment>
  89347. </bits>
  89348. <bits access="rw" name="pow_pa" pos="7:0" rst="0">
  89349. <comment>FFTIFFT</comment>
  89350. </bits>
  89351. </reg>
  89352. <reg name="measpwr_irt_para1" protect="rw">
  89353. <bits access="rw" name="val_sel" pos="20" rst="0">
  89354. <comment>IRT
  89355. 08910
  89356. 1</comment>
  89357. </bits>
  89358. <bits access="rw" name="pow_max_num" pos="19:16" rst="0">
  89359. <comment>pow</comment>
  89360. </bits>
  89361. <bits access="rw" name="n_scale" pos="15:12" rst="0">
  89362. <comment>Scale</comment>
  89363. </bits>
  89364. <bits access="rw" name="dis_limit" pos="11:4" rst="0">
  89365. <comment/>
  89366. </bits>
  89367. <bits access="rw" name="irt_ofdm_num" pos="1:0" rst="0">
  89368. <comment>IRT
  89369. 001
  89370. 012
  89371. 114</comment>
  89372. </bits>
  89373. </reg>
  89374. <reg name="measpwr_irt_para2" protect="rw">
  89375. <bits access="rw" name="s_th" pos="31:16" rst="0">
  89376. <comment>ID1-2</comment>
  89377. </bits>
  89378. <bits access="rw" name="n_th" pos="15:0" rst="0">
  89379. <comment>ID1-216q10</comment>
  89380. </bits>
  89381. </reg>
  89382. <reg name="measpwr_irt_scale_th1" protect="rw">
  89383. <bits access="rw" name="scaleth_1" pos="31:0" rst="0">
  89384. <comment>1ScaleTh</comment>
  89385. </bits>
  89386. </reg>
  89387. <reg name="measpwr_irt_scale_th2" protect="rw">
  89388. <bits access="rw" name="scaleth_2" pos="31:0" rst="0">
  89389. <comment>2ScaleTh</comment>
  89390. </bits>
  89391. </reg>
  89392. <reg name="measpwr_irt_scale_th4" protect="rw">
  89393. <bits access="rw" name="scaleth_4" pos="31:0" rst="0">
  89394. <comment>4ScaleTh</comment>
  89395. </bits>
  89396. </reg>
  89397. <reg name="measpwr_irt_scale_th8" protect="rw">
  89398. <bits access="rw" name="scaleth_8" pos="31:0" rst="0">
  89399. <comment>8ScaleTh</comment>
  89400. </bits>
  89401. </reg>
  89402. <reg name="measpwr_irt_scale_th16" protect="rw">
  89403. <bits access="rw" name="scaleth_16" pos="31:0" rst="0">
  89404. <comment>16ScaleTh</comment>
  89405. </bits>
  89406. </reg>
  89407. <reg name="measpwr_irt_scale_th32" protect="rw">
  89408. <bits access="rw" name="scaleth_32" pos="31:0" rst="0">
  89409. <comment>32ScaleTh</comment>
  89410. </bits>
  89411. </reg>
  89412. <reg name="measpwr_irt_scale_th64" protect="rw">
  89413. <bits access="rw" name="scaleth_64" pos="31:0" rst="0">
  89414. <comment>64ScaleTh</comment>
  89415. </bits>
  89416. </reg>
  89417. <reg name="measpwr_irt_scale_th128" protect="rw">
  89418. <bits access="rw" name="scaleth_128" pos="31:0" rst="0">
  89419. <comment>128ScaleTh</comment>
  89420. </bits>
  89421. </reg>
  89422. <reg name="measpwr_irt_scale_th256" protect="rw">
  89423. <bits access="rw" name="scaleth_256" pos="31:0" rst="0">
  89424. <comment>256ScaleTh</comment>
  89425. </bits>
  89426. </reg>
  89427. <reg name="measpwr_irt_scale_th512" protect="rw">
  89428. <bits access="rw" name="scaleth_512" pos="31:0" rst="0">
  89429. <comment>512ScaleTh</comment>
  89430. </bits>
  89431. </reg>
  89432. <reg name="measpwr_rssi_para" protect="rw">
  89433. <bits access="rw" name="rssi_compensate2" pos="19:12" rst="0">
  89434. <comment>ID3-8 Rssi</comment>
  89435. </bits>
  89436. <bits access="rw" name="rssi_compensate" pos="11:4" rst="0">
  89437. <comment>ID1-2 Rssi</comment>
  89438. </bits>
  89439. <bits access="rw" name="rssi_sel" pos="0" rst="1">
  89440. <comment>IDRSSI
  89441. 0MEASPWROFDMRSSI
  89442. 1MEASPWR</comment>
  89443. </bits>
  89444. </reg>
  89445. <reg name="measpwr_agc" protect="rw">
  89446. <bits access="rw" name="agc_rx" pos="9:0" rst="0">
  89447. <comment>AGC</comment>
  89448. </bits>
  89449. </reg>
  89450. <reg name="measpwr_id1_para1" protect="rw">
  89451. <bits access="rw" name="lnum_mod" pos="31:28" rst="0">
  89452. <comment>FFT
  89453. 4`b0000
  89454. 4`b0001
  89455. 4`b0010
  89456. .</comment>
  89457. </bits>
  89458. <bits access="rw" name="offline0_time" pos="27:24" rst="0">
  89459. <comment>OFFLINE0</comment>
  89460. </bits>
  89461. <bits access="rw" name="afc_out_num" pos="23:16" rst="0">
  89462. <comment>AFC</comment>
  89463. </bits>
  89464. <bits access="rw" name="crs_rssi_sel" pos="15:14" rst="0">
  89465. <comment>Crs_rssi
  89466. 00
  89467. 01
  89468. 10
  89469. 11reserved</comment>
  89470. </bits>
  89471. <bits access="rw" name="firstd_ofdm_flag" pos="13" rst="0">
  89472. <comment>0
  89473. 1</comment>
  89474. </bits>
  89475. <bits access="rw" name="nid" pos="12:4" rst="0">
  89476. <comment>NID 0~503</comment>
  89477. </bits>
  89478. <bits access="rw" name="tx_flag" pos="3" rst="0">
  89479. <comment>2port
  89480. 0port 0 and port 1
  89481. 1only port 1</comment>
  89482. </bits>
  89483. <bits access="rw" name="afc_out_sel" pos="2" rst="0">
  89484. <comment>AFC
  89485. 0IRT
  89486. 1bit[8:1]</comment>
  89487. </bits>
  89488. <bits access="rw" name="tx_num" pos="1" rst="0">
  89489. <comment>01
  89490. 12</comment>
  89491. </bits>
  89492. <bits access="rw" name="cp_index" pos="0" rst="0">
  89493. <comment>CP
  89494. 0CP
  89495. 1CP</comment>
  89496. </bits>
  89497. </reg>
  89498. <reg name="measpwr_id1_para2" protect="rw">
  89499. <bits access="rw" name="qf_mem_sel" pos="31" rst="0">
  89500. <comment>Hmmse QF mem
  89501. 0QF mem
  89502. 1QF mem</comment>
  89503. </bits>
  89504. <bits access="rw" name="irt_scale_disable" pos="30" rst="0">
  89505. <comment>IRT scale
  89506. 0
  89507. 1</comment>
  89508. </bits>
  89509. <bits access="rw" name="pow_data_sel" pos="29:28" rst="0">
  89510. <comment>AFC\POW
  89511. 00hls
  89512. 01hmmse
  89513. 10freqfirst
  89514. 11hls</comment>
  89515. </bits>
  89516. <bits access="rw" name="crs_rssi_clr" pos="26" rst="0">
  89517. <comment>Crs_rssi</comment>
  89518. </bits>
  89519. <bits access="rw" name="frame_map" pos="25:16" rst="0">
  89520. <comment>bit[25:16]9-0</comment>
  89521. </bits>
  89522. <bits access="rw" name="offline0_step" pos="15:7" rst="0">
  89523. <comment>OFFLINE0</comment>
  89524. </bits>
  89525. <bits access="rw" name="sinr_map" pos="6:4" rst="0">
  89526. <comment>SINR
  89527. 000NASINR
  89528. 0011
  89529. 0102
  89530. 0113
  89531. 1004
  89532. OtherNA</comment>
  89533. </bits>
  89534. <bits access="rw" name="afcrelateden" pos="3" rst="0">
  89535. <comment>AFC
  89536. 0
  89537. 1</comment>
  89538. </bits>
  89539. <bits access="rw" name="last_flag" pos="2" rst="0">
  89540. <comment/>
  89541. </bits>
  89542. <bits access="rw" name="windows_clr" pos="1" rst="0">
  89543. <comment>0
  89544. 1</comment>
  89545. </bits>
  89546. <bits access="rw" name="restart" pos="0" rst="0">
  89547. <comment>0
  89548. 1
  89549. 1</comment>
  89550. </bits>
  89551. </reg>
  89552. <reg name="measpwr_id2_para1" protect="rw">
  89553. <bits access="rw" name="lnum_mod" pos="31:28" rst="0">
  89554. <comment>FFT
  89555. 4`b0000
  89556. 4`b0001
  89557. 4`b0010
  89558. .</comment>
  89559. </bits>
  89560. <bits access="rw" name="offline0_time" pos="27:24" rst="0">
  89561. <comment>OFFLINE0</comment>
  89562. </bits>
  89563. <bits access="rw" name="afc_out_num" pos="23:16" rst="0">
  89564. <comment>AFC</comment>
  89565. </bits>
  89566. <bits access="rw" name="crs_rssi_sel" pos="15:14" rst="0">
  89567. <comment>Crs_rssi
  89568. 00
  89569. 01
  89570. 10
  89571. 11reserved</comment>
  89572. </bits>
  89573. <bits access="rw" name="firstd_ofdm_flag" pos="13" rst="0">
  89574. <comment>0
  89575. 1</comment>
  89576. </bits>
  89577. <bits access="rw" name="nid" pos="12:4" rst="0">
  89578. <comment>NID 0~503</comment>
  89579. </bits>
  89580. <bits access="rw" name="tx_flag" pos="3" rst="0">
  89581. <comment>2port
  89582. 0port 0 and port 1
  89583. 1only port 1</comment>
  89584. </bits>
  89585. <bits access="rw" name="afc_out_sel" pos="2" rst="0">
  89586. <comment>AFC
  89587. 0IRT
  89588. 1bit[8:1]</comment>
  89589. </bits>
  89590. <bits access="rw" name="tx_num" pos="1" rst="0">
  89591. <comment>01
  89592. 12</comment>
  89593. </bits>
  89594. <bits access="rw" name="cp_index" pos="0" rst="0">
  89595. <comment>CP
  89596. 0CP
  89597. 1CP</comment>
  89598. </bits>
  89599. </reg>
  89600. <reg name="measpwr_id2_para2" protect="rw">
  89601. <bits access="rw" name="qf_mem_sel" pos="31" rst="0">
  89602. <comment>Hmmse QF mem
  89603. 0QF mem
  89604. 1QF mem</comment>
  89605. </bits>
  89606. <bits access="rw" name="irt_scale_disable" pos="30" rst="0">
  89607. <comment>IRT scale
  89608. 0
  89609. 1</comment>
  89610. </bits>
  89611. <bits access="rw" name="pow_data_sel" pos="29:28" rst="0">
  89612. <comment>AFC\POW
  89613. 00hls
  89614. 01hmmse
  89615. 10freqfirst
  89616. 11hls</comment>
  89617. </bits>
  89618. <bits access="rw" name="crs_rssi_clr" pos="26" rst="0">
  89619. <comment>Crs_rssi</comment>
  89620. </bits>
  89621. <bits access="rw" name="frame_map" pos="25:16" rst="0">
  89622. <comment>bit[25:16]9-0</comment>
  89623. </bits>
  89624. <bits access="rw" name="offline0_step" pos="15:7" rst="0">
  89625. <comment>OFFLINE0</comment>
  89626. </bits>
  89627. <bits access="r" name="reserve2" pos="6:4" rst="0">
  89628. </bits>
  89629. <bits access="rw" name="afcrelateden" pos="3" rst="0">
  89630. <comment>AFC
  89631. 0
  89632. 1</comment>
  89633. </bits>
  89634. <bits access="rw" name="last_flag" pos="2" rst="0">
  89635. <comment/>
  89636. </bits>
  89637. <bits access="rw" name="windows_clr" pos="1" rst="0">
  89638. <comment>0
  89639. 1</comment>
  89640. </bits>
  89641. <bits access="rw" name="restart" pos="0" rst="0">
  89642. <comment>0
  89643. 1
  89644. 1</comment>
  89645. </bits>
  89646. </reg>
  89647. <reg name="measpwr_id3_para1" protect="rw">
  89648. <bits access="rw" name="lnum_mod" pos="27:24" rst="0">
  89649. <comment>FFT
  89650. 4`b0000
  89651. 4`b0001
  89652. 4`b0010
  89653. .</comment>
  89654. </bits>
  89655. <bits access="rw" name="offline0_time" pos="23:20" rst="0">
  89656. <comment>OFFLINE0</comment>
  89657. </bits>
  89658. <bits access="rw" name="firstd_ofdm_flag" pos="17" rst="0">
  89659. <comment>0
  89660. 1</comment>
  89661. </bits>
  89662. <bits access="rw" name="nid" pos="16:8" rst="0">
  89663. <comment>NID 0~503</comment>
  89664. </bits>
  89665. <bits access="rw" name="tx_flag" pos="6" rst="0">
  89666. <comment>2port
  89667. 0port 0 and port 1
  89668. 1only port 1</comment>
  89669. </bits>
  89670. <bits access="rw" name="tx_num" pos="5" rst="0">
  89671. <comment>01
  89672. 12</comment>
  89673. </bits>
  89674. <bits access="rw" name="cp_index" pos="4" rst="0">
  89675. <comment>CP
  89676. 0CP
  89677. 1CP</comment>
  89678. </bits>
  89679. <bits access="rw" name="crs_rssi_clr" pos="3" rst="0">
  89680. <comment>Crs_rssi</comment>
  89681. </bits>
  89682. <bits access="rw" name="last_flag" pos="2" rst="0">
  89683. <comment/>
  89684. </bits>
  89685. <bits access="rw" name="windows_clr" pos="1" rst="0">
  89686. <comment>0
  89687. 1</comment>
  89688. </bits>
  89689. <bits access="rw" name="restart" pos="0" rst="0">
  89690. <comment>0
  89691. 1
  89692. 1</comment>
  89693. </bits>
  89694. </reg>
  89695. <reg name="measpwr_id4_para1" protect="rw">
  89696. <bits access="rw" name="lnum_mod" pos="27:24" rst="0">
  89697. <comment>FFT
  89698. 4`b0000
  89699. 4`b0001
  89700. 4`b0010
  89701. .</comment>
  89702. </bits>
  89703. <bits access="rw" name="offline0_time" pos="23:20" rst="0">
  89704. <comment>OFFLINE0</comment>
  89705. </bits>
  89706. <bits access="rw" name="firstd_ofdm_flag" pos="17" rst="0">
  89707. <comment>0
  89708. 1</comment>
  89709. </bits>
  89710. <bits access="rw" name="nid" pos="16:8" rst="0">
  89711. <comment>NID 0~503</comment>
  89712. </bits>
  89713. <bits access="rw" name="tx_flag" pos="6" rst="0">
  89714. <comment>2port
  89715. 0port 0 and port 1
  89716. 1only port 1</comment>
  89717. </bits>
  89718. <bits access="rw" name="tx_num" pos="5" rst="0">
  89719. <comment>01
  89720. 12</comment>
  89721. </bits>
  89722. <bits access="rw" name="cp_index" pos="4" rst="0">
  89723. <comment>CP
  89724. 0CP
  89725. 1CP</comment>
  89726. </bits>
  89727. <bits access="rw" name="crs_rssi_clr" pos="3" rst="0">
  89728. <comment>Crs_rssi</comment>
  89729. </bits>
  89730. <bits access="rw" name="last_flag" pos="2" rst="0">
  89731. <comment/>
  89732. </bits>
  89733. <bits access="rw" name="windows_clr" pos="1" rst="0">
  89734. <comment>0
  89735. 1</comment>
  89736. </bits>
  89737. <bits access="rw" name="restart" pos="0" rst="0">
  89738. <comment>0
  89739. 1
  89740. 1</comment>
  89741. </bits>
  89742. </reg>
  89743. <reg name="measpwr_id5_para1" protect="rw">
  89744. <bits access="rw" name="lnum_mod" pos="27:24" rst="0">
  89745. <comment>FFT
  89746. 4`b0000
  89747. 4`b0001
  89748. 4`b0010
  89749. .</comment>
  89750. </bits>
  89751. <bits access="rw" name="offline0_time" pos="23:20" rst="0">
  89752. <comment>OFFLINE0</comment>
  89753. </bits>
  89754. <bits access="rw" name="firstd_ofdm_flag" pos="17" rst="0">
  89755. <comment>0
  89756. 1</comment>
  89757. </bits>
  89758. <bits access="rw" name="nid" pos="16:8" rst="0">
  89759. <comment>NID 0~503</comment>
  89760. </bits>
  89761. <bits access="rw" name="tx_flag" pos="6" rst="0">
  89762. <comment>2port
  89763. 0port 0 and port 1
  89764. 1only port 1</comment>
  89765. </bits>
  89766. <bits access="rw" name="tx_num" pos="5" rst="0">
  89767. <comment>01
  89768. 12</comment>
  89769. </bits>
  89770. <bits access="rw" name="cp_index" pos="4" rst="0">
  89771. <comment>CP
  89772. 0CP
  89773. 1CP</comment>
  89774. </bits>
  89775. <bits access="rw" name="crs_rssi_clr" pos="3" rst="0">
  89776. <comment>Crs_rssi</comment>
  89777. </bits>
  89778. <bits access="rw" name="last_flag" pos="2" rst="0">
  89779. <comment/>
  89780. </bits>
  89781. <bits access="rw" name="windows_clr" pos="1" rst="0">
  89782. <comment>0
  89783. 1</comment>
  89784. </bits>
  89785. <bits access="rw" name="restart" pos="0" rst="0">
  89786. <comment>0
  89787. 1
  89788. 1</comment>
  89789. </bits>
  89790. </reg>
  89791. <reg name="measpwr_id6_para1" protect="rw">
  89792. <bits access="rw" name="lnum_mod" pos="27:24" rst="0">
  89793. <comment>FFT
  89794. 4`b0000
  89795. 4`b0001
  89796. 4`b0010
  89797. .</comment>
  89798. </bits>
  89799. <bits access="rw" name="offline0_time" pos="23:20" rst="0">
  89800. <comment>OFFLINE0</comment>
  89801. </bits>
  89802. <bits access="rw" name="firstd_ofdm_flag" pos="17" rst="0">
  89803. <comment>0
  89804. 1</comment>
  89805. </bits>
  89806. <bits access="rw" name="nid" pos="16:8" rst="0">
  89807. <comment>NID 0~503</comment>
  89808. </bits>
  89809. <bits access="rw" name="tx_flag" pos="6" rst="0">
  89810. <comment>2port
  89811. 0port 0 and port 1
  89812. 1only port 1</comment>
  89813. </bits>
  89814. <bits access="rw" name="tx_num" pos="5" rst="0">
  89815. <comment>01
  89816. 12</comment>
  89817. </bits>
  89818. <bits access="rw" name="cp_index" pos="4" rst="0">
  89819. <comment>CP
  89820. 0CP
  89821. 1CP</comment>
  89822. </bits>
  89823. <bits access="rw" name="crs_rssi_clr" pos="3" rst="0">
  89824. <comment>Crs_rssi</comment>
  89825. </bits>
  89826. <bits access="rw" name="last_flag" pos="2" rst="0">
  89827. <comment/>
  89828. </bits>
  89829. <bits access="rw" name="windows_clr" pos="1" rst="0">
  89830. <comment>0
  89831. 1</comment>
  89832. </bits>
  89833. <bits access="rw" name="restart" pos="0" rst="0">
  89834. <comment>0
  89835. 1
  89836. 1</comment>
  89837. </bits>
  89838. </reg>
  89839. <reg name="measpwr_id7_para1" protect="rw">
  89840. <bits access="rw" name="lnum_mod" pos="27:24" rst="0">
  89841. <comment>FFT
  89842. 4`b0000
  89843. 4`b0001
  89844. 4`b0010
  89845. .</comment>
  89846. </bits>
  89847. <bits access="rw" name="offline0_time" pos="23:20" rst="0">
  89848. <comment>OFFLINE0</comment>
  89849. </bits>
  89850. <bits access="rw" name="firstd_ofdm_flag" pos="17" rst="0">
  89851. <comment>0
  89852. 1</comment>
  89853. </bits>
  89854. <bits access="rw" name="nid" pos="16:8" rst="0">
  89855. <comment>NID 0~503</comment>
  89856. </bits>
  89857. <bits access="rw" name="tx_flag" pos="6" rst="0">
  89858. <comment>2port
  89859. 0port 0 and port 1
  89860. 1only port 1</comment>
  89861. </bits>
  89862. <bits access="rw" name="tx_num" pos="5" rst="0">
  89863. <comment>01
  89864. 12</comment>
  89865. </bits>
  89866. <bits access="rw" name="cp_index" pos="4" rst="0">
  89867. <comment>CP
  89868. 0CP
  89869. 1CP</comment>
  89870. </bits>
  89871. <bits access="rw" name="crs_rssi_clr" pos="3" rst="0">
  89872. <comment>Crs_rssi</comment>
  89873. </bits>
  89874. <bits access="rw" name="last_flag" pos="2" rst="0">
  89875. <comment/>
  89876. </bits>
  89877. <bits access="rw" name="windows_clr" pos="1" rst="0">
  89878. <comment>0
  89879. 1</comment>
  89880. </bits>
  89881. <bits access="rw" name="restart" pos="0" rst="0">
  89882. <comment>0
  89883. 1
  89884. 1</comment>
  89885. </bits>
  89886. </reg>
  89887. <reg name="measpwr_id8_para1" protect="rw">
  89888. <bits access="rw" name="lnum_mod" pos="27:24" rst="0">
  89889. <comment>FFT
  89890. 4`b0000
  89891. 4`b0001
  89892. 4`b0010
  89893. .</comment>
  89894. </bits>
  89895. <bits access="rw" name="offline0_time" pos="23:20" rst="0">
  89896. <comment>OFFLINE0</comment>
  89897. </bits>
  89898. <bits access="rw" name="firstd_ofdm_flag" pos="17" rst="0">
  89899. <comment>0
  89900. 1</comment>
  89901. </bits>
  89902. <bits access="rw" name="nid" pos="16:8" rst="0">
  89903. <comment>NID 0~503</comment>
  89904. </bits>
  89905. <bits access="rw" name="tx_flag" pos="6" rst="0">
  89906. <comment>2port
  89907. 0port 0 and port 1
  89908. 1only port 1</comment>
  89909. </bits>
  89910. <bits access="rw" name="tx_num" pos="5" rst="0">
  89911. <comment>01
  89912. 12</comment>
  89913. </bits>
  89914. <bits access="rw" name="cp_index" pos="4" rst="0">
  89915. <comment>CP
  89916. 0CP
  89917. 1CP</comment>
  89918. </bits>
  89919. <bits access="rw" name="crs_rssi_clr" pos="3" rst="0">
  89920. <comment>Crs_rssi</comment>
  89921. </bits>
  89922. <bits access="rw" name="last_flag" pos="2" rst="0">
  89923. <comment/>
  89924. </bits>
  89925. <bits access="rw" name="windows_clr" pos="1" rst="0">
  89926. <comment>0
  89927. 1</comment>
  89928. </bits>
  89929. <bits access="rw" name="restart" pos="0" rst="0">
  89930. <comment>0
  89931. 1
  89932. 1</comment>
  89933. </bits>
  89934. </reg>
  89935. <reg name="measpwr_id_para" protect="rw">
  89936. <bits access="rw" name="offline_mod_sel" pos="28" rst="0">
  89937. <comment>Offline
  89938. 00
  89939. 11</comment>
  89940. </bits>
  89941. <bits access="rw" name="offlin_data_sel" pos="24" rst="0">
  89942. <comment>offline
  89943. 0
  89944. 1</comment>
  89945. </bits>
  89946. <bits access="rw" name="nid12_info" pos="19:4" rst="0">
  89947. <comment>NID1-2</comment>
  89948. </bits>
  89949. <bits access="rw" name="irt_soft_en" pos="3" rst="0">
  89950. <comment>IRT
  89951. 0
  89952. 1</comment>
  89953. </bits>
  89954. <bits access="rw" name="afc_soft_en" pos="2" rst="0">
  89955. <comment>AFC
  89956. 0
  89957. 1</comment>
  89958. </bits>
  89959. <bits access="rw" name="mode_sel" pos="1:0" rst="0">
  89960. <comment>0CATM
  89961. 1CAT1
  89962. 2NB
  89963. NB_LTEFFT</comment>
  89964. </bits>
  89965. </reg>
  89966. <reg name="measpwr_id_ctrl" protect="rw">
  89967. <bits access="rs" name="invalid_flag" pos="29" rst="0">
  89968. <comment>bit type is changed from r1s to rs.
  89969. NID_MAP
  89970. 0
  89971. 1</comment>
  89972. </bits>
  89973. <bits access="rs" name="nid38_info" pos="28:19" rst="0">
  89974. <comment>bit type is changed from r1s to rs.
  89975. NID3-8</comment>
  89976. </bits>
  89977. <bits access="rs" name="offline_sel" pos="8" rst="0">
  89978. <comment>bit type is changed from r1s to rs.
  89979. Offlineonline
  89980. 0online
  89981. 1offline</comment>
  89982. </bits>
  89983. <bits access="rs" name="nid8" pos="7" rst="0">
  89984. <comment>bit type is changed from r1s to rs.
  89985. ID1
  89986. 0</comment>
  89987. </bits>
  89988. <bits access="rs" name="nid7" pos="6" rst="0">
  89989. <comment>bit type is changed from r1s to rs.
  89990. ID1
  89991. 0</comment>
  89992. </bits>
  89993. <bits access="rs" name="nid6" pos="5" rst="0">
  89994. <comment>bit type is changed from r1s to rs.
  89995. ID1
  89996. 0</comment>
  89997. </bits>
  89998. <bits access="rs" name="nid5" pos="4" rst="0">
  89999. <comment>bit type is changed from r1s to rs.
  90000. ID1
  90001. 0</comment>
  90002. </bits>
  90003. <bits access="rs" name="nid4" pos="3" rst="0">
  90004. <comment>bit type is changed from r1s to rs.
  90005. ID1
  90006. 0</comment>
  90007. </bits>
  90008. <bits access="rs" name="nid3" pos="2" rst="0">
  90009. <comment>bit type is changed from r1s to rs.
  90010. ID1
  90011. 0</comment>
  90012. </bits>
  90013. <bits access="rs" name="nid2" pos="1" rst="0">
  90014. <comment>bit type is changed from r1s to rs.
  90015. ID1
  90016. 0</comment>
  90017. </bits>
  90018. <bits access="rs" name="nid1" pos="0" rst="0">
  90019. <comment>bit type is changed from r1s to rs.
  90020. ID1
  90021. 0</comment>
  90022. </bits>
  90023. </reg>
  90024. <reg name="measpwr_ctrl" protect="rw">
  90025. <bits access="rs" name="nid8_en" pos="7" rst="0">
  90026. <comment>bit type is changed from rw1s to rs.
  90027. NID8</comment>
  90028. </bits>
  90029. <bits access="rs" name="nid7_en" pos="6" rst="0">
  90030. <comment>bit type is changed from rw1s to rs.
  90031. NID7</comment>
  90032. </bits>
  90033. <bits access="rs" name="nid6_en" pos="5" rst="0">
  90034. <comment>bit type is changed from rw1s to rs.
  90035. NID6</comment>
  90036. </bits>
  90037. <bits access="rs" name="nid5_en" pos="4" rst="0">
  90038. <comment>bit type is changed from rw1s to rs.
  90039. NID5</comment>
  90040. </bits>
  90041. <bits access="rs" name="nid4_en" pos="3" rst="0">
  90042. <comment>bit type is changed from rw1s to rs.
  90043. NID4</comment>
  90044. </bits>
  90045. <bits access="rs" name="nid3_en" pos="2" rst="0">
  90046. <comment>bit type is changed from rw1s to rs.
  90047. NID3</comment>
  90048. </bits>
  90049. <bits access="rs" name="nid2_en" pos="1" rst="0">
  90050. <comment>bit type is changed from rw1s to rs.
  90051. NID2</comment>
  90052. </bits>
  90053. <bits access="rs" name="nid1_en" pos="0" rst="0">
  90054. <comment>bit type is changed from rw1s to rs.
  90055. NID1</comment>
  90056. </bits>
  90057. </reg>
  90058. <reg name="measpwr_afc1_out" protect="r">
  90059. <bits access="r" name="afc_out1" pos="15:0" rst="0">
  90060. <comment>AFC</comment>
  90061. </bits>
  90062. </reg>
  90063. <reg name="measpwr_afc2_out" protect="r">
  90064. <bits access="r" name="afc_out2" pos="15:0" rst="0">
  90065. <comment>AFC</comment>
  90066. </bits>
  90067. </reg>
  90068. <reg name="measpwr_afc3_out" protect="r">
  90069. <bits access="r" name="afc_out3" pos="15:0" rst="0">
  90070. <comment>AFC</comment>
  90071. </bits>
  90072. </reg>
  90073. <reg name="measpwr_afc4_out" protect="r">
  90074. <bits access="r" name="afc_out4" pos="15:0" rst="0">
  90075. <comment>AFC</comment>
  90076. </bits>
  90077. </reg>
  90078. <reg name="measpwr_afc5_out" protect="r">
  90079. <bits access="r" name="afc_out5" pos="15:0" rst="0">
  90080. <comment>AFC</comment>
  90081. </bits>
  90082. </reg>
  90083. <reg name="measpwr_afc1_rsrp" protect="r">
  90084. <bits access="r" name="afc_rsrp1" pos="15:0" rst="0">
  90085. <comment>AFCRSRP db</comment>
  90086. </bits>
  90087. </reg>
  90088. <reg name="measpwr_afc2_rsrp" protect="r">
  90089. <bits access="r" name="afc_rsrp2" pos="15:0" rst="0">
  90090. <comment>AFCRSRP db</comment>
  90091. </bits>
  90092. </reg>
  90093. <reg name="measpwr_afc3_rsrp" protect="r">
  90094. <bits access="r" name="afc_rsrp3" pos="15:0" rst="0">
  90095. <comment>AFCRSRP db</comment>
  90096. </bits>
  90097. </reg>
  90098. <reg name="measpwr_afc4_rsrp" protect="r">
  90099. <bits access="r" name="afc_rsrp4" pos="15:0" rst="0">
  90100. <comment>AFCRSRP db</comment>
  90101. </bits>
  90102. </reg>
  90103. <reg name="measpwr_afc5_rsrp" protect="r">
  90104. <bits access="r" name="afc_rsrp5" pos="15:0" rst="0">
  90105. <comment>AFCRSRP db</comment>
  90106. </bits>
  90107. </reg>
  90108. <reg name="measpwr_sigpwr1_out1" protect="r">
  90109. <bits access="r" name="sigpwr1_out1" pos="31:0" rst="0">
  90110. <comment>1SIGPWR</comment>
  90111. </bits>
  90112. </reg>
  90113. <reg name="measpwr_sigpwr1_out2" protect="r">
  90114. <bits access="r" name="sigpwr1_out2" pos="31:0" rst="0">
  90115. <comment>2SIGPWR</comment>
  90116. </bits>
  90117. </reg>
  90118. <reg name="measpwr_sigpwr1_out3" protect="r">
  90119. <bits access="r" name="sigpwr1_out3" pos="31:0" rst="0">
  90120. <comment>3SIGPWR</comment>
  90121. </bits>
  90122. </reg>
  90123. <reg name="measpwr_sigpwr1_out4" protect="r">
  90124. <bits access="r" name="sigpwr1_out4" pos="31:0" rst="0">
  90125. <comment>4SIGPWR</comment>
  90126. </bits>
  90127. </reg>
  90128. <reg name="measpwr_sigpwr1_out5" protect="r">
  90129. <bits access="r" name="sigpwr1_out5" pos="31:0" rst="0">
  90130. <comment>5SIGPWR</comment>
  90131. </bits>
  90132. </reg>
  90133. <reg name="measpwr_sigpwr1_out6" protect="r">
  90134. <bits access="r" name="sigpwr1_out6" pos="31:0" rst="0">
  90135. <comment>6SIGPWR</comment>
  90136. </bits>
  90137. </reg>
  90138. <reg name="measpwr_sigpwr2_out" protect="r">
  90139. <bits access="r" name="sigpwr2_out" pos="31:0" rst="0">
  90140. <comment>ID2SIGPWR</comment>
  90141. </bits>
  90142. </reg>
  90143. <reg name="measpwr_sigpwr3_out" protect="r">
  90144. <bits access="r" name="sigpwr3_out" pos="31:0" rst="0">
  90145. <comment>ID3SIGPWR</comment>
  90146. </bits>
  90147. </reg>
  90148. <reg name="measpwr_sigpwr4_out4" protect="r">
  90149. <bits access="r" name="sigpwr4_out" pos="31:0" rst="0">
  90150. <comment>ID4SIGPWR</comment>
  90151. </bits>
  90152. </reg>
  90153. <reg name="measpwr_sigpwr5_out5" protect="r">
  90154. <bits access="r" name="sigpwr5_out" pos="31:0" rst="0">
  90155. <comment>ID5SIGPWR</comment>
  90156. </bits>
  90157. </reg>
  90158. <reg name="measpwr_sigma1_out1" protect="r">
  90159. <bits access="r" name="sigma1_out1" pos="31:0" rst="0">
  90160. <comment>1SIGMA</comment>
  90161. </bits>
  90162. </reg>
  90163. <reg name="measpwr_sigma1_agc_out1" protect="r">
  90164. <bits access="r" name="sinr1_log_out1" pos="26:16" rst="0">
  90165. <comment>1SINR LOG</comment>
  90166. </bits>
  90167. <bits access="r" name="baseagc1_out1" pos="9:0" rst="0">
  90168. <comment>1SIGMAAGC</comment>
  90169. </bits>
  90170. </reg>
  90171. <reg name="measpwr_sigma1_out2" protect="r">
  90172. <bits access="r" name="sigma1_out2" pos="31:0" rst="0">
  90173. <comment>2SIGMA</comment>
  90174. </bits>
  90175. </reg>
  90176. <reg name="measpwr_sigma1_agc_out2" protect="r">
  90177. <bits access="r" name="sinr1_log_out2" pos="26:16" rst="0">
  90178. <comment>2SINR LOG</comment>
  90179. </bits>
  90180. <bits access="r" name="baseagc1_out2" pos="9:0" rst="0">
  90181. <comment>2SIGMAAGC</comment>
  90182. </bits>
  90183. </reg>
  90184. <reg name="measpwr_sigma1_out3" protect="r">
  90185. <bits access="r" name="sigma1_out3" pos="31:0" rst="0">
  90186. <comment>3SIGMA</comment>
  90187. </bits>
  90188. </reg>
  90189. <reg name="measpwr_sigma1_agc_out3" protect="r">
  90190. <bits access="r" name="sinr1_log_out3" pos="26:16" rst="0">
  90191. <comment>3SINR LOG</comment>
  90192. </bits>
  90193. <bits access="r" name="baseagc1_out3" pos="9:0" rst="0">
  90194. <comment>3SIGMAAGC</comment>
  90195. </bits>
  90196. </reg>
  90197. <reg name="measpwr_sigma1_out4" protect="r">
  90198. <bits access="r" name="sigma1_out4" pos="31:0" rst="0">
  90199. <comment>4SIGMA</comment>
  90200. </bits>
  90201. </reg>
  90202. <reg name="measpwr_sigma1_agc_out4" protect="r">
  90203. <bits access="r" name="sinr1_log_out4" pos="26:16" rst="0">
  90204. <comment>4SINR LOG</comment>
  90205. </bits>
  90206. <bits access="r" name="baseagc1_out4" pos="9:0" rst="0">
  90207. <comment>4SIGMAAGC</comment>
  90208. </bits>
  90209. </reg>
  90210. <reg name="measpwr_sigma1_out5" protect="r">
  90211. <bits access="r" name="sigma1_out5" pos="31:0" rst="0">
  90212. <comment>SIGMA</comment>
  90213. </bits>
  90214. </reg>
  90215. <reg name="measpwr_sigma1_agc_out5" protect="r">
  90216. <bits access="r" name="sinr1_log_out5" pos="26:16" rst="0">
  90217. <comment>5SINR LOG</comment>
  90218. </bits>
  90219. <bits access="r" name="baseagc1_out5" pos="9:0" rst="0">
  90220. <comment>SIGMAAGC</comment>
  90221. </bits>
  90222. </reg>
  90223. <reg name="measpwr_sigma1_out6" protect="r">
  90224. <bits access="r" name="sigma1_out6" pos="31:0" rst="0">
  90225. <comment>ID1SIGMA</comment>
  90226. </bits>
  90227. </reg>
  90228. <reg name="measpwr_sigma1_agc_out6" protect="r">
  90229. <bits access="r" name="sinr1_log_out6" pos="26:16" rst="0">
  90230. <comment>6SINR LOG</comment>
  90231. </bits>
  90232. <bits access="r" name="baseagc1_out6" pos="9:0" rst="0">
  90233. <comment>ID1SIGMAAGC</comment>
  90234. </bits>
  90235. </reg>
  90236. <reg name="measpwr_sigma2_out" protect="r">
  90237. <bits access="r" name="sigma2_out" pos="31:0" rst="0">
  90238. <comment>ID2SIGMA</comment>
  90239. </bits>
  90240. </reg>
  90241. <reg name="measpwr_sigma2_agc_out" protect="r">
  90242. <bits access="r" name="sinr2_log_out" pos="26:16" rst="0">
  90243. <comment>ID2SINR LOG</comment>
  90244. </bits>
  90245. <bits access="r" name="baseagc2_out" pos="9:0" rst="0">
  90246. <comment>ID2SIGMAAGC</comment>
  90247. </bits>
  90248. </reg>
  90249. <reg name="measpwr_sigma3_out" protect="r">
  90250. <bits access="r" name="sigma3_out" pos="31:0" rst="0">
  90251. <comment>ID3SIGMA</comment>
  90252. </bits>
  90253. </reg>
  90254. <reg name="measpwr_sigma3_agc_out" protect="r">
  90255. <bits access="r" name="sinr3_log_out" pos="26:16" rst="0">
  90256. <comment>ID3SINR LOG</comment>
  90257. </bits>
  90258. <bits access="r" name="baseagc3_out" pos="9:0" rst="0">
  90259. <comment>ID3SIGMAAGC</comment>
  90260. </bits>
  90261. </reg>
  90262. <reg name="measpwr_sigma4_out" protect="r">
  90263. <bits access="r" name="sigma4_out" pos="31:0" rst="0">
  90264. <comment>ID4SIGMA</comment>
  90265. </bits>
  90266. </reg>
  90267. <reg name="measpwr_sigma4_agc_out" protect="r">
  90268. <bits access="r" name="sinr4_log_out" pos="26:16" rst="0">
  90269. <comment>ID4SINR LOG</comment>
  90270. </bits>
  90271. <bits access="r" name="baseagc4_out" pos="9:0" rst="0">
  90272. <comment>ID4SIGMAAGC</comment>
  90273. </bits>
  90274. </reg>
  90275. <reg name="measpwr_sigma5_out" protect="r">
  90276. <bits access="r" name="sigma5_out" pos="31:0" rst="0">
  90277. <comment>ID5SIGMA</comment>
  90278. </bits>
  90279. </reg>
  90280. <reg name="measpwr_sigma5_agc_out" protect="r">
  90281. <bits access="r" name="sinr5_log_out" pos="26:16" rst="0">
  90282. <comment>ID5SINR LOG</comment>
  90283. </bits>
  90284. <bits access="r" name="baseagc5_out" pos="9:0" rst="0">
  90285. <comment>ID5SIGMAAGC</comment>
  90286. </bits>
  90287. </reg>
  90288. <reg name="measpwr_sinr1_out1" protect="r">
  90289. <bits access="r" name="sinr1_out1" pos="31:0" rst="0">
  90290. <comment>1SINR</comment>
  90291. </bits>
  90292. </reg>
  90293. <reg name="measpwr_sinr1_out2" protect="r">
  90294. <bits access="r" name="sinr1_out2" pos="31:0" rst="0">
  90295. <comment>2SINR</comment>
  90296. </bits>
  90297. </reg>
  90298. <reg name="measpwr_sinr1_out3" protect="r">
  90299. <bits access="r" name="sinr1_out3" pos="31:0" rst="0">
  90300. <comment>3SINR</comment>
  90301. </bits>
  90302. </reg>
  90303. <reg name="measpwr_sinr1_out4" protect="r">
  90304. <bits access="r" name="sinr1_out4" pos="31:0" rst="0">
  90305. <comment>4SINR</comment>
  90306. </bits>
  90307. </reg>
  90308. <reg name="measpwr_sinr1_out5" protect="r">
  90309. <bits access="r" name="sinr1_out5" pos="31:0" rst="0">
  90310. <comment>SINR</comment>
  90311. </bits>
  90312. </reg>
  90313. <reg name="measpwr_sinr1_out6" protect="r">
  90314. <bits access="r" name="sinr1_out" pos="31:0" rst="0">
  90315. <comment>ID1SINR</comment>
  90316. </bits>
  90317. </reg>
  90318. <reg name="measpwr_sinr2_out" protect="r">
  90319. <bits access="r" name="sinr2_out" pos="31:0" rst="0">
  90320. <comment>ID2SINR</comment>
  90321. </bits>
  90322. </reg>
  90323. <reg name="measpwr_sinr3_out" protect="r">
  90324. <bits access="r" name="sinr3_out" pos="31:0" rst="0">
  90325. <comment>ID3SINR</comment>
  90326. </bits>
  90327. </reg>
  90328. <reg name="measpwr_sinr4_out" protect="r">
  90329. <bits access="r" name="sinr4_out" pos="31:0" rst="0">
  90330. <comment>ID4SINR</comment>
  90331. </bits>
  90332. </reg>
  90333. <reg name="measpwr_sinr5_out" protect="r">
  90334. <bits access="r" name="sinr5_out" pos="31:0" rst="0">
  90335. <comment>ID5SINR</comment>
  90336. </bits>
  90337. </reg>
  90338. <reg name="measpwr_doppler1_out" protect="r">
  90339. <bits access="r" name="hls_agc_base1" pos="25:16" rst="0">
  90340. <comment>hls_agc_base</comment>
  90341. </bits>
  90342. <bits access="r" name="doppler1_out" pos="10:0" rst="0">
  90343. <comment>DOPPLER</comment>
  90344. </bits>
  90345. </reg>
  90346. <reg name="measpwr_doppler2_out" protect="r">
  90347. <bits access="r" name="hls_agc_base2" pos="25:16" rst="0">
  90348. <comment>hls_agc_base</comment>
  90349. </bits>
  90350. <bits access="r" name="doppler2_out" pos="10:0" rst="0">
  90351. <comment>DOPPLER</comment>
  90352. </bits>
  90353. </reg>
  90354. <reg name="measpwr_rsrp1_out" protect="r">
  90355. <bits access="r" name="rsrp_liner" pos="31:0" rst="0">
  90356. <comment>RSRP</comment>
  90357. </bits>
  90358. </reg>
  90359. <reg name="measpwr_rsrp1_db" protect="r">
  90360. <bits access="r" name="rsrp_pwr_db" pos="15:0" rst="0">
  90361. <comment>RSRPdB</comment>
  90362. </bits>
  90363. </reg>
  90364. <reg name="measpwr_rsrp1_scale" protect="rw">
  90365. <bits access="rw" name="scale_rsrp" pos="31:0" rst="0">
  90366. <comment>Scale</comment>
  90367. </bits>
  90368. </reg>
  90369. <reg name="measpwr_rsrp1_scale_db" protect="rw">
  90370. <bits access="rw" name="scale_rsrp_db" pos="15:0" rst="0">
  90371. <comment>ScaledB</comment>
  90372. </bits>
  90373. </reg>
  90374. <reg name="measpwr_rsrq1_db" protect="r">
  90375. <bits access="r" name="rsrq_db" pos="15:0" rst="0">
  90376. <comment>RSRQdBOFDM</comment>
  90377. </bits>
  90378. </reg>
  90379. <reg name="measpwr_rssi1_out" protect="r">
  90380. <bits access="r" name="rssi" pos="31:0" rst="0">
  90381. <comment>RSSIRSSI AGC</comment>
  90382. </bits>
  90383. </reg>
  90384. <reg name="measpwr_rssi1_db" protect="r">
  90385. <bits access="r" name="rssi_db" pos="15:0" rst="0">
  90386. <comment>RSSIdBOFDM</comment>
  90387. </bits>
  90388. </reg>
  90389. <reg name="measpwr_rsrp2_out" protect="r">
  90390. <bits access="r" name="rsrp_liner" pos="31:0" rst="0">
  90391. <comment>RSRP</comment>
  90392. </bits>
  90393. </reg>
  90394. <reg name="measpwr_rsrp2_db" protect="r">
  90395. <bits access="r" name="rsrp_pwr_db" pos="15:0" rst="0">
  90396. <comment>RSRPdB</comment>
  90397. </bits>
  90398. </reg>
  90399. <reg name="measpwr_rsrp2_scale" protect="rw">
  90400. <bits access="rw" name="scale_rsrp" pos="31:0" rst="0">
  90401. <comment>Scale</comment>
  90402. </bits>
  90403. </reg>
  90404. <reg name="measpwr_rsrp2_scale_db" protect="rw">
  90405. <bits access="rw" name="scale_rsrp_db" pos="15:0" rst="0">
  90406. <comment>ScaledB</comment>
  90407. </bits>
  90408. </reg>
  90409. <reg name="measpwr_rsrq2_db" protect="r">
  90410. <bits access="r" name="rsrq_db" pos="15:0" rst="0">
  90411. <comment>RSRQdBOFDM</comment>
  90412. </bits>
  90413. </reg>
  90414. <reg name="measpwr_rssi2_out" protect="r">
  90415. <bits access="r" name="rssi" pos="31:0" rst="0">
  90416. <comment>RSSIRSSI AGC</comment>
  90417. </bits>
  90418. </reg>
  90419. <reg name="measpwr_rssi2_db" protect="r">
  90420. <bits access="r" name="rssi_db" pos="15:0" rst="0">
  90421. <comment>RSSIdBOFDM</comment>
  90422. </bits>
  90423. </reg>
  90424. <reg name="measpwr_rsrp3_out" protect="r">
  90425. <bits access="r" name="rsrp_liner" pos="31:0" rst="0">
  90426. <comment>RSRP</comment>
  90427. </bits>
  90428. </reg>
  90429. <reg name="measpwr_rsrp3_db" protect="r">
  90430. <bits access="r" name="rsrp_pwr_db" pos="15:0" rst="0">
  90431. <comment>RSRPdB</comment>
  90432. </bits>
  90433. </reg>
  90434. <reg name="measpwr_rsrp3_scale" protect="rw">
  90435. <bits access="rw" name="scale_rsrp" pos="31:0" rst="0">
  90436. <comment>Scale</comment>
  90437. </bits>
  90438. </reg>
  90439. <reg name="measpwr_rsrp3_scale_db" protect="rw">
  90440. <bits access="rw" name="scale_rsrp_db" pos="15:0" rst="0">
  90441. <comment>ScaledB</comment>
  90442. </bits>
  90443. </reg>
  90444. <reg name="measpwr_rsrq3_db" protect="r">
  90445. <bits access="r" name="rsrq_db" pos="15:0" rst="0">
  90446. <comment>RSRQdBOFDM</comment>
  90447. </bits>
  90448. </reg>
  90449. <reg name="measpwr_rssi3_out" protect="r">
  90450. <bits access="r" name="rssi" pos="31:0" rst="0">
  90451. <comment>RSSIRSSI AGC</comment>
  90452. </bits>
  90453. </reg>
  90454. <reg name="measpwr_rssi3_db" protect="r">
  90455. <bits access="r" name="rssi_db" pos="15:0" rst="0">
  90456. <comment>RSSIdBOFDM</comment>
  90457. </bits>
  90458. </reg>
  90459. <reg name="measpwr_rsrp4_out" protect="r">
  90460. <bits access="r" name="rsrp_liner" pos="31:0" rst="0">
  90461. <comment>RSRP</comment>
  90462. </bits>
  90463. </reg>
  90464. <reg name="measpwr_rsrp4_db" protect="r">
  90465. <bits access="r" name="rsrp_pwr_db" pos="15:0" rst="0">
  90466. <comment>RSRPdB</comment>
  90467. </bits>
  90468. </reg>
  90469. <reg name="measpwr_rsrp4_scale" protect="rw">
  90470. <bits access="rw" name="scale_rsrp" pos="31:0" rst="0">
  90471. <comment>Scale</comment>
  90472. </bits>
  90473. </reg>
  90474. <reg name="measpwr_rsrp4_scale_db" protect="rw">
  90475. <bits access="rw" name="scale_rsrp_db" pos="15:0" rst="0">
  90476. <comment>ScaledB</comment>
  90477. </bits>
  90478. </reg>
  90479. <reg name="measpwr_rsrq4_db" protect="r">
  90480. <bits access="r" name="rsrq_db" pos="15:0" rst="0">
  90481. <comment>RSRQdBOFDM</comment>
  90482. </bits>
  90483. </reg>
  90484. <reg name="measpwr_rssi4_out" protect="r">
  90485. <bits access="r" name="rssi" pos="31:0" rst="0">
  90486. <comment>RSSIRSSI AGC</comment>
  90487. </bits>
  90488. </reg>
  90489. <reg name="measpwr_rssi4_db" protect="r">
  90490. <bits access="r" name="rssi_db" pos="15:0" rst="0">
  90491. <comment>RSSIdBOFDM</comment>
  90492. </bits>
  90493. </reg>
  90494. <reg name="measpwr_rsrp5_out" protect="r">
  90495. <bits access="r" name="rsrp_liner" pos="31:0" rst="0">
  90496. <comment>RSRP</comment>
  90497. </bits>
  90498. </reg>
  90499. <reg name="measpwr_rsrp5_db" protect="r">
  90500. <bits access="r" name="rsrp_pwr_db" pos="15:0" rst="0">
  90501. <comment>RSRPdB</comment>
  90502. </bits>
  90503. </reg>
  90504. <reg name="measpwr_rsrp5_scale" protect="rw">
  90505. <bits access="rw" name="scale_rsrp" pos="31:0" rst="0">
  90506. <comment>Scale</comment>
  90507. </bits>
  90508. </reg>
  90509. <reg name="measpwr_rsrp5_scale_db" protect="rw">
  90510. <bits access="rw" name="scale_rsrp_db" pos="15:0" rst="0">
  90511. <comment>ScaledB</comment>
  90512. </bits>
  90513. </reg>
  90514. <reg name="measpwr_rsrq5_db" protect="r">
  90515. <bits access="r" name="rsrq_db" pos="15:0" rst="0">
  90516. <comment>RSRQdBOFDM</comment>
  90517. </bits>
  90518. </reg>
  90519. <reg name="measpwr_rssi5_out" protect="r">
  90520. <bits access="r" name="rssi" pos="31:0" rst="0">
  90521. <comment>RSSIRSSI AGC</comment>
  90522. </bits>
  90523. </reg>
  90524. <reg name="measpwr_rssi5_db" protect="r">
  90525. <bits access="r" name="rssi_db" pos="15:0" rst="0">
  90526. <comment>RSSIdBOFDM</comment>
  90527. </bits>
  90528. </reg>
  90529. <reg name="measpwr_rsrp6_out" protect="r">
  90530. <bits access="r" name="rsrp_liner" pos="31:0" rst="0">
  90531. <comment>RSRP</comment>
  90532. </bits>
  90533. </reg>
  90534. <reg name="measpwr_rsrp6_db" protect="r">
  90535. <bits access="r" name="rsrp_pwr_db" pos="15:0" rst="0">
  90536. <comment>RSRPdB</comment>
  90537. </bits>
  90538. </reg>
  90539. <reg name="measpwr_rsrp6_scale" protect="rw">
  90540. <bits access="rw" name="scale_rsrp" pos="31:0" rst="0">
  90541. <comment>Scale</comment>
  90542. </bits>
  90543. </reg>
  90544. <reg name="measpwr_rsrp6_scale_db" protect="rw">
  90545. <bits access="rw" name="scale_rsrp_db" pos="15:0" rst="0">
  90546. <comment>ScaledB</comment>
  90547. </bits>
  90548. </reg>
  90549. <reg name="measpwr_rsrq6_db" protect="r">
  90550. <bits access="r" name="rsrq_db" pos="15:0" rst="0">
  90551. <comment>RSRQdBOFDM</comment>
  90552. </bits>
  90553. </reg>
  90554. <reg name="measpwr_rssi6_out" protect="r">
  90555. <bits access="r" name="rssi" pos="31:0" rst="0">
  90556. <comment>RSSIRSSI AGC</comment>
  90557. </bits>
  90558. </reg>
  90559. <reg name="measpwr_rssi6_db" protect="r">
  90560. <bits access="r" name="rssi_db" pos="15:0" rst="0">
  90561. <comment>RSSIdBOFDM</comment>
  90562. </bits>
  90563. </reg>
  90564. <reg name="measpwr_rsrp7_out" protect="r">
  90565. <bits access="r" name="rsrp_liner" pos="31:0" rst="0">
  90566. <comment>RSRP</comment>
  90567. </bits>
  90568. </reg>
  90569. <reg name="measpwr_rsrp7_db" protect="r">
  90570. <bits access="r" name="rsrp_pwr_db" pos="15:0" rst="0">
  90571. <comment>RSRPdB</comment>
  90572. </bits>
  90573. </reg>
  90574. <reg name="measpwr_rsrp7_scale" protect="rw">
  90575. <bits access="rw" name="scale_rsrp" pos="31:0" rst="0">
  90576. <comment>Scale</comment>
  90577. </bits>
  90578. </reg>
  90579. <reg name="measpwr_rsrp7_scale_db" protect="rw">
  90580. <bits access="rw" name="scale_rsrp_db" pos="15:0" rst="0">
  90581. <comment>ScaledB</comment>
  90582. </bits>
  90583. </reg>
  90584. <reg name="measpwr_rsrq7_db" protect="r">
  90585. <bits access="r" name="rsrq_db" pos="15:0" rst="0">
  90586. <comment>RSRQdBOFDM</comment>
  90587. </bits>
  90588. </reg>
  90589. <reg name="measpwr_rssi7_out" protect="r">
  90590. <bits access="r" name="rssi" pos="31:0" rst="0">
  90591. <comment>RSSIRSSI AGC</comment>
  90592. </bits>
  90593. </reg>
  90594. <reg name="measpwr_rssi7_db" protect="r">
  90595. <bits access="r" name="rssi_db" pos="15:0" rst="0">
  90596. <comment>RSSIdBOFDM</comment>
  90597. </bits>
  90598. </reg>
  90599. <reg name="measpwr_rsrp8_out" protect="r">
  90600. <bits access="r" name="rsrp_liner" pos="31:0" rst="0">
  90601. <comment>RSRP</comment>
  90602. </bits>
  90603. </reg>
  90604. <reg name="measpwr_rsrp8_db" protect="r">
  90605. <bits access="r" name="rsrp_pwr_db" pos="15:0" rst="0">
  90606. <comment>RSRPdB</comment>
  90607. </bits>
  90608. </reg>
  90609. <reg name="measpwr_rsrp8_scale" protect="rw">
  90610. <bits access="rw" name="scale_rsrp" pos="31:0" rst="0">
  90611. <comment>Scale</comment>
  90612. </bits>
  90613. </reg>
  90614. <reg name="measpwr_rsrp8_scale_db" protect="rw">
  90615. <bits access="rw" name="scale_rsrp_db" pos="15:0" rst="0">
  90616. <comment>ScaledB</comment>
  90617. </bits>
  90618. </reg>
  90619. <reg name="measpwr_rsrq8_db" protect="r">
  90620. <bits access="r" name="rsrq_db" pos="15:0" rst="0">
  90621. <comment>RSRQdBOFDM</comment>
  90622. </bits>
  90623. </reg>
  90624. <reg name="measpwr_rssi8_out" protect="r">
  90625. <bits access="r" name="rssi" pos="31:0" rst="0">
  90626. <comment>RSSIRSSI AGC</comment>
  90627. </bits>
  90628. </reg>
  90629. <reg name="measpwr_rssi8_db" protect="r">
  90630. <bits access="r" name="rssi_db" pos="15:0" rst="0">
  90631. <comment>RSSIdBOFDM</comment>
  90632. </bits>
  90633. </reg>
  90634. <reg name="measpwr_irt1_delay" protect="r">
  90635. <bits access="r" name="irt_delay" pos="15:0" rst="0">
  90636. <comment/>
  90637. </bits>
  90638. </reg>
  90639. <reg name="measpwr_irt1outflag" protect="r">
  90640. <bits access="r" name="irt_validflag" pos="12" rst="0">
  90641. <comment>Irt_scale
  90642. 1
  90643. 0</comment>
  90644. </bits>
  90645. <bits access="r" name="subf_num" pos="8:0" rst="0">
  90646. <comment>IRTscale</comment>
  90647. </bits>
  90648. </reg>
  90649. <reg name="measpwr_irt1_scale" protect="r">
  90650. <bits access="r" name="irt_scale" pos="31:0" rst="0">
  90651. <comment>IRT scale</comment>
  90652. </bits>
  90653. </reg>
  90654. <reg name="measpwr_irt2_delay" protect="r">
  90655. <bits access="r" name="irt_delay" pos="15:0" rst="0">
  90656. <comment/>
  90657. </bits>
  90658. </reg>
  90659. <reg name="measpwr_irt2outflag" protect="r">
  90660. <bits access="r" name="irt_validflag" pos="12" rst="0">
  90661. <comment>Irt_scale
  90662. 1
  90663. 0</comment>
  90664. </bits>
  90665. <bits access="r" name="subf_num" pos="8:0" rst="0">
  90666. <comment>IRTscale</comment>
  90667. </bits>
  90668. </reg>
  90669. <reg name="measpwr_irt2_scale" protect="r">
  90670. <bits access="r" name="irt_scale" pos="31:0" rst="0">
  90671. <comment>IRT scale</comment>
  90672. </bits>
  90673. </reg>
  90674. <reg name="measpwr_irt3_delay" protect="r">
  90675. <bits access="r" name="irt_delay" pos="15:0" rst="0">
  90676. <comment/>
  90677. </bits>
  90678. </reg>
  90679. <reg name="measpwr_irt3outflag" protect="r">
  90680. <bits access="r" name="irt_validflag" pos="12" rst="0">
  90681. <comment>Irt_scale
  90682. 1
  90683. 0</comment>
  90684. </bits>
  90685. <bits access="r" name="subf_num" pos="8:0" rst="0">
  90686. <comment>IRTscale</comment>
  90687. </bits>
  90688. </reg>
  90689. <reg name="measpwr_irt3_scale" protect="r">
  90690. <bits access="r" name="irt_scale" pos="31:0" rst="0">
  90691. <comment>IRT scale</comment>
  90692. </bits>
  90693. </reg>
  90694. <reg name="measpwr_irt4_delay" protect="r">
  90695. <bits access="r" name="irt_delay" pos="15:0" rst="0">
  90696. <comment/>
  90697. </bits>
  90698. </reg>
  90699. <reg name="measpwr_irt4outflag" protect="r">
  90700. <bits access="r" name="irt_validflag" pos="12" rst="0">
  90701. <comment>Irt_scale
  90702. 1
  90703. 0</comment>
  90704. </bits>
  90705. <bits access="r" name="subf_num" pos="8:0" rst="0">
  90706. <comment>IRTscale</comment>
  90707. </bits>
  90708. </reg>
  90709. <reg name="measpwr_irt4_scale" protect="r">
  90710. <bits access="r" name="irt_scale" pos="31:0" rst="0">
  90711. <comment>IRT scale</comment>
  90712. </bits>
  90713. </reg>
  90714. <reg name="measpwr_irt5_delay" protect="r">
  90715. <bits access="r" name="irt_delay" pos="15:0" rst="0">
  90716. <comment/>
  90717. </bits>
  90718. </reg>
  90719. <reg name="measpwr_irt5outflag" protect="r">
  90720. <bits access="r" name="irt_validflag" pos="12" rst="0">
  90721. <comment>Irt_scale
  90722. 1
  90723. 0</comment>
  90724. </bits>
  90725. <bits access="r" name="subf_num" pos="8:0" rst="0">
  90726. <comment>IRTscale</comment>
  90727. </bits>
  90728. </reg>
  90729. <reg name="measpwr_irt5_scale" protect="r">
  90730. <bits access="r" name="irt_scale" pos="31:0" rst="0">
  90731. <comment>IRT scale</comment>
  90732. </bits>
  90733. </reg>
  90734. <reg name="measpwr_irt6_delay" protect="r">
  90735. <bits access="r" name="irt_delay" pos="15:0" rst="0">
  90736. <comment/>
  90737. </bits>
  90738. </reg>
  90739. <reg name="measpwr_irt6outflag" protect="r">
  90740. <bits access="r" name="irt_validflag" pos="12" rst="0">
  90741. <comment>Irt_scale
  90742. 1
  90743. 0</comment>
  90744. </bits>
  90745. <bits access="r" name="subf_num" pos="8:0" rst="0">
  90746. <comment>IRTscale</comment>
  90747. </bits>
  90748. </reg>
  90749. <reg name="measpwr_irt6_scale" protect="r">
  90750. <bits access="r" name="irt_scale" pos="31:0" rst="0">
  90751. <comment>IRT scale</comment>
  90752. </bits>
  90753. </reg>
  90754. <reg name="measpwr_irt7_delay" protect="r">
  90755. <bits access="r" name="irt_delay" pos="15:0" rst="0">
  90756. <comment/>
  90757. </bits>
  90758. </reg>
  90759. <reg name="measpwr_irt7outflag" protect="r">
  90760. <bits access="r" name="irt_validflag" pos="12" rst="0">
  90761. <comment>Irt_scale
  90762. 1
  90763. 0</comment>
  90764. </bits>
  90765. <bits access="r" name="subf_num" pos="8:0" rst="0">
  90766. <comment>IRTscale</comment>
  90767. </bits>
  90768. </reg>
  90769. <reg name="measpwr_irt7_scale" protect="r">
  90770. <bits access="r" name="irt_scale" pos="31:0" rst="0">
  90771. <comment>IRT scale</comment>
  90772. </bits>
  90773. </reg>
  90774. <reg name="measpwr_irt8_delay" protect="r">
  90775. <bits access="r" name="irt_delay" pos="15:0" rst="0">
  90776. <comment/>
  90777. </bits>
  90778. </reg>
  90779. <reg name="measpwr_irt8outflag" protect="r">
  90780. <bits access="r" name="irt_validflag" pos="12" rst="0">
  90781. <comment>Irt_scale
  90782. 1
  90783. 0</comment>
  90784. </bits>
  90785. <bits access="r" name="subf_num" pos="8:0" rst="0">
  90786. <comment>IRTscale</comment>
  90787. </bits>
  90788. </reg>
  90789. <reg name="measpwr_irt8_scale" protect="r">
  90790. <bits access="r" name="irt_scale" pos="31:0" rst="0">
  90791. <comment>IRT scale</comment>
  90792. </bits>
  90793. </reg>
  90794. <reg name="measpwr_trms1_out" protect="r">
  90795. <bits access="r" name="trms_delay" pos="15:0" rst="0">
  90796. <comment/>
  90797. </bits>
  90798. </reg>
  90799. <reg name="measpwr_trms2_out" protect="r">
  90800. <bits access="r" name="trms_delay" pos="15:0" rst="0">
  90801. <comment/>
  90802. </bits>
  90803. </reg>
  90804. <reg name="measpwr_id_info" protect="r">
  90805. <bits access="r" name="id2_info" pos="31:16" rst="0">
  90806. <comment>ID2</comment>
  90807. </bits>
  90808. <bits access="r" name="id1_info" pos="15:0" rst="0">
  90809. <comment>ID1</comment>
  90810. </bits>
  90811. </reg>
  90812. <reg name="measpwr_rbis_para" protect="rw">
  90813. <bits access="rw" name="rbis_correct" pos="29" rst="0">
  90814. <comment>ID1-2 RBIS CORRECT
  90815. 0
  90816. 1</comment>
  90817. </bits>
  90818. <bits access="rw" name="rbis_judge" pos="28" rst="0">
  90819. <comment>ID1-2 RBIS JUDGE
  90820. 0
  90821. 1</comment>
  90822. </bits>
  90823. <bits access="rw" name="rbis_en" pos="27" rst="0">
  90824. <comment>ID1-2 RBIS
  90825. 0
  90826. 1</comment>
  90827. </bits>
  90828. <bits access="rw" name="rbis_posen" pos="26" rst="0">
  90829. <comment>ID1-2 RBIS
  90830. 0
  90831. 1</comment>
  90832. </bits>
  90833. <bits access="rw" name="rbis_num" pos="25:23" rst="0">
  90834. <comment>ID1-2 RBIS
  90835. 01
  90836. 12
  90837. 23
  90838. 34
  90839. 45</comment>
  90840. </bits>
  90841. <bits access="rw" name="rbis_dipos" pos="22:16" rst="0">
  90842. <comment>ID1-2 RBIS</comment>
  90843. </bits>
  90844. <bits access="rw" name="rbis_factor" pos="15:0" rst="0">
  90845. <comment>ID1-2 RBIS</comment>
  90846. </bits>
  90847. </reg>
  90848. <reg name="measpwr_rbis_out1" protect="r">
  90849. <bits access="r" name="rbis_out3" pos="30:24" rst="0">
  90850. <comment>ID14RBIPRB</comment>
  90851. </bits>
  90852. <bits access="r" name="rbis_out2" pos="22:16" rst="0">
  90853. <comment>ID13RBIPRB</comment>
  90854. </bits>
  90855. <bits access="r" name="rbis_out1" pos="14:8" rst="0">
  90856. <comment>ID12RBIPRB</comment>
  90857. </bits>
  90858. <bits access="r" name="rbis_out0" pos="6:0" rst="0">
  90859. <comment>ID11RBIPRB</comment>
  90860. </bits>
  90861. </reg>
  90862. <reg name="measpwr_rbis_out2" protect="r">
  90863. <bits access="r" name="rbis_num" pos="10:8" rst="0">
  90864. <comment>ID1 RBIS JUDGE</comment>
  90865. </bits>
  90866. <bits access="r" name="rbis_out4" pos="6:0" rst="0">
  90867. <comment>ID15RBIPRB</comment>
  90868. </bits>
  90869. </reg>
  90870. <reg name="measpwr_rbis_ave" protect="r">
  90871. <bits access="r" name="rbis_ave" pos="31:0" rst="0">
  90872. <comment>ID1 RBIS</comment>
  90873. </bits>
  90874. </reg>
  90875. <reg name="measpwr_rbis_max" protect="r">
  90876. <bits access="r" name="rbis_max" pos="24:0" rst="0">
  90877. <comment>ID1 RBIS</comment>
  90878. </bits>
  90879. </reg>
  90880. <reg name="measpwr_rx_irt" protect="r">
  90881. <bits access="r" name="id2_offset4" pos="30:21" rst="0">
  90882. <comment>ID2 offset4</comment>
  90883. </bits>
  90884. <bits access="r" name="id2_rx_irt" pos="20:16" rst="0">
  90885. <comment>ID2 RX IRT</comment>
  90886. </bits>
  90887. <bits access="r" name="id1_offset4" pos="14:5" rst="0">
  90888. <comment>ID1 offset4</comment>
  90889. </bits>
  90890. <bits access="r" name="id1_rx_irt" pos="4:0" rst="0">
  90891. <comment>ID1 RX IRT</comment>
  90892. </bits>
  90893. </reg>
  90894. <reg name="measpwr_debug1" protect="r">
  90895. <bits access="r" name="debug_rev_flag" pos="23" rst="0">
  90896. <comment>debug_rev_flag</comment>
  90897. </bits>
  90898. <bits access="r" name="debug_update_flag" pos="22" rst="0">
  90899. <comment>debug_update_flag</comment>
  90900. </bits>
  90901. <bits access="r" name="id_update" pos="21" rst="0">
  90902. <comment>id_update</comment>
  90903. </bits>
  90904. <bits access="r" name="offset2_update" pos="20" rst="0">
  90905. <comment>offset2_update</comment>
  90906. </bits>
  90907. <bits access="r" name="din_id_sel" pos="18:16" rst="0">
  90908. <comment>din_id_sel</comment>
  90909. </bits>
  90910. <bits access="r" name="datagen_state" pos="14:4" rst="0">
  90911. <comment>datagen_state</comment>
  90912. </bits>
  90913. <bits access="r" name="datain_state" pos="2:0" rst="0">
  90914. <comment>datain_state</comment>
  90915. </bits>
  90916. </reg>
  90917. <reg name="measpwr_debug2" protect="r">
  90918. <bits access="r" name="inmem_in_act" pos="31" rst="0">
  90919. <comment>inmem_in_act</comment>
  90920. </bits>
  90921. <bits access="r" name="invalid_data_cont" pos="30:16" rst="0">
  90922. <comment>invalid_data_cont</comment>
  90923. </bits>
  90924. <bits access="r" name="inmem_cont" pos="15:0" rst="0">
  90925. <comment>inmem_cont</comment>
  90926. </bits>
  90927. </reg>
  90928. <reg name="measpwr_debug3" protect="r">
  90929. <bits access="r" name="datain_state_cur" pos="26:24" rst="0">
  90930. <comment>datain_state_cur</comment>
  90931. </bits>
  90932. <bits access="r" name="func_id_sel" pos="22:20" rst="0">
  90933. <comment>func_id_sel</comment>
  90934. </bits>
  90935. <bits access="r" name="pow_state" pos="16:12" rst="0">
  90936. <comment>pow_state</comment>
  90937. </bits>
  90938. <bits access="r" name="func_state" pos="8:0" rst="0">
  90939. <comment>func_state</comment>
  90940. </bits>
  90941. </reg>
  90942. <reg name="measpwr_sigpwr6_out" protect="r">
  90943. <bits access="r" name="sigpwr6_out" pos="31:0" rst="0">
  90944. <comment>ID6SIGPWR</comment>
  90945. </bits>
  90946. </reg>
  90947. <reg name="measpwr_sigpwr7_out" protect="r">
  90948. <bits access="r" name="sigpwr7_out" pos="31:0" rst="0">
  90949. <comment>ID7SIGPWR</comment>
  90950. </bits>
  90951. </reg>
  90952. <reg name="measpwr_sigpwr8_out" protect="r">
  90953. <bits access="r" name="sigpwr8_out" pos="31:0" rst="0">
  90954. <comment>ID8SIGPWR</comment>
  90955. </bits>
  90956. </reg>
  90957. <reg name="measpwr_sigma6_out" protect="r">
  90958. <bits access="r" name="sigma6_out" pos="31:0" rst="0">
  90959. <comment>ID6SIGMA</comment>
  90960. </bits>
  90961. </reg>
  90962. <reg name="measpwr_sigma6_agc_out" protect="r">
  90963. <bits access="r" name="sinr6_log_out" pos="26:16" rst="0">
  90964. <comment>ID6SINR LOG</comment>
  90965. </bits>
  90966. <bits access="r" name="baseagc6_out" pos="9:0" rst="0">
  90967. <comment>ID6SIGMAAGC</comment>
  90968. </bits>
  90969. </reg>
  90970. <reg name="measpwr_sigma7_out" protect="r">
  90971. <bits access="r" name="sigma7_out" pos="31:0" rst="0">
  90972. <comment>ID7SIGMA</comment>
  90973. </bits>
  90974. </reg>
  90975. <reg name="measpwr_sigma7_agc_out" protect="r">
  90976. <bits access="r" name="sinr7_log_out" pos="26:16" rst="0">
  90977. <comment>ID7SINR LOG</comment>
  90978. </bits>
  90979. <bits access="r" name="baseagc7_out" pos="9:0" rst="0">
  90980. <comment>ID7SIGMAAGC</comment>
  90981. </bits>
  90982. </reg>
  90983. <reg name="measpwr_sigma8_out" protect="r">
  90984. <bits access="r" name="sigma8_out" pos="31:0" rst="0">
  90985. <comment>ID8SIGMA</comment>
  90986. </bits>
  90987. </reg>
  90988. <reg name="measpwr_sigma8_agc_out" protect="r">
  90989. <bits access="r" name="sinr8_log_out" pos="26:16" rst="0">
  90990. <comment>ID8SINR LOG</comment>
  90991. </bits>
  90992. <bits access="r" name="baseagc8_out" pos="9:0" rst="0">
  90993. <comment>ID8SIGMAAGC</comment>
  90994. </bits>
  90995. </reg>
  90996. <reg name="measpwr_sinr6_out" protect="r">
  90997. <bits access="r" name="sinr6_out" pos="31:0" rst="0">
  90998. <comment>ID6SINR</comment>
  90999. </bits>
  91000. </reg>
  91001. <reg name="measpwr_sinr7_out" protect="r">
  91002. <bits access="r" name="sinr7_out" pos="31:0" rst="0">
  91003. <comment>ID7SINR</comment>
  91004. </bits>
  91005. </reg>
  91006. <reg name="measpwr_sinr8_out" protect="r">
  91007. <bits access="r" name="sinr8_out" pos="31:0" rst="0">
  91008. <comment>ID8SINR</comment>
  91009. </bits>
  91010. </reg>
  91011. <reg name="measpwr_afc_soft_reect2" protect="rw">
  91012. <bits access="rw" name="afc_soft_fa_ctor2" pos="15:0" rst="0">
  91013. <comment>ID2 AFC</comment>
  91014. </bits>
  91015. </reg>
  91016. <reg name="measpwr_afc_soft_reect3" protect="rw">
  91017. <bits access="rw" name="afc_soft_fa_ctor3" pos="15:0" rst="0">
  91018. <comment>ID3 AFC</comment>
  91019. </bits>
  91020. </reg>
  91021. <reg name="measpwr_afc_soft_reect4" protect="rw">
  91022. <bits access="rw" name="afc_soft_fa_ctor4" pos="15:0" rst="0">
  91023. <comment>ID4 AFC</comment>
  91024. </bits>
  91025. </reg>
  91026. <reg name="measpwr_afc_soft_reect5" protect="rw">
  91027. <bits access="rw" name="afc_soft_fa_ctor5" pos="15:0" rst="0">
  91028. <comment>ID5 AFC</comment>
  91029. </bits>
  91030. </reg>
  91031. <reg name="measpwr_afc_soft_reect6" protect="rw">
  91032. <bits access="rw" name="afc_soft_fa_ctor6" pos="15:0" rst="0">
  91033. <comment>ID6 AFC</comment>
  91034. </bits>
  91035. </reg>
  91036. <reg name="measpwr_afc_soft_reect7" protect="rw">
  91037. <bits access="rw" name="afc_soft_fa_ctor7" pos="15:0" rst="0">
  91038. <comment>ID7 AFC</comment>
  91039. </bits>
  91040. </reg>
  91041. <reg name="measpwr_afc_soft_reect8" protect="rw">
  91042. <bits access="rw" name="afc_soft_fa_ctor8" pos="15:0" rst="0">
  91043. <comment>ID8 AFC</comment>
  91044. </bits>
  91045. </reg>
  91046. <reg name="measpwr_doppler_para2" protect="rw">
  91047. <bits access="rw" name="doppler_alpha2" pos="16:0" rst="0">
  91048. <comment>Id3-8 Doppler alpha</comment>
  91049. </bits>
  91050. </reg>
  91051. <reg name="measpwr_trmsf_para" protect="rw">
  91052. <bits access="rw" name="trmsf_scale" pos="27:24" rst="0">
  91053. <comment>trmsf_scale(Q12</comment>
  91054. </bits>
  91055. <bits access="rw" name="trmsf_space" pos="21:20" rst="0">
  91056. <comment>TRMS</comment>
  91057. </bits>
  91058. <bits access="rw" name="trmsf_alpha" pos="16:0" rst="0">
  91059. <comment>TRMS alpha</comment>
  91060. </bits>
  91061. </reg>
  91062. <reg name="measpwr_id3_para2" protect="rw">
  91063. <bits access="rw" name="offline0_step" pos="24:16" rst="0">
  91064. <comment>OFFLINE0</comment>
  91065. </bits>
  91066. <bits access="rw" name="qf_mem_sel" pos="15" rst="0">
  91067. <comment>Hmmse QF mem
  91068. 0QF mem
  91069. 1QF mem</comment>
  91070. </bits>
  91071. <bits access="rw" name="irt_scale_disable" pos="14" rst="0">
  91072. <comment>IRT scale
  91073. 0
  91074. 1</comment>
  91075. </bits>
  91076. <bits access="rw" name="pow_data_sel" pos="13:12" rst="0">
  91077. <comment>AFC\POW
  91078. 00hls
  91079. 01hmmse
  91080. 10freqfirst
  91081. 11hls</comment>
  91082. </bits>
  91083. <bits access="rw" name="frame_map" pos="9:0" rst="0">
  91084. <comment>bit[9:0]9-0</comment>
  91085. </bits>
  91086. </reg>
  91087. <reg name="measpwr_id4_para2" protect="rw">
  91088. <bits access="rw" name="offline0_step" pos="24:16" rst="0">
  91089. <comment>OFFLINE0</comment>
  91090. </bits>
  91091. <bits access="rw" name="qf_mem_sel" pos="15" rst="0">
  91092. <comment>Hmmse QF mem
  91093. 0QF mem
  91094. 1QF mem</comment>
  91095. </bits>
  91096. <bits access="rw" name="irt_scale_disable" pos="14" rst="0">
  91097. <comment>IRT scale
  91098. 0
  91099. 1</comment>
  91100. </bits>
  91101. <bits access="rw" name="pow_data_sel" pos="13:12" rst="0">
  91102. <comment>AFC\POW
  91103. 00hls
  91104. 01hmmse
  91105. 10freqfirst
  91106. 11hls</comment>
  91107. </bits>
  91108. <bits access="rw" name="frame_map" pos="9:0" rst="0">
  91109. <comment>bit[9:0]9-0</comment>
  91110. </bits>
  91111. </reg>
  91112. <reg name="measpwr_id5_para2" protect="rw">
  91113. <bits access="rw" name="offline0_step" pos="24:16" rst="0">
  91114. <comment>OFFLINE0</comment>
  91115. </bits>
  91116. <bits access="rw" name="qf_mem_sel" pos="15" rst="0">
  91117. <comment>Hmmse QF mem
  91118. 0QF mem
  91119. 1QF mem</comment>
  91120. </bits>
  91121. <bits access="rw" name="irt_scale_disable" pos="14" rst="0">
  91122. <comment>IRT scale
  91123. 0
  91124. 1</comment>
  91125. </bits>
  91126. <bits access="rw" name="pow_data_sel" pos="13:12" rst="0">
  91127. <comment>AFC\POW
  91128. 00hls
  91129. 01hmmse
  91130. 10freqfirst
  91131. 11hls</comment>
  91132. </bits>
  91133. <bits access="rw" name="frame_map" pos="9:0" rst="0">
  91134. <comment>bit[9:0]9-0</comment>
  91135. </bits>
  91136. </reg>
  91137. <reg name="measpwr_id6_para2" protect="rw">
  91138. <bits access="rw" name="offline0_step" pos="24:16" rst="0">
  91139. <comment>OFFLINE0</comment>
  91140. </bits>
  91141. <bits access="rw" name="qf_mem_sel" pos="15" rst="0">
  91142. <comment>Hmmse QF mem
  91143. 0QF mem
  91144. 1QF mem</comment>
  91145. </bits>
  91146. <bits access="rw" name="irt_scale_disable" pos="14" rst="0">
  91147. <comment>IRT scale
  91148. 0
  91149. 1</comment>
  91150. </bits>
  91151. <bits access="rw" name="pow_data_sel" pos="13:12" rst="0">
  91152. <comment>AFC\POW
  91153. 00hls
  91154. 01hmmse
  91155. 10freqfirst
  91156. 11hls</comment>
  91157. </bits>
  91158. <bits access="rw" name="frame_map" pos="9:0" rst="0">
  91159. <comment>bit[9:0]9-0</comment>
  91160. </bits>
  91161. </reg>
  91162. <reg name="measpwr_id7_para2" protect="rw">
  91163. <bits access="rw" name="offline0_step" pos="24:16" rst="0">
  91164. <comment>OFFLINE0</comment>
  91165. </bits>
  91166. <bits access="rw" name="qf_mem_sel" pos="15" rst="0">
  91167. <comment>Hmmse QF mem
  91168. 0QF mem
  91169. 1QF mem</comment>
  91170. </bits>
  91171. <bits access="rw" name="irt_scale_disable" pos="14" rst="0">
  91172. <comment>IRT scale
  91173. 0
  91174. 1</comment>
  91175. </bits>
  91176. <bits access="rw" name="pow_data_sel" pos="13:12" rst="0">
  91177. <comment>AFC\POW
  91178. 00hls
  91179. 01hmmse
  91180. 10freqfirst
  91181. 11hls</comment>
  91182. </bits>
  91183. <bits access="rw" name="frame_map" pos="9:0" rst="0">
  91184. <comment>bit[9:0]9-0</comment>
  91185. </bits>
  91186. </reg>
  91187. <reg name="measpwr_id8_para2" protect="rw">
  91188. <bits access="rw" name="offline0_step" pos="24:16" rst="0">
  91189. <comment>OFFLINE0</comment>
  91190. </bits>
  91191. <bits access="rw" name="qf_mem_sel" pos="15" rst="0">
  91192. <comment>Hmmse QF mem
  91193. 0QF mem
  91194. 1QF mem</comment>
  91195. </bits>
  91196. <bits access="rw" name="irt_scale_disable" pos="14" rst="0">
  91197. <comment>IRT scale
  91198. 0
  91199. 1</comment>
  91200. </bits>
  91201. <bits access="rw" name="pow_data_sel" pos="13:12" rst="0">
  91202. <comment>AFC\POW
  91203. 00hls
  91204. 01hmmse
  91205. 10freqfirst
  91206. 11hls</comment>
  91207. </bits>
  91208. <bits access="rw" name="frame_map" pos="9:0" rst="0">
  91209. <comment>bit[9:0]9-0</comment>
  91210. </bits>
  91211. </reg>
  91212. <reg name="measpwr_afc1_hst" protect="r">
  91213. <bits access="r" name="afc_hst" pos="15:0" rst="0">
  91214. <comment>AFC HST</comment>
  91215. </bits>
  91216. </reg>
  91217. <reg name="measpwr_afc2_hst" protect="r">
  91218. <bits access="r" name="afc_hst" pos="15:0" rst="0">
  91219. <comment>AFC HST</comment>
  91220. </bits>
  91221. </reg>
  91222. <reg name="measpwr_afc3_hst" protect="r">
  91223. <bits access="r" name="afc_hst" pos="15:0" rst="0">
  91224. <comment>AFC HST</comment>
  91225. </bits>
  91226. </reg>
  91227. <reg name="measpwr_afc4_hst" protect="r">
  91228. <bits access="r" name="afc_hst" pos="15:0" rst="0">
  91229. <comment>AFC HST</comment>
  91230. </bits>
  91231. </reg>
  91232. <reg name="measpwr_afc5_hst" protect="r">
  91233. <bits access="r" name="afc_hst" pos="15:0" rst="0">
  91234. <comment>AFC HST</comment>
  91235. </bits>
  91236. </reg>
  91237. <reg name="measpwr_afc6_hst" protect="r">
  91238. <bits access="r" name="afc_hst" pos="15:0" rst="0">
  91239. <comment>AFC HST</comment>
  91240. </bits>
  91241. </reg>
  91242. <reg name="measpwr_afc7_hst" protect="r">
  91243. <bits access="r" name="afc_hst" pos="15:0" rst="0">
  91244. <comment>AFC HST</comment>
  91245. </bits>
  91246. </reg>
  91247. <reg name="measpwr_afc8_hst" protect="r">
  91248. <bits access="r" name="afc_hst" pos="15:0" rst="0">
  91249. <comment>AFC HST</comment>
  91250. </bits>
  91251. </reg>
  91252. <reg name="measpwr_sigpwr1_bef" protect="r">
  91253. <bits access="r" name="sigpwr1_bef" pos="31:0" rst="0">
  91254. <comment>ID1SIGPWR</comment>
  91255. </bits>
  91256. </reg>
  91257. <reg name="measpwr_sigpwr2_bef" protect="r">
  91258. <bits access="r" name="sigpwr2_bef" pos="31:0" rst="0">
  91259. <comment>ID2SIGPWR</comment>
  91260. </bits>
  91261. </reg>
  91262. <reg name="measpwr_sigpwr3_bef" protect="r">
  91263. <bits access="r" name="sigpwr3_bef" pos="31:0" rst="0">
  91264. <comment>ID3SIGPWR</comment>
  91265. </bits>
  91266. </reg>
  91267. <reg name="measpwr_sigpwr4_bef" protect="r">
  91268. <bits access="r" name="sigpwr4_bef" pos="31:0" rst="0">
  91269. <comment>ID4SIGPWR</comment>
  91270. </bits>
  91271. </reg>
  91272. <reg name="measpwr_sigpwr5_bef" protect="r">
  91273. <bits access="r" name="sigpwr5_bef" pos="31:0" rst="0">
  91274. <comment>ID5SIGPWR</comment>
  91275. </bits>
  91276. </reg>
  91277. <reg name="measpwr_sigpwr6_bef" protect="r">
  91278. <bits access="r" name="sigpwr6_bef" pos="31:0" rst="0">
  91279. <comment>ID6SIGPWR</comment>
  91280. </bits>
  91281. </reg>
  91282. <reg name="measpwr_sigpwr7_bef" protect="r">
  91283. <bits access="r" name="sigpwr7_bef" pos="31:0" rst="0">
  91284. <comment>ID7SIGPWR</comment>
  91285. </bits>
  91286. </reg>
  91287. <reg name="measpwr_sigpwr8_bef" protect="r">
  91288. <bits access="r" name="sigpwr8_bef" pos="31:0" rst="0">
  91289. <comment>ID8SIGPWR</comment>
  91290. </bits>
  91291. </reg>
  91292. <reg name="measpwr_sigma1_bef" protect="r">
  91293. <bits access="r" name="sigma1_bef" pos="31:0" rst="0">
  91294. <comment>ID1SIGMA</comment>
  91295. </bits>
  91296. </reg>
  91297. <reg name="measpwr_sigma2_bef" protect="r">
  91298. <bits access="r" name="sigma2_bef" pos="31:0" rst="0">
  91299. <comment>ID2SIGMA</comment>
  91300. </bits>
  91301. </reg>
  91302. <reg name="measpwr_sigma3_bef" protect="r">
  91303. <bits access="r" name="sigma3_bef" pos="31:0" rst="0">
  91304. <comment>ID3SIGMA</comment>
  91305. </bits>
  91306. </reg>
  91307. <reg name="measpwr_sigma4_bef" protect="r">
  91308. <bits access="r" name="sigma4_bef" pos="31:0" rst="0">
  91309. <comment>ID4SIGMA</comment>
  91310. </bits>
  91311. </reg>
  91312. <reg name="measpwr_sigma5_bef" protect="r">
  91313. <bits access="r" name="sigma5_bef" pos="31:0" rst="0">
  91314. <comment>ID5SIGMA</comment>
  91315. </bits>
  91316. </reg>
  91317. <reg name="measpwr_sigma6_bef" protect="r">
  91318. <bits access="r" name="sigma6_bef" pos="31:0" rst="0">
  91319. <comment>ID6SIGMA</comment>
  91320. </bits>
  91321. </reg>
  91322. <reg name="measpwr_sigma7_bef" protect="r">
  91323. <bits access="r" name="sigma7_bef" pos="31:0" rst="0">
  91324. <comment>ID7SIGMA</comment>
  91325. </bits>
  91326. </reg>
  91327. <reg name="measpwr_sigma8_bef" protect="r">
  91328. <bits access="r" name="sigma8_bef" pos="31:0" rst="0">
  91329. <comment>ID8SIGMA</comment>
  91330. </bits>
  91331. </reg>
  91332. <reg name="measpwr_doppler3_out" protect="r">
  91333. <bits access="r" name="hls_agc_base3" pos="25:16" rst="0">
  91334. <comment>hls_agc_base</comment>
  91335. </bits>
  91336. <bits access="r" name="doppler3_out" pos="10:0" rst="0">
  91337. <comment>DOPPLER</comment>
  91338. </bits>
  91339. </reg>
  91340. <reg name="measpwr_doppler4_out" protect="r">
  91341. <bits access="r" name="hls_agc_base4" pos="25:16" rst="0">
  91342. <comment>hls_agc_base</comment>
  91343. </bits>
  91344. <bits access="r" name="doppler4_out" pos="10:0" rst="0">
  91345. <comment>DOPPLER</comment>
  91346. </bits>
  91347. </reg>
  91348. <reg name="measpwr_doppler5_out" protect="r">
  91349. <bits access="r" name="hls_agc_base5" pos="25:16" rst="0">
  91350. <comment>hls_agc_base</comment>
  91351. </bits>
  91352. <bits access="r" name="doppler5_out" pos="10:0" rst="0">
  91353. <comment>DOPPLER</comment>
  91354. </bits>
  91355. </reg>
  91356. <reg name="measpwr_doppler6_out" protect="r">
  91357. <bits access="r" name="hls_agc_base6" pos="25:16" rst="0">
  91358. <comment>hls_agc_base</comment>
  91359. </bits>
  91360. <bits access="r" name="doppler6_out" pos="10:0" rst="0">
  91361. <comment>DOPPLER</comment>
  91362. </bits>
  91363. </reg>
  91364. <reg name="measpwr_doppler7_out" protect="r">
  91365. <bits access="r" name="hls_agc_base7" pos="25:16" rst="0">
  91366. <comment>hls_agc_base</comment>
  91367. </bits>
  91368. <bits access="r" name="doppler7_out" pos="10:0" rst="0">
  91369. <comment>DOPPLER</comment>
  91370. </bits>
  91371. </reg>
  91372. <reg name="measpwr_doppler8_out" protect="r">
  91373. <bits access="r" name="hls_agc_base8" pos="25:16" rst="0">
  91374. <comment>hls_agc_base</comment>
  91375. </bits>
  91376. <bits access="r" name="doppler8_out" pos="10:0" rst="0">
  91377. <comment>DOPPLER</comment>
  91378. </bits>
  91379. </reg>
  91380. <reg name="measpwr_doppler1_bef1" protect="r">
  91381. <bits access="r" name="doppler1_bef1" pos="31:0" rst="0">
  91382. <comment>DOPPLER1</comment>
  91383. </bits>
  91384. </reg>
  91385. <reg name="measpwr_doppler1_bef2" protect="r">
  91386. <bits access="r" name="doppler1_bef2" pos="31:0" rst="0">
  91387. <comment>DOPPLER2</comment>
  91388. </bits>
  91389. </reg>
  91390. <reg name="measpwr_doppler2_bef1" protect="r">
  91391. <bits access="r" name="doppler2_bef1" pos="31:0" rst="0">
  91392. <comment>DOPPLER1</comment>
  91393. </bits>
  91394. </reg>
  91395. <reg name="measpwr_doppler2_bef2" protect="r">
  91396. <bits access="r" name="doppler2_bef2" pos="31:0" rst="0">
  91397. <comment>DOPPLER2</comment>
  91398. </bits>
  91399. </reg>
  91400. <reg name="measpwr_trmsf1_out" protect="r">
  91401. <bits access="r" name="trmsf_delay" pos="31:0" rst="0">
  91402. <comment>TRMS</comment>
  91403. </bits>
  91404. </reg>
  91405. <reg name="measpwr_trmsf2_out" protect="r">
  91406. <bits access="r" name="trmsf_delay" pos="31:0" rst="0">
  91407. <comment>TRMS</comment>
  91408. </bits>
  91409. </reg>
  91410. <reg name="measpwr_trmsf3_out" protect="r">
  91411. <bits access="r" name="trmsf_delay" pos="31:0" rst="0">
  91412. <comment>TRMS</comment>
  91413. </bits>
  91414. </reg>
  91415. <reg name="measpwr_trmsf4_out" protect="r">
  91416. <bits access="r" name="trmsf_delay" pos="31:0" rst="0">
  91417. <comment>TRMS</comment>
  91418. </bits>
  91419. </reg>
  91420. <reg name="measpwr_trmsf5_out" protect="r">
  91421. <bits access="r" name="trmsf_delay" pos="31:0" rst="0">
  91422. <comment>TRMS</comment>
  91423. </bits>
  91424. </reg>
  91425. <reg name="measpwr_trmsf6_out" protect="r">
  91426. <bits access="r" name="trmsf_delay" pos="31:0" rst="0">
  91427. <comment>TRMS</comment>
  91428. </bits>
  91429. </reg>
  91430. <reg name="measpwr_trmsf7_out" protect="r">
  91431. <bits access="r" name="trmsf_delay" pos="31:0" rst="0">
  91432. <comment>TRMS</comment>
  91433. </bits>
  91434. </reg>
  91435. <reg name="measpwr_trmsf8_out" protect="r">
  91436. <bits access="r" name="trmsf_delay" pos="31:0" rst="0">
  91437. <comment>TRMS</comment>
  91438. </bits>
  91439. </reg>
  91440. <hole size="32"/>
  91441. <reg name="measpwr_trmsf1_bef1" protect="r">
  91442. <bits access="r" name="trmsf_bef1" pos="31:0" rst="0">
  91443. <comment>TRMSPART1</comment>
  91444. </bits>
  91445. </reg>
  91446. <reg name="measpwr_trmsf1_bef2" protect="r">
  91447. <bits access="r" name="trmsf_bef2" pos="31:0" rst="0">
  91448. <comment>TRMSPART2</comment>
  91449. </bits>
  91450. </reg>
  91451. <reg name="measpwr_trmsf2_bef1" protect="r">
  91452. <bits access="r" name="trmsf_bef1" pos="31:0" rst="0">
  91453. <comment>TRMSPART1</comment>
  91454. </bits>
  91455. </reg>
  91456. <reg name="measpwr_trmsf2_bef2" protect="r">
  91457. <bits access="r" name="trmsf_bef2" pos="31:0" rst="0">
  91458. <comment>TRMSPART2</comment>
  91459. </bits>
  91460. </reg>
  91461. <reg name="measpwr_trmsf3_bef1" protect="r">
  91462. <bits access="r" name="trmsf_bef1" pos="31:0" rst="0">
  91463. <comment>TRMSPART1</comment>
  91464. </bits>
  91465. </reg>
  91466. <reg name="measpwr_trmsf3_bef2" protect="r">
  91467. <bits access="r" name="trmsf_bef2" pos="31:0" rst="0">
  91468. <comment>TRMSPART2</comment>
  91469. </bits>
  91470. </reg>
  91471. <reg name="measpwr_trmsf4_bef1" protect="r">
  91472. <bits access="r" name="trmsf_bef1" pos="31:0" rst="0">
  91473. <comment>TRMSPART1</comment>
  91474. </bits>
  91475. </reg>
  91476. <reg name="measpwr_trmsf4_bef2" protect="r">
  91477. <bits access="r" name="trmsf_bef2" pos="31:0" rst="0">
  91478. <comment>TRMSPART2</comment>
  91479. </bits>
  91480. </reg>
  91481. <reg name="measpwr_trmsf5_bef1" protect="r">
  91482. <bits access="r" name="trmsf_bef1" pos="31:0" rst="0">
  91483. <comment>TRMSPART1</comment>
  91484. </bits>
  91485. </reg>
  91486. <reg name="measpwr_trmsf5_bef2" protect="r">
  91487. <bits access="r" name="trmsf_bef2" pos="31:0" rst="0">
  91488. <comment>TRMSPART2</comment>
  91489. </bits>
  91490. </reg>
  91491. <reg name="measpwr_trmsf6_bef1" protect="r">
  91492. <bits access="r" name="trmsf_bef1" pos="31:0" rst="0">
  91493. <comment>TRMSPART1</comment>
  91494. </bits>
  91495. </reg>
  91496. <reg name="measpwr_trmsf6_bef2" protect="r">
  91497. <bits access="r" name="trmsf_bef2" pos="31:0" rst="0">
  91498. <comment>TRMSPART2</comment>
  91499. </bits>
  91500. </reg>
  91501. <reg name="measpwr_trmsf7_bef1" protect="r">
  91502. <bits access="r" name="trmsf_bef1" pos="31:0" rst="0">
  91503. <comment>TRMSPART1</comment>
  91504. </bits>
  91505. </reg>
  91506. <reg name="measpwr_trmsf7_bef2" protect="r">
  91507. <bits access="r" name="trmsf_bef2" pos="31:0" rst="0">
  91508. <comment>TRMSPART2</comment>
  91509. </bits>
  91510. </reg>
  91511. <reg name="measpwr_trmsf8_bef1" protect="r">
  91512. <bits access="r" name="trmsf_bef1" pos="31:0" rst="0">
  91513. <comment>TRMSPART1</comment>
  91514. </bits>
  91515. </reg>
  91516. <reg name="measpwr_trmsf8_bef2" protect="r">
  91517. <bits access="r" name="trmsf_bef2" pos="31:0" rst="0">
  91518. <comment>TRMSPART2</comment>
  91519. </bits>
  91520. </reg>
  91521. <reg name="measpwr_pow1_max" protect="r">
  91522. <bits access="r" name="pow_max" pos="31:7" rst="0">
  91523. <comment>POWbit[23:0]</comment>
  91524. </bits>
  91525. <bits access="r" name="pow_max_addr" pos="6:0" rst="0">
  91526. <comment/>
  91527. </bits>
  91528. </reg>
  91529. <reg name="measpwr_pow2_max" protect="r">
  91530. <bits access="r" name="pow_max" pos="31:7" rst="0">
  91531. <comment>POWbit[23:0]</comment>
  91532. </bits>
  91533. <bits access="r" name="pow_max_addr" pos="6:0" rst="0">
  91534. <comment/>
  91535. </bits>
  91536. </reg>
  91537. <reg name="measpwr_pow3_max" protect="r">
  91538. <bits access="r" name="pow_max" pos="31:7" rst="0">
  91539. <comment>POWbit[23:0]</comment>
  91540. </bits>
  91541. <bits access="r" name="pow_max_addr" pos="6:0" rst="0">
  91542. <comment/>
  91543. </bits>
  91544. </reg>
  91545. <reg name="measpwr_pow4_max" protect="r">
  91546. <bits access="r" name="pow_max" pos="31:7" rst="0">
  91547. <comment>POWbit[23:0]</comment>
  91548. </bits>
  91549. <bits access="r" name="pow_max_addr" pos="6:0" rst="0">
  91550. <comment/>
  91551. </bits>
  91552. </reg>
  91553. <reg name="measpwr_pow5_max" protect="r">
  91554. <bits access="r" name="pow_max" pos="31:7" rst="0">
  91555. <comment>POWbit[23:0]</comment>
  91556. </bits>
  91557. <bits access="r" name="pow_max_addr" pos="6:0" rst="0">
  91558. <comment/>
  91559. </bits>
  91560. </reg>
  91561. <reg name="measpwr_pow6_max" protect="r">
  91562. <bits access="r" name="pow_max" pos="31:7" rst="0">
  91563. <comment>POWbit[23:0]</comment>
  91564. </bits>
  91565. <bits access="r" name="pow_max_addr" pos="6:0" rst="0">
  91566. <comment/>
  91567. </bits>
  91568. </reg>
  91569. <reg name="measpwr_pow7_max" protect="r">
  91570. <bits access="r" name="pow_max" pos="31:7" rst="0">
  91571. <comment>POWbit[23:0]</comment>
  91572. </bits>
  91573. <bits access="r" name="pow_max_addr" pos="6:0" rst="0">
  91574. <comment/>
  91575. </bits>
  91576. </reg>
  91577. <reg name="measpwr_pow8_max" protect="r">
  91578. <bits access="r" name="pow_max" pos="31:7" rst="0">
  91579. <comment>POWbit[23:0]</comment>
  91580. </bits>
  91581. <bits access="r" name="pow_max_addr" pos="6:0" rst="0">
  91582. <comment/>
  91583. </bits>
  91584. </reg>
  91585. <reg name="measpwr_trms3_out" protect="r">
  91586. <bits access="r" name="trms_delay" pos="15:0" rst="0">
  91587. <comment/>
  91588. </bits>
  91589. </reg>
  91590. <reg name="measpwr_trms4_out" protect="r">
  91591. <bits access="r" name="trms_delay" pos="15:0" rst="0">
  91592. <comment/>
  91593. </bits>
  91594. </reg>
  91595. <reg name="measpwr_trms5_out" protect="r">
  91596. <bits access="r" name="trms_delay" pos="15:0" rst="0">
  91597. <comment/>
  91598. </bits>
  91599. </reg>
  91600. <reg name="measpwr_trms6_out" protect="r">
  91601. <bits access="r" name="trms_delay" pos="15:0" rst="0">
  91602. <comment/>
  91603. </bits>
  91604. </reg>
  91605. <reg name="measpwr_trms7_out" protect="r">
  91606. <bits access="r" name="trms_delay" pos="15:0" rst="0">
  91607. <comment/>
  91608. </bits>
  91609. </reg>
  91610. <reg name="measpwr_trms8_out" protect="r">
  91611. <bits access="r" name="trms_delay" pos="15:0" rst="0">
  91612. <comment/>
  91613. </bits>
  91614. </reg>
  91615. <reg name="measpwr_reis_conf" protect="rw">
  91616. <bits access="rw" name="reis_dc_en" pos="5" rst="0">
  91617. <comment>REIS_DC</comment>
  91618. </bits>
  91619. <bits access="rw" name="reis_en" pos="4" rst="0">
  91620. <comment>REIS
  91621. 0
  91622. 1</comment>
  91623. </bits>
  91624. <bits access="rw" name="reis_num" pos="3:0" rst="0">
  91625. <comment>REISNUM</comment>
  91626. </bits>
  91627. </reg>
  91628. <reg name="measpwr_reis_pos0" protect="rw">
  91629. <bits access="rw" name="reis_re1" pos="26:16" rst="0">
  91630. <comment>REIS1RE20M1200RE</comment>
  91631. </bits>
  91632. <bits access="rw" name="reis_re0" pos="10:0" rst="0">
  91633. <comment>REIS0RE20M1200RE</comment>
  91634. </bits>
  91635. </reg>
  91636. <reg name="measpwr_reis_pos1" protect="rw">
  91637. <bits access="rw" name="reis_re3" pos="26:16" rst="0">
  91638. <comment>REIS3RE20M1200RE</comment>
  91639. </bits>
  91640. <bits access="rw" name="reis_re2" pos="10:0" rst="0">
  91641. <comment>REIS2RE20M1200RE</comment>
  91642. </bits>
  91643. </reg>
  91644. <reg name="measpwr_reis_pos2" protect="rw">
  91645. <bits access="rw" name="reis_re5" pos="26:16" rst="0">
  91646. <comment>REIS5RE20M1200RE</comment>
  91647. </bits>
  91648. <bits access="rw" name="reis_re4" pos="10:0" rst="0">
  91649. <comment>REIS4RE20M1200RE</comment>
  91650. </bits>
  91651. </reg>
  91652. <reg name="measpwr_reis_pos3" protect="rw">
  91653. <bits access="rw" name="reis_re7" pos="26:16" rst="0">
  91654. <comment>REIS7RE20M1200RE</comment>
  91655. </bits>
  91656. <bits access="rw" name="reis_re6" pos="10:0" rst="0">
  91657. <comment>REIS6RE20M1200RE</comment>
  91658. </bits>
  91659. </reg>
  91660. <reg name="measpwr_offline0_sel" protect="rw">
  91661. <bits access="rw" name="pos_delay_sel" pos="8" rst="0">
  91662. <comment>Pos\delay
  91663. 0pos
  91664. 1:delay</comment>
  91665. </bits>
  91666. <bits access="rw" name="jump_flag" pos="5:4" rst="0">
  91667. <comment>00IRT_Scale
  91668. 01RSRP_Scale
  91669. 10SINR
  91670. 11POWMAX_Scale</comment>
  91671. </bits>
  91672. <bits access="rw" name="decision_flag" pos="1:0" rst="0">
  91673. <comment>00IRT_Scale
  91674. 01Sigpwr
  91675. 10SINR
  91676. 11IRT_Scale</comment>
  91677. </bits>
  91678. </reg>
  91679. <reg name="measpwr_offline0_th" protect="rw">
  91680. <bits access="rw" name="offline_th" pos="31:0" rst="0">
  91681. <comment>Offline
  91682. MEASPWR_OFFLINE_SEL[5:4]</comment>
  91683. </bits>
  91684. </reg>
  91685. <reg name="measpwr_offline0_pos" protect="r">
  91686. <bits access="r" name="id8_max_position" pos="31:28" rst="0">
  91687. <comment>Id8TBin</comment>
  91688. </bits>
  91689. <bits access="r" name="id7_max_position" pos="27:24" rst="0">
  91690. <comment>Id7TBin</comment>
  91691. </bits>
  91692. <bits access="r" name="id6_max_position" pos="23:20" rst="0">
  91693. <comment>Id6TBin</comment>
  91694. </bits>
  91695. <bits access="r" name="id5_max_position" pos="19:16" rst="0">
  91696. <comment>Id5TBin</comment>
  91697. </bits>
  91698. <bits access="r" name="id4_max_position" pos="15:12" rst="0">
  91699. <comment>Id4TBin</comment>
  91700. </bits>
  91701. <bits access="r" name="id3_max_position" pos="11:8" rst="0">
  91702. <comment>Id3TBin</comment>
  91703. </bits>
  91704. <bits access="r" name="id2_max_position" pos="7:4" rst="0">
  91705. <comment>Id2TBin</comment>
  91706. </bits>
  91707. <bits access="r" name="id1_max_position" pos="3:0" rst="0">
  91708. <comment>Id1TBin</comment>
  91709. </bits>
  91710. </reg>
  91711. <reg name="measpwr_offline0_id" protect="r">
  91712. <bits access="r" name="tbin_position_valid_flag" pos="11:4" rst="0">
  91713. <comment>TbinID1~ID8
  91714. 0
  91715. 1</comment>
  91716. </bits>
  91717. <bits access="r" name="offline_jump_id" pos="3:0" rst="15">
  91718. <comment>Offline
  91719. 0xF</comment>
  91720. </bits>
  91721. </reg>
  91722. <reg name="measpwr_offline1_para" protect="rw">
  91723. <bits access="rw" name="first_ofdm" pos="12" rst="0">
  91724. <comment>00
  91725. 143</comment>
  91726. </bits>
  91727. <bits access="rw" name="offline1_mod_sel" pos="9:8" rst="0">
  91728. <comment>Offline1
  91729. 000
  91730. 0105
  91731. 1050
  91732. 1190</comment>
  91733. </bits>
  91734. <bits access="rw" name="offline1_num" pos="5" rst="0">
  91735. <comment>Offline1
  91736. 01
  91737. 12</comment>
  91738. </bits>
  91739. <bits access="rw" name="offline1_time" pos="4:0" rst="0">
  91740. <comment>Offline1</comment>
  91741. </bits>
  91742. </reg>
  91743. <reg name="measpwr_offline1_agc1" protect="rw">
  91744. <bits access="rw" name="offline1_agc3" pos="29:20" rst="0">
  91745. <comment>3 AGC</comment>
  91746. </bits>
  91747. <bits access="rw" name="offline1_agc2" pos="19:10" rst="0">
  91748. <comment>2 AGC</comment>
  91749. </bits>
  91750. <bits access="rw" name="offline1_agc1" pos="9:0" rst="0">
  91751. <comment>1 AGC</comment>
  91752. </bits>
  91753. </reg>
  91754. <reg name="measpwr_offline1_agc2" protect="rw">
  91755. <bits access="rw" name="offline1_agc6" pos="29:20" rst="0">
  91756. <comment>6 AGC</comment>
  91757. </bits>
  91758. <bits access="rw" name="offline1_agc5" pos="19:10" rst="0">
  91759. <comment>5 AGC</comment>
  91760. </bits>
  91761. <bits access="rw" name="offline1_agc4" pos="9:0" rst="0">
  91762. <comment>4 AGC</comment>
  91763. </bits>
  91764. </reg>
  91765. <reg name="measpwr_offline1_agc3" protect="rw">
  91766. <bits access="rw" name="offline1_agc9" pos="29:20" rst="0">
  91767. <comment>9 AGC</comment>
  91768. </bits>
  91769. <bits access="rw" name="offline1_agc8" pos="19:10" rst="0">
  91770. <comment>8 AGC</comment>
  91771. </bits>
  91772. <bits access="rw" name="offline1_agc7" pos="9:0" rst="0">
  91773. <comment>7 AGC</comment>
  91774. </bits>
  91775. </reg>
  91776. <reg name="measpwr_offline1_agc4" protect="rw">
  91777. <bits access="rw" name="offline1_agc12" pos="29:20" rst="0">
  91778. <comment>12 AGC</comment>
  91779. </bits>
  91780. <bits access="rw" name="offline1_agc11" pos="19:10" rst="0">
  91781. <comment>11 AGC</comment>
  91782. </bits>
  91783. <bits access="rw" name="offline1_agc10" pos="9:0" rst="0">
  91784. <comment>10 AGC</comment>
  91785. </bits>
  91786. </reg>
  91787. <reg name="measpwr_offline1_agc5" protect="rw">
  91788. <bits access="rw" name="offline1_agc15" pos="29:20" rst="0">
  91789. <comment>15 AGC</comment>
  91790. </bits>
  91791. <bits access="rw" name="offline1_agc14" pos="19:10" rst="0">
  91792. <comment>14 AGC</comment>
  91793. </bits>
  91794. <bits access="rw" name="offline1_agc13" pos="9:0" rst="0">
  91795. <comment>13 AGC</comment>
  91796. </bits>
  91797. </reg>
  91798. <reg name="measpwr_offline1_agc6" protect="rw">
  91799. <bits access="rw" name="offline1_agc18" pos="29:20" rst="0">
  91800. <comment>18 AGC</comment>
  91801. </bits>
  91802. <bits access="rw" name="offline1_agc17" pos="19:10" rst="0">
  91803. <comment>17 AGC</comment>
  91804. </bits>
  91805. <bits access="rw" name="offline1_agc16" pos="9:0" rst="0">
  91806. <comment>16 AGC</comment>
  91807. </bits>
  91808. </reg>
  91809. <reg name="measpwr_crs_rssi1_out1" protect="r">
  91810. <bits access="r" name="crs_rssi_max" pos="31:0" rst="0">
  91811. <comment>Crs rssi</comment>
  91812. </bits>
  91813. </reg>
  91814. <reg name="measpwr_crs_rssi1_out2" protect="r">
  91815. <bits access="r" name="crs_rssi_max" pos="31:0" rst="0">
  91816. <comment>Crs rssi</comment>
  91817. </bits>
  91818. </reg>
  91819. <reg name="measpwr_crs_rssi1_out3" protect="r">
  91820. <bits access="r" name="crs_rssi_max" pos="31:0" rst="0">
  91821. <comment>Crs rssi</comment>
  91822. </bits>
  91823. </reg>
  91824. <reg name="measpwr_crs_rssi2_out1" protect="r">
  91825. <bits access="r" name="crs_rssi_max" pos="31:0" rst="0">
  91826. <comment>Crs rssi</comment>
  91827. </bits>
  91828. </reg>
  91829. <reg name="measpwr_crs_rssi2_out2" protect="r">
  91830. <bits access="r" name="crs_rssi_max" pos="31:0" rst="0">
  91831. <comment>Crs rssi</comment>
  91832. </bits>
  91833. </reg>
  91834. <reg name="measpwr_crs_rssi2_out3" protect="r">
  91835. <bits access="r" name="crs_rssi_max" pos="31:0" rst="0">
  91836. <comment>Crs rssi</comment>
  91837. </bits>
  91838. </reg>
  91839. <hole size="32"/>
  91840. <reg name="measpwr_crs_rssi3_out" protect="r">
  91841. <bits access="r" name="crs_rssi_max" pos="31:0" rst="0">
  91842. <comment>Crs rssi</comment>
  91843. </bits>
  91844. </reg>
  91845. <reg name="measpwr_crs_rssi4_out" protect="r">
  91846. <bits access="r" name="crs_rssi_max" pos="31:0" rst="0">
  91847. <comment>Crs rssi</comment>
  91848. </bits>
  91849. </reg>
  91850. <reg name="measpwr_crs_rssi5_out" protect="r">
  91851. <bits access="r" name="crs_rssi_max" pos="31:0" rst="0">
  91852. <comment>Crs rssi</comment>
  91853. </bits>
  91854. </reg>
  91855. <reg name="measpwr_crs_rssi6_out" protect="r">
  91856. <bits access="r" name="crs_rssi_max" pos="31:0" rst="0">
  91857. <comment>Crs rssi</comment>
  91858. </bits>
  91859. </reg>
  91860. <reg name="measpwr_crs_rssi7_out" protect="r">
  91861. <bits access="r" name="crs_rssi_max" pos="31:0" rst="0">
  91862. <comment>Crs rssi</comment>
  91863. </bits>
  91864. </reg>
  91865. <reg name="measpwr_crs_rssi8_out" protect="r">
  91866. <bits access="r" name="crs_rssi_max" pos="31:0" rst="0">
  91867. <comment>Crs rssi</comment>
  91868. </bits>
  91869. </reg>
  91870. <reg name="measpwr_crs_rssi1_agc1" protect="r">
  91871. <bits access="r" name="crs_rssi_agc" pos="9:0" rst="0">
  91872. <comment>Crs rssiagc</comment>
  91873. </bits>
  91874. </reg>
  91875. <reg name="measpwr_crs_rssi1_agc2" protect="r">
  91876. <bits access="r" name="crs_rssi_agc" pos="9:0" rst="0">
  91877. <comment>Crs rssiagc</comment>
  91878. </bits>
  91879. </reg>
  91880. <reg name="measpwr_crs_rssi1_agc3" protect="r">
  91881. <bits access="r" name="crs_rssi_agc" pos="9:0" rst="0">
  91882. <comment>Crs rssiagc</comment>
  91883. </bits>
  91884. </reg>
  91885. <reg name="measpwr_crs_rssi2_agc1" protect="r">
  91886. <bits access="r" name="crs_rssi_agc" pos="9:0" rst="0">
  91887. <comment>Crs rssiagc</comment>
  91888. </bits>
  91889. </reg>
  91890. <reg name="measpwr_crs_rssi2_agc2" protect="r">
  91891. <bits access="r" name="crs_rssi_agc" pos="9:0" rst="0">
  91892. <comment>Crs rssiagc</comment>
  91893. </bits>
  91894. </reg>
  91895. <reg name="measpwr_crs_rssi2_agc3" protect="r">
  91896. <bits access="r" name="crs_rssi_agc" pos="9:0" rst="0">
  91897. <comment>Crs rssiagc</comment>
  91898. </bits>
  91899. </reg>
  91900. <reg name="measpwr_crs_rssi3_agc" protect="r">
  91901. <bits access="r" name="crs_rssi_agc" pos="9:0" rst="0">
  91902. <comment>Crs rssiagc</comment>
  91903. </bits>
  91904. </reg>
  91905. <reg name="measpwr_crs_rssi4_agc" protect="r">
  91906. <bits access="r" name="crs_rssi_agc" pos="9:0" rst="0">
  91907. <comment>Crs rssiagc</comment>
  91908. </bits>
  91909. </reg>
  91910. <reg name="measpwr_crs_rssi5_agc" protect="r">
  91911. <bits access="r" name="crs_rssi_agc" pos="9:0" rst="0">
  91912. <comment>Crs rssiagc</comment>
  91913. </bits>
  91914. </reg>
  91915. <reg name="measpwr_crs_rssi6_agc" protect="r">
  91916. <bits access="r" name="crs_rssi_agc" pos="9:0" rst="0">
  91917. <comment>Crs rssiagc</comment>
  91918. </bits>
  91919. </reg>
  91920. <reg name="measpwr_crs_rssi7_agc" protect="r">
  91921. <bits access="r" name="crs_rssi_agc" pos="9:0" rst="0">
  91922. <comment>Crs rssiagc</comment>
  91923. </bits>
  91924. </reg>
  91925. <reg name="measpwr_crs_rssi8_agc" protect="r">
  91926. <bits access="r" name="crs_rssi_agc" pos="9:0" rst="0">
  91927. <comment>Crs rssiagc</comment>
  91928. </bits>
  91929. </reg>
  91930. <reg name="measpwr_hmmse_win" protect="rw">
  91931. <bits access="rw" name="fh_wl_ind" pos="0" rst="0">
  91932. <comment>03PRB
  91933. 16PRB</comment>
  91934. </bits>
  91935. </reg>
  91936. <reg name="measpwr_hmmse_bitsel" protect="rw">
  91937. <bits access="rw" name="fh_bitsel" pos="3:0" rst="6">
  91938. <comment>13bit
  91939. 0x029~17
  91940. 0x128~16
  91941. 0x227~15
  91942. 0x326~14
  91943. 0x425~13
  91944. 0x524~12
  91945. 0x623~11
  91946. 0x722~10
  91947. 0x821~9
  91948. 0x920~8
  91949. 0xa19~7
  91950. 0xb18~6
  91951. 0xc17~5
  91952. 0xd16~4
  91953. 0xe15~3
  91954. 0xf14~2</comment>
  91955. </bits>
  91956. </reg>
  91957. <reg name="measpwr_hmmse_flag" protect="r">
  91958. <bits access="r" name="used_wl_ind" pos="4" rst="0">
  91959. <comment>USED_WL_IND</comment>
  91960. </bits>
  91961. <bits access="r" name="qf_mem_mark" pos="1:0" rst="0">
  91962. <comment>QF MEM
  91963. 00mem
  91964. 01mem
  91965. Othermem</comment>
  91966. </bits>
  91967. </reg>
  91968. <reg name="measpwr_id_info2" protect="r">
  91969. <bits access="r" name="id38_info" pos="9:0" rst="0">
  91970. <comment>ID38</comment>
  91971. </bits>
  91972. </reg>
  91973. <reg name="measpwr_inmem_mode" protect="rw">
  91974. <bits access="rw" name="inmem_mode" pos="1:0" rst="0">
  91975. <comment>INMEM
  91976. 00 measpwr
  91977. 01OTDOA
  91978. 10
  91979. 11</comment>
  91980. </bits>
  91981. </reg>
  91982. <reg name="measpwr_afc1_rsrp_hst" protect="r">
  91983. <bits access="r" name="afc_rsrp1_hst" pos="15:0" rst="0">
  91984. <comment>AFC HSTRSRP db</comment>
  91985. </bits>
  91986. </reg>
  91987. <reg name="measpwr_afc2_rsrp_hst" protect="r">
  91988. <bits access="r" name="afc_rsrp2_hst" pos="15:0" rst="0">
  91989. <comment>AFC HSTRSRP db</comment>
  91990. </bits>
  91991. </reg>
  91992. <reg name="measpwr_afc3_rsrp_hst" protect="r">
  91993. <bits access="r" name="afc_rsrp3_hst" pos="15:0" rst="0">
  91994. <comment>AFC HSTRSRP db</comment>
  91995. </bits>
  91996. </reg>
  91997. <reg name="measpwr_afc4_rsrp_hst" protect="r">
  91998. <bits access="r" name="afc_rsrp4_hst" pos="15:0" rst="0">
  91999. <comment>AFC HSTRSRP db</comment>
  92000. </bits>
  92001. </reg>
  92002. <reg name="measpwr_afc5_rsrp_hst" protect="r">
  92003. <bits access="r" name="afc_rsrp5_hst" pos="15:0" rst="0">
  92004. <comment>AFC HSTRSRP db</comment>
  92005. </bits>
  92006. </reg>
  92007. <reg name="measpwr_afc6_rsrp_hst" protect="r">
  92008. <bits access="r" name="afc_rsrp6_hst" pos="15:0" rst="0">
  92009. <comment>AFC HSTRSRP db</comment>
  92010. </bits>
  92011. </reg>
  92012. <reg name="measpwr_afc7_rsrp_hst" protect="r">
  92013. <bits access="r" name="afc_rsrp7_hst" pos="15:0" rst="0">
  92014. <comment>AFC HSTRSRP db</comment>
  92015. </bits>
  92016. </reg>
  92017. <reg name="measpwr_afc8_rsrp_hst" protect="r">
  92018. <bits access="r" name="afc_rsrp8_hst" pos="15:0" rst="0">
  92019. <comment>AFC HSTRSRP db</comment>
  92020. </bits>
  92021. </reg>
  92022. <reg name="measpwr_powmax1_scale" protect="r">
  92023. <bits access="r" name="pow_max_scale" pos="31:0" rst="0">
  92024. <comment>Pow_max_scale</comment>
  92025. </bits>
  92026. </reg>
  92027. <reg name="measpwr_powmax2_scale" protect="r">
  92028. <bits access="r" name="pow_max_scale" pos="31:0" rst="0">
  92029. <comment>Pow_max_scale</comment>
  92030. </bits>
  92031. </reg>
  92032. <reg name="measpwr_powmax3_scale" protect="r">
  92033. <bits access="r" name="pow_max_scale" pos="31:0" rst="0">
  92034. <comment>Pow_max_scale</comment>
  92035. </bits>
  92036. </reg>
  92037. <reg name="measpwr_powmax4_scale" protect="r">
  92038. <bits access="r" name="pow_max_scale" pos="31:0" rst="0">
  92039. <comment>Pow_max_scale</comment>
  92040. </bits>
  92041. </reg>
  92042. <reg name="measpwr_powmax5_scale" protect="r">
  92043. <bits access="r" name="pow_max_scale" pos="31:0" rst="0">
  92044. <comment>Pow_max_scale</comment>
  92045. </bits>
  92046. </reg>
  92047. <reg name="measpwr_powmax6_scale" protect="r">
  92048. <bits access="r" name="pow_max_scale" pos="31:0" rst="0">
  92049. <comment>Pow_max_scale</comment>
  92050. </bits>
  92051. </reg>
  92052. <reg name="measpwr_powmax7_scale" protect="r">
  92053. <bits access="r" name="pow_max_scale" pos="31:0" rst="0">
  92054. <comment>Pow_max_scale</comment>
  92055. </bits>
  92056. </reg>
  92057. <reg name="measpwr_powmax8_scale" protect="r">
  92058. <bits access="r" name="pow_max_scale" pos="31:0" rst="0">
  92059. <comment>Pow_max_scale</comment>
  92060. </bits>
  92061. </reg>
  92062. <reg name="measpwr_afc6_out" protect="r">
  92063. <bits access="r" name="afc_out6" pos="15:0" rst="0">
  92064. <comment>AFC</comment>
  92065. </bits>
  92066. </reg>
  92067. <reg name="measpwr_afc7_out" protect="r">
  92068. <bits access="r" name="afc_out7" pos="15:0" rst="0">
  92069. <comment>AFC</comment>
  92070. </bits>
  92071. </reg>
  92072. <reg name="measpwr_afc8_out" protect="r">
  92073. <bits access="r" name="afc_out8" pos="15:0" rst="0">
  92074. <comment>AFC</comment>
  92075. </bits>
  92076. </reg>
  92077. <reg name="measpwr_afc6_rsrp" protect="r">
  92078. <bits access="r" name="afc_rsrp6" pos="15:0" rst="0">
  92079. <comment>AFCRSRP db</comment>
  92080. </bits>
  92081. </reg>
  92082. <reg name="measpwr_afc7_rsrp" protect="r">
  92083. <bits access="r" name="afc_rsrp7" pos="15:0" rst="0">
  92084. <comment>AFCRSRP db</comment>
  92085. </bits>
  92086. </reg>
  92087. <reg name="measpwr_afc8_rsrp" protect="r">
  92088. <bits access="r" name="afc_rsrp8" pos="15:0" rst="0">
  92089. <comment>AFCRSRP db</comment>
  92090. </bits>
  92091. </reg>
  92092. <reg name="measpwr_doppler3_bef1" protect="r">
  92093. <bits access="r" name="doppler3_bef1" pos="31:0" rst="0">
  92094. <comment>DOPPLER1</comment>
  92095. </bits>
  92096. </reg>
  92097. <reg name="measpwr_doppler3_bef2" protect="r">
  92098. <bits access="r" name="doppler3_bef2" pos="31:0" rst="0">
  92099. <comment>DOPPLER2</comment>
  92100. </bits>
  92101. </reg>
  92102. <reg name="measpwr_doppler4_bef1" protect="r">
  92103. <bits access="r" name="doppler4_bef1" pos="31:0" rst="0">
  92104. <comment>DOPPLER1</comment>
  92105. </bits>
  92106. </reg>
  92107. <reg name="measpwr_doppler4_bef2" protect="r">
  92108. <bits access="r" name="doppler4_bef2" pos="31:0" rst="0">
  92109. <comment>DOPPLER2</comment>
  92110. </bits>
  92111. </reg>
  92112. <reg name="measpwr_doppler5_bef1" protect="r">
  92113. <bits access="r" name="doppler5_bef1" pos="31:0" rst="0">
  92114. <comment>DOPPLER1</comment>
  92115. </bits>
  92116. </reg>
  92117. <reg name="measpwr_doppler5_bef2" protect="r">
  92118. <bits access="r" name="doppler5_bef2" pos="31:0" rst="0">
  92119. <comment>DOPPLER2</comment>
  92120. </bits>
  92121. </reg>
  92122. <reg name="measpwr_doppler6_bef1" protect="r">
  92123. <bits access="r" name="doppler6_bef1" pos="31:0" rst="0">
  92124. <comment>DOPPLER1</comment>
  92125. </bits>
  92126. </reg>
  92127. <reg name="measpwr_doppler6_bef2" protect="r">
  92128. <bits access="r" name="doppler6_bef2" pos="31:0" rst="0">
  92129. <comment>DOPPLER2</comment>
  92130. </bits>
  92131. </reg>
  92132. <reg name="measpwr_doppler7_bef1" protect="r">
  92133. <bits access="r" name="doppler7_bef1" pos="31:0" rst="0">
  92134. <comment>DOPPLER1</comment>
  92135. </bits>
  92136. </reg>
  92137. <reg name="measpwr_doppler7_bef2" protect="r">
  92138. <bits access="r" name="doppler7_bef2" pos="31:0" rst="0">
  92139. <comment>DOPPLER2</comment>
  92140. </bits>
  92141. </reg>
  92142. <reg name="measpwr_doppler8_bef1" protect="r">
  92143. <bits access="r" name="doppler8_bef1" pos="31:0" rst="0">
  92144. <comment>DOPPLER1</comment>
  92145. </bits>
  92146. </reg>
  92147. <reg name="measpwr_doppler8_bef2" protect="r">
  92148. <bits access="r" name="doppler8_bef2" pos="31:0" rst="0">
  92149. <comment>DOPPLER2</comment>
  92150. </bits>
  92151. </reg>
  92152. <reg name="measpwr_offline1_agc7" protect="rw">
  92153. <bits access="rw" name="offline1_agc20" pos="19:10" rst="0">
  92154. <comment>20AGC</comment>
  92155. </bits>
  92156. <bits access="rw" name="offline1_agc19" pos="9:0" rst="0">
  92157. <comment>19AGC</comment>
  92158. </bits>
  92159. </reg>
  92160. <reg name="measpwr_int_join" protect="rw">
  92161. <bits access="rw" name="interrupt_join_flag" pos="7:0" rst="0">
  92162. <comment>bit[7:0]id8-id1
  92163. 0:
  92164. 1</comment>
  92165. </bits>
  92166. </reg>
  92167. <reg name="measpwr_int_mark" protect="r">
  92168. <bits access="r" name="id8_interrupt_mark" pos="31:28" rst="0">
  92169. <comment>ID1</comment>
  92170. </bits>
  92171. <bits access="r" name="id7_interrupt_mark" pos="27:24" rst="0">
  92172. <comment>ID1</comment>
  92173. </bits>
  92174. <bits access="r" name="id6_interrupt_mark" pos="23:20" rst="0">
  92175. <comment>ID1</comment>
  92176. </bits>
  92177. <bits access="r" name="id5_interrupt_mark" pos="19:16" rst="0">
  92178. <comment>ID1</comment>
  92179. </bits>
  92180. <bits access="r" name="id4_interrupt_mark" pos="15:12" rst="0">
  92181. <comment>ID1</comment>
  92182. </bits>
  92183. <bits access="r" name="id3_interrupt_mark" pos="11:8" rst="0">
  92184. <comment>ID1</comment>
  92185. </bits>
  92186. <bits access="r" name="id2_interrupt_mark" pos="7:4" rst="0">
  92187. <comment>ID1</comment>
  92188. </bits>
  92189. <bits access="r" name="id1_interrupt_mark" pos="3:0" rst="0">
  92190. <comment>ID110
  92191. bit[0]\offine
  92192. bit[1]
  92193. bit[2]AFC
  92194. bit[3]Agc_compare</comment>
  92195. </bits>
  92196. </reg>
  92197. <reg name="measpwr_int_flag" protect="r">
  92198. <bits access="r" name="interrupt_flag" pos="7:0" rst="0">
  92199. <comment>bit[7:0]id8-id1
  92200. 0
  92201. 1</comment>
  92202. </bits>
  92203. </reg>
  92204. <reg name="measpwr_offline0_decpos1" protect="rw">
  92205. <bits access="rw" name="decision_position3" pos="26:18" rst="0">
  92206. <comment>ID13</comment>
  92207. </bits>
  92208. <bits access="rw" name="decision_position2" pos="17:9" rst="0">
  92209. <comment>ID12</comment>
  92210. </bits>
  92211. <bits access="rw" name="decision_position1" pos="8:0" rst="0">
  92212. <comment>ID11</comment>
  92213. </bits>
  92214. </reg>
  92215. <reg name="measpwr_offline0_decpos2" protect="rw">
  92216. <bits access="rw" name="decision_position3" pos="26:18" rst="0">
  92217. <comment>ID23</comment>
  92218. </bits>
  92219. <bits access="rw" name="decision_position2" pos="17:9" rst="0">
  92220. <comment>ID22</comment>
  92221. </bits>
  92222. <bits access="rw" name="decision_position1" pos="8:0" rst="0">
  92223. <comment>ID21</comment>
  92224. </bits>
  92225. </reg>
  92226. <reg name="measpwr_offline0_decpos3" protect="rw">
  92227. <bits access="rw" name="decision_position3" pos="26:18" rst="0">
  92228. <comment>ID33</comment>
  92229. </bits>
  92230. <bits access="rw" name="decision_position2" pos="17:9" rst="0">
  92231. <comment>ID32</comment>
  92232. </bits>
  92233. <bits access="rw" name="decision_position1" pos="8:0" rst="0">
  92234. <comment>ID31</comment>
  92235. </bits>
  92236. </reg>
  92237. <reg name="measpwr_offline0_decpos4" protect="rw">
  92238. <bits access="rw" name="decision_position3" pos="26:18" rst="0">
  92239. <comment>ID43</comment>
  92240. </bits>
  92241. <bits access="rw" name="decision_position2" pos="17:9" rst="0">
  92242. <comment>ID42</comment>
  92243. </bits>
  92244. <bits access="rw" name="decision_position1" pos="8:0" rst="0">
  92245. <comment>ID41</comment>
  92246. </bits>
  92247. </reg>
  92248. <reg name="measpwr_offline0_decpos5" protect="rw">
  92249. <bits access="rw" name="decision_position3" pos="26:18" rst="0">
  92250. <comment>ID53</comment>
  92251. </bits>
  92252. <bits access="rw" name="decision_position2" pos="17:9" rst="0">
  92253. <comment>ID52</comment>
  92254. </bits>
  92255. <bits access="rw" name="decision_position1" pos="8:0" rst="0">
  92256. <comment>ID51</comment>
  92257. </bits>
  92258. </reg>
  92259. <reg name="measpwr_offline0_decpos6" protect="rw">
  92260. <bits access="rw" name="decision_position3" pos="26:18" rst="0">
  92261. <comment>ID63</comment>
  92262. </bits>
  92263. <bits access="rw" name="decision_position2" pos="17:9" rst="0">
  92264. <comment>ID62</comment>
  92265. </bits>
  92266. <bits access="rw" name="decision_position1" pos="8:0" rst="0">
  92267. <comment>ID61</comment>
  92268. </bits>
  92269. </reg>
  92270. <reg name="measpwr_offline0_decpos7" protect="rw">
  92271. <bits access="rw" name="decision_position3" pos="26:18" rst="0">
  92272. <comment>ID73</comment>
  92273. </bits>
  92274. <bits access="rw" name="decision_position2" pos="17:9" rst="0">
  92275. <comment>ID72</comment>
  92276. </bits>
  92277. <bits access="rw" name="decision_position1" pos="8:0" rst="0">
  92278. <comment>ID71</comment>
  92279. </bits>
  92280. </reg>
  92281. <reg name="measpwr_offline0_decpos8" protect="rw">
  92282. <bits access="rw" name="decision_position3" pos="26:18" rst="0">
  92283. <comment>ID83</comment>
  92284. </bits>
  92285. <bits access="rw" name="decision_position2" pos="17:9" rst="0">
  92286. <comment>ID82</comment>
  92287. </bits>
  92288. <bits access="rw" name="decision_position1" pos="8:0" rst="0">
  92289. <comment>ID81</comment>
  92290. </bits>
  92291. </reg>
  92292. <reg name="measpwr_rbis_para2" protect="rw">
  92293. <bits access="rw" name="rbis_correct" pos="29" rst="0">
  92294. <comment>ID3-8 RBIS CORRECT
  92295. 0
  92296. 1</comment>
  92297. </bits>
  92298. <bits access="rw" name="rbis_judge" pos="28" rst="0">
  92299. <comment>ID3-8 RBIS JUDGE
  92300. 0
  92301. 1</comment>
  92302. </bits>
  92303. <bits access="rw" name="rbis_en" pos="27" rst="0">
  92304. <comment>ID3-8 RBIS
  92305. 0
  92306. 1</comment>
  92307. </bits>
  92308. <bits access="rw" name="rbis_posen" pos="26" rst="0">
  92309. <comment>ID3-8 RBIS
  92310. 0
  92311. 1</comment>
  92312. </bits>
  92313. <bits access="rw" name="rbis_num" pos="25:23" rst="0">
  92314. <comment>ID3-8 RBIS
  92315. 01
  92316. 12
  92317. 23
  92318. 34
  92319. 45</comment>
  92320. </bits>
  92321. <bits access="rw" name="rbis_dipos" pos="22:16" rst="0">
  92322. <comment>ID3-8 RBIS</comment>
  92323. </bits>
  92324. <bits access="rw" name="rbis_factor" pos="15:0" rst="0">
  92325. <comment>ID3-8 RBIS</comment>
  92326. </bits>
  92327. </reg>
  92328. <reg name="measpwr_rbis2_out1" protect="r">
  92329. <bits access="r" name="rbis_out3" pos="30:24" rst="0">
  92330. <comment>ID24RBIPRB</comment>
  92331. </bits>
  92332. <bits access="r" name="rbis_out2" pos="22:16" rst="0">
  92333. <comment>ID23RBIPRB</comment>
  92334. </bits>
  92335. <bits access="r" name="rbis_out1" pos="14:8" rst="0">
  92336. <comment>ID22RBIPRB</comment>
  92337. </bits>
  92338. <bits access="r" name="rbis_out0" pos="6:0" rst="0">
  92339. <comment>ID21RBIPRB</comment>
  92340. </bits>
  92341. </reg>
  92342. <reg name="measpwr_rbis2_out2" protect="r">
  92343. <bits access="r" name="rbis_num" pos="10:8" rst="0">
  92344. <comment>ID2 RBIS JUDGE</comment>
  92345. </bits>
  92346. <bits access="r" name="rbis_out4" pos="6:0" rst="0">
  92347. <comment>ID25RBIPRB</comment>
  92348. </bits>
  92349. </reg>
  92350. <reg name="measpwr_rbis2_ave" protect="r">
  92351. <bits access="r" name="rbis_ave" pos="31:0" rst="0">
  92352. <comment>ID2 RBIS</comment>
  92353. </bits>
  92354. </reg>
  92355. <reg name="measpwr_rbis2_max" protect="r">
  92356. <bits access="r" name="rbis_max" pos="24:0" rst="0">
  92357. <comment>ID2 RBIS</comment>
  92358. </bits>
  92359. </reg>
  92360. <reg name="measpwr_rbis3_out1" protect="r">
  92361. <bits access="r" name="rbis_out3" pos="30:24" rst="0">
  92362. <comment>ID3-84RBIPRB</comment>
  92363. </bits>
  92364. <bits access="r" name="rbis_out2" pos="22:16" rst="0">
  92365. <comment>ID3-83RBIPRB</comment>
  92366. </bits>
  92367. <bits access="r" name="rbis_out1" pos="14:8" rst="0">
  92368. <comment>ID3-82RBIPRB</comment>
  92369. </bits>
  92370. <bits access="r" name="rbis_out0" pos="6:0" rst="0">
  92371. <comment>ID3-81RBIPRB</comment>
  92372. </bits>
  92373. </reg>
  92374. <reg name="measpwr_rbis3_out2" protect="r">
  92375. <bits access="r" name="rbis_num" pos="10:8" rst="0">
  92376. <comment>ID3-8 RBIS JUDGE</comment>
  92377. </bits>
  92378. <bits access="r" name="rbis_out4" pos="6:0" rst="0">
  92379. <comment>ID3-85RBIPRB</comment>
  92380. </bits>
  92381. </reg>
  92382. <reg name="measpwr_rbis3_ave" protect="r">
  92383. <bits access="r" name="rbis_ave" pos="31:0" rst="0">
  92384. <comment>ID3-8 RBIS</comment>
  92385. </bits>
  92386. </reg>
  92387. <reg name="measpwr_rbis3_max" protect="r">
  92388. <bits access="r" name="rbis_max" pos="24:0" rst="0">
  92389. <comment>ID3-8 RBIS</comment>
  92390. </bits>
  92391. </reg>
  92392. <reg name="measpwr_irt_scale2_th1" protect="rw">
  92393. <bits access="rw" name="scaleth_1" pos="31:0" rst="0">
  92394. <comment>1ScaleTh</comment>
  92395. </bits>
  92396. </reg>
  92397. <reg name="measpwr_irt_scale2_th2" protect="rw">
  92398. <bits access="rw" name="scaleth_2" pos="31:0" rst="0">
  92399. <comment>2ScaleTh</comment>
  92400. </bits>
  92401. </reg>
  92402. <reg name="measpwr_irt_scale2_th4" protect="rw">
  92403. <bits access="rw" name="scaleth_4" pos="31:0" rst="0">
  92404. <comment>4ScaleTh</comment>
  92405. </bits>
  92406. </reg>
  92407. <reg name="measpwr_irt_scale2_th8" protect="rw">
  92408. <bits access="rw" name="scaleth_8" pos="31:0" rst="0">
  92409. <comment>8ScaleTh</comment>
  92410. </bits>
  92411. </reg>
  92412. <reg name="measpwr_irt_scale2_th16" protect="rw">
  92413. <bits access="rw" name="scaleth_16" pos="31:0" rst="0">
  92414. <comment>16ScaleTh</comment>
  92415. </bits>
  92416. </reg>
  92417. <reg name="measpwr_irt_scale2_th32" protect="rw">
  92418. <bits access="rw" name="scaleth_32" pos="31:0" rst="0">
  92419. <comment>32ScaleTh</comment>
  92420. </bits>
  92421. </reg>
  92422. <reg name="measpwr_irt_scale2_th64" protect="rw">
  92423. <bits access="rw" name="scaleth_64" pos="31:0" rst="0">
  92424. <comment>64ScaleTh</comment>
  92425. </bits>
  92426. </reg>
  92427. <reg name="measpwr_irt_scale2_th128" protect="rw">
  92428. <bits access="rw" name="scaleth_128" pos="31:0" rst="0">
  92429. <comment>128ScaleTh</comment>
  92430. </bits>
  92431. </reg>
  92432. <reg name="measpwr_irt_scale2_th256" protect="rw">
  92433. <bits access="rw" name="scaleth_256" pos="31:0" rst="0">
  92434. <comment>256ScaleTh</comment>
  92435. </bits>
  92436. </reg>
  92437. <reg name="measpwr_irt_scale2_th512" protect="rw">
  92438. <bits access="rw" name="scaleth_512" pos="31:0" rst="0">
  92439. <comment>512ScaleTh</comment>
  92440. </bits>
  92441. </reg>
  92442. <reg name="measpwr_sigpwr_para2" protect="rw">
  92443. <bits access="rw" name="sigpwr_renum" pos="7:0" rst="0">
  92444. <comment>ID3-8 SIGPWR</comment>
  92445. </bits>
  92446. </reg>
  92447. <reg name="measpwr_irt_para3" protect="rw">
  92448. <bits access="rw" name="s_th" pos="31:16" rst="0">
  92449. <comment>ID3-8</comment>
  92450. </bits>
  92451. <bits access="rw" name="n_th" pos="15:0" rst="0">
  92452. <comment>id3-816q10</comment>
  92453. </bits>
  92454. </reg>
  92455. <reg name="measpwr_trms_para3" protect="rw">
  92456. <bits access="rw" name="s_th" pos="31:16" rst="0">
  92457. <comment>ID3-816q15</comment>
  92458. </bits>
  92459. <bits access="rw" name="n_th" pos="15:0" rst="0">
  92460. <comment>ID3-816q10</comment>
  92461. </bits>
  92462. </reg>
  92463. <reg name="measpwr_rsrp_para5" protect="rw">
  92464. <bits access="rw" name="beta" pos="31:16" rst="0">
  92465. <comment>id3-8beta16Q10</comment>
  92466. </bits>
  92467. <bits access="rw" name="s_th" pos="15:0" rst="0">
  92468. <comment>ID3-8</comment>
  92469. </bits>
  92470. </reg>
  92471. <reg name="measpwr_rbis_in1" protect="rw">
  92472. <bits access="rw" name="rbis_in3" pos="30:24" rst="0">
  92473. <comment>ID14RBIPRB</comment>
  92474. </bits>
  92475. <bits access="rw" name="rbis_in2" pos="22:16" rst="0">
  92476. <comment>ID13RBIPRB</comment>
  92477. </bits>
  92478. <bits access="r" name="reserced3" pos="15" rst="0">
  92479. </bits>
  92480. <bits access="rw" name="rbis_in1" pos="14:8" rst="0">
  92481. <comment>ID12RBIPRB</comment>
  92482. </bits>
  92483. <bits access="rw" name="rbis_in0" pos="6:0" rst="0">
  92484. <comment>ID11RBIPRB</comment>
  92485. </bits>
  92486. </reg>
  92487. <reg name="measpwr_rbis_in2" protect="rw">
  92488. <bits access="rw" name="rbis_in_num" pos="10:8" rst="0">
  92489. <comment>ID1 RBIS JUDGE</comment>
  92490. </bits>
  92491. <bits access="rw" name="rbis_in4" pos="6:0" rst="0">
  92492. <comment>ID15RBIPRB</comment>
  92493. </bits>
  92494. </reg>
  92495. <reg name="measpwr_rbis2_in1" protect="rw">
  92496. <bits access="rw" name="rbis_in3" pos="30:24" rst="0">
  92497. <comment>ID24RBIPRB</comment>
  92498. </bits>
  92499. <bits access="rw" name="rbis_in2" pos="22:16" rst="0">
  92500. <comment>ID23RBIPRB</comment>
  92501. </bits>
  92502. <bits access="r" name="reserced3" pos="15" rst="0">
  92503. </bits>
  92504. <bits access="rw" name="rbis_in1" pos="14:8" rst="0">
  92505. <comment>ID22RBIPRB</comment>
  92506. </bits>
  92507. <bits access="rw" name="rbis_in0" pos="6:0" rst="0">
  92508. <comment>ID21RBIPRB</comment>
  92509. </bits>
  92510. </reg>
  92511. <reg name="measpwr_rbis2_in2" protect="rw">
  92512. <bits access="rw" name="rbis_in_num" pos="10:8" rst="0">
  92513. <comment>ID2 RBIS JUDGE</comment>
  92514. </bits>
  92515. <bits access="rw" name="rbis_in4" pos="6:0" rst="0">
  92516. <comment>ID25RBIPRB</comment>
  92517. </bits>
  92518. </reg>
  92519. <reg name="measpwr_rbis3_in1" protect="rw">
  92520. <bits access="rw" name="rbis_in3" pos="30:24" rst="0">
  92521. <comment>ID3-84RBIPRB</comment>
  92522. </bits>
  92523. <bits access="rw" name="rbis_in2" pos="22:16" rst="0">
  92524. <comment>ID3-83RBIPRB</comment>
  92525. </bits>
  92526. <bits access="r" name="reserced3" pos="15" rst="0">
  92527. </bits>
  92528. <bits access="rw" name="rbis_in1" pos="14:8" rst="0">
  92529. <comment>ID3-82RBIPRB</comment>
  92530. </bits>
  92531. <bits access="rw" name="rbis_in0" pos="6:0" rst="0">
  92532. <comment>ID3-81RBIPRB</comment>
  92533. </bits>
  92534. </reg>
  92535. <reg name="measpwr_rbis3_in2" protect="rw">
  92536. <bits access="rw" name="rbis_in_num" pos="10:8" rst="0">
  92537. <comment>ID3-8 RBIS JUDGE</comment>
  92538. </bits>
  92539. <bits access="rw" name="rbis_in4" pos="6:0" rst="0">
  92540. <comment>ID3-85RBIPRB</comment>
  92541. </bits>
  92542. </reg>
  92543. <hole size="1034944"/>
  92544. <reg name="mem_in_1" protect="rw">
  92545. <bits access="rw" name="mem_in_1_mem_in_1" pos="23:0" rst="0">
  92546. </bits>
  92547. </reg>
  92548. <hole size="65504"/>
  92549. <reg name="mem_in_2" protect="rw">
  92550. <bits access="rw" name="mem_in_2_mem_in_2" pos="23:0" rst="0">
  92551. </bits>
  92552. </reg>
  92553. <hole size="65504"/>
  92554. <reg name="mem_in_3" protect="rw">
  92555. <bits access="rw" name="mem_in_3_mem_in_3" pos="23:0" rst="0">
  92556. </bits>
  92557. </reg>
  92558. <hole size="65504"/>
  92559. <reg name="mem_in_4" protect="rw">
  92560. <bits access="rw" name="mem_in_4_mem_in_4" pos="23:0" rst="0">
  92561. </bits>
  92562. </reg>
  92563. <hole size="65504"/>
  92564. <reg name="mem_in_5" protect="rw">
  92565. <bits access="rw" name="mem_in_5_mem_in_5" pos="23:0" rst="0">
  92566. </bits>
  92567. </reg>
  92568. <hole size="131040"/>
  92569. <reg name="mem_in_6" protect="rw">
  92570. <bits access="rw" name="mem_in_6_mem_in_6" pos="23:0" rst="0">
  92571. </bits>
  92572. </reg>
  92573. <hole size="131040"/>
  92574. <reg name="mem_in_7" protect="rw">
  92575. <bits access="rw" name="mem_in_7_mem_in_7" pos="23:0" rst="0">
  92576. </bits>
  92577. </reg>
  92578. <hole size="262112"/>
  92579. <reg name="mem_in_8" protect="rw">
  92580. <bits access="rw" name="mem_in_8_mem_in_8" pos="23:0" rst="0">
  92581. </bits>
  92582. </reg>
  92583. </module>
  92584. </archive>
  92585. <archive relative="cp_lte_iddet.xml">
  92586. <module category="LTE_SYS" name="CP_LTE_IDDET">
  92587. <reg name="iddet_start" protect="rw">
  92588. <bits access="rw" name="rd_pre_pwr" pos="27" rst="0">
  92589. <comment>DMAIDDET
  92590. 0:
  92591. 1:</comment>
  92592. </bits>
  92593. <bits access="rw" name="save_last_pwr" pos="26" rst="0">
  92594. <comment>DMAMEM
  92595. 0:
  92596. 1:</comment>
  92597. </bits>
  92598. <bits access="rw" name="sample_len" pos="25:12" rst="0">
  92599. <comment>5ms+2OFDM
  92600. 1~9856</comment>
  92601. </bits>
  92602. <bits access="rw" name="sample_num" pos="11:8" rst="0">
  92603. <comment>4b000: 5ms+2OFDM
  92604. 4b0001: 1
  92605. 4b1111: 15</comment>
  92606. </bits>
  92607. <bits access="rw" name="rec_continuity" pos="7" rst="1">
  92608. <comment>0:
  92609. 1:</comment>
  92610. </bits>
  92611. <bits access="rw" name="flow_sel" pos="6:4" rst="0">
  92612. <comment>3b001: PSS
  92613. 3b010: PSS
  92614. 3b011: SSS
  92615. 3b100:
  92616. 3b101:
  92617. 3b110:</comment>
  92618. </bits>
  92619. <bits access="rw" name="txrx_offset_en" pos="3" rst="0">
  92620. <comment>bit type is changed from r/w to rw.
  92621. TXRXOFFSET
  92622. 1:OFFSET
  92623. 0:OFFSET</comment>
  92624. </bits>
  92625. <bits access="rw" name="data_move_out" pos="2" rst="0">
  92626. <comment>1: TXRXDMA;
  92627. 0: TXRXDMA</comment>
  92628. </bits>
  92629. <bits access="rw" name="iddet_stop" pos="1" rst="0">
  92630. <comment>1: IDDET
  92631. 0: IDDET</comment>
  92632. </bits>
  92633. <bits access="rw" name="iddet_start_iddet_start" pos="0" rst="0">
  92634. <comment>1: IDDET
  92635. 0: IDDET</comment>
  92636. </bits>
  92637. </reg>
  92638. <reg name="pss1_ctrl" protect="rw">
  92639. <bits access="rw" name="rssi_en" pos="16" rst="1">
  92640. <comment>bit type is changed from r/w to rw.
  92641. RSSI</comment>
  92642. </bits>
  92643. <bits access="rw" name="output_num" pos="15:12" rst="3">
  92644. <comment>PSS.1~12512</comment>
  92645. </bits>
  92646. <bits access="rw" name="max_num" pos="10:8" rst="1">
  92647. <comment>,1~5</comment>
  92648. </bits>
  92649. <bits access="rw" name="flow_mode_sel" pos="7" rst="0">
  92650. <comment>0: ICS;1: IDDET</comment>
  92651. </bits>
  92652. <bits access="rw" name="ppm_en" pos="6" rst="1">
  92653. <comment>0: 0:</comment>
  92654. </bits>
  92655. <bits access="rw" name="id_mode_sel" pos="5:4" rst="0">
  92656. <comment>0: ID2 1: ID20 2: ID21 3: ID22</comment>
  92657. </bits>
  92658. <bits access="rw" name="localpss_freq_en" pos="3:2" rst="3">
  92659. <comment>0: 1: 1
  92660. 2: 3 3: 5</comment>
  92661. </bits>
  92662. <bits access="rw" name="dagc_en" pos="1" rst="1">
  92663. <comment>0: AGC 1: AGC</comment>
  92664. </bits>
  92665. <bits access="rw" name="dc_en" pos="0" rst="1">
  92666. <comment>0: 1:</comment>
  92667. </bits>
  92668. </reg>
  92669. <reg name="pss2_ctrl" protect="rw">
  92670. <bits access="rw" name="rssi_en" pos="8" rst="1">
  92671. <comment>bit type is changed from r/w to rw.
  92672. RSSI</comment>
  92673. </bits>
  92674. <bits access="rw" name="pos_num" pos="7:4" rst="3">
  92675. <comment>1~12</comment>
  92676. </bits>
  92677. <bits access="rw" name="ppm_en" pos="3" rst="1">
  92678. <comment>1:
  92679. 0:</comment>
  92680. </bits>
  92681. <bits access="rw" name="localpss_freq_en" pos="2" rst="1">
  92682. <comment>1:
  92683. 0:</comment>
  92684. </bits>
  92685. <bits access="rw" name="dagc_en" pos="1" rst="1">
  92686. <comment>1: AGC
  92687. 0: AGC</comment>
  92688. </bits>
  92689. <bits access="rw" name="dc_en" pos="0" rst="1">
  92690. <comment>1:
  92691. 0:</comment>
  92692. </bits>
  92693. </reg>
  92694. <reg name="sss_ctrl" protect="rw">
  92695. <bits access="rw" name="rssi_en" pos="27" rst="1">
  92696. <comment>bit type is changed from r/w to rw.
  92697. RSSI</comment>
  92698. </bits>
  92699. <bits access="rw" name="pos_slide_num" pos="26:25" rst="0">
  92700. <comment>bit type is changed from r/w to rw.
  92701. 0:
  92702. 1:1
  92703. 2:2
  92704. 3:4</comment>
  92705. </bits>
  92706. <bits access="rw" name="sort_sel" pos="24" rst="0">
  92707. <comment>bit type is changed from r/w to rw.
  92708. 0:
  92709. 1:</comment>
  92710. </bits>
  92711. <bits access="rw" name="normalsort_num" pos="23:20" rst="0">
  92712. <comment>1~10</comment>
  92713. </bits>
  92714. <bits access="rw" name="nid1" pos="19:12" rst="0">
  92715. <comment>NID1ID 0~168</comment>
  92716. </bits>
  92717. <bits access="rw" name="pos_num" pos="11:8" rst="3">
  92718. <comment>ICSIDDET1~12</comment>
  92719. </bits>
  92720. <bits access="rw" name="ppm_en" pos="7" rst="1">
  92721. <comment>1:
  92722. 0:</comment>
  92723. </bits>
  92724. <bits access="rw" name="flow_mode_sel" pos="6" rst="0">
  92725. <comment>0:ICS
  92726. 1: ID DETECT</comment>
  92727. </bits>
  92728. <bits access="rw" name="id_mode_sel" pos="5" rst="0">
  92729. <comment>1: ID 0: ID</comment>
  92730. </bits>
  92731. <bits access="rw" name="fdd_tdd_sel" pos="4" rst="0">
  92732. <comment>1: FDD 0: TDD</comment>
  92733. </bits>
  92734. <bits access="rw" name="ic_en" pos="3" rst="1">
  92735. <comment>1:
  92736. 0:</comment>
  92737. </bits>
  92738. <bits access="rw" name="freq_en" pos="2" rst="1">
  92739. <comment>1:
  92740. 0:</comment>
  92741. </bits>
  92742. <bits access="rw" name="dagc_en" pos="1" rst="1">
  92743. <comment>1: AGC
  92744. 0: AGC</comment>
  92745. </bits>
  92746. <bits access="rw" name="dc_en" pos="0" rst="1">
  92747. <comment>1:
  92748. 0:</comment>
  92749. </bits>
  92750. </reg>
  92751. <reg name="freqitm_idident_ctrl" protect="rw">
  92752. <bits access="rw" name="rssi_en" pos="18" rst="1">
  92753. <comment>RSSI</comment>
  92754. </bits>
  92755. <bits access="rw" name="pos_slide_num" pos="17:16" rst="0">
  92756. <comment>0:
  92757. 1:1
  92758. 2:2
  92759. 3:4</comment>
  92760. </bits>
  92761. <bits access="rw" name="pos_num" pos="15:12" rst="3">
  92762. <comment>1~12</comment>
  92763. </bits>
  92764. <bits access="rw" name="slide_num" pos="10:8" rst="4">
  92765. <comment>PSSSSSM0~4</comment>
  92766. </bits>
  92767. <bits access="rw" name="fdd_tdd_sel" pos="5" rst="0">
  92768. <comment>1: FDD
  92769. 0: TDD</comment>
  92770. </bits>
  92771. <bits access="rw" name="freq_en" pos="4" rst="1">
  92772. <comment>1:
  92773. 0:</comment>
  92774. </bits>
  92775. <bits access="rw" name="freqitm_en" pos="3" rst="1">
  92776. <comment>1:
  92777. 0:</comment>
  92778. </bits>
  92779. <bits access="rw" name="ppm_en" pos="2" rst="1">
  92780. <comment>1:
  92781. 0:</comment>
  92782. </bits>
  92783. <bits access="rw" name="dagc_en" pos="1" rst="1">
  92784. <comment>1: AGC
  92785. 0: AGC</comment>
  92786. </bits>
  92787. <bits access="rw" name="dc_en" pos="0" rst="1">
  92788. <comment>1:
  92789. 0:</comment>
  92790. </bits>
  92791. </reg>
  92792. <reg name="resync_ctrl" protect="rw">
  92793. <bits access="rw" name="rssi_en" pos="21" rst="1">
  92794. <comment>RSSI</comment>
  92795. </bits>
  92796. <bits access="rw" name="data_len" pos="20:18" rst="1">
  92797. <comment>0:1ms
  92798. 1:2ms
  92799. 2:3ms
  92800. 3:4ms
  92801. 4:5ms</comment>
  92802. </bits>
  92803. <bits access="rw" name="sfnum" pos="17:16" rst="0">
  92804. <comment>00: 01: 0 10: 5</comment>
  92805. </bits>
  92806. <bits access="rw" name="max_num" pos="14:12" rst="1">
  92807. <comment>1~5</comment>
  92808. </bits>
  92809. <bits access="rw" name="id1" pos="11:4" rst="0">
  92810. <comment>ID1 0~167</comment>
  92811. </bits>
  92812. <bits access="rw" name="id2" pos="3:2" rst="0">
  92813. <comment>ID2 0~2</comment>
  92814. </bits>
  92815. <bits access="rw" name="dagc_en" pos="1" rst="1">
  92816. <comment>0: AGC
  92817. 1: AGC</comment>
  92818. </bits>
  92819. <bits access="rw" name="dc_en" pos="0" rst="1">
  92820. <comment>0:
  92821. 1:</comment>
  92822. </bits>
  92823. </reg>
  92824. <reg name="shift_ctrl0" protect="rw">
  92825. <bits access="rw" name="pwr_acc_s3" pos="31:28" rst="0">
  92826. <comment>RSSI -8~7</comment>
  92827. </bits>
  92828. <bits access="rw" name="rssi_s3" pos="27:24" rst="0">
  92829. <comment>RSSI -8~7</comment>
  92830. </bits>
  92831. <bits access="rw" name="pwr_acc_s2" pos="23:20" rst="0">
  92832. <comment>RSSI -8~7</comment>
  92833. </bits>
  92834. <bits access="rw" name="rssi_s2" pos="19:16" rst="0">
  92835. <comment>RSSI -8~7</comment>
  92836. </bits>
  92837. <bits access="rw" name="pwr_acc_s1" pos="15:12" rst="0">
  92838. <comment>RSSI -8~7</comment>
  92839. </bits>
  92840. <bits access="rw" name="rssi_s1" pos="11:8" rst="0">
  92841. <comment>RSSI -8~7</comment>
  92842. </bits>
  92843. <bits access="rw" name="pwr_acc_s0" pos="7:4" rst="0">
  92844. <comment>RSSI -8~7</comment>
  92845. </bits>
  92846. <bits access="rw" name="rssi_s0" pos="3:0" rst="0">
  92847. <comment>RSSI -8~7</comment>
  92848. </bits>
  92849. </reg>
  92850. <reg name="shift_ctrl1" protect="rw">
  92851. <bits access="rw" name="pwr_acc_s7" pos="31:28" rst="0">
  92852. <comment>RSSI -8~7</comment>
  92853. </bits>
  92854. <bits access="rw" name="rssi_s7" pos="27:24" rst="0">
  92855. <comment>RSSI -8~7</comment>
  92856. </bits>
  92857. <bits access="rw" name="pwr_acc_s6" pos="23:20" rst="0">
  92858. <comment>RSSI -8~7</comment>
  92859. </bits>
  92860. <bits access="rw" name="rssi_s6" pos="19:16" rst="0">
  92861. <comment>RSSI -8~7</comment>
  92862. </bits>
  92863. <bits access="rw" name="pwr_acc_s5" pos="15:12" rst="0">
  92864. <comment>RSSI -8~7</comment>
  92865. </bits>
  92866. <bits access="rw" name="rssi_s5" pos="11:8" rst="0">
  92867. <comment>RSSI -8~7</comment>
  92868. </bits>
  92869. <bits access="rw" name="pwr_acc_s4" pos="7:4" rst="0">
  92870. <comment>RSSI -8~7</comment>
  92871. </bits>
  92872. <bits access="rw" name="rssi_s4" pos="3:0" rst="0">
  92873. <comment>RSSI -8~7</comment>
  92874. </bits>
  92875. </reg>
  92876. <reg name="shift_ctrl2" protect="rw">
  92877. <bits access="rw" name="pwr_acc_s9" pos="15:12" rst="0">
  92878. <comment>RSSI -8~7</comment>
  92879. </bits>
  92880. <bits access="rw" name="rssi_s9" pos="11:8" rst="0">
  92881. <comment>RSSI -8~7</comment>
  92882. </bits>
  92883. <bits access="rw" name="pwr_acc_s8" pos="7:4" rst="0">
  92884. <comment>RSSI -8~7</comment>
  92885. </bits>
  92886. <bits access="rw" name="rssi_s8" pos="3:0" rst="0">
  92887. <comment>RSSI -8~7</comment>
  92888. </bits>
  92889. </reg>
  92890. <reg name="int_ctrl" protect="rw">
  92891. <bits access="rw" name="discon_section_fin_irq_en" pos="10" rst="1">
  92892. <comment>1:
  92893. 0:</comment>
  92894. </bits>
  92895. <bits access="rw" name="freq_search_irq_en" pos="9" rst="1">
  92896. <comment>1: 1
  92897. 0: 1</comment>
  92898. </bits>
  92899. <bits access="rw" name="rssi_en" pos="8" rst="1">
  92900. <comment>1:RSSI
  92901. 0: RSSI</comment>
  92902. </bits>
  92903. <bits access="rw" name="stop" pos="7" rst="1">
  92904. <comment>1:
  92905. 0:</comment>
  92906. </bits>
  92907. <bits access="rw" name="error_irq_en" pos="6" rst="1">
  92908. <comment>1: AXIDMA
  92909. 0: AXIDMA</comment>
  92910. </bits>
  92911. <bits access="rw" name="txrx_suspend_irq_en" pos="5" rst="1">
  92912. <comment>1:TXRX
  92913. 0: TXRX</comment>
  92914. </bits>
  92915. <bits access="rw" name="resync_fin_irq_en" pos="4" rst="1">
  92916. <comment>1:
  92917. 0:</comment>
  92918. </bits>
  92919. <bits access="rw" name="freq_idident_fin_irq_en" pos="3" rst="1">
  92920. <comment>1:
  92921. 0:</comment>
  92922. </bits>
  92923. <bits access="rw" name="sss_fin_irq_en" pos="2" rst="1">
  92924. <comment>1:SSS
  92925. 0: SSS</comment>
  92926. </bits>
  92927. <bits access="rw" name="pssitm_fin_irq_en" pos="1" rst="1">
  92928. <comment>1:PSS
  92929. 0: PSS</comment>
  92930. </bits>
  92931. <bits access="rw" name="pssgru_fin_irq_en" pos="0" rst="1">
  92932. <comment>1:PSS
  92933. 0: PSS</comment>
  92934. </bits>
  92935. </reg>
  92936. <reg name="pos_offset" protect="rw">
  92937. <bits access="rw" name="pss1_rssi_th" pos="31:16" rst="0">
  92938. <comment>RSSI</comment>
  92939. </bits>
  92940. <bits access="rw" name="pssitm_sss_offset_pos" pos="14:0" rst="0">
  92941. <comment>PSSTXRX0PSSSSSTXRX
  92942. 00~19200</comment>
  92943. </bits>
  92944. </reg>
  92945. <reg name="sam_num_ctrl1" protect="rw">
  92946. <bits access="rw" name="sam_num" pos="7:0" rst="0">
  92947. <comment>0~200</comment>
  92948. </bits>
  92949. </reg>
  92950. <reg name="sam_num_ctrl2" protect="rw">
  92951. <bits access="rw" name="sam_num" pos="7:0" rst="0">
  92952. <comment>0~200</comment>
  92953. </bits>
  92954. </reg>
  92955. <reg name="sam_num_ctrl3" protect="rw">
  92956. <bits access="rw" name="sam_num" pos="7:0" rst="0">
  92957. <comment>0~200</comment>
  92958. </bits>
  92959. </reg>
  92960. <reg name="sam_num_ctrl4" protect="rw">
  92961. <bits access="rw" name="sam_num" pos="7:0" rst="0">
  92962. <comment>0~200</comment>
  92963. </bits>
  92964. </reg>
  92965. <reg name="sam_num_ctrl5" protect="rw">
  92966. <bits access="rw" name="sam_num" pos="7:0" rst="0">
  92967. <comment>0~200</comment>
  92968. </bits>
  92969. </reg>
  92970. <reg name="sam_num_ctrl6" protect="rw">
  92971. <bits access="rw" name="sam_num" pos="7:0" rst="0">
  92972. <comment>0~200</comment>
  92973. </bits>
  92974. </reg>
  92975. <reg name="sam_num_ctrl7" protect="rw">
  92976. <bits access="rw" name="sam_num" pos="7:0" rst="0">
  92977. <comment>0~200</comment>
  92978. </bits>
  92979. </reg>
  92980. <reg name="sam_num_ctrl8" protect="rw">
  92981. <bits access="rw" name="sam_num" pos="7:0" rst="0">
  92982. <comment>0~200</comment>
  92983. </bits>
  92984. </reg>
  92985. <reg name="sam_num_ctrl9" protect="rw">
  92986. <bits access="rw" name="sam_num" pos="7:0" rst="0">
  92987. <comment>0~200</comment>
  92988. </bits>
  92989. </reg>
  92990. <reg name="sam_num_ctrl10" protect="rw">
  92991. <bits access="rw" name="sam_num" pos="7:0" rst="0">
  92992. <comment>0~200</comment>
  92993. </bits>
  92994. </reg>
  92995. <reg name="end_threshold1" protect="rw">
  92996. <bits access="rw" name="end_threshold1_end_threshold1" pos="31:16" rst="0">
  92997. <comment>1</comment>
  92998. </bits>
  92999. <bits access="rw" name="end_threshold0" pos="15:0" rst="0">
  93000. <comment>0</comment>
  93001. </bits>
  93002. </reg>
  93003. <reg name="end_threshold2" protect="rw">
  93004. <bits access="rw" name="end_threshold1" pos="31:16" rst="0">
  93005. <comment>1</comment>
  93006. </bits>
  93007. <bits access="rw" name="end_threshold0" pos="15:0" rst="0">
  93008. <comment>0</comment>
  93009. </bits>
  93010. </reg>
  93011. <reg name="end_threshold3" protect="rw">
  93012. <bits access="rw" name="end_threshold1" pos="31:16" rst="0">
  93013. <comment>1</comment>
  93014. </bits>
  93015. <bits access="rw" name="end_threshold0" pos="15:0" rst="0">
  93016. <comment>0</comment>
  93017. </bits>
  93018. </reg>
  93019. <reg name="end_threshold4" protect="rw">
  93020. <bits access="rw" name="end_threshold1" pos="31:16" rst="0">
  93021. <comment>1</comment>
  93022. </bits>
  93023. <bits access="rw" name="end_threshold0" pos="15:0" rst="0">
  93024. <comment>0</comment>
  93025. </bits>
  93026. </reg>
  93027. <reg name="end_threshold5" protect="rw">
  93028. <bits access="rw" name="end_threshold1" pos="31:16" rst="0">
  93029. <comment>1</comment>
  93030. </bits>
  93031. <bits access="rw" name="end_threshold0" pos="15:0" rst="0">
  93032. <comment>0</comment>
  93033. </bits>
  93034. </reg>
  93035. <reg name="end_threshold6" protect="rw">
  93036. <bits access="rw" name="end_threshold1" pos="31:16" rst="0">
  93037. <comment>1</comment>
  93038. </bits>
  93039. <bits access="rw" name="end_threshold0" pos="15:0" rst="0">
  93040. <comment>0</comment>
  93041. </bits>
  93042. </reg>
  93043. <reg name="end_threshold7" protect="rw">
  93044. <bits access="rw" name="end_threshold1" pos="31:16" rst="0">
  93045. <comment>1</comment>
  93046. </bits>
  93047. <bits access="rw" name="end_threshold0" pos="15:0" rst="0">
  93048. <comment>0</comment>
  93049. </bits>
  93050. </reg>
  93051. <reg name="end_threshold8" protect="rw">
  93052. <bits access="rw" name="end_threshold1" pos="31:16" rst="0">
  93053. <comment>1</comment>
  93054. </bits>
  93055. <bits access="rw" name="end_threshold0" pos="15:0" rst="0">
  93056. <comment>0</comment>
  93057. </bits>
  93058. </reg>
  93059. <reg name="end_threshold9" protect="rw">
  93060. <bits access="rw" name="end_threshold1" pos="31:16" rst="0">
  93061. <comment>1</comment>
  93062. </bits>
  93063. <bits access="rw" name="end_threshold0" pos="15:0" rst="0">
  93064. <comment>0</comment>
  93065. </bits>
  93066. </reg>
  93067. <reg name="end_threshold10" protect="rw">
  93068. <bits access="rw" name="end_threshold1" pos="31:16" rst="0">
  93069. <comment>1</comment>
  93070. </bits>
  93071. <bits access="rw" name="end_threshold0" pos="15:0" rst="0">
  93072. <comment>0</comment>
  93073. </bits>
  93074. </reg>
  93075. <reg name="pssitm_id_para1" protect="rw">
  93076. <bits access="rw" name="pssgru_freqoff" pos="27:12" rst="0">
  93077. <comment>PSSID-32768~32767</comment>
  93078. </bits>
  93079. <bits access="rw" name="pssgru_ppm" pos="9:4" rst="0">
  93080. <comment>PSSID-32~31</comment>
  93081. </bits>
  93082. <bits access="rw" name="nid2" pos="1:0" rst="0">
  93083. <comment>PSS</comment>
  93084. </bits>
  93085. </reg>
  93086. <reg name="pssitm_id_para2" protect="rw">
  93087. <bits access="rw" name="pssgru_freqoff" pos="27:12" rst="0">
  93088. <comment>PSSID-32768~32767</comment>
  93089. </bits>
  93090. <bits access="rw" name="pssgru_ppm" pos="9:4" rst="0">
  93091. <comment>PSSID-32~31</comment>
  93092. </bits>
  93093. <bits access="rw" name="nid2" pos="1:0" rst="0">
  93094. <comment>PSS</comment>
  93095. </bits>
  93096. </reg>
  93097. <reg name="pssitm_id_para3" protect="rw">
  93098. <bits access="rw" name="pssgru_freqoff" pos="27:12" rst="0">
  93099. <comment>PSSID-32768~32767</comment>
  93100. </bits>
  93101. <bits access="rw" name="pssgru_ppm" pos="9:4" rst="0">
  93102. <comment>PSSID-32~31</comment>
  93103. </bits>
  93104. <bits access="rw" name="nid2" pos="1:0" rst="0">
  93105. <comment>PSS</comment>
  93106. </bits>
  93107. </reg>
  93108. <reg name="pssitm_id_para4" protect="rw">
  93109. <bits access="rw" name="pssgru_freqoff" pos="27:12" rst="0">
  93110. <comment>PSSID-32768~32767</comment>
  93111. </bits>
  93112. <bits access="rw" name="pssgru_ppm" pos="9:4" rst="0">
  93113. <comment>PSSID-32~31</comment>
  93114. </bits>
  93115. <bits access="rw" name="nid2" pos="1:0" rst="0">
  93116. <comment>PSS</comment>
  93117. </bits>
  93118. </reg>
  93119. <reg name="pssitm_id_para5" protect="rw">
  93120. <bits access="rw" name="pssgru_freqoff" pos="27:12" rst="0">
  93121. <comment>PSSID-32768~32767</comment>
  93122. </bits>
  93123. <bits access="rw" name="pssgru_ppm" pos="9:4" rst="0">
  93124. <comment>PSSID-32~31</comment>
  93125. </bits>
  93126. <bits access="rw" name="nid2" pos="1:0" rst="0">
  93127. <comment>PSS</comment>
  93128. </bits>
  93129. </reg>
  93130. <reg name="pssitm_id_para6" protect="rw">
  93131. <bits access="rw" name="pssgru_freqoff" pos="27:12" rst="0">
  93132. <comment>PSSID-32768~32767</comment>
  93133. </bits>
  93134. <bits access="rw" name="pssgru_ppm" pos="9:4" rst="0">
  93135. <comment>PSSID-32~31</comment>
  93136. </bits>
  93137. <bits access="rw" name="nid2" pos="1:0" rst="0">
  93138. <comment>PSS</comment>
  93139. </bits>
  93140. </reg>
  93141. <reg name="pssitm_id_para7" protect="rw">
  93142. <bits access="rw" name="pssgru_freqoff" pos="27:12" rst="0">
  93143. <comment>PSSID-32768~32767</comment>
  93144. </bits>
  93145. <bits access="rw" name="pssgru_ppm" pos="9:4" rst="0">
  93146. <comment>PSSID-32~31</comment>
  93147. </bits>
  93148. <bits access="rw" name="nid2" pos="1:0" rst="0">
  93149. <comment>PSS</comment>
  93150. </bits>
  93151. </reg>
  93152. <reg name="pssitm_id_para8" protect="rw">
  93153. <bits access="rw" name="pssgru_freqoff" pos="27:12" rst="0">
  93154. <comment>PSSID-32768~32767</comment>
  93155. </bits>
  93156. <bits access="rw" name="pssgru_ppm" pos="9:4" rst="0">
  93157. <comment>PSSID-32~31</comment>
  93158. </bits>
  93159. <bits access="rw" name="nid2" pos="1:0" rst="0">
  93160. <comment>PSS</comment>
  93161. </bits>
  93162. </reg>
  93163. <reg name="pssitm_id_para9" protect="rw">
  93164. <bits access="rw" name="pssgru_freqoff" pos="27:12" rst="0">
  93165. <comment>PSSID-32768~32767</comment>
  93166. </bits>
  93167. <bits access="rw" name="pssgru_ppm" pos="9:4" rst="0">
  93168. <comment>PSSID-32~31</comment>
  93169. </bits>
  93170. <bits access="rw" name="nid2" pos="1:0" rst="0">
  93171. <comment>PSS</comment>
  93172. </bits>
  93173. </reg>
  93174. <reg name="pssitm_id_para10" protect="rw">
  93175. <bits access="rw" name="pssgru_freqoff" pos="27:12" rst="0">
  93176. <comment>PSSID-32768~32767</comment>
  93177. </bits>
  93178. <bits access="rw" name="pssgru_ppm" pos="9:4" rst="0">
  93179. <comment>PSSID-32~31</comment>
  93180. </bits>
  93181. <bits access="rw" name="nid2" pos="1:0" rst="0">
  93182. <comment>PSS</comment>
  93183. </bits>
  93184. </reg>
  93185. <reg name="pssitm_id_para11" protect="rw">
  93186. <bits access="rw" name="pssgru_freqoff" pos="27:12" rst="0">
  93187. <comment>PSSID-32768~32767</comment>
  93188. </bits>
  93189. <bits access="rw" name="pssgru_ppm" pos="9:4" rst="0">
  93190. <comment>PSSID-32~31</comment>
  93191. </bits>
  93192. <bits access="rw" name="nid2" pos="1:0" rst="0">
  93193. <comment>PSS</comment>
  93194. </bits>
  93195. </reg>
  93196. <reg name="pssitm_id_para12" protect="rw">
  93197. <bits access="rw" name="pssgru_freqoff" pos="27:12" rst="0">
  93198. <comment>PSSID-32768~32767</comment>
  93199. </bits>
  93200. <bits access="rw" name="pssgru_ppm" pos="9:4" rst="0">
  93201. <comment>PSSID-32~31</comment>
  93202. </bits>
  93203. <bits access="rw" name="nid2" pos="1:0" rst="0">
  93204. <comment>PSS</comment>
  93205. </bits>
  93206. </reg>
  93207. <reg name="sss_id_para1" protect="rw">
  93208. <bits access="rw" name="pssgru_freqoff" pos="27:12" rst="0">
  93209. <comment>PSSID-32768~32767</comment>
  93210. </bits>
  93211. <bits access="rw" name="pssgru_ppm" pos="9:4" rst="0">
  93212. <comment>PSSID-32~31</comment>
  93213. </bits>
  93214. <bits access="rw" name="cptype" pos="3" rst="0">
  93215. <comment>IDCP
  93216. 1EXTEND CP
  93217. 0NORMAL CP</comment>
  93218. </bits>
  93219. <bits access="rw" name="sfnum" pos="2" rst="0">
  93220. <comment>ID(SSS)15 00</comment>
  93221. </bits>
  93222. <bits access="rw" name="nid2" pos="1:0" rst="0">
  93223. <comment>SSS</comment>
  93224. </bits>
  93225. </reg>
  93226. <reg name="sss_id_para2" protect="rw">
  93227. <bits access="rw" name="pssgru_freqoff" pos="27:12" rst="0">
  93228. <comment>PSSID-32768~32767</comment>
  93229. </bits>
  93230. <bits access="rw" name="pssgru_ppm" pos="9:4" rst="0">
  93231. <comment>PSSID-32~31</comment>
  93232. </bits>
  93233. <bits access="rw" name="cptype" pos="3" rst="0">
  93234. <comment>IDCP
  93235. 1EXTEND CP
  93236. 0NORMAL CP</comment>
  93237. </bits>
  93238. <bits access="rw" name="sfnum" pos="2" rst="0">
  93239. <comment>ID(SSS)15 00</comment>
  93240. </bits>
  93241. <bits access="rw" name="nid2" pos="1:0" rst="0">
  93242. <comment>SSS</comment>
  93243. </bits>
  93244. </reg>
  93245. <reg name="sss_id_para3" protect="rw">
  93246. <bits access="rw" name="pssgru_freqoff" pos="27:12" rst="0">
  93247. <comment>PSSID-32768~32767</comment>
  93248. </bits>
  93249. <bits access="rw" name="pssgru_ppm" pos="9:4" rst="0">
  93250. <comment>PSSID-32~31</comment>
  93251. </bits>
  93252. <bits access="rw" name="cptype" pos="3" rst="0">
  93253. <comment>IDCP
  93254. 1EXTEND CP
  93255. 0NORMAL CP</comment>
  93256. </bits>
  93257. <bits access="rw" name="sfnum" pos="2" rst="0">
  93258. <comment>ID(SSS)15 00</comment>
  93259. </bits>
  93260. <bits access="rw" name="nid2" pos="1:0" rst="0">
  93261. <comment>SSS</comment>
  93262. </bits>
  93263. </reg>
  93264. <reg name="sss_id_para4" protect="rw">
  93265. <bits access="rw" name="pssgru_freqoff" pos="27:12" rst="0">
  93266. <comment>PSSID-32768~32767</comment>
  93267. </bits>
  93268. <bits access="rw" name="pssgru_ppm" pos="9:4" rst="0">
  93269. <comment>PSSID-32~31</comment>
  93270. </bits>
  93271. <bits access="rw" name="cptype" pos="3" rst="0">
  93272. <comment>IDCP
  93273. 1EXTEND CP
  93274. 0NORMAL CP</comment>
  93275. </bits>
  93276. <bits access="rw" name="sfnum" pos="2" rst="0">
  93277. <comment>ID(SSS)15 00</comment>
  93278. </bits>
  93279. <bits access="rw" name="nid2" pos="1:0" rst="0">
  93280. <comment>SSS</comment>
  93281. </bits>
  93282. </reg>
  93283. <reg name="sss_id_para5" protect="rw">
  93284. <bits access="rw" name="pssgru_freqoff" pos="27:12" rst="0">
  93285. <comment>PSSID-32768~32767</comment>
  93286. </bits>
  93287. <bits access="rw" name="pssgru_ppm" pos="9:4" rst="0">
  93288. <comment>PSSID-32~31</comment>
  93289. </bits>
  93290. <bits access="rw" name="cptype" pos="3" rst="0">
  93291. <comment>IDCP
  93292. 1EXTEND CP
  93293. 0NORMAL CP</comment>
  93294. </bits>
  93295. <bits access="rw" name="sfnum" pos="2" rst="0">
  93296. <comment>ID(SSS)15 00</comment>
  93297. </bits>
  93298. <bits access="rw" name="nid2" pos="1:0" rst="0">
  93299. <comment>SSS</comment>
  93300. </bits>
  93301. </reg>
  93302. <reg name="sss_id_para6" protect="rw">
  93303. <bits access="rw" name="pssgru_freqoff" pos="27:12" rst="0">
  93304. <comment>PSSID-32768~32767</comment>
  93305. </bits>
  93306. <bits access="rw" name="pssgru_ppm" pos="9:4" rst="0">
  93307. <comment>PSSID-32~31</comment>
  93308. </bits>
  93309. <bits access="rw" name="cptype" pos="3" rst="0">
  93310. <comment>IDCP
  93311. 1EXTEND CP
  93312. 0NORMAL CP</comment>
  93313. </bits>
  93314. <bits access="rw" name="sfnum" pos="2" rst="0">
  93315. <comment>ID(SSS)15 00</comment>
  93316. </bits>
  93317. <bits access="rw" name="nid2" pos="1:0" rst="0">
  93318. <comment>SSS</comment>
  93319. </bits>
  93320. </reg>
  93321. <reg name="sss_id_para7" protect="rw">
  93322. <bits access="rw" name="pssgru_freqoff" pos="27:12" rst="0">
  93323. <comment>PSSID-32768~32767</comment>
  93324. </bits>
  93325. <bits access="rw" name="pssgru_ppm" pos="9:4" rst="0">
  93326. <comment>PSSID-32~31</comment>
  93327. </bits>
  93328. <bits access="rw" name="cptype" pos="3" rst="0">
  93329. <comment>IDCP
  93330. 1EXTEND CP
  93331. 0NORMAL CP</comment>
  93332. </bits>
  93333. <bits access="rw" name="sfnum" pos="2" rst="0">
  93334. <comment>ID(SSS)15 00</comment>
  93335. </bits>
  93336. <bits access="rw" name="nid2" pos="1:0" rst="0">
  93337. <comment>SSS</comment>
  93338. </bits>
  93339. </reg>
  93340. <reg name="sss_id_para8" protect="rw">
  93341. <bits access="rw" name="pssgru_freqoff" pos="27:12" rst="0">
  93342. <comment>PSSID-32768~32767</comment>
  93343. </bits>
  93344. <bits access="rw" name="pssgru_ppm" pos="9:4" rst="0">
  93345. <comment>PSSID-32~31</comment>
  93346. </bits>
  93347. <bits access="rw" name="cptype" pos="3" rst="0">
  93348. <comment>IDCP
  93349. 1EXTEND CP
  93350. 0NORMAL CP</comment>
  93351. </bits>
  93352. <bits access="rw" name="sfnum" pos="2" rst="0">
  93353. <comment>ID(SSS)15 00</comment>
  93354. </bits>
  93355. <bits access="rw" name="nid2" pos="1:0" rst="0">
  93356. <comment>SSS</comment>
  93357. </bits>
  93358. </reg>
  93359. <reg name="sss_id_para9" protect="rw">
  93360. <bits access="rw" name="pssgru_freqoff" pos="27:12" rst="0">
  93361. <comment>PSSID-32768~32767</comment>
  93362. </bits>
  93363. <bits access="rw" name="pssgru_ppm" pos="9:4" rst="0">
  93364. <comment>PSSID-32~31</comment>
  93365. </bits>
  93366. <bits access="rw" name="cptype" pos="3" rst="0">
  93367. <comment>IDCP
  93368. 1EXTEND CP
  93369. 0NORMAL CP</comment>
  93370. </bits>
  93371. <bits access="rw" name="sfnum" pos="2" rst="0">
  93372. <comment>ID(SSS)15 00</comment>
  93373. </bits>
  93374. <bits access="rw" name="nid2" pos="1:0" rst="0">
  93375. <comment>SSS</comment>
  93376. </bits>
  93377. </reg>
  93378. <reg name="sss_id_para10" protect="rw">
  93379. <bits access="rw" name="pssgru_freqoff" pos="27:12" rst="0">
  93380. <comment>PSSID-32768~32767</comment>
  93381. </bits>
  93382. <bits access="rw" name="pssgru_ppm" pos="9:4" rst="0">
  93383. <comment>PSSID-32~31</comment>
  93384. </bits>
  93385. <bits access="rw" name="cptype" pos="3" rst="0">
  93386. <comment>IDCP
  93387. 1EXTEND CP
  93388. 0NORMAL CP</comment>
  93389. </bits>
  93390. <bits access="rw" name="sfnum" pos="2" rst="0">
  93391. <comment>ID(SSS)15 00</comment>
  93392. </bits>
  93393. <bits access="rw" name="nid2" pos="1:0" rst="0">
  93394. <comment>SSS</comment>
  93395. </bits>
  93396. </reg>
  93397. <reg name="sss_id_para11" protect="rw">
  93398. <bits access="rw" name="pssgru_freqoff" pos="27:12" rst="0">
  93399. <comment>PSSID-32768~32767</comment>
  93400. </bits>
  93401. <bits access="rw" name="pssgru_ppm" pos="9:4" rst="0">
  93402. <comment>PSSID-32~31</comment>
  93403. </bits>
  93404. <bits access="rw" name="cptype" pos="3" rst="0">
  93405. <comment>IDCP
  93406. 1EXTEND CP
  93407. 0NORMAL CP</comment>
  93408. </bits>
  93409. <bits access="rw" name="sfnum" pos="2" rst="0">
  93410. <comment>ID(SSS)15 00</comment>
  93411. </bits>
  93412. <bits access="rw" name="nid2" pos="1:0" rst="0">
  93413. <comment>SSS</comment>
  93414. </bits>
  93415. </reg>
  93416. <reg name="sss_id_para12" protect="rw">
  93417. <bits access="rw" name="pssgru_freqoff" pos="27:12" rst="0">
  93418. <comment>PSSID-32768~32767</comment>
  93419. </bits>
  93420. <bits access="rw" name="pssgru_ppm" pos="9:4" rst="0">
  93421. <comment>PSSID-32~31</comment>
  93422. </bits>
  93423. <bits access="rw" name="cptype" pos="3" rst="0">
  93424. <comment>IDCP
  93425. 1EXTEND CP
  93426. 0NORMAL CP</comment>
  93427. </bits>
  93428. <bits access="rw" name="sfnum" pos="2" rst="0">
  93429. <comment>ID(SSS)15 00</comment>
  93430. </bits>
  93431. <bits access="rw" name="nid2" pos="1:0" rst="0">
  93432. <comment>SSS</comment>
  93433. </bits>
  93434. </reg>
  93435. <reg name="freqitm_idident_para1" protect="rw">
  93436. <bits access="rw" name="nid1" pos="7:0" rst="0">
  93437. <comment>NID1 0-167</comment>
  93438. </bits>
  93439. </reg>
  93440. <reg name="freqitm_idident_para2" protect="rw">
  93441. <bits access="rw" name="nid1" pos="7:0" rst="0">
  93442. <comment>NID1 0-167</comment>
  93443. </bits>
  93444. </reg>
  93445. <reg name="freqitm_idident_para3" protect="rw">
  93446. <bits access="rw" name="nid1" pos="7:0" rst="0">
  93447. <comment>NID1 0-167</comment>
  93448. </bits>
  93449. </reg>
  93450. <reg name="freqitm_idident_para4" protect="rw">
  93451. <bits access="rw" name="nid1" pos="7:0" rst="0">
  93452. <comment>NID1 0-167</comment>
  93453. </bits>
  93454. </reg>
  93455. <reg name="freqitm_idident_para5" protect="rw">
  93456. <bits access="rw" name="nid1" pos="7:0" rst="0">
  93457. <comment>NID1 0-167</comment>
  93458. </bits>
  93459. </reg>
  93460. <reg name="freqitm_idident_para6" protect="rw">
  93461. <bits access="rw" name="nid1" pos="7:0" rst="0">
  93462. <comment>NID1 0-167</comment>
  93463. </bits>
  93464. </reg>
  93465. <reg name="freqitm_idident_para7" protect="rw">
  93466. <bits access="rw" name="nid1" pos="7:0" rst="0">
  93467. <comment>NID1 0-167</comment>
  93468. </bits>
  93469. </reg>
  93470. <reg name="freqitm_idident_para8" protect="rw">
  93471. <bits access="rw" name="nid1" pos="7:0" rst="0">
  93472. <comment>NID1 0-167</comment>
  93473. </bits>
  93474. </reg>
  93475. <reg name="freqitm_idident_para9" protect="rw">
  93476. <bits access="rw" name="nid1" pos="7:0" rst="0">
  93477. <comment>NID1 0-167</comment>
  93478. </bits>
  93479. </reg>
  93480. <reg name="freqitm_idident_para10" protect="rw">
  93481. <bits access="rw" name="nid1" pos="7:0" rst="0">
  93482. <comment>NID1 0-167</comment>
  93483. </bits>
  93484. </reg>
  93485. <reg name="freqitm_idident_para11" protect="rw">
  93486. <bits access="rw" name="nid1" pos="7:0" rst="0">
  93487. <comment>NID1 0-167</comment>
  93488. </bits>
  93489. </reg>
  93490. <reg name="freqitm_idident_para12" protect="rw">
  93491. <bits access="rw" name="nid1" pos="7:0" rst="0">
  93492. <comment>NID1 0-167</comment>
  93493. </bits>
  93494. </reg>
  93495. <reg name="id_postion1" protect="rw">
  93496. <bits access="rw" name="id_pos" pos="13:0" rst="0">
  93497. <comment>ID 0~9599</comment>
  93498. </bits>
  93499. </reg>
  93500. <reg name="id_postion2" protect="rw">
  93501. <bits access="rw" name="id_pos" pos="13:0" rst="0">
  93502. <comment>ID 0~9599</comment>
  93503. </bits>
  93504. </reg>
  93505. <reg name="id_postion3" protect="rw">
  93506. <bits access="rw" name="id_pos" pos="13:0" rst="0">
  93507. <comment>ID 0~9599</comment>
  93508. </bits>
  93509. </reg>
  93510. <reg name="id_postion4" protect="rw">
  93511. <bits access="rw" name="id_pos" pos="13:0" rst="0">
  93512. <comment>ID 0~9599</comment>
  93513. </bits>
  93514. </reg>
  93515. <reg name="id_postion5" protect="rw">
  93516. <bits access="rw" name="id_pos" pos="13:0" rst="0">
  93517. <comment>ID 0~9599</comment>
  93518. </bits>
  93519. </reg>
  93520. <reg name="id_postion6" protect="rw">
  93521. <bits access="rw" name="id_pos" pos="13:0" rst="0">
  93522. <comment>ID 0~9599</comment>
  93523. </bits>
  93524. </reg>
  93525. <reg name="id_postion7" protect="rw">
  93526. <bits access="rw" name="id_pos" pos="13:0" rst="0">
  93527. <comment>ID 0~9599</comment>
  93528. </bits>
  93529. </reg>
  93530. <reg name="id_postion8" protect="rw">
  93531. <bits access="rw" name="id_pos" pos="13:0" rst="0">
  93532. <comment>ID 0~9599</comment>
  93533. </bits>
  93534. </reg>
  93535. <reg name="id_postion9" protect="rw">
  93536. <bits access="rw" name="id_pos" pos="13:0" rst="0">
  93537. <comment>ID 0~9599</comment>
  93538. </bits>
  93539. </reg>
  93540. <reg name="id_postion10" protect="rw">
  93541. <bits access="rw" name="id_pos" pos="13:0" rst="0">
  93542. <comment>ID 0~9599</comment>
  93543. </bits>
  93544. </reg>
  93545. <reg name="id_postion11" protect="rw">
  93546. <bits access="rw" name="id_pos" pos="13:0" rst="0">
  93547. <comment>ID 0~9599</comment>
  93548. </bits>
  93549. </reg>
  93550. <reg name="id_postion12" protect="rw">
  93551. <bits access="rw" name="id_pos" pos="13:0" rst="0">
  93552. <comment>ID 0~9599</comment>
  93553. </bits>
  93554. </reg>
  93555. <reg name="pss_sss_find" protect="rw">
  93556. <bits access="rw" name="find_win" pos="27:24" rst="0">
  93557. <comment>SSSMAX 10</comment>
  93558. </bits>
  93559. <bits access="rw" name="nois_win" pos="21:20" rst="0">
  93560. <comment>0:31 1:61 2:127</comment>
  93561. </bits>
  93562. <bits access="rw" name="assist_win" pos="19:18" rst="0">
  93563. <comment>IDDET PSSASSIST_WINMAX_NUMPOS_NUMPOS_NUM</comment>
  93564. </bits>
  93565. <bits access="rw" name="wipe_win" pos="17:16" rst="0">
  93566. <comment>2b00:2 2b01:4 2b10:8 others:2</comment>
  93567. </bits>
  93568. <bits access="rw" name="p2p_win" pos="15:9" rst="0">
  93569. <comment>0-127</comment>
  93570. </bits>
  93571. <bits access="rw" name="noisth_en" pos="8" rst="0">
  93572. <comment/>
  93573. </bits>
  93574. <bits access="rw" name="nois_th" pos="7:0" rst="0">
  93575. <comment>Q3</comment>
  93576. </bits>
  93577. </reg>
  93578. <reg name="freq_pssgru1" protect="rw">
  93579. <bits access="rw" name="freq_pssgru2" pos="29:20" rst="0">
  93580. <comment>PSS2 -1024~1023</comment>
  93581. </bits>
  93582. <bits access="rw" name="freq_pssgru1_freq_pssgru1" pos="19:10" rst="56">
  93583. <comment>PSS1 -1024~1023</comment>
  93584. </bits>
  93585. <bits access="rw" name="freq_pssgru0" pos="9:0" rst="47">
  93586. <comment>PSS0 -1024~1023</comment>
  93587. </bits>
  93588. </reg>
  93589. <reg name="freq_pssgru2" protect="rw">
  93590. <bits access="rw" name="freq_pssgru4" pos="19:10" rst="17">
  93591. <comment>PSS4 -1024~1023</comment>
  93592. </bits>
  93593. <bits access="rw" name="freq_pssgru3" pos="9:0" rst="8">
  93594. <comment>PSS3 -1024~1023</comment>
  93595. </bits>
  93596. </reg>
  93597. <reg name="freq_pssitm1" protect="rw">
  93598. <bits access="rw" name="freq_pssitm" pos="12:0" rst="5192">
  93599. <comment>PSS -4096~4095</comment>
  93600. </bits>
  93601. </reg>
  93602. <reg name="freq_pssitm2" protect="rw">
  93603. <bits access="rw" name="freq_pssitm" pos="12:0" rst="7192">
  93604. <comment>PSS -4096~4095</comment>
  93605. </bits>
  93606. </reg>
  93607. <reg name="freq_pssitm3" protect="rw">
  93608. <bits access="rw" name="freq_pssitm" pos="12:0" rst="1000">
  93609. <comment>PSS -4096~4095</comment>
  93610. </bits>
  93611. </reg>
  93612. <reg name="freq_pssitm4" protect="rw">
  93613. <bits access="rw" name="freq_pssitm" pos="12:0" rst="3000">
  93614. <comment>PSS -4096~4095</comment>
  93615. </bits>
  93616. </reg>
  93617. <reg name="rssi_target" protect="rw">
  93618. <bits access="rw" name="rssi_target_rssi_target" pos="31:0" rst="3227">
  93619. <comment>RSSI</comment>
  93620. </bits>
  93621. </reg>
  93622. <reg name="ppm_gru_cfg1" protect="rw">
  93623. <bits access="rw" name="ppm1" pos="13:8" rst="50">
  93624. <comment>PSS -32~31</comment>
  93625. </bits>
  93626. <bits access="rw" name="ppm0" pos="5:0" rst="46">
  93627. <comment>PSS -32~31</comment>
  93628. </bits>
  93629. </reg>
  93630. <reg name="ppm_gru_cfg2" protect="rw">
  93631. <bits access="rw" name="ppm1" pos="13:8" rst="58">
  93632. <comment>PSS -32~31</comment>
  93633. </bits>
  93634. <bits access="rw" name="ppm0" pos="5:0" rst="54">
  93635. <comment>PSS -32~31</comment>
  93636. </bits>
  93637. </reg>
  93638. <reg name="ppm_gru_cfg3" protect="rw">
  93639. <bits access="rw" name="ppm1" pos="13:8" rst="2">
  93640. <comment>PSS -32~31</comment>
  93641. </bits>
  93642. <bits access="rw" name="ppm0" pos="5:0" rst="62">
  93643. <comment>PSS -32~31</comment>
  93644. </bits>
  93645. </reg>
  93646. <reg name="ppm_gru_cfg4" protect="rw">
  93647. <bits access="rw" name="ppm1" pos="13:8" rst="10">
  93648. <comment>PSS -32~31</comment>
  93649. </bits>
  93650. <bits access="rw" name="ppm0" pos="5:0" rst="6">
  93651. <comment>PSS -32~31</comment>
  93652. </bits>
  93653. </reg>
  93654. <reg name="ppm_gru_cfg5" protect="rw">
  93655. <bits access="rw" name="ppm1" pos="13:8" rst="18">
  93656. <comment>PSS -32~31</comment>
  93657. </bits>
  93658. <bits access="rw" name="ppm0" pos="5:0" rst="14">
  93659. <comment>PSS -32~31</comment>
  93660. </bits>
  93661. </reg>
  93662. <reg name="ppm_delt_cfg" protect="rw">
  93663. <bits access="rw" name="delt_ppm3" pos="15:12" rst="3">
  93664. <comment>-8~7</comment>
  93665. </bits>
  93666. <bits access="rw" name="delt_ppm2" pos="11:8" rst="1">
  93667. <comment>-8~7</comment>
  93668. </bits>
  93669. <bits access="rw" name="delt_ppm1" pos="7:4" rst="15">
  93670. <comment>-8~7</comment>
  93671. </bits>
  93672. <bits access="rw" name="delt_ppm0" pos="3:0" rst="13">
  93673. <comment>-8~7</comment>
  93674. </bits>
  93675. </reg>
  93676. <reg name="fft_cut" protect="rw">
  93677. <bits access="rw" name="lnum_mod2" pos="7:4" rst="0">
  93678. <comment>FFT/IFFT ()
  93679. 4`b0000
  93680. 4`b0001
  93681. 4`b0010</comment>
  93682. </bits>
  93683. <bits access="rw" name="lnum_mod1" pos="3:0" rst="0">
  93684. <comment>FFT/IFFT PSS/SSS
  93685. 4`b0000
  93686. 4`b0001
  93687. 4`b0010</comment>
  93688. </bits>
  93689. </reg>
  93690. <reg name="ic_id_para" protect="rw">
  93691. <bits access="rw" name="freq_off_en" pos="28" rst="0">
  93692. <comment>1
  93693. 0</comment>
  93694. </bits>
  93695. <bits access="rw" name="freq_off" pos="27:12" rst="0">
  93696. <comment/>
  93697. </bits>
  93698. <bits access="rw" name="cptype" pos="11" rst="0">
  93699. <comment>IDCP
  93700. 1EXTEND CP 0NORMAL CP</comment>
  93701. </bits>
  93702. <bits access="rw" name="sfnum" pos="10" rst="0">
  93703. <comment>ID(SSS)
  93704. 15 00</comment>
  93705. </bits>
  93706. <bits access="rw" name="nid2" pos="9:8" rst="0">
  93707. <comment>SSS</comment>
  93708. </bits>
  93709. <bits access="rw" name="nid1" pos="7:0" rst="0">
  93710. <comment>SSS</comment>
  93711. </bits>
  93712. </reg>
  93713. <reg name="ic_cfg" protect="rw">
  93714. <bits access="rw" name="ic_ppm" pos="23:18" rst="0">
  93715. <comment/>
  93716. </bits>
  93717. <bits access="rw" name="sssic_pos" pos="17:4" rst="0">
  93718. <comment>SSS 9600</comment>
  93719. </bits>
  93720. <bits access="rw" name="ic_shift" pos="3:0" rst="0">
  93721. <comment>0
  93722. 11
  93723. 22
  93724. -11
  93725. -22</comment>
  93726. </bits>
  93727. </reg>
  93728. <reg name="freqitm_out0" protect="r">
  93729. <bits access="r" name="freq_itm_out0" pos="15:0" rst="0">
  93730. <comment>0</comment>
  93731. </bits>
  93732. </reg>
  93733. <reg name="valid_node" protect="r">
  93734. <bits access="r" name="valid_node1" pos="7:4" rst="0">
  93735. <comment>SSS
  93736. 00
  93737. 11
  93738. 1212</comment>
  93739. </bits>
  93740. <bits access="r" name="valid_node0" pos="3:0" rst="0">
  93741. <comment>PSSPSSSSS
  93742. 00
  93743. 11
  93744. 1212</comment>
  93745. </bits>
  93746. </reg>
  93747. <reg name="sample_sum" protect="rw">
  93748. <bits access="rw" name="sample_sum_sample_sum" pos="7:0" rst="0">
  93749. <comment>PSSPSSSSS
  93750. 0~200</comment>
  93751. </bits>
  93752. </reg>
  93753. <reg name="rssi" protect="r">
  93754. <bits access="r" name="rssi_rssi" pos="15:0" rst="0">
  93755. <comment>PSSRSSIPSSSSS
  93756. RSSI</comment>
  93757. </bits>
  93758. </reg>
  93759. <reg name="id_power_noise1" protect="r">
  93760. <bits access="r" name="noise" pos="31:16" rst="0">
  93761. <comment>PSSPSSSSS</comment>
  93762. </bits>
  93763. <bits access="r" name="power" pos="15:0" rst="0">
  93764. <comment>PSSPSSSSS</comment>
  93765. </bits>
  93766. </reg>
  93767. <reg name="id_power_noise2" protect="r">
  93768. <bits access="r" name="noise" pos="31:16" rst="0">
  93769. <comment>PSSPSSSSS</comment>
  93770. </bits>
  93771. <bits access="r" name="power" pos="15:0" rst="0">
  93772. <comment>PSSPSSSSS</comment>
  93773. </bits>
  93774. </reg>
  93775. <reg name="id_power_noise3" protect="r">
  93776. <bits access="r" name="noise" pos="31:16" rst="0">
  93777. <comment>PSSPSSSSS</comment>
  93778. </bits>
  93779. <bits access="r" name="power" pos="15:0" rst="0">
  93780. <comment>PSSPSSSSS</comment>
  93781. </bits>
  93782. </reg>
  93783. <reg name="id_power_noise4" protect="r">
  93784. <bits access="r" name="noise" pos="31:16" rst="0">
  93785. <comment>PSSPSSSSS</comment>
  93786. </bits>
  93787. <bits access="r" name="power" pos="15:0" rst="0">
  93788. <comment>PSSPSSSSS</comment>
  93789. </bits>
  93790. </reg>
  93791. <reg name="id_power_noise5" protect="r">
  93792. <bits access="r" name="noise" pos="31:16" rst="0">
  93793. <comment>PSSPSSSSS</comment>
  93794. </bits>
  93795. <bits access="r" name="power" pos="15:0" rst="0">
  93796. <comment>PSSPSSSSS</comment>
  93797. </bits>
  93798. </reg>
  93799. <reg name="id_power_noise6" protect="r">
  93800. <bits access="r" name="noise" pos="31:16" rst="0">
  93801. <comment>PSSPSSSSS</comment>
  93802. </bits>
  93803. <bits access="r" name="power" pos="15:0" rst="0">
  93804. <comment>PSSPSSSSS</comment>
  93805. </bits>
  93806. </reg>
  93807. <reg name="id_power_noise7" protect="r">
  93808. <bits access="r" name="noise" pos="31:16" rst="0">
  93809. <comment>PSSPSSSSS</comment>
  93810. </bits>
  93811. <bits access="r" name="power" pos="15:0" rst="0">
  93812. <comment>PSSPSSSSS</comment>
  93813. </bits>
  93814. </reg>
  93815. <reg name="id_power_noise8" protect="r">
  93816. <bits access="r" name="noise" pos="31:16" rst="0">
  93817. <comment>PSSPSSSSS</comment>
  93818. </bits>
  93819. <bits access="r" name="power" pos="15:0" rst="0">
  93820. <comment>PSSPSSSSS</comment>
  93821. </bits>
  93822. </reg>
  93823. <reg name="id_power_noise9" protect="r">
  93824. <bits access="r" name="noise" pos="31:16" rst="0">
  93825. <comment>PSSPSSSSS</comment>
  93826. </bits>
  93827. <bits access="r" name="power" pos="15:0" rst="0">
  93828. <comment>PSSPSSSSS</comment>
  93829. </bits>
  93830. </reg>
  93831. <reg name="id_power_noise10" protect="r">
  93832. <bits access="r" name="noise" pos="31:16" rst="0">
  93833. <comment>PSSPSSSSS</comment>
  93834. </bits>
  93835. <bits access="r" name="power" pos="15:0" rst="0">
  93836. <comment>PSSPSSSSS</comment>
  93837. </bits>
  93838. </reg>
  93839. <reg name="id_power_noise11" protect="r">
  93840. <bits access="r" name="noise" pos="31:16" rst="0">
  93841. <comment>PSSPSSSSS</comment>
  93842. </bits>
  93843. <bits access="r" name="power" pos="15:0" rst="0">
  93844. <comment>PSSPSSSSS</comment>
  93845. </bits>
  93846. </reg>
  93847. <reg name="id_power_noise12" protect="r">
  93848. <bits access="r" name="noise" pos="31:16" rst="0">
  93849. <comment>PSSPSSSSS</comment>
  93850. </bits>
  93851. <bits access="r" name="power" pos="15:0" rst="0">
  93852. <comment>PSSPSSSSS</comment>
  93853. </bits>
  93854. </reg>
  93855. <reg name="id_position_freq1" protect="r">
  93856. <bits access="r" name="freq_offset" pos="31:16" rst="0">
  93857. <comment/>
  93858. </bits>
  93859. <bits access="r" name="postion" pos="13:0" rst="0">
  93860. <comment>PSSPSSSSSID</comment>
  93861. </bits>
  93862. </reg>
  93863. <reg name="id_position_freq2" protect="r">
  93864. <bits access="r" name="freq_offset" pos="31:16" rst="0">
  93865. <comment/>
  93866. </bits>
  93867. <bits access="r" name="postion" pos="13:0" rst="0">
  93868. <comment>PSSPSSSSSID</comment>
  93869. </bits>
  93870. </reg>
  93871. <reg name="id_position_freq3" protect="r">
  93872. <bits access="r" name="freq_offset" pos="31:16" rst="0">
  93873. <comment/>
  93874. </bits>
  93875. <bits access="r" name="postion" pos="13:0" rst="0">
  93876. <comment>PSSPSSSSSID</comment>
  93877. </bits>
  93878. </reg>
  93879. <reg name="id_position_freq4" protect="r">
  93880. <bits access="r" name="freq_offset" pos="31:16" rst="0">
  93881. <comment/>
  93882. </bits>
  93883. <bits access="r" name="postion" pos="13:0" rst="0">
  93884. <comment>PSSPSSSSSID</comment>
  93885. </bits>
  93886. </reg>
  93887. <reg name="id_position_freq5" protect="r">
  93888. <bits access="r" name="freq_offset" pos="31:16" rst="0">
  93889. <comment/>
  93890. </bits>
  93891. <bits access="r" name="postion" pos="13:0" rst="0">
  93892. <comment>PSSPSSSSSID</comment>
  93893. </bits>
  93894. </reg>
  93895. <reg name="id_position_freq6" protect="r">
  93896. <bits access="r" name="freq_offset" pos="31:16" rst="0">
  93897. <comment/>
  93898. </bits>
  93899. <bits access="r" name="postion" pos="13:0" rst="0">
  93900. <comment>PSSPSSSSSID</comment>
  93901. </bits>
  93902. </reg>
  93903. <reg name="id_position_freq7" protect="r">
  93904. <bits access="r" name="freq_offset" pos="31:16" rst="0">
  93905. <comment/>
  93906. </bits>
  93907. <bits access="r" name="postion" pos="13:0" rst="0">
  93908. <comment>PSSPSSSSSID</comment>
  93909. </bits>
  93910. </reg>
  93911. <reg name="id_position_freq8" protect="r">
  93912. <bits access="r" name="freq_offset" pos="31:16" rst="0">
  93913. <comment/>
  93914. </bits>
  93915. <bits access="r" name="postion" pos="13:0" rst="0">
  93916. <comment>PSSPSSSSSID</comment>
  93917. </bits>
  93918. </reg>
  93919. <reg name="id_position_freq9" protect="r">
  93920. <bits access="r" name="freq_offset" pos="31:16" rst="0">
  93921. <comment/>
  93922. </bits>
  93923. <bits access="r" name="postion" pos="13:0" rst="0">
  93924. <comment>PSSPSSSSSID</comment>
  93925. </bits>
  93926. </reg>
  93927. <reg name="id_position_freq10" protect="r">
  93928. <bits access="r" name="freq_offset" pos="31:16" rst="0">
  93929. <comment/>
  93930. </bits>
  93931. <bits access="r" name="postion" pos="13:0" rst="0">
  93932. <comment>PSSPSSSSSID</comment>
  93933. </bits>
  93934. </reg>
  93935. <reg name="id_position_freq11" protect="r">
  93936. <bits access="r" name="freq_offset" pos="31:16" rst="0">
  93937. <comment/>
  93938. </bits>
  93939. <bits access="r" name="postion" pos="13:0" rst="0">
  93940. <comment>PSSPSSSSSID</comment>
  93941. </bits>
  93942. </reg>
  93943. <reg name="id_position_freq12" protect="r">
  93944. <bits access="r" name="freq_offset" pos="31:16" rst="0">
  93945. <comment/>
  93946. </bits>
  93947. <bits access="r" name="postion" pos="13:0" rst="0">
  93948. <comment>PSSPSSSSSID</comment>
  93949. </bits>
  93950. </reg>
  93951. <reg name="id_info1" protect="r">
  93952. <bits access="r" name="pos_index" pos="25:22" rst="0">
  93953. <comment>SSS IDDET
  93954. 0~11</comment>
  93955. </bits>
  93956. <bits access="r" name="pos_slide" pos="21:18" rst="0">
  93957. <comment>0-8</comment>
  93958. </bits>
  93959. <bits access="r" name="ppm" pos="17:12" rst="0">
  93960. <comment/>
  93961. </bits>
  93962. <bits access="r" name="nid1" pos="11:4" rst="0">
  93963. <comment>NID1
  93964. 0-167</comment>
  93965. </bits>
  93966. <bits access="r" name="cptype" pos="3" rst="0">
  93967. <comment>IDCP
  93968. 1EXTEND CP
  93969. 0NORMAL CP</comment>
  93970. </bits>
  93971. <bits access="r" name="sfnum" pos="2" rst="0">
  93972. <comment>ID(SSS)
  93973. 15
  93974. 00</comment>
  93975. </bits>
  93976. <bits access="r" name="nid2" pos="1:0" rst="0">
  93977. <comment>NID2
  93978. 0-2</comment>
  93979. </bits>
  93980. </reg>
  93981. <reg name="id_info2" protect="r">
  93982. <bits access="r" name="pos_index" pos="25:22" rst="0">
  93983. <comment>SSS IDDET
  93984. 0~11</comment>
  93985. </bits>
  93986. <bits access="r" name="pos_slide" pos="21:18" rst="0">
  93987. <comment>0-8</comment>
  93988. </bits>
  93989. <bits access="r" name="ppm" pos="17:12" rst="0">
  93990. <comment/>
  93991. </bits>
  93992. <bits access="r" name="nid1" pos="11:4" rst="0">
  93993. <comment>NID1
  93994. 0-167</comment>
  93995. </bits>
  93996. <bits access="r" name="cptype" pos="3" rst="0">
  93997. <comment>IDCP
  93998. 1EXTEND CP
  93999. 0NORMAL CP</comment>
  94000. </bits>
  94001. <bits access="r" name="sfnum" pos="2" rst="0">
  94002. <comment>ID(SSS)
  94003. 15
  94004. 00</comment>
  94005. </bits>
  94006. <bits access="r" name="nid2" pos="1:0" rst="0">
  94007. <comment>NID2
  94008. 0-2</comment>
  94009. </bits>
  94010. </reg>
  94011. <reg name="id_info3" protect="r">
  94012. <bits access="r" name="pos_index" pos="25:22" rst="0">
  94013. <comment>SSS IDDET
  94014. 0~11</comment>
  94015. </bits>
  94016. <bits access="r" name="pos_slide" pos="21:18" rst="0">
  94017. <comment>0-8</comment>
  94018. </bits>
  94019. <bits access="r" name="ppm" pos="17:12" rst="0">
  94020. <comment/>
  94021. </bits>
  94022. <bits access="r" name="nid1" pos="11:4" rst="0">
  94023. <comment>NID1
  94024. 0-167</comment>
  94025. </bits>
  94026. <bits access="r" name="cptype" pos="3" rst="0">
  94027. <comment>IDCP
  94028. 1EXTEND CP
  94029. 0NORMAL CP</comment>
  94030. </bits>
  94031. <bits access="r" name="sfnum" pos="2" rst="0">
  94032. <comment>ID(SSS)
  94033. 15
  94034. 00</comment>
  94035. </bits>
  94036. <bits access="r" name="nid2" pos="1:0" rst="0">
  94037. <comment>NID2
  94038. 0-2</comment>
  94039. </bits>
  94040. </reg>
  94041. <reg name="id_info4" protect="r">
  94042. <bits access="r" name="pos_index" pos="25:22" rst="0">
  94043. <comment>SSS IDDET
  94044. 0~11</comment>
  94045. </bits>
  94046. <bits access="r" name="pos_slide" pos="21:18" rst="0">
  94047. <comment>0-8</comment>
  94048. </bits>
  94049. <bits access="r" name="ppm" pos="17:12" rst="0">
  94050. <comment/>
  94051. </bits>
  94052. <bits access="r" name="nid1" pos="11:4" rst="0">
  94053. <comment>NID1
  94054. 0-167</comment>
  94055. </bits>
  94056. <bits access="r" name="cptype" pos="3" rst="0">
  94057. <comment>IDCP
  94058. 1EXTEND CP
  94059. 0NORMAL CP</comment>
  94060. </bits>
  94061. <bits access="r" name="sfnum" pos="2" rst="0">
  94062. <comment>ID(SSS)
  94063. 15
  94064. 00</comment>
  94065. </bits>
  94066. <bits access="r" name="nid2" pos="1:0" rst="0">
  94067. <comment>NID2
  94068. 0-2</comment>
  94069. </bits>
  94070. </reg>
  94071. <reg name="id_info5" protect="r">
  94072. <bits access="r" name="pos_index" pos="25:22" rst="0">
  94073. <comment>SSS IDDET
  94074. 0~11</comment>
  94075. </bits>
  94076. <bits access="r" name="pos_slide" pos="21:18" rst="0">
  94077. <comment>0-8</comment>
  94078. </bits>
  94079. <bits access="r" name="ppm" pos="17:12" rst="0">
  94080. <comment/>
  94081. </bits>
  94082. <bits access="r" name="nid1" pos="11:4" rst="0">
  94083. <comment>NID1
  94084. 0-167</comment>
  94085. </bits>
  94086. <bits access="r" name="cptype" pos="3" rst="0">
  94087. <comment>IDCP
  94088. 1EXTEND CP
  94089. 0NORMAL CP</comment>
  94090. </bits>
  94091. <bits access="r" name="sfnum" pos="2" rst="0">
  94092. <comment>ID(SSS)
  94093. 15
  94094. 00</comment>
  94095. </bits>
  94096. <bits access="r" name="nid2" pos="1:0" rst="0">
  94097. <comment>NID2
  94098. 0-2</comment>
  94099. </bits>
  94100. </reg>
  94101. <reg name="id_info6" protect="r">
  94102. <bits access="r" name="pos_index" pos="25:22" rst="0">
  94103. <comment>SSS IDDET
  94104. 0~11</comment>
  94105. </bits>
  94106. <bits access="r" name="pos_slide" pos="21:18" rst="0">
  94107. <comment>0-8</comment>
  94108. </bits>
  94109. <bits access="r" name="ppm" pos="17:12" rst="0">
  94110. <comment/>
  94111. </bits>
  94112. <bits access="r" name="nid1" pos="11:4" rst="0">
  94113. <comment>NID1
  94114. 0-167</comment>
  94115. </bits>
  94116. <bits access="r" name="cptype" pos="3" rst="0">
  94117. <comment>IDCP
  94118. 1EXTEND CP
  94119. 0NORMAL CP</comment>
  94120. </bits>
  94121. <bits access="r" name="sfnum" pos="2" rst="0">
  94122. <comment>ID(SSS)
  94123. 15
  94124. 00</comment>
  94125. </bits>
  94126. <bits access="r" name="nid2" pos="1:0" rst="0">
  94127. <comment>NID2
  94128. 0-2</comment>
  94129. </bits>
  94130. </reg>
  94131. <reg name="id_info7" protect="r">
  94132. <bits access="r" name="pos_index" pos="25:22" rst="0">
  94133. <comment>SSS IDDET
  94134. 0~11</comment>
  94135. </bits>
  94136. <bits access="r" name="pos_slide" pos="21:18" rst="0">
  94137. <comment>0-8</comment>
  94138. </bits>
  94139. <bits access="r" name="ppm" pos="17:12" rst="0">
  94140. <comment/>
  94141. </bits>
  94142. <bits access="r" name="nid1" pos="11:4" rst="0">
  94143. <comment>NID1
  94144. 0-167</comment>
  94145. </bits>
  94146. <bits access="r" name="cptype" pos="3" rst="0">
  94147. <comment>IDCP
  94148. 1EXTEND CP
  94149. 0NORMAL CP</comment>
  94150. </bits>
  94151. <bits access="r" name="sfnum" pos="2" rst="0">
  94152. <comment>ID(SSS)
  94153. 15
  94154. 00</comment>
  94155. </bits>
  94156. <bits access="r" name="nid2" pos="1:0" rst="0">
  94157. <comment>NID2
  94158. 0-2</comment>
  94159. </bits>
  94160. </reg>
  94161. <reg name="id_info8" protect="r">
  94162. <bits access="r" name="pos_index" pos="25:22" rst="0">
  94163. <comment>SSS IDDET
  94164. 0~11</comment>
  94165. </bits>
  94166. <bits access="r" name="pos_slide" pos="21:18" rst="0">
  94167. <comment>0-8</comment>
  94168. </bits>
  94169. <bits access="r" name="ppm" pos="17:12" rst="0">
  94170. <comment/>
  94171. </bits>
  94172. <bits access="r" name="nid1" pos="11:4" rst="0">
  94173. <comment>NID1
  94174. 0-167</comment>
  94175. </bits>
  94176. <bits access="r" name="cptype" pos="3" rst="0">
  94177. <comment>IDCP
  94178. 1EXTEND CP
  94179. 0NORMAL CP</comment>
  94180. </bits>
  94181. <bits access="r" name="sfnum" pos="2" rst="0">
  94182. <comment>ID(SSS)
  94183. 15
  94184. 00</comment>
  94185. </bits>
  94186. <bits access="r" name="nid2" pos="1:0" rst="0">
  94187. <comment>NID2
  94188. 0-2</comment>
  94189. </bits>
  94190. </reg>
  94191. <reg name="id_info9" protect="r">
  94192. <bits access="r" name="pos_index" pos="25:22" rst="0">
  94193. <comment>SSS IDDET
  94194. 0~11</comment>
  94195. </bits>
  94196. <bits access="r" name="pos_slide" pos="21:18" rst="0">
  94197. <comment>0-8</comment>
  94198. </bits>
  94199. <bits access="r" name="ppm" pos="17:12" rst="0">
  94200. <comment/>
  94201. </bits>
  94202. <bits access="r" name="nid1" pos="11:4" rst="0">
  94203. <comment>NID1
  94204. 0-167</comment>
  94205. </bits>
  94206. <bits access="r" name="cptype" pos="3" rst="0">
  94207. <comment>IDCP
  94208. 1EXTEND CP
  94209. 0NORMAL CP</comment>
  94210. </bits>
  94211. <bits access="r" name="sfnum" pos="2" rst="0">
  94212. <comment>ID(SSS)
  94213. 15
  94214. 00</comment>
  94215. </bits>
  94216. <bits access="r" name="nid2" pos="1:0" rst="0">
  94217. <comment>NID2
  94218. 0-2</comment>
  94219. </bits>
  94220. </reg>
  94221. <reg name="id_info10" protect="r">
  94222. <bits access="r" name="pos_index" pos="25:22" rst="0">
  94223. <comment>SSS IDDET
  94224. 0~11</comment>
  94225. </bits>
  94226. <bits access="r" name="pos_slide" pos="21:18" rst="0">
  94227. <comment>0-8</comment>
  94228. </bits>
  94229. <bits access="r" name="ppm" pos="17:12" rst="0">
  94230. <comment/>
  94231. </bits>
  94232. <bits access="r" name="nid1" pos="11:4" rst="0">
  94233. <comment>NID1
  94234. 0-167</comment>
  94235. </bits>
  94236. <bits access="r" name="cptype" pos="3" rst="0">
  94237. <comment>IDCP
  94238. 1EXTEND CP
  94239. 0NORMAL CP</comment>
  94240. </bits>
  94241. <bits access="r" name="sfnum" pos="2" rst="0">
  94242. <comment>ID(SSS)
  94243. 15
  94244. 00</comment>
  94245. </bits>
  94246. <bits access="r" name="nid2" pos="1:0" rst="0">
  94247. <comment>NID2
  94248. 0-2</comment>
  94249. </bits>
  94250. </reg>
  94251. <reg name="id_info11" protect="r">
  94252. <bits access="r" name="pos_index" pos="25:22" rst="0">
  94253. <comment>SSS IDDET
  94254. 0~11</comment>
  94255. </bits>
  94256. <bits access="r" name="pos_slide" pos="21:18" rst="0">
  94257. <comment>0-8</comment>
  94258. </bits>
  94259. <bits access="r" name="ppm" pos="17:12" rst="0">
  94260. <comment/>
  94261. </bits>
  94262. <bits access="r" name="nid1" pos="11:4" rst="0">
  94263. <comment>NID1
  94264. 0-167</comment>
  94265. </bits>
  94266. <bits access="r" name="cptype" pos="3" rst="0">
  94267. <comment>IDCP
  94268. 1EXTEND CP
  94269. 0NORMAL CP</comment>
  94270. </bits>
  94271. <bits access="r" name="sfnum" pos="2" rst="0">
  94272. <comment>ID(SSS)
  94273. 15
  94274. 00</comment>
  94275. </bits>
  94276. <bits access="r" name="nid2" pos="1:0" rst="0">
  94277. <comment>NID2
  94278. 0-2</comment>
  94279. </bits>
  94280. </reg>
  94281. <reg name="id_info12" protect="r">
  94282. <bits access="r" name="pos_index" pos="25:22" rst="0">
  94283. <comment>SSS IDDET
  94284. 0~11</comment>
  94285. </bits>
  94286. <bits access="r" name="pos_slide" pos="21:18" rst="0">
  94287. <comment>0-8</comment>
  94288. </bits>
  94289. <bits access="r" name="ppm" pos="17:12" rst="0">
  94290. <comment/>
  94291. </bits>
  94292. <bits access="r" name="nid1" pos="11:4" rst="0">
  94293. <comment>NID1
  94294. 0-167</comment>
  94295. </bits>
  94296. <bits access="r" name="cptype" pos="3" rst="0">
  94297. <comment>IDCP
  94298. 1EXTEND CP
  94299. 0NORMAL CP</comment>
  94300. </bits>
  94301. <bits access="r" name="sfnum" pos="2" rst="0">
  94302. <comment>ID(SSS)
  94303. 15
  94304. 00</comment>
  94305. </bits>
  94306. <bits access="r" name="nid2" pos="1:0" rst="0">
  94307. <comment>NID2
  94308. 0-2</comment>
  94309. </bits>
  94310. </reg>
  94311. <reg name="assist_id_power_noise1" protect="r">
  94312. <bits access="r" name="noise" pos="31:16" rst="0">
  94313. <comment>PSSPSSSSS</comment>
  94314. </bits>
  94315. <bits access="r" name="power" pos="15:0" rst="0">
  94316. <comment>PSSPSSSSS</comment>
  94317. </bits>
  94318. </reg>
  94319. <reg name="assist_id_power_noise2" protect="r">
  94320. <bits access="r" name="noise" pos="31:16" rst="0">
  94321. <comment>PSSPSSSSS</comment>
  94322. </bits>
  94323. <bits access="r" name="power" pos="15:0" rst="0">
  94324. <comment>PSSPSSSSS</comment>
  94325. </bits>
  94326. </reg>
  94327. <reg name="assist_id_power_noise3" protect="r">
  94328. <bits access="r" name="noise" pos="31:16" rst="0">
  94329. <comment>PSSPSSSSS</comment>
  94330. </bits>
  94331. <bits access="r" name="power" pos="15:0" rst="0">
  94332. <comment>PSSPSSSSS</comment>
  94333. </bits>
  94334. </reg>
  94335. <reg name="assist_id_power_noise4" protect="r">
  94336. <bits access="r" name="noise" pos="31:16" rst="0">
  94337. <comment>PSSPSSSSS</comment>
  94338. </bits>
  94339. <bits access="r" name="power" pos="15:0" rst="0">
  94340. <comment>PSSPSSSSS</comment>
  94341. </bits>
  94342. </reg>
  94343. <reg name="assist_id_position_freq1" protect="r">
  94344. <bits access="r" name="freq_offset" pos="31:16" rst="0">
  94345. <comment/>
  94346. </bits>
  94347. <bits access="r" name="postion" pos="13:0" rst="0">
  94348. <comment>PSSPSSSSSID</comment>
  94349. </bits>
  94350. </reg>
  94351. <reg name="assist_id_position_freq2" protect="r">
  94352. <bits access="r" name="freq_offset" pos="31:16" rst="0">
  94353. <comment/>
  94354. </bits>
  94355. <bits access="r" name="postion" pos="13:0" rst="0">
  94356. <comment>PSSPSSSSSID</comment>
  94357. </bits>
  94358. </reg>
  94359. <reg name="assist_id_position_freq3" protect="r">
  94360. <bits access="r" name="freq_offset" pos="31:16" rst="0">
  94361. <comment/>
  94362. </bits>
  94363. <bits access="r" name="postion" pos="13:0" rst="0">
  94364. <comment>PSSPSSSSSID</comment>
  94365. </bits>
  94366. </reg>
  94367. <reg name="assist_id_position_freq4" protect="r">
  94368. <bits access="r" name="freq_offset" pos="31:16" rst="0">
  94369. <comment/>
  94370. </bits>
  94371. <bits access="r" name="postion" pos="13:0" rst="0">
  94372. <comment>PSSPSSSSSID</comment>
  94373. </bits>
  94374. </reg>
  94375. <reg name="assist_id_info1" protect="r">
  94376. <bits access="r" name="ppm" pos="17:12" rst="0">
  94377. <comment/>
  94378. </bits>
  94379. <bits access="r" name="nid1" pos="11:4" rst="0">
  94380. <comment>NID1
  94381. 0-167</comment>
  94382. </bits>
  94383. <bits access="r" name="cptype" pos="3" rst="0">
  94384. <comment>IDCP
  94385. 1EXTEND CP
  94386. 0NORMAL CP</comment>
  94387. </bits>
  94388. <bits access="r" name="sfnum" pos="2" rst="0">
  94389. <comment>ID(SSS)
  94390. 15
  94391. 00</comment>
  94392. </bits>
  94393. <bits access="r" name="nid2" pos="1:0" rst="0">
  94394. <comment>NID2
  94395. 0-2</comment>
  94396. </bits>
  94397. </reg>
  94398. <reg name="assist_id_info2" protect="r">
  94399. <bits access="r" name="ppm" pos="17:12" rst="0">
  94400. <comment/>
  94401. </bits>
  94402. <bits access="r" name="nid1" pos="11:4" rst="0">
  94403. <comment>NID1
  94404. 0-167</comment>
  94405. </bits>
  94406. <bits access="r" name="cptype" pos="3" rst="0">
  94407. <comment>IDCP
  94408. 1EXTEND CP
  94409. 0NORMAL CP</comment>
  94410. </bits>
  94411. <bits access="r" name="sfnum" pos="2" rst="0">
  94412. <comment>ID(SSS)
  94413. 15
  94414. 00</comment>
  94415. </bits>
  94416. <bits access="r" name="nid2" pos="1:0" rst="0">
  94417. <comment>NID2
  94418. 0-2</comment>
  94419. </bits>
  94420. </reg>
  94421. <reg name="assist_id_info3" protect="r">
  94422. <bits access="r" name="ppm" pos="17:12" rst="0">
  94423. <comment/>
  94424. </bits>
  94425. <bits access="r" name="nid1" pos="11:4" rst="0">
  94426. <comment>NID1
  94427. 0-167</comment>
  94428. </bits>
  94429. <bits access="r" name="cptype" pos="3" rst="0">
  94430. <comment>IDCP
  94431. 1EXTEND CP
  94432. 0NORMAL CP</comment>
  94433. </bits>
  94434. <bits access="r" name="sfnum" pos="2" rst="0">
  94435. <comment>ID(SSS)
  94436. 15
  94437. 00</comment>
  94438. </bits>
  94439. <bits access="r" name="nid2" pos="1:0" rst="0">
  94440. <comment>NID2
  94441. 0-2</comment>
  94442. </bits>
  94443. </reg>
  94444. <reg name="assist_id_info4" protect="r">
  94445. <bits access="r" name="ppm" pos="17:12" rst="0">
  94446. <comment/>
  94447. </bits>
  94448. <bits access="r" name="nid1" pos="11:4" rst="0">
  94449. <comment>NID1
  94450. 0-167</comment>
  94451. </bits>
  94452. <bits access="r" name="cptype" pos="3" rst="0">
  94453. <comment>IDCP
  94454. 1EXTEND CP
  94455. 0NORMAL CP</comment>
  94456. </bits>
  94457. <bits access="r" name="sfnum" pos="2" rst="0">
  94458. <comment>ID(SSS)
  94459. 15
  94460. 00</comment>
  94461. </bits>
  94462. <bits access="r" name="nid2" pos="1:0" rst="0">
  94463. <comment>NID2
  94464. 0-2</comment>
  94465. </bits>
  94466. </reg>
  94467. <reg name="int_flag" protect="rw">
  94468. <bits access="rc" name="discon_section_finish" pos="11" rst="0">
  94469. <comment>bit type is changed from rw1c to rc.
  94470. 1:
  94471. 0:</comment>
  94472. </bits>
  94473. <bits access="rc" name="freq_search" pos="10" rst="0">
  94474. <comment>bit type is changed from rw1c to rc.
  94475. 1:
  94476. 0:</comment>
  94477. </bits>
  94478. <bits access="rc" name="freq_search_sbi" pos="9" rst="0">
  94479. <comment>bit type is changed from rw1c to rc.
  94480. 1:1
  94481. 0:</comment>
  94482. </bits>
  94483. <bits access="rc" name="rssi" pos="8" rst="0">
  94484. <comment>bit type is changed from rw1c to rc.
  94485. 1:RSSI
  94486. 0: RSSI</comment>
  94487. </bits>
  94488. <bits access="rc" name="stop" pos="7" rst="0">
  94489. <comment>bit type is changed from rw1c to rc.
  94490. 1:
  94491. 0:</comment>
  94492. </bits>
  94493. <bits access="rc" name="error_state" pos="6" rst="0">
  94494. <comment>bit type is changed from rw1c to rc.
  94495. 1:AXIDMA
  94496. 0:</comment>
  94497. </bits>
  94498. <bits access="rc" name="txrx_suspend" pos="5" rst="0">
  94499. <comment>bit type is changed from rw1c to rc.
  94500. 1:TXRX
  94501. 0:</comment>
  94502. </bits>
  94503. <bits access="rc" name="resync_finish" pos="4" rst="0">
  94504. <comment>bit type is changed from rw1c to rc.
  94505. 1:
  94506. 0:</comment>
  94507. </bits>
  94508. <bits access="rc" name="freq_idident_finish" pos="3" rst="0">
  94509. <comment>bit type is changed from rw1c to rc.
  94510. 1:
  94511. 0:</comment>
  94512. </bits>
  94513. <bits access="rc" name="sss_finish" pos="2" rst="0">
  94514. <comment>bit type is changed from rw1c to rc.
  94515. 1:SSS
  94516. 0:</comment>
  94517. </bits>
  94518. <bits access="rc" name="pssitm_finish" pos="1" rst="0">
  94519. <comment>bit type is changed from rw1c to rc.
  94520. 1:PSS
  94521. 0:</comment>
  94522. </bits>
  94523. <bits access="rc" name="pssgru_finish" pos="0" rst="0">
  94524. <comment>bit type is changed from rw1c to rc.
  94525. 1:PSS
  94526. 0:</comment>
  94527. </bits>
  94528. </reg>
  94529. <reg name="sta_flag" protect="r">
  94530. <bits access="r" name="freq_search_run" pos="5" rst="0">
  94531. <comment>1
  94532. 0</comment>
  94533. </bits>
  94534. <bits access="r" name="resyn_run" pos="4" rst="0">
  94535. <comment>1
  94536. 0</comment>
  94537. </bits>
  94538. <bits access="r" name="freqitm_idident_run" pos="3" rst="0">
  94539. <comment>1
  94540. 0</comment>
  94541. </bits>
  94542. <bits access="r" name="sss_run" pos="2" rst="0">
  94543. <comment>1
  94544. 0</comment>
  94545. </bits>
  94546. <bits access="r" name="pss_itm_run" pos="1" rst="0">
  94547. <comment>PSS
  94548. 1
  94549. 0</comment>
  94550. </bits>
  94551. <bits access="r" name="pss_gru_run" pos="0" rst="0">
  94552. <comment>PSS
  94553. 1
  94554. 0</comment>
  94555. </bits>
  94556. </reg>
  94557. <reg name="soft_use" protect="rw">
  94558. <bits access="rw" name="soft_use_soft_use" pos="31:0" rst="0">
  94559. <comment/>
  94560. </bits>
  94561. </reg>
  94562. <reg name="pre_sample_count" protect="rw">
  94563. <bits access="rw" name="pre_sample_count_pre_sample_count" pos="9:0" rst="0">
  94564. <comment>0~1023</comment>
  94565. </bits>
  94566. </reg>
  94567. <reg name="freq_search_ctrl" protect="rw">
  94568. <bits access="rw" name="sort_mode" pos="26" rst="0">
  94569. <comment>0:
  94570. 1:</comment>
  94571. </bits>
  94572. <bits access="rw" name="fft_en" pos="25" rst="0">
  94573. <comment>FFT
  94574. 0: FFT
  94575. 1: FFT(1024),FFT</comment>
  94576. </bits>
  94577. <bits access="rw" name="sort_en" pos="24" rst="0">
  94578. <comment>:
  94579. 0:
  94580. 1: ,</comment>
  94581. </bits>
  94582. <bits access="rw" name="sort_end_addr" pos="23:14" rst="0">
  94583. <comment>1~999</comment>
  94584. </bits>
  94585. <bits access="rw" name="sort_start_addr" pos="13:4" rst="0">
  94586. <comment>0~999</comment>
  94587. </bits>
  94588. <bits access="rw" name="freq_sel" pos="3:2" rst="0">
  94589. <comment>0: 5M
  94590. 1: 10M
  94591. 2: 20M
  94592. : 5M</comment>
  94593. </bits>
  94594. <bits access="rw" name="last_5ms" pos="1" rst="0">
  94595. <comment>0: 5ms
  94596. 1: 5ms</comment>
  94597. </bits>
  94598. <bits access="rw" name="first_5ms" pos="0" rst="0">
  94599. <comment>0: 5ms
  94600. 1: 5ms</comment>
  94601. </bits>
  94602. </reg>
  94603. <reg name="freq_search_config1" protect="rw">
  94604. <bits access="rw" name="pwrwin_32to20bitsel" pos="30:27" rst="9">
  94605. <comment>;
  94606. 0:[19:0],20bit
  94607. 1:[20:1],20bit
  94608. 12:[31:12],20bit
  94609. :12;</comment>
  94610. </bits>
  94611. <bits access="rw" name="pwr_32to16bitsel" pos="26:23" rst="0">
  94612. <comment>,;I^2+Q^2=PWR(32bit)
  94613. 0:[31:15],16bit
  94614. 1:[31:14],16bit
  94615. 15:[31:0],16bit</comment>
  94616. </bits>
  94617. <bits access="rw" name="cur_sbi_num" pos="22:17" rst="0">
  94618. <comment>0~49</comment>
  94619. </bits>
  94620. <bits access="rw" name="sbi_max" pos="16:11" rst="0">
  94621. <comment>0~50</comment>
  94622. </bits>
  94623. <bits access="rw" name="freq_20m_en" pos="10" rst="0">
  94624. <comment>20MHz
  94625. 0:
  94626. 1:</comment>
  94627. </bits>
  94628. <bits access="rw" name="freq_15m_en" pos="9" rst="0">
  94629. <comment>15MHz
  94630. 0:
  94631. 1:</comment>
  94632. </bits>
  94633. <bits access="rw" name="freq_10m_en" pos="8" rst="0">
  94634. <comment>10MHz
  94635. 0:
  94636. 1:</comment>
  94637. </bits>
  94638. <bits access="rw" name="freq_5m_en" pos="7" rst="0">
  94639. <comment>5MHz
  94640. 0:
  94641. 1:</comment>
  94642. </bits>
  94643. <bits access="rw" name="freq_3m_en" pos="6" rst="0">
  94644. <comment>3MHz
  94645. 0:
  94646. 1:</comment>
  94647. </bits>
  94648. <bits access="rw" name="freq_1_4m_en" pos="5" rst="0">
  94649. <comment>1.4MHz
  94650. 0:
  94651. 1:</comment>
  94652. </bits>
  94653. <bits access="rw" name="freq_200k_en" pos="4" rst="0">
  94654. <comment>200KHz
  94655. 0:
  94656. 1:</comment>
  94657. </bits>
  94658. <bits access="rw" name="m" pos="3:0" rst="5">
  94659. <comment>,1~11</comment>
  94660. </bits>
  94661. </reg>
  94662. <reg name="freq_search_config2" protect="rw">
  94663. <bits access="rw" name="selectbinnum_right" pos="17:9" rst="0">
  94664. <comment>Selectbinnum0~511</comment>
  94665. </bits>
  94666. <bits access="rw" name="selectbinnum_left" pos="8:0" rst="0">
  94667. <comment>selectbinnum0~511</comment>
  94668. </bits>
  94669. </reg>
  94670. <reg name="band_win_start_conf1" protect="rw">
  94671. <bits access="rw" name="band_5mhz" pos="27:21" rst="24">
  94672. <comment>0~99</comment>
  94673. </bits>
  94674. <bits access="rw" name="band_3mhz" pos="20:14" rst="15">
  94675. <comment>0~99</comment>
  94676. </bits>
  94677. <bits access="rw" name="band_1_4mhz" pos="13:7" rst="7">
  94678. <comment>0~99</comment>
  94679. </bits>
  94680. <bits access="rw" name="band_200khz" pos="6:0" rst="2">
  94681. <comment>0~99</comment>
  94682. </bits>
  94683. </reg>
  94684. <reg name="band_win_start_conf2" protect="rw">
  94685. <bits access="rw" name="band_20mhz" pos="20:14" rst="91">
  94686. <comment>0~99</comment>
  94687. </bits>
  94688. <bits access="rw" name="band_15mhz" pos="13:7" rst="69">
  94689. <comment>0~99</comment>
  94690. </bits>
  94691. <bits access="rw" name="band_10mhz" pos="6:0" rst="46">
  94692. <comment>0~99</comment>
  94693. </bits>
  94694. </reg>
  94695. <reg name="band_win_end_conf1" protect="rw">
  94696. <bits access="rw" name="band_20mhz" pos="27:24" rst="9">
  94697. <comment>0~15</comment>
  94698. </bits>
  94699. <bits access="rw" name="band_15mhz" pos="23:20" rst="6">
  94700. <comment>0~15</comment>
  94701. </bits>
  94702. <bits access="rw" name="band_10mhz" pos="19:16" rst="4">
  94703. <comment>0~15</comment>
  94704. </bits>
  94705. <bits access="rw" name="band_5mhz" pos="15:12" rst="1">
  94706. <comment>0~15</comment>
  94707. </bits>
  94708. <bits access="rw" name="band_3mhz" pos="11:8" rst="0">
  94709. <comment>0~15</comment>
  94710. </bits>
  94711. <bits access="rw" name="band_1_4mhz" pos="7:4" rst="0">
  94712. <comment>0~15</comment>
  94713. </bits>
  94714. <bits access="rw" name="band_200khz" pos="3:0" rst="0">
  94715. <comment>0~15</comment>
  94716. </bits>
  94717. </reg>
  94718. <reg name="band_win_end_conf2" protect="r">
  94719. </reg>
  94720. <reg name="agc_conf" protect="rw">
  94721. <bits access="rw" name="agc" pos="6:0" rst="0">
  94722. <comment>0~127</comment>
  94723. </bits>
  94724. </reg>
  94725. <reg name="sbi_sum_len" protect="rw">
  94726. <bits access="rw" name="sbi_sum_len_sbi_sum_len" pos="9:0" rst="0">
  94727. <comment/>
  94728. </bits>
  94729. </reg>
  94730. <reg name="target_agc" protect="rw">
  94731. <bits access="rw" name="target_agc_target_agc" pos="9:0" rst="0">
  94732. <comment>AGC</comment>
  94733. </bits>
  94734. </reg>
  94735. <reg name="freqitm_out1" protect="r">
  94736. <bits access="r" name="freq_itm_out2" pos="31:16" rst="0">
  94737. <comment>2</comment>
  94738. </bits>
  94739. <bits access="r" name="freq_itm_out1" pos="15:0" rst="0">
  94740. <comment>1</comment>
  94741. </bits>
  94742. </reg>
  94743. <reg name="pss1_resyn_rssi_range" protect="rw">
  94744. <bits access="rw" name="pss1_rssi_end" pos="29:16" rst="4799">
  94745. <comment>bit type is changed from r/w to rw.
  94746. PSSRSSI0~47990~9599</comment>
  94747. </bits>
  94748. <bits access="rw" name="pss1_rssi_start" pos="13:0" rst="0">
  94749. <comment>bit type is changed from r/w to rw.
  94750. PSSRSSI0~47990~9599</comment>
  94751. </bits>
  94752. </reg>
  94753. <reg name="pss1_max_rssi0" protect="r">
  94754. <bits access="r" name="pss1_max_rssi" pos="15:0" rst="0">
  94755. <comment>PSSRSSI</comment>
  94756. </bits>
  94757. </reg>
  94758. <reg name="pss1_max_rssi1" protect="r">
  94759. <bits access="r" name="pss1_max_rssi" pos="15:0" rst="0">
  94760. <comment>PSSRSSI</comment>
  94761. </bits>
  94762. </reg>
  94763. <reg name="pss1_max_rssi2" protect="r">
  94764. <bits access="r" name="pss1_max_rssi" pos="15:0" rst="0">
  94765. <comment>PSSRSSI</comment>
  94766. </bits>
  94767. </reg>
  94768. <reg name="pss1_max_rssi3" protect="r">
  94769. <bits access="r" name="pss1_max_rssi" pos="15:0" rst="0">
  94770. <comment>PSSRSSI</comment>
  94771. </bits>
  94772. </reg>
  94773. <reg name="pss1_max_rssi4" protect="r">
  94774. <bits access="r" name="pss1_max_rssi" pos="15:0" rst="0">
  94775. <comment>PSSRSSI</comment>
  94776. </bits>
  94777. </reg>
  94778. <reg name="pss1_max_rssi5" protect="r">
  94779. <bits access="r" name="pss1_max_rssi" pos="15:0" rst="0">
  94780. <comment>PSSRSSI</comment>
  94781. </bits>
  94782. </reg>
  94783. <reg name="pss1_max_rssi6" protect="r">
  94784. <bits access="r" name="pss1_max_rssi" pos="15:0" rst="0">
  94785. <comment>PSSRSSI</comment>
  94786. </bits>
  94787. </reg>
  94788. <reg name="pss1_max_rssi7" protect="r">
  94789. <bits access="r" name="pss1_max_rssi" pos="15:0" rst="0">
  94790. <comment>PSSRSSI</comment>
  94791. </bits>
  94792. </reg>
  94793. <reg name="pss1_max_rssi8" protect="r">
  94794. <bits access="r" name="pss1_max_rssi" pos="15:0" rst="0">
  94795. <comment>PSSRSSI</comment>
  94796. </bits>
  94797. </reg>
  94798. <reg name="pss1_max_rssi9" protect="r">
  94799. <bits access="r" name="pss1_max_rssi" pos="15:0" rst="0">
  94800. <comment>PSSRSSI</comment>
  94801. </bits>
  94802. </reg>
  94803. <reg name="pss1_max_rssi10" protect="r">
  94804. <bits access="r" name="pss1_max_rssi" pos="15:0" rst="0">
  94805. <comment>PSSRSSI</comment>
  94806. </bits>
  94807. </reg>
  94808. <reg name="pss1_max_rssi11" protect="r">
  94809. <bits access="r" name="pss1_max_rssi" pos="15:0" rst="0">
  94810. <comment>PSSRSSI</comment>
  94811. </bits>
  94812. </reg>
  94813. <hole size="27136"/>
  94814. <reg name="mem8_9_mem10_11" protect="rw">
  94815. <bits access="rw" name="mem8_9_mem10_11_mem8_9_mem10_11" pos="31:0" rst="0">
  94816. </bits>
  94817. </reg>
  94818. <hole size="32736"/>
  94819. <reg name="mem12" protect="rw">
  94820. <bits access="rw" name="mem12_mem12" pos="31:0" rst="0">
  94821. </bits>
  94822. </reg>
  94823. <hole size="32736"/>
  94824. <reg name="mem15" protect="rw">
  94825. <bits access="rw" name="mem15_mem15" pos="31:0" rst="0">
  94826. </bits>
  94827. </reg>
  94828. <hole size="32736"/>
  94829. <reg name="memqf" protect="rw">
  94830. <bits access="rw" name="memqf_memqf" pos="31:0" rst="0">
  94831. </bits>
  94832. </reg>
  94833. <hole size="131040"/>
  94834. <reg name="mem1_8_mem1_11" protect="rw">
  94835. <bits access="rw" name="mem1_8_mem1_11_1" pos="25:16" rst="0">
  94836. </bits>
  94837. <bits access="rw" name="mem1_8_mem1_11_2" pos="9:0" rst="0">
  94838. </bits>
  94839. </reg>
  94840. <hole size="131040"/>
  94841. <reg name="mem_freq_pwr_before_agc" protect="rw">
  94842. <bits access="rw" name="mem_freq_pwr_before_agc_1" pos="31:16" rst="0">
  94843. <comment>1PWR1</comment>
  94844. </bits>
  94845. <bits access="rw" name="mem_freq_pwr_before_agc_0" pos="15:0" rst="0">
  94846. <comment>1PWR0</comment>
  94847. </bits>
  94848. </reg>
  94849. <hole size="32736"/>
  94850. <reg name="mem_freq_len_agc" protect="rw">
  94851. <bits access="rw" name="mem_freq_len_agc_1" pos="18:10" rst="0">
  94852. <comment>1</comment>
  94853. </bits>
  94854. <bits access="rw" name="mem_freq_len_agc_0" pos="9:0" rst="0">
  94855. <comment>1AGC</comment>
  94856. </bits>
  94857. </reg>
  94858. </module>
  94859. </archive>
  94860. <archive relative="cp_lte_csirs.xml">
  94861. <module category="LTE_SYS" name="CP_LTE_CSIRS">
  94862. <reg name="csi_start" protect="rw">
  94863. <bits access="rw" name="data_drive_en" pos="2" rst="0">
  94864. <comment>data_drive
  94865. 0data_drive
  94866. 1data_drive</comment>
  94867. </bits>
  94868. <bits access="rw" name="dma_start_en" pos="1" rst="0">
  94869. <comment>DMACSI
  94870. 0
  94871. 1</comment>
  94872. </bits>
  94873. <bits access="rw" name="csi_en" pos="0" rst="0">
  94874. <comment>CSI
  94875. 0
  94876. 1</comment>
  94877. </bits>
  94878. </reg>
  94879. <reg name="csi_cfg_nxt" protect="rw">
  94880. <bits access="rw" name="cp" pos="25" rst="0">
  94881. <comment>cp
  94882. 0
  94883. 1</comment>
  94884. </bits>
  94885. <bits access="rw" name="fh_bit_sel" pos="24:20" rst="0">
  94886. <comment>FH
  94887. 5d0fh[11:0]
  94888. 5d1fh[12:1]
  94889. 5d2fh[13:2]
  94890. 5d16fh[27:16]
  94891. othersfh[28:17]</comment>
  94892. </bits>
  94893. <bits access="rw" name="csi_crs_ind" pos="19" rst="0">
  94894. <comment>CSI-RSCRS
  94895. 0CSI-RS
  94896. 1CRS</comment>
  94897. </bits>
  94898. <bits access="rw" name="ls_en" pos="18" rst="0">
  94899. <comment>LS/FH/
  94900. 0LS/FH/
  94901. 1</comment>
  94902. </bits>
  94903. <bits access="rw" name="sw_ri" pos="17" rst="0">
  94904. <comment>RIri_sel=1PMI
  94905. 0RI=1
  94906. 1RI=2</comment>
  94907. </bits>
  94908. <bits access="rw" name="ri_sel" pos="16" rst="0">
  94909. <comment>PMIRI
  94910. 0RI
  94911. 1RI</comment>
  94912. </bits>
  94913. <bits access="rw" name="pmi_en" pos="15" rst="0">
  94914. <comment>PMI
  94915. 0PMI
  94916. 1PMI</comment>
  94917. </bits>
  94918. <bits access="rw" name="ri_en" pos="14" rst="0">
  94919. <comment>RI
  94920. 0RI
  94921. 1RI</comment>
  94922. </bits>
  94923. <bits access="rw" name="old_ri_ind" pos="13" rst="0">
  94924. <comment>RIRI
  94925. 0RI=1
  94926. 1RI</comment>
  94927. </bits>
  94928. <bits access="rw" name="total_nrb" pos="12:6" rst="0">
  94929. <comment>6/15/25/50/75/100PRB</comment>
  94930. </bits>
  94931. <bits access="rw" name="sub_nrb" pos="5:2" rst="0">
  94932. <comment>total_nrb=6/15/25/50/75/100sub_nrb=6/2/2/3/4/4 PRB</comment>
  94933. </bits>
  94934. <bits access="rw" name="tx_num" pos="1:0" rst="0">
  94935. <comment>CSI-RS1248CRS24
  94936. 01RIPMI
  94937. 12
  94938. 24
  94939. 38</comment>
  94940. </bits>
  94941. </reg>
  94942. <reg name="csi_ri_threshold_nxt" protect="rw">
  94943. <bits access="rw" name="th2_cfg" pos="30:16" rst="0">
  94944. <comment>((1-th2)/(1+th2))^2RI01Q15th240</comment>
  94945. </bits>
  94946. <bits access="rw" name="th1_cfg" pos="14:0" rst="0">
  94947. <comment>((1-th1)/(1+th1))^2RI01Q15th160</comment>
  94948. </bits>
  94949. </reg>
  94950. <reg name="csi_code_index1_nxt" protect="rw">
  94951. <bits access="rw" name="code_index1_mask2" pos="31:16" rst="0">
  94952. <comment>RI=2248i1bitmapbit0~bit150~151</comment>
  94953. </bits>
  94954. <bits access="rw" name="code_index1_mask1" pos="15:0" rst="0">
  94955. <comment>RI=1248i1bitmapbit0~bit150~151</comment>
  94956. </bits>
  94957. </reg>
  94958. <reg name="csi_code_index2_nxt" protect="rw">
  94959. <bits access="rw" name="code_index2_mask2" pos="31:16" rst="0">
  94960. <comment>RI=28i2bitmapbit0~bit150~151</comment>
  94961. </bits>
  94962. <bits access="rw" name="code_index2_mask1" pos="15:0" rst="0">
  94963. <comment>RI=18i2bitmapbit0~bit150~151</comment>
  94964. </bits>
  94965. </reg>
  94966. <reg name="csi_inten_nxt" protect="rw">
  94967. <bits access="rw" name="phy_factor" pos="7:4" rst="0">
  94968. <comment/>
  94969. </bits>
  94970. <bits access="rw" name="csi_inten" pos="0" rst="0">
  94971. <comment>0
  94972. 1</comment>
  94973. </bits>
  94974. </reg>
  94975. <reg name="csi_cinit1_nxt" protect="rw">
  94976. <bits access="rw" name="cinit0" pos="30:0" rst="0">
  94977. <comment>OFDM0CCSI-RS</comment>
  94978. </bits>
  94979. </reg>
  94980. <reg name="csi_cinit2_nxt" protect="rw">
  94981. <bits access="rw" name="cinit1" pos="30:0" rst="0">
  94982. <comment>OFDM1CCSI-RS</comment>
  94983. </bits>
  94984. </reg>
  94985. <reg name="csi_intf" protect="rw">
  94986. <bits access="rc" name="phy_factor" pos="7:4" rst="0">
  94987. <comment>bit type is changed from rw1c to rc.</comment>
  94988. </bits>
  94989. <bits access="rc" name="csi_intf" pos="0" rst="0">
  94990. <comment>bit type is changed from rw1c to rc.
  94991. 0
  94992. 1</comment>
  94993. </bits>
  94994. </reg>
  94995. <reg name="csi_sw_stop" protect="rw">
  94996. <bits access="rw" name="sw_pause_way" pos="2" rst="0">
  94997. <comment>sw_pause_en=1
  94998. 0
  94999. 1</comment>
  95000. </bits>
  95001. <bits access="rw" name="sw_pause_en" pos="1" rst="0">
  95002. <comment>0
  95003. 10</comment>
  95004. </bits>
  95005. <bits access="rw" name="sw_stop_en" pos="0" rst="0">
  95006. <comment>0
  95007. 1</comment>
  95008. </bits>
  95009. </reg>
  95010. <reg name="csi_sw_stop_flag" protect="rw">
  95011. <bits access="rc" name="sw_pause_flag" pos="1" rst="0">
  95012. <comment>bit type is changed from rw1c to rc.
  95013. 0
  95014. 1</comment>
  95015. </bits>
  95016. <bits access="rc" name="sw_stop_flag" pos="0" rst="0">
  95017. <comment>bit type is changed from rw1c to rc.
  95018. 0
  95019. 1</comment>
  95020. </bits>
  95021. </reg>
  95022. <reg name="csi_ri_rpt" protect="r">
  95023. <bits access="r" name="ri_total_rpt" pos="0" rst="0">
  95024. <comment>RIPRBRI
  95025. 0RI=1
  95026. 1RI=2</comment>
  95027. </bits>
  95028. </reg>
  95029. <reg name="csi_pmi_rpt" protect="r">
  95030. <bits access="r" name="pmi_total_rpt" pos="7:0" rst="0">
  95031. <comment>PMIPRBPMI</comment>
  95032. </bits>
  95033. </reg>
  95034. <reg name="csi_rx1_sig_rpt" protect="r">
  95035. <bits access="r" name="rx1_sig_rpt" pos="27:0" rst="0">
  95036. <comment>1</comment>
  95037. </bits>
  95038. </reg>
  95039. <reg name="csi_rx2_sig_rpt" protect="r">
  95040. <bits access="r" name="rx2_sig_rpt" pos="27:0" rst="0">
  95041. <comment>2</comment>
  95042. </bits>
  95043. </reg>
  95044. <reg name="csi_rx1_noise_rpt" protect="r">
  95045. <bits access="r" name="rx1_noise_rpt" pos="29:0" rst="0">
  95046. <comment>1</comment>
  95047. </bits>
  95048. </reg>
  95049. <reg name="csi_rx2_noise_rpt" protect="r">
  95050. <bits access="r" name="rx2_noise_rpt" pos="29:0" rst="0">
  95051. <comment>2</comment>
  95052. </bits>
  95053. </reg>
  95054. <reg name="csi_cfg_cur" protect="rw">
  95055. <bits access="rw" name="cp" pos="25" rst="0">
  95056. <comment>cp
  95057. 0
  95058. 1</comment>
  95059. </bits>
  95060. <bits access="rw" name="fh_bit_sel" pos="24:20" rst="0">
  95061. <comment>FH
  95062. 5d0fh[11:0]
  95063. 5d1fh[12:1]
  95064. 5d2fh[13:2]
  95065. 5d16fh[27:16]
  95066. othersfh[28:17]</comment>
  95067. </bits>
  95068. <bits access="rw" name="csi_crs_ind" pos="19" rst="0">
  95069. <comment>CSI-RSCRS
  95070. 0CSI-RS
  95071. 1CRS</comment>
  95072. </bits>
  95073. <bits access="rw" name="ls_en" pos="18" rst="0">
  95074. <comment>LS/FH/
  95075. 0LS/FH/
  95076. 1</comment>
  95077. </bits>
  95078. <bits access="rw" name="sw_ri" pos="17" rst="0">
  95079. <comment>RIri_sel=1PMI
  95080. 0RI=1
  95081. 1RI=2</comment>
  95082. </bits>
  95083. <bits access="rw" name="ri_sel" pos="16" rst="0">
  95084. <comment>PMIRI
  95085. 0RI
  95086. 1RI</comment>
  95087. </bits>
  95088. <bits access="rw" name="pmi_en" pos="15" rst="0">
  95089. <comment>PMI
  95090. 0PMI
  95091. 1PMI</comment>
  95092. </bits>
  95093. <bits access="rw" name="ri_en" pos="14" rst="0">
  95094. <comment>RI
  95095. 0RI
  95096. 1RI</comment>
  95097. </bits>
  95098. <bits access="rw" name="old_ri_ind" pos="13" rst="0">
  95099. <comment>RIRI
  95100. 0RI=1
  95101. 1RI</comment>
  95102. </bits>
  95103. <bits access="rw" name="total_nrb" pos="12:6" rst="0">
  95104. <comment>6/15/25/50/75/100PRB</comment>
  95105. </bits>
  95106. <bits access="rw" name="sub_nrb" pos="5:2" rst="0">
  95107. <comment>total_nrb=6/15/25/50/75/100sub_nrb=6/2/2/3/4/4 PRB</comment>
  95108. </bits>
  95109. <bits access="rw" name="tx_num" pos="1:0" rst="0">
  95110. <comment>CSI-RS1248CRS24
  95111. 01RIPMI
  95112. 12
  95113. 24
  95114. 38</comment>
  95115. </bits>
  95116. </reg>
  95117. <reg name="csi_ri_threshold_cur" protect="rw">
  95118. <bits access="rw" name="th2_cfg" pos="30:16" rst="0">
  95119. <comment>((1-th2)/(1+th2))^2RI01Q15th240</comment>
  95120. </bits>
  95121. <bits access="rw" name="th1_cfg" pos="14:0" rst="0">
  95122. <comment>((1-th1)/(1+th1))^2RI01Q15th160</comment>
  95123. </bits>
  95124. </reg>
  95125. <reg name="csi_code_index1_cur" protect="rw">
  95126. <bits access="rw" name="code_index1_mask2" pos="31:16" rst="0">
  95127. <comment>RI=2248i1bitmapbit0~bit150~151</comment>
  95128. </bits>
  95129. <bits access="rw" name="code_index1_mask1" pos="15:0" rst="0">
  95130. <comment>RI=1248i1bitmapbit0~bit150~151</comment>
  95131. </bits>
  95132. </reg>
  95133. <reg name="csi_code_index2_cur" protect="rw">
  95134. <bits access="rw" name="code_index2_mask2" pos="31:16" rst="0">
  95135. <comment>RI=28i2bitmapbit0~bit150~151</comment>
  95136. </bits>
  95137. <bits access="rw" name="code_index2_mask1" pos="15:0" rst="0">
  95138. <comment>RI=18i2bitmapbit0~bit150~151</comment>
  95139. </bits>
  95140. </reg>
  95141. <reg name="csi_inten_cur" protect="rw">
  95142. <bits access="rw" name="csi_inten" pos="0" rst="0">
  95143. <comment>0
  95144. 1</comment>
  95145. </bits>
  95146. </reg>
  95147. <reg name="csi_cinit1_cur" protect="rw">
  95148. <bits access="rw" name="cinit0" pos="30:0" rst="0">
  95149. <comment>OFDM0CCSI-RS</comment>
  95150. </bits>
  95151. </reg>
  95152. <reg name="csi_cinit2_cur" protect="rw">
  95153. <bits access="rw" name="cinit1" pos="30:0" rst="0">
  95154. <comment>OFDM1CCSI-RS</comment>
  95155. </bits>
  95156. </reg>
  95157. <hole size="261376"/>
  95158. <reg name="rs_fh_mem1" protect="rw">
  95159. <bits access="rw" name="rs_fh_mem1_1" pos="31:20" rst="0">
  95160. </bits>
  95161. <bits access="rw" name="rs_fh_mem1_2" pos="15:4" rst="0">
  95162. </bits>
  95163. </reg>
  95164. <hole size="32736"/>
  95165. <reg name="rs_fh_mem2" protect="rw">
  95166. <bits access="rw" name="rs_fh_mem2_1" pos="31:20" rst="0">
  95167. </bits>
  95168. <bits access="rw" name="rs_fh_mem2_2" pos="15:4" rst="0">
  95169. </bits>
  95170. </reg>
  95171. <hole size="32736"/>
  95172. <reg name="hls_mem1" protect="rw">
  95173. <bits access="rw" name="hls_mem1_1" pos="31:20" rst="0">
  95174. </bits>
  95175. <bits access="rw" name="hls_mem1_2" pos="15:4" rst="0">
  95176. </bits>
  95177. </reg>
  95178. <hole size="65504"/>
  95179. <reg name="out_mem" protect="rw">
  95180. <bits access="rw" name="out_mem_out_mem" pos="31:0" rst="0">
  95181. </bits>
  95182. </reg>
  95183. </module>
  95184. </archive>
  95185. <archive relative="cp_lte_ulpcdci.xml">
  95186. <module category="LTE_SYS" name="CP_LTE_ULPCDCI">
  95187. <reg name="ulpcdci_ctrl" protect="rw">
  95188. <bits access="rw" name="dci_int_en" pos="3" rst="0">
  95189. <comment>0PUSCH
  95190. 1PUSCH</comment>
  95191. </bits>
  95192. <bits access="rw" name="ulpc_int_en" pos="2" rst="0">
  95193. <comment>0
  95194. 1</comment>
  95195. </bits>
  95196. <bits access="rw" name="dci_start" pos="1" rst="0">
  95197. <comment>0PUSCH
  95198. 1PUSCH</comment>
  95199. </bits>
  95200. <bits access="rw" name="ulpc_start" pos="0" rst="0">
  95201. <comment>0
  95202. 1</comment>
  95203. </bits>
  95204. </reg>
  95205. <reg name="ulpcdci_irq_flag" protect="rw">
  95206. <bits access="rc" name="dci_irq_flag" pos="1" rst="0">
  95207. <comment>bit type is changed from rw1c to rc.
  95208. DCI
  95209. 0
  95210. 1</comment>
  95211. </bits>
  95212. <bits access="rc" name="ulpc_irq_flag" pos="0" rst="0">
  95213. <comment>bit type is changed from rw1c to rc.
  95214. ULPC
  95215. 0
  95216. 1</comment>
  95217. </bits>
  95218. </reg>
  95219. <reg name="dci_para1" protect="rw">
  95220. <bits access="rw" name="rad_frame" pos="29:20" rst="0">
  95221. <comment/>
  95222. </bits>
  95223. <bits access="rw" name="sub_frame" pos="19:16" rst="0">
  95224. <comment/>
  95225. </bits>
  95226. <bits access="rw" name="prb_num" pos="15:9" rst="0">
  95227. <comment/>
  95228. </bits>
  95229. <bits access="rw" name="cell_id" pos="8:0" rst="0">
  95230. <comment>ID</comment>
  95231. </bits>
  95232. </reg>
  95233. <reg name="dci_para2" protect="rw">
  95234. <bits access="rw" name="res_block_alloc" pos="29:16" rst="0">
  95235. <comment>DCI Format 0
  95236. 6PRB5bit
  95237. 15PRB7bit
  95238. 25PRB9bit
  95239. 50PRB11bit
  95240. 75PRB12bit
  95241. 100PRB13bit
  95242. DCI Format 4
  95243. 6PRB6bit
  95244. 15PRB7bit
  95245. 25PRB10bit
  95246. 50PRB12bit
  95247. 75PRB13bit
  95248. 100PRB14bit</comment>
  95249. </bits>
  95250. <bits access="rw" name="hopping_offset" pos="13:7" rst="0">
  95251. <comment>PUSCH</comment>
  95252. </bits>
  95253. <bits access="rw" name="sub_baud" pos="6:4" rst="0">
  95254. <comment/>
  95255. </bits>
  95256. <bits access="rw" name="hopping_mode" pos="3" rst="0">
  95257. <comment>0
  95258. 1</comment>
  95259. </bits>
  95260. <bits access="rw" name="hopping_flag" pos="2" rst="0">
  95261. <comment>0
  95262. 1</comment>
  95263. </bits>
  95264. <bits access="rw" name="res_alloc_type" pos="1" rst="0">
  95265. <comment>00
  95266. 11</comment>
  95267. </bits>
  95268. <bits access="rw" name="sys_mode" pos="0" rst="0">
  95269. <comment>0TDD
  95270. 1FDD</comment>
  95271. </bits>
  95272. </reg>
  95273. <reg name="dci_result" protect="r">
  95274. <bits access="r" name="len1" pos="30:24" rst="0">
  95275. <comment>type0PRBtype1PRB</comment>
  95276. </bits>
  95277. <bits access="r" name="start1" pos="22:16" rst="0">
  95278. <comment>type0type0Type20type1PRB</comment>
  95279. </bits>
  95280. <bits access="r" name="len2" pos="14:8" rst="0">
  95281. <comment>type0PRBLen1type1PRB</comment>
  95282. </bits>
  95283. <bits access="r" name="start2" pos="6:0" rst="0">
  95284. <comment>type0type0Type21type1PRB</comment>
  95285. </bits>
  95286. </reg>
  95287. <reg name="dci_prb_len" protect="r">
  95288. <bits access="r" name="prb_len" pos="6:0" rst="0">
  95289. <comment>PUSCHPRB
  95290. type0PRBLen = Len1 = Len2
  95291. type1PRBLen = Len1+Len2</comment>
  95292. </bits>
  95293. </reg>
  95294. <reg name="ulpc_conf" protect="rw">
  95295. <bits access="rw" name="pwr_fci" pos="29:23" rst="0">
  95296. <comment>-6363</comment>
  95297. </bits>
  95298. <bits access="rw" name="pwr_max_calc" pos="22:15" rst="0">
  95299. <comment/>
  95300. </bits>
  95301. <bits access="rw" name="pwr_max_conf" pos="14:8" rst="0">
  95302. <comment>UE-3033dBm</comment>
  95303. </bits>
  95304. <bits access="rw" name="alpha" pos="7:5" rst="0">
  95305. <comment>0000
  95306. 0010.4
  95307. 0100.5
  95308. 0110.6
  95309. 1000.7
  95310. 1010.8
  95311. 1100.9
  95312. 1111</comment>
  95313. </bits>
  95314. <bits access="rw" name="ks" pos="4" rst="0">
  95315. <comment>UE
  95316. 0Ks0
  95317. 1Ks1.25</comment>
  95318. </bits>
  95319. <bits access="rw" name="cell_type" pos="3:1" rst="0">
  95320. <comment>000PRACH
  95321. 001PUSCH
  95322. 010PUCCH
  95323. 011PUSCHPUCCH
  95324. 100SRS
  95325. 101PUSCHSRS
  95326. 110PUCCHSRS
  95327. 111PUSCHPUCCHSRS</comment>
  95328. </bits>
  95329. <bits access="rw" name="cell_index" pos="0" rst="0">
  95330. <comment>0
  95331. 1</comment>
  95332. </bits>
  95333. </reg>
  95334. <reg name="ulpc_rsrp" protect="rw">
  95335. <bits access="rw" name="his_filter_rsrp" pos="28:16" rst="0">
  95336. <comment/>
  95337. </bits>
  95338. <bits access="rw" name="init_rsrp" pos="8:0" rst="0">
  95339. <comment>-140dBm-44dBm</comment>
  95340. </bits>
  95341. </reg>
  95342. <reg name="ulpc_ref_pwr" protect="rw">
  95343. <bits access="rw" name="dl_ref_pwr" pos="22:16" rst="0">
  95344. <comment>-60dBm50dBm</comment>
  95345. </bits>
  95346. <bits access="rw" name="ul_ref_pwr" pos="8:0" rst="0">
  95347. <comment>PUSCH-134dBm31dBm</comment>
  95348. </bits>
  95349. </reg>
  95350. <reg name="ulpc_prb" protect="rw">
  95351. <bits access="rw" name="prb_num" pos="22:16" rst="0">
  95352. <comment>PUSCHPRB</comment>
  95353. </bits>
  95354. <bits access="rw" name="sc_init" pos="14:4" rst="0">
  95355. <comment>PUSCH121200</comment>
  95356. </bits>
  95357. <bits access="rw" name="symb_init" pos="3:0" rst="0">
  95358. <comment>PUSCH9101112</comment>
  95359. </bits>
  95360. </reg>
  95361. <reg name="ulpc_tbsize" protect="rw">
  95362. <bits access="rw" name="tb_size" pos="16:0" rst="0">
  95363. <comment/>
  95364. </bits>
  95365. </reg>
  95366. <reg name="ulpc_fliter_coeff" protect="rw">
  95367. <bits access="rw" name="cqi_offset" pos="29:24" rst="0">
  95368. <comment>CQI050</comment>
  95369. </bits>
  95370. <bits access="rw" name="cqi_bitlen" pos="23:16" rst="0">
  95371. <comment>CRCCQI</comment>
  95372. </bits>
  95373. <bits access="rw" name="filter_coeff" pos="15:0" rst="0">
  95374. <comment/>
  95375. </bits>
  95376. </reg>
  95377. <reg name="ulpc_pucch_para1" protect="rw">
  95378. <bits access="rw" name="pucch_ref_pwr" pos="28:20" rst="0">
  95379. <comment>PUCCH-135-89</comment>
  95380. </bits>
  95381. <bits access="rw" name="sr_en" pos="19" rst="0">
  95382. <comment>0SR
  95383. 1SR</comment>
  95384. </bits>
  95385. <bits access="rw" name="pwr_gi" pos="18:12" rst="0">
  95386. <comment>-6363</comment>
  95387. </bits>
  95388. <bits access="rw" name="cp_type" pos="11" rst="0">
  95389. <comment>0CP
  95390. 1CP</comment>
  95391. </bits>
  95392. <bits access="rw" name="pwr_fator2" pos="10:8" rst="0">
  95393. <comment>-22</comment>
  95394. </bits>
  95395. <bits access="rw" name="pwr_fator1" pos="7:4" rst="0">
  95396. <comment>-26</comment>
  95397. </bits>
  95398. <bits access="rw" name="ant_type" pos="3" rst="0">
  95399. <comment>0
  95400. 1</comment>
  95401. </bits>
  95402. <bits access="rw" name="pucch_format" pos="2:0" rst="0">
  95403. <comment>PUCCH
  95404. 000PUCCH1
  95405. 001PUCCH1a
  95406. 010PUCCH1b
  95407. 011PUCCH2
  95408. 100PUCCH2a
  95409. 101PUCCH2b
  95410. 110PUCCH3
  95411. 111RESERVED</comment>
  95412. </bits>
  95413. </reg>
  95414. <reg name="ulpc_pucch_para2" protect="rw">
  95415. <bits access="rw" name="harq_bitlen" pos="12:8" rst="0">
  95416. <comment>HARQ</comment>
  95417. </bits>
  95418. <bits access="rw" name="puc_cqi_bitlen" pos="7:0" rst="0">
  95419. <comment/>
  95420. </bits>
  95421. </reg>
  95422. <reg name="ulpc_srs" protect="rw">
  95423. <bits access="rw" name="srs_prb" pos="11:5" rst="0">
  95424. <comment>SRS</comment>
  95425. </bits>
  95426. <bits access="rw" name="srs_offset" pos="4:0" rst="0">
  95427. <comment>SRSPUSCH</comment>
  95428. </bits>
  95429. </reg>
  95430. <reg name="ulpc_prach" protect="rw">
  95431. <bits access="rw" name="path_loss" pos="23:16" rst="0">
  95432. <comment>0140</comment>
  95433. </bits>
  95434. <bits access="rw" name="pwr_step" pos="15:14" rst="0">
  95435. <comment>000
  95436. 012
  95437. 104
  95438. 116</comment>
  95439. </bits>
  95440. <bits access="rw" name="delta_preamble" pos="13:12" rst="0">
  95441. <comment>000
  95442. 01-3
  95443. 108
  95444. 11RESERVED</comment>
  95445. </bits>
  95446. <bits access="rw" name="prach_ref_pwr" pos="11:8" rst="0">
  95447. <comment>PRACH
  95448. 0000-120
  95449. 0001-118
  95450. 0010-116
  95451. 0011-114
  95452. 0100-112
  95453. 0101-110
  95454. 0110-108
  95455. 0111-106
  95456. 1000-104
  95457. 1001-102
  95458. 1010-100
  95459. 1011-98
  95460. 1100-96
  95461. 1101-94
  95462. 1110-92
  95463. 1111-90</comment>
  95464. </bits>
  95465. <bits access="rw" name="preamble_trans_cnt" pos="7:0" rst="0">
  95466. <comment/>
  95467. </bits>
  95468. </reg>
  95469. <reg name="ulpc_send_pwr1" protect="r">
  95470. <bits access="r" name="srs_pwr" pos="26:16" rst="0">
  95471. <comment>SRS</comment>
  95472. </bits>
  95473. <bits access="r" name="pusch_pwr" pos="10:0" rst="0">
  95474. <comment>PUSCH</comment>
  95475. </bits>
  95476. </reg>
  95477. <reg name="ulpc_send_pwr2" protect="r">
  95478. <bits access="r" name="prach_pwr" pos="26:16" rst="0">
  95479. <comment>PRACH</comment>
  95480. </bits>
  95481. <bits access="r" name="pucch_pwr" pos="10:0" rst="0">
  95482. <comment>PUCCH</comment>
  95483. </bits>
  95484. </reg>
  95485. <reg name="ulpc_pus_pwr_line" protect="r">
  95486. <bits access="r" name="pusch_pwr_line" pos="19:0" rst="0">
  95487. <comment>PUSCH</comment>
  95488. </bits>
  95489. </reg>
  95490. <reg name="ulpc_srs_pwr_line" protect="r">
  95491. <bits access="r" name="srs_pwr_line" pos="19:0" rst="0">
  95492. <comment>SRS</comment>
  95493. </bits>
  95494. </reg>
  95495. <reg name="ulpc_puc_pwr_line" protect="r">
  95496. <bits access="r" name="pucch_pwr_line" pos="19:0" rst="0">
  95497. <comment>PUCCH</comment>
  95498. </bits>
  95499. </reg>
  95500. <reg name="ulpc_pcmax_pwr_line" protect="r">
  95501. <bits access="r" name="pcmax_pwr_line" pos="19:0" rst="0">
  95502. <comment>UE</comment>
  95503. </bits>
  95504. </reg>
  95505. <reg name="ulpc_phr_type" protect="r">
  95506. <bits access="r" name="phr_type2" pos="22:16" rst="0">
  95507. <comment>PHR Type2</comment>
  95508. </bits>
  95509. <bits access="r" name="phr_type1" pos="6:0" rst="0">
  95510. <comment>PHR Type1</comment>
  95511. </bits>
  95512. </reg>
  95513. <reg name="ulpc_tfci" protect="r">
  95514. <bits access="r" name="cur_filter_rsrp" pos="28:16" rst="0">
  95515. <comment/>
  95516. </bits>
  95517. <bits access="r" name="ulpc_tfci_ulpc_tfci" pos="10:0" rst="0">
  95518. <comment>TF_CI</comment>
  95519. </bits>
  95520. </reg>
  95521. </module>
  95522. </archive>
  95523. <archive relative="cp_lte_corr.xml">
  95524. <module category="LTE_SYS" name="CP_LTE_CORR">
  95525. <reg name="corr_para" protect="rw">
  95526. <bits access="rw" name="corr_loclen" pos="24:16" rst="0">
  95527. <comment>max384</comment>
  95528. </bits>
  95529. <bits access="rw" name="corr_reclen" pos="15:4" rst="0">
  95530. <comment>max2800</comment>
  95531. </bits>
  95532. <bits access="rw" name="corr_idnum" pos="3:0" rst="0">
  95533. <comment>IDmax10</comment>
  95534. </bits>
  95535. </reg>
  95536. <reg name="corr_start" protect="rw">
  95537. <bits access="rw" name="corr_start_corr_start" pos="0" rst="0">
  95538. <comment>1
  95539. 0</comment>
  95540. </bits>
  95541. </reg>
  95542. <reg name="corr_out" protect="r">
  95543. <bits access="r" name="corr_pp" pos="16" rst="0">
  95544. <comment>0
  95545. 1</comment>
  95546. </bits>
  95547. <bits access="r" name="corr_pos" pos="15:4" rst="0">
  95548. <comment>max2800</comment>
  95549. </bits>
  95550. <bits access="r" name="corr_id" pos="3:0" rst="0">
  95551. <comment>IDmax10</comment>
  95552. </bits>
  95553. </reg>
  95554. <reg name="corr_max" protect="r">
  95555. <bits access="r" name="corr_max_corr_max" pos="23:0" rst="0">
  95556. <comment>CORR_MAX</comment>
  95557. </bits>
  95558. </reg>
  95559. <reg name="corr_sum" protect="r">
  95560. <bits access="r" name="corr_sum_corr_sum" pos="31:0" rst="0">
  95561. <comment>CORR_SUM</comment>
  95562. </bits>
  95563. </reg>
  95564. <reg name="int_en" protect="rw">
  95565. <bits access="rw" name="int_en_int_en" pos="0" rst="0">
  95566. <comment>0
  95567. 1</comment>
  95568. </bits>
  95569. </reg>
  95570. <reg name="int_flag" protect="rw">
  95571. <bits access="rc" name="int_flag_int_flag" pos="0" rst="0">
  95572. <comment>bit type is changed from rw1c to rc.
  95573. 0
  95574. 1</comment>
  95575. </bits>
  95576. </reg>
  95577. </module>
  95578. </archive>
  95579. <archive relative="cp_lte_otdoa.xml">
  95580. <module category="LTE_SYS" name="CP_LTE_OTDOA">
  95581. <reg name="otdoa_sys_offset1" protect="rw">
  95582. <bits access="rw" name="otdoaon2validdata_offset" pos="14:0" rst="0">
  95583. <comment>0~30720TS</comment>
  95584. </bits>
  95585. </reg>
  95586. <reg name="otdoa_sys_offset2" protect="rw">
  95587. <bits access="rw" name="otdoaon2rcrfh_offset" pos="19:0" rst="0">
  95588. <comment>-30720x13.8 ~30720x13.8TS</comment>
  95589. </bits>
  95590. </reg>
  95591. <reg name="otdoa_sys_para1" protect="rw">
  95592. <bits access="rw" name="catm_ca1_sel" pos="12" rst="0">
  95593. <comment>0:catm
  95594. 1:cat1</comment>
  95595. </bits>
  95596. <bits access="rw" name="bw_index" pos="11:10" rst="0">
  95597. <comment>0:1.4M
  95598. 1:3M
  95599. 2:5M
  95600. :5M</comment>
  95601. </bits>
  95602. <bits access="rw" name="prs_hprb_start" pos="9:2" rst="0">
  95603. <comment>PRSPRB100PRB200PRB0~199</comment>
  95604. </bits>
  95605. <bits access="rw" name="ref_sel" pos="1" rst="0">
  95606. <comment>0
  95607. 1</comment>
  95608. </bits>
  95609. <bits access="rw" name="slide_length" pos="0" rst="0">
  95610. <comment>0512
  95611. 1256</comment>
  95612. </bits>
  95613. </reg>
  95614. <reg name="otdoa_sys_para2" protect="rw">
  95615. <bits access="rw" name="first_occasion" pos="23:0" rst="0">
  95616. <comment>0occasion
  95617. 1occasion
  95618. [0]ID1
  95619. [23]ID24</comment>
  95620. </bits>
  95621. </reg>
  95622. <reg name="otdoa_sys_para3" protect="rw">
  95623. <bits access="rw" name="id_valid_bitmap" pos="23:0" rst="0">
  95624. <comment>ID
  95625. 0ID
  95626. 1ID
  95627. [0]ID1
  95628. [23]ID24</comment>
  95629. </bits>
  95630. </reg>
  95631. <reg name="otdoa_sys_para4" protect="rw">
  95632. <bits access="rw" name="id_en_bitmap" pos="23:0" rst="0">
  95633. <comment>ID
  95634. 0ID
  95635. 1ID
  95636. [0]ID1
  95637. [23]ID24</comment>
  95638. </bits>
  95639. </reg>
  95640. <reg name="otdoa_sys_rxmem_len" protect="rw">
  95641. <bits access="rw" name="rx_len" pos="18:0" rst="0">
  95642. <comment>eg1IQ</comment>
  95643. </bits>
  95644. </reg>
  95645. <reg name="otdoa_sys_agc" protect="rw">
  95646. <bits access="rw" name="agc" pos="9:0" rst="0">
  95647. <comment>occasionAGC</comment>
  95648. </bits>
  95649. </reg>
  95650. <reg name="otdoa_id1_para1" protect="rw">
  95651. <bits access="rw" name="sf_num_id1" pos="21:18" rst="0">
  95652. <comment>occasionID10~120ID1SF_ID1</comment>
  95653. </bits>
  95654. <bits access="rw" name="sf_id1" pos="17:14" rst="0">
  95655. <comment>occasionID210~9</comment>
  95656. </bits>
  95657. <bits access="rw" name="prsnid_id1" pos="13:2" rst="0">
  95658. <comment>PRSID2ID 0~4095</comment>
  95659. </bits>
  95660. <bits access="rw" name="tx_num_id1" pos="1" rst="0">
  95661. <comment>ID1
  95662. 012
  95663. 14</comment>
  95664. </bits>
  95665. <bits access="rw" name="cp_index_id1" pos="0" rst="0">
  95666. <comment>ID1CP
  95667. 0CP
  95668. 1CP</comment>
  95669. </bits>
  95670. </reg>
  95671. <reg name="otdoa_id1_para2" protect="rw">
  95672. <bits access="rw" name="certain_id1" pos="29:13" rst="0">
  95673. <comment>ID1certain-8192x3x2 TS ~8192x3x2TS1</comment>
  95674. </bits>
  95675. <bits access="rw" name="uncertain_id1" pos="12:0" rst="0">
  95676. <comment>ID1uncertain0 TS ~1024x3x2TS2</comment>
  95677. </bits>
  95678. </reg>
  95679. <reg name="otdoa_id2_para1" protect="rw">
  95680. <bits access="rw" name="sf_num_id2" pos="21:18" rst="0">
  95681. <comment>occasionID20~120ID2SF_ID2</comment>
  95682. </bits>
  95683. <bits access="rw" name="sf_id2" pos="17:14" rst="0">
  95684. <comment>occasionID210~9</comment>
  95685. </bits>
  95686. <bits access="rw" name="prsnid_id2" pos="13:2" rst="0">
  95687. <comment>PRSID2ID 0~4095</comment>
  95688. </bits>
  95689. <bits access="rw" name="tx_num_id2" pos="1" rst="0">
  95690. <comment>ID2
  95691. 012
  95692. 14</comment>
  95693. </bits>
  95694. <bits access="rw" name="cp_index_id2" pos="0" rst="0">
  95695. <comment>ID2CP
  95696. 0CP
  95697. 1CP</comment>
  95698. </bits>
  95699. </reg>
  95700. <reg name="otdoa_id2_para2" protect="rw">
  95701. <bits access="rw" name="certain_id2" pos="29:13" rst="0">
  95702. <comment>ID2certain-8192x3x2 TS ~8192x3x2TS1</comment>
  95703. </bits>
  95704. <bits access="rw" name="uncertain_id2" pos="12:0" rst="0">
  95705. <comment>ID2uncertain0 TS ~1024x3x2TS2</comment>
  95706. </bits>
  95707. </reg>
  95708. <reg name="otdoa_id3_para1" protect="rw">
  95709. <bits access="rw" name="sf_num_id3" pos="21:18" rst="0">
  95710. <comment>occasionID30~120ID3SF_ID3</comment>
  95711. </bits>
  95712. <bits access="rw" name="sf_id3" pos="17:14" rst="0">
  95713. <comment>occasionID310~9</comment>
  95714. </bits>
  95715. <bits access="rw" name="prsnid_id3" pos="13:2" rst="0">
  95716. <comment>PRSID3ID 0~4095</comment>
  95717. </bits>
  95718. <bits access="rw" name="tx_num_id3" pos="1" rst="0">
  95719. <comment>ID3
  95720. 012
  95721. 14</comment>
  95722. </bits>
  95723. <bits access="rw" name="cp_index_id3" pos="0" rst="0">
  95724. <comment>ID3CP
  95725. 0CP
  95726. 1CP</comment>
  95727. </bits>
  95728. </reg>
  95729. <reg name="otdoa_id3_para2" protect="rw">
  95730. <bits access="rw" name="certain_id3" pos="29:13" rst="0">
  95731. <comment>ID3certain-8192x3x2 TS ~8192x3x2TS1</comment>
  95732. </bits>
  95733. <bits access="rw" name="uncertain_id3" pos="12:0" rst="0">
  95734. <comment>ID3uncertain0 TS ~1024x3x2TS2</comment>
  95735. </bits>
  95736. </reg>
  95737. <reg name="otdoa_id4_para1" protect="rw">
  95738. <bits access="rw" name="sf_num_id4" pos="21:18" rst="0">
  95739. <comment>occasionID40~120ID4SF_ID4</comment>
  95740. </bits>
  95741. <bits access="rw" name="sf_id4" pos="17:14" rst="0">
  95742. <comment>occasionID410~9</comment>
  95743. </bits>
  95744. <bits access="rw" name="prsnid_id4" pos="13:2" rst="0">
  95745. <comment>PRSID4ID 0~4095</comment>
  95746. </bits>
  95747. <bits access="rw" name="tx_num_id4" pos="1" rst="0">
  95748. <comment>ID4
  95749. 012
  95750. 14</comment>
  95751. </bits>
  95752. <bits access="rw" name="cp_index_id4" pos="0" rst="0">
  95753. <comment>ID4CP
  95754. 0CP
  95755. 1CP</comment>
  95756. </bits>
  95757. </reg>
  95758. <reg name="otdoa_id4_para2" protect="rw">
  95759. <bits access="rw" name="certain_id4" pos="29:13" rst="0">
  95760. <comment>ID4certain-8192x3x2 TS ~8192x3x2TS1</comment>
  95761. </bits>
  95762. <bits access="rw" name="uncertain_id4" pos="12:0" rst="0">
  95763. <comment>ID4uncertain0 TS ~1024x3x2TS2</comment>
  95764. </bits>
  95765. </reg>
  95766. <reg name="otdoa_id5_para1" protect="rw">
  95767. <bits access="rw" name="sf_num_id5" pos="21:18" rst="0">
  95768. <comment>occasionID50~120ID5SF_ID5</comment>
  95769. </bits>
  95770. <bits access="rw" name="sf_id5" pos="17:14" rst="0">
  95771. <comment>occasionID510~9</comment>
  95772. </bits>
  95773. <bits access="rw" name="prsnid_id5" pos="13:2" rst="0">
  95774. <comment>PRSID5ID 0~4095</comment>
  95775. </bits>
  95776. <bits access="rw" name="tx_num_id5" pos="1" rst="0">
  95777. <comment>ID5
  95778. 012
  95779. 14</comment>
  95780. </bits>
  95781. <bits access="rw" name="cp_index_id5" pos="0" rst="0">
  95782. <comment>ID5CP
  95783. 0CP
  95784. 1CP</comment>
  95785. </bits>
  95786. </reg>
  95787. <reg name="otdoa_id5_para2" protect="rw">
  95788. <bits access="rw" name="certain_id5" pos="29:13" rst="0">
  95789. <comment>ID5certain-8192x3x2 TS ~8192x3x2TS1</comment>
  95790. </bits>
  95791. <bits access="rw" name="uncertain_id5" pos="12:0" rst="0">
  95792. <comment>ID5uncertain0 TS ~1024x3x2TS2</comment>
  95793. </bits>
  95794. </reg>
  95795. <reg name="otdoa_id6_para1" protect="rw">
  95796. <bits access="rw" name="sf_num_id6" pos="21:18" rst="0">
  95797. <comment>occasionID60~120ID6SF_ID6</comment>
  95798. </bits>
  95799. <bits access="rw" name="sf_id6" pos="17:14" rst="0">
  95800. <comment>occasionID610~9</comment>
  95801. </bits>
  95802. <bits access="rw" name="prsnid_id6" pos="13:2" rst="0">
  95803. <comment>PRSID6ID 0~4095</comment>
  95804. </bits>
  95805. <bits access="rw" name="tx_num_id6" pos="1" rst="0">
  95806. <comment>ID6
  95807. 012
  95808. 14</comment>
  95809. </bits>
  95810. <bits access="rw" name="cp_index_id6" pos="0" rst="0">
  95811. <comment>ID6CP
  95812. 0CP
  95813. 1CP</comment>
  95814. </bits>
  95815. </reg>
  95816. <reg name="otdoa_id6_para2" protect="rw">
  95817. <bits access="rw" name="certain_id6" pos="29:13" rst="0">
  95818. <comment>ID6certain-8192x3x2 TS ~8192x3x2TS1</comment>
  95819. </bits>
  95820. <bits access="rw" name="uncertain_id6" pos="12:0" rst="0">
  95821. <comment>ID6uncertain0 TS ~1024x3x2TS2</comment>
  95822. </bits>
  95823. </reg>
  95824. <reg name="otdoa_id7_para1" protect="rw">
  95825. <bits access="rw" name="sf_num_id7" pos="21:18" rst="0">
  95826. <comment>occasionID70~120ID7SF_ID7</comment>
  95827. </bits>
  95828. <bits access="rw" name="sf_id7" pos="17:14" rst="0">
  95829. <comment>occasionID710~9</comment>
  95830. </bits>
  95831. <bits access="rw" name="prsnid_id7" pos="13:2" rst="0">
  95832. <comment>PRSID7ID 0~4095</comment>
  95833. </bits>
  95834. <bits access="rw" name="tx_num_id7" pos="1" rst="0">
  95835. <comment>ID7
  95836. 012
  95837. 14</comment>
  95838. </bits>
  95839. <bits access="rw" name="cp_index_id7" pos="0" rst="0">
  95840. <comment>ID7CP
  95841. 0CP
  95842. 1CP</comment>
  95843. </bits>
  95844. </reg>
  95845. <reg name="otdoa_id7_para2" protect="rw">
  95846. <bits access="rw" name="certain_id7" pos="29:13" rst="0">
  95847. <comment>ID7certain-8192x3x2 TS ~8192x3x2TS1</comment>
  95848. </bits>
  95849. <bits access="rw" name="uncertain_id7" pos="12:0" rst="0">
  95850. <comment>ID7uncertain0 TS ~1024x3x2TS2</comment>
  95851. </bits>
  95852. </reg>
  95853. <reg name="otdoa_id8_para1" protect="rw">
  95854. <bits access="rw" name="sf_num_id8" pos="21:18" rst="0">
  95855. <comment>occasionID80~120ID8SF_ID8</comment>
  95856. </bits>
  95857. <bits access="rw" name="sf_id8" pos="17:14" rst="0">
  95858. <comment>occasionID810~9</comment>
  95859. </bits>
  95860. <bits access="rw" name="prsnid_id8" pos="13:2" rst="0">
  95861. <comment>PRSID8ID 0~4095</comment>
  95862. </bits>
  95863. <bits access="rw" name="tx_num_id8" pos="1" rst="0">
  95864. <comment>ID8
  95865. 012
  95866. 14</comment>
  95867. </bits>
  95868. <bits access="rw" name="cp_index_id8" pos="0" rst="0">
  95869. <comment>ID8CP
  95870. 0CP
  95871. 1CP</comment>
  95872. </bits>
  95873. </reg>
  95874. <reg name="otdoa_id8_para2" protect="rw">
  95875. <bits access="rw" name="certain_id8" pos="29:13" rst="0">
  95876. <comment>ID8certain-8192x3x2 TS ~8192x3x2TS1</comment>
  95877. </bits>
  95878. <bits access="rw" name="uncertain_id8" pos="12:0" rst="0">
  95879. <comment>ID8uncertain0 TS ~1024x3x2TS2</comment>
  95880. </bits>
  95881. </reg>
  95882. <reg name="otdoa_id9_para1" protect="rw">
  95883. <bits access="rw" name="sf_num_id9" pos="21:18" rst="0">
  95884. <comment>occasionID90~120ID9SF_ID9</comment>
  95885. </bits>
  95886. <bits access="rw" name="sf_id9" pos="17:14" rst="0">
  95887. <comment>occasionID910~9</comment>
  95888. </bits>
  95889. <bits access="rw" name="prsnid_id9" pos="13:2" rst="0">
  95890. <comment>PRSID9ID 0~4095</comment>
  95891. </bits>
  95892. <bits access="rw" name="tx_num_id9" pos="1" rst="0">
  95893. <comment>ID9
  95894. 012
  95895. 14</comment>
  95896. </bits>
  95897. <bits access="rw" name="cp_index_id9" pos="0" rst="0">
  95898. <comment>ID9CP
  95899. 0CP
  95900. 1CP</comment>
  95901. </bits>
  95902. </reg>
  95903. <reg name="otdoa_id9_para2" protect="rw">
  95904. <bits access="rw" name="certain_id9" pos="29:13" rst="0">
  95905. <comment>ID9certain-8192x3x2 TS ~8192x3x2TS1</comment>
  95906. </bits>
  95907. <bits access="rw" name="uncertain_id9" pos="12:0" rst="0">
  95908. <comment>ID9uncertain0 TS ~1024x3x2TS2</comment>
  95909. </bits>
  95910. </reg>
  95911. <reg name="otdoa_id10_para1" protect="rw">
  95912. <bits access="rw" name="sf_num_id10" pos="21:18" rst="0">
  95913. <comment>occasionID100~120ID10SF_ID10</comment>
  95914. </bits>
  95915. <bits access="rw" name="sf_id10" pos="17:14" rst="0">
  95916. <comment>occasionID1010~9</comment>
  95917. </bits>
  95918. <bits access="rw" name="prsnid_id10" pos="13:2" rst="0">
  95919. <comment>PRSID10ID 0~4095</comment>
  95920. </bits>
  95921. <bits access="rw" name="tx_num_id10" pos="1" rst="0">
  95922. <comment>ID10
  95923. 012
  95924. 14</comment>
  95925. </bits>
  95926. <bits access="rw" name="cp_index_id10" pos="0" rst="0">
  95927. <comment>ID10CP
  95928. 0CP
  95929. 1CP</comment>
  95930. </bits>
  95931. </reg>
  95932. <reg name="otdoa_id10_para2" protect="rw">
  95933. <bits access="rw" name="certain_id10" pos="29:13" rst="0">
  95934. <comment>ID10certain-8192x3x2 TS ~8192x3x2TS1</comment>
  95935. </bits>
  95936. <bits access="rw" name="uncertain_id10" pos="12:0" rst="0">
  95937. <comment>ID10uncertain0 TS ~1024x3x2TS2</comment>
  95938. </bits>
  95939. </reg>
  95940. <reg name="otdoa_id11_para1" protect="rw">
  95941. <bits access="rw" name="sf_num_id11" pos="21:18" rst="0">
  95942. <comment>occasionID110~120ID11SF_ID11</comment>
  95943. </bits>
  95944. <bits access="rw" name="sf_id11" pos="17:14" rst="0">
  95945. <comment>occasionID1110~9</comment>
  95946. </bits>
  95947. <bits access="rw" name="prsnid_id11" pos="13:2" rst="0">
  95948. <comment>PRSID11ID 0~4095</comment>
  95949. </bits>
  95950. <bits access="rw" name="tx_num_id11" pos="1" rst="0">
  95951. <comment>ID11
  95952. 012
  95953. 14</comment>
  95954. </bits>
  95955. <bits access="rw" name="cp_index_id11" pos="0" rst="0">
  95956. <comment>ID11CP
  95957. 0CP
  95958. 1CP</comment>
  95959. </bits>
  95960. </reg>
  95961. <reg name="otdoa_id11_para2" protect="rw">
  95962. <bits access="rw" name="certain_id11" pos="29:13" rst="0">
  95963. <comment>ID11certain-8192x3x2 TS ~8192x3x2TS1</comment>
  95964. </bits>
  95965. <bits access="rw" name="uncertain_id11" pos="12:0" rst="0">
  95966. <comment>ID11uncertain0 TS ~1024x3x2TS2</comment>
  95967. </bits>
  95968. </reg>
  95969. <reg name="otdoa_id12_para1" protect="rw">
  95970. <bits access="rw" name="sf_num_id12" pos="21:18" rst="0">
  95971. <comment>occasionID120~120ID12SF_ID12</comment>
  95972. </bits>
  95973. <bits access="rw" name="sf_id12" pos="17:14" rst="0">
  95974. <comment>occasionID1210~9</comment>
  95975. </bits>
  95976. <bits access="rw" name="prsnid_id12" pos="13:2" rst="0">
  95977. <comment>PRSID12ID 0~4095</comment>
  95978. </bits>
  95979. <bits access="rw" name="tx_num_id12" pos="1" rst="0">
  95980. <comment>ID12
  95981. 012
  95982. 14</comment>
  95983. </bits>
  95984. <bits access="rw" name="cp_index_id12" pos="0" rst="0">
  95985. <comment>ID12CP
  95986. 0CP
  95987. 1CP</comment>
  95988. </bits>
  95989. </reg>
  95990. <reg name="otdoa_id12_para2" protect="rw">
  95991. <bits access="rw" name="certain_id12" pos="29:13" rst="0">
  95992. <comment>ID12certain-8192x3x2 TS ~8192x3x2TS1</comment>
  95993. </bits>
  95994. <bits access="rw" name="uncertain_id12" pos="12:0" rst="0">
  95995. <comment>ID12uncertain0 TS ~1024x3x2TS2</comment>
  95996. </bits>
  95997. </reg>
  95998. <reg name="otdoa_id13_para1" protect="rw">
  95999. <bits access="rw" name="sf_num_id13" pos="21:18" rst="0">
  96000. <comment>occasionID130~120ID13SF_ID13</comment>
  96001. </bits>
  96002. <bits access="rw" name="sf_id13" pos="17:14" rst="0">
  96003. <comment>occasionID1310~9</comment>
  96004. </bits>
  96005. <bits access="rw" name="prsnid_id13" pos="13:2" rst="0">
  96006. <comment>PRSID13ID 0~4095</comment>
  96007. </bits>
  96008. <bits access="rw" name="tx_num_id13" pos="1" rst="0">
  96009. <comment>ID13
  96010. 012
  96011. 14</comment>
  96012. </bits>
  96013. <bits access="rw" name="cp_index_id13" pos="0" rst="0">
  96014. <comment>ID13CP
  96015. 0CP
  96016. 1CP</comment>
  96017. </bits>
  96018. </reg>
  96019. <reg name="otdoa_id13_para2" protect="rw">
  96020. <bits access="rw" name="certain_id13" pos="29:13" rst="0">
  96021. <comment>ID13certain-8192x3x2 TS ~8192x3x2TS1</comment>
  96022. </bits>
  96023. <bits access="rw" name="uncertain_id13" pos="12:0" rst="0">
  96024. <comment>ID13uncertain0 TS ~1024x3x2TS2</comment>
  96025. </bits>
  96026. </reg>
  96027. <reg name="otdoa_id14_para1" protect="rw">
  96028. <bits access="rw" name="sf_num_id14" pos="21:18" rst="0">
  96029. <comment>occasionID140~120ID14SF_ID14</comment>
  96030. </bits>
  96031. <bits access="rw" name="sf_id14" pos="17:14" rst="0">
  96032. <comment>occasionID1410~9</comment>
  96033. </bits>
  96034. <bits access="rw" name="prsnid_id14" pos="13:2" rst="0">
  96035. <comment>PRSID14ID 0~4095</comment>
  96036. </bits>
  96037. <bits access="rw" name="tx_num_id14" pos="1" rst="0">
  96038. <comment>ID14
  96039. 012
  96040. 14</comment>
  96041. </bits>
  96042. <bits access="rw" name="cp_index_id14" pos="0" rst="0">
  96043. <comment>ID14CP
  96044. 0CP
  96045. 1CP</comment>
  96046. </bits>
  96047. </reg>
  96048. <reg name="otdoa_id14_para2" protect="rw">
  96049. <bits access="rw" name="certain_id14" pos="29:13" rst="0">
  96050. <comment>ID14certain-8192x3x2 TS ~8192x3x2TS1</comment>
  96051. </bits>
  96052. <bits access="rw" name="uncertain_id14" pos="12:0" rst="0">
  96053. <comment>ID14uncertain0 TS ~1024x3x2TS2</comment>
  96054. </bits>
  96055. </reg>
  96056. <reg name="otdoa_id15_para1" protect="rw">
  96057. <bits access="rw" name="sf_num_id15" pos="21:18" rst="0">
  96058. <comment>occasionID150~120ID15SF_ID15</comment>
  96059. </bits>
  96060. <bits access="rw" name="sf_id15" pos="17:14" rst="0">
  96061. <comment>occasionID1510~9</comment>
  96062. </bits>
  96063. <bits access="rw" name="prsnid_id15" pos="13:2" rst="0">
  96064. <comment>PRSID15ID 0~4095</comment>
  96065. </bits>
  96066. <bits access="rw" name="tx_num_id15" pos="1" rst="0">
  96067. <comment>ID15
  96068. 012
  96069. 14</comment>
  96070. </bits>
  96071. <bits access="rw" name="cp_index_id15" pos="0" rst="0">
  96072. <comment>ID15CP
  96073. 0CP
  96074. 1CP</comment>
  96075. </bits>
  96076. </reg>
  96077. <reg name="otdoa_id15_para2" protect="rw">
  96078. <bits access="rw" name="certain_id15" pos="29:13" rst="0">
  96079. <comment>ID15certain-8192x3x2 TS ~8192x3x2TS1</comment>
  96080. </bits>
  96081. <bits access="rw" name="uncertain_id15" pos="12:0" rst="0">
  96082. <comment>ID15uncertain0 TS ~1024x3x2TS2</comment>
  96083. </bits>
  96084. </reg>
  96085. <reg name="otdoa_id16_para1" protect="rw">
  96086. <bits access="rw" name="sf_num_id16" pos="21:18" rst="0">
  96087. <comment>occasionID160~120ID16SF_ID16</comment>
  96088. </bits>
  96089. <bits access="rw" name="sf_id16" pos="17:14" rst="0">
  96090. <comment>occasionID1610~9</comment>
  96091. </bits>
  96092. <bits access="rw" name="prsnid_id16" pos="13:2" rst="0">
  96093. <comment>PRSID16ID 0~4095</comment>
  96094. </bits>
  96095. <bits access="rw" name="tx_num_id16" pos="1" rst="0">
  96096. <comment>ID16
  96097. 012
  96098. 14</comment>
  96099. </bits>
  96100. <bits access="rw" name="cp_index_id16" pos="0" rst="0">
  96101. <comment>ID16CP
  96102. 0CP
  96103. 1CP</comment>
  96104. </bits>
  96105. </reg>
  96106. <reg name="otdoa_id16_para2" protect="rw">
  96107. <bits access="rw" name="certain_id16" pos="29:13" rst="0">
  96108. <comment>ID16certain-8192x3x2 TS ~8192x3x2TS1</comment>
  96109. </bits>
  96110. <bits access="rw" name="uncertain_id16" pos="12:0" rst="0">
  96111. <comment>ID16uncertain0 TS ~1024x3x2TS2</comment>
  96112. </bits>
  96113. </reg>
  96114. <reg name="otdoa_id17_para1" protect="rw">
  96115. <bits access="rw" name="sf_num_id17" pos="21:18" rst="0">
  96116. <comment>occasionID170~120ID17SF_ID17</comment>
  96117. </bits>
  96118. <bits access="rw" name="sf_id17" pos="17:14" rst="0">
  96119. <comment>occasionID1710~9</comment>
  96120. </bits>
  96121. <bits access="rw" name="prsnid_id17" pos="13:2" rst="0">
  96122. <comment>PRSID17ID 0~4095</comment>
  96123. </bits>
  96124. <bits access="rw" name="tx_num_id17" pos="1" rst="0">
  96125. <comment>ID17
  96126. 012
  96127. 14</comment>
  96128. </bits>
  96129. <bits access="rw" name="cp_index_id17" pos="0" rst="0">
  96130. <comment>ID17CP
  96131. 0CP
  96132. 1CP</comment>
  96133. </bits>
  96134. </reg>
  96135. <reg name="otdoa_id17_para2" protect="rw">
  96136. <bits access="rw" name="certain_id17" pos="29:13" rst="0">
  96137. <comment>ID17certain-8192x3x2 TS ~8192x3x2TS1</comment>
  96138. </bits>
  96139. <bits access="rw" name="uncertain_id17" pos="12:0" rst="0">
  96140. <comment>ID17uncertain0 TS ~1024x3x2TS2</comment>
  96141. </bits>
  96142. </reg>
  96143. <reg name="otdoa_id18_para1" protect="rw">
  96144. <bits access="rw" name="sf_num_id18" pos="21:18" rst="0">
  96145. <comment>occasionID180~120ID18SF_ID18</comment>
  96146. </bits>
  96147. <bits access="rw" name="sf_id18" pos="17:14" rst="0">
  96148. <comment>occasionID1810~9</comment>
  96149. </bits>
  96150. <bits access="rw" name="prsnid_id18" pos="13:2" rst="0">
  96151. <comment>PRSID18ID 0~4095</comment>
  96152. </bits>
  96153. <bits access="rw" name="tx_num_id18" pos="1" rst="0">
  96154. <comment>ID18
  96155. 012
  96156. 14</comment>
  96157. </bits>
  96158. <bits access="rw" name="cp_index_id18" pos="0" rst="0">
  96159. <comment>ID18CP
  96160. 0CP
  96161. 1CP</comment>
  96162. </bits>
  96163. </reg>
  96164. <reg name="otdoa_id18_para2" protect="rw">
  96165. <bits access="rw" name="certain_id18" pos="29:13" rst="0">
  96166. <comment>ID18certain-8192x3x2 TS ~8192x3x2TS1</comment>
  96167. </bits>
  96168. <bits access="rw" name="uncertain_id18" pos="12:0" rst="0">
  96169. <comment>ID18uncertain0 TS ~1024x3x2TS2</comment>
  96170. </bits>
  96171. </reg>
  96172. <reg name="otdoa_id19_para1" protect="rw">
  96173. <bits access="rw" name="sf_num_id19" pos="21:18" rst="0">
  96174. <comment>occasionID190~120ID19SF_ID19</comment>
  96175. </bits>
  96176. <bits access="rw" name="sf_id19" pos="17:14" rst="0">
  96177. <comment>occasionID1910~9</comment>
  96178. </bits>
  96179. <bits access="rw" name="prsnid_id19" pos="13:2" rst="0">
  96180. <comment>PRSID19ID 0~4095</comment>
  96181. </bits>
  96182. <bits access="rw" name="tx_num_id19" pos="1" rst="0">
  96183. <comment>ID19
  96184. 012
  96185. 14</comment>
  96186. </bits>
  96187. <bits access="rw" name="cp_index_id19" pos="0" rst="0">
  96188. <comment>ID19CP
  96189. 0CP
  96190. 1CP</comment>
  96191. </bits>
  96192. </reg>
  96193. <reg name="otdoa_id19_para2" protect="rw">
  96194. <bits access="rw" name="certain_id19" pos="29:13" rst="0">
  96195. <comment>ID19certain-8192x3x2 TS ~8192x3x2TS1</comment>
  96196. </bits>
  96197. <bits access="rw" name="uncertain_id19" pos="12:0" rst="0">
  96198. <comment>ID19uncertain0 TS ~1024x3x2TS2</comment>
  96199. </bits>
  96200. </reg>
  96201. <reg name="otdoa_id20_para1" protect="rw">
  96202. <bits access="rw" name="sf_num_id20" pos="21:18" rst="0">
  96203. <comment>occasionID200~120ID20SF_ID20</comment>
  96204. </bits>
  96205. <bits access="rw" name="sf_id20" pos="17:14" rst="0">
  96206. <comment>occasionID2010~9</comment>
  96207. </bits>
  96208. <bits access="rw" name="prsnid_id20" pos="13:2" rst="0">
  96209. <comment>PRSID20ID 0~4095</comment>
  96210. </bits>
  96211. <bits access="rw" name="tx_num_id20" pos="1" rst="0">
  96212. <comment>ID20
  96213. 012
  96214. 14</comment>
  96215. </bits>
  96216. <bits access="rw" name="cp_index_id20" pos="0" rst="0">
  96217. <comment>ID20CP
  96218. 0CP
  96219. 1CP</comment>
  96220. </bits>
  96221. </reg>
  96222. <reg name="otdoa_id20_para2" protect="rw">
  96223. <bits access="rw" name="certain_id20" pos="29:13" rst="0">
  96224. <comment>ID20certain-8192x3x2 TS ~8192x3x2TS1</comment>
  96225. </bits>
  96226. <bits access="rw" name="uncertain_id20" pos="12:0" rst="0">
  96227. <comment>ID20uncertain0 TS ~1024x3x2TS2</comment>
  96228. </bits>
  96229. </reg>
  96230. <reg name="otdoa_id21_para1" protect="rw">
  96231. <bits access="rw" name="sf_num_id21" pos="21:18" rst="0">
  96232. <comment>occasionID210~120ID21SF_ID21</comment>
  96233. </bits>
  96234. <bits access="rw" name="sf_id21" pos="17:14" rst="0">
  96235. <comment>occasionID2110~9</comment>
  96236. </bits>
  96237. <bits access="rw" name="prsnid_id21" pos="13:2" rst="0">
  96238. <comment>PRSID21ID 0~4095</comment>
  96239. </bits>
  96240. <bits access="rw" name="tx_num_id21" pos="1" rst="0">
  96241. <comment>ID21
  96242. 012
  96243. 14</comment>
  96244. </bits>
  96245. <bits access="rw" name="cp_index_id21" pos="0" rst="0">
  96246. <comment>ID21CP
  96247. 0CP
  96248. 1CP</comment>
  96249. </bits>
  96250. </reg>
  96251. <reg name="otdoa_id21_para2" protect="rw">
  96252. <bits access="rw" name="certain_id21" pos="29:13" rst="0">
  96253. <comment>ID21certain-8192x3x2 TS ~8192x3x2TS1</comment>
  96254. </bits>
  96255. <bits access="rw" name="uncertain_id21" pos="12:0" rst="0">
  96256. <comment>ID21uncertain0 TS ~1024x3x2TS2</comment>
  96257. </bits>
  96258. </reg>
  96259. <reg name="otdoa_id22_para1" protect="rw">
  96260. <bits access="rw" name="sf_num_id22" pos="21:18" rst="0">
  96261. <comment>occasionID220~120ID22SF_ID22</comment>
  96262. </bits>
  96263. <bits access="rw" name="sf_id22" pos="17:14" rst="0">
  96264. <comment>occasionID2210~9</comment>
  96265. </bits>
  96266. <bits access="rw" name="prsnid_id22" pos="13:2" rst="0">
  96267. <comment>PRSID22ID 0~4095</comment>
  96268. </bits>
  96269. <bits access="rw" name="tx_num_id22" pos="1" rst="0">
  96270. <comment>ID22
  96271. 012
  96272. 14</comment>
  96273. </bits>
  96274. <bits access="rw" name="cp_index_id22" pos="0" rst="0">
  96275. <comment>ID22CP
  96276. 0CP
  96277. 1CP</comment>
  96278. </bits>
  96279. </reg>
  96280. <reg name="otdoa_id22_para2" protect="rw">
  96281. <bits access="rw" name="certain_id22" pos="29:13" rst="0">
  96282. <comment>ID22certain-8192x3x2 TS ~8192x3x2TS1</comment>
  96283. </bits>
  96284. <bits access="rw" name="uncertain_id22" pos="12:0" rst="0">
  96285. <comment>ID22uncertain0 TS ~1024x3x2TS2</comment>
  96286. </bits>
  96287. </reg>
  96288. <reg name="otdoa_id23_para1" protect="rw">
  96289. <bits access="rw" name="sf_num_id23" pos="21:18" rst="0">
  96290. <comment>occasionID230~120ID23SF_ID23</comment>
  96291. </bits>
  96292. <bits access="rw" name="sf_id23" pos="17:14" rst="0">
  96293. <comment>occasionID2310~9</comment>
  96294. </bits>
  96295. <bits access="rw" name="prsnid_id23" pos="13:2" rst="0">
  96296. <comment>PRSID23ID 0~4095</comment>
  96297. </bits>
  96298. <bits access="rw" name="tx_num_id23" pos="1" rst="0">
  96299. <comment>ID23
  96300. 012
  96301. 14</comment>
  96302. </bits>
  96303. <bits access="rw" name="cp_index_id23" pos="0" rst="0">
  96304. <comment>ID23CP
  96305. 0CP
  96306. 1CP</comment>
  96307. </bits>
  96308. </reg>
  96309. <reg name="otdoa_id23_para2" protect="rw">
  96310. <bits access="rw" name="certain_id23" pos="29:13" rst="0">
  96311. <comment>ID23certain-8192x3x2 TS ~8192x3x2TS1</comment>
  96312. </bits>
  96313. <bits access="rw" name="uncertain_id23" pos="12:0" rst="0">
  96314. <comment>ID23uncertain0 TS ~1024x3x2TS2</comment>
  96315. </bits>
  96316. </reg>
  96317. <reg name="otdoa_id24_para1" protect="rw">
  96318. <bits access="rw" name="sf_num_id24" pos="21:18" rst="0">
  96319. <comment>occasionID240~120ID24SF_ID24</comment>
  96320. </bits>
  96321. <bits access="rw" name="sf_id24" pos="17:14" rst="0">
  96322. <comment>occasionID2410~9</comment>
  96323. </bits>
  96324. <bits access="rw" name="prsnid_id24" pos="13:2" rst="0">
  96325. <comment>PRSID24ID 0~4095</comment>
  96326. </bits>
  96327. <bits access="rw" name="tx_num_id24" pos="1" rst="0">
  96328. <comment>ID24
  96329. 012
  96330. 14</comment>
  96331. </bits>
  96332. <bits access="rw" name="cp_index_id24" pos="0" rst="0">
  96333. <comment>ID24CP
  96334. 0CP
  96335. 1CP</comment>
  96336. </bits>
  96337. </reg>
  96338. <reg name="otdoa_id24_para2" protect="rw">
  96339. <bits access="rw" name="certain_id24" pos="29:13" rst="0">
  96340. <comment>ID24certain-8192x3x2 TS ~8192x3x2TS1</comment>
  96341. </bits>
  96342. <bits access="rw" name="uncertain_id24" pos="12:0" rst="0">
  96343. <comment>ID24uncertain0 TS ~1024x3x2TS2</comment>
  96344. </bits>
  96345. </reg>
  96346. <reg name="otdoa_fft_para" protect="rw">
  96347. <bits access="rw" name="fft_cut9" pos="17:16" rst="0">
  96348. <comment>FFT9</comment>
  96349. </bits>
  96350. <bits access="rw" name="fft_cut8" pos="15:14" rst="0">
  96351. <comment>FFT8</comment>
  96352. </bits>
  96353. <bits access="rw" name="fft_cut7" pos="13:12" rst="0">
  96354. <comment>FFT7</comment>
  96355. </bits>
  96356. <bits access="rw" name="fft_cut6" pos="11:10" rst="0">
  96357. <comment>FFT6</comment>
  96358. </bits>
  96359. <bits access="rw" name="fft_cut5" pos="9:8" rst="0">
  96360. <comment>FFT5</comment>
  96361. </bits>
  96362. <bits access="rw" name="fft_cut4" pos="7:6" rst="0">
  96363. <comment>FFT4</comment>
  96364. </bits>
  96365. <bits access="rw" name="fft_cut3" pos="5:4" rst="0">
  96366. <comment>FFT3</comment>
  96367. </bits>
  96368. <bits access="rw" name="fft_cut2" pos="3:2" rst="0">
  96369. <comment>FFT2</comment>
  96370. </bits>
  96371. <bits access="rw" name="fft_cut1" pos="1:0" rst="0">
  96372. <comment>FFT1
  96373. 2b00:bit[29:14]
  96374. 2b01:bit[30:15]
  96375. 2b10:bit[31:16]
  96376. 2b11:bit[32:17]</comment>
  96377. </bits>
  96378. </reg>
  96379. <reg name="otdoa_ifft_para" protect="rw">
  96380. <bits access="rw" name="ifft_cut8" pos="15:14" rst="0">
  96381. <comment>IFFT8</comment>
  96382. </bits>
  96383. <bits access="rw" name="ifft_cut7" pos="13:12" rst="0">
  96384. <comment>IFFT7</comment>
  96385. </bits>
  96386. <bits access="rw" name="ifft_cut6" pos="11:10" rst="0">
  96387. <comment>IFFT6</comment>
  96388. </bits>
  96389. <bits access="rw" name="ifft_cut5" pos="9:8" rst="0">
  96390. <comment>IFFT5</comment>
  96391. </bits>
  96392. <bits access="rw" name="ifft_cut4" pos="7:6" rst="0">
  96393. <comment>IFFT4</comment>
  96394. </bits>
  96395. <bits access="rw" name="ifft_cut3" pos="5:4" rst="0">
  96396. <comment>IFFT3</comment>
  96397. </bits>
  96398. <bits access="rw" name="ifft_cut2" pos="3:2" rst="0">
  96399. <comment>IFFT2</comment>
  96400. </bits>
  96401. <bits access="rw" name="ifft_cut1" pos="1:0" rst="0">
  96402. <comment>FFT
  96403. 2b00:bit[29:14]
  96404. 2b01:bit[30:15]
  96405. 2b10:bit[31:16]
  96406. 2b11:bit[32:17]</comment>
  96407. </bits>
  96408. </reg>
  96409. <reg name="otdoa_inter_ifft_para" protect="rw">
  96410. <bits access="rw" name="max_sel" pos="19" rst="0">
  96411. <comment>0phasemax,2
  96412. 1phasephasemax,2</comment>
  96413. </bits>
  96414. <bits access="rw" name="inter_peak_zone" pos="18:14" rst="0">
  96415. <comment>0~31,3</comment>
  96416. </bits>
  96417. <bits access="rw" name="inter_ifft_cut7" pos="13:12" rst="0">
  96418. <comment>IFFT7</comment>
  96419. </bits>
  96420. <bits access="rw" name="inter_ifft_cut6" pos="11:10" rst="0">
  96421. <comment>IFFT6</comment>
  96422. </bits>
  96423. <bits access="rw" name="inter_ifft_cut5" pos="9:8" rst="0">
  96424. <comment>IFFT5</comment>
  96425. </bits>
  96426. <bits access="rw" name="inter_ifft_cut4" pos="7:6" rst="0">
  96427. <comment>IFFT4</comment>
  96428. </bits>
  96429. <bits access="rw" name="inter_ifft_cut3" pos="5:4" rst="0">
  96430. <comment>IFFT3</comment>
  96431. </bits>
  96432. <bits access="rw" name="inter_ifft_cut2" pos="3:2" rst="0">
  96433. <comment>IFFT2</comment>
  96434. </bits>
  96435. <bits access="rw" name="inter_ifft_cut1" pos="1:0" rst="0">
  96436. <comment>FFT
  96437. 2b00:bit[29:14]
  96438. 2b01:bit[30:15]
  96439. 2b10:bit[31:16]
  96440. 2b11:bit[32:17]</comment>
  96441. </bits>
  96442. </reg>
  96443. <reg name="otdoa_signal_noise_zone" protect="rw">
  96444. <bits access="rw" name="noise_zone2" pos="27:21" rst="0">
  96445. <comment>0~32x2,2/3</comment>
  96446. </bits>
  96447. <bits access="rw" name="noise_zone1" pos="20:14" rst="0">
  96448. <comment>0~32x2,2/3</comment>
  96449. </bits>
  96450. <bits access="rw" name="signal_zone2" pos="13:7" rst="0">
  96451. <comment>0~32x2,1</comment>
  96452. </bits>
  96453. <bits access="rw" name="signal_zone1" pos="6:0" rst="0">
  96454. <comment>0~32x2,1</comment>
  96455. </bits>
  96456. </reg>
  96457. <reg name="int_ctrl" protect="rw">
  96458. <bits access="rw" name="irq_en" pos="0" rst="0">
  96459. <comment>0:
  96460. 1:</comment>
  96461. </bits>
  96462. </reg>
  96463. <reg name="otdoa_start" protect="rw">
  96464. <bits access="rw" name="otdoa_start_otdoa_start" pos="0" rst="0">
  96465. <comment>0: OTDOA/
  96466. 1: OTDOA</comment>
  96467. </bits>
  96468. </reg>
  96469. <reg name="int_flag" protect="rw">
  96470. <bits access="rc" name="int_flag_int_flag" pos="0" rst="0">
  96471. <comment>bit type is changed from rw1c to rc.
  96472. 1:
  96473. 0:</comment>
  96474. </bits>
  96475. </reg>
  96476. <reg name="otdoa2rx_mem_error_flag" protect="r">
  96477. <bits access="r" name="otdoa2rx_mem1to8_error_flag" pos="7:0" rst="0">
  96478. <comment>Bit[n]:
  96479. 0:
  96480. 1:
  96481. Bit01
  96482. Bit78</comment>
  96483. </bits>
  96484. </reg>
  96485. <reg name="otdoa_debug_ctrl_state" protect="r">
  96486. <bits access="r" name="otdoa_debug_ctrl_state_otdoa_debug_ctrl_state" pos="27:0" rst="1">
  96487. <comment/>
  96488. </bits>
  96489. </reg>
  96490. <reg name="otdoa_debug_memreq_axidma_state" protect="r">
  96491. <bits access="r" name="otdoa_debug_axidma_state" pos="12:8" rst="1">
  96492. <comment>axidma</comment>
  96493. </bits>
  96494. <bits access="r" name="otdoa_debug_memreq_state" pos="7:0" rst="1">
  96495. <comment>OTDOA</comment>
  96496. </bits>
  96497. </reg>
  96498. <hole size="192"/>
  96499. <reg name="pbmeas_sample0" protect="rw">
  96500. <bits access="rw" name="subframe_offset" pos="29:16" rst="0">
  96501. <comment>Ts</comment>
  96502. </bits>
  96503. <bits access="rw" name="sample_offset" pos="12:0" rst="0">
  96504. <comment>AD_ON16Ts</comment>
  96505. </bits>
  96506. </reg>
  96507. <reg name="pbmeas_sample1" protect="rw">
  96508. <bits access="rw" name="sample_len" pos="12:0" rst="2048">
  96509. <comment>16Ts</comment>
  96510. </bits>
  96511. </reg>
  96512. <reg name="pbmeas_sample2" protect="rw">
  96513. <bits access="rw" name="sample_num" pos="24:20" rst="0">
  96514. <comment>IRT/AFCPDPPWR/RSSI MAX:20</comment>
  96515. </bits>
  96516. <bits access="rw" name="sample_vld" pos="19:0" rst="0">
  96517. <comment>IRT/AFC
  96518. 20bitbit
  96519. 0
  96520. 1</comment>
  96521. </bits>
  96522. </reg>
  96523. <reg name="pbmeas_phase0" protect="rw">
  96524. <bits access="rw" name="phase_irt_num" pos="18:15" rst="7">
  96525. <comment>IRTPHASE</comment>
  96526. </bits>
  96527. <bits access="rw" name="phase_irt_step" pos="14:9" rst="19">
  96528. <comment>IRTPHASE16Ts</comment>
  96529. </bits>
  96530. <bits access="rw" name="phase_irt_offset" pos="8:0" rst="192">
  96531. <comment>IRT(-256~25516TsOFFSET)</comment>
  96532. </bits>
  96533. </reg>
  96534. <reg name="pbmeas_phase1" protect="rw">
  96535. <bits access="rw" name="phase_afc_offset" pos="12:0" rst="0">
  96536. <comment>AFC-4096~2095TsOFFSET</comment>
  96537. </bits>
  96538. </reg>
  96539. <reg name="pbmeas_agc" protect="rw">
  96540. <bits access="rw" name="agc" pos="9:0" rst="0">
  96541. <comment>xAGC</comment>
  96542. </bits>
  96543. </reg>
  96544. <reg name="pbmeas_agc0" protect="rw">
  96545. <bits access="rw" name="agc2" pos="29:20" rst="0">
  96546. <comment>2AGC</comment>
  96547. </bits>
  96548. <bits access="rw" name="agc1" pos="19:10" rst="0">
  96549. <comment>1AGC</comment>
  96550. </bits>
  96551. <bits access="rw" name="agc0" pos="9:0" rst="0">
  96552. <comment>0AGC</comment>
  96553. </bits>
  96554. </reg>
  96555. <reg name="pbmeas_agc1" protect="rw">
  96556. <bits access="rw" name="agc5" pos="29:20" rst="0">
  96557. <comment>5AGC</comment>
  96558. </bits>
  96559. <bits access="rw" name="agc4" pos="19:10" rst="0">
  96560. <comment>4AGC</comment>
  96561. </bits>
  96562. <bits access="rw" name="agc3" pos="9:0" rst="0">
  96563. <comment>3AGC</comment>
  96564. </bits>
  96565. </reg>
  96566. <reg name="pbmeas_agc2" protect="rw">
  96567. <bits access="rw" name="agc8" pos="29:20" rst="0">
  96568. <comment>8AGC</comment>
  96569. </bits>
  96570. <bits access="rw" name="agc7" pos="19:10" rst="0">
  96571. <comment>7AGC</comment>
  96572. </bits>
  96573. <bits access="rw" name="agc6" pos="9:0" rst="0">
  96574. <comment>6AGC</comment>
  96575. </bits>
  96576. </reg>
  96577. <reg name="pbmeas_agc3" protect="rw">
  96578. <bits access="rw" name="agc11" pos="29:20" rst="0">
  96579. <comment>11AGC</comment>
  96580. </bits>
  96581. <bits access="rw" name="agc10" pos="19:10" rst="0">
  96582. <comment>10AGC</comment>
  96583. </bits>
  96584. <bits access="rw" name="agc9" pos="9:0" rst="0">
  96585. <comment>9AGC</comment>
  96586. </bits>
  96587. </reg>
  96588. <reg name="pbmeas_agc4" protect="rw">
  96589. <bits access="rw" name="agc14" pos="29:20" rst="0">
  96590. <comment>14AGC</comment>
  96591. </bits>
  96592. <bits access="rw" name="agc13" pos="19:10" rst="0">
  96593. <comment>13AGC</comment>
  96594. </bits>
  96595. <bits access="rw" name="agc12" pos="9:0" rst="0">
  96596. <comment>12AGC</comment>
  96597. </bits>
  96598. </reg>
  96599. <reg name="pbmeas_agc5" protect="rw">
  96600. <bits access="rw" name="agc17" pos="29:20" rst="0">
  96601. <comment>17AGC</comment>
  96602. </bits>
  96603. <bits access="rw" name="agc16" pos="19:10" rst="0">
  96604. <comment>16AGC</comment>
  96605. </bits>
  96606. <bits access="rw" name="agc15" pos="9:0" rst="0">
  96607. <comment>15AGC</comment>
  96608. </bits>
  96609. </reg>
  96610. <reg name="pbmeas_agc6" protect="rw">
  96611. <bits access="rw" name="agc19" pos="19:10" rst="0">
  96612. <comment>19AGC</comment>
  96613. </bits>
  96614. <bits access="rw" name="agc18" pos="9:0" rst="0">
  96615. <comment>18AGC</comment>
  96616. </bits>
  96617. </reg>
  96618. <reg name="pbmeas_mib" protect="rw">
  96619. <bits access="rw" name="sample_pat" pos="22" rst="0">
  96620. <comment>0: 0
  96621. 1FDD90TDD05</comment>
  96622. </bits>
  96623. <bits access="rw" name="subfn5_ind" pos="21" rst="0">
  96624. <comment>5
  96625. 05
  96626. 15</comment>
  96627. </bits>
  96628. <bits access="rw" name="sfn" pos="20:11" rst="0">
  96629. <comment>40MS</comment>
  96630. </bits>
  96631. <bits access="rw" name="mib_sib1" pos="10:6" rst="0">
  96632. <comment>schedulingInfoSIB1-BR-r13</comment>
  96633. </bits>
  96634. <bits access="rw" name="mib_phi_res" pos="5:4" rst="0">
  96635. <comment>phich-Config: PHICH resource</comment>
  96636. </bits>
  96637. <bits access="rw" name="mib_phi_dur" pos="3" rst="0">
  96638. <comment>phich-Config: PHICH duration</comment>
  96639. </bits>
  96640. <bits access="rw" name="mib_bw" pos="2:0" rst="0">
  96641. <comment>dl-Bandwidth</comment>
  96642. </bits>
  96643. </reg>
  96644. <reg name="pbmeas_sys" protect="rw">
  96645. <bits access="rw" name="tx_sel" pos="19:18" rst="0">
  96646. <comment>PORT
  96647. 0: 2PORT0PORT14PORT0PORT1PORT2PORT3
  96648. 1: PORT0
  96649. 2: PORT1</comment>
  96650. </bits>
  96651. <bits access="rw" name="tx_ant" pos="17:16" rst="0">
  96652. <comment>0:1
  96653. 1:2
  96654. 2:4</comment>
  96655. </bits>
  96656. <bits access="rw" name="cell_id" pos="15:7" rst="0">
  96657. <comment>ID0~504</comment>
  96658. </bits>
  96659. <bits access="rw" name="pbch_rep" pos="6" rst="0">
  96660. <comment>PBCH
  96661. 0:
  96662. 1:</comment>
  96663. </bits>
  96664. <bits access="rw" name="cp_ind" pos="5" rst="0">
  96665. <comment>CP
  96666. 0: NORMAL CP
  96667. 1: EXTEND CP</comment>
  96668. </bits>
  96669. <bits access="rw" name="fdd_tdd" pos="4" rst="0">
  96670. <comment>FDD/TDD
  96671. 0: TDD
  96672. 1: FDD</comment>
  96673. </bits>
  96674. <bits access="rw" name="tx_ant_afc" pos="3:2" rst="0">
  96675. <comment>AFC
  96676. 0: 1
  96677. 1: 2
  96678. 2: 4</comment>
  96679. </bits>
  96680. <bits access="rw" name="tx_ant_irt" pos="1:0" rst="0">
  96681. <comment>IRT
  96682. 0: 1
  96683. 1: 2
  96684. 2: 4</comment>
  96685. </bits>
  96686. </reg>
  96687. <reg name="pbmeas_arg0" protect="rw">
  96688. <bits access="rw" name="irt_max_sel" pos="17" rst="0">
  96689. <comment>IRT
  96690. 0
  96691. 1SCALE</comment>
  96692. </bits>
  96693. <bits access="rw" name="irt_inter_range" pos="16:12" rst="15">
  96694. <comment>IRT0~31</comment>
  96695. </bits>
  96696. <bits access="rw" name="irt_signal_sel" pos="11" rst="0">
  96697. <comment>IRTSCALE
  96698. 0
  96699. 1</comment>
  96700. </bits>
  96701. <bits access="rw" name="irt_signal_range" pos="10:5" rst="30">
  96702. <comment>IRT0~63</comment>
  96703. </bits>
  96704. <bits access="rw" name="afc_ofdm_inter" pos="4:3" rst="3">
  96705. <comment>AFCOFDM
  96706. 0:1
  96707. 1:2
  96708. 2:3
  96709. 3:4</comment>
  96710. </bits>
  96711. <bits access="rw" name="afc_freq_block" pos="2:0" rst="2">
  96712. <comment>AFC
  96713. 0: 1RE
  96714. 1: 1PRB
  96715. 2: 2PRB
  96716. 3: 3PRB
  96717. 4: 6PRB</comment>
  96718. </bits>
  96719. </reg>
  96720. <reg name="pbmeas_arg1" protect="rw">
  96721. <bits access="rw" name="irt_noise_th" pos="31:16" rst="0">
  96722. <comment/>
  96723. </bits>
  96724. <bits access="rw" name="irt_signal_th" pos="15:0" rst="32767">
  96725. <comment/>
  96726. </bits>
  96727. </reg>
  96728. <reg name="pbmeas_int_en" protect="rw">
  96729. <bits access="rw" name="int_en" pos="0" rst="0">
  96730. <comment>0
  96731. 1</comment>
  96732. </bits>
  96733. </reg>
  96734. <reg name="pbmeas_start" protect="rw">
  96735. <bits access="rw" name="afc_first" pos="5" rst="1">
  96736. <comment>AFC
  96737. 0FIRST
  96738. 1FIRST</comment>
  96739. </bits>
  96740. <bits access="rw" name="irt_first" pos="4" rst="1">
  96741. <comment>IRT
  96742. 0FIRST
  96743. 1FIRST</comment>
  96744. </bits>
  96745. <bits access="rw" name="afc_en" pos="3" rst="0">
  96746. <comment>AFC
  96747. 0
  96748. 1</comment>
  96749. </bits>
  96750. <bits access="rw" name="irt_en" pos="2" rst="0">
  96751. <comment>IRT
  96752. 0
  96753. 1</comment>
  96754. </bits>
  96755. <bits access="rw" name="rec_en" pos="1" rst="0">
  96756. <comment>0
  96757. 1</comment>
  96758. </bits>
  96759. <bits access="rw" name="pbmeas_start_pbmeas_start" pos="0" rst="0">
  96760. <comment>PBMEAS
  96761. 0
  96762. 1</comment>
  96763. </bits>
  96764. </reg>
  96765. <reg name="pbmeas_irt_out" protect="r">
  96766. <bits access="r" name="irt_out" pos="15:0" rst="0">
  96767. <comment>IRT_OUTTs</comment>
  96768. </bits>
  96769. </reg>
  96770. <reg name="pbmeas_tsinr_lout" protect="r">
  96771. <bits access="r" name="sinr_out" pos="31:0" rst="0">
  96772. <comment>SINR</comment>
  96773. </bits>
  96774. </reg>
  96775. <reg name="pbmeas_tsinr_dbout" protect="r">
  96776. <bits access="r" name="sinr_out" pos="15:0" rst="0">
  96777. <comment>SINRDB</comment>
  96778. </bits>
  96779. </reg>
  96780. <reg name="pbmeas_tpwr_out" protect="r">
  96781. <bits access="r" name="pwr_out" pos="15:0" rst="0">
  96782. <comment>POWER</comment>
  96783. </bits>
  96784. </reg>
  96785. <reg name="pbmeas_tpwr_agc_out" protect="r">
  96786. <bits access="r" name="pwr_agc" pos="9:0" rst="0">
  96787. <comment>POWER</comment>
  96788. </bits>
  96789. </reg>
  96790. <reg name="pbmeas_afc_out" protect="r">
  96791. <bits access="r" name="afc_out" pos="15:0" rst="0">
  96792. <comment>AFC_OUTHz</comment>
  96793. </bits>
  96794. </reg>
  96795. <reg name="pbmeas_sigma_out" protect="r">
  96796. <bits access="r" name="sigma_out" pos="31:0" rst="0">
  96797. <comment>SIGMA</comment>
  96798. </bits>
  96799. </reg>
  96800. <reg name="pbmeas_fpwr_out" protect="r">
  96801. <bits access="r" name="pwr_out" pos="15:0" rst="0">
  96802. <comment>POWER</comment>
  96803. </bits>
  96804. </reg>
  96805. <reg name="pbmeas_fsinr_lout" protect="r">
  96806. <bits access="r" name="sinr_out" pos="31:0" rst="0">
  96807. <comment>SINR</comment>
  96808. </bits>
  96809. </reg>
  96810. <reg name="pbmeas_fsinr_dbout" protect="r">
  96811. <bits access="r" name="sinr_out" pos="15:0" rst="0">
  96812. <comment>SINRDB</comment>
  96813. </bits>
  96814. </reg>
  96815. <reg name="pbmeas_rssi0_out" protect="r">
  96816. <bits access="r" name="rssi_out" pos="15:0" rst="0">
  96817. <comment>RSSI(DBQ4)</comment>
  96818. </bits>
  96819. </reg>
  96820. <reg name="pbmeas_rssi1_out" protect="r">
  96821. <bits access="r" name="rssi_out" pos="15:0" rst="0">
  96822. <comment>RSSI(DBQ4)</comment>
  96823. </bits>
  96824. </reg>
  96825. <reg name="pbmeas_rsrq_out" protect="r">
  96826. <bits access="r" name="rssi_out" pos="15:0" rst="0">
  96827. <comment>RSSI(DBQ4)</comment>
  96828. </bits>
  96829. </reg>
  96830. <reg name="pbmeas_agc_out" protect="r">
  96831. <bits access="r" name="agc_out" pos="9:0" rst="0">
  96832. <comment>AGC_OUT(DBQ0)</comment>
  96833. </bits>
  96834. </reg>
  96835. <reg name="pbmeas_afc_acci0" protect="r">
  96836. <bits access="r" name="afc_accil" pos="31:0" rst="0">
  96837. <comment>AFCAFC</comment>
  96838. </bits>
  96839. </reg>
  96840. <reg name="pbmeas_afc_acci1" protect="r">
  96841. <bits access="r" name="afc_accih" pos="15:0" rst="0">
  96842. <comment>AFCAFC</comment>
  96843. </bits>
  96844. </reg>
  96845. <reg name="pbmeas_afc_accq0" protect="r">
  96846. <bits access="r" name="afc_accql" pos="31:0" rst="0">
  96847. <comment>AFCAFC</comment>
  96848. </bits>
  96849. </reg>
  96850. <reg name="pbmeas_afc_accq1" protect="r">
  96851. <bits access="r" name="afc_accqh" pos="15:0" rst="0">
  96852. <comment>AFCAFC</comment>
  96853. </bits>
  96854. </reg>
  96855. <reg name="pbmeas_int_flag" protect="rw">
  96856. <bits access="rc" name="err_memreq" pos="4" rst="0">
  96857. <comment>bit type is changed from rw1c to rc.
  96858. MEM</comment>
  96859. </bits>
  96860. <bits access="rc" name="err_memover" pos="3" rst="0">
  96861. <comment>bit type is changed from rw1c to rc.
  96862. MEM</comment>
  96863. </bits>
  96864. <bits access="rc" name="int_afc_flag" pos="2" rst="0">
  96865. <comment>bit type is changed from rw1c to rc.
  96866. 1: AFC
  96867. 0:</comment>
  96868. </bits>
  96869. <bits access="rc" name="int_irt_flag" pos="1" rst="0">
  96870. <comment>bit type is changed from rw1c to rc.
  96871. 1: IRT
  96872. 0:</comment>
  96873. </bits>
  96874. <bits access="rc" name="int_rec_flag" pos="0" rst="0">
  96875. <comment>bit type is changed from rw1c to rc.
  96876. 1:REC
  96877. 0:</comment>
  96878. </bits>
  96879. </reg>
  96880. <reg name="pbmeas_mfact0" protect="rw">
  96881. <bits access="rw" name="afc_rsrp_mfact" pos="31:16" rst="0">
  96882. <comment>AFC RSRP
  96883. 16Q4</comment>
  96884. </bits>
  96885. <bits access="rw" name="irt_rsrp_mfact" pos="15:0" rst="0">
  96886. <comment>IRT RSRP
  96887. 16Q4</comment>
  96888. </bits>
  96889. </reg>
  96890. <reg name="pbmeas_mfact1" protect="rw">
  96891. <bits access="rw" name="afc_rsrq_mfact" pos="31:16" rst="0">
  96892. <comment>AFC RSRQ
  96893. 16Q4RSRPRSSI</comment>
  96894. </bits>
  96895. <bits access="rw" name="afc_rssi_mfact" pos="15:0" rst="0">
  96896. <comment>AFC RSSI
  96897. 16Q4</comment>
  96898. </bits>
  96899. </reg>
  96900. <reg name="pbmeas_debug_ctrl_state" protect="r">
  96901. <bits access="r" name="pbmeas_debug_ctrl_state_pbmeas_debug_ctrl_state" pos="11:0" rst="1">
  96902. <comment>PBMEAS</comment>
  96903. </bits>
  96904. </reg>
  96905. <reg name="pbmeas_debug_first_pos" protect="r">
  96906. <bits access="r" name="first_mem" pos="15:13" rst="0">
  96907. <comment>MEM</comment>
  96908. </bits>
  96909. <bits access="r" name="first_addr" pos="12:0" rst="0">
  96910. <comment>ADDR</comment>
  96911. </bits>
  96912. </reg>
  96913. <reg name="pbmeas_debug_first_dat" protect="r">
  96914. <bits access="r" name="first_dat" pos="23:0" rst="0">
  96915. <comment/>
  96916. </bits>
  96917. </reg>
  96918. <reg name="pbmeas_debug_first_local" protect="r">
  96919. <bits access="r" name="first_local" pos="23:0" rst="0">
  96920. <comment/>
  96921. </bits>
  96922. </reg>
  96923. <reg name="pbmeas_debug_irt_fine" protect="r">
  96924. <bits access="r" name="irt_fine" pos="7:0" rst="0">
  96925. <comment>IRT</comment>
  96926. </bits>
  96927. </reg>
  96928. <reg name="pbmeas_debug_irt_crud" protect="r">
  96929. <bits access="r" name="irt_crud" pos="10:0" rst="0">
  96930. <comment>IRT</comment>
  96931. </bits>
  96932. </reg>
  96933. <reg name="pbmeas_debug_irt_phase" protect="r">
  96934. <bits access="r" name="irt_phase" pos="3:0" rst="0">
  96935. <comment>IRTPHASE</comment>
  96936. </bits>
  96937. </reg>
  96938. <hole size="28960"/>
  96939. <reg name="result" protect="rw">
  96940. <bits access="rw" name="result_result" pos="31:0" rst="0">
  96941. </bits>
  96942. </reg>
  96943. <hole size="491488"/>
  96944. <reg name="pwr" protect="rw">
  96945. <bits access="rw" name="pwr_pwr" pos="31:0" rst="0">
  96946. </bits>
  96947. </reg>
  96948. <hole size="524256"/>
  96949. <reg name="slot0_gold" protect="rw">
  96950. <bits access="rw" name="slot0_gold_slot0_gold" pos="31:0" rst="0">
  96951. </bits>
  96952. </reg>
  96953. <hole size="524256"/>
  96954. <reg name="slot1_gold" protect="rw">
  96955. <bits access="rw" name="slot1_gold_slot1_gold" pos="31:0" rst="0">
  96956. </bits>
  96957. </reg>
  96958. <hole size="524256"/>
  96959. <reg name="slot0_rs" protect="rw">
  96960. <bits access="rw" name="slot0_rs_slot0_rs" pos="31:0" rst="0">
  96961. </bits>
  96962. </reg>
  96963. <hole size="524256"/>
  96964. <reg name="slot1_rs" protect="rw">
  96965. <bits access="rw" name="slot1_rs_slot1_rs" pos="31:0" rst="0">
  96966. </bits>
  96967. </reg>
  96968. </module>
  96969. </archive>
  96970. <archive relative="cp_lte_rxcapt.xml">
  96971. <module category="LTE_SYS" name="CP_LTE_RXCAPT">
  96972. <reg name="rxcapt_en" protect="rw">
  96973. <bits access="rw" name="rxcapt_en" pos="0" rst="0">
  96974. <comment>0
  96975. 1</comment>
  96976. </bits>
  96977. </reg>
  96978. <reg name="capt_cfg" protect="rw">
  96979. <bits access="rw" name="capt_dump" pos="4" rst="0">
  96980. <comment>Dump
  96981. 1
  96982. 0</comment>
  96983. </bits>
  96984. <bits access="rw" name="capt_tx" pos="3" rst="0">
  96985. <comment>Tx Trace
  96986. 1
  96987. 0</comment>
  96988. </bits>
  96989. <bits access="rw" name="capt_iddet_offline" pos="2" rst="0">
  96990. <comment>IDDET offline
  96991. 1
  96992. 0</comment>
  96993. </bits>
  96994. <bits access="rw" name="capt_odtoa" pos="1" rst="0">
  96995. <comment>ODTOA
  96996. 1
  96997. 0</comment>
  96998. </bits>
  96999. <bits access="rw" name="capt_rx" pos="0" rst="0">
  97000. <comment>RX
  97001. 1
  97002. 0</comment>
  97003. </bits>
  97004. </reg>
  97005. <reg name="fill_cfg1" protect="rw">
  97006. <bits access="rw" name="fill_len" pos="31:4" rst="268435455">
  97007. <comment/>
  97008. </bits>
  97009. <bits access="rw" name="fill_dl_offline" pos="3" rst="0">
  97010. <comment>DL offline
  97011. 1
  97012. 0</comment>
  97013. </bits>
  97014. <bits access="rw" name="fill_div" pos="2:0" rst="0">
  97015. <comment>3h0:420M/15M
  97016. 3h1:810M
  97017. 3h2:165M
  97018. 3h3:323M
  97019. 3h4:641.4M
  97020. Others: 4</comment>
  97021. </bits>
  97022. </reg>
  97023. <reg name="fill_cfg2" protect="rw">
  97024. <bits access="rw" name="fill_len" pos="31:4" rst="268435455">
  97025. <comment/>
  97026. </bits>
  97027. <bits access="rw" name="fill_iddet_offline" pos="3" rst="0">
  97028. <comment>IDDET offline
  97029. 1
  97030. 0</comment>
  97031. </bits>
  97032. <bits access="rw" name="fill_div" pos="2:0" rst="0">
  97033. <comment>3h0:420M/15M
  97034. 3h1:810M
  97035. 3h2:165M
  97036. 3h3:323M
  97037. 3h4:641.4M
  97038. Others: 4</comment>
  97039. </bits>
  97040. </reg>
  97041. <reg name="dma_req_en" protect="rw">
  97042. <bits access="rw" name="dma_req7_en" pos="7" rst="0">
  97043. <comment>DMA_req7
  97044. 1
  97045. 0</comment>
  97046. </bits>
  97047. <bits access="rw" name="dma_req6_en" pos="6" rst="0">
  97048. <comment>DMA_req6
  97049. 1
  97050. 0</comment>
  97051. </bits>
  97052. <bits access="rw" name="dma_req5_en" pos="5" rst="0">
  97053. <comment>DMA_req5
  97054. 1
  97055. 0</comment>
  97056. </bits>
  97057. <bits access="rw" name="dma_req4_en" pos="4" rst="0">
  97058. <comment>DMA_req4
  97059. 1
  97060. 0</comment>
  97061. </bits>
  97062. <bits access="rw" name="dma_req3_en" pos="3" rst="0">
  97063. <comment>DMA_req3
  97064. 1
  97065. 0</comment>
  97066. </bits>
  97067. <bits access="rw" name="dma_req2_en" pos="2" rst="0">
  97068. <comment>DMA_req2
  97069. 1
  97070. 0</comment>
  97071. </bits>
  97072. <bits access="rw" name="dma_req1_en" pos="1" rst="0">
  97073. <comment>DMA_req1
  97074. 1
  97075. 0</comment>
  97076. </bits>
  97077. <bits access="rw" name="dma_req0_en" pos="0" rst="0">
  97078. <comment>DMA_req0
  97079. 1
  97080. 0</comment>
  97081. </bits>
  97082. </reg>
  97083. <reg name="irq_inten" protect="rw">
  97084. <bits access="rw" name="capt_err34" pos="13" rst="0">
  97085. <comment>Capt_err34
  97086. 1
  97087. 0</comment>
  97088. </bits>
  97089. <bits access="rw" name="capt_err12" pos="12" rst="0">
  97090. <comment>Capt_err12
  97091. 1
  97092. 0</comment>
  97093. </bits>
  97094. <bits access="rw" name="mem56_finish_irq" pos="10" rst="0">
  97095. <comment>Mem56 finish
  97096. 1
  97097. 0</comment>
  97098. </bits>
  97099. <bits access="rw" name="mem56_pang_irq" pos="9" rst="0">
  97100. <comment>Mem56 pang
  97101. 1
  97102. 0</comment>
  97103. </bits>
  97104. <bits access="rw" name="mem56_ping_irq" pos="8" rst="0">
  97105. <comment>Mem56 ping
  97106. 1
  97107. 0</comment>
  97108. </bits>
  97109. <bits access="rw" name="mem34_finish_irq" pos="6" rst="0">
  97110. <comment>Mem34 finish
  97111. 1
  97112. 0</comment>
  97113. </bits>
  97114. <bits access="rw" name="mem34_pang_irq" pos="5" rst="0">
  97115. <comment>Mem34 pang
  97116. 1
  97117. 0</comment>
  97118. </bits>
  97119. <bits access="rw" name="mem34_ping_irq" pos="4" rst="0">
  97120. <comment>Mem34 ping
  97121. 1
  97122. 0</comment>
  97123. </bits>
  97124. <bits access="rw" name="mem12_finish_irq" pos="2" rst="0">
  97125. <comment>Mem12 finish
  97126. 1
  97127. 0</comment>
  97128. </bits>
  97129. <bits access="rw" name="mem12_pang_irq" pos="1" rst="0">
  97130. <comment>Mem12 pang
  97131. 1
  97132. 0</comment>
  97133. </bits>
  97134. <bits access="rw" name="mem12_ping_irq" pos="0" rst="0">
  97135. <comment>Mem12 ping
  97136. 1
  97137. 0</comment>
  97138. </bits>
  97139. </reg>
  97140. <reg name="irq_inten_set" protect="rw">
  97141. <bits access="rs" name="capt_err34" pos="13" rst="0">
  97142. <comment>bit type is changed from rw1s to rs.
  97143. Capt_err34
  97144. 1
  97145. 0</comment>
  97146. </bits>
  97147. <bits access="rs" name="capt_err12" pos="12" rst="0">
  97148. <comment>bit type is changed from rw1s to rs.
  97149. Capt_err12
  97150. 1
  97151. 0</comment>
  97152. </bits>
  97153. <bits access="rs" name="mem56_finish_irq" pos="10" rst="0">
  97154. <comment>bit type is changed from rw1s to rs.
  97155. Mem56 finish
  97156. 1
  97157. 0</comment>
  97158. </bits>
  97159. <bits access="rs" name="mem56_pang_irq" pos="9" rst="0">
  97160. <comment>bit type is changed from rw1s to rs.
  97161. Mem56 pang
  97162. 1
  97163. 0</comment>
  97164. </bits>
  97165. <bits access="rs" name="mem56_ping_irq" pos="8" rst="0">
  97166. <comment>bit type is changed from rw1s to rs.
  97167. Mem56 ping
  97168. 1
  97169. 0</comment>
  97170. </bits>
  97171. <bits access="rs" name="mem34_finish_irq" pos="6" rst="0">
  97172. <comment>bit type is changed from rw1s to rs.
  97173. Mem34 finish
  97174. 1
  97175. 0</comment>
  97176. </bits>
  97177. <bits access="rs" name="mem34_pang_irq" pos="5" rst="0">
  97178. <comment>bit type is changed from rw1s to rs.
  97179. Mem34 pang
  97180. 1
  97181. 0</comment>
  97182. </bits>
  97183. <bits access="rs" name="mem34_ping_irq" pos="4" rst="0">
  97184. <comment>bit type is changed from rw1s to rs.
  97185. Mem34 ping
  97186. 1
  97187. 0</comment>
  97188. </bits>
  97189. <bits access="rs" name="mem12_finish_irq" pos="2" rst="0">
  97190. <comment>bit type is changed from rw1s to rs.
  97191. Mem12 finish
  97192. 1
  97193. 0</comment>
  97194. </bits>
  97195. <bits access="rs" name="mem12_pang_irq" pos="1" rst="0">
  97196. <comment>bit type is changed from rw1s to rs.
  97197. Mem12 pang
  97198. 1
  97199. 0</comment>
  97200. </bits>
  97201. <bits access="rs" name="mem12_ping_irq" pos="0" rst="0">
  97202. <comment>bit type is changed from rw1s to rs.
  97203. Mem12 ping
  97204. 1
  97205. 0</comment>
  97206. </bits>
  97207. </reg>
  97208. <reg name="irq_inten_clr" protect="rw">
  97209. <bits access="rc" name="capt_err34" pos="13" rst="0">
  97210. <comment>bit type is changed from rw1c to rc.
  97211. Capt_err34
  97212. 1
  97213. 0</comment>
  97214. </bits>
  97215. <bits access="rc" name="capt_err12" pos="12" rst="0">
  97216. <comment>bit type is changed from rw1c to rc.
  97217. Capt_err12
  97218. 1
  97219. 0</comment>
  97220. </bits>
  97221. <bits access="rc" name="mem56_finish_irq" pos="10" rst="0">
  97222. <comment>bit type is changed from rw1c to rc.
  97223. Mem56 finish
  97224. 1
  97225. 0</comment>
  97226. </bits>
  97227. <bits access="rc" name="mem56_pang_irq" pos="9" rst="0">
  97228. <comment>bit type is changed from rw1c to rc.
  97229. Mem56 pang
  97230. 1
  97231. 0</comment>
  97232. </bits>
  97233. <bits access="rc" name="mem56_ping_irq" pos="8" rst="0">
  97234. <comment>bit type is changed from rw1c to rc.
  97235. Mem56 ping
  97236. 1
  97237. 0</comment>
  97238. </bits>
  97239. <bits access="rc" name="mem34_finish_irq" pos="6" rst="0">
  97240. <comment>bit type is changed from rw1c to rc.
  97241. Mem34 finish
  97242. 1
  97243. 0</comment>
  97244. </bits>
  97245. <bits access="rc" name="mem34_pang_irq" pos="5" rst="0">
  97246. <comment>bit type is changed from rw1c to rc.
  97247. Mem34 pang
  97248. 1
  97249. 0</comment>
  97250. </bits>
  97251. <bits access="rc" name="mem34_ping_irq" pos="4" rst="0">
  97252. <comment>bit type is changed from rw1c to rc.
  97253. Mem34 ping
  97254. 1
  97255. 0</comment>
  97256. </bits>
  97257. <bits access="rc" name="mem12_finish_irq" pos="2" rst="0">
  97258. <comment>bit type is changed from rw1c to rc.
  97259. Mem12 finish
  97260. 1
  97261. 0</comment>
  97262. </bits>
  97263. <bits access="rc" name="mem12_pang_irq" pos="1" rst="0">
  97264. <comment>bit type is changed from rw1c to rc.
  97265. Mem12 pang
  97266. 1
  97267. 0</comment>
  97268. </bits>
  97269. <bits access="rc" name="mem12_ping_irq" pos="0" rst="0">
  97270. <comment>bit type is changed from rw1c to rc.
  97271. Mem12 ping
  97272. 1
  97273. 0</comment>
  97274. </bits>
  97275. </reg>
  97276. <reg name="irq_state" protect="rw">
  97277. <bits access="rc" name="capt_err34_irq" pos="13" rst="0">
  97278. <comment>bit type is changed from rw1c to rc.
  97279. Capt_err34</comment>
  97280. </bits>
  97281. <bits access="rc" name="capt_err12_irq" pos="12" rst="0">
  97282. <comment>bit type is changed from rw1c to rc.
  97283. Capt_err12</comment>
  97284. </bits>
  97285. <bits access="rc" name="mem56_finish_irq" pos="10" rst="0">
  97286. <comment>bit type is changed from rw1c to rc.
  97287. Mem56 finish</comment>
  97288. </bits>
  97289. <bits access="rc" name="mem56_pang_irq" pos="9" rst="0">
  97290. <comment>bit type is changed from rw1c to rc.
  97291. Mem56 pang</comment>
  97292. </bits>
  97293. <bits access="rc" name="mem56_ping_irq" pos="8" rst="0">
  97294. <comment>bit type is changed from rw1c to rc.
  97295. Mem56 ping</comment>
  97296. </bits>
  97297. <bits access="rc" name="mem34_finish_irq" pos="6" rst="0">
  97298. <comment>bit type is changed from rw1c to rc.
  97299. Mem34 finish</comment>
  97300. </bits>
  97301. <bits access="rc" name="mem34_pang_irq" pos="5" rst="0">
  97302. <comment>bit type is changed from rw1c to rc.
  97303. Mem34 pang</comment>
  97304. </bits>
  97305. <bits access="rc" name="mem34_ping_irq" pos="4" rst="0">
  97306. <comment>bit type is changed from rw1c to rc.
  97307. Mem34 ping</comment>
  97308. </bits>
  97309. <bits access="rc" name="mem12_finish_irq" pos="2" rst="0">
  97310. <comment>bit type is changed from rw1c to rc.
  97311. Mem12 finish</comment>
  97312. </bits>
  97313. <bits access="rc" name="mem12_pang_irq" pos="1" rst="0">
  97314. <comment>bit type is changed from rw1c to rc.
  97315. Mem12 pang</comment>
  97316. </bits>
  97317. <bits access="rc" name="mem12_ping_irq" pos="0" rst="0">
  97318. <comment>bit type is changed from rw1c to rc.
  97319. Mem12 ping</comment>
  97320. </bits>
  97321. </reg>
  97322. <reg name="capt_end_addr12" protect="rw">
  97323. <bits access="rw" name="end_addr12" pos="10:0" rst="1999">
  97324. <comment>Mem12</comment>
  97325. </bits>
  97326. </reg>
  97327. <reg name="capt_end_addr34" protect="rw">
  97328. <bits access="rw" name="end_addr34" pos="8:0" rst="499">
  97329. <comment>Mem34</comment>
  97330. </bits>
  97331. </reg>
  97332. <reg name="fill_end_addr12" protect="rw">
  97333. <bits access="rw" name="end_addr12" pos="10:0" rst="2047">
  97334. <comment>Mem12</comment>
  97335. </bits>
  97336. </reg>
  97337. <reg name="fill_end_addr56" protect="rw">
  97338. <bits access="rw" name="end_addr56" pos="9:0" rst="1023">
  97339. <comment>Mem56</comment>
  97340. </bits>
  97341. </reg>
  97342. <reg name="norm_ctrl" protect="rw">
  97343. <bits access="rw" name="norm_ctrl_norm_ctrl" pos="31:0" rst="0">
  97344. <comment/>
  97345. </bits>
  97346. </reg>
  97347. <reg name="state_mem12" protect="r">
  97348. <bits access="r" name="pang_sta" pos="30:28" rst="0">
  97349. <comment>Mem12 pang
  97350. 000IDLE
  97351. 001MEM
  97352. 010MEM
  97353. 011DMA
  97354. 100MEM
  97355. Others: IDLE</comment>
  97356. </bits>
  97357. <bits access="r" name="pang_addr" pos="26:16" rst="0">
  97358. <comment>Mem12 pang</comment>
  97359. </bits>
  97360. <bits access="r" name="ping_sta" pos="14:12" rst="0">
  97361. <comment>Mem12 ping
  97362. 000IDLE
  97363. 001MEM
  97364. 010MEM
  97365. 011DMA
  97366. 100MEM
  97367. Others: IDLE</comment>
  97368. </bits>
  97369. <bits access="r" name="ping_addr" pos="10:0" rst="0">
  97370. <comment>Mem12 ping</comment>
  97371. </bits>
  97372. </reg>
  97373. <reg name="state_mem34" protect="r">
  97374. <bits access="r" name="pang_sta" pos="30:28" rst="0">
  97375. <comment>Mem34 pang
  97376. 000IDLE
  97377. 001MEM
  97378. 010MEM
  97379. 011DMA
  97380. 100MEM
  97381. Others: IDLE</comment>
  97382. </bits>
  97383. <bits access="r" name="pang_addr" pos="24:16" rst="0">
  97384. <comment>Mem34 pang</comment>
  97385. </bits>
  97386. <bits access="r" name="ping_sta" pos="14:12" rst="0">
  97387. <comment>Mem34 ping
  97388. 000IDLE
  97389. 001MEM
  97390. 010MEM
  97391. 011DMA
  97392. 100MEM
  97393. Others: IDLE</comment>
  97394. </bits>
  97395. <bits access="r" name="ping_addr" pos="8:0" rst="0">
  97396. <comment>Mem34 ping</comment>
  97397. </bits>
  97398. </reg>
  97399. <reg name="state_mem56" protect="r">
  97400. <bits access="r" name="pang_sta" pos="30:28" rst="0">
  97401. <comment>Mem56 pang
  97402. 000IDLE
  97403. 001MEM
  97404. 010MEM
  97405. 011DMA
  97406. 100MEM
  97407. Others: IDLE</comment>
  97408. </bits>
  97409. <bits access="r" name="pang_addr" pos="25:16" rst="0">
  97410. <comment>Mem56 pang</comment>
  97411. </bits>
  97412. <bits access="r" name="ping_sta" pos="14:12" rst="0">
  97413. <comment>Mem56 ping
  97414. 000IDLE
  97415. 001MEM
  97416. 010MEM
  97417. 011DMA
  97418. 100MEM
  97419. Others: IDLE</comment>
  97420. </bits>
  97421. <bits access="r" name="ping_addr" pos="9:0" rst="0">
  97422. <comment>Mem56 ping</comment>
  97423. </bits>
  97424. </reg>
  97425. <reg name="state_err12" protect="r">
  97426. <bits access="r" name="which_mem" pos="24" rst="0">
  97427. <comment>Err
  97428. 0MEM12 Ping
  97429. 1MEM12 Pang</comment>
  97430. </bits>
  97431. <bits access="r" name="err_fn" pos="23:0" rst="0">
  97432. <comment>Error(ERR</comment>
  97433. </bits>
  97434. </reg>
  97435. <reg name="state_err34" protect="r">
  97436. <bits access="r" name="which_mem" pos="24" rst="0">
  97437. <comment>Err
  97438. 0MEM34 Ping
  97439. 1MEM34 Pang</comment>
  97440. </bits>
  97441. <bits access="r" name="err_fn" pos="23:0" rst="0">
  97442. <comment>Error(ERR</comment>
  97443. </bits>
  97444. </reg>
  97445. <hole size="523680"/>
  97446. <reg name="mem12_ping" protect="rw">
  97447. <bits access="rw" name="mem12_ping_1" pos="31:20" rst="0">
  97448. </bits>
  97449. <bits access="rw" name="mem12_ping_0" pos="15:4" rst="0">
  97450. </bits>
  97451. </reg>
  97452. <hole size="65504"/>
  97453. <reg name="mem12_pang" protect="rw">
  97454. <bits access="rw" name="mem12_pang_1" pos="31:20" rst="0">
  97455. </bits>
  97456. <bits access="rw" name="mem12_pang_0" pos="15:4" rst="0">
  97457. </bits>
  97458. </reg>
  97459. <hole size="65504"/>
  97460. <reg name="mem34_ping" protect="rw">
  97461. <bits access="rw" name="mem34_ping_1" pos="31:20" rst="0">
  97462. </bits>
  97463. <bits access="rw" name="mem34_ping_0" pos="15:4" rst="0">
  97464. </bits>
  97465. </reg>
  97466. <hole size="16352"/>
  97467. <reg name="mem34_pang" protect="rw">
  97468. <bits access="rw" name="mem34_pang_1" pos="31:20" rst="0">
  97469. </bits>
  97470. <bits access="rw" name="mem34_pang_0" pos="15:4" rst="0">
  97471. </bits>
  97472. </reg>
  97473. <hole size="16352"/>
  97474. <reg name="mem56_ping" protect="rw">
  97475. <bits access="rw" name="mem56_ping_1" pos="31:20" rst="0">
  97476. </bits>
  97477. <bits access="rw" name="mem56_ping_0" pos="15:4" rst="0">
  97478. </bits>
  97479. </reg>
  97480. <hole size="32736"/>
  97481. <reg name="mem56_pang" protect="rw">
  97482. <bits access="rw" name="mem56_pang_1" pos="31:20" rst="0">
  97483. </bits>
  97484. <bits access="rw" name="mem56_pang_0" pos="15:4" rst="0">
  97485. </bits>
  97486. </reg>
  97487. </module>
  97488. </archive>
  97489. <archive relative="bb2g_ram.xml">
  97490. <var name="BB2G_RAM_SIZE" value="32*4096"/>
  97491. <module category="GGE_SYS" name="BB2G_RAM">
  97492. <memory name="ram_array" size="BB2G_RAM_SIZE">
  97493. <comment>
  97494. BB2G Ram Space
  97495. <br/>
  97496. This RAM is used in 2G mode as ACC buffer and code space.
  97497. <br/>
  97498. In NB mode, it can also be used as TCM memory space.
  97499. </comment>
  97500. </memory>
  97501. </module>
  97502. </archive>
  97503. <archive relative="bb_cp2.xml">
  97504. <module category="GGE_SYS" name="BB_CP2">
  97505. <reg name="ctrl" protect="rw">
  97506. <bits access="rw" display="hex" name="first poly" pos="2:0" rst="111">
  97507. <comment>
  97508. This field is used for setting the first polynomial to encode
  97509. or the CRC computation
  97510. <br/>
  97511. First polynomial to encode :
  97512. <br/>
  97513. 000 = G0
  97514. <br/>
  97515. 001 = G1
  97516. <br/>
  97517. 010 = G2
  97518. <br/>
  97519. 011 = G3
  97520. <br/>
  97521. 100 = G4
  97522. <br/>
  97523. 101 = G5
  97524. <br/>
  97525. 110 = G6
  97526. <br/>
  97527. 111 = No polynomial code used (input connected to output)
  97528. <br/>
  97529. Cyclic code :
  97530. <br/>
  97531. 000 = D8 + D4 + D3 + D2 + 1
  97532. <br/>
  97533. 001 = D3 + D + 1
  97534. <br/>
  97535. 010 = D14 + D13 + D5 + D3 + D2 +1
  97536. <br/>
  97537. 011 = D6 + D5 + D3 + D2 + D1 + 1
  97538. <br/>
  97539. 100 = D10 + D8 + D6 + D5 + D4 + D2 + 1
  97540. <br/>
  97541. 101 = D16 + D12 + D5 + 1
  97542. <br/>
  97543. 110 = (D23 + 1)*(D17 + D3 + 1)
  97544. <br/>
  97545. 111 = reserved
  97546. </comment>
  97547. </bits>
  97548. <bits access="rw" display="hex" name="second poly" pos="5:3" rst="111">
  97549. <comment>
  97550. Second polynomial to encode :
  97551. <br/>
  97552. 000 = G0
  97553. <br/>
  97554. 001 = G1
  97555. <br/>
  97556. 010 = G2
  97557. <br/>
  97558. 011 = G3
  97559. <br/>
  97560. 100 = G4
  97561. <br/>
  97562. 101 = G5
  97563. <br/>
  97564. 110 = G6
  97565. <br/>
  97566. 111 = No polynomial code used (input connected to output)
  97567. </comment>
  97568. </bits>
  97569. <bits access="rw" display="hex" name="third poly" pos="8:6" rst="111">
  97570. <comment>
  97571. Third polynomial to encode:
  97572. <br/>
  97573. 000 = G0
  97574. <br/>
  97575. 001 = G1
  97576. <br/>
  97577. 010 = G2
  97578. <br/>
  97579. 011 = G3
  97580. <br/>
  97581. 100 = G4
  97582. <br/>
  97583. 101 = G5
  97584. <br/>
  97585. 110 = G6
  97586. <br/>
  97587. 111 = No polynomial code used (input connected to output)
  97588. </comment>
  97589. </bits>
  97590. <bits access="rw" display="hex" name="fourth poly" pos="11:9" rst="111">
  97591. <comment>
  97592. Fourth polynomial to encode:
  97593. <br/>
  97594. 000 = G0
  97595. <br/>
  97596. 001 = G1
  97597. <br/>
  97598. 010 = G2
  97599. <br/>
  97600. 011 = G3
  97601. <br/>
  97602. 100 = G4
  97603. <br/>
  97604. 101 = G5
  97605. <br/>
  97606. 110 = G6
  97607. <br/>
  97608. 111 = No polynomial code used (input connected to output)
  97609. </comment>
  97610. </bits>
  97611. <bits access="rw" display="hex" name="fith poly" pos="14:12" rst="111">
  97612. <comment>
  97613. Fith polynomial to encode:
  97614. <br/>
  97615. 000 = G0
  97616. <br/>
  97617. 001 = G1
  97618. <br/>
  97619. 010 = G2
  97620. <br/>
  97621. 011 = G3
  97622. <br/>
  97623. 100 = G4
  97624. <br/>
  97625. 101 = G5
  97626. <br/>
  97627. 110 = G6
  97628. <br/>
  97629. 111 = No polynomial code used (input connected to output)
  97630. </comment>
  97631. </bits>
  97632. <bits access="rw" display="hex" name="sixth poly" pos="17:15" rst="111">
  97633. <comment>
  97634. Sixth polynomial to encode:
  97635. <br/>
  97636. 000 = G0
  97637. <br/>
  97638. 001 = G1
  97639. <br/>
  97640. 010 = G2
  97641. <br/>
  97642. 011 = G3
  97643. <br/>
  97644. 100 = G4
  97645. <br/>
  97646. 101 = G5
  97647. <br/>
  97648. 110 = G6
  97649. <br/>
  97650. 111 = No polynomial code used (input connected to output)
  97651. </comment>
  97652. </bits>
  97653. <bits access="rw" display="hex" name="rsc poly" pos="20:18" rst="111">
  97654. <comment>
  97655. RSC (Recursive Systematic Convolutional) polynomial code:
  97656. <br/>
  97657. 000 = G0
  97658. <br/>
  97659. 001 = G1
  97660. <br/>
  97661. 010 = G2
  97662. <br/>
  97663. 011 = G3
  97664. <br/>
  97665. 100 = G4
  97666. <br/>
  97667. 101 = G5
  97668. <br/>
  97669. 110 = G6
  97670. <br/>
  97671. 111 = No RSC
  97672. </comment>
  97673. </bits>
  97674. <bits access="rw" display="hex" name="nb poly" pos="23:21" rst="111">
  97675. <comment>
  97676. Number of polynomial code to process:
  97677. <br/>
  97678. 0x0 = 0
  97679. <br/>
  97680. 0x1 = 1 (First Poly)
  97681. <br/>
  97682. 0x2 = 2 (First poly and second Poly)
  97683. <br/>
  97684. 0x3 = 3 (First poly, second poly, third Poly)
  97685. <br/>
  97686. 0x6 = 6 (first Poly to sixth Poly)
  97687. <br/>
  97688. 0x7 = reserved
  97689. </comment>
  97690. </bits>
  97691. <bits access="rw" name="enable puncturing" pos="24" rst="1">
  97692. <comment>
  97693. Enable Puncturing
  97694. <br/>
  97695. 0 = No puncturing (puncturing disabled)
  97696. <br/>
  97697. 1 = Enable puncturing
  97698. </comment>
  97699. </bits>
  97700. </reg>
  97701. <reg name="bit number" protect="rw">
  97702. <bits access="rw" display="hex" name="bit number" pos="8:0" rst="0x1FF">
  97703. <comment>
  97704. Number of inputs bits to process
  97705. <br/>
  97706. 0x01 = 1
  97707. <br/>
  97708. 0x02 = 2
  97709. <br/>
  97710. 0x03 = 3
  97711. <br/>
  97712. ...
  97713. <br/>
  97714. 0xFD = 253
  97715. <br/>
  97716. 0xFE = 254
  97717. <br/>
  97718. 0xFF = 255
  97719. <br/>
  97720. 0x100 = 256
  97721. <br/>
  97722. ...
  97723. <br/>
  97724. 0x1BF = 447
  97725. <br/>
  97726. 0x1C0 = 448
  97727. </comment>
  97728. </bits>
  97729. </reg>
  97730. <reg name="status" protect="r">
  97731. <bits access="r" name="enable" pos="0:0" rst="0">
  97732. <comment>When 1 the bb_cp2 is running</comment>
  97733. </bits>
  97734. </reg>
  97735. <reg name="lram_addr" protect="rw">
  97736. <bits access="rw" display="hex" name="lram address" pos="4:0" rst="0x0">
  97737. <comment>
  97738. LRAM address for the next access
  97739. <br/>
  97740. Automatically incremented after each access
  97741. </comment>
  97742. </bits>
  97743. <bits access="rw" name="lram select" pos="5" rst="0x1">
  97744. <comment>
  97745. Select LRAM for the next access
  97746. <br/>
  97747. 0 = Puncturing LRAM
  97748. <br/>
  97749. 1 = Data LRAM
  97750. </comment>
  97751. </bits>
  97752. </reg>
  97753. <reg name="crc code lsb" protect="r">
  97754. <bits access="r" display="hex" name="crc code" pos="31:0" rst="0xFFFFFFFF">
  97755. <comment>CRC code LSB bits</comment>
  97756. </bits>
  97757. </reg>
  97758. <reg name="crc code msb" protect="r">
  97759. <bits access="r" display="hex" name="crc code" pos="7:0" rst="0x03">
  97760. <comment>CRC code MSB bits</comment>
  97761. </bits>
  97762. </reg>
  97763. <hole size="800"/>
  97764. <reg name="cp2_select_reg" protect="rw">
  97765. <bits access="rw" name="cp2 select" pos="0" rst="1">
  97766. <comment>
  97767. CP2 register access selection bit
  97768. <br/>
  97769. 0= All registers are only accessible through the APB bus
  97770. <br/>
  97771. 1= All registers are only accessible by the BCPU through the CP2 bus
  97772. </comment>
  97773. </bits>
  97774. </reg>
  97775. <reg name="lram_data_reg" protect="rw">
  97776. <bits access="rw" display="hex" name="lram data" pos="31:0" rst="no">
  97777. <comment>
  97778. LRAM Data. This register is used for access to the
  97779. puncturing LRAM or to the Data LRAM.
  97780. <br/>
  97781. All access into this register, increment the LRAM_ADDR register.
  97782. </comment>
  97783. </bits>
  97784. </reg>
  97785. </module>
  97786. <cjoker>
  97787. // changing xml generated defines
  97788. #undef BB_CP2_ENABLE_PUNCTURING
  97789. #undef BB_CP2_LRAM_DATA
  97790. #undef BB_CP2_BIT_NUMBER
  97791. #define BB_CP2_ENABLE_PUNCTURING(n) (((n)&amp;1)&lt;&lt;24)
  97792. /// BB_CP2 address mapping
  97793. #define BB_CP2_CTRL 0
  97794. #define BB_CP2_BIT_NUMBER 1
  97795. #define BB_CP2_STATUS 2
  97796. #define BB_CP2_LRAM_ADDR 3
  97797. #define BB_CP2_CRC_CODE_LSB 4
  97798. #define BB_CP2_CRC_CODE_MSB 5
  97799. #define BB_CP2_LRAM_DATA 0
  97800. #define BB_CP2_LRAM_PUNC (0&lt;&lt;5)
  97801. #define BB_CP2_DATA_LRAM (1&lt;&lt;5)
  97802. /* BB_CP2 ACCESSES */
  97803. // macro for converting a constant to a string
  97804. #define CT_CONVERT_TO_STRING(x) #x
  97805. // control register -&gt; GPR
  97806. #define CT_BB_CP2_RD_CTRL_REG(regaddr, n) asm volatile(&quot;cfc2 %0, $&quot; CT_CONVERT_TO_STRING(regaddr) :&quot;=r&quot;((n)))
  97807. // GPR -&gt; control register
  97808. #define CT_BB_CP2_WR_CTRL_REG(regaddr, n) asm volatile(&quot;ctc2 %0, $&quot; CT_CONVERT_TO_STRING(regaddr) ::&quot;r&quot;((n)))
  97809. // general register -&gt; GPR
  97810. #define CT_BB_CP2_RD_GNRL_REG_GPR(regaddr, n) asm volatile(&quot;mfc2 %0, $&quot; CT_CONVERT_TO_STRING(regaddr) :&quot;=r&quot;((n)))
  97811. // GPR -&gt; general register
  97812. #define CT_BB_CP2_WR_GNRL_REG_GPR(regaddr, n) asm volatile(&quot;mtc2 %0, $&quot; CT_CONVERT_TO_STRING(regaddr) ::&quot;r&quot;((n)))
  97813. // general register -&gt; memory
  97814. #define CT_BB_CP2_RD_GNRL_REG_MEM(regaddr, out) asm volatile(&quot;swc2 $&quot; CT_CONVERT_TO_STRING(regaddr) &quot;, 0(%0)&quot;::&quot;r&quot;((out)))
  97815. // memory -&gt; general register
  97816. #define CT_BB_CP2_WR_GNRL_REG_MEM(regaddr, in) asm volatile(&quot;lwc2 $&quot; CT_CONVERT_TO_STRING(regaddr) &quot;, 0(%0)&quot;::&quot;r&quot;((in)))
  97817. </cjoker>
  97818. </archive>
  97819. <archive relative="bb_irq.xml">
  97820. <include file="globals.xml"/>
  97821. <module category="GGE_SYS" name="BB_IRQ">
  97822. <enum name="BCPU_Irq_Lines">
  97823. <entry name="BCpu_Main_Irq_Line">
  97824. <comment>BCPU Irq Lines</comment>
  97825. </entry>
  97826. <entry name="XCpu_Wdt_Irq_Line" value="1"/>
  97827. <entry name="BCpu_Debug_Irq_Line" value="4"/>
  97828. <entry name="BCpu_Host_Irq_Line"/>
  97829. </enum>
  97830. <reg name="cause" protect="r">
  97831. <comment>
  97832. If cause is not null and interrupt are enabled then the interrupt line 0 is driven on the system CPU.
  97833. <br/>
  97834. The cause for the Irq sources, one bit for each module's irq source.
  97835. <br/>
  97836. The cause is the actual Irq source masked by the mask register.
  97837. </comment>
  97838. <bits access="r" cut="1" cutenum="Gge_Bb_Irq_Id" cutprefix="" cutstart="0" name="cause" pos="NB_GGE_BB_IRQ-1:0" rst="0"/>
  97839. </reg>
  97840. <reg name="status" protect="r">
  97841. <comment>
  97842. The status for the level Irq sources, one bit for each module's irq source.
  97843. <br/>
  97844. The status reflect the actual Irq source.
  97845. </comment>
  97846. <bits access="r" cut="1" cutenum="Gge_Bb_Irq_Id" cutprefix="" cutstart="0" name="status" pos="NB_GGE_BB_IRQ-1:0" rst="0"/>
  97847. </reg>
  97848. <reg name="mask_set" protect="rw">
  97849. <comment>
  97850. Writing '1' sets the corresponding bit in the mask register to '1'.
  97851. <br/>
  97852. Reading gives the value of the mask register.
  97853. </comment>
  97854. <bits access="rs" cut="1" cutenum="Gge_Bb_Irq_Id" cutprefix="" cutstart="0" name="mask_set" pos="NB_GGE_BB_IRQ-1:0" rst="0"/>
  97855. </reg>
  97856. <reg name="mask_clear" protect="rw">
  97857. <comment>
  97858. Writing '1' clears the corresponding bit in the mask register to '0'.
  97859. <br/>
  97860. Reading gives the value of the mask register.
  97861. </comment>
  97862. <bits access="rc" cut="1" cutenum="Gge_Bb_Irq_Id" cutprefix="" cutstart="0" name="mask_clr" pos="NB_GGE_BB_IRQ-1:0" rst="0"/>
  97863. </reg>
  97864. <reg name="nonmaskable" protect="rw">
  97865. <bits access="r" name="main_irq" pos="10" rst="0">
  97866. <comment>
  97867. This is the Main Irq source it drive the system CPU interrupt line 0.
  97868. <br/>
  97869. This bit comes from the modules irq and is masked by the Mask and SC registers.
  97870. </comment>
  97871. </bits>
  97872. <bits access="r" name="wdt_irq" pos="11" rst="0">
  97873. <comment>
  97874. This is the WDT Irq source it drive the system CPU interrupt line 1.
  97875. <br/>
  97876. This bit comes from watchdog module.
  97877. </comment>
  97878. </bits>
  97879. <bits access="rw" name="debug_irq" pos="14" rst="0">
  97880. <comment>This is the debug Irq source, the value written here drives the system CPU interrupt line 4.</comment>
  97881. </bits>
  97882. <bits access="r" name="host_irq" pos="15" rst="0">
  97883. <comment>
  97884. This is the Host Irq source it drive the system CPU interrupt line 5.
  97885. <br/>
  97886. This bit is controlled by the host internal register.
  97887. </comment>
  97888. </bits>
  97889. <bits access="r" name="intenable_status" pos="31" rst="1">
  97890. <comment>Status of the Interrupt enable semaphore bit.</comment>
  97891. </bits>
  97892. </reg>
  97893. <reg name="sc" protect="">
  97894. <bits access="rw" name="intenable" pos="0" rst="1">
  97895. <comment>
  97896. Interrupt enable semaphore, used for critical section.
  97897. <br/>
  97898. Read returns its value and then clears it to '0' disabling interrupts.
  97899. <br/>
  97900. Write the read value to restore the previous state, this will exit the critical section.
  97901. </comment>
  97902. </bits>
  97903. </reg>
  97904. <reg name="wakeup_mask" protect="rw">
  97905. <comment>Each bit to '1' in that registers allows the correcponding interrupt to wake up the System CPU (i.e.: Reenable it's clock, see CLOCK_BB_ENABLE and CLOCK_BB_DISABLE registers in general registers section)</comment>
  97906. <bits access="rw" cut="1" cutenum="Gge_Bb_Irq_Id" cutprefix="" cutstart="0" name="wakeup_mask" pos="NB_GGE_BB_IRQ-1:0" rst="0"/>
  97907. </reg>
  97908. <reg name="cpu_sleep" protect="w">
  97909. <bits access="w" name="sleep" pos="0" rst="0">
  97910. <comment>Writing '1' to this bit will put the BCPU to sleep (i.e.: Disable it's clock, see CLOCK_BB_ENABLE and CLOCK_BB_DISABLE registers in general registers section)</comment>
  97911. </bits>
  97912. </reg>
  97913. <reg name="pulse_mask_set" protect="rw">
  97914. <comment>
  97915. Writing '1' sets the corresponding bit in the mask register to '1'.
  97916. <br/>
  97917. Reading gives the value of the mask register.
  97918. </comment>
  97919. <bits access="rs" cut="1" cutenum="Gge_Bb_Irq_Id" cutprefix="" cutstart="0" name="pulse_mask_set" pos="NB_GGE_BB_IRQ_PULSE-1:0" rst="0"/>
  97920. </reg>
  97921. <reg name="pulse_mask_clr" protect="rw">
  97922. <comment>
  97923. Writing '1' clears the corresponding bit in the mask register to '0'.
  97924. <br/>
  97925. Reading gives the value of the mask register.
  97926. </comment>
  97927. <bits access="rc" cut="1" cutenum="Gge_Bb_Irq_Id" cutprefix="" cutstart="0" name="pulse_mask_clr" pos="NB_GGE_BB_IRQ_PULSE-1:0" rst="0"/>
  97928. </reg>
  97929. <reg name="pulse_clear" protect="rw">
  97930. <comment>
  97931. Writing '1' clears the corresponding Pulse IRQ.
  97932. <br/>
  97933. Pulse IRQ are set by the modules and cleared here.
  97934. </comment>
  97935. <bits access="c" cut="1" cutenum="Gge_Bb_Irq_Id" cutprefix="" cutstart="0" name="pulse_clr" pos="NB_GGE_BB_IRQ_PULSE-1:0" rst="0"/>
  97936. </reg>
  97937. <reg name="pulse_status" protect="r">
  97938. <comment>
  97939. The status for the Pulse Irq sources, one bit for each module's irq source.
  97940. <br/>
  97941. The status reflect the actual Irq source.
  97942. </comment>
  97943. <bits access="r" cut="1" cutenum="Gge_Bb_Irq_Id" cutprefix="" cutstart="0" name="status" pos="NB_GGE_BB_IRQ_PULSE-1:0" rst="0"/>
  97944. </reg>
  97945. </module>
  97946. </archive>
  97947. <archive relative="bb_rom.xml">
  97948. <var name="BB_ROM_SIZE" value="160*1024"/>
  97949. <var name="NB_BB_PATCH" value="16"/>
  97950. <var name="BB_PATCH_SIZE" value="64*4"/>
  97951. <module category="GGE_SYS" name="BB_ROM">
  97952. <memory name="rom_array" size="BB_ROM_SIZE">
  97953. <comment>
  97954. BB Rom Space
  97955. <br/>
  97956. This rom is used for BCPU.
  97957. </comment>
  97958. </memory>
  97959. </module>
  97960. <module category="GGE_SYS" name="BB_ROM_CTRL">
  97961. <reg count="NB_BB_PATCH" name="rom_patch" protect="rw">
  97962. <bits access="rw" name="block_addr" pos="18:4" rst="0">
  97963. <comment>Base address of block in int_Rom patched (corresponding data are read from int_SRam)</comment>
  97964. <options>
  97965. <mask/>
  97966. <shift/>
  97967. <default/>
  97968. </options>
  97969. </bits>
  97970. <bits access="rw" name="patch_en" pos="31" rst="0">
  97971. <options>
  97972. <option name="Enable" value="1"/>
  97973. <option name="Disable" value="0"/>
  97974. </options>
  97975. </bits>
  97976. </reg>
  97977. <hole size="1536"/>
  97978. <memory name="ram_array" size="BB_PATCH_SIZE">
  97979. <comment>
  97980. BB Rom patch Ram Space
  97981. <br/>
  97982. Used for store the patch instead of rom, when patch is valid
  97983. </comment>
  97984. </memory>
  97985. </module>
  97986. </archive>
  97987. <archive relative="cholk.xml">
  97988. <module category="GGE_SYS" name="CHOLK">
  97989. <reg32 name="cholk_ctrl" protect="rw">
  97990. <bits access="rw" name="cholk_on" pos="0" rst="0">
  97991. <comment>write 1 will enable CHOLK module</comment>
  97992. </bits>
  97993. <bits access="rw" name="cholk_int_mask" pos="1" rst="0">
  97994. <comment>1:level INT will be masked, 0:level INT will not be masked</comment>
  97995. </bits>
  97996. <bits access="rw" name="cholk_mode" pos="2" rst="0">
  97997. <comment>1: Complex mode ; 0: Real mode</comment>
  97998. </bits>
  97999. </reg32>
  98000. <reg32 name="gain" protect="rw">
  98001. <bits access="rw" name="resi_gain" pos="1:0" rst="0">
  98002. <comment>RESI GAIN</comment>
  98003. </bits>
  98004. <bits access="rw" name="resi2_gain" pos="3:2" rst="0">
  98005. <comment>RESI2 GAIN</comment>
  98006. </bits>
  98007. <bits access="rw" name="ogrs_gain" pos="5:4" rst="0">
  98008. <comment>OGRS_GAIN</comment>
  98009. </bits>
  98010. <bits access="rw" name="oles1_gain" pos="7:6" rst="0">
  98011. <comment>OLES1_GAIN</comment>
  98012. </bits>
  98013. <bits access="rw" name="oles2_gain" pos="9:8" rst="0">
  98014. <comment>OLES2_GAIN</comment>
  98015. </bits>
  98016. <bits access="rw" name="coef_gain" pos="11:10" rst="0">
  98017. <comment>COEF_GAIN</comment>
  98018. </bits>
  98019. <bits access="rw" name="grad_gain" pos="13:12" rst="0">
  98020. <comment>GRAD_GAIN</comment>
  98021. </bits>
  98022. <bits access="rw" name="gops_gain" pos="15:14" rst="0">
  98023. <comment>GOPS_GAIN</comment>
  98024. </bits>
  98025. <bits access="rw" name="oles3_gain" pos="17:16" rst="0">
  98026. <comment>OLES3_GAIN</comment>
  98027. </bits>
  98028. </reg32>
  98029. <reg32 name="iter_thre" protect="rw">
  98030. <bits access="rw" name="iter_thre1" pos="15:0" rst="0">
  98031. <comment>ITER_THRE1</comment>
  98032. </bits>
  98033. </reg32>
  98034. <reg32 name="mcova_base" protect="rw">
  98035. <bits access="rw" name="mcova_base" pos="12:0" rst="0">
  98036. <comment>Matrix COVA base addr in BBSRAM</comment>
  98037. </bits>
  98038. </reg32>
  98039. <reg32 name="mce_base" protect="rw">
  98040. <bits access="rw" name="mce_base" pos="12:0" rst="0">
  98041. <comment>CE base addr in BBSRAM</comment>
  98042. </bits>
  98043. </reg32>
  98044. <reg32 name="mcoef_base" protect="rw">
  98045. <bits access="rw" name="mcoef_base" pos="12:0" rst="0">
  98046. <comment>COEF base addr in BBSRAM</comment>
  98047. </bits>
  98048. </reg32>
  98049. <reg32 name="number" protect="rw">
  98050. <bits access="rw" name="row_number" pos="4:0" rst="0">
  98051. <comment>Matrix Row Number, maximal is 24 for Real, and 16 for Complex</comment>
  98052. </bits>
  98053. <bits access="rw" name="mcova_number" pos="13:5" rst="0">
  98054. <comment>Matrix COVA effective element number - 1 to read</comment>
  98055. </bits>
  98056. <bits access="rw" name="iter_number" pos="18:14" rst="0">
  98057. <comment>MAXIMAL iteration number - 1 for CHOLK</comment>
  98058. </bits>
  98059. </reg32>
  98060. <reg32 name="cholk_status" protect="rw">
  98061. <bits access="rw" name="cholk_status" pos="0" rst="1">
  98062. <comment>CHOLK Done status, ACC enable and SW write this bit will clear this Done status, hardware will set this bit when done.</comment>
  98063. </bits>
  98064. </reg32>
  98065. <reg32 name="echolk_int" protect="rw">
  98066. <bits access="rw" name="echolk_int_raw" pos="0" rst="1">
  98067. <comment>write 0 to this bit will clear CHOLK level RAW interrupt source bit, write 1 will not. read this bit will get raw cholk INT source bit</comment>
  98068. </bits>
  98069. <bits access="r" name="echolk_int_out" pos="1" rst="1">
  98070. <comment>read this bit will get cholk INT status after masking. INT_out = INT_RAW and ~MASK</comment>
  98071. </bits>
  98072. </reg32>
  98073. </module>
  98074. </archive>
  98075. <archive relative="cipher.xml">
  98076. <module category="GGE_SYS" name="CIPHER">
  98077. <reg name="ctrl" protect="rw">
  98078. <bits access="w" name="enable" pos="0" rst="no">
  98079. <comment>Writing a '1' in this register triggers an A5 process. Ignored if the module is
  98080. already processing. Auto-reset bit</comment>
  98081. </bits>
  98082. <bits access="rw" name="algorithm" pos="4" rst="1">
  98083. <comment>Selects the appropriate algorithm</comment>
  98084. <options>
  98085. <option name="A5_1" value="0"/>
  98086. <option name="A5_2" value="1"/>
  98087. </options>
  98088. </bits>
  98089. </reg>
  98090. <reg name="status" protect="r">
  98091. <bits access="r" name="running" pos="0" rst="0">
  98092. <comment>1 when running, 0 in other case.</comment>
  98093. </bits>
  98094. <bits access="r" name="data_blk_rdy" pos="4" rst="0">
  98095. <comment>1 when data block ready (Ciphering processed), reseted when the data register is read.</comment>
  98096. </bits>
  98097. </reg>
  98098. <reg name="kc low" protect="rw">
  98099. <bits access="rw" display="hex" name="kc_lsb" pos="31:0" rst="0xFFFFFFFF">
  98100. <comment>Cipher key Kc, LSB bit [31:0].</comment>
  98101. </bits>
  98102. </reg>
  98103. <reg name="kc high" protect="rw">
  98104. <bits access="rw" display="hex" name="kc_msb" pos="31:0" rst="0xFFFFFFFF">
  98105. <comment>Cipher key Kc, MSB bit [31:0].</comment>
  98106. </bits>
  98107. </reg>
  98108. <reg name="count" protect="rw">
  98109. <bits access="rw" display="hex" name="count" pos="21:0" rst="0x3FFFFFF">
  98110. <comment>Count register, this field represent the TDMA frame number.</comment>
  98111. </bits>
  98112. </reg>
  98113. <reg name="data0_block2" protect="r">
  98114. <bits access="r" name="data_blk2" pos="31:0" rst="no">
  98115. <comment>Data block2 bit[31:0]</comment>
  98116. </bits>
  98117. </reg>
  98118. <reg name="data1_block2" protect="r">
  98119. <bits access="r" name="data_blk2" pos="31:0" rst="no">
  98120. <comment>Data block2 bit[63:32]</comment>
  98121. </bits>
  98122. </reg>
  98123. <reg name="data2_block2" protect="r">
  98124. <bits access="r" name="data_blk2" pos="31:0" rst="no">
  98125. <comment>Data block2 bit[95:64]</comment>
  98126. </bits>
  98127. </reg>
  98128. <reg name="data3_block2" protect="r">
  98129. <bits access="r" name="data_blk2" pos="17:0" rst="no">
  98130. <comment>Data block2 bit[113:96]</comment>
  98131. </bits>
  98132. </reg>
  98133. <struct count="29" name="data_block1">
  98134. <reg name="data block1" protect="r">
  98135. <bits access="r" name="bit0" pos="7" rst="no">
  98136. <comment/>
  98137. </bits>
  98138. <bits access="r" name="bit1" pos="15" rst="no">
  98139. <comment/>
  98140. </bits>
  98141. <bits access="r" name="bit2" pos="23" rst="no">
  98142. <comment/>
  98143. </bits>
  98144. <bits access="r" name="bit3" pos="31" rst="no">
  98145. <comment/>
  98146. </bits>
  98147. </reg>
  98148. </struct>
  98149. </module>
  98150. </archive>
  98151. <archive relative="cipher_a53.xml">
  98152. <module category="GGE_SYS" name="CIPHER_A53">
  98153. <reg16 name="ciph_stat" protect="rw">
  98154. <bits access="r" name="res" pos="15:5" rst="0">
  98155. </bits>
  98156. <bits access="rw" name="a53" pos="4" rst="0">
  98157. <comment>Select Between A5/1-A5/2 and A5/3 Ciphering Block</comment>
  98158. </bits>
  98159. <bits access="rw" name="init" pos="3" rst="0">
  98160. <comment>Initialize A5/3 Ciphering</comment>
  98161. </bits>
  98162. <bits access="rw" name="edge" pos="2" rst="0">
  98163. <comment>Select Ciphering Blcok Size</comment>
  98164. </bits>
  98165. <bits access="rw" name="a52" pos="1" rst="0">
  98166. <comment>Switch Between A5/1 and A5/2 Algorithm if A5/1-A5/2 Block is Selected</comment>
  98167. </bits>
  98168. <bits access="rw" name="cact" pos="0" rst="0">
  98169. <comment>Status and Activation of Ciphering Block</comment>
  98170. </bits>
  98171. </reg16>
  98172. <reg16 name="key register0" protect="rw">
  98173. <bits access="rw" name="key0" pos="15:0" rst="0">
  98174. <comment>Cipher Key0</comment>
  98175. </bits>
  98176. </reg16>
  98177. <reg16 name="key register1" protect="rw">
  98178. <bits access="rw" name="key1" pos="15:0" rst="0">
  98179. <comment>Cipher Key1</comment>
  98180. </bits>
  98181. </reg16>
  98182. <reg16 name="key register2" protect="rw">
  98183. <bits access="rw" name="key2" pos="15:0" rst="0">
  98184. <comment>Cipher Key2</comment>
  98185. </bits>
  98186. </reg16>
  98187. <reg16 name="key register3" protect="rw">
  98188. <bits access="rw" name="key3" pos="15:0" rst="0">
  98189. <comment>Cipher Key3</comment>
  98190. </bits>
  98191. </reg16>
  98192. <reg16 name="tmod26" protect="rw">
  98193. <bits access="rw" name="a52_res_tmod26" pos="15:5" rst="0">
  98194. <comment/>
  98195. </bits>
  98196. <bits access="rw" name="a52_t26n" pos="4:0" rst="0">
  98197. <comment/>
  98198. </bits>
  98199. </reg16>
  98200. <reg16 name="tmod51" protect="rw">
  98201. <bits access="rw" name="a52_res_tmod51" pos="15:6" rst="0">
  98202. <comment/>
  98203. </bits>
  98204. <bits access="rw" name="a52_t51n" pos="5:0" rst="0">
  98205. <comment/>
  98206. </bits>
  98207. </reg16>
  98208. <reg16 name="sfnum" protect="rw">
  98209. <bits access="rw" name="a52_res_sfnum" pos="15:11" rst="0">
  98210. <comment/>
  98211. </bits>
  98212. <bits access="rw" name="a52_sfn" pos="10:0" rst="0">
  98213. <comment/>
  98214. </bits>
  98215. </reg16>
  98216. <reg16 name="key register4" protect="rw">
  98217. <bits access="rw" name="key4" pos="15:0" rst="0">
  98218. <comment>Cipher Key4</comment>
  98219. </bits>
  98220. </reg16>
  98221. <reg16 name="key register5" protect="rw">
  98222. <bits access="rw" name="key5" pos="15:0" rst="0">
  98223. <comment>Cipher Key5</comment>
  98224. </bits>
  98225. </reg16>
  98226. <reg16 name="key register6" protect="rw">
  98227. <bits access="rw" name="key6" pos="15:0" rst="0">
  98228. <comment>Cipher Key6</comment>
  98229. </bits>
  98230. </reg16>
  98231. <reg16 name="key register7" protect="rw">
  98232. <bits access="rw" name="key7" pos="15:0" rst="0">
  98233. <comment>Cipher Key7</comment>
  98234. </bits>
  98235. </reg16>
  98236. <reg16 name="key data1" protect="rw">
  98237. <bits access="rw" name="ca" pos="15:8" rst="0">
  98238. <comment>GSM mode:00001111
  98239. EDGE mode:11110000</comment>
  98240. </bits>
  98241. <bits access="rw" name="cb" pos="7:3" rst="0">
  98242. <comment>CB=0000</comment>
  98243. </bits>
  98244. <bits access="rw" name="cd" pos="2" rst="0">
  98245. <comment>CD=0</comment>
  98246. </bits>
  98247. <bits access="r" name="res_key_dat1" pos="1:0" rst="0">
  98248. <comment/>
  98249. </bits>
  98250. </reg16>
  98251. <reg16 name="key data2" protect="rw">
  98252. <bits access="rw" name="ce" pos="15:0" rst="0">
  98253. <comment>CE=0000000000000000</comment>
  98254. </bits>
  98255. </reg16>
  98256. <reg16 name="key data3" protect="rw">
  98257. <bits access="r" name="res_15_14" pos="15:14" rst="0">
  98258. <comment/>
  98259. </bits>
  98260. <bits access="rw" name="sfn_10_5" pos="13:8" rst="0">
  98261. <comment/>
  98262. </bits>
  98263. <bits access="r" name="res_7_0" pos="7:0" rst="0">
  98264. <comment/>
  98265. </bits>
  98266. </reg16>
  98267. <reg16 name="key data4" protect="rw">
  98268. <bits access="rw" name="sfn_4_0" pos="15:11" rst="0">
  98269. <comment/>
  98270. </bits>
  98271. <bits access="rw" name="t51n" pos="10:5" rst="0">
  98272. <comment/>
  98273. </bits>
  98274. <bits access="rw" name="t26n" pos="4:0" rst="0">
  98275. <comment/>
  98276. </bits>
  98277. </reg16>
  98278. <reg16 count="112" name="unused1" protect="rc">
  98279. </reg16>
  98280. <reg16 count="8" name="block1" protect="rw">
  98281. </reg16>
  98282. <reg16 count="24" name="unused2" protect="rc">
  98283. </reg16>
  98284. <reg16 count="8" name="block2" protect="rw">
  98285. </reg16>
  98286. </module>
  98287. <module category="System" name="CIPHER_A53_SPRAM">
  98288. <memory name="spram_array" size="64*2">
  98289. <comment>cipher_a53 internal Spram space</comment>
  98290. </memory>
  98291. </module>
  98292. </archive>
  98293. <archive relative="cordic.xml">
  98294. <module category="GGE_SYS" name="CORDIC">
  98295. <reg name="yin" protect="rw">
  98296. <bits access="rw" name="y_addr" pos="31:0" rst="0x0">
  98297. <comment>Control setting. y, i.e. numerator of atan computation.</comment>
  98298. </bits>
  98299. </reg>
  98300. <reg name="xin" protect="rw">
  98301. <bits access="rw" name="x_addr" pos="31:0" rst="0x0">
  98302. <comment>Control setting. x, i.e. denominator of atan computation.</comment>
  98303. </bits>
  98304. </reg>
  98305. <reg name="cmd" protect="rw">
  98306. <bits access="rw" name="cmd" pos="0:0" rst="0x0">
  98307. <comment>The start signal. Use the posedge of this signal.</comment>
  98308. <options>
  98309. <option name="RST" value="0"/>
  98310. <option name="START" value="1"/>
  98311. </options>
  98312. </bits>
  98313. </reg>
  98314. <reg name="status" protect="r">
  98315. <bits access="r" name="op" pos="31:0" rst="0x0">
  98316. <comment>Status is set to 1 when an operation is finished.</comment>
  98317. <options>
  98318. <option name="Busy" value="0x00000000"/>
  98319. <option name="Free" value="0xFFFFFFFF"/>
  98320. </options>
  98321. </bits>
  98322. </reg>
  98323. <reg name="dout" protect="r">
  98324. <bits access="r" name="result_angle" pos="15:0" rst="0x0">
  98325. <comment>. angle. The actual value is angle*pi/4</comment>
  98326. </bits>
  98327. <bits access="r" name="result_amplitude" pos="31:16" rst="0x0">
  98328. <comment>amplitude.</comment>
  98329. </bits>
  98330. </reg>
  98331. <reg name="amp" protect="r">
  98332. <bits access="r" name="result_amp" pos="16:0" rst="0x0">
  98333. <comment>amplitude only.</comment>
  98334. <options>
  98335. <mask/>
  98336. </options>
  98337. </bits>
  98338. </reg>
  98339. </module>
  98340. </archive>
  98341. <archive relative="excor.xml">
  98342. <include file="globals.xml"/>
  98343. <module category="GGE_SYS" name="EXCOR">
  98344. <var name="EXCOR_IDLE" value="0"/>
  98345. <var name="EXCOR_BMMLZF" value="1"/>
  98346. <var name="EXCOR_COMPMATRIMUL" value="2"/>
  98347. <var name="EXCOR_COMPCONV" value="3"/>
  98348. <var name="EXCOR_COMPPOW" value="4"/>
  98349. <var name="EXCOR_DEROTATE" value="5"/>
  98350. <var name="EXCOR_DCCOMP" value="6"/>
  98351. <var name="EXCOR_SRECPSK8" value="7"/>
  98352. <var name="EXCOR_FCCH" value="8"/>
  98353. <var name="EXCOR_IR_COMB" value="9"/>
  98354. <var name="EXCOR_IQ_SHIFT" value="10"/>
  98355. <var name="EXCOR_STATUS_MASK" value="1"/>
  98356. <var name="EXCOR_FASTMATRIMUL" value="11"/>
  98357. <var name="EXCOR_FASTCONV" value="12"/>
  98358. <reg name="ctrl" protect="rw">
  98359. <bits access="rw" name="cmd" pos="7:0" rst="0x0">
  98360. <comment>Control setting. comand type.</comment>
  98361. </bits>
  98362. <bits access="rw" name="nb_iloop" pos="15:8" rst="0x0">
  98363. <comment>Control setting. Number of internal loop iteration.</comment>
  98364. </bits>
  98365. <bits access="rw" name="nb_oloop" pos="25:16" rst="0x0">
  98366. <comment>Control setting. Number of nb_symbol.</comment>
  98367. </bits>
  98368. <bits access="rw" name="shift_bit" pos="30:26" rst="0x0">
  98369. <comment>Control setting. Number of shift bits.</comment>
  98370. </bits>
  98371. </reg>
  98372. <reg name="addr0" protect="rw">
  98373. <bits access="rw" name="addr0" pos="14:0" rst="0x0">
  98374. <comment>address register 0.</comment>
  98375. </bits>
  98376. </reg>
  98377. <reg name="addr1" protect="rw">
  98378. <bits access="rw" name="addr1" pos="14:0" rst="0x0">
  98379. <comment>address register 1.</comment>
  98380. </bits>
  98381. </reg>
  98382. <reg name="addr2" protect="rw">
  98383. <bits access="rw" name="addr2" pos="14:0" rst="0x0">
  98384. <comment>address register 2.</comment>
  98385. </bits>
  98386. </reg>
  98387. <reg name="addr3" protect="rw">
  98388. <bits access="rw" name="addr3" pos="31:0" rst="0x0">
  98389. <comment>address register 3.</comment>
  98390. </bits>
  98391. </reg>
  98392. <reg name="addr4" protect="rw">
  98393. <bits access="rw" name="addr4" pos="31:0" rst="0x0">
  98394. <comment>address register 4.</comment>
  98395. </bits>
  98396. </reg>
  98397. <reg name="addr5" protect="rw">
  98398. <bits access="rw" name="addr5" pos="31:0" rst="0x0">
  98399. <comment>address register 5.</comment>
  98400. </bits>
  98401. </reg>
  98402. <reg name="data0" protect="rw">
  98403. <bits access="rw" name="data0" pos="31:0" rst="0x0">
  98404. <comment>data register 0.</comment>
  98405. </bits>
  98406. </reg>
  98407. <reg name="data1" protect="rw">
  98408. <bits access="rw" name="data1" pos="31:0" rst="0x0">
  98409. <comment>data register 1.</comment>
  98410. </bits>
  98411. </reg>
  98412. <reg name="data2" protect="rw">
  98413. <bits access="rw" name="data2" pos="31:0" rst="0x0">
  98414. <comment>data register 2.</comment>
  98415. </bits>
  98416. </reg>
  98417. <reg name="data3" protect="rw">
  98418. <bits access="rw" name="data3" pos="31:0" rst="0x0">
  98419. <comment>data register 3.</comment>
  98420. </bits>
  98421. </reg>
  98422. <reg name="data4" protect="rw">
  98423. <bits access="rw" name="ircom_psidx0" pos="1:0" rst="0x0">
  98424. <comment>for ircombine idx0</comment>
  98425. </bits>
  98426. <bits access="rw" name="ircom_psidx2" pos="5:4" rst="0x0">
  98427. <comment>for ircombine idx1</comment>
  98428. </bits>
  98429. <bits access="rw" name="ircom_psidx1" pos="18:8" rst="0x0">
  98430. <comment>for ircombine idx2</comment>
  98431. </bits>
  98432. </reg>
  98433. <reg name="data5" protect="rw">
  98434. <bits access="rw" name="data5" pos="31:0" rst="0x0">
  98435. <comment>data register 5.</comment>
  98436. </bits>
  98437. </reg>
  98438. <reg name="status" protect="rw">
  98439. <bits access="rw" name="status" pos="7:0" rst="0x0">
  98440. <comment>Status is set to 1 when an operation is finished.</comment>
  98441. </bits>
  98442. </reg>
  98443. <reg name="ctrl_fast" protect="rw">
  98444. <bits access="rw" name="loop_num_a" pos="2:0" rst="0x0">
  98445. <comment>Control setting. Number of A row.</comment>
  98446. </bits>
  98447. <bits access="rw" name="loop_num_b" pos="6:4" rst="0x0">
  98448. <comment>Control setting. Number of B column.</comment>
  98449. </bits>
  98450. <bits access="rw" name="loop_num_ab" pos="15:8" rst="0x0">
  98451. <comment>Control setting. Number of A column and B row.</comment>
  98452. </bits>
  98453. <bits access="rw" name="shift_bit_reg1" pos="20:16" rst="0x0">
  98454. <comment>Control setting. Number of shift bit after multiply.</comment>
  98455. </bits>
  98456. </reg>
  98457. </module>
  98458. </archive>
  98459. <archive relative="itlv.xml">
  98460. <include file="globals.xml"/>
  98461. <module category="GGE_SYS" name="ITLV">
  98462. <reg name="command" protect="rw">
  98463. <bits access="rw" name="nb_bits" pos="30:20" rst="0x0">
  98464. <comment>Number of bits to be (De)Interleaved.</comment>
  98465. </bits>
  98466. <bits access="rw" name="burst_offset" pos="12:8" rst="0x0">
  98467. <comment>This value gives the write offset (in number of bursts) to be
  98468. added to a Burst Base address (ignored for Type 1b). For normal
  98469. operation, this offset should be even (lsb will be ignored).</comment>
  98470. </bits>
  98471. <bits access="rw" name="itlv_type" pos="7:4" rst="0x0">
  98472. <comment>Selects (de-)interleaving type.</comment>
  98473. <options>
  98474. <option name="TYPE_1A" value="0">
  98475. <comment>TCH/FS, TCH/EFS, FACCH/F, TCH/F2.4, TCH/AFS (speech, ratscch, sid_first)</comment>
  98476. </option>
  98477. <option name="TYPE_1B" value="1">
  98478. <comment>SACCH, TCH/AFS(sid_update), PDTCH(CS-1 to CS-4), BCCH, PCH, AGCH, PACCH, PBCCH, PAGCH, PPCH, PNCH, PTCCH/D</comment>
  98479. </option>
  98480. <option name="TYPE_1C" value="2">
  98481. <comment>FACCH/H</comment>
  98482. </option>
  98483. <option name="TYPE_2A" value="3">
  98484. <comment>TCH/HS and TCH/AHS</comment>
  98485. </option>
  98486. <option name="TYPE_2B" value="4">
  98487. <comment>TCH/HS and TCH/AHS</comment>
  98488. </option>
  98489. <option name="TYPE_3" value="5">
  98490. <comment>TCH/F14.4, TCH/F9.6, TCH/F4.8, TCH/H4.8, and TCH/H2.4</comment>
  98491. </option>
  98492. <default/>
  98493. <mask/>
  98494. <shift/>
  98495. </options>
  98496. </bits>
  98497. <bits access="rw" name="int_mask" pos="3" rst="0x0">
  98498. <comment>Sets the interrupt mask ('1': interruption enabled)</comment>
  98499. </bits>
  98500. <bits access="rw" name="ditlv_start" pos="1" rst="0x0">
  98501. <comment>Starts the de-interleaving process.</comment>
  98502. </bits>
  98503. <bits access="rw" name="itlv_start" pos="0" rst="0x0">
  98504. <comment>Starts the interleaving process.</comment>
  98505. </bits>
  98506. </reg>
  98507. <reg name="status" protect="r">
  98508. <bits access="r" name="busy" pos="0" rst="0x0">
  98509. <comment>This bit is high when a (de-)interleaving process is ongoing. It
  98510. stays high if the module is stalled during operation.</comment>
  98511. </bits>
  98512. </reg>
  98513. <reg name="burst_base" protect="rw">
  98514. <bits access="rw" name="burst_base" pos="BB_SRAM_ADDR_WIDTH+1:4" rst="0x0">
  98515. <comment>This is the start address of the burst buffer in SRAM</comment>
  98516. </bits>
  98517. </reg>
  98518. <reg name="frame_base" protect="rw">
  98519. <bits access="rw" name="frame_base" pos="BB_SRAM_ADDR_WIDTH+1:2" rst="0x0">
  98520. <comment>This is the start address of the frame buffer in
  98521. SRAM.</comment>
  98522. </bits>
  98523. </reg>
  98524. <reg name="int_status" protect="r">
  98525. <bits access="r" name="it_status" pos="16" rst="0x0">
  98526. <comment>This bit is the unmasked version of the IT_CAUSE bit.</comment>
  98527. </bits>
  98528. <bits access="r" name="it_cause" pos="0" rst="0x0">
  98529. <comment>This bit is set when the ITLV module finishes an ongoing
  98530. operation. It can be masked by setting ITLV_CMD(IT_MASK) to '1'.
  98531. Resetting this bit is done by writing in IT_CLEAR register. IT_CAUSE is
  98532. the image of the ITLV_DONE_H interrupt line to the CPU.</comment>
  98533. </bits>
  98534. </reg>
  98535. <reg name="int_clear" protect="w">
  98536. <bits access="w" name="it_clear" pos="0" rst="0x0">
  98537. <comment>Setting this bit to '1' resets the Interleaver's
  98538. interrupt.</comment>
  98539. </bits>
  98540. </reg>
  98541. </module>
  98542. </archive>
  98543. <archive relative="rf_if.xml">
  98544. <module category="GGE_SYS" name="RF_IF">
  98545. <reg name="buffer" protect="rw">
  98546. <bits access="rw" name="rx_tx data" pos="31:0" rst="no">
  98547. <comment>
  98548. In read mode this register contains the sample received on the Rx chain. I component is located on bit[15:0] and Q component is located on bit[31:16].
  98549. <br/>
  98550. This register accesses to the head of the receive FIFO. If the receive FIFO is full and this register is not read before the next data sample arrives, then the data already in the FIFO will be preserved but any incoming data will be lost. An overflow error will also occur.
  98551. <br/>
  98552. The data written[29:0] into this register is the data transmitted. Any attempt to write data when the FIFO is full results in the write data being lost.
  98553. </comment>
  98554. </bits>
  98555. </reg>
  98556. <reg name="ctrl" protect="rw">
  98557. <bits access="rw" name="enable" pos="0" rst="0">
  98558. <options>
  98559. <option name="Disable" value="0"/>
  98560. <option name="Enable" value="1"/>
  98561. </options>
  98562. <comment>Turn on/off the rf_if interface</comment>
  98563. </bits>
  98564. <bits access="rw" name="digrf enable" pos="1" rst="0">
  98565. <options>
  98566. <option name="Disable" value="0">
  98567. <comment>Analog more selected</comment>
  98568. </option>
  98569. <option name="Enable" value="1">
  98570. <comment>DigRF mode selected</comment>
  98571. </option>
  98572. </options>
  98573. <comment>Turn on/off the DigRF mode</comment>
  98574. </bits>
  98575. <bits access="rw" name="rx overflow enable" pos="4" rst="1">
  98576. <options>
  98577. <option name="Disable" value="0">
  98578. <comment>Disable (mask) Rx fifo overflow interrupt</comment>
  98579. </option>
  98580. <option name="Enable" value="1">
  98581. <comment>Enable Rx fifo overflow interrupt</comment>
  98582. </option>
  98583. </options>
  98584. <comment>Rx Fifo Overflow interrupt Enable</comment>
  98585. </bits>
  98586. <bits access="rw" name="rx cal bypass" pos="5" rst="1">
  98587. <options>
  98588. <option name="Enabled" value="0"/>
  98589. <option name="Bypassed" value="1"/>
  98590. </options>
  98591. <comment>Calibration bypass</comment>
  98592. </bits>
  98593. <bits access="rw" name="rx swap i_q" pos="6" rst="0">
  98594. <options>
  98595. <option name="NO" value="0">
  98596. <comment>No Swap</comment>
  98597. </option>
  98598. <option name="YES" value="1">
  98599. <comment>Swap I/Q</comment>
  98600. </option>
  98601. </options>
  98602. <comment>Rx swap I/Q</comment>
  98603. </bits>
  98604. <bits access="rw" name="rx force adc on" pos="7" rst="0">
  98605. <options>
  98606. <option name="NO" value="0">
  98607. <comment>No forced, Rx_On output controlled by TCO_RX_ON signal from the TCU</comment>
  98608. </option>
  98609. <option name="YES" value="1">
  98610. <comment>Forced ADC on;Rx_On output always high</comment>
  98611. </option>
  98612. </options>
  98613. <comment>Force Rx On. This bit is used only with the analog option.</comment>
  98614. </bits>
  98615. <bits access="rw" name="rx force dec on" pos="8" rst="0">
  98616. <options>
  98617. <option name="NO" value="0">
  98618. <comment>No forced, decimator controlled by Rx_dec_on signal from the TCU</comment>
  98619. </option>
  98620. <option name="YES" value="1">
  98621. <comment>Forced; decimator always on</comment>
  98622. </option>
  98623. </options>
  98624. <comment>Force Decimator On</comment>
  98625. </bits>
  98626. <bits access="w" name="rx force soc" pos="9" rst="no">
  98627. <comment>
  98628. Force start of calibation in receive mode
  98629. <br/>
  98630. Writing a 1 to this bit launch the calibration phase. Write only bit, this bit doesn't need to be cleared.
  98631. </comment>
  98632. </bits>
  98633. <bits access="w" name="rx fifo reset" pos="10" rst="no">
  98634. <comment>
  98635. Writing a 1 to this bit resets and flush the receive Fifo.
  98636. <br/>
  98637. Write only bit, this bit doesn't need to be cleared.
  98638. </comment>
  98639. </bits>
  98640. <bits access="rw" name="tx overflow enable" pos="16" rst="1">
  98641. <options>
  98642. <option name="Disable" value="0">
  98643. <comment>Disable (mask) Tx fifo overflow interrupt</comment>
  98644. </option>
  98645. <option name="Enable" value="1">
  98646. <comment>Enable Tx fifo overflow interrupt</comment>
  98647. </option>
  98648. </options>
  98649. <comment>Tx Fifo Overflow interrupt Enable</comment>
  98650. </bits>
  98651. <bits access="rw" name="tx underflow enable" pos="17" rst="1">
  98652. <options>
  98653. <option name="Disable" value="0">
  98654. <comment>Disable (mask) Tx fifo undeflow interrupt</comment>
  98655. </option>
  98656. <option name="Enable" value="1">
  98657. <comment>Enable Tx fifo underflow interrupt</comment>
  98658. </option>
  98659. </options>
  98660. <comment>Tx Fifo Underflow interrupt Enable:</comment>
  98661. </bits>
  98662. <bits access="rw" name="tx force dac on" pos="18" rst="0">
  98663. <options>
  98664. <option name="NO" value="0">
  98665. <comment>No forced, Tx_On output controlled by TCO_TX_ON signal from the TCU</comment>
  98666. </option>
  98667. <option name="YES" value="1">
  98668. <comment>Forced DAC on; Tx_On output always high</comment>
  98669. </option>
  98670. </options>
  98671. <comment>Force DAC On. This bit is used only with the analog option.</comment>
  98672. </bits>
  98673. <bits access="rw" name="tx force dac off" pos="19" rst="0">
  98674. <options>
  98675. <option name="NO" value="0">
  98676. <comment>No forced, Tx_On output controlled by TCO_TX_ON signal from the TCU</comment>
  98677. </option>
  98678. <option name="YES" value="1">
  98679. <comment>Forced DAC Off; Tx_On output always low</comment>
  98680. </option>
  98681. </options>
  98682. <comment>Force DAC Off. This bit is used only with the analog option.</comment>
  98683. </bits>
  98684. <bits access="rw" name="tx force oen" pos="20" rst="0">
  98685. <options>
  98686. <option name="NO" value="0">
  98687. <comment>No forced, Tx_Oen controlled by TCO_TX_OEN signal from the TCU</comment>
  98688. </option>
  98689. <option name="YES" value="1">
  98690. <comment>Forced; Tx_Oen always high, Low pass output in HZ</comment>
  98691. </option>
  98692. </options>
  98693. <comment>Force Tx Oen. This bit is used only with the analog option.</comment>
  98694. </bits>
  98695. <bits access="rw" name="tx force gmsk on" pos="21" rst="0">
  98696. <options>
  98697. <option name="NO" value="0">
  98698. <comment>No forced, transmit serial interface controlled by TCO_GMSK_ON signal from the TCU</comment>
  98699. </option>
  98700. <option name="YES" value="1">
  98701. <comment>Forced; serializer always enabled</comment>
  98702. </option>
  98703. </options>
  98704. <comment>Force GMSK On.</comment>
  98705. </bits>
  98706. <bits access="rw" name="tx swap i_q" pos="22" rst="0">
  98707. <options>
  98708. <option name="NO" value="0">
  98709. <comment>No Swap</comment>
  98710. </option>
  98711. <option name="YES" value="1">
  98712. <comment>Swap I/Q</comment>
  98713. </option>
  98714. </options>
  98715. <comment>Tx swap I/Q. This bit is used only with the analog option.</comment>
  98716. </bits>
  98717. <bits access="w" name="tx fifo reset" pos="23" rst="no">
  98718. <comment>
  98719. Writing a 1 to this bit resets and flush the transmit Fifo.
  98720. <br/>
  98721. Write only bit, this bit doesn.t need to be cleared.
  98722. </comment>
  98723. </bits>
  98724. <bits access="rw" name="digrf rx rate" pos="24" rst="1">
  98725. <options>
  98726. <option name="ONE" value="0">
  98727. <comment>One sample per symbol</comment>
  98728. </option>
  98729. <option name="TWO" value="1">
  98730. <comment>Two samples per symbol</comment>
  98731. </option>
  98732. </options>
  98733. <comment>Rx rate for DigRF interface. This bit is used only when DigRF is enabled (DigRF Enabled)</comment>
  98734. </bits>
  98735. <bits access="rw" name="digrf rx clk pol" pos="25" rst="1">
  98736. <comment>
  98737. Change the polarity of the DigRF Rx clock. This bit is used only when DigRF is enabled (DigRF Enabled)
  98738. <br/>
  98739. 0 = No inversion
  98740. <br/>
  98741. 1 = Invert clock polarity
  98742. </comment>
  98743. </bits>
  98744. <bits access="rw" name="digrf tx mode" pos="26" rst="1">
  98745. <options>
  98746. <option name="Stream" value="0"/>
  98747. <option name="Block" value="1"/>
  98748. </options>
  98749. <comment>Tx mode for the DigRF interface. This bit is used only when DigRF is enabled (DigRF Enabled)</comment>
  98750. </bits>
  98751. <bits access="rw" name="digrf tx clk pol" pos="27" rst="1">
  98752. <comment>
  98753. Change the polarity of the DigRF Rx clock. This bit is used only when DigRF is enabled (DigRF Enabled)
  98754. <br/>
  98755. 0 = No inversion
  98756. <br/>
  98757. 1 = Invert clock polarity
  98758. </comment>
  98759. </bits>
  98760. <bits access="rw" display="hex" name="digrf sample size" pos="30:28" rst="all1">
  98761. <comment>
  98762. Shift input sample in DigRF mode only.
  98763. <br/>
  98764. The Rx sample are on 16-bit, this field select a variable of bit among 16.
  98765. <br/>
  98766. 000 = 16-bit selected
  98767. <br/>
  98768. 001 = 15-bit selected
  98769. <br/>
  98770. 010 = 14-bit selected
  98771. <br/>
  98772. 011 = 13-bit selected
  98773. <br/>
  98774. 100 = 12-bit selected
  98775. </comment>
  98776. </bits>
  98777. <bits access="rw" display="hex" name="digrf alignement select" pos="31" rst="1">
  98778. <comment>
  98779. Select the sample alignement in DigRF mode only..
  98780. <br/>
  98781. 0 = MSB aligned sample
  98782. <br/>
  98783. 1 = LSB aligned sample
  98784. </comment>
  98785. </bits>
  98786. </reg>
  98787. <reg name="status" protect="r">
  98788. <bits access="r" name="rx fifo level" pos="4:0" rst="0">
  98789. <comment>Those bits indicate the number of data available in the Rx Fifo.</comment>
  98790. </bits>
  98791. <bits access="r" name="tx fifo level" pos="6:5" rst="0">
  98792. <comment>Those bits indicate the number of data available in the Tx Fifo. Those data will be sent.</comment>
  98793. </bits>
  98794. <bits access="r" name="rx overflow cause" pos="8" rst="0">
  98795. <comment>
  98796. Rx overflow cause register
  98797. <br/>
  98798. This bit indicates that an interruption was generated when the Rx fifo is overflow.
  98799. <br/>
  98800. This bit is cleared when the Rx_Overflow_Int field in the RF_IF_INTERRUPT_CLEAR register is written.
  98801. </comment>
  98802. </bits>
  98803. <bits access="r" name="tx overflow cause" pos="9" rst="0">
  98804. <comment>
  98805. Tx overflow cause register
  98806. <br/>
  98807. This bit indicates that an interruption was generated when the Tx fifo is overflow.
  98808. <br/>
  98809. This bit is cleared when the Tx_Overflow_Int field in the RF_IF_INTERRUPT_CLEAR register is written.
  98810. </comment>
  98811. </bits>
  98812. <bits access="r" name="tx underflow cause" pos="10" rst="0">
  98813. <comment>
  98814. Tx underflow cause register
  98815. <br/>
  98816. This bit indicates that an interruption was generated when the Tx fifo is underflow.
  98817. <br/>
  98818. This bit is cleared when the Tx_underflow_Int field in the RF_IF_INTERRUPT_CLEAR register is written.
  98819. </comment>
  98820. </bits>
  98821. <bits access="r" name="rx overflow status" pos="16" rst="0">
  98822. <comment>
  98823. This bit indicates that the receiver received a new sample when the FIFO was already full.
  98824. <br/>
  98825. The new sample is discarded. This bit is cleared when the Rx_Overflow_Int field in the RF_IF_INTERRUPT_CLEAR register is written
  98826. </comment>
  98827. </bits>
  98828. <bits access="r" name="tx overflow status" pos="17" rst="0">
  98829. <comment>
  98830. This bit indicates that the user tried to write on the FIFO while it was already full.
  98831. <br/>
  98832. This bit is cleared when the Tx_Overflow_Int field in the RF_IF_INTERRUPT_CLEAR register is written
  98833. </comment>
  98834. </bits>
  98835. <bits access="r" name="tx underflow status" pos="18" rst="0">
  98836. <comment>
  98837. This bit indicates that the modulator tried to read on the FIFO while it was empty.
  98838. <br/>
  98839. This bit is cleared when the Tx_Underflow_Int field in the RF_IF_INTERRUPT_CLEAR register is written
  98840. </comment>
  98841. </bits>
  98842. </reg>
  98843. <reg name="interruption_clear" protect="w">
  98844. <bits access="w" name="rx overflow" pos="0" rst="no">
  98845. <comment>Clear Rx Interrupt Overflow interrupt.</comment>
  98846. </bits>
  98847. <bits access="w" name="tx overflow" pos="1" rst="no">
  98848. <comment>Clear Tx Interrupt Overflow interrupt.</comment>
  98849. </bits>
  98850. <bits access="w" name="tx underflow" pos="2" rst="no">
  98851. <comment>Clear Tx Interrupt Underflow interrupt.</comment>
  98852. </bits>
  98853. </reg>
  98854. <reg count="4" name="tx burst descriptor" protect="rw">
  98855. <bits access="rw" name="nb symbols" pos="7:0" rst="0">
  98856. <comment>Number of symbol to transmit</comment>
  98857. </bits>
  98858. <bits access="rw" name="modulation" pos="16" rst="0">
  98859. <comment>0 for GMSK, 1 for 8PSK</comment>
  98860. </bits>
  98861. <bits access="rw" name="end burst" pos="24" rst="0">
  98862. <comment>Indicate an end of the transmit for this current burst</comment>
  98863. </bits>
  98864. </reg>
  98865. <reg name="rx offset" protect="r">
  98866. <bits access="r" display="hex" name="rx_offset_i" pos="15:0" rst="all0">
  98867. <comment>Rx offset measured after calibration for I channel</comment>
  98868. </bits>
  98869. <bits access="r" display="hex" name="rx_offset_q" pos="31:16" rst="all0">
  98870. <comment>Rx offset measured after calibratio for Q channel</comment>
  98871. </bits>
  98872. </reg>
  98873. <reg name="rx gain" protect="rw">
  98874. <bits access="rw" display="hex" name="rx_gain_dig" pos="9:0" rst="all0">
  98875. <comment>Rx Gain digital</comment>
  98876. </bits>
  98877. <bits access="rw" display="hex" name="rx_gain_ana" pos="12:10" rst="all0">
  98878. <comment>Rx Gain analog</comment>
  98879. </bits>
  98880. <bits access="rw" display="hex" name="rx_gain_en" pos="13" rst="all0">
  98881. <comment>Rx Gain enable</comment>
  98882. </bits>
  98883. </reg>
  98884. <hole size="192"/>
  98885. <reg name="rx_control" protect="w">
  98886. <bits access="w" name="enable_ctrl" pos="0" rst="no">
  98887. <comment>
  98888. Channel Enable, write one in this bit enable the channel.
  98889. <br/>
  98890. When the channel is enabled, for a peripheral to memory transfer
  98891. the DMA wait request from peripheral to start transfer.
  98892. </comment>
  98893. </bits>
  98894. <bits access="w" name="disable_ctrl" pos="1" rst="no">
  98895. <comment>
  98896. Channel Disable, write one in this bit disable the channel.
  98897. <br/>
  98898. When writing one in this bit, the current AHB transfer and current
  98899. APB transfer (if one in progress) is completed and the channel is then
  98900. disabled.
  98901. </comment>
  98902. </bits>
  98903. <bits access="rw" name="burst_size" pos="16" rst="1">
  98904. <comment>
  98905. Burst size on AHB bus
  98906. <br/>
  98907. 0 = Single access
  98908. <br/>
  98909. 1 = burst Access (4 words).
  98910. </comment>
  98911. </bits>
  98912. <bits access="rw" name="fifo_mode" pos="17" rst="1">
  98913. <comment>
  98914. Set FIFO mode .
  98915. <br/>
  98916. 0 = no fifo mode, transfer stop when the
  98917. current transfer counter reaches zero. Channel must be re-enabled for
  98918. future transfer.
  98919. <br/>
  98920. 1 = Fifo mode, when the current AHB address
  98921. counter reaches the end address of the FIFO. AHB address counter is
  98922. reloaded with the initial value. In FIFO mode channel is not disabled at
  98923. the end of the transfer.
  98924. </comment>
  98925. </bits>
  98926. </reg>
  98927. <reg name="rx_status" protect="r">
  98928. <bits access="r" name="enable_ctrl" pos="0" rst="0">
  98929. <options>
  98930. <option name="DISABLE" value="0"/>
  98931. <option name="ENABLE" value="1"/>
  98932. <default/>
  98933. </options>
  98934. <comment>In no fifo mode the channel is automatically disabled at the
  98935. end of the transfer. In fifo mode the channel is disabled only when
  98936. disabled write is performed in the control register.</comment>
  98937. </bits>
  98938. <bits access="r" name="fifo_empty" pos="1" rst="1">
  98939. <comment>When 1 the fifo is empty</comment>
  98940. </bits>
  98941. <bits access="r" name="cause_nb_htc" pos="2" rst="0">
  98942. <comment>Cause interrupt half tc when fifo mode is enable.</comment>
  98943. </bits>
  98944. <bits access="r" name="nb_htc" pos="3" rst="0">
  98945. <comment>Half of TC interrupt when fifo mode is enable status bit.</comment>
  98946. </bits>
  98947. <bits access="r" name="cause_itc" pos="4" rst="0">
  98948. <comment>Cause interrupt End of TC.</comment>
  98949. </bits>
  98950. <bits access="r" name="cause_ief" pos="5" rst="0">
  98951. <comment>Cause interrupt End of FIFO.</comment>
  98952. </bits>
  98953. <bits access="r" name="cause_ihtc" pos="6" rst="0">
  98954. <comment>Cause interrupt Half Transfer Count (This interruption is
  98955. generated when the IFC has transferred 96 word).</comment>
  98956. </bits>
  98957. <bits access="r" name="itc" pos="7" rst="0">
  98958. <comment>End of TC interrupt status bit.</comment>
  98959. </bits>
  98960. <bits access="r" name="ief" pos="8" rst="0">
  98961. <comment>End of FIFO interrupt status bit.</comment>
  98962. </bits>
  98963. <bits access="r" name="ihtc" pos="9" rst="0">
  98964. <comment>Half TC interrupt status bit.</comment>
  98965. </bits>
  98966. <bits access="r" name="cur_tc" pos="31:10" rst="0x3fffff">
  98967. <comment>Current value of transfer counter.</comment>
  98968. </bits>
  98969. </reg>
  98970. <reg name="rx_start_addr" protect="rw">
  98971. <bits access="rw" display="hex" name="start_addr" pos="31:2" rst="0x3FFFFFFF">
  98972. <comment>AHB Start Address.</comment>
  98973. </bits>
  98974. </reg>
  98975. <reg name="rx_end_addr" protect="rw">
  98976. <bits access="rw" display="hex" name="end_addr" pos="31:2" rst="0x3FFFFFFF">
  98977. <comment>The last page address of the FIFO, it is the first address not
  98978. used for the FIFO. The start address of the FIFO is specified by the
  98979. register AHB_ADDR and the last page address of the FIFO is specified by
  98980. this field. The size of the fifo (END_ADDR - START_ADDR) must be a
  98981. multiple of burst of 4x32-bits.</comment>
  98982. </bits>
  98983. </reg>
  98984. <reg name="rx_tc_reg" protect="rw">
  98985. <bits access="r" display="hex" name="tc_reg" pos="21:0" rst="0x3FFFFF">
  98986. <comment>
  98987. Transfer Count
  98988. <br/>
  98989. In no FIFO mode, this bit indicated
  98990. the transfer size in 32-bits word to perform. Up to 2^18 32-bits word per
  98991. transfer.
  98992. <br/>
  98993. In FIFO mode this field define, after how many
  98994. transfer an interrupt in generated.
  98995. </comment>
  98996. </bits>
  98997. </reg>
  98998. <reg name="rx_int_mask" protect="rw">
  98999. <bits access="rw" name="end_tc" pos="0" rst="0">
  99000. <comment>End TC Mask interrupt. When one this interrupt is
  99001. enabled.</comment>
  99002. </bits>
  99003. <bits access="rw" name="end_fifo" pos="1" rst="0">
  99004. <comment>END FIFO Mask interrupt. When one this interrupt is enabled.</comment>
  99005. </bits>
  99006. <bits access="rw" name="half_tc" pos="2" rst="0">
  99007. <comment>Half TC Mask interrupt. When one this interrupt is
  99008. enabled</comment>
  99009. </bits>
  99010. <bits access="rw" name="nb_half_tc" pos="3" rst="0">
  99011. <comment>NB Half TC Mask interrupt. only fifo mode is enabled, When one this interrupt is
  99012. enabled</comment>
  99013. </bits>
  99014. </reg>
  99015. <reg name="rx_int_clear" protect="rw">
  99016. <bits access="c" name="end_tc" pos="0" rst="0">
  99017. <comment>Write one to clear end of TC interrupt.</comment>
  99018. </bits>
  99019. <bits access="c" name="end_fifo" pos="1" rst="0">
  99020. <comment>Write one to clear end of FIFO interrupt.</comment>
  99021. </bits>
  99022. <bits access="c" name="half_fifo" pos="2" rst="0">
  99023. <comment>Write one to clear end of Half TC interrupt.</comment>
  99024. </bits>
  99025. <bits access="c" name="nb_half_fifo" pos="3" rst="0">
  99026. <comment>Write one to clear end of Half TC (the real one) interrupt.</comment>
  99027. </bits>
  99028. </reg>
  99029. <reg name="rx_cur_ahb_addr" protect="r">
  99030. <bits access="r" name="cur_ahb_addr" pos="31:0" rst="0x3ffe000">
  99031. <comment>Current AHB address value.</comment>
  99032. </bits>
  99033. </reg>
  99034. <reg name="tx_control" protect="w">
  99035. <bits access="w" name="enable_ctrl" pos="0" rst="no">
  99036. <comment>
  99037. Channel Enable, write one in this bit enable the channel.
  99038. <br/>
  99039. When the channel is enabled, for a peripheral to memory transfer
  99040. the DMA wait request from peripheral to start transfer.
  99041. </comment>
  99042. </bits>
  99043. <bits access="w" name="disable_ctrl" pos="1" rst="no">
  99044. <comment>
  99045. Channel Disable, write one in this bit disable the channel.
  99046. <br/>
  99047. When writing one in this bit, the current AHB transfer and current
  99048. APB transfer (if one in progress) is completed and the channel is then
  99049. disabled.
  99050. </comment>
  99051. </bits>
  99052. <bits access="rw" name="burst_size" pos="16" rst="1">
  99053. <comment>
  99054. Burst size on AHB bus
  99055. <br/>
  99056. 0 = Single access
  99057. <br/>
  99058. 1 = burst Access (4 words).
  99059. </comment>
  99060. </bits>
  99061. <bits access="rw" name="fifo_mode" pos="17" rst="1">
  99062. <comment>
  99063. Set FIFO mode .
  99064. <br/>
  99065. 0 = no fifo mode, transfer stop when the
  99066. current transfer counter reaches zero. Channel must be re-enabled for
  99067. future transfer.
  99068. <br/>
  99069. 1 = Fifo mode, when the current AHB address
  99070. counter reaches the end address of the FIFO. AHB address counter is
  99071. reloaded with the initial value. In FIFO mode channel is not disabled at
  99072. the end of the transfer.
  99073. </comment>
  99074. </bits>
  99075. </reg>
  99076. <reg name="tx_status" protect="r">
  99077. <bits access="r" name="enable_ctrl" pos="0" rst="0">
  99078. <options>
  99079. <option name="DISABLE" value="0"/>
  99080. <option name="ENABLE" value="1"/>
  99081. <default/>
  99082. </options>
  99083. <comment>In no fifo mode the channel is automatically disabled at the
  99084. end of the transfer. In fifo mode the channel is disabled only when
  99085. disabled write is performed in the control register.</comment>
  99086. </bits>
  99087. <bits access="r" name="fifo_empty" pos="1" rst="1">
  99088. <comment>When 1 the fifo is empty</comment>
  99089. </bits>
  99090. <bits access="r" name="cause_nb_htc" pos="2" rst="0">
  99091. <comment>Cause interrupt half tc when fifo mode is enable.</comment>
  99092. </bits>
  99093. <bits access="r" name="nb_htc" pos="3" rst="0">
  99094. <comment>Half of TC interrupt when fifo mode is enable status bit.</comment>
  99095. </bits>
  99096. <bits access="r" name="cause_itc" pos="4" rst="0">
  99097. <comment>Cause interrupt End of TC.</comment>
  99098. </bits>
  99099. <bits access="r" name="cause_ief" pos="5" rst="0">
  99100. <comment>Cause interrupt End of FIFO.</comment>
  99101. </bits>
  99102. <bits access="r" name="cause_ihtc" pos="6" rst="0">
  99103. <comment>Cause interrupt Half Transfer Count (This interruption is
  99104. generated when the IFC has transferred 96 word).</comment>
  99105. </bits>
  99106. <bits access="r" name="itc" pos="7" rst="0">
  99107. <comment>End of TC interrupt status bit.</comment>
  99108. </bits>
  99109. <bits access="r" name="ief" pos="8" rst="0">
  99110. <comment>End of FIFO interrupt status bit.</comment>
  99111. </bits>
  99112. <bits access="r" name="ihtc" pos="9" rst="0">
  99113. <comment>Half TC interrupt status bit.</comment>
  99114. </bits>
  99115. <bits access="r" name="cur_tc" pos="31:10" rst="0x3fffff">
  99116. <comment>Current value of transfer counter.</comment>
  99117. </bits>
  99118. </reg>
  99119. <reg name="tx_start_addr" protect="rw">
  99120. <bits access="rw" display="hex" name="start_addr" pos="31:2" rst="0x3FFFFFFF">
  99121. <comment>AHB Start Address.</comment>
  99122. </bits>
  99123. </reg>
  99124. <reg name="tx_end_addr" protect="rw">
  99125. <bits access="rw" display="hex" name="end_addr" pos="31:2" rst="0x3FFFFFFF">
  99126. <comment>The last page address of the FIFO, it is the first address not
  99127. used for the FIFO. The start address of the FIFO is specified by the
  99128. register AHB_ADDR and the last page address of the FIFO is specified by
  99129. this field. The size of the fifo (END_ADDR - START_ADDR) must be a
  99130. multiple of burst of 4x32-bits.</comment>
  99131. </bits>
  99132. </reg>
  99133. <reg name="tx_tc_reg" protect="rw">
  99134. <bits access="r" display="hex" name="tc_reg" pos="21:0" rst="0x3FFFFF">
  99135. <comment>
  99136. Transfer Count
  99137. <br/>
  99138. In no FIFO mode, this bit indicated
  99139. the transfer size in 32-bits word to perform. Up to 2^18 32-bits word per
  99140. transfer.
  99141. <br/>
  99142. In FIFO mode this field define, after how many
  99143. transfer an interrupt in generated.
  99144. </comment>
  99145. </bits>
  99146. </reg>
  99147. <reg name="tx_int_mask" protect="rw">
  99148. <bits access="rw" name="end_tc" pos="0" rst="0">
  99149. <comment>End TC Mask interrupt. When one this interrupt is
  99150. enabled.</comment>
  99151. </bits>
  99152. <bits access="rw" name="end_fifo" pos="1" rst="0">
  99153. <comment>END FIFO Mask interrupt. When one this interrupt is enabled.</comment>
  99154. </bits>
  99155. <bits access="rw" name="half_tc" pos="2" rst="0">
  99156. <comment>Half TC Mask interrupt. When one this interrupt is
  99157. enabled</comment>
  99158. </bits>
  99159. <bits access="rw" name="nb_half_tc" pos="3" rst="0">
  99160. <comment>NB Half TC Mask interrupt. only fifo mode is enabled, When one this interrupt is
  99161. enabled</comment>
  99162. </bits>
  99163. </reg>
  99164. <reg name="tx_int_clear" protect="rw">
  99165. <bits access="c" name="end_tc" pos="0" rst="0">
  99166. <comment>Write one to clear end of TC interrupt.</comment>
  99167. </bits>
  99168. <bits access="c" name="end_fifo" pos="1" rst="0">
  99169. <comment>Write one to clear end of FIFO interrupt.</comment>
  99170. </bits>
  99171. <bits access="c" name="half_fifo" pos="2" rst="0">
  99172. <comment>Write one to clear end of Half TC interrupt.</comment>
  99173. </bits>
  99174. <bits access="c" name="nb_half_fifo" pos="3" rst="0">
  99175. <comment>Write one to clear end of Half TC (the real one) interrupt.</comment>
  99176. </bits>
  99177. </reg>
  99178. <reg name="tx_cur_ahb_addr" protect="r">
  99179. <bits access="r" name="cur_ahb_addr" pos="31:0" rst="0x3ffe000">
  99180. <comment>Current AHB address value.</comment>
  99181. </bits>
  99182. </reg>
  99183. <reg name="rfif_ctrl" protect="rw">
  99184. <bits access="rw" display="hex" name="dump_en" pos="0" rst="0x0">
  99185. <comment>dump the 'data from dfe to nb core' to mem</comment>
  99186. </bits>
  99187. <bits access="rw" display="hex" name="dump_mode" pos="1" rst="0x0">
  99188. <comment>when the bit is 1, dump only when nb-core comes an pulse ,capture the set data numbers ,then stop
  99189. when the bit is 0, dump all bit normal dump mode</comment>
  99190. </bits>
  99191. <bits access="rw" display="hex" name="dump_downsample" pos="2" rst="0x0">
  99192. <comment>when the bit is 1, downsample enable
  99193. when the bit is 0, disable</comment>
  99194. </bits>
  99195. <bits access="rw" display="hex" name="feed_dl" pos="4" rst="0x0">
  99196. <comment>get data from mem, simu the data format from dfe to nb core</comment>
  99197. </bits>
  99198. <bits access="rw" display="hex" name="feed_ul" pos="5" rst="0x0">
  99199. <comment>get data from mem, simu the data format from nbcore to dfe</comment>
  99200. </bits>
  99201. <bits access="rw" display="hex" name="feed_speed_div" pos="23:8" rst="0x20">
  99202. <comment>feed data rate 1.92MHz=0x20 192KHz=0x140, 96KHz=0x280, 38.4KHz=0x640, 32KHz=0x780</comment>
  99203. </bits>
  99204. <bits access="r" display="hex" name="feed_fifo_empty" pos="24" rst="0x1">
  99205. <comment>fifo empty siganl</comment>
  99206. </bits>
  99207. <bits access="r" display="hex" name="dump_fifo_empty" pos="25" rst="0x1">
  99208. <comment>fifo empty signal</comment>
  99209. </bits>
  99210. <bits access="rw" display="hex" name="feed_fifo_clr" pos="26" rst="0x0">
  99211. <comment>clr feed fifo point</comment>
  99212. </bits>
  99213. <bits access="rw" display="hex" name="dump_fifo_clr" pos="27" rst="0x0">
  99214. <comment>clr dump fifo point</comment>
  99215. </bits>
  99216. <bits access="rw" display="hex" name="nb_debug" pos="31" rst="0x0">
  99217. <comment>when the bit is 1, nb use the rf_dma
  99218. when the bit is 0, 2g use the rf_dma</comment>
  99219. </bits>
  99220. </reg>
  99221. <reg name="dfe_filter_ctrl" protect="rw">
  99222. <bits access="rw" display="hex" name="bw_sel" pos="3:0" rst="0x0">
  99223. <comment>the bandwidth select signal</comment>
  99224. </bits>
  99225. <bits access="rw" display="hex" name="filter_bypass" pos="4" rst="0x1">
  99226. <comment>bypass the filter function to the data</comment>
  99227. </bits>
  99228. <bits access="rw" display="hex" name="iq_mismatch" pos="8" rst="0x0">
  99229. <comment>combine a unused data with I0 used as I0Q0, combine Q0I1 , used as I1Q1.
  99230. next goes on. the last Qn will be discarded.</comment>
  99231. </bits>
  99232. <bits access="rw" display="hex" name="rbdp_delay_sel" pos="15:12" rst="0xa">
  99233. <comment>set the delay of fclk_fordata to delay the rbdp_tx data</comment>
  99234. </bits>
  99235. <bits access="rw" display="hex" name="fclk_delay_sel" pos="19:16" rst="0x2">
  99236. <comment>set the delay of fclk external, only for the clk_phy gen fclk</comment>
  99237. </bits>
  99238. <bits access="rw" display="hex" name="fclk_source_sel" pos="20" rst="0x0">
  99239. <comment>1'b0 the source is fclk gen by clk_phy, 1'b1 the source is mclk</comment>
  99240. </bits>
  99241. </reg>
  99242. <hole size="192"/>
  99243. <reg name="nb_if_irsr" protect="rw">
  99244. <bits access="rw" display="hex" name="dump_ovfl" pos="0" rst="0x0">
  99245. <comment>dump_ovfl irq</comment>
  99246. </bits>
  99247. <bits access="rw" display="hex" name="dump_udfl" pos="1" rst="0x0">
  99248. <comment>dump_udfl irq</comment>
  99249. </bits>
  99250. <bits access="rw" display="hex" name="feed_ovfl" pos="2" rst="0x0">
  99251. <comment>feed_ovfl irq</comment>
  99252. </bits>
  99253. <bits access="rw" display="hex" name="feed_udfl" pos="3" rst="0x0">
  99254. <comment>feed_udfl irq</comment>
  99255. </bits>
  99256. <bits access="rw" display="hex" name="dump_ovfl_real" pos="4" rst="0x0">
  99257. <comment>dump_ovfl when ifc is still working irq</comment>
  99258. </bits>
  99259. <bits access="rw" display="hex" name="dump_udfl_real" pos="5" rst="0x0">
  99260. <comment>dump_udfl when ifc is still working irq</comment>
  99261. </bits>
  99262. </reg>
  99263. <reg name="nb_if_imr" protect="rw">
  99264. <bits access="rw" display="hex" name="dump_ovfl" pos="0" rst="0x0">
  99265. <comment>dump_ovfl mask</comment>
  99266. </bits>
  99267. <bits access="rw" display="hex" name="dump_udfl" pos="1" rst="0x0">
  99268. <comment>dump_udfl mask</comment>
  99269. </bits>
  99270. <bits access="rw" display="hex" name="feed_ovfl" pos="2" rst="0x0">
  99271. <comment>feed_ovfl mask</comment>
  99272. </bits>
  99273. <bits access="rw" display="hex" name="feed_udfl" pos="3" rst="0x0">
  99274. <comment>feed_udfl mask</comment>
  99275. </bits>
  99276. <bits access="rw" display="hex" name="dump_ovfl_real" pos="4" rst="0x0">
  99277. <comment>dump_ovfl when ifc is still working mask</comment>
  99278. </bits>
  99279. <bits access="rw" display="hex" name="dump_udfl_real" pos="5" rst="0x0">
  99280. <comment>dump_udfl when ifc is still working mask</comment>
  99281. </bits>
  99282. </reg>
  99283. <reg name="nb_if_isr" protect="rw">
  99284. <bits access="rw" display="hex" name="dump_ovfl" pos="0" rst="0x0">
  99285. <comment>dump_ovfl before mask irq source</comment>
  99286. </bits>
  99287. <bits access="rw" display="hex" name="dump_udfl" pos="1" rst="0x0">
  99288. <comment>dump_udfl before mask irq source</comment>
  99289. </bits>
  99290. <bits access="rw" display="hex" name="feed_ovfl" pos="2" rst="0x0">
  99291. <comment>feed_ovfl before mask irq source</comment>
  99292. </bits>
  99293. <bits access="rw" display="hex" name="feed_udfl" pos="3" rst="0x0">
  99294. <comment>feed_udfl before mask irq source</comment>
  99295. </bits>
  99296. <bits access="rw" display="hex" name="dump_ovfl_real" pos="4" rst="0x0">
  99297. <comment>dump_ovfl when ifc is still working irq source</comment>
  99298. </bits>
  99299. <bits access="rw" display="hex" name="dump_udfl_real" pos="5" rst="0x0">
  99300. <comment>dump_udfl when ifc is still working irq source</comment>
  99301. </bits>
  99302. </reg>
  99303. <reg name="nb_if_icr" protect="rw">
  99304. <bits access="rw" display="hex" name="dump_ovfl" pos="0" rst="0x0">
  99305. <comment>dump_ovfl clr irq</comment>
  99306. </bits>
  99307. <bits access="rw" display="hex" name="dump_udfl" pos="1" rst="0x0">
  99308. <comment>dump_udfl clr irq</comment>
  99309. </bits>
  99310. <bits access="rw" display="hex" name="feed_ovfl" pos="2" rst="0x0">
  99311. <comment>feed_ovfl clr irq</comment>
  99312. </bits>
  99313. <bits access="rw" display="hex" name="feed_udfl" pos="3" rst="0x0">
  99314. <comment>feed_udfl clr irq</comment>
  99315. </bits>
  99316. <bits access="rw" display="hex" name="dump_ovfl_real" pos="4" rst="0x0">
  99317. <comment>dump_ovfl when ifc is still working clr irq</comment>
  99318. </bits>
  99319. <bits access="rw" display="hex" name="dump_udfl_real" pos="5" rst="0x0">
  99320. <comment>dump_udfl when ifc is still working clr irq</comment>
  99321. </bits>
  99322. </reg>
  99323. </module>
  99324. </archive>
  99325. <archive relative="rf_spi.xml">
  99326. <var name="CMD_FIFO_LEN_BITS" value="5"/>
  99327. <var name="CMD_FIFO_LEN" value="20"/>
  99328. <var name="CMD_SIZE_BITS" value="8"/>
  99329. <var name="CMD_DATA_FIFO_LEN_BITS" value="4"/>
  99330. <var name="CMD_DATA_FIFO_LEN" value="exp2(CMD_DATA_FIFO_LEN_BITS)"/>
  99331. <var name="GAIN_TABLE_LEN_BITS" value="4"/>
  99332. <var name="GAIN_TABLE_LEN" value="15"/>
  99333. <var name="GAIN_SIZE_BITS" value="4"/>
  99334. <var name="RX_DATA_FIFO_LEN_BITS" value="2"/>
  99335. <var name="RX_DATA_FIFO_LEN" value="exp2(RX_DATA_FIFO_LEN_BITS)"/>
  99336. <module category="GGE_SYS" name="RF_SPI">
  99337. <reg name="ctrl" protect="rw">
  99338. <bits access="rw" name="enable" pos="0" rst="0">
  99339. <comment>
  99340. Enable the rf spi
  99341. <br/>
  99342. 1 = Enable
  99343. <br/>
  99344. 0 = Disable (will finish current command anyway)
  99345. </comment>
  99346. </bits>
  99347. <bits access="rw" name="cs_polarity" pos="1" rst="1">
  99348. <comment>
  99349. Chip select polarity
  99350. <br/>
  99351. 1 = the chip select is active low
  99352. <br/>
  99353. 0 = the chip select is active high
  99354. </comment>
  99355. </bits>
  99356. <bits access="rw" name="digrf_read" pos="2" rst="1">
  99357. <comment>
  99358. DigRF Read style mode
  99359. <br/>
  99360. 1 = DigRF Read style mode (read after CS disabled)
  99361. <br/>
  99362. 0 = SPI Read mode (read during write)
  99363. </comment>
  99364. </bits>
  99365. <bits access="rw" name="clocked_back2back" pos="3" rst="1">
  99366. <comment>
  99367. DigRF style clocked back to back mode
  99368. <br/>
  99369. 1 = clocked back to back transfers using turnarround timing only when more data are present in the FIFO.
  99370. <br/>
  99371. 0 = stop the clock between each access according to CS_End_Hold and CS_Pulse_Min timings
  99372. </comment>
  99373. </bits>
  99374. <bits access="rw" name="input_mode" pos="4" rst="1">
  99375. <comment>
  99376. Input mode
  99377. <br/>
  99378. 1 = Record input data to input FIFO
  99379. <br/>
  99380. 0 = No input data
  99381. </comment>
  99382. </bits>
  99383. <bits access="rw" name="clock_polarity" pos="5" rst="1">
  99384. <comment>
  99385. SPI Clock polarity
  99386. <br/>
  99387. 1 = the clock disabled level is high, and the first edge is a falling edge.
  99388. <br/>
  99389. 0 = the clock disabled level is low, and the first edge is a rising edge.
  99390. </comment>
  99391. </bits>
  99392. <bits access="rw" name="clock_delay" pos="7:6" rst="3">
  99393. <comment>
  99394. Transfer start to first edge delay
  99395. <br/>
  99396. value from 0 to 2 is the number of spi clock half period between the Transfer start and the first clock edge.
  99397. </comment>
  99398. </bits>
  99399. <bits access="rw" name="do_delay" pos="9:8" rst="3">
  99400. <comment>
  99401. Transfer start to first data out delay
  99402. <br/>
  99403. value from 0 to 2 is the number of spi clock half period between the Transfer start and the first data out.
  99404. </comment>
  99405. </bits>
  99406. <bits access="rw" name="di_delay" pos="11:10" rst="3">
  99407. <comment>
  99408. Transfer start to first data in sampled delay
  99409. <br/>
  99410. value from 0 to 3 is the number of spi clock half period between the Transfer start and the first data sampled in.
  99411. <br/>
  99412. The DI_Delay only specify the sampling time, for frame size, the counter is based on the DO_Delay even in DigRF read mode.
  99413. </comment>
  99414. </bits>
  99415. <bits access="rw" name="cs_delay" pos="13:12" rst="3">
  99416. <comment>
  99417. Transfer start to CS activation delay
  99418. <br/>
  99419. value from 0 to 3 is the number of spi clock half period between the Transfer start and the CS activation edge.
  99420. </comment>
  99421. </bits>
  99422. <bits access="rw" name="cs_end_hold" pos="15:14" rst="3">
  99423. <comment>
  99424. Transfer end to chip select deactivation delay
  99425. <br/>
  99426. value from 0 to 3 is the number of spi clock half period between the end of transfer (DO) and the CS deactivation edge.
  99427. <br/>
  99428. <Strong>Not used for Clocked_Back2Back mode</Strong>
  99429. </comment>
  99430. </bits>
  99431. <bits access="rw" name="frame_size" pos="20:16" rst="31">
  99432. <comment>
  99433. Number of data in the frame, or number of out data in DigRF read mode.
  99434. <br/>
  99435. The actual frame size is the value of this register + 1; valid value are 3 to 31 (frame size 4 to 32bits)
  99436. <br/>
  99437. The frame size is given for the number of data, the actual number of clock pulses might be greater. First if Clock_Delay &lt; DO_Delay an extra clock pulse is generated, second in case of DigRF read or back2back, some more clock pulses will be generated.
  99438. </comment>
  99439. <options>
  99440. <default/>
  99441. <shift/>
  99442. <mask/>
  99443. </options>
  99444. </bits>
  99445. <bits access="rw" name="cs_end_pulse" pos="23:22" rst="3">
  99446. <comment>
  99447. Chip select deactivation to new start of transfer minimum delay
  99448. <br/>
  99449. value from 0 to 3 is the number of spi clock half period between the CS deactivation and a new transfer start (transfer will start only if more data are available in the transmit FIFO)
  99450. <br/>
  99451. <Strong>Not used for Clocked_Back2Back mode</Strong>
  99452. </comment>
  99453. </bits>
  99454. <bits access="rw" name="input_frame_size" pos="28:24" rst="31">
  99455. <comment>
  99456. Frame Size For Input in DigRF input mode
  99457. <br/>
  99458. The actual frame size is the value of this register + 1; valid value are 3 to 31 (frame size 4 to 32bits)
  99459. </comment>
  99460. <options>
  99461. <default/>
  99462. <shift/>
  99463. <mask/>
  99464. </options>
  99465. </bits>
  99466. <bits access="rw" name="turnaround_time" pos="31:30" rst="3">
  99467. <comment>
  99468. TurnAround time: end of write frame to start of read frame delay (in cycles)
  99469. <br/>
  99470. value from 0 to 3 is the number of spi clock period between the end of the output frame (without the DO_Delay) and the Input Frame start.
  99471. <br/>
  99472. Also used for Clocked_Back2Back mode, when Clocked_Back2Back=1 and there is more data available in the transmit FIFO:
  99473. <br/>
  99474. value from 0 to 3 is the number of spi clock period between the end of the frame (without the DO_Delay) and the start of the new frame.
  99475. (It can also be seen as the number of spi clock period between the end of the last data bit and the start of the new data bit.)
  99476. </comment>
  99477. </bits>
  99478. </reg>
  99479. <reg name="status" protect="rw">
  99480. <bits access="r" name="active_status" pos="0" rst="0">
  99481. <comment>
  99482. The SPI activity status
  99483. <br/>
  99484. 1 = A transfer is in progress
  99485. <br/>
  99486. 0 = The transfer is done
  99487. </comment>
  99488. </bits>
  99489. <bits access="rc" name="error_cmd" pos="1" rst="0">
  99490. <comment>
  99491. Error status
  99492. <br/>
  99493. 1 = a new command (or gain) has been requested while a command was in progress.
  99494. <br/>
  99495. 0 = No error
  99496. <br/>
  99497. Write 1 to clear.
  99498. </comment>
  99499. </bits>
  99500. <bits access="rc" name="table_ovf" pos="6" rst="0">
  99501. <comment>
  99502. The Gain Table overflow status.
  99503. <br/>
  99504. 1 = Too many data has been written in the table
  99505. <br/>
  99506. Writing a 1 clear the overflow status.
  99507. </comment>
  99508. </bits>
  99509. <bits access="rc" name="table_udf" pos="7" rst="0">
  99510. <comment>
  99511. The Gain Table underflow status.
  99512. <br/>
  99513. 1 = a next gain request has been received while the read pointer was already at the top of the table.
  99514. <br/>
  99515. Writing a '1' clear the underflow status.
  99516. </comment>
  99517. </bits>
  99518. <bits access="r" name="cmd_level" pos="CMD_FIFO_LEN_BITS+7:8" rst="0">
  99519. <options>
  99520. <mask/>
  99521. <shift/>
  99522. </options>
  99523. <comment>Command FIFO level, number of command in the FIFO</comment>
  99524. </bits>
  99525. <bits access="rc" name="cmd_ovf" pos="14" rst="0">
  99526. <comment>
  99527. The command FIFO overflow status.
  99528. <br/>
  99529. 1 = Too many data has been written in the FIFO
  99530. <br/>
  99531. Writing a 1 clear the overflow status.
  99532. </comment>
  99533. </bits>
  99534. <bits access="rc" name="cmd_udf" pos="15" rst="0">
  99535. <comment>
  99536. The command FIFO underflow status.
  99537. <br/>
  99538. 1 = Data has been requested to read while the FIFO was empty
  99539. <br/>
  99540. Writing a 1 clear the underflow status.
  99541. </comment>
  99542. </bits>
  99543. <bits access="r" name="cmd_data_level" pos="CMD_DATA_FIFO_LEN_BITS+16:16" rst="0">
  99544. <options>
  99545. <mask/>
  99546. <shift/>
  99547. </options>
  99548. <comment>Command FIFO level, number of bytes in the FIFO</comment>
  99549. </bits>
  99550. <bits access="rc" name="cmd_data_ovf" pos="22" rst="0">
  99551. <comment>
  99552. The command data FIFO overflow status.
  99553. <br/>
  99554. 1 = Too many data has been written in the FIFO
  99555. <br/>
  99556. Writing a 1 clear the overflow status.
  99557. </comment>
  99558. </bits>
  99559. <bits access="rc" name="cmd_data_udf" pos="23" rst="0">
  99560. <comment>
  99561. The command data FIFO underflow status.
  99562. <br/>
  99563. 1 = Data has been requested to read while the FIFO was empty
  99564. <br/>
  99565. Writing a 1 clear the underflow status.
  99566. </comment>
  99567. </bits>
  99568. <bits access="r" name="rx_level" pos="RX_DATA_FIFO_LEN_BITS+24:24" rst="0">
  99569. <options>
  99570. <mask/>
  99571. <shift/>
  99572. </options>
  99573. <comment>Receive FIFO level, number of bytes in the FIFO</comment>
  99574. </bits>
  99575. <bits access="rc" name="rx_ovf" pos="30" rst="0">
  99576. <comment>
  99577. The receive FIFO overflow status.
  99578. <br/>
  99579. 1 = Too many data has been written in the FIFO
  99580. <br/>
  99581. Writing a 1 clear the overflow status.
  99582. </comment>
  99583. </bits>
  99584. <bits access="rc" name="rx_udf" pos="31" rst="0">
  99585. <comment>
  99586. The receive FIFO underflow status.
  99587. <br/>
  99588. 1 = Data has been requested to read while the FIFO was empty
  99589. <br/>
  99590. Writing a 1 clear the underflow status.
  99591. </comment>
  99592. </bits>
  99593. </reg>
  99594. <reg name="rx_data" protect="">
  99595. <bits access="rw" name="rx_data" pos="7:0" rst="no">
  99596. <comment>
  99597. Read in the receive FIFO
  99598. <br/>
  99599. Writing this register will write to Cmd_Data fifo (same as Cmd_Data register). This is because this address is used by the IFC channels to access the fifos.
  99600. </comment>
  99601. </bits>
  99602. </reg>
  99603. <reg name="command" protect="w">
  99604. <bits access="w" name="send_cmd" pos="0" rst="0">
  99605. <comment>Writing 1 send the next command in the Cmd FIFO (This replace the TCU next cmd signal)</comment>
  99606. </bits>
  99607. <bits access="w" name="flush_cmd_fifo" pos="8" rst="0">
  99608. <comment>
  99609. Writing 1 flush both Cmd, and cmd_data FIFO,
  99610. <Strong>don't do it when SPI is active (transfer in progress)</Strong>
  99611. </comment>
  99612. </bits>
  99613. <bits access="w" name="flush_rx_fifo" pos="16" rst="0">
  99614. <comment>
  99615. Writing 1 flush the receive data FIFO,
  99616. <Strong>don't do it when SPI is active (transfer in progress)</Strong>
  99617. </comment>
  99618. </bits>
  99619. <bits access="w" name="restart_gain" pos="24" rst="0">
  99620. <comment>
  99621. Writing 1 place the read pointer at the beginning of the gain table.
  99622. <Strong>don't do it when SPI is active (transfer in progress)</Strong>
  99623. </comment>
  99624. </bits>
  99625. <bits access="w" name="reload_gain" pos="28" rst="0">
  99626. <comment>Writing 1 place the write pointer at the beginning of the gain table allowing to fill the table.</comment>
  99627. </bits>
  99628. <bits access="rw" name="drive_zero" pos="31" rst="1">
  99629. <comment>Writing 1 change all the ouputs of the SPI interface to drive a logical '0'. This mode stops when a new command is requested to be send (by TCU) or when writting 0 to this register. This mode is useful when powering off the tranciever chip connected to the RF_SPI.</comment>
  99630. </bits>
  99631. </reg>
  99632. <reg name="cmd_size" protect="w">
  99633. <bits access="w" name="cmd_size" pos="CMD_SIZE_BITS-1:0" rst="no">
  99634. <comment>Write the size in bytes of the next command in the FIFO</comment>
  99635. </bits>
  99636. <bits access="w" name="cmd_mark" pos="31" rst="no">
  99637. <comment>
  99638. Write 1 to mark the command.
  99639. <br/>
  99640. Marked commands are discarded if Enable_Rf_Spi_Marked_Cmd is low in the tcu register.
  99641. </comment>
  99642. </bits>
  99643. </reg>
  99644. <reg name="cmd_data" protect="w">
  99645. <bits access="w" name="cmd_data" pos="7:0" rst="no">
  99646. <comment>Write in the Command data FIFO</comment>
  99647. </bits>
  99648. </reg>
  99649. <reg name="gain_size" protect="rw">
  99650. <bits access="rw" name="gain_size" pos="GAIN_SIZE_BITS-1:0" rst="0">
  99651. <comment>Size of a Gain command in bytes.</comment>
  99652. </bits>
  99653. </reg>
  99654. <reg name="gain_data" protect="w">
  99655. <bits access="w" name="gain_data" pos="7:0" rst="no">
  99656. <comment>Write in the Gain Table (the pointer auto increments)</comment>
  99657. </bits>
  99658. </reg>
  99659. <reg name="irq" protect="rw">
  99660. <bits access="rc" name="cmd_data_dma_done_cause" pos="0" rst="0">
  99661. <comment>
  99662. Cmd_Data_DMA_Done IRQ Cause bit
  99663. <br/>
  99664. 1 = the IRQ was triggered by the end of the DMA transfer to the cmd FIFO.
  99665. <br/>
  99666. To clear it write 1 in this bit or Cmd_Data_DMA_Done_Status bit.
  99667. </comment>
  99668. </bits>
  99669. <bits access="r" name="cmd_fifo_empty_cause" pos="2" rst="0">
  99670. <comment>
  99671. Cmd_FIFO_empty IRQ Cause bit
  99672. <br/>
  99673. 1 = the IRQ was triggered because the Cmd_FIFO is empty.
  99674. <br/>
  99675. To clear it, fill the FIFO.
  99676. </comment>
  99677. </bits>
  99678. <bits access="r" name="cmd_threshold_cause" pos="3" rst="0">
  99679. <comment>
  99680. Cmd_Threshold IRQ Cause bit
  99681. <br/>
  99682. 1 = the IRQ was triggered because the Cmd_FIFO level is below the Cmd_Threshold.
  99683. <br/>
  99684. To clear it, fill the FIFO.
  99685. </comment>
  99686. </bits>
  99687. <bits access="r" name="rx_fifo_full_cause" pos="4" rst="0">
  99688. <comment>
  99689. Rx_FIFO_full IRQ Cause bit
  99690. <br/>
  99691. 1 = the IRQ was triggered because the Rx_Data_FIFO is full.
  99692. <br/>
  99693. To clear it, read from the FIFO.
  99694. </comment>
  99695. </bits>
  99696. <bits access="r" name="rx_threshold_cause" pos="5" rst="0">
  99697. <comment>
  99698. Rx_Threshold IRQ Cause bit
  99699. <br/>
  99700. 1 = the IRQ was triggered because the Rx_Data_FIFO level is over the Rx_Threshold.
  99701. <br/>
  99702. To clear it, read from the FIFO.
  99703. </comment>
  99704. </bits>
  99705. <bits access="r" name="error_cause" pos="6" rst="0">
  99706. <comment>
  99707. Error IRQ Cause bit
  99708. <br/>
  99709. 1 = the IRQ was triggered because an error occured. Read the Status register to check the kind of error.
  99710. <br/>
  99711. To clear it, clear it in the Status register.
  99712. </comment>
  99713. </bits>
  99714. <bitgroup name="all_cause">
  99715. <entry ref="cmd_data_dma_done_cause"/>
  99716. <entry ref="cmd_fifo_empty_cause"/>
  99717. <entry ref="cmd_threshold_cause"/>
  99718. <entry ref="rx_fifo_full_cause"/>
  99719. <entry ref="rx_threshold_cause"/>
  99720. <entry ref="error_cause"/>
  99721. </bitgroup>
  99722. <bits access="rc" name="cmd_data_dma_done_status" pos="16" rst="0">
  99723. <comment>
  99724. Cmd_Data_DMA_Done IRQ Status bit
  99725. <br/>
  99726. 1 = the end of the DMA transfer to the cmd FIFO occured.
  99727. <br/>
  99728. To clear it write 1 in this bit or Cmd_Data_DMA_Done_Cause bit.
  99729. </comment>
  99730. </bits>
  99731. <bits access="r" name="cmd_fifo_empty_status" pos="18" rst="1">
  99732. <comment>
  99733. Cmd_FIFO_empty IRQ Status bit
  99734. <br/>
  99735. 1 = the Cmd_FIFO is empty.
  99736. </comment>
  99737. </bits>
  99738. <bits access="r" name="cmd_threshold_status" pos="19" rst="1">
  99739. <comment>
  99740. Cmd_Threshold IRQ Status bit
  99741. <br/>
  99742. 1 = the Cmd_FIFO level is bellow the Cmd_Threshold.
  99743. </comment>
  99744. </bits>
  99745. <bits access="r" name="rx_fifo_full_status" pos="20" rst="0">
  99746. <comment>
  99747. Rx_FIFO_full IRQ Status bit
  99748. <br/>
  99749. 1 = the Rx_Data_FIFO is full.
  99750. </comment>
  99751. </bits>
  99752. <bits access="r" name="rx_threshold_status" pos="21" rst="0">
  99753. <comment>
  99754. Rx_Threshold IRQ Status bit
  99755. <br/>
  99756. 1 = the Rx_Data_FIFO level is over the Rx_Threshold.
  99757. </comment>
  99758. </bits>
  99759. <bits access="r" name="error_status" pos="22" rst="0">
  99760. <comment>
  99761. Error IRQ Status bit
  99762. <br/>
  99763. 1 = an error occured. Read the Status register to check the kind of error.
  99764. </comment>
  99765. </bits>
  99766. <bitgroup name="all_status">
  99767. <entry ref="cmd_data_dma_done_status"/>
  99768. <entry ref="cmd_fifo_empty_status"/>
  99769. <entry ref="cmd_threshold_status"/>
  99770. <entry ref="rx_fifo_full_status"/>
  99771. <entry ref="rx_threshold_status"/>
  99772. <entry ref="error_status"/>
  99773. </bitgroup>
  99774. </reg>
  99775. <reg name="irq_mask" protect="rw">
  99776. <bits access="rw" name="cmd_data_dma_done_mask" pos="0" rst="0">
  99777. <comment>
  99778. Cmd_Data_DMA_Done IRQ Mask bit
  99779. <br/>
  99780. 1 = the Cmd_Data_DMA_Done IRQ is enabled
  99781. <br/>
  99782. 0 = the Cmd_Data_DMA_Done IRQ is disabled
  99783. </comment>
  99784. </bits>
  99785. <bits access="rw" name="cmd_fifo_empty_mask" pos="2" rst="0">
  99786. <comment>
  99787. Cmd_FIFO_empty IRQ Mask bit
  99788. <br/>
  99789. 1 = the Cmd_FIFO_empty IRQ is enabled
  99790. <br/>
  99791. 0 = the Cmd_FIFO_empty IRQ is disabled
  99792. </comment>
  99793. </bits>
  99794. <bits access="rw" name="cmd_threshold_mask" pos="3" rst="0">
  99795. <comment>
  99796. Cmd_Threshold IRQ Mask bit
  99797. <br/>
  99798. 1 = the Cmd_Threshold IRQ is enabled
  99799. <br/>
  99800. 0 = the Cmd_Threshold IRQ is disabled
  99801. </comment>
  99802. </bits>
  99803. <bits access="rw" name="rx_fifo_full_mask" pos="4" rst="0">
  99804. <comment>
  99805. Rx_FIFO_full IRQ Mask bit
  99806. <br/>
  99807. 1 = the Rx_FIFO_full IRQ is enabled
  99808. <br/>
  99809. 0 = the Rx_FIFO_full IRQ is disabled
  99810. </comment>
  99811. </bits>
  99812. <bits access="rw" name="rx_threshold_mask" pos="5" rst="0">
  99813. <comment>
  99814. Rx_Threshold IRQ Mask bit
  99815. <br/>
  99816. 1 = the Rx_Threshold IRQ is enabled
  99817. <br/>
  99818. 0 = the Rx_Threshold IRQ is disabled
  99819. </comment>
  99820. </bits>
  99821. <bits access="rw" name="error_mask" pos="6" rst="0">
  99822. <comment>
  99823. Error IRQ Mask bit
  99824. <br/>
  99825. 1 = the Error IRQ is enabled
  99826. <br/>
  99827. 0 = the Error IRQ is disabled
  99828. </comment>
  99829. </bits>
  99830. <bitgroup name="all_mask">
  99831. <entry ref="cmd_data_dma_done_mask"/>
  99832. <entry ref="cmd_fifo_empty_mask"/>
  99833. <entry ref="cmd_threshold_mask"/>
  99834. <entry ref="rx_fifo_full_mask"/>
  99835. <entry ref="rx_threshold_mask"/>
  99836. <entry ref="error_mask"/>
  99837. </bitgroup>
  99838. </reg>
  99839. <reg name="irq_threshold" protect="rw">
  99840. <bits access="r" name="cmd_threshold" pos="CMD_FIFO_LEN_BITS+7:8" rst="all1">
  99841. <comment>Command FIFO Threshold, number of command in the FIFO bellow which the Cmd_Threshold_IRQ is triggered.</comment>
  99842. </bits>
  99843. <bits access="r" name="rx_threshold" pos="RX_DATA_FIFO_LEN_BITS+23:24" rst="all1">
  99844. <comment>Receive FIFO Threshold, number of bytes in the FIFO above which the Rx_Threshold_IRQ is triggered.</comment>
  99845. </bits>
  99846. </reg>
  99847. <reg name="divider" protect="rw">
  99848. <bits access="rw" name="divider" pos="6:1" rst="0">
  99849. <comment>
  99850. Clock Divider
  99851. <br/>
  99852. The state machine clock is generated by dividing the system clock by the value of this register + 1. So the output clock is divided by (register + 1)*2
  99853. </comment>
  99854. <options>
  99855. <mask/>
  99856. <shift/>
  99857. </options>
  99858. </bits>
  99859. <bits access="rw" name="clock_limiter" pos="28" rst="0">
  99860. <comment>
  99861. When enabled the clock input to the divider is not the system clock, but a limited version of it: It cannot be above 52MHz, so the output clock will never be above 26MHz.
  99862. <br/>
  99863. for system clock of 104Mhz the clock input to the divider is 52Mhz, for system clock of 78Mhz the clock input to the divider is 39Mhz, for lower system clock value, the input to the divider is the system clock.
  99864. </comment>
  99865. <options>
  99866. <mask/>
  99867. <shift/>
  99868. <default/>
  99869. </options>
  99870. </bits>
  99871. </reg>
  99872. </module>
  99873. </archive>
  99874. <archive relative="sys_ifc.xml">
  99875. <include file="globals.xml"/>
  99876. <include file="gallite_generic_config.xml"/>
  99877. <var name="SYS_IFC_ADDR_ALIGN" value="0"/>
  99878. <var name="SYS_IFC_TC_LEN" value="23"/>
  99879. <var name="SYS_IFC_STD_CHAN_NB" value="SYS_IFC_NB_STD_CHANNEL"/>
  99880. <var name="SYS_IFC_RFSPI_CHAN" value="2"/>
  99881. <module category="GGE_SYS" name="SYS_IFC">
  99882. <reg name="get_ch" protect="">
  99883. <bits access="r" name="ch_to_use" pos="3:0" rst="0">
  99884. <comment>
  99885. This field indicates which standard channel to use.
  99886. <br/>
  99887. Before using a channel, the CPU read this register to know which channel must be used.
  99888. After reading this registers, the channel is to be regarded as
  99889. busy.
  99890. <br/>
  99891. After reading this register, if the CPU doesn't want to use
  99892. the specified channel, the CPU must write a disable in the control
  99893. register of the channel to release the channel.
  99894. <br/>
  99895. 0000 = use Channel0
  99896. <br/>
  99897. 0001 = use Channel1
  99898. <br/>
  99899. 0010 = use Channel2
  99900. <br/>
  99901. ...
  99902. <br/>
  99903. 0111 = use Channel7
  99904. <br/>
  99905. 1111 = all channels are busy
  99906. </comment>
  99907. <options>
  99908. <mask/>
  99909. <shift/>
  99910. <default/>
  99911. </options>
  99912. </bits>
  99913. </reg>
  99914. <reg name="dma_status" protect="r">
  99915. <bits access="r" name="ch_enable" pos="SYS_IFC_STD_CHAN_NB+SYS_IFC_RFSPI_CHAN-1:0" rst="0">
  99916. <comment>
  99917. This register indicates which channel is enabled. It is a copy
  99918. of the enable bit of the control register of each channel. One bit per
  99919. channel, for example:
  99920. <br/>
  99921. 0000_0000 = All channels disabled
  99922. <br/>
  99923. 0000_0001 = Ch0 enabled
  99924. <br/>
  99925. 0000_0010 = Ch1 enabled
  99926. <br/>
  99927. 0000_0100 = Ch2 enabled
  99928. <br/>
  99929. 0000_0101 = Ch0 and Ch2 enabled
  99930. <br/>
  99931. 0000_0111 = Ch0, Ch1 and Ch2 enabled
  99932. <br/>
  99933. 1111_1111 = all channels enabled
  99934. </comment>
  99935. </bits>
  99936. <bits access="r" name="ch_busy" pos="SYS_IFC_STD_CHAN_NB-1+16:16" rst="0">
  99937. <comment>This register indicates which standard channel is busy (this field doesn't include the RF_SPI channel). A standard channel is mark as busy, when a channel is enabled or a previous reading of the GET_CH register, the field CH_TO_USE indicates this channel. One bit per channel</comment>
  99938. </bits>
  99939. </reg>
  99940. <reg name="debug_status" protect="r">
  99941. <bits access="r" name="dbg_status" pos="0" rst="1">
  99942. <comment>
  99943. Debug Channel Status .
  99944. <br/>
  99945. 0= The debug channel is running
  99946. (not idle)
  99947. <br/>
  99948. 1= The debug channel is in idle mode
  99949. </comment>
  99950. </bits>
  99951. </reg>
  99952. <hole size="32"/>
  99953. <struct count="SYS_IFC_STD_CHAN_NB" name="std_ch">
  99954. <reg name="control" protect="rw">
  99955. <bits access="w" name="enable" pos="0" rst="no">
  99956. <comment>
  99957. Channel Enable, write one in this bit enable the channel.
  99958. <br/>
  99959. When the channel is enabled, for a peripheral to memory transfer
  99960. the DMA wait request from peripheral to start transfer.
  99961. </comment>
  99962. </bits>
  99963. <bits access="w" name="disable" pos="1" rst="no">
  99964. <comment>
  99965. Channel Disable, write one in this bit disable the channel.
  99966. <br/>
  99967. When writing one in this bit, the current AHB transfer and
  99968. current APB transfer (if one in progress) is completed and the channel
  99969. is then disabled.
  99970. </comment>
  99971. </bits>
  99972. <bits access="rw" name="ch_rd_hw_exch" pos="2" rst="0">
  99973. <comment>
  99974. Exchange the read data from fifo halfword MSB or LSB
  99975. <br/>
  99976. </comment>
  99977. </bits>
  99978. <bits access="rw" name="ch_wr_hw_exch" pos="3" rst="0">
  99979. <comment>
  99980. Exchange the write data to fifo halfword MSB or LSB
  99981. <br/>
  99982. </comment>
  99983. </bits>
  99984. <bits access="rw" name="autodisable" pos="4" rst="1">
  99985. <comment>
  99986. Set Auto-disable mode
  99987. <br/>
  99988. 0 = when TC reach zero the
  99989. channel is not automatically released.
  99990. <br/>
  99991. 1 = At the end of the
  99992. transfer when TC reach zero the channel is automatically disabled. the
  99993. current channel is released.
  99994. </comment>
  99995. </bits>
  99996. <bits access="rw" name="size" pos="5" rst="0">
  99997. <comment>
  99998. Peripheral Size
  99999. <br/>
  100000. 0= 8-bit peripheral
  100001. <br/>
  100002. 1= 32-bit peripheral
  100003. </comment>
  100004. </bits>
  100005. <bits access="rw" display="hex" name="req_src" pos="12:8" rst="0x7">
  100006. <options linkenum="Gge_Ifc_Request_IDs">
  100007. <shift/>
  100008. <mask/>
  100009. <default/>
  100010. </options>
  100011. <comment>Select DMA Request source</comment>
  100012. </bits>
  100013. <bits access="rw" name="flush" pos="16" rst="0">
  100014. <comment>
  100015. When one, flush the internal FIFO channel.
  100016. <br/>
  100017. This bit must be used only in case of Rx transfer. Until this bit is 1, the APB
  100018. request is masked. The flush doesn't release the channel.
  100019. <br/>
  100020. Before writting back this bit to zero the internal fifo must empty.
  100021. </comment>
  100022. </bits>
  100023. <bits access="rw" name="max_burst_length" pos="18:17" rst="00">
  100024. <comment>
  100025. Set the MAX burst length for channel 0,1.
  100026. This bit field is only used in channel 0~1, for channel 2~6, it is reserved.
  100027. <br/>
  100028. The 2'b10 mean burst max 16 2'b01 mean burst max 8, 00 mean burst max 4.
  100029. <br/>
  100030. .
  100031. </comment>
  100032. </bits>
  100033. </reg>
  100034. <reg name="status" protect="r">
  100035. <bits access="r" name="enable" pos="0" rst="0">
  100036. <comment>Enable bit, when '1' the channel is running</comment>
  100037. </bits>
  100038. <bits access="r" name="fifo_empty" pos="4" rst="1">
  100039. <comment>The internal channel fifo is empty</comment>
  100040. </bits>
  100041. </reg>
  100042. <reg name="start_addr" protect="rw">
  100043. <bits access="rw" display="hex" name="start_addr" pos="NB_BITS_ADDR-1:SYS_IFC_ADDR_ALIGN" rst="0xFFFFFFF">
  100044. <comment>
  100045. AHB Address. This field represent the start address of the
  100046. transfer.
  100047. <br/>
  100048. For a 32-bit peripheral, this address must be aligned 32-bit.
  100049. </comment>
  100050. </bits>
  100051. </reg>
  100052. <reg name="tc" protect="rw">
  100053. <bits access="rw" display="hex" name="tc" pos="SYS_IFC_TC_LEN-1:0" rst="0xFFFFFF">
  100054. <comment>
  100055. Transfer Count, this field indicated the transfer size in bytes to perform.
  100056. <br/>
  100057. During a transfer a write in this register add the new value to the current TC.
  100058. <br/>
  100059. A read of this register return the current current transfer count.
  100060. </comment>
  100061. </bits>
  100062. </reg>
  100063. </struct>
  100064. <hole size="32*4*(7-SYS_IFC_STD_CHAN_NB)"/>
  100065. <struct count="SYS_IFC_RFSPI_CHAN" name="rfspi_ch">
  100066. <reg name="ch_rfspi_control" protect="rw">
  100067. <bits access="s" name="enable" pos="0" rst="no">
  100068. <comment>
  100069. Channel Enable, write one in this bit enable the channel.
  100070. <br/>
  100071. This channel works only in fifo mode.
  100072. </comment>
  100073. </bits>
  100074. <bits access="c" name="disable" pos="1" rst="no">
  100075. <comment>Channel Disable, write one in this bit to disable the channel.</comment>
  100076. </bits>
  100077. </reg>
  100078. <reg name="ch_rfspi_status" protect="r">
  100079. <bits access="r" name="enable" pos="0" rst="0">
  100080. <comment>Enable bit, when '1' the channel is running</comment>
  100081. </bits>
  100082. <bits access="r" name="fifo_empty" pos="4" rst="1">
  100083. <comment>The internal channel fifo is empty</comment>
  100084. </bits>
  100085. <bits access="r" name="fifo_level" pos="12:8" rst="0">
  100086. <comment>Internal fifo level</comment>
  100087. </bits>
  100088. </reg>
  100089. <reg name="ch_rfspi_start_addr" protect="rw">
  100090. <bits access="rw" display="hex" name="start_ahb_addr" pos="NB_BITS_ADDR-1:SYS_IFC_ADDR_ALIGN" rst="0xFFFFFFF">
  100091. <comment>
  100092. AHB Start Address.
  100093. <br/>
  100094. This field represent the start address of the fifo.
  100095. The start address must 32-bit aligned.
  100096. </comment>
  100097. </bits>
  100098. </reg>
  100099. <reg name="ch_rfspi_end_addr" protect="rw">
  100100. <bits access="rw" display="hex" name="end_ahb_addr" pos="NB_BITS_ADDR-1:SYS_IFC_ADDR_ALIGN" rst="0xFFFFFFF">
  100101. <comment>
  100102. AHB End Address.
  100103. <br/>
  100104. This field represent the last address of the fifo (it is the first address not used in the fifo).
  100105. <br/>
  100106. The end address must 32-bit aligned.
  100107. </comment>
  100108. </bits>
  100109. </reg>
  100110. <reg name="ch_rfspi_tc" protect="rw">
  100111. <bits access="rw" display="hex" name="tc" pos="13:0" rst="0x0">
  100112. <comment>
  100113. Transfer Count, transfer size in bytes.
  100114. <br/>
  100115. This bit
  100116. indicated the transfer size in bytes to perform. Up to 16kbytes per
  100117. transfer.
  100118. <br/>
  100119. During a transfer a write in this register add the new
  100120. value to the current TC. A read of this register return the current
  100121. current transfer count.
  100122. </comment>
  100123. </bits>
  100124. </reg>
  100125. </struct>
  100126. </module>
  100127. </archive>
  100128. <archive relative="gge_sys_ctrl.xml">
  100129. <module category="GGE_SYS" name="GGE_SYS_CTRL">
  100130. <reg name="sys_ctrl" protect="rw">
  100131. <bits access="rw" name="sel_clk_tcu_gsm" pos="0" rst="0x1">
  100132. <comment>
  100133. 0: sel 26MHz clock.
  100134. <br/>
  100135. 1: sel 32KHz clock.
  100136. </comment>
  100137. </bits>
  100138. <bits access="rw" name="sel_clk_tcu_nb" pos="1" rst="0x1">
  100139. <comment>
  100140. 0: sel 61.44MHz clock.
  100141. <br/>
  100142. 1: sel 32KHz clock.
  100143. </comment>
  100144. </bits>
  100145. <bits access="rw" name="snap_config_gsm" pos="2" rst="0x0">
  100146. <comment>Number of snapshot.</comment>
  100147. </bits>
  100148. <bits access="rw" name="snap_config_nb" pos="3" rst="0x0">
  100149. <comment>Number of snapshot.</comment>
  100150. </bits>
  100151. <bits access="r" name="snapshot_gsm" pos="29:28" rst="0x0">
  100152. <comment>Value of snapshots, snapshot value is automatically incremented at frame interrupt. This snapshot counter wrap at the value given by Snapshot_Cfg.</comment>
  100153. <options>
  100154. <mask/>
  100155. <shift/>
  100156. </options>
  100157. </bits>
  100158. <bits access="r" name="snapshot_nb" pos="31:30" rst="0x0">
  100159. <comment>Value of snapshots, snapshot value is automatically incremented at frame interrupt. This snapshot counter wrap at the value given by Snapshot_Cfg.</comment>
  100160. <options>
  100161. <mask/>
  100162. <shift/>
  100163. </options>
  100164. </bits>
  100165. </reg>
  100166. <reg name="soft_rst_gge" protect="rw">
  100167. <comment>
  100168. 0: low active, assert reset.
  100169. <br/>
  100170. 1: high inactive, deassert reset.
  100171. </comment>
  100172. <bits access="rw" name="soft_rst_bcpu" pos="0" rst="0">
  100173. </bits>
  100174. <bits access="rw" name="soft_rst_bb_rom" pos="1" rst="1">
  100175. </bits>
  100176. <bits access="rw" name="soft_rst_bb_ram" pos="2" rst="1">
  100177. </bits>
  100178. <bits access="rw" name="soft_rst_bb_irq" pos="3" rst="1">
  100179. </bits>
  100180. <bits access="rw" name="soft_rst_a53" pos="4" rst="1">
  100181. </bits>
  100182. <bits access="rw" name="soft_rst_cipher" pos="5" rst="1">
  100183. </bits>
  100184. <bits access="rw" name="soft_rst_cp2" pos="6" rst="1">
  100185. </bits>
  100186. <bits access="rw" name="soft_rst_xcor" pos="7" rst="1">
  100187. </bits>
  100188. <bits access="rw" name="soft_rst_excor" pos="8" rst="1">
  100189. </bits>
  100190. <bits access="rw" name="soft_rst_vitac" pos="9" rst="1">
  100191. </bits>
  100192. <bits access="rw" name="soft_rst_evitac" pos="10" rst="1">
  100193. </bits>
  100194. <bits access="rw" name="soft_rst_itlv" pos="11" rst="1">
  100195. </bits>
  100196. <bits access="rw" name="soft_rst_cholk" pos="12" rst="1">
  100197. </bits>
  100198. <bits access="rw" name="soft_rst_cordic" pos="13" rst="1">
  100199. </bits>
  100200. <bits access="rw" name="soft_rst_rf_if" pos="14" rst="1">
  100201. </bits>
  100202. <bits access="rw" name="soft_rst_rf_spi_gsm" pos="15" rst="1">
  100203. </bits>
  100204. <bits access="rw" name="soft_rst_sys_wdt" pos="16" rst="1">
  100205. </bits>
  100206. <bits access="rw" name="soft_rst_tcu_gsm" pos="17" rst="1">
  100207. </bits>
  100208. <bits access="rw" name="soft_rst_nbiot" pos="18" rst="1">
  100209. </bits>
  100210. <bits access="rw" name="soft_rst_sys_ifc" pos="19" rst="1">
  100211. </bits>
  100212. <bits access="rw" name="soft_rst_rf_spi_nb" pos="20" rst="1">
  100213. </bits>
  100214. <bits access="rw" name="soft_rst_tcu_nb" pos="21" rst="1">
  100215. </bits>
  100216. <bits access="rw" name="soft_rst_bb_dma" pos="22" rst="1">
  100217. </bits>
  100218. <bits access="rw" name="soft_rst_global" pos="31" rst="1">
  100219. </bits>
  100220. </reg>
  100221. <reg name="ip_clk_disable_gge" protect="rw">
  100222. <comment>
  100223. 0: not disable ip_* clock.
  100224. <br/>
  100225. 1: disable ip_* clock.
  100226. </comment>
  100227. <bits access="rw" name="clk_dis_bcpu" pos="0" rst="0">
  100228. </bits>
  100229. <bits access="rw" name="clk_dis_bb_rom" pos="1" rst="0">
  100230. </bits>
  100231. <bits access="rw" name="clk_dis_bb_ram" pos="2" rst="0">
  100232. </bits>
  100233. <bits access="rw" name="clk_dis_a53" pos="4" rst="0">
  100234. </bits>
  100235. <bits access="rw" name="clk_dis_cp2" pos="6" rst="0">
  100236. </bits>
  100237. <bits access="rw" name="clk_dis_xcor" pos="7" rst="0">
  100238. </bits>
  100239. <bits access="rw" name="clk_dis_excor" pos="8" rst="0">
  100240. </bits>
  100241. <bits access="rw" name="clk_dis_vitac" pos="9" rst="0">
  100242. </bits>
  100243. <bits access="rw" name="clk_dis_evitac" pos="10" rst="0">
  100244. </bits>
  100245. <bits access="rw" name="clk_dis_itlv" pos="11" rst="0">
  100246. </bits>
  100247. <bits access="rw" name="clk_dis_cholk" pos="12" rst="0">
  100248. </bits>
  100249. <bits access="rw" name="clk_dis_rf_if" pos="14" rst="0">
  100250. </bits>
  100251. <bits access="rw" name="clk_dis_nbiot" pos="18" rst="0">
  100252. </bits>
  100253. <bits access="rw" name="clk_dis_sys_ifc" pos="19" rst="0">
  100254. </bits>
  100255. </reg>
  100256. <reg name="dbg_disable_acg_hclk" protect="rw">
  100257. <comment>
  100258. 0: enable hclk_* auto clock gating.
  100259. <br/>
  100260. 1: disable hclk_* auto clock gating.
  100261. </comment>
  100262. <bits access="rw" name="dis_acg_hclk_matrix" pos="0" rst="0">
  100263. </bits>
  100264. <bits access="rw" name="dis_acg_hclk_bcpu" pos="1" rst="0">
  100265. </bits>
  100266. <bits access="rw" name="dis_acg_hclk_bcpu_int" pos="2" rst="0">
  100267. </bits>
  100268. <bits access="rw" name="dis_acg_hclk_bb_rom" pos="3" rst="0">
  100269. </bits>
  100270. <bits access="rw" name="dis_acg_hclk_bb_ram" pos="4" rst="0">
  100271. </bits>
  100272. <bits access="rw" name="dis_acg_hclk_always" pos="5" rst="0">
  100273. </bits>
  100274. <bits access="rw" name="dis_acg_hclk_bb_decoder" pos="6" rst="0">
  100275. </bits>
  100276. <bits access="rw" name="dis_acg_hclk_rf_if" pos="7" rst="0">
  100277. </bits>
  100278. <bits access="rw" name="dis_acg_hclk_a53" pos="8" rst="0">
  100279. </bits>
  100280. <bits access="rw" name="dis_acg_hclk_cp2" pos="9" rst="0">
  100281. </bits>
  100282. <bits access="rw" name="dis_acg_hclk_cp2_reg" pos="10" rst="0">
  100283. </bits>
  100284. <bits access="rw" name="dis_acg_hclk_xcor" pos="11" rst="0">
  100285. </bits>
  100286. <bits access="rw" name="dis_acg_hclk_excor" pos="12" rst="0">
  100287. </bits>
  100288. <bits access="rw" name="dis_acg_hclk_vitac" pos="13" rst="0">
  100289. </bits>
  100290. <bits access="rw" name="dis_acg_hclk_evitac" pos="14" rst="0">
  100291. </bits>
  100292. <bits access="rw" name="dis_acg_hclk_itlv" pos="15" rst="0">
  100293. </bits>
  100294. <bits access="rw" name="dis_acg_hclk_cholk" pos="16" rst="0">
  100295. </bits>
  100296. <bits access="rw" name="dis_acg_hclk_nbiot" pos="17" rst="0">
  100297. </bits>
  100298. <bits access="rw" name="dis_acg_hclk_sys_ifc" pos="18" rst="0">
  100299. </bits>
  100300. <bits access="rw" name="dis_acg_hclk_sys_ifc_ch0" pos="19" rst="0">
  100301. </bits>
  100302. <bits access="rw" name="dis_acg_hclk_sys_ifc_ch1" pos="20" rst="0">
  100303. </bits>
  100304. <bits access="rw" name="dis_acg_hclk_sys_ifc_ch2" pos="21" rst="0">
  100305. </bits>
  100306. <bits access="rw" name="dis_acg_hclk_sys_ifc_ch3" pos="22" rst="0">
  100307. </bits>
  100308. <bits access="rw" name="dis_acg_hclk_bb_dma" pos="23" rst="0">
  100309. </bits>
  100310. </reg>
  100311. <reg name="dbg_disable_acg_pclk" protect="rw">
  100312. <comment>
  100313. 0: enable pclk_* auto clock gating.
  100314. <br/>
  100315. 1: disable pclk_* auto clock gating.
  100316. </comment>
  100317. <bits access="rw" name="dis_acg_pclk_bcpu" pos="0" rst="0">
  100318. </bits>
  100319. <bits access="rw" name="dis_acg_pclk_bb_rom" pos="1" rst="0">
  100320. </bits>
  100321. <bits access="rw" name="dis_acg_pclk_always" pos="2" rst="0">
  100322. </bits>
  100323. <bits access="rw" name="dis_acg_pclk_rf_if" pos="3" rst="0">
  100324. </bits>
  100325. <bits access="rw" name="dis_acg_pclk_mod_rf_if" pos="4" rst="0">
  100326. </bits>
  100327. <bits access="rw" name="dis_acg_pclk_always_rf_if" pos="5" rst="0">
  100328. </bits>
  100329. <bits access="rw" name="dis_acg_pclk_bb_irq" pos="6" rst="0">
  100330. </bits>
  100331. <bits access="rw" name="dis_acg_pclk_mod_bb_irq" pos="7" rst="0">
  100332. </bits>
  100333. <bits access="rw" name="dis_acg_pclk_cipher" pos="8" rst="0">
  100334. </bits>
  100335. <bits access="rw" name="dis_acg_pclk_mod_cipher" pos="9" rst="0">
  100336. </bits>
  100337. <bits access="rw" name="dis_acg_pclk_cp2" pos="10" rst="0">
  100338. </bits>
  100339. <bits access="rw" name="dis_acg_pclk_xcor" pos="11" rst="0">
  100340. </bits>
  100341. <bits access="rw" name="dis_acg_pclk_excor" pos="12" rst="0">
  100342. </bits>
  100343. <bits access="rw" name="dis_acg_pclk_always_excor" pos="13" rst="0">
  100344. </bits>
  100345. <bits access="rw" name="dis_acg_pclk_vitac" pos="14" rst="0">
  100346. </bits>
  100347. <bits access="rw" name="dis_acg_pclk_evitac" pos="15" rst="0">
  100348. </bits>
  100349. <bits access="rw" name="dis_acg_pclk_always_evitac" pos="16" rst="0">
  100350. </bits>
  100351. <bits access="rw" name="dis_acg_pclk_itlv" pos="17" rst="0">
  100352. </bits>
  100353. <bits access="rw" name="dis_acg_pclk_cholk" pos="18" rst="0">
  100354. </bits>
  100355. <bits access="rw" name="dis_acg_pclk_always_cholk" pos="19" rst="0">
  100356. </bits>
  100357. <bits access="rw" name="dis_acg_pclk_cordic" pos="20" rst="0">
  100358. </bits>
  100359. <bits access="rw" name="dis_acg_pclk_tcu_gsm" pos="21" rst="0">
  100360. </bits>
  100361. <bits access="rw" name="dis_acg_pclk_mod_tcu_gsm" pos="22" rst="0">
  100362. </bits>
  100363. <bits access="rw" name="dis_acg_pclk_always_tcu_gsm" pos="23" rst="0">
  100364. </bits>
  100365. <bits access="rw" name="dis_acg_pclk_rf_spi_gsm" pos="24" rst="0">
  100366. </bits>
  100367. <bits access="rw" name="dis_acg_pclk_always_rf_spi_gsm" pos="25" rst="0">
  100368. </bits>
  100369. <bits access="rw" name="dis_acg_pclk_rf_spi_per_gsm" pos="26" rst="0">
  100370. </bits>
  100371. <bits access="rw" name="dis_acg_pclk_always_sys_wdt" pos="27" rst="0">
  100372. </bits>
  100373. <bits access="rw" name="dis_acg_pclk_nbiot" pos="28" rst="0">
  100374. </bits>
  100375. <bits access="rw" name="dis_acg_pclk_sys_ifc" pos="29" rst="0">
  100376. </bits>
  100377. <bits access="rw" name="dis_acg_pclk_tcu_nb" pos="30" rst="0">
  100378. </bits>
  100379. <bits access="rw" name="dis_acg_pclk_mod_tcu_nb" pos="31" rst="0">
  100380. </bits>
  100381. </reg>
  100382. <reg name="dbg_disable_acg_clk" protect="rw">
  100383. <comment>
  100384. 0: enable pclk_* and clk_* auto clock gating.
  100385. <br/>
  100386. 1: disable pclk_* and clk_* auto clock gating.
  100387. </comment>
  100388. <bits access="rw" name="dis_acg_pclk_always_tcu_nb" pos="0" rst="0">
  100389. </bits>
  100390. <bits access="rw" name="dis_acg_pclk_rf_spi_nb" pos="1" rst="0">
  100391. </bits>
  100392. <bits access="rw" name="dis_acg_pclk_always_rf_spi_nb" pos="2" rst="0">
  100393. </bits>
  100394. <bits access="rw" name="dis_acg_pclk_rf_spi_per_nb" pos="3" rst="0">
  100395. </bits>
  100396. <bits access="rw" name="dis_acg_pclk_bb_dma" pos="4" rst="0">
  100397. </bits>
  100398. <bits access="rw" name="dis_acg_clk_rf_tx" pos="16" rst="0">
  100399. </bits>
  100400. <bits access="rw" name="dis_acg_clk_rf_rx" pos="17" rst="0">
  100401. </bits>
  100402. <bits access="rw" name="dis_acg_clk_phy_rf_if" pos="18" rst="0">
  100403. </bits>
  100404. <bits access="rw" name="dis_acg_clk_sys_timer" pos="19" rst="0">
  100405. </bits>
  100406. <bits access="rw" name="dis_acg_clk_nbiot" pos="20" rst="0">
  100407. </bits>
  100408. <bits access="rw" name="dis_acg_clk_tcu_gsm" pos="21" rst="0">
  100409. </bits>
  100410. <bits access="rw" name="dis_acg_clk_sys_wdt" pos="22" rst="0">
  100411. </bits>
  100412. <bits access="rw" name="dis_acg_clk_osc" pos="23" rst="0">
  100413. </bits>
  100414. <bits access="rw" name="dis_acg_clk_tcu_nb" pos="24" rst="0">
  100415. </bits>
  100416. </reg>
  100417. <reg name="cfg_ram" protect="rw">
  100418. <bits access="rw" name="cfg_ram" pos="31:0" rst="0x00020202">
  100419. <comment>cfg ram.</comment>
  100420. </bits>
  100421. </reg>
  100422. <reg name="debug_sel" protect="rw">
  100423. <bits access="rw" name="dbgmux_sel" pos="3:0" rst="0x0">
  100424. <comment>
  100425. select debug signal.
  100426. <br/>
  100427. 0: nbiot_dbgout
  100428. <br/>
  100429. 1: irq_dbg0 = {int_cholk, int_xcor, int_vitac, int_itlv, int_excor, int_evitac, rf_if_tx_irq, rf_if_rx_irq, rf_if_dbg_nb_irq,rf_if_dbg_2g_irq, 2'b0, int_a53, gsm_fint_h_bb, gsm_tcu_bcpu_irq_h};
  100430. <br/>
  100431. 2: irq_dbg1 = {5'h0, irq_aif_apb_h, nb_acc_int_dsp, nb_tx_int_dsp, nb_rx_int_dsp, nb_tcu_sync_irq_h, irq_mailbox_gge_h, nb_rf_spi_irq, gsm_rf_spi_irq};
  100432. <br/>
  100433. 3: irq_dbg2 = {int_cholk, int_xcor, int_vitac, int_itlv, int_excor, int_evitac, rf_if_tx_irq, rf_if_rx_irq, rf_if_dbg_nb_irq,rf_if_dbg_2g_irq, 2'b0, int_a53, nb_fint_h_bb, nb_tcu_bcpu_irq_h};
  100434. <br/>
  100435. 4: tcu_dbg0 = {gsm_tcu_lps_fint, gsm_lps_tcu_fint_masked, gsm_lps_tcu_stop_counters, gsm_lp_pu_ready, gsm_lp_pu_done, tcu_nb_fint, gsm_fint_h_sys, gsm_fint_h_bb, gsm_toggle_fint_x, gsm_toggle_fint_b,
  100436. <br/>
  100437. gsm_snap_config, gsm_send_spi_cmd_h, nb_o_tcu_trig, gsm_enable_rf_spi_marked_cmd_h};
  100438. <br/>
  100439. 5: tcu_dbg1 = {5'h0, gsm_send_spi_cmd_h, gsm_next_gain_h, gsm_first_gain_h, rx_soc_h, digrf_strobe_h, gsm_tcu_bcpu_irq_h, gsm_tcu_xcpu_irq_h, 1'b0, nb_tcu_sync_irq_h};
  100440. <br/>
  100441. 6: tcu_dbg2 = {4'h0, gsm_tco};
  100442. <br/>
  100443. 7: tcu_dbg3 = {nb_tcu_lps_fint, nb_lps_tcu_fint_masked, nb_lps_tcu_stop_counters, nb_lp_pu_ready, nb_lp_pu_done, tcu_nb_fint, nb_fint_h_sys, nb_fint_h_bb, nb_toggle_fint_x, nb_toggle_fint_b,
  100444. <br/>
  100445. nb_snap_config, nb_send_spi_cmd_h, nb_o_tcu_trig, nb_enable_rf_spi_marked_cmd_h};
  100446. <br/>
  100447. 8: tcu_dbg4 = {5'h0, nb_send_spi_cmd_h, nb_next_gain_h, nb_first_gain_h, rx_soc_h, digrf_strobe_h, nb_tcu_bcpu_irq_h, nb_tcu_xcpu_irq_h, 1'b0, nb_tcu_sync_irq_h};
  100448. <br/>
  100449. 9: tcu_dbg5 = {4'h0, nb_tco};
  100450. <br/>
  100451. deault: 16'hDABC;
  100452. </comment>
  100453. </bits>
  100454. <bits access="rw" name="dump_ctrl" pos="5:4" rst="0x0">
  100455. <comment>
  100456. select rfif dump signal.
  100457. <br/>
  100458. 0: dfe_dump_data
  100459. <br/>
  100460. 1: dfe_rx_data
  100461. <br/>
  100462. 2: dfe_tx_data
  100463. <br/>
  100464. deault: dfe_dump_data
  100465. </comment>
  100466. </bits>
  100467. </reg>
  100468. <reg name="bcpu_ctrl" protect="rw">
  100469. <bits access="ro" name="bcpu_cache_disable_reg" pos="1" rst="0x0">
  100470. <comment>when bcpu is sleep, can disable bcpu cache mem.</comment>
  100471. </bits>
  100472. <bits access="ro" name="autodisable_cache_h" pos="0" rst="0x0">
  100473. <comment>when bcpu not use cache, can disable bcpu cache mem.</comment>
  100474. </bits>
  100475. </reg>
  100476. </module>
  100477. </archive>
  100478. <archive relative="tcu.xml">
  100479. <module category="GGE_SYS" name="TCU">
  100480. <var name="NB_TCO" value="12"/>
  100481. <var name="NB_TCU_PROG_EVENTS" value="60"/>
  100482. <enum name="Internal_TCO_mapping">
  100483. <entry name="TCO_GMSK_ON" value="6">
  100484. <comment>Internal TCO mapping</comment>
  100485. </entry>
  100486. <entry name="TCO_TX_OEN"/>
  100487. <entry name="TCO_TX_ON"/>
  100488. <entry name="TCO_RX_ON"/>
  100489. <entry name="TCO_RX_DEC_ON"/>
  100490. <entry name="TCO_PDN"/>
  100491. </enum>
  100492. <enum name="TCU_Event">
  100493. <entry name="Clr_TCO_0" value="0">
  100494. <comment>
  100495. Clear TCO 0 : set the TCO 0 to the inactive state
  100496. <br/>
  100497. To clear TCO n, use event 2*n
  100498. </comment>
  100499. </entry>
  100500. <entry name="Set_TCO_0" value="1">
  100501. <comment>
  100502. Set TCO 0 : set the TCO 0 to the active state
  100503. <br/>
  100504. To set TCO n, use event 2*n+1
  100505. </comment>
  100506. </entry>
  100507. <entry name="Clr_TCO_1">
  100508. <comment>...</comment>
  100509. </entry>
  100510. <entry name="Set_TCO_1"/>
  100511. <entry name="Clr_TCO_2"/>
  100512. <entry name="Set_TCO_2"/>
  100513. <entry name="Clr_TCO_3"/>
  100514. <entry name="Set_TCO_3"/>
  100515. <entry name="Clr_TCO_4"/>
  100516. <entry name="Set_TCO_4"/>
  100517. <entry name="Clr_TCO_5"/>
  100518. <entry name="Set_TCO_5"/>
  100519. <entry name="Stop_GMSK" value="TCO_GMSK_ON*2">
  100520. <comment>stop modulation</comment>
  100521. </entry>
  100522. <entry name="Start_GMSK" value="TCO_GMSK_ON*2+1">
  100523. <comment>starts modulation and output on IQ DAC</comment>
  100524. </entry>
  100525. <entry name="HighZ_IQ_DAC" value="TCO_TX_OEN*2"/>
  100526. <entry name="Drive_IQ_DAC" value="TCO_TX_OEN*2+1"/>
  100527. <entry name="disable_IQ_DAC" value="TCO_TX_ON*2"/>
  100528. <entry name="enable_IQ_DAC" value="TCO_TX_ON*2+1"/>
  100529. <entry name="disable_IQ_ADC" value="TCO_RX_ON*2">
  100530. <comment>disable IQ ADC</comment>
  100531. </entry>
  100532. <entry name="enable_IQ_ADC" value="TCO_RX_ON*2+1">
  100533. <comment>enable IQ ADC</comment>
  100534. </entry>
  100535. <entry name="stop_RFin_record" value="TCO_RX_DEC_ON*2">
  100536. <comment>stop recording IQ samples</comment>
  100537. </entry>
  100538. <entry name="start_RFin_record" value="TCO_RX_DEC_ON*2+1">
  100539. <comment>start recording IQ samples</comment>
  100540. </entry>
  100541. <entry name="Clr_PDN" value="TCO_PDN*2">
  100542. <comment>Clear RF_PDN</comment>
  100543. </entry>
  100544. <entry name="Set_PDN" value="TCO_PDN*2+1">
  100545. <comment>Set RF_PDN</comment>
  100546. </entry>
  100547. <entry name="SEND_SPI_CMD" value="NB_TCO*2">
  100548. <comment>Send RF spi command</comment>
  100549. </entry>
  100550. <entry name="NEXT_GAIN"/>
  100551. <entry name="FIRST_GAIN"/>
  100552. <entry name="NEXT_FC"/>
  100553. <entry name="PA_RAMP0">
  100554. <comment>Start Ramp 0</comment>
  100555. </entry>
  100556. <entry name="PA_RAMP1">
  100557. <comment>Start Ramp 1</comment>
  100558. </entry>
  100559. <entry name="PA_RAMP2">
  100560. <comment>Start Ramp 2</comment>
  100561. </entry>
  100562. <entry name="PA_RAMP3">
  100563. <comment>Start Ramp 3</comment>
  100564. </entry>
  100565. <entry name="PA_RAMP4">
  100566. <comment>Start Ramp 4</comment>
  100567. </entry>
  100568. <entry name="RX_SOC"/>
  100569. <entry name="DIGRF_STB"/>
  100570. <entry name="BCPU_TCU_IRQ0">
  100571. <comment>Trigger BCPU TCU irq 0</comment>
  100572. </entry>
  100573. <entry name="BCPU_TCU_IRQ1">
  100574. <comment>Trigger BCPU TCU irq 1</comment>
  100575. </entry>
  100576. <entry name="XCPU_TCU_IRQ0">
  100577. <comment>Trigger XCPU TCU irq 0</comment>
  100578. </entry>
  100579. <entry name="XCPU_TCU_IRQ1">
  100580. <comment>Trigger XCPU TCU irq 1</comment>
  100581. </entry>
  100582. <entry name="WAKEUP_DONE">
  100583. <comment>End of the WakeUp Mode</comment>
  100584. </entry>
  100585. <entry name="RFSPI_START">
  100586. <comment>Start of Rf_spi Transfer</comment>
  100587. </entry>
  100588. <entry name="RFSPI_END">
  100589. <comment>End of Rf_spi Transfer</comment>
  100590. </entry>
  100591. <entry name="NO_EVENT" value="63"/>
  100592. </enum>
  100593. <reg name="ctrl" protect="rw">
  100594. <bits access="rw" display="hex" name="load_val" pos="13:0" rst="all1">
  100595. <comment>Value loaded into the TCU counter when the Load bit is set to 1</comment>
  100596. </bits>
  100597. <bits access="rw" name="enable" pos="16" rst="0">
  100598. <options>
  100599. <option name="Disabled" value="0"/>
  100600. <option name="Enabled" value="1"/>
  100601. </options>
  100602. </bits>
  100603. <bits access="w" name="load" pos="20" rst="0">
  100604. <comment>
  100605. Writing a 1 to this bit will load the TCU with the TCU loadval value
  100606. <br/>
  100607. Writing a 0 has no effect
  100608. </comment>
  100609. </bits>
  100610. <bits access="rw" name="nolatch" pos="28" rst="0">
  100611. <options>
  100612. <option name="Normal" value="0">
  100613. <comment>Normal Behavior, The programmation area is copied to the active area when the tcu wraps</comment>
  100614. </option>
  100615. <option name="Force_Only" value="1">
  100616. <comment>The programmation area is copied into the active area only when force latch is used</comment>
  100617. </option>
  100618. </options>
  100619. </bits>
  100620. <bits access="rw" name="wakeup_en" pos="30" rst="0">
  100621. <comment>
  100622. Writing a 1 to enable run tcu wakeup function in lowpower skip frame
  100623. <br/>
  100624. Writing a 0 to disable
  100625. </comment>
  100626. </bits>
  100627. </reg>
  100628. <reg name="wrap_val" protect="rw">
  100629. <bits access="rw" display="hex" name="wrap_val" pos="13:0" rst="all1">
  100630. <comment>
  100631. TCU counter wrap value.
  100632. <br/>
  100633. The TCU counter returns to 0 when this value is reached
  100634. </comment>
  100635. </bits>
  100636. </reg>
  100637. <reg name="cur_val" protect="rw">
  100638. <bits access="r" display="hex" name="cur_val" pos="13:0" rst="0">
  100639. <comment>TCU counter current value</comment>
  100640. </bits>
  100641. </reg>
  100642. <reg name="latch" protect="rw">
  100643. <bits access="w" cut="1" cutprefix="ForceLatch_Area" name="forcelatch" pos="7:0" rst="0">
  100644. <comment>Writing 1 transfer the programmed events to the active area.</comment>
  100645. </bits>
  100646. <bits access="w" name="force_noevent" pos="16" rst="0">
  100647. <comment>Writing 1 to this bit with one of the ForceLatch bit will force the corresponding Active Area to receive no events (i.e. clear it) instead of transfering the programmed area.</comment>
  100648. </bits>
  100649. <bits access="w" name="clearprogarea" pos="31" rst="0">
  100650. <comment>Writing 1 clears the Program Area</comment>
  100651. </bits>
  100652. </reg>
  100653. <reg name="setup" protect="rw">
  100654. <bits access="rw" cut="1" cutprefix="POL_TCO" name="tco_polarity" pos="NB_TCO-1:0" rst="0">
  100655. <comment>Configure the TCO polarity</comment>
  100656. <options>
  100657. <option name="Active High" value="0"/>
  100658. <option name="Active Low" value="1"/>
  100659. </options>
  100660. </bits>
  100661. <bits access="rc" name="write_error" pos="28" rst="0">
  100662. <comment>
  100663. Error Status: become 1 when writing to Program Area while the TCU is coping the Program Area to the Active Area. In this case the write is ignored.
  100664. <br/>
  100665. Write 1 to clear it.
  100666. </comment>
  100667. </bits>
  100668. <bits access="rw" name="debug_active" pos="31" rst="0">
  100669. <comment>This bit allows to access directly the active area for debug purposes</comment>
  100670. <options>
  100671. <option name="Normal" value="0"/>
  100672. <option name="Debug" value="1">
  100673. <comment>the active area is directly mapped instead of the program area.</comment>
  100674. </option>
  100675. </options>
  100676. </bits>
  100677. </reg>
  100678. <reg name="disable_event" protect="rw">
  100679. <bits access="rw" cut="1" cutprefix="Disable_TCO" name="disable_tco" pos="5:0" rst="all1">
  100680. <comment>
  100681. Writing 1 disable the events that affect corresponding TCO.
  100682. <br/>
  100683. Reading return the actual enable state.
  100684. </comment>
  100685. </bits>
  100686. <bits access="rw" cut="1" cutenum="Internal_TCO_mapping" cutprefix="Disable" name="disable_internal_tco" pos="11:6" rst="all1">
  100687. <comment>
  100688. Writing 1 disable the events that affect corresponding TCO.
  100689. <br/>
  100690. Reading return the actual enable state.
  100691. </comment>
  100692. </bits>
  100693. <bits access="rw" name="disable_send_spi_cmd" pos="12" rst="1">
  100694. <comment>
  100695. Writing 1 disable the events SEND_SPI_CMD.
  100696. <br/>
  100697. Reading return the actual enable state.
  100698. </comment>
  100699. </bits>
  100700. <bits access="rw" name="disable_next_gain" pos="13" rst="1">
  100701. <comment>
  100702. Writing 1 disable the events NEXT_GAIN.
  100703. <br/>
  100704. Reading return the actual enable state.
  100705. </comment>
  100706. </bits>
  100707. <bits access="rw" name="disable_first_gain" pos="14" rst="1">
  100708. <comment>
  100709. Writing 1 disable the events FIRST_GAIN.
  100710. <br/>
  100711. Reading return the actual enable state.
  100712. </comment>
  100713. </bits>
  100714. <bits access="rw" name="disable_next_fc" pos="15" rst="1">
  100715. <comment>
  100716. Writing 1 disable the events NEXT_FC.
  100717. <br/>
  100718. Reading return the actual enable state.
  100719. </comment>
  100720. </bits>
  100721. <bits access="rw" cut="1" cutprefix="Disable_Ramp" name="disable_ramp" pos="20:16" rst="all1">
  100722. <comment>
  100723. Writing 1 disable the corresponding Ramp event.
  100724. <br/>
  100725. Reading return the actual enable state.
  100726. </comment>
  100727. </bits>
  100728. <bits access="rw" name="disable_rx_soc" pos="21" rst="1">
  100729. <comment>
  100730. Writing 1 disable the events RX_SOC.
  100731. <br/>
  100732. Reading return the actual enable state.
  100733. </comment>
  100734. </bits>
  100735. <bits access="rw" name="disable_digrf_strobe" pos="22" rst="1">
  100736. <comment>
  100737. Writing 1 disable the events DIGRF_STB.
  100738. <br/>
  100739. Reading return the actual enable state.
  100740. </comment>
  100741. </bits>
  100742. <bits access="rw" cut="1" cutprefix="Disable_Bcpu_Irq" name="disable_bcpu_irq" pos="24:23" rst="all1">
  100743. <comment>
  100744. Writing 1 disable the corresponding BCPU TCU irq event.
  100745. <br/>
  100746. Reading return the actual enable state.
  100747. </comment>
  100748. </bits>
  100749. <bits access="rw" cut="1" cutprefix="Disable_Xcpu_Irq" name="disable_xcpu_irq" pos="26:25" rst="all1">
  100750. <comment>
  100751. Writing 1 disable the corresponding XCPU TCU irq event.
  100752. <br/>
  100753. Reading return the actual enable state.
  100754. </comment>
  100755. </bits>
  100756. <bits access="rw" name="disable_rfspi_start" pos="28" rst="1">
  100757. <comment>
  100758. Writing 1 disable the events RFSPI_START.
  100759. <br/>
  100760. Reading return the actual enable state.
  100761. </comment>
  100762. </bits>
  100763. <bits access="rw" name="disable_rfspi_end" pos="29" rst="1">
  100764. <comment>
  100765. Writing 1 disable the events RFSPI_END.
  100766. <br/>
  100767. Reading return the actual enable state.
  100768. </comment>
  100769. </bits>
  100770. <bits access="rw" name="disable_rf_spi_marked_cmd" pos="31" rst="1">
  100771. <comment>
  100772. Writing 1 disable the marked rf spi commands (cf RF SPI).
  100773. <br/>
  100774. Reading return the actual enable state.
  100775. </comment>
  100776. </bits>
  100777. </reg>
  100778. <reg name="enable_event" protect="rw">
  100779. <bits access="rs" cut="1" cutprefix="Enable_TCO" name="enable_tco" pos="5:0" rst="all1">
  100780. <comment>
  100781. Writing 1 enable the events that affect corresponding TCO.
  100782. <br/>
  100783. Reading return the actual enable state.
  100784. </comment>
  100785. </bits>
  100786. <bits access="rs" cut="1" cutenum="Internal_TCO_mapping" cutprefix="Enable" name="enable_internal_tco" pos="11:6" rst="all1">
  100787. <comment>
  100788. Writing 1 enable the events that affect corresponding TCO.
  100789. <br/>
  100790. Reading return the actual enable state.
  100791. </comment>
  100792. </bits>
  100793. <bits access="rs" name="enable_send_spi_cmd" pos="12" rst="1">
  100794. <comment>
  100795. Writing 1 enable the events SEND_SPI_CMD.
  100796. <br/>
  100797. Reading return the actual enable state.
  100798. </comment>
  100799. </bits>
  100800. <bits access="rs" name="enable_next_gain" pos="13" rst="1">
  100801. <comment>
  100802. Writing 1 enable the events NEXT_GAIN.
  100803. <br/>
  100804. Reading return the actual enable state.
  100805. </comment>
  100806. </bits>
  100807. <bits access="rs" name="enable_first_gain" pos="14" rst="1">
  100808. <comment>
  100809. Writing 1 enable the events FIRST_GAIN.
  100810. <br/>
  100811. Reading return the actual enable state.
  100812. </comment>
  100813. </bits>
  100814. <bits access="rs" name="enable_next_fc" pos="15" rst="1">
  100815. <comment>
  100816. Writing 1 enable the events NEXT_FC.
  100817. <br/>
  100818. Reading return the actual enable state.
  100819. </comment>
  100820. </bits>
  100821. <bits access="rs" cut="1" cutprefix="Enable_Ramp" name="enable_ramp" pos="20:16" rst="all1">
  100822. <comment>
  100823. Writing 1 enable the corresponding Ramp event.
  100824. <br/>
  100825. Reading return the actual enable state.
  100826. </comment>
  100827. </bits>
  100828. <bits access="rs" name="enable_rx_soc" pos="21" rst="1">
  100829. <comment>
  100830. Writing 1 enable the events RX_SOC.
  100831. <br/>
  100832. Reading return the actual enable state.
  100833. </comment>
  100834. </bits>
  100835. <bits access="rs" name="enable_digrf_strobe" pos="22" rst="1">
  100836. <comment>
  100837. Writing 1 enable the events DIGRF_STB.
  100838. <br/>
  100839. Reading return the actual enable state.
  100840. </comment>
  100841. </bits>
  100842. <bits access="rs" cut="1" cutprefix="Enable_Bcpu_Irq" name="enable_bcpu_irq" pos="24:23" rst="all1">
  100843. <comment>
  100844. Writing 1 enable the corresponding BCPU TCU irq event.
  100845. <br/>
  100846. Reading return the actual enable state.
  100847. </comment>
  100848. </bits>
  100849. <bits access="rs" cut="1" cutprefix="Enable_Xcpu_Irq" name="enable_xcpu_irq" pos="26:25" rst="all1">
  100850. <comment>
  100851. Writing 1 enable the corresponding XCPU TCU irq event.
  100852. <br/>
  100853. Reading return the actual enable state.
  100854. </comment>
  100855. </bits>
  100856. <bits access="rw" name="enable_rfspi_start" pos="28" rst="1">
  100857. <comment>
  100858. Writing 1 enable the events RFSPI_START.
  100859. <br/>
  100860. Reading return the actual enable state.
  100861. </comment>
  100862. </bits>
  100863. <bits access="rw" name="enable_rfspi_end" pos="29" rst="1">
  100864. <comment>
  100865. Writing 1 enable the events RFSPI_END.
  100866. <br/>
  100867. Reading return the actual enable state.
  100868. </comment>
  100869. </bits>
  100870. <bits access="rs" name="enable_rf_spi_marked_cmd" pos="31" rst="1">
  100871. <comment>
  100872. Writing 1 enable the marked rf spi commands (cf RF SPI).
  100873. <br/>
  100874. Reading return the actual enable state.
  100875. </comment>
  100876. </bits>
  100877. </reg>
  100878. <reg name="set_tco" protect="rw">
  100879. <bits access="s" cut="1" cutprefix="Set_TCO" name="set_tco" pos="NB_TCO-1:0" rst="0">
  100880. <comment>
  100881. Writing 1 set corresponding TCO to the active state (The actual line state also depends on TCO_Polarity).
  100882. <br/>
  100883. Reading returns the actual state of all TCOs.
  100884. </comment>
  100885. </bits>
  100886. </reg>
  100887. <reg name="clr_tco" protect="rw">
  100888. <bits access="c" cut="1" cutprefix="Clr_TCO" name="clr_tco" pos="NB_TCO-1:0" rst="0">
  100889. <comment>
  100890. Writing 1 set corresponding TCO to the inactive state (The actual line state also depends on TCO_Polarity).
  100891. <br/>
  100892. Reading returns the actual state of all TCOs.
  100893. </comment>
  100894. </bits>
  100895. </reg>
  100896. <reg name="cfg_clk_div" protect="rw">
  100897. <bits access="rw" name="tcu_clk_same_sys" pos="29" rst="0">
  100898. <comment>Enable Clk_TCU same with Clk_Sys.</comment>
  100899. <options>
  100900. <option name="Disabled" value="0"/>
  100901. <option name="Enabled" value="1"/>
  100902. </options>
  100903. </bits>
  100904. <bits access="rw" name="enable_dai_simple_208k" pos="30" rst="0">
  100905. <comment>Enable the 208kHz pulse generation for DAI Simple. (!) When enabling the clock field Enable_Qbit should also be enabled.</comment>
  100906. <options>
  100907. <option name="Disabled" value="0"/>
  100908. <option name="Enabled" value="1"/>
  100909. </options>
  100910. </bits>
  100911. <bits access="rw" name="enable_qbit" pos="31" rst="0">
  100912. <comment>Enable the Quarter bit generation (required for normal TCU operation)</comment>
  100913. <options>
  100914. <option name="Disabled" value="0"/>
  100915. <option name="Enabled" value="1"/>
  100916. </options>
  100917. </bits>
  100918. </reg>
  100919. <reg name="tcu_irq" protect="rw">
  100920. <bits access="rc" name="tcu_sync_done_cause" pos="0" rst="0">
  100921. <comment>
  100922. 1 when the IRQ was triggered because the tcu counter synchronization is done.
  100923. <br/>
  100924. Write 1 in cause or status bit to clear.
  100925. </comment>
  100926. </bits>
  100927. <bitgroup name="tcu_irq_cause">
  100928. <entry ref="tcu_sync_done_cause"/>
  100929. </bitgroup>
  100930. <bits access="rc" name="tcu_sync_done_status" pos="16" rst="0">
  100931. <comment>
  100932. 1 when the tcu counter synchronization is done.
  100933. <br/>
  100934. Write 1 in cause or status bit to clear.
  100935. </comment>
  100936. </bits>
  100937. <bitgroup name="tcu_irq_status">
  100938. <entry ref="tcu_sync_done_status"/>
  100939. </bitgroup>
  100940. </reg>
  100941. <reg name="tcu_irq_mask" protect="rw">
  100942. <bits access="rw" name="tcu_sync_done_mask" pos="0" rst="0">
  100943. <comment>when 1 the LPS_IRQ_TCU_Sync_Done is enabled.</comment>
  100944. </bits>
  100945. <bitgroup name="tcu_irq_mask">
  100946. <entry ref="tcu_sync_done_mask"/>
  100947. </bitgroup>
  100948. </reg>
  100949. <reg name="global_sync_ctrl" protect="rw">
  100950. <bits access="rw" name="tcu_sync_enable" pos="0" rst="0">
  100951. <comment>enable sync tcu counter to global counter function.</comment>
  100952. </bits>
  100953. <bits access="rw" name="tcu_sync_value" pos="15:2" rst="0">
  100954. <comment>tcu counter load value when synchronized.</comment>
  100955. </bits>
  100956. </reg>
  100957. <reg name="tco_dbg_sel" protect="rw">
  100958. <bits access="rw" name="tco_dbg0_sel" pos="3:0" rst="0">
  100959. </bits>
  100960. <bits access="rw" name="tco_dbg1_sel" pos="7:4" rst="0">
  100961. </bits>
  100962. </reg>
  100963. <reg name="rfspi_conflict_val" protect="rw">
  100964. <bits access="r" display="hex" name="rfspi_conflict_val" pos="13:0" rst="0">
  100965. <comment>TCU counter value when rfspi conflict happen</comment>
  100966. </bits>
  100967. </reg>
  100968. <hole size="1568"/>
  100969. <reg count="NB_TCU_PROG_EVENTS" name="event" protect="rw">
  100970. <bits access="rw" name="event_time" pos="13:0" rst="all1">
  100971. <comment>The event Id will be executed when the TCU counter reaches the value programmed in Event time field of this register.</comment>
  100972. </bits>
  100973. <bits access="rw" name="event_id" pos="21:16" rst="all1">
  100974. <comment>
  100975. Event to be executed when the TCU counter reaches the programmed event time.
  100976. <br/>
  100977. </comment>
  100978. <options linkenum="TCU_Event">
  100979. <default/>
  100980. </options>
  100981. </bits>
  100982. </reg>
  100983. </module>
  100984. </archive>
  100985. <archive relative="vitac.xml">
  100986. <include file="globals.xml"/>
  100987. <module category="GGE_SYS" name="VITAC">
  100988. <reg name="command" protect="rw">
  100989. <bits access="rw" name="start_equ" pos="0" rst="0x0">
  100990. <comment>Writing a '1' in this register triggers a Viterbi Equalization
  100991. process. Ignored if any Viterbi process is already ongoing. Auto-reset.</comment>
  100992. </bits>
  100993. <bits access="rw" name="start_dec" pos="1" rst="0x0">
  100994. <comment>Writing a '1' in this register triggers a Viterbi Decoding
  100995. process. Ignored if any Viterbi process is already ongoing. Auto-reset.</comment>
  100996. </bits>
  100997. <bits access="rw" name="start_tb" pos="2" rst="0x0">
  100998. <comment>Writing a '1' in this register triggers the TraceBack process.
  100999. Ignored if any Viterbi process is already ongoing. Auto-reset.</comment>
  101000. </bits>
  101001. <bits access="rw" name="int_mask" pos="3" rst="0x0">
  101002. <comment>When this bit is set, it enables the generation of the
  101003. VITAC_DONE_H interrupt.</comment>
  101004. </bits>
  101005. <bits access="rw" name="punctured" pos="4" rst="0x0">
  101006. <comment>Indicates whether a puncturing scheme has to be used during
  101007. decoding. If this bit is set to '0', the code is assumed unpunctured and
  101008. no puncturing matrix is needed.</comment>
  101009. </bits>
  101010. <bits access="rw" name="nb_states" pos="6:5" rst="0x0">
  101011. <comment>
  101012. This field sets the number of states of the Trellis:
  101013. <br/>
  101014. &quot;00&quot;: 16 states
  101015. <br/>
  101016. &quot;01&quot;: 32 states
  101017. <br/>
  101018. &quot;10&quot;: 64 states
  101019. <br/>
  101020. &quot;11&quot;: reserved
  101021. </comment>
  101022. </bits>
  101023. <bits access="rw" name="bkwd_trellis" pos="7" rst="0x0">
  101024. <comment>When this bit is set, the channel symbols are treated in the
  101025. reverse order, i.e. CH_SYMB_ADDR represents the end of the buffer and
  101026. the symbols are read out backward.</comment>
  101027. </bits>
  101028. <bits access="rw" name="code_rate" pos="10:8" rst="0x0">
  101029. <comment>
  101030. This field sets the convolutional code rate for decoding:
  101031. <br/>
  101032. &quot;010&quot;: 1/2 rate
  101033. <br/>
  101034. &quot;011&quot;: 1/3 rate
  101035. <br/>
  101036. &quot;100&quot;: 1/4 rate
  101037. <br/>
  101038. &quot;101&quot;: 1/5 rate
  101039. <br/>
  101040. &quot;110&quot;: 1/6 rate
  101041. <br/>
  101042. others: reserved
  101043. </comment>
  101044. </bits>
  101045. <bits access="rw" name="bm_shift_lev" pos="14:11" rst="0x0">
  101046. <comment>
  101047. This field sets the amount of shift right applied at the output
  101048. of the equalizer BM calculation:
  101049. <br/>
  101050. &quot;0000&quot;: BM = OUT[30:19]
  101051. <br/>
  101052. &quot;0001&quot;: BM = OUT[29:18]
  101053. <br/>
  101054. ...
  101055. <br/>
  101056. &quot;1111&quot;: BM = OUT[15:4]
  101057. </comment>
  101058. </bits>
  101059. <bits access="rw" name="sv_shift_lev" pos="18:15" rst="0x0">
  101060. <comment>
  101061. This field sets the amount of shift right applied to the
  101062. difference of the two metrics arriving at a node to create a Softvalue:
  101063. <br/>
  101064. &quot;0000&quot;: SoftVal = DELTA[15:9]
  101065. <br/>
  101066. &quot;0001&quot;: SoftVal =
  101067. DELTA[14:8]
  101068. <br/>
  101069. ...
  101070. <br/>
  101071. &quot;1101&quot;: SoftVal = DELTA[2:0]&amp;&quot;0000&quot;
  101072. <br/>
  101073. others:
  101074. reserved
  101075. </comment>
  101076. </bits>
  101077. <bits access="rw" name="nb_symbols" pos="28:20" rst="0x0">
  101078. <comment>Number of symbols to be Equalized / Decoded. Auto decrement.</comment>
  101079. </bits>
  101080. </reg>
  101081. <reg name="status" protect="r">
  101082. <bits access="r" name="equ_pending" pos="0" rst="0x0">
  101083. <comment>This bit is high when an equalization process is ongoing. It
  101084. stays high when the module is stalled during operation.</comment>
  101085. </bits>
  101086. <bits access="r" name="dec pending" pos="1" rst="0x0">
  101087. <comment>This bit is high when an decoding process is ongoing. It stays
  101088. high when the module is stalled during operation.</comment>
  101089. </bits>
  101090. <bits access="r" name="tb_pending" pos="2" rst="0x0">
  101091. <comment>This bit is high when an traceback process is ongoing. It stays
  101092. high when the module is stalled during operation.</comment>
  101093. </bits>
  101094. <bits access="r" name="nb_rescales" pos="7:4" rst="0x0">
  101095. <comment>
  101096. After a Viterbi process, this field reports the number of
  101097. rescaling operations that have been performed along the trellis.
  101098. <br/>
  101099. This field is reset at every new Viterbi process.
  101100. </comment>
  101101. </bits>
  101102. </reg>
  101103. <reg name="ch_symb_addr" protect="rw">
  101104. <bits access="rw" name="addr" pos="BB_SRAM_ADDR_WIDTH+1:2" rst="0x0">
  101105. <comment>
  101106. This is the start address of the channel symbols buffer in
  101107. SRAM. For Equalization channel symbols are the sampled RF samples
  101108. (2x12-bits packed complex values), and for Decoding channel symbols are
  101109. a frame of softvalues (4x8-bits packed).
  101110. <br/>
  101111. This address must be
  101112. 4-bytes aligned, bits[1:0] will be ignored.
  101113. </comment>
  101114. </bits>
  101115. </reg>
  101116. <reg name="exp_symb_addr" protect="rw">
  101117. <bits access="rw" name="addr" pos="BB_SRAM_ADDR_WIDTH+1:2" rst="0x0">
  101118. <comment>
  101119. For Equalization, this is the base address of the partial sum
  101120. terms buffer in SRAM. (2x12-bits packed complex values)
  101121. <br/>
  101122. For
  101123. Decoding, this is the base address of the puncturing matrix.
  101124. <br/>
  101125. This
  101126. address must be 4-bytes aligned, bits[1:0] will be ignored.
  101127. </comment>
  101128. </bits>
  101129. </reg>
  101130. <reg name="pm_base_addr" protect="rw">
  101131. <bits access="rw" name="addr" pos="BB_SRAM_ADDR_WIDTH+1:2" rst="0x0">
  101132. <comment>
  101133. This is the base address in SRAM of the Path Metrics buffer.
  101134. The VITAC will read and update PMs according to the scheme given in
  101135. 1.2.1.2. (2x16-bits packed values).
  101136. <br/>
  101137. This address must be 4-bytes
  101138. aligned, bits[1:0] will be ignored.
  101139. </comment>
  101140. </bits>
  101141. </reg>
  101142. <reg name="out_base_addr" protect="rw">
  101143. <bits access="rw" name="addr" pos="BB_SRAM_ADDR_WIDTH+1:2" rst="0x0">
  101144. <comment>
  101145. This is the start address of the output buffer in SRAM. When in
  101146. Equalizer mode, the VITAC will output the calculated Softvalues
  101147. according to the scheme given in 1.2.1.7. When in Decoder mode, the
  101148. VITAC will output the trace words according to the scheme given in
  101149. 1.2.2.4.
  101150. <br/>
  101151. This address must be 4-bytes aligned, bits[1:0] will be
  101152. ignored.
  101153. </comment>
  101154. </bits>
  101155. </reg>
  101156. <reg name="h0_param" protect="rw">
  101157. <bits access="rw" name="h0_i_part" pos="BB_SYMBOL_SIZE-1:0" rst="0x0">
  101158. <comment>Real part of the h0 parameter of the estimated channel
  101159. response.</comment>
  101160. </bits>
  101161. <bits access="rw" name="h0_q_part" pos="BB_SYMBOL_SIZE+15:16" rst="0x0">
  101162. <comment>Imaginary part of the h0 parameter of the estimated channel
  101163. response.</comment>
  101164. </bits>
  101165. </reg>
  101166. <reg name="hl_param" protect="rw">
  101167. <bits access="rw" name="hl_i_part" pos="BB_SYMBOL_SIZE-1:0" rst="0x0">
  101168. <comment>Real part of the hL parameter of the estimated channel
  101169. response.</comment>
  101170. </bits>
  101171. <bits access="rw" name="hl_q_part" pos="BB_SYMBOL_SIZE+15:16" rst="0x0">
  101172. <comment>Imaginary part of the hL parameter of the estimated channel
  101173. response.</comment>
  101174. </bits>
  101175. </reg>
  101176. <reg name="rescale" protect="rw">
  101177. <bits access="rw" name="threshold" pos="15:0" rst="0x0">
  101178. <comment>This field indicates the threshold value to be reach by every
  101179. PMs for triggering a rescale operation. The rescale operation consist in
  101180. subtracting the threshold value to every PMs to avoid overflow during PM
  101181. update.</comment>
  101182. </bits>
  101183. </reg>
  101184. <reg count="3" name="res_poly" protect="rw">
  101185. <comment>This register bank stores the less significant bit of the output
  101186. from the coder for a particular code (see 1.2.2.1). The kth butterfly uses
  101187. the bit k of this register.</comment>
  101188. <bits access="rw" name="res_poly" pos="31:0" rst="0x0">
  101189. <comment>This register stores the less significant bit of the output
  101190. from the coder for a particular code (see 1.2.2.1). The kth butterfly
  101191. uses the bit k of this register.</comment>
  101192. </bits>
  101193. </reg>
  101194. <reg name="int_status" protect="r">
  101195. <bits access="r" name="it_cause" pos="0" rst="0x0">
  101196. <comment>
  101197. This bit is set when the VITAC module finishes an ongoing
  101198. operation. It can be masked by setting VITAC_CMD(IT_MASK) to '1'.
  101199. <br/>
  101200. Resetting this bit is done by writing in IT_CLEAR register.
  101201. <br/>
  101202. IT_CAUSE is the image of the VITAC_DONE_H interrupt line to the
  101203. CPU.
  101204. </comment>
  101205. </bits>
  101206. <bits access="r" name="it_status" pos="16" rst="0x0">
  101207. <comment>This bit is the unmasked version of the IT_CAUSE bit.</comment>
  101208. </bits>
  101209. </reg>
  101210. <reg name="int_clear" protect="w">
  101211. <bits access="w" name="it_clear" pos="0" rst="0x0">
  101212. <comment>Setting this bit to '1' resets the VITAC interrupt.</comment>
  101213. </bits>
  101214. </reg>
  101215. </module>
  101216. </archive>
  101217. <archive relative="wdt.xml">
  101218. <module category="GGE_SYS" name="WDT">
  101219. <reg name="wdt_cvr0" protect="rw">
  101220. <bits access="rw" name="count_value_0" pos="23:0" rst="0xffffff">
  101221. <comment>Count Value for 1st TimeOut</comment>
  101222. </bits>
  101223. </reg>
  101224. <reg name="wdt_cvr1" protect="rw">
  101225. <bits access="rw" name="count_value_1" pos="23:0" rst="0xffffff">
  101226. <comment>Count Value for 2nd TimeOut</comment>
  101227. </bits>
  101228. </reg>
  101229. <reg name="wdt_cr" protect="rw">
  101230. <bits access="rw" name="mode" pos="4:4" rst="0x1">
  101231. <comment>
  101232. Watchdog response mode.
  101233. <br/>
  101234. 0 = Generate a system reset.
  101235. <br/>
  101236. 1 = First generate an interrupt and if it is not cleared by the time a second timeout occurs then generate a system reset.
  101237. </comment>
  101238. </bits>
  101239. <bits access="rw" name="reset_length" pos="2:0" rst="0x0">
  101240. <comment>
  101241. Reset pulse length in number of wdt clock cycles. The range of values available is 1 to 8 clk cycles.
  101242. <br/>
  101243. 3'b000 - 1 clk cycle
  101244. <br/>
  101245. 3'b001 - 2 clk cycles
  101246. <br/>
  101247. 3'b010 - 3 clk cycles
  101248. <br/>
  101249. ...
  101250. <br/>
  101251. 3'b111 - 8 clk cycles
  101252. </comment>
  101253. </bits>
  101254. </reg>
  101255. <reg name="wdt_cmd" protect="rw">
  101256. <bits access="rw" name="cmd" pos="7:0" rst="0x0">
  101257. <comment>
  101258. This register is used to restart/stop the WDT counter. As a safety feature to prevent accidental restarts/stops, write 8'h76 to restart and 8'h34 to stop.
  101259. <br/>
  101260. When written is done, this register is self-cleared on the next clock cycle. Reading this register always returns zero.
  101261. </comment>
  101262. </bits>
  101263. </reg>
  101264. <reg name="wdt_icr" protect="rw">
  101265. <bits access="rw" name="int_clr" pos="0:0" rst="0x0">
  101266. <comment>
  101267. A pulse to clear interrupt.
  101268. <br/>
  101269. When written is done, this register is self-cleared on the next clock cycle. Reading this register always returns zero.
  101270. </comment>
  101271. </bits>
  101272. </reg>
  101273. <reg name="wdt_sr" protect="r">
  101274. <bits access="r" name="wdt_active" pos="1:1" rst="0x0">
  101275. <comment>
  101276. This register shows the word status of the WDT.
  101277. <br/>
  101278. 0 = The watchdog counter is idle/stopped.
  101279. <br/>
  101280. 1 = The watchdog counter runs.
  101281. </comment>
  101282. </bits>
  101283. <bits access="r" name="int_assert" pos="0:0" rst="0x0">
  101284. <comment>
  101285. This register shows the interrupt status of the WDT.
  101286. <br/>
  101287. 0 = Interrupt is inactive.
  101288. <br/>
  101289. 1 = Interrupt asserts.
  101290. </comment>
  101291. </bits>
  101292. </reg>
  101293. </module>
  101294. </archive>
  101295. <archive relative="xcor.xml">
  101296. <include file="globals.xml"/>
  101297. <module category="GGE_SYS" name="XCOR">
  101298. <var name="XCOR_SYMBOL_SIZE" value="VITAC_MULT_SIZE"/>
  101299. <var name="XCOR_SADDER_SIZE" value="XCOR_SYMBOL_SIZE+1 +6"/>
  101300. <reg name="command" protect="rw">
  101301. <bits access="rw" name="biterr_en" pos="0" rst="0x0">
  101302. <comment>Enables the Biterror calculation mode. Auto-reset.</comment>
  101303. </bits>
  101304. <bits access="rw" name="dco1p_en" pos="1" rst="0x0">
  101305. <comment>Enables the DC Offset Correction (1st pass) mode. Auto-reset.</comment>
  101306. </bits>
  101307. <bits access="rw" name="dco2p_en" pos="2" rst="0x0">
  101308. <comment>Enables the DC Offset Correction (2nd pass) mode. Auto-reset.</comment>
  101309. </bits>
  101310. <bits access="rw" name="dco3p_en" pos="3" rst="0x0">
  101311. <comment>Enables the DC Offset Correction (3rd pass) mode. Auto-reset.</comment>
  101312. </bits>
  101313. <bits access="rw" name="tscxc_en" pos="4" rst="0x0">
  101314. <comment>Enables the Training Sequence Cross-Correlation mode.
  101315. Auto-reset.</comment>
  101316. </bits>
  101317. <bits access="rw" name="srec_en" pos="5" rst="0x0">
  101318. <comment>Enables the Symbol Re-Construction mode. Auto-reset.</comment>
  101319. </bits>
  101320. <bits access="rw" name="bext_en" pos="6" rst="0x0">
  101321. <comment>Enables the Bit Extraction mode. Auto-reset.</comment>
  101322. </bits>
  101323. <bits access="rw" name="sproc_en" pos="7" rst="0x0">
  101324. <comment>Enables the Sum Of PROduCt mode. Auto-reset.</comment>
  101325. </bits>
  101326. <bits access="rw" name="chest_en" pos="8" rst="0x0">
  101327. <comment>Enables the Channel Estimation mode. Auto-reset.</comment>
  101328. </bits>
  101329. <bits access="rw" name="fchxc_en" pos="9" rst="0x0">
  101330. <comment>Enables the FCH Xcorrelation mode. Auto-reset.</comment>
  101331. </bits>
  101332. <bits access="rw" name="sldwin_en" pos="10" rst="0x0">
  101333. <comment>Enables the Sliding window mode. Auto-reset.</comment>
  101334. </bits>
  101335. <bits access="rw" name="it_mask" pos="11" rst="0x0">
  101336. <comment>Mask of the end of processing interrupt.</comment>
  101337. </bits>
  101338. <bits access="rw" name="pack_iq" pos="12" rst="0x0">
  101339. <comment>Data path setting. Pack I and Q on a single 32-bits word.</comment>
  101340. </bits>
  101341. <bits access="rw" name="derotation_en" pos="13" rst="0x0">
  101342. <comment>Data path setting. Enables derotation for DCOC 3pass.</comment>
  101343. </bits>
  101344. <bits access="rw" name="nb_iloop" pos="23:16" rst="0x0">
  101345. <comment>Control setting. Number of internal loop iteration.</comment>
  101346. </bits>
  101347. <bits access="rw" name="nb_symb" pos="31:24" rst="0x0">
  101348. <comment>Control setting. Number of symbols to process.</comment>
  101349. </bits>
  101350. </reg>
  101351. <reg name="status" protect="rw">
  101352. <bits access="r" name="op_pending" pos="0" rst="0x0">
  101353. <comment>This bit is high when an operation is ongoing.</comment>
  101354. </bits>
  101355. <bits access="r" name="it_cause" pos="16" rst="0x0">
  101356. <comment>Masked version of it_status that goes to Interrupt controller.</comment>
  101357. </bits>
  101358. <bits access="rw" name="it_status" pos="31" rst="0x0">
  101359. <comment>This bit is set high when an operation is finished. It must be reset before lauching a new operation if Xcor interrupt is enabled.</comment>
  101360. </bits>
  101361. </reg>
  101362. <reg name="hv0" protect="rw">
  101363. <comment>
  101364. Multipurpose Data Register.
  101365. <br/>
  101366. Store Training Sequence in
  101367. TSXC mode.
  101368. <br/>
  101369. Store SUM in DCOC 3rd pass mode.
  101370. <br/>
  101371. Store bit
  101372. sequence in SREC mode.
  101373. <br/>
  101374. Store SUM in SPROC mode.
  101375. <br/>
  101376. Store I SUM
  101377. in CHEST mode.
  101378. <br/>
  101379. Store R(k-1) in FCHXC mode.
  101380. </comment>
  101381. <bits access="rw" name="hv0" pos="31:0" rst="0x0">
  101382. <comment>Multipurpose.</comment>
  101383. </bits>
  101384. </reg>
  101385. <reg name="hv1" protect="rw">
  101386. <comment>
  101387. Multipurpose Data Register.
  101388. <br/>
  101389. Store Training Sequence in
  101390. TSXC mode.
  101391. <br/>
  101392. Store bit sequence in SREC mode.
  101393. <br/>
  101394. Store Q SUM in
  101395. CHEST mode.
  101396. </comment>
  101397. <bits access="rw" name="hv1" pos="31:0" rst="0x0">
  101398. <comment>Multipurpose.</comment>
  101399. </bits>
  101400. </reg>
  101401. <reg count="6" name="data" protect="rw">
  101402. <comment>
  101403. Multipurpose Data Registers.
  101404. <br/>
  101405. D0 stores
  101406. symbols/softvalues/channel taps depending on mode. Not readable.
  101407. <br/>
  101408. D1
  101409. stores decoded bits/IQ threshols/IQ Offsets/A terms depending on mode. Not
  101410. readable.
  101411. <br/>
  101412. D2 (aka A1) serves as Rd address (decoded bits, A or B
  101413. terms) / Wr address register (I or packed IQ results, Symbols) / event
  101414. counter depending on mode.
  101415. <br/>
  101416. D3 (aka A2) serves as Wr address (Q
  101417. results) / event counter depending on mode.
  101418. <br/>
  101419. D4 stores results from
  101420. VITAC / extracted HardValues depending on mode. Not readable.
  101421. <br/>
  101422. D5 (aka
  101423. A3) serves as Wr address (CQ results) Not readable.
  101424. </comment>
  101425. <bits access="rw" name="data" pos="31:0" rst="0x0">
  101426. <comment>Multipurpose.</comment>
  101427. </bits>
  101428. </reg>
  101429. <reg name="accui" protect="r">
  101430. <bits access="r" name="accui" pos="XCOR_SADDER_SIZE-1:0" rst="0x0">
  101431. <comment>I part accumulator register.</comment>
  101432. </bits>
  101433. </reg>
  101434. <reg name="accuq" protect="r">
  101435. <bits access="r" name="accuq" pos="XCOR_SADDER_SIZE-1:0" rst="0x0">
  101436. <comment>I part accumulator register.</comment>
  101437. </bits>
  101438. </reg>
  101439. <reg name="addr0" protect="rw">
  101440. <comment>
  101441. Address 0 Register.
  101442. <br/>
  101443. Stores Rd address for symbols /
  101444. SoftValues / A terms depending on mode.
  101445. <br/>
  101446. Auto
  101447. increment/decrement/reset.
  101448. </comment>
  101449. <bits access="rw" name="addr0" pos="BB_SRAM_ADDR_WIDTH+1:2" rst="0x0">
  101450. <comment>32-bit word address (bits 0 and 1 disregarded).</comment>
  101451. </bits>
  101452. </reg>
  101453. <reg count="6" name="data_e" protect="rw">
  101454. <comment>Multipurpose Data Edge Registers.</comment>
  101455. <bits access="rw" name="data" pos="31:0" rst="0x0">
  101456. <comment>Multipurpose.</comment>
  101457. </bits>
  101458. </reg>
  101459. </module>
  101460. </archive>
  101461. <archive relative="mips32r6.xml">
  101462. <module category="Debug" name="MIPS32R6">
  101463. <hole size="32"/>
  101464. <reg name="rf0_addr" protect="r">
  101465. <bits access="r" name="rf0_addr" pos="31:0" rst="0">
  101466. <comment>program counter for the RF stage.</comment>
  101467. </bits>
  101468. </reg>
  101469. <hole size="3008"/>
  101470. <reg name="cp0_rd_addr" protect="r">
  101471. <bits access="r" name="cp0_rd_addr" pos="5:0" rst="0"/>
  101472. </reg>
  101473. <reg name="cp0_dcache_pfn" protect="r">
  101474. <bits access="r" name="cp0_dcache_pfn" pos="28:12" rst="0"/>
  101475. </reg>
  101476. <reg name="cp0_tlb_badvaddr" protect="r">
  101477. <bits access="r" name="cp0_tlb_badvaddr" pos="31:0" rst="0"/>
  101478. </reg>
  101479. <reg name="cp0_adr_badvaddr" protect="r">
  101480. <bits access="r" name="cp0_adr_badvaddr" pos="31:0" rst="0"/>
  101481. </reg>
  101482. <reg name="cp0_cause" protect="r">
  101483. <bits access="r" name="cp0_cause_exccode" pos="5:2" rst="0">
  101484. <options>
  101485. <option name="Int" value="0">
  101486. <comment>Interrupt</comment>
  101487. </option>
  101488. <option name="Mod" value="1">
  101489. <comment>TLB modification exception</comment>
  101490. </option>
  101491. <option name="TLBL" value="2">
  101492. <comment>TLB exception (load or instruction fetch)</comment>
  101493. </option>
  101494. <option name="TLBS" value="3">
  101495. <comment>TLB exception (store)</comment>
  101496. </option>
  101497. <option name="AdEL" value="4">
  101498. <comment>Address error exception (load or instruction fetch)</comment>
  101499. </option>
  101500. <option name="AdES" value="5">
  101501. <comment>Address error exception (store)</comment>
  101502. </option>
  101503. <option name="IBE" value="6">
  101504. <comment>Bus error exception (instruction fetch)</comment>
  101505. </option>
  101506. <option name="DBE" value="7">
  101507. <comment>Bus error exception (data reference: load or store)</comment>
  101508. </option>
  101509. <option name="Sys" value="8">
  101510. <comment>Syscall exception</comment>
  101511. </option>
  101512. <option name="Pb" value="9">
  101513. <comment>Breakpoint exception</comment>
  101514. </option>
  101515. <option name="Ri" value="10">
  101516. <comment>Reserved instruction exception</comment>
  101517. </option>
  101518. <option name="CpU" value="11">
  101519. <comment>Coprocessor Unusable exception</comment>
  101520. </option>
  101521. <option name="Ov" value="12">
  101522. <comment>Arithmetic Overflow exception</comment>
  101523. </option>
  101524. <default/>
  101525. <mask/>
  101526. <shift/>
  101527. </options>
  101528. </bits>
  101529. <bits access="r" name="cp0_cause_ip_soft" pos="9:8" rst="0">
  101530. <comment>Theses interrupt lines are software interrupts (the cpu can write in the CP0 bits to trigger and clear them).</comment>
  101531. <options>
  101532. <default/>
  101533. <mask/>
  101534. <shift/>
  101535. </options>
  101536. </bits>
  101537. <bits access="r" name="cp0_cause_ip_ext" pos="15:10" rst="0">
  101538. <comment>Theses interrupt lines maps to the hardware interrupt lines from the corresponding irq module.</comment>
  101539. <options>
  101540. <default/>
  101541. <mask/>
  101542. <shift/>
  101543. </options>
  101544. </bits>
  101545. <bitgroup name="cp0_cause_ip">
  101546. <entry ref="cp0_cause_ip_soft"/>
  101547. <entry ref="cp0_cause_ip_ext"/>
  101548. </bitgroup>
  101549. <bits access="r" name="cp0_cause_ce" pos="29:28" rst="0">
  101550. <comment>The Coprocessor Error (CE) field indicate the coprocessor unit number referenced when a Coprocessor Unusable exception is taken.</comment>
  101551. <options>
  101552. <default/>
  101553. <mask/>
  101554. <shift/>
  101555. </options>
  101556. </bits>
  101557. <bits access="r" name="cp0_cause_bd" pos="31" rst="0">
  101558. <comment>The Branch Delay (BD) bit indicate whether the last exception was taken while executing in a branch delay slot.</comment>
  101559. <options>
  101560. <option name="Normal" value="0"/>
  101561. <option name="Delay_slot" value="1"/>
  101562. <mask/>
  101563. <shift/>
  101564. </options>
  101565. </bits>
  101566. </reg>
  101567. <reg name="cp0_status" protect="r">
  101568. <bits access="r" name="cp0_status_iec" pos="0" rst="0">
  101569. <comment>Current Interrupt Enable</comment>
  101570. <options>
  101571. <option name="disable" value="0"/>
  101572. <option name="enable" value="1"/>
  101573. <mask/>
  101574. <shift/>
  101575. </options>
  101576. </bits>
  101577. <bits access="r" name="cp0_status_kuc" pos="1" rst="0">
  101578. <comment>Current Kernel/User mode</comment>
  101579. <options>
  101580. <option name="kernel" value="0"/>
  101581. <option name="user" value="1"/>
  101582. <mask/>
  101583. <shift/>
  101584. </options>
  101585. </bits>
  101586. <bits access="r" name="cp0_status_iep" pos="2" rst="0">
  101587. <comment>Previous Interrupt Enable</comment>
  101588. <options>
  101589. <option name="disable" value="0"/>
  101590. <option name="enable" value="1"/>
  101591. <mask/>
  101592. <shift/>
  101593. </options>
  101594. </bits>
  101595. <bits access="r" name="cp0_status_kup" pos="3" rst="0">
  101596. <comment>Previous Kernel/User mode</comment>
  101597. <options>
  101598. <option name="kernel" value="0"/>
  101599. <option name="user" value="1"/>
  101600. <mask/>
  101601. <shift/>
  101602. </options>
  101603. </bits>
  101604. <bits access="r" name="cp0_status_ieo" pos="4" rst="0">
  101605. <comment>Old Interrupt Enable</comment>
  101606. <options>
  101607. <option name="disable" value="0"/>
  101608. <option name="enable" value="1"/>
  101609. <mask/>
  101610. <shift/>
  101611. </options>
  101612. </bits>
  101613. <bits access="r" name="cp0_status_kuo" pos="5" rst="0">
  101614. <comment>Old Kernel/User mode</comment>
  101615. <options>
  101616. <option name="kernel" value="0"/>
  101617. <option name="user" value="1"/>
  101618. <mask/>
  101619. <shift/>
  101620. </options>
  101621. </bits>
  101622. <bits access="r" name="cp0_status_kui" pos="6" rst="0">
  101623. </bits>
  101624. <bits access="r" name="cp0_status_intmask" pos="15:8" rst="0">
  101625. <comment>Interrupt Mask control the enabling of each of the external and software interrupts. (See Cause for more information on interruptions).</comment>
  101626. </bits>
  101627. <bits access="r" name="cp0_streaming_disable" pos="16" rst="0">
  101628. <comment>This bit control handling of non-cached instruction fetch requests. By default, the system block reads multiple words of data from the AMBA bus in burst transactions and saves them in the Streaming Buffer. Non cached instruction fetch requests get their data directly from the Streaming Buffer.
  101629. When &quot;1&quot; the cpu does not use the streaming buffer and does not ask for burst requests on the AMBA bus for non-cache instruction fetch requests.</comment>
  101630. </bits>
  101631. <bits access="r" name="cp0_status_cm" pos="19" rst="0">
  101632. <comment>
  101633. Cache Miss
  101634. <br/>
  101635. Signals that the most recent access to the cachable space resulted in cache miss.
  101636. </comment>
  101637. </bits>
  101638. <bits access="r" name="cp0_status_ts" pos="21" rst="0">
  101639. <comment>Signals that 2 entries in the TLB matched the virtual address. This is an error condition but the processor takes no action other than signalling it via this bit in the Status Register.</comment>
  101640. </bits>
  101641. <bits access="r" name="cp0_status_bev" pos="22" rst="1">
  101642. <comment>Select the location of the exception vectors in ROM or in DRAM.</comment>
  101643. </bits>
  101644. <bits access="r" name="cp0_status_re" pos="25" rst="0">
  101645. <comment>
  101646. Reverse Endian in User mode.
  101647. <font color="red">(probably unused in xcpu)</font>
  101648. </comment>
  101649. </bits>
  101650. <bits access="r" cut="1" name="cp0_status_cu_0" pos="28" rst="0">
  101651. <comment>Control the Usability of the corresponding Coprocessor Unit. (CP0 is always usable when in Kernel mode, regardless of the setting of the CU_0 bit.</comment>
  101652. </bits>
  101653. <bits access="r" cut="1" cutprefix="cp0_Status_CU" cutstart="1" name="cp0_status_cu_123" pos="31:29" rst="0">
  101654. <comment>Control the Usability of the corresponding Coprocessor Unit.</comment>
  101655. </bits>
  101656. <bitgroup name="cp0_status_cu">
  101657. <entry ref="cp0_status_cu_0"/>
  101658. <entry ref="cp0_status_cu_123"/>
  101659. </bitgroup>
  101660. </reg>
  101661. <reg name="cp0_epc" protect="r">
  101662. <bits access="r" name="cp0_epc" pos="31:0" rst="0">
  101663. <comment>Exception Program Counter. Saves the value of the program counter for the instruction
  101664. that caused the exception.</comment>
  101665. </bits>
  101666. </reg>
  101667. <reg name="cp0_entryhi" protect="r">
  101668. <bits access="r" name="cp0_entryhi_pid" pos="11:6" rst="0">
  101669. </bits>
  101670. <bits access="r" name="cp0_entryhi_vpn" pos="31:12" rst="0">
  101671. </bits>
  101672. </reg>
  101673. <reg name="cp0_entrylo" protect="r">
  101674. <bits access="r" name="cp0_pagemask" pos="7:2" rst="0">
  101675. </bits>
  101676. <bits access="r" name="cp0_entrylo_g" pos="8" rst="0">
  101677. </bits>
  101678. <bits access="r" name="cp0_entrylo_v" pos="9" rst="0">
  101679. </bits>
  101680. <bits access="r" name="cp0_entrylo_d" pos="10" rst="0">
  101681. </bits>
  101682. <bits access="r" name="cp0_entrylo_n" pos="11" rst="0">
  101683. </bits>
  101684. <bits access="r" name="cp0_entrylo_pfn" pos="31:12" rst="0">
  101685. </bits>
  101686. </reg>
  101687. <reg name="cp0_index" protect="r">
  101688. <bits access="r" name="cp0_index" pos="13:8" rst="0">
  101689. </bits>
  101690. <bits access="r" name="cp0_index_p" pos="31" rst="0">
  101691. </bits>
  101692. </reg>
  101693. <reg name="cp0_random" protect="r">
  101694. <bits access="r" name="cp0_random" pos="13:8" rst="0">
  101695. </bits>
  101696. <bits access="r" name="cp0_wired" pos="31:26" rst="0">
  101697. </bits>
  101698. </reg>
  101699. <reg name="cp0_context" protect="r">
  101700. <bits access="r" name="cp0_context_badvpn" pos="20:2" rst="0">
  101701. </bits>
  101702. <bits access="r" name="cp0_context_ptebase" pos="31:21" rst="0">
  101703. </bits>
  101704. </reg>
  101705. <reg name="cp0_badvaddr" protect="r">
  101706. <bits access="r" name="cp0_badvaddr" pos="31:0" rst="0">
  101707. <comment>Bad virtual address. Saves the address that caused the address exception.</comment>
  101708. </bits>
  101709. </reg>
  101710. <reg name="cp0_depc" protect="r">
  101711. <bits access="r" name="cp0_depc" pos="31:0" rst="0">
  101712. <comment>Exception Program Counter. Saves the value of the program counter for the instruction
  101713. that caused the exception by break point instruction.</comment>
  101714. </bits>
  101715. </reg>
  101716. <hole size="576"/>
  101717. <reg name="rf0_data" protect="r">
  101718. <bits access="r" name="rf0_data" pos="31:0" rst="0"/>
  101719. </reg>
  101720. <hole size="160"/>
  101721. <reg name="dc0_result" protect="r">
  101722. <bits access="r" name="dc0_result" pos="31:0" rst="0"/>
  101723. </reg>
  101724. <hole size="2848"/>
  101725. <hole size="32"/>
  101726. <reg name="regfile_at" protect="r">
  101727. <bits access="r" name="at" pos="31:0" rst="no">
  101728. <comment>assembler temporary register;
  101729. their values are not preserved across procedure calls.</comment>
  101730. </bits>
  101731. </reg>
  101732. <reg name="regfile_v0" protect="r">
  101733. <bits access="r" name="v0" pos="31:0" rst="no">
  101734. <comment>
  101735. Used for expression evaluations and for hold integer function results.
  101736. <br/>
  101737. Also used to pass the statuc link when calling nested procedure.
  101738. </comment>
  101739. </bits>
  101740. </reg>
  101741. <reg name="regfile_v1" protect="r">
  101742. <bits access="r" name="v1" pos="31:0" rst="no">
  101743. <comment>
  101744. Used for expression evaluations and for hold integer function results.
  101745. <br/>
  101746. Also used to pass the statuc link when calling nested procedure.
  101747. </comment>
  101748. </bits>
  101749. </reg>
  101750. <reg name="regfile_a0" protect="r">
  101751. <bits access="r" name="a0" pos="31:0" rst="no">
  101752. <comment>register A0 to A3 is used to pass the first 4 words of integer type actual arguments;
  101753. their values are not preserved across procedure calls.</comment>
  101754. </bits>
  101755. </reg>
  101756. <reg name="regfile_a1" protect="r">
  101757. <bits access="r" name="a1" pos="31:0" rst="no">
  101758. <comment>register A0 to A3 is used to pass the first 4 words of integer type actual arguments;
  101759. their values are not preserved across procedure calls.</comment>
  101760. </bits>
  101761. </reg>
  101762. <reg name="regfile_a2" protect="r">
  101763. <bits access="r" name="a2" pos="31:0" rst="no">
  101764. <comment>register A0 to A3 is used to pass the first 4 words of integer type actual arguments;
  101765. their values are not preserved across procedure calls.</comment>
  101766. </bits>
  101767. </reg>
  101768. <reg name="regfile_a3" protect="r">
  101769. <bits access="r" name="a3" pos="31:0" rst="no">
  101770. <comment>register A0 to A3 is used to pass the first 4 words of integer type actual arguments;
  101771. their values are not preserved across procedure calls.</comment>
  101772. </bits>
  101773. </reg>
  101774. <reg name="regfile_t0" protect="r">
  101775. <bits access="r" name="t0" pos="31:0" rst="no">
  101776. <comment>temporary register, used for expression evaluations;
  101777. their values are not preserved across procedure calls.</comment>
  101778. </bits>
  101779. </reg>
  101780. <reg name="regfile_t1" protect="r">
  101781. <bits access="r" name="t1" pos="31:0" rst="no">
  101782. <comment>temporary register, used for expression evaluations;
  101783. their values are not preserved across procedure calls.</comment>
  101784. </bits>
  101785. </reg>
  101786. <reg name="regfile_t2" protect="r">
  101787. <bits access="r" name="t2" pos="31:0" rst="no">
  101788. <comment>temporary register, used for expression evaluations;
  101789. their values are not preserved across procedure calls.</comment>
  101790. </bits>
  101791. </reg>
  101792. <reg name="regfile_t3" protect="r">
  101793. <bits access="r" name="t3" pos="31:0" rst="no">
  101794. <comment>temporary register, used for expression evaluations;
  101795. their values are not preserved across procedure calls.</comment>
  101796. </bits>
  101797. </reg>
  101798. <reg name="regfile_t4" protect="r">
  101799. <bits access="r" name="t4" pos="31:0" rst="no">
  101800. <comment>temporary register, used for expression evaluations;
  101801. their values are not preserved across procedure calls.</comment>
  101802. </bits>
  101803. </reg>
  101804. <reg name="regfile_t5" protect="r">
  101805. <bits access="r" name="t5" pos="31:0" rst="no">
  101806. <comment>temporary register, used for expression evaluations;
  101807. their values are not preserved across procedure calls.</comment>
  101808. </bits>
  101809. </reg>
  101810. <reg name="regfile_t6" protect="r">
  101811. <bits access="r" name="t6" pos="31:0" rst="no">
  101812. <comment>temporary register, used for expression evaluations;
  101813. their values are not preserved across procedure calls.</comment>
  101814. </bits>
  101815. </reg>
  101816. <reg name="regfile_t7" protect="r">
  101817. <bits access="r" name="t7" pos="31:0" rst="no">
  101818. <comment>temporary register, used for expression evaluations;
  101819. their values are not preserved across procedure calls.</comment>
  101820. </bits>
  101821. </reg>
  101822. <reg name="regfile_s0" protect="r">
  101823. <bits access="r" name="s0" pos="31:0" rst="no">
  101824. <comment>saved register;
  101825. their values must preserved across procedure calls.</comment>
  101826. </bits>
  101827. </reg>
  101828. <reg name="regfile_s1" protect="r">
  101829. <bits access="r" name="s1" pos="31:0" rst="no">
  101830. <comment>saved register;
  101831. their values must preserved across procedure calls.</comment>
  101832. </bits>
  101833. </reg>
  101834. <reg name="regfile_s2" protect="r">
  101835. <bits access="r" name="s2" pos="31:0" rst="no">
  101836. <comment>saved register;
  101837. their values must preserved across procedure calls.</comment>
  101838. </bits>
  101839. </reg>
  101840. <reg name="regfile_s3" protect="r">
  101841. <bits access="r" name="s3" pos="31:0" rst="no">
  101842. <comment>saved register;
  101843. their values must preserved across procedure calls.</comment>
  101844. </bits>
  101845. </reg>
  101846. <reg name="regfile_s4" protect="r">
  101847. <bits access="r" name="s4" pos="31:0" rst="no">
  101848. <comment>saved register;
  101849. their values must preserved across procedure calls.</comment>
  101850. </bits>
  101851. </reg>
  101852. <reg name="regfile_s5" protect="r">
  101853. <bits access="r" name="s5" pos="31:0" rst="no">
  101854. <comment>saved register;
  101855. their values must preserved across procedure calls.</comment>
  101856. </bits>
  101857. </reg>
  101858. <reg name="regfile_s6" protect="r">
  101859. <bits access="r" name="s6" pos="31:0" rst="no">
  101860. <comment>saved register;
  101861. their values must preserved across procedure calls.</comment>
  101862. </bits>
  101863. </reg>
  101864. <reg name="regfile_s7" protect="r">
  101865. <bits access="r" name="s7" pos="31:0" rst="no">
  101866. <comment>saved register;
  101867. their values must preserved across procedure calls.</comment>
  101868. </bits>
  101869. </reg>
  101870. <reg name="regfile_t8" protect="r">
  101871. <bits access="r" name="t8" pos="31:0" rst="no">
  101872. <comment>temporary register, used for expression evaluations;
  101873. their values are not preserved across procedure calls.</comment>
  101874. </bits>
  101875. </reg>
  101876. <reg name="regfile_t9" protect="r">
  101877. <bits access="r" name="t9" pos="31:0" rst="no">
  101878. <comment>temporary register, used for expression evaluations;
  101879. their values are not preserved across procedure calls.</comment>
  101880. </bits>
  101881. </reg>
  101882. <reg name="regfile_k0" protect="r">
  101883. <bits access="r" name="k0" pos="31:0" rst="no">
  101884. <comment>reserved for the operating system kernal.</comment>
  101885. </bits>
  101886. </reg>
  101887. <reg name="regfile_k1" protect="r">
  101888. <bits access="r" name="k1" pos="31:0" rst="no">
  101889. <comment>reserved for the operating system kernal.</comment>
  101890. </bits>
  101891. </reg>
  101892. <reg name="regfile_gp" protect="r">
  101893. <bits access="r" name="gp" pos="31:0" rst="no">
  101894. <comment>contains the global pointer.</comment>
  101895. </bits>
  101896. </reg>
  101897. <reg name="regfile_sp" protect="r">
  101898. <bits access="r" name="sp" pos="31:0" rst="no">
  101899. <comment>contains the stack pointer.</comment>
  101900. </bits>
  101901. </reg>
  101902. <reg name="regfile_s8" protect="r">
  101903. <bits access="r" name="s8" pos="31:0" rst="no">
  101904. <comment>a saved register (like s0-s7).</comment>
  101905. </bits>
  101906. </reg>
  101907. <reg name="regfile_ra" protect="r">
  101908. <bits access="r" name="ra" pos="31:0" rst="no">
  101909. <comment>contains the return address; used for expression evaluation.</comment>
  101910. </bits>
  101911. </reg>
  101912. <hole size="512"/>
  101913. <reg name="debug_page_address" protect="rw">
  101914. <bits access="rw" name="debug_page_address" pos="3:0" rst="0">
  101915. <comment>
  101916. Debug Page Address Register Is a 4 bit register used for extending the address of
  101917. the debug to enable full access to the cache RAMs.
  101918. <br/>
  101919. bit 3 is used when accessing the TAGs to select between Instruction TAG (0) or Data TAG (1).
  101920. </comment>
  101921. <options>
  101922. <option name="ITag" value="0"/>
  101923. <option name="DTag" value="8"/>
  101924. <default/>
  101925. <shift/>
  101926. <mask/>
  101927. </options>
  101928. </bits>
  101929. </reg>
  101930. <reg name="cache_control" protect="rw">
  101931. <bits access="rw" name="dcache_inhibit" pos="0" rst="no">
  101932. <comment>when &quot;ON&quot; all accesses for data are treated as non cache. Data is fetched directly from main memory. The content of the Data Cache is not altered.</comment>
  101933. </bits>
  101934. <bits access="rw" name="icache_inhibit" pos="1" rst="no">
  101935. <comment>when &quot;ON&quot; all accesses for instructions are treated as non cache. Data is fetched directly from main memory. The content of the cache is not altered.</comment>
  101936. </bits>
  101937. <bits access="rw" name="cache hit disable" pos="2" rst="no">
  101938. <comment>when &quot;ON&quot; all accesses to either Instruction or data caches result in a cache miss and a cache refill. This is a quick way to initialize the caches.</comment>
  101939. </bits>
  101940. </reg>
  101941. </module>
  101942. </archive>
  101943. <archive relative="ela.xml">
  101944. <var name="NUM_TRIG_STATES" value="4"/>
  101945. <var name="ID_CAPTURE_SIZE" value="10"/>
  101946. <var name="RAM_ADDR_SIZE" value="10"/>
  101947. <module category="Debug" name="ELA">
  101948. <reg name="ctrl" protect="rw">
  101949. <comment>logic analyzer control register</comment>
  101950. <bits access="rw" name="run" pos="0" rst="0x0">
  101951. <comment>
  101952. run control.
  101953. <br/>
  101954. 0 ela-500 disabled. register programming permitted.
  101955. <br/>
  101956. 1 ela-500 enabled.
  101957. </comment>
  101958. </bits>
  101959. </reg>
  101960. <reg name="timectrl" protect="rw">
  101961. <comment>timestamp control register</comment>
  101962. <bits access="rw" name="tsen" pos="16" rst="0x0">
  101963. <comment>timestamp enable.</comment>
  101964. </bits>
  101965. <bits access="rw" name="tsint" pos="15:12" rst="0x0">
  101966. <comment>
  101967. timestamp interval.
  101968. <br/>
  101969. when timestamps are enabled, tsint specifies the bit number of the 16-bit trace counter that causes a timestamp
  101970. packet to be requested. the trace counter runs from elaclk. when the specified bit changes, a timestamp
  101971. packet is requested to be inserted into the trace sram when there is an elaclk cycle during which trace data is
  101972. not being captured. the ela-500 does not insert back-to-back timestamps in the sram, even when tsint
  101973. causes multiple requests to be made.
  101974. <br/>
  101975. when tsint = 0, a timestamp is written when action.trace disables trace. looping trigger states enable
  101976. and then disable trace, causing timestamp writes. a timestamp is always written when ctrl.run is cleared and
  101977. the previous trace write contained a data payload.
  101978. </comment>
  101979. </bits>
  101980. <bits access="rw" name="tcsel1" pos="7:4" rst="0x0">
  101981. <comment>
  101982. trace counter 1 select.
  101983. <br/>
  101984. selects the bit number of the 16-bit trace counter that is presented as trace counter[1] in the sram header byte.
  101985. </comment>
  101986. </bits>
  101987. <bits access="rw" name="tcsel0" pos="3:0" rst="0xb">
  101988. <comment>
  101989. trace counter 0 select.
  101990. <br/>
  101991. selects the bit number of the 16-bit trace counter that is presented as trace counter[0] in the sram header byte.
  101992. </comment>
  101993. </bits>
  101994. </reg>
  101995. <reg name="tssr" protect="rw">
  101996. <comment>trigger state select register</comment>
  101997. <bits access="rw" name="altts" pos="7:0" rst="0x0">
  101998. <comment>
  101999. each bit identifies the trigger state that enables independent trace. only trigger state 4 supports independent trace.
  102000. <br/>
  102001. altts[4]=0 trigger state 4 independent trace disabled.
  102002. <br/>
  102003. altts[4]=1 trigger state 4 independent trace enabled.
  102004. <br/>
  102005. all other bits read zero.
  102006. </comment>
  102007. </bits>
  102008. </reg>
  102009. <hole size="32"/>
  102010. <reg name="ptaction" protect="rw">
  102011. <comment>pre-trigger action register</comment>
  102012. <bits access="rw" name="elaoutput" pos="7:4" rst="0x0">
  102013. <comment>sets the value to drive on elaoutput[3:0].</comment>
  102014. </bits>
  102015. <bits access="rw" name="trace" pos="3" rst="0x0">
  102016. <comment>enables trace.</comment>
  102017. </bits>
  102018. <bits access="rw" name="stopclock" pos="2" rst="0x0">
  102019. <comment>sets the level to drive on stopclock.</comment>
  102020. </bits>
  102021. <bits access="rw" name="cttrigout" pos="1:0" rst="0x0">
  102022. <comment>sets the value to drive on cttrigout[1:0].</comment>
  102023. </bits>
  102024. </reg>
  102025. <hole size="96"/>
  102026. <reg name="ctsr" protect="ro">
  102027. <comment>current trigger state register</comment>
  102028. <bits access="ro" name="finalstate" pos="31" rst="0x0">
  102029. <comment>
  102030. 0 ela-500 is still tracing.
  102031. <br/>
  102032. 1 indicates that the ela-500 has stopped advancing trigger states and stopped trace.
  102033. <br/>
  102034. finalstate can be set by trigctrl.countbrk reaching the final loop count,
  102035. or by programming nextstate or altnextstate to zero.
  102036. </comment>
  102037. </bits>
  102038. <bits access="ro" name="ctsr" pos="NUM_TRIG_STATES-1:0" rst="0x1">
  102039. <comment>
  102040. reads current trigger state. this is a one-hot encoded field.
  102041. <br/>
  102042. when ctrl.run:
  102043. <br/>
  102044. 0 raz
  102045. <br/>
  102046. 1 returns current trigger state.
  102047. <br/>
  102048. if finalstate is 1, then the ctsr field gives the trigger state when finalstate
  102049. became 1.
  102050. </comment>
  102051. </bits>
  102052. </reg>
  102053. <reg name="ccvr" protect="ro">
  102054. <comment>current counter value register</comment>
  102055. <bits access="ro" name="ccvr" pos="31:0" rst="0x0">
  102056. <comment>returns the counter value when the ctsr was last read. if the ctsr has never been read, then the value in the ccvr
  102057. is undefined.</comment>
  102058. </bits>
  102059. </reg>
  102060. <reg name="cavr" protect="ro">
  102061. <comment>current action value register</comment>
  102062. <bits access="ro" name="elaoutput" pos="7:4" rst="0x00">
  102063. <comment>value driven on elaoutput[3:0].</comment>
  102064. </bits>
  102065. <bits access="ro" name="trace" pos="3" rst="0x00">
  102066. <comment>
  102067. trace active.
  102068. <br/>
  102069. 0b0 trace is not active.
  102070. <br/>
  102071. 0b1 trace is active.
  102072. </comment>
  102073. </bits>
  102074. <bits access="ro" name="stopclock" pos="2" rst="0x00">
  102075. <comment>
  102076. level driven on stopclock.
  102077. <br/>
  102078. 0b0 0 driven on stopclock.
  102079. <br/>
  102080. 0b1 1 driven on stopclock.
  102081. </comment>
  102082. </bits>
  102083. <bits access="ro" name="cttrigout" pos="1:0" rst="0x00">
  102084. <comment>value driven on cttrigout[1:0].</comment>
  102085. </bits>
  102086. </reg>
  102087. <reg name="rdcaptid" protect="ro">
  102088. <comment>read captured transaction id register</comment>
  102089. <bits access="ro" name="rdcaptid" pos="ID_CAPTURE_SIZE-1:0" rst="-">
  102090. <comment>returns the captured transaction id.</comment>
  102091. </bits>
  102092. </reg>
  102093. <hole size="128"/>
  102094. <reg name="rrar" protect="rw">
  102095. <comment>ram read address register</comment>
  102096. <bits access="rw" name="rra" pos="RAM_ADDR_SIZE-1:0" rst="-">
  102097. <comment>
  102098. ram read address.
  102099. <br/>
  102100. writes to the rra cause the trace sram data at that address to be transferred into the holding
  102101. register.
  102102. <br/>
  102103. after the sram read data is transferred to the holding register, rra increments by one. this
  102104. prepares the rra address for sequential rrdr reads.
  102105. <br/>
  102106. the rra automatically increments after apb reads from the rrdr have read the contents of the
  102107. holding register. an rrdr read of the last data in the holding register initiates a read to sram at
  102108. the address pointed to by the rra. the holding register is filled with the data at this address, then
  102109. the rra increments.
  102110. </comment>
  102111. </bits>
  102112. </reg>
  102113. <reg name="rrdr" protect="ro">
  102114. <comment>ram read data register</comment>
  102115. <bits access="ro" name="rrd" pos="31:0" rst="-">
  102116. <comment>
  102117. reads sram data from the holding register.
  102118. <br/>
  102119. reads from the rrd return the sram data from the holding register. the first read of the rrd after an rrar update
  102120. returns the trace data header byte value, zero-extended to 32 bits. subsequent reads of the rrd return 32-bit chunks of
  102121. the trace data payload, starting with the least significant word, until all the payload data has been read, that is, two
  102122. words if grp_width = 64, four words if grp_width = 128, and eight words if grp_width = 256.
  102123. <br/>
  102124. when the final 32 bits of the payload have been read, the rra is incremented automatically, and the next word of
  102125. sram data is copied into the holding register. this enables the sram data content to be read out efficiently.
  102126. <br/>
  102127. the rra wraps to address zero if it is incremented beyond the maximum depth of the sram.
  102128. </comment>
  102129. </bits>
  102130. </reg>
  102131. <reg name="rwar" protect="rw">
  102132. <comment>ram write address register</comment>
  102133. <bits access="rw" name="wrap" pos="31" rst="-">
  102134. <comment>
  102135. the wrap bit is set when the ram write address is incremented beyond 2ram_addr_size while
  102136. <br/>
  102137. the ela-500 is capturing trace data. the wrap bit is not set by writes to the rwdr that cause the
  102138. <br/>
  102139. ram write address to roll over. software must clear the wrap bit when writing to the rwar.
  102140. </comment>
  102141. </bits>
  102142. <bits access="rw" name="rwa" pos="RAM_ADDR_SIZE-1:0" rst="-">
  102143. <comment>
  102144. ram write address.
  102145. <br/>
  102146. writes to the rwa set the sram address for data that is then written through the rwdr.
  102147. <br/>
  102148. reads from the rwa return the address of the sram location that is to be written next, either by
  102149. writes to the rwdr, or by the trace unit.
  102150. <br/>
  102151. when trace is stopped, the rwa contains the address of the last sram location that was written
  102152. plus one. if the ram write address was incremented beyond the depth of the ram while the
  102153. ela-500 was capturing trace data, the wrap bit is set.
  102154. <br/>
  102155. the rwar is automatically incremented by apb writes to the sram through the rwdr.
  102156. </comment>
  102157. </bits>
  102158. </reg>
  102159. <reg name="rwdr" protect="wo">
  102160. <comment>ram write data register</comment>
  102161. <bits access="wo" name="rwdr" pos="31:0" rst="-">
  102162. <comment>
  102163. writes data to the write holding register and initiates an sram write when the write holding register is full.
  102164. writes to the rwd update the internal write holding register.
  102165. <br/>
  102166. the first write to the rwd sets the header byte value from the least significant byte written. subsequent writes to the
  102167. rwd set 32-bit chunks of the payload, starting with the least significant chunk. when the final 32 bits of the payload
  102168. have been written, the content of the holding register is copied into the sram and the rwa is incremented
  102169. automatically.
  102170. </comment>
  102171. </bits>
  102172. </reg>
  102173. <hole size="1408"/>
  102174. <struct count="NUM_TRIG_STATES" name="trig_state">
  102175. <reg name="sigsel" protect="rw">
  102176. <comment>signal select registers</comment>
  102177. <bits access="rw" name="sigsel" pos="11:0" rst="-">
  102178. <comment>
  102179. selects signal group.
  102180. <br/>
  102181. 0x1 selects signal group 0.
  102182. <br/>
  102183. 0x2 selects signal group 1.
  102184. <br/>
  102185. 0x4 selects signal group 2.
  102186. <br/>
  102187. 0x8 selects signal group 3.
  102188. <br/>
  102189. 0x10 selects signal group 4.
  102190. <br/>
  102191. 0x20 selects signal group 5.
  102192. <br/>
  102193. 0x40 selects signal group 6.
  102194. <br/>
  102195. 0x80 selects signal group 7.
  102196. <br/>
  102197. 0x100 selects signal group 8.
  102198. <br/>
  102199. 0x200 selects signal group 9.
  102200. <br/>
  102201. 0x400 selects signal group 10.
  102202. <br/>
  102203. 0x800 selects signal group 11.
  102204. </comment>
  102205. </bits>
  102206. </reg>
  102207. <reg name="trigctrl" protect="rw">
  102208. <comment>trigger control registers</comment>
  102209. <bits access="rw" name="altcompsel" pos="15" rst="-">
  102210. <comment>
  102211. selects the alternative comparison mode:
  102212. <br/>
  102213. 0b0 trigger signal alternative comparisons selected.
  102214. <br/>
  102215. 0b1 trigger counter alternative comparisons selected.
  102216. </comment>
  102217. </bits>
  102218. <bits access="rw" name="altcomp" pos="14:12" rst="-">
  102219. <comment>
  102220. trigger signal alternative comparison type select:
  102221. <br/>
  102222. 0b000 trigger signal alternative comparisons disabled.
  102223. <br/>
  102224. 0b001 alternative compare type is equal (==).
  102225. <br/>
  102226. 0b010 alternative compare type is greater than (&gt;).
  102227. <br/>
  102228. 0b011 alternative compare type is greater than or equal (&gt;=).
  102229. <br/>
  102230. 0b101 alternative compare type is not equal (!=).
  102231. <br/>
  102232. 0b110 alternative compare type is less than (&lt;).
  102233. <br/>
  102234. 0b111 alternative compare type is less than or equal (&lt;=).
  102235. </comment>
  102236. </bits>
  102237. <bits access="rw" name="captid" pos="11:10" rst="-">
  102238. <comment>
  102239. <br/>
  102240. 0b00 disable use of the captured id for signal comparisons.
  102241. <br/>
  102242. 0b01 capture id when trigger signal condition matches.
  102243. the id is captured, from signalgrp[id_capture_size-1:0].
  102244. <br/>
  102245. 0b10 use the captured id instead of the target value in sigcomp[id_capture_size-1:0] for
  102246. comparison of signalgrp[id_capture_size-1:0].
  102247. <br/>
  102248. 0b11 use the captured id instead of the signalgrp[id_capture_size-1:0] for a comparison
  102249. against sigcomp[id_capture_size-1:0].
  102250. </comment>
  102251. </bits>
  102252. <bits access="rw" name="countbrk" pos="9" rst="-">
  102253. <comment>
  102254. loop counter break.
  102255. <br/>
  102256. the loop counter break uses the trigger state counter to break loops between trigger states after a trigger
  102257. counter comparison. when the counter comparison matches, the trigger state goes to a final state, which
  102258. stops trace writes and leaves the output actions at the previous trigger state action value.
  102259. <br/>
  102260. 0b0 normal operation.
  102261. <br/>
  102262. 0b1 break trigger state loop: a counter comparison match causes a transition to the
  102263. final state, otherwise go to the nextstate trigger state as the counter
  102264. increments.
  102265. </comment>
  102266. </bits>
  102267. <bits access="rw" name="countclr" pos="8" rst="-">
  102268. <comment>
  102269. counter clear.
  102270. <br/>
  102271. 0b0 do not clear the counter value when moving to a different nextstate.
  102272. <br/>
  102273. 0b1 clear the counter value when moving to a different nextstate.
  102274. <br/>
  102275. note: trigctrl.watchrst must be 0b0 when using this feature.
  102276. </comment>
  102277. </bits>
  102278. <bits access="rw" name="trace" pos="7:6" rst="-">
  102279. <comment>
  102280. trace capture control.
  102281. <br/>
  102282. 0b00 trace is captured when trigger signal comparison succeeds.
  102283. <br/>
  102284. 0b01 trace is captured when trigger counter comparison succeeds.
  102285. <br/>
  102286. 0b10 trace is captured every elaclk cycle.
  102287. <br/>
  102288. 0b11 reserved.
  102289. </comment>
  102290. </bits>
  102291. <bits access="rw" name="countsrc" pos="5" rst="-">
  102292. <comment>
  102293. counter source select.
  102294. <br/>
  102295. 0b0 counter is incremented every elaclk cycle.
  102296. <br/>
  102297. 0b1 counter is incremented when trigger signal comparison matches.
  102298. </comment>
  102299. </bits>
  102300. <bits access="rw" name="watchrst" pos="4" rst="-">
  102301. <comment>
  102302. counter reset.
  102303. <br/>
  102304. 0b0 do not reset the counter after a trigger signal comparison match.
  102305. <br/>
  102306. 0b1 reset the counter after a trigger signal comparison match.
  102307. <br/>
  102308. the counter acts like an activity watchdog timer, only allowing advancement to the
  102309. next trigger state when the trigger counter comparison is reached. the counter is
  102310. reset by a signal comparison.
  102311. </comment>
  102312. </bits>
  102313. <bits access="rw" name="compsel" pos="3" rst="-">
  102314. <comment>
  102315. comparison mode. acts as both a counter enable and a select for the comparison mode.
  102316. <br/>
  102317. 0b0 disable counters and select trigger signal comparison mode.
  102318. <br/>
  102319. 0b1 enable counters and select trigger counter comparison mode.
  102320. </comment>
  102321. </bits>
  102322. <bits access="rw" name="comp" pos="2:0" rst="-">
  102323. <comment>
  102324. trigger signal comparison type select.
  102325. <br/>
  102326. 0b000 trigger signal comparisons disabled. the enabled counters count clocks
  102327. immediately after the trigger state has been entered and generate a programmable
  102328. output action and transition to the next trigger state when the counter compare
  102329. register count is reached, that is when a trigger counter comparison match
  102330. occurs.
  102331. <br/>
  102332. 0b001 compare type is equal (==).
  102333. <br/>
  102334. 0b010 compare type is greater than (&gt;).
  102335. <br/>
  102336. 0b011 compare type is greater than or equal (&gt;=).
  102337. <br/>
  102338. 0b101 compare type is not equal (!=).
  102339. <br/>
  102340. 0b110 compare type is less than (&lt;).
  102341. <br/>
  102342. 0b111 compare type is less than or equal (&lt;=).
  102343. </comment>
  102344. </bits>
  102345. </reg>
  102346. <reg name="nextstate" protect="rw">
  102347. <comment>next state registers</comment>
  102348. <bits access="rw" name="nextstate" pos="NUM_TRIG_STATES-1:0" rst="-">
  102349. <comment>
  102350. selects the next state to move to after the trigger condition has been met in the current
  102351. state.
  102352. <br/>
  102353. 0x0 do not change state. this is the final trigger state.
  102354. <br/>
  102355. 0x1 selects trigger state 0.
  102356. <br/>
  102357. 0x2 selects trigger state 1.
  102358. <br/>
  102359. 0x4 selects trigger state 2.
  102360. <br/>
  102361. 0x8 selects trigger state 3.
  102362. <br/>
  102363. 0x10 selects trigger state 4, when num_trig_states=5.
  102364. </comment>
  102365. </bits>
  102366. </reg>
  102367. <reg name="action" protect="rw">
  102368. <comment>action registers</comment>
  102369. <bits access="rw" name="elaoutput" pos="7:4" rst="0x00">
  102370. <comment>value to drive on elaoutput[3:0].</comment>
  102371. </bits>
  102372. <bits access="rw" name="trace" pos="3" rst="0x00">
  102373. <comment>
  102374. trace active.
  102375. <br/>
  102376. 0b0 trace is not active.
  102377. <br/>
  102378. 0b1 trace is active.
  102379. </comment>
  102380. </bits>
  102381. <bits access="rw" name="stopclock" pos="2" rst="0x00">
  102382. <comment>
  102383. level to drive on stopclock.
  102384. <br/>
  102385. 0b0 drive 0 on stopclock.
  102386. <br/>
  102387. 0b1 drive 1 on stopclock.
  102388. </comment>
  102389. </bits>
  102390. <bits access="rw" name="cttrigout" pos="1:0" rst="0x00">
  102391. <comment>value to drive on cttrigout[1:0].</comment>
  102392. </bits>
  102393. </reg>
  102394. <reg name="altnextstate" protect="rw">
  102395. <comment>alt next state registers</comment>
  102396. <bits access="rw" name="altnextstate" pos="NUM_TRIG_STATES-1:0" rst="-">
  102397. <comment>
  102398. selects the next state to move to after the conditional trigger condition has been
  102399. met in the current state.
  102400. <br/>
  102401. 0x0 do not change state. this is the final trigger state.
  102402. <br/>
  102403. 0x1 selects trigger state 0.
  102404. <br/>
  102405. 0x2 selects trigger state 1.
  102406. <br/>
  102407. 0x4 selects trigger state 2.
  102408. <br/>
  102409. 0x8 selects trigger state 3.
  102410. <br/>
  102411. 0x10 selects trigger state 4, when num_trig_states=5.
  102412. </comment>
  102413. </bits>
  102414. </reg>
  102415. <reg name="altaction" protect="rw">
  102416. <comment>alt action registers</comment>
  102417. <bits access="rw" name="elaoutput" pos="7:4" rst="0x00">
  102418. <comment>value to drive on elaoutput[3:0].</comment>
  102419. </bits>
  102420. <bits access="rw" name="trace" pos="3" rst="0x00">
  102421. <comment>
  102422. trace active.
  102423. <br/>
  102424. 0b0 trace is not active.
  102425. <br/>
  102426. 0b1 trace is active.
  102427. </comment>
  102428. </bits>
  102429. <bits access="rw" name="stopclock" pos="2" rst="0x00">
  102430. <comment>
  102431. level to drive on stopclock.
  102432. <br/>
  102433. 0b0 drive 0 on stopclock.
  102434. <br/>
  102435. 0b1 drive 1 on stopclock.
  102436. </comment>
  102437. </bits>
  102438. <bits access="rw" name="cttrigout" pos="1:0" rst="0x00">
  102439. <comment>value to drive on cttrigout[1:0].</comment>
  102440. </bits>
  102441. </reg>
  102442. <hole size="64"/>
  102443. <reg name="countcomp" protect="rw">
  102444. <comment>counter compare registers</comment>
  102445. <bits access="rw" name="countcomp" pos="31:0" rst="-">
  102446. <comment>value that, when reached in the associated up-counter for this trigger state, causes a trigger counter
  102447. comparison match to occur.</comment>
  102448. </bits>
  102449. </reg>
  102450. <hole size="96"/>
  102451. <reg name="extmask" protect="rw">
  102452. <comment>external mask registers</comment>
  102453. <bits access="rw" name="exttrig" pos="7:2" rst="-">
  102454. <comment>
  102455. mask exttrig[5:0] signals. each signal is masked by clearing the appropriate bit.
  102456. <br/>
  102457. 0b0 external trigger input signal is masked and is not used in comparisons.
  102458. <br/>
  102459. 0b1 external trigger input signal is not masked.
  102460. </comment>
  102461. </bits>
  102462. <bits access="rw" name="cttrigin" pos="1:0" rst="-">
  102463. <comment>
  102464. mask cttrigin[1:0] signals. each signal is masked by clearing the appropriate bit.
  102465. <br/>
  102466. 0b0 external trigger input signal is masked and is not used in comparisons.
  102467. <br/>
  102468. 0b1 external trigger input signal is not masked.
  102469. </comment>
  102470. </bits>
  102471. </reg>
  102472. <reg name="extcomp" protect="rw">
  102473. <comment>external compare registers</comment>
  102474. <bits access="rw" name="exttrig" pos="7:2" rst="-">
  102475. <comment>compare value for exttrig[5:0] signals.</comment>
  102476. </bits>
  102477. <bits access="rw" name="cttrigin" pos="1:0" rst="-">
  102478. <comment>compare value for cttrigin[1:0] signals.</comment>
  102479. </bits>
  102480. </reg>
  102481. <hole size="64"/>
  102482. <reg count="4" name="sigmask" protect="rw">
  102483. <comment>signal mask registers</comment>
  102484. <bits access="rw" name="sigmask" pos="31:0" rst="-">
  102485. <comment>
  102486. mask bits from sigcomp[31:0].
  102487. <br/>
  102488. mask bits from sigcomp[63:32].
  102489. <br/>
  102490. mask bits from sigcomp[95:64]. these bits are only used if grp_width = 128 or 256.
  102491. <br/>
  102492. mask bits from sigcomp[127:96]. these bits are only used if grp_width = 128 or 256.
  102493. </comment>
  102494. </bits>
  102495. </reg>
  102496. <hole size="384"/>
  102497. <reg count="4" name="sigcomp" protect="rw">
  102498. <comment>signal compare registers</comment>
  102499. <bits access="rw" name="sigcomp" pos="31:0" rst="-">
  102500. <comment>
  102501. compare value for signal group signals[31:0].
  102502. <br/>
  102503. compare value for signal group signals[63:32].
  102504. <br/>
  102505. compare value for signal group signals[95:64]. these bits are only used if grp_width = 128 or 256.
  102506. <br/>
  102507. compare value for signal group signals[127:96]. these bits are only used if grp_width = 128 or 256.
  102508. </comment>
  102509. </bits>
  102510. </reg>
  102511. <hole size="896"/>
  102512. </struct>
  102513. <hole size="20288"/>
  102514. <reg name="ittrigout" protect="wo">
  102515. <comment>integration mode action trigger output register</comment>
  102516. <bits access="wo" name="elaoutput" pos="7:4" rst="0x00">
  102517. <comment>value to drive on elaoutput[3:0] when itctlr.ime = 1.</comment>
  102518. </bits>
  102519. <bits access="wo" name="stopclock" pos="2" rst="0x00">
  102520. <comment>
  102521. level to drive on stopclock when itctlr.ime = 1.
  102522. <br/>
  102523. 0b0 drive 0 on stopclock.
  102524. <br/>
  102525. 0b1 drive 1 on stopclock.
  102526. </comment>
  102527. </bits>
  102528. <bits access="wo" name="cttrigout" pos="1:0" rst="0x00">
  102529. <comment>value to drive on cttrigout[1:0] when itctlr.ime = 1.</comment>
  102530. </bits>
  102531. </reg>
  102532. <hole size="96"/>
  102533. <reg name="ittrigin" protect="ro">
  102534. <comment>integration mode external trigger input register</comment>
  102535. <bits access="ro" name="exttrig" pos="7:2" rst="-">
  102536. <comment>captures the value on exttrig[5:0] when itctlr.ime = 1.</comment>
  102537. </bits>
  102538. <bits access="ro" name="cttrigin" pos="1:0" rst="-">
  102539. <comment>captures the value on cttrigin[1:0] when itctlr.ime = 1.</comment>
  102540. </bits>
  102541. </reg>
  102542. <hole size="32"/>
  102543. <reg name="itctrl" protect="rw">
  102544. <comment>integration mode control register</comment>
  102545. <bits access="rw" name="ime" pos="0" rst="0x0">
  102546. <comment>
  102547. integration mode enable.
  102548. <br/>
  102549. 0b0 integration mode disabled. the ela-500 operates normally.
  102550. <br/>
  102551. 0b1 integration mode enabled when ctrl.run = 0.
  102552. </comment>
  102553. </bits>
  102554. </reg>
  102555. <hole size="1376"/>
  102556. <reg name="lar" protect="wo">
  102557. <comment>lock access register</comment>
  102558. <bits access="wo" name="lar" pos="31:0" rst="-">
  102559. <comment>permits writes to the other ela-500 registers when the access code 0xc5acce55 is written. writing any other value
  102560. prevents access to the other ela-500 registers.</comment>
  102561. </bits>
  102562. </reg>
  102563. <reg name="lsr" protect="ro">
  102564. <comment>lock status register</comment>
  102565. <bits access="ro" name="lsr" pos="2:0" rst="0x00">
  102566. <comment>
  102567. returns the status of the lock access control.
  102568. <br/>
  102569. 0b001 write access permitted.
  102570. <br/>
  102571. 0b011 write access not permitted.
  102572. </comment>
  102573. </bits>
  102574. </reg>
  102575. <reg name="authstatus" protect="ro">
  102576. <comment>authentication status register</comment>
  102577. <bits access="ro" name="snid" pos="7:6" rst="-">
  102578. <comment>
  102579. secure, non-invasive debug.
  102580. <br/>
  102581. 0b10 debug disabled.
  102582. <br/>
  102583. 0b11 debug enabled.
  102584. </comment>
  102585. </bits>
  102586. <bits access="ro" name="sid" pos="5:4" rst="-">
  102587. <comment>
  102588. secure, invasive debug.
  102589. <br/>
  102590. 0b10 debug disabled.
  102591. <br/>
  102592. 0b11 debug enabled.
  102593. </comment>
  102594. </bits>
  102595. <bits access="ro" name="nsnid" pos="3:2" rst="-">
  102596. <comment>
  102597. non-secure, non-invasive debug.
  102598. <br/>
  102599. 0b10 debug disabled.
  102600. <br/>
  102601. 0b11 debug enabled.
  102602. </comment>
  102603. </bits>
  102604. <bits access="ro" name="nsid" pos="1:0" rst="-">
  102605. <comment>
  102606. non-secure, invasive debug.
  102607. <br/>
  102608. 0b10 debug disabled.
  102609. <br/>
  102610. 0b11 debug enabled.
  102611. </comment>
  102612. </bits>
  102613. </reg>
  102614. <reg name="devarch" protect="ro">
  102615. <comment>device architecture register</comment>
  102616. <bits access="ro" name="architect" pos="31:21" rst="0x23b">
  102617. <comment>
  102618. the architect of the device.
  102619. <br/>
  102620. 0x23b arm.
  102621. </comment>
  102622. </bits>
  102623. <bits access="ro" name="present" pos="20" rst="0x1">
  102624. <comment>
  102625. indicates that the register is present.
  102626. <br/>
  102627. 1 register present.
  102628. </comment>
  102629. </bits>
  102630. <bits access="ro" name="revision" pos="19:16" rst="0x0">
  102631. <comment>
  102632. architecture revision.
  102633. <br/>
  102634. 0 first revision.
  102635. </comment>
  102636. </bits>
  102637. <bits access="ro" name="archid" pos="15:0" rst="0x0a75">
  102638. <comment>
  102639. the architecture of the device.
  102640. <br/>
  102641. 0x0a75 coresight ela.
  102642. </comment>
  102643. </bits>
  102644. </reg>
  102645. <reg name="devid2" protect="ro">
  102646. <comment>device configuration register 2</comment>
  102647. <bits access="ro" name="trigin_edge" pos="19:16" rst="-d">
  102648. <comment>
  102649. 0: level detect of cttrigin and exttrig.
  102650. <br/>
  102651. 1: single edge detect of cttrigin and exttrig.
  102652. </comment>
  102653. </bits>
  102654. <bits access="ro" name="comp_width" pos="15:8" rst="-d">
  102655. <comment>
  102656. indicates the comparator width.
  102657. 0: comparator width = grp_width.
  102658. <br/>
  102659. &gt;0: comparator width = (comp_width + 1) x 8.
  102660. <br/>
  102661. for example, if comp_width = 15, then comparator width = 256.
  102662. </comment>
  102663. </bits>
  102664. <bits access="ro" name="altts" pos="7:0" rst="-d">
  102665. <comment>
  102666. 0x00 num_trig_states=4. trigger state 4 is not implemented.
  102667. <br/>
  102668. 0x10 num_trig_states=5. trigger state 4 is implemented and can be used for independent trace.
  102669. <br/>
  102670. all other encodings are reserved and read as 0x00.
  102671. </comment>
  102672. </bits>
  102673. </reg>
  102674. <reg name="devid1" protect="ro">
  102675. <comment>device configuration register 1</comment>
  102676. <bits access="ro" name="countwidth" pos="31:24" rst="-d">
  102677. <comment>counter width in bits. fixed at 32.</comment>
  102678. </bits>
  102679. <bits access="ro" name="numtrigstates" pos="23:16" rst="-d">
  102680. <comment>number of trigger states. four or five.</comment>
  102681. </bits>
  102682. <bits access="ro" name="siggrpwidth" pos="15:8" rst="-d">
  102683. <comment>
  102684. signal group width. the field value is (signal group width/8) - 1.
  102685. <br/>
  102686. for example, 7 if grp_width = 64, 15 if grp_width = 128, and 31 if grp_width = 256.
  102687. </comment>
  102688. </bits>
  102689. <bits access="ro" name="numsiggrps" pos="7:0" rst="-d">
  102690. <comment>number of signal groups. fixed at 12.</comment>
  102691. </bits>
  102692. </reg>
  102693. <reg name="devid" protect="ro">
  102694. <comment>device configuration register</comment>
  102695. <bits access="ro" name="scrambler" pos="28:25" rst="-d">
  102696. <comment>
  102697. 0: trace read data scrambler not present.
  102698. <br/>
  102699. 1: trace read data scrambler present.
  102700. </comment>
  102701. </bits>
  102702. <bits access="ro" name="id_capture_size" pos="24:20" rst="-d">
  102703. <comment>2-30 bits when cond_trig = 1, or 0 otherwise.</comment>
  102704. </bits>
  102705. <bits access="ro" name="cond_trig" pos="19:16" rst="-d">
  102706. <comment>
  102707. shows the value of the cond_trig parameter.
  102708. <br/>
  102709. 1, when cond_trig = 1, or 0 otherwise.
  102710. </comment>
  102711. </bits>
  102712. <bits access="ro" name="sram_addr_size" pos="15:8" rst="-d">
  102713. <comment>sram address width in bits.</comment>
  102714. </bits>
  102715. <bits access="ro" name="traceformat" pos="7:4" rst="-d">
  102716. <comment>
  102717. trace implementation:
  102718. <br/>
  102719. 1 fixed at 1. indicates trace header format revision 1.
  102720. </comment>
  102721. </bits>
  102722. <bits access="ro" name="tracetype" pos="3:0" rst="-d">
  102723. <comment>
  102724. atb trace:
  102725. <br/>
  102726. 0 atb trace not implemented.
  102727. <br/>
  102728. 1 atb trace is implemented.
  102729. </comment>
  102730. </bits>
  102731. </reg>
  102732. <reg name="devtype" protect="ro">
  102733. <comment>device type identifier register</comment>
  102734. <bits access="ro" name="devtype" pos="7:0" rst="0x75">
  102735. <comment>
  102736. 0x75.
  102737. <br/>
  102738. sub type = 0x7.
  102739. <br/>
  102740. major type = 0x5.
  102741. </comment>
  102742. </bits>
  102743. </reg>
  102744. <reg name="pidr4" protect="ro">
  102745. <comment>peripheral id4 register</comment>
  102746. <bits access="ro" name="size" pos="7:4" rst="0x0">
  102747. <comment>0x0. one 4kb count.</comment>
  102748. </bits>
  102749. <bits access="ro" name="des_2" pos="3:0" rst="0x4">
  102750. <comment>0x4. jep continuation code for arm.</comment>
  102751. </bits>
  102752. </reg>
  102753. <reg name="pidr5" protect="ro">
  102754. <comment>peripheral id5 register</comment>
  102755. <bits access="ro" name="pidr5" pos="7:0" rst="0x00">
  102756. <comment>0x00. reserved.</comment>
  102757. </bits>
  102758. </reg>
  102759. <reg name="pidr6" protect="ro">
  102760. <comment>peripheral id6 register</comment>
  102761. <bits access="ro" name="pidr6" pos="7:0" rst="0x00">
  102762. <comment>0x00. reserved.</comment>
  102763. </bits>
  102764. </reg>
  102765. <reg name="pidr7" protect="ro">
  102766. <comment>peripheral id7 register</comment>
  102767. <bits access="ro" name="pidr7" pos="7:0" rst="0x00">
  102768. <comment>0x00. reserved.</comment>
  102769. </bits>
  102770. </reg>
  102771. <reg name="pidr0" protect="ro">
  102772. <comment>peripheral id0 register</comment>
  102773. <bits access="ro" name="part_0" pos="7:0" rst="0xb8">
  102774. <comment>0xb8. bits[7:0] of part number 0x9b8.</comment>
  102775. </bits>
  102776. </reg>
  102777. <reg name="pidr1" protect="ro">
  102778. <comment>peripheral id1 register</comment>
  102779. <bits access="ro" name="des_0" pos="7:4" rst="0xb">
  102780. <comment>0xb. bits[3:0] of jep106 identification code for arm 0x3b.</comment>
  102781. </bits>
  102782. <bits access="ro" name="part_1" pos="3:0" rst="0x9">
  102783. <comment>0x9. bits[11:8] of part number 0x9b8.</comment>
  102784. </bits>
  102785. </reg>
  102786. <reg name="pidr2" protect="ro">
  102787. <comment>peripheral id2 register</comment>
  102788. <bits access="ro" name="revision" pos="7:4" rst="0x2">
  102789. <comment>0x2. revision number. indicates revision r2p0.</comment>
  102790. </bits>
  102791. <bits access="ro" name="jedec" pos="3" rst="0x1">
  102792. <comment>0b1. fixed at 0b1.</comment>
  102793. </bits>
  102794. <bits access="ro" name="des_1" pos="2:0" rst="0x3">
  102795. <comment>0b011. bits[6:4] of jep106 identification code for arm 0x3b.</comment>
  102796. </bits>
  102797. </reg>
  102798. <reg name="pidr3" protect="ro">
  102799. <comment>peripheral id3 register</comment>
  102800. <bits access="ro" name="revand" pos="7:4" rst="0x00">
  102801. <comment>0x0. revand.</comment>
  102802. </bits>
  102803. <bits access="ro" name="cmod" pos="3:0" rst="0x00">
  102804. <comment>0x0. indicates whether the customer has modified the behavior of the component. in most cases, this field is
  102805. 0b0000. you can change this value when you make authorized modifications to this component.</comment>
  102806. </bits>
  102807. </reg>
  102808. <reg name="cidr0" protect="ro">
  102809. <comment>component id0 register</comment>
  102810. <bits access="ro" name="prmbl_0" pos="7:0" rst="0x0d">
  102811. <comment>0x0d. preamble.</comment>
  102812. </bits>
  102813. </reg>
  102814. <reg name="cidr1" protect="ro">
  102815. <comment>component id1 register</comment>
  102816. <bits access="ro" name="class" pos="7:4" rst="0x9">
  102817. <comment>0x9. indicates a coresight component.</comment>
  102818. </bits>
  102819. <bits access="ro" name="prmbl_1" pos="3:0" rst="0x0">
  102820. <comment>0x0. preamble.</comment>
  102821. </bits>
  102822. </reg>
  102823. <reg name="cidr2" protect="ro">
  102824. <comment>component id2 register</comment>
  102825. <bits access="ro" name="prmbl_2" pos="7:0" rst="0x05">
  102826. <comment>0x05. preamble.</comment>
  102827. </bits>
  102828. </reg>
  102829. <reg name="cidr3" protect="ro">
  102830. <comment>component id3 register</comment>
  102831. <bits access="ro" name="prmbl_3" pos="7:0" rst="0xb1">
  102832. <comment>0xb1. preamble.</comment>
  102833. </bits>
  102834. </reg>
  102835. </module>
  102836. </archive>
  102837. <archive relative="evitac.xml">
  102838. <include file="globals.xml"/>
  102839. <module category="GGE_SYS" name="EVITAC">
  102840. <reg name="ctrl" protect="rw">
  102841. <bits access="rw" name="psampl_inc" pos="7:0" rst="0x0">
  102842. <comment>Control setting. psample increment.</comment>
  102843. </bits>
  102844. <bits access="rw" name="nb_symbol" pos="15:8" rst="0x0">
  102845. <comment>Control setting. Number of symbols.</comment>
  102846. </bits>
  102847. <bits access="rw" name="nodemetric_his" pos="23:16" rst="0x0">
  102848. <comment>Control setting. node metric history.</comment>
  102849. </bits>
  102850. <bits access="rw" name="cmd" pos="31:24" rst="0x0">
  102851. <comment>Control setting. Command.</comment>
  102852. </bits>
  102853. </reg>
  102854. <reg name="pbmml_addr" protect="rw">
  102855. <bits access="rw" name="pbmml_addr" pos="31:0" rst="0x0">
  102856. <comment>pbmml address.</comment>
  102857. </bits>
  102858. </reg>
  102859. <reg name="pzfm_addr" protect="rw">
  102860. <bits access="rw" name="pzfm_addr" pos="31:0" rst="0x0">
  102861. <comment>pzfm address.</comment>
  102862. </bits>
  102863. </reg>
  102864. <reg name="psmpl_addr" protect="rw">
  102865. <bits access="rw" name="psmpl_addr" pos="31:0" rst="0x0">
  102866. <comment>psample address.</comment>
  102867. </bits>
  102868. </reg>
  102869. <reg name="output_bits_addr" protect="rw">
  102870. <bits access="rw" name="output_bits_addr" pos="31:0" rst="0x0">
  102871. <comment>softbits output address.</comment>
  102872. </bits>
  102873. </reg>
  102874. <reg name="shift_status" protect="rw">
  102875. <bits access="rw" name="status" pos="7:0" rst="0x0">
  102876. <comment>Status is set to 1 when an operation is finished,It must be reset before lauching a new operation</comment>
  102877. </bits>
  102878. <bits access="rw" name="svshift" pos="15:8" rst="0x0">
  102879. <comment>sv shift bits.</comment>
  102880. </bits>
  102881. <bits access="rw" name="bmshift" pos="23:16" rst="0x0">
  102882. <comment>bm shift bits.</comment>
  102883. </bits>
  102884. </reg>
  102885. <reg name="zfhist_history" protect="rw">
  102886. <bits access="rw" name="zfhist_history" pos="31:0" rst="0x0">
  102887. <comment>zfhist history.</comment>
  102888. </bits>
  102889. </reg>
  102890. <var name="EVITAC_START" value="1"/>
  102891. </module>
  102892. </archive>
  102893. <archive relative="dma.xml">
  102894. <module category="GGE_SYS" name="DMA">
  102895. <reg name="get_channel" protect="w">
  102896. <bits access="r" name="get channel" pos="0" rst="1">
  102897. <comment>
  102898. Returns 1 and locks the DMA channel for a transaction if it is
  102899. available. Else returns 0.
  102900. <br/>
  102901. Clear the transfer done interrupt
  102902. status.
  102903. </comment>
  102904. </bits>
  102905. </reg>
  102906. <reg name="status" protect="r">
  102907. <bits access="r" name="enable" pos="0" rst="0">
  102908. <comment>Status of the DMA: 1 if enabled, 0 if disabled.</comment>
  102909. </bits>
  102910. <bits access="r" name="int done cause" pos="1" rst="0">
  102911. <comment>
  102912. Cause of the interrupt. This bit is set when the transfer is
  102913. done and the interrupt mask bit is set.
  102914. <br/>
  102915. Write one in the Int Clear
  102916. or write 0 in Enable control bits to clear Int Done Cause bit.
  102917. </comment>
  102918. </bits>
  102919. <bits access="r" name="int done status" pos="2" rst="0">
  102920. <comment>
  102921. Status of the interrupt. Status of the transfer: 1 if the
  102922. transfer is finished, 0 if it is not finished.
  102923. <br/>
  102924. Write one in the
  102925. Int Clear or write 0 in Enable control bits to clear Int Done Status
  102926. bit.
  102927. </comment>
  102928. </bits>
  102929. <bits access="r" name="channel lock" pos="4" rst="0">
  102930. <comment>Actual status of channel lock. Channel is unlocked at the end
  102931. of transaction or when the DMA is disabled.</comment>
  102932. </bits>
  102933. </reg>
  102934. <reg name="control" protect="rw">
  102935. <bits access="rw" name="enable" pos="0" rst="0">
  102936. <comment>Controls the DMA. Write 1 to enable the DMA, write 0 to disable
  102937. it. When 0 is written in this register, the Int Done Status and Cause
  102938. bits are reset.</comment>
  102939. </bits>
  102940. <bits access="rw" name="int done mask" pos="1" rst="0">
  102941. <comment>End of transfer interrupt generation. When 1, the DMA will send
  102942. an interrupt at transaction completion.</comment>
  102943. <options>
  102944. <shift/>
  102945. </options>
  102946. </bits>
  102947. <bits access="rw" name="int done clear" pos="2" rst="0">
  102948. <comment>
  102949. Clear the transfer done interruption (this will clear Int Done
  102950. Status and Int Done Cause).
  102951. <br/>
  102952. This bit is auto-clear. You will
  102953. always read 0 here.
  102954. </comment>
  102955. </bits>
  102956. <bits access="rw" name="use pattern" pos="4" rst="0">
  102957. <comment>If this bit is set, the source address will be ignored and the
  102958. memory will be fill with the value of the pattern register.</comment>
  102959. </bits>
  102960. <bits access="rw" name="max_burst_length" pos="6:5" rst="00">
  102961. <comment>
  102962. Set the MAX burst length.
  102963. <br/>
  102964. The 2'b10 mean burst max 16, 2'b01 mean burst max 8, 00 mean burst max 4.
  102965. </comment>
  102966. </bits>
  102967. <bits access="w" name="stop transfer" pos="8" rst="0">
  102968. <comment>The DMA stop the current transfer and flush his FIFO (write
  102969. only bit). When the FIFO is empty and last write performed, the DMA is
  102970. disabled and available for a next transfer. The number of bytes copied
  102971. is readable on DMA_XFER_SIZE register.</comment>
  102972. </bits>
  102973. <bits access="rw" name="gea enable" pos="12" rst="0">
  102974. <options>
  102975. <option name="DMA" value="0"/>
  102976. <option name="GEA" value="1"/>
  102977. <default/>
  102978. </options>
  102979. <comment>Enable Gea process when 1.</comment>
  102980. </bits>
  102981. <bits access="rw" name="gea algorithm" pos="13" rst="1">
  102982. <options>
  102983. <option name="GEA1" value="0"/>
  102984. <option name="GEA2" value="1"/>
  102985. <default/>
  102986. </options>
  102987. <comment>This field sets the type of GEA algorithm to process.</comment>
  102988. </bits>
  102989. <bits access="rw" name="gea direction" pos="14" rst="1">
  102990. <options>
  102991. <shift/>
  102992. </options>
  102993. <comment>This field selects the Direction in the GEA algorithm.</comment>
  102994. </bits>
  102995. <bits access="rw" name="fcs enable" pos="16" rst="0">
  102996. <options>
  102997. <option name="NORMAL_DMA" value="0"/>
  102998. <option name="FCS_PROCESS" value="1"/>
  102999. <default/>
  103000. </options>
  103001. <comment>Enable FCS process when 1.</comment>
  103002. </bits>
  103003. <bits access="rw" name="dst addr mgt" pos="21:20" rst="0">
  103004. <options>
  103005. <option name="NORMAL_DMA" value="0"/>
  103006. <option name="CONST_ADDR" value="1"/>
  103007. <option name="ALTERN_ADDR" value="2"/>
  103008. <option name="RESERVED" value="3"/>
  103009. <default/>
  103010. </options>
  103011. <comment>
  103012. Destination address management.
  103013. <br/>
  103014. 00 : Normal DMA operation,
  103015. DMA_DST_ADDR register define the destination address.
  103016. <br/>
  103017. 01 : DMA
  103018. write address is constant (no incremented) and defined by the
  103019. DMA_DST_ADDR register. All data write are in 16-bit.
  103020. <br/>
  103021. 10 : DMA
  103022. write address is alternatively defined by DMA_DST_ADDR and
  103023. DMA_SD_DST_ADDR registers. All data write are in 16-bit.
  103024. <br/>
  103025. In this
  103026. configuration, DMA write operation is alternatively:
  103027. <br/>
  103028. DMA_DST_ADDR
  103029. &lt;= DMA_PATTERN register
  103030. <br/>
  103031. DMA_SD_DST_ADDR &lt;=
  103032. Data[DMA_SRC_ADDR]
  103033. <br/>
  103034. 11 : reserved
  103035. </comment>
  103036. </bits>
  103037. </reg>
  103038. <reg name="src_addr" protect="rw">
  103039. <bits access="rw" name="src address" pos="27:0" rst="0xFFFFFFF">
  103040. <comment>Source start read byte address. When a transfer is stalled by
  103041. the Stop_Transfer bit, this register give the next current source
  103042. address, which is directly the value to re-program to complete the
  103043. transfer stopped.</comment>
  103044. </bits>
  103045. </reg>
  103046. <reg name="dst_addr" protect="rw">
  103047. <bits access="rw" name="dst address" pos="27:0" rst="0xFFFFFFF">
  103048. <comment>Destination start read byte address. When a transfer is stalled
  103049. by the Stop_Transfer bit, this register give the next current
  103050. destination address, which is directly the value to re-program to
  103051. complete the transfer stopped.</comment>
  103052. </bits>
  103053. </reg>
  103054. <reg name="sd_dst_addr" protect="rw">
  103055. <bits access="rw" name="sd dst address" pos="27:0" rst="0xFFFFFFF">
  103056. <comment>Second destination address. This register is only used when
  103057. Dst_Address_Mgt=10.</comment>
  103058. </bits>
  103059. </reg>
  103060. <reg name="xfer_size" protect="rw">
  103061. <bits access="rw" name="transfer size" pos="17:0" rst="0x3FFFF">
  103062. <comment>Transfer size in bytes. Maximum: 262144 bytes. When a transfer
  103063. is stopped by the Stop_Transfer bit, this register give the number of
  103064. remainder bytes to transfer.</comment>
  103065. </bits>
  103066. </reg>
  103067. <reg name="pattern" protect="rw">
  103068. <bits access="rw" name="pattern" pos="31:0" rst="0xFFFFFFFF">
  103069. <comment>Value taken to fill the memory when the configuration bit Use
  103070. Pattern is set. When the pattern mode is used the destination address
  103071. must be 32-bit aligned and the transfer size multiple of 4. when
  103072. Dst_Address_Mgt=10 Pattern is the data written at the address given by
  103073. the Dst_Address register.</comment>
  103074. </bits>
  103075. </reg>
  103076. <reg name="gea_kc_low" protect="rw">
  103077. <bits access="rw" name="kc_lsb" pos="31:0" rst="0xFFFFFFFF">
  103078. <comment>GEA key Kc, LSB bit [31:0].</comment>
  103079. </bits>
  103080. </reg>
  103081. <reg name="gea_kc_high" protect="rw">
  103082. <bits access="rw" name="kc_msb" pos="31:0" rst="0xFFFFFFFF">
  103083. <comment>GEA key Kc, MSB bit [31:0].</comment>
  103084. </bits>
  103085. </reg>
  103086. <reg name="gea_messkey" protect="rw">
  103087. <bits access="rw" name="messkey" pos="31:0" rst="0xFFFFFFFF">
  103088. <comment>MessKey (Input) register.</comment>
  103089. </bits>
  103090. </reg>
  103091. <reg name="fcs" protect="r">
  103092. <bits access="r" name="fcs" pos="23:0" rst="0">
  103093. <comment>Frame Check Sequence.</comment>
  103094. </bits>
  103095. <bits access="r" name="fcs correct" pos="31" rst="0">
  103096. <comment>The FCS is correct in reception when the final remainder is
  103097. equal to C(x)= x^22 + x^21 + x^19 + x^18 + x^16 + x^15 + x^11 + x^8 +
  103098. x^5 + x^4</comment>
  103099. </bits>
  103100. </reg>
  103101. </module>
  103102. </archive>
  103103. <archive relative="nb_cell_search.xml">
  103104. <module category="NBIOT_PHY" name="NB_CELL_SEARCH">
  103105. <reg32 name="rpss_ctrl" protect="rw">
  103106. <bits access="rw" name="rpss_en" pos="0" rst="0">
  103107. <comment>PSS Enable
  103108. 1b0: Stop PSS calculation
  103109. 1b1: Start PSS calculation</comment>
  103110. </bits>
  103111. <bits access="rw" name="rpss_hypo_num" pos="3:1" rst="0">
  103112. <comment>PSS hypothesis number</comment>
  103113. </bits>
  103114. <bits access="rw" name="rpss_out_buf_cfg" pos="4" rst="0">
  103115. <comment>PSS output ping-pong buffer selection
  103116. 1b1:Select the pong buffer as the first output buffer
  103117. 1b0: Select the ping buffer as the first output buffer</comment>
  103118. </bits>
  103119. </reg32>
  103120. <reg32 name="rpss_start_os" protect="rw">
  103121. <bits access="rw" name="rpss_start_sample_os" pos="10:0" rst="0">
  103122. <comment>PSS start offset of sample within a sbuframe. Based on 1.92MHz. Range is from 0 to 1920.</comment>
  103123. </bits>
  103124. <bits access="rw" name="rpss_start_sf_os" pos="14:11" rst="0">
  103125. <comment>PSS start offset of subframe. Range is from 0 to 9.</comment>
  103126. </bits>
  103127. </reg32>
  103128. <reg32 name="rpss_sf_cnt" protect="r">
  103129. <bits access="r" name="rpss_sf_cnt" pos="3:0" rst="0">
  103130. <comment>PSS internal sub frame counter(from 0 to 9)</comment>
  103131. </bits>
  103132. </reg32>
  103133. <reg32 name="rpss_out_status" protect="r">
  103134. <bits access="r" name="rpss_obuf_sel" pos="0" rst="0">
  103135. <comment>Indicate the buffer selection on current interrupt
  103136. 1b0: buffer0 is selection
  103137. 1b1: buffer1 is selection</comment>
  103138. </bits>
  103139. <bits access="w1c" name="rpss_obuf0_status_0" pos="1" rst="0">
  103140. <comment>PSS output buffer 0 status. Clear by DSP or MCU
  103141. 1b1: buffer 0 is ready.
  103142. 1b0:buffer0 is idle</comment>
  103143. </bits>
  103144. <bits access="r" name="rpss_obuf0_status_1" pos="2" rst="0">
  103145. <comment>PSS output buffer 0 status.
  103146. 1b1: buffer 0 is over written.
  103147. 1b0: buffer 0 is normal</comment>
  103148. </bits>
  103149. <bits access="w1c" name="rpss_obuf1_status_0" pos="3" rst="0">
  103150. <comment>PSS output buffer 1 status. Clear by DSP or MCU
  103151. 1b1: buffer 1 is ready.
  103152. 1b0:buffer 1 is idle</comment>
  103153. </bits>
  103154. <bits access="r" name="rpss_obuf1_status_1" pos="4" rst="0">
  103155. <comment>PSS output buffer 1 status.
  103156. 1b1: buffer 1 is over written.
  103157. 1b0: buffer 1 is normal</comment>
  103158. </bits>
  103159. <bits access="w1c" name="rpss_done_status" pos="5" rst="0">
  103160. <comment>PSS calculation done status. Update very 1ms and clear by DSP or MCU.
  103161. 1b1: PSS calculation done
  103162. 1b0: PSS is idle or under calculating</comment>
  103163. </bits>
  103164. <bits access="r" name="rpss_mem_arb_status" pos="7:6" rst="0">
  103165. <comment>PSS write memory arbitration error status.
  103166. 1b1: the memory has conflict
  103167. 1b0: the memory is normal</comment>
  103168. </bits>
  103169. </reg32>
  103170. <reg32 name="rpss_non_zero_status" protect="r">
  103171. <bits access="r" name="rpss_non_zero_status" pos="8:0" rst="0">
  103172. <comment>bit8: pss final output data non-zero status
  103173. bit7: pss 148x40 memory out data non-zero status
  103174. bit6: pss 148x40 memory in data non-zero status
  103175. bit5: pss power non-zero status
  103176. bit4: pss 1312x24 memory out data non-zero status
  103177. bit3: pss 1312x24 memory in data non-zero status
  103178. bit2: pss in local sequence non-zero status
  103179. bit1: pss_corr_calc in data non-zero status
  103180. bit0: pss_deci in data non-zero status</comment>
  103181. </bits>
  103182. </reg32>
  103183. <hole size="3*32"/>
  103184. <reg32 name="rpss_sample_pos_pu0" protect="rw">
  103185. <bits access="rw" name="rpss_sample_pos_pu_0" pos="4:0" rst="0">
  103186. <comment>PSS sample position for Pu of hypothesis 0</comment>
  103187. </bits>
  103188. <bits access="rw" name="rpss_sample_pos_pu_1" pos="12:8" rst="0">
  103189. <comment>PSS sample position for Pu of hypothesis 1</comment>
  103190. </bits>
  103191. <bits access="rw" name="rpss_sample_pos_pu_2" pos="20:16" rst="0">
  103192. <comment>PSS sample position for Pu of hypothesis 2</comment>
  103193. </bits>
  103194. <bits access="rw" name="rpss_sample_pos_pu_3" pos="28:24" rst="0">
  103195. <comment>PSS sample position for Pu of hypothesis 3</comment>
  103196. </bits>
  103197. </reg32>
  103198. <reg32 name="rpss_sample_pos_pu1" protect="rw">
  103199. <bits access="rw" name="rpss_sample_pos_pu_4" pos="4:0" rst="0">
  103200. <comment>PSS sample position for Pu of hypothesis 0</comment>
  103201. </bits>
  103202. <bits access="rw" name="rpss_sample_pos_pu_5" pos="12:8" rst="0">
  103203. <comment>PSS sample position for Pu of hypothesis 1</comment>
  103204. </bits>
  103205. <bits access="rw" name="rpss_sample_pos_pu_6" pos="20:16" rst="0">
  103206. <comment>PSS sample position for Pu of hypothesis 2</comment>
  103207. </bits>
  103208. </reg32>
  103209. <reg32 name="rpss_sample_pos_pl0" protect="rw">
  103210. <bits access="rw" name="rpss_sample_pos_pl_0" pos="4:0" rst="0">
  103211. <comment>PSS sample position for Pl of hypothesis 0</comment>
  103212. </bits>
  103213. <bits access="rw" name="rpss_sample_pos_pl_1" pos="12:8" rst="0">
  103214. <comment>PSS sample position for Pl of hypothesis 1</comment>
  103215. </bits>
  103216. <bits access="rw" name="rpss_sample_pos_pl_2" pos="20:16" rst="0">
  103217. <comment>PSS sample position for Pl of hypothesis 2</comment>
  103218. </bits>
  103219. <bits access="rw" name="rpss_sample_pos_pl_3" pos="28:24" rst="0">
  103220. <comment>PSS sample position for Pl of hypothesis 3</comment>
  103221. </bits>
  103222. </reg32>
  103223. <reg32 name="rpss_sample_pos_pl1" protect="rw">
  103224. <bits access="rw" name="rpss_sample_pos_pl_4" pos="4:0" rst="0">
  103225. <comment>PSS sample position for Pl of hypothesis 4</comment>
  103226. </bits>
  103227. <bits access="rw" name="rpss_sample_pos_pl_5" pos="12:8" rst="0">
  103228. <comment>PSS sample position for Pl of hypothesis 5</comment>
  103229. </bits>
  103230. <bits access="rw" name="rpss_sample_pos_pl_6" pos="20:16" rst="0">
  103231. <comment>PSS sample position for Pl of hypothesis 6</comment>
  103232. </bits>
  103233. </reg32>
  103234. <reg32 name="rpss_coeff00" protect="rw">
  103235. <bits access="rw" name="rpss_coef_set0_0" pos="7:0" rst="0">
  103236. <comment>PSS set 0 coefficient for hypothesis 0</comment>
  103237. </bits>
  103238. <bits access="rw" name="rpss_coef_set0_1" pos="15:8" rst="0">
  103239. <comment>PSS set 0 coefficient for hypothesis 1</comment>
  103240. </bits>
  103241. <bits access="rw" name="rpss_coef_set0_2" pos="23:16" rst="0">
  103242. <comment>PSS set 0 coefficient for hypothesis 2</comment>
  103243. </bits>
  103244. <bits access="rw" name="rpss_coef_set0_3" pos="31:24" rst="0">
  103245. <comment>PSS set 0 coefficient for hypothesis 3</comment>
  103246. </bits>
  103247. </reg32>
  103248. <reg32 name="rpss_coeff01" protect="rw">
  103249. <bits access="rw" name="rpss_coef_set0_4" pos="7:0" rst="0">
  103250. <comment>PSS set 0 coefficient for hypothesis 4</comment>
  103251. </bits>
  103252. <bits access="rw" name="rpss_coef_set0_5" pos="15:8" rst="0">
  103253. <comment>PSS set 0 coefficient for hypothesis 5</comment>
  103254. </bits>
  103255. <bits access="rw" name="rpss_coef_set0_6" pos="23:16" rst="0">
  103256. <comment>PSS set 0 coefficient for hypothesis 7</comment>
  103257. </bits>
  103258. </reg32>
  103259. <reg32 name="rpss_coeff10" protect="rw">
  103260. <bits access="rw" name="rpss_coef_set1_0" pos="7:0" rst="0">
  103261. <comment>PSS set 1 coefficient for hypothesis 0</comment>
  103262. </bits>
  103263. <bits access="rw" name="rpss_coef_set1_1" pos="15:8" rst="0">
  103264. <comment>PSS set 1 coefficient for hypothesis 1</comment>
  103265. </bits>
  103266. <bits access="rw" name="rpss_coef_set1_2" pos="23:16" rst="0">
  103267. <comment>PSS set 0 coefficient for hypothesis 2</comment>
  103268. </bits>
  103269. <bits access="rw" name="rpss_coef_set1_3" pos="31:24" rst="0">
  103270. <comment>PSS set 0 coefficient for hypothesis 3</comment>
  103271. </bits>
  103272. </reg32>
  103273. <reg32 name="rpss_coeff11" protect="rw">
  103274. <bits access="rw" name="rpss_coef_set1_4" pos="7:0" rst="0">
  103275. <comment>PSS set 1 coefficient for hypothesis 4</comment>
  103276. </bits>
  103277. <bits access="rw" name="rpss_coef_set1_5" pos="15:8" rst="0">
  103278. <comment>PSS set 1 coefficient for hypothesis 5</comment>
  103279. </bits>
  103280. <bits access="rw" name="rpss_coef_set1_6" pos="23:16" rst="0">
  103281. <comment>PSS set 0 coefficient for hypothesis 6</comment>
  103282. </bits>
  103283. </reg32>
  103284. <hole size="8*32"/>
  103285. <struct count="17" name="pss_seq0_group">
  103286. <reg32 name="rpss_local_seq0" protect="w">
  103287. <bits access="w" name="rpss_local_seq0_re" pos="11:0" rst="0">
  103288. <comment>Real part of the local sequence 0</comment>
  103289. </bits>
  103290. <bits access="w" name="rpss_local_seq0_im" pos="27:16" rst="0">
  103291. <comment>Imag part of the local sequence 0</comment>
  103292. </bits>
  103293. </reg32>
  103294. </struct>
  103295. <struct count="17" name="pss_seq1_group">
  103296. <reg32 name="rpss_local_seq1" protect="w">
  103297. <bits access="w" name="rpss_local_seq1_re" pos="11:0" rst="0">
  103298. <comment>Real part of the local sequence 1</comment>
  103299. </bits>
  103300. <bits access="w" name="rpss_local_seq1_im" pos="27:16" rst="0">
  103301. <comment>Imag part of the local sequence 1</comment>
  103302. </bits>
  103303. </reg32>
  103304. </struct>
  103305. <struct count="17" name="pss_seq2_group">
  103306. <reg32 name="rpss_local_seq2" protect="w">
  103307. <bits access="w" name="rpss_local_seq2_re" pos="11:0" rst="0">
  103308. <comment>Real part of the local sequence 2</comment>
  103309. </bits>
  103310. <bits access="w" name="rpss_local_seq2_im" pos="27:16" rst="0">
  103311. <comment>Imag part of the local sequence 2</comment>
  103312. </bits>
  103313. </reg32>
  103314. </struct>
  103315. <struct count="17" name="pss_seq3_group">
  103316. <reg32 name="rpss_local_seq3" protect="w">
  103317. <bits access="w" name="rpss_local_seq3_re" pos="11:0" rst="0">
  103318. <comment>Real part of the local sequence 3</comment>
  103319. </bits>
  103320. <bits access="w" name="rpss_local_seq3_im" pos="27:16" rst="0">
  103321. <comment>Imag part of the local sequence 3</comment>
  103322. </bits>
  103323. </reg32>
  103324. </struct>
  103325. <struct count="17" name="pss_seq4_group">
  103326. <reg32 name="rpss_local_seq4" protect="w">
  103327. <bits access="w" name="rpss_local_seq4_re" pos="11:0" rst="0">
  103328. <comment>Real part of the local sequence 4</comment>
  103329. </bits>
  103330. <bits access="w" name="rpss_local_seq4_im" pos="27:16" rst="0">
  103331. <comment>Imag part of the local sequence 4</comment>
  103332. </bits>
  103333. </reg32>
  103334. </struct>
  103335. <struct count="17" name="pss_seq5_group">
  103336. <reg32 name="rpss_local_seq5" protect="w">
  103337. <bits access="w" name="rpss_local_seq5_re" pos="11:0" rst="0">
  103338. <comment>Real part of the local sequence 5</comment>
  103339. </bits>
  103340. <bits access="w" name="rpss_local_seq5_im" pos="27:16" rst="0">
  103341. <comment>Imag part of the local sequence 5</comment>
  103342. </bits>
  103343. </reg32>
  103344. </struct>
  103345. <struct count="17" name="pss_seq6_group">
  103346. <reg32 name="rpss_local_seq6" protect="w">
  103347. <bits access="w" name="rpss_local_seq6_re" pos="11:0" rst="0">
  103348. <comment>Real part of the local sequence 6</comment>
  103349. </bits>
  103350. <bits access="w" name="rpss_local_seq6_im" pos="27:16" rst="0">
  103351. <comment>Imag part of the local sequence 6</comment>
  103352. </bits>
  103353. </reg32>
  103354. </struct>
  103355. <hole size="369*32"/>
  103356. <reg32 name="rcfo_start" protect="w">
  103357. <bits access="w" name="rcfo_start" pos="0" rst="0">
  103358. <comment>Start trigger of one CFO calculation process by writing 1 to this register</comment>
  103359. </bits>
  103360. </reg32>
  103361. <reg32 name="rcfo_start_os" protect="rw">
  103362. <bits access="rw" name="rcfo_start_sample_os" pos="10:0" rst="0">
  103363. <comment>CFO data capture start offset of samples within a sub-frame. Based on 1.92MHz. Range is from 0 to 1920.</comment>
  103364. </bits>
  103365. <bits access="rw" name="rcfo_start_sf_os" pos="14:11" rst="0">
  103366. <comment>CFO data capture start offset of sub-frame. Range is from 0 to 13.</comment>
  103367. </bits>
  103368. </reg32>
  103369. <reg32 name="rcfo_calc_os" protect="rw">
  103370. <bits access="rw" name="rcfo_calc_sample_os" pos="10:0" rst="0">
  103371. <comment>CFO calculation start offset of samples within a sub-frame. Based on 1.92MHz. Range is from 0 to 1920.</comment>
  103372. </bits>
  103373. <bits access="rw" name="rcfo_calc_sf_os" pos="14:11" rst="0">
  103374. <comment>CFO calculation start offset of sub-frame. Range is from 0 to 13.</comment>
  103375. </bits>
  103376. </reg32>
  103377. <reg32 name="rcfo_ctrl" protect="rw">
  103378. <bits access="rw" name="rcfo_fn_num" pos="2:0" rst="0">
  103379. <comment>Rotated frequency bin number when rCFO_MODE=0.</comment>
  103380. </bits>
  103381. <bits access="rw" name="rcfo_mode" pos="3" rst="0">
  103382. <comment>1: Normal mode. CFO module only deal with 1 frequency bin(f0) and 9 sampling positions(Tau). 147 correlation results are reported to corresponding ram at most.
  103383. 0: Searching mode. CFO module deal with 1~7 frequency bins(f0~6) and 21 sampling positions(Tau). 9 correlation results are reported to corresponding registers.</comment>
  103384. </bits>
  103385. <bits access="rw" name="rcfo_rpt_addr" pos="13:4" rst="0">
  103386. <comment>Start write address of CFO correlation results reporting ram</comment>
  103387. </bits>
  103388. <bits access="rw" name="rcfo_gain" pos="16:14" rst="0">
  103389. <comment>Correlation results truncation (32bits to 16bits).
  103390. 0:&gt;&gt;8 1:&gt;&gt;7 2:&gt;&gt;6 3:&gt;&gt;5
  103391. 4:&gt;&gt;4 5:&gt;&gt;3 6:&gt;&gt;2 7:&gt;&gt;1</comment>
  103392. </bits>
  103393. <bits access="rw" name="rcfo_tau_num" pos="21:17" rst="0">
  103394. <comment>Tau number of CFO correlation when rCFO_MODE=0.</comment>
  103395. </bits>
  103396. </reg32>
  103397. <reg32 name="rcfo_os_f0to3" protect="rw">
  103398. <bits access="rw" name="rcfo_os_f0" pos="7:0" rst="0">
  103399. <comment>Sampling position start offset for bin f0</comment>
  103400. </bits>
  103401. <bits access="rw" name="rcfo_os_f1" pos="15:8" rst="0">
  103402. <comment>Sampling position start offset for bin f1</comment>
  103403. </bits>
  103404. <bits access="rw" name="rcfo_os_f2" pos="23:16" rst="0">
  103405. <comment>Sampling position start offset for bin f2</comment>
  103406. </bits>
  103407. <bits access="rw" name="rcfo_os_f3" pos="31:24" rst="0">
  103408. <comment>Sampling position start offset for bin f3</comment>
  103409. </bits>
  103410. </reg32>
  103411. <reg32 name="rcfo_os_f4to6" protect="rw">
  103412. <bits access="rw" name="rcfo_os_f4" pos="7:0" rst="0">
  103413. <comment>Sampling position start offset for bin f4</comment>
  103414. </bits>
  103415. <bits access="rw" name="rcfo_os_f5" pos="15:8" rst="0">
  103416. <comment>Sampling position start offset for bin f5</comment>
  103417. </bits>
  103418. <bits access="rw" name="rcfo_os_f6" pos="23:16" rst="0">
  103419. <comment>Sampling position start offset for bin f6</comment>
  103420. </bits>
  103421. </reg32>
  103422. <reg32 name="rcfo_a_f0" protect="rw">
  103423. <bits access="rw" name="rcfo_a_f0" pos="31:0" rst="0">
  103424. <comment>The complex value of e^(-j2xpixf0xTsa). Tsa means decimation with 8.
  103425. [31:16]:Imag part
  103426. [15:0]: Real part</comment>
  103427. </bits>
  103428. </reg32>
  103429. <reg32 name="rcfo_a_f1" protect="rw">
  103430. <bits access="rw" name="rcfo_a_f1" pos="31:0" rst="0">
  103431. <comment>The complex value of e^(-j2xpixf0xTsa). Tsa means decimation with 8.
  103432. [31:16]:Imag part
  103433. [15:0]: Real part</comment>
  103434. </bits>
  103435. </reg32>
  103436. <reg32 name="rcfo_a_f2" protect="rw">
  103437. <bits access="rw" name="rcfo_a_f2" pos="31:0" rst="0">
  103438. <comment>The complex value of e^(-j2xpixf0xTsa). Tsa means decimation with 8.
  103439. [31:16]:Imag part
  103440. [15:0]: Real part</comment>
  103441. </bits>
  103442. </reg32>
  103443. <reg32 name="rcfo_a_f3" protect="rw">
  103444. <bits access="rw" name="rcfo_a_f3" pos="31:0" rst="0">
  103445. <comment>The complex value of e^(-j2xpixf0xTsa). Tsa means decimation with 8.
  103446. [31:16]:Imag part
  103447. [15:0]: Real part</comment>
  103448. </bits>
  103449. </reg32>
  103450. <reg32 name="rcfo_a_f4" protect="rw">
  103451. <bits access="rw" name="rcfo_a_f4" pos="31:0" rst="0">
  103452. <comment>The complex value of e^(-j2xpixf0xTsa). Tsa means decimation with 8.
  103453. [31:16]:Imag part
  103454. [15:0]: Real part</comment>
  103455. </bits>
  103456. </reg32>
  103457. <reg32 name="rcfo_a_f5" protect="rw">
  103458. <bits access="rw" name="rcfo_a_f5" pos="31:0" rst="0">
  103459. <comment>The complex value of e^(-j2xpixf0xTsa). Tsa means decimation with 8.
  103460. [31:16]:Imag part
  103461. [15:0]: Real part</comment>
  103462. </bits>
  103463. </reg32>
  103464. <reg32 name="rcfo_a_f6" protect="rw">
  103465. <bits access="rw" name="rcfo_a_f6" pos="31:0" rst="0">
  103466. <comment>The complex value of e^(-j2xpixf0xTsa). Tsa means decimation with 8.
  103467. [31:16]:Imag part
  103468. [15:0]: Real part</comment>
  103469. </bits>
  103470. </reg32>
  103471. <reg32 name="rcfo_b_f0" protect="rw">
  103472. <bits access="rw" name="rcfo_b_f0" pos="31:0" rst="0">
  103473. <comment>The complex value of e^(-j2xpixf0xTsa). Tsa means decimation with 8.
  103474. [31:16]:Imag part
  103475. [15:0]: Real part</comment>
  103476. </bits>
  103477. </reg32>
  103478. <reg32 name="rcfo_b_f1" protect="rw">
  103479. <bits access="rw" name="rcfo_b_f1" pos="31:0" rst="0">
  103480. <comment>The complex value of e^(-j2xpixf0xTsa). Tsa means decimation with 8.
  103481. [31:16]:Imag part
  103482. [15:0]: Real part</comment>
  103483. </bits>
  103484. </reg32>
  103485. <reg32 name="rcfo_b_f2" protect="rw">
  103486. <bits access="rw" name="rcfo_b_f2" pos="31:0" rst="0">
  103487. <comment>The complex value of e^(-j2xpixf0xTsa). Tsa means decimation with 8.
  103488. [31:16]:Imag part
  103489. [15:0]: Real part</comment>
  103490. </bits>
  103491. </reg32>
  103492. <reg32 name="rcfo_b_f3" protect="rw">
  103493. <bits access="rw" name="rcfo_b_f3" pos="31:0" rst="0">
  103494. <comment>The complex value of e^(-j2xpixf0xTsa). Tsa means decimation with 8.
  103495. [31:16]:Imag part
  103496. [15:0]: Real part</comment>
  103497. </bits>
  103498. </reg32>
  103499. <reg32 name="rcfo_b_f4" protect="rw">
  103500. <bits access="rw" name="rcfo_b_f4" pos="31:0" rst="0">
  103501. <comment>The complex value of e^(-j2xpixf0xTsa). Tsa means decimation with 8.
  103502. [31:16]:Imag part
  103503. [15:0]: Real part</comment>
  103504. </bits>
  103505. </reg32>
  103506. <reg32 name="rcfo_b_f5" protect="rw">
  103507. <bits access="rw" name="rcfo_b_f5" pos="31:0" rst="0">
  103508. <comment>The complex value of e^(-j2xpixf0xTsa). Tsa means decimation with 8.
  103509. [31:16]:Imag part
  103510. [15:0]: Real part</comment>
  103511. </bits>
  103512. </reg32>
  103513. <reg32 name="rcfo_b_f6" protect="rw">
  103514. <bits access="rw" name="rcfo_b_f6" pos="31:0" rst="0">
  103515. <comment>The complex value of e^(-j2xpixf0xTsa). Tsa means decimation with 8.
  103516. [31:16]:Imag part
  103517. [15:0]: Real part</comment>
  103518. </bits>
  103519. </reg32>
  103520. <hole size="4*32"/>
  103521. <reg32 name="rcfo_status" protect="r">
  103522. <bits access="w1c" name="rcfo_done_status" pos="0" rst="0">
  103523. <comment>CFO calculation done status. Clear by DSP or MCU.
  103524. 1b1: CFO calculation done
  103525. 1b0: CFO is idle or under calculating</comment>
  103526. </bits>
  103527. <bits access="r" name="rcfo_wram_err" pos="2:1" rst="0">
  103528. <comment>Memory request error for writing of CFO reporting ram when rCFO_MOED=0
  103529. 0: Normal
  103530. 1: Error
  103531. Bit 2: DSP control bus error
  103532. Bit 1: accelerator memory access collusion</comment>
  103533. </bits>
  103534. </reg32>
  103535. <reg32 name="rcfo_corr0" protect="r">
  103536. <bits access="r" name="rcfo_corr0" pos="0" rst="0">
  103537. <comment>When rCFO_MODE=1, correlation value of PSS sequence for frequency bin rCFO_A/B_F0 and sampling position Tau = -4 is reported
  103538. [31:16]: imag part
  103539. [15:0]: real part</comment>
  103540. </bits>
  103541. </reg32>
  103542. <reg32 name="rcfo_corr1" protect="r">
  103543. <bits access="r" name="rcfo_corr1" pos="0" rst="0">
  103544. <comment>When rCFO_MODE=1, correlation value of PSS sequence for frequency bin rCFO_A/B_F0 and sampling position Tau = -3 is reported
  103545. [31:16]: imag part
  103546. [15:0]: real part</comment>
  103547. </bits>
  103548. </reg32>
  103549. <reg32 name="rcfo_corr2" protect="r">
  103550. <bits access="r" name="rcfo_corr2" pos="0" rst="0">
  103551. <comment>When rCFO_MODE=1, correlation value of PSS sequence for frequency bin rCFO_A/B_F0 and sampling position Tau = -2 is reported
  103552. [31:16]: imag part
  103553. [15:0]: real part</comment>
  103554. </bits>
  103555. </reg32>
  103556. <reg32 name="rcfo_corr3" protect="r">
  103557. <bits access="r" name="rcfo_corr3" pos="0" rst="0">
  103558. <comment>When rCFO_MODE=1, correlation value of PSS sequence for frequency bin rCFO_A/B_F0 and sampling position Tau = -1 is reported
  103559. [31:16]: imag part
  103560. [15:0]: real part</comment>
  103561. </bits>
  103562. </reg32>
  103563. <reg32 name="rcfo_corr4" protect="r">
  103564. <bits access="r" name="rcfo_corr4" pos="0" rst="0">
  103565. <comment>When rCFO_MODE=1, correlation value of PSS sequence for frequency bin rCFO_A/B_F0 and sampling position Tau = 0 is reported
  103566. [31:16]: imag part
  103567. [15:0]: real part</comment>
  103568. </bits>
  103569. </reg32>
  103570. <reg32 name="rcfo_corr5" protect="r">
  103571. <bits access="r" name="rcfo_corr5" pos="0" rst="0">
  103572. <comment>When rCFO_MODE=1, correlation value of PSS sequence for frequency bin rCFO_A/B_F0 and sampling position Tau = +1 is reported
  103573. [31:16]: imag part
  103574. [15:0]: real part</comment>
  103575. </bits>
  103576. </reg32>
  103577. <reg32 name="rcfo_corr6" protect="r">
  103578. <bits access="r" name="rcfo_corr6" pos="0" rst="0">
  103579. <comment>When rCFO_MODE=1, correlation value of PSS sequence for frequency bin rCFO_A/B_F0 and sampling position Tau = +2 is reported
  103580. [31:16]: imag part
  103581. [15:0]: real part</comment>
  103582. </bits>
  103583. </reg32>
  103584. <reg32 name="rcfo_corr7" protect="r">
  103585. <bits access="r" name="rcfo_corr7" pos="0" rst="0">
  103586. <comment>When rCFO_MODE=1, correlation value of PSS sequence for frequency bin rCFO_A/B_F0 and sampling position Tau = +3 is reported
  103587. [31:16]: imag part
  103588. [15:0]: real part</comment>
  103589. </bits>
  103590. </reg32>
  103591. <reg32 name="rcfo_corr8" protect="r">
  103592. <bits access="r" name="rcfo_corr8" pos="0" rst="0">
  103593. <comment>When rCFO_MODE=1, correlation value of PSS sequence for frequency bin rCFO_A/B_F0 and sampling position Tau = +4 is reported
  103594. [31:16]: imag part
  103595. [15:0]: real part</comment>
  103596. </bits>
  103597. </reg32>
  103598. <hole size="30*32"/>
  103599. <reg32 name="rsss_en" protect="rw">
  103600. <bits access="rw" name="rsss_en" pos="0" rst="0">
  103601. <comment>SSS Enable
  103602. 1b0:Stop SSS calculation
  103603. 1b1: Start SSS calculation</comment>
  103604. </bits>
  103605. </reg32>
  103606. <reg32 name="rsss_start_os" protect="rw">
  103607. <bits access="rw" name="rsss_start_sample_os" pos="10:0" rst="0">
  103608. <comment>SSS start offset of sample within a sbuframe. Based on 1.92MHz. Range is from 0 to 1920.</comment>
  103609. </bits>
  103610. <bits access="rw" name="rsss_start_sf_os" pos="14:11" rst="0">
  103611. <comment>SSS start offset of subframe. Range is from 0 to 9.</comment>
  103612. </bits>
  103613. </reg32>
  103614. <reg32 name="rsss_start_calc_os" protect="rw">
  103615. <bits access="rw" name="rsss_start_calc_sample_os" pos="10:0" rst="0">
  103616. <comment>SSS start calculation offset of sample within a subframe. Based on 1.92MHz. Range is from 0 to 1920.</comment>
  103617. </bits>
  103618. <bits access="rw" name="rsss_start_calc_sf_os" pos="14:11" rst="0">
  103619. <comment>SSS start calculation offset of subframe. Range is from 0 to 9.</comment>
  103620. </bits>
  103621. </reg32>
  103622. <reg32 name="rsss_phase_shift0" protect="rw">
  103623. <bits access="rw" name="rsss_phase_shift0_re" pos="11:0" rst="0">
  103624. <comment>Real part of SSS phase shift</comment>
  103625. </bits>
  103626. <bits access="rw" name="rsss_phase_shift0_im" pos="27:16" rst="0">
  103627. <comment>Imag part of SSS phase shift</comment>
  103628. </bits>
  103629. </reg32>
  103630. <reg32 name="rsss_phase_shift1" protect="rw">
  103631. <bits access="rw" name="rsss_phase_shift1_re" pos="15:0" rst="0">
  103632. <comment>Real part of SSS phase shift 1</comment>
  103633. </bits>
  103634. <bits access="rw" name="rsss_phase_shift1_im" pos="31:16" rst="0">
  103635. <comment>Imag part of SSS phase shift 1</comment>
  103636. </bits>
  103637. </reg32>
  103638. <reg32 name="rsss_phase_shift2" protect="rw">
  103639. <bits access="rw" name="rsss_phase_shift2_re" pos="15:0" rst="0">
  103640. <comment>Real part of SSS phase shift 2</comment>
  103641. </bits>
  103642. <bits access="rw" name="rsss_phase_shift2_im" pos="31:16" rst="0">
  103643. <comment>Imag part of SSS phase shift 2</comment>
  103644. </bits>
  103645. </reg32>
  103646. <reg32 name="rsss_phase_shift3" protect="rw">
  103647. <bits access="rw" name="rsss_phase_shift3_re" pos="15:0" rst="0">
  103648. <comment>Real part of SSS phase shift 3</comment>
  103649. </bits>
  103650. <bits access="rw" name="rsss_phase_shift3_im" pos="31:16" rst="0">
  103651. <comment>Imag part of SSS phase shift 3</comment>
  103652. </bits>
  103653. </reg32>
  103654. <reg32 name="rsss_phase_shift4" protect="rw">
  103655. <bits access="rw" name="rsss_phase_shift4_re" pos="15:0" rst="0">
  103656. <comment>Real part of SSS phase shift 4</comment>
  103657. </bits>
  103658. <bits access="rw" name="rsss_phase_shift4_im" pos="31:16" rst="0">
  103659. <comment>Imag part of SSS phase shift 4</comment>
  103660. </bits>
  103661. </reg32>
  103662. <reg32 name="rsss_phase_shift5" protect="rw">
  103663. <bits access="rw" name="rsss_phase_shift5_re" pos="15:0" rst="0">
  103664. <comment>Real part of SSS phase shift 5</comment>
  103665. </bits>
  103666. <bits access="rw" name="rsss_phase_shift5_im" pos="31:16" rst="0">
  103667. <comment>Imag part of SSS phase shift 5</comment>
  103668. </bits>
  103669. </reg32>
  103670. <reg32 name="rsss_phase_shift6" protect="rw">
  103671. <bits access="rw" name="rsss_phase_shift6_re" pos="15:0" rst="0">
  103672. <comment>Real part of SSS phase shift 6</comment>
  103673. </bits>
  103674. <bits access="rw" name="rsss_phase_shift6_im" pos="31:16" rst="0">
  103675. <comment>Imag part of SSS phase shift 6</comment>
  103676. </bits>
  103677. </reg32>
  103678. <reg32 name="rsss_phase_shift7" protect="rw">
  103679. <bits access="rw" name="rsss_phase_shift7_re" pos="15:0" rst="0">
  103680. <comment>Real part of SSS phase shift 7</comment>
  103681. </bits>
  103682. <bits access="rw" name="rsss_phase_shift7_im" pos="31:16" rst="0">
  103683. <comment>Imag part of SSS phase shift 7</comment>
  103684. </bits>
  103685. </reg32>
  103686. <reg32 name="rsss_phase_shift8" protect="rw">
  103687. <bits access="rw" name="rsss_phase_shift8_re" pos="15:0" rst="0">
  103688. <comment>Real part of SSS phase shift 8</comment>
  103689. </bits>
  103690. <bits access="rw" name="rsss_phase_shift8_im" pos="31:16" rst="0">
  103691. <comment>Imag part of SSS phase shift 8</comment>
  103692. </bits>
  103693. </reg32>
  103694. <reg32 name="rsss_phase_shift9" protect="rw">
  103695. <bits access="rw" name="rsss_phase_shift9_re" pos="15:0" rst="0">
  103696. <comment>Real part of SSS phase shift 9</comment>
  103697. </bits>
  103698. <bits access="rw" name="rsss_phase_shift9_im" pos="31:16" rst="0">
  103699. <comment>Imag part of SSS phase shift 9</comment>
  103700. </bits>
  103701. </reg32>
  103702. <reg32 name="rsss_phase_shift10" protect="rw">
  103703. <bits access="rw" name="rsss_phase_shift10_re" pos="15:0" rst="0">
  103704. <comment>Real part of SSS phase shift 10</comment>
  103705. </bits>
  103706. <bits access="rw" name="rsss_phase_shift10_im" pos="31:16" rst="0">
  103707. <comment>Imag part of SSS phase shift 10</comment>
  103708. </bits>
  103709. </reg32>
  103710. <reg32 name="rsss_sf_cnt" protect="r">
  103711. <bits access="r" name="rsss_sf_cnt" pos="3:0" rst="0">
  103712. <comment>SSS internal sub frame counter(from 0 to 9)</comment>
  103713. </bits>
  103714. </reg32>
  103715. <reg32 name="rsss_glb_cnt" protect="r">
  103716. <bits access="r" name="rsss_glb_sample_cnt" pos="10:0" rst="0">
  103717. <comment>global sample count value at SSS subframe start</comment>
  103718. </bits>
  103719. <bits access="r" name="rsss_glb_sf_cnt" pos="14:11" rst="0">
  103720. <comment>global subframe count value at SSS subframe start</comment>
  103721. </bits>
  103722. <bits access="r" name="rsss_glb_rf_cnt" pos="17:15" rst="0">
  103723. <comment>Global radio frame count value at SSS subframe start</comment>
  103724. </bits>
  103725. </reg32>
  103726. <reg32 name="rsss_out_status" protect="r">
  103727. <bits access="r" name="rsss_obuf_sel" pos="0" rst="0">
  103728. <comment>Indicate the buffer selection on current interrupt
  103729. 1b0: MEM0 is selection
  103730. 1b1: MEM1 is selection</comment>
  103731. </bits>
  103732. <bits access="w1c" name="rsss_obuf0_status_0" pos="2" rst="0">
  103733. <comment>SSS output buffer 0 status. Clear by DSP or MCU
  103734. bit 2: 1b1: MEM2 or MEM0 is ready.1b0:buffer0 is idle</comment>
  103735. </bits>
  103736. <bits access="r" name="rsss_obuf0_status_1" pos="3" rst="0">
  103737. <comment>SSS output buffer 0 status.
  103738. bit 3: 1b1: MEM2 or MEM0 is over written. 1b0: buffer 0 is normal</comment>
  103739. </bits>
  103740. <bits access="w1c" name="rsss_obuf1_status_0" pos="4" rst="0">
  103741. <comment>SSS output buffer 1 status. Clear by DSP or MCU
  103742. bit 4: 1b1: MEM3 or MEM1 is ready.1b0:buffer1 is idle</comment>
  103743. </bits>
  103744. <bits access="r" name="rsss_obuf1_status_1" pos="5" rst="0">
  103745. <comment>SSS output buffer 1 status.
  103746. bit 5: 1b1: MEM3 or MEM1 is over written. 1b0: buffer 1 is normal</comment>
  103747. </bits>
  103748. <bits access="w1c" name="rsss_done_status" pos="6" rst="0">
  103749. <comment>SSS calculation done status. Update very 1ms and clear by DSP or MCU.
  103750. 1b1: SSS calculation done
  103751. 1b0: SSS is idle or under calculating</comment>
  103752. </bits>
  103753. <bits access="r" name="rsss_mem_arb_status" pos="8:7" rst="0">
  103754. <comment>SSS write memory arbitration error status.
  103755. 0: Normal
  103756. 1: Error
  103757. Bit 7: DSP control bus error
  103758. Bit 8: accelerator memory access collusion</comment>
  103759. </bits>
  103760. </reg32>
  103761. <reg32 name="rsss_fft_ctrl" protect="rw">
  103762. <bits access="rw" name="rsss_fft_cp_os" pos="3:0" rst="0">
  103763. <comment>OFDM symbol CP offset which use to locate the FFT windows start position for serving cell.
  103764. Value:[0:9]</comment>
  103765. </bits>
  103766. <bits access="rw" name="rsss_fft_scale" pos="6:4" rst="0">
  103767. <comment>FFT result scaling
  103768. 3d0: 2^-3
  103769. 3d1: 2^-2
  103770. 3d2: 2^-1
  103771. 3d3: 2^0
  103772. 3d4: 2^1
  103773. 3d5: 2^2</comment>
  103774. </bits>
  103775. </reg32>
  103776. <reg32 name="rsss_corr_ctrl" protect="rw">
  103777. <bits access="rw" name="rsss_corr_scal" pos="2:0" rst="5">
  103778. <comment>Correlation result sScaling for both power and correlation
  103779. 3d0: 20
  103780. 3d1: 2-1
  103781. 3d2: 2-2
  103782. 3d3: 2-3
  103783. 3d4: 2-4
  103784. 3d5: 2-5(Default)
  103785. 3d6: 2-6
  103786. 3d7: 2-7</comment>
  103787. </bits>
  103788. <bits access="rw" name="rsss_cyclic_shift" pos="4:3" rst="0">
  103789. <comment>Cyclic shift value
  103790. It is used when rSSS_CYCLIC_SHIFT_FIX_EN = 1'b1.Rang is from 0 to 2.</comment>
  103791. </bits>
  103792. <bits access="rw" name="rsss_cyclic_shift_fix_en" pos="5" rst="0">
  103793. <comment>Fix cyclic shift enable</comment>
  103794. </bits>
  103795. <bits access="rw" name="rsss_pci_id" pos="14:6" rst="0">
  103796. <comment>PCI ID
  103797. It is used when rSSS_PCI_ID_FIX_RN = 1'b1 or rSSS_SIC_EN = 1'b1. Range is from 0 to 503.</comment>
  103798. </bits>
  103799. <bits access="rw" name="rsss_pci_id_fix_en" pos="15" rst="0">
  103800. <comment>Fix PCI ID Enable.</comment>
  103801. </bits>
  103802. <bits access="rw" name="rsss_sic_en" pos="17" rst="0">
  103803. <comment>SIC Enable
  103804. Used for succesive interference cancellation.</comment>
  103805. </bits>
  103806. <bits access="rw" name="rsss_out_buf_cfg" pos="18" rst="0">
  103807. <comment>SSS output ping-pong buffer selection
  103808. 1b1:Select the pong buffer as the first output buffer
  103809. 1b0: Select the ping buffer as the first output buffer</comment>
  103810. </bits>
  103811. <bits access="rw" name="rsss_corr_scal2" pos="21:19" rst="4">
  103812. <comment>Scaling for correlation only
  103813. 3d0: 2-4
  103814. 3d1: 2-3
  103815. 3d2: 2-2
  103816. 3d3: 2-1
  103817. 3d4: 20(Default)
  103818. 3d5: 21
  103819. 3d6: 22
  103820. 3d7: 23</comment>
  103821. </bits>
  103822. </reg32>
  103823. <reg32 name="rsss_pwr" protect="rw">
  103824. <bits access="rw" name="rsss_pwr" pos="15:0" rst="0x0">
  103825. <comment>SSS total power</comment>
  103826. </bits>
  103827. </reg32>
  103828. </module>
  103829. </archive>
  103830. <archive relative="nb_common.xml">
  103831. <module category="NBIOT_PHY" name="NB_COMMON">
  103832. <reg32 name="rrx_int_dsp_sym_bmp_msk" protect="rw">
  103833. <bits access="rw" name="rrx_int_dsp_sym_bmp_msk" pos="13:0" rst="0x1">
  103834. <comment>RX interrupt DSP bitmap mask from 0 to 13. LSB is symbol 0.</comment>
  103835. </bits>
  103836. </reg32>
  103837. <reg32 name="rrx_int_mcu_sym_bmp_msk" protect="rw">
  103838. <bits access="rw" name="rrx_int_mcu_sym_bmp_msk" pos="13:0" rst="0x1">
  103839. <comment>RX interrupt DSP bitmap mask from 0 to 13. LSB is symbol 0.</comment>
  103840. </bits>
  103841. </reg32>
  103842. <reg32 name="rrx_int_os" protect="rw">
  103843. <bits access="rw" name="rrx_int_os" pos="6:0" rst="0x40">
  103844. <comment>RX interrupt output OS 0 127</comment>
  103845. </bits>
  103846. </reg32>
  103847. <hole size="5*32"/>
  103848. <reg32 name="rrx_adj_cctrl" protect="rw">
  103849. <bits access="rw" name="rrx_adj_sf_cnt" pos="3:0" rst="0">
  103850. <comment>RX adjustment subframe count from 0 9 (auto clear in next subframe)</comment>
  103851. </bits>
  103852. <bits access="rw" name="rrx_adj_sym_cnt" pos="7:4" rst="0">
  103853. <comment>RX adjustment symbol count from 0 13 (auto clear in next subframe)</comment>
  103854. </bits>
  103855. <bits access="rw" name="rrx_adj_sym_dir" pos="8" rst="0">
  103856. <comment>RX adjustment symbol direction (auto clear in next subframe)
  103857. 0: advance
  103858. 1: postpone</comment>
  103859. </bits>
  103860. <bits access="rw" name="rrx_adj_csample_cnt" pos="23:16" rst="0">
  103861. <comment>RX coarse adjustment sample count from 0 138 in (chip unit) - (auto clear in next subframe)</comment>
  103862. </bits>
  103863. <bits access="rw" name="rrx_adj_csample_dir" pos="24" rst="0">
  103864. <comment>RX coarse adjustment sample direction (auto clear in next subframe)
  103865. 0: advance
  103866. 1: postpone</comment>
  103867. </bits>
  103868. </reg32>
  103869. <reg32 name="rrx_adj_fctrl" protect="rw">
  103870. <bits access="rw" name="rrx_adj_fsample_cnt" pos="3:0" rst="0">
  103871. <comment>RX fine adjustment sample count from 0 9 in (chip unit) - (auto clear in next subframe)</comment>
  103872. </bits>
  103873. <bits access="rw" name="rrx_adj_fsample_dir" pos="4" rst="0">
  103874. <comment>RX fine adjustment sample direction (auto clear in next subframe)
  103875. 0: advance
  103876. 1: postpone</comment>
  103877. </bits>
  103878. </reg32>
  103879. <reg32 name="rrx_int_pos_status_dsp" protect="r">
  103880. <bits access="r" name="rrx_int_sym_dsp" pos="3:0" rst="0">
  103881. <comment>RX interrupt symbol number 0-13</comment>
  103882. </bits>
  103883. <bits access="r" name="rrx_int_sf_dsp" pos="7:4" rst="0">
  103884. <comment>RX interrupt symbol number 0-13</comment>
  103885. </bits>
  103886. <bits access="r" name="rrx_int_buf_idx_dsp" pos="8" rst="0">
  103887. <comment>RX interrupt buffer index
  103888. Mirror rRX_INT_BUF_IDX_MCU register</comment>
  103889. </bits>
  103890. </reg32>
  103891. <reg32 name="rrx_int_pos_status_mcu" protect="r">
  103892. <bits access="r" name="rrx_int_sym_mcu" pos="3:0" rst="0">
  103893. <comment>RX interrupt symbol number 0-13</comment>
  103894. </bits>
  103895. <bits access="r" name="rrx_int_sf_mcu" pos="7:4" rst="0">
  103896. <comment>RX interrupt symbol number 0-13</comment>
  103897. </bits>
  103898. <bits access="r" name="rrx_int_buf_idx_mcu" pos="8" rst="0">
  103899. <comment>RX interrupt buffer index</comment>
  103900. </bits>
  103901. </reg32>
  103902. <reg32 name="rrx_sfn" protect="rw">
  103903. <bits access="rw" name="rrx_sfn" pos="9:0" rst="0">
  103904. <comment>RX SFN number 0-1023</comment>
  103905. </bits>
  103906. </reg32>
  103907. <reg32 name="rrx_glb_cnt_sf" protect="r">
  103908. <bits access="r" name="rrx_glb_sample_cnt_sf" pos="10:0" rst="0">
  103909. <comment>global sample count value at RX subframe start</comment>
  103910. </bits>
  103911. <bits access="r" name="rrx_glb_sf_cnt_sf" pos="14:11" rst="0">
  103912. <comment>global subframe count value at RX subframe start</comment>
  103913. </bits>
  103914. <bits access="r" name="rrx_glb_rf_cnt_sf" pos="17:15" rst="0">
  103915. <comment>global sample count value at RX subframe start</comment>
  103916. </bits>
  103917. </reg32>
  103918. <reg32 name="rrx_glb_cnt_rf" protect="r">
  103919. <bits access="r" name="rrx_glb_sample_cnt_rf" pos="10:0" rst="0">
  103920. <comment>global sample count value at RX radio frame start</comment>
  103921. </bits>
  103922. <bits access="r" name="rrx_glb_sf_cnt_rf" pos="14:11" rst="0">
  103923. <comment>global subframe count value at RX radio frame start</comment>
  103924. </bits>
  103925. <bits access="r" name="rrx_glb_rf_cnt_rf" pos="17:15" rst="0">
  103926. <comment>global sample count value at RX radio frame start</comment>
  103927. </bits>
  103928. </reg32>
  103929. <reg32 name="rtcu_glb_cnt" protect="r">
  103930. <bits access="r" name="rtcu_glb_sample_cnt" pos="10:0" rst="0">
  103931. <comment>global sample count value at TCU subframe start</comment>
  103932. </bits>
  103933. <bits access="r" name="rtcu_glb_sf_cnt" pos="14:11" rst="0">
  103934. <comment>global subframe count value at TCU subframe start</comment>
  103935. </bits>
  103936. <bits access="r" name="rtcu_glb_rf_cnt" pos="17:15" rst="0">
  103937. <comment>global sample count value at TCU subframe start</comment>
  103938. </bits>
  103939. </reg32>
  103940. <hole size="4*32"/>
  103941. <reg32 name="rtx_adj_cctrl" protect="rw">
  103942. <bits access="rw" name="rtx_adj_csample_cnt" pos="10:0" rst="0">
  103943. <comment>TX coarse adjustment sample count from 0 1919 in (chip unit) - (auto clear in next subframe)</comment>
  103944. </bits>
  103945. <bits access="rw" name="rtx_adj_csample_dir" pos="11" rst="0">
  103946. <comment>TX coarse adjustment sample direction - (auto clear in next subframe)
  103947. 0: advance
  103948. 1: postpone</comment>
  103949. </bits>
  103950. </reg32>
  103951. <reg32 name="rtx_adj_fctrl" protect="rw">
  103952. <bits access="rw" name="rtx_adj_fsample_cnt" pos="5:0" rst="0">
  103953. <comment>15KHz: TX fine adjustment sample count from 0 9 in (chip unit)
  103954. 3.75Hz: TX fine adjustment sample count from (0 9) x 4 in (chip unit)
  103955. Remark: SW should configure the sample boundary which is aligned to 3.75Hz sample if the timing adjustment between TX transmission.
  103956. (auto clear in next subframe)</comment>
  103957. </bits>
  103958. <bits access="rw" name="rtx_adj_csample_dir" pos="6" rst="0">
  103959. <comment>TX fine adjustment sample direction - (auto clear in next subframe)
  103960. 0: advance
  103961. 1: postpone</comment>
  103962. </bits>
  103963. <bits access="rw" name="rtx_adj_fmode" pos="8" rst="0">
  103964. <comment>TX fine adjustment mode control:
  103965. 0: adjust the boundary at the end of the current subframe
  103966. 1: adjust the CP at the first symbol of the next TX</comment>
  103967. </bits>
  103968. </reg32>
  103969. <hole size="1*32"/>
  103970. <reg32 name="rtx_glb_cnt_sf" protect="r">
  103971. <bits access="r" name="rtx_glb_sample_cnt_sf" pos="10:0" rst="0">
  103972. <comment>global sample count value at TX subframe start</comment>
  103973. </bits>
  103974. <bits access="r" name="rtx_glb_sf_cnt_sf" pos="14:11" rst="0">
  103975. <comment>global subframe count value at TX subframe start</comment>
  103976. </bits>
  103977. <bits access="r" name="rtx_glb_rf_cnt_sf" pos="17:15" rst="0">
  103978. <comment>global radio frame count value at TX subframe start</comment>
  103979. </bits>
  103980. </reg32>
  103981. <reg32 name="rtx_subsample_ctrl" protect="rw">
  103982. <bits access="rw" name="rtx_subsample_ctrl" pos="0" rst="0">
  103983. <comment>TX subsample control
  103984. 0: sync with global subsample counter
  103985. 1: only sync with RX subsample counter when TX is not on transmission</comment>
  103986. </bits>
  103987. </reg32>
  103988. <reg32 name="rctrl_status" protect="rw">
  103989. <bits access="w1c" name="rctrl_rx_cadj_status" pos="0" rst="0">
  103990. <comment>Control RX coarse adjustment status</comment>
  103991. </bits>
  103992. <bits access="w1c" name="rctrl_rx_fadj_status" pos="1" rst="0">
  103993. <comment>Control RX fine adjustment status</comment>
  103994. </bits>
  103995. <bits access="w1c" name="rctrl_tx_cadj_status" pos="2" rst="0">
  103996. <comment>Control TX coarse adjustment status</comment>
  103997. </bits>
  103998. <bits access="w1c" name="rctrl_tx_fadj_status" pos="3" rst="0">
  103999. <comment>Control TX fine adjustment status</comment>
  104000. </bits>
  104001. </reg32>
  104002. <reg32 name="rctrl_adj_en" protect="rw">
  104003. <bits access="rw" name="rctrl_adj_en" pos="0" rst="0">
  104004. <comment>Control adjustment enable
  104005. 1: enable
  104006. 0: disable</comment>
  104007. </bits>
  104008. </reg32>
  104009. <hole size="1*32"/>
  104010. <reg32 name="capture1_glb_cnt" protect="w">
  104011. <bits access="w" name="capture1_glb_cnt" pos="0" rst="0">
  104012. <comment>Trigger to sample global counter position for DSP debegging</comment>
  104013. </bits>
  104014. </reg32>
  104015. <reg32 name="rcapture1_glb_cnt" protect="r">
  104016. <bits access="r" name="rcapture1_glb_cnt" pos="10:0" rst="0">
  104017. <comment>global counter sample position when CAPTURE1_GLB_CNT is accessed</comment>
  104018. </bits>
  104019. <bits access="r" name="rcapture1_glb_sf_cnt" pos="14:11" rst="0">
  104020. <comment>global counter subframe position when CAPTURE1_GLB_CNT is accessed</comment>
  104021. </bits>
  104022. <bits access="r" name="rcapture1_glb_rf_cnt" pos="17:15" rst="0">
  104023. <comment>global counter radio frame position when CAPTURE1_GLB_CNT is accessed</comment>
  104024. </bits>
  104025. </reg32>
  104026. <reg32 name="capture2_glb_cnt" protect="w">
  104027. <bits access="w" name="capture2_glb_cnt" pos="0" rst="0">
  104028. <comment>Trigger to sample global counter position for MCU debegging</comment>
  104029. </bits>
  104030. </reg32>
  104031. <reg32 name="rcapture2_glb_cnt" protect="r">
  104032. <bits access="r" name="rcapture2_glb_cnt" pos="10:0" rst="0">
  104033. <comment>global counter sample position when CAPTURE2_GLB_CNT is accessed</comment>
  104034. </bits>
  104035. <bits access="r" name="rcapture2_glb_sf_cnt" pos="14:11" rst="0">
  104036. <comment>global counter subframe position when CAPTURE2_GLB_CNT is accessed</comment>
  104037. </bits>
  104038. <bits access="r" name="rcapture2_glb_rf_cnt" pos="17:15" rst="0">
  104039. <comment>global counter radio frame position when CAPTURE2_GLB_CNT is accessed</comment>
  104040. </bits>
  104041. </reg32>
  104042. <reg32 name="sleep_w" protect="w">
  104043. <bits access="w" name="sleep_w" pos="0" rst="0">
  104044. <comment>For sleep operation
  104045. When SLEEP_W is accessed, the start values needed for wake-up are loaded. Then values have to be written before the SLEEP_W is accessed</comment>
  104046. </bits>
  104047. </reg32>
  104048. <reg32 name="rsleep_glb_cnt" protect="rw">
  104049. <bits access="r" name="rglb_sub_sample_cnt" pos="4:0" rst="0">
  104050. <comment>Sample clock/32 (TX/RX sub-sample is always aligned with Global sub-sample) : this would use for alignment of the DFE input valid.
  104051. 0-31</comment>
  104052. </bits>
  104053. <bits access="rw" name="rglb_sample_cnt" pos="15:5" rst="0">
  104054. <comment>global counter sample position in sleep mode (in chip unit)</comment>
  104055. </bits>
  104056. <bits access="rw" name="rglb_sf_cnt" pos="19:16" rst="0">
  104057. <comment>global counter subframe position</comment>
  104058. </bits>
  104059. <bits access="rw" name="rglb_rf_cnt" pos="22:20" rst="0">
  104060. <comment>global counter radio frame position</comment>
  104061. </bits>
  104062. </reg32>
  104063. <reg32 name="rsleep_rx/tx_cnt" protect="rw">
  104064. <bits access="rw" name="rtx_sample_cnt" pos="10:0" rst="0">
  104065. <comment>Sample clock/32 (TX/RX sub-sample is always aligned with Global sub-sample) : this would use for align the DFE input valid.
  104066. 0-31</comment>
  104067. </bits>
  104068. <bits access="rw" name="rrx_sample_cnt" pos="23:16" rst="0">
  104069. <comment>RX sample count value</comment>
  104070. </bits>
  104071. <bits access="rw" name="rrx_sym_cnt" pos="27:24" rst="0">
  104072. <comment>RX OFDM symbol count value</comment>
  104073. </bits>
  104074. <bits access="rw" name="rrx_sf_cnt" pos="31:28" rst="0">
  104075. <comment>RX subframe count value</comment>
  104076. </bits>
  104077. </reg32>
  104078. <reg32 name="rsleep_elapsed_cnt" protect="ro">
  104079. <bits access="ro" name="rsleep_elapsed_subsample_cnt" pos="4:0" rst="0">
  104080. <comment>Sleep Elapsed Subsample counter
  104081. Range: 0-31</comment>
  104082. </bits>
  104083. <bits access="ro" name="rsleep_elapsed_sample_cnt" pos="18:8" rst="0">
  104084. <comment>Sleep Elapsed Subsample counter
  104085. Range: 0-1919</comment>
  104086. </bits>
  104087. </reg32>
  104088. <reg32 name="rsleep_elapsed_sf_cnt" protect="ro">
  104089. <bits access="ro" name="rsleep_elapsed_sf_cnt" pos="31:0" rst="0">
  104090. <comment>Sleep Elapsed SF counter
  104091. Range: 0-2^32-1</comment>
  104092. </bits>
  104093. </reg32>
  104094. <hole size="27*32"/>
  104095. <reg32 name="rtcu_event_trig" protect="rw">
  104096. <bits access="rw" name="rtcu_event_sample_time" pos="15:5" rst="0">
  104097. <comment>TCU event subsample time</comment>
  104098. </bits>
  104099. <bits access="rw" name="rtcu_event_sf_time" pos="19:16" rst="0">
  104100. <comment>TCU event subframe time</comment>
  104101. </bits>
  104102. </reg32>
  104103. <reg32 name="rrx_sync_mode" protect="rw">
  104104. <bits access="rw" name="rrx_sync_mode" pos="0" rst="0">
  104105. <comment>RX synchronization method mode
  104106. 0: normal mode
  104107. 1: sync counter with input i_rx_sync_start pulse in DUMP mode only (For testing only)</comment>
  104108. </bits>
  104109. </reg32>
  104110. <reg32 name="rrx_sync_init_1" protect="rw">
  104111. <bits access="rw" name="rrx_sf_sync_init_1" pos="3:0" rst="0x9">
  104112. <comment>RX subframe count sync initialization value - 1</comment>
  104113. </bits>
  104114. <bits access="rw" name="rglb_sf_sync_init_1" pos="11:8" rst="0x9">
  104115. <comment>Global subframe count sync initialization value - 1</comment>
  104116. </bits>
  104117. <bits access="rw" name="rglb_rf_sync_init_1" pos="14:12" rst="0x7">
  104118. <comment>Global radio frame count sync initialization value - 1</comment>
  104119. </bits>
  104120. </reg32>
  104121. <reg32 name="rrx_capture_event_trig" protect="rw">
  104122. <bits access="rw" name="rrx_capture_sample_time" pos="15:5" rst="0">
  104123. <comment>RX Capture event sample time</comment>
  104124. </bits>
  104125. <bits access="rw" name="rrx_capture_sf_time" pos="19:16" rst="0">
  104126. <comment>RX Capture event subframe time</comment>
  104127. </bits>
  104128. </reg32>
  104129. <hole size="60*32"/>
  104130. <reg32 name="rdsp_mem0_ctrl" protect="rw">
  104131. <bits access="rw" name="rdsp_mem0_ctrl" pos="1:0" rst="0">
  104132. <comment>DSP memory 0 control
  104133. 00: HW control with NB core clock
  104134. 10: HW control with AHB clock
  104135. 11: DSP control with AHB clock</comment>
  104136. </bits>
  104137. </reg32>
  104138. <reg32 name="rdsp_mem1_ctrl" protect="rw">
  104139. <bits access="rw" name="rdsp_mem1_ctrl" pos="1:0" rst="0">
  104140. <comment>DSP memory 1 control
  104141. 00: HW control with NB core clock
  104142. 10: HW control with AHB clock
  104143. 11: DSP control with AHB clock</comment>
  104144. </bits>
  104145. </reg32>
  104146. <reg32 name="rdsp_mem2_ctrl" protect="rw">
  104147. <bits access="rw" name="rdsp_mem2_ctrl" pos="1:0" rst="0">
  104148. <comment>DSP memory 2 control
  104149. 00: HW control with NB core clock
  104150. 10: HW control with AHB clock
  104151. 11: DSP control with AHB clock</comment>
  104152. </bits>
  104153. </reg32>
  104154. <reg32 name="rdsp_mem3_ctrl" protect="rw">
  104155. <bits access="rw" name="rdsp_mem3_ctrl" pos="1:0" rst="0">
  104156. <comment>DSP memory 3 control
  104157. 00: HW control with NB core clock
  104158. 10: HW control with AHB clock
  104159. 11: DSP control with AHB clock</comment>
  104160. </bits>
  104161. </reg32>
  104162. <reg32 name="rdsp_mem4_ctrl" protect="rw">
  104163. <bits access="rw" name="rdsp_mem4_ctrl" pos="1:0" rst="0">
  104164. <comment>DSP memory 4 control
  104165. 00: HW control with NB core clock
  104166. 10: HW control with AHB clock
  104167. 11: DSP control with AHB clock</comment>
  104168. </bits>
  104169. </reg32>
  104170. <reg32 name="rdsp_mem5_ctrl" protect="rw">
  104171. <bits access="rw" name="rdsp_mem5_ctrl" pos="1:0" rst="0">
  104172. <comment>DSP memory 5 control
  104173. 00: HW control with NB core clock
  104174. 10: HW control with AHB clock
  104175. 11: DSP control with AHB clock</comment>
  104176. </bits>
  104177. </reg32>
  104178. <hole size="1*32"/>
  104179. <reg32 name="rdsp_mem7_ctrl" protect="rw">
  104180. <bits access="rw" name="rdsp_mem7_ctrl" pos="1:0" rst="0">
  104181. <comment>DSP memory 7 control
  104182. 00: HW control with NB core clock
  104183. 10: HW control with AHB clock
  104184. 11: DSP control with AHB clock</comment>
  104185. </bits>
  104186. </reg32>
  104187. </module>
  104188. </archive>
  104189. <archive relative="nb_ctrl.xml">
  104190. <module category="NBIOT_PHY" name="NB_CTRL">
  104191. <reg32 name="rnbiot_sw_rst" protect="w">
  104192. <bits access="w" name="rrx_fft_sw_rst" pos="0" rst="0">
  104193. <comment>RX FFT sub-module reset by software, auto-clear to zero when write 1 to this register by DSP
  104194. 0: default value;
  104195. 1: Reset whole sub-module.</comment>
  104196. </bits>
  104197. <bits access="w" name="rrx_pss_sw_rst" pos="1" rst="0">
  104198. <comment>RX Cell Search PSS sub-module reset by software, auto-clear to zero when write 1 to this register by DSP
  104199. 0: default value;
  104200. 1: Reset whole sub-module.</comment>
  104201. </bits>
  104202. <bits access="w" name="rrx_sss_sw_rst" pos="2" rst="0">
  104203. <comment>RX Cell Search SSS sub-module reset by software, auto-clear to zero when write 1 to this register by DSP
  104204. 0: default value;
  104205. 1: Reset whole sub-module.</comment>
  104206. </bits>
  104207. <bits access="w" name="rrx_cfo_sw_rst" pos="3" rst="0">
  104208. <comment>RX CFO sub-module reset by software, auto-clear to zero when write 1 to this register by DSP
  104209. 0: default value;
  104210. 1: Reset whole sub-module.</comment>
  104211. </bits>
  104212. <bits access="w" name="rrx_vit_sw_rst" pos="4" rst="0">
  104213. <comment>RX Viterbi sub-module reset by software, auto-clear to zero when write 1 to this register by DSP
  104214. 0: default value;
  104215. 1: Reset whole sub-module.</comment>
  104216. </bits>
  104217. <bits access="w" name="rrx_agc_sw_rst" pos="5" rst="0">
  104218. <comment>RX AGC sub-module reset by software, auto-clear to zero when write 1 to this register by DSP
  104219. 0: default value;
  104220. 1: Reset whole sub-module.</comment>
  104221. </bits>
  104222. <bits access="w" name="rds_bsel_sw_rst" pos="6" rst="0">
  104223. <comment>RX DS_BSEL sub-module reset by software, auto-clear to zero when write 1 to this register by DSP
  104224. 0: default value;
  104225. 1: Reset whole sub-module.</comment>
  104226. </bits>
  104227. <bits access="w" name="rtx_frontend_sw_rst" pos="7" rst="0">
  104228. <comment>TX frontend sub-module reset by software, auto-clear to zero when write 1 to this register by DSP
  104229. 0: default value;
  104230. 1: Reset whole sub-module.</comment>
  104231. </bits>
  104232. <bits access="w" name="rpusch_enc_sw_rst" pos="8" rst="0">
  104233. <comment>PUSCH encoder sub-module reset by software, auto-clear to zero when write 1 to this register by DSP
  104234. 0: default value;
  104235. 1: Reset whole sub-module.</comment>
  104236. </bits>
  104237. <bits access="w" name="rtx_chsc_sw_rst" pos="9" rst="0">
  104238. <comment>TX CHSC sub-module reset by software, auto-clear to zero when write 1 to this register by DSP
  104239. 0: default value;
  104240. 1: Reset whole sub-module.</comment>
  104241. </bits>
  104242. <bits access="w" name="rfft_512_sw_rst" pos="10" rst="0">
  104243. <comment>FFT 512 sub-module reset by software, auto-clear to zero when write 1 to this register by DSP
  104244. 0: default value;
  104245. 1: Reset whole sub-module.</comment>
  104246. </bits>
  104247. <bits access="w" name="rnprs_acc1_sw_rst" pos="11" rst="0">
  104248. <comment>NPRS acc1 sub-module reset by software, auto-clear to zero when write 1 to this register by DSP
  104249. 0: default value;
  104250. 1: Reset whole sub-module.</comment>
  104251. </bits>
  104252. <bits access="w" name="rfine_ifft_sw_rst" pos="12" rst="0">
  104253. <comment>FINE_IFFT sub-module reset by software, auto-clear to zero when write 1 to this register by DSP
  104254. 0: default value;
  104255. 1: Reset whole sub-module.</comment>
  104256. </bits>
  104257. <bits access="w" name="rnbiot_sw_rst" pos="13" rst="0">
  104258. <comment>rNBIOT general part reset by software, auto-clear to zero when write 1 to this register by DSP
  104259. 0: default value;
  104260. 1: Reset whole sub-module.</comment>
  104261. </bits>
  104262. <bits access="w" name="rnbiot_rsrp_rst" pos="14" rst="0">
  104263. <comment>NC_RSRP sub-module reset by software, auto-clear to zero when write 1 to this register by DSP
  104264. 0: default value;
  104265. 1: Reset whole sub-module.</comment>
  104266. </bits>
  104267. </reg32>
  104268. <reg32 name="rnbiot_clk_en" protect="rw">
  104269. <bits access="rw" name="rrx_fft_clk_en" pos="0" rst="0">
  104270. <comment>Enable/disable the clock for RX FFT/RSRP module
  104271. 0: clock disabled
  104272. 1: clock enabled.</comment>
  104273. </bits>
  104274. <bits access="rw" name="rrx_pss_clk_en" pos="1" rst="0">
  104275. <comment>Enable/disable the clock for RX Cell Search module PSS
  104276. 0: clock disabled
  104277. 1: clock enabled.</comment>
  104278. </bits>
  104279. <bits access="rw" name="rrx_sss_clk_en" pos="2" rst="0">
  104280. <comment>Enable/disable the clock for RX Cell Search module SSS
  104281. 0: clock disabled
  104282. 1: clock enabled.</comment>
  104283. </bits>
  104284. <bits access="rw" name="rrx_cfo_clk_en" pos="3" rst="0">
  104285. <comment>Enable/disable the clock for RX CFO module
  104286. 0: clock disabled
  104287. 1: clock enabled.</comment>
  104288. </bits>
  104289. <bits access="rw" name="rrx_vit_clk_en" pos="4" rst="0">
  104290. <comment>Enable/disable the clock for RX Viterbi module
  104291. 0: clock disabled
  104292. 1: clock enabled.</comment>
  104293. </bits>
  104294. <bits access="rw" name="rrx_agc_clk_en" pos="5" rst="0">
  104295. <comment>Enable/disable the clock for RX AGC module
  104296. 0: clock disabled
  104297. 1: clock enabled.</comment>
  104298. </bits>
  104299. <bits access="rw" name="rds_bsel_clk_en" pos="6" rst="0">
  104300. <comment>Enable/disable the clock for DS_BSEL module
  104301. 0: clock disabled
  104302. 1: clock enabled.</comment>
  104303. </bits>
  104304. <bits access="rw" name="rtx_frontend_clk_en" pos="7" rst="0">
  104305. <comment>Enable/disable the clock for TX Frontend module.
  104306. 0: clock disabled
  104307. 1: clock enabled.</comment>
  104308. </bits>
  104309. <bits access="rw" name="rpusch_enc_clk_en" pos="8" rst="0">
  104310. <comment>Enable/disable the clock for PUSCH encoder module.
  104311. 0: clock disabled
  104312. 1: clock enabled.</comment>
  104313. </bits>
  104314. <bits access="rw" name="rtx_chsc_clk_en" pos="9" rst="0">
  104315. <comment>Enable/disable the clock for TX TX channel-interleaver and scrambling module.
  104316. 0: clock disabled
  104317. 1: clock enabled.</comment>
  104318. </bits>
  104319. <bits access="rw" name="rfft_512_clk_en" pos="10" rst="0">
  104320. <comment>Enable/disable the clock for FFT 512 module.
  104321. 0: clock disabled
  104322. 1: clock enabled.</comment>
  104323. </bits>
  104324. <bits access="rw" name="rnprs_acc1_clk_en" pos="11" rst="0">
  104325. <comment>Enable/disable the clock for NPRS ACC1 module.
  104326. 0: clock disabled
  104327. 1: clock enabled.</comment>
  104328. </bits>
  104329. <bits access="rw" name="rfine_fft_clk_en" pos="12" rst="0">
  104330. <comment>Enable/disable the clock for FINE ifft module
  104331. 0: clock disabled
  104332. 1: clock enabled.</comment>
  104333. </bits>
  104334. <bits access="rw" name="rnbiot_clk_en" pos="13" rst="0">
  104335. <comment>Enable/disable the clock for NBIOT module
  104336. 0: clock disabled
  104337. 1: clock enabled.</comment>
  104338. </bits>
  104339. </reg32>
  104340. <reg32 name="rnbiot_monitor" protect="rw">
  104341. <bits access="rw" name="rnbiot_monitor_sel" pos="7:0" rst="0">
  104342. <comment>Debug signal selection</comment>
  104343. </bits>
  104344. <bits access="rw" name="rnbiot_monitor_en" pos="8" rst="0">
  104345. <comment>Debug signal output enable</comment>
  104346. </bits>
  104347. </reg32>
  104348. <reg32 name="rnbiot_rfin_sw_rst" protect="w">
  104349. <bits access="w" name="rnbiot_rfin_sw_rst" pos="0" rst="0">
  104350. <comment>RFIN reset by DSP, it is used to re-timing the global timer to balance the timing of IQ data input from DFE in sample boundary. Write 1 and auto-clear by HW.
  104351. 0: default value
  104352. 1: reset to re-timing the sample boundary in global timer.</comment>
  104353. </bits>
  104354. </reg32>
  104355. <reg32 name="rnbiot_rfin_status" protect="r">
  104356. <bits access="r" name="rnbiot_rfin_subsmaple_cnt" pos="12:8" rst="0">
  104357. <comment>Sample the glb_subsample_cnt with input rx_data_vld to check the phase change of the input</comment>
  104358. </bits>
  104359. <bits access="r" name="rnbiot_rfin_status_err" pos="0" rst="0">
  104360. <comment>Keep track the RFIN data strobe in valid window.
  104361. 0: Normal
  104362. 1: Error</comment>
  104363. </bits>
  104364. </reg32>
  104365. <reg32 name="rnbiot_coarse_clk_gating" protect="rw">
  104366. <bits access="rw" name="rpss_cos_clk_gating" pos="1" rst="0">
  104367. <comment>PSS Correlator coarse clock gating,
  104368. 0: free running
  104369. 1: clock gated by the clock enabled signal which generated from sub-module PSS Correlator.</comment>
  104370. </bits>
  104371. <bits access="rw" name="rsss_cos_clk_gating" pos="2" rst="0">
  104372. <comment>SSS Correlator coarse clock gating,
  104373. 0: free running
  104374. 1: clock gated by the clock enabled signal which generated from sub-module SSS Correlator.</comment>
  104375. </bits>
  104376. </reg32>
  104377. <reg32 name="rnbiot_fine_clk_gating" protect="rw">
  104378. <bits access="rw" name="rfft_rsrp_ft_clk_gating" pos="0" rst="0">
  104379. <comment>FFT_RSRP fine clock gating,
  104380. 0: free running
  104381. 1: clock gated by the clock enabled signal which generated from sub-module FFT_RSRP.</comment>
  104382. </bits>
  104383. <bits access="rw" name="rpss_ft_clk_gating" pos="1" rst="0">
  104384. <comment>PSS Correlator fine clock gating,
  104385. 0: free running
  104386. 1: clock gated by the clock enabled signal which generated from sub-module PSS Correlator.</comment>
  104387. </bits>
  104388. <bits access="rw" name="rsss_ft_clk_gating" pos="2" rst="0">
  104389. <comment>SSS Correlator fine clock gating,
  104390. 0: free running
  104391. 1: clock gated by the clock enabled signal which generated from sub-module SSS Correlator.</comment>
  104392. </bits>
  104393. <bits access="rw" name="rcfo_ft_clk_gating" pos="3" rst="0">
  104394. <comment>CFO Correlator fine clock gating,
  104395. 0: free running
  104396. 1: clock gated by the clock enabled signal which generated from sub-module CFO Correlator.</comment>
  104397. </bits>
  104398. <bits access="rw" name="rvit_ft_clk_gating" pos="4" rst="0">
  104399. <comment>Viterbi fine clock gating,
  104400. 0: free running
  104401. 1: clock gated by the clock enabled signal which generated from sub-module Viterbi.</comment>
  104402. </bits>
  104403. <bits access="rw" name="ragc_ft_clk_gating" pos="5" rst="0">
  104404. <comment>AGC fine clock gating,
  104405. 0: free running
  104406. 1: clock gated by the clock enabled signal which generated from sub-module AGC.</comment>
  104407. </bits>
  104408. <bits access="rw" name="rds_bsel_ft_clk_gating" pos="6" rst="0">
  104409. <comment>DS_BSEL fine clock gating,
  104410. 0: free running
  104411. 1: clock gated by the clock enabled signal which generated from sub-module DS_BSEL.</comment>
  104412. </bits>
  104413. <bits access="rw" name="rtx_frontend_ft_clk_gating" pos="7" rst="0">
  104414. <comment>TX_FRONTEND fine clock gating,
  104415. 0: free running
  104416. 1: clock gated by the clock enabled signal which generated from sub-module TX_FRONTEND.</comment>
  104417. </bits>
  104418. <bits access="rw" name="rpusch_enc_clk_gating" pos="8" rst="0">
  104419. <comment>PUSCH_ENC fine clock gating,
  104420. 0: free running
  104421. 1: clock gated by the clock enabled signal which generated from sub-module PUSCH_ENC.</comment>
  104422. </bits>
  104423. <bits access="rw" name="rtx_chsc_clk_gating" pos="9" rst="0">
  104424. <comment>TX_CHSC fine clock gating,
  104425. 0: free running
  104426. 1: clock gated by the clock enabled signal which generated from sub-module TX_CHSC.</comment>
  104427. </bits>
  104428. <bits access="rw" name="rfft_512_clk_gating" pos="10" rst="0">
  104429. <comment>FFT 512 fine clock gating,
  104430. 0: free running
  104431. 1: clock gated by the clock enabled signal which generated from sub-module FFT 512.</comment>
  104432. </bits>
  104433. <bits access="rw" name="rnprs_acc1_clk_gating" pos="11" rst="0">
  104434. <comment>NPRS ACC1 fine clock gating,
  104435. 0: free running
  104436. 1: clock gated by the clock enabled signal which generated from sub-module NPRS ACC1.</comment>
  104437. </bits>
  104438. <bits access="rw" name="rfine_ifft_clk_gating" pos="12" rst="0">
  104439. <comment>FIne IFFT fine clock gating,
  104440. 0: free running
  104441. 1: clock gated by the clock enabled signal which generated from sub-module FINE_IFFT.</comment>
  104442. </bits>
  104443. </reg32>
  104444. <reg32 name="rapb_sw_rst" protect="w">
  104445. <bits access="w" name="rapb_sw_rst" pos="0" rst="0">
  104446. <comment>NBIOT CORE APB domain reset by software, auto-clear to zero when write 1 to this register by DSP
  104447. 0: default value;
  104448. 1: Reset whole sub-module.</comment>
  104449. </bits>
  104450. </reg32>
  104451. <reg32 name="rnbiot_debug_gpo" protect="rw">
  104452. <bits access="rw" name="rnbiot_debuf_gpo" pos="3:0" rst="0">
  104453. <comment>Debug General Purpose Output
  104454. Remark: need to set rNBIOT_MONITOR to 0x1a3</comment>
  104455. </bits>
  104456. </reg32>
  104457. <hole size="55*32"/>
  104458. <reg32 name="rnbiot_revision" protect="r">
  104459. <bits access="r" name="rminor_rev" pos="7:0" rst="0">
  104460. <comment>Minor Revision</comment>
  104461. </bits>
  104462. <bits access="r" name="rmajor_rev" pos="15:8" rst="0">
  104463. <comment>MAJOR Revision</comment>
  104464. </bits>
  104465. </reg32>
  104466. </module>
  104467. </archive>
  104468. <archive relative="nb_ds_bsel.xml">
  104469. <module category="NBIOT_PHY" name="NB_DS_BSEL">
  104470. <reg32 name="rds_bsel_start" protect="w1c">
  104471. <bits access="w1c" name="rds_bsel_start" pos="0" rst="0x0">
  104472. <comment>DS_BSEL accelerator start</comment>
  104473. </bits>
  104474. </reg32>
  104475. <reg32 name="rds_bsel_ctrl" protect="rw">
  104476. <bits access="rw" name="rtimeout_val" pos="15:0" rst="0x7fff">
  104477. <comment>Maximum time out value for TX bit level processing in 61.44Mhz unit</comment>
  104478. </bits>
  104479. <bits access="rw" name="rnum_candidate" pos="17:16" rst="0">
  104480. <comment>Number of Candidate
  104481. 0: 1 candidate
  104482. 1: 2 candidate
  104483. 2: 3 candidate
  104484. 3: 4 candidate</comment>
  104485. </bits>
  104486. <bits access="rw" name="rdbsp_en" pos="18" rst="0">
  104487. <comment>Bit de-selection and combining
  104488. 0: Disable
  104489. 1: enable
  104490. Remark: When this bit is disabled, the output data number is equal to rDESCR_SIZE0 and it only support 1 candidate.</comment>
  104491. </bits>
  104492. <bits access="rw" name="rdescr_en" pos="19" rst="0">
  104493. <comment>Descramble enable
  104494. 0: Disable
  104495. 1: enable</comment>
  104496. </bits>
  104497. <bits access="rw" name="rncb_minus_size" pos="27:20" rst="0">
  104498. <comment>NCB minus: NCB 3ND</comment>
  104499. </bits>
  104500. </reg32>
  104501. <reg32 name="rds_x1_0" protect="rw">
  104502. <bits access="rw" name="rds_x1_0" pos="30:0" rst="0">
  104503. <comment>Descramble X1 value for candidate 0</comment>
  104504. </bits>
  104505. </reg32>
  104506. <reg32 name="rds_x1_1" protect="rw">
  104507. <bits access="rw" name="rds_x1_1" pos="30:0" rst="0">
  104508. <comment>Descramble X1 value for candidate 1</comment>
  104509. </bits>
  104510. </reg32>
  104511. <reg32 name="rds_x1_2" protect="rw">
  104512. <bits access="rw" name="rds_x1_2" pos="30:0" rst="0">
  104513. <comment>Descramble X1 value for candidate 2</comment>
  104514. </bits>
  104515. </reg32>
  104516. <reg32 name="rds_x1_3" protect="rw">
  104517. <bits access="rw" name="rds_x1_3" pos="30:0" rst="0x40">
  104518. <comment>Descramble X1 value for candidate 3</comment>
  104519. </bits>
  104520. </reg32>
  104521. <reg32 name="rds_x2_0" protect="rw">
  104522. <bits access="rw" name="rds_x2_0" pos="30:0" rst="0">
  104523. <comment>Descramble X2 value for candidate 0</comment>
  104524. </bits>
  104525. </reg32>
  104526. <reg32 name="rds_x2_1" protect="rw">
  104527. <bits access="rw" name="rds_x2_1" pos="30:0" rst="0">
  104528. <comment>Descramble X2 value for candidate 1</comment>
  104529. </bits>
  104530. </reg32>
  104531. <reg32 name="rds_x2_2" protect="rw">
  104532. <bits access="rw" name="rds_x2_2" pos="30:0" rst="0">
  104533. <comment>Descramble X2 value for candidate 2</comment>
  104534. </bits>
  104535. </reg32>
  104536. <reg32 name="rds_x2_3" protect="rw">
  104537. <bits access="rw" name="rds_x2_3" pos="30:0" rst="0x40">
  104538. <comment>Descramble X2 value for candidate 3</comment>
  104539. </bits>
  104540. </reg32>
  104541. <reg32 name="rdesr_cfg1" protect="rw">
  104542. <bits access="rw" name="rdesr_size0" pos="8:0" rst="0">
  104543. <comment>Descramble size 0</comment>
  104544. </bits>
  104545. <bits access="rw" name="rdesr_size1" pos="24:16" rst="0">
  104546. <comment>Descramble size 1</comment>
  104547. </bits>
  104548. </reg32>
  104549. <reg32 name="rdesr_cfg2" protect="rw">
  104550. <bits access="rw" name="rdesr_size3" pos="8:0" rst="0">
  104551. <comment>Descramble size 3</comment>
  104552. </bits>
  104553. <bits access="rw" name="rdesr_size2" pos="24:16" rst="0">
  104554. <comment>Descramble size 2</comment>
  104555. </bits>
  104556. </reg32>
  104557. <reg32 name="rdesr_cfg3" protect="rw">
  104558. <bits access="rw" name="rdesr_ibuf_start_addr_0" pos="9:0" rst="0">
  104559. <comment>Descramble input buffer start address 0</comment>
  104560. </bits>
  104561. <bits access="rw" name="rdesr_ibuf_start_addr_1" pos="25:16" rst="0">
  104562. <comment>Descramble input buffer start address 1</comment>
  104563. </bits>
  104564. </reg32>
  104565. <reg32 name="rdesr_cfg4" protect="rw">
  104566. <bits access="rw" name="rdesr_ibuf_start_addr_3" pos="9:0" rst="0">
  104567. <comment>Descramble input buffer start address 3</comment>
  104568. </bits>
  104569. <bits access="rw" name="rdesr_ibuf_start_addr_2" pos="25:16" rst="0">
  104570. <comment>Descramble input buffer start address 4</comment>
  104571. </bits>
  104572. </reg32>
  104573. <reg32 name="rds_bsel_omem_start_addr" protect="rw">
  104574. <bits access="rw" name="rds_bsel_omem_start_addr" pos="9:0" rst="0">
  104575. <comment>DS_BSEL output memory start address</comment>
  104576. </bits>
  104577. </reg32>
  104578. <reg32 name="rds_bsel_ds_x1" protect="r">
  104579. <bits access="r" name="rds_bsel_ds_x1" pos="30:0" rst="0">
  104580. <comment>The last candidate Descramble X2 state value</comment>
  104581. </bits>
  104582. </reg32>
  104583. <reg32 name="rds_bsel_ds_x2" protect="r">
  104584. <bits access="r" name="rds_bsel_ds_x2" pos="30:0" rst="0">
  104585. <comment>The last candidate Descramble X2 state value</comment>
  104586. </bits>
  104587. </reg32>
  104588. <reg32 name="rds_bsel_status" protect="r">
  104589. <bits access="wc" name="rdone" pos="0" rst="0">
  104590. <comment>(This bit is write 1 clear)
  104591. 0: No Done
  104592. 1: Done</comment>
  104593. </bits>
  104594. <bits access="r" name="roverwritten" pos="1" rst="0">
  104595. <comment>If Done bit would not clear before this engine re-engine would indicate overwritten output buffer
  104596. 0: Normal
  104597. 1: Error</comment>
  104598. </bits>
  104599. <bits access="r" name="rbus_error" pos="3:2" rst="0">
  104600. <comment>0: Normal
  104601. 1: Error
  104602. Bit 0: DSP control bus error
  104603. Bit 1: accelerator memory access collusion</comment>
  104604. </bits>
  104605. <bits access="r" name="rtimeout" pos="4" rst="0">
  104606. <comment>0: Normal
  104607. 1: Error</comment>
  104608. </bits>
  104609. </reg32>
  104610. </module>
  104611. </archive>
  104612. <archive relative="nb_fft_rsrp.xml">
  104613. <module category="NBIOT_PHY" name="NB_FFT_RSRP">
  104614. <reg32 name="rfft_ctrl" protect="rw">
  104615. <bits access="rw" name="rfft_en" pos="0" rst="0x0">
  104616. <comment>FFT calculation enable</comment>
  104617. </bits>
  104618. <bits access="rw" name="rfft_done_int_period" pos="1" rst="0x0">
  104619. <comment>the period of FFT done interrupt, 0: one time per-subframe; 1: twice per-subframe.</comment>
  104620. </bits>
  104621. </reg32>
  104622. <reg32 name="rfft_rsrp_cfg" protect="rw">
  104623. <bits access="rw" name="rfft_rsrp_en" pos="0:0" rst="0x0">
  104624. <comment>FFT/RSRP enable</comment>
  104625. </bits>
  104626. <bits access="rw" name="rscaling_alpha" pos="3:1" rst="0x3">
  104627. <comment>FFT result scaling</comment>
  104628. </bits>
  104629. <bits access="rw" name="rfft_rsrp_mode" pos="4" rst="0x0">
  104630. <comment>0: FFT disabled, 5 RSRP CELLs calculation mode; 1: FFT + 2 RSRP Cell calculation mode.</comment>
  104631. </bits>
  104632. </reg32>
  104633. <reg32 name="rfft_ofdm_cp_os" protect="rw">
  104634. <bits access="rw" name="rfft_ofdm_cp_os" pos="3:0" rst="0x0">
  104635. <comment>FFT OFDM symbol CP offset</comment>
  104636. </bits>
  104637. </reg32>
  104638. <reg32 name="rrsrp_cell_en" protect="rw">
  104639. <bits access="rw" name="rrsrp_cell0_en" pos="0" rst="0">
  104640. <comment>RSRP Cell0 Enabled.</comment>
  104641. </bits>
  104642. <bits access="rw" name="rrsrp_cell1_en" pos="1" rst="0">
  104643. <comment>RSRP Cell1 Enabled.</comment>
  104644. </bits>
  104645. <bits access="rw" name="rrsrp_cell2_en" pos="2" rst="0">
  104646. <comment>RSRP Cell2 Enabled.</comment>
  104647. </bits>
  104648. <bits access="rw" name="rrsrp_cell3_en" pos="3" rst="0">
  104649. <comment>RSRP Cell3 Enabled.</comment>
  104650. </bits>
  104651. <bits access="rw" name="rrsrp_cell4_en" pos="4" rst="0">
  104652. <comment>RSRP Cell4 Enabled.</comment>
  104653. </bits>
  104654. </reg32>
  104655. <reg32 name="rrsrp_cell0_start_pos" protect="rw">
  104656. <bits access="rw" name="rrsrp_cell0_start_pos" pos="14:0" rst="0">
  104657. <comment>Frame start position of RSRP Cell0 based on global timer.</comment>
  104658. </bits>
  104659. </reg32>
  104660. <reg32 name="rrsrp_cell1_start_pos" protect="rw">
  104661. <bits access="rw" name="rrsrp_cell1_start_pos" pos="14:0" rst="0">
  104662. <comment>Frame start position of RSRP Cell1 based on global timer.</comment>
  104663. </bits>
  104664. </reg32>
  104665. <reg32 name="rrsrp_cell2_start_pos" protect="rw">
  104666. <bits access="rw" name="rrsrp_cell2_start_pos" pos="14:0" rst="0">
  104667. <comment>Frame start position of RSRP Cell2 based on global timer.</comment>
  104668. </bits>
  104669. </reg32>
  104670. <reg32 name="rrsrp_cell3_start_pos" protect="rw">
  104671. <bits access="rw" name="rrsrp_cell3_start_pos" pos="14:0" rst="0">
  104672. <comment>Frame start position of RSRP Cell3 based on global timer.</comment>
  104673. </bits>
  104674. </reg32>
  104675. <reg32 name="rrsrp_cell4_start_pos" protect="rw">
  104676. <bits access="rw" name="rrsrp_cell4_start_pos" pos="14:0" rst="0">
  104677. <comment>Frame start position of RSRP Cell4 based on global timer.</comment>
  104678. </bits>
  104679. </reg32>
  104680. <reg32 name="rcell0_ofdm_cp_os" protect="rw">
  104681. <bits access="rw" name="rcell0_ofdm_cp_os" pos="3:0" rst="0">
  104682. <comment>OFDM symbol CP offset for NCELL0.</comment>
  104683. </bits>
  104684. </reg32>
  104685. <reg32 name="rcell1_ofdm_cp_os" protect="rw">
  104686. <bits access="rw" name="rcell1_ofdm_cp_os" pos="3:0" rst="0">
  104687. <comment>OFDM symbol CP offset for NCELL1.</comment>
  104688. </bits>
  104689. </reg32>
  104690. <reg32 name="rcell2_ofdm_cp_os" protect="rw">
  104691. <bits access="rw" name="rcell2_ofdm_cp_os" pos="3:0" rst="0">
  104692. <comment>OFDM symbol CP offset for NCELL2.</comment>
  104693. </bits>
  104694. </reg32>
  104695. <reg32 name="rcell3_ofdm_cp_os" protect="rw">
  104696. <bits access="rw" name="rcell3_ofdm_cp_os" pos="3:0" rst="0">
  104697. <comment>OFDM symbol CP offset for NCELL3.</comment>
  104698. </bits>
  104699. </reg32>
  104700. <reg32 name="rcell4_ofdm_cp_os" protect="rw">
  104701. <bits access="rw" name="rcell4_ofdm_cp_os" pos="3:0" rst="0">
  104702. <comment>OFDM symbol CP offset for NCELL4.</comment>
  104703. </bits>
  104704. </reg32>
  104705. <reg32 name="rncell_v_shift" protect="rw">
  104706. <bits access="rw" name="rncell0_v_shift" pos="2:0" rst="0">
  104707. <comment>vshift of NCELL0.</comment>
  104708. </bits>
  104709. <bits access="rw" name="rncell1_v_shift" pos="5:3" rst="0">
  104710. <comment>vshift of NCELL1.</comment>
  104711. </bits>
  104712. <bits access="rw" name="rncell2_v_shift" pos="8:6" rst="0">
  104713. <comment>vshift of NCELL2.</comment>
  104714. </bits>
  104715. <bits access="rw" name="rncell3_v_shift" pos="11:9" rst="0">
  104716. <comment>vshift of NCELL3.</comment>
  104717. </bits>
  104718. <bits access="rw" name="rncell4_v_shift" pos="14:12" rst="0">
  104719. <comment>vshift of NCELL4.</comment>
  104720. </bits>
  104721. </reg32>
  104722. <reg32 name="rrsrp_subf_idx" protect="rw">
  104723. <bits access="rw" name="rncell0_cfg_subf_idx" pos="3:0" rst="0">
  104724. <comment>confiugred subframe idx when RSRX cell enabled.</comment>
  104725. </bits>
  104726. <bits access="rw" name="rncell1_cfg_subf_idx" pos="7:4" rst="0">
  104727. <comment>confiugred subframe idx when RSRX cell enabled.</comment>
  104728. </bits>
  104729. <bits access="rw" name="rncell2_cfg_subf_idx" pos="11:8" rst="0">
  104730. <comment>confiugred subframe idx when RSRX cell enabled.</comment>
  104731. </bits>
  104732. <bits access="rw" name="rncell3_cfg_subf_idx" pos="15:12" rst="0">
  104733. <comment>confiugred subframe idx when RSRX cell enabled.</comment>
  104734. </bits>
  104735. <bits access="rw" name="rncell4_cfg_subf_idx" pos="19:16" rst="0">
  104736. <comment>confiugred subframe idx when RSRX cell enabled.</comment>
  104737. </bits>
  104738. </reg32>
  104739. <reg32 name="rrsrp_mem_baddr" protect="rw">
  104740. <bits access="rw" name="rrsrp_mem_baddr" pos="8:0" rst="0">
  104741. <comment>Offset address for RSRP write memory buffer.</comment>
  104742. </bits>
  104743. </reg32>
  104744. <reg32 name="rfft_rsrp_status" protect="r">
  104745. <bits access="w1c" name="rfft_buf_status" pos="2:1" rst="0">
  104746. <comment>Indicated whether the data in ping-pong buffer is updated.</comment>
  104747. </bits>
  104748. <bits access="r" name="rfft_buf_switch_status" pos="3" rst="0">
  104749. <comment>FFT buffer ping-pong flag</comment>
  104750. </bits>
  104751. <bits access="w1c" name="rncell0_triple_buf_status" pos="6:4" rst="0">
  104752. <comment>Indicated which triple buffer is UPDATED</comment>
  104753. </bits>
  104754. <bits access="r" name="rncell0_triple_buf_switch_flag" pos="8:7" rst="3">
  104755. <comment>Indicated which buffer is just updated when interrupt asserted.</comment>
  104756. </bits>
  104757. <bits access="w1c" name="rncell1_triple_buf_status" pos="11:9" rst="0">
  104758. <comment>Indicated which triple buffer is UPDATED</comment>
  104759. </bits>
  104760. <bits access="r" name="rncell1_triple_buf_switch_flag" pos="13:12" rst="3">
  104761. <comment>Indicated which buffer is just updated when interrupt asserted.</comment>
  104762. </bits>
  104763. <bits access="w1c" name="rncell2_triple_buf_status" pos="16:14" rst="0">
  104764. <comment>Indicated which triple buffer is UPDATED</comment>
  104765. </bits>
  104766. <bits access="r" name="rncell2_triple_buf_switch_flag" pos="18:17" rst="3">
  104767. <comment>Indicated which buffer is just updated when interrupt asserted.</comment>
  104768. </bits>
  104769. <bits access="w1c" name="rncell3_triple_buf_status" pos="21:19" rst="0">
  104770. <comment>Indicated which triple buffer is UPDATED</comment>
  104771. </bits>
  104772. <bits access="r" name="rncell3_triple_buf_switch_flag" pos="23:22" rst="3">
  104773. <comment>Indicated which buffer is just updated when interrupt asserted.</comment>
  104774. </bits>
  104775. <bits access="w1c" name="rncell4_triple_buf_status" pos="26:24" rst="0">
  104776. <comment>Indicated which triple buffer is UPDATED</comment>
  104777. </bits>
  104778. <bits access="r" name="rncell4_triple_buf_switch_flag" pos="28:27" rst="3">
  104779. <comment>Indicated which buffer is just updated when interrupt asserted.</comment>
  104780. </bits>
  104781. </reg32>
  104782. <reg32 name="rsv_cell_subf_idx" protect="r">
  104783. <bits access="r" name="rsv_cell_subf_idx" pos="3:0" rst="0">
  104784. <comment>subframe index of serving cell</comment>
  104785. </bits>
  104786. </reg32>
  104787. <reg32 name="rncell_subf_idx" protect="r">
  104788. <bits access="r" name="rncell0_subf_idx" pos="3:0" rst="0">
  104789. <comment>subframe idx of NCELL0</comment>
  104790. </bits>
  104791. <bits access="r" name="rncell1_subf_idx" pos="7:4" rst="0">
  104792. <comment>subframe idx of NCELL1</comment>
  104793. </bits>
  104794. <bits access="r" name="rncell2_subf_idx" pos="11:8" rst="0">
  104795. <comment>subframe idx of NCELL2</comment>
  104796. </bits>
  104797. <bits access="r" name="rncell3_subf_idx" pos="15:12" rst="0">
  104798. <comment>subframe idx of NCELL3</comment>
  104799. </bits>
  104800. <bits access="r" name="rncell4_subf_idx" pos="19:16" rst="0">
  104801. <comment>subframe idx of NCELL4</comment>
  104802. </bits>
  104803. </reg32>
  104804. <reg32 name="rfft_rsrp_buf_ovwr" protect="r">
  104805. <bits access="r" name="rfft_buf_ovwr" pos="1:0" rst="0">
  104806. <comment>FFT pingpong buffer overwritten status</comment>
  104807. </bits>
  104808. <bits access="r" name="rrsrp_cell0_buf_ovwr" pos="4:2" rst="0">
  104809. <comment>RSRP Cell0 triple buffer over-written status.</comment>
  104810. </bits>
  104811. <bits access="r" name="rrsrp_cell1_buf_ovwr" pos="7:5" rst="0">
  104812. <comment>RSRP Cell1 triple buffer over-written status.</comment>
  104813. </bits>
  104814. <bits access="r" name="rrsrp_cell2_buf_ovwr" pos="10:8" rst="0">
  104815. <comment>RSRP Cell2 triple buffer over-written status.</comment>
  104816. </bits>
  104817. <bits access="r" name="rrsrp_cell3_buf_ovwr" pos="13:11" rst="0">
  104818. <comment>RSRP Cell3 triple buffer over-written status.</comment>
  104819. </bits>
  104820. <bits access="r" name="rrsrp_cell4_buf_ovwr" pos="16:14" rst="0">
  104821. <comment>RSRP Cell4 triple buffer over-written status.</comment>
  104822. </bits>
  104823. <bits access="r" name="rfft_mem_wr_err" pos="18:17" rst="0">
  104824. <comment>FFT write buffer bus error</comment>
  104825. </bits>
  104826. <bits access="r" name="rrsrp0_mem_wr_err" pos="20:19" rst="0">
  104827. <comment>RSRP CELL0 write buffer bus error</comment>
  104828. </bits>
  104829. <bits access="r" name="rrsrp1_mem_wr_err" pos="22:21" rst="0">
  104830. <comment>RSRP CELL1 write buffer bus error</comment>
  104831. </bits>
  104832. <bits access="r" name="rrsrp2_mem_wr_err" pos="24:23" rst="0">
  104833. <comment>RSRP CELL2 write buffer bus error</comment>
  104834. </bits>
  104835. <bits access="r" name="rrsrp3_mem_wr_err" pos="26:25" rst="0">
  104836. <comment>RSRP CELL3 write buffer bus error</comment>
  104837. </bits>
  104838. <bits access="r" name="rrsrp4_mem_wr_err" pos="28:27" rst="0">
  104839. <comment>RSRP CELL4 write buffer bus error</comment>
  104840. </bits>
  104841. </reg32>
  104842. <reg32 name="rfft_rsrp_buf_idx" protect="r">
  104843. <bits access="r" name="rfft_pingpong_buf_idx" pos="0" rst="0">
  104844. <comment>FFT pingpong buf idx</comment>
  104845. </bits>
  104846. <bits access="r" name="rrsrp0_tri_buf_idx" pos="2:1" rst="0">
  104847. <comment>RSRP0 Triple buffer idx</comment>
  104848. </bits>
  104849. <bits access="r" name="rrsrp1_tri_buf_idx" pos="4:3" rst="0">
  104850. <comment>RSRP1 Triple buffer idx</comment>
  104851. </bits>
  104852. <bits access="r" name="rrsrp2_tri_buf_idx" pos="6:5" rst="0">
  104853. <comment>RSRP2 Triple buffer idx</comment>
  104854. </bits>
  104855. <bits access="r" name="rrsrp3_tri_buf_idx" pos="8:7" rst="0">
  104856. <comment>RSRP3 Triple buffer idx</comment>
  104857. </bits>
  104858. <bits access="r" name="rrsrp4_tri_buf_idx" pos="10:9" rst="0">
  104859. <comment>RSRP4 Triple buffer idx</comment>
  104860. </bits>
  104861. </reg32>
  104862. <reg32 name="rfft_rsrp_subf_idx" protect="r">
  104863. <bits access="r" name="rfft_subf_idx" pos="3:0" rst="0">
  104864. <comment>FFT subframe idx</comment>
  104865. </bits>
  104866. <bits access="r" name="rrsrp0_subf_idx" pos="7:4" rst="0">
  104867. <comment>RSRP Cell0 subframe idx</comment>
  104868. </bits>
  104869. <bits access="r" name="rrsrp1_subf_idx" pos="11:8" rst="0">
  104870. <comment>RSRP Cell1 subframe idx</comment>
  104871. </bits>
  104872. <bits access="r" name="rrsrp2_subf_idx" pos="15:12" rst="0">
  104873. <comment>RSRP Cell2 subframe idx</comment>
  104874. </bits>
  104875. <bits access="r" name="rrsrp3_subf_idx" pos="19:16" rst="0">
  104876. <comment>RSRP Cell3 subframe idx</comment>
  104877. </bits>
  104878. <bits access="r" name="rrsrp4_subf_idx" pos="23:20" rst="0">
  104879. <comment>RSRP Cell4 subframe idx</comment>
  104880. </bits>
  104881. </reg32>
  104882. </module>
  104883. </archive>
  104884. <archive relative="nb_intc.xml">
  104885. <module category="NBIOT_PHY" name="NB_INTC">
  104886. <reg32 name="rrx_int_dsp_masking" protect="rw">
  104887. <bits access="rw" name="rrx_int_dsp_masking" pos="0:0" rst="0x0">
  104888. <comment>Interrupt Masking bit for RX_INT_DSP</comment>
  104889. </bits>
  104890. </reg32>
  104891. <reg32 name="rrx_int_mcu_masking" protect="rw">
  104892. <bits access="rw" name="rrx_int_mcu_masking" pos="0:0" rst="0x0">
  104893. <comment>Interrupt Masking bit for RX_INT_MCU</comment>
  104894. </bits>
  104895. </reg32>
  104896. <reg32 name="rtx_int_dsp_masking" protect="rw">
  104897. <bits access="rw" name="rtx_int_dsp_masking" pos="0:0" rst="0x0">
  104898. <comment>Interrupt Masking bit for TX_INT_DSP</comment>
  104899. </bits>
  104900. </reg32>
  104901. <reg32 name="racc_int_masking" protect="rw">
  104902. <bits access="rw" name="rfft_done_int_masking" pos="0:0" rst="0">
  104903. <comment>Interrupt masking bit from the interrupt of fft_done_int</comment>
  104904. </bits>
  104905. <bits access="rw" name="rncell0_rsrp_dec_done_int_masking" pos="1:1" rst="0">
  104906. <comment>Interrupt masking bit of NCELL0 decode done intterupt</comment>
  104907. </bits>
  104908. <bits access="rw" name="rncell1_rsrp_dec_done_int_masking" pos="2:2" rst="0">
  104909. <comment>Interrupt masking bit of NCELL1 decode done interrupt</comment>
  104910. </bits>
  104911. <bits access="rw" name="rncell2_rsrp_dec_done_int_masking" pos="3:3" rst="0">
  104912. <comment>Interrupt masking bit of NCELL2 decode done interrpt</comment>
  104913. </bits>
  104914. <bits access="rw" name="rncell3_rsrp_dec_done_int_masking" pos="4:4" rst="0">
  104915. <comment>Interrupt masking bit of NCELL3 decode done interrupt</comment>
  104916. </bits>
  104917. <bits access="rw" name="rncell4_rsrp_dec_done_int_masking" pos="5:5" rst="0">
  104918. <comment>Interrupt masking bit of NCELL4 decode done interrupt</comment>
  104919. </bits>
  104920. <bits access="rw" name="rpss_sf_done_int_masking" pos="6:6" rst="0">
  104921. <comment>Interrupt masking bit of PSS SF done interrupt</comment>
  104922. </bits>
  104923. <bits access="rw" name="rsss_sf_done_int_masking" pos="7:7" rst="0">
  104924. <comment>Interrupt masking bit of SSS SF done interrupt</comment>
  104925. </bits>
  104926. <bits access="rw" name="rcfo_sf_done_int_masking" pos="8:8" rst="0">
  104927. <comment>Interrupt masking bit of CFO SF done interrupt</comment>
  104928. </bits>
  104929. <bits access="rw" name="rvit_dec_done_int_masking" pos="9:9" rst="0">
  104930. <comment>Interrupt masking bit of Viterbi decode done interrupt</comment>
  104931. </bits>
  104932. <bits access="rw" name="ragc_pwr_int_masking" pos="10:10" rst="0">
  104933. <comment>Interrupt masking bit of AGC interrupt masking</comment>
  104934. </bits>
  104935. <bits access="rw" name="rds_bsel_int_masking" pos="11:11" rst="0">
  104936. <comment>Interrupt masking bit of DS_BSEL interrupt</comment>
  104937. </bits>
  104938. <bits access="rw" name="rpusch_enc_int_masking" pos="12:12" rst="0">
  104939. <comment>Interrupt masking bit of PUSCH encoder interrupt</comment>
  104940. </bits>
  104941. <bits access="rw" name="rtx_chsc_int_masking" pos="13:13" rst="0">
  104942. <comment>Interrupt masking bit of TX_CHSC interrupt</comment>
  104943. </bits>
  104944. <bits access="rw" name="rfft_512_done_int_masking" pos="14:14" rst="0">
  104945. <comment>Interrupt masking bit of FFT_512 done interrupt</comment>
  104946. </bits>
  104947. <bits access="rw" name="rnprs_acc1_done_int_masking" pos="15:15" rst="0">
  104948. <comment>Interrupt masking bit of NPRS_ACC1 done interrupt</comment>
  104949. </bits>
  104950. <bits access="rw" name="rfine_ifft_done_int_masking" pos="16:16" rst="0">
  104951. <comment>Interrupt masking bit of FINE_IFFT done interrupt</comment>
  104952. </bits>
  104953. </reg32>
  104954. <reg32 name="rrx_int_dsp_status" protect="w1c">
  104955. <bits access="w1c" name="rrx_int_dsp_status" pos="0" rst="0">
  104956. <comment>interrupt status of RX_INT_DSP, write 1 clear.</comment>
  104957. </bits>
  104958. </reg32>
  104959. <reg32 name="rrx_int_mcu_status" protect="w1c">
  104960. <bits access="w1c" name="rrx_int_mcu_status" pos="0:0" rst="0">
  104961. <comment>Interrupt status of RX_INT_MCU, write 1 clear.</comment>
  104962. </bits>
  104963. </reg32>
  104964. <reg32 name="rtx_int_dsp_status" protect="w1c">
  104965. <bits access="w1c" name="rtx_int_dsp_status" pos="0:0" rst="0">
  104966. <comment>Interrupt status of TX_INT_DSP, write 1 clear.</comment>
  104967. </bits>
  104968. </reg32>
  104969. <reg32 name="racc_int_status" protect="w1c">
  104970. <bits access="w1c" name="rfft_int_status" pos="0:0" rst="0">
  104971. <comment>Interrupt status of fft_sf_done_int</comment>
  104972. </bits>
  104973. <bits access="w1c" name="rncell0_rsrp_dec_done_int_status" pos="1:1" rst="0">
  104974. <comment>Interrupt status of RSRP Cell0 decode done interrupt</comment>
  104975. </bits>
  104976. <bits access="w1c" name="rncell1_rsrp_dec_done_int_status" pos="2" rst="0">
  104977. <comment>Interrupt status of RSRP Cell1 decode done interrupt</comment>
  104978. </bits>
  104979. <bits access="w1c" name="rncell2_rsrp_dec_done_int_status" pos="3" rst="0">
  104980. <comment>Interrupt status of RSRP Cell20 decode done interrupt</comment>
  104981. </bits>
  104982. <bits access="w1c" name="rncell3_rsrp_dec_done_int_status" pos="4" rst="0">
  104983. <comment>Interrupt status of RSRP Cell3 decode done interrupt</comment>
  104984. </bits>
  104985. <bits access="w1c" name="rncell4_rsrp_dec_done_int_status" pos="5" rst="0">
  104986. <comment>Interrupt status of RSRP Cell4 decode done interrupt</comment>
  104987. </bits>
  104988. <bits access="w1c" name="rpss_sf_done_int_status" pos="6" rst="0">
  104989. <comment>Interrupt status of PSS SF done interrupt</comment>
  104990. </bits>
  104991. <bits access="w1c" name="rsss_sf_done_int_status" pos="7" rst="0">
  104992. <comment>Interrupt status of SSS SF done interrupt</comment>
  104993. </bits>
  104994. <bits access="w1c" name="rcfo_sf_done_int_status" pos="8" rst="0">
  104995. <comment>Interrupt status of CFO SF done interrupt</comment>
  104996. </bits>
  104997. <bits access="w1c" name="rvit_dec_done_int_status" pos="9" rst="0">
  104998. <comment>Interrupt status of Viterbi decode done</comment>
  104999. </bits>
  105000. <bits access="w1c" name="ragc_int_status" pos="10" rst="0">
  105001. <comment>Interrupt status of AGC interrupt</comment>
  105002. </bits>
  105003. <bits access="w1c" name="rds_bsel_int_status" pos="11" rst="0">
  105004. <comment>Interrupt status of DS_BSEL interrupt</comment>
  105005. </bits>
  105006. <bits access="w1c" name="rpusch_enc_int_status" pos="12" rst="0">
  105007. <comment>Interrupt status of PUSCH Encoder interrupt</comment>
  105008. </bits>
  105009. <bits access="w1c" name="rtx_chsc_int_status" pos="13" rst="0">
  105010. <comment>Interrupt status of TX_CHSC interrupt</comment>
  105011. </bits>
  105012. <bits access="w1c" name="rfft_512_done_int_status" pos="14" rst="0">
  105013. <comment>Interrupt status of FFT_512 done interrupt</comment>
  105014. </bits>
  105015. <bits access="w1c" name="rnprs_acc1_done_int_status" pos="15" rst="0">
  105016. <comment>Interrupt status of NPRS_ACC1 done interrupt</comment>
  105017. </bits>
  105018. <bits access="w1c" name="rfint_ifft_done_int_status" pos="16" rst="0">
  105019. <comment>Interrupt status of FINE IFFT done interrupt</comment>
  105020. </bits>
  105021. </reg32>
  105022. </module>
  105023. </archive>
  105024. <archive relative="nb_meas.xml">
  105025. <module category="NBIOT_PHY" name="NB_MEAS">
  105026. <reg32 name="rasp_on" protect="w">
  105027. <bits access="w" name="rasp_on" pos="0" rst="0">
  105028. <comment>Symbol power accumulation enable/disable signal and effective at subframe boundary.
  105029. 1 : enable
  105030. 0 : disable</comment>
  105031. </bits>
  105032. </reg32>
  105033. <reg32 name="rasp_ctrl" protect="rw">
  105034. <bits access="rw" name="rasp_gain" pos="12:9" rst="0">
  105035. <comment>Gain used in shift and saturation of accumulation power value.
  105036. Bit[3:0] Gain
  105037. 0000 2^-24 (default)
  105038. 0001 2^-23
  105039. 0010 2^-22
  105040. 0011 2^-21</comment>
  105041. </bits>
  105042. <bits access="rw" name="rasp_length" pos="8:7" rst="0">
  105043. <comment>Accumulation length of samples in every symbol.
  105044. 0: 128
  105045. 1: 64
  105046. 2: 32
  105047. 3: 16</comment>
  105048. </bits>
  105049. <bits access="rw" name="rasp_offset" pos="6:0" rst="0">
  105050. <comment>Offset of samples from symbols boundaries which is the start boundary of agc symbol power calculation.</comment>
  105051. </bits>
  105052. </reg32>
  105053. <reg32 name="rasp_rd_addr" protect="rw">
  105054. <bits access="rw" name="rasp_rd_addr" pos="5:0" rst="0">
  105055. <comment>Reading address for DSP to read asp response ram, and this register would auto-increment whenever access the rASP_RD_DATA register
  105056. PING buffer address: 0~20
  105057. PONG buffer address: 21~41</comment>
  105058. </bits>
  105059. </reg32>
  105060. <reg32 name="rdc_ofs_cfg_data" protect="rw">
  105061. <bits access="rw" name="rdc_ofs_cfg_data" pos="31:0" rst="0">
  105062. <comment>Bit[27:16]: Q DC offset configuration
  105063. Bit[11:0]: I DC offset configuration</comment>
  105064. </bits>
  105065. </reg32>
  105066. <hole size="7*32"/>
  105067. <reg32 name="rasp_status" protect="r">
  105068. <bits access="w1c" name="rasp_done_status" pos="0" rst="0">
  105069. <comment>Report agc symbol power and DCC done status, write 1 to clear this status</comment>
  105070. </bits>
  105071. <bits access="r" name="rasp_buf_ping_pong_idx" pos="1" rst="0">
  105072. <comment>Index bit to indicate which buffer is updated of PING-PONG
  105073. 1: PONG buffer data is updated
  105074. 0: PING buffer data is updated</comment>
  105075. </bits>
  105076. </reg32>
  105077. <reg32 name="rasp_rd_data" protect="r">
  105078. <bits access="r" name="rasp_rd_data" pos="31:0" rst="0">
  105079. <comment>Data = mem[rASP_RD_ADDR] which is the ASP response memory data content. The ASP_RD_ADDR would auto increase whenever access this register.
  105080. ASP response Memory address range is 0-41
  105081. Address(0~6,21~27): symbol power, bit[15:0] for symbol 0,2,4,6,8,10,12 and bit[31:16] for symbol 1,3,5,7,9,11,13
  105082. Address(7~20,28~41):dc_offset value, bit[15:0] for I and bit[31:16] for Q</comment>
  105083. </bits>
  105084. </reg32>
  105085. <hole size="51*32"/>
  105086. <reg32 name="rfft_512_ctrl" protect="rw">
  105087. <bits access="rw" name="rfft_fwd_inv" pos="0" rst="0">
  105088. <comment>Forward/Inverse FFT transform computing selection</comment>
  105089. </bits>
  105090. <bits access="rw" name="rfft_buf_idx" pos="1" rst="0">
  105091. <comment>PING-PONG memory selection
  105092. 1b0: Memory0;
  105093. 1b1: Memory1.</comment>
  105094. </bits>
  105095. <bits access="rw" name="rfft_scaling_factor" pos="4:2" rst="0">
  105096. <comment>FFT scaling, it can be implemented by bit shift,
  105097. 3d0: 2^-3
  105098. 3d1: 2^-2
  105099. 3d2: 2^-1
  105100. 3d3: 2^0 (default)
  105101. 3d4: 2^1
  105102. 3d5: 2^2
  105103. 3d6: 2^3
  105104. 3d7: 2^4</comment>
  105105. </bits>
  105106. <bits access="rw" name="rfft_amp_scaling_factor" pos="7:5" rst="0">
  105107. <comment>FFT_amp_out scaling for amplitude square output, it can be implemented by bit shift,
  105108. 3d0: 2^-3
  105109. 3d1: 2^-2
  105110. 3d2: 2^-1
  105111. 3d3: 2^0 (default)
  105112. 3d4: 2^1
  105113. 3d5: 2^2
  105114. 3d6: 2^3
  105115. 3d7: 2^4</comment>
  105116. </bits>
  105117. <bits access="rw" name="rfft_amp_cal_en" pos="8" rst="0">
  105118. <comment>IFFT Output amptitude data
  105119. 1b0: IFFT output normal data(I+j*Q);
  105120. 1b1: IFFT output amptitude data(I^2+Q^2).</comment>
  105121. </bits>
  105122. </reg32>
  105123. <reg32 name="rfft_512_start" protect="w">
  105124. <bits access="w" name="rfft_512_start" pos="0" rst="0">
  105125. <comment>FFT start indication, when write 1 to this register, a high active pulse will be generated and input to FFT engine to start FFT calculation.</comment>
  105126. </bits>
  105127. </reg32>
  105128. <reg32 name="rfft_512_status" protect="r">
  105129. <bits access="w1c" name="rfft_done" pos="0" rst="0">
  105130. <comment>FFT done status, write 1 clear.</comment>
  105131. </bits>
  105132. <bits access="r" name="rmem_bus_err" pos="2:1" rst="0">
  105133. <comment>An error grant is received when FFT request memory write bus to store FFT result.
  105134. Bit1: DSP control error;
  105135. Bit0: Accelerator memory access error.</comment>
  105136. </bits>
  105137. <bits access="r" name="rfft_in_underflow" pos="3" rst="0">
  105138. <comment>This register is used to check the range of FFT/IFFT input,
  105139. 1b1: absolute maximum FFT/IFFT input less than 32, in this case, the resolution of FFT/IFFT output will loss 1bit;
  105140. 1b0: normally.</comment>
  105141. </bits>
  105142. </reg32>
  105143. <hole size="61*32"/>
  105144. <reg32 name="rnprs_acc1_start" protect="w">
  105145. <bits access="w" name="rnprs_acc1_start" pos="0" rst="0">
  105146. <comment>NPRS accelerator 1 Start</comment>
  105147. </bits>
  105148. </reg32>
  105149. <reg32 name="rnprs_acc1_ctrl" protect="rw">
  105150. <bits access="rw" name="rtimeout_val" pos="15:0" rst="0x7ff">
  105151. <comment>Maximum time out value in 61.44Mhz unit</comment>
  105152. </bits>
  105153. <bits access="rw" name="rmode" pos="17:16" rst="0">
  105154. <comment>Mode selection:
  105155. 2b00: copy + dot product
  105156. 2b01: dot product
  105157. 2b10: copy</comment>
  105158. </bits>
  105159. <bits access="rw" name="rcp_src_mem" pos="18" rst="0">
  105160. <comment>Copy Source memory before sequence dot product
  105161. 0: Memory 0
  105162. 1: Memory 1</comment>
  105163. </bits>
  105164. <bits access="rw" name="rcp_br_addr_en" pos="19" rst="0">
  105165. <comment>Copy memory with bit-reversed address write location enable
  105166. 0: Disable
  105167. 1: Enable</comment>
  105168. </bits>
  105169. <bits access="rw" name="rdp_dst_mem" pos="20" rst="0">
  105170. <comment>Destination memory after sequence dot product
  105171. 0: Memory 0
  105172. 1: Memory 1</comment>
  105173. </bits>
  105174. <bits access="rw" name="rdp_br_addr_en" pos="21" rst="0">
  105175. <comment>Dot Product from memory 5 to memory 0/1 with bit-reversed address write location enable
  105176. 0: Disable
  105177. 1: Enable</comment>
  105178. </bits>
  105179. <bits access="rw" name="rconj_seq_en" pos="22" rst="0">
  105180. <comment>Conjugate Sequence data Enable
  105181. 0: Disable
  105182. 1: Enable</comment>
  105183. </bits>
  105184. </reg32>
  105185. <reg32 name="rnprs_acc1_len" protect="rw">
  105186. <bits access="rw" name="rnprs_acc1_len" pos="8:0" rst="0x1ff">
  105187. <comment>Operation length -1
  105188. Default : (511)</comment>
  105189. </bits>
  105190. </reg32>
  105191. <reg32 name="rseq_start_ofs_addr" protect="rw">
  105192. <bits access="rw" name="rseq_start_ofs_addr" pos="10:0" rst="0">
  105193. <comment>Sequence Memory Start Offset Address</comment>
  105194. </bits>
  105195. </reg32>
  105196. <reg32 name="rnprs_acc1_status" protect="r">
  105197. <bits access="w1c" name="rdone" pos="0" rst="0">
  105198. <comment>(This bit is read write 1 clear)
  105199. 0: No Done
  105200. 1: Done</comment>
  105201. </bits>
  105202. <bits access="r" name="roverwritten" pos="1" rst="0">
  105203. <comment>If Done bit would not clear before this engine re-engine would indicate overwritten output buffer
  105204. 0: Normal
  105205. 1: Error</comment>
  105206. </bits>
  105207. <bits access="r" name="rbus error 0" pos="3:2" rst="0">
  105208. <comment>Read/Write process in Memory 0/1 (FFT/IFFT input/output memory)
  105209. 0: Normal
  105210. 1: Error
  105211. Bit 0: DSP control bus error
  105212. Bit 1: accelerator memory access collusion</comment>
  105213. </bits>
  105214. <bits access="r" name="rbus error 1" pos="5:4" rst="0">
  105215. <comment>Read/Write process in Memory 5 (Copied FFT memory)</comment>
  105216. </bits>
  105217. <bits access="r" name="rbus error 2" pos="7:6" rst="0">
  105218. <comment>Read process in Memory 4 (Sequence memory)</comment>
  105219. </bits>
  105220. <bits access="r" name="rtimeout" pos="8" rst="0">
  105221. <comment>0: Normal
  105222. 1: Error</comment>
  105223. </bits>
  105224. </reg32>
  105225. <hole size="59*32"/>
  105226. <reg32 name="rfine_ifft_start" protect="w">
  105227. <bits access="w" name="rfine_ifft_start" pos="0" rst="0">
  105228. <comment>Fine IFFT START
  105229. A pulse to grigger the Fine IFFT</comment>
  105230. </bits>
  105231. </reg32>
  105232. <reg32 name="rfine_ifft_calc_ctrl" protect="rw">
  105233. <bits access="rw" name="rfine_ifft_t" pos="8:0" rst="0">
  105234. <comment>NPRS Coarse Timing Result
  105235. Range is from 0 to 272</comment>
  105236. </bits>
  105237. <bits access="rw" name="rfine_ifft_calc_os" pos="22:16" rst="0">
  105238. <comment>Fine IFFT calculation offset. Range is from 0 to 95.</comment>
  105239. </bits>
  105240. <bits access="rw" name="rfine_ifft_calc_len" pos="30:24" rst="0">
  105241. <comment>Fine IFFT calculation length. Range is from 1 to 96.</comment>
  105242. </bits>
  105243. </reg32>
  105244. <reg32 name="rfine_ifft_ioout_ctrl" protect="rw">
  105245. <bits access="rw" name="rfine_ifft_out_iq_scale" pos="2:0" rst="0">
  105246. <comment>Fine IFFT output a+bj scaling
  105247. 3d0:x2^0(default)
  105248. 3d1:x2^-1
  105249. 3d2:x2^-2
  105250. 3d3:x2^-3
  105251. 3d4:x2^-4
  105252. 3d5:x2^-5
  105253. 3d6:x2^-6
  105254. 3d7:x2^-7</comment>
  105255. </bits>
  105256. <bits access="rw" name="rfine_ifft_out_pwr_scale" pos="10:8" rst="0">
  105257. <comment>Fine IFFT output power scaling
  105258. 3d0:x2^-3
  105259. 3d1:x2^-2
  105260. 3d2:x2^-1
  105261. 3d3:x2^0 (default)
  105262. 3d4:x2^1
  105263. 3d5:x2^2
  105264. 3d6:x2^3
  105265. 3d7:x2^4</comment>
  105266. </bits>
  105267. <bits access="rw" name="rfine_ifft_out_sel" pos="16" rst="0">
  105268. <comment>Fine IFFT output selection
  105269. 1b0: Output IFFT result: a+bj
  105270. 1b1: Output power result: a^2+b^2</comment>
  105271. </bits>
  105272. <bits access="rw" name="rfine_ifft_in_ctrl" pos="17" rst="0">
  105273. <comment>Fine IFFT input data control
  105274. 1b0: Input data in inverse order
  105275. 1b1: Input data in inverse order and swap bit0~bit255 with bit256~bit511</comment>
  105276. </bits>
  105277. </reg32>
  105278. <reg32 name="rfine_ifft_input_addr" protect="rw">
  105279. <bits access="rw" name="rfine_ifft_input_addr" pos="10:0" rst="0">
  105280. <comment>Fine IFFT input data start address</comment>
  105281. </bits>
  105282. </reg32>
  105283. <reg32 name="rfine_ifft_output_addr" protect="rw">
  105284. <bits access="rw" name="rfine_ifft_output_addr" pos="10:0" rst="0">
  105285. <comment>Fine IFFT output data start address</comment>
  105286. </bits>
  105287. </reg32>
  105288. <reg32 name="rfine_ifft_status" protect="r">
  105289. <bits access="w1c" name="rfine_ifft_done_status" pos="0" rst="0">
  105290. <comment>Fine IFFT calculation done status.
  105291. 1b1: Fine IFFT calculation done
  105292. 1b0: Fine IFFT is idle or under calculating</comment>
  105293. </bits>
  105294. <bits access="w1c" name="rfine_ifft_ow_status" pos="1" rst="0">
  105295. <comment>Fine IFFT output buffer status
  105296. 1b1: Fine IFFT output buffer is over written
  105297. 1b0: Fine IFFT output buffer is normal</comment>
  105298. </bits>
  105299. <bits access="r" name="rfine_ifft_err_status" pos="3:2" rst="0">
  105300. <comment>Fine IFFT calculation done status.
  105301. 1b1: Fine IFFT calculation done
  105302. 1b0: Fine IFFT is idle or under calculating</comment>
  105303. </bits>
  105304. </reg32>
  105305. </module>
  105306. </archive>
  105307. <archive relative="nb_tx_chsc.xml">
  105308. <module category="NBIOT_PHY" name="NB_TX_CHSC">
  105309. <reg32 name="rtx_chsc_ctrl" protect="rw">
  105310. <bits access="rw" name="rtimeout_val" pos="15:0" rst="0x0">
  105311. <comment>Maximum time out value for TX channel-interleaver and scrambling in 61.44Mhz unit.</comment>
  105312. </bits>
  105313. <bits access="rw" name="rtx_chsc_start_ctrl" pos="16" rst="0x0">
  105314. <comment>Start control:
  105315. 0: Trigger by SW start
  105316. 1: Trigger by HW start.</comment>
  105317. </bits>
  105318. <bits access="rw" name="rch_intrlvr_en" pos="17" rst="0x0">
  105319. <comment>Channel interleaver enable
  105320. 0: Disable
  105321. 1: Enable.</comment>
  105322. </bits>
  105323. <bits access="rw" name="rscr_en" pos="18" rst="0x0">
  105324. <comment>Scramble enable
  105325. 0: Disable
  105326. 1: Enable.</comment>
  105327. </bits>
  105328. </reg32>
  105329. <reg32 name="rtx_chsc_start" protect="w1c">
  105330. <bits access="w1c" name="rtx_chsc_start" pos="0" rst="0x0">
  105331. <comment>TX channel-interleaver and scrambling accelerator 2 start.</comment>
  105332. </bits>
  105333. </reg32>
  105334. <reg32 name="rmem_start_addr" protect="rw">
  105335. <bits access="rw" name="rbsel_mem_start_addr" pos="9:0" rst="0x0">
  105336. <comment>Bit selection memory start address.</comment>
  105337. </bits>
  105338. <bits access="rw" name="rscr_mem_start_addr" pos="25:16" rst="0x0">
  105339. <comment>Scramble memory start output address.</comment>
  105340. </bits>
  105341. </reg32>
  105342. <reg32 name="rbsel_cfg" protect="rw">
  105343. <bits access="rw" name="ncb minus" pos="14:0" rst="0x0">
  105344. <comment>Ncb minus NCB - 3ND.</comment>
  105345. </bits>
  105346. <bits access="rw" name="rk0_minus" pos="30:16" rst="0x0">
  105347. <comment>K0 minus: K0 position without dummy bit..</comment>
  105348. </bits>
  105349. </reg32>
  105350. <reg32 name="rch_intrlvr_cfg" protect="rw">
  105351. <bits access="rw" name="rrow_sz" pos="7:4" rst="0x0">
  105352. <comment>Row size for ch-interleaver.</comment>
  105353. </bits>
  105354. <bits access="rw" name="rmod_type" pos="8" rst="0x0">
  105355. <comment>Modulation type
  105356. 0: BPSK
  105357. 1: QPSK.</comment>
  105358. </bits>
  105359. <bits access="rw" name="rcol_sz_pre_rse_unit" pos="22:16" rst="0x0">
  105360. <comment>Column size in each resource unit:
  105361. (NUL_sym-1)* Nul_slot.</comment>
  105362. </bits>
  105363. </reg32>
  105364. <reg32 name="rscr_size" protect="rw">
  105365. <bits access="rw" name="rscr_size" pos="7:0" rst="0x0">
  105366. <comment>scrambling size in current subframe.</comment>
  105367. </bits>
  105368. </reg32>
  105369. <reg32 name="rscr_x1" protect="rw">
  105370. <bits access="rw" name="rscr_x1" pos="30:0" rst="0x0">
  105371. <comment>scrambling X1.</comment>
  105372. </bits>
  105373. </reg32>
  105374. <reg32 name="rscr_x2" protect="rw">
  105375. <bits access="rw" name="rscr_x2" pos="30:0" rst="0x0">
  105376. <comment>scrambling X2.</comment>
  105377. </bits>
  105378. </reg32>
  105379. <reg32 name="rlast_scr_x1" protect="rw">
  105380. <bits access="rw" name="rlast_scr_x1" pos="30:0" rst="0x0">
  105381. <comment>Last scrambling state in X1.</comment>
  105382. </bits>
  105383. </reg32>
  105384. <reg32 name="rlast_scr_x2" protect="rw">
  105385. <bits access="rw" name="rlast_scr_x2" pos="30:0" rst="0x0">
  105386. <comment>Last scrambling state in X2.</comment>
  105387. </bits>
  105388. </reg32>
  105389. <reg32 name="rtx_chsc_status" protect="ro">
  105390. <bits access="rw1c" name="done" pos="0" rst="0x0">
  105391. <comment>(This bit is read write 1 clear)
  105392. 0: No Done
  105393. 1: Done.</comment>
  105394. </bits>
  105395. <bits access="ro" name="overwritten" pos="1" rst="0x0">
  105396. <comment>If Done bit would not clear before this engine re-engine would indicate overwritten output buffer
  105397. 0: Normal
  105398. 1: Error</comment>
  105399. </bits>
  105400. <bits access="ro" name="bus error" pos="3:2" rst="0x0">
  105401. <comment>0: Normal
  105402. 1: Error
  105403. Bit 0: DSP control bus error
  105404. Bit 1: accelerator memory access collusion</comment>
  105405. </bits>
  105406. <bits access="ro" name="timeout " pos="4" rst="0x0">
  105407. <comment>0: Normal
  105408. 1: Error</comment>
  105409. </bits>
  105410. </reg32>
  105411. </module>
  105412. </archive>
  105413. <archive relative="nb_tx_frontend.xml">
  105414. <module category="NBIOT_PHY" name="NB_TX_FRONTEND">
  105415. <reg32 name="rtx_os" protect="rw">
  105416. <bits access="rw" name="rpusch_os1" pos="7:0" rst="0xb">
  105417. <comment>PUSCH offset1 for 3.75K process delay</comment>
  105418. </bits>
  105419. <bits access="rw" name="rpusch_os0" pos="15:8" rst="0x63">
  105420. <comment>PUSCH offset0 for 15K process delay</comment>
  105421. </bits>
  105422. <bits access="rw" name="rprach_os" pos="23:16" rst="0xb">
  105423. <comment>PRACH offset for process delay</comment>
  105424. </bits>
  105425. </reg32>
  105426. <reg32 name="rtx_ta_value" protect="rw">
  105427. <bits access="rw" name="rtx_ta_value" pos="10:0" rst="0x0">
  105428. <comment>TA Value</comment>
  105429. </bits>
  105430. </reg32>
  105431. <reg32 name="rtx_rach_start_adj" protect="rw">
  105432. <bits access="rw" name="rtx_rach_start_adj" pos="10:0" rst="0x0">
  105433. <comment>the advance time of PRACH start adjustment</comment>
  105434. </bits>
  105435. </reg32>
  105436. <reg32 name="rtx_rf_delay" protect="rw">
  105437. <bits access="rw" name="rtx_rf_delay" pos="15:0" rst="0x0">
  105438. <comment>RF delay from NBIOT_CORE to chip output</comment>
  105439. </bits>
  105440. </reg32>
  105441. <reg32 name="rtx_en" protect="rw">
  105442. <bits access="rw" name="rpusch_en" pos="0" rst="0">
  105443. <comment>PUSCH Enable</comment>
  105444. </bits>
  105445. <bits access="rw" name="rprach_en" pos="1" rst="0">
  105446. <comment>PRACH Enable</comment>
  105447. </bits>
  105448. </reg32>
  105449. <reg32 name="rdelta_cp_adj" protect="rw">
  105450. <bits access="rw" name="rdelta_cp_adj" pos="5:0" rst="0">
  105451. <comment>Delta CP adjustment</comment>
  105452. </bits>
  105453. </reg32>
  105454. <reg32 name="rtx_cfg" protect="rw">
  105455. <bits access="rw" name="rtx_frm_mode" pos="0" rst="0">
  105456. <comment>TX frame mode for PUSCH</comment>
  105457. </bits>
  105458. <bits access="rw" name="rmod_type" pos="1" rst="0">
  105459. <comment>Module type</comment>
  105460. </bits>
  105461. <bits access="rw" name="rtx_buf_idx" pos="2" rst="0">
  105462. <comment>TX Buffer idx</comment>
  105463. </bits>
  105464. <bits access="rw" name="rprach_cp_mode" pos="3" rst="0">
  105465. <comment>CP length of PRACH0/1</comment>
  105466. </bits>
  105467. <bits access="rw" name="rtone_mode" pos="4" rst="0">
  105468. <comment>PUSCH Tone mode</comment>
  105469. </bits>
  105470. <bits access="rw" name="rshorten_pusch_en" pos="5" rst="0">
  105471. <comment>Shorten PUSCH Enable</comment>
  105472. </bits>
  105473. <bits access="rw" name="rpusch_sc_idx" pos="11:6" rst="0">
  105474. <comment>PUSCH Subcarrier POsition</comment>
  105475. </bits>
  105476. </reg32>
  105477. <reg32 name="rtx_gain" protect="rw">
  105478. <bits access="rw" name="rtx_gain" pos="11:0" rst="0">
  105479. <comment>TX Gain</comment>
  105480. </bits>
  105481. </reg32>
  105482. <reg32 name="rpusch_cfg" protect="rw">
  105483. <bits access="rw" name="rthetal_symb_incr" pos="7:0" rst="0">
  105484. <comment>thetal symbol incremental step value</comment>
  105485. </bits>
  105486. <bits access="rw" name="rsymb_num_mod2" pos="8" rst="0">
  105487. <comment>symbol number modulo 2</comment>
  105488. </bits>
  105489. </reg32>
  105490. <reg32 name="rmem_bus_err" protect="rw">
  105491. <bits access="r" name="rmem_bus_err" pos="1:0" rst="0">
  105492. <comment>memory bus access error</comment>
  105493. </bits>
  105494. <bits access="r" name="rtx_status" pos="3:2" rst="0">
  105495. <comment>TX Status, 2'b00: IDLE; 2'b01: PRACH; 2'b10: PUSCH 3.75K; 2'b11: PUSCH 15K</comment>
  105496. </bits>
  105497. <bits access="r" name="rtx_start_sf_idx" pos="7:4" rst="0">
  105498. <comment>Subframe index of NPRACH or NPUSCH transmitted</comment>
  105499. </bits>
  105500. </reg32>
  105501. <hole size="2*32"/>
  105502. <reg32 name="rprach_cmd_fifo0" protect="rw">
  105503. <bits access="rw" name="rprach_sc_idx" pos="5:0" rst="0">
  105504. <comment>PRACH sub-carrier index 0~47</comment>
  105505. </bits>
  105506. <bits access="r" name="rsv" pos="29:6" rst="0">
  105507. <comment>Reserved</comment>
  105508. </bits>
  105509. <bits access="rw" name="rprach_cfg_status" pos="30" rst="0">
  105510. <comment>PRACH CFG Status</comment>
  105511. </bits>
  105512. <bits access="rw" name="rprach_nxt_en" pos="31" rst="0">
  105513. <comment>Next PRACH symbol group enabled</comment>
  105514. </bits>
  105515. </reg32>
  105516. <reg32 name="rprach_cmd_fifo1" protect="rw">
  105517. <bits access="rw" name="rprach_sc_idx" pos="5:0" rst="0">
  105518. <comment>PRACH sub-carrier index 0~47</comment>
  105519. </bits>
  105520. <bits access="r" name="rsv" pos="29:6" rst="0">
  105521. <comment>Reserved</comment>
  105522. </bits>
  105523. <bits access="rw" name="rprach_cfg_status" pos="30" rst="0">
  105524. <comment>PRACH CFG Status</comment>
  105525. </bits>
  105526. <bits access="rw" name="rprach_nxt_en" pos="31" rst="0">
  105527. <comment>Next PRACH symbol group enabled</comment>
  105528. </bits>
  105529. </reg32>
  105530. <reg32 name="rprach_cmd_fifo2" protect="rw">
  105531. <bits access="rw" name="rprach_sc_idx" pos="5:0" rst="0">
  105532. <comment>PRACH sub-carrier index 0~47</comment>
  105533. </bits>
  105534. <bits access="r" name="rsv" pos="29:6" rst="0">
  105535. <comment>Reserved</comment>
  105536. </bits>
  105537. <bits access="rw" name="rprach_cfg_status" pos="30" rst="0">
  105538. <comment>PRACH CFG Status</comment>
  105539. </bits>
  105540. <bits access="rw" name="rprach_nxt_en" pos="31" rst="0">
  105541. <comment>Next PRACH symbol group enabled</comment>
  105542. </bits>
  105543. </reg32>
  105544. <reg32 name="rprach_cmd_fifo3" protect="rw">
  105545. <bits access="rw" name="rprach_sc_idx" pos="5:0" rst="0">
  105546. <comment>PRACH sub-carrier index 0~47</comment>
  105547. </bits>
  105548. <bits access="r" name="rsv" pos="29:6" rst="0">
  105549. <comment>Reserved</comment>
  105550. </bits>
  105551. <bits access="rw" name="rprach_cfg_status" pos="30" rst="0">
  105552. <comment>PRACH CFG Status</comment>
  105553. </bits>
  105554. <bits access="rw" name="rprach_nxt_en" pos="31" rst="0">
  105555. <comment>Next PRACH symbol group enabled</comment>
  105556. </bits>
  105557. </reg32>
  105558. <reg32 name="rprach_nxt_cmd_rd_ptr" protect="r">
  105559. <bits access="r" name="rprach_nxt_cmd_rd_ptr" pos="1:0" rst="0">
  105560. <comment>PRACH Nxt Command Read Pointer</comment>
  105561. </bits>
  105562. <bits access="r" name="rsv" pos="31:2" rst="0">
  105563. <comment>Reserved</comment>
  105564. </bits>
  105565. </reg32>
  105566. <reg32 name="rlpf1_coef0" protect="rw">
  105567. <bits access="rw" name="rlpf1_coef00" pos="9:0" rst="0">
  105568. <comment>LPF1 coefficient0</comment>
  105569. </bits>
  105570. <bits access="rw" name="rlpf1_coef01" pos="25:16" rst="0">
  105571. <comment>LPF1 coefficient1</comment>
  105572. </bits>
  105573. </reg32>
  105574. <reg32 name="rlpf1_coef1" protect="rw">
  105575. <bits access="rw" name="rlpf1_coef10" pos="9:0" rst="0">
  105576. <comment>LPF1 coefficient2</comment>
  105577. </bits>
  105578. <bits access="rw" name="rlpf1_coef11" pos="25:16" rst="0">
  105579. <comment>LPF1 coefficient3</comment>
  105580. </bits>
  105581. </reg32>
  105582. <reg32 name="rlpf2_coef0" protect="rw">
  105583. <bits access="rw" name="rlpf2_coef00" pos="9:0" rst="0">
  105584. <comment>LPF2 coefficient0</comment>
  105585. </bits>
  105586. <bits access="rw" name="rlpf2_coef01" pos="25:16" rst="0">
  105587. <comment>LPF2 coefficient1</comment>
  105588. </bits>
  105589. </reg32>
  105590. <reg32 name="rlpf2_coef1" protect="rw">
  105591. <bits access="rw" name="rlpf2_coef10" pos="9:0" rst="0">
  105592. <comment>LPF2 coefficient2</comment>
  105593. </bits>
  105594. </reg32>
  105595. <reg32 name="rtx_dout_checksum" protect="r">
  105596. <bits access="r" name="rtx_dout_checksum" pos="30:0" rst="0">
  105597. <comment>TX dout checksum</comment>
  105598. </bits>
  105599. <bits access="rw" name="rtx_dout_checksum_en" pos="31" rst="0">
  105600. <comment>TX dout Checksum Enable</comment>
  105601. </bits>
  105602. </reg32>
  105603. <reg32 name="rtx_flt_tail_bit_num" protect="rw">
  105604. <bits access="rw" name="rtx_flt_tail_bit_num" pos="7:0" rst="0x80">
  105605. <comment>Configurable Number of zero data padded at the end of TX transmission</comment>
  105606. </bits>
  105607. </reg32>
  105608. </module>
  105609. </archive>
  105610. <archive relative="nb_tx_pusch_encoder.xml">
  105611. <module category="NBIOT_PHY" name="NB_TX_PUSCH_ENCODER">
  105612. <reg32 name="pusch_enc_ctrl" protect="rw">
  105613. <bits access="rw" name="rtimeout_val" pos="15:0" rst="0x0">
  105614. <comment>Maximum time out value for pusch encoder in 61.44Mhz unit.</comment>
  105615. </bits>
  105616. <bits access="rw" name="swap" pos="18:16" rst="0x0">
  105617. <comment>Endian SWAP control for bit, byte and word.</comment>
  105618. </bits>
  105619. </reg32>
  105620. <reg32 name="pusch_enc_start" protect="wo">
  105621. <bits access="wo" name="pusch_enc_start" pos="0" rst="0x0">
  105622. <comment>Write this register will trigger pusch encoder start</comment>
  105623. </bits>
  105624. </reg32>
  105625. <reg32 name="tbs" protect="rw">
  105626. <bits access="rw" name="tbs" pos="12:0" rst="0x0">
  105627. <comment>TB Size for PUSCH.</comment>
  105628. </bits>
  105629. </reg32>
  105630. <reg32 name="alpha_ini" protect="rw">
  105631. <bits access="rw" name="alpha_ini" pos="12:0" rst="0x0">
  105632. <comment>Alpha init value for QPP interleaver.</comment>
  105633. </bits>
  105634. </reg32>
  105635. <reg32 name="alpha_step" protect="rw">
  105636. <bits access="rw" name="alpha_step" pos="12:0" rst="0x0">
  105637. <comment>Alpha Step value for QPP interleaver.</comment>
  105638. </bits>
  105639. </reg32>
  105640. <reg32 name="pusch_enc_rd_addr" protect="rw">
  105641. <bits access="rw" name="pusch_enc_rd_addr" pos="9:0" rst="0x0">
  105642. <comment>Rd address to DSP memory for pusch encoder.</comment>
  105643. </bits>
  105644. </reg32>
  105645. <reg32 name="pusch_enc_wr_addr" protect="rw">
  105646. <bits access="rw" name="pusch_enc_wr_addr" pos="9:0" rst="0x0">
  105647. <comment>WR address to DSP memory for pusch encoder.</comment>
  105648. </bits>
  105649. </reg32>
  105650. <reg32 name="pusch_enc_status" protect="ro">
  105651. <bits access="rw1c" name="done" pos="0" rst="0x0">
  105652. <comment>(This bit is read write 1 clear)
  105653. 0: No Done
  105654. 1: Done.</comment>
  105655. </bits>
  105656. <bits access="ro" name="overwritten" pos="1" rst="0x0">
  105657. <comment>Indicate overwritten happen for pusch encoder
  105658. 0: Normal
  105659. 1: Error</comment>
  105660. </bits>
  105661. <bits access="ro" name="bus error" pos="3:2" rst="0x0">
  105662. <comment>Bit 0: DSP control bus error, 0-Normal, 1-Error
  105663. Bit 1: accelerator memory access collusion, 0-Normal, 1-Error</comment>
  105664. </bits>
  105665. <bits access="ro" name="timeout " pos="4" rst="0x0">
  105666. <comment>0: Normal
  105667. 1: Error</comment>
  105668. </bits>
  105669. </reg32>
  105670. </module>
  105671. </archive>
  105672. <archive relative="nb_viterbi.xml">
  105673. <module category="NBIOT_PHY" name="NB_VITERBI">
  105674. <reg32 name="rvd_dec_start" protect="w">
  105675. <bits access="w" name="rvd_dec_start" pos="0" rst="0">
  105676. <comment>Start trigger of one sequential decoding of viterbi decoder which is generated by writing 1 to this register</comment>
  105677. </bits>
  105678. </reg32>
  105679. <reg32 name="rvd_ctrl" protect="rw">
  105680. <bits access="rw" name="rvd_pl_size" pos="27:16" rst="0">
  105681. <comment>Payload size of CBs to be decoded in one sequential decoding</comment>
  105682. </bits>
  105683. <bits access="rw" name="rvd_dec_num" pos="15:13" rst="0">
  105684. <comment>Indicate the number(1~4) of coded blocks to be decoded in one sequential decoding process</comment>
  105685. </bits>
  105686. <bits access="rw" name="rvd_deint_en" pos="12" rst="1">
  105687. <comment>Function of de-interleaving in hardware enable/disable
  105688. 1: Enable
  105689. 0: Disable</comment>
  105690. </bits>
  105691. <bits access="rw" name="rvd_crcmask_en" pos="11" rst="0">
  105692. <comment>CRC mask checking enable/disable(for RNTI and antenna port number)
  105693. 1: Enable
  105694. 0: Disable</comment>
  105695. </bits>
  105696. <bits access="rw" name="rvd_crc_type" pos="10" rst="0">
  105697. <comment>Indicate the CRC type of sequential decoding
  105698. 1:24
  105699. 0:16</comment>
  105700. </bits>
  105701. <bits access="rw" name="rvd_lva_en" pos="0" rst="0">
  105702. <comment>List viterbi mode enable/disable
  105703. 1: Enable
  105704. 0: Disable</comment>
  105705. </bits>
  105706. </reg32>
  105707. <reg32 name="rvd_addr_ctrl" protect="rw">
  105708. <bits access="rw" name="rvd_vor_addr_o" pos="29:21" rst="0">
  105709. <comment>This register indicates the start address of viterbi output odd buffer for payload.</comment>
  105710. </bits>
  105711. <bits access="rw" name="rvd_vor_addr_e" pos="20:12" rst="0">
  105712. <comment>This register indicates the start address of viterbi output even buffer for payload.</comment>
  105713. </bits>
  105714. <bits access="rw" name="rvd_vir_addr" pos="11:0" rst="0">
  105715. <comment>This register indicates the start address of data in viterbi input ram.</comment>
  105716. </bits>
  105717. </reg32>
  105718. <reg32 name="rvd_crc_mask01" protect="rw">
  105719. <bits access="rw" name="rvd_crc_mask1" pos="31:16" rst="0">
  105720. <comment>Indicate CRC mask1(for RNTI and antenna port number)</comment>
  105721. </bits>
  105722. <bits access="rw" name="rvd_crc_mask1" pos="15:0" rst="0">
  105723. <comment>Indicate CRC mask0(for RNTI and antenna port number)</comment>
  105724. </bits>
  105725. </reg32>
  105726. <reg32 name="rvd_crc_mask23" protect="rw">
  105727. <bits access="rw" name="rvd_crc_mask3" pos="31:16" rst="0">
  105728. <comment>Indicate CRC mask1(for RNTI and antenna port number)</comment>
  105729. </bits>
  105730. <bits access="rw" name="rvd_crc_mask2" pos="15:0" rst="0">
  105731. <comment>Indicate CRC mask0(for RNTI and antenna port number)</comment>
  105732. </bits>
  105733. </reg32>
  105734. <reg32 name="rvd_long_cfg" protect="rw">
  105735. <bits access="rw" name="rvd_pl_swap" pos="18:16" rst="0">
  105736. <comment>Reorder the 32bit data written to viterbi output buffer
  105737. 2:Reverse the word sequence in the Dword(1Dword)
  105738. 1: Reverse the byte sequence in every word(2words).
  105739. 0: Reverse the bit sequence in every byte(4bytes).</comment>
  105740. </bits>
  105741. <bits access="rw" name="rvd_timecnt_limit" pos="15:0" rst="0xFFFF">
  105742. <comment>In a sequential decoding process, if the corresponding time counter exceeds this set value of rVD_TIMECNT_LIMIT, bit4 of rVD_DEC_SATUS will be set to 1 and sent to high layer.</comment>
  105743. </bits>
  105744. </reg32>
  105745. <hole size="2*32"/>
  105746. <reg32 name="rvd_vor_eo" protect="rw">
  105747. <bits access="rw" name="rvd_vor_eo" pos="0" rst="0">
  105748. <comment>Indicate even/odd viterbi output buffer to be written by decoder:
  105749. 1: odd output buffer
  105750. 0: even output buffer</comment>
  105751. </bits>
  105752. </reg32>
  105753. <reg32 name="rvd_dec_ctrl" protect="rw">
  105754. <bits access="rw" name="rvd_scaling_bw_y" pos="31:28" rst="0">
  105755. <comment>Bit width of output scaling data's fractional part(S8.y)</comment>
  105756. </bits>
  105757. <bits access="rw" name="rvd_scaling_bw_x" pos="27:24" rst="0">
  105758. <comment>Bit width of input scaling data's fractional part(S16.x)</comment>
  105759. </bits>
  105760. <bits access="rw" name="rvd_scaling_factor" pos="23:16" rst="0">
  105761. <comment>This register(U8.7) is multiplied by scaling input data(S16.x)</comment>
  105762. </bits>
  105763. <bits access="rw" name="rvd_crcmask_bitmap3" pos="15:12" rst="0">
  105764. <comment>Bitmap of CRC masks(0~3) used in blind decoding for the CB3 to be decoded</comment>
  105765. </bits>
  105766. <bits access="rw" name="rvd_crcmask_bitmap2" pos="11:8" rst="0">
  105767. <comment>Bitmap of CRC masks(0~3) used in blind decoding for the CB2 to be decoded</comment>
  105768. </bits>
  105769. <bits access="rw" name="rvd_crcmask_bitmap1" pos="7:4" rst="0">
  105770. <comment>Bitmap of CRC masks(0~3) used in blind decoding for the CB1 to be decoded</comment>
  105771. </bits>
  105772. <bits access="rw" name="rvd_crcmask_bitmap0" pos="3:0" rst="0">
  105773. <comment>Bitmap of CRC masks(0~3) used in blind decoding for the CB0 to be decoded</comment>
  105774. </bits>
  105775. </reg32>
  105776. <reg32 name="rvd_candi_cfg" protect="rw">
  105777. <bits access="rw" name="rvd_sf_idx" pos="19:16" rst="0">
  105778. <comment>Subframe index of current subframe on which DSP configure the decoding start siganl 'rVD_DEC_START'</comment>
  105779. </bits>
  105780. <bits access="rw" name="rvd_candi_cfg_cb3" pos="15:12" rst="0">
  105781. <comment>15: Antenna number for candidate CB3(0: 1 antenna 1: 2 antennas)
  105782. 14:12: 80ms SFN for candidate CB3</comment>
  105783. </bits>
  105784. <bits access="rw" name="rvd_candi_cfg_cb2" pos="11:8" rst="0">
  105785. <comment>15: Antenna number for candidate CB2(0: 1 antenna 1: 2 antennas)
  105786. 14:12: 80ms SFN for candidate CB2</comment>
  105787. </bits>
  105788. <bits access="rw" name="rvd_candi_cfg_cb1" pos="7:4" rst="0">
  105789. <comment>15: Antenna number for candidate CB1(0: 1 antenna 1: 2 antennas)
  105790. 14:12: 80ms SFN for candidate CB1</comment>
  105791. </bits>
  105792. <bits access="rw" name="rvd_candi_cfg_cb0" pos="3:0" rst="0">
  105793. <comment>15: Antenna number for candidate CB0(0: 1 antenna 1: 2 antennas)
  105794. 14:12: 80ms SFN for candidate CB0</comment>
  105795. </bits>
  105796. </reg32>
  105797. <hole size="1*32"/>
  105798. <reg32 name="rvd_crcread" protect="r">
  105799. <bits access="r" name="rvd_crcresult_o" pos="31:16" rst="0">
  105800. <comment>CRC checking result of the corresponding code block for output buffer odd, and CRC results from CB0 to CB3 have to be written sequentially to bit[0]~bit[15] of this register.
  105801. 1: good 0: fail
  105802. If rVD_CRCMASK_EN =1, 4 bits mask checking result is reported for every candidate CB
  105803. [31:28] for CB3(28:MASK0, 29:MASK1, 30:MASK2, 31:MASK3)
  105804. [27:24] for CB2(24:MASK0, 25: MASK1, 26: MASK2, 27: MASK3)
  105805. [23:20] for CB1(20: MASK0, 21: MASK1, 22: MASK2, 23: MASK3)
  105806. [19:16] for CB0(16: MASK0, 17: MASK1, 18: MASK2, 19: MASK3)
  105807. And if rVD_CRCMASK_EN =0, 1 bit crc checking result is reported for every candidate CB
  105808. [28] for CB3
  105809. [24] for CB2
  105810. [20] for CB1
  105811. [16] for CB0</comment>
  105812. </bits>
  105813. <bits access="r" name="rvd_crcresult_e" pos="15:0" rst="0">
  105814. <comment>CRC check result of the corresponding code block for output buffer even, and CRC results from CB0 to CB3 have to be written sequentially to bit[0]~bit[15] of this register.
  105815. 1: good 0: fail
  105816. If rVD_CRCMASK_EN =1, 4 bits mask checking result is reported for every candidate CB
  105817. [15:12] for CB3(12: MASK0, 13: MASK1, 14: MASK2, 15: MASK3)
  105818. [11:8] for CB2(8: MASK0, 9: MASK1, 10: MASK2, 11: MASK3)
  105819. [7:4] for CB1(4: MASK0, 5: MASK1, 6: MASK2, 7: MASK3)
  105820. [3:0] for CB0(0: MASK0, 1: MASK1, 2: MASK2, 3: MASK3)
  105821. And if rVD_CRCMASK_EN =0, 1 bit crc checking result is reported for every candidate CB
  105822. [12] for CB3
  105823. [8] for CB2
  105824. [4] for CB1
  105825. [0] for CB0</comment>
  105826. </bits>
  105827. </reg32>
  105828. <reg32 name="rvd_serread01_e" protect="r">
  105829. <bits access="r" name="rvd_ser_1" pos="27:16" rst="0">
  105830. <comment>Symbol error number of the candidate CB1</comment>
  105831. </bits>
  105832. <bits access="r" name="rvd_ser_0" pos="11:0" rst="0">
  105833. <comment>Symbol error number of the candidate CB0</comment>
  105834. </bits>
  105835. </reg32>
  105836. <reg32 name="rvd_serread01_o" protect="r">
  105837. <bits access="r" name="rvd_ser_1" pos="27:16" rst="0">
  105838. <comment>Symbol error number of the candidate CB1</comment>
  105839. </bits>
  105840. <bits access="r" name="rvd_ser_0" pos="11:0" rst="0">
  105841. <comment>Symbol error number of the candidate CB0</comment>
  105842. </bits>
  105843. </reg32>
  105844. <reg32 name="rvd_serread23_e" protect="r">
  105845. <bits access="r" name="rvd_ser_3" pos="27:16" rst="0">
  105846. <comment>Symbol error number of the candidate CB1</comment>
  105847. </bits>
  105848. <bits access="r" name="rvd_ser_2" pos="11:0" rst="0">
  105849. <comment>Symbol error number of the candidate CB0</comment>
  105850. </bits>
  105851. </reg32>
  105852. <reg32 name="rvd_serread23_o" protect="r">
  105853. <bits access="r" name="rvd_ser_3" pos="27:16" rst="0">
  105854. <comment>Symbol error number of the candidate CB1</comment>
  105855. </bits>
  105856. <bits access="r" name="rvd_ser_2" pos="11:0" rst="0">
  105857. <comment>Symbol error number of the candidate CB0</comment>
  105858. </bits>
  105859. </reg32>
  105860. <reg32 name="rvd_candi_rpt_e" protect="r">
  105861. <bits access="r" name="rvd_candi_rpt_e" pos="31:0" rst="0">
  105862. <comment>Report some configurations to MCU for output buffer even
  105863. [31:20] Report payload size
  105864. [19:0] Report configuration of register rVD_CANDI_CFG</comment>
  105865. </bits>
  105866. </reg32>
  105867. <reg32 name="rvd_candi_rpt_o" protect="r">
  105868. <bits access="r" name="rvd_candi_rpt_o" pos="31:0" rst="0">
  105869. <comment>Report some configurations to MCU for output buffer even
  105870. [31:20] Report payload size
  105871. [19:0] Report configuration of register rVD_CANDI_CFG</comment>
  105872. </bits>
  105873. </reg32>
  105874. <reg32 name="rvd_dec_status" protect="ro">
  105875. <bits access="ro" name="rvd_vor_req_fail" pos="8:7" rst="0">
  105876. <comment>Viterbi-in ram reading error</comment>
  105877. </bits>
  105878. <bits access="ro" name="rvd_vir_req_fail" pos="6:5" rst="0">
  105879. <comment>Viterbi output buffer writing error</comment>
  105880. </bits>
  105881. <bits access="w1c" name="rvd_timecnt_out" pos="4" rst="0">
  105882. <comment>This bit indicate that the time counter is exceed the limit of set value</comment>
  105883. </bits>
  105884. <bits access="ro" name="rvd_vor_overwrite" pos="3:2" rst="0">
  105885. <comment>3: This bit is to indicate that the odd memory is overwritten or not before UPDATED is cleared.
  105886. 2: This bit is to indicate that the even memory is overwritten or not before UPDATED is cleared.</comment>
  105887. </bits>
  105888. <bits access="w1c" name="rvd_vor_updated" pos="1:0" rst="0">
  105889. <comment>1: This bit is to indicate that the odd memory is updated or not.
  105890. 0: This bit is to indicate that the even memory is updated or not.</comment>
  105891. </bits>
  105892. </reg32>
  105893. </module>
  105894. </archive>
  105895. <archive relative="rf_registers.xml">
  105896. <module category="RF_Dig" name="RF_REGISTERS">
  105897. <hole size="512*8"/>
  105898. <reg name="int_clear0" protect="rw">
  105899. <bits access="rw" name="int_ctrl_bit_0" pos="15:0" rst="0">
  105900. <comment>int clear int[15:0]</comment>
  105901. </bits>
  105902. </reg>
  105903. <reg name="int_clear1" protect="rw">
  105904. <bits access="rw" name="int_ctrl_bit_1" pos="15:0" rst="0">
  105905. <comment>int clear int[31:16]</comment>
  105906. </bits>
  105907. </reg>
  105908. <reg name="int2tmcu0" protect="r">
  105909. <bits access="r" name="irq0" pos="15:0" rst="0">
  105910. <comment>read only irq[15:0]</comment>
  105911. </bits>
  105912. </reg>
  105913. <reg name="int2tmcu1" protect="r">
  105914. <bits access="r" name="irq1" pos="15:0" rst="0">
  105915. <comment>read only irq[31:16]</comment>
  105916. </bits>
  105917. </reg>
  105918. <hole size="832"/>
  105919. <reg name="afc_freq_rxpll1" protect="rw">
  105920. <bits access="rw" name="freq_offset_rxpll1" pos="15:0" rst="0">
  105921. <comment>AFC PLL rxpll freq offset[15:0]</comment>
  105922. </bits>
  105923. </reg>
  105924. <reg name="afc_freq_trxpll2" protect="rw">
  105925. <bits access="rw" name="freq_offset_rxpll2" pos="15:8" rst="0">
  105926. <comment>AFC PLL rxpll freq offset[23:16]</comment>
  105927. </bits>
  105928. <bits access="rw" name="freq_offset_txpll2" pos="7:0" rst="0">
  105929. <comment>AFC PLL txpll freq offset[23:16]</comment>
  105930. </bits>
  105931. </reg>
  105932. <reg name="afc_freq_txpll" protect="rw">
  105933. <bits access="rw" name="freq_offset_txpll1" pos="15:0" rst="0">
  105934. <comment>AFC PLL txpll freq offset[15:0]</comment>
  105935. </bits>
  105936. </reg>
  105937. <reg name="afc_freq_bbpll1" protect="rw">
  105938. <bits access="rw" name="freq_offset_bbpll11" pos="15:0" rst="0">
  105939. <comment>AFC PLL txpll1 freq offset[15:0]</comment>
  105940. </bits>
  105941. </reg>
  105942. <reg name="afc_freq_bbpll12" protect="rw">
  105943. <bits access="rw" name="freq_offset_bbpll12" pos="15:8" rst="0">
  105944. <comment>AFC PLL bbpll1 freq offset[23:16]</comment>
  105945. </bits>
  105946. <bits access="rw" name="freq_offset_bbpll22" pos="7:0" rst="0">
  105947. <comment>AFC PLL bbpll2 freq offset[23:16]</comment>
  105948. </bits>
  105949. </reg>
  105950. <reg name="afc_freq_bbpll2" protect="rw">
  105951. <bits access="rw" name="freq_offset_bbpll21" pos="15:0" rst="0">
  105952. <comment>AFC PLL bbpll2 freq offset[15:0]</comment>
  105953. </bits>
  105954. </reg>
  105955. <reg name="afc_freq_offset_mode" protect="rw">
  105956. <bits access="rw" name="freq_offset_mode_bbpll2" pos="3" rst="0">
  105957. <comment>AFC freq offset mode</comment>
  105958. </bits>
  105959. <bits access="rw" name="freq_offset_mode_bbpll1" pos="2" rst="0">
  105960. <comment>AFC freq offset mode</comment>
  105961. </bits>
  105962. <bits access="rw" name="freq_offset_mode_txpll" pos="1" rst="0">
  105963. <comment>AFC freq offset mode</comment>
  105964. </bits>
  105965. <bits access="rw" name="freq_offset_mode_rxpll" pos="0" rst="0">
  105966. <comment>AFC freq offset mode</comment>
  105967. </bits>
  105968. </reg>
  105969. <hole size="352"/>
  105970. <reg name="rxsdm_reg1" protect="rw">
  105971. <bits access="rw" name="dither_bypass_rxsdm" pos="3" rst="0">
  105972. <comment>sdm rxpll</comment>
  105973. </bits>
  105974. <bits access="rw" name="clk_former_edge_rxsdm" pos="2" rst="0">
  105975. <comment>sdm rxpll</comment>
  105976. </bits>
  105977. <bits access="rw" name="dll_mode_rxsdm" pos="1:0" rst="0">
  105978. <comment>sdm rxpll</comment>
  105979. </bits>
  105980. </reg>
  105981. <reg name="rxsdm_reg2" protect="rw">
  105982. <bits access="rw" name="freq_rxsdm0" pos="15:0" rst="0">
  105983. <comment>sdm rxpll freq_rxsdm[15:0] frequency dividing ratio for rxpll_div_bb[5:0]</comment>
  105984. </bits>
  105985. </reg>
  105986. <reg name="rxsdm_reg3" protect="rw">
  105987. <bits access="rw" name="freq_rxsdm1" pos="15:0" rst="0">
  105988. <comment>sdm rxpll freq_rxsdm[31:16] frequency dividing ratio for rxpll_div_bb[5:0]</comment>
  105989. </bits>
  105990. </reg>
  105991. <reg name="rxsdm_reg4" protect="rw">
  105992. <bits access="rw" name="tx_rx_rxsdm" pos="7" rst="0">
  105993. <comment>sdm rxpll</comment>
  105994. </bits>
  105995. <bits access="rw" name="resetn_rxsdm" pos="6" rst="0">
  105996. <comment>sdm rxpll</comment>
  105997. </bits>
  105998. <bits access="rw" name="int_dec_sel_rxsdm" pos="5:4" rst="0">
  105999. <comment>sdm rxpll 00: int divide; 01: 1 bit decimal divide;10: 2 bits decimal divide;11 :bypass sdm</comment>
  106000. </bits>
  106001. <bits access="rw" name="freq_former_shift_ct_rxsdm" pos="3:1" rst="0">
  106002. <comment>sdm rxpll</comment>
  106003. </bits>
  106004. <bits access="rw" name="freq_former_bypass_rxsdm" pos="0" rst="0">
  106005. <comment>sdm rxpll</comment>
  106006. </bits>
  106007. </reg>
  106008. <reg name="rxsdm_reg5" protect="rw">
  106009. <bits access="rw" name="reser_sdm_rxsdm" pos="7:0" rst="0">
  106010. <comment>sdm rxpll reserved_sdm_rxsdm</comment>
  106011. </bits>
  106012. </reg>
  106013. <hole size="32"/>
  106014. <reg name="freq_offset_ini_rx_reg1" protect="rw">
  106015. <bits access="rw" name="freq_offset_ini_rxpll1" pos="15:0" rst="0">
  106016. <comment>sdm rxpll</comment>
  106017. </bits>
  106018. </reg>
  106019. <reg name="freq_offset_ini_rx_reg2" protect="rw">
  106020. <bits access="rw" name="freq_offset_ini_txpll2" pos="15:8" rst="0">
  106021. <comment>sdm txpll</comment>
  106022. </bits>
  106023. <bits access="rw" name="freq_offset_ini_rxpll2" pos="7:0" rst="0">
  106024. <comment>sdm rxpll</comment>
  106025. </bits>
  106026. </reg>
  106027. <reg name="txsdm_reg1" protect="rw">
  106028. <bits access="rw" name="dll_update_txsdm" pos="4" rst="0">
  106029. <comment>indication of dll_mode_txsdm being updated. write it to 1'b0 before assert it to 1'b1</comment>
  106030. </bits>
  106031. <bits access="rw" name="dither_bypass_txsdm" pos="3" rst="0">
  106032. <comment>sdm txpll</comment>
  106033. </bits>
  106034. <bits access="rw" name="clk_former_edge_txsdm" pos="2" rst="0">
  106035. <comment>sdm txpll</comment>
  106036. </bits>
  106037. <bits access="rw" name="dll_mode_txsdm" pos="1:0" rst="0">
  106038. <comment>indication feedback clock frequency:
  106039. 2'b00: 182MHz, div 7
  106040. 2'b01: 208MHz, div 8
  106041. 2'b10: 234MHz, div 9
  106042. 2'b11: 260MHz, div 10</comment>
  106043. </bits>
  106044. </reg>
  106045. <reg name="txsdm_reg4" protect="rw">
  106046. <bits access="rw" name="tx_rx_txsdm" pos="7" rst="0">
  106047. <comment>sdm txpll</comment>
  106048. </bits>
  106049. <bits access="rw" name="resetn_txsdm" pos="6" rst="0">
  106050. <comment>sdm txpll</comment>
  106051. </bits>
  106052. <bits access="rw" name="int_dec_sel_txsdm" pos="5:4" rst="0">
  106053. <comment>sdm txpll 00: int divide; 01: 1 bit decimal divide;10: 2 bits decimal divide;11 :bypass sdm</comment>
  106054. </bits>
  106055. <bits access="rw" name="freq_former_shift_ct_txsdm" pos="3:1" rst="0">
  106056. <comment>sdm txpll</comment>
  106057. </bits>
  106058. <bits access="rw" name="freq_former_bypass_txsdm" pos="0" rst="0">
  106059. <comment>sdm txpll</comment>
  106060. </bits>
  106061. </reg>
  106062. <reg name="txsdm_reg5" protect="rw">
  106063. <bits access="rw" name="reser_sdm_txsdm" pos="7:0" rst="0">
  106064. <comment>sdm txpll reserved_sdm_txsdm</comment>
  106065. </bits>
  106066. </reg>
  106067. <hole size="32"/>
  106068. <reg name="freq_offset_ini_tx_reg1" protect="rw">
  106069. <bits access="rw" name="freq_offset_ini_txpll1" pos="15:0" rst="0">
  106070. <comment>sdm txpll</comment>
  106071. </bits>
  106072. </reg>
  106073. <reg name="freq_offset_ini_bbpll1_reg1" protect="rw">
  106074. <bits access="rw" name="freq_offset_ini_bbpll11" pos="15:0" rst="0">
  106075. <comment>bbpll1</comment>
  106076. </bits>
  106077. </reg>
  106078. <reg name="freq_offset_ini_bbpll1_reg2" protect="rw">
  106079. <bits access="rw" name="freq_offset_ini_bbpll22" pos="15:8" rst="0">
  106080. <comment>bbpll2</comment>
  106081. </bits>
  106082. <bits access="rw" name="freq_offset_ini_bbpll12" pos="7:0" rst="0">
  106083. <comment>bbpll1</comment>
  106084. </bits>
  106085. </reg>
  106086. <reg name="freq_offset_ini_bbpll2_reg1" protect="rw">
  106087. <bits access="rw" name="freq_offset_ini_bbpll21" pos="15:0" rst="0">
  106088. <comment>bbpll2</comment>
  106089. </bits>
  106090. </reg>
  106091. <reg name="bbpll1_reg1" protect="rw">
  106092. <bits access="rw" name="pll_cpaux_bit_rx" pos="12:10" rst="4">
  106093. <comment>bbpll1</comment>
  106094. </bits>
  106095. <bits access="rw" name="pll_filter_ibit_rx" pos="9:7" rst="4">
  106096. <comment>bbpll1</comment>
  106097. </bits>
  106098. <bits access="rw" name="pll_cp_bit_rx" pos="6:4" rst="4">
  106099. <comment>bbpll1</comment>
  106100. </bits>
  106101. <bits access="rw" name="pll_vreg_bit_rx" pos="3:0" rst="8">
  106102. <comment>bbpll1</comment>
  106103. </bits>
  106104. </reg>
  106105. <reg name="bbpll1_reg2" protect="rw">
  106106. <bits access="rw" name="pll_reser_rx" pos="12:9" rst="1">
  106107. <comment>bbpll1 pll_reserved_rx</comment>
  106108. </bits>
  106109. <bits access="rw" name="pll_refmulti2_en_rx" pos="8" rst="1">
  106110. <comment>bbpll1</comment>
  106111. </bits>
  106112. <bits access="rw" name="pll_high_test_rx" pos="7" rst="0">
  106113. <comment>bbpll1</comment>
  106114. </bits>
  106115. <bits access="rw" name="pll_low_test_rx" pos="6" rst="0">
  106116. <comment>bbpll1</comment>
  106117. </bits>
  106118. <bits access="rw" name="pll_test_en_rx" pos="5" rst="0">
  106119. <comment>bbpll1</comment>
  106120. </bits>
  106121. <bits access="rw" name="pll_sdm_clk_test_en_rx" pos="4" rst="0">
  106122. <comment>bbpll1</comment>
  106123. </bits>
  106124. <bits access="rw" name="pll_sdm_clk_sel_rst_rx" pos="3" rst="1">
  106125. <comment>bbpll1</comment>
  106126. </bits>
  106127. <bits access="rw" name="pll_sdm_clk_sel_nor_rx" pos="2" rst="0">
  106128. <comment>bbpll1</comment>
  106129. </bits>
  106130. <bits access="rw" name="pu_pll_dr_rx" pos="1" rst="0">
  106131. <comment>bbpll1</comment>
  106132. </bits>
  106133. <bits access="rw" name="pu_pll_reg_rx" pos="0" rst="0">
  106134. <comment>bbpll1</comment>
  106135. </bits>
  106136. </reg>
  106137. <reg name="bbpll1_reg3" protect="rw">
  106138. <bits access="rw" name="pll_reser_dig_1_rx" pos="15:0" rst="33352">
  106139. <comment>bbpll1 pll_reserved_dig_1_rx regplls1_0_bit</comment>
  106140. </bits>
  106141. </reg>
  106142. <reg name="bbpll1_reg5" protect="rw">
  106143. <bits access="rw" name="pll_sdm_freq_rx1" pos="15:0" rst="10240">
  106144. <comment>bbpll1 pll_sdm_freq_rx[31:16]</comment>
  106145. </bits>
  106146. </reg>
  106147. <reg name="bbpll1_reg6" protect="rw">
  106148. <bits access="rw" name="pll_sdm_freq_rx0" pos="15:0" rst="0">
  106149. <comment>bbpll1 pll_sdm_freq_rx[15:0]</comment>
  106150. </bits>
  106151. </reg>
  106152. <reg name="bbpll1_reg7" protect="rw">
  106153. <bits access="rw" name="reser_sdm_rx" pos="15:8" rst="2">
  106154. <comment>bbpll1 reserved_sdm_rx</comment>
  106155. </bits>
  106156. <bits access="rw" name="int_dec_sel_rx" pos="7:5" rst="0">
  106157. <comment>bbpll1</comment>
  106158. </bits>
  106159. <bits access="rw" name="dither_bypass_rx" pos="4" rst="1">
  106160. <comment>bbpll1</comment>
  106161. </bits>
  106162. <bits access="rw" name="ss_en_rx" pos="3" rst="0">
  106163. <comment>bbpll1</comment>
  106164. </bits>
  106165. <bits access="rw" name="ss_squre_tri_sel_rx" pos="2" rst="0">
  106166. <comment>bbpll1</comment>
  106167. </bits>
  106168. <bits access="rw" name="pll_sdm_resetn_dr_rx" pos="1" rst="0">
  106169. <comment>bbpll1</comment>
  106170. </bits>
  106171. <bits access="rw" name="pll_sdm_resetn_reg_rx" pos="0" rst="0">
  106172. <comment>bbpll1</comment>
  106173. </bits>
  106174. </reg>
  106175. <reg name="bbpll1_reg8" protect="rw">
  106176. <bits access="rw" name="pll_ss_devi_ct_rx" pos="15:8" rst="0">
  106177. <comment>bbpll1</comment>
  106178. </bits>
  106179. <bits access="rw" name="pll_ss_peri_ct_rx" pos="7:0" rst="0">
  106180. <comment>bbpll1</comment>
  106181. </bits>
  106182. </reg>
  106183. <reg name="bbpll1_reg9" protect="rw">
  106184. <bits access="rw" name="pll_reser_dig_2_rx" pos="15:0" rst="32">
  106185. <comment>bbpll1 pll_reserved_dig_2_rx</comment>
  106186. </bits>
  106187. </reg>
  106188. <reg name="bbpll1_rega" protect="rw">
  106189. <bits access="rw" name="sdm_reset_time_sel_rx" pos="15:14" rst="1">
  106190. <comment>bbpll1</comment>
  106191. </bits>
  106192. <bits access="rw" name="sdmclk_sel_time_sel_rx" pos="13:12" rst="1">
  106193. <comment>bbpll1</comment>
  106194. </bits>
  106195. <bits access="rw" name="pll_clk_adc_sel_reg_rx" pos="8:7" rst="0">
  106196. </bits>
  106197. <bits access="rw" name="pll_clk_adc_en_reg_rx" pos="6" rst="0">
  106198. </bits>
  106199. <bits access="rw" name="pll_clk_adc_dfe_en_reg_rx" pos="5" rst="0">
  106200. </bits>
  106201. <bits access="rw" name="pll_clkout_en_reg_rx" pos="4:1" rst="15">
  106202. <comment>bbpll1 plls1_clk_cp26m_en,plls1_clk_cp624m_en,plls1_clk_sdio156m_en,plls1_clk_sdio416m_en</comment>
  106203. </bits>
  106204. <bits access="rw" name="clk_gen_en_reg_rx" pos="0" rst="1">
  106205. <comment>bbpll1</comment>
  106206. </bits>
  106207. </reg>
  106208. <reg name="bbpll1_regb" protect="r">
  106209. <bits access="r" name="pu_pll_rx" pos="15" rst="0">
  106210. <comment>bbpll1</comment>
  106211. </bits>
  106212. <bits access="r" name="pll_lock_rx" pos="14" rst="0">
  106213. <comment>bbpll1</comment>
  106214. </bits>
  106215. <bits access="r" name="pll_sdm_resetn_rx" pos="13" rst="0">
  106216. <comment>bbpll1</comment>
  106217. </bits>
  106218. <bits access="r" name="pll_sdm_clk_sel_rx" pos="12" rst="0">
  106219. <comment>bbpll1</comment>
  106220. </bits>
  106221. <bits access="r" name="pll_clk_ready_rx" pos="11" rst="0">
  106222. <comment>bbpll1</comment>
  106223. </bits>
  106224. <bits access="r" name="pll_lock_steady_rx" pos="10" rst="0">
  106225. <comment>bbpll1</comment>
  106226. </bits>
  106227. </reg>
  106228. <reg name="bbpll1_regd" protect="rw">
  106229. <bits access="rw" name="resetn_spll_rx" pos="5" rst="1">
  106230. <comment>bbpll1</comment>
  106231. </bits>
  106232. <bits access="rw" name="vco_reset_dis_rx" pos="4" rst="1">
  106233. <comment>bbpll1</comment>
  106234. </bits>
  106235. <bits access="rw" name="pll_clkout_en_counter_sel_rx" pos="3:2" rst="2">
  106236. <comment>bbpll1</comment>
  106237. </bits>
  106238. <bits access="rw" name="lock_counter_sel_rx" pos="1:0" rst="1">
  106239. <comment>bbpll1</comment>
  106240. </bits>
  106241. </reg>
  106242. <reg name="bbpll1_regf" protect="rw">
  106243. <bits access="rw" name="pll_cnt2_rx" pos="13:9" rst="13">
  106244. <comment>bbpll1</comment>
  106245. </bits>
  106246. <bits access="rw" name="pll_cnt1_rx" pos="8:4" rst="24">
  106247. <comment>bbpll1</comment>
  106248. </bits>
  106249. <bits access="rw" name="pll_mod23_bb2_rx" pos="3" rst="0">
  106250. <comment>bbpll1</comment>
  106251. </bits>
  106252. <bits access="rw" name="pll_mod23_bb_rx" pos="2" rst="1">
  106253. <comment>bbpll1</comment>
  106254. </bits>
  106255. <bits access="rw" name="pll_clk_ad_sel1_rx" pos="1" rst="0">
  106256. <comment>bbpll1</comment>
  106257. </bits>
  106258. <bits access="rw" name="pll_clk_ad_sel0_rx" pos="0" rst="1">
  106259. <comment>bbpll1</comment>
  106260. </bits>
  106261. </reg>
  106262. <reg name="bbpll2_reg1" protect="rw">
  106263. <bits access="rw" name="pll_cpaux_bit_tx" pos="12:10" rst="4">
  106264. <comment>bbpll2</comment>
  106265. </bits>
  106266. <bits access="rw" name="pll_filter_ibit_tx" pos="9:7" rst="4">
  106267. <comment>bbpll2</comment>
  106268. </bits>
  106269. <bits access="rw" name="pll_cp_bit_tx" pos="6:4" rst="4">
  106270. <comment>bbpll2</comment>
  106271. </bits>
  106272. <bits access="rw" name="pll_vreg_bit_tx" pos="3:0" rst="8">
  106273. <comment>bbpll2</comment>
  106274. </bits>
  106275. </reg>
  106276. <reg name="bbpll2_reg2" protect="rw">
  106277. <bits access="rw" name="pll_reser_tx" pos="12:9" rst="1">
  106278. <comment>bbpll2 pll_reserved_tx</comment>
  106279. </bits>
  106280. <bits access="rw" name="pll_refmulti2_en_tx" pos="8" rst="1">
  106281. <comment>bbpll2</comment>
  106282. </bits>
  106283. <bits access="rw" name="pll_high_test_tx" pos="7" rst="0">
  106284. <comment>bbpll2</comment>
  106285. </bits>
  106286. <bits access="rw" name="pll_low_test_tx" pos="6" rst="0">
  106287. <comment>bbpll2</comment>
  106288. </bits>
  106289. <bits access="rw" name="pll_test_en_tx" pos="5" rst="0">
  106290. <comment>bbpll2</comment>
  106291. </bits>
  106292. <bits access="rw" name="pll_sdm_clk_test_en_tx" pos="4" rst="0">
  106293. <comment>bbpll2</comment>
  106294. </bits>
  106295. <bits access="rw" name="pll_sdm_clk_sel_rst_tx" pos="3" rst="1">
  106296. <comment>bbpll2</comment>
  106297. </bits>
  106298. <bits access="rw" name="pll_sdm_clk_sel_nor_tx" pos="2" rst="0">
  106299. <comment>bbpll2</comment>
  106300. </bits>
  106301. <bits access="rw" name="pu_pll_dr_tx" pos="1" rst="0">
  106302. <comment>bbpll2</comment>
  106303. </bits>
  106304. <bits access="rw" name="pu_pll_reg_tx" pos="0" rst="0">
  106305. <comment>bbpll2</comment>
  106306. </bits>
  106307. </reg>
  106308. <reg name="bbpll2_reg3" protect="rw">
  106309. <bits access="rw" name="pll_reser_dig_1_tx" pos="15:0" rst="33352">
  106310. <comment>bbpll2 pll_reserved_dig_1_tx regplls2_0_bit</comment>
  106311. </bits>
  106312. </reg>
  106313. <reg name="bbpll2_reg5" protect="rw">
  106314. <bits access="rw" name="pll_sdm_freq_tx1" pos="15:0" rst="9679">
  106315. <comment>bbpll2 pll_sdm_freq_tx[31:16]</comment>
  106316. </bits>
  106317. </reg>
  106318. <reg name="bbpll2_reg6" protect="rw">
  106319. <bits access="rw" name="pll_sdm_freq_tx0" pos="15:0" rst="10687">
  106320. <comment>bbpll2 pll_sdm_freq_tx[15:0]</comment>
  106321. </bits>
  106322. </reg>
  106323. <reg name="bbpll2_reg7" protect="rw">
  106324. <bits access="rw" name="reser_sdm_tx" pos="15:8" rst="2">
  106325. <comment>bbpll2 reserved_sdm_tx</comment>
  106326. </bits>
  106327. <bits access="rw" name="int_dec_sel_tx" pos="7:5" rst="3">
  106328. <comment>bbpll2</comment>
  106329. </bits>
  106330. <bits access="rw" name="dither_bypass_tx" pos="4" rst="1">
  106331. <comment>bbpll2</comment>
  106332. </bits>
  106333. <bits access="rw" name="ss_en_tx" pos="3" rst="0">
  106334. <comment>bbpll2</comment>
  106335. </bits>
  106336. <bits access="rw" name="ss_squre_tri_sel_tx" pos="2" rst="0">
  106337. <comment>bbpll2</comment>
  106338. </bits>
  106339. <bits access="rw" name="pll_sdm_resetn_dr_tx" pos="1" rst="0">
  106340. <comment>bbpll2</comment>
  106341. </bits>
  106342. <bits access="rw" name="pll_sdm_resetn_reg_tx" pos="0" rst="0">
  106343. <comment>bbpll2</comment>
  106344. </bits>
  106345. </reg>
  106346. <reg name="bbpll2_reg8" protect="rw">
  106347. <bits access="rw" name="pll_ss_devi_ct_tx" pos="15:8" rst="0">
  106348. <comment>bbpll2</comment>
  106349. </bits>
  106350. <bits access="rw" name="pll_ss_peri_ct_tx" pos="7:0" rst="0">
  106351. <comment>bbpll2</comment>
  106352. </bits>
  106353. </reg>
  106354. <reg name="bbpll2_reg9" protect="rw">
  106355. <bits access="rw" name="pll_reser_dig_2_tx" pos="15:0" rst="32">
  106356. <comment>bbpll2 pll_reserved_dig_2_tx</comment>
  106357. </bits>
  106358. </reg>
  106359. <reg name="bbpll2_rega" protect="rw">
  106360. <bits access="rw" name="sdm_reset_time_sel_tx" pos="15:14" rst="1">
  106361. <comment>bbpll2</comment>
  106362. </bits>
  106363. <bits access="rw" name="sdmclk_sel_time_sel_tx" pos="13:12" rst="1">
  106364. <comment>bbpll2</comment>
  106365. </bits>
  106366. <bits access="rw" name="pll_clk_adc_sel_reg_tx" pos="8:7" rst="0">
  106367. <comment>bbpll2</comment>
  106368. </bits>
  106369. <bits access="rw" name="pll_clk_adc_en_reg_tx" pos="6" rst="0">
  106370. <comment>bbpll2</comment>
  106371. </bits>
  106372. <bits access="rw" name="pll_clk_adc_dfe_en_reg_tx" pos="5" rst="0">
  106373. <comment>bbpll2</comment>
  106374. </bits>
  106375. <bits access="rw" name="pll_clkout_en_reg_tx" pos="4:1" rst="15">
  106376. <comment>bbpll2 [1] plls2_clk_cp307m_en</comment>
  106377. </bits>
  106378. <bits access="rw" name="clk_gen_en_reg_tx" pos="0" rst="1">
  106379. <comment>bbpll2</comment>
  106380. </bits>
  106381. </reg>
  106382. <reg name="bbpll2_regb" protect="r">
  106383. <bits access="r" name="pu_pll_tx" pos="15" rst="0">
  106384. <comment>bbpll2</comment>
  106385. </bits>
  106386. <bits access="r" name="pll_lock_tx" pos="14" rst="0">
  106387. <comment>bbpll2</comment>
  106388. </bits>
  106389. <bits access="r" name="pll_sdm_resetn_tx" pos="13" rst="0">
  106390. <comment>bbpll2</comment>
  106391. </bits>
  106392. <bits access="r" name="pll_sdm_clk_sel_tx" pos="12" rst="0">
  106393. <comment>bbpll2</comment>
  106394. </bits>
  106395. <bits access="r" name="pll_clk_ready_tx" pos="11" rst="0">
  106396. <comment>bbpll2</comment>
  106397. </bits>
  106398. <bits access="r" name="pll_lock_steady_tx" pos="10" rst="0">
  106399. <comment>bbpll2</comment>
  106400. </bits>
  106401. </reg>
  106402. <reg name="bbpll2_regd" protect="rw">
  106403. <bits access="rw" name="resetn_spll_tx" pos="5" rst="1">
  106404. <comment>bbpll2</comment>
  106405. </bits>
  106406. <bits access="rw" name="vco_reset_dis_tx" pos="4" rst="1">
  106407. <comment>bbpll2</comment>
  106408. </bits>
  106409. <bits access="rw" name="pll_clkout_en_counter_sel_tx" pos="3:2" rst="2">
  106410. <comment>bbpll2</comment>
  106411. </bits>
  106412. <bits access="rw" name="lock_counter_sel_tx" pos="1:0" rst="1">
  106413. <comment>bbpll2</comment>
  106414. </bits>
  106415. </reg>
  106416. <reg name="bbpll2_regf" protect="rw">
  106417. <bits access="rw" name="pll_cnt2_tx" pos="13:9" rst="13">
  106418. <comment>bbpll2</comment>
  106419. </bits>
  106420. <bits access="rw" name="pll_cnt1_tx" pos="8:4" rst="24">
  106421. <comment>bbpll2</comment>
  106422. </bits>
  106423. <bits access="rw" name="pll_mod23_bb2_tx" pos="3" rst="0">
  106424. <comment>bbpll2</comment>
  106425. </bits>
  106426. <bits access="rw" name="pll_mod23_bb_tx" pos="2" rst="1">
  106427. <comment>bbpll2</comment>
  106428. </bits>
  106429. <bits access="rw" name="pll_clk_ad_sel1_tx" pos="1" rst="0">
  106430. <comment>bbpll2</comment>
  106431. </bits>
  106432. <bits access="rw" name="pll_clk_ad_sel0_tx" pos="0" rst="1">
  106433. <comment>bbpll2</comment>
  106434. </bits>
  106435. </reg>
  106436. <reg name="rxpll_cal_reg1" protect="rw">
  106437. <bits access="rw" name="reg_90_bit1" pos="15:8" rst="0">
  106438. <comment>rxpll_cal target freq][15:8]</comment>
  106439. </bits>
  106440. <bits access="rw" name="reg_90_bit0" pos="7:0" rst="0">
  106441. <comment>rxpll_cal target freq[7:0]</comment>
  106442. </bits>
  106443. </reg>
  106444. <reg name="rxpll_cal_reg2" protect="rw">
  106445. <bits access="rw" name="reg_91_bit15to8" pos="15:8" rst="0">
  106446. <comment>rxpll_cal [2:0]:rxpll_vco_bits[10:8] [6]:rxpll_cnt_enable [7]:rxpll_cal_enable</comment>
  106447. </bits>
  106448. <bits access="rw" name="reg_91_bit70" pos="7" rst="0">
  106449. <comment>rxpll_cal reset</comment>
  106450. </bits>
  106451. <bits access="rw" name="reg_91_bit6to0" pos="6:0" rst="0">
  106452. <comment>rxpll_cal [1]:rxpll_cal_opt [3:2]:rxpll_cnt_delay_sel [6:4]:rxpll_init_delay</comment>
  106453. </bits>
  106454. </reg>
  106455. <reg name="rxpll_cal_reg3" protect="rw">
  106456. <bits access="rw" name="reg_92_bit1" pos="15:8" rst="0">
  106457. <comment>rxpll_cal</comment>
  106458. </bits>
  106459. <bits access="rw" name="reg_92_bit0" pos="7:0" rst="0">
  106460. <comment>rxpll_cal [7:0]:rxpll_vco_bits[7:0]</comment>
  106461. </bits>
  106462. </reg>
  106463. <reg name="rxpll_cal_reg4" protect="r">
  106464. <bits access="r" name="rxpll_cal_enable" pos="13" rst="0">
  106465. <comment>rxpll_cal</comment>
  106466. </bits>
  106467. <bits access="r" name="rxpll_cnt_enable" pos="12" rst="0">
  106468. <comment>rxpll_cal</comment>
  106469. </bits>
  106470. <bits access="r" name="rxpll_cal_ready" pos="11" rst="0">
  106471. <comment>rxpll_cal</comment>
  106472. </bits>
  106473. <bits access="r" name="rxpll_vco_bits" pos="10:0" rst="0">
  106474. <comment>rxpll_cal rxvco_band_bit_bb</comment>
  106475. </bits>
  106476. </reg>
  106477. <reg name="txpll_cal_reg1" protect="rw">
  106478. <bits access="rw" name="reg_98_bit1" pos="15:8" rst="0">
  106479. <comment>txpll_cal target freq][15:8]</comment>
  106480. </bits>
  106481. <bits access="rw" name="reg_98_bit0" pos="7:0" rst="0">
  106482. <comment>txpll_cal target freq[7:0]</comment>
  106483. </bits>
  106484. </reg>
  106485. <reg name="txpll_cal_reg2" protect="rw">
  106486. <bits access="rw" name="reg_99_bit15to8" pos="15:8" rst="0">
  106487. <comment>txpll_cal [2:0]:txpll_vco_bits[10:8] [6]:txpll_cnt_enable [7]:txpll_cal_enable</comment>
  106488. </bits>
  106489. <bits access="rw" name="reg_99_bit70" pos="7" rst="0">
  106490. <comment>txpll_cal reset</comment>
  106491. </bits>
  106492. <bits access="rw" name="reg_99_bit6to0" pos="6:0" rst="0">
  106493. <comment>txpll_cal [1]:txpll_cal_opt [3:2]:txpll_cnt_delay_sel [6:4]:txpll_init_delay</comment>
  106494. </bits>
  106495. </reg>
  106496. <reg name="txpll_cal_reg3" protect="rw">
  106497. <bits access="rw" name="reg_9a_bit1" pos="15:8" rst="0">
  106498. <comment>txpll_cal</comment>
  106499. </bits>
  106500. <bits access="rw" name="reg_9a_bit0" pos="7:0" rst="0">
  106501. <comment>txpll_cal [7:0]:txpll_vco_bits[7:0]</comment>
  106502. </bits>
  106503. </reg>
  106504. <reg name="txpll_cal_reg4" protect="r">
  106505. <bits access="r" name="txpll_cal_enable" pos="13" rst="0">
  106506. <comment>txpll_cal</comment>
  106507. </bits>
  106508. <bits access="r" name="txpll_cnt_enable" pos="12" rst="0">
  106509. <comment>txpll_cal</comment>
  106510. </bits>
  106511. <bits access="r" name="txpll_cal_ready" pos="11" rst="0">
  106512. <comment>txpll_cal</comment>
  106513. </bits>
  106514. <bits access="r" name="txpll_vco_bits" pos="10:0" rst="0">
  106515. <comment>txpll_cal txvco_band_bit_bb</comment>
  106516. </bits>
  106517. </reg>
  106518. <reg name="gpio_reg" protect="rw">
  106519. <bits access="rw" name="gpio_reg_out" pos="15:0" rst="0">
  106520. <comment>gpio</comment>
  106521. </bits>
  106522. </reg>
  106523. <hole size="480"/>
  106524. <reg name="strobe_reg" protect="rw">
  106525. <bits access="rw" name="strobe_sel" pos="14" rst="0">
  106526. <comment>pa strobe</comment>
  106527. </bits>
  106528. <bits access="rw" name="multi_slot_sel" pos="13:12" rst="0">
  106529. <comment>pa strobe</comment>
  106530. </bits>
  106531. <bits access="rw" name="strobe" pos="11" rst="0">
  106532. <comment>pa strobe</comment>
  106533. </bits>
  106534. <bits access="rw" name="slot_number_dr" pos="10" rst="0">
  106535. <comment>pa strobe</comment>
  106536. </bits>
  106537. <bits access="rw" name="slot_number_reg" pos="9:8" rst="0">
  106538. <comment>pa strobe</comment>
  106539. </bits>
  106540. <bits access="rw" name="time_sel_after_rampd" pos="7:0" rst="0">
  106541. <comment>pa strobe</comment>
  106542. </bits>
  106543. </reg>
  106544. <reg name="pa_ctrl_reg1" protect="rw">
  106545. <bits access="rw" name="ramp_curve_sel_3" pos="15:12" rst="0">
  106546. <comment>pa ctrl</comment>
  106547. </bits>
  106548. <bits access="rw" name="ramp_curve_sel_2" pos="11:8" rst="0">
  106549. <comment>pa ctrl</comment>
  106550. </bits>
  106551. <bits access="rw" name="ramp_curve_sel_1" pos="7:4" rst="0">
  106552. <comment>pa ctrl</comment>
  106553. </bits>
  106554. <bits access="rw" name="ramp_curve_sel_0" pos="3:0" rst="0">
  106555. <comment>pa ctrl</comment>
  106556. </bits>
  106557. </reg>
  106558. <reg name="pa_ctrl_reg2" protect="rw">
  106559. <bits access="rw" name="ramp_mult_factor_1" pos="15:8" rst="0">
  106560. <comment>pa ctrl</comment>
  106561. </bits>
  106562. <bits access="rw" name="ramp_mult_factor_0" pos="7:0" rst="0">
  106563. <comment>pa ctrl</comment>
  106564. </bits>
  106565. </reg>
  106566. <reg name="pa_ctrl_reg3" protect="rw">
  106567. <bits access="rw" name="ramp_mult_factor_3" pos="15:8" rst="0">
  106568. <comment>pa ctrl</comment>
  106569. </bits>
  106570. <bits access="rw" name="ramp_mult_factor_2" pos="7:0" rst="0">
  106571. <comment>pa ctrl</comment>
  106572. </bits>
  106573. </reg>
  106574. <reg name="pa_ctrl_reg4" protect="rw">
  106575. <bits access="rw" name="ramp_dac_din_reg" pos="10:1" rst="0">
  106576. <comment>pa ctrl</comment>
  106577. </bits>
  106578. <bits access="rw" name="ramp_dac_din_dr" pos="0" rst="0">
  106579. <comment>pa ctrl</comment>
  106580. </bits>
  106581. </reg>
  106582. <hole size="352"/>
  106583. <reg name="ana_ctrl_reg0" protect="rw">
  106584. <bits access="rw" name="reg_100_bit" pos="15:0" rst="0">
  106585. <comment>ana ctrl</comment>
  106586. </bits>
  106587. </reg>
  106588. <reg name="ana_ctrl_reg1" protect="rw">
  106589. <bits access="rw" name="reg_101_bit" pos="15:0" rst="0">
  106590. <comment>ana ctrl</comment>
  106591. </bits>
  106592. </reg>
  106593. <reg name="ana_ctrl_reg2" protect="rw">
  106594. <bits access="rw" name="reg_102_bit" pos="15:0" rst="2117">
  106595. <comment>ana ctrl</comment>
  106596. </bits>
  106597. </reg>
  106598. <reg name="ana_ctrl_reg3" protect="rw">
  106599. <bits access="rw" name="reg_103_bit" pos="15:0" rst="66">
  106600. <comment>ana ctrl</comment>
  106601. </bits>
  106602. </reg>
  106603. <reg name="ana_ctrl_reg4" protect="rw">
  106604. <bits access="rw" name="reg_104_bit" pos="15:0" rst="15554">
  106605. <comment>ana ctrl</comment>
  106606. </bits>
  106607. </reg>
  106608. <reg name="ana_ctrl_reg5" protect="rw">
  106609. <bits access="rw" name="reg_105_bit" pos="15:0" rst="23632">
  106610. <comment>ana ctrl</comment>
  106611. </bits>
  106612. </reg>
  106613. <reg name="ana_ctrl_reg6" protect="rw">
  106614. <bits access="rw" name="reg_106_bit" pos="15:0" rst="34824">
  106615. <comment>ana ctrl</comment>
  106616. </bits>
  106617. </reg>
  106618. <reg name="ana_ctrl_reg7" protect="rw">
  106619. <bits access="rw" name="reg_107_bit" pos="15:0" rst="34947">
  106620. <comment>ana ctrl</comment>
  106621. </bits>
  106622. </reg>
  106623. <reg name="ana_ctrl_reg8" protect="rw">
  106624. <bits access="rw" name="reg_108_bit" pos="15:0" rst="22880">
  106625. <comment>ana ctrl</comment>
  106626. </bits>
  106627. </reg>
  106628. <reg name="ana_ctrl_reg9" protect="rw">
  106629. <bits access="rw" name="reg_109_bit" pos="15:0" rst="2560">
  106630. <comment>ana ctrl</comment>
  106631. </bits>
  106632. </reg>
  106633. <reg name="ana_ctrl_rega" protect="rw">
  106634. <bits access="rw" name="reg_10a_bit" pos="15:0" rst="20804">
  106635. <comment>ana ctrl</comment>
  106636. </bits>
  106637. </reg>
  106638. <reg name="ana_ctrl_regb" protect="rw">
  106639. <bits access="rw" name="reg_10b_bit" pos="15:0" rst="22672">
  106640. <comment>ana ctrl</comment>
  106641. </bits>
  106642. </reg>
  106643. <reg name="ana_ctrl_regc" protect="rw">
  106644. <bits access="rw" name="reg_10c_bit" pos="15:0" rst="34956">
  106645. <comment>ana ctrl</comment>
  106646. </bits>
  106647. </reg>
  106648. <reg name="ana_ctrl_regd" protect="rw">
  106649. <bits access="rw" name="reg_10d_bit" pos="15:0" rst="34947">
  106650. <comment>ana ctrl</comment>
  106651. </bits>
  106652. </reg>
  106653. <reg name="ana_ctrl_rege" protect="rw">
  106654. <bits access="rw" name="reg_10e_bit" pos="15:0" rst="22880">
  106655. <comment>ana ctrl</comment>
  106656. </bits>
  106657. </reg>
  106658. <reg name="ana_ctrl_regf" protect="rw">
  106659. <bits access="rw" name="reg_10f_bit" pos="15:0" rst="2564">
  106660. <comment>ana ctrl</comment>
  106661. </bits>
  106662. </reg>
  106663. <reg name="ana_ctrl_reg10" protect="rw">
  106664. <bits access="rw" name="reg_110_bit" pos="15:0" rst="68">
  106665. <comment>ana ctrl</comment>
  106666. </bits>
  106667. </reg>
  106668. <reg name="ana_ctrl_reg11" protect="rw">
  106669. <bits access="rw" name="reg_111_bit" pos="15:0" rst="63464">
  106670. <comment>ana ctrl</comment>
  106671. </bits>
  106672. </reg>
  106673. <reg name="ana_ctrl_reg12" protect="rw">
  106674. <bits access="rw" name="reg_112_bit" pos="15:0" rst="59864">
  106675. <comment>ana ctrl</comment>
  106676. </bits>
  106677. </reg>
  106678. <reg name="ana_ctrl_reg13" protect="rw">
  106679. <bits access="rw" name="reg_113_bit" pos="15:0" rst="43808">
  106680. <comment>ana ctrl</comment>
  106681. </bits>
  106682. </reg>
  106683. <reg name="ana_ctrl_reg14" protect="rw">
  106684. <bits access="rw" name="reg_114_bit" pos="15:0" rst="35472">
  106685. <comment>ana ctrl</comment>
  106686. </bits>
  106687. </reg>
  106688. <reg name="ana_ctrl_reg15" protect="rw">
  106689. <bits access="rw" name="reg_115_bit" pos="15:0" rst="12298">
  106690. <comment>ana ctrl</comment>
  106691. </bits>
  106692. </reg>
  106693. <reg name="ana_ctrl_reg16" protect="rw">
  106694. <bits access="rw" name="reg_116_bit" pos="15:0" rst="49810">
  106695. <comment>ana ctrl ?????</comment>
  106696. </bits>
  106697. </reg>
  106698. <reg name="ana_ctrl_reg17" protect="rw">
  106699. <bits access="rw" name="reg_117_bit" pos="15:0" rst="18855">
  106700. <comment>ana ctrl ?????</comment>
  106701. </bits>
  106702. </reg>
  106703. <reg name="ana_ctrl_reg18" protect="rw">
  106704. <bits access="rw" name="reg_118_bit" pos="15:0" rst="8456">
  106705. <comment>ana ctrl</comment>
  106706. </bits>
  106707. </reg>
  106708. <reg name="ana_ctrl_reg19" protect="rw">
  106709. <bits access="rw" name="reg_119_bit" pos="15:0" rst="0">
  106710. <comment>ana ctrl</comment>
  106711. </bits>
  106712. </reg>
  106713. <reg name="ana_ctrl_reg1a" protect="rw">
  106714. <bits access="rw" name="reg_11a_bit" pos="15:0" rst="4842">
  106715. <comment>ana ctrl</comment>
  106716. </bits>
  106717. </reg>
  106718. <reg name="ana_ctrl_reg1b" protect="rw">
  106719. <bits access="rw" name="reg_11b_bit" pos="15:0" rst="48251">
  106720. <comment>ana ctrl</comment>
  106721. </bits>
  106722. </reg>
  106723. <reg name="ana_ctrl_reg1c" protect="rw">
  106724. <bits access="rw" name="reg_11c_bit" pos="15:0" rst="0">
  106725. <comment>ana ctrl</comment>
  106726. </bits>
  106727. </reg>
  106728. <reg name="ana_ctrl_reg1d" protect="rw">
  106729. <bits access="rw" name="reg_11d_bit" pos="15:0" rst="32896">
  106730. <comment>ana ctrl</comment>
  106731. </bits>
  106732. </reg>
  106733. <reg name="ana_ctrl_reg1e" protect="rw">
  106734. <bits access="rw" name="reg_11e_bit" pos="15:0" rst="5504">
  106735. <comment>ana ctrl</comment>
  106736. </bits>
  106737. </reg>
  106738. <reg name="ana_ctrl_reg1f" protect="rw">
  106739. <bits access="rw" name="reg_11f_bit" pos="15:0" rst="12942">
  106740. <comment>ana ctrl</comment>
  106741. </bits>
  106742. </reg>
  106743. <reg name="ana_ctrl_reg20" protect="rw">
  106744. <bits access="rw" name="reg_120_bit" pos="15:0" rst="2051">
  106745. <comment>ana ctrl</comment>
  106746. </bits>
  106747. </reg>
  106748. <reg name="ana_ctrl_reg21" protect="rw">
  106749. <bits access="rw" name="reg_121_bit" pos="15:0" rst="253">
  106750. <comment>ana ctrl</comment>
  106751. </bits>
  106752. </reg>
  106753. <reg name="ana_ctrl_reg22" protect="rw">
  106754. <bits access="rw" name="reg_122_bit" pos="15:0" rst="36864">
  106755. <comment>ana ctrl</comment>
  106756. </bits>
  106757. </reg>
  106758. <reg name="ana_ctrl_reg23" protect="rw">
  106759. <bits access="rw" name="reg_123_bit" pos="15:0" rst="0">
  106760. <comment>ana ctrl</comment>
  106761. </bits>
  106762. </reg>
  106763. <reg name="ana_ctrl_reg24" protect="rw">
  106764. <bits access="rw" name="reg_124_bit" pos="15:0" rst="33410">
  106765. <comment>ana ctrl</comment>
  106766. </bits>
  106767. </reg>
  106768. <reg name="ana_ctrl_reg25" protect="rw">
  106769. <bits access="rw" name="reg_125_bit" pos="15:0" rst="6404">
  106770. <comment>ana ctrl</comment>
  106771. </bits>
  106772. </reg>
  106773. <reg name="ana_ctrl_reg26" protect="rw">
  106774. <bits access="rw" name="reg_126_bit" pos="15:0" rst="0">
  106775. <comment>ana ctrl</comment>
  106776. </bits>
  106777. </reg>
  106778. <reg name="ana_ctrl_reg27" protect="rw">
  106779. <bits access="rw" name="reg_127_bit" pos="15:0" rst="15">
  106780. <comment>ana ctrl</comment>
  106781. </bits>
  106782. </reg>
  106783. <reg name="ana_ctrl_reg28" protect="rw">
  106784. <bits access="rw" name="reg_128_bit" pos="15:0" rst="592">
  106785. <comment>ana ctrl</comment>
  106786. </bits>
  106787. </reg>
  106788. <reg name="ana_ctrl_reg29" protect="rw">
  106789. <bits access="rw" name="reg_129_bit" pos="15:0" rst="0">
  106790. <comment>ana ctrl</comment>
  106791. </bits>
  106792. </reg>
  106793. <reg name="ana_ctrl_reg2a" protect="rw">
  106794. <bits access="rw" name="reg_12a_bit" pos="15:0" rst="0">
  106795. <comment>ana ctrl</comment>
  106796. </bits>
  106797. </reg>
  106798. <reg name="ana_ctrl_reg2b" protect="rw">
  106799. <bits access="rw" name="reg_12b_bit" pos="15:0" rst="0">
  106800. <comment>ana ctrl</comment>
  106801. </bits>
  106802. </reg>
  106803. <reg name="ana_ctrl_reg2c" protect="rw">
  106804. <bits access="rw" name="reg_12c_bit" pos="15:0" rst="0">
  106805. <comment>ana ctrl</comment>
  106806. </bits>
  106807. </reg>
  106808. <reg name="ana_ctrl_reg2d" protect="rw">
  106809. <bits access="rw" name="reg_12d_bit" pos="15:0" rst="2645">
  106810. <comment>ana ctrl</comment>
  106811. </bits>
  106812. </reg>
  106813. <reg name="ana_ctrl_reg2e" protect="rw">
  106814. <bits access="rw" name="reg_12e_bit" pos="15:0" rst="8328">
  106815. <comment>ana ctrl</comment>
  106816. </bits>
  106817. </reg>
  106818. <reg name="ana_ctrl_reg2f" protect="rw">
  106819. <bits access="rw" name="reg_12f_bit" pos="15:0" rst="8208">
  106820. <comment>ana ctrl</comment>
  106821. </bits>
  106822. </reg>
  106823. <reg name="ana_ctrl_reg30" protect="rw">
  106824. <bits access="rw" name="reg_130_bit" pos="15:0" rst="0">
  106825. <comment>ana ctrl</comment>
  106826. </bits>
  106827. </reg>
  106828. <reg name="ana_ctrl_reg31" protect="rw">
  106829. <bits access="rw" name="reg_131_bit" pos="15:0" rst="0">
  106830. <comment>ana ctrl</comment>
  106831. </bits>
  106832. </reg>
  106833. <reg name="ana_ctrl_reg32" protect="rw">
  106834. <bits access="rw" name="reg_132_bit" pos="15:0" rst="0">
  106835. <comment>ana ctrl</comment>
  106836. </bits>
  106837. </reg>
  106838. <reg name="ana_ctrl_reg33" protect="rw">
  106839. <bits access="rw" name="reg_133_bit" pos="15:0" rst="0">
  106840. <comment>ana ctrl</comment>
  106841. </bits>
  106842. </reg>
  106843. <reg name="ana_ctrl_reg34" protect="rw">
  106844. <bits access="rw" name="reg_134_bit" pos="15:0" rst="0">
  106845. <comment>ana ctrl</comment>
  106846. </bits>
  106847. </reg>
  106848. <reg name="ana_ctrl_reg35" protect="rw">
  106849. <bits access="rw" name="reg_135_bit" pos="15:0" rst="0">
  106850. <comment>ana ctrl</comment>
  106851. </bits>
  106852. </reg>
  106853. <reg name="ana_ctrl_reg36" protect="rw">
  106854. <bits access="rw" name="reg_136_bit" pos="15:0" rst="0">
  106855. <comment>ana ctrl</comment>
  106856. </bits>
  106857. </reg>
  106858. <reg name="ana_ctrl_reg37" protect="rw">
  106859. <bits access="rw" name="reg_137_bit" pos="15:0" rst="65535">
  106860. <comment>ana ctrl</comment>
  106861. </bits>
  106862. </reg>
  106863. <hole size="2304"/>
  106864. <reg name="control_rf_reg0" protect="rw">
  106865. <bits access="rw" name="rx_tx_rf" pos="2" rst="0">
  106866. <comment>controller rf</comment>
  106867. </bits>
  106868. <bits access="rw" name="dccal_q_enable_reg" pos="1" rst="0">
  106869. <comment>controller rf</comment>
  106870. </bits>
  106871. <bits access="rw" name="dccal_i_enable_reg" pos="0" rst="0">
  106872. <comment>controller rf</comment>
  106873. </bits>
  106874. </reg>
  106875. <reg name="control_rf_reg1" protect="rw">
  106876. <bits access="rw" name="gpio_auxclk_en_nodelay" pos="6" rst="1">
  106877. <comment>controller rf</comment>
  106878. </bits>
  106879. <bits access="rw" name="aux_buf_delay" pos="5" rst="0">
  106880. <comment>controller rf</comment>
  106881. </bits>
  106882. <bits access="rw" name="gpio_auxclk_en_dr" pos="4" rst="0">
  106883. <comment>controller rf</comment>
  106884. </bits>
  106885. <bits access="rw" name="gpio_auxclk_en_reg" pos="3" rst="0">
  106886. <comment>controller rf</comment>
  106887. </bits>
  106888. <bits access="rw" name="thermo_cal_enable" pos="2" rst="0">
  106889. <comment>controller rf</comment>
  106890. </bits>
  106891. <bits access="rw" name="polarity_i" pos="1" rst="0">
  106892. <comment>controller rf</comment>
  106893. </bits>
  106894. <bits access="rw" name="polarity_q" pos="0" rst="0">
  106895. <comment>controller rf</comment>
  106896. </bits>
  106897. </reg>
  106898. <reg name="control_rf_reg2" protect="rw">
  106899. <bits access="rw" name="cnt_max_dccal_i" pos="15:0" rst="0">
  106900. <comment>controller rf</comment>
  106901. </bits>
  106902. </reg>
  106903. <reg name="control_rf_reg3" protect="rw">
  106904. <bits access="rw" name="cnt_max_dccal_q" pos="7:0" rst="0">
  106905. <comment>controller rf</comment>
  106906. </bits>
  106907. </reg>
  106908. <reg name="control_rf_reg6" protect="rw">
  106909. <bits access="rw" name="chip_tx_mode_reg" pos="0" rst="0">
  106910. <comment>controller rf</comment>
  106911. </bits>
  106912. </reg>
  106913. <reg name="clk_gen_reg0" protect="rw">
  106914. <bits access="rw" name="freq_clk_div_4" pos="14:12" rst="0">
  106915. <comment>clk gen</comment>
  106916. </bits>
  106917. <bits access="rw" name="freq_clk_div_3" pos="11:9" rst="0">
  106918. <comment>clk gen</comment>
  106919. </bits>
  106920. <bits access="rw" name="freq_clk_div_2" pos="8:6" rst="0">
  106921. <comment>clk gen</comment>
  106922. </bits>
  106923. <bits access="rw" name="freq_clk_div_1" pos="5:3" rst="0">
  106924. <comment>clk gen</comment>
  106925. </bits>
  106926. <bits access="rw" name="freq_clk_div_0" pos="2:0" rst="0">
  106927. <comment>clk gen</comment>
  106928. </bits>
  106929. </reg>
  106930. <reg name="clk_gen_reg1" protect="rw">
  106931. <bits access="rw" name="freq_clk_div_7" pos="8:6" rst="0">
  106932. <comment>clk gen</comment>
  106933. </bits>
  106934. <bits access="rw" name="freq_clk_div_6" pos="5:3" rst="0">
  106935. <comment>clk gen</comment>
  106936. </bits>
  106937. <bits access="rw" name="freq_clk_div_5" pos="2:0" rst="0">
  106938. <comment>clk gen</comment>
  106939. </bits>
  106940. </reg>
  106941. <reg name="clk_gen_reg2" protect="rw">
  106942. <bits access="rw" name="inv_clk_div" pos="15:8" rst="0">
  106943. <comment>clk gen</comment>
  106944. </bits>
  106945. <bits access="rw" name="enable_clk_div" pos="7:0" rst="0">
  106946. <comment>clk gen</comment>
  106947. </bits>
  106948. </reg>
  106949. <hole size="3840"/>
  106950. <reg name="chip_id_reg0" protect="r">
  106951. <bits access="r" name="chip_id0" pos="15:0" rst="33413">
  106952. <comment>chip id</comment>
  106953. </bits>
  106954. </reg>
  106955. <reg name="chip_id_reg1" protect="r">
  106956. <bits access="r" name="chip_id1" pos="7:0" rst="0">
  106957. <comment>chip id</comment>
  106958. </bits>
  106959. </reg>
  106960. <reg name="chip_id_reg2" protect="r">
  106961. <bits access="r" name="revision_id" pos="15:0" rst="0">
  106962. <comment>revision_id</comment>
  106963. </bits>
  106964. </reg>
  106965. <reg name="mean_dcccal_i_reg0" protect="r">
  106966. <bits access="r" name="mean_dccal_i0" pos="15:0" rst="0">
  106967. <comment>mean_dccal_i0</comment>
  106968. </bits>
  106969. </reg>
  106970. <reg name="mean_dcccal_i_reg1" protect="r">
  106971. <bits access="r" name="mean_dccal_i1" pos="0" rst="0">
  106972. <comment>mean_dccal_i1</comment>
  106973. </bits>
  106974. </reg>
  106975. <reg name="mean_dcccal_q_reg" protect="r">
  106976. <bits access="r" name="mean_dccal_q" pos="8:0" rst="0">
  106977. <comment>mean_dccal_q</comment>
  106978. </bits>
  106979. </reg>
  106980. <reg name="revid_reg" protect="r">
  106981. <bits access="r" name="revid_tx" pos="7:4" rst="0">
  106982. <comment>bbpll2</comment>
  106983. </bits>
  106984. <bits access="r" name="revid_rx" pos="3:0" rst="0">
  106985. <comment>bbpll1</comment>
  106986. </bits>
  106987. </reg>
  106988. <hole size="800"/>
  106989. <reg name="ana_rd_reg0" protect="r">
  106990. <bits access="r" name="reg_221_bit" pos="15:0" rst="0">
  106991. <comment>analogy</comment>
  106992. </bits>
  106993. </reg>
  106994. <reg name="ana_rd_reg1" protect="r">
  106995. <bits access="r" name="reg_222_bit" pos="15:0" rst="0">
  106996. <comment>analogy</comment>
  106997. </bits>
  106998. </reg>
  106999. <reg name="ana_rd_reg2" protect="r">
  107000. <bits access="r" name="reg_223_bit" pos="15:0" rst="0">
  107001. <comment>analogy</comment>
  107002. </bits>
  107003. </reg>
  107004. <reg name="ana_rd_reg3" protect="r">
  107005. <bits access="r" name="reg_224_bit" pos="15:0" rst="0">
  107006. <comment>analogy</comment>
  107007. </bits>
  107008. </reg>
  107009. <hole size="7040"/>
  107010. <reg name="pa_ramp_reg0" protect="rw">
  107011. <bits access="rw" name="ramp_curv0_p1" pos="15:8" rst="24">
  107012. <comment>pa ramp</comment>
  107013. </bits>
  107014. <bits access="rw" name="ramp_curv0_p0" pos="7:0" rst="0">
  107015. <comment>pa ramp</comment>
  107016. </bits>
  107017. </reg>
  107018. <reg name="pa_ramp_reg1" protect="rw">
  107019. <bits access="rw" name="ramp_curv0_p3" pos="15:8" rst="76">
  107020. <comment>pa ramp</comment>
  107021. </bits>
  107022. <bits access="rw" name="ramp_curv0_p2" pos="7:0" rst="52">
  107023. <comment>pa ramp</comment>
  107024. </bits>
  107025. </reg>
  107026. <reg name="pa_ramp_reg2" protect="rw">
  107027. <bits access="rw" name="ramp_curv0_p5" pos="15:8" rst="124">
  107028. <comment>pa ramp</comment>
  107029. </bits>
  107030. <bits access="rw" name="ramp_curv0_p4" pos="7:0" rst="104">
  107031. <comment>pa ramp</comment>
  107032. </bits>
  107033. </reg>
  107034. <reg name="pa_ramp_reg3" protect="rw">
  107035. <bits access="rw" name="ramp_curv0_p7" pos="15:8" rst="168">
  107036. <comment>pa ramp</comment>
  107037. </bits>
  107038. <bits access="rw" name="ramp_curv0_p6" pos="7:0" rst="148">
  107039. <comment>pa ramp</comment>
  107040. </bits>
  107041. </reg>
  107042. <reg name="pa_ramp_reg4" protect="rw">
  107043. <bits access="rw" name="ramp_curv0_p9" pos="15:8" rst="204">
  107044. <comment>pa ramp</comment>
  107045. </bits>
  107046. <bits access="rw" name="ramp_curv0_p8" pos="7:0" rst="188">
  107047. <comment>pa ramp</comment>
  107048. </bits>
  107049. </reg>
  107050. <reg name="pa_ramp_reg5" protect="rw">
  107051. <bits access="rw" name="ramp_curv0_pb" pos="15:8" rst="232">
  107052. <comment>pa ramp</comment>
  107053. </bits>
  107054. <bits access="rw" name="ramp_curv0_pa" pos="7:0" rst="220">
  107055. <comment>pa ramp</comment>
  107056. </bits>
  107057. </reg>
  107058. <reg name="pa_ramp_reg6" protect="rw">
  107059. <bits access="rw" name="ramp_curv0_pd" pos="15:8" rst="248">
  107060. <comment>pa ramp</comment>
  107061. </bits>
  107062. <bits access="rw" name="ramp_curv0_pc" pos="7:0" rst="240">
  107063. <comment>pa ramp</comment>
  107064. </bits>
  107065. </reg>
  107066. <reg name="pa_ramp_reg7" protect="rw">
  107067. <bits access="rw" name="ramp_curv0_pf" pos="15:8" rst="255">
  107068. <comment>pa ramp</comment>
  107069. </bits>
  107070. <bits access="rw" name="ramp_curv0_pe" pos="7:0" rst="252">
  107071. <comment>pa ramp</comment>
  107072. </bits>
  107073. </reg>
  107074. <reg name="pa_ramp_reg10" protect="rw">
  107075. <bits access="rw" name="ramp_curv1_p1" pos="15:8" rst="24">
  107076. <comment>pa ramp</comment>
  107077. </bits>
  107078. <bits access="rw" name="ramp_curv1_p0" pos="7:0" rst="0">
  107079. <comment>pa ramp</comment>
  107080. </bits>
  107081. </reg>
  107082. <reg name="pa_ramp_reg11" protect="rw">
  107083. <bits access="rw" name="ramp_curv1_p3" pos="15:8" rst="76">
  107084. <comment>pa ramp</comment>
  107085. </bits>
  107086. <bits access="rw" name="ramp_curv1_p2" pos="7:0" rst="52">
  107087. <comment>pa ramp</comment>
  107088. </bits>
  107089. </reg>
  107090. <reg name="pa_ramp_reg12" protect="rw">
  107091. <bits access="rw" name="ramp_curv1_p5" pos="15:8" rst="124">
  107092. <comment>pa ramp</comment>
  107093. </bits>
  107094. <bits access="rw" name="ramp_curv1_p4" pos="7:0" rst="104">
  107095. <comment>pa ramp</comment>
  107096. </bits>
  107097. </reg>
  107098. <reg name="pa_ramp_reg13" protect="rw">
  107099. <bits access="rw" name="ramp_curv1_p7" pos="15:8" rst="168">
  107100. <comment>pa ramp</comment>
  107101. </bits>
  107102. <bits access="rw" name="ramp_curv1_p6" pos="7:0" rst="148">
  107103. <comment>pa ramp</comment>
  107104. </bits>
  107105. </reg>
  107106. <reg name="pa_ramp_reg14" protect="rw">
  107107. <bits access="rw" name="ramp_curv1_p9" pos="15:8" rst="204">
  107108. <comment>pa ramp</comment>
  107109. </bits>
  107110. <bits access="rw" name="ramp_curv1_p8" pos="7:0" rst="188">
  107111. <comment>pa ramp</comment>
  107112. </bits>
  107113. </reg>
  107114. <reg name="pa_ramp_reg15" protect="rw">
  107115. <bits access="rw" name="ramp_curv1_pb" pos="15:8" rst="232">
  107116. <comment>pa ramp</comment>
  107117. </bits>
  107118. <bits access="rw" name="ramp_curv1_pa" pos="7:0" rst="220">
  107119. <comment>pa ramp</comment>
  107120. </bits>
  107121. </reg>
  107122. <reg name="pa_ramp_reg16" protect="rw">
  107123. <bits access="rw" name="ramp_curv1_pd" pos="15:8" rst="248">
  107124. <comment>pa ramp</comment>
  107125. </bits>
  107126. <bits access="rw" name="ramp_curv1_pc" pos="7:0" rst="240">
  107127. <comment>pa ramp</comment>
  107128. </bits>
  107129. </reg>
  107130. <reg name="pa_ramp_reg17" protect="rw">
  107131. <bits access="rw" name="ramp_curv1_pf" pos="15:8" rst="255">
  107132. <comment>pa ramp</comment>
  107133. </bits>
  107134. <bits access="rw" name="ramp_curv1_pe" pos="7:0" rst="252">
  107135. <comment>pa ramp</comment>
  107136. </bits>
  107137. </reg>
  107138. <reg name="pa_ramp_reg20" protect="rw">
  107139. <bits access="rw" name="ramp_curv2_p1" pos="15:8" rst="24">
  107140. <comment>pa ramp</comment>
  107141. </bits>
  107142. <bits access="rw" name="ramp_curv2_p0" pos="7:0" rst="0">
  107143. <comment>pa ramp</comment>
  107144. </bits>
  107145. </reg>
  107146. <reg name="pa_ramp_reg21" protect="rw">
  107147. <bits access="rw" name="ramp_curv2_p3" pos="15:8" rst="76">
  107148. <comment>pa ramp</comment>
  107149. </bits>
  107150. <bits access="rw" name="ramp_curv2_p2" pos="7:0" rst="52">
  107151. <comment>pa ramp</comment>
  107152. </bits>
  107153. </reg>
  107154. <reg name="pa_ramp_reg22" protect="rw">
  107155. <bits access="rw" name="ramp_curv2_p5" pos="15:8" rst="124">
  107156. <comment>pa ramp</comment>
  107157. </bits>
  107158. <bits access="rw" name="ramp_curv2_p4" pos="7:0" rst="104">
  107159. <comment>pa ramp</comment>
  107160. </bits>
  107161. </reg>
  107162. <reg name="pa_ramp_reg23" protect="rw">
  107163. <bits access="rw" name="ramp_curv2_p7" pos="15:8" rst="168">
  107164. <comment>pa ramp</comment>
  107165. </bits>
  107166. <bits access="rw" name="ramp_curv2_p6" pos="7:0" rst="148">
  107167. <comment>pa ramp</comment>
  107168. </bits>
  107169. </reg>
  107170. <reg name="pa_ramp_reg24" protect="rw">
  107171. <bits access="rw" name="ramp_curv2_p9" pos="15:8" rst="204">
  107172. <comment>pa ramp</comment>
  107173. </bits>
  107174. <bits access="rw" name="ramp_curv2_p8" pos="7:0" rst="188">
  107175. <comment>pa ramp</comment>
  107176. </bits>
  107177. </reg>
  107178. <reg name="pa_ramp_reg25" protect="rw">
  107179. <bits access="rw" name="ramp_curv2_pb" pos="15:8" rst="232">
  107180. <comment>pa ramp</comment>
  107181. </bits>
  107182. <bits access="rw" name="ramp_curv2_pa" pos="7:0" rst="220">
  107183. <comment>pa ramp</comment>
  107184. </bits>
  107185. </reg>
  107186. <reg name="pa_ramp_reg26" protect="rw">
  107187. <bits access="rw" name="ramp_curv2_pd" pos="15:8" rst="248">
  107188. <comment>pa ramp</comment>
  107189. </bits>
  107190. <bits access="rw" name="ramp_curv2_pc" pos="7:0" rst="240">
  107191. <comment>pa ramp</comment>
  107192. </bits>
  107193. </reg>
  107194. <reg name="pa_ramp_reg27" protect="rw">
  107195. <bits access="rw" name="ramp_curv2_pf" pos="15:8" rst="255">
  107196. <comment>pa ramp</comment>
  107197. </bits>
  107198. <bits access="rw" name="ramp_curv2_pe" pos="7:0" rst="252">
  107199. <comment>pa ramp</comment>
  107200. </bits>
  107201. </reg>
  107202. <reg name="pa_ramp_reg30" protect="rw">
  107203. <bits access="rw" name="ramp_curv3_p1" pos="15:8" rst="24">
  107204. <comment>pa ramp</comment>
  107205. </bits>
  107206. <bits access="rw" name="ramp_curv3_p0" pos="7:0" rst="0">
  107207. <comment>pa ramp</comment>
  107208. </bits>
  107209. </reg>
  107210. <reg name="pa_ramp_reg31" protect="rw">
  107211. <bits access="rw" name="ramp_curv3_p3" pos="15:8" rst="76">
  107212. <comment>pa ramp</comment>
  107213. </bits>
  107214. <bits access="rw" name="ramp_curv3_p2" pos="7:0" rst="52">
  107215. <comment>pa ramp</comment>
  107216. </bits>
  107217. </reg>
  107218. <reg name="pa_ramp_reg32" protect="rw">
  107219. <bits access="rw" name="ramp_curv3_p5" pos="15:8" rst="124">
  107220. <comment>pa ramp</comment>
  107221. </bits>
  107222. <bits access="rw" name="ramp_curv3_p4" pos="7:0" rst="104">
  107223. <comment>pa ramp</comment>
  107224. </bits>
  107225. </reg>
  107226. <reg name="pa_ramp_reg33" protect="rw">
  107227. <bits access="rw" name="ramp_curv3_p7" pos="15:8" rst="168">
  107228. <comment>pa ramp</comment>
  107229. </bits>
  107230. <bits access="rw" name="ramp_curv3_p6" pos="7:0" rst="148">
  107231. <comment>pa ramp</comment>
  107232. </bits>
  107233. </reg>
  107234. <reg name="pa_ramp_reg34" protect="rw">
  107235. <bits access="rw" name="ramp_curv3_p9" pos="15:8" rst="204">
  107236. <comment>pa ramp</comment>
  107237. </bits>
  107238. <bits access="rw" name="ramp_curv3_p8" pos="7:0" rst="188">
  107239. <comment>pa ramp</comment>
  107240. </bits>
  107241. </reg>
  107242. <reg name="pa_ramp_reg35" protect="rw">
  107243. <bits access="rw" name="ramp_curv3_pb" pos="15:8" rst="232">
  107244. <comment>pa ramp</comment>
  107245. </bits>
  107246. <bits access="rw" name="ramp_curv3_pa" pos="7:0" rst="220">
  107247. <comment>pa ramp</comment>
  107248. </bits>
  107249. </reg>
  107250. <reg name="pa_ramp_reg36" protect="rw">
  107251. <bits access="rw" name="ramp_curv3_pd" pos="15:8" rst="248">
  107252. <comment>pa ramp</comment>
  107253. </bits>
  107254. <bits access="rw" name="ramp_curv3_pc" pos="7:0" rst="240">
  107255. <comment>pa ramp</comment>
  107256. </bits>
  107257. </reg>
  107258. <reg name="pa_ramp_reg37" protect="rw">
  107259. <bits access="rw" name="ramp_curv3_pf" pos="15:8" rst="255">
  107260. <comment>pa ramp</comment>
  107261. </bits>
  107262. <bits access="rw" name="ramp_curv3_pe" pos="7:0" rst="252">
  107263. <comment>pa ramp</comment>
  107264. </bits>
  107265. </reg>
  107266. <reg name="pa_ramp_reg40" protect="rw">
  107267. <bits access="rw" name="ramp_curv4_p1" pos="15:8" rst="24">
  107268. <comment>pa ramp</comment>
  107269. </bits>
  107270. <bits access="rw" name="ramp_curv4_p0" pos="7:0" rst="0">
  107271. <comment>pa ramp</comment>
  107272. </bits>
  107273. </reg>
  107274. <reg name="pa_ramp_reg41" protect="rw">
  107275. <bits access="rw" name="ramp_curv4_p3" pos="15:8" rst="76">
  107276. <comment>pa ramp</comment>
  107277. </bits>
  107278. <bits access="rw" name="ramp_curv4_p2" pos="7:0" rst="52">
  107279. <comment>pa ramp</comment>
  107280. </bits>
  107281. </reg>
  107282. <reg name="pa_ramp_reg42" protect="rw">
  107283. <bits access="rw" name="ramp_curv4_p5" pos="15:8" rst="124">
  107284. <comment>pa ramp</comment>
  107285. </bits>
  107286. <bits access="rw" name="ramp_curv4_p4" pos="7:0" rst="104">
  107287. <comment>pa ramp</comment>
  107288. </bits>
  107289. </reg>
  107290. <reg name="pa_ramp_reg43" protect="rw">
  107291. <bits access="rw" name="ramp_curv4_p7" pos="15:8" rst="168">
  107292. <comment>pa ramp</comment>
  107293. </bits>
  107294. <bits access="rw" name="ramp_curv4_p6" pos="7:0" rst="148">
  107295. <comment>pa ramp</comment>
  107296. </bits>
  107297. </reg>
  107298. <reg name="pa_ramp_reg44" protect="rw">
  107299. <bits access="rw" name="ramp_curv4_p9" pos="15:8" rst="204">
  107300. <comment>pa ramp</comment>
  107301. </bits>
  107302. <bits access="rw" name="ramp_curv4_p8" pos="7:0" rst="188">
  107303. <comment>pa ramp</comment>
  107304. </bits>
  107305. </reg>
  107306. <reg name="pa_ramp_reg45" protect="rw">
  107307. <bits access="rw" name="ramp_curv4_pb" pos="15:8" rst="232">
  107308. <comment>pa ramp</comment>
  107309. </bits>
  107310. <bits access="rw" name="ramp_curv4_pa" pos="7:0" rst="220">
  107311. <comment>pa ramp</comment>
  107312. </bits>
  107313. </reg>
  107314. <reg name="pa_ramp_reg46" protect="rw">
  107315. <bits access="rw" name="ramp_curv4_pd" pos="15:8" rst="248">
  107316. <comment>pa ramp</comment>
  107317. </bits>
  107318. <bits access="rw" name="ramp_curv4_pc" pos="7:0" rst="240">
  107319. <comment>pa ramp</comment>
  107320. </bits>
  107321. </reg>
  107322. <reg name="pa_ramp_reg47" protect="rw">
  107323. <bits access="rw" name="ramp_curv4_pf" pos="15:8" rst="255">
  107324. <comment>pa ramp</comment>
  107325. </bits>
  107326. <bits access="rw" name="ramp_curv4_pe" pos="7:0" rst="252">
  107327. <comment>pa ramp</comment>
  107328. </bits>
  107329. </reg>
  107330. <reg name="pa_ramp_reg50" protect="rw">
  107331. <bits access="rw" name="ramp_curv5_p1" pos="15:8" rst="24">
  107332. <comment>pa ramp</comment>
  107333. </bits>
  107334. <bits access="rw" name="ramp_curv5_p0" pos="7:0" rst="0">
  107335. <comment>pa ramp</comment>
  107336. </bits>
  107337. </reg>
  107338. <reg name="pa_ramp_reg51" protect="rw">
  107339. <bits access="rw" name="ramp_curv5_p3" pos="15:8" rst="76">
  107340. <comment>pa ramp</comment>
  107341. </bits>
  107342. <bits access="rw" name="ramp_curv5_p2" pos="7:0" rst="52">
  107343. <comment>pa ramp</comment>
  107344. </bits>
  107345. </reg>
  107346. <reg name="pa_ramp_reg52" protect="rw">
  107347. <bits access="rw" name="ramp_curv5_p5" pos="15:8" rst="124">
  107348. <comment>pa ramp</comment>
  107349. </bits>
  107350. <bits access="rw" name="ramp_curv5_p4" pos="7:0" rst="104">
  107351. <comment>pa ramp</comment>
  107352. </bits>
  107353. </reg>
  107354. <reg name="pa_ramp_reg53" protect="rw">
  107355. <bits access="rw" name="ramp_curv5_p7" pos="15:8" rst="168">
  107356. <comment>pa ramp</comment>
  107357. </bits>
  107358. <bits access="rw" name="ramp_curv5_p6" pos="7:0" rst="148">
  107359. <comment>pa ramp</comment>
  107360. </bits>
  107361. </reg>
  107362. <reg name="pa_ramp_reg54" protect="rw">
  107363. <bits access="rw" name="ramp_curv5_p9" pos="15:8" rst="204">
  107364. <comment>pa ramp</comment>
  107365. </bits>
  107366. <bits access="rw" name="ramp_curv5_p8" pos="7:0" rst="188">
  107367. <comment>pa ramp</comment>
  107368. </bits>
  107369. </reg>
  107370. <reg name="pa_ramp_reg55" protect="rw">
  107371. <bits access="rw" name="ramp_curv5_pb" pos="15:8" rst="232">
  107372. <comment>pa ramp</comment>
  107373. </bits>
  107374. <bits access="rw" name="ramp_curv5_pa" pos="7:0" rst="220">
  107375. <comment>pa ramp</comment>
  107376. </bits>
  107377. </reg>
  107378. <reg name="pa_ramp_reg56" protect="rw">
  107379. <bits access="rw" name="ramp_curv5_pd" pos="15:8" rst="248">
  107380. <comment>pa ramp</comment>
  107381. </bits>
  107382. <bits access="rw" name="ramp_curv5_pc" pos="7:0" rst="240">
  107383. <comment>pa ramp</comment>
  107384. </bits>
  107385. </reg>
  107386. <reg name="pa_ramp_reg57" protect="rw">
  107387. <bits access="rw" name="ramp_curv5_pf" pos="15:8" rst="255">
  107388. <comment>pa ramp</comment>
  107389. </bits>
  107390. <bits access="rw" name="ramp_curv5_pe" pos="7:0" rst="252">
  107391. <comment>pa ramp</comment>
  107392. </bits>
  107393. </reg>
  107394. <reg name="pa_ramp_reg60" protect="rw">
  107395. <bits access="rw" name="ramp_curv6_p1" pos="15:8" rst="24">
  107396. <comment>pa ramp</comment>
  107397. </bits>
  107398. <bits access="rw" name="ramp_curv6_p0" pos="7:0" rst="0">
  107399. <comment>pa ramp</comment>
  107400. </bits>
  107401. </reg>
  107402. <reg name="pa_ramp_reg61" protect="rw">
  107403. <bits access="rw" name="ramp_curv6_p3" pos="15:8" rst="76">
  107404. <comment>pa ramp</comment>
  107405. </bits>
  107406. <bits access="rw" name="ramp_curv6_p2" pos="7:0" rst="52">
  107407. <comment>pa ramp</comment>
  107408. </bits>
  107409. </reg>
  107410. <reg name="pa_ramp_reg62" protect="rw">
  107411. <bits access="rw" name="ramp_curv6_p5" pos="15:8" rst="124">
  107412. <comment>pa ramp</comment>
  107413. </bits>
  107414. <bits access="rw" name="ramp_curv6_p4" pos="7:0" rst="104">
  107415. <comment>pa ramp</comment>
  107416. </bits>
  107417. </reg>
  107418. <reg name="pa_ramp_reg63" protect="rw">
  107419. <bits access="rw" name="ramp_curv6_p7" pos="15:8" rst="168">
  107420. <comment>pa ramp</comment>
  107421. </bits>
  107422. <bits access="rw" name="ramp_curv6_p6" pos="7:0" rst="148">
  107423. <comment>pa ramp</comment>
  107424. </bits>
  107425. </reg>
  107426. <reg name="pa_ramp_reg64" protect="rw">
  107427. <bits access="rw" name="ramp_curv6_p9" pos="15:8" rst="204">
  107428. <comment>pa ramp</comment>
  107429. </bits>
  107430. <bits access="rw" name="ramp_curv6_p8" pos="7:0" rst="188">
  107431. <comment>pa ramp</comment>
  107432. </bits>
  107433. </reg>
  107434. <reg name="pa_ramp_reg65" protect="rw">
  107435. <bits access="rw" name="ramp_curv6_pb" pos="15:8" rst="232">
  107436. <comment>pa ramp</comment>
  107437. </bits>
  107438. <bits access="rw" name="ramp_curv6_pa" pos="7:0" rst="220">
  107439. <comment>pa ramp</comment>
  107440. </bits>
  107441. </reg>
  107442. <reg name="pa_ramp_reg66" protect="rw">
  107443. <bits access="rw" name="ramp_curv6_pd" pos="15:8" rst="248">
  107444. <comment>pa ramp</comment>
  107445. </bits>
  107446. <bits access="rw" name="ramp_curv6_pc" pos="7:0" rst="240">
  107447. <comment>pa ramp</comment>
  107448. </bits>
  107449. </reg>
  107450. <reg name="pa_ramp_reg67" protect="rw">
  107451. <bits access="rw" name="ramp_curv6_pf" pos="15:8" rst="255">
  107452. <comment>pa ramp</comment>
  107453. </bits>
  107454. <bits access="rw" name="ramp_curv6_pe" pos="7:0" rst="252">
  107455. <comment>pa ramp</comment>
  107456. </bits>
  107457. </reg>
  107458. <reg name="pa_ramp_reg70" protect="rw">
  107459. <bits access="rw" name="ramp_curv7_p1" pos="15:8" rst="24">
  107460. <comment>pa ramp</comment>
  107461. </bits>
  107462. <bits access="rw" name="ramp_curv7_p0" pos="7:0" rst="0">
  107463. <comment>pa ramp</comment>
  107464. </bits>
  107465. </reg>
  107466. <reg name="pa_ramp_reg71" protect="rw">
  107467. <bits access="rw" name="ramp_curv7_p3" pos="15:8" rst="76">
  107468. <comment>pa ramp</comment>
  107469. </bits>
  107470. <bits access="rw" name="ramp_curv7_p2" pos="7:0" rst="52">
  107471. <comment>pa ramp</comment>
  107472. </bits>
  107473. </reg>
  107474. <reg name="pa_ramp_reg72" protect="rw">
  107475. <bits access="rw" name="ramp_curv7_p5" pos="15:8" rst="124">
  107476. <comment>pa ramp</comment>
  107477. </bits>
  107478. <bits access="rw" name="ramp_curv7_p4" pos="7:0" rst="104">
  107479. <comment>pa ramp</comment>
  107480. </bits>
  107481. </reg>
  107482. <reg name="pa_ramp_reg73" protect="rw">
  107483. <bits access="rw" name="ramp_curv7_p7" pos="15:8" rst="168">
  107484. <comment>pa ramp</comment>
  107485. </bits>
  107486. <bits access="rw" name="ramp_curv7_p6" pos="7:0" rst="148">
  107487. <comment>pa ramp</comment>
  107488. </bits>
  107489. </reg>
  107490. <reg name="pa_ramp_reg74" protect="rw">
  107491. <bits access="rw" name="ramp_curv7_p9" pos="15:8" rst="204">
  107492. <comment>pa ramp</comment>
  107493. </bits>
  107494. <bits access="rw" name="ramp_curv7_p8" pos="7:0" rst="188">
  107495. <comment>pa ramp</comment>
  107496. </bits>
  107497. </reg>
  107498. <reg name="pa_ramp_reg75" protect="rw">
  107499. <bits access="rw" name="ramp_curv7_pb" pos="15:8" rst="232">
  107500. <comment>pa ramp</comment>
  107501. </bits>
  107502. <bits access="rw" name="ramp_curv7_pa" pos="7:0" rst="220">
  107503. <comment>pa ramp</comment>
  107504. </bits>
  107505. </reg>
  107506. <reg name="pa_ramp_reg76" protect="rw">
  107507. <bits access="rw" name="ramp_curv7_pd" pos="15:8" rst="248">
  107508. <comment>pa ramp</comment>
  107509. </bits>
  107510. <bits access="rw" name="ramp_curv7_pc" pos="7:0" rst="240">
  107511. <comment>pa ramp</comment>
  107512. </bits>
  107513. </reg>
  107514. <reg name="pa_ramp_reg77" protect="rw">
  107515. <bits access="rw" name="ramp_curv7_pf" pos="15:8" rst="255">
  107516. <comment>pa ramp</comment>
  107517. </bits>
  107518. <bits access="rw" name="ramp_curv7_pe" pos="7:0" rst="252">
  107519. <comment>pa ramp</comment>
  107520. </bits>
  107521. </reg>
  107522. <reg name="pa_ramp_reg80" protect="rw">
  107523. <bits access="rw" name="ramp_curv8_p1" pos="15:8" rst="24">
  107524. <comment>pa ramp</comment>
  107525. </bits>
  107526. <bits access="rw" name="ramp_curv8_p0" pos="7:0" rst="0">
  107527. <comment>pa ramp</comment>
  107528. </bits>
  107529. </reg>
  107530. <reg name="pa_ramp_reg81" protect="rw">
  107531. <bits access="rw" name="ramp_curv8_p3" pos="15:8" rst="76">
  107532. <comment>pa ramp</comment>
  107533. </bits>
  107534. <bits access="rw" name="ramp_curv8_p2" pos="7:0" rst="52">
  107535. <comment>pa ramp</comment>
  107536. </bits>
  107537. </reg>
  107538. <reg name="pa_ramp_reg82" protect="rw">
  107539. <bits access="rw" name="ramp_curv8_p5" pos="15:8" rst="124">
  107540. <comment>pa ramp</comment>
  107541. </bits>
  107542. <bits access="rw" name="ramp_curv8_p4" pos="7:0" rst="104">
  107543. <comment>pa ramp</comment>
  107544. </bits>
  107545. </reg>
  107546. <reg name="pa_ramp_reg83" protect="rw">
  107547. <bits access="rw" name="ramp_curv8_p7" pos="15:8" rst="168">
  107548. <comment>pa ramp</comment>
  107549. </bits>
  107550. <bits access="rw" name="ramp_curv8_p6" pos="7:0" rst="148">
  107551. <comment>pa ramp</comment>
  107552. </bits>
  107553. </reg>
  107554. <reg name="pa_ramp_reg84" protect="rw">
  107555. <bits access="rw" name="ramp_curv8_p9" pos="15:8" rst="204">
  107556. <comment>pa ramp</comment>
  107557. </bits>
  107558. <bits access="rw" name="ramp_curv8_p8" pos="7:0" rst="188">
  107559. <comment>pa ramp</comment>
  107560. </bits>
  107561. </reg>
  107562. <reg name="pa_ramp_reg85" protect="rw">
  107563. <bits access="rw" name="ramp_curv8_pb" pos="15:8" rst="232">
  107564. <comment>pa ramp</comment>
  107565. </bits>
  107566. <bits access="rw" name="ramp_curv8_pa" pos="7:0" rst="220">
  107567. <comment>pa ramp</comment>
  107568. </bits>
  107569. </reg>
  107570. <reg name="pa_ramp_reg86" protect="rw">
  107571. <bits access="rw" name="ramp_curv8_pd" pos="15:8" rst="248">
  107572. <comment>pa ramp</comment>
  107573. </bits>
  107574. <bits access="rw" name="ramp_curv8_pc" pos="7:0" rst="240">
  107575. <comment>pa ramp</comment>
  107576. </bits>
  107577. </reg>
  107578. <reg name="pa_ramp_reg87" protect="rw">
  107579. <bits access="rw" name="ramp_curv8_pf" pos="15:8" rst="255">
  107580. <comment>pa ramp</comment>
  107581. </bits>
  107582. <bits access="rw" name="ramp_curv8_pe" pos="7:0" rst="252">
  107583. <comment>pa ramp</comment>
  107584. </bits>
  107585. </reg>
  107586. <reg name="pa_ramp_reg90" protect="rw">
  107587. <bits access="rw" name="ramp_curv9_p1" pos="15:8" rst="24">
  107588. <comment>pa ramp</comment>
  107589. </bits>
  107590. <bits access="rw" name="ramp_curv9_p0" pos="7:0" rst="0">
  107591. <comment>pa ramp</comment>
  107592. </bits>
  107593. </reg>
  107594. <reg name="pa_ramp_reg91" protect="rw">
  107595. <bits access="rw" name="ramp_curv9_p3" pos="15:8" rst="76">
  107596. <comment>pa ramp</comment>
  107597. </bits>
  107598. <bits access="rw" name="ramp_curv9_p2" pos="7:0" rst="52">
  107599. <comment>pa ramp</comment>
  107600. </bits>
  107601. </reg>
  107602. <reg name="pa_ramp_reg92" protect="rw">
  107603. <bits access="rw" name="ramp_curv9_p5" pos="15:8" rst="124">
  107604. <comment>pa ramp</comment>
  107605. </bits>
  107606. <bits access="rw" name="ramp_curv9_p4" pos="7:0" rst="104">
  107607. <comment>pa ramp</comment>
  107608. </bits>
  107609. </reg>
  107610. <reg name="pa_ramp_reg93" protect="rw">
  107611. <bits access="rw" name="ramp_curv9_p7" pos="15:8" rst="168">
  107612. <comment>pa ramp</comment>
  107613. </bits>
  107614. <bits access="rw" name="ramp_curv9_p6" pos="7:0" rst="148">
  107615. <comment>pa ramp</comment>
  107616. </bits>
  107617. </reg>
  107618. <reg name="pa_ramp_reg94" protect="rw">
  107619. <bits access="rw" name="ramp_curv9_p9" pos="15:8" rst="204">
  107620. <comment>pa ramp</comment>
  107621. </bits>
  107622. <bits access="rw" name="ramp_curv9_p8" pos="7:0" rst="188">
  107623. <comment>pa ramp</comment>
  107624. </bits>
  107625. </reg>
  107626. <reg name="pa_ramp_reg95" protect="rw">
  107627. <bits access="rw" name="ramp_curv9_pb" pos="15:8" rst="232">
  107628. <comment>pa ramp</comment>
  107629. </bits>
  107630. <bits access="rw" name="ramp_curv9_pa" pos="7:0" rst="220">
  107631. <comment>pa ramp</comment>
  107632. </bits>
  107633. </reg>
  107634. <reg name="pa_ramp_reg96" protect="rw">
  107635. <bits access="rw" name="ramp_curv9_pd" pos="15:8" rst="248">
  107636. <comment>pa ramp</comment>
  107637. </bits>
  107638. <bits access="rw" name="ramp_curv9_pc" pos="7:0" rst="240">
  107639. <comment>pa ramp</comment>
  107640. </bits>
  107641. </reg>
  107642. <reg name="pa_ramp_reg97" protect="rw">
  107643. <bits access="rw" name="ramp_curv9_pf" pos="15:8" rst="255">
  107644. <comment>pa ramp</comment>
  107645. </bits>
  107646. <bits access="rw" name="ramp_curv9_pe" pos="7:0" rst="252">
  107647. <comment>pa ramp</comment>
  107648. </bits>
  107649. </reg>
  107650. <reg name="pa_ramp_rega0" protect="rw">
  107651. <bits access="rw" name="ramp_curva_p1" pos="15:8" rst="24">
  107652. <comment>pa ramp</comment>
  107653. </bits>
  107654. <bits access="rw" name="ramp_curva_p0" pos="7:0" rst="0">
  107655. <comment>pa ramp</comment>
  107656. </bits>
  107657. </reg>
  107658. <reg name="pa_ramp_rega1" protect="rw">
  107659. <bits access="rw" name="ramp_curva_p3" pos="15:8" rst="76">
  107660. <comment>pa ramp</comment>
  107661. </bits>
  107662. <bits access="rw" name="ramp_curva_p2" pos="7:0" rst="52">
  107663. <comment>pa ramp</comment>
  107664. </bits>
  107665. </reg>
  107666. <reg name="pa_ramp_rega2" protect="rw">
  107667. <bits access="rw" name="ramp_curva_p5" pos="15:8" rst="124">
  107668. <comment>pa ramp</comment>
  107669. </bits>
  107670. <bits access="rw" name="ramp_curva_p4" pos="7:0" rst="104">
  107671. <comment>pa ramp</comment>
  107672. </bits>
  107673. </reg>
  107674. <reg name="pa_ramp_rega3" protect="rw">
  107675. <bits access="rw" name="ramp_curva_p7" pos="15:8" rst="168">
  107676. <comment>pa ramp</comment>
  107677. </bits>
  107678. <bits access="rw" name="ramp_curva_p6" pos="7:0" rst="148">
  107679. <comment>pa ramp</comment>
  107680. </bits>
  107681. </reg>
  107682. <reg name="pa_ramp_rega4" protect="rw">
  107683. <bits access="rw" name="ramp_curva_p9" pos="15:8" rst="204">
  107684. <comment>pa ramp</comment>
  107685. </bits>
  107686. <bits access="rw" name="ramp_curva_p8" pos="7:0" rst="188">
  107687. <comment>pa ramp</comment>
  107688. </bits>
  107689. </reg>
  107690. <reg name="pa_ramp_rega5" protect="rw">
  107691. <bits access="rw" name="ramp_curva_pb" pos="15:8" rst="232">
  107692. <comment>pa ramp</comment>
  107693. </bits>
  107694. <bits access="rw" name="ramp_curva_pa" pos="7:0" rst="220">
  107695. <comment>pa ramp</comment>
  107696. </bits>
  107697. </reg>
  107698. <reg name="pa_ramp_rega6" protect="rw">
  107699. <bits access="rw" name="ramp_curva_pd" pos="15:8" rst="248">
  107700. <comment>pa ramp</comment>
  107701. </bits>
  107702. <bits access="rw" name="ramp_curva_pc" pos="7:0" rst="240">
  107703. <comment>pa ramp</comment>
  107704. </bits>
  107705. </reg>
  107706. <reg name="pa_ramp_rega7" protect="rw">
  107707. <bits access="rw" name="ramp_curva_pf" pos="15:8" rst="255">
  107708. <comment>pa ramp</comment>
  107709. </bits>
  107710. <bits access="rw" name="ramp_curva_pe" pos="7:0" rst="252">
  107711. <comment>pa ramp</comment>
  107712. </bits>
  107713. </reg>
  107714. <reg name="pa_ramp_regb0" protect="rw">
  107715. <bits access="rw" name="ramp_curvb_p1" pos="15:8" rst="24">
  107716. <comment>pa ramp</comment>
  107717. </bits>
  107718. <bits access="rw" name="ramp_curvb_p0" pos="7:0" rst="0">
  107719. <comment>pa ramp</comment>
  107720. </bits>
  107721. </reg>
  107722. <reg name="pa_ramp_regb1" protect="rw">
  107723. <bits access="rw" name="ramp_curvb_p3" pos="15:8" rst="76">
  107724. <comment>pa ramp</comment>
  107725. </bits>
  107726. <bits access="rw" name="ramp_curvb_p2" pos="7:0" rst="52">
  107727. <comment>pa ramp</comment>
  107728. </bits>
  107729. </reg>
  107730. <reg name="pa_ramp_regb2" protect="rw">
  107731. <bits access="rw" name="ramp_curvb_p5" pos="15:8" rst="124">
  107732. <comment>pa ramp</comment>
  107733. </bits>
  107734. <bits access="rw" name="ramp_curvb_p4" pos="7:0" rst="104">
  107735. <comment>pa ramp</comment>
  107736. </bits>
  107737. </reg>
  107738. <reg name="pa_ramp_regb3" protect="rw">
  107739. <bits access="rw" name="ramp_curvb_p7" pos="15:8" rst="168">
  107740. <comment>pa ramp</comment>
  107741. </bits>
  107742. <bits access="rw" name="ramp_curvb_p6" pos="7:0" rst="148">
  107743. <comment>pa ramp</comment>
  107744. </bits>
  107745. </reg>
  107746. <reg name="pa_ramp_regb4" protect="rw">
  107747. <bits access="rw" name="ramp_curvb_p9" pos="15:8" rst="204">
  107748. <comment>pa ramp</comment>
  107749. </bits>
  107750. <bits access="rw" name="ramp_curvb_p8" pos="7:0" rst="188">
  107751. <comment>pa ramp</comment>
  107752. </bits>
  107753. </reg>
  107754. <reg name="pa_ramp_regb5" protect="rw">
  107755. <bits access="rw" name="ramp_curvb_pb" pos="15:8" rst="232">
  107756. <comment>pa ramp</comment>
  107757. </bits>
  107758. <bits access="rw" name="ramp_curvb_pa" pos="7:0" rst="220">
  107759. <comment>pa ramp</comment>
  107760. </bits>
  107761. </reg>
  107762. <reg name="pa_ramp_regb6" protect="rw">
  107763. <bits access="rw" name="ramp_curvb_pd" pos="15:8" rst="248">
  107764. <comment>pa ramp</comment>
  107765. </bits>
  107766. <bits access="rw" name="ramp_curvb_pc" pos="7:0" rst="240">
  107767. <comment>pa ramp</comment>
  107768. </bits>
  107769. </reg>
  107770. <reg name="pa_ramp_regb7" protect="rw">
  107771. <bits access="rw" name="ramp_curvb_pf" pos="15:8" rst="255">
  107772. <comment>pa ramp</comment>
  107773. </bits>
  107774. <bits access="rw" name="ramp_curvb_pe" pos="7:0" rst="252">
  107775. <comment>pa ramp</comment>
  107776. </bits>
  107777. </reg>
  107778. <reg name="pa_ramp_regc0" protect="rw">
  107779. <bits access="rw" name="ramp_curvc_p1" pos="15:8" rst="24">
  107780. <comment>pa ramp</comment>
  107781. </bits>
  107782. <bits access="rw" name="ramp_curvc_p0" pos="7:0" rst="0">
  107783. <comment>pa ramp</comment>
  107784. </bits>
  107785. </reg>
  107786. <reg name="pa_ramp_regc1" protect="rw">
  107787. <bits access="rw" name="ramp_curvc_p3" pos="15:8" rst="76">
  107788. <comment>pa ramp</comment>
  107789. </bits>
  107790. <bits access="rw" name="ramp_curvc_p2" pos="7:0" rst="52">
  107791. <comment>pa ramp</comment>
  107792. </bits>
  107793. </reg>
  107794. <reg name="pa_ramp_regc2" protect="rw">
  107795. <bits access="rw" name="ramp_curvc_p5" pos="15:8" rst="124">
  107796. <comment>pa ramp</comment>
  107797. </bits>
  107798. <bits access="rw" name="ramp_curvc_p4" pos="7:0" rst="104">
  107799. <comment>pa ramp</comment>
  107800. </bits>
  107801. </reg>
  107802. <reg name="pa_ramp_regc3" protect="rw">
  107803. <bits access="rw" name="ramp_curvc_p7" pos="15:8" rst="168">
  107804. <comment>pa ramp</comment>
  107805. </bits>
  107806. <bits access="rw" name="ramp_curvc_p6" pos="7:0" rst="148">
  107807. <comment>pa ramp</comment>
  107808. </bits>
  107809. </reg>
  107810. <reg name="pa_ramp_regc4" protect="rw">
  107811. <bits access="rw" name="ramp_curvc_p9" pos="15:8" rst="204">
  107812. <comment>pa ramp</comment>
  107813. </bits>
  107814. <bits access="rw" name="ramp_curvc_p8" pos="7:0" rst="188">
  107815. <comment>pa ramp</comment>
  107816. </bits>
  107817. </reg>
  107818. <reg name="pa_ramp_regc5" protect="rw">
  107819. <bits access="rw" name="ramp_curvc_pb" pos="15:8" rst="232">
  107820. <comment>pa ramp</comment>
  107821. </bits>
  107822. <bits access="rw" name="ramp_curvc_pa" pos="7:0" rst="220">
  107823. <comment>pa ramp</comment>
  107824. </bits>
  107825. </reg>
  107826. <reg name="pa_ramp_regc6" protect="rw">
  107827. <bits access="rw" name="ramp_curvc_pd" pos="15:8" rst="248">
  107828. <comment>pa ramp</comment>
  107829. </bits>
  107830. <bits access="rw" name="ramp_curvc_pc" pos="7:0" rst="240">
  107831. <comment>pa ramp</comment>
  107832. </bits>
  107833. </reg>
  107834. <reg name="pa_ramp_regc7" protect="rw">
  107835. <bits access="rw" name="ramp_curvc_pf" pos="15:8" rst="255">
  107836. <comment>pa ramp</comment>
  107837. </bits>
  107838. <bits access="rw" name="ramp_curvc_pe" pos="7:0" rst="252">
  107839. <comment>pa ramp</comment>
  107840. </bits>
  107841. </reg>
  107842. <reg name="pa_ramp_regd0" protect="rw">
  107843. <bits access="rw" name="ramp_curvd_p1" pos="15:8" rst="24">
  107844. <comment>pa ramp</comment>
  107845. </bits>
  107846. <bits access="rw" name="ramp_curvd_p0" pos="7:0" rst="0">
  107847. <comment>pa ramp</comment>
  107848. </bits>
  107849. </reg>
  107850. <reg name="pa_ramp_regd1" protect="rw">
  107851. <bits access="rw" name="ramp_curvd_p3" pos="15:8" rst="76">
  107852. <comment>pa ramp</comment>
  107853. </bits>
  107854. <bits access="rw" name="ramp_curvd_p2" pos="7:0" rst="52">
  107855. <comment>pa ramp</comment>
  107856. </bits>
  107857. </reg>
  107858. <reg name="pa_ramp_regd2" protect="rw">
  107859. <bits access="rw" name="ramp_curvd_p5" pos="15:8" rst="124">
  107860. <comment>pa ramp</comment>
  107861. </bits>
  107862. <bits access="rw" name="ramp_curvd_p4" pos="7:0" rst="104">
  107863. <comment>pa ramp</comment>
  107864. </bits>
  107865. </reg>
  107866. <reg name="pa_ramp_regd3" protect="rw">
  107867. <bits access="rw" name="ramp_curvd_p7" pos="15:8" rst="168">
  107868. <comment>pa ramp</comment>
  107869. </bits>
  107870. <bits access="rw" name="ramp_curvd_p6" pos="7:0" rst="148">
  107871. <comment>pa ramp</comment>
  107872. </bits>
  107873. </reg>
  107874. <reg name="pa_ramp_regd4" protect="rw">
  107875. <bits access="rw" name="ramp_curvd_p9" pos="15:8" rst="204">
  107876. <comment>pa ramp</comment>
  107877. </bits>
  107878. <bits access="rw" name="ramp_curvd_p8" pos="7:0" rst="188">
  107879. <comment>pa ramp</comment>
  107880. </bits>
  107881. </reg>
  107882. <reg name="pa_ramp_regd5" protect="rw">
  107883. <bits access="rw" name="ramp_curvd_pb" pos="15:8" rst="232">
  107884. <comment>pa ramp</comment>
  107885. </bits>
  107886. <bits access="rw" name="ramp_curvd_pa" pos="7:0" rst="220">
  107887. <comment>pa ramp</comment>
  107888. </bits>
  107889. </reg>
  107890. <reg name="pa_ramp_regd6" protect="rw">
  107891. <bits access="rw" name="ramp_curvd_pd" pos="15:8" rst="248">
  107892. <comment>pa ramp</comment>
  107893. </bits>
  107894. <bits access="rw" name="ramp_curvd_pc" pos="7:0" rst="240">
  107895. <comment>pa ramp</comment>
  107896. </bits>
  107897. </reg>
  107898. <reg name="pa_ramp_regd7" protect="rw">
  107899. <bits access="rw" name="ramp_curvd_pf" pos="15:8" rst="255">
  107900. <comment>pa ramp</comment>
  107901. </bits>
  107902. <bits access="rw" name="ramp_curvd_pe" pos="7:0" rst="252">
  107903. <comment>pa ramp</comment>
  107904. </bits>
  107905. </reg>
  107906. <reg name="pa_ramp_rege0" protect="rw">
  107907. <bits access="rw" name="ramp_curve_p1" pos="15:8" rst="24">
  107908. <comment>pa ramp</comment>
  107909. </bits>
  107910. <bits access="rw" name="ramp_curve_p0" pos="7:0" rst="0">
  107911. <comment>pa ramp</comment>
  107912. </bits>
  107913. </reg>
  107914. <reg name="pa_ramp_rege1" protect="rw">
  107915. <bits access="rw" name="ramp_curve_p3" pos="15:8" rst="76">
  107916. <comment>pa ramp</comment>
  107917. </bits>
  107918. <bits access="rw" name="ramp_curve_p2" pos="7:0" rst="52">
  107919. <comment>pa ramp</comment>
  107920. </bits>
  107921. </reg>
  107922. <reg name="pa_ramp_rege2" protect="rw">
  107923. <bits access="rw" name="ramp_curve_p5" pos="15:8" rst="124">
  107924. <comment>pa ramp</comment>
  107925. </bits>
  107926. <bits access="rw" name="ramp_curve_p4" pos="7:0" rst="104">
  107927. <comment>pa ramp</comment>
  107928. </bits>
  107929. </reg>
  107930. <reg name="pa_ramp_rege3" protect="rw">
  107931. <bits access="rw" name="ramp_curve_p7" pos="15:8" rst="168">
  107932. <comment>pa ramp</comment>
  107933. </bits>
  107934. <bits access="rw" name="ramp_curve_p6" pos="7:0" rst="148">
  107935. <comment>pa ramp</comment>
  107936. </bits>
  107937. </reg>
  107938. <reg name="pa_ramp_rege4" protect="rw">
  107939. <bits access="rw" name="ramp_curve_p9" pos="15:8" rst="204">
  107940. <comment>pa ramp</comment>
  107941. </bits>
  107942. <bits access="rw" name="ramp_curve_p8" pos="7:0" rst="188">
  107943. <comment>pa ramp</comment>
  107944. </bits>
  107945. </reg>
  107946. <reg name="pa_ramp_rege5" protect="rw">
  107947. <bits access="rw" name="ramp_curve_pb" pos="15:8" rst="232">
  107948. <comment>pa ramp</comment>
  107949. </bits>
  107950. <bits access="rw" name="ramp_curve_pa" pos="7:0" rst="220">
  107951. <comment>pa ramp</comment>
  107952. </bits>
  107953. </reg>
  107954. <reg name="pa_ramp_rege6" protect="rw">
  107955. <bits access="rw" name="ramp_curve_pd" pos="15:8" rst="248">
  107956. <comment>pa ramp</comment>
  107957. </bits>
  107958. <bits access="rw" name="ramp_curve_pc" pos="7:0" rst="240">
  107959. <comment>pa ramp</comment>
  107960. </bits>
  107961. </reg>
  107962. <reg name="pa_ramp_rege7" protect="rw">
  107963. <bits access="rw" name="ramp_curve_pf" pos="15:8" rst="255">
  107964. <comment>pa ramp</comment>
  107965. </bits>
  107966. <bits access="rw" name="ramp_curve_pe" pos="7:0" rst="252">
  107967. <comment>pa ramp</comment>
  107968. </bits>
  107969. </reg>
  107970. <reg name="pa_ramp_regf0" protect="rw">
  107971. <bits access="rw" name="ramp_curvf_p1" pos="15:8" rst="24">
  107972. <comment>pa ramp</comment>
  107973. </bits>
  107974. <bits access="rw" name="ramp_curvf_p0" pos="7:0" rst="0">
  107975. <comment>pa ramp</comment>
  107976. </bits>
  107977. </reg>
  107978. <reg name="pa_ramp_regf1" protect="rw">
  107979. <bits access="rw" name="ramp_curvf_p3" pos="15:8" rst="76">
  107980. <comment>pa ramp</comment>
  107981. </bits>
  107982. <bits access="rw" name="ramp_curvf_p2" pos="7:0" rst="52">
  107983. <comment>pa ramp</comment>
  107984. </bits>
  107985. </reg>
  107986. <reg name="pa_ramp_regf2" protect="rw">
  107987. <bits access="rw" name="ramp_curvf_p5" pos="15:8" rst="124">
  107988. <comment>pa ramp</comment>
  107989. </bits>
  107990. <bits access="rw" name="ramp_curvf_p4" pos="7:0" rst="104">
  107991. <comment>pa ramp</comment>
  107992. </bits>
  107993. </reg>
  107994. <reg name="pa_ramp_regf3" protect="rw">
  107995. <bits access="rw" name="ramp_curvf_p7" pos="15:8" rst="168">
  107996. <comment>pa ramp</comment>
  107997. </bits>
  107998. <bits access="rw" name="ramp_curvf_p6" pos="7:0" rst="148">
  107999. <comment>pa ramp</comment>
  108000. </bits>
  108001. </reg>
  108002. <reg name="pa_ramp_regf4" protect="rw">
  108003. <bits access="rw" name="ramp_curvf_p9" pos="15:8" rst="204">
  108004. <comment>pa ramp</comment>
  108005. </bits>
  108006. <bits access="rw" name="ramp_curvf_p8" pos="7:0" rst="188">
  108007. <comment>pa ramp</comment>
  108008. </bits>
  108009. </reg>
  108010. <reg name="pa_ramp_regf5" protect="rw">
  108011. <bits access="rw" name="ramp_curvf_pb" pos="15:8" rst="232">
  108012. <comment>pa ramp</comment>
  108013. </bits>
  108014. <bits access="rw" name="ramp_curvf_pa" pos="7:0" rst="220">
  108015. <comment>pa ramp</comment>
  108016. </bits>
  108017. </reg>
  108018. <reg name="pa_ramp_regf6" protect="rw">
  108019. <bits access="rw" name="ramp_curvf_pd" pos="15:8" rst="248">
  108020. <comment>pa ramp</comment>
  108021. </bits>
  108022. <bits access="rw" name="ramp_curvf_pc" pos="7:0" rst="240">
  108023. <comment>pa ramp</comment>
  108024. </bits>
  108025. </reg>
  108026. <reg name="pa_ramp_regf7" protect="rw">
  108027. <bits access="rw" name="ramp_curvf_pf" pos="15:8" rst="255">
  108028. <comment>pa ramp</comment>
  108029. </bits>
  108030. <bits access="rw" name="ramp_curvf_pe" pos="7:0" rst="252">
  108031. <comment>pa ramp</comment>
  108032. </bits>
  108033. </reg>
  108034. <reg name="pa_ramp_reg100" protect="rw">
  108035. <bits access="rw" name="ramp_curv10_p1" pos="15:8" rst="24">
  108036. <comment>pa ramp</comment>
  108037. </bits>
  108038. <bits access="rw" name="ramp_curv10_p0" pos="7:0" rst="0">
  108039. <comment>pa ramp</comment>
  108040. </bits>
  108041. </reg>
  108042. <reg name="pa_ramp_reg101" protect="rw">
  108043. <bits access="rw" name="ramp_curv10_p3" pos="15:8" rst="76">
  108044. <comment>pa ramp</comment>
  108045. </bits>
  108046. <bits access="rw" name="ramp_curv10_p2" pos="7:0" rst="52">
  108047. <comment>pa ramp</comment>
  108048. </bits>
  108049. </reg>
  108050. <reg name="pa_ramp_reg102" protect="rw">
  108051. <bits access="rw" name="ramp_curv10_p5" pos="15:8" rst="124">
  108052. <comment>pa ramp</comment>
  108053. </bits>
  108054. <bits access="rw" name="ramp_curv10_p4" pos="7:0" rst="104">
  108055. <comment>pa ramp</comment>
  108056. </bits>
  108057. </reg>
  108058. <reg name="pa_ramp_reg103" protect="rw">
  108059. <bits access="rw" name="ramp_curv10_p7" pos="15:8" rst="168">
  108060. <comment>pa ramp</comment>
  108061. </bits>
  108062. <bits access="rw" name="ramp_curv10_p6" pos="7:0" rst="148">
  108063. <comment>pa ramp</comment>
  108064. </bits>
  108065. </reg>
  108066. <reg name="pa_ramp_reg104" protect="rw">
  108067. <bits access="rw" name="ramp_curv10_p9" pos="15:8" rst="204">
  108068. <comment>pa ramp</comment>
  108069. </bits>
  108070. <bits access="rw" name="ramp_curv10_p8" pos="7:0" rst="188">
  108071. <comment>pa ramp</comment>
  108072. </bits>
  108073. </reg>
  108074. <reg name="pa_ramp_reg105" protect="rw">
  108075. <bits access="rw" name="ramp_curv10_pb" pos="15:8" rst="232">
  108076. <comment>pa ramp</comment>
  108077. </bits>
  108078. <bits access="rw" name="ramp_curv10_pa" pos="7:0" rst="220">
  108079. <comment>pa ramp</comment>
  108080. </bits>
  108081. </reg>
  108082. <reg name="pa_ramp_reg106" protect="rw">
  108083. <bits access="rw" name="ramp_curv10_pd" pos="15:8" rst="248">
  108084. <comment>pa ramp</comment>
  108085. </bits>
  108086. <bits access="rw" name="ramp_curv10_pc" pos="7:0" rst="240">
  108087. <comment>pa ramp</comment>
  108088. </bits>
  108089. </reg>
  108090. <reg name="pa_ramp_reg107" protect="rw">
  108091. <bits access="rw" name="ramp_curv10_pf" pos="15:8" rst="255">
  108092. <comment>pa ramp</comment>
  108093. </bits>
  108094. <bits access="rw" name="ramp_curv10_pe" pos="7:0" rst="252">
  108095. <comment>pa ramp</comment>
  108096. </bits>
  108097. </reg>
  108098. <reg name="pa_ramp_reg110" protect="rw">
  108099. <bits access="rw" name="ramp_curv11_p1" pos="15:8" rst="24">
  108100. <comment>pa ramp</comment>
  108101. </bits>
  108102. <bits access="rw" name="ramp_curv11_p0" pos="7:0" rst="0">
  108103. <comment>pa ramp</comment>
  108104. </bits>
  108105. </reg>
  108106. <reg name="pa_ramp_reg111" protect="rw">
  108107. <bits access="rw" name="ramp_curv11_p3" pos="15:8" rst="76">
  108108. <comment>pa ramp</comment>
  108109. </bits>
  108110. <bits access="rw" name="ramp_curv11_p2" pos="7:0" rst="52">
  108111. <comment>pa ramp</comment>
  108112. </bits>
  108113. </reg>
  108114. <reg name="pa_ramp_reg112" protect="rw">
  108115. <bits access="rw" name="ramp_curv11_p5" pos="15:8" rst="124">
  108116. <comment>pa ramp</comment>
  108117. </bits>
  108118. <bits access="rw" name="ramp_curv11_p4" pos="7:0" rst="104">
  108119. <comment>pa ramp</comment>
  108120. </bits>
  108121. </reg>
  108122. <reg name="pa_ramp_reg113" protect="rw">
  108123. <bits access="rw" name="ramp_curv11_p7" pos="15:8" rst="168">
  108124. <comment>pa ramp</comment>
  108125. </bits>
  108126. <bits access="rw" name="ramp_curv11_p6" pos="7:0" rst="148">
  108127. <comment>pa ramp</comment>
  108128. </bits>
  108129. </reg>
  108130. <reg name="pa_ramp_reg114" protect="rw">
  108131. <bits access="rw" name="ramp_curv11_p9" pos="15:8" rst="204">
  108132. <comment>pa ramp</comment>
  108133. </bits>
  108134. <bits access="rw" name="ramp_curv11_p8" pos="7:0" rst="188">
  108135. <comment>pa ramp</comment>
  108136. </bits>
  108137. </reg>
  108138. <reg name="pa_ramp_reg115" protect="rw">
  108139. <bits access="rw" name="ramp_curv11_pb" pos="15:8" rst="232">
  108140. <comment>pa ramp</comment>
  108141. </bits>
  108142. <bits access="rw" name="ramp_curv11_pa" pos="7:0" rst="220">
  108143. <comment>pa ramp</comment>
  108144. </bits>
  108145. </reg>
  108146. <reg name="pa_ramp_reg116" protect="rw">
  108147. <bits access="rw" name="ramp_curv11_pd" pos="15:8" rst="248">
  108148. <comment>pa ramp</comment>
  108149. </bits>
  108150. <bits access="rw" name="ramp_curv11_pc" pos="7:0" rst="240">
  108151. <comment>pa ramp</comment>
  108152. </bits>
  108153. </reg>
  108154. <reg name="pa_ramp_reg117" protect="rw">
  108155. <bits access="rw" name="ramp_curv11_pf" pos="15:8" rst="255">
  108156. <comment>pa ramp</comment>
  108157. </bits>
  108158. <bits access="rw" name="ramp_curv11_pe" pos="7:0" rst="252">
  108159. <comment>pa ramp</comment>
  108160. </bits>
  108161. </reg>
  108162. <reg name="pa_ramp_reg120" protect="rw">
  108163. <bits access="rw" name="ramp_curv12_p1" pos="15:8" rst="24">
  108164. <comment>pa ramp</comment>
  108165. </bits>
  108166. <bits access="rw" name="ramp_curv12_p0" pos="7:0" rst="0">
  108167. <comment>pa ramp</comment>
  108168. </bits>
  108169. </reg>
  108170. <reg name="pa_ramp_reg121" protect="rw">
  108171. <bits access="rw" name="ramp_curv12_p3" pos="15:8" rst="76">
  108172. <comment>pa ramp</comment>
  108173. </bits>
  108174. <bits access="rw" name="ramp_curv12_p2" pos="7:0" rst="52">
  108175. <comment>pa ramp</comment>
  108176. </bits>
  108177. </reg>
  108178. <reg name="pa_ramp_reg122" protect="rw">
  108179. <bits access="rw" name="ramp_curv12_p5" pos="15:8" rst="124">
  108180. <comment>pa ramp</comment>
  108181. </bits>
  108182. <bits access="rw" name="ramp_curv12_p4" pos="7:0" rst="104">
  108183. <comment>pa ramp</comment>
  108184. </bits>
  108185. </reg>
  108186. <reg name="pa_ramp_reg123" protect="rw">
  108187. <bits access="rw" name="ramp_curv12_p7" pos="15:8" rst="168">
  108188. <comment>pa ramp</comment>
  108189. </bits>
  108190. <bits access="rw" name="ramp_curv12_p6" pos="7:0" rst="148">
  108191. <comment>pa ramp</comment>
  108192. </bits>
  108193. </reg>
  108194. <reg name="pa_ramp_reg124" protect="rw">
  108195. <bits access="rw" name="ramp_curv12_p9" pos="15:8" rst="204">
  108196. <comment>pa ramp</comment>
  108197. </bits>
  108198. <bits access="rw" name="ramp_curv12_p8" pos="7:0" rst="188">
  108199. <comment>pa ramp</comment>
  108200. </bits>
  108201. </reg>
  108202. <reg name="pa_ramp_reg125" protect="rw">
  108203. <bits access="rw" name="ramp_curv12_pb" pos="15:8" rst="232">
  108204. <comment>pa ramp</comment>
  108205. </bits>
  108206. <bits access="rw" name="ramp_curv12_pa" pos="7:0" rst="220">
  108207. <comment>pa ramp</comment>
  108208. </bits>
  108209. </reg>
  108210. <reg name="pa_ramp_reg126" protect="rw">
  108211. <bits access="rw" name="ramp_curv12_pd" pos="15:8" rst="248">
  108212. <comment>pa ramp</comment>
  108213. </bits>
  108214. <bits access="rw" name="ramp_curv12_pc" pos="7:0" rst="240">
  108215. <comment>pa ramp</comment>
  108216. </bits>
  108217. </reg>
  108218. <reg name="pa_ramp_reg127" protect="rw">
  108219. <bits access="rw" name="ramp_curv12_pf" pos="15:8" rst="255">
  108220. <comment>pa ramp</comment>
  108221. </bits>
  108222. <bits access="rw" name="ramp_curv12_pe" pos="7:0" rst="252">
  108223. <comment>pa ramp</comment>
  108224. </bits>
  108225. </reg>
  108226. <reg name="pa_ramp_reg130" protect="rw">
  108227. <bits access="rw" name="ramp_curv13_p1" pos="15:8" rst="24">
  108228. <comment>pa ramp</comment>
  108229. </bits>
  108230. <bits access="rw" name="ramp_curv13_p0" pos="7:0" rst="0">
  108231. <comment>pa ramp</comment>
  108232. </bits>
  108233. </reg>
  108234. <reg name="pa_ramp_reg131" protect="rw">
  108235. <bits access="rw" name="ramp_curv13_p3" pos="15:8" rst="76">
  108236. <comment>pa ramp</comment>
  108237. </bits>
  108238. <bits access="rw" name="ramp_curv13_p2" pos="7:0" rst="52">
  108239. <comment>pa ramp</comment>
  108240. </bits>
  108241. </reg>
  108242. <reg name="pa_ramp_reg132" protect="rw">
  108243. <bits access="rw" name="ramp_curv13_p5" pos="15:8" rst="124">
  108244. <comment>pa ramp</comment>
  108245. </bits>
  108246. <bits access="rw" name="ramp_curv13_p4" pos="7:0" rst="104">
  108247. <comment>pa ramp</comment>
  108248. </bits>
  108249. </reg>
  108250. <reg name="pa_ramp_reg133" protect="rw">
  108251. <bits access="rw" name="ramp_curv13_p7" pos="15:8" rst="168">
  108252. <comment>pa ramp</comment>
  108253. </bits>
  108254. <bits access="rw" name="ramp_curv13_p6" pos="7:0" rst="148">
  108255. <comment>pa ramp</comment>
  108256. </bits>
  108257. </reg>
  108258. <reg name="pa_ramp_reg134" protect="rw">
  108259. <bits access="rw" name="ramp_curv13_p9" pos="15:8" rst="204">
  108260. <comment>pa ramp</comment>
  108261. </bits>
  108262. <bits access="rw" name="ramp_curv13_p8" pos="7:0" rst="188">
  108263. <comment>pa ramp</comment>
  108264. </bits>
  108265. </reg>
  108266. <reg name="pa_ramp_reg135" protect="rw">
  108267. <bits access="rw" name="ramp_curv13_pb" pos="15:8" rst="232">
  108268. <comment>pa ramp</comment>
  108269. </bits>
  108270. <bits access="rw" name="ramp_curv13_pa" pos="7:0" rst="220">
  108271. <comment>pa ramp</comment>
  108272. </bits>
  108273. </reg>
  108274. <reg name="pa_ramp_reg136" protect="rw">
  108275. <bits access="rw" name="ramp_curv13_pd" pos="15:8" rst="248">
  108276. <comment>pa ramp</comment>
  108277. </bits>
  108278. <bits access="rw" name="ramp_curv13_pc" pos="7:0" rst="240">
  108279. <comment>pa ramp</comment>
  108280. </bits>
  108281. </reg>
  108282. <reg name="pa_ramp_reg137" protect="rw">
  108283. <bits access="rw" name="ramp_curv13_pf" pos="15:8" rst="255">
  108284. <comment>pa ramp</comment>
  108285. </bits>
  108286. <bits access="rw" name="ramp_curv13_pe" pos="7:0" rst="252">
  108287. <comment>pa ramp</comment>
  108288. </bits>
  108289. </reg>
  108290. <reg name="pa_ramp_reg140" protect="rw">
  108291. <bits access="rw" name="ramp_curv14_p1" pos="15:8" rst="24">
  108292. <comment>pa ramp</comment>
  108293. </bits>
  108294. <bits access="rw" name="ramp_curv14_p0" pos="7:0" rst="0">
  108295. <comment>pa ramp</comment>
  108296. </bits>
  108297. </reg>
  108298. <reg name="pa_ramp_reg141" protect="rw">
  108299. <bits access="rw" name="ramp_curv14_p3" pos="15:8" rst="76">
  108300. <comment>pa ramp</comment>
  108301. </bits>
  108302. <bits access="rw" name="ramp_curv14_p2" pos="7:0" rst="52">
  108303. <comment>pa ramp</comment>
  108304. </bits>
  108305. </reg>
  108306. <reg name="pa_ramp_reg142" protect="rw">
  108307. <bits access="rw" name="ramp_curv14_p5" pos="15:8" rst="124">
  108308. <comment>pa ramp</comment>
  108309. </bits>
  108310. <bits access="rw" name="ramp_curv14_p4" pos="7:0" rst="104">
  108311. <comment>pa ramp</comment>
  108312. </bits>
  108313. </reg>
  108314. <reg name="pa_ramp_reg143" protect="rw">
  108315. <bits access="rw" name="ramp_curv14_p7" pos="15:8" rst="168">
  108316. <comment>pa ramp</comment>
  108317. </bits>
  108318. <bits access="rw" name="ramp_curv14_p6" pos="7:0" rst="148">
  108319. <comment>pa ramp</comment>
  108320. </bits>
  108321. </reg>
  108322. <reg name="pa_ramp_reg144" protect="rw">
  108323. <bits access="rw" name="ramp_curv14_p9" pos="15:8" rst="204">
  108324. <comment>pa ramp</comment>
  108325. </bits>
  108326. <bits access="rw" name="ramp_curv14_p8" pos="7:0" rst="188">
  108327. <comment>pa ramp</comment>
  108328. </bits>
  108329. </reg>
  108330. <reg name="pa_ramp_reg145" protect="rw">
  108331. <bits access="rw" name="ramp_curv14_pb" pos="15:8" rst="232">
  108332. <comment>pa ramp</comment>
  108333. </bits>
  108334. <bits access="rw" name="ramp_curv14_pa" pos="7:0" rst="220">
  108335. <comment>pa ramp</comment>
  108336. </bits>
  108337. </reg>
  108338. <reg name="pa_ramp_reg146" protect="rw">
  108339. <bits access="rw" name="ramp_curv14_pd" pos="15:8" rst="248">
  108340. <comment>pa ramp</comment>
  108341. </bits>
  108342. <bits access="rw" name="ramp_curv14_pc" pos="7:0" rst="240">
  108343. <comment>pa ramp</comment>
  108344. </bits>
  108345. </reg>
  108346. <reg name="pa_ramp_reg147" protect="rw">
  108347. <bits access="rw" name="ramp_curv14_pf" pos="15:8" rst="255">
  108348. <comment>pa ramp</comment>
  108349. </bits>
  108350. <bits access="rw" name="ramp_curv14_pe" pos="7:0" rst="252">
  108351. <comment>pa ramp</comment>
  108352. </bits>
  108353. </reg>
  108354. <reg name="pa_ramp_reg150" protect="rw">
  108355. <bits access="rw" name="ramp_curv15_p1" pos="15:8" rst="24">
  108356. <comment>pa ramp</comment>
  108357. </bits>
  108358. <bits access="rw" name="ramp_curv15_p0" pos="7:0" rst="0">
  108359. <comment>pa ramp</comment>
  108360. </bits>
  108361. </reg>
  108362. <reg name="pa_ramp_reg151" protect="rw">
  108363. <bits access="rw" name="ramp_curv15_p3" pos="15:8" rst="76">
  108364. <comment>pa ramp</comment>
  108365. </bits>
  108366. <bits access="rw" name="ramp_curv15_p2" pos="7:0" rst="52">
  108367. <comment>pa ramp</comment>
  108368. </bits>
  108369. </reg>
  108370. <reg name="pa_ramp_reg152" protect="rw">
  108371. <bits access="rw" name="ramp_curv15_p5" pos="15:8" rst="124">
  108372. <comment>pa ramp</comment>
  108373. </bits>
  108374. <bits access="rw" name="ramp_curv15_p4" pos="7:0" rst="104">
  108375. <comment>pa ramp</comment>
  108376. </bits>
  108377. </reg>
  108378. <reg name="pa_ramp_reg153" protect="rw">
  108379. <bits access="rw" name="ramp_curv15_p7" pos="15:8" rst="168">
  108380. <comment>pa ramp</comment>
  108381. </bits>
  108382. <bits access="rw" name="ramp_curv15_p6" pos="7:0" rst="148">
  108383. <comment>pa ramp</comment>
  108384. </bits>
  108385. </reg>
  108386. <reg name="pa_ramp_reg154" protect="rw">
  108387. <bits access="rw" name="ramp_curv15_p9" pos="15:8" rst="204">
  108388. <comment>pa ramp</comment>
  108389. </bits>
  108390. <bits access="rw" name="ramp_curv15_p8" pos="7:0" rst="188">
  108391. <comment>pa ramp</comment>
  108392. </bits>
  108393. </reg>
  108394. <reg name="pa_ramp_reg155" protect="rw">
  108395. <bits access="rw" name="ramp_curv15_pb" pos="15:8" rst="232">
  108396. <comment>pa ramp</comment>
  108397. </bits>
  108398. <bits access="rw" name="ramp_curv15_pa" pos="7:0" rst="220">
  108399. <comment>pa ramp</comment>
  108400. </bits>
  108401. </reg>
  108402. <reg name="pa_ramp_reg156" protect="rw">
  108403. <bits access="rw" name="ramp_curv15_pd" pos="15:8" rst="248">
  108404. <comment>pa ramp</comment>
  108405. </bits>
  108406. <bits access="rw" name="ramp_curv15_pc" pos="7:0" rst="240">
  108407. <comment>pa ramp</comment>
  108408. </bits>
  108409. </reg>
  108410. <reg name="pa_ramp_reg157" protect="rw">
  108411. <bits access="rw" name="ramp_curv15_pf" pos="15:8" rst="255">
  108412. <comment>pa ramp</comment>
  108413. </bits>
  108414. <bits access="rw" name="ramp_curv15_pe" pos="7:0" rst="252">
  108415. <comment>pa ramp</comment>
  108416. </bits>
  108417. </reg>
  108418. <reg name="pa_ramp_reg160" protect="rw">
  108419. <bits access="rw" name="ramp_curv16_p1" pos="15:8" rst="24">
  108420. <comment>pa ramp</comment>
  108421. </bits>
  108422. <bits access="rw" name="ramp_curv16_p0" pos="7:0" rst="0">
  108423. <comment>pa ramp</comment>
  108424. </bits>
  108425. </reg>
  108426. <reg name="pa_ramp_reg161" protect="rw">
  108427. <bits access="rw" name="ramp_curv16_p3" pos="15:8" rst="76">
  108428. <comment>pa ramp</comment>
  108429. </bits>
  108430. <bits access="rw" name="ramp_curv16_p2" pos="7:0" rst="52">
  108431. <comment>pa ramp</comment>
  108432. </bits>
  108433. </reg>
  108434. <reg name="pa_ramp_reg162" protect="rw">
  108435. <bits access="rw" name="ramp_curv16_p5" pos="15:8" rst="124">
  108436. <comment>pa ramp</comment>
  108437. </bits>
  108438. <bits access="rw" name="ramp_curv16_p4" pos="7:0" rst="104">
  108439. <comment>pa ramp</comment>
  108440. </bits>
  108441. </reg>
  108442. <reg name="pa_ramp_reg163" protect="rw">
  108443. <bits access="rw" name="ramp_curv16_p7" pos="15:8" rst="168">
  108444. <comment>pa ramp</comment>
  108445. </bits>
  108446. <bits access="rw" name="ramp_curv16_p6" pos="7:0" rst="148">
  108447. <comment>pa ramp</comment>
  108448. </bits>
  108449. </reg>
  108450. <reg name="pa_ramp_reg164" protect="rw">
  108451. <bits access="rw" name="ramp_curv16_p9" pos="15:8" rst="204">
  108452. <comment>pa ramp</comment>
  108453. </bits>
  108454. <bits access="rw" name="ramp_curv16_p8" pos="7:0" rst="188">
  108455. <comment>pa ramp</comment>
  108456. </bits>
  108457. </reg>
  108458. <reg name="pa_ramp_reg165" protect="rw">
  108459. <bits access="rw" name="ramp_curv16_pb" pos="15:8" rst="232">
  108460. <comment>pa ramp</comment>
  108461. </bits>
  108462. <bits access="rw" name="ramp_curv16_pa" pos="7:0" rst="220">
  108463. <comment>pa ramp</comment>
  108464. </bits>
  108465. </reg>
  108466. <reg name="pa_ramp_reg166" protect="rw">
  108467. <bits access="rw" name="ramp_curv16_pd" pos="15:8" rst="248">
  108468. <comment>pa ramp</comment>
  108469. </bits>
  108470. <bits access="rw" name="ramp_curv16_pc" pos="7:0" rst="240">
  108471. <comment>pa ramp</comment>
  108472. </bits>
  108473. </reg>
  108474. <reg name="pa_ramp_reg167" protect="rw">
  108475. <bits access="rw" name="ramp_curv16_pf" pos="15:8" rst="255">
  108476. <comment>pa ramp</comment>
  108477. </bits>
  108478. <bits access="rw" name="ramp_curv16_pe" pos="7:0" rst="252">
  108479. <comment>pa ramp</comment>
  108480. </bits>
  108481. </reg>
  108482. <reg name="pa_ramp_reg170" protect="rw">
  108483. <bits access="rw" name="ramp_curv17_p1" pos="15:8" rst="24">
  108484. <comment>pa ramp</comment>
  108485. </bits>
  108486. <bits access="rw" name="ramp_curv17_p0" pos="7:0" rst="0">
  108487. <comment>pa ramp</comment>
  108488. </bits>
  108489. </reg>
  108490. <reg name="pa_ramp_reg171" protect="rw">
  108491. <bits access="rw" name="ramp_curv17_p3" pos="15:8" rst="76">
  108492. <comment>pa ramp</comment>
  108493. </bits>
  108494. <bits access="rw" name="ramp_curv17_p2" pos="7:0" rst="52">
  108495. <comment>pa ramp</comment>
  108496. </bits>
  108497. </reg>
  108498. <reg name="pa_ramp_reg172" protect="rw">
  108499. <bits access="rw" name="ramp_curv17_p5" pos="15:8" rst="124">
  108500. <comment>pa ramp</comment>
  108501. </bits>
  108502. <bits access="rw" name="ramp_curv17_p4" pos="7:0" rst="104">
  108503. <comment>pa ramp</comment>
  108504. </bits>
  108505. </reg>
  108506. <reg name="pa_ramp_reg173" protect="rw">
  108507. <bits access="rw" name="ramp_curv17_p7" pos="15:8" rst="168">
  108508. <comment>pa ramp</comment>
  108509. </bits>
  108510. <bits access="rw" name="ramp_curv17_p6" pos="7:0" rst="148">
  108511. <comment>pa ramp</comment>
  108512. </bits>
  108513. </reg>
  108514. <reg name="pa_ramp_reg174" protect="rw">
  108515. <bits access="rw" name="ramp_curv17_p9" pos="15:8" rst="204">
  108516. <comment>pa ramp</comment>
  108517. </bits>
  108518. <bits access="rw" name="ramp_curv17_p8" pos="7:0" rst="188">
  108519. <comment>pa ramp</comment>
  108520. </bits>
  108521. </reg>
  108522. <reg name="pa_ramp_reg175" protect="rw">
  108523. <bits access="rw" name="ramp_curv17_pb" pos="15:8" rst="232">
  108524. <comment>pa ramp</comment>
  108525. </bits>
  108526. <bits access="rw" name="ramp_curv17_pa" pos="7:0" rst="220">
  108527. <comment>pa ramp</comment>
  108528. </bits>
  108529. </reg>
  108530. <reg name="pa_ramp_reg176" protect="rw">
  108531. <bits access="rw" name="ramp_curv17_pd" pos="15:8" rst="248">
  108532. <comment>pa ramp</comment>
  108533. </bits>
  108534. <bits access="rw" name="ramp_curv17_pc" pos="7:0" rst="240">
  108535. <comment>pa ramp</comment>
  108536. </bits>
  108537. </reg>
  108538. <reg name="pa_ramp_reg177" protect="rw">
  108539. <bits access="rw" name="ramp_curv17_pf" pos="15:8" rst="255">
  108540. <comment>pa ramp</comment>
  108541. </bits>
  108542. <bits access="rw" name="ramp_curv17_pe" pos="7:0" rst="252">
  108543. <comment>pa ramp</comment>
  108544. </bits>
  108545. </reg>
  108546. <reg name="pa_on_h_reg" protect="rw">
  108547. <bits access="rw" name="pa_on_h_dr_reg" pos="11" rst="0">
  108548. <comment>pa_on_h direct value</comment>
  108549. </bits>
  108550. <bits access="rw" name="pa_on_h_dr_ctrl" pos="10" rst="0">
  108551. <comment>pa_on_h direct control, assert high</comment>
  108552. </bits>
  108553. <bits access="rw" name="ramp_dac_th" pos="9:0" rst="1023">
  108554. <comment>threashold</comment>
  108555. </bits>
  108556. </reg>
  108557. <hole size="2016"/>
  108558. <reg name="sys_ctrl_reg_20" protect="rw">
  108559. <bits access="rw" name="sys_ctrl2_0" pos="15:0" rst="65535">
  108560. <comment>sys ctrl</comment>
  108561. </bits>
  108562. </reg>
  108563. <reg name="sys_ctrl_reg_22" protect="rw">
  108564. <bits access="rw" name="sys_ctrl2_2" pos="15:0" rst="32767">
  108565. <comment>sys ctrl</comment>
  108566. </bits>
  108567. </reg>
  108568. <reg name="sys_ctrl_reg_24" protect="rw">
  108569. <bits access="rw" name="sys_ctrl2_4" pos="15:0" rst="65535">
  108570. <comment>sys ctrl</comment>
  108571. </bits>
  108572. </reg>
  108573. <reg name="sys_ctrl_reg_26" protect="rw">
  108574. <bits access="rw" name="sys_ctrl2_6" pos="15:0" rst="65535">
  108575. <comment>sys ctrl</comment>
  108576. </bits>
  108577. </reg>
  108578. <reg name="sys_ctrl_reg_28" protect="rw">
  108579. <bits access="rw" name="sys_ctrl2_8" pos="15:0" rst="3">
  108580. <comment>sys ctrl</comment>
  108581. </bits>
  108582. </reg>
  108583. <reg name="sys_ctrl_reg_2a" protect="rw">
  108584. <bits access="rw" name="sys_ctrl2_a" pos="15:0" rst="0">
  108585. <comment>sys ctrl</comment>
  108586. </bits>
  108587. </reg>
  108588. <reg name="sys_ctrl_reg_2c" protect="rw">
  108589. <bits access="rw" name="sys_ctrl2_c" pos="15:0" rst="65535">
  108590. <comment>sys ctrl</comment>
  108591. </bits>
  108592. </reg>
  108593. <reg name="sys_ctrl_reg_2e" protect="rw">
  108594. <bits access="rw" name="sys_ctrl2_e" pos="15:0" rst="65535">
  108595. <comment>sys ctrl</comment>
  108596. </bits>
  108597. </reg>
  108598. <reg name="sys_ctrl_reg_210" protect="rw">
  108599. <bits access="rw" name="sys_ctrl2_10" pos="15:0" rst="49152">
  108600. <comment>sys ctrl</comment>
  108601. </bits>
  108602. </reg>
  108603. <reg name="sys_ctrl_reg_212" protect="rw">
  108604. <bits access="rw" name="sys_ctrl2_12" pos="15:0" rst="0">
  108605. <comment>sys ctrl</comment>
  108606. </bits>
  108607. </reg>
  108608. <reg name="sys_ctrl_reg_214" protect="rw">
  108609. <bits access="rw" name="sys_ctrl2_14" pos="15:0" rst="0">
  108610. <comment>sys ctrl</comment>
  108611. </bits>
  108612. </reg>
  108613. <reg name="sys_ctrl_reg_216" protect="rw">
  108614. <bits access="rw" name="sys_ctrl2_16" pos="15:0" rst="0">
  108615. <comment>sys ctrl</comment>
  108616. </bits>
  108617. </reg>
  108618. <reg name="sys_ctrl_reg_218" protect="rw">
  108619. <bits access="rw" name="sys_ctrl2_18" pos="15:0" rst="0">
  108620. <comment>sys ctrl</comment>
  108621. </bits>
  108622. </reg>
  108623. <reg name="sys_ctrl_reg_21a" protect="rw">
  108624. <bits access="rw" name="sys_ctrl2_1a" pos="15:0" rst="0">
  108625. <comment>sys ctrl</comment>
  108626. </bits>
  108627. </reg>
  108628. <reg name="sys_ctrl_reg_21c" protect="rw">
  108629. <bits access="rw" name="sys_ctrl2_1c" pos="15:0" rst="16896">
  108630. <comment>sys ctrl</comment>
  108631. </bits>
  108632. </reg>
  108633. <reg name="sys_ctrl_reg_21e" protect="rw">
  108634. <bits access="rw" name="sys_ctrl2_1e" pos="15:0" rst="0">
  108635. <comment>sys ctrl</comment>
  108636. </bits>
  108637. </reg>
  108638. <reg name="dlpf_ctrl_reg" protect="rw">
  108639. <bits access="rw" name="dlpf_vco_band_bit_sel" pos="2" rst="0">
  108640. <comment>DLPF vco band bit enable
  108641. 0: TXPLL vco band bit is from pll_cal
  108642. 1: TXPLL vco band bit is from DLPF</comment>
  108643. </bits>
  108644. <bits access="rw" name="dlpf_iir3_rstn" pos="1" rst="0">
  108645. <comment>reset DLPF IIR3, active low</comment>
  108646. </bits>
  108647. <bits access="rw" name="dlpf_rstn" pos="0" rst="0">
  108648. <comment>reset DLPF, active low</comment>
  108649. </bits>
  108650. </reg>
  108651. </module>
  108652. </archive>
  108653. <archive relative="rf_timer.xml">
  108654. <module category="RF_Dig" name="RF_TIMER">
  108655. <reg name="timer_ctrl" protect="rw">
  108656. <bits access="r/w" name="int_enable_ctrl" pos="3:3" rst="0x0">
  108657. </bits>
  108658. <bits access="r/w" name="clk_ctrl" pos="2:2" rst="0x0">
  108659. </bits>
  108660. <bits access="r/w" name="enable_ctrl" pos="1:1" rst="0x0">
  108661. </bits>
  108662. <bits access="r/w" name="dec_ctrl" pos="0:0" rst="0x0">
  108663. </bits>
  108664. </reg>
  108665. <reg name="timer_value" protect="rw">
  108666. <bits access="r/w" name="curr_val" pos="31:0" rst="0x0">
  108667. </bits>
  108668. </reg>
  108669. <reg name="timer_reload" protect="rw">
  108670. <bits access="r/w" name="reload_val" pos="31:0" rst="0x0">
  108671. </bits>
  108672. </reg>
  108673. <reg name="timer_intstatus" protect="rw">
  108674. <bits access="r/w" name="timer_int" pos="0:0" rst="0x0">
  108675. </bits>
  108676. </reg>
  108677. </module>
  108678. </archive>
  108679. <archive relative="rf_uart.xml">
  108680. <module category="RF_Dig" name="RF_UART">
  108681. <reg name="uart_data" protect="rw">
  108682. <bits access="r/w" name="txrx_data" pos="7:0" rst="0x0">
  108683. </bits>
  108684. </reg>
  108685. <reg name="uart_state" protect="rw">
  108686. <bits access="r/w" name="rx_buffer_overrun" pos="3:3" rst="0x0">
  108687. </bits>
  108688. <bits access="r/w" name="tx_buffer_overrun" pos="2:2" rst="0x0">
  108689. </bits>
  108690. <bits access="r" name="rx_buffer_full" pos="1:1" rst="0x0">
  108691. </bits>
  108692. <bits access="r" name="tx_buffer_full" pos="0:0" rst="0x0">
  108693. </bits>
  108694. </reg>
  108695. <reg name="uart_ctrl" protect="rw">
  108696. <bits access="r/w" name="hs_test_mode" pos="6:6" rst="0x0">
  108697. </bits>
  108698. <bits access="r/w" name="tx_overrun_int_enable" pos="5:5" rst="0x0">
  108699. </bits>
  108700. <bits access="r/w" name="tx_overrun_int_enable" pos="4:4" rst="0x0">
  108701. </bits>
  108702. <bits access="r/w" name="rx_int_enable" pos="3:3" rst="0x0">
  108703. </bits>
  108704. <bits access="r/w" name="tx_int_enable" pos="2:2" rst="0x0">
  108705. </bits>
  108706. <bits access="r/w" name="rx_enable" pos="1:1" rst="0x0">
  108707. </bits>
  108708. <bits access="r/w" name="tx_enable" pos="0:0" rst="0x0">
  108709. </bits>
  108710. </reg>
  108711. <reg name="uart_intstatus" protect="rw">
  108712. <bits access="r/w" name="rx_overrun_int" pos="3:3" rst="0x0">
  108713. </bits>
  108714. <bits access="r/w" name="tx_overrun_int" pos="2:2" rst="0x0">
  108715. </bits>
  108716. <bits access="r/w" name="rx_int" pos="1:1" rst="0x0">
  108717. </bits>
  108718. <bits access="r/w" name="tx_int" pos="0:0" rst="0x0">
  108719. </bits>
  108720. </reg>
  108721. <reg name="uart_baud" protect="rw">
  108722. <bits access="r/w" name="baud_div" pos="19:0" rst="0x0">
  108723. </bits>
  108724. </reg>
  108725. </module>
  108726. </archive>
  108727. <archive relative="rf_wdt.xml">
  108728. <module category="RF_Dig" name="RF_WDT">
  108729. <reg name="wdogload" protect="rw">
  108730. <bits access="r/w" name="wdog_load" pos="31:0" rst="0xffffffff">
  108731. </bits>
  108732. </reg>
  108733. <reg name="wdogvalue" protect="ro">
  108734. <bits access="r" name="wdog_value" pos="31:0" rst="0xffffffff">
  108735. </bits>
  108736. </reg>
  108737. <reg name="wdogctrl" protect="rw">
  108738. <bits access="r/w" name="wdog_res_en" pos="1:1" rst="0x0">
  108739. </bits>
  108740. <bits access="r/w" name="wdog_int_en" pos="0:0" rst="0x0">
  108741. </bits>
  108742. </reg>
  108743. <reg name="wdogintclr" protect="wo">
  108744. <bits access="w" name="wdog_int_clr" pos="0:0" rst="0x0">
  108745. </bits>
  108746. </reg>
  108747. <reg name="wdogris" protect="ro">
  108748. <bits access="r" name="wdog_raw_int_sts" pos="0:0" rst="0x0">
  108749. </bits>
  108750. </reg>
  108751. <reg name="wdogmis" protect="ro">
  108752. <bits access="r" name="wdog_int_sts" pos="0:0" rst="0x0">
  108753. </bits>
  108754. </reg>
  108755. </module>
  108756. </archive>
  108757. <archive relative="rf_sys_ctrl.xml">
  108758. <module category="RF_Dig" name="RF_SYS_CTRL">
  108759. <reg name="cfg_clk_sys" protect="rw">
  108760. <bits access="r/w" name="clk_sys_sel" pos="11:11" rst="0x1">
  108761. </bits>
  108762. <bits access="r/w" name="div_update" pos="10:10" rst="0x0">
  108763. </bits>
  108764. <bits access="r/w" name="num" pos="8:5" rst="0x1">
  108765. </bits>
  108766. <bits access="r/w" name="denom" pos="3:0" rst="0x3">
  108767. </bits>
  108768. </reg>
  108769. <reg name="cfg_clk_wdt" protect="rw">
  108770. <bits access="r/w" name="div_update" pos="15:15" rst="0x0">
  108771. </bits>
  108772. <bits access="r/w" name="denom" pos="13:0" rst="0x400">
  108773. </bits>
  108774. </reg>
  108775. <reg name="cfg_rst_1" protect="rw">
  108776. <bits access="r/w" name="soft_reset" pos="15:0" rst="0x3fe7">
  108777. </bits>
  108778. </reg>
  108779. <reg name="cfg_rst_2" protect="rw">
  108780. <bits access="r/w" name="bypass_wdt_rst" pos="15:15" rst="0x1">
  108781. </bits>
  108782. <bits access="r/w" name="soft_reset" pos="7:0" rst="0xff">
  108783. </bits>
  108784. </reg>
  108785. <reg name="gpio_out" protect="rw">
  108786. <bits access="r/w" name="out" pos="15:0" rst="0x0">
  108787. </bits>
  108788. </reg>
  108789. <reg name="gpio_oen" protect="rw">
  108790. <bits access="r/w" name="oen" pos="15:0" rst="0xffff">
  108791. </bits>
  108792. </reg>
  108793. <reg name="gpio_in" protect="r">
  108794. <bits access="r" name="in" pos="15:0" rst="0x0">
  108795. </bits>
  108796. </reg>
  108797. <reg name="debug_reg" protect="rw">
  108798. <bits access="r/w" name="scratch" pos="15:1" rst="0x0">
  108799. </bits>
  108800. <bits access="r/w" name="hresp_err_mask" pos="0:0" rst="0x0">
  108801. </bits>
  108802. </reg>
  108803. <reg name="io_ctrl" protect="rw">
  108804. <bits access="r/w" name="slew_rate_rf" pos="14:14" rst="0x0">
  108805. </bits>
  108806. <bits access="r/w" name="i_bit_rf" pos="13:12" rst="0x1">
  108807. </bits>
  108808. <bits access="r/w" name="slew_rate_jtag" pos="11:11" rst="0x0">
  108809. </bits>
  108810. <bits access="r/w" name="i_bit_jtag" pos="10:9" rst="0x1">
  108811. </bits>
  108812. <bits access="r/w" name="slew_rate_ap" pos="8:8" rst="0x0">
  108813. </bits>
  108814. <bits access="r/w" name="i_bit_ap" pos="7:6" rst="0x1">
  108815. </bits>
  108816. <bits access="r/w" name="slew_rate_uart" pos="5:5" rst="0x0">
  108817. </bits>
  108818. <bits access="r/w" name="i_bit_uart" pos="4:3" rst="0x1">
  108819. </bits>
  108820. <bits access="r/w" name="slew_rate_spi" pos="2:2" rst="0x0">
  108821. </bits>
  108822. <bits access="r/w" name="i_bit_spi" pos="1:0" rst="0x1">
  108823. </bits>
  108824. </reg>
  108825. <reg name="analog_tsen_adc_config0_0" protect="rw">
  108826. <bits access="r/w" name="c2g_analog_tsen_adc_rg_tsen_chop_clksel" pos="9:8" rst="0x2">
  108827. </bits>
  108828. <bits access="r/w" name="c2g_analog_tsen_adc_rg_tsen_clksel" pos="5:4" rst="0x1">
  108829. </bits>
  108830. <bits access="r/w" name="c2g_analog_tsen_adc_rg_tsen_sdadc_bias" pos="1:0" rst="0x0">
  108831. </bits>
  108832. </reg>
  108833. <reg name="analog_tsen_adc_config0_1" protect="rw">
  108834. <bits access="r/w" name="c2g_analog_tsen_adc_rg_tsen_ugbuf_bias" pos="13:12" rst="0x0">
  108835. </bits>
  108836. <bits access="r/w" name="c2g_analog_tsen_adc_rg_tsen_sdadc_vcmi" pos="9:8" rst="0x0">
  108837. </bits>
  108838. <bits access="r/w" name="c2g_analog_tsen_adc_rg_tsen_sdadc_vcmo" pos="5:4" rst="0x0">
  108839. </bits>
  108840. <bits access="r/w" name="c2g_analog_tsen_adc_rg_ugbuf_ctrl" pos="1:0" rst="0x0">
  108841. </bits>
  108842. </reg>
  108843. <reg name="analog_tsen_adc_config1_0" protect="rw">
  108844. <bits access="r/w" name="c2g_analog_tsen_adc_rg_tsen_adcldo_en" pos="10:10" rst="0x0">
  108845. </bits>
  108846. <bits access="r/w" name="c2g_analog_tsen_adc_rg_tsen_sdadc_capchop_en" pos="9:9" rst="0x0">
  108847. </bits>
  108848. <bits access="r/w" name="c2g_analog_tsen_adc_rg_tsen_sdadc_chop_en" pos="8:8" rst="0x1">
  108849. </bits>
  108850. <bits access="r/w" name="c2g_analog_tsen_adc_rg_tsen_ugbuf_chop_en" pos="7:7" rst="0x1">
  108851. </bits>
  108852. <bits access="r/w" name="c2g_analog_tsen_adc_rg_tsen_sdadc_en" pos="6:6" rst="0x0">
  108853. </bits>
  108854. <bits access="r/w" name="c2g_analog_tsen_adc_rg_tsen_sdadc_offset_en" pos="5:5" rst="0x0">
  108855. </bits>
  108856. <bits access="r/w" name="c2g_analog_tsen_adc_rg_tsen_input_en" pos="4:4" rst="0x0">
  108857. </bits>
  108858. <bits access="r/w" name="c2g_analog_tsen_adc_rg_tsen_ugbuf_en" pos="3:3" rst="0x0">
  108859. </bits>
  108860. <bits access="r/w" name="c2g_analog_tsen_adc_rg_tsen_sdadc_data_edge_sel" pos="2:2" rst="0x0">
  108861. </bits>
  108862. <bits access="r/w" name="c2g_analog_tsen_adc_rg_tsen_sdadc_rst" pos="1:1" rst="0x0">
  108863. </bits>
  108864. </reg>
  108865. <reg name="analog_tsen_adc_config1_1" protect="rw">
  108866. <bits access="r/w" name="c2g_analog_tsen_adc_rg_tsen_adcldoref" pos="12:8" rst="0x0">
  108867. </bits>
  108868. <bits access="r/w" name="c2g_analog_tsen_adc_rg_tsen_adcldo_v" pos="3:0" rst="0x8">
  108869. </bits>
  108870. </reg>
  108871. <reg name="analog_tsen_adc_config2_0" protect="rw">
  108872. <bits access="r/w" name="c2g_analog_tsen_adc_rg_tsen_bist_code" pos="14:12" rst="0x0">
  108873. </bits>
  108874. <bits access="r/w" name="c2g_analog_tsen_adc_rg_tsen_test_clk_sel" pos="9:9" rst="0x0">
  108875. </bits>
  108876. <bits access="r/w" name="c2g_analog_tsen_adc_rg_tsen_bist_en" pos="8:8" rst="0x0">
  108877. </bits>
  108878. </reg>
  108879. </module>
  108880. </archive>
  108881. <archive relative="rffe_reg.xml">
  108882. <module category="RF_Dig" name="RFFE_REG">
  108883. <reg name="cmd_mipi0" protect="rw">
  108884. <bits access="rw" name="cmd_mipi_low" pos="15:0" rst="0">
  108885. <comment>cmd_mipi_sr[15:0]</comment>
  108886. </bits>
  108887. </reg>
  108888. <reg name="cmd_mipi1" protect="rw">
  108889. <bits access="rw" name="cmd_mipi_high" pos="15:0" rst="0">
  108890. <comment>cmd_mipi_sr[31:16]</comment>
  108891. </bits>
  108892. </reg>
  108893. <reg name="data_mipi0" protect="rw">
  108894. <bits access="rw" name="data_mipi_low" pos="15:0" rst="0">
  108895. <comment>data_mipi_sr[15:0]</comment>
  108896. </bits>
  108897. </reg>
  108898. <reg name="data_mipi1" protect="rw">
  108899. <bits access="rw" name="data_mipi_high" pos="15:0" rst="0">
  108900. <comment>data_mipi_sr[31:16]</comment>
  108901. </bits>
  108902. </reg>
  108903. <reg name="data_out0" protect="r">
  108904. <bits access="r" name="data_out_low" pos="15:0" rst="0">
  108905. <comment>data_out[15:0]</comment>
  108906. </bits>
  108907. </reg>
  108908. <reg name="data_out1" protect="r">
  108909. <bits access="r" name="data_out_high" pos="15:0" rst="0">
  108910. <comment>data_out[31:16]</comment>
  108911. </bits>
  108912. </reg>
  108913. <reg name="data_valid" protect="r">
  108914. <bits access="r" name="reversed" pos="15:4" rst="0">
  108915. <comment>REVERSED</comment>
  108916. </bits>
  108917. <bits access="r" name="data_valid" pos="3:0" rst="0">
  108918. <comment>data_valid_byte[3:0]</comment>
  108919. </bits>
  108920. </reg>
  108921. </module>
  108922. </archive>
  108923. <archive relative="rf_pulp_irq.xml">
  108924. <module category="RF_Dig" name="RF_PULP_IRQ">
  108925. <reg name="enable" protect="rw">
  108926. <bits access="rw" name="enable" pos="31:0" rst="0">
  108927. <comment>interrupt enable</comment>
  108928. </bits>
  108929. </reg>
  108930. <reg name="pending" protect="rw">
  108931. <bits access="rw" name="pending" pos="31:0" rst="0">
  108932. <comment>interrupt pending</comment>
  108933. </bits>
  108934. </reg>
  108935. <reg name="set_pending" protect="rw">
  108936. <bits access="rs" name="set_pending" pos="31:0" rst="0">
  108937. <comment>bit type is changed from w1s to rs.
  108938. set interrupt pending</comment>
  108939. </bits>
  108940. </reg>
  108941. <reg name="clear_pending" protect="rw">
  108942. <bits access="rc" name="clear_pending" pos="31:0" rst="0">
  108943. <comment>bit type is changed from w1c to rc.
  108944. clear interrupt pending</comment>
  108945. </bits>
  108946. </reg>
  108947. </module>
  108948. </archive>
  108949. <archive relative="rf_pulp_sleep.xml">
  108950. <module category="RF_Dig" name="RF_PULP_SLEEP">
  108951. <reg name="sleep_ctrl" protect="rw">
  108952. <bits access="rw" name="sleep_enable" pos="0" rst="0">
  108953. <comment>Enable sleep</comment>
  108954. </bits>
  108955. </reg>
  108956. <reg name="sleep_status" protect="rw">
  108957. <bits access="rw" name="sleep" pos="0" rst="0">
  108958. <comment>sleep stauts
  108959. 0: not_sleep
  108960. 1: sleep</comment>
  108961. </bits>
  108962. </reg>
  108963. </module>
  108964. </archive>
  108965. <archive relative="rf_pulp_debug_unit.xml">
  108966. <module category="RF_Dig" name="RF_PULP_DEBUG_UNIT">
  108967. <reg name="dbg_ctrl" protect="rw">
  108968. <bits access="rw" name="halt" pos="16" rst="0">
  108969. <comment>when 1 written,core enters debug mode, when 0 written, core exits debug mode
  108970. when read, 1 means core is in debug mode</comment>
  108971. </bits>
  108972. <bits access="rw" name="sste" pos="0" rst="0">
  108973. <comment>single step enable</comment>
  108974. </bits>
  108975. </reg>
  108976. <reg name="dbg_hit" protect="rw">
  108977. <bits access="r" name="sleep" pos="16" rst="0">
  108978. <comment>set when the core is a sleeping state and wait for an event</comment>
  108979. </bits>
  108980. <bits access="rw" name="ssth" pos="0" rst="0">
  108981. <comment>single-step hit, sticky bit that must be cleared by external debugger</comment>
  108982. </bits>
  108983. </reg>
  108984. <reg name="dbg_ie" protect="rw">
  108985. <bits access="rw" name="ecall" pos="11" rst="0">
  108986. <comment>environment call for M-mode</comment>
  108987. </bits>
  108988. <bits access="rw" name="saf" pos="7" rst="0">
  108989. <comment>store access fault (together with laf)</comment>
  108990. </bits>
  108991. <bits access="rw" name="sam" pos="6" rst="0">
  108992. <comment>store address Misaligned (never traps)</comment>
  108993. </bits>
  108994. <bits access="rw" name="laf" pos="5" rst="0">
  108995. <comment>load access fault (together with saf)</comment>
  108996. </bits>
  108997. <bits access="rw" name="lam" pos="4" rst="0">
  108998. <comment>load access Misaligned (never traps)</comment>
  108999. </bits>
  109000. <bits access="rw" name="bp" pos="3" rst="0">
  109001. <comment>ebreak instruction causes trap</comment>
  109002. </bits>
  109003. <bits access="rw" name="ill" pos="2" rst="0">
  109004. <comment>illegal instruction</comment>
  109005. </bits>
  109006. <bits access="rw" name="iaf" pos="1" rst="0">
  109007. <comment>instruction access fault (not implemented)</comment>
  109008. </bits>
  109009. <bits access="rw" name="iam" pos="0" rst="0">
  109010. <comment>instruction address misaligned (never traps)</comment>
  109011. </bits>
  109012. </reg>
  109013. <reg name="dbg_cause" protect="r">
  109014. <bits access="r" name="irq" pos="31" rst="0">
  109015. <comment>interrupt caused us to enter debug mode</comment>
  109016. </bits>
  109017. <bits access="r" name="cause" pos="4:0" rst="0">
  109018. <comment>exception/interrupt number</comment>
  109019. </bits>
  109020. </reg>
  109021. <hole size="8064"/>
  109022. <reg name="dbg_gpr0" protect="rw">
  109023. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  109024. <comment>general purpose register</comment>
  109025. </bits>
  109026. </reg>
  109027. <reg name="dbg_gpr1" protect="rw">
  109028. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  109029. <comment>general purpose register</comment>
  109030. </bits>
  109031. </reg>
  109032. <reg name="dbg_gpr2" protect="rw">
  109033. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  109034. <comment>general purpose register</comment>
  109035. </bits>
  109036. </reg>
  109037. <reg name="dbg_gpr3" protect="rw">
  109038. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  109039. <comment>general purpose register</comment>
  109040. </bits>
  109041. </reg>
  109042. <reg name="dbg_gpr4" protect="rw">
  109043. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  109044. <comment>general purpose register</comment>
  109045. </bits>
  109046. </reg>
  109047. <reg name="dbg_gpr5" protect="rw">
  109048. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  109049. <comment>general purpose register</comment>
  109050. </bits>
  109051. </reg>
  109052. <reg name="dbg_gpr6" protect="rw">
  109053. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  109054. <comment>general purpose register</comment>
  109055. </bits>
  109056. </reg>
  109057. <reg name="dbg_gpr7" protect="rw">
  109058. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  109059. <comment>general purpose register</comment>
  109060. </bits>
  109061. </reg>
  109062. <reg name="dbg_gpr8" protect="rw">
  109063. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  109064. <comment>general purpose register</comment>
  109065. </bits>
  109066. </reg>
  109067. <reg name="dbg_gpr9" protect="rw">
  109068. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  109069. <comment>general purpose register</comment>
  109070. </bits>
  109071. </reg>
  109072. <reg name="dbg_gpr10" protect="rw">
  109073. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  109074. <comment>general purpose register</comment>
  109075. </bits>
  109076. </reg>
  109077. <reg name="dbg_gpr11" protect="rw">
  109078. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  109079. <comment>general purpose register</comment>
  109080. </bits>
  109081. </reg>
  109082. <reg name="dbg_gpr12" protect="rw">
  109083. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  109084. <comment>general purpose register</comment>
  109085. </bits>
  109086. </reg>
  109087. <reg name="dbg_gpr13" protect="rw">
  109088. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  109089. <comment>general purpose register</comment>
  109090. </bits>
  109091. </reg>
  109092. <reg name="dbg_gpr14" protect="rw">
  109093. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  109094. <comment>general purpose register</comment>
  109095. </bits>
  109096. </reg>
  109097. <reg name="dbg_gpr15" protect="rw">
  109098. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  109099. <comment>general purpose register</comment>
  109100. </bits>
  109101. </reg>
  109102. <reg name="dbg_gpr16" protect="rw">
  109103. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  109104. <comment>general purpose register</comment>
  109105. </bits>
  109106. </reg>
  109107. <reg name="dbg_gpr17" protect="rw">
  109108. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  109109. <comment>general purpose register</comment>
  109110. </bits>
  109111. </reg>
  109112. <reg name="dbg_gpr18" protect="rw">
  109113. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  109114. <comment>general purpose register</comment>
  109115. </bits>
  109116. </reg>
  109117. <reg name="dbg_gpr19" protect="rw">
  109118. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  109119. <comment>general purpose register</comment>
  109120. </bits>
  109121. </reg>
  109122. <reg name="dbg_gpr20" protect="rw">
  109123. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  109124. <comment>general purpose register</comment>
  109125. </bits>
  109126. </reg>
  109127. <reg name="dbg_gpr21" protect="rw">
  109128. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  109129. <comment>general purpose register</comment>
  109130. </bits>
  109131. </reg>
  109132. <reg name="dbg_gpr22" protect="rw">
  109133. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  109134. <comment>general purpose register</comment>
  109135. </bits>
  109136. </reg>
  109137. <reg name="dbg_gpr23" protect="rw">
  109138. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  109139. <comment>general purpose register</comment>
  109140. </bits>
  109141. </reg>
  109142. <reg name="dbg_gpr24" protect="rw">
  109143. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  109144. <comment>general purpose register</comment>
  109145. </bits>
  109146. </reg>
  109147. <reg name="dbg_gpr25" protect="rw">
  109148. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  109149. <comment>general purpose register</comment>
  109150. </bits>
  109151. </reg>
  109152. <reg name="dbg_gpr26" protect="rw">
  109153. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  109154. <comment>general purpose register</comment>
  109155. </bits>
  109156. </reg>
  109157. <reg name="dbg_gpr27" protect="rw">
  109158. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  109159. <comment>general purpose register</comment>
  109160. </bits>
  109161. </reg>
  109162. <reg name="dbg_gpr28" protect="rw">
  109163. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  109164. <comment>general purpose register</comment>
  109165. </bits>
  109166. </reg>
  109167. <reg name="dbg_gpr29" protect="rw">
  109168. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  109169. <comment>general purpose register</comment>
  109170. </bits>
  109171. </reg>
  109172. <reg name="dbg_gpr30" protect="rw">
  109173. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  109174. <comment>general purpose register</comment>
  109175. </bits>
  109176. </reg>
  109177. <reg name="dbg_gpr31" protect="rw">
  109178. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  109179. <comment>general purpose register</comment>
  109180. </bits>
  109181. </reg>
  109182. <hole size="56320"/>
  109183. <reg name="dbg_npc" protect="rw">
  109184. <bits access="rw" name="npc" pos="31:0" rst="0">
  109185. <comment>Next PC to be executed</comment>
  109186. </bits>
  109187. </reg>
  109188. <reg name="dbg_ppc" protect="r">
  109189. <bits access="r" name="ppc" pos="31:0" rst="0">
  109190. <comment>previous PC, already executed</comment>
  109191. </bits>
  109192. </reg>
  109193. <hole size="90048"/>
  109194. <reg name="dbg_mstatus" protect="rw">
  109195. <bits access="r" name="prv" pos="2:1" rst="3">
  109196. <comment>Statically 2'b11 and cannot be altered</comment>
  109197. </bits>
  109198. <bits access="rw" name="int_en" pos="0" rst="0">
  109199. <comment>Interrupt enable:
  109200. When an exception is encountered, Interrupt Enable will be set to 1'b0.
  109201. When the eret instruction is executed, the original value of the Interrupt Enable will be restored, as MESTATUS will replace MSTATUS.
  109202. If you want to be enable interrupt handling in your exception handler, set the Interrupt Enable to 1'b1 inside your handler code.</comment>
  109203. </bits>
  109204. </reg>
  109205. <hole size="2048"/>
  109206. <reg name="dbg_mepc" protect="rw">
  109207. <bits access="rw" name="mepc" pos="31:0" rst="0">
  109208. <comment>When an exception is encountered, the current program counter is saved in MEPC, and the core jumps to the exception address.
  109209. When an eret instruction is executed, the value from MEPC replaces the current program counter.</comment>
  109210. </bits>
  109211. </reg>
  109212. <reg name="dbg_mcause" protect="r">
  109213. <bits access="r" name="interrupt" pos="31" rst="0">
  109214. <comment>this bit is set when the exception was triggerd by an interrupt</comment>
  109215. </bits>
  109216. <bits access="r" name="excp_code" pos="4:0" rst="0">
  109217. <comment>exception code</comment>
  109218. </bits>
  109219. </reg>
  109220. <hole size="36256"/>
  109221. <reg name="dbg_loop_start0" protect="rw">
  109222. <bits access="rw" name="lpstart0" pos="31:0" rst="0">
  109223. <comment>hardware loop 0 start</comment>
  109224. </bits>
  109225. </reg>
  109226. <reg name="dbg_loop_end0" protect="rw">
  109227. <bits access="rw" name="lpend0" pos="31:0" rst="0">
  109228. <comment>hardware loop 0 end</comment>
  109229. </bits>
  109230. </reg>
  109231. <reg name="dbg_loop_cnt0" protect="rw">
  109232. <bits access="rw" name="lpcount0" pos="31:0" rst="0">
  109233. <comment>hardware loop 0 counter</comment>
  109234. </bits>
  109235. </reg>
  109236. <hole size="32"/>
  109237. <reg name="dbg_loop_start1" protect="rw">
  109238. <bits access="rw" name="lpstart1" pos="31:0" rst="0">
  109239. <comment>hardware loop 1 start</comment>
  109240. </bits>
  109241. </reg>
  109242. <reg name="dbg_loop_end1" protect="rw">
  109243. <bits access="rw" name="lpend1" pos="31:0" rst="0">
  109244. <comment>hardware loop 1 end</comment>
  109245. </bits>
  109246. </reg>
  109247. <reg name="dbg_loop_cnt1" protect="rw">
  109248. <bits access="rw" name="lpcount1" pos="31:0" rst="0">
  109249. <comment>hardware loop 1 counter</comment>
  109250. </bits>
  109251. </reg>
  109252. <hole size="288"/>
  109253. <reg name="dbg_mestatus" protect="rw">
  109254. <bits access="r" name="prv" pos="2:1" rst="3">
  109255. <comment>Statically 2'b11 and cannot be altered</comment>
  109256. </bits>
  109257. <bits access="rw" name="int_en" pos="0" rst="0">
  109258. <comment>Interrupt enable:
  109259. When an exception is encountered, the current value of MSTATUS is saved in MESTATUS.
  109260. When an eret instruction is executed, the value from MESTATUS replaces MSTATUS register.</comment>
  109261. </bits>
  109262. </reg>
  109263. <hole size="59360"/>
  109264. <reg name="dbg_mcpuid" protect="r">
  109265. <bits access="r" name="base" pos="31:30" rst="0">
  109266. <comment>read as 0, which means RV32I</comment>
  109267. </bits>
  109268. <bits access="r" name="extension" pos="25:0" rst="8392960">
  109269. <comment>RI5CY only supports the I and M extension, plus the RI5CY non-standard extensions. This means bits 8(I), 12(M) and 23(X) are 1, the rest is 0.</comment>
  109270. </bits>
  109271. </reg>
  109272. <reg name="dbg_mimpid" protect="r">
  109273. <bits access="r" name="implementation" pos="31:16" rst="0">
  109274. </bits>
  109275. <bits access="r" name="source" pos="15:0" rst="32768">
  109276. </bits>
  109277. </reg>
  109278. <hole size="448"/>
  109279. <reg name="dbg_hartid" protect="r">
  109280. <bits access="r" name="cluster_id" pos="10:5" rst="0">
  109281. <comment>ID of the cluster</comment>
  109282. </bits>
  109283. <bits access="r" name="core_id" pos="3:0" rst="0">
  109284. <comment>ID of the within the cluster</comment>
  109285. </bits>
  109286. </reg>
  109287. </module>
  109288. </archive>
  109289. <archive relative="rf_rtc.xml">
  109290. <module category="RF_Dig" name="RF_RTC">
  109291. <hole size="160*8"/>
  109292. <reg name="reg_00_reg" protect="rw">
  109293. <bits access="rw" name="reg_a0_bit" pos="15:8" rst="129">
  109294. <comment>[8]enable_clk_dac_afc;
  109295. [9]dac_afc_bit select dig_rtc reg;
  109296. [10]dig_afc_bit_dr;
  109297. [13]step_offset_update;</comment>
  109298. </bits>
  109299. <bits access="rw" name="reg_a1_bit" pos="7:0" rst="192">
  109300. <comment>[0]vcore_vrtc_pwr_sel source select 0:vcore_vrtc_pwr_sel reg; 1:pu_xtal from IDLE_UART
  109301. [1]pu_xtal_ana source select 0: pu_xtal_rtc from IDLE_UART; 1:pu_xtal reg
  109302. [6]pu_xtal reg 0:pull down XTAL enter LP mode; 1:pull up XTAL enter normal mode
  109303. [7]vcore_vrtc_pwr_sel reg 0: Vrtc power 1: Vcore power</comment>
  109304. </bits>
  109305. </reg>
  109306. <hole size="64"/>
  109307. <reg name="reg_0c_reg" protect="rw">
  109308. <bits access="rw" name="reg_a6_bit" pos="15:8" rst="0">
  109309. <comment>RTC</comment>
  109310. </bits>
  109311. <bits access="rw" name="reg_a7_bit" pos="7:0" rst="84">
  109312. <comment>[2]enable_clk26m_lp
  109313. [6]idle_uart sw resetn 0:reset 1:release reset</comment>
  109314. </bits>
  109315. </reg>
  109316. <reg name="reg_10_reg" protect="rw">
  109317. <bits access="rw" name="reg_a8_bit" pos="15:8" rst="128">
  109318. <comment>RTC</comment>
  109319. </bits>
  109320. <bits access="rw" name="reg_a9_bit" pos="7:0" rst="64">
  109321. <comment>RTC</comment>
  109322. </bits>
  109323. </reg>
  109324. <reg name="reg_14_reg" protect="rw">
  109325. <bits access="rw" name="reg_aa_bit" pos="15:8" rst="145">
  109326. <comment>[9:8]lp_mode delay pu_xtal cycle select 2'b00: 4us; 2'b01:8us; 2'b10:12us; 2'b11:20us</comment>
  109327. </bits>
  109328. <bits access="rw" name="reg_ab_bit" pos="7:0" rst="0">
  109329. <comment>RTC</comment>
  109330. </bits>
  109331. </reg>
  109332. <reg name="reg_18_reg" protect="rw">
  109333. <bits access="rw" name="reg_ac_bit" pos="15:8" rst="5">
  109334. </bits>
  109335. <bits access="rw" name="reg_ad_bit" pos="7:0" rst="0">
  109336. <comment>32k gen div step_offset LP mode</comment>
  109337. </bits>
  109338. </reg>
  109339. <reg name="reg_1c_reg" protect="rw">
  109340. <bits access="rw" name="reg_ae_bit" pos="15:8" rst="0">
  109341. <comment>32k gen div step_offset Normal mode</comment>
  109342. </bits>
  109343. <bits access="rw" name="reg_af_bit" pos="7:0" rst="1">
  109344. <comment>[5]lp_mode_en_dr;
  109345. [4]lp_mode_en_reg;
  109346. [7]change_reg_flag_dr;
  109347. [6]change_reg_flag_reg;
  109348. [3]lp_mode_h_dr;
  109349. [2]lp_mode_h_reg;</comment>
  109350. </bits>
  109351. </reg>
  109352. <reg name="reg_c0_reg" protect="rw">
  109353. <bits access="rw" name="enable_clk_6p5m" pos="14" rst="1">
  109354. <comment>to XTAL for input clk_26m enable</comment>
  109355. </bits>
  109356. <bits access="rw" name="dig_afc_bit_reg" pos="13:0" rst="8192">
  109357. <comment>CAFC</comment>
  109358. </bits>
  109359. </reg>
  109360. <reg name="reg_c4_reg" protect="rw">
  109361. <bits access="rw" name="xtal26m_plls2_en" pos="15" rst="1">
  109362. <comment>BBPLL2 ref clk 26m enable</comment>
  109363. </bits>
  109364. <bits access="rw" name="xtal26m_plls1_en" pos="14" rst="1">
  109365. <comment>BBPLL1 ref clk 26m enable</comment>
  109366. </bits>
  109367. <bits access="rw" name="xtal26m_tsxadc_en" pos="13" rst="0">
  109368. <comment>tsxadc clk 26m enable</comment>
  109369. </bits>
  109370. <bits access="rw" name="xtal_reg_bit" pos="12:9" rst="12">
  109371. <comment>XTAL parameter</comment>
  109372. </bits>
  109373. <bits access="rw" name="xtal26m_pwadc_en" pos="8" rst="0">
  109374. <comment>pwdadc clk 26m enable</comment>
  109375. </bits>
  109376. <bits access="rw" name="xtal_osc_ibit_l" pos="7:4" rst="0">
  109377. <comment>xtal_osc_ibit lp mode</comment>
  109378. </bits>
  109379. <bits access="rw" name="xtal_osc_ibit_n" pos="3:0" rst="8">
  109380. <comment>xtal_osc_ibit normal mode</comment>
  109381. </bits>
  109382. </reg>
  109383. <reg name="reg_c8_reg" protect="rw">
  109384. <bits access="rw" name="xtal26m_pllcal_en" pos="11" rst="0">
  109385. <comment>RFPLL refcal clk 26m</comment>
  109386. </bits>
  109387. <bits access="rw" name="xtal26m_ts_en" pos="10" rst="0">
  109388. <comment>oscadc clk 26m enable</comment>
  109389. </bits>
  109390. <bits access="rw" name="xtal_fixi_bit_l" pos="9:5" rst="4">
  109391. <comment>xtal_fixi_bit lp mode</comment>
  109392. </bits>
  109393. <bits access="rw" name="xtal_fixi_bit_n" pos="4:0" rst="24">
  109394. <comment>xtal_fixi_bit normal mode</comment>
  109395. </bits>
  109396. </reg>
  109397. <reg name="reg_cc_reg" protect="rw">
  109398. <bits access="rw" name="xtal26m_pmic_en" pos="14" rst="1">
  109399. <comment>pmic clk 26m enable</comment>
  109400. </bits>
  109401. <bits access="rw" name="xtal26m_interface_en" pos="13" rst="1">
  109402. <comment>clk_26m_interface enable</comment>
  109403. </bits>
  109404. <bits access="rw" name="xdrv_pmic_power_bit" pos="12:10" rst="7">
  109405. <comment>xdrv pmic parameter</comment>
  109406. </bits>
  109407. <bits access="rw" name="xdrv_aux2_power_bit" pos="9:7" rst="7">
  109408. <comment>xdrv aux2 parameter</comment>
  109409. </bits>
  109410. <bits access="rw" name="xdrv_aux1_power_bit" pos="6:4" rst="7">
  109411. <comment>xdrv aux1 parameter</comment>
  109412. </bits>
  109413. <bits access="rw" name="xdrv_reg_bit" pos="3:0" rst="12">
  109414. <comment>xdrv parameter</comment>
  109415. </bits>
  109416. </reg>
  109417. <reg name="reg_d0_reg" protect="rw">
  109418. <bits access="rw" name="xtal_hsel_l" pos="15" rst="1">
  109419. <comment>xtal_hsel lp mode</comment>
  109420. </bits>
  109421. <bits access="rw" name="xtal_capbank_bit_l" pos="14:8" rst="64">
  109422. <comment>CADC bit lp mode</comment>
  109423. </bits>
  109424. <bits access="rw" name="xtal_hsel_n" pos="7" rst="1">
  109425. <comment>xtal_hsel normal mode</comment>
  109426. </bits>
  109427. <bits access="rw" name="xtal_capbank_bit_n" pos="6:0" rst="64">
  109428. <comment>CADC bit normal mode</comment>
  109429. </bits>
  109430. </reg>
  109431. <reg name="reg_d4_reg" protect="rw">
  109432. <bits access="rw" name="rtc_reser_l" pos="15:0" rst="65280">
  109433. <comment>RTC</comment>
  109434. </bits>
  109435. </reg>
  109436. <reg name="reg_d8_reg" protect="rw">
  109437. <bits access="rw" name="rtc_reser_n" pos="15:0" rst="65280">
  109438. <comment>RTC</comment>
  109439. </bits>
  109440. </reg>
  109441. </module>
  109442. </archive>
  109443. <archive relative="tsen_adc.xml">
  109444. <module category="RF_Dig" name="TSEN_ADC_TOP">
  109445. <hole size="(1)*32"/>
  109446. <hole size="(1)*32"/>
  109447. <hole size="(1)*32"/>
  109448. <reg name="tst_tsen_bist_test" protect="rw">
  109449. <bits access="r/w" name="tst_tsen_bist_bypass" pos="13:13" rst="0x0">
  109450. </bits>
  109451. <bits access="r/w" name="tst_tsen_bist_cfg0" pos="12:10" rst="0x0">
  109452. </bits>
  109453. <bits access="r/w" name="tst_tsen_bist_cfg1" pos="9:7" rst="0x0">
  109454. </bits>
  109455. <bits access="r/w" name="tst_tsen_bist_cfg2" pos="6:4" rst="0x0">
  109456. </bits>
  109457. <bits access="r/w" name="tst_tsen_bist_cfg3" pos="3:1" rst="0x0">
  109458. </bits>
  109459. <bits access="r" name="tst_tsen_bist_done" pos="0:0" rst="0x0">
  109460. </bits>
  109461. </reg>
  109462. <reg name="tst_tsen_bist_test1" protect="rw">
  109463. <bits access="r/w" name="tst_tsen_bist_code_sel" pos="9:9" rst="0x0">
  109464. </bits>
  109465. <bits access="r/w" name="tst_tsen_bist_time_sel_cfg0" pos="8:7" rst="0x0">
  109466. </bits>
  109467. <bits access="r/w" name="tst_tsen_bist_time_sel_cfg1" pos="6:5" rst="0x0">
  109468. </bits>
  109469. <bits access="r/w" name="tst_tsen_bist_time_sel_cfg2" pos="4:3" rst="0x0">
  109470. </bits>
  109471. <bits access="r/w" name="tst_tsen_bist_time_sel_cfg3" pos="2:1" rst="0x0">
  109472. </bits>
  109473. <bits access="r/w" name="tst_tsen_bit_en" pos="0:0" rst="0x0">
  109474. </bits>
  109475. </reg>
  109476. <reg name="tst_tsen_c0_test_res0" protect="ro">
  109477. <bits access="r" name="tst_tsen_c0_res0" pos="15:0" rst="0x0">
  109478. </bits>
  109479. </reg>
  109480. <reg name="tst_tsen_c0_test_res1" protect="ro">
  109481. <bits access="r" name="tst_tsen_c0_res1" pos="15:0" rst="0x0">
  109482. </bits>
  109483. </reg>
  109484. <reg name="tst_tsen_c0_test_res2" protect="ro">
  109485. <bits access="r" name="tst_tsen_c0_res2" pos="15:0" rst="0x0">
  109486. </bits>
  109487. </reg>
  109488. <reg name="tst_tsen_c0_test_res3" protect="ro">
  109489. <bits access="r" name="tst_tsen_c0_res3" pos="15:0" rst="0x0">
  109490. </bits>
  109491. </reg>
  109492. <reg name="tst_tsen_c1_test_res0" protect="ro">
  109493. <bits access="r" name="tst_tsen_c1_res0" pos="15:0" rst="0x0">
  109494. </bits>
  109495. </reg>
  109496. <reg name="tst_tsen_c1_test_res1" protect="ro">
  109497. <bits access="r" name="tst_tsen_c1_res1" pos="15:0" rst="0x0">
  109498. </bits>
  109499. </reg>
  109500. <reg name="tst_tsen_c1_test_res2" protect="ro">
  109501. <bits access="r" name="tst_tsen_c1_res2" pos="15:0" rst="0x0">
  109502. </bits>
  109503. </reg>
  109504. <reg name="tst_tsen_c1_test_res3" protect="ro">
  109505. <bits access="r" name="tst_tsen_c1_res3" pos="15:0" rst="0x0">
  109506. </bits>
  109507. </reg>
  109508. <reg name="tst_tsen_c2_test_res0" protect="ro">
  109509. <bits access="r" name="tst_tsen_c2_res0" pos="15:0" rst="0x0">
  109510. </bits>
  109511. </reg>
  109512. <reg name="tst_tsen_c2_test_res1" protect="ro">
  109513. <bits access="r" name="tst_tsen_c2_res1" pos="15:0" rst="0x0">
  109514. </bits>
  109515. </reg>
  109516. <reg name="tst_tsen_c2_test_res2" protect="ro">
  109517. <bits access="r" name="tst_tsen_c2_res2" pos="15:0" rst="0x0">
  109518. </bits>
  109519. </reg>
  109520. <reg name="tst_tsen_c2_test_res3" protect="ro">
  109521. <bits access="r" name="tst_tsen_c2_res3" pos="15:0" rst="0x0">
  109522. </bits>
  109523. </reg>
  109524. <reg name="tst_tsen_c3_test_res0" protect="ro">
  109525. <bits access="r" name="tst_tsen_c3_res0" pos="15:0" rst="0x0">
  109526. </bits>
  109527. </reg>
  109528. <reg name="tst_tsen_c3_test_res1" protect="ro">
  109529. <bits access="r" name="tst_tsen_c3_res1" pos="15:0" rst="0x0">
  109530. </bits>
  109531. </reg>
  109532. <reg name="tst_tsen_c3_test_res2" protect="ro">
  109533. <bits access="r" name="tst_tsen_c3_res2" pos="15:0" rst="0x0">
  109534. </bits>
  109535. </reg>
  109536. <reg name="tst_tsen_c3_test_res3" protect="ro">
  109537. <bits access="r" name="tst_tsen_c3_res3" pos="15:0" rst="0x0">
  109538. </bits>
  109539. </reg>
  109540. </module>
  109541. </archive>
  109542. <archive relative="dfe.xml">
  109543. <module category="RF_Dig" name="DFE">
  109544. <reg name="general_mode" protect="rw">
  109545. <bits access="rw" name="clk_fbc_en_mode" pos="15" rst="0">
  109546. <comment>for TXDP modules after RC
  109547. 0: use unmasked 61.44MHz clk when polarIQ disabled
  109548. 1: use 26m_fbc clk when polarIQ enabled</comment>
  109549. </bits>
  109550. <bits access="rw" name="reset_mode" pos="14" rst="0">
  109551. <comment>1: use external resetn, 0-use sw/enable generated internal resetn for rxdp</comment>
  109552. </bits>
  109553. <bits access="rw" name="clk_dac_inv_mode" pos="13" rst="0">
  109554. <comment>0: clk_dac
  109555. 1: clk_dac invert</comment>
  109556. </bits>
  109557. <bits access="rw" name="clk_adc_inv_mode" pos="12" rst="0">
  109558. <comment>0: clk_adc
  109559. 1: clk_adc invert</comment>
  109560. </bits>
  109561. <bits access="rw" name="tx_mode" pos="11:8" rst="0">
  109562. <comment>0:GGE, 1:NB, 2:LTE-1.4M, 3:LTE-3M, 4:LTE-5M, 5:LTE-10M, 6:LTE-15M, 7:LTE-20M, 8:WT, 9:eMTC</comment>
  109563. </bits>
  109564. <bits access="rw" name="rx_mode" pos="7:4" rst="0">
  109565. <comment>0:GGE, 1:NB, 2:LTE-1.4M, 3:LTE-3M, 4:LTE-5M, 5:LTE-10M, 6:LTE-15M, 7:LTE-20M, 8:WT</comment>
  109566. </bits>
  109567. <bits access="rw" name="adc_mode" pos="3" rst="0">
  109568. <comment>0: SDM mode
  109569. 1: SAR mode</comment>
  109570. </bits>
  109571. <bits access="rw" name="adc_clk_mode" pos="2:1" rst="0">
  109572. <comment>0:26M/30.72MHz
  109573. 1:52M/61.44MHz
  109574. 2:104M/122.88MHz</comment>
  109575. </bits>
  109576. <bits access="rw" name="zf_if_mode" pos="0" rst="0">
  109577. <comment>0: ZF mode
  109578. 1: IF mode</comment>
  109579. </bits>
  109580. </reg>
  109581. <reg name="dfe_clock_gate_enable_reg" protect="rw">
  109582. <bits access="rw" name="reg_clkgate_en" pos="14" rst="0">
  109583. <comment>0: registers module clk gating enabled; 1: registers module clk always on</comment>
  109584. </bits>
  109585. <bits access="rw" name="txdp_loft_mode" pos="13" rst="0">
  109586. <comment>0: RX CIC1 doesn't work in loft mode; 1: RX CIC1 works in loft mode</comment>
  109587. </bits>
  109588. <bits access="rw" name="et_rstn_ctrl" pos="11" rst="0">
  109589. <comment>reset for ET, active low</comment>
  109590. </bits>
  109591. <bits access="rw" name="et_clk_en" pos="10" rst="0">
  109592. <comment>clock enable for ET</comment>
  109593. </bits>
  109594. <bits access="rw" name="sw_resetn" pos="9" rst="1">
  109595. <comment>sw controlled resetn for rxdp
  109596. 0: assert reset
  109597. 1: not reset</comment>
  109598. </bits>
  109599. <bits access="rw" name="clk_rate_convert_rg" pos="8" rst="0">
  109600. <comment>DFE clock shift control.
  109601. 0: clock shift disabled
  109602. 1: clock shift enabled. When it is enabled, all DFE clocks except GSM TX clock are working in 17/16 normal frequency</comment>
  109603. </bits>
  109604. <bits access="rw" name="clk_26m_en" pos="7" rst="1">
  109605. <comment>clock enable for BB GGE @26MHz</comment>
  109606. </bits>
  109607. <bits access="rw" name="clk_122p88m_en" pos="6" rst="1">
  109608. <comment>clock enable for BB LTE @122.88MHz</comment>
  109609. </bits>
  109610. <bits access="rw" name="clk_61p44m_en" pos="5" rst="1">
  109611. <comment>clock enable for BB NB/WT @61.44MHz</comment>
  109612. </bits>
  109613. <bits access="rw" name="txdp_nb_dfe_clk_en" pos="4" rst="0">
  109614. <comment>clock enable for DFE NB/WT/LTE TX</comment>
  109615. </bits>
  109616. <bits access="rw" name="txdp_gsm_dfe_clk_en" pos="3" rst="0">
  109617. <comment>clock enable for DFE GSM TX</comment>
  109618. </bits>
  109619. <bits access="rw" name="rxdp_dfe_clk_en" pos="2" rst="0">
  109620. <comment>clock enable for DFE RX</comment>
  109621. </bits>
  109622. <bits access="rw" name="txdp_clk_dac_en" pos="1" rst="0">
  109623. <comment>clock enable for DAC</comment>
  109624. </bits>
  109625. <bits access="rw" name="rxdp_adc_clk_en" pos="0" rst="0">
  109626. <comment>clock eanble for ADC</comment>
  109627. </bits>
  109628. </reg>
  109629. <reg name="rxdp_dcc" protect="rw">
  109630. <bits access="rw" name="rxdp_dcc_load" pos="6" rst="0">
  109631. <comment>Start to load DC value, active high. Before next load, set it low firstly</comment>
  109632. </bits>
  109633. <bits access="rw" name="dcc_imgrej_rg" pos="5" rst="0">
  109634. <comment>IQ swap in DC module
  109635. 0: no swap
  109636. 1. swap</comment>
  109637. </bits>
  109638. <bits access="rw" name="dcc_hold_en_rg" pos="4" rst="0">
  109639. <comment>Hold DC accumulator calculation in DC calibration mode</comment>
  109640. </bits>
  109641. <bits access="rw" name="dcc_bypass_rg" pos="3" rst="0">
  109642. <comment>This register is not used. But DC module bypass is actrually controlled by register rxdp_bypass_dcc and rxdp_bypass_mode_dcc</comment>
  109643. </bits>
  109644. <bits access="rw" name="dcc_dc_delta_ld_st_rg" pos="2" rst="0">
  109645. <comment>Store initial value to DC accumulator at positive edge in DC cancel mode or DC calibration mode.</comment>
  109646. </bits>
  109647. <bits access="rw" name="dcc_dc_calib_en_rg" pos="1" rst="0">
  109648. <comment>Load DC value in calibration mode to debug port, only used for debug purpose</comment>
  109649. </bits>
  109650. <bits access="rw" name="dcc_rx_calib_sel_rg" pos="0" rst="0">
  109651. <comment>DC module work mode.
  109652. 0: DC calibration mode
  109653. 1: DC cancel mode</comment>
  109654. </bits>
  109655. </reg>
  109656. <reg name="rxdp_dc_calib_re" protect="rw">
  109657. <bits access="rw" name="rxdp_dc_calib_re_rg" pos="15:0" rst="0">
  109658. <comment>DC real part value used in cancel mode</comment>
  109659. </bits>
  109660. </reg>
  109661. <reg name="rxdp_dc_calib_im" protect="rw">
  109662. <bits access="rw" name="rxdp_dc_calib_im_rg" pos="15:0" rst="0">
  109663. <comment>DC image part value used in cancel mode</comment>
  109664. </bits>
  109665. </reg>
  109666. <reg name="rxdp_dc_delta_re" protect="rw">
  109667. <bits access="rw" name="rxdp_dc_delta_re_rg" pos="15:0" rst="0">
  109668. <comment>Accumulator initial real part value, which is strored at positive edge of dcc_dc_delta_ld_st_rg register</comment>
  109669. </bits>
  109670. </reg>
  109671. <reg name="rxdp_dc_delta_im" protect="rw">
  109672. <bits access="rw" name="rxdp_dc_delta_im_rg" pos="15:0" rst="0">
  109673. <comment>Accumulator initial image part value, which is strored at positive edge of dcc_dc_delta_ld_st_rg register</comment>
  109674. </bits>
  109675. </reg>
  109676. <reg name="rxdp_dc_cr" protect="rw">
  109677. <bits access="rw" name="conv_slow_bw_ct_rg" pos="11:9" rst="0">
  109678. <comment>Slow convergence control, work with conv_mode_ct_rg register</comment>
  109679. </bits>
  109680. <bits access="rw" name="conv_fast_bw_ct_rg" pos="8:6" rst="0">
  109681. <comment>Fast convergence control, work with conv_mode_ct_rg register</comment>
  109682. </bits>
  109683. <bits access="rw" name="conv_tmr_ct_rg" pos="5:2" rst="0">
  109684. <comment>Duration time of DC calibration, which is based on sample unit</comment>
  109685. </bits>
  109686. <bits access="rw" name="conv_mode_ct_rg" pos="1:0" rst="0">
  109687. <comment>DC convergence loop mode selection.
  109688. 0: fast
  109689. 1: slow
  109690. 2: fast-&gt;slow
  109691. 3: fast-&gt;hold</comment>
  109692. </bits>
  109693. </reg>
  109694. <reg name="rxdp_gain_ct_reg" protect="rw">
  109695. <bits access="rw" name="rxdp_gain_ct_load" pos="13" rst="0">
  109696. <comment>load rxdp_gain_ct to DFE. Write it to 1b'0 before assert it</comment>
  109697. </bits>
  109698. <bits access="rw" name="rxdp_gain_ct_load_bypass" pos="12" rst="1">
  109699. <comment>bypass rxdp_gain_ct_load</comment>
  109700. </bits>
  109701. <bits access="rw" name="rxdp_gain_ct" pos="10:0" rst="0">
  109702. <comment>Gain BB control. [-24db, 47.9375db], step=1/16db</comment>
  109703. </bits>
  109704. </reg>
  109705. <hole size="160"/>
  109706. <reg name="rxdp_gdeq_coef0_rg_1" protect="rw">
  109707. <bits access="rw" name="rxdp_gdeq_coef0_rg_lo" pos="15:0" rst="0">
  109708. <comment>Bit [15:0] of RX group delay coefficient 0</comment>
  109709. </bits>
  109710. </reg>
  109711. <reg name="rxdp_gdeq_coef0_rg_2" protect="rw">
  109712. <bits access="rw" name="rxdp_gdeq_coef0_rg_hi" pos="3:0" rst="0">
  109713. <comment>Bit [19:16] of RX group delay coefficient 0</comment>
  109714. </bits>
  109715. </reg>
  109716. <reg name="rxdp_gdeq_coef1_rg_1" protect="rw">
  109717. <bits access="rw" name="rxdp_gdeq_coef1_rg_lo" pos="15:0" rst="0">
  109718. <comment>Bit [15:0] of RX group delay coefficient 1</comment>
  109719. </bits>
  109720. </reg>
  109721. <reg name="rxdp_gdeq_coef1_rg_2" protect="rw">
  109722. <bits access="rw" name="rxdp_gdeq_coef1_rg_hi" pos="3:0" rst="0">
  109723. <comment>Bit [19:16] of RX group delay coefficient 1</comment>
  109724. </bits>
  109725. </reg>
  109726. <reg name="rxdp_gdeq_coef2_rg_1" protect="rw">
  109727. <bits access="rw" name="rxdp_gdeq_coef2_rg_lo" pos="15:0" rst="0">
  109728. <comment>Bit [15:0] of RX group delay coefficient 2</comment>
  109729. </bits>
  109730. </reg>
  109731. <reg name="rxdp_gdeq_coef2_rg_2" protect="rw">
  109732. <bits access="rw" name="rxdp_gdeq_coef2_rg_hi" pos="3:0" rst="0">
  109733. <comment>Bit [19:16] of RX group delay coefficient 2</comment>
  109734. </bits>
  109735. </reg>
  109736. <reg name="rxdp_gdeq_coef3_rg_1" protect="rw">
  109737. <bits access="rw" name="rxdp_gdeq_coef3_rg_lo" pos="15:0" rst="0">
  109738. <comment>Bit [15:0] of RX group delay coefficient 3</comment>
  109739. </bits>
  109740. </reg>
  109741. <reg name="rxdp_gdeq_coef3_rg_2" protect="rw">
  109742. <bits access="rw" name="rxdp_gdeq_bp_lp_sel" pos="4" rst="0">
  109743. <comment>1: LP
  109744. 0: BP</comment>
  109745. </bits>
  109746. <bits access="rw" name="rxdp_gdeq_coef3_rg_hi" pos="3:0" rst="0">
  109747. <comment>Bit [19:16] of RX group delay coefficient 3</comment>
  109748. </bits>
  109749. </reg>
  109750. <reg name="rxdp_adc_wr_buf_fifo" protect="rw">
  109751. <bits access="rw" name="rxdp_adc_smp_rate_rg" pos="6:1" rst="0">
  109752. <comment>Read rate of DFE ADC FIFO, which depends on RX mode.
  109753. 5'h00: GGE
  109754. 5'h01: NB/WT</comment>
  109755. </bits>
  109756. <bits access="rw" name="rxdp_adc_wr_en_rg" pos="0" rst="1">
  109757. <comment>Write enable of DFE ADC FIFO, active high</comment>
  109758. </bits>
  109759. </reg>
  109760. <hole size="64"/>
  109761. <reg name="rxdp_dcc_valid_o_reg" protect="r">
  109762. <bits access="r" name="rxdp_dcc_val_reg" pos="0" rst="0">
  109763. <comment>Valid indication of DC value after assert rxdp_dcc_load to avoid metastability. rxdp_dcc_re_o and rxdp_dcc_im_o are stable when this register is high</comment>
  109764. </bits>
  109765. </reg>
  109766. <reg name="rxdp_dcc_re_o_reg" protect="r">
  109767. <bits access="r" name="rxdp_dcc_re_o" pos="15:0" rst="0">
  109768. <comment>Real part of DC value, it is stable when rxdp_dcc_val_reg is high</comment>
  109769. </bits>
  109770. </reg>
  109771. <reg name="rxdp_dcc_im_o_reg" protect="r">
  109772. <bits access="r" name="rxdp_dcc_im_o" pos="15:0" rst="0">
  109773. <comment>Image part of DC value, it is stable when rxdp_dcc_val_reg is high</comment>
  109774. </bits>
  109775. </reg>
  109776. <reg name="rxdp_notch_ct" protect="rw">
  109777. <bits access="rw" name="rxdp_notch_dataen0" pos="1" rst="1">
  109778. <comment>Data enable of Notch DC
  109779. 0: disable
  109780. 1: enable</comment>
  109781. </bits>
  109782. <bits access="rw" name="rxdp_notch_dataen1" pos="0" rst="1">
  109783. </bits>
  109784. </reg>
  109785. <reg name="rxdp_notch_a0_i_reg" protect="rw">
  109786. <bits access="rw" name="rxdp_notch_a0_i" pos="11:0" rst="0">
  109787. <comment>Coefficient a for real part of Notch DC</comment>
  109788. </bits>
  109789. </reg>
  109790. <reg name="rxdp_notch_a0_q_reg" protect="rw">
  109791. <bits access="rw" name="rxdp_notch_a0_q" pos="11:0" rst="0">
  109792. <comment>Coefficient a for image part of Notch DC</comment>
  109793. </bits>
  109794. </reg>
  109795. <reg name="rxdp_notch_k_reg" protect="rw">
  109796. <bits access="rw" name="rxdp_notch_k0" pos="3:0" rst="0">
  109797. <comment>Coefficient k of Notch DC</comment>
  109798. </bits>
  109799. </reg>
  109800. <reg name="rxdp_mirror_remove" protect="rw">
  109801. <bits access="rw" name="rxdp_mrrm_bw_sel" pos="1:0" rst="0">
  109802. <comment>mrrm bandwidth selection</comment>
  109803. </bits>
  109804. </reg>
  109805. <reg name="rxdp_notch2_ct" protect="rw">
  109806. <bits access="rw" name="rxdp_notch2_dataen0" pos="1" rst="1">
  109807. <comment>Data enable of Notch H 1st core
  109808. 0: disable
  109809. 1: enable</comment>
  109810. </bits>
  109811. <bits access="rw" name="rxdp_notch2_dataen1" pos="0" rst="1">
  109812. <comment>Data enable of Notch H 2nd core
  109813. 0: disable
  109814. 1: enable</comment>
  109815. </bits>
  109816. </reg>
  109817. <reg name="rxdp_notch2_a0_i_reg" protect="rw">
  109818. <bits access="rw" name="rxdp_notch2_a0_i" pos="11:0" rst="0">
  109819. <comment>Coefficient a for real part of Notch H 1st core</comment>
  109820. </bits>
  109821. </reg>
  109822. <reg name="rxdp_notch2_a0_q_reg" protect="rw">
  109823. <bits access="rw" name="rxdp_notch2_a0_q" pos="11:0" rst="0">
  109824. <comment>Coefficient a for image part of Notch H 1st core</comment>
  109825. </bits>
  109826. </reg>
  109827. <reg name="rxdp_notch2_a1_i_reg" protect="rw">
  109828. <bits access="rw" name="rxdp_notch2_a1_i" pos="11:0" rst="0">
  109829. <comment>Coefficient a for real part of Notch H 2nd core</comment>
  109830. </bits>
  109831. </reg>
  109832. <reg name="rxdp_notch2_a1_q_reg" protect="rw">
  109833. <bits access="rw" name="rxdp_notch2_a1_q" pos="11:0" rst="0">
  109834. <comment>Coefficient a for image part of Notch H 2nd core</comment>
  109835. </bits>
  109836. </reg>
  109837. <reg name="rxdp_notch2_k_reg" protect="rw">
  109838. <bits access="rw" name="rxdp_notch2_k0" pos="7:4" rst="0">
  109839. <comment>Coefficient k of Notch H 1st core</comment>
  109840. </bits>
  109841. <bits access="rw" name="rxdp_notch2_k1" pos="3:0" rst="0">
  109842. <comment>Coefficient k of Notch H 2nd core</comment>
  109843. </bits>
  109844. </reg>
  109845. <reg name="rxdp_aci_filter_coef0_reg" protect="rw">
  109846. <bits access="rw" name="rxdp_aci_fir_coef0" pos="15:0" rst="0">
  109847. <comment>Coefficient COEF0 of ACI filter</comment>
  109848. </bits>
  109849. </reg>
  109850. <reg name="rxdp_aci_filter_coef1_reg" protect="rw">
  109851. <bits access="rw" name="rxdp_aci_fir_coef1" pos="15:0" rst="0">
  109852. <comment>Coefficient COEF1 of ACI filter</comment>
  109853. </bits>
  109854. </reg>
  109855. <reg name="rxdp_aci_filter_coef2_reg" protect="rw">
  109856. <bits access="rw" name="rxdp_aci_fir_coef2" pos="15:0" rst="0">
  109857. <comment>Coefficient COEF2 of ACI filter</comment>
  109858. </bits>
  109859. </reg>
  109860. <reg name="rxdp_aci_filter_coef3_reg" protect="rw">
  109861. <bits access="rw" name="rxdp_aci_fir_coef3" pos="15:0" rst="0">
  109862. <comment>Coefficient COEF3 of ACI filter</comment>
  109863. </bits>
  109864. </reg>
  109865. <reg name="rxdp_aci_filter_coef4_reg" protect="rw">
  109866. <bits access="rw" name="rxdp_aci_fir_coef4" pos="15:0" rst="0">
  109867. <comment>Coefficient COEF4 of ACI filter</comment>
  109868. </bits>
  109869. </reg>
  109870. <reg name="rxdp_aci_filter_coef5_reg" protect="rw">
  109871. <bits access="rw" name="rxdp_aci_fir_coef5" pos="15:0" rst="0">
  109872. <comment>Coefficient COEF5 of ACI filter</comment>
  109873. </bits>
  109874. </reg>
  109875. <reg name="rxdp_aci_filter_coef6_reg" protect="rw">
  109876. <bits access="rw" name="rxdp_aci_fir_coef6" pos="15:0" rst="0">
  109877. <comment>Coefficient COEF6 of ACI filter</comment>
  109878. </bits>
  109879. </reg>
  109880. <reg name="rxdp_aci_filter_coef7_reg" protect="rw">
  109881. <bits access="rw" name="rxdp_aci_fir_coef7" pos="15:0" rst="0">
  109882. <comment>Coefficient COEF7 of ACI filter</comment>
  109883. </bits>
  109884. </reg>
  109885. <reg name="rxdp_aci_filter_coef8_reg" protect="rw">
  109886. <bits access="rw" name="rxdp_aci_fir_coef8" pos="15:0" rst="0">
  109887. <comment>Coefficient COEF8 of ACI filter</comment>
  109888. </bits>
  109889. </reg>
  109890. <reg name="rxdp_aci_filter_coef9_reg" protect="rw">
  109891. <bits access="rw" name="rxdp_aci_fir_coef9" pos="15:0" rst="0">
  109892. <comment>Coefficient COEF9 of ACI filter</comment>
  109893. </bits>
  109894. </reg>
  109895. <reg name="rxdp_aci_filter_coef10_reg" protect="rw">
  109896. <bits access="rw" name="rxdp_aci_fir_coef10" pos="15:0" rst="0">
  109897. <comment>Coefficient COEF10 of ACI filter</comment>
  109898. </bits>
  109899. </reg>
  109900. <reg name="rxdp_aci_filter_coef11_reg" protect="rw">
  109901. <bits access="rw" name="rxdp_aci_fir_coef11" pos="15:0" rst="0">
  109902. <comment>Coefficient COEF11 of ACI filter</comment>
  109903. </bits>
  109904. </reg>
  109905. <reg name="rxdp_aci_filter_coef12_reg" protect="rw">
  109906. <bits access="rw" name="rxdp_aci_fir_coef12" pos="15:0" rst="0">
  109907. <comment>Coefficient COEF12 of ACI filter</comment>
  109908. </bits>
  109909. </reg>
  109910. <reg name="rxdp_aci_filter_coef13_reg" protect="rw">
  109911. <bits access="rw" name="rxdp_aci_fir_coef13" pos="15:0" rst="0">
  109912. <comment>Coefficient COEF13 of ACI filter</comment>
  109913. </bits>
  109914. </reg>
  109915. <reg name="rxdp_aci_filter_coef14_reg" protect="rw">
  109916. <bits access="rw" name="rxdp_aci_fir_coef14" pos="15:0" rst="0">
  109917. <comment>Coefficient COEF14 of ACI filter</comment>
  109918. </bits>
  109919. </reg>
  109920. <reg name="rxdp_aci_filter_coef15_reg" protect="rw">
  109921. <bits access="rw" name="rxdp_aci_fir_coef15" pos="15:0" rst="0">
  109922. <comment>Coefficient COEF15 of ACI filter</comment>
  109923. </bits>
  109924. </reg>
  109925. <reg name="rxdp_aci_filter_coef16_reg" protect="rw">
  109926. <bits access="rw" name="rxdp_aci_fir_coef16" pos="15:0" rst="0">
  109927. <comment>Coefficient COEF16 of ACI filter</comment>
  109928. </bits>
  109929. </reg>
  109930. <reg name="rxdp_aci_filter_coef17_reg" protect="rw">
  109931. <bits access="rw" name="rxdp_aci_fir_coef17" pos="15:0" rst="0">
  109932. <comment>Coefficient COEF17 of ACI filter</comment>
  109933. </bits>
  109934. </reg>
  109935. <reg name="rxdp_aci_filter_coef18_reg" protect="rw">
  109936. <bits access="rw" name="rxdp_aci_fir_coef18" pos="15:0" rst="0">
  109937. <comment>Coefficient COEF18 of ACI filter</comment>
  109938. </bits>
  109939. </reg>
  109940. <reg name="rxdp_aci_filter_coef19_reg" protect="rw">
  109941. <bits access="rw" name="rxdp_aci_fir_coef19" pos="15:0" rst="0">
  109942. <comment>Coefficient COEF19 of ACI filter</comment>
  109943. </bits>
  109944. </reg>
  109945. <reg name="rxdp_aci_filter_coef20_reg" protect="rw">
  109946. <bits access="rw" name="rxdp_aci_fir_coef20" pos="15:0" rst="0">
  109947. <comment>Coefficient COEF20 of ACI filter</comment>
  109948. </bits>
  109949. </reg>
  109950. <reg name="rxdp_aci_filter_coef21_reg" protect="rw">
  109951. <bits access="rw" name="rxdp_aci_fir_coef21" pos="15:0" rst="0">
  109952. <comment>Coefficient COEF21 of ACI filter</comment>
  109953. </bits>
  109954. </reg>
  109955. <reg name="rxdp_aci_filter_coef22_reg" protect="rw">
  109956. <bits access="rw" name="rxdp_aci_fir_coef22" pos="15:0" rst="0">
  109957. <comment>Coefficient COEF22 of ACI filter</comment>
  109958. </bits>
  109959. </reg>
  109960. <reg name="rxdp_aci_filter_coef23_reg" protect="rw">
  109961. <bits access="rw" name="rxdp_aci_fir_coef23" pos="15:0" rst="0">
  109962. <comment>Coefficient COEF23 of ACI filter</comment>
  109963. </bits>
  109964. </reg>
  109965. <reg name="rxdp_mixer_freq_in_reg0" protect="rw">
  109966. <bits access="rw" name="rxdp_mixer_freq_p0" pos="15:0" rst="0">
  109967. <comment>Bit [15:0] of frequency offset for Mixer</comment>
  109968. </bits>
  109969. </reg>
  109970. <reg name="rxdp_mixer_freq_in_reg1" protect="rw">
  109971. <bits access="rw" name="rxdp_mixer_freq_p1" pos="7:0" rst="0">
  109972. <comment>Bit [23:16] of frequency offset for Mixer</comment>
  109973. </bits>
  109974. </reg>
  109975. <reg name="rxdp_rssi_reg" protect="rw">
  109976. <bits access="rw" name="rxdp_rssi_ob_enable" pos="7" rst="0">
  109977. <comment>Outband RSSI enable</comment>
  109978. </bits>
  109979. <bits access="rw" name="rxdp_rssi_ib_enable" pos="6" rst="0">
  109980. <comment>Inband RSSI enable</comment>
  109981. </bits>
  109982. <bits access="rw" name="rxdp_rssi_ob_ushift" pos="5:3" rst="0">
  109983. <comment>Outband RSSI ushift value</comment>
  109984. </bits>
  109985. <bits access="rw" name="rxdp_rssi_ib_ushift" pos="2:0" rst="0">
  109986. <comment>Inband RSSI ushift value</comment>
  109987. </bits>
  109988. </reg>
  109989. <reg name="rxdp_imbc_wa_reg" protect="rw">
  109990. <bits access="rw" name="rxdp_imbc_wa" pos="15:0" rst="0">
  109991. </bits>
  109992. </reg>
  109993. <reg name="rxdp_imbc_wq_reg" protect="rw">
  109994. <bits access="rw" name="rxdp_imbc_wq" pos="15:0" rst="0">
  109995. </bits>
  109996. </reg>
  109997. <reg name="rxdp_imbc_misc_reg" protect="rw">
  109998. <bits access="rw" name="rxdp_imbc_bw_fast_ct_rg" pos="10:7" rst="0">
  109999. </bits>
  110000. <bits access="rw" name="rxdp_imbc_bw_slow_ct" pos="6:3" rst="0">
  110001. </bits>
  110002. <bits access="rw" name="rxdp_imbc_hold_dr" pos="2" rst="0">
  110003. </bits>
  110004. <bits access="rw" name="rxdp_imbc_calc_rels" pos="1" rst="0">
  110005. </bits>
  110006. <bits access="rw" name="rxdp_imbc_load" pos="0" rst="0">
  110007. </bits>
  110008. </reg>
  110009. <reg name="rxdp_imbc_wa_out_reg" protect="r">
  110010. <bits access="r" name="rxdp_imbc_wa_out" pos="15:0" rst="0">
  110011. </bits>
  110012. </reg>
  110013. <reg name="rxdp_imbc_wq_out_reg" protect="r">
  110014. <bits access="r" name="rxdp_imbc_wq_out" pos="15:0" rst="0">
  110015. </bits>
  110016. </reg>
  110017. <reg name="rxdp_imbc_out_reg" protect="r">
  110018. <bits access="r" name="rxdp_imbc_val_out" pos="0:0" rst="0">
  110019. </bits>
  110020. </reg>
  110021. <reg name="rxdpdecimatefordigrf" protect="rw">
  110022. <bits access="rw" name="rxdp_deci_gge_delay_rg" pos="11:4" rst="0">
  110023. <comment>delay count to discard some initial samples</comment>
  110024. </bits>
  110025. <bits access="rw" name="rxdp_deci_gge_deci_select" pos="3:1" rst="0">
  110026. <comment>sample select in 12x data rate</comment>
  110027. </bits>
  110028. <bits access="rw" name="rxdp_deci_gge_sample_mode" pos="0" rst="0">
  110029. <comment>sample number per symbol
  110030. 0: 541K, 2x
  110031. 1: 1.08M, 4x</comment>
  110032. </bits>
  110033. </reg>
  110034. <reg name="rxdpmt_param" protect="rw">
  110035. <bits access="rw" name="rxdp_deci_wt_deci_select" pos="9:6" rst="0">
  110036. <comment>sample select in 192K data rate</comment>
  110037. </bits>
  110038. <bits access="rw" name="rxdp_deci_wt_sample_mode" pos="5:2" rst="0">
  110039. <comment>0: 192K
  110040. 1: 96K=192K/2
  110041. 2: 64K=192K/3
  110042. ....
  110043. 15: 12K=192K/16</comment>
  110044. </bits>
  110045. <bits access="rw" name="rxdp_cic2_mode" pos="1:0" rst="0">
  110046. <comment>sel CIC2 mode
  110047. 00: mode0, divided by 40, 96K
  110048. 01: mode1, divided by 20, 192K
  110049. 10/11: mode2, divided by 10, 384K</comment>
  110050. </bits>
  110051. </reg>
  110052. <reg name="rxdp_gain_ct_rf_reg" protect="rw">
  110053. <bits access="rw" name="rxdp_gain_ct_rf_load" pos="13" rst="0">
  110054. <comment>load rxdp_gain_ct_rf to DFE. Write it to 1b'0 before assert it</comment>
  110055. </bits>
  110056. <bits access="rw" name="rxdp_gain_ct_rf_load_bypass" pos="12" rst="1">
  110057. <comment>bypass rxdp_gain_ct_rf_load</comment>
  110058. </bits>
  110059. <bits access="rw" name="rxdp_gain_ct_rf" pos="10:0" rst="0">
  110060. <comment>Gain RF control. [-24db, 47.9375db], step=1/16db</comment>
  110061. </bits>
  110062. </reg>
  110063. <reg name="start_max_min_ib_rssi_reg" protect="rw">
  110064. <bits access="rw" name="start_max_min_ib_rssi" pos="0" rst="0">
  110065. <comment>start inband RSSI max and min measurement</comment>
  110066. </bits>
  110067. </reg>
  110068. <reg name="count_16lsb_ib_rssi_reg" protect="rw">
  110069. <bits access="rw" name="count_16lsb_ib_rssi" pos="15:0" rst="30720">
  110070. <comment>timer count[15:0] for max and min measurement report after start</comment>
  110071. </bits>
  110072. </reg>
  110073. <reg name="count_16msb_ib_rssi_reg" protect="rw">
  110074. <bits access="rw" name="count_16msb_ib_rssi" pos="15:0" rst="0">
  110075. <comment>timer count[31:16] for max and min measurement report after start</comment>
  110076. </bits>
  110077. </reg>
  110078. <reg name="load_max_min_ib_rssi_reg" protect="rw">
  110079. <bits access="rw" name="load_max_min_ib_rssi" pos="0" rst="0">
  110080. <comment>start to load max and min measurement report. Before next load, set it low firstly</comment>
  110081. </bits>
  110082. </reg>
  110083. <reg name="rssi_min_ib_rssi" protect="r">
  110084. <bits access="r" name="rssi_max_min_val_reg_ib_rssi" pos="10" rst="0">
  110085. <comment>valid of max and min measurement report</comment>
  110086. </bits>
  110087. <bits access="r" name="rssi_min_reg_ib_rssi" pos="9:0" rst="0">
  110088. <comment>inband RSSI min value</comment>
  110089. </bits>
  110090. </reg>
  110091. <reg name="rssi_max_ib_rssi" protect="r">
  110092. <bits access="r" name="rssi_max_reg_ib_rssi" pos="9:0" rst="0">
  110093. <comment>inband RSSI max value, it is stable when rssi_max_min_val_reg_ib_rssi is high</comment>
  110094. </bits>
  110095. </reg>
  110096. <reg name="int_ib_rssi" protect="rw">
  110097. <bits access="r" name="rssi_int_ib_rssi" pos="2" rst="0">
  110098. <comment>interrupt status to be able to start to load max and min measurement report</comment>
  110099. </bits>
  110100. <bits access="rw" name="int_mask_ib_rssi" pos="1" rst="0">
  110101. <comment>interrupt mask</comment>
  110102. </bits>
  110103. <bits access="rw" name="int_clear_ib_rssi" pos="0" rst="0">
  110104. <comment>interrupt clear</comment>
  110105. </bits>
  110106. </reg>
  110107. <reg name="load_ib_rssi_reg" protect="rw">
  110108. <bits access="rw" name="load_ib_rssi" pos="0" rst="0">
  110109. <comment>indication to read instant measurement report</comment>
  110110. </bits>
  110111. </reg>
  110112. <reg name="rssi_val_ib_rssi" protect="r">
  110113. <bits access="r" name="rssi_val_reg_ib_rssi" pos="0" rst="0">
  110114. <comment>valid of instant measurement report</comment>
  110115. </bits>
  110116. </reg>
  110117. <reg name="rssi_ib_rssi" protect="r">
  110118. <bits access="r" name="rssi_reg_ib_rssi" pos="9:0" rst="0">
  110119. <comment>inband RSSI instant value</comment>
  110120. </bits>
  110121. </reg>
  110122. <reg name="start_max_min_ob_rssi_reg" protect="rw">
  110123. <bits access="rw" name="start_max_min_ob_rssi" pos="0" rst="0">
  110124. <comment>start outband RSSI max and min measurement</comment>
  110125. </bits>
  110126. </reg>
  110127. <reg name="count_16lsb_ob_rssi_reg" protect="rw">
  110128. <bits access="rw" name="count_16lsb_ob_rssi" pos="15:0" rst="30720">
  110129. <comment>timer count[15:0] for max and min measurement report after start</comment>
  110130. </bits>
  110131. </reg>
  110132. <reg name="count_16msb_ob_rssi_reg" protect="rw">
  110133. <bits access="rw" name="count_16msb_ob_rssi" pos="15:0" rst="0">
  110134. <comment>timer count[31:16] for max and min measurement report after start</comment>
  110135. </bits>
  110136. </reg>
  110137. <reg name="load_max_min_ob_rssi_reg" protect="rw">
  110138. <bits access="rw" name="load_max_min_ob_rssi" pos="0" rst="0">
  110139. <comment>indication to read max and min measurement report</comment>
  110140. </bits>
  110141. </reg>
  110142. <reg name="rssi_max_min_val_ob_rssi" protect="r">
  110143. <bits access="r" name="rssi_max_min_val_reg_ob_rssi" pos="0" rst="0">
  110144. <comment>valid of max and min measurement report</comment>
  110145. </bits>
  110146. </reg>
  110147. <reg name="rssi_min_ob_rssi" protect="r">
  110148. <bits access="r" name="rssi_min_reg_ob_rssi" pos="9:0" rst="0">
  110149. <comment>outband RSSI min value</comment>
  110150. </bits>
  110151. </reg>
  110152. <reg name="rssi_max_ob_rssi" protect="r">
  110153. <bits access="r" name="rssi_max_reg_ob_rssi" pos="9:0" rst="0">
  110154. <comment>outband RSSI max value</comment>
  110155. </bits>
  110156. </reg>
  110157. <reg name="int_ob_rssi" protect="rw">
  110158. <bits access="r" name="rssi_int_ob_rssi" pos="2" rst="0">
  110159. <comment>interrupt status to be able to start to load max and min measurement report</comment>
  110160. </bits>
  110161. <bits access="rw" name="int_mask_ob_rssi" pos="1" rst="0">
  110162. <comment>interrupt mask</comment>
  110163. </bits>
  110164. <bits access="rw" name="int_clear_ob_rssi" pos="0" rst="0">
  110165. <comment>interrupt clear</comment>
  110166. </bits>
  110167. </reg>
  110168. <reg name="load_ob_rssi_reg" protect="rw">
  110169. <bits access="rw" name="load_ob_rssi" pos="0" rst="0">
  110170. <comment>indication to read instant measurement report</comment>
  110171. </bits>
  110172. </reg>
  110173. <reg name="rssi_val_ob_rssi" protect="r">
  110174. <bits access="r" name="rssi_val_reg_ob_rssi" pos="0" rst="0">
  110175. <comment>valid of instant measurement report</comment>
  110176. </bits>
  110177. </reg>
  110178. <reg name="rssi_wd_ob_rssi" protect="r">
  110179. <bits access="r" name="rssi_reg_wd_ob_rssi" pos="9:0" rst="0">
  110180. <comment>outband RSSI instant value for WD</comment>
  110181. </bits>
  110182. </reg>
  110183. <reg name="rssi_up_ob_rssi" protect="r">
  110184. <bits access="r" name="rssi_reg_up_ob_rssi" pos="9:0" rst="0">
  110185. <comment>outband RSSI instant value for UP</comment>
  110186. </bits>
  110187. </reg>
  110188. <reg name="rssi_dn_ob_rssi" protect="r">
  110189. <bits access="r" name="rssi_reg_dn_ob_rssi" pos="9:0" rst="0">
  110190. <comment>outband RSSI instant value for DN</comment>
  110191. </bits>
  110192. </reg>
  110193. <reg name="digrf_rx_ctrl_reg" protect="rw">
  110194. <bits access="rw" name="digrf_rx_rx_en_delay_counter" pos="6:3" rst="0">
  110195. <comment>delay counter for rx_en</comment>
  110196. </bits>
  110197. <bits access="rw" name="digrf_rx_rx_iq_order" pos="2" rst="0">
  110198. <comment>RX IQ swap</comment>
  110199. </bits>
  110200. <bits access="rw" name="digrf_rx_rxclk_polarity" pos="1" rst="0">
  110201. <comment>RX clock invert or not</comment>
  110202. </bits>
  110203. <bits access="rw" name="digrf_rx_digrf_enable" pos="0" rst="1">
  110204. <comment>enable digrf RX</comment>
  110205. </bits>
  110206. </reg>
  110207. <reg name="digrf_tx_ctrl_reg" protect="rw">
  110208. <bits access="rw" name="digrf_tx_txdata_out_timer" pos="15:8" rst="0">
  110209. <comment>delay counter for tx_data</comment>
  110210. </bits>
  110211. <bits access="rw" name="digrf_tx_txclk_polarity" pos="1" rst="0">
  110212. <comment>TX clock invert or not</comment>
  110213. </bits>
  110214. <bits access="rw" name="digrf_tx_digrf_stream_mode_enable" pos="0" rst="1">
  110215. <comment>TX mode.
  110216. 0: block mode
  110217. 1: stream mode</comment>
  110218. </bits>
  110219. </reg>
  110220. <reg name="rxdp_bypass_control_reg1" protect="rw">
  110221. <bits access="rw" name="rxdp_bypass_uphb1" pos="15" rst="0">
  110222. <comment>Interp. HBF1
  110223. 0: SW bypass disable
  110224. 1: SW bypass enable</comment>
  110225. </bits>
  110226. <bits access="rw" name="rxdp_bypass_gainbb" pos="14" rst="0">
  110227. <comment>Gain_BB</comment>
  110228. </bits>
  110229. <bits access="rw" name="rxdp_bypass_notch2_2" pos="13" rst="0">
  110230. <comment>Notrch(H) 2nd core</comment>
  110231. </bits>
  110232. <bits access="rw" name="rxdp_bypass_notch2_1" pos="12" rst="0">
  110233. <comment>Notrch(H) 1st core</comment>
  110234. </bits>
  110235. <bits access="rw" name="rxdp_bypass_dnbh1" pos="11" rst="0">
  110236. <comment>Deci. HBF1</comment>
  110237. </bits>
  110238. <bits access="rw" name="rxdp_bypass_aci_lpf" pos="10" rst="0">
  110239. <comment>ACI Filter</comment>
  110240. </bits>
  110241. <bits access="rw" name="rxdp_bypass_rssi_ob" pos="9" rst="0">
  110242. <comment>No use</comment>
  110243. </bits>
  110244. <bits access="rw" name="rxdp_bypass_gainrf" pos="8" rst="0">
  110245. <comment>Gain_RF</comment>
  110246. </bits>
  110247. <bits access="rw" name="rxdp_bypass_gdeq" pos="7" rst="0">
  110248. <comment>Group Delay Equ</comment>
  110249. </bits>
  110250. <bits access="rw" name="rxdp_bypass_notch1_2" pos="6" rst="0">
  110251. <comment>No use</comment>
  110252. </bits>
  110253. <bits access="rw" name="rxdp_bypass_notch1_1" pos="5" rst="0">
  110254. <comment>Notch(DC)</comment>
  110255. </bits>
  110256. <bits access="rw" name="rxdp_bypass_mixer" pos="4" rst="0">
  110257. <comment>Mixer</comment>
  110258. </bits>
  110259. <bits access="rw" name="rxdp_bypass_rc" pos="3" rst="0">
  110260. <comment>RC</comment>
  110261. </bits>
  110262. <bits access="rw" name="rxdp_bypass_cic2" pos="2" rst="0">
  110263. <comment>Deci.CIC2</comment>
  110264. </bits>
  110265. <bits access="rw" name="rxdp_bypass_dcc" pos="1" rst="0">
  110266. <comment>DC Calib.&amp;Cancel</comment>
  110267. </bits>
  110268. <bits access="rw" name="rxdp_bypass_cic1" pos="0" rst="0">
  110269. <comment>Deci.CIC1</comment>
  110270. </bits>
  110271. </reg>
  110272. <reg name="rxdp_bypass_control_reg2" protect="rw">
  110273. <bits access="rw" name="rxdp_bypass_dnhb2" pos="6" rst="0">
  110274. <comment>dnhb2</comment>
  110275. </bits>
  110276. <bits access="rw" name="rxdp_bypass_imbc" pos="5" rst="0">
  110277. <comment>imbc</comment>
  110278. </bits>
  110279. <bits access="rw" name="rxdp_bypass_mrrm" pos="4" rst="0">
  110280. <comment>mrrm</comment>
  110281. </bits>
  110282. <bits access="rw" name="rxdp_bypass_rssi_ib" pos="3" rst="0">
  110283. <comment>No use</comment>
  110284. </bits>
  110285. <bits access="rw" name="rxdp_bypass_deci_digrf" pos="2" rst="0">
  110286. <comment>deci_digrf</comment>
  110287. </bits>
  110288. <bits access="rw" name="rxdp_bypass_uphb3" pos="1" rst="0">
  110289. <comment>Interp. HBF3</comment>
  110290. </bits>
  110291. <bits access="rw" name="rxdp_bypass_uphb2" pos="0" rst="0">
  110292. <comment>Interp. HBF2</comment>
  110293. </bits>
  110294. </reg>
  110295. <reg name="rxdp_bypass_mode_control_reg1" protect="rw">
  110296. <bits access="rw" name="rxdp_bypass_mode_uphb1" pos="15" rst="0">
  110297. <comment>Interp. HBF1
  110298. 0: bypass controlled by HW. HW bypass module automaticlly based on algorithm requirement
  110299. 1: bypass controlled by SW. When it is set, rxdp_bypass_uphb1 will be used</comment>
  110300. </bits>
  110301. <bits access="rw" name="rxdp_bypass_mode_gainbb" pos="14" rst="0">
  110302. <comment>Gain_BB</comment>
  110303. </bits>
  110304. <bits access="rw" name="rxdp_bypass_mode_notch2_2" pos="13" rst="0">
  110305. <comment>Notrch(H) 2nd core</comment>
  110306. </bits>
  110307. <bits access="rw" name="rxdp_bypass_mode_notch2_1" pos="12" rst="0">
  110308. <comment>Notrch(H) 1st core</comment>
  110309. </bits>
  110310. <bits access="rw" name="rxdp_bypass_mode_dnbh1" pos="11" rst="0">
  110311. <comment>Deci. HBF1</comment>
  110312. </bits>
  110313. <bits access="rw" name="rxdp_bypass_mode_aci_lpf" pos="10" rst="0">
  110314. <comment>ACI Filter</comment>
  110315. </bits>
  110316. <bits access="rw" name="rxdp_bypass_mode_rssi_ob" pos="9" rst="0">
  110317. <comment>No use</comment>
  110318. </bits>
  110319. <bits access="rw" name="rxdp_bypass_mode_gainrf" pos="8" rst="0">
  110320. <comment>Gain_RF</comment>
  110321. </bits>
  110322. <bits access="rw" name="rxdp_bypass_mode_gdeq" pos="7" rst="0">
  110323. <comment>Group Delay Equ</comment>
  110324. </bits>
  110325. <bits access="rw" name="rxdp_bypass_mode_notch1_2" pos="6" rst="0">
  110326. <comment>No use</comment>
  110327. </bits>
  110328. <bits access="rw" name="rxdp_bypass_mode_notch1_1" pos="5" rst="0">
  110329. <comment>Notch(DC)</comment>
  110330. </bits>
  110331. <bits access="rw" name="rxdp_bypass_mode_mixer" pos="4" rst="0">
  110332. <comment>Mixer</comment>
  110333. </bits>
  110334. <bits access="rw" name="rxdp_bypass_mode_rc" pos="3" rst="0">
  110335. <comment>RC</comment>
  110336. </bits>
  110337. <bits access="rw" name="rxdp_bypass_mode_cic2" pos="2" rst="0">
  110338. <comment>Deci.CIC2</comment>
  110339. </bits>
  110340. <bits access="rw" name="rxdp_bypass_mode_dcc" pos="1" rst="0">
  110341. <comment>DC Calib.&amp;Cancel</comment>
  110342. </bits>
  110343. <bits access="rw" name="rxdp_bypass_mode_cic1" pos="0" rst="0">
  110344. <comment>Deci.CIC1</comment>
  110345. </bits>
  110346. </reg>
  110347. <reg name="rxdp_bypass_mode_control_reg2" protect="rw">
  110348. <bits access="rw" name="rxdp_bypass_mode_dnhb2" pos="6" rst="0">
  110349. <comment>dnhb2</comment>
  110350. </bits>
  110351. <bits access="rw" name="rxdp_bypass_mode_imbc" pos="5" rst="0">
  110352. <comment>imbc</comment>
  110353. </bits>
  110354. <bits access="rw" name="rxdp_bypass_mode_mrrm" pos="4" rst="0">
  110355. <comment>mrrm</comment>
  110356. </bits>
  110357. <bits access="rw" name="rxdp_bypass_mode_rssi_ib" pos="3" rst="0">
  110358. <comment>No use</comment>
  110359. </bits>
  110360. <bits access="rw" name="rxdp_bypass_mode_deci_digrf" pos="2" rst="0">
  110361. <comment>deci_digrf</comment>
  110362. </bits>
  110363. <bits access="rw" name="rxdp_bypass_mode_uphb3" pos="1" rst="0">
  110364. <comment>Interp. HBF3</comment>
  110365. </bits>
  110366. <bits access="rw" name="rxdp_bypass_mode_uphb2" pos="0" rst="0">
  110367. <comment>Interp. HBF2</comment>
  110368. </bits>
  110369. </reg>
  110370. <reg name="rxdp_dcc_re_real_reg" protect="r">
  110371. <bits access="r" name="rxdp_dcc_re_real" pos="15:0" rst="0">
  110372. <comment>instant value of rxdp_dcc_re</comment>
  110373. </bits>
  110374. </reg>
  110375. <reg name="rxdp_dcc_im_real_reg" protect="r">
  110376. <bits access="r" name="rxdp_dcc_im_real" pos="15:0" rst="0">
  110377. <comment>instant value of rxdp_dcc_im</comment>
  110378. </bits>
  110379. </reg>
  110380. <reg name="rssi_real_ib_rssi" protect="r">
  110381. <bits access="r" name="rssi_reg_real_ib_rssi" pos="9:0" rst="0">
  110382. <comment>instant value of rssi_reg_ib_rssi</comment>
  110383. </bits>
  110384. </reg>
  110385. <reg name="rssi_wd_real_ob_rssi" protect="r">
  110386. <bits access="r" name="rssi_reg_wd_real_ob_rssi" pos="9:0" rst="0">
  110387. <comment>instant value of rssi_reg_wd_ob_rssi</comment>
  110388. </bits>
  110389. </reg>
  110390. <reg name="rssi_up_real_ob_rssi" protect="r">
  110391. <bits access="r" name="rssi_reg_up_real_ob_rssi" pos="9:0" rst="0">
  110392. <comment>instant value of rssi_reg_up_ob_rssi</comment>
  110393. </bits>
  110394. </reg>
  110395. <reg name="rssi_dn_real_ob_rssi" protect="r">
  110396. <bits access="r" name="rssi_reg_dn_real_ob_rssi" pos="9:0" rst="0">
  110397. <comment>instant value of rssi_reg_dn_ob_rssi</comment>
  110398. </bits>
  110399. </reg>
  110400. <reg name="rxdp_imbc_wa_out_real_reg" protect="r">
  110401. <bits access="r" name="rxdp_imbc_wa_out_real" pos="15:0" rst="0">
  110402. <comment>instant value of rxdp_imbc_wa_out</comment>
  110403. </bits>
  110404. </reg>
  110405. <reg name="rxdp_imbc_wq_out_real_reg" protect="r">
  110406. <bits access="r" name="rxdp_imbc_wq_out_real" pos="15:0" rst="0">
  110407. <comment>instant value of rxdp_imbc_wq_out</comment>
  110408. </bits>
  110409. </reg>
  110410. <hole size="512"/>
  110411. <reg name="txdp_gsm_a1" protect="rw">
  110412. <bits access="rw" name="txdp_gsm_a1_rg" pos="11:0" rst="0">
  110413. <comment>Coefficient a1 for PLL Equ.</comment>
  110414. </bits>
  110415. </reg>
  110416. <reg name="txdp_gsm_a2" protect="rw">
  110417. <bits access="rw" name="txdp_gsm_a2_rg" pos="11:0" rst="0">
  110418. <comment>Coefficient a2 for PLL Equ.</comment>
  110419. </bits>
  110420. </reg>
  110421. <reg name="txdp_gsm_b1" protect="rw">
  110422. <bits access="rw" name="txdp_gsm_b1_rg" pos="11:0" rst="0">
  110423. <comment>Coefficient b1 for PLL Equ.</comment>
  110424. </bits>
  110425. </reg>
  110426. <reg name="txdp_gsm_b2" protect="rw">
  110427. <bits access="rw" name="txdp_gsm_b2_rg" pos="11:0" rst="0">
  110428. <comment>Coefficient b2 for PLL Equ.</comment>
  110429. </bits>
  110430. </reg>
  110431. <reg name="txdp_gsm_g" protect="rw">
  110432. <bits access="rw" name="txdp_gsm_g_rg" pos="15:0" rst="0">
  110433. <comment>Bit [27:12] of gain for PLL Equ. It is valid when AFC adjustment is being enabled</comment>
  110434. </bits>
  110435. </reg>
  110436. <reg name="txdp_gsm_equ_bypass_reg" protect="rw">
  110437. <bits access="rw" name="txdp_gsm_g_load_bypass" pos="1" rst="1">
  110438. <comment>Bypass load_g:
  110439. 0: disable bypass
  110440. 1: enable bypass</comment>
  110441. </bits>
  110442. <bits access="rw" name="txdp_gsm_equ_bypass" pos="0" rst="1">
  110443. <comment>Bypass PLL Equ:
  110444. 0: disable bypass
  110445. 1: enable bypass</comment>
  110446. </bits>
  110447. </reg>
  110448. <reg name="txdp_gsm_equ_tx_shift_ct" protect="rw">
  110449. <bits access="rw" name="txdp_gsm_int_dec_sel_rg" pos="6:5" rst="0">
  110450. <comment>No use</comment>
  110451. </bits>
  110452. <bits access="rw" name="txdp_gsm_form_lsb_acc_en" pos="4" rst="0">
  110453. <comment>4 LSB control</comment>
  110454. </bits>
  110455. <bits access="rw" name="txdp_gsm_equ_tx_shift_ct_rg" pos="3:0" rst="0">
  110456. <comment>Former output shift control</comment>
  110457. </bits>
  110458. </reg>
  110459. <reg name="txdp_gsm_offset_value0_reg" protect="rw">
  110460. <bits access="rw" name="txdp_gsm_offset_value0" pos="15:0" rst="43691">
  110461. <comment>No use</comment>
  110462. </bits>
  110463. </reg>
  110464. <reg name="txdp_gsm_offset_value1_reg" protect="rw">
  110465. <bits access="rw" name="txdp_gsm_offset_value1" pos="7:0" rst="10">
  110466. <comment>no use</comment>
  110467. </bits>
  110468. </reg>
  110469. <reg name="txdp_gsm_tx_rx" protect="rw">
  110470. <bits access="rw" name="txdp_gsm_freq_rg2" pos="4:2" rst="0">
  110471. <comment>Bit [34:32] for GSM TX frequency</comment>
  110472. </bits>
  110473. <bits access="rw" name="txdp_gsm_tx_rx_rg" pos="0" rst="1">
  110474. <comment>use former output or not
  110475. 0: RX don't use
  110476. 1: TX use</comment>
  110477. </bits>
  110478. </reg>
  110479. <reg name="txdp_gsm_freq0" protect="rw">
  110480. <bits access="rw" name="txdp_gsm_freq_rg0" pos="15:0" rst="25200">
  110481. <comment>Bit [15:0] for GSM TX frequency</comment>
  110482. </bits>
  110483. </reg>
  110484. <reg name="txdp_gsm_freq1" protect="rw">
  110485. <bits access="rw" name="txdp_gsm_freq_rg1" pos="15:0" rst="37415">
  110486. <comment>Bit [31:16] for GSM TX frequency</comment>
  110487. </bits>
  110488. </reg>
  110489. <reg name="txdp_gsm_freq_tx_offset" protect="rw">
  110490. <bits access="rw" name="txdp_gsm_freq_tx_offset_rg" pos="15:0" rst="0">
  110491. <comment>Offset add to GSM TX frequency</comment>
  110492. </bits>
  110493. </reg>
  110494. <hole size="32"/>
  110495. <reg name="txdp_gsm_sdmpre_ct" protect="rw">
  110496. <bits access="rw" name="txdp_gsm_mode_on_rg" pos="7" rst="0">
  110497. <comment>Output control for TX SDM frequency
  110498. 0: freqency from register
  110499. 1: freqency from psdm, used by GSM or polarIQ</comment>
  110500. </bits>
  110501. <bits access="rw" name="txdp_gsm_tri_wave_bypass_rg" pos="6" rst="0">
  110502. <comment>No use</comment>
  110503. </bits>
  110504. <bits access="rw" name="txdp_gsm_shift_more_rg" pos="5" rst="0">
  110505. <comment>No use</comment>
  110506. </bits>
  110507. <bits access="rw" name="txdp_gsm_offset_enable_rg" pos="4" rst="1">
  110508. <comment>No use</comment>
  110509. </bits>
  110510. <bits access="rw" name="txdp_gsm_int_freq_sel_mode_rg" pos="3:1" rst="0">
  110511. <comment>No use</comment>
  110512. </bits>
  110513. <bits access="rw" name="txdp_gsm_form_bypass" pos="0" rst="0">
  110514. <comment>GSM TX frequency control.
  110515. 0: modulation signal act on GSM TX freqency
  110516. 1: GSM TX freqency is fixed</comment>
  110517. </bits>
  110518. </reg>
  110519. <reg name="txdp_gsm_misc_reg" protect="rw">
  110520. <bits access="rw" name="gsm_freq_load_bypass_rg" pos="3" rst="0">
  110521. <comment>GSM TX frequency load is at the same time of AFC adjustment or not
  110522. 0: at the same time
  110523. 1: not at the same time</comment>
  110524. </bits>
  110525. <bits access="rw" name="gsm_tx_fifo_rd_clr_rg" pos="2" rst="0">
  110526. <comment>Clear bit for read point of GSM TX FIFO</comment>
  110527. </bits>
  110528. <bits access="rw" name="gsm_tx_fifo_wr_clr_rg" pos="1" rst="0">
  110529. <comment>Clear bit for write point of GSM TX FIFO</comment>
  110530. </bits>
  110531. <bits access="rw" name="txdp_gsm_pn_en" pos="0" rst="0">
  110532. <comment>PN test enable</comment>
  110533. </bits>
  110534. </reg>
  110535. <reg name="txdp_gsm_pn_switch_reg" protect="rw">
  110536. <bits access="rw" name="txdp_gsm_pn_switch" pos="2:0" rst="0">
  110537. <comment>The mode of pseudo random polynomial</comment>
  110538. </bits>
  110539. </reg>
  110540. <reg name="txdp_gsm_encode_en_reg" protect="rw">
  110541. <bits access="rw" name="txdp_gsm_encode_pos_neg" pos="1" rst="0">
  110542. <comment>The initial phase selection of differential encoding</comment>
  110543. </bits>
  110544. <bits access="rw" name="txdp_gsm_encode_en" pos="0" rst="1">
  110545. <comment>The differential encoding enable for GSM TX data</comment>
  110546. </bits>
  110547. </reg>
  110548. <reg name="txdp_gsm_g_ext_reg" protect="rw">
  110549. <bits access="rw" name="txdp_gsm_g_ext" pos="11:0" rst="0">
  110550. <comment>Bit [11:0] of gain for PLL Equ. It works with register txdp_gsm_g_rg</comment>
  110551. </bits>
  110552. </reg>
  110553. <reg name="txdp_polar_delay_reg" protect="rw">
  110554. <bits access="rw" name="txdp_polar1_delay" pos="14:5" rst="0">
  110555. <comment>txdp polar1 delay</comment>
  110556. </bits>
  110557. <bits access="rw" name="txdp_polar0_delay" pos="4:0" rst="0">
  110558. <comment>txdp polar0 delay</comment>
  110559. </bits>
  110560. </reg>
  110561. <reg name="txdp_gsm_grp_dly_coff1_reg_l" protect="rw">
  110562. <bits access="rw" name="gsm_grp_dly_coff1_rg_l" pos="15:0" rst="0">
  110563. <comment>gsm_grp_dly_coff1_rg[15:0]</comment>
  110564. </bits>
  110565. </reg>
  110566. <reg name="txdp_gsm_grp_dly_coff1_reg_m" protect="rw">
  110567. <bits access="rw" name="gsm_grp_dly_coff1_rg_m" pos="3:0" rst="0">
  110568. <comment>gsm_grp_dly_coff1_rg[19:16]</comment>
  110569. </bits>
  110570. </reg>
  110571. <reg name="txdp_gsm_grp_dly_coff2_reg_l" protect="rw">
  110572. <bits access="rw" name="gsm_grp_dly_coff2_rg_l" pos="15:0" rst="0">
  110573. <comment>gsm_grp_dly_coff2_rg[15:0]</comment>
  110574. </bits>
  110575. </reg>
  110576. <reg name="txdp_gsm_grp_dly_coff2_reg_m" protect="rw">
  110577. <bits access="rw" name="gsm_grp_dly_coff2_rg_m" pos="3:0" rst="0">
  110578. <comment>gsm_grp_dly_coff2_rg[19:16]</comment>
  110579. </bits>
  110580. </reg>
  110581. <reg name="txdp_gsm_grp_dly_coff3_reg_l" protect="rw">
  110582. <bits access="rw" name="gsm_grp_dly_coff3_rg_l" pos="15:0" rst="0">
  110583. <comment>gsm_grp_dly_coff3_rg[15:0]</comment>
  110584. </bits>
  110585. </reg>
  110586. <reg name="txdp_gsm_grp_dly_coff3_reg_m" protect="rw">
  110587. <bits access="rw" name="gsm_grp_dly_coff3_rg_m" pos="3:0" rst="0">
  110588. <comment>gsm_grp_dly_coff3_rg[19:16]</comment>
  110589. </bits>
  110590. </reg>
  110591. <reg name="txdp_gsm_grp_dly_coff4_reg_l" protect="rw">
  110592. <bits access="rw" name="gsm_grp_dly_coff4_rg_l" pos="15:0" rst="0">
  110593. <comment>gsm_grp_dly_coff4_rg[15:0]</comment>
  110594. </bits>
  110595. </reg>
  110596. <reg name="txdp_gsm_grp_dly_coff4_reg_m" protect="rw">
  110597. <bits access="rw" name="gsm_grp_dly_coff4_rg_m" pos="3:0" rst="0">
  110598. <comment>gsm_grp_dly_coff4_rg[19:16]</comment>
  110599. </bits>
  110600. </reg>
  110601. <reg name="gsm_grp_dly_in_rg_reg" protect="rw">
  110602. <bits access="rw" name="gsm_grp_dly_in_rg" pos="14:0" rst="0">
  110603. <comment>register value from GSM upper and low branch</comment>
  110604. </bits>
  110605. </reg>
  110606. <reg name="txdp_gsm_dpll_ctrl" protect="rw">
  110607. <bits access="rw" name="gsm_grp_dly_position_rg" pos="7" rst="0">
  110608. <comment>position of txdp_gdequ(2) in txdp_gsm
  110609. 0: upper branch
  110610. 1: low branch</comment>
  110611. </bits>
  110612. <bits access="rw" name="mdll_mode" pos="6:5" rst="1">
  110613. <comment>MDLL mode:
  110614. 0: 26MHz*7
  110615. 1: 26MHz*8
  110616. 2: 26MHz*9
  110617. 3: 26MHz*10</comment>
  110618. </bits>
  110619. <bits access="rw" name="dfe_dpll_en" pos="4" rst="0">
  110620. <comment>upper branch enable in txdp_gsm for 2P modulation</comment>
  110621. </bits>
  110622. <bits access="rw" name="txdp_gsm_uplpf_bypass_rg" pos="3" rst="0">
  110623. <comment>bypass txdp_uplpf(2) in txdp_gsm</comment>
  110624. </bits>
  110625. <bits access="rw" name="gsm_grp_dly_in_rg_load" pos="2" rst="0">
  110626. <comment>load gsm_grp_dly_in_rg to DFE, assert it to load. Before load, write it to low firstly</comment>
  110627. </bits>
  110628. <bits access="rw" name="gsm_grp_dly_in_rg_mode" pos="1" rst="0">
  110629. <comment>input mode for upper and low branch:
  110630. 0: from DFE register, gsm_grp_dly_in_rg
  110631. 1: from DFE function</comment>
  110632. </bits>
  110633. <bits access="rw" name="gsm_grp_dly_bypass" pos="0" rst="0">
  110634. <comment>bypass txdp_gdequ(2) in txdp_gsm</comment>
  110635. </bits>
  110636. </reg>
  110637. <reg name="txdp_gsm_vco_gain_reg" protect="rw">
  110638. <bits access="rw" name="txdp_gsm_vco_gain_rg" pos="15:0" rst="0">
  110639. <comment>vco_gain for upper branch</comment>
  110640. </bits>
  110641. </reg>
  110642. <reg name="txdp_gsm_vco_prod_rg_lsb_reg" protect="rw">
  110643. <bits access="rw" name="txdp_gsm_vco_prod_rg_lsb" pos="15:0" rst="0">
  110644. <comment>register value for data_pm_dac[15:0]</comment>
  110645. </bits>
  110646. </reg>
  110647. <reg name="txdp_gsm_vco_prod_rg_msb_reg" protect="rw">
  110648. <bits access="rw" name="txdp_gsm_vco_prod_bypass" pos="15" rst="0">
  110649. <comment>bypass for data_pm_dac:
  110650. 0: data_pm_dac from DFE function
  110651. 1: data_pm_dac from DFE regsiter</comment>
  110652. </bits>
  110653. <bits access="rw" name="txdp_gsm_vco_prod_rg_msb" pos="14:0" rst="0">
  110654. <comment>register value for data_pm_dac[30:16]</comment>
  110655. </bits>
  110656. </reg>
  110657. <hole size="992"/>
  110658. <reg name="txdp_wedge_gain_ct_reg" protect="rw">
  110659. <bits access="rw" name="txdp_wedge_gain_ct_load" pos="13" rst="0">
  110660. <comment>load txdp_wedge_gain_ct to DFE. Write it to 1b'0 before assert it</comment>
  110661. </bits>
  110662. <bits access="rw" name="txdp_wedge_gain_ct_load_bypass" pos="12" rst="1">
  110663. <comment>bypass txdp_wedge_gain_ct_load</comment>
  110664. </bits>
  110665. <bits access="rw" name="txdp_wedge_gain_ct" pos="10:0" rst="0">
  110666. <comment>Gain control of NB/WT TX. [-24db, 47.9375db], step=1/16db</comment>
  110667. </bits>
  110668. </reg>
  110669. <hole size="640"/>
  110670. <reg name="txdp_wedge_pm_split_mode_reg" protect="rw">
  110671. <bits access="rw" name="txdp_wedge_flow_en" pos="1" rst="0">
  110672. </bits>
  110673. <bits access="rw" name="txdp_wedge_split_mode" pos="0" rst="0">
  110674. </bits>
  110675. </reg>
  110676. <reg name="txdp_wedge_am_shrink_reg" protect="rw">
  110677. <bits access="rw" name="txdp_wedge_am_shrink" pos="7:0" rst="0">
  110678. </bits>
  110679. </reg>
  110680. <hole size="32"/>
  110681. <reg name="txdp_wedge_pm_shift_reg" protect="rw">
  110682. <bits access="rw" name="txdp_wedge_pm_shift" pos="1:0" rst="0">
  110683. </bits>
  110684. </reg>
  110685. <reg name="txdp_wedge_am_p0_reg" protect="rw">
  110686. <bits access="rw" name="txdp_wedge_am_p0" pos="9:0" rst="0">
  110687. <comment>Amplitude compensation curve of DPD</comment>
  110688. </bits>
  110689. </reg>
  110690. <reg name="txdp_wedge_am_p1_reg" protect="rw">
  110691. <bits access="rw" name="txdp_wedge_am_p1" pos="9:0" rst="0">
  110692. <comment>Amplitude compensation curve of DPD</comment>
  110693. </bits>
  110694. </reg>
  110695. <reg name="txdp_wedge_am_p2_reg" protect="rw">
  110696. <bits access="rw" name="txdp_wedge_am_p2" pos="9:0" rst="0">
  110697. <comment>Amplitude compensation curve of DPD</comment>
  110698. </bits>
  110699. </reg>
  110700. <reg name="txdp_wedge_am_p3_reg" protect="rw">
  110701. <bits access="rw" name="txdp_wedge_am_p3" pos="9:0" rst="0">
  110702. <comment>Amplitude compensation curve of DPD</comment>
  110703. </bits>
  110704. </reg>
  110705. <reg name="txdp_wedge_am_p4_reg" protect="rw">
  110706. <bits access="rw" name="txdp_wedge_am_p4" pos="9:0" rst="0">
  110707. <comment>Amplitude compensation curve of DPD</comment>
  110708. </bits>
  110709. </reg>
  110710. <reg name="txdp_wedge_am_p5_reg" protect="rw">
  110711. <bits access="rw" name="txdp_wedge_am_p5" pos="9:0" rst="0">
  110712. <comment>Amplitude compensation curve of DPD</comment>
  110713. </bits>
  110714. </reg>
  110715. <reg name="txdp_wedge_am_p6_reg" protect="rw">
  110716. <bits access="rw" name="txdp_wedge_am_p6" pos="9:0" rst="0">
  110717. <comment>Amplitude compensation curve of DPD</comment>
  110718. </bits>
  110719. </reg>
  110720. <reg name="txdp_wedge_am_p7_reg" protect="rw">
  110721. <bits access="rw" name="txdp_wedge_am_p7" pos="9:0" rst="0">
  110722. <comment>Amplitude compensation curve of DPD</comment>
  110723. </bits>
  110724. </reg>
  110725. <reg name="txdp_wedge_am_p8_reg" protect="rw">
  110726. <bits access="rw" name="txdp_wedge_am_p8" pos="9:0" rst="0">
  110727. <comment>Amplitude compensation curve of DPD</comment>
  110728. </bits>
  110729. </reg>
  110730. <reg name="txdp_wedge_am_p9_reg" protect="rw">
  110731. <bits access="rw" name="txdp_wedge_am_p9" pos="9:0" rst="0">
  110732. <comment>Amplitude compensation curve of DPD</comment>
  110733. </bits>
  110734. </reg>
  110735. <reg name="txdp_wedge_am_p10_reg" protect="rw">
  110736. <bits access="rw" name="txdp_wedge_am_p10" pos="9:0" rst="0">
  110737. <comment>Amplitude compensation curve of DPD</comment>
  110738. </bits>
  110739. </reg>
  110740. <reg name="txdp_wedge_am_p11_reg" protect="rw">
  110741. <bits access="rw" name="txdp_wedge_am_p11" pos="9:0" rst="0">
  110742. <comment>Amplitude compensation curve of DPD</comment>
  110743. </bits>
  110744. </reg>
  110745. <reg name="txdp_wedge_am_p12_reg" protect="rw">
  110746. <bits access="rw" name="txdp_wedge_am_p12" pos="9:0" rst="0">
  110747. <comment>Amplitude compensation curve of DPD</comment>
  110748. </bits>
  110749. </reg>
  110750. <reg name="txdp_wedge_am_p13_reg" protect="rw">
  110751. <bits access="rw" name="txdp_wedge_am_p13" pos="9:0" rst="0">
  110752. <comment>Amplitude compensation curve of DPD</comment>
  110753. </bits>
  110754. </reg>
  110755. <reg name="txdp_wedge_am_p14_reg" protect="rw">
  110756. <bits access="rw" name="txdp_wedge_am_p14" pos="9:0" rst="0">
  110757. <comment>Amplitude compensation curve of DPD</comment>
  110758. </bits>
  110759. </reg>
  110760. <reg name="txdp_wedge_am_p15_reg" protect="rw">
  110761. <bits access="rw" name="txdp_wedge_am_p15" pos="9:0" rst="0">
  110762. <comment>Amplitude compensation curve of DPD</comment>
  110763. </bits>
  110764. </reg>
  110765. <reg name="txdp_wedge_am_p16_reg" protect="rw">
  110766. <bits access="rw" name="txdp_wedge_am_p16" pos="9:0" rst="0">
  110767. <comment>Amplitude compensation curve of DPD</comment>
  110768. </bits>
  110769. </reg>
  110770. <reg name="txdp_wedge_pm_p0_reg" protect="rw">
  110771. <bits access="rw" name="txdp_wedge_pm_p0" pos="9:0" rst="0">
  110772. <comment>Phase compensation curve of DPD</comment>
  110773. </bits>
  110774. </reg>
  110775. <reg name="txdp_wedge_pm_p1_reg" protect="rw">
  110776. <bits access="rw" name="txdp_wedge_pm_p1" pos="9:0" rst="0">
  110777. <comment>Phase compensation curve of DPD</comment>
  110778. </bits>
  110779. </reg>
  110780. <reg name="txdp_wedge_pm_p2_reg" protect="rw">
  110781. <bits access="rw" name="txdp_wedge_pm_p2" pos="9:0" rst="0">
  110782. <comment>Phase compensation curve of DPD</comment>
  110783. </bits>
  110784. </reg>
  110785. <reg name="txdp_wedge_pm_p3_reg" protect="rw">
  110786. <bits access="rw" name="txdp_wedge_pm_p3" pos="9:0" rst="0">
  110787. <comment>Phase compensation curve of DPD</comment>
  110788. </bits>
  110789. </reg>
  110790. <reg name="txdp_wedge_pm_p4_reg" protect="rw">
  110791. <bits access="rw" name="txdp_wedge_pm_p4" pos="9:0" rst="0">
  110792. <comment>Phase compensation curve of DPD</comment>
  110793. </bits>
  110794. </reg>
  110795. <reg name="txdp_wedge_pm_p5_reg" protect="rw">
  110796. <bits access="rw" name="txdp_wedge_pm_p5" pos="9:0" rst="0">
  110797. <comment>Phase compensation curve of DPD</comment>
  110798. </bits>
  110799. </reg>
  110800. <reg name="txdp_wedge_pm_p6_reg" protect="rw">
  110801. <bits access="rw" name="txdp_wedge_pm_p6" pos="9:0" rst="0">
  110802. <comment>Phase compensation curve of DPD</comment>
  110803. </bits>
  110804. </reg>
  110805. <reg name="txdp_wedge_pm_p7_reg" protect="rw">
  110806. <bits access="rw" name="txdp_wedge_pm_p7" pos="9:0" rst="0">
  110807. <comment>Phase compensation curve of DPD</comment>
  110808. </bits>
  110809. </reg>
  110810. <reg name="txdp_wedge_pm_p8_reg" protect="rw">
  110811. <bits access="rw" name="txdp_wedge_pm_p8" pos="9:0" rst="0">
  110812. <comment>Phase compensation curve of DPD</comment>
  110813. </bits>
  110814. </reg>
  110815. <reg name="txdp_wedge_pm_p9_reg" protect="rw">
  110816. <bits access="rw" name="txdp_wedge_pm_p9" pos="9:0" rst="0">
  110817. <comment>Phase compensation curve of DPD</comment>
  110818. </bits>
  110819. </reg>
  110820. <reg name="txdp_wedge_pm_p10_reg" protect="rw">
  110821. <bits access="rw" name="txdp_wedge_pm_p10" pos="9:0" rst="0">
  110822. <comment>Phase compensation curve of DPD</comment>
  110823. </bits>
  110824. </reg>
  110825. <reg name="txdp_wedge_pm_p11_reg" protect="rw">
  110826. <bits access="rw" name="txdp_wedge_pm_p11" pos="9:0" rst="0">
  110827. <comment>Phase compensation curve of DPD</comment>
  110828. </bits>
  110829. </reg>
  110830. <reg name="txdp_wedge_pm_p12_reg" protect="rw">
  110831. <bits access="rw" name="txdp_wedge_pm_p12" pos="9:0" rst="0">
  110832. <comment>Phase compensation curve of DPD</comment>
  110833. </bits>
  110834. </reg>
  110835. <reg name="txdp_wedge_pm_p13_reg" protect="rw">
  110836. <bits access="rw" name="txdp_wedge_pm_p13" pos="9:0" rst="0">
  110837. <comment>Phase compensation curve of DPD</comment>
  110838. </bits>
  110839. </reg>
  110840. <reg name="txdp_wedge_pm_p14_reg" protect="rw">
  110841. <bits access="rw" name="txdp_wedge_pm_p14" pos="9:0" rst="0">
  110842. <comment>Phase compensation curve of DPD</comment>
  110843. </bits>
  110844. </reg>
  110845. <reg name="txdp_wedge_pm_p15_reg" protect="rw">
  110846. <bits access="rw" name="txdp_wedge_pm_p15" pos="9:0" rst="0">
  110847. <comment>Phase compensation curve of DPD</comment>
  110848. </bits>
  110849. </reg>
  110850. <reg name="txdp_wedge_pm_p16_reg" protect="rw">
  110851. <bits access="rw" name="txdp_wedge_pm_p16" pos="9:0" rst="0">
  110852. <comment>Phase compensation curve of DPD</comment>
  110853. </bits>
  110854. </reg>
  110855. <hole size="32"/>
  110856. <reg name="aclr_coef4" protect="rw">
  110857. <bits access="rw" name="aclr_coef04" pos="9:0" rst="43">
  110858. <comment>Coefficient 4 of ACLR filter</comment>
  110859. </bits>
  110860. </reg>
  110861. <reg name="aclr_coef5" protect="rw">
  110862. <bits access="rw" name="aclr_coef05" pos="9:0" rst="75">
  110863. <comment>Coefficient 5 of ACLR filter</comment>
  110864. </bits>
  110865. </reg>
  110866. <reg name="aclr_coef6" protect="rw">
  110867. <bits access="rw" name="aclr_coef06" pos="9:0" rst="99">
  110868. <comment>Coefficient 6 of ACLR filter</comment>
  110869. </bits>
  110870. </reg>
  110871. <reg name="aclr_coef7" protect="rw">
  110872. <bits access="rw" name="aclr_coef07" pos="9:0" rst="109">
  110873. <comment>Coefficient 7 of ACLR filter</comment>
  110874. </bits>
  110875. </reg>
  110876. <hole size="32"/>
  110877. <reg name="clk_dac_ctrl" protect="rw">
  110878. <bits access="rw" name="clk_dac_test_mode" pos="7:4" rst="0">
  110879. <comment>divide resource of clk_dac when test mode.
  110880. 0: divide by 1
  110881. 1: divide by 2
  110882. 2: divide by 4
  110883. 3: divide by 8
  110884. 4: divide by 16
  110885. 5: divide by 32
  110886. 6: divide by 64
  110887. 7: divide by 128
  110888. 8: divide by 256
  110889. default: divide by 1</comment>
  110890. </bits>
  110891. <bits access="rw" name="clk_dac_test_sel" pos="3:2" rst="0">
  110892. <comment>resource of clk_dac when test mode.
  110893. 00: clk_26m
  110894. 01: clk_245p76m
  110895. 10: clk_fbc
  110896. 11: clk_adc_gge_nb</comment>
  110897. </bits>
  110898. <bits access="rw" name="clk_dac_test_en" pos="1" rst="0">
  110899. <comment>enable clk_dac when test mode</comment>
  110900. </bits>
  110901. <bits access="rw" name="clk_dac_sel" pos="0" rst="0">
  110902. <comment>0: clk_dac is from function mode
  110903. 1: clk_dac is from test mode</comment>
  110904. </bits>
  110905. </reg>
  110906. <reg name="txdp_delay_reg" protect="rw">
  110907. <bits access="rw" name="txdp_delay" pos="6:0" rst="0">
  110908. <comment>txdp iq delay</comment>
  110909. </bits>
  110910. </reg>
  110911. <reg name="aclr_coef0" protect="rw">
  110912. <bits access="rw" name="aclr_coef00" pos="9:0" rst="1011">
  110913. <comment>Coefficient 0 of ACLR filter</comment>
  110914. </bits>
  110915. </reg>
  110916. <reg name="aclr_coef1" protect="rw">
  110917. <bits access="rw" name="aclr_coef01" pos="9:0" rst="1013">
  110918. <comment>Coefficient 1 of ACLR filter</comment>
  110919. </bits>
  110920. </reg>
  110921. <reg name="aclr_coef2" protect="rw">
  110922. <bits access="rw" name="aclr_coef02" pos="9:0" rst="1020">
  110923. <comment>Coefficient 2 of ACLR filter</comment>
  110924. </bits>
  110925. </reg>
  110926. <reg name="aclr_coef3" protect="rw">
  110927. <bits access="rw" name="aclr_coef03" pos="9:0" rst="15">
  110928. <comment>Coefficient 3 of ACLR filter</comment>
  110929. </bits>
  110930. </reg>
  110931. <reg name="txdp_gdeq_coef0_rg_1" protect="rw">
  110932. <bits access="rw" name="txdp_gdeq_coef0_rg_lo" pos="15:0" rst="0">
  110933. <comment>Bit [15:0] of coefficient 0 of group delay equ. for NB/LTE/eMTC TX</comment>
  110934. </bits>
  110935. </reg>
  110936. <reg name="txdp_gdeq_coef0_rg_2" protect="rw">
  110937. <bits access="rw" name="txdp_gdeq_coef0_rg_hi" pos="3:0" rst="0">
  110938. <comment>Bit [19:16] of coefficient 0 of group delay equ. for NB/LTE/eMTC TX</comment>
  110939. </bits>
  110940. </reg>
  110941. <reg name="txdp_gdeq_coef1_rg_1" protect="rw">
  110942. <bits access="rw" name="txdp_gdeq_coef1_rg_lo" pos="15:0" rst="0">
  110943. <comment>Bit [15:0] of coefficient 1 of group delay equ. for NB/LTE/eMTC TX</comment>
  110944. </bits>
  110945. </reg>
  110946. <reg name="txdp_gdeq_coef1_rg_2" protect="rw">
  110947. <bits access="rw" name="txdp_gdeq_coef1_rg_hi" pos="3:0" rst="0">
  110948. <comment>Bit [19:16] of coefficient 1 of group delay equ. for NB/LTE/eMTC TX</comment>
  110949. </bits>
  110950. </reg>
  110951. <reg name="txdp_gdeq_coef2_rg_1" protect="rw">
  110952. <bits access="rw" name="txdp_gdeq_coef2_rg_lo" pos="15:0" rst="0">
  110953. <comment>Bit [15:0] of coefficient 2 of group delay equ. for NB/LTE/eMTC TX</comment>
  110954. </bits>
  110955. </reg>
  110956. <reg name="txdp_gdeq_coef2_rg_2" protect="rw">
  110957. <bits access="rw" name="txdp_gdeq_coef2_rg_hi" pos="3:0" rst="0">
  110958. <comment>Bit [19:16] of coefficient 2 of group delay equ. for NB/LTE/eMTC TX</comment>
  110959. </bits>
  110960. </reg>
  110961. <reg name="txdp_gdeq_coef3_rg_1" protect="rw">
  110962. <bits access="rw" name="txdp_gdeq_coef3_rg_lo" pos="15:0" rst="0">
  110963. <comment>Bit [15:0] of coefficient 3 of group delay equ. for NB/LTE/eMTC TX</comment>
  110964. </bits>
  110965. </reg>
  110966. <reg name="txdp_gdeq_coef3_rg_2" protect="rw">
  110967. <bits access="rw" name="txdp_gdeq_coef3_rg_hi" pos="3:0" rst="0">
  110968. <comment>Bit [19:16] of coefficient 3 of group delay equ. for NB/LTE/eMTC TX</comment>
  110969. </bits>
  110970. </reg>
  110971. <reg name="txdp_polariq_fir_coef00" protect="rw">
  110972. <bits access="rw" name="txdp_polariq_phase_dly" pos="15:12" rst="11">
  110973. <comment>value to be delayed for phase part</comment>
  110974. </bits>
  110975. <bits access="rw" name="txdp_polariq_fir_coef0" pos="11:0" rst="0">
  110976. <comment>Coefficient of PolarIQ LPF in DPD for NB/LTE/eMTC TX</comment>
  110977. </bits>
  110978. </reg>
  110979. <reg name="txdp_polariq_fir_coef01" protect="rw">
  110980. <bits access="rw" name="txdp_polariq_fir_coef1" pos="11:0" rst="0">
  110981. <comment>Coefficient of PolarIQ LPF in DPD for NB/LTE/eMTC TX</comment>
  110982. </bits>
  110983. </reg>
  110984. <reg name="txdp_polariq_fir_coef02" protect="rw">
  110985. <bits access="rw" name="txdp_polariq_fir_coef2" pos="11:0" rst="0">
  110986. <comment>Coefficient of PolarIQ LPF in DPD for NB/LTE/eMTC TX</comment>
  110987. </bits>
  110988. </reg>
  110989. <reg name="txdp_polariq_fir_coef03" protect="rw">
  110990. <bits access="rw" name="txdp_polariq_fir_coef3" pos="11:0" rst="0">
  110991. <comment>Coefficient of PolarIQ LPF in DPD for NB/LTE/eMTC TX</comment>
  110992. </bits>
  110993. </reg>
  110994. <reg name="txdp_polariq_fir_coef04" protect="rw">
  110995. <bits access="rw" name="txdp_polariq_fir_coef4" pos="11:0" rst="0">
  110996. <comment>Coefficient of PolarIQ LPF in DPD for NB/LTE/eMTC TX</comment>
  110997. </bits>
  110998. </reg>
  110999. <reg name="txdp_polariq_fir_coef05" protect="rw">
  111000. <bits access="rw" name="txdp_polariq_fir_coef5" pos="11:0" rst="0">
  111001. <comment>Coefficient of PolarIQ LPF in DPD for NB/LTE/eMTC TX</comment>
  111002. </bits>
  111003. </reg>
  111004. <reg name="txdp_polariq_fir_coef06" protect="rw">
  111005. <bits access="rw" name="txdp_polariq_fir_coef6" pos="11:0" rst="0">
  111006. <comment>Coefficient of PolarIQ LPF in DPD for NB/LTE/eMTC TX</comment>
  111007. </bits>
  111008. </reg>
  111009. <reg name="txdp_polariq_fir_coef07" protect="rw">
  111010. <bits access="rw" name="txdp_polariq_fir_coef7" pos="11:0" rst="0">
  111011. <comment>Coefficient of PolarIQ LPF in DPD for NB/LTE/eMTC TX</comment>
  111012. </bits>
  111013. </reg>
  111014. <reg name="txdp_polariq_fir_coef08" protect="rw">
  111015. <bits access="rw" name="txdp_polariq_fir_coef8" pos="11:0" rst="0">
  111016. <comment>Coefficient of PolarIQ LPF in DPD for NB/LTE/eMTC TX</comment>
  111017. </bits>
  111018. </reg>
  111019. <reg name="txdp_polariq_fir_coef09" protect="rw">
  111020. <bits access="rw" name="txdp_polariq_fir_coef9" pos="11:0" rst="0">
  111021. <comment>Coefficient of PolarIQ LPF in DPD for NB/LTE/eMTC TX</comment>
  111022. </bits>
  111023. </reg>
  111024. <reg name="txdp_polariq_fir_coef010" protect="rw">
  111025. <bits access="rw" name="txdp_polariq_fir_coef10" pos="11:0" rst="0">
  111026. <comment>Coefficient of PolarIQ LPF in DPD for NB/LTE/eMTC TX</comment>
  111027. </bits>
  111028. </reg>
  111029. <reg name="txdp_polariq_fir_coef011" protect="rw">
  111030. <bits access="rw" name="txdp_polariq_fir_coef11" pos="11:0" rst="0">
  111031. <comment>Coefficient of PolarIQ LPF in DPD for NB/LTE/eMTC TX</comment>
  111032. </bits>
  111033. </reg>
  111034. <reg name="txdp_loft_offset_i_reg" protect="rw">
  111035. <bits access="rw" name="txdp_loft_offset_i" pos="11:0" rst="0">
  111036. </bits>
  111037. </reg>
  111038. <reg name="txdp_loft_offset_reg" protect="rw">
  111039. <bits access="rw" name="txdp_loft_offset" pos="11:0" rst="0">
  111040. </bits>
  111041. </reg>
  111042. <reg name="txdp_loft_phase_err_reg" protect="rw">
  111043. <bits access="rw" name="txdp_loft_phase_err" pos="11:0" rst="0">
  111044. </bits>
  111045. </reg>
  111046. <reg name="txdp_loft_amp_err_reg" protect="rw">
  111047. <bits access="rw" name="txdp_loft_amp_err" pos="11:0" rst="0">
  111048. </bits>
  111049. </reg>
  111050. <reg name="txdp_loft_rssi_reg" protect="r">
  111051. <bits access="r" name="txdp_loft_rssi_err" pos="15:0" rst="0">
  111052. </bits>
  111053. </reg>
  111054. <reg name="txdp_loft_tone_amp_reg" protect="rw">
  111055. <bits access="rw" name="txdp_loft_tone_amp" pos="11:0" rst="511">
  111056. </bits>
  111057. </reg>
  111058. <reg name="txdp_loft_tone_fre_reg0" protect="rw">
  111059. <bits access="rw" name="txdp_loft_tone_fre0" pos="15:0" rst="54613">
  111060. </bits>
  111061. </reg>
  111062. <reg name="txdp_loft_tone_fre_reg1" protect="rw">
  111063. <bits access="rw" name="txdp_loft_tone_fre1" pos="6:0" rst="0">
  111064. </bits>
  111065. </reg>
  111066. <reg name="txdp_loft_misc0_reg" protect="rw">
  111067. <bits access="rw" name="txdp_loft_sincos_en" pos="15:15" rst="0">
  111068. </bits>
  111069. <bits access="rw" name="txdp_loft_din_loft_sel" pos="14:14" rst="0">
  111070. </bits>
  111071. <bits access="rw" name="txdp_loft_cali_en" pos="13:13" rst="0">
  111072. </bits>
  111073. <bits access="rw" name="txdp_loft_cancel_bypass" pos="12:12" rst="0">
  111074. </bits>
  111075. <bits access="rw" name="txdp_loft_offset_dr" pos="11:11" rst="0">
  111076. <comment>no use</comment>
  111077. </bits>
  111078. <bits access="rw" name="txdp_loft_phase_err_dr" pos="10:10" rst="0">
  111079. <comment>no use</comment>
  111080. </bits>
  111081. <bits access="rw" name="txdp_loft_amp_err_dr" pos="9:9" rst="0">
  111082. <comment>no use</comment>
  111083. </bits>
  111084. <bits access="rw" name="txdp_loft_flg_loft_calib" pos="8:8" rst="0">
  111085. </bits>
  111086. <bits access="rw" name="txdp_loft_bpf_enable" pos="7:7" rst="0">
  111087. <comment>no use</comment>
  111088. </bits>
  111089. <bits access="rw" name="txdp_loft_bpf_bypass" pos="6:6" rst="0">
  111090. <comment>no use</comment>
  111091. </bits>
  111092. <bits access="rw" name="txdp_loft_rssi_ushift" pos="5:3" rst="0">
  111093. </bits>
  111094. <bits access="rw" name="txdp_loft_rssi_period_idx" pos="2:2" rst="0">
  111095. </bits>
  111096. <bits access="rw" name="txdp_loft_rssi_enable" pos="1:1" rst="0">
  111097. </bits>
  111098. <bits access="rw" name="txdp_loft_rssi_load" pos="0:0" rst="0">
  111099. </bits>
  111100. </reg>
  111101. <reg name="txdp_loft_gain1_reg" protect="rw">
  111102. <bits access="r" name="txdp_loft_rssi_val" pos="13" rst="0">
  111103. </bits>
  111104. <bits access="rw" name="txdp_loft_gain1_ct" pos="12:7" rst="0">
  111105. </bits>
  111106. <bits access="rw" name="txdp_loft_gain1_ct_dyn" pos="6:1" rst="0">
  111107. </bits>
  111108. <bits access="rw" name="txdp_loft_gain1_ct_sel" pos="0:0" rst="0">
  111109. </bits>
  111110. </reg>
  111111. <reg name="data_format_ctrl" protect="rw">
  111112. <bits access="rw" name="nb_tx_rx_loop" pos="8" rst="0">
  111113. <comment>BB TX data loopback to BB RX</comment>
  111114. </bits>
  111115. <bits access="rw" name="rx_iq_swap" pos="7" rst="0">
  111116. <comment>BB RX IQ swap. 1: swap; 0: normal</comment>
  111117. </bits>
  111118. <bits access="rw" name="tx_iq_swap" pos="6" rst="0">
  111119. <comment>BB TX IQ swap. 1: swap; 0: normal</comment>
  111120. </bits>
  111121. <bits access="rw" name="adc_iq_swap" pos="5" rst="0">
  111122. <comment>ADC IQ swap. 1: swap; 0: normal</comment>
  111123. </bits>
  111124. <bits access="rw" name="dac_iq_swap" pos="4" rst="0">
  111125. <comment>DAC IQ swap. 1: swap; 0: normal</comment>
  111126. </bits>
  111127. <bits access="rw" name="rx_off_bin_en" pos="3" rst="0">
  111128. <comment>BB RX. 0: two's complement 1: offset binary</comment>
  111129. </bits>
  111130. <bits access="rw" name="tx_off_bin_en" pos="2" rst="0">
  111131. <comment>BB TX. 0: two's complement 1: offset binary</comment>
  111132. </bits>
  111133. <bits access="rw" name="adc_off_bin_en" pos="1" rst="0">
  111134. <comment>RF ADC. 0: two's complement 1: offset binary</comment>
  111135. </bits>
  111136. <bits access="rw" name="dac_off_bin_en" pos="0" rst="1">
  111137. <comment>RF DAC. 0: two's complement 1: offset binary</comment>
  111138. </bits>
  111139. </reg>
  111140. <reg name="txdp_loft_rssi_reg_real" protect="r">
  111141. <bits access="r" name="txdp_loft_rssi_err_real" pos="15:0" rst="0">
  111142. <comment>instant value of txdp_loft_rssi_err</comment>
  111143. </bits>
  111144. </reg>
  111145. <hole size="800"/>
  111146. <reg name="temper_ct" protect="rw">
  111147. <bits access="r" name="temper_pout_val_rg" pos="9" rst="0">
  111148. <comment>valid indication of temper_dout after assert temper_pout_load to avoid metastability. Thetemper_dout is stable when this register is high</comment>
  111149. </bits>
  111150. <bits access="rw" name="temper_pout_load" pos="8" rst="0">
  111151. <comment>start to load the result of temper_dout. Before next load, set it low firstly</comment>
  111152. </bits>
  111153. <bits access="rw" name="temper_lpf3_bypass" pos="7" rst="0">
  111154. </bits>
  111155. <bits access="rw" name="temper_ushift" pos="6:4" rst="0">
  111156. <comment>bandwidth select</comment>
  111157. </bits>
  111158. <bits access="rw" name="temper_bw_sel" pos="3:2" rst="0">
  111159. <comment>no use</comment>
  111160. </bits>
  111161. <bits access="rw" name="temper_lpf_bypass" pos="1" rst="0">
  111162. </bits>
  111163. <bits access="rw" name="temper_hold_en" pos="0" rst="0">
  111164. </bits>
  111165. </reg>
  111166. <reg name="temper_dout_reg" protect="r">
  111167. <bits access="r" name="temper_dout" pos="15:0" rst="32768">
  111168. <comment>temper_dout value</comment>
  111169. </bits>
  111170. </reg>
  111171. <reg name="osc_temp_clk_ct" protect="rw">
  111172. <bits access="rw" name="temper_clk_en" pos="7" rst="0">
  111173. <comment>clock enable for temper</comment>
  111174. </bits>
  111175. <bits access="rw" name="temper_clk_freq_sel" pos="6:5" rst="0">
  111176. <comment>divide mode of clock from analog for Temcomp
  111177. 0: not divide
  111178. 1: 1/2 divide
  111179. 2: 1/4 divide
  111180. 3: 1/8 divide</comment>
  111181. </bits>
  111182. <bits access="rw" name="temper_clk_phase_sel" pos="4" rst="0">
  111183. <comment>clock invert for Temcomp
  111184. 0: clock invert disable
  111185. 1: clock invert enable</comment>
  111186. </bits>
  111187. <bits access="rw" name="osc_clk_en" pos="3" rst="0">
  111188. <comment>clock enable for temcomp</comment>
  111189. </bits>
  111190. <bits access="rw" name="osc_clk_freq_sel" pos="2:1" rst="0">
  111191. <comment>divide mode of clock from analog for Temcomp
  111192. 0: not divide
  111193. 1: 1/2 divide
  111194. 2: 1/4 divide
  111195. 3: 1/8 divide</comment>
  111196. </bits>
  111197. <bits access="rw" name="osc_clk_phase_sel" pos="0" rst="0">
  111198. <comment>clock invert for Temcomp
  111199. 0: clock invert disable
  111200. 1: clock invert enable</comment>
  111201. </bits>
  111202. </reg>
  111203. <reg name="sdm_fre_hi_reg" protect="rw">
  111204. <bits access="rw" name="sdm_force_bypass" pos="11" rst="0">
  111205. <comment>force bypass, high valid</comment>
  111206. </bits>
  111207. <bits access="rw" name="sdm_bypass" pos="10" rst="1">
  111208. <comment>bypass, high valid</comment>
  111209. </bits>
  111210. <bits access="rw" name="sdm_dither_bypass" pos="9" rst="1">
  111211. <comment>no use</comment>
  111212. </bits>
  111213. <bits access="rw" name="sdm_fre_load" pos="8" rst="0">
  111214. <comment>set sdm frequency value, high valid</comment>
  111215. </bits>
  111216. <bits access="rw" name="sdm_fre_hi" pos="7:0" rst="0">
  111217. <comment>sdm frequency value, high 8 bits</comment>
  111218. </bits>
  111219. </reg>
  111220. <reg name="sdm_fre_lo_reg" protect="rw">
  111221. <bits access="rw" name="sdm_fre_lo" pos="15:0" rst="0">
  111222. <comment>sdm frequency value, low 16 bits</comment>
  111223. </bits>
  111224. </reg>
  111225. <reg name="temper_lpf_a11_rg" protect="rw">
  111226. <bits access="rw" name="temper_lpf_a11" pos="13:0" rst="0">
  111227. <comment>Coefficient of filter</comment>
  111228. </bits>
  111229. </reg>
  111230. <reg name="temper_lpf_a12_rg" protect="rw">
  111231. <bits access="rw" name="temper_lpf_a12" pos="13:0" rst="0">
  111232. <comment>Coefficient of filter</comment>
  111233. </bits>
  111234. </reg>
  111235. <reg name="temper_lpf_g1_rg" protect="rw">
  111236. <bits access="rw" name="temper_lpf_g1" pos="13:0" rst="0">
  111237. <comment>Coefficient of filter</comment>
  111238. </bits>
  111239. </reg>
  111240. <reg name="temper_lpf_a21_rg" protect="rw">
  111241. <bits access="rw" name="temper_lpf_a21" pos="13:0" rst="0">
  111242. <comment>Coefficient of filter</comment>
  111243. </bits>
  111244. </reg>
  111245. <reg name="temper_lpf_a22_rg" protect="rw">
  111246. <bits access="rw" name="temper_lpf_a22" pos="13:0" rst="0">
  111247. <comment>Coefficient of filter</comment>
  111248. </bits>
  111249. </reg>
  111250. <reg name="temper_lpf_g2_rg" protect="rw">
  111251. <bits access="rw" name="temper_lpf_g2" pos="13:0" rst="0">
  111252. <comment>Coefficient of filter</comment>
  111253. </bits>
  111254. </reg>
  111255. <reg name="temcom_lpf_a11_rg" protect="rw">
  111256. <bits access="rw" name="temcom_lpf_a11" pos="13:0" rst="0">
  111257. <comment>Coefficient of filter</comment>
  111258. </bits>
  111259. </reg>
  111260. <reg name="temcom_lpf_a12_rg" protect="rw">
  111261. <bits access="rw" name="temcom_lpf_a12" pos="13:0" rst="0">
  111262. <comment>Coefficient of filter</comment>
  111263. </bits>
  111264. </reg>
  111265. <reg name="temcom_lpf_g1_rg" protect="rw">
  111266. <bits access="rw" name="temcom_lpf_g1" pos="13:0" rst="0">
  111267. <comment>Coefficient of filter</comment>
  111268. </bits>
  111269. </reg>
  111270. <reg name="temcom_lpf_a21_rg" protect="rw">
  111271. <bits access="rw" name="temcom_lpf_a21" pos="13:0" rst="0">
  111272. <comment>Coefficient of filter</comment>
  111273. </bits>
  111274. </reg>
  111275. <reg name="temcom_lpf_a22_rg" protect="rw">
  111276. <bits access="rw" name="temcom_lpf_a22" pos="13:0" rst="0">
  111277. <comment>Coefficient of filter</comment>
  111278. </bits>
  111279. </reg>
  111280. <reg name="temcom_lpf_g2_rg" protect="rw">
  111281. <bits access="rw" name="temcom_lpf_g2" pos="13:0" rst="0">
  111282. <comment>Coefficient of filter</comment>
  111283. </bits>
  111284. </reg>
  111285. <reg name="temcom_temp_ct" protect="rw">
  111286. <bits access="r" name="temcom_pout_val_rg" pos="9" rst="0">
  111287. <comment>valid indication of temcom_pwd_dout after assert temcom_pout_load to avoid metastability. The temcom_pwd_dout is stable when this register is high</comment>
  111288. </bits>
  111289. <bits access="rw" name="temcom_pout_load" pos="8" rst="0">
  111290. <comment>start to load the result of thermometer. Before next load, set it low firstly</comment>
  111291. </bits>
  111292. <bits access="rw" name="temcom_temp_lpf3_bypass" pos="7" rst="0">
  111293. <comment>temperature calibration LPF bypass, high valid</comment>
  111294. </bits>
  111295. <bits access="rw" name="temcom_temp_ushift" pos="6:4" rst="0">
  111296. <comment>temperature calibration LPF shift value
  111297. 0 : left shift by 7 bit
  111298. 1 : left shift by 6 bit
  111299. 2 : left shift by 5 bit
  111300. 3 : left shift by 4 bit
  111301. 4 : left shift by 3 bit
  111302. 5 : left shift by 2 bit
  111303. 6 : left shift by 1 bit
  111304. 7 : left shift by 0 bit</comment>
  111305. </bits>
  111306. <bits access="rw" name="temcom_temp_bw_sel" pos="3:2" rst="0">
  111307. <comment>select badwidth</comment>
  111308. </bits>
  111309. <bits access="rw" name="temcom_temp_lpf_bypass" pos="1" rst="0">
  111310. <comment>no use</comment>
  111311. </bits>
  111312. <bits access="rw" name="temcom_temp_hold_en" pos="0" rst="0">
  111313. <comment>no use</comment>
  111314. </bits>
  111315. </reg>
  111316. <reg name="temcom_dout_reg" protect="r">
  111317. <bits access="r" name="temcom_pwd_dout" pos="15:0" rst="32768">
  111318. <comment>temcom result</comment>
  111319. </bits>
  111320. </reg>
  111321. <reg name="temper_dout_real_reg" protect="r">
  111322. <bits access="r" name="temper_dout_real" pos="15:0" rst="32768">
  111323. <comment>instant value of temper_dout</comment>
  111324. </bits>
  111325. </reg>
  111326. <reg name="temcom_dout_real_reg" protect="r">
  111327. <bits access="r" name="temcom_pwd_dout_real" pos="15:0" rst="32768">
  111328. <comment>instant value of temcom_pwd_dout</comment>
  111329. </bits>
  111330. </reg>
  111331. <reg name="dfe_sw_clkgate_en_rg" protect="rw">
  111332. <bits access="rw" name="dfe_sw_clkgate_en" pos="0" rst="0">
  111333. </bits>
  111334. </reg>
  111335. <reg name="mon_ct" protect="rw">
  111336. <bits access="rw" name="dfe_monitor_swap" pos="4" rst="0">
  111337. <comment>swap of dfe_monitor[15:8] and dfe_monitor[7:0]</comment>
  111338. </bits>
  111339. <bits access="rw" name="dfe_monitor_sel" pos="3:0" rst="0">
  111340. <comment>dfe_monitor select</comment>
  111341. </bits>
  111342. </reg>
  111343. <reg name="dac_offset_re_rg" protect="rw">
  111344. <bits access="rw" name="dac_offset_re" pos="11:0" rst="0">
  111345. <comment>The offset on DAC real part</comment>
  111346. </bits>
  111347. </reg>
  111348. <reg name="dac_offset_im_rg" protect="rw">
  111349. <bits access="rw" name="dac_offset_im" pos="11:0" rst="0">
  111350. <comment>The offset on DAC image part</comment>
  111351. </bits>
  111352. </reg>
  111353. <reg name="dac_tx_amp_re_rg" protect="rw">
  111354. <bits access="rw" name="dac_tx_amp_re" pos="11:0" rst="0">
  111355. <comment>The DAC real part on test mode</comment>
  111356. </bits>
  111357. </reg>
  111358. <reg name="dac_tx_amp_im_rg" protect="rw">
  111359. <bits access="rw" name="dac_tx_amp_im" pos="11:0" rst="0">
  111360. <comment>The DAC image part on test mode</comment>
  111361. </bits>
  111362. </reg>
  111363. <reg name="txdp_cic2_mode_rg" protect="rw">
  111364. <bits access="rw" name="txdp_cic2_cfg_mode" pos="2:0" rst="0">
  111365. <comment>Interp.CIC2 config mode for WT:
  111366. 000: 60, 16K to 960K
  111367. 001: 30, 32K to 960K
  111368. 010: 25, 38.4K to 960K
  111369. 011: 10, 96K to 960K
  111370. others: 5, 192K to 960K</comment>
  111371. </bits>
  111372. </reg>
  111373. <reg name="data_dac_ctrl" protect="rw">
  111374. <bits access="rw" name="data_dac_sel" pos="14:13" rst="0">
  111375. <comment>select of function DAC data or test DAC data
  111376. 00/01: select function DAC data including sine waveform
  111377. 10: select test DAC data in txdp
  111378. 11: select test DAC data in txdp</comment>
  111379. </bits>
  111380. <bits access="rw" name="sine_enable_rg" pos="12" rst="0">
  111381. <comment>enable sine generation module</comment>
  111382. </bits>
  111383. <bits access="rw" name="rxdp_test_dac_en_rg" pos="11" rst="0">
  111384. <comment>enable of test DAC data in rxdp</comment>
  111385. </bits>
  111386. <bits access="rw" name="rxdp_test_dac_sel_rg" pos="10:6" rst="0">
  111387. <comment>select of test DAC data in rxdp</comment>
  111388. </bits>
  111389. <bits access="rw" name="txdp_test_dac_en_rg" pos="5" rst="0">
  111390. <comment>enable of test DAC data in txdp</comment>
  111391. </bits>
  111392. <bits access="rw" name="txdp_test_dac_sel_rg" pos="4:0" rst="0">
  111393. <comment>select of test DAC data in txdp</comment>
  111394. </bits>
  111395. </reg>
  111396. <reg name="sincos_amp" protect="rw">
  111397. <bits access="rw" name="sincos_amp_rg" pos="11:0" rst="511">
  111398. <comment>sine amp</comment>
  111399. </bits>
  111400. </reg>
  111401. <reg name="sincos_fre_lo" protect="rw">
  111402. <bits access="rw" name="sincos_fre_rg_lo" pos="15:0" rst="54613">
  111403. <comment>sine frequency[15:0]</comment>
  111404. </bits>
  111405. </reg>
  111406. <reg name="sincos_fre_hi" protect="rw">
  111407. <bits access="rw" name="txdp_bypass_loft" pos="8" rst="0">
  111408. <comment>LOFT</comment>
  111409. </bits>
  111410. <bits access="rw" name="txdp_bypass_mode_loft" pos="7" rst="0">
  111411. <comment>LOFT</comment>
  111412. </bits>
  111413. <bits access="rw" name="sincos_fre_rg_hi" pos="6:0" rst="0">
  111414. <comment>sine frequence[22:16]</comment>
  111415. </bits>
  111416. </reg>
  111417. <reg name="txdp_bypass_reg" protect="rw">
  111418. <bits access="rw" name="txdp_bypass_uplpf1" pos="15" rst="0">
  111419. <comment>UPLPF(1)</comment>
  111420. </bits>
  111421. <bits access="rw" name="txdp_bypass_cic1" pos="14" rst="0">
  111422. <comment>Interp. CIC1
  111423. 0: SW bypass disable
  111424. 1: SW bypass enable</comment>
  111425. </bits>
  111426. <bits access="rw" name="txdp_bypass_uphb5" pos="13" rst="0">
  111427. <comment>UPHBF(3)</comment>
  111428. </bits>
  111429. <bits access="rw" name="txdp_bypass_uphb4" pos="12" rst="0">
  111430. <comment>UPHBF(2)</comment>
  111431. </bits>
  111432. <bits access="rw" name="txdp_bypass_gdeq" pos="11" rst="0">
  111433. <comment>Group Delay Equ.</comment>
  111434. </bits>
  111435. <bits access="rw" name="txdp_bypass_polariq_lpf" pos="10" rst="0">
  111436. <comment>LPF of DPD only when PolarIQ</comment>
  111437. </bits>
  111438. <bits access="rw" name="txdp_bypass_polariq_ampm" pos="9" rst="0">
  111439. <comment>AMPM of DPD</comment>
  111440. </bits>
  111441. <bits access="rw" name="txdp_bypass_polariq_split" pos="8" rst="0">
  111442. <comment>Split of DPD</comment>
  111443. </bits>
  111444. <bits access="rw" name="txdp_bypass_polariq" pos="7" rst="0">
  111445. <comment>Whole DPD</comment>
  111446. </bits>
  111447. <bits access="rw" name="txdp_bypass_rc" pos="6" rst="0">
  111448. <comment>RC</comment>
  111449. </bits>
  111450. <bits access="rw" name="txdp_bypass_gain" pos="5" rst="0">
  111451. <comment>Gain</comment>
  111452. </bits>
  111453. <bits access="rw" name="txdp_bypass_uphb3" pos="4" rst="0">
  111454. <comment>UPHBF(5) when PolarIQ</comment>
  111455. </bits>
  111456. <bits access="rw" name="txdp_bypass_uphb2" pos="3" rst="0">
  111457. <comment>UPHBF(4) when PolarIQ</comment>
  111458. </bits>
  111459. <bits access="rw" name="txdp_bypass_uphb1" pos="2" rst="0">
  111460. <comment>UPHBF(1)</comment>
  111461. </bits>
  111462. <bits access="rw" name="txdp_bypass_aclr_lpf" pos="1" rst="0">
  111463. <comment>ACLR LPF</comment>
  111464. </bits>
  111465. <bits access="rw" name="txdp_bypass_ampequ" pos="0" rst="0">
  111466. <comment>ampequ</comment>
  111467. </bits>
  111468. </reg>
  111469. <reg name="txdp_bypass_mode_reg" protect="rw">
  111470. <bits access="rw" name="txdp_bypass_mode_uplpf1" pos="15" rst="0">
  111471. <comment>UPLPF(1)</comment>
  111472. </bits>
  111473. <bits access="rw" name="txdp_bypass_mode_cic1" pos="14" rst="0">
  111474. <comment>Interp. CIC1
  111475. 0: bypass controlled by HW. HW bypass module automaticlly based on algorithm requirement
  111476. 1: bypass controlled by SW. When it is set, txdp_bypass_cic1 will be used</comment>
  111477. </bits>
  111478. <bits access="rw" name="txdp_bypass_mode_uphb5" pos="13" rst="0">
  111479. <comment>UPHBF(3)</comment>
  111480. </bits>
  111481. <bits access="rw" name="txdp_bypass_mode_uphb4" pos="12" rst="0">
  111482. <comment>UPHBF(2)</comment>
  111483. </bits>
  111484. <bits access="rw" name="txdp_bypass_mode_gdeq" pos="11" rst="0">
  111485. <comment>Group Delay Equ.</comment>
  111486. </bits>
  111487. <bits access="rw" name="txdp_bypass_mode_polariq_lpf" pos="10" rst="0">
  111488. <comment>LPF of DPD only when PolarIQ</comment>
  111489. </bits>
  111490. <bits access="rw" name="txdp_bypass_mode_polariq_ampm" pos="9" rst="0">
  111491. <comment>AMPM of DPD</comment>
  111492. </bits>
  111493. <bits access="rw" name="txdp_bypass_mode_polariq_split" pos="8" rst="0">
  111494. <comment>Split of DPD</comment>
  111495. </bits>
  111496. <bits access="rw" name="txdp_bypass_mode_polariq" pos="7" rst="0">
  111497. <comment>Whole DPD</comment>
  111498. </bits>
  111499. <bits access="rw" name="txdp_bypass_mode_rc" pos="6" rst="0">
  111500. <comment>RC</comment>
  111501. </bits>
  111502. <bits access="rw" name="txdp_bypass_mode_gain" pos="5" rst="0">
  111503. <comment>Gain</comment>
  111504. </bits>
  111505. <bits access="rw" name="txdp_bypass_mode_uphb3" pos="4" rst="0">
  111506. <comment>UPHBF(5) when PolarIQ</comment>
  111507. </bits>
  111508. <bits access="rw" name="txdp_bypass_mode_uphb2" pos="3" rst="0">
  111509. <comment>UPHBF(4) when PolarIQ</comment>
  111510. </bits>
  111511. <bits access="rw" name="txdp_bypass_mode_uphb1" pos="2" rst="0">
  111512. <comment>UPHBF(1)</comment>
  111513. </bits>
  111514. <bits access="rw" name="txdp_bypass_mode_aclr_lpf" pos="1" rst="0">
  111515. <comment>ACLR LPF</comment>
  111516. </bits>
  111517. <bits access="rw" name="txdp_bypass_mode_ampequ" pos="0" rst="0">
  111518. <comment>ampequ</comment>
  111519. </bits>
  111520. </reg>
  111521. <reg name="lvds_mode_reg" protect="rw">
  111522. <bits access="rw" name="lvds_in_wt" pos="15" rst="0">
  111523. <comment>no use</comment>
  111524. </bits>
  111525. <bits access="rw" name="en_clk_lvds2dfe_bb_rx" pos="14" rst="0">
  111526. <comment>clock enable for BB side when adc-dfe-lvds-bb, enable when lvds_rx_mode is 3</comment>
  111527. </bits>
  111528. <bits access="rw" name="en_clk_lvds2dfe_dfe_tx" pos="13" rst="0">
  111529. <comment>no use</comment>
  111530. </bits>
  111531. <bits access="rw" name="en_clk_lvds2dfe_dfe_rx" pos="12" rst="0">
  111532. <comment>clock enable for ADC RX when adc-lvds-dfe-bb, enable when lvds_rx_mode is 1</comment>
  111533. </bits>
  111534. <bits access="rw" name="en_clk_lvds2dfe_rf_tx" pos="11" rst="0">
  111535. <comment>clock enable for DAC TX when bb-dfe-lvds-dac, enable when lvds_rx_mode is 0</comment>
  111536. </bits>
  111537. <bits access="rw" name="en_clk_dfe2lvds" pos="10" rst="0">
  111538. <comment>clock enable for lvds_tx, enable when lvds_tx_mode is 0/1/2/3</comment>
  111539. </bits>
  111540. <bits access="rw" name="lvds_rx_clk_mux_bb_rx" pos="9" rst="0">
  111541. <comment>no use</comment>
  111542. </bits>
  111543. <bits access="rw" name="lvds_rx_clk_mux_dfe_rx" pos="8" rst="0">
  111544. <comment>no use</comment>
  111545. </bits>
  111546. <bits access="rw" name="lvds_rx_clk_mux_rf_tx" pos="7" rst="0">
  111547. <comment>no use</comment>
  111548. </bits>
  111549. <bits access="rw" name="lvds_tx_clk_mode" pos="6:5" rst="0">
  111550. <comment>no use</comment>
  111551. </bits>
  111552. <bits access="rw" name="lvds_rx_mode" pos="4:3" rst="0">
  111553. <comment>3: lvds_rx in adc-dfe-lvds-bb
  111554. 2: lvds_rx in bb-lvds-dfe-dac
  111555. 1: lvds_rx in adc-lvds-dfe-bb
  111556. 0: lvds_rx in bb-dfe-lvds-dac</comment>
  111557. </bits>
  111558. <bits access="rw" name="lvds_tx_mode" pos="2:1" rst="0">
  111559. <comment>3: lvds_tx in adc-dfe-lvds-bb
  111560. 2: lvds_tx in bb-lvds-dfe-dac
  111561. 1: lvds_tx in adc-lvds-dfe-bb
  111562. 0: lvds_tx in bb-dfe-lvds-dac</comment>
  111563. </bits>
  111564. <bits access="rw" name="lvds_enable" pos="0" rst="0">
  111565. <comment>LVDS enabled in DFE</comment>
  111566. </bits>
  111567. </reg>
  111568. <reg name="lvds_swap_reg" protect="rw">
  111569. <bits access="rw" name="dfe2lvds_bbtx_clkdiv" pos="7:6" rst="0">
  111570. <comment>frequency select of dfe2lvds_clk when bb-lvds-dfe-dac.
  111571. 0: 7.68MHz
  111572. 1: 15.36MHz
  111573. 2: 30.72MHz
  111574. 3: 61.44MHz</comment>
  111575. </bits>
  111576. <bits access="rw" name="dfe2lvds_bbrx_clkdiv" pos="5:4" rst="0">
  111577. <comment>frequency select of dfe2lvds_clk when adc-dfe-lvds-bb.
  111578. 0: 7.68MHz
  111579. 1: 15.36MHz
  111580. 2: 30.72MHz
  111581. 3: 61.44MHz</comment>
  111582. </bits>
  111583. <bits access="rw" name="lvds_rx_clk_ref_bb_rx" pos="3" rst="0">
  111584. <comment>clock select in BB side when adc-dfe-lvds-bb and bb-lvds-dfe-dac
  111585. 0: use LVDS clock
  111586. 1: use BBPLL clock</comment>
  111587. </bits>
  111588. <bits access="rw" name="lvds2dfe_clk_dig_ref_ind" pos="2" rst="0">
  111589. <comment>frequency indication of lvds2dfe_clk_dig_ref from LVDS
  111590. 0: 122.88MHz
  111591. 1: 61.44MHz</comment>
  111592. </bits>
  111593. <bits access="rw" name="lvds_rx_swap" pos="1" rst="0">
  111594. <comment>iq swap on lvds2dfe_data</comment>
  111595. </bits>
  111596. <bits access="rw" name="lvds_tx_swap" pos="0" rst="0">
  111597. <comment>iq swap on dfe2lvds_data</comment>
  111598. </bits>
  111599. </reg>
  111600. <reg name="reserved_all_zeros_reg" protect="rw">
  111601. <bits access="rw" name="rsv_all_zero" pos="15:0" rst="0">
  111602. <comment>all zero bits, reserved for ECO</comment>
  111603. </bits>
  111604. </reg>
  111605. <reg name="reserved_all_ones_reg" protect="rw">
  111606. <bits access="rw" name="rsv_all_ones" pos="15:0" rst="65535">
  111607. <comment>all one bits, reserved for ECO</comment>
  111608. </bits>
  111609. </reg>
  111610. <reg name="pwr_rf_acc_len_reg" protect="rw">
  111611. <bits access="rw" name="pwr_rf_acc_len_rg" pos="15:0" rst="0">
  111612. </bits>
  111613. </reg>
  111614. <reg name="pwr_rf_acc_misc_reg" protect="rw">
  111615. <bits access="rw" name="pwr_rf_ushift_rg" pos="4:2" rst="0">
  111616. </bits>
  111617. <bits access="rw" name="pwr_rf_start_rg" pos="1" rst="0">
  111618. </bits>
  111619. <bits access="rw" name="pwr_rf_polar_rg" pos="0" rst="0">
  111620. </bits>
  111621. </reg>
  111622. <reg name="pwr_rf_acc_report_reg" protect="r">
  111623. <bits access="r" name="pwr_rf_o" pos="11:1" rst="0">
  111624. </bits>
  111625. <bits access="r" name="pwr_rf_calc_done" pos="0" rst="0">
  111626. </bits>
  111627. </reg>
  111628. <reg name="pwr_bb_acc_len_reg" protect="rw">
  111629. <bits access="rw" name="pwr_bb_acc_len_rg" pos="15:0" rst="0">
  111630. </bits>
  111631. </reg>
  111632. <reg name="pwr_bb_acc_misc_reg" protect="rw">
  111633. <bits access="rw" name="pwr_bb_ushift_rg" pos="3:1" rst="0">
  111634. </bits>
  111635. <bits access="rw" name="pwr_bb_start_rg" pos="0" rst="0">
  111636. </bits>
  111637. </reg>
  111638. <reg name="pwr_bb_acc_report_reg" protect="r">
  111639. <bits access="r" name="pwr_bb_o" pos="11:1" rst="0">
  111640. </bits>
  111641. <bits access="r" name="pwr_bb_calc_done" pos="0" rst="0">
  111642. </bits>
  111643. </reg>
  111644. <reg name="txdp_clk_gate_enable_reg" protect="rw">
  111645. <bits access="rw" name="txdp_ampequ_clkgate_en" pos="14" rst="0">
  111646. </bits>
  111647. <bits access="rw" name="txdp_aclr_clkgate_en" pos="13" rst="0">
  111648. </bits>
  111649. <bits access="rw" name="txdp_uphb1_clkgate_en" pos="12" rst="0">
  111650. </bits>
  111651. <bits access="rw" name="txdp_uphb2_clkgate_en" pos="11" rst="0">
  111652. </bits>
  111653. <bits access="rw" name="txdp_uphb3_clkgate_en" pos="10" rst="0">
  111654. </bits>
  111655. <bits access="rw" name="txdp_gain_clkgate_en" pos="9" rst="0">
  111656. </bits>
  111657. <bits access="rw" name="txdp_rc_clkgate_en" pos="8" rst="0">
  111658. </bits>
  111659. <bits access="rw" name="txdp_dpd_clkgate_en" pos="7" rst="0">
  111660. </bits>
  111661. <bits access="rw" name="txdp_gdeq_clkgate_en" pos="6" rst="0">
  111662. </bits>
  111663. <bits access="rw" name="txdp_uphb4_clkgate_en" pos="5" rst="0">
  111664. </bits>
  111665. <bits access="rw" name="txdp_uphb5_clkgate_en" pos="4" rst="0">
  111666. </bits>
  111667. <bits access="rw" name="txdp_cic1_clkgate_en" pos="3" rst="0">
  111668. </bits>
  111669. <bits access="rw" name="txdp_loft_clkgate_en" pos="2" rst="0">
  111670. </bits>
  111671. <bits access="rw" name="txdp_uplpf_clkgate_en" pos="1" rst="0">
  111672. </bits>
  111673. <bits access="rw" name="txdp_sine_clkgate_en" pos="0" rst="0">
  111674. <comment>1: clk always on, 0: clk gating by hardware</comment>
  111675. </bits>
  111676. </reg>
  111677. <reg name="rxdp_clk_gate_enable_reg2" protect="rw">
  111678. <bits access="rw" name="rxdp_rc_clkgate_en" pos="0" rst="0">
  111679. <comment>1: clk always on, 0: clk gating by hardware</comment>
  111680. </bits>
  111681. </reg>
  111682. <reg name="rxdp_clk_gate_enable_reg1" protect="rw">
  111683. <bits access="rw" name="rxdp_imbc_clkgate_en" pos="15" rst="0">
  111684. </bits>
  111685. <bits access="rw" name="rxdp_mixer_clkgate_en" pos="14" rst="0">
  111686. </bits>
  111687. <bits access="rw" name="rxdp_notch1_clkgate_en" pos="13" rst="0">
  111688. </bits>
  111689. <bits access="rw" name="rxdp_gdeq_clkgate_en" pos="12" rst="0">
  111690. </bits>
  111691. <bits access="rw" name="rxdp_gainrf_clkgate_en" pos="11" rst="0">
  111692. </bits>
  111693. <bits access="rw" name="rxdp_ob_clkgate_en" pos="10" rst="0">
  111694. </bits>
  111695. <bits access="rw" name="rxdp_mrrm_clkgate_en" pos="9" rst="0">
  111696. </bits>
  111697. <bits access="rw" name="rxdp_dnhb1_clkgate_en" pos="8" rst="0">
  111698. </bits>
  111699. <bits access="rw" name="rxdp_aci_clkgate_en" pos="7" rst="0">
  111700. </bits>
  111701. <bits access="rw" name="rxdp_notch2_clkgate_en" pos="6" rst="0">
  111702. </bits>
  111703. <bits access="rw" name="rxdp_gainbb_clkgate_en" pos="5" rst="0">
  111704. </bits>
  111705. <bits access="rw" name="rxdp_dnhb2_clkgate_en" pos="4" rst="0">
  111706. </bits>
  111707. <bits access="rw" name="rxdp_ib_clkgate_en" pos="3" rst="0">
  111708. </bits>
  111709. <bits access="rw" name="rxdp_uphb1_clkgate_en" pos="2" rst="0">
  111710. </bits>
  111711. <bits access="rw" name="rxdp_uphb2_clkgate_en" pos="1" rst="0">
  111712. </bits>
  111713. <bits access="rw" name="rxdp_deci_clkgate_en" pos="0" rst="0">
  111714. <comment>1: clk always on, 0: clk gating by hardware</comment>
  111715. </bits>
  111716. </reg>
  111717. <reg name="test_dac_bits_sel_register" protect="rw">
  111718. <bits access="rw" name="test_dac_bits_sel" pos="2:0" rst="0">
  111719. <comment>determine dac bits position when test mode.
  111720. 0:[11:0], 1:[12:1], 2:[13:2], 3:[14:3], 4: [15:4]</comment>
  111721. </bits>
  111722. </reg>
  111723. <reg name="txdp_ampequ_coef0_rg_1" protect="rw">
  111724. <bits access="rw" name="txdp_ampequ_coef0_rg" pos="11:0" rst="0">
  111725. <comment>Bit [11:0] of coefficient 0 of ampequ. for NB/LTE/eMTC TX</comment>
  111726. </bits>
  111727. </reg>
  111728. <reg name="txdp_ampequ_coef1_rg_1" protect="rw">
  111729. <bits access="rw" name="txdp_ampequ_coef1_rg" pos="11:0" rst="0">
  111730. <comment>Bit [11:0] of coefficient 1 of ampequ. for NB/LTE/eMTC TX</comment>
  111731. </bits>
  111732. </reg>
  111733. <reg name="txdp_ampequ_coef2_rg_1" protect="rw">
  111734. <bits access="rw" name="txdp_ampequ_coef2_rg" pos="11:0" rst="0">
  111735. <comment>Bit [11:0] of coefficient 2 of ampequ. for NB/LTE/eMTC TX</comment>
  111736. </bits>
  111737. </reg>
  111738. <reg name="txdp_ampequ_coef3_rg_1" protect="rw">
  111739. <bits access="rw" name="txdp_ampequ_coef3_rg" pos="11:0" rst="0">
  111740. <comment>Bit [11:0] of coefficient 3 of ampequ. for NB/LTE/eMTC TX</comment>
  111741. </bits>
  111742. </reg>
  111743. <reg name="txdp_ampequ_g" protect="rw">
  111744. <bits access="rw" name="txdp_ampequ_g_rg" pos="15:0" rst="0">
  111745. <comment>Bit [27:12] of gain for ampequ. for NB/LTE/eMTC TX</comment>
  111746. </bits>
  111747. </reg>
  111748. <reg name="txdp_ampequ_g_ext_reg" protect="rw">
  111749. <bits access="rw" name="txdp_ampequ_g_ext" pos="11:0" rst="0">
  111750. <comment>Bit [11:0] of gain for ampequ. It works with register txdp_ampequ_g_rg</comment>
  111751. </bits>
  111752. </reg>
  111753. <reg name="fifo_sample_rate_reg1" protect="rw">
  111754. <bits access="rw" name="fifo_a_smp_rate_rg" pos="13:7" rst="63">
  111755. <comment>read interval for FIFO A</comment>
  111756. </bits>
  111757. <bits access="rw" name="fifo_b_smp_rate_rg" pos="6:0" rst="63">
  111758. <comment>read interval for FIFO B</comment>
  111759. </bits>
  111760. </reg>
  111761. <reg name="fifo_sample_rate_reg2" protect="rw">
  111762. <bits access="rw" name="fifo_c_smp_rate_rg" pos="13:7" rst="7">
  111763. <comment>read interval for FIFO C</comment>
  111764. </bits>
  111765. <bits access="rw" name="fifo_d_smp_rate_rg" pos="6:0" rst="7">
  111766. <comment>read interval for FIFO D</comment>
  111767. </bits>
  111768. </reg>
  111769. <reg name="fifo_status_reg" protect="r">
  111770. <bits access="r" name="fifo_dump_full_status" pos="15" rst="0">
  111771. <comment>FIFO dump full</comment>
  111772. </bits>
  111773. <bits access="r" name="fifo_dump_empty_status" pos="14" rst="0">
  111774. <comment>FIFO dump empty</comment>
  111775. </bits>
  111776. <bits access="r" name="fifo_txdp_rc_full_status" pos="13" rst="0">
  111777. <comment>FIFO txdp_rc full</comment>
  111778. </bits>
  111779. <bits access="r" name="fifo_txdp_rc_empty_status" pos="12" rst="0">
  111780. <comment>FIFO txdp_rc empty</comment>
  111781. </bits>
  111782. <bits access="r" name="fifo_rxdp_rc_full_status" pos="11" rst="0">
  111783. <comment>FIFO rxdp_rc full</comment>
  111784. </bits>
  111785. <bits access="r" name="fifo_rxdp_rc_empty_status" pos="10" rst="0">
  111786. <comment>FIFO rxdp_rc empty</comment>
  111787. </bits>
  111788. <bits access="r" name="fifo_adc_full_status" pos="9" rst="0">
  111789. <comment>FIFO ADC full</comment>
  111790. </bits>
  111791. <bits access="r" name="fifo_adc_empty_status" pos="8" rst="0">
  111792. <comment>FIFO ADC empty, this FIFO used between ADC and DFE</comment>
  111793. </bits>
  111794. <bits access="r" name="fifo_d_full_status" pos="7" rst="0">
  111795. <comment>FIFO D full</comment>
  111796. </bits>
  111797. <bits access="r" name="fifo_d_empty_status" pos="6" rst="0">
  111798. <comment>FIFO D empty, this FIFO used when LVDS RX for bb-lvds-dfe-dac</comment>
  111799. </bits>
  111800. <bits access="r" name="fifo_c_full_status" pos="5" rst="0">
  111801. <comment>FIFO C full</comment>
  111802. </bits>
  111803. <bits access="r" name="fifo_c_empty_status" pos="4" rst="0">
  111804. <comment>FIFO C empty, this FIFO used when normal TX or LVDS TX for bb-lvds-dfe-dac</comment>
  111805. </bits>
  111806. <bits access="r" name="fifo_b_full_status" pos="3" rst="0">
  111807. <comment>FIFO B full</comment>
  111808. </bits>
  111809. <bits access="r" name="fifo_b_empty_status" pos="2" rst="0">
  111810. <comment>FIFO B empty, this FIFO used when LVDS RX for adc-dfe-lvds-bb</comment>
  111811. </bits>
  111812. <bits access="r" name="fifo_a_full_status" pos="1" rst="0">
  111813. <comment>FIFO A full</comment>
  111814. </bits>
  111815. <bits access="r" name="fifo_a_empty_status" pos="0" rst="0">
  111816. <comment>FIFO A empty, this FIFO used when normal RX or LVDS TX for adc-dfe-lvds-bb</comment>
  111817. </bits>
  111818. </reg>
  111819. <hole size="32"/>
  111820. <reg name="dfe_dump_reg" protect="rw">
  111821. <bits access="rw" name="sel_clk_dump_w" pos="15:8" rst="0">
  111822. <comment>clock frequency select when dump FIFO write
  111823. 00000000: clk_122p88m_m
  111824. 00000001: clk_61p44m_m
  111825. 0000001x: clk_rxdp
  111826. 000001xx: clk_rxdp_m
  111827. 00001xxx: clk_txdp
  111828. 0001xxxx: clk_245p76m_m(i.e., clk_txdp_m)
  111829. 001xxxxx: lvds2dfe_clk
  111830. 01xxxxxx: lvds2dfe_clk_dig_ref
  111831. 1xxxxxxx: clk_pwd</comment>
  111832. </bits>
  111833. <bits access="rw" name="sel_clk_dump_r" pos="4" rst="0">
  111834. <comment>clock frequency select when dump FIFO read
  111835. 0: 122.88Mhz
  111836. 1: 61.44MHz</comment>
  111837. </bits>
  111838. <bits access="rw" name="dfe_dump_en" pos="3" rst="0">
  111839. <comment>enable dump</comment>
  111840. </bits>
  111841. <bits access="rw" name="dfe_dump_sel" pos="2:0" rst="0">
  111842. <comment>dump node selection. It works with register sel_clk_dump_w for correct clock.
  111843. 0: dump RX data from DFE, sel_clk_dump_w can be clk_122p88m_m/clk_61p44m_m/lvds2dfe_clk_dig_ref
  111844. 1: dump TX data from BB, sel_clk_dump_w can be clk_122p88m_m/clk_61p44m_m/lvds2dfe_clk_dig_ref
  111845. 2: dump RXDP data, sel_clk_dump_w can be clk_rxdp/clk_rxdp_m
  111846. 3: dump TXDP data, sel_clk_dump_w can be clk_txdp/clk_245p76m_m(clk_txdp_m)/clk_pwd
  111847. others: dump data from LVDS, sel_clk_dump_w can be can be lvds2dfe_clk</comment>
  111848. </bits>
  111849. </reg>
  111850. </module>
  111851. </archive>
  111852. <archive relative="rf_dlpf.xml">
  111853. <module category="RF_Dig" name="RF_DLPF">
  111854. <reg name="dlpf_ctrl_reg" protect="rw">
  111855. <bits access="rw" name="dlpf_clk_rdac_en" pos="15" rst="0">
  111856. <comment>DLPF output clk_rdac enable.
  111857. 0: disable
  111858. 1: enable</comment>
  111859. </bits>
  111860. <bits access="rw" name="sdm_bypass" pos="14" rst="0">
  111861. <comment>DLPF sdm bypass</comment>
  111862. </bits>
  111863. <bits access="rw" name="dlpf_mode" pos="13" rst="0">
  111864. <comment>1'b0: digital DLPF
  111865. 1'b1: analog DLPF</comment>
  111866. </bits>
  111867. <bits access="rw" name="vco_add_en" pos="12" rst="1">
  111868. <comment>vco data add enable</comment>
  111869. </bits>
  111870. <bits access="rw" name="vco_rd_en" pos="11" rst="0">
  111871. <comment>read vco data from fifo enable</comment>
  111872. </bits>
  111873. <bits access="rw" name="vco_wr_en" pos="10" rst="0">
  111874. <comment>vco data write into fifo enable</comment>
  111875. </bits>
  111876. <bits access="rw" name="dlpf_vco_band_bit_sel" pos="9" rst="0">
  111877. <comment>no use</comment>
  111878. </bits>
  111879. <bits access="rw" name="dlpf_dpll_rdac_clk_edgesel_bb" pos="8" rst="0">
  111880. <comment>register to analog</comment>
  111881. </bits>
  111882. <bits access="rw" name="dlpf_mdll_num" pos="7:6" rst="1">
  111883. <comment>DLPF MDLL mode
  111884. 0: 26x7MHz
  111885. 1: 26x8MHz
  111886. 2: 26x9MHz
  111887. 3: 26x10MHz</comment>
  111888. </bits>
  111889. <bits access="rw" name="dlpf_notch_bypass" pos="5" rst="0">
  111890. <comment>DLPF notch bypass</comment>
  111891. </bits>
  111892. <bits access="rw" name="dlpf_clk_inv1_reg" pos="4" rst="0">
  111893. <comment>DLPF output clock inverse</comment>
  111894. </bits>
  111895. <bits access="rw" name="dlpf_clk_inv0_reg" pos="3" rst="0">
  111896. <comment>DLPF input clock inverse</comment>
  111897. </bits>
  111898. <bits access="rw" name="dlpf_lock_mode" pos="2" rst="1">
  111899. <comment>DLPF lock mode</comment>
  111900. </bits>
  111901. <bits access="rw" name="dlpf_en" pos="1" rst="0">
  111902. <comment>enable DLPF</comment>
  111903. </bits>
  111904. <bits access="rw" name="dlpf_rstn" pos="0" rst="0">
  111905. <comment>no use</comment>
  111906. </bits>
  111907. </reg>
  111908. <reg name="dlpf_dr_reg" protect="rw">
  111909. <bits access="rw" name="dlpf_dr_mode" pos="14" rst="0">
  111910. <comment>DLPF output direct control</comment>
  111911. </bits>
  111912. <bits access="rw" name="dlpf_dr_value" pos="13:0" rst="0">
  111913. <comment>DLPF output direct value</comment>
  111914. </bits>
  111915. </reg>
  111916. <reg name="dlpf_afc_pha_offset_reg" protect="rw">
  111917. <bits access="rw" name="dlpf_afc_pha_offset" pos="15:0" rst="200">
  111918. <comment>DLPF afc phase offset</comment>
  111919. </bits>
  111920. </reg>
  111921. <reg name="dlpf_kdco_pha_offset_reg" protect="rw">
  111922. <bits access="rw" name="dlpf_kdco_pha_offset" pos="15:0" rst="200">
  111923. <comment>DLPF kdco phase offset</comment>
  111924. </bits>
  111925. </reg>
  111926. <reg name="dlpf_gain_kp_afc_reg" protect="rw">
  111927. <bits access="rw" name="dlpf_gain_kp_afc" pos="12:0" rst="47">
  111928. <comment>DLPF gain kp afc</comment>
  111929. </bits>
  111930. </reg>
  111931. <reg name="dlpf_gain_ki_afc_reg" protect="rw">
  111932. <bits access="rw" name="dlpf_gain_ki_afc" pos="15:0" rst="80">
  111933. <comment>DLPF gain ki afc</comment>
  111934. </bits>
  111935. </reg>
  111936. <reg name="dlpf_gain_kp_2m_reg" protect="rw">
  111937. <bits access="rw" name="dlpf_gain_kp_2m" pos="12:0" rst="47">
  111938. <comment>DLPF gain kp 2m</comment>
  111939. </bits>
  111940. </reg>
  111941. <reg name="dlpf_gain_ki_2m_reg" protect="rw">
  111942. <bits access="rw" name="dlpf_gain_ki_2m" pos="15:0" rst="80">
  111943. <comment>DLPF gain ki 2m</comment>
  111944. </bits>
  111945. </reg>
  111946. <reg name="dlpf_gain_kp_200k_reg" protect="rw">
  111947. <bits access="rw" name="dlpf_gain_kp_200k" pos="12:0" rst="47">
  111948. <comment>DLPF gain kp 200k</comment>
  111949. </bits>
  111950. </reg>
  111951. <reg name="dlpf_gain_ki_200k_reg" protect="rw">
  111952. <bits access="rw" name="dlpf_gain_ki_200k" pos="15:0" rst="80">
  111953. <comment>DLPF gain ki 200k</comment>
  111954. </bits>
  111955. </reg>
  111956. <reg name="dlpf_iir0_gain0_reg" protect="rw">
  111957. <bits access="rw" name="dlpf_iir0_gain0" pos="15:0" rst="64358">
  111958. <comment>DLPF IIR0 gain0[15:0]</comment>
  111959. </bits>
  111960. </reg>
  111961. <reg name="dlpf_iir0_gain1_reg" protect="rw">
  111962. <bits access="rw" name="dlpf_iir0_gain1" pos="15:0" rst="588">
  111963. <comment>DLPF IIR0 gain1[15:0]</comment>
  111964. </bits>
  111965. </reg>
  111966. <reg name="dlpf_iir1_gain0_reg" protect="rw">
  111967. <bits access="rw" name="dlpf_iir1_gain0" pos="15:0" rst="61691">
  111968. <comment>DLPF IIR1 gain0[15:0]</comment>
  111969. </bits>
  111970. </reg>
  111971. <reg name="dlpf_iir1_gain1_reg" protect="rw">
  111972. <bits access="rw" name="dlpf_iir1_gain1" pos="15:0" rst="1922">
  111973. <comment>DLPF IIR1 gain1[15:0]</comment>
  111974. </bits>
  111975. </reg>
  111976. <reg name="dlpf_iir_gain_msb_reg" protect="rw">
  111977. <bits access="rw" name="dlpf_iir1_gain1_msb" pos="3" rst="0">
  111978. <comment>DLPF IIR1 gain1[16]</comment>
  111979. </bits>
  111980. <bits access="rw" name="dlpf_iir1_gain0_msb" pos="2" rst="0">
  111981. <comment>DLPF IIR1 gain0[16]</comment>
  111982. </bits>
  111983. <bits access="rw" name="dlpf_iir0_gain1_msb" pos="1" rst="0">
  111984. <comment>DLPF IIR0 gain1[16]</comment>
  111985. </bits>
  111986. <bits access="rw" name="dlpf_iir0_gain0_msb" pos="0" rst="0">
  111987. <comment>DLPF IIR0 gain0[16]</comment>
  111988. </bits>
  111989. </reg>
  111990. <reg name="dlpf_diff_sel_reg" protect="rw">
  111991. <bits access="rw" name="dlpf_diff_sel" pos="2:0" rst="1">
  111992. <comment>diff_sel[2:0]</comment>
  111993. </bits>
  111994. </reg>
  111995. <reg name="dlpf_afc_diff_thr_lsb_reg" protect="rw">
  111996. <bits access="rw" name="dlpf_afc_diff_thr_lsb" pos="15:0" rst="0">
  111997. <comment>afc_diff_thr[15:0]</comment>
  111998. </bits>
  111999. </reg>
  112000. <reg name="dlpf_afc_diff_thr_msb_reg" protect="rw">
  112001. <bits access="rw" name="dlpf_afc_diff_thr_msb" pos="15:0" rst="2">
  112002. <comment>afc_diff_thr[31:16]</comment>
  112003. </bits>
  112004. </reg>
  112005. <reg name="dlpf_afc_cnt_thr_reg" protect="rw">
  112006. <bits access="rw" name="dlpf_afc_cnt_thr" pos="15:0" rst="100">
  112007. <comment>afc_cnt_thr</comment>
  112008. </bits>
  112009. </reg>
  112010. <reg name="dlpf_lock_2m_diff_thr_lsb_reg" protect="rw">
  112011. <bits access="rw" name="dlpf_lock_2m_diff_thr_lsb" pos="15:0" rst="0">
  112012. <comment>lock_2m_diff_thr[15:0]</comment>
  112013. </bits>
  112014. </reg>
  112015. <reg name="dlpf_lock_2m_diff_thr_msb_reg" protect="rw">
  112016. <bits access="rw" name="dlpf_lock_2m_diff_thr_msb" pos="15:0" rst="2">
  112017. <comment>lock_2m_diff_thr[31:16]</comment>
  112018. </bits>
  112019. </reg>
  112020. <reg name="dlpf_lock_2m_cnt_thr_reg" protect="rw">
  112021. <bits access="rw" name="dlpf_lock_2m_cnt_thr" pos="15:0" rst="200">
  112022. <comment>lock_2m_cnt_thr</comment>
  112023. </bits>
  112024. </reg>
  112025. <reg name="dlpf_lock_200k_diff_thr_lsb_reg" protect="rw">
  112026. <bits access="rw" name="dlpf_lock_200k_diff_thr_lsb" pos="15:0" rst="0">
  112027. <comment>lock_200k_diff_thr[15:0]</comment>
  112028. </bits>
  112029. </reg>
  112030. <reg name="dlpf_lock_200k_diff_thr_msb_reg" protect="rw">
  112031. <bits access="rw" name="dlpf_lock_200k_diff_thr_msb" pos="15:0" rst="2">
  112032. <comment>lock_200k_diff_thr[31:16]</comment>
  112033. </bits>
  112034. </reg>
  112035. <reg name="dlpf_lock_200k_cnt_thr_reg" protect="rw">
  112036. <bits access="rw" name="dlpf_lock_200k_cnt_thr" pos="15:0" rst="600">
  112037. <comment>lock_200k_cnt_thr</comment>
  112038. </bits>
  112039. </reg>
  112040. <reg name="dlpf_timer0_cnt_lsb_reg" protect="rw">
  112041. <bits access="rw" name="dlpf_timer0_cnt_lsb" pos="15:0" rst="100">
  112042. <comment>timer0_cnt[15:0]</comment>
  112043. </bits>
  112044. </reg>
  112045. <reg name="dlpf_timer0_cnt_msb_reg" protect="rw">
  112046. <bits access="rw" name="dlpf_timer0_cnt_msb" pos="15:0" rst="0">
  112047. <comment>timer0_cnt[31:16]</comment>
  112048. </bits>
  112049. </reg>
  112050. <reg name="dlpf_timer1_cnt_lsb_reg" protect="rw">
  112051. <bits access="rw" name="dlpf_timer1_cnt_lsb" pos="15:0" rst="100">
  112052. <comment>timer1_cnt[15:0]</comment>
  112053. </bits>
  112054. </reg>
  112055. <reg name="dlpf_timer1_cnt_msb_reg" protect="rw">
  112056. <bits access="rw" name="dlpf_timer1_cnt_msb" pos="15:0" rst="0">
  112057. <comment>timer1_cnt[31:16]</comment>
  112058. </bits>
  112059. </reg>
  112060. <reg name="dlpf_timer2_cnt_lsb_reg" protect="rw">
  112061. <bits access="rw" name="dlpf_timer2_cnt_lsb" pos="15:0" rst="100">
  112062. <comment>timer2_cnt[15:0]</comment>
  112063. </bits>
  112064. </reg>
  112065. <reg name="dlpf_timer2_cnt_msb_reg" protect="rw">
  112066. <bits access="rw" name="dlpf_timer2_cnt_msb" pos="15:0" rst="0">
  112067. <comment>timer2_cnt[31:16]</comment>
  112068. </bits>
  112069. </reg>
  112070. <reg name="dlpf_capture_reg" protect="rw">
  112071. <bits access="rw" name="dlpf_capture_en" pos="0" rst="0">
  112072. <comment>DLPF capture enable to dump internal values</comment>
  112073. </bits>
  112074. </reg>
  112075. <reg name="dlpf_status0_reg" protect="r">
  112076. <bits access="r" name="dlpf_afc_code" pos="12:2" rst="0">
  112077. <comment>real time afc_code</comment>
  112078. </bits>
  112079. <bits access="r" name="dlpf_det_status" pos="1:0" rst="0">
  112080. <comment>DLPF detect status</comment>
  112081. </bits>
  112082. </reg>
  112083. <reg name="dlpf_status1_reg" protect="r">
  112084. <bits access="r" name="dlpf_kdco_code" pos="13:0" rst="0">
  112085. <comment>read time kdco_code</comment>
  112086. </bits>
  112087. </reg>
  112088. <reg name="dlpf_afc_code_status" protect="r">
  112089. <bits access="r" name="dlpf_afc_code_reg" pos="10:0" rst="0">
  112090. <comment>captured afc_code</comment>
  112091. </bits>
  112092. </reg>
  112093. <reg name="dlpf_kdco_code_status" protect="r">
  112094. <bits access="r" name="dlpf_kdco_code_reg" pos="13:0" rst="0">
  112095. <comment>captured kdco_code</comment>
  112096. </bits>
  112097. </reg>
  112098. <reg name="dlpf_tdc_code_reg" protect="r">
  112099. <bits access="r" name="dlpf_tdc_code" pos="15:0" rst="0">
  112100. <comment>tdc_code</comment>
  112101. </bits>
  112102. </reg>
  112103. <reg name="dlpf_add_reg" protect="r">
  112104. <bits access="r" name="dlpf_add" pos="15:0" rst="0">
  112105. <comment>dlpf_add</comment>
  112106. </bits>
  112107. </reg>
  112108. <reg name="dlpf_gain0_lsb_reg" protect="r">
  112109. <bits access="r" name="dlpf_gain0_lsb" pos="15:0" rst="0">
  112110. <comment>dlpf_gain0[15:0]</comment>
  112111. </bits>
  112112. </reg>
  112113. <reg name="dlpf_gain0_msb_reg" protect="r">
  112114. <bits access="r" name="dlpf_gain0_msb" pos="6:0" rst="0">
  112115. <comment>dlpf_gain0[22:16]</comment>
  112116. </bits>
  112117. </reg>
  112118. <reg name="dlpf_gain1_lsb_reg" protect="r">
  112119. <bits access="r" name="dlpf_gain1_lsb" pos="15:0" rst="0">
  112120. <comment>dlpf_gain1[15:0]</comment>
  112121. </bits>
  112122. </reg>
  112123. <reg name="dlpf_gain1_msb_reg" protect="r">
  112124. <bits access="r" name="dlpf_gain1_msb" pos="14:0" rst="0">
  112125. <comment>dlpf_gain1[30:16]</comment>
  112126. </bits>
  112127. </reg>
  112128. <reg name="dlpf_sum0_l_reg" protect="r">
  112129. <bits access="r" name="dlpf_sum0_l" pos="15:0" rst="0">
  112130. <comment>dlpf_sum0[15:0]</comment>
  112131. </bits>
  112132. </reg>
  112133. <reg name="dlpf_sum0_m_reg" protect="r">
  112134. <bits access="r" name="dlpf_sum0_m" pos="15:0" rst="0">
  112135. <comment>dlpf_sum0[31:16]</comment>
  112136. </bits>
  112137. </reg>
  112138. <reg name="dlpf_sum0_h_reg" protect="r">
  112139. <bits access="r" name="dlpf_sum0_h" pos="6:0" rst="0">
  112140. <comment>dlpf_sum0[38:32]</comment>
  112141. </bits>
  112142. </reg>
  112143. <reg name="dlpf_iir0_sum0_l_reg" protect="r">
  112144. <bits access="r" name="dlpf_iir0_sum0_l" pos="15:0" rst="0">
  112145. <comment>iir0_sum0[15:0]</comment>
  112146. </bits>
  112147. </reg>
  112148. <reg name="dlpf_iir0_sum0_m_reg" protect="r">
  112149. <bits access="r" name="dlpf_iir0_sum0_m" pos="15:0" rst="0">
  112150. <comment>iir0_sum0[31:16]</comment>
  112151. </bits>
  112152. </reg>
  112153. <reg name="dlpf_iir0_sum0_h_reg" protect="r">
  112154. <bits access="r" name="dlpf_iir0_sum0_h" pos="11:0" rst="0">
  112155. <comment>iir0_sum0[43:32]</comment>
  112156. </bits>
  112157. </reg>
  112158. <reg name="dlpf_iir0_sum0_reg_l_reg" protect="r">
  112159. <bits access="r" name="dlpf_iir0_sum0_reg_l" pos="15:0" rst="0">
  112160. <comment>iir0_sum0_reg[15:0]</comment>
  112161. </bits>
  112162. </reg>
  112163. <reg name="dlpf_iir0_sum0_reg_m_reg" protect="r">
  112164. <bits access="r" name="dlpf_iir0_sum0_reg_m" pos="15:0" rst="0">
  112165. <comment>iir0_sum0_reg[31:16]</comment>
  112166. </bits>
  112167. </reg>
  112168. <reg name="dlpf_iir0_sum0_reg_h_reg" protect="r">
  112169. <bits access="r" name="dlpf_iir0_sum0_reg_h" pos="11:0" rst="0">
  112170. <comment>iir0_sum0_reg[43:32]</comment>
  112171. </bits>
  112172. </reg>
  112173. <reg name="dlpf_iir0_data_lsb_reg" protect="r">
  112174. <bits access="r" name="dlpf_iir0_data_lsb" pos="15:0" rst="0">
  112175. <comment>iir0_data[15:0]</comment>
  112176. </bits>
  112177. </reg>
  112178. <reg name="dlpf_iir0_data_msb_reg" protect="r">
  112179. <bits access="r" name="dlpf_iir0_data_msb" pos="15:0" rst="0">
  112180. <comment>iir0_data[31:0]</comment>
  112181. </bits>
  112182. </reg>
  112183. <reg name="dlpf_iir1_sum0_l_reg" protect="r">
  112184. <bits access="r" name="dlpf_iir1_sum0_l" pos="15:0" rst="0">
  112185. <comment>iir1_sum0[15:0]</comment>
  112186. </bits>
  112187. </reg>
  112188. <reg name="dlpf_iir1_sum0_m_reg" protect="r">
  112189. <bits access="r" name="dlpf_iir1_sum0_m" pos="15:0" rst="0">
  112190. <comment>iir1_sum0[31:16]</comment>
  112191. </bits>
  112192. </reg>
  112193. <reg name="dlpf_iir1_sum0_h_reg" protect="r">
  112194. <bits access="r" name="dlpf_iir1_sum0_h" pos="11:0" rst="0">
  112195. <comment>iir1_sum0[43:32]</comment>
  112196. </bits>
  112197. </reg>
  112198. <reg name="dlpf_iir1_sum0_reg_l_reg" protect="r">
  112199. <bits access="r" name="dlpf_iir1_sum0_reg_l" pos="15:0" rst="0">
  112200. <comment>iir1_sum0_reg[15:0]</comment>
  112201. </bits>
  112202. </reg>
  112203. <reg name="dlpf_iir1_sum0_reg_m_reg" protect="r">
  112204. <bits access="r" name="dlpf_iir1_sum0_reg_m" pos="15:0" rst="0">
  112205. <comment>iir1_sum0_reg[31:16]</comment>
  112206. </bits>
  112207. </reg>
  112208. <reg name="dlpf_iir1_sum0_reg_h_reg" protect="r">
  112209. <bits access="r" name="dlpf_iir1_sum0_reg_h" pos="11:0" rst="0">
  112210. <comment>iir1_sum0_reg[43:32]</comment>
  112211. </bits>
  112212. </reg>
  112213. <reg name="dlpf_iir1_data_lsb_reg" protect="r">
  112214. <bits access="r" name="dlpf_iir1_data_lsb" pos="15:0" rst="0">
  112215. <comment>iir1_data[15:0]</comment>
  112216. </bits>
  112217. </reg>
  112218. <reg name="dlpf_iir1_data_msb_reg" protect="r">
  112219. <bits access="r" name="dlpf_iir1_data_msb" pos="15:0" rst="0">
  112220. <comment>iir1_data[31:16]</comment>
  112221. </bits>
  112222. </reg>
  112223. <reg name="dlpf_lpf2_data_lsb_reg" protect="r">
  112224. <bits access="r" name="dlpf_lpf2_data_lsb" pos="15:0" rst="0">
  112225. <comment>lpf2_data[15:0]</comment>
  112226. </bits>
  112227. </reg>
  112228. <reg name="dlpf_lpf2_data_msb_reg" protect="r">
  112229. <bits access="r" name="dlpf_lpf2_data_msb" pos="15:0" rst="0">
  112230. <comment>lpf2_data[31:16]</comment>
  112231. </bits>
  112232. </reg>
  112233. <reg name="dlpf_ctrl_bit_reg" protect="rw">
  112234. <bits access="rw" name="dlpf_ctrl_bit" pos="15:0" rst="0">
  112235. <comment>DLPF reserved control bit.
  112236. [15:3] reserved
  112237. [1] IIR2 bypass
  112238. [0] IIR1 bypass</comment>
  112239. </bits>
  112240. </reg>
  112241. <reg name="dlpf_iir3_ctrl_reg" protect="rw">
  112242. <bits access="r" name="dlpf_iir3_val_reg" pos="14" rst="0">
  112243. <comment>DLPF IIR3 output valid</comment>
  112244. </bits>
  112245. <bits access="rw" name="dlpf_iir3_data_sel" pos="13" rst="0">
  112246. <comment>input data select: 1'b0: gro output 1'b1: dlpf notch output</comment>
  112247. </bits>
  112248. <bits access="rw" name="dlpf_iir3_load_reg" pos="12" rst="0">
  112249. <comment>load DLPF IIR3 output</comment>
  112250. </bits>
  112251. <bits access="rw" name="dlpf_iir3_dsc_cnt" pos="11:4" rst="0">
  112252. <comment>decimator start point in dnsc</comment>
  112253. </bits>
  112254. <bits access="rw" name="dlpf_iir3_dsc_bypass" pos="3" rst="1">
  112255. <comment>bypass 256 dnsc</comment>
  112256. </bits>
  112257. <bits access="rw" name="dlpf_iir3_clk_inv" pos="2" rst="0">
  112258. <comment>DLPF IIR3 input clock inverse</comment>
  112259. </bits>
  112260. <bits access="rw" name="dlpf_iir3_data_valid" pos="1" rst="0">
  112261. <comment>enable DLPF IIR3</comment>
  112262. </bits>
  112263. <bits access="rw" name="dlpf_iir3_rstn" pos="0" rst="0">
  112264. <comment>reset DLPF IIR3, active low</comment>
  112265. </bits>
  112266. </reg>
  112267. <reg name="dlpf_iir3_a11_lsb_reg" protect="rw">
  112268. <bits access="rw" name="dlpf_iir3_a11_lsb" pos="15:0" rst="0">
  112269. <comment>a11[15:0]</comment>
  112270. </bits>
  112271. </reg>
  112272. <reg name="dlpf_iir3_a12_lsb_reg" protect="rw">
  112273. <bits access="rw" name="dlpf_iir3_a12_lsb" pos="15:0" rst="0">
  112274. <comment>a12[15:0]</comment>
  112275. </bits>
  112276. </reg>
  112277. <reg name="dlpf_iir3_a21_lsb_reg" protect="rw">
  112278. <bits access="rw" name="dlpf_iir3_a21_lsb" pos="15:0" rst="0">
  112279. <comment>a21[15:0]</comment>
  112280. </bits>
  112281. </reg>
  112282. <reg name="dlpf_iir3_a_msb_reg" protect="rw">
  112283. <bits access="rw" name="dlpf_iir3_a21_msb" pos="11:8" rst="0">
  112284. <comment>a21[19:16]</comment>
  112285. </bits>
  112286. <bits access="rw" name="dlpf_iir3_a12_msb" pos="7:4" rst="0">
  112287. <comment>a12[19:16]</comment>
  112288. </bits>
  112289. <bits access="rw" name="dlpf_iir3_a11_msb" pos="3:0" rst="0">
  112290. <comment>a11[19:16]</comment>
  112291. </bits>
  112292. </reg>
  112293. <reg name="dlpf_iir3_g1_lsb_reg" protect="rw">
  112294. <bits access="rw" name="dlpf_iir3_g1_lsb" pos="15:0" rst="0">
  112295. <comment>g1[15:0]</comment>
  112296. </bits>
  112297. </reg>
  112298. <reg name="dlpf_iir3_g2_lsb_reg" protect="rw">
  112299. <bits access="rw" name="dlpf_iir3_g2_lsb" pos="15:0" rst="0">
  112300. <comment>g2[15:0]</comment>
  112301. </bits>
  112302. </reg>
  112303. <reg name="dlpf_iir3_g_msb_reg" protect="rw">
  112304. <bits access="rw" name="dlpf_iir3_g1_msb" pos="7:4" rst="0">
  112305. <comment>g2[19:16]</comment>
  112306. </bits>
  112307. <bits access="rw" name="dlpf_iir3_g2_msb" pos="3:0" rst="0">
  112308. <comment>g1[19:16]</comment>
  112309. </bits>
  112310. </reg>
  112311. <reg name="dlpf_iir3_data" protect="r">
  112312. <bits access="r" name="dlpf_iir3_data_reg" pos="15:0" rst="0">
  112313. <comment>IIR3 output</comment>
  112314. </bits>
  112315. </reg>
  112316. </module>
  112317. </archive>
  112318. <archive relative="rf_et.xml">
  112319. <module category="RF_Dig" name="RF_ET">
  112320. <reg name="mod_sel" protect="rw">
  112321. <bits access="rw" name="datarate_sel" pos="15:9" rst="0">
  112322. <comment>input iq_in and clk_in rate ratio
  112323. 0: 1:1
  112324. 1: 1:2
  112325. 2: 1:3
  112326. ....</comment>
  112327. </bits>
  112328. <bits access="rw" name="vidwide_sel" pos="8:2" rst="0">
  112329. <comment>input ET_CLK signal:
  112330. 0: wide half clk
  112331. 1: wide 1 clk
  112332. 2: wide 2 clk
  112333. ...
  112334. 127: wide 127 clk</comment>
  112335. </bits>
  112336. <bits access="rw" name="databit_sel" pos="1:0" rst="0">
  112337. <comment>0: IQ sel IQ_IN[13:2]
  112338. 1: IQ sel IQ_IN[12:1]
  112339. 2: IQ sel IQ_IN[11:0]</comment>
  112340. </bits>
  112341. </reg>
  112342. <reg name="dly_cfg" protect="rw">
  112343. <bits access="rw" name="dly_frac" pos="9:6" rst="0">
  112344. <comment>data to ETAPC frac delay: 1/16 datarate step, 015</comment>
  112345. </bits>
  112346. <bits access="rw" name="dly_int" pos="5:0" rst="0">
  112347. <comment>data to ETAPC int delay: 2us, 063</comment>
  112348. </bits>
  112349. </reg>
  112350. <reg name="dtr_cfg0" protect="rw">
  112351. <bits access="rw" name="dtr_en" pos="3" rst="0">
  112352. </bits>
  112353. <bits access="rw" name="dtr_index" pos="2:0" rst="0">
  112354. </bits>
  112355. </reg>
  112356. <reg name="dtr_cfg1" protect="rw">
  112357. <bits access="rw" name="dtr_norm" pos="10:0" rst="0">
  112358. <comment>Q0</comment>
  112359. </bits>
  112360. </reg>
  112361. <reg name="dtr_cfg2" protect="rw">
  112362. <bits access="rw" name="dtr_denorm" pos="5:0" rst="0">
  112363. <comment>Q15</comment>
  112364. </bits>
  112365. </reg>
  112366. <reg name="fir_cfg" protect="rw">
  112367. <bits access="rw" name="cic2_en" pos="2" rst="0">
  112368. <comment>cic fir enable</comment>
  112369. </bits>
  112370. <bits access="rw" name="cic1_en" pos="1" rst="0">
  112371. <comment>cic fir enable</comment>
  112372. </bits>
  112373. <bits access="rw" name="hb_en" pos="0" rst="0">
  112374. <comment>hb fir enable</comment>
  112375. </bits>
  112376. </reg>
  112377. <reg name="iir_cfg" protect="rw">
  112378. <bits access="rw" name="iir_en" pos="5" rst="0">
  112379. </bits>
  112380. <bits access="rw" name="iir_step" pos="4:3" rst="0">
  112381. </bits>
  112382. <bits access="rw" name="iir_alpha" pos="2:0" rst="0">
  112383. </bits>
  112384. </reg>
  112385. <reg name="notch_cfg0" protect="rw">
  112386. <bits access="rw" name="notch_en" pos="4" rst="0">
  112387. </bits>
  112388. <bits access="rw" name="notch_k" pos="3:0" rst="0">
  112389. </bits>
  112390. </reg>
  112391. <reg name="notch_cfg1" protect="rw">
  112392. <bits access="rw" name="notch_bq" pos="11:0" rst="0">
  112393. </bits>
  112394. </reg>
  112395. <reg name="notch_cfg2" protect="rw">
  112396. <bits access="rw" name="notch_bi" pos="11:0" rst="0">
  112397. </bits>
  112398. </reg>
  112399. <reg name="modif_cfg0" protect="rw">
  112400. <bits access="rw" name="modif_mfact" pos="13:0" rst="0">
  112401. </bits>
  112402. </reg>
  112403. <reg name="modif_cfg1" protect="rw">
  112404. <bits access="rw" name="modif_afacf" pos="13:0" rst="0">
  112405. </bits>
  112406. </reg>
  112407. <reg name="tpc_cfg" protect="rw">
  112408. <bits access="rw" name="tpc_fact0" pos="13:0" rst="0">
  112409. </bits>
  112410. </reg>
  112411. <reg name="volt_cfg" protect="rw">
  112412. <bits access="rw" name="volt_fact" pos="12:0" rst="0">
  112413. </bits>
  112414. </reg>
  112415. <reg name="clip_cfg0" protect="rw">
  112416. <bits access="rw" name="clip_factl" pos="12:0" rst="0">
  112417. </bits>
  112418. </reg>
  112419. <reg name="clip_cfg1" protect="rw">
  112420. <bits access="rw" name="clip_facth" pos="12:0" rst="0">
  112421. </bits>
  112422. </reg>
  112423. <reg name="dump_cfg" protect="rw">
  112424. <bits access="rw" name="dump_en" pos="12" rst="0">
  112425. </bits>
  112426. <bits access="rw" name="dump_dn_ph" pos="11:8" rst="0">
  112427. </bits>
  112428. <bits access="rw" name="dump_dn_sel" pos="7:4" rst="0">
  112429. </bits>
  112430. <bits access="rw" name="dump_sel" pos="3:0" rst="0">
  112431. <comment>0 : {iq_re , iq_im[11:0] }
  112432. 1 : {hb_re , hb_im[11:0] }
  112433. 2 : {env_dato , 16'h0 }
  112434. 3 : {dlyint_dato , 16'h0 }
  112435. 4 : {dlyfrac_dato, 16'h0 }
  112436. 5 : {dtr_dato , 16'h0 }
  112437. 6 : {iir_dato , 16'h0 }
  112438. 7 : {log_dato , 16'h0 }
  112439. 8 : {modif_dato , 16'h0 }
  112440. 9 : {tpc_dato , 16'h0 }
  112441. 10 : {p2v_dato , 16'h0 }
  112442. 11 : {volt_dato , 16'h0 }
  112443. 12 : {cic1_dato , 16'h0 }
  112444. 13 : {notch_dato , 16'h0 }
  112445. 14 : {cic2_dato , 16'h0 }
  112446. 15 : {clip_dato , 16'h0 }</comment>
  112447. </bits>
  112448. </reg>
  112449. <reg name="et_start_cfg" protect="rw">
  112450. <bits access="rw" name="sw_cgen" pos="1" rst="0">
  112451. <comment>0: hardware auto open clock
  112452. 1: software force open clock</comment>
  112453. </bits>
  112454. <bits access="rw" name="et_start" pos="0" rst="0">
  112455. </bits>
  112456. </reg>
  112457. </module>
  112458. </archive>
  112459. <archive relative="wcn_bb_ifc.xml">
  112460. <module category="wcn" name="WCN_BB_IFC">
  112461. <reg name="ch_0__control" protect="w">
  112462. <bits access="w" name="auto_disable" pos="4" rst="0">
  112463. <comment>Automatic channel Disable. When this bit is set, the channel is automatically disabled at the next interrupt.</comment>
  112464. </bits>
  112465. <bits access="w" name="disable" pos="1" rst="0">
  112466. <comment>Channel Disable, write one in this bit disable the channel.
  112467. When writing one in this bit, the current AHB transfer and current APB transfer (if one in progress) is completed and the channel is then disabled.</comment>
  112468. </bits>
  112469. <bits access="w" name="enable" pos="0" rst="0">
  112470. <comment>Channel Enable, write one in this bit enable the channel.
  112471. When the channel is enabled, for a peripheral to memory transfer the DMA wait request from peripheral to start transfer.</comment>
  112472. </bits>
  112473. </reg>
  112474. <reg name="ch_0__status" protect="r">
  112475. <bits access="r" name="i3_4f" pos="19" rst="0">
  112476. <comment>Three Quarter of FIFO interrupt status bit.</comment>
  112477. </bits>
  112478. <bits access="r" name="i4f" pos="18" rst="0">
  112479. <comment>Quarter of FIFO interrupt status bit.</comment>
  112480. </bits>
  112481. <bits access="r" name="ihf" pos="17" rst="0">
  112482. <comment>Half of FIFO interrupt status bit.</comment>
  112483. </bits>
  112484. <bits access="r" name="ief" pos="16" rst="0">
  112485. <comment>End of FIFO interrupt status bit.</comment>
  112486. </bits>
  112487. <bits access="r" name="cause_i3_4f" pos="11" rst="0">
  112488. <comment>Cause interrupt Three Quarter of FIFO.</comment>
  112489. </bits>
  112490. <bits access="r" name="cause_i4f" pos="10" rst="0">
  112491. <comment>Cause interrupt Quarter of FIFO.</comment>
  112492. </bits>
  112493. <bits access="r" name="cause_ihf" pos="9" rst="0">
  112494. <comment>Cause interrupt Half of FIFO.</comment>
  112495. </bits>
  112496. <bits access="r" name="cause_ief" pos="8" rst="0">
  112497. <comment>Cause interrupt End of FIFO.</comment>
  112498. </bits>
  112499. <bits access="r" name="fifo_empty" pos="4" rst="1">
  112500. <comment>When 1 the fifo is empty</comment>
  112501. </bits>
  112502. <bits access="r" name="enable" pos="0" rst="0">
  112503. <comment>When 1 the channel is enabled</comment>
  112504. </bits>
  112505. </reg>
  112506. <reg name="ch_0__start_addr" protect="rw">
  112507. <bits access="rw" name="start_addr" pos="31:2" rst="1073741823">
  112508. <comment>AHB Start Address. This field represent the start address of the FIFO located in RAM.</comment>
  112509. </bits>
  112510. </reg>
  112511. <reg name="ch_0__fifo_size" protect="rw">
  112512. <bits access="rw" name="fifo_size" pos="14:4" rst="2047">
  112513. <comment>Fifo size in bytes, max 32kBytes.
  112514. The size of the fifo must be a multiple of 16 (The four LSB are always zero).</comment>
  112515. </bits>
  112516. </reg>
  112517. <reg name="ch_0__reserved" protect="r">
  112518. </reg>
  112519. <reg name="ch_0__int_mask" protect="rw">
  112520. <bits access="rw" name="three_quarter_fifo" pos="11" rst="0">
  112521. <comment>THREE QUARTER FIFO Mask interrupt. When one this interrupt is enabled.</comment>
  112522. </bits>
  112523. <bits access="rw" name="quarter_fifo" pos="10" rst="0">
  112524. <comment>QUARTER FIFO Mask interrupt. When one this interrupt is enabled.</comment>
  112525. </bits>
  112526. <bits access="rw" name="half_fifo" pos="9" rst="0">
  112527. <comment>HALF FIFO Mask interrupt. When one this interrupt is enabled.</comment>
  112528. </bits>
  112529. <bits access="rw" name="end_fifo" pos="8" rst="0">
  112530. <comment>END FIFO Mask interrupt. When one this interrupt is enabled.</comment>
  112531. </bits>
  112532. </reg>
  112533. <reg name="ch_0__int_clear" protect="rw">
  112534. <bits access="rc" name="three_quarter_fifo" pos="11" rst="0">
  112535. <comment>bit type is changed from w1c to rc.
  112536. Write one to clear Three Quarter fifo interrupt.</comment>
  112537. </bits>
  112538. <bits access="rc" name="quarter_fifo" pos="10" rst="0">
  112539. <comment>bit type is changed from w1c to rc.
  112540. Write one to clear Quarter fifo interrupt.</comment>
  112541. </bits>
  112542. <bits access="rc" name="half_fifo" pos="9" rst="0">
  112543. <comment>bit type is changed from w1c to rc.
  112544. Write one to clear half of fifo interrupt.</comment>
  112545. </bits>
  112546. <bits access="rc" name="end_fifo" pos="8" rst="0">
  112547. <comment>bit type is changed from w1c to rc.
  112548. Write one to clear end of fifo interrupt.</comment>
  112549. </bits>
  112550. </reg>
  112551. <reg name="ch_0__cur_ahb_addr" protect="r">
  112552. <bits access="r" name="cur_ahb_addr" pos="31:2" rst="1073741823">
  112553. <comment>Current AHB address value. The nine MSB bit is constant and equal to the PAGE_ADDR field in the IFC_CH_AHB_START_ADDR register.</comment>
  112554. </bits>
  112555. </reg>
  112556. <reg name="ch_1__control" protect="w">
  112557. <bits access="w" name="auto_disable" pos="4" rst="0">
  112558. <comment>Automatic channel Disable. When this bit is set, the channel is automatically disabled at the next interrupt.</comment>
  112559. </bits>
  112560. <bits access="w" name="disable" pos="1" rst="0">
  112561. <comment>Channel Disable, write one in this bit disable the channel.
  112562. When writing one in this bit, the current AHB transfer and current APB transfer (if one in progress) is completed and the channel is then disabled.</comment>
  112563. </bits>
  112564. <bits access="w" name="enable" pos="0" rst="0">
  112565. <comment>Channel Enable, write one in this bit enable the channel.
  112566. When the channel is enabled, for a peripheral to memory transfer the DMA wait request from peripheral to start transfer.</comment>
  112567. </bits>
  112568. </reg>
  112569. <reg name="ch_1__status" protect="r">
  112570. <bits access="r" name="i3_4f" pos="19" rst="0">
  112571. <comment>Three Quarter of FIFO interrupt status bit.</comment>
  112572. </bits>
  112573. <bits access="r" name="i4f" pos="18" rst="0">
  112574. <comment>Quarter of FIFO interrupt status bit.</comment>
  112575. </bits>
  112576. <bits access="r" name="ihf" pos="17" rst="0">
  112577. <comment>Half of FIFO interrupt status bit.</comment>
  112578. </bits>
  112579. <bits access="r" name="ief" pos="16" rst="0">
  112580. <comment>End of FIFO interrupt status bit.</comment>
  112581. </bits>
  112582. <bits access="r" name="cause_i3_4f" pos="11" rst="0">
  112583. <comment>Cause interrupt Three Quarter of FIFO.</comment>
  112584. </bits>
  112585. <bits access="r" name="cause_i4f" pos="10" rst="0">
  112586. <comment>Cause interrupt Quarter of FIFO.</comment>
  112587. </bits>
  112588. <bits access="r" name="cause_ihf" pos="9" rst="0">
  112589. <comment>Cause interrupt Half of FIFO.</comment>
  112590. </bits>
  112591. <bits access="r" name="cause_ief" pos="8" rst="0">
  112592. <comment>Cause interrupt End of FIFO.</comment>
  112593. </bits>
  112594. <bits access="r" name="fifo_empty" pos="4" rst="1">
  112595. <comment>When 1 the fifo is empty</comment>
  112596. </bits>
  112597. <bits access="r" name="enable" pos="0" rst="0">
  112598. <comment>When 1 the channel is enabled</comment>
  112599. </bits>
  112600. </reg>
  112601. <reg name="ch_1__start_addr" protect="rw">
  112602. <bits access="rw" name="start_addr" pos="31:2" rst="1073741823">
  112603. <comment>AHB Start Address. This field represent the start address of the FIFO located in RAM.</comment>
  112604. </bits>
  112605. </reg>
  112606. <reg name="ch_1__fifo_size" protect="rw">
  112607. <bits access="rw" name="fifo_size" pos="14:4" rst="2047">
  112608. <comment>Fifo size in bytes, max 32kBytes.
  112609. The size of the fifo must be a multiple of 16 (The four LSB are always zero).</comment>
  112610. </bits>
  112611. </reg>
  112612. <reg name="ch_1__reserved" protect="r">
  112613. </reg>
  112614. <reg name="ch_1__int_mask" protect="rw">
  112615. <bits access="rw" name="three_quarter_fifo" pos="11" rst="0">
  112616. <comment>THREE QUARTER FIFO Mask interrupt. When one this interrupt is enabled.</comment>
  112617. </bits>
  112618. <bits access="rw" name="quarter_fifo" pos="10" rst="0">
  112619. <comment>QUARTER FIFO Mask interrupt. When one this interrupt is enabled.</comment>
  112620. </bits>
  112621. <bits access="rw" name="half_fifo" pos="9" rst="0">
  112622. <comment>HALF FIFO Mask interrupt. When one this interrupt is enabled.</comment>
  112623. </bits>
  112624. <bits access="rw" name="end_fifo" pos="8" rst="0">
  112625. <comment>END FIFO Mask interrupt. When one this interrupt is enabled.</comment>
  112626. </bits>
  112627. </reg>
  112628. <reg name="ch_1__int_clear" protect="rw">
  112629. <bits access="rc" name="three_quarter_fifo" pos="11" rst="0">
  112630. <comment>bit type is changed from w1c to rc.
  112631. Write one to clear Three Quarter fifo interrupt.</comment>
  112632. </bits>
  112633. <bits access="rc" name="quarter_fifo" pos="10" rst="0">
  112634. <comment>bit type is changed from w1c to rc.
  112635. Write one to clear Quarter fifo interrupt.</comment>
  112636. </bits>
  112637. <bits access="rc" name="half_fifo" pos="9" rst="0">
  112638. <comment>bit type is changed from w1c to rc.
  112639. Write one to clear half of fifo interrupt.</comment>
  112640. </bits>
  112641. <bits access="rc" name="end_fifo" pos="8" rst="0">
  112642. <comment>bit type is changed from w1c to rc.
  112643. Write one to clear end of fifo interrupt.</comment>
  112644. </bits>
  112645. </reg>
  112646. <reg name="ch_1__cur_ahb_addr" protect="r">
  112647. <bits access="r" name="cur_ahb_addr" pos="31:2" rst="1073741823">
  112648. <comment>Current AHB address value. The nine MSB bit is constant and equal to the PAGE_ADDR field in the IFC_CH_AHB_START_ADDR register.</comment>
  112649. </bits>
  112650. </reg>
  112651. <reg name="ch_2__control" protect="w">
  112652. <bits access="w" name="auto_disable" pos="4" rst="0">
  112653. <comment>Automatic channel Disable. When this bit is set, the channel is automatically disabled at the next interrupt.</comment>
  112654. </bits>
  112655. <bits access="w" name="disable" pos="1" rst="0">
  112656. <comment>Channel Disable, write one in this bit disable the channel.
  112657. When writing one in this bit, the current AHB transfer and current APB transfer (if one in progress) is completed and the channel is then disabled.</comment>
  112658. </bits>
  112659. <bits access="w" name="enable" pos="0" rst="0">
  112660. <comment>Channel Enable, write one in this bit enable the channel.
  112661. When the channel is enabled, for a peripheral to memory transfer the DMA wait request from peripheral to start transfer.</comment>
  112662. </bits>
  112663. </reg>
  112664. <reg name="ch_2__status" protect="r">
  112665. <bits access="r" name="i3_4f" pos="19" rst="0">
  112666. <comment>Three Quarter of FIFO interrupt status bit.</comment>
  112667. </bits>
  112668. <bits access="r" name="i4f" pos="18" rst="0">
  112669. <comment>Quarter of FIFO interrupt status bit.</comment>
  112670. </bits>
  112671. <bits access="r" name="ihf" pos="17" rst="0">
  112672. <comment>Half of FIFO interrupt status bit.</comment>
  112673. </bits>
  112674. <bits access="r" name="ief" pos="16" rst="0">
  112675. <comment>End of FIFO interrupt status bit.</comment>
  112676. </bits>
  112677. <bits access="r" name="cause_i3_4f" pos="11" rst="0">
  112678. <comment>Cause interrupt Three Quarter of FIFO.</comment>
  112679. </bits>
  112680. <bits access="r" name="cause_i4f" pos="10" rst="0">
  112681. <comment>Cause interrupt Quarter of FIFO.</comment>
  112682. </bits>
  112683. <bits access="r" name="cause_ihf" pos="9" rst="0">
  112684. <comment>Cause interrupt Half of FIFO.</comment>
  112685. </bits>
  112686. <bits access="r" name="cause_ief" pos="8" rst="0">
  112687. <comment>Cause interrupt End of FIFO.</comment>
  112688. </bits>
  112689. <bits access="r" name="fifo_empty" pos="4" rst="1">
  112690. <comment>When 1 the fifo is empty</comment>
  112691. </bits>
  112692. <bits access="r" name="enable" pos="0" rst="0">
  112693. <comment>When 1 the channel is enabled</comment>
  112694. </bits>
  112695. </reg>
  112696. <reg name="ch_2__start_addr" protect="rw">
  112697. <bits access="rw" name="start_addr" pos="31:2" rst="1073741823">
  112698. <comment>AHB Start Address. This field represent the start address of the FIFO located in RAM.</comment>
  112699. </bits>
  112700. </reg>
  112701. <reg name="ch_2__fifo_size" protect="rw">
  112702. <bits access="rw" name="fifo_size" pos="14:4" rst="2047">
  112703. <comment>Fifo size in bytes, max 32kBytes.
  112704. The size of the fifo must be a multiple of 16 (The four LSB are always zero).</comment>
  112705. </bits>
  112706. </reg>
  112707. <reg name="ch_2__reserved" protect="r">
  112708. </reg>
  112709. <reg name="ch_2__int_mask" protect="rw">
  112710. <bits access="rw" name="three_quarter_fifo" pos="11" rst="0">
  112711. <comment>THREE QUARTER FIFO Mask interrupt. When one this interrupt is enabled.</comment>
  112712. </bits>
  112713. <bits access="rw" name="quarter_fifo" pos="10" rst="0">
  112714. <comment>QUARTER FIFO Mask interrupt. When one this interrupt is enabled.</comment>
  112715. </bits>
  112716. <bits access="rw" name="half_fifo" pos="9" rst="0">
  112717. <comment>HALF FIFO Mask interrupt. When one this interrupt is enabled.</comment>
  112718. </bits>
  112719. <bits access="rw" name="end_fifo" pos="8" rst="0">
  112720. <comment>END FIFO Mask interrupt. When one this interrupt is enabled.</comment>
  112721. </bits>
  112722. </reg>
  112723. <reg name="ch_2__int_clear" protect="rw">
  112724. <bits access="rc" name="three_quarter_fifo" pos="11" rst="0">
  112725. <comment>bit type is changed from w1c to rc.
  112726. Write one to clear Three Quarter fifo interrupt.</comment>
  112727. </bits>
  112728. <bits access="rc" name="quarter_fifo" pos="10" rst="0">
  112729. <comment>bit type is changed from w1c to rc.
  112730. Write one to clear Quarter fifo interrupt.</comment>
  112731. </bits>
  112732. <bits access="rc" name="half_fifo" pos="9" rst="0">
  112733. <comment>bit type is changed from w1c to rc.
  112734. Write one to clear half of fifo interrupt.</comment>
  112735. </bits>
  112736. <bits access="rc" name="end_fifo" pos="8" rst="0">
  112737. <comment>bit type is changed from w1c to rc.
  112738. Write one to clear end of fifo interrupt.</comment>
  112739. </bits>
  112740. </reg>
  112741. <reg name="ch_2__cur_ahb_addr" protect="r">
  112742. <bits access="r" name="cur_ahb_addr" pos="31:2" rst="1073741823">
  112743. <comment>Current AHB address value. The nine MSB bit is constant and equal to the PAGE_ADDR field in the IFC_CH_AHB_START_ADDR register.</comment>
  112744. </bits>
  112745. </reg>
  112746. </module>
  112747. </archive>
  112748. <archive relative="wcn_ble_link.xml">
  112749. <module category="wcn" name="WCN_BLE_LINK">
  112750. <reg name="rwblecntl" protect="rw">
  112751. <bits access="w" name="master_soft_rst" pos="31" rst="0">
  112752. <comment>Reset the complete BLE Core except registers and timing generator, when written with a 1. Resets at 0 when action is performed. No action happens if it is written with 0.
  112753. In case of Dual Mode implementation, reset also common blocks.</comment>
  112754. </bits>
  112755. <bits access="w" name="master_tgsoft_rst" pos="30" rst="0">
  112756. <comment>Reset the timing generator, when written with a 1. Resets at 0 when action is performed. No action happens if it is written with 0.</comment>
  112757. </bits>
  112758. <bits access="w" name="reg_soft_rst" pos="29" rst="0">
  112759. <comment>Reset the complete register block, when written with a 1. Resets at 0 when action is performed. No action happens if it is written with 0.</comment>
  112760. </bits>
  112761. <bits access="w" name="swint_req" pos="28" rst="0">
  112762. <comment>Forces the generation of ble_sw_irq when written with a 1, and proper masking is set. Resets at 0 when action is performed. No action happens if it is written with 0.</comment>
  112763. </bits>
  112764. <bits access="w" name="rftest_abort" pos="26" rst="0">
  112765. <comment>Abort the current RF Testing defined as per CS-FORMAT when written with a 1. Resets at 0 when action is performed. No action happens if it is written with 0.
  112766. Note that when RFTEST_ABORT is requested
  112767. 1/ In case of infinite Tx, the Packet Controller FSM stops at the end of the current byte in process, and processes accordingly the packet CRC.
  112768. 2/ In case of Infinite Rx, the Packet Controller FSM either stops as the end of the current Packet reception (if Access address has been detected), or simply stop the processing switching off the RF.</comment>
  112769. </bits>
  112770. <bits access="w" name="advert_abort" pos="25" rst="0">
  112771. <comment>Abort the current Advertising event when written with a 1. Resets at 0 when action is performed.
  112772. No action happens if it is written with 0.</comment>
  112773. </bits>
  112774. <bits access="w" name="scan_abort" pos="24" rst="0">
  112775. <comment>Abort the current scan window when written with a 1. Resets at 0 when action is performed. No action happens if it is written with 0.</comment>
  112776. </bits>
  112777. <bits access="rw" name="md_dsb" pos="22" rst="0">
  112778. <comment>0: Normal operation of MD bits management
  112779. 1: Allow a single Tx/Rx exchange whatever the MD bits are.
  112780. - value forced by SW from Tx Descriptor
  112781. - value just saved in Rx Descriptor during reception</comment>
  112782. </bits>
  112783. <bits access="rw" name="sn_dsb" pos="21" rst="0">
  112784. <comment>0: Normal operation of Sequence number
  112785. 1: Sequence Number Management disabled:
  112786. - value forced by SW from Tx Descriptor
  112787. - value ignored in Rx -&gt; No SN error reported.</comment>
  112788. </bits>
  112789. <bits access="rw" name="nesn_dsb" pos="20" rst="0">
  112790. <comment>0: Normal operation of Acknowledge
  112791. 1: Acknowledge scheme disabled:
  112792. - value forced by SW from Tx Descriptor
  112793. - value ignored in Rx -&gt; No NESN error reported.</comment>
  112794. </bits>
  112795. <bits access="rw" name="crypt_dsb" pos="19" rst="0">
  112796. <comment>0: Normal operation. Encryption / Decryption enabled.
  112797. 1: Encryption / Decryption disabled.
  112798. Note that if CS-CRYPT_EN is set, then MIC is generated, and only data encryption is disabled, meaning data sent are plain data.</comment>
  112799. </bits>
  112800. <bits access="rw" name="whit_dsb" pos="18" rst="0">
  112801. <comment>0: Normal operation. Whitening enabled.
  112802. 1: Whitening disabled.</comment>
  112803. </bits>
  112804. <bits access="rw" name="crc_dsb" pos="17" rst="0">
  112805. <comment>0: Normal operation. CRC removed from data stream.
  112806. 1: CRC stripping disabled on Rx packets, CRC replaced by 0x000 in Tx.</comment>
  112807. </bits>
  112808. <bits access="rw" name="hop_remap_dsb" pos="16" rst="0">
  112809. <comment>0: Normal operation. Frequency Hopping Remapping algorithm enabled.
  112810. 1: Frequency Hopping Remapping algorithm disabled</comment>
  112811. </bits>
  112812. <bits access="rw" name="advertfilt_en" pos="9" rst="0">
  112813. <comment>Advertising Channels Error Filtering Enable control
  112814. 0: RW-BLE Core reports all errors to RW-BLE Software
  112815. 1: RW-BLE Core reports only correctly received packet, without error to RW-BLE Software</comment>
  112816. </bits>
  112817. <bits access="rw" name="rwble_en" pos="8" rst="0">
  112818. <comment>0: Disable RW-BLE Core Exchange Table pre-fetch mechanism.
  112819. 1: Enable RW-BLE Core Exchange table pre-fetch mechanism.</comment>
  112820. </bits>
  112821. <bits access="rw" name="rxwinszdef" pos="7:4" rst="15">
  112822. <comment>Default Rx Window size in 2s. Used when device
  112823. - is master connected
  112824. - performs its second receipt.
  112825. 0 is not a valid value. Recommended value is 10 (in decimal).</comment>
  112826. </bits>
  112827. <bits access="rw" name="syncerr" pos="2:0" rst="0">
  112828. <comment>Indicates the maximum number of errors allowed to recognize the synchronization word.</comment>
  112829. </bits>
  112830. </reg>
  112831. <reg name="version" protect="r">
  112832. <bits access="r" name="typ" pos="31:24" rst="8">
  112833. <comment>RW-BLE Core Type C 0x8 means BLE v4.2 (i.e. correspond LL version assigned number). Correspond to FS v8.0.10)</comment>
  112834. </bits>
  112835. <bits access="r" name="rel" pos="23:16" rst="0">
  112836. <comment>RW-BLE Core version C Major release number. Correspond to FS v8.0.10</comment>
  112837. </bits>
  112838. <bits access="r" name="upg" pos="15:8" rst="10">
  112839. <comment>RW-BLE Core upgrade C Upgrade number. Correspond to FS v8.0.10</comment>
  112840. </bits>
  112841. <bits access="r" name="build_num" pos="7:0" rst="0">
  112842. <comment>RW-BLE Core Build C Build number</comment>
  112843. </bits>
  112844. </reg>
  112845. <reg name="rwbleconf" protect="r">
  112846. <bits access="r" name="dmmode" pos="31" rst="1">
  112847. <comment>0: RW-BLE Core is used as a standalone BLE device
  112848. 1: RW-BLE Core is used in a Dual Mode device</comment>
  112849. </bits>
  112850. <bits access="r" name="isoportnb" pos="25:24" rst="0">
  112851. <comment>Number of supported Isochronous Channel (0 to 3)
  112852. 00: No ISO/Audio Channel available
  112853. 01: One ISO/Audio Channel available
  112854. 10: Two ISO/Audio Channels available
  112855. 11: Three ISO/Audio Channels available</comment>
  112856. </bits>
  112857. <bits access="r" name="decipher" pos="23" rst="1">
  112858. <comment>0: AES deciphering not present
  112859. 1: AES deciphering present</comment>
  112860. </bits>
  112861. <bits access="r" name="wlancoex" pos="21" rst="0">
  112862. <comment>0: WLAN Coexistence mechanism not present
  112863. 1: WLAN Coexistence mechanism present (Default Value)</comment>
  112864. </bits>
  112865. <bits access="r" name="rfif" pos="20:16" rst="1">
  112866. <comment>RFIF[k]= 0: Control logic supporting radio k not present
  112867. RFIF[k]= 1: Control logic supporting radio k present
  112868. Index k values are:
  112869. 00001: Ripple RF.
  112870. 00010: External Radio Controller Support
  112871. 00100: IcyTRx Radio
  112872. xxx000: Reserved
  112873. Default value is 0000001</comment>
  112874. </bits>
  112875. <bits access="r" name="usedbg" pos="15" rst="1">
  112876. <comment>0: Diagnostic port not instantiated
  112877. 1: Diagnostic port instantiated (Default Value)</comment>
  112878. </bits>
  112879. <bits access="r" name="usecrypt" pos="14" rst="1">
  112880. <comment>0: AES-CCM Encryption block not present
  112881. 1: AES-CCM Encryption block present (Default Value)</comment>
  112882. </bits>
  112883. <bits access="r" name="clk_sel" pos="13:8" rst="13">
  112884. <comment>Operating Frequency (in MHz)
  112885. Default value is 13MHz</comment>
  112886. </bits>
  112887. <bits access="r" name="intmode" pos="7" rst="1">
  112888. <comment>0: Interrupts are edge level generated, i.e. pulse.
  112889. 1: Interrupts are trigger level generated, i.e. stays active at 1 till acknowledgement (Default Value)</comment>
  112890. </bits>
  112891. <bits access="r" name="bus_type" pos="6" rst="0">
  112892. <comment>Processor Bus Type
  112893. 0: AHB Bus
  112894. 1: X-Bar Bus</comment>
  112895. </bits>
  112896. <bits access="r" name="data_width" pos="5" rst="1">
  112897. <comment>Processor bus width:
  112898. 0: 16 bits (Default Value)
  112899. 1: 32 bits</comment>
  112900. </bits>
  112901. <bits access="r" name="addr_width" pos="4:0" rst="16">
  112902. <comment>Value of the RW_BLE_ADDRESS_WIDTH parameter concerted into binary.
  112903. Default value is 13 (in decimal)</comment>
  112904. </bits>
  112905. </reg>
  112906. <reg name="intcntl" protect="rw">
  112907. <bits access="rw" name="cscntdevmsk" pos="15" rst="1">
  112908. <comment>CSCNT interrupt mask during event. This bit allows to enable CSCNT interrupt generation during events (i.e. advertising, scanning, initiating, and connection)
  112909. 0: CSCNT Interrupt not generated during events.
  112910. 1: CSCNT Interrupt generated during events.</comment>
  112911. </bits>
  112912. <bits access="rw" name="audioint2msk" pos="12" rst="0">
  112913. <comment>Audio channel 2 interrupt Mask
  112914. 0: Interrupt not generated
  112915. 1: Interrupt generated</comment>
  112916. </bits>
  112917. <bits access="rw" name="audioint1msk" pos="11" rst="0">
  112918. <comment>Audio channel 1 interrupt Mask
  112919. 0: Interrupt not generated
  112920. 1: Interrupt generated</comment>
  112921. </bits>
  112922. <bits access="rw" name="audioint0msk" pos="10" rst="0">
  112923. <comment>Audio channel 0 interrupt Mask
  112924. 0: Interrupt not generated
  112925. 1: Interrupt generated</comment>
  112926. </bits>
  112927. <bits access="rw" name="swintmsk" pos="9" rst="0">
  112928. <comment>SW triggered interrupt Mask
  112929. 0: Interrupt not generated
  112930. 1: Interrupt generated</comment>
  112931. </bits>
  112932. <bits access="rw" name="eventapfaintmsk" pos="8" rst="1">
  112933. <comment>End of event / anticipated pre-fetch abort interrupt Mask
  112934. 0: Interrupt not generated
  112935. 1: Interrupt generated</comment>
  112936. </bits>
  112937. <bits access="rw" name="finetgtimintmsk" pos="7" rst="0">
  112938. <comment>Fine Target Timer Mask
  112939. 0: Interrupt not generated
  112940. 1: Interrupt generated</comment>
  112941. </bits>
  112942. <bits access="rw" name="grosstgtimintmsk" pos="6" rst="0">
  112943. <comment>Gross Target Timer Mask
  112944. 0: Interrupt not generated
  112945. 1: Interrupt generated</comment>
  112946. </bits>
  112947. <bits access="rw" name="errorintmsk" pos="5" rst="0">
  112948. <comment>Error Interrupt Mask
  112949. 0: Interrupt not generated
  112950. 1: Interrupt generated</comment>
  112951. </bits>
  112952. <bits access="rw" name="cryptintmsk" pos="4" rst="1">
  112953. <comment>Encryption engine Interrupt Mask
  112954. 0: Interrupt not generated
  112955. 1: Interrupt generated</comment>
  112956. </bits>
  112957. <bits access="rw" name="eventintmsk" pos="3" rst="1">
  112958. <comment>End of event Interrupt Mask
  112959. 0: Interrupt not generated
  112960. 1: Interrupt generated</comment>
  112961. </bits>
  112962. <bits access="rw" name="slpintmsk" pos="2" rst="1">
  112963. <comment>Sleep Mode Interrupt Mask
  112964. 0: Interrupt not generated
  112965. 1: Interrupt generated</comment>
  112966. </bits>
  112967. <bits access="rw" name="rxintmsk" pos="1" rst="1">
  112968. <comment>Rx Interrupt Mask
  112969. 0: Interrupt not generated
  112970. 1: Interrupt generated</comment>
  112971. </bits>
  112972. <bits access="rw" name="cscntintmsk" pos="0" rst="1">
  112973. <comment>625s Base Time Interrupt Mask
  112974. 0: Interrupt not generated
  112975. 1: Interrupt generated</comment>
  112976. </bits>
  112977. </reg>
  112978. <reg name="intstat" protect="r">
  112979. <bits access="r" name="audioint2stat" pos="12" rst="0">
  112980. <comment>Audio channel 2 interrupt status
  112981. 0: No Audio interrupt.
  112982. 1: An Audio interrupt is pending.</comment>
  112983. </bits>
  112984. <bits access="r" name="audioint1stat" pos="11" rst="0">
  112985. <comment>Audio channel 1 interrupt status
  112986. 0: No Audio interrupt.
  112987. 1: An Audio interrupt is pending.</comment>
  112988. </bits>
  112989. <bits access="r" name="audioint0stat" pos="10" rst="0">
  112990. <comment>Audio channel 0 interrupt status
  112991. 0: No Audio interrupt.
  112992. 1: An Audio interrupt is pending.</comment>
  112993. </bits>
  112994. <bits access="r" name="swintstat" pos="9" rst="0">
  112995. <comment>SW triggered interrupt status
  112996. 0: No SW triggered interrupt.
  112997. 1: A SW triggered interrupt is pending.</comment>
  112998. </bits>
  112999. <bits access="r" name="eventapfaintstat" pos="8" rst="0">
  113000. <comment>End of event / Anticipated Pre-Fetch Abort interrupt status
  113001. 0: No End of Event interrupt.
  113002. 1: An End of Event interrupt is pending.</comment>
  113003. </bits>
  113004. <bits access="r" name="finetgtimintstat" pos="7" rst="0">
  113005. <comment>Masked Fine Target Timer Error interrupt status
  113006. 0: No Fine Target Timer interrupt.
  113007. 1: A Fine Target Timer interrupt is pending.</comment>
  113008. </bits>
  113009. <bits access="r" name="grosstgtimintstat" pos="6" rst="0">
  113010. <comment>Masked Gross Target Timer interrupt status
  113011. 0: No Gross Target Timer interrupt.
  113012. 1: A Gross Target Timer interrupt is pending.</comment>
  113013. </bits>
  113014. <bits access="r" name="errorintstat" pos="5" rst="0">
  113015. <comment>Masked Error interrupt status
  113016. 0: No Error interrupt.
  113017. 1: An Error interrupt is pending.</comment>
  113018. </bits>
  113019. <bits access="r" name="cryptintstat" pos="4" rst="0">
  113020. <comment>Masked Encryption engine interrupt status
  113021. 0: No Encryption / Decryption interrupt.
  113022. 1: An Encryption / Decryption interrupt is pending.</comment>
  113023. </bits>
  113024. <bits access="r" name="eventintstat" pos="3" rst="0">
  113025. <comment>Masked End of Event interrupt status
  113026. 0: No End of Advertising / Scanning / Connection interrupt.
  113027. 1: An End of Advertising / Scanning / Connection interrupt is pending.</comment>
  113028. </bits>
  113029. <bits access="r" name="slpintstat" pos="2" rst="0">
  113030. <comment>Masked Sleep interrupt status
  113031. 0: No End of Sleep Mode interrupt.
  113032. 1: An End of Sleep Mode interrupt is pending.</comment>
  113033. </bits>
  113034. <bits access="r" name="rxintstat" pos="1" rst="0">
  113035. <comment>Masked Packet Reception interrupt status
  113036. 0: No Rx interrupt.
  113037. 1: An Rx interrupt is pending.</comment>
  113038. </bits>
  113039. <bits access="r" name="cscntintstat" pos="0" rst="0">
  113040. <comment>Masked 625s base time reference interrupt status</comment>
  113041. </bits>
  113042. </reg>
  113043. <reg name="intrawstat" protect="r">
  113044. <bits access="r" name="audioint2rawstat" pos="12" rst="0">
  113045. <comment>Audio channel 2 interrupt raw status
  113046. 0: No Audio interrupt.
  113047. 1: An Audio interrupt is pending.</comment>
  113048. </bits>
  113049. <bits access="r" name="audioint1rawstat" pos="11" rst="0">
  113050. <comment>Audio channel 1 interrupt raw status
  113051. 0: No Audio interrupt.
  113052. 1: An Audio interrupt is pending.</comment>
  113053. </bits>
  113054. <bits access="r" name="audioint0rawstat" pos="10" rst="0">
  113055. <comment>Audio channel 0 interrupt raw status
  113056. 0: No Audio interrupt.
  113057. 1: An Audio interrupt is pending.</comment>
  113058. </bits>
  113059. <bits access="r" name="swintrawstat" pos="9" rst="0">
  113060. <comment>SW triggered interrupt raw status
  113061. 0: No SW triggered interrupt.
  113062. 1: A SW triggered interrupt is pending.</comment>
  113063. </bits>
  113064. <bits access="r" name="eventapfaintrawstat" pos="8" rst="0">
  113065. <comment>End of event / Anticipated Pre-Fetch Abort interrupt raw status
  113066. 0: No End of Event interrupt.
  113067. 1: An End of Event interrupt is pending.</comment>
  113068. </bits>
  113069. <bits access="r" name="finetgtimintrawstat" pos="7" rst="0">
  113070. <comment>Fine Target Timer Error interrupt raw status
  113071. 0: No Fine Target Timer interrupt.
  113072. 1: A Fine Target Timer interrupt is pending.</comment>
  113073. </bits>
  113074. <bits access="r" name="grosstgtimintrawstat" pos="6" rst="0">
  113075. <comment>Gross Target Timer interrupt raw status
  113076. 0: No Gross Target Timer interrupt.
  113077. 1: A Gross Target Timer interrupt is pending.</comment>
  113078. </bits>
  113079. <bits access="r" name="errorintrawstat" pos="5" rst="0">
  113080. <comment>Error interrupt raw status
  113081. 0: No Error interrupt.
  113082. 1: An Error interrupt is pending.</comment>
  113083. </bits>
  113084. <bits access="r" name="cryptintrawstat" pos="4" rst="0">
  113085. <comment>Encryption engine interrupt raw status
  113086. 0: No Encryption / Decryption interrupt.
  113087. 1: An Encryption / Decryption interrupt is pending.</comment>
  113088. </bits>
  113089. <bits access="r" name="eventintrawstat" pos="3" rst="0">
  113090. <comment>End of Event interrupt raw status
  113091. 0: No End of Advertising / Scanning / Connection interrupt.
  113092. 1: An End of Advertising / Scanning / Connection interrupt is pending.</comment>
  113093. </bits>
  113094. <bits access="r" name="slpintrawstat" pos="2" rst="0">
  113095. <comment>Sleep interrupt raw status
  113096. 0: No End of Sleep Mode interrupt.
  113097. 1: An End of Sleep Mode interrupt is pending.</comment>
  113098. </bits>
  113099. <bits access="r" name="rxintrawstat" pos="1" rst="0">
  113100. <comment>Packet Reception interrupt raw status
  113101. 0: No Rx interrupt.
  113102. 1: An Rx interrupt is pending.</comment>
  113103. </bits>
  113104. <bits access="r" name="cscntintrawstat" pos="0" rst="0">
  113105. <comment>625s base time reference interrupt raw status
  113106. 0: No 625s Base Time interrupt.
  113107. 1: A 625s Base Time interrupt is pending.</comment>
  113108. </bits>
  113109. </reg>
  113110. <reg name="intack" protect="rw">
  113111. <bits access="s" name="audioint2ack" pos="12" rst="0">
  113112. <comment>bit type is changed from wos to s.
  113113. Audio channel 2 interrupt acknowledgement bit
  113114. Software writing 1 acknowledges the Audio channel 2 interrupt. This bit resets AUDIOINT2STAT and AUDIOINT2RAWSTAT flags.
  113115. Resets at 0 when action is performed</comment>
  113116. </bits>
  113117. <bits access="s" name="audioint1ack" pos="11" rst="0">
  113118. <comment>bit type is changed from wos to s.
  113119. Audio channel 1 interrupt acknowledgement bit
  113120. Software writing 1 acknowledges the Audio channel 1 interrupt. This bit resets AUDIOINT1STAT and AUDIOINT1RAWSTAT flags.
  113121. Resets at 0 when action is performed</comment>
  113122. </bits>
  113123. <bits access="s" name="audioint0ack" pos="10" rst="0">
  113124. <comment>bit type is changed from wos to s.
  113125. Audio channel 0 interrupt acknowledgement bit
  113126. Software writing 1 acknowledges the Audio channel 0 interrupt. This bit resets AUDIOINT0STAT and AUDIOINT0RAWSTAT flags.
  113127. Resets at 0 when action is performed</comment>
  113128. </bits>
  113129. <bits access="s" name="swintack" pos="9" rst="0">
  113130. <comment>bit type is changed from wos to s.
  113131. SW triggered interrupt acknowledgement bit
  113132. Software writing 1 acknowledges the SW triggered interrupt. This bit resets SWINTSTAT and SWINTRAWSTAT flags.
  113133. Resets at 0 when action is performed</comment>
  113134. </bits>
  113135. <bits access="s" name="eventapfaintack" pos="8" rst="0">
  113136. <comment>bit type is changed from wos to s.
  113137. End of event / Anticipated Pre-Fetch Abort interrupt acknowledgement bit
  113138. Software writing 1 acknowledges the End of event / Anticipated Pre-Fetch Abort interrupt. This bit resets EVENTAPFAINTSTAT and EVENTAPFAINTRAWSTAT flags.
  113139. Resets at 0 when action is performed</comment>
  113140. </bits>
  113141. <bits access="s" name="finetgtimintack" pos="7" rst="0">
  113142. <comment>bit type is changed from wos to s.
  113143. Fine Target Timer interrupt acknowledgement bit
  113144. Software writing 1 acknowledges the Fine Timer interrupt. This bit resets FINETGTIMINTSTAT and FINETGTIMINTRAWSTAT flags.
  113145. Resets at 0 when action is performed</comment>
  113146. </bits>
  113147. <bits access="s" name="grosstgtimintack" pos="6" rst="0">
  113148. <comment>bit type is changed from wos to s.
  113149. Gross Target Timer interrupt acknowledgement bit
  113150. Software writing 1 acknowledges the Gross Timer interrupt. This bit resets GROSSTGTIMINTSTAT and GROSSTGTIMINTRAWSTAT flags.
  113151. Resets at 0 when action is performed</comment>
  113152. </bits>
  113153. <bits access="s" name="errorintack" pos="5" rst="0">
  113154. <comment>bit type is changed from wos to s.
  113155. Error interrupt acknowledgement bit
  113156. Software writing 1 acknowledges the Error interrupt. This bit resets ERRORINTSTAT and ERRORINTRAWSTAT flags.
  113157. Resets at 0 when action is performed</comment>
  113158. </bits>
  113159. <bits access="s" name="cryptintack" pos="4" rst="0">
  113160. <comment>bit type is changed from wos to s.
  113161. Encryption engine interrupt acknowledgement bit Software writing 1 acknowledges the Encryption engine interrupt. This bit resets CRYPTINTSTAT and CRYPTINTRAWSTAT flags.
  113162. Resets at 0 when action is performed</comment>
  113163. </bits>
  113164. <bits access="s" name="eventintack" pos="3" rst="0">
  113165. <comment>bit type is changed from wos to s.
  113166. End of Event interrupt acknowledgment bit
  113167. Software writing 1 acknowledges the End of Advertising / Scanning / Connection interrupt. This bit resets SLPINTSTAT and SLPINTRAWSTAT flags.
  113168. Resets at 0 when action is performed</comment>
  113169. </bits>
  113170. <bits access="s" name="slpintack" pos="2" rst="0">
  113171. <comment>bit type is changed from wos to s.
  113172. End of Deep Sleep interrupt acknowledgment bit
  113173. Software writing 1 acknowledges the End of Sleep Mode interrupt. This bit resets SLPINTSTAT and SLPINTRAWSTAT flags.
  113174. Resets at 0 when action is performed</comment>
  113175. </bits>
  113176. <bits access="s" name="rxintack" pos="1" rst="0">
  113177. <comment>bit type is changed from wos to s.
  113178. Packet Reception interrupt acknowledgment bit
  113179. Software writing 1 acknowledges the Rx interrupt. This bit resets RXINTSTAT and RXINTRAWSTAT flags.
  113180. Resets at 0 when action is performed</comment>
  113181. </bits>
  113182. <bits access="s" name="cscntintack" pos="0" rst="0">
  113183. <comment>bit type is changed from wos to s.
  113184. 625s base time reference interrupt acknowledgment bit
  113185. Software writing 1 acknowledges the CLKN interrupt. This bit resets CLKINTSTAT and CLKINTRAWSTAT flags.
  113186. Resets at 0 when action is performed</comment>
  113187. </bits>
  113188. </reg>
  113189. <reg name="basetimecnt" protect="rw">
  113190. <bits access="w" name="samp" pos="31" rst="0">
  113191. <comment>Writing a 1 samples the Base Time Counter value in BASETIMECNT register field. Resets at 0 when action is performed</comment>
  113192. </bits>
  113193. <bits access="r" name="basetimecnt" pos="26:0" rst="0">
  113194. <comment>Value of the 625s base time reference counter. Updated each time SAMP field is written. Used by the SW in order to synchronize with the HW</comment>
  113195. </bits>
  113196. </reg>
  113197. <reg name="finetimecnt" protect="r">
  113198. <bits access="r" name="finecnt" pos="9:0" rst="0">
  113199. <comment>Value of the current s fine time reference counter. Updated each time SAMP field is written. Used by the SW in order to synchronize with the HW, and obtain a more precise sleep duration</comment>
  113200. </bits>
  113201. </reg>
  113202. <reg name="bdaddrl" protect="rw">
  113203. <bits access="rw" name="bdaddrl" pos="31:0" rst="0">
  113204. <comment>Bluetooth Low Energy Device Address. LSB part.</comment>
  113205. </bits>
  113206. </reg>
  113207. <reg name="bdaddru" protect="rw">
  113208. <bits access="rw" name="priv_npub" pos="16" rst="0">
  113209. <comment>Bluetooth Low Energy Device Address privacy indicator
  113210. 0: Public Bluetooth Device Address
  113211. 1: Private Bluetooth Device Address</comment>
  113212. </bits>
  113213. <bits access="rw" name="bdaddru" pos="15:0" rst="0">
  113214. <comment>Bluetooth Low Energy Device Address. MSB part.</comment>
  113215. </bits>
  113216. </reg>
  113217. <reg name="et_currentrxdescptr" protect="rw">
  113218. <bits access="rw" name="etptr" pos="31:16" rst="0">
  113219. <comment>Exchange Table Pointer that determines the starting point of the Exchange Table</comment>
  113220. </bits>
  113221. <bits access="rw" name="currentrxdescptr" pos="14:0" rst="0">
  113222. <comment>Rx Descriptor Pointer that determines the starting point of the Receive Buffer Chained List</comment>
  113223. </bits>
  113224. </reg>
  113225. <hole size="256"/>
  113226. <reg name="diagcntl" protect="rw">
  113227. <bits access="rw" name="diag3_en" pos="31" rst="0">
  113228. <comment>0: Disable diagnostic port 3 output. All outputs are set to 0x0.
  113229. 1: Enable diagnostic port 3 output.</comment>
  113230. </bits>
  113231. <bits access="rw" name="diag3" pos="29:24" rst="0">
  113232. <comment>Only relevant when DIAGEN3 = 1.
  113233. Selection of the outputs that must be driven to the diagnostic port 3. See section 2.16 for a detailed description.</comment>
  113234. </bits>
  113235. <bits access="rw" name="diag2_en" pos="23" rst="0">
  113236. <comment>0: Disable diagnostic port 2 output. All outputs are set to 0x0.
  113237. 1: Enable diagnostic port 2 output.</comment>
  113238. </bits>
  113239. <bits access="rw" name="diag2" pos="21:16" rst="0">
  113240. <comment>Only relevant when DIAGEN2 = 1.
  113241. Selection of the outputs that must be driven to the diagnostic port 2. See section 2.16 for a detailed description.</comment>
  113242. </bits>
  113243. <bits access="rw" name="diag1_en" pos="15" rst="0">
  113244. <comment>0: Disable diagnostic port 1 output. All outputs are set to 0x0.
  113245. 1: Enable diagnostic port 1 output.</comment>
  113246. </bits>
  113247. <bits access="rw" name="diag1" pos="13:8" rst="0">
  113248. <comment>Only relevant when DIAGEN1 = 1.
  113249. Selection of the outputs that must be driven to the diagnostic port 1. See section 2.16 for a detailed description.</comment>
  113250. </bits>
  113251. <bits access="rw" name="diag0_en" pos="7" rst="0">
  113252. <comment>0: Disable diagnostic port 0 output. All outputs are set to 0x0.
  113253. 1: Enable diagnostic port 0 output.</comment>
  113254. </bits>
  113255. <bits access="rw" name="diag0" pos="5:0" rst="0">
  113256. <comment>Only relevant when DIAGEN0 = 1.
  113257. Selection of the outputs that must be driven to the diagnostic port 0. See section 2.16 for a detailed description.</comment>
  113258. </bits>
  113259. </reg>
  113260. <reg name="diagstat" protect="r">
  113261. <bits access="r" name="diag3stat" pos="31:24" rst="0">
  113262. <comment>Directly connected to ble_dbg3[7:0] output. Debug use only.</comment>
  113263. </bits>
  113264. <bits access="r" name="diag2stat" pos="23:16" rst="0">
  113265. <comment>Directly connected to ble_dbg2[7:0] output. Debug use only.</comment>
  113266. </bits>
  113267. <bits access="r" name="diag1stat" pos="15:8" rst="0">
  113268. <comment>Directly connected to ble_dbg1[7:0] output. Debug use only.</comment>
  113269. </bits>
  113270. <bits access="r" name="diag0stat" pos="7:0" rst="0">
  113271. <comment>Directly connected to ble_dbg0[7:0] output. Debug use only.</comment>
  113272. </bits>
  113273. </reg>
  113274. <reg name="debugaddmax" protect="rw">
  113275. <bits access="rw" name="reg_addmax" pos="31:16" rst="0">
  113276. <comment>Upper limit for the Register zone indicated by the reg_inzone flag (see section 2.16)</comment>
  113277. </bits>
  113278. <bits access="rw" name="em_addmax" pos="15:0" rst="0">
  113279. <comment>Upper limit for the Exchange Memory zone indicated by the em_inzone flag (see section 2.16)</comment>
  113280. </bits>
  113281. </reg>
  113282. <reg name="debugaddmin" protect="rw">
  113283. <bits access="rw" name="reg_addmin" pos="31:16" rst="0">
  113284. <comment>Lower limit for the Register zone indicated by the reg_inzone flag (see section 2.16)</comment>
  113285. </bits>
  113286. <bits access="rw" name="em_addmin" pos="15:0" rst="0">
  113287. <comment>Lower limit for the Exchange Memory zone indicated by the em_inzone flag (see section 2.16)</comment>
  113288. </bits>
  113289. </reg>
  113290. <reg name="errortypestat" protect="r">
  113291. <bits access="r" name="ral_underrun" pos="19" rst="0">
  113292. <comment>Indicates Resolving Address List engine Under run issue, happens when RAL List parsing not finished on time
  113293. 0: No error
  113294. 1: Error occurred</comment>
  113295. </bits>
  113296. <bits access="r" name="ral_error" pos="18" rst="0">
  113297. <comment>Indicates Resolving Address List engine faced a bad setting (e.g CS-RAL_EN = 1 and null RALPTR, or RALPTR &gt; CS-PEER_RALPTR).
  113298. 0: No error
  113299. 1: Error occurred</comment>
  113300. </bits>
  113301. <bits access="r" name="concevtirq_error" pos="17" rst="0">
  113302. <comment>Indicates whether two consecutive and concurrent ble_event_irq have been generated, and not acknowledged in time by the RW-BLE Software.
  113303. 0: No error
  113304. 1: Error occurred</comment>
  113305. </bits>
  113306. <bits access="r" name="rxdata_ptr_error" pos="16" rst="0">
  113307. <comment>Indicates whether Rx data buffer pointer value programmed is null: this is a major programming failure.
  113308. 0: No error
  113309. 1: Error occurred</comment>
  113310. </bits>
  113311. <bits access="r" name="txdata_ptr_error" pos="15" rst="0">
  113312. <comment>Indicates whether Tx data buffer pointer value programmed is null during Advertising / Scanning / Initiating events, or during Master / Slave connections with non-null packet length: this is a major programming failure.
  113313. 0: No error
  113314. 1: Error occurred</comment>
  113315. </bits>
  113316. <bits access="r" name="rxdesc_empty_error" pos="14" rst="0">
  113317. <comment>Indicates whether Rx Descriptor pointer value programmed in register is null: this is a major programming failure.
  113318. 0: No error
  113319. 1: Error occurred</comment>
  113320. </bits>
  113321. <bits access="r" name="txdesc_empty_error" pos="13" rst="0">
  113322. <comment>Indicates whether Tx Descriptor pointer value programmed in Control Structure is null during Advertising / Scanning / Initiating events: this is a major programming failure.
  113323. 0: No error
  113324. 1: Error occurred</comment>
  113325. </bits>
  113326. <bits access="r" name="csformat_error" pos="12" rst="0">
  113327. <comment>Indicates whether CS-FORMAT has been programmed with an invalid value: this is a major software programming failure.
  113328. 0: No error
  113329. 1: Error occurred</comment>
  113330. </bits>
  113331. <bits access="r" name="llchmap_error" pos="11" rst="0">
  113332. <comment>Indicates Link Layer Channel Map error, happens when actual number of CS-LLCHMAP bit set to one is different from CS-NBCHGOOD at the beginning of Frequency Hopping process
  113333. 0: No error
  113334. 1: Error occurred</comment>
  113335. </bits>
  113336. <bits access="r" name="adv_underrun" pos="10" rst="0">
  113337. <comment>Indicates Advertising Interval Under run, occurs if time between two consecutive Advertising packet (in Advertising mode) is lower than described in Table 3-11.
  113338. 0: No error
  113339. 1: Error occurred</comment>
  113340. </bits>
  113341. <bits access="r" name="ifs_underrun" pos="9" rst="0">
  113342. <comment>Indicates Inter Frame Space Under run, occurs if IFS time is not enough to update and read Control Structure/Descriptors, and/or White List parsing is not finished and/or Decryption time is too long to be finished on time
  113343. 0: No error
  113344. 1: Error occurred</comment>
  113345. </bits>
  113346. <bits access="r" name="whitelist_error" pos="8" rst="0">
  113347. <comment>Indicates White List Timeout error, occurs if White List parsing is not finished on time
  113348. 0: No error
  113349. 1: Error occurred</comment>
  113350. </bits>
  113351. <bits access="r" name="evt_cntl_apfm_error" pos="7" rst="0">
  113352. <comment>Indicates Anticipated Pre-Fetch Mechanism error: happens when 2 consecutive events are programmed, and when the first event is not completely finished while second pre-fetch instant is reached.
  113353. 0: No error
  113354. 1: Error occured</comment>
  113355. </bits>
  113356. <bits access="r" name="evt_schdl_apfm_error" pos="6" rst="0">
  113357. <comment>Indicates Anticipated Pre-Fetch Mechanism error: happens when 2 consecutive events are programmed, and when the first event is not completely finished while second pre-fetch instant is reached.
  113358. 0: No error
  113359. 1: Error occured</comment>
  113360. </bits>
  113361. <bits access="r" name="evt_schdl_entry_error" pos="5" rst="0">
  113362. <comment>Indicates Event Scheduler faced Invalid timing programing on two consecutive ET entries (e.g first one with 624s offset and second one with no offset)
  113363. 0: No error
  113364. 1: Error occurred</comment>
  113365. </bits>
  113366. <bits access="r" name="evt_schdl_emacc_error" pos="4" rst="0">
  113367. <comment>Indicates Event Scheduler Exchange Memory access error, happens when Exchange Memory accesses are not served in time, and blocks the Exchange Table entry read
  113368. 0: No error
  113369. 1: Error occurred</comment>
  113370. </bits>
  113371. <bits access="r" name="radio_emacc_error" pos="3" rst="0">
  113372. <comment>Indicates Radio Controller Exchange Memory access error, happens when Exchange Memory accesses are not served in time and data are corrupted.
  113373. 0: No error
  113374. 1: Error occurred</comment>
  113375. </bits>
  113376. <bits access="r" name="pktcntl_emacc_error" pos="2" rst="0">
  113377. <comment>Indicates Packet Controller Exchange Memory access error, happens when Exchange Memory accesses are not served in time and Tx/Rx data are corrupted
  113378. 0: No error
  113379. 1: Error occurred</comment>
  113380. </bits>
  113381. <bits access="r" name="rxcrypt_error" pos="1" rst="0">
  113382. <comment>Indicates real time decryption error, happens when AES-CCM decryption is too slow compared to Packet Controller requests. A 16-bytes block has to be decrypted prior the next block is received by the Packet Controller
  113383. 0: No error
  113384. 1: Error occurred</comment>
  113385. </bits>
  113386. <bits access="r" name="txcrypt_error" pos="0" rst="0">
  113387. <comment>Indicates Real Time encryption error, happens when AES-CCM encryption is too slow compared to Packet Controller requests. A 16-bytes block has to be encrypted and prepared on Packet Controller request, and needs to be ready before the Packet Controller has to send ti
  113388. 0: No error
  113389. 1: Error occurred</comment>
  113390. </bits>
  113391. </reg>
  113392. <reg name="swprofiling" protect="rw">
  113393. <bits access="rw" name="swprof" pos="31:0" rst="0">
  113394. <comment>Software Profiling register: used by RW-BLE Software for profiling purpose: this value is copied on Diagnostic port (Please refer to section 2.16 for details)</comment>
  113395. </bits>
  113396. </reg>
  113397. <hole size="64"/>
  113398. <reg name="radiocntl0" protect="rw">
  113399. <bits access="rw" name="sync_pulse_mode" pos="23" rst="0">
  113400. <comment>Determines whether SYNC_P output will be dragged as pulse or level maintained till end of the Packet.
  113401. 0: Access Code detection indicator provided as pulse
  113402. 1: Access Code detection indicator provided as level</comment>
  113403. </bits>
  113404. <bits access="rw" name="dpcorr_en" pos="22" rst="0">
  113405. <comment>Enables the use of the delayed DC offset compensated data path in Radio Correlator block.
  113406. 1: Enable
  113407. 0: Disable</comment>
  113408. </bits>
  113409. <bits access="rw" name="forceagc_en" pos="21" rst="0">
  113410. <comment>Control Ripple AGC force mode based on RADIOCNTL2-FORCEAGC_LENGTH value
  113411. 1: Enable
  113412. 0: Disable</comment>
  113413. </bits>
  113414. <bits access="rw" name="forcebleiq" pos="20" rst="0">
  113415. <comment>Control Ripple modulation mode in between FM and I&amp;Q
  113416. 1: I&amp;Q modulation mode
  113417. 0: FM modulation mode</comment>
  113418. </bits>
  113419. <bits access="rw" name="jef_select" pos="19" rst="0">
  113420. <comment>Selects Jitter Elimination FIFO</comment>
  113421. </bits>
  113422. <bits access="rw" name="spifreq" pos="6:5" rst="0">
  113423. <comment>Frequency of the SPI clock
  113424. 00: SPI clock frequency is baseband master clock frequency divided by 2 (i.e 6.5MHz @ 13MHz)
  113425. 01: SPI clock frequency is baseband master clock frequency divided by 4 (i.e 3.25MHz @ 13MHz)
  113426. 10: SPI clock frequency is baseband master clock frequency divided by 8 (i.e 1.67MHz @ 13MHz)
  113427. 11: Do not use</comment>
  113428. </bits>
  113429. <bits access="r" name="spicomp" pos="1" rst="1">
  113430. <comment>This bit is READ ONLY.
  113431. 0: Indicates that the SPI transfer is in progress.
  113432. 1: Indicates that the SPI transfer is complete. The RW-BT Dual Mode is ready to start another transfer.</comment>
  113433. </bits>
  113434. <bits access="w" name="spigo" pos="0" rst="0">
  113435. <comment>Software writing 1 triggers the SPI access. This bit is always read as 0.</comment>
  113436. </bits>
  113437. </reg>
  113438. <reg name="radiocntl1" protect="rw">
  113439. <bits access="rw" name="subversion" pos="27:24" rst="0">
  113440. <comment>Has no effect on Radio Controller</comment>
  113441. </bits>
  113442. <bits access="rw" name="xrfsel" pos="20:16" rst="1">
  113443. <comment>Extended radio selection field
  113444. 5'b00000: No radio selected
  113445. 5'b00001: RivieraWaves Ripple RF (BT4.0)
  113446. 5'b00010: External Radio controller support
  113447. 5'b00011-5'b11111: reserved</comment>
  113448. </bits>
  113449. <bits access="rw" name="spiptr" pos="15:0" rst="144">
  113450. <comment>Pointer to the buffer containing data to be transferred to or received from the SPI port.</comment>
  113451. </bits>
  113452. </reg>
  113453. <reg name="radiocntl2" protect="rw">
  113454. <bits access="rw" name="rfrxtmda" pos="31:28" rst="0">
  113455. <comment>RF Rx Test Mode Delay Adjustment</comment>
  113456. </bits>
  113457. <bits access="rw" name="tx_delay" pos="27:24" rst="0">
  113458. <comment>Used to compensate Modem&amp;RF Tx delay. When used, rtrip_delay should be set as Rx delay</comment>
  113459. </bits>
  113460. <bits access="rw" name="sync_position" pos="22:16" rst="39">
  113461. <comment>Expected bit offset when rx symbol flag found. Used to compensate Modem&amp;RF Rx delay.</comment>
  113462. </bits>
  113463. <bits access="rw" name="forceagc_length" pos="11:0" rst="0">
  113464. <comment>Defines Rx window time threshold that forces Ripple AGC to max gain</comment>
  113465. </bits>
  113466. </reg>
  113467. <reg name="radiocntl3" protect="rw">
  113468. <bits access="rw" name="freqtable_ptr" pos="15:0" rst="64">
  113469. <comment>BR/EDR Frequency Table pointer</comment>
  113470. </bits>
  113471. </reg>
  113472. <reg name="radiopwrupdn" protect="rw">
  113473. <bits access="rw" name="rtrip_delay" pos="30:24" rst="30">
  113474. <comment>Defines round trip delay value. This value correspond to the addition of data latency in Tx and data latency in Rx. Value is in s</comment>
  113475. </bits>
  113476. <bits access="rw" name="rxpwrup" pos="23:16" rst="80">
  113477. <comment>This register holds the length in us of the RX power up phase for the current radio device. Default value is 210us (reset value). Operating range depends on the selected radio.</comment>
  113478. </bits>
  113479. <bits access="rw" name="txpwrdn" pos="12:8" rst="5">
  113480. <comment>This register extends the length in us of the TX power down phase for the current radio device. Default value is 3us (reset value). Operating range depends on the selected radio.</comment>
  113481. </bits>
  113482. <bits access="rw" name="txpwrup" pos="7:0" rst="60">
  113483. <comment>This register holds the length in us of the TX power up phase for the current radio device. Default value is 210us (reset value). Operating range depends on the selected radio.</comment>
  113484. </bits>
  113485. </reg>
  113486. <reg name="radiocntl2m" protect="rw">
  113487. <bits access="rw" name="rtrip_delay_2m" pos="30:24" rst="15">
  113488. <comment>Defines round trip delay value for 2M mode. This value correspond to the addition of data latency in Tx and data latency in Rx. Value is in s</comment>
  113489. </bits>
  113490. <bits access="rw" name="sync_position_2m" pos="22:16" rst="23">
  113491. <comment>Expected bit offset when rx symbol flag found for 2M mode. Used to compensate Modem&amp;RF Rx delay.</comment>
  113492. </bits>
  113493. </reg>
  113494. <hole size="64"/>
  113495. <reg name="advchmap" protect="rw">
  113496. <bits access="rw" name="advchmap" pos="2:0" rst="7">
  113497. <comment>Advertising Channel Map, defined as per the advertising connection settings. Contains advertising channels index 37 to 39. If ADVCHMAP[i] equals:
  113498. 0: Do not use data channel i+37.
  113499. 1: Use data channel i+37.</comment>
  113500. </bits>
  113501. </reg>
  113502. <hole size="96"/>
  113503. <reg name="advtim" protect="rw">
  113504. <bits access="rw" name="advint" pos="13:0" rst="0">
  113505. <comment>Advertising Packet Interval defines the time interval in between two ADV_xxx packet sent.
  113506. Value is in s.
  113507. Value to program depends on the used Advertising Packet type and the device filtering policy.
  113508. Please refer to Table 3-11 for details about ADVINT programming range.</comment>
  113509. </bits>
  113510. </reg>
  113511. <reg name="actscanstat" protect="r">
  113512. <bits access="r" name="backoff" pos="24:16" rst="1">
  113513. <comment>Active scan mode back-off counter initialization value.</comment>
  113514. </bits>
  113515. <bits access="r" name="upperlimit" pos="8:0" rst="1">
  113516. <comment>Active scan mode upper limit counter value.</comment>
  113517. </bits>
  113518. </reg>
  113519. <hole size="64"/>
  113520. <reg name="wlpubaddptr" protect="rw">
  113521. <bits access="rw" name="wlpubaddptr" pos="15:0" rst="0">
  113522. <comment>Start address pointer of the public devices white list.</comment>
  113523. </bits>
  113524. </reg>
  113525. <reg name="wlprivaddptr" protect="rw">
  113526. <bits access="rw" name="wlprivaddptr" pos="15:0" rst="0">
  113527. <comment>Start address pointer of the private devices white list.</comment>
  113528. </bits>
  113529. </reg>
  113530. <reg name="wlnbdev" protect="rw">
  113531. <bits access="rw" name="nbprivdev" pos="15:8" rst="0">
  113532. <comment>Number of private devices in the white list.</comment>
  113533. </bits>
  113534. <bits access="rw" name="nbpubdev" pos="7:0" rst="0">
  113535. <comment>Number of public devices in the white list.</comment>
  113536. </bits>
  113537. </reg>
  113538. <hole size="32"/>
  113539. <reg name="aescntl" protect="rw">
  113540. <bits access="rw" name="aes_mode" pos="1" rst="0">
  113541. <comment>0: Cipher mode
  113542. 1: Decipher mode</comment>
  113543. </bits>
  113544. <bits access="w" name="aes_start" pos="0" rst="0">
  113545. <comment>Writing a 1 starts AES-128 ciphering/deciphering process.
  113546. This bit is reset once the process is finished (i.e. ble_crypt_irq interrupt occurs, even masked)</comment>
  113547. </bits>
  113548. </reg>
  113549. <reg name="aeskey31_0" protect="rw">
  113550. <bits access="rw" name="aeskey31_0" pos="31:0" rst="0">
  113551. <comment>AES encryption 128-bit key. Bit 31 down to 0</comment>
  113552. </bits>
  113553. </reg>
  113554. <reg name="aeskey63_32" protect="rw">
  113555. <bits access="rw" name="aeskey63_32" pos="31:0" rst="0">
  113556. <comment>AES encryption 128-bit key. Bit 63 down to 32</comment>
  113557. </bits>
  113558. </reg>
  113559. <reg name="aeskey95_64" protect="rw">
  113560. <bits access="rw" name="aeskey95_64" pos="31:0" rst="0">
  113561. <comment>AES encryption 128-bit key. Bit 95 down to 64</comment>
  113562. </bits>
  113563. </reg>
  113564. <reg name="aeskey127_96" protect="rw">
  113565. <bits access="rw" name="aeskey127_96" pos="31:0" rst="0">
  113566. <comment>AES encryption 128-bit key. Bit 127 down to 96</comment>
  113567. </bits>
  113568. </reg>
  113569. <reg name="aesptr" protect="rw">
  113570. <bits access="rw" name="aesptr" pos="15:0" rst="0">
  113571. <comment>Pointer to the memory zone where the block to cipher/decipher using AES-128 is stored.</comment>
  113572. </bits>
  113573. </reg>
  113574. <reg name="txmicval" protect="r">
  113575. <bits access="r" name="txmicval" pos="31:0" rst="0">
  113576. <comment>AES-CCM plain MIC value. Valid on when MIC has been calculated (in Tx)</comment>
  113577. </bits>
  113578. </reg>
  113579. <reg name="rxmicval" protect="r">
  113580. <bits access="r" name="rxmicval" pos="31:0" rst="0">
  113581. <comment>AES-CCM plain MIC value. Valid on once MIC has been extracted from Rx packet.</comment>
  113582. </bits>
  113583. </reg>
  113584. <reg name="rftestcntl" protect="rw">
  113585. <bits access="rw" name="infiniterx" pos="31" rst="0">
  113586. <comment>Applicable to all event type
  113587. 0: Normal mode of operation
  113588. 1: Infinite Rx window</comment>
  113589. </bits>
  113590. <bits access="rw" name="rxpktcnten" pos="27" rst="0">
  113591. <comment>Applicable in RF Direct Rx Test mode only
  113592. 0: Rx packet count disabled
  113593. 1: Rx packet count enabled, and reported in CS-RXCCMPKTCNT and RFTESTRXSTAT-RXPKTCNT on RF abort command</comment>
  113594. </bits>
  113595. <bits access="rw" name="infinitetx" pos="15" rst="0">
  113596. <comment>Applicable to all event type
  113597. 0: Normal mode of operation.
  113598. 1: Infinite Tx packet / Normal start of a packet but endless payload</comment>
  113599. </bits>
  113600. <bits access="rw" name="txlengthsrc" pos="14" rst="0">
  113601. <comment>Applicable to all event type
  113602. 0: Normal mode of operation: TxDESC-&lt;TXADVLEN/TXLEN&gt; controls the Tx packet payload size
  113603. 1: Uses RFTESTCNTL-TXLENGTH packet length (can support up to 512 bytes transmit)</comment>
  113604. </bits>
  113605. <bits access="rw" name="prbstype" pos="13" rst="0">
  113606. <comment>Defines the PRBS in use
  113607. 0: Tx Packet Payload are PRBS9 type
  113608. 1: Tx Packet Payload are PRBS15 type</comment>
  113609. </bits>
  113610. <bits access="rw" name="txpldsrc" pos="12" rst="0">
  113611. <comment>Applicable to all event type
  113612. 0: Tx Packet Payload source is the Control Structure
  113613. 1: Tx Packet Payload are PRBS generator</comment>
  113614. </bits>
  113615. <bits access="rw" name="txpktcnten" pos="11" rst="0">
  113616. <comment>Applicable in RF Direct Tx Test mode only
  113617. 0: Tx packet count disabled
  113618. 1: Tx packet count enabled, and reported in CS-TXCCMPKTCNT and RFTESTTXSTAT-TXPKTCNT on RF abort command</comment>
  113619. </bits>
  113620. <bits access="rw" name="txlength" pos="8:0" rst="0">
  113621. <comment>Applicable to all event type, valid when RFTESTCNTL-TXLENGTHSRC = 1
  113622. Tx packet length in number of byte</comment>
  113623. </bits>
  113624. </reg>
  113625. <reg name="rftesttxstat" protect="r">
  113626. <bits access="r" name="txpktcnt" pos="31:0" rst="0">
  113627. <comment>Reports number of transmitted packet during Test Modes.
  113628. Value is valid if RFTESTCNTL-TXPKTCNTEN is set</comment>
  113629. </bits>
  113630. </reg>
  113631. <reg name="rftestrxstat" protect="r">
  113632. <bits access="r" name="rxpktcnt" pos="31:0" rst="0">
  113633. <comment>Reports number of correctly received packet during Test Modes (no sync error, no CRC error).
  113634. Value is valid if RFTESTCNTL-RXPKTCNTEN is set</comment>
  113635. </bits>
  113636. </reg>
  113637. <hole size="32"/>
  113638. <reg name="timgencntl" protect="rw">
  113639. <bits access="rw" name="apfm_en" pos="31" rst="1">
  113640. <comment>Controls the Anticipated pre-Fetch Abort mechanism
  113641. 0: Disabled
  113642. 1: Enabled</comment>
  113643. </bits>
  113644. <bits access="rw" name="prefetchabort_time" pos="25:16" rst="510">
  113645. <comment>Defines the instant in s at which immediate abort is required after anticipated pre-fetch abort</comment>
  113646. </bits>
  113647. <bits access="rw" name="prefetch_time" pos="8:0" rst="150">
  113648. <comment>Defines Exchange Table pre-fetch instant in s</comment>
  113649. </bits>
  113650. </reg>
  113651. <reg name="grosstimtgt" protect="rw">
  113652. <bits access="rw" name="grosstarget" pos="22:0" rst="0">
  113653. <comment>Gross Timer Target value on which a ble_grosstgtim_irq must be generated. This timer has a precision of 10ms: interrupt is generated only when GROSSTARGET[22:0] = BASETIMECNT[26:4] and BASETIMECNT[3:0] = 0.</comment>
  113654. </bits>
  113655. </reg>
  113656. <reg name="finetimtgt" protect="rw">
  113657. <bits access="rw" name="finetarget" pos="26:0" rst="0">
  113658. <comment>Fine Timer Target value on which a ble_finetgtim_irq must be generated. This timer has a precision of 625s: interrupt is generated only when FINETARGET = BASETIMECNT</comment>
  113659. </bits>
  113660. </reg>
  113661. <hole size="288"/>
  113662. <reg name="ralptr" protect="rw">
  113663. <bits access="rw" name="ralptr" pos="15:0" rst="0">
  113664. <comment>Start address pointer of the RAL structure</comment>
  113665. </bits>
  113666. </reg>
  113667. <reg name="ralnbdev" protect="rw">
  113668. <bits access="rw" name="nbraldev" pos="7:0" rst="0">
  113669. <comment>Number of devices in RAL Structure</comment>
  113670. </bits>
  113671. </reg>
  113672. <reg name="ral_local_rnd" protect="rw">
  113673. <bits access="w" name="lrnd_init" pos="31" rst="0">
  113674. <comment>Writing a 1 initializes of Local RPA random number generation LFSR
  113675. This bit is reset once the LFSR is loaded</comment>
  113676. </bits>
  113677. <bits access="rw" name="lrnd_val" pos="21:0" rst="4132623">
  113678. <comment>Initialization value for Local RPA random generation when LRDN_INIT is set to 1, else reports the current Local RPA random number LFSR value</comment>
  113679. </bits>
  113680. </reg>
  113681. <reg name="ral_peer_rnd" protect="rw">
  113682. <bits access="w" name="prnd_init" pos="31" rst="0">
  113683. <comment>Writing a 1 initializes of Peer RPA random number generation LFSR
  113684. This bit is reset once the LFSR is loaded</comment>
  113685. </bits>
  113686. <bits access="rw" name="prnd_val" pos="21:0" rst="3207408">
  113687. <comment>Initialization value for Peer RPA random generation when PRDN_INIT is set to 1, else reports the current Peer RPA random number LFSR value</comment>
  113688. </bits>
  113689. </reg>
  113690. <hole size="768"/>
  113691. <reg name="bleprioscharb" protect="rw">
  113692. <bits access="rw" name="blepriomode" pos="15" rst="0">
  113693. <comment>Determine BLE Priority Scheduling Arbitration Mode
  113694. 0: BLE Decision instant not used
  113695. 1: BLE Decision instant used</comment>
  113696. </bits>
  113697. <bits access="rw" name="blemargin" pos="7:0" rst="0">
  113698. <comment>Determine the decision instant margin for Priority Scheduling Arbitration.
  113699. Decision instant is defined as per formula of section 3.6</comment>
  113700. </bits>
  113701. </reg>
  113702. </module>
  113703. </archive>
  113704. <archive relative="wcn_bt_core.xml">
  113705. <module category="wcn" name="WCN_BT_CORE">
  113706. <reg name="common_ctrl" protect="rw">
  113707. <bits access="r" name="typ" pos="31:28" rst="2">
  113708. <comment>Version type of bt_core. 1 for BTDM old version. 2 for BTDM new version. 3 for BLE only.</comment>
  113709. </bits>
  113710. <bits access="r" name="rel" pos="27:24" rst="2">
  113711. <comment>Major release number of bt_core</comment>
  113712. </bits>
  113713. <bits access="r" name="upg" pos="23:20" rst="0">
  113714. <comment>Upgrade number of bt_core</comment>
  113715. </bits>
  113716. <bits access="rw" name="rf_ext_slave" pos="1" rst="0">
  113717. <comment>Set to 1 when working as a plug-in RF&amp;modem board. Set to 0 in all other modes</comment>
  113718. </bits>
  113719. <bits access="rw" name="rf_ext_master" pos="0" rst="0">
  113720. <comment>Set to 1 when using plug-in RF&amp;modem board. Set to 0 in all other modes</comment>
  113721. </bits>
  113722. </reg>
  113723. <reg name="tport_ctrl" protect="rw">
  113724. <bits access="rw" name="tport_clk_sel" pos="27:24" rst="0">
  113725. <comment>select tport clock</comment>
  113726. </bits>
  113727. <bits access="rw" name="tport_trig_sel" pos="19:16" rst="0">
  113728. <comment>select tport trigger</comment>
  113729. </bits>
  113730. <bits access="rw" name="tport_data1_sel" pos="11:8" rst="0">
  113731. <comment>select tport data1</comment>
  113732. </bits>
  113733. <bits access="rw" name="tport_data0_sel" pos="3:0" rst="9">
  113734. <comment>select tport data0</comment>
  113735. </bits>
  113736. </reg>
  113737. <reg name="rf_pllfreq_sel_0" protect="rw">
  113738. <bits access="rw" name="pllfreq_sel_31_0" pos="31:0" rst="0">
  113739. <comment>select pll frequency for rf/modem for channel 0~31
  113740. 1 for 214.5MHz and 0 for 208MHz</comment>
  113741. </bits>
  113742. </reg>
  113743. <reg name="rf_pllfreq_sel_1" protect="rw">
  113744. <bits access="rw" name="pllfreq_sel_63_32" pos="31:0" rst="0">
  113745. <comment>select pll frequency for rf/modem for channel 32~63
  113746. 1 for 214.5MHz and 0 for 208MHz</comment>
  113747. </bits>
  113748. </reg>
  113749. <reg name="rf_pllfreq_sel_2" protect="rw">
  113750. <bits access="rw" name="pllfreq_sel_78_64" pos="14:0" rst="0">
  113751. <comment>select pll frequency for rf/modem for channel 64~78
  113752. 1 for 214.5MHz and 0 for 208MHz</comment>
  113753. </bits>
  113754. </reg>
  113755. <reg name="trx_on_force" protect="rw">
  113756. <bits access="rw" name="tx_cal_en" pos="5" rst="0">
  113757. <comment>tx calibration enable</comment>
  113758. </bits>
  113759. <bits access="rw" name="rx_cal_en" pos="4" rst="0">
  113760. <comment>rx calibration enable</comment>
  113761. </bits>
  113762. <bits access="rw" name="txon_force" pos="3" rst="0">
  113763. <comment>force txon for rf to txon_value when txon_force is 1</comment>
  113764. </bits>
  113765. <bits access="rw" name="txon_value" pos="2" rst="0">
  113766. </bits>
  113767. <bits access="rw" name="rxon_force" pos="1" rst="0">
  113768. <comment>force rxon for rf to rxon_value when rxon_force is 1</comment>
  113769. </bits>
  113770. <bits access="rw" name="rxon_value" pos="0" rst="0">
  113771. </bits>
  113772. </reg>
  113773. <reg name="trx_on_timing" protect="rw">
  113774. <bits access="rw" name="modem_txon_delay" pos="31:24" rst="32">
  113775. <comment>delay time in us to enable modem tx after link layer txon enable</comment>
  113776. </bits>
  113777. <bits access="rw" name="modem_rf_txoff_delay" pos="23:16" rst="5">
  113778. <comment>delay time in us to disable modem&amp;rf tx after link layer txon disable</comment>
  113779. </bits>
  113780. <bits access="rw" name="modem_rxon_delay" pos="15:8" rst="32">
  113781. <comment>delay time in us to enable modem rx after link layer rxon enable</comment>
  113782. </bits>
  113783. <bits access="rw" name="modem_rf_rxoff_delay" pos="7:0" rst="0">
  113784. <comment>delay time in us to disable modem&amp;rf rx after link layer rxon disable</comment>
  113785. </bits>
  113786. </reg>
  113787. <reg name="rccal_ctrl" protect="rw">
  113788. <bits access="rw" name="rccal_length" pos="15:8" rst="32">
  113789. <comment>number of rc clock cycles when doing rc calibration</comment>
  113790. </bits>
  113791. <bits access="rw" name="rccal_auto" pos="1" rst="1">
  113792. <comment>enable automatic rc calibration when BT wakeup</comment>
  113793. </bits>
  113794. <bits access="rs" name="rccal_start" pos="0" rst="0">
  113795. <comment>bit type is changed from w1s to rs.
  113796. rc calibration start by software</comment>
  113797. </bits>
  113798. </reg>
  113799. <reg name="rccal_output" protect="r">
  113800. <bits access="r" name="rccal_done" pos="31" rst="0">
  113801. <comment>indicate rc caliration done</comment>
  113802. </bits>
  113803. <bits access="r" name="rccal_result" pos="17:0" rst="0">
  113804. <comment>number of reference clock cycles when doing rc calibration.
  113805. F(rc) = F(ref) * rccal_length / rccal_result</comment>
  113806. </bits>
  113807. </reg>
  113808. <reg name="coex_ctrl" protect="rw">
  113809. <bits access="rw" name="bt_active_mode" pos="5:4" rst="0">
  113810. <comment>BT active indicater:
  113811. 0: rf_txon
  113812. 1: rf_rxon
  113813. 2: rf_txon | rf_rxon
  113814. 3: modem_txon | modem_rxon</comment>
  113815. </bits>
  113816. <bits access="rw" name="mws_mask_bt_en" pos="2" rst="0">
  113817. <comment>0: BT tx will not be masked
  113818. 1: BT tx will be masked</comment>
  113819. </bits>
  113820. <bits access="rw" name="mws_mask_bt_mode" pos="1:0" rst="0">
  113821. <comment>BT tx will be masked when:
  113822. 0: mws_tx
  113823. 1: mws_rx
  113824. 2: mws_tx | mws_rx
  113825. 3: mws_tx &amp; mws_rx</comment>
  113826. </bits>
  113827. </reg>
  113828. <reg name="osc_en_ctrl" protect="rw">
  113829. <bits access="r" name="osc_en_stat" pos="1" rst="1">
  113830. <comment>status of osc_en. 1 means BT is using clock derived from oscillator</comment>
  113831. </bits>
  113832. <bits access="rw" name="osc_en_mask" pos="0" rst="0">
  113833. <comment>when set to 1, mask bt2pmu_wakeup output to 0 to avoid unnecessary wakeup</comment>
  113834. </bits>
  113835. </reg>
  113836. </module>
  113837. </archive>
  113838. <archive relative="wcn_bt_link.xml">
  113839. <module category="wcn" name="WCN_BT_LINK">
  113840. <reg name="rwbtcnt" protect="rw">
  113841. <bits access="w" name="master_soft_rst" pos="31" rst="0">
  113842. <comment>Reset the complete RW-BT Core except timing generator and register blocks, when written with a 1. Resets at 0 when action is performed. No action happens if it is written with 0. In case of Dual Mode implementation, reset also common blocks.</comment>
  113843. </bits>
  113844. <bits access="w" name="master_tgsoft_rst" pos="30" rst="0">
  113845. <comment>Reset the timing generator, when written with a 1. Resets at 0 when action is performed. No action happens if it is written with 0.</comment>
  113846. </bits>
  113847. <bits access="w" name="reg_soft_rst" pos="29" rst="0">
  113848. <comment>Reset the complete register block, when written with a 1.
  113849. Resets at 0 when action is performed. No action happens if it is written with 0.</comment>
  113850. </bits>
  113851. <bits access="w" name="swint_req" pos="28" rst="0">
  113852. <comment>Forces the generation of bt_sw_irq when written with a 1, and proper masking is set. Resets at 0 when action is performed. No action happens if it is written with 0.</comment>
  113853. </bits>
  113854. <bits access="w" name="scan_abort" pos="27" rst="0">
  113855. <comment>Abort the current Inquiry / Page / Broadcast scan window when written with a 1.
  113856. Resets at 0 when action is performed. No action happens if it is written with 0.</comment>
  113857. </bits>
  113858. <bits access="w" name="rftest_abort" pos="26" rst="0">
  113859. <comment>Abort the current RF Testing when written with a 1.
  113860. Resets at 0 when action is performed. No action happens if it is written with 0.
  113861. Note that when RFTEST_ABORT is requested
  113862. 1/ In case of infinite Tx, the Packet Controller FSM stops at the end of the current byte in process, and processes accordingly the packet CRC.
  113863. 2/ In case of Infinite Rx, the Packet Controller FSM either stops as the end of the current Packet reception (if Access address has been detected), or simply stop the processing switching off the RF.</comment>
  113864. </bits>
  113865. <bits access="w" name="pageinq_abort" pos="25" rst="0">
  113866. <comment>Abort the current Inquiry Mode or Page Mode when written with a 1.
  113867. Resets at 0 when action is performed. No action happens if it is written with 0.</comment>
  113868. </bits>
  113869. <bits access="w" name="sniff_abort" pos="24" rst="0">
  113870. <comment>Abort the current Sniff Mode when written with a 1.
  113871. Resets at 0 when action is performed. No action happens if it is written with 0.</comment>
  113872. </bits>
  113873. <bits access="rw" name="flowdsb" pos="23" rst="0">
  113874. <comment>0: FLOW verification on Rx packets is activated.
  113875. 1: Packets are accepted regardless of FLOW value (test mode).</comment>
  113876. </bits>
  113877. <bits access="rw" name="lmpflowdsb" pos="21" rst="0">
  113878. <comment>0: When FLOW = 0, LMP messages can be sent.
  113879. 1: When FLOW = 0, LMP messages are not sent.</comment>
  113880. </bits>
  113881. <bits access="rw" name="cryptdsb" pos="20" rst="0">
  113882. <comment>0: Normal operation. Encryption enabled when required.
  113883. 1: Encryption disabled.
  113884. Note this works for both E0 and AES-CCM encryption mechanism</comment>
  113885. </bits>
  113886. <bits access="rw" name="whitdsb" pos="19" rst="0">
  113887. <comment>0: Normal operation. Whitening enabled.
  113888. 1: Whitening disabled.</comment>
  113889. </bits>
  113890. <bits access="rw" name="arqndsb" pos="18" rst="0">
  113891. <comment>0: ARQN verification on Rx packets is activated.
  113892. 1: Packets are accepted regardless of ARQN value (test mode).</comment>
  113893. </bits>
  113894. <bits access="rw" name="crcdsb" pos="17" rst="0">
  113895. <comment>0: Normal operation. CRC removed from incoming data stream.
  113896. 1: CRC stripping disabled on Rx packets.</comment>
  113897. </bits>
  113898. <bits access="rw" name="hopdsb" pos="16" rst="0">
  113899. <comment>0: Normal operation. Hopping enabled.
  113900. 1: Hopping disabled, the frequency is set either by CS-FREQ or by RFTESTFREQ register fields.</comment>
  113901. </bits>
  113902. <bits access="rw" name="seqndsb" pos="15" rst="0">
  113903. <comment>0: SEQN verification on Rx packets is activated.
  113904. 1: Packets are accepted regardless of SEQN value (test mode).</comment>
  113905. </bits>
  113906. <bits access="rw" name="cx_txbsyena" pos="14" rst="1">
  113907. <comment>This field updates the CS-TXBSY_EN field in the control structure when ends a MASTER_PAGE_RESPONSE or a SLAVE_PAGE_RESPONSE frame.</comment>
  113908. </bits>
  113909. <bits access="rw" name="cx_rxbsyena" pos="13" rst="1">
  113910. <comment>This field updates the CS-RXBSY_EN field in the control structure when ends a MASTER_PAGE_RESPONSE or a SLAVE_PAGE_RESPONSE frame.</comment>
  113911. </bits>
  113912. <bits access="rw" name="cx_dnabort" pos="12" rst="1">
  113913. <comment>This field updates the CS-DNABORT field in the control structure when ends a MASTER_PAGE_RESPONSE or a SLAVE_PAGE_RESPONSE frame.</comment>
  113914. </bits>
  113915. <bits access="rw" name="rwbten" pos="8" rst="0">
  113916. <comment>0: Disable RW-BT Core.
  113917. 1: Enable RW-BT Core.</comment>
  113918. </bits>
  113919. <bits access="rw" name="syncerr" pos="3:0" rst="0">
  113920. <comment>Indicate the maximum number of errors allowed to recognize the Access Code.</comment>
  113921. </bits>
  113922. </reg>
  113923. <reg name="version" protect="r">
  113924. <bits access="r" name="typ" pos="31:24" rst="8">
  113925. <comment>RW-BT Core Type C 0x8 means BT v4.2 (i.e. correspond LM version assigned number). Correspond to FS v8.0.11</comment>
  113926. </bits>
  113927. <bits access="r" name="rel" pos="23:16" rst="0">
  113928. <comment>Version of the RW-BT Core C Major release number. Correspond to FS v8.0.11.</comment>
  113929. </bits>
  113930. <bits access="r" name="upg" pos="15:8" rst="11">
  113931. <comment>Version of the RW-BT Core C Upgrade number. Correspond to FS v8.0.11</comment>
  113932. </bits>
  113933. <bits access="r" name="build_num" pos="7:0" rst="0">
  113934. <comment>RW-BT Core Build number</comment>
  113935. </bits>
  113936. </reg>
  113937. <reg name="rwbtconf" protect="r">
  113938. <bits access="r" name="dmmode" pos="31" rst="1">
  113939. <comment>0: RW-BT Core is used as a standalone BR/EDR device
  113940. 1: RW-BT Core is used in a Dual Mode device</comment>
  113941. </bits>
  113942. <bits access="r" name="mwswci2" pos="27" rst="0">
  113943. <comment>0: MWS Coexistence 2-Wire Interface not supported
  113944. 1: MWS Coexistence 2-Wire Interface supported</comment>
  113945. </bits>
  113946. <bits access="r" name="mwswci1" pos="26" rst="0">
  113947. <comment>0: MWS Coexistence 1-Wire Interface not supported
  113948. 1: MWS Coexistence 1-Wire Interface supported</comment>
  113949. </bits>
  113950. <bits access="r" name="vxportnb" pos="25:24" rst="3">
  113951. <comment>Number of supported Audio Channel (0 to 3)
  113952. 00: No Audio Channel / No PCM.
  113953. 01: One Audio Channel
  113954. 10: Two Audio Channels
  113955. 11: Three Audio Channels.</comment>
  113956. </bits>
  113957. <bits access="r" name="pcm" pos="23" rst="1">
  113958. <comment>0: PCM Not Instantiated
  113959. 1: PCM Instantiated</comment>
  113960. </bits>
  113961. <bits access="r" name="mwscoex" pos="22" rst="0">
  113962. <comment>0: MWS Coexistence mechanism not present
  113963. 1: MWS Coexistence mechanism present</comment>
  113964. </bits>
  113965. <bits access="r" name="wlancoex" pos="21" rst="0">
  113966. <comment>0: WLAN Coexistence mechanism not present
  113967. 1: WLAN Coexistence mechanism present</comment>
  113968. </bits>
  113969. <bits access="r" name="rfif" pos="20:16" rst="1">
  113970. <comment>RFIF[k]= 0: Control logic supporting radio k not present
  113971. RFIF[k]= 1: Control logic supporting radio k present
  113972. Index k values are:
  113973. 00001: RW-BT Ripple RF.
  113974. 00010: External Radio Controller Support
  113975. xxxx00: Reserved</comment>
  113976. </bits>
  113977. <bits access="r" name="usedbg" pos="15" rst="1">
  113978. <comment>0: Diagnostics port not present
  113979. 1: Diagnostics port present</comment>
  113980. </bits>
  113981. <bits access="r" name="usecrypt" pos="14" rst="1">
  113982. <comment>0: AES-CCM Encryption block not present
  113983. 1: AES-CCM Encryption block present</comment>
  113984. </bits>
  113985. <bits access="r" name="clk_sel" pos="13:8" rst="13">
  113986. <comment>Operating Frequency (in MHz)
  113987. Default is 13 MHz</comment>
  113988. </bits>
  113989. <bits access="r" name="intmode" pos="7" rst="1">
  113990. <comment>0: Interrupts are edge level generated, i.e. pulse.
  113991. 1: Interrupts are trigger level generated, i.e. stays active at 1 till acknowledgement</comment>
  113992. </bits>
  113993. <bits access="r" name="bus_type" pos="6" rst="0">
  113994. <comment>Processor Bus Type
  113995. 0: AHB Bus
  113996. 1: X-Bar Bus</comment>
  113997. </bits>
  113998. <bits access="r" name="data_width" pos="5" rst="1">
  113999. <comment>Processor Data bus width:
  114000. 0 16 bits
  114001. 1: 32 bits</comment>
  114002. </bits>
  114003. <bits access="r" name="addr_width" pos="4:0" rst="16">
  114004. <comment>Value of the RW_BT_ADDRESS_WIDTH parameter converted into binary.</comment>
  114005. </bits>
  114006. </reg>
  114007. <reg name="intcntl" protect="rw">
  114008. <bits access="rw" name="sketintmsk" pos="17" rst="0">
  114009. <comment>Skipped Exchange Table entry Interrupt mask
  114010. 0: Interrupt not generated
  114011. 1: Interrupt generated</comment>
  114012. </bits>
  114013. <bits access="rw" name="swintmsk" pos="16" rst="0">
  114014. <comment>SW triggered Interrupt mask
  114015. 0: Interrupt not generated
  114016. 1: Interrupt generated</comment>
  114017. </bits>
  114018. <bits access="rw" name="frameapfaintmsk" pos="15" rst="0">
  114019. <comment>End of Frame Interrupt / Anticipated Pre-Fetch Abort mask
  114020. 0: Interrupt not generated
  114021. 1: Interrupt generated</comment>
  114022. </bits>
  114023. <bits access="rw" name="frameintmsk" pos="14" rst="0">
  114024. <comment>End of Frame Interrupt mask
  114025. 0: Interrupt not generated
  114026. 1: Interrupt generated</comment>
  114027. </bits>
  114028. <bits access="rw" name="mwswcirxintmsk" pos="13" rst="0">
  114029. <comment>MWS Serial Interface Rx Interrupt mask
  114030. 0: Interrupt not generated
  114031. 1: Interrupt generated</comment>
  114032. </bits>
  114033. <bits access="rw" name="mwswcitxintmsk" pos="12" rst="0">
  114034. <comment>MWS Serial Interface Tx Interrupt mask
  114035. 0: Interrupt not generated
  114036. 1: Interrupt generated</comment>
  114037. </bits>
  114038. <bits access="rw" name="errorintmsk" pos="11" rst="0">
  114039. <comment>Error Interrupt mask
  114040. 0: Interrupt not generated
  114041. 1: Interrupt generated</comment>
  114042. </bits>
  114043. <bits access="rw" name="grosstgtintmsk" pos="10" rst="0">
  114044. <comment>Gross Target Timer Interrupt mask
  114045. 0: Interrupt not generated
  114046. 1: Interrupt generated</comment>
  114047. </bits>
  114048. <bits access="rw" name="finetgtintmsk" pos="9" rst="0">
  114049. <comment>Fine Target Timer Interrupt mask
  114050. 0: Interrupt not generated
  114051. 1: Interrupt generated</comment>
  114052. </bits>
  114053. <bits access="rw" name="mtoffint1msk" pos="8" rst="0">
  114054. <comment>Momentary Offset 1 event Interrupt mask
  114055. 0: Interrupt not generated
  114056. 1: Interrupt generated</comment>
  114057. </bits>
  114058. <bits access="rw" name="mtoffint0msk" pos="7" rst="0">
  114059. <comment>Momentary Offset 0 event Interrupt mask
  114060. 0: Interrupt not generated
  114061. 1: Interrupt generated</comment>
  114062. </bits>
  114063. <bits access="rw" name="frsyncintmsk" pos="6" rst="0">
  114064. <comment>Frame Synchronization Interrupt mask
  114065. 0: Interrupt not generated
  114066. 1: Interrupt generated</comment>
  114067. </bits>
  114068. <bits access="rw" name="audioint2msk" pos="5" rst="0">
  114069. <comment>Audio Channel 2 Interrupt mask
  114070. 0: Interrupt not generated
  114071. 1: Interrupt generated</comment>
  114072. </bits>
  114073. <bits access="rw" name="audioint1msk" pos="4" rst="0">
  114074. <comment>Audio Channel 1 Interrupt mask
  114075. 0: Interrupt not generated
  114076. 1: Interrupt generated</comment>
  114077. </bits>
  114078. <bits access="rw" name="audioint0msk" pos="3" rst="0">
  114079. <comment>Audio Channel 0 Interrupt mask
  114080. 0: Interrupt not generated
  114081. 1: Interrupt generated</comment>
  114082. </bits>
  114083. <bits access="rw" name="slpintmsk" pos="2" rst="1">
  114084. <comment>End of Sleep Interrupt Mask
  114085. 0: Interrupt not generated
  114086. 1: Interrupt generated</comment>
  114087. </bits>
  114088. <bits access="rw" name="rxintmsk" pos="1" rst="1">
  114089. <comment>Packet Receipt Interrupt mask
  114090. 0: Interrupt not generated
  114091. 1: Interrupt generated</comment>
  114092. </bits>
  114093. <bits access="rw" name="clknintmsk" pos="0" rst="1">
  114094. <comment>CLKN / Slot interrupt mask
  114095. 0: Interrupt not generated
  114096. 1: Interrupt generated</comment>
  114097. </bits>
  114098. </reg>
  114099. <reg name="intstat" protect="r">
  114100. <bits access="r" name="sketintstat" pos="17" rst="0">
  114101. <comment>Skipped Exchange Table entry Interrupt status
  114102. 0: No Skipped Exchange Table entry Interrupt
  114103. 1: Skipped Exchange Table entry Interrupt is pending</comment>
  114104. </bits>
  114105. <bits access="r" name="swintstat" pos="16" rst="0">
  114106. <comment>SW Triggered Interrupt status
  114107. 0: No SW triggered Interrupt
  114108. 1: SW Triggered Interrupt is pending</comment>
  114109. </bits>
  114110. <bits access="r" name="frameapfaintstat" pos="15" rst="0">
  114111. <comment>End of Frame / Anticipated Pre-Fetch Abort Interrupt status
  114112. 0: No End of Frame Interrupt
  114113. 1: End of Frame Interrupt is pending</comment>
  114114. </bits>
  114115. <bits access="r" name="frameintstat" pos="14" rst="0">
  114116. <comment>End of Frame Interrupt status
  114117. 0: No End of Frame Interrupt
  114118. 1: End of Frame Interrupt is pending</comment>
  114119. </bits>
  114120. <bits access="r" name="mwswcirxintstat" pos="13" rst="0">
  114121. <comment>MWS Serial Interface Rx Interrupt status
  114122. 0: No MWS WCI Interrupt
  114123. 1: MWS WCI Interrupt is pending</comment>
  114124. </bits>
  114125. <bits access="r" name="mwswcitxintstat" pos="12" rst="0">
  114126. <comment>MWS Serial Interface Tx Interrupt status
  114127. 0: No MWS WCI Interrupt
  114128. 1: MWS WCI Interrupt is pending</comment>
  114129. </bits>
  114130. <bits access="r" name="errorintstat" pos="11" rst="0">
  114131. <comment>Error Interrupt status.
  114132. 0: No Error interrupt.
  114133. 1: Error interrupt is pending.</comment>
  114134. </bits>
  114135. <bits access="r" name="grosstgtintstat" pos="10" rst="0">
  114136. <comment>Gross Timer Interrupt status.
  114137. 0: No Gross Timer interrupt.
  114138. 1: Gross Timer interrupt is pending.</comment>
  114139. </bits>
  114140. <bits access="r" name="finetgtintstat" pos="9" rst="0">
  114141. <comment>Fine Timer Interrupt status.
  114142. 0: No Fine Timer interrupt.
  114143. 1: Fine Timer interrupt is pending.</comment>
  114144. </bits>
  114145. <bits access="r" name="mtoffint1stat" pos="8" rst="0">
  114146. <comment>Momentary Offset 1 Interrupt status.
  114147. 0: No Momentary Offset interrupt.
  114148. 1: Momentary offset interrupt is pending and the newly calculated momentary offset is lower than the correction step</comment>
  114149. </bits>
  114150. <bits access="r" name="mtoffint0stat" pos="7" rst="0">
  114151. <comment>Momentary Offset 0 Interrupt status.
  114152. 0: No Momentary Offset interrupt.
  114153. 1: Momentary offset interrupt is pending and the newly calculated momentary offset is greater than the correction step</comment>
  114154. </bits>
  114155. <bits access="r" name="frsyncintstat" pos="6" rst="0">
  114156. <comment>MWS Frame Synchronization Interrupt status.
  114157. 0: No frame_sync interrupt.
  114158. 1: A frame_sync interrupt is pending.</comment>
  114159. </bits>
  114160. <bits access="r" name="audioint2stat" pos="5" rst="0">
  114161. <comment>Audio Channel 2 Interrupt status.
  114162. 0: No eSCO SW Transport interrupt.
  114163. 1: An eSCO SW Transport interrupt is pending.</comment>
  114164. </bits>
  114165. <bits access="r" name="audioint1stat" pos="4" rst="0">
  114166. <comment>Audio Channel 1 Interrupt status.
  114167. 0: No eSCO SW Transport interrupt.
  114168. 1: An eSCO SW Transport interrupt is pending.</comment>
  114169. </bits>
  114170. <bits access="r" name="audioint0stat" pos="3" rst="0">
  114171. <comment>Audio Channel 0 Interrupt status.
  114172. 0: No eSCO SW Transport interrupt.
  114173. 1: An eSCO SW Transport interrupt is pending.</comment>
  114174. </bits>
  114175. <bits access="r" name="slpintstat" pos="2" rst="0">
  114176. <comment>end of Sleep Interrupt Status.
  114177. 0: No End of Sleep Mode interrupt.
  114178. 1: An End of Sleep Mode interrupt is pending.</comment>
  114179. </bits>
  114180. <bits access="r" name="rxintstat" pos="1" rst="0">
  114181. <comment>Packet Reception Interrupt status.
  114182. 0: No Rx interrupt.
  114183. 1: An Rx interrupt is pending.</comment>
  114184. </bits>
  114185. <bits access="r" name="clknintstat" pos="0" rst="0">
  114186. <comment>Slot Interrupt status.
  114187. 0: No CLKN interrupt.
  114188. 1: A CLKN interrupt is pending.</comment>
  114189. </bits>
  114190. </reg>
  114191. <reg name="intrawstat" protect="r">
  114192. <bits access="r" name="sketintrawstat" pos="17" rst="0">
  114193. <comment>Skipped Exchange Table entry Interrupt raw status
  114194. 0: No Skipped Exchange Table entry Interrupt
  114195. 1: Skipped Exchange Table entry Interrupt is pending</comment>
  114196. </bits>
  114197. <bits access="r" name="swintrawstat" pos="16" rst="0">
  114198. <comment>SW Triggered Interrupt raw status
  114199. 0: No SW Triggered Interrupt
  114200. 1: SW Triggered Interrupt is pending</comment>
  114201. </bits>
  114202. <bits access="r" name="frameapfaintrawstat" pos="15" rst="0">
  114203. <comment>End of Frame / Anticipated Pre-Fetch Abort Interrupt raw status
  114204. 0: No End of Frame Interrupt
  114205. 1: End of Frame Interrupt is pending</comment>
  114206. </bits>
  114207. <bits access="r" name="frameintrawstat" pos="14" rst="0">
  114208. <comment>End of Frame Interrupt raw status
  114209. 0: No End of Frame Interrupt
  114210. 1: End of Frame Interrupt is pending</comment>
  114211. </bits>
  114212. <bits access="r" name="mwswcirxintrawstat" pos="13" rst="0">
  114213. <comment>MWS Serial Interface Rx Interrupt raw status
  114214. 0: No MWS WCI Interrupt
  114215. 1: MWS WCI Interrupt is pending</comment>
  114216. </bits>
  114217. <bits access="r" name="mwswcitxintrawstat" pos="12" rst="0">
  114218. <comment>MWS Serial Interface Tx Interrupt raw status
  114219. 0: No MWS WCI Interrupt
  114220. 1: MWS WCI Interrupt is pending</comment>
  114221. </bits>
  114222. <bits access="r" name="errorintrawstat" pos="11" rst="0">
  114223. <comment>Error Interrupt raw status.
  114224. 0: No Error interrupt.
  114225. 1: Error interrupt is pending.</comment>
  114226. </bits>
  114227. <bits access="r" name="grosstgtintrawstat" pos="10" rst="0">
  114228. <comment>Gross Timer Interrupt raw status.
  114229. 0: No Gross Timer interrupt.
  114230. 1: Gross Timer interrupt is pending.</comment>
  114231. </bits>
  114232. <bits access="r" name="finetgtintrawstat" pos="9" rst="0">
  114233. <comment>Fine Timer Interrupt raw status.
  114234. 0: No Fine Timer interrupt.
  114235. 1: Fine Timer interrupt is pending.</comment>
  114236. </bits>
  114237. <bits access="r" name="mtoffint1rawstat" pos="8" rst="0">
  114238. <comment>Momentary Offset 1 Interrupt raw status.
  114239. 0: No Momentary Offset interrupt.
  114240. 1: Momentary offset interrupt is pending and the newly calculated momentary offset is lower than the correction step</comment>
  114241. </bits>
  114242. <bits access="r" name="mtoffint0rawstat" pos="7" rst="0">
  114243. <comment>Momentary Offset 0 Interrupt raw status.
  114244. 0: No Momentary Offset interrupt.
  114245. 1: Momentary offset interrupt is pending and the newly calculated momentary offset is greater than the correction step</comment>
  114246. </bits>
  114247. <bits access="r" name="frsyncintrawstat" pos="6" rst="0">
  114248. <comment>MWS Frame Synchronization Interrupt raw status.
  114249. 0: No frame_sync interrupt.
  114250. 1: A frame_sync interrupt is pending.</comment>
  114251. </bits>
  114252. <bits access="r" name="audioint2rawstat" pos="5" rst="0">
  114253. <comment>Audio Channel 2 Interrupt raw status.
  114254. 0: No eSCO SW Transport interrupt.
  114255. 1: An eSCO SW Transport interrupt is pending.</comment>
  114256. </bits>
  114257. <bits access="r" name="audioint1rawstat" pos="4" rst="0">
  114258. <comment>Audio Channel 1 Interrupt raw status.
  114259. 0: No eSCO SW Transport interrupt.
  114260. 1: An eSCO SW Transport interrupt is pending.</comment>
  114261. </bits>
  114262. <bits access="r" name="audioint0rawstat" pos="3" rst="0">
  114263. <comment>Audio Channel 0 Interrupt raw status.
  114264. 0: No eSCO SW Transport interrupt.
  114265. 1: An eSCO SW Transport interrupt is pending.</comment>
  114266. </bits>
  114267. <bits access="r" name="slpintrawstat" pos="2" rst="0">
  114268. <comment>End of Sleep Interrupt raw Status.
  114269. 0: No End of Sleep Mode interrupt.
  114270. 1: An End of Sleep Mode interrupt is pending.</comment>
  114271. </bits>
  114272. <bits access="r" name="rxintrawstat" pos="1" rst="0">
  114273. <comment>Packet Reception Interrupt raw status.
  114274. 0: No Rx interrupt.
  114275. 1: An Rx interrupt is pending.</comment>
  114276. </bits>
  114277. <bits access="r" name="clknintrawstat" pos="0" rst="0">
  114278. <comment>Slot Interrupt raw status.
  114279. 0: No CLKN interrupt.
  114280. 1: A CLKN interrupt is pending.</comment>
  114281. </bits>
  114282. </reg>
  114283. <reg name="intack" protect="rw">
  114284. <bits access="s" name="sketintack" pos="17" rst="0">
  114285. <comment>bit type is changed from wos to s.
  114286. Skipped Exchange Table entry Interrupt acknowledgment.
  114287. Software writing 1 acknowledges the Skipped Exchange Table entry interrupt. This bit resets SKETINTSTAT and SKETINTRAWSTAT flags.
  114288. Resets at 0 when action is performed</comment>
  114289. </bits>
  114290. <bits access="s" name="swintack" pos="16" rst="0">
  114291. <comment>bit type is changed from wos to s.
  114292. SW triggered Interrupt acknowledgment.
  114293. Software writing 1 acknowledges the SW triggered interrupt. This bit resets SWINTSTAT and SWINTRAWSTAT flags.
  114294. Resets at 0 when action is performed</comment>
  114295. </bits>
  114296. <bits access="s" name="frameapfaintack" pos="15" rst="0">
  114297. <comment>bit type is changed from wos to s.
  114298. End of Frame / Anticipated Pre-Fetch Abort Interrupt acknowledgment.
  114299. Software writing 1 acknowledges the End of Frame interrupt. This bit resets FRAMEAPFAINTSTAT and FRAMEAPFAINTRWSTAT flags.
  114300. Resets at 0 when action is performed</comment>
  114301. </bits>
  114302. <bits access="s" name="frameintack" pos="14" rst="0">
  114303. <comment>bit type is changed from wos to s.
  114304. End of Frame Interrupt acknowledgment.
  114305. Software writing 1 acknowledges the End of Frame interrupt. This bit resets FRAMEINTSTAT and FRAMEINTRWSTAT flags.
  114306. Resets at 0 when action is performed</comment>
  114307. </bits>
  114308. <bits access="s" name="mwswcirxintack" pos="13" rst="0">
  114309. <comment>bit type is changed from wos to s.
  114310. MWS Serial Interface Rx Interrupt acknowledgment.
  114311. Software writing 1 acknowledges the MWS Serial Interface interrupt. This bit resets MWSWCIINTSTAT and MWSWCIINTRAWSTAT flags.
  114312. Resets at 0 when action is performed</comment>
  114313. </bits>
  114314. <bits access="s" name="mwswcitxintack" pos="12" rst="0">
  114315. <comment>bit type is changed from wos to s.
  114316. MWS Serial Interface Tx Interrupt acknowledgment.
  114317. Software writing 1 acknowledges the MWS Serial Interface interrupt. This bit resets MWSWCIINTSTAT and MWSWCIINTRAWSTAT flags.
  114318. Resets at 0 when action is performed</comment>
  114319. </bits>
  114320. <bits access="s" name="errorintack" pos="11" rst="0">
  114321. <comment>bit type is changed from wos to s.
  114322. Error Interrupt acknowledgment.
  114323. Software writing 1 acknowledges the Error interrupt. This bit resets ERRORINTSTAT and ERRORINTRAWSTAT flags.
  114324. Resets at 0 when action is performed</comment>
  114325. </bits>
  114326. <bits access="s" name="grosstgtintack" pos="10" rst="0">
  114327. <comment>bit type is changed from wos to s.
  114328. Gross Timer Interrupt acknowledgment.
  114329. Software writing 1 acknowledges the Gross Timer interrupt. This bit resets GROSSTGTINTSTAT and GROSSTGTINTRAWSTAT flags.
  114330. Resets at 0 when action is performed</comment>
  114331. </bits>
  114332. <bits access="s" name="finetgtintack" pos="9" rst="0">
  114333. <comment>bit type is changed from wos to s.
  114334. Fine Timer Interrupt acknowledgment.
  114335. Software writing 1 acknowledges the Fine Timer interrupt. This bit resets FINETGTINTSTAT and FINETGTINTRAWSTAT flags.
  114336. Resets at 0 when action is performed</comment>
  114337. </bits>
  114338. <bits access="s" name="mtoffint1ack" pos="8" rst="0">
  114339. <comment>bit type is changed from wos to s.
  114340. Momentary Offset 1 Interrupt acknowledgment.
  114341. Software writing 1 acknowledges the Momentary offset event interrupt. This bit resets MTOFFINT1STAT and MTOFFINT1RAWSTAT flags.
  114342. Resets at 0 when action is performed</comment>
  114343. </bits>
  114344. <bits access="s" name="mtoffint0ack" pos="7" rst="0">
  114345. <comment>bit type is changed from wos to s.
  114346. Momentary Offset 0 Interrupt acknowledgment.
  114347. Software writing 1 acknowledges the Momentary offset event interrupt. This bit resets MTOFFINT0STAT and MTOFFINT0RAWSTAT flags.
  114348. Resets at 0 when action is performed</comment>
  114349. </bits>
  114350. <bits access="s" name="frsyncintack" pos="6" rst="0">
  114351. <comment>bit type is changed from wos to s.
  114352. MWS Frame Synchronization Interrupt acknowledgement.
  114353. Software writing 1 acknowledges the frame_sync event interrupt. This bit resets FRSYNCINTSTAT and FRSYNCINTRAWSTAT flag.
  114354. Resets at 0 when action is performed</comment>
  114355. </bits>
  114356. <bits access="s" name="audioint2ack" pos="5" rst="0">
  114357. <comment>bit type is changed from wos to s.
  114358. Audio Channel 2 Interrupt acknowledgement.
  114359. Software writing 1 acknowledges the Audio Channel 2 interrupt. This bit resets AUDIOINT2STAT and AUDIOINT2RAWSTAT flags.
  114360. Resets at 0 when action is performed</comment>
  114361. </bits>
  114362. <bits access="s" name="audioint1ack" pos="4" rst="0">
  114363. <comment>bit type is changed from wos to s.
  114364. Audio Channel 1 Interrupt acknowledgement.
  114365. Software writing 1 acknowledges the Audio Channel 1 interrupt. This bit resets AUDIOINT1STAT and AUDIOINT1RAWSTAT flags.
  114366. Resets at 0 when action is performed</comment>
  114367. </bits>
  114368. <bits access="s" name="audioint0ack" pos="3" rst="0">
  114369. <comment>bit type is changed from wos to s.
  114370. Audio Channel 0 Interrupt acknowledgement.
  114371. Software writing 1 acknowledges the Audio Channel 0 interrupt. This bit resets AUDIOINT0STAT and AUDIOINT0RAWSTAT flags.
  114372. Resets at 0 when action is performed</comment>
  114373. </bits>
  114374. <bits access="s" name="slpintack" pos="2" rst="0">
  114375. <comment>bit type is changed from wos to s.
  114376. End of Sleep Interrupt acknowledgement.
  114377. Software writing 1 acknowledges the End of Sleep Mode interrupt. This bit resets SLPINTSTAT and SLPINTRAWSTAT flags.
  114378. Resets at 0 when action is performed</comment>
  114379. </bits>
  114380. <bits access="s" name="rxintack" pos="1" rst="0">
  114381. <comment>bit type is changed from wos to s.
  114382. Packet Reception Interrupt acknowledgement.
  114383. Software writing 1 acknowledges the Rx interrupt. This bit resets RXINTSTAT and RXINTRAWSTAT flags.
  114384. Resets at 0 when action is performed</comment>
  114385. </bits>
  114386. <bits access="s" name="clknintack" pos="0" rst="0">
  114387. <comment>bit type is changed from wos to s.
  114388. Slot Interrupt acknowledgement.
  114389. Software writing 1 acknowledges the CLKN interrupt. This bit resets CLKINTSTAT and CLKINTRAWSTAT flags.
  114390. Resets at 0 when action is performed</comment>
  114391. </bits>
  114392. </reg>
  114393. <reg name="slotclk" protect="rw">
  114394. <bits access="w" name="samp" pos="31" rst="0">
  114395. <comment>Writing a 1 samples the CLKN[27:0] value in SLOTCLK-SCLK register field.
  114396. Resets at 0 when action is performed. No action happens if it is written with 0</comment>
  114397. </bits>
  114398. <bits access="w" name="clkn_upd" pos="30" rst="0">
  114399. <comment>Update the Native Bluetooth counter CLKN[27:1] (CLKN[0] is not considered), when written with a 1.
  114400. Resets at 0 when action is performed. No action happens if it is written with 0.</comment>
  114401. </bits>
  114402. <bits access="rw" name="sclk" pos="27:0" rst="0">
  114403. <comment>Native Bluetooth counter CLKN sampled at the time the processor has written the SAMP bit (precsision of 312.5s). This value does not change until the next writing of SAMP bit, and can therefore be safely accessed with 8-, 16- or 32-bits accesses.</comment>
  114404. </bits>
  114405. </reg>
  114406. <reg name="finetimecnt" protect="r">
  114407. <bits access="r" name="finecnt" pos="9:0" rst="0">
  114408. <comment>Value of the current s fine time reference counter sampled at the time the processor has written the SAMP bit. Used by the SW in order to synchronize with the HW, and obtain a more precise sleep duration</comment>
  114409. </bits>
  114410. </reg>
  114411. <reg name="abtraincnt" protect="rw">
  114412. <bits access="rw" name="abtpageen" pos="31" rst="0">
  114413. <comment>Enable automatic A-train/B-train switch during Page procedure.
  114414. 0: Page procedure A-train/B-train counter disabled
  114415. 1: Page procedure A-train/B-train counter enabled</comment>
  114416. </bits>
  114417. <bits access="rw" name="abtpagestartvalue" pos="30" rst="0">
  114418. <comment>Starting train value of Page procedure
  114419. 0:Start with A-train
  114420. 1:Start with B-train</comment>
  114421. </bits>
  114422. <bits access="w" name="abtpageload" pos="28" rst="0">
  114423. <comment>Load A-train/B-train Page procedure conter, when written with a 1.
  114424. Resets at 0 when action is performed. No action happens if it is written with 0.</comment>
  114425. </bits>
  114426. <bits access="rw" name="abtpagetime" pos="26:16" rst="256">
  114427. <comment>Defines A-train/B-train duration time during Page procedure, counted by 16-slots.
  114428. Loaded when ABTPAGELOAD is set. Start when Page procedure starts and ABTPAGEEN is set. Stops when ABTPAGEEN is reset. Switch of train when wrapping.</comment>
  114429. </bits>
  114430. <bits access="rw" name="abtinqen" pos="15" rst="0">
  114431. <comment>Enable automatic A-train/B-train switch during Inquiry procedure.
  114432. 0: Inquiry procedure A-train/B-train counter disabled
  114433. 1: Inquiry procedure A-train/B-train counter enabled</comment>
  114434. </bits>
  114435. <bits access="rw" name="abtinqstartvalue" pos="14" rst="0">
  114436. <comment>Starting train value of Inquiry procedure
  114437. 0:Start with A-train
  114438. 1:Start with B-train</comment>
  114439. </bits>
  114440. <bits access="w" name="abtinqload" pos="12" rst="0">
  114441. <comment>Load A-train/B-train Inquiry procedure conter, when written with a 1.
  114442. Resets at 0 when action is performed. No action happens if it is written with 0.</comment>
  114443. </bits>
  114444. <bits access="rw" name="abtinqtime" pos="10:0" rst="256">
  114445. <comment>Defines A-train/B-train duration time during Inquiry procedure, counted by 16-slots.
  114446. Loaded when ABTINQLOAD is set. Start when Inquiry procedure starts and ABTINQEN is set. Stops when ABTINQEN is reset. Switch of train when wrapping.</comment>
  114447. </bits>
  114448. </reg>
  114449. <reg name="edrcntl_nwinsize" protect="rw">
  114450. <bits access="rw" name="nwinsize" pos="31:24" rst="26">
  114451. <comment>Default value equals d26. Should not exceed 'h88.
  114452. Applies when ET-SNIFF = 1 on first access code detection, in order to process the new bit offset (See section 3.5.5)</comment>
  114453. </bits>
  114454. <bits access="rw" name="edrbcast" pos="16" rst="0">
  114455. <comment>0: Broadcast @ 1Mbps / normal mode
  114456. 1: Broadcast operation in EDR Mode (@ 2/3 Mbps) / special features
  114457. The EDRCNTL-EDRBCAST bit is used in reception (slave side) as following:
  114458. if RXLTADDR= 0 (i.e. broadcast packet is received)
  114459. if EDRCNTL-EDRBCAST=0 , we consider the currently received packet is not an EDR-packet. The 1Mbps modulation is used.
  114460. if EDRCNTL-EDRBCAST=1, then apply EDR modulation or not depending on the control structure bit &quot; ACLEDR&quot; set in MISCNTL field.</comment>
  114461. </bits>
  114462. <bits access="rw" name="rxguarddsb" pos="15" rst="0">
  114463. <comment>0: normal operation, EDR Rx guard window detection activated
  114464. 1: EDR Rx guard window detection disabled.</comment>
  114465. </bits>
  114466. <bits access="rw" name="tx_swap" pos="14" rst="1">
  114467. <comment>0: Direct order EDR Payload data transmit
  114468. 1: Reverse order EDR Payload data transmit</comment>
  114469. </bits>
  114470. <bits access="rw" name="rx_swap" pos="13" rst="1">
  114471. <comment>0: Direct order EDR Payload data receive
  114472. 1: Reverse order EDR Payload data receive</comment>
  114473. </bits>
  114474. <bits access="rw" name="rxgrd_timeout" pos="9:0" rst="1023">
  114475. <comment>Time out value before EDR packet reception that allow ending the Rx transaction if an EDR packet is not correctly detected.
  114476. Default value is set to 212 clock cycles @ 13MHz &lt;-&gt; 16.3us. Timing between Packet Header and EDR packet is defined as 5us+-0.25us + 11 synchronization symbol = 16.25us in the worst case</comment>
  114477. </bits>
  114478. </reg>
  114479. <reg name="et_currentrxdescptr" protect="rw">
  114480. <bits access="rw" name="etptr" pos="31:16" rst="0">
  114481. <comment>Exchange Table pointer value</comment>
  114482. </bits>
  114483. <bits access="rw" name="currentrxdescptr" pos="14:0" rst="0">
  114484. <comment>Rx Descriptor current pointer value</comment>
  114485. </bits>
  114486. </reg>
  114487. <reg name="deepslcntl" protect="rw">
  114488. <bits access="rw" name="extwkupdsb" pos="31" rst="0">
  114489. <comment>External Wake-Up disable
  114490. 0: RW-BT Core can be woken by external wake-up
  114491. 1: RW-BT Core cannot be woken up by external wake-up</comment>
  114492. </bits>
  114493. <bits access="rw" name="ext_high_wakeup_en" pos="30" rst="0">
  114494. <comment>Enable external pin high level wakeup</comment>
  114495. </bits>
  114496. <bits access="rw" name="ext_low_wakeup_en" pos="29" rst="0">
  114497. <comment>Enable external pin low level wakeup</comment>
  114498. </bits>
  114499. <bits access="rw" name="ext_activity_wakeup_en" pos="28" rst="0">
  114500. <comment>Enable external pin activity wakeup</comment>
  114501. </bits>
  114502. <bits access="r" name="deep_sleep_stat" pos="15" rst="0">
  114503. <comment>Indicator of current Deep Sleep clock mux status:
  114504. 0: RW-BT Core is not yet in Deep Sleep Mode
  114505. 1: RW-BT Core is in Deep Sleep Mode (only low_power_clk is running)</comment>
  114506. </bits>
  114507. <bits access="w" name="soft_wakeup_req" pos="4" rst="0">
  114508. <comment>Wake Up Request from RW-BT Software. Applies when system is in Deep Sleep Mode. It wakes up the RW-BT Core when written with a 1. Resets at 0 when action is performed. No action happens if it is written with 0.</comment>
  114509. </bits>
  114510. <bits access="w" name="deep_sleep_corr_en" pos="3" rst="0">
  114511. <comment>CLKN integer and fractional part correction (i.e. CLKN Counter and Fine Counter). Applies when system has been woken-up from Deep Sleep Mode. It enables Fine Counter and Base Time counter when written with a 1. Resets at 0 when action is performed. No action happens if it is written with 0.</comment>
  114512. </bits>
  114513. <bits access="w" name="deep_sleep_on" pos="2" rst="0">
  114514. <comment>RW-BT Core sleep mode request control
  114515. 0: RW-BT Core in normal active mode
  114516. 1: Request RW-BT Core to switch in deep sleep mode.
  114517. This bit is reset on DEEP_SLEEP_STAT falling edge.</comment>
  114518. </bits>
  114519. <bits access="rw" name="radio_sleep_en" pos="1" rst="0">
  114520. <comment>Controls the Radio module
  114521. 0: Radio stands in normal active mode
  114522. 1: Allow to disable Radio</comment>
  114523. </bits>
  114524. <bits access="rw" name="osc_sleep_en" pos="0" rst="1">
  114525. <comment>Controls the RF High frequency crystal oscillator
  114526. 0: High frequency crystal oscillator stands in normal active mode
  114527. 1: Allow to disable High frequency crystal oscillator</comment>
  114528. </bits>
  114529. </reg>
  114530. <reg name="deepslwkup" protect="rw">
  114531. <bits access="rw" name="deepsltime" pos="31:0" rst="0">
  114532. <comment>Determines the time in low_power_clk clock cycles to spend in Deep Sleep Mode before waking-up the device. This ensures a maximum of 37 hours and 16mn sleep mode capabilities at 32kHz. This ensures a maximum of 36 hours and 16mn sleep mode capabilities at 32.768kHz</comment>
  114533. </bits>
  114534. </reg>
  114535. <reg name="deepslstat" protect="r">
  114536. <bits access="r" name="deepsldur" pos="31:0" rst="0">
  114537. <comment>Actual duration of the last deep sleep phase measured in low power oscillator cycles. DEEPSLDUR is set to zero at the beginning of the deep sleep phase, and is incremented at each low power clock tick until the end of the deep sleep phase.</comment>
  114538. </bits>
  114539. </reg>
  114540. <reg name="enbpreset" protect="rw">
  114541. <bits access="rw" name="twext" pos="31:21" rst="160">
  114542. <comment>Time in low power oscillator cycles allowed for stabilization of the high frequency oscillator following an external wake-up request (signal wakeup_req) [064ms for 32kHz)</comment>
  114543. </bits>
  114544. <bits access="rw" name="twosc" pos="20:10" rst="160">
  114545. <comment>Time in low power oscillator cycles allowed for stabilization of the high frequency oscillator when the deep-sleep mode has been left due to sleep-timer expiry (DEEPSLWKUP) [064ms for 32kHz)</comment>
  114546. </bits>
  114547. <bits access="rw" name="twrm" pos="9:0" rst="32">
  114548. <comment>Time in low power oscillator cycles allowed for the radio module to leave low-power mode [032ms for 32kHz)</comment>
  114549. </bits>
  114550. </reg>
  114551. <reg name="finecntcorr" protect="rw">
  114552. <bits access="rw" name="finecntcorr" pos="9:0" rst="0">
  114553. <comment>Phase correction value for the CLKN counter in s.</comment>
  114554. </bits>
  114555. </reg>
  114556. <reg name="clkncntcorr" protect="rw">
  114557. <bits access="rw" name="abs_delta" pos="31" rst="0">
  114558. <comment>Determines whether CLNCNTCORR is an absolute correction or a signed delta increment correction
  114559. 0: Absolute correction
  114560. 1: Signed delta increment correction</comment>
  114561. </bits>
  114562. <bits access="rw" name="clkncntcorr" pos="27:0" rst="0">
  114563. <comment>CLKN Counter correction value / signed delta increment</comment>
  114564. </bits>
  114565. </reg>
  114566. <reg name="tokencntl" protect="rw">
  114567. <bits access="rw" name="token_tx_delay" pos="29:24" rst="5">
  114568. <comment>Token Tx delay time after Slave receive completed</comment>
  114569. </bits>
  114570. <bits access="rw" name="token_rx_delay" pos="21:16" rst="5">
  114571. <comment>Token Rx delay time after Slave receive completed</comment>
  114572. </bits>
  114573. <bits access="rw" name="token_quick_sync" pos="15" rst="1">
  114574. <comment>0: Use normal sync pulse for token ID
  114575. 1: Use quick sync pulse for token ID</comment>
  114576. </bits>
  114577. <bits access="rw" name="token_rxwin" pos="14:8" rst="8">
  114578. <comment>Size of Token Rx Window</comment>
  114579. </bits>
  114580. <bits access="rw" name="arbiter_bypass" pos="3" rst="0">
  114581. <comment>Slave arbiter receive token ID but bypass arbitration</comment>
  114582. </bits>
  114583. <bits access="rw" name="arbiter_en" pos="2" rst="0">
  114584. <comment>Slave arbiter enable</comment>
  114585. </bits>
  114586. <bits access="rw" name="observer_active" pos="1" rst="0">
  114587. <comment>Slave observer will respond to master</comment>
  114588. </bits>
  114589. <bits access="rw" name="observer_en" pos="0" rst="0">
  114590. <comment>Slave observer enable</comment>
  114591. </bits>
  114592. </reg>
  114593. <hole size="32"/>
  114594. <reg name="diagcntl" protect="rw">
  114595. <bits access="rw" name="diag3_en" pos="31" rst="0">
  114596. <comment>0: Disable diagnostic port 3 output. All outputs are set to 0.
  114597. 1: Enable diagnostic port 3 output.</comment>
  114598. </bits>
  114599. <bits access="rw" name="diag3" pos="29:24" rst="0">
  114600. <comment>Only relevant when DIAGEN3 = 1.
  114601. Selection of the outputs that are driven to the diagnostic port 3.</comment>
  114602. </bits>
  114603. <bits access="rw" name="diag2_en" pos="23" rst="0">
  114604. <comment>0: Disable diagnostic port 2 output. All outputs are set to 0.
  114605. 1: Enable diagnostic port 2 output.</comment>
  114606. </bits>
  114607. <bits access="rw" name="diag2" pos="21:16" rst="0">
  114608. <comment>Only relevant when DIAGEN2 = 1.
  114609. Selection of the outputs that are driven to the diagnostic port 2.</comment>
  114610. </bits>
  114611. <bits access="rw" name="diag1_en" pos="15" rst="0">
  114612. <comment>0: Disable diagnostic port 1 output. All outputs are set to 0.
  114613. 1: Enable diagnostic port 1 output.</comment>
  114614. </bits>
  114615. <bits access="rw" name="diag1" pos="13:8" rst="0">
  114616. <comment>Only relevant when DIAGEN1 = 1.
  114617. Selection of the outputs that are driven to the diagnostic port 1.</comment>
  114618. </bits>
  114619. <bits access="rw" name="diag0_en" pos="7" rst="0">
  114620. <comment>0: Disable diagnostic port 0 output. All outputs are set to 0.
  114621. 1: Enable diagnostic port 0 output.</comment>
  114622. </bits>
  114623. <bits access="rw" name="diag0" pos="5:0" rst="0">
  114624. <comment>Only relevant when DIAGEN0 = 1.
  114625. Selection of the outputs that are driven to the diagnostic port 0.</comment>
  114626. </bits>
  114627. </reg>
  114628. <reg name="diagstat" protect="r">
  114629. <bits access="r" name="diag3stat" pos="31:24" rst="0">
  114630. <comment>Directly connected to bt_dbg0[7:0] output. Debug use only</comment>
  114631. </bits>
  114632. <bits access="r" name="diag2stat" pos="23:16" rst="0">
  114633. <comment>Directly connected to bt_dbg1[7:0] output. Debug use only</comment>
  114634. </bits>
  114635. <bits access="r" name="diag1stat" pos="15:8" rst="0">
  114636. <comment>Directly connected to bt_dbg2[7:0] output. Debug use only</comment>
  114637. </bits>
  114638. <bits access="r" name="diag0stat" pos="7:0" rst="0">
  114639. <comment>Directly connected to bt_dbg3[7:0] output. Debug use only</comment>
  114640. </bits>
  114641. </reg>
  114642. <reg name="debugaddmax" protect="rw">
  114643. <bits access="rw" name="reg_addmax" pos="31:16" rst="0">
  114644. <comment>Upper limit for the Register zone indicated by the reg_inzone flag (see section 2.19).</comment>
  114645. </bits>
  114646. <bits access="rw" name="em_addmax" pos="15:0" rst="0">
  114647. <comment>Upper limit for the Exchange Memory zone indicated by the em_inzone flag (see section 2.19).</comment>
  114648. </bits>
  114649. </reg>
  114650. <reg name="debugaddmin" protect="rw">
  114651. <bits access="rw" name="reg_addmin" pos="31:16" rst="0">
  114652. <comment>Lower limit for the Register zone indicated by the reg_inzone flag (see section 2.19)</comment>
  114653. </bits>
  114654. <bits access="rw" name="em_addmin" pos="15:0" rst="0">
  114655. <comment>Lower limit for the Exchange Memory zone indicated by the em_inzone flag (see section 2.19)</comment>
  114656. </bits>
  114657. </reg>
  114658. <reg name="errortypestat" protect="r">
  114659. <bits access="r" name="rxbuf_ptr_error" pos="21" rst="0">
  114660. <comment>Indicates whether the Rx eSCO (during Voice over HCI operations) or Rx LM buffer pointer value programmed is null: this is a major programming failure.
  114661. 0: No error
  114662. 1: Error occurred</comment>
  114663. </bits>
  114664. <bits access="r" name="txbuf_ptr_error" pos="20" rst="0">
  114665. <comment>Indicates whether Tx eSCO (during Voice over HCI operations) or Tx LM buffer pointer value programmed is null, or if an ACL Tx packet is set with a non null length while no buffer is associated: this is a major programming failure.
  114666. 0: No error
  114667. 1: Error occurred</comment>
  114668. </bits>
  114669. <bits access="r" name="rxdesc_empty_error" pos="19" rst="0">
  114670. <comment>Indicates whether Rx Descriptor pointer value programmed in register is null: this is a major programming failure / Valid for non-connected states and Broadcast Scan mode
  114671. 0: No error
  114672. 1: Error occurred</comment>
  114673. </bits>
  114674. <bits access="r" name="txdesc_empty_error" pos="18" rst="0">
  114675. <comment>Indicates whether Tx Descriptor pointer value programmed in Control Structure is null: this is a major programming failure / Valid for non-connected states and Broadcast mode
  114676. 0: No error
  114677. 1: Error occurred</comment>
  114678. </bits>
  114679. <bits access="r" name="csattnb_error" pos="17" rst="0">
  114680. <comment>Indicates whether ATT_NB field in Control Structure is null, or when during eSCO that eSCOLTCNLT&lt;0/1/2&gt;-RETXNB&lt;0/1/2&gt; register field is null: this is a major programming failure
  114681. 0: No error
  114682. 1: Error occurred</comment>
  114683. </bits>
  114684. <bits access="r" name="csformat_error" pos="16" rst="0">
  114685. <comment>Indicates whether CS-FORMAT has been programmed with an invalid value: this is a major software programming failure.
  114686. 0: No error
  114687. 1: Error occurred</comment>
  114688. </bits>
  114689. <bits access="r" name="chmap_error" pos="15" rst="0">
  114690. <comment>Channel Map error, happens when actual number of bits set to one in selected CS-CHMAP is different from corresponding CS-NBCHGOOD at the beginning of Frequency Hopping process.
  114691. Note this is valid only if CS-AFHENA=1
  114692. 0: No error
  114693. 1: Error occurred</comment>
  114694. </bits>
  114695. <bits access="r" name="hopunderrun_error" pos="14" rst="0">
  114696. <comment>Calculation of the hopping frequency not done before Tx/Rx EN is asserted
  114697. 0: No error
  114698. 1: Error occurred</comment>
  114699. </bits>
  114700. <bits access="r" name="frm_cntl_timer_error" pos="13" rst="0">
  114701. <comment>Indicates an Frame Controller internal timing error
  114702. 0: No error
  114703. 1: Error occurred</comment>
  114704. </bits>
  114705. <bits access="r" name="frm_cntl_emacc_error" pos="12" rst="0">
  114706. <comment>Indicate a Frame Controller Exchange Memory Access error.
  114707. 0: No error
  114708. 1: Error occurred</comment>
  114709. </bits>
  114710. <bits access="r" name="frm_cntl_apfm_error" pos="11" rst="0">
  114711. <comment>Indicates Anticipated Pre-Fetch Mechanism error in Frame Controller: happens when 2 consecutive frames are programmed, and when the first frame is not completely finished while second pre-fetch instant is reached.
  114712. 0: No error
  114713. 1: Error occured</comment>
  114714. </bits>
  114715. <bits access="r" name="frm_schdl_apfm_error" pos="10" rst="0">
  114716. <comment>Indicates Anticipated Pre-Fetch Mechanism error in Frame Scheduler: happens when 2 consecutive frames are programmed, and when the first frame is not completely finished while second pre-fetch instant is reached.
  114717. 0: No error
  114718. 1: Error occured</comment>
  114719. </bits>
  114720. <bits access="r" name="frm_schdl_entry_error" pos="9" rst="0">
  114721. <comment>Indicates Frame Scheduler faced Invalid timing programing on two consecutive ET entries (e.g first one with 624s offset and second one with no offset)
  114722. 0: No error
  114723. 1: Error occurred</comment>
  114724. </bits>
  114725. <bits access="r" name="mwswci_emacc_error" pos="8" rst="0">
  114726. <comment>MWS WCI Exchange Memory access error, happens when Exchange Memory access are not served in time and Audio samples are corrupted
  114727. 0: No error
  114728. 1: Error occurred</comment>
  114729. </bits>
  114730. <bits access="r" name="frm_schdl_emacc_error" pos="7" rst="0">
  114731. <comment>Frame Scheduler Exchange Memory access error, happens when Exchange Memory access are not served in time and Audio samples are corrupted
  114732. 0: No error
  114733. 1: Error occurred</comment>
  114734. </bits>
  114735. <bits access="r" name="pcm_emacc_error" pos="6" rst="0">
  114736. <comment>PCM Exchange Memory request access error, happens when Exchange Memory access requests are not served in time and PCM samples are corrupted
  114737. 0: No error
  114738. 1: Error occurred</comment>
  114739. </bits>
  114740. <bits access="r" name="audio_emacc_error" pos="5" rst="0">
  114741. <comment>Audio EM Access Manager Exchange Memory access error, happens when Exchange Memory access are not served in time and Audio samples are corrupted
  114742. 0: No error
  114743. 1: Error occurred</comment>
  114744. </bits>
  114745. <bits access="r" name="radiocntl_emacc_error" pos="4" rst="0">
  114746. <comment>Radio Controller Exchange Memory access error, happens when Exchange Memory access are not served in time and data are corrupted.
  114747. 0: No error
  114748. 1: Error occurred</comment>
  114749. </bits>
  114750. <bits access="r" name="pktcntl_emacc_error" pos="3" rst="0">
  114751. <comment>Packet Controller Exchange Memory access error, happens when Exchange Memory access are not served in time and Tx/Rx data are corrupted
  114752. 0: No error
  114753. 1: Error occurred</comment>
  114754. </bits>
  114755. <bits access="r" name="cryptmode_error" pos="2" rst="0">
  114756. <comment>Indicates when the Encryption mode is enabled with Connectionless Slave Broadcast (Master or Slave)
  114757. 0: No error
  114758. 1: Error occurred</comment>
  114759. </bits>
  114760. <bits access="r" name="rxcrypt_error" pos="1" rst="0">
  114761. <comment>Indicates real time decryption error, happens when AES-CCM decryption is too slow compared to Packet Controller requests. A 16-bytes block has to be decrypted prior the next block is received by the Packet Controller
  114762. 0: No error
  114763. 1: Error occurred</comment>
  114764. </bits>
  114765. <bits access="r" name="txcrypt_error" pos="0" rst="0">
  114766. <comment>Indicates Real Time encryption error, happens when AES-CCM encryption is too slow compared to Packet Controller requests. A 16-bytes block has to be encrypted and prepared on Packet Controller request, and needs to be ready before the Packet Controller has to send ti
  114767. 0: No error
  114768. 1: Error occurred</comment>
  114769. </bits>
  114770. </reg>
  114771. <reg name="swprofiling" protect="rw">
  114772. <bits access="rw" name="swprof" pos="31:0" rst="0">
  114773. <comment>Software Profiling register: used by RW-BT Software for profiling purpose: this value is copied on Diagnostic port</comment>
  114774. </bits>
  114775. </reg>
  114776. <hole size="64"/>
  114777. <reg name="radiocntl0" protect="rw">
  114778. <bits access="rw" name="sync_pulse_mode" pos="23" rst="0">
  114779. <comment>Determines whether SYNC_P output will be dragged as pulse or level maintained till end of the Packet.
  114780. 0: Access Code detection indicator provided as pulse
  114781. 1: Access Code detection indicator provided as level</comment>
  114782. </bits>
  114783. <bits access="rw" name="dpcorr_en" pos="22" rst="0">
  114784. <comment>Enables the use of the delayed DC offset compensated data path in Radio Correlator block.
  114785. 1: Enable
  114786. 0: Disable</comment>
  114787. </bits>
  114788. <bits access="rw" name="forceagc_en" pos="21" rst="0">
  114789. <comment>Control Ripple AGC force mode based on RADIOCNTL2-FORCEAGC_LENGTH value
  114790. 1: Enable
  114791. 0: Disable</comment>
  114792. </bits>
  114793. <bits access="rw" name="spifreq" pos="6:5" rst="0">
  114794. <comment>Frequency of the SPI clock
  114795. 00: SPI clock frequency is baseband master clock frequency divided by 2 (i.e 6.5MHz @ 13MHz)
  114796. 01: SPI clock frequency is baseband master clock frequency divided by 4 (i.e 3.25MHz @ 13MHz)
  114797. 10: SPI clock frequency is baseband master clock frequency divided by 8 (i.e 1.67MHz @ 13MHz)
  114798. 11: Do not use</comment>
  114799. </bits>
  114800. <bits access="r" name="spicomp" pos="1" rst="1">
  114801. <comment>This bit is READ ONLY.
  114802. 0: Indicates that the SPI transfer is in progress.
  114803. 1: Indicates that the SPI transfer is complete. The RW-BT Dual Mode is ready to start another transfer.</comment>
  114804. </bits>
  114805. <bits access="w" name="spigo" pos="0" rst="0">
  114806. <comment>Software writing 1 triggers the SPI access. This bit is always read as 0.</comment>
  114807. </bits>
  114808. </reg>
  114809. <reg name="radiocntl1" protect="rw">
  114810. <bits access="rw" name="xrfsel" pos="20:16" rst="1">
  114811. <comment>Extended radio selection field
  114812. 5'h00000: No radio selected
  114813. 5'h00001: RivieraWaves Ripple RF (BT4.0)
  114814. 5'h00010: External Radio controller support
  114815. 5'h00011-5'b11111: reserved</comment>
  114816. </bits>
  114817. <bits access="rw" name="spiptr" pos="15:0" rst="144">
  114818. <comment>Pointer to the buffer containing data to be transferred to or received from the SPI port.</comment>
  114819. </bits>
  114820. </reg>
  114821. <reg name="radiocntl2" protect="rw">
  114822. <bits access="rw" name="tx_delay" pos="31:24" rst="0">
  114823. <comment>Used to compensate Modem&amp;RF Tx delay. When used, rtrip_delay should be set as Rx delay</comment>
  114824. </bits>
  114825. <bits access="rw" name="sync_position" pos="22:16" rst="16">
  114826. <comment>Defines sync_p instant when provided to the Modem.</comment>
  114827. </bits>
  114828. <bits access="rw" name="forceagc_length" pos="11:0" rst="0">
  114829. <comment>Defines Rx window time threshold that forces Ripple AGC to max gain</comment>
  114830. </bits>
  114831. </reg>
  114832. <reg name="radiocntl3" protect="rw">
  114833. <bits access="rw" name="freqtable_ptr" pos="15:0" rst="64">
  114834. <comment>BR/EDR Frequency Table pointer</comment>
  114835. </bits>
  114836. </reg>
  114837. <reg name="radiopwrupdn" protect="rw">
  114838. <bits access="rw" name="rtrip_delay" pos="30:24" rst="21">
  114839. <comment>Round Trip Delay. This correspond to the cumulated Tx plus Rx latency of the radio (in us)</comment>
  114840. </bits>
  114841. <bits access="rw" name="rxpwrupct" pos="23:16" rst="60">
  114842. <comment>This register holds the length in us of the RX power up phase for the current radio device. Default value is 210 us (reset value). Operating range depends on supported radio.</comment>
  114843. </bits>
  114844. <bits access="rw" name="txpwrdnct" pos="12:8" rst="5">
  114845. <comment>This register extends the length in us of the TX power down phase for the current radio device.
  114846. Default value is 3us (reset value). Operating range depends on supported radio.</comment>
  114847. </bits>
  114848. <bits access="rw" name="txpwrupct" pos="7:0" rst="60">
  114849. <comment>This register holds the length in us of the TX power up phase for the current radio device. Default value is 210 us (reset value). Operating range is depends on supported radio.</comment>
  114850. </bits>
  114851. </reg>
  114852. <hole size="96"/>
  114853. <reg name="txmicval" protect="r">
  114854. <bits access="r" name="txmicval" pos="31:0" rst="0">
  114855. <comment>AES-CCM plain MIC value.</comment>
  114856. </bits>
  114857. </reg>
  114858. <reg name="rxmicval" protect="r">
  114859. <bits access="r" name="rxmicval" pos="31:0" rst="0">
  114860. <comment>AES-CCM plain MIC value.</comment>
  114861. </bits>
  114862. </reg>
  114863. <reg name="e0ptr" protect="rw">
  114864. <bits access="rw" name="e0ptr" pos="15:0" rst="0">
  114865. <comment>E0 Address pointer</comment>
  114866. </bits>
  114867. </reg>
  114868. <hole size="32"/>
  114869. <reg name="rftestcntl" protect="rw">
  114870. <bits access="rw" name="sserrren" pos="17" rst="0">
  114871. <comment>Applicable in Slave eSCO reserved slot only
  114872. 0: Normal mode of operation
  114873. 1: Allow reply on Sync Error</comment>
  114874. </bits>
  114875. <bits access="rw" name="herrren" pos="16" rst="0">
  114876. <comment>Applicable in Slave eSCO reserved slot only
  114877. 0: Normal mode of operation
  114878. 1: Allow reply on HEC Error</comment>
  114879. </bits>
  114880. <bits access="rw" name="infiniterx" pos="7" rst="0">
  114881. <comment>Applicable for all frame format
  114882. 0: Normal mode of operation
  114883. 1: Infinite Rx window</comment>
  114884. </bits>
  114885. <bits access="rw" name="infinite_entry" pos="3" rst="0">
  114886. <comment>Set to 1 to force status of exchange table entry to be ready. Used for repeated tx</comment>
  114887. </bits>
  114888. <bits access="rw" name="infinitetx" pos="2" rst="0">
  114889. <comment>Applicable for all frame format
  114890. 0: Normal mode of operation
  114891. 1: Infinite Tx window</comment>
  114892. </bits>
  114893. <bits access="rw" name="prbstype" pos="1" rst="0">
  114894. <comment>Defines the PRBS type in use
  114895. 0: Tx Packet Payload are PRBS9 type
  114896. 1: Tx Packet Payload are PRBS15 type</comment>
  114897. </bits>
  114898. <bits access="rw" name="txpldsrc" pos="0" rst="0">
  114899. <comment>Applicable for all frame format
  114900. 0: Tx Packet Payload source is the Control Structure
  114901. 1: Tx Packet Payload are PRBS generator</comment>
  114902. </bits>
  114903. </reg>
  114904. <reg name="rftestfreq" protect="rw">
  114905. <bits access="rw" name="directlopbacken" pos="17" rst="0">
  114906. <comment>Direct Loopback Test Mode enable control
  114907. 0: Normal mode of operation
  114908. 1: Direct Loopback Mode enabled (Received Packet Header, Payload Header, and Payload data directly re-transmitted in the next slot)</comment>
  114909. </bits>
  114910. <bits access="rw" name="testmodeen" pos="16" rst="0">
  114911. <comment>Test Mode enable control, applicable if CS-FH_EN=0
  114912. 0: Normal mode of operation
  114913. 1: Test Mode enable, use &lt;TX/RX&gt;FREQ during Tx/Rx operations.</comment>
  114914. </bits>
  114915. <bits access="rw" name="rxfreq" pos="14:8" rst="0">
  114916. <comment>Frequency Table index to be used during Rx operation</comment>
  114917. </bits>
  114918. <bits access="rw" name="txfreq" pos="6:0" rst="0">
  114919. <comment>Frequency Table index to be used during Tx operation</comment>
  114920. </bits>
  114921. </reg>
  114922. <hole size="64"/>
  114923. <reg name="timgencntl" protect="rw">
  114924. <bits access="rw" name="apfm_en" pos="31" rst="1">
  114925. <comment>Controls the Anticipated pre-Fetch Abort mechanism
  114926. 0: Disabled
  114927. 1: Enabled</comment>
  114928. </bits>
  114929. <bits access="rw" name="prefetchabort_time" pos="25:16" rst="479">
  114930. <comment>Defines the instant in s at which immediate abort is required after anticipated pre-fetch abort</comment>
  114931. </bits>
  114932. <bits access="rw" name="prefetch_time" pos="8:0" rst="189">
  114933. <comment>Defines Exchange Table pre-fetch instant in s</comment>
  114934. </bits>
  114935. </reg>
  114936. <reg name="grosstimtgt" protect="rw">
  114937. <bits access="rw" name="grosstarget" pos="22:0" rst="0">
  114938. <comment>Gross Timer Target value on which an Interrupt must be generated.
  114939. This timer has a precision of 10ms: interrupt is generated only when GROSSTARGET = CLKN[27:5] and CLKN[4:0] = 0.</comment>
  114940. </bits>
  114941. </reg>
  114942. <reg name="finetimtgt" protect="rw">
  114943. <bits access="rw" name="finetarget" pos="26:0" rst="0">
  114944. <comment>Fine Timer Target value on which an interrupt must be generated.
  114945. This timer has a precision of 625s: interrupt is generated only when FINETARGET = CLKN[27:1]</comment>
  114946. </bits>
  114947. </reg>
  114948. <reg name="sketclkn" protect="r">
  114949. <bits access="r" name="sketclkn" pos="27:0" rst="0">
  114950. <comment>Returns the CLKN[27:0] value on each bt_sket_irq generation.</comment>
  114951. </bits>
  114952. </reg>
  114953. <reg name="pcacntl0" protect="rw">
  114954. <bits access="rw" name="target_offset" pos="26:16" rst="0">
  114955. <comment>Signed number, time offset to the current frame_sync position in s. Valid range is [-625, 625]s. When SYNC_SOURCE=1, the following formula must apply:
  114956. TARGET_OFFSET = 559 C RF round trip delay C desired CS-BITOFF</comment>
  114957. </bits>
  114958. <bits access="rw" name="slvlbl" pos="12:8" rst="0">
  114959. <comment>Applies only when SYNC_SOURCE equals 1. Defines which connection to align piconet clock on.
  114960. The connection is labelled using CS-LINKLBL the piconet clock is aligned when CS-LINKLBL = SLVLBL field
  114961. Note the RW-BT Software must ensure the labelled connection is a slave connection, else it cannot work properly</comment>
  114962. </bits>
  114963. <bits access="rw" name="corr_step" pos="7:4" rst="1">
  114964. <comment>Maximum shift size during incremental phase shift. Must be programmed to 1s (0x1)
  114965. Note CORR_STEP is considered as a signed value when BLINDCORR_EN is set (allows to drift forward and backward)</comment>
  114966. </bits>
  114967. <bits access="rw" name="blindcorr_en" pos="3" rst="0">
  114968. <comment>0: Align piconet clock on frame_sync rising edge (when CORR_INTERVAL is reached)
  114969. 1: Align piconet clock when CORR_INTERVAL is reached, without frame_sync rising edge</comment>
  114970. </bits>
  114971. <bits access="rw" name="frsync_pol" pos="2" rst="0">
  114972. <comment>Frame sync signal polarity.
  114973. 0 : rising edge events sensitive
  114974. 1 : falling edge events sensitive</comment>
  114975. </bits>
  114976. <bits access="rw" name="sync_source" pos="1" rst="0">
  114977. <comment>Defines synchronization signal source
  114978. 0: MWS frame synchronization
  114979. 1: Scatternet network scheduling optimization (See section 2.17)</comment>
  114980. </bits>
  114981. <bits access="rw" name="phase_shift_en" pos="0" rst="0">
  114982. <comment>Enable incremental phase shift</comment>
  114983. </bits>
  114984. </reg>
  114985. <reg name="pcacntl1" protect="rw">
  114986. <bits access="rw" name="corr_interval" pos="23:16" rst="40">
  114987. <comment>Correction interval time in slot interval.
  114988. Default value is 40 (i.e. 40x625s = 25ms)</comment>
  114989. </bits>
  114990. <bits access="w" name="clock_shift_en" pos="12" rst="0">
  114991. <comment>Performs immediate clock shift update using CLOCK_SHIFT[10:0], when written with a 1.
  114992. Resets at 0 when action is performed. No action happens if it is written with 0.</comment>
  114993. </bits>
  114994. <bits access="rw" name="clock_shift" pos="10:0" rst="0">
  114995. <comment>Signed value of the clock shift to apply when CLOCK_SHIFT_EN is written with a 1 in [-625, 625]s range</comment>
  114996. </bits>
  114997. </reg>
  114998. <reg name="pcastat" protect="r">
  114999. <bits access="r" name="shift_phase" pos="26:16" rst="0">
  115000. <comment>Indicate the value of the phase when an immediate shift has been programmed or when a frame_sync event occurs, [-625, 625]s</comment>
  115001. </bits>
  115002. <bits access="r" name="moment_offset" pos="10:0" rst="0">
  115003. <comment>Momentary offset, signed number which indicate the time between target_offset and the nearest alignment point, in [-625, 625]s range</comment>
  115004. </bits>
  115005. </reg>
  115006. <hole size="928"/>
  115007. <reg name="escochancntl0" protect="rw">
  115008. <bits access="r" name="tog0" pos="31" rst="0">
  115009. <comment>Toggle command for Voice Channel 0.
  115010. Driven by TeSCO/TSCO toggling instant. Used to perform selection of PCM pointers and Tx/Rx Descriptor
  115011. Please refer to section 2.18.5 for details.</comment>
  115012. </bits>
  115013. <bits access="rw" name="escochanswen0" pos="15" rst="0">
  115014. <comment>Enables eSCO Channel 0 SW Transport (Enable Audio data to be routed directly to EM (or through AES-CCM if encrypted link), used by Voice Transparent Modes:
  115015. 0: Disabled.
  115016. 1: Enabled.</comment>
  115017. </bits>
  115018. <bits access="rw" name="escochanen0" pos="14" rst="0">
  115019. <comment>Enables eSCO Channel 0 (controls Audio Path EM Access controller voice channel 0):
  115020. 0: Disabled.
  115021. 1: Enabled.</comment>
  115022. </bits>
  115023. <bits access="rw" name="itmode0" pos="13" rst="0">
  115024. <comment>0: bt_audio0_irq is generated on TeSCO/TSCO instant
  115025. 1: bt_audio0_irq is generated INTDELAY0[5:0] slots after TeSCO/TSCO instant</comment>
  115026. </bits>
  115027. <bits access="rw" name="intdelay0" pos="12:8" rst="0">
  115028. <comment>Valid if ITMODE0 = 1
  115029. Determines the slot number to wait before generating bt_audio0_irq</comment>
  115030. </bits>
  115031. <bits access="rw" name="tesco0" pos="7:0" rst="0">
  115032. <comment>eSCO interval (in slots).
  115033. Support a [2:16] range in slots so as to support both SCO and eSCO mandatory LMP parameters range (see [1])</comment>
  115034. </bits>
  115035. </reg>
  115036. <reg name="escomutecntl0" protect="rw">
  115037. <bits access="rw" name="mute_sink0" pos="23" rst="0">
  115038. <comment>HW mute control:
  115039. 0: Do not mute on bad reception of an (e)SCO packet.
  115040. 1: Mute after data or bad reception, with the pattern stored in MUTEPATT0
  115041. Note: See Table 2-34 for mute pattern value to apply</comment>
  115042. </bits>
  115043. <bits access="rw" name="mute_source0" pos="22" rst="0">
  115044. <comment>HW mute control:
  115045. 0: Provides Source buffer to the Packet Controller for Tx operations
  115046. 1: Forces POLL/NULL to be sent as a replacement of Audio Packets</comment>
  115047. </bits>
  115048. <bits access="rw" name="invl0_1" pos="19:18" rst="2">
  115049. <comment>SW mute status for Audio buffer 1 (i.e updated when TOG0=1):
  115050. Mute if not null. Please refer to Table 2-35 for details</comment>
  115051. </bits>
  115052. <bits access="rw" name="invl0_0" pos="17:16" rst="2">
  115053. <comment>SW mute status for Audio buffer 0 (i.e updated when TOG0=0):
  115054. Mute if not null. Please refer to Table 2-35 for details</comment>
  115055. </bits>
  115056. <bits access="rw" name="mutepatt0" pos="15:0" rst="0">
  115057. <comment>Value of the null pattern used when HW muting is enabled.</comment>
  115058. </bits>
  115059. </reg>
  115060. <reg name="escocurrenttxptr0" protect="rw">
  115061. <bits access="rw" name="esco0ptrtx1" pos="31:16" rst="0">
  115062. <comment>Tx (e)SCO Sample Buffer pointer 1 of Voice Channel 0.
  115063. Used when eSCOCHANCNTL0-TOG0 = 1</comment>
  115064. </bits>
  115065. <bits access="rw" name="esco0ptrtx0" pos="15:0" rst="0">
  115066. <comment>Tx (e)SCO Sample Buffer pointer 0 of Voice Channel 0.
  115067. Used when eSCOCHANCNTL0-TOG0 = 0</comment>
  115068. </bits>
  115069. </reg>
  115070. <reg name="escocurrentrxptr0" protect="rw">
  115071. <bits access="rw" name="esco0ptrrx1" pos="31:16" rst="0">
  115072. <comment>Rx (e)SCO Sample Buffer pointer 1 of Voice Channel 0.
  115073. Used when eSCOCHANCNTL0-TOG0 = 1</comment>
  115074. </bits>
  115075. <bits access="rw" name="esco0ptrrx0" pos="15:0" rst="0">
  115076. <comment>Rx (e)SCO Sample Buffer pointer 0 of Voice Channel 0.
  115077. Used when eSCOCHANCNTL0-TOG0 = 0</comment>
  115078. </bits>
  115079. </reg>
  115080. <reg name="escoltcntl0" protect="rw">
  115081. <bits access="rw" name="retxnb0" pos="23:16" rst="1">
  115082. <comment>Defines the number of transmsission attemtps for SCO/eSCO operations (includes reserved slots and re-Tx slots).
  115083. Default value is 1</comment>
  115084. </bits>
  115085. <bits access="rw" name="escoedrrx0" pos="5" rst="0">
  115086. <comment>1: eSCO EDR Mode (2/3 Mbps) in reception
  115087. 0: eSCO 1Mbps in reception</comment>
  115088. </bits>
  115089. <bits access="rw" name="escoedrtx0" pos="4" rst="0">
  115090. <comment>1: eSCO EDR Mode (2/3 Mbps) in transmission
  115091. 0: eSCO 1Mbps in transmission</comment>
  115092. </bits>
  115093. <bits access="rw" name="syntype0" pos="3" rst="0">
  115094. <comment>Synchronous packet type:
  115095. 0: SCO packet
  115096. 1: eSCO packet</comment>
  115097. </bits>
  115098. <bits access="rw" name="synltaddr0" pos="2:0" rst="0">
  115099. <comment>LT_ADDR of the Synchronous link (eSCO), used for TX.</comment>
  115100. </bits>
  115101. </reg>
  115102. <reg name="escotrcntl0" protect="rw">
  115103. <bits access="rw" name="txseqn0" pos="31" rst="0">
  115104. <comment>Value of the SEQN bit in eSCO TX packets. Used as follows:
  115105. - Initialized by SW during eSCO link establishment
  115106. - Toggled by HW on each TSCO/TeSCO, written back afterwards</comment>
  115107. </bits>
  115108. <bits access="rw" name="txlen0" pos="29:20" rst="0">
  115109. <comment>Negotiated, maximum number of bytes for eSCO Tx payloads.</comment>
  115110. </bits>
  115111. <bits access="rw" name="txtype0" pos="19:16" rst="0">
  115112. <comment>Negotiated Tx packet type, as defined in [1].</comment>
  115113. </bits>
  115114. <bits access="rw" name="rxlen0" pos="13:4" rst="0">
  115115. <comment>Negotiated, maximum number of bytes for eSCO Rx payloads. The reception of the payload is automatically aborted if this buffer size is exceeded.</comment>
  115116. </bits>
  115117. <bits access="rw" name="rxtype0" pos="3:0" rst="0">
  115118. <comment>Negotiated Rx packet type, as defined in [1].</comment>
  115119. </bits>
  115120. </reg>
  115121. <reg name="escodaycnt0" protect="rw">
  115122. <bits access="rw" name="daycounter0" pos="10:0" rst="0">
  115123. <comment>Day Counter for AES-CCM nonce.</comment>
  115124. </bits>
  115125. </reg>
  115126. <hole size="32"/>
  115127. <reg name="escochancntl1" protect="rw">
  115128. <bits access="r" name="tog1" pos="31" rst="0">
  115129. <comment>Toggle command for Voice Channel 1.
  115130. Driven by TeSCO/TSCO toggling instant. Used to perform selection of PCM pointers and Tx/Rx Descriptor.
  115131. Please refer to section 2.18.5 for details.</comment>
  115132. </bits>
  115133. <bits access="rw" name="escochanswen1" pos="15" rst="0">
  115134. <comment>Enables eSCO Channel 1 SW Transport (Enable Audio data to be routed directly to EM (or through AES-CCM if encrypted link), used by Voice Transparent Modes:
  115135. 0: Disabled.
  115136. 1: Enabled.</comment>
  115137. </bits>
  115138. <bits access="rw" name="escochanen1" pos="14" rst="0">
  115139. <comment>Enables eSCO Channel 1 (controls Audio Path EM Access controller voice channel 1):
  115140. 0: Disabled.
  115141. 1: Enabled.</comment>
  115142. </bits>
  115143. <bits access="rw" name="itmode1" pos="13" rst="0">
  115144. <comment>0: bt_audio1_irq is generated on TeSCO/TSCO instant
  115145. 1: bt_audio1_irq is generated INTDELAY1[5:0] slots after TeSCO/TSCO instant</comment>
  115146. </bits>
  115147. <bits access="rw" name="intdelay1" pos="12:8" rst="0">
  115148. <comment>Valid if ITMODE1 = 1
  115149. Determines the slot number to wait before generating bt_audio1_irq</comment>
  115150. </bits>
  115151. <bits access="rw" name="tesco1" pos="7:0" rst="0">
  115152. <comment>eSCO interval (in slots).
  115153. Support a [2:16] range in slots so as to support both SCO and eSCO mandatory LMP parameters range (see [1])</comment>
  115154. </bits>
  115155. </reg>
  115156. <reg name="escomutecntl1" protect="rw">
  115157. <bits access="rw" name="mute_sink1" pos="23" rst="0">
  115158. <comment>HW mute control:
  115159. 0: Do not mute on bad reception of an (e)SCO packet.
  115160. 1: Mute after data or bad reception, with the pattern stored in MUTEPATT1
  115161. Note: See Table 2-34 for mute pattern value to apply</comment>
  115162. </bits>
  115163. <bits access="rw" name="mute_source1" pos="22" rst="0">
  115164. <comment>HW mute control:
  115165. 0: Provides Source buffer to the Packet Controller for Tx operations
  115166. 1: Forces POLL/NULL to be sent as a replacement of Audio Packets</comment>
  115167. </bits>
  115168. <bits access="rw" name="invl1_1" pos="19:18" rst="2">
  115169. <comment>SW mute status for Audio buffer 1 (i.e updated when TOG1=1):
  115170. Mute if not null. Please refer to Table 2-35 for details</comment>
  115171. </bits>
  115172. <bits access="rw" name="invl1_0" pos="17:16" rst="2">
  115173. <comment>SW mute status for Audio buffer 0 (i.e updated when TOG1=0):
  115174. Mute if not null. Please refer to Table 2-35 for details</comment>
  115175. </bits>
  115176. <bits access="rw" name="mutepatt1" pos="15:0" rst="0">
  115177. <comment>Value of the null pattern used when HW muting is enabled.</comment>
  115178. </bits>
  115179. </reg>
  115180. <reg name="escocurrenttxptr1" protect="rw">
  115181. <bits access="rw" name="esco1ptrtx1" pos="31:16" rst="0">
  115182. <comment>Tx (e)SCO Sample Buffer pointer 1 of Voice Channel 1.
  115183. Used when eSCOCHANCNTL1-TOG1 = 1</comment>
  115184. </bits>
  115185. <bits access="rw" name="esco1ptrtx0" pos="15:0" rst="0">
  115186. <comment>Tx (e)SCO Sample Buffer pointer 0 of Voice Channel 1.
  115187. Used when eSCOCHANCNTL1-TOG1 = 0</comment>
  115188. </bits>
  115189. </reg>
  115190. <reg name="escocurrentrxptr1" protect="rw">
  115191. <bits access="rw" name="esco1ptrrx1" pos="31:16" rst="0">
  115192. <comment>Rx (e)SCO Sample Buffer pointer 1 of Voice Channel 1.
  115193. Used when eSCOCHANCNTL1-TOG1 = 1</comment>
  115194. </bits>
  115195. <bits access="rw" name="esco1ptrrx0" pos="15:0" rst="0">
  115196. <comment>Rx (e)SCO Sample Buffer pointer 0 of Voice Channel 1.
  115197. Used when eSCOCHANCNTL1-TOG1 = 0</comment>
  115198. </bits>
  115199. </reg>
  115200. <reg name="escoltcntl1" protect="rw">
  115201. <bits access="rw" name="retxnb1" pos="23:16" rst="1">
  115202. <comment>Defines the number of transmsission attemtps for SCO/eSCO operations (includes reserved slots and re-Tx slots).
  115203. Default value is 1</comment>
  115204. </bits>
  115205. <bits access="rw" name="escoedrrx1" pos="5" rst="0">
  115206. <comment>1: eSCO EDR Mode (2/3 Mbps) in reception
  115207. 0: eSCO 1Mbps in reception</comment>
  115208. </bits>
  115209. <bits access="rw" name="escoedrtx1" pos="4" rst="0">
  115210. <comment>1: eSCO EDR Mode (2/3 Mbps) in transmission
  115211. 0: eSCO 1Mbps in transmission</comment>
  115212. </bits>
  115213. <bits access="rw" name="syntype1" pos="3" rst="0">
  115214. <comment>Synchronous packet type:
  115215. 0: SCO packet
  115216. 1: eSCO packet</comment>
  115217. </bits>
  115218. <bits access="rw" name="syntaddr1" pos="2:0" rst="0">
  115219. <comment>LT_ADDR of the Synchronous link (eSCO), used for TX.</comment>
  115220. </bits>
  115221. </reg>
  115222. <reg name="escotrcntl1" protect="rw">
  115223. <bits access="rw" name="txseqn1" pos="31" rst="0">
  115224. <comment>Value of the SEQN bit in eSCO TX packets. Used as follows:
  115225. - Initialized by SW during eSCO link establishment
  115226. - Toggled by HW each TSCO/TeSCO, written back afterwards</comment>
  115227. </bits>
  115228. <bits access="rw" name="txlen1" pos="29:20" rst="0">
  115229. <comment>Negotiated, maximum number of bytes for eSCO Tx payloads.</comment>
  115230. </bits>
  115231. <bits access="rw" name="txtype1" pos="19:16" rst="0">
  115232. <comment>Negotiated Tx packet type, as defined in [1].</comment>
  115233. </bits>
  115234. <bits access="rw" name="rxlen1" pos="13:4" rst="0">
  115235. <comment>Negotiated, maximum number of bytes for eSCO Rx payloads. The reception of the payload is automatically aborted if this buffer size is exceeded.</comment>
  115236. </bits>
  115237. <bits access="rw" name="rxtype1" pos="3:0" rst="0">
  115238. <comment>Negotiated Rx packet type, as defined in [1].</comment>
  115239. </bits>
  115240. </reg>
  115241. <reg name="escodaycnt1" protect="rw">
  115242. <bits access="rw" name="daycounter1" pos="10:0" rst="0">
  115243. <comment>Day Counter for AES-CCM nonce.</comment>
  115244. </bits>
  115245. </reg>
  115246. <hole size="32"/>
  115247. <reg name="escochancntl2" protect="rw">
  115248. <bits access="r" name="tog2" pos="31" rst="0">
  115249. <comment>Toggle command for Voice Channel 2.
  115250. Driven by TeSCO/TSCO toggling instant. Used to perform selection of PCM pointers and Tx/Rx Descriptor
  115251. Please refer to section 2.18.5 for details.</comment>
  115252. </bits>
  115253. <bits access="rw" name="escochanswen2" pos="15" rst="0">
  115254. <comment>Enables eSCO Channel 2 SW Transport (Enable Audio data to be routed directly to EM (or through AES-CCM if encrypted link), used by Voice Transparent Modes:
  115255. 0: Disabled.
  115256. 1: Enabled.</comment>
  115257. </bits>
  115258. <bits access="rw" name="escochanen2" pos="14" rst="0">
  115259. <comment>Enables eSCO Channel 2 (controls Audio Path EM Access controller voice channel 2):
  115260. 0: Disabled.
  115261. 1: Enabled.</comment>
  115262. </bits>
  115263. <bits access="rw" name="itmode2" pos="13" rst="0">
  115264. <comment>0: bt_audio2_irq is generated on TeSCO/TSCO instant
  115265. 1: bt_audio2_irq is generated INTDELAY1[5:0] slots after TeSCO/TSCO instant</comment>
  115266. </bits>
  115267. <bits access="rw" name="intdelay2" pos="12:8" rst="0">
  115268. <comment>Valid if ITMODE2 = 1
  115269. Determines the slot number to wait before generating bt_audio2_irq</comment>
  115270. </bits>
  115271. <bits access="rw" name="tesco2" pos="7:0" rst="0">
  115272. <comment>eSCO interval (in slots).
  115273. Support a [2:16] range in slots so as to support both SCO and eSCO mandatory LMP parameters range (see [1])</comment>
  115274. </bits>
  115275. </reg>
  115276. <reg name="escomutecntl2" protect="rw">
  115277. <bits access="rw" name="mute_sink2" pos="23" rst="0">
  115278. <comment>HW mute control:
  115279. 0: Do not mute on bad reception of an (e)SCO packet.
  115280. 1: Mute after data or bad reception, with the pattern stored in MUTEPATT2
  115281. Note: See Table 2-34 for mute pattern value to apply</comment>
  115282. </bits>
  115283. <bits access="rw" name="mute_source2" pos="22" rst="0">
  115284. <comment>HW mute control:
  115285. 0: Provides Source buffer to the Packet Controller for Tx operations
  115286. 1: Forces POLL/NULL to be sent as a replacement of Audio Packets</comment>
  115287. </bits>
  115288. <bits access="rw" name="invl2_1" pos="19:18" rst="2">
  115289. <comment>SW mute status for Audio buffer 1 (i.e updated when TOG2=1):
  115290. Mute if not null. Please refer to Table 2-35 for details</comment>
  115291. </bits>
  115292. <bits access="rw" name="invl2_0" pos="17:16" rst="2">
  115293. <comment>SW mute status for Audio buffer 0 (i.e updated when TOG2=0):
  115294. Mute if not null. Please refer to Table 2-35 for details</comment>
  115295. </bits>
  115296. <bits access="rw" name="mutepatt2" pos="15:0" rst="0">
  115297. <comment>Value of the null pattern used when HW muting is enabled.</comment>
  115298. </bits>
  115299. </reg>
  115300. <reg name="escocurrenttxptr2" protect="rw">
  115301. <bits access="rw" name="esco2ptrtx1" pos="31:16" rst="0">
  115302. <comment>Tx (e)SCO Sample Buffer pointer 1 of Voice Channel 2.
  115303. Used when eSCOCHANCNTL2-TOG2 = 1</comment>
  115304. </bits>
  115305. <bits access="rw" name="esco2ptrtx0" pos="15:0" rst="0">
  115306. <comment>Tx (e)SCO Sample Buffer pointer 0 of Voice Channel 2.
  115307. Used when eSCOCHANCNTL2-TOG2 = 0</comment>
  115308. </bits>
  115309. </reg>
  115310. <reg name="escocurrentrxptr2" protect="rw">
  115311. <bits access="rw" name="esco2ptrrx1" pos="31:16" rst="0">
  115312. <comment>Rx (e)SCO Sample Buffer pointer 1 of Voice Channel 2.
  115313. Used when eSCOCHANCNTL2-TOG2 = 1</comment>
  115314. </bits>
  115315. <bits access="rw" name="esco2ptrrx0" pos="15:0" rst="0">
  115316. <comment>Rx (e)SCO Sample Buffer pointer 0 of Voice Channel 2.
  115317. Used when eSCOCHANCNTL2-TOG2 = 0</comment>
  115318. </bits>
  115319. </reg>
  115320. <reg name="escoltcntl2" protect="rw">
  115321. <bits access="rw" name="retxnb2" pos="23:16" rst="1">
  115322. <comment>Defines the number of transmsission attemtps for SCO/eSCO operations (includes reserved slots and re-Tx slots).
  115323. Default value is 1</comment>
  115324. </bits>
  115325. <bits access="rw" name="escoedrrx2" pos="5" rst="0">
  115326. <comment>1: eSCO EDR Mode (2/3 Mbps) in reception
  115327. 0: eSCO 1Mbps in reception</comment>
  115328. </bits>
  115329. <bits access="rw" name="escoedrtx2" pos="4" rst="0">
  115330. <comment>1: eSCO EDR Mode (2/3 Mbps) in transmission
  115331. 0: eSCO 1Mbps in transmission</comment>
  115332. </bits>
  115333. <bits access="rw" name="syntype2" pos="3" rst="0">
  115334. <comment>Synchronous packet type:
  115335. 0: SCO packet
  115336. 1: eSCO packet</comment>
  115337. </bits>
  115338. <bits access="rw" name="syntaddr2" pos="2:0" rst="0">
  115339. <comment>LT_ADDR of the Synchronous link (eSCO), used for TX.</comment>
  115340. </bits>
  115341. </reg>
  115342. <reg name="escotrcntl2" protect="rw">
  115343. <bits access="rw" name="txseqn2" pos="31" rst="0">
  115344. <comment>Value of the SEQN bit in eSCO TX packets. Used as follows:
  115345. - Initialized by SW during eSCO link establishment
  115346. - Toggled by HW each TSCO/TeSCO, written back afterwards</comment>
  115347. </bits>
  115348. <bits access="rw" name="txlen2" pos="29:20" rst="0">
  115349. <comment>Negotiated, maximum number of bytes for eSCO Tx payloads.</comment>
  115350. </bits>
  115351. <bits access="rw" name="txtype2" pos="19:16" rst="0">
  115352. <comment>Negotiated Tx packet type, as defined in [1].</comment>
  115353. </bits>
  115354. <bits access="rw" name="rxlen2" pos="13:4" rst="0">
  115355. <comment>Negotiated, maximum number of bytes for eSCO Rx payloads. The reception of the payload is automatically aborted if this buffer size is exceeded.</comment>
  115356. </bits>
  115357. <bits access="rw" name="rxtype2" pos="3:0" rst="0">
  115358. <comment>Negotiated Rx packet type, as defined in [1].</comment>
  115359. </bits>
  115360. </reg>
  115361. <reg name="escodaycnt2" protect="rw">
  115362. <bits access="rw" name="daycounter2" pos="10:0" rst="0">
  115363. <comment>Day Counter for AES-CCM nonce.</comment>
  115364. </bits>
  115365. </reg>
  115366. <hole size="32"/>
  115367. <reg name="audiocntl0" protect="rw">
  115368. <bits access="rw" name="linear_format0" pos="21:20" rst="3">
  115369. <comment>Sample Linear format for voice channel 0
  115370. 00: 8-bit samples
  115371. 01: 13-bit samples
  115372. 10: 14-bit samples
  115373. 11: 16-bit samples</comment>
  115374. </bits>
  115375. <bits access="rw" name="sample_type0" pos="17:16" rst="1">
  115376. <comment>PCM / VoHCI Sample Type on Audio Path Channel 0
  115377. 00: Signed 1s complement
  115378. 01: Signed 2s complement
  115379. 10: Signed magnitude
  115380. 11: Unsigned</comment>
  115381. </bits>
  115382. <bits access="rw" name="aulawen0" pos="15" rst="0">
  115383. <comment>a/-Law control for voice channel 0
  115384. 1: Enables a/-Law transcoding
  115385. 0: Disables a/-Law transcoding / bypass mode</comment>
  115386. </bits>
  115387. <bits access="rw" name="aulaw_code0" pos="11:8" rst="0">
  115388. <comment>a/-Law configuration code for voice channel 0. (See Table 2-40)</comment>
  115389. </bits>
  115390. <bits access="rw" name="cvsden0" pos="7" rst="0">
  115391. <comment>CVSD control for voice channel 0
  115392. 1: Enables CVSD transcoding
  115393. 0: Disables CVSD transcoding / bypass mode</comment>
  115394. </bits>
  115395. <bits access="rw" name="cvsd_bitorder0" pos="0" rst="0">
  115396. <comment>Bit ordering at Byte interface for voice channel 0
  115397. 0: LSB fist. Compatible to BT spec. 1.1 (ref. to [1]) Over the air, the bits are sent in the same order they are generated by the CVSD encoder.
  115398. 1: MSB First. Compatible to BT spec. 1.0B (ref. to [1]) The bits are sent in the reverse order (maintains backward compatibility).</comment>
  115399. </bits>
  115400. </reg>
  115401. <reg name="audiocntl1" protect="rw">
  115402. <bits access="rw" name="linear_format1" pos="21:20" rst="3">
  115403. <comment>Sample Linear format for voice channel 1
  115404. 00: 8-bit samples
  115405. 01: 13-bit samples
  115406. 10: 14-bit samples
  115407. 11: 16-bit samples</comment>
  115408. </bits>
  115409. <bits access="rw" name="sample_type1" pos="17:16" rst="1">
  115410. <comment>PCM / VoHCI Sample Type on Audio Path Channel 1
  115411. 00: Signed 1s complement
  115412. 01: Signed 2s complement
  115413. 10: Signed magnitude
  115414. 11: Unsigned</comment>
  115415. </bits>
  115416. <bits access="rw" name="aulawen1" pos="15" rst="0">
  115417. <comment>a/-Law control for voice channel 1
  115418. 1: Enables a/-Law transcoding
  115419. 0: Disables a/-Law transcoding / bypass mode</comment>
  115420. </bits>
  115421. <bits access="rw" name="aulaw_code1" pos="11:8" rst="0">
  115422. <comment>a/-Law configuration code for voice channel 1. (See Table 2-40)</comment>
  115423. </bits>
  115424. <bits access="rw" name="cvsden1" pos="7" rst="0">
  115425. <comment>CVSD control for voice channel 1
  115426. 1: Enables CVSD transcoding
  115427. 0: Disables CVSD transcoding / bypass mode</comment>
  115428. </bits>
  115429. <bits access="rw" name="cvsd_bitorder1" pos="0" rst="0">
  115430. <comment>Bit ordering at Byte interface for voice channel 1
  115431. 0: LSB fist. Compatible to BT spec. 1.1 (ref. to [1]) Over the air, the bits are sent in the same order they are generated by the CVSD encoder.
  115432. 1: MSB First. Compatible to BT spec. 1.0B (ref. to [1]) The bits are sent in the reverse order (maintains backward compatibility).</comment>
  115433. </bits>
  115434. </reg>
  115435. <reg name="audiocntl2" protect="rw">
  115436. <bits access="rw" name="linear_format2" pos="21:20" rst="3">
  115437. <comment>Sample Linear format for voice channel 2
  115438. 00: 8-bit samples
  115439. 01: 13-bit samples
  115440. 10: 14-bit samples
  115441. 11: 16-bit samples</comment>
  115442. </bits>
  115443. <bits access="rw" name="sample_type2" pos="17:16" rst="1">
  115444. <comment>PCM / VoHCI Sample Format on Audio Path Channel 2
  115445. 00: Signed 1s complement
  115446. 01: Signed 2s complement
  115447. 10: Signed magnitude
  115448. 11: Unsigned</comment>
  115449. </bits>
  115450. <bits access="rw" name="aulawen2" pos="15" rst="0">
  115451. <comment>a/-Law control for voice channel 2
  115452. 1: Enables a/-Law transcoding
  115453. 0: Disables a/-Law transcoding / bypass mode</comment>
  115454. </bits>
  115455. <bits access="rw" name="aulaw_code2" pos="11:8" rst="0">
  115456. <comment>a/-Law configuration code for voice channel 2. (See Table 2-40)</comment>
  115457. </bits>
  115458. <bits access="rw" name="cvsden2" pos="7" rst="0">
  115459. <comment>CVSD control for voice channel 2
  115460. 1: Enables CVSD transcoding
  115461. 0: Disables CVSD transcoding / bypass mode</comment>
  115462. </bits>
  115463. <bits access="rw" name="cvsd_bitorder2" pos="0" rst="0">
  115464. <comment>Bit ordering at Byte interface for voice channel 2
  115465. 0: LSB fist. Compatible to BT spec. 1.1 (ref. to [1]) Over the air, the bits are sent in the same order they are generated by the CVSD encoder.
  115466. 1: MSB First. Compatible to BT spec. 1.0B (ref. to [1]) The bits are sent in the reverse order (maintains backward compatibility).</comment>
  115467. </bits>
  115468. </reg>
  115469. <hole size="32"/>
  115470. <reg name="pcmgencntl" protect="rw">
  115471. <bits access="rw" name="vxchsel" pos="9:8" rst="0">
  115472. <comment>Voice channel Selection. Select the voice channel to be routed to the PCM
  115473. 00: Voice Channel 0 routed to PCM
  115474. 01: Voice Channel 1 routed to PCM
  115475. 10: Voice Channel 2 routed to PCM
  115476. 11: Reserved</comment>
  115477. </bits>
  115478. <bits access="rw" name="loopback" pos="6" rst="0">
  115479. <comment>Loopback Test mode control
  115480. 1: Loopback Mode enabled
  115481. 0: Loopback Mode disabled / Normal operations</comment>
  115482. </bits>
  115483. <bits access="rw" name="mono_lr_sel" pos="5" rst="0">
  115484. <comment>Valid when SAMPTYPE is set to Stereo mode, else not applicable
  115485. 0: Select Left channel audio samples for Mono operation
  115486. 1: Select Right channel audio samples for Mono operation</comment>
  115487. </bits>
  115488. <bits access="rw" name="mono_stereo" pos="4" rst="0">
  115489. <comment>Audio channel Mono/Stereo mode control
  115490. 0: Audio channel carries Mono samples
  115491. 1: Audio channel carries Stereo samples</comment>
  115492. </bits>
  115493. <bits access="rw" name="mstslv" pos="3" rst="0">
  115494. <comment>Master/Slave mode control
  115495. 0: PCM is master (i.e. PCM generates pcmclk_out and pcmfsync_out from PLL)
  115496. 1: PCM is slave (i.e. PLL disabled and pcmclk_in and pcmfsync_in are used)</comment>
  115497. </bits>
  115498. <bits access="rw" name="byteswap" pos="2" rst="0">
  115499. <comment>Byte swapping control, valid only SAMPSZ is set to 16-bits
  115500. 0: Samples to be sent used as-is
  115501. 1: MSB and LSB bytes are swapped within samples</comment>
  115502. </bits>
  115503. <bits access="rw" name="lrswap" pos="1" rst="0">
  115504. <comment>Valid in Stereo mode only, defines the Left / Right channel order
  115505. 0: Left channel then Right channel
  115506. 1: Right channel then Left channel</comment>
  115507. </bits>
  115508. <bits access="rw" name="pcmen" pos="0" rst="0">
  115509. <comment>PCM main control
  115510. 0: PCM disabled (i.e. pcm_gclk clock not enabled)
  115511. 1: PCM enabled (i.e. pcm_gclk clock enabled)</comment>
  115512. </bits>
  115513. </reg>
  115514. <reg name="pcmphyscntl0" protect="rw">
  115515. <bits access="rw" name="firstactslot" pos="21:20" rst="0">
  115516. <comment>Configures the first active slot of the frame, in [0:3] range
  115517. 00: first active slot is slot 0
  115518. 01: first active slot is slot 1
  115519. 10: first active slot is slot 2
  115520. 11: first active slot is slot 3
  115521. The maximum value this field can be configured to is determined by the SLOTNB-1 parameters.</comment>
  115522. </bits>
  115523. <bits access="rw" name="slotnb" pos="18:16" rst="0">
  115524. <comment>Number of slots within a PCM frame
  115525. Valid values are in [1:4] range.
  115526. Other values are meaningless</comment>
  115527. </bits>
  115528. <bits access="rw" name="samptype" pos="13" rst="0">
  115529. <comment>PCM Codec Sample type
  115530. 0: PCM codec supports Mono operation
  115531. 1: PCM codec supports Stereo operation</comment>
  115532. </bits>
  115533. <bits access="rw" name="sampsz" pos="12" rst="0">
  115534. <comment>PCM codec Sample size
  115535. 0: PCM Frame carries 8-bit samples
  115536. 1: PCM Frame carries 16-bit samples</comment>
  115537. </bits>
  115538. <bits access="rw" name="lsb1st" pos="10" rst="0">
  115539. <comment>Bit ordering within a PCM Frame
  115540. 0: Sample are sent/received MSB first
  115541. 1: Samples are sent/received LSB first</comment>
  115542. </bits>
  115543. <bits access="rw" name="pcm_iom" pos="9" rst="0">
  115544. <comment>PCM / IOM mode selection
  115545. 0: PCM mode (single clocking)
  115546. 1: IOM mode (double clocking)</comment>
  115547. </bits>
  115548. <bits access="rw" name="lrchpol" pos="8" rst="0">
  115549. <comment>Selection of the PCM Frame Synchronization polarity (Valid when SAMPTYPE is set to Stereo mode, else not applicable)
  115550. 0: Right channel when = 0, Left channel when = 1
  115551. 1: Right channel when = 1, Left channel when = 0</comment>
  115552. </bits>
  115553. <bits access="rw" name="doutcfg" pos="5:4" rst="0">
  115554. <comment>Physical configuration of the pcmd_out pad.
  115555. 00: Open-drain, hi-Z outside transmission
  115556. 01: Push-pull, hi-Z outside transmission
  115557. 10: Push-pull, driven to 0 outside transmission
  115558. 11: Reserved</comment>
  115559. </bits>
  115560. <bits access="rw" name="fsyncshp" pos="2:0" rst="0">
  115561. <comment>Physical shape of the PCM Frame Synchronization signal.
  115562. 000: LF enclosing the last falling PCM Interface Clock edge in frame (Mono only)
  115563. 001: FR enclosing the first rising PCM Interface Clock edge in frame (Mono only)
  115564. 010: FF enclosing the first falling PCM Interface Clock edge in frame (Mono only)
  115565. 011: LONG enclosing the first slot (8 bits) of the frame (Mono / Stereo 8-bits only)
  115566. 100: LONG_16 enclosing first two slots (16 bits) of the frame (Mono 16 bits / Stereo 16-bits only)
  115567. 101: STEREO Left/Right Frame differentiating (Stereo only, covers left or right channel only, polarity is set according to LRCHPOL)</comment>
  115568. </bits>
  115569. </reg>
  115570. <reg name="pcmphyscntl1" protect="rw">
  115571. <bits access="rw" name="clkinv" pos="31" rst="0">
  115572. <comment>Selection of the PCM Interface Clock polarity
  115573. 0: Data is clocked out with the rising edge (standard)
  115574. 1: Data is clocked out with the falling edge</comment>
  115575. </bits>
  115576. <bits access="rw" name="pcmclklimit" pos="23:16" rst="0">
  115577. <comment>PCM Clock counter limit</comment>
  115578. </bits>
  115579. <bits access="rw" name="pcmclkval" pos="8:0" rst="0">
  115580. <comment>PCM Clock Counter value.</comment>
  115581. </bits>
  115582. </reg>
  115583. <reg name="pcmpadding" protect="rw">
  115584. <bits access="rw" name="rsamppad" pos="31:16" rst="0">
  115585. <comment>Right channel sample padding / to be used when non 16-bits PCM sample configuration is used. (LSB are used first)</comment>
  115586. </bits>
  115587. <bits access="rw" name="lsamppad" pos="15:0" rst="0">
  115588. <comment>Left channel sample padding / to be used when non 16-bits PCM sample configuration is used. (LSB are used first)</comment>
  115589. </bits>
  115590. </reg>
  115591. <reg name="pcmpllcntl0" protect="rw">
  115592. <bits access="rw" name="rl" pos="19:0" rst="0">
  115593. <comment>PLL control word, see equation below.</comment>
  115594. </bits>
  115595. </reg>
  115596. <reg name="pcmpllcntl1" protect="rw">
  115597. <bits access="rw" name="olc" pos="30:20" rst="0">
  115598. <comment>Open Loop Correction value, see equation below.</comment>
  115599. </bits>
  115600. <bits access="rw" name="a" pos="18:0" rst="0">
  115601. <comment>PLL control word, see equation below.</comment>
  115602. </bits>
  115603. </reg>
  115604. <reg name="pcmpllcntl2" protect="rw">
  115605. <bits access="rw" name="w" pos="18:0" rst="0">
  115606. <comment>PLL control word, see equation below.</comment>
  115607. </bits>
  115608. </reg>
  115609. <reg name="pcmsourceptr" protect="rw">
  115610. <bits access="rw" name="pcmsourceptr1" pos="31:16" rst="0">
  115611. <comment>PCM Source Pointer 1 / Air to PCM direction</comment>
  115612. </bits>
  115613. <bits access="rw" name="pcmsourceptr0" pos="15:0" rst="0">
  115614. <comment>PCM Source Pointer 0 / Air to PCM direction</comment>
  115615. </bits>
  115616. </reg>
  115617. <reg name="pcmsinkptr" protect="rw">
  115618. <bits access="rw" name="pcmsinkptr1" pos="31:16" rst="0">
  115619. <comment>PCM Sink Pointer 1 / PCM to Air direction</comment>
  115620. </bits>
  115621. <bits access="rw" name="pcmsinkptr0" pos="15:0" rst="0">
  115622. <comment>PCM Sink Pointer 0 / PCM to Air direction</comment>
  115623. </bits>
  115624. </reg>
  115625. <hole size="96"/>
  115626. <reg name="bredrprioscharb" protect="rw">
  115627. <bits access="rw" name="bredrpriomode" pos="15" rst="0">
  115628. <comment>Determine BR/EDR Priority Scheduling Arbitration Mode
  115629. 0: BR/EDR Decision instant not used
  115630. 1: BR/EDR Decision instant used</comment>
  115631. </bits>
  115632. <bits access="rw" name="bredrmargin" pos="7:0" rst="0">
  115633. <comment>Determine the decision instant margin for Priority Scheduling Arbitration. Decision instant is defined as per formula of section 3.6</comment>
  115634. </bits>
  115635. </reg>
  115636. <reg name="plcaddr01" protect="rw">
  115637. <bits access="rw" name="plcbaseaddr1" pos="31:16" rst="0">
  115638. <comment>PLC Pool Base Addr</comment>
  115639. </bits>
  115640. <bits access="rw" name="plcbaseaddr0" pos="15:0" rst="0">
  115641. <comment>PLC Pool Base Addr</comment>
  115642. </bits>
  115643. </reg>
  115644. <reg name="plcaddr23" protect="rw">
  115645. <bits access="rw" name="plcbaseaddr3" pos="31:16" rst="0">
  115646. <comment>PLC Pool Base Addr</comment>
  115647. </bits>
  115648. <bits access="rw" name="plcbaseaddr2" pos="15:0" rst="0">
  115649. <comment>PLC Pool Base Addr</comment>
  115650. </bits>
  115651. </reg>
  115652. <reg name="plcaddr45" protect="rw">
  115653. <bits access="rw" name="plcbaseaddr5" pos="31:16" rst="0">
  115654. <comment>PLC Pool Base Addr</comment>
  115655. </bits>
  115656. <bits access="rw" name="plcbaseaddr4" pos="15:0" rst="0">
  115657. <comment>PLC Pool Base Addr</comment>
  115658. </bits>
  115659. </reg>
  115660. <reg name="plcaddr67" protect="rw">
  115661. <bits access="rw" name="plcbaseaddr7" pos="31:16" rst="0">
  115662. <comment>PLC Pool Base Addr</comment>
  115663. </bits>
  115664. <bits access="rw" name="plcbaseaddr6" pos="15:0" rst="0">
  115665. <comment>PLC Pool Base Addr</comment>
  115666. </bits>
  115667. </reg>
  115668. <reg name="plcaddr89" protect="rw">
  115669. <bits access="rw" name="plcbaseaddr9" pos="31:16" rst="0">
  115670. <comment>PLC Pool Base Addr</comment>
  115671. </bits>
  115672. <bits access="rw" name="plcbaseaddr8" pos="15:0" rst="0">
  115673. <comment>PLC Pool Base Addr</comment>
  115674. </bits>
  115675. </reg>
  115676. <reg name="plcaddrb" protect="rw">
  115677. <bits access="rw" name="plcbufaddr" pos="15:0" rst="0">
  115678. <comment>PLC Pool buf Addr</comment>
  115679. </bits>
  115680. </reg>
  115681. <reg name="plcconf" protect="rw">
  115682. <bits access="s" name="plc_int_clr" pos="31" rst="0">
  115683. <comment>bit type is changed from wos to s.
  115684. plc interrput clear pulse</comment>
  115685. </bits>
  115686. <bits access="r" name="plc_int" pos="30" rst="0">
  115687. <comment>plc interrput</comment>
  115688. </bits>
  115689. <bits access="r" name="plc_fsm_state" pos="29:26" rst="0">
  115690. <comment>plc ctrl fsm state</comment>
  115691. </bits>
  115692. <bits access="s" name="conf_plc_start" pos="25" rst="0">
  115693. <comment>bit type is changed from wos to s.
  115694. plc_start</comment>
  115695. </bits>
  115696. <bits access="rw" name="conf_plc_ctrl_sw" pos="24" rst="0">
  115697. <comment>0: hardware auto 1: software ctrl</comment>
  115698. </bits>
  115699. <bits access="rw" name="conf_plc_int_mask" pos="23" rst="0">
  115700. <comment>mask for plc interrupt</comment>
  115701. </bits>
  115702. <bits access="rw" name="conf_diag0_sel" pos="22:21" rst="0">
  115703. <comment>diag0 selection</comment>
  115704. </bits>
  115705. <bits access="rw" name="conf_scaling_mode" pos="20" rst="1">
  115706. <comment>plc scaling mode</comment>
  115707. </bits>
  115708. <bits access="rw" name="conf_frame_mode" pos="19:18" rst="0">
  115709. <comment>frame_mode length_x000D_
  115710. 0: 120_x000D_ 1: 90 2:60_x000D_ 3:30</comment>
  115711. </bits>
  115712. <bits access="rw" name="conf_plc_type" pos="17" rst="0">
  115713. <comment>indicate current farme bad or good</comment>
  115714. </bits>
  115715. <bits access="rw" name="conf_plc_en" pos="16" rst="0">
  115716. <comment>enable for PLC</comment>
  115717. </bits>
  115718. <bits access="rw" name="conf_plc_except" pos="15" rst="0">
  115719. <comment>plc exception</comment>
  115720. </bits>
  115721. <bits access="rw" name="conf_pool_mem_word_swap" pos="14" rst="1">
  115722. <comment>swap word order</comment>
  115723. </bits>
  115724. <bits access="rw" name="conf_no_pitch_find_ref_threshold_dist" pos="13:0" rst="11">
  115725. <comment>threshold for finding pitch</comment>
  115726. </bits>
  115727. </reg>
  115728. </module>
  115729. </archive>
  115730. <archive relative="wcn_bt_modem.xml">
  115731. <module category="wcn" name="WCN_BT_MODEM">
  115732. <reg name="bypass_ctrl" protect="rw">
  115733. <bits access="rw" name="bypass_dccancel" pos="15" rst="0">
  115734. <comment>Bypass DC Cancel
  115735. 1'h0:: not_bypass: RX DC Cancel is not bypassed
  115736. 1'h1:: bypass: RX DC Cancel is bypassed</comment>
  115737. </bits>
  115738. <bits access="rw" name="bypass_dccancel2" pos="14" rst="1">
  115739. <comment>RESERVED</comment>
  115740. </bits>
  115741. <bits access="rw" name="bypass_mixer" pos="13" rst="0">
  115742. <comment>Bypass Mixer
  115743. 1'h0:: not_bypass: RX Mixer is not bypassed
  115744. 1'h1:: bypass: RX Mixer is bypassed</comment>
  115745. </bits>
  115746. <bits access="rw" name="bypass_srrc" pos="12" rst="0">
  115747. <comment>Bypass Square-root-raised-cosine Filter
  115748. 1'h0:: not_bypass: RX SRRC filter is not bypassed
  115749. 1'h1:: bypass: RX SRRC filter is bypassed</comment>
  115750. </bits>
  115751. <bits access="rw" name="bypass_derr1_gfsk" pos="8" rst="0">
  115752. <comment>Bypass GFSK Derr1
  115753. 1'h0:: not_bypass: RX GFSK Derr1 is not bypassed
  115754. 1'h1:: bypass: RX GFSK Derr1 is bypassed</comment>
  115755. </bits>
  115756. <bits access="rw" name="bypass_derr2_gfsk" pos="7" rst="0">
  115757. <comment>Bypass GFSK Derr2
  115758. 1'h0:: not_bypass: RX GFSK Derr2 is not bypassed
  115759. 1'h1:: bypass: RX GFSK Derr2 is bypassed</comment>
  115760. </bits>
  115761. <bits access="rw" name="bypass_patch_gfsk" pos="6" rst="0">
  115762. <comment>Bypass GFSK Patch
  115763. 1'h0:: not_bypass: GFSK Patch is not bypassed
  115764. 1'h1:: bypass: GFSK Patch is bypassed</comment>
  115765. </bits>
  115766. <bits access="rw" name="bypass_smppt_gfsk" pos="5" rst="0">
  115767. <comment>Bypass GFSK Sample Step
  115768. 1'h0:: not_bypass: RX GFSK Sample Step is 1
  115769. 1'h1:: bypass: RX GFSK Sample Step is 0</comment>
  115770. </bits>
  115771. <bits access="rw" name="bypass_derr1_dpsk" pos="4" rst="0">
  115772. <comment>Bypass DPSK Derr1
  115773. 1'h0:: not_bypass: RX DPSK Derr1 is not bypassed
  115774. 1'h1:: bypass: RX DPSK Derr1 is bypassed</comment>
  115775. </bits>
  115776. <bits access="rw" name="bypass_derr2_dpsk" pos="3" rst="0">
  115777. <comment>Bypass DPSK Derr2
  115778. 1'h0:: not_bypass: RX DPSK Derr2 is not bypassed
  115779. 1'h1:: bypass: RX DPSK Derr2 is bypassed</comment>
  115780. </bits>
  115781. <bits access="rw" name="bypass_patch_dpsk" pos="2" rst="0">
  115782. <comment>Bypass DPSK Patch
  115783. 1'h0:: not_bypass: DPSK Patch is not bypassed
  115784. 1'h1:: bypass: DPSK Patch is bypassed</comment>
  115785. </bits>
  115786. <bits access="rw" name="bypass_smppt_dpsk" pos="1" rst="0">
  115787. <comment>Bypass DPSK Sample Step
  115788. 1'h0:: not_bypass: RX DPSK Sample Step is 1
  115789. 1'h1:: bypass: RX DPSK Sample Step is 0</comment>
  115790. </bits>
  115791. </reg>
  115792. <reg name="sw_swap_dccal" protect="rw">
  115793. <bits access="rw" name="swch_clk_adc" pos="14" rst="0">
  115794. <comment>Switch ADC Clock Edge
  115795. 1'h0:: not_switch: ADC clock edge is not switched
  115796. 1'h1:: switch: ADC clock edge is switched</comment>
  115797. </bits>
  115798. <bits access="rw" name="sel_sync" pos="13" rst="0">
  115799. <comment>Select New Packet
  115800. 1'h0:: from_LL: newpacket_dsp is from baseband
  115801. 1'h1:: from_reg: newpacket_dsp is from newpacket_reg</comment>
  115802. </bits>
  115803. <bits access="rw" name="swch_clk_dac" pos="12" rst="1">
  115804. <comment>Switch DAC Clock Edge
  115805. 1'h0:: not_switch: DAC clock edge is not switched
  115806. 1'h1:: switch: DAC clock edge is switched</comment>
  115807. </bits>
  115808. <bits access="rw" name="rsvd0" pos="11" rst="0">
  115809. <comment>RESERVED</comment>
  115810. </bits>
  115811. <bits access="rw" name="lpf_dwidth_sel" pos="10:9" rst="1">
  115812. <comment>LPF Data Width Select
  115813. 2'h0:: shift_9bits
  115814. 2'h1:: shift_8bits
  115815. 2'h2:: shift_7bits
  115816. 2'h3:: shift_6bits</comment>
  115817. </bits>
  115818. <bits access="rw" name="swch_sign_i_tx" pos="8" rst="0">
  115819. <comment>Switch TX DAC datai sign
  115820. 1'h0:: unsigned: TX DAC datai is unsigned; analog common format
  115821. 1'h1:: signed: TX DAC datai is signed</comment>
  115822. </bits>
  115823. <bits access="rw" name="swch_sign_q_tx" pos="7" rst="0">
  115824. <comment>Switch TX DAC dataq sign
  115825. 1'h0:: unsigned: TX DAC dataq is unsigned; analog common format
  115826. 1'h1:: signed: TX DAC dataq is signed</comment>
  115827. </bits>
  115828. <bits access="rw" name="swch_sign_rx" pos="6" rst="0">
  115829. <comment>Switch RX ADC IQ data sign
  115830. 1'h0:: unsigned: RX ADC data is unsigned; analog common format
  115831. 1'h1:: signed: RX ADC data is signed</comment>
  115832. </bits>
  115833. <bits access="rw" name="iq_sel_pol" pos="5" rst="0">
  115834. <comment>SRRC IQ_SEL Polarity
  115835. 1'h0:: iq_sel_inv
  115836. 1'h1:: iq_sel_raw</comment>
  115837. </bits>
  115838. <bits access="rw" name="sel_sumerr_range" pos="2:0" rst="3">
  115839. <comment>Sum Error Range Control
  115840. 3'h0 Left shift 3 bits of sum err and limit sumerr within [-2^-4, 2^-4]
  115841. 3'h1 Left shift 2 bits of sum err and limit sumerr within [-2^-3, 2^-3]
  115842. 3'h2 Left shift 1 bits of sum err and limit sumerr within [-2^-2, 2^-2]
  115843. 3'h3 Hold the sum err
  115844. 3'h4 Right shift 1 bits of sum err
  115845. 3'h5 Right shift 2 bits of sum err
  115846. 3'h6 Right shift 3 bits of sum err
  115847. 3'h7 Right shift 4 bits of sum err;</comment>
  115848. </bits>
  115849. </reg>
  115850. <reg name="dem750_afc_freq" protect="rw">
  115851. <bits access="rw" name="afc_smtif" pos="15:0" rst="58075">
  115852. <comment>Set the AFC frequency of dem750 of rx link
  115853. dec2hex(2^16-round(2*740/13e3*2^16))</comment>
  115854. </bits>
  115855. </reg>
  115856. <reg name="dpsk_gfsk_tx_ctrl" protect="rw">
  115857. <bits access="rw" name="tx_gain_dpsk" pos="15:8" rst="208">
  115858. <comment>DPSK TX Gain in EDR</comment>
  115859. </bits>
  115860. <bits access="rw" name="delay_gfsk" pos="7:4" rst="4">
  115861. <comment>Set the delay of input gfsk symbol, delay unit is 13MHz clock cycle.</comment>
  115862. </bits>
  115863. <bits access="rw" name="delay_dpsk" pos="3:0" rst="8">
  115864. <comment>Set the delay of input dpsk symbol, delay unit is 13MHz clock cycle.</comment>
  115865. </bits>
  115866. </reg>
  115867. <reg name="tx_gain_ctrl" protect="rw">
  115868. <bits access="rw" name="cnt_guard_ini" pos="15:10" rst="40">
  115869. <comment>Control the guard time length of bt frame
  115870. Guard time = (55-cnt_guard_ini)*T13Mclk</comment>
  115871. </bits>
  115872. <bits access="rw" name="tx_power_gain_sel" pos="9" rst="1">
  115873. <comment>LL tx_power and debug tx_apc selection.
  115874. 1'h1:: selected LL tx_power
  115875. 1'h0::selected debug tx_apc</comment>
  115876. </bits>
  115877. <bits access="rw" name="tx_auto_gain_bypass" pos="8" rst="0">
  115878. <comment>according to tx_power mapping digital gain.
  115879. 1'h1:: bypass auto gain mapping function
  115880. 1'h0:: no bypass</comment>
  115881. </bits>
  115882. <bits access="rw" name="tx_gain_gfsk" pos="7:0" rst="152">
  115883. <comment>GFSK TX Gain in BR</comment>
  115884. </bits>
  115885. </reg>
  115886. <reg name="rssi_out1" protect="r">
  115887. <bits access="r" name="rssi_out_post" pos="25:16" rst="0">
  115888. <comment>after SRRC RSSI Output</comment>
  115889. </bits>
  115890. <bits access="r" name="rssi_out_pre" pos="9:0" rst="0">
  115891. <comment>after mixer before SRRC RSSI Output.</comment>
  115892. </bits>
  115893. </reg>
  115894. <reg name="sw_ctrl" protect="rw">
  115895. <bits access="rw" name="rssi_lock_by_agc_post" pos="16" rst="0">
  115896. <comment>after SRRC RSSI Receiver Strength Signal Indicator lock by agc done signal</comment>
  115897. </bits>
  115898. <bits access="rw" name="rssi_lock_by_agc_pre" pos="15" rst="0">
  115899. <comment>befor SRRC RSSI Receiver Strength Signal Indicator lock by agc done signal</comment>
  115900. </bits>
  115901. <bits access="rw" name="swap_iq" pos="14" rst="0">
  115902. <comment>Swap I/Q
  115903. 1'h0:: no_swap: I/Q is not swaped
  115904. 1'h1:: swap: I/Q is swaped</comment>
  115905. </bits>
  115906. <bits access="rw" name="swap_iq_dccl_0" pos="13" rst="0">
  115907. <comment>Swap I/Q of ddcl input data
  115908. 1'h0:: no_swap: I/Q of ddcl input data is not swaped
  115909. 1'h1:: swap: I/Q of ddcl input data is swaped</comment>
  115910. </bits>
  115911. <bits access="rw" name="swap_iq_smtif_0" pos="12" rst="0">
  115912. <comment>RESERVED</comment>
  115913. </bits>
  115914. <bits access="rw" name="swap_iq_mixer_0" pos="11" rst="0">
  115915. <comment>Swap I/Q of Mixer output data
  115916. 1'h0:: no_swap: I/Q of mixer output data is not swaped
  115917. 1'h1:: swap: I/Q of mixer output data is swaped</comment>
  115918. </bits>
  115919. <bits access="rw" name="swap_pn_i_dccl_0" pos="10" rst="0">
  115920. <comment>Swap ddcl input I data polarity
  115921. 1'h0:: no_swap: I data polarity of ddcl input is not swaped
  115922. 1'h1:: swap: I data polarity of ddcl input is swaped</comment>
  115923. </bits>
  115924. <bits access="rw" name="swap_pn_q_dccl_0" pos="9" rst="0">
  115925. <comment>Swap ddcl input Q data polarity
  115926. 1'h0:: no_swap: Q data polarity of ddcl input is not swaped
  115927. 1'h1:: swap: Q data polarity of ddcl input is swaped</comment>
  115928. </bits>
  115929. <bits access="rw" name="notch_disb" pos="8" rst="1">
  115930. <comment>Disable the ramping for edr guard time in ramp_gain_tx</comment>
  115931. </bits>
  115932. <bits access="rw" name="tx_gain_gfsk_edr" pos="7:0" rst="112">
  115933. <comment>GFSK TX Gain in EDR</comment>
  115934. </bits>
  115935. </reg>
  115936. <reg name="adcclk_sw_ctrl" protect="rw">
  115937. <bits access="rw" name="en_bbpkg_flg" pos="14" rst="1">
  115938. <comment>BB Newpacket flag enable
  115939. 1'h0:: Disable: the BB Newpacket flag enable
  115940. 1'h1:: Enable: the BB Newpacket flag enable</comment>
  115941. </bits>
  115942. <bits access="rw" name="pckt_sel" pos="13" rst="0">
  115943. <comment>Packet select
  115944. 1'h0:: packet72
  115945. 1'h1:: new_packet</comment>
  115946. </bits>
  115947. <bits access="rw" name="ct_u_gfsk" pos="12:9" rst="10">
  115948. <comment>gfsk u_err 10/32</comment>
  115949. </bits>
  115950. <bits access="rw" name="ct_u_1_gfsk" pos="8:4" rst="28">
  115951. <comment>gfsk u_dc 4/512</comment>
  115952. </bits>
  115953. <bits access="rw" name="ct_u_sp_gfsk" pos="3:0" rst="9">
  115954. <comment>gfsk ct_u_sp for rx demod</comment>
  115955. </bits>
  115956. </reg>
  115957. <reg name="dpsk_demod_sw" protect="rw">
  115958. <bits access="rw" name="ct_u_patch" pos="15:13" rst="1">
  115959. <comment>Switch err_in_patch for bt_dsp rx demod</comment>
  115960. </bits>
  115961. <bits access="rw" name="ct_u_dpsk" pos="12:9" rst="8">
  115962. <comment>dpsk u_err 8/32</comment>
  115963. </bits>
  115964. <bits access="rw" name="ct_u_1_dpsk" pos="8:4" rst="5">
  115965. <comment>dpsk u_dc 5/64</comment>
  115966. </bits>
  115967. <bits access="rw" name="ct_u_sp_dpsk" pos="3:0" rst="9">
  115968. <comment>Switch dpsk ct_u for bt_dsp rx demod</comment>
  115969. </bits>
  115970. </reg>
  115971. <reg name="min_phase_err" protect="rw">
  115972. <bits access="rw" name="min_error_th" pos="15:0" rst="3318">
  115973. <comment>Set the minimum phase error for rx demod.</comment>
  115974. </bits>
  115975. </reg>
  115976. <reg name="afc_ctrl" protect="rw">
  115977. <bits access="rw" name="sel_afc_gfskdem" pos="15:14" rst="2">
  115978. <comment>Select the GFSK AFC of demod</comment>
  115979. </bits>
  115980. <bits access="rw" name="sel_afc_dpskseek" pos="13:12" rst="2">
  115981. <comment>Select the DPSK AFC of demod</comment>
  115982. </bits>
  115983. <bits access="rw" name="rsvd1" pos="11:10" rst="0">
  115984. <comment>RESERVED</comment>
  115985. </bits>
  115986. <bits access="rw" name="th_gfsk_dem" pos="9:0" rst="41">
  115987. <comment>GFSK demod threshold</comment>
  115988. </bits>
  115989. </reg>
  115990. <reg name="dpsk_gfsk_smp_th" protect="rw">
  115991. <bits access="rw" name="diff_enable_dpsk" pos="15" rst="0">
  115992. <comment>DPSK diff enable
  115993. 1'h0:: Disable
  115994. 1'h1:: Enable</comment>
  115995. </bits>
  115996. <bits access="rw" name="diff_enable_gfsk" pos="14" rst="0">
  115997. <comment>GFSK diff enable
  115998. 1'h0:: Disable
  115999. 1'h1:: Enable</comment>
  116000. </bits>
  116001. <bits access="rw" name="sp_th_sel_dpsk" pos="13:12" rst="0">
  116002. <comment>DPSK sample threshold for demod</comment>
  116003. </bits>
  116004. <bits access="rw" name="sp_th_sel_gfsk" pos="11:10" rst="0">
  116005. <comment>GFSK sample threshold for demod</comment>
  116006. </bits>
  116007. <bits access="rw" name="th_gfsk_dem2" pos="9:0" rst="10">
  116008. <comment>GFSK sample 2nd threshold for demod</comment>
  116009. </bits>
  116010. </reg>
  116011. <reg name="dpsk_gfsk_smp_th_1" protect="rw">
  116012. <bits access="rw" name="ref_a2_sek" pos="9:0" rst="111">
  116013. <comment>gfsk sample reference a2 for demod</comment>
  116014. </bits>
  116015. </reg>
  116016. <reg name="gfsk_smp_ref_ctrl" protect="rw">
  116017. <bits access="rw" name="ref_a1_sek" pos="15:8" rst="25">
  116018. <comment>GFSK sample reference a1 for demod</comment>
  116019. </bits>
  116020. <bits access="rw" name="ref_a3_sek" pos="7:0" rst="25">
  116021. <comment>GFSK sample reference a3 for demod</comment>
  116022. </bits>
  116023. </reg>
  116024. <reg name="gfsk_smp_ref_ctrl_1" protect="rw">
  116025. <bits access="rw" name="rsvd2" pos="15:14" rst="1">
  116026. <comment>RESERVED</comment>
  116027. </bits>
  116028. <bits access="rw" name="guard_time_conf" pos="13:9" rst="1">
  116029. <comment>tx guard timing delay to switch amp in ramp_gain_tx; counter in 13M</comment>
  116030. </bits>
  116031. <bits access="rw" name="dc_ct2" pos="8:0" rst="32">
  116032. <comment>RESERVED</comment>
  116033. </bits>
  116034. </reg>
  116035. <reg name="rateconv_ctrl1" protect="rw">
  116036. <bits access="rw" name="dc_ct" pos="15:7" rst="136">
  116037. <comment>DC Cancle ct code for demod</comment>
  116038. </bits>
  116039. <bits access="rw" name="dac_test_en" pos="6" rst="0">
  116040. <comment>DAC Test Enable
  116041. 1'h0 dac data is 52m_tx IQ
  116042. 1'h1 dac data depends on dac_data_sel</comment>
  116043. </bits>
  116044. <bits access="rw" name="dac_data_sel" pos="5:0" rst="0">
  116045. <comment>DAC Data Mux Select
  116046. 6'b000000:: tx_52m_i: tx_52m_q
  116047. 6'b000001:: tx_26m_i: tx_26m_q
  116048. 6'b000010:: iqim_cancel_i: iqim_cancel_q
  116049. 6'b000011:: tx_13m_i: tx_13m_q
  116050. 6'b000100:: mixer_tx_i: mixer_tx_q
  116051. 6'b000101:: accu_tx: blend_tx
  116052. 6'b000110:: gfilter_tx: diff_tx
  116053. 6'b000111:: ampm_am: ampm_pm
  116054. 6'b001000:: cordic_tx_amp: cordic_tx_ang
  116055. 6'b001001:: symbol2iq_tx_i: symbol2iq_tx_q
  116056. 6'b001010:: tx_test_data0: tx_test_data1
  116057. 6'b100000:: angle: angle_rc
  116058. 6'b100001:: adc_data_i: adc_data_q
  116059. 6'b100010:: adc_din_i: adc_din_q
  116060. 6'b100011:: lpf_i: lpf_q
  116061. 6'b100100:: rateconv_i: rateconv_q
  116062. 6'b100101:: calib_i: calib_q
  116063. 6'b100110:: dc_calib_i: dc_calib_q
  116064. 6'b100111:: cancel_flt_i: cancel_flt_q
  116065. 6'b101000:: notch_i: notch_q
  116066. 6'b101001:: gain_i: gain_q
  116067. 6'b101010:: ble_mux_i: ble_mux_q
  116068. 6'b101011:: mixer_i: mixer_q
  116069. 6'b101100:: srrc_i: srrc_q
  116070. 6'b101101:: mixer_i_13_0: mixer_q[13:0]
  116071. 6'b101110:: srrc_i_11_0: srrc_q[11:0]
  116072. 6'b101111:: err_gfsk: err_dpsk
  116073. 6'b110000:: afc_gfsk: afc_in
  116074. 6'b110001:: angle_offset: angle_offset1
  116075. 6'b110010:: rssi_out: rssi_out
  116076. 6'b110011:: rx_test_data0: rx_test_data1
  116077. 6'b110100:: rx_test_data2: rx_test_data3</comment>
  116078. </bits>
  116079. </reg>
  116080. <reg name="rateconv_ctrl2" protect="rw">
  116081. <bits access="rw" name="sel_rssi_src_post" pos="16" rst="0">
  116082. <comment>1'b1::SRRC RSSI input data from mixer output data
  116083. 1'b0::SRRC RSSI input data from SRRC output data</comment>
  116084. </bits>
  116085. <bits access="rw" name="sel_rssi_src_pre" pos="15" rst="1">
  116086. <comment>1'b1::mixer RSSI input data from mixer output data
  116087. 1'b0::mixer RSSI input data from SRRC output data</comment>
  116088. </bits>
  116089. <bits access="rw" name="rssi_sel" pos="14:13" rst="0">
  116090. <comment>2'h0::rssi_out = rssi_out_noise_pre
  116091. 2'h1::rssi_out = rssi_out_noise_post
  116092. 2'h2::rssi_out = rssi_out_pre
  116093. 2'h3::rssi_out = rssi_out_post</comment>
  116094. </bits>
  116095. <bits access="rw" name="rssi_tm_th_post" pos="12:7" rst="60">
  116096. <comment>after SRRC RSSI threshold</comment>
  116097. </bits>
  116098. <bits access="rw" name="dc_hold_edr_en" pos="6" rst="1">
  116099. <comment>DC cancle1 edr dc hold enable</comment>
  116100. </bits>
  116101. <bits access="rw" name="rssi_tm_th_pre" pos="5:0" rst="60">
  116102. <comment>before SRRC RSSI threshold</comment>
  116103. </bits>
  116104. </reg>
  116105. <reg name="demod_smp_ctrl" protect="rw">
  116106. <bits access="rw" name="ini_rst_th" pos="15:10" rst="1">
  116107. <comment>Count sample threshold reset for demod.</comment>
  116108. </bits>
  116109. <bits access="rw" name="ref_ready_th" pos="9:4" rst="0">
  116110. <comment>GFSK iph th reference for demod.</comment>
  116111. </bits>
  116112. <bits access="rw" name="cnt_sample_ini" pos="3:0" rst="5">
  116113. <comment>Sample point initial value</comment>
  116114. </bits>
  116115. </reg>
  116116. <reg name="agc_ctrl" protect="rw">
  116117. <bits access="rw" name="mix_guard_th" pos="15:10" rst="1">
  116118. <comment>Guard time length threshold for demod</comment>
  116119. </bits>
  116120. <bits access="rw" name="dpsk_seek_st_cnt" pos="9:5" rst="10">
  116121. <comment>DPSK Seek Start Count</comment>
  116122. </bits>
  116123. <bits access="rw" name="agc_en_fix7" pos="4" rst="1">
  116124. <comment>Fix7 enable during demod
  116125. 1'h0:: Disable
  116126. 1'h1:: Enable</comment>
  116127. </bits>
  116128. <bits access="rw" name="agc_mod_fix7" pos="3" rst="0">
  116129. <comment>Fix7 mode select during bt dsp demod
  116130. 1'h0:: threshold_2
  116131. 1'h1:: threshold_3</comment>
  116132. </bits>
  116133. <bits access="rw" name="agc_sinc_over_en" pos="2" rst="0">
  116134. <comment>Rounding enable after sinc.
  116135. 1'h0:: Disable
  116136. 1'h1:: Enable</comment>
  116137. </bits>
  116138. <bits access="rw" name="agc_sinc_over_th" pos="1:0" rst="1">
  116139. <comment>Threshold of Rounding after sinc.</comment>
  116140. </bits>
  116141. </reg>
  116142. <reg name="agc_th_ctrl1" protect="rw">
  116143. <bits access="rw" name="agc_th_max" pos="15:8" rst="96">
  116144. <comment>AGC maximum threshold for demod</comment>
  116145. </bits>
  116146. <bits access="rw" name="agc_th_min" pos="7:0" rst="24">
  116147. <comment>AGC minimum threshold for demod</comment>
  116148. </bits>
  116149. </reg>
  116150. <reg name="agc_th_ctrl2" protect="rw">
  116151. <bits access="rw" name="agc_th_max_lg" pos="15:8" rst="220">
  116152. <comment>AGC maximum large threshold for demod</comment>
  116153. </bits>
  116154. <bits access="rw" name="agc_th_min_lg" pos="7:0" rst="40">
  116155. <comment>AGC minimum large threshold for demod</comment>
  116156. </bits>
  116157. </reg>
  116158. <reg name="agc_ctrl1" protect="rw">
  116159. <bits access="rw" name="agc_ct_th_min" pos="14" rst="0">
  116160. <comment>AGC minimum threshold for demod</comment>
  116161. </bits>
  116162. <bits access="rw" name="agc_en_lg_stp" pos="13" rst="1">
  116163. <comment>AGC logarithmic step enable for demod
  116164. 1'h0:: Disable
  116165. 1'h1:: Enable</comment>
  116166. </bits>
  116167. <bits access="rw" name="agc_step_mode" pos="12:11" rst="1">
  116168. <comment>AGC step mode for demod
  116169. 2'b00:: AGC_step_1
  116170. 2'b01:: AGC_step_2
  116171. 2'b10:: AGC_step_3
  116172. 2'b11:: AGC_step_4</comment>
  116173. </bits>
  116174. <bits access="rw" name="agc_step_over" pos="10:9" rst="2">
  116175. <comment>AGC step over</comment>
  116176. </bits>
  116177. <bits access="rw" name="agc_en_dly" pos="8:6" rst="6">
  116178. <comment>Delay timer count enable
  116179. 3'b000:: Delay_0us
  116180. 3'b001:: Delay_0p5us
  116181. 3'b010:: Delay_1us
  116182. 3'b011:: Delay_2us
  116183. 3'b100:: Delay_3us
  116184. 3'b101:: Delay_4us
  116185. 3'b110:: Delay_6us
  116186. 3'b111:: Delay_8us</comment>
  116187. </bits>
  116188. <bits access="rw" name="agc_index_ini_dsp" pos="5:2" rst="15">
  116189. <comment>AGC gain index initial value for bt dsp</comment>
  116190. </bits>
  116191. <bits access="rw" name="agc_mod_dem" pos="1:0" rst="3">
  116192. <comment>Demod mode select</comment>
  116193. </bits>
  116194. </reg>
  116195. <reg name="agc_ctrl2" protect="rw">
  116196. <bits access="rw" name="agc_th_min_gn" pos="15:14" rst="1">
  116197. <comment>AGC minimum threshold gain select for demod
  116198. 2'b00:: Gain_2
  116199. 2'b01:: Gain_4
  116200. 2'b10:: Gain_8
  116201. 2'b11:: Gain_16</comment>
  116202. </bits>
  116203. <bits access="rw" name="agc_tm_intv" pos="13:7" rst="24">
  116204. <comment>AGCtm_intv_int initial value for demod</comment>
  116205. </bits>
  116206. <bits access="rw" name="agc_tm_intv_lg" pos="6:0" rst="48">
  116207. <comment>AGC tm_intv_int logarithmic initial value for demod</comment>
  116208. </bits>
  116209. </reg>
  116210. <reg name="agc_dgc_ctrl" protect="rw">
  116211. <bits access="rw" name="sel_reg_agc" pos="15" rst="1">
  116212. <comment>AGC index select
  116213. 1'h0:: dgc_index_dsp
  116214. 1'h1:: dgc_index_mx</comment>
  116215. </bits>
  116216. <bits access="rw" name="dgc_index_dsp" pos="14:12" rst="0">
  116217. <comment>DGC gain index</comment>
  116218. </bits>
  116219. <bits access="rw" name="dgc_index_max" pos="11:9" rst="4">
  116220. <comment>Maximum agc gain index</comment>
  116221. </bits>
  116222. <bits access="rw" name="pass_newpacket_sel" pos="8" rst="0">
  116223. <comment>Newpacket select for demod
  116224. 1'h0 If newpacket from BB has one zero byte, select GID for demod, else select newpacket from BB
  116225. 1'h1 Select newpacket from BB</comment>
  116226. </bits>
  116227. <bits access="rw" name="newpacket_zero_wd_cnt" pos="7:6" rst="0">
  116228. <comment>Newpacket zero bytes number
  116229. 2'b00 If the 1st byte of newpacket is zero,
  116230. newpacket_bb_sel is logic high, else low
  116231. 2'b01 If the 1st &amp; 2nd byte of newpacket is zero,
  116232. newpacket_bb_sel is logic high, else low
  116233. 2'b10 If the 1st &amp; 2nd &amp; 3rd byte of newpacket is zero,
  116234. newpacket_bb_sel is logic high, else low
  116235. 2'b11 If the 1st &amp; 2nd &amp; 3rd &amp;4th byte of newpacket is zero, newpacket_bb_sel is logic high, else low</comment>
  116236. </bits>
  116237. <bits access="rw" name="agc_mode_dsp" pos="2:0" rst="4">
  116238. <comment>AGC mode for dsp
  116239. 3'h0:: Normal
  116240. 3'h1:: RESERVED
  116241. 3'h2:: Hold_after_timer
  116242. 3'h3:: fix_to_index_ini
  116243. 3'h4:: Hold_by_FSM
  116244. 3'h5:: Th_large_mode: select by FSM
  116245. others RESERVED</comment>
  116246. </bits>
  116247. </reg>
  116248. <reg name="agc_dccal_ctrl" protect="rw">
  116249. <bits access="rw" name="agc_tm_wait" pos="15:11" rst="7">
  116250. <comment>AGC hold waiting time length</comment>
  116251. </bits>
  116252. <bits access="rw" name="agc_tm_hold" pos="10:6" rst="10">
  116253. <comment>AGC hold time length</comment>
  116254. </bits>
  116255. <bits access="r" name="rx_dc_cal_done" pos="3" rst="0">
  116256. <comment>RX DC Calibration Done</comment>
  116257. </bits>
  116258. <bits access="rw" name="dc_cal_rx_dly" pos="2:1" rst="1">
  116259. <comment>RX DC Calibration Delay for 1 loop
  116260. 2'h0:: 0p6ms
  116261. 2'h1:: 1p2ms
  116262. 2'h2:: 2p4ms
  116263. 2'h3:: 4p8ms</comment>
  116264. </bits>
  116265. <bits access="rw" name="rx_fix_dcofst" pos="0" rst="0">
  116266. <comment>DC offset fix select for rx
  116267. 1'h0:: by_calib: DC offset data set by calibration
  116268. 1'h1:: by_reg: DC offset data set by register</comment>
  116269. </bits>
  116270. </reg>
  116271. <reg name="rx_dccal_ctrl" protect="rw">
  116272. <bits access="rw" name="rx_dc_cali_i_fix" pos="25:16" rst="0">
  116273. <comment>RX DC fixed offset data for I path when if_fix_dcofst is 1; otherwise use the auto calc values.</comment>
  116274. </bits>
  116275. <bits access="rw" name="rx_dc_cali_q_fix" pos="9:0" rst="0">
  116276. <comment>RX DC fixed offset data for Q path when if_fix_dcofst is 1; otherwise use the auto calc values.</comment>
  116277. </bits>
  116278. </reg>
  116279. <reg name="rx_dcofst_inuse" protect="r">
  116280. <bits access="r" name="rx_dcoffset_i" pos="25:16" rst="0">
  116281. <comment>rx dc offset for dc calibration; selected from dc_cali_i_fix &amp; dc_i2d_work_i</comment>
  116282. </bits>
  116283. <bits access="r" name="rx_dcoffset_q" pos="9:0" rst="0">
  116284. <comment>rx dc offset for dc calibration; selected from dc_cali_q_fix &amp; dc_i2d_work_q</comment>
  116285. </bits>
  116286. </reg>
  116287. <reg name="tx_dc_calib" protect="rw">
  116288. <bits access="r" name="tx_dc_cal_done" pos="15" rst="0">
  116289. <comment>TX Calibration Done</comment>
  116290. </bits>
  116291. <bits access="r" name="tx_cal_out_i" pos="14" rst="0">
  116292. <comment>tx calib out i</comment>
  116293. </bits>
  116294. <bits access="r" name="tx_cal_out_q" pos="13" rst="0">
  116295. <comment>tx calib out q</comment>
  116296. </bits>
  116297. <bits access="rw" name="tx_fix_dcofst" pos="12" rst="0">
  116298. <comment>Fix TX DC Offset</comment>
  116299. </bits>
  116300. <bits access="rw" name="tx_cal_cnt" pos="11:10" rst="2">
  116301. <comment>TX Calibration Step Counters for 25KHz
  116302. 2'b00:: 0p125_range
  116303. 2'b01:: 0p25_range
  116304. 2'b10:: 0p5_range
  116305. 2'b11:: full_range</comment>
  116306. </bits>
  116307. <bits access="rw" name="tx_cal_cmp_pol" pos="9" rst="0">
  116308. <comment>TX Calibration Comparison Polarity</comment>
  116309. </bits>
  116310. <bits access="rw" name="tx_cal_pol" pos="8" rst="1">
  116311. <comment>TX Calibration Offset Polarity
  116312. 0:: no_switch: the polarity of TX calibration offset
  116313. 1:: switch: the polarity of TX calibration offset</comment>
  116314. </bits>
  116315. <bits access="rw" name="tx_cal_sel" pos="7:6" rst="0">
  116316. <comment>TX Calibration Selection
  116317. 2'b00:: mean: (tx_cal1 + tx_cal2)/2
  116318. 2'b01:: tx_cal1
  116319. 2'b10:: tx_cal2</comment>
  116320. </bits>
  116321. <bits access="rw" name="tx_cal_shift" pos="5:4" rst="2">
  116322. <comment>TX Calibration Offset Shift
  116323. 2'b00:: x4: left shift by 2 bits
  116324. 2'b01:: x2: left shift by 1 bit
  116325. 2'b10:: x1: no shift</comment>
  116326. </bits>
  116327. <bits access="rw" name="tx_apc" pos="3:1" rst="7">
  116328. <comment>TX Gain Table Pointer during work</comment>
  116329. </bits>
  116330. <bits access="rw" name="bypass_tx_cal" pos="0" rst="0">
  116331. <comment>Bypass TX Calibration Offset
  116332. 1'b0:: not_bypass
  116333. 1'b1:: bypass</comment>
  116334. </bits>
  116335. </reg>
  116336. <reg name="tx_fix_i_dcofst" protect="rw">
  116337. <bits access="rw" name="tx_dc_idata_fix" pos="11:0" rst="0">
  116338. <comment>Fixed TX I Signed Data for DC offset</comment>
  116339. </bits>
  116340. </reg>
  116341. <reg name="tx_fix_q_dcofst" protect="rw">
  116342. <bits access="rw" name="tx_dc_qdata_fix" pos="11:0" rst="0">
  116343. <comment>TX Q Signed Data for DC offset</comment>
  116344. </bits>
  116345. </reg>
  116346. <reg name="tx_i_dcofst_inuse" protect="r">
  116347. <bits access="r" name="dc_cal_tx_idata" pos="11:0" rst="0">
  116348. <comment>TX I Signed Data offset in use</comment>
  116349. </bits>
  116350. </reg>
  116351. <reg name="tx_q_dcofst_inuse" protect="r">
  116352. <bits access="r" name="dc_cal_tx_qdata" pos="11:0" rst="0">
  116353. <comment>TX Q Signed Data offset in use</comment>
  116354. </bits>
  116355. </reg>
  116356. <reg name="rssi_gain_ctrl1" protect="rw">
  116357. <bits access="rw" name="rssi_ana_gain0000" pos="15:8" rst="9">
  116358. <comment>RSSI gain 0000</comment>
  116359. </bits>
  116360. <bits access="rw" name="rssi_ana_gain0001" pos="7:0" rst="19">
  116361. <comment>ARSSI gain 0001</comment>
  116362. </bits>
  116363. </reg>
  116364. <reg name="rssi_gain_ctrl2" protect="rw">
  116365. <bits access="rw" name="rssi_ana_gain0010" pos="15:8" rst="27">
  116366. <comment>RSSI gain 0010</comment>
  116367. </bits>
  116368. <bits access="rw" name="rssi_ana_gain0011" pos="7:0" rst="35">
  116369. <comment>ARSSI gain 0011</comment>
  116370. </bits>
  116371. </reg>
  116372. <reg name="rssi_gain_ctrl3" protect="rw">
  116373. <bits access="rw" name="rssi_ana_gain0100" pos="15:8" rst="41">
  116374. <comment>RSSI gain 0100</comment>
  116375. </bits>
  116376. <bits access="rw" name="rssi_ana_gain0101" pos="7:0" rst="49">
  116377. <comment>ARSSI gain 0101</comment>
  116378. </bits>
  116379. </reg>
  116380. <reg name="rssi_gain_ctrl4" protect="rw">
  116381. <bits access="rw" name="rssi_ana_gain0110" pos="15:8" rst="55">
  116382. <comment>RSSI gain 0110</comment>
  116383. </bits>
  116384. <bits access="rw" name="rssi_ana_gain0111" pos="7:0" rst="63">
  116385. <comment>ARSSI gain 0111</comment>
  116386. </bits>
  116387. </reg>
  116388. <reg name="rssi_gain_ctrl5" protect="rw">
  116389. <bits access="rw" name="rssi_ana_gain1000" pos="15:8" rst="9">
  116390. <comment>RSSI gain 1000</comment>
  116391. </bits>
  116392. <bits access="rw" name="rssi_ana_gain1001" pos="7:0" rst="19">
  116393. <comment>ARSSI gain 1001</comment>
  116394. </bits>
  116395. </reg>
  116396. <reg name="rssi_gain_ctrl6" protect="rw">
  116397. <bits access="rw" name="rssi_ana_gain1010" pos="15:8" rst="27">
  116398. <comment>RSSI gain 1010</comment>
  116399. </bits>
  116400. <bits access="rw" name="rssi_ana_gain1011" pos="7:0" rst="35">
  116401. <comment>ARSSI gain 1011</comment>
  116402. </bits>
  116403. </reg>
  116404. <reg name="rssi_gain_ctrl7" protect="rw">
  116405. <bits access="rw" name="rssi_ana_gain1100" pos="15:8" rst="41">
  116406. <comment>RSSI gain 1100</comment>
  116407. </bits>
  116408. <bits access="rw" name="rssi_ana_gain1101" pos="7:0" rst="49">
  116409. <comment>ARSSI gain 1101</comment>
  116410. </bits>
  116411. </reg>
  116412. <reg name="rssi_gain_ctrl8" protect="rw">
  116413. <bits access="rw" name="rssi_ana_gain1110" pos="15:8" rst="55">
  116414. <comment>RSSI gain 1110</comment>
  116415. </bits>
  116416. <bits access="rw" name="rssi_ana_gain1111" pos="7:0" rst="63">
  116417. <comment>ARSSI gain 1111</comment>
  116418. </bits>
  116419. </reg>
  116420. <reg name="modem_tpd_sel" protect="rw">
  116421. <bits access="rw" name="dac_clk_force_en" pos="9" rst="0">
  116422. <comment>DAC Clock Force Enable while rx data to dac</comment>
  116423. </bits>
  116424. <bits access="rw" name="tpd_clk_sel" pos="8" rst="0">
  116425. <comment>Test Ports Clock Select
  116426. 0:: clk_rx
  116427. 1:: clk_tx</comment>
  116428. </bits>
  116429. <bits access="rw" name="tpd_data_sel" pos="7:4" rst="0">
  116430. <comment>Test Ports Data Select
  116431. 4'h0:: dac_data_i
  116432. 4'h1:: dac_data_q
  116433. 4'h2:: dout_tx_i_sum
  116434. 4'h3:: dout_tx_q_sum
  116435. 4'h4:: dout_tx_dac_i: depends on dac_data_sel
  116436. 4'h5:: dout_tx_dac_q
  116437. 4'h6:: dout_rx_dac_i
  116438. 4'h7:: dout_rx_dac_q
  116439. 4'h8:: dout_tx_dac_i_13m: by en_tx_13m
  116440. 4'h9:: dout_tx_dac_q_13m: by en_tx_13m
  116441. 4'ha:: dout_rx_dac_i_13m: by en_rx_13m
  116442. 4'hb:: dout_rx_dac_q_13m: by en_rx_13m
  116443. 4'hc:: dout_rx_dac_i_14m: by en_rx_14m
  116444. 4'hd:: dout_rx_dac_q_14m: by en_rx_14m
  116445. 4'he:: dout_tx_dac_i_26m: by en_tx_26m
  116446. 4'hf:: dout_tx_dac_q_26m: by en_tx_26m</comment>
  116447. </bits>
  116448. <bits access="rw" name="tpd_trig_sel" pos="3:0" rst="0">
  116449. <comment>Test Ports Trigger Select
  116450. 4'h0:: dem_st_chg
  116451. 4'h1:: agc_st_chg
  116452. 4'h2:: agc_flg_dem
  116453. 4'h3:: ble_access_rb
  116454. 4'h4:: if_peak
  116455. 4'h5:: if_seeked_all
  116456. 4'h6:: seek_en
  116457. 4'h7:: flg_getsymbol
  116458. 4'h8:: tx_symbol_off_gfsk
  116459. 4'h9:: tx_amp_sel
  116460. 4'ha:: tx_flg_start</comment>
  116461. </bits>
  116462. </reg>
  116463. <reg name="demod_smp_th_ctrl" protect="rw">
  116464. <bits access="rw" name="dem_sp_th2" pos="15:8" rst="162">
  116465. <comment>Demod sample threshold2</comment>
  116466. </bits>
  116467. <bits access="rw" name="dem_sp_th1" pos="7:0" rst="64">
  116468. <comment>Demod sample threshold1</comment>
  116469. </bits>
  116470. </reg>
  116471. <reg name="newpacket_byte4" protect="rw">
  116472. <bits access="rw" name="newpacket_4" pos="15:0" rst="49152">
  116473. <comment>The 4th byte newpacket for demod when sel_sync(register_41[13]) is 1</comment>
  116474. </bits>
  116475. </reg>
  116476. <reg name="newpacket_byte3" protect="rw">
  116477. <bits access="rw" name="newpacket_3" pos="15:0" rst="26214">
  116478. <comment>The 3rd byte newpacket for demod when sel_sync(register_41[13]) is 1</comment>
  116479. </bits>
  116480. </reg>
  116481. <reg name="newpacket_byte2" protect="rw">
  116482. <bits access="rw" name="newpacket_2" pos="15:0" rst="13107">
  116483. <comment>The 2nd byte newpacket for demod when sel_sync(register_41[13]) is 1</comment>
  116484. </bits>
  116485. </reg>
  116486. <reg name="newpacket_byte1" protect="rw">
  116487. <bits access="rw" name="newpacket_1" pos="15:0" rst="21845">
  116488. <comment>The 1st byte newpacket for demod when sel_sync(register_41[13]) is 1</comment>
  116489. </bits>
  116490. </reg>
  116491. <reg name="gfsk_mod_ctrl" protect="rw">
  116492. <bits access="rw" name="rssi_ct_u_post" pos="18:16" rst="4">
  116493. <comment>SRRC RSSI gain control</comment>
  116494. </bits>
  116495. <bits access="rw" name="bt_mod" pos="15" rst="1">
  116496. <comment>Bluetooth GFSK modulation filter select</comment>
  116497. </bits>
  116498. <bits access="rw" name="rssi_ct_u_pre" pos="14:12" rst="4">
  116499. <comment>MIXER RSSI gain control</comment>
  116500. </bits>
  116501. <bits access="rw" name="ref_a2_dem" pos="9:0" rst="117">
  116502. <comment>GFSK demod a2 reference for rx demod</comment>
  116503. </bits>
  116504. </reg>
  116505. <reg name="gfsk_mod_ref_ctrl" protect="rw">
  116506. <bits access="rw" name="ref_a1_dem" pos="15:8" rst="22">
  116507. <comment>GFSK demod a1 reference for rx demod</comment>
  116508. </bits>
  116509. <bits access="rw" name="ref_a3_dem" pos="7:0" rst="22">
  116510. <comment>GFSK demod a3 reference for rx demod</comment>
  116511. </bits>
  116512. </reg>
  116513. <reg name="sym_dly_ctrl" protect="rw">
  116514. <bits access="rw" name="ramp_speed_gfsk" pos="13" rst="0">
  116515. <comment>GFSK ramp speed select
  116516. 1'h0:: Slow
  116517. 1'h1:: Fast</comment>
  116518. </bits>
  116519. <bits access="rw" name="delay_gfsk_off" pos="12:9" rst="8">
  116520. <comment>GFSK symbol end flag delay, with 13MHz clk step</comment>
  116521. </bits>
  116522. <bits access="rw" name="delay_gfsk_off_1m" pos="8:6" rst="4">
  116523. <comment>GFSK symbol end flag delay, with 1MHz clk step</comment>
  116524. </bits>
  116525. <bits access="rw" name="delay_dpsk_1m" pos="5:3" rst="0">
  116526. <comment>DPSK symbol delay, with 1MHz clk step</comment>
  116527. </bits>
  116528. <bits access="rw" name="delay_gfsk_1m" pos="2:0" rst="0">
  116529. <comment>GFSK symbol delay, with 1MHz clk step</comment>
  116530. </bits>
  116531. </reg>
  116532. <reg name="rssi_out2" protect="r">
  116533. <bits access="r" name="rssi_noise_out_post" pos="25:16" rst="0">
  116534. <comment>after SRRC RSSI noise out</comment>
  116535. </bits>
  116536. <bits access="r" name="rssi_noise_out_pre" pos="9:0" rst="0">
  116537. <comment>after mixer before SRRC RSSI noise out</comment>
  116538. </bits>
  116539. </reg>
  116540. <reg name="trx_clk_ctrl" protect="rw">
  116541. <bits access="rw" name="swch_clk_52m_rx" pos="14" rst="0">
  116542. <comment>Switch the clk edge to sample rf ADC data
  116543. 1'h0:: negedge: to sample the RF ADC data
  116544. 1'h1:: posedge: to sample the RF ADC data</comment>
  116545. </bits>
  116546. <bits access="rw" name="tx_rx_dir" pos="13" rst="0">
  116547. <comment>TX/RX direction
  116548. 1'h0:: by_hw: TX/RX flag setting by deleying resetn_dsp_tx
  116549. 1'h1:: by_reg: TX/RX flag setting by register</comment>
  116550. </bits>
  116551. <bits access="rw" name="tx_rx_reg" pos="12" rst="0">
  116552. <comment>TX/RX flag
  116553. 1'h0:: RX
  116554. 1'h1:: TX</comment>
  116555. </bits>
  116556. <bits access="rw" name="apc_switch_mode" pos="9:6" rst="3">
  116557. <comment>RESERVED</comment>
  116558. </bits>
  116559. </reg>
  116560. <reg name="iq_swap_ctrl" protect="rw">
  116561. <bits access="rw" name="swch_clk_52m_tx" pos="15" rst="1">
  116562. <comment>TX link 52M clk edge switch
  116563. 1'h0:: Not_Switch
  116564. 1'h1:: Switch</comment>
  116565. </bits>
  116566. <bits access="rw" name="iq_swap_gain2" pos="14" rst="0">
  116567. <comment>Digital gain2 output I/Q swap
  116568. 1'h0:: Not_Swap
  116569. 1'h1:: Swap</comment>
  116570. </bits>
  116571. <bits access="rw" name="iq_swap_lpf" pos="13" rst="0">
  116572. <comment>Rate converter LPF filter output I/Q swap
  116573. 1'h0:: Not_Swap
  116574. 1'h1:: Swap</comment>
  116575. </bits>
  116576. <bits access="rw" name="iq_swap_srrc" pos="12" rst="0">
  116577. <comment>SRRC filter output I/Q swap
  116578. 1'h0:: Not_Swap
  116579. 1'h1:: Swap</comment>
  116580. </bits>
  116581. <bits access="rw" name="lpf_en_1" pos="6" rst="1">
  116582. <comment>Low Pass Filter Enable in Channel Group1
  116583. 1'h0:: bypass
  116584. 1'h1:: enable</comment>
  116585. </bits>
  116586. <bits access="rw" name="rate_conv_en_1" pos="5" rst="1">
  116587. <comment>Rate Converter Enable in Channel Group1
  116588. 1'h0:: bypass
  116589. 1'h1:: enable</comment>
  116590. </bits>
  116591. <bits access="rw" name="notch_en_1" pos="4" rst="1">
  116592. <comment>Notch Filter Enable in Channel Group1
  116593. 1'h0:: bypass
  116594. 1'h1:: enable</comment>
  116595. </bits>
  116596. <bits access="rw" name="lpf_en_0" pos="2" rst="1">
  116597. <comment>Low Pass Filter Enable in Channel Group0
  116598. 1'h0:: bypass
  116599. 1'h1:: enable</comment>
  116600. </bits>
  116601. <bits access="rw" name="rate_conv_en_0" pos="1" rst="0">
  116602. <comment>Rate Converter Enable in Channel Group0
  116603. 1'h0:: bypass
  116604. 1'h1:: enable</comment>
  116605. </bits>
  116606. <bits access="rw" name="notch_en_0" pos="0" rst="0">
  116607. <comment>Notch Filter Enable in Channel Group0
  116608. 1'h0:: bypass
  116609. 1'h1:: enable</comment>
  116610. </bits>
  116611. </reg>
  116612. <reg name="gfsk_sync_ctrl" protect="rw">
  116613. <bits access="rw" name="dynamic_sync_en" pos="10" rst="0">
  116614. <comment>Dynamic sync enable for demod of rx link
  116615. 1'h0:: static
  116616. 1'h1:: Dynamic</comment>
  116617. </bits>
  116618. <bits access="rw" name="dynamic_sync_th" pos="9:0" rst="0">
  116619. <comment>Dynamic sync threshold</comment>
  116620. </bits>
  116621. </reg>
  116622. <reg name="gfsk_demod_ctrl" protect="rw">
  116623. <bits access="rw" name="min_error_th2" pos="15:0" rst="0">
  116624. <comment>The 2nd minimum sync phase error threshold</comment>
  116625. </bits>
  116626. </reg>
  116627. <reg name="gfsk_mod_idx" protect="rw">
  116628. <bits access="rw" name="h_gain" pos="15:0" rst="12704">
  116629. <comment>GFSK modulation index</comment>
  116630. </bits>
  116631. </reg>
  116632. <reg name="dpsk_gfsk_misc_ctrl" protect="rw">
  116633. <bits access="rw" name="iq_swap_tx" pos="15" rst="0">
  116634. <comment>Tx link IQ swap
  116635. 1'h0:: Not_swap
  116636. 1'h1:: Swap</comment>
  116637. </bits>
  116638. <bits access="rw" name="dly_ct_gfsk" pos="11:9" rst="7">
  116639. <comment>GFSK delay after gfsk modulation</comment>
  116640. </bits>
  116641. <bits access="rw" name="dly_ct_dpsk" pos="8:6" rst="1">
  116642. <comment>DPSK delay after dpsk modulation</comment>
  116643. </bits>
  116644. <bits access="rw" name="dly_ct_amp" pos="5:3" rst="4">
  116645. <comment>DPSK amplitude delay after dpsk modulation</comment>
  116646. </bits>
  116647. </reg>
  116648. <reg name="modem_dbm_sel" protect="rw">
  116649. <bits access="rw" name="dbm_data_sel" pos="4:0" rst="0">
  116650. <comment>Debug Master Data Select
  116651. 5'h0:: gfilter_tx_dout
  116652. 5'h1:: symbol2iq_tx_dout_q: symbol2iq_tx_dout_i
  116653. 5'h2:: cordic_tx_amp_dout: cordic_tx_angle_dout
  116654. 5'h3:: ampm_tx_dout_am: ampm_tx_dout_pm
  116655. 5'h4:: diff_tx_dout
  116656. 5'h5:: freq_blend_tx_dout
  116657. 5'h6:: intigrate_tx_dout
  116658. 5'h7:: cordic_iq_tx_dout_q: cordic_iq_tx_dout_i
  116659. 5'h8:: dout_tx_13m_q: dout_tx_13m_i
  116660. 5'h9:: iqim_cancel_dout_q: iqim_cancel_dout_i
  116661. 5'ha:: dout_tx_26m_q: dout_tx_26m_i
  116662. 5'hb:: dout_tx_52m_q: dout_tx_52m_i
  116663. 5'hc:: dac_grp_bit_q_outp: dac_grp_bit_i_outp
  116664. 5'h10:: adc_data_q: adc_data_i
  116665. 5'h11:: adc_din_q: adc_din_i
  116666. 5'h12:: lpf_q: lpf_i
  116667. 5'h13:: rateconv_q: rateconv_i
  116668. 5'h14:: calib_q: calib_i
  116669. 5'h15:: dc_calib_q: dc_calib_i
  116670. 5'h16:: cancel_flt_i: cancel_flt_q
  116671. 5'h17:: notch_q: notch_i
  116672. 5'h18:: gain_q: gain_i
  116673. 5'h19:: ble_mux_q: ble_mux_i
  116674. 5'h1a:: mixer_q: mixer_i
  116675. 5'h1b:: srrc_q: srrc_i
  116676. 5'h1c:: rssi_out
  116677. 5'h1d:: angle_rc: angle
  116678. 5'h1e:: angle_offset1: angle_offset
  116679. 5'h1f:: err_dpsk: err_gfsk</comment>
  116680. </bits>
  116681. </reg>
  116682. <reg name="gfsk_mod_idx_le" protect="rw">
  116683. <bits access="rw" name="h_gain_le" pos="15:0" rst="20165">
  116684. <comment>GFSK modulation index for BLE mode</comment>
  116685. </bits>
  116686. </reg>
  116687. <reg name="newpacket_byte4_inuse" protect="r">
  116688. <bits access="r" name="newpacket_dsp4" pos="15:0" rst="32368">
  116689. <comment>newpacket byte 4 inuse; selected from newpacket_reg, GID &amp; newpacket_bb</comment>
  116690. </bits>
  116691. </reg>
  116692. <reg name="newpacket_byte3_inuse" protect="r">
  116693. <bits access="r" name="newpacket_dsp3" pos="15:0" rst="16867">
  116694. <comment>newpacket byte 3 inuse; selected from newpacket_reg, GID &amp; newpacket_bb</comment>
  116695. </bits>
  116696. </reg>
  116697. <reg name="newpacket_byte2_inuse" protect="r">
  116698. <bits access="r" name="newpacket_dsp2" pos="15:0" rst="16384">
  116699. <comment>newpacket byte 2 inuse; selected from newpacket_reg, GID &amp; newpacket_bb</comment>
  116700. </bits>
  116701. </reg>
  116702. <reg name="newpacket_byte1_inuse" protect="r">
  116703. <bits access="r" name="newpacket_dsp1" pos="15:0" rst="13">
  116704. <comment>newpacket byte 1 inuse; selected from newpacket_reg, GID &amp; newpacket_bb</comment>
  116705. </bits>
  116706. </reg>
  116707. <reg name="le_mode_ctrl1" protect="rw">
  116708. <bits access="rw" name="ref_a1_sek_le" pos="15:8" rst="40">
  116709. <comment>??</comment>
  116710. </bits>
  116711. <bits access="rw" name="ref_a1_dem_le" pos="7:0" rst="35">
  116712. <comment>??</comment>
  116713. </bits>
  116714. </reg>
  116715. <reg name="le_mode_ctrl2" protect="rw">
  116716. <bits access="rw" name="ref_a2_sek_le" pos="15:8" rst="176">
  116717. <comment>??</comment>
  116718. </bits>
  116719. <bits access="rw" name="ref_a2_dem_le" pos="7:0" rst="186">
  116720. <comment>??</comment>
  116721. </bits>
  116722. </reg>
  116723. <reg name="le_mode_ctrl3" protect="rw">
  116724. <bits access="rw" name="ref_a3_sek_le" pos="15:8" rst="40">
  116725. <comment>??</comment>
  116726. </bits>
  116727. <bits access="rw" name="ref_a3_dem_le" pos="7:0" rst="35">
  116728. <comment>??</comment>
  116729. </bits>
  116730. </reg>
  116731. <reg name="le_mode_ctrl4" protect="rw">
  116732. <bits access="rw" name="min_error_th_le" pos="15:0" rst="2334">
  116733. <comment>??</comment>
  116734. </bits>
  116735. </reg>
  116736. <reg name="le_mode_ctrl5" protect="rw">
  116737. <bits access="rw" name="rsvd5" pos="15:14" rst="0">
  116738. <comment>RESERVED</comment>
  116739. </bits>
  116740. <bits access="rw" name="ref_point_sel_le" pos="13:12" rst="2">
  116741. <comment>??</comment>
  116742. </bits>
  116743. <bits access="rw" name="mix_guard_th_le" pos="11:6" rst="4">
  116744. <comment>??</comment>
  116745. </bits>
  116746. <bits access="rw" name="ref_ready_th_le" pos="5:0" rst="3">
  116747. <comment>??</comment>
  116748. </bits>
  116749. </reg>
  116750. <reg name="rf_ctrl" protect="rw">
  116751. <bits access="rw" name="sync_shift_mode" pos="0" rst="0">
  116752. <comment>??</comment>
  116753. </bits>
  116754. </reg>
  116755. <reg name="tx_q_im" protect="rw">
  116756. <bits access="rw" name="tx_iqim_phase_err" pos="14:0" rst="0">
  116757. <comment>Error on Q to reduce IQ mismatch Image</comment>
  116758. </bits>
  116759. </reg>
  116760. <reg name="tx_i_im" protect="rw">
  116761. <bits access="rw" name="tx_iqim_amp_err" pos="14:0" rst="0">
  116762. <comment>Error on I to reduce IQ mismatch Image</comment>
  116763. </bits>
  116764. </reg>
  116765. <reg name="tx_am_p0" protect="rw">
  116766. <bits access="rw" name="pm_shift" pos="14:12" rst="0">
  116767. <comment>PM Compensation Shift</comment>
  116768. </bits>
  116769. <bits access="rw" name="pm_comp_bypass" pos="11" rst="1">
  116770. <comment>PM Compensation Bypass
  116771. 1'b0:: enable
  116772. 1'b1:: bypass</comment>
  116773. </bits>
  116774. <bits access="rw" name="am_comp_bypass" pos="10" rst="1">
  116775. <comment>AM Compensation Bypass
  116776. 1'b0:: enable
  116777. 1'b1:: bypass</comment>
  116778. </bits>
  116779. <bits access="rw" name="am_p0" pos="9:0" rst="0">
  116780. <comment>AMAM Compensation Coef0</comment>
  116781. </bits>
  116782. </reg>
  116783. <reg name="tx_am_p1" protect="rw">
  116784. <bits access="rw" name="am_p1" pos="9:0" rst="0">
  116785. <comment>AMAM Compensation Coef1</comment>
  116786. </bits>
  116787. </reg>
  116788. <reg name="tx_am_p2" protect="rw">
  116789. <bits access="rw" name="am_p2" pos="9:0" rst="0">
  116790. <comment>AMAM Compensation Coef2</comment>
  116791. </bits>
  116792. </reg>
  116793. <reg name="tx_am_p3" protect="rw">
  116794. <bits access="rw" name="am_p3" pos="9:0" rst="0">
  116795. <comment>AMAM Compensation Coef3</comment>
  116796. </bits>
  116797. </reg>
  116798. <reg name="tx_am_p4" protect="rw">
  116799. <bits access="rw" name="am_p4" pos="9:0" rst="0">
  116800. <comment>AMAM Compensation Coef4</comment>
  116801. </bits>
  116802. </reg>
  116803. <reg name="tx_am_p5" protect="rw">
  116804. <bits access="rw" name="am_p5" pos="9:0" rst="0">
  116805. <comment>AMAM Compensation Coef5</comment>
  116806. </bits>
  116807. </reg>
  116808. <reg name="tx_am_p6" protect="rw">
  116809. <bits access="rw" name="am_p6" pos="9:0" rst="0">
  116810. <comment>AMAM Compensation Coef6</comment>
  116811. </bits>
  116812. </reg>
  116813. <reg name="tx_am_p7" protect="rw">
  116814. <bits access="rw" name="am_p7" pos="9:0" rst="0">
  116815. <comment>AMAM Compensation Coef7</comment>
  116816. </bits>
  116817. </reg>
  116818. <reg name="tx_am_p8" protect="rw">
  116819. <bits access="rw" name="am_p8" pos="9:0" rst="0">
  116820. <comment>AMAM Compensation Coef8</comment>
  116821. </bits>
  116822. </reg>
  116823. <reg name="tx_am_p9" protect="rw">
  116824. <bits access="rw" name="am_p9" pos="9:0" rst="0">
  116825. <comment>AMAM Compensation Coef9</comment>
  116826. </bits>
  116827. </reg>
  116828. <reg name="tx_am_p10" protect="rw">
  116829. <bits access="rw" name="am_p10" pos="9:0" rst="0">
  116830. <comment>AMAM Compensation Coef10</comment>
  116831. </bits>
  116832. </reg>
  116833. <reg name="tx_am_p11" protect="rw">
  116834. <bits access="rw" name="am_p11" pos="9:0" rst="0">
  116835. <comment>AMAM Compensation Coef11</comment>
  116836. </bits>
  116837. </reg>
  116838. <reg name="tx_am_p12" protect="rw">
  116839. <bits access="rw" name="am_p12" pos="9:0" rst="0">
  116840. <comment>AMAM Compensation Coef12</comment>
  116841. </bits>
  116842. </reg>
  116843. <reg name="tx_am_p13" protect="rw">
  116844. <bits access="rw" name="am_p13" pos="9:0" rst="0">
  116845. <comment>AMAM Compensation Coef13</comment>
  116846. </bits>
  116847. </reg>
  116848. <reg name="tx_am_p14" protect="rw">
  116849. <bits access="rw" name="am_p14" pos="9:0" rst="0">
  116850. <comment>AMAM Compensation Coef14</comment>
  116851. </bits>
  116852. </reg>
  116853. <reg name="tx_am_p15" protect="rw">
  116854. <bits access="rw" name="am_p15" pos="9:0" rst="0">
  116855. <comment>AMAM Compensation Coef15</comment>
  116856. </bits>
  116857. </reg>
  116858. <reg name="tx_am_p16" protect="rw">
  116859. <bits access="rw" name="am_p16" pos="9:0" rst="0">
  116860. <comment>AMAM Compensation Coef16</comment>
  116861. </bits>
  116862. </reg>
  116863. <reg name="tx_pm_p0" protect="rw">
  116864. <bits access="rw" name="pm_p0" pos="9:0" rst="0">
  116865. <comment>AMPM Compensation Coef0</comment>
  116866. </bits>
  116867. </reg>
  116868. <reg name="tx_pm_p1" protect="rw">
  116869. <bits access="rw" name="pm_p1" pos="9:0" rst="0">
  116870. <comment>AMPM Compensation Coef1</comment>
  116871. </bits>
  116872. </reg>
  116873. <reg name="tx_pm_p2" protect="rw">
  116874. <bits access="rw" name="pm_p2" pos="9:0" rst="0">
  116875. <comment>AMPM Compensation Coef2</comment>
  116876. </bits>
  116877. </reg>
  116878. <reg name="tx_pm_p3" protect="rw">
  116879. <bits access="rw" name="pm_p3" pos="9:0" rst="0">
  116880. <comment>AMPM Compensation Coef3</comment>
  116881. </bits>
  116882. </reg>
  116883. <reg name="tx_pm_p4" protect="rw">
  116884. <bits access="rw" name="pm_p4" pos="9:0" rst="0">
  116885. <comment>AMPM Compensation Coef4</comment>
  116886. </bits>
  116887. </reg>
  116888. <reg name="tx_pm_p5" protect="rw">
  116889. <bits access="rw" name="pm_p5" pos="9:0" rst="0">
  116890. <comment>AMPM Compensation Coef5</comment>
  116891. </bits>
  116892. </reg>
  116893. <reg name="tx_pm_p6" protect="rw">
  116894. <bits access="rw" name="pm_p6" pos="9:0" rst="0">
  116895. <comment>AMPM Compensation Coef6</comment>
  116896. </bits>
  116897. </reg>
  116898. <reg name="tx_pm_p7" protect="rw">
  116899. <bits access="rw" name="pm_p7" pos="9:0" rst="0">
  116900. <comment>AMPM Compensation Coef7</comment>
  116901. </bits>
  116902. </reg>
  116903. <reg name="tx_pm_p8" protect="rw">
  116904. <bits access="rw" name="pm_p8" pos="9:0" rst="0">
  116905. <comment>AMPM Compensation Coef8</comment>
  116906. </bits>
  116907. </reg>
  116908. <reg name="tx_pm_p9" protect="rw">
  116909. <bits access="rw" name="pm_p9" pos="9:0" rst="0">
  116910. <comment>AMPM Compensation Coef9</comment>
  116911. </bits>
  116912. </reg>
  116913. <reg name="tx_pm_p10" protect="rw">
  116914. <bits access="rw" name="pm_p10" pos="9:0" rst="0">
  116915. <comment>AMPM Compensation Coef10</comment>
  116916. </bits>
  116917. </reg>
  116918. <reg name="tx_pm_p11" protect="rw">
  116919. <bits access="rw" name="pm_p11" pos="9:0" rst="0">
  116920. <comment>AMPM Compensation Coef11</comment>
  116921. </bits>
  116922. </reg>
  116923. <reg name="tx_pm_p12" protect="rw">
  116924. <bits access="rw" name="pm_p12" pos="9:0" rst="0">
  116925. <comment>AMPM Compensation Coef12</comment>
  116926. </bits>
  116927. </reg>
  116928. <reg name="tx_pm_p13" protect="rw">
  116929. <bits access="rw" name="pm_p13" pos="9:0" rst="0">
  116930. <comment>AMPM Compensation Coef13</comment>
  116931. </bits>
  116932. </reg>
  116933. <reg name="tx_pm_p14" protect="rw">
  116934. <bits access="rw" name="pm_p14" pos="9:0" rst="0">
  116935. <comment>AMPM Compensation Coef14</comment>
  116936. </bits>
  116937. </reg>
  116938. <reg name="tx_pm_p15" protect="rw">
  116939. <bits access="rw" name="pm_p15" pos="9:0" rst="0">
  116940. <comment>AMPM Compensation Coef15</comment>
  116941. </bits>
  116942. </reg>
  116943. <reg name="tx_pm_p16" protect="rw">
  116944. <bits access="rw" name="pm_p16" pos="9:0" rst="0">
  116945. <comment>AMPM Compensation Coef16</comment>
  116946. </bits>
  116947. </reg>
  116948. <reg name="notch_coef" protect="rw">
  116949. <bits access="rw" name="notch_b" pos="13:0" rst="15347">
  116950. <comment>Notch Filter Coefficient B</comment>
  116951. </bits>
  116952. </reg>
  116953. <reg name="adapt_edr3_demod" protect="rw">
  116954. <bits access="rw" name="notch_a" pos="15:12" rst="12">
  116955. <comment>Notch Filter Coefficient A</comment>
  116956. </bits>
  116957. <bits access="rw" name="edr3_adapt_en" pos="9" rst="0">
  116958. <comment>EDR3 Adapt Demodulation Enable
  116959. 1'b0:: disable
  116960. 1'b1:: enable</comment>
  116961. </bits>
  116962. <bits access="rw" name="ct_u_dpsk1" pos="8:5" rst="2">
  116963. <comment>second u_err of the dpsk 2/32</comment>
  116964. </bits>
  116965. <bits access="rw" name="ct_u_1_dpsk1" pos="4:0" rst="26">
  116966. <comment>second u_dc of the dpsk 2/512</comment>
  116967. </bits>
  116968. </reg>
  116969. <reg name="adapt_edr3_thresh" protect="rw">
  116970. <bits access="rw" name="edr3_adapt_th" pos="11:0" rst="20">
  116971. <comment>EDR3 Adapt Demodulation Threshold</comment>
  116972. </bits>
  116973. </reg>
  116974. <reg name="tx_auto_gain1_gfsk" protect="rw">
  116975. <bits access="rw" name="tx_auto_gain_gfsk7" pos="15:12" rst="9">
  116976. <comment>auto gfsk digital gain high 4bits. Tx_power=3'h7</comment>
  116977. </bits>
  116978. <bits access="rw" name="tx_auto_gain_gfsk6" pos="11:8" rst="9">
  116979. <comment>auto gfsk digital gain high 4bits. Tx_power=3'h6</comment>
  116980. </bits>
  116981. <bits access="rw" name="tx_auto_gain_gfsk5" pos="7:4" rst="9">
  116982. <comment>auto gfsk digital gain high 4bits. Tx_power=3'h5</comment>
  116983. </bits>
  116984. <bits access="rw" name="tx_auto_gain_gfsk4" pos="3:0" rst="9">
  116985. <comment>auto gfsk digital gain high 4bits. Tx_power=3'h4</comment>
  116986. </bits>
  116987. </reg>
  116988. <reg name="tx_auto_gain0_gfsk" protect="rw">
  116989. <bits access="rw" name="tx_auto_gain_gfsk3" pos="15:12" rst="9">
  116990. <comment>auto gfsk digital gain high 4bits. Tx_power=3'h3</comment>
  116991. </bits>
  116992. <bits access="rw" name="tx_auto_gain_gfsk2" pos="11:8" rst="9">
  116993. <comment>auto gfsk digital gain high 4bits. Tx_power=3'h2</comment>
  116994. </bits>
  116995. <bits access="rw" name="tx_auto_gain_gfsk1" pos="7:4" rst="9">
  116996. <comment>auto gfsk digital gain high 4bits. Tx_power=3'h1</comment>
  116997. </bits>
  116998. <bits access="rw" name="tx_auto_gain_gfsk0" pos="3:0" rst="9">
  116999. <comment>auto gfsk digital gain high 4bits. Tx_power=3'h0</comment>
  117000. </bits>
  117001. </reg>
  117002. <reg name="tx_auto_gain1_gfsk_edr" protect="rw">
  117003. <bits access="rw" name="tx_auto_gain_gfsk_edr7" pos="15:12" rst="7">
  117004. <comment>auto gfsk edr digital gain high 4bits. Tx_power=3'h7</comment>
  117005. </bits>
  117006. <bits access="rw" name="tx_auto_gain_gfsk_edr6" pos="11:8" rst="7">
  117007. <comment>auto gfsk edr digital gain high 4bits. Tx_power=3'h6</comment>
  117008. </bits>
  117009. <bits access="rw" name="tx_auto_gain_gfsk_edr5" pos="7:4" rst="7">
  117010. <comment>auto gfsk edr digital gain high 4bits. Tx_power=3'h5</comment>
  117011. </bits>
  117012. <bits access="rw" name="tx_auto_gain_gfsk_edr4" pos="3:0" rst="7">
  117013. <comment>auto gfsk edr digital gain high 4bits. Tx_power=3'h4</comment>
  117014. </bits>
  117015. </reg>
  117016. <reg name="tx_auto_gain0_gfsk_edr" protect="rw">
  117017. <bits access="rw" name="tx_auto_gain_gfsk_edr3" pos="15:12" rst="7">
  117018. <comment>auto gfsk edr digital gain high 4bits. Tx_power=3'h3</comment>
  117019. </bits>
  117020. <bits access="rw" name="tx_auto_gain_gfsk_edr2" pos="11:8" rst="7">
  117021. <comment>auto gfsk edr digital gain high 4bits. Tx_power=3'h2</comment>
  117022. </bits>
  117023. <bits access="rw" name="tx_auto_gain_gfsk_edr1" pos="7:4" rst="7">
  117024. <comment>auto gfsk edr digital gain high 4bits. Tx_power=3'h1</comment>
  117025. </bits>
  117026. <bits access="rw" name="tx_auto_gain_gfsk_edr0" pos="3:0" rst="7">
  117027. <comment>auto gfsk edr digital gain high 4bits. Tx_power=3'h0</comment>
  117028. </bits>
  117029. </reg>
  117030. <reg name="tx_auto_gain1_dpsk" protect="rw">
  117031. <bits access="rw" name="tx_auto_gain_dpsk7" pos="15:12" rst="13">
  117032. <comment>auto dpsk digital gain high 4bits. Tx_power=3'h7</comment>
  117033. </bits>
  117034. <bits access="rw" name="tx_auto_gain_dpsk6" pos="11:8" rst="13">
  117035. <comment>auto dpsk digital gain high 4bits. Tx_power=3'h6</comment>
  117036. </bits>
  117037. <bits access="rw" name="tx_auto_gain_dpsk5" pos="7:4" rst="13">
  117038. <comment>auto dpsk digital gain high 4bits. Tx_power=3'h5</comment>
  117039. </bits>
  117040. <bits access="rw" name="tx_auto_gain_dpsk4" pos="3:0" rst="13">
  117041. <comment>auto dpsk digital gain high 4bits. Tx_power=3'h4</comment>
  117042. </bits>
  117043. </reg>
  117044. <reg name="tx_auto_gain0_dpsk" protect="rw">
  117045. <bits access="rw" name="tx_auto_gain_dpsk3" pos="15:12" rst="13">
  117046. <comment>auto dpsk digital gain high 4bits. Tx_power=3'h3</comment>
  117047. </bits>
  117048. <bits access="rw" name="tx_auto_gain_dpsk2" pos="11:8" rst="13">
  117049. <comment>auto dpsk digital gain high 4bits. Tx_power=3'h2</comment>
  117050. </bits>
  117051. <bits access="rw" name="tx_auto_gain_dpsk1" pos="7:4" rst="13">
  117052. <comment>auto dpsk digital gain high 4bits. Tx_power=3'h1</comment>
  117053. </bits>
  117054. <bits access="rw" name="tx_auto_gain_dpsk0" pos="3:0" rst="13">
  117055. <comment>auto dpsk digital gain high 4bits. Tx_power=3'h0</comment>
  117056. </bits>
  117057. </reg>
  117058. <reg name="gfsk_mod_eql_gain" protect="rw">
  117059. <bits access="rw" name="equ_g_gfsk" pos="15:0" rst="807">
  117060. <comment>GFSK modulation equalization gain</comment>
  117061. </bits>
  117062. </reg>
  117063. <reg name="tx_lfp_delay_ctrl" protect="rw">
  117064. <bits access="rw" name="dly_ct_freq2" pos="14:12" rst="5">
  117065. <comment>Phase path delay number 2, with 26MHz clk step</comment>
  117066. </bits>
  117067. <bits access="rw" name="dly_ct_freq1" pos="10:8" rst="5">
  117068. <comment>Phase path delay number 1, with 26MHz clk step</comment>
  117069. </bits>
  117070. <bits access="rw" name="lpfil_freq_tx_bypass" pos="6" rst="0">
  117071. <comment>GFSK Low pass filter bypass
  117072. 1'h0 Not bypass
  117073. 1'h1 bypass
  117074. Note:
  117075. IQ Tx mode: register_c9[5:4]=00
  117076. Polar Loop &amp; IQ Tx mode: register_c9[5:4]=01
  117077. All Polar Loop Tx mode: register_c9[5:4]=11</comment>
  117078. </bits>
  117079. <bits access="rw" name="lpfil_freq_tx_enable" pos="5" rst="0">
  117080. <comment>GFSK low pass filter enable
  117081. 1'h0: Enable LPFil, output low pass gfsk signal
  117082. 1'h1: Disable LPFil, output is zero</comment>
  117083. </bits>
  117084. <bits access="rw" name="lpfil_freq_tx_bw_ct" pos="4:0" rst="8">
  117085. <comment>GFSK low pass filter pass band width select
  117086. 1: lpfil_freq_tx_bw_ct[4]=0
  117087. BW = 100K + lpfil_freq_tx_bw_ct* 20
  117088. 2: lpfil_freq_tx_bw_ct[4]=1
  117089. BW = 50K</comment>
  117090. </bits>
  117091. </reg>
  117092. <reg name="tx_hfp_delay" protect="rw">
  117093. <bits access="rw" name="dly_sel_freq" pos="14:12" rst="5">
  117094. <comment>Delay of the gfsk and dpsk mixed phase</comment>
  117095. </bits>
  117096. <bits access="rw" name="dly_ct_iq1" pos="10:8" rst="5">
  117097. <comment>I/Q path delay number 1, with 26MHz clk step</comment>
  117098. </bits>
  117099. <bits access="rw" name="dly_ct_iq2" pos="6:4" rst="5">
  117100. <comment>I/Q path delay number 2, with 26MHz clk step</comment>
  117101. </bits>
  117102. <bits access="rw" name="dly_ct_freq_high" pos="2:0" rst="3">
  117103. <comment>High frequency path delay</comment>
  117104. </bits>
  117105. </reg>
  117106. <reg name="tx_polar_mode_ctl" protect="rw">
  117107. <bits access="rw" name="tx_tmp_dly" pos="4:2" rst="3">
  117108. <comment>amp tmp delay</comment>
  117109. </bits>
  117110. <bits access="rw" name="tx_polar_mode_sel" pos="1" rst="1">
  117111. <comment>tx polar modulation mode selected
  117112. 1'b0::phase mode
  117113. 1'b1::frequency mode</comment>
  117114. </bits>
  117115. <bits access="rw" name="tx_apf_bypass" pos="0" rst="1">
  117116. <comment>tx polar modulation all pass filter bypass ctl
  117117. 1'b1::bypass
  117118. 1'b0::no bypass</comment>
  117119. </bits>
  117120. </reg>
  117121. <reg name="tx_apf_num_b1" protect="rw">
  117122. <bits access="rw" name="num_coe_b1" pos="13:0" rst="2273">
  117123. <comment>tx polar modulation apf num coe-2.14</comment>
  117124. </bits>
  117125. </reg>
  117126. <reg name="tx_apf_num_b2" protect="rw">
  117127. <bits access="rw" name="num_coe_b2" pos="13:0" rst="2273">
  117128. <comment>tx polar modulation apf num coe</comment>
  117129. </bits>
  117130. </reg>
  117131. <reg name="tx_apf_num_b3" protect="rw">
  117132. <bits access="rw" name="num_coe_b3" pos="13:0" rst="2273">
  117133. <comment>tx polar modulation apf num coe</comment>
  117134. </bits>
  117135. </reg>
  117136. <reg name="tx_apf_num_b4" protect="rw">
  117137. <bits access="rw" name="num_coe_b4" pos="13:0" rst="4096">
  117138. <comment>tx polar modulation apf num coe</comment>
  117139. </bits>
  117140. </reg>
  117141. <reg name="tx_apf_den_a2" protect="rw">
  117142. <bits access="rw" name="den_coe_a2" pos="13:0" rst="2273">
  117143. <comment>tx polar modulation apf den coe-2.14</comment>
  117144. </bits>
  117145. </reg>
  117146. <reg name="tx_apf_den_a3" protect="rw">
  117147. <bits access="rw" name="den_coe_a3" pos="13:0" rst="2273">
  117148. <comment>tx polar modulation apf den coe</comment>
  117149. </bits>
  117150. </reg>
  117151. <reg name="tx_apf_den_a4" protect="rw">
  117152. <bits access="rw" name="den_coe_a4" pos="13:0" rst="2273">
  117153. <comment>tx polar modulation apf den coe</comment>
  117154. </bits>
  117155. </reg>
  117156. <reg name="adapt_edr3_cci" protect="rw">
  117157. <bits access="rw" name="ct_u_errsum" pos="15:13" rst="4">
  117158. <comment>ErrSum beta coef
  117159. 3'h0:: 1div2
  117160. 3'h1:: 1div4
  117161. 3'h2:: 1div8
  117162. 3'h3:: 1div16
  117163. 3'h4:: 1div32
  117164. 3'h5:: 1div64</comment>
  117165. </bits>
  117166. <bits access="rw" name="ct_u_dpsk2" pos="8:5" rst="8">
  117167. <comment>third u_err of the dpsk 8/32</comment>
  117168. </bits>
  117169. <bits access="rw" name="ct_u_1_dpsk2" pos="4:0" rst="25">
  117170. <comment>third u_dc of the dpsk 1/512</comment>
  117171. </bits>
  117172. </reg>
  117173. </module>
  117174. </archive>
  117175. <archive relative="wcn_cache_ctrl.xml">
  117176. <module category="wcn" name="WCN_CACHE_CTRL">
  117177. <reg name="bus_cfg0" protect="rw">
  117178. <bits access="rw" name="rf_blk_prot_en7" pos="23" rst="0">
  117179. <comment>0: block7, protect disabled or access permitted
  117180. 1: block7, protect enabled or access forbidden</comment>
  117181. </bits>
  117182. <bits access="rw" name="rf_blk_prot_en6" pos="22" rst="0">
  117183. <comment>0: block6, protect disabled or access permitted
  117184. 1: block6, protect enabled or access forbidden</comment>
  117185. </bits>
  117186. <bits access="rw" name="rf_blk_prot_en5" pos="21" rst="0">
  117187. <comment>0: block5, protect disabled or access permitted
  117188. 1: block5, protect enabled or access forbidden</comment>
  117189. </bits>
  117190. <bits access="rw" name="rf_blk_prot_en4" pos="20" rst="0">
  117191. <comment>0: block4, protect disabled or access permitted
  117192. 1: block4, protect enabled or access forbidden</comment>
  117193. </bits>
  117194. <bits access="rw" name="rf_blk_prot_en3" pos="19" rst="0">
  117195. <comment>0: block3, protect disabled or access permitted
  117196. 1: block3, protect enabled or access forbidden</comment>
  117197. </bits>
  117198. <bits access="rw" name="rf_blk_prot_en2" pos="18" rst="0">
  117199. <comment>0: block2, protect disabled or access permitted
  117200. 1: block2, protect enabled or access forbidden</comment>
  117201. </bits>
  117202. <bits access="rw" name="rf_blk_prot_en1" pos="17" rst="0">
  117203. <comment>0: block1, protect disabled or access permitted
  117204. 1: block1, protect enabled or access forbidden</comment>
  117205. </bits>
  117206. <bits access="rw" name="rf_blk_prot_en0" pos="16" rst="0">
  117207. <comment>0: block0, protect disabled or access permitted
  117208. 1: block0, protect enabled or access forbidden</comment>
  117209. </bits>
  117210. <bits access="rw" name="rf_blk_remap_en7" pos="15" rst="0">
  117211. <comment>0: block7, cache remap disabled
  117212. 1: block7, cache remap enabled</comment>
  117213. </bits>
  117214. <bits access="rw" name="rf_blk_remap_en6" pos="14" rst="0">
  117215. <comment>0: block6, cache remap disabled
  117216. 1: block6, cache remap enabled</comment>
  117217. </bits>
  117218. <bits access="rw" name="rf_blk_remap_en5" pos="13" rst="0">
  117219. <comment>0: block5, cache remap disabled
  117220. 1: block5, cache remap enabled</comment>
  117221. </bits>
  117222. <bits access="rw" name="rf_blk_remap_en4" pos="12" rst="0">
  117223. <comment>0: block4, cache remap disabled
  117224. 1: block4, cache remap enabled</comment>
  117225. </bits>
  117226. <bits access="rw" name="rf_blk_remap_en3" pos="11" rst="0">
  117227. <comment>0: block3, cache remap disabled
  117228. 1: block3, cache remap enabled</comment>
  117229. </bits>
  117230. <bits access="rw" name="rf_blk_remap_en2" pos="10" rst="0">
  117231. <comment>0: block2, cache remap disabled
  117232. 1: block2, cache remap enabled</comment>
  117233. </bits>
  117234. <bits access="rw" name="rf_blk_remap_en1" pos="9" rst="0">
  117235. <comment>0: block1, cache remap disabled
  117236. 1: block1, cache remap enabled</comment>
  117237. </bits>
  117238. <bits access="rw" name="rf_blk_remap_en0" pos="8" rst="0">
  117239. <comment>0: block0, cache remap disabled
  117240. 1: block0, cache remap enabled</comment>
  117241. </bits>
  117242. <bits access="rw" name="rf_blk_cache_en7" pos="7" rst="0">
  117243. <comment>0: block7, cache disabled
  117244. 1: block7, cache enabled</comment>
  117245. </bits>
  117246. <bits access="rw" name="rf_blk_cache_en6" pos="6" rst="0">
  117247. <comment>0: block6, cache disabled
  117248. 1: block6, cache enabled</comment>
  117249. </bits>
  117250. <bits access="rw" name="rf_blk_cache_en5" pos="5" rst="0">
  117251. <comment>0: block5, cache disabled
  117252. 1: block5, cache enabled</comment>
  117253. </bits>
  117254. <bits access="rw" name="rf_blk_cache_en4" pos="4" rst="0">
  117255. <comment>0: block4, cache disabled
  117256. 1: block4, cache enabled</comment>
  117257. </bits>
  117258. <bits access="rw" name="rf_blk_cache_en3" pos="3" rst="0">
  117259. <comment>0: block3, cache disabled
  117260. 1: block3, cache enabled</comment>
  117261. </bits>
  117262. <bits access="rw" name="rf_blk_cache_en2" pos="2" rst="0">
  117263. <comment>0: block2, cache disabled
  117264. 1: block2, cache enabled</comment>
  117265. </bits>
  117266. <bits access="rw" name="rf_blk_cache_en1" pos="1" rst="0">
  117267. <comment>0: block1, cache disabled
  117268. 1: block1, cache enabled</comment>
  117269. </bits>
  117270. <bits access="rw" name="rf_blk_cache_en0" pos="0" rst="0">
  117271. <comment>0: block0, cache disabled
  117272. 1: block0, cache enabled</comment>
  117273. </bits>
  117274. </reg>
  117275. <reg name="bus_cfg1" protect="rw">
  117276. <bits access="rw" name="rf_blk_base_addr1" pos="27:12" rst="0">
  117277. <comment>block 1 start address</comment>
  117278. </bits>
  117279. </reg>
  117280. <reg name="bus_cfg2" protect="rw">
  117281. <bits access="rw" name="rf_blk_base_addr2" pos="27:12" rst="0">
  117282. <comment>block 2 start address</comment>
  117283. </bits>
  117284. </reg>
  117285. <reg name="bus_cfg3" protect="rw">
  117286. <bits access="rw" name="rf_blk_base_addr3" pos="27:12" rst="0">
  117287. <comment>block 3 start address</comment>
  117288. </bits>
  117289. </reg>
  117290. <reg name="bus_cfg4" protect="rw">
  117291. <bits access="rw" name="rf_blk_base_addr4" pos="27:12" rst="0">
  117292. <comment>block 4 start address</comment>
  117293. </bits>
  117294. </reg>
  117295. <reg name="bus_cfg5" protect="rw">
  117296. <bits access="rw" name="rf_blk_base_addr5" pos="27:12" rst="0">
  117297. <comment>block 5 start address</comment>
  117298. </bits>
  117299. </reg>
  117300. <reg name="bus_cfg6" protect="rw">
  117301. <bits access="rw" name="rf_blk_base_addr6" pos="27:12" rst="0">
  117302. <comment>block 6 start address</comment>
  117303. </bits>
  117304. </reg>
  117305. <reg name="bus_cfg7" protect="rw">
  117306. <bits access="rw" name="rf_blk_base_addr7" pos="27:12" rst="0">
  117307. <comment>block 7 start address</comment>
  117308. </bits>
  117309. </reg>
  117310. <reg name="bus_remap0" protect="rw">
  117311. <bits access="rw" name="rf_blk0_remap_offset0" pos="31:12" rst="0">
  117312. <comment>block 0 remap offset when the block remap function is enabled, the address after remap will be original addr + rf_blk0_remap_offset</comment>
  117313. </bits>
  117314. </reg>
  117315. <reg name="bus_remap1" protect="rw">
  117316. <bits access="rw" name="rf_blk1_remap_offset1" pos="31:12" rst="0">
  117317. <comment>block 1 remap offset when the block remap function is enabled, the address after remap will be original addr + rf_blk1_remap_offset</comment>
  117318. </bits>
  117319. </reg>
  117320. <reg name="bus_remap2" protect="rw">
  117321. <bits access="rw" name="rf_blk2_remap_offset2" pos="31:12" rst="0">
  117322. <comment>block 2 remap offset when the block remap function is enabled, the address after remap will be original addr + rf_blk2_remap_offset</comment>
  117323. </bits>
  117324. </reg>
  117325. <reg name="bus_remap3" protect="rw">
  117326. <bits access="rw" name="rf_blk3_remap_offset3" pos="31:12" rst="0">
  117327. <comment>block 3 remap offset when the block remap function is enabled, the address after remap will be original addr + rf_blk3_remap_offset</comment>
  117328. </bits>
  117329. </reg>
  117330. <reg name="bus_remap4" protect="rw">
  117331. <bits access="rw" name="rf_blk4_remap_offset4" pos="31:12" rst="0">
  117332. <comment>block 4 remap offset when the block remap function is enabled, the address after remap will be original addr + rf_blk4_remap_offset</comment>
  117333. </bits>
  117334. </reg>
  117335. <reg name="bus_remap5" protect="rw">
  117336. <bits access="rw" name="rf_blk5_remap_offset5" pos="31:12" rst="0">
  117337. <comment>block 5 remap offset when the block remap function is enabled, the address after remap will be original addr + rf_blk5_remap_offset</comment>
  117338. </bits>
  117339. </reg>
  117340. <reg name="bus_remap6" protect="rw">
  117341. <bits access="rw" name="rf_blk6_remap_offset6" pos="31:12" rst="0">
  117342. <comment>block 6 remap offset when the block remap function is enabled, the address after remap will be original addr + rf_blk6_remap_offset</comment>
  117343. </bits>
  117344. </reg>
  117345. <reg name="bus_remap7" protect="rw">
  117346. <bits access="rw" name="rf_blk7_remap_offset7" pos="31:12" rst="0">
  117347. <comment>block 7 remap offset when the block remap function is enabled, the address after remap will be original addr + rf_blk7_remap_offset</comment>
  117348. </bits>
  117349. </reg>
  117350. <reg name="cache_cfg0" protect="rw">
  117351. <bits access="rw" name="rf_debug_en" pos="31" rst="0">
  117352. <comment>cache debug mode enable:
  117353. 0: normal mode
  117354. 1: debug mode
  117355. This bit MUST always be cleared during cache operating</comment>
  117356. </bits>
  117357. <bits access="rw" name="rf_cmd_exec_mode" pos="30" rst="0">
  117358. <comment>0: (recommended) software can run in cacheable region during software command processing
  117359. 1: software cannot run in cacheable region during software command processing</comment>
  117360. </bits>
  117361. <bits access="rw" name="rf_cache_size_sel" pos="29:28" rst="0">
  117362. <comment>cache size selection:
  117363. 0: 4K Byte
  117364. 1: 8K Byte
  117365. 2: 16K Byte
  117366. 3: 32K Byte</comment>
  117367. </bits>
  117368. <bits access="rw" name="rf_hprot_cache_reg" pos="13:10" rst="11">
  117369. <comment>hprot control register which provide 4bit hprot for cache ctrl AHB?</comment>
  117370. </bits>
  117371. <bits access="rw" name="rf_hprot_bus_reg" pos="9:6" rst="3">
  117372. <comment>hprot control register which provide 4bit hprot for cache bus AHB</comment>
  117373. </bits>
  117374. <bits access="rw" name="rf_hprot_byp" pos="5:2" rst="0">
  117375. <comment>Bit [5]:
  117376. 1b1: hprot[3] from CM4 go through cache controller without modification
  117377. 1b0: hprot[3] is provided by cache controller register
  117378. Bit [4]:
  117379. 1b1: hprot[2] from CM4 go through cache controller without modification
  117380. 1b0: hprot[2] is provided by cache controller register
  117381. Bit [3]:
  117382. 1b1: hprot[1] from CM4 go through cache controller without modification
  117383. 1b0: hprot[1] is provided by cache controller register
  117384. Bit [2]:
  117385. 1b1: hprot[0] from CM4 go through cache controller without modification
  117386. 1b0: hprot[0] is provided by cache controller register</comment>
  117387. </bits>
  117388. <bits access="rw" name="rf_write_mode" pos="1:0" rst="0">
  117389. <comment>cache write operation mode
  117390. 2b00: write through
  117391. 2b01: write back, no write allocate
  117392. 2b10: write back, write allocate</comment>
  117393. </bits>
  117394. </reg>
  117395. <reg name="bus_sts0" protect="r">
  117396. <bits access="r" name="rf_prot_detect_addr" pos="27:0" rst="0">
  117397. <comment>trigging address for protect block?</comment>
  117398. </bits>
  117399. </reg>
  117400. <reg name="cache_sts0" protect="r">
  117401. <bits access="r" name="rf_write_ongoing" pos="7" rst="0">
  117402. <comment>rf_write_ongoing, this is a status register for write through mode to avoid potential coherence issue.
  117403. 1b1: the cache is still doing AHB write transaction to the main memory and the data is not written into the main memory.
  117404. 1b0: the cache has finished AHB write transaction and the data is written into the main memory.</comment>
  117405. </bits>
  117406. <bits access="r" name="rf_cmd_st" pos="6:4" rst="0">
  117407. <comment>rf_cmd_st</comment>
  117408. </bits>
  117409. <bits access="r" name="rf_cache_st" pos="3:0" rst="0">
  117410. <comment>rf_cache_st</comment>
  117411. </bits>
  117412. </reg>
  117413. <hole size="32"/>
  117414. <reg name="cmd_cfg0" protect="rw">
  117415. <bits access="rw" name="rf_cmd_str_addr" pos="27:0" rst="0">
  117416. <comment>cmd_all : not used
  117417. cmd_range : start address
  117418. cmd_entry : entry address</comment>
  117419. </bits>
  117420. </reg>
  117421. <reg name="cmd_cfg1" protect="rw">
  117422. <bits access="rw" name="rf_cmd_end_addr" pos="27:0" rst="0">
  117423. <comment>cmd_all : not used
  117424. cmd_range : start address
  117425. cmd_entry : entry address</comment>
  117426. </bits>
  117427. </reg>
  117428. <reg name="cmd_cfg2" protect="rw">
  117429. <bits access="w" name="rf_cmd_str" pos="31" rst="0">
  117430. <comment>software command start:
  117431. write 1 to this bit to issue one command</comment>
  117432. </bits>
  117433. <bits access="rw" name="rf_cmd_type" pos="5:0" rst="0">
  117434. <comment>software command type:
  117435. 6h0 : clean all
  117436. 6h1 : clean range
  117437. 6h2 : clean entry
  117438. 6h3 : reserved
  117439. 6h4 : invalid all
  117440. 6h5 : invalid range
  117441. 6h6 : invalid entry
  117442. 6h7 : reserved
  117443. 6h8 : clean and invalid all
  117444. 6h9 : clean and invalid range
  117445. 6hA : clean and invalid entry
  117446. 6hB : reserved</comment>
  117447. </bits>
  117448. </reg>
  117449. <hole size="32"/>
  117450. <reg name="int_en" protect="rw">
  117451. <bits access="rw" name="rf_prot_irq_en" pos="1" rst="0">
  117452. <comment>interrupt enable for protect block trigging?</comment>
  117453. </bits>
  117454. <bits access="rw" name="rf_cmd_irq_en" pos="0" rst="0">
  117455. <comment>interrupt enable for software command done</comment>
  117456. </bits>
  117457. </reg>
  117458. <reg name="int_raw" protect="r">
  117459. <bits access="r" name="rf_prot_irq_raw" pos="1" rst="0">
  117460. <comment>interrupt raw status for protect block trigging</comment>
  117461. </bits>
  117462. <bits access="r" name="rf_cmd_irq_raw" pos="0" rst="0">
  117463. <comment>interrupt raw status for software command done?</comment>
  117464. </bits>
  117465. </reg>
  117466. <reg name="int_mask" protect="r">
  117467. <bits access="r" name="rf_prot_irq_mask" pos="1" rst="0">
  117468. <comment>interrupt masked status for protect block trigging</comment>
  117469. </bits>
  117470. <bits access="r" name="rf_cmd_irq_mask" pos="0" rst="0">
  117471. <comment>interrupt masked status for software command done?</comment>
  117472. </bits>
  117473. </reg>
  117474. <reg name="int_clr" protect="rw">
  117475. <bits access="w" name="rf_prot_irq_clr" pos="1" rst="0">
  117476. <comment>interrupt clear for protect block trigging</comment>
  117477. </bits>
  117478. <bits access="w" name="rf_cmd_irq_clr" pos="0" rst="0">
  117479. <comment>interrupt clear for software command done?</comment>
  117480. </bits>
  117481. </reg>
  117482. <reg name="cache_write_hit_cnt" protect="r">
  117483. <bits access="r" name="rf_write_hit_cnt" pos="31:0" rst="0">
  117484. <comment>Cache write hit times. When cache write hit, the counter value increment by 1</comment>
  117485. </bits>
  117486. </reg>
  117487. <reg name="cache_write_miss_cnt" protect="rw">
  117488. <bits access="w" name="rf_write_cnt_clr" pos="31" rst="0">
  117489. <comment>clear write counter values to zero?</comment>
  117490. </bits>
  117491. <bits access="rw" name="rf_write_cnt_run" pos="30" rst="0">
  117492. <comment>1: write hit/miss counter will run
  117493. 0: write hit/miss counter will stop</comment>
  117494. </bits>
  117495. <bits access="r" name="rf_write_miss_cnt" pos="29:0" rst="0">
  117496. <comment>Cache write hit times. When cache write hit, the counter value increment by 1</comment>
  117497. </bits>
  117498. </reg>
  117499. <reg name="cache_read_hit_cnt" protect="r">
  117500. <bits access="r" name="rf_read_hit_cnt" pos="31:0" rst="0">
  117501. <comment>Cache read hit times. When cache read hit, the counter value increment by 1?</comment>
  117502. </bits>
  117503. </reg>
  117504. <reg name="cache_read_miss_cnt" protect="rw">
  117505. <bits access="w" name="rf_read_cnt_clr" pos="31" rst="0">
  117506. <comment>clear read counter values to zero?</comment>
  117507. </bits>
  117508. <bits access="rw" name="rf_read_cnt_run" pos="30" rst="0">
  117509. <comment>1: read hit/miss counter will run
  117510. 0: read hit/miss counter will stop</comment>
  117511. </bits>
  117512. <bits access="r" name="rf_read_miss_cnt" pos="29:0" rst="0">
  117513. <comment>Cache read miss times. When cache read miss, the counter value increment by 1</comment>
  117514. </bits>
  117515. </reg>
  117516. <reg name="cache_hact_cnt" protect="r">
  117517. <bits access="r" name="rf_hact_cnt" pos="31:0" rst="0">
  117518. <comment>Cache master AHB active cycles in total. When master AHB is active (hsel and htrans[1]), the counter value increment by 1?</comment>
  117519. </bits>
  117520. </reg>
  117521. <reg name="cache_hrdy_cnt" protect="rw">
  117522. <bits access="w" name="rf_hact_hrdy_clr" pos="31" rst="0">
  117523. <comment>clear HACT and HRDY counter values to zero</comment>
  117524. </bits>
  117525. <bits access="rw" name="rf_hact_hrdy_run" pos="30" rst="0">
  117526. <comment>1: HACT and HRDY counters will run
  117527. 0: HACT and HRDY counters will stop</comment>
  117528. </bits>
  117529. <bits access="r" name="rf_hrdys_cnt" pos="29:0" rst="0">
  117530. <comment>The HRDY counter counts the valid cycles of HREADY signal from the cache controller to the master when the master AHB is active. When HREADY signal to the master is high and the master AHB is active, the counter value increment by 1?</comment>
  117531. </bits>
  117532. </reg>
  117533. </module>
  117534. </archive>
  117535. <archive relative="wcn_comregs.xml">
  117536. <module category="wcn" name="WCN_COMREGS">
  117537. <reg name="snapshot" protect="r">
  117538. <bits access="r" name="snapshot" pos="1:0" rst="0">
  117539. <comment>Value of snapshots, snapshot value is automatically incremented at frame interrupt. This snapshot counter wrap at the value given by Snapshot_Cfg</comment>
  117540. </bits>
  117541. </reg>
  117542. <reg name="snapshot_cfg" protect="rw">
  117543. <bits access="r" name="snapshot_cfg_rd" pos="1" rst="0">
  117544. </bits>
  117545. <bits access="rw" name="snapshot_cfg" pos="0" rst="0">
  117546. <comment>number of snapshot</comment>
  117547. </bits>
  117548. </reg>
  117549. <reg name="cause" protect="r">
  117550. <bits access="r" name="irq1_cause" pos="15:8" rst="0">
  117551. <comment>When read from the Xcpu, this return the cause of interruption, basically the set/clear register X_Irq1 part masked with X_Irq1_Mask
  117552. When read from the Bcpu, this return the cause of interruption, basically the set/clear register Irq1 part masked with Irq1_Mask</comment>
  117553. </bits>
  117554. <bits access="r" name="irq0_cause" pos="7:0" rst="0">
  117555. <comment>When read from the Xcpu, this return the cause of interruption, basically the set/clear register Irq0 part masked with Irq0_Mask
  117556. When read from the Bcpu, this return the cause of interruption, basically the set/clear register Irq1 part masked with Irq1_Mask</comment>
  117557. </bits>
  117558. </reg>
  117559. <reg name="mask_set" protect="rw">
  117560. <bits access="r" name="irq1_mask_set" pos="15:8" rst="0">
  117561. <comment>bit type is changed from rs to r.
  117562. When read: returns the value of the Irq1_Mask register.
  117563. When written: value is used as a bit field, each bit at '1' sets the corresponding bit in the Irq1_Mask register, bits at '0' leave the corresponding bit unchanged.
  117564. The Irq1_Mask masks the set/clear register to trigger interrupts on the XCPU/BCPU using line 0</comment>
  117565. </bits>
  117566. <bits access="r" name="irq0_mask_set" pos="7:0" rst="0">
  117567. <comment>bit type is changed from rs to r.
  117568. When read: returns the value of the Irq0_Mask register.
  117569. When written: value is used as a bit field, each bit at '1' sets the corresponding bit in the Irq0_Mask register, bits at '0' leave the corresponding bit unchanged.
  117570. The Irq0_Mask masks the set/clear register to trigger interrupts on the XCPU/BCPU using line 0</comment>
  117571. </bits>
  117572. </reg>
  117573. <reg name="mask_clr" protect="rw">
  117574. <bits access="r" name="irq1_mask_clr" pos="15:8" rst="0">
  117575. <comment>bit type is changed from rc to r.
  117576. When read: returns the value of the Irq1_Mask register.
  117577. When written: value is used as a bit field, each bit at '1' clears the corresponding bit in the Irq1_Mask register, bits at '0' leave the corresponding bit unchanged.
  117578. The Irq1_Mask masks the set/clear register to trigger interrupts on the XCPU/BCPU using line 1</comment>
  117579. </bits>
  117580. <bits access="r" name="irq0_mask_clr" pos="7:0" rst="0">
  117581. <comment>bit type is changed from rc to r.
  117582. When read: returns the value of the Irq0_Mask register.
  117583. When written: value is used as a bit field, each bit at '1' clears the corresponding bit in the Irq0_Mask register, bits at '0' leave the corresponding bit unchanged.
  117584. The Irq0_Mask masks the set/clear register to trigger interrupts on the XCPU/BCPU using line 0</comment>
  117585. </bits>
  117586. </reg>
  117587. <reg name="itreg_set" protect="rw">
  117588. <bits access="r" name="irq1_set" pos="15:8" rst="0">
  117589. <comment>bit type is changed from rs to r.
  117590. When read, returns the value of the set/clear register.
  117591. When written, value is used as a bit field, each bit at '1' sets the corresponding bit in the set/clear register, bits at '0' leave the corresponding bit unchanged.
  117592. These bits can also trigger interrupts on the XCPU/BCPU if enabled</comment>
  117593. </bits>
  117594. <bits access="r" name="irq0_set" pos="7:0" rst="0">
  117595. <comment>bit type is changed from rs to r.
  117596. When read, returns the value of the set/clear register.
  117597. When written, value is used as a bit field, each bit at '1' sets the corresponding bit in the set/clear register, bits at '0' leave the corresponding bit unchanged.
  117598. These bits can also trigger interrupts on the XCPU/BCPU if enabled.</comment>
  117599. </bits>
  117600. </reg>
  117601. <reg name="itreg_clr" protect="rw">
  117602. <bits access="r" name="irq1_clr" pos="15:8" rst="0">
  117603. <comment>bit type is changed from rc to r.
  117604. When read, returns the value of the set/clear register.
  117605. When written, value is used as a bit field, each bit at '1' clears the corresponding bit in the set/clear register, bits at '0' leave the corresponding bit unchanged.
  117606. These bits can also trigger interrupts on the XCPU/BCPU if enabled.</comment>
  117607. </bits>
  117608. <bits access="r" name="irq0_clr" pos="7:0" rst="0">
  117609. <comment>bit type is changed from rc to r.
  117610. When read, returns the value of the set/clear register.
  117611. When written, value is used as a bit field, each bit at '1' clears the corresponding bit in the set/clear register, bits at '0' leave the corresponding bit unchanged.
  117612. These bits can also trigger interrupts on the XCPU/BCPU if enabled</comment>
  117613. </bits>
  117614. </reg>
  117615. </module>
  117616. </archive>
  117617. <archive relative="wcn_dbm.xml">
  117618. <module category="wcn" name="WCN_DBM">
  117619. <reg name="sel" protect="rw">
  117620. <bits access="rw" name="dbm_en" pos="0" rst="0">
  117621. <comment>debug bus master enable</comment>
  117622. </bits>
  117623. </reg>
  117624. <reg name="trans" protect="rw">
  117625. <bits access="rw" name="word_len" pos="31:12" rst="0">
  117626. <comment>transfer word length</comment>
  117627. </bits>
  117628. <bits access="rw" name="data_sel" pos="11:8" rst="0">
  117629. <comment>data selection</comment>
  117630. </bits>
  117631. <bits access="rw" name="dump_trig_sel" pos="7" rst="0">
  117632. <comment>dump trigger selection
  117633. select trigger from soft or hardware</comment>
  117634. </bits>
  117635. <bits access="rw" name="wrap_en" pos="6" rst="0">
  117636. <comment>wrap the whole fifo, when EOF, keep on write by the start addr</comment>
  117637. </bits>
  117638. <bits access="rw" name="burst_type" pos="5:4" rst="0">
  117639. <comment>burst type
  117640. 2'b00:: single
  117641. 2'b01:: incr4
  117642. 2'b10:: incr8
  117643. 2'b11:: incrx</comment>
  117644. </bits>
  117645. <bits access="rw" name="burst_len" pos="3:0" rst="0">
  117646. <comment>length of burst when incrx
  117647. max incr16</comment>
  117648. </bits>
  117649. </reg>
  117650. <reg name="start_addr" protect="rw">
  117651. <bits access="rw" name="start_addr" pos="31:0" rst="0">
  117652. <comment>start address of transfer</comment>
  117653. </bits>
  117654. </reg>
  117655. <reg name="mask" protect="rw">
  117656. <bits access="rw" name="mask_trans_err" pos="3" rst="0">
  117657. <comment>mask for transfer error</comment>
  117658. </bits>
  117659. <bits access="rw" name="mask_ovfl" pos="2" rst="0">
  117660. <comment>mask for ovfl</comment>
  117661. </bits>
  117662. <bits access="rw" name="mask_comp_half" pos="1" rst="0">
  117663. <comment>mask for comp half</comment>
  117664. </bits>
  117665. <bits access="rw" name="mask_comp_end" pos="0" rst="0">
  117666. <comment>mask for comp end</comment>
  117667. </bits>
  117668. </reg>
  117669. <reg name="status" protect="rw">
  117670. <bits access="rc" name="int_trans_err_status" pos="4" rst="0">
  117671. <comment>bit type is changed from w1c to rc.
  117672. interrupt for ahb transfer error</comment>
  117673. </bits>
  117674. <bits access="rc" name="int_ovfl_status" pos="3" rst="0">
  117675. <comment>bit type is changed from w1c to rc.
  117676. interrupt from fifo overfolw</comment>
  117677. </bits>
  117678. <bits access="rc" name="int_comp_half_status" pos="2" rst="0">
  117679. <comment>bit type is changed from w1c to rc.
  117680. half interrupt from transfer complete</comment>
  117681. </bits>
  117682. <bits access="rc" name="int_comp_end_status" pos="1" rst="0">
  117683. <comment>bit type is changed from w1c to rc.
  117684. end interrupt from transfer complete</comment>
  117685. </bits>
  117686. <bits access="rc" name="srst_done_status" pos="0" rst="0">
  117687. <comment>bit type is changed from w1c to rc.
  117688. data_packer soft reset done</comment>
  117689. </bits>
  117690. </reg>
  117691. <reg name="soft_reset" protect="rw">
  117692. <bits access="s" name="s_reset" pos="0" rst="0">
  117693. <comment>bit type is changed from wos to s.
  117694. soft reset</comment>
  117695. </bits>
  117696. </reg>
  117697. <reg name="soft_trig" protect="rw">
  117698. <bits access="s" name="s_dp_trig" pos="0" rst="0">
  117699. <comment>bit type is changed from wos to s.
  117700. dump trigger from soft</comment>
  117701. </bits>
  117702. </reg>
  117703. </module>
  117704. </archive>
  117705. <archive relative="wcn_fm_dsp.xml">
  117706. <module category="wcn" name="WCN_FM_DSP">
  117707. <reg name="tx_fifo_rdata" protect="r">
  117708. <bits access="r" name="tx_data_i" pos="31:16" rst="0">
  117709. <comment>TX data I. Everytime this register is read, the data will be popped out of the tx_data_fifo.</comment>
  117710. </bits>
  117711. <bits access="r" name="tx_data_q" pos="15:0" rst="0">
  117712. <comment>TX data Q. Everytime this register is read, the data will be popped out of the tx_data_fifo.</comment>
  117713. </bits>
  117714. </reg>
  117715. <reg name="revision" protect="r">
  117716. <bits access="r" name="rev_id" pos="3:0" rst="4">
  117717. <comment>revision id.</comment>
  117718. </bits>
  117719. </reg>
  117720. <reg name="ctrl" protect="rw">
  117721. <bits access="rw" name="dbg_out_en" pos="28" rst="1">
  117722. <comment>debug output enable.</comment>
  117723. </bits>
  117724. <bits access="rw" name="adc_data_format" pos="27" rst="1">
  117725. <comment>1'd0:: unsigned
  117726. 1'd1:: 2s_complementary</comment>
  117727. </bits>
  117728. <bits access="rw" name="force_clk_on" pos="26" rst="1">
  117729. <comment>force clock on.</comment>
  117730. </bits>
  117731. <bits access="rw" name="tx_en" pos="25" rst="1">
  117732. <comment>tx data enable.
  117733. 1'd0:: disable
  117734. 1'd1:: enable</comment>
  117735. </bits>
  117736. <bits access="rw" name="i2s_delay_1t" pos="24" rst="1">
  117737. <comment>i2s delay 1t enable.</comment>
  117738. </bits>
  117739. <bits access="rw" name="i2s_en" pos="23" rst="1">
  117740. <comment>i2s enable.
  117741. 1'd0:: disable
  117742. 1'd1:: enable</comment>
  117743. </bits>
  117744. <bits access="rw" name="fmdem_src_sel" pos="22" rst="1">
  117745. <comment>coherent fmdemsource selection.
  117746. 1'd0:: output_lpfil
  117747. 1'd1:: output_dig_gain</comment>
  117748. </bits>
  117749. <bits access="rw" name="seek_offset_src_sel" pos="21" rst="1">
  117750. <comment>offset source selection.
  117751. 1'd0:: output_afc
  117752. 1'd1:: output_offset_filter</comment>
  117753. </bits>
  117754. <bits access="rw" name="seek_rssi_src_sel" pos="20" rst="1">
  117755. <comment>rssi source during seek seelction.
  117756. 1'd0:: rssi_db1
  117757. 1'd1:: signal_db1</comment>
  117758. </bits>
  117759. <bits access="rw" name="noise_cancel_src_sel" pos="19" rst="1">
  117760. <comment>noise cancel source source selection.
  117761. 1'd0:: noise_db2
  117762. 1'd1:: rssi_db2</comment>
  117763. </bits>
  117764. <bits access="rw" name="noise_src_sel" pos="18:17" rst="2">
  117765. <comment>noise source selection.
  117766. 2'd0:: dangle0
  117767. 2'd1:: dangle1
  117768. 2'd2:: dangle 2</comment>
  117769. </bits>
  117770. <bits access="rw" name="adc_clk_invert" pos="16" rst="1">
  117771. <comment>adc clock invert.</comment>
  117772. </bits>
  117773. <bits access="rw" name="pilot_cosine" pos="15" rst="1">
  117774. <comment>pilot phase.
  117775. 1'd0:: sin
  117776. 1'd1:: cos</comment>
  117777. </bits>
  117778. <bits access="rw" name="deemph_bypass" pos="14" rst="1">
  117779. <comment>bypass deemphasis.</comment>
  117780. </bits>
  117781. <bits access="rw" name="lpf_bypass" pos="13" rst="1">
  117782. <comment>bypass 15KHz LPF.</comment>
  117783. </bits>
  117784. <bits access="rw" name="fircut_bypass_sk" pos="12" rst="1">
  117785. <comment>bypass fircut during seeking.</comment>
  117786. </bits>
  117787. <bits access="rw" name="fircut_bypass" pos="11" rst="1">
  117788. <comment>bypass fircut.</comment>
  117789. </bits>
  117790. <bits access="rw" name="lr_swap" pos="10" rst="1">
  117791. <comment>LR swap.</comment>
  117792. </bits>
  117793. <bits access="rw" name="plldem_swap" pos="9" rst="1">
  117794. <comment>IQ swap for fmdem.</comment>
  117795. </bits>
  117796. <bits access="rw" name="iq_swap" pos="8" rst="1">
  117797. <comment>IQ swap after 125KHz mixer.</comment>
  117798. </bits>
  117799. <bits access="rw" name="imgrej_dsp" pos="7" rst="1">
  117800. <comment>IQ swap before 125KHz mixer.</comment>
  117801. </bits>
  117802. <bits access="rw" name="imgrej" pos="6" rst="1">
  117803. <comment>lo selection.
  117804. 1'd0:: low
  117805. low if; Default is +125KHz.
  117806. 1'd1:: high
  117807. high if. Default is -125KHz</comment>
  117808. </bits>
  117809. <bits access="rw" name="afc_disable" pos="5" rst="1">
  117810. <comment>AFC disable.
  117811. 1'd0:: enable
  117812. 1'd1:: disable</comment>
  117813. </bits>
  117814. <bits access="rw" name="softblend_off" pos="4" rst="1">
  117815. <comment>soft blend off.
  117816. 1'd0:: enable
  117817. 1'd1:: disable</comment>
  117818. </bits>
  117819. <bits access="rw" name="softmute_en" pos="3" rst="1">
  117820. <comment>soft mute enable.
  117821. 1'd0:: disable
  117822. 1'd1:: enable</comment>
  117823. </bits>
  117824. <bits access="rw" name="deemph_mode" pos="2" rst="1">
  117825. <comment>de-emphasis.
  117826. 1'd0:: 75us
  117827. 1'd1:: 50us</comment>
  117828. </bits>
  117829. <bits access="rw" name="stereo_in" pos="1" rst="1">
  117830. <comment>mono select.
  117831. 1'd0:: force : mono
  117832. 1'd1:: stereo</comment>
  117833. </bits>
  117834. <bits access="rw" name="mute" pos="0" rst="1">
  117835. <comment>mute.
  117836. 1'd0:: normal
  117837. 1'd1:: mute</comment>
  117838. </bits>
  117839. </reg>
  117840. <reg name="tx_ctrl" protect="rw">
  117841. <bits access="r" name="tx_fifo_usedw" pos="10:8" rst="3">
  117842. <comment>the number of data words in tx fifowhich are valid for read.</comment>
  117843. </bits>
  117844. <bits access="r" name="tx_fifo_underflow" pos="7" rst="1">
  117845. <comment>tx fifo underflow. User reads tx_fifo_rdata while no data valid in it.</comment>
  117846. </bits>
  117847. <bits access="r" name="tx_fifo_overflow" pos="6" rst="1">
  117848. <comment>tx fifo overflow. User is not able to read tx_fifo_rdata in time so that fm_dsp discard valid data.</comment>
  117849. </bits>
  117850. <bits access="rw" name="tx_fifo_clr" pos="5" rst="1">
  117851. <comment>clear tx fifo.</comment>
  117852. </bits>
  117853. <bits access="rw" name="tx_sel" pos="4:0" rst="5">
  117854. <comment>tx data selection.</comment>
  117855. </bits>
  117856. </reg>
  117857. <reg name="seek_ctrl0" protect="rw">
  117858. <bits access="rw" name="snr_cnt_th" pos="29:26" rst="4">
  117859. <comment>SNR counter threshold.</comment>
  117860. </bits>
  117861. <bits access="rw" name="delta_rssi_th" pos="25:20" rst="12">
  117862. <comment>delta rssi threshold during UPPER/LOWER seeking. Unit is db.</comment>
  117863. </bits>
  117864. <bits access="rw" name="snr_th" pos="19:14" rst="6">
  117865. <comment>threshold for SNR. Unit is db.</comment>
  117866. </bits>
  117867. <bits access="rw" name="seek_range" pos="13:9" rst="5">
  117868. <comment>seek upper/lower adjacent freq setting. Unit is 5.12KHz.</comment>
  117869. </bits>
  117870. <bits access="rw" name="seek_afc_on" pos="8" rst="1">
  117871. <comment>1'd0:: disable
  117872. disable afc during seeking;
  117873. 1'd1:: enable
  117874. enable afc during seeking.</comment>
  117875. </bits>
  117876. <bits access="rw" name="seek_mode" pos="7:5" rst="0">
  117877. <comment>seek mode.
  117878. 3'd0:: seek_current_only
  117879. 3'd1:: seek_current_or_adjacent
  117880. success when either current or adjacent freq is successful;
  117881. 3'd2:: seek_current_and_adjacent
  117882. success when both current and adjacent freq are successful;
  117883. 3'd3:: snr_st
  117884. test mode. stop at SNR_ST;
  117885. 3'd4:: center_st
  117886. test mode. stop at CENTER_ST;
  117887. 3'd5:: upper_st
  117888. test mode. stop at UPPER_ST;
  117889. 3'd6:: lower_st
  117890. testmode. stop at LOWER_ST;
  117891. 3'd7:: seek_bypass</comment>
  117892. </bits>
  117893. <bits access="rw" name="sk_cmp_grp_en" pos="4:0" rst="27">
  117894. <comment>1'd0: disable
  117895. 1'd1: enable
  117896. [4]: seek with pilot;
  117897. [3]: seek with offset;
  117898. [2]: seek with snr;
  117899. [1]: seek with rssi;
  117900. [0]: seek with noise.</comment>
  117901. </bits>
  117902. </reg>
  117903. <reg name="seek_ctrl1" protect="rw">
  117904. <bits access="rw" name="pilot_cnt_th" pos="31:24" rst="0">
  117905. <comment>pilot counter threshold.</comment>
  117906. </bits>
  117907. <bits access="rw" name="rssi_cnt_th" pos="23:16" rst="0">
  117908. <comment>rssi counter threshold.</comment>
  117909. </bits>
  117910. <bits access="rw" name="noise_cnt_th" pos="15:8" rst="0">
  117911. <comment>noise counter threshold.</comment>
  117912. </bits>
  117913. <bits access="rw" name="offset_cnt_th" pos="7:0" rst="0">
  117914. <comment>offset counter threshold.</comment>
  117915. </bits>
  117916. </reg>
  117917. <reg name="seek_ctrl2" protect="rw">
  117918. <bits access="rw" name="noise_l_th" pos="27:21" rst="7">
  117919. <comment>noise low threshold. Unit is db.</comment>
  117920. </bits>
  117921. <bits access="rw" name="noise_h_th" pos="20:14" rst="7">
  117922. <comment>noise high threshold. Unit is db.</comment>
  117923. </bits>
  117924. <bits access="rw" name="rssi_l_th" pos="13:7" rst="7">
  117925. <comment>RSSI low threshold. Unit is db.</comment>
  117926. </bits>
  117927. <bits access="rw" name="rssi_h_th" pos="6:0" rst="7">
  117928. <comment>RSSI high threshold. Unit is db.</comment>
  117929. </bits>
  117930. </reg>
  117931. <reg name="seek_ctrl3" protect="rw">
  117932. <bits access="rw" name="offset_l_th" pos="27:21" rst="7">
  117933. <comment>offset low threshold. Unit is db.</comment>
  117934. </bits>
  117935. <bits access="rw" name="offset_h_th" pos="20:14" rst="7">
  117936. <comment>offset high threshold. Unit is db.</comment>
  117937. </bits>
  117938. <bits access="rw" name="pilot_l_th" pos="13:7" rst="7">
  117939. <comment>pilot low threshold. Unit is db.</comment>
  117940. </bits>
  117941. <bits access="rw" name="pilot_h_th" pos="6:0" rst="7">
  117942. <comment>pilot high threshold. Unit is db.</comment>
  117943. </bits>
  117944. </reg>
  117945. <reg name="seek_ctrl4" protect="rw">
  117946. <bits access="rw" name="sk_timer4" pos="21:16" rst="6">
  117947. <comment>seek time for SNR detect. Unit is 0.75ms.</comment>
  117948. </bits>
  117949. <bits access="rw" name="sk_timer3" pos="15:10" rst="6">
  117950. <comment>seek time for upper/lower adjacent freq. Unit is 0.75ms.</comment>
  117951. </bits>
  117952. <bits access="rw" name="sk_timer2" pos="9:4" rst="6">
  117953. <comment>seek time for current freq. Unit is 0.75ms.</comment>
  117954. </bits>
  117955. <bits access="rw" name="sk_timer1" pos="3:0" rst="4">
  117956. <comment>seek time for agc/afc stable. Unit is 0.75ms.</comment>
  117957. </bits>
  117958. </reg>
  117959. <reg name="afc_ctrl" protect="rw">
  117960. <bits access="rw" name="afc_ct_sk" pos="18:13" rst="6">
  117961. <comment>[5:3]: afc dc filter bandwidth setting during seeking.
  117962. [2:0]: afc acc step setting during seeking.</comment>
  117963. </bits>
  117964. <bits access="rw" name="afc_ct" pos="12:7" rst="6">
  117965. <comment>[5:3]: afc dc filter bandwidth setting during seek is ready.
  117966. [2:0]: afc acc step setting during seek is ready.</comment>
  117967. </bits>
  117968. <bits access="rw" name="afc_range" pos="6:1" rst="6">
  117969. <comment>afc following range. Unit is 2.5KHz.</comment>
  117970. </bits>
  117971. <bits access="rw" name="afc_inv" pos="0" rst="1">
  117972. <comment>inverse afc adjust value.</comment>
  117973. </bits>
  117974. </reg>
  117975. <reg name="agc_ctrl0" protect="rw">
  117976. <bits access="rw" name="agc_target_pwr" pos="30:25" rst="6">
  117977. <comment>agc target power. Unit is 2db.</comment>
  117978. </bits>
  117979. <bits access="rw" name="agc_test" pos="24" rst="1">
  117980. <comment>agc test mode. Fix gain.</comment>
  117981. </bits>
  117982. <bits access="rw" name="agc_loop_gain1" pos="23:21" rst="3">
  117983. <comment>agc loop gain during normal.</comment>
  117984. </bits>
  117985. <bits access="rw" name="agc_loop_gain0" pos="20:18" rst="3">
  117986. <comment>agc loop gian during seeking.</comment>
  117987. </bits>
  117988. <bits access="rw" name="agc_update1" pos="17:15" rst="3">
  117989. <comment>agc update time during normal.</comment>
  117990. </bits>
  117991. <bits access="rw" name="agc_update0" pos="14:12" rst="3">
  117992. <comment>agc update time during seeking.</comment>
  117993. </bits>
  117994. <bits access="rw" name="agc_thd" pos="11:7" rst="5">
  117995. <comment>agc digital gain threshold. Unit is 2db.</comment>
  117996. </bits>
  117997. <bits access="rw" name="agc_index_in" pos="6:3" rst="4">
  117998. <comment>agc initial index.</comment>
  117999. </bits>
  118000. <bits access="rw" name="ct_endelay" pos="2:0" rst="3">
  118001. <comment>agc enable delay time after reset.
  118002. 3'd0:: 0 : 0.375us
  118003. 3'd1:: 1 : 3us
  118004. 3'd2:: 2 : 6us
  118005. 3'd3:: 3 : 9.74us
  118006. 3'd4:: 4 : 13.875us
  118007. 3'd5:: 5 : 18us
  118008. 3'd6:: 6 : 21us
  118009. 3'd7: 7 : 24us</comment>
  118010. </bits>
  118011. </reg>
  118012. <reg name="agc_ctrl1" protect="rw">
  118013. <bits access="rw" name="dig_gain_in" pos="19:15" rst="5">
  118014. <comment>basic dig gain. Unit is db.</comment>
  118015. </bits>
  118016. <bits access="rw" name="agc_ct_u" pos="14:13" rst="2">
  118017. <comment>agc IIR bandwidth.</comment>
  118018. </bits>
  118019. <bits access="rw" name="over_step" pos="12:7" rst="6">
  118020. <comment>[5:3]: agc loop sub step when sinc_over or log_agc&gt;log_agc_th
  118021. [2:0]: agc loop sub step when acc I saturation.</comment>
  118022. </bits>
  118023. <bits access="rw" name="log_agc_th" pos="6:1" rst="6">
  118024. <comment>threshold for agc lopp adjust. Unit is 1db.</comment>
  118025. </bits>
  118026. <bits access="rw" name="log_over_sel" pos="0" rst="1">
  118027. <comment>if 1, adjust agc_index sub step when log_agc&gt;log_agc_th</comment>
  118028. </bits>
  118029. </reg>
  118030. <reg name="ana_gain_rssi_tb0" protect="rw">
  118031. <bits access="rw" name="ana_gain_rssi_3" pos="31:24" rst="0">
  118032. <comment>ana gain rssi for agc_index=3</comment>
  118033. </bits>
  118034. <bits access="rw" name="ana_gain_rssi_2" pos="23:16" rst="0">
  118035. <comment>ana gain rssi for agc_index=2</comment>
  118036. </bits>
  118037. <bits access="rw" name="ana_gain_rssi_1" pos="15:8" rst="0">
  118038. <comment>ana gain rssi for agc_index=1</comment>
  118039. </bits>
  118040. <bits access="rw" name="ana_gain_rssi_0" pos="7:0" rst="0">
  118041. <comment>ana gain rssi for agc_index=0</comment>
  118042. </bits>
  118043. </reg>
  118044. <reg name="ana_gain_rssi_tb1" protect="rw">
  118045. <bits access="rw" name="ana_gain_rssi_7" pos="31:24" rst="0">
  118046. <comment>ana gain rssi for agc_index=7</comment>
  118047. </bits>
  118048. <bits access="rw" name="ana_gain_rssi_6" pos="23:16" rst="0">
  118049. <comment>ana gain rssi for agc_index=6</comment>
  118050. </bits>
  118051. <bits access="rw" name="ana_gain_rssi_5" pos="15:8" rst="0">
  118052. <comment>ana gain rssi for agc_index=5</comment>
  118053. </bits>
  118054. <bits access="rw" name="ana_gain_rssi_4" pos="7:0" rst="0">
  118055. <comment>ana gain rssi for agc_index=4</comment>
  118056. </bits>
  118057. </reg>
  118058. <reg name="ana_gain_rssi_tb2" protect="rw">
  118059. <bits access="rw" name="ana_gain_rssi_b" pos="31:24" rst="0">
  118060. <comment>ana gain rssi for agc_index=b</comment>
  118061. </bits>
  118062. <bits access="rw" name="ana_gain_rssi_a" pos="23:16" rst="0">
  118063. <comment>ana gain rssi for agc_index=a</comment>
  118064. </bits>
  118065. <bits access="rw" name="ana_gain_rssi_9" pos="15:8" rst="0">
  118066. <comment>ana gain rssi for agc_index=9</comment>
  118067. </bits>
  118068. <bits access="rw" name="ana_gain_rssi_8" pos="7:0" rst="0">
  118069. <comment>ana gain rssi for agc_index=8</comment>
  118070. </bits>
  118071. </reg>
  118072. <reg name="ana_gain_rssi_tb3" protect="rw">
  118073. <bits access="rw" name="ana_gain_rssi_f" pos="31:24" rst="0">
  118074. <comment>ana gain rssi for agc_index=f</comment>
  118075. </bits>
  118076. <bits access="rw" name="ana_gain_rssi_e" pos="23:16" rst="0">
  118077. <comment>ana gain rssi for agc_index=e</comment>
  118078. </bits>
  118079. <bits access="rw" name="ana_gain_rssi_d" pos="15:8" rst="0">
  118080. <comment>ana gain rssi for agc_index=d</comment>
  118081. </bits>
  118082. <bits access="rw" name="ana_gain_rssi_c" pos="7:0" rst="0">
  118083. <comment>ana gain rssi for agc_index=c</comment>
  118084. </bits>
  118085. </reg>
  118086. <reg name="noise_cancel_ctrl0" protect="rw">
  118087. <bits access="rw" name="th_min_bw" pos="28:22" rst="7">
  118088. <comment>fircut/gain38k change low threshold for RSSI. Unit is 1db.</comment>
  118089. </bits>
  118090. <bits access="rw" name="th_max_bw" pos="21:15" rst="7">
  118091. <comment>fircut/gain38k change high threshold for RSSI. Unit is 1db.</comment>
  118092. </bits>
  118093. <bits access="rw" name="plldem_th_min" pos="14:9" rst="6">
  118094. <comment>threshold. Unit is 2db.</comment>
  118095. </bits>
  118096. <bits access="rw" name="plldem_th_max" pos="8:3" rst="6">
  118097. <comment>threshold. Unit is 2db.</comment>
  118098. </bits>
  118099. <bits access="rw" name="fmdem_sel_grp" pos="2:0" rst="3">
  118100. <comment>1'd0: select cordic fmdem
  118101. 1'd1: select dpll fmdem.
  118102. [2]: for seeing;
  118103. [1]: for nosie&lt;th_min;
  118104. [0]: for noise&gt;th_max.</comment>
  118105. </bits>
  118106. </reg>
  118107. <reg name="noise_cancel_ctrl1" protect="rw">
  118108. <bits access="rw" name="fircut_sel_force_on" pos="21" rst="1">
  118109. <comment>fircut/gain38k change force on</comment>
  118110. </bits>
  118111. <bits access="rw" name="sel_fircut_sk" pos="20:15" rst="9">
  118112. <comment>fircut bandwidth select during seeking UPPER/LOWER[2:0] and CENTER[5:3]. [40KHz:20KHz:180KHz]</comment>
  118113. </bits>
  118114. <bits access="rw" name="sel_fircut3" pos="14:12" rst="3">
  118115. <comment>fircut bandwidth select during seeready and bad conditiong. Offset is over th. CENTER. [40KHz:20KHz:180KHz]</comment>
  118116. </bits>
  118117. <bits access="rw" name="sel_fircut2" pos="11:9" rst="3">
  118118. <comment>fircut bandwidth select during seek ready and bad condition. Offset is under th. [40KHz:20KHz:180KHz]</comment>
  118119. </bits>
  118120. <bits access="rw" name="sel_fircut1" pos="8:6" rst="3">
  118121. <comment>fircut bandwidth select during seek ready and good condition. [40KHz:20KHz:180KHz]</comment>
  118122. </bits>
  118123. <bits access="rw" name="th_min_hcc" pos="5:0" rst="6">
  118124. <comment>bandwidth threshold. Unit is 2db</comment>
  118125. </bits>
  118126. </reg>
  118127. <reg name="noise_cancel_ctrl2" protect="rw">
  118128. <bits access="rw" name="gain_38k2" pos="29:15" rst="20045">
  118129. <comment>fircut bandwidth select during bad condition. [40KHz:20KHz:180KHz]</comment>
  118130. </bits>
  118131. <bits access="rw" name="gain_38k1" pos="14:0" rst="20045">
  118132. <comment>bandwidth threshold. Unit is 2db</comment>
  118133. </bits>
  118134. </reg>
  118135. <reg name="datapath_ctrl0" protect="rw">
  118136. <bits access="rw" name="hbf1_bypass" pos="25" rst="1">
  118137. </bits>
  118138. <bits access="rw" name="hbf2_bypass" pos="24" rst="1">
  118139. </bits>
  118140. <bits access="rw" name="gainct" pos="23:15" rst="134">
  118141. <comment>[8:6]: gain for mpx signal.
  118142. [5:0]: gain for stereo. [5:3]:6db;[2:1]:2db;[0]:1db.</comment>
  118143. </bits>
  118144. <bits access="rw" name="dig_delayct" pos="14:10" rst="5">
  118145. <comment>dig gain change delay setting. Unit is 0.375us</comment>
  118146. </bits>
  118147. <bits access="rw" name="sinc_limit_gain" pos="9:8" rst="2">
  118148. <comment>dig gain for signal before 125KHz mixer.
  118149. 2'd0:: 0db
  118150. 2'd1:: 6db
  118151. 2'd2:: 12db
  118152. 3'd3:: 18db</comment>
  118153. </bits>
  118154. <bits access="rw" name="over_th_sel" pos="7:5" rst="4">
  118155. <comment>[2]: enable over threshold detection.
  118156. [1:0]: over threshold selection.
  118157. 2'd0:: 0 : 0.75
  118158. 2'd1:: 1 : 0.9
  118159. 2'd2:: 2 : 0.95
  118160. 2'd3:: 3 : 1</comment>
  118161. </bits>
  118162. <bits access="rw" name="limit_sel" pos="4" rst="1">
  118163. <comment>1'd0: *0.75
  118164. 1'd1: *1
  118165. for sinc_limit.</comment>
  118166. </bits>
  118167. <bits access="rw" name="dc_ct" pos="3:0" rst="11">
  118168. <comment>dc cancel control.
  118169. [3]: dccancel mode. 1'd0: bypass; 1'd1: enable
  118170. [2:0]: bandwidth.</comment>
  118171. </bits>
  118172. </reg>
  118173. <reg name="datapath_ctrl1" protect="rw">
  118174. <bits access="rw" name="nco_ct_u_dt" pos="30:28" rst="3">
  118175. <comment>19kHz tone detect bandwidthduring normal.</comment>
  118176. </bits>
  118177. <bits access="rw" name="nco_ct_u_dt_sk" pos="27:25" rst="3">
  118178. <comment>19kHz tone detect bandwidth during seeking.</comment>
  118179. </bits>
  118180. <bits access="rw" name="nco_ct_bw" pos="24:21" rst="4">
  118181. <comment>nco 2ord bandwidth.</comment>
  118182. </bits>
  118183. <bits access="rw" name="nco_ct_u" pos="20:18" rst="3">
  118184. <comment>nco dc bandwidth.</comment>
  118185. </bits>
  118186. <bits access="rw" name="softmute_th1" pos="17:12" rst="6">
  118187. <comment>softmute threshold for RSSI.</comment>
  118188. </bits>
  118189. <bits access="rw" name="softmute_th2" pos="11:6" rst="6">
  118190. <comment>softmute threshold for noise.</comment>
  118191. </bits>
  118192. <bits access="rw" name="softmute_th3" pos="5:0" rst="6">
  118193. <comment>softmute threshold for SNR.</comment>
  118194. </bits>
  118195. </reg>
  118196. <reg name="datapath_ctrl2" protect="rw">
  118197. <bits access="rw" name="softmute_th4" pos="31:26" rst="6">
  118198. <comment>softmute threshold for offset.</comment>
  118199. </bits>
  118200. <bits access="rw" name="sm_rate" pos="25:24" rst="2">
  118201. <comment>softmute rate. Fast-&gt;slow.</comment>
  118202. </bits>
  118203. <bits access="rw" name="sm_attenu" pos="23:20" rst="4">
  118204. <comment>softmute attenu setting.</comment>
  118205. </bits>
  118206. <bits access="rw" name="th_softblend1" pos="19:14" rst="6">
  118207. <comment>softblend threshold for RSSI.</comment>
  118208. </bits>
  118209. <bits access="rw" name="th_softblend2" pos="13:8" rst="6">
  118210. <comment>softblend threshold for noise.</comment>
  118211. </bits>
  118212. <bits access="rw" name="offset_flt_ct_u" pos="7:6" rst="2">
  118213. <comment>offset filter bandwidth.</comment>
  118214. </bits>
  118215. <bits access="rw" name="lpf_bw_dr" pos="5" rst="1">
  118216. </bits>
  118217. <bits access="rw" name="lpf_bw_reg" pos="4:2" rst="3">
  118218. </bits>
  118219. <bits access="rw" name="deemph_hcc" pos="1:0" rst="2">
  118220. <comment>direct deemphasis hcc reg.</comment>
  118221. </bits>
  118222. </reg>
  118223. <reg name="datapath_ctrl3" protect="rw">
  118224. <bits access="rw" name="step19k_reg" pos="30:16" rst="13">
  118225. <comment>step 19k value</comment>
  118226. </bits>
  118227. <bits access="rw" name="interval_reg" pos="15:0" rst="14">
  118228. <comment>interval value</comment>
  118229. </bits>
  118230. </reg>
  118231. <reg name="datapath_ctrl4" protect="rw">
  118232. <bits access="rw" name="notch_flt_bypass" pos="22" rst="1">
  118233. </bits>
  118234. <bits access="rw" name="notch_flt_ka" pos="21:20" rst="2">
  118235. </bits>
  118236. <bits access="rw" name="notch_flt_z0_i" pos="19:0" rst="0">
  118237. </bits>
  118238. </reg>
  118239. <reg name="datapath_ctrl5" protect="rw">
  118240. <bits access="rw" name="notch_flt_z0_q" pos="19:0" rst="0">
  118241. </bits>
  118242. </reg>
  118243. <reg name="log_ctrl0" protect="rw">
  118244. <bits access="rw" name="ct_u_noise" pos="23:18" rst="28">
  118245. <comment>[5:3]: noise_db1 bandwidth
  118246. [2:0]: noise_db2 bandwidth</comment>
  118247. </bits>
  118248. <bits access="rw" name="ct_u_signal" pos="17:12" rst="28">
  118249. <comment>[5:3]: signal_db1 bandwidth
  118250. [2:0]: signal_db2 bandwidth</comment>
  118251. </bits>
  118252. <bits access="rw" name="ct_u_rssi" pos="11:6" rst="28">
  118253. <comment>[5:3]: rssi_db1 bandwidth
  118254. [2:0]: rssi_db2 bandwidth</comment>
  118255. </bits>
  118256. <bits access="rw" name="ct_u_pilot" pos="5:0" rst="28">
  118257. <comment>[5:3]: pilot_db1 bandwidth
  118258. [2:0]: pilot_db2 bandwitdh</comment>
  118259. </bits>
  118260. </reg>
  118261. <reg name="status0" protect="r">
  118262. <bits access="r" name="seek_ready" pos="29" rst="1">
  118263. </bits>
  118264. <bits access="r" name="seek_done" pos="28" rst="1">
  118265. </bits>
  118266. <bits access="r" name="rssi_db2" pos="27:21" rst="7">
  118267. <comment>rssi. Unit is db.</comment>
  118268. </bits>
  118269. <bits access="r" name="snr_out" pos="20:15" rst="6">
  118270. <comment>snr. Unit is db.</comment>
  118271. </bits>
  118272. <bits access="r" name="signal_db2" pos="14:8" rst="7">
  118273. <comment>signal. Unit is db.</comment>
  118274. </bits>
  118275. <bits access="r" name="offset2" pos="7:0" rst="0">
  118276. <comment>frequency offset. Unit is db.</comment>
  118277. </bits>
  118278. </reg>
  118279. <reg name="status1" protect="r">
  118280. <bits access="r" name="noise_db2" pos="28:22" rst="7">
  118281. </bits>
  118282. <bits access="r" name="snr19k_out" pos="21:16" rst="6">
  118283. </bits>
  118284. <bits access="r" name="pilot_db2" pos="15:9" rst="7">
  118285. </bits>
  118286. <bits access="r" name="sk_cmp_grp_flag" pos="8:4" rst="5">
  118287. <comment>[4]: 19k pilot flag
  118288. [3]: offset flag
  118289. [2]: snr flag
  118290. [1]: rssi flag
  118291. [0]: noise flag</comment>
  118292. </bits>
  118293. <bits access="r" name="snr_cnt" pos="3:0" rst="4">
  118294. </bits>
  118295. </reg>
  118296. <reg name="status2" protect="r">
  118297. <bits access="r" name="rssi_cnt" pos="31:24" rst="0">
  118298. </bits>
  118299. <bits access="r" name="noise_cnt" pos="23:16" rst="0">
  118300. </bits>
  118301. <bits access="r" name="pilot_cnt" pos="15:8" rst="0">
  118302. </bits>
  118303. <bits access="r" name="offset_cnt" pos="7:0" rst="0">
  118304. </bits>
  118305. </reg>
  118306. <reg name="status3" protect="r">
  118307. <bits access="r" name="ct_hcc" pos="18:16" rst="3">
  118308. </bits>
  118309. <bits access="r" name="fircut_bw" pos="15:13" rst="3">
  118310. </bits>
  118311. <bits access="r" name="fmdem_sel" pos="12" rst="1">
  118312. </bits>
  118313. <bits access="r" name="dig_gainct" pos="11:4" rst="0">
  118314. </bits>
  118315. <bits access="r" name="agc_index" pos="3:0" rst="4">
  118316. </bits>
  118317. </reg>
  118318. <reg name="rsvd_reg" protect="rw">
  118319. <bits access="r" name="rsvd_in" pos="31:16" rst="14">
  118320. </bits>
  118321. <bits access="rw" name="rsvd_out" pos="15:0" rst="65280">
  118322. </bits>
  118323. </reg>
  118324. </module>
  118325. </archive>
  118326. <archive relative="wcn_pulp_irq.xml">
  118327. <module category="wcn" name="WCN_PULP_IRQ">
  118328. <reg name="enable" protect="rw">
  118329. <bits access="rw" name="enable" pos="31:0" rst="0">
  118330. <comment>interrupt enable</comment>
  118331. </bits>
  118332. </reg>
  118333. <reg name="pending" protect="rw">
  118334. <bits access="rw" name="pending" pos="31:0" rst="0">
  118335. <comment>interrupt pending</comment>
  118336. </bits>
  118337. </reg>
  118338. <reg name="set_pending" protect="rw">
  118339. <bits access="rs" name="set_pending" pos="31:0" rst="0">
  118340. <comment>bit type is changed from w1s to rs.
  118341. set interrupt pending</comment>
  118342. </bits>
  118343. </reg>
  118344. <reg name="clear_pending" protect="rw">
  118345. <bits access="rc" name="clear_pending" pos="31:0" rst="0">
  118346. <comment>bit type is changed from w1c to rc.
  118347. clear interrupt pending</comment>
  118348. </bits>
  118349. </reg>
  118350. </module>
  118351. </archive>
  118352. <archive relative="wcn_pulp_sleep.xml">
  118353. <module category="wcn" name="WCN_PULP_SLEEP">
  118354. <reg name="sleep_ctrl" protect="rw">
  118355. <bits access="rw" name="sleep_enable" pos="0" rst="0">
  118356. <comment>Enable sleep</comment>
  118357. </bits>
  118358. </reg>
  118359. <reg name="sleep_status" protect="rw">
  118360. <bits access="rw" name="sleep" pos="0" rst="0">
  118361. <comment>sleep stauts
  118362. 0: not_sleep
  118363. 1: sleep</comment>
  118364. </bits>
  118365. </reg>
  118366. </module>
  118367. </archive>
  118368. <archive relative="wcn_pulp_debug_unit.xml">
  118369. <module category="wcn" name="WCN_PULP_DEBUG_UNIT">
  118370. <reg name="dbg_ctrl" protect="rw">
  118371. <bits access="rw" name="halt" pos="16" rst="0">
  118372. <comment>when 1 written,core enters debug mode, when 0 written, core exits debug mode
  118373. when read, 1 means core is in debug mode</comment>
  118374. </bits>
  118375. <bits access="rw" name="sste" pos="0" rst="0">
  118376. <comment>single step enable</comment>
  118377. </bits>
  118378. </reg>
  118379. <reg name="dbg_hit" protect="rw">
  118380. <bits access="r" name="sleep" pos="16" rst="0">
  118381. <comment>set when the core is a sleeping state and wait for an event</comment>
  118382. </bits>
  118383. <bits access="rw" name="ssth" pos="0" rst="0">
  118384. <comment>single-step hit, sticky bit that must be cleared by external debugger</comment>
  118385. </bits>
  118386. </reg>
  118387. <reg name="dbg_ie" protect="rw">
  118388. <bits access="rw" name="ecall" pos="11" rst="0">
  118389. <comment>environment call for M-mode</comment>
  118390. </bits>
  118391. <bits access="rw" name="saf" pos="7" rst="0">
  118392. <comment>store access fault (together with laf)</comment>
  118393. </bits>
  118394. <bits access="rw" name="sam" pos="6" rst="0">
  118395. <comment>store address Misaligned (never traps)</comment>
  118396. </bits>
  118397. <bits access="rw" name="laf" pos="5" rst="0">
  118398. <comment>load access fault (together with saf)</comment>
  118399. </bits>
  118400. <bits access="rw" name="lam" pos="4" rst="0">
  118401. <comment>load access Misaligned (never traps)</comment>
  118402. </bits>
  118403. <bits access="rw" name="bp" pos="3" rst="0">
  118404. <comment>ebreak instruction causes trap</comment>
  118405. </bits>
  118406. <bits access="rw" name="ill" pos="2" rst="0">
  118407. <comment>illegal instruction</comment>
  118408. </bits>
  118409. <bits access="rw" name="iaf" pos="1" rst="0">
  118410. <comment>instruction access fault (not implemented)</comment>
  118411. </bits>
  118412. <bits access="rw" name="iam" pos="0" rst="0">
  118413. <comment>instruction address misaligned (never traps)</comment>
  118414. </bits>
  118415. </reg>
  118416. <reg name="dbg_cause" protect="r">
  118417. <bits access="r" name="irq" pos="31" rst="0">
  118418. <comment>interrupt caused us to enter debug mode</comment>
  118419. </bits>
  118420. <bits access="r" name="cause" pos="4:0" rst="0">
  118421. <comment>exception/interrupt number</comment>
  118422. </bits>
  118423. </reg>
  118424. <hole size="8064"/>
  118425. <reg name="dbg_gpr0" protect="rw">
  118426. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  118427. <comment>general purpose register</comment>
  118428. </bits>
  118429. </reg>
  118430. <reg name="dbg_gpr1" protect="rw">
  118431. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  118432. <comment>general purpose register</comment>
  118433. </bits>
  118434. </reg>
  118435. <reg name="dbg_gpr2" protect="rw">
  118436. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  118437. <comment>general purpose register</comment>
  118438. </bits>
  118439. </reg>
  118440. <reg name="dbg_gpr3" protect="rw">
  118441. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  118442. <comment>general purpose register</comment>
  118443. </bits>
  118444. </reg>
  118445. <reg name="dbg_gpr4" protect="rw">
  118446. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  118447. <comment>general purpose register</comment>
  118448. </bits>
  118449. </reg>
  118450. <reg name="dbg_gpr5" protect="rw">
  118451. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  118452. <comment>general purpose register</comment>
  118453. </bits>
  118454. </reg>
  118455. <reg name="dbg_gpr6" protect="rw">
  118456. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  118457. <comment>general purpose register</comment>
  118458. </bits>
  118459. </reg>
  118460. <reg name="dbg_gpr7" protect="rw">
  118461. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  118462. <comment>general purpose register</comment>
  118463. </bits>
  118464. </reg>
  118465. <reg name="dbg_gpr8" protect="rw">
  118466. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  118467. <comment>general purpose register</comment>
  118468. </bits>
  118469. </reg>
  118470. <reg name="dbg_gpr9" protect="rw">
  118471. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  118472. <comment>general purpose register</comment>
  118473. </bits>
  118474. </reg>
  118475. <reg name="dbg_gpr10" protect="rw">
  118476. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  118477. <comment>general purpose register</comment>
  118478. </bits>
  118479. </reg>
  118480. <reg name="dbg_gpr11" protect="rw">
  118481. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  118482. <comment>general purpose register</comment>
  118483. </bits>
  118484. </reg>
  118485. <reg name="dbg_gpr12" protect="rw">
  118486. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  118487. <comment>general purpose register</comment>
  118488. </bits>
  118489. </reg>
  118490. <reg name="dbg_gpr13" protect="rw">
  118491. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  118492. <comment>general purpose register</comment>
  118493. </bits>
  118494. </reg>
  118495. <reg name="dbg_gpr14" protect="rw">
  118496. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  118497. <comment>general purpose register</comment>
  118498. </bits>
  118499. </reg>
  118500. <reg name="dbg_gpr15" protect="rw">
  118501. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  118502. <comment>general purpose register</comment>
  118503. </bits>
  118504. </reg>
  118505. <reg name="dbg_gpr16" protect="rw">
  118506. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  118507. <comment>general purpose register</comment>
  118508. </bits>
  118509. </reg>
  118510. <reg name="dbg_gpr17" protect="rw">
  118511. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  118512. <comment>general purpose register</comment>
  118513. </bits>
  118514. </reg>
  118515. <reg name="dbg_gpr18" protect="rw">
  118516. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  118517. <comment>general purpose register</comment>
  118518. </bits>
  118519. </reg>
  118520. <reg name="dbg_gpr19" protect="rw">
  118521. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  118522. <comment>general purpose register</comment>
  118523. </bits>
  118524. </reg>
  118525. <reg name="dbg_gpr20" protect="rw">
  118526. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  118527. <comment>general purpose register</comment>
  118528. </bits>
  118529. </reg>
  118530. <reg name="dbg_gpr21" protect="rw">
  118531. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  118532. <comment>general purpose register</comment>
  118533. </bits>
  118534. </reg>
  118535. <reg name="dbg_gpr22" protect="rw">
  118536. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  118537. <comment>general purpose register</comment>
  118538. </bits>
  118539. </reg>
  118540. <reg name="dbg_gpr23" protect="rw">
  118541. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  118542. <comment>general purpose register</comment>
  118543. </bits>
  118544. </reg>
  118545. <reg name="dbg_gpr24" protect="rw">
  118546. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  118547. <comment>general purpose register</comment>
  118548. </bits>
  118549. </reg>
  118550. <reg name="dbg_gpr25" protect="rw">
  118551. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  118552. <comment>general purpose register</comment>
  118553. </bits>
  118554. </reg>
  118555. <reg name="dbg_gpr26" protect="rw">
  118556. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  118557. <comment>general purpose register</comment>
  118558. </bits>
  118559. </reg>
  118560. <reg name="dbg_gpr27" protect="rw">
  118561. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  118562. <comment>general purpose register</comment>
  118563. </bits>
  118564. </reg>
  118565. <reg name="dbg_gpr28" protect="rw">
  118566. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  118567. <comment>general purpose register</comment>
  118568. </bits>
  118569. </reg>
  118570. <reg name="dbg_gpr29" protect="rw">
  118571. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  118572. <comment>general purpose register</comment>
  118573. </bits>
  118574. </reg>
  118575. <reg name="dbg_gpr30" protect="rw">
  118576. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  118577. <comment>general purpose register</comment>
  118578. </bits>
  118579. </reg>
  118580. <reg name="dbg_gpr31" protect="rw">
  118581. <bits access="rw" name="gpr_reg" pos="31:0" rst="0">
  118582. <comment>general purpose register</comment>
  118583. </bits>
  118584. </reg>
  118585. <hole size="56320"/>
  118586. <reg name="dbg_npc" protect="rw">
  118587. <bits access="rw" name="npc" pos="31:0" rst="0">
  118588. <comment>Next PC to be executed</comment>
  118589. </bits>
  118590. </reg>
  118591. <reg name="dbg_ppc" protect="r">
  118592. <bits access="r" name="ppc" pos="31:0" rst="0">
  118593. <comment>previous PC, already executed</comment>
  118594. </bits>
  118595. </reg>
  118596. <hole size="90048"/>
  118597. <reg name="dbg_mstatus" protect="rw">
  118598. <bits access="r" name="prv" pos="2:1" rst="3">
  118599. <comment>Statically 2'b11 and cannot be altered</comment>
  118600. </bits>
  118601. <bits access="rw" name="int_en" pos="0" rst="0">
  118602. <comment>Interrupt enable:
  118603. When an exception is encountered, Interrupt Enable will be set to 1'b0.
  118604. When the eret instruction is executed, the original value of the Interrupt Enable will be restored, as MESTATUS will replace MSTATUS.
  118605. If you want to be enable interrupt handling in your exception handler, set the Interrupt Enable to 1'b1 inside your handler code.</comment>
  118606. </bits>
  118607. </reg>
  118608. <hole size="2048"/>
  118609. <reg name="dbg_mepc" protect="rw">
  118610. <bits access="rw" name="mepc" pos="31:0" rst="0">
  118611. <comment>When an exception is encountered, the current program counter is saved in MEPC, and the core jumps to the exception address.
  118612. When an eret instruction is executed, the value from MEPC replaces the current program counter.</comment>
  118613. </bits>
  118614. </reg>
  118615. <reg name="dbg_mcause" protect="r">
  118616. <bits access="r" name="interrupt" pos="31" rst="0">
  118617. <comment>this bit is set when the exception was triggerd by an interrupt</comment>
  118618. </bits>
  118619. <bits access="r" name="excp_code" pos="4:0" rst="0">
  118620. <comment>exception code</comment>
  118621. </bits>
  118622. </reg>
  118623. <hole size="36256"/>
  118624. <reg name="dbg_loop_start0" protect="rw">
  118625. <bits access="rw" name="lpstart0" pos="31:0" rst="0">
  118626. <comment>hardware loop 0 start</comment>
  118627. </bits>
  118628. </reg>
  118629. <reg name="dbg_loop_end0" protect="rw">
  118630. <bits access="rw" name="lpend0" pos="31:0" rst="0">
  118631. <comment>hardware loop 0 end</comment>
  118632. </bits>
  118633. </reg>
  118634. <reg name="dbg_loop_cnt0" protect="rw">
  118635. <bits access="rw" name="lpcount0" pos="31:0" rst="0">
  118636. <comment>hardware loop 0 counter</comment>
  118637. </bits>
  118638. </reg>
  118639. <hole size="32"/>
  118640. <reg name="dbg_loop_start1" protect="rw">
  118641. <bits access="rw" name="lpstart1" pos="31:0" rst="0">
  118642. <comment>hardware loop 1 start</comment>
  118643. </bits>
  118644. </reg>
  118645. <reg name="dbg_loop_end1" protect="rw">
  118646. <bits access="rw" name="lpend1" pos="31:0" rst="0">
  118647. <comment>hardware loop 1 end</comment>
  118648. </bits>
  118649. </reg>
  118650. <reg name="dbg_loop_cnt1" protect="rw">
  118651. <bits access="rw" name="lpcount1" pos="31:0" rst="0">
  118652. <comment>hardware loop 1 counter</comment>
  118653. </bits>
  118654. </reg>
  118655. <hole size="288"/>
  118656. <reg name="dbg_mestatus" protect="rw">
  118657. <bits access="r" name="prv" pos="2:1" rst="3">
  118658. <comment>Statically 2'b11 and cannot be altered</comment>
  118659. </bits>
  118660. <bits access="rw" name="int_en" pos="0" rst="0">
  118661. <comment>Interrupt enable:
  118662. When an exception is encountered, the current value of MSTATUS is saved in MESTATUS.
  118663. When an eret instruction is executed, the value from MESTATUS replaces MSTATUS register.</comment>
  118664. </bits>
  118665. </reg>
  118666. <hole size="59360"/>
  118667. <reg name="dbg_mcpuid" protect="r">
  118668. <bits access="r" name="base" pos="31:30" rst="0">
  118669. <comment>read as 0, which means RV32I</comment>
  118670. </bits>
  118671. <bits access="r" name="extension" pos="25:0" rst="8392960">
  118672. <comment>RI5CY only supports the I and M extension, plus the RI5CY non-standard extensions. This means bits 8(I), 12(M) and 23(X) are 1, the rest is 0.</comment>
  118673. </bits>
  118674. </reg>
  118675. <reg name="dbg_mimpid" protect="r">
  118676. <bits access="r" name="implementation" pos="31:16" rst="0">
  118677. </bits>
  118678. <bits access="r" name="source" pos="15:0" rst="32768">
  118679. </bits>
  118680. </reg>
  118681. <hole size="448"/>
  118682. <reg name="dbg_hartid" protect="r">
  118683. <bits access="r" name="cluster_id" pos="10:5" rst="0">
  118684. <comment>ID of the cluster</comment>
  118685. </bits>
  118686. <bits access="r" name="core_id" pos="3:0" rst="0">
  118687. <comment>ID of the within the cluster</comment>
  118688. </bits>
  118689. </reg>
  118690. </module>
  118691. </archive>
  118692. <archive relative="wcn_rf_if.xml">
  118693. <module category="wcn" name="WCN_RF_IF">
  118694. <reg name="revision" protect="r">
  118695. <bits access="r" name="revid" pos="3:0" rst="3">
  118696. <comment>Revision ID.</comment>
  118697. </bits>
  118698. </reg>
  118699. <reg name="sys_control" protect="rw">
  118700. <bits access="rw" name="bt_tx_type" pos="9" rst="0">
  118701. </bits>
  118702. <bits access="rw" name="bt_ch_ctrl_src_sel" pos="8" rst="0">
  118703. <comment>BT channel control selection.
  118704. 1'h0:: bt
  118705. 1'h1:: reg</comment>
  118706. </bits>
  118707. <bits access="rw" name="fm_adc_clk_mode" pos="7" rst="0">
  118708. <comment>fm adc clock mode.
  118709. 1'd0:: divider
  118710. divider of pll
  118711. 1'd1:: adpll
  118712. 43.008MHz</comment>
  118713. </bits>
  118714. <bits access="rw" name="bt_hopping_en" pos="6" rst="1">
  118715. <comment>enable bt hopping while channel is muliplier of 26MHz during rx procedure.
  118716. If this bit is set to 1'd1, rf_interface will change the ADC clock to 28/56MHz generated by adpll instead of 26/52MHz crystal clock to avoid the receiving interference caused by 26MHz adc clock.</comment>
  118717. </bits>
  118718. <bits access="rw" name="bt_tune_diff_en" pos="5" rst="1">
  118719. <comment>enable BT ARFCN tune diff mode.
  118720. If this bit is set to 1'd1, rf_interface will redo the rx/tx procedure (including pll calibration process) if ARFCN changes during one rx/tx procedure.</comment>
  118721. </bits>
  118722. <bits access="rw" name="clk_digital_enable_reg" pos="4" rst="0">
  118723. <comment>enable all digital clock.
  118724. If this bit is set to 1'd1, all digital clocks including gating ones will be forcely on.</comment>
  118725. </bits>
  118726. <bits access="rw" name="rf_mode" pos="3:2" rst="0">
  118727. <comment>RF mode.
  118728. 2'd0:: BT
  118729. 2'd1:: WIFI
  118730. 2'd2:: FM</comment>
  118731. </bits>
  118732. <bits access="rw" name="chip_self_cal_enable" pos="1" rst="0">
  118733. <comment>Chip self_cal enable.
  118734. Self cal process will be triggered at posedge of chip_self_cal_enable.</comment>
  118735. </bits>
  118736. <bits access="rw" name="soft_resetn" pos="0" rst="1">
  118737. <comment>soft reset. Active low.</comment>
  118738. </bits>
  118739. </reg>
  118740. <reg name="bt_control" protect="rw">
  118741. <bits access="rw" name="bt_ch_type" pos="7" rst="0">
  118742. <comment>BT channel type.
  118743. 1'd0:: normal
  118744. 1'd1:: multiplier
  118745. Multiplier of 26MHz. _x000D_</comment>
  118746. </bits>
  118747. <bits access="rw" name="bt_arfcn" pos="6:0" rst="39">
  118748. <comment>BT Channel number. _x000D_
  118749. 7'h00 : Channel0 _x000D_
  118750. 7'h4E : Channel78</comment>
  118751. </bits>
  118752. </reg>
  118753. <reg name="wf_control" protect="rw">
  118754. <bits access="rw" name="wf_freq_direct" pos="22:6" rst="0">
  118755. <comment>frequency direct reg. u7.10, unit is MHz</comment>
  118756. </bits>
  118757. <bits access="rw" name="wf_freq_mode" pos="5" rst="0">
  118758. <comment>WIFI freq mode.
  118759. 1'd0:: channel
  118760. channel number mode. Channel Freq = 2407MHz + 5MH*wf_chn
  118761. 1'd1:: direct
  118762. direct mode. Channel Freq = 2412MH + wf_freq_direct</comment>
  118763. </bits>
  118764. <bits access="rw" name="wf_chn" pos="4:1" rst="1">
  118765. <comment>WIFI channel.</comment>
  118766. </bits>
  118767. <bits access="rw" name="wf_tune" pos="0" rst="0">
  118768. <comment>Start tune.
  118769. WIFI will be started at the posedge of wf_tune.</comment>
  118770. </bits>
  118771. </reg>
  118772. <reg name="fm_control" protect="rw">
  118773. <bits access="rw" name="fm_freq_direct" pos="31:16" rst="0">
  118774. <comment>frequency direct reg. u6.10, unit is MHz</comment>
  118775. </bits>
  118776. <bits access="rw" name="fm_band_sel" pos="14:13" rst="2">
  118777. <comment>FM band select.
  118778. 2'd0:: 87_108MHz : (US/Europe)
  118779. 2'd1:: 76_91MHz : (Japan)
  118780. 2'd2:: 76_108MHz : (World Wide)
  118781. 2'd3:: 65_76MHz : (East Europe)</comment>
  118782. </bits>
  118783. <bits access="rw" name="fm_freq_mode" pos="12" rst="0">
  118784. <comment>FM freq mode.
  118785. 1'd0:: channel
  118786. channel number mode. Channel Freq = 25KHz*fm_chan_reg + bottom freq
  118787. 1'd1:: direct
  118788. direct mode. Channel Freq = bottom freq + fm_freq_direct</comment>
  118789. </bits>
  118790. <bits access="rw" name="fm_chan_reg" pos="11:1" rst="1028">
  118791. <comment>FM channel.</comment>
  118792. </bits>
  118793. <bits access="rw" name="fm_tune" pos="0" rst="0">
  118794. <comment>Start tune.
  118795. FM will be started at the posedge of fm_tune.</comment>
  118796. </bits>
  118797. </reg>
  118798. <reg name="inter_freq_setting" protect="rw">
  118799. <bits access="rw" name="fm_imgrej" pos="27" rst="0">
  118800. <comment>FM intermediate frequency mode.
  118801. 1'd0:: positive
  118802. 1'd1:: negtive</comment>
  118803. </bits>
  118804. <bits access="rw" name="fm_if" pos="26:16" rst="128">
  118805. <comment>FM intermediate freqeuncy. u1.10. Unit is Mhz. Default is 125KHz. _x000D_</comment>
  118806. </bits>
  118807. <bits access="rw" name="bt_zif" pos="12" rst="0">
  118808. <comment>enable zero intermediate frequency.
  118809. 1'd0:: use_bt_freq
  118810. use intermediate frequency defined by bt_digital_lo_freq;
  118811. 1'd1:: use_0hz
  118812. use 0Hz intermediate frequency.</comment>
  118813. </bits>
  118814. <bits access="rw" name="bt_imgrej" pos="11" rst="0">
  118815. <comment>BT intermediate frequency mode.
  118816. 1'd0:: positive
  118817. 1'd1:: negtive</comment>
  118818. </bits>
  118819. <bits access="rw" name="bt_if" pos="10:0" rst="758">
  118820. <comment>BT intermediate freqeuncy. u1.10. Unit is Mhz. Default is740KHz.</comment>
  118821. </bits>
  118822. </reg>
  118823. <reg name="bandgap_setting" protect="rw">
  118824. <bits access="rw" name="sel_bg" pos="0" rst="1">
  118825. </bits>
  118826. </reg>
  118827. <reg name="lna_rmx_setting" protect="rw">
  118828. <bits access="rw" name="bt_lna_input_short_rx" pos="25" rst="0">
  118829. </bits>
  118830. <bits access="rw" name="bt_lna_input_short_tx" pos="24" rst="0">
  118831. </bits>
  118832. <bits access="rw" name="bt_lna_en" pos="23" rst="1">
  118833. </bits>
  118834. <bits access="rw" name="bt_lna_vcas_bit" pos="22:21" rst="0">
  118835. </bits>
  118836. <bits access="rw" name="bt_tia_bypass" pos="20" rst="0">
  118837. </bits>
  118838. <bits access="rw" name="bt_rmx_disable" pos="19" rst="0">
  118839. </bits>
  118840. <bits access="rw" name="wf_tia_rin_bit" pos="18:17" rst="0">
  118841. </bits>
  118842. <bits access="rw" name="bt_tia_rin_bit" pos="16:15" rst="2">
  118843. </bits>
  118844. <bits access="rw" name="bt_rmx_lo_vcom_bit" pos="14:13" rst="0">
  118845. </bits>
  118846. <bits access="rw" name="fm_lna_reg_ictrl" pos="12" rst="0">
  118847. </bits>
  118848. <bits access="rw" name="fm_lna_port_sel" pos="8:7" rst="0">
  118849. </bits>
  118850. <bits access="rw" name="fm_rmx_harm_rej_en" pos="6" rst="1">
  118851. </bits>
  118852. <bits access="rw" name="fm_rmx_lobias_bit" pos="5:4" rst="1">
  118853. </bits>
  118854. <bits access="rw" name="fm_rmx_reg_bit" pos="3:1" rst="4">
  118855. </bits>
  118856. <bits access="rw" name="fm_rmx_rshort_en" pos="0" rst="0">
  118857. </bits>
  118858. </reg>
  118859. <reg name="pga_setting0" protect="rw">
  118860. <bits access="rw" name="pga_fm_en_dr" pos="16" rst="0">
  118861. </bits>
  118862. <bits access="rw" name="pga_fm_en_reg" pos="15" rst="0">
  118863. </bits>
  118864. <bits access="rw" name="pga_blk_mode" pos="14" rst="0">
  118865. </bits>
  118866. <bits access="rw" name="pga_bw_tun_bit" pos="13:11" rst="3">
  118867. </bits>
  118868. <bits access="rw" name="pga_cf_bit" pos="10:6" rst="0">
  118869. </bits>
  118870. <bits access="rw" name="pga_iq_sw" pos="5" rst="0">
  118871. </bits>
  118872. <bits access="rw" name="pga_rs_bit" pos="4:0" rst="0">
  118873. </bits>
  118874. </reg>
  118875. <reg name="pga_setting1" protect="rw">
  118876. <bits access="rw" name="fm_pga_gain_bit" pos="22:20" rst="0">
  118877. </bits>
  118878. <bits access="rw" name="bt_pga_bw_mode_1m" pos="19:18" rst="1">
  118879. </bits>
  118880. <bits access="rw" name="bt_pga_bw_mode_2m" pos="17:16" rst="2">
  118881. </bits>
  118882. <bits access="rw" name="wf_pga_bw_mode" pos="15:14" rst="3">
  118883. </bits>
  118884. <bits access="rw" name="fm_pga_bw_mode" pos="13:12" rst="0">
  118885. </bits>
  118886. <bits access="rw" name="bt_pga_ibit" pos="11:10" rst="0">
  118887. </bits>
  118888. <bits access="rw" name="wf_pga_ibit" pos="9:8" rst="2">
  118889. </bits>
  118890. <bits access="rw" name="fm_pga_ibit" pos="7:6" rst="0">
  118891. </bits>
  118892. <bits access="rw" name="bt_pga_if_mode" pos="5:4" rst="2">
  118893. </bits>
  118894. <bits access="rw" name="wf_pga_if_mode" pos="3:2" rst="0">
  118895. </bits>
  118896. <bits access="rw" name="fm_pga_if_mode" pos="1:0" rst="2">
  118897. </bits>
  118898. </reg>
  118899. <reg name="rxflt_setting" protect="rw">
  118900. <bits access="rw" name="rxflt_rstn_dr" pos="30" rst="0">
  118901. </bits>
  118902. <bits access="rw" name="rxflt_rstn_reg" pos="29" rst="0">
  118903. </bits>
  118904. <bits access="rw" name="rxflt_aux_en" pos="28" rst="0">
  118905. </bits>
  118906. <bits access="rw" name="rxflt_iqswap" pos="27" rst="0">
  118907. </bits>
  118908. <bits access="rw" name="rxflt_cap_bit" pos="26:23" rst="6">
  118909. </bits>
  118910. <bits access="rw" name="bt_rxflt_mode_sel_1m" pos="22:21" rst="1">
  118911. </bits>
  118912. <bits access="rw" name="bt_rxflt_mode_sel_2m" pos="20:19" rst="2">
  118913. </bits>
  118914. <bits access="rw" name="wf_rxflt_mode_sel" pos="18:17" rst="3">
  118915. </bits>
  118916. <bits access="rw" name="fm_rxflt_mode_sel" pos="16:15" rst="0">
  118917. </bits>
  118918. <bits access="rw" name="bt_rxflt_ibit" pos="14:13" rst="0">
  118919. </bits>
  118920. <bits access="rw" name="wf_rxflt_ibit" pos="12:11" rst="2">
  118921. </bits>
  118922. <bits access="rw" name="fm_rxflt_ibit" pos="10:9" rst="0">
  118923. </bits>
  118924. <bits access="rw" name="bt_rxflt_if_mode" pos="8:7" rst="2">
  118925. </bits>
  118926. <bits access="rw" name="wf_rxflt_if_mode" pos="6:5" rst="0">
  118927. </bits>
  118928. <bits access="rw" name="fm_rxflt_if_mode" pos="4:3" rst="2">
  118929. </bits>
  118930. <bits access="rw" name="bt_rxflt_wifi_hp" pos="2" rst="0">
  118931. </bits>
  118932. <bits access="rw" name="wf_rxflt_wifi_hp" pos="1" rst="1">
  118933. </bits>
  118934. <bits access="rw" name="fm_rxflt_wifi_hp" pos="0" rst="0">
  118935. </bits>
  118936. </reg>
  118937. <reg name="adc_setting0" protect="rw">
  118938. <bits access="rw" name="adc_delay_bit" pos="12:9" rst="3">
  118939. </bits>
  118940. <bits access="rw" name="adc_dly_in_ctrl" pos="8" rst="0">
  118941. </bits>
  118942. <bits access="rw" name="adc_vcm_sel" pos="7:6" rst="0">
  118943. </bits>
  118944. <bits access="rw" name="adc_clk_edge" pos="5" rst="1">
  118945. </bits>
  118946. <bits access="rw" name="adc_clk_div2" pos="4" rst="0">
  118947. </bits>
  118948. <bits access="rw" name="adc_clk_sel_dr" pos="3" rst="0">
  118949. </bits>
  118950. <bits access="rw" name="adc_clk_sel_reg" pos="2:0" rst="0">
  118951. </bits>
  118952. </reg>
  118953. <reg name="adc_setting1" protect="rw">
  118954. <bits access="rw" name="bt_adc_ref_ibit_1m" pos="23:21" rst="0">
  118955. </bits>
  118956. <bits access="rw" name="bt_adc_ref_ibit_2m" pos="20:18" rst="0">
  118957. </bits>
  118958. <bits access="rw" name="wf_adc_ref_ibit" pos="17:15" rst="0">
  118959. </bits>
  118960. <bits access="rw" name="fm_adc_ref_ibit" pos="14:12" rst="0">
  118961. </bits>
  118962. <bits access="rw" name="bt_adc_reg_ibit_1m" pos="11:9" rst="0">
  118963. </bits>
  118964. <bits access="rw" name="bt_adc_reg_ibit_2m" pos="8:6" rst="0">
  118965. </bits>
  118966. <bits access="rw" name="wf_adc_reg_ibit" pos="5:3" rst="0">
  118967. </bits>
  118968. <bits access="rw" name="fm_adc_reg_ibit" pos="2:0" rst="0">
  118969. </bits>
  118970. </reg>
  118971. <reg name="bt_dac_setting" protect="rw">
  118972. <bits access="rw" name="bt_tmx_cal_clk_edge" pos="31" rst="0">
  118973. </bits>
  118974. <bits access="rw" name="bt_dac_bw_tune_bit_1m" pos="30:27" rst="0">
  118975. </bits>
  118976. <bits access="rw" name="bt_dac_bw_tune_bit_2m" pos="26:23" rst="0">
  118977. </bits>
  118978. <bits access="rw" name="bt_dac_filter_ibias_bit" pos="22:21" rst="0">
  118979. </bits>
  118980. <bits access="rw" name="bt_dac_low_mag" pos="20" rst="0">
  118981. </bits>
  118982. <bits access="rw" name="bt_dac_rstn_dr" pos="19" rst="0">
  118983. </bits>
  118984. <bits access="rw" name="bt_dac_rstn_reg" pos="18" rst="0">
  118985. </bits>
  118986. <bits access="rw" name="bt_dac_clk_edge" pos="17" rst="0">
  118987. </bits>
  118988. <bits access="rw" name="bt_dac_vlow_ctrl_bit" pos="16:14" rst="4">
  118989. </bits>
  118990. <bits access="rw" name="bt_dac_vtr_sel" pos="13" rst="0">
  118991. </bits>
  118992. <bits access="rw" name="bt_dac_auxout_en" pos="12:10" rst="0">
  118993. </bits>
  118994. <bits access="rw" name="bt_dac_cm_bit" pos="9:8" rst="0">
  118995. </bits>
  118996. <bits access="rw" name="bt_dac_core_bit" pos="7:5" rst="4">
  118997. </bits>
  118998. <bits access="rw" name="bt_dac_iout_enable" pos="4" rst="0">
  118999. </bits>
  119000. <bits access="rw" name="bt_dac_lpwr_mode" pos="3" rst="1">
  119001. </bits>
  119002. <bits access="rw" name="bt_dac_mux_en" pos="2" rst="0">
  119003. </bits>
  119004. <bits access="rw" name="bt_dac_range_bit" pos="1:0" rst="2">
  119005. </bits>
  119006. </reg>
  119007. <reg name="bt_txrf_setting" protect="rw">
  119008. <bits access="rw" name="bt_delay_padrv" pos="31:24" rst="30">
  119009. </bits>
  119010. <bits access="rw" name="txrf_captune_bit_rx_lo" pos="23:20" rst="7">
  119011. </bits>
  119012. <bits access="rw" name="txrf_captune_bit_rx_md" pos="19:16" rst="7">
  119013. </bits>
  119014. <bits access="rw" name="txrf_captune_bit_rx_hi" pos="15:12" rst="7">
  119015. </bits>
  119016. <bits access="rw" name="txrf_captune_bit_tx_lo" pos="11:8" rst="7">
  119017. </bits>
  119018. <bits access="rw" name="txrf_captune_bit_tx_md" pos="7:4" rst="7">
  119019. </bits>
  119020. <bits access="rw" name="txrf_captune_bit_tx_hi" pos="3:0" rst="7">
  119021. </bits>
  119022. </reg>
  119023. <reg name="fm_dsp_setting" protect="rw">
  119024. <bits access="rw" name="fm_dsp_resetn_delay" pos="3:2" rst="0">
  119025. </bits>
  119026. <bits access="rw" name="fm_dsp_resetn_dr" pos="1" rst="0">
  119027. </bits>
  119028. <bits access="rw" name="fm_dsp_resetn_reg" pos="0" rst="0">
  119029. </bits>
  119030. </reg>
  119031. <reg name="vco_setting" protect="rw">
  119032. <bits access="rw" name="vco_regcap_selh" pos="26" rst="0">
  119033. </bits>
  119034. <bits access="rw" name="vco_buf_ibit" pos="25:22" rst="6">
  119035. </bits>
  119036. <bits access="rw" name="vco_div2_bias_bit" pos="21:19" rst="2">
  119037. </bits>
  119038. <bits access="rw" name="vco_buf_bias_bit" pos="18:17" rst="3">
  119039. </bits>
  119040. <bits access="rw" name="vco_var_bit" pos="16:14" rst="3">
  119041. </bits>
  119042. <bits access="rw" name="vco_var_reverse" pos="13" rst="0">
  119043. </bits>
  119044. <bits access="rw" name="vco_var_short" pos="12" rst="0">
  119045. </bits>
  119046. <bits access="rw" name="vco_var_vcom" pos="11:9" rst="4">
  119047. </bits>
  119048. <bits access="rw" name="vco_vmode_bit" pos="8:6" rst="0">
  119049. </bits>
  119050. <bits access="rw" name="bt_vco_imode" pos="5" rst="1">
  119051. </bits>
  119052. <bits access="rw" name="wf_vco_imode" pos="4" rst="1">
  119053. </bits>
  119054. <bits access="rw" name="fm_vco_imode" pos="3" rst="1">
  119055. </bits>
  119056. <bits access="rw" name="bt_vco_vmode" pos="2" rst="0">
  119057. </bits>
  119058. <bits access="rw" name="wf_vco_vmode" pos="1" rst="0">
  119059. </bits>
  119060. <bits access="rw" name="fm_vco_vmode" pos="0" rst="0">
  119061. </bits>
  119062. </reg>
  119063. <reg name="pll_setting0" protect="rw">
  119064. <bits access="rw" name="pll_test_en" pos="30" rst="0">
  119065. </bits>
  119066. <bits access="rw" name="pll_reg_peri_bit" pos="29:26" rst="8">
  119067. </bits>
  119068. <bits access="rw" name="pll_reg_presc" pos="25:22" rst="8">
  119069. </bits>
  119070. <bits access="rw" name="pll_reg_presc_rc" pos="21:20" rst="2">
  119071. </bits>
  119072. <bits access="rw" name="pll_open_en" pos="19" rst="0">
  119073. </bits>
  119074. <bits access="rw" name="pll_fbc_sel" pos="18:16" rst="1">
  119075. </bits>
  119076. <bits access="rw" name="pll_sinc_mode" pos="15:13" rst="1">
  119077. </bits>
  119078. <bits access="rw" name="pll_xfer_aux_en" pos="12" rst="1">
  119079. </bits>
  119080. <bits access="rw" name="pll_bypass_notch" pos="11" rst="0">
  119081. </bits>
  119082. <bits access="rw" name="pll_div_fm_lo_clk_dr" pos="10" rst="0">
  119083. </bits>
  119084. <bits access="rw" name="pll_div_fm_lo_clk_reg" pos="9:6" rst="6">
  119085. </bits>
  119086. <bits access="rw" name="pll_div_fm_adc_clk_dr" pos="5" rst="0">
  119087. </bits>
  119088. <bits access="rw" name="pll_div_fm_adc_clk_reg" pos="4:0" rst="28">
  119089. </bits>
  119090. </reg>
  119091. <reg name="pll_setting1" protect="rw">
  119092. <bits access="rw" name="pll_lowpwr_mode_rx" pos="31" rst="0">
  119093. </bits>
  119094. <bits access="rw" name="pll_lowpwr_mode_tx" pos="30" rst="0">
  119095. </bits>
  119096. <bits access="rw" name="pll_cp_r_bit_rx" pos="29:26" rst="8">
  119097. </bits>
  119098. <bits access="rw" name="pll_cp_r_bit_tx" pos="25:22" rst="8">
  119099. </bits>
  119100. <bits access="rw" name="pll_gain_bit_rx" pos="21:18" rst="7">
  119101. </bits>
  119102. <bits access="rw" name="pll_gain_bit_tx" pos="17:14" rst="7">
  119103. </bits>
  119104. <bits access="rw" name="pll_lpf_gain_rx" pos="13:10" rst="2">
  119105. </bits>
  119106. <bits access="rw" name="pll_lpf_gain_tx" pos="9:6" rst="2">
  119107. </bits>
  119108. <bits access="rw" name="pll_r_bit_rx" pos="5:4" rst="2">
  119109. </bits>
  119110. <bits access="rw" name="pll_r_bit_tx" pos="3:2" rst="2">
  119111. </bits>
  119112. <bits access="rw" name="pll_refmulti2_en_rx" pos="1" rst="1">
  119113. </bits>
  119114. <bits access="rw" name="pll_refmulti2_en_tx" pos="0" rst="1">
  119115. </bits>
  119116. </reg>
  119117. <reg name="pll_setting2" protect="rw">
  119118. <bits access="rw" name="pll_bt_adc_clk_en_dr" pos="31" rst="0">
  119119. </bits>
  119120. <bits access="rw" name="pll_bt_adc_clk_en_reg" pos="30" rst="0">
  119121. </bits>
  119122. <bits access="rw" name="pll_clk_dig52m_en_dr" pos="29" rst="0">
  119123. </bits>
  119124. <bits access="rw" name="pll_clk_dig52m_en_reg" pos="28" rst="0">
  119125. </bits>
  119126. <bits access="rw" name="pll_mdll_refclk_en_dr" pos="27" rst="0">
  119127. </bits>
  119128. <bits access="rw" name="pll_mdll_refclk_en_reg" pos="26" rst="0">
  119129. </bits>
  119130. <bits access="rw" name="pll_ref_mode_rx" pos="25" rst="0">
  119131. </bits>
  119132. <bits access="rw" name="pll_ref_mode_tx" pos="24" rst="1">
  119133. </bits>
  119134. <bits access="rw" name="pll_pfd_res_bit_rx" pos="23:18" rst="0">
  119135. </bits>
  119136. <bits access="rw" name="pll_pfd_res_bit_tx" pos="17:12" rst="0">
  119137. </bits>
  119138. <bits access="rw" name="pll_phase_ctrl_dly_rx" pos="11:10" rst="0">
  119139. </bits>
  119140. <bits access="rw" name="pll_phase_ctrl_dly_tx" pos="9:8" rst="0">
  119141. </bits>
  119142. <bits access="rw" name="mdll_div_rx" pos="7:4" rst="2">
  119143. </bits>
  119144. <bits access="rw" name="mdll_div_tx" pos="3:0" rst="2">
  119145. </bits>
  119146. </reg>
  119147. <reg name="pll_status" protect="rw">
  119148. <bits access="rw" name="pll_lock_flag_timer_delay_sel" pos="5:4" rst="0">
  119149. </bits>
  119150. <bits access="rw" name="pll_lock_det_timer_delay_sel" pos="3:2" rst="0">
  119151. </bits>
  119152. <bits access="r" name="pll_lock_flag" pos="1" rst="0">
  119153. </bits>
  119154. <bits access="r" name="pll_lock_det" pos="0" rst="0">
  119155. </bits>
  119156. </reg>
  119157. <reg name="adpll_setting0" protect="rw">
  119158. <bits access="rw" name="adpll_sdm_clk_sel_timer_delay" pos="29:27" rst="5">
  119159. </bits>
  119160. <bits access="rw" name="adpll_rstn_timer_delay" pos="26:20" rst="49">
  119161. </bits>
  119162. <bits access="rw" name="adpll_clk_en_timer_delay" pos="19" rst="0">
  119163. </bits>
  119164. <bits access="rw" name="adpll_rstn_dr" pos="18" rst="0">
  119165. </bits>
  119166. <bits access="rw" name="adpll_rstn_reg" pos="17" rst="0">
  119167. </bits>
  119168. <bits access="rw" name="adpll_cp_ibit" pos="16:14" rst="4">
  119169. </bits>
  119170. <bits access="rw" name="adpll_reg_res_bit" pos="13:12" rst="0">
  119171. </bits>
  119172. <bits access="rw" name="adpll_res_bit" pos="11:10" rst="2">
  119173. </bits>
  119174. <bits access="rw" name="adpll_test_en" pos="9" rst="0">
  119175. </bits>
  119176. <bits access="rw" name="adpll_vreg_bit" pos="8:5" rst="8">
  119177. </bits>
  119178. <bits access="rw" name="adpll_pcon_mode" pos="4" rst="0">
  119179. </bits>
  119180. <bits access="rw" name="adpll_refmulti2_en" pos="3" rst="1">
  119181. </bits>
  119182. <bits access="rw" name="adpll_vco_high_test" pos="2" rst="0">
  119183. </bits>
  119184. <bits access="rw" name="adpll_vco_low_test" pos="1" rst="0">
  119185. </bits>
  119186. <bits access="rw" name="adpll_sdm_clk_test_en" pos="0" rst="0">
  119187. </bits>
  119188. </reg>
  119189. <reg name="adpll_setting1" protect="rw">
  119190. <bits access="rw" name="adpll_clk2bt_dig_en" pos="13" rst="0">
  119191. </bits>
  119192. <bits access="rw" name="adpll_clk2bt_dig_sel" pos="12" rst="0">
  119193. </bits>
  119194. <bits access="rw" name="adpll_clk2bt_adc_en_dr" pos="11" rst="0">
  119195. </bits>
  119196. <bits access="rw" name="adpll_clk2bt_adc_en_reg" pos="10" rst="0">
  119197. </bits>
  119198. <bits access="rw" name="adpll_clk2bt_adc_sel_dr" pos="9" rst="0">
  119199. </bits>
  119200. <bits access="rw" name="adpll_clk2bt_adc_sel_reg" pos="8" rst="0">
  119201. </bits>
  119202. <bits access="rw" name="adpll_clk2fmwf_adc_en_dr" pos="7" rst="0">
  119203. </bits>
  119204. <bits access="rw" name="adpll_clk2fmwf_adc_en_reg" pos="6" rst="0">
  119205. </bits>
  119206. <bits access="rw" name="adpll_clk2fmwf_adc_sel_dr" pos="5" rst="0">
  119207. </bits>
  119208. <bits access="rw" name="adpll_clk2fmwf_adc_sel_reg" pos="4" rst="0">
  119209. </bits>
  119210. <bits access="rw" name="adpll_clk2wf_dig_en_dr" pos="3" rst="0">
  119211. </bits>
  119212. <bits access="rw" name="adpll_clk2wf_dig_en_reg" pos="2" rst="0">
  119213. </bits>
  119214. <bits access="rw" name="adpll_clk2wf_dig_sel_dr" pos="1" rst="0">
  119215. </bits>
  119216. <bits access="rw" name="adpll_clk2wf_dig_sel_reg" pos="0" rst="0">
  119217. </bits>
  119218. </reg>
  119219. <reg name="adpll_status" protect="rw">
  119220. <bits access="rw" name="adpll_lock_flag_timer_delay_sel" pos="5:4" rst="0">
  119221. </bits>
  119222. <bits access="rw" name="adpll_lock_det_timer_delay_sel" pos="3:2" rst="0">
  119223. </bits>
  119224. <bits access="r" name="adpll_lock_flag" pos="1" rst="0">
  119225. </bits>
  119226. <bits access="r" name="adpll_lock_det" pos="0" rst="0">
  119227. </bits>
  119228. </reg>
  119229. <reg name="mdll_setting" protect="rw">
  119230. <bits access="rw" name="mdll_rstn_dr" pos="17" rst="0">
  119231. </bits>
  119232. <bits access="rw" name="mdll_rstn_reg" pos="16" rst="0">
  119233. </bits>
  119234. <bits access="rw" name="disable_refclk_pll" pos="15" rst="0">
  119235. </bits>
  119236. <bits access="rw" name="mdll_startup_bit" pos="14:12" rst="6">
  119237. </bits>
  119238. <bits access="rw" name="mdll_cp_ibit" pos="11:9" rst="0">
  119239. </bits>
  119240. <bits access="rw" name="mdll_band_bit" pos="8:6" rst="7">
  119241. </bits>
  119242. <bits access="rw" name="mdll_band_sel" pos="5" rst="0">
  119243. </bits>
  119244. <bits access="rw" name="mdll_div_bit" pos="4:0" rst="5">
  119245. </bits>
  119246. </reg>
  119247. <reg name="pll_sdm_setting0" protect="rw">
  119248. <bits access="rw" name="pll_freq_former_shift_ct" pos="20:18" rst="5">
  119249. </bits>
  119250. <bits access="rw" name="pll_freq_former_bypass" pos="17" rst="0">
  119251. </bits>
  119252. <bits access="rw" name="pll_div_dr" pos="16" rst="0">
  119253. </bits>
  119254. <bits access="rw" name="pll_sdm_clk_sel_0" pos="15" rst="0">
  119255. </bits>
  119256. <bits access="rw" name="pll_sdm_clk_sel_1" pos="14" rst="1">
  119257. </bits>
  119258. <bits access="rw" name="reset_pll_sdm_timer_delay" pos="13:10" rst="2">
  119259. </bits>
  119260. <bits access="rw" name="pll_sdm_resetn_dr" pos="9" rst="0">
  119261. </bits>
  119262. <bits access="rw" name="pll_sdm_resetn_reg" pos="8" rst="0">
  119263. </bits>
  119264. <bits access="rw" name="pll_sdm_clk_edge" pos="7" rst="0">
  119265. </bits>
  119266. <bits access="rw" name="pll_sdm_int_dec_sel" pos="6:5" rst="2">
  119267. </bits>
  119268. <bits access="rw" name="pll_sdm_dither_bypass" pos="4" rst="0">
  119269. </bits>
  119270. <bits access="rw" name="pll_sdm_delay_sel" pos="3:0" rst="0">
  119271. </bits>
  119272. </reg>
  119273. <reg name="pll_sdm_setting1" protect="rw">
  119274. <bits access="rw" name="pll_div_reg" pos="30:0" rst="787561236">
  119275. <comment>To be used when pll_pll_freq_dr=1._x000D_
  119276. Fomula is freq*2^24/(mdll_div*crystal_clk)</comment>
  119277. </bits>
  119278. </reg>
  119279. <reg name="adpll_sdm_setting0" protect="rw">
  119280. <bits access="rw" name="adpll_sdm_freq_dr" pos="13" rst="0">
  119281. <comment>If 1, pll frequency is decided by freq register;_x000D_</comment>
  119282. </bits>
  119283. <bits access="rw" name="adpll_sdm_clk_sel_0" pos="12" rst="0">
  119284. </bits>
  119285. <bits access="rw" name="adpll_sdm_clk_sel_1" pos="11" rst="1">
  119286. </bits>
  119287. <bits access="rw" name="reset_adpll_sdm_timer_delay" pos="10:7" rst="2">
  119288. </bits>
  119289. <bits access="rw" name="adpll_sdm_resetn_dr" pos="6" rst="0">
  119290. <comment>If 1, adpll sdm resetn uses sdm_resetn_reg; _x000D_
  119291. if 0, use logic value.</comment>
  119292. </bits>
  119293. <bits access="rw" name="adpll_sdm_resetn_reg" pos="5" rst="0">
  119294. <comment>adpll Sdm modulator module reset register</comment>
  119295. </bits>
  119296. <bits access="rw" name="adpll_sdm_clk_fbc_inv" pos="4" rst="0">
  119297. <comment>Invert SDM clock edge.</comment>
  119298. </bits>
  119299. <bits access="rw" name="adpll_sdm_int_dec_sel" pos="3:1" rst="3">
  119300. </bits>
  119301. <bits access="rw" name="adpll_sdm_dither_bypass" pos="0" rst="0">
  119302. <comment>SDM dither bypass enable.</comment>
  119303. </bits>
  119304. </reg>
  119305. <reg name="adpll_sdm_setting1" protect="rw">
  119306. <bits access="rw" name="adpll_sdm_freq_reg" pos="31:0" rst="0">
  119307. <comment>To be used when adpll_sdm_freq_dr=1._x000D_
  119308. Fomula is freq*2^23/crystal_clk</comment>
  119309. </bits>
  119310. </reg>
  119311. <reg name="adpll_sdm_setting2" protect="rw">
  119312. <bits access="rw" name="adpll_sdm_ss_en" pos="28" rst="0">
  119313. </bits>
  119314. <bits access="rw" name="adpll_sdm_ss_devi" pos="27:16" rst="0">
  119315. </bits>
  119316. <bits access="rw" name="adpll_sdm_ss_devi_step" pos="15:0" rst="0">
  119317. </bits>
  119318. </reg>
  119319. <reg name="rxflt_cal_setting0" protect="rw">
  119320. <bits access="rw" name="wf_rxflt_cal_loop_coef" pos="30:16" rst="1209">
  119321. </bits>
  119322. <bits access="rw" name="rxflt_cal_cycles" pos="15:14" rst="0">
  119323. </bits>
  119324. <bits access="rw" name="rxflt_cal_clk_edge" pos="13" rst="0">
  119325. </bits>
  119326. <bits access="rw" name="rxflt_cal_clk_edge_sel" pos="12" rst="0">
  119327. </bits>
  119328. <bits access="rw" name="rxflt_cal_mode_sel" pos="11:10" rst="0">
  119329. </bits>
  119330. <bits access="rw" name="rxflt_cal_polarity" pos="9" rst="0">
  119331. </bits>
  119332. <bits access="rw" name="rxflt_cal_iqswap" pos="8" rst="0">
  119333. </bits>
  119334. <bits access="rw" name="rxflt_cal_cnt" pos="7:4" rst="7">
  119335. </bits>
  119336. <bits access="rw" name="rxflt_cal_init_delay" pos="3:0" rst="0">
  119337. </bits>
  119338. </reg>
  119339. <reg name="rxflt_cal_setting1" protect="rw">
  119340. <bits access="rw" name="rxflt_cal_bit_dr" pos="31" rst="0">
  119341. </bits>
  119342. <bits access="rw" name="bt_rxflt_cal_resolv_enhance" pos="30" rst="0">
  119343. </bits>
  119344. <bits access="rw" name="wf_rxflt_cal_resolv_enhance" pos="29" rst="0">
  119345. </bits>
  119346. <bits access="rw" name="fm_rxflt_cal_resolv_enhance" pos="28" rst="0">
  119347. </bits>
  119348. <bits access="rw" name="wf_rxflt_cal_loop_en" pos="27" rst="0">
  119349. </bits>
  119350. <bits access="rw" name="wf_rxflt_cal_loop_pol" pos="26" rst="0">
  119351. </bits>
  119352. <bits access="rw" name="wf_rxflt_cal_loop_adc_rng" pos="25:16" rst="750">
  119353. </bits>
  119354. <bits access="rw" name="rxflt_cal_i_bit_reg" pos="15:8" rst="128">
  119355. </bits>
  119356. <bits access="rw" name="rxflt_cal_q_bit_reg" pos="7:0" rst="128">
  119357. </bits>
  119358. </reg>
  119359. <reg name="rxflt_cal_setting2" protect="rw">
  119360. <bits access="rw" name="rxflt_cal_range_bit" pos="30:29" rst="2">
  119361. </bits>
  119362. <bits access="rw" name="wf_rxflt_cal_inter_en" pos="28" rst="0">
  119363. </bits>
  119364. <bits access="rw" name="wf_chn_md" pos="27:24" rst="7">
  119365. </bits>
  119366. <bits access="rw" name="wf_rxflt_cal_inter_coef_lo" pos="23:16" rst="43">
  119367. </bits>
  119368. <bits access="rw" name="wf_rxflt_cal_inter_coef_hi" pos="15:8" rst="43">
  119369. </bits>
  119370. <bits access="rw" name="bt_rxflt_cal_inter_en" pos="7" rst="0">
  119371. </bits>
  119372. <bits access="rw" name="bt_chn_md" pos="6:0" rst="39">
  119373. </bits>
  119374. </reg>
  119375. <reg name="rxflt_cal_setting3" protect="rw">
  119376. <bits access="rw" name="bt_rxflt_cal_inter_coef_lo" pos="30:16" rst="840">
  119377. </bits>
  119378. <bits access="rw" name="bt_rxflt_cal_inter_coef_hi" pos="14:0" rst="840">
  119379. </bits>
  119380. </reg>
  119381. <reg name="vco_pkd_cal_setting" protect="rw">
  119382. <bits access="rw" name="vco_ibit_dr" pos="17" rst="0">
  119383. </bits>
  119384. <bits access="rw" name="vco_ibit_reg" pos="16:13" rst="8">
  119385. </bits>
  119386. <bits access="rw" name="vco_vbit_dr" pos="12" rst="0">
  119387. </bits>
  119388. <bits access="rw" name="vco_vbit_reg" pos="11:8" rst="8">
  119389. </bits>
  119390. <bits access="rw" name="vco_pkd_ref_bit" pos="7:5" rst="3">
  119391. </bits>
  119392. <bits access="rw" name="vco_pkd_cal_init_delay" pos="4:1" rst="0">
  119393. </bits>
  119394. <bits access="rw" name="vco_pkd_cal_polarity" pos="0" rst="0">
  119395. </bits>
  119396. </reg>
  119397. <reg name="pll_cal_setting0" protect="rw">
  119398. <bits access="rw" name="pll_cal_clk_sel" pos="24" rst="0">
  119399. </bits>
  119400. <bits access="rw" name="pll_cal_bit" pos="23:22" rst="2">
  119401. </bits>
  119402. <bits access="rw" name="vco_band_dr" pos="21" rst="0">
  119403. <comment>Pll_vco_band_reg direct reg enable.</comment>
  119404. </bits>
  119405. <bits access="rw" name="vco_band_reg" pos="20:11" rst="512">
  119406. <comment>VCO band setting.</comment>
  119407. </bits>
  119408. <bits access="rw" name="pll_cal_freq_dr" pos="10" rst="0">
  119409. </bits>
  119410. <bits access="rw" name="pll_vco_bit_hold_time" pos="9:7" rst="0">
  119411. <comment>Vco bit hold time when vco bit changed during pll vco band calibration._x000D_
  119412. 3'd0:: vco_bit_hold_time_0 : 0.25us_x000D_
  119413. 3'd1:: vco_bit_hold_time_1 : 0.5us_x000D_
  119414. 3'd2:: vco_bit_hold_time_2 : 0.75us_x000D_
  119415. 3'd3:: vco_bit_hold_time_3 : 1us_x000D_
  119416. 3'd4:: vco_bit_hold_time_4 : 1.25us_x000D_
  119417. 3'd5:: vco_bit_hold_time_5 : 1.5us_x000D_
  119418. 3'd6:: vco_bit_hold_time_6 : 1.75us_x000D_
  119419. 3'd7:: vco_bit_hold_time_7 : 2us</comment>
  119420. </bits>
  119421. <bits access="rw" name="pll_cal_opt" pos="6" rst="1">
  119422. <comment>If 1, select the best vco band bit</comment>
  119423. </bits>
  119424. <bits access="rw" name="pll_cal_cnt_sel" pos="5:3" rst="1">
  119425. <comment>pll cal count time select_x000D_
  119426. 3'd0:: each_cnt_time_0 : 0.5us_x000D_
  119427. 3'd1:: each_cnt_time_1 : 1us_x000D_
  119428. 3'd2:: each_cnt_time_2 : 2us_x000D_
  119429. 3'd4:: each_cnt_time_3 : 4us_x000D_
  119430. 3'd5:: each_cnt_time_4 : 8us</comment>
  119431. </bits>
  119432. <bits access="rw" name="pll_init_delay" pos="2:0" rst="0">
  119433. <comment>Define pll_cal initial delay, which is the time between RXON(TXON) and rxpll_cal_enable._x000D_ Unit is us.</comment>
  119434. </bits>
  119435. </reg>
  119436. <reg name="pll_cal_setting1" protect="rw">
  119437. <bits access="rw" name="pll_cal_freq_reg" pos="15:0" rst="0">
  119438. </bits>
  119439. </reg>
  119440. <reg name="adc_cal_setting" protect="rw">
  119441. <bits access="rw" name="adc_cal_rstn_dr" pos="19" rst="0">
  119442. </bits>
  119443. <bits access="rw" name="adc_cal_rstn_reg" pos="18" rst="0">
  119444. </bits>
  119445. <bits access="rw" name="adc_ref_cal_init_delay" pos="17:14" rst="0">
  119446. </bits>
  119447. <bits access="rw" name="adc_ref_cal_polarity" pos="13" rst="0">
  119448. </bits>
  119449. <bits access="rw" name="adc_vref_vbit_dr" pos="12" rst="0">
  119450. </bits>
  119451. <bits access="rw" name="adc_vref_vbit_reg" pos="11:9" rst="0">
  119452. </bits>
  119453. <bits access="rw" name="adc_reg_cal_init_delay" pos="8:5" rst="0">
  119454. </bits>
  119455. <bits access="rw" name="adc_reg_cal_polarity" pos="4" rst="0">
  119456. </bits>
  119457. <bits access="rw" name="adc_vreg_vbit_dr" pos="3" rst="0">
  119458. </bits>
  119459. <bits access="rw" name="adc_vreg_vbit_reg" pos="2:0" rst="0">
  119460. </bits>
  119461. </reg>
  119462. <reg name="cal_dr_setting" protect="rw">
  119463. <bits access="rw" name="vco_pkd_cal_en_dr" pos="9" rst="0">
  119464. </bits>
  119465. <bits access="rw" name="vco_pkd_cal_en_reg" pos="8" rst="0">
  119466. </bits>
  119467. <bits access="rw" name="adc_ref_cal_en_dr" pos="7" rst="0">
  119468. </bits>
  119469. <bits access="rw" name="adc_ref_cal_en_reg" pos="6" rst="0">
  119470. </bits>
  119471. <bits access="rw" name="adc_reg_cal_en_dr" pos="5" rst="0">
  119472. </bits>
  119473. <bits access="rw" name="adc_reg_cal_en_reg" pos="4" rst="0">
  119474. </bits>
  119475. <bits access="rw" name="rxflt_cal_en_dr" pos="3" rst="0">
  119476. </bits>
  119477. <bits access="rw" name="rxflt_cal_en_reg" pos="2" rst="0">
  119478. </bits>
  119479. <bits access="rw" name="pll_cal_en_dr" pos="1" rst="0">
  119480. </bits>
  119481. <bits access="rw" name="pll_cal_en_reg" pos="0" rst="0">
  119482. </bits>
  119483. </reg>
  119484. <reg name="cal_status" protect="r">
  119485. <bits access="r" name="vco_pkd_cal_ready" pos="7" rst="0">
  119486. </bits>
  119487. <bits access="r" name="adc_ref_cal_ready" pos="6" rst="0">
  119488. </bits>
  119489. <bits access="r" name="adc_reg_cal_ready" pos="5" rst="0">
  119490. </bits>
  119491. <bits access="r" name="rxflt_cal_ready" pos="4" rst="0">
  119492. </bits>
  119493. <bits access="r" name="pll_cal_ready" pos="3" rst="0">
  119494. </bits>
  119495. <bits access="r" name="fm_self_cal_ready" pos="2" rst="0">
  119496. </bits>
  119497. <bits access="r" name="wf_self_cal_ready" pos="1" rst="0">
  119498. </bits>
  119499. <bits access="r" name="bt_self_cal_ready" pos="0" rst="0">
  119500. </bits>
  119501. </reg>
  119502. <reg name="cal_results0" protect="r">
  119503. <bits access="r" name="vco_ibit" pos="29:26" rst="15">
  119504. </bits>
  119505. <bits access="r" name="vco_vbit" pos="25:22" rst="15">
  119506. </bits>
  119507. <bits access="r" name="adc_vref_vbit" pos="21:19" rst="0">
  119508. </bits>
  119509. <bits access="r" name="adc_vreg_vbit" pos="18:16" rst="0">
  119510. </bits>
  119511. <bits access="r" name="rxflt_cal_i_bit" pos="15:8" rst="128">
  119512. </bits>
  119513. <bits access="r" name="rxflt_cal_q_bit" pos="7:0" rst="128">
  119514. </bits>
  119515. </reg>
  119516. <reg name="cal_results1" protect="r">
  119517. <bits access="r" name="vco_pkd_cal_out" pos="14" rst="0">
  119518. </bits>
  119519. <bits access="r" name="adc_cal_reg_out" pos="13" rst="0">
  119520. </bits>
  119521. <bits access="r" name="adc_cal_ref_out" pos="12" rst="0">
  119522. </bits>
  119523. <bits access="r" name="rxflt_cal_out_i" pos="11" rst="0">
  119524. </bits>
  119525. <bits access="r" name="rxflt_cal_out_q" pos="10" rst="0">
  119526. </bits>
  119527. <bits access="r" name="vco_band" pos="9:0" rst="512">
  119528. </bits>
  119529. </reg>
  119530. <reg name="power_dr" protect="rw">
  119531. <bits access="rw" name="pu_bg_dr" pos="21" rst="1">
  119532. </bits>
  119533. <bits access="rw" name="pu_fm_lna_dr" pos="20" rst="1">
  119534. </bits>
  119535. <bits access="rw" name="pu_fm_rmx_dr" pos="19" rst="1">
  119536. </bits>
  119537. <bits access="rw" name="pu_bt_lna_dr" pos="18" rst="1">
  119538. </bits>
  119539. <bits access="rw" name="pu_bt_tia_dr" pos="17" rst="1">
  119540. </bits>
  119541. <bits access="rw" name="pu_pga_dr" pos="16" rst="1">
  119542. </bits>
  119543. <bits access="rw" name="pu_rxflt_dr" pos="15" rst="1">
  119544. </bits>
  119545. <bits access="rw" name="pu_adc_dr" pos="14" rst="1">
  119546. </bits>
  119547. <bits access="rw" name="pu_bt_dac_dr" pos="13" rst="1">
  119548. </bits>
  119549. <bits access="rw" name="pu_bt_padrv_dr" pos="12" rst="1">
  119550. </bits>
  119551. <bits access="rw" name="pu_bt_tmx_dr" pos="11" rst="1">
  119552. </bits>
  119553. <bits access="rw" name="pu_bt_txrf_dr" pos="10" rst="1">
  119554. </bits>
  119555. <bits access="rw" name="pu_vco_dr" pos="9" rst="1">
  119556. </bits>
  119557. <bits access="rw" name="pu_vco_txlo_dr" pos="8" rst="1">
  119558. </bits>
  119559. <bits access="rw" name="pu_vco_rxlo_dr" pos="7" rst="1">
  119560. </bits>
  119561. <bits access="rw" name="pu_vco_pkd_dr" pos="6" rst="1">
  119562. </bits>
  119563. <bits access="rw" name="pu_pll_peri_dr" pos="5" rst="1">
  119564. </bits>
  119565. <bits access="rw" name="pu_pll_presc_dr" pos="4" rst="1">
  119566. </bits>
  119567. <bits access="rw" name="pu_pll_fm_lo_clk_dr" pos="3" rst="1">
  119568. </bits>
  119569. <bits access="rw" name="pu_pll_fm_adc_clk_dr" pos="2" rst="1">
  119570. </bits>
  119571. <bits access="rw" name="pu_adpll_dr" pos="1" rst="1">
  119572. </bits>
  119573. <bits access="rw" name="pu_mdll_dr" pos="0" rst="1">
  119574. </bits>
  119575. </reg>
  119576. <reg name="power_reg" protect="rw">
  119577. <bits access="rw" name="pu_bg_reg" pos="21" rst="1">
  119578. </bits>
  119579. <bits access="rw" name="pu_fm_lna_reg" pos="20" rst="1">
  119580. </bits>
  119581. <bits access="rw" name="pu_fm_rmx_reg" pos="19" rst="1">
  119582. </bits>
  119583. <bits access="rw" name="pu_bt_lna_reg" pos="18" rst="1">
  119584. </bits>
  119585. <bits access="rw" name="pu_bt_tia_reg" pos="17" rst="1">
  119586. </bits>
  119587. <bits access="rw" name="pu_pga_reg" pos="16" rst="1">
  119588. </bits>
  119589. <bits access="rw" name="pu_rxflt_reg" pos="15" rst="1">
  119590. </bits>
  119591. <bits access="rw" name="pu_adc_reg" pos="14" rst="1">
  119592. </bits>
  119593. <bits access="rw" name="pu_bt_dac_reg" pos="13" rst="1">
  119594. </bits>
  119595. <bits access="rw" name="pu_bt_padrv_reg" pos="12" rst="1">
  119596. </bits>
  119597. <bits access="rw" name="pu_bt_tmx_reg" pos="11" rst="1">
  119598. </bits>
  119599. <bits access="rw" name="pu_bt_txrf_reg" pos="10" rst="1">
  119600. </bits>
  119601. <bits access="rw" name="pu_vco_reg" pos="9" rst="1">
  119602. </bits>
  119603. <bits access="rw" name="pu_vco_txlo_reg" pos="8" rst="1">
  119604. </bits>
  119605. <bits access="rw" name="pu_vco_rxlo_reg" pos="7" rst="1">
  119606. </bits>
  119607. <bits access="rw" name="pu_vco_pkd_reg" pos="6" rst="1">
  119608. </bits>
  119609. <bits access="rw" name="pu_pll_peri_reg" pos="5" rst="1">
  119610. </bits>
  119611. <bits access="rw" name="pu_pll_presc_reg" pos="4" rst="1">
  119612. </bits>
  119613. <bits access="rw" name="pu_pll_fm_lo_clk_reg" pos="3" rst="1">
  119614. </bits>
  119615. <bits access="rw" name="pu_pll_fm_adc_clk_reg" pos="2" rst="1">
  119616. </bits>
  119617. <bits access="rw" name="pu_adpll_reg" pos="1" rst="1">
  119618. </bits>
  119619. <bits access="rw" name="pu_mdll_reg" pos="0" rst="1">
  119620. </bits>
  119621. </reg>
  119622. <reg name="power_status" protect="r">
  119623. <bits access="r" name="pu_bg" pos="21" rst="1">
  119624. </bits>
  119625. <bits access="r" name="pu_fm_lna" pos="20" rst="1">
  119626. </bits>
  119627. <bits access="r" name="pu_fm_rmx" pos="19" rst="1">
  119628. </bits>
  119629. <bits access="r" name="pu_bt_lna" pos="18" rst="1">
  119630. </bits>
  119631. <bits access="r" name="pu_bt_tia" pos="17" rst="1">
  119632. </bits>
  119633. <bits access="r" name="pu_pga" pos="16" rst="1">
  119634. </bits>
  119635. <bits access="r" name="pu_rxflt" pos="15" rst="1">
  119636. </bits>
  119637. <bits access="r" name="pu_adc" pos="14" rst="1">
  119638. </bits>
  119639. <bits access="r" name="pu_bt_dac" pos="13" rst="1">
  119640. </bits>
  119641. <bits access="r" name="pu_bt_padrv" pos="12" rst="1">
  119642. </bits>
  119643. <bits access="r" name="pu_bt_tmx" pos="11" rst="1">
  119644. </bits>
  119645. <bits access="r" name="pu_bt_txrf" pos="10" rst="1">
  119646. </bits>
  119647. <bits access="r" name="pu_vco" pos="9" rst="1">
  119648. </bits>
  119649. <bits access="r" name="pu_vco_txlo" pos="8" rst="1">
  119650. </bits>
  119651. <bits access="r" name="pu_vco_rxlo" pos="7" rst="1">
  119652. </bits>
  119653. <bits access="r" name="pu_vco_pkd" pos="6" rst="1">
  119654. </bits>
  119655. <bits access="r" name="pu_pll_peri" pos="5" rst="1">
  119656. </bits>
  119657. <bits access="r" name="pu_pll_presc" pos="4" rst="1">
  119658. </bits>
  119659. <bits access="r" name="pu_pll_fm_lo_clk" pos="3" rst="1">
  119660. </bits>
  119661. <bits access="r" name="pu_pll_fm_adc_clk" pos="2" rst="1">
  119662. </bits>
  119663. <bits access="r" name="pu_adpll" pos="1" rst="1">
  119664. </bits>
  119665. <bits access="r" name="pu_mdll" pos="0" rst="1">
  119666. </bits>
  119667. </reg>
  119668. <reg name="bt_gain_table_0" protect="rw">
  119669. <bits access="rw" name="bt_lna_gain1_bit_0" pos="16:15" rst="0">
  119670. </bits>
  119671. <bits access="rw" name="bt_lna_gain2_bit_0" pos="14:13" rst="0">
  119672. </bits>
  119673. <bits access="rw" name="bt_lna_gain3_bit_0" pos="12:11" rst="0">
  119674. </bits>
  119675. <bits access="rw" name="bt_lna_resf_bit_0" pos="10:7" rst="0">
  119676. </bits>
  119677. <bits access="rw" name="bt_pga_gain_bit_0" pos="6:4" rst="0">
  119678. </bits>
  119679. <bits access="rw" name="bt_rxflt_bt_gain_bit_0" pos="3:0" rst="0">
  119680. </bits>
  119681. </reg>
  119682. <reg name="bt_gain_table_1" protect="rw">
  119683. <bits access="rw" name="bt_lna_gain1_bit_1" pos="16:15" rst="0">
  119684. </bits>
  119685. <bits access="rw" name="bt_lna_gain2_bit_1" pos="14:13" rst="1">
  119686. </bits>
  119687. <bits access="rw" name="bt_lna_gain3_bit_1" pos="12:11" rst="0">
  119688. </bits>
  119689. <bits access="rw" name="bt_lna_resf_bit_1" pos="10:7" rst="0">
  119690. </bits>
  119691. <bits access="rw" name="bt_pga_gain_bit_1" pos="6:4" rst="0">
  119692. </bits>
  119693. <bits access="rw" name="bt_rxflt_bt_gain_bit_1" pos="3:0" rst="0">
  119694. </bits>
  119695. </reg>
  119696. <reg name="bt_gain_table_2" protect="rw">
  119697. <bits access="rw" name="bt_lna_gain1_bit_2" pos="16:15" rst="0">
  119698. </bits>
  119699. <bits access="rw" name="bt_lna_gain2_bit_2" pos="14:13" rst="1">
  119700. </bits>
  119701. <bits access="rw" name="bt_lna_gain3_bit_2" pos="12:11" rst="0">
  119702. </bits>
  119703. <bits access="rw" name="bt_lna_resf_bit_2" pos="10:7" rst="0">
  119704. </bits>
  119705. <bits access="rw" name="bt_pga_gain_bit_2" pos="6:4" rst="1">
  119706. </bits>
  119707. <bits access="rw" name="bt_rxflt_bt_gain_bit_2" pos="3:0" rst="0">
  119708. </bits>
  119709. </reg>
  119710. <reg name="bt_gain_table_3" protect="rw">
  119711. <bits access="rw" name="bt_lna_gain1_bit_3" pos="16:15" rst="0">
  119712. </bits>
  119713. <bits access="rw" name="bt_lna_gain2_bit_3" pos="14:13" rst="1">
  119714. </bits>
  119715. <bits access="rw" name="bt_lna_gain3_bit_3" pos="12:11" rst="0">
  119716. </bits>
  119717. <bits access="rw" name="bt_lna_resf_bit_3" pos="10:7" rst="0">
  119718. </bits>
  119719. <bits access="rw" name="bt_pga_gain_bit_3" pos="6:4" rst="2">
  119720. </bits>
  119721. <bits access="rw" name="bt_rxflt_bt_gain_bit_3" pos="3:0" rst="0">
  119722. </bits>
  119723. </reg>
  119724. <reg name="bt_gain_table_4" protect="rw">
  119725. <bits access="rw" name="bt_lna_gain1_bit_4" pos="16:15" rst="0">
  119726. </bits>
  119727. <bits access="rw" name="bt_lna_gain2_bit_4" pos="14:13" rst="1">
  119728. </bits>
  119729. <bits access="rw" name="bt_lna_gain3_bit_4" pos="12:11" rst="0">
  119730. </bits>
  119731. <bits access="rw" name="bt_lna_resf_bit_4" pos="10:7" rst="0">
  119732. </bits>
  119733. <bits access="rw" name="bt_pga_gain_bit_4" pos="6:4" rst="3">
  119734. </bits>
  119735. <bits access="rw" name="bt_rxflt_bt_gain_bit_4" pos="3:0" rst="0">
  119736. </bits>
  119737. </reg>
  119738. <reg name="bt_gain_table_5" protect="rw">
  119739. <bits access="rw" name="bt_lna_gain1_bit_5" pos="16:15" rst="1">
  119740. </bits>
  119741. <bits access="rw" name="bt_lna_gain2_bit_5" pos="14:13" rst="1">
  119742. </bits>
  119743. <bits access="rw" name="bt_lna_gain3_bit_5" pos="12:11" rst="0">
  119744. </bits>
  119745. <bits access="rw" name="bt_lna_resf_bit_5" pos="10:7" rst="0">
  119746. </bits>
  119747. <bits access="rw" name="bt_pga_gain_bit_5" pos="6:4" rst="3">
  119748. </bits>
  119749. <bits access="rw" name="bt_rxflt_bt_gain_bit_5" pos="3:0" rst="0">
  119750. </bits>
  119751. </reg>
  119752. <reg name="bt_gain_table_6" protect="rw">
  119753. <bits access="rw" name="bt_lna_gain1_bit_6" pos="16:15" rst="1">
  119754. </bits>
  119755. <bits access="rw" name="bt_lna_gain2_bit_6" pos="14:13" rst="1">
  119756. </bits>
  119757. <bits access="rw" name="bt_lna_gain3_bit_6" pos="12:11" rst="0">
  119758. </bits>
  119759. <bits access="rw" name="bt_lna_resf_bit_6" pos="10:7" rst="0">
  119760. </bits>
  119761. <bits access="rw" name="bt_pga_gain_bit_6" pos="6:4" rst="4">
  119762. </bits>
  119763. <bits access="rw" name="bt_rxflt_bt_gain_bit_6" pos="3:0" rst="0">
  119764. </bits>
  119765. </reg>
  119766. <reg name="bt_gain_table_7" protect="rw">
  119767. <bits access="rw" name="bt_lna_gain1_bit_7" pos="16:15" rst="1">
  119768. </bits>
  119769. <bits access="rw" name="bt_lna_gain2_bit_7" pos="14:13" rst="1">
  119770. </bits>
  119771. <bits access="rw" name="bt_lna_gain3_bit_7" pos="12:11" rst="0">
  119772. </bits>
  119773. <bits access="rw" name="bt_lna_resf_bit_7" pos="10:7" rst="0">
  119774. </bits>
  119775. <bits access="rw" name="bt_pga_gain_bit_7" pos="6:4" rst="4">
  119776. </bits>
  119777. <bits access="rw" name="bt_rxflt_bt_gain_bit_7" pos="3:0" rst="1">
  119778. </bits>
  119779. </reg>
  119780. <reg name="bt_gain_table_8" protect="rw">
  119781. <bits access="rw" name="bt_lna_gain1_bit_8" pos="16:15" rst="3">
  119782. </bits>
  119783. <bits access="rw" name="bt_lna_gain2_bit_8" pos="14:13" rst="1">
  119784. </bits>
  119785. <bits access="rw" name="bt_lna_gain3_bit_8" pos="12:11" rst="0">
  119786. </bits>
  119787. <bits access="rw" name="bt_lna_resf_bit_8" pos="10:7" rst="0">
  119788. </bits>
  119789. <bits access="rw" name="bt_pga_gain_bit_8" pos="6:4" rst="4">
  119790. </bits>
  119791. <bits access="rw" name="bt_rxflt_bt_gain_bit_8" pos="3:0" rst="1">
  119792. </bits>
  119793. </reg>
  119794. <reg name="bt_gain_table_9" protect="rw">
  119795. <bits access="rw" name="bt_lna_gain1_bit_9" pos="16:15" rst="3">
  119796. </bits>
  119797. <bits access="rw" name="bt_lna_gain2_bit_9" pos="14:13" rst="1">
  119798. </bits>
  119799. <bits access="rw" name="bt_lna_gain3_bit_9" pos="12:11" rst="0">
  119800. </bits>
  119801. <bits access="rw" name="bt_lna_resf_bit_9" pos="10:7" rst="0">
  119802. </bits>
  119803. <bits access="rw" name="bt_pga_gain_bit_9" pos="6:4" rst="4">
  119804. </bits>
  119805. <bits access="rw" name="bt_rxflt_bt_gain_bit_9" pos="3:0" rst="3">
  119806. </bits>
  119807. </reg>
  119808. <reg name="bt_gain_table_a" protect="rw">
  119809. <bits access="rw" name="bt_lna_gain1_bit_a" pos="16:15" rst="3">
  119810. </bits>
  119811. <bits access="rw" name="bt_lna_gain2_bit_a" pos="14:13" rst="1">
  119812. </bits>
  119813. <bits access="rw" name="bt_lna_gain3_bit_a" pos="12:11" rst="1">
  119814. </bits>
  119815. <bits access="rw" name="bt_lna_resf_bit_a" pos="10:7" rst="0">
  119816. </bits>
  119817. <bits access="rw" name="bt_pga_gain_bit_a" pos="6:4" rst="4">
  119818. </bits>
  119819. <bits access="rw" name="bt_rxflt_bt_gain_bit_a" pos="3:0" rst="3">
  119820. </bits>
  119821. </reg>
  119822. <reg name="bt_gain_table_b" protect="rw">
  119823. <bits access="rw" name="bt_lna_gain1_bit_b" pos="16:15" rst="3">
  119824. </bits>
  119825. <bits access="rw" name="bt_lna_gain2_bit_b" pos="14:13" rst="1">
  119826. </bits>
  119827. <bits access="rw" name="bt_lna_gain3_bit_b" pos="12:11" rst="1">
  119828. </bits>
  119829. <bits access="rw" name="bt_lna_resf_bit_b" pos="10:7" rst="0">
  119830. </bits>
  119831. <bits access="rw" name="bt_pga_gain_bit_b" pos="6:4" rst="4">
  119832. </bits>
  119833. <bits access="rw" name="bt_rxflt_bt_gain_bit_b" pos="3:0" rst="7">
  119834. </bits>
  119835. </reg>
  119836. <reg name="bt_gain_table_c" protect="rw">
  119837. <bits access="rw" name="bt_lna_gain1_bit_c" pos="16:15" rst="3">
  119838. </bits>
  119839. <bits access="rw" name="bt_lna_gain2_bit_c" pos="14:13" rst="1">
  119840. </bits>
  119841. <bits access="rw" name="bt_lna_gain3_bit_c" pos="12:11" rst="2">
  119842. </bits>
  119843. <bits access="rw" name="bt_lna_resf_bit_c" pos="10:7" rst="0">
  119844. </bits>
  119845. <bits access="rw" name="bt_pga_gain_bit_c" pos="6:4" rst="4">
  119846. </bits>
  119847. <bits access="rw" name="bt_rxflt_bt_gain_bit_c" pos="3:0" rst="7">
  119848. </bits>
  119849. </reg>
  119850. <reg name="bt_gain_table_d" protect="rw">
  119851. <bits access="rw" name="bt_lna_gain1_bit_d" pos="16:15" rst="3">
  119852. </bits>
  119853. <bits access="rw" name="bt_lna_gain2_bit_d" pos="14:13" rst="1">
  119854. </bits>
  119855. <bits access="rw" name="bt_lna_gain3_bit_d" pos="12:11" rst="2">
  119856. </bits>
  119857. <bits access="rw" name="bt_lna_resf_bit_d" pos="10:7" rst="0">
  119858. </bits>
  119859. <bits access="rw" name="bt_pga_gain_bit_d" pos="6:4" rst="4">
  119860. </bits>
  119861. <bits access="rw" name="bt_rxflt_bt_gain_bit_d" pos="3:0" rst="11">
  119862. </bits>
  119863. </reg>
  119864. <reg name="bt_gain_table_e" protect="rw">
  119865. <bits access="rw" name="bt_lna_gain1_bit_e" pos="16:15" rst="3">
  119866. </bits>
  119867. <bits access="rw" name="bt_lna_gain2_bit_e" pos="14:13" rst="1">
  119868. </bits>
  119869. <bits access="rw" name="bt_lna_gain3_bit_e" pos="12:11" rst="2">
  119870. </bits>
  119871. <bits access="rw" name="bt_lna_resf_bit_e" pos="10:7" rst="0">
  119872. </bits>
  119873. <bits access="rw" name="bt_pga_gain_bit_e" pos="6:4" rst="4">
  119874. </bits>
  119875. <bits access="rw" name="bt_rxflt_bt_gain_bit_e" pos="3:0" rst="15">
  119876. </bits>
  119877. </reg>
  119878. <reg name="bt_gain_table_f" protect="rw">
  119879. <bits access="rw" name="bt_lna_gain1_bit_f" pos="16:15" rst="3">
  119880. </bits>
  119881. <bits access="rw" name="bt_lna_gain2_bit_f" pos="14:13" rst="2">
  119882. </bits>
  119883. <bits access="rw" name="bt_lna_gain3_bit_f" pos="12:11" rst="2">
  119884. </bits>
  119885. <bits access="rw" name="bt_lna_resf_bit_f" pos="10:7" rst="0">
  119886. </bits>
  119887. <bits access="rw" name="bt_pga_gain_bit_f" pos="6:4" rst="4">
  119888. </bits>
  119889. <bits access="rw" name="bt_rxflt_bt_gain_bit_f" pos="3:0" rst="15">
  119890. </bits>
  119891. </reg>
  119892. <reg name="wf_gain_table_0" protect="rw">
  119893. <bits access="rw" name="wf_lna_gain1_bit_0" pos="16:15" rst="0">
  119894. </bits>
  119895. <bits access="rw" name="wf_lna_gain2_bit_0" pos="14:13" rst="0">
  119896. </bits>
  119897. <bits access="rw" name="wf_lna_gain3_bit_0" pos="12:11" rst="0">
  119898. </bits>
  119899. <bits access="rw" name="wf_lna_resf_bit_0" pos="10:7" rst="0">
  119900. </bits>
  119901. <bits access="rw" name="wf_pga_gain_bit_0" pos="6:4" rst="0">
  119902. </bits>
  119903. <bits access="rw" name="wf_rxflt_bt_gain_bit_0" pos="3:0" rst="0">
  119904. </bits>
  119905. </reg>
  119906. <reg name="wf_gain_table_1" protect="rw">
  119907. <bits access="rw" name="wf_lna_gain1_bit_1" pos="16:15" rst="0">
  119908. </bits>
  119909. <bits access="rw" name="wf_lna_gain2_bit_1" pos="14:13" rst="1">
  119910. </bits>
  119911. <bits access="rw" name="wf_lna_gain3_bit_1" pos="12:11" rst="0">
  119912. </bits>
  119913. <bits access="rw" name="wf_lna_resf_bit_1" pos="10:7" rst="0">
  119914. </bits>
  119915. <bits access="rw" name="wf_pga_gain_bit_1" pos="6:4" rst="0">
  119916. </bits>
  119917. <bits access="rw" name="wf_rxflt_bt_gain_bit_1" pos="3:0" rst="0">
  119918. </bits>
  119919. </reg>
  119920. <reg name="wf_gain_table_2" protect="rw">
  119921. <bits access="rw" name="wf_lna_gain1_bit_2" pos="16:15" rst="0">
  119922. </bits>
  119923. <bits access="rw" name="wf_lna_gain2_bit_2" pos="14:13" rst="1">
  119924. </bits>
  119925. <bits access="rw" name="wf_lna_gain3_bit_2" pos="12:11" rst="0">
  119926. </bits>
  119927. <bits access="rw" name="wf_lna_resf_bit_2" pos="10:7" rst="0">
  119928. </bits>
  119929. <bits access="rw" name="wf_pga_gain_bit_2" pos="6:4" rst="1">
  119930. </bits>
  119931. <bits access="rw" name="wf_rxflt_bt_gain_bit_2" pos="3:0" rst="0">
  119932. </bits>
  119933. </reg>
  119934. <reg name="wf_gain_table_3" protect="rw">
  119935. <bits access="rw" name="wf_lna_gain1_bit_3" pos="16:15" rst="0">
  119936. </bits>
  119937. <bits access="rw" name="wf_lna_gain2_bit_3" pos="14:13" rst="1">
  119938. </bits>
  119939. <bits access="rw" name="wf_lna_gain3_bit_3" pos="12:11" rst="0">
  119940. </bits>
  119941. <bits access="rw" name="wf_lna_resf_bit_3" pos="10:7" rst="0">
  119942. </bits>
  119943. <bits access="rw" name="wf_pga_gain_bit_3" pos="6:4" rst="2">
  119944. </bits>
  119945. <bits access="rw" name="wf_rxflt_bt_gain_bit_3" pos="3:0" rst="0">
  119946. </bits>
  119947. </reg>
  119948. <reg name="wf_gain_table_4" protect="rw">
  119949. <bits access="rw" name="wf_lna_gain1_bit_4" pos="16:15" rst="0">
  119950. </bits>
  119951. <bits access="rw" name="wf_lna_gain2_bit_4" pos="14:13" rst="1">
  119952. </bits>
  119953. <bits access="rw" name="wf_lna_gain3_bit_4" pos="12:11" rst="0">
  119954. </bits>
  119955. <bits access="rw" name="wf_lna_resf_bit_4" pos="10:7" rst="0">
  119956. </bits>
  119957. <bits access="rw" name="wf_pga_gain_bit_4" pos="6:4" rst="3">
  119958. </bits>
  119959. <bits access="rw" name="wf_rxflt_bt_gain_bit_4" pos="3:0" rst="0">
  119960. </bits>
  119961. </reg>
  119962. <reg name="wf_gain_table_5" protect="rw">
  119963. <bits access="rw" name="wf_lna_gain1_bit_5" pos="16:15" rst="1">
  119964. </bits>
  119965. <bits access="rw" name="wf_lna_gain2_bit_5" pos="14:13" rst="1">
  119966. </bits>
  119967. <bits access="rw" name="wf_lna_gain3_bit_5" pos="12:11" rst="0">
  119968. </bits>
  119969. <bits access="rw" name="wf_lna_resf_bit_5" pos="10:7" rst="0">
  119970. </bits>
  119971. <bits access="rw" name="wf_pga_gain_bit_5" pos="6:4" rst="3">
  119972. </bits>
  119973. <bits access="rw" name="wf_rxflt_bt_gain_bit_5" pos="3:0" rst="0">
  119974. </bits>
  119975. </reg>
  119976. <reg name="wf_gain_table_6" protect="rw">
  119977. <bits access="rw" name="wf_lna_gain1_bit_6" pos="16:15" rst="1">
  119978. </bits>
  119979. <bits access="rw" name="wf_lna_gain2_bit_6" pos="14:13" rst="1">
  119980. </bits>
  119981. <bits access="rw" name="wf_lna_gain3_bit_6" pos="12:11" rst="0">
  119982. </bits>
  119983. <bits access="rw" name="wf_lna_resf_bit_6" pos="10:7" rst="0">
  119984. </bits>
  119985. <bits access="rw" name="wf_pga_gain_bit_6" pos="6:4" rst="4">
  119986. </bits>
  119987. <bits access="rw" name="wf_rxflt_bt_gain_bit_6" pos="3:0" rst="0">
  119988. </bits>
  119989. </reg>
  119990. <reg name="wf_gain_table_7" protect="rw">
  119991. <bits access="rw" name="wf_lna_gain1_bit_7" pos="16:15" rst="1">
  119992. </bits>
  119993. <bits access="rw" name="wf_lna_gain2_bit_7" pos="14:13" rst="1">
  119994. </bits>
  119995. <bits access="rw" name="wf_lna_gain3_bit_7" pos="12:11" rst="0">
  119996. </bits>
  119997. <bits access="rw" name="wf_lna_resf_bit_7" pos="10:7" rst="0">
  119998. </bits>
  119999. <bits access="rw" name="wf_pga_gain_bit_7" pos="6:4" rst="4">
  120000. </bits>
  120001. <bits access="rw" name="wf_rxflt_bt_gain_bit_7" pos="3:0" rst="1">
  120002. </bits>
  120003. </reg>
  120004. <reg name="wf_gain_table_8" protect="rw">
  120005. <bits access="rw" name="wf_lna_gain1_bit_8" pos="16:15" rst="3">
  120006. </bits>
  120007. <bits access="rw" name="wf_lna_gain2_bit_8" pos="14:13" rst="1">
  120008. </bits>
  120009. <bits access="rw" name="wf_lna_gain3_bit_8" pos="12:11" rst="0">
  120010. </bits>
  120011. <bits access="rw" name="wf_lna_resf_bit_8" pos="10:7" rst="0">
  120012. </bits>
  120013. <bits access="rw" name="wf_pga_gain_bit_8" pos="6:4" rst="4">
  120014. </bits>
  120015. <bits access="rw" name="wf_rxflt_bt_gain_bit_8" pos="3:0" rst="1">
  120016. </bits>
  120017. </reg>
  120018. <reg name="wf_gain_table_9" protect="rw">
  120019. <bits access="rw" name="wf_lna_gain1_bit_9" pos="16:15" rst="3">
  120020. </bits>
  120021. <bits access="rw" name="wf_lna_gain2_bit_9" pos="14:13" rst="1">
  120022. </bits>
  120023. <bits access="rw" name="wf_lna_gain3_bit_9" pos="12:11" rst="0">
  120024. </bits>
  120025. <bits access="rw" name="wf_lna_resf_bit_9" pos="10:7" rst="0">
  120026. </bits>
  120027. <bits access="rw" name="wf_pga_gain_bit_9" pos="6:4" rst="4">
  120028. </bits>
  120029. <bits access="rw" name="wf_rxflt_bt_gain_bit_9" pos="3:0" rst="3">
  120030. </bits>
  120031. </reg>
  120032. <reg name="wf_gain_table_a" protect="rw">
  120033. <bits access="rw" name="wf_lna_gain1_bit_a" pos="16:15" rst="3">
  120034. </bits>
  120035. <bits access="rw" name="wf_lna_gain2_bit_a" pos="14:13" rst="1">
  120036. </bits>
  120037. <bits access="rw" name="wf_lna_gain3_bit_a" pos="12:11" rst="1">
  120038. </bits>
  120039. <bits access="rw" name="wf_lna_resf_bit_a" pos="10:7" rst="0">
  120040. </bits>
  120041. <bits access="rw" name="wf_pga_gain_bit_a" pos="6:4" rst="4">
  120042. </bits>
  120043. <bits access="rw" name="wf_rxflt_bt_gain_bit_a" pos="3:0" rst="3">
  120044. </bits>
  120045. </reg>
  120046. <reg name="wf_gain_table_b" protect="rw">
  120047. <bits access="rw" name="wf_lna_gain1_bit_b" pos="16:15" rst="3">
  120048. </bits>
  120049. <bits access="rw" name="wf_lna_gain2_bit_b" pos="14:13" rst="1">
  120050. </bits>
  120051. <bits access="rw" name="wf_lna_gain3_bit_b" pos="12:11" rst="1">
  120052. </bits>
  120053. <bits access="rw" name="wf_lna_resf_bit_b" pos="10:7" rst="0">
  120054. </bits>
  120055. <bits access="rw" name="wf_pga_gain_bit_b" pos="6:4" rst="4">
  120056. </bits>
  120057. <bits access="rw" name="wf_rxflt_bt_gain_bit_b" pos="3:0" rst="7">
  120058. </bits>
  120059. </reg>
  120060. <reg name="wf_gain_table_c" protect="rw">
  120061. <bits access="rw" name="wf_lna_gain1_bit_c" pos="16:15" rst="3">
  120062. </bits>
  120063. <bits access="rw" name="wf_lna_gain2_bit_c" pos="14:13" rst="1">
  120064. </bits>
  120065. <bits access="rw" name="wf_lna_gain3_bit_c" pos="12:11" rst="2">
  120066. </bits>
  120067. <bits access="rw" name="wf_lna_resf_bit_c" pos="10:7" rst="0">
  120068. </bits>
  120069. <bits access="rw" name="wf_pga_gain_bit_c" pos="6:4" rst="4">
  120070. </bits>
  120071. <bits access="rw" name="wf_rxflt_bt_gain_bit_c" pos="3:0" rst="7">
  120072. </bits>
  120073. </reg>
  120074. <reg name="wf_gain_table_d" protect="rw">
  120075. <bits access="rw" name="wf_lna_gain1_bit_d" pos="16:15" rst="3">
  120076. </bits>
  120077. <bits access="rw" name="wf_lna_gain2_bit_d" pos="14:13" rst="1">
  120078. </bits>
  120079. <bits access="rw" name="wf_lna_gain3_bit_d" pos="12:11" rst="2">
  120080. </bits>
  120081. <bits access="rw" name="wf_lna_resf_bit_d" pos="10:7" rst="0">
  120082. </bits>
  120083. <bits access="rw" name="wf_pga_gain_bit_d" pos="6:4" rst="4">
  120084. </bits>
  120085. <bits access="rw" name="wf_rxflt_bt_gain_bit_d" pos="3:0" rst="11">
  120086. </bits>
  120087. </reg>
  120088. <reg name="wf_gain_table_e" protect="rw">
  120089. <bits access="rw" name="wf_lna_gain1_bit_e" pos="16:15" rst="3">
  120090. </bits>
  120091. <bits access="rw" name="wf_lna_gain2_bit_e" pos="14:13" rst="1">
  120092. </bits>
  120093. <bits access="rw" name="wf_lna_gain3_bit_e" pos="12:11" rst="2">
  120094. </bits>
  120095. <bits access="rw" name="wf_lna_resf_bit_e" pos="10:7" rst="0">
  120096. </bits>
  120097. <bits access="rw" name="wf_pga_gain_bit_e" pos="6:4" rst="4">
  120098. </bits>
  120099. <bits access="rw" name="wf_rxflt_bt_gain_bit_e" pos="3:0" rst="15">
  120100. </bits>
  120101. </reg>
  120102. <reg name="wf_gain_table_f" protect="rw">
  120103. <bits access="rw" name="wf_lna_gain1_bit_f" pos="16:15" rst="3">
  120104. </bits>
  120105. <bits access="rw" name="wf_lna_gain2_bit_f" pos="14:13" rst="2">
  120106. </bits>
  120107. <bits access="rw" name="wf_lna_gain3_bit_f" pos="12:11" rst="2">
  120108. </bits>
  120109. <bits access="rw" name="wf_lna_resf_bit_f" pos="10:7" rst="0">
  120110. </bits>
  120111. <bits access="rw" name="wf_pga_gain_bit_f" pos="6:4" rst="4">
  120112. </bits>
  120113. <bits access="rw" name="wf_rxflt_bt_gain_bit_f" pos="3:0" rst="15">
  120114. </bits>
  120115. </reg>
  120116. <reg name="bt_tx_gain_table_0" protect="rw">
  120117. <bits access="rw" name="txrf_pad_mode_0" pos="28" rst="0">
  120118. </bits>
  120119. <bits access="rw" name="txrf_gain_bit_0" pos="27:24" rst="0">
  120120. </bits>
  120121. <bits access="rw" name="txrf_att_en_0" pos="23:22" rst="0">
  120122. </bits>
  120123. <bits access="rw" name="txrf_pad_bias_ibit_0" pos="21:20" rst="0">
  120124. </bits>
  120125. <bits access="rw" name="txrf_pad_aux_vbit_0" pos="19:18" rst="0">
  120126. </bits>
  120127. <bits access="rw" name="txrf_pad_cas_vbit_0" pos="17:16" rst="0">
  120128. </bits>
  120129. <bits access="rw" name="txrf_pad_mode_1" pos="12" rst="0">
  120130. </bits>
  120131. <bits access="rw" name="txrf_gain_bit_1" pos="11:8" rst="0">
  120132. </bits>
  120133. <bits access="rw" name="txrf_att_en_1" pos="7:6" rst="0">
  120134. </bits>
  120135. <bits access="rw" name="txrf_pad_bias_ibit_1" pos="5:4" rst="0">
  120136. </bits>
  120137. <bits access="rw" name="txrf_pad_aux_vbit_1" pos="3:2" rst="0">
  120138. </bits>
  120139. <bits access="rw" name="txrf_pad_cas_vbit_1" pos="1:0" rst="0">
  120140. </bits>
  120141. </reg>
  120142. <reg name="bt_tx_gain_table_1" protect="rw">
  120143. <bits access="rw" name="txrf_pad_mode_2" pos="28" rst="0">
  120144. </bits>
  120145. <bits access="rw" name="txrf_gain_bit_2" pos="27:24" rst="1">
  120146. </bits>
  120147. <bits access="rw" name="txrf_att_en_2" pos="23:22" rst="0">
  120148. </bits>
  120149. <bits access="rw" name="txrf_pad_bias_ibit_2" pos="21:20" rst="1">
  120150. </bits>
  120151. <bits access="rw" name="txrf_pad_aux_vbit_2" pos="19:18" rst="1">
  120152. </bits>
  120153. <bits access="rw" name="txrf_pad_cas_vbit_2" pos="17:16" rst="1">
  120154. </bits>
  120155. <bits access="rw" name="txrf_pad_mode_3" pos="12" rst="0">
  120156. </bits>
  120157. <bits access="rw" name="txrf_gain_bit_3" pos="11:8" rst="3">
  120158. </bits>
  120159. <bits access="rw" name="txrf_att_en_3" pos="7:6" rst="0">
  120160. </bits>
  120161. <bits access="rw" name="txrf_pad_bias_ibit_3" pos="5:4" rst="1">
  120162. </bits>
  120163. <bits access="rw" name="txrf_pad_aux_vbit_3" pos="3:2" rst="1">
  120164. </bits>
  120165. <bits access="rw" name="txrf_pad_cas_vbit_3" pos="1:0" rst="1">
  120166. </bits>
  120167. </reg>
  120168. <reg name="bt_tx_gain_table_2" protect="rw">
  120169. <bits access="rw" name="txrf_pad_mode_4" pos="28" rst="0">
  120170. </bits>
  120171. <bits access="rw" name="txrf_gain_bit_4" pos="27:24" rst="6">
  120172. </bits>
  120173. <bits access="rw" name="txrf_att_en_4" pos="23:22" rst="0">
  120174. </bits>
  120175. <bits access="rw" name="txrf_pad_bias_ibit_4" pos="21:20" rst="1">
  120176. </bits>
  120177. <bits access="rw" name="txrf_pad_aux_vbit_4" pos="19:18" rst="1">
  120178. </bits>
  120179. <bits access="rw" name="txrf_pad_cas_vbit_4" pos="17:16" rst="1">
  120180. </bits>
  120181. <bits access="rw" name="txrf_pad_mode_5" pos="12" rst="0">
  120182. </bits>
  120183. <bits access="rw" name="txrf_gain_bit_5" pos="11:8" rst="7">
  120184. </bits>
  120185. <bits access="rw" name="txrf_att_en_5" pos="7:6" rst="0">
  120186. </bits>
  120187. <bits access="rw" name="txrf_pad_bias_ibit_5" pos="5:4" rst="1">
  120188. </bits>
  120189. <bits access="rw" name="txrf_pad_aux_vbit_5" pos="3:2" rst="1">
  120190. </bits>
  120191. <bits access="rw" name="txrf_pad_cas_vbit_5" pos="1:0" rst="1">
  120192. </bits>
  120193. </reg>
  120194. <reg name="bt_tx_gain_table_3" protect="rw">
  120195. <bits access="rw" name="txrf_pad_mode_6" pos="28" rst="0">
  120196. </bits>
  120197. <bits access="rw" name="txrf_gain_bit_6" pos="27:24" rst="11">
  120198. </bits>
  120199. <bits access="rw" name="txrf_att_en_6" pos="23:22" rst="0">
  120200. </bits>
  120201. <bits access="rw" name="txrf_pad_bias_ibit_6" pos="21:20" rst="1">
  120202. </bits>
  120203. <bits access="rw" name="txrf_pad_aux_vbit_6" pos="19:18" rst="1">
  120204. </bits>
  120205. <bits access="rw" name="txrf_pad_cas_vbit_6" pos="17:16" rst="1">
  120206. </bits>
  120207. <bits access="rw" name="txrf_pad_mode_7" pos="12" rst="0">
  120208. </bits>
  120209. <bits access="rw" name="txrf_gain_bit_7" pos="11:8" rst="15">
  120210. </bits>
  120211. <bits access="rw" name="txrf_att_en_7" pos="7:6" rst="0">
  120212. </bits>
  120213. <bits access="rw" name="txrf_pad_bias_ibit_7" pos="5:4" rst="1">
  120214. </bits>
  120215. <bits access="rw" name="txrf_pad_aux_vbit_7" pos="3:2" rst="1">
  120216. </bits>
  120217. <bits access="rw" name="txrf_pad_cas_vbit_7" pos="1:0" rst="1">
  120218. </bits>
  120219. </reg>
  120220. <reg name="fm_gain_table_0" protect="rw">
  120221. <bits access="rw" name="fm_lna_reg_ibit_0" pos="29:27" rst="2">
  120222. </bits>
  120223. <bits access="rw" name="fm_lna_gain_bit_0" pos="26:25" rst="0">
  120224. </bits>
  120225. <bits access="rw" name="fm_lna_rload_bit_0" pos="24:23" rst="0">
  120226. </bits>
  120227. <bits access="rw" name="fm_rmx_gain_bit_0" pos="22:20" rst="2">
  120228. </bits>
  120229. <bits access="rw" name="fm_rxflt_bt_gain_bit_0" pos="19:16" rst="0">
  120230. </bits>
  120231. <bits access="rw" name="fm_lna_reg_ibit_1" pos="13:11" rst="2">
  120232. </bits>
  120233. <bits access="rw" name="fm_lna_gain_bit_1" pos="10:9" rst="0">
  120234. </bits>
  120235. <bits access="rw" name="fm_lna_rload_bit_1" pos="8:7" rst="0">
  120236. </bits>
  120237. <bits access="rw" name="fm_rmx_gain_bit_1" pos="6:4" rst="3">
  120238. </bits>
  120239. <bits access="rw" name="fm_rxflt_bt_gain_bit_1" pos="3:0" rst="0">
  120240. </bits>
  120241. </reg>
  120242. <reg name="fm_gain_table_1" protect="rw">
  120243. <bits access="rw" name="fm_lna_reg_ibit_2" pos="29:27" rst="2">
  120244. </bits>
  120245. <bits access="rw" name="fm_lna_gain_bit_2" pos="26:25" rst="0">
  120246. </bits>
  120247. <bits access="rw" name="fm_lna_rload_bit_2" pos="24:23" rst="0">
  120248. </bits>
  120249. <bits access="rw" name="fm_rmx_gain_bit_2" pos="22:20" rst="4">
  120250. </bits>
  120251. <bits access="rw" name="fm_rxflt_bt_gain_bit_2" pos="19:16" rst="0">
  120252. </bits>
  120253. <bits access="rw" name="fm_lna_reg_ibit_3" pos="13:11" rst="2">
  120254. </bits>
  120255. <bits access="rw" name="fm_lna_gain_bit_3" pos="10:9" rst="0">
  120256. </bits>
  120257. <bits access="rw" name="fm_lna_rload_bit_3" pos="8:7" rst="1">
  120258. </bits>
  120259. <bits access="rw" name="fm_rmx_gain_bit_3" pos="6:4" rst="4">
  120260. </bits>
  120261. <bits access="rw" name="fm_rxflt_bt_gain_bit_3" pos="3:0" rst="0">
  120262. </bits>
  120263. </reg>
  120264. <reg name="fm_gain_table_2" protect="rw">
  120265. <bits access="rw" name="fm_lna_reg_ibit_4" pos="29:27" rst="3">
  120266. </bits>
  120267. <bits access="rw" name="fm_lna_gain_bit_4" pos="26:25" rst="1">
  120268. </bits>
  120269. <bits access="rw" name="fm_lna_rload_bit_4" pos="24:23" rst="1">
  120270. </bits>
  120271. <bits access="rw" name="fm_rmx_gain_bit_4" pos="22:20" rst="4">
  120272. </bits>
  120273. <bits access="rw" name="fm_rxflt_bt_gain_bit_4" pos="19:16" rst="0">
  120274. </bits>
  120275. <bits access="rw" name="fm_lna_reg_ibit_5" pos="13:11" rst="3">
  120276. </bits>
  120277. <bits access="rw" name="fm_lna_gain_bit_5" pos="10:9" rst="1">
  120278. </bits>
  120279. <bits access="rw" name="fm_lna_rload_bit_5" pos="8:7" rst="2">
  120280. </bits>
  120281. <bits access="rw" name="fm_rmx_gain_bit_5" pos="6:4" rst="4">
  120282. </bits>
  120283. <bits access="rw" name="fm_rxflt_bt_gain_bit_5" pos="3:0" rst="0">
  120284. </bits>
  120285. </reg>
  120286. <reg name="fm_gain_table_3" protect="rw">
  120287. <bits access="rw" name="fm_lna_reg_ibit_6" pos="29:27" rst="3">
  120288. </bits>
  120289. <bits access="rw" name="fm_lna_gain_bit_6" pos="26:25" rst="2">
  120290. </bits>
  120291. <bits access="rw" name="fm_lna_rload_bit_6" pos="24:23" rst="2">
  120292. </bits>
  120293. <bits access="rw" name="fm_rmx_gain_bit_6" pos="22:20" rst="4">
  120294. </bits>
  120295. <bits access="rw" name="fm_rxflt_bt_gain_bit_6" pos="19:16" rst="0">
  120296. </bits>
  120297. <bits access="rw" name="fm_lna_reg_ibit_7" pos="13:11" rst="3">
  120298. </bits>
  120299. <bits access="rw" name="fm_lna_gain_bit_7" pos="10:9" rst="2">
  120300. </bits>
  120301. <bits access="rw" name="fm_lna_rload_bit_7" pos="8:7" rst="3">
  120302. </bits>
  120303. <bits access="rw" name="fm_rmx_gain_bit_7" pos="6:4" rst="4">
  120304. </bits>
  120305. <bits access="rw" name="fm_rxflt_bt_gain_bit_7" pos="3:0" rst="0">
  120306. </bits>
  120307. </reg>
  120308. <reg name="fm_gain_table_4" protect="rw">
  120309. <bits access="rw" name="fm_lna_reg_ibit_8" pos="29:27" rst="4">
  120310. </bits>
  120311. <bits access="rw" name="fm_lna_gain_bit_8" pos="26:25" rst="3">
  120312. </bits>
  120313. <bits access="rw" name="fm_lna_rload_bit_8" pos="24:23" rst="3">
  120314. </bits>
  120315. <bits access="rw" name="fm_rmx_gain_bit_8" pos="22:20" rst="4">
  120316. </bits>
  120317. <bits access="rw" name="fm_rxflt_bt_gain_bit_8" pos="19:16" rst="0">
  120318. </bits>
  120319. <bits access="rw" name="fm_lna_reg_ibit_9" pos="13:11" rst="4">
  120320. </bits>
  120321. <bits access="rw" name="fm_lna_gain_bit_9" pos="10:9" rst="3">
  120322. </bits>
  120323. <bits access="rw" name="fm_lna_rload_bit_9" pos="8:7" rst="3">
  120324. </bits>
  120325. <bits access="rw" name="fm_rmx_gain_bit_9" pos="6:4" rst="5">
  120326. </bits>
  120327. <bits access="rw" name="fm_rxflt_bt_gain_bit_9" pos="3:0" rst="0">
  120328. </bits>
  120329. </reg>
  120330. <reg name="fm_gain_table_5" protect="rw">
  120331. <bits access="rw" name="fm_lna_reg_ibit_a" pos="29:27" rst="4">
  120332. </bits>
  120333. <bits access="rw" name="fm_lna_gain_bit_a" pos="26:25" rst="3">
  120334. </bits>
  120335. <bits access="rw" name="fm_lna_rload_bit_a" pos="24:23" rst="3">
  120336. </bits>
  120337. <bits access="rw" name="fm_rmx_gain_bit_a" pos="22:20" rst="6">
  120338. </bits>
  120339. <bits access="rw" name="fm_rxflt_bt_gain_bit_a" pos="19:16" rst="0">
  120340. </bits>
  120341. <bits access="rw" name="fm_lna_reg_ibit_b" pos="13:11" rst="4">
  120342. </bits>
  120343. <bits access="rw" name="fm_lna_gain_bit_b" pos="10:9" rst="3">
  120344. </bits>
  120345. <bits access="rw" name="fm_lna_rload_bit_b" pos="8:7" rst="3">
  120346. </bits>
  120347. <bits access="rw" name="fm_rmx_gain_bit_b" pos="6:4" rst="7">
  120348. </bits>
  120349. <bits access="rw" name="fm_rxflt_bt_gain_bit_b" pos="3:0" rst="0">
  120350. </bits>
  120351. </reg>
  120352. <reg name="fm_gain_table_6" protect="rw">
  120353. <bits access="rw" name="fm_lna_reg_ibit_c" pos="29:27" rst="5">
  120354. </bits>
  120355. <bits access="rw" name="fm_lna_gain_bit_c" pos="26:25" rst="3">
  120356. </bits>
  120357. <bits access="rw" name="fm_lna_rload_bit_c" pos="24:23" rst="3">
  120358. </bits>
  120359. <bits access="rw" name="fm_rmx_gain_bit_c" pos="22:20" rst="7">
  120360. </bits>
  120361. <bits access="rw" name="fm_rxflt_bt_gain_bit_c" pos="19:16" rst="4">
  120362. </bits>
  120363. <bits access="rw" name="fm_lna_reg_ibit_d" pos="13:11" rst="5">
  120364. </bits>
  120365. <bits access="rw" name="fm_lna_gain_bit_d" pos="10:9" rst="3">
  120366. </bits>
  120367. <bits access="rw" name="fm_lna_rload_bit_d" pos="8:7" rst="3">
  120368. </bits>
  120369. <bits access="rw" name="fm_rmx_gain_bit_d" pos="6:4" rst="7">
  120370. </bits>
  120371. <bits access="rw" name="fm_rxflt_bt_gain_bit_d" pos="3:0" rst="8">
  120372. </bits>
  120373. </reg>
  120374. <reg name="fm_gain_table_7" protect="rw">
  120375. <bits access="rw" name="fm_lna_reg_ibit_e" pos="29:27" rst="5">
  120376. </bits>
  120377. <bits access="rw" name="fm_lna_gain_bit_e" pos="26:25" rst="3">
  120378. </bits>
  120379. <bits access="rw" name="fm_lna_rload_bit_e" pos="24:23" rst="3">
  120380. </bits>
  120381. <bits access="rw" name="fm_rmx_gain_bit_e" pos="22:20" rst="7">
  120382. </bits>
  120383. <bits access="rw" name="fm_rxflt_bt_gain_bit_e" pos="19:16" rst="12">
  120384. </bits>
  120385. <bits access="rw" name="fm_lna_reg_ibit_f" pos="13:11" rst="5">
  120386. </bits>
  120387. <bits access="rw" name="fm_lna_gain_bit_f" pos="10:9" rst="3">
  120388. </bits>
  120389. <bits access="rw" name="fm_lna_rload_bit_f" pos="8:7" rst="3">
  120390. </bits>
  120391. <bits access="rw" name="fm_rmx_gain_bit_f" pos="6:4" rst="7">
  120392. </bits>
  120393. <bits access="rw" name="fm_rxflt_bt_gain_bit_f" pos="3:0" rst="14">
  120394. </bits>
  120395. </reg>
  120396. <reg name="direct_gain_setting" protect="rw">
  120397. <bits access="rw" name="bt_agc_gain_dr" pos="20" rst="0">
  120398. </bits>
  120399. <bits access="rw" name="bt_agc_gain_reg" pos="19:16" rst="15">
  120400. </bits>
  120401. <bits access="rw" name="wf_agc_gain_dr" pos="12" rst="0">
  120402. </bits>
  120403. <bits access="rw" name="wf_agc_gain_reg" pos="11:8" rst="15">
  120404. </bits>
  120405. <bits access="rw" name="fm_agc_gain_dr" pos="4" rst="0">
  120406. </bits>
  120407. <bits access="rw" name="fm_agc_gain_reg" pos="3:0" rst="15">
  120408. </bits>
  120409. </reg>
  120410. <reg name="bt_rxflt_cal_bit_reg0" protect="rw">
  120411. <bits access="rw" name="bt_rxflt_cal_i_bit_0" pos="31:24" rst="128">
  120412. </bits>
  120413. <bits access="rw" name="bt_rxflt_cal_q_bit_0" pos="23:16" rst="128">
  120414. </bits>
  120415. <bits access="rw" name="bt_rxflt_cal_i_bit_1" pos="15:8" rst="128">
  120416. </bits>
  120417. <bits access="rw" name="bt_rxflt_cal_q_bit_1" pos="7:0" rst="128">
  120418. </bits>
  120419. </reg>
  120420. <reg name="bt_rxflt_cal_bit_reg1" protect="rw">
  120421. <bits access="rw" name="bt_rxflt_cal_i_bit_2" pos="31:24" rst="128">
  120422. </bits>
  120423. <bits access="rw" name="bt_rxflt_cal_q_bit_2" pos="23:16" rst="128">
  120424. </bits>
  120425. <bits access="rw" name="bt_rxflt_cal_i_bit_3" pos="15:8" rst="128">
  120426. </bits>
  120427. <bits access="rw" name="bt_rxflt_cal_q_bit_3" pos="7:0" rst="128">
  120428. </bits>
  120429. </reg>
  120430. <reg name="bt_rxflt_cal_bit_reg2" protect="rw">
  120431. <bits access="rw" name="bt_rxflt_cal_i_bit_4" pos="31:24" rst="128">
  120432. </bits>
  120433. <bits access="rw" name="bt_rxflt_cal_q_bit_4" pos="23:16" rst="128">
  120434. </bits>
  120435. <bits access="rw" name="bt_rxflt_cal_i_bit_5" pos="15:8" rst="128">
  120436. </bits>
  120437. <bits access="rw" name="bt_rxflt_cal_q_bit_5" pos="7:0" rst="128">
  120438. </bits>
  120439. </reg>
  120440. <reg name="bt_rxflt_cal_bit_reg3" protect="rw">
  120441. <bits access="rw" name="bt_rxflt_cal_i_bit_6" pos="31:24" rst="128">
  120442. </bits>
  120443. <bits access="rw" name="bt_rxflt_cal_q_bit_6" pos="23:16" rst="128">
  120444. </bits>
  120445. <bits access="rw" name="bt_rxflt_cal_i_bit_7" pos="15:8" rst="128">
  120446. </bits>
  120447. <bits access="rw" name="bt_rxflt_cal_q_bit_7" pos="7:0" rst="128">
  120448. </bits>
  120449. </reg>
  120450. <reg name="bt_rxflt_cal_bit_reg4" protect="rw">
  120451. <bits access="rw" name="bt_rxflt_cal_i_bit_8" pos="31:24" rst="128">
  120452. </bits>
  120453. <bits access="rw" name="bt_rxflt_cal_q_bit_8" pos="23:16" rst="128">
  120454. </bits>
  120455. <bits access="rw" name="bt_rxflt_cal_i_bit_9" pos="15:8" rst="128">
  120456. </bits>
  120457. <bits access="rw" name="bt_rxflt_cal_q_bit_9" pos="7:0" rst="128">
  120458. </bits>
  120459. </reg>
  120460. <reg name="bt_rxflt_cal_bit_reg5" protect="rw">
  120461. <bits access="rw" name="bt_rxflt_cal_i_bit_a" pos="31:24" rst="128">
  120462. </bits>
  120463. <bits access="rw" name="bt_rxflt_cal_q_bit_a" pos="23:16" rst="128">
  120464. </bits>
  120465. <bits access="rw" name="bt_rxflt_cal_i_bit_b" pos="15:8" rst="128">
  120466. </bits>
  120467. <bits access="rw" name="bt_rxflt_cal_q_bit_b" pos="7:0" rst="128">
  120468. </bits>
  120469. </reg>
  120470. <reg name="bt_rxflt_cal_bit_reg6" protect="rw">
  120471. <bits access="rw" name="bt_rxflt_cal_i_bit_c" pos="31:24" rst="128">
  120472. </bits>
  120473. <bits access="rw" name="bt_rxflt_cal_q_bit_c" pos="23:16" rst="128">
  120474. </bits>
  120475. <bits access="rw" name="bt_rxflt_cal_i_bit_d" pos="15:8" rst="128">
  120476. </bits>
  120477. <bits access="rw" name="bt_rxflt_cal_q_bit_d" pos="7:0" rst="128">
  120478. </bits>
  120479. </reg>
  120480. <reg name="bt_rxflt_cal_bit_reg7" protect="rw">
  120481. <bits access="rw" name="bt_rxflt_cal_i_bit_e" pos="31:24" rst="128">
  120482. </bits>
  120483. <bits access="rw" name="bt_rxflt_cal_q_bit_e" pos="23:16" rst="128">
  120484. </bits>
  120485. <bits access="rw" name="bt_rxflt_cal_i_bit_f" pos="15:8" rst="128">
  120486. </bits>
  120487. <bits access="rw" name="bt_rxflt_cal_q_bit_f" pos="7:0" rst="128">
  120488. </bits>
  120489. </reg>
  120490. <reg name="bt_rxflt_cal_bit_reg8" protect="rw">
  120491. <bits access="rw" name="bt_rxflt_cal_i_bit_c_lo" pos="31:24" rst="128">
  120492. </bits>
  120493. <bits access="rw" name="bt_rxflt_cal_q_bit_c_lo" pos="23:16" rst="128">
  120494. </bits>
  120495. <bits access="rw" name="bt_rxflt_cal_i_bit_d_lo" pos="15:8" rst="128">
  120496. </bits>
  120497. <bits access="rw" name="bt_rxflt_cal_q_bit_d_lo" pos="7:0" rst="128">
  120498. </bits>
  120499. </reg>
  120500. <reg name="bt_rxflt_cal_bit_reg9" protect="rw">
  120501. <bits access="rw" name="bt_rxflt_cal_i_bit_e_lo" pos="31:24" rst="128">
  120502. </bits>
  120503. <bits access="rw" name="bt_rxflt_cal_q_bit_e_lo" pos="23:16" rst="128">
  120504. </bits>
  120505. <bits access="rw" name="bt_rxflt_cal_i_bit_f_lo" pos="15:8" rst="128">
  120506. </bits>
  120507. <bits access="rw" name="bt_rxflt_cal_q_bit_f_lo" pos="7:0" rst="128">
  120508. </bits>
  120509. </reg>
  120510. <reg name="bt_rxflt_cal_bit_rega" protect="rw">
  120511. <bits access="rw" name="bt_rxflt_cal_i_bit_c_hi" pos="31:24" rst="128">
  120512. </bits>
  120513. <bits access="rw" name="bt_rxflt_cal_q_bit_c_hi" pos="23:16" rst="128">
  120514. </bits>
  120515. <bits access="rw" name="bt_rxflt_cal_i_bit_d_hi" pos="15:8" rst="128">
  120516. </bits>
  120517. <bits access="rw" name="bt_rxflt_cal_q_bit_d_hi" pos="7:0" rst="128">
  120518. </bits>
  120519. </reg>
  120520. <reg name="bt_rxflt_cal_bit_regb" protect="rw">
  120521. <bits access="rw" name="bt_rxflt_cal_i_bit_e_hi" pos="31:24" rst="128">
  120522. </bits>
  120523. <bits access="rw" name="bt_rxflt_cal_q_bit_e_hi" pos="23:16" rst="128">
  120524. </bits>
  120525. <bits access="rw" name="bt_rxflt_cal_i_bit_f_hi" pos="15:8" rst="128">
  120526. </bits>
  120527. <bits access="rw" name="bt_rxflt_cal_q_bit_f_hi" pos="7:0" rst="128">
  120528. </bits>
  120529. </reg>
  120530. <reg name="wf_rxflt_cal_bit_reg0" protect="rw">
  120531. <bits access="rw" name="wf_rxflt_cal_i_bit_0" pos="31:24" rst="128">
  120532. </bits>
  120533. <bits access="rw" name="wf_rxflt_cal_q_bit_0" pos="23:16" rst="128">
  120534. </bits>
  120535. <bits access="rw" name="wf_rxflt_cal_i_bit_1" pos="15:8" rst="128">
  120536. </bits>
  120537. <bits access="rw" name="wf_rxflt_cal_q_bit_1" pos="7:0" rst="128">
  120538. </bits>
  120539. </reg>
  120540. <reg name="wf_rxflt_cal_bit_reg1" protect="rw">
  120541. <bits access="rw" name="wf_rxflt_cal_i_bit_2" pos="31:24" rst="128">
  120542. </bits>
  120543. <bits access="rw" name="wf_rxflt_cal_q_bit_2" pos="23:16" rst="128">
  120544. </bits>
  120545. <bits access="rw" name="wf_rxflt_cal_i_bit_3" pos="15:8" rst="128">
  120546. </bits>
  120547. <bits access="rw" name="wf_rxflt_cal_q_bit_3" pos="7:0" rst="128">
  120548. </bits>
  120549. </reg>
  120550. <reg name="wf_rxflt_cal_bit_reg2" protect="rw">
  120551. <bits access="rw" name="wf_rxflt_cal_i_bit_4" pos="31:24" rst="128">
  120552. </bits>
  120553. <bits access="rw" name="wf_rxflt_cal_q_bit_4" pos="23:16" rst="128">
  120554. </bits>
  120555. <bits access="rw" name="wf_rxflt_cal_i_bit_5" pos="15:8" rst="128">
  120556. </bits>
  120557. <bits access="rw" name="wf_rxflt_cal_q_bit_5" pos="7:0" rst="128">
  120558. </bits>
  120559. </reg>
  120560. <reg name="wf_rxflt_cal_bit_reg3" protect="rw">
  120561. <bits access="rw" name="wf_rxflt_cal_i_bit_6" pos="31:24" rst="128">
  120562. </bits>
  120563. <bits access="rw" name="wf_rxflt_cal_q_bit_6" pos="23:16" rst="128">
  120564. </bits>
  120565. <bits access="rw" name="wf_rxflt_cal_i_bit_7" pos="15:8" rst="128">
  120566. </bits>
  120567. <bits access="rw" name="wf_rxflt_cal_q_bit_7" pos="7:0" rst="128">
  120568. </bits>
  120569. </reg>
  120570. <reg name="wf_rxflt_cal_bit_reg4" protect="rw">
  120571. <bits access="rw" name="wf_rxflt_cal_i_bit_8" pos="31:24" rst="128">
  120572. </bits>
  120573. <bits access="rw" name="wf_rxflt_cal_q_bit_8" pos="23:16" rst="128">
  120574. </bits>
  120575. <bits access="rw" name="wf_rxflt_cal_i_bit_9" pos="15:8" rst="128">
  120576. </bits>
  120577. <bits access="rw" name="wf_rxflt_cal_q_bit_9" pos="7:0" rst="128">
  120578. </bits>
  120579. </reg>
  120580. <reg name="wf_rxflt_cal_bit_reg5" protect="rw">
  120581. <bits access="rw" name="wf_rxflt_cal_i_bit_a" pos="31:24" rst="128">
  120582. </bits>
  120583. <bits access="rw" name="wf_rxflt_cal_q_bit_a" pos="23:16" rst="128">
  120584. </bits>
  120585. <bits access="rw" name="wf_rxflt_cal_i_bit_b" pos="15:8" rst="128">
  120586. </bits>
  120587. <bits access="rw" name="wf_rxflt_cal_q_bit_b" pos="7:0" rst="128">
  120588. </bits>
  120589. </reg>
  120590. <reg name="wf_rxflt_cal_bit_reg6" protect="rw">
  120591. <bits access="rw" name="wf_rxflt_cal_i_bit_c" pos="31:24" rst="128">
  120592. </bits>
  120593. <bits access="rw" name="wf_rxflt_cal_q_bit_c" pos="23:16" rst="128">
  120594. </bits>
  120595. <bits access="rw" name="wf_rxflt_cal_i_bit_d" pos="15:8" rst="128">
  120596. </bits>
  120597. <bits access="rw" name="wf_rxflt_cal_q_bit_d" pos="7:0" rst="128">
  120598. </bits>
  120599. </reg>
  120600. <reg name="wf_rxflt_cal_bit_reg7" protect="rw">
  120601. <bits access="rw" name="wf_rxflt_cal_i_bit_e" pos="31:24" rst="128">
  120602. </bits>
  120603. <bits access="rw" name="wf_rxflt_cal_q_bit_e" pos="23:16" rst="128">
  120604. </bits>
  120605. <bits access="rw" name="wf_rxflt_cal_i_bit_f" pos="15:8" rst="128">
  120606. </bits>
  120607. <bits access="rw" name="wf_rxflt_cal_q_bit_f" pos="7:0" rst="128">
  120608. </bits>
  120609. </reg>
  120610. <reg name="wf_rxflt_cal_bit_reg8" protect="rw">
  120611. <bits access="rw" name="wf_rxflt_cal_i_bit_c_lo" pos="31:24" rst="128">
  120612. </bits>
  120613. <bits access="rw" name="wf_rxflt_cal_q_bit_c_lo" pos="23:16" rst="128">
  120614. </bits>
  120615. <bits access="rw" name="wf_rxflt_cal_i_bit_d_lo" pos="15:8" rst="128">
  120616. </bits>
  120617. <bits access="rw" name="wf_rxflt_cal_q_bit_d_lo" pos="7:0" rst="128">
  120618. </bits>
  120619. </reg>
  120620. <reg name="wf_rxflt_cal_bit_reg9" protect="rw">
  120621. <bits access="rw" name="wf_rxflt_cal_i_bit_e_lo" pos="31:24" rst="128">
  120622. </bits>
  120623. <bits access="rw" name="wf_rxflt_cal_q_bit_e_lo" pos="23:16" rst="128">
  120624. </bits>
  120625. <bits access="rw" name="wf_rxflt_cal_i_bit_f_lo" pos="15:8" rst="128">
  120626. </bits>
  120627. <bits access="rw" name="wf_rxflt_cal_q_bit_f_lo" pos="7:0" rst="128">
  120628. </bits>
  120629. </reg>
  120630. <reg name="wf_rxflt_cal_bit_rega" protect="rw">
  120631. <bits access="rw" name="wf_rxflt_cal_i_bit_c_hi" pos="31:24" rst="128">
  120632. </bits>
  120633. <bits access="rw" name="wf_rxflt_cal_q_bit_c_hi" pos="23:16" rst="128">
  120634. </bits>
  120635. <bits access="rw" name="wf_rxflt_cal_i_bit_d_hi" pos="15:8" rst="128">
  120636. </bits>
  120637. <bits access="rw" name="wf_rxflt_cal_q_bit_d_hi" pos="7:0" rst="128">
  120638. </bits>
  120639. </reg>
  120640. <reg name="wf_rxflt_cal_bit_regb" protect="rw">
  120641. <bits access="rw" name="wf_rxflt_cal_i_bit_e_hi" pos="31:24" rst="128">
  120642. </bits>
  120643. <bits access="rw" name="wf_rxflt_cal_q_bit_e_hi" pos="23:16" rst="128">
  120644. </bits>
  120645. <bits access="rw" name="wf_rxflt_cal_i_bit_f_hi" pos="15:8" rst="128">
  120646. </bits>
  120647. <bits access="rw" name="wf_rxflt_cal_q_bit_f_hi" pos="7:0" rst="128">
  120648. </bits>
  120649. </reg>
  120650. <reg name="fm_rxflt_cal_bit_reg0" protect="rw">
  120651. <bits access="rw" name="fm_rxflt_cal_i_bit_0" pos="31:24" rst="128">
  120652. </bits>
  120653. <bits access="rw" name="fm_rxflt_cal_q_bit_0" pos="23:16" rst="128">
  120654. </bits>
  120655. <bits access="rw" name="fm_rxflt_cal_i_bit_1" pos="15:8" rst="128">
  120656. </bits>
  120657. <bits access="rw" name="fm_rxflt_cal_q_bit_1" pos="7:0" rst="128">
  120658. </bits>
  120659. </reg>
  120660. <reg name="fm_rxflt_cal_bit_reg1" protect="rw">
  120661. <bits access="rw" name="fm_rxflt_cal_i_bit_2" pos="31:24" rst="128">
  120662. </bits>
  120663. <bits access="rw" name="fm_rxflt_cal_q_bit_2" pos="23:16" rst="128">
  120664. </bits>
  120665. <bits access="rw" name="fm_rxflt_cal_i_bit_3" pos="15:8" rst="128">
  120666. </bits>
  120667. <bits access="rw" name="fm_rxflt_cal_q_bit_3" pos="7:0" rst="128">
  120668. </bits>
  120669. </reg>
  120670. <reg name="fm_rxflt_cal_bit_reg2" protect="rw">
  120671. <bits access="rw" name="fm_rxflt_cal_i_bit_4" pos="31:24" rst="128">
  120672. </bits>
  120673. <bits access="rw" name="fm_rxflt_cal_q_bit_4" pos="23:16" rst="128">
  120674. </bits>
  120675. <bits access="rw" name="fm_rxflt_cal_i_bit_5" pos="15:8" rst="128">
  120676. </bits>
  120677. <bits access="rw" name="fm_rxflt_cal_q_bit_5" pos="7:0" rst="128">
  120678. </bits>
  120679. </reg>
  120680. <reg name="fm_rxflt_cal_bit_reg3" protect="rw">
  120681. <bits access="rw" name="fm_rxflt_cal_i_bit_6" pos="31:24" rst="128">
  120682. </bits>
  120683. <bits access="rw" name="fm_rxflt_cal_q_bit_6" pos="23:16" rst="128">
  120684. </bits>
  120685. <bits access="rw" name="fm_rxflt_cal_i_bit_7" pos="15:8" rst="128">
  120686. </bits>
  120687. <bits access="rw" name="fm_rxflt_cal_q_bit_7" pos="7:0" rst="128">
  120688. </bits>
  120689. </reg>
  120690. <reg name="fm_rxflt_cal_bit_reg4" protect="rw">
  120691. <bits access="rw" name="fm_rxflt_cal_i_bit_8" pos="31:24" rst="128">
  120692. </bits>
  120693. <bits access="rw" name="fm_rxflt_cal_q_bit_8" pos="23:16" rst="128">
  120694. </bits>
  120695. <bits access="rw" name="fm_rxflt_cal_i_bit_9" pos="15:8" rst="128">
  120696. </bits>
  120697. <bits access="rw" name="fm_rxflt_cal_q_bit_9" pos="7:0" rst="128">
  120698. </bits>
  120699. </reg>
  120700. <reg name="fm_rxflt_cal_bit_reg5" protect="rw">
  120701. <bits access="rw" name="fm_rxflt_cal_i_bit_a" pos="31:24" rst="128">
  120702. </bits>
  120703. <bits access="rw" name="fm_rxflt_cal_q_bit_a" pos="23:16" rst="128">
  120704. </bits>
  120705. <bits access="rw" name="fm_rxflt_cal_i_bit_b" pos="15:8" rst="128">
  120706. </bits>
  120707. <bits access="rw" name="fm_rxflt_cal_q_bit_b" pos="7:0" rst="128">
  120708. </bits>
  120709. </reg>
  120710. <reg name="fm_rxflt_cal_bit_reg6" protect="rw">
  120711. <bits access="rw" name="fm_rxflt_cal_i_bit_c" pos="31:24" rst="128">
  120712. </bits>
  120713. <bits access="rw" name="fm_rxflt_cal_q_bit_c" pos="23:16" rst="128">
  120714. </bits>
  120715. <bits access="rw" name="fm_rxflt_cal_i_bit_d" pos="15:8" rst="128">
  120716. </bits>
  120717. <bits access="rw" name="fm_rxflt_cal_q_bit_d" pos="7:0" rst="128">
  120718. </bits>
  120719. </reg>
  120720. <reg name="fm_rxflt_cal_bit_reg7" protect="rw">
  120721. <bits access="rw" name="fm_rxflt_cal_i_bit_e" pos="31:24" rst="128">
  120722. </bits>
  120723. <bits access="rw" name="fm_rxflt_cal_q_bit_e" pos="23:16" rst="128">
  120724. </bits>
  120725. <bits access="rw" name="fm_rxflt_cal_i_bit_f" pos="15:8" rst="128">
  120726. </bits>
  120727. <bits access="rw" name="fm_rxflt_cal_q_bit_f" pos="7:0" rst="128">
  120728. </bits>
  120729. </reg>
  120730. <reg name="test_buf" protect="rw">
  120731. <bits access="rw" name="refclk_lvds_en" pos="3" rst="0">
  120732. </bits>
  120733. <bits access="rw" name="tx_if_en" pos="2" rst="0">
  120734. </bits>
  120735. <bits access="rw" name="dac_out_en" pos="1" rst="0">
  120736. </bits>
  120737. <bits access="rw" name="pll_test_out_en" pos="0" rst="0">
  120738. </bits>
  120739. </reg>
  120740. <reg name="ana_reserved" protect="rw">
  120741. <bits access="r" name="bw_rsvd_out" pos="31:24" rst="0">
  120742. </bits>
  120743. <bits access="rw" name="adpll_rsvd_in" pos="23:16" rst="240">
  120744. </bits>
  120745. <bits access="rw" name="bw_rsvd_in" pos="15:0" rst="65280">
  120746. </bits>
  120747. </reg>
  120748. <reg name="dig_reserved" protect="rw">
  120749. <bits access="rw" name="dig_rsvd" pos="15:0" rst="65280">
  120750. </bits>
  120751. </reg>
  120752. <reg name="new_add" protect="rw">
  120753. <bits access="rw" name="bt_dac_lp_mode2" pos="7:6" rst="0">
  120754. </bits>
  120755. <bits access="rw" name="pll_reg_digi_bit" pos="5:2" rst="8">
  120756. </bits>
  120757. <bits access="rw" name="txrf_capbank_en_dr" pos="1" rst="0">
  120758. </bits>
  120759. <bits access="rw" name="txrf_capbank_en_reg" pos="0" rst="0">
  120760. </bits>
  120761. </reg>
  120762. </module>
  120763. </archive>
  120764. <archive relative="wcn_sys_ctrl.xml">
  120765. <module category="wcn" name="WCN_SYS_CTRL">
  120766. <reg name="soft_reset" protect="rw">
  120767. <bits access="rw" name="reg_sys_resetb" pos="31" rst="1">
  120768. <comment>Global reset.
  120769. 1:: unreset
  120770. 0:: reset</comment>
  120771. </bits>
  120772. <bits access="rw" name="reg_dbg_hst_uart_rstb" pos="15" rst="1">
  120773. <comment>debug host uart clock domain reset, active low</comment>
  120774. </bits>
  120775. <bits access="rw" name="reg_pulp_dbg_rstb" pos="14" rst="1">
  120776. <comment>riscv debug unit rstb. Active low.</comment>
  120777. </bits>
  120778. <bits access="rw" name="reg_wdt_rst_sys_en" pos="13" rst="1">
  120779. <comment>watch dog reset wcn system enable, 1 enable the reset, else no.</comment>
  120780. </bits>
  120781. <bits access="rw" name="reg_wakeup_ctrl_rstb" pos="12" rst="1">
  120782. <comment>wake up logic reset.</comment>
  120783. </bits>
  120784. <bits access="rw" name="reg_bt_hresetn" pos="11" rst="1">
  120785. <comment>for bt hclk reset.
  120786. 1:: unreset
  120787. 0:: reset</comment>
  120788. </bits>
  120789. <bits access="rw" name="reg_low_power_rstb" pos="10" rst="1">
  120790. <comment>for bt 32k clock reset.
  120791. 1:: unreset
  120792. 0:: reset</comment>
  120793. </bits>
  120794. <bits access="rw" name="reg_uart_clk_rstb" pos="9" rst="1">
  120795. <comment>uart clock domain reset.
  120796. 1:: unreset
  120797. 0:: reset</comment>
  120798. </bits>
  120799. <bits access="rw" name="reg_wdt_clk_rstb" pos="8" rst="1">
  120800. <comment>watch dog clock domain reset, 32k actually.
  120801. 1:: unreset
  120802. 0:: reset</comment>
  120803. </bits>
  120804. <bits access="rw" name="reg_bt_master_rstb" pos="7" rst="1">
  120805. <comment>bt master clock reset.
  120806. 1:: unreset
  120807. 0:: reset</comment>
  120808. </bits>
  120809. <bits access="rw" name="reg_bt_dbm_hresetn" pos="6" rst="1">
  120810. <comment>bt core's debug master bus reset.
  120811. 1:: unreset
  120812. 0:: reset</comment>
  120813. </bits>
  120814. <bits access="rw" name="reg_aud_ifc_hresetn" pos="5" rst="1">
  120815. <comment>AUDIFC function reset. Active low.
  120816. 1:: unreset
  120817. 0:: reset</comment>
  120818. </bits>
  120819. <bits access="rw" name="reg_sys_ifc_hresetn" pos="4" rst="1">
  120820. <comment>sys_ifc module bus reset.
  120821. 1:: unreset
  120822. 0:: reset</comment>
  120823. </bits>
  120824. <bits access="rw" name="reg_jtag_hresetn" pos="3" rst="1">
  120825. <comment>riscv jtag-&gt; ahb protocol bus reset.
  120826. 1:: unreset
  120827. 0:: reset</comment>
  120828. </bits>
  120829. <bits access="rw" name="reg_pulp_mcu_hresetn" pos="2" rst="0">
  120830. <comment>riscv reset.
  120831. 1:: unreset
  120832. 0:: reset</comment>
  120833. </bits>
  120834. <bits access="rw" name="reg_mem_hresetn" pos="1" rst="1">
  120835. <comment>bt_dig memory datapath reset.
  120836. 1:: unreset
  120837. 0:: reset</comment>
  120838. </bits>
  120839. <bits access="rw" name="reg_apb_presetn" pos="0" rst="1">
  120840. <comment>not used, reserved</comment>
  120841. </bits>
  120842. </reg>
  120843. <reg name="clk_cfg" protect="rw">
  120844. <bits access="rw" name="reg_bus_clk_sel" pos="31:29" rst="0">
  120845. <comment>bus clock selection: 0 sel hclk, 1 sel 26m, others sel 32k</comment>
  120846. </bits>
  120847. <bits access="rw" name="reg_wakeup_ctrl_clk_en" pos="28" rst="1">
  120848. <comment>wake up logic clock enable</comment>
  120849. </bits>
  120850. <bits access="rw" name="bt_clksel" pos="27:22" rst="13">
  120851. <comment>bt core master clock indicator, 13M as default.</comment>
  120852. </bits>
  120853. <bits access="rw" name="reg_bt_master_clk_denom" pos="21:18" rst="4">
  120854. <comment>bt master clock divider's denom, bt_master_clk = bus_clk/reg_bt_master_clk_denom</comment>
  120855. </bits>
  120856. <bits access="rs" name="reg_bt_master_clk_ld" pos="17" rst="0">
  120857. <comment>bit type is changed from w1s to rs.
  120858. load the bt_master_clk_denom into the clock divider.</comment>
  120859. </bits>
  120860. <bits access="rw" name="reg_master_clk_en" pos="16" rst="0">
  120861. <comment>bt master clock divider enable, this divider source is hclk.</comment>
  120862. </bits>
  120863. <bits access="rw" name="reg_low_power_clk_en" pos="15" rst="1">
  120864. <comment>low power clock enable for bt</comment>
  120865. </bits>
  120866. <bits access="rw" name="reg_jtag_hclk_en" pos="14" rst="1">
  120867. <comment>jtag bus clock enable</comment>
  120868. </bits>
  120869. <bits access="rw" name="reg_sys_ifc_hclk_force_on" pos="13" rst="0">
  120870. <comment>manually to set the sys_ifc bus clock to be open always.</comment>
  120871. </bits>
  120872. <bits access="rw" name="reg_sys_ifc_ch_hclk_force_on" pos="12:11" rst="0">
  120873. <comment>manually to set the sys_ifc channels' clock to be open always.</comment>
  120874. </bits>
  120875. <bits access="rw" name="reg_aud_ifc_hclk_force_on" pos="10" rst="0">
  120876. <comment>manually to set the aud_ifc bus clock to be open always.</comment>
  120877. </bits>
  120878. <bits access="rw" name="reg_aud_ifc_ch2_hclk_force_on" pos="9" rst="0">
  120879. <comment>manually to set the aud_ifc channel 0' clock to be open always.</comment>
  120880. </bits>
  120881. <bits access="rw" name="reg_mem_hclk_en" pos="8" rst="1">
  120882. <comment>bt_dig memory module's bus clock enable</comment>
  120883. </bits>
  120884. <bits access="rw" name="reg_bt_hclk_en" pos="7" rst="1">
  120885. <comment>bt core's bus clock enable</comment>
  120886. </bits>
  120887. <bits access="rw" name="reg_bt_dbm_hclk_en" pos="6" rst="0">
  120888. <comment>debug master bus clock enable</comment>
  120889. </bits>
  120890. <bits access="rw" name="reg_uart_clk_force_on" pos="5" rst="0">
  120891. <comment>manually to set the uart clock to be open always.</comment>
  120892. </bits>
  120893. <bits access="rw" name="reg_uart_sys_clk_force_on" pos="4" rst="0">
  120894. <comment>manually to set the uart sys(function) clock to be open always.</comment>
  120895. </bits>
  120896. <bits access="rw" name="reg_wdt_clk_en" pos="3" rst="1">
  120897. <comment>watch dog clock enable</comment>
  120898. </bits>
  120899. <bits access="rw" name="reg_pulp_mcu_hclk_en" pos="2" rst="1">
  120900. <comment>riscv bus clock enable</comment>
  120901. </bits>
  120902. <bits access="rw" name="reg_apb_reg_clk_force_on" pos="1" rst="0">
  120903. <comment>apb bus clock to be open always.</comment>
  120904. </bits>
  120905. <bits access="rw" name="reg_mem_auto_ckg" pos="0" rst="1">
  120906. <comment>memory access with clock enable.</comment>
  120907. </bits>
  120908. </reg>
  120909. <reg name="clk_cfg1" protect="rw">
  120910. <bits access="rw" name="reg_bt_13m_clk_en" pos="22" rst="1">
  120911. <comment>13m from osc 26m, for bt master clock sel.</comment>
  120912. </bits>
  120913. <bits access="rw" name="reg_bt_master_clk_sel" pos="21:20" rst="2">
  120914. <comment>bit[21] when 1 sel the result of bit[20], otherwise from hclk divider; bit [20] when 1 sel 26m otherwise 13m</comment>
  120915. </bits>
  120916. <bits access="rw" name="reg_bt_clk_en" pos="19" rst="0">
  120917. <comment>bt_master_clk to bt core.</comment>
  120918. </bits>
  120919. <bits access="rw" name="sysifc_dbg_hclk_clk_en_force_on" pos="18" rst="1">
  120920. <comment>ifc debug host dma hclk force on.</comment>
  120921. </bits>
  120922. <bits access="rw" name="dbg_hst_sys_clk_en_force_on" pos="17" rst="1">
  120923. <comment>debug host pclk force enable</comment>
  120924. </bits>
  120925. <bits access="rw" name="dbg_uart_sys_clk_en_force_on" pos="16" rst="1">
  120926. <comment>debug uart pclk force enable</comment>
  120927. </bits>
  120928. <bits access="rw" name="dbg_hst_uart_clk_en_force_on" pos="15" rst="1">
  120929. <comment>debug host sclk force enable</comment>
  120930. </bits>
  120931. <bits access="rs" name="reg_uart_clk_div_ld_cfg" pos="14" rst="0">
  120932. <comment>bit type is changed from w1s to rs.
  120933. use new div parameters for divider.</comment>
  120934. </bits>
  120935. <bits access="rw" name="reg_uart_clk_div_en" pos="13" rst="1">
  120936. <comment>uart clock divider enable.</comment>
  120937. </bits>
  120938. <bits access="rw" name="reg_uart_clk_denom" pos="12:0" rst="1">
  120939. <comment>uart clock divider denom's configuration</comment>
  120940. </bits>
  120941. </reg>
  120942. <reg name="clk_208m_cfg" protect="rw">
  120943. <bits access="rs" name="reg_dbg_hst_uart_clk_ld_cfg" pos="31" rst="0">
  120944. <comment>bit type is changed from w1s to rs.
  120945. Debug host uart clock load configuration</comment>
  120946. </bits>
  120947. <bits access="rw" name="reg_dbg_hst_uart_clk_num" pos="30:21" rst="1">
  120948. <comment>Debug host uart clock numerator</comment>
  120949. </bits>
  120950. <bits access="rw" name="reg_dbg_hst_uart_clk_denom" pos="20:11" rst="7">
  120951. <comment>Debug host uart clock denominator</comment>
  120952. </bits>
  120953. <bits access="rw" name="reg_dbg_hst_div_en" pos="10" rst="1">
  120954. <comment>Debug host clock divider enable</comment>
  120955. </bits>
  120956. <bits access="rs" name="reg_clk_208m_div_ld_cfg" pos="9" rst="0">
  120957. <comment>bit type is changed from w1s to rs.
  120958. use new div parameters for divider.</comment>
  120959. </bits>
  120960. <bits access="rw" name="reg_clk_208m_div_en" pos="8" rst="1">
  120961. <comment>clock 208m divider enable.</comment>
  120962. </bits>
  120963. <bits access="rw" name="reg_clk_208m_num" pos="7:4" rst="1">
  120964. <comment>clock 208m divider num's configuration</comment>
  120965. </bits>
  120966. <bits access="rw" name="reg_clk_208m_denom" pos="3:0" rst="2">
  120967. <comment>clock 208m divider denom's configuration</comment>
  120968. </bits>
  120969. </reg>
  120970. <reg name="sys_conn" protect="rw">
  120971. <bits access="r" name="sys2bt_irq" pos="3" rst="0">
  120972. <comment>sys to bt irq, read only for check</comment>
  120973. </bits>
  120974. <bits access="rw" name="reg_wdt_gen_irq2sys_en" pos="2" rst="1">
  120975. <comment>wdt gen irq to system enable control, 1 indicates enable.</comment>
  120976. </bits>
  120977. <bits access="rw" name="bt2sys_wakeup" pos="1" rst="0">
  120978. <comment>reserved for future use, the wakeup to sys now use comregs's.</comment>
  120979. </bits>
  120980. <bits access="rw" name="bt2sys_soft_int" pos="0" rst="0">
  120981. <comment>generate interrupt to system</comment>
  120982. </bits>
  120983. </reg>
  120984. <reg name="riscv_boot_addr" protect="rw">
  120985. <bits access="rw" name="pulp_mcu_boot_addr" pos="31:0" rst="0">
  120986. <comment>the start address for riscv</comment>
  120987. </bits>
  120988. </reg>
  120989. <reg name="rf_cfg" protect="rw">
  120990. <bits access="rw" name="rf_reg_src_sel" pos="0" rst="0">
  120991. <comment>RF Register Interface Selection
  120992. 1:: SPI
  120993. 0:: APB</comment>
  120994. </bits>
  120995. </reg>
  120996. <reg name="lvds_cfg" protect="rw">
  120997. <bits access="rw" name="sdm_clk_div_sel" pos="6" rst="0">
  120998. <comment>tx clk sel
  120999. 1'b1::selected sdm div clk as tx clk</comment>
  121000. </bits>
  121001. <bits access="rw" name="sdm_clk_sel" pos="5" rst="0">
  121002. <comment>tx clk sel
  121003. 1'b1::selected sdm ref clk as tx clk</comment>
  121004. </bits>
  121005. <bits access="rw" name="reg_lvds_rx_mode" pos="4:3" rst="0">
  121006. <comment>RX Mode
  121007. 0:: BT
  121008. 1:: FM
  121009. 2:: WLAN</comment>
  121010. </bits>
  121011. <bits access="rw" name="reg_lvds_out_sel" pos="2" rst="0">
  121012. <comment>Data Source for LVDS Output
  121013. 1:: internal DFE TX
  121014. 0:: internal ADC</comment>
  121015. </bits>
  121016. <bits access="rw" name="reg_lvds_dac" pos="1" rst="0">
  121017. <comment>Data Source for Internal DAC
  121018. 1:: external DFE TX
  121019. 0:: internal DFE TX</comment>
  121020. </bits>
  121021. <bits access="rw" name="reg_lvds_adc" pos="0" rst="0">
  121022. <comment>Data Source for Internal DFE RX
  121023. 1:: external ADC
  121024. 0:: internal ADC</comment>
  121025. </bits>
  121026. </reg>
  121027. <reg name="debug_config" protect="rw">
  121028. <bits access="rw" name="reg_dbg_trig_sel" pos="31:28" rst="0">
  121029. <comment>Debug trigger selection</comment>
  121030. </bits>
  121031. <bits access="rw" name="reg_dbg_trig_en" pos="27" rst="0">
  121032. <comment>The triger is forced to 0 when disabled.</comment>
  121033. </bits>
  121034. <bits access="rw" name="reg_dbg_clk_sel" pos="26:23" rst="0">
  121035. <comment>Debug clock selection</comment>
  121036. </bits>
  121037. <bits access="rw" name="reg_dbg_clk_en" pos="22" rst="0">
  121038. <comment>The debug clock is forced to 0 when disabled.</comment>
  121039. </bits>
  121040. <bits access="rw" name="reg_dbg_out_nibble_shift_mode" pos="8" rst="0">
  121041. <comment>nibble shift mode
  121042. 0:: nibble_shift_mode0
  121043. Ouptut is {dbg_out[11::0], dbg_out[15::12]}
  121044. 1:: nibble_shift_mode1
  121045. Ouptut is {dbg_out[15::12], dbg_out[7::4], dbg_out[11::8], dbg_out[3::0]}</comment>
  121046. </bits>
  121047. <bits access="rw" name="reg_dbg_out_nibble_shift" pos="7" rst="0">
  121048. <comment>nibble shift enable
  121049. 0:: nibble_shift_disable
  121050. Output is dbg_out[15::0]
  121051. 1:: nibble_shift_en
  121052. Output is prcoess according dbg_out_nibble_mode</comment>
  121053. </bits>
  121054. <bits access="rw" name="reg_dbg_out_byte_swap" pos="6" rst="0">
  121055. <comment>Byte swap of dbg_out</comment>
  121056. </bits>
  121057. <bits access="rw" name="reg_dbg_out_nibble_swap" pos="5" rst="0">
  121058. <comment>Half Byte swap of dbg_out</comment>
  121059. </bits>
  121060. <bits access="rw" name="reg_dbg_out_en" pos="4" rst="0">
  121061. <comment>when 0, all the mux data is forced to be 0.</comment>
  121062. </bits>
  121063. <bits access="rw" name="reg_dbg_out_sel" pos="3:0" rst="0">
  121064. <comment>Debug out selection</comment>
  121065. </bits>
  121066. </reg>
  121067. <reg name="wakeup_ctrl_0" protect="rw">
  121068. <bits access="rw" name="host2bt_ext_wakeup_en" pos="13" rst="0">
  121069. <comment>enable external wakeup request</comment>
  121070. </bits>
  121071. <bits access="rw" name="host2bt_hci_break_wakeup_en" pos="12" rst="0">
  121072. <comment>enable hci uart break wakeup request</comment>
  121073. </bits>
  121074. <bits access="rw" name="host2bt_hci_activity_wakeup_en" pos="11" rst="0">
  121075. <comment>enable hci activity wakeup request</comment>
  121076. </bits>
  121077. <bits access="rw" name="bt2host_wakeup_mode" pos="10" rst="1">
  121078. <comment>bt2host wakeup mode
  121079. 1::level mode
  121080. 0::pulse mode</comment>
  121081. </bits>
  121082. <bits access="rw" name="bt2host_wakeup_period" pos="9:0" rst="255">
  121083. <comment>bt2host wakeup level mode active cycle</comment>
  121084. </bits>
  121085. </reg>
  121086. <reg name="wakeup_ctrl_1" protect="rw">
  121087. <bits access="s" name="bt2host_wakeup_trig" pos="0" rst="1">
  121088. <comment>bit type is changed from wos to s.
  121089. bt2host wakeup trigger</comment>
  121090. </bits>
  121091. </reg>
  121092. <reg name="wakeup_status" protect="r">
  121093. <bits access="r" name="bt2host_wakeup_status" pos="0" rst="0">
  121094. <comment>bt2host wakeup status</comment>
  121095. </bits>
  121096. </reg>
  121097. <reg name="extmem_offset" protect="rw">
  121098. <bits access="rw" name="reg_extmem_offset_addr" pos="31:0" rst="0">
  121099. </bits>
  121100. </reg>
  121101. <reg name="wcn2sys_offset" protect="rw">
  121102. <bits access="rw" name="reg_wcn2sys_offset_addr" pos="31:0" rst="0">
  121103. </bits>
  121104. </reg>
  121105. <reg name="audio_out_cfg" protect="rw">
  121106. <bits access="rw" name="reg_i2s_sel" pos="0" rst="0">
  121107. <comment>i2s_sel when 1, select the i2s output, else select the pcm.</comment>
  121108. </bits>
  121109. </reg>
  121110. <reg name="pulp_tag_mem_cfg" protect="rw">
  121111. <bits access="rw" name="tag_mem_cfg_shrink" pos="11:0" rst="162">
  121112. <comment>LS+RME+RM(4Bits) + RET1N + EMAW(2Bits) + EMA(3Bits)</comment>
  121113. </bits>
  121114. </reg>
  121115. <reg name="pulp_data_mem_cfg" protect="rw">
  121116. <bits access="rw" name="data_mem_cfg_shrink" pos="11:0" rst="162">
  121117. <comment>LS+RME+RM(4Bits) + RET1N + EMAW(2Bits) + EMA(3Bits)</comment>
  121118. </bits>
  121119. </reg>
  121120. <reg name="wcn_rom_mem_cfg" protect="rw">
  121121. <bits access="rw" name="rom_mem_cfg_shrink" pos="10:0" rst="74">
  121122. <comment>LS+RME+RM(4Bits) + PGEN +KEN +EMA(3Bits)</comment>
  121123. </bits>
  121124. </reg>
  121125. <reg name="wcn_dram_mem_cfg" protect="rw">
  121126. <bits access="rw" name="dram_mem_cfg_shrink" pos="11:0" rst="162">
  121127. <comment>LS+RME+RM(4Bits) + RET1N + EMAW(2Bits) + EMA(3Bits)</comment>
  121128. </bits>
  121129. </reg>
  121130. <reg name="wcn_bram_mem_cfg" protect="rw">
  121131. <bits access="rw" name="bram_mem_cfg_shrink" pos="11:0" rst="162">
  121132. <comment>LS+RME+RM(4Bits) + RET1N + EMAW(2Bits) + EMA(3Bits)</comment>
  121133. </bits>
  121134. </reg>
  121135. <reg name="bt_link_mem_cfg" protect="rw">
  121136. <bits access="rw" name="bt_link_mem_cfg_shrink" pos="11:0" rst="162">
  121137. <comment>LS+RME+RM(4Bits) + RET1N + EMAW(2Bits) + EMA(3Bits)</comment>
  121138. </bits>
  121139. </reg>
  121140. <reg name="bt_modem_mem_cfg" protect="rw">
  121141. <bits access="rw" name="bt_modem_mem_cfg_shrink" pos="11:0" rst="162">
  121142. <comment>LS+RME+RM(4Bits) + RET1N + EMAW(2Bits) + EMA(3Bits)</comment>
  121143. </bits>
  121144. </reg>
  121145. <reg name="wlan_mem_cfg" protect="rw">
  121146. <bits access="rw" name="wlan_mem_cfg_shrink" pos="16:0" rst="2090">
  121147. <comment>dual port: LS + RMEB + TEST1B + RMB(4Bits)+RMEA+TEST1A+RMA(4Bits)+RET1N+EMAA/EMB(3Bits)</comment>
  121148. </bits>
  121149. </reg>
  121150. <reg name="plc_mem_cfg" protect="rw">
  121151. <bits access="rw" name="plc_mem_cfg_shrink" pos="11:0" rst="162">
  121152. <comment>LS+RME+RM(4Bits) + RET1N + EMAW(2Bits) + EMA(3Bits)</comment>
  121153. </bits>
  121154. </reg>
  121155. <reg name="hclk_freq" protect="rw">
  121156. <bits access="rw" name="wcn_hclk_freq" pos="7:0" rst="48">
  121157. <comment>the unit is 1M, 48M in 8910m as default.</comment>
  121158. </bits>
  121159. </reg>
  121160. <reg name="branch_addr" protect="rw">
  121161. <bits access="rw" name="risc_branch_addr" pos="31:0" rst="570425344">
  121162. <comment>the address for riscv branch from rom, configured by ap</comment>
  121163. </bits>
  121164. </reg>
  121165. <reg name="revision_id" protect="r">
  121166. <bits access="r" name="wcn_id" pos="7:0" rst="0">
  121167. </bits>
  121168. </reg>
  121169. <hole size="32"/>
  121170. <reg name="simu_rsvd" protect="rw">
  121171. <bits access="rw" name="simu_rsvd_1" pos="15:8" rst="0">
  121172. <comment>CPU Interactive reg1</comment>
  121173. </bits>
  121174. <bits access="rw" name="simu_rsvd_0" pos="7:0" rst="0">
  121175. <comment>CPU Interactive reg0</comment>
  121176. </bits>
  121177. </reg>
  121178. </module>
  121179. </archive>
  121180. <archive relative="wcn_sys_ifc.xml">
  121181. <module category="wcn" name="WCN_SYS_IFC">
  121182. <reg name="get_ch" protect="">
  121183. <bits access="r" name="ch_to_use" pos="3:0" rst="0">
  121184. <comment>This field indicates which standard channel to use.
  121185. Before using a channel, the CPU read this register to know which channel must be used. After reading this registers, the channel is to be regarded as busy.
  121186. After reading this register, if the CPU doesn't want to use the specified channel, the CPU must write a disable_ in the control register of the channel to release the channel.
  121187. 4'h0::use_ch0: use Channel0
  121188. 4'h1::use_ch1: use Channel1
  121189. 4'h2::use_ch2: use Channel2
  121190. 4'h3::use_ch3: use Channel3
  121191. 4'h4::use_ch4: use Channel4
  121192. 4'h5::use_ch5: use Channel5
  121193. 4'h6::use_ch6: use Channel6
  121194. 4'h7::use_ch7: use Channel7
  121195. 4'hf::all_busy: all channels are busy</comment>
  121196. </bits>
  121197. </reg>
  121198. <reg name="dma_status" protect="r">
  121199. <bits access="r" name="ch_busy" pos="22:16" rst="0">
  121200. <comment>This register indicates which standard channel is busy (this field doesn't include the RF_SPI channel). A standard channel is mark as busy, when a channel is eNonebled or a previous reading of the GET_CH register, the field CH_TO_USE indicates this channel. One bit per channel</comment>
  121201. </bits>
  121202. <bits access="r" name="ch_enable" pos="7:0" rst="0">
  121203. <comment>This register indicates which channel is eNonebled. It is a copy of the enable bit of the control register of each channel. One bit per channel, for example::
  121204. 8'h00::all_ch_disabled: all channel disabled
  121205. 8'h01::ch0_enabled: Ch0 enabled
  121206. 8'h02::ch1_enabled: Ch1 enabled
  121207. 8'h04::ch2_enabled: Ch2 enabled
  121208. 8'h05::ch_0_2_enabled: Ch0 and Ch2 enabled
  121209. 8'h07::ch_0_1_2_enabled: Ch0, Ch1 and Ch2 enabled
  121210. 8'hff::ch_all_enabled: all channels eNonebled</comment>
  121211. </bits>
  121212. </reg>
  121213. <reg name="debug_status" protect="r">
  121214. <bits access="r" name="dbg_status" pos="0" rst="1">
  121215. <comment>Debug Channel Status .
  121216. 0:: dbg_ch_run: The debug channel is running (not idle)
  121217. 1::dbg_ch_idle: The debug channel is in idle mode</comment>
  121218. </bits>
  121219. </reg>
  121220. <hole size="32"/>
  121221. <reg name="std_ch_0__std_ch_ctrl" protect="rw">
  121222. <bits access="rw" name="flush" pos="16" rst="0">
  121223. <comment>When one, flush the interNonel FIFO channel.
  121224. This bit must be used only in case of Rx transfer. Until this bit is 1, the APB request is masked. The flush doesn't release the channel.
  121225. Before writting back this bit to zero the interNonel fifo must empty.</comment>
  121226. </bits>
  121227. <bits access="rw" name="req_src" pos="10:8" rst="7">
  121228. <comment>Select DMA Request source
  121229. 0:: SYS_ID_TX_UART
  121230. 1:: SYS_ID_RX_UART
  121231. 2:: SYS_ID_TX_SDMMC
  121232. 3:: SYS_ID_RX_SDMMC
  121233. 4:: SYS_ID_TX_SPI1
  121234. 5:: SYS_ID_RX_SPI1
  121235. 6:: SYS_ID_TX_DEBUG_UART
  121236. 7:: SYS_ID_RX_DEBUG_UART</comment>
  121237. </bits>
  121238. <bits access="rw" name="size" pos="5" rst="0">
  121239. <comment>Peripheral Size
  121240. 0::per_size_8: 8-bit peripheral
  121241. 1::per_size_32: 32-bit peripheral</comment>
  121242. </bits>
  121243. <bits access="rw" name="autodisable" pos="4" rst="1">
  121244. <comment>Set Auto-disable_ mode
  121245. 0::auto_disable_close: when TC reach zero the channel is not automatically released.
  121246. 1::auto_disable_open: At the end of the transfer when TC reach zero the channel is automatically disable_d. the current channel is released.</comment>
  121247. </bits>
  121248. <bits access="rw" name="ch_wr_hw_exch" pos="3" rst="0">
  121249. <comment>Set Auto-disable_ mode
  121250. 0:: auto_dis_mode0: when TC reach zero the channel is not automatically released.
  121251. 1:: auto_dis_mode1: At the end of the transfer when TC reach zero the channel is automatically disable_d. the current channel is released.</comment>
  121252. </bits>
  121253. <bits access="rw" name="ch_rd_hw_exch" pos="2" rst="0">
  121254. <comment>Read FIFO data exchange high 8-bit and low 8-bit.
  121255. 0:: Exchange
  121256. 1:: No_exchange</comment>
  121257. </bits>
  121258. <bits access="rc" name="disable" pos="1" rst="0">
  121259. <comment>bit type is changed from wrc to rc.
  121260. Channel Disable, write one in this bit disable_ the channel.
  121261. When writing one in this bit, the current AHB transfer and current APB transfer (if one in progress) is completed and the channel is then disable_d.</comment>
  121262. </bits>
  121263. <bits access="rc" name="enable" pos="0" rst="0">
  121264. <comment>bit type is changed from wrc to rc.
  121265. Channel Enable, write one in this bit eNoneble the channel.
  121266. When the channel is eNonebled, for a peripheral to memory transfer the DMA wait request from peripheral to start transfer.</comment>
  121267. </bits>
  121268. </reg>
  121269. <reg name="std_ch_0__std_ch_status" protect="r">
  121270. <bits access="r" name="fifo_empty" pos="4" rst="1">
  121271. <comment>The internal channel fifo is empty</comment>
  121272. </bits>
  121273. <bits access="r" name="enable" pos="0" rst="0">
  121274. <comment>Enable bit, when '1' the channel is running</comment>
  121275. </bits>
  121276. </reg>
  121277. <reg name="std_ch_0__std_ch_start_addr" protect="rw">
  121278. <bits access="rw" name="start_addr" pos="31:0" rst="4294967295">
  121279. <comment>AHB Address. This field represent the start address of the transfer.
  121280. For a 32-bit peripheral, this address must be aligned 32-bit.</comment>
  121281. </bits>
  121282. </reg>
  121283. <reg name="std_ch_0__std_ch_tc" protect="rw">
  121284. <bits access="rw" name="tc" pos="22:0" rst="8388607">
  121285. <comment>Transfer Count, this field indicated the transfer size_ in bytes to perform.
  121286. During a transfer a write in this register add the new value to the current TC.
  121287. A read of this register return the current current transfer count.</comment>
  121288. </bits>
  121289. </reg>
  121290. <reg name="std_ch_1__std_ch_ctrl" protect="rw">
  121291. <bits access="rw" name="flush" pos="16" rst="0">
  121292. <comment>When one, flush the interNonel FIFO channel.
  121293. This bit must be used only in case of Rx transfer. Until this bit is 1, the APB request is masked. The flush doesn't release the channel.
  121294. Before writting back this bit to zero the interNonel fifo must empty.</comment>
  121295. </bits>
  121296. <bits access="rw" name="req_src" pos="10:8" rst="7">
  121297. <comment>Select DMA Request source
  121298. 0:: SYS_ID_TX_UART
  121299. 1:: SYS_ID_RX_UART
  121300. 2:: SYS_ID_TX_SDMMC
  121301. 3:: SYS_ID_RX_SDMMC
  121302. 4:: SYS_ID_TX_SPI1
  121303. 5:: SYS_ID_RX_SPI1
  121304. 6:: SYS_ID_TX_DEBUG_UART
  121305. 7:: SYS_ID_RX_DEBUG_UART</comment>
  121306. </bits>
  121307. <bits access="rw" name="size" pos="5" rst="0">
  121308. <comment>Peripheral Size
  121309. 0::per_size_8: 8-bit peripheral
  121310. 1::per_size_32: 32-bit peripheral</comment>
  121311. </bits>
  121312. <bits access="rw" name="autodisable" pos="4" rst="1">
  121313. <comment>Set Auto-disable_ mode
  121314. 0::auto_disable_close: when TC reach zero the channel is not automatically released.
  121315. 1::auto_disable_open: At the end of the transfer when TC reach zero the channel is automatically disable_d. the current channel is released.</comment>
  121316. </bits>
  121317. <bits access="rw" name="ch_wr_hw_exch" pos="3" rst="0">
  121318. <comment>Set Auto-disable_ mode
  121319. 0:: auto_dis_mode0: when TC reach zero the channel is not automatically released.
  121320. 1:: auto_dis_mode1: At the end of the transfer when TC reach zero the channel is automatically disable_d. the current channel is released.</comment>
  121321. </bits>
  121322. <bits access="rw" name="ch_rd_hw_exch" pos="2" rst="0">
  121323. <comment>Read FIFO data exchange high 8-bit and low 8-bit.
  121324. 0:: Exchange
  121325. 1:: No_exchange</comment>
  121326. </bits>
  121327. <bits access="rc" name="disable" pos="1" rst="0">
  121328. <comment>bit type is changed from wrc to rc.
  121329. Channel Disable, write one in this bit disable_ the channel.
  121330. When writing one in this bit, the current AHB transfer and current APB transfer (if one in progress) is completed and the channel is then disable_d.</comment>
  121331. </bits>
  121332. <bits access="rc" name="enable" pos="0" rst="0">
  121333. <comment>bit type is changed from wrc to rc.
  121334. Channel Enable, write one in this bit eNoneble the channel.
  121335. When the channel is eNonebled, for a peripheral to memory transfer the DMA wait request from peripheral to start transfer.</comment>
  121336. </bits>
  121337. </reg>
  121338. <reg name="std_ch_1__std_ch_status" protect="r">
  121339. <bits access="r" name="fifo_empty" pos="4" rst="1">
  121340. <comment>The internal channel fifo is empty</comment>
  121341. </bits>
  121342. <bits access="r" name="enable" pos="0" rst="0">
  121343. <comment>Enable bit, when '1' the channel is running</comment>
  121344. </bits>
  121345. </reg>
  121346. <reg name="std_ch_1__std_ch_start_addr" protect="rw">
  121347. <bits access="rw" name="start_addr" pos="31:0" rst="4294967295">
  121348. <comment>AHB Address. This field represent the start address of the transfer.
  121349. For a 32-bit peripheral, this address must be aligned 32-bit.</comment>
  121350. </bits>
  121351. </reg>
  121352. <reg name="std_ch_1__std_ch_tc" protect="rw">
  121353. <bits access="rw" name="tc" pos="22:0" rst="8388607">
  121354. <comment>Transfer Count, this field indicated the transfer size_ in bytes to perform.
  121355. During a transfer a write in this register add the new value to the current TC.
  121356. A read of this register return the current current transfer count.</comment>
  121357. </bits>
  121358. </reg>
  121359. </module>
  121360. </archive>
  121361. <archive relative="wcn_systick.xml">
  121362. <module category="wcn" name="WCN_SYSTICK">
  121363. <reg name="csr" protect="rw">
  121364. <bits access="r" name="countflag" pos="16" rst="0">
  121365. <comment>indicates the counter decreasing to 0.</comment>
  121366. </bits>
  121367. <bits access="rw" name="clksrc" pos="2" rst="1">
  121368. <comment>indicates clock source, 0 is reference clock, 1 is mcu clk.</comment>
  121369. </bits>
  121370. <bits access="rw" name="tickint" pos="1" rst="0">
  121371. <comment>interrupte enable</comment>
  121372. </bits>
  121373. <bits access="rw" name="enable" pos="0" rst="0">
  121374. <comment>systick counter enable</comment>
  121375. </bits>
  121376. </reg>
  121377. <reg name="rvr" protect="rw">
  121378. <bits access="rw" name="val" pos="23:0" rst="0">
  121379. <comment>the value to load into cvr when counter decreases to 0.</comment>
  121380. </bits>
  121381. </reg>
  121382. <reg name="cvr" protect="rw">
  121383. <bits access="rw" name="val" pos="23:0" rst="0">
  121384. <comment>the current cvr value.</comment>
  121385. </bits>
  121386. </reg>
  121387. <reg name="calib" protect="rw">
  121388. <bits access="rw" name="noref" pos="31" rst="0">
  121389. <comment>indicates whether ref clk is implemented. 0 means implemented.</comment>
  121390. </bits>
  121391. <bits access="rw" name="skew" pos="30" rst="0">
  121392. <comment>indicates whether 10ms calibration value is exact.</comment>
  121393. </bits>
  121394. <bits access="rw" name="tenms" pos="23:0" rst="0">
  121395. <comment>calibration value of the reload value to be used for 10ms timing</comment>
  121396. </bits>
  121397. </reg>
  121398. <reg name="clr" protect="rw">
  121399. <bits access="w" name="en" pos="0" rst="0">
  121400. <comment>clear the interrupte.</comment>
  121401. </bits>
  121402. </reg>
  121403. </module>
  121404. </archive>
  121405. <archive relative="wcn_trap.xml">
  121406. <module category="wcn" name="WCN_TRAP">
  121407. <reg name="addr_in_0" protect="rw">
  121408. <bits access="rw" name="addr_in" pos="17:0" rst="0">
  121409. <comment>address to be trapped. Range 0x00000000~0x0003fffc</comment>
  121410. </bits>
  121411. </reg>
  121412. <reg name="addr_in_1" protect="rw">
  121413. <bits access="rw" name="addr_in" pos="17:0" rst="0">
  121414. <comment>address to be trapped. Range 0x00000000~0x0003fffc</comment>
  121415. </bits>
  121416. </reg>
  121417. <reg name="addr_in_2" protect="rw">
  121418. <bits access="rw" name="addr_in" pos="17:0" rst="0">
  121419. <comment>address to be trapped. Range 0x00000000~0x0003fffc</comment>
  121420. </bits>
  121421. </reg>
  121422. <reg name="addr_in_3" protect="rw">
  121423. <bits access="rw" name="addr_in" pos="17:0" rst="0">
  121424. <comment>address to be trapped. Range 0x00000000~0x0003fffc</comment>
  121425. </bits>
  121426. </reg>
  121427. <reg name="addr_in_4" protect="rw">
  121428. <bits access="rw" name="addr_in" pos="17:0" rst="0">
  121429. <comment>address to be trapped. Range 0x00000000~0x0003fffc</comment>
  121430. </bits>
  121431. </reg>
  121432. <reg name="addr_in_5" protect="rw">
  121433. <bits access="rw" name="addr_in" pos="17:0" rst="0">
  121434. <comment>address to be trapped. Range 0x00000000~0x0003fffc</comment>
  121435. </bits>
  121436. </reg>
  121437. <reg name="addr_in_6" protect="rw">
  121438. <bits access="rw" name="addr_in" pos="17:0" rst="0">
  121439. <comment>address to be trapped. Range 0x00000000~0x0003fffc</comment>
  121440. </bits>
  121441. </reg>
  121442. <reg name="addr_in_7" protect="rw">
  121443. <bits access="rw" name="addr_in" pos="17:0" rst="0">
  121444. <comment>address to be trapped. Range 0x00000000~0x0003fffc</comment>
  121445. </bits>
  121446. </reg>
  121447. <reg name="addr_in_8" protect="rw">
  121448. <bits access="rw" name="addr_in" pos="17:0" rst="0">
  121449. <comment>address to be trapped. Range 0x00000000~0x0003fffc</comment>
  121450. </bits>
  121451. </reg>
  121452. <reg name="addr_in_9" protect="rw">
  121453. <bits access="rw" name="addr_in" pos="17:0" rst="0">
  121454. <comment>address to be trapped. Range 0x00000000~0x0003fffc</comment>
  121455. </bits>
  121456. </reg>
  121457. <reg name="addr_in_10" protect="rw">
  121458. <bits access="rw" name="addr_in" pos="17:0" rst="0">
  121459. <comment>address to be trapped. Range 0x00000000~0x0003fffc</comment>
  121460. </bits>
  121461. </reg>
  121462. <reg name="addr_in_11" protect="rw">
  121463. <bits access="rw" name="addr_in" pos="17:0" rst="0">
  121464. <comment>address to be trapped. Range 0x00000000~0x0003fffc</comment>
  121465. </bits>
  121466. </reg>
  121467. <reg name="addr_in_12" protect="rw">
  121468. <bits access="rw" name="addr_in" pos="17:0" rst="0">
  121469. <comment>address to be trapped. Range 0x00000000~0x0003fffc</comment>
  121470. </bits>
  121471. </reg>
  121472. <reg name="addr_in_13" protect="rw">
  121473. <bits access="rw" name="addr_in" pos="17:0" rst="0">
  121474. <comment>address to be trapped. Range 0x00000000~0x0003fffc</comment>
  121475. </bits>
  121476. </reg>
  121477. <reg name="addr_in_14" protect="rw">
  121478. <bits access="rw" name="addr_in" pos="17:0" rst="0">
  121479. <comment>address to be trapped. Range 0x00000000~0x0003fffc</comment>
  121480. </bits>
  121481. </reg>
  121482. <reg name="addr_in_15" protect="rw">
  121483. <bits access="rw" name="addr_in" pos="17:0" rst="0">
  121484. <comment>address to be trapped. Range 0x00000000~0x0003fffc</comment>
  121485. </bits>
  121486. </reg>
  121487. <reg name="addr_in_16" protect="rw">
  121488. <bits access="rw" name="addr_in" pos="17:0" rst="0">
  121489. <comment>address to be trapped. Range 0x00000000~0x0003fffc</comment>
  121490. </bits>
  121491. </reg>
  121492. <reg name="addr_in_17" protect="rw">
  121493. <bits access="rw" name="addr_in" pos="17:0" rst="0">
  121494. <comment>address to be trapped. Range 0x00000000~0x0003fffc</comment>
  121495. </bits>
  121496. </reg>
  121497. <reg name="addr_in_18" protect="rw">
  121498. <bits access="rw" name="addr_in" pos="17:0" rst="0">
  121499. <comment>address to be trapped. Range 0x00000000~0x0003fffc</comment>
  121500. </bits>
  121501. </reg>
  121502. <reg name="addr_in_19" protect="rw">
  121503. <bits access="rw" name="addr_in" pos="17:0" rst="0">
  121504. <comment>address to be trapped. Range 0x00000000~0x0003fffc</comment>
  121505. </bits>
  121506. </reg>
  121507. <reg name="addr_in_20" protect="rw">
  121508. <bits access="rw" name="addr_in" pos="17:0" rst="0">
  121509. <comment>address to be trapped. Range 0x00000000~0x0003fffc</comment>
  121510. </bits>
  121511. </reg>
  121512. <reg name="addr_in_21" protect="rw">
  121513. <bits access="rw" name="addr_in" pos="17:0" rst="0">
  121514. <comment>address to be trapped. Range 0x00000000~0x0003fffc</comment>
  121515. </bits>
  121516. </reg>
  121517. <reg name="addr_in_22" protect="rw">
  121518. <bits access="rw" name="addr_in" pos="17:0" rst="0">
  121519. <comment>address to be trapped. Range 0x00000000~0x0003fffc</comment>
  121520. </bits>
  121521. </reg>
  121522. <reg name="addr_in_23" protect="rw">
  121523. <bits access="rw" name="addr_in" pos="17:0" rst="0">
  121524. <comment>address to be trapped. Range 0x00000000~0x0003fffc</comment>
  121525. </bits>
  121526. </reg>
  121527. <reg name="addr_in_24" protect="rw">
  121528. <bits access="rw" name="addr_in" pos="17:0" rst="0">
  121529. <comment>address to be trapped. Range 0x00000000~0x0003fffc</comment>
  121530. </bits>
  121531. </reg>
  121532. <reg name="addr_in_25" protect="rw">
  121533. <bits access="rw" name="addr_in" pos="17:0" rst="0">
  121534. <comment>address to be trapped. Range 0x00000000~0x0003fffc</comment>
  121535. </bits>
  121536. </reg>
  121537. <reg name="addr_in_26" protect="rw">
  121538. <bits access="rw" name="addr_in" pos="17:0" rst="0">
  121539. <comment>address to be trapped. Range 0x00000000~0x0003fffc</comment>
  121540. </bits>
  121541. </reg>
  121542. <reg name="addr_in_27" protect="rw">
  121543. <bits access="rw" name="addr_in" pos="17:0" rst="0">
  121544. <comment>address to be trapped. Range 0x00000000~0x0003fffc</comment>
  121545. </bits>
  121546. </reg>
  121547. <reg name="addr_in_28" protect="rw">
  121548. <bits access="rw" name="addr_in" pos="17:0" rst="0">
  121549. <comment>address to be trapped. Range 0x00000000~0x0003fffc</comment>
  121550. </bits>
  121551. </reg>
  121552. <reg name="addr_in_29" protect="rw">
  121553. <bits access="rw" name="addr_in" pos="17:0" rst="0">
  121554. <comment>address to be trapped. Range 0x00000000~0x0003fffc</comment>
  121555. </bits>
  121556. </reg>
  121557. <reg name="addr_in_30" protect="rw">
  121558. <bits access="rw" name="addr_in" pos="17:0" rst="0">
  121559. <comment>address to be trapped. Range 0x00000000~0x0003fffc</comment>
  121560. </bits>
  121561. </reg>
  121562. <reg name="addr_in_31" protect="rw">
  121563. <bits access="rw" name="addr_in" pos="17:0" rst="0">
  121564. <comment>address to be trapped. Range 0x00000000~0x0003fffc</comment>
  121565. </bits>
  121566. </reg>
  121567. <reg name="trap_en" protect="rw">
  121568. <bits access="rw" name="en" pos="31:0" rst="0">
  121569. <comment>trap enable for 32 channels</comment>
  121570. </bits>
  121571. </reg>
  121572. <reg name="addr_out" protect="rw">
  121573. <bits access="rw" name="addr_out_base" pos="31:0" rst="0">
  121574. <comment>base address to trapped to. Should be 32 words aligned (such as 0x00053e80 or 0x0004ff00).For the nth patch, the actual address is trap_out_base+4n</comment>
  121575. </bits>
  121576. </reg>
  121577. </module>
  121578. </archive>
  121579. <archive relative="wcn_uart.xml">
  121580. <module category="wcn" name="WCN_UART">
  121581. <reg name="ctrl" protect="rw">
  121582. <bits access="rw" name="rx_break_length" pos="31:28" rst="15">
  121583. <comment>Length of a break, in number of bits.</comment>
  121584. </bits>
  121585. <bits access="rw" name="rx_lock_err" pos="25" rst="0">
  121586. <comment>Allow to stop the data receiving when an error is detected (framing, parity or break). The data in the fifo are kept.</comment>
  121587. </bits>
  121588. <bits access="rw" name="loop_back_mode" pos="24" rst="0">
  121589. <comment>When set, data on the Uart_Tx line is held high, while the serial output is looped back to the serial input line, internally. In this mode all the interrupts are fully functional. This feature is used for diagnostic purposes. Also, in loop back mode, the modem control input Uart_CTS is disconnected and the modem control output Uart_RTS are looped back to the inputs, internally. In IrDA mode, Uart_Tx signal is inverted (see IrDA SIR Mode Support).</comment>
  121590. </bits>
  121591. <bits access="rw" name="auto_flow_control" pos="23" rst="0">
  121592. <comment>Enables the auto flow control. Uart_RTS is controlled by the Rx RTS bit and the UART Auto Control Flow System. If Uart_CTS become inactive high, the Tx data flow is stopped.
  121593. 1::ENABLE
  121594. 0:: DISABLE</comment>
  121595. </bits>
  121596. <bits access="rw" name="dma_mode" pos="22" rst="0">
  121597. <comment>Enables the DMA signaling for the Uart_Dma_Tx_Req_H and Uart_Dma_Rx_Req_H to the IFC.
  121598. 0:: DISABLE
  121599. 1::ENABLE</comment>
  121600. </bits>
  121601. <bits access="rw" name="irda_enable" pos="21" rst="0">
  121602. <comment>When set, the UART is in IrDA mode and the baud rate divisor used is 16 (see UART Operation for details).</comment>
  121603. </bits>
  121604. <bits access="rw" name="divisor_mode" pos="20" rst="0">
  121605. <comment>Selects the divisor value used to generate the baud rate frequency (BCLK) from the SCLK (see UART Operation for details). If IrDA is enable, this bit is ignored and the divisor used will be 16.
  121606. 0 = (BCLK = SCLK / 4)
  121607. 1 = (BCLK = SCLK / 16)
  121608. 0:div_4
  121609. 1:div_16</comment>
  121610. </bits>
  121611. <bits access="rw" name="parity_select" pos="5:4" rst="0">
  121612. <comment>Controls the parity format when parity is enabled:
  121613. 0::odd: an odd number of received 1 bits is checked, or transmitted (the parity bit is included).
  121614. 1::even: an even number of received 1 bits is checked or transmitted (the parity bit is included).
  121615. 2::space: space a space is generated and received as parity bit.
  121616. 3::mark: a mark is generated and received as parity bit.</comment>
  121617. </bits>
  121618. <bits access="rw" name="parity_enable" pos="3" rst="0">
  121619. <comment>Parity is enabled when this bit is set.
  121620. 0::NO
  121621. 1:: YES</comment>
  121622. </bits>
  121623. <bits access="rw" name="tx_stop_bits" pos="2" rst="0">
  121624. <comment>Stop bits controls the number of stop bits transmitted. Can receive with one stop bit (more inaccuracy can be compensated with two stop bits when divisor mode is set to 0).
  121625. 0::1_bit :one stop bit is transmitted in the serial data.
  121626. 1:: 2_bits:two stop bits are generated and transmitted in the serial data out.</comment>
  121627. </bits>
  121628. <bits access="rw" name="data_bits" pos="1" rst="0">
  121629. <comment>Number of data bits per character (least significant bit first):
  121630. 0::7_bits
  121631. 1::8_bits</comment>
  121632. </bits>
  121633. <bits access="rw" name="enable" pos="0" rst="0">
  121634. <comment>Allows to turn off the UART:
  121635. 0:: Disable
  121636. 1::Enable</comment>
  121637. </bits>
  121638. </reg>
  121639. <reg name="status" protect="r">
  121640. <bits access="r" name="clk_enabled" pos="31" rst="0">
  121641. <comment>This bit is set when Uart Clk has been enabled and received by UART after Need Uart Clock becomes active. It serves to avoid enabling RTS too early.</comment>
  121642. </bits>
  121643. <bits access="r" name="dtr" pos="28" rst="0">
  121644. <comment>Current value of the DTR line.</comment>
  121645. </bits>
  121646. <bits access="r" name="cts" pos="25" rst="1">
  121647. <comment>current value of the Uart_CTS line.
  121648. 1::Tx_allow_n:Tx not allowed.
  121649. 0::Tx_alllow:Tx allowed.</comment>
  121650. </bits>
  121651. <bits access="r" name="dcts" pos="24" rst="0">
  121652. <comment>This bit is set when the Uart_CTS line changed since the last time this register has been written. This bit is cleared when the UART_STATUS register is written with any value.</comment>
  121653. </bits>
  121654. <bits access="r" name="rx_break_int" pos="20" rst="0">
  121655. <comment>This bit is set whenever the serial input is held in a logic 0 state for longer than the length of x bits, where x is the value programmed Rx Break Length. A null word will be written in the Rx Fifo. This bit is cleared when the UART_STATUS register is written with any value.</comment>
  121656. </bits>
  121657. <bits access="r" name="rx_framing_err" pos="19" rst="0">
  121658. <comment>This bit is set whenever there is a framing error occured. A framing error occurs when the receiver does not detect a valid STOP bit in the received data. This bit is cleared when the UART_STATUS register is written with any value.</comment>
  121659. </bits>
  121660. <bits access="r" name="rx_parity_err" pos="18" rst="0">
  121661. <comment>This bit is set if the parity is enabled and a parity error occurred in the received data. This bit is cleared when the UART_STATUS register is written with any value.</comment>
  121662. </bits>
  121663. <bits access="r" name="tx_overflow_err" pos="17" rst="0">
  121664. <comment>This bit indicates that the user tried to write a character when fifo was already full. The written data will not be kept. This bit is cleared when the UART_STATUS register is written with any value.</comment>
  121665. </bits>
  121666. <bits access="r" name="rx_overflow_err" pos="16" rst="0">
  121667. <comment>This bit indicates that the receiver received a new character when the fifo was already full. The new character is discarded. This bit is cleared when the UART_STATUS register is written with any value.</comment>
  121668. </bits>
  121669. <bits access="r" name="rx_active" pos="15" rst="0">
  121670. <comment>This bit indicates that the UART is receiving a byte.</comment>
  121671. </bits>
  121672. <bits access="r" name="tx_active" pos="14" rst="0">
  121673. <comment>This bit indicates that the UART is sending data. If no data is in the fifo, the UART is currently sending the last one through the serial interface.</comment>
  121674. </bits>
  121675. <bits access="r" name="tx_fifo_space" pos="12:8" rst="0">
  121676. <comment>Those bits indicate the number of space available in the Tx Fifo.</comment>
  121677. </bits>
  121678. <bits access="r" name="rx_fifo_level" pos="6:0" rst="0">
  121679. <comment>Those bits indicate the number of data available in the Rx Fifo. Those data can be read.</comment>
  121680. </bits>
  121681. </reg>
  121682. <reg name="rxtx_buffer" protect="rw">
  121683. <bits access="rw" name="data" pos="7:0" rst="0">
  121684. <comment>The UART_TRANSMIT_HOLDING register is a write-only register that contains data to be transmitted on the serial output port. 16 characters of data may be written to the UART_TRANSMIT_HOLDING register before the FIFO is full. Any attempt to write data when the FIFO is full results in the write data being lost.</comment>
  121685. </bits>
  121686. </reg>
  121687. <reg name="irq_mask" protect="rw">
  121688. <bits access="rw" name="dtr_fall" pos="9" rst="0">
  121689. <comment>Falling edge detected on the UART_DTR signal.</comment>
  121690. </bits>
  121691. <bits access="rw" name="dtr_rise" pos="8" rst="0">
  121692. <comment>Rising edge detected on the UART_DTR signal.</comment>
  121693. </bits>
  121694. <bits access="rw" name="rx_dma_timeout" pos="7" rst="0">
  121695. <comment>In DMA mode, there is at least 1 character that has been read in or out the Rx Fifo. Then before received Rx DMA Done, No characters in or out of the Rx Fifo during the last 4 character times.</comment>
  121696. </bits>
  121697. <bits access="rw" name="rx_dma_done" pos="6" rst="0">
  121698. <comment>Pulse detected on Uart_Dma_Rx_Done_H signal</comment>
  121699. </bits>
  121700. <bits access="rw" name="tx_dma_done" pos="5" rst="0">
  121701. <comment>Pulse detected on Uart_Dma_Tx_Done_H signal.</comment>
  121702. </bits>
  121703. <bits access="rw" name="rx_line_err" pos="4" rst="0">
  121704. <comment>Tx Overflow, Rx Overflow, Parity Error, Framing Error or Break Interrupt.</comment>
  121705. </bits>
  121706. <bits access="rw" name="rx_timeout" pos="3" rst="0">
  121707. <comment>No characters in or out of the Rx Fifo during the last 4 character times and there is at least 1 character in it during this time.</comment>
  121708. </bits>
  121709. <bits access="rw" name="tx_data_needed" pos="2" rst="0">
  121710. <comment>Tx Fifo at or below threshold level (current level &lt;= Tx Fifo trigger level).</comment>
  121711. </bits>
  121712. <bits access="rw" name="rx_data_available" pos="1" rst="0">
  121713. <comment>Rx Fifo at or upper threshold level (current level &gt;= Rx Fifo trigger level).</comment>
  121714. </bits>
  121715. <bits access="rw" name="tx_modem_status" pos="0" rst="0">
  121716. <comment>Clear to send signal change detected.</comment>
  121717. </bits>
  121718. </reg>
  121719. <reg name="irq_cause" protect="r">
  121720. <bits access="r" name="dtr_fall_u" pos="25" rst="0">
  121721. <comment>Same as previous, not masked.</comment>
  121722. </bits>
  121723. <bits access="r" name="dtr_rise_u" pos="24" rst="0">
  121724. <comment>Same as previous, not masked.</comment>
  121725. </bits>
  121726. <bits access="r" name="rx_dma_timeout_u" pos="23" rst="0">
  121727. <comment>Same as previous, not masked.</comment>
  121728. </bits>
  121729. <bits access="r" name="rx_dma_done_u" pos="22" rst="0">
  121730. <comment>Same as previous, not masked.</comment>
  121731. </bits>
  121732. <bits access="r" name="tx_dma_done_u" pos="21" rst="0">
  121733. <comment>Same as previous, not masked.</comment>
  121734. </bits>
  121735. <bits access="r" name="rx_line_err_u" pos="20" rst="0">
  121736. <comment>Same as previous, not masked.</comment>
  121737. </bits>
  121738. <bits access="r" name="rx_timeout_u" pos="19" rst="0">
  121739. <comment>Same as previous, not masked.</comment>
  121740. </bits>
  121741. <bits access="r" name="tx_data_needed_u" pos="18" rst="0">
  121742. <comment>Same as previous, not masked.</comment>
  121743. </bits>
  121744. <bits access="r" name="rx_data_available_u" pos="17" rst="0">
  121745. <comment>Same as previous, not masked.</comment>
  121746. </bits>
  121747. <bits access="r" name="tx_modem_status_u" pos="16" rst="0">
  121748. <comment>Same as previous, not masked.</comment>
  121749. </bits>
  121750. <bits access="r" name="dtr_fall" pos="9" rst="0">
  121751. <comment>This interrupt is generated when a falling edge is detected on the UART_DTR signal. Reset control: Write one in this register.</comment>
  121752. </bits>
  121753. <bits access="r" name="dtr_rise" pos="8" rst="0">
  121754. <comment>This interrupt is generated when a rising edge is detected on the UART_DTR signal. Reset control: Write one in this register.</comment>
  121755. </bits>
  121756. <bits access="r" name="rx_dma_timeout" pos="7" rst="0">
  121757. <comment>In DMA mode, there is at least 1 character that has been read in or out the Rx Fifo. Then before received Rx DMA Done, No characters in or out of the Rx Fifo during the last 4 character times.</comment>
  121758. </bits>
  121759. <bits access="r" name="rx_dma_done" pos="6" rst="0">
  121760. <comment>This interrupt is generated when a pulse is detected on the Uart_Dma_Rx_Done_H signal. Reset control: Write one in this register.</comment>
  121761. </bits>
  121762. <bits access="r" name="tx_dma_done" pos="5" rst="0">
  121763. <comment>This interrupt is generated when a pulse is detected on the Uart_Dma_Tx_Done_H signal. Reset control: Write one in this register.</comment>
  121764. </bits>
  121765. <bits access="r" name="rx_line_err" pos="4" rst="0">
  121766. <comment>Tx Overflow, Rx Overflow, Parity Error, Framing Error or Break Interrupt. Reset control: This bit is cleared when the UART_STATUS register is written with any value.</comment>
  121767. </bits>
  121768. <bits access="r" name="rx_timeout" pos="3" rst="0">
  121769. <comment>No characters in or out of the Rx Fifo during the last 4 character times and there is at least 1 character in it during this time. Reset control: Reading from the UART_RECEIVE_BUFFER register.</comment>
  121770. </bits>
  121771. <bits access="r" name="tx_data_needed" pos="2" rst="0">
  121772. <comment>Tx Fifo at or below threshold level (current level &lt;= Tx Fifo trigger level). Reset control: Writing into UART_TRANSMIT_HOLDING register above threshold level.</comment>
  121773. </bits>
  121774. <bits access="r" name="rx_data_available" pos="1" rst="0">
  121775. <comment>Rx Fifo at or upper threshold level (current level &gt;= Rx Fifo trigger level). Reset control: Reading the UART_RECEIVE_BUFFER until the Fifo drops below the trigger level.</comment>
  121776. </bits>
  121777. <bits access="r" name="tx_modem_status" pos="0" rst="0">
  121778. <comment>Clear to send signal detected. Reset control: This bit is cleared when the UART_STATUS register is written with any value.</comment>
  121779. </bits>
  121780. </reg>
  121781. <reg name="triggers" protect="rw">
  121782. <bits access="rw" name="afc_level" pos="21:16" rst="0">
  121783. <comment>Controls the Rx Fifo level at which the Uart_RTS Auto Flow Control will be set inactive high (see UART Operation for more details on AFC).
  121784. The Uart_RTS Auto Flow Control will be set inactive high when quantity of data in Rx Fifo &gt; AFC Level.</comment>
  121785. </bits>
  121786. <bits access="rw" name="tx_trigger" pos="11:8" rst="0">
  121787. <comment>Defines the empty threshold level at which the Data Needed Interrupt will be generated.
  121788. The Data Needed Interrupt is generated when quantity of data in Tx Fifo &lt;= Tx Trigger.</comment>
  121789. </bits>
  121790. <bits access="rw" name="rx_trigger" pos="5:0" rst="0">
  121791. <comment>Defines the empty threshold level at which the Data Available Interrupt will be generated.
  121792. The Data Available interrupt is generated when quantity of data in Rx Fifo &gt; Rx Trigger.</comment>
  121793. </bits>
  121794. </reg>
  121795. <reg name="cmd_set" protect="rw">
  121796. <bits access="w" name="tx_fifo_reset" pos="7" rst="0">
  121797. <comment>Writing a 1 to this bit resets and flushes the Transmit Fifo. This bit does not need to be cleared.</comment>
  121798. </bits>
  121799. <bits access="w" name="rx_fifo_reset" pos="6" rst="0">
  121800. <comment>Writing a 1 to this bit resets and flushes the Receive Fifo. This bit does not need to be cleared.</comment>
  121801. </bits>
  121802. <bits access="rs" name="rx_rts" pos="5" rst="0">
  121803. <comment>bit type is changed from w1s to rs.
  121804. this bit is set to 1 when writing 1, cleared to 0 when corresponding filed is cleared in UART_CMD_CLR</comment>
  121805. </bits>
  121806. <bits access="rs" name="tx_finish_n_wait" pos="4" rst="0">
  121807. <comment>bit type is changed from w1s to rs.
  121808. refer to bit [5]</comment>
  121809. </bits>
  121810. <bits access="rs" name="tx_break_control" pos="3" rst="0">
  121811. <comment>bit type is changed from w1s to rs.
  121812. refer to bit [5]</comment>
  121813. </bits>
  121814. <bits access="rs" name="dsr" pos="2" rst="0">
  121815. <comment>bit type is changed from w1s to rs.
  121816. refer to bit [5]</comment>
  121817. </bits>
  121818. <bits access="rs" name="dcd" pos="1" rst="0">
  121819. <comment>bit type is changed from w1s to rs.
  121820. refer to bit [5]</comment>
  121821. </bits>
  121822. <bits access="rs" name="ri" pos="0" rst="0">
  121823. <comment>bit type is changed from w1s to rs.
  121824. refer to bit [5]</comment>
  121825. </bits>
  121826. </reg>
  121827. <reg name="cmd_clr" protect="rw">
  121828. <bits access="rc" name="rx_cpu_rts" pos="5" rst="0">
  121829. <comment>bit type is changed from w1c to rc.
  121830. this bit is cleared to 0 when writing 1, set to 1 when corresponding filed is set in UART_CMD_SET</comment>
  121831. </bits>
  121832. <bits access="rc" name="tx_finish_n_wait" pos="4" rst="0">
  121833. <comment>bit type is changed from w1c to rc.
  121834. refer to bit [5]</comment>
  121835. </bits>
  121836. <bits access="rc" name="tx_break_control" pos="3" rst="0">
  121837. <comment>bit type is changed from w1c to rc.
  121838. refer to bit [5]</comment>
  121839. </bits>
  121840. <bits access="rc" name="dsr" pos="2" rst="0">
  121841. <comment>bit type is changed from w1c to rc.
  121842. refer to bit [5]</comment>
  121843. </bits>
  121844. <bits access="rc" name="dcr" pos="1" rst="0">
  121845. <comment>bit type is changed from w1c to rc.
  121846. refer to bit [5]</comment>
  121847. </bits>
  121848. <bits access="rc" name="ri" pos="0" rst="0">
  121849. <comment>bit type is changed from w1c to rc.
  121850. refer to bit [5]</comment>
  121851. </bits>
  121852. </reg>
  121853. <reg name="auto_baud" protect="rw">
  121854. <bits access="rw" name="verify_char1" pos="23:16" rst="84">
  121855. </bits>
  121856. <bits access="rw" name="verify_char0" pos="15:8" rst="65">
  121857. </bits>
  121858. <bits access="rw" name="verify_2byte" pos="2" rst="0">
  121859. </bits>
  121860. <bits access="rw" name="auto_tracking" pos="1" rst="0">
  121861. </bits>
  121862. <bits access="rw" name="auto_enable" pos="0" rst="0">
  121863. </bits>
  121864. </reg>
  121865. </module>
  121866. </archive>
  121867. <archive relative="wcn_wdt.xml">
  121868. <module category="wcn" name="WCN_WDT">
  121869. <reg name="wdt_cvr0" protect="rw">
  121870. <bits access="rw" name="count_vaule_0" pos="23:0" rst="16777215">
  121871. <comment>wdt_cvr0_count_value_0</comment>
  121872. </bits>
  121873. </reg>
  121874. <reg name="wdt_cvr1" protect="rw">
  121875. <bits access="rw" name="count_vaule_1" pos="23:0" rst="16777215">
  121876. <comment>wdt_cvr1_count_value_1</comment>
  121877. </bits>
  121878. </reg>
  121879. <reg name="wdt_cr" protect="rw">
  121880. <bits access="rw" name="cr_mode" pos="4" rst="0">
  121881. </bits>
  121882. <bits access="rw" name="cr_reset_length" pos="2:0" rst="0">
  121883. </bits>
  121884. </reg>
  121885. <reg name="wdt_cmd" protect="rw">
  121886. <bits access="rw" name="cmd_cmd" pos="7:0" rst="0">
  121887. </bits>
  121888. </reg>
  121889. <reg name="wdt_icr" protect="rw">
  121890. <bits access="rw" name="int_clr" pos="0" rst="0">
  121891. </bits>
  121892. </reg>
  121893. <reg name="wdt_sr" protect="r">
  121894. <bits access="r" name="wdt_active" pos="1" rst="0">
  121895. </bits>
  121896. <bits access="r" name="int_assert" pos="0" rst="0">
  121897. </bits>
  121898. </reg>
  121899. </module>
  121900. </archive>
  121901. <archive relative="wcn_wlan.xml">
  121902. <module category="wcn" name="WCN_WLAN">
  121903. <hole size="32"/>
  121904. <reg name="phy_reg_bank_addr" protect="rw">
  121905. <bits access="rw" name="phy_reg_bank_addr" pos="31:0" rst="0">
  121906. </bits>
  121907. </reg>
  121908. <reg name="phy_reg_offset_addr" protect="rw">
  121909. <bits access="rw" name="phy_reg_offset_addr" pos="31:0" rst="0">
  121910. </bits>
  121911. </reg>
  121912. <reg name="phy_reg_write_data" protect="rw">
  121913. <bits access="rw" name="phy_reg_write_data" pos="31:0" rst="0">
  121914. </bits>
  121915. </reg>
  121916. <reg name="phy_reg_read_data" protect="rw">
  121917. <bits access="rw" name="phy_reg_read_data" pos="31:0" rst="135">
  121918. </bits>
  121919. </reg>
  121920. <reg name="protocol_version" protect="r">
  121921. <bits access="r" name="protocol_version" pos="1:0" rst="0">
  121922. </bits>
  121923. </reg>
  121924. <reg name="type" protect="r">
  121925. <bits access="r" name="tp" pos="1:0" rst="0">
  121926. </bits>
  121927. </reg>
  121928. <reg name="sub_type" protect="r">
  121929. <bits access="r" name="sub_type" pos="3:0" rst="0">
  121930. </bits>
  121931. </reg>
  121932. <reg name="desaddr_l" protect="r">
  121933. <bits access="r" name="desaddr_l" pos="31:0" rst="0">
  121934. </bits>
  121935. </reg>
  121936. <reg name="desaddr_h" protect="r">
  121937. <bits access="r" name="desaddr_h" pos="15:0" rst="0">
  121938. </bits>
  121939. </reg>
  121940. <reg name="srcaddr_l" protect="r">
  121941. <bits access="r" name="srcaddr_l" pos="31:0" rst="0">
  121942. </bits>
  121943. </reg>
  121944. <reg name="srcaddr_h" protect="r">
  121945. <bits access="r" name="srcaddr_h" pos="15:0" rst="0">
  121946. </bits>
  121947. </reg>
  121948. <reg name="bssidaddr_l" protect="r">
  121949. <bits access="r" name="bssidaddr_l" pos="31:0" rst="0">
  121950. </bits>
  121951. </reg>
  121952. <reg name="bssidaddr_h" protect="r">
  121953. <bits access="r" name="bssidaddr_h" pos="15:0" rst="0">
  121954. </bits>
  121955. </reg>
  121956. <reg name="seqcontrol" protect="r">
  121957. <bits access="r" name="seqcontrol" pos="15:0" rst="0">
  121958. </bits>
  121959. </reg>
  121960. <reg name="rssival" protect="r">
  121961. <bits access="r" name="rssival" pos="7:0" rst="0">
  121962. </bits>
  121963. </reg>
  121964. <hole size="512"/>
  121965. <reg name="config_reg" protect="rw">
  121966. <bits access="rw" name="phyrx_en_b" pos="16" rst="1">
  121967. <comment>0: enalbe, 1: disable</comment>
  121968. </bits>
  121969. <bits access="rw" name="type_config_reg" pos="13:12" rst="0">
  121970. </bits>
  121971. <bits access="rw" name="subtype_config_reg" pos="11:8" rst="8">
  121972. </bits>
  121973. <bits access="rw" name="apb_hold" pos="1" rst="1">
  121974. </bits>
  121975. <bits access="rw" name="apb_clear" pos="0" rst="0">
  121976. </bits>
  121977. </reg>
  121978. <reg name="datardyint" protect="r">
  121979. <bits access="r" name="datardyint" pos="0" rst="0">
  121980. </bits>
  121981. </reg>
  121982. <reg name="phy_sel_set0" protect="rw">
  121983. <bits access="rw" name="phy_sel_3_reg" pos="29:24" rst="3">
  121984. </bits>
  121985. <bits access="rw" name="phy_sel_2_reg" pos="21:16" rst="2">
  121986. </bits>
  121987. <bits access="rw" name="phy_sel_1_reg" pos="13:8" rst="1">
  121988. </bits>
  121989. <bits access="rw" name="phy_sel_0_reg" pos="5:0" rst="0">
  121990. </bits>
  121991. </reg>
  121992. <reg name="phy_sel_set2" protect="rw">
  121993. <bits access="rw" name="phy_sel_7_reg" pos="29:24" rst="7">
  121994. </bits>
  121995. <bits access="rw" name="phy_sel_6_reg" pos="21:16" rst="6">
  121996. </bits>
  121997. <bits access="rw" name="phy_sel_5_reg" pos="13:8" rst="5">
  121998. </bits>
  121999. <bits access="rw" name="phy_sel_4_reg" pos="5:0" rst="4">
  122000. </bits>
  122001. </reg>
  122002. <reg name="phy_sel_set3" protect="rw">
  122003. <bits access="rw" name="phy_sel_11_reg" pos="29:24" rst="11">
  122004. </bits>
  122005. <bits access="rw" name="phy_sel_10_reg" pos="21:16" rst="10">
  122006. </bits>
  122007. <bits access="rw" name="phy_sel_9_reg" pos="13:8" rst="9">
  122008. </bits>
  122009. <bits access="rw" name="phy_sel_8_reg" pos="5:0" rst="8">
  122010. </bits>
  122011. </reg>
  122012. <reg name="phy_sel_set4" protect="rw">
  122013. <bits access="rw" name="phy_sel_15_reg" pos="29:24" rst="15">
  122014. </bits>
  122015. <bits access="rw" name="phy_sel_14_reg" pos="21:16" rst="14">
  122016. </bits>
  122017. <bits access="rw" name="phy_sel_13_reg" pos="13:8" rst="13">
  122018. </bits>
  122019. <bits access="rw" name="phy_sel_12_reg" pos="5:0" rst="12">
  122020. </bits>
  122021. </reg>
  122022. <reg name="phy_sel_set5" protect="rw">
  122023. <bits access="rw" name="phy_sel_19_reg" pos="29:24" rst="19">
  122024. </bits>
  122025. <bits access="rw" name="phy_sel_18_reg" pos="21:16" rst="18">
  122026. </bits>
  122027. <bits access="rw" name="phy_sel_17_reg" pos="13:8" rst="17">
  122028. </bits>
  122029. <bits access="rw" name="phy_sel_16_reg" pos="5:0" rst="16">
  122030. </bits>
  122031. </reg>
  122032. <reg name="phy_sel_set6" protect="rw">
  122033. <bits access="rw" name="phy_sel_23_reg" pos="29:24" rst="23">
  122034. </bits>
  122035. <bits access="rw" name="phy_sel_22_reg" pos="21:16" rst="22">
  122036. </bits>
  122037. <bits access="rw" name="phy_sel_21_reg" pos="13:8" rst="21">
  122038. </bits>
  122039. <bits access="rw" name="phy_sel_20_reg" pos="5:0" rst="20">
  122040. </bits>
  122041. </reg>
  122042. <reg name="phy_sel_set7" protect="rw">
  122043. <bits access="rw" name="phy_sel_27_reg" pos="29:24" rst="27">
  122044. </bits>
  122045. <bits access="rw" name="phy_sel_26_reg" pos="21:16" rst="26">
  122046. </bits>
  122047. <bits access="rw" name="phy_sel_25_reg" pos="13:8" rst="25">
  122048. </bits>
  122049. <bits access="rw" name="phy_sel_24_reg" pos="5:0" rst="24">
  122050. </bits>
  122051. </reg>
  122052. <reg name="phy_sel_set8" protect="rw">
  122053. <bits access="rw" name="phy_sel_31_reg" pos="29:24" rst="31">
  122054. </bits>
  122055. <bits access="rw" name="phy_sel_30_reg" pos="21:16" rst="30">
  122056. </bits>
  122057. <bits access="rw" name="phy_sel_29_reg" pos="13:8" rst="29">
  122058. </bits>
  122059. <bits access="rw" name="phy_sel_28_reg" pos="5:0" rst="28">
  122060. </bits>
  122061. </reg>
  122062. </module>
  122063. </archive>
  122064. <archive relative="rda8910m_hard.xml">
  122065. <include file="globals.xml"/>
  122066. <include file="global_macros.xml"/>
  122067. <include file="gallite_generic_config.xml"/>
  122068. <include file="debug_host.xml"/>
  122069. <include file="debug_host_internals.xml"/>
  122070. <include file="debug_uart.xml"/>
  122071. <include file="arm_axidma.xml"/>
  122072. <include file="aes.xml"/>
  122073. <include file="lzma.xml"/>
  122074. <include file="f8.xml"/>
  122075. <include file="fpi3_gprs.xml"/>
  122076. <include file="gouda.xml"/>
  122077. <include file="lcdc.xml"/>
  122078. <include file="spi_flash.xml"/>
  122079. <include file="gic400_reg.xml"/>
  122080. <include file="gpio.xml"/>
  122081. <include file="i2c_master.xml"/>
  122082. <include file="pagespy_dmc.xml"/>
  122083. <include file="vad.xml"/>
  122084. <include file="sci.xml"/>
  122085. <include file="lps.xml"/>
  122086. <include file="spi.xml"/>
  122087. <include file="sys_ctrl.xml"/>
  122088. <include file="iomux.xml"/>
  122089. <include file="spinlock.xml"/>
  122090. <include file="efuse_ctrl.xml"/>
  122091. <include file="ap_ifc.xml"/>
  122092. <include file="aon_ifc.xml"/>
  122093. <include file="timer.xml"/>
  122094. <include file="timer_ap.xml"/>
  122095. <include file="arm_uart.xml"/>
  122096. <include file="keypad.xml"/>
  122097. <include file="pwm.xml"/>
  122098. <include file="calendar.xml"/>
  122099. <include file="aif.xml"/>
  122100. <include file="aud_2ad.xml"/>
  122101. <include file="usbc.xml"/>
  122102. <include file="usbc11.xml"/>
  122103. <include file="sdmmc.xml"/>
  122104. <include file="camera.xml"/>
  122105. <include file="adi_mst.xml"/>
  122106. <include file="analog_reg.xml"/>
  122107. <include file="lvds.xml"/>
  122108. <include file="sys_imem.xml"/>
  122109. <include file="sys_axi_cfg.xml"/>
  122110. <include file="dmc400.xml"/>
  122111. <include file="lpddr_phy.xml"/>
  122112. <include file="psram_phy.xml"/>
  122113. <include file="lpddr_psram.xml"/>
  122114. <include file="dbg_a5.xml"/>
  122115. <include file="pmu_a5.xml"/>
  122116. <include file="etm_a5.xml"/>
  122117. <include file="cti.xml"/>
  122118. <include file="etb.xml"/>
  122119. <include file="atb_funnel.xml"/>
  122120. <include file="timestamp.xml"/>
  122121. <include file="cp_zsp_uart.xml"/>
  122122. <include file="rda2720m_adc.xml"/>
  122123. <include file="rda2720m_aud.xml"/>
  122124. <include file="rda2720m_aud_codec.xml"/>
  122125. <include file="rda2720m_aud_ifa.xml"/>
  122126. <include file="rda2720m_bltc.xml"/>
  122127. <include file="rda2720m_cal.xml"/>
  122128. <include file="rda2720m_rf_mode.xml"/>
  122129. <include file="rda2720m_eic.xml"/>
  122130. <include file="rda2720m_efs.xml"/>
  122131. <include file="rda2720m_fgu.xml"/>
  122132. <include file="rda2720m_global.xml"/>
  122133. <include file="rda2720m_int.xml"/>
  122134. <include file="rda2720m_pin.xml"/>
  122135. <include file="rda2720m_psm.xml"/>
  122136. <include file="rda2720m_rtc.xml"/>
  122137. <include file="rda2720m_tmr.xml"/>
  122138. <include file="rda2720m_wdg.xml"/>
  122139. <include file="cp_idle.xml"/>
  122140. <include file="cp_mailbox.xml"/>
  122141. <include file="cp_clkrst.xml"/>
  122142. <include file="cp_pwrctrl.xml"/>
  122143. <include file="cp_sysreg.xml"/>
  122144. <include file="cp_monitor.xml"/>
  122145. <include file="cp_bb_wd.xml"/>
  122146. <include file="cp_zsp_irqh.xml"/>
  122147. <include file="cp_zsp_axidma.xml"/>
  122148. <include file="cp_zsp_aud_dft.xml"/>
  122149. <include file="cp_zsp_busmon.xml"/>
  122150. <include file="cp_zsp_wd.xml"/>
  122151. <include file="cp_lte_pusch.xml"/>
  122152. <include file="cp_lte_ldtc1.xml"/>
  122153. <include file="cp_lte_ldtc.xml"/>
  122154. <include file="cp_lte_dlfft.xml"/>
  122155. <include file="cp_lte_coeff.xml"/>
  122156. <include file="cp_lte_rfad.xml"/>
  122157. <include file="cp_lte_uldft.xml"/>
  122158. <include file="cp_lte_txrx.xml"/>
  122159. <include file="cp_lte_measpwr.xml"/>
  122160. <include file="cp_lte_iddet.xml"/>
  122161. <include file="cp_lte_csirs.xml"/>
  122162. <include file="cp_lte_ulpcdci.xml"/>
  122163. <include file="cp_lte_corr.xml"/>
  122164. <include file="cp_lte_otdoa.xml"/>
  122165. <include file="cp_lte_rxcapt.xml"/>
  122166. <include file="bb2g_ram.xml"/>
  122167. <include file="bb_cp2.xml"/>
  122168. <include file="bb_irq.xml"/>
  122169. <include file="bb_rom.xml"/>
  122170. <include file="cholk.xml"/>
  122171. <include file="cipher.xml"/>
  122172. <include file="cipher_a53.xml"/>
  122173. <include file="cordic.xml"/>
  122174. <include file="excor.xml"/>
  122175. <include file="itlv.xml"/>
  122176. <include file="rf_if.xml"/>
  122177. <include file="rf_spi.xml"/>
  122178. <include file="sys_ifc.xml"/>
  122179. <include file="gge_sys_ctrl.xml"/>
  122180. <include file="tcu.xml"/>
  122181. <include file="vitac.xml"/>
  122182. <include file="wdt.xml"/>
  122183. <include file="xcor.xml"/>
  122184. <include file="mips32r6.xml"/>
  122185. <include file="ela.xml"/>
  122186. <include file="evitac.xml"/>
  122187. <include file="dma.xml"/>
  122188. <include file="nb_cell_search.xml"/>
  122189. <include file="nb_common.xml"/>
  122190. <include file="nb_ctrl.xml"/>
  122191. <include file="nb_ds_bsel.xml"/>
  122192. <include file="nb_fft_rsrp.xml"/>
  122193. <include file="nb_intc.xml"/>
  122194. <include file="nb_meas.xml"/>
  122195. <include file="nb_tx_chsc.xml"/>
  122196. <include file="nb_tx_frontend.xml"/>
  122197. <include file="nb_tx_pusch_encoder.xml"/>
  122198. <include file="nb_viterbi.xml"/>
  122199. <include file="rf_registers.xml"/>
  122200. <include file="rf_timer.xml"/>
  122201. <include file="rf_uart.xml"/>
  122202. <include file="rf_wdt.xml"/>
  122203. <include file="rf_sys_ctrl.xml"/>
  122204. <include file="rffe_reg.xml"/>
  122205. <include file="rf_pulp_irq.xml"/>
  122206. <include file="rf_pulp_sleep.xml"/>
  122207. <include file="rf_pulp_debug_unit.xml"/>
  122208. <include file="rf_rtc.xml"/>
  122209. <include file="tsen_adc.xml"/>
  122210. <include file="dfe.xml"/>
  122211. <include file="rf_dlpf.xml"/>
  122212. <include file="rf_et.xml"/>
  122213. <include file="wcn_bb_ifc.xml"/>
  122214. <include file="wcn_ble_link.xml"/>
  122215. <include file="wcn_bt_core.xml"/>
  122216. <include file="wcn_bt_link.xml"/>
  122217. <include file="wcn_bt_modem.xml"/>
  122218. <include file="wcn_cache_ctrl.xml"/>
  122219. <include file="wcn_comregs.xml"/>
  122220. <include file="wcn_dbm.xml"/>
  122221. <include file="wcn_fm_dsp.xml"/>
  122222. <include file="wcn_pulp_irq.xml"/>
  122223. <include file="wcn_pulp_sleep.xml"/>
  122224. <include file="wcn_pulp_debug_unit.xml"/>
  122225. <include file="wcn_rf_if.xml"/>
  122226. <include file="wcn_sys_ctrl.xml"/>
  122227. <include file="wcn_sys_ifc.xml"/>
  122228. <include file="wcn_systick.xml"/>
  122229. <include file="wcn_trap.xml"/>
  122230. <include file="wcn_uart.xml"/>
  122231. <include file="wcn_wdt.xml"/>
  122232. <include file="wcn_wlan.xml"/>
  122233. <instance address="0x00000000" name="INT_ROM" type="INT_ROM"/>
  122234. <instance address="0x00800000" name="INT_SRAM" type="INT_SRAM"/>
  122235. <instance address="0x08200000" name="GIC400" type="GIC400"/>
  122236. <instance address="0x08300000" name="SYS_AXI_CFG" type="SYS_AXI_CFG"/>
  122237. <var name="REG_AP_APB_BASE" value="0x08800000">
  122238. <comment>Ap APB base</comment>
  122239. </var>
  122240. <instance address="REG_AP_APB_BASE + AP_APB_STEP * AP_APB_ID_IRQH" name="CP_IRQH" type="CP_ZSP_IRQH"/>
  122241. <instance address="REG_AP_APB_BASE + AP_APB_STEP * AP_APB_ID_IRQH + 0x800" name="CP_IRQH1" type="CP_ZSP_IRQH"/>
  122242. <instance address="REG_AP_APB_BASE + AP_APB_STEP * AP_APB_ID_DMC_CTRL" name="DMC_CTRL" type="DMC400"/>
  122243. <instance address="REG_AP_APB_BASE + AP_APB_STEP * AP_APB_ID_LPDDR_PSRAM_CTRL" name="LPDDR_PHY" type="LPDDR_PHY"/>
  122244. <instance address="REG_AP_APB_BASE + AP_APB_STEP * AP_APB_ID_LPDDR_PSRAM_CTRL + AP_APB_STEP/2" name="PSRAM_PHY" type="PSRAM_PHY"/>
  122245. <instance address="REG_AP_APB_BASE + AP_APB_STEP * AP_APB_ID_PAGESPY" name="PAGESPY_DMC" type="PAGESPY_DMC"/>
  122246. <instance address="REG_AP_APB_BASE + AP_APB_STEP * AP_APB_ID_SYSIMEM" name="SYS_IMEM" type="SYS_IMEM"/>
  122247. <instance address="REG_AP_APB_BASE + AP_APB_STEP * AP_APB_ID_LZMA" name="LZMA" type="LZMA"/>
  122248. <instance address="REG_AP_APB_BASE + AP_APB_STEP * AP_APB_ID_GOUDA" name="GOUDA" type="GOUDA"/>
  122249. <instance address="REG_AP_APB_BASE + AP_APB_STEP * AP_APB_ID_LCDC" name="LCDC" type="LCDC"/>
  122250. <instance address="REG_AP_APB_BASE + AP_APB_STEP * AP_APB_ID_TIMER_1" name="TIMER1" type="TIMER"/>
  122251. <instance address="REG_AP_APB_BASE + AP_APB_STEP * AP_APB_ID_TIMER_2" name="TIMER2" type="TIMER"/>
  122252. <instance address="REG_AP_APB_BASE + AP_APB_STEP * AP_APB_ID_I2C_M1" name="I2C_MASTER1" type="I2C_MASTER"/>
  122253. <instance address="REG_AP_APB_BASE + AP_APB_STEP * AP_APB_ID_I2C_M3" name="I2C_MASTER3" type="I2C_MASTER"/>
  122254. <instance address="REG_AP_APB_BASE + AP_APB_STEP * AP_APB_ID_TIMER_4" name="TIMER4" type="TIMER_AP"/>
  122255. <instance address="REG_AP_APB_BASE + AP_APB_STEP * AP_APB_ID_AP_IFC + AUDIO_IFC_APB_STEP" name="AUDIO_IFC" type="AUDIO_IFC"/>
  122256. <instance address="REG_AP_APB_BASE + AP_APB_STEP * AP_APB_ID_AP_IFC" name="AP_IFC" type="AP_IFC"/>
  122257. <instance address="REG_AP_APB_BASE + AP_APB_STEP * AP_APB_ID_SDMMC1" name="SDMMC" type="SDMMC"/>
  122258. <instance address="REG_AP_APB_BASE + AP_APB_STEP * AP_APB_ID_SDMMC2" name="SDMMC2" type="SDMMC"/>
  122259. <instance address="REG_AP_APB_BASE + AP_APB_STEP * AP_APB_ID_SPI_1" name="SPI1" type="SPI"/>
  122260. <instance address="REG_AP_APB_BASE + AP_APB_STEP * AP_APB_ID_SPI_2" name="SPI2" type="SPI"/>
  122261. <instance address="REG_AP_APB_BASE + AP_APB_STEP * AP_APB_ID_SCI_1" name="SCI1" type="SCI"/>
  122262. <instance address="REG_AP_APB_BASE + AP_APB_STEP * AP_APB_ID_SCI_2" name="SCI2" type="SCI"/>
  122263. <instance address="REG_AP_APB_BASE + AP_APB_STEP * AP_APB_ID_ZSP_UART" name="ZSP_UART" type="CP_ZSP_UART"/>
  122264. <instance address="REG_AP_APB_BASE + AP_APB_STEP * AP_APB_ID_UART_2" name="UART2" type="ARM_UART"/>
  122265. <instance address="REG_AP_APB_BASE + AP_APB_STEP * AP_APB_ID_UART_3" name="UART3" type="ARM_UART"/>
  122266. <instance address="REG_AP_APB_BASE + AP_APB_STEP * AP_APB_ID_CAMERA" name="CAMERA" type="CAMERA"/>
  122267. <instance address="REG_AP_APB_BASE + AP_APB_STEP * AP_APB1_ID_AIF" name="AIF1" type="AIF"/>
  122268. <instance address="REG_AP_APB_BASE + AP_APB_STEP * AP_APB1_ID_AIF2" name="AIF2" type="AIF"/>
  122269. <instance address="REG_AP_APB_BASE + AP_APB_STEP * AP_APB_ID_AUD_2AD" name="AUD_2AD" type="AUD_2AD"/>
  122270. <instance address="0x00880000" name="SPI_FLASH" type="SPI_FLASH"/>
  122271. <instance address="0x00881000" name="SPI_FLASH_EXT" type="SPI_FLASH"/>
  122272. <var name="REG_SYS_AHB_BASE" value="0x09000000">
  122273. <comments>System AHB base</comments>
  122274. </var>
  122275. <instance address="REG_SYS_AHB_BASE + SYS_AHB_STEP * (SYS_AHB_ID_F8-1)" name="F8" type="F8"/>
  122276. <instance address="REG_SYS_AHB_BASE + SYS_AHB_STEP * (SYS_AHB_ID_USBC-1)" name="USBC" type="USBC"/>
  122277. <instance address="REG_SYS_AHB_BASE + SYS_AHB_STEP * (SYS_AHB_ID_GOUDA-1)" name="GOUDA_SRAM" type="GOUDA_SRAM"/>
  122278. <instance address="REG_SYS_AHB_BASE + SYS_AHB_STEP * (SYS_AHB_ID_AXIDMA-1)" name="DMA" type="ARM_AXIDMA"/>
  122279. <instance address="REG_SYS_AHB_BASE + SYS_AHB_STEP * (SYS_AHB_ID_GEA3-1)" name="GEA3" type="FPI3_GPRS"/>
  122280. <instance address="REG_SYS_AHB_BASE + SYS_AHB_STEP * (SYS_AHB_ID_AES-1)" name="AES" type="AES"/>
  122281. <instance address="REG_SYS_AHB_BASE + SYS_AHB_STEP * (SYS_AHB_ID_USB11-1)" name="USBC11" type="USBC11"/>
  122282. <var name="LPDDR_BASE" value="0x80000000">
  122283. <comment>PSRAM base</comment>
  122284. </var>
  122285. <var name="LPDDR_BASE_FOR_GGE" value="0x08000000"/>
  122286. <instance address="LPDDR_BASE" name="LPDDR_MEM" type="LPDDR_MEM">
  122287. <altaddress address="LPDDR_BASE_FOR_GGE" name="GGE"/>
  122288. </instance>
  122289. <var name="PSRAM_BASE" value="0x80000000">
  122290. <comment>PSRAM base</comment>
  122291. </var>
  122292. <var name="PSRAM_BASE_FOR_GGE" value="0x08000000"/>
  122293. <instance address="PSRAM_BASE" name="PSRAM_MEM" type="PSRAM_MEM">
  122294. <altaddress address="PSRAM_BASE_FOR_GGE" name="GGE"/>
  122295. </instance>
  122296. <var name="AON_ADI_MST_BASE" value="0x50300000">
  122297. <comment>ADI mst base</comment>
  122298. </var>
  122299. <instance address="AON_ADI_MST_BASE" name="ADI_MST" type="ADI_MST">
  122300. <altaddress address="0x05300000" name="GGE"/>
  122301. </instance>
  122302. <instance address="AON_ADI_MST_BASE + 0x8000" name="RDA2720M_TMR" type="RDA2720M_TMR"/>
  122303. <instance address="AON_ADI_MST_BASE + 0x8040" name="RDA2720M_WDG" type="RDA2720M_WDG"/>
  122304. <instance address="AON_ADI_MST_BASE + 0x80c0" name="RDA2720M_INT" type="RDA2720M_INT"/>
  122305. <instance address="AON_ADI_MST_BASE + 0x8100" name="RDA2720M_CAL" type="RDA2720M_CAL"/>
  122306. <instance address="AON_ADI_MST_BASE + 0x8140" name="RDA2720M_AUD_IFA" type="RDA2720M_AUD_IFA"/>
  122307. <instance address="AON_ADI_MST_BASE + 0x8180" name="RDA2720M_BLTC" type="RDA2720M_BLTC"/>
  122308. <instance address="AON_ADI_MST_BASE + 0x8200" name="RDA2720M_RTC" type="RDA2720M_RTC"/>
  122309. <instance address="AON_ADI_MST_BASE + 0x8280" name="RDA2720M_EIC" type="RDA2720M_EIC"/>
  122310. <instance address="AON_ADI_MST_BASE + 0x8300" name="RDA2720M_EFS" type="RDA2720M_EFS"/>
  122311. <instance address="AON_ADI_MST_BASE + 0x8400" name="RDA2720M_ADC" type="RDA2720M_ADC"/>
  122312. <instance address="AON_ADI_MST_BASE + 0x8500" name="RDA2720M_RF_MODE" type="RDA2720M_RF_MODE"/>
  122313. <instance address="AON_ADI_MST_BASE + 0x8600" name="RDA2720M_PIN" type="RDA2720M_PIN"/>
  122314. <instance address="AON_ADI_MST_BASE + 0x8700" name="RDA2720M_AUD_CODEC" type="RDA2720M_AUD_CODEC"/>
  122315. <instance address="AON_ADI_MST_BASE + 0x8800" name="RDA2720M_AUD" type="RDA2720M_AUD"/>
  122316. <instance address="AON_ADI_MST_BASE + 0x8900" name="RDA2720M_PSM" type="RDA2720M_PSM"/>
  122317. <instance address="AON_ADI_MST_BASE + 0x8a00" name="RDA2720M_FGU" type="RDA2720M_FGU"/>
  122318. <instance address="AON_ADI_MST_BASE + 0x8c00" name="RDA2720M_GLOBAL" type="RDA2720M_GLOBAL"/>
  122319. <var name="REG_AON_APB_BASE" value="0x50100000">
  122320. <comment>System AON APB base</comment>
  122321. </var>
  122322. <var name="REG_AON_APB_BASE_FOR_GGE" value="0x05100000"/>
  122323. <instance address="REG_AON_APB_BASE + AON_APB_STEP * AON_APB_ID_SYS_CTRL" name="SYS_CTRL" type="SYS_CTRL">
  122324. <altaddress address="REG_AON_APB_BASE_FOR_GGE + AON_APB_STEP * AON_APB_ID_SYS_CTRL" name="GGE"/>
  122325. </instance>
  122326. <instance address="REG_AON_APB_BASE + AON_APB_STEP * AON_APB_ID_IOMUX" name="IOMUX" type="IOMUX">
  122327. <altaddress address="REG_AON_APB_BASE_FOR_GGE + AON_APB_STEP * AON_APB_ID_IOMUX" name="GGE"/>
  122328. </instance>
  122329. <instance address="REG_AON_APB_BASE + AON_APB_STEP * AON_APB_ID_SPINLOCK" name="SPINLOCK" type="SPINLOCK">
  122330. <altaddress address="REG_AON_APB_BASE_FOR_GGE + AON_APB_STEP * AON_APB_ID_SPINLOCK" name="GGE"/>
  122331. </instance>
  122332. <instance address="REG_AON_APB_BASE + AON_APB_STEP * AON_APB_ID_EFUSE" name="EFUSE_CTRL" type="EFUSE_CTRL">
  122333. <altaddress address="REG_AON_APB_BASE_FOR_GGE + AON_APB_STEP * AON_APB_ID_EFUSE" name="GGE"/>
  122334. </instance>
  122335. <instance address="REG_AON_APB_BASE + AON_APB_STEP * AON_APB_ID_LVDS" name="LVDS" type="LVDS">
  122336. <altaddress address="REG_AON_APB_BASE_FOR_GGE + AON_APB_STEP * AON_APB_ID_LVDS" name="GGE"/>
  122337. </instance>
  122338. <instance address="REG_AON_APB_BASE + AON_APB_STEP * AON_APB_ID_GSM_LPS" name="GSM_LPS" type="LPS">
  122339. <altaddress address="REG_AON_APB_BASE_FOR_GGE + AON_APB_STEP * AON_APB_ID_GSM_LPS" name="GGE"/>
  122340. </instance>
  122341. <instance address="REG_AON_APB_BASE + AON_APB_STEP * AON_APB_ID_I2C_M2" name="I2C_MASTER2" type="I2C_MASTER">
  122342. <altaddress address="REG_AON_APB_BASE_FOR_GGE + AON_APB_STEP * AON_APB_ID_I2C_M2" name="GGE"/>
  122343. </instance>
  122344. <instance address="REG_AON_APB_BASE + AON_APB_STEP * AON_APB_ID_MAILBOX" name="MAILBOX" type="CP_MAILBOX">
  122345. <altaddress address="REG_AON_APB_BASE_FOR_GGE + AON_APB_STEP * AON_APB_ID_MAILBOX" name="GGE"/>
  122346. </instance>
  122347. <instance address="REG_AON_APB_BASE + AON_APB_STEP * AON_APB_ID_TIMER_3" name="TIMER3" type="TIMER_AP">
  122348. <altaddress address="REG_AON_APB_BASE_FOR_GGE + AON_APB_STEP * AON_APB_ID_TIMER_3" name="GGE"/>
  122349. </instance>
  122350. <instance address="REG_AON_APB_BASE + AON_APB_STEP * AON_APB_ID_KEYPAD" name="KEYPAD" type="KEYPAD">
  122351. <altaddress address="REG_AON_APB_BASE_FOR_GGE + AON_APB_STEP * AON_APB_ID_KEYPAD" name="GGE"/>
  122352. </instance>
  122353. <instance address="REG_AON_APB_BASE + AON_APB_STEP * AON_APB_ID_GPIO_1" name="GPIO1" type="GPIO">
  122354. <altaddress address="REG_AON_APB_BASE_FOR_GGE + AON_APB_STEP * AON_APB_ID_GPIO_1" name="GGE"/>
  122355. </instance>
  122356. <instance address="REG_AON_APB_BASE + AON_APB_STEP * AON_APB_ID_PWM" name="PWM" type="PWM">
  122357. <altaddress address="REG_AON_APB_BASE_FOR_GGE + AON_APB_STEP * AON_APB_ID_PWM" name="GGE"/>
  122358. </instance>
  122359. <instance address="REG_AON_APB_BASE + AON_APB_STEP * AON_APB_ID_ANALOG_REG" name="ANALOG_REG" type="ANALOG_REG">
  122360. <altaddress address="REG_AON_APB_BASE_FOR_GGE + AON_APB_STEP * AON_APB_ID_ANALOG_REG" name="GGE"/>
  122361. </instance>
  122362. <instance address="REG_AON_APB_BASE + AON_APB_STEP * AON_APB_ID_AON_IFC" name="AON_IFC" type="AON_IFC">
  122363. <altaddress address="REG_AON_APB_BASE_FOR_GGE + AON_APB_STEP * AON_APB_ID_AON_IFC" name="GGE"/>
  122364. </instance>
  122365. <instance address="REG_AON_APB_BASE + AON_APB_STEP * AON_APB_ID_NB_LPS" name="NB_LPS" type="LPS">
  122366. <altaddress address="REG_AON_APB_BASE_FOR_GGE + AON_APB_STEP * AON_APB_ID_NB_LPS" name="GGE"/>
  122367. </instance>
  122368. <instance address="REG_AON_APB_BASE + AON_APB_STEP * AON_APB_ID_DEBUG_UART" name="DEBUG_UART" type="DEBUG_UART">
  122369. <altaddress address="REG_AON_APB_BASE_FOR_GGE + AON_APB_STEP * AON_APB_ID_DEBUG_UART" name="GGE"/>
  122370. </instance>
  122371. <instance address="REG_AON_APB_BASE + AON_APB_STEP * AON_APB_ID_VAD" name="VAD" type="VAD">
  122372. <altaddress address="REG_AON_APB_BASE_FOR_GGE + AON_APB_STEP * AON_APB_ID_VAD" name="GGE"/>
  122373. </instance>
  122374. <instance address="REG_AON_APB_BASE + AON_APB_STEP * AON_APB_ID_DEBUG_HOST" name="DEBUG_HOST" type="DEBUG_HOST">
  122375. <altaddress address="REG_AON_APB_BASE_FOR_GGE + AON_APB_STEP * AON_APB_ID_DEBUG_HOST" name="GGE"/>
  122376. </instance>
  122377. <var name="AON_CORESIGHT_BASE" value="0x50400000">
  122378. <comment>COREISHGT Base</comment>
  122379. </var>
  122380. <instance address="AON_CORESIGHT_BASE + 0xA000" name="DBG_AP_A5" type="DBG_A5">
  122381. </instance>
  122382. <instance address="AON_CORESIGHT_BASE + 0xB000" name="PMU_AP_A5" type="PMU_A5">
  122383. </instance>
  122384. <instance address="AON_CORESIGHT_BASE + 0xC000" name="CTI_AP_A5" type="CTI">
  122385. </instance>
  122386. <instance address="AON_CORESIGHT_BASE + 0xD000" name="ETM_AP_A5" type="ETM_A5">
  122387. </instance>
  122388. <instance address="AON_CORESIGHT_BASE + 0x12000" name="DBG_CP_A5" type="DBG_A5">
  122389. </instance>
  122390. <instance address="AON_CORESIGHT_BASE + 0x13000" name="PMU_CP_A5" type="PMU_A5">
  122391. </instance>
  122392. <instance address="AON_CORESIGHT_BASE + 0x14000" name="CTI_CP_A5" type="CTI">
  122393. </instance>
  122394. <instance address="AON_CORESIGHT_BASE + 0x15000" name="ETM_CP_A5" type="ETM_A5">
  122395. </instance>
  122396. <instance address="AON_CORESIGHT_BASE + 0x18000" name="ATB_FUNNEL" type="ATB_FUNNEL">
  122397. </instance>
  122398. <instance address="AON_CORESIGHT_BASE + 0x19000" name="CTI" type="CTI">
  122399. </instance>
  122400. <instance address="AON_CORESIGHT_BASE + 0x1A000" name="ETB" type="ETB">
  122401. </instance>
  122402. <instance address="AON_CORESIGHT_BASE + 0x1B000" name="TIME_STAMP" type="TIMESTAMP">
  122403. </instance>
  122404. <instance address="0x00000000" name="INT_REG_DBG_HOST" type="DEBUG_HOST_INTERNAL_REGISTERS"/>
  122405. <var name="BB_SYS_ADDR_BASE" value="0x50080000">
  122406. <comments>BB_SYS ADDR base</comments>
  122407. </var>
  122408. <var name="BB_SYS_ADDR_BASE_FOR_GGE" value="0x05080000"/>
  122409. <instance address="BB_SYS_ADDR_BASE + BB_SYS_STEP * BB_SYSCTRL_ID_SYSREG" name="SYSREG" type="CP_SYSREG">
  122410. <altaddress address="BB_SYS_ADDR_BASE_FOR_GGE + BB_SYS_STEP * BB_SYSCTRL_ID_SYSREG" name="GGE"/>
  122411. </instance>
  122412. <instance address="BB_SYS_ADDR_BASE + BB_SYS_STEP * BB_SYSCTRL_ID_CLKRST" name="CLKRST" type="CP_CLKRST">
  122413. <altaddress address="BB_SYS_ADDR_BASE_FOR_GGE + BB_SYS_STEP * BB_SYSCTRL_ID_CLKRST" name="GGE"/>
  122414. </instance>
  122415. <instance address="BB_SYS_ADDR_BASE + BB_SYS_STEP * BB_SYSCTRL_ID_MONITOR" name="MONITOR" type="CP_MONITOR">
  122416. <altaddress address="BB_SYS_ADDR_BASE_FOR_GGE + BB_SYS_STEP * BB_SYSCTRL_ID_MONITOR" name="GGE"/>
  122417. </instance>
  122418. <instance address="BB_SYS_ADDR_BASE + BB_SYS_STEP * BB_SYSCTRL_ID_CP_WD_TIMER" name="CP_BB_WD" type="CP_BB_WD">
  122419. <altaddress address="BB_SYS_ADDR_BASE_FOR_GGE + BB_SYS_STEP * BB_SYSCTRL_ID_CP_WD_TIMER" name="GGE"/>
  122420. </instance>
  122421. <instance address="BB_SYS_ADDR_BASE + BB_SYS_STEP * BB_SYSCTRL_ID_IDLE" name="IDLE" type="CP_IDLE">
  122422. <altaddress address="BB_SYS_ADDR_BASE_FOR_GGE + BB_SYS_STEP * BB_SYSCTRL_ID_IDLE" name="GGE"/>
  122423. </instance>
  122424. <instance address="BB_SYS_ADDR_BASE + BB_SYS_STEP * BB_SYSCTRL_ID_UART1" name="UART1" type="ARM_UART">
  122425. <altaddress address="BB_SYS_ADDR_BASE_FOR_GGE + BB_SYS_STEP * BB_SYSCTRL_ID_UART1" name="GGE"/>
  122426. </instance>
  122427. <instance address="BB_SYS_ADDR_BASE + BB_SYS_STEP * BB_SYSCTRL_ID_PWRCTRL" name="PWRCTRL" type="CP_PWRCTRL">
  122428. <altaddress address="BB_SYS_ADDR_BASE_FOR_GGE + BB_SYS_STEP * BB_SYSCTRL_ID_PWRCTRL" name="GGE"/>
  122429. </instance>
  122430. <var name="ZSP_SYS_ADDR_BASE" value="0x22000000">
  122431. <comments>ZSP_SYS ADDR base</comments>
  122432. </var>
  122433. <instance address="ZSP_SYS_ADDR_BASE+CP_ZSP_SYS_STEP*CP_ZSP_SYS_ID_ZSP_AXIDMA" name="ZSP_AXIDMA" type="CP_ZSP_AXIDMA">
  122434. </instance>
  122435. <instance address="ZSP_SYS_ADDR_BASE+CP_ZSP_SYS_STEP*CP_ZSP_SYS_ID_ZSP_AUD_DFT" name="ZSP_AUD_DFT" type="CP_ZSP_AUD_DFT">
  122436. </instance>
  122437. <instance address="ZSP_SYS_ADDR_BASE+CP_ZSP_SYS_STEP*CP_ZSP_SYS_ID_ZSP_WD" name="ZSP_WD" type="CP_ZSP_WD">
  122438. </instance>
  122439. <instance address="ZSP_SYS_ADDR_BASE+CP_ZSP_SYS_STEP*CP_ZSP_SYS_ID_ZSP_IRQH" name="ZSP_IRQH" type="CP_ZSP_IRQH">
  122440. </instance>
  122441. <instance address="ZSP_SYS_ADDR_BASE+CP_ZSP_SYS_STEP*CP_ZSP_SYS_ID_BUSMON" name="BUSMON" type="CP_ZSP_BUSMON">
  122442. </instance>
  122443. <var name="LTE_SYS_ADDR_BASE" value="0x25000000"/>
  122444. <instance address="LTE_SYS_ADDR_BASE+CP_LTE_SYS_STEP*CP_LTE_SYS_ID_TXRX" name="TXRX" type="CP_LTE_TXRX"/>
  122445. <instance address="LTE_SYS_ADDR_BASE+CP_LTE_SYS_STEP*CP_LTE_SYS_ID_RFAD" name="RFAD" type="CP_LTE_RFAD"/>
  122446. <instance address="LTE_SYS_ADDR_BASE+CP_LTE_SYS_STEP*CP_LTE_SYS_ID_COEFF" name="COEFF" type="CP_LTE_COEFF"/>
  122447. <instance address="LTE_SYS_ADDR_BASE+CP_LTE_SYS_STEP*CP_LTE_SYS_ID_LDTC" name="LDTC" type="CP_LTE_LDTC"/>
  122448. <instance address="LTE_SYS_ADDR_BASE+CP_LTE_SYS_STEP*CP_LTE_SYS_ID_OTDOA" name="OTDOA" type="CP_LTE_OTDOA"/>
  122449. <instance address="LTE_SYS_ADDR_BASE+CP_LTE_SYS_STEP*CP_LTE_SYS_ID_MEASPWR" name="MEASPWR" type="CP_LTE_MEASPWR"/>
  122450. <instance address="LTE_SYS_ADDR_BASE+CP_LTE_SYS_STEP*CP_LTE_SYS_ID_IDDET" name="IDDET" type="CP_LTE_IDDET"/>
  122451. <instance address="LTE_SYS_ADDR_BASE+CP_LTE_SYS_STEP*CP_LTE_SYS_ID_ULDFT" name="ULDFT" type="CP_LTE_ULDFT"/>
  122452. <instance address="LTE_SYS_ADDR_BASE+CP_LTE_SYS_STEP*CP_LTE_SYS_ID_PUSCH" name="PUSCH" type="CP_LTE_PUSCH"/>
  122453. <instance address="LTE_SYS_ADDR_BASE+CP_LTE_SYS_STEP*CP_LTE_SYS_ID_ULPCDCI" name="ULPCDCI" type="CP_LTE_ULPCDCI"/>
  122454. <instance address="LTE_SYS_ADDR_BASE+CP_LTE_SYS_STEP*CP_LTE_SYS_ID_DLFFT" name="DLFFT" type="CP_LTE_DLFFT"/>
  122455. <instance address="LTE_SYS_ADDR_BASE+CP_LTE_SYS_STEP*CP_LTE_SYS_ID_CSIRS" name="CSIRS" type="CP_LTE_CSIRS"/>
  122456. <instance address="LTE_SYS_ADDR_BASE+CP_LTE_SYS_STEP*CP_LTE_SYS_ID_LDTC1" name="LDTC1" type="CP_LTE_LDTC1"/>
  122457. <instance address="LTE_SYS_ADDR_BASE+CP_LTE_SYS_STEP*CP_LTE_SYS_ID_LDTC1+0x800" name="CORR" type="CP_LTE_CORR"/>
  122458. <instance address="LTE_SYS_ADDR_BASE+CP_LTE_SYS_STEP*CP_LTE_SYS_ID_RXCAPT" name="RXCAPT" type="CP_LTE_RXCAPT"/>
  122459. <var name="GGE_BB_APB_ADDR_BASE" value="0x40000000">
  122460. <comments>GGE_BB_APB ADDR base</comments>
  122461. </var>
  122462. <var name="GGE_BB_APB_ADDR_BASE_FOR_GGE" value="0x00000000"/>
  122463. <instance address="GGE_BB_APB_ADDR_BASE + GGE_BB_APB_STEP * GGE_BB_APB_ID_XCOR" name="XCOR" type="XCOR">
  122464. <altaddress address="GGE_BB_APB_ADDR_BASE_FOR_GGE + GGE_BB_APB_STEP * GGE_BB_APB_ID_XCOR" name="GGE"/>
  122465. </instance>
  122466. <instance address="GGE_BB_APB_ADDR_BASE + GGE_BB_APB_STEP * GGE_BB_APB_ID_CORDIC" name="CORDIC" type="CORDIC">
  122467. <altaddress address="GGE_BB_APB_ADDR_BASE_FOR_GGE + GGE_BB_APB_STEP * GGE_BB_APB_ID_CORDIC" name="GGE"/>
  122468. </instance>
  122469. <instance address="GGE_BB_APB_ADDR_BASE + GGE_BB_APB_STEP * GGE_BB_APB_ID_ITLV" name="ITLV" type="ITLV">
  122470. <altaddress address="GGE_BB_APB_ADDR_BASE_FOR_GGE + GGE_BB_APB_STEP * GGE_BB_APB_ID_ITLV" name="GGE"/>
  122471. </instance>
  122472. <instance address="GGE_BB_APB_ADDR_BASE + GGE_BB_APB_STEP * GGE_BB_APB_ID_VITAC" name="VITAC" type="VITAC">
  122473. <altaddress address="GGE_BB_APB_ADDR_BASE_FOR_GGE + GGE_BB_APB_STEP * GGE_BB_APB_ID_VITAC" name="GGE"/>
  122474. </instance>
  122475. <instance address="GGE_BB_APB_ADDR_BASE + GGE_BB_APB_STEP * GGE_BB_APB_ID_EXCOR" name="EXCOR" type="EXCOR">
  122476. <altaddress address="GGE_BB_APB_ADDR_BASE_FOR_GGE + GGE_BB_APB_STEP * GGE_BB_APB_ID_EXCOR" name="GGE"/>
  122477. </instance>
  122478. <instance address="GGE_BB_APB_ADDR_BASE + GGE_BB_APB_STEP * GGE_BB_APB_ID_CHOLK" name="CHOLK" type="CHOLK">
  122479. <altaddress address="GGE_BB_APB_ADDR_BASE_FOR_GGE + GGE_BB_APB_STEP * GGE_BB_APB_ID_CHOLK" name="GGE"/>
  122480. </instance>
  122481. <instance address="GGE_BB_APB_ADDR_BASE + GGE_BB_APB_STEP * GGE_BB_APB_ID_CIPHER" name="CIPHER" type="CIPHER">
  122482. <altaddress address="GGE_BB_APB_ADDR_BASE_FOR_GGE + GGE_BB_APB_STEP * GGE_BB_APB_ID_CIPHER" name="GGE"/>
  122483. </instance>
  122484. <instance address="GGE_BB_APB_ADDR_BASE + GGE_BB_APB_STEP * GGE_BB_APB_ID_EVITAC" name="EVITAC" type="EVITAC">
  122485. <altaddress address="GGE_BB_APB_ADDR_BASE_FOR_GGE + GGE_BB_APB_STEP * GGE_BB_APB_ID_EVITAC" name="GGE"/>
  122486. </instance>
  122487. <instance address="GGE_BB_APB_ADDR_BASE + GGE_BB_APB_STEP * GGE_BB_APB_ID_CP2" name="BB_CP2" type="BB_CP2">
  122488. <altaddress address="GGE_BB_APB_ADDR_BASE_FOR_GGE + GGE_BB_APB_STEP * GGE_BB_APB_ID_CP2" name="GGE"/>
  122489. </instance>
  122490. <instance address="GGE_BB_APB_ADDR_BASE + GGE_BB_APB_STEP * GGE_BB_APB_ID_BCPU_DBG" name="BCPU_DBG" type="ELA">
  122491. <altaddress address="GGE_BB_APB_ADDR_BASE_FOR_GGE + GGE_BB_APB_STEP * GGE_BB_APB_ID_BCPU_DBG" name="GGE"/>
  122492. </instance>
  122493. <instance address="GGE_BB_APB_ADDR_BASE + GGE_BB_APB_STEP * GGE_BB_APB_ID_BCPU_CORE" name="BCPU_CORE" type="MIPS32R6">
  122494. <altaddress address="GGE_BB_APB_ADDR_BASE_FOR_GGE + GGE_BB_APB_STEP * GGE_BB_APB_ID_BCPU_CORE" name="GGE"/>
  122495. </instance>
  122496. <instance address="GGE_BB_APB_ADDR_BASE + GGE_BB_APB_STEP * GGE_BB_APB_ID_ROM" name="BB_ROM_CTRL" type="BB_ROM_CTRL">
  122497. <altaddress address="GGE_BB_APB_ADDR_BASE_FOR_GGE + GGE_BB_APB_STEP * GGE_BB_APB_ID_ROM" name="GGE"/>
  122498. </instance>
  122499. <instance address="GGE_BB_APB_ADDR_BASE + GGE_BB_APB_STEP * GGE_BB_APB_ID_RF_IF" name="RF_IF" type="RF_IF">
  122500. <altaddress address="GGE_BB_APB_ADDR_BASE_FOR_GGE + GGE_BB_APB_STEP * GGE_BB_APB_ID_RF_IF" name="GGE"/>
  122501. </instance>
  122502. <instance address="GGE_BB_APB_ADDR_BASE + GGE_BB_APB_STEP * GGE_BB_APB_ID_IRQ" name="BB_IRQ" type="BB_IRQ">
  122503. <altaddress address="GGE_BB_APB_ADDR_BASE_FOR_GGE + GGE_BB_APB_STEP * GGE_BB_APB_ID_IRQ" name="GGE"/>
  122504. </instance>
  122505. <instance address="GGE_BB_APB_ADDR_BASE + GGE_BB_APB_STEP * GGE_BB_APB_ID_SYSCTRL" name="GGE_SYS_CTRL" type="GGE_SYS_CTRL">
  122506. <altaddress address="GGE_BB_APB_ADDR_BASE_FOR_GGE + GGE_BB_APB_STEP * GGE_BB_APB_ID_SYSCTRL" name="GGE"/>
  122507. </instance>
  122508. <instance address="GGE_BB_APB_ADDR_BASE + GGE_BB_APB_STEP * GGE_BB_APB_ID_A53" name="CIPHER_A53" type="CIPHER_A53">
  122509. <altaddress address="GGE_BB_APB_ADDR_BASE_FOR_GGE + GGE_BB_APB_STEP * GGE_BB_APB_ID_A53" name="GGE"/>
  122510. </instance>
  122511. <instance address="GGE_BB_APB_ADDR_BASE + GGE_BB_APB_STEP * GGE_BB_APB_ID_NB_CTRL" name="NB_CTRL" type="NB_CTRL">
  122512. <altaddress address="GGE_BB_APB_ADDR_BASE_FOR_GGE + GGE_BB_APB_STEP * GGE_BB_APB_ID_NB_CTRL" name="GGE"/>
  122513. </instance>
  122514. <instance address="GGE_BB_APB_ADDR_BASE + GGE_BB_APB_STEP * GGE_BB_APB_ID_NB_COMMON" name="NB_COMMON" type="NB_COMMON">
  122515. <altaddress address="GGE_BB_APB_ADDR_BASE_FOR_GGE + GGE_BB_APB_STEP * GGE_BB_APB_ID_NB_COMMON" name="GGE"/>
  122516. </instance>
  122517. <instance address="GGE_BB_APB_ADDR_BASE + GGE_BB_APB_STEP * GGE_BB_APB_ID_NB_INTC" name="NB_INTC" type="NB_INTC">
  122518. <altaddress address="GGE_BB_APB_ADDR_BASE_FOR_GGE + GGE_BB_APB_STEP * GGE_BB_APB_ID_NB_INTC" name="GGE"/>
  122519. </instance>
  122520. <instance address="GGE_BB_APB_ADDR_BASE + GGE_BB_APB_STEP * GGE_BB_APB_ID_NB_CELL_SEARCH" name="NB_CELL_SEARCH" type="NB_CELL_SEARCH">
  122521. <altaddress address="GGE_BB_APB_ADDR_BASE_FOR_GGE + GGE_BB_APB_STEP * GGE_BB_APB_ID_NB_CELL_SEARCH" name="GGE"/>
  122522. </instance>
  122523. <instance address="GGE_BB_APB_ADDR_BASE + GGE_BB_APB_STEP * GGE_BB_APB_ID_NB_FFT_RSRP" name="NB_FFT_RSRP" type="NB_FFT_RSRP">
  122524. <altaddress address="GGE_BB_APB_ADDR_BASE_FOR_GGE + GGE_BB_APB_STEP * GGE_BB_APB_ID_NB_FFT_RSRP" name="GGE"/>
  122525. </instance>
  122526. <instance address="GGE_BB_APB_ADDR_BASE + GGE_BB_APB_STEP * GGE_BB_APB_ID_NB_VITERBI" name="NB_VITERBI" type="NB_VITERBI">
  122527. <altaddress address="GGE_BB_APB_ADDR_BASE_FOR_GGE + GGE_BB_APB_STEP * GGE_BB_APB_ID_NB_VITERBI" name="GGE"/>
  122528. </instance>
  122529. <instance address="GGE_BB_APB_ADDR_BASE + GGE_BB_APB_STEP * GGE_BB_APB_ID_NB_MEAS" name="NB_MEAS" type="NB_MEAS">
  122530. <altaddress address="GGE_BB_APB_ADDR_BASE_FOR_GGE + GGE_BB_APB_STEP * GGE_BB_APB_ID_NB_MEAS" name="GGE"/>
  122531. </instance>
  122532. <instance address="GGE_BB_APB_ADDR_BASE + GGE_BB_APB_STEP * GGE_BB_APB_ID_NB_DS_BSEL" name="NB_DS_BSEL" type="NB_DS_BSEL">
  122533. <altaddress address="GGE_BB_APB_ADDR_BASE_FOR_GGE + GGE_BB_APB_STEP * GGE_BB_APB_ID_NB_DS_BSEL" name="GGE"/>
  122534. </instance>
  122535. <instance address="GGE_BB_APB_ADDR_BASE + GGE_BB_APB_STEP * GGE_BB_APB_ID_NB_TX_PUSCH_ENC" name="NB_TX_PUSCH_ENC" type="NB_TX_PUSCH_ENCODER">
  122536. <altaddress address="GGE_BB_APB_ADDR_BASE_FOR_GGE + GGE_BB_APB_STEP * GGE_BB_APB_ID_NB_TX_PUSCH_ENC" name="GGE"/>
  122537. </instance>
  122538. <instance address="GGE_BB_APB_ADDR_BASE + GGE_BB_APB_STEP * GGE_BB_APB_ID_NB_TX_CHSC" name="NB_TX_CHSC" type="NB_TX_CHSC">
  122539. <altaddress address="GGE_BB_APB_ADDR_BASE_FOR_GGE + GGE_BB_APB_STEP * GGE_BB_APB_ID_NB_TX_CHSC" name="GGE"/>
  122540. </instance>
  122541. <instance address="GGE_BB_APB_ADDR_BASE + GGE_BB_APB_STEP * GGE_BB_APB_ID_NB_TX_FRONTEND" name="NB_TX_FRONTEND" type="NB_TX_FRONTEND">
  122542. <altaddress address="GGE_BB_APB_ADDR_BASE_FOR_GGE + GGE_BB_APB_STEP * GGE_BB_APB_ID_NB_TX_FRONTEND" name="GGE"/>
  122543. </instance>
  122544. <var name="GGE_SYS_APB_ADDR_BASE" value="0x40020000">
  122545. <comments>GGE_SYS_APB ADDR base</comments>
  122546. </var>
  122547. <var name="GGE_SYS_APB_ADDR_BASE_FOR_GGE" value="0x00020000"/>
  122548. <instance address="GGE_SYS_APB_ADDR_BASE + GGE_SYS_APB_STEP * GGE_SYS_APB_ID_TCU_GSM" name="TCU_GSM" type="TCU">
  122549. <altaddress address="GGE_SYS_APB_ADDR_BASE_FOR_GGE + GGE_SYS_APB_STEP * GGE_SYS_APB_ID_TCU_GSM" name="GGE"/>
  122550. </instance>
  122551. <instance address="GGE_SYS_APB_ADDR_BASE + GGE_SYS_APB_STEP * GGE_SYS_APB_ID_TCU_NB" name="TCU_NB" type="TCU">
  122552. <altaddress address="GGE_SYS_APB_ADDR_BASE_FOR_GGE + GGE_SYS_APB_STEP * GGE_SYS_APB_ID_TCU_NB" name="GGE"/>
  122553. </instance>
  122554. <instance address="GGE_SYS_APB_ADDR_BASE + GGE_SYS_APB_STEP * GGE_SYS_APB_ID_BB_DMA" name="BB_DMA" type="DMA">
  122555. <altaddress address="GGE_SYS_APB_ADDR_BASE_FOR_GGE + GGE_SYS_APB_STEP * GGE_SYS_APB_ID_BB_DMA" name="GGE"/>
  122556. </instance>
  122557. <instance address="GGE_SYS_APB_ADDR_BASE + GGE_SYS_APB_STEP * GGE_SYS_APB_ID_WDT" name="WDT" type="WDT">
  122558. <altaddress address="GGE_SYS_APB_ADDR_BASE_FOR_GGE + GGE_SYS_APB_STEP * GGE_SYS_APB_ID_WDT" name="GGE"/>
  122559. </instance>
  122560. <instance address="GGE_SYS_APB_ADDR_BASE + GGE_SYS_APB_STEP * GGE_SYS_APB_ID_GGE_IFC" name="SYS_IFC" type="SYS_IFC">
  122561. <altaddress address="GGE_SYS_APB_ADDR_BASE_FOR_GGE + GGE_SYS_APB_STEP * GGE_SYS_APB_ID_GGE_IFC" name="GGE"/>
  122562. </instance>
  122563. <instance address="GGE_SYS_APB_ADDR_BASE + GGE_SYS_APB_STEP * GGE_SYS_APB_ID_RFSPI_GSM" name="RF_SPI_GSM" type="RF_SPI">
  122564. <altaddress address="GGE_SYS_APB_ADDR_BASE_FOR_GGE + GGE_SYS_APB_STEP * GGE_SYS_APB_ID_RFSPI_GSM" name="GGE"/>
  122565. </instance>
  122566. <instance address="GGE_SYS_APB_ADDR_BASE + GGE_SYS_APB_STEP * GGE_SYS_APB_ID_RFSPI_NB" name="RF_SPI_NB" type="RF_SPI">
  122567. <altaddress address="GGE_SYS_APB_ADDR_BASE_FOR_GGE + GGE_SYS_APB_STEP * GGE_SYS_APB_ID_RFSPI_NB" name="GGE"/>
  122568. </instance>
  122569. <instance address="0x40080000" name="BB2G_RAM" type="BB2G_RAM">
  122570. <altaddress address="0x00080000" name="GGE"/>
  122571. </instance>
  122572. <instance address="0x400a0000" name="BB_ROM" type="BB_ROM">
  122573. <altaddress address="0x000a0000" name="GGE"/>
  122574. </instance>
  122575. <instance address="0x50020000" name="RF_PULP_DEBUG" type="RF_PULP_DEBUG_UNIT">
  122576. <altaddress address="0x05020000" name="GGE"/>
  122577. </instance>
  122578. <instance address="0x50028000" name="RF_PULP_IRQ" type="RF_PULP_IRQ">
  122579. <altaddress address="0x05028000" name="GGE"/>
  122580. </instance>
  122581. <instance address="0x5002c000" name="RF_PULP_SLEEP" type="RF_PULP_SLEEP">
  122582. <altaddress address="0x0502C000" name="GGE"/>
  122583. </instance>
  122584. <var name="RF_APB_ADDR_BASE" value="0x50030000">
  122585. <comments>RF_APB ADDR base</comments>
  122586. </var>
  122587. <var name="RF_APB_ADDR_BASE_FOR_GGE" value="0x05030000"/>
  122588. <instance address="RF_APB_ADDR_BASE + RF_APB_STEP * RF_APB_ID_CTRL_1" name="RF_REG" type="RF_REGISTERS">
  122589. <altaddress address="RF_APB_ADDR_BASE_FOR_GGE + RF_APB_STEP * RF_APB_ID_CTRL_1" name="GGE"/>
  122590. </instance>
  122591. <instance address="RF_APB_ADDR_BASE + RF_APB_STEP * RF_APB_ID_DFE" name="DFE" type="DFE">
  122592. <altaddress address="RF_APB_ADDR_BASE_FOR_GGE + RF_APB_STEP * RF_APB_ID_DFE" name="GGE"/>
  122593. </instance>
  122594. <instance address="RF_APB_ADDR_BASE + RF_APB_STEP * RF_APB_ID_DFE + 0xa00" name="RF_DLPF" type="RF_DLPF">
  122595. <altaddress address="RF_APB_ADDR_BASE_FOR_GGE + RF_APB_STEP * RF_APB_ID_DFE + 0xa00" name="GGE"/>
  122596. </instance>
  122597. <instance address="RF_APB_ADDR_BASE + RF_APB_STEP * RF_APB_ID_ET" name="RF_ET" type="RF_ET">
  122598. <altaddress address="RF_APB_ADDR_BASE_FOR_GGE + RF_APB_STEP * RF_APB_ID_ET" name="GGE"/>
  122599. </instance>
  122600. <instance address="RF_APB_ADDR_BASE + RF_APB_STEP * RF_APB_ID_RTC" name="RF_RTC" type="RF_RTC">
  122601. <altaddress address="RF_APB_ADDR_BASE_FOR_GGE + RF_APB_STEP * RF_APB_ID_RTC" name="GGE"/>
  122602. </instance>
  122603. <instance address="RF_APB_ADDR_BASE + RF_APB_STEP * RF_APB_ID_SYS_CTRL" name="RF_SYS_CTRL" type="RF_SYS_CTRL">
  122604. <altaddress address="RF_APB_ADDR_BASE_FOR_GGE + RF_APB_STEP * RF_APB_ID_SYS_CTRL" name="GGE"/>
  122605. </instance>
  122606. <instance address="RF_APB_ADDR_BASE + RF_APB_STEP * RF_APB_ID_TIMER_1" name="RF_TIMER_1" type="RF_TIMER">
  122607. <altaddress address="RF_APB_ADDR_BASE_FOR_GGE + RF_APB_STEP * RF_APB_ID_TIMER_1" name="GGE"/>
  122608. </instance>
  122609. <instance address="RF_APB_ADDR_BASE + RF_APB_STEP * RF_APB_ID_TIMER_2" name="RF_TIMER_2" type="RF_TIMER">
  122610. <altaddress address="RF_APB_ADDR_BASE_FOR_GGE + RF_APB_STEP * RF_APB_ID_TIMER_2" name="GGE"/>
  122611. </instance>
  122612. <instance address="RF_APB_ADDR_BASE + RF_APB_STEP * RF_APB_ID_TIMER_3" name="RF_TIMER_3" type="RF_TIMER">
  122613. <altaddress address="RF_APB_ADDR_BASE_FOR_GGE + RF_APB_STEP * RF_APB_ID_TIMER_3" name="GGE"/>
  122614. </instance>
  122615. <instance address="RF_APB_ADDR_BASE + RF_APB_STEP * RF_APB_ID_UART" name="RF_UART" type="RF_UART">
  122616. <altaddress address="RF_APB_ADDR_BASE_FOR_GGE + RF_APB_STEP * RF_APB_ID_UART" name="GGE"/>
  122617. </instance>
  122618. <instance address="RF_APB_ADDR_BASE + RF_APB_STEP * RF_APB_ID_WATCHDOG" name="RF_WDT" type="RF_WDT">
  122619. <altaddress address="RF_APB_ADDR_BASE_FOR_GGE + RF_APB_STEP * RF_APB_ID_WATCHDOG" name="GGE"/>
  122620. </instance>
  122621. <instance address="RF_APB_ADDR_BASE + RF_APB_STEP * RF_APB_ID_TSEN_ADC" name="TSEN_ADC" type="TSEN_ADC_TOP">
  122622. <altaddress address="RF_APB_ADDR_BASE_FOR_GGE + RF_APB_STEP * RF_APB_ID_TSEN_ADC" name="GGE"/>
  122623. </instance>
  122624. <instance address="RF_APB_ADDR_BASE + RF_APB_STEP * RF_APB_ID_RFFE" name="RFFE_REG" type="RFFE_REG">
  122625. <altaddress address="RF_APB_ADDR_BASE_FOR_GGE + RF_APB_STEP * RF_APB_ID_RFFE" name="GGE"/>
  122626. </instance>
  122627. <instance address="0x14000000" name="WCN_PULP_DEBUG" type="WCN_PULP_DEBUG_UNIT"/>
  122628. <instance address="0x14008000" name="WCN_PULP_IRQ" type="WCN_PULP_IRQ"/>
  122629. <instance address="0x1400c000" name="WCN_PULP_SLEEP" type="WCN_PULP_SLEEP"/>
  122630. <instance address="0x14020000" name="WCN_ICACHE_CTRL" type="WCN_CACHE_CTRL"/>
  122631. <instance address="0x14040000" name="WCN_DCACHE_CTRL" type="WCN_CACHE_CTRL"/>
  122632. <instance address="0x14100000" name="WCN_BT_REG" type="WCN_BT_LINK"/>
  122633. <instance address="0x14100200" name="WCN_BLE_REG" type="WCN_BLE_LINK"/>
  122634. <var name="WCN_SYS_APB_ADDR_BASE" value="0x15000000">
  122635. <comments>WCN SYS APB ADDR base</comments>
  122636. </var>
  122637. <instance address="WCN_SYS_APB_ADDR_BASE + WCN_SYS_APB_STEP * WCN_SYS_APB_ID_SYS_CTRL" name="WCN_SYS_CTRL" type="WCN_SYS_CTRL"/>
  122638. <instance address="WCN_SYS_APB_ADDR_BASE + WCN_SYS_APB_STEP * WCN_SYS_APB_ID_DBM" name="WCN_DBM" type="WCN_DBM"/>
  122639. <instance address="WCN_SYS_APB_ADDR_BASE + WCN_SYS_APB_STEP * WCN_SYS_APB_ID_SYS_IFC" name="WCN_SYS_IFC" type="WCN_SYS_IFC"/>
  122640. <instance address="WCN_SYS_APB_ADDR_BASE + WCN_SYS_APB_STEP * WCN_SYS_APB_ID_BT_CORE" name="WCN_BT_CORE" type="WCN_BT_CORE"/>
  122641. <instance address="WCN_SYS_APB_ADDR_BASE + WCN_SYS_APB_STEP * WCN_SYS_APB_ID_UART" name="WCN_UART" type="WCN_UART"/>
  122642. <instance address="WCN_SYS_APB_ADDR_BASE + WCN_SYS_APB_STEP * WCN_SYS_APB_ID_RF_IF" name="WCN_RF_IF" type="WCN_RF_IF"/>
  122643. <instance address="WCN_SYS_APB_ADDR_BASE + WCN_SYS_APB_STEP * WCN_SYS_APB_ID_MODEM" name="WCN_MODEM" type="WCN_BT_MODEM"/>
  122644. <instance address="WCN_SYS_APB_ADDR_BASE + WCN_SYS_APB_STEP * WCN_SYS_APB_ID_WLAN" name="WCN_WLAN" type="WCN_WLAN"/>
  122645. <instance address="WCN_SYS_APB_ADDR_BASE + WCN_SYS_APB_STEP * WCN_SYS_APB_ID_WDT" name="WCN_WDT" type="WCN_WDT"/>
  122646. <instance address="WCN_SYS_APB_ADDR_BASE + WCN_SYS_APB_STEP * WCN_SYS_APB_ID_TRAP" name="WCN_TRAP" type="WCN_TRAP"/>
  122647. <instance address="WCN_SYS_APB_ADDR_BASE + WCN_SYS_APB_STEP * WCN_SYS_APB_ID_SYSTICK" name="WCN_SYSTICK" type="WCN_SYSTICK"/>
  122648. <instance address="WCN_SYS_APB_ADDR_BASE + WCN_SYS_APB_STEP * WCN_SYS_APB_ID_COMREGS_WCN" name="WCN_COMREGS_WCN" type="WCN_COMREGS"/>
  122649. <instance address="WCN_SYS_APB_ADDR_BASE + WCN_SYS_APB_STEP * WCN_SYS_APB_ID_COMREGS_AP" name="WCN_COMREGS_AP" type="WCN_COMREGS"/>
  122650. <instance address="0x15100000" name="WCN_AUD_IFC" type="WCN_BB_IFC"/>
  122651. <instance address="0x15102000" name="WCN_FM_DSP" type="WCN_FM_DSP"/>
  122652. </archive>
  122653. </bigarchive>