fpoint_hw_qsys.v 277 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469
  1. // (C) 2001-2018 Intel Corporation. All rights reserved.
  2. // Your use of Intel Corporation's design tools, logic functions and other
  3. // software and tools, and its AMPP partner logic functions, and any output
  4. // files from any of the foregoing (including device programming or simulation
  5. // files), and any associated documentation or information are expressly subject
  6. // to the terms and conditions of the Intel Program License Subscription
  7. // Agreement, Intel FPGA IP License Agreement, or other applicable
  8. // license agreement, including, without limitation, that your use is for the
  9. // sole purpose of programming logic devices manufactured by Intel and sold by
  10. // Intel or its authorized distributors. Please refer to the applicable
  11. // agreement for further details.
  12. // Copyright (C) 1991-2010 Altera Corporation
  13. // Your use of Altera Corporation's design tools, logic functions
  14. // and other software and tools, and its AMPP partner logic
  15. // functions, and any output files from any of the foregoing
  16. // (including device programming or simulation files), and any
  17. // associated documentation or information are expressly subject
  18. // to the terms and conditions of the Altera Program License
  19. // Subscription Agreement, Altera MegaCore Function License
  20. // Agreement, or other applicable license agreement, including,
  21. // without limitation, that your use is for the sole purpose of
  22. // programming logic devices manufactured by Altera and sold by
  23. // Altera or its authorized distributors. Please refer to the
  24. // applicable agreement for further details.
  25. //synthesis_resources = lpm_add_sub 4 lpm_mult 1 reg 254
  26. //synopsys translate_off
  27. `timescale 1 ps / 1 ps
  28. //synopsys translate_on
  29. module fpoint_hw_qsys_mult_single
  30. (
  31. aclr,
  32. clk_en,
  33. clock,
  34. dataa,
  35. datab,
  36. result) /* synthesis synthesis_clearbox=1 */;
  37. input aclr;
  38. input clk_en;
  39. input clock;
  40. input [31:0] dataa;
  41. input [31:0] datab;
  42. output [31:0] result;
  43. `ifndef ALTERA_RESERVED_QIS
  44. // synopsys translate_off
  45. `endif
  46. tri0 aclr;
  47. tri1 clk_en;
  48. `ifndef ALTERA_RESERVED_QIS
  49. // synopsys translate_on
  50. `endif
  51. reg dataa_exp_all_one_ff_p1;
  52. reg dataa_exp_not_zero_ff_p1;
  53. reg dataa_man_not_zero_ff_p1;
  54. reg dataa_man_not_zero_ff_p2;
  55. reg datab_exp_all_one_ff_p1;
  56. reg datab_exp_not_zero_ff_p1;
  57. reg datab_man_not_zero_ff_p1;
  58. reg datab_man_not_zero_ff_p2;
  59. reg [9:0] delay_exp2_bias;
  60. reg [9:0] delay_exp3_bias;
  61. reg [9:0] delay_exp_bias;
  62. reg delay_man_product_msb;
  63. reg delay_man_product_msb2;
  64. reg delay_man_product_msb_p0;
  65. reg [23:0] delay_round;
  66. reg [8:0] exp_add_p1;
  67. reg [9:0] exp_adj_p1;
  68. reg [9:0] exp_adj_p2;
  69. reg [8:0] exp_bias_p1;
  70. reg [8:0] exp_bias_p2;
  71. reg [7:0] exp_result_ff;
  72. reg input_is_infinity_dffe_0;
  73. reg input_is_infinity_dffe_1;
  74. reg input_is_infinity_dffe_2;
  75. reg input_is_infinity_dffe_3;
  76. reg input_is_infinity_ff1;
  77. reg input_is_infinity_ff2;
  78. reg input_is_infinity_ff3;
  79. reg input_is_infinity_ff4;
  80. reg input_is_nan_dffe_0;
  81. reg input_is_nan_dffe_1;
  82. reg input_is_nan_dffe_2;
  83. reg input_is_nan_dffe_3;
  84. reg input_is_nan_ff1;
  85. reg input_is_nan_ff2;
  86. reg input_is_nan_ff3;
  87. reg input_is_nan_ff4;
  88. reg input_not_zero_dffe_0;
  89. reg input_not_zero_dffe_1;
  90. reg input_not_zero_dffe_2;
  91. reg input_not_zero_dffe_3;
  92. reg input_not_zero_ff1;
  93. reg input_not_zero_ff2;
  94. reg input_not_zero_ff3;
  95. reg input_not_zero_ff4;
  96. reg lsb_dffe;
  97. reg [22:0] man_result_ff;
  98. reg man_round_carry_p0;
  99. reg [23:0] man_round_p;
  100. reg [23:0] man_round_p0;
  101. reg [24:0] man_round_p2;
  102. reg round_dffe;
  103. reg [0:0] sign_node_ff0;
  104. reg [0:0] sign_node_ff1;
  105. reg [0:0] sign_node_ff2;
  106. reg [0:0] sign_node_ff3;
  107. reg [0:0] sign_node_ff4;
  108. reg [0:0] sign_node_ff5;
  109. reg [0:0] sign_node_ff6;
  110. reg [0:0] sign_node_ff7;
  111. reg [0:0] sign_node_ff8;
  112. reg [0:0] sign_node_ff9;
  113. reg sticky_dffe;
  114. wire [8:0] wire_exp_add_adder_result;
  115. wire [9:0] wire_exp_adj_adder_result;
  116. wire [9:0] wire_exp_bias_subtr_result;
  117. wire [24:0] wire_man_round_adder_result;
  118. wire [47:0] wire_man_product2_mult_result;
  119. wire [9:0] bias;
  120. wire [7:0] dataa_exp_all_one;
  121. wire [7:0] dataa_exp_not_zero;
  122. wire [22:0] dataa_man_not_zero;
  123. wire [7:0] datab_exp_all_one;
  124. wire [7:0] datab_exp_not_zero;
  125. wire [22:0] datab_man_not_zero;
  126. wire exp_is_inf;
  127. wire exp_is_zero;
  128. wire [9:0] expmod;
  129. wire [7:0] inf_num;
  130. wire lsb_bit;
  131. wire [24:0] man_shift_full;
  132. wire [7:0] result_exp_all_one;
  133. wire [8:0] result_exp_not_zero;
  134. wire round_bit;
  135. wire round_carry;
  136. wire [22:0] sticky_bit;
  137. // synopsys translate_off
  138. initial
  139. dataa_exp_all_one_ff_p1 = 0;
  140. // synopsys translate_on
  141. always @ ( posedge clock or posedge aclr)
  142. if (aclr == 1'b1) dataa_exp_all_one_ff_p1 <= 1'b0;
  143. else if (clk_en == 1'b1) dataa_exp_all_one_ff_p1 <= dataa_exp_all_one[7];
  144. // synopsys translate_off
  145. initial
  146. dataa_exp_not_zero_ff_p1 = 0;
  147. // synopsys translate_on
  148. always @ ( posedge clock or posedge aclr)
  149. if (aclr == 1'b1) dataa_exp_not_zero_ff_p1 <= 1'b0;
  150. else if (clk_en == 1'b1) dataa_exp_not_zero_ff_p1 <= dataa_exp_not_zero[7];
  151. // synopsys translate_off
  152. initial
  153. dataa_man_not_zero_ff_p1 = 0;
  154. // synopsys translate_on
  155. always @ ( posedge clock or posedge aclr)
  156. if (aclr == 1'b1) dataa_man_not_zero_ff_p1 <= 1'b0;
  157. else if (clk_en == 1'b1) dataa_man_not_zero_ff_p1 <= dataa_man_not_zero[10];
  158. // synopsys translate_off
  159. initial
  160. dataa_man_not_zero_ff_p2 = 0;
  161. // synopsys translate_on
  162. always @ ( posedge clock or posedge aclr)
  163. if (aclr == 1'b1) dataa_man_not_zero_ff_p2 <= 1'b0;
  164. else if (clk_en == 1'b1) dataa_man_not_zero_ff_p2 <= dataa_man_not_zero[22];
  165. // synopsys translate_off
  166. initial
  167. datab_exp_all_one_ff_p1 = 0;
  168. // synopsys translate_on
  169. always @ ( posedge clock or posedge aclr)
  170. if (aclr == 1'b1) datab_exp_all_one_ff_p1 <= 1'b0;
  171. else if (clk_en == 1'b1) datab_exp_all_one_ff_p1 <= datab_exp_all_one[7];
  172. // synopsys translate_off
  173. initial
  174. datab_exp_not_zero_ff_p1 = 0;
  175. // synopsys translate_on
  176. always @ ( posedge clock or posedge aclr)
  177. if (aclr == 1'b1) datab_exp_not_zero_ff_p1 <= 1'b0;
  178. else if (clk_en == 1'b1) datab_exp_not_zero_ff_p1 <= datab_exp_not_zero[7];
  179. // synopsys translate_off
  180. initial
  181. datab_man_not_zero_ff_p1 = 0;
  182. // synopsys translate_on
  183. always @ ( posedge clock or posedge aclr)
  184. if (aclr == 1'b1) datab_man_not_zero_ff_p1 <= 1'b0;
  185. else if (clk_en == 1'b1) datab_man_not_zero_ff_p1 <= datab_man_not_zero[10];
  186. // synopsys translate_off
  187. initial
  188. datab_man_not_zero_ff_p2 = 0;
  189. // synopsys translate_on
  190. always @ ( posedge clock or posedge aclr)
  191. if (aclr == 1'b1) datab_man_not_zero_ff_p2 <= 1'b0;
  192. else if (clk_en == 1'b1) datab_man_not_zero_ff_p2 <= datab_man_not_zero[22];
  193. // synopsys translate_off
  194. initial
  195. delay_exp2_bias = 0;
  196. // synopsys translate_on
  197. always @ ( posedge clock or posedge aclr)
  198. if (aclr == 1'b1) delay_exp2_bias <= 10'b0;
  199. else if (clk_en == 1'b1) delay_exp2_bias <= delay_exp_bias;
  200. // synopsys translate_off
  201. initial
  202. delay_exp3_bias = 0;
  203. // synopsys translate_on
  204. always @ ( posedge clock or posedge aclr)
  205. if (aclr == 1'b1) delay_exp3_bias <= 10'b0;
  206. else if (clk_en == 1'b1) delay_exp3_bias <= delay_exp2_bias;
  207. // synopsys translate_off
  208. initial
  209. delay_exp_bias = 0;
  210. // synopsys translate_on
  211. always @ ( posedge clock or posedge aclr)
  212. if (aclr == 1'b1) delay_exp_bias <= 10'b0;
  213. else if (clk_en == 1'b1) delay_exp_bias <= wire_exp_bias_subtr_result;
  214. // synopsys translate_off
  215. initial
  216. delay_man_product_msb = 0;
  217. // synopsys translate_on
  218. always @ ( posedge clock or posedge aclr)
  219. if (aclr == 1'b1) delay_man_product_msb <= 1'b0;
  220. else if (clk_en == 1'b1) delay_man_product_msb <= delay_man_product_msb_p0;
  221. // synopsys translate_off
  222. initial
  223. delay_man_product_msb2 = 0;
  224. // synopsys translate_on
  225. always @ ( posedge clock or posedge aclr)
  226. if (aclr == 1'b1) delay_man_product_msb2 <= 1'b0;
  227. else if (clk_en == 1'b1) delay_man_product_msb2 <= delay_man_product_msb;
  228. // synopsys translate_off
  229. initial
  230. delay_man_product_msb_p0 = 0;
  231. // synopsys translate_on
  232. always @ ( posedge clock or posedge aclr)
  233. if (aclr == 1'b1) delay_man_product_msb_p0 <= 1'b0;
  234. else if (clk_en == 1'b1) delay_man_product_msb_p0 <= wire_man_product2_mult_result[47];
  235. // synopsys translate_off
  236. initial
  237. delay_round = 0;
  238. // synopsys translate_on
  239. always @ ( posedge clock or posedge aclr)
  240. if (aclr == 1'b1) delay_round <= 24'b0;
  241. else if (clk_en == 1'b1) delay_round <= ((man_round_p2[23:0] & {24{(~ man_round_p2[24])}}) | (man_round_p2[24:1] & {24{man_round_p2[24]}}));
  242. // synopsys translate_off
  243. initial
  244. exp_add_p1 = 0;
  245. // synopsys translate_on
  246. always @ ( posedge clock or posedge aclr)
  247. if (aclr == 1'b1) exp_add_p1 <= 9'b0;
  248. else if (clk_en == 1'b1) exp_add_p1 <= wire_exp_add_adder_result;
  249. // synopsys translate_off
  250. initial
  251. exp_adj_p1 = 0;
  252. // synopsys translate_on
  253. always @ ( posedge clock or posedge aclr)
  254. if (aclr == 1'b1) exp_adj_p1 <= 10'b0;
  255. else if (clk_en == 1'b1) exp_adj_p1 <= delay_exp3_bias;
  256. // synopsys translate_off
  257. initial
  258. exp_adj_p2 = 0;
  259. // synopsys translate_on
  260. always @ ( posedge clock or posedge aclr)
  261. if (aclr == 1'b1) exp_adj_p2 <= 10'b0;
  262. else if (clk_en == 1'b1) exp_adj_p2 <= wire_exp_adj_adder_result;
  263. // synopsys translate_off
  264. initial
  265. exp_bias_p1 = 0;
  266. // synopsys translate_on
  267. always @ ( posedge clock or posedge aclr)
  268. if (aclr == 1'b1) exp_bias_p1 <= 9'b0;
  269. else if (clk_en == 1'b1) exp_bias_p1 <= exp_add_p1[8:0];
  270. // synopsys translate_off
  271. initial
  272. exp_bias_p2 = 0;
  273. // synopsys translate_on
  274. always @ ( posedge clock or posedge aclr)
  275. if (aclr == 1'b1) exp_bias_p2 <= 9'b0;
  276. else if (clk_en == 1'b1) exp_bias_p2 <= exp_bias_p1;
  277. // synopsys translate_off
  278. initial
  279. exp_result_ff = 0;
  280. // synopsys translate_on
  281. always @ ( posedge clock or posedge aclr)
  282. if (aclr == 1'b1) exp_result_ff <= 8'b0;
  283. else if (clk_en == 1'b1) exp_result_ff <= ((inf_num & {8{((exp_is_inf | input_is_infinity_ff4) | input_is_nan_ff4)}}) | ((exp_adj_p2[7:0] & {8{(~ exp_is_zero)}}) & {8{input_not_zero_ff4}}));
  284. // synopsys translate_off
  285. initial
  286. input_is_infinity_dffe_0 = 0;
  287. // synopsys translate_on
  288. always @ ( posedge clock or posedge aclr)
  289. if (aclr == 1'b1) input_is_infinity_dffe_0 <= 1'b0;
  290. else if (clk_en == 1'b1) input_is_infinity_dffe_0 <= ((dataa_exp_all_one_ff_p1 & (~ (dataa_man_not_zero_ff_p1 | dataa_man_not_zero_ff_p2))) | (datab_exp_all_one_ff_p1 & (~ (datab_man_not_zero_ff_p1 | datab_man_not_zero_ff_p2))));
  291. // synopsys translate_off
  292. initial
  293. input_is_infinity_dffe_1 = 0;
  294. // synopsys translate_on
  295. always @ ( posedge clock or posedge aclr)
  296. if (aclr == 1'b1) input_is_infinity_dffe_1 <= 1'b0;
  297. else if (clk_en == 1'b1) input_is_infinity_dffe_1 <= input_is_infinity_dffe_0;
  298. // synopsys translate_off
  299. initial
  300. input_is_infinity_dffe_2 = 0;
  301. // synopsys translate_on
  302. always @ ( posedge clock or posedge aclr)
  303. if (aclr == 1'b1) input_is_infinity_dffe_2 <= 1'b0;
  304. else if (clk_en == 1'b1) input_is_infinity_dffe_2 <= input_is_infinity_dffe_1;
  305. // synopsys translate_off
  306. initial
  307. input_is_infinity_dffe_3 = 0;
  308. // synopsys translate_on
  309. always @ ( posedge clock or posedge aclr)
  310. if (aclr == 1'b1) input_is_infinity_dffe_3 <= 1'b0;
  311. else if (clk_en == 1'b1) input_is_infinity_dffe_3 <= input_is_infinity_dffe_2;
  312. // synopsys translate_off
  313. initial
  314. input_is_infinity_ff1 = 0;
  315. // synopsys translate_on
  316. always @ ( posedge clock or posedge aclr)
  317. if (aclr == 1'b1) input_is_infinity_ff1 <= 1'b0;
  318. else if (clk_en == 1'b1) input_is_infinity_ff1 <= input_is_infinity_dffe_3;
  319. // synopsys translate_off
  320. initial
  321. input_is_infinity_ff2 = 0;
  322. // synopsys translate_on
  323. always @ ( posedge clock or posedge aclr)
  324. if (aclr == 1'b1) input_is_infinity_ff2 <= 1'b0;
  325. else if (clk_en == 1'b1) input_is_infinity_ff2 <= input_is_infinity_ff1;
  326. // synopsys translate_off
  327. initial
  328. input_is_infinity_ff3 = 0;
  329. // synopsys translate_on
  330. always @ ( posedge clock or posedge aclr)
  331. if (aclr == 1'b1) input_is_infinity_ff3 <= 1'b0;
  332. else if (clk_en == 1'b1) input_is_infinity_ff3 <= input_is_infinity_ff2;
  333. // synopsys translate_off
  334. initial
  335. input_is_infinity_ff4 = 0;
  336. // synopsys translate_on
  337. always @ ( posedge clock or posedge aclr)
  338. if (aclr == 1'b1) input_is_infinity_ff4 <= 1'b0;
  339. else if (clk_en == 1'b1) input_is_infinity_ff4 <= input_is_infinity_ff3;
  340. // synopsys translate_off
  341. initial
  342. input_is_nan_dffe_0 = 0;
  343. // synopsys translate_on
  344. always @ ( posedge clock or posedge aclr)
  345. if (aclr == 1'b1) input_is_nan_dffe_0 <= 1'b0;
  346. else if (clk_en == 1'b1) input_is_nan_dffe_0 <= ((dataa_exp_all_one_ff_p1 & (dataa_man_not_zero_ff_p1 | dataa_man_not_zero_ff_p2)) | (datab_exp_all_one_ff_p1 & (datab_man_not_zero_ff_p1 | datab_man_not_zero_ff_p2)));
  347. // synopsys translate_off
  348. initial
  349. input_is_nan_dffe_1 = 0;
  350. // synopsys translate_on
  351. always @ ( posedge clock or posedge aclr)
  352. if (aclr == 1'b1) input_is_nan_dffe_1 <= 1'b0;
  353. else if (clk_en == 1'b1) input_is_nan_dffe_1 <= input_is_nan_dffe_0;
  354. // synopsys translate_off
  355. initial
  356. input_is_nan_dffe_2 = 0;
  357. // synopsys translate_on
  358. always @ ( posedge clock or posedge aclr)
  359. if (aclr == 1'b1) input_is_nan_dffe_2 <= 1'b0;
  360. else if (clk_en == 1'b1) input_is_nan_dffe_2 <= input_is_nan_dffe_1;
  361. // synopsys translate_off
  362. initial
  363. input_is_nan_dffe_3 = 0;
  364. // synopsys translate_on
  365. always @ ( posedge clock or posedge aclr)
  366. if (aclr == 1'b1) input_is_nan_dffe_3 <= 1'b0;
  367. else if (clk_en == 1'b1) input_is_nan_dffe_3 <= input_is_nan_dffe_2;
  368. // synopsys translate_off
  369. initial
  370. input_is_nan_ff1 = 0;
  371. // synopsys translate_on
  372. always @ ( posedge clock or posedge aclr)
  373. if (aclr == 1'b1) input_is_nan_ff1 <= 1'b0;
  374. else if (clk_en == 1'b1) input_is_nan_ff1 <= input_is_nan_dffe_3;
  375. // synopsys translate_off
  376. initial
  377. input_is_nan_ff2 = 0;
  378. // synopsys translate_on
  379. always @ ( posedge clock or posedge aclr)
  380. if (aclr == 1'b1) input_is_nan_ff2 <= 1'b0;
  381. else if (clk_en == 1'b1) input_is_nan_ff2 <= input_is_nan_ff1;
  382. // synopsys translate_off
  383. initial
  384. input_is_nan_ff3 = 0;
  385. // synopsys translate_on
  386. always @ ( posedge clock or posedge aclr)
  387. if (aclr == 1'b1) input_is_nan_ff3 <= 1'b0;
  388. else if (clk_en == 1'b1) input_is_nan_ff3 <= input_is_nan_ff2;
  389. // synopsys translate_off
  390. initial
  391. input_is_nan_ff4 = 0;
  392. // synopsys translate_on
  393. always @ ( posedge clock or posedge aclr)
  394. if (aclr == 1'b1) input_is_nan_ff4 <= 1'b0;
  395. else if (clk_en == 1'b1) input_is_nan_ff4 <= input_is_nan_ff3;
  396. // synopsys translate_off
  397. initial
  398. input_not_zero_dffe_0 = 0;
  399. // synopsys translate_on
  400. always @ ( posedge clock or posedge aclr)
  401. if (aclr == 1'b1) input_not_zero_dffe_0 <= 1'b0;
  402. else if (clk_en == 1'b1) input_not_zero_dffe_0 <= (dataa_exp_not_zero_ff_p1 & datab_exp_not_zero_ff_p1);
  403. // synopsys translate_off
  404. initial
  405. input_not_zero_dffe_1 = 0;
  406. // synopsys translate_on
  407. always @ ( posedge clock or posedge aclr)
  408. if (aclr == 1'b1) input_not_zero_dffe_1 <= 1'b0;
  409. else if (clk_en == 1'b1) input_not_zero_dffe_1 <= input_not_zero_dffe_0;
  410. // synopsys translate_off
  411. initial
  412. input_not_zero_dffe_2 = 0;
  413. // synopsys translate_on
  414. always @ ( posedge clock or posedge aclr)
  415. if (aclr == 1'b1) input_not_zero_dffe_2 <= 1'b0;
  416. else if (clk_en == 1'b1) input_not_zero_dffe_2 <= input_not_zero_dffe_1;
  417. // synopsys translate_off
  418. initial
  419. input_not_zero_dffe_3 = 0;
  420. // synopsys translate_on
  421. always @ ( posedge clock or posedge aclr)
  422. if (aclr == 1'b1) input_not_zero_dffe_3 <= 1'b0;
  423. else if (clk_en == 1'b1) input_not_zero_dffe_3 <= input_not_zero_dffe_2;
  424. // synopsys translate_off
  425. initial
  426. input_not_zero_ff1 = 0;
  427. // synopsys translate_on
  428. always @ ( posedge clock or posedge aclr)
  429. if (aclr == 1'b1) input_not_zero_ff1 <= 1'b0;
  430. else if (clk_en == 1'b1) input_not_zero_ff1 <= input_not_zero_dffe_3;
  431. // synopsys translate_off
  432. initial
  433. input_not_zero_ff2 = 0;
  434. // synopsys translate_on
  435. always @ ( posedge clock or posedge aclr)
  436. if (aclr == 1'b1) input_not_zero_ff2 <= 1'b0;
  437. else if (clk_en == 1'b1) input_not_zero_ff2 <= input_not_zero_ff1;
  438. // synopsys translate_off
  439. initial
  440. input_not_zero_ff3 = 0;
  441. // synopsys translate_on
  442. always @ ( posedge clock or posedge aclr)
  443. if (aclr == 1'b1) input_not_zero_ff3 <= 1'b0;
  444. else if (clk_en == 1'b1) input_not_zero_ff3 <= input_not_zero_ff2;
  445. // synopsys translate_off
  446. initial
  447. input_not_zero_ff4 = 0;
  448. // synopsys translate_on
  449. always @ ( posedge clock or posedge aclr)
  450. if (aclr == 1'b1) input_not_zero_ff4 <= 1'b0;
  451. else if (clk_en == 1'b1) input_not_zero_ff4 <= input_not_zero_ff3;
  452. // synopsys translate_off
  453. initial
  454. lsb_dffe = 0;
  455. // synopsys translate_on
  456. always @ ( posedge clock or posedge aclr)
  457. if (aclr == 1'b1) lsb_dffe <= 1'b0;
  458. else if (clk_en == 1'b1) lsb_dffe <= lsb_bit;
  459. // synopsys translate_off
  460. initial
  461. man_result_ff = 0;
  462. // synopsys translate_on
  463. always @ ( posedge clock or posedge aclr)
  464. if (aclr == 1'b1) man_result_ff <= 23'b0;
  465. else if (clk_en == 1'b1) man_result_ff <= {((((((delay_round[22] & input_not_zero_ff4) & (~ input_is_infinity_ff4)) & (~ exp_is_inf)) & (~ exp_is_zero)) | (input_is_infinity_ff4 & (~ input_not_zero_ff4))) | input_is_nan_ff4), (((((delay_round[21:0] & {22{input_not_zero_ff4}}) & {22{(~ input_is_infinity_ff4)}}) & {22{(~ exp_is_inf)}}) & {22{(~ exp_is_zero)}}) & {22{(~ input_is_nan_ff4)}})};
  466. // synopsys translate_off
  467. initial
  468. man_round_carry_p0 = 0;
  469. // synopsys translate_on
  470. always @ ( posedge clock or posedge aclr)
  471. if (aclr == 1'b1) man_round_carry_p0 <= 1'b0;
  472. else if (clk_en == 1'b1) man_round_carry_p0 <= round_carry;
  473. // synopsys translate_off
  474. initial
  475. man_round_p = 0;
  476. // synopsys translate_on
  477. always @ ( posedge clock or posedge aclr)
  478. if (aclr == 1'b1) man_round_p <= 24'b0;
  479. else if (clk_en == 1'b1) man_round_p <= man_shift_full[24:1];
  480. // synopsys translate_off
  481. initial
  482. man_round_p0 = 0;
  483. // synopsys translate_on
  484. always @ ( posedge clock or posedge aclr)
  485. if (aclr == 1'b1) man_round_p0 <= 24'b0;
  486. else if (clk_en == 1'b1) man_round_p0 <= man_round_p;
  487. // synopsys translate_off
  488. initial
  489. man_round_p2 = 0;
  490. // synopsys translate_on
  491. always @ ( posedge clock or posedge aclr)
  492. if (aclr == 1'b1) man_round_p2 <= 25'b0;
  493. else if (clk_en == 1'b1) man_round_p2 <= wire_man_round_adder_result;
  494. // synopsys translate_off
  495. initial
  496. round_dffe = 0;
  497. // synopsys translate_on
  498. always @ ( posedge clock or posedge aclr)
  499. if (aclr == 1'b1) round_dffe <= 1'b0;
  500. else if (clk_en == 1'b1) round_dffe <= round_bit;
  501. // synopsys translate_off
  502. initial
  503. sign_node_ff0 = 0;
  504. // synopsys translate_on
  505. always @ ( posedge clock or posedge aclr)
  506. if (aclr == 1'b1) sign_node_ff0 <= 1'b0;
  507. else if (clk_en == 1'b1) sign_node_ff0 <= (dataa[31] ^ datab[31]);
  508. // synopsys translate_off
  509. initial
  510. sign_node_ff1 = 0;
  511. // synopsys translate_on
  512. always @ ( posedge clock or posedge aclr)
  513. if (aclr == 1'b1) sign_node_ff1 <= 1'b0;
  514. else if (clk_en == 1'b1) sign_node_ff1 <= sign_node_ff0[0:0];
  515. // synopsys translate_off
  516. initial
  517. sign_node_ff2 = 0;
  518. // synopsys translate_on
  519. always @ ( posedge clock or posedge aclr)
  520. if (aclr == 1'b1) sign_node_ff2 <= 1'b0;
  521. else if (clk_en == 1'b1) sign_node_ff2 <= sign_node_ff1[0:0];
  522. // synopsys translate_off
  523. initial
  524. sign_node_ff3 = 0;
  525. // synopsys translate_on
  526. always @ ( posedge clock or posedge aclr)
  527. if (aclr == 1'b1) sign_node_ff3 <= 1'b0;
  528. else if (clk_en == 1'b1) sign_node_ff3 <= sign_node_ff2[0:0];
  529. // synopsys translate_off
  530. initial
  531. sign_node_ff4 = 0;
  532. // synopsys translate_on
  533. always @ ( posedge clock or posedge aclr)
  534. if (aclr == 1'b1) sign_node_ff4 <= 1'b0;
  535. else if (clk_en == 1'b1) sign_node_ff4 <= sign_node_ff3[0:0];
  536. // synopsys translate_off
  537. initial
  538. sign_node_ff5 = 0;
  539. // synopsys translate_on
  540. always @ ( posedge clock or posedge aclr)
  541. if (aclr == 1'b1) sign_node_ff5 <= 1'b0;
  542. else if (clk_en == 1'b1) sign_node_ff5 <= sign_node_ff4[0:0];
  543. // synopsys translate_off
  544. initial
  545. sign_node_ff6 = 0;
  546. // synopsys translate_on
  547. always @ ( posedge clock or posedge aclr)
  548. if (aclr == 1'b1) sign_node_ff6 <= 1'b0;
  549. else if (clk_en == 1'b1) sign_node_ff6 <= sign_node_ff5[0:0];
  550. // synopsys translate_off
  551. initial
  552. sign_node_ff7 = 0;
  553. // synopsys translate_on
  554. always @ ( posedge clock or posedge aclr)
  555. if (aclr == 1'b1) sign_node_ff7 <= 1'b0;
  556. else if (clk_en == 1'b1) sign_node_ff7 <= sign_node_ff6[0:0];
  557. // synopsys translate_off
  558. initial
  559. sign_node_ff8 = 0;
  560. // synopsys translate_on
  561. always @ ( posedge clock or posedge aclr)
  562. if (aclr == 1'b1) sign_node_ff8 <= 1'b0;
  563. else if (clk_en == 1'b1) sign_node_ff8 <= sign_node_ff7[0:0];
  564. // synopsys translate_off
  565. initial
  566. sign_node_ff9 = 0;
  567. // synopsys translate_on
  568. always @ ( posedge clock or posedge aclr)
  569. if (aclr == 1'b1) sign_node_ff9 <= 1'b0;
  570. else if (clk_en == 1'b1) sign_node_ff9 <= sign_node_ff8[0:0];
  571. // synopsys translate_off
  572. initial
  573. sticky_dffe = 0;
  574. // synopsys translate_on
  575. always @ ( posedge clock or posedge aclr)
  576. if (aclr == 1'b1) sticky_dffe <= 1'b0;
  577. else if (clk_en == 1'b1) sticky_dffe <= sticky_bit[22];
  578. lpm_add_sub exp_add_adder
  579. (
  580. .aclr(aclr),
  581. .cin(1'b0),
  582. .clken(clk_en),
  583. .clock(clock),
  584. .cout(),
  585. .dataa({1'b0, dataa[30:23]}),
  586. .datab({1'b0, datab[30:23]}),
  587. .overflow(),
  588. .result(wire_exp_add_adder_result)
  589. `ifndef FORMAL_VERIFICATION
  590. // synopsys translate_off
  591. `endif
  592. ,
  593. .add_sub(1'b1)
  594. `ifndef FORMAL_VERIFICATION
  595. // synopsys translate_on
  596. `endif
  597. );
  598. defparam
  599. exp_add_adder.lpm_pipeline = 1,
  600. exp_add_adder.lpm_width = 9,
  601. exp_add_adder.lpm_type = "lpm_add_sub";
  602. lpm_add_sub exp_adj_adder
  603. (
  604. .cin(1'b0),
  605. .cout(),
  606. .dataa(exp_adj_p1),
  607. .datab({expmod[9:0]}),
  608. .overflow(),
  609. .result(wire_exp_adj_adder_result)
  610. `ifndef FORMAL_VERIFICATION
  611. // synopsys translate_off
  612. `endif
  613. ,
  614. .aclr(1'b0),
  615. .add_sub(1'b1),
  616. .clken(1'b1),
  617. .clock(1'b0)
  618. `ifndef FORMAL_VERIFICATION
  619. // synopsys translate_on
  620. `endif
  621. );
  622. defparam
  623. exp_adj_adder.lpm_pipeline = 0,
  624. exp_adj_adder.lpm_width = 10,
  625. exp_adj_adder.lpm_type = "lpm_add_sub";
  626. lpm_add_sub exp_bias_subtr
  627. (
  628. .cout(),
  629. .dataa({1'b0, exp_bias_p2}),
  630. .datab({bias[9:0]}),
  631. .overflow(),
  632. .result(wire_exp_bias_subtr_result)
  633. `ifndef FORMAL_VERIFICATION
  634. // synopsys translate_off
  635. `endif
  636. ,
  637. .aclr(1'b0),
  638. .add_sub(1'b1),
  639. .cin(),
  640. .clken(1'b1),
  641. .clock(1'b0)
  642. `ifndef FORMAL_VERIFICATION
  643. // synopsys translate_on
  644. `endif
  645. );
  646. defparam
  647. exp_bias_subtr.lpm_direction = "SUB",
  648. exp_bias_subtr.lpm_pipeline = 0,
  649. exp_bias_subtr.lpm_representation = "UNSIGNED",
  650. exp_bias_subtr.lpm_width = 10,
  651. exp_bias_subtr.lpm_type = "lpm_add_sub";
  652. lpm_add_sub man_round_adder
  653. (
  654. .cout(),
  655. .dataa({1'b0, man_round_p0}),
  656. .datab({{24{1'b0}}, man_round_carry_p0}),
  657. .overflow(),
  658. .result(wire_man_round_adder_result)
  659. `ifndef FORMAL_VERIFICATION
  660. // synopsys translate_off
  661. `endif
  662. ,
  663. .aclr(1'b0),
  664. .add_sub(1'b1),
  665. .cin(),
  666. .clken(1'b1),
  667. .clock(1'b0)
  668. `ifndef FORMAL_VERIFICATION
  669. // synopsys translate_on
  670. `endif
  671. );
  672. defparam
  673. man_round_adder.lpm_pipeline = 0,
  674. man_round_adder.lpm_width = 25,
  675. man_round_adder.lpm_type = "lpm_add_sub";
  676. lpm_mult man_product2_mult
  677. (
  678. .aclr(aclr),
  679. .clken(clk_en),
  680. .clock(clock),
  681. .dataa({1'b1, dataa[22:0]}),
  682. .datab({1'b1, datab[22:0]}),
  683. .result(wire_man_product2_mult_result)
  684. `ifndef FORMAL_VERIFICATION
  685. // synopsys translate_off
  686. `endif
  687. ,
  688. .sum({1{1'b0}})
  689. `ifndef FORMAL_VERIFICATION
  690. // synopsys translate_on
  691. `endif
  692. );
  693. defparam
  694. man_product2_mult.lpm_pipeline = 5,
  695. man_product2_mult.lpm_representation = "UNSIGNED",
  696. man_product2_mult.lpm_widtha = 24,
  697. man_product2_mult.lpm_widthb = 24,
  698. man_product2_mult.lpm_widthp = 48,
  699. man_product2_mult.lpm_widths = 1,
  700. man_product2_mult.lpm_type = "lpm_mult",
  701. man_product2_mult.lpm_hint = "DEDICATED_MULTIPLIER_CIRCUITRY=YES";
  702. assign
  703. bias = {{3{1'b0}}, {7{1'b1}}},
  704. dataa_exp_all_one = {(dataa[30] & dataa_exp_all_one[6]), (dataa[29] & dataa_exp_all_one[5]), (dataa[28] & dataa_exp_all_one[4]), (dataa[27] & dataa_exp_all_one[3]), (dataa[26] & dataa_exp_all_one[2]), (dataa[25] & dataa_exp_all_one[1]), (dataa[24] & dataa_exp_all_one[0]), dataa[23]},
  705. dataa_exp_not_zero = {(dataa[30] | dataa_exp_not_zero[6]), (dataa[29] | dataa_exp_not_zero[5]), (dataa[28] | dataa_exp_not_zero[4]), (dataa[27] | dataa_exp_not_zero[3]), (dataa[26] | dataa_exp_not_zero[2]), (dataa[25] | dataa_exp_not_zero[1]), (dataa[24] | dataa_exp_not_zero[0]), dataa[23]},
  706. dataa_man_not_zero = {(dataa[22] | dataa_man_not_zero[21]), (dataa[21] | dataa_man_not_zero[20]), (dataa[20] | dataa_man_not_zero[19]), (dataa[19] | dataa_man_not_zero[18]), (dataa[18] | dataa_man_not_zero[17]), (dataa[17] | dataa_man_not_zero[16]), (dataa[16] | dataa_man_not_zero[15]), (dataa[15] | dataa_man_not_zero[14]), (dataa[14] | dataa_man_not_zero[13]), (dataa[13] | dataa_man_not_zero[12]), (dataa[12] | dataa_man_not_zero[11]), dataa[11], (dataa[10] | dataa_man_not_zero[9]), (dataa[9] | dataa_man_not_zero[8]), (dataa[8] | dataa_man_not_zero[7]), (dataa[7] | dataa_man_not_zero[6]), (dataa[6] | dataa_man_not_zero[5]), (dataa[5] | dataa_man_not_zero[4]), (dataa[4] | dataa_man_not_zero[3]), (dataa[3] | dataa_man_not_zero[2]), (dataa[2] | dataa_man_not_zero[1]), (dataa[1] | dataa_man_not_zero[0]), dataa[0]},
  707. datab_exp_all_one = {(datab[30] & datab_exp_all_one[6]), (datab[29] & datab_exp_all_one[5]), (datab[28] & datab_exp_all_one[4]), (datab[27] & datab_exp_all_one[3]), (datab[26] & datab_exp_all_one[2]), (datab[25] & datab_exp_all_one[1]), (datab[24] & datab_exp_all_one[0]), datab[23]},
  708. datab_exp_not_zero = {(datab[30] | datab_exp_not_zero[6]), (datab[29] | datab_exp_not_zero[5]), (datab[28] | datab_exp_not_zero[4]), (datab[27] | datab_exp_not_zero[3]), (datab[26] | datab_exp_not_zero[2]), (datab[25] | datab_exp_not_zero[1]), (datab[24] | datab_exp_not_zero[0]), datab[23]},
  709. datab_man_not_zero = {(datab[22] | datab_man_not_zero[21]), (datab[21] | datab_man_not_zero[20]), (datab[20] | datab_man_not_zero[19]), (datab[19] | datab_man_not_zero[18]), (datab[18] | datab_man_not_zero[17]), (datab[17] | datab_man_not_zero[16]), (datab[16] | datab_man_not_zero[15]), (datab[15] | datab_man_not_zero[14]), (datab[14] | datab_man_not_zero[13]), (datab[13] | datab_man_not_zero[12]), (datab[12] | datab_man_not_zero[11]), datab[11], (datab[10] | datab_man_not_zero[9]), (datab[9] | datab_man_not_zero[8]), (datab[8] | datab_man_not_zero[7]), (datab[7] | datab_man_not_zero[6]), (datab[6] | datab_man_not_zero[5]), (datab[5] | datab_man_not_zero[4]), (datab[4] | datab_man_not_zero[3]), (datab[3] | datab_man_not_zero[2]), (datab[2] | datab_man_not_zero[1]), (datab[1] | datab_man_not_zero[0]), datab[0]},
  710. exp_is_inf = (((~ exp_adj_p2[9]) & exp_adj_p2[8]) | ((~ exp_adj_p2[8]) & result_exp_all_one[7])),
  711. exp_is_zero = (exp_adj_p2[9] | (~ result_exp_not_zero[8])),
  712. expmod = {{8{1'b0}}, (delay_man_product_msb2 & man_round_p2[24]), (delay_man_product_msb2 ^ man_round_p2[24])},
  713. inf_num = {8{1'b1}},
  714. lsb_bit = man_shift_full[1],
  715. man_shift_full = ((wire_man_product2_mult_result[46:22] & {25{(~ wire_man_product2_mult_result[47])}}) | (wire_man_product2_mult_result[47:23] & {25{wire_man_product2_mult_result[47]}})),
  716. result = {sign_node_ff9[0:0], exp_result_ff[7:0], man_result_ff[22:0]},
  717. result_exp_all_one = {(result_exp_all_one[6] & exp_adj_p2[7]), (result_exp_all_one[5] & exp_adj_p2[6]), (result_exp_all_one[4] & exp_adj_p2[5]), (result_exp_all_one[3] & exp_adj_p2[4]), (result_exp_all_one[2] & exp_adj_p2[3]), (result_exp_all_one[1] & exp_adj_p2[2]), (result_exp_all_one[0] & exp_adj_p2[1]), exp_adj_p2[0]},
  718. result_exp_not_zero = {(result_exp_not_zero[7] | exp_adj_p2[8]), (result_exp_not_zero[6] | exp_adj_p2[7]), (result_exp_not_zero[5] | exp_adj_p2[6]), (result_exp_not_zero[4] | exp_adj_p2[5]), (result_exp_not_zero[3] | exp_adj_p2[4]), (result_exp_not_zero[2] | exp_adj_p2[3]), (result_exp_not_zero[1] | exp_adj_p2[2]), (result_exp_not_zero[0] | exp_adj_p2[1]), exp_adj_p2[0]},
  719. round_bit = man_shift_full[0],
  720. round_carry = (round_dffe & (lsb_dffe | sticky_dffe)),
  721. sticky_bit = {(sticky_bit[21] | (wire_man_product2_mult_result[47] & wire_man_product2_mult_result[22])), (sticky_bit[20] | wire_man_product2_mult_result[21]), (sticky_bit[19] | wire_man_product2_mult_result[20]), (sticky_bit[18] | wire_man_product2_mult_result[19]), (sticky_bit[17] | wire_man_product2_mult_result[18]), (sticky_bit[16] | wire_man_product2_mult_result[17]), (sticky_bit[15] | wire_man_product2_mult_result[16]), (sticky_bit[14] | wire_man_product2_mult_result[15]), (sticky_bit[13] | wire_man_product2_mult_result[14]), (sticky_bit[12] | wire_man_product2_mult_result[13]), (sticky_bit[11] | wire_man_product2_mult_result[12]), (sticky_bit[10] | wire_man_product2_mult_result[11]), (sticky_bit[9] | wire_man_product2_mult_result[10]), (sticky_bit[8] | wire_man_product2_mult_result[9]), (sticky_bit[7] | wire_man_product2_mult_result[8]), (sticky_bit[6] | wire_man_product2_mult_result[7]), (sticky_bit[5] | wire_man_product2_mult_result[6]), (sticky_bit[4] | wire_man_product2_mult_result[5]), (sticky_bit[3] | wire_man_product2_mult_result[4]), (sticky_bit[2] | wire_man_product2_mult_result[3]), (sticky_bit[1] | wire_man_product2_mult_result[2]), (sticky_bit[0] | wire_man_product2_mult_result[1]), wire_man_product2_mult_result[0]};
  722. endmodule //fpoint_hw_qsys_mult_single
  723. //VALID FILE
  724. //altfp_add_sub CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" DENORMAL_SUPPORT="NO" DEVICE_FAMILY="STRATIXIV" DIRECTION="VARIABLE" EXCEPTION_HANDLING="NO" PIPELINE=8 REDUCED_FUNCTIONALITY="NO" SPEED_OPTIMIZED="YES" WIDTH_EXP=8 WIDTH_MAN=23 aclr add_sub clk_en clock dataa datab result
  725. //VERSION_BEGIN 10.1 cbx_altbarrel_shift 2010:09:06:21:07:24:PN cbx_altfp_add_sub 2010:09:06:21:07:24:PN cbx_altpriority_encoder 2010:09:06:21:07:25:PN cbx_cycloneii 2010:09:06:21:07:25:PN cbx_lpm_add_sub 2010:09:06:21:07:25:PN cbx_lpm_compare 2010:09:06:21:07:25:PN cbx_mgl 2010:09:06:21:22:18:PN cbx_stratix 2010:09:06:21:07:25:PN cbx_stratixii 2010:09:06:21:07:25:PN VERSION_END
  726. // synthesis VERILOG_INPUT_VERSION VERILOG_2001
  727. // altera message_off 10463
  728. // Copyright (C) 1991-2010 Altera Corporation
  729. // Your use of Altera Corporation's design tools, logic functions
  730. // and other software and tools, and its AMPP partner logic
  731. // functions, and any output files from any of the foregoing
  732. // (including device programming or simulation files), and any
  733. // associated documentation or information are expressly subject
  734. // to the terms and conditions of the Altera Program License
  735. // Subscription Agreement, Altera MegaCore Function License
  736. // Agreement, or other applicable license agreement, including,
  737. // without limitation, that your use is for the sole purpose of
  738. // programming logic devices manufactured by Altera and sold by
  739. // Altera or its authorized distributors. Please refer to the
  740. // applicable agreement for further details.
  741. //altbarrel_shift CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" DEVICE_FAMILY="STRATIXIV" PIPELINE=1 SHIFTDIR="LEFT" WIDTH=26 WIDTHDIST=5 aclr clk_en clock data distance result
  742. //VERSION_BEGIN 10.1 cbx_altbarrel_shift 2010:09:06:21:07:24:PN cbx_mgl 2010:09:06:21:22:18:PN VERSION_END
  743. //synthesis_resources = reg 27
  744. //synopsys translate_off
  745. `timescale 1 ps / 1 ps
  746. //synopsys translate_on
  747. module fpoint_hw_qsys_addsub_single_altbarrel_shift_fjg
  748. (
  749. aclr,
  750. clk_en,
  751. clock,
  752. data,
  753. distance,
  754. result) /* synthesis synthesis_clearbox=1 */;
  755. input aclr;
  756. input clk_en;
  757. input clock;
  758. input [25:0] data;
  759. input [4:0] distance;
  760. output [25:0] result;
  761. `ifndef ALTERA_RESERVED_QIS
  762. // synopsys translate_off
  763. `endif
  764. tri0 aclr;
  765. tri1 clk_en;
  766. tri0 clock;
  767. `ifndef ALTERA_RESERVED_QIS
  768. // synopsys translate_on
  769. `endif
  770. reg [0:0] dir_pipe;
  771. reg [25:0] sbit_piper1d;
  772. wire [5:0] dir_w;
  773. wire direction_w;
  774. wire [15:0] pad_w;
  775. wire [155:0] sbit_w;
  776. wire [4:0] sel_w;
  777. wire [129:0] smux_w;
  778. // synopsys translate_off
  779. initial
  780. dir_pipe = 0;
  781. // synopsys translate_on
  782. always @ ( posedge clock or posedge aclr)
  783. if (aclr == 1'b1) dir_pipe <= 1'b0;
  784. else if (clk_en == 1'b1) dir_pipe <= {dir_w[4]};
  785. // synopsys translate_off
  786. initial
  787. sbit_piper1d = 0;
  788. // synopsys translate_on
  789. always @ ( posedge clock or posedge aclr)
  790. if (aclr == 1'b1) sbit_piper1d <= 26'b0;
  791. else if (clk_en == 1'b1) sbit_piper1d <= smux_w[129:104];
  792. assign
  793. dir_w = {dir_pipe[0], dir_w[3:0], direction_w},
  794. direction_w = 1'b0,
  795. pad_w = {16{1'b0}},
  796. result = sbit_w[155:130],
  797. sbit_w = {sbit_piper1d, smux_w[103:0], data},
  798. sel_w = {distance[4:0]},
  799. smux_w = {((({26{(sel_w[4] & (~ dir_w[4]))}} & {sbit_w[113:104], pad_w[15:0]}) | ({26{(sel_w[4] & dir_w[4])}} & {pad_w[15:0], sbit_w[129:120]})) | ({26{(~ sel_w[4])}} & sbit_w[129:104])), ((({26{(sel_w[3] & (~ dir_w[3]))}} & {sbit_w[95:78], pad_w[7:0]}) | ({26{(sel_w[3] & dir_w[3])}} & {pad_w[7:0], sbit_w[103:86]})) | ({26{(~ sel_w[3])}} & sbit_w[103:78])), ((({26{(sel_w[2] & (~ dir_w[2]))}} & {sbit_w[73:52], pad_w[3:0]}) | ({26{(sel_w[2] & dir_w[2])}} & {pad_w[3:0], sbit_w[77:56]})) | ({26{(~ sel_w[2])}} & sbit_w[77:52])), ((({26{(sel_w[1] & (~ dir_w[1]))}} & {sbit_w[49:26], pad_w[1:0]}) | ({26{(sel_w[1] & dir_w[1])}} & {pad_w[1:0], sbit_w[51:28]})) | ({26{(~ sel_w[1])}} & sbit_w[51:26])), ((({26{(sel_w[0] & (~ dir_w[0]))}} & {sbit_w[24:0], pad_w[0]}) | ({26{(sel_w[0] & dir_w[0])}} & {pad_w[0], sbit_w[25:1]})) | ({26{(~ sel_w[0])}} & sbit_w[25:0]))};
  800. endmodule //fpoint_hw_qsys_addsub_single_altbarrel_shift_fjg
  801. //altbarrel_shift CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" DEVICE_FAMILY="STRATIXIV" SHIFTDIR="RIGHT" WIDTH=26 WIDTHDIST=5 data distance result
  802. //VERSION_BEGIN 10.1 cbx_altbarrel_shift 2010:09:06:21:07:24:PN cbx_mgl 2010:09:06:21:22:18:PN VERSION_END
  803. //synthesis_resources =
  804. //synopsys translate_off
  805. `timescale 1 ps / 1 ps
  806. //synopsys translate_on
  807. module fpoint_hw_qsys_addsub_single_altbarrel_shift_44e
  808. (
  809. data,
  810. distance,
  811. result) /* synthesis synthesis_clearbox=1 */;
  812. input [25:0] data;
  813. input [4:0] distance;
  814. output [25:0] result;
  815. wire [5:0] dir_w;
  816. wire direction_w;
  817. wire [15:0] pad_w;
  818. wire [155:0] sbit_w;
  819. wire [4:0] sel_w;
  820. wire [129:0] smux_w;
  821. assign
  822. dir_w = {dir_w[4:0], direction_w},
  823. direction_w = 1'b1,
  824. pad_w = {16{1'b0}},
  825. result = sbit_w[155:130],
  826. sbit_w = {smux_w[129:0], data},
  827. sel_w = {distance[4:0]},
  828. smux_w = {((({26{(sel_w[4] & (~ dir_w[4]))}} & {sbit_w[113:104], pad_w[15:0]}) | ({26{(sel_w[4] & dir_w[4])}} & {pad_w[15:0], sbit_w[129:120]})) | ({26{(~ sel_w[4])}} & sbit_w[129:104])), ((({26{(sel_w[3] & (~ dir_w[3]))}} & {sbit_w[95:78], pad_w[7:0]}) | ({26{(sel_w[3] & dir_w[3])}} & {pad_w[7:0], sbit_w[103:86]})) | ({26{(~ sel_w[3])}} & sbit_w[103:78])), ((({26{(sel_w[2] & (~ dir_w[2]))}} & {sbit_w[73:52], pad_w[3:0]}) | ({26{(sel_w[2] & dir_w[2])}} & {pad_w[3:0], sbit_w[77:56]})) | ({26{(~ sel_w[2])}} & sbit_w[77:52])), ((({26{(sel_w[1] & (~ dir_w[1]))}} & {sbit_w[49:26], pad_w[1:0]}) | ({26{(sel_w[1] & dir_w[1])}} & {pad_w[1:0], sbit_w[51:28]})) | ({26{(~ sel_w[1])}} & sbit_w[51:26])), ((({26{(sel_w[0] & (~ dir_w[0]))}} & {sbit_w[24:0], pad_w[0]}) | ({26{(sel_w[0] & dir_w[0])}} & {pad_w[0], sbit_w[25:1]})) | ({26{(~ sel_w[0])}} & sbit_w[25:0]))};
  829. endmodule //fpoint_hw_qsys_addsub_single_altbarrel_shift_44e
  830. //altpriority_encoder CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" WIDTH=32 WIDTHAD=5 data q
  831. //VERSION_BEGIN 10.1 cbx_altpriority_encoder 2010:09:06:21:07:25:PN cbx_mgl 2010:09:06:21:22:18:PN VERSION_END
  832. //altpriority_encoder CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" LSB_PRIORITY="NO" WIDTH=16 WIDTHAD=4 data q
  833. //VERSION_BEGIN 10.1 cbx_altpriority_encoder 2010:09:06:21:07:25:PN cbx_mgl 2010:09:06:21:22:18:PN VERSION_END
  834. //altpriority_encoder CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" LSB_PRIORITY="NO" WIDTH=8 WIDTHAD=3 data q zero
  835. //VERSION_BEGIN 10.1 cbx_altpriority_encoder 2010:09:06:21:07:25:PN cbx_mgl 2010:09:06:21:22:18:PN VERSION_END
  836. //altpriority_encoder CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" LSB_PRIORITY="NO" WIDTH=4 WIDTHAD=2 data q zero
  837. //VERSION_BEGIN 10.1 cbx_altpriority_encoder 2010:09:06:21:07:25:PN cbx_mgl 2010:09:06:21:22:18:PN VERSION_END
  838. //altpriority_encoder CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" LSB_PRIORITY="NO" WIDTH=2 WIDTHAD=1 data q zero
  839. //VERSION_BEGIN 10.1 cbx_altpriority_encoder 2010:09:06:21:07:25:PN cbx_mgl 2010:09:06:21:22:18:PN VERSION_END
  840. //synthesis_resources =
  841. //synopsys translate_off
  842. `timescale 1 ps / 1 ps
  843. //synopsys translate_on
  844. module fpoint_hw_qsys_addsub_single_altpriority_encoder_i0b
  845. (
  846. data,
  847. q,
  848. zero) /* synthesis synthesis_clearbox=1 */;
  849. input [1:0] data;
  850. output [0:0] q;
  851. output zero;
  852. assign
  853. q = {data[1]},
  854. zero = (~ (data[0] | data[1]));
  855. endmodule //fpoint_hw_qsys_addsub_single_altpriority_encoder_i0b
  856. //synthesis_resources =
  857. //synopsys translate_off
  858. `timescale 1 ps / 1 ps
  859. //synopsys translate_on
  860. module fpoint_hw_qsys_addsub_single_altpriority_encoder_l0b
  861. (
  862. data,
  863. q,
  864. zero) /* synthesis synthesis_clearbox=1 */;
  865. input [3:0] data;
  866. output [1:0] q;
  867. output zero;
  868. wire [0:0] wire_altpriority_encoder13_q;
  869. wire wire_altpriority_encoder13_zero;
  870. wire [0:0] wire_altpriority_encoder14_q;
  871. wire wire_altpriority_encoder14_zero;
  872. fpoint_hw_qsys_addsub_single_altpriority_encoder_i0b altpriority_encoder13
  873. (
  874. .data(data[1:0]),
  875. .q(wire_altpriority_encoder13_q),
  876. .zero(wire_altpriority_encoder13_zero));
  877. fpoint_hw_qsys_addsub_single_altpriority_encoder_i0b altpriority_encoder14
  878. (
  879. .data(data[3:2]),
  880. .q(wire_altpriority_encoder14_q),
  881. .zero(wire_altpriority_encoder14_zero));
  882. assign
  883. q = {(~ wire_altpriority_encoder14_zero), ((wire_altpriority_encoder14_zero & wire_altpriority_encoder13_q) | ((~ wire_altpriority_encoder14_zero) & wire_altpriority_encoder14_q))},
  884. zero = (wire_altpriority_encoder13_zero & wire_altpriority_encoder14_zero);
  885. endmodule //fpoint_hw_qsys_addsub_single_altpriority_encoder_l0b
  886. //synthesis_resources =
  887. //synopsys translate_off
  888. `timescale 1 ps / 1 ps
  889. //synopsys translate_on
  890. module fpoint_hw_qsys_addsub_single_altpriority_encoder_q0b
  891. (
  892. data,
  893. q,
  894. zero) /* synthesis synthesis_clearbox=1 */;
  895. input [7:0] data;
  896. output [2:0] q;
  897. output zero;
  898. wire [1:0] wire_altpriority_encoder11_q;
  899. wire wire_altpriority_encoder11_zero;
  900. wire [1:0] wire_altpriority_encoder12_q;
  901. wire wire_altpriority_encoder12_zero;
  902. fpoint_hw_qsys_addsub_single_altpriority_encoder_l0b altpriority_encoder11
  903. (
  904. .data(data[3:0]),
  905. .q(wire_altpriority_encoder11_q),
  906. .zero(wire_altpriority_encoder11_zero));
  907. fpoint_hw_qsys_addsub_single_altpriority_encoder_l0b altpriority_encoder12
  908. (
  909. .data(data[7:4]),
  910. .q(wire_altpriority_encoder12_q),
  911. .zero(wire_altpriority_encoder12_zero));
  912. assign
  913. q = {(~ wire_altpriority_encoder12_zero), (({2{wire_altpriority_encoder12_zero}} & wire_altpriority_encoder11_q) | ({2{(~ wire_altpriority_encoder12_zero)}} & wire_altpriority_encoder12_q))},
  914. zero = (wire_altpriority_encoder11_zero & wire_altpriority_encoder12_zero);
  915. endmodule //fpoint_hw_qsys_addsub_single_altpriority_encoder_q0b
  916. //altpriority_encoder CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" LSB_PRIORITY="NO" WIDTH=8 WIDTHAD=3 data q
  917. //VERSION_BEGIN 10.1 cbx_altpriority_encoder 2010:09:06:21:07:25:PN cbx_mgl 2010:09:06:21:22:18:PN VERSION_END
  918. //altpriority_encoder CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" LSB_PRIORITY="NO" WIDTH=4 WIDTHAD=2 data q
  919. //VERSION_BEGIN 10.1 cbx_altpriority_encoder 2010:09:06:21:07:25:PN cbx_mgl 2010:09:06:21:22:18:PN VERSION_END
  920. //altpriority_encoder CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" LSB_PRIORITY="NO" WIDTH=2 WIDTHAD=1 data q
  921. //VERSION_BEGIN 10.1 cbx_altpriority_encoder 2010:09:06:21:07:25:PN cbx_mgl 2010:09:06:21:22:18:PN VERSION_END
  922. //synthesis_resources =
  923. //synopsys translate_off
  924. `timescale 1 ps / 1 ps
  925. //synopsys translate_on
  926. module fpoint_hw_qsys_addsub_single_altpriority_encoder_iha
  927. (
  928. data,
  929. q) /* synthesis synthesis_clearbox=1 */;
  930. input [1:0] data;
  931. output [0:0] q;
  932. assign
  933. q = {data[1]};
  934. endmodule //fpoint_hw_qsys_addsub_single_altpriority_encoder_iha
  935. //synthesis_resources =
  936. //synopsys translate_off
  937. `timescale 1 ps / 1 ps
  938. //synopsys translate_on
  939. module fpoint_hw_qsys_addsub_single_altpriority_encoder_lha
  940. (
  941. data,
  942. q) /* synthesis synthesis_clearbox=1 */;
  943. input [3:0] data;
  944. output [1:0] q;
  945. wire [0:0] wire_altpriority_encoder17_q;
  946. wire [0:0] wire_altpriority_encoder18_q;
  947. wire wire_altpriority_encoder18_zero;
  948. fpoint_hw_qsys_addsub_single_altpriority_encoder_iha altpriority_encoder17
  949. (
  950. .data(data[1:0]),
  951. .q(wire_altpriority_encoder17_q));
  952. fpoint_hw_qsys_addsub_single_altpriority_encoder_i0b altpriority_encoder18
  953. (
  954. .data(data[3:2]),
  955. .q(wire_altpriority_encoder18_q),
  956. .zero(wire_altpriority_encoder18_zero));
  957. assign
  958. q = {(~ wire_altpriority_encoder18_zero), ((wire_altpriority_encoder18_zero & wire_altpriority_encoder17_q) | ((~ wire_altpriority_encoder18_zero) & wire_altpriority_encoder18_q))};
  959. endmodule //fpoint_hw_qsys_addsub_single_altpriority_encoder_lha
  960. //synthesis_resources =
  961. //synopsys translate_off
  962. `timescale 1 ps / 1 ps
  963. //synopsys translate_on
  964. module fpoint_hw_qsys_addsub_single_altpriority_encoder_qha
  965. (
  966. data,
  967. q) /* synthesis synthesis_clearbox=1 */;
  968. input [7:0] data;
  969. output [2:0] q;
  970. wire [1:0] wire_altpriority_encoder15_q;
  971. wire [1:0] wire_altpriority_encoder16_q;
  972. wire wire_altpriority_encoder16_zero;
  973. fpoint_hw_qsys_addsub_single_altpriority_encoder_lha altpriority_encoder15
  974. (
  975. .data(data[3:0]),
  976. .q(wire_altpriority_encoder15_q));
  977. fpoint_hw_qsys_addsub_single_altpriority_encoder_l0b altpriority_encoder16
  978. (
  979. .data(data[7:4]),
  980. .q(wire_altpriority_encoder16_q),
  981. .zero(wire_altpriority_encoder16_zero));
  982. assign
  983. q = {(~ wire_altpriority_encoder16_zero), (({2{wire_altpriority_encoder16_zero}} & wire_altpriority_encoder15_q) | ({2{(~ wire_altpriority_encoder16_zero)}} & wire_altpriority_encoder16_q))};
  984. endmodule //fpoint_hw_qsys_addsub_single_altpriority_encoder_qha
  985. //synthesis_resources =
  986. //synopsys translate_off
  987. `timescale 1 ps / 1 ps
  988. //synopsys translate_on
  989. module fpoint_hw_qsys_addsub_single_altpriority_encoder_aja
  990. (
  991. data,
  992. q) /* synthesis synthesis_clearbox=1 */;
  993. input [15:0] data;
  994. output [3:0] q;
  995. wire [2:0] wire_altpriority_encoder10_q;
  996. wire wire_altpriority_encoder10_zero;
  997. wire [2:0] wire_altpriority_encoder9_q;
  998. fpoint_hw_qsys_addsub_single_altpriority_encoder_q0b altpriority_encoder10
  999. (
  1000. .data(data[15:8]),
  1001. .q(wire_altpriority_encoder10_q),
  1002. .zero(wire_altpriority_encoder10_zero));
  1003. fpoint_hw_qsys_addsub_single_altpriority_encoder_qha altpriority_encoder9
  1004. (
  1005. .data(data[7:0]),
  1006. .q(wire_altpriority_encoder9_q));
  1007. assign
  1008. q = {(~ wire_altpriority_encoder10_zero), (({3{wire_altpriority_encoder10_zero}} & wire_altpriority_encoder9_q) | ({3{(~ wire_altpriority_encoder10_zero)}} & wire_altpriority_encoder10_q))};
  1009. endmodule //fpoint_hw_qsys_addsub_single_altpriority_encoder_aja
  1010. //altpriority_encoder CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" LSB_PRIORITY="NO" WIDTH=16 WIDTHAD=4 data q zero
  1011. //VERSION_BEGIN 10.1 cbx_altpriority_encoder 2010:09:06:21:07:25:PN cbx_mgl 2010:09:06:21:22:18:PN VERSION_END
  1012. //synthesis_resources =
  1013. //synopsys translate_off
  1014. `timescale 1 ps / 1 ps
  1015. //synopsys translate_on
  1016. module fpoint_hw_qsys_addsub_single_altpriority_encoder_a2b
  1017. (
  1018. data,
  1019. q,
  1020. zero) /* synthesis synthesis_clearbox=1 */;
  1021. input [15:0] data;
  1022. output [3:0] q;
  1023. output zero;
  1024. wire [2:0] wire_altpriority_encoder19_q;
  1025. wire wire_altpriority_encoder19_zero;
  1026. wire [2:0] wire_altpriority_encoder20_q;
  1027. wire wire_altpriority_encoder20_zero;
  1028. fpoint_hw_qsys_addsub_single_altpriority_encoder_q0b altpriority_encoder19
  1029. (
  1030. .data(data[7:0]),
  1031. .q(wire_altpriority_encoder19_q),
  1032. .zero(wire_altpriority_encoder19_zero));
  1033. fpoint_hw_qsys_addsub_single_altpriority_encoder_q0b altpriority_encoder20
  1034. (
  1035. .data(data[15:8]),
  1036. .q(wire_altpriority_encoder20_q),
  1037. .zero(wire_altpriority_encoder20_zero));
  1038. assign
  1039. q = {(~ wire_altpriority_encoder20_zero), (({3{wire_altpriority_encoder20_zero}} & wire_altpriority_encoder19_q) | ({3{(~ wire_altpriority_encoder20_zero)}} & wire_altpriority_encoder20_q))},
  1040. zero = (wire_altpriority_encoder19_zero & wire_altpriority_encoder20_zero);
  1041. endmodule //fpoint_hw_qsys_addsub_single_altpriority_encoder_a2b
  1042. //synthesis_resources =
  1043. //synopsys translate_off
  1044. `timescale 1 ps / 1 ps
  1045. //synopsys translate_on
  1046. module fpoint_hw_qsys_addsub_single_altpriority_encoder_9u8
  1047. (
  1048. data,
  1049. q) /* synthesis synthesis_clearbox=1 */;
  1050. input [31:0] data;
  1051. output [4:0] q;
  1052. wire [3:0] wire_altpriority_encoder7_q;
  1053. wire [3:0] wire_altpriority_encoder8_q;
  1054. wire wire_altpriority_encoder8_zero;
  1055. fpoint_hw_qsys_addsub_single_altpriority_encoder_aja altpriority_encoder7
  1056. (
  1057. .data(data[15:0]),
  1058. .q(wire_altpriority_encoder7_q));
  1059. fpoint_hw_qsys_addsub_single_altpriority_encoder_a2b altpriority_encoder8
  1060. (
  1061. .data(data[31:16]),
  1062. .q(wire_altpriority_encoder8_q),
  1063. .zero(wire_altpriority_encoder8_zero));
  1064. assign
  1065. q = {(~ wire_altpriority_encoder8_zero), (({4{wire_altpriority_encoder8_zero}} & wire_altpriority_encoder7_q) | ({4{(~ wire_altpriority_encoder8_zero)}} & wire_altpriority_encoder8_q))};
  1066. endmodule //fpoint_hw_qsys_addsub_single_altpriority_encoder_9u8
  1067. //altpriority_encoder CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" LSB_PRIORITY="YES" WIDTH=32 WIDTHAD=5 data q
  1068. //VERSION_BEGIN 10.1 cbx_altpriority_encoder 2010:09:06:21:07:25:PN cbx_mgl 2010:09:06:21:22:18:PN VERSION_END
  1069. //altpriority_encoder CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" LSB_PRIORITY="YES" WIDTH=16 WIDTHAD=4 data q zero
  1070. //VERSION_BEGIN 10.1 cbx_altpriority_encoder 2010:09:06:21:07:25:PN cbx_mgl 2010:09:06:21:22:18:PN VERSION_END
  1071. //altpriority_encoder CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" LSB_PRIORITY="YES" WIDTH=8 WIDTHAD=3 data q zero
  1072. //VERSION_BEGIN 10.1 cbx_altpriority_encoder 2010:09:06:21:07:25:PN cbx_mgl 2010:09:06:21:22:18:PN VERSION_END
  1073. //altpriority_encoder CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" LSB_PRIORITY="YES" WIDTH=4 WIDTHAD=2 data q zero
  1074. //VERSION_BEGIN 10.1 cbx_altpriority_encoder 2010:09:06:21:07:25:PN cbx_mgl 2010:09:06:21:22:18:PN VERSION_END
  1075. //altpriority_encoder CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" LSB_PRIORITY="YES" WIDTH=2 WIDTHAD=1 data q zero
  1076. //VERSION_BEGIN 10.1 cbx_altpriority_encoder 2010:09:06:21:07:25:PN cbx_mgl 2010:09:06:21:22:18:PN VERSION_END
  1077. //synthesis_resources =
  1078. //synopsys translate_off
  1079. `timescale 1 ps / 1 ps
  1080. //synopsys translate_on
  1081. module fpoint_hw_qsys_addsub_single_altpriority_encoder_64b
  1082. (
  1083. data,
  1084. q,
  1085. zero) /* synthesis synthesis_clearbox=1 */;
  1086. input [1:0] data;
  1087. output [0:0] q;
  1088. output zero;
  1089. assign
  1090. q = {(~ data[0])},
  1091. zero = (~ (data[0] | data[1]));
  1092. endmodule //fpoint_hw_qsys_addsub_single_altpriority_encoder_64b
  1093. //synthesis_resources =
  1094. //synopsys translate_off
  1095. `timescale 1 ps / 1 ps
  1096. //synopsys translate_on
  1097. module fpoint_hw_qsys_addsub_single_altpriority_encoder_94b
  1098. (
  1099. data,
  1100. q,
  1101. zero) /* synthesis synthesis_clearbox=1 */;
  1102. input [3:0] data;
  1103. output [1:0] q;
  1104. output zero;
  1105. wire [0:0] wire_altpriority_encoder27_q;
  1106. wire wire_altpriority_encoder27_zero;
  1107. wire [0:0] wire_altpriority_encoder28_q;
  1108. wire wire_altpriority_encoder28_zero;
  1109. fpoint_hw_qsys_addsub_single_altpriority_encoder_64b altpriority_encoder27
  1110. (
  1111. .data(data[1:0]),
  1112. .q(wire_altpriority_encoder27_q),
  1113. .zero(wire_altpriority_encoder27_zero));
  1114. fpoint_hw_qsys_addsub_single_altpriority_encoder_64b altpriority_encoder28
  1115. (
  1116. .data(data[3:2]),
  1117. .q(wire_altpriority_encoder28_q),
  1118. .zero(wire_altpriority_encoder28_zero));
  1119. assign
  1120. q = {wire_altpriority_encoder27_zero, ((wire_altpriority_encoder27_zero & wire_altpriority_encoder28_q) | ((~ wire_altpriority_encoder27_zero) & wire_altpriority_encoder27_q))},
  1121. zero = (wire_altpriority_encoder27_zero & wire_altpriority_encoder28_zero);
  1122. endmodule //fpoint_hw_qsys_addsub_single_altpriority_encoder_94b
  1123. //synthesis_resources =
  1124. //synopsys translate_off
  1125. `timescale 1 ps / 1 ps
  1126. //synopsys translate_on
  1127. module fpoint_hw_qsys_addsub_single_altpriority_encoder_e4b
  1128. (
  1129. data,
  1130. q,
  1131. zero) /* synthesis synthesis_clearbox=1 */;
  1132. input [7:0] data;
  1133. output [2:0] q;
  1134. output zero;
  1135. wire [1:0] wire_altpriority_encoder25_q;
  1136. wire wire_altpriority_encoder25_zero;
  1137. wire [1:0] wire_altpriority_encoder26_q;
  1138. wire wire_altpriority_encoder26_zero;
  1139. fpoint_hw_qsys_addsub_single_altpriority_encoder_94b altpriority_encoder25
  1140. (
  1141. .data(data[3:0]),
  1142. .q(wire_altpriority_encoder25_q),
  1143. .zero(wire_altpriority_encoder25_zero));
  1144. fpoint_hw_qsys_addsub_single_altpriority_encoder_94b altpriority_encoder26
  1145. (
  1146. .data(data[7:4]),
  1147. .q(wire_altpriority_encoder26_q),
  1148. .zero(wire_altpriority_encoder26_zero));
  1149. assign
  1150. q = {wire_altpriority_encoder25_zero, (({2{wire_altpriority_encoder25_zero}} & wire_altpriority_encoder26_q) | ({2{(~ wire_altpriority_encoder25_zero)}} & wire_altpriority_encoder25_q))},
  1151. zero = (wire_altpriority_encoder25_zero & wire_altpriority_encoder26_zero);
  1152. endmodule //fpoint_hw_qsys_addsub_single_altpriority_encoder_e4b
  1153. //synthesis_resources =
  1154. //synopsys translate_off
  1155. `timescale 1 ps / 1 ps
  1156. //synopsys translate_on
  1157. module fpoint_hw_qsys_addsub_single_altpriority_encoder_u5b
  1158. (
  1159. data,
  1160. q,
  1161. zero) /* synthesis synthesis_clearbox=1 */;
  1162. input [15:0] data;
  1163. output [3:0] q;
  1164. output zero;
  1165. wire [2:0] wire_altpriority_encoder23_q;
  1166. wire wire_altpriority_encoder23_zero;
  1167. wire [2:0] wire_altpriority_encoder24_q;
  1168. wire wire_altpriority_encoder24_zero;
  1169. fpoint_hw_qsys_addsub_single_altpriority_encoder_e4b altpriority_encoder23
  1170. (
  1171. .data(data[7:0]),
  1172. .q(wire_altpriority_encoder23_q),
  1173. .zero(wire_altpriority_encoder23_zero));
  1174. fpoint_hw_qsys_addsub_single_altpriority_encoder_e4b altpriority_encoder24
  1175. (
  1176. .data(data[15:8]),
  1177. .q(wire_altpriority_encoder24_q),
  1178. .zero(wire_altpriority_encoder24_zero));
  1179. assign
  1180. q = {wire_altpriority_encoder23_zero, (({3{wire_altpriority_encoder23_zero}} & wire_altpriority_encoder24_q) | ({3{(~ wire_altpriority_encoder23_zero)}} & wire_altpriority_encoder23_q))},
  1181. zero = (wire_altpriority_encoder23_zero & wire_altpriority_encoder24_zero);
  1182. endmodule //fpoint_hw_qsys_addsub_single_altpriority_encoder_u5b
  1183. //altpriority_encoder CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" LSB_PRIORITY="YES" WIDTH=16 WIDTHAD=4 data q
  1184. //VERSION_BEGIN 10.1 cbx_altpriority_encoder 2010:09:06:21:07:25:PN cbx_mgl 2010:09:06:21:22:18:PN VERSION_END
  1185. //altpriority_encoder CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" LSB_PRIORITY="YES" WIDTH=8 WIDTHAD=3 data q
  1186. //VERSION_BEGIN 10.1 cbx_altpriority_encoder 2010:09:06:21:07:25:PN cbx_mgl 2010:09:06:21:22:18:PN VERSION_END
  1187. //altpriority_encoder CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" LSB_PRIORITY="YES" WIDTH=4 WIDTHAD=2 data q
  1188. //VERSION_BEGIN 10.1 cbx_altpriority_encoder 2010:09:06:21:07:25:PN cbx_mgl 2010:09:06:21:22:18:PN VERSION_END
  1189. //altpriority_encoder CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" LSB_PRIORITY="YES" WIDTH=2 WIDTHAD=1 data q
  1190. //VERSION_BEGIN 10.1 cbx_altpriority_encoder 2010:09:06:21:07:25:PN cbx_mgl 2010:09:06:21:22:18:PN VERSION_END
  1191. //synthesis_resources =
  1192. //synopsys translate_off
  1193. `timescale 1 ps / 1 ps
  1194. //synopsys translate_on
  1195. module fpoint_hw_qsys_addsub_single_altpriority_encoder_6la
  1196. (
  1197. data,
  1198. q) /* synthesis synthesis_clearbox=1 */;
  1199. input [1:0] data;
  1200. output [0:0] q;
  1201. assign
  1202. q = {(~ data[0])};
  1203. endmodule //fpoint_hw_qsys_addsub_single_altpriority_encoder_6la
  1204. //synthesis_resources =
  1205. //synopsys translate_off
  1206. `timescale 1 ps / 1 ps
  1207. //synopsys translate_on
  1208. module fpoint_hw_qsys_addsub_single_altpriority_encoder_9la
  1209. (
  1210. data,
  1211. q) /* synthesis synthesis_clearbox=1 */;
  1212. input [3:0] data;
  1213. output [1:0] q;
  1214. wire [0:0] wire_altpriority_encoder33_q;
  1215. wire wire_altpriority_encoder33_zero;
  1216. wire [0:0] wire_altpriority_encoder34_q;
  1217. fpoint_hw_qsys_addsub_single_altpriority_encoder_64b altpriority_encoder33
  1218. (
  1219. .data(data[1:0]),
  1220. .q(wire_altpriority_encoder33_q),
  1221. .zero(wire_altpriority_encoder33_zero));
  1222. fpoint_hw_qsys_addsub_single_altpriority_encoder_6la altpriority_encoder34
  1223. (
  1224. .data(data[3:2]),
  1225. .q(wire_altpriority_encoder34_q));
  1226. assign
  1227. q = {wire_altpriority_encoder33_zero, ((wire_altpriority_encoder33_zero & wire_altpriority_encoder34_q) | ((~ wire_altpriority_encoder33_zero) & wire_altpriority_encoder33_q))};
  1228. endmodule //fpoint_hw_qsys_addsub_single_altpriority_encoder_9la
  1229. //synthesis_resources =
  1230. //synopsys translate_off
  1231. `timescale 1 ps / 1 ps
  1232. //synopsys translate_on
  1233. module fpoint_hw_qsys_addsub_single_altpriority_encoder_ela
  1234. (
  1235. data,
  1236. q) /* synthesis synthesis_clearbox=1 */;
  1237. input [7:0] data;
  1238. output [2:0] q;
  1239. wire [1:0] wire_altpriority_encoder31_q;
  1240. wire wire_altpriority_encoder31_zero;
  1241. wire [1:0] wire_altpriority_encoder32_q;
  1242. fpoint_hw_qsys_addsub_single_altpriority_encoder_94b altpriority_encoder31
  1243. (
  1244. .data(data[3:0]),
  1245. .q(wire_altpriority_encoder31_q),
  1246. .zero(wire_altpriority_encoder31_zero));
  1247. fpoint_hw_qsys_addsub_single_altpriority_encoder_9la altpriority_encoder32
  1248. (
  1249. .data(data[7:4]),
  1250. .q(wire_altpriority_encoder32_q));
  1251. assign
  1252. q = {wire_altpriority_encoder31_zero, (({2{wire_altpriority_encoder31_zero}} & wire_altpriority_encoder32_q) | ({2{(~ wire_altpriority_encoder31_zero)}} & wire_altpriority_encoder31_q))};
  1253. endmodule //fpoint_hw_qsys_addsub_single_altpriority_encoder_ela
  1254. //synthesis_resources =
  1255. //synopsys translate_off
  1256. `timescale 1 ps / 1 ps
  1257. //synopsys translate_on
  1258. module fpoint_hw_qsys_addsub_single_altpriority_encoder_uma
  1259. (
  1260. data,
  1261. q) /* synthesis synthesis_clearbox=1 */;
  1262. input [15:0] data;
  1263. output [3:0] q;
  1264. wire [2:0] wire_altpriority_encoder29_q;
  1265. wire wire_altpriority_encoder29_zero;
  1266. wire [2:0] wire_altpriority_encoder30_q;
  1267. fpoint_hw_qsys_addsub_single_altpriority_encoder_e4b altpriority_encoder29
  1268. (
  1269. .data(data[7:0]),
  1270. .q(wire_altpriority_encoder29_q),
  1271. .zero(wire_altpriority_encoder29_zero));
  1272. fpoint_hw_qsys_addsub_single_altpriority_encoder_ela altpriority_encoder30
  1273. (
  1274. .data(data[15:8]),
  1275. .q(wire_altpriority_encoder30_q));
  1276. assign
  1277. q = {wire_altpriority_encoder29_zero, (({3{wire_altpriority_encoder29_zero}} & wire_altpriority_encoder30_q) | ({3{(~ wire_altpriority_encoder29_zero)}} & wire_altpriority_encoder29_q))};
  1278. endmodule //fpoint_hw_qsys_addsub_single_altpriority_encoder_uma
  1279. //synthesis_resources =
  1280. //synopsys translate_off
  1281. `timescale 1 ps / 1 ps
  1282. //synopsys translate_on
  1283. module fpoint_hw_qsys_addsub_single_altpriority_encoder_tma
  1284. (
  1285. data,
  1286. q) /* synthesis synthesis_clearbox=1 */;
  1287. input [31:0] data;
  1288. output [4:0] q;
  1289. wire [3:0] wire_altpriority_encoder21_q;
  1290. wire wire_altpriority_encoder21_zero;
  1291. wire [3:0] wire_altpriority_encoder22_q;
  1292. fpoint_hw_qsys_addsub_single_altpriority_encoder_u5b altpriority_encoder21
  1293. (
  1294. .data(data[15:0]),
  1295. .q(wire_altpriority_encoder21_q),
  1296. .zero(wire_altpriority_encoder21_zero));
  1297. fpoint_hw_qsys_addsub_single_altpriority_encoder_uma altpriority_encoder22
  1298. (
  1299. .data(data[31:16]),
  1300. .q(wire_altpriority_encoder22_q));
  1301. assign
  1302. q = {wire_altpriority_encoder21_zero, (({4{wire_altpriority_encoder21_zero}} & wire_altpriority_encoder22_q) | ({4{(~ wire_altpriority_encoder21_zero)}} & wire_altpriority_encoder21_q))};
  1303. endmodule //fpoint_hw_qsys_addsub_single_altpriority_encoder_tma
  1304. //synthesis_resources = lpm_add_sub 14 lpm_compare 1 reg 356
  1305. //synopsys translate_off
  1306. `timescale 1 ps / 1 ps
  1307. //synopsys translate_on
  1308. module fpoint_hw_qsys_addsub_single
  1309. (
  1310. aclr,
  1311. add_sub,
  1312. clk_en,
  1313. clock,
  1314. dataa,
  1315. datab,
  1316. result) /* synthesis synthesis_clearbox=1 */;
  1317. input aclr;
  1318. input add_sub;
  1319. input clk_en;
  1320. input clock;
  1321. input [31:0] dataa;
  1322. input [31:0] datab;
  1323. output [31:0] result;
  1324. `ifndef ALTERA_RESERVED_QIS
  1325. // synopsys translate_off
  1326. `endif
  1327. tri0 aclr;
  1328. tri1 add_sub;
  1329. tri1 clk_en;
  1330. `ifndef ALTERA_RESERVED_QIS
  1331. // synopsys translate_on
  1332. `endif
  1333. wire [25:0] wire_lbarrel_shift_result;
  1334. wire [25:0] wire_rbarrel_shift_result;
  1335. wire [4:0] wire_leading_zeroes_cnt_q;
  1336. wire [4:0] wire_trailing_zeros_cnt_q;
  1337. reg add_sub_dffe1;
  1338. reg add_sub_dffe12;
  1339. reg [8:0] aligned_dataa_exp_dffe12;
  1340. reg [23:0] aligned_dataa_man_dffe12;
  1341. reg aligned_dataa_sign_dffe12;
  1342. reg [8:0] aligned_datab_exp_dffe12;
  1343. reg [23:0] aligned_datab_man_dffe12;
  1344. reg aligned_datab_sign_dffe12;
  1345. reg both_inputs_are_infinite_dffe1;
  1346. reg [7:0] data_exp_dffe1;
  1347. reg [25:0] dataa_man_dffe1;
  1348. reg dataa_sign_dffe1;
  1349. reg [25:0] datab_man_dffe1;
  1350. reg datab_sign_dffe1;
  1351. reg denormal_res_dffe3;
  1352. reg denormal_res_dffe4;
  1353. reg [1:0] exp_adj_dffe21;
  1354. reg [7:0] exp_out_dffe5;
  1355. reg [7:0] exp_res_dffe2;
  1356. reg [7:0] exp_res_dffe21;
  1357. reg [7:0] exp_res_dffe3;
  1358. reg [7:0] exp_res_dffe4;
  1359. reg infinite_output_sign_dffe1;
  1360. reg infinite_output_sign_dffe2;
  1361. reg infinite_output_sign_dffe21;
  1362. reg infinite_output_sign_dffe3;
  1363. reg infinite_output_sign_dffe31;
  1364. reg infinite_output_sign_dffe4;
  1365. reg infinite_res_dffe3;
  1366. reg infinite_res_dffe4;
  1367. reg infinity_magnitude_sub_dffe2;
  1368. reg infinity_magnitude_sub_dffe21;
  1369. reg infinity_magnitude_sub_dffe3;
  1370. reg infinity_magnitude_sub_dffe31;
  1371. reg infinity_magnitude_sub_dffe4;
  1372. reg input_dataa_infinite_dffe12;
  1373. reg input_dataa_nan_dffe12;
  1374. reg input_datab_infinite_dffe12;
  1375. reg input_datab_nan_dffe12;
  1376. reg input_is_infinite_dffe1;
  1377. reg input_is_infinite_dffe2;
  1378. reg input_is_infinite_dffe21;
  1379. reg input_is_infinite_dffe3;
  1380. reg input_is_infinite_dffe31;
  1381. reg input_is_infinite_dffe4;
  1382. reg input_is_nan_dffe1;
  1383. reg input_is_nan_dffe2;
  1384. reg input_is_nan_dffe21;
  1385. reg input_is_nan_dffe3;
  1386. reg input_is_nan_dffe31;
  1387. reg input_is_nan_dffe4;
  1388. reg [25:0] man_add_sub_res_mag_dffe21;
  1389. reg man_add_sub_res_sign_dffe21;
  1390. reg [25:0] man_dffe31;
  1391. reg [4:0] man_leading_zeros_dffe31;
  1392. reg [22:0] man_out_dffe5;
  1393. reg [22:0] man_res_dffe4;
  1394. reg man_res_is_not_zero_dffe3;
  1395. reg man_res_is_not_zero_dffe31;
  1396. reg man_res_is_not_zero_dffe4;
  1397. reg need_complement_dffe2;
  1398. reg round_bit_dffe21;
  1399. reg round_bit_dffe3;
  1400. reg round_bit_dffe31;
  1401. reg rounded_res_infinity_dffe4;
  1402. reg sign_dffe31;
  1403. reg sign_out_dffe5;
  1404. reg sign_res_dffe3;
  1405. reg sign_res_dffe4;
  1406. reg sticky_bit_dffe1;
  1407. reg sticky_bit_dffe2;
  1408. reg sticky_bit_dffe21;
  1409. reg sticky_bit_dffe3;
  1410. reg sticky_bit_dffe31;
  1411. reg zero_man_sign_dffe2;
  1412. reg zero_man_sign_dffe21;
  1413. wire [8:0] wire_add_sub1_result;
  1414. wire [8:0] wire_add_sub2_result;
  1415. wire [5:0] wire_add_sub3_result;
  1416. wire [8:0] wire_add_sub4_result;
  1417. wire [8:0] wire_add_sub5_result;
  1418. wire [8:0] wire_add_sub6_result;
  1419. wire wire_man_2comp_res_lower_cout;
  1420. wire [13:0] wire_man_2comp_res_lower_result;
  1421. wire [13:0] wire_man_2comp_res_upper0_result;
  1422. wire [13:0] wire_man_2comp_res_upper1_result;
  1423. wire wire_man_add_sub_lower_cout;
  1424. wire [13:0] wire_man_add_sub_lower_result;
  1425. wire [13:0] wire_man_add_sub_upper0_result;
  1426. wire [13:0] wire_man_add_sub_upper1_result;
  1427. wire wire_man_res_rounding_add_sub_lower_cout;
  1428. wire [12:0] wire_man_res_rounding_add_sub_lower_result;
  1429. wire [12:0] wire_man_res_rounding_add_sub_upper1_result;
  1430. wire wire_trailing_zeros_limit_comparator_agb;
  1431. wire add_sub_dffe11_wi;
  1432. wire add_sub_dffe11_wo;
  1433. wire add_sub_dffe12_wi;
  1434. wire add_sub_dffe12_wo;
  1435. wire add_sub_dffe13_wi;
  1436. wire add_sub_dffe13_wo;
  1437. wire add_sub_dffe14_wi;
  1438. wire add_sub_dffe14_wo;
  1439. wire add_sub_dffe15_wi;
  1440. wire add_sub_dffe15_wo;
  1441. wire add_sub_dffe1_wi;
  1442. wire add_sub_dffe1_wo;
  1443. wire add_sub_dffe25_wi;
  1444. wire add_sub_dffe25_wo;
  1445. wire add_sub_w2;
  1446. wire [12:0] adder_upper_w;
  1447. wire [8:0] aligned_dataa_exp_dffe12_wi;
  1448. wire [8:0] aligned_dataa_exp_dffe12_wo;
  1449. wire [8:0] aligned_dataa_exp_dffe13_wi;
  1450. wire [8:0] aligned_dataa_exp_dffe13_wo;
  1451. wire [8:0] aligned_dataa_exp_dffe14_wi;
  1452. wire [8:0] aligned_dataa_exp_dffe14_wo;
  1453. wire [8:0] aligned_dataa_exp_dffe15_wi;
  1454. wire [8:0] aligned_dataa_exp_dffe15_wo;
  1455. wire [8:0] aligned_dataa_exp_w;
  1456. wire [23:0] aligned_dataa_man_dffe12_wi;
  1457. wire [23:0] aligned_dataa_man_dffe12_wo;
  1458. wire [23:0] aligned_dataa_man_dffe13_wi;
  1459. wire [23:0] aligned_dataa_man_dffe13_wo;
  1460. wire [23:0] aligned_dataa_man_dffe14_wi;
  1461. wire [23:0] aligned_dataa_man_dffe14_wo;
  1462. wire [25:0] aligned_dataa_man_dffe15_w;
  1463. wire [23:0] aligned_dataa_man_dffe15_wi;
  1464. wire [23:0] aligned_dataa_man_dffe15_wo;
  1465. wire [25:0] aligned_dataa_man_w;
  1466. wire aligned_dataa_sign_dffe12_wi;
  1467. wire aligned_dataa_sign_dffe12_wo;
  1468. wire aligned_dataa_sign_dffe13_wi;
  1469. wire aligned_dataa_sign_dffe13_wo;
  1470. wire aligned_dataa_sign_dffe14_wi;
  1471. wire aligned_dataa_sign_dffe14_wo;
  1472. wire aligned_dataa_sign_dffe15_wi;
  1473. wire aligned_dataa_sign_dffe15_wo;
  1474. wire aligned_dataa_sign_w;
  1475. wire [8:0] aligned_datab_exp_dffe12_wi;
  1476. wire [8:0] aligned_datab_exp_dffe12_wo;
  1477. wire [8:0] aligned_datab_exp_dffe13_wi;
  1478. wire [8:0] aligned_datab_exp_dffe13_wo;
  1479. wire [8:0] aligned_datab_exp_dffe14_wi;
  1480. wire [8:0] aligned_datab_exp_dffe14_wo;
  1481. wire [8:0] aligned_datab_exp_dffe15_wi;
  1482. wire [8:0] aligned_datab_exp_dffe15_wo;
  1483. wire [8:0] aligned_datab_exp_w;
  1484. wire [23:0] aligned_datab_man_dffe12_wi;
  1485. wire [23:0] aligned_datab_man_dffe12_wo;
  1486. wire [23:0] aligned_datab_man_dffe13_wi;
  1487. wire [23:0] aligned_datab_man_dffe13_wo;
  1488. wire [23:0] aligned_datab_man_dffe14_wi;
  1489. wire [23:0] aligned_datab_man_dffe14_wo;
  1490. wire [25:0] aligned_datab_man_dffe15_w;
  1491. wire [23:0] aligned_datab_man_dffe15_wi;
  1492. wire [23:0] aligned_datab_man_dffe15_wo;
  1493. wire [25:0] aligned_datab_man_w;
  1494. wire aligned_datab_sign_dffe12_wi;
  1495. wire aligned_datab_sign_dffe12_wo;
  1496. wire aligned_datab_sign_dffe13_wi;
  1497. wire aligned_datab_sign_dffe13_wo;
  1498. wire aligned_datab_sign_dffe14_wi;
  1499. wire aligned_datab_sign_dffe14_wo;
  1500. wire aligned_datab_sign_dffe15_wi;
  1501. wire aligned_datab_sign_dffe15_wo;
  1502. wire aligned_datab_sign_w;
  1503. wire borrow_w;
  1504. wire both_inputs_are_infinite_dffe1_wi;
  1505. wire both_inputs_are_infinite_dffe1_wo;
  1506. wire both_inputs_are_infinite_dffe25_wi;
  1507. wire both_inputs_are_infinite_dffe25_wo;
  1508. wire [7:0] data_exp_dffe1_wi;
  1509. wire [7:0] data_exp_dffe1_wo;
  1510. wire [31:0] dataa_dffe11_wi;
  1511. wire [31:0] dataa_dffe11_wo;
  1512. wire [25:0] dataa_man_dffe1_wi;
  1513. wire [25:0] dataa_man_dffe1_wo;
  1514. wire dataa_sign_dffe1_wi;
  1515. wire dataa_sign_dffe1_wo;
  1516. wire dataa_sign_dffe25_wi;
  1517. wire dataa_sign_dffe25_wo;
  1518. wire [31:0] datab_dffe11_wi;
  1519. wire [31:0] datab_dffe11_wo;
  1520. wire [25:0] datab_man_dffe1_wi;
  1521. wire [25:0] datab_man_dffe1_wo;
  1522. wire datab_sign_dffe1_wi;
  1523. wire datab_sign_dffe1_wo;
  1524. wire denormal_flag_w;
  1525. wire denormal_res_dffe32_wi;
  1526. wire denormal_res_dffe32_wo;
  1527. wire denormal_res_dffe33_wi;
  1528. wire denormal_res_dffe33_wo;
  1529. wire denormal_res_dffe3_wi;
  1530. wire denormal_res_dffe3_wo;
  1531. wire denormal_res_dffe41_wi;
  1532. wire denormal_res_dffe41_wo;
  1533. wire denormal_res_dffe42_wi;
  1534. wire denormal_res_dffe42_wo;
  1535. wire denormal_res_dffe4_wi;
  1536. wire denormal_res_dffe4_wo;
  1537. wire denormal_result_w;
  1538. wire [7:0] exp_a_all_one_w;
  1539. wire [7:0] exp_a_not_zero_w;
  1540. wire [6:0] exp_adj_0pads;
  1541. wire [1:0] exp_adj_dffe21_wi;
  1542. wire [1:0] exp_adj_dffe21_wo;
  1543. wire [1:0] exp_adj_dffe23_wi;
  1544. wire [1:0] exp_adj_dffe23_wo;
  1545. wire [1:0] exp_adj_dffe26_wi;
  1546. wire [1:0] exp_adj_dffe26_wo;
  1547. wire [1:0] exp_adjust_by_add1;
  1548. wire [1:0] exp_adjust_by_add2;
  1549. wire [8:0] exp_adjustment2_add_sub_dataa_w;
  1550. wire [8:0] exp_adjustment2_add_sub_datab_w;
  1551. wire [8:0] exp_adjustment2_add_sub_w;
  1552. wire [8:0] exp_adjustment_add_sub_dataa_w;
  1553. wire [8:0] exp_adjustment_add_sub_datab_w;
  1554. wire [8:0] exp_adjustment_add_sub_w;
  1555. wire [7:0] exp_all_ones_w;
  1556. wire [7:0] exp_all_zeros_w;
  1557. wire exp_amb_mux_dffe13_wi;
  1558. wire exp_amb_mux_dffe13_wo;
  1559. wire exp_amb_mux_dffe14_wi;
  1560. wire exp_amb_mux_dffe14_wo;
  1561. wire exp_amb_mux_dffe15_wi;
  1562. wire exp_amb_mux_dffe15_wo;
  1563. wire exp_amb_mux_w;
  1564. wire [8:0] exp_amb_w;
  1565. wire [7:0] exp_b_all_one_w;
  1566. wire [7:0] exp_b_not_zero_w;
  1567. wire [8:0] exp_bma_w;
  1568. wire [2:0] exp_diff_abs_exceed_max_w;
  1569. wire [4:0] exp_diff_abs_max_w;
  1570. wire [7:0] exp_diff_abs_w;
  1571. wire [7:0] exp_intermediate_res_dffe41_wi;
  1572. wire [7:0] exp_intermediate_res_dffe41_wo;
  1573. wire [7:0] exp_intermediate_res_dffe42_wi;
  1574. wire [7:0] exp_intermediate_res_dffe42_wo;
  1575. wire [7:0] exp_intermediate_res_w;
  1576. wire [7:0] exp_out_dffe5_wi;
  1577. wire [7:0] exp_out_dffe5_wo;
  1578. wire [7:0] exp_res_dffe21_wi;
  1579. wire [7:0] exp_res_dffe21_wo;
  1580. wire [7:0] exp_res_dffe22_wi;
  1581. wire [7:0] exp_res_dffe22_wo;
  1582. wire [7:0] exp_res_dffe23_wi;
  1583. wire [7:0] exp_res_dffe23_wo;
  1584. wire [7:0] exp_res_dffe25_wi;
  1585. wire [7:0] exp_res_dffe25_wo;
  1586. wire [7:0] exp_res_dffe26_wi;
  1587. wire [7:0] exp_res_dffe26_wo;
  1588. wire [7:0] exp_res_dffe27_wi;
  1589. wire [7:0] exp_res_dffe27_wo;
  1590. wire [7:0] exp_res_dffe2_wi;
  1591. wire [7:0] exp_res_dffe2_wo;
  1592. wire [7:0] exp_res_dffe32_wi;
  1593. wire [7:0] exp_res_dffe32_wo;
  1594. wire [7:0] exp_res_dffe33_wi;
  1595. wire [7:0] exp_res_dffe33_wo;
  1596. wire [7:0] exp_res_dffe3_wi;
  1597. wire [7:0] exp_res_dffe3_wo;
  1598. wire [7:0] exp_res_dffe4_wi;
  1599. wire [7:0] exp_res_dffe4_wo;
  1600. wire [7:0] exp_res_max_w;
  1601. wire [8:0] exp_res_not_zero_w;
  1602. wire [8:0] exp_res_rounding_adder_dataa_w;
  1603. wire [8:0] exp_res_rounding_adder_w;
  1604. wire exp_rounded_res_infinity_w;
  1605. wire [7:0] exp_rounded_res_max_w;
  1606. wire [7:0] exp_rounded_res_w;
  1607. wire [8:0] exp_rounding_adjustment_w;
  1608. wire [8:0] exp_value;
  1609. wire force_infinity_w;
  1610. wire force_nan_w;
  1611. wire force_zero_w;
  1612. wire guard_bit_dffe3_wo;
  1613. wire infinite_output_sign_dffe1_wi;
  1614. wire infinite_output_sign_dffe1_wo;
  1615. wire infinite_output_sign_dffe21_wi;
  1616. wire infinite_output_sign_dffe21_wo;
  1617. wire infinite_output_sign_dffe22_wi;
  1618. wire infinite_output_sign_dffe22_wo;
  1619. wire infinite_output_sign_dffe23_wi;
  1620. wire infinite_output_sign_dffe23_wo;
  1621. wire infinite_output_sign_dffe25_wi;
  1622. wire infinite_output_sign_dffe25_wo;
  1623. wire infinite_output_sign_dffe26_wi;
  1624. wire infinite_output_sign_dffe26_wo;
  1625. wire infinite_output_sign_dffe27_wi;
  1626. wire infinite_output_sign_dffe27_wo;
  1627. wire infinite_output_sign_dffe2_wi;
  1628. wire infinite_output_sign_dffe2_wo;
  1629. wire infinite_output_sign_dffe31_wi;
  1630. wire infinite_output_sign_dffe31_wo;
  1631. wire infinite_output_sign_dffe32_wi;
  1632. wire infinite_output_sign_dffe32_wo;
  1633. wire infinite_output_sign_dffe33_wi;
  1634. wire infinite_output_sign_dffe33_wo;
  1635. wire infinite_output_sign_dffe3_wi;
  1636. wire infinite_output_sign_dffe3_wo;
  1637. wire infinite_output_sign_dffe41_wi;
  1638. wire infinite_output_sign_dffe41_wo;
  1639. wire infinite_output_sign_dffe42_wi;
  1640. wire infinite_output_sign_dffe42_wo;
  1641. wire infinite_output_sign_dffe4_wi;
  1642. wire infinite_output_sign_dffe4_wo;
  1643. wire infinite_res_dff32_wi;
  1644. wire infinite_res_dff32_wo;
  1645. wire infinite_res_dff33_wi;
  1646. wire infinite_res_dff33_wo;
  1647. wire infinite_res_dffe3_wi;
  1648. wire infinite_res_dffe3_wo;
  1649. wire infinite_res_dffe41_wi;
  1650. wire infinite_res_dffe41_wo;
  1651. wire infinite_res_dffe42_wi;
  1652. wire infinite_res_dffe42_wo;
  1653. wire infinite_res_dffe4_wi;
  1654. wire infinite_res_dffe4_wo;
  1655. wire infinity_magnitude_sub_dffe21_wi;
  1656. wire infinity_magnitude_sub_dffe21_wo;
  1657. wire infinity_magnitude_sub_dffe22_wi;
  1658. wire infinity_magnitude_sub_dffe22_wo;
  1659. wire infinity_magnitude_sub_dffe23_wi;
  1660. wire infinity_magnitude_sub_dffe23_wo;
  1661. wire infinity_magnitude_sub_dffe26_wi;
  1662. wire infinity_magnitude_sub_dffe26_wo;
  1663. wire infinity_magnitude_sub_dffe27_wi;
  1664. wire infinity_magnitude_sub_dffe27_wo;
  1665. wire infinity_magnitude_sub_dffe2_wi;
  1666. wire infinity_magnitude_sub_dffe2_wo;
  1667. wire infinity_magnitude_sub_dffe31_wi;
  1668. wire infinity_magnitude_sub_dffe31_wo;
  1669. wire infinity_magnitude_sub_dffe32_wi;
  1670. wire infinity_magnitude_sub_dffe32_wo;
  1671. wire infinity_magnitude_sub_dffe33_wi;
  1672. wire infinity_magnitude_sub_dffe33_wo;
  1673. wire infinity_magnitude_sub_dffe3_wi;
  1674. wire infinity_magnitude_sub_dffe3_wo;
  1675. wire infinity_magnitude_sub_dffe41_wi;
  1676. wire infinity_magnitude_sub_dffe41_wo;
  1677. wire infinity_magnitude_sub_dffe42_wi;
  1678. wire infinity_magnitude_sub_dffe42_wo;
  1679. wire infinity_magnitude_sub_dffe4_wi;
  1680. wire infinity_magnitude_sub_dffe4_wo;
  1681. wire input_dataa_denormal_dffe11_wi;
  1682. wire input_dataa_denormal_dffe11_wo;
  1683. wire input_dataa_denormal_w;
  1684. wire input_dataa_infinite_dffe11_wi;
  1685. wire input_dataa_infinite_dffe11_wo;
  1686. wire input_dataa_infinite_dffe12_wi;
  1687. wire input_dataa_infinite_dffe12_wo;
  1688. wire input_dataa_infinite_dffe13_wi;
  1689. wire input_dataa_infinite_dffe13_wo;
  1690. wire input_dataa_infinite_dffe14_wi;
  1691. wire input_dataa_infinite_dffe14_wo;
  1692. wire input_dataa_infinite_dffe15_wi;
  1693. wire input_dataa_infinite_dffe15_wo;
  1694. wire input_dataa_infinite_w;
  1695. wire input_dataa_nan_dffe11_wi;
  1696. wire input_dataa_nan_dffe11_wo;
  1697. wire input_dataa_nan_dffe12_wi;
  1698. wire input_dataa_nan_dffe12_wo;
  1699. wire input_dataa_nan_w;
  1700. wire input_dataa_zero_dffe11_wi;
  1701. wire input_dataa_zero_dffe11_wo;
  1702. wire input_dataa_zero_w;
  1703. wire input_datab_denormal_dffe11_wi;
  1704. wire input_datab_denormal_dffe11_wo;
  1705. wire input_datab_denormal_w;
  1706. wire input_datab_infinite_dffe11_wi;
  1707. wire input_datab_infinite_dffe11_wo;
  1708. wire input_datab_infinite_dffe12_wi;
  1709. wire input_datab_infinite_dffe12_wo;
  1710. wire input_datab_infinite_dffe13_wi;
  1711. wire input_datab_infinite_dffe13_wo;
  1712. wire input_datab_infinite_dffe14_wi;
  1713. wire input_datab_infinite_dffe14_wo;
  1714. wire input_datab_infinite_dffe15_wi;
  1715. wire input_datab_infinite_dffe15_wo;
  1716. wire input_datab_infinite_w;
  1717. wire input_datab_nan_dffe11_wi;
  1718. wire input_datab_nan_dffe11_wo;
  1719. wire input_datab_nan_dffe12_wi;
  1720. wire input_datab_nan_dffe12_wo;
  1721. wire input_datab_nan_w;
  1722. wire input_datab_zero_dffe11_wi;
  1723. wire input_datab_zero_dffe11_wo;
  1724. wire input_datab_zero_w;
  1725. wire input_is_infinite_dffe1_wi;
  1726. wire input_is_infinite_dffe1_wo;
  1727. wire input_is_infinite_dffe21_wi;
  1728. wire input_is_infinite_dffe21_wo;
  1729. wire input_is_infinite_dffe22_wi;
  1730. wire input_is_infinite_dffe22_wo;
  1731. wire input_is_infinite_dffe23_wi;
  1732. wire input_is_infinite_dffe23_wo;
  1733. wire input_is_infinite_dffe25_wi;
  1734. wire input_is_infinite_dffe25_wo;
  1735. wire input_is_infinite_dffe26_wi;
  1736. wire input_is_infinite_dffe26_wo;
  1737. wire input_is_infinite_dffe27_wi;
  1738. wire input_is_infinite_dffe27_wo;
  1739. wire input_is_infinite_dffe2_wi;
  1740. wire input_is_infinite_dffe2_wo;
  1741. wire input_is_infinite_dffe31_wi;
  1742. wire input_is_infinite_dffe31_wo;
  1743. wire input_is_infinite_dffe32_wi;
  1744. wire input_is_infinite_dffe32_wo;
  1745. wire input_is_infinite_dffe33_wi;
  1746. wire input_is_infinite_dffe33_wo;
  1747. wire input_is_infinite_dffe3_wi;
  1748. wire input_is_infinite_dffe3_wo;
  1749. wire input_is_infinite_dffe41_wi;
  1750. wire input_is_infinite_dffe41_wo;
  1751. wire input_is_infinite_dffe42_wi;
  1752. wire input_is_infinite_dffe42_wo;
  1753. wire input_is_infinite_dffe4_wi;
  1754. wire input_is_infinite_dffe4_wo;
  1755. wire input_is_nan_dffe13_wi;
  1756. wire input_is_nan_dffe13_wo;
  1757. wire input_is_nan_dffe14_wi;
  1758. wire input_is_nan_dffe14_wo;
  1759. wire input_is_nan_dffe15_wi;
  1760. wire input_is_nan_dffe15_wo;
  1761. wire input_is_nan_dffe1_wi;
  1762. wire input_is_nan_dffe1_wo;
  1763. wire input_is_nan_dffe21_wi;
  1764. wire input_is_nan_dffe21_wo;
  1765. wire input_is_nan_dffe22_wi;
  1766. wire input_is_nan_dffe22_wo;
  1767. wire input_is_nan_dffe23_wi;
  1768. wire input_is_nan_dffe23_wo;
  1769. wire input_is_nan_dffe25_wi;
  1770. wire input_is_nan_dffe25_wo;
  1771. wire input_is_nan_dffe26_wi;
  1772. wire input_is_nan_dffe26_wo;
  1773. wire input_is_nan_dffe27_wi;
  1774. wire input_is_nan_dffe27_wo;
  1775. wire input_is_nan_dffe2_wi;
  1776. wire input_is_nan_dffe2_wo;
  1777. wire input_is_nan_dffe31_wi;
  1778. wire input_is_nan_dffe31_wo;
  1779. wire input_is_nan_dffe32_wi;
  1780. wire input_is_nan_dffe32_wo;
  1781. wire input_is_nan_dffe33_wi;
  1782. wire input_is_nan_dffe33_wo;
  1783. wire input_is_nan_dffe3_wi;
  1784. wire input_is_nan_dffe3_wo;
  1785. wire input_is_nan_dffe41_wi;
  1786. wire input_is_nan_dffe41_wo;
  1787. wire input_is_nan_dffe42_wi;
  1788. wire input_is_nan_dffe42_wo;
  1789. wire input_is_nan_dffe4_wi;
  1790. wire input_is_nan_dffe4_wo;
  1791. wire [27:0] man_2comp_res_dataa_w;
  1792. wire [27:0] man_2comp_res_datab_w;
  1793. wire [27:0] man_2comp_res_w;
  1794. wire [22:0] man_a_not_zero_w;
  1795. wire [27:0] man_add_sub_dataa_w;
  1796. wire [27:0] man_add_sub_datab_w;
  1797. wire [25:0] man_add_sub_res_mag_dffe21_wi;
  1798. wire [25:0] man_add_sub_res_mag_dffe21_wo;
  1799. wire [25:0] man_add_sub_res_mag_dffe23_wi;
  1800. wire [25:0] man_add_sub_res_mag_dffe23_wo;
  1801. wire [25:0] man_add_sub_res_mag_dffe26_wi;
  1802. wire [25:0] man_add_sub_res_mag_dffe26_wo;
  1803. wire [27:0] man_add_sub_res_mag_dffe27_wi;
  1804. wire [27:0] man_add_sub_res_mag_dffe27_wo;
  1805. wire [27:0] man_add_sub_res_mag_w2;
  1806. wire man_add_sub_res_sign_dffe21_wo;
  1807. wire man_add_sub_res_sign_dffe23_wi;
  1808. wire man_add_sub_res_sign_dffe23_wo;
  1809. wire man_add_sub_res_sign_dffe26_wi;
  1810. wire man_add_sub_res_sign_dffe26_wo;
  1811. wire man_add_sub_res_sign_dffe27_wi;
  1812. wire man_add_sub_res_sign_dffe27_wo;
  1813. wire man_add_sub_res_sign_w2;
  1814. wire [27:0] man_add_sub_w;
  1815. wire [22:0] man_all_zeros_w;
  1816. wire [22:0] man_b_not_zero_w;
  1817. wire [25:0] man_dffe31_wo;
  1818. wire [25:0] man_intermediate_res_w;
  1819. wire [4:0] man_leading_zeros_cnt_w;
  1820. wire [4:0] man_leading_zeros_dffe31_wi;
  1821. wire [4:0] man_leading_zeros_dffe31_wo;
  1822. wire [22:0] man_nan_w;
  1823. wire [22:0] man_out_dffe5_wi;
  1824. wire [22:0] man_out_dffe5_wo;
  1825. wire [22:0] man_res_dffe4_wi;
  1826. wire [22:0] man_res_dffe4_wo;
  1827. wire man_res_is_not_zero_dffe31_wi;
  1828. wire man_res_is_not_zero_dffe31_wo;
  1829. wire man_res_is_not_zero_dffe32_wi;
  1830. wire man_res_is_not_zero_dffe32_wo;
  1831. wire man_res_is_not_zero_dffe33_wi;
  1832. wire man_res_is_not_zero_dffe33_wo;
  1833. wire man_res_is_not_zero_dffe3_wi;
  1834. wire man_res_is_not_zero_dffe3_wo;
  1835. wire man_res_is_not_zero_dffe41_wi;
  1836. wire man_res_is_not_zero_dffe41_wo;
  1837. wire man_res_is_not_zero_dffe42_wi;
  1838. wire man_res_is_not_zero_dffe42_wo;
  1839. wire man_res_is_not_zero_dffe4_wi;
  1840. wire man_res_is_not_zero_dffe4_wo;
  1841. wire [25:0] man_res_mag_w2;
  1842. wire man_res_not_zero_dffe23_wi;
  1843. wire man_res_not_zero_dffe23_wo;
  1844. wire man_res_not_zero_dffe26_wi;
  1845. wire man_res_not_zero_dffe26_wo;
  1846. wire [24:0] man_res_not_zero_w2;
  1847. wire [25:0] man_res_rounding_add_sub_datab_w;
  1848. wire [25:0] man_res_rounding_add_sub_w;
  1849. wire [23:0] man_res_w3;
  1850. wire [22:0] man_rounded_res_w;
  1851. wire man_rounding_add_value_w;
  1852. wire [23:0] man_smaller_dffe13_wi;
  1853. wire [23:0] man_smaller_dffe13_wo;
  1854. wire [23:0] man_smaller_w;
  1855. wire need_complement_dffe22_wi;
  1856. wire need_complement_dffe22_wo;
  1857. wire need_complement_dffe2_wi;
  1858. wire need_complement_dffe2_wo;
  1859. wire [1:0] pos_sign_bit_ext;
  1860. wire [3:0] priority_encoder_1pads_w;
  1861. wire round_bit_dffe21_wi;
  1862. wire round_bit_dffe21_wo;
  1863. wire round_bit_dffe23_wi;
  1864. wire round_bit_dffe23_wo;
  1865. wire round_bit_dffe26_wi;
  1866. wire round_bit_dffe26_wo;
  1867. wire round_bit_dffe31_wi;
  1868. wire round_bit_dffe31_wo;
  1869. wire round_bit_dffe32_wi;
  1870. wire round_bit_dffe32_wo;
  1871. wire round_bit_dffe33_wi;
  1872. wire round_bit_dffe33_wo;
  1873. wire round_bit_dffe3_wi;
  1874. wire round_bit_dffe3_wo;
  1875. wire round_bit_w;
  1876. wire rounded_res_infinity_dffe4_wi;
  1877. wire rounded_res_infinity_dffe4_wo;
  1878. wire [4:0] rshift_distance_dffe13_wi;
  1879. wire [4:0] rshift_distance_dffe13_wo;
  1880. wire [4:0] rshift_distance_dffe14_wi;
  1881. wire [4:0] rshift_distance_dffe14_wo;
  1882. wire [4:0] rshift_distance_dffe15_wi;
  1883. wire [4:0] rshift_distance_dffe15_wo;
  1884. wire [4:0] rshift_distance_w;
  1885. wire sign_dffe31_wi;
  1886. wire sign_dffe31_wo;
  1887. wire sign_dffe32_wi;
  1888. wire sign_dffe32_wo;
  1889. wire sign_dffe33_wi;
  1890. wire sign_dffe33_wo;
  1891. wire sign_out_dffe5_wi;
  1892. wire sign_out_dffe5_wo;
  1893. wire sign_res_dffe3_wi;
  1894. wire sign_res_dffe3_wo;
  1895. wire sign_res_dffe41_wi;
  1896. wire sign_res_dffe41_wo;
  1897. wire sign_res_dffe42_wi;
  1898. wire sign_res_dffe42_wo;
  1899. wire sign_res_dffe4_wi;
  1900. wire sign_res_dffe4_wo;
  1901. wire [5:0] sticky_bit_cnt_dataa_w;
  1902. wire [5:0] sticky_bit_cnt_datab_w;
  1903. wire [5:0] sticky_bit_cnt_res_w;
  1904. wire sticky_bit_dffe1_wi;
  1905. wire sticky_bit_dffe1_wo;
  1906. wire sticky_bit_dffe21_wi;
  1907. wire sticky_bit_dffe21_wo;
  1908. wire sticky_bit_dffe22_wi;
  1909. wire sticky_bit_dffe22_wo;
  1910. wire sticky_bit_dffe23_wi;
  1911. wire sticky_bit_dffe23_wo;
  1912. wire sticky_bit_dffe25_wi;
  1913. wire sticky_bit_dffe25_wo;
  1914. wire sticky_bit_dffe26_wi;
  1915. wire sticky_bit_dffe26_wo;
  1916. wire sticky_bit_dffe27_wi;
  1917. wire sticky_bit_dffe27_wo;
  1918. wire sticky_bit_dffe2_wi;
  1919. wire sticky_bit_dffe2_wo;
  1920. wire sticky_bit_dffe31_wi;
  1921. wire sticky_bit_dffe31_wo;
  1922. wire sticky_bit_dffe32_wi;
  1923. wire sticky_bit_dffe32_wo;
  1924. wire sticky_bit_dffe33_wi;
  1925. wire sticky_bit_dffe33_wo;
  1926. wire sticky_bit_dffe3_wi;
  1927. wire sticky_bit_dffe3_wo;
  1928. wire sticky_bit_w;
  1929. wire [5:0] trailing_zeros_limit_w;
  1930. wire zero_man_sign_dffe21_wi;
  1931. wire zero_man_sign_dffe21_wo;
  1932. wire zero_man_sign_dffe22_wi;
  1933. wire zero_man_sign_dffe22_wo;
  1934. wire zero_man_sign_dffe23_wi;
  1935. wire zero_man_sign_dffe23_wo;
  1936. wire zero_man_sign_dffe26_wi;
  1937. wire zero_man_sign_dffe26_wo;
  1938. wire zero_man_sign_dffe27_wi;
  1939. wire zero_man_sign_dffe27_wo;
  1940. wire zero_man_sign_dffe2_wi;
  1941. wire zero_man_sign_dffe2_wo;
  1942. fpoint_hw_qsys_addsub_single_altbarrel_shift_fjg lbarrel_shift
  1943. (
  1944. .aclr(aclr),
  1945. .clk_en(clk_en),
  1946. .clock(clock),
  1947. .data(man_dffe31_wo),
  1948. .distance(man_leading_zeros_cnt_w),
  1949. .result(wire_lbarrel_shift_result));
  1950. fpoint_hw_qsys_addsub_single_altbarrel_shift_44e rbarrel_shift
  1951. (
  1952. .data({man_smaller_dffe13_wo, {2{1'b0}}}),
  1953. .distance(rshift_distance_dffe13_wo),
  1954. .result(wire_rbarrel_shift_result));
  1955. fpoint_hw_qsys_addsub_single_altpriority_encoder_9u8 leading_zeroes_cnt
  1956. (
  1957. .data({man_add_sub_res_mag_dffe21_wo[25:1], 1'b1, {6{1'b0}}}),
  1958. .q(wire_leading_zeroes_cnt_q));
  1959. fpoint_hw_qsys_addsub_single_altpriority_encoder_tma trailing_zeros_cnt
  1960. (
  1961. .data({{9{1'b1}}, man_smaller_dffe13_wo[22:0]}),
  1962. .q(wire_trailing_zeros_cnt_q));
  1963. // synopsys translate_off
  1964. initial
  1965. add_sub_dffe1 = 0;
  1966. // synopsys translate_on
  1967. always @ ( posedge clock or posedge aclr)
  1968. if (aclr == 1'b1) add_sub_dffe1 <= 1'b0;
  1969. else if (clk_en == 1'b1) add_sub_dffe1 <= add_sub_dffe1_wi;
  1970. // synopsys translate_off
  1971. initial
  1972. add_sub_dffe12 = 0;
  1973. // synopsys translate_on
  1974. always @ ( posedge clock or posedge aclr)
  1975. if (aclr == 1'b1) add_sub_dffe12 <= 1'b0;
  1976. else if (clk_en == 1'b1) add_sub_dffe12 <= add_sub_dffe12_wi;
  1977. // synopsys translate_off
  1978. initial
  1979. aligned_dataa_exp_dffe12 = 0;
  1980. // synopsys translate_on
  1981. always @ ( posedge clock or posedge aclr)
  1982. if (aclr == 1'b1) aligned_dataa_exp_dffe12 <= 9'b0;
  1983. else if (clk_en == 1'b1) aligned_dataa_exp_dffe12 <= aligned_dataa_exp_dffe12_wi;
  1984. // synopsys translate_off
  1985. initial
  1986. aligned_dataa_man_dffe12 = 0;
  1987. // synopsys translate_on
  1988. always @ ( posedge clock or posedge aclr)
  1989. if (aclr == 1'b1) aligned_dataa_man_dffe12 <= 24'b0;
  1990. else if (clk_en == 1'b1) aligned_dataa_man_dffe12 <= aligned_dataa_man_dffe12_wi;
  1991. // synopsys translate_off
  1992. initial
  1993. aligned_dataa_sign_dffe12 = 0;
  1994. // synopsys translate_on
  1995. always @ ( posedge clock or posedge aclr)
  1996. if (aclr == 1'b1) aligned_dataa_sign_dffe12 <= 1'b0;
  1997. else if (clk_en == 1'b1) aligned_dataa_sign_dffe12 <= aligned_dataa_sign_dffe12_wi;
  1998. // synopsys translate_off
  1999. initial
  2000. aligned_datab_exp_dffe12 = 0;
  2001. // synopsys translate_on
  2002. always @ ( posedge clock or posedge aclr)
  2003. if (aclr == 1'b1) aligned_datab_exp_dffe12 <= 9'b0;
  2004. else if (clk_en == 1'b1) aligned_datab_exp_dffe12 <= aligned_datab_exp_dffe12_wi;
  2005. // synopsys translate_off
  2006. initial
  2007. aligned_datab_man_dffe12 = 0;
  2008. // synopsys translate_on
  2009. always @ ( posedge clock or posedge aclr)
  2010. if (aclr == 1'b1) aligned_datab_man_dffe12 <= 24'b0;
  2011. else if (clk_en == 1'b1) aligned_datab_man_dffe12 <= aligned_datab_man_dffe12_wi;
  2012. // synopsys translate_off
  2013. initial
  2014. aligned_datab_sign_dffe12 = 0;
  2015. // synopsys translate_on
  2016. always @ ( posedge clock or posedge aclr)
  2017. if (aclr == 1'b1) aligned_datab_sign_dffe12 <= 1'b0;
  2018. else if (clk_en == 1'b1) aligned_datab_sign_dffe12 <= aligned_datab_sign_dffe12_wi;
  2019. // synopsys translate_off
  2020. initial
  2021. both_inputs_are_infinite_dffe1 = 0;
  2022. // synopsys translate_on
  2023. always @ ( posedge clock or posedge aclr)
  2024. if (aclr == 1'b1) both_inputs_are_infinite_dffe1 <= 1'b0;
  2025. else if (clk_en == 1'b1) both_inputs_are_infinite_dffe1 <= both_inputs_are_infinite_dffe1_wi;
  2026. // synopsys translate_off
  2027. initial
  2028. data_exp_dffe1 = 0;
  2029. // synopsys translate_on
  2030. always @ ( posedge clock or posedge aclr)
  2031. if (aclr == 1'b1) data_exp_dffe1 <= 8'b0;
  2032. else if (clk_en == 1'b1) data_exp_dffe1 <= data_exp_dffe1_wi;
  2033. // synopsys translate_off
  2034. initial
  2035. dataa_man_dffe1 = 0;
  2036. // synopsys translate_on
  2037. always @ ( posedge clock or posedge aclr)
  2038. if (aclr == 1'b1) dataa_man_dffe1 <= 26'b0;
  2039. else if (clk_en == 1'b1) dataa_man_dffe1 <= dataa_man_dffe1_wi;
  2040. // synopsys translate_off
  2041. initial
  2042. dataa_sign_dffe1 = 0;
  2043. // synopsys translate_on
  2044. always @ ( posedge clock or posedge aclr)
  2045. if (aclr == 1'b1) dataa_sign_dffe1 <= 1'b0;
  2046. else if (clk_en == 1'b1) dataa_sign_dffe1 <= dataa_sign_dffe1_wi;
  2047. // synopsys translate_off
  2048. initial
  2049. datab_man_dffe1 = 0;
  2050. // synopsys translate_on
  2051. always @ ( posedge clock or posedge aclr)
  2052. if (aclr == 1'b1) datab_man_dffe1 <= 26'b0;
  2053. else if (clk_en == 1'b1) datab_man_dffe1 <= datab_man_dffe1_wi;
  2054. // synopsys translate_off
  2055. initial
  2056. datab_sign_dffe1 = 0;
  2057. // synopsys translate_on
  2058. always @ ( posedge clock or posedge aclr)
  2059. if (aclr == 1'b1) datab_sign_dffe1 <= 1'b0;
  2060. else if (clk_en == 1'b1) datab_sign_dffe1 <= datab_sign_dffe1_wi;
  2061. // synopsys translate_off
  2062. initial
  2063. denormal_res_dffe3 = 0;
  2064. // synopsys translate_on
  2065. always @ ( posedge clock or posedge aclr)
  2066. if (aclr == 1'b1) denormal_res_dffe3 <= 1'b0;
  2067. else if (clk_en == 1'b1) denormal_res_dffe3 <= denormal_res_dffe3_wi;
  2068. // synopsys translate_off
  2069. initial
  2070. denormal_res_dffe4 = 0;
  2071. // synopsys translate_on
  2072. always @ ( posedge clock or posedge aclr)
  2073. if (aclr == 1'b1) denormal_res_dffe4 <= 1'b0;
  2074. else if (clk_en == 1'b1) denormal_res_dffe4 <= denormal_res_dffe4_wi;
  2075. // synopsys translate_off
  2076. initial
  2077. exp_adj_dffe21 = 0;
  2078. // synopsys translate_on
  2079. always @ ( posedge clock or posedge aclr)
  2080. if (aclr == 1'b1) exp_adj_dffe21 <= 2'b0;
  2081. else if (clk_en == 1'b1) exp_adj_dffe21 <= exp_adj_dffe21_wi;
  2082. // synopsys translate_off
  2083. initial
  2084. exp_out_dffe5 = 0;
  2085. // synopsys translate_on
  2086. always @ ( posedge clock or posedge aclr)
  2087. if (aclr == 1'b1) exp_out_dffe5 <= 8'b0;
  2088. else if (clk_en == 1'b1) exp_out_dffe5 <= exp_out_dffe5_wi;
  2089. // synopsys translate_off
  2090. initial
  2091. exp_res_dffe2 = 0;
  2092. // synopsys translate_on
  2093. always @ ( posedge clock or posedge aclr)
  2094. if (aclr == 1'b1) exp_res_dffe2 <= 8'b0;
  2095. else if (clk_en == 1'b1) exp_res_dffe2 <= exp_res_dffe2_wi;
  2096. // synopsys translate_off
  2097. initial
  2098. exp_res_dffe21 = 0;
  2099. // synopsys translate_on
  2100. always @ ( posedge clock or posedge aclr)
  2101. if (aclr == 1'b1) exp_res_dffe21 <= 8'b0;
  2102. else if (clk_en == 1'b1) exp_res_dffe21 <= exp_res_dffe21_wi;
  2103. // synopsys translate_off
  2104. initial
  2105. exp_res_dffe3 = 0;
  2106. // synopsys translate_on
  2107. always @ ( posedge clock or posedge aclr)
  2108. if (aclr == 1'b1) exp_res_dffe3 <= 8'b0;
  2109. else if (clk_en == 1'b1) exp_res_dffe3 <= exp_res_dffe3_wi;
  2110. // synopsys translate_off
  2111. initial
  2112. exp_res_dffe4 = 0;
  2113. // synopsys translate_on
  2114. always @ ( posedge clock or posedge aclr)
  2115. if (aclr == 1'b1) exp_res_dffe4 <= 8'b0;
  2116. else if (clk_en == 1'b1) exp_res_dffe4 <= exp_res_dffe4_wi;
  2117. // synopsys translate_off
  2118. initial
  2119. infinite_output_sign_dffe1 = 0;
  2120. // synopsys translate_on
  2121. always @ ( posedge clock or posedge aclr)
  2122. if (aclr == 1'b1) infinite_output_sign_dffe1 <= 1'b0;
  2123. else if (clk_en == 1'b1) infinite_output_sign_dffe1 <= infinite_output_sign_dffe1_wi;
  2124. // synopsys translate_off
  2125. initial
  2126. infinite_output_sign_dffe2 = 0;
  2127. // synopsys translate_on
  2128. always @ ( posedge clock or posedge aclr)
  2129. if (aclr == 1'b1) infinite_output_sign_dffe2 <= 1'b0;
  2130. else if (clk_en == 1'b1) infinite_output_sign_dffe2 <= infinite_output_sign_dffe2_wi;
  2131. // synopsys translate_off
  2132. initial
  2133. infinite_output_sign_dffe21 = 0;
  2134. // synopsys translate_on
  2135. always @ ( posedge clock or posedge aclr)
  2136. if (aclr == 1'b1) infinite_output_sign_dffe21 <= 1'b0;
  2137. else if (clk_en == 1'b1) infinite_output_sign_dffe21 <= infinite_output_sign_dffe21_wi;
  2138. // synopsys translate_off
  2139. initial
  2140. infinite_output_sign_dffe3 = 0;
  2141. // synopsys translate_on
  2142. always @ ( posedge clock or posedge aclr)
  2143. if (aclr == 1'b1) infinite_output_sign_dffe3 <= 1'b0;
  2144. else if (clk_en == 1'b1) infinite_output_sign_dffe3 <= infinite_output_sign_dffe3_wi;
  2145. // synopsys translate_off
  2146. initial
  2147. infinite_output_sign_dffe31 = 0;
  2148. // synopsys translate_on
  2149. always @ ( posedge clock or posedge aclr)
  2150. if (aclr == 1'b1) infinite_output_sign_dffe31 <= 1'b0;
  2151. else if (clk_en == 1'b1) infinite_output_sign_dffe31 <= infinite_output_sign_dffe31_wi;
  2152. // synopsys translate_off
  2153. initial
  2154. infinite_output_sign_dffe4 = 0;
  2155. // synopsys translate_on
  2156. always @ ( posedge clock or posedge aclr)
  2157. if (aclr == 1'b1) infinite_output_sign_dffe4 <= 1'b0;
  2158. else if (clk_en == 1'b1) infinite_output_sign_dffe4 <= infinite_output_sign_dffe4_wi;
  2159. // synopsys translate_off
  2160. initial
  2161. infinite_res_dffe3 = 0;
  2162. // synopsys translate_on
  2163. always @ ( posedge clock or posedge aclr)
  2164. if (aclr == 1'b1) infinite_res_dffe3 <= 1'b0;
  2165. else if (clk_en == 1'b1) infinite_res_dffe3 <= infinite_res_dffe3_wi;
  2166. // synopsys translate_off
  2167. initial
  2168. infinite_res_dffe4 = 0;
  2169. // synopsys translate_on
  2170. always @ ( posedge clock or posedge aclr)
  2171. if (aclr == 1'b1) infinite_res_dffe4 <= 1'b0;
  2172. else if (clk_en == 1'b1) infinite_res_dffe4 <= infinite_res_dffe4_wi;
  2173. // synopsys translate_off
  2174. initial
  2175. infinity_magnitude_sub_dffe2 = 0;
  2176. // synopsys translate_on
  2177. always @ ( posedge clock or posedge aclr)
  2178. if (aclr == 1'b1) infinity_magnitude_sub_dffe2 <= 1'b0;
  2179. else if (clk_en == 1'b1) infinity_magnitude_sub_dffe2 <= infinity_magnitude_sub_dffe2_wi;
  2180. // synopsys translate_off
  2181. initial
  2182. infinity_magnitude_sub_dffe21 = 0;
  2183. // synopsys translate_on
  2184. always @ ( posedge clock or posedge aclr)
  2185. if (aclr == 1'b1) infinity_magnitude_sub_dffe21 <= 1'b0;
  2186. else if (clk_en == 1'b1) infinity_magnitude_sub_dffe21 <= infinity_magnitude_sub_dffe21_wi;
  2187. // synopsys translate_off
  2188. initial
  2189. infinity_magnitude_sub_dffe3 = 0;
  2190. // synopsys translate_on
  2191. always @ ( posedge clock or posedge aclr)
  2192. if (aclr == 1'b1) infinity_magnitude_sub_dffe3 <= 1'b0;
  2193. else if (clk_en == 1'b1) infinity_magnitude_sub_dffe3 <= infinity_magnitude_sub_dffe3_wi;
  2194. // synopsys translate_off
  2195. initial
  2196. infinity_magnitude_sub_dffe31 = 0;
  2197. // synopsys translate_on
  2198. always @ ( posedge clock or posedge aclr)
  2199. if (aclr == 1'b1) infinity_magnitude_sub_dffe31 <= 1'b0;
  2200. else if (clk_en == 1'b1) infinity_magnitude_sub_dffe31 <= infinity_magnitude_sub_dffe31_wi;
  2201. // synopsys translate_off
  2202. initial
  2203. infinity_magnitude_sub_dffe4 = 0;
  2204. // synopsys translate_on
  2205. always @ ( posedge clock or posedge aclr)
  2206. if (aclr == 1'b1) infinity_magnitude_sub_dffe4 <= 1'b0;
  2207. else if (clk_en == 1'b1) infinity_magnitude_sub_dffe4 <= infinity_magnitude_sub_dffe4_wi;
  2208. // synopsys translate_off
  2209. initial
  2210. input_dataa_infinite_dffe12 = 0;
  2211. // synopsys translate_on
  2212. always @ ( posedge clock or posedge aclr)
  2213. if (aclr == 1'b1) input_dataa_infinite_dffe12 <= 1'b0;
  2214. else if (clk_en == 1'b1) input_dataa_infinite_dffe12 <= input_dataa_infinite_dffe12_wi;
  2215. // synopsys translate_off
  2216. initial
  2217. input_dataa_nan_dffe12 = 0;
  2218. // synopsys translate_on
  2219. always @ ( posedge clock or posedge aclr)
  2220. if (aclr == 1'b1) input_dataa_nan_dffe12 <= 1'b0;
  2221. else if (clk_en == 1'b1) input_dataa_nan_dffe12 <= input_dataa_nan_dffe12_wi;
  2222. // synopsys translate_off
  2223. initial
  2224. input_datab_infinite_dffe12 = 0;
  2225. // synopsys translate_on
  2226. always @ ( posedge clock or posedge aclr)
  2227. if (aclr == 1'b1) input_datab_infinite_dffe12 <= 1'b0;
  2228. else if (clk_en == 1'b1) input_datab_infinite_dffe12 <= input_datab_infinite_dffe12_wi;
  2229. // synopsys translate_off
  2230. initial
  2231. input_datab_nan_dffe12 = 0;
  2232. // synopsys translate_on
  2233. always @ ( posedge clock or posedge aclr)
  2234. if (aclr == 1'b1) input_datab_nan_dffe12 <= 1'b0;
  2235. else if (clk_en == 1'b1) input_datab_nan_dffe12 <= input_datab_nan_dffe12_wi;
  2236. // synopsys translate_off
  2237. initial
  2238. input_is_infinite_dffe1 = 0;
  2239. // synopsys translate_on
  2240. always @ ( posedge clock or posedge aclr)
  2241. if (aclr == 1'b1) input_is_infinite_dffe1 <= 1'b0;
  2242. else if (clk_en == 1'b1) input_is_infinite_dffe1 <= input_is_infinite_dffe1_wi;
  2243. // synopsys translate_off
  2244. initial
  2245. input_is_infinite_dffe2 = 0;
  2246. // synopsys translate_on
  2247. always @ ( posedge clock or posedge aclr)
  2248. if (aclr == 1'b1) input_is_infinite_dffe2 <= 1'b0;
  2249. else if (clk_en == 1'b1) input_is_infinite_dffe2 <= input_is_infinite_dffe2_wi;
  2250. // synopsys translate_off
  2251. initial
  2252. input_is_infinite_dffe21 = 0;
  2253. // synopsys translate_on
  2254. always @ ( posedge clock or posedge aclr)
  2255. if (aclr == 1'b1) input_is_infinite_dffe21 <= 1'b0;
  2256. else if (clk_en == 1'b1) input_is_infinite_dffe21 <= input_is_infinite_dffe21_wi;
  2257. // synopsys translate_off
  2258. initial
  2259. input_is_infinite_dffe3 = 0;
  2260. // synopsys translate_on
  2261. always @ ( posedge clock or posedge aclr)
  2262. if (aclr == 1'b1) input_is_infinite_dffe3 <= 1'b0;
  2263. else if (clk_en == 1'b1) input_is_infinite_dffe3 <= input_is_infinite_dffe3_wi;
  2264. // synopsys translate_off
  2265. initial
  2266. input_is_infinite_dffe31 = 0;
  2267. // synopsys translate_on
  2268. always @ ( posedge clock or posedge aclr)
  2269. if (aclr == 1'b1) input_is_infinite_dffe31 <= 1'b0;
  2270. else if (clk_en == 1'b1) input_is_infinite_dffe31 <= input_is_infinite_dffe31_wi;
  2271. // synopsys translate_off
  2272. initial
  2273. input_is_infinite_dffe4 = 0;
  2274. // synopsys translate_on
  2275. always @ ( posedge clock or posedge aclr)
  2276. if (aclr == 1'b1) input_is_infinite_dffe4 <= 1'b0;
  2277. else if (clk_en == 1'b1) input_is_infinite_dffe4 <= input_is_infinite_dffe4_wi;
  2278. // synopsys translate_off
  2279. initial
  2280. input_is_nan_dffe1 = 0;
  2281. // synopsys translate_on
  2282. always @ ( posedge clock or posedge aclr)
  2283. if (aclr == 1'b1) input_is_nan_dffe1 <= 1'b0;
  2284. else if (clk_en == 1'b1) input_is_nan_dffe1 <= input_is_nan_dffe1_wi;
  2285. // synopsys translate_off
  2286. initial
  2287. input_is_nan_dffe2 = 0;
  2288. // synopsys translate_on
  2289. always @ ( posedge clock or posedge aclr)
  2290. if (aclr == 1'b1) input_is_nan_dffe2 <= 1'b0;
  2291. else if (clk_en == 1'b1) input_is_nan_dffe2 <= input_is_nan_dffe2_wi;
  2292. // synopsys translate_off
  2293. initial
  2294. input_is_nan_dffe21 = 0;
  2295. // synopsys translate_on
  2296. always @ ( posedge clock or posedge aclr)
  2297. if (aclr == 1'b1) input_is_nan_dffe21 <= 1'b0;
  2298. else if (clk_en == 1'b1) input_is_nan_dffe21 <= input_is_nan_dffe21_wi;
  2299. // synopsys translate_off
  2300. initial
  2301. input_is_nan_dffe3 = 0;
  2302. // synopsys translate_on
  2303. always @ ( posedge clock or posedge aclr)
  2304. if (aclr == 1'b1) input_is_nan_dffe3 <= 1'b0;
  2305. else if (clk_en == 1'b1) input_is_nan_dffe3 <= input_is_nan_dffe3_wi;
  2306. // synopsys translate_off
  2307. initial
  2308. input_is_nan_dffe31 = 0;
  2309. // synopsys translate_on
  2310. always @ ( posedge clock or posedge aclr)
  2311. if (aclr == 1'b1) input_is_nan_dffe31 <= 1'b0;
  2312. else if (clk_en == 1'b1) input_is_nan_dffe31 <= input_is_nan_dffe31_wi;
  2313. // synopsys translate_off
  2314. initial
  2315. input_is_nan_dffe4 = 0;
  2316. // synopsys translate_on
  2317. always @ ( posedge clock or posedge aclr)
  2318. if (aclr == 1'b1) input_is_nan_dffe4 <= 1'b0;
  2319. else if (clk_en == 1'b1) input_is_nan_dffe4 <= input_is_nan_dffe4_wi;
  2320. // synopsys translate_off
  2321. initial
  2322. man_add_sub_res_mag_dffe21 = 0;
  2323. // synopsys translate_on
  2324. always @ ( posedge clock or posedge aclr)
  2325. if (aclr == 1'b1) man_add_sub_res_mag_dffe21 <= 26'b0;
  2326. else if (clk_en == 1'b1) man_add_sub_res_mag_dffe21 <= man_add_sub_res_mag_dffe21_wi;
  2327. // synopsys translate_off
  2328. initial
  2329. man_add_sub_res_sign_dffe21 = 0;
  2330. // synopsys translate_on
  2331. always @ ( posedge clock or posedge aclr)
  2332. if (aclr == 1'b1) man_add_sub_res_sign_dffe21 <= 1'b0;
  2333. else if (clk_en == 1'b1) man_add_sub_res_sign_dffe21 <= man_add_sub_res_sign_dffe27_wo;
  2334. // synopsys translate_off
  2335. initial
  2336. man_dffe31 = 0;
  2337. // synopsys translate_on
  2338. always @ ( posedge clock or posedge aclr)
  2339. if (aclr == 1'b1) man_dffe31 <= 26'b0;
  2340. else if (clk_en == 1'b1) man_dffe31 <= man_add_sub_res_mag_dffe26_wo;
  2341. // synopsys translate_off
  2342. initial
  2343. man_leading_zeros_dffe31 = 0;
  2344. // synopsys translate_on
  2345. always @ ( posedge clock or posedge aclr)
  2346. if (aclr == 1'b1) man_leading_zeros_dffe31 <= 5'b0;
  2347. else if (clk_en == 1'b1) man_leading_zeros_dffe31 <= man_leading_zeros_dffe31_wi;
  2348. // synopsys translate_off
  2349. initial
  2350. man_out_dffe5 = 0;
  2351. // synopsys translate_on
  2352. always @ ( posedge clock or posedge aclr)
  2353. if (aclr == 1'b1) man_out_dffe5 <= 23'b0;
  2354. else if (clk_en == 1'b1) man_out_dffe5 <= man_out_dffe5_wi;
  2355. // synopsys translate_off
  2356. initial
  2357. man_res_dffe4 = 0;
  2358. // synopsys translate_on
  2359. always @ ( posedge clock or posedge aclr)
  2360. if (aclr == 1'b1) man_res_dffe4 <= 23'b0;
  2361. else if (clk_en == 1'b1) man_res_dffe4 <= man_res_dffe4_wi;
  2362. // synopsys translate_off
  2363. initial
  2364. man_res_is_not_zero_dffe3 = 0;
  2365. // synopsys translate_on
  2366. always @ ( posedge clock or posedge aclr)
  2367. if (aclr == 1'b1) man_res_is_not_zero_dffe3 <= 1'b0;
  2368. else if (clk_en == 1'b1) man_res_is_not_zero_dffe3 <= man_res_is_not_zero_dffe3_wi;
  2369. // synopsys translate_off
  2370. initial
  2371. man_res_is_not_zero_dffe31 = 0;
  2372. // synopsys translate_on
  2373. always @ ( posedge clock or posedge aclr)
  2374. if (aclr == 1'b1) man_res_is_not_zero_dffe31 <= 1'b0;
  2375. else if (clk_en == 1'b1) man_res_is_not_zero_dffe31 <= man_res_is_not_zero_dffe31_wi;
  2376. // synopsys translate_off
  2377. initial
  2378. man_res_is_not_zero_dffe4 = 0;
  2379. // synopsys translate_on
  2380. always @ ( posedge clock or posedge aclr)
  2381. if (aclr == 1'b1) man_res_is_not_zero_dffe4 <= 1'b0;
  2382. else if (clk_en == 1'b1) man_res_is_not_zero_dffe4 <= man_res_is_not_zero_dffe4_wi;
  2383. // synopsys translate_off
  2384. initial
  2385. need_complement_dffe2 = 0;
  2386. // synopsys translate_on
  2387. always @ ( posedge clock or posedge aclr)
  2388. if (aclr == 1'b1) need_complement_dffe2 <= 1'b0;
  2389. else if (clk_en == 1'b1) need_complement_dffe2 <= need_complement_dffe2_wi;
  2390. // synopsys translate_off
  2391. initial
  2392. round_bit_dffe21 = 0;
  2393. // synopsys translate_on
  2394. always @ ( posedge clock or posedge aclr)
  2395. if (aclr == 1'b1) round_bit_dffe21 <= 1'b0;
  2396. else if (clk_en == 1'b1) round_bit_dffe21 <= round_bit_dffe21_wi;
  2397. // synopsys translate_off
  2398. initial
  2399. round_bit_dffe3 = 0;
  2400. // synopsys translate_on
  2401. always @ ( posedge clock or posedge aclr)
  2402. if (aclr == 1'b1) round_bit_dffe3 <= 1'b0;
  2403. else if (clk_en == 1'b1) round_bit_dffe3 <= round_bit_dffe3_wi;
  2404. // synopsys translate_off
  2405. initial
  2406. round_bit_dffe31 = 0;
  2407. // synopsys translate_on
  2408. always @ ( posedge clock or posedge aclr)
  2409. if (aclr == 1'b1) round_bit_dffe31 <= 1'b0;
  2410. else if (clk_en == 1'b1) round_bit_dffe31 <= round_bit_dffe31_wi;
  2411. // synopsys translate_off
  2412. initial
  2413. rounded_res_infinity_dffe4 = 0;
  2414. // synopsys translate_on
  2415. always @ ( posedge clock or posedge aclr)
  2416. if (aclr == 1'b1) rounded_res_infinity_dffe4 <= 1'b0;
  2417. else if (clk_en == 1'b1) rounded_res_infinity_dffe4 <= rounded_res_infinity_dffe4_wi;
  2418. // synopsys translate_off
  2419. initial
  2420. sign_dffe31 = 0;
  2421. // synopsys translate_on
  2422. always @ ( posedge clock or posedge aclr)
  2423. if (aclr == 1'b1) sign_dffe31 <= 1'b0;
  2424. else if (clk_en == 1'b1) sign_dffe31 <= sign_dffe31_wi;
  2425. // synopsys translate_off
  2426. initial
  2427. sign_out_dffe5 = 0;
  2428. // synopsys translate_on
  2429. always @ ( posedge clock or posedge aclr)
  2430. if (aclr == 1'b1) sign_out_dffe5 <= 1'b0;
  2431. else if (clk_en == 1'b1) sign_out_dffe5 <= sign_out_dffe5_wi;
  2432. // synopsys translate_off
  2433. initial
  2434. sign_res_dffe3 = 0;
  2435. // synopsys translate_on
  2436. always @ ( posedge clock or posedge aclr)
  2437. if (aclr == 1'b1) sign_res_dffe3 <= 1'b0;
  2438. else if (clk_en == 1'b1) sign_res_dffe3 <= sign_res_dffe3_wi;
  2439. // synopsys translate_off
  2440. initial
  2441. sign_res_dffe4 = 0;
  2442. // synopsys translate_on
  2443. always @ ( posedge clock or posedge aclr)
  2444. if (aclr == 1'b1) sign_res_dffe4 <= 1'b0;
  2445. else if (clk_en == 1'b1) sign_res_dffe4 <= sign_res_dffe4_wi;
  2446. // synopsys translate_off
  2447. initial
  2448. sticky_bit_dffe1 = 0;
  2449. // synopsys translate_on
  2450. always @ ( posedge clock or posedge aclr)
  2451. if (aclr == 1'b1) sticky_bit_dffe1 <= 1'b0;
  2452. else if (clk_en == 1'b1) sticky_bit_dffe1 <= sticky_bit_dffe1_wi;
  2453. // synopsys translate_off
  2454. initial
  2455. sticky_bit_dffe2 = 0;
  2456. // synopsys translate_on
  2457. always @ ( posedge clock or posedge aclr)
  2458. if (aclr == 1'b1) sticky_bit_dffe2 <= 1'b0;
  2459. else if (clk_en == 1'b1) sticky_bit_dffe2 <= sticky_bit_dffe2_wi;
  2460. // synopsys translate_off
  2461. initial
  2462. sticky_bit_dffe21 = 0;
  2463. // synopsys translate_on
  2464. always @ ( posedge clock or posedge aclr)
  2465. if (aclr == 1'b1) sticky_bit_dffe21 <= 1'b0;
  2466. else if (clk_en == 1'b1) sticky_bit_dffe21 <= sticky_bit_dffe21_wi;
  2467. // synopsys translate_off
  2468. initial
  2469. sticky_bit_dffe3 = 0;
  2470. // synopsys translate_on
  2471. always @ ( posedge clock or posedge aclr)
  2472. if (aclr == 1'b1) sticky_bit_dffe3 <= 1'b0;
  2473. else if (clk_en == 1'b1) sticky_bit_dffe3 <= sticky_bit_dffe3_wi;
  2474. // synopsys translate_off
  2475. initial
  2476. sticky_bit_dffe31 = 0;
  2477. // synopsys translate_on
  2478. always @ ( posedge clock or posedge aclr)
  2479. if (aclr == 1'b1) sticky_bit_dffe31 <= 1'b0;
  2480. else if (clk_en == 1'b1) sticky_bit_dffe31 <= sticky_bit_dffe31_wi;
  2481. // synopsys translate_off
  2482. initial
  2483. zero_man_sign_dffe2 = 0;
  2484. // synopsys translate_on
  2485. always @ ( posedge clock or posedge aclr)
  2486. if (aclr == 1'b1) zero_man_sign_dffe2 <= 1'b0;
  2487. else if (clk_en == 1'b1) zero_man_sign_dffe2 <= zero_man_sign_dffe2_wi;
  2488. // synopsys translate_off
  2489. initial
  2490. zero_man_sign_dffe21 = 0;
  2491. // synopsys translate_on
  2492. always @ ( posedge clock or posedge aclr)
  2493. if (aclr == 1'b1) zero_man_sign_dffe21 <= 1'b0;
  2494. else if (clk_en == 1'b1) zero_man_sign_dffe21 <= zero_man_sign_dffe21_wi;
  2495. lpm_add_sub add_sub1
  2496. (
  2497. .aclr(aclr),
  2498. .clken(clk_en),
  2499. .clock(clock),
  2500. .cout(),
  2501. .dataa(aligned_dataa_exp_w),
  2502. .datab(aligned_datab_exp_w),
  2503. .overflow(),
  2504. .result(wire_add_sub1_result)
  2505. `ifndef FORMAL_VERIFICATION
  2506. // synopsys translate_off
  2507. `endif
  2508. ,
  2509. .add_sub(1'b1),
  2510. .cin()
  2511. `ifndef FORMAL_VERIFICATION
  2512. // synopsys translate_on
  2513. `endif
  2514. );
  2515. defparam
  2516. add_sub1.lpm_direction = "SUB",
  2517. add_sub1.lpm_pipeline = 1,
  2518. add_sub1.lpm_representation = "SIGNED",
  2519. add_sub1.lpm_width = 9,
  2520. add_sub1.lpm_type = "lpm_add_sub";
  2521. lpm_add_sub add_sub2
  2522. (
  2523. .aclr(aclr),
  2524. .clken(clk_en),
  2525. .clock(clock),
  2526. .cout(),
  2527. .dataa(aligned_datab_exp_w),
  2528. .datab(aligned_dataa_exp_w),
  2529. .overflow(),
  2530. .result(wire_add_sub2_result)
  2531. `ifndef FORMAL_VERIFICATION
  2532. // synopsys translate_off
  2533. `endif
  2534. ,
  2535. .add_sub(1'b1),
  2536. .cin()
  2537. `ifndef FORMAL_VERIFICATION
  2538. // synopsys translate_on
  2539. `endif
  2540. );
  2541. defparam
  2542. add_sub2.lpm_direction = "SUB",
  2543. add_sub2.lpm_pipeline = 1,
  2544. add_sub2.lpm_representation = "SIGNED",
  2545. add_sub2.lpm_width = 9,
  2546. add_sub2.lpm_type = "lpm_add_sub";
  2547. lpm_add_sub add_sub3
  2548. (
  2549. .cout(),
  2550. .dataa(sticky_bit_cnt_dataa_w),
  2551. .datab(sticky_bit_cnt_datab_w),
  2552. .overflow(),
  2553. .result(wire_add_sub3_result)
  2554. `ifndef FORMAL_VERIFICATION
  2555. // synopsys translate_off
  2556. `endif
  2557. ,
  2558. .aclr(1'b0),
  2559. .add_sub(1'b1),
  2560. .cin(),
  2561. .clken(1'b1),
  2562. .clock(1'b0)
  2563. `ifndef FORMAL_VERIFICATION
  2564. // synopsys translate_on
  2565. `endif
  2566. );
  2567. defparam
  2568. add_sub3.lpm_direction = "SUB",
  2569. add_sub3.lpm_representation = "SIGNED",
  2570. add_sub3.lpm_width = 6,
  2571. add_sub3.lpm_type = "lpm_add_sub";
  2572. lpm_add_sub add_sub4
  2573. (
  2574. .cout(),
  2575. .dataa(exp_adjustment_add_sub_dataa_w),
  2576. .datab(exp_adjustment_add_sub_datab_w),
  2577. .overflow(),
  2578. .result(wire_add_sub4_result)
  2579. `ifndef FORMAL_VERIFICATION
  2580. // synopsys translate_off
  2581. `endif
  2582. ,
  2583. .aclr(1'b0),
  2584. .add_sub(1'b1),
  2585. .cin(),
  2586. .clken(1'b1),
  2587. .clock(1'b0)
  2588. `ifndef FORMAL_VERIFICATION
  2589. // synopsys translate_on
  2590. `endif
  2591. );
  2592. defparam
  2593. add_sub4.lpm_direction = "ADD",
  2594. add_sub4.lpm_representation = "SIGNED",
  2595. add_sub4.lpm_width = 9,
  2596. add_sub4.lpm_type = "lpm_add_sub";
  2597. lpm_add_sub add_sub5
  2598. (
  2599. .aclr(aclr),
  2600. .clken(clk_en),
  2601. .clock(clock),
  2602. .cout(),
  2603. .dataa(exp_adjustment2_add_sub_dataa_w),
  2604. .datab(exp_adjustment2_add_sub_datab_w),
  2605. .overflow(),
  2606. .result(wire_add_sub5_result)
  2607. `ifndef FORMAL_VERIFICATION
  2608. // synopsys translate_off
  2609. `endif
  2610. ,
  2611. .add_sub(1'b1),
  2612. .cin()
  2613. `ifndef FORMAL_VERIFICATION
  2614. // synopsys translate_on
  2615. `endif
  2616. );
  2617. defparam
  2618. add_sub5.lpm_direction = "ADD",
  2619. add_sub5.lpm_pipeline = 1,
  2620. add_sub5.lpm_representation = "SIGNED",
  2621. add_sub5.lpm_width = 9,
  2622. add_sub5.lpm_type = "lpm_add_sub";
  2623. lpm_add_sub add_sub6
  2624. (
  2625. .cout(),
  2626. .dataa(exp_res_rounding_adder_dataa_w),
  2627. .datab(exp_rounding_adjustment_w),
  2628. .overflow(),
  2629. .result(wire_add_sub6_result)
  2630. `ifndef FORMAL_VERIFICATION
  2631. // synopsys translate_off
  2632. `endif
  2633. ,
  2634. .aclr(1'b0),
  2635. .add_sub(1'b1),
  2636. .cin(),
  2637. .clken(1'b1),
  2638. .clock(1'b0)
  2639. `ifndef FORMAL_VERIFICATION
  2640. // synopsys translate_on
  2641. `endif
  2642. );
  2643. defparam
  2644. add_sub6.lpm_direction = "ADD",
  2645. add_sub6.lpm_representation = "SIGNED",
  2646. add_sub6.lpm_width = 9,
  2647. add_sub6.lpm_type = "lpm_add_sub";
  2648. lpm_add_sub man_2comp_res_lower
  2649. (
  2650. .aclr(aclr),
  2651. .add_sub(add_sub_w2),
  2652. .cin(borrow_w),
  2653. .clken(clk_en),
  2654. .clock(clock),
  2655. .cout(wire_man_2comp_res_lower_cout),
  2656. .dataa(man_2comp_res_dataa_w[13:0]),
  2657. .datab(man_2comp_res_datab_w[13:0]),
  2658. .overflow(),
  2659. .result(wire_man_2comp_res_lower_result));
  2660. defparam
  2661. man_2comp_res_lower.lpm_pipeline = 1,
  2662. man_2comp_res_lower.lpm_representation = "SIGNED",
  2663. man_2comp_res_lower.lpm_width = 14,
  2664. man_2comp_res_lower.lpm_type = "lpm_add_sub";
  2665. lpm_add_sub man_2comp_res_upper0
  2666. (
  2667. .aclr(aclr),
  2668. .add_sub(add_sub_w2),
  2669. .cin(1'b0),
  2670. .clken(clk_en),
  2671. .clock(clock),
  2672. .cout(),
  2673. .dataa(man_2comp_res_dataa_w[27:14]),
  2674. .datab(man_2comp_res_datab_w[27:14]),
  2675. .overflow(),
  2676. .result(wire_man_2comp_res_upper0_result));
  2677. defparam
  2678. man_2comp_res_upper0.lpm_pipeline = 1,
  2679. man_2comp_res_upper0.lpm_representation = "SIGNED",
  2680. man_2comp_res_upper0.lpm_width = 14,
  2681. man_2comp_res_upper0.lpm_type = "lpm_add_sub";
  2682. lpm_add_sub man_2comp_res_upper1
  2683. (
  2684. .aclr(aclr),
  2685. .add_sub(add_sub_w2),
  2686. .cin(1'b1),
  2687. .clken(clk_en),
  2688. .clock(clock),
  2689. .cout(),
  2690. .dataa(man_2comp_res_dataa_w[27:14]),
  2691. .datab(man_2comp_res_datab_w[27:14]),
  2692. .overflow(),
  2693. .result(wire_man_2comp_res_upper1_result));
  2694. defparam
  2695. man_2comp_res_upper1.lpm_pipeline = 1,
  2696. man_2comp_res_upper1.lpm_representation = "SIGNED",
  2697. man_2comp_res_upper1.lpm_width = 14,
  2698. man_2comp_res_upper1.lpm_type = "lpm_add_sub";
  2699. lpm_add_sub man_add_sub_lower
  2700. (
  2701. .aclr(aclr),
  2702. .add_sub(add_sub_w2),
  2703. .cin(borrow_w),
  2704. .clken(clk_en),
  2705. .clock(clock),
  2706. .cout(wire_man_add_sub_lower_cout),
  2707. .dataa(man_add_sub_dataa_w[13:0]),
  2708. .datab(man_add_sub_datab_w[13:0]),
  2709. .overflow(),
  2710. .result(wire_man_add_sub_lower_result));
  2711. defparam
  2712. man_add_sub_lower.lpm_pipeline = 1,
  2713. man_add_sub_lower.lpm_representation = "SIGNED",
  2714. man_add_sub_lower.lpm_width = 14,
  2715. man_add_sub_lower.lpm_type = "lpm_add_sub";
  2716. lpm_add_sub man_add_sub_upper0
  2717. (
  2718. .aclr(aclr),
  2719. .add_sub(add_sub_w2),
  2720. .cin(1'b0),
  2721. .clken(clk_en),
  2722. .clock(clock),
  2723. .cout(),
  2724. .dataa(man_add_sub_dataa_w[27:14]),
  2725. .datab(man_add_sub_datab_w[27:14]),
  2726. .overflow(),
  2727. .result(wire_man_add_sub_upper0_result));
  2728. defparam
  2729. man_add_sub_upper0.lpm_pipeline = 1,
  2730. man_add_sub_upper0.lpm_representation = "SIGNED",
  2731. man_add_sub_upper0.lpm_width = 14,
  2732. man_add_sub_upper0.lpm_type = "lpm_add_sub";
  2733. lpm_add_sub man_add_sub_upper1
  2734. (
  2735. .aclr(aclr),
  2736. .add_sub(add_sub_w2),
  2737. .cin(1'b1),
  2738. .clken(clk_en),
  2739. .clock(clock),
  2740. .cout(),
  2741. .dataa(man_add_sub_dataa_w[27:14]),
  2742. .datab(man_add_sub_datab_w[27:14]),
  2743. .overflow(),
  2744. .result(wire_man_add_sub_upper1_result));
  2745. defparam
  2746. man_add_sub_upper1.lpm_pipeline = 1,
  2747. man_add_sub_upper1.lpm_representation = "SIGNED",
  2748. man_add_sub_upper1.lpm_width = 14,
  2749. man_add_sub_upper1.lpm_type = "lpm_add_sub";
  2750. lpm_add_sub man_res_rounding_add_sub_lower
  2751. (
  2752. .cout(wire_man_res_rounding_add_sub_lower_cout),
  2753. .dataa(man_intermediate_res_w[12:0]),
  2754. .datab(man_res_rounding_add_sub_datab_w[12:0]),
  2755. .overflow(),
  2756. .result(wire_man_res_rounding_add_sub_lower_result)
  2757. `ifndef FORMAL_VERIFICATION
  2758. // synopsys translate_off
  2759. `endif
  2760. ,
  2761. .aclr(1'b0),
  2762. .add_sub(1'b1),
  2763. .cin(),
  2764. .clken(1'b1),
  2765. .clock(1'b0)
  2766. `ifndef FORMAL_VERIFICATION
  2767. // synopsys translate_on
  2768. `endif
  2769. );
  2770. defparam
  2771. man_res_rounding_add_sub_lower.lpm_direction = "ADD",
  2772. man_res_rounding_add_sub_lower.lpm_representation = "SIGNED",
  2773. man_res_rounding_add_sub_lower.lpm_width = 13,
  2774. man_res_rounding_add_sub_lower.lpm_type = "lpm_add_sub";
  2775. lpm_add_sub man_res_rounding_add_sub_upper1
  2776. (
  2777. .cin(1'b1),
  2778. .cout(),
  2779. .dataa(man_intermediate_res_w[25:13]),
  2780. .datab(man_res_rounding_add_sub_datab_w[25:13]),
  2781. .overflow(),
  2782. .result(wire_man_res_rounding_add_sub_upper1_result)
  2783. `ifndef FORMAL_VERIFICATION
  2784. // synopsys translate_off
  2785. `endif
  2786. ,
  2787. .aclr(1'b0),
  2788. .add_sub(1'b1),
  2789. .clken(1'b1),
  2790. .clock(1'b0)
  2791. `ifndef FORMAL_VERIFICATION
  2792. // synopsys translate_on
  2793. `endif
  2794. );
  2795. defparam
  2796. man_res_rounding_add_sub_upper1.lpm_direction = "ADD",
  2797. man_res_rounding_add_sub_upper1.lpm_representation = "SIGNED",
  2798. man_res_rounding_add_sub_upper1.lpm_width = 13,
  2799. man_res_rounding_add_sub_upper1.lpm_type = "lpm_add_sub";
  2800. lpm_compare trailing_zeros_limit_comparator
  2801. (
  2802. .aeb(),
  2803. .agb(wire_trailing_zeros_limit_comparator_agb),
  2804. .ageb(),
  2805. .alb(),
  2806. .aleb(),
  2807. .aneb(),
  2808. .dataa(sticky_bit_cnt_res_w),
  2809. .datab(trailing_zeros_limit_w)
  2810. `ifndef FORMAL_VERIFICATION
  2811. // synopsys translate_off
  2812. `endif
  2813. ,
  2814. .aclr(1'b0),
  2815. .clken(1'b1),
  2816. .clock(1'b0)
  2817. `ifndef FORMAL_VERIFICATION
  2818. // synopsys translate_on
  2819. `endif
  2820. );
  2821. defparam
  2822. trailing_zeros_limit_comparator.lpm_representation = "SIGNED",
  2823. trailing_zeros_limit_comparator.lpm_width = 6,
  2824. trailing_zeros_limit_comparator.lpm_type = "lpm_compare";
  2825. assign
  2826. add_sub_dffe11_wi = add_sub,
  2827. add_sub_dffe11_wo = add_sub_dffe11_wi,
  2828. add_sub_dffe12_wi = add_sub_dffe11_wo,
  2829. add_sub_dffe12_wo = add_sub_dffe12,
  2830. add_sub_dffe13_wi = add_sub_dffe12_wo,
  2831. add_sub_dffe13_wo = add_sub_dffe13_wi,
  2832. add_sub_dffe14_wi = add_sub_dffe13_wo,
  2833. add_sub_dffe14_wo = add_sub_dffe14_wi,
  2834. add_sub_dffe15_wi = add_sub_dffe14_wo,
  2835. add_sub_dffe15_wo = add_sub_dffe15_wi,
  2836. add_sub_dffe1_wi = add_sub_dffe15_wo,
  2837. add_sub_dffe1_wo = add_sub_dffe1,
  2838. add_sub_dffe25_wi = add_sub_w2,
  2839. add_sub_dffe25_wo = add_sub_dffe25_wi,
  2840. add_sub_w2 = (((((dataa_sign_dffe1_wo & (~ datab_sign_dffe1_wo)) & (~ add_sub_dffe1_wo)) | (((~ dataa_sign_dffe1_wo) & (~ datab_sign_dffe1_wo)) & add_sub_dffe1_wo)) | (((~ dataa_sign_dffe1_wo) & datab_sign_dffe1_wo) & (~ add_sub_dffe1_wo))) | ((dataa_sign_dffe1_wo & datab_sign_dffe1_wo) & add_sub_dffe1_wo)),
  2841. adder_upper_w = man_intermediate_res_w[25:13],
  2842. aligned_dataa_exp_dffe12_wi = aligned_dataa_exp_w,
  2843. aligned_dataa_exp_dffe12_wo = aligned_dataa_exp_dffe12,
  2844. aligned_dataa_exp_dffe13_wi = aligned_dataa_exp_dffe12_wo,
  2845. aligned_dataa_exp_dffe13_wo = aligned_dataa_exp_dffe13_wi,
  2846. aligned_dataa_exp_dffe14_wi = aligned_dataa_exp_dffe13_wo,
  2847. aligned_dataa_exp_dffe14_wo = aligned_dataa_exp_dffe14_wi,
  2848. aligned_dataa_exp_dffe15_wi = aligned_dataa_exp_dffe14_wo,
  2849. aligned_dataa_exp_dffe15_wo = aligned_dataa_exp_dffe15_wi,
  2850. aligned_dataa_exp_w = {1'b0, ({8{(~ input_dataa_denormal_dffe11_wo)}} & dataa_dffe11_wo[30:23])},
  2851. aligned_dataa_man_dffe12_wi = aligned_dataa_man_w[25:2],
  2852. aligned_dataa_man_dffe12_wo = aligned_dataa_man_dffe12,
  2853. aligned_dataa_man_dffe13_wi = aligned_dataa_man_dffe12_wo,
  2854. aligned_dataa_man_dffe13_wo = aligned_dataa_man_dffe13_wi,
  2855. aligned_dataa_man_dffe14_wi = aligned_dataa_man_dffe13_wo,
  2856. aligned_dataa_man_dffe14_wo = aligned_dataa_man_dffe14_wi,
  2857. aligned_dataa_man_dffe15_w = {aligned_dataa_man_dffe15_wo, {2{1'b0}}},
  2858. aligned_dataa_man_dffe15_wi = aligned_dataa_man_dffe14_wo,
  2859. aligned_dataa_man_dffe15_wo = aligned_dataa_man_dffe15_wi,
  2860. aligned_dataa_man_w = {(((~ input_dataa_infinite_dffe11_wo) & (~ input_dataa_denormal_dffe11_wo)) & (~ input_dataa_zero_dffe11_wo)), ({23{(~ input_dataa_denormal_dffe11_wo)}} & dataa_dffe11_wo[22:0]), {2{1'b0}}},
  2861. aligned_dataa_sign_dffe12_wi = aligned_dataa_sign_w,
  2862. aligned_dataa_sign_dffe12_wo = aligned_dataa_sign_dffe12,
  2863. aligned_dataa_sign_dffe13_wi = aligned_dataa_sign_dffe12_wo,
  2864. aligned_dataa_sign_dffe13_wo = aligned_dataa_sign_dffe13_wi,
  2865. aligned_dataa_sign_dffe14_wi = aligned_dataa_sign_dffe13_wo,
  2866. aligned_dataa_sign_dffe14_wo = aligned_dataa_sign_dffe14_wi,
  2867. aligned_dataa_sign_dffe15_wi = aligned_dataa_sign_dffe14_wo,
  2868. aligned_dataa_sign_dffe15_wo = aligned_dataa_sign_dffe15_wi,
  2869. aligned_dataa_sign_w = dataa_dffe11_wo[31],
  2870. aligned_datab_exp_dffe12_wi = aligned_datab_exp_w,
  2871. aligned_datab_exp_dffe12_wo = aligned_datab_exp_dffe12,
  2872. aligned_datab_exp_dffe13_wi = aligned_datab_exp_dffe12_wo,
  2873. aligned_datab_exp_dffe13_wo = aligned_datab_exp_dffe13_wi,
  2874. aligned_datab_exp_dffe14_wi = aligned_datab_exp_dffe13_wo,
  2875. aligned_datab_exp_dffe14_wo = aligned_datab_exp_dffe14_wi,
  2876. aligned_datab_exp_dffe15_wi = aligned_datab_exp_dffe14_wo,
  2877. aligned_datab_exp_dffe15_wo = aligned_datab_exp_dffe15_wi,
  2878. aligned_datab_exp_w = {1'b0, ({8{(~ input_datab_denormal_dffe11_wo)}} & datab_dffe11_wo[30:23])},
  2879. aligned_datab_man_dffe12_wi = aligned_datab_man_w[25:2],
  2880. aligned_datab_man_dffe12_wo = aligned_datab_man_dffe12,
  2881. aligned_datab_man_dffe13_wi = aligned_datab_man_dffe12_wo,
  2882. aligned_datab_man_dffe13_wo = aligned_datab_man_dffe13_wi,
  2883. aligned_datab_man_dffe14_wi = aligned_datab_man_dffe13_wo,
  2884. aligned_datab_man_dffe14_wo = aligned_datab_man_dffe14_wi,
  2885. aligned_datab_man_dffe15_w = {aligned_datab_man_dffe15_wo, {2{1'b0}}},
  2886. aligned_datab_man_dffe15_wi = aligned_datab_man_dffe14_wo,
  2887. aligned_datab_man_dffe15_wo = aligned_datab_man_dffe15_wi,
  2888. aligned_datab_man_w = {(((~ input_datab_infinite_dffe11_wo) & (~ input_datab_denormal_dffe11_wo)) & (~ input_datab_zero_dffe11_wo)), ({23{(~ input_datab_denormal_dffe11_wo)}} & datab_dffe11_wo[22:0]), {2{1'b0}}},
  2889. aligned_datab_sign_dffe12_wi = aligned_datab_sign_w,
  2890. aligned_datab_sign_dffe12_wo = aligned_datab_sign_dffe12,
  2891. aligned_datab_sign_dffe13_wi = aligned_datab_sign_dffe12_wo,
  2892. aligned_datab_sign_dffe13_wo = aligned_datab_sign_dffe13_wi,
  2893. aligned_datab_sign_dffe14_wi = aligned_datab_sign_dffe13_wo,
  2894. aligned_datab_sign_dffe14_wo = aligned_datab_sign_dffe14_wi,
  2895. aligned_datab_sign_dffe15_wi = aligned_datab_sign_dffe14_wo,
  2896. aligned_datab_sign_dffe15_wo = aligned_datab_sign_dffe15_wi,
  2897. aligned_datab_sign_w = datab_dffe11_wo[31],
  2898. borrow_w = ((~ sticky_bit_dffe1_wo) & (~ add_sub_w2)),
  2899. both_inputs_are_infinite_dffe1_wi = (input_dataa_infinite_dffe15_wo & input_datab_infinite_dffe15_wo),
  2900. both_inputs_are_infinite_dffe1_wo = both_inputs_are_infinite_dffe1,
  2901. both_inputs_are_infinite_dffe25_wi = both_inputs_are_infinite_dffe1_wo,
  2902. both_inputs_are_infinite_dffe25_wo = both_inputs_are_infinite_dffe25_wi,
  2903. data_exp_dffe1_wi = (({8{(~ exp_amb_mux_dffe15_wo)}} & aligned_dataa_exp_dffe15_wo[7:0]) | ({8{exp_amb_mux_dffe15_wo}} & aligned_datab_exp_dffe15_wo[7:0])),
  2904. data_exp_dffe1_wo = data_exp_dffe1,
  2905. dataa_dffe11_wi = dataa,
  2906. dataa_dffe11_wo = dataa_dffe11_wi,
  2907. dataa_man_dffe1_wi = (({26{(~ exp_amb_mux_dffe15_wo)}} & aligned_dataa_man_dffe15_w) | ({26{exp_amb_mux_dffe15_wo}} & wire_rbarrel_shift_result)),
  2908. dataa_man_dffe1_wo = dataa_man_dffe1,
  2909. dataa_sign_dffe1_wi = aligned_dataa_sign_dffe15_wo,
  2910. dataa_sign_dffe1_wo = dataa_sign_dffe1,
  2911. dataa_sign_dffe25_wi = dataa_sign_dffe1_wo,
  2912. dataa_sign_dffe25_wo = dataa_sign_dffe25_wi,
  2913. datab_dffe11_wi = datab,
  2914. datab_dffe11_wo = datab_dffe11_wi,
  2915. datab_man_dffe1_wi = (({26{(~ exp_amb_mux_dffe15_wo)}} & wire_rbarrel_shift_result) | ({26{exp_amb_mux_dffe15_wo}} & aligned_datab_man_dffe15_w)),
  2916. datab_man_dffe1_wo = datab_man_dffe1,
  2917. datab_sign_dffe1_wi = aligned_datab_sign_dffe15_wo,
  2918. datab_sign_dffe1_wo = datab_sign_dffe1,
  2919. denormal_flag_w = ((((~ force_nan_w) & (~ force_infinity_w)) & (~ force_zero_w)) & denormal_res_dffe4_wo),
  2920. denormal_res_dffe32_wi = denormal_result_w,
  2921. denormal_res_dffe32_wo = denormal_res_dffe32_wi,
  2922. denormal_res_dffe33_wi = denormal_res_dffe32_wo,
  2923. denormal_res_dffe33_wo = denormal_res_dffe33_wi,
  2924. denormal_res_dffe3_wi = denormal_res_dffe33_wo,
  2925. denormal_res_dffe3_wo = denormal_res_dffe3,
  2926. denormal_res_dffe41_wi = denormal_res_dffe42_wo,
  2927. denormal_res_dffe41_wo = denormal_res_dffe41_wi,
  2928. denormal_res_dffe42_wi = denormal_res_dffe3_wo,
  2929. denormal_res_dffe42_wo = denormal_res_dffe42_wi,
  2930. denormal_res_dffe4_wi = denormal_res_dffe41_wo,
  2931. denormal_res_dffe4_wo = denormal_res_dffe4,
  2932. denormal_result_w = ((~ exp_res_not_zero_w[8]) | exp_adjustment2_add_sub_w[8]),
  2933. exp_a_all_one_w = {(dataa[30] & exp_a_all_one_w[6]), (dataa[29] & exp_a_all_one_w[5]), (dataa[28] & exp_a_all_one_w[4]), (dataa[27] & exp_a_all_one_w[3]), (dataa[26] & exp_a_all_one_w[2]), (dataa[25] & exp_a_all_one_w[1]), (dataa[24] & exp_a_all_one_w[0]), dataa[23]},
  2934. exp_a_not_zero_w = {(dataa[30] | exp_a_not_zero_w[6]), (dataa[29] | exp_a_not_zero_w[5]), (dataa[28] | exp_a_not_zero_w[4]), (dataa[27] | exp_a_not_zero_w[3]), (dataa[26] | exp_a_not_zero_w[2]), (dataa[25] | exp_a_not_zero_w[1]), (dataa[24] | exp_a_not_zero_w[0]), dataa[23]},
  2935. exp_adj_0pads = {7{1'b0}},
  2936. exp_adj_dffe21_wi = (({2{man_add_sub_res_mag_dffe27_wo[26]}} & exp_adjust_by_add2) | ({2{(~ man_add_sub_res_mag_dffe27_wo[26])}} & exp_adjust_by_add1)),
  2937. exp_adj_dffe21_wo = exp_adj_dffe21,
  2938. exp_adj_dffe23_wi = exp_adj_dffe21_wo,
  2939. exp_adj_dffe23_wo = exp_adj_dffe23_wi,
  2940. exp_adj_dffe26_wi = exp_adj_dffe23_wo,
  2941. exp_adj_dffe26_wo = exp_adj_dffe26_wi,
  2942. exp_adjust_by_add1 = 2'b01,
  2943. exp_adjust_by_add2 = 2'b10,
  2944. exp_adjustment2_add_sub_dataa_w = exp_value,
  2945. exp_adjustment2_add_sub_datab_w = exp_adjustment_add_sub_w,
  2946. exp_adjustment2_add_sub_w = wire_add_sub5_result,
  2947. exp_adjustment_add_sub_dataa_w = {priority_encoder_1pads_w, wire_leading_zeroes_cnt_q},
  2948. exp_adjustment_add_sub_datab_w = {exp_adj_0pads, exp_adj_dffe26_wo},
  2949. exp_adjustment_add_sub_w = wire_add_sub4_result,
  2950. exp_all_ones_w = {8{1'b1}},
  2951. exp_all_zeros_w = {8{1'b0}},
  2952. exp_amb_mux_dffe13_wi = exp_amb_mux_w,
  2953. exp_amb_mux_dffe13_wo = exp_amb_mux_dffe13_wi,
  2954. exp_amb_mux_dffe14_wi = exp_amb_mux_dffe13_wo,
  2955. exp_amb_mux_dffe14_wo = exp_amb_mux_dffe14_wi,
  2956. exp_amb_mux_dffe15_wi = exp_amb_mux_dffe14_wo,
  2957. exp_amb_mux_dffe15_wo = exp_amb_mux_dffe15_wi,
  2958. exp_amb_mux_w = exp_amb_w[8],
  2959. exp_amb_w = wire_add_sub1_result,
  2960. exp_b_all_one_w = {(datab[30] & exp_b_all_one_w[6]), (datab[29] & exp_b_all_one_w[5]), (datab[28] & exp_b_all_one_w[4]), (datab[27] & exp_b_all_one_w[3]), (datab[26] & exp_b_all_one_w[2]), (datab[25] & exp_b_all_one_w[1]), (datab[24] & exp_b_all_one_w[0]), datab[23]},
  2961. exp_b_not_zero_w = {(datab[30] | exp_b_not_zero_w[6]), (datab[29] | exp_b_not_zero_w[5]), (datab[28] | exp_b_not_zero_w[4]), (datab[27] | exp_b_not_zero_w[3]), (datab[26] | exp_b_not_zero_w[2]), (datab[25] | exp_b_not_zero_w[1]), (datab[24] | exp_b_not_zero_w[0]), datab[23]},
  2962. exp_bma_w = wire_add_sub2_result,
  2963. exp_diff_abs_exceed_max_w = {(exp_diff_abs_exceed_max_w[1] | exp_diff_abs_w[7]), (exp_diff_abs_exceed_max_w[0] | exp_diff_abs_w[6]), exp_diff_abs_w[5]},
  2964. exp_diff_abs_max_w = {5{1'b1}},
  2965. exp_diff_abs_w = (({8{(~ exp_amb_mux_w)}} & exp_amb_w[7:0]) | ({8{exp_amb_mux_w}} & exp_bma_w[7:0])),
  2966. exp_intermediate_res_dffe41_wi = exp_intermediate_res_dffe42_wo,
  2967. exp_intermediate_res_dffe41_wo = exp_intermediate_res_dffe41_wi,
  2968. exp_intermediate_res_dffe42_wi = exp_intermediate_res_w,
  2969. exp_intermediate_res_dffe42_wo = exp_intermediate_res_dffe42_wi,
  2970. exp_intermediate_res_w = exp_res_dffe3_wo,
  2971. exp_out_dffe5_wi = (({8{force_nan_w}} & exp_all_ones_w) | ({8{(~ force_nan_w)}} & (({8{force_infinity_w}} & exp_all_ones_w) | ({8{(~ force_infinity_w)}} & (({8{(force_zero_w | denormal_flag_w)}} & exp_all_zeros_w) | ({8{(~ (force_zero_w | denormal_flag_w))}} & exp_res_dffe4_wo)))))),
  2972. exp_out_dffe5_wo = exp_out_dffe5,
  2973. exp_res_dffe21_wi = exp_res_dffe27_wo,
  2974. exp_res_dffe21_wo = exp_res_dffe21,
  2975. exp_res_dffe22_wi = exp_res_dffe2_wo,
  2976. exp_res_dffe22_wo = exp_res_dffe22_wi,
  2977. exp_res_dffe23_wi = exp_res_dffe21_wo,
  2978. exp_res_dffe23_wo = exp_res_dffe23_wi,
  2979. exp_res_dffe25_wi = data_exp_dffe1_wo,
  2980. exp_res_dffe25_wo = exp_res_dffe25_wi,
  2981. exp_res_dffe26_wi = exp_res_dffe23_wo,
  2982. exp_res_dffe26_wo = exp_res_dffe26_wi,
  2983. exp_res_dffe27_wi = exp_res_dffe22_wo,
  2984. exp_res_dffe27_wo = exp_res_dffe27_wi,
  2985. exp_res_dffe2_wi = exp_res_dffe25_wo,
  2986. exp_res_dffe2_wo = exp_res_dffe2,
  2987. exp_res_dffe32_wi = ({8{(~ denormal_result_w)}} & exp_adjustment2_add_sub_w[7:0]),
  2988. exp_res_dffe32_wo = exp_res_dffe32_wi,
  2989. exp_res_dffe33_wi = exp_res_dffe32_wo,
  2990. exp_res_dffe33_wo = exp_res_dffe33_wi,
  2991. exp_res_dffe3_wi = exp_res_dffe33_wo,
  2992. exp_res_dffe3_wo = exp_res_dffe3,
  2993. exp_res_dffe4_wi = exp_rounded_res_w,
  2994. exp_res_dffe4_wo = exp_res_dffe4,
  2995. exp_res_max_w = {(exp_res_max_w[6] & exp_adjustment2_add_sub_w[7]), (exp_res_max_w[5] & exp_adjustment2_add_sub_w[6]), (exp_res_max_w[4] & exp_adjustment2_add_sub_w[5]), (exp_res_max_w[3] & exp_adjustment2_add_sub_w[4]), (exp_res_max_w[2] & exp_adjustment2_add_sub_w[3]), (exp_res_max_w[1] & exp_adjustment2_add_sub_w[2]), (exp_res_max_w[0] & exp_adjustment2_add_sub_w[1]), exp_adjustment2_add_sub_w[0]},
  2996. exp_res_not_zero_w = {(exp_res_not_zero_w[7] | exp_adjustment2_add_sub_w[8]), (exp_res_not_zero_w[6] | exp_adjustment2_add_sub_w[7]), (exp_res_not_zero_w[5] | exp_adjustment2_add_sub_w[6]), (exp_res_not_zero_w[4] | exp_adjustment2_add_sub_w[5]), (exp_res_not_zero_w[3] | exp_adjustment2_add_sub_w[4]), (exp_res_not_zero_w[2] | exp_adjustment2_add_sub_w[3]), (exp_res_not_zero_w[1] | exp_adjustment2_add_sub_w[2]), (exp_res_not_zero_w[0] | exp_adjustment2_add_sub_w[1]), exp_adjustment2_add_sub_w[0]},
  2997. exp_res_rounding_adder_dataa_w = {1'b0, exp_intermediate_res_dffe41_wo},
  2998. exp_res_rounding_adder_w = wire_add_sub6_result,
  2999. exp_rounded_res_infinity_w = exp_rounded_res_max_w[7],
  3000. exp_rounded_res_max_w = {(exp_rounded_res_max_w[6] & exp_rounded_res_w[7]), (exp_rounded_res_max_w[5] & exp_rounded_res_w[6]), (exp_rounded_res_max_w[4] & exp_rounded_res_w[5]), (exp_rounded_res_max_w[3] & exp_rounded_res_w[4]), (exp_rounded_res_max_w[2] & exp_rounded_res_w[3]), (exp_rounded_res_max_w[1] & exp_rounded_res_w[2]), (exp_rounded_res_max_w[0] & exp_rounded_res_w[1]), exp_rounded_res_w[0]},
  3001. exp_rounded_res_w = exp_res_rounding_adder_w[7:0],
  3002. exp_rounding_adjustment_w = {{8{1'b0}}, man_res_rounding_add_sub_w[24]},
  3003. exp_value = {1'b0, exp_res_dffe26_wo},
  3004. force_infinity_w = ((input_is_infinite_dffe4_wo | rounded_res_infinity_dffe4_wo) | infinite_res_dffe4_wo),
  3005. force_nan_w = (infinity_magnitude_sub_dffe4_wo | input_is_nan_dffe4_wo),
  3006. force_zero_w = (~ man_res_is_not_zero_dffe4_wo),
  3007. guard_bit_dffe3_wo = man_res_w3[0],
  3008. infinite_output_sign_dffe1_wi = (((~ input_datab_infinite_dffe15_wo) & aligned_dataa_sign_dffe15_wo) | (input_datab_infinite_dffe15_wo & (~ (aligned_datab_sign_dffe15_wo ^ add_sub_dffe15_wo)))),
  3009. infinite_output_sign_dffe1_wo = infinite_output_sign_dffe1,
  3010. infinite_output_sign_dffe21_wi = infinite_output_sign_dffe27_wo,
  3011. infinite_output_sign_dffe21_wo = infinite_output_sign_dffe21,
  3012. infinite_output_sign_dffe22_wi = infinite_output_sign_dffe2_wo,
  3013. infinite_output_sign_dffe22_wo = infinite_output_sign_dffe22_wi,
  3014. infinite_output_sign_dffe23_wi = infinite_output_sign_dffe21_wo,
  3015. infinite_output_sign_dffe23_wo = infinite_output_sign_dffe23_wi,
  3016. infinite_output_sign_dffe25_wi = infinite_output_sign_dffe1_wo,
  3017. infinite_output_sign_dffe25_wo = infinite_output_sign_dffe25_wi,
  3018. infinite_output_sign_dffe26_wi = infinite_output_sign_dffe23_wo,
  3019. infinite_output_sign_dffe26_wo = infinite_output_sign_dffe26_wi,
  3020. infinite_output_sign_dffe27_wi = infinite_output_sign_dffe22_wo,
  3021. infinite_output_sign_dffe27_wo = infinite_output_sign_dffe27_wi,
  3022. infinite_output_sign_dffe2_wi = infinite_output_sign_dffe25_wo,
  3023. infinite_output_sign_dffe2_wo = infinite_output_sign_dffe2,
  3024. infinite_output_sign_dffe31_wi = infinite_output_sign_dffe26_wo,
  3025. infinite_output_sign_dffe31_wo = infinite_output_sign_dffe31,
  3026. infinite_output_sign_dffe32_wi = infinite_output_sign_dffe31_wo,
  3027. infinite_output_sign_dffe32_wo = infinite_output_sign_dffe32_wi,
  3028. infinite_output_sign_dffe33_wi = infinite_output_sign_dffe32_wo,
  3029. infinite_output_sign_dffe33_wo = infinite_output_sign_dffe33_wi,
  3030. infinite_output_sign_dffe3_wi = infinite_output_sign_dffe33_wo,
  3031. infinite_output_sign_dffe3_wo = infinite_output_sign_dffe3,
  3032. infinite_output_sign_dffe41_wi = infinite_output_sign_dffe42_wo,
  3033. infinite_output_sign_dffe41_wo = infinite_output_sign_dffe41_wi,
  3034. infinite_output_sign_dffe42_wi = infinite_output_sign_dffe3_wo,
  3035. infinite_output_sign_dffe42_wo = infinite_output_sign_dffe42_wi,
  3036. infinite_output_sign_dffe4_wi = infinite_output_sign_dffe41_wo,
  3037. infinite_output_sign_dffe4_wo = infinite_output_sign_dffe4,
  3038. infinite_res_dff32_wi = (exp_res_max_w[7] & (~ exp_adjustment2_add_sub_w[8])),
  3039. infinite_res_dff32_wo = infinite_res_dff32_wi,
  3040. infinite_res_dff33_wi = infinite_res_dff32_wo,
  3041. infinite_res_dff33_wo = infinite_res_dff33_wi,
  3042. infinite_res_dffe3_wi = infinite_res_dff33_wo,
  3043. infinite_res_dffe3_wo = infinite_res_dffe3,
  3044. infinite_res_dffe41_wi = infinite_res_dffe42_wo,
  3045. infinite_res_dffe41_wo = infinite_res_dffe41_wi,
  3046. infinite_res_dffe42_wi = infinite_res_dffe3_wo,
  3047. infinite_res_dffe42_wo = infinite_res_dffe42_wi,
  3048. infinite_res_dffe4_wi = infinite_res_dffe41_wo,
  3049. infinite_res_dffe4_wo = infinite_res_dffe4,
  3050. infinity_magnitude_sub_dffe21_wi = infinity_magnitude_sub_dffe27_wo,
  3051. infinity_magnitude_sub_dffe21_wo = infinity_magnitude_sub_dffe21,
  3052. infinity_magnitude_sub_dffe22_wi = infinity_magnitude_sub_dffe2_wo,
  3053. infinity_magnitude_sub_dffe22_wo = infinity_magnitude_sub_dffe22_wi,
  3054. infinity_magnitude_sub_dffe23_wi = infinity_magnitude_sub_dffe21_wo,
  3055. infinity_magnitude_sub_dffe23_wo = infinity_magnitude_sub_dffe23_wi,
  3056. infinity_magnitude_sub_dffe26_wi = infinity_magnitude_sub_dffe23_wo,
  3057. infinity_magnitude_sub_dffe26_wo = infinity_magnitude_sub_dffe26_wi,
  3058. infinity_magnitude_sub_dffe27_wi = infinity_magnitude_sub_dffe22_wo,
  3059. infinity_magnitude_sub_dffe27_wo = infinity_magnitude_sub_dffe27_wi,
  3060. infinity_magnitude_sub_dffe2_wi = ((~ add_sub_dffe25_wo) & both_inputs_are_infinite_dffe25_wo),
  3061. infinity_magnitude_sub_dffe2_wo = infinity_magnitude_sub_dffe2,
  3062. infinity_magnitude_sub_dffe31_wi = infinity_magnitude_sub_dffe26_wo,
  3063. infinity_magnitude_sub_dffe31_wo = infinity_magnitude_sub_dffe31,
  3064. infinity_magnitude_sub_dffe32_wi = infinity_magnitude_sub_dffe31_wo,
  3065. infinity_magnitude_sub_dffe32_wo = infinity_magnitude_sub_dffe32_wi,
  3066. infinity_magnitude_sub_dffe33_wi = infinity_magnitude_sub_dffe32_wo,
  3067. infinity_magnitude_sub_dffe33_wo = infinity_magnitude_sub_dffe33_wi,
  3068. infinity_magnitude_sub_dffe3_wi = infinity_magnitude_sub_dffe33_wo,
  3069. infinity_magnitude_sub_dffe3_wo = infinity_magnitude_sub_dffe3,
  3070. infinity_magnitude_sub_dffe41_wi = infinity_magnitude_sub_dffe42_wo,
  3071. infinity_magnitude_sub_dffe41_wo = infinity_magnitude_sub_dffe41_wi,
  3072. infinity_magnitude_sub_dffe42_wi = infinity_magnitude_sub_dffe3_wo,
  3073. infinity_magnitude_sub_dffe42_wo = infinity_magnitude_sub_dffe42_wi,
  3074. infinity_magnitude_sub_dffe4_wi = infinity_magnitude_sub_dffe41_wo,
  3075. infinity_magnitude_sub_dffe4_wo = infinity_magnitude_sub_dffe4,
  3076. input_dataa_denormal_dffe11_wi = input_dataa_denormal_w,
  3077. input_dataa_denormal_dffe11_wo = input_dataa_denormal_dffe11_wi,
  3078. input_dataa_denormal_w = ((~ exp_a_not_zero_w[7]) & man_a_not_zero_w[22]),
  3079. input_dataa_infinite_dffe11_wi = input_dataa_infinite_w,
  3080. input_dataa_infinite_dffe11_wo = input_dataa_infinite_dffe11_wi,
  3081. input_dataa_infinite_dffe12_wi = input_dataa_infinite_dffe11_wo,
  3082. input_dataa_infinite_dffe12_wo = input_dataa_infinite_dffe12,
  3083. input_dataa_infinite_dffe13_wi = input_dataa_infinite_dffe12_wo,
  3084. input_dataa_infinite_dffe13_wo = input_dataa_infinite_dffe13_wi,
  3085. input_dataa_infinite_dffe14_wi = input_dataa_infinite_dffe13_wo,
  3086. input_dataa_infinite_dffe14_wo = input_dataa_infinite_dffe14_wi,
  3087. input_dataa_infinite_dffe15_wi = input_dataa_infinite_dffe14_wo,
  3088. input_dataa_infinite_dffe15_wo = input_dataa_infinite_dffe15_wi,
  3089. input_dataa_infinite_w = (exp_a_all_one_w[7] & (~ man_a_not_zero_w[22])),
  3090. input_dataa_nan_dffe11_wi = input_dataa_nan_w,
  3091. input_dataa_nan_dffe11_wo = input_dataa_nan_dffe11_wi,
  3092. input_dataa_nan_dffe12_wi = input_dataa_nan_dffe11_wo,
  3093. input_dataa_nan_dffe12_wo = input_dataa_nan_dffe12,
  3094. input_dataa_nan_w = (exp_a_all_one_w[7] & man_a_not_zero_w[22]),
  3095. input_dataa_zero_dffe11_wi = input_dataa_zero_w,
  3096. input_dataa_zero_dffe11_wo = input_dataa_zero_dffe11_wi,
  3097. input_dataa_zero_w = ((~ exp_a_not_zero_w[7]) & (~ man_a_not_zero_w[22])),
  3098. input_datab_denormal_dffe11_wi = input_datab_denormal_w,
  3099. input_datab_denormal_dffe11_wo = input_datab_denormal_dffe11_wi,
  3100. input_datab_denormal_w = ((~ exp_b_not_zero_w[7]) & man_b_not_zero_w[22]),
  3101. input_datab_infinite_dffe11_wi = input_datab_infinite_w,
  3102. input_datab_infinite_dffe11_wo = input_datab_infinite_dffe11_wi,
  3103. input_datab_infinite_dffe12_wi = input_datab_infinite_dffe11_wo,
  3104. input_datab_infinite_dffe12_wo = input_datab_infinite_dffe12,
  3105. input_datab_infinite_dffe13_wi = input_datab_infinite_dffe12_wo,
  3106. input_datab_infinite_dffe13_wo = input_datab_infinite_dffe13_wi,
  3107. input_datab_infinite_dffe14_wi = input_datab_infinite_dffe13_wo,
  3108. input_datab_infinite_dffe14_wo = input_datab_infinite_dffe14_wi,
  3109. input_datab_infinite_dffe15_wi = input_datab_infinite_dffe14_wo,
  3110. input_datab_infinite_dffe15_wo = input_datab_infinite_dffe15_wi,
  3111. input_datab_infinite_w = (exp_b_all_one_w[7] & (~ man_b_not_zero_w[22])),
  3112. input_datab_nan_dffe11_wi = input_datab_nan_w,
  3113. input_datab_nan_dffe11_wo = input_datab_nan_dffe11_wi,
  3114. input_datab_nan_dffe12_wi = input_datab_nan_dffe11_wo,
  3115. input_datab_nan_dffe12_wo = input_datab_nan_dffe12,
  3116. input_datab_nan_w = (exp_b_all_one_w[7] & man_b_not_zero_w[22]),
  3117. input_datab_zero_dffe11_wi = input_datab_zero_w,
  3118. input_datab_zero_dffe11_wo = input_datab_zero_dffe11_wi,
  3119. input_datab_zero_w = ((~ exp_b_not_zero_w[7]) & (~ man_b_not_zero_w[22])),
  3120. input_is_infinite_dffe1_wi = (input_dataa_infinite_dffe15_wo | input_datab_infinite_dffe15_wo),
  3121. input_is_infinite_dffe1_wo = input_is_infinite_dffe1,
  3122. input_is_infinite_dffe21_wi = input_is_infinite_dffe27_wo,
  3123. input_is_infinite_dffe21_wo = input_is_infinite_dffe21,
  3124. input_is_infinite_dffe22_wi = input_is_infinite_dffe2_wo,
  3125. input_is_infinite_dffe22_wo = input_is_infinite_dffe22_wi,
  3126. input_is_infinite_dffe23_wi = input_is_infinite_dffe21_wo,
  3127. input_is_infinite_dffe23_wo = input_is_infinite_dffe23_wi,
  3128. input_is_infinite_dffe25_wi = input_is_infinite_dffe1_wo,
  3129. input_is_infinite_dffe25_wo = input_is_infinite_dffe25_wi,
  3130. input_is_infinite_dffe26_wi = input_is_infinite_dffe23_wo,
  3131. input_is_infinite_dffe26_wo = input_is_infinite_dffe26_wi,
  3132. input_is_infinite_dffe27_wi = input_is_infinite_dffe22_wo,
  3133. input_is_infinite_dffe27_wo = input_is_infinite_dffe27_wi,
  3134. input_is_infinite_dffe2_wi = input_is_infinite_dffe25_wo,
  3135. input_is_infinite_dffe2_wo = input_is_infinite_dffe2,
  3136. input_is_infinite_dffe31_wi = input_is_infinite_dffe26_wo,
  3137. input_is_infinite_dffe31_wo = input_is_infinite_dffe31,
  3138. input_is_infinite_dffe32_wi = input_is_infinite_dffe31_wo,
  3139. input_is_infinite_dffe32_wo = input_is_infinite_dffe32_wi,
  3140. input_is_infinite_dffe33_wi = input_is_infinite_dffe32_wo,
  3141. input_is_infinite_dffe33_wo = input_is_infinite_dffe33_wi,
  3142. input_is_infinite_dffe3_wi = input_is_infinite_dffe33_wo,
  3143. input_is_infinite_dffe3_wo = input_is_infinite_dffe3,
  3144. input_is_infinite_dffe41_wi = input_is_infinite_dffe42_wo,
  3145. input_is_infinite_dffe41_wo = input_is_infinite_dffe41_wi,
  3146. input_is_infinite_dffe42_wi = input_is_infinite_dffe3_wo,
  3147. input_is_infinite_dffe42_wo = input_is_infinite_dffe42_wi,
  3148. input_is_infinite_dffe4_wi = input_is_infinite_dffe41_wo,
  3149. input_is_infinite_dffe4_wo = input_is_infinite_dffe4,
  3150. input_is_nan_dffe13_wi = (input_dataa_nan_dffe12_wo | input_datab_nan_dffe12_wo),
  3151. input_is_nan_dffe13_wo = input_is_nan_dffe13_wi,
  3152. input_is_nan_dffe14_wi = input_is_nan_dffe13_wo,
  3153. input_is_nan_dffe14_wo = input_is_nan_dffe14_wi,
  3154. input_is_nan_dffe15_wi = input_is_nan_dffe14_wo,
  3155. input_is_nan_dffe15_wo = input_is_nan_dffe15_wi,
  3156. input_is_nan_dffe1_wi = input_is_nan_dffe15_wo,
  3157. input_is_nan_dffe1_wo = input_is_nan_dffe1,
  3158. input_is_nan_dffe21_wi = input_is_nan_dffe27_wo,
  3159. input_is_nan_dffe21_wo = input_is_nan_dffe21,
  3160. input_is_nan_dffe22_wi = input_is_nan_dffe2_wo,
  3161. input_is_nan_dffe22_wo = input_is_nan_dffe22_wi,
  3162. input_is_nan_dffe23_wi = input_is_nan_dffe21_wo,
  3163. input_is_nan_dffe23_wo = input_is_nan_dffe23_wi,
  3164. input_is_nan_dffe25_wi = input_is_nan_dffe1_wo,
  3165. input_is_nan_dffe25_wo = input_is_nan_dffe25_wi,
  3166. input_is_nan_dffe26_wi = input_is_nan_dffe23_wo,
  3167. input_is_nan_dffe26_wo = input_is_nan_dffe26_wi,
  3168. input_is_nan_dffe27_wi = input_is_nan_dffe22_wo,
  3169. input_is_nan_dffe27_wo = input_is_nan_dffe27_wi,
  3170. input_is_nan_dffe2_wi = input_is_nan_dffe25_wo,
  3171. input_is_nan_dffe2_wo = input_is_nan_dffe2,
  3172. input_is_nan_dffe31_wi = input_is_nan_dffe26_wo,
  3173. input_is_nan_dffe31_wo = input_is_nan_dffe31,
  3174. input_is_nan_dffe32_wi = input_is_nan_dffe31_wo,
  3175. input_is_nan_dffe32_wo = input_is_nan_dffe32_wi,
  3176. input_is_nan_dffe33_wi = input_is_nan_dffe32_wo,
  3177. input_is_nan_dffe33_wo = input_is_nan_dffe33_wi,
  3178. input_is_nan_dffe3_wi = input_is_nan_dffe33_wo,
  3179. input_is_nan_dffe3_wo = input_is_nan_dffe3,
  3180. input_is_nan_dffe41_wi = input_is_nan_dffe42_wo,
  3181. input_is_nan_dffe41_wo = input_is_nan_dffe41_wi,
  3182. input_is_nan_dffe42_wi = input_is_nan_dffe3_wo,
  3183. input_is_nan_dffe42_wo = input_is_nan_dffe42_wi,
  3184. input_is_nan_dffe4_wi = input_is_nan_dffe41_wo,
  3185. input_is_nan_dffe4_wo = input_is_nan_dffe4,
  3186. man_2comp_res_dataa_w = {pos_sign_bit_ext, datab_man_dffe1_wo},
  3187. man_2comp_res_datab_w = {pos_sign_bit_ext, dataa_man_dffe1_wo},
  3188. man_2comp_res_w = {(({14{(~ wire_man_2comp_res_lower_cout)}} & wire_man_2comp_res_upper0_result) | ({14{wire_man_2comp_res_lower_cout}} & wire_man_2comp_res_upper1_result)), wire_man_2comp_res_lower_result},
  3189. man_a_not_zero_w = {(dataa[22] | man_a_not_zero_w[21]), (dataa[21] | man_a_not_zero_w[20]), (dataa[20] | man_a_not_zero_w[19]), (dataa[19] | man_a_not_zero_w[18]), (dataa[18] | man_a_not_zero_w[17]), (dataa[17] | man_a_not_zero_w[16]), (dataa[16] | man_a_not_zero_w[15]), (dataa[15] | man_a_not_zero_w[14]), (dataa[14] | man_a_not_zero_w[13]), (dataa[13] | man_a_not_zero_w[12]), (dataa[12] | man_a_not_zero_w[11]), (dataa[11] | man_a_not_zero_w[10]), (dataa[10] | man_a_not_zero_w[9]), (dataa[9] | man_a_not_zero_w[8]), (dataa[8] | man_a_not_zero_w[7]), (dataa[7] | man_a_not_zero_w[6]), (dataa[6] | man_a_not_zero_w[5]), (dataa[5] | man_a_not_zero_w[4]), (dataa[4] | man_a_not_zero_w[3]), (dataa[3] | man_a_not_zero_w[2]), (dataa[2] | man_a_not_zero_w[1]), (dataa[1] | man_a_not_zero_w[0]), dataa[0]},
  3190. man_add_sub_dataa_w = {pos_sign_bit_ext, dataa_man_dffe1_wo},
  3191. man_add_sub_datab_w = {pos_sign_bit_ext, datab_man_dffe1_wo},
  3192. man_add_sub_res_mag_dffe21_wi = man_res_mag_w2,
  3193. man_add_sub_res_mag_dffe21_wo = man_add_sub_res_mag_dffe21,
  3194. man_add_sub_res_mag_dffe23_wi = man_add_sub_res_mag_dffe21_wo,
  3195. man_add_sub_res_mag_dffe23_wo = man_add_sub_res_mag_dffe23_wi,
  3196. man_add_sub_res_mag_dffe26_wi = man_add_sub_res_mag_dffe23_wo,
  3197. man_add_sub_res_mag_dffe26_wo = man_add_sub_res_mag_dffe26_wi,
  3198. man_add_sub_res_mag_dffe27_wi = man_add_sub_res_mag_w2,
  3199. man_add_sub_res_mag_dffe27_wo = man_add_sub_res_mag_dffe27_wi,
  3200. man_add_sub_res_mag_w2 = (({28{man_add_sub_w[27]}} & man_2comp_res_w) | ({28{(~ man_add_sub_w[27])}} & man_add_sub_w)),
  3201. man_add_sub_res_sign_dffe21_wo = man_add_sub_res_sign_dffe21,
  3202. man_add_sub_res_sign_dffe23_wi = man_add_sub_res_sign_dffe21_wo,
  3203. man_add_sub_res_sign_dffe23_wo = man_add_sub_res_sign_dffe23_wi,
  3204. man_add_sub_res_sign_dffe26_wi = man_add_sub_res_sign_dffe23_wo,
  3205. man_add_sub_res_sign_dffe26_wo = man_add_sub_res_sign_dffe26_wi,
  3206. man_add_sub_res_sign_dffe27_wi = man_add_sub_res_sign_w2,
  3207. man_add_sub_res_sign_dffe27_wo = man_add_sub_res_sign_dffe27_wi,
  3208. man_add_sub_res_sign_w2 = ((need_complement_dffe22_wo & (~ man_add_sub_w[27])) | ((~ need_complement_dffe22_wo) & man_add_sub_w[27])),
  3209. man_add_sub_w = {(({14{(~ wire_man_add_sub_lower_cout)}} & wire_man_add_sub_upper0_result) | ({14{wire_man_add_sub_lower_cout}} & wire_man_add_sub_upper1_result)), wire_man_add_sub_lower_result},
  3210. man_all_zeros_w = {23{1'b0}},
  3211. man_b_not_zero_w = {(datab[22] | man_b_not_zero_w[21]), (datab[21] | man_b_not_zero_w[20]), (datab[20] | man_b_not_zero_w[19]), (datab[19] | man_b_not_zero_w[18]), (datab[18] | man_b_not_zero_w[17]), (datab[17] | man_b_not_zero_w[16]), (datab[16] | man_b_not_zero_w[15]), (datab[15] | man_b_not_zero_w[14]), (datab[14] | man_b_not_zero_w[13]), (datab[13] | man_b_not_zero_w[12]), (datab[12] | man_b_not_zero_w[11]), (datab[11] | man_b_not_zero_w[10]), (datab[10] | man_b_not_zero_w[9]), (datab[9] | man_b_not_zero_w[8]), (datab[8] | man_b_not_zero_w[7]), (datab[7] | man_b_not_zero_w[6]), (datab[6] | man_b_not_zero_w[5]), (datab[5] | man_b_not_zero_w[4]), (datab[4] | man_b_not_zero_w[3]), (datab[3] | man_b_not_zero_w[2]), (datab[2] | man_b_not_zero_w[1]), (datab[1] | man_b_not_zero_w[0]), datab[0]},
  3212. man_dffe31_wo = man_dffe31,
  3213. man_intermediate_res_w = {{2{1'b0}}, man_res_w3},
  3214. man_leading_zeros_cnt_w = man_leading_zeros_dffe31_wo,
  3215. man_leading_zeros_dffe31_wi = (~ wire_leading_zeroes_cnt_q),
  3216. man_leading_zeros_dffe31_wo = man_leading_zeros_dffe31,
  3217. man_nan_w = 23'b10000000000000000000000,
  3218. man_out_dffe5_wi = (({23{force_nan_w}} & man_nan_w) | ({23{(~ force_nan_w)}} & (({23{force_infinity_w}} & man_all_zeros_w) | ({23{(~ force_infinity_w)}} & (({23{(force_zero_w | denormal_flag_w)}} & man_all_zeros_w) | ({23{(~ (force_zero_w | denormal_flag_w))}} & man_res_dffe4_wo)))))),
  3219. man_out_dffe5_wo = man_out_dffe5,
  3220. man_res_dffe4_wi = man_rounded_res_w,
  3221. man_res_dffe4_wo = man_res_dffe4,
  3222. man_res_is_not_zero_dffe31_wi = man_res_not_zero_dffe26_wo,
  3223. man_res_is_not_zero_dffe31_wo = man_res_is_not_zero_dffe31,
  3224. man_res_is_not_zero_dffe32_wi = man_res_is_not_zero_dffe31_wo,
  3225. man_res_is_not_zero_dffe32_wo = man_res_is_not_zero_dffe32_wi,
  3226. man_res_is_not_zero_dffe33_wi = man_res_is_not_zero_dffe32_wo,
  3227. man_res_is_not_zero_dffe33_wo = man_res_is_not_zero_dffe33_wi,
  3228. man_res_is_not_zero_dffe3_wi = man_res_is_not_zero_dffe33_wo,
  3229. man_res_is_not_zero_dffe3_wo = man_res_is_not_zero_dffe3,
  3230. man_res_is_not_zero_dffe41_wi = man_res_is_not_zero_dffe42_wo,
  3231. man_res_is_not_zero_dffe41_wo = man_res_is_not_zero_dffe41_wi,
  3232. man_res_is_not_zero_dffe42_wi = man_res_is_not_zero_dffe3_wo,
  3233. man_res_is_not_zero_dffe42_wo = man_res_is_not_zero_dffe42_wi,
  3234. man_res_is_not_zero_dffe4_wi = man_res_is_not_zero_dffe41_wo,
  3235. man_res_is_not_zero_dffe4_wo = man_res_is_not_zero_dffe4,
  3236. man_res_mag_w2 = (({26{man_add_sub_res_mag_dffe27_wo[26]}} & man_add_sub_res_mag_dffe27_wo[26:1]) | ({26{(~ man_add_sub_res_mag_dffe27_wo[26])}} & man_add_sub_res_mag_dffe27_wo[25:0])),
  3237. man_res_not_zero_dffe23_wi = man_res_not_zero_w2[24],
  3238. man_res_not_zero_dffe23_wo = man_res_not_zero_dffe23_wi,
  3239. man_res_not_zero_dffe26_wi = man_res_not_zero_dffe23_wo,
  3240. man_res_not_zero_dffe26_wo = man_res_not_zero_dffe26_wi,
  3241. man_res_not_zero_w2 = {(man_res_not_zero_w2[23] | man_add_sub_res_mag_dffe21_wo[25]), (man_res_not_zero_w2[22] | man_add_sub_res_mag_dffe21_wo[24]), (man_res_not_zero_w2[21] | man_add_sub_res_mag_dffe21_wo[23]), (man_res_not_zero_w2[20] | man_add_sub_res_mag_dffe21_wo[22]), (man_res_not_zero_w2[19] | man_add_sub_res_mag_dffe21_wo[21]), (man_res_not_zero_w2[18] | man_add_sub_res_mag_dffe21_wo[20]), (man_res_not_zero_w2[17] | man_add_sub_res_mag_dffe21_wo[19]), (man_res_not_zero_w2[16] | man_add_sub_res_mag_dffe21_wo[18]), (man_res_not_zero_w2[15] | man_add_sub_res_mag_dffe21_wo[17]), (man_res_not_zero_w2[14] | man_add_sub_res_mag_dffe21_wo[16]), (man_res_not_zero_w2[13] | man_add_sub_res_mag_dffe21_wo[15]), (man_res_not_zero_w2[12] | man_add_sub_res_mag_dffe21_wo[14]), (man_res_not_zero_w2[11] | man_add_sub_res_mag_dffe21_wo[13]), (man_res_not_zero_w2[10] | man_add_sub_res_mag_dffe21_wo[12]), (man_res_not_zero_w2[9] | man_add_sub_res_mag_dffe21_wo[11]), (man_res_not_zero_w2[8] | man_add_sub_res_mag_dffe21_wo[10]), (man_res_not_zero_w2[7] | man_add_sub_res_mag_dffe21_wo[9]), (man_res_not_zero_w2[6] | man_add_sub_res_mag_dffe21_wo[8]), (man_res_not_zero_w2[5] | man_add_sub_res_mag_dffe21_wo[7]), (man_res_not_zero_w2[4] | man_add_sub_res_mag_dffe21_wo[6]), (man_res_not_zero_w2[3] | man_add_sub_res_mag_dffe21_wo[5]), (man_res_not_zero_w2[2] | man_add_sub_res_mag_dffe21_wo[4]), (man_res_not_zero_w2[1] | man_add_sub_res_mag_dffe21_wo[3]), (man_res_not_zero_w2[0] | man_add_sub_res_mag_dffe21_wo[2]), man_add_sub_res_mag_dffe21_wo[1]},
  3242. man_res_rounding_add_sub_datab_w = {{25{1'b0}}, man_rounding_add_value_w},
  3243. man_res_rounding_add_sub_w = {(({13{(~ wire_man_res_rounding_add_sub_lower_cout)}} & adder_upper_w) | ({13{wire_man_res_rounding_add_sub_lower_cout}} & wire_man_res_rounding_add_sub_upper1_result)), wire_man_res_rounding_add_sub_lower_result},
  3244. man_res_w3 = wire_lbarrel_shift_result[25:2],
  3245. man_rounded_res_w = (({23{man_res_rounding_add_sub_w[24]}} & man_res_rounding_add_sub_w[23:1]) | ({23{(~ man_res_rounding_add_sub_w[24])}} & man_res_rounding_add_sub_w[22:0])),
  3246. man_rounding_add_value_w = (round_bit_dffe3_wo & (sticky_bit_dffe3_wo | guard_bit_dffe3_wo)),
  3247. man_smaller_dffe13_wi = man_smaller_w,
  3248. man_smaller_dffe13_wo = man_smaller_dffe13_wi,
  3249. man_smaller_w = (({24{exp_amb_mux_w}} & aligned_dataa_man_dffe12_wo) | ({24{(~ exp_amb_mux_w)}} & aligned_datab_man_dffe12_wo)),
  3250. need_complement_dffe22_wi = need_complement_dffe2_wo,
  3251. need_complement_dffe22_wo = need_complement_dffe22_wi,
  3252. need_complement_dffe2_wi = dataa_sign_dffe25_wo,
  3253. need_complement_dffe2_wo = need_complement_dffe2,
  3254. pos_sign_bit_ext = {2{1'b0}},
  3255. priority_encoder_1pads_w = {4{1'b1}},
  3256. result = {sign_out_dffe5_wo, exp_out_dffe5_wo, man_out_dffe5_wo},
  3257. round_bit_dffe21_wi = round_bit_w,
  3258. round_bit_dffe21_wo = round_bit_dffe21,
  3259. round_bit_dffe23_wi = round_bit_dffe21_wo,
  3260. round_bit_dffe23_wo = round_bit_dffe23_wi,
  3261. round_bit_dffe26_wi = round_bit_dffe23_wo,
  3262. round_bit_dffe26_wo = round_bit_dffe26_wi,
  3263. round_bit_dffe31_wi = round_bit_dffe26_wo,
  3264. round_bit_dffe31_wo = round_bit_dffe31,
  3265. round_bit_dffe32_wi = round_bit_dffe31_wo,
  3266. round_bit_dffe32_wo = round_bit_dffe32_wi,
  3267. round_bit_dffe33_wi = round_bit_dffe32_wo,
  3268. round_bit_dffe33_wo = round_bit_dffe33_wi,
  3269. round_bit_dffe3_wi = round_bit_dffe33_wo,
  3270. round_bit_dffe3_wo = round_bit_dffe3,
  3271. round_bit_w = ((((((~ man_add_sub_res_mag_dffe27_wo[26]) & (~ man_add_sub_res_mag_dffe27_wo[25])) & man_add_sub_res_mag_dffe27_wo[0]) | (((~ man_add_sub_res_mag_dffe27_wo[26]) & man_add_sub_res_mag_dffe27_wo[25]) & man_add_sub_res_mag_dffe27_wo[1])) | ((man_add_sub_res_mag_dffe27_wo[26] & (~ man_add_sub_res_mag_dffe27_wo[25])) & man_add_sub_res_mag_dffe27_wo[2])) | ((man_add_sub_res_mag_dffe27_wo[26] & man_add_sub_res_mag_dffe27_wo[25]) & man_add_sub_res_mag_dffe27_wo[2])),
  3272. rounded_res_infinity_dffe4_wi = exp_rounded_res_infinity_w,
  3273. rounded_res_infinity_dffe4_wo = rounded_res_infinity_dffe4,
  3274. rshift_distance_dffe13_wi = rshift_distance_w,
  3275. rshift_distance_dffe13_wo = rshift_distance_dffe13_wi,
  3276. rshift_distance_dffe14_wi = rshift_distance_dffe13_wo,
  3277. rshift_distance_dffe14_wo = rshift_distance_dffe14_wi,
  3278. rshift_distance_dffe15_wi = rshift_distance_dffe14_wo,
  3279. rshift_distance_dffe15_wo = rshift_distance_dffe15_wi,
  3280. rshift_distance_w = (({5{exp_diff_abs_exceed_max_w[2]}} & exp_diff_abs_max_w) | ({5{(~ exp_diff_abs_exceed_max_w[2])}} & exp_diff_abs_w[4:0])),
  3281. sign_dffe31_wi = ((man_res_not_zero_dffe26_wo & man_add_sub_res_sign_dffe26_wo) | ((~ man_res_not_zero_dffe26_wo) & zero_man_sign_dffe26_wo)),
  3282. sign_dffe31_wo = sign_dffe31,
  3283. sign_dffe32_wi = sign_dffe31_wo,
  3284. sign_dffe32_wo = sign_dffe32_wi,
  3285. sign_dffe33_wi = sign_dffe32_wo,
  3286. sign_dffe33_wo = sign_dffe33_wi,
  3287. sign_out_dffe5_wi = ((~ force_nan_w) & ((force_infinity_w & infinite_output_sign_dffe4_wo) | ((~ force_infinity_w) & sign_res_dffe4_wo))),
  3288. sign_out_dffe5_wo = sign_out_dffe5,
  3289. sign_res_dffe3_wi = sign_dffe33_wo,
  3290. sign_res_dffe3_wo = sign_res_dffe3,
  3291. sign_res_dffe41_wi = sign_res_dffe42_wo,
  3292. sign_res_dffe41_wo = sign_res_dffe41_wi,
  3293. sign_res_dffe42_wi = sign_res_dffe3_wo,
  3294. sign_res_dffe42_wo = sign_res_dffe42_wi,
  3295. sign_res_dffe4_wi = sign_res_dffe41_wo,
  3296. sign_res_dffe4_wo = sign_res_dffe4,
  3297. sticky_bit_cnt_dataa_w = {1'b0, rshift_distance_dffe15_wo},
  3298. sticky_bit_cnt_datab_w = {1'b0, wire_trailing_zeros_cnt_q},
  3299. sticky_bit_cnt_res_w = wire_add_sub3_result,
  3300. sticky_bit_dffe1_wi = wire_trailing_zeros_limit_comparator_agb,
  3301. sticky_bit_dffe1_wo = sticky_bit_dffe1,
  3302. sticky_bit_dffe21_wi = sticky_bit_w,
  3303. sticky_bit_dffe21_wo = sticky_bit_dffe21,
  3304. sticky_bit_dffe22_wi = sticky_bit_dffe2_wo,
  3305. sticky_bit_dffe22_wo = sticky_bit_dffe22_wi,
  3306. sticky_bit_dffe23_wi = sticky_bit_dffe21_wo,
  3307. sticky_bit_dffe23_wo = sticky_bit_dffe23_wi,
  3308. sticky_bit_dffe25_wi = sticky_bit_dffe1_wo,
  3309. sticky_bit_dffe25_wo = sticky_bit_dffe25_wi,
  3310. sticky_bit_dffe26_wi = sticky_bit_dffe23_wo,
  3311. sticky_bit_dffe26_wo = sticky_bit_dffe26_wi,
  3312. sticky_bit_dffe27_wi = sticky_bit_dffe22_wo,
  3313. sticky_bit_dffe27_wo = sticky_bit_dffe27_wi,
  3314. sticky_bit_dffe2_wi = sticky_bit_dffe25_wo,
  3315. sticky_bit_dffe2_wo = sticky_bit_dffe2,
  3316. sticky_bit_dffe31_wi = sticky_bit_dffe26_wo,
  3317. sticky_bit_dffe31_wo = sticky_bit_dffe31,
  3318. sticky_bit_dffe32_wi = sticky_bit_dffe31_wo,
  3319. sticky_bit_dffe32_wo = sticky_bit_dffe32_wi,
  3320. sticky_bit_dffe33_wi = sticky_bit_dffe32_wo,
  3321. sticky_bit_dffe33_wo = sticky_bit_dffe33_wi,
  3322. sticky_bit_dffe3_wi = sticky_bit_dffe33_wo,
  3323. sticky_bit_dffe3_wo = sticky_bit_dffe3,
  3324. sticky_bit_w = ((((((~ man_add_sub_res_mag_dffe27_wo[26]) & (~ man_add_sub_res_mag_dffe27_wo[25])) & sticky_bit_dffe27_wo) | (((~ man_add_sub_res_mag_dffe27_wo[26]) & man_add_sub_res_mag_dffe27_wo[25]) & (sticky_bit_dffe27_wo | man_add_sub_res_mag_dffe27_wo[0]))) | ((man_add_sub_res_mag_dffe27_wo[26] & (~ man_add_sub_res_mag_dffe27_wo[25])) & ((sticky_bit_dffe27_wo | man_add_sub_res_mag_dffe27_wo[0]) | man_add_sub_res_mag_dffe27_wo[1]))) | ((man_add_sub_res_mag_dffe27_wo[26] & man_add_sub_res_mag_dffe27_wo[25]) & ((sticky_bit_dffe27_wo | man_add_sub_res_mag_dffe27_wo[0]) | man_add_sub_res_mag_dffe27_wo[1]))),
  3325. trailing_zeros_limit_w = 6'b000010,
  3326. zero_man_sign_dffe21_wi = zero_man_sign_dffe27_wo,
  3327. zero_man_sign_dffe21_wo = zero_man_sign_dffe21,
  3328. zero_man_sign_dffe22_wi = zero_man_sign_dffe2_wo,
  3329. zero_man_sign_dffe22_wo = zero_man_sign_dffe22_wi,
  3330. zero_man_sign_dffe23_wi = zero_man_sign_dffe21_wo,
  3331. zero_man_sign_dffe23_wo = zero_man_sign_dffe23_wi,
  3332. zero_man_sign_dffe26_wi = zero_man_sign_dffe23_wo,
  3333. zero_man_sign_dffe26_wo = zero_man_sign_dffe26_wi,
  3334. zero_man_sign_dffe27_wi = zero_man_sign_dffe22_wo,
  3335. zero_man_sign_dffe27_wo = zero_man_sign_dffe27_wi,
  3336. zero_man_sign_dffe2_wi = (dataa_sign_dffe25_wo & add_sub_dffe25_wo),
  3337. zero_man_sign_dffe2_wo = zero_man_sign_dffe2;
  3338. endmodule //fpoint_hw_qsys_addsub_single
  3339. //VALID FILE
  3340. //altfp_div CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" DECODER_SUPPORT="YES" DENORMAL_SUPPORT="NO" DEVICE_FAMILY="STRATIXIV" EXCEPTION_HANDLING="NO" PIPELINE=33 REDUCED_FUNCTIONALITY="NO" WIDTH_EXP=8 WIDTH_MAN=23 aclr clk_en clock dataa datab result
  3341. //VERSION_BEGIN 10.1 cbx_altbarrel_shift 2010:09:06:21:07:24:PN cbx_altfp_div 2010:09:06:21:07:24:PN cbx_altsyncram 2010:09:06:21:07:25:PN cbx_cycloneii 2010:09:06:21:07:25:PN cbx_lpm_abs 2010:09:06:21:07:25:PN cbx_lpm_add_sub 2010:09:06:21:07:25:PN cbx_lpm_compare 2010:09:06:21:07:25:PN cbx_lpm_decode 2010:09:06:21:07:25:PN cbx_lpm_divide 2010:09:06:21:07:25:PN cbx_lpm_mult 2010:09:06:21:07:25:PN cbx_lpm_mux 2010:09:06:21:07:25:PN cbx_mgl 2010:09:06:21:22:18:PN cbx_padd 2010:09:06:21:07:25:PN cbx_stratix 2010:09:06:21:07:25:PN cbx_stratixii 2010:09:06:21:07:25:PN cbx_stratixiii 2010:09:06:21:07:25:PN cbx_stratixv 2010:09:06:21:07:25:PN cbx_util_mgl 2010:09:06:21:07:25:PN VERSION_END
  3342. // synthesis VERILOG_INPUT_VERSION VERILOG_2001
  3343. // altera message_off 10463
  3344. // Copyright (C) 1991-2010 Altera Corporation
  3345. // Your use of Altera Corporation's design tools, logic functions
  3346. // and other software and tools, and its AMPP partner logic
  3347. // functions, and any output files from any of the foregoing
  3348. // (including device programming or simulation files), and any
  3349. // associated documentation or information are expressly subject
  3350. // to the terms and conditions of the Altera Program License
  3351. // Subscription Agreement, Altera MegaCore Function License
  3352. // Agreement, or other applicable license agreement, including,
  3353. // without limitation, that your use is for the sole purpose of
  3354. // programming logic devices manufactured by Altera and sold by
  3355. // Altera or its authorized distributors. Please refer to the
  3356. // applicable agreement for further details.
  3357. //altfp_div_csa CARRY_SELECT="YES" CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" DATAB_IS_CONSTANT="YES" LPM_DIRECTION="ADD" LPM_WIDTH=24 cin cout dataa datab result
  3358. //VERSION_BEGIN 10.1 cbx_altbarrel_shift 2010:09:06:21:07:24:PN cbx_altfp_div 2010:09:06:21:07:24:PN cbx_altsyncram 2010:09:06:21:07:25:PN cbx_cycloneii 2010:09:06:21:07:25:PN cbx_lpm_abs 2010:09:06:21:07:25:PN cbx_lpm_add_sub 2010:09:06:21:07:25:PN cbx_lpm_compare 2010:09:06:21:07:25:PN cbx_lpm_decode 2010:09:06:21:07:25:PN cbx_lpm_divide 2010:09:06:21:07:25:PN cbx_lpm_mult 2010:09:06:21:07:25:PN cbx_lpm_mux 2010:09:06:21:07:25:PN cbx_mgl 2010:09:06:21:22:18:PN cbx_padd 2010:09:06:21:07:25:PN cbx_stratix 2010:09:06:21:07:25:PN cbx_stratixii 2010:09:06:21:07:25:PN cbx_stratixiii 2010:09:06:21:07:25:PN cbx_stratixv 2010:09:06:21:07:25:PN cbx_util_mgl 2010:09:06:21:07:25:PN VERSION_END
  3359. //synthesis_resources = lpm_add_sub 2
  3360. //synopsys translate_off
  3361. `timescale 1 ps / 1 ps
  3362. //synopsys translate_on
  3363. module fpoint_hw_qsys_div_single_altfp_div_csa_vhf
  3364. (
  3365. cin,
  3366. cout,
  3367. dataa,
  3368. datab,
  3369. result) /* synthesis synthesis_clearbox=1 */;
  3370. input cin;
  3371. output cout;
  3372. input [23:0] dataa;
  3373. input [23:0] datab;
  3374. output [23:0] result;
  3375. `ifndef ALTERA_RESERVED_QIS
  3376. // synopsys translate_off
  3377. `endif
  3378. tri0 cin;
  3379. tri0 [23:0] dataa;
  3380. tri0 [23:0] datab;
  3381. `ifndef ALTERA_RESERVED_QIS
  3382. // synopsys translate_on
  3383. `endif
  3384. wire wire_csa_lower_cout;
  3385. wire [11:0] wire_csa_lower_result;
  3386. wire wire_csa_upper1_cout;
  3387. wire [11:0] wire_csa_upper1_result;
  3388. wire [11:0] adder_upper_w;
  3389. wire cout_w;
  3390. wire [23:0] result_w;
  3391. lpm_add_sub csa_lower
  3392. (
  3393. .cin(cin),
  3394. .cout(wire_csa_lower_cout),
  3395. .dataa(dataa[11:0]),
  3396. .datab(datab[11:0]),
  3397. .overflow(),
  3398. .result(wire_csa_lower_result)
  3399. `ifndef FORMAL_VERIFICATION
  3400. // synopsys translate_off
  3401. `endif
  3402. ,
  3403. .aclr(1'b0),
  3404. .add_sub(1'b1),
  3405. .clken(1'b1),
  3406. .clock(1'b0)
  3407. `ifndef FORMAL_VERIFICATION
  3408. // synopsys translate_on
  3409. `endif
  3410. );
  3411. defparam
  3412. csa_lower.lpm_direction = "ADD",
  3413. csa_lower.lpm_representation = "SIGNED",
  3414. csa_lower.lpm_width = 12,
  3415. csa_lower.lpm_type = "lpm_add_sub";
  3416. lpm_add_sub csa_upper1
  3417. (
  3418. .cin(1'b1),
  3419. .cout(wire_csa_upper1_cout),
  3420. .dataa(dataa[23:12]),
  3421. .datab(datab[23:12]),
  3422. .overflow(),
  3423. .result(wire_csa_upper1_result)
  3424. `ifndef FORMAL_VERIFICATION
  3425. // synopsys translate_off
  3426. `endif
  3427. ,
  3428. .aclr(1'b0),
  3429. .add_sub(1'b1),
  3430. .clken(1'b1),
  3431. .clock(1'b0)
  3432. `ifndef FORMAL_VERIFICATION
  3433. // synopsys translate_on
  3434. `endif
  3435. );
  3436. defparam
  3437. csa_upper1.lpm_direction = "ADD",
  3438. csa_upper1.lpm_representation = "SIGNED",
  3439. csa_upper1.lpm_width = 12,
  3440. csa_upper1.lpm_type = "lpm_add_sub";
  3441. assign
  3442. adder_upper_w = dataa[23:12],
  3443. cout = cout_w,
  3444. cout_w = (wire_csa_lower_cout & wire_csa_upper1_cout),
  3445. result = result_w,
  3446. result_w = {(({12{(~ wire_csa_lower_cout)}} & adder_upper_w) | ({12{wire_csa_lower_cout}} & wire_csa_upper1_result)), wire_csa_lower_result};
  3447. endmodule //fpoint_hw_qsys_div_single_altfp_div_csa_vhf
  3448. //altfp_div_srt_ext CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" DEVICE_FAMILY="STRATIXIV" ITERATION=14 OPTMIZE="SPEED" WIDTH_DIV=24 aclr clken clock denom divider numer quotient remain
  3449. //VERSION_BEGIN 10.1 cbx_altbarrel_shift 2010:09:06:21:07:24:PN cbx_altfp_div 2010:09:06:21:07:24:PN cbx_altsyncram 2010:09:06:21:07:25:PN cbx_cycloneii 2010:09:06:21:07:25:PN cbx_lpm_abs 2010:09:06:21:07:25:PN cbx_lpm_add_sub 2010:09:06:21:07:25:PN cbx_lpm_compare 2010:09:06:21:07:25:PN cbx_lpm_decode 2010:09:06:21:07:25:PN cbx_lpm_divide 2010:09:06:21:07:25:PN cbx_lpm_mult 2010:09:06:21:07:25:PN cbx_lpm_mux 2010:09:06:21:07:25:PN cbx_mgl 2010:09:06:21:22:18:PN cbx_padd 2010:09:06:21:07:25:PN cbx_stratix 2010:09:06:21:07:25:PN cbx_stratixii 2010:09:06:21:07:25:PN cbx_stratixiii 2010:09:06:21:07:25:PN cbx_stratixv 2010:09:06:21:07:25:PN cbx_util_mgl 2010:09:06:21:07:25:PN VERSION_END
  3450. //altfp_div_csa CARRY_SELECT="YES" CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" DATAB_IS_CONSTANT="NO" LPM_DIRECTION="ADD" LPM_WIDTH=24 dataa datab result
  3451. //VERSION_BEGIN 10.1 cbx_altbarrel_shift 2010:09:06:21:07:24:PN cbx_altfp_div 2010:09:06:21:07:24:PN cbx_altsyncram 2010:09:06:21:07:25:PN cbx_cycloneii 2010:09:06:21:07:25:PN cbx_lpm_abs 2010:09:06:21:07:25:PN cbx_lpm_add_sub 2010:09:06:21:07:25:PN cbx_lpm_compare 2010:09:06:21:07:25:PN cbx_lpm_decode 2010:09:06:21:07:25:PN cbx_lpm_divide 2010:09:06:21:07:25:PN cbx_lpm_mult 2010:09:06:21:07:25:PN cbx_lpm_mux 2010:09:06:21:07:25:PN cbx_mgl 2010:09:06:21:22:18:PN cbx_padd 2010:09:06:21:07:25:PN cbx_stratix 2010:09:06:21:07:25:PN cbx_stratixii 2010:09:06:21:07:25:PN cbx_stratixiii 2010:09:06:21:07:25:PN cbx_stratixv 2010:09:06:21:07:25:PN cbx_util_mgl 2010:09:06:21:07:25:PN VERSION_END
  3452. //synthesis_resources = lpm_add_sub 3
  3453. //synopsys translate_off
  3454. `timescale 1 ps / 1 ps
  3455. //synopsys translate_on
  3456. module fpoint_hw_qsys_div_single_altfp_div_csa_mke
  3457. (
  3458. dataa,
  3459. datab,
  3460. result) /* synthesis synthesis_clearbox=1 */;
  3461. input [23:0] dataa;
  3462. input [23:0] datab;
  3463. output [23:0] result;
  3464. `ifndef ALTERA_RESERVED_QIS
  3465. // synopsys translate_off
  3466. `endif
  3467. tri0 [23:0] dataa;
  3468. tri0 [23:0] datab;
  3469. `ifndef ALTERA_RESERVED_QIS
  3470. // synopsys translate_on
  3471. `endif
  3472. wire wire_csa_lower_cout;
  3473. wire [11:0] wire_csa_lower_result;
  3474. wire [11:0] wire_csa_upper0_result;
  3475. wire [11:0] wire_csa_upper1_result;
  3476. wire [23:0] result_w;
  3477. lpm_add_sub csa_lower
  3478. (
  3479. .cout(wire_csa_lower_cout),
  3480. .dataa(dataa[11:0]),
  3481. .datab(datab[11:0]),
  3482. .overflow(),
  3483. .result(wire_csa_lower_result)
  3484. `ifndef FORMAL_VERIFICATION
  3485. // synopsys translate_off
  3486. `endif
  3487. ,
  3488. .aclr(1'b0),
  3489. .add_sub(1'b1),
  3490. .cin(),
  3491. .clken(1'b1),
  3492. .clock(1'b0)
  3493. `ifndef FORMAL_VERIFICATION
  3494. // synopsys translate_on
  3495. `endif
  3496. );
  3497. defparam
  3498. csa_lower.lpm_direction = "ADD",
  3499. csa_lower.lpm_representation = "SIGNED",
  3500. csa_lower.lpm_width = 12,
  3501. csa_lower.lpm_type = "lpm_add_sub";
  3502. lpm_add_sub csa_upper0
  3503. (
  3504. .cin(1'b0),
  3505. .cout(),
  3506. .dataa(dataa[23:12]),
  3507. .datab(datab[23:12]),
  3508. .overflow(),
  3509. .result(wire_csa_upper0_result)
  3510. `ifndef FORMAL_VERIFICATION
  3511. // synopsys translate_off
  3512. `endif
  3513. ,
  3514. .aclr(1'b0),
  3515. .add_sub(1'b1),
  3516. .clken(1'b1),
  3517. .clock(1'b0)
  3518. `ifndef FORMAL_VERIFICATION
  3519. // synopsys translate_on
  3520. `endif
  3521. );
  3522. defparam
  3523. csa_upper0.lpm_direction = "ADD",
  3524. csa_upper0.lpm_representation = "SIGNED",
  3525. csa_upper0.lpm_width = 12,
  3526. csa_upper0.lpm_type = "lpm_add_sub";
  3527. lpm_add_sub csa_upper1
  3528. (
  3529. .cin(1'b1),
  3530. .cout(),
  3531. .dataa(dataa[23:12]),
  3532. .datab(datab[23:12]),
  3533. .overflow(),
  3534. .result(wire_csa_upper1_result)
  3535. `ifndef FORMAL_VERIFICATION
  3536. // synopsys translate_off
  3537. `endif
  3538. ,
  3539. .aclr(1'b0),
  3540. .add_sub(1'b1),
  3541. .clken(1'b1),
  3542. .clock(1'b0)
  3543. `ifndef FORMAL_VERIFICATION
  3544. // synopsys translate_on
  3545. `endif
  3546. );
  3547. defparam
  3548. csa_upper1.lpm_direction = "ADD",
  3549. csa_upper1.lpm_representation = "SIGNED",
  3550. csa_upper1.lpm_width = 12,
  3551. csa_upper1.lpm_type = "lpm_add_sub";
  3552. assign
  3553. result = result_w,
  3554. result_w = {(({12{(~ wire_csa_lower_cout)}} & wire_csa_upper0_result) | ({12{wire_csa_lower_cout}} & wire_csa_upper1_result)), wire_csa_lower_result};
  3555. endmodule //fpoint_hw_qsys_div_single_altfp_div_csa_mke
  3556. //altfp_div_csa CARRY_SELECT="YES" CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" DATAB_IS_CONSTANT="NO" LPM_DIRECTION="SUB" LPM_PIPELINE=1 LPM_WIDTH=28 aclr clken clock dataa datab result
  3557. //VERSION_BEGIN 10.1 cbx_altbarrel_shift 2010:09:06:21:07:24:PN cbx_altfp_div 2010:09:06:21:07:24:PN cbx_altsyncram 2010:09:06:21:07:25:PN cbx_cycloneii 2010:09:06:21:07:25:PN cbx_lpm_abs 2010:09:06:21:07:25:PN cbx_lpm_add_sub 2010:09:06:21:07:25:PN cbx_lpm_compare 2010:09:06:21:07:25:PN cbx_lpm_decode 2010:09:06:21:07:25:PN cbx_lpm_divide 2010:09:06:21:07:25:PN cbx_lpm_mult 2010:09:06:21:07:25:PN cbx_lpm_mux 2010:09:06:21:07:25:PN cbx_mgl 2010:09:06:21:22:18:PN cbx_padd 2010:09:06:21:07:25:PN cbx_stratix 2010:09:06:21:07:25:PN cbx_stratixii 2010:09:06:21:07:25:PN cbx_stratixiii 2010:09:06:21:07:25:PN cbx_stratixv 2010:09:06:21:07:25:PN cbx_util_mgl 2010:09:06:21:07:25:PN VERSION_END
  3558. //synthesis_resources = lpm_add_sub 3
  3559. //synopsys translate_off
  3560. `timescale 1 ps / 1 ps
  3561. //synopsys translate_on
  3562. module fpoint_hw_qsys_div_single_altfp_div_csa_2jh
  3563. (
  3564. aclr,
  3565. clken,
  3566. clock,
  3567. dataa,
  3568. datab,
  3569. result) /* synthesis synthesis_clearbox=1 */;
  3570. input aclr;
  3571. input clken;
  3572. input clock;
  3573. input [27:0] dataa;
  3574. input [27:0] datab;
  3575. output [27:0] result;
  3576. `ifndef ALTERA_RESERVED_QIS
  3577. // synopsys translate_off
  3578. `endif
  3579. tri0 aclr;
  3580. tri1 clken;
  3581. tri0 clock;
  3582. tri0 [27:0] dataa;
  3583. tri0 [27:0] datab;
  3584. `ifndef ALTERA_RESERVED_QIS
  3585. // synopsys translate_on
  3586. `endif
  3587. wire wire_csa_lower_cout;
  3588. wire [13:0] wire_csa_lower_result;
  3589. wire [13:0] wire_csa_upper0_result;
  3590. wire [13:0] wire_csa_upper1_result;
  3591. wire [27:0] result_w;
  3592. lpm_add_sub csa_lower
  3593. (
  3594. .aclr(aclr),
  3595. .clken(clken),
  3596. .clock(clock),
  3597. .cout(wire_csa_lower_cout),
  3598. .dataa(dataa[13:0]),
  3599. .datab(datab[13:0]),
  3600. .overflow(),
  3601. .result(wire_csa_lower_result)
  3602. `ifndef FORMAL_VERIFICATION
  3603. // synopsys translate_off
  3604. `endif
  3605. ,
  3606. .add_sub(1'b1),
  3607. .cin()
  3608. `ifndef FORMAL_VERIFICATION
  3609. // synopsys translate_on
  3610. `endif
  3611. );
  3612. defparam
  3613. csa_lower.lpm_direction = "SUB",
  3614. csa_lower.lpm_pipeline = 1,
  3615. csa_lower.lpm_representation = "SIGNED",
  3616. csa_lower.lpm_width = 14,
  3617. csa_lower.lpm_type = "lpm_add_sub";
  3618. lpm_add_sub csa_upper0
  3619. (
  3620. .aclr(aclr),
  3621. .cin(1'b0),
  3622. .clken(clken),
  3623. .clock(clock),
  3624. .cout(),
  3625. .dataa(dataa[27:14]),
  3626. .datab(datab[27:14]),
  3627. .overflow(),
  3628. .result(wire_csa_upper0_result)
  3629. `ifndef FORMAL_VERIFICATION
  3630. // synopsys translate_off
  3631. `endif
  3632. ,
  3633. .add_sub(1'b1)
  3634. `ifndef FORMAL_VERIFICATION
  3635. // synopsys translate_on
  3636. `endif
  3637. );
  3638. defparam
  3639. csa_upper0.lpm_direction = "SUB",
  3640. csa_upper0.lpm_pipeline = 1,
  3641. csa_upper0.lpm_representation = "SIGNED",
  3642. csa_upper0.lpm_width = 14,
  3643. csa_upper0.lpm_type = "lpm_add_sub";
  3644. lpm_add_sub csa_upper1
  3645. (
  3646. .aclr(aclr),
  3647. .cin(1'b1),
  3648. .clken(clken),
  3649. .clock(clock),
  3650. .cout(),
  3651. .dataa(dataa[27:14]),
  3652. .datab(datab[27:14]),
  3653. .overflow(),
  3654. .result(wire_csa_upper1_result)
  3655. `ifndef FORMAL_VERIFICATION
  3656. // synopsys translate_off
  3657. `endif
  3658. ,
  3659. .add_sub(1'b1)
  3660. `ifndef FORMAL_VERIFICATION
  3661. // synopsys translate_on
  3662. `endif
  3663. );
  3664. defparam
  3665. csa_upper1.lpm_direction = "SUB",
  3666. csa_upper1.lpm_pipeline = 1,
  3667. csa_upper1.lpm_representation = "SIGNED",
  3668. csa_upper1.lpm_width = 14,
  3669. csa_upper1.lpm_type = "lpm_add_sub";
  3670. assign
  3671. result = result_w,
  3672. result_w = {(({14{(~ wire_csa_lower_cout)}} & wire_csa_upper0_result) | ({14{wire_csa_lower_cout}} & wire_csa_upper1_result)), wire_csa_lower_result};
  3673. endmodule //fpoint_hw_qsys_div_single_altfp_div_csa_2jh
  3674. //altfp_div_csa CARRY_SELECT="YES" CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" DATAB_IS_CONSTANT="NO" LPM_DIRECTION="SUB" LPM_WIDTH=28 dataa datab result
  3675. //VERSION_BEGIN 10.1 cbx_altbarrel_shift 2010:09:06:21:07:24:PN cbx_altfp_div 2010:09:06:21:07:24:PN cbx_altsyncram 2010:09:06:21:07:25:PN cbx_cycloneii 2010:09:06:21:07:25:PN cbx_lpm_abs 2010:09:06:21:07:25:PN cbx_lpm_add_sub 2010:09:06:21:07:25:PN cbx_lpm_compare 2010:09:06:21:07:25:PN cbx_lpm_decode 2010:09:06:21:07:25:PN cbx_lpm_divide 2010:09:06:21:07:25:PN cbx_lpm_mult 2010:09:06:21:07:25:PN cbx_lpm_mux 2010:09:06:21:07:25:PN cbx_mgl 2010:09:06:21:22:18:PN cbx_padd 2010:09:06:21:07:25:PN cbx_stratix 2010:09:06:21:07:25:PN cbx_stratixii 2010:09:06:21:07:25:PN cbx_stratixiii 2010:09:06:21:07:25:PN cbx_stratixv 2010:09:06:21:07:25:PN cbx_util_mgl 2010:09:06:21:07:25:PN VERSION_END
  3676. //synthesis_resources = lpm_add_sub 3
  3677. //synopsys translate_off
  3678. `timescale 1 ps / 1 ps
  3679. //synopsys translate_on
  3680. module fpoint_hw_qsys_div_single_altfp_div_csa_rle
  3681. (
  3682. dataa,
  3683. datab,
  3684. result) /* synthesis synthesis_clearbox=1 */;
  3685. input [27:0] dataa;
  3686. input [27:0] datab;
  3687. output [27:0] result;
  3688. `ifndef ALTERA_RESERVED_QIS
  3689. // synopsys translate_off
  3690. `endif
  3691. tri0 [27:0] dataa;
  3692. tri0 [27:0] datab;
  3693. `ifndef ALTERA_RESERVED_QIS
  3694. // synopsys translate_on
  3695. `endif
  3696. wire wire_csa_lower_cout;
  3697. wire [13:0] wire_csa_lower_result;
  3698. wire [13:0] wire_csa_upper0_result;
  3699. wire [13:0] wire_csa_upper1_result;
  3700. wire [27:0] result_w;
  3701. lpm_add_sub csa_lower
  3702. (
  3703. .cout(wire_csa_lower_cout),
  3704. .dataa(dataa[13:0]),
  3705. .datab(datab[13:0]),
  3706. .overflow(),
  3707. .result(wire_csa_lower_result)
  3708. `ifndef FORMAL_VERIFICATION
  3709. // synopsys translate_off
  3710. `endif
  3711. ,
  3712. .aclr(1'b0),
  3713. .add_sub(1'b1),
  3714. .cin(),
  3715. .clken(1'b1),
  3716. .clock(1'b0)
  3717. `ifndef FORMAL_VERIFICATION
  3718. // synopsys translate_on
  3719. `endif
  3720. );
  3721. defparam
  3722. csa_lower.lpm_direction = "SUB",
  3723. csa_lower.lpm_representation = "SIGNED",
  3724. csa_lower.lpm_width = 14,
  3725. csa_lower.lpm_type = "lpm_add_sub";
  3726. lpm_add_sub csa_upper0
  3727. (
  3728. .cin(1'b0),
  3729. .cout(),
  3730. .dataa(dataa[27:14]),
  3731. .datab(datab[27:14]),
  3732. .overflow(),
  3733. .result(wire_csa_upper0_result)
  3734. `ifndef FORMAL_VERIFICATION
  3735. // synopsys translate_off
  3736. `endif
  3737. ,
  3738. .aclr(1'b0),
  3739. .add_sub(1'b1),
  3740. .clken(1'b1),
  3741. .clock(1'b0)
  3742. `ifndef FORMAL_VERIFICATION
  3743. // synopsys translate_on
  3744. `endif
  3745. );
  3746. defparam
  3747. csa_upper0.lpm_direction = "SUB",
  3748. csa_upper0.lpm_representation = "SIGNED",
  3749. csa_upper0.lpm_width = 14,
  3750. csa_upper0.lpm_type = "lpm_add_sub";
  3751. lpm_add_sub csa_upper1
  3752. (
  3753. .cin(1'b1),
  3754. .cout(),
  3755. .dataa(dataa[27:14]),
  3756. .datab(datab[27:14]),
  3757. .overflow(),
  3758. .result(wire_csa_upper1_result)
  3759. `ifndef FORMAL_VERIFICATION
  3760. // synopsys translate_off
  3761. `endif
  3762. ,
  3763. .aclr(1'b0),
  3764. .add_sub(1'b1),
  3765. .clken(1'b1),
  3766. .clock(1'b0)
  3767. `ifndef FORMAL_VERIFICATION
  3768. // synopsys translate_on
  3769. `endif
  3770. );
  3771. defparam
  3772. csa_upper1.lpm_direction = "SUB",
  3773. csa_upper1.lpm_representation = "SIGNED",
  3774. csa_upper1.lpm_width = 14,
  3775. csa_upper1.lpm_type = "lpm_add_sub";
  3776. assign
  3777. result = result_w,
  3778. result_w = {(({14{(~ wire_csa_lower_cout)}} & wire_csa_upper0_result) | ({14{wire_csa_lower_cout}} & wire_csa_upper1_result)), wire_csa_lower_result};
  3779. endmodule //fpoint_hw_qsys_div_single_altfp_div_csa_rle
  3780. //srt_block_int CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" DEVICE_FAMILY="STRATIXIV" OPTIMIZE="SPEED" POSITION="FIRST" WIDTH_DIV=24 WIDTH_RK_IN=24 WIDTH_RK_OUT=25 WIDTH_ROM=3 WIDTH_ROM_ADD=12 aclr clken clock divider divider_reg Rk Rk_next rom
  3781. //VERSION_BEGIN 10.1 cbx_altbarrel_shift 2010:09:06:21:07:24:PN cbx_altfp_div 2010:09:06:21:07:24:PN cbx_altsyncram 2010:09:06:21:07:25:PN cbx_cycloneii 2010:09:06:21:07:25:PN cbx_lpm_abs 2010:09:06:21:07:25:PN cbx_lpm_add_sub 2010:09:06:21:07:25:PN cbx_lpm_compare 2010:09:06:21:07:25:PN cbx_lpm_decode 2010:09:06:21:07:25:PN cbx_lpm_divide 2010:09:06:21:07:25:PN cbx_lpm_mult 2010:09:06:21:07:25:PN cbx_lpm_mux 2010:09:06:21:07:25:PN cbx_mgl 2010:09:06:21:22:18:PN cbx_padd 2010:09:06:21:07:25:PN cbx_stratix 2010:09:06:21:07:25:PN cbx_stratixii 2010:09:06:21:07:25:PN cbx_stratixiii 2010:09:06:21:07:25:PN cbx_stratixv 2010:09:06:21:07:25:PN cbx_util_mgl 2010:09:06:21:07:25:PN VERSION_END
  3782. //altfp_div_csa CARRY_SELECT="YES" CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" DATAB_IS_CONSTANT="NO" LPM_DIRECTION="ADD" LPM_WIDTH=27 dataa datab result
  3783. //VERSION_BEGIN 10.1 cbx_altbarrel_shift 2010:09:06:21:07:24:PN cbx_altfp_div 2010:09:06:21:07:24:PN cbx_altsyncram 2010:09:06:21:07:25:PN cbx_cycloneii 2010:09:06:21:07:25:PN cbx_lpm_abs 2010:09:06:21:07:25:PN cbx_lpm_add_sub 2010:09:06:21:07:25:PN cbx_lpm_compare 2010:09:06:21:07:25:PN cbx_lpm_decode 2010:09:06:21:07:25:PN cbx_lpm_divide 2010:09:06:21:07:25:PN cbx_lpm_mult 2010:09:06:21:07:25:PN cbx_lpm_mux 2010:09:06:21:07:25:PN cbx_mgl 2010:09:06:21:22:18:PN cbx_padd 2010:09:06:21:07:25:PN cbx_stratix 2010:09:06:21:07:25:PN cbx_stratixii 2010:09:06:21:07:25:PN cbx_stratixiii 2010:09:06:21:07:25:PN cbx_stratixv 2010:09:06:21:07:25:PN cbx_util_mgl 2010:09:06:21:07:25:PN VERSION_END
  3784. //synthesis_resources = lpm_add_sub 3
  3785. //synopsys translate_off
  3786. `timescale 1 ps / 1 ps
  3787. //synopsys translate_on
  3788. module fpoint_hw_qsys_div_single_altfp_div_csa_pke
  3789. (
  3790. dataa,
  3791. datab,
  3792. result) /* synthesis synthesis_clearbox=1 */;
  3793. input [26:0] dataa;
  3794. input [26:0] datab;
  3795. output [26:0] result;
  3796. `ifndef ALTERA_RESERVED_QIS
  3797. // synopsys translate_off
  3798. `endif
  3799. tri0 [26:0] dataa;
  3800. tri0 [26:0] datab;
  3801. `ifndef ALTERA_RESERVED_QIS
  3802. // synopsys translate_on
  3803. `endif
  3804. wire wire_csa_lower_cout;
  3805. wire [13:0] wire_csa_lower_result;
  3806. wire [12:0] wire_csa_upper0_result;
  3807. wire [12:0] wire_csa_upper1_result;
  3808. wire [26:0] result_w;
  3809. lpm_add_sub csa_lower
  3810. (
  3811. .cout(wire_csa_lower_cout),
  3812. .dataa(dataa[13:0]),
  3813. .datab(datab[13:0]),
  3814. .overflow(),
  3815. .result(wire_csa_lower_result)
  3816. `ifndef FORMAL_VERIFICATION
  3817. // synopsys translate_off
  3818. `endif
  3819. ,
  3820. .aclr(1'b0),
  3821. .add_sub(1'b1),
  3822. .cin(),
  3823. .clken(1'b1),
  3824. .clock(1'b0)
  3825. `ifndef FORMAL_VERIFICATION
  3826. // synopsys translate_on
  3827. `endif
  3828. );
  3829. defparam
  3830. csa_lower.lpm_direction = "ADD",
  3831. csa_lower.lpm_representation = "SIGNED",
  3832. csa_lower.lpm_width = 14,
  3833. csa_lower.lpm_type = "lpm_add_sub";
  3834. lpm_add_sub csa_upper0
  3835. (
  3836. .cin(1'b0),
  3837. .cout(),
  3838. .dataa(dataa[26:14]),
  3839. .datab(datab[26:14]),
  3840. .overflow(),
  3841. .result(wire_csa_upper0_result)
  3842. `ifndef FORMAL_VERIFICATION
  3843. // synopsys translate_off
  3844. `endif
  3845. ,
  3846. .aclr(1'b0),
  3847. .add_sub(1'b1),
  3848. .clken(1'b1),
  3849. .clock(1'b0)
  3850. `ifndef FORMAL_VERIFICATION
  3851. // synopsys translate_on
  3852. `endif
  3853. );
  3854. defparam
  3855. csa_upper0.lpm_direction = "ADD",
  3856. csa_upper0.lpm_representation = "SIGNED",
  3857. csa_upper0.lpm_width = 13,
  3858. csa_upper0.lpm_type = "lpm_add_sub";
  3859. lpm_add_sub csa_upper1
  3860. (
  3861. .cin(1'b1),
  3862. .cout(),
  3863. .dataa(dataa[26:14]),
  3864. .datab(datab[26:14]),
  3865. .overflow(),
  3866. .result(wire_csa_upper1_result)
  3867. `ifndef FORMAL_VERIFICATION
  3868. // synopsys translate_off
  3869. `endif
  3870. ,
  3871. .aclr(1'b0),
  3872. .add_sub(1'b1),
  3873. .clken(1'b1),
  3874. .clock(1'b0)
  3875. `ifndef FORMAL_VERIFICATION
  3876. // synopsys translate_on
  3877. `endif
  3878. );
  3879. defparam
  3880. csa_upper1.lpm_direction = "ADD",
  3881. csa_upper1.lpm_representation = "SIGNED",
  3882. csa_upper1.lpm_width = 13,
  3883. csa_upper1.lpm_type = "lpm_add_sub";
  3884. assign
  3885. result = result_w,
  3886. result_w = {(({13{(~ wire_csa_lower_cout)}} & wire_csa_upper0_result) | ({13{wire_csa_lower_cout}} & wire_csa_upper1_result)), wire_csa_lower_result};
  3887. endmodule //fpoint_hw_qsys_div_single_altfp_div_csa_pke
  3888. //altfp_div_csa CARRY_SELECT="YES" CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" DATAB_IS_CONSTANT="NO" LPM_DIRECTION="SUB" LPM_WIDTH=27 dataa datab result
  3889. //VERSION_BEGIN 10.1 cbx_altbarrel_shift 2010:09:06:21:07:24:PN cbx_altfp_div 2010:09:06:21:07:24:PN cbx_altsyncram 2010:09:06:21:07:25:PN cbx_cycloneii 2010:09:06:21:07:25:PN cbx_lpm_abs 2010:09:06:21:07:25:PN cbx_lpm_add_sub 2010:09:06:21:07:25:PN cbx_lpm_compare 2010:09:06:21:07:25:PN cbx_lpm_decode 2010:09:06:21:07:25:PN cbx_lpm_divide 2010:09:06:21:07:25:PN cbx_lpm_mult 2010:09:06:21:07:25:PN cbx_lpm_mux 2010:09:06:21:07:25:PN cbx_mgl 2010:09:06:21:22:18:PN cbx_padd 2010:09:06:21:07:25:PN cbx_stratix 2010:09:06:21:07:25:PN cbx_stratixii 2010:09:06:21:07:25:PN cbx_stratixiii 2010:09:06:21:07:25:PN cbx_stratixv 2010:09:06:21:07:25:PN cbx_util_mgl 2010:09:06:21:07:25:PN VERSION_END
  3890. //synthesis_resources = lpm_add_sub 3
  3891. //synopsys translate_off
  3892. `timescale 1 ps / 1 ps
  3893. //synopsys translate_on
  3894. module fpoint_hw_qsys_div_single_altfp_div_csa_qle
  3895. (
  3896. dataa,
  3897. datab,
  3898. result) /* synthesis synthesis_clearbox=1 */;
  3899. input [26:0] dataa;
  3900. input [26:0] datab;
  3901. output [26:0] result;
  3902. `ifndef ALTERA_RESERVED_QIS
  3903. // synopsys translate_off
  3904. `endif
  3905. tri0 [26:0] dataa;
  3906. tri0 [26:0] datab;
  3907. `ifndef ALTERA_RESERVED_QIS
  3908. // synopsys translate_on
  3909. `endif
  3910. wire wire_csa_lower_cout;
  3911. wire [13:0] wire_csa_lower_result;
  3912. wire [12:0] wire_csa_upper0_result;
  3913. wire [12:0] wire_csa_upper1_result;
  3914. wire [26:0] result_w;
  3915. lpm_add_sub csa_lower
  3916. (
  3917. .cout(wire_csa_lower_cout),
  3918. .dataa(dataa[13:0]),
  3919. .datab(datab[13:0]),
  3920. .overflow(),
  3921. .result(wire_csa_lower_result)
  3922. `ifndef FORMAL_VERIFICATION
  3923. // synopsys translate_off
  3924. `endif
  3925. ,
  3926. .aclr(1'b0),
  3927. .add_sub(1'b1),
  3928. .cin(),
  3929. .clken(1'b1),
  3930. .clock(1'b0)
  3931. `ifndef FORMAL_VERIFICATION
  3932. // synopsys translate_on
  3933. `endif
  3934. );
  3935. defparam
  3936. csa_lower.lpm_direction = "SUB",
  3937. csa_lower.lpm_representation = "SIGNED",
  3938. csa_lower.lpm_width = 14,
  3939. csa_lower.lpm_type = "lpm_add_sub";
  3940. lpm_add_sub csa_upper0
  3941. (
  3942. .cin(1'b0),
  3943. .cout(),
  3944. .dataa(dataa[26:14]),
  3945. .datab(datab[26:14]),
  3946. .overflow(),
  3947. .result(wire_csa_upper0_result)
  3948. `ifndef FORMAL_VERIFICATION
  3949. // synopsys translate_off
  3950. `endif
  3951. ,
  3952. .aclr(1'b0),
  3953. .add_sub(1'b1),
  3954. .clken(1'b1),
  3955. .clock(1'b0)
  3956. `ifndef FORMAL_VERIFICATION
  3957. // synopsys translate_on
  3958. `endif
  3959. );
  3960. defparam
  3961. csa_upper0.lpm_direction = "SUB",
  3962. csa_upper0.lpm_representation = "SIGNED",
  3963. csa_upper0.lpm_width = 13,
  3964. csa_upper0.lpm_type = "lpm_add_sub";
  3965. lpm_add_sub csa_upper1
  3966. (
  3967. .cin(1'b1),
  3968. .cout(),
  3969. .dataa(dataa[26:14]),
  3970. .datab(datab[26:14]),
  3971. .overflow(),
  3972. .result(wire_csa_upper1_result)
  3973. `ifndef FORMAL_VERIFICATION
  3974. // synopsys translate_off
  3975. `endif
  3976. ,
  3977. .aclr(1'b0),
  3978. .add_sub(1'b1),
  3979. .clken(1'b1),
  3980. .clock(1'b0)
  3981. `ifndef FORMAL_VERIFICATION
  3982. // synopsys translate_on
  3983. `endif
  3984. );
  3985. defparam
  3986. csa_upper1.lpm_direction = "SUB",
  3987. csa_upper1.lpm_representation = "SIGNED",
  3988. csa_upper1.lpm_width = 13,
  3989. csa_upper1.lpm_type = "lpm_add_sub";
  3990. assign
  3991. result = result_w,
  3992. result_w = {(({13{(~ wire_csa_lower_cout)}} & wire_csa_upper0_result) | ({13{wire_csa_lower_cout}} & wire_csa_upper1_result)), wire_csa_lower_result};
  3993. endmodule //fpoint_hw_qsys_div_single_altfp_div_csa_qle
  3994. //qds_block CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" FIRST_QDS="YES" aclr clken clock decoder_bus decoder_output
  3995. //VERSION_BEGIN 10.1 cbx_altbarrel_shift 2010:09:06:21:07:24:PN cbx_altfp_div 2010:09:06:21:07:24:PN cbx_altsyncram 2010:09:06:21:07:25:PN cbx_cycloneii 2010:09:06:21:07:25:PN cbx_lpm_abs 2010:09:06:21:07:25:PN cbx_lpm_add_sub 2010:09:06:21:07:25:PN cbx_lpm_compare 2010:09:06:21:07:25:PN cbx_lpm_decode 2010:09:06:21:07:25:PN cbx_lpm_divide 2010:09:06:21:07:25:PN cbx_lpm_mult 2010:09:06:21:07:25:PN cbx_lpm_mux 2010:09:06:21:07:25:PN cbx_mgl 2010:09:06:21:22:18:PN cbx_padd 2010:09:06:21:07:25:PN cbx_stratix 2010:09:06:21:07:25:PN cbx_stratixii 2010:09:06:21:07:25:PN cbx_stratixiii 2010:09:06:21:07:25:PN cbx_stratixv 2010:09:06:21:07:25:PN cbx_util_mgl 2010:09:06:21:07:25:PN VERSION_END
  3996. //synthesis_resources = lpm_compare 4 lpm_mux 1 reg 2
  3997. //synopsys translate_off
  3998. `timescale 1 ps / 1 ps
  3999. //synopsys translate_on
  4000. module fpoint_hw_qsys_div_single_qds_block_mab
  4001. (
  4002. aclr,
  4003. clken,
  4004. clock,
  4005. decoder_bus,
  4006. decoder_output) /* synthesis synthesis_clearbox=1 */;
  4007. input aclr;
  4008. input clken;
  4009. input clock;
  4010. input [11:0] decoder_bus;
  4011. output [2:0] decoder_output;
  4012. `ifndef ALTERA_RESERVED_QIS
  4013. // synopsys translate_off
  4014. `endif
  4015. tri0 aclr;
  4016. tri1 clken;
  4017. tri0 clock;
  4018. `ifndef ALTERA_RESERVED_QIS
  4019. // synopsys translate_on
  4020. `endif
  4021. reg [1:0] q_next_dffe;
  4022. wire wire_cmpr35_aleb;
  4023. wire wire_cmpr36_aleb;
  4024. wire wire_cmpr37_aleb;
  4025. wire wire_cmpr38_aleb;
  4026. wire [31:0] wire_mux34_result;
  4027. wire [2:0] decoder_output_w;
  4028. wire [3:0] Div_w;
  4029. wire [3:0] k_comp_w;
  4030. wire [511:0] mk_bus_const_w;
  4031. wire [31:0] mk_bus_w;
  4032. wire [8:0] mk_neg1_w;
  4033. wire [8:0] mk_pos0_w;
  4034. wire [8:0] mk_pos1_w;
  4035. wire [8:0] mk_pos2_w;
  4036. wire [2:0] q_next_w;
  4037. wire [8:0] Rk_in_w;
  4038. wire [8:0] Rk_w;
  4039. // synopsys translate_off
  4040. initial
  4041. q_next_dffe = 0;
  4042. // synopsys translate_on
  4043. always @ ( posedge clock or posedge aclr)
  4044. if (aclr == 1'b1) q_next_dffe <= 2'b0;
  4045. else if (clken == 1'b1) q_next_dffe <= q_next_w[1:0];
  4046. lpm_compare cmpr35
  4047. (
  4048. .aeb(),
  4049. .agb(),
  4050. .ageb(),
  4051. .alb(),
  4052. .aleb(wire_cmpr35_aleb),
  4053. .aneb(),
  4054. .dataa(Rk_w),
  4055. .datab(mk_neg1_w)
  4056. `ifndef FORMAL_VERIFICATION
  4057. // synopsys translate_off
  4058. `endif
  4059. ,
  4060. .aclr(1'b0),
  4061. .clken(1'b1),
  4062. .clock(1'b0)
  4063. `ifndef FORMAL_VERIFICATION
  4064. // synopsys translate_on
  4065. `endif
  4066. );
  4067. defparam
  4068. cmpr35.lpm_representation = "SIGNED",
  4069. cmpr35.lpm_width = 9,
  4070. cmpr35.lpm_type = "lpm_compare";
  4071. lpm_compare cmpr36
  4072. (
  4073. .aeb(),
  4074. .agb(),
  4075. .ageb(),
  4076. .alb(),
  4077. .aleb(wire_cmpr36_aleb),
  4078. .aneb(),
  4079. .dataa(Rk_w),
  4080. .datab(mk_pos0_w)
  4081. `ifndef FORMAL_VERIFICATION
  4082. // synopsys translate_off
  4083. `endif
  4084. ,
  4085. .aclr(1'b0),
  4086. .clken(1'b1),
  4087. .clock(1'b0)
  4088. `ifndef FORMAL_VERIFICATION
  4089. // synopsys translate_on
  4090. `endif
  4091. );
  4092. defparam
  4093. cmpr36.lpm_representation = "SIGNED",
  4094. cmpr36.lpm_width = 9,
  4095. cmpr36.lpm_type = "lpm_compare";
  4096. lpm_compare cmpr37
  4097. (
  4098. .aeb(),
  4099. .agb(),
  4100. .ageb(),
  4101. .alb(),
  4102. .aleb(wire_cmpr37_aleb),
  4103. .aneb(),
  4104. .dataa(Rk_w),
  4105. .datab(mk_pos1_w)
  4106. `ifndef FORMAL_VERIFICATION
  4107. // synopsys translate_off
  4108. `endif
  4109. ,
  4110. .aclr(1'b0),
  4111. .clken(1'b1),
  4112. .clock(1'b0)
  4113. `ifndef FORMAL_VERIFICATION
  4114. // synopsys translate_on
  4115. `endif
  4116. );
  4117. defparam
  4118. cmpr37.lpm_representation = "SIGNED",
  4119. cmpr37.lpm_width = 9,
  4120. cmpr37.lpm_type = "lpm_compare";
  4121. lpm_compare cmpr38
  4122. (
  4123. .aeb(),
  4124. .agb(),
  4125. .ageb(),
  4126. .alb(),
  4127. .aleb(wire_cmpr38_aleb),
  4128. .aneb(),
  4129. .dataa(Rk_w),
  4130. .datab(mk_pos2_w)
  4131. `ifndef FORMAL_VERIFICATION
  4132. // synopsys translate_off
  4133. `endif
  4134. ,
  4135. .aclr(1'b0),
  4136. .clken(1'b1),
  4137. .clock(1'b0)
  4138. `ifndef FORMAL_VERIFICATION
  4139. // synopsys translate_on
  4140. `endif
  4141. );
  4142. defparam
  4143. cmpr38.lpm_representation = "SIGNED",
  4144. cmpr38.lpm_width = 9,
  4145. cmpr38.lpm_type = "lpm_compare";
  4146. lpm_mux mux34
  4147. (
  4148. .data(mk_bus_const_w),
  4149. .result(wire_mux34_result),
  4150. .sel(Div_w)
  4151. `ifndef FORMAL_VERIFICATION
  4152. // synopsys translate_off
  4153. `endif
  4154. ,
  4155. .aclr(1'b0),
  4156. .clken(1'b1),
  4157. .clock(1'b0)
  4158. `ifndef FORMAL_VERIFICATION
  4159. // synopsys translate_on
  4160. `endif
  4161. );
  4162. defparam
  4163. mux34.lpm_size = 16,
  4164. mux34.lpm_width = 32,
  4165. mux34.lpm_widths = 4,
  4166. mux34.lpm_type = "lpm_mux";
  4167. assign
  4168. decoder_output = decoder_output_w,
  4169. decoder_output_w = {1'b0, q_next_dffe},
  4170. Div_w = decoder_bus[3:0],
  4171. k_comp_w = {wire_cmpr38_aleb, wire_cmpr37_aleb, wire_cmpr36_aleb, wire_cmpr35_aleb},
  4172. mk_bus_const_w = {32'b01011101000111111110000110100011, 32'b01011010000111101110001010100110, 32'b01010111000111011110001110101001, 32'b01010100000111001110010010101100, 32'b01010001000110111110010110101111, 32'b01001110000110101110011010110010, 32'b01001011000110011110011110110101, 32'b01001000000110001110100010111000, 32'b01000101000101111110100110111011, 32'b01000010000101101110101010111110, 32'b00111111000101011110101111000001, 32'b00111100000101001110110011000100, 32'b00111001000100111110110111000111, 32'b00110110000100101110111011001010, 32'b00110011000100011110111111001101, 32'b00110000000100001111000011010000},
  4173. mk_bus_w = wire_mux34_result,
  4174. mk_neg1_w = {mk_bus_w[7], mk_bus_w[7:0]},
  4175. mk_pos0_w = {mk_bus_w[15], mk_bus_w[15:8]},
  4176. mk_pos1_w = {mk_bus_w[23], mk_bus_w[23:16]},
  4177. mk_pos2_w = {mk_bus_w[31], mk_bus_w[31:24]},
  4178. q_next_w = {k_comp_w[1], ((~ k_comp_w[3]) | k_comp_w[0]), ((k_comp_w[3] & (~ k_comp_w[2])) | (k_comp_w[1] & (~ k_comp_w[0])))},
  4179. Rk_in_w = {decoder_bus[11:4], 1'b0},
  4180. Rk_w = Rk_in_w;
  4181. endmodule //fpoint_hw_qsys_div_single_qds_block_mab
  4182. //synthesis_resources = lpm_add_sub 12 lpm_compare 4 lpm_mux 2 reg 197
  4183. //synopsys translate_off
  4184. `timescale 1 ps / 1 ps
  4185. //synopsys translate_on
  4186. module fpoint_hw_qsys_div_single_srt_block_int_02n
  4187. (
  4188. aclr,
  4189. clken,
  4190. clock,
  4191. divider,
  4192. divider_reg,
  4193. Rk,
  4194. Rk_next,
  4195. rom) /* synthesis synthesis_clearbox=1 */;
  4196. input aclr;
  4197. input clken;
  4198. input clock;
  4199. input [23:0] divider;
  4200. output [23:0] divider_reg;
  4201. input [23:0] Rk;
  4202. output [24:0] Rk_next;
  4203. output [2:0] rom;
  4204. `ifndef ALTERA_RESERVED_QIS
  4205. // synopsys translate_off
  4206. `endif
  4207. tri0 aclr;
  4208. tri1 clken;
  4209. tri0 clock;
  4210. `ifndef ALTERA_RESERVED_QIS
  4211. // synopsys translate_on
  4212. `endif
  4213. wire [26:0] wire_altfp_div_csa29_result;
  4214. wire [26:0] wire_altfp_div_csa30_result;
  4215. wire [26:0] wire_altfp_div_csa31_result;
  4216. wire [26:0] wire_altfp_div_csa32_result;
  4217. reg [22:0] divider_dffe;
  4218. reg [22:0] divider_dffe_1a;
  4219. reg [24:0] neg_qk1d_dffe;
  4220. reg [24:0] neg_qk2d_dffe;
  4221. reg [24:0] pos_qk1d_dffe;
  4222. reg [24:0] pos_qk2d_dffe;
  4223. reg [20:0] Rk_adder_padded_dffe;
  4224. reg [24:0] Rk_next_dffe;
  4225. reg [2:0] rom_out_dffe;
  4226. wire [24:0] wire_mux33_result;
  4227. wire [2:0] wire_qds_block28_decoder_output;
  4228. wire [26:0] divider_1D_w;
  4229. wire [26:0] divider_2D_w;
  4230. wire [22:0] divider_dffe_1a_w;
  4231. wire [23:0] divider_dffe_w;
  4232. wire [23:0] divider_in_w;
  4233. wire [24:0] neg_qk1d_int_w;
  4234. wire [24:0] neg_qk2d_int_w;
  4235. wire [1:0] padded_2_zeros_w;
  4236. wire [2:0] padded_3_zeros_w;
  4237. wire [24:0] pos_qk0d_int_w;
  4238. wire [24:0] pos_qk1d_int_w;
  4239. wire [24:0] pos_qk2d_int_w;
  4240. wire [199:0] qkd_mux_input_w;
  4241. wire [24:0] qkd_mux_w;
  4242. wire [26:0] Rk_adder_padded_w;
  4243. wire [23:0] Rk_dffe_1a_w;
  4244. wire [23:0] Rk_in_w;
  4245. wire [24:0] Rk_next_dffe_w;
  4246. wire [11:0] rom_add_w;
  4247. wire [2:0] rom_mux_w;
  4248. wire [2:0] rom_out_1a_w;
  4249. wire [2:0] rom_out_dffe_w;
  4250. fpoint_hw_qsys_div_single_altfp_div_csa_pke altfp_div_csa29
  4251. (
  4252. .dataa(Rk_adder_padded_w),
  4253. .datab(divider_1D_w),
  4254. .result(wire_altfp_div_csa29_result));
  4255. fpoint_hw_qsys_div_single_altfp_div_csa_pke altfp_div_csa30
  4256. (
  4257. .dataa(Rk_adder_padded_w),
  4258. .datab(divider_2D_w),
  4259. .result(wire_altfp_div_csa30_result));
  4260. fpoint_hw_qsys_div_single_altfp_div_csa_qle altfp_div_csa31
  4261. (
  4262. .dataa(Rk_adder_padded_w),
  4263. .datab(divider_1D_w),
  4264. .result(wire_altfp_div_csa31_result));
  4265. fpoint_hw_qsys_div_single_altfp_div_csa_qle altfp_div_csa32
  4266. (
  4267. .dataa(Rk_adder_padded_w),
  4268. .datab(divider_2D_w),
  4269. .result(wire_altfp_div_csa32_result));
  4270. // synopsys translate_off
  4271. initial
  4272. divider_dffe = 0;
  4273. // synopsys translate_on
  4274. always @ ( posedge clock or posedge aclr)
  4275. if (aclr == 1'b1) divider_dffe <= 23'b0;
  4276. else if (clken == 1'b1) divider_dffe <= divider_dffe_1a_w;
  4277. // synopsys translate_off
  4278. initial
  4279. divider_dffe_1a = 0;
  4280. // synopsys translate_on
  4281. always @ ( posedge clock or posedge aclr)
  4282. if (aclr == 1'b1) divider_dffe_1a <= 23'b0;
  4283. else if (clken == 1'b1) divider_dffe_1a <= divider_in_w[22:0];
  4284. // synopsys translate_off
  4285. initial
  4286. neg_qk1d_dffe = 0;
  4287. // synopsys translate_on
  4288. always @ ( posedge clock or posedge aclr)
  4289. if (aclr == 1'b1) neg_qk1d_dffe <= 25'b0;
  4290. else if (clken == 1'b1) neg_qk1d_dffe <= wire_altfp_div_csa31_result[24:0];
  4291. // synopsys translate_off
  4292. initial
  4293. neg_qk2d_dffe = 0;
  4294. // synopsys translate_on
  4295. always @ ( posedge clock or posedge aclr)
  4296. if (aclr == 1'b1) neg_qk2d_dffe <= 25'b0;
  4297. else if (clken == 1'b1) neg_qk2d_dffe <= wire_altfp_div_csa32_result[24:0];
  4298. // synopsys translate_off
  4299. initial
  4300. pos_qk1d_dffe = 0;
  4301. // synopsys translate_on
  4302. always @ ( posedge clock or posedge aclr)
  4303. if (aclr == 1'b1) pos_qk1d_dffe <= 25'b0;
  4304. else if (clken == 1'b1) pos_qk1d_dffe <= wire_altfp_div_csa29_result[24:0];
  4305. // synopsys translate_off
  4306. initial
  4307. pos_qk2d_dffe = 0;
  4308. // synopsys translate_on
  4309. always @ ( posedge clock or posedge aclr)
  4310. if (aclr == 1'b1) pos_qk2d_dffe <= 25'b0;
  4311. else if (clken == 1'b1) pos_qk2d_dffe <= wire_altfp_div_csa30_result[24:0];
  4312. // synopsys translate_off
  4313. initial
  4314. Rk_adder_padded_dffe = 0;
  4315. // synopsys translate_on
  4316. always @ ( posedge clock or posedge aclr)
  4317. if (aclr == 1'b1) Rk_adder_padded_dffe <= 21'b0;
  4318. else if (clken == 1'b1) Rk_adder_padded_dffe <= Rk_adder_padded_w[20:0];
  4319. // synopsys translate_off
  4320. initial
  4321. Rk_next_dffe = 0;
  4322. // synopsys translate_on
  4323. always @ ( posedge clock or posedge aclr)
  4324. if (aclr == 1'b1) Rk_next_dffe <= 25'b0;
  4325. else if (clken == 1'b1) Rk_next_dffe <= qkd_mux_w;
  4326. // synopsys translate_off
  4327. initial
  4328. rom_out_dffe = 0;
  4329. // synopsys translate_on
  4330. always @ ( posedge clock or posedge aclr)
  4331. if (aclr == 1'b1) rom_out_dffe <= 3'b0;
  4332. else if (clken == 1'b1) rom_out_dffe <= rom_out_1a_w;
  4333. lpm_mux mux33
  4334. (
  4335. .data(qkd_mux_input_w),
  4336. .result(wire_mux33_result),
  4337. .sel(rom_mux_w)
  4338. `ifndef FORMAL_VERIFICATION
  4339. // synopsys translate_off
  4340. `endif
  4341. ,
  4342. .aclr(1'b0),
  4343. .clken(1'b1),
  4344. .clock(1'b0)
  4345. `ifndef FORMAL_VERIFICATION
  4346. // synopsys translate_on
  4347. `endif
  4348. );
  4349. defparam
  4350. mux33.lpm_size = 8,
  4351. mux33.lpm_width = 25,
  4352. mux33.lpm_widths = 3,
  4353. mux33.lpm_type = "lpm_mux";
  4354. fpoint_hw_qsys_div_single_qds_block_mab qds_block28
  4355. (
  4356. .aclr(aclr),
  4357. .clken(clken),
  4358. .clock(clock),
  4359. .decoder_bus(rom_add_w),
  4360. .decoder_output(wire_qds_block28_decoder_output));
  4361. assign
  4362. divider_1D_w = {padded_3_zeros_w, divider_in_w},
  4363. divider_2D_w = {padded_2_zeros_w, divider_in_w, 1'b0},
  4364. divider_dffe_1a_w = divider_dffe_1a,
  4365. divider_dffe_w = {1'b1, divider_dffe},
  4366. divider_in_w = divider,
  4367. divider_reg = divider_dffe_w,
  4368. neg_qk1d_int_w = neg_qk1d_dffe,
  4369. neg_qk2d_int_w = neg_qk2d_dffe,
  4370. padded_2_zeros_w = {2{1'b0}},
  4371. padded_3_zeros_w = {3{1'b0}},
  4372. pos_qk0d_int_w = {padded_3_zeros_w, 1'b1, Rk_adder_padded_dffe[20:0]},
  4373. pos_qk1d_int_w = pos_qk1d_dffe,
  4374. pos_qk2d_int_w = pos_qk2d_dffe,
  4375. qkd_mux_input_w = {{2{pos_qk2d_int_w}}, pos_qk1d_int_w, pos_qk0d_int_w, {2{neg_qk2d_int_w}}, neg_qk1d_int_w, pos_qk0d_int_w},
  4376. qkd_mux_w = wire_mux33_result[24:0],
  4377. Rk_adder_padded_w = {padded_3_zeros_w, Rk_dffe_1a_w},
  4378. Rk_dffe_1a_w = Rk_in_w,
  4379. Rk_in_w = Rk,
  4380. Rk_next = Rk_next_dffe_w,
  4381. Rk_next_dffe_w = Rk_next_dffe,
  4382. rom = rom_out_dffe_w,
  4383. rom_add_w = {padded_3_zeros_w, Rk_in_w[23:19], divider_in_w[22:19]},
  4384. rom_mux_w = rom_out_1a_w,
  4385. rom_out_1a_w = wire_qds_block28_decoder_output,
  4386. rom_out_dffe_w = rom_out_dffe;
  4387. endmodule //fpoint_hw_qsys_div_single_srt_block_int_02n
  4388. //srt_block_int CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" DEVICE_FAMILY="STRATIXIV" OPTIMIZE="SPEED" POSITION="MIDDLE" WIDTH_DIV=24 WIDTH_RK_IN=25 WIDTH_RK_OUT=25 WIDTH_ROM=3 WIDTH_ROM_ADD=12 aclr clken clock divider divider_reg Rk Rk_next rom
  4389. //VERSION_BEGIN 10.1 cbx_altbarrel_shift 2010:09:06:21:07:24:PN cbx_altfp_div 2010:09:06:21:07:24:PN cbx_altsyncram 2010:09:06:21:07:25:PN cbx_cycloneii 2010:09:06:21:07:25:PN cbx_lpm_abs 2010:09:06:21:07:25:PN cbx_lpm_add_sub 2010:09:06:21:07:25:PN cbx_lpm_compare 2010:09:06:21:07:25:PN cbx_lpm_decode 2010:09:06:21:07:25:PN cbx_lpm_divide 2010:09:06:21:07:25:PN cbx_lpm_mult 2010:09:06:21:07:25:PN cbx_lpm_mux 2010:09:06:21:07:25:PN cbx_mgl 2010:09:06:21:22:18:PN cbx_padd 2010:09:06:21:07:25:PN cbx_stratix 2010:09:06:21:07:25:PN cbx_stratixii 2010:09:06:21:07:25:PN cbx_stratixiii 2010:09:06:21:07:25:PN cbx_stratixv 2010:09:06:21:07:25:PN cbx_util_mgl 2010:09:06:21:07:25:PN VERSION_END
  4390. //qds_block CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" aclr clken clock decoder_bus decoder_output
  4391. //VERSION_BEGIN 10.1 cbx_altbarrel_shift 2010:09:06:21:07:24:PN cbx_altfp_div 2010:09:06:21:07:24:PN cbx_altsyncram 2010:09:06:21:07:25:PN cbx_cycloneii 2010:09:06:21:07:25:PN cbx_lpm_abs 2010:09:06:21:07:25:PN cbx_lpm_add_sub 2010:09:06:21:07:25:PN cbx_lpm_compare 2010:09:06:21:07:25:PN cbx_lpm_decode 2010:09:06:21:07:25:PN cbx_lpm_divide 2010:09:06:21:07:25:PN cbx_lpm_mult 2010:09:06:21:07:25:PN cbx_lpm_mux 2010:09:06:21:07:25:PN cbx_mgl 2010:09:06:21:22:18:PN cbx_padd 2010:09:06:21:07:25:PN cbx_stratix 2010:09:06:21:07:25:PN cbx_stratixii 2010:09:06:21:07:25:PN cbx_stratixiii 2010:09:06:21:07:25:PN cbx_stratixv 2010:09:06:21:07:25:PN cbx_util_mgl 2010:09:06:21:07:25:PN VERSION_END
  4392. //synthesis_resources = lpm_compare 4 lpm_mux 1 reg 3
  4393. //synopsys translate_off
  4394. `timescale 1 ps / 1 ps
  4395. //synopsys translate_on
  4396. module fpoint_hw_qsys_div_single_qds_block_ls9
  4397. (
  4398. aclr,
  4399. clken,
  4400. clock,
  4401. decoder_bus,
  4402. decoder_output) /* synthesis synthesis_clearbox=1 */;
  4403. input aclr;
  4404. input clken;
  4405. input clock;
  4406. input [11:0] decoder_bus;
  4407. output [2:0] decoder_output;
  4408. `ifndef ALTERA_RESERVED_QIS
  4409. // synopsys translate_off
  4410. `endif
  4411. tri0 aclr;
  4412. tri1 clken;
  4413. tri0 clock;
  4414. `ifndef ALTERA_RESERVED_QIS
  4415. // synopsys translate_on
  4416. `endif
  4417. reg [2:0] q_next_dffe;
  4418. wire wire_cmpr46_aleb;
  4419. wire wire_cmpr47_aleb;
  4420. wire wire_cmpr48_aleb;
  4421. wire wire_cmpr49_aleb;
  4422. wire [31:0] wire_mux45_result;
  4423. wire [2:0] decoder_output_w;
  4424. wire [3:0] Div_w;
  4425. wire [3:0] k_comp_w;
  4426. wire [511:0] mk_bus_const_w;
  4427. wire [31:0] mk_bus_w;
  4428. wire [8:0] mk_neg1_w;
  4429. wire [8:0] mk_pos0_w;
  4430. wire [8:0] mk_pos1_w;
  4431. wire [8:0] mk_pos2_w;
  4432. wire [2:0] q_next_w;
  4433. wire [8:0] Rk_in_w;
  4434. wire [8:0] Rk_w;
  4435. // synopsys translate_off
  4436. initial
  4437. q_next_dffe = 0;
  4438. // synopsys translate_on
  4439. always @ ( posedge clock or posedge aclr)
  4440. if (aclr == 1'b1) q_next_dffe <= 3'b0;
  4441. else if (clken == 1'b1) q_next_dffe <= q_next_w;
  4442. lpm_compare cmpr46
  4443. (
  4444. .aeb(),
  4445. .agb(),
  4446. .ageb(),
  4447. .alb(),
  4448. .aleb(wire_cmpr46_aleb),
  4449. .aneb(),
  4450. .dataa(Rk_w),
  4451. .datab(mk_neg1_w)
  4452. `ifndef FORMAL_VERIFICATION
  4453. // synopsys translate_off
  4454. `endif
  4455. ,
  4456. .aclr(1'b0),
  4457. .clken(1'b1),
  4458. .clock(1'b0)
  4459. `ifndef FORMAL_VERIFICATION
  4460. // synopsys translate_on
  4461. `endif
  4462. );
  4463. defparam
  4464. cmpr46.lpm_representation = "SIGNED",
  4465. cmpr46.lpm_width = 9,
  4466. cmpr46.lpm_type = "lpm_compare";
  4467. lpm_compare cmpr47
  4468. (
  4469. .aeb(),
  4470. .agb(),
  4471. .ageb(),
  4472. .alb(),
  4473. .aleb(wire_cmpr47_aleb),
  4474. .aneb(),
  4475. .dataa(Rk_w),
  4476. .datab(mk_pos0_w)
  4477. `ifndef FORMAL_VERIFICATION
  4478. // synopsys translate_off
  4479. `endif
  4480. ,
  4481. .aclr(1'b0),
  4482. .clken(1'b1),
  4483. .clock(1'b0)
  4484. `ifndef FORMAL_VERIFICATION
  4485. // synopsys translate_on
  4486. `endif
  4487. );
  4488. defparam
  4489. cmpr47.lpm_representation = "SIGNED",
  4490. cmpr47.lpm_width = 9,
  4491. cmpr47.lpm_type = "lpm_compare";
  4492. lpm_compare cmpr48
  4493. (
  4494. .aeb(),
  4495. .agb(),
  4496. .ageb(),
  4497. .alb(),
  4498. .aleb(wire_cmpr48_aleb),
  4499. .aneb(),
  4500. .dataa(Rk_w),
  4501. .datab(mk_pos1_w)
  4502. `ifndef FORMAL_VERIFICATION
  4503. // synopsys translate_off
  4504. `endif
  4505. ,
  4506. .aclr(1'b0),
  4507. .clken(1'b1),
  4508. .clock(1'b0)
  4509. `ifndef FORMAL_VERIFICATION
  4510. // synopsys translate_on
  4511. `endif
  4512. );
  4513. defparam
  4514. cmpr48.lpm_representation = "SIGNED",
  4515. cmpr48.lpm_width = 9,
  4516. cmpr48.lpm_type = "lpm_compare";
  4517. lpm_compare cmpr49
  4518. (
  4519. .aeb(),
  4520. .agb(),
  4521. .ageb(),
  4522. .alb(),
  4523. .aleb(wire_cmpr49_aleb),
  4524. .aneb(),
  4525. .dataa(Rk_w),
  4526. .datab(mk_pos2_w)
  4527. `ifndef FORMAL_VERIFICATION
  4528. // synopsys translate_off
  4529. `endif
  4530. ,
  4531. .aclr(1'b0),
  4532. .clken(1'b1),
  4533. .clock(1'b0)
  4534. `ifndef FORMAL_VERIFICATION
  4535. // synopsys translate_on
  4536. `endif
  4537. );
  4538. defparam
  4539. cmpr49.lpm_representation = "SIGNED",
  4540. cmpr49.lpm_width = 9,
  4541. cmpr49.lpm_type = "lpm_compare";
  4542. lpm_mux mux45
  4543. (
  4544. .data(mk_bus_const_w),
  4545. .result(wire_mux45_result),
  4546. .sel(Div_w)
  4547. `ifndef FORMAL_VERIFICATION
  4548. // synopsys translate_off
  4549. `endif
  4550. ,
  4551. .aclr(1'b0),
  4552. .clken(1'b1),
  4553. .clock(1'b0)
  4554. `ifndef FORMAL_VERIFICATION
  4555. // synopsys translate_on
  4556. `endif
  4557. );
  4558. defparam
  4559. mux45.lpm_size = 16,
  4560. mux45.lpm_width = 32,
  4561. mux45.lpm_widths = 4,
  4562. mux45.lpm_type = "lpm_mux";
  4563. assign
  4564. decoder_output = decoder_output_w,
  4565. decoder_output_w = q_next_dffe,
  4566. Div_w = decoder_bus[3:0],
  4567. k_comp_w = {wire_cmpr49_aleb, wire_cmpr48_aleb, wire_cmpr47_aleb, wire_cmpr46_aleb},
  4568. mk_bus_const_w = {32'b01011101000111111110000110100011, 32'b01011010000111101110001010100110, 32'b01010111000111011110001110101001, 32'b01010100000111001110010010101100, 32'b01010001000110111110010110101111, 32'b01001110000110101110011010110010, 32'b01001011000110011110011110110101, 32'b01001000000110001110100010111000, 32'b01000101000101111110100110111011, 32'b01000010000101101110101010111110, 32'b00111111000101011110101111000001, 32'b00111100000101001110110011000100, 32'b00111001000100111110110111000111, 32'b00110110000100101110111011001010, 32'b00110011000100011110111111001101, 32'b00110000000100001111000011010000},
  4569. mk_bus_w = wire_mux45_result,
  4570. mk_neg1_w = {mk_bus_w[7], mk_bus_w[7:0]},
  4571. mk_pos0_w = {mk_bus_w[15], mk_bus_w[15:8]},
  4572. mk_pos1_w = {mk_bus_w[23], mk_bus_w[23:16]},
  4573. mk_pos2_w = {mk_bus_w[31], mk_bus_w[31:24]},
  4574. q_next_w = {k_comp_w[1], ((~ k_comp_w[3]) | k_comp_w[0]), ((k_comp_w[3] & (~ k_comp_w[2])) | (k_comp_w[1] & (~ k_comp_w[0])))},
  4575. Rk_in_w = {decoder_bus[11:4], 1'b0},
  4576. Rk_w = Rk_in_w;
  4577. endmodule //fpoint_hw_qsys_div_single_qds_block_ls9
  4578. //synthesis_resources = lpm_add_sub 12 lpm_compare 4 lpm_mux 2 reg 200
  4579. //synopsys translate_off
  4580. `timescale 1 ps / 1 ps
  4581. //synopsys translate_on
  4582. module fpoint_hw_qsys_div_single_srt_block_int_84n
  4583. (
  4584. aclr,
  4585. clken,
  4586. clock,
  4587. divider,
  4588. divider_reg,
  4589. Rk,
  4590. Rk_next,
  4591. rom) /* synthesis synthesis_clearbox=1 */;
  4592. input aclr;
  4593. input clken;
  4594. input clock;
  4595. input [23:0] divider;
  4596. output [23:0] divider_reg;
  4597. input [24:0] Rk;
  4598. output [24:0] Rk_next;
  4599. output [2:0] rom;
  4600. `ifndef ALTERA_RESERVED_QIS
  4601. // synopsys translate_off
  4602. `endif
  4603. tri0 aclr;
  4604. tri1 clken;
  4605. tri0 clock;
  4606. `ifndef ALTERA_RESERVED_QIS
  4607. // synopsys translate_on
  4608. `endif
  4609. wire [26:0] wire_altfp_div_csa40_result;
  4610. wire [26:0] wire_altfp_div_csa41_result;
  4611. wire [26:0] wire_altfp_div_csa42_result;
  4612. wire [26:0] wire_altfp_div_csa43_result;
  4613. reg [22:0] divider_dffe;
  4614. reg [22:0] divider_dffe_1a;
  4615. reg [24:0] neg_qk1d_dffe;
  4616. reg [23:0] neg_qk2d_dffe;
  4617. reg [24:0] pos_qk1d_dffe;
  4618. reg [23:0] pos_qk2d_dffe;
  4619. reg [24:0] Rk_adder_padded_dffe;
  4620. reg [24:0] Rk_next_dffe;
  4621. reg [2:0] rom_out_dffe;
  4622. wire [24:0] wire_mux44_result;
  4623. wire [2:0] wire_qds_block39_decoder_output;
  4624. wire [26:0] divider_1D_w;
  4625. wire [26:0] divider_2D_w;
  4626. wire [22:0] divider_dffe_1a_w;
  4627. wire [23:0] divider_dffe_w;
  4628. wire [23:0] divider_in_w;
  4629. wire [24:0] neg_qk1d_int_w;
  4630. wire [24:0] neg_qk2d_int_w;
  4631. wire [1:0] padded_2_zeros_w;
  4632. wire [2:0] padded_3_zeros_w;
  4633. wire [24:0] pos_qk0d_int_w;
  4634. wire [24:0] pos_qk1d_int_w;
  4635. wire [24:0] pos_qk2d_int_w;
  4636. wire [199:0] qkd_mux_input_w;
  4637. wire [24:0] qkd_mux_w;
  4638. wire [26:0] Rk_adder_padded_w;
  4639. wire [24:0] Rk_dffe_1a_w;
  4640. wire [24:0] Rk_in_w;
  4641. wire [24:0] Rk_next_dffe_w;
  4642. wire [11:0] rom_add_w;
  4643. wire [2:0] rom_mux_w;
  4644. wire [2:0] rom_out_1a_w;
  4645. wire [2:0] rom_out_dffe_w;
  4646. fpoint_hw_qsys_div_single_altfp_div_csa_pke altfp_div_csa40
  4647. (
  4648. .dataa(Rk_adder_padded_w),
  4649. .datab(divider_1D_w),
  4650. .result(wire_altfp_div_csa40_result));
  4651. fpoint_hw_qsys_div_single_altfp_div_csa_pke altfp_div_csa41
  4652. (
  4653. .dataa(Rk_adder_padded_w),
  4654. .datab(divider_2D_w),
  4655. .result(wire_altfp_div_csa41_result));
  4656. fpoint_hw_qsys_div_single_altfp_div_csa_qle altfp_div_csa42
  4657. (
  4658. .dataa(Rk_adder_padded_w),
  4659. .datab(divider_1D_w),
  4660. .result(wire_altfp_div_csa42_result));
  4661. fpoint_hw_qsys_div_single_altfp_div_csa_qle altfp_div_csa43
  4662. (
  4663. .dataa(Rk_adder_padded_w),
  4664. .datab(divider_2D_w),
  4665. .result(wire_altfp_div_csa43_result));
  4666. // synopsys translate_off
  4667. initial
  4668. divider_dffe = 0;
  4669. // synopsys translate_on
  4670. always @ ( posedge clock or posedge aclr)
  4671. if (aclr == 1'b1) divider_dffe <= 23'b0;
  4672. else if (clken == 1'b1) divider_dffe <= divider_dffe_1a_w;
  4673. // synopsys translate_off
  4674. initial
  4675. divider_dffe_1a = 0;
  4676. // synopsys translate_on
  4677. always @ ( posedge clock or posedge aclr)
  4678. if (aclr == 1'b1) divider_dffe_1a <= 23'b0;
  4679. else if (clken == 1'b1) divider_dffe_1a <= divider_in_w[22:0];
  4680. // synopsys translate_off
  4681. initial
  4682. neg_qk1d_dffe = 0;
  4683. // synopsys translate_on
  4684. always @ ( posedge clock or posedge aclr)
  4685. if (aclr == 1'b1) neg_qk1d_dffe <= 25'b0;
  4686. else if (clken == 1'b1) neg_qk1d_dffe <= wire_altfp_div_csa42_result[24:0];
  4687. // synopsys translate_off
  4688. initial
  4689. neg_qk2d_dffe = 0;
  4690. // synopsys translate_on
  4691. always @ ( posedge clock or posedge aclr)
  4692. if (aclr == 1'b1) neg_qk2d_dffe <= 24'b0;
  4693. else if (clken == 1'b1) neg_qk2d_dffe <= wire_altfp_div_csa43_result[24:1];
  4694. // synopsys translate_off
  4695. initial
  4696. pos_qk1d_dffe = 0;
  4697. // synopsys translate_on
  4698. always @ ( posedge clock or posedge aclr)
  4699. if (aclr == 1'b1) pos_qk1d_dffe <= 25'b0;
  4700. else if (clken == 1'b1) pos_qk1d_dffe <= wire_altfp_div_csa40_result[24:0];
  4701. // synopsys translate_off
  4702. initial
  4703. pos_qk2d_dffe = 0;
  4704. // synopsys translate_on
  4705. always @ ( posedge clock or posedge aclr)
  4706. if (aclr == 1'b1) pos_qk2d_dffe <= 24'b0;
  4707. else if (clken == 1'b1) pos_qk2d_dffe <= wire_altfp_div_csa41_result[24:1];
  4708. // synopsys translate_off
  4709. initial
  4710. Rk_adder_padded_dffe = 0;
  4711. // synopsys translate_on
  4712. always @ ( posedge clock or posedge aclr)
  4713. if (aclr == 1'b1) Rk_adder_padded_dffe <= 25'b0;
  4714. else if (clken == 1'b1) Rk_adder_padded_dffe <= Rk_adder_padded_w[26:2];
  4715. // synopsys translate_off
  4716. initial
  4717. Rk_next_dffe = 0;
  4718. // synopsys translate_on
  4719. always @ ( posedge clock or posedge aclr)
  4720. if (aclr == 1'b1) Rk_next_dffe <= 25'b0;
  4721. else if (clken == 1'b1) Rk_next_dffe <= qkd_mux_w;
  4722. // synopsys translate_off
  4723. initial
  4724. rom_out_dffe = 0;
  4725. // synopsys translate_on
  4726. always @ ( posedge clock or posedge aclr)
  4727. if (aclr == 1'b1) rom_out_dffe <= 3'b0;
  4728. else if (clken == 1'b1) rom_out_dffe <= rom_out_1a_w;
  4729. lpm_mux mux44
  4730. (
  4731. .data(qkd_mux_input_w),
  4732. .result(wire_mux44_result),
  4733. .sel(rom_mux_w)
  4734. `ifndef FORMAL_VERIFICATION
  4735. // synopsys translate_off
  4736. `endif
  4737. ,
  4738. .aclr(1'b0),
  4739. .clken(1'b1),
  4740. .clock(1'b0)
  4741. `ifndef FORMAL_VERIFICATION
  4742. // synopsys translate_on
  4743. `endif
  4744. );
  4745. defparam
  4746. mux44.lpm_size = 8,
  4747. mux44.lpm_width = 25,
  4748. mux44.lpm_widths = 3,
  4749. mux44.lpm_type = "lpm_mux";
  4750. fpoint_hw_qsys_div_single_qds_block_ls9 qds_block39
  4751. (
  4752. .aclr(aclr),
  4753. .clken(clken),
  4754. .clock(clock),
  4755. .decoder_bus(rom_add_w),
  4756. .decoder_output(wire_qds_block39_decoder_output));
  4757. assign
  4758. divider_1D_w = {padded_3_zeros_w, divider_in_w},
  4759. divider_2D_w = {padded_2_zeros_w, divider_in_w, 1'b0},
  4760. divider_dffe_1a_w = divider_dffe_1a,
  4761. divider_dffe_w = {1'b1, divider_dffe},
  4762. divider_in_w = divider,
  4763. divider_reg = divider_dffe_w,
  4764. neg_qk1d_int_w = neg_qk1d_dffe,
  4765. neg_qk2d_int_w = {neg_qk2d_dffe, 1'b0},
  4766. padded_2_zeros_w = {2{1'b0}},
  4767. padded_3_zeros_w = {3{1'b0}},
  4768. pos_qk0d_int_w = {Rk_adder_padded_dffe[22:0], padded_2_zeros_w},
  4769. pos_qk1d_int_w = pos_qk1d_dffe,
  4770. pos_qk2d_int_w = {pos_qk2d_dffe, 1'b0},
  4771. qkd_mux_input_w = {{2{pos_qk2d_int_w}}, pos_qk1d_int_w, pos_qk0d_int_w, {2{neg_qk2d_int_w}}, neg_qk1d_int_w, pos_qk0d_int_w},
  4772. qkd_mux_w = wire_mux44_result[24:0],
  4773. Rk_adder_padded_w = {Rk_dffe_1a_w, padded_2_zeros_w},
  4774. Rk_dffe_1a_w = Rk_in_w,
  4775. Rk_in_w = Rk,
  4776. Rk_next = Rk_next_dffe_w,
  4777. Rk_next_dffe_w = Rk_next_dffe,
  4778. rom = rom_out_dffe_w,
  4779. rom_add_w = {Rk_in_w[24:17], divider_in_w[22:19]},
  4780. rom_mux_w = rom_out_1a_w,
  4781. rom_out_1a_w = wire_qds_block39_decoder_output,
  4782. rom_out_dffe_w = rom_out_dffe;
  4783. endmodule //fpoint_hw_qsys_div_single_srt_block_int_84n
  4784. //srt_block_int CBX_AUTO_BLACKBOX="ON" CBX_SINGLE_OUTPUT_FILE="ON" DEVICE_FAMILY="STRATIXIV" OPTIMIZE="SPEED" POSITION="LAST" WIDTH_DIV=24 WIDTH_RK_IN=25 WIDTH_RK_OUT=27 WIDTH_ROM=3 WIDTH_ROM_ADD=12 aclr clken clock divider divider_reg Rk Rk_next rom
  4785. //VERSION_BEGIN 10.1 cbx_altbarrel_shift 2010:09:06:21:07:24:PN cbx_altfp_div 2010:09:06:21:07:24:PN cbx_altsyncram 2010:09:06:21:07:25:PN cbx_cycloneii 2010:09:06:21:07:25:PN cbx_lpm_abs 2010:09:06:21:07:25:PN cbx_lpm_add_sub 2010:09:06:21:07:25:PN cbx_lpm_compare 2010:09:06:21:07:25:PN cbx_lpm_decode 2010:09:06:21:07:25:PN cbx_lpm_divide 2010:09:06:21:07:25:PN cbx_lpm_mult 2010:09:06:21:07:25:PN cbx_lpm_mux 2010:09:06:21:07:25:PN cbx_mgl 2010:09:06:21:22:18:PN cbx_padd 2010:09:06:21:07:25:PN cbx_stratix 2010:09:06:21:07:25:PN cbx_stratixii 2010:09:06:21:07:25:PN cbx_stratixiii 2010:09:06:21:07:25:PN cbx_stratixv 2010:09:06:21:07:25:PN cbx_util_mgl 2010:09:06:21:07:25:PN VERSION_END
  4786. //synthesis_resources = lpm_add_sub 12 lpm_compare 4 lpm_mux 2 reg 159
  4787. //synopsys translate_off
  4788. `timescale 1 ps / 1 ps
  4789. //synopsys translate_on
  4790. module fpoint_hw_qsys_div_single_srt_block_int_fum
  4791. (
  4792. aclr,
  4793. clken,
  4794. clock,
  4795. divider,
  4796. divider_reg,
  4797. Rk,
  4798. Rk_next,
  4799. rom) /* synthesis synthesis_clearbox=1 */;
  4800. input aclr;
  4801. input clken;
  4802. input clock;
  4803. input [23:0] divider;
  4804. output [23:0] divider_reg;
  4805. input [24:0] Rk;
  4806. output [26:0] Rk_next;
  4807. output [2:0] rom;
  4808. `ifndef ALTERA_RESERVED_QIS
  4809. // synopsys translate_off
  4810. `endif
  4811. tri0 aclr;
  4812. tri1 clken;
  4813. tri0 clock;
  4814. `ifndef ALTERA_RESERVED_QIS
  4815. // synopsys translate_on
  4816. `endif
  4817. wire [26:0] wire_altfp_div_csa51_result;
  4818. wire [26:0] wire_altfp_div_csa52_result;
  4819. wire [26:0] wire_altfp_div_csa53_result;
  4820. wire [26:0] wire_altfp_div_csa54_result;
  4821. reg [22:0] divider_dffe_1a;
  4822. reg [26:0] neg_qk1d_dffe;
  4823. reg [26:0] neg_qk2d_dffe;
  4824. reg [26:0] pos_qk1d_dffe;
  4825. reg [26:0] pos_qk2d_dffe;
  4826. reg [24:0] Rk_adder_padded_dffe;
  4827. wire [26:0] wire_mux55_result;
  4828. wire [2:0] wire_qds_block50_decoder_output;
  4829. wire [26:0] divider_1D_w;
  4830. wire [26:0] divider_2D_w;
  4831. wire [22:0] divider_dffe_1a_w;
  4832. wire [23:0] divider_dffe_w;
  4833. wire [23:0] divider_in_w;
  4834. wire [26:0] neg_qk1d_int_w;
  4835. wire [26:0] neg_qk2d_int_w;
  4836. wire [1:0] padded_2_zeros_w;
  4837. wire [2:0] padded_3_zeros_w;
  4838. wire [26:0] pos_qk0d_int_w;
  4839. wire [26:0] pos_qk1d_int_w;
  4840. wire [26:0] pos_qk2d_int_w;
  4841. wire [215:0] qkd_mux_input_w;
  4842. wire [26:0] qkd_mux_w;
  4843. wire [26:0] Rk_adder_padded_w;
  4844. wire [24:0] Rk_dffe_1a_w;
  4845. wire [24:0] Rk_in_w;
  4846. wire [26:0] Rk_next_dffe_w;
  4847. wire [11:0] rom_add_w;
  4848. wire [2:0] rom_mux_w;
  4849. wire [2:0] rom_out_1a_w;
  4850. wire [2:0] rom_out_dffe_w;
  4851. fpoint_hw_qsys_div_single_altfp_div_csa_pke altfp_div_csa51
  4852. (
  4853. .dataa(Rk_adder_padded_w),
  4854. .datab(divider_1D_w),
  4855. .result(wire_altfp_div_csa51_result));
  4856. fpoint_hw_qsys_div_single_altfp_div_csa_pke altfp_div_csa52
  4857. (
  4858. .dataa(Rk_adder_padded_w),
  4859. .datab(divider_2D_w),
  4860. .result(wire_altfp_div_csa52_result));
  4861. fpoint_hw_qsys_div_single_altfp_div_csa_qle altfp_div_csa53
  4862. (
  4863. .dataa(Rk_adder_padded_w),
  4864. .datab(divider_1D_w),
  4865. .result(wire_altfp_div_csa53_result));
  4866. fpoint_hw_qsys_div_single_altfp_div_csa_qle altfp_div_csa54
  4867. (
  4868. .dataa(Rk_adder_padded_w),
  4869. .datab(divider_2D_w),
  4870. .result(wire_altfp_div_csa54_result));
  4871. // synopsys translate_off
  4872. initial
  4873. divider_dffe_1a = 0;
  4874. // synopsys translate_on
  4875. always @ ( posedge clock or posedge aclr)
  4876. if (aclr == 1'b1) divider_dffe_1a <= 23'b0;
  4877. else if (clken == 1'b1) divider_dffe_1a <= divider_in_w[22:0];
  4878. // synopsys translate_off
  4879. initial
  4880. neg_qk1d_dffe = 0;
  4881. // synopsys translate_on
  4882. always @ ( posedge clock or posedge aclr)
  4883. if (aclr == 1'b1) neg_qk1d_dffe <= 27'b0;
  4884. else if (clken == 1'b1) neg_qk1d_dffe <= wire_altfp_div_csa53_result[26:0];
  4885. // synopsys translate_off
  4886. initial
  4887. neg_qk2d_dffe = 0;
  4888. // synopsys translate_on
  4889. always @ ( posedge clock or posedge aclr)
  4890. if (aclr == 1'b1) neg_qk2d_dffe <= 27'b0;
  4891. else if (clken == 1'b1) neg_qk2d_dffe <= wire_altfp_div_csa54_result[26:0];
  4892. // synopsys translate_off
  4893. initial
  4894. pos_qk1d_dffe = 0;
  4895. // synopsys translate_on
  4896. always @ ( posedge clock or posedge aclr)
  4897. if (aclr == 1'b1) pos_qk1d_dffe <= 27'b0;
  4898. else if (clken == 1'b1) pos_qk1d_dffe <= wire_altfp_div_csa51_result[26:0];
  4899. // synopsys translate_off
  4900. initial
  4901. pos_qk2d_dffe = 0;
  4902. // synopsys translate_on
  4903. always @ ( posedge clock or posedge aclr)
  4904. if (aclr == 1'b1) pos_qk2d_dffe <= 27'b0;
  4905. else if (clken == 1'b1) pos_qk2d_dffe <= wire_altfp_div_csa52_result[26:0];
  4906. // synopsys translate_off
  4907. initial
  4908. Rk_adder_padded_dffe = 0;
  4909. // synopsys translate_on
  4910. always @ ( posedge clock or posedge aclr)
  4911. if (aclr == 1'b1) Rk_adder_padded_dffe <= 25'b0;
  4912. else if (clken == 1'b1) Rk_adder_padded_dffe <= Rk_adder_padded_w[26:2];
  4913. lpm_mux mux55
  4914. (
  4915. .data(qkd_mux_input_w),
  4916. .result(wire_mux55_result),
  4917. .sel(rom_mux_w)
  4918. `ifndef FORMAL_VERIFICATION
  4919. // synopsys translate_off
  4920. `endif
  4921. ,
  4922. .aclr(1'b0),
  4923. .clken(1'b1),
  4924. .clock(1'b0)
  4925. `ifndef FORMAL_VERIFICATION
  4926. // synopsys translate_on
  4927. `endif
  4928. );
  4929. defparam
  4930. mux55.lpm_size = 8,
  4931. mux55.lpm_width = 27,
  4932. mux55.lpm_widths = 3,
  4933. mux55.lpm_type = "lpm_mux";
  4934. fpoint_hw_qsys_div_single_qds_block_ls9 qds_block50
  4935. (
  4936. .aclr(aclr),
  4937. .clken(clken),
  4938. .clock(clock),
  4939. .decoder_bus(rom_add_w),
  4940. .decoder_output(wire_qds_block50_decoder_output));
  4941. assign
  4942. divider_1D_w = {padded_3_zeros_w, divider_in_w},
  4943. divider_2D_w = {padded_2_zeros_w, divider_in_w, 1'b0},
  4944. divider_dffe_1a_w = divider_dffe_1a,
  4945. divider_dffe_w = {1'b1, divider_dffe_1a_w},
  4946. divider_in_w = divider,
  4947. divider_reg = divider_dffe_w,
  4948. neg_qk1d_int_w = neg_qk1d_dffe,
  4949. neg_qk2d_int_w = neg_qk2d_dffe,
  4950. padded_2_zeros_w = {2{1'b0}},
  4951. padded_3_zeros_w = {3{1'b0}},
  4952. pos_qk0d_int_w = {Rk_adder_padded_dffe[24:0], padded_2_zeros_w},
  4953. pos_qk1d_int_w = pos_qk1d_dffe,
  4954. pos_qk2d_int_w = pos_qk2d_dffe,
  4955. qkd_mux_input_w = {{2{pos_qk2d_int_w}}, pos_qk1d_int_w, pos_qk0d_int_w, {2{neg_qk2d_int_w}}, neg_qk1d_int_w, pos_qk0d_int_w},
  4956. qkd_mux_w = wire_mux55_result[26:0],
  4957. Rk_adder_padded_w = {Rk_dffe_1a_w, padded_2_zeros_w},
  4958. Rk_dffe_1a_w = Rk_in_w,
  4959. Rk_in_w = Rk,
  4960. Rk_next = Rk_next_dffe_w,
  4961. Rk_next_dffe_w = qkd_mux_w,
  4962. rom = rom_out_dffe_w,
  4963. rom_add_w = {Rk_in_w[24:17], divider_in_w[22:19]},
  4964. rom_mux_w = rom_out_1a_w,
  4965. rom_out_1a_w = wire_qds_block50_decoder_output,
  4966. rom_out_dffe_w = rom_out_1a_w;
  4967. endmodule //fpoint_hw_qsys_div_single_srt_block_int_fum
  4968. //synthesis_resources = lpm_add_sub 177 lpm_compare 56 lpm_mux 28 reg 3289
  4969. //synopsys translate_off
  4970. `timescale 1 ps / 1 ps
  4971. //synopsys translate_on
  4972. module fpoint_hw_qsys_div_single_altfp_div_srt_ext_5mh
  4973. (
  4974. aclr,
  4975. clken,
  4976. clock,
  4977. denom,
  4978. divider,
  4979. numer,
  4980. quotient,
  4981. remain) /* synthesis synthesis_clearbox=1 */;
  4982. input aclr;
  4983. input clken;
  4984. input clock;
  4985. input [23:0] denom;
  4986. output [23:0] divider;
  4987. input [23:0] numer;
  4988. output [27:0] quotient;
  4989. output [23:0] remain;
  4990. `ifndef ALTERA_RESERVED_QIS
  4991. // synopsys translate_off
  4992. `endif
  4993. tri0 aclr;
  4994. tri1 clken;
  4995. tri0 clock;
  4996. `ifndef ALTERA_RESERVED_QIS
  4997. // synopsys translate_on
  4998. `endif
  4999. wire [23:0] wire_altfp_div_csa25_result;
  5000. wire [27:0] wire_altfp_div_csa26_result;
  5001. wire [27:0] wire_altfp_div_csa27_result;
  5002. reg [23:0] divider_next_special_dffe;
  5003. reg [26:0] Rk_remainder_special_dffe;
  5004. reg [49:0] rom_reg_dffe0c;
  5005. reg [14:0] rom_reg_dffe10c;
  5006. reg [8:0] rom_reg_dffe11c;
  5007. reg [2:0] rom_reg_dffe12c;
  5008. reg [68:0] rom_reg_dffe1c;
  5009. reg [62:0] rom_reg_dffe2c;
  5010. reg [56:0] rom_reg_dffe3c;
  5011. reg [50:0] rom_reg_dffe4c;
  5012. reg [44:0] rom_reg_dffe5c;
  5013. reg [38:0] rom_reg_dffe6c;
  5014. reg [32:0] rom_reg_dffe7c;
  5015. reg [26:0] rom_reg_dffe8c;
  5016. reg [20:0] rom_reg_dffe9c;
  5017. wire [23:0] wire_srt_block_int11_divider_reg;
  5018. wire [24:0] wire_srt_block_int11_Rk_next;
  5019. wire [2:0] wire_srt_block_int11_rom;
  5020. wire [23:0] wire_srt_block_int12_divider_reg;
  5021. wire [24:0] wire_srt_block_int12_Rk_next;
  5022. wire [2:0] wire_srt_block_int12_rom;
  5023. wire [23:0] wire_srt_block_int13_divider_reg;
  5024. wire [24:0] wire_srt_block_int13_Rk_next;
  5025. wire [2:0] wire_srt_block_int13_rom;
  5026. wire [23:0] wire_srt_block_int14_divider_reg;
  5027. wire [24:0] wire_srt_block_int14_Rk_next;
  5028. wire [2:0] wire_srt_block_int14_rom;
  5029. wire [23:0] wire_srt_block_int15_divider_reg;
  5030. wire [24:0] wire_srt_block_int15_Rk_next;
  5031. wire [2:0] wire_srt_block_int15_rom;
  5032. wire [23:0] wire_srt_block_int16_divider_reg;
  5033. wire [24:0] wire_srt_block_int16_Rk_next;
  5034. wire [2:0] wire_srt_block_int16_rom;
  5035. wire [23:0] wire_srt_block_int17_divider_reg;
  5036. wire [24:0] wire_srt_block_int17_Rk_next;
  5037. wire [2:0] wire_srt_block_int17_rom;
  5038. wire [23:0] wire_srt_block_int18_divider_reg;
  5039. wire [24:0] wire_srt_block_int18_Rk_next;
  5040. wire [2:0] wire_srt_block_int18_rom;
  5041. wire [23:0] wire_srt_block_int19_divider_reg;
  5042. wire [24:0] wire_srt_block_int19_Rk_next;
  5043. wire [2:0] wire_srt_block_int19_rom;
  5044. wire [23:0] wire_srt_block_int20_divider_reg;
  5045. wire [24:0] wire_srt_block_int20_Rk_next;
  5046. wire [2:0] wire_srt_block_int20_rom;
  5047. wire [23:0] wire_srt_block_int21_divider_reg;
  5048. wire [24:0] wire_srt_block_int21_Rk_next;
  5049. wire [2:0] wire_srt_block_int21_rom;
  5050. wire [23:0] wire_srt_block_int22_divider_reg;
  5051. wire [24:0] wire_srt_block_int22_Rk_next;
  5052. wire [2:0] wire_srt_block_int22_rom;
  5053. wire [23:0] wire_srt_block_int23_divider_reg;
  5054. wire [24:0] wire_srt_block_int23_Rk_next;
  5055. wire [2:0] wire_srt_block_int23_rom;
  5056. wire [23:0] wire_srt_block_int24_divider_reg;
  5057. wire [26:0] wire_srt_block_int24_Rk_next;
  5058. wire [2:0] wire_srt_block_int24_rom;
  5059. wire [23:0] added_remainder_w;
  5060. wire [23:0] divider_dffe_w;
  5061. wire [23:0] divider_next_special_w;
  5062. wire [23:0] divider_next_w0c;
  5063. wire [23:0] divider_next_w10c;
  5064. wire [23:0] divider_next_w11c;
  5065. wire [23:0] divider_next_w12c;
  5066. wire [23:0] divider_next_w13c;
  5067. wire [23:0] divider_next_w1c;
  5068. wire [23:0] divider_next_w2c;
  5069. wire [23:0] divider_next_w3c;
  5070. wire [23:0] divider_next_w4c;
  5071. wire [23:0] divider_next_w5c;
  5072. wire [23:0] divider_next_w6c;
  5073. wire [23:0] divider_next_w7c;
  5074. wire [23:0] divider_next_w8c;
  5075. wire [23:0] divider_next_w9c;
  5076. wire [23:0] divider_w;
  5077. wire [27:0] full_neg_rom_w;
  5078. wire [27:0] full_pos_rom_w;
  5079. wire mux_remainder_w;
  5080. wire [1:0] neg_rom_w0c;
  5081. wire [1:0] neg_rom_w10c;
  5082. wire [1:0] neg_rom_w11c;
  5083. wire [1:0] neg_rom_w12c;
  5084. wire [1:0] neg_rom_w13c;
  5085. wire [1:0] neg_rom_w1c;
  5086. wire [1:0] neg_rom_w2c;
  5087. wire [1:0] neg_rom_w3c;
  5088. wire [1:0] neg_rom_w4c;
  5089. wire [1:0] neg_rom_w5c;
  5090. wire [1:0] neg_rom_w6c;
  5091. wire [1:0] neg_rom_w7c;
  5092. wire [1:0] neg_rom_w8c;
  5093. wire [1:0] neg_rom_w9c;
  5094. wire [1:0] pos_rom_w0c;
  5095. wire [1:0] pos_rom_w10c;
  5096. wire [1:0] pos_rom_w11c;
  5097. wire [1:0] pos_rom_w12c;
  5098. wire [1:0] pos_rom_w13c;
  5099. wire [1:0] pos_rom_w1c;
  5100. wire [1:0] pos_rom_w2c;
  5101. wire [1:0] pos_rom_w3c;
  5102. wire [1:0] pos_rom_w4c;
  5103. wire [1:0] pos_rom_w5c;
  5104. wire [1:0] pos_rom_w6c;
  5105. wire [1:0] pos_rom_w7c;
  5106. wire [1:0] pos_rom_w8c;
  5107. wire [1:0] pos_rom_w9c;
  5108. wire [24:0] Rk_next0_w;
  5109. wire [24:0] Rk_next_w0c;
  5110. wire [24:0] Rk_next_w10c;
  5111. wire [24:0] Rk_next_w11c;
  5112. wire [24:0] Rk_next_w12c;
  5113. wire [26:0] Rk_next_w13c;
  5114. wire [24:0] Rk_next_w1c;
  5115. wire [24:0] Rk_next_w2c;
  5116. wire [24:0] Rk_next_w3c;
  5117. wire [24:0] Rk_next_w4c;
  5118. wire [24:0] Rk_next_w5c;
  5119. wire [24:0] Rk_next_w6c;
  5120. wire [24:0] Rk_next_w7c;
  5121. wire [24:0] Rk_next_w8c;
  5122. wire [24:0] Rk_next_w9c;
  5123. wire [26:0] Rk_remainder_special_w;
  5124. wire [23:0] Rk_remainder_w;
  5125. wire [23:0] Rk_w;
  5126. wire [2:0] rom_dffe_w0c;
  5127. wire [2:0] rom_dffe_w10c;
  5128. wire [2:0] rom_dffe_w11c;
  5129. wire [2:0] rom_dffe_w12c;
  5130. wire [2:0] rom_dffe_w13c;
  5131. wire [2:0] rom_dffe_w1c;
  5132. wire [2:0] rom_dffe_w2c;
  5133. wire [2:0] rom_dffe_w3c;
  5134. wire [2:0] rom_dffe_w4c;
  5135. wire [2:0] rom_dffe_w5c;
  5136. wire [2:0] rom_dffe_w6c;
  5137. wire [2:0] rom_dffe_w7c;
  5138. wire [2:0] rom_dffe_w8c;
  5139. wire [2:0] rom_dffe_w9c;
  5140. wire [13:0] rom_mux_w;
  5141. wire [2:0] rom_out_1a_w;
  5142. wire [2:0] rom_out_w0c;
  5143. wire [2:0] rom_out_w10c;
  5144. wire [2:0] rom_out_w11c;
  5145. wire [2:0] rom_out_w12c;
  5146. wire [2:0] rom_out_w13c;
  5147. wire [2:0] rom_out_w1c;
  5148. wire [2:0] rom_out_w2c;
  5149. wire [2:0] rom_out_w3c;
  5150. wire [2:0] rom_out_w4c;
  5151. wire [2:0] rom_out_w5c;
  5152. wire [2:0] rom_out_w6c;
  5153. wire [2:0] rom_out_w7c;
  5154. wire [2:0] rom_out_w8c;
  5155. wire [2:0] rom_out_w9c;
  5156. wire [27:0] srt_adjust_w;
  5157. wire [27:0] srt_adjusted_w;
  5158. wire [27:0] true_quotient_w;
  5159. wire [27:0] value_one_w;
  5160. wire [1:0] zero_quotient_w;
  5161. fpoint_hw_qsys_div_single_altfp_div_csa_mke altfp_div_csa25
  5162. (
  5163. .dataa(Rk_remainder_special_w[23:0]),
  5164. .datab(divider_next_special_w),
  5165. .result(wire_altfp_div_csa25_result));
  5166. fpoint_hw_qsys_div_single_altfp_div_csa_2jh altfp_div_csa26
  5167. (
  5168. .aclr(aclr),
  5169. .clken(clken),
  5170. .clock(clock),
  5171. .dataa(full_pos_rom_w),
  5172. .datab(full_neg_rom_w),
  5173. .result(wire_altfp_div_csa26_result));
  5174. fpoint_hw_qsys_div_single_altfp_div_csa_rle altfp_div_csa27
  5175. (
  5176. .dataa(srt_adjust_w),
  5177. .datab(value_one_w),
  5178. .result(wire_altfp_div_csa27_result));
  5179. // synopsys translate_off
  5180. initial
  5181. divider_next_special_dffe = 0;
  5182. // synopsys translate_on
  5183. always @ ( posedge clock or posedge aclr)
  5184. if (aclr == 1'b1) divider_next_special_dffe <= 24'b0;
  5185. else if (clken == 1'b1) divider_next_special_dffe <= divider_next_w13c;
  5186. // synopsys translate_off
  5187. initial
  5188. Rk_remainder_special_dffe = 0;
  5189. // synopsys translate_on
  5190. always @ ( posedge clock or posedge aclr)
  5191. if (aclr == 1'b1) Rk_remainder_special_dffe <= 27'b0;
  5192. else if (clken == 1'b1) Rk_remainder_special_dffe <= Rk_next_w13c;
  5193. // synopsys translate_off
  5194. initial
  5195. rom_reg_dffe0c = 0;
  5196. // synopsys translate_on
  5197. always @ ( posedge clock or posedge aclr)
  5198. if (aclr == 1'b1) rom_reg_dffe0c <= 50'b0;
  5199. else if (clken == 1'b1) rom_reg_dffe0c <= {rom_reg_dffe0c[47:0], rom_out_w0c[1:0]};
  5200. // synopsys translate_off
  5201. initial
  5202. rom_reg_dffe10c = 0;
  5203. // synopsys translate_on
  5204. always @ ( posedge clock or posedge aclr)
  5205. if (aclr == 1'b1) rom_reg_dffe10c <= 15'b0;
  5206. else if (clken == 1'b1) rom_reg_dffe10c <= {rom_reg_dffe10c[11:0], rom_out_w10c};
  5207. // synopsys translate_off
  5208. initial
  5209. rom_reg_dffe11c = 0;
  5210. // synopsys translate_on
  5211. always @ ( posedge clock or posedge aclr)
  5212. if (aclr == 1'b1) rom_reg_dffe11c <= 9'b0;
  5213. else if (clken == 1'b1) rom_reg_dffe11c <= {rom_reg_dffe11c[5:0], rom_out_w11c};
  5214. // synopsys translate_off
  5215. initial
  5216. rom_reg_dffe12c = 0;
  5217. // synopsys translate_on
  5218. always @ ( posedge clock or posedge aclr)
  5219. if (aclr == 1'b1) rom_reg_dffe12c <= 3'b0;
  5220. else if (clken == 1'b1) rom_reg_dffe12c <= {rom_out_w12c};
  5221. // synopsys translate_off
  5222. initial
  5223. rom_reg_dffe1c = 0;
  5224. // synopsys translate_on
  5225. always @ ( posedge clock or posedge aclr)
  5226. if (aclr == 1'b1) rom_reg_dffe1c <= 69'b0;
  5227. else if (clken == 1'b1) rom_reg_dffe1c <= {rom_reg_dffe1c[65:0], rom_out_w1c};
  5228. // synopsys translate_off
  5229. initial
  5230. rom_reg_dffe2c = 0;
  5231. // synopsys translate_on
  5232. always @ ( posedge clock or posedge aclr)
  5233. if (aclr == 1'b1) rom_reg_dffe2c <= 63'b0;
  5234. else if (clken == 1'b1) rom_reg_dffe2c <= {rom_reg_dffe2c[59:0], rom_out_w2c};
  5235. // synopsys translate_off
  5236. initial
  5237. rom_reg_dffe3c = 0;
  5238. // synopsys translate_on
  5239. always @ ( posedge clock or posedge aclr)
  5240. if (aclr == 1'b1) rom_reg_dffe3c <= 57'b0;
  5241. else if (clken == 1'b1) rom_reg_dffe3c <= {rom_reg_dffe3c[53:0], rom_out_w3c};
  5242. // synopsys translate_off
  5243. initial
  5244. rom_reg_dffe4c = 0;
  5245. // synopsys translate_on
  5246. always @ ( posedge clock or posedge aclr)
  5247. if (aclr == 1'b1) rom_reg_dffe4c <= 51'b0;
  5248. else if (clken == 1'b1) rom_reg_dffe4c <= {rom_reg_dffe4c[47:0], rom_out_w4c};
  5249. // synopsys translate_off
  5250. initial
  5251. rom_reg_dffe5c = 0;
  5252. // synopsys translate_on
  5253. always @ ( posedge clock or posedge aclr)
  5254. if (aclr == 1'b1) rom_reg_dffe5c <= 45'b0;
  5255. else if (clken == 1'b1) rom_reg_dffe5c <= {rom_reg_dffe5c[41:0], rom_out_w5c};
  5256. // synopsys translate_off
  5257. initial
  5258. rom_reg_dffe6c = 0;
  5259. // synopsys translate_on
  5260. always @ ( posedge clock or posedge aclr)
  5261. if (aclr == 1'b1) rom_reg_dffe6c <= 39'b0;
  5262. else if (clken == 1'b1) rom_reg_dffe6c <= {rom_reg_dffe6c[35:0], rom_out_w6c};
  5263. // synopsys translate_off
  5264. initial
  5265. rom_reg_dffe7c = 0;
  5266. // synopsys translate_on
  5267. always @ ( posedge clock or posedge aclr)
  5268. if (aclr == 1'b1) rom_reg_dffe7c <= 33'b0;
  5269. else if (clken == 1'b1) rom_reg_dffe7c <= {rom_reg_dffe7c[29:0], rom_out_w7c};
  5270. // synopsys translate_off
  5271. initial
  5272. rom_reg_dffe8c = 0;
  5273. // synopsys translate_on
  5274. always @ ( posedge clock or posedge aclr)
  5275. if (aclr == 1'b1) rom_reg_dffe8c <= 27'b0;
  5276. else if (clken == 1'b1) rom_reg_dffe8c <= {rom_reg_dffe8c[23:0], rom_out_w8c};
  5277. // synopsys translate_off
  5278. initial
  5279. rom_reg_dffe9c = 0;
  5280. // synopsys translate_on
  5281. always @ ( posedge clock or posedge aclr)
  5282. if (aclr == 1'b1) rom_reg_dffe9c <= 21'b0;
  5283. else if (clken == 1'b1) rom_reg_dffe9c <= {rom_reg_dffe9c[17:0], rom_out_w9c};
  5284. fpoint_hw_qsys_div_single_srt_block_int_02n srt_block_int11
  5285. (
  5286. .aclr(aclr),
  5287. .clken(clken),
  5288. .clock(clock),
  5289. .divider(divider_w),
  5290. .divider_reg(wire_srt_block_int11_divider_reg),
  5291. .Rk(Rk_w),
  5292. .Rk_next(wire_srt_block_int11_Rk_next),
  5293. .rom(wire_srt_block_int11_rom));
  5294. fpoint_hw_qsys_div_single_srt_block_int_84n srt_block_int12
  5295. (
  5296. .aclr(aclr),
  5297. .clken(clken),
  5298. .clock(clock),
  5299. .divider(divider_next_w0c),
  5300. .divider_reg(wire_srt_block_int12_divider_reg),
  5301. .Rk(Rk_next_w0c),
  5302. .Rk_next(wire_srt_block_int12_Rk_next),
  5303. .rom(wire_srt_block_int12_rom));
  5304. fpoint_hw_qsys_div_single_srt_block_int_84n srt_block_int13
  5305. (
  5306. .aclr(aclr),
  5307. .clken(clken),
  5308. .clock(clock),
  5309. .divider(divider_next_w1c),
  5310. .divider_reg(wire_srt_block_int13_divider_reg),
  5311. .Rk(Rk_next_w1c),
  5312. .Rk_next(wire_srt_block_int13_Rk_next),
  5313. .rom(wire_srt_block_int13_rom));
  5314. fpoint_hw_qsys_div_single_srt_block_int_84n srt_block_int14
  5315. (
  5316. .aclr(aclr),
  5317. .clken(clken),
  5318. .clock(clock),
  5319. .divider(divider_next_w2c),
  5320. .divider_reg(wire_srt_block_int14_divider_reg),
  5321. .Rk(Rk_next_w2c),
  5322. .Rk_next(wire_srt_block_int14_Rk_next),
  5323. .rom(wire_srt_block_int14_rom));
  5324. fpoint_hw_qsys_div_single_srt_block_int_84n srt_block_int15
  5325. (
  5326. .aclr(aclr),
  5327. .clken(clken),
  5328. .clock(clock),
  5329. .divider(divider_next_w3c),
  5330. .divider_reg(wire_srt_block_int15_divider_reg),
  5331. .Rk(Rk_next_w3c),
  5332. .Rk_next(wire_srt_block_int15_Rk_next),
  5333. .rom(wire_srt_block_int15_rom));
  5334. fpoint_hw_qsys_div_single_srt_block_int_84n srt_block_int16
  5335. (
  5336. .aclr(aclr),
  5337. .clken(clken),
  5338. .clock(clock),
  5339. .divider(divider_next_w4c),
  5340. .divider_reg(wire_srt_block_int16_divider_reg),
  5341. .Rk(Rk_next_w4c),
  5342. .Rk_next(wire_srt_block_int16_Rk_next),
  5343. .rom(wire_srt_block_int16_rom));
  5344. fpoint_hw_qsys_div_single_srt_block_int_84n srt_block_int17
  5345. (
  5346. .aclr(aclr),
  5347. .clken(clken),
  5348. .clock(clock),
  5349. .divider(divider_next_w5c),
  5350. .divider_reg(wire_srt_block_int17_divider_reg),
  5351. .Rk(Rk_next_w5c),
  5352. .Rk_next(wire_srt_block_int17_Rk_next),
  5353. .rom(wire_srt_block_int17_rom));
  5354. fpoint_hw_qsys_div_single_srt_block_int_84n srt_block_int18
  5355. (
  5356. .aclr(aclr),
  5357. .clken(clken),
  5358. .clock(clock),
  5359. .divider(divider_next_w6c),
  5360. .divider_reg(wire_srt_block_int18_divider_reg),
  5361. .Rk(Rk_next_w6c),
  5362. .Rk_next(wire_srt_block_int18_Rk_next),
  5363. .rom(wire_srt_block_int18_rom));
  5364. fpoint_hw_qsys_div_single_srt_block_int_84n srt_block_int19
  5365. (
  5366. .aclr(aclr),
  5367. .clken(clken),
  5368. .clock(clock),
  5369. .divider(divider_next_w7c),
  5370. .divider_reg(wire_srt_block_int19_divider_reg),
  5371. .Rk(Rk_next_w7c),
  5372. .Rk_next(wire_srt_block_int19_Rk_next),
  5373. .rom(wire_srt_block_int19_rom));
  5374. fpoint_hw_qsys_div_single_srt_block_int_84n srt_block_int20
  5375. (
  5376. .aclr(aclr),
  5377. .clken(clken),
  5378. .clock(clock),
  5379. .divider(divider_next_w8c),
  5380. .divider_reg(wire_srt_block_int20_divider_reg),
  5381. .Rk(Rk_next_w8c),
  5382. .Rk_next(wire_srt_block_int20_Rk_next),
  5383. .rom(wire_srt_block_int20_rom));
  5384. fpoint_hw_qsys_div_single_srt_block_int_84n srt_block_int21
  5385. (
  5386. .aclr(aclr),
  5387. .clken(clken),
  5388. .clock(clock),
  5389. .divider(divider_next_w9c),
  5390. .divider_reg(wire_srt_block_int21_divider_reg),
  5391. .Rk(Rk_next_w9c),
  5392. .Rk_next(wire_srt_block_int21_Rk_next),
  5393. .rom(wire_srt_block_int21_rom));
  5394. fpoint_hw_qsys_div_single_srt_block_int_84n srt_block_int22
  5395. (
  5396. .aclr(aclr),
  5397. .clken(clken),
  5398. .clock(clock),
  5399. .divider(divider_next_w10c),
  5400. .divider_reg(wire_srt_block_int22_divider_reg),
  5401. .Rk(Rk_next_w10c),
  5402. .Rk_next(wire_srt_block_int22_Rk_next),
  5403. .rom(wire_srt_block_int22_rom));
  5404. fpoint_hw_qsys_div_single_srt_block_int_84n srt_block_int23
  5405. (
  5406. .aclr(aclr),
  5407. .clken(clken),
  5408. .clock(clock),
  5409. .divider(divider_next_w11c),
  5410. .divider_reg(wire_srt_block_int23_divider_reg),
  5411. .Rk(Rk_next_w11c),
  5412. .Rk_next(wire_srt_block_int23_Rk_next),
  5413. .rom(wire_srt_block_int23_rom));
  5414. fpoint_hw_qsys_div_single_srt_block_int_fum srt_block_int24
  5415. (
  5416. .aclr(aclr),
  5417. .clken(clken),
  5418. .clock(clock),
  5419. .divider(divider_next_w12c),
  5420. .divider_reg(wire_srt_block_int24_divider_reg),
  5421. .Rk(Rk_next_w12c),
  5422. .Rk_next(wire_srt_block_int24_Rk_next),
  5423. .rom(wire_srt_block_int24_rom));
  5424. assign
  5425. added_remainder_w = wire_altfp_div_csa25_result,
  5426. divider = divider_next_special_w,
  5427. divider_dffe_w = wire_srt_block_int11_divider_reg,
  5428. divider_next_special_w = divider_next_special_dffe,
  5429. divider_next_w0c = divider_dffe_w,
  5430. divider_next_w10c = wire_srt_block_int21_divider_reg,
  5431. divider_next_w11c = wire_srt_block_int22_divider_reg,
  5432. divider_next_w12c = wire_srt_block_int23_divider_reg,
  5433. divider_next_w13c = wire_srt_block_int24_divider_reg,
  5434. divider_next_w1c = wire_srt_block_int12_divider_reg,
  5435. divider_next_w2c = wire_srt_block_int13_divider_reg,
  5436. divider_next_w3c = wire_srt_block_int14_divider_reg,
  5437. divider_next_w4c = wire_srt_block_int15_divider_reg,
  5438. divider_next_w5c = wire_srt_block_int16_divider_reg,
  5439. divider_next_w6c = wire_srt_block_int17_divider_reg,
  5440. divider_next_w7c = wire_srt_block_int18_divider_reg,
  5441. divider_next_w8c = wire_srt_block_int19_divider_reg,
  5442. divider_next_w9c = wire_srt_block_int20_divider_reg,
  5443. divider_w = denom,
  5444. full_neg_rom_w = {neg_rom_w0c, neg_rom_w1c, neg_rom_w2c, neg_rom_w3c, neg_rom_w4c, neg_rom_w5c, neg_rom_w6c, neg_rom_w7c, neg_rom_w8c, neg_rom_w9c, neg_rom_w10c, neg_rom_w11c, neg_rom_w12c, neg_rom_w13c},
  5445. full_pos_rom_w = {pos_rom_w0c, pos_rom_w1c, pos_rom_w2c, pos_rom_w3c, pos_rom_w4c, pos_rom_w5c, pos_rom_w6c, pos_rom_w7c, pos_rom_w8c, pos_rom_w9c, pos_rom_w10c, pos_rom_w11c, pos_rom_w12c, pos_rom_w13c},
  5446. mux_remainder_w = ((Rk_remainder_special_w[26] | Rk_remainder_special_w[25]) | Rk_remainder_special_w[24]),
  5447. neg_rom_w0c = (({2{(~ rom_mux_w[0])}} & zero_quotient_w) | ({2{rom_mux_w[0]}} & rom_dffe_w0c[1:0])),
  5448. neg_rom_w10c = (({2{(~ rom_mux_w[10])}} & zero_quotient_w) | ({2{rom_mux_w[10]}} & rom_dffe_w10c[1:0])),
  5449. neg_rom_w11c = (({2{(~ rom_mux_w[11])}} & zero_quotient_w) | ({2{rom_mux_w[11]}} & rom_dffe_w11c[1:0])),
  5450. neg_rom_w12c = (({2{(~ rom_mux_w[12])}} & zero_quotient_w) | ({2{rom_mux_w[12]}} & rom_dffe_w12c[1:0])),
  5451. neg_rom_w13c = (({2{(~ rom_mux_w[13])}} & zero_quotient_w) | ({2{rom_mux_w[13]}} & rom_dffe_w13c[1:0])),
  5452. neg_rom_w1c = (({2{(~ rom_mux_w[1])}} & zero_quotient_w) | ({2{rom_mux_w[1]}} & rom_dffe_w1c[1:0])),
  5453. neg_rom_w2c = (({2{(~ rom_mux_w[2])}} & zero_quotient_w) | ({2{rom_mux_w[2]}} & rom_dffe_w2c[1:0])),
  5454. neg_rom_w3c = (({2{(~ rom_mux_w[3])}} & zero_quotient_w) | ({2{rom_mux_w[3]}} & rom_dffe_w3c[1:0])),
  5455. neg_rom_w4c = (({2{(~ rom_mux_w[4])}} & zero_quotient_w) | ({2{rom_mux_w[4]}} & rom_dffe_w4c[1:0])),
  5456. neg_rom_w5c = (({2{(~ rom_mux_w[5])}} & zero_quotient_w) | ({2{rom_mux_w[5]}} & rom_dffe_w5c[1:0])),
  5457. neg_rom_w6c = (({2{(~ rom_mux_w[6])}} & zero_quotient_w) | ({2{rom_mux_w[6]}} & rom_dffe_w6c[1:0])),
  5458. neg_rom_w7c = (({2{(~ rom_mux_w[7])}} & zero_quotient_w) | ({2{rom_mux_w[7]}} & rom_dffe_w7c[1:0])),
  5459. neg_rom_w8c = (({2{(~ rom_mux_w[8])}} & zero_quotient_w) | ({2{rom_mux_w[8]}} & rom_dffe_w8c[1:0])),
  5460. neg_rom_w9c = (({2{(~ rom_mux_w[9])}} & zero_quotient_w) | ({2{rom_mux_w[9]}} & rom_dffe_w9c[1:0])),
  5461. pos_rom_w0c = (({2{rom_mux_w[0]}} & zero_quotient_w) | ({2{(~ rom_mux_w[0])}} & rom_dffe_w0c[1:0])),
  5462. pos_rom_w10c = (({2{rom_mux_w[10]}} & zero_quotient_w) | ({2{(~ rom_mux_w[10])}} & rom_dffe_w10c[1:0])),
  5463. pos_rom_w11c = (({2{rom_mux_w[11]}} & zero_quotient_w) | ({2{(~ rom_mux_w[11])}} & rom_dffe_w11c[1:0])),
  5464. pos_rom_w12c = (({2{rom_mux_w[12]}} & zero_quotient_w) | ({2{(~ rom_mux_w[12])}} & rom_dffe_w12c[1:0])),
  5465. pos_rom_w13c = (({2{rom_mux_w[13]}} & zero_quotient_w) | ({2{(~ rom_mux_w[13])}} & rom_dffe_w13c[1:0])),
  5466. pos_rom_w1c = (({2{rom_mux_w[1]}} & zero_quotient_w) | ({2{(~ rom_mux_w[1])}} & rom_dffe_w1c[1:0])),
  5467. pos_rom_w2c = (({2{rom_mux_w[2]}} & zero_quotient_w) | ({2{(~ rom_mux_w[2])}} & rom_dffe_w2c[1:0])),
  5468. pos_rom_w3c = (({2{rom_mux_w[3]}} & zero_quotient_w) | ({2{(~ rom_mux_w[3])}} & rom_dffe_w3c[1:0])),
  5469. pos_rom_w4c = (({2{rom_mux_w[4]}} & zero_quotient_w) | ({2{(~ rom_mux_w[4])}} & rom_dffe_w4c[1:0])),
  5470. pos_rom_w5c = (({2{rom_mux_w[5]}} & zero_quotient_w) | ({2{(~ rom_mux_w[5])}} & rom_dffe_w5c[1:0])),
  5471. pos_rom_w6c = (({2{rom_mux_w[6]}} & zero_quotient_w) | ({2{(~ rom_mux_w[6])}} & rom_dffe_w6c[1:0])),
  5472. pos_rom_w7c = (({2{rom_mux_w[7]}} & zero_quotient_w) | ({2{(~ rom_mux_w[7])}} & rom_dffe_w7c[1:0])),
  5473. pos_rom_w8c = (({2{rom_mux_w[8]}} & zero_quotient_w) | ({2{(~ rom_mux_w[8])}} & rom_dffe_w8c[1:0])),
  5474. pos_rom_w9c = (({2{rom_mux_w[9]}} & zero_quotient_w) | ({2{(~ rom_mux_w[9])}} & rom_dffe_w9c[1:0])),
  5475. quotient = true_quotient_w,
  5476. remain = Rk_remainder_w,
  5477. Rk_next0_w = wire_srt_block_int11_Rk_next,
  5478. Rk_next_w0c = Rk_next0_w,
  5479. Rk_next_w10c = wire_srt_block_int21_Rk_next,
  5480. Rk_next_w11c = wire_srt_block_int22_Rk_next,
  5481. Rk_next_w12c = wire_srt_block_int23_Rk_next,
  5482. Rk_next_w13c = wire_srt_block_int24_Rk_next,
  5483. Rk_next_w1c = wire_srt_block_int12_Rk_next,
  5484. Rk_next_w2c = wire_srt_block_int13_Rk_next,
  5485. Rk_next_w3c = wire_srt_block_int14_Rk_next,
  5486. Rk_next_w4c = wire_srt_block_int15_Rk_next,
  5487. Rk_next_w5c = wire_srt_block_int16_Rk_next,
  5488. Rk_next_w6c = wire_srt_block_int17_Rk_next,
  5489. Rk_next_w7c = wire_srt_block_int18_Rk_next,
  5490. Rk_next_w8c = wire_srt_block_int19_Rk_next,
  5491. Rk_next_w9c = wire_srt_block_int20_Rk_next,
  5492. Rk_remainder_special_w = Rk_remainder_special_dffe,
  5493. Rk_remainder_w = (({24{(~ mux_remainder_w)}} & Rk_remainder_special_w[23:0]) | ({24{mux_remainder_w}} & added_remainder_w)),
  5494. Rk_w = numer,
  5495. rom_dffe_w0c = {1'b0, rom_reg_dffe0c[49:48]},
  5496. rom_dffe_w10c = rom_reg_dffe10c[14:12],
  5497. rom_dffe_w11c = rom_reg_dffe11c[8:6],
  5498. rom_dffe_w12c = rom_reg_dffe12c[2:0],
  5499. rom_dffe_w13c = rom_out_w13c,
  5500. rom_dffe_w1c = rom_reg_dffe1c[68:66],
  5501. rom_dffe_w2c = rom_reg_dffe2c[62:60],
  5502. rom_dffe_w3c = rom_reg_dffe3c[56:54],
  5503. rom_dffe_w4c = rom_reg_dffe4c[50:48],
  5504. rom_dffe_w5c = rom_reg_dffe5c[44:42],
  5505. rom_dffe_w6c = rom_reg_dffe6c[38:36],
  5506. rom_dffe_w7c = rom_reg_dffe7c[32:30],
  5507. rom_dffe_w8c = rom_reg_dffe8c[26:24],
  5508. rom_dffe_w9c = rom_reg_dffe9c[20:18],
  5509. rom_mux_w = {rom_dffe_w13c[2], rom_dffe_w12c[2], rom_dffe_w11c[2], rom_dffe_w10c[2], rom_dffe_w9c[2], rom_dffe_w8c[2], rom_dffe_w7c[2], rom_dffe_w6c[2], rom_dffe_w5c[2], rom_dffe_w4c[2], rom_dffe_w3c[2], rom_dffe_w2c[2], rom_dffe_w1c[2], rom_dffe_w0c[2]},
  5510. rom_out_1a_w = wire_srt_block_int11_rom,
  5511. rom_out_w0c = rom_out_1a_w,
  5512. rom_out_w10c = wire_srt_block_int21_rom,
  5513. rom_out_w11c = wire_srt_block_int22_rom,
  5514. rom_out_w12c = wire_srt_block_int23_rom,
  5515. rom_out_w13c = wire_srt_block_int24_rom,
  5516. rom_out_w1c = wire_srt_block_int12_rom,
  5517. rom_out_w2c = wire_srt_block_int13_rom,
  5518. rom_out_w3c = wire_srt_block_int14_rom,
  5519. rom_out_w4c = wire_srt_block_int15_rom,
  5520. rom_out_w5c = wire_srt_block_int16_rom,
  5521. rom_out_w6c = wire_srt_block_int17_rom,
  5522. rom_out_w7c = wire_srt_block_int18_rom,
  5523. rom_out_w8c = wire_srt_block_int19_rom,
  5524. rom_out_w9c = wire_srt_block_int20_rom,
  5525. srt_adjust_w = wire_altfp_div_csa26_result,
  5526. srt_adjusted_w = wire_altfp_div_csa27_result,
  5527. true_quotient_w = (({28{(~ mux_remainder_w)}} & srt_adjust_w) | ({28{mux_remainder_w}} & srt_adjusted_w)),
  5528. value_one_w = 28'b0000000000000000000000000001,
  5529. zero_quotient_w = {2{1'b0}};
  5530. endmodule //fpoint_hw_qsys_div_single_altfp_div_srt_ext_5mh
  5531. //synthesis_resources = lpm_add_sub 181 lpm_compare 62 lpm_mux 28 reg 4070
  5532. //synopsys translate_off
  5533. `timescale 1 ps / 1 ps
  5534. //synopsys translate_on
  5535. module fpoint_hw_qsys_div_single
  5536. (
  5537. aclr,
  5538. clk_en,
  5539. clock,
  5540. dataa,
  5541. datab,
  5542. result) /* synthesis synthesis_clearbox=1 */;
  5543. input aclr;
  5544. input clk_en;
  5545. input clock;
  5546. input [31:0] dataa;
  5547. input [31:0] datab;
  5548. output [31:0] result;
  5549. `ifndef ALTERA_RESERVED_QIS
  5550. // synopsys translate_off
  5551. `endif
  5552. tri0 aclr;
  5553. tri1 clk_en;
  5554. `ifndef ALTERA_RESERVED_QIS
  5555. // synopsys translate_on
  5556. `endif
  5557. wire wire_altfp_div_csa8_cout;
  5558. wire [23:0] wire_altfp_div_csa8_result;
  5559. wire [23:0] wire_altfp_div_srt_ext1_divider;
  5560. wire [27:0] wire_altfp_div_srt_ext1_quotient;
  5561. wire [23:0] wire_altfp_div_srt_ext1_remain;
  5562. reg [7:0] and_or_dffe;
  5563. reg [7:0] and_or_dffe1a;
  5564. reg [7:0] and_or_dffe3a;
  5565. reg [7:0] and_or_pipeline0c;
  5566. reg [7:0] and_or_pipeline10c;
  5567. reg [7:0] and_or_pipeline11c;
  5568. reg [7:0] and_or_pipeline12c;
  5569. reg [7:0] and_or_pipeline13c;
  5570. reg [7:0] and_or_pipeline14c;
  5571. reg [7:0] and_or_pipeline15c;
  5572. reg [7:0] and_or_pipeline16c;
  5573. reg [7:0] and_or_pipeline17c;
  5574. reg [7:0] and_or_pipeline18c;
  5575. reg [7:0] and_or_pipeline19c;
  5576. reg [7:0] and_or_pipeline1c;
  5577. reg [7:0] and_or_pipeline20c;
  5578. reg [7:0] and_or_pipeline21c;
  5579. reg [7:0] and_or_pipeline22c;
  5580. reg [7:0] and_or_pipeline23c;
  5581. reg [7:0] and_or_pipeline24c;
  5582. reg [7:0] and_or_pipeline25c;
  5583. reg [7:0] and_or_pipeline26c;
  5584. reg [7:0] and_or_pipeline27c;
  5585. reg [7:0] and_or_pipeline2c;
  5586. reg [7:0] and_or_pipeline3c;
  5587. reg [7:0] and_or_pipeline4c;
  5588. reg [7:0] and_or_pipeline5c;
  5589. reg [7:0] and_or_pipeline6c;
  5590. reg [7:0] and_or_pipeline7c;
  5591. reg [7:0] and_or_pipeline8c;
  5592. reg [7:0] and_or_pipeline9c;
  5593. reg bias_addition_overf_dffe;
  5594. reg [23:0] divider_pipe1a;
  5595. reg exp_a_and_dffe;
  5596. reg exp_a_b_dffe;
  5597. reg [7:0] exp_a_dffe;
  5598. reg exp_a_or_dffe;
  5599. reg exp_b_and_dffe;
  5600. reg [7:0] exp_b_dffe;
  5601. reg exp_b_or_dffe;
  5602. reg [8:0] exp_dffe1a;
  5603. reg [8:0] exp_dffe2a;
  5604. reg [8:0] exp_pipeline0c;
  5605. reg [8:0] exp_pipeline10c;
  5606. reg [8:0] exp_pipeline11c;
  5607. reg [8:0] exp_pipeline12c;
  5608. reg [8:0] exp_pipeline13c;
  5609. reg [8:0] exp_pipeline14c;
  5610. reg [8:0] exp_pipeline15c;
  5611. reg [8:0] exp_pipeline16c;
  5612. reg [8:0] exp_pipeline17c;
  5613. reg [8:0] exp_pipeline18c;
  5614. reg [8:0] exp_pipeline19c;
  5615. reg [8:0] exp_pipeline1c;
  5616. reg [8:0] exp_pipeline20c;
  5617. reg [8:0] exp_pipeline21c;
  5618. reg [8:0] exp_pipeline22c;
  5619. reg [8:0] exp_pipeline23c;
  5620. reg [8:0] exp_pipeline24c;
  5621. reg [8:0] exp_pipeline25c;
  5622. reg [8:0] exp_pipeline26c;
  5623. reg [8:0] exp_pipeline2c;
  5624. reg [8:0] exp_pipeline3c;
  5625. reg [8:0] exp_pipeline4c;
  5626. reg [8:0] exp_pipeline5c;
  5627. reg [8:0] exp_pipeline6c;
  5628. reg [8:0] exp_pipeline7c;
  5629. reg [8:0] exp_pipeline8c;
  5630. reg [8:0] exp_pipeline9c;
  5631. reg [7:0] exp_res_pipe3;
  5632. reg implied_bit;
  5633. reg implied_bit2a;
  5634. reg man_a_and_dffe;
  5635. reg [22:0] man_a_dffe;
  5636. reg man_a_or_dffe;
  5637. reg man_b_and_dffe;
  5638. reg [22:0] man_b_dffe;
  5639. reg man_b_or_dffe;
  5640. reg [23:0] man_res_pipe3;
  5641. reg [27:0] quotient_pipe1a;
  5642. reg [23:0] remainder_pipe1a;
  5643. reg [31:0] result_output_dffe;
  5644. reg rnd_overflow_dffe;
  5645. reg [23:0] rnded_man_pipe2a;
  5646. reg sign_a_dffe;
  5647. reg sign_b_dffe;
  5648. reg sign_div_pipeline0c;
  5649. reg sign_div_pipeline10c;
  5650. reg sign_div_pipeline11c;
  5651. reg sign_div_pipeline12c;
  5652. reg sign_div_pipeline13c;
  5653. reg sign_div_pipeline14c;
  5654. reg sign_div_pipeline15c;
  5655. reg sign_div_pipeline16c;
  5656. reg sign_div_pipeline17c;
  5657. reg sign_div_pipeline18c;
  5658. reg sign_div_pipeline19c;
  5659. reg sign_div_pipeline1c;
  5660. reg sign_div_pipeline20c;
  5661. reg sign_div_pipeline21c;
  5662. reg sign_div_pipeline22c;
  5663. reg sign_div_pipeline23c;
  5664. reg sign_div_pipeline24c;
  5665. reg sign_div_pipeline25c;
  5666. reg sign_div_pipeline26c;
  5667. reg sign_div_pipeline27c;
  5668. reg sign_div_pipeline2c;
  5669. reg sign_div_pipeline3c;
  5670. reg sign_div_pipeline4c;
  5671. reg sign_div_pipeline5c;
  5672. reg sign_div_pipeline6c;
  5673. reg sign_div_pipeline7c;
  5674. reg sign_div_pipeline8c;
  5675. reg sign_div_pipeline9c;
  5676. reg sign_pipe1a;
  5677. reg sign_pipe2a;
  5678. reg sign_pipe3a;
  5679. wire wire_add_sub10_overflow;
  5680. wire [8:0] wire_add_sub10_result;
  5681. wire [8:0] wire_add_sub9_result;
  5682. wire wire_cmpr2_aeb;
  5683. wire wire_cmpr2_agb;
  5684. wire wire_cmpr3_aeb;
  5685. wire wire_cmpr3_agb;
  5686. wire wire_cmpr4_aeb;
  5687. wire wire_cmpr4_agb;
  5688. wire wire_cmpr5_ageb;
  5689. wire wire_cmpr6_aeb;
  5690. wire wire_cmpr6_agb;
  5691. wire wire_cmpr7_ageb;
  5692. wire [23:0] add_1_dataa_w;
  5693. wire [23:0] add_1_datab_w;
  5694. wire add_1_w;
  5695. wire [23:0] add_one_process_w;
  5696. wire [7:0] and_or_dffe1a_w;
  5697. wire [7:0] and_or_dffe3a_w;
  5698. wire [7:0] and_or_dffe_w;
  5699. wire [7:0] and_or_int_w;
  5700. wire [7:0] and_or_pipeline_w;
  5701. wire [8:0] bias_add_w;
  5702. wire bias_addition_overf_w;
  5703. wire [7:0] bias_addition_w;
  5704. wire [8:0] bias_value_w;
  5705. wire [23:0] checked_quotient_dffe1a_w;
  5706. wire [23:0] checked_quotient_w;
  5707. wire [7:0] dataa_exp_bus_w;
  5708. wire [31:0] dataa_int;
  5709. wire [22:0] dataa_man_bus_w;
  5710. wire dataa_S0;
  5711. wire [7:0] datab_exp_bus_w;
  5712. wire [31:0] datab_int;
  5713. wire [22:0] datab_man_bus_w;
  5714. wire datab_S0;
  5715. wire [23:0] divider_srt_w;
  5716. wire exp_a_and_msb2_w;
  5717. wire exp_a_and_msb_w;
  5718. wire exp_a_and_mux_w;
  5719. wire [7:0] exp_a_and_w;
  5720. wire exp_a_b_w;
  5721. wire [7:0] exp_a_bus_w;
  5722. wire exp_a_non_zero_w;
  5723. wire exp_a_one_w;
  5724. wire exp_a_or_msb2_w;
  5725. wire exp_a_or_msb_w;
  5726. wire exp_a_or_mux_w;
  5727. wire [7:0] exp_a_or_w;
  5728. wire [7:0] exp_a_w;
  5729. wire exp_a_zero_w;
  5730. wire exp_b_and_msb2_w;
  5731. wire exp_b_and_msb_w;
  5732. wire exp_b_and_mux_w;
  5733. wire [7:0] exp_b_and_w;
  5734. wire [7:0] exp_b_bus_w;
  5735. wire exp_b_non_zero_w;
  5736. wire exp_b_one_w;
  5737. wire exp_b_or_msb2_w;
  5738. wire exp_b_or_msb_w;
  5739. wire exp_b_or_mux_w;
  5740. wire [7:0] exp_b_or_w;
  5741. wire [7:0] exp_b_w;
  5742. wire exp_b_zero_w;
  5743. wire exp_bias_and_res_w;
  5744. wire [7:0] exp_bias_and_w;
  5745. wire [7:0] exp_bias_bus_w;
  5746. wire [8:0] exp_dffe1a_w;
  5747. wire [8:0] exp_dffe2a_w;
  5748. wire [7:0] exp_exc_ones_w;
  5749. wire [7:0] exp_exc_zeros_w;
  5750. wire [1:0] exp_higher_bit;
  5751. wire [1:0] exp_higher_or;
  5752. wire exp_infi_bus_w;
  5753. wire [7:0] exp_man_and_or_w;
  5754. wire exp_or_result_w;
  5755. wire [8:0] exp_pipeline_w;
  5756. wire [7:0] exp_res_and_w;
  5757. wire [7:0] exp_res_bus_w;
  5758. wire [7:0] exp_res_int2_bus_w;
  5759. wire [7:0] exp_res_int2_or_w;
  5760. wire [7:0] exp_res_int2_w;
  5761. wire [7:0] exp_res_int_w;
  5762. wire [7:0] exp_res_w;
  5763. wire exp_sign_w;
  5764. wire [8:0] exp_sub_a_w;
  5765. wire [8:0] exp_sub_b_w;
  5766. wire [8:0] exp_sub_w;
  5767. wire exp_zero_bus_w;
  5768. wire guard_bit_dffe1a_w;
  5769. wire guard_bit_quo_msb_m1;
  5770. wire guard_bit_quo_msb_m2;
  5771. wire guard_bit_w;
  5772. wire infi_combi_w;
  5773. wire infi_dataa_w;
  5774. wire infi_datab_w;
  5775. wire [31:0] infi_res_w;
  5776. wire infinite_int_w;
  5777. wire infinite_w;
  5778. wire [23:0] man_24_zeros_w;
  5779. wire man_a_and_msb2_w;
  5780. wire man_a_and_msb_w;
  5781. wire man_a_and_mux_w;
  5782. wire [22:0] man_a_and_w;
  5783. wire [22:0] man_a_bus_w;
  5784. wire [22:0] man_a_int_w;
  5785. wire man_a_non_zero_w;
  5786. wire man_a_one_w;
  5787. wire man_a_or_msb2_w;
  5788. wire man_a_or_msb_w;
  5789. wire man_a_or_mux_w;
  5790. wire [22:0] man_a_or_w;
  5791. wire [23:0] man_a_w;
  5792. wire man_a_zero_w;
  5793. wire man_b_and_msb2_w;
  5794. wire man_b_and_msb_w;
  5795. wire man_b_and_mux_w;
  5796. wire [22:0] man_b_and_w;
  5797. wire [22:0] man_b_bus_w;
  5798. wire [22:0] man_b_int_w;
  5799. wire man_b_non_zero_w;
  5800. wire man_b_one_w;
  5801. wire man_b_or_msb2_w;
  5802. wire man_b_or_msb_w;
  5803. wire man_b_or_mux_w;
  5804. wire [22:0] man_b_or_w;
  5805. wire [23:0] man_b_w;
  5806. wire man_b_zero_w;
  5807. wire [22:0] man_exc_nan_w;
  5808. wire [22:0] man_exc_zeros_w;
  5809. wire [22:0] man_res_bus_w;
  5810. wire [23:0] man_res_int2_w;
  5811. wire [23:0] man_res_int_w;
  5812. wire [22:0] man_res_or_w;
  5813. wire [23:0] man_res_w;
  5814. wire mux1_exp_s0a;
  5815. wire mux1_exp_s1a;
  5816. wire [31:0] mux_1_res_w;
  5817. wire [31:0] mux_2_res_w;
  5818. wire [31:0] mux_3_res_w;
  5819. wire mux_zero_non_zero_S0;
  5820. wire [23:0] mux_zero_non_zero_w;
  5821. wire nan_dataa_w;
  5822. wire nan_datab_w;
  5823. wire [31:0] nan_res_w;
  5824. wire nan_w;
  5825. wire norm_dataa_w;
  5826. wire norm_datab_w;
  5827. wire [7:0] norm_infi_and_w;
  5828. wire [7:0] norm_infi_bus_w;
  5829. wire [31:0] norm_res_int_w;
  5830. wire [7:0] norm_zero_bus_w;
  5831. wire [7:0] norm_zero_or_w;
  5832. wire [7:0] not_bias_addition_w;
  5833. wire not_exp_res_int2_or_res_w;
  5834. wire overflow_int_w;
  5835. wire [23:0] overflow_man_w;
  5836. wire [7:0] overflow_ones_w;
  5837. wire [52:0] quo_msb_m1_compare_dataa;
  5838. wire [52:0] quo_msb_m1_compare_datab;
  5839. wire quo_msb_m1_compare_w;
  5840. wire quo_msb_m1_w;
  5841. wire [53:0] quo_msb_m2_compare_dataa;
  5842. wire [53:0] quo_msb_m2_compare_datab;
  5843. wire quo_msb_m2_compare_w;
  5844. wire [23:0] quotient_msb_m1_w;
  5845. wire [23:0] quotient_msb_m2_w;
  5846. wire [27:0] quotient_w;
  5847. wire [23:0] remainder_srt_w;
  5848. wire [23:0] res_rnded_man_w;
  5849. wire rnd_add_overf_w;
  5850. wire rnd_overflow;
  5851. wire [23:0] rnded_man_w;
  5852. wire round_bit_dffe1a_w;
  5853. wire round_bit_quo_msb_m1;
  5854. wire round_bit_quo_msb_m2;
  5855. wire round_bit_w;
  5856. wire sign_a_w;
  5857. wire sign_b_w;
  5858. wire sign_div;
  5859. wire sign_div_pipeline_w;
  5860. wire sign_exc_bit_w;
  5861. wire signed_N_exp_h_or;
  5862. wire sticky_bit_dffe1a_w;
  5863. wire sticky_bit_quo_msb_m1;
  5864. wire [1:0] sticky_bit_quo_msb_m1_bit;
  5865. wire [1:0] sticky_bit_quo_msb_m1_or;
  5866. wire [1:0] sticky_bit_quo_msb_m1_tmp;
  5867. wire sticky_bit_quo_msb_m2;
  5868. wire [0:0] sticky_bit_quo_msb_m2_bit;
  5869. wire [0:0] sticky_bit_quo_msb_m2_or;
  5870. wire [0:0] sticky_bit_quo_msb_m2_tmp;
  5871. wire sticky_bit_w;
  5872. wire sticky_quo_msb_m1_comparator_lower_lower_ageb_w;
  5873. wire sticky_quo_msb_m1_comparator_lower_upper_aeb_w;
  5874. wire sticky_quo_msb_m1_comparator_lower_upper_agb_w;
  5875. wire sticky_quo_msb_m1_comparator_upper_lower_aeb_w;
  5876. wire sticky_quo_msb_m1_comparator_upper_lower_agb_w;
  5877. wire sticky_quo_msb_m1_comparator_upper_upper_aeb_w;
  5878. wire sticky_quo_msb_m1_comparator_upper_upper_agb_w;
  5879. wire sticky_quo_msb_m2_comparator_lower_ageb_w;
  5880. wire sticky_quo_msb_m2_comparator_upper_aeb_w;
  5881. wire sticky_quo_msb_m2_comparator_upper_agb_w;
  5882. wire [7:0] underflow_zeros_w;
  5883. wire [8:0] value_add_1_w;
  5884. wire [8:0] value_minus_1_w;
  5885. wire [8:0] value_normal_w;
  5886. wire [8:0] value_zero_w;
  5887. wire [23:0] zero_bit_23_w;
  5888. wire [30:0] zero_bit_31_w;
  5889. wire [7:0] zero_bit_8_w;
  5890. wire zero_bit_w;
  5891. wire zero_dataa_w;
  5892. wire zero_datab_w;
  5893. wire [31:0] zero_res_w;
  5894. wire zero_w;
  5895. fpoint_hw_qsys_div_single_altfp_div_csa_vhf altfp_div_csa8
  5896. (
  5897. .cin(add_1_w),
  5898. .cout(wire_altfp_div_csa8_cout),
  5899. .dataa(add_1_dataa_w),
  5900. .datab(add_1_datab_w),
  5901. .result(wire_altfp_div_csa8_result));
  5902. fpoint_hw_qsys_div_single_altfp_div_srt_ext_5mh altfp_div_srt_ext1
  5903. (
  5904. .aclr(aclr),
  5905. .clken(clk_en),
  5906. .clock(clock),
  5907. .denom(man_b_w),
  5908. .divider(wire_altfp_div_srt_ext1_divider),
  5909. .numer(man_a_w),
  5910. .quotient(wire_altfp_div_srt_ext1_quotient),
  5911. .remain(wire_altfp_div_srt_ext1_remain));
  5912. // synopsys translate_off
  5913. initial
  5914. and_or_dffe = 0;
  5915. // synopsys translate_on
  5916. always @ ( posedge clock or posedge aclr)
  5917. if (aclr == 1'b1) and_or_dffe <= 8'b0;
  5918. else if (clk_en == 1'b1) and_or_dffe <= exp_man_and_or_w;
  5919. // synopsys translate_off
  5920. initial
  5921. and_or_dffe1a = 0;
  5922. // synopsys translate_on
  5923. always @ ( posedge clock or posedge aclr)
  5924. if (aclr == 1'b1) and_or_dffe1a <= 8'b0;
  5925. else if (clk_en == 1'b1) and_or_dffe1a <= and_or_pipeline_w;
  5926. // synopsys translate_off
  5927. initial
  5928. and_or_dffe3a = 0;
  5929. // synopsys translate_on
  5930. always @ ( posedge clock or posedge aclr)
  5931. if (aclr == 1'b1) and_or_dffe3a <= 8'b0;
  5932. else if (clk_en == 1'b1) and_or_dffe3a <= and_or_int_w;
  5933. // synopsys translate_off
  5934. initial
  5935. and_or_pipeline0c = 0;
  5936. // synopsys translate_on
  5937. always @ ( posedge clock or posedge aclr)
  5938. if (aclr == 1'b1) and_or_pipeline0c <= 8'b0;
  5939. else if (clk_en == 1'b1) and_or_pipeline0c <= and_or_dffe_w;
  5940. // synopsys translate_off
  5941. initial
  5942. and_or_pipeline10c = 0;
  5943. // synopsys translate_on
  5944. always @ ( posedge clock or posedge aclr)
  5945. if (aclr == 1'b1) and_or_pipeline10c <= 8'b0;
  5946. else if (clk_en == 1'b1) and_or_pipeline10c <= and_or_pipeline9c;
  5947. // synopsys translate_off
  5948. initial
  5949. and_or_pipeline11c = 0;
  5950. // synopsys translate_on
  5951. always @ ( posedge clock or posedge aclr)
  5952. if (aclr == 1'b1) and_or_pipeline11c <= 8'b0;
  5953. else if (clk_en == 1'b1) and_or_pipeline11c <= and_or_pipeline10c;
  5954. // synopsys translate_off
  5955. initial
  5956. and_or_pipeline12c = 0;
  5957. // synopsys translate_on
  5958. always @ ( posedge clock or posedge aclr)
  5959. if (aclr == 1'b1) and_or_pipeline12c <= 8'b0;
  5960. else if (clk_en == 1'b1) and_or_pipeline12c <= and_or_pipeline11c;
  5961. // synopsys translate_off
  5962. initial
  5963. and_or_pipeline13c = 0;
  5964. // synopsys translate_on
  5965. always @ ( posedge clock or posedge aclr)
  5966. if (aclr == 1'b1) and_or_pipeline13c <= 8'b0;
  5967. else if (clk_en == 1'b1) and_or_pipeline13c <= and_or_pipeline12c;
  5968. // synopsys translate_off
  5969. initial
  5970. and_or_pipeline14c = 0;
  5971. // synopsys translate_on
  5972. always @ ( posedge clock or posedge aclr)
  5973. if (aclr == 1'b1) and_or_pipeline14c <= 8'b0;
  5974. else if (clk_en == 1'b1) and_or_pipeline14c <= and_or_pipeline13c;
  5975. // synopsys translate_off
  5976. initial
  5977. and_or_pipeline15c = 0;
  5978. // synopsys translate_on
  5979. always @ ( posedge clock or posedge aclr)
  5980. if (aclr == 1'b1) and_or_pipeline15c <= 8'b0;
  5981. else if (clk_en == 1'b1) and_or_pipeline15c <= and_or_pipeline14c;
  5982. // synopsys translate_off
  5983. initial
  5984. and_or_pipeline16c = 0;
  5985. // synopsys translate_on
  5986. always @ ( posedge clock or posedge aclr)
  5987. if (aclr == 1'b1) and_or_pipeline16c <= 8'b0;
  5988. else if (clk_en == 1'b1) and_or_pipeline16c <= and_or_pipeline15c;
  5989. // synopsys translate_off
  5990. initial
  5991. and_or_pipeline17c = 0;
  5992. // synopsys translate_on
  5993. always @ ( posedge clock or posedge aclr)
  5994. if (aclr == 1'b1) and_or_pipeline17c <= 8'b0;
  5995. else if (clk_en == 1'b1) and_or_pipeline17c <= and_or_pipeline16c;
  5996. // synopsys translate_off
  5997. initial
  5998. and_or_pipeline18c = 0;
  5999. // synopsys translate_on
  6000. always @ ( posedge clock or posedge aclr)
  6001. if (aclr == 1'b1) and_or_pipeline18c <= 8'b0;
  6002. else if (clk_en == 1'b1) and_or_pipeline18c <= and_or_pipeline17c;
  6003. // synopsys translate_off
  6004. initial
  6005. and_or_pipeline19c = 0;
  6006. // synopsys translate_on
  6007. always @ ( posedge clock or posedge aclr)
  6008. if (aclr == 1'b1) and_or_pipeline19c <= 8'b0;
  6009. else if (clk_en == 1'b1) and_or_pipeline19c <= and_or_pipeline18c;
  6010. // synopsys translate_off
  6011. initial
  6012. and_or_pipeline1c = 0;
  6013. // synopsys translate_on
  6014. always @ ( posedge clock or posedge aclr)
  6015. if (aclr == 1'b1) and_or_pipeline1c <= 8'b0;
  6016. else if (clk_en == 1'b1) and_or_pipeline1c <= and_or_pipeline0c;
  6017. // synopsys translate_off
  6018. initial
  6019. and_or_pipeline20c = 0;
  6020. // synopsys translate_on
  6021. always @ ( posedge clock or posedge aclr)
  6022. if (aclr == 1'b1) and_or_pipeline20c <= 8'b0;
  6023. else if (clk_en == 1'b1) and_or_pipeline20c <= and_or_pipeline19c;
  6024. // synopsys translate_off
  6025. initial
  6026. and_or_pipeline21c = 0;
  6027. // synopsys translate_on
  6028. always @ ( posedge clock or posedge aclr)
  6029. if (aclr == 1'b1) and_or_pipeline21c <= 8'b0;
  6030. else if (clk_en == 1'b1) and_or_pipeline21c <= and_or_pipeline20c;
  6031. // synopsys translate_off
  6032. initial
  6033. and_or_pipeline22c = 0;
  6034. // synopsys translate_on
  6035. always @ ( posedge clock or posedge aclr)
  6036. if (aclr == 1'b1) and_or_pipeline22c <= 8'b0;
  6037. else if (clk_en == 1'b1) and_or_pipeline22c <= and_or_pipeline21c;
  6038. // synopsys translate_off
  6039. initial
  6040. and_or_pipeline23c = 0;
  6041. // synopsys translate_on
  6042. always @ ( posedge clock or posedge aclr)
  6043. if (aclr == 1'b1) and_or_pipeline23c <= 8'b0;
  6044. else if (clk_en == 1'b1) and_or_pipeline23c <= and_or_pipeline22c;
  6045. // synopsys translate_off
  6046. initial
  6047. and_or_pipeline24c = 0;
  6048. // synopsys translate_on
  6049. always @ ( posedge clock or posedge aclr)
  6050. if (aclr == 1'b1) and_or_pipeline24c <= 8'b0;
  6051. else if (clk_en == 1'b1) and_or_pipeline24c <= and_or_pipeline23c;
  6052. // synopsys translate_off
  6053. initial
  6054. and_or_pipeline25c = 0;
  6055. // synopsys translate_on
  6056. always @ ( posedge clock or posedge aclr)
  6057. if (aclr == 1'b1) and_or_pipeline25c <= 8'b0;
  6058. else if (clk_en == 1'b1) and_or_pipeline25c <= and_or_pipeline24c;
  6059. // synopsys translate_off
  6060. initial
  6061. and_or_pipeline26c = 0;
  6062. // synopsys translate_on
  6063. always @ ( posedge clock or posedge aclr)
  6064. if (aclr == 1'b1) and_or_pipeline26c <= 8'b0;
  6065. else if (clk_en == 1'b1) and_or_pipeline26c <= and_or_pipeline25c;
  6066. // synopsys translate_off
  6067. initial
  6068. and_or_pipeline27c = 0;
  6069. // synopsys translate_on
  6070. always @ ( posedge clock or posedge aclr)
  6071. if (aclr == 1'b1) and_or_pipeline27c <= 8'b0;
  6072. else if (clk_en == 1'b1) and_or_pipeline27c <= and_or_pipeline26c;
  6073. // synopsys translate_off
  6074. initial
  6075. and_or_pipeline2c = 0;
  6076. // synopsys translate_on
  6077. always @ ( posedge clock or posedge aclr)
  6078. if (aclr == 1'b1) and_or_pipeline2c <= 8'b0;
  6079. else if (clk_en == 1'b1) and_or_pipeline2c <= and_or_pipeline1c;
  6080. // synopsys translate_off
  6081. initial
  6082. and_or_pipeline3c = 0;
  6083. // synopsys translate_on
  6084. always @ ( posedge clock or posedge aclr)
  6085. if (aclr == 1'b1) and_or_pipeline3c <= 8'b0;
  6086. else if (clk_en == 1'b1) and_or_pipeline3c <= and_or_pipeline2c;
  6087. // synopsys translate_off
  6088. initial
  6089. and_or_pipeline4c = 0;
  6090. // synopsys translate_on
  6091. always @ ( posedge clock or posedge aclr)
  6092. if (aclr == 1'b1) and_or_pipeline4c <= 8'b0;
  6093. else if (clk_en == 1'b1) and_or_pipeline4c <= and_or_pipeline3c;
  6094. // synopsys translate_off
  6095. initial
  6096. and_or_pipeline5c = 0;
  6097. // synopsys translate_on
  6098. always @ ( posedge clock or posedge aclr)
  6099. if (aclr == 1'b1) and_or_pipeline5c <= 8'b0;
  6100. else if (clk_en == 1'b1) and_or_pipeline5c <= and_or_pipeline4c;
  6101. // synopsys translate_off
  6102. initial
  6103. and_or_pipeline6c = 0;
  6104. // synopsys translate_on
  6105. always @ ( posedge clock or posedge aclr)
  6106. if (aclr == 1'b1) and_or_pipeline6c <= 8'b0;
  6107. else if (clk_en == 1'b1) and_or_pipeline6c <= and_or_pipeline5c;
  6108. // synopsys translate_off
  6109. initial
  6110. and_or_pipeline7c = 0;
  6111. // synopsys translate_on
  6112. always @ ( posedge clock or posedge aclr)
  6113. if (aclr == 1'b1) and_or_pipeline7c <= 8'b0;
  6114. else if (clk_en == 1'b1) and_or_pipeline7c <= and_or_pipeline6c;
  6115. // synopsys translate_off
  6116. initial
  6117. and_or_pipeline8c = 0;
  6118. // synopsys translate_on
  6119. always @ ( posedge clock or posedge aclr)
  6120. if (aclr == 1'b1) and_or_pipeline8c <= 8'b0;
  6121. else if (clk_en == 1'b1) and_or_pipeline8c <= and_or_pipeline7c;
  6122. // synopsys translate_off
  6123. initial
  6124. and_or_pipeline9c = 0;
  6125. // synopsys translate_on
  6126. always @ ( posedge clock or posedge aclr)
  6127. if (aclr == 1'b1) and_or_pipeline9c <= 8'b0;
  6128. else if (clk_en == 1'b1) and_or_pipeline9c <= and_or_pipeline8c;
  6129. // synopsys translate_off
  6130. initial
  6131. bias_addition_overf_dffe = 0;
  6132. // synopsys translate_on
  6133. always @ ( posedge clock or posedge aclr)
  6134. if (aclr == 1'b1) bias_addition_overf_dffe <= 1'b0;
  6135. else if (clk_en == 1'b1) bias_addition_overf_dffe <= bias_addition_overf_w;
  6136. // synopsys translate_off
  6137. initial
  6138. divider_pipe1a = 0;
  6139. // synopsys translate_on
  6140. always @ ( posedge clock or posedge aclr)
  6141. if (aclr == 1'b1) divider_pipe1a <= 24'b0;
  6142. else if (clk_en == 1'b1) divider_pipe1a <= wire_altfp_div_srt_ext1_divider;
  6143. // synopsys translate_off
  6144. initial
  6145. exp_a_and_dffe = 0;
  6146. // synopsys translate_on
  6147. always @ ( posedge clock or posedge aclr)
  6148. if (aclr == 1'b1) exp_a_and_dffe <= 1'b0;
  6149. else if (clk_en == 1'b1) exp_a_and_dffe <= exp_a_and_msb2_w;
  6150. // synopsys translate_off
  6151. initial
  6152. exp_a_b_dffe = 0;
  6153. // synopsys translate_on
  6154. always @ ( posedge clock or posedge aclr)
  6155. if (aclr == 1'b1) exp_a_b_dffe <= 1'b0;
  6156. else if (clk_en == 1'b1) exp_a_b_dffe <= exp_or_result_w;
  6157. // synopsys translate_off
  6158. initial
  6159. exp_a_dffe = 0;
  6160. // synopsys translate_on
  6161. always @ ( posedge clock or posedge aclr)
  6162. if (aclr == 1'b1) exp_a_dffe <= 8'b0;
  6163. else if (clk_en == 1'b1) exp_a_dffe <= dataa_int[30:23];
  6164. // synopsys translate_off
  6165. initial
  6166. exp_a_or_dffe = 0;
  6167. // synopsys translate_on
  6168. always @ ( posedge clock or posedge aclr)
  6169. if (aclr == 1'b1) exp_a_or_dffe <= 1'b0;
  6170. else if (clk_en == 1'b1) exp_a_or_dffe <= exp_a_or_msb2_w;
  6171. // synopsys translate_off
  6172. initial
  6173. exp_b_and_dffe = 0;
  6174. // synopsys translate_on
  6175. always @ ( posedge clock or posedge aclr)
  6176. if (aclr == 1'b1) exp_b_and_dffe <= 1'b0;
  6177. else if (clk_en == 1'b1) exp_b_and_dffe <= exp_b_and_msb2_w;
  6178. // synopsys translate_off
  6179. initial
  6180. exp_b_dffe = 0;
  6181. // synopsys translate_on
  6182. always @ ( posedge clock or posedge aclr)
  6183. if (aclr == 1'b1) exp_b_dffe <= 8'b0;
  6184. else if (clk_en == 1'b1) exp_b_dffe <= datab_int[30:23];
  6185. // synopsys translate_off
  6186. initial
  6187. exp_b_or_dffe = 0;
  6188. // synopsys translate_on
  6189. always @ ( posedge clock or posedge aclr)
  6190. if (aclr == 1'b1) exp_b_or_dffe <= 1'b0;
  6191. else if (clk_en == 1'b1) exp_b_or_dffe <= exp_b_or_msb2_w;
  6192. // synopsys translate_off
  6193. initial
  6194. exp_dffe1a = 0;
  6195. // synopsys translate_on
  6196. always @ ( posedge clock or posedge aclr)
  6197. if (aclr == 1'b1) exp_dffe1a <= 9'b0;
  6198. else if (clk_en == 1'b1) exp_dffe1a <= exp_pipeline_w;
  6199. // synopsys translate_off
  6200. initial
  6201. exp_dffe2a = 0;
  6202. // synopsys translate_on
  6203. always @ ( posedge clock or posedge aclr)
  6204. if (aclr == 1'b1) exp_dffe2a <= 9'b0;
  6205. else if (clk_en == 1'b1) exp_dffe2a <= exp_dffe1a_w;
  6206. // synopsys translate_off
  6207. initial
  6208. exp_pipeline0c = 0;
  6209. // synopsys translate_on
  6210. always @ ( posedge clock or posedge aclr)
  6211. if (aclr == 1'b1) exp_pipeline0c <= 9'b0;
  6212. else if (clk_en == 1'b1) exp_pipeline0c <= exp_sub_w;
  6213. // synopsys translate_off
  6214. initial
  6215. exp_pipeline10c = 0;
  6216. // synopsys translate_on
  6217. always @ ( posedge clock or posedge aclr)
  6218. if (aclr == 1'b1) exp_pipeline10c <= 9'b0;
  6219. else if (clk_en == 1'b1) exp_pipeline10c <= exp_pipeline9c;
  6220. // synopsys translate_off
  6221. initial
  6222. exp_pipeline11c = 0;
  6223. // synopsys translate_on
  6224. always @ ( posedge clock or posedge aclr)
  6225. if (aclr == 1'b1) exp_pipeline11c <= 9'b0;
  6226. else if (clk_en == 1'b1) exp_pipeline11c <= exp_pipeline10c;
  6227. // synopsys translate_off
  6228. initial
  6229. exp_pipeline12c = 0;
  6230. // synopsys translate_on
  6231. always @ ( posedge clock or posedge aclr)
  6232. if (aclr == 1'b1) exp_pipeline12c <= 9'b0;
  6233. else if (clk_en == 1'b1) exp_pipeline12c <= exp_pipeline11c;
  6234. // synopsys translate_off
  6235. initial
  6236. exp_pipeline13c = 0;
  6237. // synopsys translate_on
  6238. always @ ( posedge clock or posedge aclr)
  6239. if (aclr == 1'b1) exp_pipeline13c <= 9'b0;
  6240. else if (clk_en == 1'b1) exp_pipeline13c <= exp_pipeline12c;
  6241. // synopsys translate_off
  6242. initial
  6243. exp_pipeline14c = 0;
  6244. // synopsys translate_on
  6245. always @ ( posedge clock or posedge aclr)
  6246. if (aclr == 1'b1) exp_pipeline14c <= 9'b0;
  6247. else if (clk_en == 1'b1) exp_pipeline14c <= exp_pipeline13c;
  6248. // synopsys translate_off
  6249. initial
  6250. exp_pipeline15c = 0;
  6251. // synopsys translate_on
  6252. always @ ( posedge clock or posedge aclr)
  6253. if (aclr == 1'b1) exp_pipeline15c <= 9'b0;
  6254. else if (clk_en == 1'b1) exp_pipeline15c <= exp_pipeline14c;
  6255. // synopsys translate_off
  6256. initial
  6257. exp_pipeline16c = 0;
  6258. // synopsys translate_on
  6259. always @ ( posedge clock or posedge aclr)
  6260. if (aclr == 1'b1) exp_pipeline16c <= 9'b0;
  6261. else if (clk_en == 1'b1) exp_pipeline16c <= exp_pipeline15c;
  6262. // synopsys translate_off
  6263. initial
  6264. exp_pipeline17c = 0;
  6265. // synopsys translate_on
  6266. always @ ( posedge clock or posedge aclr)
  6267. if (aclr == 1'b1) exp_pipeline17c <= 9'b0;
  6268. else if (clk_en == 1'b1) exp_pipeline17c <= exp_pipeline16c;
  6269. // synopsys translate_off
  6270. initial
  6271. exp_pipeline18c = 0;
  6272. // synopsys translate_on
  6273. always @ ( posedge clock or posedge aclr)
  6274. if (aclr == 1'b1) exp_pipeline18c <= 9'b0;
  6275. else if (clk_en == 1'b1) exp_pipeline18c <= exp_pipeline17c;
  6276. // synopsys translate_off
  6277. initial
  6278. exp_pipeline19c = 0;
  6279. // synopsys translate_on
  6280. always @ ( posedge clock or posedge aclr)
  6281. if (aclr == 1'b1) exp_pipeline19c <= 9'b0;
  6282. else if (clk_en == 1'b1) exp_pipeline19c <= exp_pipeline18c;
  6283. // synopsys translate_off
  6284. initial
  6285. exp_pipeline1c = 0;
  6286. // synopsys translate_on
  6287. always @ ( posedge clock or posedge aclr)
  6288. if (aclr == 1'b1) exp_pipeline1c <= 9'b0;
  6289. else if (clk_en == 1'b1) exp_pipeline1c <= exp_pipeline0c;
  6290. // synopsys translate_off
  6291. initial
  6292. exp_pipeline20c = 0;
  6293. // synopsys translate_on
  6294. always @ ( posedge clock or posedge aclr)
  6295. if (aclr == 1'b1) exp_pipeline20c <= 9'b0;
  6296. else if (clk_en == 1'b1) exp_pipeline20c <= exp_pipeline19c;
  6297. // synopsys translate_off
  6298. initial
  6299. exp_pipeline21c = 0;
  6300. // synopsys translate_on
  6301. always @ ( posedge clock or posedge aclr)
  6302. if (aclr == 1'b1) exp_pipeline21c <= 9'b0;
  6303. else if (clk_en == 1'b1) exp_pipeline21c <= exp_pipeline20c;
  6304. // synopsys translate_off
  6305. initial
  6306. exp_pipeline22c = 0;
  6307. // synopsys translate_on
  6308. always @ ( posedge clock or posedge aclr)
  6309. if (aclr == 1'b1) exp_pipeline22c <= 9'b0;
  6310. else if (clk_en == 1'b1) exp_pipeline22c <= exp_pipeline21c;
  6311. // synopsys translate_off
  6312. initial
  6313. exp_pipeline23c = 0;
  6314. // synopsys translate_on
  6315. always @ ( posedge clock or posedge aclr)
  6316. if (aclr == 1'b1) exp_pipeline23c <= 9'b0;
  6317. else if (clk_en == 1'b1) exp_pipeline23c <= exp_pipeline22c;
  6318. // synopsys translate_off
  6319. initial
  6320. exp_pipeline24c = 0;
  6321. // synopsys translate_on
  6322. always @ ( posedge clock or posedge aclr)
  6323. if (aclr == 1'b1) exp_pipeline24c <= 9'b0;
  6324. else if (clk_en == 1'b1) exp_pipeline24c <= exp_pipeline23c;
  6325. // synopsys translate_off
  6326. initial
  6327. exp_pipeline25c = 0;
  6328. // synopsys translate_on
  6329. always @ ( posedge clock or posedge aclr)
  6330. if (aclr == 1'b1) exp_pipeline25c <= 9'b0;
  6331. else if (clk_en == 1'b1) exp_pipeline25c <= exp_pipeline24c;
  6332. // synopsys translate_off
  6333. initial
  6334. exp_pipeline26c = 0;
  6335. // synopsys translate_on
  6336. always @ ( posedge clock or posedge aclr)
  6337. if (aclr == 1'b1) exp_pipeline26c <= 9'b0;
  6338. else if (clk_en == 1'b1) exp_pipeline26c <= exp_pipeline25c;
  6339. // synopsys translate_off
  6340. initial
  6341. exp_pipeline2c = 0;
  6342. // synopsys translate_on
  6343. always @ ( posedge clock or posedge aclr)
  6344. if (aclr == 1'b1) exp_pipeline2c <= 9'b0;
  6345. else if (clk_en == 1'b1) exp_pipeline2c <= exp_pipeline1c;
  6346. // synopsys translate_off
  6347. initial
  6348. exp_pipeline3c = 0;
  6349. // synopsys translate_on
  6350. always @ ( posedge clock or posedge aclr)
  6351. if (aclr == 1'b1) exp_pipeline3c <= 9'b0;
  6352. else if (clk_en == 1'b1) exp_pipeline3c <= exp_pipeline2c;
  6353. // synopsys translate_off
  6354. initial
  6355. exp_pipeline4c = 0;
  6356. // synopsys translate_on
  6357. always @ ( posedge clock or posedge aclr)
  6358. if (aclr == 1'b1) exp_pipeline4c <= 9'b0;
  6359. else if (clk_en == 1'b1) exp_pipeline4c <= exp_pipeline3c;
  6360. // synopsys translate_off
  6361. initial
  6362. exp_pipeline5c = 0;
  6363. // synopsys translate_on
  6364. always @ ( posedge clock or posedge aclr)
  6365. if (aclr == 1'b1) exp_pipeline5c <= 9'b0;
  6366. else if (clk_en == 1'b1) exp_pipeline5c <= exp_pipeline4c;
  6367. // synopsys translate_off
  6368. initial
  6369. exp_pipeline6c = 0;
  6370. // synopsys translate_on
  6371. always @ ( posedge clock or posedge aclr)
  6372. if (aclr == 1'b1) exp_pipeline6c <= 9'b0;
  6373. else if (clk_en == 1'b1) exp_pipeline6c <= exp_pipeline5c;
  6374. // synopsys translate_off
  6375. initial
  6376. exp_pipeline7c = 0;
  6377. // synopsys translate_on
  6378. always @ ( posedge clock or posedge aclr)
  6379. if (aclr == 1'b1) exp_pipeline7c <= 9'b0;
  6380. else if (clk_en == 1'b1) exp_pipeline7c <= exp_pipeline6c;
  6381. // synopsys translate_off
  6382. initial
  6383. exp_pipeline8c = 0;
  6384. // synopsys translate_on
  6385. always @ ( posedge clock or posedge aclr)
  6386. if (aclr == 1'b1) exp_pipeline8c <= 9'b0;
  6387. else if (clk_en == 1'b1) exp_pipeline8c <= exp_pipeline7c;
  6388. // synopsys translate_off
  6389. initial
  6390. exp_pipeline9c = 0;
  6391. // synopsys translate_on
  6392. always @ ( posedge clock or posedge aclr)
  6393. if (aclr == 1'b1) exp_pipeline9c <= 9'b0;
  6394. else if (clk_en == 1'b1) exp_pipeline9c <= exp_pipeline8c;
  6395. // synopsys translate_off
  6396. initial
  6397. exp_res_pipe3 = 0;
  6398. // synopsys translate_on
  6399. always @ ( posedge clock or posedge aclr)
  6400. if (aclr == 1'b1) exp_res_pipe3 <= 8'b0;
  6401. else if (clk_en == 1'b1) exp_res_pipe3 <= exp_res_int_w;
  6402. // synopsys translate_off
  6403. initial
  6404. implied_bit = 0;
  6405. // synopsys translate_on
  6406. always @ ( posedge clock or posedge aclr)
  6407. if (aclr == 1'b1) implied_bit <= 1'b0;
  6408. else if (clk_en == 1'b1) implied_bit <= wire_altfp_div_srt_ext1_quotient[26];
  6409. // synopsys translate_off
  6410. initial
  6411. implied_bit2a = 0;
  6412. // synopsys translate_on
  6413. always @ ( posedge clock or posedge aclr)
  6414. if (aclr == 1'b1) implied_bit2a <= 1'b0;
  6415. else if (clk_en == 1'b1) implied_bit2a <= implied_bit;
  6416. // synopsys translate_off
  6417. initial
  6418. man_a_and_dffe = 0;
  6419. // synopsys translate_on
  6420. always @ ( posedge clock or posedge aclr)
  6421. if (aclr == 1'b1) man_a_and_dffe <= 1'b0;
  6422. else if (clk_en == 1'b1) man_a_and_dffe <= man_a_and_msb2_w;
  6423. // synopsys translate_off
  6424. initial
  6425. man_a_dffe = 0;
  6426. // synopsys translate_on
  6427. always @ ( posedge clock or posedge aclr)
  6428. if (aclr == 1'b1) man_a_dffe <= 23'b0;
  6429. else if (clk_en == 1'b1) man_a_dffe <= dataa_int[22:0];
  6430. // synopsys translate_off
  6431. initial
  6432. man_a_or_dffe = 0;
  6433. // synopsys translate_on
  6434. always @ ( posedge clock or posedge aclr)
  6435. if (aclr == 1'b1) man_a_or_dffe <= 1'b0;
  6436. else if (clk_en == 1'b1) man_a_or_dffe <= man_a_or_msb2_w;
  6437. // synopsys translate_off
  6438. initial
  6439. man_b_and_dffe = 0;
  6440. // synopsys translate_on
  6441. always @ ( posedge clock or posedge aclr)
  6442. if (aclr == 1'b1) man_b_and_dffe <= 1'b0;
  6443. else if (clk_en == 1'b1) man_b_and_dffe <= man_b_and_msb2_w;
  6444. // synopsys translate_off
  6445. initial
  6446. man_b_dffe = 0;
  6447. // synopsys translate_on
  6448. always @ ( posedge clock or posedge aclr)
  6449. if (aclr == 1'b1) man_b_dffe <= 23'b0;
  6450. else if (clk_en == 1'b1) man_b_dffe <= datab_int[22:0];
  6451. // synopsys translate_off
  6452. initial
  6453. man_b_or_dffe = 0;
  6454. // synopsys translate_on
  6455. always @ ( posedge clock or posedge aclr)
  6456. if (aclr == 1'b1) man_b_or_dffe <= 1'b0;
  6457. else if (clk_en == 1'b1) man_b_or_dffe <= man_b_or_msb2_w;
  6458. // synopsys translate_off
  6459. initial
  6460. man_res_pipe3 = 0;
  6461. // synopsys translate_on
  6462. always @ ( posedge clock or posedge aclr)
  6463. if (aclr == 1'b1) man_res_pipe3 <= 24'b0;
  6464. else if (clk_en == 1'b1) man_res_pipe3 <= man_res_int_w;
  6465. // synopsys translate_off
  6466. initial
  6467. quotient_pipe1a = 0;
  6468. // synopsys translate_on
  6469. always @ ( posedge clock or posedge aclr)
  6470. if (aclr == 1'b1) quotient_pipe1a <= 28'b0;
  6471. else if (clk_en == 1'b1) quotient_pipe1a <= wire_altfp_div_srt_ext1_quotient;
  6472. // synopsys translate_off
  6473. initial
  6474. remainder_pipe1a = 0;
  6475. // synopsys translate_on
  6476. always @ ( posedge clock or posedge aclr)
  6477. if (aclr == 1'b1) remainder_pipe1a <= 24'b0;
  6478. else if (clk_en == 1'b1) remainder_pipe1a <= wire_altfp_div_srt_ext1_remain;
  6479. // synopsys translate_off
  6480. initial
  6481. result_output_dffe = 0;
  6482. // synopsys translate_on
  6483. always @ ( posedge clock or posedge aclr)
  6484. if (aclr == 1'b1) result_output_dffe <= 32'b0;
  6485. else if (clk_en == 1'b1) result_output_dffe <= mux_3_res_w;
  6486. // synopsys translate_off
  6487. initial
  6488. rnd_overflow_dffe = 0;
  6489. // synopsys translate_on
  6490. always @ ( posedge clock or posedge aclr)
  6491. if (aclr == 1'b1) rnd_overflow_dffe <= 1'b0;
  6492. else if (clk_en == 1'b1) rnd_overflow_dffe <= rnd_overflow;
  6493. // synopsys translate_off
  6494. initial
  6495. rnded_man_pipe2a = 0;
  6496. // synopsys translate_on
  6497. always @ ( posedge clock or posedge aclr)
  6498. if (aclr == 1'b1) rnded_man_pipe2a <= 24'b0;
  6499. else if (clk_en == 1'b1) rnded_man_pipe2a <= rnded_man_w;
  6500. // synopsys translate_off
  6501. initial
  6502. sign_a_dffe = 0;
  6503. // synopsys translate_on
  6504. always @ ( posedge clock or posedge aclr)
  6505. if (aclr == 1'b1) sign_a_dffe <= 1'b0;
  6506. else if (clk_en == 1'b1) sign_a_dffe <= dataa_int[31];
  6507. // synopsys translate_off
  6508. initial
  6509. sign_b_dffe = 0;
  6510. // synopsys translate_on
  6511. always @ ( posedge clock or posedge aclr)
  6512. if (aclr == 1'b1) sign_b_dffe <= 1'b0;
  6513. else if (clk_en == 1'b1) sign_b_dffe <= datab_int[31];
  6514. // synopsys translate_off
  6515. initial
  6516. sign_div_pipeline0c = 0;
  6517. // synopsys translate_on
  6518. always @ ( posedge clock or posedge aclr)
  6519. if (aclr == 1'b1) sign_div_pipeline0c <= 1'b0;
  6520. else if (clk_en == 1'b1) sign_div_pipeline0c <= sign_div;
  6521. // synopsys translate_off
  6522. initial
  6523. sign_div_pipeline10c = 0;
  6524. // synopsys translate_on
  6525. always @ ( posedge clock or posedge aclr)
  6526. if (aclr == 1'b1) sign_div_pipeline10c <= 1'b0;
  6527. else if (clk_en == 1'b1) sign_div_pipeline10c <= sign_div_pipeline9c;
  6528. // synopsys translate_off
  6529. initial
  6530. sign_div_pipeline11c = 0;
  6531. // synopsys translate_on
  6532. always @ ( posedge clock or posedge aclr)
  6533. if (aclr == 1'b1) sign_div_pipeline11c <= 1'b0;
  6534. else if (clk_en == 1'b1) sign_div_pipeline11c <= sign_div_pipeline10c;
  6535. // synopsys translate_off
  6536. initial
  6537. sign_div_pipeline12c = 0;
  6538. // synopsys translate_on
  6539. always @ ( posedge clock or posedge aclr)
  6540. if (aclr == 1'b1) sign_div_pipeline12c <= 1'b0;
  6541. else if (clk_en == 1'b1) sign_div_pipeline12c <= sign_div_pipeline11c;
  6542. // synopsys translate_off
  6543. initial
  6544. sign_div_pipeline13c = 0;
  6545. // synopsys translate_on
  6546. always @ ( posedge clock or posedge aclr)
  6547. if (aclr == 1'b1) sign_div_pipeline13c <= 1'b0;
  6548. else if (clk_en == 1'b1) sign_div_pipeline13c <= sign_div_pipeline12c;
  6549. // synopsys translate_off
  6550. initial
  6551. sign_div_pipeline14c = 0;
  6552. // synopsys translate_on
  6553. always @ ( posedge clock or posedge aclr)
  6554. if (aclr == 1'b1) sign_div_pipeline14c <= 1'b0;
  6555. else if (clk_en == 1'b1) sign_div_pipeline14c <= sign_div_pipeline13c;
  6556. // synopsys translate_off
  6557. initial
  6558. sign_div_pipeline15c = 0;
  6559. // synopsys translate_on
  6560. always @ ( posedge clock or posedge aclr)
  6561. if (aclr == 1'b1) sign_div_pipeline15c <= 1'b0;
  6562. else if (clk_en == 1'b1) sign_div_pipeline15c <= sign_div_pipeline14c;
  6563. // synopsys translate_off
  6564. initial
  6565. sign_div_pipeline16c = 0;
  6566. // synopsys translate_on
  6567. always @ ( posedge clock or posedge aclr)
  6568. if (aclr == 1'b1) sign_div_pipeline16c <= 1'b0;
  6569. else if (clk_en == 1'b1) sign_div_pipeline16c <= sign_div_pipeline15c;
  6570. // synopsys translate_off
  6571. initial
  6572. sign_div_pipeline17c = 0;
  6573. // synopsys translate_on
  6574. always @ ( posedge clock or posedge aclr)
  6575. if (aclr == 1'b1) sign_div_pipeline17c <= 1'b0;
  6576. else if (clk_en == 1'b1) sign_div_pipeline17c <= sign_div_pipeline16c;
  6577. // synopsys translate_off
  6578. initial
  6579. sign_div_pipeline18c = 0;
  6580. // synopsys translate_on
  6581. always @ ( posedge clock or posedge aclr)
  6582. if (aclr == 1'b1) sign_div_pipeline18c <= 1'b0;
  6583. else if (clk_en == 1'b1) sign_div_pipeline18c <= sign_div_pipeline17c;
  6584. // synopsys translate_off
  6585. initial
  6586. sign_div_pipeline19c = 0;
  6587. // synopsys translate_on
  6588. always @ ( posedge clock or posedge aclr)
  6589. if (aclr == 1'b1) sign_div_pipeline19c <= 1'b0;
  6590. else if (clk_en == 1'b1) sign_div_pipeline19c <= sign_div_pipeline18c;
  6591. // synopsys translate_off
  6592. initial
  6593. sign_div_pipeline1c = 0;
  6594. // synopsys translate_on
  6595. always @ ( posedge clock or posedge aclr)
  6596. if (aclr == 1'b1) sign_div_pipeline1c <= 1'b0;
  6597. else if (clk_en == 1'b1) sign_div_pipeline1c <= sign_div_pipeline0c;
  6598. // synopsys translate_off
  6599. initial
  6600. sign_div_pipeline20c = 0;
  6601. // synopsys translate_on
  6602. always @ ( posedge clock or posedge aclr)
  6603. if (aclr == 1'b1) sign_div_pipeline20c <= 1'b0;
  6604. else if (clk_en == 1'b1) sign_div_pipeline20c <= sign_div_pipeline19c;
  6605. // synopsys translate_off
  6606. initial
  6607. sign_div_pipeline21c = 0;
  6608. // synopsys translate_on
  6609. always @ ( posedge clock or posedge aclr)
  6610. if (aclr == 1'b1) sign_div_pipeline21c <= 1'b0;
  6611. else if (clk_en == 1'b1) sign_div_pipeline21c <= sign_div_pipeline20c;
  6612. // synopsys translate_off
  6613. initial
  6614. sign_div_pipeline22c = 0;
  6615. // synopsys translate_on
  6616. always @ ( posedge clock or posedge aclr)
  6617. if (aclr == 1'b1) sign_div_pipeline22c <= 1'b0;
  6618. else if (clk_en == 1'b1) sign_div_pipeline22c <= sign_div_pipeline21c;
  6619. // synopsys translate_off
  6620. initial
  6621. sign_div_pipeline23c = 0;
  6622. // synopsys translate_on
  6623. always @ ( posedge clock or posedge aclr)
  6624. if (aclr == 1'b1) sign_div_pipeline23c <= 1'b0;
  6625. else if (clk_en == 1'b1) sign_div_pipeline23c <= sign_div_pipeline22c;
  6626. // synopsys translate_off
  6627. initial
  6628. sign_div_pipeline24c = 0;
  6629. // synopsys translate_on
  6630. always @ ( posedge clock or posedge aclr)
  6631. if (aclr == 1'b1) sign_div_pipeline24c <= 1'b0;
  6632. else if (clk_en == 1'b1) sign_div_pipeline24c <= sign_div_pipeline23c;
  6633. // synopsys translate_off
  6634. initial
  6635. sign_div_pipeline25c = 0;
  6636. // synopsys translate_on
  6637. always @ ( posedge clock or posedge aclr)
  6638. if (aclr == 1'b1) sign_div_pipeline25c <= 1'b0;
  6639. else if (clk_en == 1'b1) sign_div_pipeline25c <= sign_div_pipeline24c;
  6640. // synopsys translate_off
  6641. initial
  6642. sign_div_pipeline26c = 0;
  6643. // synopsys translate_on
  6644. always @ ( posedge clock or posedge aclr)
  6645. if (aclr == 1'b1) sign_div_pipeline26c <= 1'b0;
  6646. else if (clk_en == 1'b1) sign_div_pipeline26c <= sign_div_pipeline25c;
  6647. // synopsys translate_off
  6648. initial
  6649. sign_div_pipeline27c = 0;
  6650. // synopsys translate_on
  6651. always @ ( posedge clock or posedge aclr)
  6652. if (aclr == 1'b1) sign_div_pipeline27c <= 1'b0;
  6653. else if (clk_en == 1'b1) sign_div_pipeline27c <= sign_div_pipeline26c;
  6654. // synopsys translate_off
  6655. initial
  6656. sign_div_pipeline2c = 0;
  6657. // synopsys translate_on
  6658. always @ ( posedge clock or posedge aclr)
  6659. if (aclr == 1'b1) sign_div_pipeline2c <= 1'b0;
  6660. else if (clk_en == 1'b1) sign_div_pipeline2c <= sign_div_pipeline1c;
  6661. // synopsys translate_off
  6662. initial
  6663. sign_div_pipeline3c = 0;
  6664. // synopsys translate_on
  6665. always @ ( posedge clock or posedge aclr)
  6666. if (aclr == 1'b1) sign_div_pipeline3c <= 1'b0;
  6667. else if (clk_en == 1'b1) sign_div_pipeline3c <= sign_div_pipeline2c;
  6668. // synopsys translate_off
  6669. initial
  6670. sign_div_pipeline4c = 0;
  6671. // synopsys translate_on
  6672. always @ ( posedge clock or posedge aclr)
  6673. if (aclr == 1'b1) sign_div_pipeline4c <= 1'b0;
  6674. else if (clk_en == 1'b1) sign_div_pipeline4c <= sign_div_pipeline3c;
  6675. // synopsys translate_off
  6676. initial
  6677. sign_div_pipeline5c = 0;
  6678. // synopsys translate_on
  6679. always @ ( posedge clock or posedge aclr)
  6680. if (aclr == 1'b1) sign_div_pipeline5c <= 1'b0;
  6681. else if (clk_en == 1'b1) sign_div_pipeline5c <= sign_div_pipeline4c;
  6682. // synopsys translate_off
  6683. initial
  6684. sign_div_pipeline6c = 0;
  6685. // synopsys translate_on
  6686. always @ ( posedge clock or posedge aclr)
  6687. if (aclr == 1'b1) sign_div_pipeline6c <= 1'b0;
  6688. else if (clk_en == 1'b1) sign_div_pipeline6c <= sign_div_pipeline5c;
  6689. // synopsys translate_off
  6690. initial
  6691. sign_div_pipeline7c = 0;
  6692. // synopsys translate_on
  6693. always @ ( posedge clock or posedge aclr)
  6694. if (aclr == 1'b1) sign_div_pipeline7c <= 1'b0;
  6695. else if (clk_en == 1'b1) sign_div_pipeline7c <= sign_div_pipeline6c;
  6696. // synopsys translate_off
  6697. initial
  6698. sign_div_pipeline8c = 0;
  6699. // synopsys translate_on
  6700. always @ ( posedge clock or posedge aclr)
  6701. if (aclr == 1'b1) sign_div_pipeline8c <= 1'b0;
  6702. else if (clk_en == 1'b1) sign_div_pipeline8c <= sign_div_pipeline7c;
  6703. // synopsys translate_off
  6704. initial
  6705. sign_div_pipeline9c = 0;
  6706. // synopsys translate_on
  6707. always @ ( posedge clock or posedge aclr)
  6708. if (aclr == 1'b1) sign_div_pipeline9c <= 1'b0;
  6709. else if (clk_en == 1'b1) sign_div_pipeline9c <= sign_div_pipeline8c;
  6710. // synopsys translate_off
  6711. initial
  6712. sign_pipe1a = 0;
  6713. // synopsys translate_on
  6714. always @ ( posedge clock or posedge aclr)
  6715. if (aclr == 1'b1) sign_pipe1a <= 1'b0;
  6716. else if (clk_en == 1'b1) sign_pipe1a <= sign_div_pipeline_w;
  6717. // synopsys translate_off
  6718. initial
  6719. sign_pipe2a = 0;
  6720. // synopsys translate_on
  6721. always @ ( posedge clock or posedge aclr)
  6722. if (aclr == 1'b1) sign_pipe2a <= 1'b0;
  6723. else if (clk_en == 1'b1) sign_pipe2a <= sign_pipe1a;
  6724. // synopsys translate_off
  6725. initial
  6726. sign_pipe3a = 0;
  6727. // synopsys translate_on
  6728. always @ ( posedge clock or posedge aclr)
  6729. if (aclr == 1'b1) sign_pipe3a <= 1'b0;
  6730. else if (clk_en == 1'b1) sign_pipe3a <= sign_pipe2a;
  6731. lpm_add_sub add_sub10
  6732. (
  6733. .cout(),
  6734. .dataa(exp_dffe2a_w),
  6735. .datab(bias_add_w),
  6736. .overflow(wire_add_sub10_overflow),
  6737. .result(wire_add_sub10_result)
  6738. `ifndef FORMAL_VERIFICATION
  6739. // synopsys translate_off
  6740. `endif
  6741. ,
  6742. .aclr(1'b0),
  6743. .add_sub(1'b1),
  6744. .cin(),
  6745. .clken(1'b1),
  6746. .clock(1'b0)
  6747. `ifndef FORMAL_VERIFICATION
  6748. // synopsys translate_on
  6749. `endif
  6750. );
  6751. defparam
  6752. add_sub10.lpm_direction = "ADD",
  6753. add_sub10.lpm_representation = "SIGNED",
  6754. add_sub10.lpm_width = 9,
  6755. add_sub10.lpm_type = "lpm_add_sub";
  6756. lpm_add_sub add_sub9
  6757. (
  6758. .aclr(aclr),
  6759. .clken(clk_en),
  6760. .clock(clock),
  6761. .cout(),
  6762. .dataa(exp_sub_a_w),
  6763. .datab(exp_sub_b_w),
  6764. .overflow(),
  6765. .result(wire_add_sub9_result)
  6766. `ifndef FORMAL_VERIFICATION
  6767. // synopsys translate_off
  6768. `endif
  6769. ,
  6770. .add_sub(1'b1),
  6771. .cin()
  6772. `ifndef FORMAL_VERIFICATION
  6773. // synopsys translate_on
  6774. `endif
  6775. );
  6776. defparam
  6777. add_sub9.lpm_direction = "SUB",
  6778. add_sub9.lpm_pipeline = 1,
  6779. add_sub9.lpm_representation = "SIGNED",
  6780. add_sub9.lpm_width = 9,
  6781. add_sub9.lpm_type = "lpm_add_sub";
  6782. lpm_compare cmpr2
  6783. (
  6784. .aeb(wire_cmpr2_aeb),
  6785. .agb(wire_cmpr2_agb),
  6786. .ageb(),
  6787. .alb(),
  6788. .aleb(),
  6789. .aneb(),
  6790. .dataa(quo_msb_m1_compare_dataa[52:39]),
  6791. .datab(quo_msb_m1_compare_datab[52:39])
  6792. `ifndef FORMAL_VERIFICATION
  6793. // synopsys translate_off
  6794. `endif
  6795. ,
  6796. .aclr(1'b0),
  6797. .clken(1'b1),
  6798. .clock(1'b0)
  6799. `ifndef FORMAL_VERIFICATION
  6800. // synopsys translate_on
  6801. `endif
  6802. );
  6803. defparam
  6804. cmpr2.lpm_representation = "UNSIGNED",
  6805. cmpr2.lpm_width = 14,
  6806. cmpr2.lpm_type = "lpm_compare";
  6807. lpm_compare cmpr3
  6808. (
  6809. .aeb(wire_cmpr3_aeb),
  6810. .agb(wire_cmpr3_agb),
  6811. .ageb(),
  6812. .alb(),
  6813. .aleb(),
  6814. .aneb(),
  6815. .dataa(quo_msb_m1_compare_dataa[38:26]),
  6816. .datab(quo_msb_m1_compare_datab[38:26])
  6817. `ifndef FORMAL_VERIFICATION
  6818. // synopsys translate_off
  6819. `endif
  6820. ,
  6821. .aclr(1'b0),
  6822. .clken(1'b1),
  6823. .clock(1'b0)
  6824. `ifndef FORMAL_VERIFICATION
  6825. // synopsys translate_on
  6826. `endif
  6827. );
  6828. defparam
  6829. cmpr3.lpm_representation = "UNSIGNED",
  6830. cmpr3.lpm_width = 13,
  6831. cmpr3.lpm_type = "lpm_compare";
  6832. lpm_compare cmpr4
  6833. (
  6834. .aeb(wire_cmpr4_aeb),
  6835. .agb(wire_cmpr4_agb),
  6836. .ageb(),
  6837. .alb(),
  6838. .aleb(),
  6839. .aneb(),
  6840. .dataa(quo_msb_m1_compare_dataa[25:13]),
  6841. .datab(quo_msb_m1_compare_datab[25:13])
  6842. `ifndef FORMAL_VERIFICATION
  6843. // synopsys translate_off
  6844. `endif
  6845. ,
  6846. .aclr(1'b0),
  6847. .clken(1'b1),
  6848. .clock(1'b0)
  6849. `ifndef FORMAL_VERIFICATION
  6850. // synopsys translate_on
  6851. `endif
  6852. );
  6853. defparam
  6854. cmpr4.lpm_representation = "UNSIGNED",
  6855. cmpr4.lpm_width = 13,
  6856. cmpr4.lpm_type = "lpm_compare";
  6857. lpm_compare cmpr5
  6858. (
  6859. .aeb(),
  6860. .agb(),
  6861. .ageb(wire_cmpr5_ageb),
  6862. .alb(),
  6863. .aleb(),
  6864. .aneb(),
  6865. .dataa(quo_msb_m1_compare_dataa[12:0]),
  6866. .datab(quo_msb_m1_compare_datab[12:0])
  6867. `ifndef FORMAL_VERIFICATION
  6868. // synopsys translate_off
  6869. `endif
  6870. ,
  6871. .aclr(1'b0),
  6872. .clken(1'b1),
  6873. .clock(1'b0)
  6874. `ifndef FORMAL_VERIFICATION
  6875. // synopsys translate_on
  6876. `endif
  6877. );
  6878. defparam
  6879. cmpr5.lpm_representation = "UNSIGNED",
  6880. cmpr5.lpm_width = 13,
  6881. cmpr5.lpm_type = "lpm_compare";
  6882. lpm_compare cmpr6
  6883. (
  6884. .aeb(wire_cmpr6_aeb),
  6885. .agb(wire_cmpr6_agb),
  6886. .ageb(),
  6887. .alb(),
  6888. .aleb(),
  6889. .aneb(),
  6890. .dataa(quo_msb_m2_compare_dataa[53:27]),
  6891. .datab(quo_msb_m2_compare_datab[53:27])
  6892. `ifndef FORMAL_VERIFICATION
  6893. // synopsys translate_off
  6894. `endif
  6895. ,
  6896. .aclr(1'b0),
  6897. .clken(1'b1),
  6898. .clock(1'b0)
  6899. `ifndef FORMAL_VERIFICATION
  6900. // synopsys translate_on
  6901. `endif
  6902. );
  6903. defparam
  6904. cmpr6.lpm_representation = "UNSIGNED",
  6905. cmpr6.lpm_width = 27,
  6906. cmpr6.lpm_type = "lpm_compare";
  6907. lpm_compare cmpr7
  6908. (
  6909. .aeb(),
  6910. .agb(),
  6911. .ageb(wire_cmpr7_ageb),
  6912. .alb(),
  6913. .aleb(),
  6914. .aneb(),
  6915. .dataa(quo_msb_m2_compare_dataa[26:0]),
  6916. .datab(quo_msb_m2_compare_datab[26:0])
  6917. `ifndef FORMAL_VERIFICATION
  6918. // synopsys translate_off
  6919. `endif
  6920. ,
  6921. .aclr(1'b0),
  6922. .clken(1'b1),
  6923. .clock(1'b0)
  6924. `ifndef FORMAL_VERIFICATION
  6925. // synopsys translate_on
  6926. `endif
  6927. );
  6928. defparam
  6929. cmpr7.lpm_representation = "UNSIGNED",
  6930. cmpr7.lpm_width = 27,
  6931. cmpr7.lpm_type = "lpm_compare";
  6932. assign
  6933. add_1_dataa_w = {checked_quotient_dffe1a_w},
  6934. add_1_datab_w = {24{1'b0}},
  6935. add_1_w = ((((~ guard_bit_dffe1a_w) & round_bit_dffe1a_w) & sticky_bit_dffe1a_w) | (guard_bit_dffe1a_w & round_bit_dffe1a_w)),
  6936. add_one_process_w = wire_altfp_div_csa8_result,
  6937. and_or_dffe1a_w = and_or_dffe1a,
  6938. and_or_dffe3a_w = and_or_dffe3a,
  6939. and_or_dffe_w = and_or_dffe,
  6940. and_or_int_w = and_or_dffe1a,
  6941. and_or_pipeline_w = and_or_pipeline27c,
  6942. bias_add_w = (({9{(~ exp_a_b_w)}} & value_zero_w) | ({9{exp_a_b_w}} & bias_value_w)),
  6943. bias_addition_overf_w = (wire_add_sub10_overflow | ((~ exp_sign_w) & exp_bias_and_res_w)),
  6944. bias_addition_w = wire_add_sub10_result[7:0],
  6945. bias_value_w = (((({9{((~ mux1_exp_s1a) & (~ mux1_exp_s0a))}} & value_minus_1_w) | ({9{((~ mux1_exp_s1a) & mux1_exp_s0a)}} & value_normal_w)) | ({9{(mux1_exp_s1a & (~ mux1_exp_s0a))}} & value_normal_w)) | ({9{(mux1_exp_s1a & mux1_exp_s0a)}} & value_add_1_w)),
  6946. checked_quotient_dffe1a_w = checked_quotient_w,
  6947. checked_quotient_w = (({24{quo_msb_m1_w}} & quotient_msb_m1_w) | ({24{(~ quo_msb_m1_w)}} & quotient_msb_m2_w)),
  6948. dataa_exp_bus_w = dataa[30:23],
  6949. dataa_int = {dataa[31], (({31{dataa_S0}} & zero_bit_31_w) | ({31{(~ dataa_S0)}} & dataa[30:0]))},
  6950. dataa_man_bus_w = dataa[22:0],
  6951. dataa_S0 = ((~ exp_a_or_msb_w) & man_a_or_msb_w),
  6952. datab_exp_bus_w = datab[30:23],
  6953. datab_int = {datab[31], (({31{datab_S0}} & zero_bit_31_w) | ({31{(~ datab_S0)}} & datab[30:0]))},
  6954. datab_man_bus_w = datab[22:0],
  6955. datab_S0 = ((~ exp_b_or_msb_w) & man_b_or_msb_w),
  6956. divider_srt_w = divider_pipe1a,
  6957. exp_a_and_msb2_w = and_or_dffe3a_w[6],
  6958. exp_a_and_msb_w = exp_a_and_w[7],
  6959. exp_a_and_mux_w = ((dataa_S0 & zero_bit_w) | ((~ dataa_S0) & exp_a_and_msb_w)),
  6960. exp_a_and_w = {(exp_a_and_w[6] & exp_a_bus_w[7]), (exp_a_and_w[5] & exp_a_bus_w[6]), (exp_a_and_w[4] & exp_a_bus_w[5]), (exp_a_and_w[3] & exp_a_bus_w[4]), (exp_a_and_w[2] & exp_a_bus_w[3]), (exp_a_and_w[1] & exp_a_bus_w[2]), (exp_a_and_w[0] & exp_a_bus_w[1]), exp_a_bus_w[0]},
  6961. exp_a_b_w = exp_a_b_dffe,
  6962. exp_a_bus_w = dataa_exp_bus_w,
  6963. exp_a_non_zero_w = exp_a_or_dffe,
  6964. exp_a_one_w = exp_a_and_dffe,
  6965. exp_a_or_msb2_w = and_or_dffe3a_w[7],
  6966. exp_a_or_msb_w = exp_a_or_w[7],
  6967. exp_a_or_mux_w = ((dataa_S0 & zero_bit_w) | ((~ dataa_S0) & exp_a_or_msb_w)),
  6968. exp_a_or_w = {(exp_a_or_w[6] | exp_a_bus_w[7]), (exp_a_or_w[5] | exp_a_bus_w[6]), (exp_a_or_w[4] | exp_a_bus_w[5]), (exp_a_or_w[3] | exp_a_bus_w[4]), (exp_a_or_w[2] | exp_a_bus_w[3]), (exp_a_or_w[1] | exp_a_bus_w[2]), (exp_a_or_w[0] | exp_a_bus_w[1]), exp_a_bus_w[0]},
  6969. exp_a_w = exp_a_dffe,
  6970. exp_a_zero_w = (~ exp_a_or_dffe),
  6971. exp_b_and_msb2_w = and_or_dffe3a_w[2],
  6972. exp_b_and_msb_w = exp_b_and_w[7],
  6973. exp_b_and_mux_w = ((datab_S0 & zero_bit_w) | ((~ datab_S0) & exp_b_and_msb_w)),
  6974. exp_b_and_w = {(exp_b_and_w[6] & exp_b_bus_w[7]), (exp_b_and_w[5] & exp_b_bus_w[6]), (exp_b_and_w[4] & exp_b_bus_w[5]), (exp_b_and_w[3] & exp_b_bus_w[4]), (exp_b_and_w[2] & exp_b_bus_w[3]), (exp_b_and_w[1] & exp_b_bus_w[2]), (exp_b_and_w[0] & exp_b_bus_w[1]), exp_b_bus_w[0]},
  6975. exp_b_bus_w = datab_exp_bus_w,
  6976. exp_b_non_zero_w = exp_b_or_dffe,
  6977. exp_b_one_w = exp_b_and_dffe,
  6978. exp_b_or_msb2_w = and_or_dffe3a_w[3],
  6979. exp_b_or_msb_w = exp_b_or_w[7],
  6980. exp_b_or_mux_w = ((datab_S0 & zero_bit_w) | ((~ datab_S0) & exp_b_or_msb_w)),
  6981. exp_b_or_w = {(exp_b_or_w[6] | exp_b_bus_w[7]), (exp_b_or_w[5] | exp_b_bus_w[6]), (exp_b_or_w[4] | exp_b_bus_w[5]), (exp_b_or_w[3] | exp_b_bus_w[4]), (exp_b_or_w[2] | exp_b_bus_w[3]), (exp_b_or_w[1] | exp_b_bus_w[2]), (exp_b_or_w[0] | exp_b_bus_w[1]), exp_b_bus_w[0]},
  6982. exp_b_w = exp_b_dffe,
  6983. exp_b_zero_w = (~ exp_b_or_dffe),
  6984. exp_bias_and_res_w = exp_bias_and_w[7],
  6985. exp_bias_and_w = {(exp_bias_and_w[6] & exp_bias_bus_w[7]), (exp_bias_and_w[5] & exp_bias_bus_w[6]), (exp_bias_and_w[4] & exp_bias_bus_w[5]), (exp_bias_and_w[3] & exp_bias_bus_w[4]), (exp_bias_and_w[2] & exp_bias_bus_w[3]), (exp_bias_and_w[1] & exp_bias_bus_w[2]), (exp_bias_and_w[0] & exp_bias_bus_w[1]), exp_bias_bus_w[0]},
  6986. exp_bias_bus_w = wire_add_sub10_result[7:0],
  6987. exp_dffe1a_w = exp_dffe1a,
  6988. exp_dffe2a_w = exp_dffe2a,
  6989. exp_exc_ones_w = {8{1'b1}},
  6990. exp_exc_zeros_w = {8{1'b0}},
  6991. exp_higher_bit = not_bias_addition_w[7:6],
  6992. exp_higher_or = {(exp_higher_or[0] | exp_higher_bit[1]), exp_higher_bit[0]},
  6993. exp_infi_bus_w = norm_infi_and_w[7],
  6994. exp_man_and_or_w = {exp_a_or_mux_w, exp_a_and_mux_w, man_a_or_mux_w, man_a_and_mux_w, exp_b_or_mux_w, exp_b_and_mux_w, man_b_or_mux_w, man_b_and_mux_w},
  6995. exp_or_result_w = (and_or_dffe1a_w[7] | and_or_dffe1a_w[3]),
  6996. exp_pipeline_w = exp_pipeline26c,
  6997. exp_res_and_w = {(exp_res_and_w[6] & exp_res_bus_w[7]), (exp_res_and_w[5] & exp_res_bus_w[6]), (exp_res_and_w[4] & exp_res_bus_w[5]), (exp_res_and_w[3] & exp_res_bus_w[4]), (exp_res_and_w[2] & exp_res_bus_w[3]), (exp_res_and_w[1] & exp_res_bus_w[2]), (exp_res_and_w[0] & exp_res_bus_w[1]), exp_res_bus_w[0]},
  6998. exp_res_bus_w = exp_res_w,
  6999. exp_res_int2_bus_w = exp_res_int2_w,
  7000. exp_res_int2_or_w = {(exp_res_int2_or_w[6] | exp_res_int2_bus_w[7]), (exp_res_int2_or_w[5] | exp_res_int2_bus_w[6]), (exp_res_int2_or_w[4] | exp_res_int2_bus_w[5]), (exp_res_int2_or_w[3] | exp_res_int2_bus_w[4]), (exp_res_int2_or_w[2] | exp_res_int2_bus_w[3]), (exp_res_int2_or_w[1] | exp_res_int2_bus_w[2]), (exp_res_int2_or_w[0] | exp_res_int2_bus_w[1]), exp_res_int2_bus_w[0]},
  7001. exp_res_int2_w = exp_res_pipe3,
  7002. exp_res_int_w = ((({8{((~ bias_addition_overf_w) & (~ exp_sign_w))}} & bias_addition_w) | ({8{((~ bias_addition_overf_w) & exp_sign_w)}} & underflow_zeros_w)) | ({8{(bias_addition_overf_w & (~ exp_sign_w))}} & overflow_ones_w)),
  7003. exp_res_w = (({8{not_exp_res_int2_or_res_w}} & zero_bit_8_w) | ({8{(~ not_exp_res_int2_or_res_w)}} & exp_res_int2_w)),
  7004. exp_sign_w = wire_add_sub10_result[8],
  7005. exp_sub_a_w = {1'b0, exp_a_w},
  7006. exp_sub_b_w = {1'b0, exp_b_w},
  7007. exp_sub_w = wire_add_sub9_result,
  7008. exp_zero_bus_w = (~ norm_zero_or_w[7]),
  7009. guard_bit_dffe1a_w = guard_bit_w,
  7010. guard_bit_quo_msb_m1 = quotient_w[3],
  7011. guard_bit_quo_msb_m2 = quotient_w[2],
  7012. guard_bit_w = ((quo_msb_m1_w & guard_bit_quo_msb_m1) | ((~ quo_msb_m1_w) & guard_bit_quo_msb_m2)),
  7013. infi_combi_w = (((infi_dataa_w & norm_datab_w) | (norm_dataa_w & zero_datab_w)) | (infi_dataa_w & zero_datab_w)),
  7014. infi_dataa_w = (exp_a_one_w & man_a_zero_w),
  7015. infi_datab_w = (exp_b_one_w & man_b_zero_w),
  7016. infi_res_w = {sign_exc_bit_w, exp_exc_ones_w, man_exc_zeros_w},
  7017. infinite_int_w = (infi_combi_w | overflow_int_w),
  7018. infinite_w = infinite_int_w,
  7019. man_24_zeros_w = {24{1'b0}},
  7020. man_a_and_msb2_w = and_or_dffe3a_w[4],
  7021. man_a_and_msb_w = man_a_and_w[22],
  7022. man_a_and_mux_w = ((dataa_S0 & zero_bit_w) | ((~ dataa_S0) & man_a_and_msb_w)),
  7023. man_a_and_w = {(man_a_and_w[21] & man_a_bus_w[22]), (man_a_and_w[20] & man_a_bus_w[21]), (man_a_and_w[19] & man_a_bus_w[20]), (man_a_and_w[18] & man_a_bus_w[19]), (man_a_and_w[17] & man_a_bus_w[18]), (man_a_and_w[16] & man_a_bus_w[17]), (man_a_and_w[15] & man_a_bus_w[16]), (man_a_and_w[14] & man_a_bus_w[15]), (man_a_and_w[13] & man_a_bus_w[14]), (man_a_and_w[12] & man_a_bus_w[13]), (man_a_and_w[11] & man_a_bus_w[12]), (man_a_and_w[10] & man_a_bus_w[11]), (man_a_and_w[9] & man_a_bus_w[10]), (man_a_and_w[8] & man_a_bus_w[9]), (man_a_and_w[7] & man_a_bus_w[8]), (man_a_and_w[6] & man_a_bus_w[7]), (man_a_and_w[5] & man_a_bus_w[6]), (man_a_and_w[4] & man_a_bus_w[5]), (man_a_and_w[3] & man_a_bus_w[4]), (man_a_and_w[2] & man_a_bus_w[3]), (man_a_and_w[1] & man_a_bus_w[2]), (man_a_and_w[0] & man_a_bus_w[1]), man_a_bus_w[0]},
  7024. man_a_bus_w = dataa_man_bus_w,
  7025. man_a_int_w = man_a_dffe,
  7026. man_a_non_zero_w = man_a_or_dffe,
  7027. man_a_one_w = man_a_and_dffe,
  7028. man_a_or_msb2_w = and_or_dffe3a_w[5],
  7029. man_a_or_msb_w = man_a_or_w[22],
  7030. man_a_or_mux_w = ((dataa_S0 & zero_bit_w) | ((~ dataa_S0) & man_a_or_msb_w)),
  7031. man_a_or_w = {(man_a_or_w[21] | man_a_bus_w[22]), (man_a_or_w[20] | man_a_bus_w[21]), (man_a_or_w[19] | man_a_bus_w[20]), (man_a_or_w[18] | man_a_bus_w[19]), (man_a_or_w[17] | man_a_bus_w[18]), (man_a_or_w[16] | man_a_bus_w[17]), (man_a_or_w[15] | man_a_bus_w[16]), (man_a_or_w[14] | man_a_bus_w[15]), (man_a_or_w[13] | man_a_bus_w[14]), (man_a_or_w[12] | man_a_bus_w[13]), (man_a_or_w[11] | man_a_bus_w[12]), (man_a_or_w[10] | man_a_bus_w[11]), (man_a_or_w[9] | man_a_bus_w[10]), (man_a_or_w[8] | man_a_bus_w[9]), (man_a_or_w[7] | man_a_bus_w[8]), (man_a_or_w[6] | man_a_bus_w[7]), (man_a_or_w[5] | man_a_bus_w[6]), (man_a_or_w[4] | man_a_bus_w[5]), (man_a_or_w[3] | man_a_bus_w[4]), (man_a_or_w[2] | man_a_bus_w[3]), (man_a_or_w[1] | man_a_bus_w[2]), (man_a_or_w[0] | man_a_bus_w[1]), man_a_bus_w[0]},
  7032. man_a_w = {1'b1, man_a_int_w},
  7033. man_a_zero_w = (~ man_a_or_dffe),
  7034. man_b_and_msb2_w = and_or_dffe3a_w[0],
  7035. man_b_and_msb_w = man_b_and_w[22],
  7036. man_b_and_mux_w = ((datab_S0 & zero_bit_w) | ((~ datab_S0) & man_b_and_msb_w)),
  7037. man_b_and_w = {(man_b_and_w[21] & man_b_bus_w[22]), (man_b_and_w[20] & man_b_bus_w[21]), (man_b_and_w[19] & man_b_bus_w[20]), (man_b_and_w[18] & man_b_bus_w[19]), (man_b_and_w[17] & man_b_bus_w[18]), (man_b_and_w[16] & man_b_bus_w[17]), (man_b_and_w[15] & man_b_bus_w[16]), (man_b_and_w[14] & man_b_bus_w[15]), (man_b_and_w[13] & man_b_bus_w[14]), (man_b_and_w[12] & man_b_bus_w[13]), (man_b_and_w[11] & man_b_bus_w[12]), (man_b_and_w[10] & man_b_bus_w[11]), (man_b_and_w[9] & man_b_bus_w[10]), (man_b_and_w[8] & man_b_bus_w[9]), (man_b_and_w[7] & man_b_bus_w[8]), (man_b_and_w[6] & man_b_bus_w[7]), (man_b_and_w[5] & man_b_bus_w[6]), (man_b_and_w[4] & man_b_bus_w[5]), (man_b_and_w[3] & man_b_bus_w[4]), (man_b_and_w[2] & man_b_bus_w[3]), (man_b_and_w[1] & man_b_bus_w[2]), (man_b_and_w[0] & man_b_bus_w[1]), man_b_bus_w[0]},
  7038. man_b_bus_w = datab_man_bus_w,
  7039. man_b_int_w = man_b_dffe,
  7040. man_b_non_zero_w = man_b_or_dffe,
  7041. man_b_one_w = man_b_and_dffe,
  7042. man_b_or_msb2_w = and_or_dffe3a_w[1],
  7043. man_b_or_msb_w = man_b_or_w[22],
  7044. man_b_or_mux_w = ((datab_S0 & zero_bit_w) | ((~ datab_S0) & man_b_or_msb_w)),
  7045. man_b_or_w = {(man_b_or_w[21] | man_b_bus_w[22]), (man_b_or_w[20] | man_b_bus_w[21]), (man_b_or_w[19] | man_b_bus_w[20]), (man_b_or_w[18] | man_b_bus_w[19]), (man_b_or_w[17] | man_b_bus_w[18]), (man_b_or_w[16] | man_b_bus_w[17]), (man_b_or_w[15] | man_b_bus_w[16]), (man_b_or_w[14] | man_b_bus_w[15]), (man_b_or_w[13] | man_b_bus_w[14]), (man_b_or_w[12] | man_b_bus_w[13]), (man_b_or_w[11] | man_b_bus_w[12]), (man_b_or_w[10] | man_b_bus_w[11]), (man_b_or_w[9] | man_b_bus_w[10]), (man_b_or_w[8] | man_b_bus_w[9]), (man_b_or_w[7] | man_b_bus_w[8]), (man_b_or_w[6] | man_b_bus_w[7]), (man_b_or_w[5] | man_b_bus_w[6]), (man_b_or_w[4] | man_b_bus_w[5]), (man_b_or_w[3] | man_b_bus_w[4]), (man_b_or_w[2] | man_b_bus_w[3]), (man_b_or_w[1] | man_b_bus_w[2]), (man_b_or_w[0] | man_b_bus_w[1]), man_b_bus_w[0]},
  7046. man_b_w = {1'b1, man_b_int_w},
  7047. man_b_zero_w = (~ man_b_or_dffe),
  7048. man_exc_nan_w = {1'b1, man_exc_zeros_w[21:0]},
  7049. man_exc_zeros_w = {23{1'b0}},
  7050. man_res_bus_w = man_res_w[22:0],
  7051. man_res_int2_w = man_res_pipe3,
  7052. man_res_int_w = mux_zero_non_zero_w,
  7053. man_res_or_w = {(man_res_or_w[21] | man_res_bus_w[22]), (man_res_or_w[20] | man_res_bus_w[21]), (man_res_or_w[19] | man_res_bus_w[20]), (man_res_or_w[18] | man_res_bus_w[19]), (man_res_or_w[17] | man_res_bus_w[18]), (man_res_or_w[16] | man_res_bus_w[17]), (man_res_or_w[15] | man_res_bus_w[16]), (man_res_or_w[14] | man_res_bus_w[15]), (man_res_or_w[13] | man_res_bus_w[14]), (man_res_or_w[12] | man_res_bus_w[13]), (man_res_or_w[11] | man_res_bus_w[12]), (man_res_or_w[10] | man_res_bus_w[11]), (man_res_or_w[9] | man_res_bus_w[10]), (man_res_or_w[8] | man_res_bus_w[9]), (man_res_or_w[7] | man_res_bus_w[8]), (man_res_or_w[6] | man_res_bus_w[7]), (man_res_or_w[5] | man_res_bus_w[6]), (man_res_or_w[4] | man_res_bus_w[5]), (man_res_or_w[3] | man_res_bus_w[4]), (man_res_or_w[2] | man_res_bus_w[3]), (man_res_or_w[1] | man_res_bus_w[2]), (man_res_or_w[0] | man_res_bus_w[1]), man_res_bus_w[0]},
  7054. man_res_w = (({24{not_exp_res_int2_or_res_w}} & zero_bit_23_w) | ({24{(~ not_exp_res_int2_or_res_w)}} & man_res_int2_w)),
  7055. mux1_exp_s0a = rnd_add_overf_w,
  7056. mux1_exp_s1a = implied_bit2a,
  7057. mux_1_res_w = (({32{infinite_w}} & infi_res_w) | ({32{(~ infinite_w)}} & norm_res_int_w)),
  7058. mux_2_res_w = (({32{zero_w}} & zero_res_w) | ({32{(~ zero_w)}} & mux_1_res_w)),
  7059. mux_3_res_w = (({32{nan_w}} & nan_res_w) | ({32{(~ nan_w)}} & mux_2_res_w)),
  7060. mux_zero_non_zero_S0 = (((exp_zero_bus_w | signed_N_exp_h_or) | bias_addition_overf_w) | (exp_infi_bus_w & (~ exp_sign_w))),
  7061. mux_zero_non_zero_w = (({24{mux_zero_non_zero_S0}} & man_24_zeros_w) | ({24{(~ mux_zero_non_zero_S0)}} & res_rnded_man_w)),
  7062. nan_dataa_w = (exp_a_one_w & (man_a_non_zero_w | man_a_one_w)),
  7063. nan_datab_w = (exp_b_one_w & (man_b_non_zero_w | man_b_one_w)),
  7064. nan_res_w = {sign_exc_bit_w, exp_exc_ones_w, man_exc_nan_w},
  7065. nan_w = (((nan_dataa_w | nan_datab_w) | (zero_dataa_w & zero_datab_w)) | (infi_dataa_w & infi_datab_w)),
  7066. norm_dataa_w = ((exp_a_non_zero_w & ((man_a_zero_w | man_a_non_zero_w) | man_a_one_w)) & (~ exp_a_one_w)),
  7067. norm_datab_w = ((exp_b_non_zero_w & ((man_b_zero_w | man_b_non_zero_w) | man_b_one_w)) & (~ exp_b_one_w)),
  7068. norm_infi_and_w = {(norm_infi_and_w[6] & norm_infi_bus_w[7]), (norm_infi_and_w[5] & norm_infi_bus_w[6]), (norm_infi_and_w[4] & norm_infi_bus_w[5]), (norm_infi_and_w[3] & norm_infi_bus_w[4]), (norm_infi_and_w[2] & norm_infi_bus_w[3]), (norm_infi_and_w[1] & norm_infi_bus_w[2]), (norm_infi_and_w[0] & norm_infi_bus_w[1]), norm_infi_bus_w[0]},
  7069. norm_infi_bus_w = bias_addition_w,
  7070. norm_res_int_w = {sign_pipe3a, exp_res_w[7:0], man_res_w[22:0]},
  7071. norm_zero_bus_w = bias_addition_w,
  7072. norm_zero_or_w = {(norm_zero_or_w[6] | norm_zero_bus_w[7]), (norm_zero_or_w[5] | norm_zero_bus_w[6]), (norm_zero_or_w[4] | norm_zero_bus_w[5]), (norm_zero_or_w[3] | norm_zero_bus_w[4]), (norm_zero_or_w[2] | norm_zero_bus_w[3]), (norm_zero_or_w[1] | norm_zero_bus_w[2]), (norm_zero_or_w[0] | norm_zero_bus_w[1]), norm_zero_bus_w[0]},
  7073. not_bias_addition_w = (~ bias_addition_w),
  7074. not_exp_res_int2_or_res_w = (~ exp_res_int2_or_w[7]),
  7075. overflow_int_w = (((bias_addition_overf_dffe & (~ nan_w)) & (~ infi_combi_w)) & (~ ((norm_dataa_w & (~ zero_dataa_w)) & zero_datab_w))),
  7076. overflow_man_w = {1'b1, {23{1'b0}}},
  7077. overflow_ones_w = {8{1'b1}},
  7078. quo_msb_m1_compare_dataa = {remainder_srt_w, {29{1'b0}}},
  7079. quo_msb_m1_compare_datab = {{29{1'b0}}, divider_srt_w},
  7080. quo_msb_m1_compare_w = (((sticky_quo_msb_m1_comparator_upper_upper_agb_w | (sticky_quo_msb_m1_comparator_upper_upper_aeb_w & sticky_quo_msb_m1_comparator_upper_lower_agb_w)) | (sticky_quo_msb_m1_comparator_upper_lower_aeb_w & sticky_quo_msb_m1_comparator_lower_upper_agb_w)) | (sticky_quo_msb_m1_comparator_lower_upper_aeb_w & sticky_quo_msb_m1_comparator_lower_lower_ageb_w)),
  7081. quo_msb_m1_w = quotient_w[26],
  7082. quo_msb_m2_compare_dataa = {remainder_srt_w, {30{1'b0}}},
  7083. quo_msb_m2_compare_datab = {{30{1'b0}}, divider_srt_w},
  7084. quo_msb_m2_compare_w = (sticky_quo_msb_m2_comparator_upper_agb_w | (sticky_quo_msb_m2_comparator_upper_aeb_w & sticky_quo_msb_m2_comparator_lower_ageb_w)),
  7085. quotient_msb_m1_w = quotient_w[26:3],
  7086. quotient_msb_m2_w = quotient_w[25:2],
  7087. quotient_w = quotient_pipe1a,
  7088. remainder_srt_w = remainder_pipe1a,
  7089. res_rnded_man_w = rnded_man_pipe2a,
  7090. result = result_output_dffe,
  7091. rnd_add_overf_w = rnd_overflow_dffe,
  7092. rnd_overflow = wire_altfp_div_csa8_cout,
  7093. rnded_man_w = (({24{rnd_overflow}} & overflow_man_w) | ({24{(~ rnd_overflow)}} & add_one_process_w)),
  7094. round_bit_dffe1a_w = round_bit_w,
  7095. round_bit_quo_msb_m1 = quotient_w[2],
  7096. round_bit_quo_msb_m2 = quotient_w[1],
  7097. round_bit_w = ((quo_msb_m1_w & round_bit_quo_msb_m1) | ((~ quo_msb_m1_w) & round_bit_quo_msb_m2)),
  7098. sign_a_w = sign_a_dffe,
  7099. sign_b_w = sign_b_dffe,
  7100. sign_div = (sign_a_w ^ sign_b_w),
  7101. sign_div_pipeline_w = sign_div_pipeline27c,
  7102. sign_exc_bit_w = sign_pipe3a,
  7103. signed_N_exp_h_or = (exp_sign_w & exp_higher_or[1]),
  7104. sticky_bit_dffe1a_w = sticky_bit_w,
  7105. sticky_bit_quo_msb_m1 = (quo_msb_m1_compare_w | sticky_bit_quo_msb_m1_or[1]),
  7106. sticky_bit_quo_msb_m1_bit = sticky_bit_quo_msb_m1_tmp,
  7107. sticky_bit_quo_msb_m1_or = {(sticky_bit_quo_msb_m1_or[0] | sticky_bit_quo_msb_m1_bit[1]), sticky_bit_quo_msb_m1_bit[0]},
  7108. sticky_bit_quo_msb_m1_tmp = quotient_w[1:0],
  7109. sticky_bit_quo_msb_m2 = (quo_msb_m2_compare_w | sticky_bit_quo_msb_m2_or[0]),
  7110. sticky_bit_quo_msb_m2_bit = sticky_bit_quo_msb_m2_tmp,
  7111. sticky_bit_quo_msb_m2_or = {sticky_bit_quo_msb_m2_bit[0]},
  7112. sticky_bit_quo_msb_m2_tmp = quotient_w[0],
  7113. sticky_bit_w = ((quo_msb_m1_w & sticky_bit_quo_msb_m1) | ((~ quo_msb_m1_w) & sticky_bit_quo_msb_m2)),
  7114. sticky_quo_msb_m1_comparator_lower_lower_ageb_w = wire_cmpr5_ageb,
  7115. sticky_quo_msb_m1_comparator_lower_upper_aeb_w = wire_cmpr4_aeb,
  7116. sticky_quo_msb_m1_comparator_lower_upper_agb_w = wire_cmpr4_agb,
  7117. sticky_quo_msb_m1_comparator_upper_lower_aeb_w = wire_cmpr3_aeb,
  7118. sticky_quo_msb_m1_comparator_upper_lower_agb_w = wire_cmpr3_agb,
  7119. sticky_quo_msb_m1_comparator_upper_upper_aeb_w = wire_cmpr2_aeb,
  7120. sticky_quo_msb_m1_comparator_upper_upper_agb_w = wire_cmpr2_agb,
  7121. sticky_quo_msb_m2_comparator_lower_ageb_w = wire_cmpr7_ageb,
  7122. sticky_quo_msb_m2_comparator_upper_aeb_w = wire_cmpr6_aeb,
  7123. sticky_quo_msb_m2_comparator_upper_agb_w = wire_cmpr6_agb,
  7124. underflow_zeros_w = {8{1'b0}},
  7125. value_add_1_w = 9'b010000000,
  7126. value_minus_1_w = 9'b001111110,
  7127. value_normal_w = 9'b001111111,
  7128. value_zero_w = {9{1'b0}},
  7129. zero_bit_23_w = {24{1'b0}},
  7130. zero_bit_31_w = {31{1'b0}},
  7131. zero_bit_8_w = {8{1'b0}},
  7132. zero_bit_w = 1'b0,
  7133. zero_dataa_w = (exp_a_zero_w & man_a_zero_w),
  7134. zero_datab_w = (exp_b_zero_w & man_b_zero_w),
  7135. zero_res_w = {sign_exc_bit_w, exp_exc_zeros_w, man_exc_zeros_w},
  7136. zero_w = (((zero_dataa_w & norm_datab_w) | (norm_dataa_w & infi_datab_w)) | (zero_dataa_w & infi_datab_w));
  7137. endmodule //fpoint_hw_qsys_div_single
  7138. //VALID FILE
  7139. //Legal Notice: (C)2010 Altera Corporation. All rights reserved. Your
  7140. //use of Altera Corporation's design tools, logic functions and other
  7141. //software and tools, and its AMPP partner logic functions, and any
  7142. //output files any of the foregoing (including device programming or
  7143. //simulation files), and any associated documentation or information are
  7144. //expressly subject to the terms and conditions of the Altera Program
  7145. //License Subscription Agreement or other applicable license agreement,
  7146. //including, without limitation, that your use is for the sole purpose
  7147. //of programming logic devices manufactured by Altera and sold by Altera
  7148. //or its authorized distributors. Please refer to the applicable
  7149. //agreement for further details.
  7150. // synthesis translate_off
  7151. `timescale 1ns / 1ps
  7152. // synthesis translate_on
  7153. // turn off superfluous verilog processor warnings
  7154. // altera message_level Level1
  7155. // altera message_off 10034 10035 10036 10037 10230 10240 10030
  7156. module fpoint_hw_qsys (
  7157. // inputs:
  7158. clk,
  7159. clk_en,
  7160. dataa,
  7161. datab,
  7162. n,
  7163. reset,
  7164. start,
  7165. // outputs:
  7166. done,
  7167. result
  7168. )
  7169. ;
  7170. output done;
  7171. output [ 31: 0] result;
  7172. input clk;
  7173. input clk_en;
  7174. input [ 31: 0] dataa;
  7175. input [ 31: 0] datab;
  7176. input [ 1: 0] n;
  7177. input reset;
  7178. input start;
  7179. wire add_sub;
  7180. wire [ 5: 0] counter_in;
  7181. reg [ 5: 0] counter_out;
  7182. reg [ 31: 0] dataa_regout;
  7183. reg [ 31: 0] datab_regout;
  7184. wire done;
  7185. wire [ 5: 0] load_data;
  7186. wire local_reset_n;
  7187. wire [ 31: 0] result;
  7188. wire [ 31: 0] result_addsub;
  7189. wire [ 31: 0] result_div;
  7190. wire [ 31: 0] result_mult;
  7191. //register the input for dataa
  7192. always @(posedge clk or negedge local_reset_n)
  7193. begin
  7194. if (local_reset_n == 0)
  7195. dataa_regout <= 0;
  7196. else if (clk_en)
  7197. dataa_regout <= dataa;
  7198. end
  7199. //register the input for datab
  7200. always @(posedge clk or negedge local_reset_n)
  7201. begin
  7202. if (local_reset_n == 0)
  7203. datab_regout <= 0;
  7204. else if (clk_en)
  7205. datab_regout <= datab;
  7206. end
  7207. fpoint_hw_qsys_mult_single the_fp_mult
  7208. (
  7209. .aclr (reset),
  7210. .clk_en (clk_en),
  7211. .clock (clk),
  7212. .dataa (dataa_regout),
  7213. .datab (datab_regout),
  7214. .result (result_mult)
  7215. );
  7216. fpoint_hw_qsys_addsub_single the_fp_addsub
  7217. (
  7218. .aclr (reset),
  7219. .add_sub (add_sub),
  7220. .clk_en (clk_en),
  7221. .clock (clk),
  7222. .dataa (dataa_regout),
  7223. .datab (datab_regout),
  7224. .result (result_addsub)
  7225. );
  7226. fpoint_hw_qsys_div_single the_fp_div
  7227. (
  7228. .aclr (reset),
  7229. .clk_en (clk_en),
  7230. .clock (clk),
  7231. .dataa (dataa_regout),
  7232. .datab (datab_regout),
  7233. .result (result_div)
  7234. );
  7235. //s1, which is an e_custom_instruction_slave
  7236. //down_counter to signal done
  7237. always @(posedge clk or negedge local_reset_n)
  7238. begin
  7239. if (local_reset_n == 0)
  7240. counter_out <= 6'd33;
  7241. else if (clk_en)
  7242. counter_out <= counter_in;
  7243. end
  7244. //decrement or load the counter based on start
  7245. assign counter_in = (start == 0)? counter_out - 1'b1 :
  7246. load_data;
  7247. assign add_sub = n[0];
  7248. assign local_reset_n = ~reset;
  7249. assign done = clk_en & ~|counter_out & ~start;
  7250. //select load value of counter based on n
  7251. assign load_data = (n == 0)? 10 :
  7252. (n == 1)? 8 :
  7253. (n == 2)? 8 :
  7254. 33;
  7255. //multiplex output based on n
  7256. assign result = (n == 0)? result_mult :
  7257. (n == 1)? result_addsub :
  7258. (n == 2)? result_addsub :
  7259. result_div;
  7260. endmodule